/* Minification failed. Returning unminified contents.
(702,11447-11459): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: targetLength
(702,17643-17646): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: rec
(702,17681-17687): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: avgAcc
(702,17585-17591): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: avgAcc
(702,17581-17584): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: rec
 */
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+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]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(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&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=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)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!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===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,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(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||oe.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]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.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(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?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===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!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 Y.test(e.nodeName)},input:function(e){return G.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:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.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,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(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(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.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&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],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,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(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[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.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:ke,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&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,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()}},w.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,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.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 Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(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&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.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&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.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%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.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):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.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=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.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)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.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 w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").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)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.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){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.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)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});
;
/*! jQuery Migrate v3.0.1 | (c) jQuery Foundation and other contributors | jquery.org/license */

void 0 === jQuery.migrateMute && (jQuery.migrateMute = !0), function(e) {
    "function" == typeof define && define.amd ? define([ "jquery" ], window, e) : "object" == typeof module && module.exports ? module.exports = e(require("jquery"), window) : e(jQuery, window);
}(function(e, t) {
    "use strict";
    function r(r) {
        var n = t.console;
        o[r] || (o[r] = !0, e.migrateWarnings.push(r), n && n.warn && !e.migrateMute && (n.warn("JQMIGRATE: " + r), 
        e.migrateTrace && n.trace && n.trace()));
    }
    function n(e, t, n, a) {
        Object.defineProperty(e, t, {
            configurable: !0,
            enumerable: !0,
            get: function() {
                return r(a), n;
            },
            set: function(e) {
                r(a), n = e;
            }
        });
    }
    function a(e, t, n, a) {
        e[t] = function() {
            return r(a), n.apply(this, arguments);
        };
    }
    e.migrateVersion = "3.0.1", function() {
        var r = /^[12]\./;
        t.console && t.console.log && (e && !r.test(e.fn.jquery) || t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"), 
        e.migrateWarnings && t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"), 
        t.console.log("JQMIGRATE: Migrate is installed" + (e.migrateMute ? "" : " with logging active") + ", version " + e.migrateVersion));
    }();
    var o = {};
    e.migrateWarnings = [], void 0 === e.migrateTrace && (e.migrateTrace = !0), e.migrateReset = function() {
        o = {}, e.migrateWarnings.length = 0;
    }, "BackCompat" === t.document.compatMode && r("jQuery is not compatible with Quirks Mode");
    var i = e.fn.init, s = e.isNumeric, u = e.find, c = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, l = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
    e.fn.init = function(e) {
        var t = Array.prototype.slice.call(arguments);
        return "string" == typeof e && "#" === e && (r("jQuery( '#' ) is not a valid selector"), 
        t[0] = []), i.apply(this, t);
    }, e.fn.init.prototype = e.fn, e.find = function(e) {
        var n = Array.prototype.slice.call(arguments);
        if ("string" == typeof e && c.test(e)) try {
            t.document.querySelector(e);
        } catch (a) {
            e = e.replace(l, function(e, t, r, n) {
                return "[" + t + r + '"' + n + '"]';
            });
            try {
                t.document.querySelector(e), r("Attribute selector with '#' must be quoted: " + n[0]), 
                n[0] = e;
            } catch (e) {
                r("Attribute selector with '#' was not fixed: " + n[0]);
            }
        }
        return u.apply(this, n);
    };
    var d;
    for (d in u) Object.prototype.hasOwnProperty.call(u, d) && (e.find[d] = u[d]);
    e.fn.size = function() {
        return r("jQuery.fn.size() is deprecated and removed; use the .length property"), 
        this.length;
    }, e.parseJSON = function() {
        return r("jQuery.parseJSON is deprecated; use JSON.parse"), JSON.parse.apply(null, arguments);
    }, e.isNumeric = function(t) {
        var n = s(t), a = function(t) {
            var r = t && t.toString();
            return !e.isArray(t) && r - parseFloat(r) + 1 >= 0;
        }(t);
        return n !== a && r("jQuery.isNumeric() should not be called on constructed objects"), 
        a;
    }, a(e, "holdReady", e.holdReady, "jQuery.holdReady is deprecated"), a(e, "unique", e.uniqueSort, "jQuery.unique is deprecated; use jQuery.uniqueSort"), 
    n(e.expr, "filters", e.expr.pseudos, "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"), 
    n(e.expr, ":", e.expr.pseudos, "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");
    var p = e.ajax;
    e.ajax = function() {
        var e = p.apply(this, arguments);
        return e.promise && (a(e, "success", e.done, "jQXHR.success is deprecated and removed"), 
        a(e, "error", e.fail, "jQXHR.error is deprecated and removed"), a(e, "complete", e.always, "jQXHR.complete is deprecated and removed")), 
        e;
    };
    var f = e.fn.removeAttr, y = e.fn.toggleClass, m = /\S+/g;
    e.fn.removeAttr = function(t) {
        var n = this;
        return e.each(t.match(m), function(t, a) {
            e.expr.match.bool.test(a) && (r("jQuery.fn.removeAttr no longer sets boolean properties: " + a), 
            n.prop(a, !1));
        }), f.apply(this, arguments);
    }, e.fn.toggleClass = function(t) {
        return void 0 !== t && "boolean" != typeof t ? y.apply(this, arguments) : (r("jQuery.fn.toggleClass( boolean ) is deprecated"), 
        this.each(function() {
            var r = this.getAttribute && this.getAttribute("class") || "";
            r && e.data(this, "__className__", r), this.setAttribute && this.setAttribute("class", r || !1 === t ? "" : e.data(this, "__className__") || "");
        }));
    };
    var h = !1;
    e.swap && e.each([ "height", "width", "reliableMarginRight" ], function(t, r) {
        var n = e.cssHooks[r] && e.cssHooks[r].get;
        n && (e.cssHooks[r].get = function() {
            var e;
            return h = !0, e = n.apply(this, arguments), h = !1, e;
        });
    }), e.swap = function(e, t, n, a) {
        var o, i, s = {};
        h || r("jQuery.swap() is undocumented and deprecated");
        for (i in t) s[i] = e.style[i], e.style[i] = t[i];
        o = n.apply(e, a || []);
        for (i in t) e.style[i] = s[i];
        return o;
    };
    var g = e.data;
    e.data = function(t, n, a) {
        var o;
        if (n && "object" == typeof n && 2 === arguments.length) {
            o = e.hasData(t) && g.call(this, t);
            var i = {};
            for (var s in n) s !== e.camelCase(s) ? (r("jQuery.data() always sets/gets camelCased names: " + s), 
            o[s] = n[s]) : i[s] = n[s];
            return g.call(this, t, i), n;
        }
        return n && "string" == typeof n && n !== e.camelCase(n) && (o = e.hasData(t) && g.call(this, t)) && n in o ? (r("jQuery.data() always sets/gets camelCased names: " + n), 
        arguments.length > 2 && (o[n] = a), o[n]) : g.apply(this, arguments);
    };
    var v = e.Tween.prototype.run, j = function(e) {
        return e;
    };
    e.Tween.prototype.run = function() {
        e.easing[this.easing].length > 1 && (r("'jQuery.easing." + this.easing.toString() + "' should use only one argument"), 
        e.easing[this.easing] = j), v.apply(this, arguments);
    }, e.fx.interval = e.fx.interval || 13, t.requestAnimationFrame && n(e.fx, "interval", e.fx.interval, "jQuery.fx.interval is deprecated");
    var Q = e.fn.load, b = e.event.add, w = e.event.fix;
    e.event.props = [], e.event.fixHooks = {}, n(e.event.props, "concat", e.event.props.concat, "jQuery.event.props.concat() is deprecated and removed"), 
    e.event.fix = function(t) {
        var n, a = t.type, o = this.fixHooks[a], i = e.event.props;
        if (i.length) for (r("jQuery.event.props are deprecated and removed: " + i.join()); i.length; ) e.event.addProp(i.pop());
        if (o && !o._migrated_ && (o._migrated_ = !0, r("jQuery.event.fixHooks are deprecated and removed: " + a), 
        (i = o.props) && i.length)) for (;i.length; ) e.event.addProp(i.pop());
        return n = w.call(this, t), o && o.filter ? o.filter(n, t) : n;
    }, e.event.add = function(e, n) {
        return e === t && "load" === n && "complete" === t.document.readyState && r("jQuery(window).on('load'...) called after load event occurred"), 
        b.apply(this, arguments);
    }, e.each([ "load", "unload", "error" ], function(t, n) {
        e.fn[n] = function() {
            var e = Array.prototype.slice.call(arguments, 0);
            return "load" === n && "string" == typeof e[0] ? Q.apply(this, e) : (r("jQuery.fn." + n + "() is deprecated"), 
            e.splice(0, 0, n), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e), 
            this));
        };
    }), e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(t, n) {
        e.fn[n] = function(e, t) {
            return r("jQuery.fn." + n + "() event shorthand is deprecated"), arguments.length > 0 ? this.on(n, null, e, t) : this.trigger(n);
        };
    }), e(function() {
        e(t.document).triggerHandler("ready");
    }), e.event.special.ready = {
        setup: function() {
            this === t.document && r("'ready' event is deprecated");
        }
    }, e.fn.extend({
        bind: function(e, t, n) {
            return r("jQuery.fn.bind() is deprecated"), this.on(e, null, t, n);
        },
        unbind: function(e, t) {
            return r("jQuery.fn.unbind() is deprecated"), this.off(e, null, t);
        },
        delegate: function(e, t, n, a) {
            return r("jQuery.fn.delegate() is deprecated"), this.on(t, e, n, a);
        },
        undelegate: function(e, t, n) {
            return r("jQuery.fn.undelegate() is deprecated"), 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n);
        },
        hover: function(e, t) {
            return r("jQuery.fn.hover() is deprecated"), this.on("mouseenter", e).on("mouseleave", t || e);
        }
    });
    var x = e.fn.offset;
    e.fn.offset = function() {
        var n, a = this[0], o = {
            top: 0,
            left: 0
        };
        return a && a.nodeType ? (n = (a.ownerDocument || t.document).documentElement, e.contains(n, a) ? x.apply(this, arguments) : (r("jQuery.fn.offset() requires an element connected to a document"), 
        o)) : (r("jQuery.fn.offset() requires a valid DOM element"), o);
    };
    var k = e.param;
    e.param = function(t, n) {
        var a = e.ajaxSettings && e.ajaxSettings.traditional;
        return void 0 === n && a && (r("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"), 
        n = a), k.call(this, t, n);
    };
    var A = e.fn.andSelf || e.fn.addBack;
    e.fn.andSelf = function() {
        return r("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"), 
        A.apply(this, arguments);
    };
    var S = e.Deferred, q = [ [ "resolve", "done", e.Callbacks("once memory"), e.Callbacks("once memory"), "resolved" ], [ "reject", "fail", e.Callbacks("once memory"), e.Callbacks("once memory"), "rejected" ], [ "notify", "progress", e.Callbacks("memory"), e.Callbacks("memory") ] ];
    return e.Deferred = function(t) {
        var n = S(), a = n.promise();
        return n.pipe = a.pipe = function() {
            var t = arguments;
            return r("deferred.pipe() is deprecated"), e.Deferred(function(r) {
                e.each(q, function(o, i) {
                    var s = e.isFunction(t[o]) && t[o];
                    n[i[1]](function() {
                        var t = s && s.apply(this, arguments);
                        t && e.isFunction(t.promise) ? t.promise().done(r.resolve).fail(r.reject).progress(r.notify) : r[i[0] + "With"](this === a ? r.promise() : this, s ? [ t ] : arguments);
                    });
                }), t = null;
            }).promise();
        }, t && t.call(n, n), n;
    }, e.Deferred.exceptionHook = S.exceptionHook, e;
});;
// Unobtrusive Ajax support library for jQuery
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// @version <placeholder>
// 
// Microsoft grants you the right to use these script files for the sole
// purpose of either: (i) interacting through your browser with the Microsoft
// website or online service, subject to the applicable licensing or use
// terms; or (ii) using the files as included with a Microsoft product subject
// to that product's license terms. Microsoft reserves all other rights to the
// files not expressly granted by Microsoft, whether by implication, estoppel
// or otherwise. Insofar as a script file is dual licensed under GPL,
// Microsoft neither took the code under GPL nor distributes it thereunder but
// under the terms set out in this paragraph. All notices and licenses
// below are for informational purposes only.

/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
/*global window: false, jQuery: false */

(function ($) {
    var data_click = "unobtrusiveAjaxClick",
        data_target = "unobtrusiveAjaxClickTarget",
        data_validation = "unobtrusiveValidation";

    function getFunction(code, argNames) {
        var fn = window, parts = (code || "").split(".");
        while (fn && parts.length) {
            fn = fn[parts.shift()];
        }
        if (typeof (fn) === "function") {
            return fn;
        }
        argNames.push(code);
        return Function.constructor.apply(null, argNames);
    }

    function isMethodProxySafe(method) {
        return method === "GET" || method === "POST";
    }

    function asyncOnBeforeSend(xhr, method) {
        if (!isMethodProxySafe(method)) {
            xhr.setRequestHeader("X-HTTP-Method-Override", method);
        }
    }

    function asyncOnSuccess(element, data, contentType) {
        var mode;

        if (contentType.indexOf("application/x-javascript") !== -1) {  // jQuery already executes JavaScript for us
            return;
        }

        mode = (element.getAttribute("data-ajax-mode") || "").toUpperCase();
        $(element.getAttribute("data-ajax-update")).each(function (i, update) {
            var top;

            switch (mode) {
                case "BEFORE":
                    $(update).prepend(data);
                    break;
                case "AFTER":
                    $(update).append(data);
                    break;
                case "REPLACE-WITH":
                    $(update).replaceWith(data);
                    break;
                default:
                    $(update).html(data);
                    break;
            }
        });
    }

    function asyncRequest(element, options) {
        var confirm, loading, method, duration;

        confirm = element.getAttribute("data-ajax-confirm");
        if (confirm && !window.confirm(confirm)) {
            return;
        }

        loading = $(element.getAttribute("data-ajax-loading"));
        duration = parseInt(element.getAttribute("data-ajax-loading-duration"), 10) || 0;

        $.extend(options, {
            type: element.getAttribute("data-ajax-method") || undefined,
            url: element.getAttribute("data-ajax-url") || undefined,
            cache: (element.getAttribute("data-ajax-cache") || "").toLowerCase() === "true",
            beforeSend: function (xhr) {
                var result;
                asyncOnBeforeSend(xhr, method);
                result = getFunction(element.getAttribute("data-ajax-begin"), ["xhr"]).apply(element, arguments);
                if (result !== false) {
                    loading.show(duration);
                }
                return result;
            },
            complete: function () {
                loading.hide(duration);
                getFunction(element.getAttribute("data-ajax-complete"), ["xhr", "status"]).apply(element, arguments);
            },
            success: function (data, status, xhr) {
                asyncOnSuccess(element, data, xhr.getResponseHeader("Content-Type") || "text/html");
                getFunction(element.getAttribute("data-ajax-success"), ["data", "status", "xhr"]).apply(element, arguments);
            },
            error: function () {
                getFunction(element.getAttribute("data-ajax-failure"), ["xhr", "status", "error"]).apply(element, arguments);
            }
        });

        options.data.push({ name: "X-Requested-With", value: "XMLHttpRequest" });

        method = options.type.toUpperCase();
        if (!isMethodProxySafe(method)) {
            options.type = "POST";
            options.data.push({ name: "X-HTTP-Method-Override", value: method });
        }

        // change here:
        // Check for a Form POST with enctype=multipart/form-data
        // add the input file that were not previously included in the serializeArray()
        // set processData and contentType to false
        var $element = $(element);
        if ($element.is("form") && $element.attr("enctype") == "multipart/form-data") {
            var formdata = new FormData();
            $.each(options.data, function (i, v) {
                formdata.append(v.name, v.value);
            });
            $("input[type=file]", $element).each(function () {
                var file = this;
                $.each(file.files, function (n, v) {
                    formdata.append(file.name, v);
                });
            });
            $.extend(options, {
                processData: false,
                contentType: false,
                data: formdata
            });
        }
        // end change

        $.ajax(options);
    }

    function validate(form) {
        var validationInfo = $(form).data(data_validation);
        return !validationInfo || !validationInfo.validate || validationInfo.validate();
    }

    $(document).on("click", "a[data-ajax=true]", function (evt) {
        evt.preventDefault();
        asyncRequest(this, {
            url: this.href,
            type: "GET",
            data: []
        });
    });

    $(document).on("click", "form[data-ajax=true] input[type=image]", function (evt) {
        var name = evt.target.name,
            target = $(evt.target),
            form = $(target.parents("form")[0]),
            offset = target.offset();

        form.data(data_click, [
            { name: name + ".x", value: Math.round(evt.pageX - offset.left) },
            { name: name + ".y", value: Math.round(evt.pageY - offset.top) }
        ]);

        setTimeout(function () {
            form.removeData(data_click);
        }, 0);
    });

    $(document).on("click", "form[data-ajax=true] :submit", function (evt) {
        var name = evt.currentTarget.name,
            target = $(evt.target),
            form = $(target.parents("form")[0]);

        form.data(data_click, name ? [{ name: name, value: evt.currentTarget.value }] : []);
        form.data(data_target, target);

        setTimeout(function () {
            form.removeData(data_click);
            form.removeData(data_target);
        }, 0);
    });

    $(document).on("submit", "form[data-ajax=true]", function (evt) {
        var clickInfo = $(this).data(data_click) || [],
            clickTarget = $(this).data(data_target),
            isCancel = clickTarget && (clickTarget.hasClass("cancel") || clickTarget.attr('formnovalidate') !== undefined);
        evt.preventDefault();
        if (!isCancel && !validate(this)) {
            return;
        }
        asyncRequest(this, {
            url: this.action,
            type: this.method || "GET",
            data: clickInfo.concat($(this).serializeArray())
        });
    });
}(jQuery));
;
/*! jQuery Validation Plugin - v1.19.1 - 6/15/2019
 * https://jqueryvalidation.org/
 * Copyright (c) 2019 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.on("click.validate",":submit",function(b){c.submitButton=b.currentTarget,a(this).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(this).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.on("submit.validate",function(b){function d(){var d,e;return c.submitButton&&(c.settings.submitHandler||c.formSubmitted)&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),!(c.settings.submitHandler&&!c.settings.debug)||(e=c.settings.submitHandler.call(c,c.currentForm,b),d&&d.remove(),void 0!==e&&e)}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c,d;return a(this[0]).is("form")?b=this.validate().form():(d=[],b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b,b||(d=d.concat(c.errorList))}),c.errorList=d),b},rules:function(b,c){var d,e,f,g,h,i,j=this[0],k="undefined"!=typeof this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=j&&(!j.form&&k&&(j.form=this.closest("form")[0],j.name=this.attr("name")),null!=j.form)){if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(a,b){i[b]=f[b],delete f[b]}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g)),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}}),a.extend(a.expr.pseudos||a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){var c=a(b).val();return null!==c&&!!a.trim(""+c)},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:void 0===c?b:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(b,c){var d=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===c.which&&""===this.elementValue(b)||a.inArray(c.keyCode,d)!==-1||(b.name in this.submitted||b.name in this.invalid)&&this.element(b)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}."),step:a.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c="undefined"!=typeof a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");if(!this.form&&c&&(this.form=a(this).closest("form")[0],this.name=a(this).attr("name")),d===this.form){var e=a.data(this.form,"validator"),f="on"+b.type.replace(/^validate/,""),g=e.settings;g[f]&&!a(this).is(g.ignore)&&g[f].call(e,this,b)}}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.currentForm,e=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){e[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",b).on("click.validate","select, option, [type='radio'], [type='checkbox']",b),this.settings.invalidHandler&&a(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c,d,e=this.clean(b),f=this.validationTargetFor(e),g=this,h=!0;return void 0===f?delete this.invalid[e.name]:(this.prepareElement(f),this.currentElements=a(f),d=this.groups[f.name],d&&a.each(this.groups,function(a,b){b===d&&a!==f.name&&(e=g.validationTargetFor(g.clean(g.findByName(a))),e&&e.name in g.invalid&&(g.currentElements.push(e),h=g.check(e)&&h))}),c=this.check(f)!==!1,h=h&&c,c?this.invalid[f.name]=!1:this.invalid[f.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a(b).attr("aria-invalid",!c)),h},showErrors:function(b){if(b){var c=this;a.extend(this.errorMap,b),this.errorList=a.map(this.errorMap,function(a,b){return{message:a,element:c.findByName(b)[0]}}),this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var b=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(b)},resetElements:function(a){var b;if(this.settings.unhighlight)for(b=0;a[b];b++)this.settings.unhighlight.call(this,a[b],this.settings.errorClass,""),this.findByName(a[b].name).removeClass(this.settings.validClass);else a.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)void 0!==a[b]&&null!==a[b]&&a[b]!==!1&&c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var d=this.name||a(this).attr("name"),e="undefined"!=typeof a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");return!d&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),e&&(this.form=a(this).closest("form")[0],this.name=d),this.form===b.currentForm&&(!(d in c||!b.objectLength(a(this).rules()))&&(c[d]=!0,!0))})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([])},reset:function(){this.resetInternals(),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d,e=a(b),f=b.type,g="undefined"!=typeof e.attr("contenteditable")&&"false"!==e.attr("contenteditable");return"radio"===f||"checkbox"===f?this.findByName(b.name).filter(":checked").val():"number"===f&&"undefined"!=typeof b.validity?b.validity.badInput?"NaN":e.val():(c=g?e.text():e.val(),"file"===f?"C:\\fakepath\\"===c.substr(0,12)?c.substr(12):(d=c.lastIndexOf("/"),d>=0?c.substr(d+1):(d=c.lastIndexOf("\\"),d>=0?c.substr(d+1):c)):"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f,g=a(b).rules(),h=a.map(g,function(a,b){return b}).length,i=!1,j=this.elementValue(b);"function"==typeof g.normalizer?f=g.normalizer:"function"==typeof this.settings.normalizer&&(f=this.settings.normalizer),f&&(j=f.call(b,j),delete g.normalizer);for(d in g){e={method:d,parameters:g[d]};try{if(c=a.validator.methods[d].call(this,j,b,e.parameters),"dependency-mismatch"===c&&1===h){i=!0;continue}if(i=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(k){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",k),k instanceof TypeError&&(k.message+=".  Exception occurred when checking element "+b.id+", check the '"+e.method+"' method."),k}}if(!i)return this.objectLength(g)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a]},defaultMessage:function(b,c){"string"==typeof c&&(c={method:c});var d=this.findDefined(this.customMessage(b.name,c.method),this.customDataMessage(b,c.method),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c.method],"<strong>Warning: No message defined for "+b.name+"</strong>"),e=/\$?\{(\d+)\}/g;return"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),d},formatAndAdd:function(a,b){var c=this.defaultMessage(a,b);this.errorList.push({message:c,element:a,method:b.method}),this.errorMap[a.name]=c,this.submitted[a.name]=c},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g,h=this.errorsFor(b),i=this.idOrName(b),j=a(b).attr("aria-describedby");h.length?(h.removeClass(this.settings.validClass).addClass(this.settings.errorClass),h.html(c)):(h=a("<"+this.settings.errorElement+">").attr("id",i+"-error").addClass(this.settings.errorClass).html(c||""),d=h,this.settings.wrapper&&(d=h.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement.call(this,d,a(b)):d.insertAfter(b),h.is("label")?h.attr("for",i):0===h.parents("label[for='"+this.escapeCssMeta(i)+"']").length&&(f=h.attr("id"),j?j.match(new RegExp("\\b"+this.escapeCssMeta(f)+"\\b"))||(j+=" "+f):j=f,a(b).attr("aria-describedby",j),e=this.groups[b.name],e&&(g=this,a.each(g.groups,function(b,c){c===e&&a("[name='"+g.escapeCssMeta(b)+"']",g.currentForm).attr("aria-describedby",h.attr("id"))})))),!c&&this.settings.success&&(h.text(""),"string"==typeof this.settings.success?h.addClass(this.settings.success):this.settings.success(h,b)),this.toShow=this.toShow.add(h)},errorsFor:function(b){var c=this.escapeCssMeta(this.idOrName(b)),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+this.escapeCssMeta(d).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(a){return a.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+this.escapeCssMeta(b)+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return!this.dependTypes[typeof a]||this.dependTypes[typeof a](a,b)},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(b){this.pending[b.name]||(this.pendingRequest++,a(b).addClass(this.settings.pendingClass),this.pending[b.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],a(b).removeClass(this.settings.pendingClass),c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.submitButton&&a("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b,c){return c="string"==typeof c&&c||"remote",a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,{method:c})})},destroy:function(){this.resetForm(),a(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},normalizeAttributeRule:function(a,b,c,d){/min|max|step/.test(c)&&(null===b||/number|range|text/.test(b))&&(d=Number(d),isNaN(d)&&(d=void 0)),d||0===d?a[c]=d:b===c&&"range"!==b&&(a[c]=!0)},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),this.normalizeAttributeRule(e,g,c,d);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),""===d&&(d=!0),this.normalizeAttributeRule(e,g,c,d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0===e.param||e.param:(a.data(c.form,"validator").resetElements(a(c)),delete b[d])}}),a.each(b,function(d,e){b[d]=a.isFunction(e)&&"normalizer"!==d?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:void 0!==b&&null!==b&&b.length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(a)},date:function(){var a=!1;return function(b,c){return a||(a=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(c)||!/Invalid|NaN/.test(new Date(b).toString())}}(),dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e<=d},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||a<=c},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},step:function(b,c,d){var e,f=a(c).attr("type"),g="Step attribute on input type "+f+" is not supported.",h=["text","number","range"],i=new RegExp("\\b"+f+"\\b"),j=f&&!i.test(h.join()),k=function(a){var b=(""+a).match(/(?:\.(\d+))?$/);return b&&b[1]?b[1].length:0},l=function(a){return Math.round(a*Math.pow(10,e))},m=!0;if(j)throw new Error(g);return e=k(d),(k(b)>e||l(b)%l(d)!==0)&&(m=!1),this.optional(c)||m},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.not(".validate-equalTo-blur").length&&e.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d,e){if(this.optional(c))return"dependency-mismatch";e="string"==typeof e&&e||"remote";var f,g,h,i=this.previousValue(c,e);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),i.originalMessage=i.originalMessage||this.settings.messages[c.name][e],this.settings.messages[c.name][e]=i.message,d="string"==typeof d&&{url:d}||d,h=a.param(a.extend({data:b},d.data)),i.old===h?i.valid:(i.old=h,f=this,this.startRequest(c),g={},g[c.name]=b,a.ajax(a.extend(!0,{mode:"abort",port:"validate"+c.name,dataType:"json",data:g,context:f.currentForm,success:function(a){var d,g,h,j=a===!0||"true"===a;f.settings.messages[c.name][e]=i.originalMessage,j?(h=f.formSubmitted,f.resetInternals(),f.toHide=f.errorsFor(c),f.formSubmitted=h,f.successList.push(c),f.invalid[c.name]=!1,f.showErrors()):(d={},g=a||f.defaultMessage(c,{method:e,parameters:b}),d[c.name]=i.message=g,f.invalid[c.name]=!0,f.showErrors(d)),i.valid=j,f.stopRequest(c,j)}},d)),"pending")}}});var b,c={};return a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)}),a});;
// Unobtrusive validation support library for jQuery and jQuery Validate
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// @version v3.2.11
!function(a){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery-validation")):jQuery.validator.unobtrusive=a(jQuery)}(function(a){function e(a,e,n){a.rules[e]=n,a.message&&(a.messages[e]=a.message)}function n(a){return a.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function t(a){return a.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function r(a){return a.substr(0,a.lastIndexOf(".")+1)}function i(a,e){return 0===a.indexOf("*.")&&(a=a.replace("*.",e)),a}function o(e,n){var r=a(this).find("[data-valmsg-for='"+t(n[0].name)+"']"),i=r.attr("data-valmsg-replace"),o=i?a.parseJSON(i)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error"),e.data("unobtrusiveContainer",r),o?(r.empty(),e.removeClass("input-validation-error").appendTo(r)):e.hide()}function d(e,n){var t=a(this).find("[data-valmsg-summary=true]"),r=t.find("ul");r&&r.length&&n.errorList.length&&(r.empty(),t.addClass("validation-summary-errors").removeClass("validation-summary-valid"),a.each(n.errorList,function(){a("<li />").html(this.message).appendTo(r)}))}function s(e){var n=e.data("unobtrusiveContainer");if(n){var t=n.attr("data-valmsg-replace"),r=t?a.parseJSON(t):null;n.addClass("field-validation-valid").removeClass("field-validation-error"),e.removeData("unobtrusiveContainer"),r&&n.empty()}}function l(e){var n=a(this),t="__jquery_unobtrusive_validation_form_reset";if(!n.data(t)){n.data(t,!0);try{n.data("validator").resetForm()}finally{n.removeData(t)}n.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),n.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function u(e){var n=a(e),t=n.data(v),r=a.proxy(l,e),i=f.unobtrusive.options||{},u=function(n,t){var r=i[n];r&&a.isFunction(r)&&r.apply(e,t)};return t||(t={options:{errorClass:i.errorClass||"input-validation-error",errorElement:i.errorElement||"span",errorPlacement:function(){o.apply(e,arguments),u("errorPlacement",arguments)},invalidHandler:function(){d.apply(e,arguments),u("invalidHandler",arguments)},messages:{},rules:{},success:function(){s.apply(e,arguments),u("success",arguments)}},attachValidation:function(){n.off("reset."+v,r).on("reset."+v,r).validate(this.options)},validate:function(){return n.validate(),n.valid()}},n.data(v,t)),t}var m,f=a.validator,v="unobtrusiveValidation";return f.unobtrusive={adapters:[],parseElement:function(e,n){var t,r,i,o=a(e),d=o.parents("form")[0];d&&(t=u(d),t.options.rules[e.name]=r={},t.options.messages[e.name]=i={},a.each(this.adapters,function(){var n="data-val-"+this.name,t=o.attr(n),s={};void 0!==t&&(n+="-",a.each(this.params,function(){s[this]=o.attr(n+this)}),this.adapt({element:e,form:d,message:t,params:s,rules:r,messages:i}))}),a.extend(r,{__dummy__:!0}),n||t.attachValidation())},parse:function(e){var n=a(e),t=n.parents().addBack().filter("form").add(n.find("form")).has("[data-val=true]");n.find("[data-val=true]").each(function(){f.unobtrusive.parseElement(this,!0)}),t.each(function(){var a=u(this);a&&a.attachValidation()})}},m=f.unobtrusive.adapters,m.add=function(a,e,n){return n||(n=e,e=[]),this.push({name:a,params:e,adapt:n}),this},m.addBool=function(a,n){return this.add(a,function(t){e(t,n||a,!0)})},m.addMinMax=function(a,n,t,r,i,o){return this.add(a,[i||"min",o||"max"],function(a){var i=a.params.min,o=a.params.max;i&&o?e(a,r,[i,o]):i?e(a,n,i):o&&e(a,t,o)})},m.addSingleVal=function(a,n,t){return this.add(a,[n||"val"],function(r){e(r,t||a,r.params[n])})},f.addMethod("__dummy__",function(a,e,n){return!0}),f.addMethod("regex",function(a,e,n){var t;return!!this.optional(e)||(t=new RegExp(n).exec(a),t&&0===t.index&&t[0].length===a.length)}),f.addMethod("nonalphamin",function(a,e,n){var t;return n&&(t=a.match(/\W/g),t=t&&t.length>=n),t}),f.methods.extension?(m.addSingleVal("accept","mimtype"),m.addSingleVal("extension","extension")):m.addSingleVal("extension","extension","accept"),m.addSingleVal("regex","pattern"),m.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),m.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),m.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),m.add("equalto",["other"],function(n){var o=r(n.element.name),d=n.params.other,s=i(d,o),l=a(n.form).find(":input").filter("[name='"+t(s)+"']")[0];e(n,"equalTo",l)}),m.add("required",function(a){"INPUT"===a.element.tagName.toUpperCase()&&"CHECKBOX"===a.element.type.toUpperCase()||e(a,"required",!0)}),m.add("remote",["url","type","additionalfields"],function(o){var d={url:o.params.url,type:o.params.type||"GET",data:{}},s=r(o.element.name);a.each(n(o.params.additionalfields||o.element.name),function(e,n){var r=i(n,s);d.data[r]=function(){var e=a(o.form).find(":input").filter("[name='"+t(r)+"']");return e.is(":checkbox")?e.filter(":checked").val()||e.filter(":hidden").val()||"":e.is(":radio")?e.filter(":checked").val()||"":e.val()}}),e(o,"remote",d)}),m.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&e(a,"minlength",a.params.min),a.params.nonalphamin&&e(a,"nonalphamin",a.params.nonalphamin),a.params.regex&&e(a,"regex",a.params.regex)}),m.add("fileextensions",["extensions"],function(a){e(a,"extension",a.params.extensions)}),a(function(){f.unobtrusive.parse(document)}),f.unobtrusive});;
// jQuery Mask Plugin v1.14.15
// github.com/igorescobar/jQuery-Mask-Plugin
var $jscomp={scope:{},findInternal:function(a,l,d){a instanceof String&&(a=String(a));for(var p=a.length,h=0;h<p;h++){var b=a[h];if(l.call(d,b,h,a))return{i:h,v:b}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[l]=d.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,l,d,p){if(l){d=$jscomp.global;a=a.split(".");for(p=0;p<a.length-1;p++){var h=a[p];h in d||(d[h]={});d=d[h]}a=a[a.length-1];p=d[a];l=l(p);l!=p&&null!=l&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:l})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6-impl","es3");
(function(a,l,d){"function"===typeof define&&define.amd?define(["jquery"],a):"object"===typeof exports?module.exports=a(require("jquery")):a(l||d)})(function(a){var l=function(b,e,f){var c={invalid:[],getCaret:function(){try{var a,r=0,g=b.get(0),e=document.selection,f=g.selectionStart;if(e&&-1===navigator.appVersion.indexOf("MSIE 10"))a=e.createRange(),a.moveStart("character",-c.val().length),r=a.text.length;else if(f||"0"===f)r=f;return r}catch(C){}},setCaret:function(a){try{if(b.is(":focus")){var c,
g=b.get(0);g.setSelectionRange?g.setSelectionRange(a,a):(c=g.createTextRange(),c.collapse(!0),c.moveEnd("character",a),c.moveStart("character",a),c.select())}}catch(B){}},events:function(){b.on("keydown.mask",function(a){b.data("mask-keycode",a.keyCode||a.which);b.data("mask-previus-value",b.val());b.data("mask-previus-caret-pos",c.getCaret());c.maskDigitPosMapOld=c.maskDigitPosMap}).on(a.jMaskGlobals.useInput?"input.mask":"keyup.mask",c.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){b.keydown().keyup()},
100)}).on("change.mask",function(){b.data("changed",!0)}).on("blur.mask",function(){d===c.val()||b.data("changed")||b.trigger("change");b.data("changed",!1)}).on("blur.mask",function(){d=c.val()}).on("focus.mask",function(b){!0===f.selectOnFocus&&a(b.target).select()}).on("focusout.mask",function(){f.clearIfNotMatch&&!h.test(c.val())&&c.val("")})},getRegexMask:function(){for(var a=[],b,c,f,n,d=0;d<e.length;d++)(b=m.translation[e.charAt(d)])?(c=b.pattern.toString().replace(/.{1}$|^.{1}/g,""),f=b.optional,
(b=b.recursive)?(a.push(e.charAt(d)),n={digit:e.charAt(d),pattern:c}):a.push(f||b?c+"?":c)):a.push(e.charAt(d).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));a=a.join("");n&&(a=a.replace(new RegExp("("+n.digit+"(.*"+n.digit+")?)"),"($1)?").replace(new RegExp(n.digit,"g"),n.pattern));return new RegExp(a)},destroyEvents:function(){b.off("input keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(a){var c=b.is("input")?"val":"text";if(0<arguments.length){if(b[c]()!==a)b[c](a);
c=b}else c=b[c]();return c},calculateCaretPosition:function(){var a=b.data("mask-previus-value")||"",e=c.getMasked(),g=c.getCaret();if(a!==e){var f=b.data("mask-previus-caret-pos")||0,e=e.length,d=a.length,m=a=0,h=0,l=0,k;for(k=g;k<e&&c.maskDigitPosMap[k];k++)m++;for(k=g-1;0<=k&&c.maskDigitPosMap[k];k--)a++;for(k=g-1;0<=k;k--)c.maskDigitPosMap[k]&&h++;for(k=f-1;0<=k;k--)c.maskDigitPosMapOld[k]&&l++;g>d?g=10*e:f>=g&&f!==d?c.maskDigitPosMapOld[g]||(f=g,g=g-(l-h)-a,c.maskDigitPosMap[g]&&(g=f)):g>f&&
(g=g+(h-l)+m)}return g},behaviour:function(f){f=f||window.event;c.invalid=[];var e=b.data("mask-keycode");if(-1===a.inArray(e,m.byPassKeys)){var e=c.getMasked(),g=c.getCaret();setTimeout(function(){c.setCaret(c.calculateCaretPosition())},a.jMaskGlobals.keyStrokeCompensation);c.val(e);c.setCaret(g);return c.callbacks(f)}},getMasked:function(a,b){var g=[],d=void 0===b?c.val():b+"",n=0,h=e.length,q=0,l=d.length,k=1,r="push",p=-1,t=0,y=[],v,z;f.reverse?(r="unshift",k=-1,v=0,n=h-1,q=l-1,z=function(){return-1<
n&&-1<q}):(v=h-1,z=function(){return n<h&&q<l});for(var A;z();){var x=e.charAt(n),w=d.charAt(q),u=m.translation[x];if(u)w.match(u.pattern)?(g[r](w),u.recursive&&(-1===p?p=n:n===v&&n!==p&&(n=p-k),v===p&&(n-=k)),n+=k):w===A?(t--,A=void 0):u.optional?(n+=k,q-=k):u.fallback?(g[r](u.fallback),n+=k,q-=k):c.invalid.push({p:q,v:w,e:u.pattern}),q+=k;else{if(!a)g[r](x);w===x?(y.push(q),q+=k):(A=x,y.push(q+t),t++);n+=k}}d=e.charAt(v);h!==l+1||m.translation[d]||g.push(d);g=g.join("");c.mapMaskdigitPositions(g,
y,l);return g},mapMaskdigitPositions:function(a,b,e){a=f.reverse?a.length-e:0;c.maskDigitPosMap={};for(e=0;e<b.length;e++)c.maskDigitPosMap[b[e]+a]=1},callbacks:function(a){var h=c.val(),g=h!==d,m=[h,a,b,f],q=function(a,b,c){"function"===typeof f[a]&&b&&f[a].apply(this,c)};q("onChange",!0===g,m);q("onKeyPress",!0===g,m);q("onComplete",h.length===e.length,m);q("onInvalid",0<c.invalid.length,[h,a,b,c.invalid,f])}};b=a(b);var m=this,d=c.val(),h;e="function"===typeof e?e(c.val(),void 0,b,f):e;m.mask=
e;m.options=f;m.remove=function(){var a=c.getCaret();m.options.placeholder&&b.removeAttr("placeholder");b.data("mask-maxlength")&&b.removeAttr("maxlength");c.destroyEvents();c.val(m.getCleanVal());c.setCaret(a);return b};m.getCleanVal=function(){return c.getMasked(!0)};m.getMaskedVal=function(a){return c.getMasked(!1,a)};m.init=function(d){d=d||!1;f=f||{};m.clearIfNotMatch=a.jMaskGlobals.clearIfNotMatch;m.byPassKeys=a.jMaskGlobals.byPassKeys;m.translation=a.extend({},a.jMaskGlobals.translation,f.translation);
m=a.extend(!0,{},m,f);h=c.getRegexMask();if(d)c.events(),c.val(c.getMasked());else{f.placeholder&&b.attr("placeholder",f.placeholder);b.data("mask")&&b.attr("autocomplete","off");d=0;for(var l=!0;d<e.length;d++){var g=m.translation[e.charAt(d)];if(g&&g.recursive){l=!1;break}}l&&b.attr("maxlength",e.length).data("mask-maxlength",!0);c.destroyEvents();c.events();d=c.getCaret();c.val(c.getMasked());c.setCaret(d)}};m.init(!b.is("input"))};a.maskWatchers={};var d=function(){var b=a(this),e={},f=b.attr("data-mask");
b.attr("data-mask-reverse")&&(e.reverse=!0);b.attr("data-mask-clearifnotmatch")&&(e.clearIfNotMatch=!0);"true"===b.attr("data-mask-selectonfocus")&&(e.selectOnFocus=!0);if(p(b,f,e))return b.data("mask",new l(this,f,e))},p=function(b,e,f){f=f||{};var c=a(b).data("mask"),d=JSON.stringify;b=a(b).val()||a(b).text();try{return"function"===typeof e&&(e=e(b)),"object"!==typeof c||d(c.options)!==d(f)||c.mask!==e}catch(t){}},h=function(a){var b=document.createElement("div"),d;a="on"+a;d=a in b;d||(b.setAttribute(a,
"return;"),d="function"===typeof b[a]);return d};a.fn.mask=function(b,d){d=d||{};var e=this.selector,c=a.jMaskGlobals,h=c.watchInterval,c=d.watchInputs||c.watchInputs,t=function(){if(p(this,b,d))return a(this).data("mask",new l(this,b,d))};a(this).each(t);e&&""!==e&&c&&(clearInterval(a.maskWatchers[e]),a.maskWatchers[e]=setInterval(function(){a(document).find(e).each(t)},h));return this};a.fn.masked=function(a){return this.data("mask").getMaskedVal(a)};a.fn.unmask=function(){clearInterval(a.maskWatchers[this.selector]);
delete a.maskWatchers[this.selector];return this.each(function(){var b=a(this).data("mask");b&&b.remove().removeData("mask")})};a.fn.cleanVal=function(){return this.data("mask").getCleanVal()};a.applyDataMask=function(b){b=b||a.jMaskGlobals.maskElements;(b instanceof a?b:a(b)).filter(a.jMaskGlobals.dataMaskAttr).each(d)};h={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&
h("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};a.jMaskGlobals=a.jMaskGlobals||{};h=a.jMaskGlobals=a.extend(!0,{},h,a.jMaskGlobals);h.dataMask&&a.applyDataMask();setInterval(function(){a.jMaskGlobals.watchDataMask&&a.applyDataMask()},h.watchInterval)},window.jQuery,window.Zepto);
;
var foolproof=function(){};foolproof.is=function(a,h,b,f){if(f){var e=function(a){return a==null||a==undefined||a==""},c=e(a),d=e(b);if(c&&!d||d&&!c)return true}var g=function(a){return a-0==a&&a.length>0},j=function(b){var a=new RegExp(/(?=\d)^(?:(?!(?:10\D(?:0?[5-9]|1[0-4])\D(?:1582))|(?:0?9\D(?:0?[3-9]|1[0-3])\D(?:1752)))((?:0?[13578]|1[02])|(?:0?[469]|11)(?!\/31)(?!-31)(?!\.31)|(?:0?2(?=.?(?:(?:29.(?!000[04]|(?:(?:1[^0-6]|[2468][^048]|[3579][^26])00))(?:(?:(?:\d\d)(?:[02468][048]|[13579][26])(?!\x20BC))|(?:00(?:42|3[0369]|2[147]|1[258]|09)\x20BC))))))|(?:0?2(?=.(?:(?:\d\D)|(?:[01]\d)|(?:2[0-8])))))([-.\/])(0?[1-9]|[12]\d|3[01])\2(?!0000)((?=(?:00(?:4[0-5]|[0-3]?\d)\x20BC)|(?:\d{4}(?!\x20BC)))\d{4}(?:\x20BC)?)(?:$|(?=\x20\d)\x20))?((?:(?:0?[1-9]|1[012])(?::[0-5]\d){0,2}(?:\x20[aApP][mM]))|(?:[01]\d|2[0-3])(?::[0-5]\d){1,2})?$/);return a.test(b)},i=function(a){return a===true||a===false||a==="true"||a==="false"};if(j(a)){a=Date.parse(a);b=Date.parse(b)}else if(i(a)){if(a=="false")a=false;if(b=="false")b=false;a=!!a;b=!!b}else if(g(a)){a=parseFloat(a);b=parseFloat(b)}switch(h){case"EqualTo":if(a==b)return true;break;case"NotEqualTo":if(a!=b)return true;break;case"GreaterThan":if(a>b)return true;break;case"LessThan":if(a<b)return true;break;case"GreaterThanOrEqualTo":if(a>=b)return true;break;case"LessThanOrEqualTo":if(a<=b)return true;break;case"RegExMatch":return(new RegExp(b)).test(a);break;case"NotRegExMatch":return!(new RegExp(b)).test(a)}return false};foolproof.getId=function(a,b){var c=a.id.lastIndexOf("_")+1;return a.id.substr(0,c)+b.replace(/\./g,"_")};foolproof.getName=function(a,b){var c=a.name.lastIndexOf(".")+1;return a.name.substr(0,c)+b};(function(){jQuery.validator.addMethod("is",function(g,f,a){var b=foolproof.getId(f,a.dependentproperty),e=a.operator,d=a.passonnull,c=document.getElementById(b).value;return foolproof.is(g,e,c,d)?true:false});jQuery.validator.addMethod("requiredif",function(e,j,c){var h=foolproof.getName(j,c.dependentproperty),g=c.dependentvalue,i=c.operator,f=c.pattern,a=document.getElementsByName(h),b=null;if(a.length>1){for(var d=0;d!=a.length;d++)if(a[d].checked){b=a[d].value;break}if(b==null)b=false}else b=a[0].value;if(foolproof.is(b,i,g))if(f==null){if(e!=null&&e.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return(new RegExp(f)).test(e);else return true;return false});jQuery.validator.addMethod("requiredifempty",function(b,d,e){var c=foolproof.getId(d,e.dependentproperty),a=document.getElementById(c).value;if(a==null||a.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")==""){if(b!=null&&b.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return true;return false});jQuery.validator.addMethod("requiredifnotempty",function(b,d,e){var c=foolproof.getId(d,e.dependentproperty),a=document.getElementById(c).value;if(a!=null&&a.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!=""){if(b!=null&&b.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return true;return false});var a=function(a,b,c){a.rules[b]=c;if(a.message)a.messages[b]=a.message},b=$.validator.unobtrusive;b.adapters.add("requiredif",["dependentproperty","dependentvalue","operator","pattern"],function(b){var c={dependentproperty:b.params.dependentproperty,dependentvalue:b.params.dependentvalue,operator:b.params.operator,pattern:b.params.pattern};a(b,"requiredif",c)});b.adapters.add("is",["dependentproperty","operator","passonnull"],function(b){a(b,"is",{dependentproperty:b.params.dependentproperty,operator:b.params.operator,passonnull:b.params.passonnull})});b.adapters.add("requiredifempty",["dependentproperty"],function(b){a(b,"requiredifempty",{dependentproperty:b.params.dependentproperty})});b.adapters.add("requiredifnotempty",["dependentproperty"],function(b){a(b,"requiredifnotempty",{dependentproperty:b.params.dependentproperty})})})();;
/*
waitMe - 1.19 [31.10.17]
Author: vadimsva
Github: https://github.com/vadimsva/waitMe
*/
(function(b){b.fn.waitMe=function(p){return this.each(function(){function y(){var a=f.attr("data-waitme_id");f.removeClass("waitMe_container").removeAttr("data-waitme_id");f.find('.waitMe[data-waitme_id="'+a+'"]').remove()}var f=b(this),z,g,e,r=!1,t="background-color",u="",q="",v,a,w,n={init:function(){function n(a){l.css({top:"auto",transform:"translateY("+a+"px) translateZ(0)"})}a=b.extend({effect:"bounce",text:"",bg:"rgba(255,255,255,0.7)",color:"#000",maxSize:"",waitTime:-1,textPos:"vertical",
fontSize:"",source:"",onClose:function(){}},p);w=(new Date).getMilliseconds();v=b('<div class="waitMe" data-waitme_id="'+w+'"></div>');switch(a.effect){case "none":e=0;break;case "bounce":e=3;break;case "rotateplane":e=1;break;case "stretch":e=5;break;case "orbit":e=2;r=!0;break;case "roundBounce":e=12;break;case "win8":e=5;r=!0;break;case "win8_linear":e=5;r=!0;break;case "ios":e=12;break;case "facebook":e=3;break;case "rotation":e=1;t="border-color";break;case "timer":e=2;var c=b.isArray(a.color)?
a.color[0]:a.color;u="border-color:"+c;break;case "pulse":e=1;t="border-color";break;case "progressBar":e=1;break;case "bouncePulse":e=3;break;case "img":e=1}""!==u&&(u+=";");if(0<e){if("img"===a.effect)q='<img src="'+a.source+'">';else for(var d=1;d<=e;++d)b.isArray(a.color)?(c=a.color[d],void 0==c&&(c="#000")):c=a.color,q=r?q+('<div class="waitMe_progress_elem'+d+'"><div style="'+t+":"+c+'"></div></div>'):q+('<div class="waitMe_progress_elem'+d+'" style="'+t+":"+c+'"></div>');g=b('<div class="waitMe_progress '+
a.effect+'" style="'+u+'">'+q+"</div>")}a.text&&(c=b.isArray(a.color)?a.color[0]:a.color,z=b('<div class="waitMe_text" style="color:'+c+";"+(""!=a.fontSize?"font-size:"+a.fontSize:"")+'">'+a.text+"</div>"));var k=f.find("> .waitMe");k&&k.remove();c=b('<div class="waitMe_content '+a.textPos+'"></div>');c.append(g,z);v.append(c);"HTML"==f[0].tagName&&(f=b("body"));f.addClass("waitMe_container").attr("data-waitme_id",w).append(v);k=f.find("> .waitMe");var l=f.find(".waitMe_content");k.css({background:a.bg});
""!==a.maxSize&&"none"!=a.effect&&(c=g.outerHeight(),g.outerWidth(),"img"===a.effect?(g.css({height:a.maxSize+"px"}),g.find(">img").css({maxHeight:"100%"}),l.css({marginTop:-l.outerHeight()/2+"px"})):a.maxSize<c&&("stretch"==a.effect?(g.css({height:a.maxSize+"px",width:a.maxSize+"px"}),g.find("> div").css({margin:"0 5%"})):(c=a.maxSize/c-.2,d="-50%","roundBounce"==a.effect?(d="-75%",a.text&&(d="75%")):"win8"==a.effect||"timer"==a.effect||"orbit"==a.effect?(d="-20%",a.text&&(d="20%")):"ios"==a.effect&&
(d="-15%",a.text&&(d="15%")),"rotation"==a.effect&&a.text&&(d="75%"),g.css({transform:"scale("+c+") translateX("+d+")",whiteSpace:"nowrap"}))));l.css({marginTop:-l.outerHeight()/2+"px"});if(f.outerHeight()>b(window).height()){c=b(window).scrollTop();var h=l.outerHeight(),m=f.offset().top,x=f.outerHeight();d=c-m+b(window).height()/2;0>d&&(d=Math.abs(d));0<=d-h&&d+h<=x?m-c>b(window).height()/2&&(d=h):d=c>m+x-h?c-m-h:c-m+h;n(d);b(document).scroll(function(){var a=b(window).scrollTop()-m+b(window).height()/
2;0<=a-h&&a+h<=x&&n(a)})}0<a.waitTime&&setTimeout(function(){y()},a.waitTime);k.on("destroyed",function(){if(a.onClose&&b.isFunction(a.onClose))a.onClose(f);k.trigger("close",{el:f})});b.event.special.destroyed={remove:function(a){a.handler&&a.handler()}};return k},hide:function(){y()}};if(n[p])return n[p].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof p||!p)return n.init.apply(this,arguments)})};b(window).on("load",function(){b("body.waitMe_body").addClass("hideMe");setTimeout(function(){b("body.waitMe_body").find(".waitMe_container:not([data-waitme_id])").remove();
b("body.waitMe_body").removeClass("waitMe_body hideMe")},200)})})(jQuery);
;
/*!
  * Bootstrap v4.3.1 (https://getbootstrap.com/)
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(this,function(t,p){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,n,i;e=o,i=r[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return o}p=p&&p.hasOwnProperty("default")?p.default:p;var e="transitionend";function n(t){var e=this,n=!1;return p(this).one(m.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||m.triggerTransitionEnd(e)},t),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=p(t).css("transition-duration"),n=p(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){p(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&m.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};p.fn.emulateTransitionEnd=n,p.event.special[m.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(p(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var o="alert",r="bs.alert",a="."+r,c=p.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},u="alert",f="fade",d="show",g=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){p.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=m.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=p(t).closest("."+u)[0]),n},t._triggerCloseEvent=function(t){var e=p.Event(h.CLOSE);return p(t).trigger(e),e},t._removeElement=function(e){var n=this;if(p(e).removeClass(d),p(e).hasClass(f)){var t=m.getTransitionDurationFromElement(e);p(e).one(m.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){p(t).detach().trigger(h.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',g._handleDismiss(new g)),p.fn[o]=g._jQueryInterface,p.fn[o].Constructor=g,p.fn[o].noConflict=function(){return p.fn[o]=c,g._jQueryInterface};var _="button",v="bs.button",y="."+v,E=".data-api",b=p.fn[_],w="active",C="btn",T="focus",S='[data-toggle^="button"]',D='[data-toggle="buttons"]',I='input:not([type="hidden"])',A=".active",O=".btn",N={CLICK_DATA_API:"click"+y+E,FOCUS_BLUR_DATA_API:"focus"+y+E+" blur"+y+E},k=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=p(this._element).closest(D)[0];if(n){var i=this._element.querySelector(I);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(w))t=!1;else{var o=n.querySelector(A);o&&p(o).removeClass(w)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(w),p(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w)),t&&p(this._element).toggleClass(w)},t.dispose=function(){p.removeData(this._element,v),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(v);t||(t=new n(this),p(this).data(v,t)),"toggle"===e&&t[e]()})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();p(document).on(N.CLICK_DATA_API,S,function(t){t.preventDefault();var e=t.target;p(e).hasClass(C)||(e=p(e).closest(O)),k._jQueryInterface.call(p(e),"toggle")}).on(N.FOCUS_BLUR_DATA_API,S,function(t){var e=p(t.target).closest(O)[0];p(e).toggleClass(T,/^focus(in)?$/.test(t.type))}),p.fn[_]=k._jQueryInterface,p.fn[_].Constructor=k,p.fn[_].noConflict=function(){return p.fn[_]=b,k._jQueryInterface};var L="carousel",x="bs.carousel",P="."+x,H=".data-api",j=p.fn[L],R={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},F={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M="next",W="prev",U="left",B="right",q={SLIDE:"slide"+P,SLID:"slid"+P,KEYDOWN:"keydown"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P,TOUCHSTART:"touchstart"+P,TOUCHMOVE:"touchmove"+P,TOUCHEND:"touchend"+P,POINTERDOWN:"pointerdown"+P,POINTERUP:"pointerup"+P,DRAG_START:"dragstart"+P,LOAD_DATA_API:"load"+P+H,CLICK_DATA_API:"click"+P+H},K="carousel",Q="active",V="slide",Y="carousel-item-right",z="carousel-item-left",X="carousel-item-next",G="carousel-item-prev",$="pointer-event",J=".active",Z=".active.carousel-item",tt=".carousel-item",et=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",it=".carousel-indicators",ot="[data-slide], [data-slide-to]",rt='[data-ride="carousel"]',st={TOUCH:"touch",PEN:"pen"},at=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(it),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(M)},t.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(W)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(nt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(Z);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)p(this._element).one(q.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?M:W;this._slide(i,this._items[t])}},t.dispose=function(){p(this._element).off(P),p.removeData(this._element,x),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},R,t),m.typeCheckConfig(L,t,F),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&p(this._element).on(q.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&p(this._element).on(q.MOUSEENTER,function(t){return e.pause(t)}).on(q.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var e=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))};p(this._element.querySelectorAll(et)).on(q.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(p(this._element).on(q.POINTERDOWN,function(t){return e(t)}),p(this._element).on(q.POINTERUP,function(t){return i(t)}),this._element.classList.add($)):(p(this._element).on(q.TOUCHSTART,function(t){return e(t)}),p(this._element).on(q.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX}),p(this._element).on(q.TOUCHEND,function(t){return i(t)}))}},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(tt)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===M,i=t===W,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===W?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(Z)),o=p.Event(q.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return p(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(J));p(e).removeClass(Q);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&p(n).addClass(Q)}},t._slide=function(t,e){var n,i,o,r=this,s=this._element.querySelector(Z),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=t===M?(n=z,i=X,U):(n=Y,i=G,B),l&&p(l).hasClass(Q))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=p.Event(q.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(p(this._element).hasClass(V)){p(l).addClass(i),m.reflow(l),p(s).addClass(n),p(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);this._config.interval=f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,f):this._config.defaultInterval||this._config.interval;var d=m.getTransitionDurationFromElement(s);p(s).one(m.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass(Q),p(s).removeClass(Q+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return p(r._element).trigger(u)},0)}).emulateTransitionEnd(d)}else p(s).removeClass(Q),p(l).addClass(Q),this._isSliding=!1,p(this._element).trigger(u);h&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(x),e=l({},R,p(this).data());"object"==typeof i&&(e=l({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),p(this).data(x,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=m.getSelectorFromElement(this);if(e){var n=p(e)[0];if(n&&p(n).hasClass(K)){var i=l({},p(n).data(),p(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(p(n),i),o&&p(n).data(x).to(o),t.preventDefault()}}},s(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return R}}]),r}();p(document).on(q.CLICK_DATA_API,ot,at._dataApiClickHandler),p(window).on(q.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(rt)),e=0,n=t.length;e<n;e++){var i=p(t[e]);at._jQueryInterface.call(i,i.data())}}),p.fn[L]=at._jQueryInterface,p.fn[L].Constructor=at,p.fn[L].noConflict=function(){return p.fn[L]=j,at._jQueryInterface};var lt="collapse",ct="bs.collapse",ht="."+ct,ut=p.fn[lt],ft={toggle:!0,parent:""},dt={toggle:"boolean",parent:"(string|element)"},pt={SHOW:"show"+ht,SHOWN:"shown"+ht,HIDE:"hide"+ht,HIDDEN:"hidden"+ht,CLICK_DATA_API:"click"+ht+".data-api"},mt="show",gt="collapse",_t="collapsing",vt="collapsed",yt="width",Et="height",bt=".show, .collapsing",wt='[data-toggle="collapse"]',Ct=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(wt)),i=0,o=n.length;i<o;i++){var r=n[i],s=m.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){p(this._element).hasClass(mt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(mt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(bt)).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(gt)})).length&&(t=null),!(t&&(e=p(t).not(this._selector).data(ct))&&e._isTransitioning))){var i=p.Event(pt.SHOW);if(p(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(p(t).not(this._selector),"hide"),e||p(t).data(ct,null));var o=this._getDimension();p(this._element).removeClass(gt).addClass(_t),this._element.style[o]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(vt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),s=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){p(n._element).removeClass(_t).addClass(gt).addClass(mt),n._element.style[o]="",n.setTransitioning(!1),p(n._element).trigger(pt.SHOWN)}).emulateTransitionEnd(s),this._element.style[o]=this._element[r]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&p(this._element).hasClass(mt)){var e=p.Event(pt.HIDE);if(p(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),p(this._element).addClass(_t).removeClass(gt).removeClass(mt);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var r=this._triggerArray[o],s=m.getSelectorFromElement(r);if(null!==s)p([].slice.call(document.querySelectorAll(s))).hasClass(mt)||p(r).addClass(vt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var a=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){t.setTransitioning(!1),p(t._element).removeClass(_t).addClass(gt).trigger(pt.HIDDEN)}).emulateTransitionEnd(a)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){p.removeData(this._element,ct),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},ft,t)).toggle=Boolean(t.toggle),m.typeCheckConfig(lt,t,dt),t},t._getDimension=function(){return p(this._element).hasClass(yt)?yt:Et},t._getParent=function(){var t,n=this;m.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(e));return p(i).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){var n=p(t).hasClass(mt);e.length&&p(e).toggleClass(vt,!n).attr("aria-expanded",n)},a._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},a._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(ct),n=l({},ft,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(ct,e)),"string"==typeof i){if("undefined"==typeof e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ft}}]),a}();p(document).on(pt.CLICK_DATA_API,wt,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=p(this),e=m.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(e));p(i).each(function(){var t=p(this),e=t.data(ct)?"toggle":n.data();Ct._jQueryInterface.call(t,e)})}),p.fn[lt]=Ct._jQueryInterface,p.fn[lt].Constructor=Ct,p.fn[lt].noConflict=function(){return p.fn[lt]=ut,Ct._jQueryInterface};for(var Tt="undefined"!=typeof window&&"undefined"!=typeof document,St=["Edge","Trident","Firefox"],Dt=0,It=0;It<St.length;It+=1)if(Tt&&0<=navigator.userAgent.indexOf(St[It])){Dt=1;break}var At=Tt&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Dt))}};function Ot(t){return t&&"[object Function]"==={}.toString.call(t)}function Nt(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function kt(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Lt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Nt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:Lt(kt(t))}var xt=Tt&&!(!window.MSInputMethodContext||!document.documentMode),Pt=Tt&&/MSIE 10/.test(navigator.userAgent);function Ht(t){return 11===t?xt:10===t?Pt:xt||Pt}function jt(t){if(!t)return document.documentElement;for(var e=Ht(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Nt(n,"position")?jt(n):n:t?t.ownerDocument.documentElement:document.documentElement}function Rt(t){return null!==t.parentNode?Rt(t.parentNode):t}function Ft(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&jt(s.firstElementChild)!==s?jt(l):l;var c=Rt(t);return c.host?Ft(c.host,e):Ft(t,Rt(e).host)}function Mt(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"!==n&&"HTML"!==n)return t[e];var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}function Wt(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Ut(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Ht(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Bt(t){var e=t.body,n=t.documentElement,i=Ht(10)&&getComputedStyle(n);return{height:Ut("Height",e,n,i),width:Ut("Width",e,n,i)}}var qt=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),Kt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function Vt(t){return Qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Yt(t){var e={};try{if(Ht(10)){e=t.getBoundingClientRect();var n=Mt(t,"top"),i=Mt(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?Bt(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var h=Nt(t);l-=Wt(h,"x"),c-=Wt(h,"y"),o.width-=l,o.height-=c}return Vt(o)}function zt(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Ht(10),o="HTML"===e.nodeName,r=Yt(t),s=Yt(e),a=Lt(t),l=Nt(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=Vt({top:r.top-s.top-c,left:r.left-s.left-h,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-f,u.bottom-=c-f,u.left-=h-d,u.right-=h-d,u.marginTop=f,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Mt(e,"top"),o=Mt(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Xt(t){if(!t||!t.parentElement||Ht())return document.documentElement;for(var e=t.parentElement;e&&"none"===Nt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Gt(t,e,n,i){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Xt(t):Ft(t,e);if("viewport"===i)r=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=zt(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:Mt(n),a=e?0:Mt(n,"left");return Vt({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=Lt(kt(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=zt(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===Nt(e,"position"))return!0;var i=kt(e);return!!i&&t(i)}(s))r=l;else{var c=Bt(t.ownerDocument),h=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var f="number"==typeof(n=n||0);return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function $t(t,e,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Gt(i,n,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return Qt({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),h=0<c.length?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function Jt(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return zt(n,i?Xt(e):Ft(e,n),i)}function Zt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function te(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function ee(t,e,n){n=n.split("-")[0];var i=Zt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[te(a)],o}function ne(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ie(t,n,e){return(void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=ne(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&Ot(e)&&(n.offsets.popper=Vt(n.offsets.popper),n.offsets.reference=Vt(n.offsets.reference),n=e(n,t))}),n}function oe(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function re(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function se(t){var e=t.ownerDocument;return e?e.defaultView:window}function ae(t,e,n,i){n.updateBound=i,se(t).addEventListener("resize",n.updateBound,{passive:!0});var o=Lt(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(Lt(s.parentNode),n,i,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function le(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,se(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function ce(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function he(n,i){Object.keys(i).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&ce(i[t])&&(e="px"),n.style[t]=i[t]+e})}var ue=Tt&&/Firefox/i.test(navigator.userAgent);function fe(t,e,n){var i=ne(t,function(t){return t.name===e}),o=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var de=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pe=de.slice(3);function me(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=pe.indexOf(t),i=pe.slice(n+1).concat(pe.slice(0,n));return e?i.reverse():i}var ge="flip",_e="clockwise",ve="counterclockwise";function ye(t,o,r,e){var s=[0,0],a=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),i=n.indexOf(ne(n,function(t){return-1!==t.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(c=c.map(function(t,e){var n=(1===e?!a:a)?"height":"width",i=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?r:("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return Vt(a)[e]/100*r}(t,n,o,r)})})).forEach(function(n,i){n.forEach(function(t,e){ce(t)&&(s[i]+=t*("-"===n[e-1]?-1:1))})}),s}var Ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:Kt({},l,r[l]),end:Kt({},l,r[l]+r[c]-s[c])};t.offsets.popper=Qt({},s,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=ce(+n)?[+n,0]:ye(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,i){var e=i.boundariesElement||jt(t.instance.popper);t.instance.reference===e&&(e=jt(e));var n=re("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=Gt(t.instance.popper,t.instance.reference,i.padding,e,t.positionFixed);o.top=r,o.left=s,o[n]=a,i.boundaries=l;var c=i.priority,h=t.offsets.popper,u={primary:function(t){var e=h[t];return h[t]<l[t]&&!i.escapeWithReference&&(e=Math.max(h[t],l[t])),Kt({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=h[e];return h[t]>l[t]&&!i.escapeWithReference&&(n=Math.min(h[e],l[t]-("right"===t?h.width:h.height))),Kt({},e,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=Qt({},h,u[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!fe(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",p=Zt(i)[c];a[d]-p<s[u]&&(t.offsets.popper[u]-=s[u]-(a[d]-p)),a[u]+p>s[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=Vt(t.offsets.popper);var m=a[u]+a[c]/2-p/2,g=Nt(t.instance.popper),_=parseFloat(g["margin"+h],10),v=parseFloat(g["border"+h+"Width"],10),y=m-t.offsets.popper[u]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),t.arrowElement=i,t.offsets.arrow=(Kt(n={},u,Math.round(y)),Kt(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(oe(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Gt(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=te(_),y=p.placement.split("-")[1]||"",E=[];switch(m.behavior){case ge:E=[_,v];break;case _e:E=me(_);break;case ve:E=me(_,!0);break;default:E=m.behavior}return E.forEach(function(t,e){if(_!==t||E.length===e+1)return p;_=p.placement.split("-")[0],v=te(_);var n,i=p.offsets.popper,o=p.offsets.reference,r=Math.floor,s="left"===_&&r(i.right)>r(o.left)||"right"===_&&r(i.left)<r(o.right)||"top"===_&&r(i.bottom)>r(o.top)||"bottom"===_&&r(i.top)<r(o.bottom),a=r(i.left)<r(g.left),l=r(i.right)>r(g.right),c=r(i.top)<r(g.top),h=r(i.bottom)>r(g.bottom),u="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h,f=-1!==["top","bottom"].indexOf(_),d=!!m.flipVariations&&(f&&"start"===y&&a||f&&"end"===y&&l||!f&&"start"===y&&c||!f&&"end"===y&&h);(s||u||d)&&(p.flipped=!0,(s||u)&&(_=E[e+1]),d&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=Qt({},p.offsets.popper,ee(p.instance.popper,p.offsets.reference,p.placement)),p=ie(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=te(e),t.offsets.popper=Vt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!fe(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=ne(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=ne(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l,c,h,u,f,d,p,m,g,_,v,y,E=void 0!==r?r:e.gpuAcceleration,b=jt(t.instance.popper),w=Yt(b),C={position:o.position},T=(s=t,a=window.devicePixelRatio<2||!ue,l=s.offsets,c=l.popper,h=l.reference,u=Math.round,f=Math.floor,d=function(t){return t},p=u(h.width),m=u(c.width),g=-1!==["left","right"].indexOf(s.placement),_=-1!==s.placement.indexOf("-"),y=a?u:d,{left:(v=a?g||_||p%2==m%2?u:f:d)(p%2==1&&m%2==1&&!_&&a?c.left-1:c.left),top:y(c.top),bottom:y(c.bottom),right:v(c.right)}),S="bottom"===n?"top":"bottom",D="right"===i?"left":"right",I=re("transform"),A=void 0,O=void 0;if(O="bottom"===S?"HTML"===b.nodeName?-b.clientHeight+T.bottom:-w.height+T.bottom:T.top,A="right"===D?"HTML"===b.nodeName?-b.clientWidth+T.right:-w.width+T.right:T.left,E&&I)C[I]="translate3d("+A+"px, "+O+"px, 0)",C[S]=0,C[D]=0,C.willChange="transform";else{var N="bottom"===S?-1:1,k="right"===D?-1:1;C[S]=O*N,C[D]=A*k,C.willChange=S+", "+D}var L={"x-placement":t.placement};return t.attributes=Qt({},L,t.attributes),t.styles=Qt({},C,t.styles),t.arrowStyles=Qt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return he(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&he(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=Jt(o,e,t,n.positionFixed),s=$t(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),he(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},be=function(){function r(t,e){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=At(this.update.bind(this)),this.options=Qt({},r.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Qt({},r.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=Qt({},r.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Qt({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Ot(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return qt(r,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Jt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$t(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=ee(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ie(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,oe(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[re("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=ae(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return le.call(this)}}]),r}();be.Utils=("undefined"!=typeof window?window:global).PopperUtils,be.placements=de,be.Defaults=Ee;var we="dropdown",Ce="bs.dropdown",Te="."+Ce,Se=".data-api",De=p.fn[we],Ie=new RegExp("38|40|27"),Ae={HIDE:"hide"+Te,HIDDEN:"hidden"+Te,SHOW:"show"+Te,SHOWN:"shown"+Te,CLICK:"click"+Te,CLICK_DATA_API:"click"+Te+Se,KEYDOWN_DATA_API:"keydown"+Te+Se,KEYUP_DATA_API:"keyup"+Te+Se},Oe="disabled",Ne="show",ke="dropup",Le="dropright",xe="dropleft",Pe="dropdown-menu-right",He="position-static",je='[data-toggle="dropdown"]',Re=".dropdown form",Fe=".dropdown-menu",Me=".navbar-nav",We=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ue="top-start",Be="top-end",qe="bottom-start",Ke="bottom-end",Qe="right-start",Ve="left-start",Ye={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ze={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Xe=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)){var t=c._getParentFromElement(this._element),e=p(this._menu).hasClass(Ne);if(c._clearMenus(),!e){var n={relatedTarget:this._element},i=p.Event(Ae.SHOW,n);if(p(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if("undefined"==typeof be)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=t:m.isElement(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(t).addClass(He),this._popper=new be(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(t).closest(Me).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(Ne),p(t).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,n))}}}},t.show=function(){if(!(this._element.disabled||p(this._element).hasClass(Oe)||p(this._menu).hasClass(Ne))){var t={relatedTarget:this._element},e=p.Event(Ae.SHOW,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,t)))}},t.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)&&p(this._menu).hasClass(Ne)){var t={relatedTarget:this._element},e=p.Event(Ae.HIDE,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.HIDDEN,t)))}},t.dispose=function(){p.removeData(this._element,Ce),p(this._element).off(Te),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;p(this._element).on(Ae.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,p(this._element).data(),t),m.typeCheckConfig(we,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Fe))}return this._menu},t._getPlacement=function(){var t=p(this._element.parentNode),e=qe;return t.hasClass(ke)?(e=Ue,p(this._menu).hasClass(Pe)&&(e=Be)):t.hasClass(Le)?e=Qe:t.hasClass(xe)?e=Ve:p(this._menu).hasClass(Pe)&&(e=Ke),e},t._detectNavbar=function(){return 0<p(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},c._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(Ce);if(t||(t=new c(this,"object"==typeof e?e:null),p(this).data(Ce,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(je)),n=0,i=e.length;n<i;n++){var o=c._getParentFromElement(e[n]),r=p(e[n]).data(Ce),s={relatedTarget:e[n]};if(t&&"click"===t.type&&(s.clickEvent=t),r){var a=r._menu;if(p(o).hasClass(Ne)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&p.contains(o,t.target))){var l=p.Event(Ae.HIDE,s);p(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),e[n].setAttribute("aria-expanded","false"),p(a).removeClass(Ne),p(o).removeClass(Ne).trigger(p.Event(Ae.HIDDEN,s)))}}}},c._getParentFromElement=function(t){var e,n=m.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||p(t.target).closest(Fe).length)):Ie.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!p(this).hasClass(Oe))){var e=c._getParentFromElement(this),n=p(e).hasClass(Ne);if(n&&(!n||27!==t.which&&32!==t.which)){var i=[].slice.call(e.querySelectorAll(We));if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===t.which){var r=e.querySelector(je);p(r).trigger("focus")}p(this).trigger("click")}}},s(c,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ye}},{key:"DefaultType",get:function(){return ze}}]),c}();p(document).on(Ae.KEYDOWN_DATA_API,je,Xe._dataApiKeydownHandler).on(Ae.KEYDOWN_DATA_API,Fe,Xe._dataApiKeydownHandler).on(Ae.CLICK_DATA_API+" "+Ae.KEYUP_DATA_API,Xe._clearMenus).on(Ae.CLICK_DATA_API,je,function(t){t.preventDefault(),t.stopPropagation(),Xe._jQueryInterface.call(p(this),"toggle")}).on(Ae.CLICK_DATA_API,Re,function(t){t.stopPropagation()}),p.fn[we]=Xe._jQueryInterface,p.fn[we].Constructor=Xe,p.fn[we].noConflict=function(){return p.fn[we]=De,Xe._jQueryInterface};var Ge="modal",$e="bs.modal",Je="."+$e,Ze=p.fn[Ge],tn={backdrop:!0,keyboard:!0,focus:!0,show:!0},en={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},nn={HIDE:"hide"+Je,HIDDEN:"hidden"+Je,SHOW:"show"+Je,SHOWN:"shown"+Je,FOCUSIN:"focusin"+Je,RESIZE:"resize"+Je,CLICK_DISMISS:"click.dismiss"+Je,KEYDOWN_DISMISS:"keydown.dismiss"+Je,MOUSEUP_DISMISS:"mouseup.dismiss"+Je,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Je,CLICK_DATA_API:"click"+Je+".data-api"},on="modal-dialog-scrollable",rn="modal-scrollbar-measure",sn="modal-backdrop",an="modal-open",ln="fade",cn="show",hn=".modal-dialog",un=".modal-body",fn='[data-toggle="modal"]',dn='[data-dismiss="modal"]',pn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mn=".sticky-top",gn=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(hn),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(ln)&&(this._isTransitioning=!0);var n=p.Event(nn.SHOW,{relatedTarget:t});p(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on(nn.CLICK_DISMISS,dn,function(t){return e.hide(t)}),p(this._dialog).on(nn.MOUSEDOWN_DISMISS,function(){p(e._element).one(nn.MOUSEUP_DISMISS,function(t){p(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event(nn.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass(ln);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(nn.FOCUSIN),p(this._element).removeClass(cn),p(this._element).off(nn.CLICK_DISMISS),p(this._dialog).off(nn.MOUSEDOWN_DISMISS),i){var o=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return p(t).off(Je)}),p(document).off(nn.FOCUSIN),p.removeData(this._element,$e),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},tn,t),m.typeCheckConfig(Ge,t,en),t},t._showElement=function(t){var e=this,n=p(this._element).hasClass(ln);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),p(this._dialog).hasClass(on)?this._dialog.querySelector(un).scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),p(this._element).addClass(cn),this._config.focus&&this._enforceFocus();var i=p.Event(nn.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,p(e._element).trigger(i)};if(n){var r=m.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o()},t._enforceFocus=function(){var e=this;p(document).off(nn.FOCUSIN).on(nn.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===p(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?p(this._element).on(nn.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||p(this._element).off(nn.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?p(window).on(nn.RESIZE,function(t){return e.handleUpdate(t)}):p(window).off(nn.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(an),t._resetAdjustments(),t._resetScrollbar(),p(t._element).trigger(nn.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=p(this._element).hasClass(ln)?ln:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=sn,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(nn.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&m.reflow(this._backdrop),p(this._backdrop).addClass(cn),!t)return;if(!n)return void t();var i=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(cn);var o=function(){e._removeBackdrop(),t&&t()};if(p(this._element).hasClass(ln)){var r=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(pn)),e=[].slice.call(document.querySelectorAll(mn));p(t).each(function(t,e){var n=e.style.paddingRight,i=p(e).css("padding-right");p(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),p(e).each(function(t,e){var n=e.style.marginRight,i=p(e).css("margin-right");p(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}p(document.body).addClass(an)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(pn));p(t).each(function(t,e){var n=p(e).data("padding-right");p(e).removeData("padding-right"),e.style.paddingRight=n||""});var e=[].slice.call(document.querySelectorAll(""+mn));p(e).each(function(t,e){var n=p(e).data("margin-right");"undefined"!=typeof n&&p(e).css("margin-right",n).removeData("margin-right")});var n=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=rn,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=p(this).data($e),e=l({},tn,p(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),p(this).data($e,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return tn}}]),o}();p(document).on(nn.CLICK_DATA_API,fn,function(t){var e,n=this,i=m.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=p(e).data($e)?"toggle":l({},p(e).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=p(e).one(nn.SHOW,function(t){t.isDefaultPrevented()||r.one(nn.HIDDEN,function(){p(n).is(":visible")&&n.focus()})});gn._jQueryInterface.call(p(e),o,this)}),p.fn[Ge]=gn._jQueryInterface,p.fn[Ge].Constructor=gn,p.fn[Ge].noConflict=function(){return p.fn[Ge]=Ze,gn._jQueryInterface};var _n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],vn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,En=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function bn(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function(t,e){var n=l[t],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),r=[].concat(s["*"]||[],s[i]||[]);o.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===_n.indexOf(n)||Boolean(t.nodeValue.match(yn)||t.nodeValue.match(En));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,r)||n.removeAttribute(t.nodeName)})},o=0,r=l.length;o<r;o++)i(o);return n.body.innerHTML}var wn="tooltip",Cn="bs.tooltip",Tn="."+Cn,Sn=p.fn[wn],Dn="bs-tooltip",In=new RegExp("(^|\\s)"+Dn+"\\S+","g"),An=["sanitize","whiteList","sanitizeFn"],On={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Nn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},kn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:vn},Ln="show",xn="out",Pn={HIDE:"hide"+Tn,HIDDEN:"hidden"+Tn,SHOW:"show"+Tn,SHOWN:"shown"+Tn,INSERTED:"inserted"+Tn,CLICK:"click"+Tn,FOCUSIN:"focusin"+Tn,FOCUSOUT:"focusout"+Tn,MOUSEENTER:"mouseenter"+Tn,MOUSELEAVE:"mouseleave"+Tn},Hn="fade",jn="show",Rn=".tooltip-inner",Fn=".arrow",Mn="hover",Wn="focus",Un="click",Bn="manual",qn=function(){function i(t,e){if("undefined"==typeof be)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=p(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass(jn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var t=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(t);var n=m.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),r=m.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&p(o).addClass(Hn);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(o).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(o).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new be(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Fn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),p(o).addClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,p(e.element).trigger(e.constructor.Event.SHOWN),t===xn&&e._leave(null,e)};if(p(this.tip).hasClass(Hn)){var h=m.getTransitionDurationFromElement(this.tip);p(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==Ln&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),p(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(n).removeClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Un]=!1,this._activeTrigger[Wn]=!1,this._activeTrigger[Mn]=!1,p(this.tip).hasClass(Hn)){var r=m.getTransitionDurationFromElement(n);p(n).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){p(this.getTipElement()).addClass(Dn+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(p(t.querySelectorAll(Rn)),this.getTitle()),p(t).removeClass(Hn+" "+jn)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=bn(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text())},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},t._getAttachment=function(t){return Nn[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==Bn){var e=t===Mn?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===Mn?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Wn:Mn]=!0),p(e.getTipElement()).hasClass(jn)||e._hoverState===Ln?e._hoverState=Ln:(clearTimeout(e._timeout),e._hoverState=Ln,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ln&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Wn:Mn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=xn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===xn&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=p(this.element).data();return Object.keys(e).forEach(function(t){-1!==An.indexOf(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(wn,t,this.constructor.DefaultType),t.sanitize&&(t.template=bn(t.template,t.whiteList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(In);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(p(t).removeClass(Hn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Cn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Cn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return kn}},{key:"NAME",get:function(){return wn}},{key:"DATA_KEY",get:function(){return Cn}},{key:"Event",get:function(){return Pn}},{key:"EVENT_KEY",get:function(){return Tn}},{key:"DefaultType",get:function(){return On}}]),i}();p.fn[wn]=qn._jQueryInterface,p.fn[wn].Constructor=qn,p.fn[wn].noConflict=function(){return p.fn[wn]=Sn,qn._jQueryInterface};var Kn="popover",Qn="bs.popover",Vn="."+Qn,Yn=p.fn[Kn],zn="bs-popover",Xn=new RegExp("(^|\\s)"+zn+"\\S+","g"),Gn=l({},qn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),$n=l({},qn.DefaultType,{content:"(string|element|function)"}),Jn="fade",Zn="show",ti=".popover-header",ei=".popover-body",ni={HIDE:"hide"+Vn,HIDDEN:"hidden"+Vn,SHOW:"show"+Vn,SHOWN:"shown"+Vn,INSERTED:"inserted"+Vn,CLICK:"click"+Vn,FOCUSIN:"focusin"+Vn,FOCUSOUT:"focusout"+Vn,MOUSEENTER:"mouseenter"+Vn,MOUSELEAVE:"mouseleave"+Vn},ii=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){p(this.getTipElement()).addClass(zn+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},o.setContent=function(){var t=p(this.getTipElement());this.setElementContent(t.find(ti),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(ei),e),t.removeClass(Jn+" "+Zn)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(Xn);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Qn),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Qn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Gn}},{key:"NAME",get:function(){return Kn}},{key:"DATA_KEY",get:function(){return Qn}},{key:"Event",get:function(){return ni}},{key:"EVENT_KEY",get:function(){return Vn}},{key:"DefaultType",get:function(){return $n}}]),i}(qn);p.fn[Kn]=ii._jQueryInterface,p.fn[Kn].Constructor=ii,p.fn[Kn].noConflict=function(){return p.fn[Kn]=Yn,ii._jQueryInterface};var oi="scrollspy",ri="bs.scrollspy",si="."+ri,ai=p.fn[oi],li={offset:10,method:"auto",target:""},ci={offset:"number",method:"string",target:"(string|element)"},hi={ACTIVATE:"activate"+si,SCROLL:"scroll"+si,LOAD_DATA_API:"load"+si+".data-api"},ui="dropdown-item",fi="active",di='[data-spy="scroll"]',pi=".nav, .list-group",mi=".nav-link",gi=".nav-item",_i=".list-group-item",vi=".dropdown",yi=".dropdown-item",Ei=".dropdown-toggle",bi="offset",wi="position",Ci=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+mi+","+this._config.target+" "+_i+","+this._config.target+" "+yi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(hi.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?bi:wi,o="auto"===this._config.method?t:this._config.method,r=o===wi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=m.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[p(e)[o]().top+r,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){p.removeData(this._element,ri),p(this._scrollElement).off(si),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=l({},li,"object"==typeof t&&t?t:{})).target){var e=p(t.target).attr("id");e||(e=m.getUID(oi),p(t.target).attr("id",e)),t.target="#"+e}return m.typeCheckConfig(oi,t,ci),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=p([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(ui)?(n.closest(vi).find(Ei).addClass(fi),n.addClass(fi)):(n.addClass(fi),n.parents(pi).prev(mi+", "+_i).addClass(fi),n.parents(pi).prev(gi).children(mi).addClass(fi)),p(this._scrollElement).trigger(hi.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(fi)}).forEach(function(t){return t.classList.remove(fi)})},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(ri);if(t||(t=new n(this,"object"==typeof e&&e),p(this).data(ri,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return li}}]),n}();p(window).on(hi.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(di)),e=t.length;e--;){var n=p(t[e]);Ci._jQueryInterface.call(n,n.data())}}),p.fn[oi]=Ci._jQueryInterface,p.fn[oi].Constructor=Ci,p.fn[oi].noConflict=function(){return p.fn[oi]=ai,Ci._jQueryInterface};var Ti="bs.tab",Si="."+Ti,Di=p.fn.tab,Ii={HIDE:"hide"+Si,HIDDEN:"hidden"+Si,SHOW:"show"+Si,SHOWN:"shown"+Si,CLICK_DATA_API:"click"+Si+".data-api"},Ai="dropdown-menu",Oi="active",Ni="disabled",ki="fade",Li="show",xi=".dropdown",Pi=".nav, .list-group",Hi=".active",ji="> li > .active",Ri='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Fi=".dropdown-toggle",Mi="> .dropdown-menu .active",Wi=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Oi)||p(this._element).hasClass(Ni))){var t,i,e=p(this._element).closest(Pi)[0],o=m.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?ji:Hi;i=(i=p.makeArray(p(e).find(r)))[i.length-1]}var s=p.Event(Ii.HIDE,{relatedTarget:this._element}),a=p.Event(Ii.SHOW,{relatedTarget:i});if(i&&p(i).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=p.Event(Ii.HIDDEN,{relatedTarget:n._element}),e=p.Event(Ii.SHOWN,{relatedTarget:i});p(i).trigger(t),p(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){p.removeData(this._element,Ti),this._element=null},t._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?p(e).children(Hi):p(e).find(ji))[0],r=n&&o&&p(o).hasClass(ki),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=m.getTransitionDurationFromElement(o);p(o).removeClass(Li).one(m.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},t._transitionComplete=function(t,e,n){if(e){p(e).removeClass(Oi);var i=p(e.parentNode).find(Mi)[0];i&&p(i).removeClass(Oi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(p(t).addClass(Oi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),t.classList.contains(ki)&&t.classList.add(Li),t.parentNode&&p(t.parentNode).hasClass(Ai)){var o=p(t).closest(xi)[0];if(o){var r=[].slice.call(o.querySelectorAll(Fi));p(r).addClass(Oi)}t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Ti);if(e||(e=new i(this),t.data(Ti,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(Ii.CLICK_DATA_API,Ri,function(t){t.preventDefault(),Wi._jQueryInterface.call(p(this),"show")}),p.fn.tab=Wi._jQueryInterface,p.fn.tab.Constructor=Wi,p.fn.tab.noConflict=function(){return p.fn.tab=Di,Wi._jQueryInterface};var Ui="toast",Bi="bs.toast",qi="."+Bi,Ki=p.fn[Ui],Qi={CLICK_DISMISS:"click.dismiss"+qi,HIDE:"hide"+qi,HIDDEN:"hidden"+qi,SHOW:"show"+qi,SHOWN:"shown"+qi},Vi="fade",Yi="hide",zi="show",Xi="showing",Gi={animation:"boolean",autohide:"boolean",delay:"number"},$i={animation:!0,autohide:!0,delay:500},Ji='[data-dismiss="toast"]',Zi=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=i.prototype;return t.show=function(){var t=this;p(this._element).trigger(Qi.SHOW),this._config.animation&&this._element.classList.add(Vi);var e=function(){t._element.classList.remove(Xi),t._element.classList.add(zi),p(t._element).trigger(Qi.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Yi),this._element.classList.add(Xi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},t.hide=function(t){var e=this;this._element.classList.contains(zi)&&(p(this._element).trigger(Qi.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(zi)&&this._element.classList.remove(zi),p(this._element).off(Qi.CLICK_DISMISS),p.removeData(this._element,Bi),this._element=null,this._config=null},t._getConfig=function(t){return t=l({},$i,p(this._element).data(),"object"==typeof t&&t?t:{}),m.typeCheckConfig(Ui,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;p(this._element).on(Qi.CLICK_DISMISS,Ji,function(){return t.hide(!0)})},t._close=function(){var t=this,e=function(){t._element.classList.add(Yi),p(t._element).trigger(Qi.HIDDEN)};if(this._element.classList.remove(zi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Bi);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Bi,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Gi}},{key:"Default",get:function(){return $i}}]),i}();p.fn[Ui]=Zi._jQueryInterface,p.fn[Ui].Constructor=Zi,p.fn[Ui].noConflict=function(){return p.fn[Ui]=Ki,Zi._jQueryInterface},function(){if("undefined"==typeof p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=p.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=m,t.Alert=g,t.Button=k,t.Carousel=at,t.Collapse=Ct,t.Dropdown=Xe,t.Modal=gn,t.Popover=ii,t.Scrollspy=Ci,t.Tab=Wi,t.Toast=Zi,t.Tooltip=qn,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=bootstrap.bundle.min.js.map;
/*! Native Promise Only
    v0.8.1 (c) Kyle Simpson
    MIT License: http://getify.mit-license.org
*/
!function(t,n,e){n[t]=n[t]||e(),"undefined"!=typeof module&&module.exports?module.exports=n[t]:"function"==typeof define&&define.amd&&define(function(){return n[t]})}("Promise","undefined"!=typeof global?global:this,function(){"use strict";function t(t,n){l.add(t,n),h||(h=y(l.drain))}function n(t){var n,e=typeof t;return null==t||"object"!=e&&"function"!=e||(n=t.then),"function"==typeof n?n:!1}function e(){for(var t=0;t<this.chain.length;t++)o(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function o(t,e,o){var r,i;try{e===!1?o.reject(t.msg):(r=e===!0?t.msg:e.call(void 0,t.msg),r===o.promise?o.reject(TypeError("Promise-chain cycle")):(i=n(r))?i.call(r,o.resolve,o.reject):o.resolve(r))}catch(c){o.reject(c)}}function r(o){var c,u=this;if(!u.triggered){u.triggered=!0,u.def&&(u=u.def);try{(c=n(o))?t(function(){var t=new f(u);try{c.call(o,function(){r.apply(t,arguments)},function(){i.apply(t,arguments)})}catch(n){i.call(t,n)}}):(u.msg=o,u.state=1,u.chain.length>0&&t(e,u))}catch(a){i.call(new f(u),a)}}}function i(n){var o=this;o.triggered||(o.triggered=!0,o.def&&(o=o.def),o.msg=n,o.state=2,o.chain.length>0&&t(e,o))}function c(t,n,e,o){for(var r=0;r<n.length;r++)!function(r){t.resolve(n[r]).then(function(t){e(r,t)},o)}(r)}function f(t){this.def=t,this.triggered=!1}function u(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function a(n){if("function"!=typeof n)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var o=new u(this);this.then=function(n,r){var i={success:"function"==typeof n?n:!0,failure:"function"==typeof r?r:!1};return i.promise=new this.constructor(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");i.resolve=t,i.reject=n}),o.chain.push(i),0!==o.state&&t(e,o),i.promise},this["catch"]=function(t){return this.then(void 0,t)};try{n.call(void 0,function(t){r.call(o,t)},function(t){i.call(o,t)})}catch(c){i.call(o,c)}}var s,h,l,p=Object.prototype.toString,y="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),s=function(t,n,e,o){return Object.defineProperty(t,n,{value:e,writable:!0,configurable:o!==!1})}}catch(d){s=function(t,n,e){return t[n]=e,t}}l=function(){function t(t,n){this.fn=t,this.self=n,this.next=void 0}var n,e,o;return{add:function(r,i){o=new t(r,i),e?e.next=o:n=o,e=o,o=void 0},drain:function(){var t=n;for(n=e=h=void 0;t;)t.fn.call(t.self),t=t.next}}}();var g=s({},"constructor",a,!1);return a.prototype=g,s(g,"__NPO__",0,!1),s(a,"resolve",function(t){var n=this;return t&&"object"==typeof t&&1===t.__NPO__?t:new n(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");n(t)})}),s(a,"reject",function(t){return new this(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");e(t)})}),s(a,"all",function(t){var n=this;return"[object Array]"!=p.call(t)?n.reject(TypeError("Not an array")):0===t.length?n.resolve([]):new n(function(e,o){if("function"!=typeof e||"function"!=typeof o)throw TypeError("Not a function");var r=t.length,i=Array(r),f=0;c(n,t,function(t,n){i[t]=n,++f===r&&e(i)},o)})}),s(a,"race",function(t){var n=this;return"[object Array]"!=p.call(t)?n.reject(TypeError("Not an array")):new n(function(e,o){if("function"!=typeof e||"function"!=typeof o)throw TypeError("Not a function");c(n,t,function(t,n){e(n)},o)})}),a});
;
/*
 Copyright (C) Federico Zivolo 2019
 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
 */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?pe:10===e?se:pe||se}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}function m(e,t){var o='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return ee(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?parseInt(o['offset'+e])+parseInt(n['margin'+('Height'===e?'Top':'Left')])+parseInt(n['margin'+('Height'===e?'Bottom':'Right')]):0)}function c(e){var t=e.body,o=e.documentElement,n=r(10)&&getComputedStyle(o);return{height:h('Height',t,o,n),width:h('Width',t,o,n)}}function g(e){return fe({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var o={};try{if(r(10)){o=e.getBoundingClientRect();var n=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c(e.ownerDocument):{},d=s.width||e.clientWidth||p.right-p.left,a=s.height||e.clientHeight||p.bottom-p.top,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){var u=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}return g(p)}function b(e,o){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&s&&(a.top=ee(a.top,0),a.left=ee(a.left,0));var b=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){var w=parseFloat(m.marginTop,10),y=parseFloat(m.marginLeft,10);b.top-=h-w,b.bottom-=h-w,b.left-=c-y,b.right-=c-y,b.marginTop=w,b.marginLeft=y}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}function w(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=ee(o.clientWidth,window.innerWidth||0),r=ee(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};return g(d)}function y(e){var n=e.nodeName;if('BODY'===n||'HTML'===n)return!1;if('fixed'===t(e,'position'))return!0;var i=o(e);return!!i&&y(i)}function E(e){if(!e||!e.parentElement||r())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function v(e,t,i,r){var p=4<arguments.length&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},d=p?E(e):a(e,t);if('viewport'===r)s=w(d,p);else{var l;'scrollParent'===r?(l=n(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===r?l=e.ownerDocument.documentElement:l=r;var f=b(l,d,p);if('HTML'===l.nodeName&&!y(d)){var m=c(e.ownerDocument),h=m.height,g=m.width;s.top+=f.top-f.marginTop,s.bottom=h+f.top,s.left+=f.left-f.marginLeft,s.right=g+f.left}else s=f}i=i||0;var u='number'==typeof i;return s.left+=u?i:i.left||0,s.top+=u?i:i.top||0,s.right-=u?i:i.right||0,s.bottom-=u?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,n,i){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return fe({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function L(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=n?E(t):a(t,o);return b(o,i,n)}function S(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),n=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),r={width:e.offsetWidth+i,height:e.offsetHeight+n};return r}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function D(e,t,o){o=o.split('-')[0];var n=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return i[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}function C(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var n=C(e,function(e){return e[t]===o});return e.indexOf(n)}function P(t,o,n){var i=void 0===n?t:t.slice(0,N(t,'name',n));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var n=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function H(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function B(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[H('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function F(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function j(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function V(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n.left-1:n.left),top:m(n.top),bottom:m(n.bottom),right:f(n.right)}}function K(e,t,o){var n=C(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function z(e){return'end'===e?'start':'start'===e?'end':e}function G(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=ce.indexOf(e),n=ce.slice(o+1).concat(ce.slice(0,o));return t?n.reverse():n}function _(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?ee(document.documentElement.clientHeight,window.innerHeight||0):ee(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function X(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(C(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return _(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}function J(e,t){var o,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];return o=Y(+n)?[+n,0]:X(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(var Q=Math.min,Z=Math.floor,$=Math.round,ee=Math.max,te='undefined'!=typeof window&&'undefined'!=typeof document,oe=['Edge','Trident','Firefox'],ne=0,ie=0;ie<oe.length;ie+=1)if(te&&0<=navigator.userAgent.indexOf(oe[ie])){ne=1;break}var i=te&&window.Promise,re=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ne))}},pe=te&&!!(window.MSInputMethodContext&&document.documentMode),se=te&&/MSIE 10/.test(navigator.userAgent),de=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ae=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),le=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},fe=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},me=te&&/Firefox/i.test(navigator.userAgent),he=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ce=he.slice(3),ge={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ue=function(){function t(o,n){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};de(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=re(this.update.bind(this)),this.options=fe({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(fe({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=fe({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return fe({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return ae(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return B.call(this)}},{key:'enableEventListeners',value:function(){return I.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();return ue.Utils=('undefined'==typeof window?global:window).PopperUtils,ue.placements=he,ue.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){var i=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:le({},d,r[d]),end:le({},d,r[d]+r[a]-p[a])};e.offsets.popper=fe({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=H('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f[e]<a[e]&&!t.escapeWithReference&&(o=ee(f[e],a[e])),le({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=f[o];return f[e]>a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),le({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=fe({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},le(n,m,$(v)),le(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ge.FLIP:p=[n,i];break;case ge.CLOCKWISE:p=G(n);break;case ge.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),y&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=fe({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=C(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,n=t.y,i=e.offsets.popper,r=C(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h=q(e,2>window.devicePixelRatio||!me),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=H('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=fe({},E,e.attributes),e.styles=fe({},m,e.styles),e.arrowStyles=fe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ue});
//# sourceMappingURL=popper.min.js.map
;
/*!
 * typeahead.js 0.11.1
 * https://github.com/twitter/typeahead.js
 * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT
 */

!function(a,b){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(c){return a.Bloodhound=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):a.Bloodhound=b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c="0.11.1",d=function(){"use strict";function a(a){return a=b.toStr(a),a?a.split(/\s+/):[]}function c(a){return a=b.toStr(a),a?a.split(/\W+/):[]}function d(a){return function(c){return c=b.isArray(c)?c:[].slice.call(arguments,0),function(d){var e=[];return b.each(c,function(c){e=e.concat(a(b.toStr(d[c])))}),e}}}return{nonword:c,whitespace:a,obj:{nonword:d(c),whitespace:d(a)}}}(),e=function(){"use strict";function c(c){this.maxSize=b.isNumber(c)?c:100,this.reset(),this.maxSize<=0&&(this.set=this.get=a.noop)}function d(){this.head=this.tail=null}function e(a,b){this.key=a,this.val=b,this.prev=this.next=null}return b.mixin(c.prototype,{set:function(a,b){var c,d=this.list.tail;this.size>=this.maxSize&&(this.list.remove(d),delete this.hash[d.key],this.size--),(c=this.hash[a])?(c.val=b,this.list.moveToFront(c)):(c=new e(a,b),this.list.add(c),this.hash[a]=c,this.size++)},get:function(a){var b=this.hash[a];return b?(this.list.moveToFront(b),b.val):void 0},reset:function(){this.size=0,this.hash={},this.list=new d}}),b.mixin(d.prototype,{add:function(a){this.head&&(a.next=this.head,this.head.prev=a),this.head=a,this.tail=this.tail||a},remove:function(a){a.prev?a.prev.next=a.next:this.head=a.next,a.next?a.next.prev=a.prev:this.tail=a.prev},moveToFront:function(a){this.remove(a),this.add(a)}}),c}(),f=function(){"use strict";function c(a,c){this.prefix=["__",a,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+b.escapeRegExChars(this.prefix)),this.ls=c||h,!this.ls&&this._noop()}function d(){return(new Date).getTime()}function e(a){return JSON.stringify(b.isUndefined(a)?null:a)}function f(b){return a.parseJSON(b)}function g(a){var b,c,d=[],e=h.length;for(b=0;e>b;b++)(c=h.key(b)).match(a)&&d.push(c.replace(a,""));return d}var h;try{h=window.localStorage,h.setItem("~~~","!"),h.removeItem("~~~")}catch(i){h=null}return b.mixin(c.prototype,{_prefix:function(a){return this.prefix+a},_ttlKey:function(a){return this._prefix(a)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=b.noop},_safeSet:function(a,b){try{this.ls.setItem(a,b)}catch(c){"QuotaExceededError"===c.name&&(this.clear(),this._noop())}},get:function(a){return this.isExpired(a)&&this.remove(a),f(this.ls.getItem(this._prefix(a)))},set:function(a,c,f){return b.isNumber(f)?this._safeSet(this._ttlKey(a),e(d()+f)):this.ls.removeItem(this._ttlKey(a)),this._safeSet(this._prefix(a),e(c))},remove:function(a){return this.ls.removeItem(this._ttlKey(a)),this.ls.removeItem(this._prefix(a)),this},clear:function(){var a,b=g(this.keyMatcher);for(a=b.length;a--;)this.remove(b[a]);return this},isExpired:function(a){var c=f(this.ls.getItem(this._ttlKey(a)));return b.isNumber(c)&&d()>c?!0:!1}}),c}(),g=function(){"use strict";function c(a){a=a||{},this.cancelled=!1,this.lastReq=null,this._send=a.transport,this._get=a.limiter?a.limiter(this._get):this._get,this._cache=a.cache===!1?new e(0):h}var d=0,f={},g=6,h=new e(10);return c.setMaxPendingRequests=function(a){g=a},c.resetCache=function(){h.reset()},b.mixin(c.prototype,{_fingerprint:function(b){return b=b||{},b.url+b.type+a.param(b.data||{})},_get:function(a,b){function c(a){b(null,a),k._cache.set(i,a)}function e(){b(!0)}function h(){d--,delete f[i],k.onDeckRequestArgs&&(k._get.apply(k,k.onDeckRequestArgs),k.onDeckRequestArgs=null)}var i,j,k=this;i=this._fingerprint(a),this.cancelled||i!==this.lastReq||((j=f[i])?j.done(c).fail(e):g>d?(d++,f[i]=this._send(a).done(c).fail(e).always(h)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(c,d){var e,f;d=d||a.noop,c=b.isString(c)?{url:c}:c||{},f=this._fingerprint(c),this.cancelled=!1,this.lastReq=f,(e=this._cache.get(f))?d(null,e):this._get(c,d)},cancel:function(){this.cancelled=!0}}),c}(),h=window.SearchIndex=function(){"use strict";function c(c){c=c||{},c.datumTokenizer&&c.queryTokenizer||a.error("datumTokenizer and queryTokenizer are both required"),this.identify=c.identify||b.stringify,this.datumTokenizer=c.datumTokenizer,this.queryTokenizer=c.queryTokenizer,this.reset()}function d(a){return a=b.filter(a,function(a){return!!a}),a=b.map(a,function(a){return a.toLowerCase()})}function e(){var a={};return a[i]=[],a[h]={},a}function f(a){for(var b={},c=[],d=0,e=a.length;e>d;d++)b[a[d]]||(b[a[d]]=!0,c.push(a[d]));return c}function g(a,b){var c=0,d=0,e=[];a=a.sort(),b=b.sort();for(var f=a.length,g=b.length;f>c&&g>d;)a[c]<b[d]?c++:a[c]>b[d]?d++:(e.push(a[c]),c++,d++);return e}var h="c",i="i";return b.mixin(c.prototype,{bootstrap:function(a){this.datums=a.datums,this.trie=a.trie},add:function(a){var c=this;a=b.isArray(a)?a:[a],b.each(a,function(a){var f,g;c.datums[f=c.identify(a)]=a,g=d(c.datumTokenizer(a)),b.each(g,function(a){var b,d,g;for(b=c.trie,d=a.split("");g=d.shift();)b=b[h][g]||(b[h][g]=e()),b[i].push(f)})})},get:function(a){var c=this;return b.map(a,function(a){return c.datums[a]})},search:function(a){var c,e,j=this;return c=d(this.queryTokenizer(a)),b.each(c,function(a){var b,c,d,f;if(e&&0===e.length)return!1;for(b=j.trie,c=a.split("");b&&(d=c.shift());)b=b[h][d];return b&&0===c.length?(f=b[i].slice(0),void(e=e?g(e,f):f)):(e=[],!1)}),e?b.map(f(e),function(a){return j.datums[a]}):[]},all:function(){var a=[];for(var b in this.datums)a.push(this.datums[b]);return a},reset:function(){this.datums={},this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),c}(),i=function(){"use strict";function a(a){this.url=a.url,this.ttl=a.ttl,this.cache=a.cache,this.prepare=a.prepare,this.transform=a.transform,this.transport=a.transport,this.thumbprint=a.thumbprint,this.storage=new f(a.cacheKey)}var c;return c={data:"data",protocol:"protocol",thumbprint:"thumbprint"},b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(a){this.cache&&(this.storage.set(c.data,a,this.ttl),this.storage.set(c.protocol,location.protocol,this.ttl),this.storage.set(c.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var a,b={};return this.cache?(b.data=this.storage.get(c.data),b.protocol=this.storage.get(c.protocol),b.thumbprint=this.storage.get(c.thumbprint),a=b.thumbprint!==this.thumbprint||b.protocol!==location.protocol,b.data&&!a?b.data:null):null},fromNetwork:function(a){function b(){a(!0)}function c(b){a(null,e.transform(b))}var d,e=this;a&&(d=this.prepare(this._settings()),this.transport(d).fail(b).done(c))},clear:function(){return this.storage.clear(),this}}),a}(),j=function(){"use strict";function a(a){this.url=a.url,this.prepare=a.prepare,this.transform=a.transform,this.transport=new g({cache:a.cache,limiter:a.limiter,transport:a.transport})}return b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(a,b){function c(a,c){b(a?[]:e.transform(c))}var d,e=this;if(b)return a=a||"",d=this.prepare(a,this._settings()),this.transport.get(d,c)},cancelLastRequest:function(){this.transport.cancel()}}),a}(),k=function(){"use strict";function d(d){var e;return d?(e={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:b.identity,transform:b.identity,transport:null},d=b.isString(d)?{url:d}:d,d=b.mixin(e,d),!d.url&&a.error("prefetch requires url to be set"),d.transform=d.filter||d.transform,d.cacheKey=d.cacheKey||d.url,d.thumbprint=c+d.thumbprint,d.transport=d.transport?h(d.transport):a.ajax,d):null}function e(c){var d;if(c)return d={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:b.identity,transport:null},c=b.isString(c)?{url:c}:c,c=b.mixin(d,c),!c.url&&a.error("remote requires url to be set"),c.transform=c.filter||c.transform,c.prepare=f(c),c.limiter=g(c),c.transport=c.transport?h(c.transport):a.ajax,delete c.replace,delete c.wildcard,delete c.rateLimitBy,delete c.rateLimitWait,c}function f(a){function b(a,b){return b.url=f(b.url,a),b}function c(a,b){return b.url=b.url.replace(g,encodeURIComponent(a)),b}function d(a,b){return b}var e,f,g;return e=a.prepare,f=a.replace,g=a.wildcard,e?e:e=f?b:a.wildcard?c:d}function g(a){function c(a){return function(c){return b.debounce(c,a)}}function d(a){return function(c){return b.throttle(c,a)}}var e,f,g;return e=a.limiter,f=a.rateLimitBy,g=a.rateLimitWait,e||(e=/^throttle$/i.test(f)?d(g):c(g)),e}function h(c){return function(d){function e(a){b.defer(function(){g.resolve(a)})}function f(a){b.defer(function(){g.reject(a)})}var g=a.Deferred();return c(d,e,f),g}}return function(c){var f,g;return f={initialize:!0,identify:b.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},c=b.mixin(f,c||{}),!c.datumTokenizer&&a.error("datumTokenizer is required"),!c.queryTokenizer&&a.error("queryTokenizer is required"),g=c.sorter,c.sorter=g?function(a){return a.sort(g)}:b.identity,c.local=b.isFunction(c.local)?c.local():c.local,c.prefetch=d(c.prefetch),c.remote=e(c.remote),c}}(),l=function(){"use strict";function c(a){a=k(a),this.sorter=a.sorter,this.identify=a.identify,this.sufficient=a.sufficient,this.local=a.local,this.remote=a.remote?new j(a.remote):null,this.prefetch=a.prefetch?new i(a.prefetch):null,this.index=new h({identify:this.identify,datumTokenizer:a.datumTokenizer,queryTokenizer:a.queryTokenizer}),a.initialize!==!1&&this.initialize()}var e;return e=window&&window.Bloodhound,c.noConflict=function(){return window&&(window.Bloodhound=e),c},c.tokenizers=d,b.mixin(c.prototype,{__ttAdapter:function(){function a(a,b,d){return c.search(a,b,d)}function b(a,b){return c.search(a,b)}var c=this;return this.remote?a:b},_loadPrefetch:function(){function b(a,b){return a?c.reject():(e.add(b),e.prefetch.store(e.index.serialize()),void c.resolve())}var c,d,e=this;return c=a.Deferred(),this.prefetch?(d=this.prefetch.fromCache())?(this.index.bootstrap(d),c.resolve()):this.prefetch.fromNetwork(b):c.resolve(),c.promise()},_initialize:function(){function a(){b.add(b.local)}var b=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(a),this.initPromise},initialize:function(a){return!this.initPromise||a?this._initialize():this.initPromise},add:function(a){return this.index.add(a),this},get:function(a){return a=b.isArray(a)?a:[].slice.call(arguments),this.index.get(a)},search:function(a,c,d){function e(a){var c=[];b.each(a,function(a){!b.some(f,function(b){return g.identify(a)===g.identify(b)})&&c.push(a)}),d&&d(c)}var f,g=this;return f=this.sorter(this.index.search(a)),c(this.remote?f.slice():f),this.remote&&f.length<this.sufficient?this.remote.get(a,e):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return g.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),c}();return l}),function(a,b){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c=function(){"use strict";function a(a){var g,h;return h=b.mixin({},f,a),g={css:e(),classes:h,html:c(h),selectors:d(h)},{css:g.css,html:g.html,classes:g.classes,selectors:g.selectors,mixin:function(a){b.mixin(a,g)}}}function c(a){return{wrapper:'<span class="'+a.wrapper+'"></span>',menu:'<div class="'+a.menu+'"></div>'}}function d(a){var c={};return b.each(a,function(a,b){c[b]="."+a}),c}function e(){var a={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return b.isMsie()&&b.mixin(a.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),a}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return a}(),d=function(){"use strict";function c(b){b&&b.el||a.error("EventBus initialized without el"),this.$el=a(b.el)}var d,e;return d="typeahead:",e={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},b.mixin(c.prototype,{_trigger:function(b,c){var e;return e=a.Event(d+b),(c=c||[]).unshift(e),this.$el.trigger.apply(this.$el,c),e},before:function(a){var b,c;return b=[].slice.call(arguments,1),c=this._trigger("before"+a,b),c.isDefaultPrevented()},trigger:function(a){var b;this._trigger(a,[].slice.call(arguments,1)),(b=e[a])&&this._trigger(b,[].slice.call(arguments,1))}}),c}(),e=function(){"use strict";function a(a,b,c,d){var e;if(!c)return this;for(b=b.split(i),c=d?h(c,d):c,this._callbacks=this._callbacks||{};e=b.shift();)this._callbacks[e]=this._callbacks[e]||{sync:[],async:[]},this._callbacks[e][a].push(c);return this}function b(b,c,d){return a.call(this,"async",b,c,d)}function c(b,c,d){return a.call(this,"sync",b,c,d)}function d(a){var b;if(!this._callbacks)return this;for(a=a.split(i);b=a.shift();)delete this._callbacks[b];return this}function e(a){var b,c,d,e,g;if(!this._callbacks)return this;for(a=a.split(i),d=[].slice.call(arguments,1);(b=a.shift())&&(c=this._callbacks[b]);)e=f(c.sync,this,[b].concat(d)),g=f(c.async,this,[b].concat(d)),e()&&j(g);return this}function f(a,b,c){function d(){for(var d,e=0,f=a.length;!d&&f>e;e+=1)d=a[e].apply(b,c)===!1;return!d}return d}function g(){var a;return a=window.setImmediate?function(a){setImmediate(function(){a()})}:function(a){setTimeout(function(){a()},0)}}function h(a,b){return a.bind?a.bind(b):function(){a.apply(b,[].slice.call(arguments,0))}}var i=/\s+/,j=g();return{onSync:c,onAsync:b,off:d,trigger:e}}(),f=function(a){"use strict";function c(a,c,d){for(var e,f=[],g=0,h=a.length;h>g;g++)f.push(b.escapeRegExChars(a[g]));return e=d?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",c?new RegExp(e):new RegExp(e,"i")}var d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(e){function f(b){var c,d,f;return(c=h.exec(b.data))&&(f=a.createElement(e.tagName),e.className&&(f.className=e.className),d=b.splitText(c.index),d.splitText(c[0].length),f.appendChild(d.cloneNode(!0)),b.parentNode.replaceChild(f,d)),!!c}function g(a,b){for(var c,d=3,e=0;e<a.childNodes.length;e++)c=a.childNodes[e],c.nodeType===d?e+=b(c)?1:0:g(c,b)}var h;e=b.mixin({},d,e),e.node&&e.pattern&&(e.pattern=b.isArray(e.pattern)?e.pattern:[e.pattern],h=c(e.pattern,e.caseSensitive,e.wordsOnly),g(e.node,f))}}(window.document),g=function(){"use strict";function c(c,e){c=c||{},c.input||a.error("input is missing"),e.mixin(this),this.$hint=a(c.hint),this.$input=a(c.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=d(this.$input),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=b.noop)}function d(b){return a('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:b.css("font-family"),fontSize:b.css("font-size"),fontStyle:b.css("font-style"),fontVariant:b.css("font-variant"),fontWeight:b.css("font-weight"),wordSpacing:b.css("word-spacing"),letterSpacing:b.css("letter-spacing"),textIndent:b.css("text-indent"),textRendering:b.css("text-rendering"),textTransform:b.css("text-transform")}).insertAfter(b)}function f(a,b){return c.normalizeQuery(a)===c.normalizeQuery(b)}function g(a){return a.altKey||a.ctrlKey||a.metaKey||a.shiftKey}var h;return h={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},c.normalizeQuery=function(a){return b.toStr(a).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},b.mixin(c.prototype,e,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(a){var b=h[a.which||a.keyCode];this._managePreventDefault(b,a),b&&this._shouldTrigger(b,a)&&this.trigger(b+"Keyed",a)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(a,b){var c;switch(a){case"up":case"down":c=!g(b);break;default:c=!1}c&&b.preventDefault()},_shouldTrigger:function(a,b){var c;switch(a){case"tab":c=!g(b);break;default:c=!0}return c},_checkLanguageDirection:function(){var a=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==a&&(this.dir=a,this.$hint.attr("dir",a),this.trigger("langDirChanged",a))},_setQuery:function(a,b){var c,d;c=f(a,this.query),d=c?this.query.length!==a.length:!1,this.query=a,b||c?!b&&d&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var a,c,d,e,f=this;return a=b.bind(this._onBlur,this),c=b.bind(this._onFocus,this),d=b.bind(this._onKeydown,this),e=b.bind(this._onInput,this),this.$input.on("blur.tt",a).on("focus.tt",c).on("keydown.tt",d),!b.isMsie()||b.isMsie()>9?this.$input.on("input.tt",e):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(a){h[a.which||a.keyCode]||b.defer(b.bind(f._onInput,f,a))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(a,b){this.setInputValue(a),this._setQuery(a,b)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(a){this.$input.val(a),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(a){this.$hint.val(a)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var a,b,c,d;a=this.getInputValue(),b=this.getHint(),c=a!==b&&0===b.indexOf(a),d=""!==a&&c&&!this.hasOverflow(),!d&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var a=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=a},isCursorAtEnd:function(){var a,c,d;return a=this.$input.val().length,c=this.$input[0].selectionStart,b.isNumber(c)?c===a:document.selection?(d=document.selection.createRange(),d.moveStart("character",-a),a===d.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=a("<div>")}}),c}(),h=function(){"use strict";function c(c,e){c=c||{},c.templates=c.templates||{},c.templates.notFound=c.templates.notFound||c.templates.empty,c.source||a.error("missing source"),c.node||a.error("missing node"),c.name&&!h(c.name)&&a.error("invalid dataset name: "+c.name),e.mixin(this),this.highlight=!!c.highlight,this.name=c.name||j(),this.limit=c.limit||5,this.displayFn=d(c.display||c.displayKey),this.templates=g(c.templates,this.displayFn),this.source=c.source.__ttAdapter?c.source.__ttAdapter():c.source,this.async=b.isUndefined(c.async)?this.source.length>2:!!c.async,this._resetLastSuggestion(),this.$el=a(c.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function d(a){function c(b){return b[a]}return a=a||b.stringify,b.isFunction(a)?a:c}function g(c,d){function e(b){return a("<div>").text(d(b))}return{notFound:c.notFound&&b.templatify(c.notFound),pending:c.pending&&b.templatify(c.pending),header:c.header&&b.templatify(c.header),footer:c.footer&&b.templatify(c.footer),suggestion:c.suggestion||e}}function h(a){return/^[_a-zA-Z0-9-]+$/.test(a)}var i,j;return i={val:"tt-selectable-display",obj:"tt-selectable-object"},j=b.getIdGenerator(),c.extractData=function(b){var c=a(b);return c.data(i.obj)?{val:c.data(i.val)||"",obj:c.data(i.obj)||null}:null},b.mixin(c.prototype,e,{_overwrite:function(a,b){b=b||[],b.length?this._renderSuggestions(a,b):this.async&&this.templates.pending?this._renderPending(a):!this.async&&this.templates.notFound?this._renderNotFound(a):this._empty(),this.trigger("rendered",this.name,b,!1)},_append:function(a,b){b=b||[],b.length&&this.$lastSuggestion.length?this._appendSuggestions(a,b):b.length?this._renderSuggestions(a,b):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(a),this.trigger("rendered",this.name,b,!0)},_renderSuggestions:function(a,b){var c;c=this._getSuggestionsFragment(a,b),this.$lastSuggestion=c.children().last(),this.$el.html(c).prepend(this._getHeader(a,b)).append(this._getFooter(a,b))},_appendSuggestions:function(a,b){var c,d;c=this._getSuggestionsFragment(a,b),d=c.children().last(),this.$lastSuggestion.after(c),this.$lastSuggestion=d},_renderPending:function(a){var b=this.templates.pending;this._resetLastSuggestion(),b&&this.$el.html(b({query:a,dataset:this.name}))},_renderNotFound:function(a){var b=this.templates.notFound;this._resetLastSuggestion(),b&&this.$el.html(b({query:a,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(c,d){var e,g=this;return e=document.createDocumentFragment(),b.each(d,function(b){var d,f;f=g._injectQuery(c,b),d=a(g.templates.suggestion(f)).data(i.obj,b).data(i.val,g.displayFn(b)).addClass(g.classes.suggestion+" "+g.classes.selectable),e.appendChild(d[0])}),this.highlight&&f({className:this.classes.highlight,node:e,pattern:c}),a(e)},_getFooter:function(a,b){return this.templates.footer?this.templates.footer({query:a,suggestions:b,dataset:this.name}):null},_getHeader:function(a,b){return this.templates.header?this.templates.header({query:a,suggestions:b,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=a()},_injectQuery:function(a,c){return b.isObject(c)?b.mixin({_query:a},c):c},update:function(b){function c(a){g||(g=!0,a=(a||[]).slice(0,e.limit),h=a.length,e._overwrite(b,a),h<e.limit&&e.async&&e.trigger("asyncRequested",b))}function d(c){c=c||[],!f&&h<e.limit&&(e.cancel=a.noop,h+=c.length,e._append(b,c.slice(0,e.limit-h)),e.async&&e.trigger("asyncReceived",b))}var e=this,f=!1,g=!1,h=0;this.cancel(),this.cancel=function(){f=!0,e.cancel=a.noop,e.async&&e.trigger("asyncCanceled",b)},this.source(b,c,d),!g&&c([])},cancel:a.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=a("<div>")}}),c}(),i=function(){"use strict";function c(c,d){function e(b){var c=f.$node.find(b.node).first();return b.node=c.length?c:a("<div>").appendTo(f.$node),new h(b,d)}var f=this;c=c||{},c.node||a.error("node is required"),d.mixin(this),this.$node=a(c.node),this.query=null,this.datasets=b.map(c.datasets,e)}return b.mixin(c.prototype,e,{_onSelectableClick:function(b){this.trigger("selectableClicked",a(b.currentTarget))},_onRendered:function(a,b,c,d){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",b,c,d)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function a(a){return a.isEmpty()}return b.every(this.datasets,a)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var a=this.getActiveSelectable();a&&a.removeClass(this.classes.cursor)},_ensureVisible:function(a){var b,c,d,e;b=a.position().top,c=b+a.outerHeight(!0),d=this.$node.scrollTop(),e=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),0>b?this.$node.scrollTop(d+b):c>e&&this.$node.scrollTop(d+(c-e))},bind:function(){var a,c=this;return a=b.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,a),b.each(this.datasets,function(a){a.onSync("asyncRequested",c._propagate,c).onSync("asyncCanceled",c._propagate,c).onSync("asyncReceived",c._propagate,c).onSync("rendered",c._onRendered,c).onSync("cleared",c._onCleared,c)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(a){this.$node.attr("dir",a)},selectableRelativeToCursor:function(a){var b,c,d,e;return c=this.getActiveSelectable(),b=this._getSelectables(),d=c?b.index(c):-1,e=d+a,e=(e+1)%(b.length+1)-1,e=-1>e?b.length-1:e,-1===e?null:b.eq(e)},setCursor:function(a){this._removeCursor(),(a=a&&a.first())&&(a.addClass(this.classes.cursor),this._ensureVisible(a))},getSelectableData:function(a){return a&&a.length?h.extractData(a):null},getActiveSelectable:function(){var a=this._getSelectables().filter(this.selectors.cursor).first();return a.length?a:null},getTopSelectable:function(){var a=this._getSelectables().first();return a.length?a:null},update:function(a){function c(b){b.update(a)}var d=a!==this.query;return d&&(this.query=a,b.each(this.datasets,c)),d},empty:function(){function a(a){a.clear()}b.each(this.datasets,a),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){function c(a){a.destroy()}this.$node.off(".tt"),this.$node=a("<div>"),b.each(this.datasets,c)}}),c}(),j=function(){"use strict";function a(){i.apply(this,[].slice.call(arguments,0))}var c=i.prototype;return b.mixin(a.prototype,i.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),c.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),c.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),c._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),c._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(a){return this.$node.css("ltr"===a?this.css.ltr:this.css.rtl),c.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),a}(),k=function(){"use strict";function c(c,e){var f,g,h,i,j,k,l,m,n,o,p;c=c||{},c.input||a.error("missing input"),c.menu||a.error("missing menu"),c.eventBus||a.error("missing event bus"),e.mixin(this),this.eventBus=c.eventBus,this.minLength=b.isNumber(c.minLength)?c.minLength:1,this.input=c.input,this.menu=c.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),f=d(this,"activate","open","_onFocused"),g=d(this,"deactivate","_onBlurred"),h=d(this,"isActive","isOpen","_onEnterKeyed"),i=d(this,"isActive","isOpen","_onTabKeyed"),j=d(this,"isActive","_onEscKeyed"),k=d(this,"isActive","open","_onUpKeyed"),l=d(this,"isActive","open","_onDownKeyed"),m=d(this,"isActive","isOpen","_onLeftKeyed"),n=d(this,"isActive","isOpen","_onRightKeyed"),o=d(this,"_openIfActive","_onQueryChanged"),p=d(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",f,this).onSync("blurred",g,this).onSync("enterKeyed",h,this).onSync("tabKeyed",i,this).onSync("escKeyed",j,this).onSync("upKeyed",k,this).onSync("downKeyed",l,this).onSync("leftKeyed",m,this).onSync("rightKeyed",n,this).onSync("queryChanged",o,this).onSync("whitespaceChanged",p,this).onSync("langDirChanged",this._onLangDirChanged,this)}function d(a){var c=[].slice.call(arguments,1);return function(){var d=[].slice.call(arguments);b.each(c,function(b){return a[b].apply(a,d)})}}return b.mixin(c.prototype,{_hacks:function(){var c,d;c=this.input.$input||a("<div>"),d=this.menu.$node||a("<div>"),c.on("blur.tt",function(a){var e,f,g;
e=document.activeElement,f=d.is(e),g=d.has(e).length>0,b.isMsie()&&(f||g)&&(a.preventDefault(),a.stopImmediatePropagation(),b.defer(function(){c.focus()}))}),d.on("mousedown.tt",function(a){a.preventDefault()})},_onSelectableClicked:function(a,b){this.select(b)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(a,b,c,d){this._updateHint(),this.eventBus.trigger("render",c,d,b)},_onAsyncRequested:function(a,b,c){this.eventBus.trigger("asyncrequest",c,b)},_onAsyncCanceled:function(a,b,c){this.eventBus.trigger("asynccancel",c,b)},_onAsyncReceived:function(a,b,c){this.eventBus.trigger("asyncreceive",c,b)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())&&this.select(c)&&b.preventDefault()},_onTabKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())?this.select(c)&&b.preventDefault():(c=this.menu.getTopSelectable())&&this.autocomplete(c)&&b.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(a,b){this._minLengthMet(b)?this.menu.update(b):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(a,b){this.dir!==b&&(this.dir=b,this.menu.setLanguageDirection(b))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(a){return a=b.isString(a)?a:this.input.getQuery()||"",a.length>=this.minLength},_updateHint:function(){var a,c,d,e,f,h,i;a=this.menu.getTopSelectable(),c=this.menu.getSelectableData(a),d=this.input.getInputValue(),!c||b.isBlankString(d)||this.input.hasOverflow()?this.input.clearHint():(e=g.normalizeQuery(d),f=b.escapeRegExChars(e),h=new RegExp("^(?:"+f+")(.+$)","i"),i=h.exec(c.val),i&&this.input.setHint(d+i[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(a){this.input.setQuery(b.toStr(a))},getVal:function(){return this.input.getQuery()},select:function(a){var b=this.menu.getSelectableData(a);return b&&!this.eventBus.before("select",b.obj)?(this.input.setQuery(b.val,!0),this.eventBus.trigger("select",b.obj),this.close(),!0):!1},autocomplete:function(a){var b,c,d;return b=this.input.getQuery(),c=this.menu.getSelectableData(a),d=c&&b!==c.val,d&&!this.eventBus.before("autocomplete",c.obj)?(this.input.setQuery(c.val),this.eventBus.trigger("autocomplete",c.obj),!0):!1},moveCursor:function(a){var b,c,d,e,f;return b=this.input.getQuery(),c=this.menu.selectableRelativeToCursor(a),d=this.menu.getSelectableData(c),e=d?d.obj:null,f=this._minLengthMet()&&this.menu.update(b),f||this.eventBus.before("cursorchange",e)?!1:(this.menu.setCursor(c),d?this.input.setInputValue(d.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",e),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),c}();!function(){"use strict";function e(b,c){b.each(function(){var b,d=a(this);(b=d.data(p.typeahead))&&c(b,d)})}function f(a,b){return a.clone().addClass(b.classes.hint).removeData().css(b.css.hint).css(l(a)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function h(a,b){a.data(p.attrs,{dir:a.attr("dir"),autocomplete:a.attr("autocomplete"),spellcheck:a.attr("spellcheck"),style:a.attr("style")}),a.addClass(b.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!a.attr("dir")&&a.attr("dir","auto")}catch(c){}return a}function l(a){return{backgroundAttachment:a.css("background-attachment"),backgroundClip:a.css("background-clip"),backgroundColor:a.css("background-color"),backgroundImage:a.css("background-image"),backgroundOrigin:a.css("background-origin"),backgroundPosition:a.css("background-position"),backgroundRepeat:a.css("background-repeat"),backgroundSize:a.css("background-size")}}function m(a){var c,d;c=a.data(p.www),d=a.parent().filter(c.selectors.wrapper),b.each(a.data(p.attrs),function(c,d){b.isUndefined(c)?a.removeAttr(d):a.attr(d,c)}),a.removeData(p.typeahead).removeData(p.www).removeData(p.attr).removeClass(c.classes.input),d.length&&(a.detach().insertAfter(d),d.remove())}function n(c){var d,e;return d=b.isJQuery(c)||b.isElement(c),e=d?a(c).first():[],e.length?e:null}var o,p,q;o=a.fn.typeahead,p={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},q={initialize:function(e,l){function m(){var c,m,q,r,s,t,u,v,w,x,y;b.each(l,function(a){a.highlight=!!e.highlight}),c=a(this),m=a(o.html.wrapper),q=n(e.hint),r=n(e.menu),s=e.hint!==!1&&!q,t=e.menu!==!1&&!r,s&&(q=f(c,o)),t&&(r=a(o.html.menu).css(o.css.menu)),q&&q.val(""),c=h(c,o),(s||t)&&(m.css(o.css.wrapper),c.css(s?o.css.input:o.css.inputWithNoHint),c.wrap(m).parent().prepend(s?q:null).append(t?r:null)),y=t?j:i,u=new d({el:c}),v=new g({hint:q,input:c},o),w=new y({node:r,datasets:l},o),x=new k({input:v,menu:w,eventBus:u,minLength:e.minLength},o),c.data(p.www,o),c.data(p.typeahead,x)}var o;return l=b.isArray(l)?l:[].slice.call(arguments,1),e=e||{},o=c(e.classNames),this.each(m)},isEnabled:function(){var a;return e(this.first(),function(b){a=b.isEnabled()}),a},enable:function(){return e(this,function(a){a.enable()}),this},disable:function(){return e(this,function(a){a.disable()}),this},isActive:function(){var a;return e(this.first(),function(b){a=b.isActive()}),a},activate:function(){return e(this,function(a){a.activate()}),this},deactivate:function(){return e(this,function(a){a.deactivate()}),this},isOpen:function(){var a;return e(this.first(),function(b){a=b.isOpen()}),a},open:function(){return e(this,function(a){a.open()}),this},close:function(){return e(this,function(a){a.close()}),this},select:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.select(d)}),c},autocomplete:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.autocomplete(d)}),c},moveCursor:function(a){var b=!1;return e(this.first(),function(c){b=c.moveCursor(a)}),b},val:function(a){var b;return arguments.length?(e(this,function(b){b.setVal(a)}),this):(e(this.first(),function(a){b=a.getVal()}),b)},destroy:function(){return e(this,function(a,b){m(b),a.destroy()}),this}},a.fn.typeahead=function(a){return q[a]?q[a].apply(this,[].slice.call(arguments,1)):q.initialize.apply(this,arguments)},a.fn.typeahead.noConflict=function(){return a.fn.typeahead=o,this}}()});;
/*!
 * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker)
 *
 * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
 */

!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c<d;c++)if(0<=this[c].valueOf()-b&&this[c].valueOf()-b<864e5)return c;return-1},remove:function(a){this.splice(a,1)},replace:function(b){b&&(a.isArray(b)||(b=[b]),this.clear(),this.push.apply(this,b))},clear:function(){this.length=0},copy:function(){var a=new j;return a.replace(this),a}};return function(){var c=[];return c.push.apply(c,arguments),a.extend(c,b),c}}(),k=function(b,c){a.data(b,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(c),this.dates=new j,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=a(b),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=a(r.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(a,b){return Number(b)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};k.prototype={constructor:k,_resolveViewName:function(b){return a.each(r.viewModes,function(c,d){if(b===c||-1!==a.inArray(b,d.names))return b=c,!1}),b},_resolveDaysOfWeek:function(b){return a.isArray(b)||(b=b.split(/[,\s]*/)),a.map(b,Number)},_check_template:function(c){try{if(c===b||""===c)return!1;if((c.match(/[<>]/g)||[]).length<=0)return!0;return a(c).length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_applyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(d=b,e=a[f][1]):3===a[f].length&&(d=a[f][1],e=a[f][2]),c.on(e,d)},_unapplyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(e=b,d=a[f][1]):3===a[f].length&&(e=a[f][1],d=a[f][2]),c.off(d,e)},_buildEvents:function(){var b={keyup:a.proxy(function(b){-1===a.inArray(b.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:a.proxy(this.keydown,this),paste:a.proxy(this.paste,this)};!0===this.o.showOnFocus&&(b.focus=a.proxy(this.show,this)),this.isInput?this._events=[[this.element,b]]:this.component&&this.inputField.length?this._events=[[this.inputField,b],[this.component,{click:a.proxy(this.show,this)}]]:this._events=[[this.element,{click:a.proxy(this.show,this),keydown:a.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:a.proxy(function(a){this._focused_from=a.target},this)}],[this.element,{blur:a.proxy(function(a){this._focused_from=a.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":a.proxy(function(a){this.update(a.date)},this)}]),this._secondaryEvents=[[this.picker,{click:a.proxy(this.click,this)}],[this.picker,".prev, .next",{click:a.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:a.proxy(this.dayCellClick,this)}],[a(window),{resize:a.proxy(this.place,this)}],[a(document),{"mousedown touchstart":a.proxy(function(a){this.element.is(a.target)||this.element.find(a.target).length||this.picker.is(a.target)||this.picker.find(a.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(b,c){var d=c||this.dates.get(-1),e=this._utc_to_local(d);this.element.trigger({type:b,date:e,viewMode:this.viewMode,dates:a.map(this.dates,this._utc_to_local),format:a.proxy(function(a,b){0===arguments.length?(a=this.dates.length-1,b=this.o.format):"string"==typeof a&&(b=a,a=this.dates.length-1),b=b||this.o.format;var c=this.dates.get(a);return r.formatDate(c,b,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&a(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(b){var c;if(b.originalEvent.clipboardData&&b.originalEvent.clipboardData.types&&-1!==a.inArray("text/plain",b.originalEvent.clipboardData.types))c=b.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;c=window.clipboardData.getData("Text")}this.setDate(c),this.update(),b.preventDefault()},_utc_to_local:function(a){if(!a)return a;var b=new Date(a.getTime()+6e4*a.getTimezoneOffset());return b.getTimezoneOffset()!==a.getTimezoneOffset()&&(b=new Date(a.getTime()+6e4*b.getTimezoneOffset())),b},_local_to_utc:function(a){return a&&new Date(a.getTime()-6e4*a.getTimezoneOffset())},_zero_time:function(a){return a&&new Date(a.getFullYear(),a.getMonth(),a.getDate())},_zero_utc_time:function(a){return a&&c(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate())},getDates:function(){return a.map(this.dates,this._utc_to_local)},getUTCDates:function(){return a.map(this.dates,function(a){return new Date(a)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var a=this.dates.get(-1);return a!==b?new Date(a):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,b),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,a.map(b,this._utc_to_local)),this},setDate:f("setDates"),setUTCDate:f("setUTCDates"),remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var a=this.getFormattedDate();return this.inputField.val(a),this},getFormattedDate:function(c){c===b&&(c=this.o.format);var d=this.o.language;return a.map(this.dates,function(a){return r.formatDate(a,c,d)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(a){return this._process_options({startDate:a}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(a){return this._process_options({endDate:a}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(a){return this._process_options({daysOfWeekDisabled:a}),this.update(),this},setDaysOfWeekHighlighted:function(a){return this._process_options({daysOfWeekHighlighted:a}),this.update(),this},setDatesDisabled:function(a){return this._process_options({datesDisabled:a}),this.update(),this},place:function(){if(this.isInline)return this;var b=this.picker.outerWidth(),c=this.picker.outerHeight(),d=a(this.o.container),e=d.width(),f="body"===this.o.container?a(document).scrollTop():d.scrollTop(),g=d.offset(),h=[0];this.element.parents().each(function(){var b=a(this).css("z-index");"auto"!==b&&0!==Number(b)&&h.push(Number(b))});var i=Math.max.apply(Math,h)+this.o.zIndexOffset,j=this.component?this.component.parent().offset():this.element.offset(),k=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),l=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),m=j.left-g.left,n=j.top-g.top;"body"!==this.o.container&&(n+=f),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(m-=b-l)):j.left<0?(this.picker.addClass("datepicker-orient-left"),m-=j.left-10):m+b>e?(this.picker.addClass("datepicker-orient-right"),m+=l-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var o,p=this.o.orientation.y;if("auto"===p&&(o=-f+n-c,p=o<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?n-=c+parseInt(this.picker.css("padding-top")):n+=k,this.o.rtl){var q=e-(m+l);this.picker.css({top:n,right:q,zIndex:i})}else this.picker.css({top:n,left:m,zIndex:i});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="<tr>";for(this.o.calendarWeeks&&(c+='<th class="cw">&#160;</th>');b<this.o.weekStart+7;)c+='<th class="dow',-1!==a.inArray(b,this.o.daysOfWeekDisabled)&&(c+=" disabled"),c+='">'+q[this.o.language].daysMin[b++%7]+"</th>";c+="</tr>",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+='<span class="month'+a+'">'+q[this.o.language].monthsShort[d]+"</span>";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()<f||b.getUTCFullYear()===f&&b.getUTCMonth()<g?c.push("old"):(b.getUTCFullYear()>f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&b<this.range[this.range.length-1]&&c.push("range"),-1!==a.inArray(b.valueOf(),this.range)&&c.push("selected"),b.valueOf()===this.range[0]&&c.push("range-start"),b.valueOf()===this.range[this.range.length-1]&&c.push("range-end")),c},_fill_yearsView:function(c,d,e,f,g,h,i){for(var j,k,l,m="",n=e/10,o=this.picker.find(c),p=Math.floor(f/e)*e,q=p+9*n,r=Math.floor(this.viewDate.getFullYear()/n)*n,s=a.map(this.dates,function(a){return Math.floor(a.getUTCFullYear()/n)*n}),t=p-n;t<=q+n;t+=n)j=[d],k=null,t===p-n?j.push("old"):t===q+n&&j.push("new"),-1!==a.inArray(t,s)&&j.push("active"),(t<g||t>h)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),!1===l.enabled&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='<span class="'+j.join(" ")+'"'+(k?' title="'+k+'"':"")+">"+t+"</span>";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var e,f,g=new Date(this.viewDate),h=g.getUTCFullYear(),i=g.getUTCMonth(),j=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,k=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,m=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,n=q[this.o.language].today||q.en.today||"",o=q[this.o.language].clear||q.en.clear||"",p=q[this.o.language].titleFormat||q.en.titleFormat,s=d(),t=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&s>=this.o.startDate&&s<=this.o.endDate&&!this.weekOfDateIsDisabled(s);if(!isNaN(h)&&!isNaN(i)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g,p,this.o.language)),this.picker.find("tfoot .today").text(n).css("display",t?"table-cell":"none"),this.picker.find("tfoot .clear").text(o).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var u=c(h,i,0),v=u.getUTCDate();u.setUTCDate(v-(u.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(u);u.getUTCFullYear()<100&&w.setUTCFullYear(u.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var x,y,z=[];u.valueOf()<w;){if((x=u.getUTCDay())===this.o.weekStart&&(z.push("<tr>"),this.o.calendarWeeks)){var A=new Date(+u+(this.o.weekStart-x-7)%7*864e5),B=new Date(Number(A)+(11-A.getUTCDay())%7*864e5),C=new Date(Number(C=c(B.getUTCFullYear(),0,1))+(11-C.getUTCDay())%7*864e5),D=(B-C)/864e5/7+1;z.push('<td class="cw">'+D+"</td>")}y=this.getClassNames(u),y.push("day");var E=u.getUTCDate();this.o.beforeShowDay!==a.noop&&(f=this.o.beforeShowDay(this._utc_to_local(u)),f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&y.push("disabled"),f.classes&&(y=y.concat(f.classes.split(/\s+/))),f.tooltip&&(e=f.tooltip),f.content&&(E=f.content)),y=a.isFunction(a.uniqueSort)?a.uniqueSort(y):a.unique(y),z.push('<td class="'+y.join(" ")+'"'+(e?' title="'+e+'"':"")+' data-date="'+u.getTime().toString()+'">'+E+"</td>"),e=null,x===this.o.weekEnd&&z.push("</tr>"),u.setUTCDate(u.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(z.join(""));var F=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",G=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?F:h).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===h&&G.eq(b.getUTCMonth()).addClass("active")}),(h<j||h>l)&&G.addClass("disabled"),h===j&&G.slice(0,k).addClass("disabled"),h===l&&G.slice(m+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var H=this;a.each(G,function(c,d){var e=new Date(h,c,1),f=H.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1!==f.enabled||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,h,j,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,h,j,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,h,j,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,g=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>h;break;case 0:a=d<=f&&e<=g,b=d>=h&&e>=i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):!1===this.o.multidate?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j<i;j++)e=this.moveMonth(e,b);c=e.getUTCMonth(),e.setUTCDate(f),d=function(){return c!==e.getUTCMonth()}}for(;d();)e.setUTCDate(--f),e.setUTCMonth(c);return e},moveYear:function(a,b){return this.moveMonth(a,12*b)},moveAvailableDate:function(a,b,c){do{if(a=this[c](a,b),!this.dateWithinRange(a))return!1;c="moveDay"}while(this.dateIsDisabled(a));return a},weekOfDateIsDisabled:function(b){return-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(b){return this.weekOfDateIsDisabled(b)||a.grep(this.o.datesDisabled,function(a){return e(b,a)}).length>0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"))&&this._trigger("changeYear",this.viewDate):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(-1!==g){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e<this.dates[h])for(;h>=0&&e<this.dates[h];)this.pickers[h--].setUTCDate(e);else if(e>this.dates[i])for(;i<j&&e>this.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return!0===b&&(b=10),a<100&&(a+=2e3)>(new Date).getFullYear()+b&&(a-=100),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n<j.length;n++)l=j[n].match(/([\-+]\d+)([dmwy])/i),m=Number(l[1]),o=p[l[2].toLowerCase()],c=k.prototype[o](c,m);return k.prototype._zero_utc_time(c)}j=c&&c.match(this.nonpunctuation)||[];var t,u,v={},w=["yyyy","yy","M","MM","m","mm","d","dd"],x={yyyy:function(a,b){return a.setUTCFullYear(g?h(b,g):b)},m:function(a,b){if(isNaN(a))return a;for(b-=1;b<0;)b+=12;for(b%=12,a.setUTCMonth(b);a.getUTCMonth()!==b;)a.setUTCDate(a.getUTCDate()-1);return a},d:function(a,b){return a.setUTCDate(b)}};x.yy=x.yyyy,x.M=x.MM=x.mm=x.m,x.dd=x.d,c=d();var y=e.parts.slice();if(j.length!==y.length&&(y=a(y).filter(function(b,c){return-1!==a.inArray(c,w)}).toArray()),j.length===y.length){var z;for(n=0,z=y.length;n<z;n++){if(t=parseInt(j[n],10),l=y[n],isNaN(t))switch(l){case"MM":u=a(q[f].months).filter(i),t=a.inArray(u[0],q[f].months)+1;break;case"M":u=a(q[f].monthsShort).filter(i),t=a.inArray(u[0],q[f].monthsShort)+1}v[l]=t}var A,B;for(n=0;n<w.length;n++)(B=w[n])in v&&!isNaN(v[B])&&(A=new Date(c),x[B](A,v[B]),isNaN(A)||(c=A))}return c},formatDate:function(b,c,d){if(!b)return"";if("string"==typeof c&&(c=r.parseFormat(c)),c.toDisplay)return c.toDisplay(b,c,d);var e={d:b.getUTCDate(),D:q[d].daysShort[b.getUTCDay()],DD:q[d].days[b.getUTCDay()],m:b.getUTCMonth()+1,M:q[d].monthsShort[b.getUTCMonth()],MM:q[d].months[b.getUTCMonth()],yy:b.getUTCFullYear().toString().substring(2),yyyy:b.getUTCFullYear()};e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,b=[];for(var f=a.extend([],c.separators),g=0,h=c.parts.length;g<=h;g++)f.length&&b.push(f.shift()),b.push(e[c.parts[g]]);return b.join("")},
headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+o.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+o.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};r.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+r.headTemplate+"<tbody></tbody>"+r.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+"</table></div></div>",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.9.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})});;
/*!
 * 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.OktaAuth=t():e.OktaAuth=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=11)}([function(e,t){var n=e.exports;n.stringToBase64Url=function(e){var t=btoa(e);return n.base64ToBase64Url(t)},n.base64ToBase64Url=function(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},n.base64UrlToBase64=function(e){return e.replace(/-/g,"+").replace(/_/g,"/")},n.base64UrlToString=function(e){var t=n.base64UrlToBase64(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Not a valid Base64Url"}var r=atob(t);try{return decodeURIComponent(escape(r))}catch(e){return r}},n.stringToBuffer=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},n.base64UrlDecode=function(e){return atob(n.base64UrlToBase64(e))},n.bind=function(e,t){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return r=n.concat(r),e.apply(t,r)}},n.isAbsoluteUrl=function(e){return/^(?:[a-z]+:)?\/\//i.test(e)},n.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},n.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},n.isNumber=function(e){return"[object Number]"===Object.prototype.toString.call(e)},n.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},n.isoToUTCString=function(e){var t=e.match(/\d+/g),n=Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]);return new Date(n).toUTCString()},n.toQueryParams=function(e){var t=[];if(null!==e)for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&null!==e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.length?"?"+t.join("&"):""},n.genRandomString=function(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,o=t.length;r<e;++r)n+=t[Math.floor(Math.random()*o)];return n},n.extend=function(){var e=arguments[0];return[].slice.call(arguments,1).forEach(function(t){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&(e[n]=t[n])}),e},n.removeNils=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!==r&&void 0!==r&&(t[n]=r)}return t},n.clone=function(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e},n.omit=function(e){var t=Array.prototype.slice.call(arguments,1),r={};for(var o in e)e.hasOwnProperty(o)&&-1==t.indexOf(o)&&(r[o]=e[o]);return n.clone(r)},n.find=function(e,t){for(var n=e.length;n--;){var r=e[n],o=!0;for(var i in t)if(t.hasOwnProperty(i)&&r[i]!==t[i]){o=!1;break}if(o)return r}},n.getLink=function(e,t,r){if(e&&e._links){var o=n.clone(e._links[t]);return o&&o.name&&r?o.name===r?o:void 0:o}},n.getNativeConsole=function(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0},n.getConsole=function(){var e=n.getNativeConsole();return e&&e.log?e:{log:function(){}}},n.warn=function(e){n.getConsole().log("[okta-auth-sdk] WARN: "+e)},n.deprecate=function(e){n.getConsole().log("[okta-auth-sdk] DEPRECATION: "+e)},n.deprecateWrap=function(e,t){return function(){return n.deprecate(e),t.apply(null,arguments)}},n.removeTrailingSlash=function(e){if(e){var t=e.replace(/^\s+|\s+$/gm,"");return"/"===t.slice(-1)?t.slice(0,-1):t}},n.isIE11OrLess=function(){return!!document.documentMode&&document.documentMode<=11},n.isFunction=function(e){return!!e&&"[object Function]"==={}.toString.call(e)}},function(e,t){function n(e,t){this.name="AuthSdkError",this.message=e,this.errorCode="INTERNAL",this.errorSummary=e,this.errorLink="INTERNAL",this.errorId="INTERNAL",this.errorCauses=[],t&&(this.xhr=t)}n.prototype=new Error,e.exports=n},function(e,t){e.exports={STATE_TOKEN_KEY_NAME:"oktaStateToken",DEFAULT_POLLING_DELAY:500,DEFAULT_MAX_CLOCK_SKEW:300,DEFAULT_CACHE_DURATION:86400,FRAME_ID:"okta-oauth-helper-frame",REDIRECT_OAUTH_PARAMS_COOKIE_NAME:"okta-oauth-redirect-params",REDIRECT_STATE_COOKIE_NAME:"okta-oauth-state",REDIRECT_NONCE_COOKIE_NAME:"okta-oauth-nonce",TOKEN_STORAGE_NAME:"okta-token-storage",CACHE_STORAGE_NAME:"okta-cache-storage",PKCE_STORAGE_NAME:"okta-pkce-storage",SDK_VERSION:"2.8.0"}},function(e,t,n){function r(e,t){t=t||{};var n=t.url,r=t.method,o=t.args,i=t.saveAuthnState,f=t.accessToken,p=!1!==t.withCredentials,l=e.options.storageUtil,d=l.storage,h=l.getHttpCache();if(t.cacheResponse){var y=h.getStorage(),g=y[n];if(g&&Date.now()/1e3<g.expiresAt)return a.resolve(g.response)}var v={Accept:"application/json","Content-Type":"application/json","X-Okta-User-Agent-Extended":e.userAgent};s.extend(v,e.options.headers,t.headers),f&&s.isString(f)&&(v.Authorization="Bearer "+f);var m,w,T={headers:v,data:o||void 0,withCredentials:p};return new a(e.options.httpRequestClient(r,n,T)).then(function(e){return w=e.responseText,w&&s.isString(w)&&(w=JSON.parse(w)),i&&(w.stateToken||d.delete(c.STATE_TOKEN_KEY_NAME)),w&&w.stateToken&&w.expiresAt&&d.set(c.STATE_TOKEN_KEY_NAME,w.stateToken,w.expiresAt),w&&t.cacheResponse&&h.updateStorage(n,{expiresAt:Math.floor(Date.now()/1e3)+c.DEFAULT_CACHE_DURATION,response:w}),w}).fail(function(t){var n=t.responseText||{};if(s.isString(n))try{n=JSON.parse(n)}catch(e){n={errorSummary:"Unknown error"}}throw t.status>=500&&(n.errorSummary="Unknown error"),e.options.transformErrorXHR&&(t=e.options.transformErrorXHR(s.clone(t))),m=new u(n,t),"E0000011"===m.errorCode&&d.delete(c.STATE_TOKEN_KEY_NAME),m})}function o(e,t,n){t=s.isAbsoluteUrl(t)?t:e.options.url+t;var o={url:t,method:"GET"};return s.extend(o,n),r(e,o)}function i(e,t,n,o){t=s.isAbsoluteUrl(t)?t:e.options.url+t;var i={url:t,method:"POST",args:n,saveAuthnState:!0};return s.extend(i,o),r(e,i)}var s=n(0),a=n(5),u=n(21),c=n(2);e.exports={get:o,post:i,httpRequest:r}},function(e,t,n){var r=n(14),o=n(6),i=n(2),s={};s.browserHasLocalStorage=function(){try{var e=s.getLocalStorage();return s.testStorage(e)}catch(e){return!1}},s.browserHasSessionStorage=function(){try{var e=s.getSessionStorage();return s.testStorage(e)}catch(e){return!1}},s.getPKCEStorage=function(){return s.browserHasLocalStorage()?o(s.getLocalStorage(),i.PKCE_STORAGE_NAME):s.browserHasSessionStorage()?o(s.getSessionStorage(),i.PKCE_STORAGE_NAME):o(s.getCookieStorage(),i.PKCE_STORAGE_NAME)},s.getHttpCache=function(){return s.browserHasLocalStorage()?o(s.getLocalStorage(),i.CACHE_STORAGE_NAME):s.browserHasSessionStorage()?o(s.getSessionStorage(),i.CACHE_STORAGE_NAME):o(s.getCookieStorage(),i.CACHE_STORAGE_NAME)},s.getLocalStorage=function(){return localStorage},s.getSessionStorage=function(){return sessionStorage},s.getCookieStorage=function(e){return e=e||{},{getItem:s.storage.get,setItem:function(t,n){s.storage.set(t,n,"2200-01-01T00:00:00.000Z",e.secure)}}},s.testStorage=function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},s.storage={set:function(e,t,n,o){var i={path:"/",secure:o};return Date.parse(n)&&(i.expires=new Date(n)),r.set(e,t,i),s.storage.get(e)},get:function(e){return r.get(e)},delete:function(e){return r.remove(e,{path:"/"})}},e.exports=s},function(e,t,n){(function(t,n){/*!
 *
 * Copyright 2009-2012 Kris Kowal under the terms of the MIT
 * license found at http://github.com/kriskowal/q/raw/master/LICENSE
 *
 * With parts by Tyler Close
 * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
 * at http://www.opensource.org/licenses/mit-license.html
 * Forked at ref_send.js version: 2009-05-11
 *
 * With parts by Mark Miller
 * Copyright (C) 2011 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
!function(t){"use strict";if("function"==typeof bootstrap)bootstrap("promise",t);else{e.exports=t()}}(function(){"use strict";function e(e){return function(){return J.apply(e,arguments)}}function r(e){return e===Object(e)}function o(e){return"[object StopIteration]"===ne(e)||e instanceof z}function i(e,t){if(H&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(re)){for(var n=[],r=t;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(e.stack);var o=n.join("\n"+re+"\n");e.stack=s(o)}}function s(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;++r){var o=t[r];c(o)||a(o)||!o||n.push(o)}return n.join("\n")}function a(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function u(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 c(e){var t=u(e);if(!t)return!1;var n=t[0],r=t[1];return n===q&&r>=W&&r<=ue}function f(){if(H)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=e[0].indexOf("@")>0?e[1]:e[2],n=u(t);if(!n)return;return q=n[0],n[1]}}function p(e){return e instanceof y?e:w(e)?O(e):x(e)}function l(){function e(e){t=e,i.source=e,X(n,function(t,n){p.nextTick(function(){e.promiseDispatch.apply(e,n)})},void 0),n=void 0,r=void 0}var t,n=[],r=[],o=Z(l.prototype),i=Z(y.prototype);if(i.promiseDispatch=function(e,o,i){var s=Q(arguments);n?(n.push(s),"when"===o&&i[1]&&r.push(i[1])):p.nextTick(function(){t.promiseDispatch.apply(t,s)})},i.valueOf=function(){if(n)return i;var e=v(t);return m(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},p.longStackSupport&&H)try{throw new Error}catch(e){i.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return o.promise=i,o.resolve=function(n){t||e(p(n))},o.fulfill=function(n){t||e(x(n))},o.reject=function(n){t||e(_(n))},o.notify=function(e){t||X(r,function(t,n){p.nextTick(function(){n(e)})},void 0)},o}function d(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=l();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function h(e){return d(function(t,n){for(var r=0,o=e.length;r<o;r++)p(e[r]).then(t,n)})}function y(e,t,n){void 0===t&&(t=function(e){return _(new Error("Promise does not support operation: "+e))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=Z(y.prototype);if(r.promiseDispatch=function(n,o,i){var s;try{s=e[o]?e[o].apply(r,i):t.call(r,o,i)}catch(e){s=_(e)}n&&n(s)},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 g(e,t,n,r){return p(e).then(t,n,r)}function v(e){if(m(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function m(e){return e instanceof y}function w(e){return r(e)&&"function"==typeof e.then}function T(e){return m(e)&&"pending"===e.inspect().state}function k(e){return!m(e)||"fulfilled"===e.inspect().state}function b(e){return m(e)&&"rejected"===e.inspect().state}function E(){oe.length=0,ie.length=0,ae||(ae=!0)}function A(e,n){ae&&("object"==typeof t&&"function"==typeof t.emit&&p.nextTick.runAfter(function(){-1!==Y(ie,e)&&(t.emit("unhandledRejection",n,e),se.push(e))}),ie.push(e),n&&void 0!==n.stack?oe.push(n.stack):oe.push("(no stack) "+n))}function S(e){if(ae){var n=Y(ie,e);-1!==n&&("object"==typeof t&&"function"==typeof t.emit&&p.nextTick.runAfter(function(){var r=Y(se,e);-1!==r&&(t.emit("rejectionHandled",oe[n],e),se.splice(r,1))}),ie.splice(n,1),oe.splice(n,1))}}function _(e){var t=y({when:function(t){return t&&S(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return A(t,e),t}function x(e){return y({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},delete:function(t){delete e[t]},post:function(t,n){return null===t||void 0===t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return te(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function O(e){var t=l();return p.nextTick(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}function C(e){return y({isDef:function(){}},function(t,n){return N(e,t,n)},function(){return p(e).inspect()})}function U(e,t,n){return p(e).spread(t,n)}function R(e){return function(){function t(e,t){var s;if("undefined"==typeof StopIteration){try{s=n[e](t)}catch(e){return _(e)}return s.done?p(s.value):g(s.value,r,i)}try{s=n[e](t)}catch(e){return o(e)?p(e.value):_(e)}return g(s,r,i)}var n=e.apply(this,arguments),r=t.bind(t,"next"),i=t.bind(t,"throw");return r()}}function j(e){p.done(p.async(e)())}function P(e){throw new z(e)}function I(e){return function(){return U([this,M(arguments)],function(t,n){return e.apply(t,n)})}}function N(e,t,n){return p(e).dispatch(t,n)}function M(e){return g(e,function(e){var t=0,n=l();return X(e,function(r,o,i){var s;m(o)&&"fulfilled"===(s=o.inspect()).state?e[i]=s.value:(++t,g(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 D(e){if(0===e.length)return p.resolve();var t=p.defer(),n=0;return X(e,function(r,o,i){function s(e){t.resolve(e)}function a(){0===--n&&t.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}function u(e){t.notify({index:i,value:e})}var c=e[i];n++,g(c,s,a,u)},void 0),t.promise}function L(e){return g(e,function(e){return e=$(e,p),g(M($(e,function(e){return g(e,G,G)})),function(){return e})})}function F(e){return p(e).allSettled()}function B(e,t){return p(e).then(void 0,void 0,t)}function K(e,t){return p(e).nodeify(t)}var H=!1;try{throw new Error}catch(e){H=!!e.stack}var q,z,W=f(),G=function(){},V=function(){function e(){for(var e,t;o.next;)o=o.next,e=o.task,o.task=void 0,t=o.domain,t&&(o.domain=void 0,t.enter()),r(e,t);for(;c.length;)e=c.pop(),r(e);s=!1}function r(t,n){try{t()}catch(t){if(u)throw n&&n.exit(),setTimeout(e,0),n&&n.enter(),t;setTimeout(function(){throw t},0)}n&&n.exit()}var o={task:void 0,next:null},i=o,s=!1,a=void 0,u=!1,c=[];if(V=function(e){i=i.next={task:e,domain:u&&t.domain,next:null},s||(s=!0,a())},"object"==typeof t&&"[object process]"===t.toString()&&t.nextTick)u=!0,a=function(){t.nextTick(e)};else if("function"==typeof n)a="undefined"!=typeof window?n.bind(window,e):function(){n(e)};else if("undefined"!=typeof MessageChannel){var f=new MessageChannel;f.port1.onmessage=function(){a=p,f.port1.onmessage=e,e()};var p=function(){f.port2.postMessage(0)};a=function(){setTimeout(e,0),p()}}else a=function(){setTimeout(e,0)};return V.runAfter=function(e){c.push(e),s||(s=!0,a())},V}(),J=Function.call,Q=e(Array.prototype.slice),X=e(Array.prototype.reduce||function(e,t){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){t=this[n++];break}if(++n>=r)throw new TypeError}for(;n<r;n++)n in this&&(t=e(t,this[n],n));return t}),Y=e(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),$=e(Array.prototype.map||function(e,t){var n=this,r=[];return X(n,function(o,i,s){r.push(e.call(t,i,s,n))},void 0),r}),Z=Object.create||function(e){function t(){}return t.prototype=e,new t},ee=e(Object.prototype.hasOwnProperty),te=Object.keys||function(e){var t=[];for(var n in e)ee(e,n)&&t.push(n);return t},ne=e(Object.prototype.toString);z="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var re="From previous event:";p.resolve=p,p.nextTick=V,p.longStackSupport=!1,"object"==typeof t&&t&&t.env&&t.env.Q_DEBUG&&(p.longStackSupport=!0),p.defer=l,l.prototype.makeNodeResolver=function(){var e=this;return function(t,n){t?e.reject(t):arguments.length>2?e.resolve(Q(arguments,1)):e.resolve(n)}},p.Promise=d,p.promise=d,d.race=h,d.all=M,d.reject=_,d.resolve=p,p.passByCopy=function(e){return e},y.prototype.passByCopy=function(){return this},p.join=function(e,t){return p(e).join(t)},y.prototype.join=function(e){return p([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},p.race=h,y.prototype.race=function(){return this.then(p.race)},p.makePromise=y,y.prototype.toString=function(){return"[object Promise]"},y.prototype.then=function(e,t,n){function r(t){try{return"function"==typeof e?e(t):t}catch(e){return _(e)}}function o(e){if("function"==typeof t){i(e,a);try{return t(e)}catch(e){return _(e)}}return _(e)}function s(e){return"function"==typeof n?n(e):e}var a=this,u=l(),c=!1;return p.nextTick(function(){a.promiseDispatch(function(e){c||(c=!0,u.resolve(r(e)))},"when",[function(e){c||(c=!0,u.resolve(o(e)))}])}),a.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=s(e)}catch(e){if(n=!0,!p.onerror)throw e;p.onerror(e)}n||u.notify(t)}]),u.promise},p.tap=function(e,t){return p(e).tap(t)},y.prototype.tap=function(e){return e=p(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},p.when=g,y.prototype.thenResolve=function(e){return this.then(function(){return e})},p.thenResolve=function(e,t){return p(e).thenResolve(t)},y.prototype.thenReject=function(e){return this.then(function(){throw e})},p.thenReject=function(e,t){return p(e).thenReject(t)},p.nearer=v,p.isPromise=m,p.isPromiseAlike=w,p.isPending=T,y.prototype.isPending=function(){return"pending"===this.inspect().state},p.isFulfilled=k,y.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},p.isRejected=b,y.prototype.isRejected=function(){return"rejected"===this.inspect().state};var oe=[],ie=[],se=[],ae=!0;p.resetUnhandledRejections=E,p.getUnhandledReasons=function(){return oe.slice()},p.stopUnhandledRejectionTracking=function(){E(),ae=!1},E(),p.reject=_,p.fulfill=x,p.master=C,p.spread=U,y.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},p.async=R,p.spawn=j,p.return=P,p.promised=I,p.dispatch=N,y.prototype.dispatch=function(e,t){var n=this,r=l();return p.nextTick(function(){n.promiseDispatch(r.resolve,e,t)}),r.promise},p.get=function(e,t){return p(e).dispatch("get",[t])},y.prototype.get=function(e){return this.dispatch("get",[e])},p.set=function(e,t,n){return p(e).dispatch("set",[t,n])},y.prototype.set=function(e,t){return this.dispatch("set",[e,t])},p.del=p.delete=function(e,t){return p(e).dispatch("delete",[t])},y.prototype.del=y.prototype.delete=function(e){return this.dispatch("delete",[e])},p.mapply=p.post=function(e,t,n){return p(e).dispatch("post",[t,n])},y.prototype.mapply=y.prototype.post=function(e,t){return this.dispatch("post",[e,t])},p.send=p.mcall=p.invoke=function(e,t){return p(e).dispatch("post",[t,Q(arguments,2)])},y.prototype.send=y.prototype.mcall=y.prototype.invoke=function(e){return this.dispatch("post",[e,Q(arguments,1)])},p.fapply=function(e,t){return p(e).dispatch("apply",[void 0,t])},y.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},p.try=p.fcall=function(e){return p(e).dispatch("apply",[void 0,Q(arguments,1)])},y.prototype.fcall=function(){return this.dispatch("apply",[void 0,Q(arguments)])},p.fbind=function(e){var t=p(e),n=Q(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(Q(arguments))])}},y.prototype.fbind=function(){var e=this,t=Q(arguments);return function(){return e.dispatch("apply",[this,t.concat(Q(arguments))])}},p.keys=function(e){return p(e).dispatch("keys",[])},y.prototype.keys=function(){return this.dispatch("keys",[])},p.all=M,y.prototype.all=function(){return M(this)},p.any=D,y.prototype.any=function(){return D(this)},p.allResolved=function(e,t,n){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+n+" instead.",new Error("").stack),e.apply(e,arguments)}}(L,"allResolved","allSettled"),y.prototype.allResolved=function(){return L(this)},p.allSettled=F,y.prototype.allSettled=function(){return this.then(function(e){return M($(e,function(e){function t(){return e.inspect()}return e=p(e),e.then(t,t)}))})},p.fail=p.catch=function(e,t){return p(e).then(void 0,t)},y.prototype.fail=y.prototype.catch=function(e){return this.then(void 0,e)},p.progress=B,y.prototype.progress=function(e){return this.then(void 0,void 0,e)},p.fin=p.finally=function(e,t){return p(e).finally(t)},y.prototype.fin=y.prototype.finally=function(e){return e=p(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},p.done=function(e,t,n,r){return p(e).done(t,n,r)},y.prototype.done=function(e,n,r){var o=function(e){p.nextTick(function(){if(i(e,s),!p.onerror)throw e;p.onerror(e)})},s=e||n||r?this.then(e,n,r):this;"object"==typeof t&&t&&t.domain&&(o=t.domain.bind(o)),s.then(void 0,o)},p.timeout=function(e,t,n){return p(e).timeout(t,n)},y.prototype.timeout=function(e,t){var n=l(),r=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),n.reject(t)},e);return this.then(function(e){clearTimeout(r),n.resolve(e)},function(e){clearTimeout(r),n.reject(e)},n.notify),n.promise},p.delay=function(e,t){return void 0===t&&(t=e,e=void 0),p(e).delay(t)},y.prototype.delay=function(e){return this.then(function(t){var n=l();return setTimeout(function(){n.resolve(t)},e),n.promise})},p.nfapply=function(e,t){return p(e).nfapply(t)},y.prototype.nfapply=function(e){var t=l(),n=Q(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},p.nfcall=function(e){var t=Q(arguments,1);return p(e).nfapply(t)},y.prototype.nfcall=function(){var e=Q(arguments),t=l();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},p.nfbind=p.denodeify=function(e){var t=Q(arguments,1);return function(){var n=t.concat(Q(arguments)),r=l();return n.push(r.makeNodeResolver()),p(e).fapply(n).fail(r.reject),r.promise}},y.prototype.nfbind=y.prototype.denodeify=function(){var e=Q(arguments);return e.unshift(this),p.denodeify.apply(void 0,e)},p.nbind=function(e,t){var n=Q(arguments,2);return function(){function r(){return e.apply(t,arguments)}var o=n.concat(Q(arguments)),i=l();return o.push(i.makeNodeResolver()),p(r).fapply(o).fail(i.reject),i.promise}},y.prototype.nbind=function(){var e=Q(arguments,0);return e.unshift(this),p.nbind.apply(void 0,e)},p.nmapply=p.npost=function(e,t,n){return p(e).npost(t,n)},y.prototype.nmapply=y.prototype.npost=function(e,t){var n=Q(t||[]),r=l();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},p.nsend=p.nmcall=p.ninvoke=function(e,t){var n=Q(arguments,2),r=l();return n.push(r.makeNodeResolver()),p(e).dispatch("post",[t,n]).fail(r.reject),r.promise},y.prototype.nsend=y.prototype.nmcall=y.prototype.ninvoke=function(e){var t=Q(arguments,1),n=l();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},p.nodeify=K,y.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){p.nextTick(function(){e(null,t)})},function(t){p.nextTick(function(){e(t)})})},p.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var ue=f();return p})}).call(t,n(8),n(19).setImmediate)},function(e,t,n){function r(e,t){function n(){var n=e.getItem(t);n=n||"{}";try{return JSON.parse(n)}catch(e){throw new o("Unable to parse storage string: "+t)}}function r(n){try{var r=JSON.stringify(n);e.setItem(t,r)}catch(e){throw new o("Unable to set storage: "+t)}}function i(e){e||r({});var t=n();delete t[e],r(t)}function s(e,t){var o=n();o[e]=t,r(o)}if("string"!=typeof t||!t.length)throw new o('"storageName" is required');return{getStorage:n,setStorage:r,clearStorage:i,updateStorage:s}}var o=n(1);e.exports=r},function(e,t,n){function r(e,t){var n={};return v.extend(n,t),!n.stateToken&&e.stateToken&&(n.stateToken=e.stateToken),n}function o(e){return r(e)}function i(e,t){return t=r(e,t),g.post(e,e.options.url+"/api/v1/authn",t)}function s(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(k.STATE_TOKEN_KEY_NAME);if(!n)return m.reject(new w("No transaction to resume"));t={stateToken:n}}return e.tx.status(t).then(function(t){return new y(e,t)})}function a(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(k.STATE_TOKEN_KEY_NAME);if(!n)return m.reject(new w("No transaction to evaluate"));t={stateToken:n}}return u(e,t).then(function(t){return new y(e,t)})}function u(e,t){return t=r(e,t),g.post(e,e.options.url+"/idp/idx/introspect",t)}function c(e){return!!e.tx.exists._get(k.STATE_TOKEN_KEY_NAME)}function f(e,t,n,r){return g.post(e,t,n,r).then(function(t){return new y(e,t)})}function p(e,t,n){return function(r){function i(){var n={};if("function"==typeof u)try{n.autoPush=!!u()}catch(e){return m.reject(new w("AutoPush resulted in an error."))}else void 0!==u&&null!==u&&(n.autoPush=!!u);if("function"==typeof a)try{n.rememberDevice=!!a()}catch(e){return m.reject(new w("RememberDevice resulted in an error."))}else void 0!==a&&null!==a&&(n.rememberDevice=!!a);var r=c.href+v.toQueryParams(n);return g.post(e,r,o(t),{saveAuthnState:!1})}var s,a,u;v.isNumber(r)?s=r:v.isObject(r)&&(s=r.delay,a=r.rememberDevice,u=r.autoPush),s||0===s||(s=k.DEFAULT_POLLING_DELAY);var c=v.getLink(t,"next","poll");n.isPolling=!0;var f=0,p=function(){return n.isPolling?i().then(function(t){if(f=0,t.factorResult&&"WAITING"===t.factorResult){if(!n.isPolling)throw new T;return m.delay(s).then(p)}return n.isPolling=!1,new y(e,t)}).fail(function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&f<=4){var t=1e3*Math.pow(2,f);return f++,m.delay(t).then(p)}throw e}):m.reject(new T)};return p().fail(function(e){throw n.isPolling=!1,e})}}function l(e,t,n,o,i){if(Array.isArray(o))return function(r,s){if(!r)throw new w("Must provide a link name");var a=v.find(o,{name:r});if(!a)throw new w("No link found for that name");return l(e,t,n,a,i)(s)};if(o.hints&&o.hints.allow&&1===o.hints.allow.length){switch(o.hints.allow[0]){case"GET":return function(){return g.get(e,o.href)};case"POST":return function(s){i&&i.isPolling&&(i.isPolling=!1);var a=r(t,s);"MFA_ENROLL"!==t.status&&"FACTOR_ENROLL"!==t.status||v.extend(a,{factorType:n.factorType,provider:n.provider});var u={},c=a.autoPush;if(void 0!==c){if("function"==typeof c)try{u.autoPush=!!c()}catch(e){return m.reject(new w("AutoPush resulted in an error."))}else null!==c&&(u.autoPush=!!c);a=v.omit(a,"autoPush")}var p=a.rememberDevice;if(void 0!==p){if("function"==typeof p)try{u.rememberDevice=!!p()}catch(e){return m.reject(new w("RememberDevice resulted in an error."))}else null!==p&&(u.rememberDevice=!!p);a=v.omit(a,"rememberDevice")}else a.profile&&void 0!==a.profile.updatePhone&&(a.profile.updatePhone&&(u.updatePhone=!0),a.profile=v.omit(a.profile,"updatePhone"));var l=o.href+v.toQueryParams(u);return f(e,l,a)}}}}function d(e,t,n,r){var o={};for(var i in n._links)if(n._links.hasOwnProperty(i)){var s=n._links[i];if("next"===i&&(i=s.name),s.type)o[i]=s;else switch(i){case"poll":o.poll=p(e,t,r);break;default:var a=l(e,t,n,s,r);a&&(o[i]=a)}}return o}function h(e,t,n,r){if(n=n||t,n=v.clone(n),Array.isArray(n)){for(var o=[],i=0,s=n.length;i<s;i++)o.push(h(e,t,n[i],r));return o}var a=n._embedded||{};for(var u in a)a.hasOwnProperty(u)&&(v.isObject(a[u])||Array.isArray(a[u]))&&(a[u]=h(e,t,a[u],r));var c=d(e,t,n,r);return v.extend(a,c),n=v.omit(n,"_embedded","_links"),v.extend(n,a),n}function y(e,t){t&&(this.data=t,v.extend(this,h(e,t,t,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==t.status||t._links||(this.cancel=function(){return new m(new y(e))}))}var g=n(3),v=n(0),m=n(5),w=n(1),T=n(22),k=n(2);e.exports={transactionStatus:i,resumeTransaction:s,transactionExists:c,postToTransaction:f,introspect:a}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){y&&d&&(y=!1,d.length?h=d.concat(h):g=-1,h.length&&a())}function a(){if(!y){var e=o(s);y=!0;for(var t=h.length;t;){for(d=h,h=[];++g<t;)d&&d[g].run();g=-1,t=h.length}d=null,y=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var f,p,l=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var d,h=[],y=!1,g=-1;l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||y||o(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=c,l.addListener=c,l.once=c,l.off=c,l.removeListener=c,l.removeAllListeners=c,l.emit=c,l.prependListener=c,l.prependOnceListener=c,l.listeners=function(e){return[]},l.binding=function(e){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(){return g.genRandomString(64)}function o(){return g.genRandomString(64)}function i(e){return!(!e||!e.accessToken&&!e.idToken||!Array.isArray(e.scopes))}function s(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function a(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function u(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)}function c(e,t){var n=t.popupTitle||"External Identity Provider User Authentication",r="toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600";if(g.isIE11OrLess()){var o=window.open("/",n,r);return o.location.href=e,o}return window.open(e,n,r)}function f(e,t){return y.get(e,(t||e.options.url)+"/.well-known/openid-configuration",{cacheResponse:!0})}function p(e,t,n){return f(e,t).then(function(t){var r=t.jwks_uri,o=w.getStorage(),i=o[r];if(i&&Date.now()/1e3<i.expiresAt){var s=g.find(i.response.keys,{kid:n});if(s)return s}return w.clearStorage(r),y.get(e,r,{cacheResponse:!0}).then(function(e){var t=g.find(e.keys,{kid:n});if(t)return t;throw new m("The key id, "+n+", was not found in the server's keys")})})}function l(e,t,n){var r=n.clientId,o=n.issuer,i=n.nonce;if(!t||!o||!r)throw new m("The jwt, iss, and aud arguments are all required");if(i&&t.nonce!==i)throw new m("OAuth flow response nonce doesn't match request nonce");var s=Math.floor(Date.now()/1e3);if(t.iss!==o)throw new m("The issuer ["+t.iss+"] does not match ["+o+"]");if(t.aud!==r)throw new m("The audience ["+t.aud+"] does not match ["+r+"]");if(t.iat>t.exp)throw new m("The JWT expired before it was issued");if(s-e.options.maxClockSkew>t.exp)throw new m("The JWT expired and is no longer valid");if(t.iat>s+e.options.maxClockSkew)throw new m("The JWT was issued in the future")}function d(e,t,n){n=n||{};var r=g.removeTrailingSlash(n.authorizeUrl)||e.options.authorizeUrl,o=g.removeTrailingSlash(n.issuer)||e.options.issuer,i=g.removeTrailingSlash(n.userinfoUrl)||e.options.userinfoUrl,s=g.removeTrailingSlash(n.tokenUrl)||e.options.tokenUrl;if(o&&!/^https?:/.test(o)&&(o=e.options.url+"/oauth2/"+o),!o&&r&&-1!==t.responseType.indexOf("id_token"))throw new m("Cannot request idToken with an authorizeUrl without an issuer");if(!o&&-1!==t.responseType.indexOf("token")){if(r&&!i)throw new m("Cannot request accessToken with an authorizeUrl without an issuer or userinfoUrl");if(i&&!r)throw new m("Cannot request token with an userinfoUrl without an issuer or authorizeUrl")}var a=new RegExp("^https?://.*?/oauth2/.+");return o=o||e.options.url,a.test(o)?(r=r||o+"/v1/authorize",i=i||o+"/v1/userinfo",s=s||o+"/v1/token"):(r=r||o+"/oauth2/v1/authorize",i=i||o+"/oauth2/v1/userinfo",s=s||o+"/oauth2/v1/token"),{issuer:o,authorizeUrl:r,userinfoUrl:i,tokenUrl:s}}function h(e){for(var t,n=/\+/g,r=/([^&=]+)=?([^&]*)/g,o=e.substring(1),i={};;){if(!(t=r.exec(o)))break;var s=t[1],a=t[2];i[s]="id_token"===s||"access_token"===s||"code"===s?a:decodeURIComponent(a.replace(n," "))}return i}var y=n(3),g=n(0),v=n(4),m=n(1),w=v.getHttpCache();e.exports={generateState:r,generateNonce:o,getWellKnown:f,getKey:p,validateClaims:l,getOAuthUrls:d,loadFrame:u,loadPopup:c,hashToObject:h,isToken:i,addListener:s,removeListener:a}},function(e,t,n){var r=n(12),o=n(4);e.exports=n(15)(o,r)},function(e,t,n){function r(e,t,n){var r=n.data,i=n.headers||{};return"application/json"===(i["Content-Type"]||i["content-type"]||"")&&r&&"string"!=typeof r&&(r=JSON.stringify(r)),o(t,{method:e,headers:n.headers,body:r,credentials:!1===n.withCredentials?"omit":"include"}).then(function(e){var t=!e.ok,n=e.status,r=function(e){var r={responseText:e,status:n};if(t)throw r;return r};return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().then(r):e.text().then(r)})}var o=n(13);e.exports=r},function(e,t){var n=function(e){function t(){this.fetch=!1}return t.prototype=e,new t}("undefined"!=typeof self?self:this);!function(e){!function(t){function n(e){return e&&DataView.prototype.isPrototypeOf(e)}function r(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function i(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return T.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function a(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function c(e){var t=new FileReader,n=u(t);return t.readAsArrayBuffer(e),n}function f(e){var t=new FileReader,n=u(t);return t.readAsText(e),n}function p(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:T.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:T.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:T.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():T.arrayBuffer&&T.blob&&n(e)?(this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):T.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||b(e))?this._bodyArrayBuffer=l(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):T.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},T.blob&&(this.blob=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return f(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(p(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},T.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function y(e,t){t=t||{};var n=t.body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function v(e){var t=new s;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function m(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 s(t.headers),this.url=t.url||"",this._initBody(e)}function w(e,n){return new Promise(function(r,o){function i(){a.abort()}var s=new y(e,n);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:v(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;r(new m(t,e))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&T.blob&&(a.responseType="blob"),s.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",i),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",i)}),a.send(void 0===s._bodyInit?null:s._bodyInit)})}var T={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(T.arrayBuffer)var k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=ArrayBuffer.isView||function(e){return e&&k.indexOf(Object.prototype.toString.call(e))>-1};s.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[r(e)]},s.prototype.get=function(e){return e=r(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},s.prototype.set=function(e,t){this.map[r(e)]=o(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),i(e)},s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),i(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),i(e)},T.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var A=[301,302,303,307,308];m.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new m(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}w.polyfill=!0,e.fetch||(e.fetch=w,e.Headers=s,e.Request=y,e.Response=m),t.Headers=s,t.Request=y,t.Response=m,t.fetch=w}({})}(n),delete n.fetch.polyfill,t=n.fetch,t.default=n.fetch,t.fetch=n.fetch,t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response,e.exports=t},function(e,t,n){var r,o;!function(i){var s=!1;if(r=i,void 0!==(o="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=o),s=!0,e.exports=i(),s=!0,!s){var a=window.Cookies,u=window.Cookies=i();u.noConflict=function(){return window.Cookies=a,u}}}(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 s;if("undefined"!=typeof document){if(arguments.length>1){if(i=e({path:"/"},r.defaults,i),"number"==typeof i.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{s=JSON.stringify(o),/^[\{\[]/.test(s)&&(o=s)}catch(e){}o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c]));return document.cookie=t+"="+o+u}t||(s={});for(var f=document.cookie?document.cookie.split("; "):[],p=/(%[0-9A-Z]{2})+/g,l=0;l<f.length;l++){var d=f[l].split("="),h=d.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var y=d[0].replace(p,decodeURIComponent);if(h=n.read?n.read(h,y):n(h,y)||h.replace(p,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===y){s=h;break}t||(s[y]=h)}catch(e){}}return s}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}return t(function(){})})},function(e,t,n){function r(e){var t=this,n=i.getValidUrl(e),r=e.pkce||"authorization_code"===e.grantType;if(this.options={url:y.removeTrailingSlash(n),clientId:e.clientId,issuer:y.removeTrailingSlash(e.issuer),authorizeUrl:y.removeTrailingSlash(e.authorizeUrl),userinfoUrl:y.removeTrailingSlash(e.userinfoUrl),tokenUrl:y.removeTrailingSlash(e.tokenUrl),pkce:r,redirectUri:e.redirectUri,httpRequestClient:e.httpRequestClient,storageUtil:e.storageUtil,transformErrorXHR:e.transformErrorXHR,headers:e.headers},this.options.pkce&&!t.features.isPKCESupported())throw new o("This browser doesn't support PKCE");this.userAgent="okta-auth-js-"+s.SDK_VERSION,e.maxClockSkew||0===e.maxClockSkew?this.options.maxClockSkew=e.maxClockSkew:this.options.maxClockSkew=s.DEFAULT_MAX_CLOCK_SKEW,this.options.ignoreSignature=!!e.ignoreSignature,t.session={close:y.bind(p.closeSession,null,t),exists:y.bind(p.sessionExists,null,t),get:y.bind(p.getSession,null,t),refresh:y.bind(p.refreshSession,null,t),setCookieAndRedirect:y.bind(p.setCookieAndRedirect,null,t)},t.tx={status:y.bind(h.transactionStatus,null,t),resume:y.bind(h.resumeTransaction,null,t),exists:y.bind(h.transactionExists,null,t),introspect:y.bind(h.introspect,null,t)},t.tx.exists._get=function(e){return a.get(e)},t.idToken={authorize:{_getLocationHref:function(){return window.location.href}}},t.token={getWithoutPrompt:y.bind(l.getWithoutPrompt,null,t),getWithPopup:y.bind(l.getWithPopup,null,t),getWithRedirect:y.bind(l.getWithRedirect,null,t),parseFromUrl:y.bind(l.parseFromUrl,null,t),decode:l.decodeToken,renew:y.bind(l.renewToken,null,t),getUserInfo:y.bind(l.getUserInfo,null,t),verify:y.bind(l.verifyToken,null,t)},t.token.getWithRedirect._setLocation=function(e){window.location=e},t.token.parseFromUrl._getHistory=function(){return window.history},t.token.parseFromUrl._getLocation=function(){return window.location},t.token.parseFromUrl._getDocument=function(){return window.document},t.fingerprint._getUserAgent=function(){return navigator.userAgent};var u=/windows phone|iemobile|wpdesktop/i;t.features.isFingerprintSupported=function(){var e=t.fingerprint._getUserAgent();return e&&!u.test(e)},t.tokenManager=new d(t,e.tokenManager)}n(16);var o=n(1),i=n(18),s=n(2),a=n(4).storage,u=n(3),c=n(10),f=n(5),p=n(23),l=n(24),d=n(28),h=n(7),y=n(0),g=r.prototype;g.features={},g.features.isPopupPostMessageSupported=function(){var e=document.documentMode&&document.documentMode<10;return!(!window.postMessage||e)},g.features.isTokenVerifySupported=function(){return"undefined"!=typeof crypto&&crypto.subtle&&"undefined"!=typeof Uint8Array},g.features.isPKCESupported=function(){return g.features.isTokenVerifySupported()},g.signIn=function(e){function t(t){return delete e.sendFingerprint,h.postToTransaction(n,"/api/v1/authn",e,t)}var n=this;return e=y.clone(e||{}),e.sendFingerprint?n.fingerprint().then(function(e){return t({headers:{"X-Device-Fingerprint":e}})}):t()},g.signOut=function(){return this.session.close()},i.addSharedPrototypes(g),g.webfinger=function(e){var t="/.well-known/webfinger"+y.toQueryParams(e),n={headers:{Accept:"application/jrd+json"}};return u.get(this,t,n)},g.fingerprint=function(e){function t(e){if(e&&e.data&&e.origin===n.options.url){try{var t=JSON.parse(e.data)}catch(e){return r.reject(new o("Unable to parse iframe response"))}if(t)return"FingerprintAvailable"===t.type?r.resolve(t.fingerprint):void("FingerprintServiceReady"===t.type&&e.source.postMessage(JSON.stringify({type:"GetFingerprint"}),e.origin))}}e=e||{};var n=this;if(!n.features.isFingerprintSupported())return f.reject(new o("Fingerprinting is not supported on this device"));var r=f.defer(),i=document.createElement("iframe");i.style.display="none",c.addListener(window,"message",t),i.src=n.options.url+"/auth/services/devicefingerprint",document.body.appendChild(i);var s=setTimeout(function(){r.reject(new o("Fingerprinting timed out"))},e.timeout||15e3);return r.promise.fin(function(){clearTimeout(s),c.removeListener(window,"message",t),document.body.contains(i)&&i.parentElement.removeChild(i)})},e.exports=i.buildOktaAuth(r)},function(e,t,n){n(17),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var n;if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),o=r.length>>>0;if(0===o)return-1;var i=+t||0;if(Math.abs(i)===1/0&&(i=0),i>=o)return-1;for(n=Math.max(i>=0?i:o-Math.abs(i),0);n<o;){if(n in r&&r[n]===e)return n;n++}return-1}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)})},function(e,t,n){!function(){function e(e){this.message=e}var n=t,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",n.btoa||(n.btoa=function(t){for(var n,o,i=String(t),s=0,a=r,u="";i.charAt(0|s)||(a="=",s%1);u+=a.charAt(63&n>>8-s%1*8)){if((o=i.charCodeAt(s+=.75))>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|o}return u}),n.atob||(n.atob=function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var o,i,s=0,a=0,u="";i=n.charAt(a++);~i&&(o=s%4?64*o+i:i,s++%4)?u+=String.fromCharCode(255&o>>(-2*s&6)):0)i=r.indexOf(i);return u})}()},function(e,t,n){function r(e){if(!e)throw new s("No arguments passed to constructor. Required usage: new OktaAuth(args)");var t=e.url;if(!t){var n=new RegExp("^http?s?://.+");if(!e.issuer||!n.test(e.issuer))throw new s('No url passed to constructor. Required usage: new OktaAuth({url: "https://{yourOktaDomain}.com"})');t=e.issuer.split("/oauth2/")[0]}if(-1!==t.indexOf("-admin."))throw new s('URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({url: "https://{yourOktaDomain}.com})');return t}function o(e){e.forgotPassword=function(e){return a.postToTransaction(this,"/api/v1/authn/recovery/password",e)},e.unlockAccount=function(e){return a.postToTransaction(this,"/api/v1/authn/recovery/unlock",e)},e.verifyRecoveryToken=function(e){return a.postToTransaction(this,"/api/v1/authn/recovery/token",e)}}function i(e){return function(t,n){function r(o){if(!(this instanceof r))return new r(o);o&&(o.storageUtil=t,o.ajaxRequest?(u.deprecate("ajaxRequest is being deprecated, use httpRequestClient attribute instead."),o.httpRequestClient=o.ajaxRequest):o.httpRequestClient||(o.httpRequestClient=n)),u.bind(e,this)(o)}return r.prototype=e.prototype,r.prototype.constructor=r,r.features=e.prototype.features,r}}var s=n(1),a=n(7),u=n(0);e.exports={addSharedPrototypes:o,buildOktaAuth:i,getValidUrl:r}},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(20),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(9))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[u]=r,a(u),u++}function o(e){delete c[e]}function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function s(e){if(f)setTimeout(s,0,e);else{var t=c[e];if(t){f=!0;try{i(t)}finally{o(e),f=!1}}}}if(!e.setImmediate){var a,u=1,c={},f=!1,p=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?function(){a=function(e){t.nextTick(function(){s(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&s(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),a=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){s(e.data)},a=function(t){e.port2.postMessage(t)}}():p&&"onreadystatechange"in p.createElement("script")?function(){var e=p.documentElement;a=function(t){var n=p.createElement("script");n.onreadystatechange=function(){s(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){a=function(e){setTimeout(s,0,e)}}(),l.setImmediate=r,l.clearImmediate=o}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(9),n(8))},function(e,t){function n(e,t){this.name="AuthApiError",this.message=e.errorSummary,this.errorSummary=e.errorSummary,this.errorCode=e.errorCode,this.errorLink=e.errorLink,this.errorId=e.errorId,this.errorCauses=e.errorCauses,t&&(this.xhr=t)}n.prototype=new Error,e.exports=n},function(e,t){function n(){this.name="AuthPollStopError",this.message="The poll was stopped by the sdk"}n.prototype=new Error,e.exports=n},function(e,t,n){function r(e){return e.session.get().then(function(e){return"ACTIVE"===e.status}).fail(function(){return!1})}function o(e){return c.get(e,"/api/v1/sessions/me").then(function(t){var n=u.omit(t,"_links");return n.refresh=function(){return c.post(e,u.getLink(t,"refresh").href)},n.user=function(){return c.get(e,u.getLink(t,"user").href)},n}).fail(function(){return{status:"INACTIVE"}})}function i(e){return c.httpRequest(e,{url:e.options.url+"/api/v1/sessions/me",method:"DELETE"})}function s(e){return c.post(e,"/api/v1/sessions/me/lifecycle/refresh")}function a(e,t,n){n=n||window.location.href,window.location=e.options.url+"/login/sessionCookieRedirect"+u.toQueryParams({checkAccountSetupComplete:!0,token:t,redirectUrl:n})}var u=n(0),c=n(3);e.exports={sessionExists:r,getSession:o,closeSession:i,refreshSession:s,setCookieAndRedirect:a}},function(e,t,n){function r(e){var t,n=e.split(".");try{t={header:JSON.parse(E.base64UrlToString(n[0])),payload:JSON.parse(E.base64UrlToString(n[1])),signature:n[2]}}catch(e){throw new x("Malformed token")}return t}function o(e,t,n){return(new S).then(function(){if(!t||!t.idToken)throw new x("Only idTokens may be verified");var o=r(t.idToken),i={clientId:e.options.clientId,issuer:e.options.issuer||e.options.url,ignoreSignature:e.options.ignoreSignature};return E.extend(i,n),A.validateClaims(e,o.payload,i),1!=i.ignoreSignature&&e.features.isTokenVerifySupported()?A.getKey(e,t.issuer,o.header.kid).then(function(e){return _.verifyToken(t.idToken,e)}).then(function(e){if(!e)throw new x("The token signature is not valid");return t}):t})}function i(e,t,n){function r(t){!t.data||t.origin!==e.options.url||t.data&&E.isString(n)&&t.data.state!==n||o.resolve(t.data)}var o=S.defer();return A.addListener(window,"message",r),o.promise.timeout(t||12e4,new x("OAuth flow timed out")).fin(function(){A.removeListener(window,"message",r)})}function s(e,t,n){function r(){try{t&&t.location&&t.location.hash?o.resolve(A.hashToObject(t.location.hash)):t&&!t.closed&&setTimeout(r,500)}catch(e){setTimeout(r,500)}}var o=S.defer();return r(),o.promise.timeout(n||12e4,new x("OAuth flow timed out"))}function a(e,t,n,r){var o=R.loadMeta(e),i={clientId:t.clientId,authorizationCode:n,codeVerifier:o.codeVerifier,redirectUri:o.redirectUri};return R.getToken(e,i,r).then(function(e){return u(e,i),e}).fin(function(){R.clearMeta(e)})}function u(e,t){if(e.error||e.error_description)throw new O(e.error,e.error_description);if(e.state!==t.state)throw new x("OAuth flow response state doesn't match request state")}function c(e,t,n,r){r=r||{};var i=t.responseType,s=E.clone(t.scopes),c=t.clientId||e.options.clientId;return(new S).then(function(){return u(n,t),n.code?(i=["token","id_token"],a(e,t,n.code,r)):n}).then(function(n){var i={};if(n.access_token&&(i.token={accessToken:n.access_token,expiresAt:Number(n.expires_in)+Math.floor(Date.now()/1e3),tokenType:n.token_type,scopes:s,authorizeUrl:r.authorizeUrl,userinfoUrl:r.userinfoUrl}),n.id_token){var a=e.token.decode(n.id_token),u={idToken:n.id_token,claims:a.payload,expiresAt:a.payload.exp,scopes:s,authorizeUrl:r.authorizeUrl,issuer:r.issuer,clientId:c},f={clientId:c,issuer:r.issuer,nonce:t.nonce};return void 0!==t.ignoreSignature&&(f.ignoreSignature=t.ignoreSignature),o(e,u,f).then(function(){return i.id_token=u,i})}return i}).then(function(e){return Array.isArray(i)?(["token","id_token"].filter(function(e){return-1!==i.indexOf(e)}).forEach(function(t){if(!e[t])throw new x("Unable to parse OAuth flow response: "+t+" was not returned.")}),i.map(function(t){return e[t]})):e[i]})}function f(e){return{pkce:e.options.pkce||!1,clientId:e.options.clientId,redirectUri:e.options.redirectUri||window.location.href,responseType:"id_token",responseMode:"okta_post_message",state:A.generateState(),nonce:A.generateNonce(),scopes:["openid","email"],ignoreSignature:e.options.ignoreSignature}}function p(e){if(!e.clientId)throw new x("A clientId must be specified in the OktaAuth constructor to get a token");if(E.isString(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new x("Multiple OAuth responseTypes must be defined as an array");var t=E.removeNils({client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state});if(["idp_scope","response_type"].forEach(function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))}),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new x("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}function l(e){var t=p(e);return E.toQueryParams(t)}function d(e,t,n){return t=t||{},n=n||{},g(e,t).then(function(r){function o(e){return/^(https?\:\/\/)?([^:\/?#]*(?:\:[0-9]+)?)/.exec(e)[0]}function a(e){e.closed&&b.reject(new x("Unable to parse OAuth flow response"))}var u={prompt:"none",responseMode:"okta_post_message",display:null},f={display:"popup"};t.sessionToken?E.extend(r,u):t.idp&&E.extend(r,f);var p,d,h;try{h=A.getOAuthUrls(e,r,n),d=t.codeVerifier?h.tokenUrl:h.authorizeUrl,p=d+l(r)}catch(e){return S.reject(e)}switch(r.sessionToken||null===r.display?"IFRAME":"popup"===r.display?"POPUP":"IMPLICIT"){case"IFRAME":var y=i(e,n.timeout,r.state),g=A.loadFrame(p);return y.then(function(t){return c(e,r,t,h)}).fin(function(){document.body.contains(g)&&g.parentElement.removeChild(g)});case"POPUP":var v;if("okta_post_message"===r.responseMode){if(!e.features.isPopupPostMessageSupported())return S.reject(new x("This browser doesn't have full postMessage support"));v=i(e,n.timeout,r.state)}var m={popupTitle:n.popupTitle},w=A.loadPopup(p,m);if("fragment"===r.responseMode){var T=o(e.idToken.authorize._getLocationHref()),k=o(r.redirectUri);if(T!==k)return S.reject(new x("Using fragment, the redirectUri origin ("+k+") must match the origin of this page ("+T+")"));v=s(e,w,n.timeout)}var b=S.defer(),_=setInterval(function(){a(w)},500);return v.then(function(e){b.resolve(e)}).fail(function(e){b.reject(e)}),b.promise.then(function(t){return c(e,r,t,h)}).fin(function(){w.closed||(clearInterval(_),w.close())});default:return S.reject(new x("The full page redirect flow is not supported"))}})}function h(e,t,n){var r=E.clone(t)||{};return E.extend(r,{prompt:"none",responseMode:"okta_post_message",display:null}),d(e,r,n)}function y(e,t,n){var r=E.clone(t)||{};return E.extend(r,{display:"popup",responseMode:"okta_post_message"}),d(e,r,n)}function g(e,t){t=E.clone(t)||{},"authorization_code"===t.grantType&&(t.pkce=!0);var n=f(e);return E.extend(n,t),!0!==n.pkce?S.resolve(n):e.features.isPKCESupported()?(n.codeChallengeMethod||(n.codeChallengeMethod=R.DEFAULT_CODE_CHALLENGE_METHOD),n.responseType="code",A.getWellKnown(e,null).then(function(e){if(-1===(e.code_challenge_methods_supported||[]).indexOf(n.codeChallengeMethod))throw new x("Invalid code_challenge_method")}).then(function(){var t=R.generateVerifier(n.codeVerifier),r={codeVerifier:t,redirectUri:n.redirectUri};return R.saveMeta(e,r),R.computeChallenge(t)}).then(function(e){var t=E.clone(n)||{};return E.extend(t,n,{codeChallenge:e}),t})):S.reject(new x("This browser doesn't support PKCE"))}function v(e,t,n){return t=E.clone(t)||{},g(e,t).then(function(r){t.responseMode||(r.responseType.includes("code")&&!r.pkce?r.responseMode="query":r.responseMode="fragment");var o=A.getOAuthUrls(e,r,n),i=o.authorizeUrl+l(r);U.set(C.REDIRECT_OAUTH_PARAMS_COOKIE_NAME,JSON.stringify({responseType:r.responseType,state:r.state,nonce:r.nonce,scopes:r.scopes,clientId:r.clientId,urls:o,ignoreSignature:r.ignoreSignature})),U.set(C.REDIRECT_NONCE_COOKIE_NAME,r.nonce),U.set(C.REDIRECT_STATE_COOKIE_NAME,r.state),e.token.getWithRedirect._setLocation(i)})}function m(e,t){if(!A.isToken(t))return S.reject(new x("Renew must be passed a token with an array of scopes and an accessToken or idToken"));var n;return n=e.options.pkce?"code":t.accessToken?"token":"id_token",e.token.getWithoutPrompt({responseType:n,scopes:t.scopes},{authorizeUrl:t.authorizeUrl,userinfoUrl:t.userinfoUrl,issuer:t.issuer})}function w(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.search):r.hash=""}function T(e,t){var n=e.token.parseFromUrl._getLocation(),r=n.hash;if(t&&(r=t.substring(t.indexOf("#"))),!r)return S.reject(new x("Unable to parse a token from the url"));var o=U.get(C.REDIRECT_OAUTH_PARAMS_COOKIE_NAME);if(!o)return S.reject(new x("Unable to retrieve OAuth redirect params cookie"));try{var i=JSON.parse(o),s=i.urls;delete i.urls,U.delete(C.REDIRECT_OAUTH_PARAMS_COOKIE_NAME)}catch(e){return S.reject(new x("Unable to parse the "+C.REDIRECT_OAUTH_PARAMS_COOKIE_NAME+" cookie: "+e.message))}return S.resolve(A.hashToObject(r)).then(function(n){return t||w(e),c(e,i,n,s)})}function k(e,t){return t&&(A.isToken(t)||t.accessToken||t.userinfoUrl)?b.httpRequest(e,{url:t.userinfoUrl,method:"GET",accessToken:t.accessToken}).fail(function(e){if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)){var t;if(e.xhr.headers&&E.isFunction(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):E.isFunction(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],o=n[1],i=r[1];o&&i&&(e=new O(o,i))}}throw e}):S.reject(new x("getUserInfo requires an access token object"))}var b=n(3),E=n(0),A=n(10),S=n(5),_=n(25),x=n(1),O=n(26),C=n(2),U=n(4).storage,R=n(27);e.exports={getToken:d,getWithoutPrompt:h,getWithPopup:y,getWithRedirect:v,parseFromUrl:T,decodeToken:r,renewToken:m,getUserInfo:k,verifyToken:o,handleOAuthResponse:c,prepareOauthParams:g}},function(e,t,n){function r(e,t){t=o.clone(t);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=["verify"];return delete t.use,crypto.subtle.importKey("jwk",t,n,!0,r).then(function(t){var r=e.split("."),i=o.stringToBuffer(r[0]+"."+r[1]),s=o.base64UrlDecode(r[2]),a=o.stringToBuffer(s);return crypto.subtle.verify(n,t,a,i)})}var o=n(0);e.exports={verifyToken:r}},function(e,t){function n(e,t){this.name="OAuthError",this.message=t,this.errorCode=e,this.errorSummary=t}n.prototype=new Error,e.exports=n},function(e,t,n){function r(e){return("0"+e.toString(16)).substr(-2)}function o(e){var t=new Uint8Array(Math.ceil(e/2));return crypto.getRandomValues(t),Array.from(t,r).join("").slice(0,e)}function i(e){var t=e||"";return t.length<g&&(t+=o(g-t.length)),encodeURIComponent(t).slice(0,v)}function s(e,t){e.options.storageUtil.getPKCEStorage().setStorage(t)}function a(e){return e.options.storageUtil.getPKCEStorage().getStorage()}function u(e){e.options.storageUtil.getPKCEStorage().clearStorage()}function c(e){var t=(new TextEncoder).encode(e);return crypto.subtle.digest("SHA-256",t).then(function(e){var t=String.fromCharCode.apply(null,new Uint8Array(e));return y.stringToBase64Url(t)})}function f(e){if(!e.clientId)throw new d("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new d("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode)throw new d("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new d('The "codeVerifier" (generated and saved by your app) must be passed to /token')}function p(e){var t=y.removeNils({client_id:e.clientId,redirect_uri:e.redirectUri,grant_type:"authorization_code",code:e.authorizationCode,code_verifier:e.codeVerifier});return y.toQueryParams(t).slice(1)}function l(e,t,n){f(t);var r=p(t);return h.httpRequest(e,{url:n.tokenUrl,method:"POST",args:r,withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}var d=n(1),h=n(3),y=n(0),g=43,v=128;e.exports={DEFAULT_CODE_CHALLENGE_METHOD:"S256",generateVerifier:i,clearMeta:u,saveMeta:s,loadMeta:a,computeChallenge:c,getToken:l}},function(e,t,n){function r(e,t){return t.expiresAt-e.options.expireEarlySeconds}function o(e,t){return r(e,t)<=e.clock.now()}function i(e,t,n){e.emitter.emit("expired",t,n)}function s(e,t){e.emitter.emit("error",t)}function a(e,t){clearTimeout(e.expireTimeouts[t]),delete e.expireTimeouts[t],delete e.renewPromise[t]}function u(e){var t=e.expireTimeouts;for(var n in t)t.hasOwnProperty(n)&&a(e,n)}function c(e,t,n,o){var s=r(t,o),u=1e3*Math.max(s-t.clock.now(),0);a(t,n);var c=setTimeout(function(){i(t,n,o)},u);t.expireTimeouts[n]=c}function f(e,t,n){try{var r=n.getStorage()}catch(e){return void s(t,e)}for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];c(e,t,o,i)}}function p(e,t,n,r,o){var i=n.getStorage();if(!m.isObject(o)||!o.scopes||!o.expiresAt&&0!==o.expiresAt||!o.idToken&&!o.accessToken)throw new w("Token must be an Object with scopes, expiresAt, and an idToken or accessToken properties");i[r]=o,n.setStorage(i),c(e,t,r,o)}function l(e,t){return e.getStorage()[t]}function d(e,t,n,r){return k.Promise(function(i){var s=l(n,r);return i(s&&o(t,s)?t.options.autoRenew?y(e,t,n,r):h(t,n,r):s)})}function h(e,t,n){a(e,n);var r=t.getStorage();delete r[n],t.setStorage(r)}function y(e,t,n,r){try{var o=l(n,r);if(!o)throw new w("The tokenManager has no token for the key: "+r)}catch(e){return k.reject(e)}return a(t,r),t.renewPromise[r]||(t.renewPromise[r]=e.token.renew(o).then(function(i){var s=i;i instanceof Array&&(s=i.find(function(e){return e.idToken&&o.idToken||e.accessToken&&o.accessToken}));var a=l(n,r);if(a)return p(e,t,n,r,s),t.emitter.emit("renewed",r,s,a),delete t.renewPromise[r],s}).fail(function(e){throw"OAuthError"===e.name&&(h(t,n,r),s(t,e)),e})),t.renewPromise[r]}function g(e,t){u(e),t.clearStorage()}function v(e,t){t=m.extend({},_,m.removeNils(t)),"localStorage"!==t.storage||T.browserHasLocalStorage()||(m.warn("This browser doesn't support localStorage. Switching to sessionStorage."),t.storage="sessionStorage"),"sessionStorage"!==t.storage||T.browserHasSessionStorage()||(m.warn("This browser doesn't support sessionStorage. Switching to cookie-based storage."),t.storage="cookie");var n;switch(t.storage){case"localStorage":n=A(localStorage,E.TOKEN_STORAGE_NAME);break;case"sessionStorage":n=A(sessionStorage,E.TOKEN_STORAGE_NAME);break;case"cookie":n=A(T.getCookieStorage(t),E.TOKEN_STORAGE_NAME);break;default:throw new w("Unrecognized storage option")}var r=S.create(e,t),o={clock:r,options:t,emitter:new b,expireTimeouts:{},renewPromise:{}};this.add=m.bind(p,this,e,o,n),this.get=m.bind(d,this,e,o,n),this.remove=m.bind(h,this,o,n),this.clear=m.bind(g,this,o,n),this.renew=m.bind(y,this,e,o,n),this.on=m.bind(o.emitter.on,o.emitter),this.off=m.bind(o.emitter.off,o.emitter),f(e,o,n)}var m=n(0),w=n(1),T=n(4),k=n(5),b=n(29),E=n(2),A=n(6),S=n(30),_={autoRenew:!0,storage:"localStorage",expireEarlySeconds:30};e.exports=v},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,s=r.length;i<s;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},function(e,t,n){function r(e){this.localOffset=parseInt(e||0)}n(0).extend(r.prototype,{now:function(){return(Date.now()+this.localOffset)/1e3}}),r.create=function(){return new r(0)},e.exports=r}])});
//# sourceMappingURL=okta-auth-js.min.js.map;
/*!
 * Copyright (c) 2015-2016, Okta, Inc. and/or its affiliates. All rights reserved.
 * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
 * 
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * 
 * See the License for the specific language governing permissions and limitations under the License.
 * 
 */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.OktaSignIn=e():t.OktaSignIn=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=245)}([function(t,e,n){var r=n(4),i=n(31),o=n(24),s=n(25),a=n(32),u=function(t,e,n){var l,c,f,p,d=t&u.F,h=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=h?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,_=h?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});h&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],f=(c?y:n)[l],p=v&&c?a(f,r):g&&"function"==typeof f?a(Function.call,f):f,y&&s(y,l,f,t&u.U),_[l]!=f&&o(_,l,p),g&&b[l]!=f&&(b[l]=f)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(148),o=r(i),s=n(106),a=r(s),u=n(217),l=r(u);/*! THIS FILE IS GENERATED FROM PACKAGE @okta/courage@4.6.0-beta.2670.g173eed7 */
t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||(0,l.default)(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=32)}([function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n.n(r),o=n(34),s=n.n(o),a=s.a.noConflict();a.mixin({resultCtx:function(t,e,n,r){var i=a.isObject(t)?t[e]:void 0;return a.isFunction(i)&&(i=i.call(n||t)),i||(a.isUndefined(r)?i:r)},isInteger:function(t){return a.isNumber(t)&&t%1==0},template:function(t,e){var n=i.a.compile(t);return e?n(e):function(t){return n(t)}}}),e.default=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n.n(r),o=n(0),s=n(22),u=n(4),l=o.default.clone(i.a.Events),c={constructor:function(){s.a.apply(this,arguments),this.module&&this.$el.attr("data-view",this.module.id)},empty:function(){return this.removeChildren()},compileTemplate:u.default.tpl,broadcast:function(){return l.trigger.apply(l,arguments),this},listen:function(t,e){return l.off(t,e),this.listenTo(l,t,e),this},notify:function(t,e,n){return this.broadcast("notification",o.default.defaults({message:e,level:t},n)),this},confirm:function(t,e,n,r){var i=void 0;return i="object"===(void 0===t?"undefined":(0,a.default)(t))?t:2===arguments.length&&o.default.isFunction(e)?{title:"Okta",subtitle:t,ok:e}:{title:t,subtitle:e,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(t){return o.default.isString(t)&&(t={subtitle:t}),this.confirm(o.default.extend({},t,{noCancelButton:!0})),this}};e.default=s.a.extend(c,{decorate:function(t){var e=t.extend({});return o.default.defaults(e.prototype,c),e}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n.n(r);i.a.ajaxSetup({beforeSend:function(t){t.setRequestHeader("X-Okta-XsrfToken",i()("#_xsrfToken").text())},converters:{"text secureJSON":function(t){return"while(1){};"===t.substring(0,11)&&(t=t.substring(11)),JSON.parse(t)}}}),window.jQueryCourage=i.a,e.default=i.a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(0),s=n(38),a=n.n(s),u={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#039;":"'","&#x2F;":"/"},l=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@(?!-)((\[?[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\]?)|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,c={sprintf:function(){function t(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+(0,o.default)(e))}for(var e=Array.prototype.slice.apply(arguments),n=e.shift(),r=n,i=0,s=e.length;i<s;i++){var a=e[i];n=n.replace("{"+i+"}",a),void 0!==a&&null!==a&&n!==r||t(),r=n}return/\{[\d+]\}/.test(n)&&t(),n},parseQuery:function(t){for(var e={},n=decodeURIComponent(t.replace(/\+/g," ")).split("&"),r=0;r<n.length;r++){var i=n[r],o=i.split("=");e[o.shift()]=o.join("=")}return e},encodeJSObject:function(t){return encodeURIComponent((0,o.default)(t))},decodeJSObject:function(t){try{return JSON.parse(decodeURIComponent(t))}catch(t){return null}},unescapeHtml:function(t){return String(t).replace(/&[\w#\d]{2,};/g,function(t){return u[t]||t})},localize:function(t,e,n){var r=e?a.a[e]:a.a[i.default.keys(a.a)[0]];if(!r)return"L10N_ERROR["+e+"]";var o=r[t];try{n=n&&n.slice?n.slice(0):[],n.unshift(o),o=c.sprintf.apply(null,n)}catch(t){o=null}return o||"L10N_ERROR["+t+"]"},parseFloat:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){var e=+t;return"string"==typeof t&&e===parseFloat(t)?e:t}),parseInt:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){var e=+t;return i.default.isString(t)&&e===parseInt(t,10)?e:t}),parseObject:function(t){if(!i.default.isString(t))return t;try{var e=JSON.parse(t);return r.default.isPlainObject(e)?e:t}catch(e){return t}},randomString:function(t){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===t)t=i.default.random(e.length);else if(0===t)return"";for(var n=[];t--;)n.push(e[i.default.random(e.length-1)]);return n.join("")},endsWith:function(t,e){return t+="",e+="",t.length>=e.length&&t.substring(t.length-e.length)===e},isEmail:function(t){var e=r.default.trim(t);return!i.default.isEmpty(e)&&l.test(e)}};e.default=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n.n(r),o=n(0);e.default={tpl:o.default.memoize(function(t){return i.a.compile(t)})}},function(t,e){t.exports=n(218)},function(t,e){t.exports=n(472)},function(t,e,n){function r(t,e){window.console&&window.okta&&window.okta.debug&&window.console[t].apply(window.console,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default={trace:function(){return r("trace",arguments)},dir:function(){return r("dir",arguments)},time:function(){return r("time",arguments)},timeEnd:function(){return r("timeEnd",arguments)},group:function(){return r("group",arguments)},groupEnd:function(){return r("groupEnd",arguments)},assert:function(){return r("assert",arguments)},log:function(){return r("log",arguments)},info:function(){return r("info",arguments)},warn:function(){return r("warn",arguments)},error:function(){return r("error",arguments)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.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(t,e){return(t.which||t.keyCode)===this[e]},isEnter:function(t){return this.__isKey(t,"ENTER")},isEsc:function(t){return this.__isKey(t,"ESC")},isSpaceBar:function(t){return this.__isKey(t,"SPACE")}}},function(t,e,n){function r(t){if(t&&!t.__edit__)return a.default.extend({__edit__:a.default.constant(!0)},t)}function i(t){t=a.default.pick(t||{},"action","id","className","text","type");var e=void 0,n=void 0,r=void 0;return p.default.extend({tagName:"input",className:"button",events:{click:function(){t.action&&!this.disabled()&&t.action.call(this)},keyup:function(e){u.default.isEnter(e)&&t.action&&!this.disabled()&&t.action.call(this)}},disabled:function(){return!0===this.$el.prop("disabled")},disable:function(){this.$el.prop("disabled",!0),this.$el.addClass("btn-disabled")},enable:function(){this.$el.prop("disabled",!1),this.$el.removeClass("btn-disabled")},initialize:function(){var r=this;this.$el.attr("type","save"===t.type?"submit":"button"),this.$el.val(t.text),t.id&&this.$el.attr("id",t.id),t.className&&this.$el.addClass(t.className),t.type&&this.$el.attr("data-type",t.type),this.$el.mousedown(function(){r.model.set("__pending__",!0)}),this.$el.mouseup(function(){r.model.set("__pending__",!1)}),this.listenTo(this.model,"form:set-saving-state",function(){this.disable(),"save"===t.type&&(e=setTimeout(a.default.bind(this.__changeSaveText,this),1e3))}),this.listenTo(this.model,"form:clear-saving-state",function(){this.enable(),"save"===t.type&&(clearTimeout(e),clearInterval(n),this.$el.val(t.text))})},__changeSaveText:function(){r=0,n=setInterval(a.default.bind(this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(_[r++%_.length])}})}function o(t,e){if(t||(t={}),"label"===t.type)return void(t.label||l.default.warn('A label input must have a "label" parameter',t));if("button"===t.type)return t.title||t.icon||l.default.warn('A button input must have a "title" and/or an "icon" parameter',t),void(t.click||t.href||l.default.warn('A button input must have a "click" and/or an "href" parameter',t));if(t.name||t.input||l.default.warn('Missing "name" or "input" parameters',t),a.default.isArray(t.name)&&a.default.isArray(t.input))throw new Error('Not allowed to have both "name" and "input" defined as array.');if("list"!==t.type&&t.name&&e&&e.allows){var n=[];a.default.isArray(t.name)?n=t.name:n.push(t.name),a.default.each(n,function(n){if(!e.allows(n))throw new Error("field not allowed: "+t.name)})}a.default.isArray(t.input)&&"list"!==t.type&&a.default.each(t.input,function(t){o(t,e)});var r=a.default.keys(t),i=a.default.intersection(r,y);if(a.default.size(i)!==a.default.size(t)){var s=a.default.clone(y);s.unshift(r),l.default.warn("Invalid input parameters",a.default.without.apply(null,s),t)}}function s(t,e,n){t=a.default.clone(t),a.default.contains(["list","group"],t.type)&&(t.params=a.default.defaults({create:n,inputs:a.default.map(a.default.isArray(t.input)?t.input:[t.input],function(t){return a.default.first(s(t,e,n))})},t.params||{}),delete t.input);var r=a.default.isArray(t.input)?a.default.clone(t.input):[t];return a.default.map(r,function(n){var r=a.default.defaults({model:e.model},n,a.default.omit(t,"input","inputs"),e.options,{id:a.default.uniqueId("input"),readOnly:e.isReadOnly(),read:e.hasReadMode()});return e.isReadOnly()&&(r.read=r.readOnly=!0),r})}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n(8),l=n(7),c=n(3),f=n(24),p=n(1),d=["model","id","inputId","type","label","sublabel","tooltip","name"],h=["wide","multi","input","label-top","explain","explain-top","customExplain","model","name","type","autoRender"],m=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen"],g=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params"],v=["errorField"],y=a.default.uniq(a.default.union(d,h,m,g,v)),_=["•         ","•  •      ","•  •  •   ","•  •  •  •","   •  •  •","      •  •","         •","          ","          ","          "];e.default={LABEL_OPTIONS:d,CONTAINER_OPTIONS:h,WRAPPER_OPTIONS:m,INPUT_OPTIONS:g,generateInputOptions:s,changeEventString:function(t){return"change:"+t.join(" change:")},createReadFormButton:function(t){var e=void 0,n=void 0,r=void 0;return"cancel"===t.type?(n=r=c.default.localize("oform.cancel","courage"),e=function(){this.model.trigger("form:cancel")}):(n=c.default.localize("oform.edit","courage"),r=n+" "+t.formTitle,e=function(){this.model.set("__edit__",!0)}),p.default.extend({tagName:"a",attributes:{href:"#","aria-label":r},template:function(){return a.default.escape(n)},events:{click:function(t){t.preventDefault(),e.call(this)}}})},createButton:function(t){switch(t=a.default.clone(t),t.type){case"save":a.default.defaults(t,{className:"button-primary"});break;case"cancel":a.default.defaults(t,{text:c.default.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":a.default.defaults(t,{text:c.default.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return i(t)},validateInput:o,applyShowWhen:function(t,e){var n=function(e){return function(){t.$el.toggle(e),t.model.trigger("form:resize")}};f.a.applyDoWhen(t,r(e),function(e,r){r.animate?t.$el["slide"+(e?"Down":"Up")](200,n(e)):t.$el.toggle(e)})},applyToggleWhen:function(t,e){f.a.applyDoWhen(t,r(e),function(e,n){t.$el.toggle(e),t.model.trigger("form:resize"),n.animate&&t.render()})}}},function(t,e,n){var r=n(2),i=n(0),o=n(23),s=n(3),a=n(1),u=n(67);e.a=a.default.extend({tagName:"span",attributes:function(){return{"data-se":"o-form-input-"+this.getNameString()}},defaultPlaceholder:"",constructor:function(t){t=i.default.defaults(t||{},{inputId:t.id||i.default.uniqueId("input"),placeholder:this.defaultPlaceholder,inlineValidation:!0,validateOnlyIfDirty:!1}),delete t.id;var e=this;i.default.each({enable:"removeClass",disable:"addClass"},function(t,n){e[n]=i.default.wrap(e[n],function(n){n.apply(e,arguments),e.$el[t]("o-form-disabled")})}),a.default.call(this,t),!0!==i.default.result(t,"readOnly")&&!0===i.default.result(t,"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(t,"validateOnlyIfDirty")||this.addInlineValidation(),this.addModelListeners(),this.$el.addClass("o-form-input-name-"+this.getNameString())},addAriaLabel:function(){var t=this.options.ariaLabel;t&&this.$(":input").attr("aria-label",t)},addInlineValidation:function(){i.default.result(this.options,"inlineValidation")&&this.$el.on("focusout",":input",i.default.bind(this.validate,this))},toModelValue:function(){var t=this.val();return i.default.isFunction(this.to)&&(t=this.to.call(this,t)),i.default.isFunction(this.options.to)&&(t=this.options.to.call(this,t)),t},__getDependencyCalloutBtn:function(t){var e=this,n=i.default.clone(t),s=n.click||function(){};return n.click=function(){Object(r.default)(window).one("focus.dependency",function(){e.__showInputDependencies()}),s.call(e)},new(a.default.extend({children:[o.default.create(n)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(t){return a.default.extend({template:'        <span class="o-form-explain">           {{msg}}        </span>        ',getTemplateData:function(){return{msg:t}}})},showCallout:function(t,e){var n=i.default.clone(t);n.className="dependency-callout",n.btn&&(n.content=this.__getDependencyCalloutBtn(n.btn),delete n.btn);var r=u.a.create(n);e||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(t,e){return t?{title:s.default.localize("dependency.action.completed","courage"),size:"large",type:"success"}:{title:s.default.localize("dependency.action.required","courage",[e]),size:"large",type:"warning"}},__handleDependency:function(t,e){var n=this,r=i.default.isFunction(e)?e(t):i.default.extend({},e,n.__evaluateCalloutObject(t.resolved,e.title));n.removeCallout(),n.showCallout(r,t.resolved)},__showInputDependencies:function(){var t=this,e=t.options.deps[t.getModelValue()];e&&i.default.isFunction(e.func)?e.func().done(function(n){t.__handleDependency({resolved:!0,data:n},e.callout)}).fail(function(n){t.__handleDependency({resolved:!1,data:n},e.callout)}):t.removeCallout()},_isEdited:!1,update:function(){!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()},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 t=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=t,this.addAriaLabel(),this.postRender(),this},validate:function(){if(!this.model.get("__pending__")&&this.isEditMode()&&i.default.isFunction(this.model.validateField)){var t=this.model.validateField(this.options.name);t&&i.default.delay(function(){this.model.trigger("form:clear-error:"+this.options.name),this.model.trigger("invalid",this.model,t,!1)}.bind(this),100)}},addModelListeners:function(){this.listenTo(this.model,"form:field-error",function(t){this.options.name===t&&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 t=i.default.extend({},this.options,{value:this.getModelValue()});return this.$el.html(this.template(t)),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 t=i.default.resultCtx(this.options,"readModeString",this);return t||this.toStringValue()},getModelValue:function(){var t=this.model.get(this.options.name);return i.default.isFunction(this.from)&&(t=this.from.call(this,t)),i.default.isFunction(this.options.from)&&(t=this.options.from.call(this,t)),t},toStringValue:function(){var t=this.getModelValue();return this.options.options&&(t=this.options.options[t]),t||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(t){this.$(":input").prop("type",t),this.options.type=t},getNameString:function(){return i.default.isArray(this.options.name)?this.options.name.join("-"):this.options.name},getParams:function(t){var e=t||this.options||{};return i.default.clone(i.default.resultCtx(e,"params",this)||{})},getParam:function(t,e){var n=i.default.resultCtx(this.getParams(),t,this);return i.default.isUndefined(n)?e:n},getParamOrAttribute:function(t){return this.getParam(t)||i.default.result(this,t)},__markError:function(){this.$el.addClass("o-form-has-errors")},__clearError:function(){this.$el.removeClass("o-form-has-errors")}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(36);e.default=i.a.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},constructor:function(){this.local=r.default.defaults({},r.default.result(this,"local"),this._builtInLocalProps),r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,function(t,e,n,i){return t.call(this,e,n,r.default.extend({dataType:"secureJSON"},i))})),i.a.apply(this,arguments)}})},function(t,e){t.exports=n(115)},function(t,e,n){var r=n(0),i=n(3),o=i.default.localize,s={STRING:"string",NUMBER:"number",INTEGER:"integer",BOOLEAN:"boolean",OBJECT:"object",FORMATDISPLAYTYPE:{"date-time":"date",uri:"uri",email:"email","country-code":"country-code","language-code":"language-code",country_code:"country_code",language_code:"language_code",locale:"locale",timezone:"timezone","ref-id":"reference"},ARRAYDISPLAYTYPE:{arrayofobject:"arrayofobject",arrayofstring:"arrayofstring",arrayofnumber:"arrayofnumber",arrayofinteger:"arrayofinteger","arrayofref-id":"arrayofref-id"},DISPLAYTYPES:{date:{type:"string",format:"date-time"},uri:{type:"string",format:"uri"},email:{type:"string",format:"email"},"country-code":{type:"string",format:"country-code"},"language-code":{type:"string",format:"language-code"},country_code:{type:"string"},language_code:{type:"string"},locale:{type:"string",format:"locale"},timezone:{type:"string",format:"timezone"},string:{type:"string"},number:{type:"number"},boolean:{type:"boolean"},integer:{type:"integer"},reference:{type:"string",format:"ref-id"},arrayofobject:{type:"array",items:{type:"object"}},arrayofstring:{type:"array",items:{type:"string"}},arrayofnumber:{type:"array",items:{type:"number"}},arrayofinteger:{type:"array",items:{type:"integer"}},"arrayofref-id":{type:"array",items:{type:"string",format:"ref-id"}},image:{type:"image"},password:{type:"string"}},SUPPORTSMINMAX:["string","number","integer","password"],SUPPORTENUM:["string","number","integer","object","arrayofstring","arrayofnumber","arrayofinteger","arrayofobject"],DATATYPE:{string:"string",number:"number",boolean:"boolean",integer:"integer",date:"datetime",object:"object",arrayofobject:"object array",arrayofstring:"string array",arrayofnumber:"number array",arrayofinteger:"integer array","arrayofref-id":"reference array","country-code":"country code","language-code":"language code",country_code:"country code",language_code:"language code",reference:"reference",timezone:"timezone",image:"image"},MUTABILITY:{READONLY:"READ_ONLY",WRITEONLY:"WRITE_ONLY",READWRITE:"READ_WRITE",IMMUTABLE:"IMMUTABLE"},SCOPE:{NONE:"NONE",SELF:"SELF",SYSTEM:"SYSTEM"},DISPLAYSCOPE:{SELF:"User personal",SYSTEM:"System",NA:"None"},UNION:{DISABLE:"DISABLE",ENABLE:"ENABLE"},UNION_OPTIONS:{DISABLE:o("universal-directory.profiles.attribute.form.union.enable.display","courage"),ENABLE:o("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:o("universal-directory.profiles.attribute.enduser.permission.hide","courage"),READ_ONLY:o("universal-directory.profiles.attribute.enduser.permission.readonly","courage"),READ_WRITE:o("universal-directory.profiles.attribute.enduser.permission.readwrite","courage")},ATTRIBUTE_LEVEL_MASTERING_OPTIONS:{INHERIT:o("universal-directory.profiles.attribute.master.inherit","courage"),OKTA_MASTERED:o("universal-directory.profiles.attribute.master.oktamastered","courage"),OVERRIDE:o("universal-directory.profiles.attribute.master.override","courage")},USERNAMETYPE:{NONE:"non-username",OKTA_TO_APP:"okta-to-app-username",OKTA_TO_AD:"okta-to-ad-username",APP_TO_OKTA:"app-to-okta-username",IDP_TO_OKTA:"idp-to-okta-username"},LOGINPATTERNFORMAT:{EMAIL:"EMAIL",CUSTOM:"CUSTOM",NONE:"NONE"},UNIQUENESS:{NOT_UNIQUE:"NOT_UNIQUE",PENDING_UNIQUENESS:"PENDING_UNIQUENESS",UNIQUE_VALIDATED:"UNIQUE_VALIDATED"},getDisplayType:function(t,e,n,r){var i=void 0;return t&&(i=e?this.FORMATDISPLAYTYPE[e]:n?this.ARRAYDISPLAYTYPE[t+"of"+n]:t),i||(i=void 0===r?"":r),i},getSourceUsernameType:function(t,e,n){var r=this.USERNAMETYPE.NONE;return"oktaToApp"===t?"userName"===e?r=this.USERNAMETYPE.OKTA_TO_APP:"cn"===e&&(r=this.USERNAMETYPE.OKTA_TO_AD):"appToOkta"===t&&"login"===e&&(r="saml_idp"===n?this.USERNAMETYPE.IDP_TO_OKTA:this.USERNAMETYPE.APP_TO_OKTA),r},isArrayDataType:function(t){return r.default.contains(r.default.values(this.ARRAYDISPLAYTYPE),t)},isObjectDataType:function(t){return this.DATATYPE.object===t}};e.a=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(35);e.default=i.a.extend({secureJSON:!1,constructor:function(){r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,function(t,e,n,i){return t.call(this,e,n,r.default.extend({dataType:"secureJSON"},i))})),i.a.apply(this,arguments)}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(11),o=function(t){var e=r.default.omit(t.local,r.default.keys(t._builtInLocalProps));return r.default.size(t.props)+r.default.size(e)>0},s=i.default.extend({flat:!1,constructor:function(){i.default.apply(this,arguments),this.on("sync",this._setSynced)},allows:function(){return!o(this)||i.default.prototype.allows.apply(this,arguments)},set:function(t,e){var n=void 0;return"object"===(void 0===t?"undefined":(0,a.default)(t))?n=t:(n={})[t]=e,Object(r.default)(n).each(function(t,e){t&&r.default.isArray(t.__attributes)&&this.on("change:"+t.__attributes.join(" change:"),function(){var t=this.get(e);t!==this.__schema__.computedProperties[e]&&(this.__schema__.computedProperties[e]=t,this.trigger("change:"+e,t))},this)},this),i.default.prototype.set.apply(this,arguments)},get:function(){var t=i.default.prototype.get.apply(this,arguments);return r.default.isFunction(t)?t.apply(this,r.default.map(t.__attributes||[],this.get,this)):t},toJSON:function(t){t||(t={});var e=i.default.prototype.toJSON.apply(this,arguments);return Object(r.default)(e).each(function(n,r){"function"==typeof n&&(t.verbose?e[r]=this.get(r):delete e[r])},this),t.verbose||Object(r.default)(e).each(function(t,n){/^__\w+__$/.test(n)&&delete e[n]}),e},sanitizeAttributes:function(t){var e={};return r.default.each(t,function(t,n){r.default.isFunction(t)||(e[n]=t)}),e},reset:function(t){this.clear(t),this.set(this.sanitizeAttributes(this.defaults),t)},clear:function(t){var e={};return r.default.each(this.sanitizeAttributes(this.attributes),function(t,n){e[n]=void 0}),this.set(e,r.default.extend({},t,{unset:!0}))},_setSynced:function(t){this._syncedData=t&&r.default.isFunction(t.toJSON)?t.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return r.default.isEqual(this._getSynced(),this.toJSON())}},{ComputedProperty:function(){var t=r.default.toArray(arguments),e=t.pop();return e.__attributes=t.pop(),e}});e.default=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1);e.default={redirect:function(t){window.location=t},reloadPage:function(){window.location.reload()},constantError:function(t){return function(){throw new Error(t)}},getUrlQueryString:function(t){r.default.isObject(t)||(t={});var e=r.default.without(r.default.map(t,function(t,e){if(void 0!==t&&null!==t)return e+"="+encodeURIComponent(t)}),void 0).join("&");return r.default.isEmpty(e)?"":"?"+e},isABaseView:function(t){return t instanceof i.default||t.prototype instanceof i.default||t===i.default}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(0),s=n(14),a=n(15),u=n(7),l=n(13),c=n(3),f=n(18),p=c.default.localize,d=l.a.STRING,h=l.a.NUMBER,m=l.a.INTEGER,g=l.a.OBJECT,v=function(t,e){return t+"of"+e},y=a.default.extend({defaults:{description:void 0,minLength:void 0,maxLength:void 0,format:void 0},parse:function(t){if(i.default.isString(t.format)){var e=/^\/(.+)\/$/.exec(t.format);e&&(t.format=e[1])}return t}}),_=s.default.extend({model:y}),b=_.extend({_type:"allOf"}),w=_.extend({_type:"oneOf"}),x=_.extend({_type:"noneOf"}),S={string:p("schema.validation.field.value.must.string","courage"),number:p("schema.validation.field.value.must.number","courage"),integer:p("schema.validation.field.value.must.integer","courage"),object:p("schema.validation.field.value.must.object","courage")},E=/[^a-zA-Z0-9-]/,T=a.default.extend({constraintHandlers:{between:"_checkBetweenConstraints",greaterThan:"_checkGreaterThanConstraint",lessThan:"_checkLessThanConstraint",equals:"_checkEqualsConstraint"},idAttribute:"name",local:{__oneOf__:{type:"array",minItems:1}},defaults:{name:"",title:void 0,type:void 0,description:void 0,required:!1,format:void 0,union:void 0,subSchemas:void 0,settings:{permissions:{SELF:l.a.PERMISSION.READ_ONLY}},unique:void 0,__metadata__:void 0,__isSensitive__:a.default.ComputedProperty(["settings"],function(t){return!(!t||!t.sensitive)}),__unique__:!1,__isUniqueValidated__:a.default.ComputedProperty(["unique"],function(t){return t===l.a.UNIQUENESS.UNIQUE_VALIDATED}),__isPendingUniqueness__:a.default.ComputedProperty(["unique"],function(t){return t===l.a.UNIQUENESS.PENDING_UNIQUENESS}),__isUniqueness__:a.default.ComputedProperty(["__isUniqueValidated__","__isPendingUniqueness__"],function(t,e){return t||e}),__canBeSensitive__:a.default.ComputedProperty(["__metadata__"],function(t){return!(!t||!t.sensitivizable)}),__userPermission__:l.a.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:a.default.ComputedProperty(["__displayType__"],function(t){return l.a.DATATYPE[t]||t}),__supportsMinMax__:!1,__isReadOnly__:a.default.ComputedProperty(["mutability"],function(t){return t===l.a.MUTABILITY.READONLY}),__isWriteOnly__:a.default.ComputedProperty(["mutability"],function(t){return t===l.a.MUTABILITY.WRITEONLY}),__displayScope__:void 0,__isScopeSelf__:a.default.ComputedProperty(["scope"],function(t){return t===l.a.SCOPE.SELF}),__isNoneScopeArrayType__:a.default.ComputedProperty(["__isScopeSelf__","__displayType__"],function(t,e){return!t&&l.a.isArrayDataType(e)}),__isImported__:a.default.ComputedProperty(["externalName"],function(t){return!!t}),__isFromBaseSchema__:a.default.ComputedProperty(["__schemaMeta__"],function(t){return t&&"base"===t.name}),__enumDefined__:!1,__supportEnum__:a.default.ComputedProperty(["__displayType__"],function(t){return i.default.contains(l.a.SUPPORTENUM,t)}),__isNumberTypeEnum__:a.default.ComputedProperty(["__displayType__"],function(t){return i.default.contains([l.a.NUMBER,l.a.ARRAYDISPLAYTYPE.arrayofnumber],t)}),__isIntegerTypeEnum__:a.default.ComputedProperty(["__displayType__"],function(t){return i.default.contains([l.a.INTEGER,l.a.ARRAYDISPLAYTYPE.arrayofinteger],t)}),__isObjectTypeEnum__:a.default.ComputedProperty(["__displayType__"],function(t){return i.default.contains([l.a.OBJECT,l.a.ARRAYDISPLAYTYPE.arrayofobject],t)}),__isStringTypeEnum__:a.default.ComputedProperty(["__displayType__"],function(t){return i.default.contains([l.a.STRING,l.a.ARRAYDISPLAYTYPE.arrayofstring],t)}),__enumConstraintType__:a.default.ComputedProperty(["__isStringTypeEnum__","__isNumberTypeEnum__","__isIntegerTypeEnum__","__isObjectTypeEnum__"],function(t,e,n,r){return t?d:e?h:n?m:r?g:void 0}),__isEnumDefinedAndSupported__:a.default.ComputedProperty(["__enumDefined__","__supportEnum__"],function(t,e){return t&&e}),__isLoginOfBaseSchema__:a.default.ComputedProperty(["__isFromBaseSchema__","name"],function(t,e){return t&&"login"===e}),__isLoginFormatRestrictionToEmail__:a.default.ComputedProperty(["__loginFormatRestriction__"],function(t){return t===l.a.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(t){return t=i.default.clone(t),"object"===t.type&&"image"===t.extendedType&&(t.type="image"),t.__displayType__=l.a.getDisplayType(t.type,t.format,t.items?t.items.format?t.items.format:t.items.type:void 0),this._setRangeConstraints(t),t.__supportsMinMax__=-1!==l.a.SUPPORTSMINMAX.indexOf(t.__displayType__),t.__displayScope__=l.a.DISPLAYSCOPE[t.scope]||l.a.DISPLAYSCOPE.NA,t.settings&&t.settings.permissions&&t.settings.permissions.SELF&&(t.__userPermission__=t.settings.permissions.SELF),this._setMasterOverride(t),this._setSubSchemas(t),this._setUniqueness(t),t},validate:function(){var t=this._validateEnumOneOf();if(t)return t;if(this.get("__supportsMinMax__")&&this.get("__constraint__")){var e=this.get("__constraint__"),n=this[this.constraintHandlers[e]];return i.default.isFunction(n)?n.call(this):void u.default.warn("No constraint handler found for: "+e)}},_checkBetweenConstraints:function(){var t=this.get("__minVal__"),e=this.get("__maxVal__");if(t||e){if(!t)return{__minVal__:"Min value is required"};if(!e)return{__maxVal__:"Max value is required"};var n=this._checkIntegerConstraints("__minVal__","Min value");return n||((n=this._checkIntegerConstraints("__maxVal__","Max value"))||(+t>=+e?{__maxVal__:"Max val must be greater than min val"}:void 0))}},_checkGreaterThanConstraint:function(){if(this.get("__minVal__")){var t=this._checkIntegerConstraints("__minVal__","Min value");return t||void 0}},_checkLessThanConstraint:function(){if(this.get("__maxVal__")){var t=this._checkIntegerConstraints("__maxVal__","Max value");return t||void 0}},_checkEqualsConstraint:function(){if(this.get("__equals__")){var t=this._checkIntegerConstraints("__equals__","Constraint");return t||void 0}},_checkIntegerConstraints:function(t,e){var n=this.get(t),r={};return isNaN(n)?(r[t]=e+" must be a number",r):+n<0?(r[t]=e+" must be greater than 0",r):void 0},_setMasterOverride:function(t){if(t.settings&&t.settings.masterOverride&&t.settings.masterOverride){var e=t.settings.masterOverride.value;i.default.isArray(e)&&!i.default.isEmpty(e)?(t.__masterOverrideType__="OVERRIDE",t.__masterOverrideValue__=e||[]):t.__masterOverrideType__=t.settings.masterOverride.type}else t.__masterOverrideType__="INHERIT"},_setRangeConstraints:function(t){t.__displayType__===d?(t.__minVal__=t.minLength,t.__maxVal__=t.maxLength):t.__displayType__!==m&&t.__displayType__!==h||(t.__minVal__=t.minimum,t.__maxVal__=t.maximum),t.__minVal__&&t.__maxVal__?t.__minVal__===t.__maxVal__?(t.__constraint__="equals",t.__equals__=t.__minVal__):t.__constraint__="between":!t.__minVal__&&t.__maxVal__?t.__constraint__="lessThan":!t.__maxVal__&&t.__minVal__&&(t.__constraint__="greaterThan")},_setSubSchemas:function(t){t.allOf?t.subSchemas=new b(t.allOf,{parse:!0}):t.oneOf?t.subSchemas=new w(t.oneOf,{parse:!0}):t.noneOf&&(t.subSchemas=new x(t.noneOf,{parse:!0}))},_setUniqueness:function(t){var e=t&&t.unique;t.__unique__=!(!e||e!==l.a.UNIQUENESS.UNIQUE_VALIDATED&&e!==l.a.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(this.get("__isLoginOfBaseSchema__")){var t=this.get("pattern");".+"===t?this.set("__loginFormatRestriction__",l.a.LOGINPATTERNFORMAT.NONE):t?(this.set("__loginFormatRestriction__",l.a.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(t))):this.set("__loginFormatRestriction__",l.a.LOGINPATTERNFORMAT.EMAIL)}},_updateDisplayType:function(){var t=this.get("type");if(t===d&&this.get("format"))this.set("__displayType__",l.a.FORMATDISPLAYTYPE[this.get("format")]);else{var e=this.get("items"),n=e&&(e.format?e.format:e.type);t&&n?this.set("__displayType__",l.a.ARRAYDISPLAYTYPE[v(t,n)]):this.set("__displayType__",t)}},_validateEnumOneOf:function(){if(this.get("__isEnumDefinedAndSupported__")){var t=this.get("__oneOf__")||[];if(i.default.isEmpty(t))return{__oneOf__:p("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(t)){var e=this.get("__enumConstraintType__");return{__oneOf__:S[e]}}}},_isValidateOneOfConstraint:function(t){var e=this.get("__enumConstraintType__");return i.default.all(t,function(t){return f.a.isConstraintValueMatchType(t.const,e)})},toJSON:function(){var t=a.default.prototype.toJSON.apply(this,arguments);return t.settings={permissions:{}},t.settings.permissions.SELF=this.get("__userPermission__"),this.get("__isSensitive__")&&(t.settings.sensitive=this.get("__isSensitive__")),"image"===this.get("type")&&(t.type="object",t.extendedType="image"),t=this._enumAssignment(t),t=this._attributeOverrideToJson(t),t=this._normalizeUnionValue(t),t=this._patternAssignment(t),t=this._uniquenessAssignment(t)},_attributeOverrideToJson:function(t){var e=this.get("__masterOverrideType__"),n=this.get("__masterOverrideValue__");return"OKTA_MASTERED"===e?t.settings.masterOverride={type:"OKTA_MASTERED"}:"OVERRIDE"===e&&(t.settings.masterOverride={type:"ORDERED_LIST",value:[]},n instanceof s.default?i.default.each(n.toJSON(),function(e){t.settings.masterOverride.value.push(e.id)}):n instanceof Array&&(t.settings.masterOverride.value=n),i.default.isEmpty(t.settings.masterOverride.value)&&delete t.settings.masterOverride),"INHERIT"===e&&delete t.settings.masterOverride,t},_normalizeUnionValue:function(t){return this.get("__isNoneScopeArrayType__")||(t.union=void 0),t},_enumAssignment:function(t){if(!this.get("__isEnumDefinedAndSupported__"))return t;var e=this._getEnumOneOfWithTitleCheck();return"array"===this.get("type")?(delete t.items.enum,t.items.oneOf=e):(delete t.enum,t.oneOf=e),t},_patternAssignment:function(t){if(!this.get("__isLoginOfBaseSchema__")||!this.get("__loginFormatRestriction__"))return t;switch(this.get("__loginFormatRestriction__")){case l.a.LOGINPATTERNFORMAT.EMAIL:delete t.pattern;break;case l.a.LOGINPATTERNFORMAT.CUSTOM:t.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case l.a.LOGINPATTERNFORMAT.NONE:t.pattern=".+"}return t},_uniquenessAssignment:function(t){return this.get("__unique__")?this.get("__isUniqueness__")||(t.unique=l.a.UNIQUENESS.UNIQUE_VALIDATED):delete t.unique,t},_escapedRegexChar:function(t,e){var n=t.charAt(e);return E.test(n)?"\\"+n:n},_buildLoginPattern:function(t){for(var e="",n=0;n<t.length;n++)e+=this._escapedRegexChar(t,n);return"["+e+"]+"},_extractLoginPattern:function(t){var e=/^\[(.*)\]\+/,n=t.match(e);return n?n[1].replace(/\\(.)/g,"$1"):t},_getEnumOneOfWithTitleCheck:function(){var t=this.get("__oneOf__");return i.default.map(t,function(t){return""!==r.default.trim(t.title)?t:(t.title=i.default.isString(t.const)?t.const:(0,o.default)(t.const),t)})},_updateTypeFormatConstraints:function(){var t=this.get("__displayType__");this.unset("format",{silent:!0}),this.unset("items",{silent:!0}),this.set(l.a.DISPLAYTYPES[t]),t!==h&&t!==m&&(this.unset("minimum"),this.unset("maximum")),t!==d&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==l.a.SUPPORTSMINMAX.indexOf(this.get("__displayType__")))},_updateMinMax:function(){var t=void 0,e=void 0,n=this.get("__displayType__");n===d?(t="minLength",e="maxLength"):n!==m&&n!==h||(t="minimum",e="maximum"),this.get("__minVal__")?this.set(t,parseInt(this.get("__minVal__"),10)):this.unset(t),this.get("__maxVal__")?this.set(e,parseInt(this.get("__maxVal__"),10)):this.unset(e)},_convertEqualsToMinMax:function(){var t=this.get("__equals__");t&&(this.set("__minVal__",t),this.set("__maxVal__",t))},_setConstraintText:function(){var t=this.get("__constraint__"),e=this.get("__minVal__"),n=this.get("__maxVal__"),r=this.get("__equals__");switch(t){case"between":this.set("__constraintText__","Between "+e+" and "+n);break;case"greaterThan":this.set("__constraintText__","Greater than "+e);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.a.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:l.a.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 t=this.getEnumValues();t&&(this.set("__oneOf__",f.a.convertToOneOf(t)),this.set("__enumDefined__",!0))}}),k=s.default.extend({model:T,clone:function(){return new this.constructor(this.toJSON({verbose:!0}),{parse:!0})},areAllReadOnly:function(){return i.default.all(this.pluck("__isReadOnly__"))},createModelProperties:function(){return this.reduce(function(t,e){var n=e.get("type");return t[e.id]=i.default.clone(l.a.DISPLAYTYPES[n]),-1!==l.a.SUPPORTSMINMAX.indexOf(n)&&(t[e.id].minLength=e.get("minLength"),t[e.id].maxLength=e.get("maxLength")),"string"===n&&(t[e.id].format=e.get("format")),t},{})}});e.default={Model:T,Collection:k}},function(t,e,n){function r(t){var e=a(t.enumValues),n={name:t.name,label:t.title,readOnly:t.readOnly,customExplain:t.explain,params:{enumOneOf:e},options:s(e)};return E.a.isArrayDataType(t.displayType)?(n.type="checkboxset",n.to=m,n.from=g):(n.type="select",n.to=h,n.from=d),n.input=null,n}function i(t){return S.default.isArray(t)?s(a(t)):{}}function s(t){return u(t)?S.default.reduce(t,function(t,e,n){return t[p(n)]=e.title,t},{}):{}}function a(t){return S.default.all(t,x.default.isPlainObject)?u(t)?t:f(t):l(t)}function u(t){return S.default.isArray(t)&&S.default.all(t,function(t){return S.default.has(t,"const")&&S.default.has(t,"title")})}function l(t){return S.default.map(t,function(t){return{const:t,title:c(t)}})}function c(t){return S.default.isObject(t)?(0,o.default)(t):S.default.isNumber(t)?t+"":t}function f(t){var e=S.default.partial(S.default.has,S.default,k);return S.default.all(t,e)?S.default.chain(t).filter(function(t){return x.default.isPlainObject(t)&&S.default.has(t,k)}).map(function(t){return{const:t,title:t[k]}}).value():l(t)}function p(t){return""+C+t}function d(t){var e=S.default.findIndex(this.options.params.enumOneOf,function(e){return S.default.isObject(t)?S.default.isEqual(e.const,t):e.const===t});return e>-1?p(e):t}function h(t){if(!S.default.isString(t)||0!==t.indexOf(C))return t;var e=t.replace(C,""),n=this.options.params&&S.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[e]:null;return S.default.has(n,"const")?n.const:n}function m(t){return S.default.map(t,h.bind(this))}function g(t){return S.default.map(t,d.bind(this))}function v(t){return S.default.isString(t)&&""!==x.default.trim(t)}function y(t){return S.default.isNumber(t)||S.default.isNumber(T.default.parseFloat(x.default.trim(t)))}function _(t){var e=S.default.isNumber(t)?t:T.default.parseInt(x.default.trim(t));return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function b(t){if(S.default.isObject(t)&&!S.default.isArray(t))return!0;var e=T.default.parseObject(x.default.trim(t));return S.default.isObject(e)&&!S.default.isArray(e)}function w(t,e){switch(e){case E.a.STRING:return v(t);case E.a.NUMBER:return y(t);case E.a.INTEGER:return _(t);case E.a.OBJECT:return b(t)}}var x=n(2),S=n(0),E=n(13),T=n(3),k="name",C="_enum_";e.a={getEnumInputOptions:r,getDropdownOptions:i,convertToOneOf:a,isConstraintValueMatchType:w}},function(t,e,n){function r(t,e){var n=a.default.result(t,"root")||"";return n&&a.default.isString(e)?[n,e].join("/").replace(/\/{2,}/g,"/"):e}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=n.n(i),s=n(2),a=n(0),u=n(7),l=n(20),c=n(21),f=n.n(c),p=n(40);e.default=o.a.Router.extend({root:"",listen:p.a.prototype.listen,constructor:function(t){t||(t={}),this.el=t.el,this.settings=new l.a(a.default.omit(t,"el")),t.root&&(this.root=t.root),o.a.Router.apply(this,arguments),this.listen("notification",this._notify),this.listen("confirmation",this._confirm)},_confirm:function(t){t||(t={});var e=f.a.extend(a.default.pick(t,"title","subtitle","save","ok","cancel","cancelFn","noCancelButton","content","danger","type","closeOnOverlayClick")),n=new e({model:this.settings});return n.render(),n},_notify:function(t){var e=new p.a(t);return Object(s.default)("#content").prepend(e.render().el),e},render:function(t,e){this.unload(),e=a.default.extend(a.default.pick(this,"settings","el"),e||{}),this.controller=new t(e),this.controller.render()},start:function(){var t=arguments;Object(s.default)(function(){if(o.a.History.started)return void u.default.error("History has already been started");o.a.history.start.apply(o.a.history,t)})},unload:function(){this.controller&&(this.stopListening(this.controller),this.stopListening(this.controller.state),this.controller.remove())},route:function(t,e,n){return o.a.Router.prototype.route.call(this,r(this,t),e,n)},navigate:function(t,e){return o.a.Router.prototype.navigate.call(this,r(this,t),e)}})},function(t,e,n){var r=n(0),i=n(11);e.a=i.default.extend({local:function(){var t=window.okta&&window.okta.settings||{};return{orgId:["string",!1,t.orgId],orgName:["string",!1,t.orgName],serverStatus:["string",!1,t.serverStatus],persona:["string",!1,t.persona],isDeveloperConsole:["boolean",!1,t.isDeveloperConsole],isPreview:["boolean",!1,t.isPreview],permissions:["array",!0,t.permissions||[]]}},extraProperties:!0,constructor:function(){this.features=window._features||[],i.default.apply(this,arguments)},hasFeature:function(t){return window._possibleFeatures&&!r.default.contains(window._possibleFeatures,t)&&window.okta&&window.okta.logHasFeatureError&&window.okta.logHasFeatureError(t),r.default.contains(this.features,t)},hasAnyFeature:function(t){return r.default.some(t,this.hasFeature,this)},hasPermission:function(t){return r.default.contains(this.get("permissions"),t)}})},function(t,e,n){var r;void 0!==(r=function(){}.call(e,n,e,t))&&(t.exports=r)},function(t,e,n){function r(t,e){for(var n=0;n<t[c].length;n++)if(e.cid===t[c][n].cid)return n}function i(){}function o(t){t[f]=!0;var e=t.renderTemplate(t.template);e?t.$el.html(e):t.length&&t.$el.empty(),t.each(function(t){t[d]()})}function s(t){var e=/^(?!(?:delegate|undelegate|_))([a-zA-Z0-9]+)(?:Events)$/;a.default.each(a.default.allKeys(t),function(n){var r=n.match(e);if(r){var i=a.default.result(t,n),o=t.options[r[1]]||t[r[1]];o&&a.default.isObject(i)&&a.default.isFunction(o.trigger)&&a.default.each(i,function(e,n){var r=a.default.isFunction(e)?[e]:a.default.reduce(e.split(/\s+/),function(e,n){return a.default.isFunction(t[n])&&e.push(t[n]),e},[]);a.default.each(r,function(e){t.listenTo(o,n,e)})})}})}var a=n(0),u=n(6),l=n.n(u),c="__children__",f="__rendered__",p="__parent__",d="__add_to_container__",h=l.a.View.extend({constructor:function(t){this.options=t||{},a.default.extend(this,a.default.pick(this.options,"state","settings")),this[c]=[],this[f]=!1,this[p]=null,this.__children_definitions__=this.children;var e=this.initialize;if(this.initialize=i,l.a.View.apply(this,arguments),a.default.each(a.default.result(this,"__children_definitions__"),function(t){this.add.apply(this,a.default.isArray(t)?t:[t])},this),delete this.__children_definitions__,this.autoRender&&this.model){var n=a.default.isArray(this.autoRender)?a.default.map(this.autoRender,function(t){return"change:"+t}).join(" "):"change";this.listenTo(this.model,n,function(){this.render()})}this.initialize=e,this.initialize.apply(this,arguments),s(this)},unregister:function(t){this.stopListening(t);var e=r(this,t);a.default.isNumber(e)&&this[c].splice(e,1)},autoRender:!1,template:null,children:[],add:function(t,e,n,i,o){var s={},u=a.default.toArray(arguments);if(a.default.isObject(e)?(s=e,e=s.selector,n=s.bubble,i=s.prepend,o=s.options):a.default.isObject(n)&&(s=n,n=s.bubble,i=s.prepend,o=s.options),a.default.isString(t)&&(t=function(t){return h.extend({constructor:function(){try{var e=l.a.$(t);if(1!=e.length)throw"invalid Element";var n=/&(\w+|#x\d+);/g;if(e.prop("outerHTML").replace(n," ").length!==t.replace(n," ").length)throw"invalid Element";this.template=e.html(),this.el=e.empty()[0]}catch(e){this.template=t}h.apply(this,arguments)}})}(t)),t.prototype&&t.prototype instanceof h){var f=a.default.omit(a.default.extend({},this.options,o),"el");return u[0]=new t(f),this.add.apply(this,u)}if(a.default.isNumber(r(this,t)))throw new Error("Duplicate child");return t[p]=this,t[d]=function(e){return function(){if(e&&1!=t[p].$(e).length)throw new Error("Invalid selector: "+e);var n=e?this[p].$(e):this[p].$el;this.render(),this.delegateEvents(),i?n.prepend(this.el):n.append(this.el)}}.call(t,e),n&&this.listenTo(t,"all",function(){this.trigger.apply(this,arguments)}),this.rendered()&&t[d](),this[c].push(t),this},removeChildren:function(){return this.each(function(t){t.remove()}),this},remove:function(){return this.removeChildren(),this[p]&&this[p].unregister(this),l.a.View.prototype.remove.apply(this,arguments)},compileTemplate:function(t){return a.default.template(t)},renderTemplate:function(t){if(a.default.isString(t)&&(t=this.compileTemplate(t)),a.default.isFunction(t))return t(this.getTemplateData())},getTemplateData:function(){var t=this.model&&this.model.toJSON({verbose:!0})||{},e=a.default.omit(this.options,["state","settings","model","collection"]);return a.default.defaults({},t,e)},render:function(){return this.preRender(),o(this),this.postRender(),this},preRender:i,postRender:i,rendered:function(){return this[f]},getChildren:function(){return this.toArray()},at:function(t){return this.getChildren()[t]},invoke:function(t){var e=a.default.toArray(arguments);return this.each(function(n){n.size()&&n.invoke.apply(n,e),a.default.isFunction(n[t])&&n[t].apply(n,e.slice(1))}),this}}),m=["each","map","reduce","reduceRight","find","filter","reject","every","some","contains","toArray","size","first","initial","rest","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain","where","findWhere"];a.default.each(m,function(t){h.prototype[t]=function(){var e=a.default.toArray(arguments);return e.unshift(a.default.toArray(this[c])),a.default[t].apply(a.default,e)}},this),e.a=h},function(t,e,n){function r(t){var e=i.default.extend(t.click?{click:t.click}:{},t.events||{}),n={};return i.default.each(e,function(e,r){n[r]=function(n){t.href||(n.preventDefault(),n.stopPropagation()),e.apply(this,arguments)}}),n}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=n(42);e.default={create:function(t){return t=i.default.clone(t),t.attrs=t.attributes,delete t.attributes,o.a.extend(i.default.extend(t,{events:r(t)}))}}},function(t,e,n){function r(t){return"change:"+s.default.keys(t).join(" change:")}function i(t,e){var n=this.model.get(e);return s.default.isFunction(t)?t.call(this,n):t===n}function o(t,e,n){var i=s.default.bind(n,t,t,e);t.render=s.default.wrap(t.render,function(e){var n=e.call(t);return i({animate:!1}),n}),t.listenTo(t.model,r(e),function(){i({animate:!0})})}var s=n(0);e.a={applyDoWhen:function(t,e,n){t.model&&s.default.isObject(e)&&s.default.size(e)&&s.default.isFunction(n)&&o(t,e,function(t,e,r){var o=s.default.every(s.default.map(e,i,t));n.call(t,o,r)})}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(9);e.default=i.default.extend({className:"o-form-button-bar",initialize:function(t){this.addButton({type:"save",text:r.default.resultCtx(t,"save",this),id:r.default.resultCtx(t,"saveId",this),className:r.default.resultCtx(t,"saveClassName",this)}),t.noCancelButton||this.addButton({type:"cancel",text:r.default.resultCtx(t,"cancel",this)}),t.hasPrevStep&&this.addButton({type:"previous"},{prepend:!0})},addButton:function(t,e){return this.add(o.default.createButton(t),e)}})},function(t,e,n){function r(t){return i.default.isFunction(t)?i.default.isFunction(t.prototype.editMode)&&i.default.isFunction(t.prototype.readMode):i.default.isObject(t)&&i.default.isFunction(t.editMode)&&i.default.isFunction(t.readMode)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o={};e.default={isBaseInput:r,register:function(t,e){o[t]=e},get:function(t){var e=o[t.type];return e&&(r(e)?e:e(t))},unregister:function(t){delete o[t]}}},function(t,e){t.exports=n(159)},function(t,e,n){function r(t){return this.params.autoWidth?t.call(this):u.default.defer(u.default.bind(t,this))}function i(t){t.$select.hide();var e=Object(a.default)(t.$select[0]).hide();Object(a.default)("body").append(e);var n=t.params.width=1.2*e.width()+"px";return t.$el.append(e.show()),n}function o(t,e,n){var r=n.offset();t.css({left:r.left,top:r.top});var i=Object(a.default)(window),o=e.outerHeight(),s=o+e.offset().top-i.scrollTop(),u=i.height()-m,l=Math.min(o+u-s,g);e.css("max-height",l)}function s(t){var e=t.next(".chzn-container"),n=e.clone(),r=e.find(".chzn-results");n.css("visibility","hidden"),n.removeAttr("id"),n.find("li").removeAttr("id");var i={left:e.css("left"),top:e.css("top"),position:e.css("position"),float:e.css("float"),"z-index":e.css("z-index")};r.hide();var s=u.default.debounce(function(){o(e,r,n)},10);t.off(".fixChosen"),t.on("liszt:showing_dropdown.fixChosen",function(){e.width(e.width()),t.after(n),e.css({position:"absolute",float:"none","z-index":v,top:-999999}),Object(a.default)("body").append(e),r.show(),o(e,r,n),t.parents().scroll(s),Object(a.default)(window).on("resize scroll",s)}),t.on("liszt:hiding_dropdown.fixChosen remove.fixChosen",function(){t.parents().off("scroll",s),Object(a.default)(window).off("resize scroll",s),e.css(i),r.hide(),r.css("max-height",g),n.remove(),t.after(e)})}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),u=n(0),l=n(8),c=n(4),f=n(66),p=(n.n(f),n(10)),d=c.default.tpl('<select id="{{inputId}}" name="{{name}}"></select>'),h=c.default.tpl('<option value="{{key}}">{{value}}</option>'),m=20,g=240,v=5e4;e.default=p.a.extend({className:"o-form-select",events:{"change select":"update","keyup .chzn-search > :text":function(t){l.default.isEsc(t)&&(this.$(".chzn-search > :text").val(""),t.stopPropagation())}},constructor:function(){this.template=d,this.option=h,p.a.apply(this,arguments),this.params=this.options.params||{}},editMode:function(){this.$el.html(d(this.options)),this.$select=this.$("select");var t=this.getOptions();u.default.each(t,function(t,e){this.$select.append(h({key:e,value:t}))},this);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},__applyChosen:function(t){var e=this.options.wide?"100%":this.params.width||"62%";this.params.autoWidth&&(e=i(this)),r.call(this,function(){var n=this.getParam("searchThreshold",10);u.default.result(this.options,"autoRender")||!1===t||this.update(),this.$select.chosen({width:e,disable_search_threshold:n,placeholder_text:this.options.placeholder}),s(this.$select),this.params.autoWidth&&this.$el.width(0),this.model.trigger("form:resize")})},val:function(){return this.$select&&this.$select.val()},focus:function(){if(this.$select)return this.$select.focus()},toStringValue:function(){var t=this.getModelValue(),e=t,n=this.getOptions();return u.default.isEmpty(n)||(e=n[t]),u.default.isUndefined(e)&&(e=this.defaultValue()),e||""},getOptions:function(){var t=this.options.options;return u.default.isFunction(t)&&(t=t.call(this)),u.default.isObject(t)?t:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),p.a.prototype.remove.apply(this,arguments)}})},function(t,e,n){e.a={DEBOUNCE_DELAY:200,LOADING_FADE:400,UNLOADING_FADE:400,ROW_EXPANDER_TRANSITION:150,HIDE_ADD_MAPPING_FORM:300}},function(t,e,n){var r,i;r=[n(12)],void 0!==(i=function(t){var e=t;t.fn.customInput=function(){return e(this).each(function(){if(e(this).is("[type=checkbox],[type=radio]")){var t=e(this),n=t.siblings('label[for="'+t.attr("id")+'"]:first');n.length||(n=t.closest('label[for="'+t.attr("id")+'"]:first')),t.add(n).wrapAll('<div class="custom-'+t.attr("type")+'"></div>'),n.hover(function(){e(this).addClass("hover")},function(){e(this).removeClass("hover")}),t.bind("updateState",function(){t.is(":checked")?n.addClass("checked"):n.removeClass("checked checkedHover checkedFocus")}).trigger("updateState").click(function(){e('input[name="'+e(this).attr("name")+'"]').trigger("updateState")}).focus(function(){n.addClass("focus"),t.is(":checked")&&e(this).addClass("checkedFocus")}).blur(function(){n.removeClass("focus checkedFocus")})}})}}.apply(e,r))&&(t.exports=i)},function(t,e,n){function r(t){var e=t.title,n=t.text;return e&&n&&e!==n}function i(t){return r(t)?t:{text:t.text||t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),s=n(27),a=(n.n(s),n(8)),u=n(4),l=n(72),c=(n.n(l),n(10)),f="okta-form-input-field input-fix";e.default=c.a.extend({template:u.default.tpl('      {{#if params.innerTooltip}}        <span class="input-tooltip icon form-help-16"></span>      {{/if}}      {{#if params.icon}}        <span class="icon input-icon {{params.icon}}"></span>      {{/if}}      <input type="{{type}}" placeholder="{{placeholder}}" name="{{name}}" id="{{inputId}}"       value="{{value}}" aria-label="{{placeholder}}" autocomplete="off"/>      {{#if params.iconDivider}}        <span class="input-icon-divider"></span>      {{/if}}      '),events:{"input input":"update","change input":"update","keydown input":"update","keyup input":function(t){a.default.isEnter(t)?this.model.trigger("form:save"):a.default.isEsc(t)&&this.model.trigger("form:cancel")}},constructor:function(){c.a.apply(this,arguments),this.$el.addClass("o-form-control")},editMode:function(){this.$el.addClass(f),c.a.prototype.editMode.apply(this,arguments),this.$("input").placeholder()},readMode:function(){c.a.prototype.readMode.apply(this,arguments),"password"===this.options.type&&this.$el.text("********"),this.$el.removeClass(f)},val:function(){var t=this.$('input[type="'+this.options.type+'"]').val();return"password"!==this.options.type&&(t=o.default.trim(t)),t},focus:function(){return this.$("input").focus()},postRender:function(){var t=this.options.params,e=void 0;t&&t.innerTooltip&&(e=i(t.innerTooltip),this.$(".input-tooltip").qtip({content:e,style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse",adjust:{method:"flip",mouse:!0,y:-5,x:5},viewport:Object(o.default)("body")}}))}})},function(t,e,n){t.exports=n(33)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var i=n(14),o=r(i),s=n(15),a=r(s),u=n(37),l=r(u),c=n(11),f=r(c),p=n(17),d=r(p),h=n(39),m=r(h),g=n(19),v=r(g),y=n(23),_=r(y),b=n(43),w=r(b),x=n(44),S=r(x),E=n(8),T=r(E),k=n(7),C=r(k),A=n(3),O=r(A),N=n(4),I=r(N),R=n(16),P=r(R),M=n(46),L=r(M),D=n(2),F=r(D),U=n(0),j=r(U),B=n(53),q=r(B),H=n(1),V=r(H),W=n(55),$=r(W),z=n(56),G=r(z),K=n(25),Y=r(K),J=n(9),Q=r(J),X=n(26),Z=r(X),tt=n(64),et=r(tt),nt=n(70),rt=r(nt),it=n(71),ot=r(it),st=n(73),at=r(st),ut=n(28),lt=r(ut),ct=n(31),ft=r(ct),pt=n(6),dt=r(pt),ht={Backbone:dt.default,$:F.default,_:j.default,Handlebars:L.default,loc:O.default.localize,createButton:_.default.create,registerInput:Z.default.register,tpl:I.default.tpl,Model:f.default,BaseModel:a.default,Collection:o.default,View:V.default,ListView:q.default,Router:v.default,Controller:m.default,Form:G.default,internal:{util:{Util:P.default,Cookie:S.default,Logger:C.default,Class:w.default,Keys:T.default},views:{components:{BaseDropDown:$.default},forms:{helpers:{FormUtil:Q.default,SchemaFormFactory:et.default},components:{Toolbar:Y.default},inputs:{TextBox:ft.default,PasswordBox:ot.default,CheckBox:rt.default,Radio:at.default,Select:lt.default}}},models:{BaseSchema:l.default,SchemaProperty:d.default}}};ht.registerInput("text",ft.default),ht.registerInput("password",ot.default),ht.registerInput("checkbox",rt.default),ht.registerInput("radio",at.default),ht.registerInput("select",lt.default),t.exports=ht},function(t,e){t.exports=n(145)},function(t,e,n){function r(t,e){try{var n=s(e.getResponseHeader("link"));t[c].set(f,!0),t.setPagination(n.next.href)}catch(e){t[c].get(f)&&t.setPagination(null)}}function i(t){for(var e={},n=t&&t.split("?")[1],r=n&&decodeURIComponent(n.split("#")[0]).replace(/\+/g," "),i=r?r.split("&"):[],o=0;o<i.length;o++){var s=i[o].split("=");e[s.shift()]=s.join("=")}return e}function o(t){return'"'==t.charAt(0)&&'"'==t.charAt(t.length-1)?t.substring(1,t.length-1):t}function s(t){for(var e=/<[^>]*>\s*(\s*;\s*[^()<>@,;:"\/[\]?={} \t]+=(([^()<>@,;:"\/[\]?={} \t]+)|("[^"]*")))*(,|$)/g,n=/[^()<>@,;:"\/[\]?={} \t]+=(([^()<>@,;:"\/[\]?={} \t]+)|("[^"]*"))/g,r=t.match(e),i={},s=0;s<r.length;s++){var a=r[s].split(">"),u=a[0].substring(1),l={};l.href=u;for(var c=a[1].match(n),f=0;f<c.length;f++){var p=c[f].split("=");l[p[0]]=o(p[1])}void 0!==l.rel&&(i[l.rel]=l)}return i}var a=n(0),u=n(6),l=n.n(u),c="__STATE__",f="LINK_BY_HEADER";e.a=l.a.Collection.extend({params:{},constructor:function(t,e){(this[c]=new l.a.Model).set("DEFAULT_PARAMS",a.default.defaults(e&&e.params||{},this.params||{})),l.a.Collection.apply(this,arguments)},sync:function(t,e,n){var i=this,o=n.success;return n.success=function(t,e,n){r(i,n),o.apply(null,arguments)},l.a.Collection.prototype.sync.call(this,t,e,n)},fetch:function(t){t||(t={});var e=this[c],n=e.get("XHR");return t.data=a.default.extend({},e.get("DEFAULT_PARAMS"),t.data||{}),t.fromFetch=!0,e.set("FETCH_DATA",t.data),n&&n.abort&&!1!==t.abort&&n.abort(),n=l.a.Collection.prototype.fetch.call(this,t),e.set("XHR",n),n},setPagination:function(t,e){a.default.isString(t)&&t&&(t=i(t)),a.default.isObject(t)&&!a.default.isArray(t)&&a.default.size(t)?e&&e.fromFetch&&(t=a.default.extend({},this.getFetchData(),t)):t=null,this[c].set("PAGINATION_DATA",t)},getFetchData:function(){return this[c].get("FETCH_DATA")||{}},getPaginationData:function(){return this[c].get("PAGINATION_DATA")||{}},hasMore:function(){return a.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(t,e){return e||(e={}),e.fromFetch||this.setPagination(null),l.a.Collection.prototype.reset.apply(this,arguments)},where:function(t,e){return a.default.isEmpty(t)?e?void 0:[]:this[e?"find":"filter"](function(e){for(var n in t)if(t[n]!==e.get(n))return!1;return!0})},create:function(t,e){return e||(e={}),a.default.result(t,"urlRoot")||(e.url=a.default.result(this,"url")),l.a.Collection.prototype.create.call(this,t,e)}})},function(t,e,n){function r(t,e,n,i){var o=m.default.contains(e,n);return i||(i={}),o||!m.default.isObject(t)||m.default.isArray(t)||m.default.isFunction(t)?void 0!==n&&(i[n]=t):m.default.each(t,function(t,o){r(t,e,n?n+"."+o:o,i)}),i}function i(t){return m.default.each(t,function(t,e,n){if(-1!=e.indexOf(".")){for(var r,i=n,o=e.split(".");void 0!==(r=o.shift());)i[r]||(i[r]=o.length?{}:t),i=i[r];delete n[e]}}),t}function o(t,e){var n={};return n[t.name]=e,n}function s(t,e){var n;return n=m.default.isString(t)?{type:t}:m.default.isArray(t)?{type:t[0],required:t[1],value:t[2]}:m.default.clone(t),m.default.defaults(n,{required:!1,name:e}),n}function u(t){return t.toLowerCase().replace(/\b[a-z]/g,function(t){return t.toUpperCase()})}function l(t,e,n){if(!e.test(t))return n}function c(t,e){var n=_[t.format];if(t.format&&!n)throw new TypeError(t.format+" is not a supported string format");return n&&n(e)}function f(t,e){var n=m.default.partial(o,t),r=c(t,e);return r?n(r):e&&t.minLength&&e.length<t.minLength?n(h.ERROR_STRING_STRING_MIN_LENGTH,e.length):e&&t.maxLength&&e.length>t.maxLength?n(h.ERROR_STRING_STRING_MAX_LENGTH,e.length):void 0}function p(t,e){var n,r,i=m.default.partial(o,t),s=!m.default.isUndefined(e)&&!m.default.isNull(e);if(t.required&&(!s||m.default.isNull(e)||""===e))return i(h.ERROR_BLANK);if(n=m.default["is"+u(t.type)],s&&"any"!=t.type&&(!m.default.isFunction(n)||!n(e)))return i(h.ERROR_WRONG_TYPE);if(e&&"string"==t.type){var a=f(t,e);if(a)return a}if(s&&t.values&&!m.default.contains(t.values,e))return i(h.ERROR_NOT_ALLOWED);if(m.default.isFunction(t.validate)){var l=t.validate(e);if(m.default.isString(l)&&l)return i(l);if(!1===l)return i(h.ERROR_INVALID)}return s&&"array"==t.type&&(r=d(t,e))?i(r):void 0}function d(t,e){if(t.minItems&&e.length<t.minItems)return"model.validation.field.array.minItems";if(t.maxItems&&e.length>t.maxItems)return"model.validation.field.array.maxItems";if(t.uniqueItems&&e.length>m.default.uniq(e).length)return h.ERROR_IARRAY_UNIQUE;if(t.items)for(var n=s(t.items,"placeholder"),r=0;r<e.length;r++){var i=e[r],o=p(n,i);if(o)return o.placeholder}}var h,m=n(0),g=n(6),v=n.n(g),y=n(7),_={email:function(t){return l(t,/^(([^<>()[\]\\.,;:\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,}))$/,h.ERROR_INVALID_FORMAT_EMAIL)},uri:function(t){return l(t,/^(?:(?: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,h.ERROR_INVALID_FORMAT_URI)},ipv4:function(t){return l(t,/^(?:(?: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]?)$/,h.ERROR_INVALID_FORMAT_IPV4)},hostname:function(t){return l(t,/^(([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])$/,h.ERROR_INVALID_FORMAT_HOSTNAME)}};h=v.a.Model.extend({props:{},derived:{},local:{},flat:!0,defaults:{},constructor:function(t){this.options=t||{};var e=this.__schema__={},n=[];e.computedProperties={},e.props=m.default.clone(m.default.result(this,"props")||{}),e.derived=m.default.clone(m.default.result(this,"derived")||{}),e.local=m.default.clone(m.default.result(this,"local")||{});var i={};if(m.default.each(m.default.extend({},e.props,e.local),function(t,e){var r=s(t,e);m.default.isUndefined(r.value)||(i[e]=r.value),"object"===r.type&&n.push(e)},this),m.default.size(i)){var o=m.default.result(this,"defaults");this.defaults=function(){return m.default.defaults({},i,o)}}this.validate=m.default.wrap(this.validate,function(t){var e=m.default.rest(arguments),n=m.default.extend(this._validateSchema.apply(this,e),t.apply(this,e));return m.default.size(n)&&n||void 0}),this.parse=m.default.wrap(this.parse,function(t){var e=t.apply(this,m.default.rest(arguments));return this.flat&&(e=r(e,n)),e}),v.a.Model.apply(this,arguments),m.default.each(e.derived,function(t,n){e.computedProperties[n]=this.__getDerivedValue(n);var r=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(t){var e=this.__schema__,n=m.default.extend({},e.props,e.local);return m.default.has(n,t)||y.default.warn("Field not defined in schema",t),!0},getPropertySchema:function(t){var e=this.__schema__;return m.default.reduce([e.props,e.local],function(e,n){return e||s(n[t],t)},null)},set:function(t,e){var n;"object"===(void 0===t?"undefined":(0,a.default)(t))?n=t:(n={})[t]=e,m.default.each(n,function(t,e){if(m.default.has(this.__schema__.derived,e))throw"overriding derived properties is not supported: "+e},this);var r=[];if(m.default.each(n,function(t,e){this.allows(e)||r.push(e)},this),r.length)throw"field not allowed: "+r.join(", ");return v.a.Model.prototype.set.apply(this,arguments)},get:function(t){var e=this.__schema__;return m.default.has(e.derived,t)?!1!==e.derived[t].cache?e.computedProperties[t]:this.__getDerivedValue(t):v.a.Model.prototype.get.apply(this,arguments)},toJSON:function(t){t||(t={});var e=m.default.clone(v.a.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;return t.verbose?m.default.each(n.derived,function(t,n){e[n]=this.get(n)},this):e=m.default.omit(e,m.default.keys(n.local)),this.flat&&(e=i(e)),e},reset:function(t){this.clear(t),this.set(m.default.result(this,"defaults"),t)},isSynced:function(){return m.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(t){var e=t&&this.getPropertySchema(t);return e&&p(e,this.get(t))},_validateSchema:function(){var t=this.__schema__;return m.default.reduce(m.default.extend({},t.props,t.local),function(t,e,n){return m.default.extend(t,this.validateField(n)||{})},{},this)},__getDerivedValue:function(t){var e=this.__schema__.derived[t];if(m.default.isString(e)){var n=e;e={deps:[n],fn:function(){return this.get(n)}}}var r=e.deps||[];return e.fn.apply(this,m.default.map(r,this.get,this))}},{ERROR_BLANK:"model.validation.field.blank",ERROR_WRONG_TYPE:"model.validation.field.wrong.type",ERROR_NOT_ALLOWED:"model.validation.field.value.not.allowed",ERROR_INVALID:"model.validation.field.invalid",ERROR_IARRAY_UNIQUE:"model.validation.field.array.unique",ERROR_INVALID_FORMAT_EMAIL:"model.validation.field.invalid.format.email",ERROR_INVALID_FORMAT_URI:"model.validation.field.invalid.format.uri",ERROR_INVALID_FORMAT_IPV4:"model.validation.field.invalid.format.ipv4",ERROR_INVALID_FORMAT_HOSTNAME:"model.validation.field.invalid.format.hostname",ERROR_STRING_STRING_MIN_LENGTH:"model.validation.field.string.minLength",ERROR_STRING_STRING_MAX_LENGTH:"model.validation.field.string.maxLength"}),e.a=h},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(14),o=n(15),s=n(17),a=function(t){var e=r.default.pick(t,"id","name","displayName"),n=r.default.map(t.schema.properties,function(t,e){return r.default.extend({name:e},t)});return r.default.each(n,function(t){t.__schemaMeta__=e,t.__metadata&&(t.__metadata__=t.__metadata,delete t.__metadata)}),n},u=o.default.extend({defaults:{id:void 0,displayName:void 0,name:void 0},constructor:function(){this.properties=new s.default.Collection,o.default.apply(this,arguments)},getProperties:function(){return this.properties},clone:function(){var t=o.default.prototype.clone.apply(this,arguments);return t.getProperties().set(this.getProperties().toJSON({verbose:!0})),t},parse:function(t){var e=a(t);return this.properties.set(e,{parse:!0}),r.default.omit(t,"schema")},trimProperty:function(t){return r.default.omit(t,"name")},toJSON:function(){var t=o.default.prototype.toJSON.apply(this,arguments);return t.schema={properties:{}},this.getProperties().each(function(e){var n=e.toJSON();t.schema.properties[n.name]=this.trimProperty(n)},this),t},save:function(){return this.getProperties().each(function(t){t.cleanup()}),o.default.prototype.save.apply(this,arguments)}}),l=i.default.extend({model:u});e.default={parseProperties:a,Model:u,Collection:l}},function(t,e){t.exports=n(160)},function(t,e,n){function r(t){var e={};return o.default.each(t,function(t,n){o.default.isNull(t)||(e[n]=t)}),e}Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(0),s=n(19),a=n(20),u=n(41),l=n(1);e.default=l.default.extend({constructor:function(t){if(t||(t={}),t.state instanceof u.a||this.state instanceof u.a)this.state=t.state||this.state;else{var e=o.default.defaults(r(t.state),this.state||{});this.state=new u.a(e),delete t.state}t.settings?this.settings=t.settings:(this.settings=t.settings=new a.a(o.default.omit(t||{},"el")),this.listen("notification",s.default.prototype._notify),this.listen("confirmation",s.default.prototype._confirm)),l.default.call(this,t),this.listenTo(this.state,"__invoke__",function(){var t=o.default.toArray(arguments),e=t.shift();o.default.isFunction(this[e])&&this[e].apply(this,t)}),this.View&&this.add(new this.View(this.toJSON()))},state:{},View:null,render:function(){var t=arguments,e=this;return Object(i.default)(function(){l.default.prototype.render.apply(e,t)}),this},toJSON:function(t){return o.default.extend(o.default.pick(this,"state","settings","collection","model"),t||{})},remove:function(){return this.removeChildren(),this.stopListening(),this.$el.empty(),this}})},function(t,e,n){var r=n(2),i=n(0),o=n(1),s={level:"success",message:"Great Success!",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1};e.a=o.default.extend({className:"infobox infobox-confirm infobox-confirm-fixed",events:{"click .infobox-dismiss-link":function(t){t.preventDefault(),this.fadeOut()}},template:'      {{#if dismissable}}      <a class="infobox-dismiss-link" title="Dismiss" href="#">        <span class="dismiss-icon"></span>      </a>      {{/if}}      <span class="icon {{level}}-16"></span>      {{#if title}}<h3>{{title}}</h3>{{/if}}      <p>{{message}}</p>    ',initialize:function(){this.options=i.default.defaults({},this.options,s),this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width).css({"margin-left":"0px",left:Math.round((Object(r.default)(window).width()-this.options.width)/2)})},getTemplateData:function(){return i.default.extend(i.default.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){this.options.hide&&i.default.delay(i.default.bind(this.fadeOut,this),this.options.delay)},fadeOut:function(){this.$el.fadeOut(this.options.fade,i.default.bind(this.remove,this))}})},function(t,e,n){var r=n(0),i=n(11);e.a=i.default.extend({extraProperties:!0,invoke:function(){var t=r.default.toArray(arguments);t.unshift("__invoke__"),this.trigger.apply(this,t)}})},function(t,e,n){var r=n(0),i=n(24),o=n(1),s={click:function(t){t.preventDefault(),t.stopPropagation()}};e.a=o.default.extend({attributes:function(){var t={"data-se":"button"},e=this.__getAttribute("attrs");return r.default.extend(t,e)},tagName:"a",template:'{{#if icon}}<span class="icon {{icon}}"></span>{{/if}}{{#if title}}{{title}}{{/if}}',visible:!0,enabled:!0,enableWhen:{},showWhen:{},constructor:function(t){this.options=t||{};var e=this.getTemplateData();this.disabled=!1,o.default.apply(this,arguments),this.$el.addClass("link-button"),e.icon&&(this.$el.addClass("link-button-icon"),e.title||this.$el.addClass("icon-only"))},getTemplateData:function(){return{href:this.__getAttribute("href"),title:this.__getAttribute("title"),icon:this.__getAttribute("icon")}},initialize:function(){i.a.applyDoWhen(this,r.default.resultCtx(this,"enableWhen",this),this.toggle),i.a.applyDoWhen(this,r.default.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){o.default.prototype.render.apply(this,arguments),r.default.result(this,"enabled")||this.toggle(!1),r.default.result(this,"visible")||this.toggleVisible(!1);var t=this.getTemplateData();return this.$el.attr("href",t.href||"#"),this},__getAttribute:function(t,e){var n=r.default.resultCtx(this.options,t,this);return r.default.isUndefined(n)&&(n=r.default.result(this,t)),r.default.isUndefined(n)?e:n},enable:function(){this.toggle(!0)},disable:function(){this.toggle(!1)},show:function(){this.toggleVisible(!0)},hide:function(){this.toggleVisible(!1)},toggle:function(t){var e=this,n=!!t&&r.default.result(this,"enabled");this.disabled=!n,this.$el.toggleClass("link-button-disabled btn-disabled disabled",this.disabled),r.default.defer(function(){e.delegateEvents(e.disabled?s:null)})},toggleVisible:function(t){var e=!t||!r.default.result(this,"visible");this.$el.toggleClass("hide",e)}})},function(t,e,n){function r(t){this.options=s.default.clone(t||{}),this.cid=s.default.uniqueId("class"),this.initialize.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=n.n(i),s=n(0);s.default.extend(r.prototype,o.a.Events,{initialize:function(){}}),r.extend=o.a.Model.extend,e.default=r},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(45),o=n.n(i),s=/^https/.test(window.location.href);e.default={setCookie:function(t,e,n){o.a.set(t,e,r.default.defaults(n||{},{secure:s,path:"/"}))},getCookie:function(){return o.a.get.apply(o.a,arguments)},removeCookie:function(){return o.a.remove.apply(o.a,arguments)}}},function(t,e,n){var r,i;/*!
                                                                     * JavaScript Cookie v2.1.0
                                                                     * https://github.com/js-cookie/js-cookie
                                                                     *
                                                                     * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
                                                                     * Released under the MIT license
                                                                     */
!function(o){r=o,void 0!==(i="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=i)}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(n){function r(e,i,s){var a;if(arguments.length>1){if(s=t({path:"/"},r.defaults,s),"number"==typeof s.expires){var u=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*s.expires),s.expires=u}try{a=(0,o.default)(i),/^[\{\[]/.test(a)&&(i=a)}catch(t){}return i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",i,s.expires&&"; expires="+s.expires.toUTCString(),s.path&&"; path="+s.path,s.domain&&"; domain="+s.domain,s.secure?"; secure":""].join("")}e||(a={});for(var l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,f=0;f<l.length;f++){var p=l[f].split("="),d=p[0].replace(c,decodeURIComponent),h=p.slice(1).join("=");'"'===h.charAt(0)&&(h=h.slice(1,-1));try{if(h=n.read?n.read(h,d):n(h,d)||h.replace(c,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(t){}if(e===d){a=h;break}e||(a[d]=h)}catch(t){}}return a}return r.get=r.set=r,r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(e,n){r(e,"",t(n,{expires:-1}))},r.withConverter=e,r}return e(function(){})})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n.n(r);n(47),n(48),n(49),n(50),n(52);e.default=i.a},function(t,e,n){function r(t,e){return a.a.utc(e).utcOffset("-07:00").format(t)}var i=n(5),o=n.n(i),s=n(21),a=n.n(s),u=n(0);o.a.registerHelper("shortDate",u.default.partial(r,"MMM Do")),o.a.registerHelper("mediumDate",u.default.partial(r,"MMMM DD, YYYY")),o.a.registerHelper("longDate",u.default.partial(r,"MMMM DD, YYYY, h:mma")),o.a.registerHelper("formatDate",r);o.a},function(t,e,n){function r(t){return t&&t.replace(/^\s+|\s+$/g,"")}var i=n(5),o=n.n(i),s=n(0),a=n(3);o.a.registerHelper("i18n",function(t){var e=void 0,n=r(t.hash.code),i=r(t.hash.bundle),o=r(t.hash.arguments);return o&&(e=s.default.map(r(o).split(";"),function(t){t=r(t);var e=void 0,n=this;return s.default.each(t.split("."),function(t){e=e?e[t]:n[t]}),e},this)),a.default.localize(n,i,e)});o.a},function(t,e,n){function r(t){return 0===t.indexOf(a)?t:a+t}var i=n(5),o=n.n(i),s=n(0),a="/assets";o.a.registerHelper("img",function(t){var e="undefined"!=typeof okta&&okta.cdnUrlHostname||"",n=s.default.pick(t.hash,["src","alt","width","height","class","title"]);n.src=""+e+r(n.src);var i=s.default.map(n,function(t,e){return e+'="'+o.a.Utils.escapeExpression(t)+'"'});return new o.a.SafeString("<img "+i.join(" ")+"/>")});o.a},function(t,e,n){var r=n(5),i=n.n(r),o=n(51);i.a.registerHelper("markdown",function(t){return Object(o.a)(i.a,t)});i.a},function(t,e,n){function r(t,e){var n=t.compile('<a href="{{href}}">{{text}}</a>'),r=void 0;return r=i.default.isString(e)?t.Utils.escapeExpression(e).replace(u,"").replace(o,function(t){return n({href:t.match(s)[1],text:t.match(a)[1]})}):"",new t.SafeString(r)}e.a=r;var i=n(0),o=/\[[^\]]*\]\([^)]*\)/gi,s=/\]\(([^)]*)\)/i,a=/\[([^\]]*)\]/i,u=/javascript:/gi},function(t,e,n){var r=n(5),i=n.n(r),o=n(2);i.a.registerHelper("xsrfTokenInput",function(){return new i.a.SafeString('<input type="hidden" class="hide" name="_xsrfToken" value="'+Object(o.default)("#_xsrfToken").text()+'">')});i.a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(54),i=n(1);e.default=i.default.decorate(r.a)},function(t,e,n){var r=n(22),i=n(0);e.a=r.a.extend({constructor:function(){if(r.a.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 t=this;return this.removeChildren(),this.collection.each(function(e,n){t.addItem(e,n)}),this},addItem:function(t){var e=this.add(this.item,this.itemSelector,{options:{model:t}}).last();return e.listenTo(t,"destroy remove",e.remove),this},addShowMore:i.default.noop})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(0),o=n(4),s=n(1),a=o.default.tpl('    <a href="" class="icon-16 {{className}}" data-se="{{seleniumId}}">      {{#if icon}}      <span class="icon {{icon}}"></span>      {{/if}}      {{#if title}}      {{title}}      {{/if}}      {{#if subtitle}}        <p class="option-subtitle">{{subtitle}}</p>      {{/if}}   </a>   '),u=s.default.extend({tagName:"li",events:{click:function(t){t.preventDefault(),this.action&&this.action.call(this)}},constructor:function(){s.default.apply(this,arguments),this.$el.addClass("okta-dropdown-option option")},render:function(){return this.$el.html(a({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")}});e.default=s.default.extend({events:{"click a.option-selected":function(t){t.preventDefault(),i.default.result(this,"disabled")&&t.stopPropagation()},"click .dropdown-disabled":function(t){t.preventDefault(),t.stopPropagation()}},items:[],constructor:function(){var t=this.className;this.className=null,s.default.apply(this,arguments),this.className=t,this.$el.addClass("dropdown more-actions float-l"),i.default.each(i.default.result(this,"items"),function(t){this.addOption(t,this.options)},this)},template:'      <a href="#" class="link-button {{className}} link-button-icon option-selected center"        aria-expanded="false" aria-controls="okta-dropdown-options">        {{#if icon}}        <span class="icon {{icon}}"></span>        {{/if}}        {{#if screenReaderText}}        <span class="off-screen">{{screenReaderText}}</span>        {{/if}}        <span class="option-selected-text">{{title}}</span>        <span class="icon-dm"></span>      </a>      <div id="okta-dropdown-options" class="options clearfix" style="display: none;">      <ul class="okta-dropdown-list options-wrap clearfix"></ul>      </div>    ',getTemplateData:function(){var t=[i.default.result(this,"className")||"",i.default.result(this,"disabled")?"dropdown-disabled":""];return{icon:i.default.result(this,"icon"),className:r.default.trim(t.join(" ")),title:i.default.result(this,"title"),screenReaderText:i.default.result(this,"screenReaderText")}},addOption:function(t,e){this.add(u.extend(t),"ul.options-wrap",{options:e||{}})}})},function(t,e,n){function r(t){if(!y&&this.$el.hasClass("o-form-saving")){var e=Object(i.default)(t.currentTarget);e.css("display","none");var n=document.elementFromPoint(t.clientX,t.clientY);return e.css("display","block"),t.target=n,Object(i.default)(n).trigger(t),!1}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=n(0),s=n(3),a=n(4),u=n(1),l=n(57),c=n(25),f=n(58),p=n(59),d=n(9),h=n(60),m=n(61),g=n(62),v=n(63),y="auto"===Object(i.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents,_={submit:function(t){t.preventDefault(),this.__save()}};o.default.each(["click","dblclick","mousedown","mouseup"],function(t){_[t+" .o-form-input"]=r});var b=function(t){t||(t={});var e=t&&t.collection||{};return{method:"POST",action:o.default.result(t,"urlRoot")||o.default.result(e,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}},w=function(t,e){t||(t="");var n=[];return o.default.isString(t)&&(n=t.split(" ")),n=o.default.union(n,e),n.join(" ")},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(t.errorCauses)&&t.errorCauses.length>0?t.errorCauses[0].errorSummary:t.errorSummary};e.default=u.default.extend({constructor:function(t){t||(t={}),this.options=t,this.id=o.default.uniqueId("form"),this.tagName="form",o.default.defaults(this.events,_),o.default.defaults(this.attributes,b(t.model)),this.__buttons=[],this.__errorFields={},this.__saveModelState(t.model),this.step&&(this.save||(this.save=this.totalSteps&&this.step!==this.totalSteps?"Next":"Finish"),this.className+=" wizard"),this.className+=" o-form",this.__toolbar=this.__createToolbar(t),u.default.call(this,t),o.default.each(o.default.result(this,"inputs")||[],function(t){this.__addLayoutItem(t)},this),this.add(this.__toolbar,""),this.listenTo(this.model,"change:__edit__",this.__applyMode),this.listenTo(this.model,"invalid error",o.default.throttle(function(t,e,n){this.__showErrors(t,e,!1!==n)},100,{trailing:!1})),this.listenTo(this.model,"form:resize",function(){this.trigger("resize")}),this.listenTo(this.model,"form:cancel",o.default.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",o.default.throttle(this.__previous,100,{trailing:!1})),this.__save=o.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 e=this.getAttribute("hasSavingState");if(this.getAttribute("autoSave")&&(this.listenTo(this,"save",function(t){var e=this,n=t.save();n&&n.done&&n.done(function(){e.trigger("saved",t)})}),o.default.isUndefined(e)&&(e=!0)),e){var n=this.getAttribute("customSavingState",{});this.listenTo(this.model,w(n.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,w(n.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(t){var e=this.getAttribute("danger"),n=!0===e?"button-error":"button-primary",r=new c.default(o.default.extend({save:this.save||s.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:n,cancel:this.cancel||s.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,hasPrevStep:this.step&&this.step>1},t||this.options));return o.default.each(this.__buttons,function(t){r.addButton.apply(r,t)}),r},className:"",attributes:{},events:{},inputs:[],template:null,read:!1,readOnly:!1,noButtonBar:!1,noCancelButton:!1,save:null,cancel:null,danger:!1,layout:"",step:void 0,totalSteps:void 0,title:null,subtitle:null,autoSave:!1,scrollOnError:!0,showErrors:!0,resizeSelector:".o-form-content",getAttribute:function(t,e){var n=o.default.resultCtx(this.options,t,this);return o.default.isUndefined(n)&&(n=o.default.result(this,t)),o.default.isUndefined(n)?e: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 t=l.a.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(t,".o-form-title-bar").last()}var e=a.default.tpl('    {{#if hasReadMode}}      <h2 class="o-form-title-bar" data-se="o-form-title-bar">        {{title}}      </h2>    {{/if}}    <div data-se="o-form-content" class="o-form-content {{layout}} clearfix">      {{#unless hasReadMode}}        {{#if title}}          <h2 data-se="o-form-head" class="okta-form-title o-form-head">{{title}}</h2>        {{/if}}      {{/unless}}      {{#if subtitle}}        <p class="okta-form-subtitle o-form-explain" data-se="o-form-explain">{{subtitle}}</p>      {{/if}}      <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>  ')({layout:this.getAttribute("layout",""),title:this.getAttribute("title","",!0),subtitle:this.getAttribute("subtitle","",!0),hasReadMode:this.hasReadMode()});return this.$el.html(e),delete this.template,u.default.prototype.render.apply(this,arguments),this.__applyMode(),this},__setSavingState:function(){this.model.trigger("form:set-saving-state"),this.$el.addClass("o-form-saving")},__clearSavingState:function(){this.model.trigger("form:clear-saving-state"),this.$el.removeClass("o-form-saving")},__toggleToolbar:function(){this.__toolbar&&this.__toolbar.remove(),this.hasButtonBar()&&this._editMode()&&(this.__toolbar=this.__createToolbar(),this.add(this.__toolbar,"")),this.trigger("resize")},__cancel:function(){var t=this.model.get("__edit__");this.model.clear({silent:!0});var e=void 0;e=this.model.sanitizeAttributes?this.model.sanitizeAttributes(this.__originalModel):o.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(){function t(t){return o.default.reduce(t,function(t,e){return o.default.extend(t,n.model.validateField(e))},{})}var e=void 0,n=this;return o.default.isUndefined(this.validate)?this.model.isValid():(o.default.isFunction(this.validate)?e=this.validate():o.default.isArray(this.validate)?e=t(this.validate):"local"===this.validate&&(e=t(this.getInputs().map(function(t){return t.options.name}))),!!o.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:o.default.identity,__showErrors:function(t,e,n){if(this.trigger("error",t),this.getAttribute("showErrors")){var r=void 0,a=p.a.getResponseJSON(e),u=p.a.parseFieldErrors(e);if(o.default.size(u)?o.default.each(u,function(t,e){this.model.trigger("form:field-error",this.__errorFields[e]||e,o.default.map(t,function(t){return/^model\.validation/.test(t)?s.default.localize(t,"courage"):t}))},this):(a=this.parseErrorMessage(a),r=x(a)),n&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(f.a,".o-form-error-container",{options:{errorSummary:r}})),this.getAttribute("scrollOnError")){var l=Object(i.default)("#"+this.id+" .o-form-error-container");l.length&&Object(i.default)("html, body").animate({scrollTop:l.offset().top},400)}this.model.trigger("form:resize")}},clearErrors:function(){this.$(".o-form-error-container").removeClass("o-form-has-errors"),this.model.trigger("form:clear-errors"),this.model.trigger("form:resize")},toggle:function(){return this.model.set("__edit__",!this.hasReadMode()||!this.model.get("__edit__")),this},__addLayoutItem:function(t){m.a.supports(t)?this.addInput(t):this.__addNonInputLayoutItem(t)},__addNonInputLayoutItem:function(t){var e=o.default.omit(t,"type");switch(t.type){case"sectionTitle":this.addSectionTitle(t.title,o.default.omit(e,"title"));break;case"divider":this.addDivider(e);break;default:throw new Error("unknown input: "+t.type)}},addButton:function(t,e){this.__toolbar&&this.__toolbar.addButton(t,e),this.__buttons.push([t,e])},addDivider:function(t){return this.add('<div class="okta-form-divider form-divider"></div>'),d.default.applyShowWhen(this.last(),t&&t.showWhen),d.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addSectionTitle:function(t,e){return this.add(a.default.tpl('<h2 class="o-form-head">{{title}}</h2>')({title:t})),d.default.applyShowWhen(this.last(),e&&e.showWhen),d.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addInput:function(t){t=o.default.clone(t),d.default.validateInput(t,this.model);var e=d.default.generateInputOptions(t,this,this.__createInput).reverse();o.default.isEmpty(this.getInputs().toArray())&&o.default.extend(e[0],{validateOnlyIfDirty:!0});var n=o.default.map(e,this.__createInput,this);o.default.each(e,function(t){t.errorField&&(this.__errorFields[t.errorField]=t.name)},this);var r={inputId:o.default.last(n).options.inputId,input:n,multi:e.length>1?e.length:void 0};o.default.extend(r,o.default.omit(this.options,"input"),o.default.omit(t,"input"));var i=this.__createWrapper(r);!1!==r.label&&i.add(this.__createLabel(r)),i.add(this._createContainer(r)),i.type=r.type||r.input.type||"custom";var s=[i].concat(o.default.drop(arguments,1));return this.add.apply(this,s)},__createInput:function(t){return t=o.default.pick(t,d.default.INPUT_OPTIONS),m.a.create(t)},__createWrapper:function(t){return t=o.default.pick(t,d.default.WRAPPER_OPTIONS),new v.a(t)},__createLabel:function(t){return t=o.default.pick(t,d.default.LABEL_OPTIONS),new g.a(t)},_createContainer:function(t){return t=o.default.pick(t,d.default.CONTAINER_OPTIONS),new h.a(t)},__saveModelState:function(t){this.__originalModel=i.default.extend(!0,{},t.attributes)},add:function(){var t=o.default.toArray(arguments);return void 0===t[1]&&(t[1]="> div.o-form-content > .o-form-fieldset-container"),u.default.prototype.add.apply(this,t)},focus:function(){var t=this.getInputs().first();return t&&t.focus&&t.focus(),this},disable:function(){return this.invoke("disable"),this},enable:function(){this.invoke("enable")},contentHeight:function(t){var e=this.$(".o-form-content");if(!o.default.isNumber(t))return e.height();e.css("max-height",t)},getInputs:function(){return Object(o.default)(this.filter(function(t){return t instanceof v.a}))}})},function(t,e,n){var r=n(1),i=n(9);e.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(i.default.createReadFormButton({type:"cancel"})):this.add(i.default.createReadFormButton({type:"edit",formTitle:this.formTitle}))},toggle:function(){this.removeChildren(),this.addButton()}})},function(t,e,n){var r=n(1);e.a=r.default.extend({template:'    <div class="okta-form-infobox-error infobox infobox-error" role="alert">      <span class="icon error-16"></span>      {{#if errorSummary}}        <p>{{errorSummary}}</p>      {{else}}        <p>{{i18n code="oform.errorbanner.title" bundle="courage"}}</p>      {{/if}}    </div>  ',modelEvents:{"form:clear-errors":"remove"}})},function(t,e,n){var r=n(0),i=n(3),o=/^([\S]+): (.+)$/;e.a={getResponseJSON:function(t){try{return t.responseJSON||JSON.parse(t.responseText)}catch(t){return}},parseErrorSummary:function(t){var e=t.match(o);if(e)return[e[1],e[2]]},parseErrorCauseObject:function(t){if(t.property&&t.errorSummary){var e=i.default.localize(t.reason),n=t.errorSummary;return[t.property,-1===e.indexOf("L10N_ERROR[")?e:n]}},parseErrors:function(t){var e=this.getResponseJSON(t);return r.default.map(e&&e.errorCauses||[],function(t){return(""+t.errorSummary).replace(o,"$2")})},parseFieldErrors:function(t){var e=this.getResponseJSON(t),n={};return e?r.default.each(e.errorCauses||[],function(t){var e=[];if(e=t.property&&t.errorSummary?this.parseErrorCauseObject(t):this.parseErrorSummary(t&&t.errorSummary||"")){var r=e[0],i=e[1];n[r]||(n[r]=[]),n[r].push(i)}},this):r.default.isObject(t)&&r.default.size(t)&&r.default.each(t,function(t,e){n[e]=[t]}),r.default.size(n)?n:void 0}}},function(t,e,n){var r=n(0),i=n(7),o=n(4),s=n(16),a=n(3),u=n(1),l=s.default.isABaseView;e.a=u.default.extend({attributes:function(){return{"data-se":"o-form-input-container"}},className:function(){var t="o-form-input";if(this.options.wide&&(t+=" o-form-wide"),r.default.contains([1,2,3,4],this.options.multi)&&(t+=" o-form-multi-input-"+this.options.multi,r.default.isArray(this.options.input))){r.default.find(this.options.input,function(t){return r.default.contains(["text+select","select+text"],t.options.type)})&&(t+=" o-form-multi-input-group-"+this.options.multi)}return t},_getNames:function(){var t=r.default.isArray(this.options.name)?this.options.name:[this.options.name];return"group"===this.options.type?t.push.apply(t,r.default.pluck(this.options.input[0].options.params.inputs,"name")):r.default.isArray(this.options.name)?this.options.input&&this.options.input.options&&this.options.input.options.name&&t.push(this.options.input.options.name):this.options.input&&(r.default.isArray(this.options.input)?r.default.each(this.options.input,function(e){t.push(e.options.name)}):t.push(this.options.input.options.name)),r.default.uniq(r.default.compact(t))},constructor:function(){u.default.apply(this,arguments);var t=this.options["explain-top"]&&this.options["label-top"];this.options.input&&(r.default.isArray(this.options.input)?r.default.each(this.options.input,function(e){this.add(e,{prepend:!t})},this):this.add(this.options.input,{prepend:!t})),this.__setExplain(this.options);var e=this._getNames();this.listenTo(this.model,"form:field-error",function(n,i){r.default.contains(e,n)&&this.__setError(i,t)}),this.listenTo(this.model,"form:clear-errors change:"+e.join(" change:"),this.__clearError),this.listenTo(this.model,"form:clear-error:"+e.join(" form:clear-error:"),this.__clearError),r.default.resultCtx(this.options,"autoRender",this)&&this.listenTo(this.model,"change:"+this.options.name,this.render),this.__errorState=!1},__setExplain:function(t){var e=void 0;if(t.customExplain)return i.default.warn("Deprecated - use explain instead of customExplain"),void this.add(this.options.customExplain);e=t.explain,r.default.isFunction(e)&&!l(e)&&(e=r.default.resultCtx(this.options,"explain",this)),e&&(l(e)?(this.template='<p class="o-form-explain"></p>',this.add(e,".o-form-explain")):this.template='<p class="o-form-explain">{{explain}}</p>')},__setError:function(t,e){this.__errorState=!0,this.$el.addClass("o-form-has-errors");var n=r.default.uniqueId("input-container-error"),i=['<p id="{{errorId}}" 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="{{iconLabel}}"></span>',"{{text}}","</p>"].join(""),s=a.default.localize("oform.error.icon.ariaLabel","courage"),u=o.default.tpl(i)({errorId:n,iconLabel:s,text:t.join(", ")}),l=this.$(".o-form-explain").not(".o-form-input-error").first();l.length&&!e?l.before(u):this.$el.append(u),this.$el.attr("aria-describedby",n)},__clearError:function(){var t=this;this.__errorState&&(this.$(".o-form-input-error").remove(),this.$el.attr("aria-describedby",null),this.$el.removeClass("o-form-has-errors"),this.__errorState=!1,r.default.defer(function(){t.model.trigger("form:resize")}))},focus:function(){return this.each(function(t){if(t.focus)return t.focus()}),this}})},function(t,e,n){function r(t,e){return a.default.isBaseInput(t)&&t.prototype?new t(s.default.omit(e,"input")):t}function i(t){if(t=s.default.clone(t),t.input)return r(t.input,t);var e=a.default.get(t);if(!e)throw new Error("unknown input: "+t.type);return r(e,t)}function o(t){return!!t.input||!!a.default.get(t)}var s=n(0),a=n(26);e.a={create:i,supports:o}},function(t,e,n){var r=n(0),i=n(27),o=(n.n(i),n(4)),s=n(1);e.a=s.default.extend({className:"okta-form-label o-form-label",attributes:{"data-se":"o-form-label"},constructor:function(t){r.default.defaults(t,{inputId:t.id}),delete t.id,s.default.apply(this,arguments);var e=void 0;e=this._isLabelView(t.label)?'<label for="{{inputId}}"></label>':r.default.contains(["radio","checkbox"],t.type)||!t.label?"{{label}}":'<label for="{{inputId}}">{{label}}&nbsp;</label>',t.sublabel&&(e+='<span class="o-form-explain">{{sublabel}}</span>'),t.tooltip&&(r.default.isString(t.tooltip)&&(t.tooltip={text:t.tooltip}),e+='<span class="o-form-tooltip icon-16 icon-only form-help-16" title="{{tooltip.text}}"></span>'),this.template=o.default.tpl(e)},getTemplateData:function(){var t={label:""};return r.default.each(["inputId","label","sublabel","tooltip"],function(e){t[e]=r.default.resultCtx(this.options,e,this)},this),t},_isLabelView:function(t){return!r.default.isUndefined(t)&&t instanceof s.default},postRender:function(){var t=this.getTemplateData();this._isLabelView(t.label)&&(this.removeChildren(),this.add(t.label,"label")),t.tooltip&&this.$(".o-form-tooltip").qtip(r.default.extend({style:{classes:"qtip-custom qtip-shadow"},position:{my:"bottom left",at:"top center"},hide:{fixed:!0},show:{delay:0}},t.tooltip.options))}})},function(t,e,n){function r(t,e){t.apply(this,o.default.map(e.split(/\s+/),function(t){return this.model.get(t)},this))}function i(t,e){o.default.isFunction(t)&&t.call(e)}var o=n(0),s=n(1),a=n(9);e.a=s.default.extend({className:function(){var t="o-form-fieldset";return this.options["label-top"]&&(t+=" o-form-label-top"),this.options.readOnly&&(t+=" o-form-read-mode"),t},attributes:function(){return{"data-se":this.options["data-se"]||"o-form-fieldset"}},constructor:function(t){t.className&&(this.inputWrapperClassName=this.className,this.optionsClassName=t.className,t.className=function(){return o.default.result(this,"inputWrapperClassName","")+" "+o.default.result(this,"optionsClassName")}),s.default.apply(this,arguments),o.default.each(t.events||{},function(t,e){this.listenTo(this.model,e,t)},this),o.default.each(t.bindings||{},function(t,e){this.listenTo(this.model,a.default.changeEventString(e.split(/\s+/)),o.default.bind(r,this,t,e))},this),a.default.applyShowWhen(this,t.showWhen),a.default.applyToggleWhen(this,t.toggleWhen),i(t.initialize,this)},postRender:function(){o.default.each(this.options.bindings||{},r,this),i(this.options.render,this)},getLabel:function(){return this.size()>1?this.at(0):null},getInput:function(){return this.getInputContainer()},getInputContainer:function(){return this.at(this.size()>1?1:0)},getInputs:function(){return this.getInputContainer().toArray()},focus:function(){return this.getInput().focus()}})},function(t,e,n){function r(t){var e=t.get("__displayType__"),n=t.get("__possibleValues__"),r=t.get("name"),i=t.get("title"),s={type:"text",name:r,label:i||r};switch(e){case"arrayofstring":s.input=g.a,s.params={itemType:"string"};break;case"arrayofnumber":s.input=g.a,s.params={itemType:"number"};break;case"arrayofinteger":s.input=g.a,s.params={itemType:"integer"};break;case"arrayofobject":s.input=g.a,s.params={itemType:t.get("items").type};break;case"arrayofref-id":s.input=g.a,s.params={itemType:t.get("items").format};break;case"boolean":s.input=m.a;break;case"integer":case"number":s.to=o;break;case"reference":s.type="select",s.options=a(n);break;case"image":s.readOnly=!0,s.from=function(t){return d.default.isEmpty(t)?"":h.default.localize("user.profile.image.image_set","courage")};break;case"password":s.type="password";break;case"date":s.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: "+e)}return s}function i(t){var e={},n=t.get("name"),r=t.get("__displayType__"),i=t.get("__possibleValues__"),o=t.get("__fieldNamePrefix__");if(o&&(e.name=o+n,e.errorField=n),t.isEnumType()){var u={displayType:r,title:t.get("title"),enumValues:t.getEnumValues()};e=d.default.extend({},v.a.getEnumInputOptions(u),e)}else s(r)&&i&&(e.type="checkboxset",e.input=null,e.options=a(i));return e}function o(t){var e=h.default.parseFloat(t);return""===t?null:e}function s(t){return t&&t.indexOf("array")>=0}function a(t){return d.default.object(t,t)}function u(t){var e=t.get("items");return e?e.objectName:t.get("objectName")}function l(t,e,n){var r=t.get("name"),i=n.__nestedProperty__,o=e[r],s=n.get(r),a=void 0,l=void 0;i&&t.set("__fieldNamePrefix__",i),a=e[u(t)],o&&s&&(o=d.default.union(o,s)),a&&a.length?l=a:o&&o.length&&(l=o),t.set("__possibleValues__",l)}function c(t,e,n){return t.each(function(t){l(t,e,n)}),t}function f(t,e){return t.filter(function(t){return p(t,e)})}function p(t,e){var n=u(t),r=e[n];return!n||!Object(d.default)(r).isEmpty()}Object.defineProperty(e,"__esModule",{value:!0});var d=n(0),h=n(3),m=n(65),g=n(68),v=n(18);e.default={createInputOptions:function(t){var e=i(t),n=r(t);return e.params&&n.params&&(e.params=d.default.defaults(e.params,n.params)),d.default.defaults(e,n)},hasValidSchemaProps:function(t,e){return!d.default.isEmpty(t)&&!!f(t,e).length},prepareSchema:function(t,e,n){return t.reset(f(t,e)),c(t,e,n)},augmentSchemaProps:c,augmentSchemaProp:l}},function(t,e,n){var r=n(28),i={undefined:"undefined",true:"true",false:"false"},o=function(t){return t?"true":!1===t?"false":"undefined"},s=function(t){switch(t){case"undefined":return null;case"true":return!0;case"false":return!1;default:return null}};e.a=r.default.extend({initialize:function(){this.options.options=i,this.options.from=o,this.options.to=s}})},function(t,e,n){var r,i;r=[n(12)],void 0!==(i=function(t){(function(){var t;t=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,n,r,i,o,s;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,children:0,disabled:t.disabled}),o=t.childNodes,s=[],r=0,i=o.length;r<i;r++)n=o[r],s.push(this.add_option(n,e,t.disabled));return s},t.prototype.add_option=function(t,e,n){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,selected:t.selected,disabled:!0===n?n:t.disabled,group_array_index:e,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}(),t.select_to_array=function(e){var n,r,i,o,s;for(r=new t,s=e.childNodes,i=0,o=s.length;i<o;i++)n=s[i],r.add_node(n);return r.parsed},this.SelectParser=t}).call(this),function(){var t,e;e=this,t=function(){function t(e,n){this.form_field=e,this.options=null!=n?n:{},t.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 t.prototype.set_default_values=function(){var t=this;return this.click_test_action=function(e){return t.test_active_click(e)},this.activate_action=function(e){return t.activate_field(e)},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},t.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||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){var e=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return e.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){var e=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(){return e.blur_test()},100)},t.prototype.result_add_option=function(t){var e,n;return t.dom_id=this.container_id+"_o_"+t.array_index,e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),n=""!==t.style.cssText?' style="'+t.style+'"':"",'<li id="'+t.dom_id+'" class="'+e.join(" ")+'"'+n+">"+t.html+"</li>"},t.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()},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.choices_count=function(){var t,e,n,r;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,r=this.form_field.options,e=0,n=r.length;e<n;e++)t=r[e],t.selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keyup_checker=function(t){var e,n;switch(e=null!=(n=t.which)?n:t.keyCode,this.search_field_scale(),e){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(t.preventDefault(),this.results_showing)return this.result_select(t);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()}},t.prototype.generate_field_id=function(){var t;return t=this.generate_random_id(),this.form_field.id=t,t},t.prototype.generate_random_char=function(){var t,e;return t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",e=Math.floor(Math.random()*t.length),t.substring(e,e+1)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.browser_is_supported=function(){var t;return"Microsoft Internet Explorer"!==window.navigator.appName||null!==(t=document.documentMode)&&t>=8},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),e.AbstractChosen=t}.call(this),function(){var e,n,r,i,o={}.hasOwnProperty,s=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};r=this;var a=r.AbstractChosen;e=t,e.fn.extend({chosen:function(t){return a.browser_is_supported()?this.each(function(r){var i;if(i=e(this),!i.hasClass("chzn-done"))return i.data("chosen",new n(this,t))}):this}}),n=function(t){function n(){return i=n.__super__.constructor.apply(this,arguments)}return s(n,t),n.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")},n.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},n.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"],t.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(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.container=e("<div />",n),this.is_multiple?this.container.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop"><ul class="chzn-results"></ul></div>'):this.container.html('<a href="javascript:void(0)" class="chzn-single chzn-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chzn-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},n.prototype.register_observers=function(){var t=this;return this.container.mousedown(function(e){t.container_mousedown(e)}),this.container.mouseup(function(e){t.container_mouseup(e)}),this.container.mouseenter(function(e){t.mouse_enter(e)}),this.container.mouseleave(function(e){t.mouse_leave(e)}),this.search_results.mouseup(function(e){t.search_results_mouseup(e)}),this.search_results.mouseover(function(e){t.search_results_mouseover(e)}),this.search_results.mouseout(function(e){t.search_results_mouseout(e)}),this.search_results.bind("mousewheel DOMMouseScroll",function(e){t.search_results_mousewheel(e)}),this.form_field_jq.bind("liszt:updated",function(e){t.results_update_field(e)}),this.form_field_jq.bind("liszt:activate",function(e){t.activate_field(e)}),this.form_field_jq.bind("liszt:open",function(e){t.container_mousedown(e)}),this.search_field.blur(function(e){t.input_blur(e)}),this.search_field.keyup(function(e){t.keyup_checker(e)}),this.search_field.keydown(function(e){t.keydown_checker(e)}),this.search_field.focus(function(e){t.input_focus(e)}),this.is_multiple?this.search_choices.click(function(e){t.choices_click(e)}):this.container.click(function(t){t.preventDefault()})},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field()):(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus",this.activate_action))},n.prototype.container_mousedown=function(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()},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e,n,r;if(null!=(e=-(null!=(n=t.originalEvent)?n.wheelDelta:void 0)||(null!=(r=t.originialEvent)?r.detail:void 0)))return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},n.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()},n.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(t){return e(t.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){var t,e,n,i,o;for(this.parsing=!0,this.selected_option_count=null,this.results_data=r.SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chzn-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chzn-container-single-nosearch"))),t="",o=this.results_data,n=0,i=o.length;n<i;n++)e=o[n],e.group?t+=this.result_add_group(e):e.empty||(t+=this.result_add_option(e),e.selected&&this.is_multiple?this.choice_build(e):e.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("span").text(e.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(t),this.parsing=!1},n.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 />").text(t.label).html()+"</li>"},n.prototype.result_do_highlight=function(t){var e,n,r,i,o;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),r=parseInt(this.search_results.css("maxHeight"),10),o=this.search_results.scrollTop(),i=r+o,n=this.result_highlight.position().top+this.search_results.scrollTop(),(e=n+this.result_highlight.outerHeight())>=i)return this.search_results.scrollTop(e-r>0?e-r:0);if(n<o)return this.search_results.scrollTop(n)}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.container.addClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results())},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(t){var e;if(this.form_field_jq.attr("tabindex"))return e=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.search_field.attr("tabindex",e)},n.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()})},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(t){var n;if(n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first(),n.length)return this.result_highlight=n,this.result_select(t),this.search_field.focus()},n.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)},n.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result"))return this.result_clear_highlight()},n.prototype.choice_build=function(t){var n,r,i=this;return n=e("<li />",{class:"search-choice"}).html("<span>"+t.html+"</span>"),t.disabled?n.addClass("search-choice-disabled"):(r=e("<a />",{href:"#",class:"search-choice-close",rel:t.array_index}),r.click(function(t){return i.choice_destroy_link_click(t)}),n.append(r)),this.search_container.before(n)},n.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t.attr("rel")))return this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.form_field.options[0].selected=!0,this.selected_option_count=null,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,n,r,i;if(this.result_highlight)return e=this.result_highlight,n=e.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?e.removeClass("active-result"):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=e,this.selected_item.removeClass("chzn-default")),e.addClass("result-selected"),i=n.substr(n.lastIndexOf("_")+1),r=this.results_data[i],r.selected=!0,this.form_field.options[r.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(r):(this.selected_item.find("span").first().text(r.text),this.allow_single_deselect&&this.single_deselect_control_build()),(t.metaKey||t.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[r.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())},n.prototype.result_activate=function(t,e){return e.disabled?t.addClass("disabled-result"):this.is_multiple&&e.selected?t.addClass("result-selected"):t.addClass("active-result")},n.prototype.result_deactivate=function(t){return t.removeClass("active-result result-selected disabled-result")},n.prototype.result_deselect=function(t){var n,r;return r=this.results_data[t],!this.form_field.options[r.options_index].disabled&&(r.selected=!1,this.form_field.options[r.options_index].selected=!1,this.selected_option_count=null,n=e("#"+this.container_id+"_o_"+t),n.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[r.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chzn-single-with-deselect")},n.prototype.winnow_results=function(){var t,n,r,i,o,s,a,u,l,c,f,p,d,h,m,g,v,y;for(this.no_results_clear(),l=0,c=this.search_field.val()===this.default_text?"":e("<div/>").text(e.trim(this.search_field.val())).html(),s=this.search_contains?"":"^",o=new RegExp(s+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),d=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),y=this.results_data,h=0,g=y.length;h<g;h++)if(n=y[h],!n.empty)if(n.group)e("#"+n.dom_id).css("display","none");else{if(t=!1,u=n.dom_id,a=e("#"+u),o.test(n.html))t=!0,l+=1;else if(this.enable_split_word_search&&(n.html.indexOf(" ")>=0||0===n.html.indexOf("["))&&(i=n.html.replace(/\[|\]/g,"").split(" "),i.length))for(m=0,v=i.length;m<v;m++)r=i[m],o.test(r)&&(t=!0,l+=1);t?(c.length?(f=n.html.search(d),p=n.html.substr(0,f+c.length)+"</em>"+n.html.substr(f+c.length),p=p.substr(0,f)+"<em>"+p.substr(f)):p=n.html,a.html(p),this.result_activate(a,n),null!=n.group_array_index&&e("#"+this.results_data[n.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&u===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(a))}return l<1&&c.length?this.no_results(c):this.winnow_results_set_highlight()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(!this.result_highlight&&(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first())))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var n;return n=e('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),n.find("span").first().html(t),this.search_results.append(n)},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result"),t.length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last(),t.length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.keydown_checker=function(t){var e,n;switch(e=null!=(n=t.which)?n:t.keyCode,this.search_field_scale(),8!==e&&this.pending_backstroke&&this.clear_backstroke(),e){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},n.prototype.search_field_scale=function(){var t,n,r,i,o,s,a;if(this.is_multiple){for(0,o=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",i=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],s=0,a=i.length;s<a;s++)n=i[s],r+=n+":"+this.search_field.css(n)+";";return t=e("<div />",{style:r}),t.text(this.search_field.val()),e("body").append(t),o=t.width()+25,t.remove(),this.f_width||(this.f_width=this.container.outerWidth()),o>this.f_width-10&&(o=this.f_width-10),this.search_field.css({width:o+"px"})}},n.prototype.generate_random_id=function(){var 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},n}(a),r.Chosen=n}.call(this)}.apply(e,r))&&(t.exports=i)},function(t,e,n){function r(t,e){return o.default.resultCtx(t.options,e,t)||o.default.result(t,e)}function i(t){var e="infobox clearfix infobox-"+r(t,"type");switch(r(t,"size")){case"standard":e+="";break;case"slim":e+=" infobox-slim";break;case"compact":e+=" infobox-compact";break;case"large":e+=" infobox-md"}return r(t,"dismissible")&&(e+=" infobox-dismiss"),e}var o=n(0),s=n(29),a=n(1),u={"click .infobox-dismiss-link":function(t){var e=this;t.preventDefault(),this.$el.fadeOut(s.a.UNLOADING_FADE,function(){e.trigger("dismissed"),e.remove()})}},l=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||{},u),a.default.apply(this,arguments),this.$el.addClass(i(this)),this.template='    {{#if dismissible}}      <a data-se="dismiss-link" class="infobox-dismiss-link" title="Dismiss" href="#">        <span data-se="icon" class="dismiss-icon"></span>      </a>    {{/if}}    <span data-se="icon" class="icon {{icon}}"></span>    {{#if title}}<h3 data-se="header">{{title}}</h3>{{/if}}    {{#if subtitle}}<p data-se="sub-header">{{subtitle}}</p>{{/if}}    {{#if bullets}}      <ul data-se="list" class="bullets">      {{#each bullets}}<li data-se="list-item">{{this}}</li>{{/each}}      </ul>    {{/if}}  ';var t=r(this,"content");t&&this.add(t)},getTemplateData:function(){var t=r(this,"type"),e=r(this,"size");switch("tip"===t&&(t="light-bulb"),e){case"slim":t="";break;case"large":t=[t,"-","24"].join("");break;default:t=[t,"-","16"].join("")}return{icon:t,title:r(this,"title"),subtitle:r(this,"subtitle"),bullets:r(this,"bullets"),dismissible:r(this,"dismissible")}}});e.a={create:function(t){return new l(t)}}},function(t,e,n){var r=n(0),i=n(13),o=n(10),s=n(69);e.a=o.a.extend({className:"array-input",template:'<a href="#" class="array-inputs-button link-button">Add Another</a>',params:{itemType:"string"},events:{"click .array-inputs-button":function(t){t.preventDefault(),this.isEditMode()&&this.addNewElement()}},initialize:function(t){t||(t={}),this.params=r.default.defaults(t.params||{},this.params),this.uniqueIdPrefix="array"},from:function(t){return r.default.isArray(t)?t:[]},editMode:function(){return this._setArrayObject(),this.$el.html(this.template),r.default.each(this.arrayObject,r.default.bind(this._addDeletableBox,this)),this},readMode:function(){this.editMode(),this.$(".array-inputs-button").addClass("link-button-disabled")},val:function(){var t=r.default.values(this.arrayObject);return r.default.contains([i.a.DATATYPE.number,i.a.DATATYPE.integer],this.params.itemType)&&(t=r.default.filter(t,r.default.isNumber)),t},focus:function(){},addNewElement:function(){var t=r.default.uniqueId(this.uniqueIdPrefix);this.arrayObject[t]="",this._addDeletableBox("",t),this.update()},_addDeletableBox:function(t,e){var n=new s.a(r.default.extend(r.default.pick(this.options,"read","readOnly","model"),{key:e,value:t,itemType:this.params.itemType}));return this.listenTo(n,"updateArray",function(t){r.default.isNull(t)?(delete this.arrayObject[e],this.stopListening(n)):this.arrayObject[e]=t,this.update()}),n.render().$el.hide(),this.$(".array-inputs-button").before(n.el),n.$el.slideDown(),n},_setArrayObject:function(){var t=this.model.get(this.options.name);if(this.arrayObject={},r.default.isArray(t)&&!r.default.isEmpty(t)){var e=[],n=this;Object(r.default)(t.length).times(function(){e.push(r.default.uniqueId(n.uniqueIdPrefix))}),this.arrayObject=r.default.object(e,t)}}})},function(t,e,n){var r=n(0),i=n(13),o=n(3),s=n(4),a=n(29),u=n(1),l=function(t){return/^[aeiou]/.test(t)},c=function(t){return l(t)?"an":"a"},f=s.default.tpl('    <div class="o-form-input-group-controls">      <span class="input-fix o-form-control">        <input type="text" class="o-form-text" name="{{key}}" id="{{key}}" value="{{value}}"         placeholder="{{placeholder}}"/>      </span>      <a href="#" class="link-button link-button-icon icon-only clear-input-16">        <span class="icon "></span>      </a>    </div>    <p class="o-form-input-error o-form-explain">      <span class="icon icon-16 error-16-small"></span> {{errorExplain}}    </p>  ');e.a=u.default.extend({tagName:"div",className:"o-form-input-group",events:{"click a":function(t){t.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(r.default.extend(this.options,{placeholder:this.getPlaceholderText(),errorExplain:this.getErrorExplainText()})),this.update=r.default.debounce(this.update,this.options.debounceDelay||a.a.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 t=this,e=arguments;this.trigger("updateArray",null),this.$el.slideUp(function(){u.default.prototype.remove.call(t,e)})},update:function(){var t=this.$("input").val(),e=r.default.object([i.a.DATATYPE.number,i.a.DATATYPE.integer],[o.default.parseFloat,this.parseInt]);r.default.has(e,this.options.itemType)&&(t=e[this.options.itemType](t),r.default.isNumber(t)?this.clearInvalid():this.markInvalid()),this.trigger("updateArray",t)},markInvalid:function(){this.$el.addClass("o-form-has-errors")},clearInvalid:function(){this.$el.removeClass("o-form-has-errors")},getPlaceholderText:function(){var t=["Enter"];return t.push(c(this.options.itemType)),t.push(this.options.itemType.toLowerCase()),t.join(" ")},getErrorExplainText:function(){var t=["Value must be"];return t.push(c(this.options.itemType)),t.push(this.options.itemType.toLowerCase()),t.join(" ")},parseInt:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){if(/^-?\d+$/.test(t)){var e=parseInt(t,10);return r.default.isNaN(e)?t:e}return t})})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(8),o=n(4),s=n(30),a=(n.n(s),n(10)),u=o.default.tpl('    <input type="checkbox" name="{{name}}" id="{{inputId}}"/>    <label for="{{inputId}}" data-se-for-name="{{name}}">{{placeholder}}</label>  ');e.default=a.a.extend({template:u,events:{"change :checkbox":"update",keyup:function(t){i.default.isSpaceBar(t)?this.$(":checkbox").click():i.default.isEnter(t)&&this.model.trigger("form:save")}},editMode:function(){var t=r.default.resultCtx(this.options,"placeholder",this);return""===t?t=r.default.resultCtx(this.options,"label",this):!1===t&&(t=""),this.$el.html(this.template(r.default.extend(r.default.omit(this.options,"placeholder"),{placeholder:t}))),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()}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(4),o=n(31),s=i.default.tpl('      <span class="password-toggle">        <span class="eyeicon visibility-16 button-show"></span>        <span class="eyeicon visibility-off-16 button-hide"></span>      </span>  ');e.default=o.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")),o.default.prototype.postRender.apply(this,arguments)},__showPasswordToggle:function(){return this.options.params&&this.options.params.showPasswordToggle},__showPassword:function(){var t=this;o.default.prototype.changeType.apply(this,["text"]),this.$(".password-toggle .button-show").hide(),this.$(".password-toggle .button-hide").show(),this.passwordToggleTimer=r.default.delay(function(){t.__hidePassword()},3e4)},__hidePassword:function(){o.default.prototype.changeType.apply(this,["password"]),this.$(".password-toggle .button-show").show(),this.$(".password-toggle .button-hide").hide(),this.passwordToggleTimer&&clearTimeout(this.passwordToggleTimer)}})},function(t,e,n){var r,i;r=[n(12)],void 0!==(i=function(t){function e(e){var n={},r=/^jQuery\d+$/;return t.each(e.attributes,function(t,e){e.specified&&!r.test(e.name)&&(n[e.name]=e.value)}),n}function n(e,n){var r=this,i=t(r);if(r.value==i.attr("placeholder")&&i.hasClass("placeholder"))if(i.data("placeholder-password")){if(i=i.hide().next().show().attr("id",i.removeAttr("id").data("placeholder-id")),!0===e)return i[0].value=n;i.focus()}else r.value="",i.removeClass("placeholder"),r==document.activeElement&&r.select()}function r(){var r,i=this,o=t(i),s=this.id;if(""==i.value){if("password"==i.type){if(!o.data("placeholder-textinput")){try{r=o.clone().attr({type:"text"})}catch(n){r=t("<input>").attr(t.extend(e(this),{type:"text"}))}r.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",n),o.data({"placeholder-textinput":r,"placeholder-id":s}).before(r)}o=o.removeAttr("id").hide().prev().attr("id",s).show()}o.addClass("placeholder"),o[0].value=o.attr("placeholder")}else o.removeClass("placeholder")}var i,o,s="placeholder"in document.createElement("input"),a="placeholder"in document.createElement("textarea"),u=t.fn,l=t.valHooks;s&&a?(o=u.placeholder=function(){return this},o.input=o.textarea=!0):(o=u.placeholder=function(){var t=this;return t.filter((s?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder"),t},o.input=s,o.textarea=a,i={get:function(e){var n=t(e);return n.data("placeholder-enabled")&&n.hasClass("placeholder")?"":e.value},set:function(e,i){var o=t(e);return o.data("placeholder-enabled")?(""==i?(e.value=i,e!=document.activeElement&&r.call(e)):o.hasClass("placeholder")?n.call(e,!0,i)||(e.value=i):e.value=i,o):e.value=i}},s||(l.input=i),a||(l.textarea=i),t(function(){t(document).delegate("form","submit.placeholder",function(){var e=t(".placeholder",this).each(n);setTimeout(function(){e.each(r)},10)})}),t(window).bind("beforeunload.placeholder",function(){t(".placeholder").each(function(){this.value=""})}))}.apply(e,r))&&(t.exports=i)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(0),o=n(8),s=n(16),a=n(1),u=n(30),l=(n.n(u),n(10)),c=s.default.isABaseView,f=a.default.extend({template:'      <input type="radio" name="{{name}}" data-se-name="{{realName}}" value="{{value}}" id="{{optionId}}">      <label for="{{optionId}}" data-se-for-name="{{realName}}" class="radio-label">        {{label}}      </label>    ',initialize:function(t){var e=void 0;e=t.explain,i.default.isFunction(e)&&!c(e)&&(e=i.default.resultCtx(this.options,"explain",this)),e&&(c(e)?(this.add('<p class="o-form-explain"></p>',".radio-label"),this.add(e,".o-form-explain")):this.add('<p class="o-form-explain">{{explain}}</p>',".radio-label"))}});e.default=l.a.extend({events:{"change :radio":"update",keyup:function(t){o.default.isSpaceBar(t)?Object(r.default)(t.target).click():o.default.isEnter(t)&&this.model.trigger("form:save")}},editMode:function(){var t=[];this.$el.empty(),i.default.each(this.options.options,function(e,n){var r={optionId:i.default.uniqueId("option"),name:this.options.inputId,realName:this.options.name,value:n};i.default.isObject(e)||(e={label:e}),i.default.extend(r,e),t.push(new f(r).render().el)},this),this.$el.append(t);var e=this.getModelValue();return e&&this.$(":radio[value="+e+"]").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()}})}])},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r,i;r=[n(1),n(5),n(79),n(89)],void 0!==(i=function(t,e,n,r){var i=t.internal.views.forms.components.Toolbar,o=t.internal.views.forms.helpers.FormUtil,s=t._,a=t.Form.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(n){t.Form.call(this,n),s.each(s.result(this,"formChildren")||[],function(n){switch(n.type){case e.INPUT:this.addInput(s.extend({label:!1,"label-top":!0},n.viewOptions));break;case e.BUTTON:this.add(t.createButton(s.extend({model:this.model},n.viewOptions)),n.addOptions),o.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case e.DIVIDER:this.addDivider(n.viewOptions);break;case e.TOOLBAR:this.add(i,{options:n.viewOptions}),o.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case e.VIEW:this.add(n.viewOptions.View,n.addOptions),o.applyShowWhen(this.last(),n.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+n.type)}},this)}});return n.extend({constructor:function(){var t=this.initialize;if(this.initialize=function(){},n.apply(this,arguments),this.Model&&this.Form){var e=r.extend(s.extend({parse:function(t){return this.settings=t.settings,this.appState=t.appState,s.omit(t,["settings","appState"])}},s.result(this,"Model")));this.model=new e({settings:this.settings,appState:this.options.appState},{parse:!0});var i=a.extend(s.result(this,"Form",this));this.form=new i(this.toJSON()),this.add(this.form)}this.Footer&&this.addFooter(this.Footer),this.addListeners(),t.apply(this,arguments)},addFooter:function(t,e){this.footer=new t(s.extend(this.toJSON(),e||{})),this.add(this.footer)},toJSON:function(){var t=n.prototype.toJSON.apply(this,arguments);return s.extend(s.pick(this.options,"appState"),t)},back:function(){this.footer&&this.footer.back&&this.footer.back()}})}.apply(e,r))&&(t.exports=i)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var r;void 0!==(r=function(){function t(t){return function(e,n){return{type:t,viewOptions:e,addOptions:n}}}return{Input:t("INPUT"),Button:t("BUTTON"),Divider:t("DIVIDER"),Toolbar:t("TOOLBAR"),View:t("VIEW"),INPUT:"INPUT",BUTTON:"BUTTON",DIVIDER:"DIVIDER",TOOLBAR:"TOOLBAR",VIEW:"VIEW"}}.call(e,n,e,t))&&(t.exports=r)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";t.exports={WIDGET_CONTAINER_ID:"okta-sign-in",WIDGET_CONFIG_COLORS_ID:"okta-sign-in-config-colors",DIRECTION_BACK:"DIRECTION_BACK",RECOVERY_TYPE_PASSWORD:"PASSWORD",RECOVERY_TYPE_UNLOCK:"UNLOCK",RECOVERY_FACTOR_TYPE_SMS:"SMS",RECOVERY_FACTOR_TYPE_EMAIL:"EMAIL",RECOVERY_FACTOR_TYPE_CALL:"CALL",SUCCESS:"SUCCESS",FORGOT_PASSWORD_EMAIL_SENT:"FORGOT_PASSWORD_EMAIL_SENT",UNLOCK_ACCOUNT_EMAIL_SENT:"UNLOCK_ACCOUNT_EMAIL_SENT",CONFIG_ERROR:"CONFIG_ERROR",UNSUPPORTED_BROWSER_ERROR:"UNSUPPORTED_BROWSER_ERROR",OAUTH_ERROR:"OAUTH_ERROR",AUTH_STOP_POLL_INITIATION_ERROR:"AUTH_STOP_POLL_INITIATION_ERROR",U2F_ERROR:"U2F_ERROR",WEB_AUTHN_ERROR:"WEB_AUTHN_ERROR",ALL_OPTIONAL_NONE_ENROLLED:"ALL_OPTIONAL_NONE_ENROLLED",ALL_OPTIONAL_SOME_ENROLLED:"ALL_OPTIONAL_SOME_ENROLLED",HAS_REQUIRED_NONE_ENROLLED:"HAS_REQUIRED_NONE_ENROLLED",HAS_REQUIRED_SOME_REQUIRED_ENROLLED:"HAS_REQUIRED_SOME_REQUIRED_ENROLLED",HAS_REQUIRED_ALL_REQUIRED_ENROLLED:"HAS_REQUIRED_ALL_REQUIRED_ENROLLED",PRIMARY_AUTH:"PRIMARY_AUTH",FORGOT_PASSWORD:"FORGOT_PASSWORD",UNLOCK_ACCOUNT:"UNLOCK_ACCOUNT",SESSION_SSO:"SESSION_SSO",SESSION_STEP_UP:"SESSION_STEP_UP",ACTIVATION_EMAIL_SENT:"ACTIVATION_EMAIL_SENT",REGISTRATION_COMPLETE:"REGISTRATION_COMPLETE",REGISTRATION_FAILED:"REGISTRATION_FAILED",IDP_DISCOVERY:"IDP_DISCOVERY"}},function(t,e,n){var r=n(80)("wks"),i=n(55),o=n(4).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(34),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){/*!
 *
 * Copyright 2009-2012 Kris Kowal under the terms of the MIT
 * license found at http://github.com/kriskowal/q/raw/master/LICENSE
 *
 * With parts by Tyler Close
 * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
 * at http://www.opensource.org/licenses/mit-license.html
 * Forked at ref_send.js version: 2009-05-11
 *
 * With parts by Mark Miller
 * Copyright (C) 2011 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
!function(e){"use strict";if("function"==typeof bootstrap)bootstrap("promise",e);else{t.exports=e()}}(function(){"use strict";function t(t){return function(){return z.apply(t,arguments)}}function e(t){return t===Object(t)}function n(t){return"[object StopIteration]"===tt(t)||t instanceof H}function r(t,e){if(B&&e.stack&&"object"==typeof t&&null!==t&&t.stack&&-1===t.stack.indexOf(et)){for(var n=[],r=e;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(t.stack);var o=n.join("\n"+et+"\n");t.stack=i(o)}}function i(t){for(var e=t.split("\n"),n=[],r=0;r<e.length;++r){var i=e[r];a(i)||o(i)||!i||n.push(i)}return n.join("\n")}function o(t){return-1!==t.indexOf("(module.js:")||-1!==t.indexOf("(node.js:")}function s(t){var e=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(t);if(e)return[e[1],Number(e[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(t);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(t);return r?[r[1],Number(r[2])]:void 0}function a(t){var e=s(t);if(!e)return!1;var n=e[0],r=e[1];return n===q&&r>=V&&r<=st}function u(){if(B)try{throw new Error}catch(r){var t=r.stack.split("\n"),e=t[0].indexOf("@")>0?t[1]:t[2],n=s(e);if(!n)return;return q=n[0],n[1]}}function l(t){return t instanceof d?t:v(t)?k(t):T(t)}function c(){function t(t){e=t,o.source=t,K(n,function(e,n){l.nextTick(function(){t.promiseDispatch.apply(t,n)})},void 0),n=void 0,r=void 0}var e,n=[],r=[],i=Q(c.prototype),o=Q(d.prototype);if(o.promiseDispatch=function(t,i,o){var s=G(arguments);n?(n.push(s),"when"===i&&o[1]&&r.push(o[1])):l.nextTick(function(){e.promiseDispatch.apply(e,s)})},o.valueOf=function(){if(n)return o;var t=m(e);return g(t)&&(e=t),t},o.inspect=function(){return e?e.inspect():{state:"pending"}},l.longStackSupport&&B)try{throw new Error}catch(t){o.stack=t.stack.substring(t.stack.indexOf("\n")+1)}return i.promise=o,i.resolve=function(n){e||t(l(n))},i.fulfill=function(n){e||t(T(n))},i.reject=function(n){e||t(E(n))},i.notify=function(t){e||K(r,function(e,n){l.nextTick(function(){n(t)})},void 0)},i}function f(t){if("function"!=typeof t)throw new TypeError("resolver must be a function.");var e=c();try{t(e.resolve,e.reject,e.notify)}catch(t){e.reject(t)}return e.promise}function p(t){return f(function(e,n){for(var r=0,i=t.length;r<i;r++)l(t[r]).then(e,n)})}function d(t,e,n){void 0===e&&(e=function(t){return E(new Error("Promise does not support operation: "+t))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=Q(d.prototype);if(r.promiseDispatch=function(n,i,o){var s;try{s=t[i]?t[i].apply(r,o):e.call(r,i,o)}catch(t){s=E(t)}n&&n(s)},r.inspect=n,n){var i=n();"rejected"===i.state&&(r.exception=i.reason),r.valueOf=function(){var t=n();return"pending"===t.state||"rejected"===t.state?r:t.value}}return r}function h(t,e,n,r){return l(t).then(e,n,r)}function m(t){if(g(t)){var e=t.inspect();if("fulfilled"===e.state)return e.value}return t}function g(t){return t instanceof d}function v(t){return e(t)&&"function"==typeof t.then}function y(t){return g(t)&&"pending"===t.inspect().state}function _(t){return!g(t)||"fulfilled"===t.inspect().state}function b(t){return g(t)&&"rejected"===t.inspect().state}function w(){nt.length=0,rt.length=0,ot||(ot=!0)}function x(t,e){ot&&("object"==typeof process&&"function"==typeof process.emit&&l.nextTick.runAfter(function(){-1!==Y(rt,t)&&(process.emit("unhandledRejection",e,t),it.push(t))}),rt.push(t),e&&void 0!==e.stack?nt.push(e.stack):nt.push("(no stack) "+e))}function S(t){if(ot){var e=Y(rt,t);-1!==e&&("object"==typeof process&&"function"==typeof process.emit&&l.nextTick.runAfter(function(){var n=Y(it,t);-1!==n&&(process.emit("rejectionHandled",nt[e],t),it.splice(n,1))}),rt.splice(e,1),nt.splice(e,1))}}function E(t){var e=d({when:function(e){return e&&S(this),e?e(t):this}},function(){return this},function(){return{state:"rejected",reason:t}});return x(e,t),e}function T(t){return d({when:function(){return t},get:function(e){return t[e]},set:function(e,n){t[e]=n},delete:function(e){delete t[e]},post:function(e,n){return null===e||void 0===e?t.apply(void 0,n):t[e].apply(t,n)},apply:function(e,n){return t.apply(e,n)},keys:function(){return Z(t)}},void 0,function(){return{state:"fulfilled",value:t}})}function k(t){var e=c();return l.nextTick(function(){try{t.then(e.resolve,e.reject,e.notify)}catch(t){e.reject(t)}}),e.promise}function C(t){return d({isDef:function(){}},function(e,n){return P(t,e,n)},function(){return l(t).inspect()})}function A(t,e,n){return l(t).spread(e,n)}function O(t){return function(){function e(t,e){var s;if("undefined"==typeof StopIteration){try{s=r[t](e)}catch(t){return E(t)}return s.done?l(s.value):h(s.value,i,o)}try{s=r[t](e)}catch(t){return n(t)?l(t.value):E(t)}return h(s,i,o)}var r=t.apply(this,arguments),i=e.bind(e,"next"),o=e.bind(e,"throw");return i()}}function N(t){l.done(l.async(t)())}function I(t){throw new H(t)}function R(t){return function(){return A([this,M(arguments)],function(e,n){return t.apply(e,n)})}}function P(t,e,n){return l(t).dispatch(e,n)}function M(t){return h(t,function(t){var e=0,n=c();return K(t,function(r,i,o){var s;g(i)&&"fulfilled"===(s=i.inspect()).state?t[o]=s.value:(++e,h(i,function(r){t[o]=r,0==--e&&n.resolve(t)},n.reject,function(t){n.notify({index:o,value:t})}))},void 0),0===e&&n.resolve(t),n.promise})}function L(t){if(0===t.length)return l.resolve();var e=l.defer(),n=0;return K(t,function(r,i,o){function s(t){e.resolve(t)}function a(){0===--n&&e.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}function u(t){e.notify({index:o,value:t})}var l=t[o];n++,h(l,s,a,u)},void 0),e.promise}function D(t){return h(t,function(t){return t=J(t,l),h(M(J(t,function(t){return h(t,W,W)})),function(){return t})})}function F(t){return l(t).allSettled()}function U(t,e){return l(t).then(void 0,void 0,e)}function j(t,e){return l(t).nodeify(e)}var B=!1;try{throw new Error}catch(t){B=!!t.stack}var q,H,V=u(),W=function(){},$=function(){function t(){for(var t,r;n.next;)n=n.next,t=n.task,n.task=void 0,r=n.domain,r&&(n.domain=void 0,r.enter()),e(t,r);for(;a.length;)t=a.pop(),e(t);i=!1}function e(e,n){try{e()}catch(e){if(s)throw n&&n.exit(),setTimeout(t,0),n&&n.enter(),e;setTimeout(function(){throw e},0)}n&&n.exit()}var n={task:void 0,next:null},r=n,i=!1,o=void 0,s=!1,a=[];if($=function(t){r=r.next={task:t,domain:s&&process.domain,next:null},i||(i=!0,o())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)s=!0,o=function(){process.nextTick(t)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,t):function(){setImmediate(t)};else if("undefined"!=typeof MessageChannel){var u=new MessageChannel;u.port1.onmessage=function(){o=l,u.port1.onmessage=t,t()};var l=function(){u.port2.postMessage(0)};o=function(){setTimeout(t,0),l()}}else o=function(){setTimeout(t,0)};return $.runAfter=function(t){a.push(t),i||(i=!0,o())},$}(),z=Function.call,G=t(Array.prototype.slice),K=t(Array.prototype.reduce||function(t,e){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){e=this[n++];break}if(++n>=r)throw new TypeError}for(;n<r;n++)n in this&&(e=t(e,this[n],n));return e}),Y=t(Array.prototype.indexOf||function(t){for(var e=0;e<this.length;e++)if(this[e]===t)return e;return-1}),J=t(Array.prototype.map||function(t,e){var n=this,r=[];return K(n,function(i,o,s){r.push(t.call(e,o,s,n))},void 0),r}),Q=Object.create||function(t){function e(){}return e.prototype=t,new e},X=t(Object.prototype.hasOwnProperty),Z=Object.keys||function(t){var e=[];for(var n in t)X(t,n)&&e.push(n);return e},tt=t(Object.prototype.toString);H="undefined"!=typeof ReturnValue?ReturnValue:function(t){this.value=t};var et="From previous event:";l.resolve=l,l.nextTick=$,l.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(l.longStackSupport=!0),l.defer=c,c.prototype.makeNodeResolver=function(){var t=this;return function(e,n){e?t.reject(e):arguments.length>2?t.resolve(G(arguments,1)):t.resolve(n)}},l.Promise=f,l.promise=f,f.race=p,f.all=M,f.reject=E,f.resolve=l,l.passByCopy=function(t){return t},d.prototype.passByCopy=function(){return this},l.join=function(t,e){return l(t).join(e)},d.prototype.join=function(t){return l([this,t]).spread(function(t,e){if(t===e)return t;throw new Error("Can't join: not the same: "+t+" "+e)})},l.race=p,d.prototype.race=function(){return this.then(l.race)},l.makePromise=d,d.prototype.toString=function(){return"[object Promise]"},d.prototype.then=function(t,e,n){function i(e){try{return"function"==typeof t?t(e):e}catch(t){return E(t)}}function o(t){if("function"==typeof e){r(t,a);try{return e(t)}catch(t){return E(t)}}return E(t)}function s(t){return"function"==typeof n?n(t):t}var a=this,u=c(),f=!1;return l.nextTick(function(){a.promiseDispatch(function(t){f||(f=!0,u.resolve(i(t)))},"when",[function(t){f||(f=!0,u.resolve(o(t)))}])}),a.promiseDispatch(void 0,"when",[void 0,function(t){var e,n=!1;try{e=s(t)}catch(t){if(n=!0,!l.onerror)throw t;l.onerror(t)}n||u.notify(e)}]),u.promise},l.tap=function(t,e){return l(t).tap(e)},d.prototype.tap=function(t){return t=l(t),this.then(function(e){return t.fcall(e).thenResolve(e)})},l.when=h,d.prototype.thenResolve=function(t){return this.then(function(){return t})},l.thenResolve=function(t,e){return l(t).thenResolve(e)},d.prototype.thenReject=function(t){return this.then(function(){throw t})},l.thenReject=function(t,e){return l(t).thenReject(e)},l.nearer=m,l.isPromise=g,l.isPromiseAlike=v,l.isPending=y,d.prototype.isPending=function(){return"pending"===this.inspect().state},l.isFulfilled=_,d.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},l.isRejected=b,d.prototype.isRejected=function(){return"rejected"===this.inspect().state};var nt=[],rt=[],it=[],ot=!0;l.resetUnhandledRejections=w,l.getUnhandledReasons=function(){return nt.slice()},l.stopUnhandledRejectionTracking=function(){w(),ot=!1},w(),l.reject=E,l.fulfill=T,l.master=C,l.spread=A,d.prototype.spread=function(t,e){return this.all().then(function(e){return t.apply(void 0,e)},e)},l.async=O,l.spawn=N,l.return=I,l.promised=R,l.dispatch=P,d.prototype.dispatch=function(t,e){var n=this,r=c();return l.nextTick(function(){n.promiseDispatch(r.resolve,t,e)}),r.promise},l.get=function(t,e){return l(t).dispatch("get",[e])},d.prototype.get=function(t){return this.dispatch("get",[t])},l.set=function(t,e,n){return l(t).dispatch("set",[e,n])},d.prototype.set=function(t,e){return this.dispatch("set",[t,e])},l.del=l.delete=function(t,e){return l(t).dispatch("delete",[e])},d.prototype.del=d.prototype.delete=function(t){return this.dispatch("delete",[t])},l.mapply=l.post=function(t,e,n){return l(t).dispatch("post",[e,n])},d.prototype.mapply=d.prototype.post=function(t,e){return this.dispatch("post",[t,e])},l.send=l.mcall=l.invoke=function(t,e){return l(t).dispatch("post",[e,G(arguments,2)])},d.prototype.send=d.prototype.mcall=d.prototype.invoke=function(t){return this.dispatch("post",[t,G(arguments,1)])},l.fapply=function(t,e){return l(t).dispatch("apply",[void 0,e])},d.prototype.fapply=function(t){return this.dispatch("apply",[void 0,t])},l.try=l.fcall=function(t){return l(t).dispatch("apply",[void 0,G(arguments,1)])},d.prototype.fcall=function(){return this.dispatch("apply",[void 0,G(arguments)])},l.fbind=function(t){var e=l(t),n=G(arguments,1);return function(){return e.dispatch("apply",[this,n.concat(G(arguments))])}},d.prototype.fbind=function(){var t=this,e=G(arguments);return function(){return t.dispatch("apply",[this,e.concat(G(arguments))])}},l.keys=function(t){return l(t).dispatch("keys",[])},d.prototype.keys=function(){return this.dispatch("keys",[])},l.all=M,d.prototype.all=function(){return M(this)},l.any=L,d.prototype.any=function(){return L(this)},l.allResolved=function(t,e,n){return function(){return"undefined"!=typeof console&&console.warn,t.apply(t,arguments)}}(D,"allResolved","allSettled"),d.prototype.allResolved=function(){return D(this)},l.allSettled=F,d.prototype.allSettled=function(){return this.then(function(t){return M(J(t,function(t){function e(){return t.inspect()}return t=l(t),t.then(e,e)}))})},l.fail=l.catch=function(t,e){return l(t).then(void 0,e)},d.prototype.fail=d.prototype.catch=function(t){return this.then(void 0,t)},l.progress=U,d.prototype.progress=function(t){return this.then(void 0,void 0,t)},l.fin=l.finally=function(t,e){return l(t).finally(e)},d.prototype.fin=d.prototype.finally=function(t){return t=l(t),this.then(function(e){return t.fcall().then(function(){return e})},function(e){return t.fcall().then(function(){throw e})})},l.done=function(t,e,n,r){return l(t).done(e,n,r)},d.prototype.done=function(t,e,n){var i=function(t){l.nextTick(function(){if(r(t,o),!l.onerror)throw t;l.onerror(t)})},o=t||e||n?this.then(t,e,n):this;"object"==typeof process&&process&&process.domain&&(i=process.domain.bind(i)),o.then(void 0,i)},l.timeout=function(t,e,n){return l(t).timeout(e,n)},d.prototype.timeout=function(t,e){var n=c(),r=setTimeout(function(){e&&"string"!=typeof e||(e=new Error(e||"Timed out after "+t+" ms"),e.code="ETIMEDOUT"),n.reject(e)},t);return this.then(function(t){clearTimeout(r),n.resolve(t)},function(t){clearTimeout(r),n.reject(t)},n.notify),n.promise},l.delay=function(t,e){return void 0===e&&(e=t,t=void 0),l(t).delay(e)},d.prototype.delay=function(t){return this.then(function(e){var n=c();return setTimeout(function(){n.resolve(e)},t),n.promise})},l.nfapply=function(t,e){return l(t).nfapply(e)},d.prototype.nfapply=function(t){var e=c(),n=G(t);return n.push(e.makeNodeResolver()),this.fapply(n).fail(e.reject),e.promise},l.nfcall=function(t){var e=G(arguments,1);return l(t).nfapply(e)},d.prototype.nfcall=function(){var t=G(arguments),e=c();return t.push(e.makeNodeResolver()),this.fapply(t).fail(e.reject),e.promise},l.nfbind=l.denodeify=function(t){var e=G(arguments,1);return function(){var n=e.concat(G(arguments)),r=c();return n.push(r.makeNodeResolver()),l(t).fapply(n).fail(r.reject),r.promise}},d.prototype.nfbind=d.prototype.denodeify=function(){var t=G(arguments);return t.unshift(this),l.denodeify.apply(void 0,t)},l.nbind=function(t,e){var n=G(arguments,2);return function(){function r(){return t.apply(e,arguments)}var i=n.concat(G(arguments)),o=c();return i.push(o.makeNodeResolver()),l(r).fapply(i).fail(o.reject),o.promise}},d.prototype.nbind=function(){var t=G(arguments,0);return t.unshift(this),l.nbind.apply(void 0,t)},l.nmapply=l.npost=function(t,e,n){return l(t).npost(e,n)},d.prototype.nmapply=d.prototype.npost=function(t,e){var n=G(e||[]),r=c();return n.push(r.makeNodeResolver()),this.dispatch("post",[t,n]).fail(r.reject),r.promise},l.nsend=l.nmcall=l.ninvoke=function(t,e){var n=G(arguments,2),r=c();return n.push(r.makeNodeResolver()),l(t).dispatch("post",[e,n]).fail(r.reject),r.promise},d.prototype.nsend=d.prototype.nmcall=d.prototype.ninvoke=function(t){var e=G(arguments,1),n=c();return e.push(n.makeNodeResolver()),this.dispatch("post",[t,e]).fail(n.reject),n.promise},l.nodeify=j,d.prototype.nodeify=function(t){if(!t)return this;this.then(function(e){l.nextTick(function(){t(null,e)})},function(e){l.nextTick(function(){t(e)})})},l.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var st=u();return l})},function(t,e,n){var r=n(2),i=n(170),o=n(38),s=Object.defineProperty;e.f=n(11)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var r,i;r=[n(1),n(68),n(159)],void 0!==(i=function(t,e){var n=t.internal.views.forms.inputs.TextBox;return n.extend({postRender:function(){if("number"===this.options.type){this.$("input").attr({pattern:"[0-9]*",inputmode:"numeric"})}n.prototype.postRender.apply(this,arguments)},focus:function(){if(!e.isIE())return n.prototype.focus.apply(this,arguments)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(39);t.exports=function(t){return Object(r(t))}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";var r,i;r=[n(1),n(116),n(8)],void 0!==(i=function(t,e,n){function r(t){for(var e=[t],n=t.split("-");n.pop()&&n.length>0;)e.push(n.join("-"));return e}var i={},o=t._,s=function(t,e){var n=document.createElement("input");return n.name=t,n.value=decodeURIComponent(e),n.type="hidden",n},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("#"),n=e[1],r=(e[0]||"").split("?"),i=r[1],o=r[0];n&&(o+="#"+n);var a=document.createElement("form");if(a.method="get",a.setAttribute("style","display: none;"),a.action=o,i&&i.length){i.split("&").forEach(function(t){var e=t.split("="),n=s(e[0],e[1]);a.appendChild(n)})}return a};return i.hasTokensInHash=function(t){return/((id|access)_token=)/i.test(t)},i.transformErrorXHR=function(e){if(0===e.status&&o.isEmpty(e.responseJSON))return e.responseJSON={errorSummary:t.loc("error.network.connection","login")},e;if(!e.responseJSON){if(!e.responseText)return e.responseJSON={errorSummary:t.loc("oform.error.unexpected","login")},e;e.responseJSON=e.responseText}if(e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&(e.responseJSON.errorSummary=e.responseJSON.errorCauses[0].errorSummary),!o.isEmpty(e.responseJSON)){var n=t.loc("errors."+e.responseJSON.errorCode,"login");-1===n.indexOf("L10N_ERROR[")&&(e.responseJSON.errorSummary=n,e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&delete e.responseJSON.errorCauses)}return e},i.toLower=function(t){return o.map(t,function(t){return t.toLowerCase()})},i.expandLanguages=function(t){return o.chain(t).map(r).flatten().uniq().value()},i.callAfterTimeout=function(t,e){return setTimeout(t,e)},i.debugMessage=function(t){t.replace(/^(\s)+/gm,"")},i.triggerAfterError=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!e.statusCode&&e.xhr&&e.xhr.status&&(e.statusCode=e.xhr.status);var n=o.isFunction(t.className)?t.className():t.className,r=o.pick(e,"name","message","statusCode","xhr");t.trigger("afterError",{controller:n},r)},i.redirectWithFormGet=function(t){if(!t)return void e.error("Cannot redirect to empty URL: ("+t+")");var r=document.getElementById(n.WIDGET_CONTAINER_ID);if(!r)return void e.error("Cannot find okta-sign-in container append to which a form");var i=a(t);r.appendChild(i),i.submit()},i.createInputExplain=function(e,n,r,i,o){var s=i?t.loc(e,r,i):t.loc(e,r);return s!==(o?t.loc(n,r,o):t.loc(n,r))&&s},i}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(509)],void 0!==(i=function(t,e){var n=t._,r={},i={OKTA_VERIFY:{label:"factor.totpSoft.oktaVerify",description:"factor.totpSoft.description",iconClassName:"mfa-okta-verify",sortOrder:1},OKTA_VERIFY_PUSH:{label:"factor.oktaVerifyPush",description:"factor.push.description",iconClassName:"mfa-okta-verify",sortOrder:1},U2F:{label:"factor.u2f",description:function(t){return t?"factor.u2f.description.specific":"factor.u2f.description.generic"},iconClassName:"mfa-u2f",sortOrder:2},WEBAUTHN:{label:"factor.webauthn",description:"factor.webauthn.description",iconClassName:"mfa-webauthn",sortOrder:2},WINDOWS_HELLO:{label:"factor.windowsHello",description:function(t){return t?"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:"",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(t){return t?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:17},GENERIC_OIDC:{label:"",description:function(t){return t?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:18}};return r.getFactorName=function(t,e){return"OKTA"===t&&"token:software:totp"===e?"OKTA_VERIFY":"OKTA"===t&&"push"===e?"OKTA_VERIFY_PUSH":"GOOGLE"===t?"GOOGLE_AUTH":"SYMANTEC"===t&&"token"===e?"SYMANTEC_VIP":"RSA"===t&&"token"===e?"RSA_SECURID":"DEL_OATH"===t&&"token"===e?"ON_PREM":"DUO"===t&&"web"===e?"DUO":"YUBICO"===t&&"token:hardware"===e?"YUBIKEY":"OKTA"===t&&"sms"===e?"SMS":"OKTA"===t&&"call"===e?"CALL":"OKTA"===t&&"question"===e?"QUESTION":"OKTA"===t&&"email"===e?"EMAIL":"OKTA"===t&&"password"===e?"PASSWORD":"GENERIC_SAML"===t&&"assertion:saml2"===e?"GENERIC_SAML":"GENERIC_OIDC"===t&&"assertion:oidc"===e?"GENERIC_OIDC":r.getFactorNameForFactorType.call(this,e)},r.getFactorNameForFactorType=function(t){return"u2f"===t?"U2F":"token:software:totp"===t?"OKTA_VERIFY":"webauthn"===t?this.settings.get("features.webauthn")?"WEBAUTHN":"WINDOWS_HELLO":"token:hotp"===t?"CUSTOM_HOTP":"claims_provider"===t?"CUSTOM_CLAIMS":void 0},r.isOktaVerify=function(t,e){return"OKTA"===t&&("token:software:totp"===e||"push"===e)},r.getFactorLabel=function(e,n){var o=i[r.getFactorName.apply(this,[e,n])].label;return t.loc(o,"login")},r.getFactorDescription=function(e,o){var s=i[r.getFactorName.apply(this,[e,o])].description;if(n.isFunction(s)){var a=this.settings.get("brandName"),u=s(a);return a?t.loc(u,"login",[a]):t.loc(u,"login")}return t.loc(s,"login")},r.getFactorIconClassName=function(t,e){return i[r.getFactorName.apply(this,[t,e])].iconClassName},r.getFactorSortOrder=function(t,e){return i[r.getFactorName.apply(this,[t,e])].sortOrder},r.getRememberDeviceValue=function(t){return t&&t.get("rememberDeviceByDefault")},r.getSecurityQuestionLabel=function(e){var n=t.loc("security."+e.question);return n.indexOf("L10N_ERROR")<0?n:e.questionText},r.getPasswordComplexityDescription=function(r){var i=[];if(r.complexity){var o={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"}},s=function(t){var e=t.excludeAttributes;return t.excludeFirstName=n.contains(e,"firstName"),t.excludeLastName=n.contains(e,"lastName"),n.omit(t,"excludeAttributes")}(r.complexity),a=n.map(s,function(e,n){if(!(e<=0)){var r=o[n];return r.args?t.loc(r.i18n,"login",[e]):t.loc(r.i18n,"login")}});a=n.compact(a),a.length&&(a=n.reduce(a,function(e,n){return e?e+t.loc("password.complexity.list.element","login",[n]):n}),i.push(t.loc("password.complexity.requirements","login",[a])))}if(r.age&&r.age.historyCount>0&&i.push(t.loc("password.complexity.history","login",[r.age.historyCount])),r.age&&r.age.minAgeMinutes>0){var u=e.getTimeInHighestRelevantUnit(r.age.minAgeMinutes,"MINUTE"),l=function(e){var n;switch(e.unit){case"DAY":n="password.complexity.minAgeDays";break;case"HOUR":n="password.complexity.minAgeHours";break;case"MINUTE":n="password.complexity.minAgeMinutes"}return t.loc(n,"login",[e.time])}(u);i.push(l)}return i.join(" ")},r.getCardinalityText=function(e,n,r){if(r){if(e)return 1===r.enrolled?"":t.loc("enroll.choices.cardinality.setup","login",[r.enrolled]);if(n&&r.maximum>1)return t.loc("enroll.choices.cardinality.setup.remaining","login",[r.enrolled,r.minimum])}return""},r.findFactorInFactorsArray=function(t,e,n){var r=t.findWhere({provider:e,factorType:n});return void 0===r&&(r=t.findWhere({factorType:n})),r},r}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){return t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="mfa.backToFactors" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",e.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(t){return t.prev()}):this.options.appState.trigger("navigate","signin/enroll")}})}.apply(e,r))&&(t.exports=i)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(154)("wks"),i=n(111),o=n(21).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r,i;r=[n(1),n(147),n(17),n(8),n(68),n(36),n(545)],void 0!==(i=function(t,e,n,r,i,o,s){var a={},u=t.tpl("signin/verify/{{provider}}/{{factorType}}"),l=t.tpl("signin/verify/{{provider}}/{{factorType}}/{{factorIndex}}"),c=t.tpl("signin/verify/{{factorType}}"),f=t.tpl("signin/enroll/{{provider}}/{{factorType}}"),p=t.tpl("signin/enroll-activate/{{provider}}/{{factorType}}{{#if step}}/{{step}}{{/if}}"),d=t.tpl("signin/recovery/{{recoveryToken}}"),h=t.tpl("signin/refresh-auth-state{{#if token}}/{{token}}{{/if}}"),m=t.tpl("{{baseUrl}}/login/sessionCookieRedirect?checkAccountSetupComplete=true&token={{{token}}}&redirectUrl={{{redirectUrl}}}");return a.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},a.isDocumentVisible=function(){return"visible"===document.visibilityState},a.createVerifyUrl=function(t,e,n){return t&&n?l({provider:encodeURIComponent(t.toLowerCase()),factorType:encodeURIComponent(e),factorIndex:encodeURIComponent(n)}):t?u({provider:encodeURIComponent(t.toLowerCase()),factorType:encodeURIComponent(e)}):c({factorType:encodeURIComponent(e)})},a.createEnrollFactorUrl=function(t,e){return f({provider:encodeURIComponent(t.toLowerCase()),factorType:encodeURIComponent(e)})},a.createActivateFactorUrl=function(t,e,n){return p({provider:encodeURIComponent(t.toLowerCase()),factorType:encodeURIComponent(e),step:!!n&&encodeURIComponent(n)})},a.createRecoveryUrl=function(t){return d({recoveryToken:encodeURIComponent(t)})},a.createRefreshUrl=function(t){var e=t?encodeURIComponent(t):null;return h({token:e})},a.routeAfterAuthStatusChangeError=function(e,a){if(a)return a.xhr&&i.corsIsNotEnabled(a.xhr)?void e.settings.callGlobalError(new o.UnsupportedBrowserError(t.loc("error.enabled.cors"))):a.errorCode===s.INVALID_TOKEN_EXCEPTION?(e.appState.set("flashError",a),e.controller.state.set("navigateDir",r.DIRECTION_BACK),void e.navigate("",{trigger:!0})):void n.triggerAfterError(e.controller,a)},a.routeAfterAuthStatusChange=function(t,e){e&&e.status&&(t.appState.setAuthResponse(e),t.controller&&t.controller.trapAuthResponse(e)||a.handleResponseStatus(t,e))},a.handleResponseStatus=function(n,i){switch(i.status){case"SUCCESS":if(i.recoveryType===r.RECOVERY_TYPE_UNLOCK)return void n.navigate("signin/account-unlocked",{trigger:!0});if(n.settings.get("oauth2Enabled"))return void e.getTokens(n.settings,{sessionToken:i.sessionToken},n.controller);var o={user:i._embedded.user,type:i.type||r.SESSION_SSO};i.relayState&&(o.relayState=i.relayState);var s=n.settings.get("redirectUtilFn"),u=i._links&&(i._links.original&&i._links.original.href||i._links.next&&i._links.next.href);if(i.type===r.SESSION_STEP_UP){var l=i._links&&i._links.next&&i._links.next.href;o.stepUp={url:l,finish:function(){s(l)}}}else u?o.next=function(){s(u)}:(o.type=r.SESSION_SSO,o.session={token:i.sessionToken,setCookieAndRedirect:function(t){s(m({baseUrl:n.settings.get("baseUrl"),token:encodeURIComponent(i.sessionToken),redirectUrl:encodeURIComponent(t)}))}});return void(n.settings.get("features.restrictRedirectToForeground")&&a.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",function t(){a.isDocumentVisible()&&(document.removeEventListener("visibilitychange",t),n.settings.callGlobalSuccess(r.SUCCESS,o))}):n.settings.callGlobalSuccess(r.SUCCESS,o));case"CONSENT_REQUIRED":return void(n.settings.get("features.consent")&&n.navigate("signin/consent",{trigger:!0}));case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":var c=n.appState.get("factors").getDefaultFactor(),f=a.createVerifyUrl(c.get("provider"),c.get("factorType"));return void n.navigate(f,{trigger:!0});case"MFA_CHALLENGE":return void n.appState.get("transaction").prev().then(function(t){n.appState.set("transaction",t)}).done();case"MFA_ENROLL":case"FACTOR_ENROLL":return void n.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":var p=a.createActivateFactorUrl(n.appState.get("activatedFactorProvider"),n.appState.get("activatedFactorType"));return void n.navigate(p,{trigger:!0});case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(n.settings.get("features.customExpiredPassword")&&!n.appState.get("isPwdManagedByOkta")?n.navigate("signin/custom-password-expired",{trigger:!0}):n.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":var d=i.factorType.toLowerCase()===r.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),h=i.recoveryType===r.RECOVERY_TYPE_PASSWORD,g=i.recoveryType===r.RECOVERY_TYPE_UNLOCK;return void(h&&d?n.navigate("signin/recovery-emailed",{trigger:!0}):g&&d?n.navigate("signin/unlock-emailed",{trigger:!0}):n.navigate("signin/recovery-challenge",{trigger:!0}));case"RECOVERY":return void n.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void n.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":return void(n.settings.get("features.selfServiceUnlock")?n.navigate("signin/unlock",{trigger:!0}):n.controller.model.trigger("error",n.controller.model,{responseJSON:{errorCauses:[],errorSummary:t.loc("error.auth.lockedOut","login")}}));case"PROFILE_REQUIRED":return void n.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(n.appState.get("promptForFactorInUnauthenticated")){var v=n.appState.get("factors").getDefaultFactor(),y=a.createVerifyUrl(v.get("provider"),v.get("factorType"));return void n.navigate(y,{trigger:!0})}return void n.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+i.status)}},a}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(13),i=n(54);t.exports=n(11)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4),i=n(24),o=n(27),s=n(55)("src"),a=n(249),u=(""+a).split("toString");n(31).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(0),i=n(6),o=n(39),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,"&quot;")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(81),i=n(39);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(82),i=n(54),o=n(28),s=n(38),a=n(27),u=n(170),l=Object.getOwnPropertyDescriptor;e.f=n(11)?l:function(t,e){if(t=o(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(27),i=n(15),o=n(120)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){function n(n){this.name=e.CONFIG_ERROR,this.message=n||t.loc("error.config")}function r(n){this.name=e.UNSUPPORTED_BROWSER_ERROR,this.message=n||t.loc("error.unsupported.browser")}function i(t){this.name=e.OAUTH_ERROR,this.message=t}function o(t){this.name=e.REGISTRATION_FAILED,this.message=t}function s(){this.name=e.AUTH_STOP_POLL_INITIATION_ERROR}function a(t){this.name=e.U2F_ERROR,this.message=t.xhr.responseJSON.errorSummary,this.xhr=t.xhr}function u(t){this.name=e.WEB_AUTHN_ERROR,this.message=t.xhr.responseJSON.errorSummary,this.xhr=t.xhr}return n.prototype=new Error,r.prototype=new Error,i.prototype=new Error,o.prototype=new Error,s.prototype=new Error,a.prototype=new Error,u.prototype=new Error,{ConfigError:n,UnsupportedBrowserError:r,OAuthError:i,RegistrationError:o,AuthStopPollInitiationError:s,U2FError:a,WebAuthnError:u}}.apply(e,r))&&(t.exports=i)},function(t,e){var n=t.exports;n.stringToBase64Url=function(t){var e=btoa(t);return n.base64ToBase64Url(e)},n.base64ToBase64Url=function(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},n.base64UrlToBase64=function(t){return t.replace(/-/g,"+").replace(/_/g,"/")},n.base64UrlToString=function(t){var e=n.base64UrlToBase64(t);switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Not a valid Base64Url"}var r=atob(e);try{return decodeURIComponent(escape(r))}catch(t){return r}},n.stringToBuffer=function(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e},n.base64UrlDecode=function(t){return atob(n.base64UrlToBase64(t))},n.bind=function(t,e){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return r=n.concat(r),t.apply(e,r)}},n.isAbsoluteUrl=function(t){return/^(?:[a-z]+:)?\/\//i.test(t)},n.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},n.isObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},n.isNumber=function(t){return"[object Number]"===Object.prototype.toString.call(t)},n.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},n.isoToUTCString=function(t){var e=t.match(/\d+/g),n=Date.UTC(e[0],e[1]-1,e[2],e[3],e[4],e[5]);return new Date(n).toUTCString()},n.toQueryParams=function(t){var e=[];if(null!==t)for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&null!==t[n]&&e.push(n+"="+encodeURIComponent(t[n]));return e.length?"?"+e.join("&"):""},n.genRandomString=function(t){for(var e="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,i=e.length;r<t;++r)n+=e[Math.floor(Math.random()*i)];return n},n.extend=function(){var t=arguments[0];return[].slice.call(arguments,1).forEach(function(e){for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&(t[n]=e[n])}),t},n.removeNils=function(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];null!==r&&void 0!==r&&(e[n]=r)}return e},n.clone=function(t){if(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}return t},n.omit=function(t){var e=Array.prototype.slice.call(arguments,1),r={};for(var i in t)t.hasOwnProperty(i)&&-1==e.indexOf(i)&&(r[i]=t[i]);return n.clone(r)},n.find=function(t,e){for(var n=t.length;n--;){var r=t[n],i=!0;for(var o in e)if(e.hasOwnProperty(o)&&r[o]!==e[o]){i=!1;break}if(i)return r}},n.getLink=function(t,e,r){if(t&&t._links){var i=n.clone(t._links[e]);return i&&i.name&&r?i.name===r?i:void 0:i}},n.getNativeConsole=function(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0},n.getConsole=function(){var t=n.getNativeConsole();return t&&t.log?t:{log:function(){}}},n.warn=function(t){n.getConsole().log("[okta-auth-sdk] WARN: "+t)},n.deprecate=function(t){n.getConsole().log("[okta-auth-sdk] DEPRECATION: "+t)},n.deprecateWrap=function(t,e){return function(){return n.deprecate(t),e.apply(null,arguments)}},n.removeTrailingSlash=function(t){if(t){var e=t.replace(/^\s+|\s+$/gm,"");return"/"===e.slice(-1)?e.slice(0,-1):e}},n.isIE11OrLess=function(){return!!document.documentMode&&document.documentMode<=11},n.isFunction=function(t){return!!t&&"[object Function]"==={}.toString.call(t)}},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(0),i=n(31),o=n(6);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(32),i=n(81),o=n(15),s=n(10),a=n(136);t.exports=function(t,e){var n=1==t,u=2==t,l=3==t,c=4==t,f=6==t,p=5==t||f,d=e||a;return function(e,a,h){for(var m,g,v=o(e),y=i(v),_=r(a,h,3),b=s(y.length),w=0,x=n?d(e,b):u?d(e,0):void 0;b>w;w++)if((p||w in y)&&(m=y[w],g=_(m,w,v),t))if(n)x[w]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(c)return!1;return f?-1:l||c?c:x}}},function(t,e,n){var r=n(21),i=n(16),o=n(108),s=n(65),a=n(66),u=function(t,e,n){var l,c,f,p=t&u.F,d=t&u.G,h=t&u.S,m=t&u.P,g=t&u.B,v=t&u.W,y=d?i:i[e]||(i[e]={}),_=y.prototype,b=d?r:h?r[e]:(r[e]||{}).prototype;d&&(n=e);for(l in n)(c=!p&&b&&void 0!==b[l])&&a(y,l)||(f=c?b[l]:n[l],y[l]=d&&"function"!=typeof b[l]?n[l]:g&&c?o(f,r):v&&b[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((y.virtual||(y.virtual={}))[l]=f,t&u.R&&_&&!_[l]&&s(_,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){t.exports=!n(74)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";if(n(11)){var r=n(49),i=n(4),o=n(6),s=n(0),a=n(102),u=n(144),l=n(32),c=n(61),f=n(54),p=n(24),d=n(63),h=n(34),m=n(10),g=n(198),v=n(57),y=n(38),_=n(27),b=n(71),w=n(7),x=n(15),S=n(133),E=n(58),T=n(30),k=n(59).f,C=n(135),A=n(55),O=n(9),N=n(41),I=n(92),R=n(84),P=n(138),M=n(73),L=n(97),D=n(60),F=n(137),U=n(187),j=n(13),B=n(29),q=j.f,H=B.f,V=i.RangeError,W=i.TypeError,$=i.Uint8Array,z=Array.prototype,G=u.ArrayBuffer,K=u.DataView,Y=N(0),J=N(2),Q=N(3),X=N(4),Z=N(5),tt=N(6),et=I(!0),nt=I(!1),rt=P.values,it=P.keys,ot=P.entries,st=z.lastIndexOf,at=z.reduce,ut=z.reduceRight,lt=z.join,ct=z.sort,ft=z.slice,pt=z.toString,dt=z.toLocaleString,ht=O("iterator"),mt=O("toStringTag"),gt=A("typed_constructor"),vt=A("def_constructor"),yt=a.CONSTR,_t=a.TYPED,bt=a.VIEW,wt=N(1,function(t,e){return kt(R(t,t[vt]),e)}),xt=o(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),St=!!$&&!!$.prototype.set&&o(function(){new $(1).set({})}),Et=function(t,e){var n=h(t);if(n<0||n%e)throw V("Wrong offset!");return n},Tt=function(t){if(w(t)&&_t in t)return t;throw W(t+" is not a typed array!")},kt=function(t,e){if(!(w(t)&&gt in t))throw W("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return At(R(t,t[vt]),e)},At=function(t,e){for(var n=0,r=e.length,i=kt(t,r);r>n;)i[n]=e[n++];return i},Ot=function(t,e,n){q(t,e,{get:function(){return this._d[n]}})},Nt=function(t){var e,n,r,i,o,s,a=x(t),u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,p=C(a);if(void 0!=p&&!S(p)){for(s=p.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(f&&u>2&&(c=l(c,arguments[2],2)),e=0,n=m(a.length),i=kt(this,n);n>e;e++)i[e]=f?c(a[e],e):a[e];return i},It=function(){for(var t=0,e=arguments.length,n=kt(this,e);e>t;)n[t]=arguments[t++];return n},Rt=!!$&&o(function(){dt.call(new $(1))}),Pt=function(){return dt.apply(Rt?ft.call(Tt(this)):Tt(this),arguments)},Mt={copyWithin:function(t,e){return U.call(Tt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return X(Tt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(Tt(this),arguments)},filter:function(t){return Ct(this,J(Tt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Tt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Y(Tt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Tt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(Tt(this),arguments)},lastIndexOf:function(t){return st.apply(Tt(this),arguments)},map:function(t){return wt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Tt(this),arguments)},reduceRight:function(t){return ut.apply(Tt(this),arguments)},reverse:function(){for(var t,e=this,n=Tt(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return Q(Tt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ct.call(Tt(this),t)},subarray:function(t,e){var n=Tt(this),r=n.length,i=v(t,r);return new(R(n,n[vt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===e?r:v(e,r))-i))}},Lt=function(t,e){return Ct(this,ft.call(Tt(this),t,e))},Dt=function(t){Tt(this);var e=Et(arguments[1],1),n=this.length,r=x(t),i=m(r.length),o=0;if(i+e>n)throw V("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Ft={entries:function(){return ot.call(Tt(this))},keys:function(){return it.call(Tt(this))},values:function(){return rt.call(Tt(this))}},Ut=function(t,e){return w(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},jt=function(t,e){return Ut(t,e=y(e,!0))?f(2,t[e]):H(t,e)},Bt=function(t,e,n){return!(Ut(t,e=y(e,!0))&&w(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?q(t,e,n):(t[e]=n.value,t)};yt||(B.f=jt,j.f=Bt),s(s.S+s.F*!yt,"Object",{getOwnPropertyDescriptor:jt,defineProperty:Bt}),o(function(){pt.call({})})&&(pt=dt=function(){return lt.call(this)});var qt=d({},Mt);d(qt,Ft),p(qt,ht,Ft.values),d(qt,{slice:Lt,set:Dt,constructor:function(){},toString:pt,toLocaleString:Pt}),Ot(qt,"buffer","b"),Ot(qt,"byteOffset","o"),Ot(qt,"byteLength","l"),Ot(qt,"length","e"),q(qt,mt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,u){u=!!u;var l=t+(u?"Clamped":"")+"Array",f="get"+t,d="set"+t,h=i[l],v=h||{},y=h&&T(h),_=!h||!a.ABV,x={},S=h&&h.prototype,C=function(t,n){var r=t._d;return r.v[f](n*e+r.o,xt)},A=function(t,n,r){var i=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,xt)},O=function(t,e){q(t,e,{get:function(){return C(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};_?(h=n(function(t,n,r,i){c(t,h,l,"_d");var o,s,a,u,f=0,d=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(u=b(n))||"SharedArrayBuffer"==u))return _t in n?At(h,n):Nt.call(h,n);o=n,d=Et(r,e);var v=n.byteLength;if(void 0===i){if(v%e)throw V("Wrong length!");if((s=v-d)<0)throw V("Wrong length!")}else if((s=m(i)*e)+d>v)throw V("Wrong length!");a=s/e}else a=g(n),s=a*e,o=new G(s);for(p(t,"_d",{b:o,o:d,l:s,e:a,v:new K(o)});f<a;)O(t,f++)}),S=h.prototype=E(qt),p(S,"constructor",h)):o(function(){h(1)})&&o(function(){new h(-1)})&&L(function(t){new h,new h(null),new h(1.5),new h(t)},!0)||(h=n(function(t,n,r,i){c(t,h,l);var o;return w(n)?n instanceof G||"ArrayBuffer"==(o=b(n))||"SharedArrayBuffer"==o?void 0!==i?new v(n,Et(r,e),i):void 0!==r?new v(n,Et(r,e)):new v(n):_t in n?At(h,n):Nt.call(h,n):new v(g(n))}),Y(y!==Function.prototype?k(v).concat(k(y)):k(v),function(t){t in h||p(h,t,v[t])}),h.prototype=S,r||(S.constructor=h));var N=S[ht],I=!!N&&("values"==N.name||void 0==N.name),R=Ft.values;p(h,gt,!0),p(S,_t,l),p(S,bt,!0),p(S,vt,h),(u?new h(1)[mt]==l:mt in S)||q(S,mt,{get:function(){return l}}),x[l]=h,s(s.G+s.W+s.F*(h!=v),x),s(s.S,l,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o(function(){v.of.call(h,1)}),l,{from:Nt,of:It}),"BYTES_PER_ELEMENT"in S||p(S,"BYTES_PER_ELEMENT",e),s(s.P,l,Mt),D(l),s(s.P+s.F*St,l,{set:Dt}),s(s.P+s.F*!I,l,Ft),r||S.toString==pt||(S.toString=pt),s(s.P+s.F*o(function(){new h(1).slice()}),l,{slice:Lt}),s(s.P+s.F*(o(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:Pt}),M[l]=I?N:R,r||I||p(S,ht,R)}}else t.exports=function(){}},function(t,e,n){var r=n(193),i=n(0),o=n(80)("metadata"),s=o.store||(o.store=new(n(196))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},l=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},c=function(t,e,n,r){a(n,r,!0).set(t,e)},f=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:u,get:l,set:c,keys:f,key:p,exp:d}},function(t,e,n){var r=n(47);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){var n=t.internal.util.Util,r=t._;return t.View.extend({template:'      <a href="#" class="link {{linkClassName}}" data-se="signout-link">        {{linkText}}      </a>    ',className:"auth-footer clearfix",events:{"click a":function(t){t.preventDefault();var r=this;this.model.doTransaction(function(t){return t.cancel()}).then(function(){r.settings.get("signOutLink")?n.redirect(r.settings.get("signOutLink")):(r.state.set("navigateDir",e.DIRECTION_BACK),r.options.appState.trigger("navigate",""))})}},getTemplateData:function(){return{linkClassName:r.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||t.loc("signout","login")}}})}.apply(e,r))&&(t.exports=i)},function(t,e){t.exports=!1},function(t,e,n){var r=n(55)("meta"),i=n(7),o=n(27),s=n(13).f,a=0,u=Object.isExtensible||function(){return!0},l=!n(6)(function(){return u(Object.preventExtensions({}))}),c=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[r].w},d=function(t){return l&&h.NEED&&u(t)&&!o(t,r)&&c(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(9)("unscopables"),i=Array.prototype;void 0==i[r]&&n(24)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(46),i=n(207),o=n(152),s=Object.defineProperty;e.f=n(43)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){function n(t,e){this.name="AuthSdkError",this.message=t,this.errorCode="INTERNAL",this.errorSummary=t,this.errorLink="INTERNAL",this.errorId="INTERNAL",this.errorCauses=[],e&&(this.xhr=e)}n.prototype=new Error,t.exports=n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(172),i=n(121);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(34),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(2),i=n(173),o=n(121),s=n(120)("IE_PROTO"),a=function(){},u=function(){var t,e=n(118)("iframe"),r=o.length;for(e.style.display="none",n(122).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(172),i=n(121).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=n(4),i=n(13),o=n(11),s=n(9)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(32),i=n(185),o=n(133),s=n(2),a=n(10),u=n(135),l={},c={},e=t.exports=function(t,e,n,f,p){var d,h,m,g,v=p?function(){return t}:u(t),y=r(n,f,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(d=a(t.length);d>_;_++)if((g=e?y(s(h=t[_])[0],h[1]):y(t[_]))===l||g===c)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=i(m,y,h.value,e))===l||g===c)return g};e.BREAK=l,e.RETURN=c},function(t,e,n){var r=n(25);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(52),i=n(110);t.exports=n(43)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(211),i=n(150);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r;void 0!==(r=function(){var t={},e="withCredentials"in new window.XMLHttpRequest,n="undefined"!=typeof XDomainRequest;return t.corsIsNotSupported=function(){return!(e||n)},t.corsIsNotEnabled=function(t){return 0===t.status},t.localStorageIsNotSupported=function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!1}catch(t){return!0}},t.supportsPushState=function(t){return t=t||window,!(!t.history||!t.history.pushState)},t.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},t.isFirefox=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},t.isEdge=function(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1},t.getUserLanguages=function(){var t,e;return navigator.languages?navigator.languages:(t=[],e=["language","userLanguage","browserLanguage","systemLanguage"],e.forEach(function(e){navigator[e]&&t.push(navigator[e])}),t)},t}.call(e,n,e,t))&&(t.exports=r)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({template:'    <span class="icon error-24"></span>    <h4><strong>{{{message}}}</strong></h4>  ',className:"okta-infobox-error infobox infobox-error infobox-md margin-btm-25",attributes:{"data-se":"o-form-error-html"},message:"",initialize:function(t){t&&t.message&&(this.message=t.message)},getTemplateData:function(){return{message:this.message}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(13).f,i=n(27),o=n(9)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(33),i=n(9)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(0),i=n(39),o=n(6),s=n(124),a="["+s+"]",u="​",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o(function(){return!!s[t]()||u[t]()!=u}),l=i[t]=a?e(p):s[t];n&&(i[n]=l),r(r.P+r.F*a,"String",i)},p=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=f},function(t,e){t.exports={}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports={}},function(t,e,n){var r=n(210),i=n(155);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports={STATE_TOKEN_KEY_NAME:"oktaStateToken",DEFAULT_POLLING_DELAY:500,DEFAULT_MAX_CLOCK_SKEW:300,DEFAULT_CACHE_DURATION:86400,FRAME_ID:"okta-oauth-helper-frame",REDIRECT_OAUTH_PARAMS_COOKIE_NAME:"okta-oauth-redirect-params",REDIRECT_STATE_COOKIE_NAME:"okta-oauth-state",REDIRECT_NONCE_COOKIE_NAME:"okta-oauth-nonce",TOKEN_STORAGE_NAME:"okta-token-storage",CACHE_STORAGE_NAME:"okta-cache-storage",PKCE_STORAGE_NAME:"okta-pkce-storage",SDK_VERSION:"2.6.3"}},function(t,e,n){function r(t,e){e=e||{};var n=e.url,r=e.method,i=e.args,o=e.saveAuthnState,c=e.accessToken,f=!1!==e.withCredentials,p=t.options.storageUtil,d=p.storage,h=p.getHttpCache();if(e.cacheResponse){var m=h.getStorage(),g=m[n];if(g&&Date.now()/1e3<g.expiresAt)return a.resolve(g.response)}var v={Accept:"application/json","Content-Type":"application/json","X-Okta-User-Agent-Extended":t.userAgent};s.extend(v,t.options.headers,e.headers),c&&s.isString(c)&&(v.Authorization="Bearer "+c);var y,_,b={headers:v,data:i||void 0,withCredentials:f};return new a(t.options.httpRequestClient(r,n,b)).then(function(t){return _=t.responseText,_&&s.isString(_)&&(_=JSON.parse(_)),o&&(_.stateToken||d.delete(l.STATE_TOKEN_KEY_NAME)),_&&_.stateToken&&_.expiresAt&&d.set(l.STATE_TOKEN_KEY_NAME,_.stateToken,_.expiresAt),_&&e.cacheResponse&&h.updateStorage(n,{expiresAt:Math.floor(Date.now()/1e3)+l.DEFAULT_CACHE_DURATION,response:_}),_}).fail(function(e){var n=e.responseText||{};if(s.isString(n))try{n=JSON.parse(n)}catch(t){n={errorSummary:"Unknown error"}}throw e.status>=500&&(n.errorSummary="Unknown error"),t.options.transformErrorXHR&&(e=t.options.transformErrorXHR(s.clone(e))),y=new u(n,e),"E0000011"===y.errorCode&&d.delete(l.STATE_TOKEN_KEY_NAME),y})}function i(t,e,n){e=s.isAbsoluteUrl(e)?e:t.options.url+e;var i={url:e,method:"GET"};return s.extend(i,n),r(t,i)}function o(t,e,n,i){e=s.isAbsoluteUrl(e)?e:t.options.url+e;var o={url:e,method:"POST",args:n,saveAuthnState:!0};return s.extend(o,i),r(t,o)}var s=n(37),a=n(12),u=n(485),l=n(77);t.exports={get:i,post:o,httpRequest:r}},function(t,e,n){"use strict";var r,i;r=[n(1),n(12)],void 0!==(i=function(t,e){function n(e){return r.find(e.getChildren(),function(e){return e instanceof t.Form})}var r=t._;return t.Controller.extend({addListeners:function(){this.listenTo(this.model,"save",function(){var t=n(this);t.disableSubmitButton&&!t.disableSubmitButton()||this.toggleButtonState(!0)}),this.listenTo(this.model,"error",function(){this.toggleButtonState(!1)}),this.addModelListeners(this.model)},addModelListeners:function(t){var e=r.bind(function(t){this.options.appState.set("transaction",t)},this),n=r.bind(function(t){this.options.appState.set("transactionError",t)},this);this.listenTo(t,"setTransaction",e),this.listenTo(t,"setTransactionError",n);var i=t.get("backupFactor");i&&(this.listenTo(i,"setTransaction",e),this.listenTo(i,"setTransactionError",n))},fetchInitialData:function(){return e()},trapAuthResponse:function(){return!1},toJSON:function(){var e=t.Controller.prototype.toJSON.apply(this,arguments);return r.extend(r.pick(this.options,"appState"),e)},toggleButtonState:function(t){this.$el.find(".button").toggleClass("link-button-disabled",t).prop("disabled",t)},postRenderAnimation:function(){this.trigger("pageRendered",{page:this.className}),this.trigger("afterRender",{controller:this.className})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(31),i=n(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(49)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(2),i=n(20),o=n(9)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e){t.exports=!0},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(480),i=n(219),o=n(77),s={};s.browserHasLocalStorage=function(){try{var t=s.getLocalStorage();return s.testStorage(t)}catch(t){return!1}},s.browserHasSessionStorage=function(){try{var t=s.getSessionStorage();return s.testStorage(t)}catch(t){return!1}},s.getPKCEStorage=function(){return s.browserHasLocalStorage()?i(s.getLocalStorage(),o.PKCE_STORAGE_NAME):s.browserHasSessionStorage()?i(s.getSessionStorage(),o.PKCE_STORAGE_NAME):i(s.getCookieStorage(),o.PKCE_STORAGE_NAME)},s.getHttpCache=function(){return s.browserHasLocalStorage()?i(s.getLocalStorage(),o.CACHE_STORAGE_NAME):s.browserHasSessionStorage()?i(s.getSessionStorage(),o.CACHE_STORAGE_NAME):i(s.getCookieStorage(),o.CACHE_STORAGE_NAME)},s.getLocalStorage=function(){return localStorage},s.getSessionStorage=function(){return sessionStorage},s.getCookieStorage=function(t){return t=t||{},{getItem:s.storage.get,setItem:function(e,n){s.storage.set(e,n,"2200-01-01T00:00:00.000Z",t.secure)}}},s.testStorage=function(t){var e="okta-test-storage";try{return t.setItem(e,e),t.removeItem(e),!0}catch(t){return!1}},s.storage={set:function(t,e,n,i){var o={path:"/",secure:i};return Date.parse(n)&&(o.expires=new Date(n)),r.set(t,e,o),s.storage.get(t)},get:function(t){return r.get(t)},delete:function(t){return r.remove(t,{path:"/"})}},t.exports=s},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(8)],void 0!==(i=function(t,e,n){var r=t._,i=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"];return t.Model.extend({doTransaction:function(t,e){var o=this;return t.call(this,this.appState.get("transaction")).then(function(t){return o.trigger("setTransaction",t),t}).fail(function(t){if("AuthPollStopError"!==t.name&&t.name!==n.AUTH_STOP_POLL_INITIATION_ERROR&&(o.trigger("error",o,t.xhr),o.trigger("setTransactionError",t),e||-1===r.indexOf(i,t.name)))throw t})},manageTransaction:function(t){var i=this,o=t.call(this,this.appState.get("transaction"),r.bind(this.setTransaction,this));return e.isPromiseAlike(o)?o.fail(function(t){"AuthPollStopError"!==t.name&&t.name!==n.AUTH_STOP_POLL_INITIATION_ERROR&&(i.trigger("error",i,t.xhr),i.trigger("setTransactionError",t))}):e.resolve(o)},startTransaction:function(t){var n=this,r=t.call(this,this.settings.getAuthClient());return e.isPromiseAlike(r)?r.then(function(t){return n.trigger("setTransaction",t),t}).fail(function(t){throw n.trigger("error",n,t.xhr),n.trigger("setTransactionError",t),t}):e.resolve(r)},setTransaction:function(t){this.appState.set("transaction",t)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e={};return e.validateUsername=function(e){var n=e.get("username");if(n&&n.length>256)return{username:t.loc("model.validation.field.username","login")}},e.validateFieldsMatch=function(t,e,n,r){if(t.get(e)!==t.get(n)){var i={};return i[n]=r,i}},e.validatePasswordMatch=function(n){return e.validateFieldsMatch(n,"newPassword","confirmPassword",t.loc("password.error.match","login"))},e}.apply(e,r))&&(t.exports=i)},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(28),i=n(10),o=n(57);t.exports=function(t){return function(e,n,s){var a,u=r(e),l=i(u.length),c=o(s,l);if(t&&n!=n){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(33);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(34),i=n(39);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){var r=n(7),i=n(33),o=n(9)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(9)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(71),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){"use strict";n(189);var r=n(25),i=n(24),o=n(6),s=n(39),a=n(9),u=n(139),l=a("species"),c=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=a(t),d=!o(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),h=d?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[p](""),!e}):void 0;if(!d||!h||"replace"===t&&!c||"split"===t&&!f){var m=/./[p],g=n(s,p,""[t],function(t,e,n,r,i){return e.exec===u?d&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),v=g[0],y=g[1];r(String.prototype,t,v),i(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(4),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){"use strict";var r=n(4),i=n(0),o=n(25),s=n(63),a=n(50),u=n(62),l=n(61),c=n(7),f=n(6),p=n(97),d=n(70),h=n(125);t.exports=function(t,e,n,m,g,v){var y=r[t],_=y,b=g?"set":"add",w=_&&_.prototype,x={},S=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(v&&!c(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(v||w.forEach&&!f(function(){(new _).entries().next()}))){var E=new _,T=E[b](v?{}:-0,1)!=E,k=f(function(){E.has(1)}),C=p(function(t){new _(t)}),A=!v&&f(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});C||(_=e(function(e,n){l(e,_,t);var r=h(new y,e,_);return void 0!=n&&u(n,g,r[b],r),r}),_.prototype=w,w.constructor=_),(k||A)&&(S("delete"),S("has"),g&&S("get")),(A||T)&&S(b),v&&w.clear&&delete w.clear}else _=m.getConstructor(e,t,g,b),s(_.prototype,n),a.NEED=!0;return d(_,t),x[t]=_,i(i.G+i.W+i.F*(_!=y),x),v||m.setStrong(_,t,g),_}},function(t,e,n){for(var r,i=n(4),o=n(24),s=n(55),a=s("typed_array"),u=s("view"),l=!(!i.ArrayBuffer||!i.DataView),c=l,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[p[f++]])?(o(r.prototype,a,!0),o(r.prototype,u,!0)):c=!1;t.exports={ABV:l,CONSTR:c,TYPED:a,VIEW:u}},function(t,e,n){"use strict";t.exports=n(49)||!n(6)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(4)[t]})},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";var r=n(0),i=n(20),o=n(32),s=n(62);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,u=arguments[1];return i(this),e=void 0!==u,e&&i(u),void 0==t?new this:(n=[],e?(r=0,a=o(u,arguments[2],2),s(t,!1,function(t){n.push(a(t,r++))})):s(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(450),o=r(i),s=n(461),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e,n){"use strict";var r=n(452)(!0);n(206)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(109);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(52).f,i=n(66),o=n(22)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(150);t.exports=function(t){return Object(r(t))}},function(t,e,n){n(458);for(var r=n(21),i=n(65),o=n(75),s=n(22)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var l=a[u],c=r[l],f=c&&c.prototype;f&&!f[s]&&i(f,s,l),o[l]=o.Array}},function(t,e,n){var r,i;/*!
 * jQuery JavaScript Library v1.12.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2017-10-25T15:48Z
 */
!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){function s(t){var e=!!t&&"length"in t&&t.length,n=gt.type(t);return"function"!==n&&!gt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function a(t,e,n){if(gt.isFunction(e))return gt.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return gt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(kt.test(e))return gt.filter(e,t,n);e=gt.filter(e,t)}return gt.grep(t,function(t){return gt.inArray(t,e)>-1!==n})}function u(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function l(t){var e={};return gt.each(t.match(It)||[],function(t,n){e[n]=!0}),e}function c(){at.addEventListener?(at.removeEventListener("DOMContentLoaded",f),n.removeEventListener("load",f)):(at.detachEvent("onreadystatechange",f),n.detachEvent("onload",f))}function f(){(at.addEventListener||"load"===n.event.type||"complete"===at.readyState)&&(c(),gt.ready())}function p(t,e,n){if(void 0===n&&1===t.nodeType){var r="data-"+e.replace(Dt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Lt.test(n)?gt.parseJSON(n):n)}catch(t){}gt.data(t,e,n)}else n=void 0}return n}function d(t){var e;for(e in t)if(("data"!==e||!gt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function h(t,e,n,r){if(Mt(t)){var i,o,s=gt.expando,a=t.nodeType,u=a?gt.cache:t,l=a?t[s]:t[s]&&s;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof e)return l||(l=a?t[s]=st.pop()||gt.guid++:s),u[l]||(u[l]=a?{}:{toJSON:gt.noop}),"object"!=typeof e&&"function"!=typeof e||(r?u[l]=gt.extend(u[l],e):u[l].data=gt.extend(u[l].data,e)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[gt.camelCase(e)]=n),"string"==typeof e?null==(i=o[e])&&(i=o[gt.camelCase(e)]):i=o,i}}function m(t,e,n){if(Mt(t)){var r,i,o=t.nodeType,s=o?gt.cache:t,a=o?t[gt.expando]:gt.expando;if(s[a]){if(e&&(r=n?s[a]:s[a].data)){gt.isArray(e)?e=e.concat(gt.map(e,gt.camelCase)):e in r?e=[e]:(e=gt.camelCase(e),e=e in r?[e]:e.split(" ")),i=e.length;for(;i--;)delete r[e[i]];if(n?!d(r):!gt.isEmptyObject(r))return}(n||(delete s[a].data,d(s[a])))&&(o?gt.cleanData([t],!0):mt.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}function g(t,e,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return gt.css(t,e,"")},u=a(),l=n&&n[3]||(gt.cssNumber[e]?"":"px"),c=(gt.cssNumber[e]||"px"!==l&&+u)&&Ut.exec(gt.css(t,e));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{o=o||".5",c/=o,gt.style(t,e,c+l)}while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function v(t){var e=zt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function y(t,e){var n,r,i=0,o=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(r=n[i]);i++)!e||gt.nodeName(r,e)?o.push(r):gt.merge(o,y(r,e));return void 0===e||e&&gt.nodeName(t,e)?gt.merge([t],o):o}function _(t,e){for(var n,r=0;null!=(n=t[r]);r++)gt._data(n,"globalEval",!e||gt._data(e[r],"globalEval"))}function b(t){Ht.test(t.type)&&(t.defaultChecked=t.checked)}function w(t,e,n,r,i){for(var o,s,a,u,l,c,f,p=t.length,d=v(e),h=[],m=0;m<p;m++)if((s=t[m])||0===s)if("object"===gt.type(s))gt.merge(h,s.nodeType?[s]:s);else if(Kt.test(s)){for(u=u||d.appendChild(e.createElement("div")),l=(Vt.exec(s)||["",""])[1].toLowerCase(),f=Gt[l]||Gt._default,u.innerHTML=f[1]+gt.htmlPrefilter(s)+f[2],o=f[0];o--;)u=u.lastChild;if(!mt.leadingWhitespace&&$t.test(s)&&h.push(e.createTextNode($t.exec(s)[0])),!mt.tbody)for(s="table"!==l||Yt.test(s)?"<table>"!==f[1]||Yt.test(s)?0:u:u.firstChild,o=s&&s.childNodes.length;o--;)gt.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(gt.merge(h,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=d.lastChild}else h.push(e.createTextNode(s));for(u&&d.removeChild(u),mt.appendChecked||gt.grep(y(h,"input"),b),m=0;s=h[m++];)if(r&&gt.inArray(s,r)>-1)i&&i.push(s);else if(a=gt.contains(s.ownerDocument,s),u=y(d.appendChild(s),"script"),a&&_(u),n)for(o=0;s=u[o++];)Wt.test(s.type||"")&&n.push(s);return u=null,d}function x(){return!0}function S(){return!1}function E(){try{return at.activeElement}catch(t){}}function T(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)T(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=S;else if(!i)return t;return 1===o&&(s=i,i=function(t){return gt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=gt.guid++)),t.each(function(){gt.event.add(this,e,i,r,n)})}function k(t,e){return gt.nodeName(t,"table")&&gt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function C(t){return t.type=(null!==gt.find.attr(t,"type"))+"/"+t.type,t}function A(t){var e=se.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function O(t,e){if(1===e.nodeType&&gt.hasData(t)){var n,r,i,o=gt._data(t),s=gt._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(r=0,i=a[n].length;r<i;r++)gt.event.add(e,n,a[n][r])}s.data&&(s.data=gt.extend({},s.data))}}function N(t,e){var n,r,i;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!mt.noCloneEvent&&e[gt.expando]){i=gt._data(e);for(r in i.events)gt.removeEvent(e,r,i.handle);e.removeAttribute(gt.expando)}"script"===n&&e.text!==t.text?(C(e).text=t.text,A(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),mt.html5Clone&&t.innerHTML&&!gt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Ht.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}function I(t,e,n,r){e=lt.apply([],e);var i,o,s,a,u,l,c=0,f=t.length,p=f-1,d=e[0],h=gt.isFunction(d);if(h||f>1&&"string"==typeof d&&!mt.checkClone&&oe.test(d))return t.each(function(i){var o=t.eq(i);h&&(e[0]=d.call(this,i,o.html())),I(o,e,n,r)});if(f&&(l=w(e,t[0].ownerDocument,!1,t,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(a=gt.map(y(l,"script"),C),s=a.length;c<f;c++)o=l,c!==p&&(o=gt.clone(o,!0,!0),s&&gt.merge(a,y(o,"script"))),n.call(t[c],o,c);if(s)for(u=a[a.length-1].ownerDocument,gt.map(a,A),c=0;c<s;c++)o=a[c],Wt.test(o.type||"")&&!gt._data(o,"globalEval")&&gt.contains(u,o)&&(o.src?gt._evalUrl&&gt._evalUrl(o.src):gt.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ae,"")));l=i=null}return t}function R(t,e,n){for(var r,i=e?gt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||gt.cleanData(y(r)),r.parentNode&&(n&&gt.contains(r.ownerDocument,r)&&_(y(r,"script")),r.parentNode.removeChild(r));return t}function P(t,e){var n=gt(e.createElement(t)).appendTo(e.body),r=gt.css(n[0],"display");return n.detach(),r}function M(t){var e=at,n=fe[t];return n||(n=P(t,e),"none"!==n&&n||(ce=(ce||gt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(ce[0].contentWindow||ce[0].contentDocument).document,e.write(),e.close(),n=P(t,e),ce.detach()),fe[t]=n),n}function L(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function D(t){if(t in ke)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=Te.length;n--;)if((t=Te[n]+e)in ke)return t}function F(t,e){for(var n,r,i,o=[],s=0,a=t.length;s<a;s++)r=t[s],r.style&&(o[s]=gt._data(r,"olddisplay"),n=r.style.display,e?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Bt(r)&&(o[s]=gt._data(r,"olddisplay",M(r.nodeName)))):(i=Bt(r),(n&&"none"!==n||!i)&&gt._data(r,"olddisplay",i?n:gt.css(r,"display"))));for(s=0;s<a;s++)r=t[s],r.style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[s]||"":"none"));return t}function U(t,e,n){var r=xe.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function j(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=gt.css(t,n+jt[o],!0,i)),r?("content"===n&&(s-=gt.css(t,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=gt.css(t,"border"+jt[o]+"Width",!0,i))):(s+=gt.css(t,"padding"+jt[o],!0,i),"padding"!==n&&(s+=gt.css(t,"border"+jt[o]+"Width",!0,i)));return s}function B(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=ge(t),s=mt.boxSizing&&"border-box"===gt.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(i=ve(t,e,o),(i<0||null==i)&&(i=t.style[e]),de.test(i))return i;r=s&&(mt.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+j(t,e,n||(s?"border":"content"),r,o)+"px"}function q(t,e,n,r,i){return new q.prototype.init(t,e,n,r,i)}function H(){return n.setTimeout(function(){Ce=void 0}),Ce=gt.now()}function V(t,e){var n,r={height:t},i=0;for(e=e?1:0;i<4;i+=2-e)n=jt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function W(t,e,n){for(var r,i=(G.tweeners[e]||[]).concat(G.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function $(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&Bt(t),h=gt._data(t,"fxshow");n.queue||(a=gt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,gt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=gt.css(t,"display"),"inline"===("none"===l?gt._data(t,"olddisplay")||M(t.nodeName):l)&&"none"===gt.css(t,"float")&&(mt.inlineBlockNeedsLayout&&"inline"!==M(t.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",mt.shrinkWrapBlocks()||c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],Oe.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||gt.style(t,r)}else l=void 0;if(gt.isEmptyObject(f))"inline"===("none"===l?M(t.nodeName):l)&&(p.display=l);else{h?"hidden"in h&&(d=h.hidden):h=gt._data(t,"fxshow",{}),o&&(h.hidden=!d),d?gt(t).show():c.done(function(){gt(t).hide()}),c.done(function(){var e;gt._removeData(t,"fxshow");for(e in f)gt.style(t,e,f[e])});for(r in f)s=W(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}}function z(t,e){var n,r,i,o,s;for(n in t)if(r=gt.camelCase(n),i=e[r],o=t[n],gt.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=gt.cssHooks[r])&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}function G(t,e,n){var r,i,o=0,s=G.prefilters.length,a=gt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=Ce||H(),n=Math.max(0,l.startTime+l.duration-e),r=n/l.duration||0,o=1-r,s=0,u=l.tweens.length;s<u;s++)l.tweens[s].run(o);return a.notifyWith(t,[l,o,n]),o<1&&u?n:(a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:gt.extend({},e),opts:gt.extend(!0,{specialEasing:{},easing:gt.easing._default},n),originalProperties:e,originalOptions:n,startTime:Ce||H(),duration:n.duration,tweens:[],createTween:function(e,n){var r=gt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),c=l.props;for(z(c,l.opts.specialEasing);o<s;o++)if(r=G.prefilters[o].call(l,t,c,l.opts))return gt.isFunction(r.stop)&&(gt._queueHooks(l.elem,l.opts.queue).stop=gt.proxy(r.stop,r)),r;return gt.map(c,W,l),gt.isFunction(l.opts.start)&&l.opts.start.call(t,l),gt.fx.timer(gt.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function K(t){return gt.attr(t,"class")||""}function Y(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(It)||[];if(gt.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function J(t,e,n,r){function i(a){var u;return o[a]=!0,gt.each(t[a]||[],function(t,a){var l=a(e,n,r);return"string"!=typeof l||s||o[l]?s?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},s=t===tn;return i(e.dataTypes[0])||!o["*"]&&i("*")}function Q(t,e){var n,r,i=gt.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&gt.extend(!0,t,n),t}function X(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){u.unshift(s);break}if(u[0]in n)o=u[0];else{for(s in n){if(!u[0]||t.converters[s+" "+u[0]]){o=s;break}r||(r=s)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Z(t,e,n,r){var i,o,s,a,u,l={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function tt(t){return t.style&&t.style.display||gt.css(t,"display")}function et(t){if(!gt.contains(t.ownerDocument||at,t))return!0;for(;t&&1===t.nodeType;){if("none"===tt(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}function nt(t,e,n,r){var i;if(gt.isArray(e))gt.each(e,function(e,i){n||sn.test(t)?r(t,i):nt(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==gt.type(e))r(t,e);else for(i in e)nt(t+"["+i+"]",e[i],n,r)}function rt(){try{return new n.XMLHttpRequest}catch(t){}}function it(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function ot(t){return gt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var st=[],at=n.document,ut=st.slice,lt=st.concat,ct=st.push,ft=st.indexOf,pt={},dt=pt.toString,ht=pt.hasOwnProperty,mt={},gt=function(t,e){return new gt.fn.init(t,e)},vt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yt=/^-ms-/,_t=/-([\da-z])/gi,bt=function(t,e){return e.toUpperCase()};gt.fn=gt.prototype={jquery:"1.12.4",constructor:gt,selector:"",length:0,toArray:function(){return ut.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:ut.call(this)},pushStack:function(t){var e=gt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return gt.each(this,t)},map:function(t){return this.pushStack(gt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ut.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ct,sort:st.sort,splice:st.splice},gt.extend=gt.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||gt.isFunction(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(i=arguments[a]))for(r in i)t=s[r],n=i[r],s!==n&&(l&&n&&(gt.isPlainObject(n)||(e=gt.isArray(n)))?(e?(e=!1,o=t&&gt.isArray(t)?t:[]):o=t&&gt.isPlainObject(t)?t:{},s[r]=gt.extend(l,o,n)):void 0!==n&&(s[r]=n));return s},gt.extend({expando:"jQuery"+("1.12.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===gt.type(t)},isArray:Array.isArray||function(t){return"array"===gt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){var e=t&&t.toString();return!gt.isArray(t)&&e-parseFloat(e)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==gt.type(t)||t.nodeType||gt.isWindow(t))return!1;try{if(t.constructor&&!ht.call(t,"constructor")&&!ht.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(!mt.ownFirst)for(e in t)return ht.call(t,e);for(e in t);return void 0===e||ht.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?pt[dt.call(t)]||"object":typeof t},globalEval:function(t){t&&gt.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(t){return t.replace(yt,"ms-").replace(_t,bt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(s(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(vt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?gt.merge(n,"string"==typeof t?[t]:t):ct.call(n,t)),n},inArray:function(t,e,n){var r;if(e){if(ft)return ft.call(e,t,n);for(r=e.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;)t[i++]=e[r++];if(n!==n)for(;void 0!==e[r];)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(s(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return lt.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;if("string"==typeof e&&(i=t[e],e=t,t=i),gt.isFunction(t))return n=ut.call(arguments,2),r=function(){return t.apply(e||this,n.concat(ut.call(arguments)))},r.guid=t.guid=t.guid||gt.guid++,r},now:function(){return+new Date},support:mt}),"function"==typeof Symbol&&(gt.fn[Symbol.iterator]=st[Symbol.iterator]),gt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){pt["[object "+e+"]"]=e.toLowerCase()});var wt=/*!
 * Sizzle CSS Selector Engine v2.2.1
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-10-17
 */
function(t){function e(t,e,n,r){var i,o,s,a,l,f,p,d,h=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!r&&((e?e.ownerDocument||e:U)!==N&&O(e),e=e||N,R)){if(11!==m&&(f=mt.exec(t)))if(i=f[1]){if(9===m){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&D(e,s)&&s.id===i)return n.push(s),n}else{if(f[2])return J.apply(n,e.getElementsByTagName(t)),n;if((i=f[3])&&_.getElementsByClassName&&e.getElementsByClassName)return J.apply(n,e.getElementsByClassName(i)),n}if(_.qsa&&!V[t+" "]&&(!P||!P.test(t))){if(1!==m)h=e,d=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(vt,"\\$&"):e.setAttribute("id",a=F),p=S(t),o=p.length,l=ct.test(a)?"#"+a:"[id='"+a+"']";o--;)p[o]=l+" "+c(p[o]);d=p.join(","),h=gt.test(t)&&u(e.parentNode)||e}if(d)try{return J.apply(n,h.querySelectorAll(d)),n}catch(t){}finally{a===F&&e.removeAttribute("id")}}}return T(t.replace(ot,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>b.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[F]=!0,t}function i(t){var e=N.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||$)-(~t.sourceIndex||$);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function l(){}function c(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function f(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=B++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,s){var a,u,l,c=[j,o];if(s){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if(l=e[F]||(e[F]={}),u=l[e.uniqueID]||(l[e.uniqueID]={}),(a=u[r])&&a[0]===j&&a[1]===o)return c[2]=a[2];if(u[r]=c,c[2]=t(e,n,s))return!0}}}function p(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function d(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}function h(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,l=null!=e;a<u;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),l&&e.push(a)));return s}function m(t,e,n,i,o,s){return i&&!i[F]&&(i=m(i)),o&&!o[F]&&(o=m(o,s)),r(function(r,s,a,u){var l,c,f,p=[],m=[],g=s.length,v=r||d(e||"*",a.nodeType?[a]:a,[]),y=!t||!r&&e?v:h(v,p,t,a,u),_=n?o||(r?t:g||i)?[]:s:y;if(n&&n(y,_,a,u),i)for(l=h(_,m),i(l,[],a,u),c=l.length;c--;)(f=l[c])&&(_[m[c]]=!(y[m[c]]=f));if(r){if(o||t){if(o){for(l=[],c=_.length;c--;)(f=_[c])&&l.push(y[c]=f);o(null,_=[],l,u)}for(c=_.length;c--;)(f=_[c])&&(l=o?X(r,f):p[c])>-1&&(r[l]=!(s[l]=f))}}else _=h(_===s?_.splice(g,_.length):_),o?o(null,s,_,u):J.apply(s,_)})}function g(t){for(var e,n,r,i=t.length,o=b.relative[t[0].type],s=o||b.relative[" "],a=o?1:0,u=f(function(t){return t===e},s,!0),l=f(function(t){return X(e,t)>-1},s,!0),d=[function(t,n,r){var i=!o&&(r||n!==k)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];a<i;a++)if(n=b.relative[t[a].type])d=[f(p(d),n)];else{if(n=b.filter[t[a].type].apply(null,t[a].matches),n[F]){for(r=++a;r<i&&!b.relative[t[r].type];r++);return m(a>1&&p(d),a>1&&c(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ot,"$1"),n,a<r&&g(t.slice(a,r)),r<i&&g(t=t.slice(r)),r<i&&c(t))}d.push(n)}return p(d)}function v(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,l){var c,f,p,d=0,m="0",g=r&&[],v=[],y=k,_=r||o&&b.find.TAG("*",l),w=j+=null==y?1:Math.random()||.1,x=_.length;for(l&&(k=s===N||s||l);m!==x&&null!=(c=_[m]);m++){if(o&&c){for(f=0,s||c.ownerDocument===N||(O(c),a=!R);p=t[f++];)if(p(c,s||N,a)){u.push(c);break}l&&(j=w)}i&&((c=!p&&c)&&d--,r&&g.push(c))}if(d+=m,i&&m!==d){for(f=0;p=n[f++];)p(g,v,s,a);if(r){if(d>0)for(;m--;)g[m]||v[m]||(v[m]=K.call(u));v=h(v)}J.apply(u,v),l&&!r&&v.length>0&&d+n.length>1&&e.uniqueSort(u)}return l&&(j=w,k=y),g};return i?r(s):s}var y,_,b,w,x,S,E,T,k,C,A,O,N,I,R,P,M,L,D,F="sizzle"+1*new Date,U=t.document,j=0,B=0,q=n(),H=n(),V=n(),W=function(t,e){return t===e&&(A=!0),0},$=1<<31,z={}.hasOwnProperty,G=[],K=G.pop,Y=G.push,J=G.push,Q=G.slice,X=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",nt="\\["+tt+"*("+et+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+et+"))|)"+tt+"*\\]",rt=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+nt+")*)|.*)\\)|)",it=new RegExp(tt+"+","g"),ot=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),st=new RegExp("^"+tt+"*,"+tt+"*"),at=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),ut=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),lt=new RegExp(rt),ct=new RegExp("^"+et+"$"),ft={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,dt=/^h\d$/i,ht=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=/'|\\/g,yt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),_t=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},bt=function(){O()};try{J.apply(G=Q.call(U.childNodes),U.childNodes),G[U.childNodes.length].nodeType}catch(t){J={apply:G.length?function(t,e){Y.apply(t,Q.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}_=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:U;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,I=N.documentElement,R=!x(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",bt,!1):n.attachEvent&&n.attachEvent("onunload",bt)),_.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=i(function(t){return t.appendChild(N.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=ht.test(N.getElementsByClassName),_.getById=i(function(t){return I.appendChild(t).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),_.getById?(b.find.ID=function(t,e){if(void 0!==e.getElementById&&R){var n=e.getElementById(t);return n?[n]:[]}},b.filter.ID=function(t){var e=t.replace(yt,_t);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var e=t.replace(yt,_t);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),b.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=_.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&R)return e.getElementsByClassName(t)},M=[],P=[],(_.qsa=ht.test(N.querySelectorAll))&&(i(function(t){I.appendChild(t).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+tt+"*(?:value|"+Z+")"),t.querySelectorAll("[id~="+F+"-]").length||P.push("~="),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+F+"+*").length||P.push(".#.+[+~]")}),i(function(t){var e=N.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+tt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(_.matchesSelector=ht.test(L=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&i(function(t){_.disconnectedMatch=L.call(t,"div"),L.call(t,"[s!='']:x"),M.push("!=",rt)}),P=P.length&&new RegExp(P.join("|")),M=M.length&&new RegExp(M.join("|")),e=ht.test(I.compareDocumentPosition),D=e||ht.test(I.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return A=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===N||t.ownerDocument===U&&D(U,t)?-1:e===N||e.ownerDocument===U&&D(U,e)?1:C?X(C,t)-X(C,e):0:4&n?-1:1)}:function(t,e){if(t===e)return A=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===N?-1:e===N?1:i?-1:o?1:C?X(C,t)-X(C,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===U?-1:u[r]===U?1:0},N):N},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==N&&O(t),n=n.replace(ut,"='$1']"),_.matchesSelector&&R&&!V[n+" "]&&(!M||!M.test(n))&&(!P||!P.test(n)))try{var r=L.call(t,n);if(r||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return e(n,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&O(t),D(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&O(t);var n=b.attrHandle[e.toLowerCase()],r=n&&z.call(b.attrHandle,e.toLowerCase())?n(t,e,!R):void 0;return void 0!==r?r:_.attributes||!R?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(A=!_.detectDuplicates,C=!_.sortStable&&t.slice(0),t.sort(W),A){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return C=null,t},w=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=w(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=w(e);return n},b=e.selectors={cacheLength:50,createPseudo:r,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(yt,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(yt,_t),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(yt,_t).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(it," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,f,p,d,h,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!u&&!a,_=!1;if(g){if(o){for(;m;){for(p=e;p=p[m];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(p=g,f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[t]||[],d=l[0]===j&&l[1],_=d&&l[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(_=d=0)||h.pop();)if(1===p.nodeType&&++_&&p===e){c[t]=[j,d,_];break}}else if(y&&(p=e,f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[t]||[],d=l[0]===j&&l[1],_=d),!1===_)for(;(p=++d&&p&&p[m]||(_=d=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++_||(y&&(f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[t]=[j,_]),p!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,n){var i,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)r=X(t,i[s]),t[r]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=E(t.replace(ot,"$1"));return i[F]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(yt,_t),function(e){return(e.textContent||e.innerText||w(e)).indexOf(t)>-1}}),lang:r(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(yt,_t).toLowerCase(),function(e){var n;do{if(n=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===I},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return dt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,n){return[n<0?n+e:n]}),even:a(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:a(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:a(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:a(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}},b.pseudos.nth=b.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[y]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(y);for(y in{submit:!0,reset:!0})b.pseudos[y]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(y);return l.prototype=b.filters=b.pseudos,b.setFilters=new l,S=e.tokenize=function(t,n){var r,i,o,s,a,u,l,c=H[t+" "];if(c)return n?0:c.slice(0);for(a=t,u=[],l=b.preFilter;a;){r&&!(i=st.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=at.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ot," ")}),a=a.slice(r.length));for(s in b.filter)!(i=ft[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):H(t,u).slice(0)},E=e.compile=function(t,e){var n,r=[],i=[],o=V[t+" "];if(!o){for(e||(e=S(t)),n=e.length;n--;)o=g(e[n]),o[F]?r.push(o):i.push(o);o=V(t,v(i,r)),o.selector=t}return o},T=e.select=function(t,e,n,r){var i,o,s,a,l,f="function"==typeof t&&t,p=!r&&S(t=f.selector||t);if(n=n||[],1===p.length){if(o=p[0]=p[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&_.getById&&9===e.nodeType&&R&&b.relative[o[1].type]){if(!(e=(b.find.ID(s.matches[0].replace(yt,_t),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ft.needsContext.test(t)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((l=b.find[a])&&(r=l(s.matches[0].replace(yt,_t),gt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&c(o)))return J.apply(n,r),n;break}}return(f||E(t,p))(r,e,!R,n,!e||gt.test(t)&&u(e.parentNode)||e),n},_.sortStable=F.split("").sort(W).join("")===F,_.detectDuplicates=!!A,O(),_.sortDetached=i(function(t){return 1&t.compareDocumentPosition(N.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(Z,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);gt.find=wt,gt.expr=wt.selectors,gt.expr[":"]=gt.expr.pseudos,gt.uniqueSort=gt.unique=wt.uniqueSort,gt.text=wt.getText,gt.isXMLDoc=wt.isXML,gt.contains=wt.contains;var xt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&gt(t).is(n))break;r.push(t)}return r},St=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Et=gt.expr.match.needsContext,Tt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,kt=/^.[^:#\[\.,]*$/;gt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?gt.find.matchesSelector(r,t)?[r]:[]:gt.find.matches(t,gt.grep(e,function(t){return 1===t.nodeType}))},gt.fn.extend({find:function(t){var e,n=[],r=this,i=r.length;if("string"!=typeof t)return this.pushStack(gt(t).filter(function(){for(e=0;e<i;e++)if(gt.contains(r[e],this))return!0}));for(e=0;e<i;e++)gt.find(t,r[e],n);return n=this.pushStack(i>1?gt.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(a(this,t||[],!1))},not:function(t){return this.pushStack(a(this,t||[],!0))},is:function(t){return!!a(this,"string"==typeof t&&Et.test(t)?gt(t):t||[],!1).length}});var Ct,At=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(gt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Ct,"string"==typeof t){if(!(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:At.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof gt?e[0]:e,gt.merge(this,gt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:at,!0)),Tt.test(r[1])&&gt.isPlainObject(e))for(r in e)gt.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}if((i=at.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Ct.find(t);this.length=1,this[0]=i}return this.context=at,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):gt.isFunction(t)?void 0!==n.ready?n.ready(t):t(gt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),gt.makeArray(t,this))}).prototype=gt.fn,Ct=gt(at);var Ot=/^(?:parents|prev(?:Until|All))/,Nt={children:!0,contents:!0,next:!0,prev:!0};gt.fn.extend({has:function(t){var e,n=gt(t,this),r=n.length;return this.filter(function(){for(e=0;e<r;e++)if(gt.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],s=Et.test(t)||"string"!=typeof t?gt(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&gt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?gt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?gt.inArray(this[0],gt(t)):gt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(gt.uniqueSort(gt.merge(this.get(),gt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),gt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return xt(t,"parentNode")},parentsUntil:function(t,e,n){return xt(t,"parentNode",n)},next:function(t){return u(t,"nextSibling")},prev:function(t){return u(t,"previousSibling")},nextAll:function(t){return xt(t,"nextSibling")},prevAll:function(t){return xt(t,"previousSibling")},nextUntil:function(t,e,n){return xt(t,"nextSibling",n)},prevUntil:function(t,e,n){return xt(t,"previousSibling",n)},siblings:function(t){return St((t.parentNode||{}).firstChild,t)},children:function(t){return St(t.firstChild)},contents:function(t){return gt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:gt.merge([],t.childNodes)}},function(t,e){gt.fn[t]=function(n,r){var i=gt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=gt.filter(r,i)),this.length>1&&(Nt[t]||(i=gt.uniqueSort(i)),Ot.test(t)&&(i=i.reverse())),this.pushStack(i)}});var It=/\S+/g;gt.Callbacks=function(t){t="string"==typeof t?l(t):gt.extend({},t);var e,n,r,i,o=[],s=[],a=-1,u=function(){for(i=t.once,r=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){gt.each(n,function(n,r){gt.isFunction(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==gt.type(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return gt.each(arguments,function(t,e){for(var n;(n=gt.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(t){return t?gt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},gt.extend({Deferred:function(t){var e=[["resolve","done",gt.Callbacks("once memory"),"resolved"],["reject","fail",gt.Callbacks("once memory"),"rejected"],["notify","progress",gt.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return gt.Deferred(function(n){gt.each(e,function(e,o){var s=gt.isFunction(t[e])&&t[e];i[o[1]](function(){var t=s&&s.apply(this,arguments);t&&gt.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?gt.extend(t,r):r}},i={};return r.pipe=r.then,gt.each(e,function(t,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,r,i=0,o=ut.call(arguments),s=o.length,a=1!==s||t&&gt.isFunction(t.promise)?s:0,u=1===a?t:gt.Deferred(),l=function(t,n,r){return function(i){n[t]=this,r[t]=arguments.length>1?ut.call(arguments):i,r===e?u.notifyWith(n,r):--a||u.resolveWith(n,r)}};if(s>1)for(e=new Array(s),n=new Array(s),r=new Array(s);i<s;i++)o[i]&&gt.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,e)).done(l(i,r,o)).fail(u.reject):--a;return a||u.resolveWith(r,o),u.promise()}});var Rt;gt.fn.ready=function(t){return gt.ready.promise().done(t),this},gt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?gt.readyWait++:gt.ready(!0)},ready:function(t){(!0===t?--gt.readyWait:gt.isReady)||(gt.isReady=!0,!0!==t&&--gt.readyWait>0||(Rt.resolveWith(at,[gt]),gt.fn.triggerHandler&&(gt(at).triggerHandler("ready"),gt(at).off("ready"))))}}),gt.ready.promise=function(t){if(!Rt)if(Rt=gt.Deferred(),"complete"===at.readyState||"loading"!==at.readyState&&!at.documentElement.doScroll)n.setTimeout(gt.ready);else if(at.addEventListener)at.addEventListener("DOMContentLoaded",f),n.addEventListener("load",f);else{at.attachEvent("onreadystatechange",f),n.attachEvent("onload",f);var e=!1;try{e=null==n.frameElement&&at.documentElement}catch(t){}e&&e.doScroll&&function t(){if(!gt.isReady){try{e.doScroll("left")}catch(e){return n.setTimeout(t,50)}c(),gt.ready()}}()}return Rt.promise(t)},gt.ready.promise();var Pt;for(Pt in gt(mt))break;mt.ownFirst="0"===Pt,mt.inlineBlockNeedsLayout=!1,gt(function(){var t,e,n,r;(n=at.getElementsByTagName("body")[0])&&n.style&&(e=at.createElement("div"),r=at.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",mt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(r))}),function(){var t=at.createElement("div");mt.deleteExpando=!0;try{delete t.test}catch(t){mt.deleteExpando=!1}t=null}();var Mt=function(t){var e=gt.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)},Lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Dt=/([A-Z])/g;gt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?gt.cache[t[gt.expando]]:t[gt.expando])&&!d(t)},data:function(t,e,n){return h(t,e,n)},removeData:function(t,e){return m(t,e)},_data:function(t,e,n){return h(t,e,n,!0)},_removeData:function(t,e){return m(t,e,!0)}}),gt.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=gt.data(o),1===o.nodeType&&!gt._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=gt.camelCase(r.slice(5)),p(o,r,i[r])));gt._data(o,"parsedAttrs",!0)}return i}return"object"==typeof t?this.each(function(){gt.data(this,t)}):arguments.length>1?this.each(function(){gt.data(this,t,e)}):o?p(o,t,gt.data(o,t)):void 0},removeData:function(t){return this.each(function(){gt.removeData(this,t)})}}),gt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=gt._data(t,e),n&&(!r||gt.isArray(n)?r=gt._data(t,e,gt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=gt.queue(t,e),r=n.length,i=n.shift(),o=gt._queueHooks(t,e),s=function(){gt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return gt._data(t,n)||gt._data(t,n,{empty:gt.Callbacks("once memory").add(function(){gt._removeData(t,e+"queue"),gt._removeData(t,n)})})}}),gt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?gt.queue(this[0],t):void 0===e?this:this.each(function(){var n=gt.queue(this,t,e);gt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&gt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){gt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=gt.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=gt._data(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}}),function(){var t;mt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,r;return(n=at.getElementsByTagName("body")[0])&&n.style?(e=at.createElement("div"),r=at.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(at.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(r),t):void 0}}();var Ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ut=new RegExp("^(?:([+-])=|)("+Ft+")([a-z%]*)$","i"),jt=["Top","Right","Bottom","Left"],Bt=function(t,e){return t=e||t,"none"===gt.css(t,"display")||!gt.contains(t.ownerDocument,t)},qt=function(t,e,n,r,i,o,s){var a=0,u=t.length,l=null==n;if("object"===gt.type(n)){i=!0;for(a in n)qt(t,e,a,n[a],!0,o,s)}else if(void 0!==r&&(i=!0,gt.isFunction(r)||(s=!0),l&&(s?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(gt(t),n)})),e))for(;a<u;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:l?e.call(t):u?e(t[0],n):o},Ht=/^(?:checkbox|radio)$/i,Vt=/<([\w:-]+)/,Wt=/^$|\/(?:java|ecma)script/i,$t=/^\s+/,zt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var t=at.createElement("div"),e=at.createDocumentFragment(),n=at.createElement("input");t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",mt.leadingWhitespace=3===t.firstChild.nodeType,mt.tbody=!t.getElementsByTagName("tbody").length,mt.htmlSerialize=!!t.getElementsByTagName("link").length,mt.html5Clone="<:nav></:nav>"!==at.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),mt.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",mt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),n=at.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),mt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,mt.noCloneEvent=!!t.addEventListener,t[gt.expando]=1,mt.attributes=!t.getAttribute(gt.expando)}();var Gt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:mt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Gt.optgroup=Gt.option,Gt.tbody=Gt.tfoot=Gt.colgroup=Gt.caption=Gt.thead,Gt.th=Gt.td;var Kt=/<|&#?\w+;/,Yt=/<tbody/i;!function(){var t,e,r=at.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(mt[t]=e in n)||(r.setAttribute(e,"t"),mt[t]=!1===r.attributes[e].expando);r=null}();var Jt=/^(?:input|select|textarea)$/i,Qt=/^key/,Xt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Zt=/^(?:focusinfocus|focusoutblur)$/,te=/^([^.]*)(?:\.(.+)|)/;gt.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h,m,g=gt._data(t);if(g){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=gt.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(t){return void 0===gt||t&&gt.event.triggered===t.type?void 0:gt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(It)||[""],a=e.length;a--;)o=te.exec(e[a])||[],d=m=o[1],h=(o[2]||"").split(".").sort(),d&&(l=gt.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=gt.event.special[d]||{},f=gt.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&gt.expr.match.needsContext.test(i),namespace:h.join(".")},u),(p=s[d])||(p=s[d]=[],p.delegateCount=0,l.setup&&!1!==l.setup.call(t,r,h,c)||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),gt.event.global[d]=!0);t=null}},remove:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h,m,g=gt.hasData(t)&&gt._data(t);if(g&&(c=g.events)){for(e=(e||"").match(It)||[""],l=e.length;l--;)if(a=te.exec(e[l])||[],d=m=a[1],h=(a[2]||"").split(".").sort(),d){for(f=gt.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=c[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)s=p[o],!i&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||r&&r!==s.selector&&("**"!==r||!s.selector)||(p.splice(o,1),s.selector&&p.delegateCount--,f.remove&&f.remove.call(t,s));u&&!p.length&&(f.teardown&&!1!==f.teardown.call(t,h,g.handle)||gt.removeEvent(t,d,g.handle),delete c[d])}else for(d in c)gt.event.remove(t,d+e[l],n,r,!0);gt.isEmptyObject(c)&&(delete g.handle,gt._removeData(t,"events"))}},trigger:function(t,e,r,i){var o,s,a,u,l,c,f,p=[r||at],d=ht.call(t,"type")?t.type:t,h=ht.call(t,"namespace")?t.namespace.split("."):[];if(a=c=r=r||at,3!==r.nodeType&&8!==r.nodeType&&!Zt.test(d+gt.event.triggered)&&(d.indexOf(".")>-1&&(h=d.split("."),d=h.shift(),h.sort()),s=d.indexOf(":")<0&&"on"+d,t=t[gt.expando]?t:new gt.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:gt.makeArray(e,[t]),l=gt.event.special[d]||{},i||!l.trigger||!1!==l.trigger.apply(r,e))){if(!i&&!l.noBubble&&!gt.isWindow(r)){for(u=l.delegateType||d,Zt.test(u+d)||(a=a.parentNode);a;a=a.parentNode)p.push(a),c=a;c===(r.ownerDocument||at)&&p.push(c.defaultView||c.parentWindow||n)}for(f=0;(a=p[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||d,o=(gt._data(a,"events")||{})[t.type]&&gt._data(a,"handle"),o&&o.apply(a,e),(o=s&&a[s])&&o.apply&&Mt(a)&&(t.result=o.apply(a,e),!1===t.result&&t.preventDefault());if(t.type=d,!i&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),e))&&Mt(r)&&s&&r[d]&&!gt.isWindow(r)){c=r[s],c&&(r[s]=null),gt.event.triggered=d;try{r[d]()}catch(t){}gt.event.triggered=void 0,c&&(r[s]=c)}return t.result}},dispatch:function(t){t=gt.event.fix(t);var e,n,r,i,o,s=[],a=ut.call(arguments),u=(gt._data(this,"events")||{})[t.type]||[],l=gt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(s=gt.event.handlers.call(this,t,u),e=0;(i=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(r=((gt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(t.result=r)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==t.type)){for(r=[],n=0;n<a;n++)o=e[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?gt(i,this).index(u)>-1:gt.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[gt.expando])return t;var e,n,r,i=t.type,o=t,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=Xt.test(i)?this.mouseHooks:Qt.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,t=new gt.Event(o),e=r.length;e--;)n=r[e],t[n]=o[n];return t.target||(t.target=o.srcElement||at),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=t.target.ownerDocument||at,i=r.documentElement,n=r.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(gt.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return gt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n){var r=gt.extend(new gt.Event,n,{type:t,isSimulated:!0});gt.event.trigger(r,null,e),r.isDefaultPrevented()&&n.preventDefault()}},gt.removeEvent=at.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)}:function(t,e,n){var r="on"+e;t.detachEvent&&(void 0===t[r]&&(t[r]=null),t.detachEvent(r,n))},gt.Event=function(t,e){if(!(this instanceof gt.Event))return new gt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?x:S):this.type=t,e&&gt.extend(this,e),this.timeStamp=t&&t.timeStamp||gt.now(),this[gt.expando]=!0},gt.Event.prototype={constructor:gt.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=x,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=x,t&&!this.isSimulated&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=x,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},gt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){gt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===r||gt.contains(r,i))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),mt.submit||(gt.event.special.submit={setup:function(){if(gt.nodeName(this,"form"))return!1;gt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=gt.nodeName(e,"input")||gt.nodeName(e,"button")?gt.prop(e,"form"):void 0;n&&!gt._data(n,"submit")&&(gt.event.add(n,"submit._submit",function(t){t._submitBubble=!0}),gt._data(n,"submit",!0))})},postDispatch:function(t){t._submitBubble&&(delete t._submitBubble,this.parentNode&&!t.isTrigger&&gt.event.simulate("submit",this.parentNode,t))},teardown:function(){if(gt.nodeName(this,"form"))return!1;gt.event.remove(this,"._submit")}}),mt.change||(gt.event.special.change={setup:function(){if(Jt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(gt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._justChanged=!0)}),gt.event.add(this,"click._change",function(t){this._justChanged&&!t.isTrigger&&(this._justChanged=!1),gt.event.simulate("change",this,t)})),!1;gt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Jt.test(e.nodeName)&&!gt._data(e,"change")&&(gt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||gt.event.simulate("change",this.parentNode,t)}),gt._data(e,"change",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return gt.event.remove(this,"._change"),!Jt.test(this.nodeName)}}),mt.focusin||gt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){gt.event.simulate(e,t.target,gt.event.fix(t))};gt.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=gt._data(r,e);i||r.addEventListener(t,n,!0),gt._data(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=gt._data(r,e)-1;i?gt._data(r,e,i):(r.removeEventListener(t,n,!0),gt._removeData(r,e))}}}),gt.fn.extend({on:function(t,e,n,r){return T(this,t,e,n,r)},one:function(t,e,n,r){return T(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,gt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=S),this.each(function(){gt.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){gt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return gt.event.trigger(t,e,n,!0)}});var ee=/ jQuery\d+="(?:null|\d+)"/g,ne=new RegExp("<(?:"+zt+")[\\s/>]","i"),re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ie=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^true\/(.*)/,ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ue=v(at),le=ue.appendChild(at.createElement("div"));gt.extend({htmlPrefilter:function(t){return t.replace(re,"<$1></$2>")},clone:function(t,e,n){var r,i,o,s,a,u=gt.contains(t.ownerDocument,t);if(mt.html5Clone||gt.isXMLDoc(t)||!ne.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(le.innerHTML=t.outerHTML,le.removeChild(o=le.firstChild)),!(mt.noCloneEvent&&mt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||gt.isXMLDoc(t)))for(r=y(o),a=y(t),s=0;null!=(i=a[s]);++s)r[s]&&N(i,r[s]);if(e)if(n)for(a=a||y(t),r=r||y(o),s=0;null!=(i=a[s]);s++)O(i,r[s]);else O(t,o);return r=y(o,"script"),r.length>0&&_(r,!u&&y(t,"script")),r=a=i=null,o},cleanData:function(t,e){for(var n,r,i,o,s=0,a=gt.expando,u=gt.cache,l=mt.attributes,c=gt.event.special;null!=(n=t[s]);s++)if((e||Mt(n))&&(i=n[a],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?gt.event.remove(n,r):gt.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||void 0===n.removeAttribute?n[a]=void 0:n.removeAttribute(a),st.push(i))}}}),gt.fn.extend({domManip:I,detach:function(t){return R(this,t,!0)},remove:function(t){return R(this,t)},text:function(t){return qt(this,function(t){return void 0===t?gt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||at).createTextNode(t))},null,t,arguments.length)},append:function(){return I(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,t).appendChild(t)}})},prepend:function(){return I(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return I(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return I(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&gt.cleanData(y(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&gt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return gt.clone(this,t,e)})},html:function(t){return qt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(ee,""):void 0;if("string"==typeof t&&!ie.test(t)&&(mt.htmlSerialize||!ne.test(t))&&(mt.leadingWhitespace||!$t.test(t))&&!Gt[(Vt.exec(t)||["",""])[1].toLowerCase()]){t=gt.htmlPrefilter(t);try{for(;n<r;n++)e=this[n]||{},1===e.nodeType&&(gt.cleanData(y(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return I(this,arguments,function(e){var n=this.parentNode;gt.inArray(this,t)<0&&(gt.cleanData(y(this)),n&&n.replaceChild(e,this))},t)}}),gt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){gt.fn[t]=function(t){for(var n,r=0,i=[],o=gt(t),s=o.length-1;r<=s;r++)n=r===s?this:this.clone(!0),gt(o[r])[e](n),ct.apply(i,n.get());return this.pushStack(i)}});var ce,fe={HTML:"block",BODY:"block"},pe=/^margin/,de=new RegExp("^("+Ft+")(?!px)[a-z%]+$","i"),he=function(t,e,n,r){var i,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];i=n.apply(t,r||[]);for(o in e)t.style[o]=s[o];return i},me=at.documentElement;!function(){function t(){var t,c,f=at.documentElement;f.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",e=i=a=!1,r=s=!0,n.getComputedStyle&&(c=n.getComputedStyle(l),e="1%"!==(c||{}).top,a="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,t=l.appendChild(at.createElement("div")),t.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",l.style.width="1px",s=!parseFloat((n.getComputedStyle(t)||{}).marginRight),l.removeChild(t)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l.childNodes[0].style.borderCollapse="separate",t=l.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var e,r,i,o,s,a,u=at.createElement("div"),l=at.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",mt.opacity="0.5"===l.style.opacity,mt.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",mt.clearCloneStyle="content-box"===l.style.backgroundClip,u=at.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),mt.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,gt.extend(mt,{reliableHiddenOffsets:function(){return null==e&&t(),o},boxSizingReliable:function(){return null==e&&t(),i},pixelMarginRight:function(){return null==e&&t(),r},pixelPosition:function(){return null==e&&t(),e},reliableMarginRight:function(){return null==e&&t(),s},reliableMarginLeft:function(){return null==e&&t(),a}}))}();var ge,ve,ye=/^(top|right|bottom|left)$/;n.getComputedStyle?(ge=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ve=function(t,e,n){var r,i,o,s,a=t.style;return n=n||ge(t),s=n?n.getPropertyValue(e)||n[e]:void 0,""!==s&&void 0!==s||gt.contains(t.ownerDocument,t)||(s=gt.style(t,e)),n&&!mt.pixelMarginRight()&&de.test(s)&&pe.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0===s?s:s+""}):me.currentStyle&&(ge=function(t){return t.currentStyle},ve=function(t,e,n){var r,i,o,s,a=t.style;return n=n||ge(t),s=n?n[e]:void 0,null==s&&a&&a[e]&&(s=a[e]),de.test(s)&&!ye.test(e)&&(r=a.left,i=t.runtimeStyle,o=i&&i.left,o&&(i.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=r,o&&(i.left=o)),void 0===s?s:s+""||"auto"});var _e=/alpha\([^)]*\)/i,be=/opacity\s*=\s*([^)]*)/i,we=/^(none|table(?!-c[ea]).+)/,xe=new RegExp("^("+Ft+")(.*)$","i"),Se={position:"absolute",visibility:"hidden",display:"block"},Ee={letterSpacing:"0",fontWeight:"400"},Te=["Webkit","O","Moz","ms"],ke=at.createElement("div").style;gt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ve(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:mt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=gt.camelCase(e),u=t.style;if(e=gt.cssProps[a]||(gt.cssProps[a]=D(a)||a),s=gt.cssHooks[e]||gt.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e];if(o=typeof n,"string"===o&&(i=Ut.exec(n))&&i[1]&&(n=g(t,e,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(gt.cssNumber[a]?"":"px")),mt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,r)))))try{u[e]=n}catch(t){}}},css:function(t,e,n,r){var i,o,s,a=gt.camelCase(e);return e=gt.cssProps[a]||(gt.cssProps[a]=D(a)||a),s=gt.cssHooks[e]||gt.cssHooks[a],s&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=ve(t,e,r)),"normal"===o&&e in Ee&&(o=Ee[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),gt.each(["height","width"],function(t,e){gt.cssHooks[e]={get:function(t,n,r){if(n)return we.test(gt.css(t,"display"))&&0===t.offsetWidth?he(t,Se,function(){return B(t,e,r)}):B(t,e,r)},set:function(t,n,r){var i=r&&ge(t);return U(t,n,r?j(t,e,r,mt.boxSizing&&"border-box"===gt.css(t,"boxSizing",!1,i),i):0)}}}),mt.opacity||(gt.cssHooks.opacity={get:function(t,e){return be.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,r=t.currentStyle,i=gt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===gt.trim(o.replace(_e,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||r&&!r.filter)||(n.filter=_e.test(o)?o.replace(_e,i):o+" "+i)}}),gt.cssHooks.marginRight=L(mt.reliableMarginRight,function(t,e){if(e)return he(t,{display:"inline-block"},ve,[t,"marginRight"])}),gt.cssHooks.marginLeft=L(mt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(ve(t,"marginLeft"))||(gt.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-he(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),gt.each({margin:"",padding:"",border:"Width"},function(t,e){gt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+jt[r]+e]=o[r]||o[r-2]||o[0];return i}},pe.test(t)||(gt.cssHooks[t+e].set=U)}),gt.fn.extend({css:function(t,e){return qt(this,function(t,e,n){var r,i,o={},s=0;if(gt.isArray(e)){for(r=ge(t),i=e.length;s<i;s++)o[e[s]]=gt.css(t,e[s],!1,r);return o}return void 0!==n?gt.style(t,e,n):gt.css(t,e)},t,e,arguments.length>1)},show:function(){return F(this,!0)},hide:function(){return F(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Bt(this)?gt(this).show():gt(this).hide()})}}),gt.Tween=q,q.prototype={constructor:q,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||gt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(gt.cssNumber[n]?"":"px")},cur:function(){var t=q.propHooks[this.prop];return t&&t.get?t.get(this):q.propHooks._default.get(this)},run:function(t){var e,n=q.propHooks[this.prop];return this.options.duration?this.pos=e=gt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=gt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){gt.fx.step[t.prop]?gt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[gt.cssProps[t.prop]]&&!gt.cssHooks[t.prop]?t.elem[t.prop]=t.now:gt.style(t.elem,t.prop,t.now+t.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},gt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},gt.fx=q.prototype.init,gt.fx.step={};var Ce,Ae,Oe=/^(?:toggle|show|hide)$/,Ne=/queueHooks$/;gt.Animation=gt.extend(G,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return g(n.elem,t,Ut.exec(e),n),n}]},tweener:function(t,e){gt.isFunction(t)?(e=t,t=["*"]):t=t.match(It);for(var n,r=0,i=t.length;r<i;r++)n=t[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(e)},prefilters:[$],prefilter:function(t,e){e?G.prefilters.unshift(t):G.prefilters.push(t)}}),gt.speed=function(t,e,n){var r=t&&"object"==typeof t?gt.extend({},t):{complete:n||!n&&e||gt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!gt.isFunction(e)&&e};return r.duration=gt.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in gt.fx.speeds?gt.fx.speeds[r.duration]:gt.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){gt.isFunction(r.old)&&r.old.call(this),r.queue&&gt.dequeue(this,r.queue)},r},gt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Bt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=gt.isEmptyObject(t),o=gt.speed(e,n,r),s=function(){var e=G(this,gt.extend({},t),o);(i||gt._data(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=gt.timers,s=gt._data(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&Ne.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||gt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=gt._data(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=gt.timers,s=r?r.length:0;for(n.finish=!0,gt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),gt.each(["toggle","show","hide"],function(t,e){var n=gt.fn[e];gt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(V(e,!0),t,r,i)}}),gt.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){gt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),gt.timers=[],gt.fx.tick=function(){var t,e=gt.timers,n=0;for(Ce=gt.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||gt.fx.stop(),Ce=void 0},gt.fx.timer=function(t){gt.timers.push(t),t()?gt.fx.start():gt.timers.pop()},gt.fx.interval=13,gt.fx.start=function(){Ae||(Ae=n.setInterval(gt.fx.tick,gt.fx.interval))},gt.fx.stop=function(){n.clearInterval(Ae),Ae=null},gt.fx.speeds={slow:600,fast:200,_default:400},gt.fn.delay=function(t,e){return t=gt.fx?gt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t,e=at.createElement("input"),n=at.createElement("div"),r=at.createElement("select"),i=r.appendChild(at.createElement("option"));n=at.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=n.getElementsByTagName("a")[0],e.setAttribute("type","checkbox"),n.appendChild(e),t=n.getElementsByTagName("a")[0],t.style.cssText="top:1px",mt.getSetAttribute="t"!==n.className,mt.style=/top/.test(t.getAttribute("style")),mt.hrefNormalized="/a"===t.getAttribute("href"),mt.checkOn=!!e.value,mt.optSelected=i.selected,mt.enctype=!!at.createElement("form").enctype,r.disabled=!0,mt.optDisabled=!i.disabled,e=at.createElement("input"),e.setAttribute("value",""),mt.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),mt.radioValue="t"===e.value}();var Ie=/\r/g,Re=/[\x20\t\r\n\f]+/g;gt.fn.extend({val:function(t){var e,n,r,i=this[0];{if(arguments.length)return r=gt.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(i=r?t.call(this,n,gt(this).val()):t,null==i?i="":"number"==typeof i?i+="":gt.isArray(i)&&(i=gt.map(i,function(t){return null==t?"":t+""})),(e=gt.valHooks[this.type]||gt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return(e=gt.valHooks[i.type]||gt.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Ie,""):null==n?"":n)}}}),gt.extend({valHooks:{option:{get:function(t){var e=gt.find.attr(t,"value");return null!=e?e:gt.trim(gt.text(t)).replace(Re," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u<a;u++)if(n=r[u],(n.selected||u===i)&&(mt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!gt.nodeName(n.parentNode,"optgroup"))){if(e=gt(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=gt.makeArray(e),s=i.length;s--;)if(r=i[s],gt.inArray(gt.valHooks.option.get(r),o)>-1)try{r.selected=n=!0}catch(t){r.scrollHeight}else r.selected=!1;return n||(t.selectedIndex=-1),i}}}}),gt.each(["radio","checkbox"],function(){gt.valHooks[this]={set:function(t,e){if(gt.isArray(e))return t.checked=gt.inArray(gt(t).val(),e)>-1}},mt.checkOn||(gt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Pe,Me,Le=gt.expr.attrHandle,De=/^(?:checked|selected)$/i,Fe=mt.getSetAttribute,Ue=mt.input;gt.fn.extend({attr:function(t,e){return qt(this,gt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){gt.removeAttr(this,t)})}}),gt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?gt.prop(t,e,n):(1===o&&gt.isXMLDoc(t)||(e=e.toLowerCase(),i=gt.attrHooks[e]||(gt.expr.match.bool.test(e)?Me:Pe)),void 0!==n?null===n?void gt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=gt.find.attr(t,e),null==r?void 0:r))},attrHooks:{type:{set:function(t,e){if(!mt.radioValue&&"radio"===e&&gt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(It);if(o&&1===t.nodeType)for(;n=o[i++];)r=gt.propFix[n]||n,gt.expr.match.bool.test(n)?Ue&&Fe||!De.test(n)?t[r]=!1:t[gt.camelCase("default-"+n)]=t[r]=!1:gt.attr(t,n,""),t.removeAttribute(Fe?n:r)}}),Me={set:function(t,e,n){return!1===e?gt.removeAttr(t,n):Ue&&Fe||!De.test(n)?t.setAttribute(!Fe&&gt.propFix[n]||n,n):t[gt.camelCase("default-"+n)]=t[n]=!0,n}},gt.each(gt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Le[e]||gt.find.attr;Ue&&Fe||!De.test(e)?Le[e]=function(t,e,r){var i,o;return r||(o=Le[e],Le[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,Le[e]=o),i}:Le[e]=function(t,e,n){if(!n)return t[gt.camelCase("default-"+e)]?e.toLowerCase():null}}),Ue&&Fe||(gt.attrHooks.value={set:function(t,e,n){if(!gt.nodeName(t,"input"))return Pe&&Pe.set(t,e,n);t.defaultValue=e}}),Fe||(Pe={set:function(t,e,n){var r=t.getAttributeNode(n);if(r||t.setAttributeNode(r=t.ownerDocument.createAttribute(n)),r.value=e+="","value"===n||e===t.getAttribute(n))return e}},Le.id=Le.name=Le.coords=function(t,e,n){var r;if(!n)return(r=t.getAttributeNode(e))&&""!==r.value?r.value:null},gt.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:Pe.set},gt.attrHooks.contenteditable={set:function(t,e,n){Pe.set(t,""!==e&&e,n)}},gt.each(["width","height"],function(t,e){gt.attrHooks[e]={set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}}})),mt.style||(gt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var je=/^(?:input|select|textarea|button|object)$/i,Be=/^(?:a|area)$/i;gt.fn.extend({prop:function(t,e){return qt(this,gt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=gt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),gt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&gt.isXMLDoc(t)||(e=gt.propFix[e]||e,i=gt.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=gt.find.attr(t,"tabindex");return e?parseInt(e,10):je.test(t.nodeName)||Be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),mt.hrefNormalized||gt.each(["href","src"],function(t,e){gt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),mt.optSelected||(gt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),gt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){gt.propFix[this.toLowerCase()]=this}),mt.enctype||(gt.propFix.enctype="encoding");var qe=/[\t\r\n\f]/g;gt.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(gt.isFunction(t))return this.each(function(e){gt(this).addClass(t.call(this,e,K(this)))});if("string"==typeof t&&t)for(e=t.match(It)||[];n=this[u++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qe," ")){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=gt.trim(r),i!==a&&gt.attr(n,"class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(gt.isFunction(t))return this.each(function(e){gt(this).removeClass(t.call(this,e,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(It)||[];n=this[u++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qe," ")){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=gt.trim(r),i!==a&&gt.attr(n,"class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):gt.isFunction(t)?this.each(function(n){gt(this).toggleClass(t.call(this,n,K(this),e),e)}):this.each(function(){var e,r,i,o;if("string"===n)for(r=0,i=gt(this),o=t.match(It)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||(e=K(this),e&&gt._data(this,"__className__",e),gt.attr(this,"class",e||!1===t?"":gt._data(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(n)+" ").replace(qe," ").indexOf(e)>-1)return!0;return!1}}),gt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){gt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),gt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var He=n.location,Ve=gt.now(),We=/\?/,$e=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;gt.parseJSON=function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t+"");var e,r=null,i=gt.trim(t+"");return i&&!gt.trim(i.replace($e,function(t,n,i,o){return e&&n&&(r=0),0===r?t:(e=i||n,r+=!o-!i,"")}))?Function("return "+i)():gt.error("Invalid JSON: "+t)},gt.parseXML=function(t){var e,r;if(!t||"string"!=typeof t)return null;try{n.DOMParser?(r=new n.DOMParser,e=r.parseFromString(t,"text/xml")):(e=new n.ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||gt.error("Invalid XML: "+t),e};var ze=/#.*$/,Ge=/([?&])_=[^&]*/,Ke=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ye=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Je=/^(?:GET|HEAD)$/,Qe=/^\/\//,Xe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ze={},tn={},en="*/".concat("*"),nn=He.href,rn=Xe.exec(nn.toLowerCase())||[];gt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nn,type:"GET",isLocal:Ye.test(rn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":gt.parseJSON,"text xml":gt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Q(Q(t,gt.ajaxSettings),e):Q(gt.ajaxSettings,t)},ajaxPrefilter:Y(Ze),ajaxTransport:Y(tn),ajax:function(t,e){function r(t,e,r,i){var o,f,y,_,w,S=e;2!==b&&(b=2,u&&n.clearTimeout(u),c=void 0,a=i||"",x.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(_=X(p,x,r)),_=Z(p,_,x,o),o?(p.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(gt.lastModified[s]=w),(w=x.getResponseHeader("etag"))&&(gt.etag[s]=w)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=_.state,f=_.data,y=_.error,o=!y)):(y=S,!t&&S||(S="error",t<0&&(t=0))),x.status=t,x.statusText=(e||S)+"",o?m.resolveWith(d,[f,S,x]):m.rejectWith(d,[x,S,y]),x.statusCode(v),v=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[x,p,o?f:y]),g.fireWith(d,[x,S]),l&&(h.trigger("ajaxComplete",[x,p]),--gt.active||gt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,s,a,u,l,c,f,p=gt.ajaxSetup({},e),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?gt(d):gt.event,m=gt.Deferred(),g=gt.Callbacks("once memory"),v=p.statusCode||{},y={},_={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!f)for(f={};e=Ke.exec(a);)f[e[1].toLowerCase()]=e[2];e=f[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=_[n]=_[n]||t,y[t]=e),this},overrideMimeType:function(t){return b||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return c&&c.abort(e),r(0,e),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,p.url=((t||p.url||nn)+"").replace(ze,"").replace(Qe,rn[1]+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=gt.trim(p.dataType||"*").toLowerCase().match(It)||[""],null==p.crossDomain&&(i=Xe.exec(p.url.toLowerCase()),p.crossDomain=!(!i||i[1]===rn[1]&&i[2]===rn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(rn[3]||("http:"===rn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=gt.param(p.data,p.traditional)),J(Ze,p,e,x),2===b)return x;l=gt.event&&p.global,l&&0==gt.active++&&gt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Je.test(p.type),s=p.url,p.hasContent||(p.data&&(s=p.url+=(We.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Ge.test(s)?s.replace(Ge,"$1_="+Ve++):s+(We.test(s)?"&":"?")+"_="+Ve++)),p.ifModified&&(gt.lastModified[s]&&x.setRequestHeader("If-Modified-Since",gt.lastModified[s]),gt.etag[s]&&x.setRequestHeader("If-None-Match",gt.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||e.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]?", "+en+"; q=0.01":""):p.accepts["*"]);for(o in p.headers)x.setRequestHeader(o,p.headers[o]);if(p.beforeSend&&(!1===p.beforeSend.call(d,x,p)||2===b))return x.abort();w="abort";for(o in{success:1,error:1,complete:1})x[o](p[o]);if(c=J(tn,p,e,x)){if(x.readyState=1,l&&h.trigger("ajaxSend",[x,p]),2===b)return x;p.async&&p.timeout>0&&(u=n.setTimeout(function(){x.abort("timeout")},p.timeout));try{b=1,c.send(y,r)}catch(t){if(!(b<2))throw t;r(-1,t)}}else r(-1,"No Transport");return x},getJSON:function(t,e,n){return gt.get(t,e,n,"json")},getScript:function(t,e){return gt.get(t,void 0,e,"script")}}),gt.each(["get","post"],function(t,e){gt[e]=function(t,n,r,i){return gt.isFunction(n)&&(i=i||r,r=n,n=void 0),gt.ajax(gt.extend({url:t,type:e,dataType:i,data:n,success:r},gt.isPlainObject(t)&&t))}}),gt._evalUrl=function(t){return gt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},gt.fn.extend({wrapAll:function(t){if(gt.isFunction(t))return this.each(function(e){gt(this).wrapAll(t.call(this,e))});if(this[0]){var e=gt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return gt.isFunction(t)?this.each(function(e){gt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=gt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=gt.isFunction(t);return this.each(function(n){gt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){gt.nodeName(this,"body")||gt(this).replaceWith(this.childNodes)}).end()}}),gt.expr.filters.hidden=function(t){return mt.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:et(t)},gt.expr.filters.visible=function(t){return!gt.expr.filters.hidden(t)};var on=/%20/g,sn=/\[\]$/,an=/\r?\n/g,un=/^(?:submit|button|image|reset|file)$/i,ln=/^(?:input|select|textarea|keygen)/i;gt.param=function(t,e){var n,r=[],i=function(t,e){e=gt.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=gt.ajaxSettings&&gt.ajaxSettings.traditional),gt.isArray(t)||t.jquery&&!gt.isPlainObject(t))gt.each(t,function(){i(this.name,this.value)});else for(n in t)nt(n,t[n],e,i);return r.join("&").replace(on,"+")},gt.fn.extend({serialize:function(){return gt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=gt.prop(this,"elements");return t?gt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!gt(this).is(":disabled")&&ln.test(this.nodeName)&&!un.test(t)&&(this.checked||!Ht.test(t))}).map(function(t,e){var n=gt(this).val();return null==n?null:gt.isArray(n)?gt.map(n,function(t){return{name:e.name,value:t.replace(an,"\r\n")}}):{name:e.name,value:n.replace(an,"\r\n")}}).get()}}),gt.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?it():at.documentMode>8?rt():/^(get|post|head|put|delete|options)$/i.test(this.type)&&rt()||it()}:rt;var cn=0,fn={},pn=gt.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var t in fn)fn[t](void 0,!0)}),mt.cors=!!pn&&"withCredentials"in pn,pn=mt.ajax=!!pn,pn&&gt.ajaxTransport(function(t){if(!t.crossDomain||mt.cors){var e;return{send:function(r,i){var o,s=t.xhr(),a=++cn;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&s.setRequestHeader(o,r[o]+"");s.send(t.hasContent&&t.data||null),e=function(n,r){var o,u,l;if(e&&(r||4===s.readyState))if(delete fn[a],e=void 0,s.onreadystatechange=gt.noop,r)4!==s.readyState&&s.abort();else{l={},o=s.status,"string"==typeof s.responseText&&(l.text=s.responseText);try{u=s.statusText}catch(t){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,s.getAllResponseHeaders())},t.async?4===s.readyState?n.setTimeout(e):s.onreadystatechange=fn[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),gt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),gt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return gt.globalEval(t),t}}}),gt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),gt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=at.head||gt("head")[0]||at.documentElement;return{send:function(r,i){e=at.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||i(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var dn=[],hn=/(=)\?(?=&|$)|\?\?/;gt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=dn.pop()||gt.expando+"_"+Ve++;return this[t]=!0,t}}),gt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=!1!==t.jsonp&&(hn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=gt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(hn,"$1"+i):!1!==t.jsonp&&(t.url+=(We.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||gt.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?gt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,dn.push(i)),s&&gt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),gt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||at;var r=Tt.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=w([t],e,i),i&&i.length&&gt(i).remove(),gt.merge([],r.childNodes))};var mn=gt.fn.load;gt.fn.load=function(t,e,n){if("string"!=typeof t&&mn)return mn.apply(this,arguments);var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=gt.trim(t.slice(a,t.length)),t=t.slice(0,a)),gt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&gt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?gt("<div>").append(gt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},gt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){gt.fn[e]=function(t){return this.on(e,t)}}),gt.expr.filters.animated=function(t){return gt.grep(gt.timers,function(e){return t===e.elem}).length},gt.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,l,c=gt.css(t,"position"),f=gt(t),p={};"static"===c&&(t.style.position="relative"),a=f.offset(),o=gt.css(t,"top"),u=gt.css(t,"left"),l=("absolute"===c||"fixed"===c)&&gt.inArray("auto",[o,u])>-1,l?(r=f.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),gt.isFunction(e)&&(e=e.call(t,n,gt.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+i),"using"in e?e.using.call(t,p):f.css(p)}},gt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){gt.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return e=o.documentElement,gt.contains(e,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=ot(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r},position:function(){if(this[0]){var t,e,n={top:0,left:0},r=this[0];return"fixed"===gt.css(r,"position")?e=r.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),gt.nodeName(t[0],"html")||(n=t.offset()),n.top+=gt.css(t[0],"borderTopWidth",!0),n.left+=gt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-gt.css(r,"marginTop",!0),left:e.left-n.left-gt.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!gt.nodeName(t,"html")&&"static"===gt.css(t,"position");)t=t.offsetParent;return t||me})}}),gt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);gt.fn[t]=function(r){return qt(this,function(t,r,i){var o=ot(t);if(void 0===i)return o?e in o?o[e]:o.document.documentElement[r]:t[r];o?o.scrollTo(n?gt(o).scrollLeft():i,n?i:gt(o).scrollTop()):t[r]=i},t,r,arguments.length,null)}}),gt.each(["top","left"],function(t,e){gt.cssHooks[e]=L(mt.pixelPosition,function(t,n){if(n)return n=ve(t,e),de.test(n)?gt(t).position()[e]+"px":n})}),gt.each({Height:"height",Width:"width"},function(t,e){gt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){gt.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return qt(this,function(e,n,r){var i;return gt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?gt.css(e,n,s):gt.style(e,n,r,s)},e,o?r:void 0,o,null)}})}),gt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),gt.fn.size=function(){return this.length},gt.fn.andSelf=gt.fn.addBack,r=[],void 0!==(i=function(){return gt}.apply(e,r))&&(t.exports=i);var gn=n.jQuery,vn=n.$;return gt.noConflict=function(t){return n.$===gt&&(n.$=vn),t&&n.jQuery===gt&&(n.jQuery=gn),gt},o&&!n.__OKTA_EXPORT_JQUERY__||(n.jQuery=n.$=gt),gt})},function(t,e,n){"use strict";var r;void 0!==(r=function(){function t(t,e){(DEBUG||"error"===t)&&window.console[t].apply(window.console,e)}return{trace:function(){return t("trace",arguments)},dir:function(){return t("dir",arguments)},time:function(){return t("time",arguments)},timeEnd:function(){return t("timeEnd",arguments)},group:function(){return t("group",arguments)},groupEnd:function(){return t("groupEnd",arguments)},assert:function(){return t("assert",arguments)},log:function(){return t("log",arguments)},info:function(){return t("info",arguments)},warn:function(){return t("warn",arguments)},error:function(){return t("error",arguments)},deprecate:function(e){return t("warn",["[okta-signin-widget] DEPRECATED:",e])}}}.call(e,n,e,t))&&(t.exports=r)},function(t,e,n){"use strict";var r,i,o=n(534),s=function(t){return t&&t.__esModule?t:{default:t}}(o);r=[n(1),n(12),n(164)],void 0!==(i=function(t,e,n){function r(t){return new e(t)}function i(t,e,n){return e=e.map(function(t){return{type:"FIDO_2_0",algorithm:t.algorithm}}),r(window.msCredentials.makeCredential(t,e,n).then(function(t){return(0,s.default)({credential:{id:t.id},publicKey:JSON.parse(t.publicKey),attestation:t.attestation})}))}function o(t,e){var n=e.map(function(t){return{type:"FIDO_2_0",id:t.id}}),i={accept:n};return r(window.msCredentials.getAssertion(t,i).then(function(t){var e=t.signature;return(0,s.default)({credential:{id:t.id},clientData:e.clientData,authenticatorData:e.authnrData,signature:e.signature})}))}return{makeCredential:i,getAssertion:o,isAvailable:function(){return window.hasOwnProperty("msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||n.isU2fAvailable()}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(7),i=n(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(4),i=n(31),o=n(49),s=n(171),a=n(13).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(80)("keys"),i=n(55);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(4).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(7),i=n(2),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(32)(Function.call,n(29).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,e,n){var r=n(7),i=n(123).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){"use strict";var r=n(34),i=n(39);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(49),i=n(0),o=n(25),s=n(24),a=n(73),u=n(130),l=n(70),c=n(30),f=n(9)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,g,v){u(n,e,h);var y,_,b,w=function(t){if(!p&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==m,E=!1,T=t.prototype,k=T[f]||T["@@iterator"]||m&&T[m],C=k||w(m),A=m?S?w("entries"):C:void 0,O="Array"==e?T.entries||k:k;if(O&&(b=c(O.call(new t)))!==Object.prototype&&b.next&&(l(b,x,!0),r||"function"==typeof b[f]||s(b,f,d)),S&&k&&"values"!==k.name&&(E=!0,C=function(){return k.call(this)}),r&&!v||!p&&!E&&T[f]||s(T,f,C),a[e]=C,a[x]=d,m)if(y={values:S?C:w("values"),keys:g?C:w("keys"),entries:A},v)for(_ in y)_ in T||o(T,_,y[_]);else i(i.P+i.F*(p||E),e,y);return y}},function(t,e,n){"use strict";var r=n(58),i=n(54),o=n(70),s={};n(24)(s,n(9)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(96),i=n(39);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(9)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(73),i=n(9)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){"use strict";var r=n(13),i=n(54);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(71),i=n(9)("iterator"),o=n(73);t.exports=n(31).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(338);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(15),i=n(57),o=n(10);t.exports=function(t){for(var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>a;)e[a++]=t;return e}},function(t,e,n){"use strict";var r=n(51),i=n(188),o=n(73),s=n(28);t.exports=n(129)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(83),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=void 0!==/()??/.exec("")[1];(a||u)&&(s=function(t){var e,n,s,l,c=this;return u&&(n=new RegExp("^"+c.source+"$(?!\\s)",r.call(c))),a&&(e=c.lastIndex),s=i.call(c,t),a&&s&&(c.lastIndex=c.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)}),s}),t.exports=s},function(t,e,n){"use strict";var r=n(95)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,i,o,s=n(32),a=n(178),u=n(122),l=n(118),c=n(4),f=c.process,p=c.setImmediate,d=c.clearImmediate,h=c.MessageChannel,m=c.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){a("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(33)(f)?r=function(t){f.nextTick(s(y,t,1))}:m&&m.now?r=function(t){m.now(s(y,t,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=_,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):r="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),t.exports={set:p,clear:d}},function(t,e,n){var r=n(4),i=n(141).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(33)(s);t.exports=function(){var t,e,n,l=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}
// 25.4.1.5 NewPromiseCapability(C)
var i=n(20);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,u=(1<<a)-1,l=u>>1,c=23===e?U(2,-24)-U(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for(t=F(t),t!=t||t===L?(i=t!=t?1:0,r=u):(r=j(B(t)/q),t*(o=U(2,-r))<1&&(r--,o*=2),t+=r+l>=1?c/o:c*U(2,1-l),t*o>=2&&(r++,o/=2),r+l>=u?(i=0,r=u):r+l>=1?(i=(t*o-1)*U(2,e),r+=l):(i=t*U(2,l-1)*U(2,e),r=0));e>=8;s[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;s[f++]=255&r,r/=256,a-=8);return s[--f]|=128*p,s}function i(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,s=o>>1,a=i-7,u=n-1,l=t[u--],c=127&l;for(l>>=7;a>0;c=256*c+t[u],u--,a-=8);for(r=c&(1<<-a)-1,c>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===c)c=1-s;else{if(c===o)return r?NaN:l?-L:L;r+=U(2,e),c-=s}return(l?-1:1)*r*U(2,c-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function s(t){return[255&t]}function a(t){return[255&t,t>>8&255]}function u(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function l(t){return r(t,52,8)}function c(t){return r(t,23,4)}function f(t,e,n){k(t[O],e,{get:function(){return this[n]}})}function p(t,e,n,r){var i=+n,o=E(i);if(o+e>t[V])throw M(N);var s=t[H]._b,a=o+t[W],u=s.slice(a,a+e);return r?u:u.reverse()}function d(t,e,n,r,i,o){var s=+n,a=E(s);if(a+e>t[V])throw M(N);for(var u=t[H]._b,l=a+t[W],c=r(+i),f=0;f<e;f++)u[l+f]=c[o?f:e-f-1]}var h=n(4),m=n(11),g=n(49),v=n(102),y=n(24),_=n(63),b=n(6),w=n(61),x=n(34),S=n(10),E=n(198),T=n(59).f,k=n(13).f,C=n(137),A=n(70),O="prototype",N="Wrong index!",I=h.ArrayBuffer,R=h.DataView,P=h.Math,M=h.RangeError,L=h.Infinity,D=I,F=P.abs,U=P.pow,j=P.floor,B=P.log,q=P.LN2,H=m?"_b":"buffer",V=m?"_l":"byteLength",W=m?"_o":"byteOffset";if(v.ABV){if(!b(function(){I(1)})||!b(function(){new I(-1)})||b(function(){return new I,new I(1.5),new I(NaN),"ArrayBuffer"!=I.name})){I=function(t){return w(this,I),new D(E(t))};for(var $,z=I[O]=D[O],G=T(D),K=0;G.length>K;)($=G[K++])in I||y(I,$,D[$]);g||(z.constructor=I)}var Y=new R(new I(2)),J=R[O].setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||_(R[O],{setInt8:function(t,e){J.call(this,t,e<<24>>24)},setUint8:function(t,e){J.call(this,t,e<<24>>24)}},!0)}else I=function(t){w(this,I,"ArrayBuffer");var e=E(t);this._b=C.call(new Array(e),0),this[V]=e},R=function(t,e,n){w(this,R,"DataView"),w(t,I,"DataView");var r=t[V],i=x(e);if(i<0||i>r)throw M("Wrong offset!");if(n=void 0===n?r-i:S(n),i+n>r)throw M("Wrong length!");this[H]=t,this[W]=i,this[V]=n},m&&(f(I,"byteLength","_l"),f(R,"buffer","_b"),f(R,"byteLength","_l"),f(R,"byteOffset","_o")),_(R[O],{getInt8:function(t){return p(this,1,t)[0]<<24>>24},getUint8:function(t){return p(this,1,t)[0]},getInt16:function(t){var e=p(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=p(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(p(this,4,t,arguments[1]))},getUint32:function(t){return o(p(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(p(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(p(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){d(this,1,t,s,e)},setUint8:function(t,e){d(this,1,t,s,e)},setInt16:function(t,e){d(this,2,t,a,e,arguments[2])},setUint16:function(t,e){d(this,2,t,a,e,arguments[2])},setInt32:function(t,e){d(this,4,t,u,e,arguments[2])},setUint32:function(t,e){d(this,4,t,u,e,arguments[2])},setFloat32:function(t,e){d(this,4,t,c,e,arguments[2])},setFloat64:function(t,e){d(this,8,t,l,e,arguments[2])}});A(I,"ArrayBuffer"),A(R,"DataView"),y(R[O],v.VIEW,!0),e.ArrayBuffer=I,e.DataView=R},function(t,e,n){var r,i;//     Underscore.js 1.8.3
//     (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
(function(){function n(t){function e(e,n,r,i,o,s){for(;o>=0&&o<s;o+=t){var a=i?i[o]:o;r=n(r,e[a],a,e)}return r}return function(n,r,i,o){r=S(r,o,4);var s=!N(n)&&x.keys(n),a=(s||n).length,u=t>0?0:a-1;return arguments.length<3&&(i=n[s?s[u]:u],u+=t),e(n,r,i,s,u,a)}}function o(t){return function(e,n,r){n=E(n,r);for(var i=O(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}function s(t,e,n){return function(r,i,o){var s=0,a=O(r);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(h.call(r,s,a),x.isNaN),o>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o<a;o+=t)if(r[o]===i)return o;return-1}}function a(t,e){var n=L.length,r=t.constructor,i=x.isFunction(r)&&r.prototype||f,o="constructor";for(x.has(t,o)&&!x.contains(e,o)&&e.push(o);n--;)(o=L[n])in t&&t[o]!==i[o]&&!x.contains(e,o)&&e.push(o)}var u=this,l=u._,c=Array.prototype,f=Object.prototype,p=Function.prototype,d=c.push,h=c.slice,m=f.toString,g=f.hasOwnProperty,v=Array.isArray,y=Object.keys,_=p.bind,b=Object.create,w=function(){},x=function(t){return t instanceof x?t:this instanceof x?void(this._wrapped=t):new x(t)};void 0!==t&&t.exports&&(e=t.exports=x),e._=x,x.VERSION="1.8.3";var S=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},E=function(t,e,n){return null==t?x.identity:x.isFunction(t)?S(t,e,n):x.isObject(t)?x.matcher(t):x.property(t)};x.iteratee=function(t,e){return E(t,e,1/0)};var T=function(t,e){return function(n){var r=arguments.length;if(r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],s=t(o),a=s.length,u=0;u<a;u++){var l=s[u];e&&void 0!==n[l]||(n[l]=o[l])}return n}},k=function(t){if(!x.isObject(t))return{};if(b)return b(t);w.prototype=t;var e=new w;return w.prototype=null,e},C=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,O=C("length"),N=function(t){var e=O(t);return"number"==typeof e&&e>=0&&e<=A};x.each=x.forEach=function(t,e,n){e=S(e,n);var r,i;if(N(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=x.keys(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t},x.map=x.collect=function(t,e,n){e=E(e,n);for(var r=!N(t)&&x.keys(t),i=(r||t).length,o=Array(i),s=0;s<i;s++){var a=r?r[s]:s;o[s]=e(t[a],a,t)}return o},x.reduce=x.foldl=x.inject=n(1),x.reduceRight=x.foldr=n(-1),x.find=x.detect=function(t,e,n){var r;if(void 0!==(r=N(t)?x.findIndex(t,e,n):x.findKey(t,e,n))&&-1!==r)return t[r]},x.filter=x.select=function(t,e,n){var r=[];return e=E(e,n),x.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},x.reject=function(t,e,n){return x.filter(t,x.negate(E(e)),n)},x.every=x.all=function(t,e,n){e=E(e,n);for(var r=!N(t)&&x.keys(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(!e(t[s],s,t))return!1}return!0},x.some=x.any=function(t,e,n){e=E(e,n);for(var r=!N(t)&&x.keys(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(e(t[s],s,t))return!0}return!1},x.contains=x.includes=x.include=function(t,e,n,r){return N(t)||(t=x.values(t)),("number"!=typeof n||r)&&(n=0),x.indexOf(t,e,n)>=0},x.invoke=function(t,e){var n=h.call(arguments,2),r=x.isFunction(e);return x.map(t,function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)})},x.pluck=function(t,e){return x.map(t,x.property(e))},x.where=function(t,e){return x.filter(t,x.matcher(e))},x.findWhere=function(t,e){return x.find(t,x.matcher(e))},x.max=function(t,e,n){var r,i,o=-1/0,s=-1/0;if(null==e&&null!=t){t=N(t)?t:x.values(t);for(var a=0,u=t.length;a<u;a++)(r=t[a])>o&&(o=r)}else e=E(e,n),x.each(t,function(t,n,r){((i=e(t,n,r))>s||i===-1/0&&o===-1/0)&&(o=t,s=i)});return o},x.min=function(t,e,n){var r,i,o=1/0,s=1/0;if(null==e&&null!=t){t=N(t)?t:x.values(t);for(var a=0,u=t.length;a<u;a++)(r=t[a])<o&&(o=r)}else e=E(e,n),x.each(t,function(t,n,r){((i=e(t,n,r))<s||i===1/0&&o===1/0)&&(o=t,s=i)});return o},x.shuffle=function(t){for(var e,n=N(t)?t:x.values(t),r=n.length,i=Array(r),o=0;o<r;o++)e=x.random(0,o),e!==o&&(i[o]=i[e]),i[e]=n[o];return i},x.sample=function(t,e,n){return null==e||n?(N(t)||(t=x.values(t)),t[x.random(t.length-1)]):x.shuffle(t).slice(0,Math.max(0,e))},x.sortBy=function(t,e,n){return e=E(e,n),x.pluck(x.map(t,function(t,n,r){return{value:t,index:n,criteria:e(t,n,r)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")};var I=function(t){return function(e,n,r){var i={};return n=E(n,r),x.each(e,function(r,o){var s=n(r,o,e);t(i,r,s)}),i}};x.groupBy=I(function(t,e,n){x.has(t,n)?t[n].push(e):t[n]=[e]}),x.indexBy=I(function(t,e,n){t[n]=e}),x.countBy=I(function(t,e,n){x.has(t,n)?t[n]++:t[n]=1}),x.toArray=function(t){return t?x.isArray(t)?h.call(t):N(t)?x.map(t,x.identity):x.values(t):[]},x.size=function(t){return null==t?0:N(t)?t.length:x.keys(t).length},x.partition=function(t,e,n){e=E(e,n);var r=[],i=[];return x.each(t,function(t,n,o){(e(t,n,o)?r:i).push(t)}),[r,i]},x.first=x.head=x.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:x.initial(t,t.length-e)},x.initial=function(t,e,n){return h.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},x.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:x.rest(t,Math.max(0,t.length-e))},x.rest=x.tail=x.drop=function(t,e,n){return h.call(t,null==e||n?1:e)},x.compact=function(t){return x.filter(t,x.identity)};var R=function(t,e,n,r){for(var i=[],o=0,s=r||0,a=O(t);s<a;s++){var u=t[s];if(N(u)&&(x.isArray(u)||x.isArguments(u))){e||(u=R(u,e,n));var l=0,c=u.length;for(i.length+=c;l<c;)i[o++]=u[l++]}else n||(i[o++]=u)}return i};x.flatten=function(t,e){return R(t,e,!1)},x.without=function(t){return x.difference(t,h.call(arguments,1))},x.uniq=x.unique=function(t,e,n,r){x.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=E(n,r));for(var i=[],o=[],s=0,a=O(t);s<a;s++){var u=t[s],l=n?n(u,s,t):u;e?(s&&o===l||i.push(u),o=l):n?x.contains(o,l)||(o.push(l),i.push(u)):x.contains(i,u)||i.push(u)}return i},x.union=function(){return x.uniq(R(arguments,!0,!0))},x.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=O(t);r<i;r++){var o=t[r];if(!x.contains(e,o)){for(var s=1;s<n&&x.contains(arguments[s],o);s++);s===n&&e.push(o)}}return e},x.difference=function(t){var e=R(arguments,!0,!0,1);return x.filter(t,function(t){return!x.contains(e,t)})},x.zip=function(){return x.unzip(arguments)},x.unzip=function(t){for(var e=t&&x.max(t,O).length||0,n=Array(e),r=0;r<e;r++)n[r]=x.pluck(t,r);return n},x.object=function(t,e){for(var n={},r=0,i=O(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},x.findIndex=o(1),x.findLastIndex=o(-1),x.sortedIndex=function(t,e,n,r){n=E(n,r,1);for(var i=n(e),o=0,s=O(t);o<s;){var a=Math.floor((o+s)/2);n(t[a])<i?o=a+1:s=a}return o},x.indexOf=s(1,x.findIndex,x.sortedIndex),x.lastIndexOf=s(-1,x.findLastIndex),x.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i};var P=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=k(t.prototype),s=t.apply(o,i);return x.isObject(s)?s:o};x.bind=function(t,e){if(_&&t.bind===_)return _.apply(t,h.call(arguments,1));if(!x.isFunction(t))throw new TypeError("Bind must be called on a function");var n=h.call(arguments,2),r=function(){return P(t,r,e,this,n.concat(h.call(arguments)))};return r},x.partial=function(t){var e=h.call(arguments,1),n=function(){for(var r=0,i=e.length,o=Array(i),s=0;s<i;s++)o[s]=e[s]===x?arguments[r++]:e[s];for(;r<arguments.length;)o.push(arguments[r++]);return P(t,n,this,this,o)};return n},x.bindAll=function(t){var e,n,r=arguments.length;if(r<=1)throw new Error("bindAll must be passed function names");for(e=1;e<r;e++)n=arguments[e],t[n]=x.bind(t[n],t);return t},x.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return x.has(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},x.delay=function(t,e){var n=h.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},x.defer=x.partial(x.delay,x,1),x.throttle=function(t,e,n){var r,i,o,s=null,a=0;n||(n={});var u=function(){a=!1===n.leading?0:x.now(),s=null,o=t.apply(r,i),s||(r=i=null)};return function(){var l=x.now();a||!1!==n.leading||(a=l);var c=e-(l-a);return r=this,i=arguments,c<=0||c>e?(s&&(clearTimeout(s),s=null),a=l,o=t.apply(r,i),s||(r=i=null)):s||!1===n.trailing||(s=setTimeout(u,c)),o}},x.debounce=function(t,e,n){var r,i,o,s,a,u=function(){var l=x.now()-s;l<e&&l>=0?r=setTimeout(u,e-l):(r=null,n||(a=t.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,s=x.now();var l=n&&!r;return r||(r=setTimeout(u,e)),l&&(a=t.apply(o,i),o=i=null),a}},x.wrap=function(t,e){return x.partial(e,t)},x.negate=function(t){return function(){return!t.apply(this,arguments)}},x.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},x.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},x.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},x.once=x.partial(x.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];x.keys=function(t){if(!x.isObject(t))return[];if(y)return y(t);var e=[];for(var n in t)x.has(t,n)&&e.push(n);return M&&a(t,e),e},x.allKeys=function(t){if(!x.isObject(t))return[];var e=[];for(var n in t)e.push(n);return M&&a(t,e),e},x.values=function(t){for(var e=x.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r},x.mapObject=function(t,e,n){e=E(e,n);for(var r,i=x.keys(t),o=i.length,s={},a=0;a<o;a++)r=i[a],s[r]=e(t[r],r,t);return s},x.pairs=function(t){for(var e=x.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r},x.invert=function(t){for(var e={},n=x.keys(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e},x.functions=x.methods=function(t){var e=[];for(var n in t)x.isFunction(t[n])&&e.push(n);return e.sort()},x.extend=T(x.allKeys),x.extendOwn=x.assign=T(x.keys),x.findKey=function(t,e,n){e=E(e,n);for(var r,i=x.keys(t),o=0,s=i.length;o<s;o++)if(r=i[o],e(t[r],r,t))return r},x.pick=function(t,e,n){var r,i,o={},s=t;if(null==s)return o;x.isFunction(e)?(i=x.allKeys(s),r=S(e,n)):(i=R(arguments,!1,!1,1),r=function(t,e,n){return e in n},s=Object(s));for(var a=0,u=i.length;a<u;a++){var l=i[a],c=s[l];r(c,l,s)&&(o[l]=c)}return o},x.omit=function(t,e,n){if(x.isFunction(e))e=x.negate(e);else{var r=x.map(R(arguments,!1,!1,1),String);e=function(t,e){return!x.contains(r,e)}}return x.pick(t,e,n)},x.defaults=T(x.allKeys,!0),x.create=function(t,e){var n=k(t);return e&&x.extendOwn(n,e),n},x.clone=function(t){return x.isObject(t)?x.isArray(t)?t.slice():x.extend({},t):t},x.tap=function(t,e){return e(t),t},x.isMatch=function(t,e){var n=x.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var s=n[o];if(e[s]!==i[s]||!(s in i))return!1}return!0};var D=function(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof x&&(t=t._wrapped),e instanceof x&&(e=e._wrapped);var i=m.call(t);if(i!==m.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,a=e.constructor;if(s!==a&&!(x.isFunction(s)&&s instanceof s&&x.isFunction(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!D(t[u],e[u],n,r))return!1}else{var l,c=x.keys(t);if(u=c.length,x.keys(e).length!==u)return!1;for(;u--;)if(l=c[u],!x.has(e,l)||!D(t[l],e[l],n,r))return!1}return n.pop(),r.pop(),!0};x.isEqual=function(t,e){return D(t,e)},x.isEmpty=function(t){return null==t||(N(t)&&(x.isArray(t)||x.isString(t)||x.isArguments(t))?0===t.length:0===x.keys(t).length)},x.isElement=function(t){return!(!t||1!==t.nodeType)},x.isArray=v||function(t){return"[object Array]"===m.call(t)},x.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},x.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){x["is"+t]=function(e){return m.call(e)==="[object "+t+"]"}}),x.isArguments(arguments)||(x.isArguments=function(t){return x.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(x.isFunction=function(t){return"function"==typeof t||!1}),x.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},x.isNaN=function(t){return x.isNumber(t)&&t!==+t},x.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===m.call(t)},x.isNull=function(t){return null===t},x.isUndefined=function(t){return void 0===t},x.has=function(t,e){return null!=t&&g.call(t,e)},x.noConflict=function(){return u._=l,this},x.identity=function(t){return t},x.constant=function(t){return function(){return t}},x.noop=function(){},x.property=C,x.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},x.matcher=x.matches=function(t){return t=x.extendOwn({},t),function(e){return x.isMatch(e,t)}},x.times=function(t,e,n){var r=Array(Math.max(0,t));e=S(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r},x.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},x.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},U=x.invert(F),j=function(t){var e=function(e){return t[e]},n="(?:"+x.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};x.escape=j(F),x.unescape=j(U),x.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),x.isFunction(r)?r.call(t):r};var B=0;x.uniqueId=function(t){var e=++B+"";return t?t+e:e},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,H={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},V=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+H[t]};x.template=function(t,e,n){!e&&n&&(e=n),e=x.defaults({},e,x.templateSettings);var r=RegExp([(e.escape||q).source,(e.interpolate||q).source,(e.evaluate||q).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,s,a){return o+=t.slice(i,a).replace(V,W),i=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var s=new Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}var a=function(t){return s.call(this,t,x)};return a.source="function("+(e.variable||"obj")+"){\n"+o+"}",a},x.chain=function(t){var e=x(t);return e._chain=!0,e};var $=function(t,e){return t._chain?x(e).chain():e};x.mixin=function(t){x.each(x.functions(t),function(e){var n=x[e]=t[e];x.prototype[e]=function(){var t=[this._wrapped];return d.apply(t,arguments),$(this,n.apply(x,t))}})},x.mixin(x),x.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=c[t];x.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],$(this,n)}}),x.each(["concat","join","slice"],function(t){var e=c[t];x.prototype[t]=function(){return $(this,e.apply(this._wrapped,arguments))}}),x.prototype.value=function(){return this._wrapped},x.prototype.valueOf=x.prototype.toJSON=x.prototype.value,x.prototype.toString=function(){return""+this._wrapped},r=[],void 0!==(i=function(){return x}.apply(e,r))&&(t.exports=i)}).call(this)},function(t,e){t.exports={version:"3.1.6",supportedLanguages:["en","cs","da","de","el","es","fi","fr","hu","id","in","it","ja","ko","ms","nb","nl-NL","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]}},function(t,e,n){"use strict";var r,i;r=[n(1),n(8),n(36),n(17)],void 0!==(i=function(t,e,n,r){function i(t,e){return s.isArray(t.responseType)?s.contains(t.responseType,e):e===t.responseType}var o={},s=t._;return o.getTokens=function(o,a,u){function l(t){o.callGlobalSuccess(e.SUCCESS,t)}function c(t){"access_denied"===t.errorCode&&(u.model.trigger("error",u.model,{responseJSON:t}),u.model.appState.trigger("removeLoading")),r.triggerAfterError(u,new n.OAuthError(t.message),o)}var f=o.getAuthClient(),p=o.toJSON({verbose:!0}),d={},h={};s.extend(d,s.pick(p,"clientId","redirectUri"),s.pick(p.authParams,"grantType","responseType","responseMode","display","scopes","state","nonce"),a),h.popupTitle=t.loc("socialauth.popup.title","login"),h.timeout=p.oAuthTimeout,s.extend(h,s.pick(p.authParams,"issuer","authorizeUrl")),"page"===d.display||i(d,"code")?f.token.getWithRedirect(d,h).fail(c):d.sessionToken?f.token.getWithoutPrompt(d,h).then(l).fail(c).done():f.token.getWithPopup(d,h).then(l).fail(c).done()},o.addOrRemoveOpenIdScope=function(t){if(t.responseType){var e=Array.isArray(t.scopes)?t.scopes:t.scopes.split(" ");return e.includes("openid")&&e.splice(e.indexOf("openid"),1),t.responseType.includes("id_token")&&e.push("openid"),e}},o.getResponseType=function(t){var e=[];return!1!==t.getIdToken&&e.push("id_token"),t.getAccessToken&&e.push("token"),e},o.transformShowSignInToGetTokensOptions=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t.clientId&&!e.clientId)throw new n.ConfigError('showSignInToGetTokens() requires a "clientId" property.');var r={clientId:t.clientId,redirectUri:t.redirectUri,authParams:{issuer:t.authorizationServerId||"default",display:"page",responseMode:"fragment",responseType:o.getResponseType(t),scopes:t.scope||e.authParams&&e.authParams.scopes||["openid"]}};return r.authParams.scopes=o.addOrRemoveOpenIdScope(r.authParams),r},o}.apply(e,r))&&(t.exports=i)},function(t,e,n){t.exports={default:n(449),__esModule:!0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(47),i=n(21).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(47);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(154)("keys"),i=n(111);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(16),i=n(21),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(85)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){e.f=n(22)},function(t,e,n){var r=n(21),i=n(16),o=n(85),s=n(156),a=n(52).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r,i,o;/* @okta/qtip2 v3.0.3-5-g | Plugins: tips modal viewport svg imagemap ie6 | Styles: core basic css3 | qtip2.com | Licensed MIT | Wed May 24 2017 01:22:57 */
!function(s,a,u){!function(s){"use strict";i=[n(115)],r=s,void 0!==(o="function"==typeof r?r.apply(e,i):r)&&(t.exports=o)}(function(t){"use strict";function e(e,n,r,i){this.id=r,this.target=e,this.tooltip=I,this.elements={target:e},this._id=W+"-"+r,this.timers={img:{}},this.options=n,this.plugins={},this.cache={event:{},target:t(),disabled:N,attr:i,onTooltip:N,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=N}function n(e){return e===I||"object"!==t.type(e)}function r(e){return!(t.isFunction(e)||e&&e.attr||e.length||"object"===t.type(e)&&(e.jquery||e.then))}function i(e){var i,o,s,a;return n(e)?N:(n(e.metadata)&&(e.metadata={type:e.metadata}),"content"in e&&(i=e.content,n(i)||i.jquery||i.done?(o=r(i)?N:i,i=e.content={text:o}):o=i.text,"ajax"in i&&(s=i.ajax,a=s&&s.once!==N,delete i.ajax,i.text=function(e,n){var r=o||t(this).attr(n.options.content.attr)||"Loading...",i=t.ajax(t.extend({},s,{context:n})).then(s.success,I,s.error).then(function(t){return t&&a&&n.set("content.text",t),t},function(t,e,r){n.destroyed||0===t.status||n.set("content.text",e+": "+r)});return a?r:(n.set("content.text",r),i)}),"title"in i&&(t.isPlainObject(i.title)&&(i.button=i.title.button,i.title=i.title.text),r(i.title||N)&&(i.title=N))),"position"in e&&n(e.position)&&(e.position={my:e.position,at:e.position}),"show"in e&&n(e.show)&&(e.show=e.show.jquery?{target:e.show}:e.show===O?{ready:O}:{event:e.show}),"hide"in e&&n(e.hide)&&(e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide}),"style"in e&&n(e.style)&&(e.style={classes:e.style}),t.each(V,function(){this.sanitize&&this.sanitize(e)}),e)}function o(t,e){for(var n,r=0,i=t,o=e.split(".");i=i[o[r++]];)r<o.length&&(n=i);return[n||t,o.pop()]}function l(t,e){var n,r,i;for(n in this.checks)if(this.checks.hasOwnProperty(n))for(r in this.checks[n])this.checks[n].hasOwnProperty(r)&&(i=new RegExp(r,"i").exec(t))&&(e.push(i),("builtin"===n||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,e))}function c(t){return G.concat("").join(t?"-"+t+" ":" ")}function f(e,n){return n>0?setTimeout(t.proxy(e,this),n):void e.call(this)}function p(t){this.tooltip.hasClass(tt)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=f.call(this,function(){this.toggle(O,t)},this.options.show.delay))}function d(e){if(!this.tooltip.hasClass(tt)&&!this.destroyed){var n=t(e.relatedTarget),r=n.closest(K)[0]===this.tooltip[0],i=n[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==n[0]&&"mouse"===this.options.position.target&&r||this.options.hide.fixed&&/mouse(out|leave|move)/.test(e.type)&&(r||i))try{e.preventDefault(),e.stopImmediatePropagation()}catch(t){}else this.timers.hide=f.call(this,function(){this.toggle(N,e)},this.options.hide.delay,this)}}function h(t){!this.tooltip.hasClass(tt)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=f.call(this,function(){this.hide(t)},this.options.hide.inactive))}function m(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function g(e,n,r){t(a.body).delegate(e,(n.split?n:n.join("."+W+" "))+"."+W,function(){var e=E.api[t.attr(this,z)];e&&!e.disabled&&r.apply(e,arguments)})}function v(n,r,o){var s,u,l,c,f,p=t(a.body),d=n[0]===a?p:n,h=n.metadata?n.metadata(o.metadata):I,m="html5"===o.metadata.type&&h?h[o.metadata.name]:I,g=n.data(o.metadata.name||"qtipopts");try{g="string"==typeof g?t.parseJSON(g):g}catch(t){}if(c=t.extend(O,{},E.defaults,o,"object"==typeof g?i(g):I,i(m||h)),u=c.position,c.id=r,"boolean"==typeof c.content.text){if(l=n.attr(c.content.attr),c.content.attr===N||!l)return N;c.content.text=l}if(u.container.length||(u.container=p),u.target===N&&(u.target=d),c.show.target===N&&(c.show.target=d),c.show.solo===O&&(c.show.solo=u.container.closest("body")),c.hide.target===N&&(c.hide.target=d),c.position.viewport===O&&(c.position.viewport=u.container),u.container=u.container.eq(0),u.at=new k(u.at,O),u.my=new k(u.my),n.data(W))if(c.overwrite)n.qtip("destroy",!0);else if(c.overwrite===N)return N;return n.attr($,r),c.suppress&&(f=n.attr("title"))&&n.removeAttr("title").attr(nt,f).attr("title",""),s=new e(n,c,r,!!l),n.data(W,s),s}function y(t){return t.charAt(0).toUpperCase()+t.slice(1)}function _(t,e){var n,r,i=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+wt.join(i+" ")+i).split(" "),s=0;if(bt[e])return t.css(bt[e]);for(;n=o[s++];)if((r=t.css(n))!==u)return bt[e]=n,r}function b(t,e){return Math.ceil(parseFloat(_(t,e)))}function w(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.qtip=t,this.init(t)}function x(t,e){this.options=e,this._ns="-modal",this.qtip=t,this.init(t)}function S(t){this._ns="ie6",this.qtip=t,this.init(t)}var E,T,k,C,A,O=!0,N=!1,I=null,R="x",P="y",M="width",L="height",D="top",F="left",U="bottom",j="right",B="center",q="flipinvert",H="shift",V={},W="qtip",$="data-hasqtip",z="data-qtip-id",G=["ui-widget","ui-tooltip"],K="."+W,Y="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),J=W+"-fixed",Q=W+"-default",X=W+"-focus",Z=W+"-hover",tt=W+"-disabled",et="_replacedByqTip",nt="oldtitle",rt={ie:function(){var t,e;for(t=4,e=a.createElement("div");(e.innerHTML="\x3c!--[if gt IE "+t+"]><i></i><![endif]--\x3e")&&e.getElementsByTagName("i")[0];t+=1);return t>4?t:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||N};T=e.prototype,T._when=function(e){return t.when.apply(t,e)},T.render=function(e){if(this.rendered||this.destroyed)return this;var n=this,r=this.options,i=this.cache,o=this.elements,s=r.content.text,a=r.content.title,u=r.content.button,l=r.position,c=[];return t.attr(this.target[0],"aria-describedby",this._id),i.posClass=this._createPosClass((this.position={my:l.my,at:l.at}).my),this.tooltip=o.tooltip=t("<div/>",{id:this._id,class:[W,Q,r.style.classes,i.posClass].join(" "),width:r.style.width||"",height:r.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":N,"aria-describedby":this._id+"-content","aria-hidden":O}).toggleClass(tt,this.disabled).attr(z,this.id).data(W,this).appendTo(l.container).append(o.content=t("<div />",{class:W+"-content",id:this._id+"-content","aria-atomic":O})),this.rendered=-1,this.positioning=O,a&&(this._createTitle(),t.isFunction(a)||c.push(this._updateTitle(a,N))),u&&this._createButton(),t.isFunction(s)||c.push(this._updateContent(s,N)),this.rendered=O,this._setWidget(),t.each(V,function(t){var e;"render"===this.initialize&&(e=this(n))&&(n.plugins[t]=e)}),this._unassignEvents(),this._assignEvents(),this._when(c).then(function(){n._trigger("render"),n.positioning=N,n.hiddenDuringWait||!r.show.ready&&!e||n.toggle(O,i.event,N),n.hiddenDuringWait=N}),E.api[this.id]=this,this},T.destroy=function(e){function n(){if(!this.destroyed){this.destroyed=O;var e,n=this.target,r=n.attr(nt);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),t.each(this.plugins,function(){this.destroy&&this.destroy()});for(e in this.timers)this.timers.hasOwnProperty(e)&&clearTimeout(this.timers[e]);n.removeData(W).removeAttr(z).removeAttr($).removeAttr("aria-describedby"),this.options.suppress&&r&&n.attr("title",r).removeAttr(nt),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=I,delete E.api[this.id]}}return this.destroyed?this.target:(e===O&&"hide"!==this.triggering||!this.rendered?n.call(this):(this.tooltip.one("tooltiphidden",t.proxy(n,this)),!this.triggering&&this.hide()),this.target)},C=T.checks={builtin:{"^id$":function(e,n,r,i){var o=r===O?E.nextid:r,s=W+"-"+o;o!==N&&o.length>0&&!t("#"+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[n]=i},"^prerender":function(t,e,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,n){this._updateContent(n)},"^content.attr$":function(t,e,n,r){this.options.content.text===this.target.attr(r)&&this._updateContent(this.target.attr(n))},"^content.title$":function(t,e,n){return n?(n&&!this.elements.title&&this._createTitle(),void this._updateTitle(n)):this._removeTitle()},"^content.button$":function(t,e,n){this._updateButton(n)},"^content.title.(text|button)$":function(t,e,n){this.set("content."+e,n)},"^position.(my|at)$":function(t,e,n){"string"==typeof n&&(this.position[e]=t[e]=new k(n,"at"===e))},"^position.container$":function(t,e,n){this.rendered&&this.tooltip.appendTo(n)},"^show.ready$":function(t,e,n){n&&(!this.rendered&&this.render(O)||this.toggle(O))},"^style.classes$":function(t,e,n,r){this.rendered&&this.tooltip.removeClass(r).addClass(n)},"^style.(width|height)":function(t,e,n){this.rendered&&this.tooltip.css(e,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(t,e,n){this.rendered&&this.tooltip.toggleClass(Q,!!n)},"^events.(render|show|move|hide|focus|blur)$":function(e,n,r){this.rendered&&this.tooltip[(t.isFunction(r)?"":"un")+"bind"]("tooltip"+n,r)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var t=this.options.position;this.tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},T.get=function(t){if(this.destroyed)return this;var e=o(this.options,t.toLowerCase()),n=e[0][e[1]];return n.precedance?n.string():n};var it=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,ot=/^prerender|show\.ready/i;T.set=function(e,n){if(this.destroyed)return this;var r,s=this.rendered,a=N,u=this.options;return"string"==typeof e?(r=e,e={},e[r]=n):e=t.extend({},e),t.each(e,function(n,r){if(s&&ot.test(n))return void delete e[n];var i,l=o(u,n.toLowerCase());i=l[0][l[1]],l[0][l[1]]=r&&r.nodeType?t(r):r,a=it.test(n)||a,e[n]=[l[0],l[1],r,i]}),i(u),this.positioning=O,t.each(e,t.proxy(l,this)),this.positioning=N,this.rendered&&this.tooltip[0].offsetWidth>0&&a&&this.reposition("mouse"===u.position.target?I:this.cache.event),this},T._update=function(e,n){var r=this,i=this.cache;return this.rendered&&e?(t.isFunction(e)&&(e=e.call(this.elements.target,i.event,this)||""),t.isFunction(e.then)?(i.waiting=O,e.then(function(t){return i.waiting=N,r._update(t,n)},I,function(t){return r._update(t,n)})):e===N||!e&&""!==e?N:(e.jquery&&e.length>0?n.empty().append(e.css({display:"block",visibility:"visible"})):n.html(e),this._waitForContent(n).then(function(t){r.rendered&&r.tooltip[0].offsetWidth>0&&r.reposition(i.event,!t.length)}))):N},T._waitForContent=function(e){var n=this.cache;return n.waiting=O,(t.fn.imagesLoaded?e.imagesLoaded():(new t.Deferred).resolve([])).done(function(){n.waiting=N}).promise()},T._updateContent=function(t,e){this._update(t,this.elements.content,e)},T._updateTitle=function(t,e){this._update(t,this.elements.title,e)===N&&this._removeTitle(N)},T._createTitle=function(){var e=this.elements,n=this._id+"-title";e.titlebar&&this._removeTitle(),e.titlebar=t("<div />",{class:W+"-titlebar "+(this.options.style.widget?c("header"):"")}).append(e.title=t("<div />",{id:n,class:W+"-title","aria-atomic":O})).insertBefore(e.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(e){t(this).toggleClass("ui-state-active ui-state-focus","down"===e.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(e){t(this).toggleClass("ui-state-hover","mouseover"===e.type)}),this.options.content.button&&this._createButton()},T._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=I,t!==N&&this.reposition())},T._createPosClass=function(t){return W+"-pos-"+(t||this.options.position.my).abbrev()},T.reposition=function(e,n){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=O;var r,i,o,u,l=this.cache,c=this.tooltip,f=this.options.position,p=f.target,d=f.my,h=f.at,m=f.viewport,g=f.container,v=f.adjust,y=v.method.split(" "),_=c.outerWidth(N),b=c.outerHeight(N),w=0,x=0,S=c.css("position"),E={left:0,top:0},T=c[0].offsetWidth>0,k=e&&"scroll"===e.type,C=t(s),A=g[0].ownerDocument,I=this.mouse;if(t.isArray(p)&&2===p.length)h={x:F,y:D},E={left:p[0],top:p[1]};else if("mouse"===p)h={x:F,y:D},(!v.mouse||this.options.hide.distance)&&l.origin&&l.origin.pageX?e=l.origin:!e||e&&("resize"===e.type||"scroll"===e.type)?e=l.event:I&&I.pageX&&(e=I),"static"!==S&&(E=g.offset()),A.body.offsetWidth!==(s.innerWidth||A.documentElement.clientWidth)&&(i=t(a.body).offset()),E={left:e.pageX-E.left+(i&&i.left||0),top:e.pageY-E.top+(i&&i.top||0)},v.mouse&&k&&I&&(E.left-=(I.scrollX||0)-C.scrollLeft(),E.top-=(I.scrollY||0)-C.scrollTop());else{if("event"===p?e&&e.target&&"scroll"!==e.type&&"resize"!==e.type?l.target=t(e.target):e.target||(l.target=this.elements.target):"event"!==p&&(l.target=t(p.jquery?p:this.elements.target)),p=l.target,p=t(p).eq(0),0===p.length)return this;p[0]===a||p[0]===s?(w=rt.iOS?s.innerWidth:p.width(),x=rt.iOS?s.innerHeight:p.height(),p[0]===s&&(E={top:(m||p).scrollTop(),left:(m||p).scrollLeft()})):V.imagemap&&p.is("area")?r=V.imagemap(this,p,h,V.viewport?y:N):V.svg&&p&&p[0].ownerSVGElement?r=V.svg(this,p,h,V.viewport?y:N):(w=p.outerWidth(N),x=p.outerHeight(N),E=p.offset()),r&&(w=r.width,x=r.height,i=r.offset,E=r.position),E=this.reposition.offset(p,E,g),(rt.iOS>3.1&&rt.iOS<4.1||rt.iOS>=4.3&&rt.iOS<4.33||!rt.iOS&&"fixed"===S)&&(E.left-=C.scrollLeft(),E.top-=C.scrollTop()),(!r||r&&r.adjustable!==N)&&(E.left+=h.x===j?w:h.x===B?w/2:0,E.top+=h.y===U?x:h.y===B?x/2:0)}return E.left+=v.x+(d.x===j?-_:d.x===B?-_/2:0),E.top+=v.y+(d.y===U?-b:d.y===B?-b/2:0),V.viewport?(o=E.adjusted=V.viewport(this,E,f,w,x,_,b),i&&o.left&&(E.left+=i.left),i&&o.top&&(E.top+=i.top),o.my&&(this.position.my=o.my)):E.adjusted={left:0,top:0},l.posClass!==(u=this._createPosClass(this.position.my))&&(l.posClass=u,c.removeClass(l.posClass).addClass(u)),this._trigger("move",[E,m.elem||m],e)?(delete E.adjusted,n===N||!T||isNaN(E.left)||isNaN(E.top)||"mouse"===p||!t.isFunction(f.effect)?c.css(E):t.isFunction(f.effect)&&(f.effect.call(c,this,t.extend({},E)),c.queue(function(e){t(this).css({opacity:"",height:""}),rt.ie&&this.style.removeAttribute("filter"),e()})),this.positioning=N,this):this},T.reposition.offset=function(e,n,r){function i(t,e){n.left+=e*t.scrollLeft(),n.top+=e*t.scrollTop()}if(!r[0])return n;var o,s,u,l,c=t(e[0].ownerDocument),f=!!rt.ie&&"CSS1Compat"!==a.compatMode,p=r[0];do{"static"!==(s=t.css(p,"position"))&&("fixed"===s?(u=p.getBoundingClientRect(),i(c,-1)):(u=t(p).position(),u.left+=parseFloat(t.css(p,"borderLeftWidth"))||0,u.top+=parseFloat(t.css(p,"borderTopWidth"))||0),n.left-=u.left+(parseFloat(t.css(p,"marginLeft"))||0),n.top-=u.top+(parseFloat(t.css(p,"marginTop"))||0),o||"hidden"===(l=t.css(p,"overflow"))||"visible"===l||"BODY"===t.prop(p,"tagName")||(o=t(p)))}while(p=p.offsetParent);return o&&(o[0]!==c[0]||f)&&i(o,1),n};var st=(k=T.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,B).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var n=t.charAt(0);this.precedance="t"===n||"b"===n?P:R}).prototype;st.invert=function(t,e){this[t]=this[t]===F?j:this[t]===j?F:e||this[t]},st.string=function(t){var e=this.x,n=this.y,r=e!==n?"center"===e||"center"!==n&&(this.precedance===P||this.forceY)?[n,e]:[e,n]:[e];return!1!==t?r.join(" "):r},st.abbrev=function(){var t=this.string(!1);return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},st.clone=function(){return new k(this.string(),this.forceY)},T.toggle=function(e,n){var r=this.cache,i=this.options,o=this.tooltip;if(n){if(/over|enter/.test(n.type)&&r.event&&/out|leave/.test(r.event.type)&&i.show.target.add(n.target).length===i.show.target.length&&o.has(n.relatedTarget).length)return this;r.event=t.event.fix(n)}if(this.waiting&&!e&&(this.hiddenDuringWait=O),!this.rendered)return e?this.render(1):this;if(this.destroyed||this.disabled)return this;var s,u,l,c=e?"show":"hide",f=this.options[c],p=this.options.position,d=this.options.content,h=this.tooltip.css("width"),m=this.tooltip.is(":visible"),g=e||1===f.target.length,v=!n||f.target.length<2||r.target[0]===n.target;return(typeof e).search("boolean|number")&&(e=!m),s=!o.is(":animated")&&m===e&&v,u=s?I:!!this._trigger(c,[90]),this.destroyed?this:(u!==N&&e&&this.focus(n),!u||s?this:(t.attr(o[0],"aria-hidden",!e),e?(this.mouse&&(r.origin=t.event.fix(this.mouse)),t.isFunction(d.text)&&this._updateContent(d.text,N),t.isFunction(d.title)&&this._updateTitle(d.title,N),!A&&"mouse"===p.target&&p.adjust.mouse&&(t(a).bind("mousemove."+W,this._storeMouse),A=O),h||o.css("width",o.outerWidth(N)),this.reposition(n,arguments[2]),h||o.css("width",""),f.solo&&("string"==typeof f.solo?t(f.solo):t(K,f.solo)).not(o).not(f.target).qtip("hide",new t.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete r.origin,A&&!t(K+'[tracking="true"]:visible',f.solo).not(o).length&&(t(a).unbind("mousemove."+W),A=N),this.blur(n)),l=t.proxy(function(){e?(rt.ie&&o[0].style.removeAttribute("filter"),o.css("overflow",""),"string"==typeof f.autofocus&&t(this.options.show.autofocus,o).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):o.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(e?"visible":"hidden")},this),f.effect===N||g===N?(o[c](),l()):t.isFunction(f.effect)?(o.stop(1,1),f.effect.call(o,this),o.queue("fx",function(t){l(),t()})):o.fadeTo(90,e?1:0,l),e&&f.target.trigger("qtip-"+this.id+"-inactive"),this))},T.show=function(t){return this.toggle(O,t)},T.hide=function(t){return this.toggle(N,t)},T.focus=function(e){if(!this.rendered||this.destroyed)return this;var n=t(K),r=this.tooltip,i=parseInt(r[0].style.zIndex,10),o=E.zindex+n.length;return r.hasClass(X)||this._trigger("focus",[o],e)&&(i!==o&&(n.each(function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)}),n.filter("."+X).qtip("blur",e)),r.addClass(X)[0].style.zIndex=o),this},T.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(X),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},T.disable=function(t){return this.destroyed?this:("toggle"===t?t=!(this.rendered?this.tooltip.hasClass(tt):this.disabled):"boolean"!=typeof t&&(t=O),this.rendered&&this.tooltip.toggleClass(tt,t).attr("aria-disabled",t),this.disabled=!!t,this)},T.enable=function(){return this.disable(N)},T._createButton=function(){var e=this,n=this.elements,r=n.tooltip,i=this.options.content.button,o="string"==typeof i,s=o?i:"Close tooltip";n.button&&n.button.remove(),i.jquery?n.button=i:n.button=t("<a />",{class:"qtip-close "+(this.options.style.widget?"":W+"-icon"),title:s,"aria-label":s}).prepend(t("<span />",{class:"ui-icon ui-icon-close",html:"&times;"})),n.button.appendTo(n.titlebar||r).attr("role","button").click(function(t){return r.hasClass(tt)||e.hide(t),N})},T._updateButton=function(t){if(!this.rendered)return N;var e=this.elements.button;t?this._createButton():e.remove()},T._setWidget=function(){var t=this.options.style.widget,e=this.elements,n=e.tooltip,r=n.hasClass(tt);n.removeClass(tt),tt=t?"ui-state-disabled":"qtip-disabled",n.toggleClass(tt,r),n.toggleClass("ui-helper-reset "+c(),t).toggleClass(Q,this.options.style.def&&!t),e.content&&e.content.toggleClass(c("content"),t),e.titlebar&&e.titlebar.toggleClass(c("header"),t),e.button&&e.button.toggleClass(W+"-icon",!t)},T._storeMouse=function(e){return(this.mouse=t.event.fix(e)).type="mousemove",this},T._bind=function(e,n,r,i,o){if(e&&r&&n.length){var s="."+this._id+(i?"-"+i:"");return t(e).bind((n.split?n:n.join(s+" "))+s,t.proxy(r,o||this)),this}},T._unbind=function(e,n){return e&&t(e).unbind("."+this._id+(n?"-"+n:"")),this},T._trigger=function(e,n,r){var i=new t.Event("tooltip"+e);return i.originalEvent=r&&t.extend({},r)||this.cache.event||I,this.triggering=e,this.tooltip.trigger(i,[this].concat(n||[])),this.triggering=N,!i.isDefaultPrevented()},T._bindEvents=function(e,n,r,i,o,s){var a=r.filter(i).add(i.filter(r)),u=[];a.length&&(t.each(n,function(n,r){var i=t.inArray(r,e);i>-1&&u.push(e.splice(i,1)[0])}),u.length&&(this._bind(a,u,function(t){(!!this.rendered&&this.tooltip[0].offsetWidth>0?s:o).call(this,t)}),r=r.not(a),i=i.not(a))),this._bind(r,e,o),this._bind(i,n,s)},T._assignInitialEvents=function(e){function n(e){return this.disabled||this.destroyed?N:(this.cache.event=e&&t.event.fix(e),this.cache.target=e&&t(e.target),clearTimeout(this.timers.show),void(this.timers.show=f.call(this,function(){this.render("object"==typeof e||r.show.ready)},r.prerender?0:r.show.delay)))}var r=this.options,i=r.show.target,o=r.hide.target,s=r.show.event?t.trim(""+r.show.event).split(" "):[],a=r.hide.event?t.trim(""+r.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(r.show.event)&&!/mouse(out|leave)/i.test(r.hide.event)&&a.push("mouseleave"),this._bind(i,"mousemove",function(t){this._storeMouse(t),this.cache.onTarget=O}),this._bindEvents(s,a,i,o,n,function(){return this.timers?void clearTimeout(this.timers.show):N}),(r.show.ready||r.prerender)&&n.call(this,e)},T._assignEvents=function(){var e=this,n=this.options,r=n.position,i=this.tooltip,o=n.show.target,u=n.hide.target,l=r.container,c=r.viewport,f=t(a),g=t(s),v=n.show.event?t.trim(""+n.show.event).split(" "):[],y=n.hide.event?t.trim(""+n.hide.event).split(" "):[];t.each(n.events,function(t,n){e._bind(i,"toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t],n,null,i)}),/mouse(out|leave)/i.test(n.hide.event)&&"window"===n.hide.leave&&this._bind(f,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),n.hide.fixed?u=u.add(i.addClass(J)):/mouse(over|enter)/i.test(n.show.event)&&this._bind(u,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+n.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(e){var n=t(e.target),r=this.rendered&&!this.tooltip.hasClass(tt)&&this.tooltip[0].offsetWidth>0,i=n.parents(K).filter(this.tooltip[0]).length>0;n[0]===this.target[0]||n[0]===this.tooltip[0]||i||this.target.has(n[0]).length||!r||this.hide(e)}),"number"==typeof n.hide.inactive&&(this._bind(o,"qtip-"+this.id+"-inactive",h,"inactive"),this._bind(u.add(i),E.inactiveEvents,h)),this._bindEvents(v,y,o,u,p,d),this._bind(o.add(i),"mousemove",function(t){if("number"==typeof n.hide.distance){var e=this.cache.origin||{},r=this.options.hide.distance,i=Math.abs;(i(t.pageX-e.pageX)>=r||i(t.pageY-e.pageY)>=r)&&this.hide(t)}this._storeMouse(t)}),"mouse"===r.target&&r.adjust.mouse&&(n.hide.event&&this._bind(o,["mouseenter","mouseleave"],function(t){return this.cache?void(this.cache.onTarget="mouseenter"===t.type):N}),this._bind(f,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(tt)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(r.adjust.resize||c.length)&&this._bind(t.event.special.resize?c:g,"resize",m),r.adjust.scroll&&this._bind(g.add(r.container),"scroll",m)},T._unassignEvents=function(){var e=this.options,n=e.show.target,r=e.hide.target,i=t.grep([this.elements.target[0],this.rendered&&this.tooltip[0],e.position.container[0],e.position.viewport[0],e.position.container.closest("html")[0],s,a],function(t){return"object"==typeof t});n&&n.toArray&&(i=i.concat(n.toArray())),r&&r.toArray&&(i=i.concat(r.toArray())),this._unbind(i)._unbind(i,"destroy")._unbind(i,"inactive")},t(function(){g(K,["mouseenter","mouseleave"],function(e){var n="mouseenter"===e.type,r=t(e.currentTarget),i=t(e.relatedTarget||e.target),o=this.options;n?(this.focus(e),r.hasClass(J)&&!r.hasClass(tt)&&clearTimeout(this.timers.hide)):"mouse"===o.position.target&&o.position.adjust.mouse&&o.hide.event&&o.show.target&&!i.closest(o.show.target[0]).length&&this.hide(e),r.toggleClass(Z,n)}),g("["+z+"]",Y,h)}),E=t.fn.qtip=function(e,n,r){var o=(""+e).toLowerCase(),s=I,a=t.makeArray(arguments).slice(1),l=a[a.length-1],c=this[0]?t.data(this[0],W):I;return!arguments.length&&c||"api"===o?c:"string"==typeof e?(this.each(function(){var e=t.data(this,W);if(!e)return O;if(l&&l.timeStamp&&(e.cache.event=l),!n||"option"!==o&&"options"!==o)e[o]&&e[o].apply(e,a);else{if(r===u&&!t.isPlainObject(n))return s=e.get(n),N;e.set(n,r)}}),s!==I?s:this):"object"!=typeof e&&arguments.length?void 0:(c=i(t.extend(O,{},e)),this.each(function(e){var n,r;return r=t.isArray(c.id)?c.id[e]:c.id,r=!r||r===N||r.length<1||E.api[r]?E.nextid++:r,n=v(t(this),r,c),n===N?O:(E.api[r]=n,t.each(V,function(){"initialize"===this.initialize&&this(n)}),void n._assignInitialEvents(l))}))},t.qtip=e,E.api={},t.each({attr:function(e,n){if(this.length){var r=this[0],i="title",o=t.data(r,"qtip");if(e===i&&o&&o.options&&"object"==typeof o&&"object"==typeof o.options&&o.options.suppress)return arguments.length<2?t.attr(r,nt):(o&&o.options.content.attr===i&&o.cache.attr&&o.set("content.text",n),this.attr(nt,n))}return t.fn["attr"+et].apply(this,arguments)},clone:function(e){var n=t.fn["clone"+et].apply(this,arguments);return e||n.filter("["+nt+"]").attr("title",function(){return t.attr(this,nt)}).removeAttr(nt),n}},function(e,n){if(!n||t.fn[e+et])return O;var r=t.fn[e+et]=t.fn[e];t.fn[e]=function(){return n.apply(this,arguments)||r.apply(this,arguments)}}),t.ui||(t["cleanData"+et]=t.cleanData,t.cleanData=function(e){for(var n,r=0;(n=t(e[r])).length;r++)if(n.attr($))try{n.triggerHandler("removeqtip")}catch(t){}t["cleanData"+et].apply(this,arguments)}),E.version="3.0.3-5-g",E.nextid=0,E.inactiveEvents=Y,E.zindex=15e3,E.defaults={prerender:N,id:N,overwrite:O,suppress:O,content:{text:O,attr:"title",title:N,button:N},position:{my:"top left",at:"bottom right",target:N,container:N,viewport:N,adjust:{x:0,y:0,mouse:O,scroll:O,resize:O,method:"flipinvert flipinvert"},effect:function(e,n){t(this).animate(n,{duration:200,queue:N})}},show:{target:N,event:"mouseenter",effect:O,delay:90,solo:N,ready:N,autofocus:N},hide:{target:N,event:"mouseleave",effect:O,delay:0,fixed:N,inactive:N,leave:"window",distance:N},style:{classes:"",widget:N,width:N,height:N,def:O},events:{render:I,move:I,show:I,hide:I,toggle:I,visible:I,hidden:I,focus:I,blur:I}};var at,ut,lt,ct,ft,pt="margin",dt="border",ht="color",mt="background-color",gt="transparent",vt=" !important",yt=!!a.createElement("canvas").getContext,_t=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,bt={},wt=["Webkit","O","Moz","ms"];yt?(ct=s.devicePixelRatio||1,ft=function(){var t=a.createElement("canvas").getContext("2d");return t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||1}(),lt=ct/ft):ut=function(t,e,n){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'},t.extend(w.prototype,{init:function(e){var n,r;r=this.element=e.elements.tip=t("<div />",{class:W+"-tip"}).prependTo(e.tooltip),yt?(n=t("<canvas />").appendTo(this.element)[0].getContext("2d"),n.lineJoin="miter",n.miterLimit=1e5,n.save()):(n=ut("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(n+n),e._bind(t("*",r).add(r),["click","mousedown"],function(t){t.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(t){var e=this.qtip.elements.titlebar;return e&&(t.y===D||t.y===B&&this.element.position().top+this.size[1]/2+this.options.offset<e.outerHeight(O))},_parseCorner:function(t){var e=this.qtip.options.position.my;return t===N||e===N?t=N:t===O?t=new k(e.string()):t.string||(t=new k(t),t.fixed=O),t},_parseWidth:function(t,e,n){var r=this.qtip.elements,i=dt+y(e)+"Width";return(n?b(n,i):b(r.content,i)||b(this._useTitle(t)&&r.titlebar||r.content,i)||b(r.tooltip,i))||0},_parseRadius:function(t){var e=this.qtip.elements,n=dt+y(t.y)+y(t.x)+"Radius";return rt.ie<9?0:b(this._useTitle(t)&&e.titlebar||e.content,n)||b(e.tooltip,n)||0},_invalidColour:function(t,e,n){var r=t.css(e);return!r||n&&r===t.css(n)||_t.test(r)?N:r},_parseColours:function(e){var n=this.qtip.elements,r=this.element.css("cssText",""),i=dt+y(e[e.precedance])+y(ht),o=this._useTitle(e)&&n.titlebar||n.content,s=this._invalidColour,a=[];return a[0]=s(r,mt)||s(o,mt)||s(n.content,mt)||s(n.tooltip,mt)||r.css(mt),a[1]=s(r,i,ht)||s(o,i,ht)||s(n.content,i,ht)||s(n.tooltip,i,ht)||n.tooltip.css(i),t("*",r).add(r).css("cssText",mt+":"+gt+vt+";"+dt+":0"+vt+";"),a},_calculateSize:function(t){var e,n,r,i=t.precedance===P,o=this.options.width,s=this.options.height,a="c"===t.abbrev(),u=(i?o:s)*(a?.5:1),l=Math.pow,c=Math.round,f=Math.sqrt(l(u,2)+l(s,2)),p=[this.border/u*f,this.border/s*f];return p[2]=Math.sqrt(l(p[0],2)-l(this.border,2)),p[3]=Math.sqrt(l(p[1],2)-l(this.border,2)),e=f+p[2]+p[3]+(a?0:p[0]),n=e/f,r=[c(n*o),c(n*s)],i?r:r.reverse()},_calculateTip:function(t,e,n){n=n||1,e=e||this.size;var r=e[0]*n,i=e[1]*n,o=Math.ceil(r/2),s=Math.ceil(i/2),a={br:[0,0,r,i,r,0],bl:[0,0,r,0,0,i],tr:[0,i,r,0,r,i],tl:[0,0,0,i,r,i],tc:[0,i,o,0,r,i],bc:[0,0,r,0,o,i],rc:[0,0,r,s,0,i],lc:[r,0,r,i,0,s]};return a.lt=a.br,a.rt=a.bl,a.lb=a.tr,a.rb=a.tl,a[t.abbrev()]},_drawCoords:function(t,e){t.beginPath(),t.moveTo(e[0],e[1]),t.lineTo(e[2],e[3]),t.lineTo(e[4],e[5]),t.closePath()},create:function(){var t=this.corner=(yt||rt.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(e,n){if(!this.enabled)return this;var r,i,o,a,u,l,c,f,p=this.qtip.elements,d=this.element,h=d.children(),m=this.options,g=this.size,v=m.mimic,y=Math.round;e||(e=this.qtip.cache.corner||this.corner),v===N?v=e:(v=new k(v),v.precedance=e.precedance,"inherit"===v.x?v.x=e.x:"inherit"===v.y?v.y=e.y:v.x===v.y&&(v[e.precedance]=e[e.precedance])),i=v.precedance,e.precedance===R?this._swapDimensions():this._resetDimensions(),r=this.color=this._parseColours(e),r[1]!==gt?(f=this.border=this._parseWidth(e,e[e.precedance]),m.border&&f<1&&!_t.test(r[1])&&(r[0]=r[1]),this.border=f=m.border!==O?m.border:f):this.border=f=0,c=this.size=this._calculateSize(e),d.css({width:c[0],height:c[1],lineHeight:c[1]+"px"}),l=e.precedance===P?[y(v.x===F?f:v.x===j?c[0]-g[0]-f:(c[0]-g[0])/2),y(v.y===D?c[1]-g[1]:0)]:[y(v.x===F?c[0]-g[0]:0),y(v.y===D?f:v.y===U?c[1]-g[1]-f:(c[1]-g[1])/2)],yt?(o=h[0].getContext("2d"),o.restore(),o.save(),o.clearRect(0,0,6e3,6e3),a=this._calculateTip(v,g,lt),u=this._calculateTip(v,this.size,lt),h.attr(M,c[0]*lt).attr(L,c[1]*lt),h.css(M,c[0]).css(L,c[1]),this._drawCoords(o,u),o.fillStyle=r[1],o.fill(),o.translate(l[0]*lt,l[1]*lt),this._drawCoords(o,a),o.fillStyle=r[0],o.fill()):(a=this._calculateTip(v),a="m"+a[0]+","+a[1]+" l"+a[2]+","+a[3]+" "+a[4]+","+a[5]+" xe",l[2]=f&&/^(r|b)/i.test(e.string())?8===rt.ie?2:1:0,h.css({coordsize:c[0]+f+" "+c[1]+f,antialias:""+(v.string().indexOf(B)>-1),left:l[0]-l[2]*Number(i===R),top:l[1]-l[2]*Number(i===P),width:c[0]+f,height:c[1]+f}).each(function(e){var n=t(this);n[n.prop?"prop":"attr"]({coordsize:c[0]+f+" "+c[1]+f,path:a,fillcolor:r[0],filled:!!e,stroked:!e}).toggle(!(!f&&!e)),!e&&n.html(ut("stroke",'weight="'+2*f+'px" color="'+r[1]+'" miterlimit="1000" joinstyle="miter"'))})),s.opera&&setTimeout(function(){p.tip.css({display:"inline-block",visibility:"visible"})},1),n!==N&&this.calculate(e,c)},calculate:function(e,n){if(!this.enabled)return N;var r,i,o=this,s=this.qtip.elements,a=this.element,u=this.options.offset,l={};return e=e||this.corner,r=e.precedance,n=n||this._calculateSize(e),i=[e.x,e.y],r===R&&i.reverse(),t.each(i,function(t,i){var a,c,f;i===B?(a=r===P?F:D,l[a]="50%",l[pt+"-"+a]=-Math.round(n[r===P?0:1]/2)+u):(a=o._parseWidth(e,i,s.tooltip),c=o._parseWidth(e,i,s.content),f=o._parseRadius(e),l[i]=Math.max(-o.border,t?c:u+(f>a?f:-a)))}),l[e[r]]-=n[r===R?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,n){function r(t,e,n,r,i){t===H&&l.precedance===e&&c[r]&&l[n]!==B?l.precedance=l.precedance===R?P:R:t!==H&&c[r]&&(l[e]=l[e]===B?c[r]>0?r:i:l[e]===r?i:r)}function i(t,e,r){l[t]===B?m[pt+"-"+e]=h[t]=o[pt+"-"+e]-c[e]:(s=o[r]!==u?[c[e],-o[e]]:[-c[e],o[e]],(h[t]=Math.max(s[0],s[1]))>s[0]&&(n[e]-=c[e],h[e]=N),m[o[r]!==u?r:e]=h[t])}if(this.enabled){var o,s,a=e.cache,l=this.corner.clone(),c=n.adjusted,f=e.options.position.adjust.method.split(" "),p=f[0],d=f[1]||f[0],h={left:N,top:N,x:0,y:0},m={};this.corner.fixed!==O&&(r(p,R,P,F,j),r(d,P,R,D,U),l.string()===a.corner.string()&&a.cornerTop===c.top&&a.cornerLeft===c.left||this.update(l,N)),o=this.calculate(l),o.right!==u&&(o.left=-o.right),o.bottom!==u&&(o.top=-o.bottom),o.user=this.offset,h.left=p===H&&!!c.left,h.left&&i(R,F,j),h.top=d===H&&!!c.top,h.top&&i(P,D,U),this.element.css(m).toggle(!(h.x&&h.y||l.x===B&&h.y||l.y===B&&h.x)),n.left-=o.left.charAt?o.user:p!==H||h.top||!h.left&&!h.top?o.left+this.border:0,n.top-=o.top.charAt?o.user:d!==H||h.left||!h.left&&!h.top?o.top+this.border:0,a.cornerLeft=c.left,a.cornerTop=c.top,a.corner=l.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),at=V.tip=function(t){return new w(t,t.options.style.tip)},at.initialize="render",at.sanitize=function(t){if(t.style&&"tip"in t.style){var e=t.style.tip;"object"!=typeof e&&(e=t.style.tip={corner:e}),/string|boolean/i.test(typeof e.corner)||(e.corner=O)}},C.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},t.extend(O,E.defaults,{style:{tip:{corner:O,mimic:N,width:6,height:6,border:O,offset:0}}});var xt,St,Et="qtip-modal",Tt="."+Et;St=function(){function e(e){if(t.expr[":"].focusable)return t.expr[":"].focusable;var n,r,i,o=!isNaN(t.attr(e,"tabindex")),s=e.nodeName&&e.nodeName.toLowerCase();return"area"===s?(n=e.parentNode,r=n.name,!(!e.href||!r||"map"!==n.nodeName.toLowerCase())&&!!(i=t("img[usemap=#"+r+"]")[0])&&i.is(":visible")):/input|select|textarea|button|object/.test(s)?!e.disabled:"a"===s?e.href||o:o}function n(t){l.length<1&&t.length?t.not("body").blur():l.first().focus()}function r(e){if(s.is(":visible")){var r=t(e.target),o=i.tooltip,a=r.closest(K);(a.length<1?N:parseInt(a[0].style.zIndex,10)>parseInt(o[0].style.zIndex,10))||r.closest(K)[0]===o[0]||n(r)}}var i,o,s,u=this,l={};t.extend(u,{init:function(){return s=u.elem=t("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return N}}).hide(),t(a.body).bind("focusin"+Tt,r),t(a).bind("keydown"+Tt,function(t){i&&i.options.show.modal.escape&&27===t.keyCode&&i.hide(t)}),s.bind("click"+Tt,function(t){i&&i.options.show.modal.blur&&i.hide(t)}),u},update:function(t){i=t,l=t.options.show.modal.stealfocus!==N?t.tooltip.find("*").filter(function(){return e(this)}):[]},toggle:function(e,r,l){var c=e.tooltip,f=e.options.show.modal,p=f.effect,d=r?"show":"hide",h=s.is(":visible"),m=t(Tt).filter(":visible:not(:animated)").not(c);return u.update(e),r&&f.stealfocus!==N&&n(t(":focus")),s.toggleClass("blurs",f.blur),r&&s.appendTo(a.body),s.is(":animated")&&h===r&&o!==N||!r&&m.length?u:(s.stop(O,N),t.isFunction(p)?p.call(s,r):p===N?s[d]():s.fadeTo(parseInt(l,10)||90,r?1:0,function(){r||s.hide()}),r||s.queue(function(e){s.css({left:"",top:""}),t(Tt).length||s.detach(),e()}),o=r,i.destroyed&&(i=I),u)}}),u.init()},St=new St,t.extend(x.prototype,{init:function(e){var n=e.tooltip;return this.options.on?(e.elements.overlay=St.elem,n.addClass(Et).css("z-index",E.modal_zindex+t(Tt).length),e._bind(n,["tooltipshow","tooltiphide"],function(e,r,i){var o=e.originalEvent;if(e.target===n[0])if(o&&"tooltiphide"===e.type&&/mouse(leave|enter)/.test(o.type)&&t(o.relatedTarget).closest(St.elem[0]).length)try{e.preventDefault()}catch(t){}else(!o||o&&"tooltipsolo"!==o.type)&&this.toggle(e,"tooltipshow"===e.type,i)},this._ns,this),e._bind(n,"tooltipfocus",function(e,r){if(!e.isDefaultPrevented()&&e.target===n[0]){var i=t(Tt),o=E.modal_zindex+i.length,s=parseInt(n[0].style.zIndex,10);St.elem[0].style.zIndex=o-1,i.each(function(){this.style.zIndex>s&&(this.style.zIndex-=1)}),i.filter("."+X).qtip("blur",e.originalEvent),n.addClass(X)[0].style.zIndex=o,St.update(r);try{e.preventDefault()}catch(t){}}},this._ns,this),void e._bind(n,"tooltiphide",function(e){e.target===n[0]&&t(Tt).filter(":visible").not(n).last().qtip("focus",e)},this._ns,this)):this},toggle:function(t,e,n){return t&&t.isDefaultPrevented()?this:void St.toggle(this.qtip,!!e,n)},destroy:function(){this.qtip.tooltip.removeClass(Et),this.qtip._unbind(this.qtip.tooltip,this._ns),St.toggle(this.qtip,N),delete this.qtip.elements.overlay}}),xt=V.modal=function(t){return new x(t,t.options.show.modal)},xt.sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:void 0===t.show.modal.on&&(t.show.modal.on=O))},E.modal_zindex=E.zindex-200,xt.initialize="render",C.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},t.extend(O,E.defaults,{show:{modal:{on:N,effect:O,blur:O,stealfocus:O,escape:O}}}),V.viewport=function(t,e,n,r,i,o,u){function l(t,n,r,i,o,s,a,u,l){var c=e[o],y=b[t],_=w[t],x=r===H,S=y===o?l:y===s?-l:-l/2,E=_===o?u:_===s?-u:-u/2,T=g[o]+v[o]-(d?0:p[o]),k=T-c,C=c+l-(a===M?h:m)-T,A=S-(b.precedance===t||y===b[n]?E:0)-(_===B?u/2:0);return x?(A=(y===o?1:-1)*S,e[o]+=k>0?k:C>0?-C:0,e[o]=Math.max(-p[o]+v[o],c-A,Math.min(Math.max(-p[o]+v[o]+(a===M?h:m),c+A),e[o],"center"===y?c-S:1e9))):(i*=r===q?2:0,k>0&&(y!==o||C>0)?(e[o]-=A+i,f.invert(t,o)):C>0&&(y!==s||k>0)&&(e[o]-=(y===B?-A:A)+i,f.invert(t,s)),e[o]<g[o]&&-e[o]>C&&(e[o]=c,f=b.clone())),e[o]-c}var c,f,p,d,h,m,g,v,y=n.target,_=t.elements.tooltip,b=n.my,w=n.at,x=n.adjust,S=x.method.split(" "),E=S[0],T=S[1]||S[0],k=n.viewport,C=n.container,A={left:0,top:0};return k.jquery&&y[0]!==s&&y[0]!==a.body&&"none"!==x.method?(p=C.offset()||A,d="static"===C.css("position"),c="fixed"===_.css("position"),h=k[0]===s?k.width():k.outerWidth(N),m=k[0]===s?k.height():k.outerHeight(N),g={left:c?0:k.scrollLeft(),top:c?0:k.scrollTop()},v=k.offset()||A,"shift"===E&&"shift"===T||(f=b.clone()),A={left:"none"!==E?l(R,P,E,x.x,F,j,M,r,o):0,top:"none"!==T?l(P,R,T,x.y,D,U,L,i,u):0,my:f}):A},V.polys={polygon:function(t,e){var n,r,i,o={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:N},s=0,a=[],u=1,l=1,c=0,f=0;for(s=t.length;s--;)n=[parseInt(t[--s],10),parseInt(t[s+1],10)],n[0]>o.position.right&&(o.position.right=n[0]),n[0]<o.position.left&&(o.position.left=n[0]),n[1]>o.position.bottom&&(o.position.bottom=n[1]),n[1]<o.position.top&&(o.position.top=n[1]),a.push(n);if(r=o.width=Math.abs(o.position.right-o.position.left),i=o.height=Math.abs(o.position.bottom-o.position.top),"c"===e.abbrev())o.position={left:o.position.left+o.width/2,top:o.position.top+o.height/2};else{for(;r>0&&i>0&&u>0&&l>0;)for(r=Math.floor(r/2),i=Math.floor(i/2),e.x===F?u=r:e.x===j?u=o.width-r:u+=Math.floor(r/2),e.y===D?l=i:e.y===U?l=o.height-i:l+=Math.floor(i/2),s=a.length;s--&&!(a.length<2);)c=a[s][0]-o.position.left,f=a[s][1]-o.position.top,(e.x===F&&c>=u||e.x===j&&c<=u||e.x===B&&(c<u||c>o.width-u)||e.y===D&&f>=l||e.y===U&&f<=l||e.y===B&&(f<l||f>o.height-l))&&a.splice(s,1);o.position={left:a[0][0],top:a[0][1]}}return o},rect:function(t,e,n,r){return{width:Math.abs(n-t),height:Math.abs(r-e),position:{left:Math.min(t,n),top:Math.min(e,r)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,n,r,i){var o=V.polys._angles[i.abbrev()],s=0===o?0:n*Math.cos(o*Math.PI),a=r*Math.sin(o*Math.PI);return{width:2*n-Math.abs(s),height:2*r-Math.abs(a),position:{left:t+s,top:e+a},adjustable:N}},circle:function(t,e,n,r){return V.polys.ellipse(t,e,n,n,r)}},V.svg=function(e,n,r){for(var i,o,s,u,l,c,f,p,d,h=n[0],m=t(h.ownerSVGElement),g=h.ownerDocument,v=(parseInt(n.css("stroke-width"),10)||0)/2;!h.getBBox;)h=h.parentNode;if(!h.getBBox||!h.parentNode)return N;switch(h.nodeName){case"ellipse":case"circle":p=V.polys.ellipse(h.cx.baseVal.value,h.cy.baseVal.value,(h.rx||h.r).baseVal.value+v,(h.ry||h.r).baseVal.value+v,r);break;case"line":case"polygon":case"polyline":for(f=h.points||[{x:h.x1.baseVal.value,y:h.y1.baseVal.value},{x:h.x2.baseVal.value,y:h.y2.baseVal.value}],p=[],c=-1,u=f.numberOfItems||f.length;++c<u;)l=f.getItem?f.getItem(c):f[c],p.push.apply(p,[l.x,l.y]);p=V.polys.polygon(p,r);break;default:p=h.getBBox(),p={width:p.width,height:p.height,position:{left:p.x,top:p.y}}}return d=p.position,m=m[0],m.createSVGPoint&&(o=h.getScreenCTM(),f=m.createSVGPoint(),f.x=d.left,f.y=d.top,s=f.matrixTransform(o),d.left=s.x,d.top=s.y),g!==a&&"mouse"!==e.position.target&&(i=t((g.defaultView||g.parentWindow).frameElement).offset())&&(d.left+=i.left,d.top+=i.top),g=t(g),d.left+=g.scrollLeft(),d.top+=g.scrollTop(),p},V.imagemap=function(e,n,r){n.jquery||(n=t(n));var i,o,s,a,u,l=(n.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),c=t('img[usemap="#'+n.parent("map").attr("name")+'"]'),f=t.trim(n.attr("coords")),p=f.replace(/,$/,"").split(",");if(!c.length)return N;if("polygon"===l)a=V.polys.polygon(p,r);else{if(!V.polys[l])return N;for(s=-1,u=p.length,o=[];++s<u;)o.push(parseInt(p[s],10));a=V.polys[l].apply(this,o.concat(r))}return i=c.offset(),i.left+=Math.ceil((c.outerWidth(N)-c.width())/2),i.top+=Math.ceil((c.outerHeight(N)-c.height())/2),a.position.left+=i.left,a.position.top+=i.top,a};var kt;t.extend(S.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=t(s).scrollTop()+"px")},init:function(e){var n=e.tooltip;t("select, object").length<1&&(this.bgiframe=e.elements.bgiframe=t('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(n),e._bind(n,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=t("<div/>",{id:W+"-rcontainer"}).appendTo(a.body),e.elements.overlay&&e.elements.overlay.addClass("qtipmodal-ie6fix")&&(e._bind(s,["scroll","resize"],this._scroll,this._ns,this),e._bind(n,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,n=this.qtip.tooltip,r={height:n.outerHeight(N),width:n.outerWidth(N)},i=this.qtip.plugins.tip,o=this.qtip.elements.tip;e=parseInt(n.css("borderLeftWidth"),10)||0,e={left:-e,top:-e},i&&o&&(t="x"===i.corner.precedance?[M,F]:[L,D],e[t[1]]-=o[t[0]]()),this.bgiframe.css(e).css(r)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var t,e,n,r,i=this.qtip.tooltip,o=this.qtip.options.style,s=this.qtip.options.position.container;return this.qtip.drawing=1,o.height&&i.css(L,o.height),o.width?i.css(M,o.width):(i.css(M,"").appendTo(this.redrawContainer),e=i.width(),e%2<1&&(e+=1),n=i.css("maxWidth")||"",r=i.css("minWidth")||"",t=(n+r).indexOf("%")>-1?s.width()/100:0,n=(n.indexOf("%")>-1?t:1*parseInt(n,10))||e,r=(r.indexOf("%")>-1?t:1*parseInt(r,10))||0,e=n+r?Math.min(Math.max(e,r),n):e,i.css(M,Math.round(e)).appendTo(s)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([s,this.qtip.tooltip],this._ns)}}),kt=V.ie6=function(t){return 6===rt.ie?new S(t):N},kt.initialize="render",C.ie6={"^content|style$":function(){this.redraw()}}})}(window,document)},function(t,e,n){"use strict";var r,i,o=n(148),s=function(t){return t&&t.__esModule?t:{default:t}}(o);r=[n(115),n(145),n(218),n(12),n(475),n(476),n(116),n(146),n(68)],void 0!==(i=function(t,e,n,r,i,o,a,u,l){function c(t){if(!t)return{};var n={};return e.each(e.keys(t),function(e){n[e.toLowerCase()]=t[e]}),e.mapObject(n,function(t){var n={login:{},country:{}};if(!e.isObject(t))throw new Error('Invalid format for "i18n"');return e.each(t,function(t,e){var r=e.split(/^country\./);r.length>1?n.country[r[1]]=t:n.login[r[0]]=t}),n})}function f(){var t=JSON.parse(localStorage.getItem(m));return t&&t.version===u.version||(t={version:u.version}),t}function p(t,e,n){var r=f();r[t]={login:e,country:n},localStorage.setItem(m,(0,s.default)(r))}function d(e,n,r){var i,o;return i=n.replace("-","_"),o=r.rewrite(g({bundle:e,languageCode:i})),t.ajax({url:r.baseUrl+o,dataType:"jsonp",cache:!0,timeout:5e3,jsonpCallback:"jsonp_"+e})}function h(t,n){if("en"===t||!e.contains(u.supportedLanguages,t))return r({});var i=!l.localStorageIsNotSupported();if(i){var o=f();if(o[t])return r(o[t])}return r.all([d("login",t,n),d("country",t,n)]).spread(function(e,n){return i&&p(t,e,n),{login:e,country:n}}).fail(function(){return{}})}var m="osw.languages",g=n.compile("/labels/jsonp/{{bundle}}_{{languageCode}}.jsonp");return{login:i,country:o,courage:i,currentLanguage:null,isLoaded:function(t){return this.currentLanguage===t},remove:function(){this.currentLanguage=null},loadLanguage:function(t,n,r){var s=c(n),a=t.toLowerCase();return h(t,r).then(e.bind(function(n){this.login=e.extend({},i,n.login),this.country=e.extend({},o,n.country),this.courage=e.extend({},i,n.login),s[a]&&(e.extend(this.login,s[a].login),e.extend(this.country,s[a].country),e.extend(this.courage,s[a].login)),this.currentLanguage=t},this))}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){var r=n(86),i=n(22)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";var r,i;r=[n(1),n(89),n(163),n(8)],void 0!==(i=function(t,e,n,r){var i=t._;return e.extend({props:function(){var e=n.getCookieUsername(),r=this.getUsernameAndRemember(e),o={username:{type:"string",validate:function(e){if(i.isEmpty(e))return t.loc("error.username.required","login")},value:r.username},lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,r.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(o.password={type:"string",validate:function(e){if(i.isEmpty(e))return t.loc("error.password.required","login")}}),o},getUsernameAndRemember:function(t){var e,n=this.settings&&this.settings.get("username"),r=this.settings&&this.settings.get("features.rememberMe"),i=!1;return n?(e=n,i=r&&e===t):r&&t&&(e=t,i=!0),{username:e,remember:i}},constructor:function(e){this.settings=e&&e.settings,this.appState=e&&e.appState,t.Model.apply(this,arguments),this.listenTo(this,"change:username",function(t,e){this.set({remember:e===this.get("lastUsername")})})},parse:function(t){return i.omit(t,["settings","appState"])},save:function(){var t=this.settings.transformUsername(this.get("username"),r.PRIMARY_AUTH),e=this.get("remember"),o=this.get("lastUsername");this.setUsernameCookie(t,e,o),this.trigger("save"),this.appState.trigger("loading",!0);var s,a=this.getSignInArgs(t);if(this.appState.get("isUnauthenticated")){var u=this.appState.settings.authClient;s=this.appState.get("isIdxStateToken")?this.doTransaction(function(t){return this.doPrimaryAuth(u,a,t.login)}):this.doTransaction(function(t){return this.doPrimaryAuth(u,a,t.authenticate)})}else s=this.startTransaction(function(t){return this.doPrimaryAuth(t,a,i.bind(t.signIn,t))});return s.fail(i.bind(function(){this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).fin(i.bind(function(){this.appState.trigger("loading",!1)},this))},getSignInArgs:function(t){var e=this.get("multiOptionalFactorEnroll"),n={};return this.settings.get("features.passwordlessAuth")||(n.password=this.get("password")),this.appState.get("isIdxStateToken")?n.identifier=t:(n.username=t,n.options={warnBeforePasswordExpired:!0,multiOptionalFactorEnroll:e}),n},setUsernameCookie:function(t,e,r){this.settings.get("features.rememberMe")&&(e||r!==t?e&&n.setUsernameCookie(t):n.removeUsernameCookie())},doPrimaryAuth:function(t,e,n){var r=this.settings.get("features.deviceFingerprinting"),i=this.settings.get("features.trackTypingPattern");r&&(t.options.headers["X-Device-Fingerprint"]=this.appState.get("deviceFingerprint")),i&&(t.options.headers["X-Typing-Pattern"]=this.appState.get("typingPattern"));var o=this;return n(e).fin(function(){r&&(delete t.options.headers["X-Device-Fingerprint"],o.appState.unset("deviceFingerprint")),i&&(delete t.options.headers["X-Typing-Pattern"],o.appState.unset("typingPattern"))})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t.internal.util.Cookie,n={};return n.getCookieUsername=function(){return e.getCookie("ln")},n.setUsernameCookie=function(t){e.setCookie("ln",t,{expires:365,path:"/"})},n.removeUsernameCookie=function(){e.removeCookie("ln",{path:"/"})},n}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e={};return e.getU2fEnrollErrorMessageKeyByCode=function(t){switch(t){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"}},e.getU2fVerifyErrorMessageKeyByCode=function(t,e){switch(t){case 1:return e?"u2f.error.other.oneFactor":"u2f.error.other";case 2:case 3:return e?"u2f.error.badRequest.oneFactor":"u2f.error.badRequest";case 4:return e?"u2f.error.unsupported.oneFactor":"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},e.getU2fEnrollErrorMessageByCode=function(n){return t.loc(e.getU2fEnrollErrorMessageKeyByCode(n),"login")},e.getU2fVerifyErrorMessageByCode=function(n,r){return t.loc(e.getU2fVerifyErrorMessageKeyByCode(n,r),"login")},e.getU2fVersion=function(){return"U2F_V2"},e.isU2fAvailable=function(){return window.hasOwnProperty("u2f")},e}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(160),n(553)],void 0!==(i=function(t,e,n){var r=t._,i={};return i.getCountries=function(){var t=r.omit(e.country,"HM","BV","TF"),n=r.map(t,function(t,e){return{name:t,code:e}});n=r.sortBy(n,"name");var i={};return r.each(n,function(t){i[t.code]=t.name}),i},i.getCallingCodeForCountry=function(t){return n[t]},i}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(23)],void 0!==(i=function(t,e,n){var r=t._;return t.View.extend({className:"scan-instructions clearfix",template:'      <div class="scan-instructions-details-wrapper">          <div class="scan-instructions-details">              <p>{{instructions}}</p>          </div>      </div>      <div class="scan-instructions-qrcode-wrapper">          <div class="qrcode-wrap">              <img data-se="qrcode" class="qrcode-image" src="{{qrcode}}">              <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">            {{i18n code="enroll.totp.cannotScan" bundle="login"}}          </a>          <a href="#" data-type="refresh-qrcode" data-se="refresh-qrcode" class="link refresh-qrcode">            {{i18n code="enroll.totp.refreshBarcode" bundle="login"}}          </a>      </div>    ',events:{'click [data-type="manual-setup"]':function(t){t.preventDefault();var e=n.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"manual");this.options.appState.trigger("navigate",e)},'click [data-type="refresh-qrcode"]':function(t){t.preventDefault(),this.model.trigger("errors:clear");var e=this;this.model.doTransaction(function(t){return this.appState.get("isWaitingForActivation")?t.poll():t.activate()}).then(function(t){var n=t.data;"MFA_ENROLL_ACTIVATE"!==n.status&&"FACTOR_ENROLL_ACTIVATE"!==n.status||"WAITING"!==n.factorResult||r.defer(r.bind(e.render,e))})}},initialize:function(){this.listenTo(this.options.appState,"change:lastAuthResponse",function(){this.options.appState.get("isMfaEnrollActivate")?this.$el.toggleClass("qrcode-expired",!this.options.appState.get("isWaitingForActivation")):this.options.appState.get("isSuccessResponse")&&this.$el.addClass("qrcode-success")}),this.listenTo(this.model,"error",function(){this.options.appState.get("isMfaEnrollActivate")&&this.$el.toggleClass("qrcode-expired",!0)})},getTemplateData:function(){var n,r=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return n="GOOGLE"===this.model.get("__provider__")?t.loc("enroll.totp.setupGoogleAuthApp","login",[r]):t.loc("enroll.totp.setupApp","login",[r]),{instructions:n,qrcode:this.options.appState.get("qrcode")}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(12),n(8)],void 0!==(i=function(t,e){function n(e,n,r){var i=t.defer();return e.animate({"text-indent":1},{duration:200,easing:"swing",step:function(t,i){i.start=n,i.end=r,e.css("transform","scale("+t+", "+t+")")},always:function(){i.resolve(e)}}),i.promise}function r(e,n,r){var i=t.defer();return e.animate({"text-indent":1},{duration:150,easing:"swing",step:function(t,i){i.start=n,i.end=r,e.css("transform","rotate("+t+"deg)")},always:function(){i.resolve(e)}}),i.promise}var i={};return i.swapPages=function(n){var r=t.defer(),i=n.$parent,o=n.$oldRoot,s=n.$newRoot,a=n.success,u=n.ctx,l="transition-from-right";return n.dir&&n.dir===e.DIRECTION_BACK&&(l="transition-from-left"),s.addClass(l),i.append(s),i.addClass("animation-container-overflow"),s.animate({left:"0px",top:"0px",opacity:1},200,function(){i.removeClass("animation-container-overflow"),s.removeClass(l),s.removeAttr("style"),a.call(u),r.resolve()}),o.animate({height:s.height(),opacity:0},160),r.promise},i.swapBeacons=function(t){var e=t.$el,n=t.swap,r=t.ctx;return this.implode(e).then(function(){return n.call(r),e}).then(this.explode)},i.explode=function(t){return n(t,0,1)},i.implode=function(t){return n(t,1,0)},i.radialProgressBar=function(t){var e=t.$el,n=t.swap,i=e.children();return r(i,0,180).then(function(){e.css({clip:"auto"})}).then(function(){var t=i.eq(0);return n(),r(t,180,360)}).then(function(){e.css({clip:"rect(0px, 96px, 96px, 48px)"}),i.css({transform:"rotate(0deg)","text-indent":"1px"})})},i}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}
// 25.4.1.5 NewPromiseCapability(C)
var i=n(109);t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(18),n(17),n(36),n(89)],void 0!==(i=function(t,e,n,r,i,o){var s=t._,a=o.extend({extraProperties:!0,flat:!1,props:{id:"string",factorType:{type:"string",values:["sms","call","email","token","token:software:totp","token:hotp","token:hardware","question","push","u2f","password","assertion:saml2","assertion:oidc","claims_provider","webauthn"]},provider:{type:"string",values:["OKTA","RSA","DEL_OATH","SYMANTEC","GOOGLE","YUBICO","FIDO","CUSTOM","GENERIC_SAML","GENERIC_OIDC"]},enrollment:{type:"string",values:["OPTIONAL","REQUIRED"]},status:{type:"string",values:["NOT_SETUP","ACTIVE"]},profile:["object"],vendorName:"string",policy:["object"],profiles:["object"]},local:{answer:"string",password:"string",backupFactor:"object",showAnswer:"boolean",rememberDevice:"boolean",autoPush:["boolean",!0,!1]},derived:{isOktaFactor:{deps:["provider"],fn:function(t){return"OKTA"===t}},factorName:{deps:["provider","factorType"],fn:n.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(t,e,r){return s.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],t)?r:n.getFactorLabel.apply(this,[t,e])}},factorDescription:{deps:["provider","factorType"],fn:n.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:n.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:n.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(t,e){return"question"!==e?null:t&&n.getSecurityQuestionLabel(t)}},phoneNumber:{deps:["profile","factorType"],fn:function(t,e){return s.contains(["sms","call"],e)?t&&t.phoneNumber:null}},email:{deps:["profile","factorType"],fn:function(t,e){return"email"===e?t&&t.email:null}},deviceName:{deps:["profile","factorType"],fn:function(t,e){return"push"!==e?null:t&&t.name}},enrolled:{deps:["status"],fn:function(t){return"ACTIVE"===t}},cardinality:{deps:["policy","profiles"],fn:function(t,e){if(e&&e.length>0){var n=e[0],r=n._embedded.enrolledFactors.length,i=s.findWhere(n._embedded.features,{type:"adoption"});return!(!i||!i.cardinality)&&{enrolled:r,minimum:i.cardinality.min,maximum:i.cardinality.max}}return!(!t||!t.enrollment)&&t.enrollment}},additionalEnrollment:{deps:["cardinality"],fn:function(t){return!!t&&(0!==t.enrolled&&t.enrolled<t.maximum)}},required:{deps:["enrollment"],fn:function(t){return"REQUIRED"===t}},canUseResend:{deps:["provider","factorType"],fn:function(t,e){return"OKTA"===t&&s.contains(["push","sms","call","email"],e)}},isAnswerRequired:{deps:["factorType"],fn:function(t){return s.contains(["sms","call","email","token","token:software:totp","question"],t)}},isFactorTypeVerification:{deps:["provider","id"],fn:function(t,e){return void 0===t&&void 0===e}}},parse:function(t){return this.settings=t.settings,this.appState=t.appState,t.rememberDevice=n.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(t),s.omit(t,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:t.loc("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:t.loc("error.password.required")}},needsPasscode:function(){return!(this.options.appState.get("isIdxStateToken")&&"email"===this.get("factorType"))},save:function(){var t=!!this.get("rememberDevice"),n=this;return this.manageTransaction(function(o,s){var a={rememberDevice:t};"question"===this.get("factorType")?a.answer=this.get("answer"):"password"===this.get("factorType")?a.password=this.get("password"):this.needsPasscode()&&(a.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(a.autoPush=this.get("autoPush"));var u;if("MFA_REQUIRED"===o.status||"FACTOR_REQUIRED"===o.status||this.appState.get("promptForFactorInUnauthenticated")){u=this._findFactor(o).verify(a)}else if(this.get("canUseResend")&&!this.get("answer")&&o.resend){var l=o.data._links.resend[0];u=o.resend(l.name)}else u=o.verify(a);return this.trigger("save"),u.then(function(t){var o={delay:4e3};if(s(t),"MFA_CHALLENGE"===t.status&&t.poll||"FACTOR_CHALLENGE"===t.status&&t.poll){var a=e.defer(),u=r.callAfterTimeout(a.resolve,4e3);return n.listenToOnce(n.options.appState,"factorSwitched",function(){clearTimeout(u),a.reject(new i.AuthStopPollInitiationError)}),a.promise.then(function(){return n.stopListening(n.options.appState,"factorSwitched"),n.pushFactorHasAutoPush()&&(o.autoPush=function(){return n.get("autoPush")},o.rememberDevice=function(){return n.get("rememberDevice")}),t.poll(o).then(function(t){s(t)})})}})})},_findFactor:function(t){var e;return t.factorTypes&&(e=s.findWhere(t.factorTypes,{factorType:this.get("factorType")})),e||(e=s.findWhere(t.factors,{id:this.get("id")})),e},pushFactorHasAutoPush:function(){return this.settings.get("features.autoPush")&&"push"===this.get("factorType")},setCustomHotpVendorName:function(t){if("token:hotp"===t.factorType&&t.profiles)if("NOT_SETUP"===t.status)t.vendorName=t.profiles[0].name;else if("ACTIVE"===t.status){var e=t.profiles.filter(function(t){return t._embedded.enrolledFactors.length>0});t.vendorName=e[0].name}return t}}),u=t.Collection.extend({model:a,comparator:"sortOrder",parse:function(t){this.lastUsedFactor=t[0];var e,n=s.findWhere(t,{provider:"OKTA",factorType:"push"});if(e=s.where(t,{factorType:"push"}).length>1?s.findWhere(t,{factorType:"token:software:totp"}):s.findWhere(t,{provider:"OKTA",factorType:"token:software:totp"}),!n||!e)return t;var r=e===t[0],i=s.reduce(t,function(t,r){var i="OKTA"===r.provider,o=i&&"token:software:totp"===r.factorType,s=i&&"push"===r.factorType,u="ACTIVE"!==r.status,l=o&&(u||"ACTIVE"===n.status),c=s&&u&&"ACTIVE"===e.status;return l||c?t:(s&&(r.backupFactor=new a(e,{parse:!0})),t.push(r),t)},[]);return r&&(this.lastUsedFactor=n),i},getDefaultFactor:function(){var t=s.pick(this.lastUsedFactor,"factorType","provider");return this.findWhere(t)},getFirstUnenrolledRequiredFactor:function(){return this.findWhere({required:!0,enrolled:!1})},_getFactorsOfType:function(t){return this.where({factorType:t})},getFactorIndex:function(t,e){return this._getFactorsOfType(t).findIndex(function(t){return t.get("id")===e})},hasMultipleFactorsOfSameType:function(t){return this._getFactorsOfType(t).length>1},getFactorByTypeAndIndex:function(t,e){return this._getFactorsOfType(t)[e]}});return{Model:a,Collection:u}}.apply(e,r))&&(t.exports=i)},function(t,e,n){t.exports=!n(11)&&!n(6)(function(){return 7!=Object.defineProperty(n(118)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(9)},function(t,e,n){var r=n(27),i=n(28),o=n(92)(!1),s=n(120)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var r=n(13),i=n(2),o=n(56);t.exports=n(11)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(28),i=n(59).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){"use strict";var r=n(11),i=n(56),o=n(93),s=n(82),a=n(15),u=n(81),l=Object.assign;t.exports=!l||n(6)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,f=o.f,p=s.f;l>c;)for(var d,h=u(arguments[c++]),m=f?i(h).concat(f(h)):i(h),g=m.length,v=0;g>v;)d=m[v++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(20),i=n(7),o=n(178),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?u(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(4).parseInt,i=n(72).trim,o=n(124),s=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},function(t,e,n){var r=n(4).parseFloat,i=n(72).trim;t.exports=1/r(n(124)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(33);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(7),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(127),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),u=i(2,-126),l=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),c=r(t);return i<u?c*l(i/u/s)*u*s:(e=(1+s/o)*i,n=e-(e-i),n>a||n!=n?c*(1/0):c*n)}},function(t,e,n){var r=n(2);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(20),i=n(15),o=n(81),s=n(10);t.exports=function(t,e,n,a,u){r(e);var l=i(t),c=o(l),f=s(l.length),p=u?f-1:0,d=u?-1:1;if(n<2)for(;;){if(p in c){a=c[p],p+=d;break}if(p+=d,u?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:f>p;p+=d)p in c&&(a=e(a,c[p],p,l));return a}},function(t,e,n){"use strict";var r=n(15),i=n(57),o=n(10);t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),u=i(e,s),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?s:i(l,s))-u,s-a),f=1;for(u<a&&a<u+c&&(f=-1,u+=c-1,a+=c-1);c-- >0;)u in n?n[a]=n[u]:delete n[a],a+=f,u+=f;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(139);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(11)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(83)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(2),i=n(7),o=n(143);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(194),i=n(64);t.exports=n(101)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(13).f,i=n(58),o=n(63),s=n(32),a=n(61),u=n(62),l=n(129),c=n(188),f=n(60),p=n(11),d=n(50).fastKey,h=n(64),m=p?"_s":"size",g=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var c=t(function(t,r){a(t,c,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=r&&u(r,n,t[l],t)});return o(c.prototype,{clear:function(){for(var t=h(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n=h(this,e),r=g(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(t){h(this,e);for(var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(h(this,e),t)}}),p&&r(c.prototype,"size",{get:function(){return h(this,e)[m]}}),c},def:function(t,e,n){var r,i,o=g(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[m]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=h(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?c(0,n.k):"values"==e?c(0,n.v):c(0,[n.k,n.v]):(t._t=void 0,c(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(194),i=n(64);t.exports=n(101)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(4),o=n(41)(0),s=n(25),a=n(50),u=n(175),l=n(197),c=n(7),f=n(64),p=n(64),d=!i.ActiveXObject&&"ActiveXObject"in i,h=a.getWeak,m=Object.isExtensible,g=l.ufstore,v=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(c(t)){var e=h(t);return!0===e?g(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(f(this,"WeakMap"),t,e)}},_=t.exports=n(101)("WeakMap",v,y,l,!0,!0);p&&d&&(r=l.getConstructor(v,"WeakMap"),u(r.prototype,y),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=_.prototype,n=e[t];s(e,t,function(e,i){if(c(e)&&!m(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){"use strict";var r=n(63),i=n(50).getWeak,o=n(2),s=n(7),a=n(61),u=n(62),l=n(41),c=n(27),f=n(64),p=l(5),d=l(6),h=0,m=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return p(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=h++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(l.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?m(f(this,e)).delete(t):n&&c(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?m(f(this,e)).has(t):n&&c(n,this._i)}}),l},def:function(t,e,n){var r=i(o(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},function(t,e,n){var r=n(34),i=n(10);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(59),i=n(93),o=n(2),s=n(4).Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";function r(t,e,n,l,c,f,p,d){for(var h,m,g=c,v=0,y=!!p&&a(p,d,3);v<l;){if(v in n){if(h=y?y(n[v],v,e):n[v],m=!1,o(h)&&(m=h[u],m=void 0!==m?!!m:i(h)),m&&f>0)g=r(t,e,h,s(h.length),g,f-1)-1;else{if(g>=9007199254740991)throw TypeError();t[g]=h}g++}v++}return g}var i=n(94),o=n(7),s=n(10),a=n(32),u=n(9)("isConcatSpreadable");t.exports=r},function(t,e,n){var r=n(10),i=n(126),o=n(39);t.exports=function(t,e,n,s){var a=String(o(t)),u=a.length,l=void 0===n?" ":String(n),c=r(e);if(c<=u||""==l)return a;var f=c-u,p=i.call(l,Math.ceil(f/l.length));return p.length>f&&(p=p.slice(0,f)),s?p+a:a+p}},function(t,e,n){var r=n(11),i=n(56),o=n(28),s=n(82).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=i(a),l=u.length,c=0,f=[];l>c;)n=u[c++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){var r=n(71),i=n(204);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(62);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},function(t,e,n){"use strict";var r=n(85),i=n(42),o=n(208),s=n(65),a=n(75),u=n(453),l=n(112),c=n(457),f=n(22)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,g,v){u(n,e,h);var y,_,b,w=function(t){if(!p&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S="values"==m,E=!1,T=t.prototype,k=T[f]||T["@@iterator"]||m&&T[m],C=k||w(m),A=m?S?w("entries"):C:void 0,O="Array"==e?T.entries||k:k;if(O&&(b=c(O.call(new t)))!==Object.prototype&&b.next&&(l(b,x,!0),r||"function"==typeof b[f]||s(b,f,d)),S&&k&&"values"!==k.name&&(E=!0,C=function(){return k.call(this)}),r&&!v||!p&&!E&&T[f]||s(T,f,C),a[e]=C,a[x]=d,m)if(y={values:S?C:w("values"),keys:g?C:w("keys"),entries:A},v)for(_ in y)_ in T||o(T,_,y[_]);else i(i.P+i.F*(p||E),e,y);return y}},function(t,e,n){t.exports=!n(43)&&!n(74)(function(){return 7!=Object.defineProperty(n(151)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=n(65)},function(t,e,n){var r=n(46),i=n(454),o=n(155),s=n(153)("IE_PROTO"),a=function(){},u=function(){var t,e=n(151)("iframe"),r=o.length;for(e.style.display="none",n(213).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(66),i=n(67),o=n(455)(!1),s=n(153)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var r=n(86);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(149),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(21).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(111)("meta"),i=n(47),o=n(66),s=n(52).f,a=0,u=Object.isExtensible||function(){return!0},l=!n(74)(function(){return u(Object.preventExtensions({}))}),c=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[r].w},d=function(t){return l&&h.NEED&&u(t)&&!o(t,r)&&c(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(210),i=n(155).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e){},function(t,e,n){t.exports={default:n(470),__esModule:!0}},function(t,e,n){/**!

 @license
 handlebars v4.0.14

Copyright (C) 2011-2017 by Yehuda Katz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(){var t=v();return t.compile=function(e,n){return c.compile(e,n,t)},t.precompile=function(e,n){return c.precompile(e,n,t)},t.AST=u.default,t.Compiler=c.Compiler,t.JavaScriptCompiler=p.default,t.Parser=l.parser,t.parse=l.parse,t}var i=n(1).default;e.__esModule=!0;var o=n(2),s=i(o),a=n(35),u=i(a),l=n(36),c=n(41),f=n(42),p=i(f),d=n(39),h=i(d),m=n(34),g=i(m),v=s.default.create,y=r();y.create=r,g.default(y),y.Visitor=h.default,y.default=y,e.default=y,t.exports=e.default},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,n){"use strict";function r(){var t=new a.HandlebarsEnvironment;return d.extend(t,a),t.SafeString=l.default,t.Exception=f.default,t.Utils=d,t.escapeExpression=d.escapeExpression,t.VM=m,t.template=function(e){return m.template(e,t)},t}var i=n(3).default,o=n(1).default;e.__esModule=!0;var s=n(4),a=i(s),u=n(21),l=o(u),c=n(6),f=o(c),p=n(5),d=i(p),h=n(22),m=i(h),g=n(34),v=o(g),y=r();y.create=r,v.default(y),y.default=y,e.default=y,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__esModule=!0},function(t,e,n){"use strict";function r(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}var i=n(1).default;e.__esModule=!0,e.HandlebarsEnvironment=r;var o=n(5),s=n(6),a=i(s),u=n(10),l=n(18),c=n(20),f=i(c);e.VERSION="4.0.14";e.COMPILER_REVISION=7;var p={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=p;r.prototype={constructor:r,logger:f.default,log:f.default.log,registerHelper:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===o.toString.call(t))o.extend(this.partials,t);else{if(void 0===e)throw new a.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var d=f.default.log;e.log=d,e.createFrame=o.createFrame,e.logger=f.default},function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function i(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function o(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return p.test(t)?t.replace(f,n):t}function s(t){return!t&&0!==t||!(!m(t)||0!==t.length)}function a(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=i,e.escapeExpression=o,e.isEmpty=s,e.createFrame=a,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,p=/[&<>"'`=]/,d=Object.prototype.toString;e.toString=d;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===d.call(t)}),e.isFunction=h;var m=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===d.call(t)};e.isArray=m},function(t,e,n){"use strict";function r(t,e){var n=e&&e.loc,s=void 0,a=void 0;n&&(s=n.start.line,a=n.start.column,t+=" - "+s+":"+a);for(var u=Error.prototype.constructor.call(this,t),l=0;l<o.length;l++)this[o[l]]=u[o[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=s,i?Object.defineProperty(this,"column",{value:a,enumerable:!0}):this.column=a)}catch(t){}}var i=n(7).default;e.__esModule=!0;var o=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,e.default=r,t.exports=e.default},function(t,e,n){t.exports={default:n(8),__esModule:!0}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){"use strict";function r(t){s.default(t),u.default(t),c.default(t),p.default(t),h.default(t),g.default(t),y.default(t)}var i=n(1).default;e.__esModule=!0,e.registerDefaultHelpers=r;var o=n(11),s=i(o),a=n(12),u=i(a),l=n(13),c=i(l),f=n(14),p=i(f),d=n(15),h=i(d),m=n(16),g=i(m),v=n(17),y=i(v)},function(t,e,n){"use strict";e.__esModule=!0;var r=n(5);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,n){var i=n.inverse,o=n.fn;if(!0===e)return o(this);if(!1===e||null==e)return i(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):i(this);if(n.data&&n.ids){var s=r.createFrame(n.data);s.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:s}}return o(e,n)})},t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;e.__esModule=!0;var i=n(5),o=n(6),s=r(o);e.default=function(t){t.registerHelper("each",function(t,e){function n(e,n,o){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!o,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:i.blockParams([t[e],e],[c+e,null])})}if(!e)throw new s.default("Must pass iterator to #each");var r=e.fn,o=e.inverse,a=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=i.appendContextPath(e.data.contextPath,e.ids[0])+"."),i.isFunction(t)&&(t=t.call(this)),e.data&&(l=i.createFrame(e.data)),t&&"object"==typeof t)if(i.isArray(t))for(var f=t.length;a<f;a++)a in t&&n(a,a,a===t.length-1);else{var p=void 0;for(var d in t)t.hasOwnProperty(d)&&(void 0!==p&&n(p,a-1),p=d,a++);void 0!==p&&n(p,a-1,!0)}return 0===a&&(u=o(this)),u})},t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;e.__esModule=!0;var i=n(6),o=r(i);e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(5);e.default=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers.if.call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),e[0]=i,t.log.apply(t,e)})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("lookup",function(t,e){if(!t)return t;if("constructor"!==e||t.propertyIsEnumerable(e))return t[e]})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(5);e.default=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var i=e.data;return e.data&&e.ids&&(i=r.createFrame(e.data),i.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:i,blockParams:r.blockParams([t],[i&&i.contextPath])})})},t.exports=e.default},function(t,e,n){"use strict";function r(t){s.default(t)}var i=n(1).default;e.__esModule=!0,e.registerDefaultDecorators=r;var o=n(19),s=i(o)},function(t,e,n){"use strict";e.__esModule=!0;var r=n(5);e.default=function(t){t.registerDecorator("inline",function(t,e,n,i){var o=t;return e.partials||(e.partials={},o=function(i,o){var s=n.partials;n.partials=r.extend({},s,e.partials);var a=t(i,o);return n.partials=s,a}),e.partials[i.args[0]]=i.fn,o})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(5),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(i.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]}}};e.default=i,t.exports=e.default},function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e.default=n,t.exports=e.default},function(t,e,n){"use strict";function r(t){var e=t&&t[0]||1,n=y.COMPILER_REVISION;if(e!==n){if(e<n){var r=y.REVISION_CHANGES[n],i=y.REVISION_CHANGES[e];throw new v.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new v.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function i(t,e){function n(n,r,i){i.hash&&(r=m.extend({},r,i.hash),i.ids&&(i.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,i);var o=e.VM.invokePartial.call(this,n,r,i);if(null==o&&e.compile&&(i.partials[i.name]=e.compile(n,t.compilerOptions,e),o=i.partials[i.name](r,i)),null!=o){if(i.indent){for(var s=o.split("\n"),a=0,u=s.length;a<u&&(s[a]||a+1!==u);a++)s[a]=i.indent+s[a];o=s.join("\n")}return o}throw new v.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(i,e,i.helpers,i.partials,s,u,a)}var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=o.data;r._setup(o),!o.partial&&t.useData&&(s=l(e,s));var a=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(a=o.depths?e!=o.depths[0]?[e].concat(o.depths):o.depths:[e]),(n=c(t.main,n,i,o.depths||[],s,u))(e,o)}if(!e)throw new v.default("No environment passed to template");if(!t||!t.main)throw new v.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var i={strict:function(t,e){if(!(e in t))throw new v.default('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:m.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,i){var s=this.programs[t],a=this.fn(t);return e||i||r||n?s=o(this,t,a,e,n,r,i):s||(s=this.programs[t]=o(this,t,a)),s},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=m.extend({},e,t)),n},nullContext:f({}),noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials,i.decorators=n.decorators):(i.helpers=i.merge(n.helpers,e.helpers),t.usePartial&&(i.partials=i.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=i.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,s){if(t.useBlockParams&&!r)throw new v.default("must pass block params");if(t.useDepths&&!s)throw new v.default("must pass parent depths");return o(i,e,t[e],n,0,r,s)},r}function o(t,e,n,r,i,o,s){function a(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=s;return!s||e==s[0]||e===t.nullContext&&null===s[0]||(a=[e].concat(s)),n(t,e,t.helpers,t.partials,i.data||r,o&&[i.blockParams].concat(o),a)}return a=c(n,a,t,s,r,o),a.program=e,a.depth=s?s.length:0,a.blockParams=i||0,a}function s(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function a(t,e,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var i=void 0;if(n.fn&&n.fn!==u&&function(){n.data=y.createFrame(n.data);var t=n.fn;i=n.data["partial-block"]=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=y.createFrame(n.data),n.data["partial-block"]=r,t(e,n)},t.partials&&(n.partials=m.extend({},n.partials,t.partials))}(),void 0===t&&i&&(t=i),void 0===t)throw new v.default("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function u(){return""}function l(t,e){return e&&"root"in e||(e=e?y.createFrame(e):{},e.root=t),e}function c(t,e,n,r,i,o){if(t.decorator){var s={};e=t.decorator(e,s,n,r&&r[0],i,o,r),m.extend(e,s)}return e}var f=n(23).default,p=n(3).default,d=n(1).default;e.__esModule=!0,e.checkRevision=r,e.template=i,e.wrapProgram=o,e.resolvePartial=s,e.invokePartial=a,e.noop=u;var h=n(5),m=p(h),g=n(6),v=d(g),y=n(4)},function(t,e,n){t.exports={default:n(24),__esModule:!0}},function(t,e,n){n(25),t.exports=n(30).Object.seal},function(t,e,n){var r=n(26);n(27)("seal",function(t){return function(e){return t&&r(e)?t(e):e}})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(28),i=n(30),o=n(33);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(29),i=n(30),o=n(31),s=function(t,e,n){var a,u,l,c=t&s.F,f=t&s.G,p=t&s.S,d=t&s.P,h=t&s.B,m=t&s.W,g=f?i:i[e]||(i[e]={}),v=f?r:p?r[e]:(r[e]||{}).prototype;f&&(n=e);for(a in n)(u=!c&&v&&a in v)&&a in g||(l=u?v[a]:n[a],g[a]=f&&"function"!=typeof v[a]?n[a]:h&&u?o(l,r):m&&v[a]==l?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((g.prototype||(g.prototype={}))[a]=l))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(32);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){(function(n){"use strict";e.__esModule=!0,e.default=function(t){var e=void 0!==n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e.default}).call(e,function(){return this}())},function(t,e){"use strict";e.__esModule=!0;var n={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!n.helpers.scopedId(t)&&!t.depth}}};e.default=n,t.exports=e.default},function(t,e,n){"use strict";function r(t,e){return"Program"===t.type?t:(a.default.yy=d,d.locInfo=function(t){return new d.SourceLocation(e&&e.srcName,t)},new l.default(e).accept(a.default.parse(t)))}var i=n(1).default,o=n(3).default;e.__esModule=!0,e.parse=r;var s=n(37),a=i(s),u=n(38),l=i(u),c=n(40),f=o(c),p=n(5);e.parser=a.default;var d={};p.extend(d,f)},function(t,e){"use strict";e.__esModule=!0;var n=function(){function t(){this.yy={}}var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,n,r,i,o,s){var a=o.length-1;switch(i){case 1:return o[a-1];case 2:this.$=r.prepareProgram(o[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=o[a];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(o[a]),strip:r.stripFlags(o[a],o[a]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[a],value:o[a],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(o[a-2],o[a-1],o[a],this._$);break;case 12:this.$={path:o[a-3],params:o[a-2],hash:o[a-1]};break;case 13:this.$=r.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],!1,this._$);break;case 14:this.$=r.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],!0,this._$);break;case 15:this.$={open:o[a-5],path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:r.stripFlags(o[a-5],o[a])};break;case 16:case 17:this.$={path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:r.stripFlags(o[a-5],o[a])};break;case 18:this.$={strip:r.stripFlags(o[a-1],o[a-1]),program:o[a]};break;case 19:var u=r.prepareBlock(o[a-2],o[a-1],o[a],o[a],!1,this._$),l=r.prepareProgram([u],o[a-1].loc);l.chained=!0,this.$={strip:o[a-2].strip,program:l,chain:!0};break;case 20:this.$=o[a];break;case 21:this.$={path:o[a-1],strip:r.stripFlags(o[a-2],o[a])};break;case 22:case 23:this.$=r.prepareMustache(o[a-3],o[a-2],o[a-1],o[a-4],r.stripFlags(o[a-4],o[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[a-3],params:o[a-2],hash:o[a-1],indent:"",strip:r.stripFlags(o[a-4],o[a]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(o[a-2],o[a-1],o[a],this._$);break;case 26:this.$={path:o[a-3],params:o[a-2],hash:o[a-1],strip:r.stripFlags(o[a-4],o[a])};break;case 27:case 28:this.$=o[a];break;case 29:this.$={type:"SubExpression",path:o[a-3],params:o[a-2],hash:o[a-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[a],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(o[a-2]),value:o[a],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(o[a-1]);break;case 33:case 34:this.$=o[a];break;case 35:this.$={type:"StringLiteral",value:o[a],original:o[a],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[a]),original:Number(o[a]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===o[a],original:"true"===o[a],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 40:case 41:this.$=o[a];break;case 42:this.$=r.preparePath(!0,o[a],this._$);break;case 43:this.$=r.preparePath(!1,o[a],this._$);break;case 44:o[a-2].push({part:r.id(o[a]),original:o[a],separator:o[a-1]}),this.$=o[a-2];break;case 45:this.$=[{part:r.id(o[a]),original:o[a]}];break;case 46:this.$=[];break;case 47:o[a-1].push(o[a]);break;case 48:this.$=[o[a]];break;case 49:o[a-1].push(o[a]);break;case 50:this.$=[];break;case 51:o[a-1].push(o[a]);break;case 58:this.$=[];break;case 59:o[a-1].push(o[a]);break;case 64:this.$=[];break;case 65:o[a-1].push(o[a]);break;case 70:this.$=[];break;case 71:o[a-1].push(o[a]);break;case 78:this.$=[];break;case 79:o[a-1].push(o[a]);break;case 82:this.$=[];break;case 83:o[a-1].push(o[a]);break;case 86:this.$=[];break;case 87:o[a-1].push(o[a]);break;case 90:this.$=[];break;case 91:o[a-1].push(o[a]);break;case 94:this.$=[];break;case 95:o[a-1].push(o[a]);break;case 98:this.$=[o[a]];break;case 99:o[a-1].push(o[a]);break;case 100:this.$=[o[a]];break;case 101:o[a-1].push(o[a])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,n=[0],r=[null],i=[],o=this.table,s="",a=0,u=0,l=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;i.push(c);var f=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,d,h,m,g,v,y,_,b,w={};;){if(h=n[n.length-1],this.defaultActions[h]?m=this.defaultActions[h]:(null!==p&&void 0!==p||(p=function(){var t;return t=e.lexer.lex()||1,"number"!=typeof t&&(t=e.symbols_[t]||t),t}()),m=o[h]&&o[h][p]),void 0===m||!m.length||!m[0]){var x="";if(!l){b=[];for(v in o[h])this.terminals_[v]&&v>2&&b.push("'"+this.terminals_[v]+"'");x=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:b})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+h+", token: "+p);switch(m[0]){case 1:n.push(p),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(m[1]),p=null,d?(p=d,d=null):(u=this.lexer.yyleng,s=this.lexer.yytext,a=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(y=this.productions_[m[1]][1],w.$=r[r.length-y],w._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},f&&(w._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.call(w,s,u,a,this.yy,m[1],r,i)))return g;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[m[1]][0]),r.push(w.$),i.push(w._$),_=o[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0}},n=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,r,i;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length&&(!(n=this._input.match(this.rules[o[s]]))||e&&!(n[0].length>e[0].length)||(e=n,r=s,this.options.flex));s++);return e?(i=e[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return t.options={},t.performAction=function(t,e,n,r){function i(t,n){return e.yytext=e.yytext.substr(t,e.yyleng-n)}switch(n){case 0:if("\\\\"===e.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(e.yytext=e.yytext.substr(5,e.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},t.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],t.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},t}();return e.lexer=n,t.prototype=e,e.Parser=t,new t}();e.default=n,t.exports=e.default},function(t,e,n){"use strict";function r(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function i(t,e,n){void 0===e&&(e=t.length);var r=t[e-1],i=t[e-2];return r?"ContentStatement"===r.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function o(t,e,n){void 0===e&&(e=-1);var r=t[e+1],i=t[e+2];return r?"ContentStatement"===r.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function s(t,e,n){var r=t[null==e?0:e+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function a(t,e,n){var r=t[null==e?t.length-1:e-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}var u=n(1).default;e.__esModule=!0;var l=n(39),c=u(l);r.prototype=new c.default,r.prototype.Program=function(t){var e=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=t.body,u=0,l=r.length;u<l;u++){var c=r[u],f=this.accept(c);if(f){var p=i(r,u,n),d=o(r,u,n),h=f.openStandalone&&p,m=f.closeStandalone&&d,g=f.inlineStandalone&&p&&d;f.close&&s(r,u,!0),f.open&&a(r,u,!0),e&&g&&(s(r,u),a(r,u)&&"PartialStatement"===c.type&&(c.indent=/([ \t]+$)/.exec(r[u-1].original)[1])),e&&h&&(s((c.program||c.inverse).body),a(r,u)),e&&m&&(s(r,u),a((c.inverse||c.program).body))}}return t},r.prototype.BlockStatement=r.prototype.DecoratorBlock=r.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,n=t.program&&t.inverse,r=n,u=n;if(n&&n.chained)for(r=n.body[0].program;u.chained;)u=u.body[u.body.length-1].program;var l={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:o(e.body),closeStandalone:i((r||e).body)};if(t.openStrip.close&&s(e.body,null,!0),n){var c=t.inverseStrip;c.open&&a(e.body,null,!0),c.close&&s(r.body,null,!0),t.closeStrip.open&&a(u.body,null,!0),!this.options.ignoreStandalone&&i(e.body)&&o(r.body)&&(a(e.body),s(r.body))}else t.closeStrip.open&&a(e.body,null,!0);return l},r.prototype.Decorator=r.prototype.MustacheStatement=function(t){return t.strip},r.prototype.PartialStatement=r.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.default=r,t.exports=e.default},function(t,e,n){"use strict";function r(){this.parents=[]}function i(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function o(t){i.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function s(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var a=n(1).default;e.__esModule=!0;var u=n(6),l=a(u);r.prototype={constructor:r,mutating:!1,acceptKey:function(t,e){var n=this.accept(t[e]);if(this.mutating){if(n&&!r.prototype[n.type])throw new l.default('Unexpected node type "'+n.type+'" found when accepting '+e+" on "+t.type);t[e]=n}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new l.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,n=t.length;e<n;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,n--)},accept:function(t){if(t){if(!this[t.type])throw new l.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:i,Decorator:i,BlockStatement:o,DecoratorBlock:o,PartialStatement:s,PartialBlockStatement:function(t){s.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:i,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.default=r,t.exports=e.default},function(t,e,n){"use strict";function r(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var n={loc:t.path.loc};throw new g.default(t.path.original+" doesn't match "+e,n)}}function i(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function o(t){return/^\[.*\]$/.test(t)?t.substr(1,t.length-2):t}function s(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}}function a(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function u(t,e,n){n=this.locInfo(n);for(var r=t?"@":"",i=[],o=0,s=0,a=e.length;s<a;s++){var u=e[s].part,l=e[s].original!==u;if(r+=(e[s].separator||"")+u,l||".."!==u&&"."!==u&&"this"!==u)i.push(u);else{if(i.length>0)throw new g.default("Invalid path: "+r,{loc:n});".."===u&&o++}}return{type:"PathExpression",data:t,depth:o,parts:i,original:r,loc:n}}function l(t,e,n,r,i,o){var s=r.charAt(3)||r.charAt(2),a="{"!==s&&"&"!==s;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:t,params:e,hash:n,escaped:a,strip:i,loc:this.locInfo(o)}}function c(t,e,n,i){r(t,n),i=this.locInfo(i);var o={type:"Program",body:e,strip:{},loc:i};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}}function f(t,e,n,i,o,s){i&&i.path&&r(t,i);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var u=void 0,l=void 0;if(n){if(a)throw new g.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=i.strip),l=n.strip,u=n.program}return o&&(o=u,u=e,e=o),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:u,openStrip:t.strip,inverseStrip:l,closeStrip:i&&i.strip,loc:this.locInfo(s)}}function p(t,e){if(!e&&t.length){var n=t[0].loc,r=t[t.length-1].loc;n&&r&&(e={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function d(t,e,n,i){return r(t,n),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:n&&n.strip,loc:this.locInfo(i)}}var h=n(1).default;e.__esModule=!0,e.SourceLocation=i,e.id=o,e.stripFlags=s,e.stripComment=a,e.preparePath=u,e.prepareMustache=l,e.prepareRawBlock=c,e.prepareBlock=f,e.prepareProgram=p,e.preparePartialBlock=d;var m=n(6),g=h(m)},function(t,e,n){"use strict";function r(){}function i(t,e,n){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var r=n.parse(t,e),i=(new n.Compiler).compile(r,e);return(new n.JavaScriptCompiler).compile(i,e)}function o(t,e,n){function r(){var r=n.parse(t,e),i=(new n.Compiler).compile(r,e),o=(new n.JavaScriptCompiler).compile(i,e,void 0,!0);return n.template(o)}function i(t,e){return o||(o=r()),o.call(this,t,e)}if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=f.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var o=void 0;return i._setup=function(t){return o||(o=r()),o._setup(t)},i._child=function(t,e,n,i){return o||(o=r()),o._child(t,e,n,i)},i}function s(t,e){if(t===e)return!0;if(f.isArray(t)&&f.isArray(e)&&t.length===e.length){for(var n=0;n<t.length;n++)if(!s(t[n],e[n]))return!1;return!0}}function a(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}var u=n(1).default;e.__esModule=!0,e.Compiler=r,e.precompile=i,e.compile=o;var l=n(6),c=u(l),f=n(5),p=n(35),d=u(p),h=[].slice;r.prototype={compiler:r,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var n=0;n<e;n++){var r=this.opcodes[n],i=t.opcodes[n];if(r.opcode!==i.opcode||!s(r.args,i.args))return!1}e=this.children.length;for(var n=0;n<e;n++)if(!this.children[n].equals(t.children[n]))return!1;return!0},guid:0,compile:function(t,e){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[];var n=e.knownHelpers;if(e.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},n)for(var r in n)this.options.knownHelpers[r]=n[r];return this.accept(t)},compileProgram:function(t){var e=new this.compiler,n=e.compile(t,this.options),r=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[r]=n,this.useDepths=this.useDepths||n.useDepths,r},accept:function(t){if(!this[t.type])throw new c.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,n=e.length,r=0;r<n;r++)this.accept(e[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){a(t);var e=t.program,n=t.inverse;e=e&&this.compileProgram(e),n=n&&this.compileProgram(n);var r=this.classifySexpr(t);"helper"===r?this.helperSexpr(t,e,n):"simple"===r?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,n),this.opcode("pushProgram",e),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),n=this.setupFullMustacheParams(t,e,void 0),r=t.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var n=t.params;if(n.length>1)throw new c.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=t.name.original,i="SubExpression"===t.name.type;i&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var o=t.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",i,r,o),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){a(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,n){var r=t.path,i=r.parts[0],o=null!=e||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,n){var r=this.setupFullMustacheParams(t,e,n),i=t.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",r.length,o);else{if(this.options.knownHelpersOnly)throw new c.default("You specified knownHelpersOnly, but used the unknown helper "+o,t);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",r.length,i.original,d.default.helpers.simpleId(i))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],n=d.default.helpers.scopedId(t),r=!t.depth&&!n&&this.blockParamIndex(e);r?this.opcode("lookupBlockParam",r,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,n=0,r=e.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(e[n].value);for(;n--;)this.opcode("assignToHash",e[n].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:h.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=d.default.helpers.simpleId(t.path),n=e&&!!this.blockParamIndex(t.path.parts[0]),r=!n&&d.default.helpers.helperExpression(t),i=!n&&(r||e);if(i&&!r){var o=t.path.parts[0],s=this.options;s.knownHelpers[o]?r=!0:s.knownHelpersOnly&&(i=!1)}return r?"helper":i?"ambiguous":"simple"},pushParams:function(t){for(var e=0,n=t.length;e<n;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var n=void 0;if(!t.parts||d.default.helpers.scopedId(t)||t.depth||(n=this.blockParamIndex(t.parts[0])),n){var r=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}else e=t.original||e,e.replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,n,r){var i=t.params;return this.pushParams(i),this.opcode("pushProgram",e),this.opcode("pushProgram",n),t.hash?this.accept(t.hash):this.opcode("emptyHash",r),i},blockParamIndex:function(t){for(var e=0,n=this.options.blockParams.length;e<n;e++){var r=this.options.blockParams[e],i=r&&f.indexOf(r,t);if(r&&i>=0)return[e,i]}}}},function(t,e,n){"use strict";function r(t){this.value=t}function i(){}function o(t,e,n,r){var i=e.popStack(),o=0,s=n.length;for(t&&s--;o<s;o++)i=e.nameLookup(i,n[o],r);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(n[o]),")"]:i}var s=n(1).default;e.__esModule=!0;var a=n(4),u=n(6),l=s(u),c=n(5),f=n(43),p=s(f);i.prototype={nameLookup:function(t,e){return"constructor"===e?["(",t,".propertyIsEnumerable('constructor') ? ",t,".constructor : undefined",")"]:i.isValidJavaScriptVariableName(e)?[t,".",e]:[t,"[",JSON.stringify(e),"]"]},depthedLookup:function(t){return[this.aliasable("container.lookup"),'(depths, "',t,'")']},compilerInfo:function(){var t=a.COMPILER_REVISION;return[t,a.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,n){return c.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},compile:function(t,e,n,r){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var i=t.opcodes,o=void 0,s=void 0,a=void 0,u=void 0;for(a=0,u=i.length;a<u;a++)o=i[a],this.source.currentLocation=o.loc,s=s||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new l.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var c=this.createFunctionContext(r);if(this.isChild)return c;var f={compiler:this.compilerInfo(),main:c};this.decorators&&(f.main_d=this.decorators,f.useDecorators=!0);var p=this.context,d=p.programs,h=p.decorators;for(a=0,u=d.length;a<u;a++)d[a]&&(f[a]=d[a],h[a]&&(f[a+"_d"]=h[a],f.useDecorators=!0));return this.environment.usePartial&&(f.usePartial=!0),this.options.data&&(f.useData=!0),this.useDepths&&(f.useDepths=!0),this.useBlockParams&&(f.useBlockParams=!0),this.options.compat&&(f.compat=!0),r?f.compilerOptions=this.options:(f.compiler=JSON.stringify(f.compiler),this.source.currentLocation={start:{line:1,column:0}},f=this.objectLiteral(f),e.srcName?(f=f.toStringWithSourceMap({file:e.destName}),f.map=f.map&&f.map.toString()):f=f.toString()),f},preamble:function(){this.lastContext=0,this.source=new p.default(this.options.srcName),this.decorators=new p.default(this.options.srcName)},createFunctionContext:function(t){var e="",n=this.stackVars.concat(this.registers.list);n.length>0&&(e+=", "+n.join(", "));var r=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(e+=", alias"+ ++r+"="+i,o.children[0]="alias"+r)}var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var a=this.mergeSource(e);return t?(s.push(a),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),") {\n  ",a,"}"])},mergeSource:function(t){var e=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,o=void 0,s=void 0;return this.source.each(function(t){t.appendToBuffer?(o?t.prepend("  + "):o=t,s=t):(o&&(i?o.prepend("buffer += "):r=!0,s.add(";"),o=s=void 0),i=!0,e||(n=!1))}),n?o?(o.prepend("return "),s.add(";")):i||this.source.push('return "";'):(t+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(t){var e=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(e,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("helpers.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var n=this.topStack();e.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,n,r){var i=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[i++])),this.resolvePath("context",t,i,e,n)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,n)},resolvePath:function(t,e,n,r,i){var s=this;if(this.options.strict||this.options.assumeObjects)return void this.push(o(this.options.strict&&i,this,e,t));for(var a=e.length;n<a;n++)this.replaceStack(function(i){var o=s.nameLookup(i,e[n],t);return r?[" && ",o]:[" != null ? ",o," : ",i]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var n=this.nameLookup("decorators",e,"decorator"),r=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",r])," || fn;"])},invokeHelper:function(t,e,n){var r=this.popStack(),i=this.setupHelper(t,e),o=n?[i.name," || "]:"",s=["("].concat(o,r);this.options.strict||s.push(" || ",this.aliasable("helpers.helperMissing")),s.push(")"),this.push(this.source.functionCall(s,"call",i.callParams))},invokeKnownHelper:function(t,e){var n=this.setupHelper(t,e);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,t,e),i=this.lastHelper=this.nameLookup("helpers",t,"helper"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(t,e,n){var r=[],i=this.setupParams(e,1,r);t&&(e=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",t?r.unshift(e):r.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(t){var e=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var o=this.hash;n&&(o.contexts[t]=n),r&&(o.types[t]=r),i&&(o.ids[t]=i),o.values[t]=e},pushId:function(t,e,n){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:i,compileChildren:function(t,e){for(var n=t.children,r=void 0,i=void 0,o=0,s=n.length;o<s;o++){r=n[o],i=new this.compiler;var a=this.matchExistingProgram(r);if(null==a){this.context.programs.push("");var u=this.context.programs.length;r.index=u,r.name="program"+u,this.context.programs[u]=i.compile(r,e,this.context,!this.precompile),this.context.decorators[u]=i.decorators,this.context.environments[u]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=a.index,r.name="program"+a.index,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams}},matchExistingProgram:function(t){for(var e=0,n=this.context.environments.length;e<n;e++){var r=this.context.environments[e];if(r&&r.equals(t))return r}},programExpression:function(t){var e=this.environment.children[t],n=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof r||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new r(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new l.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof r)n=[s.value],e=["(",n],o=!0;else{i=!0;var a=this.incrStack();e=["((",this.push(a)," = ",s,")"],n=this.topStack()}var u=t.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(e.concat(u,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,n=t.length;e<n;e++){var i=t[e];if(i instanceof r)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),n=(e?this.inlineStack:this.compileStack).pop();if(!t&&n instanceof r)return n.value;if(!e){if(!this.stackSlot)throw new l.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof r?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):(e=this.aliases[t]=this.source.wrap(t),e.aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(e,t,r,n),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(t,e,n){var r={},i=[],o=[],s=[],a=!n,u=void 0;a&&(n=[]),r.name=this.quotedString(t),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),c=this.popStack();(c||l)&&(r.fn=c||"container.noop",r.inverse=l||"container.noop");for(var f=e;f--;)u=this.popStack(),n[f]=u,this.trackIds&&(s[f]=this.popStack()),this.stringParams&&(o[f]=this.popStack(),i[f]=this.popStack());return a&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(s)),this.stringParams&&(r.types=this.source.generateArray(o),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(t,e,n,r){var i=this.setupParams(t,e,n);return i=this.objectLiteral(i),r?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=i.RESERVED_WORDS={},n=0,r=t.length;n<r;n++)e[t[n]]=!0}(),i.isValidJavaScriptVariableName=function(t){return!i.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=i,t.exports=e.default},function(t,e,n){"use strict";function r(t,e,n){if(o.isArray(t)){for(var r=[],i=0,s=t.length;i<s;i++)r.push(e.wrap(t[i],n));return r}return"boolean"==typeof t||"number"==typeof t?t+"":t}function i(t){this.srcFile=t,this.source=[]}e.__esModule=!0;var o=n(5),s=void 0;try{}catch(t){}s||(s=function(t,e,n,r){this.src="",r&&this.add(r)},s.prototype={add:function(t){o.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){o.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),i.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add(["  ",e,"\n"])}),t},each:function(t){for(var e=0,n=this.source.length;e<n;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new s(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof s?t:(t=r(t,this,e),new s(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,n){return n=this.generateList(n),this.wrap([t,e?"."+e+"(":"(",n,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var i=r(t[n],this);"undefined"!==i&&e.push([this.quotedString(n),":",i])}var o=this.generateList(e);return o.prepend("{"),o.add("}"),o},generateList:function(t){for(var e=this.empty(),n=0,i=t.length;n<i;n++)n&&e.add(","),e.add(r(t[n],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend("["),e.add("]"),e}},e.default=i,t.exports=e.default}])})},function(t,e,n){function r(t,e){function n(){var n=t.getItem(e);n=n||"{}";try{return JSON.parse(n)}catch(t){throw new i("Unable to parse storage string: "+e)}}function r(n){try{var r=JSON.stringify(n);t.setItem(e,r)}catch(t){throw new i("Unable to set storage: "+e)}}function o(t){t||r({});var e=n();delete e[t],r(e)}function s(t,e){var i=n();i[t]=e,r(i)}if("string"!=typeof e||!e.length)throw new i('"storageName" is required');return{getStorage:n,setStorage:r,clearStorage:o,updateStorage:s}}var i=n(53);t.exports=r},function(t,e,n){function r(t,e){var n={};return m.extend(n,e),!n.stateToken&&t.stateToken&&(n.stateToken=t.stateToken),n}function i(t){return r(t)}function o(t,e){return e=r(t,e),h.post(t,t.options.url+"/api/v1/authn",e)}function s(t,e){if(!e||!e.stateToken){var n=t.tx.exists._get(_.STATE_TOKEN_KEY_NAME);if(!n)return g.reject(new v("No transaction to resume"));e={stateToken:n}}return t.tx.status(e).then(function(e){return new d(t,e)})}function a(t){return!!t.tx.exists._get(_.STATE_TOKEN_KEY_NAME)}function u(t,e,n,r){return h.post(t,e,n,r).then(function(e){return new d(t,e)})}function l(t,e,n){return function(r){function o(){var n={};if("function"==typeof u)try{n.autoPush=!!u()}catch(t){return g.reject(new v("AutoPush resulted in an error."))}else void 0!==u&&null!==u&&(n.autoPush=!!u);if("function"==typeof a)try{n.rememberDevice=!!a()}catch(t){return g.reject(new v("RememberDevice resulted in an error."))}else void 0!==a&&null!==a&&(n.rememberDevice=!!a);var r=l.href+m.toQueryParams(n);return h.post(t,r,i(e),{saveAuthnState:!1})}var s,a,u;m.isNumber(r)?s=r:m.isObject(r)&&(s=r.delay,a=r.rememberDevice,u=r.autoPush),s||0===s||(s=_.DEFAULT_POLLING_DELAY);var l=m.getLink(e,"next","poll");n.isPolling=!0;var c=0,f=function(){return n.isPolling?o().then(function(e){if(c=0,e.factorResult&&"WAITING"===e.factorResult){if(!n.isPolling)throw new y;return g.delay(s).then(f)}return n.isPolling=!1,new d(t,e)}).fail(function(t){if(t.xhr&&(0===t.xhr.status||429===t.xhr.status)&&c<=4){var e=1e3*Math.pow(2,c);return c++,g.delay(e).then(f)}throw t}):g.reject(new y)};return f().fail(function(t){throw n.isPolling=!1,t})}}function c(t,e,n,i,o){if(Array.isArray(i))return function(r,s){if(!r)throw new v("Must provide a link name");var a=m.find(i,{name:r});if(!a)throw new v("No link found for that name");return c(t,e,n,a,o)(s)};if(i.hints&&i.hints.allow&&1===i.hints.allow.length){switch(i.hints.allow[0]){case"GET":return function(){return h.get(t,i.href)};case"POST":return function(s){o&&o.isPolling&&(o.isPolling=!1);var a=r(e,s);"MFA_ENROLL"!==e.status&&"FACTOR_ENROLL"!==e.status||m.extend(a,{factorType:n.factorType,provider:n.provider});var l={},c=a.autoPush;if(void 0!==c){if("function"==typeof c)try{l.autoPush=!!c()}catch(t){return g.reject(new v("AutoPush resulted in an error."))}else null!==c&&(l.autoPush=!!c);a=m.omit(a,"autoPush")}var f=a.rememberDevice;if(void 0!==f){if("function"==typeof f)try{l.rememberDevice=!!f()}catch(t){return g.reject(new v("RememberDevice resulted in an error."))}else null!==f&&(l.rememberDevice=!!f);a=m.omit(a,"rememberDevice")}else a.profile&&void 0!==a.profile.updatePhone&&(a.profile.updatePhone&&(l.updatePhone=!0),a.profile=m.omit(a.profile,"updatePhone"));var p=i.href+m.toQueryParams(l);return u(t,p,a)}}}}function f(t,e,n,r){var i={};for(var o in n._links)if(n._links.hasOwnProperty(o)){var s=n._links[o];if("next"===o&&(o=s.name),s.type)i[o]=s;else switch(o){case"poll":i.poll=l(t,e,r);break;default:var a=c(t,e,n,s,r);a&&(i[o]=a)}}return i}function p(t,e,n,r){if(n=n||e,n=m.clone(n),Array.isArray(n)){for(var i=[],o=0,s=n.length;o<s;o++)i.push(p(t,e,n[o],r));return i}var a=n._embedded||{};for(var u in a)a.hasOwnProperty(u)&&(m.isObject(a[u])||Array.isArray(a[u]))&&(a[u]=p(t,e,a[u],r));var l=f(t,e,n,r);return m.extend(a,l),n=m.omit(n,"_embedded","_links"),m.extend(n,a),n}function d(t,e){e&&(this.data=e,m.extend(this,p(t,e,e,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==e.status||e._links||(this.cancel=function(){return new g(new d(t))}))}var h=n(78),m=n(37),g=n(12),v=n(53),y=n(486),_=n(77);t.exports={transactionStatus:o,resumeTransaction:s,transactionExists:a,postToTransaction:u}},function(t,e,n){function r(){return g.genRandomString(64)}function i(){return g.genRandomString(64)}function o(t){return!(!t||!t.accessToken&&!t.idToken||!Array.isArray(t.scopes))}function s(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent("on"+e,n)}function a(t,e,n){t.removeEventListener?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}function u(t){var e=document.createElement("iframe");return e.style.display="none",e.src=t,document.body.appendChild(e)}function l(t,e){var n=e.popupTitle||"External Identity Provider User Authentication",r="toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600";if(g.isIE11OrLess()){var i=window.open("/",n,r);return i.location.href=t,i}return window.open(t,n,r)}function c(t,e){return m.get(t,(e||t.options.url)+"/.well-known/openid-configuration",{cacheResponse:!0})}function f(t,e,n){return c(t,e).then(function(e){var r=e.jwks_uri,i=_.getStorage(),o=i[r];if(o&&Date.now()/1e3<o.expiresAt){var s=g.find(o.response.keys,{kid:n});if(s)return s}return _.clearStorage(r),m.get(t,r,{cacheResponse:!0}).then(function(t){var e=g.find(t.keys,{kid:n});if(e)return e;throw new y("The key id, "+n+", was not found in the server's keys")})})}function p(t,e,n){var r=n.clientId,i=n.issuer,o=n.nonce;if(!e||!i||!r)throw new y("The jwt, iss, and aud arguments are all required");if(o&&e.nonce!==o)throw new y("OAuth flow response nonce doesn't match request nonce");var s=Math.floor(Date.now()/1e3);if(e.iss!==i)throw new y("The issuer ["+e.iss+"] does not match ["+i+"]");if(e.aud!==r)throw new y("The audience ["+e.aud+"] does not match ["+r+"]");if(e.iat>e.exp)throw new y("The JWT expired before it was issued");if(s-t.options.maxClockSkew>e.exp)throw new y("The JWT expired and is no longer valid");if(e.iat>s+t.options.maxClockSkew)throw new y("The JWT was issued in the future")}function d(t,e,n){n=n||{};var r=g.removeTrailingSlash(n.authorizeUrl)||t.options.authorizeUrl,i=g.removeTrailingSlash(n.issuer)||t.options.issuer,o=g.removeTrailingSlash(n.userinfoUrl)||t.options.userinfoUrl,s=g.removeTrailingSlash(n.tokenUrl)||t.options.tokenUrl;if(i&&!/^https?:/.test(i)&&(i=t.options.url+"/oauth2/"+i),!i&&r&&-1!==e.responseType.indexOf("id_token"))throw new y("Cannot request idToken with an authorizeUrl without an issuer");if(!i&&-1!==e.responseType.indexOf("token")){if(r&&!o)throw new y("Cannot request accessToken with an authorizeUrl without an issuer or userinfoUrl");if(o&&!r)throw new y("Cannot request token with an userinfoUrl without an issuer or authorizeUrl")}var a=new RegExp("^https?://.*?/oauth2/.+");return i=i||t.options.url,a.test(i)?(r=r||i+"/v1/authorize",o=o||i+"/v1/userinfo",s=s||i+"/v1/token"):(r=r||i+"/oauth2/v1/authorize",o=o||i+"/oauth2/v1/userinfo",s=s||i+"/oauth2/v1/token"),{issuer:i,authorizeUrl:r,userinfoUrl:o,tokenUrl:s}}function h(t){for(var e,n=/\+/g,r=/([^&=]+)=?([^&]*)/g,i=t.substring(1),o={};;){if(!(e=r.exec(i)))break;var s=e[1],a=e[2];o[s]="id_token"===s||"access_token"===s||"code"===s?a:decodeURIComponent(a.replace(n," "))}return o}var m=n(78),g=n(37),v=n(88),y=n(53),_=v.getHttpCache();t.exports={generateState:r,generateNonce:i,getWellKnown:c,getKey:f,validateClaims:p,getOAuthUrls:d,loadFrame:u,loadPopup:l,hashToObject:h,isToken:o,addListener:s,removeListener:a}},function(t,e,n){"use strict";var r,i;r=[n(1),n(223),n(227),n(505),n(162),n(228),n(79),n(224)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t.$;return s.extend({className:"primary-auth",state:{enabled:!0},View:e,constructor:function(t){t.appState.unset("username"),this.model=new i({multiOptionalFactorEnroll:t.settings.get("features.multiOptionalFactorEnroll"),settings:t.settings,appState:t.appState},{parse:!0}),s.apply(this,arguments),this.addListeners(),t.settings.get("hasConfiguredButtons")&&this.add(n,{prepend:t.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(t),this.setUsername()},addFooter:function(t){this.add(new o(this.toJSON({appState:t.appState}))),(t.settings.get("features.registration")||t.appState.get("isIdxStateToken"))&&this.add(new r({settings:this.settings,appState:t.appState}))},setUsername:function(){var t=this.model.get("username");t&&this.options.appState.set("username",t)},events:{"focusout input[name=username]":function(){if(this.shouldComputeDeviceFingerprint()){var t=this;a.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then(function(e){t.options.appState.set("deviceFingerprint",e),t.options.appState.set("username",t.model.get("username"))}).fail(function(){t.options.appState.set("username",t.model.get("username"))})}else this.options.appState.set("username",this.model.get("username"))},"focusin input":function(t){u(t.target.parentElement).addClass("focused-input")},"focusout input":function(t){u(t.target.parentElement).removeClass("focused-input")},"click .button-show":function(){this.trigger("passwordRevealed")}},initialize:function(){this.options.appState.unset("deviceFingerprint"),this.listenTo(this.model,"change:username",function(t,e){e||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)})},shouldComputeDeviceFingerprint:function(){return this.settings.get("features.securityImage")&&this.settings.get("features.deviceFingerprinting")&&this.settings.get("features.useDeviceFingerprintForSecurityImage")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(14),n(224),n(497),n(17)],void 0!==(i=function(t,e,n,r,i){var o=t._;return t.Form.extend({className:"primary-auth-form",noCancelButton:!0,save:function(){return this.settings.get("features.passwordlessAuth")?t.loc("oform.next","login"):t.loc("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){var e=t.loc("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(e=""),e},initialize:function(){var t=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",function(){if(t){var e=r.getTypingPattern();this.options.appState.set("typingPattern",e)}var i=this,s={username:this.model.get("username")};this.settings.get("features.passwordlessAuth")||(s.password=this.model.get("password")),this.settings.processCreds(s).then(function(){if(i.settings.get("features.deviceFingerprinting"))return n.generateDeviceFingerprint(i.settings.get("baseUrl"),i.$el).then(function(t){i.options.appState.set("deviceFingerprint",t)}).fail(function(){})}).then(o.bind(this.model.save,this.model))}),this.stateEnableChange()},stateEnableChange:function(){this.listenTo(this.state,"change:enabled",function(t,e){e?this.enable():this.disable()})},inputs:function(){var t=[];return t.push(this.getUsernameField()),this.settings.get("features.passwordlessAuth")||t.push(this.getPasswordField()),this.settings.get("features.rememberMe")&&t.push(this.getRemeberMeCheckbox()),t},getUsernameField:function(){var n=this;return{className:"margin-btm-5",label:t.loc("primaryauth.username.placeholder","login"),"label-top":!0,explain:function(){return!(n.settings.get("features.hideDefaultTip")&&!n.isCustomized("primaryauth.username.tooltip"))&&i.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login")},"explain-top":!0,name:"username",input:e,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername")}},getPasswordField:function(){var e=this,n={className:"margin-btm-30",label:t.loc("primaryauth.password.placeholder","login"),"label-top":!0,explain:function(){return!(e.settings.get("features.hideDefaultTip")&&!e.isCustomized("primaryauth.password.tooltip"))&&i.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login")},"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password"};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(n.params={},n.params.showPasswordToggle=!0),n},isCustomized:function(t){var e=this.settings.get("language"),n=this.settings.get("i18n");return!!(n&&n[e]&&n[e][t])},getRemeberMeCheckbox:function(){return{label:!1,placeholder:t.loc("remember","login"),name:"remember",type:"checkbox","label-top":!0,className:"margin-btm-0",initialize:function(){this.listenTo(this.model,"change:remember",function(t,e){this.$(":checkbox").prop("checked",e).trigger("updateState")})}}},focus:function(){this.model.get("username")?this.settings.get("features.passwordlessAuth")||this.getInputs().toArray()[1].focus():this.getInputs().first().focus(),this.settings.get("features.trackTypingPattern")&&r.track("okta-signin-username")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i,o=n(148),s=function(t){return t&&t.__esModule?t:{default:t}}(o);r=[n(12),n(1)],void 0!==(i=function(t,e){var n=e.$;return{getUserAgent:function(){return navigator.userAgent},isMessageFromCorrectSource:function(t,e){return e.source===t[0].contentWindow},generateDeviceFingerprint:function(e,r){function i(){c.off(),c.remove(),window.removeEventListener("message",a,!1)}function o(t){i(),f.reject(t)}function a(t){if(p.isMessageFromCorrectSource(c,t)){if(!t||!t.data||t.origin!==e)return void o("no data");try{var n=JSON.parse(t.data);n&&"FingerprintServiceReady"===n.type?u({type:"GetFingerprint"}):n&&"FingerprintAvailable"===n.type?(i(),f.resolve(n.fingerprint)):o("no data")}catch(t){}}}function u(t){var n=c[0].contentWindow;n&&n.postMessage((0,s.default)(t),e)}var l=this.getUserAgent();if(!l)return t.reject("user agent is not defined");if(function(t){return t.match(/windows phone|iemobile|wpdesktop/i)}(l))return t.reject("device fingerprint is not supported on Windows phones");var c,f=t.defer(),p=this;return window.addEventListener("message",a,!1),c=n("<iframe>",{style:"display: none;",src:e+"/auth/services/devicefingerprint"}),r.append(c),f.promise}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(499),o=r(i),s=n(502),a=r(s);e.default=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,u=(0,a.default)(t);!(r=(s=u.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,o.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,n){var r=n(161),i=n(22)("iterator"),o=n(75);t.exports=n(16).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r,i;r=[n(1),n(147)],void 0!==(i=function(t,e){var n=t._,r=t.$,i=t.internal.util.Util,o=t.tpl('<div class="auth-divider">      <span class="auth-divider-text">{{text}}</span>    </div>'),s=t.tpl('<h2 data-se="o-form-head" class="okta-form-title o-form-head">{{title}}</h2>');return t.View.extend({className:"primary-auth-container",children:function(){var e=[],r=this.settings.get("configuredSocialIdps"),i=this.settings.get("customButtons"),a=o({text:t.loc("socialauth.divider.text","login")});return n.each(r,function(t){e.push(this._createSocialIdpButton(t))},this),n.each(i,function(t){e.push(this._createCustomButton(t))},this),this.settings.get("socialAuthPositionTop")?(e.unshift(s({title:t.loc("primaryauth.title","login")})),e.push(a)):e.unshift(a),e},_createSocialIdpButton:function(n){return t.createButton({attributes:{"data-se":n.dataAttr},className:n.className,title:function(){return n.text||t.loc(n.i18nKey)},click:function(t){if(t.preventDefault(),this.settings.get("oauth2Enabled"))e.getTokens(this.settings,{idp:n.id},this.options.currentController);else{var o=this.settings.get("baseUrl"),s=r.param({fromURI:this.settings.get("relayState")}),a=o+"/sso/idps/"+n.id+"?"+s;i.redirect(a)}}})},_createCustomButton:function(e){return t.createButton({attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:e.title,click:e.click})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t.internal.util.Util,n=t.Handlebars.compile,r=t._;return t.View.extend({template:'      <a href="#" data-se="needhelp" aria-expanded="false"         aria-controls="help-links-container" class="link help js-help">      {{i18n code="needhelp" bundle="login"}}      </a>      <ul class="help-links js-help-links" id="help-links-container">        <li>        <a href="#" data-se="forgot-password" class="link js-forgot-password">        {{i18n code="forgotpassword" bundle="login"}}        </a>        </li>        {{#if features.selfServiceUnlock}}          <li>          <a href="#" data-se="unlock" class="link js-unlock">          {{i18n code="unlockaccount" bundle="login"}}          </a>          </li>        {{/if}}        {{#each helpLinks.custom}}          <li>          <a href="{{href}}" class="link js-custom" {{#if target}}target="{{target}}"{{/if}}>{{text}}</a>          </li>        {{/each}}        <li>        <a href="{{helpLinkUrl}}" data-se="help-link" class="link js-help-link" target="_blank">        {{i18n code="help" bundle="login"}}        </a>        </li>      </ul>    ',className:"auth-footer",initialize:function(){this.listenTo(this.state,"change:enabled",function(t,e){this.$(":link").toggleClass("o-form-disabled",!e)})},getTemplateData:function(){var t,e=this.settings.get("helpLinks.help");return t=e||n("{{baseUrl}}/help/login")({baseUrl:this.settings.get("baseUrl")}),r.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:t})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(t){t.preventDefault(),this.$(".js-help-links").slideToggle(200,r.bind(function(){this.$(".js-help").attr("aria-expanded",this.$(".js-help-links").is(":visible"))},this))},events:{"click .js-help":function(t){t.preventDefault(),this.state.get("enabled")&&this.toggleLinks(t)},"click .js-forgot-password":function(t){if(t.preventDefault(),this.state.get("enabled")){var n=this.settings.get("helpLinks.forgotPassword");n?e.redirect(n):this.options.appState.trigger("navigate","signin/forgot-password")}},"click .js-unlock":function(t){if(t.preventDefault(),this.state.get("enabled")){var n=this.settings.get("helpLinks.unlock");n?e.redirect(n):this.options.appState.trigger("navigate","signin/unlock")}}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i,o,s=n(106);!function(t){t&&t.__esModule}(s);/**
 * Duo Web SDK v2
 * Copyright 2017, Duo Security
 */
!function(n,s){i=[],r=s,void 0!==(o="function"==typeof r?r.apply(e,i):r)&&(t.exports=o)}(0,function(){function t(t,e){throw new Error("Duo Web SDK error: "+t+(e?"\nSee "+e+" for more information":""))}function e(t){return t.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function n(t,n){return"dataset"in t?t.dataset[n]:t.getAttribute("data-"+e(n))}function r(t,e,n,r){"addEventListener"in window?t.addEventListener(e,r,!1):t.attachEvent(n,r)}function i(t,e,n,r){"removeEventListener"in window?t.removeEventListener(e,r,!1):t.detachEvent(n,r)}function o(t){r(document,"DOMContentLoaded","onreadystatechange",t)}function s(t){i(document,"DOMContentLoaded","onreadystatechange",t)}function a(t){r(window,"message","onmessage",t)}function u(t){i(window,"message","onmessage",t)}function l(e){if(e){0===e.indexOf("ERR|")&&t(e.split("|")[1]),-1!==e.indexOf(":")&&2===e.split(":").length||t("Duo was given a bad token.  This might indicate a configuration problem with one of Duo's client libraries.","https://www.duosecurity.com/docs/duoweb#first-steps");var n=e.split(":");return y=e,_=n[0],b=n[1],{sigRequest:e,duoSig:n[0],appSig:n[1]}}}function c(){if(!(w=document.getElementById(C)))throw new Error('This page does not contain an iframe for Duo to use.Add an element like <iframe id="duo_iframe"></iframe> to this page.  See https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe for more information.');m(),s(c)}function f(t){return Boolean(t.origin==="https://"+v&&"string"==typeof t.data&&(t.data.match(S)||t.data.match(E)||t.data.match(T)))}function p(t){t&&(t.host&&(v=t.host),t.sig_request&&l(t.sig_request),t.post_action&&(A=t.post_action),t.post_argument&&(O=t.post_argument),t.iframe&&(t.iframe.tagName?w=t.iframe:"string"==typeof t.iframe&&(C=t.iframe)),"function"==typeof t.submit_callback&&(x=t.submit_callback)),w?m():(w=document.getElementById(C),w?m():o(c)),s(p)}function d(t){if(f(t))if(t.data.match(T)){var e=t.data.substring("DUO_OPEN_WINDOW|".length);h(e)&&window.open(e,"_self")}else g(t.data),u(d)}function h(t){if(!t)return!1;var e=document.createElement("a");if(e.href=t,"duotrustedendpoints:"===e.protocol)return!0;if("https:"!==e.protocol)return!1;for(var n=0;n<k.length;n++)if(e.hostname.endsWith("."+k[n])||e.hostname===k[n])return!0;return!1}function m(){v||(v=n(w,"host"))||t("No API hostname is given for Duo to use.  Be sure to pass a `host` parameter to Duo.init, or through the `data-host` attribute on the iframe element.","https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe"),_&&b||(l(n(w,"sigRequest")),_&&b||t("No valid signed request is given.  Be sure to give the `sig_request` parameter to Duo.init, or use the `data-sig-request` attribute on the iframe element.","https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe")),""===A&&(A=n(w,"postAction")||A),"sig_response"===O&&(O=n(w,"postArgument")||O),w.src=["https://",v,"/frame/web/v1/auth?tx=",_,"&parent=",encodeURIComponent(document.location.href),"&v=2.6"].join(""),a(d)}function g(t){A(t+":"+b)}var v,y,_,b,w,x,S=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,E=/^ERR\|[\w\s\.\(\)]+$/,T=/^DUO_OPEN_WINDOW\|/,k=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"],C="duo_iframe",A="",O="sig_response";return{init:p,_onReady:o,_parseSigRequest:l,_isDuoMessage:f,_doPostBack:g}})},function(t,e,n){var r=n(42),i=n(16),o=n(74);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({className:"okta-waiting-spinner",attributes:{"data-se":"o-form-okta-waiting-spinner"},modelEvents:{"spinner:show":"show","spinner:hide":"hide"},initialize:function(t){t&&!1===t.visible&&this.hide()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";
//Copyright 2014-2015 Google Inc. All rights reserved.
//license that can be found in the LICENSE file or at
//https://developers.google.com/open-source/licenses/bsd
!function(){var t="chrome"in window&&window.navigator.userAgent.indexOf("Edge")<0;if(!("u2f"in window)&&t){var e,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(t){if("undefined"!=typeof chrome&&chrome.runtime){var e={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(n.EXTENSION_ID,e,function(){chrome.runtime.lastError?n.getIframePort_(t):n.getChromeRuntimePort_(t)})}else n.isAndroidChrome_()?n.getAuthenticatorPort_(t):n.isIosChrome_()?n.getIosPort_(t):n.getIframePort_(t)},n.isAndroidChrome_=function(){var t=navigator.userAgent;return-1!=t.indexOf("Chrome")&&-1!=t.indexOf("Android")},n.isIosChrome_=function(){return["iPhone","iPad","iPod"].indexOf(navigator.platform)>-1},n.getChromeRuntimePort_=function(t){var e=chrome.runtime.connect(n.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){t(new n.WrappedChromeRuntimePort_(e))},0)},n.getAuthenticatorPort_=function(t){setTimeout(function(){t(new n.WrappedAuthenticatorPort_)},0)},n.getIosPort_=function(t){setTimeout(function(){t(new n.WrappedIosPort_)},0)},n.WrappedChromeRuntimePort_=function(t){this.port_=t},n.formatSignRequest_=function(t,r,i,o,s){if(void 0===e||e<1.1){for(var a=[],u=0;u<i.length;u++)a[u]={version:i[u].version,challenge:r,keyHandle:i[u].keyHandle,appId:t};return{type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:a,timeoutSeconds:o,requestId:s}}return{type:n.MessageTypes.U2F_SIGN_REQUEST,appId:t,challenge:r,registeredKeys:i,timeoutSeconds:o,requestId:s}},n.formatRegisterRequest_=function(t,r,i,o,s){if(void 0===e||e<1.1){for(var a=0;a<i.length;a++)i[a].appId=t;for(var u=[],a=0;a<r.length;a++)u[a]={version:r[a].version,challenge:i[0],keyHandle:r[a].keyHandle,appId:t};return{type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:u,registerRequests:i,timeoutSeconds:o,requestId:s}}return{type:n.MessageTypes.U2F_REGISTER_REQUEST,appId:t,registerRequests:i,registeredKeys:r,timeoutSeconds:o,requestId:s}},n.WrappedChromeRuntimePort_.prototype.postMessage=function(t){this.port_.postMessage(t)},n.WrappedChromeRuntimePort_.prototype.addEventListener=function(t,e){var n=t.toLowerCase();"message"!=n&&"onmessage"!=n||this.port_.onMessage.addListener(function(t){e({data:t})})},n.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},n.WrappedAuthenticatorPort_.prototype.postMessage=function(t){var e=n.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(t))+";end";document.location=e},n.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},n.WrappedAuthenticatorPort_.prototype.addEventListener=function(t,e){if("message"==t.toLowerCase()){var n=this;window.addEventListener("message",n.onRequestUpdate_.bind(n,e),!1)}},n.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(t,e){var n=JSON.parse(e.data),r=(n.intentURL,n.errorCode,null);n.hasOwnProperty("data")&&(r=JSON.parse(n.data)),t({data:r})},n.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",n.WrappedIosPort_=function(){},n.WrappedIosPort_.prototype.postMessage=function(t){var e=JSON.stringify(t),n="u2f://auth?"+encodeURI(e);location.replace(n)},n.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},n.WrappedIosPort_.prototype.addEventListener=function(t,e){t.toLowerCase()},n.getIframePort_=function(t){var e="chrome-extension://"+n.EXTENSION_ID,r=document.createElement("iframe");r.src=e+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var i=new MessageChannel,o=function(e){"ready"==e.data&&(i.port1.removeEventListener("message",o),t(i.port1))};i.port1.addEventListener("message",o),i.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",e,[i.port2])})},n.EXTENSION_TIMEOUT_SEC=30,n.port_=null,n.waitingForPort_=[],n.reqCounter_=0,n.callbackMap_={},n.getPortSingleton_=function(t){n.port_?t(n.port_):(0==n.waitingForPort_.length&&n.getMessagePort(function(t){for(n.port_=t,n.port_.addEventListener("message",n.responseHandler_);n.waitingForPort_.length;)n.waitingForPort_.shift()(n.port_)}),n.waitingForPort_.push(t))},n.responseHandler_=function(t){var e=t.data,r=e.requestId;if(r&&n.callbackMap_[r]){var i=n.callbackMap_[r];delete n.callbackMap_[r],i(e.responseData)}},n.sign=function(t,r,i,o,s){void 0===e?n.getApiVersion(function(a){e=void 0===a.js_api_version?0:a.js_api_version,n.sendSignRequest(t,r,i,o,s)}):n.sendSignRequest(t,r,i,o,s)},n.sendSignRequest=function(t,e,r,i,o){n.getPortSingleton_(function(s){var a=++n.reqCounter_;n.callbackMap_[a]=i;var u=void 0!==o?o:n.EXTENSION_TIMEOUT_SEC,l=n.formatSignRequest_(t,e,r,u,a);s.postMessage(l)})},n.register=function(t,r,i,o,s){void 0===e?n.getApiVersion(function(a){e=void 0===a.js_api_version?0:a.js_api_version,n.sendRegisterRequest(t,r,i,o,s)}):n.sendRegisterRequest(t,r,i,o,s)},n.sendRegisterRequest=function(t,e,r,i,o){n.getPortSingleton_(function(s){var a=++n.reqCounter_;n.callbackMap_[a]=i;var u=void 0!==o?o:n.EXTENSION_TIMEOUT_SEC,l=n.formatRegisterRequest_(t,r,e,u,a);s.postMessage(l)})},n.getApiVersion=function(t,e){n.getPortSingleton_(function(r){if(r.getPortType){var i;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":i=1.1;break;default:i=0}return void t({js_api_version:i})}var o=++n.reqCounter_;n.callbackMap_[o]=t;var s={type:n.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==e?e:n.EXTENSION_TIMEOUT_SEC,requestId:o};r.postMessage(s)})}}}()},function(t,e,n){"use strict";var r;void 0!==(r=function(){var t={};return t.getStringHash=function(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0},t.base64UrlSafeToBase64=function(t){return t.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},t.binToStr=function(t){return btoa(new Uint8Array(t).reduce(function(t,e){return t+String.fromCharCode(e)},""))},t.strToBin=function(t){return Uint8Array.from(atob(this.base64UrlSafeToBase64(t)),function(t){return t.charCodeAt(0)})},t}.call(e,n,e,t))&&(t.exports=r)},function(t,e,n){"use strict";var r,i;r=[n(1),n(23),n(18)],void 0!==(i=function(t,e,n){var r=t._,i=t.tpl('<span class="factor-cardinality">{{cardinalityText}}</span>'),o=t.View.extend({className:"enroll-factor-row clearfix",template:'      <div class="enroll-factor-icon-container">        <div class="factor-icon enroll-factor-icon {{iconClassName}}">        </div>      </div>      <div class="enroll-factor-description">        <h3 class="enroll-factor-label">{{factorLabel}}</h3>        {{#if factorDescription}}          <p>{{factorDescription}}</p>        {{/if}}        <div class="enroll-factor-button"></div>      </div>    ',attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var r=[],o=this.model.get("enrolled"),s=this.model.get("required"),a=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[t.createButton({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",e.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];o?r.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):s&&r.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);var u=n.getCardinalityText(o,s,a);return u&&r.push([i({cardinalityText:u}),".enroll-factor-description"]),r},minimize:function(){this.$el.addClass("enroll-factor-row-min")},maximize:function(){this.$el.removeClass("enroll-factor-row-min")},getSetupButtonText:function(){return this.model.get("additionalEnrollment")?t.loc("enroll.choices.setup.another","login"):t.loc("enroll.choices.setup","login")}});return t.ListView.extend({className:"enroll-factor-list",item:o,itemSelector:".list-content",template:'      {{#if listTitle}}        <div class="list-title">{{listTitle}}</div>      {{/if}}      <div class="list-content"></div>    ',getTemplateData:function(){var e=t.ListView.prototype.getTemplateData.call(this);return r.extend(e,this),e},postRender:function(){this.options.minimize&&this.invoke("minimize")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t._;return t.internal.views.forms.inputs.TextBox.extend({template:t.Handlebars.compile('      <span class="okta-form-label-inline o-form-label-inline">{{countryCallingCode}}</span>      <span class="okta-form-input-field input-fix o-form-control">        <input type="{{type}}" placeholder="{{placeholder}}" name="{{name}}"           id="{{inputId}}" value="{{value}}" autocomplete="off"/>      </span>    '),initialize:function(){this.listenTo(this.model,"change:countryCallingCode",function(){this.$(".o-form-label-inline").text(this.model.get("countryCallingCode"))})},preRender:function(){this.options.countryCallingCode=this.model.get("countryCallingCode")},postRender:function(){this.$el.removeClass("input-fix o-form-control"),e.defer(e.bind(function(){this.$el.parent().addClass("o-form-input-group")},this))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s=n(568),a=r(s),u=n(571),l=r(u);i=[n(1),n(167)],void 0!==(o=function(t,e){function n(t,e){var n=e.get("securityImage"),r=e.get("securityImageDescription"),i=e.get("isUndefinedUser"),o=e.get("isNewUser"),a=!i&&!o;return t.css("background-image",""),t.removeClass("new-user undefined-user"),o?void t.addClass("new-user"):i?void t.addClass("undefined-user"):a?(t.removeAttr("aria-describedby"),t.find(".accessibility-text").text(r),void t.css("background-image","url("+s.escape(n)+")")):void 0}function r(e,n){u(window).on("resize.securityBeaconQtip",s.debounce(function(){e.is(":visible")&&e.qtip("show")},300)),e.qtip({prerender:!0,content:{text:t.loc("primaryauth.newUser.tooltip","login",[s.escape(n)]),button:t.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:u(".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(t,e){e.elements.target.is(":visible")||(e.set("hide.effect",!1),e.hide(),e.set("hide.effect",!0))}}}),e.qtip("toggle",e.is(":visible"))}function i(t){t.qtip("destroy"),u(window).off("resize.securityBeaconQtip")}var o=function(){var t=(0,l.default)(a.default.mark(function t(o,s,u){var l,c,f,p,d,h,m;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(l=o.find(".auth-beacon-security"),c=o.find(".js-auth-beacon-border"),f=!s.get("isUndefinedUser"),p=s.get("isNewUser"),d=o.find(".radial-progress-bar"),h=s.get("baseUrl").match(/https?:\/\/(.[^\/]+)/)[1],m=200,u){t.next=5;break}return n(l,s),c.toggleClass("auth-beacon-border",f),t.abrupt("return");case 5:if(i(l),f){t.next=10;break}l.fadeOut(m,function(){n(l,s),c.removeClass("auth-beacon-border"),l.fadeIn(m)}),t.next=15;break;case 10:return c.removeClass("auth-beacon-border"),t.next=13,e.radialProgressBar({$el:d,swap:function(){l.fadeOut(m,function(){n(l,s),l.fadeIn(m)})}});case 13:c.addClass("auth-beacon-border"),p&&r(l,h);case 15:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}(),s=t._,u=t.$;return t.View.extend({template:'    <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>    ',className:"js-security-beacon",initialize:function(t){this.update=s.partial(o,this.$el,t.appState),this.listenTo(t.appState,"change:securityImage",this.update),this.listenTo(t.appState,"loading",function(t){this.$el.toggleClass("beacon-loading",t),this.removeAntiPhishingMessage()}),this.options.appState.set("beaconType","security"),this.listenTo(t.appState,"navigate",this.removeAntiPhishingMessage)},postRender:function(){this.update(!1)},equals:function(t){return t&&this instanceof t},removeAntiPhishingMessage:function(){this.$el.find(".auth-beacon-security").qtip("destroy")}})}.apply(e,i))&&(t.exports=o)},function(t,e,n){var r=n(46),i=n(109),o=n(22)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e,n){var r,i,o,s=n(108),a=n(579),u=n(213),l=n(151),c=n(21),f=c.process,p=c.setImmediate,d=c.clearImmediate,h=c.MessageChannel,m=c.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){a("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(86)(f)?r=function(t){f.nextTick(s(y,t,1))}:m&&m.now?r=function(t){m.now(s(y,t,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=_,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):r="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),t.exports={set:p,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(46),i=n(47),o=n(168);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(5),n(17),n(14)],void 0!==(i=function(t,e,n,r,i){var o=t._;return{title:function(){var n=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[n])},subtitle:o.partial(t.loc,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[n.Input({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:r.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:i,type:"tel"}),n.Toolbar({noCancelButton:!0,save:t.loc("oform.verify","login")})]}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){var n=t.internal.util.Util;return t.View.extend({template:'      {{#if passwordWarn}}        <a href="#" class="link help js-skip" data-se="skip-link">          {{i18n code="password.expiring.later" bundle="login"}}        </a>      {{/if}}      <a href="#" class="link help goto js-signout" data-se="signout-link">{{i18n code="signout" bundle="login"}}</a>    ',className:"auth-footer clearfix",events:{"click .js-signout":function(t){t.preventDefault();var r=this;this.model.doTransaction(function(t){return t.cancel()}).then(function(){r.settings.get("signOutLink")?n.redirect(r.settings.get("signOutLink")):(r.state.set("navigateDir",e.DIRECTION_BACK),r.options.appState.trigger("navigate",""))})},"click .js-skip":function(t){t.preventDefault(),this.model.doTransaction(function(t){return t.skip()})}},getTemplateData:function(){return{passwordWarn:this.options.appState.get("isPwdExpiringSoon")}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({template:'      <div class="infobox">        <span class="icon info-16"></span>        <p>{{i18n code="contact.support" bundle="login" arguments="helpSupportNumber"}}</p>      </div>',className:"contact-support",getTemplateData:function(){return this.settings.pick("helpSupportNumber")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(14)],void 0!==(i=function(t,e){var n=t._,r=t.internal.views.forms.helpers.SchemaFormFactory,i=function(t){var e=t.split(""),r=[],i=[",",".","-","_","#","@"],o="";return n.each(e,function(t){-1===i.indexOf(t)?o+=t:(o.length>=3&&r.push(n.clone(o)),o="")}),o.length>=3&&r.push(n.clone(o)),r.filter(Boolean)},o=function(t,e){if(!t)return!1;t=t.toLowerCase(),e=e.toLowerCase();for(var n=i(t),r=0;r<n.length;r++){var o=n[r];if(-1!==e.indexOf(o))return!0}return!1},s=function(t,e,r){var i=t.get("minLength"),s=t.get("maxLength"),a=t.get("format");if(n.isNumber(i)&&e.length<i)return!1;if(n.isNumber(s)&&e.length>s)return!1;if(n.isString(a)){if("^[#/userName]"===a){var u=r.has("userName")?r.get("userName"):r.get("email");return!o(u,e)}if(!new RegExp(a).test(e))return!1}return!0},a=function(e,r,i,o){var a=r.get(e);n.isString(a)&&i.each(function(n,i){var u=t.$("#subschemas-"+e+" .subschema-"+i);a?u.children("p").removeClass("default-schema"):u.children("p").addClass("default-schema"),u.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),s(n,a,r)?(u.addClass("subschema-satisfied"),u.find("p span").removeClass("error error-16-small"),u.find("p span").addClass("confirm-16")):o&&(u.find("p span").removeClass("confirm-16"),u.find("p span").addClass("error error-16-small"),u.addClass("subschema-error subschema-unsatisfied"))})};return{createInputOptions:function(t){var i=r.createInputOptions(t);if("select"===i.type)i=n.extend(i,{label:t.get("title")});else{var o=t.get("title");t.get("required")&&(o+=" *"),i=n.extend(i,{label:!1,"label-top":!0,placeholder:o})}var s=t.get("name");switch(s){case"userName":i.input=e,i.params={icon:"person-16-gray"};break;case"password":i.type="password",i.input=e,i.params={icon:"remote-lock-16"}}var u=t.get("subSchemas");return u&&(i.events={input:function(){a(s,this.model,u,!0)},focusout:function(){a(s,this.model,u,!0)},"change:userName":function(){a(s,this.model,u,!0)}}),i},getUsernameParts:i,passwordContainsUserName:o}}.apply(e,r))&&(t.exports=i)},function(t,e,n){n(246),t.exports=n(448)},function(t,e,n){"use strict";(function(t){function e(t,e,n){t[e]||Object[r](t,e,{writable:!0,configurable:!0,value:n})}if(n(247),n(444),n(445),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(e,n(91))},function(t,e,n){n(248),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(328),n(329),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(138),n(352),n(189),n(353),n(190),n(354),n(355),n(356),n(357),n(358),n(193),n(195),n(196),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405),n(406),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(429),n(430),n(431),n(432),n(433),n(434),n(435),n(436),n(437),n(438),n(439),n(440),n(441),n(442),n(443),t.exports=n(31)},function(t,e,n){"use strict";var r=n(4),i=n(27),o=n(11),s=n(0),a=n(25),u=n(50).KEY,l=n(6),c=n(80),f=n(70),p=n(55),d=n(9),h=n(171),m=n(119),g=n(250),v=n(94),y=n(2),_=n(7),b=n(15),w=n(28),x=n(38),S=n(54),E=n(58),T=n(174),k=n(29),C=n(93),A=n(13),O=n(56),N=k.f,I=A.f,R=T.f,P=r.Symbol,M=r.JSON,L=M&&M.stringify,D=d("_hidden"),F=d("toPrimitive"),U={}.propertyIsEnumerable,j=c("symbol-registry"),B=c("symbols"),q=c("op-symbols"),H=Object.prototype,V="function"==typeof P&&!!C.f,W=r.QObject,$=!W||!W.prototype||!W.prototype.findChild,z=o&&l(function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=N(H,e);r&&delete H[e],I(t,e,n),r&&t!==H&&I(H,e,r)}:I,G=function(t){var e=B[t]=E(P.prototype);return e._k=t,e},K=V&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,n){return t===H&&Y(q,e,n),y(t),e=x(e,!0),y(n),i(B,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=E(n,{enumerable:S(0,!1)})):(i(t,D)||I(t,D,S(1,{})),t[D][e]=!0),z(t,e,n)):I(t,e,n)},J=function(t,e){y(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?E(t):J(E(t),e)},X=function(t){var e=U.call(this,t=x(t,!0));return!(this===H&&i(B,t)&&!i(q,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,D)&&this[D][t])||e)},Z=function(t,e){if(t=w(t),e=x(e,!0),t!==H||!i(B,e)||i(q,e)){var n=N(t,e);return!n||!i(B,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=R(w(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==D||e==u||r.push(e);return r},et=function(t){for(var e,n=t===H,r=R(n?q:w(t)),o=[],s=0;r.length>s;)!i(B,e=r[s++])||n&&!i(H,e)||o.push(B[e]);return o};V||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(q,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),z(this,t,S(1,n))};return o&&$&&z(H,t,{configurable:!0,set:e}),G(t)},a(P.prototype,"toString",function(){return this._k}),k.f=Z,A.f=Y,n(59).f=T.f=tt,n(82).f=X,C.f=et,o&&!n(49)&&a(H,"propertyIsEnumerable",X,!0),h.f=function(t){return G(d(t))}),s(s.G+s.W+s.F*!V,{Symbol:P});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)d(nt[rt++]);for(var it=O(d.store),ot=0;it.length>ot;)m(it[ot++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return i(j,t+="")?j[t]:j[t]=P(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),s(s.S+s.F*!V,"Object",{create:Q,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var st=l(function(){C.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),M&&s(s.S+s.F*(!V||l(function(){var t=P();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!K(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,L.apply(M,r)}}),P.prototype[F]||n(24)(P.prototype,F,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(80)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(56),i=n(93),o=n(82);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,l=0;a.length>l;)u.call(t,s=a[l++])&&e.push(s);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(58)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(11),"Object",{defineProperty:n(13).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(11),"Object",{defineProperties:n(173)})},function(t,e,n){var r=n(28),i=n(29).f;n(40)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(15),i=n(30);n(40)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(15),i=n(56);n(40)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(40)("getOwnPropertyNames",function(){return n(174).f})},function(t,e,n){var r=n(7),i=n(50).onFreeze;n(40)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(7),i=n(50).onFreeze;n(40)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(7),i=n(50).onFreeze;n(40)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(7);n(40)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(7);n(40)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(7);n(40)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(175)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(176)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(123).set})},function(t,e,n){"use strict";var r=n(71),i={};i[n(9)("toStringTag")]="z",i+""!="[object z]"&&n(25)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(177)})},function(t,e,n){var r=n(13).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(11)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(7),i=n(30),o=n(9)("hasInstance"),s=Function.prototype;o in s||n(13).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),i=n(179);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(180);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){"use strict";var r=n(4),i=n(27),o=n(33),s=n(125),a=n(38),u=n(6),l=n(59).f,c=n(29).f,f=n(13).f,p=n(72).trim,d=r.Number,h=d,m=d.prototype,g="Number"==o(n(58)(m)),v="trim"in String.prototype,y=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),l=0,c=u.length;l<c;l++)if((s=u.charCodeAt(l))<48||s>i)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(g?u(function(){m.valueOf.call(n)}):"Number"!=o(n))?s(new h(y(e)),n,d):y(e)};for(var _,b=n(11)?l(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)i(h,_=b[w])&&!i(d,_)&&f(d,_,c(h,_));d.prototype=m,m.constructor=d,n(25)(r,"Number",d)}},function(t,e,n){"use strict";var r=n(0),i=n(34),o=n(181),s=n(126),a=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*l[n],l[n]=r%1e7,r=u(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=l[e],l[e]=u(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var n=String(l[t]);e=""===e?n:e+s.call("0",7-n.length)+n}return e},h=function(t,e,n){return 0===e?n:e%2==1?h(t,e-1,n*t):h(t*t,e/2,n)},m=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(6)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,c),l=i(t),g="",v="0";if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(e=m(u*h(2,69,1))-69,n=e<0?u*h(2,-e,1):u/h(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=l;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<<r),f(1,1),p(2),v=d()}else f(0,n),f(1<<-e,0),v=d()+s.call("0",l);return l>0?(a=v.length,v=g+(a<=l?"0."+s.call("0",l-a)+v:v.slice(0,a-l)+"."+v.slice(a-l))):v=g+v,v}})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(181),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(182)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(182),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(180);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(179);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(183),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(0),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(127);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(128);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(184)})},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s<a;)n=i(arguments[s++]),u<n?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(6)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(183)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(127)})},function(t,e,n){var r=n(0),i=n(128),o=Math.exp;r(r.S+r.F*n(6)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(128),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(57),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(28),o=n(10);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a<r&&s.push(String(arguments[a]));return s.join("")}})},function(t,e,n){"use strict";n(72)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(95)(!0);n(129)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=n(95)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(131),s="".endsWith;r(r.P+r.F*n(132)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),a=void 0===n?r:Math.min(i(n),r),u=String(t);return s?s.call(e,u,a):e.slice(a-u.length,a)===u}})},function(t,e,n){"use strict";var r=n(0),i=n(131);r(r.P+r.F*n(132)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(126)})},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(131),s="".startsWith;r(r.P+r.F*n(132)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(26)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(26)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(26)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(26)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(26)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(26)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(26)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(26)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(26)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(26)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(26)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(26)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(26)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(38);r(r.P+r.F*n(6)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(327);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(6),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(25)(r,"toString",function(){var t=o.call(this);return t===t?i.call(this):"Invalid Date"})},function(t,e,n){var r=n(9)("toPrimitive"),i=Date.prototype;r in i||n(24)(i,r,n(330))},function(t,e,n){"use strict";var r=n(2),i=n(38);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(94)})},function(t,e,n){"use strict";var r=n(32),i=n(0),o=n(15),s=n(185),a=n(133),u=n(10),l=n(134),c=n(135);i(i.S+i.F*!n(97)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,p=o(t),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(p);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||d==Array&&a(y))for(e=u(p.length),n=new d(e);e>v;v++)l(n,v,g?m(p[v],v):p[v]);else for(f=y.call(p),n=new d;!(i=f.next()).done;v++)l(n,v,g?s(f,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(0),i=n(134);r(r.S+r.F*n(6)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(28),o=[].join;r(r.P+r.F*(n(81)!=Object||!n(35)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(122),o=n(33),s=n(57),a=n(10),u=[].slice;r(r.P+r.F*n(6)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=s(t,n),l=s(e,n),c=a(l-i),f=new Array(c),p=0;p<c;p++)f[p]="String"==r?this.charAt(i+p):this[i+p];return f}})},function(t,e,n){"use strict";var r=n(0),i=n(20),o=n(15),s=n(6),a=[].sort,u=[1,2,3];r(r.P+r.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!n(35)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},function(t,e,n){"use strict";var r=n(0),i=n(41)(0),o=n(35)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(7),i=n(94),o=n(9)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),i=n(41)(1);r(r.P+r.F*!n(35)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(41)(2);r(r.P+r.F*!n(35)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(41)(3);r(r.P+r.F*!n(35)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(41)(4);r(r.P+r.F*!n(35)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(186);r(r.P+r.F*!n(35)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),i=n(186);r(r.P+r.F*!n(35)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(92)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(35)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(28),o=n(34),s=n(10),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(35)(a)),"Array",{lastIndexOf:function(t){if(u)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(187)}),n(51)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(137)}),n(51)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(41)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(51)("find")},function(t,e,n){"use strict";var r=n(0),i=n(41)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(51)(o)},function(t,e,n){n(60)("Array")},function(t,e,n){var r=n(4),i=n(125),o=n(13).f,s=n(59).f,a=n(96),u=n(83),l=r.RegExp,c=l,f=l.prototype,p=/a/g,d=/a/g,h=new l(p)!==p;if(n(11)&&(!h||n(6)(function(){return d[n(9)("match")]=!1,l(p)!=p||l(d)==d||"/a/i"!=l(p,"i")}))){l=function(t,e){var n=this instanceof l,r=a(t),o=void 0===e;return!n&&r&&t.constructor===l&&o?t:i(h?new c(r&&!o?t.source:t,e):c((r=t instanceof l)?t.source:t,r&&o?u.call(t):e),n?this:f,l)};for(var m=s(c),g=0;m.length>g;)!function(t){t in l||o(l,t,{configurable:!0,get:function(){return c[t]},set:function(e){c[t]=e}})}(m[g++]);f.constructor=l,l.prototype=f,n(25)(r,"RegExp",l)}n(60)("RegExp")},function(t,e,n){"use strict";n(190);var r=n(2),i=n(83),o=n(11),s=/./.toString,a=function(t){n(25)(RegExp.prototype,"toString",t,!0)};n(6)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(t,e,n){"use strict";var r=n(2),i=n(10),o=n(140),s=n(98);n(99)("match",1,function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var u=r(t),l=String(this);if(!u.global)return s(u,l);var c=u.unicode;u.lastIndex=0;for(var f,p=[],d=0;null!==(f=s(u,l));){var h=String(f[0]);p[d]=h,""===h&&(u.lastIndex=o(l,i(u.lastIndex),c)),d++}return 0===d?null:p}]})},function(t,e,n){"use strict";var r=n(2),i=n(15),o=n(10),s=n(34),a=n(140),u=n(98),l=Math.max,c=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,h=function(t){return void 0===t?t:String(t)};n(99)("replace",2,function(t,e,n,m){function g(t,e,r,o,s,a){var u=r+t.length,l=o.length,c=d;return void 0!==s&&(s=i(s),c=p),n.call(a,c,function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>l){var p=f(c/10);return 0===p?n:p<=l?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):n}a=o[c-1]}return void 0===a?"":a})}return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=m(n,t,this,e);if(i.done)return i.value;var f=r(t),p=String(this),d="function"==typeof e;d||(e=String(e));var v=f.global;if(v){var y=f.unicode;f.lastIndex=0}for(var _=[];;){var b=u(f,p);if(null===b)break;if(_.push(b),!v)break;""===String(b[0])&&(f.lastIndex=a(p,o(f.lastIndex),y))}for(var w="",x=0,S=0;S<_.length;S++){b=_[S];for(var E=String(b[0]),T=l(c(s(b.index),p.length),0),k=[],C=1;C<b.length;C++)k.push(h(b[C]));var A=b.groups;if(d){var O=[E].concat(k,T,p);void 0!==A&&O.push(A);var N=String(e.apply(void 0,O))}else N=g(E,p,T,k,A,e);T>=x&&(w+=p.slice(x,T)+N,x=T+E.length)}return w+p.slice(x)}]})},function(t,e,n){"use strict";var r=n(2),i=n(176),o=n(98);n(99)("search",1,function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),u=String(this),l=a.lastIndex;i(l,0)||(a.lastIndex=0);var c=o(a,u);return i(a.lastIndex,l)||(a.lastIndex=l),null===c?-1:c.index}]})},function(t,e,n){"use strict";var r=n(96),i=n(2),o=n(84),s=n(140),a=n(10),u=n(98),l=n(139),c=n(6),f=Math.min,p=[].push,d="length",h=!c(function(){RegExp(4294967295,"y")});n(99)("split",2,function(t,e,n,c){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[d]||2!="ab".split(/(?:ab)*/)[d]||4!=".".split(/(.?)(.?)/)[d]||".".split(/()()/)[d]>1||"".split(/.?/)[d]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,s,a,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,c+"g");(o=l.call(m,i))&&!((s=m.lastIndex)>f&&(u.push(i.slice(f,o.index)),o[d]>1&&o.index<i[d]&&p.apply(u,o.slice(1)),a=o[0][d],f=s,u[d]>=h));)m.lastIndex===o.index&&m.lastIndex++;return f===i[d]?!a&&m.test("")||u.push(""):u.push(i.slice(f)),u[d]>h?u.slice(0,h):u}:"0".split(void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(t,e){var r=c(m,t,this,e,m!==n);if(r.done)return r.value;var l=i(t),p=String(this),d=o(l,RegExp),g=l.unicode,v=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),y=new d(h?l:"^(?:"+l.source+")",v),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var b=0,w=0,x=[];w<p.length;){y.lastIndex=h?w:0;var S,E=u(y,h?p:p.slice(w));if(null===E||(S=f(a(y.lastIndex+(h?0:w)),p.length))===b)w=s(p,w,g);else{if(x.push(p.slice(b,w)),x.length===_)return x;for(var T=1;T<=E.length-1;T++)if(x.push(E[T]),x.length===_)return x;w=b=S}}return x.push(p.slice(b)),x}]})},function(t,e,n){"use strict";var r,i,o,s,a=n(49),u=n(4),l=n(32),c=n(71),f=n(0),p=n(7),d=n(20),h=n(61),m=n(62),g=n(84),v=n(141).set,y=n(142)(),_=n(143),b=n(191),w=n(100),x=n(192),S=u.TypeError,E=u.process,T=E&&E.versions,k=T&&T.v8||"",C=u.Promise,A="process"==c(E),O=function(){},N=i=_.f,I=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n(9)("species")]=function(t){t(O,O)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{a?(i||(2==t._h&&D(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&(c.exit(),s=!0)),n===e.promise?l(S("Promise-chain cycle")):(o=R(n))?o.call(n,u,l):u(n)):l(r)}catch(t){c&&!s&&c.exit(),l(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){v.call(u,function(){var e,n,r,i=t._v,o=L(t);if(o&&(e=b(function(){A?E.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=A||L(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(u,function(){var e;A?E.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=R(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,l(U,r,1),l(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};I||(C=function(t){h(this,C,"Promise","_h"),d(t),r.call(this);try{t(l(U,this,1),l(F,this,1))}catch(t){F.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(63)(C.prototype,{then:function(t,e){var n=N(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(U,t,1),this.reject=l(F,t,1)},_.f=N=function(t){return t===C||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!I,{Promise:C}),n(70)(C,"Promise"),n(60)("Promise"),s=n(31).Promise,f(f.S+f.F*!I,"Promise",{reject:function(t){var e=N(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!I),"Promise",{resolve:function(t){return x(a&&this===s?C:this,t)}}),f(f.S+f.F*!(I&&n(97)(function(t){C.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=N(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,s=1;m(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=N(e),r=n.reject,i=b(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(197),i=n(64);n(101)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(102),o=n(144),s=n(2),a=n(57),u=n(10),l=n(7),c=n(4).ArrayBuffer,f=n(84),p=o.ArrayBuffer,d=o.DataView,h=i.ABV&&c.isView,m=p.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(c!==p),{ArrayBuffer:p}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return h&&h(t)||l(t)&&g in t}}),r(r.P+r.U+r.F*n(6)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(s(this),t);for(var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(f(this,p))(u(i-r)),l=new d(this),c=new d(o),h=0;r<i;)c.setUint8(h++,l.getUint8(r++));return o}}),n(60)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(102).ABV,{DataView:n(144).DataView})},function(t,e,n){n(44)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){n(44)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(44)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){var r=n(0),i=n(20),o=n(2),s=(n(4).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(6)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return s?s(r,e,u):a.call(r,e,u)}})},function(t,e,n){var r=n(0),i=n(58),o=n(20),s=n(2),a=n(7),u=n(6),l=n(177),c=(n(4).Reflect||{}).construct,f=u(function(){function t(){}return!(c(function(){},[],t)instanceof t)}),p=!u(function(){c(function(){})});r(r.S+r.F*(f||p),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(p&&!f)return c(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}var u=n.prototype,d=i(a(u)?u:Object.prototype),h=Function.apply.call(t,d,e);return a(h)?h:d}})},function(t,e,n){var r=n(13),i=n(0),o=n(2),s=n(38);i(i.S+i.F*n(6)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),i=n(29).f,o=n(2);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(130)(o,"Object",function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function r(t,e){var n,a,c=arguments.length<3?t:arguments[2];return l(t)===c?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:u(a=o(t))?r(a,e,c):void 0}var i=n(29),o=n(30),s=n(27),a=n(0),u=n(7),l=n(2);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(29),i=n(0),o=n(2);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(30),o=n(2);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(2),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(199)})},function(t,e,n){var r=n(0),i=n(2),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,p,d=arguments.length<4?t:arguments[3],h=o.f(c(t),e);if(!h){if(f(p=s(t)))return r(p,e,n,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!f(d))return!1;if(u=o.f(d,e)){if(u.get||u.set||!1===u.writable)return!1;u.value=n,i.f(d,e,u)}else i.f(d,e,l(0,n));return!0}return void 0!==h.set&&(h.set.call(d,n),!0)}var i=n(13),o=n(29),s=n(30),a=n(27),u=n(0),l=n(54),c=n(2),f=n(7);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(0),i=n(123);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0),i=n(92)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(51)("includes")},function(t,e,n){"use strict";var r=n(0),i=n(200),o=n(15),s=n(10),a=n(20),u=n(136);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=u(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(51)("flatMap")},function(t,e,n){"use strict";var r=n(0),i=n(200),o=n(15),s=n(10),a=n(34),u=n(136);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=s(e.length),r=u(e,0);return i(r,e,e,n,0,void 0===t?1:a(t)),r}}),n(51)("flatten")},function(t,e,n){"use strict";var r=n(0),i=n(95)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(201),o=n(100),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(201),o=n(100),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(72)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(72)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){"use strict";var r=n(0),i=n(39),o=n(10),s=n(96),a=n(83),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};n(130)(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new l(r,e)}})},function(t,e,n){n(119)("asyncIterator")},function(t,e,n){n(119)("observable")},function(t,e,n){var r=n(0),i=n(199),o=n(28),s=n(29),a=n(134);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),u=s.f,l=i(r),c={},f=0;l.length>f;)void 0!==(n=u(r,e=l[f++]))&&a(c,e,n);return c}})},function(t,e,n){var r=n(0),i=n(202)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(202)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(20),s=n(13);n(11)&&r(r.P+n(103),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(20),s=n(13);n(11)&&r(r.P+n(103),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(38),s=n(30),a=n(29).f;n(11)&&r(r.P+n(103),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.get}while(n=s(n))}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(38),s=n(30),a=n(29).f;n(11)&&r(r.P+n(103),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.set}while(n=s(n))}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(203)("Map")})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(203)("Set")})},function(t,e,n){n(104)("Map")},function(t,e,n){n(104)("Set")},function(t,e,n){n(104)("WeakMap")},function(t,e,n){n(104)("WeakSet")},function(t,e,n){n(105)("Map")},function(t,e,n){n(105)("Set")},function(t,e,n){n(105)("WeakMap")},function(t,e,n){n(105)("WeakSet")},function(t,e,n){var r=n(0);r(r.G,{global:n(4)})},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(4)})},function(t,e,n){var r=n(0),i=n(33);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,e,n){var r=n(0),i=n(205),o=n(184);r(r.S,"Math",{fscale:function(t,e,n,r,s){return o(i(t,e,n,r,s))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o+(r>>>0)+((i&s|(i|s)&~(i+s>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o-(r>>>0)-((~i&s|~(i^s)&i-s>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,s=n>>16,a=r>>16,u=(s*o>>>0)+(i*o>>>16);return s*a+(u>>16)+((i*a>>>0)+(65535&u)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,e,n){var r=n(0);r(r.S,"Math",{scale:n(205)})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,s=n>>>16,a=r>>>16,u=(s*o>>>0)+(i*o>>>16);return s*a+(u>>>16)+((i*a>>>0)+(65535&u)>>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){"use strict";var r=n(0),i=n(31),o=n(4),s=n(84),a=n(192);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(0),i=n(143),o=n(191);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(45),i=n(2),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},function(t,e,n){var r=n(45),i=n(2),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=a.get(e);return u.delete(n),!!u.size||a.delete(e)}})},function(t,e,n){var r=n(45),i=n(2),o=n(30),s=r.has,a=r.get,u=r.key,l=function(t,e,n){if(s(t,e,n))return a(t,e,n);var r=o(e);return null!==r?l(t,r,n):void 0};r.exp({getMetadata:function(t,e){return l(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(195),i=n(204),o=n(45),s=n(2),a=n(30),u=o.keys,l=o.key,c=function(t,e){var n=u(t,e),o=a(t);if(null===o)return n;var s=c(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return c(s(t),arguments.length<2?void 0:l(arguments[1]))}})},function(t,e,n){var r=n(45),i=n(2),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(45),i=n(2),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(45),i=n(2),o=n(30),s=r.has,a=r.key,u=function(t,e,n){if(s(t,e,n))return!0;var r=o(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(45),i=n(2),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(45),i=n(2),o=n(20),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},function(t,e,n){var r=n(0),i=n(142)(),o=n(4).process,s="process"==n(33)(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){"use strict";var r=n(0),i=n(4),o=n(31),s=n(142)(),a=n(9)("observable"),u=n(20),l=n(2),c=n(61),f=n(63),p=n(24),d=n(62),h=d.RETURN,m=function(t){return null==t?void 0:u(t)},g=function(t){var e=t._c;e&&(t._c=void 0,e())},v=function(t){return void 0===t._o},y=function(t){v(t)||(t._o=void 0,g(t))},_=function(t,e){l(t),this._c=void 0,this._o=t,t=new b(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(e){return void t.error(e)}v(this)&&g(this)};_.prototype=f({},{unsubscribe:function(){y(this)}});var b=function(t){this._s=t};b.prototype=f({},{next:function(t){var e=this._s;if(!v(e)){var n=e._o;try{var r=m(n.next);if(r)return r.call(n,t)}catch(t){try{y(e)}finally{throw t}}}},error:function(t){var e=this._s;if(v(e))throw t;var n=e._o;e._o=void 0;try{var r=m(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{g(e)}finally{throw t}}return g(e),t},complete:function(t){var e=this._s;if(!v(e)){var n=e._o;e._o=void 0;try{var r=m(n.complete);t=r?r.call(n,t):void 0}catch(t){try{g(e)}finally{throw t}}return g(e),t}}});var w=function(t){c(this,w,"Observable","_f")._f=u(t)};f(w.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){u(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:n})})}}),f(w,{from:function(t){var e="function"==typeof this?this:w,n=m(l(t)[a]);if(n){var r=l(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return s(function(){if(!n){try{if(d(t,!1,function(t){if(e.next(t),n)return h})===h)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:w)(function(t){var e=!1;return s(function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}}),function(){e=!0}})}}),p(w.prototype,a,function(){return this}),r(r.G,{Observable:w}),n(60)("Observable")},function(t,e,n){var r=n(4),i=n(0),o=n(100),s=[].slice,a=/MSIE .\./.test(o),u=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(t,e,n){var r=n(0),i=n(141);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){for(var r=n(138),i=n(56),o=n(25),s=n(4),a=n(24),u=n(73),l=n(9),c=l("iterator"),f=l("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=i(d),m=0;m<h.length;m++){var g,v=h[m],y=d[v],_=s[v],b=_&&_.prototype;if(b&&(b[c]||a(b,c,p),b[f]||a(b,f,v),u[v]=p,y))for(g in r)b[g]||o(b,g,r[g],!0)}},function(t,e,n){(function(e){/**
 * Copyright (c) 2014, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * https://raw.github.com/facebook/regenerator/master/LICENSE file. An
 * additional grant of patent rights can be found in the PATENTS file in
 * the same directory.
 */
!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,s=Object.create(o.prototype),a=new d(r||[]);return s._invoke=l(t,n,a),s}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function s(){}function a(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){function n(e,i,o,s){var a=r(t[e],t,i);if("throw"!==a.type){var u=a.arg,l=u.value;return l&&"object"==typeof l&&y.call(l,"__await")?Promise.resolve(l.__await).then(function(t){n("next",t,o,s)},function(t){n("throw",t,o,s)}):Promise.resolve(l).then(function(t){u.value=t,o(u)},s)}s(a.arg)}function i(t,e){function r(){return new Promise(function(r,i){n(t,e,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function l(t,e,n){var i=T;return function(o,s){if(i===C)throw new Error("Generator is already running");if(i===A){if("throw"===o)throw s;return m()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var u=c(a,n);if(u){if(u===O)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===T)throw i=A,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=C;var l=r(t,e,n);if("normal"===l.type){if(i=n.done?A:k,l.arg===O)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=A,n.method="throw",n.arg=l.arg)}}}function c(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,c(t,e),"throw"===e.method))return O;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,O;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,O):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,O)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function h(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=g,e.done=!0,e};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",w=_.asyncIterator||"@@asyncIterator",x=_.toStringTag||"@@toStringTag",S="object"==typeof t,E=e.regeneratorRuntime;if(E)return void(S&&(t.exports=E));E=e.regeneratorRuntime=S?t.exports:{},E.wrap=n;var T="suspendedStart",k="suspendedYield",C="executing",A="completed",O={},N={};N[b]=function(){return this};var I=Object.getPrototypeOf,R=I&&I(I(h([])));R&&R!==v&&y.call(R,b)&&(N=R);var P=s.prototype=i.prototype=Object.create(N);o.prototype=P.constructor=s,s.constructor=o,s[x]=o.displayName="GeneratorFunction",E.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},E.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(P),t},E.awrap=function(t){return{__await:t}},a(u.prototype),u.prototype[w]=function(){return this},E.AsyncIterator=u,E.async=function(t,e,r,i){var o=new u(n(t,e,r,i));return E.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},a(P),P[x]="Generator",P[b]=function(){return this},P.toString=function(){return"[object Generator]"},E.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},E.values=h,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=g)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var s=y.call(i,"catchLoc"),a=y.call(i,"finallyLoc");if(s&&a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,O):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),O},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),p(n),O}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:h(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),O}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,n(91))},function(t,e,n){n(446),t.exports=n(31).RegExp.escape},function(t,e,n){var r=n(0),i=n(447)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){"use strict";var r=function(){function t(t,e,n,i){function s(o,s,a){if(p)throw new Error("An instance of the widget has already been rendered. Call remove() first.");c()&&n.debugMessage("\n            Looks like there are still tokens in the URL! Don't forget to parse and store them.\n            See: https://github.com/okta/okta-signin-widget/#oidc-tokenparsetokensfromurlsuccess-error.\n          "),p=new e(r.extend({},i,o,{authClient:t,globalSuccessFn:s,globalErrorFn:a})),p.start()}function a(){p&&p.hide()}function u(){p&&p.show()}function l(){p&&(p.remove(),p=void 0)}function c(){return n.hasTokensInHash(window.location.hash)}function f(t){return s(o.transformShowSignInToGetTokensOptions(t,i))}var p;return{renderEl:s,authClient:t,showSignInToGetTokens:f,hasTokensInUrl:c,hide:a,show:u,remove:l}}function e(e){n(1);var o=n(477),s=n(17),a=n(495);s.debugMessage("\n        The Okta Sign-In Widget is running in development mode.\n        When you are ready to publish your app, embed the minified version to turn on production mode.\n        See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn\n      ");var u=new o({url:e.baseUrl,transformErrorXHR:s.transformErrorXHR,headers:{"X-Okta-User-Agent-Extended":"okta-signin-widget-"+i.version},clientId:e.clientId,redirectUri:e.redirectUri});r.extend(this,a.prototype.Events,t(u,a,s,e)),this.listenTo(a.prototype,"all",this.trigger),this.once("afterRender",function(t){this.trigger("ready",t)})}var r=n(145),i=n(146),o=n(147);return e}();t.exports=r},function(t,e,n){var r=n(16),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){t.exports={default:n(451),__esModule:!0}},function(t,e,n){n(107),n(114),t.exports=n(156).f("iterator")},function(t,e,n){var r=n(149),i=n(150);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),l=a.length;return u<0||u>=l?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===l||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(209),i=n(110),o=n(112),s={};n(65)(s,n(22)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(52),i=n(46),o=n(76);t.exports=n(43)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(67),i=n(212),o=n(456);t.exports=function(t){return function(e,n,s){var a,u=r(e),l=i(u.length),c=o(s,l);if(t&&n!=n){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var r=n(149),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(66),i=n(113),o=n(153)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){"use strict";var r=n(459),i=n(460),o=n(75),s=n(67);t.exports=n(206)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(462),__esModule:!0}},function(t,e,n){n(463),n(216),n(468),n(469),t.exports=n(16).Symbol},function(t,e,n){"use strict";var r=n(21),i=n(66),o=n(43),s=n(42),a=n(208),u=n(214).KEY,l=n(74),c=n(154),f=n(112),p=n(111),d=n(22),h=n(156),m=n(157),g=n(464),v=n(465),y=n(46),_=n(47),b=n(113),w=n(67),x=n(152),S=n(110),E=n(209),T=n(466),k=n(467),C=n(158),A=n(52),O=n(76),N=k.f,I=A.f,R=T.f,P=r.Symbol,M=r.JSON,L=M&&M.stringify,D=d("_hidden"),F=d("toPrimitive"),U={}.propertyIsEnumerable,j=c("symbol-registry"),B=c("symbols"),q=c("op-symbols"),H=Object.prototype,V="function"==typeof P&&!!C.f,W=r.QObject,$=!W||!W.prototype||!W.prototype.findChild,z=o&&l(function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=N(H,e);r&&delete H[e],I(t,e,n),r&&t!==H&&I(H,e,r)}:I,G=function(t){var e=B[t]=E(P.prototype);return e._k=t,e},K=V&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,n){return t===H&&Y(q,e,n),y(t),e=x(e,!0),y(n),i(B,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=E(n,{enumerable:S(0,!1)})):(i(t,D)||I(t,D,S(1,{})),t[D][e]=!0),z(t,e,n)):I(t,e,n)},J=function(t,e){y(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?E(t):J(E(t),e)},X=function(t){var e=U.call(this,t=x(t,!0));return!(this===H&&i(B,t)&&!i(q,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,D)&&this[D][t])||e)},Z=function(t,e){if(t=w(t),e=x(e,!0),t!==H||!i(B,e)||i(q,e)){var n=N(t,e);return!n||!i(B,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=R(w(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==D||e==u||r.push(e);return r},et=function(t){for(var e,n=t===H,r=R(n?q:w(t)),o=[],s=0;r.length>s;)!i(B,e=r[s++])||n&&!i(H,e)||o.push(B[e]);return o};V||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(q,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),z(this,t,S(1,n))};return o&&$&&z(H,t,{configurable:!0,set:e}),G(t)},a(P.prototype,"toString",function(){return this._k}),k.f=Z,A.f=Y,n(215).f=T.f=tt,n(87).f=X,C.f=et,o&&!n(85)&&a(H,"propertyIsEnumerable",X,!0),h.f=function(t){return G(d(t))}),s(s.G+s.W+s.F*!V,{Symbol:P});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)d(nt[rt++]);for(var it=O(d.store),ot=0;it.length>ot;)m(it[ot++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return i(j,t+="")?j[t]:j[t]=P(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),s(s.S+s.F*!V,"Object",{create:Q,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var st=l(function(){C.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),M&&s(s.S+s.F*(!V||l(function(){var t=P();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!K(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,L.apply(M,r)}}),P.prototype[F]||n(65)(P.prototype,F,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(76),i=n(158),o=n(87);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,l=0;a.length>l;)u.call(t,s=a[l++])&&e.push(s);return e}},function(t,e,n){var r=n(86);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(67),i=n(215).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){var r=n(87),i=n(110),o=n(67),s=n(152),a=n(66),u=n(207),l=Object.getOwnPropertyDescriptor;e.f=n(43)?l:function(t,e){if(t=o(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){n(157)("asyncIterator")},function(t,e,n){n(157)("observable")},function(t,e,n){n(471);var r=n(16).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(42);r(r.S+r.F*!n(43),"Object",{defineProperty:n(52).f})},function(t,e,n){(function(r){var i,o;
//     (c) 2010-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Backbone may be freely distributed under the MIT license.
!function(s){var a="object"==typeof self&&self.self==self&&self||"object"==typeof r&&r.global==r&&r;i=[n(473),n(115),e],void 0!==(o=function(t,e,n){a.Backbone=s(a,n,t,e)}.apply(e,i))&&(t.exports=o)}(function(t,e,n,r){var i=t.Backbone,o=[].slice;e.VERSION="1.2.1",e.$=r,e.noConflict=function(){return t.Backbone=i,this},e.emulateHTTP=!1,e.emulateJSON=!1;var s=function(t,e,r){switch(t){case 1:return function(){return n[e](this[r])};case 2:return function(t){return n[e](this[r],t)};case 3:return function(t,i){return n[e](this[r],t,i)};case 4:return function(t,i,o){return n[e](this[r],t,i,o)};default:return function(){var t=o.call(arguments);return t.unshift(this[r]),n[e].apply(n,t)}}},a=function(t,e,r){n.each(e,function(e,i){n[i]&&(t.prototype[i]=s(e,i,r))})},u=e.Events={},l=/\s+/,c=function(t,e,r,i,o){var s,a=0;if(r&&"object"==typeof r){void 0!==i&&"context"in o&&void 0===o.context&&(o.context=i);for(s=n.keys(r);a<s.length;a++)e=t(e,s[a],r[s[a]],o)}else if(r&&l.test(r))for(s=r.split(l);a<s.length;a++)e=t(e,s[a],i,o);else e=t(e,r,i,o);return e};u.on=function(t,e,n){return f(this,t,e,n)};var f=function(t,e,n,r,i){if(t._events=c(p,t._events||{},e,n,{context:r,ctx:t,listening:i}),i){(t._listeners||(t._listeners={}))[i.id]=i}return t};u.listenTo=function(t,e,r){if(!t)return this;var i=t._listenId||(t._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),s=o[i];if(!s){var a=this._listenId||(this._listenId=n.uniqueId("l"));s=o[i]={obj:t,objId:i,id:a,listeningTo:o,count:0}}return f(t,e,r,this,s),this};var p=function(t,e,n,r){if(n){var i=t[e]||(t[e]=[]),o=r.context,s=r.ctx,a=r.listening;a&&a.count++,i.push({callback:n,context:o,ctx:o||s,listening:a})}return t};u.off=function(t,e,n){return this._events?(this._events=c(d,this._events,t,e,{context:n,listeners:this._listeners}),this):this},u.stopListening=function(t,e,r){var i=this._listeningTo;if(!i)return this;for(var o=t?[t._listenId]:n.keys(i),s=0;s<o.length;s++){var a=i[o[s]];if(!a)break;a.obj.off(e,r,this)}return n.isEmpty(i)&&(this._listeningTo=void 0),this};var d=function(t,e,r,i){if(t){var o,s=0,a=i.context,u=i.listeners;if(e||r||a){for(var l=e?[e]:n.keys(t);s<l.length;s++){e=l[s];var c=t[e];if(!c)break;for(var f=[],p=0;p<c.length;p++){var d=c[p];r&&r!==d.callback&&r!==d.callback._callback||a&&a!==d.context?f.push(d):(o=d.listening)&&0==--o.count&&(delete u[o.id],delete o.listeningTo[o.objId])}f.length?t[e]=f:delete t[e]}return n.size(t)?t:void 0}for(var h=n.keys(u);s<h.length;s++)o=u[h[s]],delete u[o.id],delete o.listeningTo[o.objId]}};u.once=function(t,e,r){var i=c(h,{},t,e,n.bind(this.off,this));return this.on(i,void 0,r)},u.listenToOnce=function(t,e,r){var i=c(h,{},e,r,n.bind(this.stopListening,this,t));return this.listenTo(t,i)};var h=function(t,e,r,i){if(r){var o=t[e]=n.once(function(){i(e,o),r.apply(this,arguments)});o._callback=r}return t};u.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),n=Array(e),r=0;r<e;r++)n[r]=arguments[r+1];return c(m,this._events,t,void 0,n),this};var m=function(t,e,n,r){if(t){var i=t[e],o=t.all;i&&o&&(o=o.slice()),i&&g(i,r),o&&g(o,[e].concat(r))}return t},g=function(t,e){var n,r=-1,i=t.length,o=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++r<i;)(n=t[r]).callback.call(n.ctx);return;case 1:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o);return;case 2:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,s);return;case 3:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,s,a);return;default:for(;++r<i;)(n=t[r]).callback.apply(n.ctx,e);return}};u.bind=u.on,u.unbind=u.off,n.extend(e,u);var v=e.Model=function(t,e){var r=t||{};e||(e={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(r=this.parse(r,e)||{}),r=n.defaults({},r,n.result(this,"defaults")),this.set(r,e),this.changed={},this.initialize.apply(this,arguments)};n.extend(v.prototype,u,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(t){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!n.iteratee(t,this)(this.attributes)},set:function(t,e,r){if(null==t)return this;var i;if("object"==typeof t?(i=t,r=e):(i={})[t]=e,r||(r={}),!this._validate(i,r))return!1;var o=r.unset,s=r.silent,a=[],u=this._changing;this._changing=!0,u||(this._previousAttributes=n.clone(this.attributes),this.changed={});var l=this.attributes,c=this.changed,f=this._previousAttributes;this.idAttribute in i&&(this.id=i[this.idAttribute]);for(var p in i)e=i[p],n.isEqual(l[p],e)||a.push(p),n.isEqual(f[p],e)?delete c[p]:c[p]=e,o?delete l[p]:l[p]=e;if(!s){a.length&&(this._pending=r);for(var d=0;d<a.length;d++)this.trigger("change:"+a[d],this,l[a[d]],r)}if(u)return this;if(!s)for(;this._pending;)r=this._pending,this._pending=!1,this.trigger("change",this,r);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,r={};for(var i in t){var o=t[i];n.isEqual(e[i],o)||(r[i]=o)}return!!n.size(r)&&r},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=n.extend({parse:!0},t);var e=this,r=t.success;return t.success=function(n){var i=t.parse?e.parse(n,t):n;if(!e.set(i,t))return!1;r&&r.call(t.context,e,n,t),e.trigger("sync",e,n,t)},F(this,t),this.sync("read",this,t)},save:function(t,e,r){var i;null==t||"object"==typeof t?(i=t,r=e):(i={})[t]=e,r=n.extend({validate:!0,parse:!0},r);var o=r.wait;if(i&&!o){if(!this.set(i,r))return!1}else if(!this._validate(i,r))return!1;var s=this,a=r.success,u=this.attributes;r.success=function(t){s.attributes=u;var e=r.parse?s.parse(t,r):t;if(o&&(e=n.extend({},i,e)),e&&!s.set(e,r))return!1;a&&a.call(r.context,s,t,r),s.trigger("sync",s,t,r)},F(this,r),i&&o&&(this.attributes=n.extend({},u,i));var l=this.isNew()?"create":r.patch?"patch":"update";"patch"!==l||r.attrs||(r.attrs=i);var c=this.sync(l,this,r);return this.attributes=u,c},destroy:function(t){t=t?n.clone(t):{};var e=this,r=t.success,i=t.wait,o=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(n){i&&o(),r&&r.call(t.context,e,n,t),e.isNew()||e.trigger("sync",e,n,t)};var s=!1;return this.isNew()?n.defer(t.success):(F(this,t),s=this.sync("delete",this,t)),i||o(),s},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||D();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.defaults({validate:!0},t))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;return!r||(this.trigger("invalid",this,r,n.extend(e,{validationError:r})),!1)}}),a(v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var y=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},_={add:!0,remove:!0,merge:!0},b={add:!0,remove:!1};n.extend(y.prototype,u,{model:v,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,n.extend({merge:!1},e,b))},remove:function(t,e){e=n.extend({},e);var r=!n.isArray(t);t=r?[t]:n.clone(t);var i=this._removeModels(t,e);return!e.silent&&i&&this.trigger("update",this,e),r?i[0]:i},set:function(t,e){e=n.defaults({},e,_),e.parse&&!this._isModel(t)&&(t=this.parse(t,e));var r=!n.isArray(t);t=r?t?[t]:[]:t.slice();var i,o,s,a,u,l=e.at;null!=l&&(l=+l),l<0&&(l+=this.length+1);for(var c=this.comparator&&null==l&&!1!==e.sort,f=n.isString(this.comparator)?this.comparator:null,p=[],d=[],h={},m=e.add,g=e.merge,v=e.remove,y=!(c||!m||!v)&&[],b=!1,w=0;w<t.length;w++){if(s=t[w],a=this.get(s))v&&(h[a.cid]=!0),g&&s!==a&&(s=this._isModel(s)?s.attributes:s,e.parse&&(s=a.parse(s,e)),a.set(s,e),c&&!u&&a.hasChanged(f)&&(u=!0)),t[w]=a;else if(m){if(!(o=t[w]=this._prepareModel(s,e)))continue;p.push(o),this._addReference(o,e)}o=a||o,o&&(i=this.modelId(o.attributes),!y||!o.isNew()&&h[i]||(y.push(o),b=b||!this.models[w]||o.cid!==this.models[w].cid),h[i]=!0)}if(v){for(var w=0;w<this.length;w++)h[(o=this.models[w]).cid]||d.push(o);d.length&&this._removeModels(d,e)}if(p.length||b)if(c&&(u=!0),this.length+=p.length,null!=l)for(var w=0;w<p.length;w++)this.models.splice(l+w,0,p[w]);else{y&&(this.models.length=0);for(var x=y||p,w=0;w<x.length;w++)this.models.push(x[w])}if(u&&this.sort({silent:!0}),!e.silent){for(var S=null!=l?n.clone(e):e,w=0;w<p.length;w++)null!=l&&(S.index=l+w),(o=p[w]).trigger("add",o,this,S);(u||b)&&this.trigger("sort",this,e),(p.length||d.length)&&this.trigger("update",this,e)}return r?t[0]:t},reset:function(t,e){e=e?n.clone(e):{};for(var r=0;r<this.models.length;r++)this._removeReference(this.models[r],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t){var e=this.modelId(this._isModel(t)?t.attributes:t);return this._byId[t]||this._byId[e]||this._byId[t.cid]}},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){var r=n.matches(t);return this[e?"find":"filter"](function(t){return r(t.attributes)})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),n.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(n.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return n.invoke(this.models,"get",t)},fetch:function(t){t=n.extend({parse:!0},t);var e=t.success,r=this;return t.success=function(n){var i=t.reset?"reset":"set";r[i](n,t),e&&e.call(t.context,r,n,t),r.trigger("sync",r,n,t)},F(this,t),this.sync("read",this,t)},create:function(t,e){e=e?n.clone(e):{};var r=e.wait;if(!(t=this._prepareModel(t,e)))return!1;r||this.add(t,e);var i=this,o=e.success;return e.success=function(t,e,n){r&&i.add(t,n),o&&o.call(n.context,t,e,n)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?n.clone(e):{},e.collection=this;var r=new this.model(t,e);return r.validationError?(this.trigger("invalid",this,r.validationError,e),!1):r},_removeModels:function(t,e){for(var n=[],r=0;r<t.length;r++){var i=this.get(t[r]);if(i){var o=this.indexOf(i);this.models.splice(o,1),this.length--,e.silent||(e.index=o,i.trigger("remove",i,this,e)),n.push(i),this._removeReference(i,e)}}return!!n.length&&n},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var n=this.modelId(t.attributes);null!=n&&(this._byId[n]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var n=this.modelId(t.attributes);null!=n&&delete this._byId[n],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,r){if("add"!==t&&"remove"!==t||n===this){if("destroy"===t&&this.remove(e,r),"change"===t){var i=this.modelId(e.previousAttributes()),o=this.modelId(e.attributes);i!==o&&(null!=i&&delete this._byId[i],null!=o&&(this._byId[o]=e))}this.trigger.apply(this,arguments)}}}),a(y,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:2,contains:2,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3},"models");var w=["groupBy","countBy","sortBy","indexBy"];n.each(w,function(t){n[t]&&(y.prototype[t]=function(e,r){var i=n.isFunction(e)?e:function(t){return t.get(e)};return n[t](this.models,i,r)})});var x=e.View=function(t){this.cid=n.uniqueId("view"),n.extend(this,n.pick(t,E)),this._ensureElement(),this.initialize.apply(this,arguments)},S=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(x.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=n.result(this,"events")),!t)return this;this.undelegateEvents();for(var e in t){var r=t[e];if(n.isFunction(r)||(r=this[r]),r){var i=e.match(S);this.delegate(i[1],i[2],n.bind(r,this))}}return this},delegate:function(t,e,n){return this.$el.on(t+".delegateEvents"+this.cid,e,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,n){return this.$el.off(t+".delegateEvents"+this.cid,e,n),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,r,i){var o=T[t];n.defaults(i||(i={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var s={type:o,dataType:"json"};if(i.url||(s.url=n.result(r,"url")||D()),null!=i.data||!r||"create"!==t&&"update"!==t&&"patch"!==t||(s.contentType="application/json",s.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),i.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){s.type="POST",i.emulateJSON&&(s.data._method=o);var a=i.beforeSend;i.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===s.type||i.emulateJSON||(s.processData=!1);var u=i.error;i.error=function(t,e,n){i.textStatus=e,i.errorThrown=n,u&&u.call(i.context,t,e,n)};var l=i.xhr=e.ajax(n.extend(s,i));return r.trigger("request",r,l,i),l};var T={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var k=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},C=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,O=/\*\w+/g,N=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(k.prototype,u,{initialize:function(){},route:function(t,r,i){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var o=this;return e.history.route(t,function(n){var s=o._extractParameters(t,n);!1!==o.execute(i,s,r)&&(o.trigger.apply(o,["route:"+r].concat(s)),o.trigger("route",r,s),e.history.trigger("route",o,r,s))}),this},execute:function(t,e,n){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(N,"\\$&").replace(C,"(?:$1)?").replace(A,function(t,e){return e?t:"([^/?]+)"}).replace(O,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return n.map(r,function(t,e){return e===r.length-1?t||null:t?decodeURIComponent(t):null})}});var I=e.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},R=/^[#\/]|\s+$/g,P=/^\/+|\/+$/g,M=/#.*$/;I.started=!1,n.extend(I.prototype,u,{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(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(R,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");if(I.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window,this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(P,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,i=r.insertBefore(this.iframe,r.firstChild).contentWindow;i.document.open(),i.document.close(),i.location.hash="#"+this.fragment}var o=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!I.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var r=n+t;if(t=this.decodeFragment(t.replace(M,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return this.location.assign(r);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var i=this.iframe.contentWindow;e.replace||(i.document.open(),i.document.close()),this._updateHash(i.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else t.hash="#"+e}}),e.history=new I;var L=function(t,e){var r,i=this;r=t&&n.has(t,"constructor")?t.constructor:function(){return i.apply(this,arguments)},n.extend(r,i,e);var o=function(){this.constructor=r};return o.prototype=i.prototype,r.prototype=new o,t&&n.extend(r.prototype,t),r.__super__=i.prototype,r};v.extend=y.extend=k.extend=x.extend=I.extend=L;var D=function(){throw new Error('A "url" property or function must be specified')},F=function(t,e){var n=e.error;e.error=function(r){n&&n.call(e.context,t,r,e),t.trigger("error",t,r,e)}};return e})}).call(e,n(91))},function(t,e,n){(function(t,n){var r,i;
//     (c) 2009-2018 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
!function(){var o="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||this||{},s=o._,a=Array.prototype,u=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,f=a.slice,p=u.toString,d=u.hasOwnProperty,h=Array.isArray,m=Object.keys,g=Object.create,v=function(){},y=function(t){return t instanceof y?t:this instanceof y?void(this._wrapped=t):new y(t)};void 0===e||e.nodeType?o._=y:(void 0!==n&&!n.nodeType&&n.exports&&(e=n.exports=y),e._=y),y.VERSION="1.9.1";var _,b=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},w=function(t,e,n){return y.iteratee!==_?y.iteratee(t,e):null==t?y.identity:y.isFunction(t)?b(t,e,n):y.isObject(t)&&!y.isArray(t)?y.matcher(t):y.property(t)};y.iteratee=_=function(t,e){return w(t,e,1/0)};var x=function(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}},S=function(t){if(!y.isObject(t))return{};if(g)return g(t);v.prototype=t;var e=new v;return v.prototype=null,e},E=function(t){return function(e){return null==e?void 0:e[t]}},T=function(t,e){return null!=t&&d.call(t,e)},k=function(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0},C=Math.pow(2,53)-1,A=E("length"),O=function(t){var e=A(t);return"number"==typeof e&&e>=0&&e<=C};y.each=y.forEach=function(t,e,n){e=b(e,n);var r,i;if(O(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=y.keys(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t},y.map=y.collect=function(t,e,n){e=w(e,n);for(var r=!O(t)&&y.keys(t),i=(r||t).length,o=Array(i),s=0;s<i;s++){var a=r?r[s]:s;o[s]=e(t[a],a,t)}return o};var N=function(t){var e=function(e,n,r,i){var o=!O(e)&&y.keys(e),s=(o||e).length,a=t>0?0:s-1;for(i||(r=e[o?o[a]:a],a+=t);a>=0&&a<s;a+=t){var u=o?o[a]:a;r=n(r,e[u],u,e)}return r};return function(t,n,r,i){var o=arguments.length>=3;return e(t,b(n,i,4),r,o)}};y.reduce=y.foldl=y.inject=N(1),y.reduceRight=y.foldr=N(-1),y.find=y.detect=function(t,e,n){var r=O(t)?y.findIndex:y.findKey,i=r(t,e,n);if(void 0!==i&&-1!==i)return t[i]},y.filter=y.select=function(t,e,n){var r=[];return e=w(e,n),y.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},y.reject=function(t,e,n){return y.filter(t,y.negate(w(e)),n)},y.every=y.all=function(t,e,n){e=w(e,n);for(var r=!O(t)&&y.keys(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(!e(t[s],s,t))return!1}return!0},y.some=y.any=function(t,e,n){e=w(e,n);for(var r=!O(t)&&y.keys(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(e(t[s],s,t))return!0}return!1},y.contains=y.includes=y.include=function(t,e,n,r){return O(t)||(t=y.values(t)),("number"!=typeof n||r)&&(n=0),y.indexOf(t,e,n)>=0},y.invoke=x(function(t,e,n){var r,i;return y.isFunction(e)?i=e:y.isArray(e)&&(r=e.slice(0,-1),e=e[e.length-1]),y.map(t,function(t){var o=i;if(!o){if(r&&r.length&&(t=k(t,r)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)})}),y.pluck=function(t,e){return y.map(t,y.property(e))},y.where=function(t,e){return y.filter(t,y.matcher(e))},y.findWhere=function(t,e){return y.find(t,y.matcher(e))},y.max=function(t,e,n){var r,i,o=-1/0,s=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=O(t)?t:y.values(t);for(var a=0,u=t.length;a<u;a++)null!=(r=t[a])&&r>o&&(o=r)}else e=w(e,n),y.each(t,function(t,n,r){((i=e(t,n,r))>s||i===-1/0&&o===-1/0)&&(o=t,s=i)});return o},y.min=function(t,e,n){var r,i,o=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=O(t)?t:y.values(t);for(var a=0,u=t.length;a<u;a++)null!=(r=t[a])&&r<o&&(o=r)}else e=w(e,n),y.each(t,function(t,n,r){((i=e(t,n,r))<s||i===1/0&&o===1/0)&&(o=t,s=i)});return o},y.shuffle=function(t){return y.sample(t,1/0)},y.sample=function(t,e,n){if(null==e||n)return O(t)||(t=y.values(t)),t[y.random(t.length-1)];var r=O(t)?y.clone(t):y.values(t),i=A(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,s=0;s<e;s++){var a=y.random(s,o),u=r[s];r[s]=r[a],r[a]=u}return r.slice(0,e)},y.sortBy=function(t,e,n){var r=0;return e=w(e,n),y.pluck(y.map(t,function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")};var I=function(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=w(r,i),y.each(n,function(e,i){var s=r(e,i,n);t(o,e,s)}),o}};y.groupBy=I(function(t,e,n){T(t,n)?t[n].push(e):t[n]=[e]}),y.indexBy=I(function(t,e,n){t[n]=e}),y.countBy=I(function(t,e,n){T(t,n)?t[n]++:t[n]=1});var R=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;y.toArray=function(t){return t?y.isArray(t)?f.call(t):y.isString(t)?t.match(R):O(t)?y.map(t,y.identity):y.values(t):[]},y.size=function(t){return null==t?0:O(t)?t.length:y.keys(t).length},y.partition=I(function(t,e,n){t[n?0:1].push(e)},!0),y.first=y.head=y.take=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[0]:y.initial(t,t.length-e)},y.initial=function(t,e,n){return f.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},y.last=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[t.length-1]:y.rest(t,Math.max(0,t.length-e))},y.rest=y.tail=y.drop=function(t,e,n){return f.call(t,null==e||n?1:e)},y.compact=function(t){return y.filter(t,Boolean)};var P=function(t,e,n,r){r=r||[];for(var i=r.length,o=0,s=A(t);o<s;o++){var a=t[o];if(O(a)&&(y.isArray(a)||y.isArguments(a)))if(e)for(var u=0,l=a.length;u<l;)r[i++]=a[u++];else P(a,e,n,r),i=r.length;else n||(r[i++]=a)}return r};y.flatten=function(t,e){return P(t,e,!1)},y.without=x(function(t,e){return y.difference(t,e)}),y.uniq=y.unique=function(t,e,n,r){y.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=w(n,r));for(var i=[],o=[],s=0,a=A(t);s<a;s++){var u=t[s],l=n?n(u,s,t):u;e&&!n?(s&&o===l||i.push(u),o=l):n?y.contains(o,l)||(o.push(l),i.push(u)):y.contains(i,u)||i.push(u)}return i},y.union=x(function(t){return y.uniq(P(t,!0,!0))}),y.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=A(t);r<i;r++){var o=t[r];if(!y.contains(e,o)){var s;for(s=1;s<n&&y.contains(arguments[s],o);s++);s===n&&e.push(o)}}return e},y.difference=x(function(t,e){return e=P(e,!0,!0),y.filter(t,function(t){return!y.contains(e,t)})}),y.unzip=function(t){for(var e=t&&y.max(t,A).length||0,n=Array(e),r=0;r<e;r++)n[r]=y.pluck(t,r);return n},y.zip=x(y.unzip),y.object=function(t,e){for(var n={},r=0,i=A(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n};var M=function(t){return function(e,n,r){n=w(n,r);for(var i=A(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}};y.findIndex=M(1),y.findLastIndex=M(-1),y.sortedIndex=function(t,e,n,r){n=w(n,r,1);for(var i=n(e),o=0,s=A(t);o<s;){var a=Math.floor((o+s)/2);n(t[a])<i?o=a+1:s=a}return o};var L=function(t,e,n){return function(r,i,o){var s=0,a=A(r);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(f.call(r,s,a),y.isNaN),o>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o<a;o+=t)if(r[o]===i)return o;return-1}};y.indexOf=L(1,y.findIndex,y.sortedIndex),y.lastIndexOf=L(-1,y.findLastIndex),y.range=function(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i},y.chunk=function(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(f.call(t,r,r+=e));return n};var D=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=S(t.prototype),s=t.apply(o,i);return y.isObject(s)?s:o};y.bind=x(function(t,e,n){if(!y.isFunction(t))throw new TypeError("Bind must be called on a function");var r=x(function(i){return D(t,r,e,this,n.concat(i))});return r}),y.partial=x(function(t,e){var n=y.partial.placeholder,r=function(){for(var i=0,o=e.length,s=Array(o),a=0;a<o;a++)s[a]=e[a]===n?arguments[i++]:e[a];for(;i<arguments.length;)s.push(arguments[i++]);return D(t,r,this,this,s)};return r}),y.partial.placeholder=y,y.bindAll=x(function(t,e){e=P(e,!1,!1);var n=e.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=y.bind(t[r],t)}}),y.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return T(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},y.delay=x(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),y.defer=y.partial(y.delay,y,1),y.throttle=function(t,e,n){var r,i,o,s,a=0;n||(n={});var u=function(){a=!1===n.leading?0:y.now(),r=null,s=t.apply(i,o),r||(i=o=null)},l=function(){var l=y.now();a||!1!==n.leading||(a=l);var c=e-(l-a);return i=this,o=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),a=l,s=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),s};return l.cancel=function(){clearTimeout(r),a=0,r=i=o=null},l},y.debounce=function(t,e,n){var r,i,o=function(e,n){r=null,n&&(i=t.apply(e,n))},s=x(function(s){if(r&&clearTimeout(r),n){var a=!r;r=setTimeout(o,e),a&&(i=t.apply(this,s))}else r=y.delay(o,e,this,s);return i});return s.cancel=function(){clearTimeout(r),r=null},s},y.wrap=function(t,e){return y.partial(e,t)},y.negate=function(t){return function(){return!t.apply(this,arguments)}},y.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},y.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},y.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},y.once=y.partial(y.before,2),y.restArguments=x;var F=!{toString:null}.propertyIsEnumerable("toString"),U=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],j=function(t,e){var n=U.length,r=t.constructor,i=y.isFunction(r)&&r.prototype||u,o="constructor";for(T(t,o)&&!y.contains(e,o)&&e.push(o);n--;)(o=U[n])in t&&t[o]!==i[o]&&!y.contains(e,o)&&e.push(o)};y.keys=function(t){if(!y.isObject(t))return[];if(m)return m(t);var e=[];for(var n in t)T(t,n)&&e.push(n);return F&&j(t,e),e},y.allKeys=function(t){if(!y.isObject(t))return[];var e=[];for(var n in t)e.push(n);return F&&j(t,e),e},y.values=function(t){for(var e=y.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r},y.mapObject=function(t,e,n){e=w(e,n);for(var r=y.keys(t),i=r.length,o={},s=0;s<i;s++){var a=r[s];o[a]=e(t[a],a,t)}return o},y.pairs=function(t){for(var e=y.keys(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r},y.invert=function(t){for(var e={},n=y.keys(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e},y.functions=y.methods=function(t){var e=[];for(var n in t)y.isFunction(t[n])&&e.push(n);return e.sort()};var B=function(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],s=t(o),a=s.length,u=0;u<a;u++){var l=s[u];e&&void 0!==n[l]||(n[l]=o[l])}return n}};y.extend=B(y.allKeys),y.extendOwn=y.assign=B(y.keys),y.findKey=function(t,e,n){e=w(e,n);for(var r,i=y.keys(t),o=0,s=i.length;o<s;o++)if(r=i[o],e(t[r],r,t))return r};var q=function(t,e,n){return e in n};y.pick=x(function(t,e){var n={},r=e[0];if(null==t)return n;y.isFunction(r)?(e.length>1&&(r=b(r,e[1])),e=y.allKeys(t)):(r=q,e=P(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var s=e[i],a=t[s];r(a,s,t)&&(n[s]=a)}return n}),y.omit=x(function(t,e){var n,r=e[0];return y.isFunction(r)?(r=y.negate(r),e.length>1&&(n=e[1])):(e=y.map(P(e,!1,!1),String),r=function(t,n){return!y.contains(e,n)}),y.pick(t,r,n)}),y.defaults=B(y.allKeys,!0),y.create=function(t,e){var n=S(t);return e&&y.extendOwn(n,e),n},y.clone=function(t){return y.isObject(t)?y.isArray(t)?t.slice():y.extend({},t):t},y.tap=function(t,e){return e(t),t},y.isMatch=function(t,e){var n=y.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var s=n[o];if(e[s]!==i[s]||!(s in i))return!1}return!0};var H,V;H=function(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!==t)return e!==e;var i=typeof t;return("function"===i||"object"===i||"object"==typeof e)&&V(t,e,n,r)},V=function(t,e,n,r){t instanceof y&&(t=t._wrapped),e instanceof y&&(e=e._wrapped);var i=p.call(t);if(i!==p.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return l.valueOf.call(t)===l.valueOf.call(e)}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,a=e.constructor;if(s!==a&&!(y.isFunction(s)&&s instanceof s&&y.isFunction(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if((u=t.length)!==e.length)return!1;for(;u--;)if(!H(t[u],e[u],n,r))return!1}else{var c,f=y.keys(t);if(u=f.length,y.keys(e).length!==u)return!1;for(;u--;)if(c=f[u],!T(e,c)||!H(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(t,e){return H(t,e)},y.isEmpty=function(t){return null==t||(O(t)&&(y.isArray(t)||y.isString(t)||y.isArguments(t))?0===t.length:0===y.keys(t).length)},y.isElement=function(t){return!(!t||1!==t.nodeType)},y.isArray=h||function(t){return"[object Array]"===p.call(t)},y.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},y.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(t){y["is"+t]=function(e){return p.call(e)==="[object "+t+"]"}}),y.isArguments(arguments)||(y.isArguments=function(t){return T(t,"callee")});var W=o.document&&o.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof W&&(y.isFunction=function(t){return"function"==typeof t||!1}),y.isFinite=function(t){return!y.isSymbol(t)&&isFinite(t)&&!isNaN(parseFloat(t))},y.isNaN=function(t){return y.isNumber(t)&&isNaN(t)},y.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===p.call(t)},y.isNull=function(t){return null===t},y.isUndefined=function(t){return void 0===t},y.has=function(t,e){if(!y.isArray(e))return T(t,e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(null==t||!d.call(t,i))return!1;t=t[i]}return!!n},y.noConflict=function(){return o._=s,this},y.identity=function(t){return t},y.constant=function(t){return function(){return t}},y.noop=function(){},y.property=function(t){return y.isArray(t)?function(e){return k(e,t)}:E(t)},y.propertyOf=function(t){return null==t?function(){}:function(e){return y.isArray(e)?k(t,e):t[e]}},y.matcher=y.matches=function(t){return t=y.extendOwn({},t),function(e){return y.isMatch(e,t)}},y.times=function(t,e,n){var r=Array(Math.max(0,t));e=b(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r},y.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},y.now=Date.now||function(){return(new Date).getTime()};var $={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},z=y.invert($),G=function(t){var e=function(e){return t[e]},n="(?:"+y.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};y.escape=G($),y.unescape=G(z),y.result=function(t,e,n){y.isArray(e)||(e=[e]);var r=e.length;if(!r)return y.isFunction(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=y.isFunction(o)?o.call(t):o}return t};var K=0;y.uniqueId=function(t){var e=++K+"";return t?t+e:e},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Y=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,X=function(t){return"\\"+J[t]};y.template=function(t,e,n){!e&&n&&(e=n),e=y.defaults({},e,y.templateSettings);var r=RegExp([(e.escape||Y).source,(e.interpolate||Y).source,(e.evaluate||Y).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,s,a){return o+=t.slice(i,a).replace(Q,X),i=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";var s;try{s=new Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}var a=function(t){return s.call(this,t,y)};return a.source="function("+(e.variable||"obj")+"){\n"+o+"}",a},y.chain=function(t){var e=y(t);return e._chain=!0,e};var Z=function(t,e){return t._chain?y(e).chain():e};y.mixin=function(t){return y.each(y.functions(t),function(e){var n=y[e]=t[e];y.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Z(this,n.apply(y,t))}}),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=a[t];y.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],Z(this,n)}}),y.each(["concat","join","slice"],function(t){var e=a[t];y.prototype[t]=function(){return Z(this,e.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},r=[],void 0!==(i=function(){return y}.apply(e,r))&&(n.exports=i)}()}).call(e,n(91),n(474)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports={signout:"Sign Out",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?",needhelp:"Need help signing in?",goback:"Back to Sign In",forgotpassword:"Forgot password?",help:"Help",retry:"Retry","minutes.oneMinute":"minute",minutes:"{0} minutes",hours:"{0} hours",days:"{0} days","error.config":"There was a configuration error","error.required.authParams":'Missing parameters for the configured authentication scheme - "OAUTH2"',"error.required.baseUrl":'"baseUrl" is a required widget parameter',"error.required.success":"A success handler is required","error.required.el":'"el" is a required widget parameter',"error.invalid.colors.brand":'"colors.brand" must be in six-digit hex format',"error.unsupported.browser":"Unsupported browser","error.unsupported.cors":"Unsupported browser - missing CORS support","error.unsupported.localStorage":"Unsupported browser - missing localStorage support","error.enabled.cors":"There was an error sending the request - have you enabled CORS?","error.expired.session":"Your session has expired. Please try to log in again.","error.auth.lockedOut":"Your account is locked. Please contact your administrator.","error.oauth.idToken":"There was a problem generating the id_token for the user. Please try again.","error.network.connection":"Unable to connect to the server. Please check your network connection.","error.username.required":"Please enter a username","error.password.required":"Please enter a password","errors.E0000004":"Sign in failed!","errors.E0000069":"Your account was locked due to excessive MFA attempts.","errors.E0000047":"You exceeded the maximum number of requests. Try again in a while.","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.E0000079":"This operation is not allowed in the current authentication state.","errors.E0000081":"Cannot modify the {0} attribute because it is a reserved attribute for this application.","errors.E0000082":"Each code can only be used once. Please wait for a new code and try again.","errors.E0000083":"PassCode is valid but exceeded time window.","errors.E0000084":"App evaluation error.","errors.E0000085":"You do not have permission to access your account at this time.","errors.E0000086":"This policy cannot be activated at this time.","errors.E0000087":"The recovery question answer did not match our records.","errors.E0000090":"The role specified is already assigned to the user.","errors.E0000091":"The provided role type was not the same as required role type.","errors.E0000092":"Access to this application requires re-authentication: {0}","errors.E0000093":"Target count limit exceeded","errors.E0000094":"The provided filter is unsupported.","errors.E0000095":"Recovery not allowed for unknown user.","errors.E0000096":"This certificate has already been uploaded with kid={0}.","errors.E0000097":"There is no verified phone number on file.","errors.E0000098":"This phone number is invalid.","errors.E0000099":"Only numbers located in US and Canada are allowed.  Contact your administrator if this is a problem.","errors.E0000100":"Unable to perform search query.","errors.E0000101":"Upload failed because of a problem with your ipa file, {0}","errors.E0000102":"YubiKey cannot be deleted while assigned to an user. Please deactivate YubiKey using reset MFA and try again","errors.E0000103":"Action on device already in queue or in progress","errors.E0000104":"Device is already locked and cannot be locked again","errors.E0000105":"You have accessed an account recovery link that has expired or been previously used.","errors.E0000106":"Wait for token to change, then enter the new tokencode.","errors.E0000107":"The entity is not in the expected state for the requested transition.","errors.E0000109":"An SMS message was recently sent. Please wait 30 seconds before trying again.","errors.E0000110":"You have accessed a link that has expired or has been previously used.","errors.E0000111":"Cannot modify the {0} object because it is read-only.","errors.E0000112":"Cannot update this user because they are still being activated. Please try again in a few minutes.","errors.E0000113":"{0}.","errors.E0000114":"A user with this login already exists in the current organization.","errors.E0000115":"Upload failed, {0}","errors.E0000116":"{0}","errors.E0000119":"Your account is locked. Please contact your administrator.","errors.E0000124":"Could not create user. To create a user and expire their password immediately, a password must be specified","errors.E0000125":'Could not create user. To create a user and expire their password immediately, "activate" must be true',"errors.E0000133":"A phone call was recently made. Please wait 30 seconds before trying again.","oform.next":"Next","oform.verify":"Verify","oform.send":"Send","oform.back":"Back","oform.save":"Save","oform.cancel":"Cancel","oform.edit":"Edit","oform.previous":"Previous","oform.error.icon.ariaLabel":"Error","oform.errorbanner.title":"We found some errors. Please review the form and make corrections.","oform.errormsg.title":"Please review the form to correct the following errors:","oform.error.unexpected":"There was an unexpected internal error. Please try again.","model.validation.field.blank":"This field cannot be left blank","model.validation.field.wrong.type":"This field is of the wrong type","model.validation.field.invalid":"This field has an invalid value","model.validation.field.value.not.allowed":"This field value is not allowed","model.validation.field.array.minItems":"This array does not have enough items","model.validation.field.array.maxItems":"This array contains too many items","model.validation.field.array.unique":"This array can only have unique values","model.validation.field.string.minLength":"This field cannot be less than the minimum required characters","model.validation.field.string.maxLength":"This field cannot exceed the maximum allowed characters","model.validation.field.invalid.format.email":"This value is not a valid email address","model.validation.field.invalid.format.uri":"This value is not a valid URI","model.validation.field.invalid.format.ipv4":"This value is not a valid IPv4 address","model.validation.field.invalid.format.hostname":"This value is not a valid hostname","model.validation.field.username":"Please check your username","factor.totpSoft.oktaVerify":"Okta Verify","factor.totpSoft.googleAuthenticator":"Google Authenticator","factor.totpSoft.description":"Enter single-use code from the mobile app.","factor.totpHard.rsaSecurId":"RSA SecurID","factor.totpHard.symantecVip":"Symantec VIP","factor.totpHard.description":"Enter a single-use code from a hardware token.","factor.totpHard.yubikey":"YubiKey","factor.totpHard.yubikey.description":"Insert your YubiKey and tap it to get a verification code.","factor.totpHard.yubikey.placeholder":"Click here, then tap your YubiKey","factor.oktaVerifyPush":"Okta Verify","factor.push.description":"Use a push notification sent to the mobile app.","factor.duo":"Duo Security","factor.duo.description":"Use Push Notification, SMS, or Voice call to authenticate.","factor.sms":"SMS Authentication","factor.sms.description":"Enter a single-use code sent to your mobile phone.","factor.sms.time.warning":'Haven\'t received an SMS? To try again, click <span style="font-weight:bold">Re-send code</span>.',"factor.call":"Voice Call Authentication","factor.call.description":"Use a phone to authenticate by following voice instructions.","factor.call.time.warning":'Haven\'t received a voice call? To try again, click <span style="font-weight:bold">Redial</span>.',"factor.securityQuestion":"Security Question","factor.securityQuestion.description":"Use the answer to a security question to authenticate.","factor.windowsHello":"Windows Hello","factor.windowsHello.signin.description":"Sign in to Okta using Windows Hello.","factor.windowsHello.signin.description.generic":"Sign in using Windows Hello.","factor.windowsHello.signin.description.specific":"Sign in to {0} using Windows Hello.","factor.u2f":"Security Key (U2F)","factor.u2f.description":"Use a Universal 2nd Factor (U2F) security key to sign on to Okta.","factor.u2f.description.generic":"Use a Universal 2nd Factor (U2F) security key to sign in.","factor.u2f.description.specific":"Use a Universal 2nd Factor (U2F) security key to sign in to {0}.","factor.email":"Email Authentication","factor.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":"Security Key or Built-in Authenticator","factor.webauthn.description":"Use a security key (USB or bluetooth) or a built-in device authenticator (Windows Hello, macOS TouchID, etc.)","factor.hotp.description":"Enter a single-use code from an authenticator.","mfa.challenge.verify":"Verify","mfa.challenge.answer.placeholder":"Answer","mfa.challenge.answer.tooltip":"Answer","mfa.challenge.answer.showAnswer":"Show","mfa.challenge.answer.hideAnswer":"Hide","mfa.challenge.enterCode.placeholder":"Enter Code","mfa.challenge.enterCode.tooltip":"Enter Code","mfa.challenge.password.placeholder":"Password","mfa.backToFactors":"Back to factor list","mfa.phoneNumber.placeholder":"Phone number","mfa.phoneNumber.ext.placeholder":"Extension","mfa.sendCode":"Send code","mfa.sent":"Sent","mfa.resendCode":"Re-send code","mfa.call":"Call","mfa.calling":"Calling","mfa.redial":"Redial","mfa.sendEmail":"Send email","mfa.resendEmail":"Re-send email","mfa.scanBarcode":"Scan barcode","mfa.noAccessToEmail":"Can't access email","password.reset":"Reset Password","password.oldPassword.placeholder":"Old password","password.oldPassword.tooltip":"Old password","password.newPassword.placeholder":"New password","password.newPassword.tooltip":"New password","password.confirmPassword.placeholder":"Repeat password","password.confirmPassword.tooltip":"Repeat password","password.error.match":"New passwords must match","password.enroll.error.match":"Passwords must match","recovery.sms.hint":"SMS can only be used if a mobile phone number has been configured.","recovery.mobile.hint":"{0} can only be used if a mobile phone number has been configured.","recovery.sms":"SMS","recovery.call":"Voice Call","recovery.smsOrCall":"SMS or Voice Call","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":"Your company recommends setting up additional factors for authentication. Set up will be required in: {0} day(s).","enroll.choices.description.gracePeriod.oneDay":"Your company recommends setting up additional factors for authentication. Set up will be required in: less than 1 day.","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","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.totp.installApp":"Install {0}","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> &gt; <b>Accounts</b> &gt; <b>Sign-in</b> to configure Windows Hello.","verify.windowsHello.subtitle":"Verify your identity with Windows Hello","verify.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","verify.windowsHello.subtitle.signingIn":"Signing in to Okta...","verify.windowsHello.subtitle.signingIn.generic":"Signing in...","verify.windowsHello.subtitle.signingIn.specific":"Signing in to {0}...","verify.windowsHello.save":"Verify with Windows Hello","verify.windowsHello.error.notFound":"Your Windows Hello enrollment does not match our records. Contact your administrator for assistance.","verify.windowsHello.error.notFound.selectAnother":"Your Windows Hello enrollment does not match our records. Select another factor or contact your administrator for assistance.","enroll.u2f.title":"Setup Security Key (U2F)","enroll.u2f.save":"Register Security Key","enroll.u2f.general2":"Make sure you have a Security Key. If already inserted, remove it now.<br>If you have a Bluetooth Security Key, turn on your computer's Bluetooth.","enroll.u2f.general3":"Click the button below to register","enroll.u2f.instructions":"Insert your Security Key into a USB port on this computer. If it has a button or gold disk, tap it.","enroll.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, press the button.","u2f.error.factorNotSupported":"Security Key (U2F) is not supported on this browser. Select another factor or contact your admin for assistance.","u2f.error.factorNotSupported.oneFactor":"Security Key (U2F) is not supported on this browser. Contact your admin for assistance.","u2f.error.other":"An unknown error has occured. Try again or select another factor.","u2f.error.other.oneFactor":"An unknown error has occured. Try again or contact your admin for assistance.","u2f.error.badRequest":"There was an error with the U2F request. Try again or select another factor.","u2f.error.badRequest.oneFactor":"There was an error with the U2F request. Try again or contact your admin for assistance.","u2f.error.unsupported":"The security key is unsupported. Select another factor.","u2f.error.unsupported.oneFactor":"The security key is unsupported. Contact your admin for assistance.","u2f.error.timeout":"You have timed out of the authentication period. Please try again.","verify.u2f.instructions":"Insert your Security Key. If it has a button or gold disk, tap it.","verify.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, turn on your computer's Bluetooth and press the button.","verify.u2f.retry":"Retry","enroll.customFactor.subtitle":"Clicking below will redirect to MFA enrollment with {0}","enroll.customFactor.save":"Enroll","verify.customFactor.subtitle":"Clicking below will redirect to verification with {0}","enroll.webauthn.title":"Set up security key or built-in authenticator","enroll.webauthn.save":"Enroll","enroll.webauthn.instructions":"Your browser or device will prompt you to register a security key or built-in authenticator. Follow the instructions to complete enrollment.","enroll.webauthn.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>' before continuing.","verify.webauthn.instructions":"Your browser or device will prompt you to verify with a security key or built-in authenticator. Follow the instructions to complete authentication.","webauthn.error.factorNotSupported":"Security key or built-in authenticator is not supported on this browser. Select another factor or contact your admin for assistance.","webauthn.error.factorNotSupported.oneFactor":"Security key or built-in authenticator is not supported on this browser. Contact your admin for assistance.","enroll.totp.enterCode":"Enter code displayed from the application","enroll.totp.setupApp":"Launch {0} application on your mobile device and select Add an account.","enroll.totp.setupGoogleAuthApp":'Launch {0}, tap the "+" icon, then select "Scan barcode".',"enroll.totp.cannotScan":"Can't scan?","enroll.totp.refreshBarcode":"Refresh code","enroll.totp.cannotScanBarcode":"Can't scan barcode?","enroll.totp.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.generic":"To set up manually enter your Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.specific":"To set up manually enter your {0} Account username and then input the following in the Secret Key Field","enroll.totp.sharedSecretInstructions":"Enter your Okta Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.generic":"Enter your Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.specific":"Enter your {0} Account username and enter the following in the Secret Key Field","enroll.totp.sendSms":"Send activation link via SMS","enroll.totp.sendEmail":"Send activation link via email","enroll.totp.setupManually":"Setup manually without push notification","enroll.totp.enrollViaEmail.title":"Activation email sent!","enroll.totp.enrollViaEmail.msg":"Open the email from your mobile device.","enroll.totp.enrollViaSms.title":"SMS sent!","enroll.totp.enrollViaSms.msg":"View the SMS on your mobile device.","recoveryChallenge.sms.title":"Enter verification code sent via SMS","recoveryChallenge.call.title":"Enter verification code received via Voice Call","mfa.factors.dropdown.title":"Select an authentication factor","mfa.factors.dropdown.sr.text":"Select Authentication Factor - {0} Factor Selected","mfa.duoSecurity.push":"Push — {0}","mfa.duoSecurity.sms":"SMS — {0}","mfa.duoSecurity.call":"Call — {0}","mfa.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.timeout":"Your push notification has expired.","oktaverify.warning":"Haven't received a push notification yet? Try opening the Okta Verify App on your phone.","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","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.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.expired.submit":"Change Password","password.expired.title":"Your Okta password has expired","password.expired.title.generic":"Your password has expired","password.expired.title.specific":"Your {0} password has expired","password.expiring.later":"Remind me later","password.expiring.title":"Your password will expire in {0} days","password.expiring.today":"Your password will expire later today","password.expiring.soon":"Your password is expiring soon","password.expiring.subtitle":"When password expires you may be locked out of Okta Mobile, mobile email, and other services.","password.expiring.subtitle.generic":"When password expires you will be locked out of your account.","password.expiring.subtitle.specific":"When password expires you will be locked out of your {0} account.","password.expired.custom.submit":"Go to {0}","password.expired.custom.subtitle":"This password is set on another website. Click the button below to go there and set a new password.","account.unlock.title":"Unlock account","account.unlock.email.or.username.placeholder":"Email or username","account.unlock.email.or.username.tooltip":"Email or username","account.unlock.sendText":"Send SMS","account.unlock.voiceCall":"Voice Call","account.unlock.sendEmail":"Send Email","account.unlock.emailSent.title":"Email sent!","account.unlock.emailSent.desc":"Email has been sent to {0} with instructions on unlocking your account.","account.unlock.question.title":"Answer Unlock Account Challenge","account.unlock.question.submit":"Unlock Account","account.unlock.unlocked.title":"Account successfully unlocked!","account.unlock.unlocked.desc":"You can log in using your existing username and password.","account.unlock.code.notReceived":"Didn't receive a code? Unlock via email","account.unlock.noFactorsEnabled":"No unlock options available. Please contact your administrator.","contact.support":"If you didn't provide a secondary email address or don't have access to email, please contact your administrator at {0}","socialauth.divider.text":"OR","socialauth.facebook.label":"Sign in with Facebook","socialauth.google.label":"Sign in with Google","socialauth.linkedin.label":"Sign in with LinkedIn","socialauth.microsoft.label":"Sign in with Microsoft","socialauth.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.desc":"We just sent a verification email to {0}. Please check your email and verify your account to continue.","registration.form.title":"Create Account","registration.form.submit":"Register","registration.passwordComplexity.minLength":"At least {0} character(s)","registration.passwordComplexity.minLower":"At least {0} lowercase letter(s)","registration.passwordComplexity.minUpper":"At least {0} uppercase letter(s)","registration.passwordComplexity.minNumber":"At least {0} number(s)","registration.passwordComplexity.minSymbol":"At least {0} symbol(s)","registration.passwordComplexity.excludeUsername":"Does not contain part of username","registration.passwordComplexity.excludeAttribute":"Does not contain '{0}'","registration.required.fields.label":"* indicates required field","registration.default.callbackhook.error":"We could not process your registration at this time. Please try again later.","registration.error.userName.invalidEmail":"Invalid email address","registration.error.password.passwordRequirementsNotMet":"Password requirements were not met","registration.error.userName.notUniqueWithinOrg":"An account with that email already exists","piv.card":"PIV Card","piv.card.insert":"Please insert your PIV card and select the user certificate.","piv.card.error":"Certificate authentication failed. Contact your admin.","piv.card.error.empty":"No certificate selected. Choose a certificate and try again.","piv.card.error.invalid":"Certificate validation failed. Choose another certificate and try again.","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.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.","consent.required.text":"<b>{0}</b> would like to do the following on your behalf, <b>{1}</b>:","consent.required.headline":"<b>{0}</b> is requesting permissions to:","consent.required.description":"By clicking Allow Access, you allow this app access to 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","cert.authentication.title":"Certificate authentication","u2f.error.notSupportedBrowser":"The Security Key is only supported for Chrome or Firefox browsers. Select another factor or contact your admin for assistance.","u2f.error.notSupportedBrowser.oneFactor":"The Security Key is only supported for Chrome or Firefox browsers. Contact your admin for assistance.","u2f.error.notSupportedMobileDevice":"Security Key (U2F) is not supported on mobile devices. Select another 2FA method to sign in.","u2f.error.notSupportedMobileDevice.oneFactor":"Security Key (U2F) is not supported on mobile devices.","error.invalid.identifierFirst":'"identifierFirst" can only be enabled if "idpDiscovery" is enabled as well',"deviceTrust.sso.subtitle":"Okta Mobile will check that your device is secure and make it easy to sign in.","enroll.u2f.general1":"If using Firefox download and install the U2F browser extension.","u2f.error.noFirefoxExtension":'<a target="_blank" href="https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/">Download</a> and install the Firefox U2F browser extension before proceeding. You may be required to restart your browser after installation.',"model.validation.field.ascii":"The field cannot contain Non-ASCII characters","model.validation.field.too.long":"The field cannot exceed {0} characters","model.validation.field.too.small":"The field cannot be less than {0} characters","enroll.choices.step":"{0} of {1}"}},function(t,e){t.exports={AF:"Afghanistan",AX:"Åland Islands blah",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",VG:"Virgin Islands, British",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CO:"Colombia",KM:"Comoros",CG:"Congo",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",CD:"Congo, the Democratic Republic of the",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",TL:"Timor-Leste",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KR:"Korea, Republic of",XK:"Kosovo, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",KP:"Korea, Democratic People's Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé and Príncipe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",VI:"Virgin Islands, U.S.",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Holy See (Vatican City State)",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"}},function(t,e,n){var r=n(478),i=n(88);t.exports=n(481)(i,r)},function(t,e,n){function r(t,e,n){var r=n.data,o=n.headers||{};return"application/json"===(o["Content-Type"]||o["content-type"]||"")&&r&&"string"!=typeof r&&(r=JSON.stringify(r)),i(e,{method:t,headers:n.headers,body:r,credentials:!1===n.withCredentials?"omit":"include"}).then(function(t){var e=!t.ok,n=t.status,r=function(t){var r={responseText:t,status:n};if(e)throw r;return r};return t.headers.get("Content-Type")&&t.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?t.json().then(r):t.text().then(r)})}var i=n(479);t.exports=r},function(t,e){var n=function(t){function e(){this.fetch=!1,this.DOMException=t.DOMException}return e.prototype=t,new e}("undefined"!=typeof self?self:this);!function(t){!function(e){function n(t){return t&&DataView.prototype.isPrototypeOf(t)}function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function i(t){return"string"!=typeof t&&(t=String(t)),t}function o(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return b.iterable&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function a(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function l(t){var e=new FileReader,n=u(e);return e.readAsArrayBuffer(t),n}function c(t){var e=new FileReader,n=u(e);return e.readAsText(t),n}function f(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:b.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:b.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:b.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():b.arrayBuffer&&b.blob&&n(t)?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):b.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||x(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):b.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},b.blob&&(this.blob=function(){var t=a(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var t=a(this);if(t)return t;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(f(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},b.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return S.indexOf(e)>-1?e:t}function m(t,e){e=e||{};var n=e.body;if(t instanceof m){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new s(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function v(t){var e=new s;return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}}),e}function y(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new s(e.headers),this.url=e.url||"",this._initBody(t)}function _(t,n){return new Promise(function(r,i){function o(){a.abort()}var s=new m(t,n);if(s.signal&&s.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;a.onload=function(){var t={status:a.status,statusText:a.statusText,headers:v(a.getAllResponseHeaders()||"")};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var e="response"in a?a.response:a.responseText;r(new y(e,t))},a.onerror=function(){i(new TypeError("Network request failed"))},a.ontimeout=function(){i(new TypeError("Network request failed"))},a.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&b.blob&&(a.responseType="blob"),s.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",o),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",o)}),a.send(void 0===s._bodyInit?null:s._bodyInit)})}var b={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(b.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],x=ArrayBuffer.isView||function(t){return t&&w.indexOf(Object.prototype.toString.call(t))>-1};s.prototype.append=function(t,e){t=r(t),e=i(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},s.prototype.delete=function(t){delete this.map[r(t)]},s.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},s.prototype.set=function(t,e){this.map[r(t)]=i(e)},s.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},s.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),o(t)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),o(t)},s.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),o(t)},b.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var S=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},d.call(m.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];y.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new y(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}_.polyfill=!0,t.fetch||(t.fetch=_,t.Headers=s,t.Request=m,t.Response=y),e.Headers=s,e.Request=m,e.Response=y,e.fetch=_}({})}(n),delete n.fetch.polyfill,e=n.fetch,e.default=n.fetch,e.fetch=n.fetch,e.Headers=n.Headers,e.Request=n.Request,e.Response=n.Response,t.exports=e},function(t,e,n){var r,i;!function(o){var s=!1;if(r=o,void 0!==(i="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=i),s=!0,t.exports=o(),s=!0,!s){var a=window.Cookies,u=window.Cookies=o();u.noConflict=function(){return window.Cookies=a,u}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(n){function r(e,i,o){var s;if("undefined"!=typeof document){if(arguments.length>1){if(o=t({path:"/"},r.defaults,o),"number"==typeof o.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*o.expires),o.expires=a}o.expires=o.expires?o.expires.toUTCString():"";try{s=JSON.stringify(i),/^[\{\[]/.test(s)&&(i=s)}catch(t){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var u="";for(var l in o)o[l]&&(u+="; "+l,!0!==o[l]&&(u+="="+o[l]));return document.cookie=e+"="+i+u}e||(s={});for(var c=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,p=0;p<c.length;p++){var d=c[p].split("="),h=d.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var m=d[0].replace(f,decodeURIComponent);if(h=n.read?n.read(h,m):n(h,m)||h.replace(f,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(t){}if(e===m){s=h;break}e||(s[m]=h)}catch(t){}}return s}}return r.set=r,r.get=function(t){return r.call(r,t)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(e,n){r(e,"",t(n,{expires:-1}))},r.withConverter=e,r}return e(function(){})})},function(t,e,n){function r(t){var e=this,n=o.getValidUrl(t),r=t.pkce||"authorization_code"===t.grantType;if(this.options={url:m.removeTrailingSlash(n),clientId:t.clientId,issuer:m.removeTrailingSlash(t.issuer),authorizeUrl:m.removeTrailingSlash(t.authorizeUrl),userinfoUrl:m.removeTrailingSlash(t.userinfoUrl),tokenUrl:m.removeTrailingSlash(t.tokenUrl),pkce:r,redirectUri:t.redirectUri,httpRequestClient:t.httpRequestClient,storageUtil:t.storageUtil,transformErrorXHR:t.transformErrorXHR,headers:t.headers},this.options.pkce&&!e.features.isPKCESupported())throw new i("This browser doesn't support PKCE");this.userAgent="okta-auth-js-"+s.SDK_VERSION,t.maxClockSkew||0===t.maxClockSkew?this.options.maxClockSkew=t.maxClockSkew:this.options.maxClockSkew=s.DEFAULT_MAX_CLOCK_SKEW,this.options.ignoreSignature=!!t.ignoreSignature,e.session={close:m.bind(f.closeSession,null,e),exists:m.bind(f.sessionExists,null,e),get:m.bind(f.getSession,null,e),refresh:m.bind(f.refreshSession,null,e),setCookieAndRedirect:m.bind(f.setCookieAndRedirect,null,e)},e.tx={status:m.bind(h.transactionStatus,null,e),resume:m.bind(h.resumeTransaction,null,e),exists:m.bind(h.transactionExists,null,e)},e.tx.exists._get=function(t){return a.get(t)},e.idToken={authorize:{_getLocationHref:function(){return window.location.href}}},e.token={getWithoutPrompt:m.bind(p.getWithoutPrompt,null,e),getWithPopup:m.bind(p.getWithPopup,null,e),getWithRedirect:m.bind(p.getWithRedirect,null,e),parseFromUrl:m.bind(p.parseFromUrl,null,e),decode:p.decodeToken,renew:m.bind(p.renewToken,null,e),getUserInfo:m.bind(p.getUserInfo,null,e),verify:m.bind(p.verifyToken,null,e)},e.token.getWithRedirect._setLocation=function(t){window.location=t},e.token.parseFromUrl._getHistory=function(){return window.history},e.token.parseFromUrl._getLocation=function(){return window.location},e.token.parseFromUrl._getDocument=function(){return window.document},e.fingerprint._getUserAgent=function(){return navigator.userAgent};var u=/windows phone|iemobile|wpdesktop/i;e.features.isFingerprintSupported=function(){var t=e.fingerprint._getUserAgent();return t&&!u.test(t)},e.tokenManager=new d(e,t.tokenManager)}n(482);var i=n(53),o=n(484),s=n(77),a=n(88).storage,u=n(78),l=n(221),c=n(12),f=n(487),p=n(488),d=n(492),h=n(220),m=n(37),g=r.prototype;g.features={},g.features.isPopupPostMessageSupported=function(){var t=document.documentMode&&document.documentMode<10;return!(!window.postMessage||t)},g.features.isTokenVerifySupported=function(){return"undefined"!=typeof crypto&&crypto.subtle&&"undefined"!=typeof Uint8Array},g.features.isPKCESupported=function(){return g.features.isTokenVerifySupported()},g.signIn=function(t){function e(e){return delete t.sendFingerprint,h.postToTransaction(n,"/api/v1/authn",t,e)}var n=this;return t=m.clone(t||{}),t.sendFingerprint?n.fingerprint().then(function(t){return e({headers:{"X-Device-Fingerprint":t}})}):e()},g.signOut=function(){return this.session.close()},o.addSharedPrototypes(g),g.webfinger=function(t){var e="/.well-known/webfinger"+m.toQueryParams(t),n={headers:{Accept:"application/jrd+json"}};return u.get(this,e,n)},g.fingerprint=function(t){function e(t){if(t&&t.data&&t.origin===n.options.url){try{var e=JSON.parse(t.data)}catch(t){return r.reject(new i("Unable to parse iframe response"))}if(e)return"FingerprintAvailable"===e.type?r.resolve(e.fingerprint):void("FingerprintServiceReady"===e.type&&t.source.postMessage(JSON.stringify({type:"GetFingerprint"}),t.origin))}}t=t||{};var n=this;if(!n.features.isFingerprintSupported())return c.reject(new i("Fingerprinting is not supported on this device"));var r=c.defer(),o=document.createElement("iframe");o.style.display="none",l.addListener(window,"message",e),o.src=n.options.url+"/auth/services/devicefingerprint",document.body.appendChild(o);var s=setTimeout(function(){r.reject(new i("Fingerprinting timed out"))},t.timeout||15e3);return r.promise.fin(function(){clearTimeout(s),l.removeListener(window,"message",e),document.body.contains(o)&&o.parentElement.removeChild(o)})},t.exports=o.buildOktaAuth(r)},function(t,e,n){n(483),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var n;if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),i=r.length>>>0;if(0===i)return-1;var o=+e||0;if(Math.abs(o)===1/0&&(o=0),o>=i)return-1;for(n=Math.max(o>=0?o:i-Math.abs(o),0);n<i;){if(n in r&&r[n]===t)return n;n++}return-1}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)})},function(t,e,n){!function(){function t(t){this.message=t}var n=e,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=new Error,t.prototype.name="InvalidCharacterError",n.btoa||(n.btoa=function(e){for(var n,i,o=String(e),s=0,a=r,u="";o.charAt(0|s)||(a="=",s%1);u+=a.charAt(63&n>>8-s%1*8)){if((i=o.charCodeAt(s+=.75))>255)throw new t("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|i}return u}),n.atob||(n.atob=function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,s=0,a=0,u="";o=n.charAt(a++);~o&&(i=s%4?64*i+o:o,s++%4)?u+=String.fromCharCode(255&i>>(-2*s&6)):0)o=r.indexOf(o);return u})}()},function(t,e,n){function r(t){if(!t)throw new s("No arguments passed to constructor. Required usage: new OktaAuth(args)");var e=t.url;if(!e){var n=new RegExp("^http?s?://.+");if(!t.issuer||!n.test(t.issuer))throw new s('No url passed to constructor. Required usage: new OktaAuth({url: "https://{yourOktaDomain}.com"})');e=t.issuer.split("/oauth2/")[0]}if(-1!==e.indexOf("-admin."))throw new s('URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({url: "https://{yourOktaDomain}.com})');return e}function i(t){t.forgotPassword=function(t){return a.postToTransaction(this,"/api/v1/authn/recovery/password",t)},t.unlockAccount=function(t){return a.postToTransaction(this,"/api/v1/authn/recovery/unlock",t)},t.verifyRecoveryToken=function(t){return a.postToTransaction(this,"/api/v1/authn/recovery/token",t)}}function o(t){return function(e,n){function r(i){if(!(this instanceof r))return new r(i);i&&(i.storageUtil=e,i.ajaxRequest?(u.deprecate("ajaxRequest is being deprecated, use httpRequestClient attribute instead."),i.httpRequestClient=i.ajaxRequest):i.httpRequestClient||(i.httpRequestClient=n)),u.bind(t,this)(i)}return r.prototype=t.prototype,r.prototype.constructor=r,r.features=t.prototype.features,r}}var s=n(53),a=n(220),u=n(37);t.exports={addSharedPrototypes:i,buildOktaAuth:o,getValidUrl:r}},function(t,e){function n(t,e){this.name="AuthApiError",this.message=t.errorSummary,this.errorSummary=t.errorSummary,this.errorCode=t.errorCode,this.errorLink=t.errorLink,this.errorId=t.errorId,this.errorCauses=t.errorCauses,e&&(this.xhr=e)}n.prototype=new Error,t.exports=n},function(t,e){function n(){this.name="AuthPollStopError",this.message="The poll was stopped by the sdk"}n.prototype=new Error,t.exports=n},function(t,e,n){function r(t){return t.session.get().then(function(t){return"ACTIVE"===t.status}).fail(function(){return!1})}function i(t){return l.get(t,"/api/v1/sessions/me").then(function(e){var n=u.omit(e,"_links");return n.refresh=function(){return l.post(t,u.getLink(e,"refresh").href)},n.user=function(){return l.get(t,u.getLink(e,"user").href)},n}).fail(function(){return{status:"INACTIVE"}})}function o(t){return l.httpRequest(t,{url:t.options.url+"/api/v1/sessions/me",method:"DELETE"})}function s(t){return l.post(t,"/api/v1/sessions/me/lifecycle/refresh")}function a(t,e,n){n=n||window.location.href,window.location=t.options.url+"/login/sessionCookieRedirect"+u.toQueryParams({checkAccountSetupComplete:!0,token:e,redirectUrl:n})}var u=n(37),l=n(78);t.exports={sessionExists:r,getSession:i,closeSession:o,refreshSession:s,setCookieAndRedirect:a}},function(t,e,n){function r(t){var e,n=t.split(".");try{e={header:JSON.parse(S.base64UrlToString(n[0])),payload:JSON.parse(S.base64UrlToString(n[1])),signature:n[2]}}catch(t){throw new C("Malformed token")}return e}function i(t,e,n){return(new T).then(function(){if(!e||!e.idToken)throw new C("Only idTokens may be verified");var i=r(e.idToken),o={clientId:t.options.clientId,issuer:t.options.issuer||t.options.url,ignoreSignature:t.options.ignoreSignature};return S.extend(o,n),E.validateClaims(t,i.payload,o),1!=o.ignoreSignature&&t.features.isTokenVerifySupported()?E.getKey(t,e.issuer,i.header.kid).then(function(t){return k.verifyToken(e.idToken,t)}).then(function(t){if(!t)throw new C("The token signature is not valid");return e}):e})}function o(t,e,n){function r(e){!e.data||e.origin!==t.options.url||e.data&&S.isString(n)&&e.data.state!==n||i.resolve(e.data)}var i=T.defer();return E.addListener(window,"message",r),i.promise.timeout(e||12e4,new C("OAuth flow timed out")).fin(function(){E.removeListener(window,"message",r)})}function s(t,e,n){function r(){try{e&&e.location&&e.location.hash?i.resolve(E.hashToObject(e.location.hash)):e&&!e.closed&&setTimeout(r,500)}catch(t){setTimeout(r,500)}}var i=T.defer();return r(),i.promise.timeout(n||12e4,new C("OAuth flow timed out"))}function a(t,e,n,r){var i=I.loadMeta(t),o={clientId:e.clientId,authorizationCode:n,codeVerifier:i.codeVerifier,redirectUri:i.redirectUri};return I.getToken(t,o,r).then(function(t){return u(t,o),t}).fin(function(){I.clearMeta(t)})}function u(t,e){if(t.error||t.error_description)throw new A(t.error,t.error_description);if(t.state!==e.state)throw new C("OAuth flow response state doesn't match request state")}function l(t,e,n,r){r=r||{};var o=e.responseType,s=S.clone(e.scopes),l=e.clientId||t.options.clientId;return(new T).then(function(){return u(n,e),n.code?(o=["token","id_token"],a(t,e,n.code,r)):n}).then(function(n){var o={};if(n.access_token&&(o.token={accessToken:n.access_token,expiresAt:Number(n.expires_in)+Math.floor(Date.now()/1e3),tokenType:n.token_type,scopes:s,authorizeUrl:r.authorizeUrl,userinfoUrl:r.userinfoUrl}),n.id_token){var a=t.token.decode(n.id_token),u={idToken:n.id_token,claims:a.payload,expiresAt:a.payload.exp,scopes:s,authorizeUrl:r.authorizeUrl,issuer:r.issuer,clientId:l},c={clientId:l,issuer:r.issuer,nonce:e.nonce};return void 0!==e.ignoreSignature&&(c.ignoreSignature=e.ignoreSignature),i(t,u,c).then(function(){return o.id_token=u,o})}return o}).then(function(t){return Array.isArray(o)?(["token","id_token"].filter(function(t){return-1!==o.indexOf(t)}).forEach(function(e){if(!t[e])throw new C("Unable to parse OAuth flow response: "+e+" was not returned.")}),o.map(function(e){return t[e]})):t[o]})}function c(t){return{pkce:t.options.pkce||!1,clientId:t.options.clientId,redirectUri:t.options.redirectUri||window.location.href,responseType:"id_token",responseMode:"okta_post_message",state:E.generateState(),nonce:E.generateNonce(),scopes:["openid","email"],ignoreSignature:t.options.ignoreSignature}}function f(t){if(!t.clientId)throw new C("A clientId must be specified in the OktaAuth constructor to get a token");if(S.isString(t.responseType)&&-1!==t.responseType.indexOf(" "))throw new C("Multiple OAuth responseTypes must be defined as an array");var e=S.removeNils({client_id:t.clientId,redirect_uri:t.redirectUri,response_type:t.responseType,response_mode:t.responseMode,state:t.state,nonce:t.nonce,prompt:t.prompt,display:t.display,sessionToken:t.sessionToken,idp:t.idp,max_age:t.maxAge,code_challenge:t.codeChallenge,code_challenge_method:t.codeChallengeMethod});if(Array.isArray(e.response_type)&&(e.response_type=e.response_type.join(" ")),-1!==t.responseType.indexOf("id_token")&&-1===t.scopes.indexOf("openid"))throw new C("openid scope must be specified in the scopes argument when requesting an id_token");return e.scope=t.scopes.join(" "),e}function p(t){var e=f(t);return S.toQueryParams(e)}function d(t,e,n){return e=e||{},n=n||{},g(t,e).then(function(r){function i(t){return/^(https?\:\/\/)?([^:\/?#]*(?:\:[0-9]+)?)/.exec(t)[0]}function a(t){t.closed&&x.reject(new C("Unable to parse OAuth flow response"))}var u={prompt:"none",responseMode:"okta_post_message",display:null},c={display:"popup"};e.sessionToken?S.extend(r,u):e.idp&&S.extend(r,c);var f,d,h;try{h=E.getOAuthUrls(t,r,n),d=e.codeVerifier?h.tokenUrl:h.authorizeUrl,f=d+p(r)}catch(t){return T.reject(t)}switch(r.sessionToken||null===r.display?"IFRAME":"popup"===r.display?"POPUP":"IMPLICIT"){case"IFRAME":var m=o(t,n.timeout,r.state),g=E.loadFrame(f);return m.then(function(e){return l(t,r,e,h)}).fin(function(){document.body.contains(g)&&g.parentElement.removeChild(g)});case"POPUP":var v;if("okta_post_message"===r.responseMode){if(!t.features.isPopupPostMessageSupported())return T.reject(new C("This browser doesn't have full postMessage support"));v=o(t,n.timeout,r.state)}var y={popupTitle:n.popupTitle},_=E.loadPopup(f,y);if("fragment"===r.responseMode){var b=i(t.idToken.authorize._getLocationHref()),w=i(r.redirectUri);if(b!==w)return T.reject(new C("Using fragment, the redirectUri origin ("+w+") must match the origin of this page ("+b+")"));v=s(t,_,n.timeout)}var x=T.defer(),k=setInterval(function(){a(_)},500);return v.then(function(t){x.resolve(t)}).fail(function(t){x.reject(t)}),x.promise.then(function(e){return l(t,r,e,h)}).fin(function(){_.closed||(clearInterval(k),_.close())});default:return T.reject(new C("The full page redirect flow is not supported"))}})}function h(t,e,n){var r=S.clone(e)||{};return S.extend(r,{prompt:"none",responseMode:"okta_post_message",display:null}),d(t,r,n)}function m(t,e,n){var r=S.clone(e)||{};return S.extend(r,{display:"popup",responseMode:"okta_post_message"}),d(t,r,n)}function g(t,e){e=S.clone(e)||{},"authorization_code"===e.grantType&&(e.pkce=!0);var n=c(t);return S.extend(n,e),!0!==n.pkce?T.resolve(n):t.features.isPKCESupported()?(n.codeChallengeMethod||(n.codeChallengeMethod=I.DEFAULT_CODE_CHALLENGE_METHOD),n.responseType="code",E.getWellKnown(t,null).then(function(t){if(-1===(t.code_challenge_methods_supported||[]).indexOf(n.codeChallengeMethod))throw new C("Invalid code_challenge_method")}).then(function(){var e=I.generateVerifier(n.codeVerifier),r={codeVerifier:e,redirectUri:n.redirectUri};return I.saveMeta(t,r),I.computeChallenge(e)}).then(function(t){var e=S.clone(n)||{};return S.extend(e,n,{codeChallenge:t}),e})):T.reject(new C("This browser doesn't support PKCE"))}function v(t,e,n){return e=S.clone(e)||{},g(t,e).then(function(r){e.responseMode||(r.responseType.includes("code")&&!r.pkce?r.responseMode="query":r.responseMode="fragment");var i=E.getOAuthUrls(t,r,n),o=i.authorizeUrl+p(r);N.set(O.REDIRECT_OAUTH_PARAMS_COOKIE_NAME,JSON.stringify({responseType:r.responseType,state:r.state,nonce:r.nonce,scopes:r.scopes,clientId:r.clientId,urls:i,ignoreSignature:r.ignoreSignature})),N.set(O.REDIRECT_NONCE_COOKIE_NAME,r.nonce),N.set(O.REDIRECT_STATE_COOKIE_NAME,r.state),t.token.getWithRedirect._setLocation(o)})}function y(t,e){if(!E.isToken(e))return T.reject(new C("Renew must be passed a token with an array of scopes and an accessToken or idToken"));var n;return n=t.options.pkce?"code":e.accessToken?"token":"id_token",t.token.getWithoutPrompt({responseType:n,scopes:e.scopes},{authorizeUrl:e.authorizeUrl,userinfoUrl:e.userinfoUrl,issuer:e.issuer})}function _(t){var e=t.token.parseFromUrl._getHistory(),n=t.token.parseFromUrl._getDocument(),r=t.token.parseFromUrl._getLocation();e&&e.replaceState?e.replaceState(null,n.title,r.pathname+r.search):r.hash=""}function b(t,e){var n=t.token.parseFromUrl._getLocation(),r=n.hash;if(e&&(r=e.substring(e.indexOf("#"))),!r)return T.reject(new C("Unable to parse a token from the url"));var i=N.get(O.REDIRECT_OAUTH_PARAMS_COOKIE_NAME);if(!i)return T.reject(new C("Unable to retrieve OAuth redirect params cookie"));try{var o=JSON.parse(i),s=o.urls;delete o.urls,N.delete(O.REDIRECT_OAUTH_PARAMS_COOKIE_NAME)}catch(t){return T.reject(new C("Unable to parse the "+O.REDIRECT_OAUTH_PARAMS_COOKIE_NAME+" cookie: "+t.message))}return T.resolve(E.hashToObject(r)).then(function(n){return e||_(t),l(t,o,n,s)})}function w(t,e){return e&&(E.isToken(e)||e.accessToken||e.userinfoUrl)?x.httpRequest(t,{url:e.userinfoUrl,method:"GET",accessToken:e.accessToken}).fail(function(t){if(t.xhr&&(401===t.xhr.status||403===t.xhr.status)){var e;if(t.xhr.headers&&S.isFunction(t.xhr.headers.get)&&t.xhr.headers.get("WWW-Authenticate")?e=t.xhr.headers.get("WWW-Authenticate"):S.isFunction(t.xhr.getResponseHeader)&&(e=t.xhr.getResponseHeader("WWW-Authenticate")),e){var n=e.match(/error="(.*?)"/)||[],r=e.match(/error_description="(.*?)"/)||[],i=n[1],o=r[1];i&&o&&(t=new A(i,o))}}throw t}):T.reject(new C("getUserInfo requires an access token object"))}var x=n(78),S=n(37),E=n(221),T=n(12),k=n(489),C=n(53),A=n(490),O=n(77),N=n(88).storage,I=n(491);t.exports={getToken:d,getWithoutPrompt:h,getWithPopup:m,getWithRedirect:v,parseFromUrl:b,decodeToken:r,renewToken:y,getUserInfo:w,verifyToken:i,handleOAuthResponse:l,prepareOauthParams:g}},function(t,e,n){function r(t,e){e=i.clone(e);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=["verify"];return delete e.use,crypto.subtle.importKey("jwk",e,n,!0,r).then(function(e){var r=t.split("."),o=i.stringToBuffer(r[0]+"."+r[1]),s=i.base64UrlDecode(r[2]),a=i.stringToBuffer(s);return crypto.subtle.verify(n,e,a,o)})}var i=n(37);t.exports={verifyToken:r}},function(t,e){function n(t,e){this.name="OAuthError",this.message=e,this.errorCode=t,this.errorSummary=e}n.prototype=new Error,t.exports=n},function(t,e,n){function r(t){return("0"+t.toString(16)).substr(-2)}function i(t){var e=new Uint8Array(Math.ceil(t/2));return crypto.getRandomValues(e),Array.from(e,r).join("").slice(0,t)}function o(t){var e=t||"";return e.length<g&&(e+=i(g-e.length)),encodeURIComponent(e).slice(0,v)}function s(t,e){t.options.storageUtil.getPKCEStorage().setStorage(e)}function a(t){return t.options.storageUtil.getPKCEStorage().getStorage()}function u(t){t.options.storageUtil.getPKCEStorage().clearStorage()}function l(t){var e=(new TextEncoder).encode(t);return crypto.subtle.digest("SHA-256",e).then(function(t){var e=String.fromCharCode.apply(null,new Uint8Array(t));return m.stringToBase64Url(e)})}function c(t){if(!t.clientId)throw new d("A clientId must be specified in the OktaAuth constructor to get a token");if(!t.redirectUri)throw new d("The redirectUri passed to /authorize must also be passed to /token");if(!t.authorizationCode)throw new d("An authorization code (returned from /authorize) must be passed to /token");if(!t.codeVerifier)throw new d('The "codeVerifier" (generated and saved by your app) must be passed to /token')}function f(t){var e=m.removeNils({client_id:t.clientId,redirect_uri:t.redirectUri,grant_type:"authorization_code",code:t.authorizationCode,code_verifier:t.codeVerifier});return m.toQueryParams(e).slice(1)}function p(t,e,n){c(e);var r=f(e);return h.httpRequest(t,{url:n.tokenUrl,method:"POST",args:r,withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}var d=n(53),h=n(78),m=n(37),g=43,v=128;t.exports={DEFAULT_CODE_CHALLENGE_METHOD:"S256",generateVerifier:o,clearMeta:u,saveMeta:s,loadMeta:a,computeChallenge:l,getToken:p}},function(t,e,n){function r(t,e){return e.expiresAt-t.options.expireEarlySeconds}function i(t,e){return r(t,e)<=t.clock.now()}function o(t,e,n){t.emitter.emit("expired",e,n)}function s(t,e){t.emitter.emit("error",e)}function a(t,e){clearTimeout(t.expireTimeouts[e]),delete t.expireTimeouts[e],delete t.renewPromise[e]}function u(t){var e=t.expireTimeouts;for(var n in e)e.hasOwnProperty(n)&&a(t,n)}function l(t,e,n,i){var s=r(e,i),u=1e3*Math.max(s-e.clock.now(),0);a(e,n);var l=setTimeout(function(){o(e,n,i)},u);e.expireTimeouts[n]=l}function c(t,e,n){try{var r=n.getStorage()}catch(t){return void s(e,t)}for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];l(t,e,i,o)}}function f(t,e,n,r,i){var o=n.getStorage();if(!y.isObject(i)||!i.scopes||!i.expiresAt&&0!==i.expiresAt||!i.idToken&&!i.accessToken)throw new _("Token must be an Object with scopes, expiresAt, and an idToken or accessToken properties");o[r]=i,n.setStorage(o),l(t,e,r,i)}function p(t,e){return t.getStorage()[e]}function d(t,e,n,r){return w.Promise(function(o){var s=p(n,r);return o(s&&i(e,s)?e.options.autoRenew?m(t,e,n,r):h(e,n,r):s)})}function h(t,e,n){a(t,n);var r=e.getStorage();delete r[n],e.setStorage(r)}function m(t,e,n,r){try{var i=p(n,r);if(!i)throw new _("The tokenManager has no token for the key: "+r)}catch(t){return w.reject(t)}return a(e,r),e.renewPromise[r]||(e.renewPromise[r]=t.token.renew(i).then(function(o){var s=o;o instanceof Array&&(s=o.find(function(t){return t.idToken&&i.idToken||t.accessToken&&i.accessToken}));var a=p(n,r);if(a)return f(t,e,n,r,s),e.emitter.emit("renewed",r,s,a),delete e.renewPromise[r],s}).fail(function(t){throw"OAuthError"===t.name&&(h(e,n,r),s(e,t)),t})),e.renewPromise[r]}function g(t,e){u(t),e.clearStorage()}function v(t,e){e=y.extend({},k,y.removeNils(e)),"localStorage"!==e.storage||b.browserHasLocalStorage()||(y.warn("This browser doesn't support localStorage. Switching to sessionStorage."),e.storage="sessionStorage"),"sessionStorage"!==e.storage||b.browserHasSessionStorage()||(y.warn("This browser doesn't support sessionStorage. Switching to cookie-based storage."),e.storage="cookie");var n;switch(e.storage){case"localStorage":n=E(localStorage,S.TOKEN_STORAGE_NAME);break;case"sessionStorage":n=E(sessionStorage,S.TOKEN_STORAGE_NAME);break;case"cookie":n=E(b.getCookieStorage(e),S.TOKEN_STORAGE_NAME);break;default:throw new _("Unrecognized storage option")}var r=T.create(t,e),i={clock:r,options:e,emitter:new x,expireTimeouts:{},renewPromise:{}};this.add=y.bind(f,this,t,i,n),this.get=y.bind(d,this,t,i,n),this.remove=y.bind(h,this,i,n),this.clear=y.bind(g,this,i,n),this.renew=y.bind(m,this,t,i,n),this.on=y.bind(i.emitter.on,i.emitter),this.off=y.bind(i.emitter.off,i.emitter),c(t,i,n)}var y=n(37),_=n(53),b=n(88),w=n(12),x=n(493),S=n(77),E=n(219),T=n(494),k={autoRenew:!0,storage:"localStorage",expireEarlySeconds:30};t.exports=v},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function r(){i.off(t,r),e.apply(n,arguments)}var i=this;return r._=e,this.on(t,r,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var o=0,s=r.length;o<s;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o]);return i.length?n[t]=i:delete n[t],this}},t.exports=n},function(t,e,n){function r(t){this.localOffset=parseInt(t||0)}n(37).extend(r.prototype,{now:function(){return(Date.now()+this.localOffset)/1e3}}),r.create=function(){return new r(0)},t.exports=r},function(t,e,n){"use strict";var r,i;r=[n(564),n(496),n(222),n(508),n(524),n(533),n(537),n(538),n(539),n(540),n(548),n(549),n(550),n(551),n(552),n(554),n(555),n(556),n(557),n(559),n(560),n(561),n(562),n(563),n(626),n(590),n(591),n(593),n(595),n(596),n(597),n(598),n(599),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(613),n(614),n(617),n(236),n(622),n(625)],void 0!==(i=function(t,e,n,r,i,o,s,a,u,l,c,f,p,d,h,m,g,v,y,_,b,w,x,S,E,T,k,C,A,O,N,I,R,P,M,L,D,F,U,j,B,q,H,V,W,$,z,G,K){return t.extend({routes:{"":"defaultAuth",signin:"primaryAuth","signin/verify/duo/web":"verifyDuo","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-activate/okta/sms":"enrollSms","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/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/:provider/:factorType":"scanBarcodeTotpFactor","signin/enroll-activate/:provider/:factorType/activate":"activateTotpFactor","signin/enroll-activate/:provider/:factorType/manual":"manualSetupTotpFactor","signin/password-expired":"passwordExpired","signin/custom-password-expired":"customPasswordExpired","signin/forgot-password":"forgotPassword","signin/recovery-challenge":"recoveryChallenge","signin/recovery-emailed":"recoveryEmailSent","signin/recovery-question":"recoveryQuestion","signin/password-reset":"passwordReset","signin/reset-password/:token":"recoveryLoading","signin/user-unlock/:token":"recoveryLoading","signin/recovery/:token":"recoveryLoading","signin/unlock-emailed":"unlockEmailSent","signin/unlock":"unlockAccount","signin/account-unlocked":"accountUnlocked","signin/refresh-auth-state(/:token)":"refreshAuthState","signin/register":"register","signin/register-complete":"registerComplete","signin/consent":"consentRequired","signin/enroll-user":"enrollUser","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete"],defaultAuth:function(){this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth()},idpDiscovery:function(){this.render(e,{Beacon:z})},primaryAuth:function(){this.render(n,{Beacon:z})},verifyDuo:function(){this.render(r,{provider:"DUO",factorType:"web",Beacon:G})},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(a,{provider:"FIDO",factorType:"webauthn",Beacon:G}):this.render(o,{provider:"FIDO",factorType:"webauthn",Beacon:G})},verifyU2F:function(){this.render(s,{provider:"FIDO",factorType:"u2f",Beacon:G})},verifySAMLFactor:function(){this.render(u,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:G})},verifyOIDCFactor:function(){this.render(u,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:G})},verifyClaimsFactor:function(){this.render(u,{provider:"CUSTOM",factorType:"claims_provider",Beacon:G})},verify:function(t,e,n){this.render(i,{provider:t.toUpperCase(),factorType:e,factorIndex:n,Beacon:G})},verifyNoProvider:function(t){this.render(i,{factorType:t,Beacon:G})},enrollChoices:function(){this.render(l,{Beacon:z})},enrollDuo:function(){this.render(c,{provider:"DUO",factorType:"web",Beacon:G})},enrollQuestion:function(){this.render(f,{provider:"OKTA",factorType:"question",Beacon:G})},enrollPassword:function(){this.render(p,{provider:"OKTA",factorType:"password",Beacon:G})},enrollSms:function(){this.render(h,{provider:"OKTA",factorType:"sms",Beacon:G})},enrollCall:function(){this.render(h,{provider:"OKTA",factorType:"call",Beacon:G})},enrollRsa:function(){this.render(m,{provider:"RSA",factorType:"token",Beacon:G})},enrollOnPrem:function(){this.render(m,{provider:"DEL_OATH",factorType:"token",Beacon:G})},enrollSymantecVip:function(){this.render(g,{provider:"SYMANTEC",factorType:"token",Beacon:G})},enrollYubikey:function(){this.render(v,{provider:"YUBICO",factorType:"token:hardware",Beacon:G})},enrollSAMLFactor:function(){this.render(w,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:G})},enrollOIDCFactor:function(){this.render(w,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:G})},enrollClaimsFactor:function(){this.render(w,{provider:"CUSTOM",factorType:"claims_provider",Beacon:G})},enrollTotpFactor:function(t,e){this.render(y,{provider:t.toUpperCase(),factorType:e,Beacon:G})},enrollHotpFactor:function(){this.render(x,{provider:"CUSTOM",factorType:"token:hotp",Beacon:G})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(b,{provider:"FIDO",factorType:"webauthn",Beacon:G}):this.render(d,{provider:"FIDO",factorType:"webauthn",Beacon:G})},enrollU2F:function(){this.render(_,{provider:"FIDO",factorType:"u2f",Beacon:G})},scanBarcodeTotpFactor:function(t,e){this.render(S,{provider:t.toUpperCase(),factorType:e,Beacon:G})},scanBarcodePushFactor:function(){this.render(E,{provider:"OKTA",factorType:"push",Beacon:G})},activateTotpFactor:function(t,e){this.render(T,{provider:t.toUpperCase(),factorType:e,Beacon:G})},manualSetupTotpFactor:function(t,e){this.render(k,{provider:t.toUpperCase(),factorType:e,Beacon:G})},manualSetupPushFactor:function(){this.render(C,{provider:"OKTA",factorType:"push",Beacon:G})},activationLinkSent:function(){this.render(A,{provider:"OKTA",factorType:"push",Beacon:G})},enterPasscodeInPushEnrollmentFlow:function(){this.render(O,{provider:"OKTA",factorType:"token:software:totp",Beacon:G})},passwordExpired:function(){this.render(N,{Beacon:z})},customPasswordExpired:function(){this.render(I,{Beacon:z})},forgotPassword:function(){this.render(R)},recoveryChallenge:function(){this.render(P,{Beacon:z})},recoveryEmailSent:function(){this.render(M,{Beacon:z})},unlockEmailSent:function(){this.render(B,{Beacon:z})},recoveryQuestion:function(){this.render(L,{Beacon:z})},passwordReset:function(){this.render(D,{Beacon:z})},recoveryLoading:function(t){this.render(F,{token:t,Beacon:z})},unlockAccount:function(){this.render(U)},accountUnlocked:function(){this.render(j,{Beacon:z})},refreshAuthState:function(t){this.render(q,{token:t,Beacon:z})},register:function(){this.render(H)},registerComplete:function(){this.render(V)},consentRequired:function(){this.render(W,{Beacon:K})},enrollUser:function(){this.render($)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(222),n(162),n(506),n(507),n(228),n(79),n(227)],void 0!==(i=function(t,e,n,r,i,o,s,a){return e.extend({className:"idp-discovery",View:r,constructor:function(t){t.appState.unset("username"),this.model=new i({requestContext:t.settings.get("idpDiscovery.requestContext"),settings:t.settings,appState:t.appState},{parse:!0}),s.apply(this,arguments),this.addListeners(),t.settings.get("hasConfiguredButtons")&&this.add(a,{prepend:t.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(t),this.setUsername()},initialize:function(){e.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",function(){if(this.settings.set("username",this.model.get("username")),this.settings.get("features.passwordlessAuth")){var t=new n({username:this.model.get("username"),multiOptionalFactorEnroll:this.options.settings.get("features.multiOptionalFactorEnroll"),settings:this.options.settings,appState:this.options.appState},{parse:!0});this.addModelListeners(t),t.save()}else this.options.appState.set("disableUsername",!0),this.options.appState.trigger("navigate","signin")})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(498)],void 0!==(i=function(t){var e;return{track:function(n){try{e=new t,e.addTarget(n),e.start()}catch(t){}},getTypingPattern:function(){try{return e.getTypingPattern({type:1})}catch(t){return null}}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(225),o=r(i),s=n(106),a=r(s);/**
 * 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)
 */
t.exports=function t(){if(1==t.initialized)return t.instance;t.prototype.start=function(){return t.start.apply(this,arguments)},t.prototype.stop=function(){return t.stop.apply(this,arguments)},t.prototype.reset=function(){return t.reset.apply(this,arguments)},t.prototype.addTarget=function(){return t.addTarget.apply(this,arguments)},t.prototype.removeTarget=function(){return t.removeTarget.apply(this,arguments)},t.prototype.getTypingPattern=function(){return t.getTypingPattern.apply(this,arguments)},t.prototype.get=function(){return t.get.apply(this,arguments)},t.prototype.startDiagram=function(){},t.prototype.stopDiagram=function(){},t.prototype.getDiagram=function(){return t.getDiagram.apply(this,arguments)},t.prototype.getExtendedDiagram=function(){return t.getExtendedDiagram.apply(this,arguments)},t.prototype.getMouseDiagram=function(){return t.getMouseDiagram.apply(this,arguments)},t.prototype.startMouse=function(){return t.startMouse.apply(this,arguments)},t.prototype.stopMouse=function(){return t.stopMouse.apply(this,arguments)},t.prototype.getQuality=function(){return t.getQuality.apply(this,arguments)},t.prototype.getLength=function(){return t.getLength.apply(this,arguments)},t.prototype.isMobile=function(){return t.isMobile.apply(this,arguments)},t.prototype.getTextId=function(){return t.getTextId.apply(this,arguments)},t.initialized=!0,t.prototype.maxHistoryLength=t.maxHistoryLength,t.prototype.defaultHistoryLength=t.defaultHistoryLength,t.prototype.maxSeekTime=t.maxSeekTime,t.prototype.maxPressTime=t.maxPressTime,t.version=2.15,t.flags=0,t.instance=this,t.document=document,t.maxHistoryLength=2e3,t.maxSeekTime=1500,t.maxPressTime=300,t.defaultHistoryLength=160,t.spKeyCodes=[8,13,32],t.spKeyCodesObj={8:1,13:1,32:1},t.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],t.keyCodesObj={};for(var e in t.keyCodes)t.keyCodesObj[t.keyCodes[e]]=1;t.pt1=t.ut1=(new Date).getTime(),t.wfk=[],t.sti=[],t.skt=[],t.recording=!0,t.mouseRecording=!0,t.mouseMoveRecording=!1,t.spKeyRecording=!0,t.diagramRecording=!0,t.dwfk=[],t.dsti=[],t.dskt=[],t.drkc=[],t.dlastDownKey,t.prevKeyCode=0,t.maxMoveDeltaTime=600,t.maxScrollDeltaTime=800,t.maxStopTime=1500,t.maxClickTime=600,t.maxMouseHistoryLength=500,t.lastMouseMoveTime=t.lastMouseDownTime=(new Date).getTime(),t.stopTimes=[],t.clickTimes=[],t.lastMouseStop=!0,t.zl=1e-7,t.isAndroidChrome=!1,t.ACLastTime=(new Date).getTime(),t.ACSeekTime=0,t.ACPressTime=0,t.ACLastCharCode=0,t.ACLastKeyCode=0,t.ACInputLengths={inputs:[],lastLength:[]},t.ACPreviousKeyCode=0,t.targetIds=[],t.lastTarget="",t.lastTargetFound=!1,t.replaceMissingKeys=!0,t.replaceMissingKeysPerc=7,t.keyDown=function(e){if((t.recording||t.diagramRecording)&&t.isTarget(e.target.id)){var n=e.keyCode;if(1==t.wfk[n]||t.dwfk[n],229==n&&t.isMobile()&&!t.isAndroidChrome)t.isAndroidChrome=!0,t.ACSeekTime=(new Date).getTime()-t.ACLastTime,t.ACLastTime=(new Date).getTime(),t.document.removeEventListener("keydown",t.keyDown),t.document.removeEventListener("keyup",t.keyUp),t.document.removeEventListener("keypress",t.keyPress),t.document.addEventListener("keydown",t.ACKeyDown),t.document.addEventListener("keyup",t.ACKeyUp);else{var r=t.pt1;t.pt1=(new Date).getTime();var i=t.pt1-r,o=t.pt1;(1==t.recording||t.spKeyCodesObj[n]&&1==t.spKeyRecording)&&(e.shiftKey&&!t.isMobile()||(t.wfk[n]=1,t.skt[n]=i,t.sti[n]=o)),1==t.diagramRecording&&(t.dwfk[n]=1,t.dskt[n]=i,t.dsti[n]=o,t.dlastDownKey=n)}}},t.keyPress=function(e){if((t.recording||t.diagramRecording)&&t.isTarget(e.target.id)&&1==t.diagramRecording){var n=t.dlastDownKey;t.drkc[n]=e.charCode}},t.keyUp=function(e){if((t.recording||t.diagramRecording)&&t.isTarget(e.target.id)){var n=(new Date).getTime(),r=e.keyCode;if(1==t.recording||t.spKeyCodesObj[r]&&1==t.spKeyRecording){if((!e.shiftKey||t.isMobile())&&1==t.wfk[r]){var i=n-t.sti[r],o=t.skt[r],s=[r,o,i,t.prevKeyCode,n,e.target.id];t.history.add(s),t.prevKeyCode=r}t.wfk[r]=0}if(1==t.diagramRecording){if(void 0!=t.drkc[r]&&0!=t.drkc[r]&&1==t.dwfk[r]){var i=n-t.dsti[r],o=t.dskt[r],a=t.drkc[r],u=[r,o,i,a,n,e.target.id];t.history.addDiagram(u)}t.dwfk[r]=0}}},t.mouseScroll=function(e){if(1==t.mouseRecording&&1==t.mouseMoveRecording)if(1==t.mouse.scrollStarted){var n=(new Date).getTime();t.mouse.scrollTimes.push(n),t.mouse.scrollTopArr.push(t.document.body.scrollTop),clearInterval(t.scrollInterval),t.scrollInterval=setInterval(t.mouse.checkScroll,t.maxScrollDeltaTime)}else t.mouse.scrollStarted=!0},t.mouseMove=function(e){if(1==t.mouseRecording){var n=(new Date).getTime();1==t.mouseMoveRecording&&(1==t.mouse.started?(t.mouse.times.push(n),t.mouse.xPositions.push(e.screenX),t.mouse.yPositions.push(e.screenY),clearInterval(t.moveInterval),t.moveInterval=setInterval(t.mouse.checkMove,t.maxMoveDeltaTime)):t.mouse.started=!0),t.lastMouseMoveTime=n}},t.mouseDown=function(e){if(1==t.mouseRecording&&(t.mouse.checkMove(),t.mouse.checkScroll(),1==e.which)){t.lastMouseDownTime=(new Date).getTime();var n=t.lastMouseDownTime-t.lastMouseMoveTime;if(n<t.maxStopTime&&0==t.lastMouseStop&&(t.stopTimes.push(n),1==t.mouseMoveRecording)){var r=[3,n];t.mouse.history.add(r),t.lastMouseStop=!0}}},t.mouseUp=function(e){if(1==t.mouseRecording&&1==e.which){var n=(new Date).getTime()-t.lastMouseDownTime;if(n<t.maxClickTime&&t.lastMouseDownTime>t.lastMouseMoveTime&&(t.clickTimes.push(n),1==t.mouseMoveRecording)){var r=[4,n];t.mouse.history.add(r)}}},t.ACKeyDown=function(e){(t.recording||t.diagramRecording)&&(t.ACSeekTime=(new Date).getTime()-t.ACLastTime,t.ACLastTime=(new Date).getTime(),t.isTarget(e.target.id)&&-1===t.ACInputLengths.inputs.indexOf(e.target)&&(t.ACInputLengths.inputs.push(e.target),t.ACInputLengths.lastLength.push(0)))},t.ACKeyUp=function(e){if((t.recording||t.diagramRecording)&&(t.ACPressTime=(new Date).getTime()-t.ACLastTime,t.ACLastTime=(new Date).getTime(),t.isTarget(e.target.id))){var n=e.keyCode,r=t.ACInputLengths.inputs.indexOf(e.target);if(-1===r&&(t.ACInputLengths.inputs.push(e.target),t.ACInputLengths.lastLength.push(0),r=t.ACInputLengths.inputs.indexOf(e.target)),229==n&&e.target.value.length>=t.ACInputLengths.lastLength[r]){var i=e.target.value.substr(e.target.selectionStart-1||0,1);n=i.toUpperCase().charCodeAt(0),t.ACLastCharCode=i.charCodeAt(0),t.ACLastKeyCode=i.toUpperCase().charCodeAt(0)}t.ACInputLengths.lastLength[r]=e.target.value.length;var o=[n,t.ACSeekTime,t.ACPressTime,t.ACPreviousKeyCode,t.ACLastTime];if(t.history.add(o),t.ACPreviousKeyCode=n,1==t.diagramRecording){var s=[n,t.ACSeekTime,t.ACPressTime,t.ACLastCharCode];t.history.addDiagram(s)}}},t.isTarget=function(e){if(t.lastTarget==e&&t.lastTargetFound)return!0;var n=t.targetIds.length,r=!1;if(n>0){for(var i=0;i<n;i++)if(t.targetIds[i]==e){r=!0;break}return t.lastTarget=e,t.lastTargetFound=r,r}return t.lastTarget=e,t.lastTargetFound=!0,!0},t.document.addEventListener?(t.document.addEventListener("keydown",t.keyDown),t.document.addEventListener("keyup",t.keyUp),t.document.addEventListener("keypress",t.keyPress),t.document.addEventListener("mousemove",t.mouseMove),t.document.addEventListener("mousedown",t.mouseDown),t.document.addEventListener("mouseup",t.mouseUp),t.document.addEventListener("scroll",t.mouseScroll)):t.document.attachEvent&&(t.document.attachEvent("onkeydown",t.keyDown),t.document.attachEvent("onkeyup",t.keyUp),t.document.attachEvent("onkeypress",t.keyPress),t.document.attachEvent("onmousemove",t.mouseMove),t.document.attachEvent("onmousedown",t.mouseDown),t.document.attachEvent("onmouseup",t.mouseUp),t.document.attachEvent("onscroll",t.mouseScroll)),t.mouse={},t.mouse.times=[],t.mouse.xPositions=[],t.mouse.yPositions=[],t.mouse.scrollTimes=[],t.mouse.scrollTopArr=[],t.mouse.history={},t.mouse.history.stack=[],t.mouse.getDistance=function(t,e){return Math.sqrt(t*t+e*e)},t.mouse.getTotalDistance=function(n,r){var i=0,o=n.length;for(e=1;e<o-1;e++){var s=n[e]-n[e-1],a=r[e]-r[e-1];i+=t.mouse.getDistance(s,a)}return i},t.mouse.getAngle=function(t,e){var n=t>=0,r=e<0;return n?r?180+Math.round(Math.atan(Math.abs(t)/(Math.abs(e)+1e-7))/.01745329251):90-Math.round(Math.atan(Math.abs(t)/(Math.abs(e)+1e-7))/.01745329251)+270:r?90-Math.round(Math.atan(Math.abs(t)/(Math.abs(e)+1e-7))/.01745329251)+90:Math.round(Math.atan(Math.abs(t)/(Math.abs(e)+1e-7))/.01745329251)},t.mouse.recordMoveAction=function(){var n=t.mouse.times.length;if(!(n<3)){var r=t.mouse.times[n-1]-t.mouse.times[0],i=t.mouse.xPositions[n-1]-t.mouse.xPositions[0],o=t.mouse.yPositions[n-1]-t.mouse.yPositions[0],s=Math.round(t.mouse.getDistance(i,o)),a=Math.round(t.mouse.getTotalDistance(t.mouse.xPositions,t.mouse.yPositions)),u=Math.round(100*a/s),l=Math.round(100*s/r),c=t.mouse.getAngle(i,o),f=[1,r,s,l,c,u];for(e in f)if(isNaN(f[e]))return;t.mouse.history.add(f),t.lastMouseStop=!1}},t.mouse.recordScrollAction=function(){var n=t.mouse.scrollTimes.length;if(!(n<2)){var r=t.mouse.scrollTimes[n-1]-t.mouse.scrollTimes[0],i=t.mouse.scrollTopArr[n-1]-t.mouse.scrollTopArr[0],o=Math.round(100*i/r),s=[2,r,i,o];for(e in s)if(isNaN(s[e])&&!isFinite(s[e]))return;t.mouse.history.add(s)}},t.mouse.history.add=function(e){this.stack.push(e),this.stack.length>t.maxMouseHistoryLength&&this.stack.shift()},t.mouse.history.getDiagram=function(){var e=this.stack.join("|");return[String(t.isMobile())+","+String(t.version),e].join("|")},t.mouse.clearLastMove=function(){t.mouse.times=[],t.mouse.xPositions=[],t.mouse.yPositions=[]},t.mouse.checkMove=function(){clearInterval(t.moveInterval),1==t.mouse.started&&(t.mouse.started=!1,t.mouse.recordMoveAction(),t.mouse.clearLastMove())},t.mouse.clearLastScroll=function(){t.mouse.scrollTimes=[],t.mouse.scrollTopArr=[]},t.mouse.checkScroll=function(){clearInterval(t.scrollInterval),1==t.mouse.scrollStarted&&(t.mouse.scrollStarted=!1,t.mouse.recordScrollAction(),t.mouse.clearLastScroll())},t.addTarget=function(e){var n=t.targetIds.length,r=!1;if(n>0){for(var i=0;i<n;i++)if(t.targetIds[i]==e){r=!0;break}r||t.targetIds.push(e)}else t.targetIds.push(e)},t.removeTarget=function(e){var n=t.targetIds.length;if(n>0)for(var r=0;r<n;r++)if(t.targetIds[r]==e){t.targetIds.splice(r,1);break}},t.reset=function(e){t.history.stack=[],t.history.stackDiagram=[],t.clickTimes=[],t.stopTimes=[],t.ACInputLengths={inputs:[],lastLength:[]},1==e&&(t.mouse.history.stack=[])},t.start=function(){return t.diagramRecording=!0,t.recording=!0},t.stop=function(){return t.diagramRecording=!1,t.recording=!1},t.startMouse=function(){return t.mouseRecording=t.mouseMoveRecording=!0},t.stopMouse=function(){return t.mouseRecording=t.mouseMoveRecording=!1},t.getTypingPattern=function(e){if("object"!==(void 0===e?"undefined":(0,a.default)(e)))return t.get();switch(e.type){case 0:return t.get(e.length,e.targetId);case 1:var n=void 0!=e.text?e.text:e.length;return t.history.getDiagram(e.extended,n,e.textId,e.targetId,e.caseSensitive);case 2:var n=void 0!=e.text?e.text:e.length;return t.history.getDiagram(!0,n,e.textId,e.targetId,e.caseSensitive);default:return t.get(e.length)}},t.getDiagram=function(e,n){return t.history.getDiagram(!1,e,n,void 0,!1)},t.getExtendedDiagram=function(e,n){return t.history.getDiagram(!0,e,n,void 0,!1)},t.getMouseDiagram=function(){return t.mouse.history.getDiagram()},t.get=function(e,n){var r=t.history.stack.length;void 0!=e&&0!=e||(e=t.defaultHistoryLength),e>r&&(e=r);var i={},s=t.history.get(e,"",n),a=(0,o.default)(s,2);i.arr=a[0],targetLength=a[1],void 0!=n&&""!=n&&(e=targetLength);var u=t.zl,l=e,c=t.math.fo(t.history.get(e,"seek",n)),f=t.math.fo(t.history.get(e,"press",n)),p=Math.round(t.math.avg(f)),d=Math.round(t.math.avg(c)),h=Math.round(t.math.sd(f)),m=Math.round(t.math.sd(c)),g=d+p,v=t.math.rd((p+u)/(g+u),4),y=t.math.rd((1-v)/v,4),_=t.math.rd((h+u)/(p+u),4),b=t.math.rd((m+u)/(p+u),4),w=Math.round(6e4/(g+u));0==l&&(w=0);for(var x in i.arr){var S=i.arr[x][1].length,E=0,T=0,k=0,C=0,A=0,O=0;switch(i.arr[x][0].length){case 0:break;case 1:var E=t.math.rd((i.arr[x][0][0]+u)/(d+u),4);break;default:var N=t.math.fo(i.arr[x][0]);E=t.math.rd((t.math.avg(N)+u)/(d+u),4),C=t.math.rd((t.math.sd(N)+u)/(m+u),4)}switch(i.arr[x][1].length){case 0:break;case 1:var T=t.math.rd((i.arr[x][1][0]+u)/(p+u),4);break;default:var N=t.math.fo(i.arr[x][1]);T=t.math.rd((t.math.avg(N)+u)/(p+u),4),A=t.math.rd((t.math.sd(N)+u)/(h+u),4)}switch(i.arr[x][2].length){case 0:break;case 1:var k=t.math.rd((i.arr[x][2][0]+u)/(d+u),4);break;default:var N=t.math.fo(i.arr[x][2]);k=t.math.rd((t.math.avg(N)+u)/(d+u),4),O=t.math.rd((t.math.sd(N)+u)/(m+u),4)}delete i.arr[x][2],delete i.arr[x][1],delete i.arr[x][0],i.arr[x][0]=S,i.arr[x][1]=E,i.arr[x][2]=T,i.arr[x][3]=k,i.arr[x][4]=C,i.arr[x][5]=A,i.arr[x][6]=O}var N=[];t.apu(N,l),t.apu(N,w),t.apu(N,g),t.apu(N,v),t.apu(N,y),t.apu(N,_),t.apu(N,b),t.apu(N,p),t.apu(N,d),t.apu(N,h),t.apu(N,m);for(var I=0;I<=6;I++)for(var x=0;x<44;x++){var R=t.keyCodes[x],P=i.arr[R][I];0==P&&I>0&&(P=1),t.apu(N,P)}return t.apu(N,t.isMobile()),t.apu(N,t.version),t.apu(N,t.flags),N.push(t.history.getSpecialKeys()),N.join(",")},t.apu=function(t,e){"NaN"==String(e)&&(e=0),t.push(e)},t.math={},t.math.rd=function(t,e){return Number(t.toFixed(e))},t.math.avg=function(t){var e=t.length;if(e>0){for(var n=0,r=0;r<e;r++)n+=t[r];return this.rd(n/e,4)}return 0},t.math.sd=function(t){var e=t.length;if(e<2)return 0;for(var n=0,r=this.avg(t),i=0;i<e;i++)n+=(t[i]-r)*(t[i]-r);return Math.sqrt(n/e)},t.math.fo=function(t){if(t.length>1){var e=t.concat(),n=t.length;e.sort(function(t,e){return t-e});var r=this.sd(e),i=e[Math.ceil(t.length/2)],o=i+2*r,s=i-2*r;n<20&&(s=0);for(var a=[],u=0;u<n;u++){var l=e[u];l<o&&l>s&&a.push(l)}return a}return t},t.math.fnv1aHash=function(t){if(void 0==t&&"string"!=typeof t)return 0;t=t.toLowerCase();var e,n,r=1914395348;for(e=0,n=t.length;e<n;e++)r^=t.charCodeAt(e),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return r>>>0},t.history={},t.history.stack=[],t.history.stackDiagram=[],t.history.add=function(e){this.stack.push(e),this.stack.length>t.maxHistoryLength&&this.stack.shift()},t.history.addDiagram=function(t){this.stackDiagram.push(t)},t.history.getDiagram=function(e,n,r,i,o){var o=void 0!=o?o:void 0==n||""==n,s=[],u=1==e?1:0,l=this.stackDiagram;if(void 0!=i&&""!=i&&l.length>0){if(l=t.sliceStackByTargetId(l,i),void 0==n||""==n){var c=t.document.getElementById(i);null!=c&&(n=c.value)}}else{var f=t.targetIds.length;if((void 0==n||""==n)&&f>0){n="";for(var p=0;p<f;p++){var c=t.document.getElementById(t.targetIds[p]);null!=c&&(n+=c.value)}}}var d=0,h=l.length,m=h;"string"==typeof n?m=n.length:"number"==typeof n&&n<h&&(m=n);var g=0;if(void 0!=r?g=isNaN(parseInt(r))?t.math.fnv1aHash(r):parseInt(r):"string"==typeof n&&(g=t.math.fnv1aHash(n)),s.push([t.isMobile(),t.version,t.flags,u,m,g,t.history.getSpecialKeys()]),void 0!=n&&n.length>0&&"string"==typeof n)for(var v,y,_=n.toLowerCase(),b=n.toUpperCase(),w=[],x=0,p=0;p<n.length;p++){var S=n.charCodeAt(p);o||(v=b.charCodeAt(p),y=v!=S?v:_.charCodeAt(p));for(var E=x,T=h,k=!1;0==k;){for(var C=E;C<T;C++){var A=l[C],O=A[3];if(O==S||!o&&O==y){if(k=!0,C==x)x++,w=[];else{w.push(C);var N=w.length;N>1&&w[N-1]==w[N-2]+1&&(x=C+1,w=[])}var I=A[0],R=A[1],P=A[2];e?s.push([O,R,P,I]):s.push([R,P]);break}}if(0==k)if(0!=E)E=0,T=x;else if(k=!0,t.replaceMissingKeys){if(d++,"object"!==(0,a.default)(t.savedMissingAvgValues)||t.savedMissingAvgValues.historyLength!=h){var M=t.math.fo(t.history.get(0,"seek")),L=t.math.fo(t.history.get(0,"press")),R=Math.round(t.math.avg(M)),P=Math.round(t.math.avg(L));t.savedMissingAvgValues={seekTime:R,pressTime:P,historyLength:h}}else var R=t.savedMissingAvgValues.seekTime,P=t.savedMissingAvgValues.pressTime;e?s.push([S,R,P,S,1]):s.push([R,P,1]);break}}if(t.replaceMissingKeysPerc<100*d/m)return null}else{var D=0;"number"==typeof n&&(D=h-n),D<0&&(D=0);for(var p=D;p<h;p++){var A=l[p],I=A[0],R=A[1],P=A[2];if(e){var O=A[3];s.push([O,R,P,I])}else s.push([R,P])}}return s.join("|")},t.sliceStackByTargetId=function(t,n){var r=t.length,i=[];for(e=0;e<r;e++){var o=t[e];o[5]==n&&i.push(o)}return i},t.history.get=function(e,n,r){var i=this.stack;void 0!=r&&""!=r&&i.length>0&&(i=t.sliceStackByTargetId(i,r));var o=i.length;switch(0!=e&&void 0!=e||(e=t.defaultHistoryLength),e>o&&(e=o),n){case"seek":var s=[];for(f=1;f<=e;f++){var a=i[o-f][1];a<=t.maxSeekTime&&s.push(a)}return s;case"press":var u=[];for(f=1;f<=e;f++){var l=i[o-f][2];l<=t.maxPressTime&&u.push(l)}return u;default:var c={};for(var f in t.keyCodes)c[t.keyCodes[f]]=[[],[],[]];for(f=1;f<=e;f++){var p=i[o-f],d=p[0],a=p[1],l=p[2],h=p[3];t.keyCodesObj[d]&&(a<=t.maxSeekTime&&(c[d][0].push(a),0!=h&&t.keyCodesObj[h]&&c[h][2].push(a)),l<=t.maxPressTime&&c[d][1].push(l))}return[c,e]}},t.history.getSpecialKeys=function(){var e=[],n=this.stack.length,r={};for(var i in t.spKeyCodes)r[t.spKeyCodes[i]]=[[]];for(i=1;i<=n;i++){var o=this.stack[n-i];if(t.spKeyCodesObj[o[0]]){var s=o[0],a=o[2];a<=t.maxPressTime&&r[s][0].push(a)}}for(var i in t.spKeyCodes){var o=t.math.fo(r[t.spKeyCodes[i]][0]),u=o.length;e.push(u),u>1?(e.push(Math.round(t.math.avg(o))),e.push(Math.round(t.math.sd(o)))):1==u?e.push([o[0],-1]):e.push([-1,-1])}var l=t.clickTimes.length;e.push(l),l>1?(e.push(Math.round(t.math.avg(t.clickTimes))),e.push(Math.round(t.math.sd(t.clickTimes)))):1==l?e.push(t.clickTimes[0],-1):e.push([-1,-1]);var c=t.stopTimes.length;return e.push(c),c>1?(e.push(Math.round(t.math.avg(t.stopTimes))),e.push(Math.round(t.math.sd(t.stopTimes)))):1==c?e.push(t.stopTimes[0],-1):e.push([-1,-1]),e},t.getQuality=function(e){var n=e.split(",");for(s=0;s<n.length;s++)n[s]=Number(n[s]);var r=(n[0],rec=avgAcc=0),i=t.math.avg(n),o=n.slice(11,55);for(var s in o)rec+=Number(o[s]>0),r+=Number(o[s]>4),avgAcc+=Number(o[s]>i);var a=Math.sqrt(rec*r*avgAcc)/80;return a>1?1:a},t.checkMobileValidity=function(t){var e=t.split(","),n=e[0];if(0==n)return 0;var r=0,i=e.slice(11,55);for(var o in i)r+=Number(i[o]);return r/n},t.getLength=function(t){return Number(t.split(",")[1])},t.isMobile=function(){if(void 0!=t.mobile)return t.mobile;var e=0;return function(t){(/(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)))&&(e=1)}(navigator.userAgent||navigator.vendor||window.opera),t.mobile=e,e},t.getTextId=function(e){return t.math.fnv1aHash(e)}}},function(t,e,n){t.exports={default:n(500),__esModule:!0}},function(t,e,n){n(114),n(107),t.exports=n(501)},function(t,e,n){var r=n(161),i=n(22)("iterator"),o=n(75);t.exports=n(16).isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},function(t,e,n){t.exports={default:n(503),__esModule:!0}},function(t,e,n){n(114),n(107),t.exports=n(504)},function(t,e,n){var r=n(46),i=n(226);t.exports=n(16).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({template:'        <div class="content-container">          <span class="registration-label">{{label}}</span>          <a title="{{text}}" aria-label="{{text}}" class="registration-link" href="#">{{text}}</a>        </div>        ',className:"registration-container",events:{"click a.registration-link":"handleClickEvent"},handleClickEvent:function(t){t.preventDefault();var e=this.settings.get("registration.click");e?e():this.options.appState.get("isIdxStateToken")?this.options.appState.trigger("navigate","signin/enroll-user"):this.options.appState.trigger("navigate","signin/register")},getTemplateData:function(){return{label:t.loc("registration.signup.label","login"),text:t.loc("registration.signup.text","login")}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(17),n(223)],void 0!==(i=function(t,e,n){var r=t._;return n.extend({className:"idp-discovery-form",save:function(){return t.loc("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",r.bind(this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var n=[],i={className:"margin-btm-30",label:t.loc("primaryauth.username.placeholder","login"),"label-top":!0,explain:e.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login"),"explain-top":!0,inputId:"idp-discovery-username",disabled:!1};return n.push(r.extend(this.getUsernameField(),i)),this.settings.get("features.rememberMe")&&n.push(this.getRemeberMeCheckbox()),n},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(162),n(163),n(8)],void 0!==(i=function(t,e,n,r){var i=t._;return e.extend({props:function(){var t=n.getCookieUsername(),e=this.getUsernameAndRemember(t);return{username:["string",!0,e.username],lastUsername:["string",!1,t],context:["object",!1],remember:["boolean",!0,e.remember]}},local:{},save:function(){var t=this.settings.transformUsername(this.get("username"),r.IDP_DISCOVERY),e=this.get("remember"),o=this.get("lastUsername"),s="okta:acct:"+t,a=this.get("requestContext");this.setUsernameCookie(t,e,o),this.trigger("save"),this.appState.trigger("loading",!0);var u={resource:s,requestContext:a};this.appState.settings.authClient.webfinger(u).then(i.bind(function(t){if(t&&t.links&&t.links[0])if("OKTA"===t.links[0].properties["okta:idp:type"])this.trigger("goToPrimaryAuth");else if(t.links[0].href){var e=this.settings.get("redirectUtilFn");e(t.links[0].href)}},this)).fail(i.bind(function(){this.trigger("error"),this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).fin(i.bind(function(){this.appState.trigger("loading",!1)},this))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(229),n(12),n(18),n(3),n(8),n(5),n(48)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t.$,l=t._;return i.extend({className:"mfa-verify-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string",rememberDevice:"boolean"},initialize:function(){var t=r.getRememberDeviceValue(this.appState);this.set("rememberDevice",t)},getInitOptions:function(){var t=!!this.get("rememberDevice");return this.doTransaction(function(e){var n={rememberDevice:t};return l.findWhere(e.factors,{provider:"DUO",factorType:"web"}).verify(n).fail(function(t){throw t})})},verify:function(t){var e=this.get("postAction"),r=this.get("factorId"),i=this,o={id:r,stateToken:this.get("stateToken"),sig_response:t},s=this.get("rememberDevice");return n(u.post(e,o)).then(function(){return i.doTransaction(function(t){var e;return s&&(e={rememberDevice:s}),t.poll(e)})}).fail(function(t){i.trigger("error",i,t.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:l.partial(t.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"}),e.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:l.bind(this.model.verify,this.model)})}},Footer:a,fetchInitialData:function(){var t=this;return this.model.getInitOptions().then(function(e){var n=e.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;t.model.set({host:r.host,signature:r.signature,postAction:r._links.complete.href,factorId:n._embedded.factor.id,stateToken:n.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s=n(510),a=r(s),u=n(511),l=r(u),c=n(515),f=r(c);i=[n(518),n(519)],void 0!==(o=function(t,e){var n={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},r=(0,f.default)(n),i=function(t){var e=r.filter(function(e){return n[e]===t});return 1===e.length?e[0]:t};return{getTimeInHighestRelevantUnit:function(r,o){var s={days:0,hours:0,minutes:0,seconds:0,milliseconds:0},u=n[o]||o,c=void 0;try{var p=e((0,l.default)(s,(0,a.default)({},u,r)));c=t(p)}catch(t){c={}}var d=(0,f.default)(c).reduce(function(t,e){return 0!==c[e]&&(t[e]=c[e]),t},{}),h=void 0,m=void 0;return 1===(0,f.default)(d).length?(0,f.default)(d).forEach(function(t){m=d[t],h=t}):(m=r,h=u),{time:m,unit:i(h)}}}}.apply(e,i))&&(t.exports=o)},function(t,e,n){"use strict";e.__esModule=!0;var r=n(217),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){t.exports={default:n(512),__esModule:!0}},function(t,e,n){n(513),t.exports=n(16).Object.assign},function(t,e,n){var r=n(42);r(r.S+r.F,"Object",{assign:n(514)})},function(t,e,n){"use strict";var r=n(43),i=n(76),o=n(158),s=n(87),a=n(113),u=n(211),l=Object.assign;t.exports=!l||n(74)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,f=o.f,p=s.f;l>c;)for(var d,h=u(arguments[c++]),m=f?i(h).concat(f(h)):i(h),g=m.length,v=0;g>v;)d=m[v++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(t,e,n){t.exports={default:n(516),__esModule:!0}},function(t,e,n){n(517),t.exports=n(16).Object.keys},function(t,e,n){var r=n(113),i=n(76);n(230)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){"use strict";t.exports=function(t){if("number"!=typeof t)throw new TypeError("Expected a number");var e=t>0?Math.floor:Math.ceil;return{days:e(t/864e5),hours:e(t/36e5)%24,minutes:e(t/6e4)%60,seconds:e(t/1e3)%60,milliseconds:e(t)%1e3,microseconds:e(1e3*t)%1e3,nanoseconds:e(1e6*t)%1e3}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(106),o=r(i),s=n(225),a=r(s),u=n(520),l=r(u),c={days:function(t){return 864e5*t},hours:function(t){return 36e5*t},minutes:function(t){return 6e4*t},seconds:function(t){return 1e3*t},milliseconds:function(t){return t},microseconds:function(t){return t/1e3},nanoseconds:function(t){return t/1e6}},f=function(t){return(0,l.default)(t).reduce(function(t,e){var n=(0,a.default)(e,2),r=n[0],i=n[1];if("number"!=typeof i)throw new TypeError("Expected a `number` for key `"+r+"`, got `"+i+"` ("+(void 0===i?"undefined":(0,o.default)(i))+")");if(!c[r])throw new Error("Unsupported time key");return t+c[r](i)},0)};t.exports=f,t.exports.default=f},function(t,e,n){t.exports={default:n(521),__esModule:!0}},function(t,e,n){n(522),t.exports=n(16).Object.entries},function(t,e,n){var r=n(42),i=n(523)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(43),i=n(76),o=n(67),s=n(87).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=i(a),l=u.length,c=0,f=[];l>c;)n=u[c++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){"use strict";var r,i;r=[n(1),n(79),n(525),n(526),n(527),n(532),n(528),n(529),n(530),n(531),n(48)],void 0!==(i=function(t,e,n,r,i,o,s,a,u,l,c){var f=t.internal.views.forms.inputs.CheckBox;return e.extend({className:"mfa-verify",initialize:function(e){var p,d=e.factorType;switch(d){case"question":p=i;break;case"email":p=this.options.appState.get("isIdxStateToken")?s:o;break;case"sms":case"call":p=o;break;case"token":case"token:software:totp":case"token:hotp":p=n;break;case"token:hardware":p=r;break;case"push":p=a;break;case"password":p=u;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(d,e),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new p(this.toJSON())),"push"===d&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&this.add(l,{options:{model:this.model.get("backupFactor")}}),this.settings.get("features.autoPush")&&this.add(f,{options:{model:this.model,name:"autoPush",placeholder:t.loc("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}),this.options.appState.get("allowRememberDevice")&&this.add(f,{options:{model:this.model,name:"rememberDevice",placeholder:this.options.appState.get("rememberDeviceLabel"),label:!1,"label-top":!0,className:"margin-btm-0"}}),this.model.get("backupFactor")&&this.listenTo(this.model,"change:rememberDevice",function(t,e){t.get("backupFactor").set("rememberDevice",e)})),this.settings.get("features.hideSignOutLinkInMFA")||this.add(new c(this.toJSON()))},findModel:function(t,e){var n=e.appState.get("factors"),r=e.provider,i=e.factorIndex;return r?n.hasMultipleFactorsOfSameType(t)&&i?n.getFactorByTypeAndIndex(t,i):n.findWhere({provider:r,factorType:t}):n.findWhere({factorType:t,isFactorTypeVerification:!0})},trapAuthResponse:function(){return!!(this.options.appState.get("isMfaRequired")&&this.options.appState.get("trapMfaRequiredResponse")||this.options.appState.get("isMfaChallenge"))&&(this.options.appState.set("trapMfaRequiredResponse",!1),!0)},back:function(){}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(14)],void 0!==(i=function(t,e){var n=t._;return t.Form.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:n.partial(t.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){var r=this.model.get("factorLabel"),i="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=r,this.model.get("isFactorTypeVerification")?this.subtitle=t.loc("mfa.challenge.totp.subtitle.multiple","login",[r]):this.subtitle=t.loc("mfa.challenge.title","login",[r]),this.addInput({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:e,type:i?"password":"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),"RSA"!==this.model.get("provider")&&"DEL_OATH"!==this.model.get("provider")||this.listenTo(this.model,"error",n.bind(function(t,e){e&&409===e.status&&(this.$(".auth-passcode input").val(""),this.$(".auth-passcode input").trigger("change"),this.$(".auth-passcode input").focus())},this))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(14)],void 0!==(i=function(t,e){var n=t._;return t.Form.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:n.partial(t.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){var n=this.model.get("factorLabel");this.title=n,this.subtitle=t.loc("factor.totpHard.yubikey.description","login"),this.addInput({label:t.loc("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:e,inputId:"mfa-answer",type:"password"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,className:"margin-btm-0",placeholder:this.options.appState.get("rememberDeviceLabel"),name:"rememberDevice",type:"checkbox"})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t._;return t.Form.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:e.partial(t.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:t.loc("mfa.challenge.answer.placeholder","login"),className:"auth-passcode",name:"answer",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(12)],void 0!==(i=function(t,e){var n=t._;return t.Form.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){var r=this;this.title=this.model.get("factorLabel");var i=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+i+")",this.add(t.createButton({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:t.loc("mfa.sendEmail","login"),click:function(){r.clearErrors(),this.disable(),this.options.title=t.loc("mfa.sent","login"),this.render(),this.model.save().then(n.bind(function(){return e.delay(3e4)},this)).then(n.bind(function(){this.options.title=t.loc("mfa.resendEmail","login"),this.enable(),this.render()},this))}}))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(163),n(17)],void 0!==(i=function(t,e,n){var r=t._,i=t.Handlebars.compile("{{factorName}} ({{{deviceName}}})");return t.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:r.partial(t.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:isMfaRejectedByUser",function(e,n){this.setSubmitState(n),n&&this.showError(t.loc("oktaverify.rejected","login"))}),this.listenTo(this.options.appState,"change:isMfaTimeout",function(e,n){this.setSubmitState(n),n&&this.showError(t.loc("oktaverify.timeout","login"))}),this.listenTo(this.options.appState,"change:isMfaRequired",function(t,e){e&&(this.clearErrors(),this.clearWarnings())}),this.title=i({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(e){var n=this.$el.find(".button");this.enabled=e,e?(n.removeClass("link-button-disabled"),n.prop("value",t.loc("oktaverify.send","login")),n.prop("disabled",!1)):(n.addClass("link-button-disabled"),n.prop("value",t.loc("oktaverify.sent","login")),n.prop("disabled",!0))},submit:function(t){void 0!==t&&t.preventDefault(),this.enabled&&(this.setSubmitState(!1),this.doSave())},postRender:function(){var t=this.options.appState.get("factorsPolicyInfo"),e=this.model.get("id");!!(this.settings.get("features.autoPush")&&t&&t[e])&&t[e].autoPushEnabled&&(this.model.set("autoPush",!0),r.defer(r.bind(this.submit,this)))},doSave:function(){var e;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=n.callAfterTimeout(r.bind(function(){this.showWarning(t.loc("oktaverify.warning","login"))},this),3e4))},showError:function(t){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:t}})},showWarning:function(t){this.clearWarnings(),this.add('<div class="okta-form-infobox-warning infobox infobox-warning">                           <span class="icon warning-16"></span>                           <p>{{warning}}</p>                         </div>',".o-form-error-container",{options:{warning:t}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t._;return t.Form.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:e.partial(t.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:t.loc("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"auth-passcode",name:"password",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(14)],void 0!==(i=function(t,e){function n(n){n.addDivider(),n.addInput({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:e,type:"tel"}),n.add(t.createButton({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:t.loc("mfa.challenge.verify","login"),click:function(){n.isValid()&&n.model.manageTransaction(function(t,e){if("MFA_CHALLENGE"===t.status&&t.prev)return n.options.appState.set("trapMfaRequiredResponse",!0),t.prev().then(function(t){e(t),n.model.save()});n.model.save()})}})),n.at(1).focus()}return t.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(t.createButton({className:"link",attributes:{"data-se":"inline-totp-add"},title:t.loc("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),n(e)}}))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(14)],void 0!==(i=function(t,e,n){function r(e){switch(e){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:t.loc("mfa.sendCode","login"),formRetry:t.loc("mfa.resendCode","login"),formSubmitted:t.loc("mfa.sent","login"),subtitle:i({subtitle:this.model.get("phoneNumber")}),warning:t.loc("factor.sms.time.warning","login")};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:t.loc("mfa.call","login"),formRetry:t.loc("mfa.redial","login"),formSubmitted:t.loc("mfa.calling","login"),subtitle:i({subtitle:this.model.get("phoneNumber")}),warning:t.loc("factor.call.time.warning","login")};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:t.loc("mfa.sendEmail","login"),formRetry:t.loc("mfa.resendEmail","login"),formSubmitted:t.loc("mfa.sent","login"),subtitle:i({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var i=t.Handlebars.compile("({{subtitle}})"),o=t._;return t.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:o.partial(t.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(t){this.clearWarnings(),this.add('<div class="okta-form-infobox-warning infobox infobox-warning login-timeout-warning">                           <span class="icon warning-16"></span>                           <p>{{{warning}}}</p>                         </div>                         ',".o-form-error-container",{options:{warning:t}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var i=this;this.title=this.model.get("factorLabel");var s=this.model.get("factorType"),a=r.call(this,s),u=a.warning;this.$el.attr("data-se","factor-"+s),this.subtitle=a.subtitle,this.listenTo(this.model,"error",function(){this.clearErrors()}),this.addInput({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:n,type:"tel"}),this.add(t.createButton({attributes:{"data-se":a.buttonDataSe},className:"button "+a.buttonClassName,title:a.formSubmit,click:function(){i.clearErrors(),this.disable(),i.clearWarnings(),this.options.title=a.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then(function(){return i.getInputs().first().render().focus(),e.delay(3e4)}).then(o.bind(function(){this.options.title=a.formRetry,this.enable(),"call"!==s&&"sms"!==s||i.showWarning(u),this.render()},this))}})),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(117),n(231),n(48),n(69)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t._;return e.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(r.isAvailable()){this.trigger("request");var t=this;return this.doTransaction(function(e){var n=a.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});return n.verify().then(function(i){var o=i.factor;return r.getAssertion(o.challenge.nonce,[{id:o.profile.credentialId}]).then(function(t){return n.verify({authenticatorData:t.authenticatorData,clientData:t.clientData,signatureData:t.signature})}).then(function(e){return t.trigger("sync"),t.trigger("signIn"),e}).fail(function(n){switch(n.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return t.trigger("abort",n.message),e}throw n})})})}}},Form:{autoSave:!0,hasSavingState:!1,title:a.partial(t.loc,"factor.windowsHello","login"),subtitle:function(){return r.isAvailable()?t.loc("verify.windowsHello.subtitle","login"):""},save:a.partial(t.loc,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return r.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!r.isAvailable()},formChildren:function(){var e=[];return r.isAvailable()||e.push(n.View({View:new s({message:t.loc("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(n.View({View:new i({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=t.loc("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){this.subtitle=t.loc("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide");var n;switch(e){case"NotFoundError":n=this.options.appState.get("factors").length>1?t.loc("verify.windowsHello.error.notFound.selectAnother","login"):t.loc("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":n=t.loc("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),n){var r=new s({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(r,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?t.loc("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):t.loc("verify.windowsHello.subtitle.signingIn.generic","login"),this.render(),this.$(".o-form-button-bar").addClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},back:function(){},Footer:o})}.apply(e,r))&&(t.exports=i)},function(t,e,n){t.exports={default:n(535),__esModule:!0}},function(t,e,n){n(536),t.exports=n(16).Object.freeze},function(t,e,n){var r=n(47),i=n(214).onFreeze;n(230)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){"use strict";var r,i;r=[n(1),n(36),n(3),n(5),n(48),n(12),n(18),n(164),n(69),n(232)],void 0!==(i=function(t,e,n,r,i,o,s,a,u){function l(t){var e=[];return c.each(t,function(t){e.push({version:t.profile.version,keyHandle:t.profile.credentialId})}),e}var c=t._;return n.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){var t=s.getRememberDeviceValue(this.appState);this.set("rememberDevice",t)},save:function(){return this.trigger("request"),this.doTransaction(function(t){var n;n=t.factorTypes?c.findWhere(t.factorTypes,{factorType:"u2f"}):c.findWhere(t.factors,{factorType:"u2f",provider:"FIDO"});var r=this;return n.verify().then(function(t){var i,s,u;if(t.factors){var c=t.factors;s=c[0].profile.appId,u=t.challenge.nonce,i=l(c)}else{var f=t.factor;s=f.profile.appId,u=f.challenge.nonce,i=[{version:a.getU2fVersion(),keyHandle:f.profile.credentialId}]}r.trigger("request");var p=o.defer();return u2f.sign(s,u,i,function(t){if(r.trigger("errors:clear"),!t.errorCode||0===t.errorCode){var i=!!r.get("rememberDevice");return n.verify({clientData:t.clientData,signatureData:t.signatureData,rememberDevice:i}).then(p.resolve)}var o=1===r.options.appState.get("factors").length;p.reject(new e.U2FError({xhr:{responseJSON:{errorSummary:a.getU2fVerifyErrorMessageByCode(t.errorCode,o)}}}))}),p.promise})})}},Form:{autoSave:!0,hasSavingState:!1,title:c.partial(t.loc,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:c.partial(t.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!a.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(a.isU2fAvailable())e.push(r.View({View:'            <div class="u2f-verify-text">              <p>{{i18n code="verify.u2f.instructions" bundle="login"}}</p>              <p>{{i18n code="verify.u2f.instructionsBluetooth" bundle="login"}}</p>              <div data-se="u2f-waiting" class="okta-waiting-spinner"></div>            </div>'}));else{var n="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="u2f.error.factorNotSupported.oneFactor"),e.push(r.View({View:new u({message:t.loc(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(r.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){c.defer(c.bind(function(){a.isU2fAvailable()?this.model.save():this.$('[data-se="u2f-waiting"]').addClass("hide")},this))},_startEnrollment:function(){this.$(".okta-waiting-spinner").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").addClass("hide"),this.$(".o-form-button-bar").show()}},back:function(){},Footer:i})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(36),n(3),n(5),n(233),n(117),n(48),n(12),n(18),n(69)],void 0!==(i=function(t,e,n,r,i,o,s,a,u,l){function c(t){var e=[];return f.each(t,function(t){e.push({type:"public-key",id:i.strToBin(t.profile.credentialId)})}),e}var f=t._;return n.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){var t=u.getRememberDeviceValue(this.appState);this.set("rememberDevice",t)},save:function(){return this.trigger("request"),this.doTransaction(function(t){var n;n=t.factorTypes?f.findWhere(t.factorTypes,{factorType:"webauthn"}):f.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"});var r=this;return n.verify().then(function(t){var o,s;if(t.factors){var u=t.factors;s=t.challenge,o=c(u)}else{var l=t.factor;s=l.challenge,o=c([l])}r.trigger("request");var p=f.extend({},s,{allowCredentials:o,challenge:i.strToBin(s.challenge)});return new a(navigator.credentials.get({publicKey:p})).then(function(t){var e=!!r.get("rememberDevice");return n.verify({clientData:i.binToStr(t.response.clientDataJSON),authenticatorData:i.binToStr(t.response.authenticatorData),signatureData:i.binToStr(t.response.signature),rememberDevice:e})}).fail(function(t){throw r.trigger("errors:clear"),new e.WebAuthnError({xhr:{responseJSON:{errorSummary:t.message}}})})})})}},Form:{autoSave:!0,hasSavingState:!1,title:f.partial(t.loc,"factor.webauthn","login"),className:"verify-webauthn-form",noCancelButton:!0,save:f.partial(t.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!o.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(o.isNewApiAvailable())e.push(r.View({View:'<div class="webauthn-verify-text">                 <p>{{i18n code="verify.webauthn.instructions" bundle="login"}}</p>                 <div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>               </div>'}));else{var n="webauthn.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="webauthn.error.factorNotSupported.oneFactor"),e.push(r.View({View:new l({message:t.loc(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(r.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){f.defer(f.bind(function(){o.isNewApiAvailable()?this.model.save():this.$('[data-se="webauthn-waiting"]').hide()},this))},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}},back:function(){},Footer:s})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(48),n(18)],void 0!==(i=function(t,e,n,r){var i=t._,o=t.internal.util.Util;return e.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){var t=r.getRememberDeviceValue(this.appState);this.set("rememberDevice",t)},save:function(){var t=this,e=!!this.get("rememberDevice");return this.manageTransaction(function(n,r){var s={rememberDevice:e};return i.findWhere(n.factors,{provider:t.get("provider"),factorType:t.get("factorType")}).verify(s).then(function(e){r(e);var n=t.appState.get("verifyCustomFactorRedirectUrl");null!==n&&o.redirect(n)}).fail(function(t){throw t})})}},Form:function(){var e=this.options.appState.get("factors"),n=e.findWhere({provider:this.options.provider,factorType:this.options.factorType}),r=n.get("vendorName");return{autoSave:!0,title:r,save:t.loc("mfa.challenge.verify","login"),subtitle:t.loc("verify.customFactor.subtitle","login",[r]),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"})}}},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType),this.settings.get("features.hideSignOutLinkInMFA")||this.addFooter(n)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i,o=n(541),s=function(t){return t&&t.__esModule?t:{default:t}}(o);r=[n(1),n(3),n(8),n(23),n(234),n(546),n(547)],void 0!==(i=function(t,e,n,r,i,o,a){var u=t._;return e.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:u.partial(t.loc,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===n.ALL_OPTIONAL_NONE_ENROLLED},subtitle:function(){switch(this.state.get("pageType")){case n.ALL_OPTIONAL_SOME_ENROLLED:case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return t.loc("enroll.choices.optional","login");case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:var e=this.options.appState.get("gracePeriodRemainingDays");return(0,s.default)(e)&&e>=0?this.getGracePeriodSubtitle(e):this.getDefaultSubtitle();default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?t.loc("enroll.choices.description.specific","login",[this.settings.get("brandName")]):t.loc("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(e){return e>=1?t.loc("enroll.choices.description.gracePeriod","login",[e]):t.loc("enroll.choices.description.gracePeriod.oneDay","login")},save:function(){switch(this.state.get("pageType")){case n.ALL_OPTIONAL_SOME_ENROLLED:case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return t.loc("enroll.choices.submit.finish","login");case n.HAS_REQUIRED_NONE_ENROLLED:return t.loc("enroll.choices.submit.configure","login");case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return t.loc("enroll.choices.submit.next","login");default:return""}},initialize:function(t){this.listenTo(this,"save",function(){var e;switch(this.state.get("pageType")){case n.HAS_REQUIRED_NONE_ENROLLED:case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:e=t.appState.get("factors").getFirstUnenrolledRequiredFactor(),t.appState.trigger("navigate",r.createEnrollFactorUrl(e.get("provider"),e.get("factorType")));break;default:return this.model.doTransaction(function(t){return t.skip()})}})},preRender:function(){var e=this.options.appState.get("factors");switch(this.state.get("pageType")){case n.HAS_REQUIRED_NONE_ENROLLED:case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new o({minimize:!0,collection:new t.Collection(e.where({required:!0})),appState:this.options.appState}));break;case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case n.ALL_OPTIONAL_SOME_ENROLLED:case n.ALL_OPTIONAL_NONE_ENROLLED:var r,s=e.where({enrolled:!0}),a=e.filter(function(t){return!t.get("enrolled")||t.get("additionalEnrollment")});s.length>0&&(r=t.loc("enroll.choices.list.optional","login"),this.add(new i({listTitle:t.loc("enroll.choices.list.enrolled","login"),minimize:!0,collection:new t.Collection(s),appState:this.options.appState}))),this.add(new i({listTitle:r,collection:new t.Collection(a),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(t){var e,r,i=0,o=0,s=0,u=0;t.appState.get("factors").each(function(t){var e=t.get("required"),n=t.get("enrolled"),r=t.get("additionalEnrollment");e&&n?i++:e&&!n?o++:!e&&n?s++:e||n||u++,n&&r&&u++}),e=i>0||o>0,e&&0===i?r=n.HAS_REQUIRED_NONE_ENROLLED:e&&o>0?r=n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:e&&u>0?r=n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===s&&u>0?r=n.ALL_OPTIONAL_NONE_ENROLLED:u>0?r=n.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction(function(t){return t.skip()}),this.state.set("pageType",r),this.options.appState.get("skipLink")&&r===n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new a(this.toJSON()))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){t.exports={default:n(542),__esModule:!0}},function(t,e,n){n(543),t.exports=n(16).Number.isInteger},function(t,e,n){var r=n(42);r(r.S,"Number",{isInteger:n(544)})},function(t,e,n){var r=n(47),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){"use strict";t.exports={INVALID_TOKEN_EXCEPTION:"E0000011"}},function(t,e,n){"use strict";var r,i;r=[n(1),n(234)],void 0!==(i=function(t,e){var n=t._;return e.extend({listTitle:n.partial(t.loc,"enroll.choices.list.setup","login"),className:function(){return e.prototype.className+" enroll-required-factor-list"},postRender:function(){var t,n;e.prototype.postRender.apply(this,arguments),t=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),n=this.find(function(e){return e.model===t}),n.maximize()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({template:'<a href="#" class="link goto js-skip" data-se="skip-link">\n          {{i18n code="enroll.choices.setup.skip" bundle="login"}}\n       </a>',className:"auth-footer clearfix",events:{"click .js-skip":function(t){t.preventDefault(),this.model.doTransaction(function(t){return t.skip()})}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(229),n(12),n(3),n(19)],void 0!==(i=function(t,e,n,r,i){var o=t.$,s=t._;return r.extend({className:"enroll-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string"},getInitOptions:function(){return this.doTransaction(function(t){return s.findWhere(t.factors,{factorType:"web",provider:"DUO"}).enroll()})},activate:function(t){var e=this.get("postAction"),r=this.get("factorId"),i=this,s={id:r,stateToken:this.get("stateToken"),sig_response:t};return n(o.post(e,s)).then(function(){return i.doTransaction(function(t){return t.poll()})}).fail(function(t){i.trigger("error",i,t.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:s.partial(t.loc,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),e.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:s.bind(this.model.activate,this.model)})}},Footer:i,fetchInitialData:function(){var t=this;return this.model.getInitOptions(this.options.appState).then(function(e){var n=e.data;if(!(n&&n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.activation))throw new Error("Response does not have duo activation options");var r=n._embedded.factor,i=r._embedded.activation;t.model.set({host:i.host,signature:i.signature,postAction:i._links.complete.href,factorId:r.id,stateToken:n.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(18),n(17),n(19),n(14)],void 0!==(i=function(t,e,n,r,i,o){var s=t._;return e.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction(function(t){return s.findWhere(t.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})})}},Form:{autoSave:!0,title:s.partial(t.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:t.loc("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:r.createInputExplain("mfa.challenge.answer.tooltip","mfa.challenge.answer.placeholder","login"),"explain-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:o,type:"text"}]}},Footer:i,fetchInitialData:function(){var t=this;return this.model.manageTransaction(function(t){return s.findWhere(t.factors,{factorType:"question",provider:"OKTA"}).questions()}).then(function(e){var r={};s.each(e,function(t){r[t.question]=n.getSecurityQuestionLabel(t)}),t.model.set("securityQuestions",r)})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(90),n(19),n(14)],void 0!==(i=function(t,e,n,r,i){var o=t._;return e.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return n.validateFieldsMatch(this,"password","confirmPassword",t.loc("password.enroll.error.match","login"))},save:function(){return this.doTransaction(function(t){return o.findWhere(t.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})})}},Form:{autoSave:!0,title:o.partial(t.loc,"enroll.password.setup","login"),inputs:function(){return[{label:t.loc("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:i,type:"password"},{label:t.loc("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:i,type:"password"}]}},Footer:r})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(117),n(231),n(19),n(69)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t._;return e.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(r.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction(function(t){return this._enroll(t)})},_enroll:function(t){return a.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()},activate:function(){return this.set("__isEnrolled__",!0),this.doTransaction(function(t){var e=t.factor.activation,n=t.user,i=this,o={rpDisplayName:e.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},s=[{algorithm:e.algorithm}],a=e.nonce;return r.makeCredential(o,s,a).then(function(e){return t.activate({credentialId:e.credential.id,publicKey:e.publicKey,attestation:null})}).fail(function(e){switch(e.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return i.trigger("abort",e.message),t}throw e})})}},Form:{autoSave:!0,hasSavingState:!1,title:a.partial(t.loc,"enroll.windowsHello.title","login"),subtitle:function(){return r.isAvailable()?t.loc("enroll.windowsHello.subtitle","login"):""},save:a.partial(t.loc,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return r.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!r.isAvailable()},formChildren:function(){var e=[];return r.isAvailable()||e.push(n.View({View:new s({message:t.loc("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(n.View({View:new i({model:this.model,visible:!1})})),e},_startEnrollment:function(){this.subtitle=t.loc("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){this.subtitle=t.loc("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide");var n;switch(e){case"NotSupportedError":n=t.loc("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),n){var r=new s({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(r,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},Footer:o,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(19),n(235),n(14),n(165),n(5),n(17)],void 0!==(i=function(t,e,n,r,i,o,s,a){function u(t){return"call"===t}function l(t){return u(t)?"enroll-call":"enroll-sms"}function c(t){p.isEnter(t)&&(t.stopPropagation(),t.preventDefault(),"keyup"===t.type&&t.data&&t.data.model&&t.data.model.sendCode())}var f=t._,p=t.internal.util.Keys,d={factorId:function(t){return!f.isUndefined(t)}};return e.extend({className:function(){return l(this.options.factorType)},Model:{props:{countryCode:["string",!0,"US"],phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(t){return"+"+o.getCallingCodeForCountry(t)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(t,e){return e?t+e:""}},enrolled:{deps:["lastEnrolledPhoneNumber","fullPhoneNumber"],fn:function(t,e){return t===e}}},limitResending:function(){this.set({ableToResend:!1}),f.delay(f.bind(this.set,this),3e4,{ableToResend:!0})},sendCode:function(){var e=this,n=this.get("fullPhoneNumber"),r=this.get("phoneExtension");return e.trigger("errors:clear"),n.length?this.doTransaction(function(i){var o="MFA_ENROLL"===i.status||"FACTOR_ENROLL"===i.status,s={phoneNumber:n,updatePhone:!o||e.get("hasExistingPhones")};u(e.get("factorType"))&&(s.phoneExtension=r),e.get("skipPhoneValidation")&&(s.validatePhone=!1);var a=function(n){return f.findWhere(n.factors,{factorType:e.get("factorType"),provider:"OKTA"}).enroll({profile:s}).fail(function(n){throw"E0000098"===n.errorCode&&(e.set("skipPhoneValidation",!0),n.xhr.responseJSON.errorSummary=t.loc("enroll.sms.try_again","login")),n})};return o?a(i):(e.set("trapEnrollment",!0),i.prev().then(a).then(function(t){return e.set("trapEnrollment",!1),t}))},!0).then(function(){e.set("lastEnrolledPhoneNumber",n),e.limitResending()}).fail(function(){e.set("ableToResend",!0),e.set("trapEnrollment",!1)}):void e.trigger("invalid",e,{phoneNumber:"model.validation.field.blank"})},resendCode:function(){return this.trigger("errors:clear"),this.limitResending(),this.doTransaction(function(t){return t.resend(this.get("factorType"))})},save:function(){return this.doTransaction(function(t){return t.activate({passCode:this.get("passCode")})})}},Form:function(){var e=this.options.factorType,n=u(e),f=t.loc(n?"enroll.call.setup":"enroll.sms.setup","login"),p=t.loc(n?"mfa.call":"mfa.sendCode","login"),h=t.loc(n?"mfa.redial":"mfa.resendCode","login"),m=t.loc(n?"mfa.calling":"mfa.sent","login"),g=n?"enroll-call-phone":"enroll-sms-phone",v=n?"call-request-button":"sms-request-button",y=[s.Input({name:"countryCode",type:"select",wide:!0,options:o.getCountries()}),s.Input({label:t.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:g,name:"phoneNumber",input:r,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",c).keydown(c).keyup({model:this.model},c)}})];return n&&y.push(s.Input({label:t.loc("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:i,type:"text"})),y.push(s.Button({title:p,attributes:{"data-se":v},className:"button button-primary js-enroll-phone margin-top-30 "+v,click:function(){this.model.sendCode()}}),s.Button({title:h,attributes:{"data-se":v},className:"button js-enroll-phone margin-top-30 "+v,click:function(){this.model.resendCode()},initialize:function(){this.$el.css({display:"none"}),this.listenTo(this.model,"change:ableToResend",function(t,e){e?(this.options.title=h,this.enable()):(this.options.title=m,this.disable()),this.render()})}}),s.Divider({showWhen:d}),s.Input({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:a.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:i,type:"tel",showWhen:d}),s.Toolbar({noCancelButton:!0,save:t.loc("mfa.challenge.verify","login"),showWhen:d})),{title:f,noButtonBar:!0,autoSave:!0,className:l(e),showWarning:function(t){this.clearWarnings(),this.add('<div class="okta-form-infobox-warning infobox infobox-warning login-timeout-warning">                           <span class="icon warning-16"></span>                           <p>{{{warning}}}</p>                         </div>                         ',".o-form-error-container",{options:{warning:t}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){this.listenTo(this.model,"change:ableToResend",function(e,r){r?this.showWarning(t.loc(n?"factor.call.time.warning":"factor.sms.time.warning","login")):this.clearWarnings()}),this.listenTo(this.model,"error errors:clear",function(){this.clearWarnings(),this.clearErrors()}),this.listenTo(this.model,"change:enrolled",function(){this.$(".js-enroll-phone").toggle()})},formChildren:y}},Footer:n,trapAuthResponse:function(){return this.options.appState.get("isMfaEnrollActivate")?(this.model.set("factorId",this.options.appState.get("activatedFactorId")),!0):!(!this.options.appState.get("isMfaEnroll")||!this.model.get("trapEnrollment"))||void 0},initialize:function(){u(this.options.factorType)?this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhonesForCall")):this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhones")),this.model.set("factorType",this.options.factorType)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";t.exports={US:"1",AG:"1",AI:"1",AS:"1",BB:"1",BM:"1",BS:"1",CA:"1",DM:"1",DO:"1",GD:"1",GU:"1",JM:"1",KN:"1",KY:"1",LC:"1",MP:"1",MS:"1",PR:"1",SX:"1",TC:"1",TT:"1",VC:"1",VG:"1",VI:"1",RU:"7",KZ:"7",EG:"20",ZA:"27",GR:"30",NL:"31",BE:"32",FR:"33",ES:"34",HU:"36",IT:"39",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",VA:"379",UA:"380",RS:"381",ME:"382",HR:"385",SI:"386",BA:"387",MK:"389",CZ:"420",SK:"421",LI:"423",FK:"500",BZ:"501",GT:"502",SV:"503",HN:"504",NI:"505",CR:"506",PA:"507",PM:"508",HT:"509",GP:"590",BL:"590",MF:"590",BO:"591",GY:"592",EC:"593",GF:"594",PY:"595",MQ:"596",SR:"597",UY:"598",CW:"599",BQ:"599",TL:"670",NF:"672",BN:"673",NR:"674",PG:"675",TO:"676",SB:"677",VU:"678",FJ:"679",PW:"680",WF:"681",CK:"682",NU:"683",WS:"685",KI:"686",NC:"687",TV:"688",PF:"689",TK:"690",FM:"691",MH:"692","001":"979",KP:"850",HK:"852",MO:"853",KH:"855",LA:"856",BD:"880",TW:"886",MV:"960",LB:"961",JO:"962",SY:"963",IQ:"964",KW:"965",SA:"966",YE:"967",OM:"968",PS:"970",AE:"971",IL:"972",BH:"973",QA:"974",BT:"975",MN:"976",NP:"977",TJ:"992",TM:"993",AZ:"994",GE:"995",KG:"996",UZ:"998",GS:500,PN:64,AQ:672,UM:1,AN:599}},function(t,e,n){"use strict";var r,i;r=[n(1),n(5),n(3),n(17),n(19),n(14)],void 0!==(i=function(t,e,n,r,i,o){function s(t){return"RSA"===t}function a(t){return s(t)?"enroll-rsa":"enroll-onprem"}var u=t._;return n.extend({className:function(){return a(this.options.provider)},Model:function(){var t=this.options.provider,e=this.options.appState.get("factors"),n=e.findWhere(u.pick(this.options,"provider","factorType")),r=n.get("profile");return{props:{credentialId:["string",!0,r&&r.credentialId?r.credentialId:""],passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return u.findWhere(e.factors,{factorType:"token",provider:t}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})})}}},Form:function(){var n=this.options.provider,i=this.options.appState.get("factors"),l=i.findWhere(u.pick(this.options,"provider","factorType")),c=l.get("vendorName");return{title:s(n)?t.loc("factor.totpHard.rsaSecurId","login"):c,noButtonBar:!0,autoSave:!0,className:a(n),initialize:function(){this.listenTo(this.model,"error",u.bind(function(t,e){e&&409===e.status&&(this.$(".o-form-input-name-passCode input").val(""),this.$(".o-form-input-name-passCode input").trigger("change"),this.$(".o-form-input-name-passCode input").focus())},this))},formChildren:[e.Input({label:t.loc("enroll.onprem.username.placeholder","login",[c]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[c],[c]),"explain-top":!0,name:"credentialId",input:o,type:"text"}),e.Input({label:t.loc("enroll.onprem.passcode.placeholder","login",[c]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[c],[c]),"explain-top":!0,name:"passCode",input:o,type:"password"}),e.Toolbar({noCancelButton:!0,save:t.loc("mfa.challenge.verify","login")})]}},Footer:i})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(5),n(3),n(17),n(19),n(14)],void 0!==(i=function(t,e,n,r,i,o){var s=t._;return n.extend({className:"enroll-symantec",Model:{props:{credentialId:["string",!0],passCode:["string",!0],nextPassCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(t){return s.findWhere(t.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})})}},Form:{title:s.partial(t.loc,"factor.totpHard.symantecVip","login"),subtitle:s.partial(t.loc,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[e.Input({label:t.loc("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:o,type:"text"}),e.Input({label:t.loc("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:o,type:"text"}),e.Input({label:t.loc("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:o,type:"text"}),e.Toolbar({noCancelButton:!0,save:t.loc("mfa.challenge.verify","login")})]}},Footer:i})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(5),n(3),n(19),n(14)],void 0!==(i=function(t,e,n,r,i){var o=t._;return n.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(t){return o.findWhere(t.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})})}},Form:{title:o.partial(t.loc,"enroll.yubikey.title","login"),subtitle:o.partial(t.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:o.partial(t.loc,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[e.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),e.Input({name:"passCode",input:i,type:"password"})]},Footer:r})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(3),n(5),n(23),n(558),n(166),n(19)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t._,l={__deviceType__:function(t){return void 0!==t}},c=t.View.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template:'      <p class="instructions-title">{{title}}</p>      <span class="app-logo {{appIcon}}"></span>      <p class="instructions">{{{appStoreLinkText}}}</p>    ',initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},getTemplateData:function(){var n,r,i,s=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return i=o.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(n=o.GOOGLE[this.model.get("__deviceType__")],r="google-auth-38"):(n=o.OKTA[this.model.get("__deviceType__")],r="okta-verify-38"),{title:t.loc("enroll.totp.installApp","login",[s]),appStoreLinkText:t.loc("enroll.totp.downloadApp","login",[n,s,i]),appIcon:r}}});return n.extend({className:"enroll-totp",Model:function(){return{local:{__deviceType__:"string",__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(t){return u.findWhere(t.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()})}}},Form:{title:function(){var n=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[n])},subtitle:u.partial(t.loc,"enroll.totp.selectDevice","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){var e={APPLE:"",ANDROID:""};return this.settings.get("features.windowsVerify")&&"OKTA"===this.model.get("__provider__")?e.WINDOWS="":"GOOGLE"===this.model.get("__provider__")&&(e.BLACKBERRY=""),[r.Input({name:"__deviceType__",type:"radio",options:e,className:"device-type-input"}),r.Divider({showWhen:l}),r.View({View:c,showWhen:l}),r.Toolbar({noCancelButton:!0,save:t.loc("oform.next","login"),showWhen:l})]}},Footer:a})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";t.exports={OKTA:{APPLE:"https://itunes.apple.com/us/app/okta-verify/id490179405",ANDROID:"https://play.google.com/store/apps/details?id=com.okta.android.auth",WINDOWS:"http://www.windowsphone.com/en-us/store/app/okta-verify/9df0e2c4-7301-411f-80e5-62fcf6679666"},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",BLACKBERRY:"https://support.google.com/accounts/answer/1066447"},STORE:{APPLE:"App Store",ANDROID:"Google Play Store",WINDOWS:"Windows Store",BLACKBERRY:"Blackberry World Store"}}},function(t,e,n){"use strict";var r,i;r=[n(1),n(36),n(5),n(3),n(164),n(19),n(12),n(69),n(232)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t._;return r.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(t){return u.findWhere(t.factors,{factorType:"u2f",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction(function(t){var n=t.factor.activation,r=n.appId,o=[{version:i.getU2fVersion(),challenge:n.nonce}],a=this,u=s.defer();return u2f.register(r,o,[],function(n){a.trigger("errors:clear"),n.errorCode&&0!==n.errorCode?u.reject(new e.U2FError({xhr:{responseJSON:{errorSummary:i.getU2fEnrollErrorMessageByCode(n.errorCode)}}})):u.resolve(t.activate({registrationData:n.registrationData,version:n.version,challenge:n.challenge,clientData:n.clientData}))}),u.promise})}},Form:{title:u.partial(t.loc,"enroll.u2f.title","login"),save:u.partial(t.loc,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!i.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(i.isU2fAvailable())e.push(n.View({View:'<div class="u2f-instructions"><ol>          <li>{{{i18n code="enroll.u2f.general2" bundle="login"}}}</li>          <li>{{i18n code="enroll.u2f.general3" bundle="login"}}</li>          </ol></div>'})),e.push(n.View({View:'          <div class="u2f-enroll-text hide">            <p>{{i18n code="enroll.u2f.instructions" bundle="login"}}</p>            <p>{{i18n code="enroll.u2f.instructionsBluetooth" bundle="login"}}</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>'}));else{var r="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(r="u2f.error.factorNotSupported.oneFactor"),e.push(n.View({View:new a({message:t.loc(r,"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:o,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(36),n(5),n(3),n(233),n(117),n(19),n(12),n(69),n(68)],void 0!==(i=function(t,e,n,r,i,o,s,a,u,l){var c=t._;return r.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(t){return c.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction(function(t){var n=t.factor.activation,r=this;if(o.isNewApiAvailable()){var s=c.extend({},n,{challenge:i.strToBin(n.challenge),user:{id:i.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName}});return new a(navigator.credentials.create({publicKey:s})).then(function(e){return t.activate({attestation:i.binToStr(e.response.attestationObject),clientData:i.binToStr(e.response.clientDataJSON)})}).fail(function(t){throw r.trigger("errors:clear"),new e.WebAuthnError({xhr:{responseJSON:{errorSummary:t.message}}})})}})}},Form:{title:c.partial(t.loc,"enroll.webauthn.title","login"),save:c.partial(t.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!o.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(o.isNewApiAvailable())e.push(n.View({View:t.View.extend({className:"webauthn-enroll-text",template:'                <div class="webauthn-enroll-instructions">                  <p>{{i18n code="enroll.webauthn.instructions" bundle="login"}}</p>                </div>                {{#if isEdge}}                  <div class="webauthn-edge-text">                     <p>{{{i18n code="enroll.webauthn.instructions.edge" bundle="login"}}}</p>                  </div>                {{/if}}                <div data-se="webauthn-waiting" class="okta-waiting-spinner hide"></div>              ',getTemplateData:function(){return{isEdge:l.isEdge}}})}));else{var r="webauthn.error.factorNotSupported";1===this.options.appState.get("factors").length&&(r="webauthn.error.factorNotSupported.oneFactor"),e.push(n.View({View:new u({message:t.loc(r,"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:s,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(19)],void 0!==(i=function(t,e,n){var r=t._,i=t.internal.util.Util;return e.extend({className:"enroll-custom-factor",Model:{local:{provider:"string",factorType:"string"},save:function(){var t=this;return this.manageTransaction(function(e,n){return r.findWhere(e.factors,{provider:t.get("provider"),factorType:t.get("factorType")}).enroll().then(function(e){n(e);var r=t.appState.get("enrollCustomFactorRedirectUrl");null!==r&&i.redirect(r)}).fail(function(t){throw t})})}},Form:function(){var e=this.options.appState.get("factors"),n=e.findWhere({provider:this.options.provider,factorType:this.options.factorType}),r=n.get("vendorName");return{autoSave:!0,title:r,subtitle:t.loc("enroll.customFactor.subtitle","login",[r]),save:t.loc("enroll.customFactor.save","login")}},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType)},Footer:n})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(19),n(69)],void 0!==(i=function(t,e,n,r,i){return e.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"),n=e.findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return t.loc("enroll.totp.title","login",[n.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[n.View({View:new i({message:t.loc("enroll.hotp.restricted","login")})})]}},Footer:r})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(3),n(5),n(23),n(166),n(19)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t._;return n.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var n=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[n])},subtitle:a.partial(t.loc,"mfa.scanBarcode","login"),save:a.partial(t.loc,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[r.View({View:o})]},Footer:s,initialize:function(){this.listenTo(this.form,"save",function(){var t=i.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",t)})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(68),n(565),n(566),n(236),n(587),n(588),n(589),n(23),n(167),n(36),n(17),n(8),n(160),n(116)],void 0!==(i=function(t,e,n,r,i,o,s,a,u,l,c,f,p,d,h){function m(t,e){return y.find(t.stateLessRouteHandlers,function(n){return e===t[n]})}function g(t,e){return!!t&&(t!==i||e.get("features.securityImage"))}function v(t,e,n,r){var i=setTimeout(function(){t.trigger("loading",!0)},200);return d.loadLanguage(t.get("languageCode"),e,{baseUrl:n,rewrite:r}).then(function(){clearTimeout(i),t.trigger("loading",!1)})}var y=t._,_=t.$,b=t.Backbone;return t.Router.extend({Events:b.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(t){h.error(t)}),this.settings=new n(y.omit(e,"el","authClient"),{parse:!0}),this.settings.setAuthClient(e.authClient),e.el||this.settings.callGlobalError(new c.ConfigError(t.loc("error.required.el"))),_("body > div").on("click",function(){}),this.appState=new s({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var i=new o({appState:this.appState});t.$(e.el).append(i.render().$el),this.el="#"+p.WIDGET_CONTAINER_ID,this.header=new r({el:this.el,appState:this.appState,settings:this.settings}),this.listenTo(this.appState,"change:transactionError",function(t,e){u.routeAfterAuthStatusChangeError(this,e)}),this.listenTo(this.appState,"change:transaction",function(t,e){u.routeAfterAuthStatusChange(this,e.data)}),this.listenTo(this.appState,"navigate",function(t){this.navigate(t,{trigger:!0})})},execute:function(t,e){var n=this.settings.get("recoveryToken");if(n)return this.settings.unset("recoveryToken"),void this.navigate(u.createRecoveryUrl(n),{trigger:!0});var r=this.settings.get("stateToken");if(r)return this.settings.unset("stateToken"),void this.navigate(u.createRefreshUrl(r),{trigger:!0});var i=this.appState.get("transaction");return i&&i.data||m(this,t)?void t.apply(this,e):this.settings.getAuthClient().tx.exists()?void this.navigate(u.createRefreshUrl(),{trigger:!0}):void this.navigate("",{trigger:!0})},navigate:function(e,n){return this.settings.get("features.router")?t.Router.prototype.navigate.apply(this,arguments):n&&n.trigger?b.history.loadUrl(e):void 0},render:function(e,n){n||(n={});var r=n.Beacon,i=y.extend({settings:this.settings,appState:this.appState},y.omit(n,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!d.isLoaded(this.appState.get("languageCode")))return v(this.appState,this.settings.get("i18n"),this.settings.get("assets.baseUrl"),this.settings.get("assets.rewrite")).then(y.bind(this.render,this,e,n)).done();if(this.settings.get("colors.brand")&&!a.isLoaded()){var o={brand:this.settings.get("colors.brand")};a.addStyle(o)}var s=this.controller;this.controller=new e(i),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then(y.bind(function(){return g(r,this.settings)||(r=null),this.header.setBeacon(r,i),this.controller.render(),s?l.swapPages({$parent:this.el,$oldRoot:s.$el,$newRoot:this.controller.$el,dir:s.state.get("navigateDir"),ctx:this,success:function(){var e=this.appState.get("flashError"),n=this.controller.model;s.remove(),s.$el.remove(),this.controller.postRenderAnimation(),e&&(n.trigger("error",n,{responseJSON:{errorSummary:t.loc("error.expired.session")}}),this.appState.unset("flashError"),f.triggerAfterError(this.controller,e))}}):(this.el.append(this.controller.el),void this.controller.postRenderAnimation())},this)).fail(function(){s&&(s.remove(),s.$el.remove())}).done()},start:function(){var n=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",y.bind(function(t){this.controller.back&&(t.preventDefault(),t.stopImmediatePropagation(),this.controller.back())},this)),n=e.supportsPushState()),t.Router.prototype.start.call(this,{pushState:n})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller.remove(),this.header.$el.remove(),d.remove(),b.history.stop()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(36),n(68),n(17),n(116),n(146)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t.internal.util.Util,u=["facebook","google","linkedin","microsoft"],l=["token","id_token","code"],c=t.tpl("{{origin}}"),f=t._,p=n.ConfigError,d=n.UnsupportedBrowserError,h=t.tpl("https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/{{version}}");return t.Model.extend({flat:!0,authClient:void 0,local:{baseUrl:["string",!0],recoveryToken:["string",!1,void 0],stateToken:["string",!1,void 0],username:["string",!1],signOutLink:["string",!1],relayState:["string",!1],transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",logo:"string",logoText:["string",!1],helpSupportNumber:"string","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.windowsVerify":["boolean",!0,!1],"features.webauthn":["boolean",!0,!1],"features.selfServiceUnlock":["boolean",!0,!1],"features.multiOptionalFactorEnroll":["boolean",!0,!1],"features.preventBrowserFromSavingOktaPassword":["boolean",!0,!0],"features.deviceFingerprinting":["boolean",!1,!1],"features.hideSignOutLinkInMFA":["boolean",!1,!1],"features.hideBackToSignInForReset":["boolean",!1,!1],"features.customExpiredPassword":["boolean",!0,!1],"features.registration":["boolean",!1,!1],"features.consent":["boolean",!1,!1],"features.idpDiscovery":["boolean",!1,!1],"features.passwordlessAuth":["boolean",!1,!1],"features.showPasswordToggleOnSignInPage":["boolean",!1,!1],"features.trackTypingPattern":["boolean",!1,!1],"features.redirectByFormSubmit":["boolean",!1,!1],"features.useDeviceFingerprintForSecurityImage":["boolean",!1,!0],"features.restrictRedirectToForeground":["boolean",!0,!1],"features.hideDefaultTip":["boolean",!1,!0],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:f.identity},authScheme:["string",!1,"OAUTH2"],"authParams.display":{type:"string",values:["none","popup","page"]},"authParams.responseMode":{type:"string",values:["query","fragment","form_post","okta_post_message"]},"authParams.responseType":["any",!1,"id_token"],"authParams.scopes":["array",!1],"authParams.issuer":["string",!1],"authParams.authorizeUrl":["string",!1],"authParams.state":["string",!1],"authParams.nonce":["string",!1],policyId:"string",clientId:"string",redirectUri:"string",idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},oAuthTimeout:["number",!1],"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array",customButtons:["array",!1,[]],"registration.click":"function","registration.parseSchema":"function","registration.preSubmit":"function","registration.postSubmit":"function","consent.cancel":"function","idpDiscovery.requestContext":"string","colors.brand":"string",brandName:"string"},derived:{redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(t){return t?i.redirectWithFormGet.bind(i):a.redirect.bind(a)},cache:!0},supportedLanguages:{deps:["i18n"],fn:function(t){return f.union(s.supportedLanguages,f.keys(t))},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(t,e){var n,o=r.getUserLanguages(),s=f.clone(o),a=i.toLower(e);f.isString(t)?s.unshift(t):f.isFunction(t)&&s.unshift(t(e,o)),s.push("en"),n=i.toLower(i.expandLanguages(s));var u,l;for(u=0;u<n.length;u++)if((l=a.indexOf(n[u]))>-1)return e[l]}},oauth2Enabled:{deps:["clientId","authScheme","authParams.responseType"],fn:function(t,e,n){if(!t)return!1;if("oauth2"!==e.toLowerCase())return!1;var r=f.isArray(n)?n:[n];return f.intersection(r,l).length>0},cache:!0},oauthRedirectUri:{deps:["redirectUri"],fn:function(t){if(t)return t;var e=window.location.origin;if(!e){var n=window.location.href,r=window.location.pathname;""!==r&&(e=n.substring(0,n.lastIndexOf(r)))}return c({origin:e})}},configuredSocialIdps:{deps:["idps"],fn:function(t){return f.map(t,function(t){var e=t.type&&t.type.toLowerCase();return e&&f.contains(u,e)||(e="general-idp",t.text=t.text||"{ Please provide a text value }"),t.className=["social-auth-button","social-auth-"+e+"-button ",t.className?t.className:""].join(" "),t.dataAttr="social-auth-"+e+"-button",t.i18nKey="socialauth."+e+".label",t})},cache:!0},socialAuthPositionTop:{deps:["configuredSocialIdps","idpDisplay"],fn:function(t,e){return!f.isEmpty(t)&&"PRIMARY"===e.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons"],fn:function(t,e){return!f.isEmpty(t)||!f.isEmpty(e)},cache:!0}},initialize:function(e){e.baseUrl?e.colors&&f.isString(e.colors.brand)&&!e.colors.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new p(t.loc("error.invalid.colors.brand"))):r.corsIsNotSupported()&&this.callGlobalError(new d(t.loc("error.unsupported.cors"))):this.callGlobalError(new p(t.loc("error.required.baseUrl")))},setAcceptLanguageHeader:function(t){t&&t.options&&t.options.headers&&(t.options.headers["Accept-Language"]=this.get("languageCode"))},setAuthClient:function(t){this.setAcceptLanguageHeader(t),this.authClient=t},getAuthClient:function(){return this.authClient},set:function(){try{return t.Model.prototype.set.apply(this,arguments)}catch(t){var e=t.message?t.message:t;this.callGlobalError(new p(e))}},callGlobalSuccess:function(t,e){var n=f.extend(e,{status:t});f.defer(f.partial(this.get("globalSuccessFn"),n))},callGlobalError:function(t){var e=this.get("globalErrorFn")||this.options.globalErrorFn;if(!e)throw t;e(t)},transformUsername:function(t,e){var n=this.get("transformUsername");return n&&f.isFunction(n)?n(t,e):t},processCreds:function(t){var n=this.get("processCreds");return e.Promise(function(e){f.isFunction(n)?2===n.length?n(t,e):(n(t),e()):e()})},parseSchema:function(e,n,r){var i=this.get("registration.parseSchema");f.isFunction(i)?i(e,function(t){n(t)},function(e){e=e||{errorSummary:t.loc("registration.default.callbackhook.error")},e.callback="parseSchema",r(e)}):n(e)},preSubmit:function(e,n,r){var i=this.get("registration.preSubmit");f.isFunction(i)?i(e,function(t){n(t)},function(e){e=e||{errorSummary:t.loc("registration.default.callbackhook.error")},e.callback="preSubmit",r(e)}):n(e)},postSubmit:function(e,n,r){var i=this.get("registration.postSubmit");f.isFunction(i)?i(e,function(t){n(t)},function(e){e=e||{errorSummary:t.loc("registration.default.callbackhook.error")},e.callback="postSubmit",r(e)}):n(e)},parse:function(t){if(t.authParams&&t.authParams.scope&&(t.authParams.scopes=t.authParams.scope,delete t.authParams.scope),t.labels||t.country){var e=t.labels||{};f.each(t.country,function(t,n){e["country."+n]=t}),t.i18n={},f.each(s.supportedLanguages,function(n){t.i18n[n]=e}),delete t.labels,delete t.country}t.assets||(t.assets={});var n=t.assets.baseUrl;return n?"/"===n[n.length-1]&&(t.assets.baseUrl=n.substring(0,n.length-1)):t.assets.baseUrl=h({version:s.version}),t}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(167),n(567)],void 0!==(i=function(t,e,n){function r(t){return t&&t.equals(n)}function i(t){t.currentBeacon&&(t.currentBeacon.remove(),t.currentBeacon=null)}function o(t,e,n,r){t.add(e,{selector:n,options:r}),t.currentBeacon=t.first()}function s(t,e,n){return t||e?!t&&n.loading?"load":t&&r(t)?e?"swap":"unload":t&&t.equals(e,n)?"same":!t&&e?"add":t&&!e?"remove":t instanceof e?"fade":"swap":"none"}return t.View.extend({currentBeacon:null,template:'      <div class="okta-sign-in-header auth-header">        {{#if logo}}        <img src="{{logo}}" class="auth-org-logo" alt="{{logoText}}"/>        {{/if}}        <div data-type="beacon-container" class="beacon-container"></div>      </div>      <div class="auth-content"><div class="auth-content-inner"></div></div>    ',initialize:function(t){t.settings.get("features.securityImage")||(this.$el.addClass("no-beacon"),this.listenTo(t.appState,"loading",this.setLoadingBeacon),this.listenTo(t.appState,"removeLoading",this.removeLoadingBeacon))},setBeacon:function(t,n){var a='[data-type="beacon-container"]',u=this.$(a),l=s(this.currentBeacon,t,n),c=this;switch(l){case"none":return void this.$el.addClass("no-beacon");case"same":return;case"add":return this.$el.removeClass("no-beacon"),o(this,t,a,n),e.explode(u);case"remove":return this.$el.addClass("no-beacon"),e.implode(u).then(function(){i(c)}).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return n.animate=!0,this.currentBeacon.fadeOut().then(function(){i(c),o(c,t,a,n)}).done();case"swap":return e.swapBeacons({$el:u,swap:function(){var e=r(c.currentBeacon);i(c),e&&(u.removeClass("beacon-small beacon-loading"),c.$el.removeClass("no-beacon")),o(c,t,a,n)}}).done();case"load":return u.addClass("beacon-small beacon-loading"),o(c,t,a,n),e.explode(u);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+l+'" is not recognized')}},setLoadingBeacon:function(t){t&&!r(this.currentBeacon)&&this.setBeacon(n,{loading:!0})},removeLoadingBeacon:function(){var t=this,n=this.$('[data-type="beacon-container"]');return e.implode(n).then(function(){i(t),n.removeClass("beacon-small beacon-loading")}).done()},getTemplateData:function(){return this.settings.toJSON({verbose:!0})},getContentEl:function(){return this.$(".auth-content-inner")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({template:'      <div class="beacon-blank"/>      <div class="bg-helper auth-beacon auth-beacon-security" data-se="loading-beacon">      <div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"/>      </div>    ',equals:function(t){return t&&this instanceof t}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){t.exports=n(569)},function(t,e,n){/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(570),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,s=Object.create(o.prototype),a=new d(r||[]);return s._invoke=l(t,n,a),s}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function s(){}function a(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){function e(n,i,o,s){var a=r(t[n],t,i);if("throw"!==a.type){var u=a.arg,l=u.value;return l&&"object"==typeof l&&y.call(l,"__await")?Promise.resolve(l.__await).then(function(t){e("next",t,o,s)},function(t){e("throw",t,o,s)}):Promise.resolve(l).then(function(t){u.value=t,o(u)},s)}s(a.arg)}function n(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function l(t,e,n){var i=T;return function(o,s){if(i===C)throw new Error("Generator is already running");if(i===A){if("throw"===o)throw s;return m()}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var u=c(a,n);if(u){if(u===O)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===T)throw i=A,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=C;var l=r(t,e,n);if("normal"===l.type){if(i=n.done?A:k,l.arg===O)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=A,n.method="throw",n.arg=l.arg)}}}function c(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,c(t,e),"throw"===e.method))return O;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,O;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,O):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,O)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function h(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=g,e.done=!0,e};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",w=_.asyncIterator||"@@asyncIterator",x=_.toStringTag||"@@toStringTag",S="object"==typeof t,E=e.regeneratorRuntime;if(E)return void(S&&(t.exports=E));E=e.regeneratorRuntime=S?t.exports:{},E.wrap=n;var T="suspendedStart",k="suspendedYield",C="executing",A="completed",O={},N={};N[b]=function(){return this};var I=Object.getPrototypeOf,R=I&&I(I(h([])));R&&R!==v&&y.call(R,b)&&(N=R);var P=s.prototype=i.prototype=Object.create(N);o.prototype=P.constructor=s,s.constructor=o,s[x]=o.displayName="GeneratorFunction",E.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},E.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(P),t},E.awrap=function(t){return{__await:t}},a(u.prototype),u.prototype[w]=function(){return this},E.AsyncIterator=u,E.async=function(t,e,r,i){var o=new u(n(t,e,r,i));return E.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},a(P),P[x]="Generator",P[b]=function(){return this},P.toString=function(){return"[object Generator]"},E.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},E.values=h,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=g)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var s=y.call(i,"catchLoc"),a=y.call(i,"finallyLoc");if(s&&a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,O):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),O},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),p(n),O}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:h(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),O}}}(function(){return this}()||Function("return this")())},function(t,e,n){"use strict";e.__esModule=!0;var r=n(572),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,n){function r(o,s){try{var a=e[o](s),u=a.value}catch(t){return void n(t)}if(!a.done)return i.default.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}return r("next")})}}},function(t,e,n){t.exports={default:n(573),__esModule:!0}},function(t,e,n){n(216),n(107),n(114),n(574),n(585),n(586),t.exports=n(16).Promise},function(t,e,n){"use strict";var r,i,o,s,a=n(85),u=n(21),l=n(108),c=n(161),f=n(42),p=n(47),d=n(109),h=n(575),m=n(576),g=n(237),v=n(238).set,y=n(580)(),_=n(168),b=n(239),w=n(581),x=n(240),S=u.TypeError,E=u.process,T=E&&E.versions,k=T&&T.v8||"",C=u.Promise,A="process"==c(E),O=function(){},N=i=_.f,I=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n(22)("species")]=function(t){t(O,O)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{a?(i||(2==t._h&&D(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&(c.exit(),s=!0)),n===e.promise?l(S("Promise-chain cycle")):(o=R(n))?o.call(n,u,l):u(n)):l(r)}catch(t){c&&!s&&c.exit(),l(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){v.call(u,function(){var e,n,r,i=t._v,o=L(t);if(o&&(e=b(function(){A?E.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=A||L(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(u,function(){var e;A?E.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=R(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,l(U,r,1),l(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};I||(C=function(t){h(this,C,"Promise","_h"),d(t),r.call(this);try{t(l(U,this,1),l(F,this,1))}catch(t){F.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(582)(C.prototype,{then:function(t,e){var n=N(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(U,t,1),this.reject=l(F,t,1)},_.f=N=function(t){return t===C||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!I,{Promise:C}),n(112)(C,"Promise"),n(583)("Promise"),s=n(16).Promise,f(f.S+f.F*!I,"Promise",{reject:function(t){var e=N(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!I),"Promise",{resolve:function(t){return x(a&&this===s?C:this,t)}}),f(f.S+f.F*!(I&&n(584)(function(t){C.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=N(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,s=1;m(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=N(e),r=n.reject,i=b(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(108),i=n(577),o=n(578),s=n(46),a=n(212),u=n(226),l={},c={},e=t.exports=function(t,e,n,f,p){var d,h,m,g,v=p?function(){return t}:u(t),y=r(n,f,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(d=a(t.length);d>_;_++)if((g=e?y(s(h=t[_])[0],h[1]):y(t[_]))===l||g===c)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=i(m,y,h.value,e))===l||g===c)return g};e.BREAK=l,e.RETURN=c},function(t,e,n){var r=n(46);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(75),i=n(22)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(21),i=n(238).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(86)(s);t.exports=function(){var t,e,n,l=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(21),i=r.navigator;t.exports=i&&i.userAgent||""},function(t,e,n){var r=n(65);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(21),i=n(16),o=n(52),s=n(43),a=n(22)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(22)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(42),i=n(16),o=n(21),s=n(237),a=n(240);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(42),i=n(168),o=n(239);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){return t.View.extend({className:"auth-container main-container",id:e.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container"},initialize:function(t){this.listenTo(t.appState,"change:beaconType",function(t,e){this.$el.toggleClass("can-remove-beacon","security"===e)})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(169),n(68),n(36)],void 0!==(i=function(t,e,n,r,i){function o(t,n,r){n=encodeURIComponent(n);var i=y({baseUrl:t,username:n});if(l.isEmpty(n)||l.isUndefined(n))return e({securityImage:d,securityImageDescription:g});var o={url:i,dataType:"json"};return r&&(o.headers={"X-Device-Fingerprint":r}),e(c.ajax(o)).then(function(t){return t.pwdImg===p?{securityImage:h,securityImageDescription:m}:{securityImage:t.pwdImg,securityImageDescription:t.imageDescription||v}})}function s(e){if(e>60&&e<=1440){var n=e/60;return t.loc("hours","login",[n])}if(e>1440){var r=e/1440;return t.loc("days","login",[r])}return 1===e?t.loc("minutes.oneMinute","login"):t.loc("minutes","login",[e])}function a(t){var e=new Date(t).getTime();return Math.floor((e-(new Date).getTime())/864e5)}function u(t,e){var n=[],r=[];return l.each(e,function(e){var i=e.factorType;if(!l.contains(n,i)){var o=l.findWhere(t,{factorType:i});o?(n.push(i),r.push(o)):r.push(e)}}),r}var l=t._,c=t.$,f=t.Handlebars.compile,p="/img/security/unknown.png",d="/img/security/default.png",h="/img/security/unknown-device.png",m="",g="",v="",y=f("{{baseUrl}}/login/getimage?username={{username}}");return t.Model.extend({initialize:function(){if(this.settings.get("features.securityImage")){var e=this;this.listenTo(this,"change:username",function(n,s){o(this.get("baseUrl"),s,this.get("deviceFingerprint")).then(function(t){n.set("securityImage",t.securityImage),n.set("securityImageDescription",t.securityImageDescription),n.unset("deviceFingerprint")}).fail(function(n){if(!r.corsIsNotEnabled(n))throw n;e.settings.callGlobalError(new i.UnsupportedBrowserError(t.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,g],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]},setAuthResponse:function(t){var e=this;if(t._embedded&&t._embedded.policy&&this.set("policy",t._embedded.policy),t._embedded&&t._embedded.factors){var r=t._embedded.factors;t._embedded.factorTypes&&(r=u(t._embedded.factorTypes,r));var i=l.map(r,function(t){return t.settings=e.settings,t.appState=e,t});this.set("factors",new n.Collection(i,{parse:!0}))}this.set("lastAuthResponse",t)},derived:{isSuccessResponse:{deps:["lastAuthResponse"],fn:function(t){return"SUCCESS"===t.status}},isMfaRequired:{deps:["lastAuthResponse"],fn:function(t){return"MFA_REQUIRED"===t.status||"FACTOR_REQUIRED"===t.status}},isProfileRequired:{deps:["lastAuthResponse"],fn:function(t){return"PROFILE_REQUIRED"===t.status}},isMfaEnroll:{deps:["lastAuthResponse"],fn:function(t){return"MFA_ENROLL"===t.status||"FACTOR_ENROLL"===t.status}},isMfaChallenge:{deps:["lastAuthResponse"],fn:function(t){return"MFA_CHALLENGE"===t.status||"FACTOR_CHALLENGE"===t.status}},isUnauthenticated:{deps:["lastAuthResponse"],fn:function(t){return"UNAUTHENTICATED"===t.status}},isMfaRejectedByUser:{deps:["lastAuthResponse"],fn:function(t){return"REJECTED"===t.factorResult}},isMfaTimeout:{deps:["lastAuthResponse"],fn:function(t){return"TIMEOUT"===t.factorResult}},isMfaEnrollActivate:{deps:["lastAuthResponse"],fn:function(t){return"MFA_ENROLL_ACTIVATE"===t.status||"FACTOR_ENROLL_ACTIVATE"===t.status}},isWaitingForActivation:{deps:["isMfaEnrollActivate","lastAuthResponse"],fn:function(t,e){return t&&"WAITING"===e.factorResult}},hasMultipleFactorsAvailable:{deps:["factors","isMfaRequired","isMfaChallenge","isUnauthenticated"],fn:function(t,e,n,r){return!!(e||n||r)&&(t&&t.length>1)}},promptForFactorInUnauthenticated:{deps:["lastAuthResponse","factors"],fn:function(t,e){return"UNAUTHENTICATED"===t.status&&(e&&e.length>0)}},userId:{deps:["lastAuthResponse"],fn:function(t){return t._embedded&&t._embedded.user?t._embedded.user.id:null}},isIdxStateToken:{deps:["lastAuthResponse"],fn:function(t){return t&&l.isString(t.stateToken)&&t.stateToken.startsWith("01")}},isPwdExpiringSoon:{deps:["lastAuthResponse"],fn:function(t){return"PASSWORD_WARN"===t.status}},passwordExpireDays:{deps:["lastAuthResponse"],fn:function(t){return t._embedded&&t._embedded.policy&&t._embedded.policy.expiration?t._embedded.policy.expiration.passwordExpireDays:null}},isPwdManagedByOkta:{deps:["lastAuthResponse"],fn:function(t){return!(t._links&&t._links.next&&t._links.next.title)}},passwordExpiredWebsiteName:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.next&&t._links.next.title?t._links.next.title:null}},passwordExpiredLinkUrl:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.next&&t._links.next.title&&t._links.next.href?t._links.next.href:null}},recoveryType:{deps:["lastAuthResponse"],fn:function(t){return t.recoveryType}},factorType:{deps:["lastAuthResponse"],fn:function(t){return t.factorType}},factor:{deps:["lastAuthResponse"],fn:function(t){return t._embedded&&t._embedded.factor?t._embedded.factor:null}},activatedFactorId:{deps:["factor"],fn:function(t){return t?t.id:null}},activatedFactorType:{deps:["factor"],fn:function(t){return t?t.factorType:null}},activatedFactorProvider:{deps:["factor"],fn:function(t){return t?t.provider:null}},qrcode:{deps:["factor"],fn:function(t){try{return t._embedded.activation._links.qrcode.href}catch(t){return null}}},activationSendLinks:{deps:["factor"],fn:function(t){var e;try{e=t._embedded.activation._links.send}catch(t){e=[]}return e}},textActivationLinkUrl:{deps:["activationSendLinks"],fn:function(t){var e=l.findWhere(t,{name:"sms"});return e?e.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(t){var e=l.findWhere(t,{name:"email"});return e?e.href:null}},sharedSecret:{deps:["factor"],fn:function(t){try{return t._embedded.activation.sharedSecret}catch(t){return null}}},duoEnrollActivation:{deps:["factor"],fn:function(t){return t&&t._embedded&&t._embedded.activation?t._embedded.activation:null}},prevLink:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.prev?t._links.prev.href:null}},skipLink:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.skip?t._links.skip.href:null}},gracePeriodRemainingDays:{deps:["policy"],fn:function(t){return t&&t.gracePeriod&&t.gracePeriod.endDate?a(t.gracePeriod.endDate):null}},user:{deps:["lastAuthResponse"],fn:function(t){return t._embedded&&t._embedded.user?t._embedded.user:null}},recoveryQuestion:{deps:["user"],fn:function(t){return t&&t.recovery_question?t.recovery_question.question:null}},userProfile:{deps:["user"],fn:function(t){return t&&t.profile?t.profile:null}},userConsentName:{deps:["userProfile","username"],fn:function(t,e){return!t||l.isEmpty(t.firstName)?e:l.isEmpty(t.lastName)?t.firstName:t.firstName+" "+t.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(t){return t&&t.login?t.login:null}},userFullName:{deps:["userProfile"],fn:function(t){return t&&(t.firstName||t.lastName)?t.firstName+" "+t.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(t){return t+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(t){return t.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(t){return t._embedded?t._embedded.target:null}},targetLabel:{deps:["target"],fn:function(t){return t?t.label:null}},targetLogo:{deps:["target"],fn:function(t){return t&&t._links?t._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(t){return t&&t._links?t._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(t){return t&&t._links?t._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(t){return t&&t._links?t._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(t){return t._embedded?t._embedded.scopes:null}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(t){if(!t._embedded||!t._embedded.factors)return!1;var e=t._embedded.factors,n=l.findWhere(e,{factorType:"sms",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},hasExistingPhonesForCall:{deps:["lastAuthResponse"],fn:function(t){if(!t._embedded||!t._embedded.factors)return!1;var e=t._embedded.factors,n=l.findWhere(e,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(t){return t===d}},isNewUser:{deps:["securityImage"],fn:function(t){return t===h}},allowRememberDevice:{deps:["policy"],fn:function(t){return t&&t.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(e){if(e&&e.rememberDeviceLifetimeInMinutes>0){var n=s(e.rememberDeviceLifetimeInMinutes);return t.loc("rememberDevice.timebased","login",[n])}return e&&0===e.rememberDeviceLifetimeInMinutes?t.loc("rememberDevice.devicebased","login"):t.loc("rememberDevice","login")}},rememberDeviceByDefault:{deps:["policy"],fn:function(t){return t&&t.rememberDeviceByDefault}},factorsPolicyInfo:{deps:["policy"],fn:function(t){return t&&t.factorsPolicyInfo?t.factorsPolicyInfo:null}},verifyCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.next&&"redirect"===t._links.next.name&&t._links.next.href?t._links.next.href:null}},enrollCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(t){return t._links&&t._links.next&&"activate"===t._links.next.name&&t._links.next.href?t._links.next.href:null}}},parse:function(t){return this.settings=t.settings,l.extend(l.omit(t,"settings"),{languageCode:this.settings.get("languageCode")})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(8)],void 0!==(i=function(t){var e={},n=function(t){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: "+t.brand+"; }\n#okta-sign-in.auth-container .button-primary:hover { background: "+e.lighten(t.brand,.05)+"; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n  background: "+t.brand+";\n  opacity: 0.5;\n}\n    "};return e.lighten=function(t,e){e=e||0,t=t.substr(1);for(var n="#",r=0;r<3;r++){var i=parseInt(t.substr(2*r,2),16);i=Math.round(Math.min(Math.max(0,i+i*e),255)).toString(16),n+=("00"+i).substr(i.length)}return n},e.addStyle=function(e){var r=n(e),i=document.getElementById(t.WIDGET_CONTAINER_ID),o=document.createElement("style");o.id=t.WIDGET_CONFIG_COLORS_ID,o.type="text/css",o.appendChild(document.createTextNode(r)),i.appendChild(o)},e.isLoaded=function(){return!!document.getElementById(t.WIDGET_CONFIG_COLORS_ID)},e}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(241),n(19)],void 0!==(i=function(t,e,n,r){return e.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(t){return t.activate({passCode:this.get("passCode")})})}}},Form:n,Footer:r})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(3),n(5),n(23),n(592),n(14)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t._;return n.extend({className:"enroll-manual-totp",Model:function(){return{local:{sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var n=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[n])},subtitle:a.partial(t.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this.settings.get("brandName")?t.loc("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):t.loc("enroll.totp.manualSetupInstructions.generic","login");return[r.View({View:t.View.extend({template:'                <p class="okta-form-subtitle o-form-explain text-align-c">                  {{instructions}}                </p>              ',getTemplateData:function(){return{instructions:e}}})}),r.Input({name:"sharedSecret",input:s,type:"text",disabled:!0}),r.Toolbar({noCancelButton:!0,save:t.loc("oform.next","login")})]}},Footer:o,initialize:function(){this.listenTo(this.form,"save",function(){var t=i.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",t)})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(23),n(8)],void 0!==(i=function(t,e,n){return t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="mfa.backToFactors" bundle="login"}}      </a>      <a href="#" class="link help goto js-goto" data-se="goto-link">        {{i18n code="mfa.scanBarcode" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()},"click .js-goto":function(t){t.preventDefault(),this.model.startTransaction(function(t){return t.tx.resume()})}},back:function(){this.state.set("navigateDir",n.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(t){return t.prev()}):this.options.appState.trigger("navigate","signin/enroll")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(165),n(18),n(3),n(5),n(23),n(594),n(235),n(14)],void 0!==(i=function(t,e,n,r,i,o,s,a,u){function l(t,e){var n=o.createActivateFactorUrl(t.options.appState.get("activatedFactorProvider"),t.options.appState.get("activatedFactorType"),e);t.options.appState.trigger("navigate",n)}function c(t){var e,n;"SMS"===t.model.get("activationType")&&(n=t.model.get("countryCode"),e=t.model.get("phoneNumber")),t.options.appState.set({factorActivationType:t.model.get("activationType"),userCountryCode:n,userPhoneNumber:e})}function f(t,e){return t.model.doTransaction(function(n){return n.prev().then(function(t){return p.findWhere(t.factors,{factorType:e,provider:"OKTA"}).enroll()}).then(function(e){var n,r,i,o=e.data;if(o&&o._embedded&&o._embedded.factor&&o._embedded.factor._embedded&&o._embedded.factor._embedded.activation){var s=o._embedded.factor;if(i=s._embedded.activation.sharedSecret,s._embedded.activation._links&&s._embedded.activation._links.send){var a=s._embedded.activation._links.send,u=p.findWhere(a,{name:"sms"});n=u?u.href:null;var l=p.findWhere(a,{name:"email"});r=l?l.href:null}}return t.model.set({SMS:n,EMAIL:r,sharedSecret:i}),e})})}var p=t._;return r.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,"US"],phoneNumber:"string",SMS:["string",!1,this.options.appState.get("textActivationLinkUrl")],EMAIL:["string",!1,this.options.appState.get("emailActivationLinkUrl")],sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(t){return"+"+e.getCallingCodeForCountry(t)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(t,e){return t+e}}}}},Form:{title:function(){var e=n.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[e])},subtitle:p.partial(t.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var n=this.settings.get("brandName")?t.loc("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):t.loc("enroll.totp.sharedSecretInstructions.generic","login");return[i.Input({name:"activationType",type:"select",wide:!0,options:{SMS:t.loc("enroll.totp.sendSms","login"),EMAIL:t.loc("enroll.totp.sendEmail","login"),MANUAL:t.loc("enroll.totp.setupManually","login")}}),i.Input({name:"countryCode",type:"select",wide:!0,options:e.getCountries(),showWhen:{activationType:"SMS"}}),i.Input({label:t.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:a,type:"text",showWhen:{activationType:"SMS"}}),i.View({View:t.View.extend({template:'                <p class="okta-form-subtitle o-form-explain text-align-c">                  {{instructions}}                </p>              ',getTemplateData:function(){return{instructions:n}}}),showWhen:{activationType:"MANUAL"}}),i.Input({name:"sharedSecret",input:u,type:"text",disabled:!0,showWhen:{activationType:"MANUAL"},initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)}}),i.View({View:'<div data-type="next-button-wrap"></div>',showWhen:{activationType:"MANUAL"}}),i.Button({title:t.loc("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:p.bind(function(){c(this),l(this,"passcode")},this)},'[data-type="next-button-wrap"]'),i.Toolbar({noCancelButton:!0,save:t.loc("oform.send","login"),showWhen:{activationType:function(t){return"SMS"===t||"EMAIL"===t}}})]}},Footer:s,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",function(){var t=this;this.model.doTransaction(function(e){var n=this.get("activationType").toLowerCase(),r={};return"sms"===n&&(r.profile={phoneNumber:this.get("fullPhoneNumber")}),e.factor.activation.send(n,r).then(function(e){return c(t),p.defer(function(){l(t,"sent")}),e})})}),this.listenTo(this.model,"change:activationType",function(t,e){this.form.clearErrors(),"MANUAL"===e&&"token:software:totp"!==this.options.appState.get("activatedFactorType")?f(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&f(this,"push")})},setInitialModel:function(){"SMS"===this.options.appState.get("factorActivationType")&&this.model.set({countryCode:this.options.appState.get("userCountryCode")||"US",phoneNumber:this.options.appState.get("userPhoneNumber")})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate")||this.options.appState.get("isMfaEnroll"))return!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(23)],void 0!==(i=function(t,e){function n(t){var n=e.createActivateFactorUrl(t.get("activatedFactorProvider"),t.get("activatedFactorType"));t.trigger("navigate",n)}var r=t._;return t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="mfa.backToFactors" bundle="login"}}      </a>      <a href="#" class="link help goto js-goto" data-se="goto-link">        {{i18n code="mfa.scanBarcode" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()},"click .js-goto":function(t){t.preventDefault();var e=r.partial(n,this.options.appState);this.options.appState.unset("factorActivationType"),"push"!==this.options.appState.get("activatedFactorType")?this.model.doTransaction(function(t){return t.prev().then(function(t){return r.findWhere(t.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(e):this.model.startTransaction(function(t){return t.tx.resume()}).then(function(){setTimeout(e)})}},back:function(){var t=this;t.options.appState.unset("factorActivationType"),t.options.appState.get("prevLink")?this.model.doTransaction(function(t){return t.prev()}).then(function(){t.options.appState.trigger("navigate","signin/enroll")}):t.options.appState.trigger("navigate","signin/enroll")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(165),n(3),n(5),n(23)],void 0!==(i=function(t,e,n,r,i){var o=t._,s=t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="oform.back" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()}},back:function(){var t=i.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",t)}}),a={title:o.partial(t.loc,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[r.View({View:t.View.extend({template:'            <p>{{i18n code="enroll.totp.enrollViaEmail.msg" bundle="login"}}</p>            <p class="email-address">{{email}}</p>          ',getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},u={title:o.partial(t.loc,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[r.View({View:t.View.extend({template:'            <p>{{i18n code="enroll.totp.enrollViaSms.msg" bundle="login"}}</p>            <p class="phone-number">{{phoneNumber}}</p>          ',getTemplateData:function(){return{phoneNumber:this.model.get("fullPhoneNumber")}}})})]};return n.extend({className:"enroll-activation-link-sent",Model:function(){return{local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:["string",!1,this.options.appState.get("userPhoneNumber")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(t){return"+"+e.getCallingCodeForCountry(t)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(t,e){return t+e}}}}},Form:function(){var t=this.options.appState.get("factorActivationType");switch(t){case"SMS":return u;case"EMAIL":return a;default:throw new Error("Unknown activation option: "+t)}},Footer:s,initialize:function(){this.pollForEnrollment()},remove:function(){return n.prototype.remove.apply(this,arguments)},pollForEnrollment:function(){return this.model.doTransaction(function(t){return t.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isWaitingForActivation"))return this.pollForEnrollment(),!0}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(23),n(241)],void 0!==(i=function(t,e,n,r){var i=t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="oform.back" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()}},back:function(){var t=n.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",t)}});return e.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(t){return t.activate({passCode:this.get("passCode")})})}}},Form:r,Footer:i})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(8),n(5),n(90),n(18),n(17),n(242),n(14)],void 0!==(i=function(t,e,n,r,i,o,s,a,u){var l=t._;return e.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return i.validatePasswordMatch(this)},save:function(){return this.trigger("save"),this.doTransaction(function(t){return t.changePassword({oldPassword:this.get("oldPassword"),newPassword:this.get("newPassword")})})}},Form:{save:l.partial(t.loc,"password.expired.submit","login"),title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return e&&n>0?t.loc("password.expiring.title","login",[n]):e&&0===n?t.loc("password.expiring.today","login"):e?t.loc("password.expiring.soon","login"):this.settings.get("brandName")?t.loc("password.expired.title.specific","login",[this.settings.get("brandName")]):t.loc("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?t.loc("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):t.loc("password.expiring.subtitle.generic","login");var e=this.options.appState.get("policy");if(e)return o.getPasswordComplexityDescription(e)},formChildren:function(){return[r.Input({"label-top":!0,label:t.loc("password.oldPassword.placeholder","login"),explain:s.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:u,type:"password"}),r.Divider(),r.Input({className:"margin-btm-5","label-top":!0,label:t.loc("password.newPassword.placeholder","login"),explain:s.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:u,type:"password"}),r.Input({"label-top":!0,label:t.loc("password.confirmPassword.placeholder","login"),explain:s.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:u,type:"password"})]}},Footer:a,initialize:function(){this.listenTo(this.form,"save",function(){var t={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(t).then(l.bind(this.model.save,this.model))})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(242)],void 0!==(i=function(t,e,n,r){var i=t._,o=t.internal.util.Util;return e.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return e&&n>0?t.loc("password.expiring.title","login",[n]):e&&0===n?t.loc("password.expiring.today","login"):e?t.loc("password.expiring.soon","login"):this.settings.get("brandName")?t.loc("password.expired.title.specific","login",[this.settings.get("brandName")]):t.loc("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon")){return(this.settings.get("brandName")?t.loc("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):t.loc("password.expiring.subtitle.generic","login"))+" "+t.loc("password.expired.custom.subtitle","login")}return t.loc("password.expired.custom.subtitle","login")},formChildren:function(){return[n.Button({title:i.partial(t.loc,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){o.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:r})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(8),n(5),n(90),n(17),n(243),n(14)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t._,l=t.View.extend({template:'      {{#unless hideBackToSignInForReset}}        <a href="#" class="link help js-back" data-se="back-link">          {{i18n code="goback" bundle="login"}}        </a>      {{/unless}}      {{#if helpSupportNumber}}      <a href="#" class="link goto js-contact-support">        {{i18n code="mfa.noAccessToEmail" bundle="login"}}      </a>      {{/if}}    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()},"click .js-contact-support":function(t){t.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return{hideBackToSignInForReset:this.settings.get("features.hideBackToSignInForReset"),helpSupportNumber:this.settings.get("helpSupportNumber")}},back:function(){this.state.set("navigateDir",n.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return e.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return i.validateUsername(this)},save:function(){var t=this,e=this.settings.get("relayState");this.startTransaction(function(r){return r.forgotPassword({username:t.settings.transformUsername(t.get("username"),n.FORGOT_PASSWORD),factorType:t.get("factorType"),relayState:e})}).fail(function(){})}},Form:{noButtonBar:!0,title:u.partial(t.loc,"password.reset","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),i=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(e||i||s),l=[];return u?this.add('<div class="okta-form-infobox-error infobox infobox-error" role="alert">    <span class="icon error-16"></span>    <p>{{i18n code="password.forgot.noFactorsEnabled" bundle="login"}}</p>  </div>',".o-form-error-container"):(l.push(r.Input({label:t.loc("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:o.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:a,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||i)&&l.push(r.View({View:t.View.extend({template:'                  <p class="mobile-recovery-hint">                    {{i18n code="recovery.mobile.hint" bundle="login" arguments="mobileFactors"}}                  </p>',getTemplateData:function(){var n;return n=e&&i?t.loc("recovery.smsOrCall"):i?t.loc("recovery.call"):t.loc("recovery.sms"),{mobileFactors:n}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),l.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",n.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),i&&(this.$el.addClass("forgot-password-call-enabled"),l.push(this.createRecoveryFactorButton("call-button","password.forgot.call",n.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_CALL)),s&&(this.$el.addClass("forgot-password-email-enabled"),l.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),l},initialize:function(){this.listenTo(this.state,"contactSupport",function(){this.add(s,".o-form-error-container")}),this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()})},setDefaultFactorType:function(t){u.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",t)},createRecoveryFactorButton:function(e,n,i,o){return r.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:t.loc(n,"login"),click:function(){o.clearErrors(),this.model.isValid()&&(this.model.set("factorType",i),o.trigger("save",this.model))}})}},Footer:l,initialize:function(){this.options.appState.unset("username")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(8),n(48),n(14)],void 0!==(i=function(t,e,n,r,i,o){var s=t._;return e.extend({className:"recovery-challenge",Model:{props:{passCode:["string",!0]},local:{ableToResend:"boolean"},resendCode:function(){return this.limitResending(),this.doTransaction(function(t){return t.resend()})},limitResending:function(){this.set({ableToResend:!1}),s.delay(s.bind(this.set,this),3e4,{ableToResend:!0})},save:function(){return this.doTransaction(function(t){return t.verify({passCode:this.get("passCode")})})}},Form:{autoSave:!0,save:s.partial(t.loc,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===r.RECOVERY_FACTOR_TYPE_CALL?t.loc("recoveryChallenge.call.title","login"):t.loc("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",function(){this.clearErrors()})},formChildren:function(){return[n.Button({title:t.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,n){n?(this.options.title=t.loc("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=t.loc("mfa.sent","login"),this.disable(),this.render())})}}),n.Input({label:t.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:o,type:"text"})]}},events:{"click .send-email-link":function(t){t.preventDefault();var e=this.model.settings,n=this.options.appState.get("username"),i=this.options.appState.get("recoveryType");this.model.startTransaction(function(t){switch(i){case r.RECOVERY_TYPE_PASSWORD:return t.forgotPassword({username:e.transformUsername(n,r.FORGOT_PASSWORD),factorType:r.RECOVERY_FACTOR_TYPE_EMAIL});case r.RECOVERY_TYPE_UNLOCK:return t.unlockAccount({username:e.transformUsername(n,r.UNLOCK_ACCOUNT),factorType:r.RECOVERY_FACTOR_TYPE_EMAIL});default:return}})}},initialize:function(){var e,n=this.options.appState.get("recoveryType");switch(n){case r.RECOVERY_TYPE_PASSWORD:e='          <a href="#" class="link send-email-link" data-se="send-email-link">            {{i18n code="password.forgot.code.notReceived" bundle="login"}}          </a>';break;case r.RECOVERY_TYPE_UNLOCK:e='          <a href="#" class="link send-email-link" data-se="send-email-link">            {{i18n code="account.unlock.code.notReceived" bundle="login"}}          </a>'}e&&this.settings.get("features.emailRecovery")&&this.add(e),this.settings.get("features.hideBackToSignInForReset")||this.add(new i(s.extend(this.toJSON(),{linkText:t.loc("goback","login"),linkClassName:""})))},postRender:function(){this.model.limitResending()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8),n(3),n(5)],void 0!==(i=function(t,e,n,r){var i=t._;return n.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.partial(t.loc,"password.forgot.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return t.loc("password.forgot.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){var n=[r.View({View:t.View.extend({template:'              <span class="accessibility-text" role="status">{{alert}}</span>              ',getTemplateData:function(){return{alert:t.loc("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||n.push(r.Button({title:t.loc("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){var t=this;return this.model.doTransaction(function(t){return t.cancel()}).then(function(){t.state.set("navigateDir",e.DIRECTION_BACK),t.options.appState.trigger("navigate","")})}})),n}},initialize:function(t){this.settings.callGlobalSuccess(e.FORGOT_PASSWORD_EMAIL_SENT,{username:t.appState.get("username")})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(48),n(14)],void 0!==(i=function(t,e,n,r,i){return e.extend({className:"recovery-question",Model:{props:{answer:["string",!0],showAnswer:"boolean"},save:function(){return this.doTransaction(function(t){return t.answer({answer:this.get("answer")})})}},Form:{autoSave:!0,save:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return t.loc("password.forgot.question.submit","login");case"UNLOCK":return t.loc("account.unlock.question.submit","login");default:return t.loc("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return t.loc("password.forgot.question.title","login");case"UNLOCK":return t.loc("account.unlock.question.title","login");default:return""}},formChildren:function(){return[n.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:t.loc("mfa.challenge.answer.placeholder","login"),name:"answer",input:i,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",function(){var t=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(t)})}}),n.Input({label:!1,"label-top":!0,placeholder:t.loc("mfa.challenge.answer.showAnswer","login"),className:"recovery-question-show margin-btm-0",name:"showAnswer",type:"checkbox"})]}},initialize:function(){this.settings.get("features.hideBackToSignInForReset")||this.addFooter(r,{linkText:t.loc("goback","login"),linkClassName:""})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(90),n(18),n(17),n(48),n(14)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t._;return e.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return r.validatePasswordMatch(this)},save:function(){this.trigger("save");var t=this;return this.doTransaction(function(e){return e.resetPassword({newPassword:t.get("newPassword")})})}},Form:{save:u.partial(t.loc,"password.reset","login"),title:function(){return this.settings.get("brandName")?t.loc("password.reset.title.specific","login",[this.settings.get("brandName")]):t.loc("password.reset.title.generic","login")},subtitle:function(){var t=this.options.appState.get("policy");if(t)return i.getPasswordComplexityDescription(t)},formChildren:function(){return[n.Input({className:"margin-btm-5",label:t.loc("password.newPassword.placeholder","login"),"label-top":!0,explain:o.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:a,type:"password"}),n.Input({label:t.loc("password.confirmPassword.placeholder","login"),"label-top":!0,explain:o.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:a,type:"password"})]}},initialize:function(){this.listenTo(this.form,"save",function(){var t={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(t).then(u.bind(this.model.save,this.model))}),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(s)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3)],void 0!==(i=function(t,e){return e.extend({className:"recovery-loading",Model:{},Form:{noButtonBar:!0},initialize:function(t){var e=this;return this.model.startTransaction(function(e){return e.verifyRecoveryToken({recoveryToken:t.token})}).fail(function(){e.options.appState.trigger("loading",!1),e.options.appState.trigger("removeLoading")})},preRender:function(){this.options.appState.trigger("loading",!0)},trapAuthResponse:function(){return this.options.appState.trigger("loading",!1),!1}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(8),n(5),n(17),n(90),n(243),n(14)],void 0!==(i=function(t,e,n,r,i,o,s,a){var u=t._,l=t.View.extend({template:'      <a href="#" class="link help js-back" data-se="back-link">        {{i18n code="goback" bundle="login"}}      </a>      {{#if helpSupportNumber}}      <a href="#" class="link goto js-contact-support">        {{i18n code="mfa.noAccessToEmail" bundle="login"}}      </a>      {{/if}}    ',className:"auth-footer",events:{"click .js-back":function(t){t.preventDefault(),this.back()},"click .js-contact-support":function(t){t.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return this.settings.pick("helpSupportNumber")},back:function(){this.state.set("navigateDir",n.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return e.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return o.validateUsername(this)},save:function(){var t=this;return this.startTransaction(function(e){return e.unlockAccount({username:t.settings.transformUsername(t.get("username"),n.UNLOCK_ACCOUNT),factorType:t.get("factorType")})}).fail(function(){})}},Form:{noButtonBar:!0,title:u.partial(t.loc,"account.unlock.title","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),o=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(e||o||s),l=[],c=this;return u?this.add('<div class="okta-form-infobox-error infobox infobox-error" role="alert">    <span class="icon error-16"></span>    <p>{{i18n code="account.unlock.noFactorsEnabled" bundle="login"}}</p>  </div>',".o-form-error-container"):(l.push(r.Input({label:t.loc("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:i.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:a,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||o)&&l.push(r.View({View:t.View.extend({template:'                  <p class="mobile-recovery-hint">                    {{i18n code="recovery.mobile.hint" bundle="login" arguments="mobileFactors"}}                  </p>',getTemplateData:function(){var n;return n=e&&o?t.loc("recovery.smsOrCall"):o?t.loc("recovery.call"):t.loc("recovery.sms"),{mobileFactors:n}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),l.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",n.RECOVERY_FACTOR_TYPE_SMS,c)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),o&&(this.$el.addClass("forgot-password-call-enabled"),l.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",n.RECOVERY_FACTOR_TYPE_CALL,c)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_CALL)),s&&(this.$el.addClass("forgot-password-email-enabled"),l.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,c)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),l},initialize:function(){this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()}),this.listenTo(this.state,"contactSupport",function(){this.add(s,".o-form-error-container")})},setDefaultFactorType:function(t){u.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",t)},createRecoveryFactorButton:function(e,n,i,o){return r.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:t.loc(n,"login"),click:function(){o.clearErrors(),this.model.isValid()&&(this.model.set("factorType",i),o.trigger("save",this.model))}})}},Footer:l})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8),n(3),n(5)],void 0!==(i=function(t,e,n,r){var i=t._;return n.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.partial(t.loc,"account.unlock.unlocked.title","login"),subtitle:i.partial(t.loc,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[r.Button({title:t.loc("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",e.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8),n(3),n(5)],void 0!==(i=function(t,e,n,r){var i=t._;return n.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.partial(t.loc,"account.unlock.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return t.loc("account.unlock.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[r.Button({title:t.loc("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",e.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(t){this.settings.callGlobalSuccess(e.UNLOCK_ACCOUNT_EMAIL_SENT,{username:t.appState.get("username")})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3)],void 0!==(i=function(t,e){return e.extend({className:"refresh-auth-state",Model:{},Form:{noButtonBar:!0},preRender:function(){var t=this.options.token,e=this.options.appState;this.model.startTransaction(function(n){return t?(e.trigger("loading",!0),n.tx.resume({stateToken:t})):n.tx.exists()?(e.trigger("loading",!0),n.tx.resume()):void e.trigger("navigate","")})},remove:function(){return this.options.appState.trigger("loading",!1),e.prototype.remove.apply(this,arguments)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(610),n(611),n(79),n(8),n(244),n(612),n(36),n(17)],void 0!==(i=function(t,e,n,r,i,o,s,a,u){var l=t._,c=t.Backbone,f=t.View.extend({template:'      <a href="#" class="link help" data-se="back-link">        {{i18n code="goback" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .help":function(t){t.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return r.extend({className:"registration",initialize:function(){var t=e.extend({settings:this.options.settings,url:this.options.settings.get("baseUrl")+"/api/v1/registration/form"}),n=new t;this.state.set("schema",n)},getRegistrationApiUrl:function(){var t=this.settings.get("defaultPolicyId"),e=this.options.settings.get("policyId");return t?this.getRegistrationPolicyApi(t):this.getRegistrationPolicyApi(e)},getRegistrationPolicyApi:function(t){return this.options.settings.get("baseUrl")+"/api/v1/registration/"+t},doPostSubmit:function(){if(this.model.get("activationToken")){var t=this;t.settings.callGlobalSuccess(i.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")});new n({settings:t.model.appState.settings}).loginWithActivationToken(this.model.get("activationToken")).then(function(e){t.model.trigger("setTransaction",e)})}else this.model.appState.set("username",this.model.get("email")),this.model.appState.trigger("navigate","signin/register-complete")},registerUser:function(t){var e=this;this.model.attributes=t,c.Model.prototype.save.call(this.model).then(function(){var t=e.model.get("activationToken"),n=t||e.model.get("email");e.settings.postSubmit(n,function(){e.doPostSubmit()},function(t){e.showErrors(t)})}).fail(function(t){var n=t.responseJSON;if(n&&n.errorCauses.length){var r=n.errorCauses[0].errorSummary;u.triggerAfterError(e,new a.RegistrationError(r))}})},createRegistrationModel:function(e){var n=this;return new(t.Model.extend({url:n.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:e,local:{activationToken:"string"},toJSON:function(){return{userProfile:t.Model.prototype.toJSON.apply(this,arguments),relayState:this.settings.get("relayState")}},parse:function(t){return this.set("activationToken",t.activationToken),delete t.activationToken,t},save:function(){this.settings.preSubmit(this.attributes,function(t){n.registerUser(t)},function(t){n.showErrors(t)})}}))},showErrors:function(t,e){"parseSchema"===t.callback&&t.errorCauses&&(t.errorSummary=l.clone(t.errorCauses[0].errorSummary),delete t.errorCauses),this.model.trigger("error",this.model,{responseJSON:t});var n=t.callback?t.callback+":"+t.errorSummary:t.errorSummary;u.triggerAfterError(this,new a.RegistrationError(n)),e&&this.$el.find(".button-primary").hide()},fetchInitialData:function(){var e=this;return e.state.get("schema").on("parseComplete",function(n){var r=n.properties.createModelProperties();e.settings.set("defaultPolicyId",n.properties.defaultPolicyId),e.model=e.createRegistrationModel(r);var i=t.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:t.loc("registration.form.title","login"),save:t.loc("registration.form.submit","login")}),a=new i(e.toJSON());if(e.add(a),e.footer=new e.Footer(e.toJSON()),e.add(e.footer),e.addListeners(),n.error)e.showErrors(n.error,!0);else{n.properties.each(function(t){var e=o.createInputOptions(t),n=t.get("subSchemas"),r=t.get("name");a.addInput(e),"password"===r&&n&&a.add(s.extend({id:"subschemas-"+r,subSchemas:n}))});var u=t.tpl('<span class="required-fields-label">{{label}}</span>')({label:t.loc("registration.required.fields.label","login")});a.add(u)}}),this.state.get("schema").fetch()},Footer:f})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t._,n=t.internal.models,r=n.BaseSchema,i=n.SchemaProperty,o=i.Collection.extend({createModelProperties:function(){var t=i.Collection.prototype.createModelProperties.apply(this);return e.each(t,function(t,e){t.required=!!this.get(e).get("required")},this),t}});return r.Model.extend({expand:["schema"],constructor:function(){this.properties=new o,t.BaseModel.apply(this,arguments)},parse:function(t){var n=e.bind(function(t){var n=t.schema.required;e.isArray(n)&&e.each(n,function(t){var e=this.properties.get(t);e&&e.set("required",!0)},this);var r=t.schema.fieldOrder;return e.isArray(r)&&(e.each(r,function(t,e){var n=this.properties.get(t);n&&n.set("sortOrder",e)},this),this.properties.comparator="sortOrder",this.properties.sort()),this.properties.defaultPolicyId=t.policyId,t},this),i=this;this.settings.parseSchema(t,function(t){t.profileSchema&&(t.schema=t.profileSchema,r.Model.prototype.parse.apply(i,[t]),t=n(t)),i.trigger("parseComplete",{properties:i.properties})},function(t){i.trigger("parseComplete",{properties:i.properties,error:t})})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(89)],void 0!==(i=function(t,e){return e.extend({constructor:function(e){this.settings=e&&e.settings,t.Model.apply(this,arguments)},loginWithActivationToken:function(t){return this.startTransaction(function(e){return e.signIn({token:t})})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:'      <p class="default-schema">        <span class="icon icon-16"/>        {{message}}      </p>    ',getTemplateData:function(){return{message:this.message}}});return t.View.extend({className:"subschema",children:function(){return this.subSchemas.map(function(t,n){var r=t.get("description"),i=r;return e.extend({index:n,message:i})})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8),n(3),n(5)],void 0!==(i=function(t,e,n,r){return n.extend({events:{"click .back-btn":function(t){t.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",e.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(e.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})},Form:{noButtonBar:!0,formChildren:function(){return[r.View({View:t.View.extend({template:'              <span class="title-icon icon icon-16 confirm-16-green"></span>              <h2>{{title}}</h2>              <span>{{desc}}</span>              <a href="#" class="button button-primary button-wide back-btn" data-se="back-link">                {{i18n code="goback" bundle="login"}}              </a>              ',getTemplateData:function(){var e=this.options.appState.get("username");return{desc:t.loc("registration.complete.desc","login",[e]),title:t.loc("registration.complete.title","login")}}})})]}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(3),n(5),n(615)],void 0!==(i=function(t,e,n,r){var i=t._;return e.extend({className:"consent-required",initialize:function(){this.model.set("expiresAt",this.options.appState.get("expiresAt")),this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",i.bind(this.model.cancel,this.model))},Model:{props:{expiresAt:["string",!0],scopes:["array",!0]},save:function(){return this.doTransaction(function(t){return t.consent({consent:{expiresAt:this.get("expiresAt"),scopes:i.pluck(this.get("scopes"),"name")}})})},cancel:function(){var t=this;return this.doTransaction(function(t){return t.cancel()}).then(function(){var e=t.settings.get("consent.cancel");i.isFunction(e)&&e()})}},Form:{noCancelButton:!1,autoSave:!0,save:t.loc("consent.required.consentButton","login"),cancel:t.loc("consent.required.cancelButton","login"),formChildren:function(){var e=this.options.appState;return[n.View({View:t.View.extend({className:"consent-title",template:'                <p>{{{i18n code="consent.required.text" bundle="login" arguments="appName;userConsentName"}}}</p>              ',getTemplateData:function(){return{appName:e.escape("targetLabel"),userConsentName:e.escape("userConsentName")}}})}),n.View({View:new r({model:this.model})}),n.View({View:t.View.extend({className:"consent-description",template:'                <p>{{i18n code="consent.required.description" bundle="login"}}</p>                {{#if termsOfService}}                  <a class="terms-of-service" href="{{termsOfService}}" target="_blank">{{i18n code="consent.required.termsOfService" bundle="login"}}</a>                  {{#if privacyPolicy}}                    &#8226                  {{/if}}                {{/if}}                {{#if privacyPolicy}}                  <a class="privacy-policy" href="{{privacyPolicy}}" target="_blank">{{i18n code="consent.required.privacyPolicy" bundle="login"}}</a>                {{/if}}              ',getTemplateData:function(){return{termsOfService:e.get("targetTermsOfService")&&e.get("targetTermsOfService").href,privacyPolicy:e.get("targetPrivacyPolicy")&&e.get("targetPrivacyPolicy").href}}})})]}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(616)],void 0!==(i=function(t,e){return t.View.extend({className:"scope-list",template:'      <div class="scope-list-wrapper" />    ',postRender:function(){var t=this;this.model.get("scopes").forEach(function(n){var r=new e({name:n.displayName||n.name,description:n.description});t.$(".scope-list-wrapper").append(r.$el)})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(159)],void 0!==(i=function(t){return t.View.extend({className:"scope-item",template:'      <div class="scope-item-text">        <p>{{name}}</p>      </div>      {{#if description}}        <span class="scope-item-tooltip icon info-16-gray" />      {{/if}}    ',initialize:function(){this.render()},postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:this.options.description},style:{classes:"okta-sign-in-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(618),n(79),n(619),n(621)],void 0!==(i=function(t,e,n,r,i){return n.extend({className:"enroll-user",initialize:function(t){this.options=t||{},this.model=new e(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():n.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){var t=new r(this.toJSON());this.add(t),this.add(new i(this.toJSON())),this.addListeners()}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(89)],void 0!==(i=function(t,e){var n=t._;return e.extend({initialize:function(t){this.options=t||{},this.appState=this.options.appState},constructPostData:function(t){var e={registration:{profile:t}};return this.appState.get("policy").registration.createNewAccount&&(e.registration.createNewAccount=!0),e},getEnrollFormData:function(){return this.manageTransaction(function(t,e){return t.enroll().then(function(t){e(t)})})},save:function(){var r=e.prototype.toJSON.apply(this,arguments);if(r=n.omit(r,["appState","settings","createNewAccount"]),!n.isEmpty(r))return this.manageTransaction(function(t,e){t.enroll(this.constructPostData(r)).then(function(t){e(t)})});var i={errorSummary:t.loc("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:i})}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(244),n(620)],void 0!==(i=function(t,e,n){return t.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:t.loc("registration.form.title","login"),save:t.loc("registration.form.submit","login"),initialize:function(r){var i=this;this.options=r||{},this.schema=new n({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each(function(t){var n=e.createInputOptions(t);i.addInput(n)});var o=t.tpl('<span class="required-fields-label">{{label}}</span>')({label:t.loc("registration.required.fields.label","login")});this.add(o)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){var e=t._;return t.internal.models.BaseSchema.Model.extend({expand:["schema"],setFieldPlaceholder:function(t){return e.each(t,function(t){t.title=t.label}),t},initialize:function(t){var e=t.profileSchemaAttributes;if(e=this.setFieldPlaceholder(e)){for(var n={properties:{}},r=0;r<e.length;r++){var i=e[r];n.properties[i.name]=i}this.parse.apply(this,[{schema:n}])}}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(8)],void 0!==(i=function(t,e){return t.View.extend({template:'      <a href="#" class="link help" data-se="back-link">        {{i18n code="goback" bundle="login"}}      </a>    ',className:"auth-footer",events:{"click .help":function(t){t.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",e.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(12),n(18),n(623),n(169)],void 0!==(i=function(t,e,n,r,i){return t.View.extend({template:'      <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 {{className}}" 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>    ',events:{"click .auth-beacon-factor":function(t){t.preventDefault(),t.stopPropagation();var e=this.$(".dropdown .options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",e),e&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},initialize:function(){this.options.appState.set("beaconType","factor")},getTemplateData:function(){var t,e,r=this.options.appState.get("factors");return t=r?n.findFactorInFactorsArray(r,this.options.provider,this.options.factorType):new i.Model(this.options.appState.get("factor"),this.toJSON()),e=t.get("iconClassName"),{className:e||""}},postRender:function(){this.options.animate&&this.$(".auth-beacon-factor").fadeIn(200),this.options.appState.get("hasMultipleFactorsAvailable")&&this.add(r,'[data-type="factor-types-dropdown"]')},fadeOut:function(){var t=e.defer();return this.$(".auth-beacon-factor").fadeOut(200,function(){t.resolve()}),t.promise},equals:function(t,e){return t&&this instanceof t&&e.provider===this.options.provider&&(e.factorType===this.options.factorType||n.isOktaVerify(e.provider,e.factorType)&&n.isOktaVerify(this.options.provider,this.options.factorType))}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(169),n(624)],void 0!==(i=function(t,e,n,r){var i=t._,o=t.$,s=t.internal.views.components.BaseDropDown;return o(document).click(function(t){var e=o(t.target);e.closest(".option-selected").length>0&&e.closest(".dropdown").length>0||(o(".dropdown .options").hide(),o(".dropdown a.option-selected").attr("aria-expanded",!1))}),s.extend({className:"bg-helper icon-button",screenReaderText:function(){var r,i,o=this.options.appState.get("factors");return r=o?e.findFactorInFactorsArray(o,this.options.provider,this.options.factorType):new n.Model(this.options.appState.get("factor"),this.toJSON()),i=r.get("factorLabel"),t.loc("mfa.factors.dropdown.sr.text","login",[i])},events:{"click a.option-selected":function(t){if(t.preventDefault(),i.result(this,"disabled"))t.stopPropagation();else{var e=this.$(".options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",e),e&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},"click .dropdown-disabled":function(t){t.preventDefault(),t.stopPropagation()}},initialize:function(){this.addOption(r.getDropdownOption("TITLE"));var t=this.options.appState.get("factors"),e=t.hasMultipleFactorsOfSameType("push");t.each(function(t){"token:software:totp"===t.get("factorType")&&e||(this.addOption(r.getDropdownOption(t.get("factorName")),{model:t}),this.listenTo(this.last(),"options:toggle",function(){this.$(".options").hide(),this.$("a.option-selected").attr("aria-expanded",!1)}))},this)}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(23)],void 0!==(i=function(t,e){var n=t._,r=t.Handlebars.compile("{{factorName}} ({{{deviceName}}})"),i=function(t){var n,r=t.get("factorType"),i=this.options.appState.get("factors");i.hasMultipleFactorsOfSameType(r)&&(n=i.getFactorIndex(r,t.get("id")));var o=e.createVerifyUrl(t.get("provider"),r,n),s=this;this.options.appState.trigger("factorSwitched"),this.model.manageTransaction(function(t,e){if("FACTOR_CHALLENGE"===t.status&&this.options.appState.set("trapMfaRequiredResponse",!0),"MFA_CHALLENGE"===t.status&&t.prev)return this.options.appState.set("trapMfaRequiredResponse",!0),t.prev().then(function(t){s.trigger("options:toggle"),e(t),s.options.appState.trigger("navigate",o)});s.trigger("options:toggle"),s.options.appState.trigger("navigate",o)})},o={TITLE:{title:n.partial(t.loc,"mfa.factors.dropdown.title","login"),className:"dropdown-list-title",disabled:!0},OKTA_VERIFY:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return r({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){i.call(this,this.model)}},GOOGLE_AUTH:{icon:"factor-icon mfa-google-auth-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:n.partial(t.loc,"factor.totpHard.rsaSecurId","login"),action:function(){i.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:n.partial(t.loc,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:n.partial(t.loc,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:n.partial(t.loc,"mfa.duoSecurity.call","login",["XXX-XXX-7890"])},YUBIKEY:{icon:"factor-icon mfa-yubikey-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},WINDOWS_HELLO:{icon:"factor-icon mfa-windows-hello-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},GENERIC_SAML:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},GENERIC_OIDC:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},CUSTOM_CLAIMS:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}}};return{getDropdownOption:function(t){return o[t]}}}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1)],void 0!==(i=function(t){return t.View.extend({className:"consent-beacon",template:'      <div class="logo-wrapper consent-beacon-user">        <div class="consent-beacon-border">          <span class="user-logo icon person-16-gray" />        </div>      </div>      <div class="arrows-wrapper">        <div class="arrow-left">          <span class="arrow icon arrow-right-16" />        </div>        <div class="arrow-right">          <span class="arrow icon arrow-left-16" />        </div>      </div>      <div class="logo-wrapper consent-beacon-client">        {{#if clientURI}}          <a href="{{clientURI}}" class="client-logo-link" target="_blank">        {{/if}}        <div class="consent-beacon-border"/>        {{#if clientURI}}          </a>        {{/if}}        {{#if customLogo}}          <img class="client-logo custom-logo" src="{{customLogo}}" />        {{else}}          <img class="client-logo default-logo" src="{{defaultLogo}}" />        {{/if}}      </div>    ',getTemplateData:function(){return{customLogo:this.options.appState.get("targetLogo")&&this.options.appState.get("targetLogo").href,defaultLogo:this.options.appState.get("defaultAppLogo"),clientURI:this.options.appState.get("targetClientURI")&&this.options.appState.get("targetClientURI").href}},equals:function(t){return t&&this instanceof t}})}.apply(e,r))&&(t.exports=i)},function(t,e,n){"use strict";var r,i;r=[n(1),n(18),n(3),n(5),n(23),n(166),n(19)],void 0!==(i=function(t,e,n,r,i,o,s){var a=t._;return n.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var n=e.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t.loc("enroll.totp.title","login",[n])},subtitle:a.partial(t.loc,"mfa.scanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",function(){this.clearErrors()})},formChildren:[r.View({View:o})]},Footer:s,initialize:function(){this.pollForEnrollment()},pollForEnrollment:function(){return this.model.doTransaction(function(t){return t.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}})}.apply(e,r))&&(t.exports=i)}])});
//# sourceMappingURL=okta-sign-in.min.js.map;
