vendor: 4,524 bytes, lines 1-2
1/*! For license information please see usn.js.LICENSE.txt */ 2!function(){var e,t,n,r,i={70449:function(e,t){"use strict";t.A=(e,t)=>{new MutationObserver((n=>{n.forEach((n=>{Array.prototype.slice.call(n.addedNodes).forEach((n=>{n instanceof HTMLElement&&(n.matches(e)?[n]:Array.from(n.querySelectorAll(e))).forEach(t)}))}))})).observe(document.body,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),document.body.querySelectorAll(e).forEach(t)}},40480:function(e,t,n){"use strict";var r=n(70449),i=n(73668),o=n(45714),s=n(92981),a=n.n(s);const u=Object.prototype.toString,l=Error.prototype.toString,c=RegExp.prototype.toString,p="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",f=/^Symbol\((.*)\)(.*)$/;function d(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return p.call(e).replace(f,"Symbol($1)");const r=u.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+l.call(e)+"]":"RegExp"===r?c.call(e):null}function h(e,t){let n=d(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=d(this[e],t);return null!==r?r:n}),2)}function m(e){return null==e?[]:[].concat(e)}let g,v,y,b=/\$\{\s*(\w+)\s*\}/g;g=Symbol.toStringTag;class _{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[g]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],m(e).forEach((e=>{if(w.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}v=Symbol.hasInstance,y=Symbol.toStringTag;class w extends Error{static formatError(e,t){const n=t.label||t.path||"this";return t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e?e.replace(b,((e,n)=>h(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){const o=new _(e,t,n,r);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[y]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,w)}static[v](e){return _[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let x={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const i=null!=r&&r!==n?` (cast from the value \`${h(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${h(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${h(n,!0)}\``+i}},A={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},S={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},E={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},T={isValue:"${path} field must be ${value}"},k={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path}
2 object contains unknown properties: ${properties}"},C={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},O={notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${h(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${h(n,!0)}\``}return w.formatError(x.notType,e)}};Object.assign(Object.create(null),{mixed:x,string:A,number:S,date:E,object:k,array:C,boolean:T,tuple:O});const $=e=>e&&e.__isYupSchema__;class R{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new R(e,((e,t)=>{var n;let s=o(...e)?r:i;return null!=(n=null==s?void 0:s(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!$(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const F="$",L=".";class D{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===F,this.isValue=this.key[0]===L,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?F:this.isValue?L:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,i.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}D.prototype.__isYupRef=!0;const P=e=>null==e;function j(e){function t({value:t,path:n="",options:r,originalValue:i,schema:o},s,a){const{name:u,test:l,params:c,message:p,skipAbsent:f}=e;let{parent:d,context:h,abortEarly:m=o.spec.abortEarly,disableStackTrace:g=o.spec.disableStackTrace}=r;const v={value:t,parent:d,context:h};function y(e={}){const r=N(Object.assign({value:t,originalValue:i,label:o.spec.label,path:e.path||n,spec:o.spec,disableStackTrace:e.disableStackTrace||g},c,e.params),v),s=new w(w.formatError(e.message||p,r),t,r.path,e.type||u,r.disableStackTrace);return s.params=r,s}const b=m?s:a;let _={path:n,parent:d,type:u,from:r.from,createError:y,resolve(e){return q(e,v)},options:r,originalValue:i,schema:o};const x=e=>{w.isError(e)?b(e):e?a(null):b(y())},A=e=>{w.isError(e)?b(e):s(e)};if(f&&P(t))return x(!0);let S;try{var E;if(S=l.call(_,t,_),"function"==typeof(null==(E=S)?void 0:E.then)){if(r.sync)throw new Error(`Validation test of type: "${_.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(S).then(x,A)}}catch(e){return void A(e)}x(S)}return t.OPTIONS=e,t}function N(e,t){if(!e)return e;for(const n of Object.keys(e))e[n]=q(e[n],t);return e}function q(e,t){return D.isRef(e)?e.getValue(t.value,t.parent,t.context):e}function M(e,t,n,r=n){let o,s,a;return t?((0,i.forEach)(t,((i,u,l)=>{let c=u?i.slice(1,i.length-1):i,p="tuple"===(e=e.resolve({context:r,parent:o,value:n})).type,f=l?parseInt(c,10):0;if(e.innerType||p){if(p&&!l)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&f>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${i}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[f],e=p?e.spec.types[f]:e.innerType}if(!l){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}s=c,a=u?"["+i+"]":"."+i})),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class I extends Set{describe(){const e=[];for(const t of this.values())e.push(D.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new I(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function H(e,t=new Map){if($(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;
vendor: 4,442 bytes, line 2
2r++)n[r]=H(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,H(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(H(r,t))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=H(i,t)}return n}function U(e){if(null==e||!e.length)return;const t=[];let n="",r=!1,i=!1;for(let o=0;o<e.length;o++){const s=e[o];"["!==s||i?"]"!==s||i?'"'!==s?"."!==s||r||i?n+=s:n&&(t.push(n),n=""):i=!i:(n&&(/^\d+$/.test(n)?t.push(n):t.push(n.replace(/^"|"$/g,"")),n=""),r=!1):(n&&(t.push(...n.split(".").filter(Boolean)),n=""),r=!0)}return n&&t.push(...n.split(".").filter(Boolean)),t}function B(e,t){var n;if((null==(n=e.inner)||!n.length)&&e.errors.length)return function(e,t){const n=t?`${t}.${e.path}`:e.path;return e.errors.map((e=>({message:e,path:U(n)})))}(e,t);const r=t?`${t}.${e.path}`:e.path;return e.inner.flatMap((e=>B(e,r)))}class z{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new I,this._blacklist=new I,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(x.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=H(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({},t,{value:e})),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&P(i))return i;let o=h(e),s=h(i);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${o} \n`+(s!==o?`result of cast: ${s}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((n,r)=>r.call(this,n,e,this,t)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:o=e,strict:s=this.spec.strict}=t,a=e;s||(a=this._cast(a,Object.assign({assert:!1},t)));let u=[];for(let e of Object.values(this.internalTests))e&&u.push(e);this.runTests({path:i,value:a,originalValue:o,options:t,tests:u},n,(e=>{if(e.length)return r(e,a);this.runTests({path:i,value:a,originalValue:o,options:t,tests:this.tests},n,r)}))}
vendor: 4,512 bytes, line 2
2runTests(e,t,n){let r=!1,{tests:i,value:o,originalValue:s,path:a,options:u}=e,l=e=>{r||(r=!0,t(e,o))},c=e=>{r||(r=!0,n(e,o))},p=i.length,f=[];if(!p)return c([]);let d={value:o,originalValue:s,path:a,options:u,schema:this};for(let e=0;e<i.length;e++){(0,i[e])(d,l,(function(e){e&&(Array.isArray(e)?f.push(...e):f.push(e)),--p<=0&&c(f)}))}}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:o}){const s=null!=e?e:t;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");const a="number"==typeof s;let u=n[s];const l=Object.assign({},o,{strict:!0,parent:n,value:u,originalValue:i[s],key:void 0,[a?"index":"key"]:s,path:a||s.includes(".")?`${r||""}[${a?s:`"${s}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(l)._validate(u,l,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,o)=>r._validate(e,t,((e,t)=>{w.isError(e)&&(e.value=t),o(e)}),((e,t)=>{e.length?o(new w(e,t,void 0,void 0,i)):n(t)}))))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw w.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new w(t,e,void 0,void 0,o);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(w.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(w.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):H(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=j({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=j({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=x.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=x.notNull){return this.nullability(!1,e)}required(e=x.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=x.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=j(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(i)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=m(e).map((e=>new D(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new R(r,t):R.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=j({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=x.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=j({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=x.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=j({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,o
vendor: 7,740 bytes, line 2
2ptional:i,nullable:o}=t.spec;return{meta:r,label:n,optional:i,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.filter(((e,t,n)=>n.findIndex((t=>t.OPTIONS.name===e.OPTIONS.name))===t)).map((t=>{const n=t.OPTIONS.params&&e?N(Object.assign({},t.OPTIONS.params),e):t.OPTIONS.params;return{name:t.OPTIONS.name,params:n}}))}}get"~standard"(){const e=this;return{version:1,vendor:"yup",async validate(t){try{return{value:await e.validate(t,{abortEarly:!1})}}catch(e){if(e instanceof w)return{issues:B(e)};throw e}}}}}z.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])z.prototype[`${e}At`]=function(t,n,r={}){const{parent:i,parentPath:o,schema:s}=M(this,t,n,r.context);return s[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(const e of["equals","is"])z.prototype[e]=z.prototype.oneOf;for(const e of["not","nope"])z.prototype[e]=z.prototype.notOneOf;const V=()=>!0;class W extends z{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:V},e))}}W.prototype;class K extends z{constructor(){super({type:"boolean",check(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}}),this.withMutation((()=>{this.transform(((e,t)=>{if(this.spec.coerce&&!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}isTrue(e=T.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test(e){return P(e)||!0===e}})}isFalse(e=T.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test(e){return P(e)||!1===e}})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}K.prototype;const X=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function J(e){var t,n;const r=X.exec(e);return r?{year:Q(r[1]),month:Q(r[2],1)-1,day:Q(r[3],1),hour:Q(r[4]),minute:Q(r[5]),second:Q(r[6]),millisecond:r[7]?Q(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Q(r[10]),minuteOffset:Q(r[11])}:null}function Q(e,t=0){return Number(e)||t}let G=/^[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])?)*$/,Y=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ee=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),te=e=>P(e)||e===e.trim(),ne={}.toString();function re(){return new ie}class ie extends z{constructor(){super({type:"string",check(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}}),this.withMutation((()=>{this.transform(((e,t)=>{if(!this.spec.coerce||this.isType(e))return e;if(Array.isArray(e))return e;const n=null!=e&&e.toString?e.toString():e;return n===ne?e:n}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||x.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=A.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=A.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=A.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?({excludeEmptyString:i=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||A.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=A.email){return this.matches(G,{name:"email",message:e,excludeEmptyString:!0})}url(e=A.url){return this.matches(Y,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=A.uuid){return this.matches(Z,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(ee,{name:"datetime",message:r||A.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||A.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=J(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||A.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=J(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=A.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:te})}lowercase(e=A.lowercase){return this.transform((e=>P(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>P(e)||e===e.toLowerCase()})}uppercase(e=A.uppercase){return this.transform((e=>P(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>P(e)||e===e.toUpperCase()})}}re.prototype=ie.prototype;class oe extends z{constructor(){super({type:"number",check(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e)}}),this.withMutation((()=>{this.transform(((e,t)=>{if(!this.spec.coerce)return e;let n=e;if("string"==typeof n){if(n=n.replace(/\s/g,""),""===n)return NaN;n=+n}return this.isType(n)||null===n?n:parseFloat(n)}))}))}min(e,t=S.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=S.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=S.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=S.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=S.positive){return this.moreThan(0,e)}negative(e=S.negative){return this.lessThan(0,e)}integer(e=S.integer){return this.test({name:"integer",message:e,ski
vendor: 4,390 bytes, line 2
2pAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>P(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>P(t)?t:Math[e](t)))}}oe.prototype;let se=new Date("");function ae(){return new ue}class ue extends z{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation((()=>{this.transform(((e,t)=>!this.spec.coerce||this.isType(e)||null===e?e:(e=function(e){const t=J(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?ue.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(D.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=E.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=E.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function le(e,t){let n=1/0;return e.some(((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0})),n}function ce(e){return(t,n)=>le(e,t)-le(e,n)}ue.INVALID_DATE=se,ae.prototype=ue.prototype,ae.INVALID_DATE=se;const pe=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e};function fe(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=fe(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=fe(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(fe)}):"optional"in e?e.optional():e}let de=e=>"[object Object]"===Object.prototype.toString.call(e);function he(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}const me=ce([]);class ge extends z{constructor(e){super({type:"object",check(e){return de(e)||"function"==typeof e}}),this.fields=Object.create(null),this._sortErrors=me,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),a={},u=Object.assign({},t,{parent:a,__validating:t.__validating||!1}),l=!1;for(const e of s){let n=i[e],s=e in r,c=r[e];if(n){let i;u.path=(t.path?`${t.path}.`:"")+e,n=n.resolve({value:c,context:t.context,parent:a});let o=n instanceof z?n.spec:void 0,s=null==o?void 0:o.strict;if(null!=o&&o.strip){l=l||e in r;continue}i=t.__validating&&s?c:n.cast(c,u),void 0!==i&&(a[e]=i)}else s&&!o&&(a[e]=c);s===e in a&&a[e]===c||(l=!0)}return l?a:r}_validate(e,t={},n,r){let{from:i=[],originalValue:o=e,recursive:s=this.spec.recursive}=t;t.from=[{schema:this,value:o},...i],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,((e,i)=>{if(!s||!de(i))return void r(e,i);o=o||i;let a=[];for(let e of this._nodes){let n=this.fields[e];n&&!D.isRef(n)&&a.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:o}))}this.runTests({tests:a,value:i,originalValue:o,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),i)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){const r=n[e];n[e]=void 0===r?t:r}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};
vendor: 6,321 bytes, line 2
2return this._nodes.forEach((n=>{var r;const i=this.fields[n];let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(o):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function s(e,t){let s=(0,i.split)(e)[0];r.add(s),o.has(`${t}-${s}`)||n.push([t,s])}for(const t of Object.keys(e)){let n=e[t];r.add(t),D.isRef(n)&&n.isSibling?s(n.path,t):$(n)&&"deps"in n&&n.deps.forEach((e=>s(e,t)))}return a().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=ce(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return fe(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((([t,n])=>e.includes(t)&&e.includes(n))))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,i.getter)(e,!0);return this.transform((o=>{if(!o)return o;let s=o;return((e,t)=>{const n=[...(0,i.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),o=(0,i.getter)((0,i.join)(n),!0)(e);return!(!o||!(r in o))})(o,e)&&(s=Object.assign({},o),n||delete s[e],s[t]=r(o)),s}))}json(){return this.transform(pe)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||k.exact,test(e){if(null==e)return!0;const t=he(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=k.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=he(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=k.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(o.camelCase)}snakeCase(){return this.transformKeys(o.snakeCase)}constantCase(){return this.transformKeys((e=>(0,o.snakeCase)(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[i,o]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=o.describe(t)}return n}}ge.prototype;class ve extends z{constructor(e){super({type:"array",spec:{types:e},check(e){return Array.isArray(e)}}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const i=n.map(((e,i)=>{const o=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${i}]`,parent:n,originalValue:e,value:e,index:i}));return o!==e&&(r=!0),o}));return r?i:n}_validate(e,t={},n,r){var i;let o=this.innerType,s=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((i,a)=>{var u;if(!s||!o||!this._typeCheck(a))return void r(i,a);let l=new Array(a.length);for(let n=0;n<a.length;n++){var c;l[n]=o.asNestedTest({options:t,index:n,parent:a,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e})}this.runTests({value:a,tests:l,originalValue:null!=(u=t.originalValue)?u:e,options:t},n,(e=>r(e.concat(i),a)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(pe)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!$(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+h(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=C.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||C.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||C.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=t.innerType.describe(i)}return n}}ve.prototype;class ye extends z{constructor(e){super({type:"tuple",spec:{types:e},check(e){const t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation((()=>{this.typeError(O.notType)}))}_cast(e,t){const{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let i=!1;const o=n.map(((e,n)=>{const o=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`,parent:r,originalValue:r[n],value:r[n],index:n}));return o!==r[n]&&(i=!0),o}));return i?o:r}_validate(e,t={},n,r){let i=this.spec.types;super._validate(e,t,n,((o,s)=>{var a;if(!this._typeCheck(s))return void r(o,s);let u=[];for(let[n,r]of i.entries()){var l;u[n]=r.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(l=t.originalValue)?l:e})}this.runTests({value:s,tests:u,originalValue:null!=(a=t.originalValue)?a:e,options:t},n,(e=>r(e.concat(o),s)))}))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map(((t,n)=>{var r;let i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)})),n}}ye.prototype;var be=n(7006);const _e=re().email().matches(/^[^\s@]+@[^\s@]+\.[^\s@]{2,63}$/);function we(e){const t=e.nextElementSibling;
2t&&t.classList.contains("validation-error")&&t.remove()}function xe(e){const t=e.value;if(""===t)return e.classList.remove("validation-passed","validation-failed"),void we(e);_e.validate(t).then((()=>{e.classList.remove("validation-failed"),e.classList.add("validation-passed"),we(e)})).catch((()=>{e.classList.remove("validation-passed"),e.classList.add("validation-failed"),async function(e){const t=(await(new be.A).ready).get("email.validation.failed");let n=e.nextElementSibling;n&&n.classList.contains("validation-error")||(n=document.createElement("span"),n.classList.add("validation-error"),n.textContent=t,e.insertAdjacentElement("afterend",n))}(e)}))}(0,r.A)('form.ctform input[type="email"]:not([initialized])',(e=>{e.setAttribute("initialized","true"),e.addEventListener("blur",(()=>{xe(e)}))}))},39967:function(e,t,n){"use strict";n.r(t),(0,n(70449).A)(".table-wrapper-container table:not(.wrapped), .ckeditor table:not(.wrapped)",(e=>{const t=document.createElement("div");t.classList.add("table-wrapper");const n=e.parentNode;n instanceof HTMLElement!=!1&&(e.classList.add("wrapped"),n.insertBefore(t,e),t.appendChild(e))}))},6621:function(e,t,n){"use strict";n.r(t);var r=n(70449);const i=[".ckeditor iframe[data-consent-src][data-category-consent]:not([data-consent-placeholder-initialized])"].join(", "),o=/(^|\.)(youtube(?:-nocookie)?\.com|youtu\.be|vimeo\.com|dailymotion\.com|wistia\.(com|net))$/i,s=e=>{const t=e.dataset.category,n=window.CookieInformation;void 0!==t&&void 0!==n&&(e.style.display=n.getConsentGivenFor(t)?"none":"block")};window.addEventListener("CookieInformationConsentGiven",(()=>{document.querySelectorAll(".consent-placeholder").forEach(s)})),(0,r.A)(i,(e=>{if(e instanceof HTMLIFrameElement==!1)return;e.dataset.consentPlaceholderInitialized="true";const t=e.nextElementSibling;if(t instanceof HTMLElement&&t.classList.contains("consent-placeholder"))return void s(t);const n=e.dataset.categoryConsent??e.dataset.consentCategory;if(void 0===n)return;const r=((e,t)=>Array.from(document.querySelectorAll("template[data-consent-placeholder-template]")).find((n=>n.dataset.consentPlaceholderType===e&&n.dataset.consentPlaceholderCategory===t)))((e=>{const t=e.dataset.consentSrc;if(void 0===t)return"default";try{return o.test(new URL(t,window.location.href).hostname)?"video":"default"}catch{return"default"}})(e),n),i=r?.content.querySelector(".consent-placeholder")?.cloneNode(!0);i instanceof HTMLElement!=!1&&(e.parentNode?.insertBefore(i,e.nextSibling),s(i))}))},68468:function(){"use strict";!function(){const e=document.querySelector("#fixed-left"),t=document.querySelector("#fixed-left-modal [slot=content]");if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=window.matchMedia("(max-width: 840px)"),r=document.querySelector("#fixed-left-modal [slot=opentrigger]"),i=n=>{n.matches?(Array.from(e.children).forEach((e=>{t.appendChild(e)})),r instanceof HTMLElement&&r.style.removeProperty("display")):(Array.from(t.children).forEach((t=>{e.appendChild(t)})),r instanceof HTMLElement&&r.style.setProperty("display","none"))};i(n),n.addEventListener("change",i)}const n=document.querySelector(".left-container-toggle");n instanceof HTMLElement&&n.addEventListener("click",(e=>{const t=document.querySelector("#left-container");t instanceof HTMLElement&&(t.classList.toggle("show"),n.classList.toggle("open",t.classList.contains("show"))),e.preventDefault()}))}()},7006:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(86237);class i{constructor(e){this._service=new r.f("i18n",e||function(){const e=document.head.querySelector("[data-service-endpoint]");return e?e.getAttribute("data-service-endpoint")||"":"/xmlhttprequest.php"}()),this.ready=this.getLangStrings().then((e=>(this._lang=e,this)))}get(e,t,n){if(void 0===this._lang)throw Error("missing language");const{locale:r,lang:i}=this._lang,o=r[t||i][e]??`(language string [${e}] is not set)`;return n?Object.entries(n).reduce(((e,[t,n])=>e.replace(new RegExp(`(\\{${t}\\})|(%[a-z])`),n)),o):o}async getLangStrings(){const e=await async function(){const e=()=>parseInt(document.body.getAttribute("data-last-updated")||"");return"loading"===document.readyState?await new Promise((t=>document.addEventListener("DOMContentLoaded",(()=>t(e()))))):e()}();let t=window.I18N_DATA;if(t&&t.timestamp>=e)return t;if(t=this._getLocales(),t&&t.timestamp>=e)return window.I18N_DATA=t,t;if(window.I18N_REQUEST)return window.I18N_REQUEST;const n=this._service.get().then((e=>(this._setLocales(e),e))).finally((()=>{window.I18N_REQUEST=void 0}));return window.I18N_REQUEST=n,n}_getLocales(){const e=localStorage.getItem("i18n");return e&&JSON.parse(e)}_setLocales(e){window.I18N_DATA=e,localStorage.setItem("i18n",JSON.stringify(e)),document.dispatchEvent(new CustomEvent("corepublish.i18n.changed",{detail:e}))}}},86237:function(e,t,n){"use strict";n.d(t,{f:function(){return o},A:function(){return s}});var r=class{constructor(){this.__queue=new Map}get size(){return this.__queue.size}add(e){const t=new Promise(((t,n)=>{e.onerror=e=>n(e),e.onabort=e=>n(e),e.onloadend=()=>this.__queue.delete(e),e.onload=()=>t({content:e.response,status:e.status})}));return this.__queue.set(e,t),t}cancel(e){this.__queue.forEach(((t,n)=>t===e&&n.abort()))}cancelAll(){this.__queue.forEach(((e,t)=>t.abort()))}};var i=function e(t,n){return Object.keys(t).map((r=>{const i=t[r],o=null!==i&&"object"==typeof i,s=o&&Array.isArray(i),a=n?`${n}[${r}]`:r;return o?s&&0===i.length?`${a}[]`:e(i,a):void 0!==i?`${a}=${encodeURIComponent(i)}`:""})).filter((e=>e.length>0)).join("&")};class o{constructor(e,t){if(this.service=e,this._url=t,this.__queue=new r,!t){const e=document.head.querySelector("meta[data-service-endpoint]"),t=e&&e.getAttribute("data-service-endpoint");this._url=t||"/xmlhttprequest.php"}}get isRequesting(){return!!this.__queue.size}get url(){return this._url}async call(e="GET",t,n){const r=Object.assign({},this._createDefaultParameters(),t),o=new XMLHttpRequest;return o.open(e,`${this.url}?${i(r)}`,!0),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),await new Promise((async(e,t)=>{try{const r=this.__queue.add(o);o.send(n);const i=await r,s=this._processResponse(i);i.status<400?e(s):t(s)}catch(e){let n;n=e instanceof Error?e.message:"string"==typeof e?e:JSON.stringify(e),t(Error(n))}}))}get(e){return this.call("GET",e)}post(e,t){return this.call("POST",e,JSON.stringify(t))}_processResponse({content:e}){return JSON.parse(e)}_createDefaultParameters(){const e=document.querySelector("html");return{service:this.service,cid:e&&e.hasAttribute("data-cid")?e.getAttribute("data-cid"):void 0,aid:e&&e.hasAttribute("data-aid")?e.getAttribute("data-aid"):void 0}}}var s=o},40379:function(e,t,n){"use strict";var r=n(70449),i=n(62893),o=n(57536);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{constructor({adapter:e,settings:t}={}){this._settings=t,this._adapter=e||o.A.create({baseURL:"/xmlhttprequest.php",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"}}),this._adapter.interceptors.request.use((e=>(e.params=a(a({},this._settings),e.params),e)))}get Adapter(){return this._adapter}get Settings(){return this._settings}get(e={}){return this.Adapter.get("",{params:e}).then((({data:e})=>e)).catch((e=>Promise.reject(e)))}post(e,t={}){return this.Adapter.post("",e,{params:t}).then((({data:e})=>e)).catch((e=>Promise.reject(e)))}static createInstance(){return new l}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends l{constructor({adapter:e,settings:t}={}){Object.assign(t,{cid:document.documentElement.getAttribute("data-cid"),aid:document.documentElement.getAttribute("data-aid")}),super({adapter:e,settings:t})}}const h=new Map;i.Ay.config.ignoredElements=i.Ay.config.ignoredElements||[],i.Ay.config.ignoredElements.push("usn-card"),i.Ay.config.ignoredElements.push("usn-icon-delegator"),i.Ay.config.ignoredElements.push("usn-dropdown"),i.Ay.config.ignoredElements.push("usn-checkbox");const m=e=>{const t=e.querySelector(".filter-controlls"),n=t.dataset.eid,r=JSON.parse(t.dataset.filters||"{}"),o=((e,t={})=>{let n=h.get(e);return n||(n=new d({settings:p(p({},t),{},{eid:e})}),h.set(e,n)),n})(n,{service:"tile.call"});e.toggleAttribute("initialized",!0),new i.Ay({el:e,data:{loading:!1,filters:r},computed:{isAnyCategorySelected(){return Object.values(this.filters.categories).some((e=>e.selected))},isAnyTagSelected(){return Object.values(this.filters.tags).some((e=>e.selected))},isAnyTypeSelected(){return Object.values(this.filters.type).some((e=>e.selected))}},methods:{toggleCategory:function(e){this.filters.categories[e].selected=!this.filters.categories[e].selected,this.doQuery()},toggleTag:function(e){this.filters.tags[e].selected=!this.filters.tags[e].selected,this.doQuery()},setType:function(e,t){this.filters.type[e].selected=t,this.doQuery()},setSortType:function(e,t){Object.values(this.filters.sortType).forEach((e=>e.selected=!1)),this.filters.sortType[e].selected=t,this.doQuery()},clearCategories:function(){Object.values(this.filters.categories).forEach((e=>e.selected=!1)),this.doQuery()},clearTags:function(){Object.values(this.filters.tags).forEach((e=>e.selected=!1)),this.doQuery()},clearType:function(){Object.values(this.filters.type).forEach((e=>e.selected=!1)),this.doQuery()},doQuery:function(){this.loading=!0;const e=Object.values(this.filters.categories).filter((e=>e.selected)).map((e=>e.value)),t=Object.values(this.filters.tags).filter((e=>e.selected)).map((e=>e.value)),n=Object.values(this.filters.type).filter((e=>e.selected)).map((e=>e.value)),r=Object.values(this.filters.sortType).filter((e=>e.selected)).map((e=>e.value));o.get({action:"fetch","f-cat":e,"f-tag":t,"f-type":n,"f-sort":r}).then((e=>{if(e.error)throw new Error(e.error.message||e.error);this.filters=e.filters,this.$refs.articleList.innerHTML=e.html})).catch((e=>{this.$refs.articleList.innerHTML=(e.message||e).toString()})).finally((()=>{this.loading=!1}))}}})};
2(0,r.A)(".category-and-tag-article-list:not([initialized])",(e=>m(e)))},56519:function(e,t,n){"use strict";const r=new Promise((e=>{"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)}));t.A=r},41836:function(e,t,n){"use strict";n.r(t),(0,n(70449).A)("article details[open]:not(.keep-open-on-load):not(form details)",(e=>{e.removeAttribute("open")}))},64:function(e,t,n){"use strict";n.r(t);var r=n(70449);(0,r.A)(".wrap-in-details:not(.wrapped)",(e=>{e.classList.toggle("wrapped",!0);const t=Number(e.getAttribute("wrap-skip")),n=Number(e.getAttribute("close-skip")),r=Array.from(e.querySelectorAll("h2")).slice(t).filter((e=>"header"!==e.slot)),i=r.reduce(((e,t,n)=>e.set(t,((e,t)=>{const n=[];let r=e.nextElementSibling;for(;r&&r!==t;r=r.nextSibling)1===r.nodeType&&r!==e&&n.push(r);return n})(t,r[n+1]))),new Map);let o=n;i.forEach(((e,t)=>((e,t,n)=>{const r=document.createElement("details"),i=document.createElement("summary");r.open=n,e.replaceWith(r),i.append(e),r.append(i,...t),o--})(t,e,o>0)))}))},1237:function(e,t,n){"use strict";n.r(t);var r=n(56519);const i=()=>{const e=window.location.hash.slice(1);if(!e)return;let t;try{t=decodeURIComponent(e)}catch{t=e}const n=document.getElementById(t);if(!n)return;const r=n.matches?.("details")?n:n.closest("details");r&&(r.open=!0)};window.addEventListener("hashchange",i),r.A.then(i)},50867:function(){document.addEventListener("click",(e=>{e.target instanceof HTMLDialogElement&&e.target.close()}))},6878:function(){const e=function(e){e.target.matches("img.fullscreen-image")&&function(e){const t=document.createElement("dialog");t.addEventListener("click",(e=>{e.target===t&&t.close()}));const n=()=>{setTimeout((()=>t.remove()),100)};t.addEventListener("close",n),t.addEventListener("cancel",n),t.classList.add("fullscreen-image-container"),t.innerHTML=`\n <figure class="fullscreen-image-content-container">\n <img src="${e.src}" alt="${e.alt}">\n <figcaption class="fullscreen-image-caption">${`${e.dataset.imageText??""} ${e.title}`.trim()}</figcaption>\n </figure>\n `,document.body.append(t),t.showModal()}(e.target)};document.addEventListener("click",e),document.addEventListener("keydown",(t=>{["Enter","Space","NumpadEnter"].includes(t.code)&&e(t)}))},2862:function(e,t,n){var r=n(9498);r.fn.serializeObject=function(){var e={},t=this.serializeArray();return r.each(t,(function(){void 0!==e[this.name]?(e[this.name].push||(e[this.name]=[e[this.name]]),e[this.name].push(this.value||"")):e[this.name]=this.value||""})),e}},55471:function(){String.prototype.capitaliseFirstLetter=function(){return this.charAt(0).toUpperCase()+this.slice(1)}},48629:function(){var e,t,n,r,i,o;e=window,t=document,n="script",r="ctwSearch",e.AiSearchWidget=r,e[r]=e[r]||function(){(e[r].q=e[r].q||[]).push(arguments)},i=t.createElement(n),o=t.getElementsByTagName(n)[0],i.id=r,i.src="https://portal.coreai.no/widget-search.js",i.async=1,o.parentNode.insertBefore(i,o)},75955:function(e,t,n){"use strict";var r=n(56519),i=n(62893),o={data:{favorites:[],loading:!1},mounted(){document.addEventListener("user.favorite.update",(()=>{this.updateFavorites()})),window.addEventListener("focus",(()=>{this.updateFavorites()}))},methods:{_request:function(e,t={}){return fetch("/service.php?service=usn.user.favorite"+(Object.keys(t).length?`&${new URLSearchParams(t)}`:""),{method:e}).then((e=>e.json())).then((e=>{if(200!==e.statusCode)throw Error(e.result);return e.result})).catch((e=>{}))},requestUpdateFavorites:function(){if(!this.$el)throw Error("No element to send update request from");this.$el.dispatchEvent(new CustomEvent("user.favorite.update",{bubbles:!0}))},updateFavorites:function(){this.$data.loading||(this.$data.loading=!0,this._request("get").then((e=>{this.$data.favorites=Array.from(e)})).finally((()=>{this.$data.loading=!1})))},addFavorite:function(e,t){return this._request("post",{type:e,id:t}).then(this.requestUpdateFavorites)},hasFavorite:function(e,t){for(const n of this.favorites)if(String(n.type)===String(e)&&Number(n.id)===Number(t))return!0;return!1},removeFavorite:function(e,t){return this._request("delete",{type:e,id:t}).then(this.requestUpdateFavorites)}}},s=n(70449);r.A.then((()=>{document.querySelectorAll(".user-favorite--list").forEach((e=>{new i.Ay({el:e,mixins:[o],mounted(){this.updateFavorites()}})})),document.querySelectorAll(".user-favorite--counter").forEach((e=>{new i.Ay({el:e,mixins:[o],mounted(){this.updateFavorites()},watch:{favorites:function(e){this.$el.innerText=e.length,e.length?this.$el.dataset.count=e.length:this.$el.removeAttribute("data-count")},loading:function(){this.$el.toggleAttribute("loading",this.loading)}}})}));const e=e=>{new i.Ay({el:e,mixins:[o],mounted(){this.requestUpdateFavorites(),this.$el.addEventListener("click",this.onClick)},beforeDestroy(){this.$el.removeEventListener("click",this.onClick)},watch:{favorites:function(e){this.$el.toggleAttribute("is-favorite",this.hasFavorite(this.$el.dataset.type,this.$el.dataset.id))}},methods:{onClick:function(e){const t=this.$el.dataset.type,n=this.$el.dataset.id;this.$el.toggleAttribute("loading",!0),(this.hasFavorite(t,n)?this.removeFavorite(t,n):this.addFavorite(t,n)).finally((()=>
vendor: 4,504 bytes, line 2
2this.$el.toggleAttribute("loading",!1)))},hasFavorite:function(){return o.methods.hasFavorite.call(this,this.$el.dataset.type,this.$el.dataset.id)}}})};(0,s.A)(".user-favorite--toggle",(t=>t.hasAttribute("v-cloak")&&e(t)))}))},46739:function(){if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||e(r).trigger(e.support.transition.end)}),t),this},e((function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(t){var r=e(this),i=r.attr("data-target");i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=e(document).find(i);function s(){o.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var r=e.fn.alert;e.fn.alert=function(t){return this.each((function(){var r=e(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof t&&i[t].call(r)}))},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each((function(){var r=e(this),i=r.data("bs.button"),o="object"==typeof n&&n;i||r.data("bs.button",i=new t(this,o)),"toggle"==n?i.toggle():n&&i.setState(n)}))}t.VERSION="3.4.1",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();t+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy((function(){r[i](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var r=e(t.target).closest(".btn");n.call(r,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))}))}(jQuery),function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
2down.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each((function(){var r=e(this),i=r.data("bs.carousel"),o=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n),s="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new t(this,o)),"number"==typeof n?i.to(n):s?i[s]():o.interval&&i.pause().cycle()}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},t.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){t.to(e)})):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(n,i),s=this.interval,a="next"==n?"left":"right",u=this;if(o.hasClass("active"))return this.sliding=!1;var l=o[0],c=e.Event("slide.bs.carousel",{relatedTarget:l,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=e(this.$indicators.children()[this.getItemIndex(o)]);p&&p.addClass("active")}var f=e.Event("slid.bs.carousel",{relatedTarget:l,direction:a});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),"object"==typeof o&&o.length&&o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",(function(){o.removeClass([n,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),u.sliding=!1,setTimeout((function(){u.$element.trigger(f)}),0)})).emulateTransitionEnd(t.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(f)),s&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var i=function(t){var r=e(this),i=r.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=r.attr("data-target")||i,s=e(document).find(o);if(s.hasClass("carousel")){var a=e.extend({},s.data(),r.data()),u=r.attr("data-slide-to");u&&(a.interval=!1),n.call(s,a),u&&s.data("bs.carousel").to(u),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",(function(){e('[data-ride="carousel"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(document).find(r)}function r(n){return this.each((function(){var r=e(this),i=r.data("bs.collapse"),o=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||r.data("bs.collapse",i=new t(this,o)),"string"==typeof n&&i[n]()}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return a.call(this);var u=e.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[s](this.$element[0][u])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy((function(t,r){var i=e(r);this.addAriaAndCollapsedClass(n(i),i)}),this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){var i=e(this);i.attr("data-target")||t.preventDefault();var o=n(i),s=o.data("bs.collapse")?"toggle":i.data();r.call(o,s)}))}(jQuery),function(e){"use strict";
vendor: 4,541 bytes, line 2
2var t='[data-toggle="dropdown"]',n=function(t){e(t).on("click.bs.dropdown",this.toggle)};function r(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r="#"!==n?e(document).find(n):null;return r&&r.length?r:t.parent()}function i(n){n&&3===n.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),i=r(t),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(i[0],n.target)||(i.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),i.removeClass("open").trigger(e.Event("hidden.bs.dropdown",o)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var o=r(n),s=o.hasClass("open");if(i(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",i);var a={relatedTarget:this};if(o.trigger(t=e.Event("show.bs.dropdown",a)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(e.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=e(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=r(i),s=o.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&o.find(t).trigger("focus"),i.trigger("click");var a=o.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var u=a.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<a.length-1&&u++,~u||(u=0),a.eq(u).trigger("focus")}}}};var o=e.fn.dropdown;e.fn.dropdown=function(t){return this.each((function(){var r=e(this),i=r.data("bs.dropdown");i||r.data("bs.dropdown",i=new n(this)),"string"==typeof t&&i[t].call(r)}))},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=o,this},e(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",(function(e){e.stopPropagation()})).on("click.bs.dropdown.data-api",t,n.prototype.toggle).on("keydown.bs.dropdown.data-api",t,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(e){"use strict";var t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function n(n,r){return this.each((function(){var i=e(this),o=i.data("bs.modal"),s=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n);o||i.data("bs.modal",o=new t(this,s)),"string"==typeof n?o[n](r):s.show&&o.show(r)}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var r=this,i=e.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){r.$element.one("mouseup.dismiss.bs.modal",(function(t){e(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var i=e.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var o=e.Event("shown.bs.modal",{relatedTarget:n});i?r.$dialog.one("bsTransitionEnd",(function(){r.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)})))},t.prototype.hide=function(n){n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("
2click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy((function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")}),this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy((function(e){27==e.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop((function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")}))},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=e.support.transition&&i;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy((function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){r.removeBackdrop(),n&&n()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):s()}else n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+n),e(this.fixedContent).each((function(t,r){var i=r.style.paddingRight,o=e(r).css("padding-right");e(r).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")})))},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each((function(t,n){var r=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=r||""}))},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var r=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=r,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var r=e(this),i=r.attr("href"),o=r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),s=e(document).find(o),a=s.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},s.data(),r.data());r.is("a")&&t.preventDefault(),s.one("show.bs.modal",(function(e){e.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){r.is(":visible")&&r.trigger("focus")}))}
vendor: 4,647 bytes, line 2
2)),n.call(s,a,this)}))}(jQuery),function(e){"use strict";var t=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],r={"*":["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:[]},i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^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 s(t,r){var s=t.nodeName.toLowerCase();if(-1!==e.inArray(s,r))return-1===e.inArray(s,n)||Boolean(t.nodeValue.match(i)||t.nodeValue.match(o));for(var a=e(r).filter((function(e,t){return t instanceof RegExp})),u=0,l=a.length;u<l;u++)if(s.match(a[u]))return!0;return!1}function a(t,n,r){if(0===t.length)return t;if(r&&"function"==typeof r)return r(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=t;for(var o=e.map(n,(function(e,t){return t})),a=e(i.body).find("*"),u=0,l=a.length;u<l;u++){var c=a[u],p=c.nodeName.toLowerCase();if(-1!==e.inArray(p,o))for(var f=e.map(c.attributes,(function(e){return e})),d=[].concat(n["*"]||[],n[p]||[]),h=0,m=f.length;h<m;h++)s(f[h],d)||c.removeAttribute(f[h].nodeName);else c.parentNode.removeChild(c)}return i.body.innerHTML}var u=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};u.VERSION="3.4.1",u.TRANSITION_DURATION=150,u.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},u.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var s=i[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",u="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(u+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},u.prototype.getDefaults=function(){return u.DEFAULTS},u.prototype.getOptions=function(n){var r=this.$element.data();for(var i in r)r.hasOwnProperty(i)&&-1!==e.inArray(i,t)&&delete r[i];return(n=e.extend({},this.getDefaults(),r,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},u.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,(function(e,r){n[e]!=r&&(t[e]=r)})),t},u.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},u.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},u.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focu
2s":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},u.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var r=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,l=a.test(s);l&&(s=s.replace(a,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?i.appendTo(e(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),p=i[0].offsetWidth,f=i[0].offsetHeight;if(l){var d=s,h=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+f>h.bottom?"top":"top"==s&&c.top-f<h.top?"bottom":"right"==s&&c.right+p>h.width?"left":"left"==s&&c.left-p<h.left?"right":s,i.removeClass(d).addClass(s)}var m=this.getCalculatedOffset(s,c,p,f);this.applyPlacement(m,s);var g=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",g).emulateTransitionEnd(u.TRANSITION_DURATION):g()}},u.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,s=parseInt(r.css("margin-top"),10),a=parseInt(r.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top+=s,t.left+=a,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var u=r[0].offsetWidth,l=r[0].offsetHeight;"top"==n&&l!=o&&(t.top=t.top+o-l);var c=this.getViewportAdjustedDelta(n,t,u,l);c.left?t.left+=c.left:t.top+=c.top;var p=/top|bottom/.test(n),f=p?2*c.left-i+u:2*c.top-o+l,d=p?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(f,r[0][d],p)},u.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},u.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=a(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},u.prototype.hide=function(t){var n=this,r=e(this.$tip),i=e.Event("hide.bs."+this.type);function o(){"in"!=n.hoverState&&r.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}if(this.$element.trigger(i),!i.isDefaultPrevented())return r.removeClass("in"),e.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(u.TRANSITION_DURATION):o(),this.hoverState=null,this},u.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},u.prototype.hasContent=function(){return this.getTitle()},u.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&n instanceof window.SVGElement,s=r?{top:0,left:0}:o?null:t.offset(),a={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},u=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,a,u,s)},u.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},u.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(e)){var a=t.top-o-s.scroll,u=t.top+o-s.scroll+r;a<s.top?i.top=s.top-a:u>s.top+s.height&&(i.top=s.top+s.height-u)}else{var l=t.left-o,c=t.left+o+n;l<s.left?i.left=s.left-l:c>
vendor: 5,185 bytes, line 2
2s.right&&(i.left=s.left+s.width-c)}return i},u.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},u.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},u.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},u.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},u.prototype.enable=function(){this.enabled=!0},u.prototype.disable=function(){this.enabled=!1},u.prototype.toggleEnabled=function(){this.enabled=!this.enabled},u.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},u.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide((function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null}))},u.prototype.sanitizeHtml=function(e){return a(e,this.options.whiteList,this.options.sanitizeFn)};var l=e.fn.tooltip;e.fn.tooltip=function(t){return this.each((function(){var n=e(this),r=n.data("bs.tooltip"),i="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||n.data("bs.tooltip",r=new u(this,i)),"string"==typeof t&&r[t]())}))},e.fn.tooltip.Constructor=u,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=l,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.4.1",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype)).constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(t=this.sanitizeHtml(t),"string"===r&&(n=this.sanitizeHtml(n))),e.find(".popover-title").html(t),e.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else e.find(".popover-title").text(t),e.find(".popover-content").children().detach().end().text(n);e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each((function(){var r=e(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new t(this,o)),"string"==typeof n&&i[n]())}))},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(n).is(document.body)?e(window):e(n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var r=e(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,o)),"string"==typeof n&&i[n]()}))}t.VERSION="3.4.1",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var t=e(this),i=t.data("target")||t.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null})).sort((function(e,t){return e[0]-t[0]})).each((function(){t.offsets.push(this[0]),t.targets.push(this[1])}))},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return s!=(e=o[o.length-1])&&this.activate(e);if(s&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)s!=o[e]&&t>
2=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(o[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=r,this},e(window).on("load.bs.scrollspy.data-api",(function(){e('[data-spy="scroll"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var t=function(t){this.element=e(t)};function n(n){return this.each((function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new t(this)),"string"==typeof n&&i[n]()}))}t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=(r=t.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),s=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),t.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=e(document).find(r);this.activate(t.closest("li"),n),this.activate(a,a.parent(),(function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})}))}}},t.prototype.activate=function(n,r,i){var o=r.find("> .active"),s=i&&e.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),o.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(e){"use strict";var t=function(n,r){this.options=e.extend({},t.DEFAULTS,r);var i=this.options.target===t.DEFAULTS.target?e(this.options.target):e(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var r=e(this),i=r.data("bs.affix"),o="object"==typeof n&&n;i||r.data("bs.affix",i=new t(this,o)),"string"==typeof n&&i[n]()}))}t.VERSION="3.4.1",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+s<=e-r)&&"bottom";var a=null==this.affixed,u=a?i:o.top;return null!=n&&i<=n?"top":null!=r&&u+(a?s:t)>=e-r&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,n,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var u="affix"+(a?"-"+a:""),l=e.Event(u+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-o})}};var r=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",(function(){e('[data-spy="affix"]').each((function(){var t=e(this),r=t.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(t,r)}))}))}(jQuery)},9498:function(e,t,n){var r=n(74692),i=n(34160);void 0===i.$&&(i.$=r),void 0===i.jQuery&&(i.jQuery=r),e.exports=r},34160:function(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},73317:function(e,t){var n,r,i;!function(){"use strict";r=[],n=function(){var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function t(e){this.callback=e,this.ticking=!1}function n(e){return e&&"undefined"!=typeof window&&(e===window||e.nodeType)}function r(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,i,o=e||{};for(i=1;i<arguments.length;i++){var s=arguments[i]||{};for(t in s)"object"!=typeof o[t]||n(o[t])?o[t]=o[t]||s[t]:o[t]=r(o[t],s[t])}return o}function i(e){return e===Object(e)?e:{down:e,up:e}}function o(e,t){t=r(t,o.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=i(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop,this.onBottom=t.onBottom,this.onNotBottom=t.onNotBottom}return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},o.prototype={constructor:o,init:function(){if(o.cutsTheMustard)return this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var e=this.classes;for(var t in this.initialised=!1,e)e.hasOwnProperty(t)&&this.elem.classList.remove(e[t]);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
vendor: 6,674 bytes, line 2
2,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,n=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,r=e>=this.offset;return n&&r&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,r=e<=this.offset;return n&&t||r},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},o.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},o.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,o},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)}()},74692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,c=o.indexOf,p={},f=p.toString,d=p.hasOwnProperty,h=d.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in _)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[f.call(e)]||"object":typeof e}var A="3.7.1",S=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:A,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var e,t,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||v(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(l&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,s[t]=E.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},E.extend({expando:"jQuery"+(A+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=s(e))||"function"==typeof(n=d.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=E.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?E.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!S.test(t||n&&n.nodeName||"HTML")},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=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(T(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 u(s)},guid:1,support:g}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var C=o.pop,O=o.sort,$=o.splice,R="[\\x20\\t\\r\\n\\f]",F=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g");E.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(L,D)};var P=b,j=l;
vendor: 22,164 bytes, line 2
2!function(){var e,t,n,i,s,u,l,p,f,h,m=j,v=E.expando,y=0,b=0,_=ee(),w=ee(),x=ee(),A=ee(),S=function(e,t){return e===t&&(s=!0),0},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+R+"*("+L+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+R+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),M=new RegExp("^"+R+"*,"+R+"*"),I=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),H=new RegExp(R+"|>"),U=new RegExp(N),B=new RegExp("^"+L+"$"),z={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,J=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},G=function(){ue()},Y=fe((function(e){return!0===e.disabled&&k(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=a.call(P.childNodes),P.childNodes),o[P.childNodes.length].nodeType}catch(e){m={apply:function(e,t){j.apply(e,a.call(t))},call:function(e){j.apply(e,a.call(arguments,1))}}}function Z(e,t,n,r){var i,o,s,a,l,c,d,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(ue(t),t=t||u,p)){if(11!==y&&(l=K.exec(e)))if(i=l[1]){if(9===y){if(!(s=t.getElementById(i)))return n;if(s.id===i)return m.call(n,s),n}else if(h&&(s=h.getElementById(i))&&Z.contains(t,s)&&s.id===i)return m.call(n,s),n}else{if(l[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(A[e+" "]||f&&f.test(e))){if(d=e,h=t,1===y&&(H.test(e)||I.test(e))){for((h=X.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=E.escapeSelector(a):t.setAttribute("id",a=v)),o=(c=ce(e)).length;o--;)c[o]=(a?"#"+a:":scope")+" "+pe(c[o]);d=c.join(",")}try{return m.apply(n,h.querySelectorAll(d)),n}catch(t){A(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return ye(e.replace(F,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[v]=!0,e}function ne(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return k(t,"input")&&t.type===e}}function ie(e){return function(t){return(k(t,"input")||k(t,"button"))&&t.type===e}}function oe(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&&Y(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var n,r=e?e.ownerDocument||e:P;return r!=u&&9===r.nodeType&&r.documentElement?(l=(u=r).documentElement,p=!E.isXMLDoc(u),h=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&P!=u&&(n=u.defaultView)&&n.top!==n&&n.addEventListener("unload",G),g.getById=ne((function(e){return l.appendChild(e).id=E.expando,!u.getElementsByName||!u.getElementsByName(E.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return u.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,Q);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;l.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+R+"*(?:value|"+T+")"),e.querySelectorAll("[id~="+v+"-]").length||f.push("~="),e.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")")})),g.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),S=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument==P&&Z.contains(P,e)?-1:t===u||t.ownerDocument==P&&Z.contains(P,t)?1:i?c.call(i,e)-c.call(i,t):0:4&n?-1:1)},u):u}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ue(e),p&&!A[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return Z(t,u,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=u&&ue(e),E.contains(e,t)},Z.attr=function(e,n){(e.ownerDocument||e)!=u&&ue(e);var r=t.attrHandle[n.toLowerCase()],i=r&&d.call(t.attrHandle,n.toLowerCase())?r(e,n,!p):void 0;return void 0!==i?i:e.getAttribute(n)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},E.uniqueSort=function(e){var t,n=[],r=0,o=0;if(s=!g.sortStable,i=!g.sortStable&&a.call(e,0),O.call(e,S),s){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)$.call(e,n[r],1)}return i=null,e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(a.apply(this)))},t=E.expr={cacheLength:50,createPseudo:te,match:z,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(J,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(J,Q),"~="===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]||Z.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]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=ce(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(J,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return k(e,t)}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&_(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=Z.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(q," ")+" ").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),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!u&&!a,_=!1;if(m){if(o){for(;h;){for(p=t;p=p[h];)if(a?k(p,g):1===p.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&b){for(_=(f=(l=(c=m[v]||(m[v]={}))[e]||[])[0]===y&&l[1])&&l[2],p=f&&m.childNodes[f];p=++f&&p&&p[h]||(_=f=0)||d.pop();)if(1===p.nodeType&&++_&&p===t){c[e]=[y,f,_];break}}else if(b&&(_=f=(l=(c=t[v]||(t[v]={}))[e]||[])[0]===y&&l[1]),!1===_)for(;(p=++f&&p&&p[h]||(_=f=0)||d.pop())&&(!(a?k(p,g):1===p.nodeType)||!++_||(b&&((c=p[v]||(p[v]={}))[e]=[y,_]),p!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return i[v]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),s=o.length;s--;)e[r=c.call(e,o[s])]=!(t[r]=o[s])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(F,"$1"));return r[v]?te((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(J,Q),function(t){return(t.textContent||E.text(t)).indexOf(e)>-1}})),lang:te((function(e){return B.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(J,Q).toLowerCase(),function(t){var n;do{if(n=p?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(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return k(e,"input")&&!!e.checked||k(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return W.test(e.nodeName)},input:function(e){return V.test(e.nodeName)},button:function(e){return k(e,"input")&&"button"===e.type||k(e,"button")},text:function(e){var t;return k(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,n){return[n<0?n+t:n]})),even:se((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:se((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:se((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:se((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function le(){}function ce(e,n){var r,i,o,s,a,u,l,c=w[e+" "];if(c)return n?0:c.slice(0);for(a=e,u=[],l=t.preFilter;a;){for(s in r&&!(i=M.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=I.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(F," ")}),a=a.slice(r.length)),t.filter)!(i=z[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?Z.error(e):w(e,u).slice(0)}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function fe(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,u){var l,c,p=[y,a];if(u){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(c=t[v]||(t[v]={}),i&&k(t,i))t=t[r]||t;else{if((l=c[o])&&l[0]===y&&l[1]===a)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function de(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function me(e,t,n,r,i,o){return r&&!r[v]&&(r=me(r)),i&&!i[v]&&(i=me(i,o)),te((function(o,s,a,u){var l,p,f,d,h=[],g=[],v=s.length,y=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)Z(e,t[r],n);return n}(t||"*",a.nodeType?[a]:a,[]),b=!e||!o&&t?y:he(y,h,e,a,u);if(n?n(b,d=i||(o?e:v||r)?[]:s,a,u):d=b,r)for(l=he(d,g),r(l,[],a,u),p=l.length;p--;)(f=l[p])&&(d[g[p]]=!(b[g[p]]=f));if(o){if(i||e){if(i){for(l=[],p=d.length;p--;)(f=d[p])&&l.push(b[p]=f);i(null,d=[],l,u)}for(p=d.length;p--;)(f=d[p])&&(l=i?c.call(o,f):h[p])>-1&&(o[l]=!(s[l]=f))}}else d=he(d===s?d.splice(v,d.length):d),i?i(null,s,d,u):m.apply(s,d)}))}function ge(e){for(var r,i,o,s=e.length,a=t.relative[e[0].type],u=a||t.relative[" "],l=a?1:0,p=fe((function(e){return e===r}),u,!0),f=fe((function(e){return c.call(r,e)>-1}),u,!0),d=[function(e,t,i){var o=!a&&(i||t!=n)||((r=t).nodeType?p(e,t,i):f(e,t,i));return r=null,o}];l<s;l++)if(i=t.relative[e[l].type])d=[fe(de(d),i)];else{if((i=t.filter[e[l].type].apply(null,e[l].matches))[v]){for(o=++l;o<s&&!t.relative[e[o].type];o++);return me(l>1&&de(d),l>1&&pe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),i,l<o&&ge(e.slice(l,o)),o<s&&ge(e=e.slice(o)),o<s&&pe(e))}d.push(i)}return de(d)}function ve(e,r){var i,o=[],s=[],a=x[e+" "];if(!a){for(r||(r=ce(e)),i=r.length;i--;)(a=ge(r[i]))[v]?o.push(a):s.push(a);a=x(e,function(e,r){var i=r.length>0,o=e.length>0,s=function(s,a,l,c,f){var d,h,g,v=0,b="0",_=s&&[],w=[],x=n,A=s||o&&t.find.TAG("*",f),S=y+=null==x?1:Math.random()||.1,T=A.length;for(f&&(n=a==u||a||f);b!==T&&null!=(d=A[b]);b++){if(o&&d){for(h=0,a||d.ownerDocument==u||(ue(d),l=!p);g=e[h++];)if(g(d,a||u,l)){m.call(c,d);break}f&&(y=S)}i&&((d=!g&&d)&&v--,s&&_.push(d))}if(v+=b,i&&b!==v){for(h=0;g=r[h++];)g(_,w,a,l);if(s){if(v>0)for(;b--;)_[b]||w[b]||(w[b]=C.call(c));w=he(w)}m.apply(c,w),f&&!s&&w.length>0&&v+r.length>1&&E.uniqueSort(c)}return f&&(y=S,n=x),_};return i?te(s):s}(s,o)),a.selector=e}return a}function ye(e,n,r,i){var o,s,a,u,l,c="function"==typeof e&&e,f=!i&&ce(e=c.selector||e);if(r=r||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&p&&t.relative[s[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(J,Q),n)||[])[0]))return r;c&&(n=n.parentNode),e=e.slice(s.shift().value.length)}for(o=z.needsContext.test(e)?0:s.length;o--&&(a=s[o],!t.relative[u=a.type]);)if((l=t.find[u])&&(i=l(a.matches[0].replace(J,Q),X.test(s[0].type)&&ae(n.parentNode)||n))){if(s.splice(o,1),!(e=i.length&&pe(s)))return m.apply(r,i),r;break}}return(c||ve(e,f))(i,n,!p,r,!n||X.test(e)&&ae(n.parentNode)||n),r}le.prototype=t.filters=t.pseudos,t.setFilters=new le,g.sortStable=v.split("").sort(S).join("")===v,ue(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))})),E.find=Z,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,Z.compile=ve,Z.select=ye,Z.setDocument=ue,Z.tokenize=ce,Z.escape=E.escapeSelector,Z.getText=E.text,Z.isXML=E.isXMLDoc,Z.selectors=E.expr,Z.support=E.support,Z.uniqueSort=E.uniqueSort}();var N=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},q=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},M=E.expr.match.needsContext,I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return v(t)?E.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?E.grep(e,(function(e){return c.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<r;t++)if(E.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,i[t],n);return r>1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&M.test(e)?E(e):e||[],!1).length}});var U,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||U,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:B.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(r[1])&&E.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,U=E(b);var z=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function W(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&E(e);if(!M.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(E(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return W(e,"nextSibling")},prev:function(e){return W(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return q((e.parentNode||{}).firstChild,e)},children:function(e){return q(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,r){var i=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=E.filter(r,i)),this.length>1&&(V[e]||E.uniqueSort(i),z.test(e)&&i.reverse()),this.pushStack(i)}}));var K=/[^\x20\t\r\n\f]+/g;function X(e){return e}function J(e){throw e}function Q(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(K)||[],(function(e,n){t[n]=!0})),t}(e):E.extend({},e);var t,n,r,i,o=[],s=[],a=-1,u=function(){for(i=i||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){E.each(n,(function(n,r){v(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 E.each(arguments,(function(e,t){for(var n;(n=E.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?E.inArray(e,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=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function s(e,t,n,i){return function(){var a=this,u=arguments,l=function(){var r,l;if(!(e<o)){if((r=n.apply(a,u))===t.promise())throw new TypeError("Thenable self
2-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?i?l.call(r,s(o,t,X,i),s(o,t,J,i)):(o++,l.call(r,s(o,t,X,i),s(o,t,J,i),s(o,t,X,t.notifyWith))):(n!==X&&(a=void 0,u=[r]),(i||t.resolveWith)(a,u))}},c=i?l:function(){try{l()}catch(r){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(r,c.error),e+1>=o&&(n!==J&&(a=void 0,u=[r]),t.rejectWith(a,u))}};e?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),r.setTimeout(c))}}return E.Deferred((function(r){t[0][3].add(s(0,r,v(i)?i:X,r.notifyWith)),t[1][3].add(s(0,r,v(e)?e:X)),t[2][3].add(s(0,r,v(n)?n:J))})).promise()},promise:function(e){return null!=e?E.extend(e,i):i}},o={};return E.each(t,(function(e,r){var s=r[2],a=r[5];i[r[1]]=s.add,a&&s.add((function(){n=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=E.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(Q(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)Q(i[n],s(n),o.reject);return o.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&G.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){r.setTimeout((function(){throw e}))};var Y=E.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),r.removeEventListener("load",Z),E.ready()}E.fn.ready=function(e){return Y.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||Y.resolveWith(b,[E]))}}),E.ready.then=Y.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",Z),r.addEventListener("load",Z));var ee=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x(n))for(a in i=!0,n)ee(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,v(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(E(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function se(){this.expando=E.expando+se.uid++}se.uid=1,se.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(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[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(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(ie):(t=ie(t))in r?[t]:t.match(K)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||E.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&&!E.isEmptyObject(t)}};var ae=new se,ue=new se,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function pe(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:le.test(e)?JSON.parse(e):e)}(n)}catch(e){}ue.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return ue.hasData(e)||ae.hasData(e)},data:function(e,t,n){return ue.access(e,t,n)},removeData:function(e,t){ue.remove(e,t)},_data:function(e,t,n){return ae.access(e,t,n)},_removeData:function(e,t){ae.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=ue.get(o),1===o.nodeType&&!ae.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=ie(r.slice(5)),pe(o,r,i[r]));ae.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){ue.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=ue.get(o,e))||void 0!==(n=pe(o,e))?n:void 0;this.each((function(){ue.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ue.remove(this,e)}))}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ae.get(e,t),n&&(!r||Array.isArray(n)?r=ae.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){E.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:E.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?E.queue(this[0],e):void 0===t?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=E.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;
vendor: 16,956 bytes, line 2
2)(n=ae.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return E.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===E.css(e,"display")};function be(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return E.css(e,t,"")},u=a(),l=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==l&&+u)&&de.exec(E.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;s--;)E.style(e,t,c+l),(1-o)*(1-(o=a()/u||.5))<=0&&(s=0),c/=o;c*=2,E.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 _e={};function we(e){var t,n=e.ownerDocument,r=e.nodeName,i=_e[r];return i||(t=n.body.appendChild(n.createElement(r)),i=E.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),_e[r]=i,i)}function xe(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=ae.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ye(r)&&(i[o]=we(r))):"none"!==n&&(i[o]="none",ae.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}E.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?E(this).show():E(this).hide()}))}});var Ae,Se,Ee=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ke=/^$|^module$|\/(?:java|ecma)script/i;Ae=b.createDocumentFragment().appendChild(b.createElement("div")),(Se=b.createElement("input")).setAttribute("type","radio"),Se.setAttribute("checked","checked"),Se.setAttribute("name","t"),Ae.appendChild(Se),g.checkClone=Ae.cloneNode(!0).cloneNode(!0).lastChild.checked,Ae.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Ae.cloneNode(!0).lastChild.defaultValue,Ae.innerHTML="<option></option>",g.option=!!Ae.lastChild;var Ce={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Oe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?E.merge([e],n):n}function $e(e,t){for(var n=0,r=e.length;n<r;n++)ae.set(e[n],"globalEval",!t||ae.get(t[n],"globalEval"))}Ce.tbody=Ce.tfoot=Ce.colgroup=Ce.caption=Ce.thead,Ce.th=Ce.td,g.option||(Ce.optgroup=Ce.option=[1,"<select multiple='multiple'>","</select>"]);var Re=/<|&#?\w+;/;function Fe(e,t,n,r,i){for(var o,s,a,u,l,c,p=t.createDocumentFragment(),f=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))E.merge(f,o.nodeType?[o]:o);else if(Re.test(o)){for(s=s||p.appendChild(t.createElement("div")),a=(Te.exec(o)||["",""])[1].toLowerCase(),u=Ce[a]||Ce._default,s.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)s=s.lastChild;E.merge(f,s.childNodes),(s=p.firstChild).textContent=""}else f.push(t.createTextNode(o));for(p.textContent="",d=0;o=f[d++];)if(r&&E.inArray(o,r)>-1)i&&i.push(o);else if(l=ge(o),s=Oe(p.appendChild(o),"script"),l&&$e(s),n)for(c=0;o=s[c++];)ke.test(o.type||"")&&n.push(o);return p}var Le=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Pe(){return!1}function je(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)je(e,a,n,r,t[a],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=Pe;else if(!i)return e;return 1===o&&(s=i,i=function(e){return E().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=E.guid++)),e.each((function(){E.event.add(this,t,i,r,n)}))}function Ne(e,t,n){n?(ae.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var n,r=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),ae.set(this,t,r),this[t](),n=ae.get(this,t),ae.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(ae.set(this,t,E.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===ae.get(e,t)&&E.event.add(e,t,De)}E.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,d,h,m,g=ae.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&E.find.matchesSelector(me,i),n.guid||(n.guid=E.guid++),(u=g.events)||(u=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(K)||[""]).length;l--;)d=m=(a=Le.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d&&(p=E.event.special[d]||{},d=(i?p.delegateType:p.bindType)||d,p=E.event.special[d]||{},c=E.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[d])||((f=u[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),E.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,d,h,m,g=ae.hasData(e)&&ae.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(K)||[""]).length;l--;)if(d=m=(a=Le.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(p=E.event.special[d]||{},f=u[d=(r?p.delegateType:p.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)c=f[o],!i&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,g.handle)||E.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)E.event.remove(e,d+t[l],n,r,!0);E.isEmptyObject(u)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),u=E.event.fix(e),l=(ae.get(this,"events")||Object.create(null))[u.type]||[],c=E.event.special[u.type]||{};for(a[0]=u,t=1;t<arguments.length;t++)a[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(s=E.event.handlers.call(this,u,l),t=0;(i=s[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,s,a=[],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=[],s={},n=0;n<u;n++)void 0===s[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?E(i,this).index(l)>-1:E.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,u<t.length&&a.push({elem:l,handlers:t.slice(u)}),a},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Ne(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&k(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return Ee.test(t.type)&&t.click&&k(t,"input")&&ae.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Pe,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&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Pe,isPropagationStopped:Pe,isImmediatePropagationStopped:Pe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=ae.get(this,"handle"),r=E.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else E.event.simulate(t,e.target,E.event.fix(e))}E.event.special[e]={setup:function(){var r;if(Ne(this,e,!0),!b.documentMode)return!1;(r=ae.get(this,t))||this.addEventListener(t,n),ae.set(this,t,(r||0)+1)},trigger:function(){return Ne(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,n),ae.remove(this,t))},_default:function(t){return ae.get(t.target,e)},delegateType:t},E.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=ae.get(i,t);o||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),ae.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=ae.get(i,t)-1;o?ae.set(i,t,o):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),ae.remove(i,t))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||E.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),E.fn.extend({on:function(e,t,n,r){return je(this,e,t,n,r)},one:function(e,t,n,r){return je(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(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=Pe),this.each((function(){E.event.remove(this,e,n,t)}))}});var qe=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function He(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ze(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(i in ae.remove(t,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)E.event.add(t,i,a[i][n]);ue.hasData(e)&&(o=ue.access(e),s=E.extend({},o),ue.set(t,s))}}function Ve(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ee.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function We(e,t,n,r){t=u(t);var i,o,s,a,l,c,p=0,f=e.length,d=f-1,h=t[0],m=v(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&Me.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),We(o,t,n,r)}));if(f&&(o=(i=Fe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=E.map(Oe(i,"script"),Ue)).length;p<f;p++)l=i,p!==d&&(l=E.clone(l,!0,!0),a&&E.merge(s,Oe(l,"script"))),n.call(e[p],l,p);if(a)for(c=s[s.length-1].ownerDocument,E.map(s,Be),p=0;p<a;p++)l=s[p],ke.test(l.type||"")&&!ae.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Ie,""),l,c))}return e}function Ke(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(Oe(r)),r.parentNode&&(n&&ge(r)&&$e(Oe(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=Oe(a),r=0,i=(o=Oe(e)).length;r<i;r++)Ve(o[r],s[r]);if(t)if(n)for(o=o||Oe(e),s=s||Oe(a),r=0,i=o.length;r<i;r++)ze(o[r],s[r]);else ze(e,a);return(s=Oe(a,"script")).length>0&&$e(s,!u&&Oe(e,"script")),a},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[ae.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[ae.expando]=void 0}n[ue.expando]&&(n[ue.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?E.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 We(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return We(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return We(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return We(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&&(E.cleanData(Oe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return ee(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&&!qe.test(e)&&!Ce[(Te.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(Oe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return We(this,arguments,(function(t){var n=this.parentNode;E.inArray(this,e)<0&&(E.cleanData(Oe(this)),n&&n.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var n,r=[],i=E(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),E(i[s])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Xe=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Je=/^--/,Qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ge=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ye=new RegExp(he.join("|"),"i");function Ze(e,t,n){var r,i,o,s,a=Je.test(t),u=e.style;return(n=n||Qe(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(F,"$1")||void 0),""!==s||ge(e)||(s=E.style(e,t)),!g.pixelBoxStyles()&&Xe.test(s)&&Ye.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=s,s=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==s?s+"":s}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;
2left:-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%",me.appendChild(l).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",s=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),me.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,s,a,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,E.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){var t=E.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function ut(e,t,n){var r=de.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function lt(e,t,n,r,i,o){var s="width"===t?1:0,a=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=E.css(e,n+he[s],!0,i)),r?("content"===n&&(u-=E.css(e,"padding"+he[s],!0,i)),"margin"!==n&&(u-=E.css(e,"border"+he[s]+"Width",!0,i))):(u+=E.css(e,"padding"+he[s],!0,i),"padding"!==n?u+=E.css(e,"border"+he[s]+"Width",!0,i):a+=E.css(e,"border"+he[s]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-a-.5))||0),u+l}function ct(e,t,n){var r=Qe(e),i=(!g.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),o=i,s=Ze(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&k(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===E.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+lt(e,t,n||(i?"border":"content"),o,r,s)+"px"}function pt(e,t,n,r,i){return new pt.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=ie(t),u=Je.test(t),l=e.style;if(u||(t=it(a)),s=E.cssHooks[t]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=de.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(E.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,s,a=ie(t);return Je.test(t)||(t=it(a)),(s=E.cssHooks[t]||E.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Ze(e,t,r)),"normal"===i&&t in at&&(i=at[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ge(e,st,(function(){return ct(e,t,r)}))},set:function(e,n,r){var i,o=Qe(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===E.css(e,"boxSizing",!1,o),u=r?lt(e,t,r,a,o):0;return a&&s&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-lt(e,t,"border",!1,o)-.5)),u&&(i=de.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),ut(0,n,u)}}}
vendor: 2,022 bytes, line 2
2)),E.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ge(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(E.cssHooks[e+t].set=ut)})),E.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Qe(e),i=t.length;s<i;s++)o[t[s]]=E.css(e,t[s],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var t,n=pt.propHooks[this.prop];return this.options.duration?this.pos=t=E.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):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.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=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"}
vendor: 5,305 bytes, line 2
2,E.fx=pt.prototype.init,E.fx.step={};var ft,dt,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){dt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,E.fx.interval),E.fx.tick())}function vt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function yt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(_t.tweeners[t]||[]).concat(_t.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function _t(e,t,n){var r,i,o=0,s=_t.prefilters.length,a=E.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=ft||vt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(e,[l,r,n]),r<1&&s?n:(s||a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=E.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?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=E.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<s;o++)if(r=_t.prefilters[o].call(l,e,c,l.opts))return v(r.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return E.map(c,bt,l),v(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),E.fx.timer(E.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}E.Animation=E.extend(_t,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,de.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(K);for(var n,r=0,i=e.length;r<i;r++)n=e[r],_t.tweeners[n]=_t.tweeners[n]||[],_t.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,u,l,c,p="width"in t||"height"in t,f=this,d={},h=e.style,m=e.nodeType&&ye(e),g=ae.get(e,"fxshow");for(r in n.queue||(null==(s=E._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always((function(){f.always((function(){s.unqueued--,E.queue(e,"fx").length||s.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}d[r]=g&&g[r]||E.style(e,r)}if((u=!E.isEmptyObject(t))||!E.isEmptyObject(d))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=ae.get(e,"display")),"none"===(c=E.css(e,"display"))&&(l?c=l:(xe([e],!0),l=e.style.display||l,c=E.css(e,"display"),xe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===E.css(e,"float")&&(u||(f.done((function(){h.display=l})),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,d)u||(g?"hidden"in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:l}),o&&(g.hidden=!m),m&&xe([e],!0),f.done((function(){for(r in m||xe([e]),ae.remove(e,"fxshow"),d)E.style(e,r,d[r])}))),u=bt(m?g[r]:0,r,f),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?_t.prefilters.unshift(e):_t.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return E.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in E.fx.speeds?r.duration=E.fx.speeds[r.duration]:r.duration=E.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=E.isEmptyObject(e),o=E.speed(t,n,r),s=function(){var t=_t(this,E.extend({},e),o);(i||ae.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=E.timers,s=ae.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&mt.test(i)&&r(s[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||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ae.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=E.timers,s=r?r.length:0;for(n.finish=!0,E.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)
vendor: 22,146 bytes, line 2
2);for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,r,i)}})),E.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),ft=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){dt||(dt=!0,gt())},E.fx.stop=function(){dt=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(e,t){return e=E.fx&&E.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var wt,xt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return ee(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void E.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=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&k(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(K);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=xt[t]||E.find.attr;xt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=xt[s],xt[s]=i,i=null!=n(e,t,r)?s:null,xt[s]=o),i}}));var At=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function Et(e){return(e.match(K)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(K)||[]}E.fn.extend({prop:function(e,t){return ee(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.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=E.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(E.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)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,r,i,o,s;return v(e)?this.each((function(t){E(this).addClass(e.call(this,t,Tt(this)))})):(t=kt(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+Et(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");s=Et(n),r!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,r,i,o,s;return v(e)?this.each((function(t){E(this).removeClass(e.call(this,t,Tt(this)))})):arguments.length?(t=kt(e)).length?this.each((function(){if(r=Tt(this),n=1===this.nodeType&&" "+Et(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");s=Et(n),r!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,s=typeof e,a="string"===s||Array.isArray(e);return v(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,Tt(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=kt(e),this.each((function(){if(a)for(o=E(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==s||((r=Tt(this))&&ae.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":ae.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Et(Tt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;E.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,E(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:Et(E.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],u=s?o+1:i.length;for(r=o<0?u:s?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(t=E(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=E.makeArray(t),s=i.length;s--;)((r=i[s]).selected=E.inArray(E.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},g.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Ot=r.location,$t={guid:Date.now()},Rt=/\?/;E.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Ft=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,i){var o,s,a,u,l,c,p,f,h=[n||b],m=d.call(e,"type")?e.type:e,g=d.call(e,"namespace")?e.namespace.split("."):[];if(s=f=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ft.test(m+E.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[E.expando]?e:new E.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),p=E.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(n,t))){if(!i&&!p.noBubble&&!y(n)){for(u=p.delegateType||m,Ft.test(u+m)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(n.ownerDocument||b)&&h.push(a.defaultView||a.parentWindow||r)}for(o=0;(s=h[o++])&&!e.isPropagationStopped();)f=s,e.type=o>1?u:p.bindType||m,(c=(ae.get(s,"events")||Object.create(null))[e.type]&&ae.get(s,"handle"))&&c.apply(s,t),(c=l&&s[l])&&c.apply&&oe(s)&&(e.result=c.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!oe(n)||l&&v(n[m])&&!y(n)&&((a=n[l])&&(n[l]=null),E.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Lt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Lt),E.event.triggered=void 0,a&&(n[l]=a)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var Dt=/\[\]$/,Pt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function qt(e,t,n,r){var i;if(Array.isArray(t))E.each(t,(function(t,i){n||Dt.test(e)?r(e,i):qt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)qt(e+"["+i+"]",t[i],n,r)}E.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){i(this.name,this.value)}));else for(n in e)qt(n,e[n],t,i);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Nt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Ee.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}})):{name:t.name,value:n.replace(Pt,"\r\n")}})).get()}});var Mt=/%20/g,It=/#.*$/,Ht=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,zt=/^\/\//,Vt={},Wt={},Kt="*/".concat("*"),Xt=b.createElement("a");function Jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(K)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Qt(e,t,n,r){var i={},o=e===Wt;function s(a){var u;return i[a]=!0,E.each(e[a]||[],(function(e,a){var l=a(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),s(l),!1)})),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Gt(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}Xt.href=Ot.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,E.ajaxSettings),t):Gt(E.ajaxSettings,e)},ajaxPrefilter:Jt(Vt),ajaxTransport:Jt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,s,a,u,l,c,p,f,d=E.ajaxSetup({},t),h=d.context||d,m=d.context&&(h.nodeType||h.jquery)?E(h):E.event,g=E.Deferred(),v=E.Callbacks("once memory"),y=d.statusCode||{},_={},w={},x="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Ut.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)A.always(e[A.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),S(0,t),this}};if(g.promise(A),d.url=((e||d.url||Ot.href)+"").replace(zt,Ot.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(K)||[""],null==d.crossDomain){u=b.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Xt.protocol+"//"+Xt.host!=u.protocol+"//"+u.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=E.param(d.data,d.traditional)),Qt(Vt,d,t,A),l)return A;for(p in(c=E.event&&d.global)&&0==E.active++&&E.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Bt.test(d.type),i=d.url.replace(It,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Mt,"+")):(f=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Rt.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Ht,"$1"),f=(Rt.test(i)?"&":"?")+"_="+$t.guid+++f),d.url=i+f),d.ifModified&&(E.lastModified[i]&&A.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&A.setRequestHeader("If-None-Match",E.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&A.setRequestHeader("Content-Type",d.contentType),A.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Kt+"; q=0.01":""):d.accepts["*"]),d.headers)A.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(h,A,d)||l))return A.abort();if(x="abort",v.add(d.complete),A.done(d.success),A.fail(d.error),n=Qt(Wt,d,t,A)){if(A.readyState=1,c&&m.trigger("ajaxSend",[A,d]),l)return A;d.async&&d.timeout>0&&(a=r.setTimeout((function(){A.abort("timeout")}),d.timeout));try{l=!1,n.send(_,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,s,u){var p,f,b,_,w,x=t;l||(l=!0,a&&r.clearTimeout(a),n=void 0,o=u||"",A.readyState=e>0?4:0,p=e>=200&&e<300||304===e,s&&(_=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[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}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(d,A,s)),!p&&E.inArray("script",d.dataTypes)>-1&&E.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),_=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();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(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[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&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(d,_,A,p),p?(d.ifModified&&((w=A.getResponseHeader("Last-Modified"))&&(E.lastModified[i]=w),(w=A.getResponseHeader("etag"))&&(E.etag[i]=w)),204===e||"HEAD"===d.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,p=!(b=_.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),A.status=e,A.statusText=(t||x)+"",p?g.resolveWith(h,[f,x,A]):g.rejectWith(h,[A,x,b]),A.statusCode(y),y=void 0,c&&m.trigger(p?"ajaxSuccess":"ajaxError",[A,d,p?f:b]),v.fireWith(h,[A,x]),c&&(m.trigger("ajaxComplete",[A,d]),--E.active||E.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:i,data:n,success:r},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Zt=E.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials"in Zt,g.ajax=Zt=!!Zt,E.ajaxTransport((function(e){var t,n;if(g.cors||Zt&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Yt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.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 E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||E.expando+"_"+$t.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,s,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(Rt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||E.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){s=arguments},n.always((function(){void 0===o?E(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=I.exec(e))?[t.createElement(i[1])]:(i=Fe([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var r,i,o},E.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=Et(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l=E.css(e,"position"),c=E(e),p={};"static"===l&&(e.style.position="relative"),a=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+i),"using"in t?t.using.call(e,p):c.css(p)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.
2css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||me}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(r){return ee(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)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=Ze(e,t),Xe.test(n)?E(e).position()[t]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){E.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return ee(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?E.css(t,n,a):E.style(t,n,i,a)}),t,s?i:void 0,s)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),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(e,t){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=a.call(arguments,2),i=function(){return e.apply(t||this,r.concat(a.call(arguments)))},i.guid=e.guid=e.guid||E.guid++,i},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=k,E.isFunction=v,E.isWindow=y,E.camelCase=ie,E.type=x,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return E}.apply(t,[]))||(e.exports=n);var on=r.jQuery,sn=r.$;return E.noConflict=function(e){return r.$===E&&(r.$=sn),e&&r.jQuery===E&&(r.jQuery=on),E},void 0===i&&(r.jQuery=r.$=E),E}))},96357:function(){window.Element&&!Element.prototype.toggleAttribute&&(Element.prototype.toggleAttribute=function(e,t){var n=!!t,r=2===arguments.length&&!t;return null!==this.getAttribute(e)?!!n||(this.removeAttribute(e),!1):!r&&(this.setAttribute(e,""),!0)})},73668:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,a=new t(512),u=new t(512),l=new t(512);function c(e){return a.get(e)||a.set(e,p(e).map((function(e){return e.replace(s,"$2")})))}function p(e){return e.match(n)||[""]}function f(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function d(e){return!f(e)&&(function(e){return e.match(i)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:p,normalizePath:c,setter:function(e){var t=c(e);return u.get(e)||u.set(e,(function(e,n){for(var r=0,i=t.length,o=e;r<i-1;){var s=t[r];
2if("__proto__"===s||"constructor"===s||"prototype"===s)return e;o=o[t[r++]]}o[t[r]]=n}))},getter:function(e,t){var n=c(e);return l.get(e)||l.set(e,(function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(f(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,i,o,s,a=e.length;for(i=0;i<a;i++)(r=e[i])&&(d(r)&&(r='"'+r+'"'),o=!(s=f(r))&&/^\d+$/.test(r),t.call(n,r,s,o,i,e))}(Array.isArray(e)?e:p(e),t,n)}}},6176:function(e,t,n){var r,i,o;o=function(){"use strict";var e,t,n=["webkit","Moz","ms","O"],r={};function i(e,t){var n,r=document.createElement(e||"div");for(n in t)r[n]=t[n];return r}function o(e){for(var t=1,n=arguments.length;t<n;t++)e.appendChild(arguments[t]);return e}function s(n,i,o,s){var a=["opacity",i,~~(100*n),o,s].join("-"),u=.01+o/s*100,l=Math.max(1-(1-n)/i*(100-u),n),c=e.substring(0,e.indexOf("Animation")).toLowerCase(),p=c&&"-"+c+"-"||"";return r[a]||(t.insertRule("@"+p+"keyframes "+a+"{0%{opacity:"+l+"}"+u+"%{opacity:"+n+"}"+(u+.01)+"%{opacity:1}"+(u+i)%100+"%{opacity:"+n+"}100%{opacity:"+l+"}}",t.cssRules.length),r[a]=1),a}function a(e,t){var r,i,o=e.style;if(void 0!==o[t=t.charAt(0).toUpperCase()+t.slice(1)])return t;for(i=0;i<n.length;i++)if(void 0!==o[r=n[i]+t])return r}function u(e,t){for(var n in t)e.style[a(e,n)||n]=t[n];return e}function l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)void 0===e[r]&&(e[r]=n[r])}return e}function c(e,t){return"string"==typeof e?e:e[t%e.length]}var p,f={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:1/4,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1,position:"absolute"};function d(e){this.opts=l(e||{},d.defaults,f)}if(d.defaults={},l(d.prototype,{spin:function(t){this.stop();var n=this,r=n.opts,o=n.el=i(null,{className:r.className});if(u(o,{position:r.position,width:0,zIndex:r.zIndex,left:r.left,top:r.top}),t&&t.insertBefore(o,t.firstChild||null),o.setAttribute("role","progressbar"),n.lines(o,n.opts),!e){var s,a=0,l=(r.lines-1)*(1-r.direction)/2,c=r.fps,p=c/r.speed,f=(1-r.opacity)/(p*r.trail/100),d=p/r.lines;!function e(){a++;for(var t=0;t<r.lines;t++)s=Math.max(1-(a+(r.lines-t)*d)%p*f,r.opacity),n.opacity(o,t*r.direction+l,s,r);n.timeout=n.el&&setTimeout(e,~~(1e3/c))}()}return n},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this},lines:function(t,n){var r,a=0,l=(n.lines-1)*(1-n.direction)/2;function p(e,t){return u(i(),{position:"absolute",width:n.scale*(n.length+n.width)+"px",height:n.scale*n.width+"px",background:e,boxShadow:t,transformOrigin:"left",transform:"rotate("+~~(360/n.lines*a+n.rotate)+"deg) translate("+n.scale*n.radius+"px,0)",borderRadius:(n.corners*n.scale*n.width>>1)+"px"})}for(;a<n.lines;a++)r=u(i(),{position:"absolute",top:1+~(n.scale*n.width/2)+"px",transform:n.hwaccel?"translate3d(0,0,0)":"",opacity:n.opacity,animation:e&&s(n.opacity,n.trail,l+a*n.direction,n.lines)+" "+1/n.speed+"s linear infinite"}),n.shadow&&o(r,u(p("#000","0 0 4px #000"),{top:"2px"})),o(t,o(r,p(c(n.color,a),"0 0 1px rgba(0,0,0,.1)")));return t},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n)}}),"undefined"!=typeof document){p=i("style",{type:"text/css"}),o(document.getElementsByTagName("head")[0],p),t=p.sheet||p.styleSheet;var h=u(i("group"),{behavior:"url(#default#VML)"});!a(h,"transform")&&h.adj?function(){function e(e,t){return i("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t)}t.addRule(".spin-vml","behavior:url(#default#VML)"),d.prototype.lines=function(t,n){var r=n.scale*(n.length+n.width),i=2*n.scale*r;function s(){return u(e("group",{coordsize:i+" "+i,coordorigin:-r+" "+-r}),{width:i,height:i})}var a,l=-(n.width+n.length)*n.scale*2+"px",p=u(s(),{position:"absolute",top:l,left:l});function f(t,i,a){o(p,o(u(s(),{rotation:360/n.lines*t+"deg",left:~~i}),o(u(e("roundrect",{arcsize:n.corners}),{width:r,height:n.scale*n.width,left:n.scale*n.radius,top:-n.scale*n.width>>1,filter:a}),e("fill",{color:c(n.color,t),opacity:n.opacity}),e("stroke",{opacity:0}
2))))}if(n.shadow)for(a=1;a<=n.lines;a++)f(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=n.lines;a++)f(a);return o(t,p)},d.prototype.opacity=function(e,t,n,r){var i=e.firstChild;r=r.shadow&&r.lines||0,i&&t+r<i.childNodes.length&&(i=(i=(i=i.childNodes[t+r])&&i.firstChild)&&i.firstChild)&&(i.opacity=n)}}():e=a(h,"animation")}return d},e.exports?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)},45714:function(e){const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),o=e=>n(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");e.exports={words:n,upperFirst:r,camelCase:o,pascalCase:e=>r(o(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},92981:function(e){function t(e,t){var n=e.length,r=new Array(n),i={},o=n,s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!a.has(e[0])||!a.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||u(e[o],o,new Set);return r;function u(e,t,o){if(o.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(e){l=""}throw new Error("Cyclic dependency"+l)}if(!a.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var c=s.get(e)||new Set;if(t=(c=Array.from(c)).length){o.add(e);do{var p=c[--t];u(p,a.get(p),o)}while(t);o.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},79287:function(){(()=>{var e=[,()=>{window.up={version:"3.9.3"}},()=>{up.mockable=function(e){if(window.jasmine){let t=e.name,n={[t]:e},r=function(){return n[t].apply(this,arguments)};return r.mock=()=>spyOn(n,t),r}return e}},()=>{up.util=function(){function e(){}function t(e,t){t=R(t,{host:"cross-domain"});const n=s(e);let r="";"cross-domain"===t.host&&(t.host=o(n)),t.host&&(r+=n.protocol+"//"+n.host);let{pathname:i}=n;return!1===t.trailingSlash&&"/"!==i&&(i=i.replace(/\/$/,"")),r+=i,!1!==t.search&&(r+=n.search),!1!==t.hash&&(r+=n.hash),r}function n(e,n){if(e)return t(e,{hash:!1,trailingSlash:!1,...n})}const r=location.protocol,i=location.hostname;function o(e){if(y(e)&&-1===e.indexOf("//"))return!1;const t=s(e);return i!==t.hostname||r!==t.protocol}function s(e){if(e.pathname)return e;let t=document.createElement("a");return t.href=e,t}function a(e){return y(e)?t=>t[e]:e}function u(e,t){if(0===e.length)return[];t=a(t);let n=[],r=0;for(let i of e)n.push(t(i,r++));return n}function l(e,t){let n=0;for(let r of e)t(r,n++)}function c(e){return null===e}function p(e){return void 0===e}const f=Z(p);function d(e){return p(e)||c(e)}const h=Z(d);function m(e){return!!d(e)||(w(e)&&e[m.key]?e[m.key]():y(e)||T(e)?0===e.length:!!_(e)&&0===Object.keys(e).length)}m.key="up.util.isBlank";const g=Z(m);function v(e){return"function"==typeof e}function y(e){return"string"==typeof e||e instanceof String}function b(e){return"number"==typeof e||e instanceof Number}function _(e){return"object"==typeof e&&!c(e)&&(p(e.constructor)||e.constructor===Object)}function w(e){const t=typeof e;return"object"===t&&!c(e)||"function"===t}function x(e){return e instanceof Element}function A(e){return e instanceof RegExp}function S(e){return up.browser.canJQuery()&&e instanceof jQuery}const{isArray:E}=Array;function T(e){return E(e)||function(e){return e instanceof NodeList}(e)||function(e){return"[object Arguments]"===Object.prototype.toString.call(e)}(e)||S(e)||function(e){return e instanceof HTMLCollection}(e)}function k(e){return T(e)?e:d(e)?[]:[e]}function C(e){return w(e)&&e[C.key]?e=e[C.key]():T(e)?e=O(e):_(e)&&(e=Object.assign({},e)),e}function O(e){return Array.prototype.slice.call(e)}function $(...e){return Object.assign({},...e)}function R(e,t){return t?$(t,e):e?C(e):{}}function F(e,t){t=a(t);let n=0;
2for(let r of e){const e=t(r,n++);if(e)return e}}function L(e,t){t=a(t);let n=!0,r=0;for(let i of e)if(!t(i,r++)){n=!1;break}return n}function D(e){return P(e,h)}function P(e,t){t=a(t);const n=[];return l(e,(function(e,r){if(t(e,r))return n.push(e)})),n}function j(e){return e[e.length-1]}function N(e,t){return(e.indexOf||Array.prototype.indexOf).call(e,t)>=0}function q(e,t){const n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function M(e,t){t=a(t);const n={};for(let r in e){t(e[r],r,e)&&(n[r]=e[r])}return n}function I(e,...t){return v(e)?e(...t):e}C.key="up.util.copy",Date.prototype[C.key]=function(){return new Date(+this)};const H={"&":"&","<":"<",">":">",'"':""","'":"'"};function U(e,t){const n=e[t];return delete e[t],n}function B(e,t){if(t(j(e)))return e.pop()}function z(e){return B(e,_)||{}}function V(e){return e}function W(e){const t=[];for(let n of e)T(n)?t.push(...n):t.push(n);return t}function K(e,t){if(e?.valueOf&&(e=e.valueOf()),t?.valueOf&&(t=t.valueOf()),typeof e!=typeof t)return!1;if(T(e)&&T(t))return X(e,t);if(w(e)&&e[K.key])return e[K.key](t);if(_(e)&&_(t)){const n=Object.keys(e);return!!X(n,Object.keys(t))&&L(n,(n=>K(e[n],t[n])))}return e===t}function X(e,t){return e.length===t.length&&L(e,((e,n)=>K(e,t[n])))}K.key="up.util.isEqual";const J={"space/or":/\s+(?:or\s+)?/,or:/\s+or\s+/,comma:/\s*,\s*/};let Q=0;function G(e,t="%o"){let n;if("%c"===t)return"";if("%s"===t&&h(e)&&(e=e.toString()),y(e))n=e.trim().replace(/[\n\r\t ]+/g," "),"%o"===t&&(n=JSON.stringify(n));else if(p(e))n="undefined";else if(b(e)||v(e))n=e.toString();else if(E(e))n=`[${u(e,G).join(", ")}]`;else if(S(e))n=`$(${u(e,G).join(", ")})`;else if(x(e)){n=`<${e.tagName.toLowerCase()}`;for(let t of["id","up-id","name","class"]){let r=e.getAttribute(t);r&&(n+=` ${t}="${r}"`)}n+=">"}else if(A(e)||e instanceof Error)n=e.toString();else try{n=JSON.stringify(e)}catch(e){if("TypeError"!==e.name)throw e;n="(circular structure)"}return n.length>200&&(n=`${n.substr(0,200)}…${j(n)}`),n}const Y=/%[oOdisfc]/g;function Z(e){return function(...t){return!e(...t)}}function ee(e){if(e.error)throw e.error;return e.value}function te(e,t,n){try{return{value:e.apply(t,n)}}catch(e){return{error:e}}}return{parseURL:s,normalizeURL:t,matchableURL:n,matchableURLPatternAtom:function(e){return e.endsWith("/")?[e,e.slice(0,-1)]:e.includes("/?")?[e,e.replace("/?","?")]:e.endsWith("/*")?[e,e.slice(0,-2),e.slice(0,-2)+"?*"]:e},matchURLs:function(e,t,r){return n(e,r)===n(t,r)},normalizeMethod:function(e){return e?e.toUpperCase():"GET"},methodAllowsPayload:function(e){return"GET"!==e&&"HEAD"!==e},copy:C,merge:$,mergeDefined:function(...e){const t={};for(let n of e)if(n)for(let e in n){const r=n[e];f(r)&&(t[e]=r)}return t},options:R,parseArgIntoOptions:function(e,t){let n=z(e);return f(e[0])&&(n=C(n),n[t]=e[0]),n},each:l,map:u,flatMap:function(e,t){return W(u(e,t))},mapObject:function(e,t){return u(e,t).reduce((function(e,t){return e[t[0]]=t[1],e}),{})},findResult:F,some:function(e,t){return!!F(e,t)},every:L,find:function(e,t){let n;t=a(t);for(let r of e)if(t(r)){n=r;break}return n},filter:P,reject:function(e,t){return P(e,t=Z(a(t)))},intersect:function(e,t){return P(e,(e=>N(t,e)))},compact:D,compactObject:function(e){return M(e,h)},uniq:function(e){return e.length<2?e:Array.from(new Set(e))},uniqBy:function(e,t){if(e.length<2)return e;t=a(t);const n=new Set;return P(e,(function(e,r){const i=t(e,r);return!n.has(i)&&(n.add(i),!0)}))},last:j,isNull:c,isDefined:f,isUndefined:p,isGiven:h,isMissing:d,isPresent:g,isBlank:m,presence:function(e,t=g){if(t(e))return e},isObject:w,isFunction:v,isString:y,isBoolean:function(e){return"boolean"==typeof e||e instanceof Boolean},isNumber:b,isElement:x,isJQuery:S,isElementish:function(e){return!(!e||!e.addEventListener&&!e[0]?.addEventListener)},isPromise:function(e){return w(e)&&v(e.then)},isOptions:_,isArray:E,isFormData:function(e){return e instanceof FormData},isList:T,isRegExp:A,timer:function(e,t){return setTimeout(t,e)},contains:N,containsAll:function(e,t){return L(t,(t=>N(e,t)))},objectContains:function(e,t){return K(t,q(e,Object.keys(t)))},toArray:function(e){return E(e)?e:O(e)},pick:q,pickBy:M,omit:function(e,t){return M(e,((e,n)=>!N(t,n)))},unresolvablePromise:function(){return new Promise(e)},remove:function(e,t){const n=e.indexOf(t);if(n>=0)return e.splice(n,1),t},memoize:function(e){let t,n;return function(...r){return n?t:(n=!0,t=e.apply(this,r))}},pluckKey:U,renameKey:function(e,t,n){return e[n]=U(e,t)},extractOptions:z,extractCallback:function(e){return B(e,v)},noop:e,asyncNoop:function(){return Promise.resolve()},identity:V,escapeHTML:function(e){return e.replace(/[&<>"']/g,(e=>H[e]))},escapeRegExp:function(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")},sequence:function(e){return e=D(e),(...t)=>u(e,(e=>e(...t)))},evalOption:I,evalAutoOption:function(e,t,...n){return"auto"===(e=I(e,...n))&&
2(e=I(t,...n)),e},flatten:W,newDeferred:function(){let e,t;const n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n},always:function(e,t=V){return e.then(t,t)},isBasicObjectProperty:function(e){return Object.prototype.hasOwnProperty(e)},isCrossOrigin:o,task:function(e){return setTimeout(e)},isEqual:K,parseTokens:function(e,t={}){if(y(e)){if(e=e.trim(),t.json&&/^\[.*]$/.test(e))return JSON.parse(e);{let n=t.separator||"space/or",r=J[n];return e.split(r)}}return k(e)},wrapList:k,wrapValue:function(e,...t){return t[0]instanceof e?t[0]:new e(...t)},uid:function(){return Q++},upperCaseFirst:function(e){return e[0].toUpperCase()+e.slice(1)},lowerCaseFirst:function(e){return e[0].toLowerCase()+e.slice(1)},delegate:function(e,t,n){for(let r of t)Object.defineProperty(e,r,{get(){const e=n.call(this);let t=e[r];return v(t)&&(t=t.bind(e)),t},set(e){n.call(this)[r]=e}})},reverse:function(e){return C(e).reverse()},camelToKebabCase:function(e){return e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))},replaceValue:function(e,t,n){return e===t?n:e},sprintf:function(e,...t){return e.replace(Y,(e=>G(t.shift(),e)))},renameKeys:function(e,t){const n={};for(let r in e)n[t(r)]=e[r];return n},memoizeMethod:function(e,t){for(let n in t){let t=Object.getOwnPropertyDescriptor(e,n).value,r=function(...e){let r=this[`__${n}MemoizeCache`]||={},i=JSON.stringify(e);return r[i]||=te(t,this,e),ee(r[i])};e[n]=r}},safeStringifyJSON:function(e){return function(e){let t=e=>"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0");return e.replace(/[^\x00-\x7F]/g,t)}(JSON.stringify(e))},variant:function(e,t={}){let n=Object.create(e);return Object.assign(n,t),n}}}()},()=>{up.error=function(){function e(e){if("object"!=typeof(t=e)||!("AbortError"===t.name||t instanceof up.RenderResult||t instanceof up.Response))throw e;var t}function t(e){try{return e()}catch(e){!function(e){let t=new ErrorEvent("error",{error:e,message:"Uncaught "+e});window.dispatchEvent(t)}(e)}}return{fail:function(...e){throw new up.Error(e)},throwCritical:e,muteUncriticalRejection:function(t){return t.catch(e)},muteUncriticalSync:function(t){try{return t()}catch(t){e(t)}},guard:t,guardFn:function(e){return(...n)=>t((()=>e(...n)))}}}(),up.fail=up.error.fail},()=>{up.migrate={config:{}}},()=>{up.browser={submitForm:function(e){e.submit()},canPushState:function(){return"GET"===up.protocol.initialRequestMethod()},canJQuery:function(){return!!window.jQuery},assertConfirmed:function(e){if(e.confirm&&!window.confirm(e.confirm))throw new up.Aborted("User canceled action");return!0},popCookie:function(e){let t=document.cookie.match(new RegExp(e+"=(\\w+)"))?.[1];if(t)return document.cookie=e+"=;Max-Age=0;Path=/",t},canHasSelector:up.util.memoize((()=>CSS.supports("selector(:has(*))")))}},(e,t,n)=>{n(8),up.element=function(){const e=up.util;function t(...e){const t=e.pop();return(e[0]||document).querySelector(t)}function n(e,t){const n=[];return e.matches(t)&&n.push(e),n.push(...e.querySelectorAll(t)),n}function r(...n){const r=n.pop();return e.isElement(r)?r:e.isString(r)?t(...n,r):e.isList(r)?(r.length>1&&up.fail("up.element.get(): Cannot cast multiple elements (%o) to a single element",r),r[0]):r}function i(...t){return e.flatMap(t,o)}function o(t){return e.isString(t)?document.querySelectorAll(t):e.wrapList(t)}function s(e){e.setAttribute("hidden","")}function a(e){e.removeAttribute("hidden"),"none"===e.style.display&&(e.style.display="")}function u(t,n){for(let r in n){const i=n[r];e.isGiven(i)?t.setAttribute(r,i):t.removeAttribute(r)}}function l(t,n={}){let r,i,o,{includePath:s}=c(t);for(let e of s){let{tagName:t,id:n,classNames:s,attributes:a}=e;t&&"*"!==t||(t="div"),i=document.createElement(t),r||(r=i),n&&(i.id=n);for(let e of s)i.classList.add(e);for(let e in a){let t=a[e];i.setAttribute(e,t||"")}o?.appendChild(i),o=i}for(let t in n){let i=n[t];if("class"===t)for(let t of e.wrapList(i))r.classList.add(t);else"style"===t?E(r,i):"text"===t?r.textContent=i:"content"===t?r.innerHTML=i:r.setAttribute(t,i)}return r}function c(e){let t;const n=e.replace(/:not\([^)]+\)/,(function(e){return t=e,""})),[r,i]=function(e){let t=[];return e=f(e,(function({name:e,value:n}){return t.push(n),`[${e}
2]`})),[e,t]}(n);return{includePath:r.split(/[ >]+/).map((function(t){let n={tagName:null,classNames:[],id:null,attributes:{}};return t=(t=(t=t.replace(/^[\w-*]+/,(function(e){return n.tagName=e,""}))).replace(/#([\w-]+)/,(function(e,t){return n.id=t,""}))).replace(/\.([\w-]+)/g,(function(e,t){return n.classNames.push(t),""})),i.length&&(t=f(t,(function({name:e}){return n.attributes[e]=i.shift(),""}))),t&&up.fail("Cannot parse selector: "+e),n})),includeRaw:n,excludeRaw:t}}const p=/\[([\w-]+)(?:([~|^$*]?=)(["'])?([^\3\]]*?)\3)?]/g;function f(e,t){return e.replace(p,(function(e,n,r,i,o){return o&&(o=o.replace(/\\([\\"'])/,"$1")),t({name:n,operator:r,quote:i,value:o})}))}const d=["HTML","BODY","HEAD","TITLE"];function h(t,n){return e.isGiven(n)?`[${t}="${n=n.replace(/"/g,'\\"')}"]`:`[${t}]`}function m(e){const t=document.createRange();t.setStart(document.body,0);let n=t.createContextualFragment(e.trim()).childNodes;if(1!==n.length)throw new Error("HTML must have a single root element");return n[0]}function g(e){e.offsetHeight}function v(t,n,r){e.isMissing(t.getAttribute(n))&&t.setAttribute(n,r)}function y(t,n){let r=t.getAttribute(n);return e.replaceValue(r,null,void 0)}function b(e,t,n){if(!e.hasAttribute(t))return;const r=y(e,t);switch(r){case"false":return!1;case"true":case"":case t:return!0;default:return!n||r}}function _(e,t){const n=A(e,Object.keys(t));return E(e,t),()=>E(e,n)}function w(e,t){return S(window.getComputedStyle(e),t)}function x(t,n){const r=w(t,n);if(e.isPresent(r))return parseFloat(r)}function A(e,t){const{style:n}=e;return S(n,t)}function S(t,n){return up.migrate.loaded&&(n=up.migrate.fixStyleProps(n)),e.isString(n)?t.getPropertyValue(n):e.mapObject(n,(e=>[e,t.getPropertyValue(e)]))}function E(t,n,r=""){if(up.migrate.loaded&&(n=up.migrate.fixStyleProps(n,r)),e.isString(n))t.setAttribute("style",n);else{const{style:e}=t;for(let t in n){let i=n[t];e.setProperty(t,i+r)}}}function T(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function k(e){return/^up-/.test(e)}return{subtree:n,contains:function(e,t){const n=r(t);return Node.prototype.contains.call(e,n)},closestAttr:function(e,t,n=y){let r=e.closest("["+t+"]");if(r)return n(r,t)},ancestor:function(e,t){return e.parentNode?.closest(t)},around:function(e,t){return i(e.closest(t),n(e,t))},get:r,list:i,toggle:function(e,t){null==t&&(t=!T(e)),(t?a:s)(e)},hide:s,show:a,metaContent:function(e){const n="meta"+h("name",e);return t(n)?.getAttribute("content")},insertBefore:function(e,t){e.insertAdjacentElement("beforebegin",t)},createFromSelector:l,setAttrs:u,setTemporaryAttrs:function(e,t){const n={};for(let r of Object.keys(t))n[r]=e.getAttribute(r);return u(e,t),()=>u(e,n)},affix:function(t,...n){let r,i;const o=e.extractOptions(n);2===n.length?[r,i]=n:(r="beforeend",i=n[0]);const s=l(i,o);return t.insertAdjacentElement(r,s),s},idSelector:function(e){return e.match(/^[a-z][a-z0-9\-_]*$/i)?`#${e}`:h("id",e)},classSelector:function(e){return`.${e=e.replace(/[^\w-]/g,"\\$&")}`},isSingleton:up.mockable((e=>e.matches(d.join()))),attrSelector:h,tagName:function(e){return e.tagName.toLowerCase()},createBrokenDocumentFromHTML:function(e){return(new DOMParser).parseFromString(e,"text/html")},fixParserDamage:function(e){let t=m(e.outerHTML);e.replaceWith(t)},createFromHTML:m,get root(){return document.documentElement},paint:g,concludeCSSTransition:function(e){const t=_(e,{transition:"none"});return g(e),t},hasCSSTransition:function(e){const t=e["transition-property"],n=e["transition-duration"];return!("none"===t||"all"===t&&0===n)},fixedToAbsolute:function(e){const t=e.getBoundingClientRect();e.style.position="absolute";const n=e.offsetParent.getBoundingClientRect();E(e,{left:t.left-x(e,"margin-left")-n.left+"px",top:t.top-x(e,"margin-top")-n.top+"px",right:"",bottom:""})},setMissingAttrs:function(e,t){for(let n in t)v(e,n,t[n])},setMissingAttr:v,unwrap:function(t){!function(e){const t=document.activeElement;try{return e()}finally{t&&t!==document.activeElement&&t.focus({preventScroll:!0})}}((function(){const n=t.parentNode,r=e.toArray(t.childNodes);e.each(r,(e=>n.insertBefore(e,t))),n.removeChild(t)}))},wrapChildren:function(e){let t;const n=document.createElement("up-wrapper");for(;t=e.firstChild;)n.appendChild(t);return e.appendChild(n),n},attr:y,booleanAttr:b,numberAttr:function(e,t){let n=e.getAttribute(t);if(n&&(n=n.replace(/_/g,""),n.match(/^-?[\d.]+$/)))return parseFloat(n)},jsonAttr:function(e,t){let n=e.getAttribute?.(t)?.trim();if(n)return JSON.parse(n)},callbackAttr:function(t,n,{exposedKeys:r=[],mainKey:i="event"}={}){let o=t.getAttribute(n);if(o){const n=up.NonceableCallback.fromString(o).toFunction(i,...r);return function(i){const o=Object.values(e.pick(i,r));return n.call(t,i,...o)}}}
2,booleanOrStringAttr:function(e,t,n=!0){let r=b(e,t,!0);return!0===r?n:r},setTemporaryStyle:_,style:w,styleNumber:x,inlineStyle:A,setStyle:E,isVisible:T,upAttrs:function(t){let n=e.filter(t.getAttributeNames(),k);return e.mapObject(n,(e=>[e,t.getAttribute(e)]))},upClasses:function(t){return e.filter(t.classList.values(),k)},toggleAttr:function(e,t,n,r){return null==r&&(r=!e.hasAttribute(t)),r?e.setAttribute(t,n):e.removeAttribute(t)},addTemporaryClass:function(e,t){return e.classList.add(t),()=>e.classList.remove(t)},cleanJQuery:function(e){up.browser.canJQuery()&&jQuery(e).remove()},parseSelector:c,isEmpty:function(e){return!e.children.length>0&&!e.innerText.trim()},crossOriginSelector:function(e){return`[${e}*="//"]:not([${e}*="//${location.host}/"])`},isIntersectingWindow:function(e,{margin:t=0}={}){const n=up.Rect.fromElement(e);return n.grow(t),n.bottom>0&&n.top<window.innerHeight&&n.right>0&&n.left<window.innerWidth},unionSelector:function(t,n){let r=`:is(${t.join()})`;return e.isPresent(n)&&(r+=`:not(${n.join()})`),r}}}()},(e,t,n)=>{"use strict";n.r(t)},()=>{up.Error=class extends window.Error{constructor(e,t={}){Array.isArray(e)&&(e=up.util.sprintf(...e)),super(e);let n="up."+this.constructor.name;Object.assign(this,{name:n},t)}}},()=>{up.NotImplemented=class extends up.Error{}},()=>{up.Aborted=class extends up.Error{constructor(e){super(e,{name:"AbortError"})}}},()=>{up.CannotMatch=class extends up.Error{}},()=>{up.CannotParse=class extends up.Error{}},()=>{up.CannotTarget=class extends up.Error{}},()=>{up.Offline=class extends up.Error{}},()=>{const e=up.util;up.Record=class{keys(){throw"Return an array of keys"}defaults(e){return{}}constructor(e){Object.assign(this,this.defaults(e),this.attributes(e))}attributes(t=this){return e.pick(t,this.keys())}[e.copy.key](){return e.variant(this)}[e.isEqual.key](t){return this.constructor===t.constructor&&e.isEqual(this.attributes(),t.attributes())}}},()=>{const e=up.util,t=up.element;up.Config=class{constructor(e=()=>({})){this._blueprintFn=e,this.reset(),document.addEventListener("up:framework:reset",(()=>this.reset()))}reset(){Object.assign(this,this._blueprintFn())}matches(e,t){return e.matches(this.selector(t))}selector(n){let r=this[n],i=this["no"+e.upperCaseFirst(n)];return t.unionSelector(r,i)}selectorFn(e){return()=>this.selector(e)}}},()=>{let e="up.log.enabled",t=!1;try{t=!!sessionStorage?.getItem(e)}catch{}up.LogConfig=class extends up.Config{constructor(){super((()=>({banner:!0,format:!0})))}get enabled(){return t}set enabled(n){t=n;try{sessionStorage?.setItem(e,n?"1":"")}catch{}}}},()=>{const e=up.util,t=up.element;up.OptionsParser=class{constructor(e,t,n={}){this._options=t,this._element=e,this._parserOptions=n,this._fail=n.fail,this._closest=n.closest,this._attrPrefix=n.attrPrefix||"up-",this._defaults=n.defaults||{}}string(e,n){this.parse(t.attr,e,n)}boolean(e,n){this.parse(t.booleanAttr,e,n)}number(e,n){this.parse(t.numberAttr,e,n)}booleanOrString(e,n){this.parse(t.booleanOrStringAttr,e,n)}json(e,n){this.parse(t.jsonAttr,e,n)}callback(e,n={}){this.parse(((e,r)=>t.callbackAttr(e,r,n)),e,n)}parse(t,n,r={}){const i=e.wrapList(r.attr??this._attrNameForKey(n));let o=this._options[n];for(let e of i)o??=this._parseFromAttr(t,this._element,e);o??=r.default??this._defaults[n];let s,a=r.normalize;if(a&&(o=a(o)),e.isDefined(o)&&(this._options[n]=o),this._fail&&(s=up.fragment.failKey(n))){const n=e.compact(e.map(i,(e=>this._deriveFailAttrName(e))));this.parse(t,s,{...r,attr:n})}}include(e){let t=e(this._element,this._options,this._parserOptions);Object.assign(this._options,t)}_parseFromAttr(e,n,r){return this._closest?t.closestAttr(n,r,e):e(n,r)}_deriveFailAttrName(e){return this._deriveFailAttrNameForPrefix(e,this._attrPrefix+"on-")||this._deriveFailAttrNameForPrefix(e,this._attrPrefix)}_deriveFailAttrNameForPrefix(e,t){if(e.startsWith(t))return`${t}fail-${e.substring(t.length)}`}_attrNameForKey(t){return`${this._attrPrefix}${e.camelToKebabCase(t)}`}}},()=>{const e=up.util;up.FIFOCache=class{constructor({capacity:t=10,normalizeKey:n=e.identity}={}){this._map=new Map,this._capacity=t,this._normalizeKey=n}get(e){return e=this._normalizeKey(e),this._map.get(e)}set(e,t){if(this._map.size===this._capacity){let e=this._map.keys().next().value;this._map.delete(e)}e=this._normalizeKey(e),this._map.set(e,t)}clear(){this._map.clear()}}},()=>{up.Rect=class extends up.Record{keys(){return["left","top","width","height"]}get bottom(){return this.top+this.height}get right(){return this.left+this.width}grow(e){this.left-=e,this.top-=e,this.width+=2*e,this.height+=2*e}static fromElement(e){return new this(e.getBoundingClientRect())}}},()=>{const e=up.element;up.BodyShifter=class{constructor(){this._anchoredElements=new Set,this._stack=0,this._cleaners=[]}lowerStack(){0==--this._stack&&this._unshiftNow()}raiseStack(){1==++this._stack&&this._shiftNow()}onAnchoredElementInserted(e){return this._anchoredElements.add(e),this._shiftElement(e,"right"),()=>this._anchoredElements.delete(e)}_isShifted(){return this._rootScrollbarWidth&&this._stack>0}_shiftNow(){this._rootScrollbarWidth=up.viewport.rootScrollbarWidth(),this._cleaners.push(e.setTemporaryStyle(e.root,{"--up-scrollbar-width":this._rootScrollbarWidth+"px"})),this._shiftElement(document.body,"padding-right");for(let e of this._anchoredElements)this._shiftElement(e,"right")}_shiftElement(t,n){if(!this._isShifted())return;let r=e.style(t,n);this._cleaners.push(e.setTemporaryStyle(t,{["--up-original-"+n]:r}),e.addTemporaryClass(t,"up-scrollbar-away"))}_unshiftNow(){let e;for(;e=this._cleaners.pop();)e()}}},()=>{const e=up.util;up.Change=class{constructor(e){this.options=e}execute(){throw new up.NotImplemented}
2onFinished(e){return this.options.onFinished?.(e)}improveHistoryValue(t,n){return!1===t||e.isString(t)?t:n}deriveFailOptions(){return up.RenderOptions.deriveFailOptions(this.options)}}},()=>{const e=up.util,t=up.element;up.Change.Addition=class extends up.Change{constructor(e){super(e),this._acceptLayer=e.acceptLayer,this._dismissLayer=e.dismissLayer,this._eventPlans=e.eventPlans||[],this._response=e.response}handleLayerChangeRequests(){this.layer.isOverlay()&&(this.tryAcceptLayerFromServer(),this.abortWhenLayerClosed(),this.layer.tryAcceptForLocation(this.responseOption()),this.abortWhenLayerClosed(),this.tryDismissLayerFromServer(),this.abortWhenLayerClosed(),this.layer.tryDismissForLocation(this.responseOption()),this.abortWhenLayerClosed()),this.layer.asCurrent((()=>{for(let e of this._eventPlans)up.emit({...e,...this.responseOption()}),this.abortWhenLayerClosed()}))}tryAcceptLayerFromServer(){e.isDefined(this._acceptLayer)&&this.layer.isOverlay()&&this.layer.accept(this._acceptLayer,this.responseOption())}tryDismissLayerFromServer(){e.isDefined(this._dismissLayer)&&this.layer.isOverlay()&&this.layer.dismiss(this._dismissLayer,this.responseOption())}abortWhenLayerClosed(e=this.layer){if(e.isClosed())throw new up.Aborted("Layer was closed")}setSource({oldElement:e,newElement:n,source:r}){"keep"===r&&(r=e&&up.fragment.source(e)),r&&t.setMissingAttr(n,"up-source",up.fragment.normalizeSource(r))}setTime({newElement:e,time:n}){t.setMissingAttr(e,"up-time",!!n&&n.toUTCString())}setETag({newElement:e,etag:n}){t.setMissingAttr(e,"up-etag",n||!1)}setReloadAttrs(e){this.setSource(e),this.setTime(e),this.setETag(e)}responseOption(){return{response:this._response}}executeSteps(e,t,n){return new up.Change.UpdateSteps({steps:e,noneOptions:n}).execute(t)}}},()=>{var e;const t=up.util;up.RenderJob=(e=class{constructor(e){this.options=e}execute(){return this._rendered=this._executePromise(),this}async _executePromise(){try{this._guardRender(),this.options=up.RenderOptions.preprocess(this.options);let e=await this._getChange().execute();return this._handleResult(e),e}catch(e){throw this._handleResult(e)||this._handleError(e),e}}_handleResult(e){if(e instanceof up.RenderResult){let{onRendered:n,onFinished:r}=e.options;e.none||up.error.guard((()=>n?.(e)));let i=function(e){up.error.guard((()=>r?.(e)))};return this.finished.then(i,t.noop),!0}}_handleError(e){let t=e instanceof up.Aborted?"Rendering was aborted":"Error while rendering";up.puts("up.render()",`${t}: ${e.name}: ${e.message}`),up.error.guard((()=>this.options.onError?.(e)))}get finished(){return this._awaitFinished()}async _awaitFinished(){try{let e=await this._rendered;return await e.finished}catch(e){throw e instanceof up.RenderResult?await e.finished:e}}_getChange(){if(this.options.url){let e=e=>this._handleAbortOption(e);return new up.Change.FromURL({...this.options,onRequest:e})}if(this.options.response){let e=()=>this._handleAbortOption(null);return new up.Change.FromResponse({...this.options,onRender:e})}{let e=()=>this._handleAbortOption(null);return new up.Change.FromContent({...this.options,onRender:e})}}_guardRender(){up.browser.assertConfirmed(this.options);let e=t.pluckKey(this.options,"guardEvent");if(e&&(e.renderOptions=this.options,up.emit(e,{target:this.options.origin}).defaultPrevented))throw new up.Aborted(`Rendering was prevented by ${e.type} listener`);up.RenderOptions.assertContentGiven(this.options)}_handleAbortOption(e){let{abort:n}=this.options;if(!n||!up.network.isBusy())return;let{fragments:r,layer:i,origin:o,newLayer:s}=this._getChange().getPreflightProps(),a={except:e,logOnce:["up.render()","Change with { abort } option will abort other requests"],newLayer:s,origin:o};"target"===n?up.fragment.abort(r,a):"layer"===n?up.fragment.abort({...a,layer:i}):"all"===n||!0===n?up.fragment.abort({...a,layer:"any"}):t.isFunction(n)?n(a):up.fragment.abort(n,{...a,layer:i})}},t.delegate(e.prototype,["then","catch","finally"],(function(){return this._rendered})),t.memoizeMethod(e.prototype,{_awaitFinished:!0,_getChange:!0}),e)},()=>{up.Change.Removal=class extends up.Change{}},()=>{up.Change.DestroyFragment=class extends up.Change.Removal{constructor(e){super(e),this._layer=up.layer.get(e)||up.layer.current,this._element=this.options.element,this._animation=this.options.animation,this._log=this.options.log}execute(){this._parent=this._element.parentNode,up.fragment.markAsDestroying(this._element),up.motion.willAnimate(this._element,this._animation,this.options)?this._destroyAfterAnimation():this._destroyNow()}async _destroyAfterAnimation(){this._emitDestroyed(),await this._animate(),this._wipe(),this.onFinished()}_destroyNow(){this._wipe(),this._emitDestroyed(),this.onFinished()}_animate(){return up.motion.animate(this._element,this._animation,this.options)}_wipe(){this._layer.asCurrent((()=>{up.fragment.abort(this._element),up.script.clean(this._element,{layer:this._layer}),up.element.cleanJQuery(this._element),this._element.remove()}))}_emitDestroyed(){up.fragment.emitDestroyed(this._element,{parent:this._parent,log:this._log})}}},()=>{let e=up.util;up.Change.OpenLayer=class extends up.Change.Addition{constructor(e){super(e),this.target=e.target,this._origin=e.origin,this._baseLayer=e.baseLayer}getPreflightProps(){return{mode:this.options.mode,context:this._buildLayer().context,origin:this.options.origin,target:this.target,layer:this._baseLayer,fragments:e.compact([up.fragment.get(":main",{layer:this._baseLayer})]),newLayer:!0}}execute(e,t){this.responseDoc=e,this._matchPostflight(),t(),this._createOverlay();
2let n=this.layer.on("up:layer:accepting up:layer:dimissing",this._renderOtherLayers.bind(this));try{return this._renderOverlayContent(),this._renderOtherLayers(),up.RenderResult.both(this._newOverlayResult,this._otherLayersResult)}finally{n()}}_matchPostflight(){if(":none"===this.target?this._content=document.createElement("up-none"):this._content=this.responseDoc.select(this.target),!this._content||this._baseLayer.isClosed())throw new up.CannotMatch}_createOverlay(){up.puts("up.render()",`Opening element "${this.target}" in new overlay`),this._assertOpenEventEmitted(),this.layer=this._buildLayer(),this._baseLayer.peel({history:!this.layer.history}),up.layer.stack.push(this.layer),this.layer.createElements(),this.layer.setupHandlers()}_renderOverlayContent(){this._handleHistory(),this.handleLayerChangeRequests(),this.responseDoc.commitElement(this._content),this.layer.setContent(this._content),this.setReloadAttrs({newElement:this._content,source:this.options.source}),this.responseDoc.finalizeElement(this._content),this._newOverlayResult=new up.RenderResult({layer:this.layer,fragments:[this._content],target:this.target}),up.hello(this.layer.element,{...this.options,layer:this.layer}),this._handleScroll(),this._newOverlayResult.finished=this._finish(),this.layer.opening=!1,this._emitOpenedEvent(),this.abortWhenLayerClosed()}_renderOtherLayers(){if(this._otherLayersResult)return;let e=this._getHungrySteps().other;this._otherLayersResult=this.executeSteps(e,this.responseDoc)}async _finish(){return await this.layer.startOpenAnimation(),this.abortWhenLayerClosed(),this._handleFocus(),this._newOverlayResult}_buildLayer(){const e={...this.options,opening:!0};return up.layer.build(e,(e=>this.options=up.RenderOptions.finalize(e)))}_handleHistory(){"auto"===this.layer.history&&(this.layer.history=up.fragment.hasAutoHistory([this._content],this.layer));let{parent:e}=this.layer;this.layer.history&&=e.history,e.saveHistory(),this.layer.updateHistory(this.options)}_handleFocus(){this._baseLayer.overlayFocus?.moveToBack(),this.layer.overlayFocus.moveToFront();new up.FragmentFocus({fragment:this._content,layer:this.layer,autoMeans:["autofocus","layer"],inputDevice:this.options.inputDevice}).process(this.options.focus)}_handleScroll(){const e={...this.options,fragment:this._content,layer:this.layer,autoMeans:["hash","layer"]};new up.FragmentScrolling(e).process(this.options.scroll)}_assertOpenEventEmitted(){up.event.assertEmitted("up:layer:open",{origin:this._origin,baseLayer:this._baseLayer,layerOptions:this.options,log:"Opening new overlay"})}_emitOpenedEvent(){this.layer.emit("up:layer:opened",{origin:this._origin,callback:this.layer.callback("onOpened"),log:`Opened new ${this.layer}`})}_getHungrySteps(){return up.radio.hungrySteps(this._getEffectiveRenderOptions())}_getEffectiveRenderOptions(){return{...this.options,layer:this.layer,history:this.layer.history}}}},()=>{var e;const t=up.util;up.Change.UpdateLayer=(e=class extends up.Change.Addition{constructor(e){super(e=up.RenderOptions.finalize(e)),this.layer=e.layer,this.target=e.target,this._context=e.context,this._steps=up.fragment.parseTargetSteps(this.target,this.options)}getPreflightProps(){return this._matchPreflight(),{layer:this.layer,mode:this.layer.mode,context:t.merge(this.layer.context,this._context),origin:this.options.origin,target:this._bestPreflightSelector(),fragments:this._getFragments(),newLayer:!1}}_bestPreflightSelector(){return this._matchPreflight(),up.fragment.targetForSteps(this._steps)}_getFragments(){return this._matchPreflight(),t.map(this._steps,"oldElement")}execute(e,t){this.responseDoc=e,this._matchPostflight(),t();let n=this.layer.on("up:layer:accepting up:layer:dimissing",this._renderOtherLayers.bind(this));try{return this._renderCurrentLayer(),this._renderOtherLayers(),up.RenderResult.both(this._currentLayerResult,this._otherLayersResult)}finally{n()}}_renderCurrentLayer(){this._steps.length&&up.puts("up.render()",`Updating "${this._bestPreflightSelector()}" in ${this.layer}`),this._setScrollAndFocusOptions(),this.options.saveScroll&&up.viewport.saveScroll({layer:this.layer}),this.options.saveFocus&&up.viewport.saveFocus({layer:this.layer}),this.options.peel&&this.layer.peel({history:!this._hasHistory()}),!1!==this.options.abort&&up.fragment.abort(this._getFragments(),{reason:"Fragment is being replaced"}),Object.assign(this.layer.context,this._context),this._hasHistory()&&this.layer.updateHistory(this.options),this.handleLayerChangeRequests(),this._currentLayerResult=this.executeSteps(this._steps,this.responseDoc,this.options)}_renderOtherLayers(){if(this._otherLayersResult)return;let e=this._getHungrySteps().other;this._otherLayersResult=this.executeSteps(e,this.responseDoc)}_matchPreflight(){this._matchOldElements(),this._compressNestedSteps()}_matchPostflight(){this._matchOldElements(),this._addHungryStepsOnCurrentLayer(),this._compressNestedSteps(),this._matchNewElements()}_addHungryStepsOnCurrentLayer(){this._steps.push(...this._getHungrySteps().current)}_matchOldElements(){this._steps=this._steps.filter((e=>{const n=new up.FragmentFinder(t.pick(e,["selector","origin","layer","match","preferOldElements"]));if(e.oldElement||=n.find(),e.oldElement)return!0;
2if(!e.maybe)throw new up.CannotMatch}))}_matchNewElements(){this._steps=this.responseDoc.selectSteps(this._steps)}_compressNestedSteps(){this._steps=up.fragment.compressNestedSteps(this._steps)}_getHungrySteps(){return up.radio.hungrySteps(this._getEffectiveRenderOptions())}_setScrollAndFocusOptions(){let e=up.FocusCapsule.preserve(this.layer);this._steps.forEach(((t,n)=>{t.focusCapsule=e,n>0&&(t.scroll=!1,t.focus=!1)}))}_hasHistory(){return t.evalAutoOption(this.options.history,this._hasAutoHistory.bind(this))}_hasAutoHistory(){const e=t.map(this._steps,"oldElement");return up.fragment.hasAutoHistory(e,this.layer)}_getEffectiveRenderOptions(){return{...this.options,layer:this.layer,history:this._hasHistory()}}},t.memoizeMethod(e.prototype,{_matchPreflight:!0,_matchOldElements:!0,_hasHistory:!0,_getHungrySteps:!0}),e)},()=>{const e=up.util,t=up.element;up.Change.UpdateSteps=class extends up.Change.Addition{constructor(t){super(t),this._noneOptions=t.noneOptions||{},this._steps=e.copy(t.steps)}execute(e){if(this.responseDoc=e,this._steps=e.selectSteps(this._steps),this._steps=e.commitSteps(this._steps),!this._steps.length)return this._executeNone();this.renderResult=new up.RenderResult({layer:this._steps[0]?.layer,target:up.fragment.targetForSteps(this._steps)}),this._steps.reverse();const t=this._steps.map((e=>this._executeStep(e)));return this.renderResult.finished=this._finish(t),this.renderResult}_executeNone(){return this._handleFocus(null,this._noneOptions),this._handleScroll(null,this._noneOptions),up.RenderResult.buildNone()}async _finish(e){await Promise.all(e);for(let e of this._steps)this.abortWhenLayerClosed(e.layer);return this.renderResult}_addToResult(e){let t=e.matches("up-wrapper")?e.children:[e];this.renderResult.fragments.unshift(...t)}_executeStep(e){switch(this.setReloadAttrs(e),e.placement){case"swap":if(this._findKeepPlan(e))return this._handleFocus(e.oldElement,e),this._handleScroll(e.oldElement,e),Promise.resolve();{this._preserveKeepables(e);const t=e.oldElement.parentNode,n={...e,beforeStart(){up.fragment.markAsDestroying(e.oldElement)},afterInsert:()=>{this._restoreKeepables(e),this.responseDoc.finalizeElement(e.newElement),this._unmarkKeepables(e),up.hello(e.newElement,e),this._addToResult(e.newElement)},beforeDetach:()=>{up.script.clean(e.oldElement,{layer:e.layer})},afterDetach(){up.element.cleanJQuery(),up.fragment.emitDestroyed(e.oldElement,{parent:t,log:!1})},scrollNew:()=>{this._handleFocus(e.newElement,e),this._handleScroll(e.newElement,e)}};return up.morph(e.oldElement,e.newElement,e.transition,n)}case"content":{let n=t.wrapChildren(e.oldElement),r=t.wrapChildren(e.newElement),i={...e,placement:"swap",oldElement:n,newElement:r,focus:!1};return this._executeStep(i).then((()=>{t.unwrap(r),this._handleFocus(e.oldElement,e)}))}case"before":case"after":{let n=t.wrapChildren(e.newElement),r="before"===e.placement?"afterbegin":"beforeend";return e.oldElement.insertAdjacentElement(r,n),this.responseDoc.finalizeElement(n),up.hello(n,e),this._addToResult(n),this._handleFocus(n,e),this._handleScroll(n,e),up.animate(n,e.transition,e).then((()=>t.unwrap(n)))}default:up.fail("Unknown placement: %o",e.placement)}}_findKeepPlan(e){if(!e.useKeep)return;const{oldElement:n,newElement:r}=e;let i;if(!t.booleanAttr(n,"up-keep"))return;let o=up.fragment.toTarget(n);const s={layer:e.layer};if(i=e.descendantsOnly?up.fragment.get(r,o,s):up.fragment.subtree(r,o,s)[0],i&&!1!==t.booleanAttr(i,"up-keep")){const t={oldElement:n,newElement:i,newData:up.script.data(i),renderOptions:e};if(!up.fragment.emitKeep(t).defaultPrevented)return t}}_preserveKeepables(e){const t=[];if(e.useKeep)for(let n of e.oldElement.querySelectorAll("[up-keep]")){let r=this._findKeepPlan({...e,oldElement:n,descendantsOnly:!0});if(r){const e=n.cloneNode(!0);n.insertAdjacentElement("beforebegin",e),n.classList.add("up-keeping"),up.script.disableSubtree(r.newElement);let i=up.viewport.subtree(r.oldElement);r.revivers=i.map((function(e){let t=up.viewport.copyCursorProps(e);return()=>up.viewport.copyCursorProps(t,e)})),this._willChangeElement(document.body)?r.newElement.replaceWith(n):document.body.append(n),t.push(r)}}e.keepPlans=t}_restoreKeepables(e){for(let t of e.keepPlans){t.newElement.replaceWith(t.oldElement);for(let e of t.revivers)e()}}_unmarkKeepables(e){for(let t of e.keepPlans)t.oldElement.classList.remove("up-keeping")}_willChangeElement(t){return e.some(this._steps,(e=>e.oldElement.contains(t)))}_handleFocus(e,t){return new up.FragmentFocus({...t,fragment:e,autoMeans:up.fragment.config.autoFocus}).process(t.focus)}_handleScroll(e,t){return new up.FragmentScrolling({...t,fragment:e,autoMeans:up.fragment.config.autoScroll}).process(t.scroll)}}},()=>{const e=up.util;up.Change.CloseLayer=class extends up.Change.Removal{constructor(e){super(e),this._verb=e.verb,this._layer=up.layer.get(e),this._origin=e.origin,this._value=e.value,this._preventable=e.preventable??!0,this._response=e.response,this._history=e.history??!0}execute(){if(!this._layer.isOpen())return Promise.resolve();if(up.browser.assertConfirmed(this.options),this._emitCloseEvent().defaultPrevented&&this._preventable)throw new up.Aborted("Close event was prevented");this._emitClosingEvent(),up.fragment.abort({reason:"Layer is closing",layer:this._layer});const{parent:e}=this._layer;this._layer.peel(),this._layer.stack.remove(this._layer),this._history&&e.restoreHistory(),this._handleFocus(e),this._layer.teardownHandlers(),this._layer.destroyElements(this.options),this._emitClosedEvent(e)}_emitCloseEvent(){let t=this._layer.emit(this._buildEvent(`up:layer:${this._verb}`),{callback:this._layer.callback(`on${e.upperCaseFirst(this._verb)}`),log:[`Will ${this._verb} ${this._layer} with value %o`,this._value]});return this._value=t.value,t}_emitClosingEvent(){let e=this._buildEvent(`up:layer:${this._verb}ing`);this._layer.emit(e,{log:!1})}_emitClosedEvent(t){const n=`${this._verb}ed`,r=e.upperCaseFirst(n);return this._layer.emit(this._buildEvent(`up:layer:${n}`),{baseLayer:t,callback:this._layer.callback(`on${r}`),ensureBubbles:!0,log:[`${r} ${this._layer} with value %o`,this._value]})}_buildEvent(e){return up.event.build(e,{layer:this._layer,value:this._value,origin:this._origin,response:this._response})}_handleFocus(e){this._layer.overlayFocus.teardown(),e.overlayFocus?.moveToFront();let t=this._layer.origin||e.element;up.focus(t,{preventScroll:!0})}}},()=>{var e;const t=up.util;up.Change.FromURL=(e=class extends up.Change{execute(){let e=this._newPageReason();return e?(up.puts("up.render()",e),up.network.loadPage(this.options),t.unresolvablePromise()):(this.request=up.request(this._getRequestAttrs()),this.options.onRequest?.(this.request),up.feedback.showAroundRequest(this.request,this.options),up.form.disableWhile(this.request,this.options),this.options.preload?this.request:t.always(this.request,(e=>this._onRequestSettled(e))))}_newPageReason(){return t.isCrossOrigin(this.options.url)?"Loading cross-origin content in new page":this.options.history&&!up.browser.canPushState()?"Loading content in new page to restore history support":void 0}_getRequestAttrs(){const e=this._preflightPropsForRenderOptions(this.options),n=this._preflightPropsForRenderOptions(this.deriveFailOptions(),{optional:!0});return{...this.options,...e,...t.renameKeys(n,up.fragment.failKey)}}getPreflightProps(){return this._getRequestAttrs()}_preflightPropsForRenderOptions(e,t){return new up.Change.FromContent({...e,preview:!0}).getPreflightProps(t)}_onRequestSettled(e){return e instanceof up.Response?this._onRequestSettledWithResponse(e):this._onRequestSettledWithError(e)}_onRequestSettledWithResponse(e){return new up.Change.FromResponse({...this.options,response:e}).execute()}_onRequestSettledWithError(e){throw e instanceof up.Offline&&this.request.emit("up:fragment:offline",{callback:this.options.onOffline,renderOptions:this.options,retry:e=>up.render({...this.options,...e}),log:["Cannot load fragment from %s: %s",this.request.description,e.reason]}),e}},t.memoizeMethod(e.prototype,{_getRequestAttrs:!0}),e)},()=>{var e;const t=up.util;up.Change.FromResponse=(e=class extends up.Change{constructor(e){super(e),this._response=e.response,this._request=this._response.request}execute(){if(up.fragment.config.skipResponse(this._loadedEventProps())?this._skip():this._request.assertEmitted("up:fragment:loaded",{...this._loadedEventProps(),callback:this.options.onLoaded,log:["Loaded fragment from %s",this._response.description],skip:()=>this._skip()}),t.evalOption(this.options.fail,this._response)??!this._response.ok)throw this._updateContentFromResponse(this.deriveFailOptions());return this._updateContentFromResponse(this.options)}
2_skip(){up.puts("up.render()","Skipping "+this._response.description),this.options.target=":none",this.options.failTarget=":none"}_updateContentFromResponse(e){e.failPrefixForced&&up.puts("up.render()","Rendering failed response using fail-prefixed options (https://unpoly.com/failed-responses)"),this._augmentOptionsFromResponse(e),e.meta=this._compilerPassMeta();let t=new up.Change.FromContent(e).execute();return t.finished=this.finish(t,e),t}async finish(e,t){return e=await e.finished,up.fragment.shouldRevalidate(this._request,this._response,t)&&(e=await this._revalidate(e,t)),e}async _revalidate(e,t){let n=t.target,r=e.target;if(/:(before|after)/.test(n))up.warn("up.render()","Cannot revalidate cache when prepending/appending (target %s)",n);else{up.puts("up.render()",'Revalidating cached response for target "%s"',r);let n=await up.reload(r,{...t,preferOldElements:e.fragments,layer:e.layer,onFinished:null,scroll:!1,focus:"keep",transition:!1,cache:!1,confirm:!1,feedback:!1,abort:!1,expiredResponse:this._response});n.none||(e=n)}return e}_loadedEventProps(){const{expiredResponse:e}=this.options;return{request:this._request,response:this._response,renderOptions:this.options,revalidating:!!e,expiredResponse:e}}_compilerPassMeta(){let e={revalidating:!!this.options.expiredResponse};return up.migrate.processCompilerPassMeta?.(e,this._response),e}_augmentOptionsFromResponse(e){const n=this._response.url;let r=n,i=this._request.hash;i&&(e.hash=i,r+=i);"GET"===this._response.method?e.source=this.improveHistoryValue(e.source,n):(e.source=this.improveHistoryValue(e.source,"keep"),e.history=!!e.location),e.location=this.improveHistoryValue(e.location,r),e.title=this.improveHistoryValue(e.title,this._response.title),e.eventPlans=this._response.eventPlans;let o=this._response.target;o&&(e.target=o),e.acceptLayer=this._response.acceptLayer,e.dismissLayer=this._response.dismissLayer,e.document=this._response.text,this._response.none&&(e.target=":none"),e.context=t.merge(e.context,this._response.context),e.cspNonces=this._response.cspNonces,e.time??=this._response.lastModified,e.etag??=this._response.etag}},t.memoizeMethod(e.prototype,{_loadedEventProps:!0}),e)},()=>{var e;const t=up.util;up.Change.FromContent=(e=class extends up.Change{constructor(e){super(e),this._origin=e.origin,this._preview=e.preview,this._layers=up.layer.getAll(e)}_getPlans(){let e=[];return this._filterLayers(),this._improveOptionsFromResponseDoc(),this._expandIntoPlans(e,this._layers,this.options.target),this._expandIntoPlans(e,this._layers,this.options.fallback),e}_isRenderableLayer(e){return"new"===e||e.isOpen()}_filterLayers(){this._layers=t.filter(this._layers,this._isRenderableLayer)}_expandIntoPlans(e,t,n){for(let r of t)for(let t of this._expandTargets(n,r)){const n={...this.options,target:t,layer:r,defaultPlacement:this._defaultPlacement()},i="new"===r?new up.Change.OpenLayer(n):new up.Change.UpdateLayer(n);e.push(i)}}_expandTargets(e,t){return up.fragment.expandTargets(e,{layer:t,mode:this.options.mode,origin:this._origin})}execute(){return this.options.preload?Promise.resolve():this._seekPlan(this._executePlan.bind(this))||this._cannotMatchPostflightTarget()}_executePlan(e){let t=e.execute(this._getResponseDoc(),this._onPlanApplicable.bind(this,e));return t.options=this.options,t}_isApplicablePlanError(e){return!(e instanceof up.CannotMatch)}_onPlanApplicable(e){let t=this._getPlans()[0];e!==t&&up.puts("up.render()",'Could not match primary target "%s". Updating a fallback target "%s".',t.target,e.target);let{assets:n}=this._getResponseDoc();n&&up.script.assertAssetsOK(n,e.options),this.options.onRender?.()}_getResponseDoc(){if(this._preview)return;const e=t.pick(this.options,["target","content","fragment","document","html","cspNonces","origin"]);return up.migrate.handleResponseDocOptions?.(e),"content"===this._defaultPlacement()&&(e.target=this._firstExpandedTarget(e.target)),new up.ResponseDoc(e)}_improveOptionsFromResponseDoc(){if(this._preview)return;let e=this._getResponseDoc();this.options.fragment&&(this.options.target||=e.rootSelector()),this.options.title=this.improveHistoryValue(this.options.title,e.title),this.options.metaTags=this.improveHistoryValue(this.options.metaTags,e.metaTags),this.options.lang=this.improveHistoryValue(this.options.lang,e.lang)}_defaultPlacement(){if(!this.options.document&&!this.options.fragment)return"content"}_firstExpandedTarget(e){let t=this._layers[0]||up.layer.root;return this._expandTargets(e||":main",t)[0]}getPreflightProps(e={}){return this._seekPlan((e=>e.getPreflightProps()))||e.optional||this._cannotMatchPreflightTarget()}_cannotMatchPreflightTarget(){this._cannotMatchTarget("Could not find target in current page")}_cannotMatchPostflightTarget(){this._cannotMatchTarget("Could not find common target in current page and response")}_cannotMatchTarget(e){if(this._getPlans().length){const n=t.uniq(t.map(this._getPlans(),"target")),r=up.layer.optionToString(this.options.layer);throw new up.CannotMatch([e+" (tried selectors %o in %s)",n,r])}if(0!==this._layers.length)throw this.options.failPrefixForced?new up.CannotMatch("No target selector given for failed responses (https://unpoly.com/failed-responses)"):new up.CannotMatch("No target selector given");this._cannotMatchLayer()}_cannotMatchLayer(){throw new up.CannotMatch("Could not find a layer to render in. You may have passed an unmatchable layer reference, or a detached element.")}_seekPlan(e){for(let t of this._getPlans())try{return e(t)}catch(e){if(this._isApplicablePlanError(e))throw e}}},t.memoizeMethod(e.prototype,{_getPlans:!0,_getResponseDoc:!0,getPreflightProps:!0}),e)},()=>{const e=up.util;up.CompilerPass=class{constructor(e,t,{layer:n,data:r,dataMap:i,meta:o}){n||=up.layer.get(e)||up.layer.current,this._root=e,this._compilers=t,this._layer=n,this._data=r,this._dataMap=i,o||={},o.layer=n,this._meta=o}run(){this._layer.asCurrent((()=>{this.setCompileData();for(let e of this._compilers)this._runCompiler(e)}))}setCompileData(){if(this._data&&(this._root.upCompileData=this._data),this._dataMap)for(let e in this._dataMap)for(let t of this._select(e))t.upCompileData=this._dataMap[e]}_runCompiler(e){const t=this._selectOnce(e);if(t.length){if(e.isDefault||up.puts("up.hello()",'Compiling %d× "%s" on %s',t.length,e.selector,this._layer),e.batch)this._compileBatch(e,t);else for(let n of t)this._compileOneElement(e,n);return up.migrate.postCompile?.(t,e)}}_compileOneElement(e,t){const n=[t];if(1!==e.length){const e=up.script.data(t);n.push(e,this._meta)}const r=this._applyCompilerFunction(e,t,n);let i=this._destructorPresence(r);i&&up.destructor(t,i)}_compileBatch(t,n){const r=[n];if(1!==t.length){const t=e.map(n,up.script.data);
2r.push(t,this._meta)}const i=this._applyCompilerFunction(t,n,r);this._destructorPresence(i)&&up.fail("Compilers with { batch: true } cannot return destructors")}_applyCompilerFunction(e,t,n){return up.error.guard((()=>e.apply(t,n)))}_destructorPresence(t){if(e.isFunction(t)||e.isArray(t)&&e.every(t,e.isFunction))return t}_select(t){return up.fragment.subtree(this._root,e.evalOption(t),{layer:this._layer})}_selectOnce(t){let n=this._select(t.selector);return e.filter(n,(e=>{let n=e.upAppliedCompilers||=new Set;if(!n.has(t))return n.add(t),!0}))}}},()=>{const e=up.util,t=up.element;up.CSSTransition=class{constructor(e,t,n){this._element=e,this._lastFrame=t,this._lastFrameKeys=Object.keys(this._lastFrame),this._finishEvent=n.finishEvent,this._duration=n.duration,this._easing=n.easing,this._finished=!1}start(){return 0===this._lastFrameKeys.length?(this._finished=!0,Promise.resolve()):(this._deferred=e.newDeferred(),this._pauseOldTransition(),this._startTime=new Date,this._startFallbackTimer(),this._listenToFinishEvent(),this._listenToTransitionEnd(),this._startMotion(),this._deferred)}_listenToFinishEvent(){this._finishEvent&&(this._stopListenToFinishEvent=up.on(this._element,this._finishEvent,this._onFinishEvent.bind(this)))}_onFinishEvent(e){e.stopPropagation(),this._finish()}_startFallbackTimer(){this._fallbackTimer=e.timer(this._duration+100,(()=>this._finish()))}_stopFallbackTimer(){clearTimeout(this._fallbackTimer)}_listenToTransitionEnd(){this._stopListenToTransitionEnd=up.on(this._element,"transitionend",this._onTransitionEnd.bind(this))}_onTransitionEnd(t){if(t.target!==this._element)return;if(new Date-this._startTime<=.25*this._duration)return;const n=t.propertyName;e.contains(this._lastFrameKeys,n)&&this._finish()}_finish(){this._finished||(this._finished=!0,this._stopFallbackTimer(),this._stopListenToFinishEvent?.(),this._stopListenToTransitionEnd?.(),t.concludeCSSTransition(this._element),this._resumeOldTransition(),this._deferred.resolve())}_pauseOldTransition(){const e=t.style(this._element,["transition-property","transition-duration","transition-delay","transition-timing-function"]);if(t.hasCSSTransition(e)){if("all"!==e["transition-property"]){const n=e["transition-property"].split(/\s*,\s*/),r=t.style(this._element,n);this._setOldTransitionTargetFrame=t.setTemporaryStyle(this._element,r)}this._setOldTransition=t.concludeCSSTransition(this._element)}}_resumeOldTransition(){this._setOldTransitionTargetFrame?.(),this._setOldTransition?.()}_startMotion(){t.setStyle(this._element,{"transition-property":this._lastFrameKeys.join(),"transition-duration":`${this._duration}ms`,"transition-timing-function":this._easing}),t.setStyle(this._element,this._lastFrame)}}},()=>{const e=up.util;up.DestructorPass=class{constructor(e,t){this._fragment=e,this._options=t}run(){for(let t of this._selectCleanables()){let n=e.pluckKey(t,"upDestructors");if(n)for(let e of n)this._applyDestructorFunction(e,t);t.classList.remove("up-can-clean")}}_selectCleanables(){const e={...this._options,destroying:!0};return up.fragment.subtree(this._fragment,".up-can-clean",e)}_applyDestructorFunction(e,t){up.error.guard((()=>e(t)))}}},()=>{const e=up.util,t=up.element;up.EventEmitter=class extends up.Record{keys(){return["target","event","baseLayer","callback","log","ensureBubbles"]}emit(){return this._logEmission(),this.baseLayer?this.baseLayer.asCurrent((()=>this._dispatchEvent())):this._dispatchEvent(),this.event}_dispatchEvent(){this.target.dispatchEvent(this.event),this.ensureBubbles&&!this.target.isConnected&&document.dispatchEvent(this.event),up.error.guard((()=>this.callback?.(this.event)))}assertEmitted(){const e=this.emit();if(e.defaultPrevented)throw new up.Aborted(`Event ${e.type} was prevented`)}_logEmission(){if(!up.log.config.enabled)return;let t,n=this.log;e.isArray(n)?[n,...t]=n:t=[];const{type:r}=this.event;e.isString(n)?up.puts(r,n,...t):!1!==n&&up.puts(r,`Event ${r}`)}static fromEmitArgs(n,r={}){let i,o=e.extractOptions(n);return o=e.merge(r,o),e.isElementish(n[0])?o.target=t.get(n.shift()):n[0]instanceof up.Layer&&(o.layer=n.shift()),e.isGiven(o.layer)&&(i=up.layer.get(o.layer),o.target||=i.element,o.baseLayer||=i),o.baseLayer&&(o.baseLayer=up.layer.get(o.baseLayer)),e.isString(o.target)?o.target=up.fragment.get(o.target,{layer:o.layer}):o.target||(o.target=document),n[0]?.preventDefault?(o.event=n[0],o.log??=n[0].log):e.isString(n[0])?o.event=up.event.build(n[0],o):o.event=up.event.build(o),new this(o)}}},()=>{const e=up.util;up.EventListener=class extends up.Record{keys(){return["element","eventType","selector","callback","guard","baseLayer","passive","once","capture","beforeBoot"]}constructor(e){super(e),this._key=this.constructor._buildKey(e),this.isDefault=up.framework.evaling,this.beforeBoot??=0===this.eventType.indexOf("up:framework:"),this.nativeCallback=this.nativeCallback.bind(this)}bind(){const e=this.element.upEventListeners||={};e[this._key]&&up.fail("up.on(): The %o callback %o cannot be registered more than once",this.eventType,this.callback),e[this._key]=this,this.element.addEventListener(...this._addListenerArg()
2)}_addListenerArg(){let t=e.compactObject(e.pick(this,["once","passive","capture"]));return[this.eventType,this.nativeCallback,t]}unbind(){let e=this.element.upEventListeners;e&&delete e[this._key],this.element.removeEventListener(...this._addListenerArg())}nativeCallback(t){if(up.framework.beforeBoot&&!this.beforeBoot)return;let n=t.target;if(this.selector&&(n=n.closest(e.evalOption(this.selector))),(!this.guard||this.guard(t))&&n){const e=[t,n],r=this.callback.length;if(1!==r&&2!==r){const t=up.script.data(n);e.push(t)}if("click"===this.eventType&&n.disabled)return;const i=this.callback.bind(n,...e);this.baseLayer?this.baseLayer.asCurrent(i):i()}}static fromElement(e){let t=e.element.upEventListeners;if(t){return t[this._buildKey(e)]}}static _buildKey(t){return t.callback.upUid||=e.uid(),[t.eventType,t.selector,t.callback.upUid].join("|")}static allNonDefault(t){let n=t.upEventListeners;if(n){const t=Object.values(n);return e.reject(t,"isDefault")}return[]}}},()=>{const e=up.util;up.EventListenerGroup=class extends up.Record{keys(){return["elements","eventTypes","selector","callback","guard","baseLayer","passive","once","capture","beforeBoot"]}bind(){const t=[];return this._eachListenerAttributes((function(e){const n=new up.EventListener(e);return n.bind(),t.push(n.unbind.bind(n))})),e.sequence(t)}_eachListenerAttributes(e){for(let t of this.elements)for(let n of this.eventTypes)e(this._listenerAttributes(t,n))}_listenerAttributes(e,t){return{...this.attributes(),element:e,eventType:t}}unbind(){this._eachListenerAttributes((function(e){let t=up.EventListener.fromElement(e);t&&t.unbind()}))}static fromBindArgs(t,n){const r=(t=e.copy(t)).pop();let i;i=t[0].addEventListener?[t.shift()]:e.isJQuery(t[0])||e.isList(t[0])&&t[0][0].addEventListener?t.shift():[document];let o=e.parseTokens(t.shift()),s=up.migrate.fixEventTypes;s&&(o=s(o));const a=e.extractOptions(t);return new this({elements:i,eventTypes:o,selector:t[0],callback:r,...a,...n})}}},()=>{const e=up.util;up.FieldWatcher=class{constructor(e,t,n){this._options=t,this._root=e,this._scope=up.form.getScope(e),this._callback=n,this._batch=t.batch,this._abortable=t.abortable}start(){this._scheduledValues=null,this._processedValues=this._readFieldValues(),this._currentTimer=null,this._callbackRunning=!1,this._unbindFns=[],this._watchFieldsWithin(this._root),this._root.addEventListener("up:fragment:inserted",(({target:e})=>{e!==this._root&&this._watchFieldsWithin(e)})),this._unbindFns.push(up.fragment.onAborted(this._scope,(()=>this._abort()))),this._unbindFns.push(up.on(this._scope,"reset",(()=>this._onFormReset())))}stop(){this._abort();for(let e of this._unbindFns)e()}_fieldOptions(t){let n=e.copy(this._options);return up.form.watchOptions(t,n,{defaults:{event:"input"}})}_watchFieldsWithin(e){for(let t of up.form.fields(e))this._watchField(t)}_watchField(e){let t=this._fieldOptions(e);this._unbindFns.push(up.on(e,t.event,(()=>this._check(t))))}_abort(){this._scheduledValues=null}_scheduleValues(t,n){this._scheduledValues=t,this._scheduledFieldOptions=n;let r=n.delay||0;clearTimeout(this._currentTimer),this._currentTimer=e.timer(r,(()=>{this._currentTimer=null,this._requestCallback()}))}_isNewValues(t){return!e.isEqual(t,this._processedValues)&&!e.isEqual(this._scheduledValues,t)}async _requestCallback(){if(!this._scheduledValues)return;if(this._callbackRunning)return;if(this._currentTimer)return;if(!this._scope.isConnected)return;let t=this._scheduledFieldOptions;const n=this._changedValues(this._processedValues,this._scheduledValues);this._processedValues=this._scheduledValues,this._scheduledValues=null,this._callbackRunning=!0,this._scheduledFieldOptions=null;let r={...t,disable:!1};const i=[];if(this._batch)i.push(this._runCallback(n,r));else for(let e in n){const t=n[e];i.push(this._runCallback(t,e,r))}if(e.some(i,e.isPromise)){let e=Promise.allSettled(i);up.form.disableWhile(e,t),await e}this._callbackRunning=!1,this._requestCallback()}_runCallback(...e){return up.error.guard((()=>this._callback(...e)))}_changedValues(t,n){const r={};let i=Object.keys(t);i=i.concat(Object.keys(n)),i=e.uniq(i);for(let o of i){const i=t[o],s=n[o];e.isEqual(i,s)||(r[o]=s)}return r}_readFieldValues(){return up.Params.fromContainer(this._root).toObject()}_check(e={}){const t=this._readFieldValues();this._isNewValues(t)&&this._scheduleValues(t,e)}_onFormReset(){e.task((()=>this._check()))}}},()=>{const e=up.util,t=up.element;
2up.FormValidator=class{constructor(e){this._form=e,this._dirtySolutions=[],this._nextRenderTimer=null,this._rendering=!1,this._resetNextRenderPromise(),this._honorAbort()}_honorAbort(){up.fragment.onAborted(this._form,(e=>this._onAborted(e)))}_onAborted(e){this._dirtySolutions.length&&(this._dirtySolutions=[],this._nextRenderPromise.reject(new up.Aborted(e.reason)),this._resetNextRenderPromise())}_resetNextRenderPromise(){this._nextRenderPromise=e.newDeferred()}watchContainer(e){let{event:t}=this._originOptions(e);up.on(e,t,{guard:()=>up.fragment.isAlive(e)},(()=>up.error.muteUncriticalRejection(this.validate({origin:e}))))}validate(e={}){let t=this._getSolutions(e);return this._dirtySolutions.push(...t),this._scheduleNextRender(),this._nextRenderPromise}_getSolutions(e){let t=this._getTargetSelectorSolutions(e)||this._getFieldSolutions(e)||this._getElementSolutions(e.origin);for(let n of t)n.renderOptions=this._originOptions(n.origin,e),n.target=up.fragment.resolveOrigin(n.target,n);return t}_getFieldSolutions({origin:e,...t}){if(up.form.isField(e))return this._getValidateAttrSolutions(e)||this._getFormGroupSolutions(e,t)}_getFormGroupSolutions(e,{formGroup:t=!0}){if(!t)return;let n=up.form.groupSolution(e);return n?(up.puts("up.validate()","Validating form group of field %o",e),[n]):void 0}_getTargetSelectorSolutions({target:t,origin:n}){if(e.isString(t)){up.puts("up.validate()",'Validating target "%s"',t);let r=up.fragment.splitTarget(t);return e.compact(r.map((function(e){let t=up.fragment.get(e,{origin:n});if(t)return{element:t,target:e,origin:n};up.fail('Validation target "%s" does not match an element',e)})))}}_getElementSolutions(e){return up.puts("up.validate()","Validating element %o",e),[{element:e,target:up.fragment.toTarget(e),origin:e}]}_getValidateAttrSolutions(e){let n=e.closest("[up-validate]");if(n){let r=t.booleanOrStringAttr(n,"up-validate");return this._getTargetSelectorSolutions({target:r,origin:e})}}_originOptions(e,t){return up.form.watchOptions(e,t,{defaults:{event:"change"}})}_scheduleNextRender(){let t=this._dirtySolutions.map((e=>e.renderOptions.delay)),n=Math.min(...t)||0;clearTimeout(this._nextRenderTimer),this._nextRenderTimer=e.timer(n,(()=>{this._nextRenderTimer=null,this._renderDirtySolutions()}))}_renderDirtySolutions(){up.error.muteUncriticalRejection(this._doRenderDirtySolutions())}async _doRenderDirtySolutions(){if(!this._dirtySolutions.length)return;if(this._rendering)return;if(this._nextRenderTimer)return;let t=this._dirtySolutions;this._dirtySolutions=[];let n=e.map(t,"origin"),r=e.flatMap(n,up.form.fields),i=e.uniq(e.map(r,"name")),o=this._buildDataMap(t),s=e.map(t,"renderOptions"),a=e.mergeDefined(...s,{dataMap:o},up.form.destinationOptions(this._form));a.target=e.map(t,"target").join(", "),a.feedback=e.some(s,"feedback"),a.origin=this._form,a.focus??="keep",a.failOptions=!1,a.defaultMaybe=!0,a.params=up.Params.merge(a.params,...e.map(s,"params")),a.headers=e.merge(...e.map(s,"headers")),this._addValidateHeader(a.headers,i),a.guardEvent=up.event.build("up:form:validate",{fields:r,log:"Validating form",params:a.params,form:this._form}),this._rendering=!0;let u=this._nextRenderPromise;this._resetNextRenderPromise(),a.disable=!1;for(let e of t)up.form.disableWhile(u,{disable:e.renderOptions.disable,origin:e.origin});try{u.resolve(up.render(a)),await u}finally{this._rendering=!1,this._renderDirtySolutions()}}_addValidateHeader(e,t){let n=up.protocol.headerize("validate"),r=t.join(" ");(!r||r.length>up.protocol.config.maxHeaderSize)&&(r=":unknown"),e[n]=r}_buildDataMap(t){let n={};for(let r of t){let t=e.pluckKey(r.renderOptions,"data");e.pluckKey(r.renderOptions,"keepData")&&(t=up.data(r.element)),t&&(n[r.target]=t)}return n}static forElement(e){let t=up.form.get(e);return t.upFormValidator||=new this(t)}}},()=>{up.FocusCapsule=class{constructor(e,t){this._target=e,this._cursorProps=t}restore(e,t){let n=up.fragment.get(this._target,{layer:e});if(n)return up.viewport.copyCursorProps(this._cursorProps,n),up.focus(n,t),!0}static preserve(e){let t=up.viewport.focusedElementWithin(e.element);if(!t)return;let n=up.fragment.tryToTarget(t);if(!n)return;return new this(n,up.viewport.copyCursorProps(t))}}},()=>{const e=up.util;up.FragmentProcessor=class extends up.Record{keys(){return["fragment","autoMeans","origin","layer"]}process(e){let t=this.preprocess(e);return this.tryProcess(t)}preprocess(t){return e.parseTokens(t,{separator:"or"})}tryProcess(t){if(e.isArray(t))return this.processArray(t);if(e.isFunction(t)){let e=up.error.guard((()=>t(this.fragment,this.attributes())));return this.tryProcess(e)}if(e.isElement(t))return this.processElement(t);if(e.isString(t)){if("auto"===t)return this.tryProcess(this.autoMeans);let e=t.match(/^(.+?)-if-(.+?)$/);if(e)return this.resolveCondition(e[2])&&this.process(e[1])}return this.processPrimitive(t)}processArray(t){return e.find(t,(e=>this.tryProcess(e)))}resolveCondition(e){if("main"===e)return this.fragment&&up.fragment.contains(this.fragment,":main")}findSelector(e){const t={layer:this.layer,origin:this.origin};let n=this.fragment&&up.fragment.get(this.fragment,e,t)||up.fragment.get(e,t);if(n)return n;up.warn("up.render()",'Could not find an element matching "%s"',e)}}},()=>{const e=up.util,t=/^([^ >+(]+) (.+)$/;up.FragmentFinder=class{constructor(e){this._options=e,this._origin=e.origin,this._selector=e.selector,this._document=e.document||window.document,this._match=e.match??up.fragment.config.match,this._preferOldElements=e.preferOldElements}find(){return this._findInPreferredElements()||this._findInRegion()||this._findFirst()}_findInPreferredElements(){if(this._preferOldElements)return this._preferOldElements.find((e=>this._document.contains(e)&&up.fragment.matches(e,this._selector)))}_findInRegion(){if("region"===this._match&&!up.fragment.containsMainPseudo(this._selector)&&this._origin?.isConnected)return this._findClosest()||this._findDescendantInRegion()}_findClosest(){return up.fragment.closest(this._origin,this._selector,this._options)}_findDescendantInRegion(){let n=up.fragment.splitTarget(this._selector);return e.findResult(n,(e=>{let n=e.match(t);if(n){let e=up.fragment.closest(this._origin,n[1],this._options);if(e)return up.fragment.getDumb(e,n[2])}}))}_findFirst(){return up.fragment.getDumb(this._document,this._selector,this._options)}}},()=>{const e=up.util,t=up.element,n={preventScroll:!0};up.FragmentFocus=class extends up.FragmentProcessor{keys(){return super.keys().concat(["hash","focusCapsule","inputDevice"])}processPrimitive(t){switch(t){case"keep":return this._restoreLostFocus();case"restore":return this._restorePreviousFocusForLocation();case"target":case!0:return this._focusElement(this.fragment);case"layer":return this._focusElement(this.layer.getFocusElement());case"main":return this._focusSelector(":main");case"hash":return this._focusHash();case"autofocus":return this._autofocus();default:if(e.isString(t))return this._focusSelector(t)}}processElement(e){return this._focusElement(e)}resolveCondition(e){return"lost"===e?this._wasFocusLost():super.resolve
2Condition(e)}_focusSelector(e){let t=this.findSelector(e);return this._focusElement(t)}_restoreLostFocus(){if(this._wasFocusLost())return this.focusCapsule?.restore(this.layer,n)}_restorePreviousFocusForLocation(){return up.viewport.restoreFocus({layer:this.layer})}_autofocus(){let e=this.fragment&&t.subtree(this.fragment,"[autofocus]")[0];if(e)return this._focusElement(e)}_focusElement(e){if(e)return up.focus(e,{force:!0,...n,inputDevice:this.inputDevice}),!0}_focusHash(){let e=up.viewport.firstHashTarget(this.hash,{layer:this.layer});if(e)return this._focusElement(e)}_wasFocusLost(){return!this.layer.hasFocus()}}},()=>{const e=up.element;up.FragmentPolling=class{constructor(e){this._options=up.radio.pollOptions(e),this._fragment=e,up.destructor(e,this._onFragmentDestroyed.bind(this)),up.fragment.onAborted(e,this._onFragmentAborted.bind(this)),this._state="initialized",this._abortable=!0,this._loading=!1,this._satisfyInterval()}static forFragment(e){return e.upPolling||=new this(e)}onPollAttributeObserved(){this._start()}_onFragmentDestroyed(){this._stop()}_start(e){if(Object.assign(this._options,e),"started"!==this._state){if(!up.fragment.isTargetable(this._fragment))return void up.warn("[up-poll]","Cannot poll untargetable fragment %o",this._fragment);this._state="started",this._ensureEventsBound(),this._scheduleRemainingTime()}}_stop(){"started"===this._state&&(this._clearReloadTimer(),this._state="stopped",this.unbindEvents?.())}forceStart(e){Object.assign(this._options,e),this.forceStarted=!0,this._start()}forceStop(){this._stop(),this.forceStarted=!1}_ensureEventsBound(){this.unbindEvents||(this.unbindEvents=up.on("visibilitychange up:layer:opened up:layer:dismissed up:layer:accepted",this._onVisibilityChange.bind(this)))}_onVisibilityChange(){this._isFragmentVisible()&&this._scheduleRemainingTime()}_isFragmentVisible(){return!document.hidden&&("any"===this._options.ifLayer||this._isOnFrontLayer())}_clearReloadTimer(){clearTimeout(this.reloadTimer),this.reloadTimer=null}_scheduleRemainingTime(){this.reloadTimer||this._loading||(this._clearReloadTimer(),this.reloadTimer=setTimeout(this._onTimerReached.bind(this),this._getRemainingDelay()))}_onTimerReached(){this.reloadTimer=null,this._tryReload()}_tryReload(){"started"===this._state&&(this._isFragmentVisible()?this._reloadNow():up.puts("[up-poll]","Will not poll hidden fragment"))}_getFullDelay(){return this._options.interval??e.numberAttr(this._fragment,"up-interval")??up.radio.config.pollInterval}_getRemainingDelay(){return Math.max(this._getFullDelay()-this._getFragmentAge(),0)}_getFragmentAge(){return new Date-this._lastAttempt}_isOnFrontLayer(){return this.layer||=up.layer.get(this._fragment),this.layer?.isFront?.()}_reloadNow(){this._clearReloadTimer();let e=this._abortable;try{this._abortable=!1,this._loading=!0,up.reload(this._fragment,this._reloadOptions()).then(this._onReloadSuccess.bind(this),this._onReloadFailure.bind(this))}finally{this._abortable=e}}_reloadOptions(){let e=up.event.build("up:fragment:poll",{log:["Polling fragment",this._fragment]});return{...this._options,guardEvent:e}}_onFragmentAborted({newLayer:e}){this._abortable&&!e&&this._stop()}_onReloadSuccess({fragment:e}){this._loading=!1,this._satisfyInterval(),e?this._onFragmentSwapped(e):this._scheduleRemainingTime()}_onFragmentSwapped(e){this._stop(),this.forceStarted&&up.fragment.matches(this._fragment,e)&&this.constructor.forFragment(e).forceStart(this._options)}_onReloadFailure(e){this._loading=!1,this._satisfyInterval(),this._scheduleRemainingTime(),up.error.throwCritical(e)}_satisfyInterval(){this._lastAttempt=new Date}}},()=>{const e=up.util;up.FragmentScrolling=class extends up.FragmentProcessor{keys(){return super.keys().concat(["hash","mode","revealTop","revealMax","revealSnap","scrollBehavior"])}processPrimitive(t){switch(t){case"reset":return this._reset();case"layer":return this._revealLayer();case"main":return this._revealSelector(":main");case"restore":return this._restore();case"hash":return this.hash&&up.viewport.revealHash(this.hash,this.attributes());case"target":case"reveal":case!0:return this._revealElement(this.fragment);default:if(e.isString(t))return this._revealSelector(t)}}processElement(e){return this._revealElement(e)}_revealElement(e){if(e)return up.reveal(e,this.attributes()),!0}_revealSelector(e){let t=this.findSelector(e);return this._revealElement(t)}_revealLayer(){return this._revealElement(this.layer.getBoxElement())}_reset(){return up.viewport.resetScroll({...this.attributes(),around:this.fragment}),!0}
2_restore(){return up.viewport.restoreScroll({...this.attributes(),around:this.fragment})}}},()=>{const e=up.element,t=up.util;up.Layer=class extends up.Record{keys(){return["element","stack","history","mode","context","lastScrollTops","lastFocusCapsules"]}defaults(){return{context:{},lastScrollTops:up.viewport.newStateCache(),lastFocusCapsules:up.viewport.newStateCache()}}constructor(e={}){if(super(e),!this.mode)throw"missing { mode } option"}setupHandlers(){up.link.convertClicks(this)}teardownHandlers(){}mainTargets(){return up.layer.mainTargets(this.mode)}sync(){}accept(){throw new up.NotImplemented}dismiss(){throw new up.NotImplemented}peel(e){this.stack.peel(this,e)}evalOption(e){return t.evalOption(e,this)}isCurrent(){return this.stack.isCurrent(this)}isFront(){return this.stack.isFront(this)}isRoot(){return this.stack.isRoot(this)}isOverlay(){return this.stack.isOverlay(this)}isOpen(){return this.stack.isOpen(this)}isClosed(){return this.stack.isClosed(this)}get parent(){return this.stack.parentOf(this)}get child(){return this.stack.childOf(this)}get ancestors(){return this.stack.ancestorsOf(this)}get descendants(){return this.stack.descendantsOf(this)}get subtree(){return[this,...this.descendants]}get index(){return this._index??=this.stack.indexOf(this)}getContentElement(){return this.contentElement||this.element}getBoxElement(){return this.boxElement||this.element}getFocusElement(){return this.getBoxElement()}getFirstSwappableElement(){throw new up.NotImplemented}contains(e){return e.closest(up.layer.anySelector())===this.element}on(...e){return this._buildEventListenerGroup(e).bind()}off(...e){return this._buildEventListenerGroup(e).unbind()}_buildEventListenerGroup(e){return up.EventListenerGroup.fromBindArgs(e,{guard:e=>this._containsEventTarget(e),elements:[this.element],baseLayer:this})}_containsEventTarget(e){return this.contains(e.target)}wasHitByMouseEvent({clientX:e,clientY:t}){const n=document.elementFromPoint(e,t);return!n||this.contains(n)}_buildEventEmitter(e){return up.EventEmitter.fromEmitArgs(e,{layer:this})}emit(...e){return this._buildEventEmitter(e).emit()}isDetached(){return!this.element.isConnected}saveHistory(){this.history&&(this.savedTitle=document.title,this.savedMetaTags=up.history.findMetaTags(),this.savedLocation=up.history.location,this.savedLang=up.history.getLang())}restoreHistory(){this.showsLiveHistory()&&(this.savedLocation&&up.history.push(this.savedLocation),this.savedTitle&&(document.title=this.savedTitle),this.savedMetaTags&&up.history.updateMetaTags(this.savedMetaTags),t.isString(this.savedLang)&&up.history.updateLang(this.savedLang))}asCurrent(e){return this.stack.asCurrent(this,e)}updateHistory(e){t.isString(e.location)&&(this.location=e.location),up.history.config.updateMetaTags&&t.isList(e.metaTags)&&(up.migrate?.warnOfHungryMetaTags?.(e.metaTags),this.metaTags=e.metaTags),t.isString(e.title)&&(this.title=e.title),t.isString(e.lang)&&(this.lang=e.lang)}showsLiveHistory(){return this.history&&this.isFront()}get title(){return this.showsLiveHistory()?document.title:this.savedTitle}set title(e){this.savedTitle=e,this.showsLiveHistory()&&(document.title=e)}get metaTags(){return this.showsLiveHistory()?up.history.findMetaTags():this.savedMetaTags}set metaTags(e){this.savedMetaTags=e,this.showsLiveHistory()&&up.history.updateMetaTags(e)}get lang(){return this.showsLiveHistory()?up.history.getLang():this.savedLang}set lang(e){this.savedLang=e,this.showsLiveHistory()&&up.history.updateLang(e)}get location(){return this.showsLiveHistory()?up.history.location:this.savedLocation}set location(e){(this.location!==(e=t.normalizeURL(e))||this.opening)&&(this.savedLocation=e,this.showsLiveHistory()&&up.history.push(e),this.opening||this.emit("up:layer:location:changed",{location:e}))}selector(e){return this.constructor.selector(e)}static selector(e){throw new up.NotImplemented}toString(){throw new up.NotImplemented}affix(...t){return e.affix(this.getFirstSwappableElement(),...t)}[t.isEqual.key](e){return this.constructor===e.constructor&&this.element===e.element}hasFocus(){let e=document.activeElement;return e!==document.body&&this.element.contains(e)}reset(){Object.assign(this,this.defaults())}}},()=>{const e=up.element,t=up.util;up.Layer.Overlay=class extends up.Layer{keys(){return super.keys().concat(["position","align","size","origin","class","backdrop","openAnimation","closeAnimation","openDuration","closeDuration","openEasing","closeEasing","backdropOpe
2nAnimation","backdropCloseAnimation","dismissable","dismissLabel","dismissAriaLabel","trapFocus","onOpened","onAccept","onAccepted","onDismiss","onDismissed","acceptEvent","dismissEvent","acceptLocation","dismissLocation","opening"])}constructor(e){super(e),!0===this.dismissable?this.dismissable=["button","key","outside"]:!1===this.dismissable?this.dismissable=[]:this.dismissable=t.parseTokens(this.dismissable),this.acceptLocation&&(this.acceptLocation=new up.URLPattern(this.acceptLocation)),this.dismissLocation&&(this.dismissLocation=new up.URLPattern(this.dismissLocation))}callback(e){let t=this[e];if(t)return t.bind(this)}createElement(e){this.nesting||=this._suggestVisualNesting();const n=t.compactObject(t.pick(this,["align","position","size","class","nesting"]));this.element=this.affixPart(e,null,n)}createBackdropElement(e){this.backdropElement=this.affixPart(e,"backdrop")}createViewportElement(e){this.viewportElement=this.affixPart(e,"viewport",{"up-viewport":""})}createBoxElement(e){this.boxElement=this.affixPart(e,"box")}createContentElement(e){this.contentElement=this.affixPart(e,"content")}setContent(e){this.contentElement.append(e),this.onContentSet()}onContentSet(){}createDismissElement(t){return this.dismissElement=this.affixPart(t,"dismiss",{"up-dismiss":'":button"',"aria-label":this.dismissAriaLabel}),e.affix(this.dismissElement,'span[aria-hidden="true"]',{text:this.dismissLabel})}affixPart(t,n,r={}){return e.affix(t,this.selector(n),r)}static selector(e){return t.compact(["up",this.mode,e]).join("-")}_suggestVisualNesting(){const{parent:e}=this;return this.mode===e.mode?1+e._suggestVisualNesting():0}setupHandlers(){super.setupHandlers(),this.overlayFocus=new up.OverlayFocus(this),this._supportsDismissMethod("button")&&this.createDismissElement(this.getBoxElement()),this._supportsDismissMethod("outside")&&(this.viewportElement?up.on(this.viewportElement,"up:click",(e=>{e.target===this.viewportElement&&this._onOutsideClicked(e,!0)})):this.unbindParentClicked=this.parent.on("up:click",((e,t)=>{if(!up.layer.isWithinForeignOverlay(t)){const n=this.origin&&this.origin.contains(t);this._onOutsideClicked(e,n)}}))),this._supportsDismissMethod("key")&&(this.unbindEscapePressed=up.event.onEscape((e=>this.onEscapePressed(e)))),this.registerClickCloser("up-accept",((e,t)=>{this.accept(e,t)})),this.registerClickCloser("up-dismiss",((e,t)=>
2{this.dismiss(e,t)})),up.migrate.registerLayerCloser?.(this),this._registerEventCloser(this.acceptEvent,this.accept),this._registerEventCloser(this.dismissEvent,this.dismiss),this.on("up:click","label[for]",((e,t)=>this._onLabelClicked(e,t)))}_onLabelClicked(t,n){let r=n.getAttribute("for"),i=up.form.fieldSelector(e.idSelector(r)),o=up.fragment.all(i,{layer:"any"}),s=up.fragment.all(i,{layer:this});if(o.length>1&&s[0]!==o[0]){t.preventDefault();const e=s[0];e.focus(),e.matches("input[type=checkbox], input[type=radio]")&&e.click()}}_onOutsideClicked(e,t){up.log.putsEvent(e),t&&up.event.halt(e),up.error.muteUncriticalSync((()=>this.dismiss(":outside",{origin:e.target})))}onEscapePressed(e){if(this.isFront()){let t=up.form.focusedField();t?t.blur():this._supportsDismissMethod("key")&&(up.event.halt(e,{log:!0}),up.error.muteUncriticalSync((()=>this.dismiss(":key"))))}}registerClickCloser(t,n){let r=`[${t}]`;this.on("up:click",r,(function(i){up.event.halt(i,{log:!0});const o=i.target.closest(r),s=e.jsonAttr(o,t),a={origin:o},u=new up.OptionsParser(o,a);u.booleanOrString("animation"),u.string("easing"),u.number("duration"),u.string("confirm"),up.error.muteUncriticalSync((()=>n(s,a)))}))}_registerEventCloser(e,t){if(e)return this.on(e,(e=>{e.preventDefault(),up.error.muteUncriticalSync((()=>t.call(this,e,{response:e.response})))}))}tryAcceptForLocation(e){this._tryCloseForLocation(this.acceptLocation,this.accept,e)}tryDismissForLocation(e){this._tryCloseForLocation(this.dismissLocation,this.dismiss,e)}_tryCloseForLocation(e,t,n){let r,i;if(e&&(r=this.location)&&(i=e.recognize(r))){const e={...i,location:r};up.error.muteUncriticalSync((()=>t.call(this,e,n)))}}teardownHandlers(){super.teardownHandlers(),this.unbindParentClicked?.(),this.unbindEscapePressed?.(),this.overlayFocus.teardown()}destroyElements(e){const t={...e,animation:()=>this.startCloseAnimation(e),onFinished:()=>{this.onElementsRemoved(),e.onFinished?.()},log:!1};up.destroy(this.element,t)}onElementsRemoved(){}_startAnimation(e={}){const t=up.animate(this.getBoxElement(),e.boxAnimation,e);let n;return this.backdrop&&!up.motion.isNone(e.boxAnimation)&&(n=up.animate(this.backdropElement,e.backdropAnimation,e)),Promise.all([t,n])}async startOpenAnimation(e={}){await this._startAnimation({boxAnimation:e.animation??this.evalOption(this.openAnimation),backdropAnimation:"fade-in",easing:e.easing||this.openEasing,duration:e.duration||this.openDuration}),this.wasEverVisible=!0}startCloseAnimation(e={}){return this._startAnimation({boxAnimation:this.wasEverVisible&&(e.animation??this.evalOption(this.closeAnimation)),backdropAnimation:this.wasEverVisible&&"fade-out",easing:e.easing||this.closeEasing,duration:e.duration||this.closeDuration})}accept(e=null,t={}){return this._executeCloseChange("accept",e,t)}dismiss(e=null,t={}){return this._executeCloseChange("dismiss",e,t)}_supportsDismissMethod(e){return t.contains(this.dismissable,e)}_executeCloseChange(e,t,n){return n={...n,verb:e,value:t,layer:this},new up.Change.CloseLayer(n).execute()}getFirstSwappableElement(){return this.getContentElement().children[0]}toString(){return`${this.mode} overlay`}}},()=>{up.Layer.OverlayWithTether=class extends up.Layer.Overlay{createElements(){this.origin||up.fail("Missing { origin } option"),this._tether=new up.Tether({anchor:this.origin,align:this.align,position:this.position}),this.createElement(this._tether.parent),this.createContentElement(this.element)}onContentSet(){this._tether.start(this.element)}onElementsRemoved(){this._tether.stop()}sync(){this.isOpen()&&(this.isDetached()||this._tether.isDetached()?this.dismiss(":detached",{animation:!1,preventable:!1}):this._tether.sync())}}},()=>{up.Layer.OverlayWithViewport=class extends up.Layer.Overlay{static getParentElement(){return document.body}createElements(){up.viewport.bodyShifter.raiseStack(),this.createElement(this.constructor.getParentElement()),this.backdrop&&this.createBackdropElement(this.element),this.createViewportElement(this.element),this.createBoxElement(this.viewportElement),this.createContentElement(this.boxElement)}onElementsRemoved(){up.viewport.bodyShifter.lowerStack()}sync(){this.isDetached()&&this.isOpen()&&this.constructor.getParentElement().appendChild(this.element)}}},()=>{var e;const t=up.element;
2up.Layer.Root=((e=class extends up.Layer{get element(){return t.root}constructor(e){super(e),this.setupHandlers()}getFirstSwappableElement(){return document.body}static selector(){return"html"}setupHandlers(){this.element.upHandlersApplied||(this.element.upHandlersApplied=!0,super.setupHandlers())}sync(){this.setupHandlers()}accept(){this._cannotCloseRoot()}dismiss(){this._cannotCloseRoot()}_cannotCloseRoot(){up.fail("Cannot close the root layer")}toString(){return"root layer"}}).mode="root",e)},()=>{var e;up.Layer.Modal=((e=class extends up.Layer.OverlayWithViewport{}).mode="modal",e)},()=>{var e;up.Layer.Popup=((e=class extends up.Layer.OverlayWithTether{}).mode="popup",e)},()=>{var e;up.Layer.Drawer=((e=class extends up.Layer.OverlayWithViewport{}).mode="drawer",e)},()=>{var e;up.Layer.Cover=((e=class extends up.Layer.OverlayWithViewport{}).mode="cover",e)},()=>{var e;const t=up.util,n=up.element;up.LayerLookup=(e=class{constructor(e,n){this._stack=e,!1!==n.normalizeLayerOptions&&up.layer.normalizeOptions(n),this._options=n,this._values=t.parseTokens(n.layer)}all(){let e=t.flatMap(this._values,(e=>this._resolveValue(e)));return e=t.compact(e),e=t.uniq(e),e}static all(e,...n){const r=t.parseArgIntoOptions(n,"layer"),{layer:i}=r;return i instanceof up.Layer?[i]:new this(e,r).all()}_forElement(e){return e=n.get(e),t.find(this._stack.reversed(),(t=>t.contains(e)))}_forIndex(e){return this._stack.at(e)}_resolveValue(e){if(e instanceof up.Layer)return e;if(t.isNumber(e))return this._forIndex(e);if(/^\d+$/.test(e))return this._forIndex(Number(e));if(t.isElementish(e))return this._forElement(e);switch(e){case"any":return[this._getBaseLayer(),...this._stack.reversed()];case"current":return this._getBaseLayer();case"closest":return this._stack.selfAndAncestorsOf(this._getBaseLayer());case"parent":return this._getBaseLayer().parent;case"ancestor":case"ancestors":return this._getBaseLayer().ancestors;case"child":return this._getBaseLayer().child;case"descendant":case"descendants":return this._getBaseLayer().descendants;case"subtree":return this._getBaseLayer().subtree;case"new":return"new";case"root":return this._stack.root;case"overlay":case"overlays":return t.reverse(this._stack.overlays);case"front":return this._stack.front;case"origin":return this._getOriginLayer();default:return up.fail("Unknown { layer } option: %o",e)}}_getOriginLayer(){let{origin:e,originLayer:t}=this._options;return t||(e?this._forElement(e):void 0)}_getBaseLayer(){let{baseLayer:e}=this._options;if(t.isString(e)){const t={...this._options,baseLayer:this._stack.current,normalizeLayerOptions:!1,layer:e};return this.constructor.all(this._stack,t)[0]}return e||this._getOriginLayer()||this._stack.current}},t.memoizeMethod(e.prototype,{_getBaseLayer:!0,_getOriginLayer:!0}),e)},()=>{const e=up.util;up.LayerStack=class{constructor(){this._currentOverrides=[],this.layers=[this._buildRoot()]}_buildRoot(){return up.layer.build({mode:"root",stack:this})}remove(t){e.remove(this.layers,t)}peel(t,n){const r=e.reverse(t.descendants),i={...n,preventable:!1};for(let e of r)e.dismiss(":peel",i)}reset(){this.peel(this.root,{animation:!1}),this._currentOverrides=[],this.root.reset()}isOpen(t){return e.contains(this.layers,t)}isClosed(e){return!this.isOpen(e)}parentOf(e){return this.layers[e.index-1]}childOf(e){return this.layers[e.index+1]}ancestorsOf(t){return e.reverse(this.layers.slice(0,t.index))}selfAndAncestorsOf(e){return[e,...e.ancestors]}descendantsOf(e){return this.layers.slice(e.index+1)}isRoot(e){return this.root===e}isOverlay(e){return this.root!==e}isCurrent(e){return this.current===e}isFront(e){return this.front===e}get(...e){return this.getAll(...e)[0]}getAll(...e){return up.LayerLookup.all(this,...e)}sync(){for(let e of this.layers)e.sync()}asCurrent(e,t){try{return this._currentOverrides.push(e),t()}finally{this._currentOverrides.pop()}}reversed(){return e.reverse(this.layers)}dismissOverlays(t=null,n={}){n.dismissable=!1;for(let r of e.reverse(this.overlays))r.dismiss(t,n)}at(e){return this.layers[e]}indexOf(e){return this.layers.indexOf(e)}get count(){return this.layers.length}get root(){return this.layers[0]}get overlays(){return this.root.descendants}get current(){return e.last(this._currentOverrides)||this.front}get front(){return e.last(this.layers)}}},()=>{const e=up.util;up.LinkFeedbackURLs=class{constructor(t){if(this._isSafe=up.link.isSafe(t),this._isSafe){const n=t.getAttribute("href");n&&"#"!==n&&(this._href=e.matchableURL(n));const r=t.getAttribute("up-href");r&&(this._upHREF=e.matchableURL(r));const i=t.getAttribute("up-alias");i&&(this._aliasPattern=new up.URLPattern(i))}}isCurrent(e){return!!e&&!(this._href!==e&&this._upHREF!==e&&!this._aliasPattern?.test?.(e,!1))}}},()=>{const e=up.util,t=up.element;up.LinkFollowIntent=class{constructor(e,t){this._link=e,this._callback=t,this._on("mouseenter mousedown touchstart",(e=>this._scheduleCallback(e))),this._on("mouseleave",(()=>this._unscheduleCallback())),up.fragment.onAborted(this._link,(()=>this._unscheduleCallback()))}_on(e,t){up.on(this._link,e,{passive:!0},t)}_scheduleCallback(t){if(!up.link.shouldFollowEvent(t,this._link))return;this._unscheduleCallback();
2if("mouseenter"===t.type){let n=this._parseDelay();this._timer=e.timer(n,(()=>this._runCallback(t)))}else this._runCallback(t)}_unscheduleCallback(){clearTimeout(this._timer),up.network.abort((e=>e.origin===this._link&&e.background))}_parseDelay(){return t.numberAttr(this._link,"up-preload-delay")??up.link.config.preloadDelay}_runCallback(e){up.log.putsEvent(e),up.error.muteUncriticalRejection(this._callback())}}},()=>{const e=up.util,t=up.element;up.MotionController=class{constructor(e){this._activeClass=`up-${e}`,this._selector=`.${this._activeClass}`,this.finishEvent=`up:${e}:finish`,this.finishCount=0,this._clusterCount=0}startFunction(e,n,r={}){e=t.list(e);const i=()=>up.error.muteUncriticalRejection(n());if(r.trackMotion=r.trackMotion??up.motion.isEnabled(),!1===r.trackMotion)return i();{r.trackMotion=!1,this.finish(e),this._markCluster(e);let t=this._whileForwardingFinishEvent(e,i);return t=t.then((()=>this._unmarkCluster(e))),t}}finish(e){if(this.finishCount++,0!==this._clusterCount&&up.motion.isEnabled()){e=this._expandFinishRequest(e);for(let t of e)this._finishOneElement(t);return up.migrate.formerlyAsync?.("up.motion.finish()")}}_expandFinishRequest(n){return n?e.flatMap(n,(e=>t.list(e.closest(this._selector),e.querySelectorAll(this._selector)))):document.querySelectorAll(this._selector)}isActive(e){return e.classList.contains(this._activeClass)}
2_finishOneElement(e){this._emitFinishEvent(e)}_emitFinishEvent(e,t={}){return t={target:e,log:!1,...t},up.emit(this.finishEvent,t)}_markCluster(e){this._clusterCount++,this._toggleActive(e,!0)}_unmarkCluster(e){this._clusterCount--,this._toggleActive(e,!1)}_toggleActive(e,t){for(let n of e)n.classList.toggle(this._activeClass,t)}_whileForwardingFinishEvent(e,t){if(e.length<2)return t();const n=up.on(e,this.finishEvent,(t=>{if(!t.forwarded)for(let n of e)n!==t.target&&this.isActive(n)&&this._emitFinishEvent(n,{forwarded:!0})}));return t().then(n)}async reset(){await this.finish(),this.finishCount=0,this._clusterCount=0}}},()=>{const e=up.util,t=up.element;up.NonceableCallback=class{constructor(e,t){this.script=e,this.nonce=t}static fromString(e){let t=e.match(/^(nonce-([^\s]+)\s)?(.*)$/);return new this(t[3],t[2])}toFunction(...e){if(this.nonce){let t=this;return function(...n){return t._runAsNoncedFunction(this,e,n)}}return new Function(...e,this.script)}toString(){return`nonce-${this.nonce} ${this.script}`}_runAsNoncedFunction(e,t,n){let r,i=`\n try {\n up.noncedEval.value = (function(${t.join()}) {\n ${this.script}\n }).apply(up.noncedEval.thisArg, up.noncedEval.args)\n } catch (error) {\n up.noncedEval.error = error\n }\n `;try{if(up.noncedEval={args:n,thisArg:e},r=up.element.affix(document.body,"script",{nonce:this.nonce,text:i}),up.noncedEval.error)throw up.noncedEval.error;return up.noncedEval.value}finally{up.noncedEval=void 0,r&&r.remove()}}_allowedBy(t){return this.nonce&&e.contains(t,this.nonce)}static adoptNonces(n,r){if(!r?.length)return;const i=e.memoize(up.protocol.cspNonce);e.each(up.script.config.nonceableAttributes,(o=>{let s=t.subtree(n,`[${o}^="nonce-"]`);e.each(s,(e=>{let t=e.getAttribute(o),n=this.fromString(t),s=(e,...n)=>up.log.warn("up.render()",`Cannot use callback [${o}="${t}"]: ${e}`,...n);if(!n._allowedBy(r))return s("Callback's CSP nonce (%o) does not match response header (%o)",n.nonce,r);let a=i();if(!a)return s("Current page's CSP nonce is unknown");n.nonce=a,e.setAttribute(o,n.toString())}))}))}}},()=>{const e=up.element,t=up.util;up.OverlayFocus=class{constructor(e){this._layer=e,this._focusElement=this._layer.getFocusElement(),this._trapFocus=this._layer.trapFocus}moveToFront(){this._active||(this._active=!0,this._unsetAttrs=e.setTemporaryAttrs(this._focusElement,{tabindex:"0",role:"dialog","aria-modal":this._trapFocus.toString()}),this._trapFocus&&(this._untrapFocus=up.on("focusin",(e=>this._onFocus(e))),this._focusTrapBefore=e.affix(this._focusElement,"beforebegin","up-focus-trap[tabindex=0]"),this._focusTrapAfter=e.affix(this._focusElement,"afterend","up-focus-trap[tabindex=0]")))}moveToBack(){this.teardown()}teardown(){this._active&&(this._active=!1,this._unsetAttrs(),this._trapFocus&&(this._untrapFocus(),this._focusTrapBefore.remove(),this._focusTrapAfter.remove()))}_onFocus(e){const{target:t}=e;this._processingFocusEvent||up.layer.isWithinForeignOverlay(t)||(this._processingFocusEvent=!0,t===this._focusTrapBefore?this._focusEnd():t!==this._focusTrapAfter&&this._layer.contains(t)||this._focusStart(),this._processingFocusEvent=!1)}_focusStart(e){up.focus(this._focusElement,e)}_focusEnd(){this._focusLastDescendant(this._layer.getBoxElement())||this._focusStart()}_focusLastDescendant(e){for(let n of t.reverse(e.children))if(up.viewport.tryFocus(n)||this._focusLastDescendant(n))return!0}}},()=>{const e=up.util,t=up.element;up.Params=class{constructor(e){this.clear(),this.addAll(e)}clear(){this.entries=[]}[e.copy.key](){return new up.Params(this)}toObject(){const t={};for(let n of this.entries){const{name:r,value:i}=n;e.isBasicObjectProperty(r)||(this._isArrayKey(r)?(t[r]||=[],t[r].push(i)):t[r]=i)}return t}toArray(){return this.entries}toFormData(){const e=new FormData;for(let t of this.entries)e.append(t.name,t.value);return e.entries||(e.originalArray=this.entries),e}toQuery(){let t=e.map(this.entries,this._arrayEntryToQuery.bind(this));return t=e.compact(t),t.join("&")}_arrayEntryToQuery(t){const{value:n}=t;if(this._isBinaryValue(n))return;let r=encodeURIComponent(t.name);return e.isGiven(n)&&(r+="=",r+=encodeURIComponent(n)),r}_isBinaryValue(e){return e instanceof Blob}hasBinaryValues(){const t=e.map(this.entries,"value");return e.some(t,this._isBinaryValue)}toURL(t){let n=[t,this.toQuery()];n=e.filter(n,e.isPresent);const r=e.contains(t,"?")?"&":"?";return n.join(r)}add(e,t){this.entries.push({name:e,value:t})}addAll(t){e.isMissing(t)||(t instanceof this.constructor?this.entries.push(...t.entries):e.isArray(t)?this.entries.push(...t):e.isString(t)?this._addAllFromQuery(t):e.isFormData(t)?this._addAllFromFormData(t):e.isObject(t)?this._addAllFromObject(t):up.fail("Unsupport params type: %o",t))}_addAllFromObject(t){for(let n in t){const r=t[n],i=e.isArray(r)?r:[r];for(let e of i)this.add(n,e)}}_addAllFromQuery(t){for(let n of t.split("&"))if(n){let[t,r]=n.split("=");
2t=decodeURIComponent(t),r=e.isGiven(r)?decodeURIComponent(r):null,this.add(t,r)}}_addAllFromFormData(e){for(let t of e.entries())this.add(...t)}set(e,t){this.delete(e),this.add(e,t)}delete(t){this.entries=e.reject(this.entries,this._matchEntryFn(t))}_matchEntryFn(e){return t=>t.name===e}get(e){return this._isArrayKey(e)?this.getAll(e):this.getFirst(e)}getFirst(t){const n=e.find(this.entries,this._matchEntryFn(t));return n?.value}getAll(t){if(this._isArrayKey(t))return this.getAll(t);{const n=e.map(this.entries,this._matchEntryFn(t));return e.map(n,"value")}}_isArrayKey(e){return e.endsWith("[]")}[e.isBlank.key](){return 0===this.entries.length}static fromForm(e){return this.fromContainer(e)}static fromContainer(e){let t=up.form.fields(e);return this.fromFields(t)}static fromFields(t){const n=new this;for(let r of e.wrapList(t))n.addField(r);return n}addField(e){let n=(e=t.get(e)).name;if(n&&!e.disabled){const{tagName:t}=e,{type:r}=e;if("SELECT"===t)for(let t of e.querySelectorAll("option"))t.selected&&this.add(n,t.value);else if("checkbox"===r||"radio"===r)e.checked&&this.add(n,e.value);else{if("file"!==r)return this.add(n,e.value);for(let t of e.files)this.add(n,t)}}}[e.isEqual.key](t){return this.constructor===t.constructor&&e.isEqual(this.entries,t.entries)}static fromURL(t){const n=new this;let r=e.parseURL(t).search;return r&&(r=r.replace(/^\?/,""),n.addAll(r)),n}static stripURL(t){return e.normalizeURL(t,{search:!1})}static merge(...e){return e.reduce((function(e,t){return e.addAll(t),e}),new up.Params)}}},()=>{const e=up.element;up.ProgressBar=class{constructor(){this._step=0,this._element=e.affix(document.body,"up-progress-bar"),this._element.style.transition="width 300ms ease-out",this._moveTo(0),up.element.paint(this._element),this._width=31,this._nextStep()}_nextStep(){let e;e=this._width<80?Math.random()<.15?7+5*Math.random():1.5+.5*Math.random():.13*(100-this._width)*Math.random(),this._moveTo(this._width+e),this._step++;const t=300+40*this._step;this.timeout=setTimeout(this._nextStep.bind(this),t)}_moveTo(e){this._width=e,this._element.style.width=`${e}vw`}destroy(){clearTimeout(this.timeout),this._element.remove()}conclude(){clearTimeout(this.timeout),this._moveTo(100),setTimeout(this.destroy.bind(this),300)}}},()=>{const e=up.util;up.RenderOptions=function(){const t={useHungry:!0,useKeep:!0,saveScroll:!0,saveFocus:!0,focus:"keep",abort:"target",failOptions:!0},n={abort:!1,confirm:!1,feedback:!1,cache:!0,background:!0},r=["url","method","origin","headers","params","cache","fallback","abort","abortable","confirm","feedback","origin","originLayer","baseLayer","fail","onError"].concat(["keep","hungry","history","source","saveScroll","navigate","baseLayer"]),i=["url","response","content","fragment","document"],o=["history","focus","scroll"];function s({origin:e,originLayer:t}){if(e&&!t)return{originLayer:up.layer.get(e)}}return{preprocess:function(r){up.migrate.preprocessRenderOptions?.(r);const i=e.merge(t,function(e){if(e.navigate)return up.fragment.config.navigateOptions}(r));return e.merge(e.omit(i,o),{defaults:i},{inputDevice:up.event.inputDevice},r,function({url:t}){if(t)return{url:e.normalizeURL(t)}}(r),s(r),function(e){if(e.preload)return n}(r))},finalize:function(t,n){return e.merge(t.defaults,n,t)},assertContentGiven:function(t){e.some(i,(n=>e.isGiven(t[n])))||(t.defaultToEmptyContent?t.content="":up.fail("up.render() needs either { "+i.join(", ")+" } option"))},deriveFailOptions:function(t){let n=function(e){const t={};for(let n in e){const r=e[n];let i=up.fragment.successKey(n);i&&(t[i]=r)}return t}(t),i=s(n);return t.failOptions?{...t.defaults,...e.pick(t,r),...n,...i,failPrefixForced:!0}:{...t,...n,...i}}}}()},()=>{up.RenderResult=class extends up.Record{keys(){return["fragments","layer","target","options","finished"]}defaults(){return{fragments:[]}}get none(){return!this.fragments.length}get fragment(){return this.fragments[0]}static both(e,t,n=!0){return t?new this({target:e.target,layer:e.layer,options:e.options,fragments:e.fragments.concat(t.fragments),finished:n&&this.mergeFinished(e,t)}):e}static async mergeFinished(e,t){return this.both(await e.finished,await t.finished,!1)}static buildNone(){return new this({target:":none",finished:Promise.resolve()})}}},()=>{var e;const t=up.util;up.Request=(e=class extends up.Record{keys(){return["method","url","hash","params","target","failTarget","headers","timeout","background","cache","expireCache","evictCache","layer","mode","context","fail
2Layer","failMode","failContext","origin","fragments","builtAt","wrapMethod","contentType","payload","onLoading","fail","abortable","badResponseTime"]}defaults(){return{state:"new",abortable:!0,headers:{},timeout:up.network.config.timeout,builtAt:new Date}}constructor(e){if(super(e),this.params=new up.Params(this.params),null==this.wrapMethod&&(this.wrapMethod=up.network.config.wrapMethod),this._normalize(),(this.target||this.layer||this.origin)&&!e.basic){const e={origin:this.origin};this.layer=up.layer.get(this.layer,e),this.failLayer=up.layer.get(this.failLayer,e),this.context||=this.layer.context||{},this.failContext||=this.failLayer?.context||{},this.mode||=this.layer.mode,this.failMode||=this.failLayer?.mode}this.deferred=t.newDeferred(),this.badResponseTime??=t.evalOption(up.network.config.badResponseTime,this),this._setAutoHeaders()}get xhr(){return this._xhr??=new XMLHttpRequest}get fragments(){if(this._fragments)return this._fragments;{let e=up.fragment.parseTargetSteps(this.target),n=t.map(e,"selector"),r={origin:this.origin,layer:this.layer};return t.compact(t.map(n,(e=>up.fragment.get(e,r))))}}set fragments(e){this._fragments=e}get fragment(){return this.fragments?.[0]}_normalize(){this.method=t.normalizeMethod(this.method),this._extractHashFromURL(),this._transferParamsToURL(),this.url=t.normalizeURL(this.url)}_evictExpensiveAttrs(){t.task((()=>{this.layer=void 0,this.failLayer=void 0,this.origin=void 0,this.fragments=void 0}))}_extractHashFromURL(){let e=this.url?.match(/^([^#]*)(#.+)$/);if(e)return this.url=e[1],this.hash=e[2]}_transferParamsToURL(){!this.url||this.allowsPayload()||t.isBlank(this.params)||(this.url=this.params.toURL(this.url),this.params.clear())}isSafe(){return up.network.isSafeMethod(this.method)}allowsPayload(){return t.methodAllowsPayload(this.method)}will302RedirectWithGET(){return this.isSafe()||"POST"===this.method}willCache(){return t.evalAutoOption(this.cache,up.network.config.autoCache,this)}runQueuedCallbacks(){t.always(this,(()=>this._evictExpensiveAttrs()))}load(){if("new"===this.state)return this._emitLoad()?(this.state="loading",this._normalize(),this.onLoading?.(),this.expired=!1,new up.Request.XHRRenderer(this).buildAndSend({onload:()=>this._onXHRLoad(),onerror:()=>this._onXHRError(),ontimeout:()=>this._onXHRTimeout(),onabort:()=>this._onXHRAbort()}),!0):void this.abort({reason:"Prevented by event listener"})}_emitLoad(){return!this.emit("up:request:load",{log:["Loading %s",this.description]}).defaultPrevented}loadPage(){up.network.abort(),new up.Request.FormRenderer(this).buildAndSubmit()}_onXHRLoad(){const e=this._extractResponseFromXHR(),t="Loaded "+e.description;this.emit("up:request:loaded",{request:e.request,response:e,log:t}),this.respondWith(e)}_onXHRError(){this._setOfflineState("Network error")}_onXHRTimeout(){this._setOfflineState("Timeout")}_onXHRAbort(){this._setAbortedState()}abort({reason:e}={}){this._setAbortedState(e)&&this._xhr&&this._xhr.abort()}_setAbortedState(e){if(this._isSettled())return;let t="Aborted request to "+this.description+(e?": "+e:"");return this.state="aborted",this.deferred.reject(new up.Aborted(t)),this.emit("up:request:aborted",{log:t}),!0}_setOfflineState(e){if(this._isSettled())return;let t="Cannot load request to "+this.description+(e?": "+e:"");this.state="offline",this.emit("up:request:offline",{log:t}),this.deferred.reject(new up.Offline(t))}respondWith(e){this.response=e,this._isSettled()||(this.state="loaded",e.ok?this.deferred.resolve(e):this.deferred.reject(e))}_isSettled(){return"new"!==this.state&&"loading"!==this.state&&"tracking"!==this.state}csrfHeader(){return up.protocol.csrfHeader()}csrfParam(){return up.protocol.csrfParam()}csrfToken(){if(!this.isSafe()&&!this.isCrossOrigin())return up.protocol.csrfToken()}isCrossOrigin(){return t.isCrossOrigin(this.url)}_extractResponseFromXHR(){const e={method:this.method,url:this.url,request:this,xhr:this.xhr,text:this.xhr.responseText,status:this.xhr.status,title:up.protocol.titleFromXHR(this.xhr),target:up.protocol.targetFromXHR(this.xhr),acceptLayer:up.protocol.acceptLayerFromXHR(this.xhr),dismissLayer:up.protocol.dismissLayerFromXHR(this.xhr),eventPlans:up.protocol.eventPlansFromXHR(this.xhr),context:up.protocol.contextFromXHR(this.xhr),expireCache:up.protocol.expireCacheFromXHR(this.xhr),evictCache:up.protocol.evictCacheFromXHR(this.xhr),fail:this.fail};let n=up.protocol.methodFromXHR(this.xhr),r=up.protocol.locationFromXHR(this.xhr);return r&&(t.matchURLs(this.url,r)||(n||="GET"),e.url=r),n&&(e.method=n),new up.Response(e)}_buildEventEmitter(e){return up.EventEmitter.fromEmitArgs(e,{layer:this.layer,request:this,origin:this.origin})}emit(...e){return this._buildEventEmitter(e).emit()}assertEmitted(...e){this._buildEventEmitter(e).assertEmitted()}get description(){return this.method+" "+this.url}isPartOfSubtree(e){return e=t.wrapList(e),t.some(this.fragments,(function(n){return t.some(e,(e=>e.contains(n)))}))}get age(){return new Date-this.builtAt}header(e){return this.headers[e]}_setAutoHeaders(){for(let e of["target","failTarget","mode","failMode","context","failContext"])this._setPropertyHeader(e);let e,t;(e=this.csrfHeader())&&(t=this.csrfToken())&&this._setAutoHeader(e,t),this._setAutoHeader(up.protocol.headerize("version"),up.version)}_setPropertyHeader(e){this._setAutoHeader(up.protocol.headerize(e),this[e])}_setAutoHeader(e,n){t.isMissing(n)||((t.isOptions(n)||t.isArray(n))&&(n=t.safeStringifyJSON(n)),this.headers[e]=n)}mergeIfUnsent(e){if("new"!==this.state)return;if(!this.target||!e.target)return;let n=up.fragment.splitTarget(this.target+","+e.target);this.target=t.uniq(n).join(", "),this._setPropertyHeader("target"),this._fragments=t.uniq([...this.fragments,...e.fragments])}static tester(e,{except:n}={}){let r;if(t.isFunction(e))r=e;else if(e instanceof this)r=t=>e===t;else if(t.isString(e)){let t=new up.URLPattern(e);r=e=>t.test(e.url)}else r=t=>e;return n?e=>!up.cache.willHaveSameResponse(e,n)&&r(e):r}},t.delegate(e.prototype,["then","catch","finally"],(function(){return this.deferred})),e)},()=>{const e=up.util;class t{constructor(){this.varyHeaders=new Set,this.requests=[]}matchBest(t){let n=this.requests.filter((e=>this.satisfies(e,t)));return e.last(n)}delete(t){e.remove(this.requests,t)}put(e){this.requests.push(e)}updateVary(e){for(let t of e.varyHeaderNames)this.varyHeaders.add(t)}satisfies(t,n){return t===n||e.every(this.varyHeaders,(r=>{let i=t.header(r),o=n.header(r);if("X-Up-Target"===r||"X-Up-Fail-Target"===r){if(!i)return!0;
2if(!o)return!1;let t=e.parseTokens(i,{separator:"comma"}),n=e.parseTokens(o,{separator:"comma"});return e.containsAll(t,n)}return i===o}))}}up.Request.Cache=class{constructor(){this.reset()}reset(){this._routes={},this._requests=[]}get(e){e=this._wrap(e);let t=this._getRoute(e),n=t.matchBest(e);if(n){if(this._isUsable(n))return n;this._delete(e,t)}}async put(e){e=this._wrap(e);let t=this._getRoute(e),{response:n}=e;n&&t.updateVary(n);let r=t.requests.filter((n=>t.satisfies(e,n)));for(let e of r)this._delete(e);e.cacheRoute=t,t.put(e),this._requests.push(e),this._limitSize()}alias(e,t){if(e=this.get(e))return t=this._wrap(t),this.track(e,t,{force:!0}),this.put(t),t}async track(t,n,r={}){n.trackedRequest=t,n.state="tracking";let i=await e.always(t);i instanceof up.Response?r.force||t.cacheRoute.satisfies(t,n)?(n.fromCache=!0,i=e.variant(i,{request:n}),n.respondWith(i),e.delegate(n,["expired","state"],(()=>t))):(delete n.trackedRequest,n.state="new",r.onIncompatible?.(n)):(n.state=t.state,n.deferred.reject(i))}willHaveSameResponse(e,t){return e===t||e===t.trackedRequest}evict(e=!0,t){this._eachMatch(e,t,(e=>this._delete(e)))}expire(e=!0,t){this._eachMatch(e,t,(e=>e.expired=!0))}reindex(e){this._delete(e),delete e.cacheRoute,this.put(e)}_delete(t){e.remove(this._requests,t),t.cacheRoute?.delete(t)}_getRoute(e){return e.cacheRoute||(this._routes[e.description]||=new t)}_isUsable(e){return e.age<up.network.config.cacheEvictAge}get _size(){return this._requests.length}get _capacity(){return up.network.config.cacheSize}_limitSize(){for(let e=0;e<this._size-this._capacity;e++)this._delete(this._requests[0])}_eachMatch(t=!0,n,r){let i=up.Request.tester(t,n),o=e.filter(this._requests,i);e.each(o,r)}_wrap(t){return e.wrapValue(up.Request,t)}}},()=>{const e=up.util;up.Request.Queue=class{constructor(){this.reset()}reset(){this._queuedRequests=[],this._currentRequests=[],this._emittedLate=!1}get allRequests(){return this._currentRequests.concat(this._queuedRequests)}asap(t){t.runQueuedCallbacks(),e.always(t,(e=>this._onRequestSettled(t,e))),this._scheduleSlowTimer(t),this._queueRequest(t),queueMicrotask((()=>this._poke()))}promoteToForeground(e){e.background&&(e.background=!1,this._scheduleSlowTimer(e))}_scheduleSlowTimer(t){let n=Math.max(t.badResponseTime-t.age,0);e.timer(n,(()=>this._checkLate()))}_getMaxConcurrency(){return e.evalOption(up.network.config.concurrency)}_hasConcurrencyLeft(){const e=this._getMaxConcurrency();return-1===e||this._currentRequests.length<e}isBusy(){return this._currentRequests.length>0||this._queuedRequests.length>0}_queueRequest(e){this._queuedRequests.push(e)}_pluckNextRequest(){let t=e.find(this._queuedRequests,(e=>!e.background));return t||=this._queuedRequests[0],e.remove(this._queuedRequests,t)}_sendRequestNow(e){e.load()&&this._currentRequests.push(e)}_onRequestSettled(t,n){e.remove(this._currentRequests,t)||e.remove(this._queuedRequests,t),n instanceof up.Response&&n.ok&&up.network.registerAliasForRedirect(t,n),this._checkLate(),queueMicrotask((()=>this._poke()))}_poke(){let e;if(this._hasConcurrencyLeft()&&(e=this._pluckNextRequest()))return this._sendRequestNow(e)}abort(...t){let n=e.extractOptions(t),{except:r,reason:i,logOnce:o}=n,s=t[0]??!0,a=up.Request.tester(s,{except:r});for(let t of[this._currentRequests,this._queuedRequests]){const n=e.filter(t,a);for(let r of n)o&&(up.puts(...o),o=null),r.abort({reason:i}),e.remove(t,r)}}_checkLate(){const e=this._isLate();this._emittedLate!==e&&(this._emittedLate=e,e?up.emit("up:network:late",{log:"Server is slow to respond"}):up.emit("up:network:recover",{log:"Slow requests were loaded"}))}_isLate(){const t=e.reject(this.allRequests,"background");return e.some(t,(e=>e.age>=e.badResponseTime-1))}}},()=>{const e=up.util,t=up.element,n=["GET","POST"];up.Request.FormRenderer=class{constructor(e){this._request=e}buildAndSubmit(){this.params=e.copy(this._request.params);let r=this._request.url,{method:i}=this._request;const o=up.Params.fromURL(r);
2this.params.addAll(o),r=up.Params.stripURL(r),e.contains(n,i)||(i=up.protocol.wrapMethod(i,this.params)),this._form=t.affix(document.body,"form.up-request-loader",{method:i,action:r});let s,a,u=this._request.contentType;u&&this._form.setAttribute("enctype",u),(s=this._request.csrfParam())&&(a=this._request.csrfToken())&&this.params.add(s,a),e.each(this.params.toArray(),this._addField.bind(this)),up.browser.submitForm(this._form)}_addField(e){t.affix(this._form,"input[type=hidden]",e)}}},()=>{var e;const t="multipart/form-data",n=up.util;up.Request.XHRRenderer=(e=class{constructor(e){this._request=e}buildAndSend(e){const t=this._request.xhr;this._params=n.copy(this._request.params),this._request.timeout&&(t.timeout=this._request.timeout),t.open(this._getMethod(),this._request.url);let r=this._getContentType();r&&t.setRequestHeader("Content-Type",r);for(let e in this._request.headers){let n=this._request.headers[e];t.setRequestHeader(e,n)}Object.assign(t,e),t.send(this._getPayload())}_getMethod(){let e=this._request.method;return this._request.wrapMethod&&!this._request.will302RedirectWithGET()&&(e=up.protocol.wrapMethod(e,this._params)),e}_getContentType(){return this._finalizePayload(),this._contentType}_getPayload(){return this._finalizePayload(),this._payload}_finalizePayload(){this._payload=this._request.payload,this._contentType=this._request.contentType,!this._payload&&this._request.allowsPayload()&&(this._contentType||(this._contentType=this._params.hasBinaryValues()?t:"application/x-www-form-urlencoded"),this._contentType===t?(this._contentType=null,this._payload=this._params.toFormData()):this._payload=this._params.toQuery().replace(/%20/g,"+"))}},n.memoizeMethod(e.prototype,{_finalizePayload:!0,_getMethod:!0}),e)},()=>{const e=up.util;up.Response=class extends up.Record{keys(){return["method","url","text","status","request","xhr","target","title","acceptLayer","dismissLayer","eventPlans","context","expireCache","evictCache","headers","loadedAt","fail"]}defaults(){return{headers:{},loadedAt:new Date}}get ok(){return!e.evalOption(this.fail??up.network.config.fail,this)}get none(){return!this.text}header(e){return this.headers[e]||this.xhr?.getResponseHeader(e)}get varyHeaderNames(){let t=this.header("Vary");return e.parseTokens(t,{separator:"comma"})}get contentType(){return this.header("Content-Type")}get cspNonces(){return up.protocol.cspNoncesFromHeader(this.header("Content-Security-Policy")||this.header("Content-Security-Policy-Report-Only"))}get lastModified(){let e=this.header("Last-Modified");if(e)return new Date(e)}get etag(){return this.header("ETag")}get json(){return this.parsedJSON||=JSON.parse(this.text)}get age(){return new Date-this.loadedAt}get expired(){return this.age>up.network.config.cacheExpireAge||this.request.expired}get description(){return`HTTP ${this.status} response to ${this.request.description}`}}},()=>{var e;const t=up.util,n=up.element,r=/^\s*<(html|!DOCTYPE)\b/i;up.ResponseDoc=(e=class{constructor({document:e,fragment:t,content:n,target:r,origin:i,cspNonces:o,match:s}){if(e?this._parseDocument(e):t?this._parseFragment(t):this._parseContent(n||"",r),this._cspNonces=o,i){let e=up.fragment.tryToTarget(i);e&&(this._rediscoveredOrigin=this.select(e))}this._match=s}_parseDocument(e){e instanceof Document?(this._document=e,this._isFullDocument=!0):t.isString(e)?(this._document=n.createBrokenDocumentFromHTML(e),this._isFullDocument=r.test(e),this._isDocumentBroken=!0):(this._document=this._buildFauxDocument(e),this._isFullDocument=e.matches("html"))}_parseFragment(e){let r=t.isString(e)?n.createFromHTML(e):e;this._document=this._buildFauxDocument(r)}_parseContent(e,r){r||up.fail("must pass a { target } when passing { content }");let i=t.map(up.fragment.parseTargetSteps(r),"selector").join();const o=n.createFromSelector(i);t.isString(e)?o.innerHTML=e:o.appendChild(e),this._document=this._buildFauxDocument(o)}_buildFauxDocument(e){let t=document.createElement("up-document");return t.append(e),t.documentElement=e,t}rootSelector(){return up.fragment.toTarget(this._document.documentElement)}get title(){return this._fromHead(this._getTitleText)}_getHead(){if(this._isFullDocument)return this._document.head}_fromHead(e){let t=this._getHead();return t&&e(t)}get metaTags(){return this._fromHead(up.history.findMetaTags)}get assets(){return this._fromHead(up.script.findAssets)}get lang(){if(this._isFullDocument)return up.history.getLang(this._document)}_getTitleText(e){return e.querySelector("title")?.textContent}select(e){return new up.FragmentFinder({selector:e,origin:this._rediscoveredOrigin,document:this._document,match:this._match}).find()}selectSteps(e){return e.filter((e=>this._trySelectStep(e)||this._cannotMatchStep(e)))}commitSteps(e){return e.filter((e=>this.commitElement(e.newElement)))}_trySelectStep(e){if(e.newElement)return!0;let t=this.select(e.selector);if(!t)return;let{selectEvent:n}=e;return n&&(n.newFragment=t,n.renderOptions=e.originalRenderOptions,up.emit
2(e.oldElement,n,{callback:e.selectCallback}),n.defaultPrevented)?void 0:(e.newElement=t,!0)}_cannotMatchStep(e){if(!e.maybe)throw new up.CannotMatch}commitElement(e){if(this._document.contains(e))return up.fragment.config.runScripts||up.script.disableSubtree(e),e.remove(),!0}finalizeElement(e){if(up.NonceableCallback.adoptNonces(e,this._cspNonces),this._isDocumentBroken){let r=n.subtree(e,":is(noscript,script,audio,video):not(.up-keeping, .up-keeping *)");t.each(r,n.fixParserDamage)}}},t.memoizeMethod(e.prototype,{_getHead:!0}),e)},()=>{const e=up.element,t=up.util;up.RevealMotion=class{constructor(t,n={}){this._element=t,this._viewport=e.get(n.viewport)||up.viewport.get(this._element),this._obstructionsLayer=up.layer.get(this._viewport),this._behavior=n.scrollBehavior??n.behavior??"instant";const r=up.viewport.config;this._snap=n.snap??n.revealSnap??r.revealSnap,this._padding=n.padding??n.revealPadding??r.revealPadding,this._top=n.top??n.revealTop??r.revealTop,this._max=n.max??n.revealMax??r.revealMax,this._topObstructionSelector=r.selector("fixedTopSelectors"),this._bottomObstructionSelector=r.selector("fixedBottomSelectors")}start(){const e=this._getViewportRect(this._viewport),n=up.Rect.fromElement(this._element);if(this._max){const e=t.evalOption(this._max,this._element);n.height=Math.min(n.height,e)}n.grow(this._padding),this._substractObstructions(e),e.height<0&&up.fail("Viewport has no visible area");const r=this._viewport.scrollTop;let i=r;if(this._top||n.height>e.height){i+=n.top-e.top}else n.top<e.top?i-=e.top-n.top:n.bottom>e.bottom&&(i+=n.bottom-e.bottom);t.isNumber(this._snap)&&i<this._snap&&n.top<.5*e.height&&(i=0),i!==r&&this._viewport.scrollTo({top:i,behavior:this._behavior})}_getViewportRect(){return up.viewport.isRoot(this._viewport)?new up.Rect({left:0,top:0,width:up.viewport.rootWidth(),height:up.viewport.rootHeight()}):up.Rect.fromElement(this._viewport)}_selectObstructions(n){let r=up.fragment.all(n,{layer:this._obstructionsLayer});return t.filter(r,e.isVisible)}_substractObstructions(e){for(let t of this._selectObstructions(this._topObstructionSelector)){let n=up.Rect.fromElement(t).bottom-e.top;n>0&&(e.top+=n,e.height-=n)}for(let t of this._selectObstructions(this._bottomObstructionSelector)){let n=up.Rect.fromElement(t),r=e.bottom-n.top;r>0&&(e.height-=r)}}}},()=>{const e=up.util,t=/:has\(([^)]+)\)$/;up.Selector=class{constructor(n,r,i={}){let o;if(this._filters=[],i.destroying||this._filters.push(up.fragment.isNotDestroying),r&&!document.contains(r)||"any"===i.layer)o=up.layer.root;else{if(i.layer??=e.presence(r,e.isElement),this._layers=up.layer.getAll(i),!this._layers.length)throw new up.CannotMatch(["Unknown layer: %o",i.layer]);this._filters.push((t=>e.some(this._layers,(e=>e.contains(t))))),o=this._layers[0]}let s=up.fragment.expandTargets(n,{...i,layer:o});this._selectors=s.map((e=>(up.browser.canHasSelector()||(e=e.replace(t,((e,t)=>(this._filters.push((e=>e.querySelector(t))),"")))),e||"*"))),this._unionSelector=this._selectors.join()||"match-none"}matches(e){return e.matches(this._unionSelector)&&this._passesFilter(e)}closest(e){let t;return this.matches(e)?e:(t=e.parentElement)?this.closest(t):void 0}_passesFilter(t){return e.every(this._filters,(e=>e(t)))}descendants(t=document){const n=e.flatMap(this._selectors,(e=>t.querySelectorAll(e)));return e.filter(n,(e=>this._passesFilter(e)))}subtree(e){const t=[];return e instanceof Document||!this.matches(e)||t.push(e),t.push(...this.descendants(e)),t}}},()=>{const e=up.util,t=up.element;up.Tether=class{constructor(e){up.migrate.handleTetherOptions?.(e),this._anchor=e.anchor,this._align=e.align,this._position=e.position,this._alignAxis="top"===this._position||"bottom"===this._position?"horizontal":"vertical",this._viewport=up.viewport.get(this._anchor),this.parent=this._viewport===t.root?document.body:this._viewport,this._syncOnScroll=!this._viewport.contains(this._anchor.offsetParent)}start(e){this._element=e,this._element.style.position="absolute",this._setOffset(0,0),this.sync(),this._changeEventSubscription("on")}stop(){this._changeEventSubscription("off")}_changeEventSubscription(e){let t=this._scheduleSync.bind(this);up[e](window,"resize",t),this._syncOnScroll&&up[e](this._viewport,"scroll",t)}_scheduleSync(){return clearTimeout(this.syncTimer),this.syncTimer=e.task(this.sync.bind(this))}isDetached(){return!this.parent.isConnected||!this._anchor.isConnected}sync(){const n=this._element.getBoundingClientRect(),r=t.styleNumber(this._element,"margin-top"),i=t.styleNumber(this._element,"margin-right"),o=t.styleNumber(this._element,"margin-bottom"),s=t.styleNumber(this._element,"margin-left"),a=this._anchor.getBoundingClientRect();let u,l;switch(this._alignAxis){case"horizontal":switch(this._position){case"top":l=a.top-o-n.height;break;case"bottom":l=a.top+a.height+r}switch(this._align){case"left":u=a.left+s;break;case"center":u=a.left+.5*(a.width-n.width);break;case"right":u=a.left+a.width-n.width-i}break;case"vertical":switch(this._align){case"top":l=a.top+r;break;case"center":l=a.top+.5*(a.height-n.height);break;case"bottom":l=a.top+a.height-n.height-o}switch(this._position){case"left":u=a.left-i-n.width;break;case"right":u=a.left+a.width+s}}e.isDefined(u)||e.isDefined(l)?this._moveTo(u,l):up.fail("Invalid tether constraints: %o",this._describeConstraints())}_describeConstraints(){return{position:this._position,align:this._align}}_moveTo(e,t){const n=this._element.getBoundingClientRect();this._setOffset(e-n.left+this.offsetLeft,t-n.top+this.offsetTop)}_setOffset(e,n){this.offsetLeft=e,this.offsetTop=n,t.setStyle(this._element,{left:e,top:n},"px")}}},()=>{const e=up.util;up.URLPattern=class{constructor(t){this._groups=[];const n=[],r=[];
2for(let i of e.parseTokens(t))"-"===i[0]?r.push(i.substring(1)):n.push(i);this._positiveRegexp=this._buildRegexp(n,!0),this._negativeRegexp=this._buildRegexp(r,!1)}_buildRegexp(t,n){if(!t.length)return;let r=(t=(t=e.flatMap(t,e.matchableURLPatternAtom)).map(e.escapeRegExp)).join("|");return r=r.replace(/\\\*/g,".*?"),r=r.replace(/(:|\\\$)([a-z][\w-]*)/gi,((e,t,r)=>"\\$"===t?(n&&this._groups.push({name:r,cast:Number}),"(\\d+)"):(n&&this._groups.push({name:r,cast:String}),"([^/?#]+)"))),new RegExp("^(?:"+r+")$")}test(t,n=!0){return n&&(t=e.matchableURL(t)),this._positiveRegexp.test(t)&&!this._isExcluded(t)}recognize(t,n=!0){n&&(t=e.matchableURL(t));let r=this._positiveRegexp.exec(t);if(r&&!this._isExcluded(t)){const e={};return this._groups.forEach(((t,n)=>{let i=r[n+1];if(i)return e[t.name]=t.cast(i)})),e}}_isExcluded(e){return this._negativeRegexp?.test(e)}}},()=>{up.framework=function(){let e="evaling";function t(){if("configuring"!==e)return;n()||(e="booting",up.emit("up:framework:boot",{log:!1}),e="booted",up.emit("up:framework:booted",{log:!1}))}function n(){for(let e of["URL","Proxy","Promise","DOMParser","FormData"])if(!window[e])return`Browser doesn't support the ${e} API`;if("BackCompat"===document.compatMode)return"Browser is in quirks mode (missing DOCTYPE?)"}return{onEvaled:function(){up.emit("up:framework:evaled",{log:!1}),function(){let e=document.currentScript;return!!e?.async||"manual"===e?.getAttribute("up-boot")||"complete"===document.readyState||void 0}()||document.addEventListener("DOMContentLoaded",t),e="configuring"},boot:t,startExtension:function(){if("configuring"!==e)throw new Error("Unpoly extensions must be loaded before booting");e="evaling"},stopExtension:function(){e="configuring"},reset:function(){up.emit("up:framework:reset",{log:!1})},get evaling(){return"evaling"===e},get booted(){return"booted"===e},get beforeBoot(){return"booting"!==e&&"booted"!==e},isSupported:function(){return!n()}}}(),up.boot=up.framework.boot},()=>{up.event=function(){const e=up.util,t=up.element;function n(...e){return r(e).bind()}function r(e,t){return up.EventListenerGroup.fromBindArgs(e,t)}function i(e){return up.EventEmitter.fromEmitArgs(e)}function o(...t){const n=e.extractOptions(t),r=t[0]||n.type||up.fail("Missing event type"),i=new Event(r,{bubbles:!0,cancelable:!0});return Object.assign(i,e.omit(n,["type","target"])),i}const s=["metaKey","shiftKey","ctrlKey","altKey"];function a(t){return(e.isUndefined(t.button)||0===t.button)&&!e.some(s,(e=>t[e]))}function u(t,n,r=[]){const i=o(n,e.pick(t,r));return i.originalEvent=t,["stopPropagation","stopImmediatePropagation","preventDefault"].forEach((function(e){const n=i[e];return i[e]=function(){return t[e](),n.call(i)}})),t.defaultPrevented&&i.preventDefault(),i}n("up:click","[up-emit]",(function(e,n){if(!a(e))return;const r=t.attr(n,"up-emit"),i=t.jsonAttr(n,"up-emit-props"),o=u(e,r);Object.assign(o,i),up.emit(n,o)}));let l=["unknown"];function c(e){l.push(e),setTimeout((()=>l.pop()))}return n("keydown keyup",{capture:!0},(()=>c("key"))),n("pointerdown pointerup",{capture:!0},(()=>c("pointer"))),n("up:framework:reset",(function(){for(let e of[window,document,t.root,document.body])for(let t of up.EventListener.allNonDefault(e))t.unbind()})),{on:n,off:function(...e){return r(e).unbind()},build:o,emit:function(...e){return i(e).emit()},assertEmitted:function(...e){return i(e).assertEmitted()},onEscape:function(e){return n("keydown",(function(t){if("Escape"===t.key)return e(t)}))},halt:function(e,t={}){t.log&&up.log.putsEvent(e),e.stopImmediatePropagation(),e.preventDefault()},isUnmodified:a,isSyntheticClick:function(t){return e.isMissing(t.clientX)},fork:u,keyModifiers:s,get inputDevice(){return e.last(l)}}}(),up.on=up.event.on,up.off=up.event.off,up.emit=up.event.emit},()=>{up.protocol=function(){const e=up.util,t=up.element,n=function(e){return"X-Up"+e.replace(/(^.|[A-Z])/g,(e=>"-"+e.toUpperCase()))},r=function(t,r,i=e.identity){let o=t.getResponseHeader(n(r));if(o)return i(o)};function i(e){return"false"!==e&&e}const o=e.memoize((function(){return e.normalizeMethod(up.browser.popCookie("_up_method"))}));const s=new up.Config((()=>({methodParam:"_method",csrfParam(){return t.metaContent("csrf-param")},csrfToken(){return t.metaContent("csrf-token")},cspNonce(){return t.metaContent("csp-nonce")},csrfHeader:"X-CSRF-Token",maxHeaderSize:2048})));return{config:s,locationFromXHR:function(e){return r(e,"location")||e.responseURL},titleFromXHR:function(e){return up.migrate.titleFromXHR?.(e)??r(e,"title",JSON.parse)},targetFromXHR:function(e){return r(e,"target")},methodFromXHR:function(t){return r(t,"method",e.normalizeMethod)},acceptLayerFromXHR:function(e){return r(e,"acceptLayer",JSON.parse)},contextFromXHR:function(e){return r(e,"context",JSON.parse)},dismissLayerFromXHR:function(e){return r(e,"dismissLayer",JSON.parse)},eventPlansFromXHR:function(e){return r(e,"events",JSON.parse)},expireCacheFromXHR:function(e){return r(e,"expireCache")||up.migrate.clearCacheFromXHR?.(e)}
2,evictCacheFromXHR:function(e){return r(e,"evictCache",i)},csrfHeader:function(){return e.evalOption(s.csrfHeader)},csrfParam:function(){return e.evalOption(s.csrfParam)},csrfToken:function(){return e.evalOption(s.csrfToken)},cspNonce:function(){return e.evalOption(s.cspNonce)},initialRequestMethod:o,headerize:n,wrapMethod:function(e,t){return t.add(s.methodParam,e),"POST"},cspNoncesFromHeader:function(e){let t=[];if(e){let n=e.split(/\s*;\s*/);for(let e of n)if(0===e.indexOf("script-src")){let n,r=/'nonce-([^']+)'/g;for(;n=r.exec(e);)t.push(n[1])}}return t}}}()},()=>{up.log=function(){up.util;const e=new up.LogConfig;function t(e,t,r,...i){n(e,t,"",r,...i)}function n(t,n,r,i,...o){i&&e.format}return up.on("up:framework:boot",(function(){if(!e.banner)return;up.version;let t="";up.migrate.loaded||(t+="Load unpoly-migrate.js to polyfill deprecated APIs.\n\n"),e.enabled?t+="Call `up.log.disable()` to disable logging for this session.":t+="Call `up.log.enable()` to enable logging for this session.",e.format})),{puts:function(...n){e.enabled&&t("log",...n)},putsEvent:function(t){if(e.enabled){n(0,(t=t.originalEvent||t).type,0,"Interaction on %o",t.target)}},error:(...e)=>t("error",...e),warn:(...e)=>t("warn",...e),config:e,enable:function(){e.enabled=!0},disable:function(){e.enabled=!1}}}(),up.puts=up.log.puts,up.warn=up.log.warn},()=>{up.script=function(){const e=up.util,t=up.element,n=new up.Config((()=>({assetSelectors:["link[rel=stylesheet]","script[src]","[up-asset]"],noAssetSelectors:["[up-asset=false]"],nonceableAttributes:["up-watch","up-on-accepted","up-on-dismissed","up-on-loaded","up-on-rendered","up-on-finished","up-on-error","up-on-offline"],scriptSelectors:["script"],noScriptSelectors:['script[type="application/ld+json"]']}))),r={"[up-back]":-100,"[up-clickable]":-200,"[up-drawer]":-200,"[up-modal]":-200,"[up-cover]":-200,"[up-popup]":-200,"[up-tooltip]":-200,"[up-dash]":-200,"[up-flashes]":-200,"[up-expand]":-300,"[data-method]":-400,"[data-confirm]":-400};let i=[],o=[];function s(t,n={}){let s=function(t,n){let[r,i,o]=a(t);return i=e.options(i,{selector:r,isDefault:up.framework.evaling,priority:0,batch:!1}),Object.assign(o,i,n)}(t,n);s.macro?(up.framework.evaling&&(s.priority||=function(t){t=e.evalOption(t);for(let e in r)if(t.indexOf(e)>=0)return r[e];up.fail("Unregistered priority for system macro %o",t)}(s.selector)),u(o,s)):u(i,s)}const a=function(t){const n=e.extractOptions(t),r=t.shift(),i=t.pop();return[r,{...n,...e.extractOptions(t)},i]};function u(e,t){let n,r=0;for(;(n=e[r])&&n.priority>=t.priority;)r+=1;if(e.splice(r,0,t),up.framework.booted)if(0===t.priority)for(let e of up.layer.stack)l(e.element,{layer:e,compilers:[t]});else up.puts("up.compiler()","Compiler %s was registered after booting Unpoly. Compiler will run for future fragments only.",t.selector);return t}function l(e,t){up.emit(e,"up:fragment:compile",{log:!1});let n=t.compilers||o.concat(i);new up.CompilerPass(e,n,t).run()}function c(e=document.head){return e.querySelectorAll(n.selector("assetSelectors"))}function p(e){e.type="up-disabled-script"}return up.on("up:framework:reset",(function(){i=e.filter(i,"isDefault"),o=e.filter(o,"isDefault")})),{config:n,compiler:function(...e){s(e)},macro:function(...e){s(e,{macro:!0})},attrCompiler:function(...e){let[n,r,i]=a(e);s([`[${n}]`,r,e=>{let o=t.booleanOrStringAttr(e,n,r.defaultValue);if(o)return i(e,o)}])},destructor:function(t,n){let r=t.upDestructors;r||(r=[],t.upDestructors=r,t.classList.add("up-can-clean")),e.isArray(n)?r.push(...n):r.push(n)},hello:function(e,t={}){return e=up.fragment.get(e,t),up.puts("up.hello()","Compiling fragment %o",e),l(e,t),up.fragment.emitInserted(e),e},clean:function(e,t={}){new up.DestructorPass(e,t).run()},data:function(t){return t=up.fragment.get(t),t.upData||=function(t){if(!t.getAttribute)return{};let n,r=t.getAttribute("up-data");if(r&&(n=JSON.parse(r),!e.isOptions(n)))return n;return{...t.dataset,...n,...t.upCompileData}}(t)},findAssets:c,assertAssetsOK:function(t,n){let r=c();e.map(r,"outerHTML").join()!==e.map(t,"outerHTML").join()&&up.event.assertEmitted("up:assets:ch
2anged",{oldAssets:r,newAssets:t,renderOptions:n})},disableSubtree:function(r){let i=n.selector("scriptSelectors");e.each(t.subtree(r,i),p)}}}(),up.compiler=up.script.compiler,up.destructor=up.script.destructor,up.macro=up.script.macro,up.data=up.script.data,up.hello=up.script.hello,up.attribute=up.script.attrCompiler},()=>{up.history=function(){const e=up.util,t=up.element,n=new up.Config((()=>({enabled:!0,updateMetaTags:!0,restoreTargets:["body"],metaTagSelectors:["meta","link[rel=alternate]","link[rel=canonical]","link[rel=icon]","[up-meta]",'script[type="application/ld+json"]'],noMetaTagSelectors:["meta[http-equiv]","[up-meta=false]","meta[name=csp-nonce]"]})));let r,i;function o(){return e.normalizeURL(location.href)}function s(){const e=o();i!==e&&(r=i,i=e)}function a(t,n){return e.matchURLs(t,location.href,{hash:!0,...n})}function u(t,n={}){c("replaceState",t=e.normalizeURL(t))&&!1!==n.event&&l({location:t,reason:"replace",log:`Replaced state for ${t}`})}function l(e){let t=up.event.build("up:location:changed",e);up.migrate?.renamedProperty?.(t,"url","location"),up.emit(t)}function c(e,t){if(n.enabled){const n={up:{}};return window.history[e](n,"",t),s(),!0}}function p(e){s();let t=o();l({location:t,reason:"pop",log:`Navigated to history entry ${t}`}),up.viewport.saveFocus({location:r}),up.viewport.saveScroll({location:r}),function(e){if(!e?.up)return void up.puts("popstate","Ignoring a history state not owned by Unpoly");let t=o();up.error.muteUncriticalRejection(up.render({guardEvent:up.event.build("up:location:restore",{location:t,log:`Restoring location ${t}`}),url:t,target:n.restoreTargets,fail:!1,history:!0,location:t,peel:!0,layer:"root",cache:"auto",revalidate:"auto",saveScroll:!1,scroll:["restore","auto"],saveFocus:!1,focus:["restore","auto"]}))}(e.state)}function f(){window.addEventListener("popstate",p),"GET"===up.protocol.initialRequestMethod()&&u(o(),{event:!1})}function d(e=document.head){return e.querySelectorAll(n.selector("metaTagSelectors"))}return s(),up.on("up:framework:boot",(function(){"jasmine"in window?f():setTimeout(f,100)})),up.macro("[up-back]",(function(e){r&&(t.setMissingAttrs(e,{"up-href":r,"up-scroll":"restore"}),e.removeAttribute("up-back"),up.link.makeFollowable(e))})),up.on("up:framework:reset",(function(){r=void 0,i=void 0,s()})),{config:n,push:function(t){!a(t=e.normalizeURL(t))&&c("pushState",t)&&l({location:t,reason:"push",log:`Advanced to location ${t}`})},replace:u,get location(){return o()},get previousLocation(){return r},isLocation:a,findMetaTags:d,updateMetaTags:function(e){let t=d();for(let e of t)e.remove();for(let t of e)document.head.append(t)},getLang:function(e=document){let{documentElement:t}=e;if(t.matches("html"))return e.documentElement.lang},updateLang:function(e){t.toggleAttr(t.root,"lang",e,!!e)}}}()},(e,t,n)=>{n(87);const r=up.util,i=up.element;up.fragment=function(){function e(e){let t=i.tagName(e);if(t.startsWith("up-"))return t}const t=new up.Config((()=>({badTargetClasses:[/^up-/],targetDerivers:["[up-id]","[id]","html","head","body","main","[up-main]",e,"link[rel][type]","link[rel=preload][href]","link[rel=preconnect][href]","link[rel=prefetch][href]","link[rel]","meta[property]","*[name]","form[action]","a[href]","[class]","[up-flashes]","form"],verifyDerivedTarget:!0,navigateOptions:{cache:"auto",revalidate:"auto",feedback:!0,fallback:!0,focus:"auto",scroll:"auto",history:"auto",peel:!0},match:"region",runScripts:!0,autoHistoryTargets:[":main"],autoFocus:["hash","autofocus","main-if-main","keep","target-if-lost"],autoScroll:["hash","layer-if-main"],autoRevalidate:e=>e.expired,skipResponse:n})));function n({response:e,expiredResponse:t}){return!e.text||e.text===t?.text}function o(e,t={}){return e=d(e,t),i.closestAttr(e,"up-source")}function s(e){return r.normalizeURL(e,{hash:!1})}function a(e){let t=i.closestAttr(e,"up-time");if(t&&"false"!==t)return/^\d+$/.test(t)&&(t=1e3*Number(t)),new Date(t)}function u(e){let t=i.closestAttr(e,"up-etag");if(t&&"false"!==t)return t}r.delegate(t,["mainTargets"],(()=>up.layer.config.any));const l=up.mockable(((...e)=>{let t=v(e);return new up.RenderJob(t).execute()})),c=up.mockable(((...e)=>{const t=v(e);return l({...t,navigate:!0})}
2));function p(e){return!e.closest(".up-destroying")}function f(e){return e.isConnected&&p(e)}function d(...e){const t=r.extractOptions(e),n=e.pop(),o=e[0];return r.isElementish(n)?i.get(n):o?h(o,n,t):new up.FragmentFinder({selector:n,origin:t.origin,layer:t.layer,match:t.match}).find()}function h(...e){return m(...e)[0]}function m(...e){const t=r.extractOptions(e);let n=e.pop();const i=e[0];if(r.isElement(n))return[n];if(r.isList(n))return n;return new up.Selector(n,i,t).descendants(i)}function g(e,t,n={}){return new up.Selector(t,e,n).subtree(e)}function v(e){const t=r.parseArgIntoOptions(e,"target");return r.isElement(t.target)&&(t.origin||=t.target),t}const y=/^(onFail|on|fail)?(.+)$/;function b(e,t){return r.presence(e,r.isString)||_(e,t)||function(e){throw new up.CannotTarget(function(e){return`Cannot derive good target selector from a <${i.tagName(e)}> element without identifying attributes. Try setting an [id] or configure up.fragment.config.targetDerivers.`}(e))}(e)}function _(e,n){return r.findResult(t.targetDerivers,(function(o){let s=function(e,t){if(r.isFunction(t))return t(e);if(e.matches(t))try{return function(e,t){let{includePath:n,excludeRaw:r}=up.element.parseSelector(t);if(1!==n.length)throw new up.CannotParse(t);let{tagName:o,id:s,classNames:a,attributes:u}=n[0],l="";"*"===o?l+=i.tagName(e):o&&(l+=o);for(let e of a)l+=i.classSelector(e);s&&(l+=i.idSelector(s));for(let t in u){let n=u[t]||e.getAttribute(t);if("id"===t)l+=i.idSelector(n);else if("class"===t)for(let t of w(e))l+=i.classSelector(t);else l+=i.attrSelector(t,n)}r&&(l+=r);return l}(e,t)}catch(e){if(e instanceof up.CannotParse)return t;throw e}}(e,o);if(s&&function(e,n,r={}){return!f(n)||!t.verifyDerivedTarget||up.fragment.get(e,{layer:n,...r})===n}(s,e,n))return s}))}function w(e){return r.filter(e.classList,(e=>!r.some(t.badTargetClasses,(t=>{return n=t,i=e,r.isRegExp(n)?n.test(i):n===i;var n,i}))))}const x=/:main\b/,A=/:layer\b/,S=/:origin\b/;function E(e){return x.test(e)}function T(e,t={}){const{layer:n}=t;"new"===n||n instanceof up.Layer||up.fail("Must pass an up.Layer as { layer } option, but got %o",n),e=r.copy(r.wrapList(e));const i=[];for(;e.length;){let o=e.shift();if(!0===o&&(o=":main"),E(o)){let n=k(t),r=up.layer.mainTargets(n).map((e=>o.replace(x,e)));e.unshift(...r)}else if(A.test(o)){if("new"===n||n.opening)continue;let r=b(n.getFirstSwappableElement(),t);e.unshift(o.replace(A,r))}else r.isElementish(o)?i.push(b(o,t)):r.isString(o)&&i.push(O(o,t))}return r.uniq(i)}function k({layer:e,mode:t}){return"new"===e?t||up.fail('Must pass a { mode } option together with { layer: "new" }'):e.mode}function C(e,{origin:t}={}){return e.replace(S,(function(n){if(t)return b(t);up.fail('Missing { origin } element to resolve "%s" reference (found in %s)',n,e)}))}function O(...e){return(up.migrate.resolveOrigin||C)(...e)}function $(e){return r.parseTokens(e,{separator:"comma"})}function R(e,t){let n=up.on("up:fragment:aborted",{guard:t=>t.target.contains(e)},t);return up.destructor(e,n),n}return up.on("up:framework:boot",(function(){const{documentElement:e}=document;if(e.setAttribute("up-source",s(location.href)),up.hello(e),!up.browser.canPushState())return up.warn("Cannot push history changes. Next fragment update will load in a new page.")})),{config:t,reload:function(...e){const t=v(e);t.target||=":main";const n=d(t.target,t);return t.url||=o(n),t.headers=r.merge(t.headers,function(e){let t={},n=a(e);n&&(t["If-Modified-Since"]=n.toUTCString());let r=u(e);r&&(t["If-None-Match"]=r);return t}(n)),(t.keepData||i.booleanAttr(n,"up-keep-data"))&&(t.data=up.data(n)),up.migrate.postprocessReloadOptions?.(t),l(t)},destroy:function(...e){const t=v(e);return(t.element=d(t.target,t))&&new up.Change.DestroyFragment(t).execute(),up.migrate.formerlyAsync?.("up.destroy()")},render:l,navigate:c,get:d,getDumb:h,all:m,subtree:g,contains:function(e,t){return r.isElement(t)?i.contains(e,t)&&up.layer.get(e).contains(t):g(e,t).length>0},closest:function(e,t,n){return new up.Selector(t,e,n).closest(e)},source:o,normalizeSource:s,visit:function(e,t){return c({...t,url:e})},markAsDestroying:function(e){e.classList.add("up-destroying"),e.setAttribute("aria-hidden","true")},emitInserted:function(e){return up.emit(e,"up:fragment:inserted",{log:["Inserted fragment %o",e]})},emitDestroyed:function(e,t){const n=t.log??["Destroyed fragment %o",e],r=t.parent||document;return up.emit(r,"up:fragment:destroyed",{fragment:e,parent:r,log:n})},emitKeep:function(e){let{oldElement:t,newElement:n,newData:r,renderOptions:o}=e;const s=["Keeping fragment %o",t],a=i.callbackAttr(t,"up-on-keep",{exposedKeys:["newFragment","newData"]});return up.emit(t,"up:fragment:keep",{newFragment:n,newData:r,renderOptions:o,log:s,callback:a})},successKey:function(e){let t=y.exec(e);if(t){let[e,n,i]=t;switch(n){case"onFail":return"on"+r.upperCaseFirst(i);case"fail":return r.lowerCaseFirst(i)}}},failKey:function(e){let t=y.exec(e);if(t){let[e,n,i]=t;switch(n){case"on":return"onFail"+r.upperCaseFirst(i);case void 0:return"fail"+r.upperCaseFirst(i)}}},expandTargets:T,resolveOrigin:O,toTarget:b,tryToTarget:_,isTargetable:function(e){return!!_(e)},matches:function(e,t,n={}){if(e=i.get(e),r.isElement(t)){let n=_(t);return n&&e.matches(n)}return new up.Selector(t,e,n).matches(e)},hasAutoHistory:function(e,n){let r=T(t.autoHistoryTargets,{layer:n}).join();for(let t of e)if(i.subtree(t,r).length)return!0;return up.puts("up.render()","Will not auto-update history because fragment doesn't contain a selector from up.fragment.config.autoHistoryTargets"),!1},time:a,etag:u,shouldRevalidate:function(e,n,i={}){return e.fromCache&&r.evalAutoOption(i.revalidate,t.autoRevalidate,n)},abort:function(...e){let t,n,i=v(e),{reason:o,newLayer:s}=i;
2if(i.target)n=m(i.target,i),t=e=>e.isPartOfSubtree(n),o||="Aborting requests within fragment";else{let e=up.layer.getAll(i);n=r.map(e,"element"),t=t=>r.contains(e,t.layer),o||="Aborting requests within "+e.join(", ")}up.network.abort((e=>e.abortable&&t(e)),{...i,reason:o});for(let e of n)up.emit(e,"up:fragment:aborted",{reason:o,newLayer:s,log:!1})},onAborted:R,onFirstIntersect:function(e,t,{margin:n=0}={}){if(i.isIntersectingWindow(e,{margin:n}))return void t();let r=new IntersectionObserver((function(e){for(let n of e)if(n.isIntersecting)return o(),void t()}),{rootMargin:`${n}px`}),o=()=>r.disconnect();r.observe(e),R(e,o)},splitTarget:$,parseTargetSteps:function(e,t={}){let n=t.defaultPlacement||"swap",r=t.defaultMaybe??!1,i=[],o=$(e);for(let e of o){if(":none"===e)continue;let o=n,s=r;e=e.replace(/\b::?(before|after)\b/,((e,t)=>(o=t,""))),e=e.replace(/\b:maybe\b/,(()=>(s=!0,"")));const a={...t,selector:e,placement:o,maybe:s,originalRenderOptions:t};i.push(a)}return i},isAlive:f,isNotDestroying:p,targetForSteps:function(e){let t=e.filter((e=>!e.maybe||e.oldElement?.isConnected));return r.map(t,"selector").join(", ")||":none"},compressNestedSteps:function(e){if(e.length<2)return e;let t=r.uniqBy(e,"oldElement");return t=r.reject(t,(e=>function(e,t){return r.some(e,(function(e){return e!==t&&("swap"===e.placement||"content"===e.placement)&&e.oldElement.contains(t.oldElement)}))}(t,e))),t},containsMainPseudo:E}}(),up.reload=up.fragment.reload,up.destroy=up.fragment.destroy,up.render=up.fragment.render,up.navigate=up.fragment.navigate,up.visit=up.fragment.visit,r.delegate(up,["context"],(()=>up.layer.current))},(e,t,n)=>{"use strict";n.r(t)},(e,t,n)=>{n(89),up.viewport=function(){const e=up.util,t=up.element,n=up.fragment,r=new up.Config((()=>({viewportSelectors:["[up-viewport]","[up-fixed]"],fixedTopSelectors:["[up-fixed~=top]"],fixedBottomSelectors:["[up-fixed~=bottom]"],anchoredRightSelectors:["[up-anchored~=right]","[up-fixed~=top]","[up-fixed~=bottom]","[up-fixed~=right]"],revealSnap:200,revealPadding:0,revealTop:!1,revealMax(){return.5*window.innerHeight},autoFocusVisible({element:e,inputDevice:t}){return"key"===t||up.form.isField(e)}}))),i=new up.BodyShifter;function o(t,r){r=e.options(r),t=n.get(t,r),(r.layer=up.layer.get(t))||up.fail("Cannot reveal a detached element"),r.peel&&r.layer.peel();return new up.RevealMotion(t,r).start(),up.migrate.formerlyAsync?.("up.reveal()")||!0}function s(t,{preventScroll:n,force:i,inputDevice:s,focusVisible:u}={}){if(i&&(t.hasAttribute("tabindex")||-1!==t.tabIndex||t.setAttribute("tabindex","-1")),s??=up.event.inputDevice,u??="auto",u=e.evalAutoOption(u,r.autoFocusVisible,{element:t,inputDevice:s}),t.focus({preventScroll:!0,focusVisible:u}),a(t),t.classList.add(u?"up-focus-visible":"up-focus-hidden"),!n)return o(t)}function a(e){e?.classList.remove("up-focus-hidden","up-focus-visible")}function u(e=location.hash,t){let n=v(e,t);if(n)return up.reveal(n,{top:!0})}function l(){return[f().tagName,...r.viewportSelectors].join()}function c(e,t={}){return n.get(e,t).closest(l())}function p(e,r={}){return e=n.get(e,r),t.around(e,l())}function f(){return document.scrollingElement}function d(){return t.root.clientWidth}function h(e){return up.fragment.tryToTarget(e)}function m(t){const r=e.copy(e.extractOptions(t));let i;return r.layer=up.layer.get(r),i=t[0]?[c(t[0],r)]:r.around?p(r.around,r):function(e={}){return n.all(l(),e)}(r),[i,r]}function g(e,t){for(let n of e){const e=h(n);n.scrollTop=t[e]||0}}function v(e,r={}){if(i=e,e=i?.replace(/^#/,"")){const i=[t.attrSelector("id",e),"a"+t.attrSelector("name",e)].join();return n.get(i,r)}var i}up.compiler(r.selectorFn("anchoredRightSelectors"),(function(e){return i.onAnchoredElementInserted(e)})),up.on("focusin",(function({relatedTarget:e}){a(e)}));const y=["selectionStart","selectionEnd","scrollLeft","scrollTop"];let b=!1;return up.on("scroll",{once:!0,beforeBoot:!0},(()=>b=!0)),up.on("up:framework:boot",(function(){e.task((function(){if(!b)return u()}))})),up.on(window,"hashchange",(()=>u())),{reveal:o,revealHash:u,firstHashTarget:v,config:r,get:c,subtree:function(e,r={}){return e=n.get(e,r),t.subtree(e,l())},around:p,get root(){return f()},rootWidth:d,rootHeight:function(){return t.root.clientHeight},isRoot:function(e){return e===f()},rootScrollbarWidth:function(){return window.innerWidth-d()},saveScroll:function(...e){const[t,n]=m(e),r=n.location||n.layer.location;if(r){const e=function(e){let t={};for(let n of e){let e=h(n);e?t[e]=n.scrollTop:up.warn("up.viewport.saveScroll()","Cannot save scroll positions for untargetable viewport %o",n)}return t}(t);n.layer.lastScrollTops.set(r,e)}},restoreScroll:function(...e){const[t,n]=m(e),{location:r}=n.layer,i=n.layer.lastScrollTops.get(r);return!!i&&(g(t,i),up.puts("up.viewport.restoreScroll()","Restored scroll positions to %o",i),!0)},resetScroll:function(...e){const[t,n]=m(e);g(t,{})},saveFocus:function(e={}){const t=up.layer.get(e),n=e.location||t.location;if(n){const e=up.FocusCapsule.preserve(t);t.lastFocusCapsules.set(n,e)}},restoreFocus:function(e={}){const t=up.layer.get(e),n=e.location||t.location,r=e.layer.lastFocusCapsules.get(n);return!(!r||!r.restore(t))&&(up.puts("up.viewport.restoreFocus()",'Restored focus to "%s"',r.target),!0)},absolutize:function(n,i={}){const o=c(n).getBoundingClientRect(),s=n.getBoundingClientRect(),a=new up.Rect({left:s.left-o.left,top:s.top-o.top,width:s.width,height:s.height});i.afterMeasure?.(),t.setStyle(n,{position:"static"===n.style.position?"static":"relative",top:"auto",right:"auto",bottom:"auto",left:"auto",width:"100%",height:"100%"});const u=t.createFromSelector("up-bounds");t.insertBefore(n,u),u.appendChild(n);const l=function(e,n){return a.left+=e,a.top+=n,t.setStyle(u,a,"px")}
2;l(0,0);const p=n.getBoundingClientRect();return l(s.left-p.left,s.top-p.top),e.each(function(e=document){const t=["[up-fixed]"].concat(r.fixedTopSelectors).concat(r.fixedBottomSelectors);return e.querySelectorAll(t.join())}(n),t.fixedToAbsolute),{bounds:u,moveBounds:l}},focus:s,tryFocus:function(e,t){return s(e,t),e===document.activeElement},newStateCache:function(){return new up.FIFOCache({capacity:30,normalizeKey:e.matchableURL})},focusedElementWithin:function(e){const t=document.activeElement;if(up.fragment.contains(e,t))return t},copyCursorProps:function(e,t={}){for(let n of y)try{t[n]=e[n]}catch(e){}return t},bodyShifter:i}}(),up.focus=up.viewport.focus,up.reveal=up.viewport.reveal},(e,t,n)=>{"use strict";n.r(t)},()=>{up.motion=function(){const e=up.util,t=up.element;let n={},r={};const i=new up.MotionController("motion"),o=new up.Config((()=>({duration:175,easing:"ease",enabled:!matchMedia("(prefers-reduced-motion: reduce)").matches})));function s(t){return e.pickBy(t,"isDefault")}function a(){return o.enabled}function u(e,n,r){return c(r),a()&&!v(n)&&r.duration>0&&!t.isSingleton(e)}function l(e,t,n){up.migrate.loaded&&(t=up.migrate.fixStyleProps(t)),n={...n,finishEvent:i.finishEvent};return new up.CSSTransition(e,t,n).start()}function c(e){e.easing??=o.easing,e.duration??=o.duration}function p(t){if(!v(t)){if(e.isFunction(t))return t;if(e.isArray(t))return f(...t);if(e.isString(t)){let e;if(t.indexOf("/")>=0)return f(...t.split("/"));if(e=r[t])return p(e)}else up.fail("Unknown transition %o",t)}}function f(t,n){if(!v(t)&&!v(n)){const r=d(t)||e.asyncNoop,i=d(n)||e.asyncNoop;return(e,t,n)=>Promise.all([r(e,n),i(t,n)])}}function d(t){var r;if(!v(t))return e.isFunction(t)?t:e.isString(t)?n[r=t]||up.fail("Unknown animation %o",r):e.isOptions(t)?(e,n)=>l(e,t,n):void up.fail("Unknown animation %o",t)}const h=up.mockable((function(e,t){e.replaceWith(t)}));function m(e,t){const n=p(t);n.isDefault=up.framework.evaling,r[e]=n}function g(e,t){const r=d(t);r.isDefault=up.framework.evaling,n[e]=r}function v(e){return!e||"none"===e}function y(e,n,r){g(e,(function(e,i){return e.style.opacity=0,t.setStyle(e,{opacity:n}),l(e,{opacity:r},i)}))}function b(e,t){return{transform:`translate(${e}px, ${t}px)`}}function _(e){return t.setStyle(e,{transform:""}),e.getBoundingClientRect()}function w(e,n){const r=`move-from-${e}`;g(`move-to-${e}`,(function(e,t){const r=_(e);return l(e,n(r),t)})),g(r,(function(e,r){const i=_(e),o=n(i);return t.setStyle(e,o),l(e,{transform:""},r)}))}return up.on("up:framework:boot",(function(){a()||up.puts("up.motion","Animations are disabled")})),y("fade-in",0,1),y("fade-out",1,0),w("top",(function(e){return b(0,-(e.top+e.height))})),w("bottom",(function(e){return b(0,up.viewport.rootHeight()-e.top)})),w("left",(function(e){return b(-(e.left+e.width),0)})),w("right",(function(e){return b(up.viewport.rootWidth()-e.left,0)})),m("cross-fade",["fade-out","fade-in"]),m("move-left",["move-to-left","move-from-right"]),m("move-right",["move-to-right","move-from-left"]),m("move-up",["move-to-top","move-from-bottom"]),m("move-down",["move-to-bottom","move-from-top"]),up.on("up:framework:reset",(function(){i.reset(),n=s(n),r=s(r)})),{morph:function(n,r,o,s){c(s=e.options(s)),n=up.fragment.get(n),r=up.fragment.get(r);let a=p(o);const l=u(n,a,s);a=up.error.guardFn(a);const f=e.pluckKey(s,"beforeStart")||e.noop,d=e.pluckKey(s,"afterInsert")||e.noop,m=e.pluckKey(s,"beforeDetach")||e.noop,g=e.pluckKey(s,"afterDetach")||e.noop,v=e.pluckKey(s,"scrollNew")||e.noop;if(f(),l){if(i.isActive(n)&&!1===s.trackMotion)return a(n,r,s);up.puts("up.morph()","Morphing %o to %o with transition %O over %d ms",n,r,o,s.duration);const e=up.viewport.get(n),u=e.scrollTop,l=up.viewport.absolutize(n,{afterMeasure(){t.insertBefore(n,r),d()}}),c=async function(){v();const t=e.scrollTop;l.moveBounds(0,t-u),await a(n,r,s),m(),l.bounds.remove(),g()};return i.startFunction([n,r],c,s)}return m(),h(n,r),d(),g(),v(),Promise.resolve()},animate:function(n,r,o){n=up.fragment.get(n),o=e.options(o);let s=d(r);const a=u(n,r,o);if(s=up.error.guardFn(s),a){const e=()=>s(n,o);return i.startFunction(n,e,o)}return function(n,r){e.isOptions(r)&&t.setStyle(n,r);return Promise.resolve()}(n,r)},finish:function(e){return i.finish(e)},finishCount(){return i.finishCount},transition:m,animation:g,config:o,isEnabled:a,isNone:v,willAnimate:u,swapElementsDirectly:h,motionOptions:function(t,n,r){n=e.options(n);let i=new up.OptionsParser(t,n,r);return i.booleanOrString("animation"),i.booleanOrString("transition"),i.string("easing"),i.number("duration"),n}}}(),up.transition=up.motion.transition,up.animation=up.motion.animation,up.morph=up.motion.morph,up.animate=up.motion.animate},(e,t,n)=>{n(92);const r=up.util;up.network=function(){const e=new up.Config((()=>({concurrency:6,wrapMethod:!0,cacheSize:70,cacheExpireAge:15e3,cacheEvictAge:54e5,badResponseTime:400,fail(e){return(e.status<200||e.status>299)&&304!==e.status},autoCache(e){return e.isSafe()},expireCache(e,t){return!e.isSafe()},evictCache:!1,progressBar:!0,timeout:9e4}))),t=new up.Request.Queue,n=new up.Request.Cache;let i=null;function o(i){(function(e){let r;if(e.willCache()&&(r=n.get(e)))return up.puts("up.request()","Re-using previous request to %s",e.description),e.background||t.promoteToForeground(r),r.mergeIfUnsent(e),n.track(r,e,{onIncompatible:o}),!0})(i)||function(i){(function(t){t.willCache()&&(n.put(t),t.onLoading=()=>n.reindex(t));r.always(t,(function(i){let o=i.expireCache??t.expireCache??r.evalOption(e.expireCache,t,i);o&&n.expire(o,{except:t});let s=i.evictCache??t.evictCache??r.evalOption(e.evictCache,t,i);s&&n.evict(s,{except:t});let a=n.get(t),u=i instanceof up.Response,l=!u,c=u&&i.ok,p=u&&!i.ok,f=u&&i.none;p?n.evict(t.url):l||f?n.evict(t):c&&a&&n.put(t)}))})(i),t.asap(i)}(i)}function s(...e){up.migrate.preprocessAbortArgs?.(e),t.abort(...e)}return up.on("up:network:late",(function(){r.evalOption(e.progressBar)&&(i=new up.ProgressBar)})),up.on("up:network:recover",(function(){i?.conclude()})),up.on("up:framework:reset",(function(){s(),t.reset(),n.reset(),i?.destroy(),i=null})),{request:function(...e){const t=function(e){const t=r.extractOptions(e);t.url||(t.url=e[0]);return up.migrate.handleRequestOptions?.(t),t}(e),n=new up.Request(t);return o(n),n},cache:n,isBusy:function(){return t.isBusy()},isSafeMethod:function(e){return r.contains(["GET","OPTIONS","HEAD"],r.normalizeMethod(e))},config:e,abort:s,registerAliasForRedirect:function(e,t){if(e.cac
2he&&t.url&&e.url!==t.url){const i=r.variant(e,{method:t.method,url:t.url,cacheRoute:null});n.alias(e,i)}},queue:t,loadPage:function(e){new up.Request(e).loadPage()}}}(),up.request=up.network.request,up.cache=up.network.cache},(e,t,n)=>{"use strict";n.r(t)},(e,t,n)=>{n(94);const r=up.util,i=up.element;up.layer=function(){const e=[up.Layer.Root,up.Layer.Modal,up.Layer.Popup,up.Layer.Drawer,up.Layer.Cover],t=new up.Config((function(){const t={mode:"modal",any:{mainTargets:["[up-main='']","main",":layer"]},root:{mainTargets:["[up-main~=root]"],history:!0},overlay:{mainTargets:["[up-main~=overlay]"],openAnimation:"fade-in",closeAnimation:"fade-out",dismissLabel:"×",dismissAriaLabel:"Dismiss dialog",dismissable:!0,history:"auto",trapFocus:!0},cover:{mainTargets:["[up-main~=cover]"]},drawer:{mainTargets:["[up-main~=drawer]"],backdrop:!0,position:"left",size:"medium",openAnimation(e){switch(e.position){case"left":return"move-from-left";case"right":return"move-from-right"}},closeAnimation(e){switch(e.position){case"left":return"move-to-left";case"right":return"move-to-right"}}},modal:{mainTargets:["[up-main~=modal]"],backdrop:!0,size:"medium"},popup:{mainTargets:["[up-main~=popup]"],position:"bottom",size:"medium",align:"left",dismissable:"outside key",trapFocus:!1},foreignOverlaySelectors:["dialog"]};for(let n of e)t[n.mode].Class=n;return t}));let n=null,o=[];function s(e){return"root"===e?[t.root,t.any]:[t[e],t.overlay,t.any]}async function a(e){return e=r.options(e,{layer:"new",defaultToEmptyContent:!0,navigate:!0}),(await up.render(e)).layer}up.on("up:fragment:destroyed",(function(){n.sync()})),up.on("up:framework:evaled",(function(){n=new up.LayerStack})),up.on("up:framework:reset",(function(){n.reset(),o=r.filter(o,"isDefault")}));const u={config:t,mainTargets:function(e){return r.flatMap(s(e),"mainTargets")},open:a,build:function(e,i){const{mode:o}=e,{Class:a}=t[o],u=r.reverse(s(o));let l=up.migrate.handleLayerConfig;return l&&u.forEach(l),e.openAnimation??=r.pluckKey(e,"animation"),e=r.mergeDefined(...u,{mode:o,stack:n},e),i&&(e=i(e)),new a(e)},ask:function(e){return new Promise((function(t,n){a(e={...e,onAccepted:e=>t(e.value),onDismissed:e=>n(e.value)})}))},normalizeOptions:function(e){!function(e){if(!(e.layer instanceof up.Layer))if(up.migrate.handleLayerOptions?.(e),r.isGiven(e.layer)){let n=String(e.layer).match(/^(new|shatter|swap)( (\w+))?/);if(n){e.layer="new";const r=n[1],i=n[3];e.mode||=i||t.mode,"swap"===r?up.layer.isOverlay()&&(e.baseLayer="parent"):"shatter"===r&&(e.baseLayer="root")}}else e.mode?e.layer="new":r.isElementish(e.target)?e.layer=n.get(e.target,{normalizeLayerOptions:!1}):e.origin?e.layer="origin":e.layer="current"}(e),e.context??={},function(e){e.baseLayer instanceof up.Layer||(e.baseLayer=n.get("current",{...e,normalizeLayerOptions:!1}))}(e)},openCallbackAttr:function(e,t){return i.callbackAttr(e,t,{exposedKeys:["layer"]})},closeCallbackAttr:function(e,t){return i.callbackAttr(e,t,{exposedKeys:["layer","value","response"]})},anySelector:function(){return r.map(e,(e=>e.selector())).join()},optionToString:function(e){return r.isString(e)?`layer "${e}"`:e.toString()},get stack(){return n.layers},isWithinForeignOverlay:function(e){let n=t.selector("foreignOverlaySelectors");return!(!n||!e.closest(n))}};return r.delegate(u,["get","getAll","root","overlays","current","front","sync","count","dismissOverlays"],(()=>n)),r.delegate(u,["accept","dismiss","isRoot","isOverlay","isFront","on","off","emit","parent","history","location","mode","context","element","contains","size","affix"],(()=>n.current)),u}()},(e,t,n)=>{"use strict";n.r(t)},(e,t,n)=>{n(96),up.link=function(){const e=up.util,t=up.element;let n=null;const r="[up-content], [up-fragment], [up-document]",i=`${r}, [up-target], [up-layer], [up-transition], [up-preload]`,o=new up.Config((()=>({followSelectors:["[up-follow]",`a:is(${i})`],noFollowSelectors:["[up-follow=false]","a[download]","a[target]",'a[href^="javascript:"]','a[href^="mailto:"]',`a[href^="#"]:not(${r})`,t.crossOriginSelector("href"),t.crossOriginSelector("up-href")],instantSelectors:["[up-instant]"],noInstantSelectors:["[up-instant=false]","[onclick]"],preloadSelectors:["[up-preload]"],noPreloadSelectors:["[up-preload=false]"],clickableSelectors:["[up-clickable]","[up-follow]","[up-emit]","[up-accept]","[up-dismiss]",`a:is(${i})`],noClickableSelectors:["[up-clickable=false]","a[href], button"],preloadDelay:90})));function s(e){return!up.browser.canPushState()||!f(e)||!function(e){const t=u(e);if(t.url){null==t.cache&&(t.cache="auto"),t.basic=!0;return new up.Request(t).willCache()}}(e)}const a=up.mockable((function(e,t,n){return up.render(l(e,t,n))}));function u(t,n,r){n=e.options(n);const i=new up.OptionsParser(t,n,{...r,fail:!1});return n.url=function(e,t={}){const n=t.url||e.getAttribute("up-href")||e.getAttribute("href");if("#"!==n)return n}(t,n),n.method=p(t,n),i.json("headers"),i.json("params"),i.booleanOrString("cache"),i.booleanOrString("expireCache"),i.booleanOrString("evictCache"),i.booleanOrString("revalidate"),i.booleanOrString("abort"),i.boolean("abortable"),i.boolean("background"),i.string("contentType"),i.number("badResponseTime"),i.number("timeout"),n}function l(t,n,r){t=up.fragment.get(t),n=e.options(n);const i=new up.OptionsParser(t,n,{fail:!0,...r});return i.include(u),i.boolean("feedback"),n.origin||=t,i.boolean("fail"),i.boolean("navigate",{default:!0}),i.string("confirm",{attr:["up-confirm","data-confirm"]}),i.string("target"),i.booleanOrString("fallback"),i.string("match"),i.string("content"),i.string("fragment"),i.string("document"),i.boolean("useKeep"),i.boolean("useHungry"),i.callback("onLoaded"),i.callback("onRendered",{mainKey:"result"}),i.callback("onFinished",{mainKey:"result"}),i.callback("onOffline",{mainKey:"error"}),i.callback("onError",{mainKey:"error"}),i.boolean("peel"),i.string("layer"),i.string("baseLayer"),i.json("context"),i.string("mode"),i.string("align"),i.string("position"),i.string("class"),i.string("size"),i.booleanOrString("dismissable"),i.parse(up.layer.openCallbackAttr,"onOpened"),i.parse(up.layer.closeCallbackAttr,"onAccepted"),i.parse(up.layer.closeCallbackAttr,"onDismissed"),i.string("acceptEvent"),i.string("dismissEvent"),i.string("acceptLocation"),i.string("dismissLocation"),i.booleanOrString("history"),i.booleanOrString("focus"),i.boolean("saveScroll"),i.boolean("saveFocus"),i.booleanOrString("scroll"),i.boolean("revealTop"),i.number("revealMax"),i.number("revealPadding"),i.number("revealSnap"),i.string("scrollBehavior"),i.booleanOrString("history"),i.booleanOrString("location"),i.booleanOrString("title"),i.boolean("metaTags"),i.booleanOrString("lang"),i.include(up.motion.motionOptions),n.guardEvent??=up.event.build("up:link:follow",{log:["Following link %o",t]}),n}function c(e,t){let n=function(e){if(!v(e))return"Will not preload an unsafe link"}(e=up.fragment.get(e));if(n)return Promise.reject(new up.Error(n));const r=up.event.build("up:link:preload",{log:["Preloading link %o",e]});return a(e,{abortable:!1,...t,guardEvent:r,preload:!0})}function p(t,n={}){return e.normalizeMethod(n.method||t.getAttribute("up-method")||t.getAttribute("data-method"))}function f(e){return e=up.fragment.get(e),o.matches(e,"followSelectors")}function d(e){f(e)||e.setAttribute("up-follow","")}function h(e,t){if(e.defaultPrevented)return!1;const n=`a, [up-follow], ${up.form.fieldSelector()}`,r=e.target.closest(n);return!r||r===t}function m(e){const t=e.closest(o.selector("instantSelectors"));return t&&(n=t,!(o.matches(n,"noInstantSelectors")||o.matches(n,"noFollowSelectors")));var n}function g(e){let t=["clientX","clientY","button",...up.event.keyModifiers];const n=up.event.fork(e,"up:click",t);up.emit(e.target,n,{log:!1})}function v(e){const t=p(e);return up.network.isSafeMethod(t)}
2function y(e,n,r){switch(e){case"insert":r();break;case"reveal":{let e=t.numberAttr(n,"up-intersect-margin");up.fragment.onFirstIntersect(n,r,{margin:e});break}case"hover":new up.LinkFollowIntent(n,r)}}function b(e,t){let n={navigate:!1,guardEvent:up.event.build("up:deferred:load",{log:["Loading deferred %o",e]}),...t};return a(e,n,{defaults:{target:":origin",cache:"auto",revalidate:"auto",feedback:!0}})}return up.macro(o.selectorFn("clickableSelectors"),(function(e){let n=e.matches("a, [up-follow]")?"link":"button";t.setMissingAttrs(e,{tabindex:"0",role:n,"up-clickable":""}),e.addEventListener("keydown",(function(t){if("Enter"===t.key||"button"===e.role&&"Space"===t.key)return g(t)}))})),up.attribute("up-defer",{defaultValue:"insert"},(function(e,t){y(t,e,(()=>up.error.muteUncriticalRejection(b(e))))})),up.on("up:click",o.selectorFn("followSelectors"),(function(e,t){h(e,t)&&(up.event.halt(e,{log:!0}),up.focus(t,{preventScroll:!0}),up.error.muteUncriticalRejection(a(t)))})),up.attribute("up-expand",{defaultValue:"a, [up-href]",macro:!0},(function(e,n){let r=t.get(e,n);r&&(t.setMissingAttrs(e,{"up-href":t.attr(r,"href"),...t.upAttrs(r)}),e.classList.add(...t.upClasses(r)),d(e))})),up.compiler(o.selectorFn("preloadSelectors"),(function(e){if(!s(e)){let n=()=>up.error.muteUncriticalRejection(c(e));y(t.booleanOrStringAttr(e,"up-preload",null)??"hover",e,n)}})),up.on("up:framework:reset",(function(){n=null})),{follow:a,followOptions:l,requestOptions:u,preload:c,makeFollowable:d,isSafe:v,isFollowable:f,shouldFollowEvent:h,convertClicks:function(e){e.on("click",(function(t,r){var i;if(up.event.isUnmodified(t))return m(r)&&n?up.event.halt(t):("key"===up.event.inputDevice||up.event.isSyntheticClick(t)||e.wasHitByMouseEvent(t)&&(i=t,!n||n===i.target))&&g(t),n=null})),e.on("mousedown",(function(e,t){up.event.isUnmodified(e)&&(n=e.target,m(t)&&g(e))}))},config:o,loadDeferred:b}}(),up.follow=up.link.follow,up.deferred={load:up.link.loadDeferred}},(e,t,n)=>{"use strict";n.r(t)},()=>{up.form=function(){const e=up.util,t=up.element,n=new up.Config((()=>({groupSelectors:["[up-form-group]","fieldset","label","form"],fieldSelectors:["select","input:not([type=submit]):not([type=image])","button[type]:not([type=submit])","textarea"],submitSelectors:["form:is([up-submit], [up-target], [up-layer], [up-transition])"],noSubmitSelectors:["[up-submit=false]","[target]",t.crossOriginSelector("action")],submitButtonSelectors:["input[type=submit]","input[type=image]","button[type=submit]","button:not([type])"],watchInputEvents:["input","change"],watchInputDelay:0,watchChangeEvents:["change"]})));function r(e=""){return n.fieldSelectors.map((t=>t+e)).join()}function i(e){return e.matches(r())}function o(n){n=t.get(n);let i=t.subtree(n,r());if(n.matches("form[id]")){const o=r(t.attrSelector("form",n.getAttribute("id"))),s=up.fragment.all(o,{layer:n});i.push(...s),i=e.uniq(i)}return i}function s(e){return t.subtree(e,u())}function a(e){return e?.matches(u())}function u(){return n.selector("submitButtonSelectors")}const l=up.mockable(((e,t)=>up.render(c(e,t))));function c(t,n,r){t=S(t),n=e.options(n);let i=new up.OptionsParser(t,n,r);return i.include(h),i.string("failTarget",{default:up.fragment.tryToTarget(t)}),i.booleanOrString("disable"),n.guardEvent||=up.event.build("up:form:submit",{submitButton:n.submitButton,log:"Submitting form",params:n.params,form:t}),n.origin||=up.viewport.focusedElementWithin(t)||n.submitButton||t,i.include(up.link.followOptions),n}function p(e){let t,n=document.activeElement,r=[...o(e),...s(e)];for(let e of r)e===n&&(t=y(n)),f(e);return t&&up.focus(t,{force:!0,preventScroll:!0}),function(){r.forEach(d)}}function f(e){e.upDisableCount||(e.upDisableCount||=0,e.upOriginalDisabled=e.disabled),e.upDisableCount++,e.disabled=!0}function d(e){e.upDisableCount&&(e.disabled?(e.upDisableCount--,e.upDisableCount||(e.disabled=e.upOriginalDisabled)):e.upDisableCount=0)}function h(t,n,r){n=e.options(n),t=S(t);const i=new up.OptionsParser(t,n,r);i.string("contentType",{attr:"enctype"}),i.json("headers");const o=up.Params.fromForm(t),a=n.submitButton??=s(t)[0];return a&&(o.addField(a),n.method||=a.getAttribute("formmethod"),n.url||=a.getAttribute("formaction")),o.addAll(n.params),n.params=o,i.string("url",{attr:"action",default:up.fragment.source(t)}),i.string("method",{attr:["up-method","data-method","method"],default:"GET",normalize:e.normalizeMethod}
2),"GET"===n.method&&(n.url=up.Params.stripURL(n.url)),n}function m(t,...n){t=up.element.get(t);const r=e.extractCallback(n)||function(e){let t=e.getAttribute("up-watch");if(t)return up.NonceableCallback.fromString(t).toFunction("value","name").bind(e)}(t)||up.fail("No callback given for up.watch()");let i=e.extractOptions(n);const o=new up.FieldWatcher(t,i,r);return o.start(),()=>o.stop()}function g(e,t={}){return m(e,{options:t,batch:!0},((t,n)=>l(e,n)))}function v(){return up.migrate.migratedFormGroupSelectors?.()||n.groupSelectors}function y(e){return b(e).element}function b(t){return e.findResult(v(),(function(e){let n=t.closest(e);if(n){let r=up.fragment.tryToTarget(n),i=up.fragment.tryToTarget(t),o=r||i&&n!==t&&`${e}:has(${i})`;if(o)return{target:o,element:n,origin:t}}}))}function _(n){let r,i;if(n.matches("input[type=checkbox]"))n.checked?(r=n.value,i=":checked"):i=":unchecked";else if(n.matches("input[type=radio]")){const e=E(n),o=n.getAttribute("name"),s=e.querySelector(`input[type=radio]${t.attrSelector("name",o)}:checked`);s?(i=":checked",r=s.value):i=":unchecked"}else r=n.value;const o=[];return e.isPresent(r)?(o.push(r),o.push(":present")):o.push(":blank"),e.isPresent(i)&&o.push(i),o}function w(e,t={}){const n=t.target||t.target||e.getAttribute("up-switch"),r=E(e);n||up.fail("No switch target given for %o",e);const i=_(e);for(let e of up.fragment.all(r,n))x(e,i)}const x=up.mockable((function(n,r){let i;r||=_(function(t){const n=E(t),r=n.querySelectorAll("[up-switch]"),i=e.find(r,(function(e){const n=e.getAttribute("up-switch");return t.matches(n)}));return i||up.fail("Could not find [up-switch] field for %o",t)}(n));let o=n.getAttribute("up-hide-for");if(o)o=A(o),i=0===e.intersect(r,o).length;else{let t=n.getAttribute("up-show-for");t=t?A(t):[":present",":checked"],i=e.intersect(r,t).length>0}t.toggle(n,i),n.classList.add("up-switched")}));function A(t){return e.parseTokens(t,{json:!0})}function S(e,t={}){const n=up.fragment.get(e,t);return n.form||n.closest("form")}function E(e,t){return S(e,t)||up.layer.get(e).element}return up.on("submit",n.selectorFn("submitSelectors"),(function(t,n){if(t.defaultPrevented)return;const r=e.presence(t.submitter,a);up.event.halt(t,{log:!0}),up.error.muteUncriticalRejection(l(n,{submitButton:r}))})),up.compiler((function(){let e=n.fieldSelectors.map((e=>`${e}[up-validate], [up-validate] ${e}`));return t.unionSelector(e,["[up-validate=false]"])}),(function(e){up.FormValidator.forElement(e).watchContainer(e)})),up.compiler("[up-switch]",(e=>{w(e)})),up.on("change","[up-switch]",((e,t)=>{w(t)})),up.compiler("[up-show-for]:not(.up-switched), [up-hide-for]:not(.up-switched)",(e=>{x(e)})),up.attribute("up-watch",(e=>m(e))),up.attribute("up-autosubmit",(e=>g(e))),{config:n,submit:l,submitOptions:c,destinationOptions:h,watchOptions:function(t,n,r={}){n=e.options(n);let i=new up.OptionsParser(t,n,{...r,closest:!0,attrPrefix:"up-watch-"});i.boolean("feedback"),i.booleanOrString("disable"),i.string("event"),i.number("delay");let o=up.form.config;return"input"===n.event?(n.event=e.evalOption(o.watchInputEvents,t),n.delay??=o.watchInputDelay):"change"===n.event&&(n.event=e.evalOption(o.watchChangeEvents,t)),n.origin||=t,n},isSubmittable:function(e){return e=up.fragment.get(e),n.matches(e,"submitSelectors")},watch:m,validate:function(...t){let n=function(t,...n){const r=e.extractOptions(n);r.origin?r.target||=up.fragment.toTarget(t):r.origin||=up.fragment.get(t);return r}(...t);
2return up.FormValidator.forElement(n.origin).validate(n)},autosubmit:g,fieldSelector:r,fields:o,isField:i,submitButtons:s,focusedField:function(){return e.presence(document.activeElement,i)},switchTarget:x,disableWhile:function(t,n){let r=function({disable:t,origin:n}){if(!t)return e.noop;let r,i=e=>{up.fail("Cannot process { disable: '%s' } option without { %s }",t,e)},o=()=>n||i("origin"),s=()=>E(o());!0===t?r=[s()]:e.isString(t)&&(r=up.fragment.subtree(s(),t,{origin:n}));return e.sequence(r.map(p))}(n);e.always(t,r)},disable:p,group:y,groupSolution:b,groupSelectors:v,get:S,getScope:E}}(),up.submit=up.form.submit,up.watch=up.form.watch,up.autosubmit=up.form.autosubmit,up.validate=up.form.validate},()=>{up.feedback=function(){const e=up.util,t=up.element,n=new up.Config((()=>({currentClasses:["up-current"],navSelectors:["[up-nav]","nav"],noNavSelectors:["[up-nav=false]"]})));const r="a, [up-href]";function i(e){return e.upFeedbackURLs||=new up.LinkFeedbackURLs(e)}function o(e,{layer:o}={}){o||=up.layer.get(e);let a=s(o);const u=n.selector("navSelectors"),l=`${u} :is(${r}), ${u}:is(${r})`,c=up.fragment.all(l,{layer:o});for(let e of c){const r=i(e).isCurrent(a);for(let t of n.currentClasses)e.classList.toggle(t,r);t.toggleAttr(e,"aria-current","page",r)}}function s(t){return t.feedbackLocation||e.matchableURL(t.location)}function a(e){const t=e.feedbackLocation,n=s(e.location);t&&t===n||(e.feedbackLocation=n,o(e.element,{layer:e}))}return up.on("up:location:changed",(e=>{!function(){const e=up.layer.front;e.showsLiveHistory()&&a(e)}()})),up.on("up:fragment:compile",((e,t)=>{o(t)})),up.on("up:layer:location:changed",(e=>{a(e.layer)})),up.on("up:framework:reset",(function(){up.layer.root.feedbackLocation=null})),{config:n,showAroundRequest:function(n,i){if(!i.feedback)return;let o=t=>e.always(n,t),s=function(e){let n=e.origin;if(n)return i=n,t.ancestor(i,r)||i;var i}(n);s&&o(t.addTemporaryClass(s,"up-active"));for(let e of n.fragments)o(t.addTemporaryClass(e,"up-loading"))}}}()},()=>{up.radio=function(){const e=up.element,t=new up.Config((()=>({hungrySelectors:["[up-hungry]"],noHungrySelectors:["[up-hungry=false]"],pollInterval:3e4})));return up.attribute("up-poll",(function(e){up.FragmentPolling.forFragment(e).onPollAttributeObserved()})),up.macro("[up-flashes]",(function(t){e.setMissingAttrs(t,{"up-hungry":"","up-if-layer":"subtree","up-keep":"",role:"alert"}),t.addEventListener("up:fragment:keep",(function(t){e.isEmpty(t.newFragment)||t.preventDefault()}))})),{config:t,hungrySteps:function(n){let{useHungry:r,origin:i,layer:o}=n,s={current:[],other:[]};if(!r)return s;let a=t.selector("hungrySelectors");const u=[o,...o.ancestors,...o.descendants];for(let t of u){let r=up.fragment.all(t.element,a,{layer:t});for(let a of r){let r=up.fragment.tryToTarget(a,{origin:i});if(!r){up.warn("[up-hungry]","Ignoring untargetable fragment %o",a);continue}let u=e.attr(a,"up-if-layer"),l=u?up.layer.getAll(u,{baseLayer:t}):[t],c={selector:r,oldElement:a,layer:t,origin:i,...up.motion.motionOptions(a),placement:"swap",useKeep:!0,maybe:!0,selectEvent:up.event.build("up:fragment:hungry",{log:!1}),selectCallback:e.callbackAttr(a,"up-on-hungry",{exposedKeys:["newFragment","renderOptions"]}),originalRenderOptions:n};if(l.includes(o)){(o===t?s.current:s.other).push(c)}}}return s.other=up.fragment.compressNestedSteps(s.other),s},startPolling:function(e,t={}){up.FragmentPolling.forFragment(e).forceStart(t)},stopPolling:function(e){up.FragmentPolling.forFragment(e).forceStop()},pollOptions:function(e,n={}){const r=new up.OptionsParser(e,n,{defaults:{background:!0}});return r.number("interval",{default:t.pollInterval}),r.string("ifLayer",{default:"front"}),r.include(up.link.requestOptions),n}}}()},()=>{!function(){const e=up.element;for(let t of["method","confirm"]){const n=`up-${t}`,r=`data-${t}`;up.macro(`a[${r}]`,(function(t){(window.Rails||window.jQuery?.rails)&&up.link.isFollowable(t)&&(e.setMissingAttr(t,n,t.getAttribute(r)),t.removeAttribute(r))}))}}()}],t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
vendor: 20,058 bytes, line 2
2),Object.defineProperty(e,"__esModule",{value:!0})},n(1),n(2),n(3),n(4),n(5),n(6),n(7),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17),n(18),n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29),n(30),n(31),n(32),n(33),n(34),n(35),n(36),n(37),n(38),n(39),n(40),n(41),n(42),n(43),n(44),n(45),n(46),n(47),n(48),n(49),n(50),n(51),n(52),n(53),n(54),n(55),n(56),n(57),n(58),n(59),n(60),n(61),n(62),n(63),n(64),n(65),n(66),n(67),n(68),n(69),n(70),n(71),n(72),n(73),n(74),n(75),n(76),n(77),n(78),n(79),n(80),n(81),n(82),n(83),n(84),n(85),n(86),n(88),n(90),n(91),n(93),n(95),n(97),n(98),n(99),n(100),up.framework.onEvaled()})()},62893:function(e,t,n){"use strict";n.d(t,{Ay:function(){return er}});var r=Object.freeze({}),i=Array.isArray;function o(e){return null==e}function s(e){return null!=e}function a(e){return!0===e}function u(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return"function"==typeof e}function c(e){return null!==e&&"object"==typeof e}var p=Object.prototype.toString;function f(e){return"[object Object]"===p.call(e)}function d(e){return"[object RegExp]"===p.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===p?JSON.stringify(e,v,2):String(e)}function v(e,t){return t&&t.__v_isRef?t.value:t}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var _=b("slot,component",!0),w=b("key,ref,slot,slot-scope,is");function x(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var A=Object.prototype.hasOwnProperty;function S(e,t){return A.call(e,t)}function E(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var T=/-(\w)/g,k=E((function(e){return e.replace(T,(function(e,t){return t?t.toUpperCase():""}))})),C=E((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),O=/\B([A-Z])/g,$=E((function(e){return e.replace(O,"-$1").toLowerCase()}));var R=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function F(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function L(e,t){for(var n in t)e[n]=t[n];return e}function D(e){for(var t={},n=0;n<e.length;n++)e[n]&&L(t,e[n]);return t}function P(e,t,n){}var j=function(e,t,n){return!1},N=function(e){return e};function q(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return q(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var s=Object.keys(e),a=Object.keys(t);return s.length===a.length&&s.every((function(n){return q(e[n],t[n])}))}catch(e){return!1}}function M(e,t){for(var n=0;n<e.length;n++)if(q(e[n],t))return n;return-1}function I(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function H(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var U="data-server-rendered",B=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:P,parsePlatformTagName:N,mustUseProp:j,async:!0,_lifecycleHooks:z},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function X(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var J=new RegExp("[^".concat(W.source,".$_\\d]"));var Q="__proto__"in{},G="undefined"!=typeof window,Y=G&&window.navigator.userAgent.toLowerCase(),Z=Y&&/msie|trident/.test(Y),ee=Y&&Y.indexOf("msie 9.0")>0,te=Y&&Y.indexOf("edge/")>0;Y&&Y.indexOf("android");var ne=Y&&/iphone|ipad|ipod|ios/.test(Y);Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y);var re,ie=Y&&Y.match(/firefox\/(\d+)/),oe={}.watch,se=!1;if(G)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var ue=function(){return void 0===re&&(re=!G&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),re},le=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var pe,fe="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);pe="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=null;function he(e){void 0===e&&(e=null),e||de&&de._scope.off(),de=e,e&&e._scope.on()}var me=function(){function e(e,t,n,r,i,o,s,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ge=function(e){void 0===e&&(e="");var t=new me;return t.text=e,t.isComment=!0,t};function ve(e){return new me(void 0,void 0,void 0,String(e))}function ye(e){var t=new me(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}"function"==typeof SuppressedError&&SuppressedError;var be=0,_e=[],we=function(){function e(){this._pending=!1,this.id=be++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,_e.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter((function(e){return e}));for(var n=0,r=t.length;n<r;n++){0,t[n].update()}},e}();we.target=null;var xe=[];function Ae(e){xe.push(e),we.target=e}function Se(){xe.pop(),we.target=xe[xe.length-1]}var Ee=Array.prototype,Te=Object.create(Ee);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ee[e];X(Te,e,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=t.apply(this,n),s=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o}))}));var ke=Object.getOwnPropertyNames(Te),Ce={},Oe=!0;function $e(e){Oe=e}var Re={notify:P,depend:P,addSub:P,removeSub:P},Fe=function(){function e(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.value=e,this.shallow=t,this.mock=n,this.dep=n?Re:new we,this.vmCount=0,X(e,"__ob__",this),i(e)){if(!n)if(Q)e.__proto__=Te;else for(var r=0,o=ke.length;r<o;r++){X(e,a=ke[r],Te[a])}t||this.observeArray(e)}else{var s=Object.keys(e);for(r=0;r<s.length;r++){var a;De(e,a=s[r],Ce,void 0,t,n)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Le(e[t],!1,this.mock)},e}();function Le(e,t,n){return e&&S(e,"__ob__")&&e.__ob__ instanceof Fe?e.__ob__:!Oe||!n&&ue()||!i(e)&&!f(e)||!Object.isExtensible(e)||e.__v_skip||He(e)||e instanceof me?void 0:new Fe(e,t,n)}function De(e,t,n,r,o,s,a){void 0===a&&(a=!1);var u=new we,l=Object.getOwnPropertyDescriptor(e,t);if(!l||!1!==l.configurable){var c=l&&l.get,p=l&&l.set;c&&!p||n!==Ce&&2!==arguments.length||(n=e[t]);var f=o?n&&n.__ob__:Le(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=c?c.call(e):n;return we.target&&(u.depend(),f&&(f.dep.depend(),i(t)&&Ne(t))),He(t)&&!o?t.value:t},set:function(t){var r=c?c.call(e):n;if(H(r,t)){if(p)p.call(e,t);else{if(c)return;if(!o&&He(r)&&!He(t))return void(r.value=t);n=t}f=o?t&&t.__ob__:Le(t,!1,s),u.notify()}}}),u}}function Pe(e,t,n){if(!Ie(e)){var r=e.__ob__;return i(e)&&h(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Le(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(De(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function je(e,t){if(i(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||Ie(e)||S(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ne(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),i(t)&&Ne(t)}function qe(e){return Me(e,!0),X(e,"__v_isShallow",!0),e}function Me(e,t){if(!Ie(e)){Le(e,t,ue());0}}function Ie(e){return!(!e||!e.__v_isReadonly)}function He(e){return!(!e||!0!==e.__v_isRef)}function Ue(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(He(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];He(r)&&!He(e)?r.value=e:t[n]=e}})}var Be=E((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function ze(e,t){function n(){var e=n.fns;if(!i(e))return tn(e,null,arguments,t,"v-on handler");for(var r=e.slice(),o=0;o<r.length;o++)tn(r[o],null,arguments,t,"v-on handler")}return n.fns=e,n}function Ve(e,t,n,r,i,s){var u,l,c,p;for(u in e)l=e[u],c=t[u],p=Be(u),o(l)||(o(c)?(o(l.fns)&&(l=e[u]=ze(l,s)),a(p.once)&&(l=e[u]=i(p.name,l,p.capture)),n(p.name,l,p.capture,p.passive,p.params)):l!==c&&(c.fns=l,e[u]=c));for(u in t)o(e[u])&&r((p=Be(u)).name,t[u],p.capture)}function We(e,t,n){var r;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function u(){n.apply(this,arguments),x(r.fns,u)}o(i)?r=ze([u]):s(i.fns)&&a(i.merged)?(r=i).fns.push(u):r=ze([i,u]),r.merged=!0,e[t]=r}function Ke(e,t,n,r,i){if(s(t)){if(S(t,n))return e[n]=t[n],i||delete t[n],!0;if(S(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Xe(e){return u(e)?[ve(e)]:i(e)?Qe(e):void 0}function Je(e){return s(e)&&s(e.text)&&!1===e.isComment}function Qe(e,t){var n,r,l,c,p=[];for(n=0;n<e.length;n++)o(r=e[n])||"boolean"==typeof r||(c=p[l=p.length-1],i(r)?r.length>0&&(Je((r=Qe(r,"".concat(t||"","_").concat(n)))[0])&&Je(c)&&(p[l]=ve(c.text+r[0].text),r.shift()),p.push.apply(p,r)):u(r)?Je(c)?p[l]=ve(c.text+r):""!==r&&p.push(ve(r)):Je(r)&&Je(c)?p[l]=ve(c.text+r.text):(a(e._isVList)&&s(r.tag)&&o(r.key)&&s(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),p.push(r)));return p}function Ge(e,t,n,r,o,p){return(i(n)||u(n))&&(o=r,r=n,n=void 0),a(p)&&(o=2),function(e,t,n,r,o){if(s(n)&&s(n.__ob__))return ge();s(n)&&s(n.is)&&(t=n.is);if(!t)return ge();0;i(r)&&l(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===o?r=Xe(r):1===o&&(r=function(e){for(var t=0;t<e.length;t++)if(i(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var a,u;if("string"==typeof t){var p=void 0;u=e.$vnode&&e.$vnode.ns||V.getTagNamespace(t),a=V.isReservedTag(t)?new me(V.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!s(p=Xn(e.$options,"components",t))?new me(t,n,r,void 0,void 0,e):qn(p,n,e,r,t)}else a=qn(t,n,e,r);return i(a)?a:s(a)?(s(u)&&Ye(a,u),s(n)&&function(e){c(e.style)&&vn(e.style);c(e.class)&&vn(e.class)}(n),a):ge()}(e,t,n,r,o)}function Ye(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),s(e.children))for(var r=0,i=e.children.length;r<i;r++){var u=e.children[r];s(u.tag)&&(o(u.ns)||a(n)&&"svg"!==u.tag)&&Ye(u,t,n)}}function Ze(e,t){var n,r,o,a,u=null;if(i(e)||"string"==typeof e)for(u=new Array(e.length),n=0,r=e.length;n<r;n++)u[n]=t(e[n],n);else if("number"==typeof e)for(u=new Array(e),n=0;n<e;n++)u[n]=t(n+1,n);else if(c(e))if(fe&&e[Symbol.iterator]){u=[];for(var l=e[Symbol.iterator](),p=l.next();!p.done;)u.push(t(p.value,u.length)),p=l.next()}else for(o=Object.keys(e),u=new Array(o.length),n=0,r=o.length;n<r;n++)a=o[n],u[n]=t(e[a],a,n);return s(u)||(u=[]),u._isVList=!0,u}function et(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=L(L({},r),n)),i=o(n)||(l(t)?t():t)):i=this.$slots[e]||(l(t)?t():t);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function tt(e){return Xn(this.$options,"filters",e,!0)||N}function nt(e,t){return i(e)?-1===e.indexOf(t):e!==t}function rt(e,t,n,r,i){var o=V.keyCodes[t]||n;return i&&r&&!V.keyCodes[t]?nt(i,r):o?nt(o,e):r?$(r)!==t:void 0===e}function it(e,t,n,r,o){if(n)if(c(n)){i(n)&&(n=D(n));var s=void 0,a=function(i){if("class"===i||"style"===i||w(i))s=e;else{var a=e.attrs&&e.attrs.type;s=r||V.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=k(i),l=$(i);u in s||l in s||(s[i]=n[i],o&&((e.on||(e.on={}))["update:".concat(i)]=function(e){n[i]=e}))};for(var u in n)a(u)}else;return e}function ot(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||at(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function st(e,t,n){return at(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function at(e,t,n){if(i(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ut(e[r],"".concat(t,"_").concat(r),n);else ut(e,t,n)}function ut(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function lt(e,t){if(t)if(f(t)){var n=e.on=e.on?L({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function ct(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var s=e[o];i(s)?ct(s,t,n):s&&(s.proxy&&(s.fn.proxy=!0),t[s.key]=s.fn)}return r&&(t.$key=r),t}function pt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function ft(e,t){return"string"==typeof e?t+e:e}function dt(e){e._o=st,e._n=y,e._s=g,e._l=Ze,e._t=et,e._q=q,e._i=M,e._m=ot,e._f=tt,e._k=rt,e._b=it,e._v=ve,e._e=ge,e._u=ct,e._g=lt,e._d=pt,e._p=ft}function ht(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==t&&o.fnContext!==t||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,u=n[a]||(n[a]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var l in n)n[l].every(mt)&&delete n[l];return n}function mt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function gt(e){return e.isComment&&e.asyncFactory}function vt(e,t,n,i){var o,s=Object.keys(n).length>0,a=t?!!t.$stable:!s,u=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==r&&u===i.$key&&!s&&!i.$hasNormal)return i;for(var l in o={},t)t[l]&&"$"!==l[0]&&(o[l]=yt(e,n,l,t[l]))}else o={};for(var c in n)c in o||(o[c]=bt(n,c));return t&&Object.isExtensible(t)&&(t._normalized=o),X(o,"$stable",a),X(o,"$key",u),X(o,"$hasNormal",s),o}function yt(e,t,n,r){var o=function(){var t=de;he(e);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:Xe(n))&&n[0];return he(t),n&&(!o||1===n.length&&o.isComment&&!gt(o))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function bt(e,t){return function(){return e[t]}}function _t(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};X(t,"_v_attr_proxy",!0),wt(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){e._listenersProxy||wt(e._listenersProxy={},e.$listeners,r,e,"$listeners");return e._listenersProxy},get slots(){return function(e){e._slotsProxy||At(e._slotsProxy={},e.$scopedSlots);return e._slotsProxy}(e)},emit:R(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return Ue(e,t,n)}))}}}function wt(e,t,n,r,i){var o=!1;for(var s in t)s in e?t[s]!==n[s]&&(o=!0):(o=!0,xt(e,s,r,i));for(var s in e)s in t||(o=!0,delete e[s]);return o}function xt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function At(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}var St,Et,Tt=null;function kt(e,t){return(e.__esModule||fe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function Ct(e){if(i(e))for(var t=0;t<e.length;t++){var n=e[t];if(s(n)&&(s(n.componentOptions)||gt(n)))return n}}function Ot(e,t){St.$on(e,t)}function $t(e,t){St.$off(e,t)}function Rt(e,t){var n=St;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Ft(e,t,n){St=e,Ve(t,n||{},Ot,$t,Rt,e),St=void 0}var Lt=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Et,!e&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=Et;try{return Et=this,e()}finally{Et=t}}else 0},e.prototype.on=function(){Et=this},e.prototype.off=function(){Et=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e}();var Dt=null;function Pt(e){var t=Dt;return Dt=e,function(){Dt=t}}function jt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Nt(e,t){if(t){if(e._directInactive=!1,jt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Nt(e.$children[n]);Mt(e,"activated")}}function qt(e,t){if(!(t&&(e._directInactive=!0,jt(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)qt(e.$children[n]);Mt(e,"deactivated")}}function Mt(e,t,n,r){void 0===r&&(r=!0),Ae();var i=de,o=Et;r&&he(e);var s=e.$options[t],a="".concat(t," hook");if(s)for(var u=0,l=s.length;u<l;u++)tn(s[u],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(he(i),o&&o.on()),Se()}var It=[],Ht=[],Ut={},Bt=!1,zt=!1,Vt=0;var Wt=0,Kt=Date.now;if(G&&!Z){var Xt=window.performance;Xt&&"function"==typeof Xt.now&&Kt()>document.createEvent("Event").timeStamp&&(Kt=function(){return Xt.now()})}var Jt=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Qt(){var e,t;for(Wt=Kt(),zt=!0,It.sort(Jt),Vt=0;Vt<It.length;Vt++)(e=It[Vt]).before&&e.before(),t=e.id,Ut[t]=null,e.run();var n=Ht.slice(),r=It.slice();Vt=It.length=Ht.length=0,Ut={},Bt=zt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Nt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Mt(r,"updated")}}(r),function(){for(var e=0;e<_e.length;e++){var t=_e[e];t.subs=t.subs.filter((function(e){return e})),t._pending=!1}_e.length=0}(),le&&V.devtools&&le.emit("flush")}function Gt(e){var t=e.id;if(null==Ut[t]&&(e!==we.target||!e.noRecurse)){if(Ut[t]=!0,zt){for(var n=It.length-1;n>Vt&&It[n].id>e.id;)n--;It.splice(n+1,0,e)}else It.push(e);Bt||(Bt=!0,hn(Qt))}}var Yt="watcher";"".concat(Yt," callback"),"".concat(Yt," getter"),"".concat(Yt," cleanup");function Zt(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}
vendor: 3,964 bytes, line 2
2function en(e,t,n){Ae();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){nn(e,r,"errorCaptured hook")}}nn(e,t,n)}finally{Se()}}function tn(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(e){return en(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(e){en(e,r,i)}return o}function nn(e,t,n){if(V.errorHandler)try{return V.errorHandler.call(null,e,t,n)}catch(t){t!==e&&rn(t,null,"config.errorHandler")}rn(e,t,n)}function rn(e,t,n){if(!G||"undefined"==typeof console)throw e}var on,sn=!1,an=[],un=!1;function ln(){un=!1;var e=an.slice(0);an.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var cn=Promise.resolve();on=function(){cn.then(ln),ne&&setTimeout(P)},sn=!0}else if(Z||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())on="undefined"!=typeof setImmediate&&ce(setImmediate)?function(){setImmediate(ln)}:function(){setTimeout(ln,0)};else{var pn=1,fn=new MutationObserver(ln),dn=document.createTextNode(String(pn));fn.observe(dn,{characterData:!0}),on=function(){pn=(pn+1)%2,dn.data=String(pn)},sn=!0}function hn(e,t){var n;if(an.push((function(){if(e)try{e.call(t)}catch(e){en(e,t,"nextTick")}else n&&n(t)})),un||(un=!0,on()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}function mn(e){return function(t,n){if(void 0===n&&(n=de),n)return function(e,t,n){var r=e.$options;r[t]=zn(r[t],n)}(n,e,t)}}mn("beforeMount"),mn("mounted"),mn("beforeUpdate"),mn("updated"),mn("beforeDestroy"),mn("destroyed"),mn("activated"),mn("deactivated"),mn("serverPrefetch"),mn("renderTracked"),mn("renderTriggered"),mn("errorCaptured");var gn=new pe;function vn(e){return yn(e,gn),gn.clear(),e}function yn(e,t){var n,r,o=i(e);if(!(!o&&!c(e)||e.__v_skip||Object.isFrozen(e)||e instanceof me)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(o)for(n=e.length;n--;)yn(e[n],t);else if(He(e))yn(e.value,t);else for(n=(r=Object.keys(e)).length;n--;)yn(e[r[n]],t)}}var bn=0,_n=function(){function e(e,t,n,r,i){var o,s;o=this,void 0===(s=Et&&!Et._vm?Et:e?e._scope:void 0)&&(s=Et),s&&s.active&&s.effects.push(o),(this.vm=e)&&i&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++bn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pe,this.newDepIds=new pe,this.expression="",l(t)?this.getter=t:(this.getter=function(e){if(!J.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;Ae(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;en(e,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&vn(e),Se(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Gt(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');tn(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
vendor: 33,618 bytes, line 2
2,e.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}(),wn={enumerable:!0,configurable:!0,get:P,set:P};function xn(e,t,n){wn.get=function(){return this[t][n]},wn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,wn)}function An(e){var t=e.$options;if(t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=qe({}),i=e.$options._propKeys=[],o=!e.$parent;o||$e(!1);var s=function(o){i.push(o);var s=Jn(o,t,n,e);De(r,o,s,void 0,!0),o in e||xn(e,"_props",o)};for(var a in t)s(a);$e(!0)}(e,t.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=_t(e);he(e),Ae();var i=tn(n,null,[e._props||qe({}),r],e,"setup");if(Se(),he(),l(i))t.render=i;else if(c(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var s in i)"__sfc"!==s&&Ue(o,i,s)}else for(var s in i)K(s)||Ue(e,i,s)}}(e),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?P:R(t[n],e)}(e,t.methods),t.data)!function(e){var t=e.$options.data;t=e._data=l(t)?function(e,t){Ae();try{return e.call(t,t)}catch(e){return en(e,t,"data()"),{}}finally{Se()}}(t,e):t||{},f(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&S(r,o)||K(o)||xn(e,"_data",o)}var s=Le(t);s&&s.vmCount++}(e);else{var n=Le(e._data={});n&&n.vmCount++}t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],s=l(o)?o:o.get;0,r||(n[i]=new _n(e,s||P,P,Sn)),i in e||En(e,i,o)}}(e,t.computed),t.watch&&t.watch!==oe&&function(e,t){for(var n in t){var r=t[n];if(i(r))for(var o=0;o<r.length;o++)Cn(e,n,r[o]);else Cn(e,n,r)}}(e,t.watch)}var Sn={lazy:!0};function En(e,t,n){var r=!ue();l(n)?(wn.get=r?Tn(t):kn(n),wn.set=P):(wn.get=n.get?r&&!1!==n.cache?Tn(t):kn(n.get):P,wn.set=n.set||P),Object.defineProperty(e,t,wn)}function Tn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),we.target&&t.depend(),t.value}}function kn(e){return function(){return e.call(this,this)}}function Cn(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function On(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var s=e[o].from;if(s in t._provided)n[o]=t._provided[s];else if("default"in e[o]){var a=e[o].default;n[o]=l(a)?a.call(t):a}else 0}}return n}}var $n=0;function Rn(e){var t=e.options;if(e.super){var n=Rn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&L(e.extendOptions,r),(t=e.options=Kn(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Fn(e,t,n,o,s){var u,l=this,c=s.options;S(o,"_uid")?(u=Object.create(o))._original=o:(u=o,o=o._original);var p=a(c._compiled),f=!p;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||r,this.injections=On(c.inject,o),this.slots=function(){return l.$slots||vt(o,e.scopedSlots,l.$slots=ht(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return vt(o,e.scopedSlots,this.slots())}}),p&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=vt(o,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,r){var s=Ge(u,e,t,n,r,f);return s&&!i(s)&&(s.fnScopeId=c._scopeId,s.fnContext=o),s}:this._c=function(e,t,n,r){return Ge(u,e,t,n,r,f)}}function Ln(e,t,n,r,i){var o=ye(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Dn(e,t){for(var n in t)e[k(n)]=t[n]}function Pn(e){return e.name||e.__name||e._componentTag}dt(Fn.prototype);var jn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;jn.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Dt)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,i,o){var s=i.data.scopedSlots,a=e.$scopedSlots,u=!!(s&&!s.$stable||a!==r&&!a.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key),l=!!(o||e.$options._renderChildren||u),c=e.$vnode;e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o;var p=i.data.attrs||r;e._attrsProxy&&wt(e._attrsProxy,p,c.data&&c.data.attrs||r,e,"$attrs")&&(l=!0),e.$attrs=p,n=n||r;var f=e.$options._parentListeners;if(e._listenersProxy&&wt(e._listenersProxy,n,f||r,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Ft(e,n,f),t&&e.$options.props){$e(!1);for(var d=e._props,h=e.$options._propKeys||[],m=0;m<h.length;m++){var g=h[m],v=e.$options.props;d[g]=Jn(g,v,t,e)}$e(!0),e.$options.propsData=t}l&&(e.$slots=ht(o,i.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Mt(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Ht.push(t)):Nt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?qt(t,!0):t.$destroy())}},Nn=Object.keys(jn);function qn(e,t,n,u,l){if(!o(e)){var p=n.$options._base;if(c(e)&&(e=p.extend(e)),"function"==typeof e){var f;if(o(e.cid)&&(e=function(e,t){if(a(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;var n=Tt;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){var r=e.owners=[n],i=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return x(r,n)}));var p=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},f=I((function(n){e.resolved=kt(n,t),i?r.length=0:p(!0)})),d=I((function(t){s(e.errorComp)&&(e.error=!0,p(!0))})),h=e(f,d);return c(h)&&(m(h)?o(e.resolved)&&h.then(f,d):m(h.component)&&(h.component.then(f,d),s(h.error)&&(e.errorComp=kt(h.error,t)),s(h.loading)&&(e.loadingComp=kt(h.loading,t),0===h.delay?e.loading=!0:u=setTimeout((function(){u=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,p(!1))}),h.delay||200)),s(h.timeout)&&(l=setTimeout((function(){l=null,o(e.resolved)&&d(null)}),h.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(f=e,p),void 0===e))return function(e,t,n,r,i){var o=ge();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(f,t,n,u,l);t=t||{},Rn(e),s(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],u=t.model.callback;s(a)?(i(a)?-1===a.indexOf(u):a!==u)&&(o[r]=[u].concat(a)):o[r]=u}(e.options,t);var d=function(e,t){var n=t.options.props;if(!o(n)){var r={},i=e.attrs,a=e.props;if(s(i)||s(a))for(var u in n){var l=$(u);Ke(r,a,u,l,!0)||Ke(r,i,u,l,!1)}return r}}(t,e);if(a(e.options.functional))return function(e,t,n,o,a){var u=e.options,l={},c=u.props;if(s(c))for(var p in c)l[p]=Jn(p,c,t||r);else s(n.attrs)&&Dn(l,n.attrs),s(n.props)&&Dn(l,n.props);var f=new Fn(n,l,a,o,e),d=u.render.call(null,f._c,f);if(d instanceof me)return Ln(d,n,f.parent,u);if(i(d)){for(var h=Xe(d)||[],m=new Array(h.length),g=0;g<h.length;g++)m[g]=Ln(h[g],n,f.parent,u);return m}}(e,d,t,n,u);var h=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var g=t.slot;t={},g&&(t.slot=g)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Nn.length;n++){var r=Nn[n],i=t[r],o=jn[r];i===o||i&&i._merged||(t[r]=i?Mn(o,i):o)}}(t);var v=Pn(e.options)||l;return new me("vue-component-".concat(e.cid).concat(v?"-".concat(v):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:h,tag:l,children:u},f)}}}function Mn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var In=P,Hn=V.optionMergeStrategies;function Un(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var r,i,o,s=fe?Reflect.ownKeys(t):Object.keys(t),a=0;a<s.length;a++)"__ob__"!==(r=s[a])&&(i=e[r],o=t[r],n&&S(e,r)?i!==o&&f(i)&&f(o)&&Un(i,o):Pe(e,r,o));return e}function Bn(e,t,n){return n?function(){var r=l(t)?t.call(n,n):t,i=l(e)?e.call(n,n):e;return r?Un(r,i):i}:t?e?function(){return Un(l(t)?t.call(this,this):t,l(e)?e.call(this,this):e)}:t:e}function zn(e,t){var n=t?e?e.concat(t):i(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Vn(e,t,n,r){var i=Object.create(e||null);return t?L(i,t):i}Hn.data=function(e,t,n){return n?Bn(e,t,n):t&&"function"!=typeof t?e:Bn(e,t)},z.forEach((function(e){Hn[e]=zn})),B.forEach((function(e){Hn[e+"s"]=Vn})),Hn.watch=function(e,t,n,r){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var s in L(o,e),t){var a=o[s],u=t[s];a&&!i(a)&&(a=[a]),o[s]=a?a.concat(u):i(u)?u:[u]}return o},Hn.props=Hn.methods=Hn.inject=Hn.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return L(i,e),t&&L(i,t),i},Hn.provide=function(e,t){return e?function(){var n=Object.create(null);return Un(n,l(e)?e.call(this):e),t&&Un(n,l(t)?t.call(this):t,!1),n}:t};var Wn=function(e,t){return void 0===t?e:t};function Kn(e,t,n){if(l(t)&&(t=t.options),function(e){var t=e.props;if(t){var n,r,o={};if(i(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o[k(r)]={type:null});else if(f(t))for(var s in t)r=t[s],o[k(s)]=f(r)?r:{type:r};e.props=o}}(t),function(e){var t=e.inject;if(t){var n=e.inject={};if(i(t))for(var r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(f(t))for(var o in t){var s=t[o];n[o]=f(s)?L({from:o},s):{from:s}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];l(r)&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Kn(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=Kn(e,t.mixins[r],n);var s,a={};for(s in e)u(s);for(s in t)S(e,s)||u(s);function u(r){var i=Hn[r]||Wn;a[r]=i(e[r],t[r],n,r)}return a}function Xn(e,t,n,r){if("string"==typeof n){var i=e[t];if(S(i,n))return i[n];var o=k(n);if(S(i,o))return i[o];var s=C(o);return S(i,s)?i[s]:i[n]||i[o]||i[s]}}function Jn(e,t,n,r){var i=t[e],o=!S(n,e),s=n[e],a=Zn(Boolean,i.type);if(a>-1)if(o&&!S(i,"default"))s=!1;else if(""===s||s===$(e)){var u=Zn(String,i.type);(u<0||a<u)&&(s=!0)}if(void 0===s){s=function(e,t,n){if(!S(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return l(r)&&"Function"!==Gn(t.type)?r.call(e):r}(r,i,e);var c=Oe;$e(!0),Le(s),$e(c)}return s}var Qn=/^\s*function (\w+)/;function Gn(e){var t=e&&e.toString().match(Qn);return t?t[1]:""}function Yn(e,t){return Gn(e)===Gn(t)}function Zn(e,t){if(!i(t))return Yn(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Yn(t[n],e))return n;return-1}function er(e){this._init(e)}function tr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=Pn(e)||Pn(n.options);var s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=Kn(n.options,e),s.super=n,s.options.props&&function(e){var t=e.options.props;for(var n in t)xn(e.prototype,"_props",n)}(s),s.options.computed&&function(e){var t=e.options.computed;for(var n in t)En(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,B.forEach((function(e){s[e]=n[e]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=L({},s.options),i[r]=s,s}}function nr(e){return e&&(Pn(e.Ctor.options)||e.tag)}function rr(e,t){return i(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function ir(e,t){var n=e.cache,r=e.keys,i=e._vnode,o=e.$vnode;for(var s in n){var a=n[s];if(a){var u=a.name;u&&!t(u)&&or(n,s,r,i)}}o.componentOptions.children=void 0}function or(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,x(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=$n++,t._isVue=!0,t.__v_skip=!0,t._scope=new Lt(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Kn(Rn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ft(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=ht(t._renderChildren,i),e.$scopedSlots=n?vt(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=function(t,n,r,i){return Ge(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ge(e,t,n,r,i,!0)};var o=n&&n.data;De(e,"$attrs",o&&o.attrs||r,null,!0),De(e,"$listeners",t._parentListeners||r,null,!0)}(t),Mt(t,"beforeCreate",void 0,!1),function(e){var t=On(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach((function(n){De(e,n,t[n])})),$e(!0))}(t),An(t),function(e){var t=e.$options.provide;if(t){var n=l(t)?t.call(e):t;if(!c(n))return;for(var r=Zt(e),i=fe?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var s=i[o];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}(t),Mt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(er),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Pe,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){var r=this;if(f(t))return Cn(r,e,t,n);(n=n||{}).user=!0;var i=new _n(r,e,t,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ae(),tn(t,r,[i.value],r,o),Se()}return function(){i.teardown()}}}(er),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(i(e))for(var o=0,s=e.length;o<s;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var s,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var u=a.length;u--;)if((s=a[u])===t||s.fn===t){a.splice(u,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?F(n):n;for(var r=F(arguments,1),i='event handler for "'.concat(e,'"'),o=0,s=n.length;o<s;o++)tn(n[o],t,r,t,i)}return t}}(er),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Pt(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Mt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||x(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Mt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(er),function(e){dt(e.prototype),e.prototype.$nextTick=function(e){return hn(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;r&&e._isMounted&&(e.$scopedSlots=vt(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&At(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var o,s=de,a=Tt;try{he(e),Tt=e,o=n.call(e._renderProxy,e.$createElement)}catch(t){en(t,e,"render"),o=e._vnode}finally{Tt=a,he(s)}return i(o)&&1===o.length&&(o=o[0]),o instanceof me||(o=ge()),o.parent=r,o}}(er);var sr=[String,RegExp,Array],ar={name:"keep-alive",abstract:!0,props:{include:sr,exclude:sr,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var o=r.tag,s=r.componentInstance,a=r.componentOptions;t[i]={name:nr(a),tag:o,componentInstance:s},n.push(i),this.max&&n.length>parseInt(this.max)&&or(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)or(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){ir(e,(function(e){return rr(t,e)}))})),this.$watch("exclude",(function(t){ir(e,(function(e){return!rr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Ct(e),n=t&&t.componentOptions;if(n){var r=nr(n),i=this.include,o=this.exclude;if(i&&(!r||!rr(i,r))||o&&r&&rr(o,r))return t;var s=this.cache,a=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,x(a,u),a.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},ur={KeepAlive:ar};!function(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:In,extend:L,mergeOptions:Kn,defineReactive:De},e.set=Pe,e.delete=je,e.nextTick=hn,e.observable=function(e){return Le(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,L(e.options.components,ur),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=F(arguments,1);return n.unshift(this),l(e.install)?e.install.apply(e,n):l(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Kn(this.options,e),this}}(e),tr(e),function(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&l(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(er),Object.defineProperty(er.prototype,"$isServer",{get:ue}),Object.defineProperty(er.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(er,"FunctionalRenderContext",{value:Fn}),er.version="2.7.16";var lr=b("style,class"),cr=b("input,textarea,option,select,progress"),pr=function(e,t,n){return"value"===n&&cr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},fr=b("contenteditable,draggable,spellcheck"),dr=b("events,caret,typing,plaintext-only"),hr=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),mr="http://www.w3.org/1999/xlink",gr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},vr=function(e){return gr(e)?e.slice(6,e.length):""},yr=function(e){return null==e||!1===e};function br(e){for(var t=e.data,n=e,r=e;s(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=_r(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=_r(t,n.data));return function(e,t){if(s(e)||s(t))return wr(e,xr(t));return""}(t.staticClass,t.class)}function _r(e,t){return{staticClass:wr(e.staticClass,t.staticClass),class:s(e.class)?[e.class,t.class]:t.class}}function wr(e,t){return e?t?e+" "+t:e:t||""}function xr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)s(t=xr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):c(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Ar={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Sr=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Er=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Tr=function(e){return Sr(e)||Er(e)};function kr(e){return Er(e)?"svg":"math"===e?"math":void 0}var Cr=Object.create(null);var Or=b("text,number,password,search,email,tel,url");function $r(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var Rr=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Ar[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Fr={create:function(e,t){Lr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Lr(e,!0),Lr(t))},destroy:function(e){Lr(e,!0)}};function Lr(e,t){var n=e.data.ref;if(s(n)){var r=e.context,o=e.componentInstance||e.elm,a=t?null:o,u=t?void 0:o;if(l(n))tn(n,r,[a],r,"template ref function");else{var c=e.data.refInFor,p="string"==typeof n||"number"==typeof n,f=He(n),d=r.$refs;if(p||f)if(c){var h=p?d[n]:n.value;t?i(h)&&x(h,o):i(h)?h.includes(o)||h.push(o):p?(d[n]=[o],Dr(r,n,d[n])):n.value=[o]}else if(p){if(t&&d[n]!==o)return;d[n]=u,Dr(r,n,a)}else if(f){if(t&&n.value!==o)return;n.value=a}else 0}}}function Dr(e,t,n){var r=e._setupState;r&&S(r,t)&&(He(r[t])?r[t].value=n:r[t]=n)}var Pr=new me("",{},[]),jr=["create","activate","update","remove","destroy"];function Nr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=s(n=e.data)&&s(n=n.attrs)&&n.type,i=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===i||Or(r)&&Or(i)}(e,t)||a(e.isAsyncPlaceholder)&&o(t.asyncFactory.error))}function qr(e,t,n){var r,i,o={};for(r=t;r<=n;++r)s(i=e[r].key)&&(o[i]=r);return o}var Mr={create:Ir,update:Ir,destroy:function(e){Ir(e,Pr)}};function Ir(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===Pr,s=t===Pr,a=Ur(e.data.directives,e.context),u=Ur(t.data.directives,t.context),l=[],c=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,zr(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(zr(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var p=function(){for(var n=0;n<l.length;n++)zr(l[n],"inserted",t,e)};o?We(t,"insert",p):p()}c.length&&We(t,"postpatch",(function(){for(var n=0;n<c.length;n++)zr(c[n],"componentUpdated",t,e)}));if(!o)for(n in a)u[n]||zr(a[n],"unbind",e,e,s)}(e,t)}var Hr=Object.create(null);function Ur(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=Hr),i[Br(r)]=r,t._setupState&&t._setupState.__sfc){var o=r.def||Xn(t,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||Xn(t.$options,"directives",r.name)}return i}function Br(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function zr(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){en(r,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Vr=[Fr,Mr];function Wr(e,t){var n=t.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||o(e.data.attrs)&&o(t.data.attrs))){var r,i,u=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(r in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=t.data.attrs=L({},c)),c)i=c[r],l[r]!==i&&Kr(u,r,i,t.data.pre);for(r in(Z||te)&&c.value!==l.value&&Kr(u,"value",c.value),l)o(c[r])&&(gr(r)?u.removeAttributeNS(mr,vr(r)):fr(r)||u.removeAttribute(r))}}function Kr(e,t,n,r){r||e.tagName.indexOf("-")>-1?Xr(e,t,n):hr(t)?yr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):fr(t)?e.setAttribute(t,function(e,t){return yr(t)||"false"===t?"false":"contenteditable"===e&&dr(t)?t:"true"}(t,n)):gr(t)?yr(n)?e.removeAttributeNS(mr,vr(t)):e.setAttributeNS(mr,t,n):Xr(e,t,n)}function Xr(e,t,n){if(yr(n))e.removeAttribute(t);else{if(Z&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Jr={create:Wr,update:Wr};function Qr(e,t){var n=t.elm,r=t.data,i=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var a=br(t),u=n._transitionClasses;s(u)&&(a=wr(a,xr(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Gr,Yr,Zr,ei,ti,ni,ri={create:Qr,update:Qr},ii=/[\w).+\-_$\]]/;function oi(e){var t,n,r,i,o,s=!1,a=!1,u=!1,l=!1,c=0,p=0,f=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),s)39===t&&92!==n&&(s=!1);else if(a)34===t&&92!==n&&(a=!1);else if(u)96===t&&92!==n&&(u=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||c||p||f){switch(t){case 34:a=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:p++;break;case 93:p--;break;case 123:c++;break;case 125:c--}if(47===t){for(var h=r-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&ii.test(m)||(l=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):g();function g(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&g(),o)for(r=0;r<o.length;r++)i=si(i,o[r]);return i}function si(e,t){var n=t.indexOf("(");if(n<0)return'_f("'.concat(t,'")(').concat(e,")");var r=t.slice(0,n),i=t.slice(n+1);return'_f("'.concat(r,'")(').concat(e).concat(")"!==i?","+i:i)}function ai(e,t){}function ui(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function li(e,t,n,r,i){(e.props||(e.props=[])).push(yi({name:t,value:n,dynamic:i},r)),e.plain=!1}function ci(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(yi({name:t,value:n,dynamic:i},r)),e.plain=!1}function pi(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(yi({name:t,value:n},r))}function fi(e,t,n,r,i,o,s,a){(e.directives||(e.directives=[])).push(yi({name:t,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:s},a)),e.plain=!1}function di(e,t,n){return n?"_p(".concat(t,',"').concat(e,'")'):e+t}function hi(e,t,n,i,o,s,a,u){var l;(i=i||r).right?u?t="(".concat(t,")==='click'?'contextmenu':(").concat(t,")"):"click"===t&&(t="contextmenu",delete i.right):i.middle&&(u?t="(".concat(t,")==='click'?'mouseup':(").concat(t,")"):"click"===t&&(t="mouseup")),i.capture&&(delete i.capture,t=di("!",t,u)),i.once&&(delete i.once,t=di("~",t,u)),i.passive&&(delete i.passive,t=di("&",t,u)),i.native?(delete i.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});var c=yi({value:n.trim(),dynamic:u},a);i!==r&&(c.modifiers=i);var p=l[t];Array.isArray(p)?o?p.unshift(c):p.push(c):l[t]=p?o?[c,p]:[p,c]:c,e.plain=!1}function mi(e,t,n){var r=gi(e,":"+t)||gi(e,"v-bind:"+t);if(null!=r)return oi(r);if(!1!==n){var i=gi(e,t);if(null!=i)return JSON.stringify(i)}}function gi(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,s=i.length;o<s;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function vi(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(t.test(o.name))return n.splice(r,1),o}}function yi(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function bi(e,t,n){var r=n||{},i=r.number,o="$$v",s=o;r.trim&&(s="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),i&&(s="_n(".concat(s,")"));var a=_i(t,s);e.model={value:"(".concat(t,")"),expression:JSON.stringify(t),callback:"function (".concat(o,") {").concat(a,"}")}}function _i(e,t){var n=function(e){if(e=e.trim(),Gr=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Gr-1)return(ei=e.lastIndexOf("."))>-1?{exp:e.slice(0,ei),key:'"'+e.slice(ei+1)+'"'}:{exp:e,key:null};Yr=e,ei=ti=ni=0;for(;!xi();)Ai(Zr=wi())?Ei(Zr):91===Zr&&Si(Zr);return{exp:e.slice(0,ti),key:e.slice(ti+1,ni)}}(e);return null===n.key?"".concat(e,"=").concat(t):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(t,")")}function wi(){return Yr.charCodeAt(++ei)}function xi(){return ei>=Gr}function Ai(e){return 34===e||39===e}function Si(e){var t=1;for(ti=ei;!xi();)if(Ai(e=wi()))Ei(e);else if(91===e&&t++,93===e&&t--,0===t){ni=ei;break}}function Ei(e){for(var t=e;!xi()&&(e=wi())!==t;);}var Ti,ki="__r",Ci="__c";function Oi(e,t,n){var r=Ti;return function i(){null!==t.apply(null,arguments)&&Fi(e,i,n,r)}}var $i=sn&&!(ie&&Number(ie[1])<=53);function Ri(e,t,n,r){if($i){var i=Wt,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ti.addEventListener(e,t,se?{capture:n,passive:r}:n)}function Fi(e,t,n,r){(r||Ti).removeEventListener(e,t._wrapper||t,n)}function Li(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ti=t.elm||e.elm,function(e){if(s(e[ki])){var t=Z?"change":"input";e[t]=[].concat(e[ki],e[t]||[]),delete e[ki]}s(e[Ci])&&(e.change=[].concat(e[Ci],e.change||[]),delete e[Ci])}(n),Ve(n,r,Ri,Fi,Oi,t.context),Ti=void 0}}var Di,Pi={create:Li,update:Li,destroy:function(e){return Li(e,Pr)}};function ji(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,i=t.elm,u=e.data.domProps||{},l=t.data.domProps||{};for(n in(s(l.__ob__)||a(l._v_attr_proxy))&&(l=t.data.domProps=L({},l)),u)n in l||(i[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===u[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var c=o(r)?"":String(r);Ni(i,c)&&(i.value=c)}else if("innerHTML"===n&&Er(i.tagName)&&o(i.innerHTML)){(Di=Di||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var p=Di.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;p.firstChild;)i.appendChild(p.firstChild)}else if(r!==u[n])try{i[n]=r}catch(e){}}}}function Ni(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return y(n)!==y(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var qi={create:ji,update:ji},Mi=E((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Ii(e){var t=Hi(e.style);return e.staticStyle?L(e.staticStyle,t):t}function Hi(e){return Array.isArray(e)?D(e):"string"==typeof e?Mi(e):e}var Ui,Bi=/^--/,zi=/\s*!important$/,Vi=function(e,t,n){if(Bi.test(t))e.style.setProperty(t,n);else if(zi.test(n))e.style.setProperty($(t),n.replace(zi,""),"important");else{var r=Ki(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Wi=["Webkit","Moz","ms"],Ki=E((function(e){if(Ui=Ui||document.createElement("div").style,"filter"!==(e=k(e))&&e in Ui)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Wi.length;n++){var r=Wi[n]+t;if(r in Ui)return r}}));function Xi(e,t){var n=t.data,r=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,a,u=t.elm,l=r.staticStyle,c=r.normalizedStyle||r.style||{},p=l||c,f=Hi(t.data.style)||{};t.data.normalizedStyle=s(f.__ob__)?L({},f):f;var d=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Ii(i.data))&&L(r,n);(n=Ii(e.data))&&L(r,n);for(var o=e;o=o.parent;)o.data&&(n=Ii(o.data))&&L(r,n);return r}(t,!0);for(a in p)o(d[a])&&Vi(u,a,"");for(a in d)i=d[a],Vi(u,a,null==i?"":i)}}var Ji={create:Xi,update:Xi},Qi=/\s+/;function Gi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>
vendor: 4,256 bytes, line 2
2-1?t.split(Qi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Yi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Qi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Zi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&L(t,eo(e.name||"v")),L(t,e),t}return"string"==typeof e?eo(e):void 0}}var eo=E((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),to=G&&!ee,no="transition",ro="animation",io="transition",oo="transitionend",so="animation",ao="animationend";to&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(io="WebkitTransition",oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(so="WebkitAnimation",ao="webkitAnimationEnd"));var uo=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function lo(e){uo((function(){uo(e)}))}function co(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Gi(e,t))}function po(e,t){e._transitionClasses&&x(e._transitionClasses,t),Yi(e,t)}function fo(e,t,n){var r=mo(e,t),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===no?oo:ao,u=0,l=function(){e.removeEventListener(a,c),n()},c=function(t){t.target===e&&++u>=s&&l()};setTimeout((function(){u<s&&l()}),o+1),e.addEventListener(a,c)}var ho=/\b(transform|all)(,|$)/;function mo(e,t){var n,r=window.getComputedStyle(e),i=(r[io+"Delay"]||"").split(", "),o=(r[io+"Duration"]||"").split(", "),s=go(i,o),a=(r[so+"Delay"]||"").split(", "),u=(r[so+"Duration"]||"").split(", "),l=go(a,u),c=0,p=0;return t===no?s>0&&(n=no,c=s,p=o.length):t===ro?l>0&&(n=ro,c=l,p=u.length):p=(n=(c=Math.max(s,l))>0?s>l?no:ro:null)?n===no?o.length:u.length:0,{type:n,timeout:c,propCount:p,hasTransform:n===no&&ho.test(r[io+"Property"])}}function go(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return vo(t)+vo(e[n])})))}function vo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function yo(e,t){var n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Zi(e.data.transition);if(!o(r)&&!s(n._enterCb)&&1===n.nodeType){for(var i=r.css,a=r.type,u=r.enterClass,p=r.enterToClass,f=r.enterActiveClass,d=r.appearClass,h=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,v=r.enter,b=r.afterEnter,_=r.enterCancelled,w=r.beforeAppear,x=r.appear,A=r.afterAppear,S=r.appearCancelled,E=r.duration,T=Dt,k=Dt.$vnode;k&&k.parent;)T=k.context,k=k.parent;var C=!T._isMounted||!e.isRootInsert;if(!C||x||""===x){var O=C&&d?d:u,$=C&&m?m:f,R=C&&h?h:p,F=C&&w||g,L=C&&l(x)?x:v,D=C&&A||b,P=C&&S||_,j=y(c(E)?E.enter:E);0;var N=!1!==i&&!ee,q=wo(L),M=n._enterCb=I((function(){N&&(po(n,R),po(n,$)),M.cancelled?(N&&po(n,O),P&&P(n)):D&&D(n),n._enterCb=null}));e.data.show||We(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),L&&L(n,M)})),F&&F(n),N&&(co(n,O),co(n,$),lo((function(){po(n,O),M.cancelled||(co(n,R),q||(_o(j)?setTimeout(M,j):fo(n,a,M)))}))),e.data.show&&(t&&t(),L&&L(n,M)),N||q||M()}}}function bo(e,t){var n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Zi(e.data.transition);if(o(r)||1!==n.nodeType)return t();if(!s(n._leaveCb)){var i=r.css,a=r.type,u=r.leaveClass,l=r.leaveToClass,p=r.leaveActiveClass,f=r.beforeLeave,d=r.leave,h=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,v=r.duration,b=!1!==i&&!ee,_=wo(d),w=y(c(v)?v.leave:v);0;var x=n._leaveCb=I((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(po(n,l),po(n,p)),x.cancelled?(b&&po(n,u),m&&m(n)):(t(),h&&h(n)),n._leaveCb=null}));g?g(A):A()}
vendor: 3,850 bytes, line 2
2function A(){x.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),f&&f(n),b&&(co(n,u),co(n,p),lo((function(){po(n,u),x.cancelled||(co(n,l),_||(_o(w)?setTimeout(x,w):fo(n,a,x)))}))),d&&d(n,x),b||_||x())}}function _o(e){return"number"==typeof e&&!isNaN(e)}function wo(e){if(o(e))return!1;var t=e.fns;return s(t)?wo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function xo(e,t){!0!==t.data.show&&yo(t)}var Ao=function(e){var t,n,r={},l=e.modules,c=e.nodeOps;for(t=0;t<jr.length;++t)for(r[jr[t]]=[],n=0;n<l.length;++n)s(l[n][jr[t]])&&r[jr[t]].push(l[n][jr[t]]);function p(e){var t=c.parentNode(e);s(t)&&c.removeChild(t,e)}function f(e,t,n,i,o,u,l){if(s(e.elm)&&s(u)&&(e=u[l]=ye(e)),e.isRootInsert=!o,!function(e,t,n,i){var o=e.data;if(s(o)){var u=s(e.componentInstance)&&o.keepAlive;if(s(o=o.hook)&&s(o=o.init)&&o(e,!1),s(e.componentInstance))return d(e,t),h(n,e.elm,i),a(u)&&function(e,t,n,i){var o,a=e;for(;a.componentInstance;)if(s(o=(a=a.componentInstance._vnode).data)&&s(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Pr,a);t.push(a);break}h(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var p=e.data,f=e.children,g=e.tag;s(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),y(e),m(e,f,t),s(p)&&v(e,t),h(n,e.elm,i)):a(e.isComment)?(e.elm=c.createComment(e.text),h(n,e.elm,i)):(e.elm=c.createTextNode(e.text),h(n,e.elm,i))}}function d(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),y(e)):(Lr(e),t.push(e))}function h(e,t,n){s(e)&&(s(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(i(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else u(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function v(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Pr,e);s(t=e.data.hook)&&(s(t.create)&&t.create(Pr,e),s(t.insert)&&n.push(e))}function y(e){var t;if(s(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;s(t=Dt)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function _(e,t,n,r,i,o){for(;r<=i;++r)f(n[r],o,e,t,!1,n,r)}function w(e){var t,n,i=e.data;if(s(i))for(s(t=i.hook)&&s(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function x(e,t,n){for(;t<=n;++t){var r=e[t];s(r)&&(s(r.tag)?(A(r),w(r)):p(r.elm))}}function A(e,t){if(s(t)||s(e.data)){var n,i=r.remove.length+1;for(s(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&p(e)}return n.listeners=t,n}(e.elm,i),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&A(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else p(e.elm)}function S(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(s(o)&&Nr(e,o))return i}}function E(e,t,n,i,u,l){if(e!==t){s(t.elm)&&s(i)&&(t=i[u]=ye(t));var p=t.elm=e.elm;if(a(e.isAsyncPlaceholder))s(t.asyncFactory.resolved)?C(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,h=t.data;s(h)&&s(d=h.hook)&&s(d=d.prepatch)&&d(e,t);var m=e.children,v=t.children;if(s(h)&&g(t)){for(d=0;d<r.update.length;++d)r.update[d](e,t);s(d=h.hook)&&s(d=d.update)&&d(e,t)}o(t.text)?s(m)&&s(v)?m!==v&&function(e,t,n,r,i){var a,u,l,p=0,d=0,h=t.length-1,m=t[0],g=t[h],v=n.length-1,y=n[0],b=n[v],w=!i;for(;p<=h&&d<=v;)o(m)?m=t[++p]:o(g)?g=t[--h]:Nr(m,y)?(E(m,y,r,n,d),m=t[++p],y=n[++d]):Nr(g,b)?(E(g,b,r,n,v),g=t[--h],b=n[--v]):Nr(m,b)?(E(m,b,r,n,v),w&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++
vendor: 37,170 bytes, line 2
2p],b=n[--v]):Nr(g,y)?(E(g,y,r,n,d),w&&c.insertBefore(e,g.elm,m.elm),g=t[--h],y=n[++d]):(o(a)&&(a=qr(t,p,h)),o(u=s(y.key)?a[y.key]:S(y,t,p,h))?f(y,r,e,m.elm,!1,n,d):Nr(l=t[u],y)?(E(l,y,r,n,d),t[u]=void 0,w&&c.insertBefore(e,l.elm,m.elm)):f(y,r,e,m.elm,!1,n,d),y=n[++d]);p>h?_(e,o(n[v+1])?null:n[v+1].elm,n,d,v,r):d>v&&x(t,p,h)}(p,m,v,n,l):s(v)?(s(e.text)&&c.setTextContent(p,""),_(p,null,v,0,v.length-1,n)):s(m)?x(m,0,m.length-1):s(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),s(h)&&s(d=h.hook)&&s(d=d.postpatch)&&d(e,t)}}}function T(e,t,n){if(a(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var k=b("attrs,class,staticClass,staticStyle,key");function C(e,t,n,r){var i,o=t.tag,u=t.data,l=t.children;if(r=r||u&&u.pre,t.elm=e,a(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(u)&&(s(i=u.hook)&&s(i=i.init)&&i(t,!0),s(i=t.componentInstance)))return d(t,n),!0;if(s(o)){if(s(l))if(e.hasChildNodes())if(s(i=u)&&s(i=i.domProps)&&s(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,p=e.firstChild,f=0;f<l.length;f++){if(!p||!C(p,l[f],n,r)){c=!1;break}p=p.nextSibling}if(!c||p)return!1}else m(t,l,n);if(s(u)){var h=!1;for(var g in u)if(!k(g)){h=!0,v(t,n);break}!h&&u.class&&vn(u.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!o(t)){var u,l=!1,p=[];if(o(e))l=!0,f(t,p);else{var d=s(e.nodeType);if(!d&&Nr(e,t))E(e,t,p,null,null,i);else{if(d){if(1===e.nodeType&&e.hasAttribute(U)&&(e.removeAttribute(U),n=!0),a(n)&&C(e,t,p))return T(t,p,!0),e;u=e,e=new me(c.tagName(u).toLowerCase(),{},[],void 0,u)}var h=e.elm,m=c.parentNode(h);if(f(t,p,h._leaveCb?null:m,c.nextSibling(h)),s(t.parent))for(var v=t.parent,y=g(t);v;){for(var b=0;b<r.destroy.length;++b)r.destroy[b](v);if(v.elm=t.elm,y){for(var _=0;_<r.create.length;++_)r.create[_](Pr,v);var A=v.data.hook.insert;if(A.merged)for(var S=A.fns.slice(1),k=0;k<S.length;k++)S[k]()}else Lr(v);v=v.parent}s(m)?x([e],0,0):s(e.tag)&&w(e)}}return T(t,p,l),t.elm}s(e)&&w(e)}}({nodeOps:Rr,modules:[Jr,ri,Pi,qi,Ji,G?{create:xo,activate:xo,remove:function(e,t){!0!==e.data.show?bo(e,t):t()}}:{}].concat(Vr)});ee&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Ro(e,"input")}));var So={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?We(n,"postpatch",(function(){So.componentUpdated(e,t,n)})):Eo(e,t,n.context),e._vOptions=[].map.call(e.options,Co)):("textarea"===n.tag||Or(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Oo),e.addEventListener("compositionend",$o),e.addEventListener("change",$o),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Eo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Co);if(i.some((function(e,t){return!q(e,r[t])})))(e.multiple?t.value.some((function(e){return ko(e,i)})):t.value!==t.oldValue&&ko(t.value,i))&&Ro(e,"change")}}};function Eo(e,t,n){To(e,t,n),(Z||te)&&setTimeout((function(){To(e,t,n)}),0)}function To(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=e.options.length;a<u;a++)if(s=e.options[a],i)o=M(r,Co(s))>-1,s.selected!==o&&(s.selected=o);else if(q(Co(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));i||(e.selectedIndex=-1)}}function ko(e,t){return t.every((function(t){return!q(t,e)}))}function Co(e){return"_value"in e?e._value:e.value}function Oo(e){e.target.composing=!0}function $o(e){e.target.composing&&(e.target.composing=!1,Ro(e.target,"input"))}function Ro(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Fo(e){return!e.componentInstance||e.data&&e.data.transition?e:Fo(e.componentInstance._vnode)}var Lo={bind:function(e,t,n){var r=t.value,i=(n=Fo(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,yo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Fo(n)).data&&n.data.transition?(n.data.show=!0,r?yo(n,(function(){e.style.display=e.__vOriginalDisplay})):bo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},Do={model:So,show:Lo},Po={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function jo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?jo(Ct(t.children)):e}function No(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[k(r)]=i[r];return t}function qo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Mo=function(e){return e.tag||gt(e)},Io=function(e){return"show"===e.name},Ho={name:"transition",props:Po,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Mo)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=jo(i);if(!o)return i;if(this._leaving)return qo(e,i);var s="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?s+"comment":s+o.tag:u(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var a=(o.data||(o.data={})).transition=No(this),l=this._vnode,c=jo(l);if(o.data.directives&&o.data.directives.some(Io)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!gt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var p=c.data.transition=L({},a);if("out-in"===r)return this._leaving=!0,We(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),qo(e,i);if("in-out"===r){if(gt(o))return l;var f,d=function(){f()};We(a,"afterEnter",d),We(a,"enterCancelled",d),We(p,"delayLeave",(function(e){f=e}))}}return i}}},Uo=L({tag:String,moveClass:String},Po);delete Uo.mode;var Bo={props:Uo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Pt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=No(this),a=0;a<i.length;a++){if((c=i[a]).tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s;else;}if(r){var u=[],l=[];for(a=0;a<r.length;a++){var c;(c=r[a]).data.transition=s,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?u.push(c):l.push(c)}this.kept=e(t,null,u),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(zo),e.forEach(Vo),e.forEach(Wo),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;co(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(oo,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(oo,e),n._moveCb=null,po(n,t))})}})))},methods:{hasMove:function(e,t){if(!to)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Yi(n,e)})),Gi(n,t),n.style.display="none",this.$el.appendChild(n);var r=mo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function zo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Vo(e){e.data.newPos=e.elm.getBoundingClientRect()}function Wo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var Ko={Transition:Ho,TransitionGroup:Bo};er.config.mustUseProp=pr,er.config.isReservedTag=Tr,er.config.isReservedAttr=lr,er.config.getTagNamespace=kr,er.config.isUnknownElement=function(e){if(!G)return!0;if(Tr(e))return!1;if(e=e.toLowerCase(),null!=Cr[e])return Cr[e];var t=document.createElement(e);return e.indexOf("-")>-1?Cr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Cr[e]=/HTMLUnknownElement/.test(t.toString())},L(er.options.directives,Do),L(er.options.components,Ko),er.prototype.__patch__=G?Ao:P,er.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=ge),Mt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new _n(e,r,P,{before:function(){e._isMounted&&!e._isDestroyed&&Mt(e,"beforeUpdate")}},!0),n=!1;var i=e._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==e.$vnode&&(e._isMounted=!0,Mt(e,"mounted")),e}(this,e=e&&G?$r(e):void 0,t)},G&&setTimeout((function(){V.devtools&&le&&le.emit("init",er)}),0);var Xo=/\{\{((?:.|\r?\n)+?)\}\}/g,Jo=/[-.*+?^${}()|[\]\/\\]/g,Qo=E((function(e){var t=e[0].replace(Jo,"\\$&"),n=e[1].replace(Jo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var Go={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=gi(e,"class");n&&(e.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=mi(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:".concat(e.staticClass,",")),e.classBinding&&(t+="class:".concat(e.classBinding,",")),t}};var Yo,Zo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=gi(e,"style");n&&(e.staticStyle=JSON.stringify(Mi(n)));var r=mi(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:".concat(e.staticStyle,",")),e.styleBinding&&(t+="style:(".concat(e.styleBinding,"),")),t}},es=function(e){return(Yo=Yo||document.createElement("div")).innerHTML=e,Yo.textContent},ts=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ns=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),rs=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),is=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,os=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ss="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(W.source,"]*"),as="((?:".concat(ss,"\\:)?").concat(ss,")"),us=new RegExp("^<".concat(as)),ls=/^\s*(\/?)>/,cs=new RegExp("^<\\/".concat(as,"[^>]*>")),ps=/^<!DOCTYPE [^>]+>/i,fs=/^<!\--/,ds=/^<!\[/,hs=b("script,style,textarea",!0),ms={},gs={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},vs=/&(?:lt|gt|quot|amp|#39);/g,ys=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,bs=b("pre,textarea",!0),_s=function(e,t){return e&&bs(e)&&"\n"===t[0]};function ws(e,t){var n=t?ys:vs;return e.replace(n,(function(e){return gs[e]}))}function xs(e,t){for(var n,r,i=[],o=t.expectHTML,s=t.isUnaryTag||j,a=t.canBeLeftOpenTag||j,u=0,l=function(){if(n=e,r&&hs(r)){var l=0,f=r.toLowerCase(),d=ms[f]||(ms[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i"));x=e.replace(d,(function(e,n,r){return l=r.length,hs(f)||"noscript"===f||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),_s(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));u+=e.length-x.length,e=x,p(f,u-l,u)}else{var h=e.indexOf("<");if(0===h){if(fs.test(e)){var m=e.indexOf("--\x3e");if(m>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,m),u,u+m+3),c(m+3),"continue"}if(ds.test(e)){var g=e.indexOf("]>");if(g>=0)return c(g+2),"continue"}var v=e.match(ps);if(v)return c(v[0].length),"continue";var y=e.match(cs);if(y){var b=u;return c(y[0].length),p(y[1],b,u),"continue"}var _=function(){var t=e.match(us);if(t){var n={tagName:t[1],attrs:[],start:u};c(t[0].length);for(var r=void 0,i=void 0;!(r=e.match(ls))&&(i=e.match(os)||e.match(is));)i.start=u,c(i[0].length),i.end=u,n.attrs.push(i);if(r)return n.unarySlash=r[1],c(r[0].length),n.end=u,n}}();if(_)return function(e){var n=e.tagName,u=e.unarySlash;o&&("p"===r&&rs(n)&&p(r),a(n)&&r===n&&p(n));for(var l=s(n)||!!u,c=e.attrs.length,f=new Array(c),d=0;d<c;d++){var h=e.attrs[d],m=h[3]||h[4]||h[5]||"",g="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[d]={name:h[1],value:ws(m,g)}}l||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f,start:e.start,end:e.end}),r=n);t.start&&t.start(n,f,l,e.start,e.end)}(_),_s(_.tagName,e)&&c(1),"continue"}var w=void 0,x=void 0,A=void 0;if(h>=0){for(x=e.slice(h);!(cs.test(x)||us.test(x)||fs.test(x)||ds.test(x)||(A=x.indexOf("<",1))<0);)h+=A,x=e.slice(h);w=e.substring(0,h)}h<0&&(w=e),w&&c(w.length),t.chars&&w&&t.chars(w,u-w.length,u)}if(e===n)return t.chars&&t.chars(e),"break"};e;){if("break"===l())break}function c(t){u+=t,e=e.substring(t)}function p(e,n,o){var s,a;if(null==n&&(n=u),null==o&&(o=u),e)for(a=e.toLowerCase(),s=i.length-1;s>=0&&i[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var l=i.length-1;l>=s;l--)t.end&&t.end(i[l].tag,n,o);i.length=s,r=s&&i[s-1].tag}else"br"===a?t.start&&t.start(e,[],!0,n,o):"p"===a&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}p()}var As,Ss,Es,Ts,ks,Cs,Os,$s,Rs=/^@|^v-on:/,Fs=/^v-|^@|^:|^#/,Ls=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ds=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ps=/^\(|\)$/g,js=/^\[.*\]$/,Ns=/:(.*)$/,qs=/^:|^\.|^v-bind:/,Ms=/\.[^.\]]+(?=[^\]]*$)/g,Is=/^v-slot(:|$)|^#/,Hs=/[\r\n]/,Us=/[ \f\t\r\n]+/g,Bs=E(es),zs="_empty_";function Vs(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ys(t),rawAttrsMap:{},parent:n,children:[]}}function Ws(e,t){As=t.warn||ai,Cs=t.isPreTag||j,Os=t.mustUseProp||j,$s=t.getTagNamespace||j;var n=t.isReservedTag||j;Es=ui(t.modules,"transformNode"),Ts=ui(t.modules,"preTransformNode"),ks=ui(t.modules,"postTransformNode"),Ss=t.delimiters;var r,i,o=[],s=!1!==t.preserveWhitespace,a=t.whitespace,u=!1,l=!1;function c(e){if(p(e),u||e.processed||(e=Ks(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&Js(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)s=e,a=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children),a&&a.if&&Js(a,{exp:s.elseif,block:s});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var s,a;e.children=e.children.filter((function(e){return!e.slotScope})),p(e),e.pre&&(u=!1),Cs(e.tag)&&(l=!1);for(var c=0;c<ks.length;c++)ks[c](e,t)}function p(e){if(!l)for(var t=void 0;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return xs(e,{warn:As,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,s,a,p){var f=i&&i.ns||$s(e);Z&&"svg"===f&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Zs.test(r.name)||(r.name=r.name.replace(ea,""),t.push(r))}return t}(n));var d,h=Vs(e,n,i);f&&(h.ns=f),"style"!==(d=h).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ue()||(h.forbidden=!0);for(var m=0;m<Ts.length;m++)h=Ts[m](h,t)||h;u||(!function(e){null!=gi(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(u=!0)),Cs(h.tag)&&(l=!0),u?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}(h):h.processed||(Xs(h),function(e){var t=gi(e,"v-if");if(t)e.if=t,Js(e,{exp:t,block:e});else{null!=gi(e,"v-else")&&(e.else=!0);var n=gi(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){var t=gi(e,"v-once");null!=t&&(e.once=!0)}(h)),r||(r=h),s?c(h):(i=h,o.push(h))},end:function(e,t,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],c(r)},chars:function(e,t,n){if(i&&(!Z||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,o=i.children;if(e=l||e.trim()?"script"===(r=i).tag||"style"===r.tag?e:Bs(e):o.length?a?"condense"===a&&Hs.test(e)?"":" ":s?" ":"":""){l||"condense"!==a||(e=e.replace(Us," "));var c=void 0,p=void 0;!u&&" "!==e&&(c=function(e,t){var n=t?Qo(t):Xo;if(n.test(e)){for(var r,i,o,s=[],a=[],u=n.lastIndex=0;r=n.exec(e);){(i=r.index)>u&&(a.push(o=e.slice(u,i)),s.push(JSON.stringify(o)));var l=oi(r[1].trim());s.push("_s(".concat(l,")")),a.push({"@binding":l}),u=i+r[0].length}return u<e.length&&(a.push(o=e.slice(u)),s.push(JSON.stringify(o))),{expression:s.join("+"),tokens:a}}}(e,Ss))?p={type:2,expression:c.expression,tokens:c.tokens,text:e}:" "===e&&o.length&&" "===o[o.length-1].text||(p={type:3,text:e}),p&&o.push(p)}}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};0,i.children.push(r)}}}),r}function Ks(e,t){var n;!function(e){var t=mi(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=mi(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=gi(e,"scope"),e.slotScope=t||gi(e,"slot-scope")):(t=gi(e,"slot-scope"))&&(e.slotScope=t);var n=mi(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||ci(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if("template"===e.tag){if(s=vi(e,Is)){0;var r=Qs(s),i=r.name,o=r.dynamic;e.slotTarget=i,e.slotTargetDynamic=o,e.slotScope=s.value||zs}}else{var s;if(s=vi(e,Is)){0;var a=e.scopedSlots||(e.scopedSlots={}),u=Qs(s),l=u.name,c=(o=u.dynamic,a[l]=Vs("template",[],e));c.slotTarget=l,c.slotTargetDynamic=o,c.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=c,!0})),c.slotScope=s.value||zs,e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=mi(n,"name")),function(e){var t;(t=mi(e,"is"))&&(e.component=t);null!=gi(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<Es.length;r++)e=Es[r](e,t)||e;return function(e){var t,n,r,i,o,s,a,u,l=e.attrsList;for(t=0,n=l.length;t<n;t++){if(r=i=l[t].name,o=l[t].value,Fs.test(r))if(e.hasBindings=!0,(s=Gs(r.replace(Fs,"")))&&(r=r.replace(Ms,"")),qs.test(r))r=r.replace(qs,""),o=oi(o),(u=js.test(r))&&(r=r.slice(1,-1)),s&&(s.prop&&!u&&"innerHtml"===(r=k(r))&&(r="innerHTML"),s.camel&&!u&&(r=k(r)),s.sync&&(a=_i(o,"$event"),u?hi(e,'"update:"+('.concat(r,")"),a,null,!1,0,l[t],!0):(hi(e,"update:".concat(k(r)),a,null,!1,0,l[t]),$(r)!==k(r)&&hi(e,"update:".concat($(r)),a,null,!1,0,l[t])))),s&&s.prop||!e.component&&Os(e.tag,e.attrsMap.type,r)?li(e,r,o,l[t],u):ci(e,r,o,l[t],u);else if(Rs.test(r))r=r.replace(Rs,""),(u=js.test(r))&&(r=r.slice(1,-1)),hi(e,r,o,s,!1,0,l[t],u);else{var c=(r=r.replace(Fs,"")).match(Ns),p=c&&c[1];u=!1,p&&(r=r.slice(0,-(p.length+1)),js.test(p)&&(p=p.slice(1,-1),u=!0)),fi(e,r,i,o,p,u,s,l[t])}else ci(e,r,JSON.stringify(o),l[t]),!e.component&&"muted"===r&&Os(e.tag,e.attrsMap.type,r)&&li(e,r,"true",l[t])}}(e),e}function Xs(e){var t;if(t=gi(e,"v-for")){var n=function(e){var t=e.match(Ls);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(Ps,""),i=r.match(Ds);i?(n.alias=r.replace(Ds,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&L(e,n)}}function Js(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Qs(e){var t=e.name.replace(Is,"");return t||"#"!==e.name[0]&&(t="default"),js.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'.concat(t,'"'),dynamic:!1}}function Gs(e){var t=e.match(Ms);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function Ys(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}var Zs=/^xmlns:NS\d+/,ea=/^NS\d+:/;function ta(e){return Vs(e.tag,e.attrsList.slice(),e.parent)}var na=[Go,Zo,{preTransformNode:function(e,t){if("input"===e.tag){var n=e.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=mi(e,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=gi(e,"v-if",!0),o=i?"&&(".concat(i,")"):"",s=null!=gi(e,"v-else",!0),a=gi(e,"v-else-if",!0),u=ta(e);Xs(u),pi(u,"type","checkbox"),Ks(u,t),u.processed=!0,u.if="(".concat(r,")==='checkbox'")+o,Js(u,{exp:u.if,block:u});var l=ta(e);gi(l,"v-for",!0),pi(l,"type","radio"),Ks(l,t),Js(u,{exp:"(".concat(r,")==='radio'")+o,block:l});var c=ta(e);return gi(c,"v-for",!0),pi(c,":type",r),Ks(c,t),Js(u,{exp:i,block:c}),s?u.else=!0:a&&(u.elseif=a),u}}}}];var ra,ia,oa={model:function(e,t,n){0;var r=t.value,i=t.modifiers,o=e.tag,s=e.attrsMap.type;if(e.component)return bi(e,r,i),!1;if("select"===o)!function(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",s="var $$selectedVal = ".concat(i,";");s="".concat(s," ").concat(_i(t,o)),hi(e,"change",s,null,!0)}(e,r,i);else if("input"===o&&"checkbox"===s)!function(e,t,n){var r=n&&n.number,i=mi(e,"value")||"null",o=mi(e,"true-value")||"true",s=mi(e,"false-value")||"false";li(e,"checked","Array.isArray(".concat(t,")")+"?_i(".concat(t,",").concat(i,")>-1")+("true"===o?":(".concat(t,")"):":_q(".concat(t,",").concat(o,")"))),hi(e,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(s,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(_i(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(_i(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(_i(t,"$$c"),"}"),null,!0)}(e,r,i);else if("input"===o&&"radio"===s)!function(e,t,n){var r=n&&n.number,i=mi(e,"value")||"null";i=r?"_n(".concat(i,")"):i,li(e,"checked","_q(".concat(t,",").concat(i,")")),hi(e,"change",_i(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},o=i.lazy,s=i.number,a=i.trim,u=!o&&"range"!==r,l=o?"change":"range"===r?ki:"input",c="$event.target.value";a&&(c="$event.target.value.trim()");s&&(c="_n(".concat(c,")"));var p=_i(t,c);u&&(p="if($event.target.composing)return;".concat(p));li(e,"value","(".concat(t,")")),hi(e,l,p,null,!0),(a||s)&&hi(e,"blur","$forceUpdate()")}(e,r,i);else{if(!V.isReservedTag(o))return bi(e,r,i),!1}return!0},text:function(e,t){t.value&&li(e,"textContent","_s(".concat(t.value,")"),t)},html:function(e,t){t.value&&li(e,"innerHTML","_s(".concat(t.value,")"),t)}},sa={expectHTML:!0,modules:na,directives:oa,isPreTag:function(e){return"pre"===e},isUnaryTag:ts,mustUseProp:pr,canBeLeftOpenTag:ns,isReservedTag:Tr,getTagNamespace:kr,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(na)},aa=E((function(e){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function ua(e,t){e&&(ra=aa(t.staticKeys||""),ia=t.isReservedTag||j,la(e),ca(e,!1))}function la(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||_(e.tag)||!ia(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ra)))}(e),1===e.type){if(!ia(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];la(r),r.static||(e.static=!1)}if(e.ifConditions)for(t=1,n=e.ifConditions.length;t<n;t++){var i=e.ifConditions[t].block;la(i),i.static||(e.static=!1)}}}function ca(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)ca(e.children[n],t||!!e.for);if(e.ifConditions)for(n=1,r=e.ifConditions.length;n<r;n++)ca(e.ifConditions[n].block,t)}}var pa=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,fa=/\([^)]*?\);*$/,da=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ha={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ma={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ga=function(e){return"if(".concat(e,")return null;")},va={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ga("$event.target !== $event.currentTarget"),ctrl:ga("!$event.ctrlKey"),shift:ga("!$event.shiftKey"),alt:ga("!$event.altKey"),meta:ga("!$event.metaKey"),left:ga("'button' in $event && $event.button !== 0"),middle:ga("'button' in $event && $event.button !== 1"),right:ga("'button' in $event && $event.button !== 2")};function ya(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var s=ba(e[o]);e[o]&&e[o].dynamic?i+="".concat(o,",").concat(s,","):r+='"'.concat(o,'":').concat(s,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function ba(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map((function(e){return ba(e)})).join(","),"]");var t=da.test(e.value),n=pa.test(e.value),r=da.test(e.value.replace(fa,""));if(e.modifiers){var i="",o="",s=[],a=function(t){if(va[t])o+=va[t],ha[t]&&s.push(t);else if("exact"===t){var n=e.modifiers;o+=ga(["ctrl","shift","alt","meta"].filter((function(e){return!n[e]})).map((function(e){return"$event.".concat(e,"Key")})).join("||"))}else s.push(t)};for(var u in e.modifiers)a(u);s.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+"".concat(e.map(_a).join("&&"),")return null;")}(s)),o&&(i+=o);var l=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):r?"return ".concat(e.value):e.value;return"function($event){".concat(i).concat(l,"}")}return t||n?e.value:"function($event){".concat(r?"return ".concat(e.value):e.value,"}")}function _a(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=ha[e],r=ma[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var wa={on:function(e,t){e.wrapListeners=function(e){return"_g(".concat(e,",").concat(t.value,")")}},bind:function(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:P},xa=function(e){this.options=e,this.warn=e.warn||ai,this.transforms=ui(e.modules,"transformCode"),this.dataGenFns=ui(e.modules,"genData"),this.directives=L(L({},wa),e.directives);var t=e.isReservedTag||j;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Aa(e,t){var n=new xa(t),r=e?"script"===e.tag?"null":Sa(e,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Sa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ea(e,t);if(e.once&&!e.onceProcessed)return Ta(e,t);if(e.for&&!e.forProcessed)return Oa(e,t);if(e.if&&!e.ifProcessed)return ka(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=La(e,t),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),o=e.attrs||e.dynamicAttrs?ja((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];!o&&!s||r||(i+=",null");o&&(i+=",".concat(o));s&&(i+="".concat(o?"":",null",",").concat(s));return i+")"}(e,t);var n=void 0;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:La(t,n,!0);return"_c(".concat(e,",").concat($a(t,n)).concat(r?",".concat(r):"",")")}(e.component,e,t);else{var r=void 0,i=t.maybeComponent(e);(!e.plain||e.pre&&i)&&(r=$a(e,t));var o=void 0,s=t.options.bindings;i&&s&&!1!==s.__isScriptSetup&&(o=function(e,t){var n=k(t),r=C(n),i=function(i){return e[t]===i?t:e[n]===i?n:e[r]===i?r:void 0},o=i("setup-const")||i("setup-reactive-const");if(o)return o;var s=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(s)return s}(s,e.tag)),o||(o="'".concat(e.tag,"'"));var a=e.inlineTemplate?null:La(e,t,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(a?",".concat(a):"",")")}for(var u=0;u<t.transforms.length;u++)n=t.transforms[u](e,n);return n}return La(e,t)||"void 0"}function Ea(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return ".concat(Sa(e,t),"}")),t.pre=n,"_m(".concat(t.staticRenderFns.length-1).concat(e.staticInFor?",true":"",")")}function Ta(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ka(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Sa(e,t),",").concat(t.onceId++,",").concat(n,")"):Sa(e,t)}return Ea(e,t)}function ka(e,t,n,r){return e.ifProcessed=!0,Ca(e.ifConditions.slice(),t,n,r)}function Ca(e,t,n,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"(".concat(i.exp,")?").concat(o(i.block),":").concat(Ca(e,t,n,r)):"".concat(o(i.block));function o(e){return n?n(e,t):e.once?Ta(e,t):Sa(e,t)}}function Oa(e,t,n,r){var i=e.for,o=e.alias,s=e.iterator1?",".concat(e.iterator1):"",a=e.iterator2?",".concat(e.iterator2):"";return e.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(s).concat(a,"){")+"return ".concat((n||Sa)(e,t))+"})"}function $a(e,t){var n="{",r=function(e,t){var n=e.directives;if(!n)return;var r,i,o,s,a="directives:[",u=!1;for(r=0,i=n.length;r<i;r++){o=n[r],s=!0;var l=t.directives[o.name];l&&(s=!!l(e,o,t.warn)),s&&(u=!0,a+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}if(u)return a.slice(0,-1)+"]"}(e,t);r&&(n+=r+","),e.key&&(n+="key:".concat(e.key,",")),e.ref&&(n+="ref:".concat(e.ref,",")),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'.concat(e.tag,'",'));for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:".concat(ja(e.attrs),",")),e.props&&(n+="domProps:".concat(ja(e.props),",")),e.events&&(n+="".concat(ya(e.events,!1),",")),e.nativeEvents&&(n+="".concat(ya(e.nativeEvents,!0),",")),e.slotTarget&&!e.slotScope&&(n+="slot:".concat(e.slotTarget,",")),e.scopedSlots&&(n+="".concat(function(e,t,n){var r=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Ra(n)})),i=!!e.if;if(!r)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==zs||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var s=Object.keys(t).map((function(e){return Fa(t[e],n)})).join(",");return"scopedSlots:_u([".concat(s,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(s)):"",")")}(e,e.scopedSlots,t),",")),e.model&&(n+="model:{value:".concat(e.model.value,",callback:").concat(e.model.callback,",expression:").concat(e.model.expression,"},")),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Aa(n,t.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(e){return"function(){".concat(e,"}")})).join(","),"]}")}}(e,t);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b(".concat(n,',"').concat(e.tag,'",').concat(ja(e.dynamicAttrs),")")),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ra(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ra))}function Fa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return ka(e,t,Fa,"null");if(e.for&&!e.forProcessed)return Oa(e,t,Fa);var r=e.slotScope===zs?"":String(e.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===e.tag?e.if&&n?"(".concat(e.if,")?").concat(La(e,t)||"undefined",":undefined"):La(e,t)||"undefined":Sa(e,t),"}"),o=r?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function La(e,t,n,r,i){var o=e.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var a=n?t.maybeComponent(s)?",1":",0":"";return"".concat((r||Sa)(s,t)).concat(a)}var u=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(Da(i)||i.ifConditions&&i.ifConditions.some((function(e){return Da(e.block)}))){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(o,t.maybeComponent):0,l=i||Pa;return"[".concat(o.map((function(e){return l(e,t)})).join(","),"]").concat(u?",".concat(u):"")}}function Da(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Pa(e,t){return 1===e.type?Sa(e,t):3===e.type&&e.isComment?function(e){return"_e(".concat(JSON.stringify(e.text),")")}(e):function(e){return"_v(".concat(2===e.type?e.expression:Na(JSON.stringify(e.text)),")")}(e)}function ja(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],o=Na(i.value);i.dynamic?n+="".concat(i.name,",").concat(o,","):t+='"'.concat(i.name,'":').concat(o,",")}return t="{".concat(t.slice(0,-1),"}"),n?"_d(".concat(t,",[").concat(n.slice(0,-1),"])"):t}function Na(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function qa(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),P}}function Ma(e){var t=Object.create(null);return function(n,r,i){(r=L({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var s=e(n,r);var a={},u=[];return a.render=qa(s.render,u),a.staticRenderFns=s.staticRenderFns.map((function(e){return qa(e,u)})),t[o]=a}}var Ia,Ha,Ua=(Ia=function(e,t){var n=Ws(e.trim(),t);!1!==t.optimize&&ua(n,t);var r=Aa(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(n)for(var s in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=L(Object.create(e.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);r.warn=function(e,t,n){(n?o:i).push(e)};var a=Ia(t.trim(),r);return a.errors=i,a.tips=o,a}return{compile:t,compileToFunctions:Ma(t)}}),Ba=Ua(sa).compileToFunctions;function za(e){return(Ha=Ha||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ha.innerHTML.indexOf(" ")>0}var Va=!!G&&za(!1),Wa=!!G&&za(!0),Ka=E((function(e){var t=$r(e);return t&&t.innerHTML})),Xa=er.prototype.$mount;er.prototype.$mount=function(e,t){if((e=e&&$r(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ka(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=Ba(r,{outputSourceRange:!1,shouldDecodeNewlines:Va,shouldDecodeNewlinesForHref:Wa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,s=i.staticRenderFns;n.render=o,n.staticRenderFns=s}}return Xa.call(this,e,t)},er.compile=Ba},36263:function(e,t,n){"use strict";var r=n(17275),i=n(73119),o=n(17013),s=n(77960),a=n(74062);const u={http:i.A,xhr:o.A,fetch:{get:s.J}};r.A.forEach(u,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const l=e=>`- ${e}`,c=e=>r.A.isFunction(e)||null===e||!1===e;t.A={getAdapter:function(e,t){e=r.A.isArray(e)?e:[e];const{length:n}=e;let i,o;const s={};for(let l=0;l<n;l++){let n;if(i=e[l],o=i,!c(i)&&(o=u[(n=String(i)).toLowerCase()],void 0===o))throw new a.A(`Unknown adapter '${n}'`);if(o&&(r.A.isFunction(o)||(o=o.get(t))))break;s[n||"#"+l]=o}if(!o){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>
21?"since :\n"+e.map(l).join("\n"):" "+l(e[0]):"as no adapter specified";throw new a.A("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:u}},77960:function(e,t,n){"use strict";n.d(t,{J:function(){return b}});var r=n(63820),i=n(17275),o=n(74062),s=n(12723),a=n(1791),u=n(7110),l=n(77837),c=n(88382),p=n(63853);const{isFunction:f}=i.A,d=(({Request:e,Response:t})=>({Request:e,Response:t}))(i.A.global),{ReadableStream:h,TextEncoder:m}=i.A.global,g=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},v=e=>{e=i.A.merge.call({skipUndefined:!0},d,e);const{fetch:t,Request:n,Response:v}=e,y=t?f(t):"function"==typeof fetch,b=f(n),_=f(v);if(!y)return!1;const w=y&&f(h),x=y&&("function"==typeof m?(A=new m,e=>A.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var A;const S=b&&w&&g((()=>{let e=!1;const t=new n(r.A.origin,{body:new h,method:"POST",get duplex(){return e=!0,"half"}}),i=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!i})),E=_&&w&&g((()=>i.A.isReadableStream(new v("").body))),T={stream:E&&(e=>e.body)};y&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!T[e]&&(T[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new o.A(`Response type '${e}' is not supported`,o.A.ERR_NOT_SUPPORT,n)})}));const k=async(e,t)=>{const o=i.A.toFiniteNumber(e.getContentLength());return null==o?(async e=>{if(null==e)return 0;if(i.A.isBlob(e))return e.size;if(i.A.isSpecCompliantForm(e)){const t=new n(r.A.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return i.A.isArrayBufferView(e)||i.A.isArrayBuffer(e)?e.byteLength:(i.A.isURLSearchParams(e)&&(e+=""),i.A.isString(e)?(await x(e)).byteLength:void 0)})(t):o};return async e=>{let{url:r,method:f,data:d,signal:h,cancelToken:m,timeout:g,onDownloadProgress:y,onUploadProgress:_,responseType:w,headers:x,withCredentials:A="same-origin",fetchOptions:C}=(0,c.A)(e),O=t||fetch;w=w?(w+"").toLowerCase():"text";let $=(0,s.A)([h,m&&m.toAbortSignal()],g),R=null;const F=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let L;try{if(_&&S&&"get"!==f&&"head"!==f&&0!==(L=await k(x,d))){let e,t=new n(r,{method:"POST",body:d,duplex:"half"});if(i.A.isFormData(d)&&(e=t.headers.get("content-type"))&&x.setContentType(e),t.body){const[e,n]=(0,l.Vj)(L,(0,l.C1)((0,l.mM)(_)));d=(0,a.E9)(t.body,65536,e,n)}}i.A.isString(A)||(A=A?"include":"omit");const t=b&&"credentials"in n.prototype;if(i.A.isFormData(d)){const e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete("content-type")}const o={...C,signal:$,method:f.toUpperCase(),headers:x.normalize().toJSON(),body:d,duplex:"half",credentials:t?A:void 0};R=b&&new n(r,o);let s=await(b?O(R,C):O(r,o));const c=E&&("stream"===w||"response"===w);if(E&&(y||c&&F)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=i.A.toFiniteNumber(s.headers.get("content-length")),[n,r]=y&&(0,l.Vj)(t,(0,l.C1)((0,l.mM)(y),!0))||[];s=new v((0,a.E9)(s.body,65536,n,(()=>{r&&r(),F&&F()})),e)}w=w||"text";let h=await T[i.A.findKey(T,w)||"text"](s,e);return!c&&F&&F(),await new Promise(((t,n)=>{(0,p.A)(t,n,{data:h,headers:u.A.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:R})}))}catch(t){if(F&&F(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new o.A("Network Error",o.A.ERR_NETWORK,e,R,t&&t.response),{cause:t.cause||t});throw o.A.from(t,t&&t.code,e,R,t&&t.response)}}},y=new Map,b=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let s,a,u=o.length,l=y;for(;u--;)s=o[u],a=l.get(s),void 0===a&&l.set(s,a=u?new Map:v(t)),l=a;return a};b()},17013:function(e,t,n){"use strict";var r=n(17275),i=n(63853),o=n(10807),s=n(74062),a=n(38458),u=n(55579),l=n(63820),c=n(7110),p=n(77837),f=n(88382);const d="undefined"!=typeof XMLHttpRequest;t.A=d&&function(e){return new Promise((function(t,n){const d=(0,f.A)(e);let h=d.data;const m=c.A.from(d.headers).normalize();let g,v,y,b,_,{responseType:w,onUploadProgress:x,onDownloadProgress:A}=d;function S(){b&&b(),_&&_(),d.cancelToken&&d.cancelToken.unsubscribe(g),d.signal&&d.signal.removeEventListener("abort",g)}let E=new XMLHttpRequest;function T(){if(!E)return;const r=c.A.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),o={data:w&&"text"!==w&&"json"!==w?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:r,config:e,request:E};(0,i.A)((function(e){t(e),S()}),(function(e){n(e),S()}),o),E=null}
2E.open(d.method.toUpperCase(),d.url,!0),E.timeout=d.timeout,"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))&&setTimeout(T)},E.onabort=function(){E&&(n(new s.A("Request aborted",s.A.ECONNABORTED,e,E)),E=null)},E.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new s.A(r,s.A.ERR_NETWORK,e,E);i.event=t||null,n(i),E=null},E.ontimeout=function(){let t=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const r=d.transitional||o.A;d.timeoutErrorMessage&&(t=d.timeoutErrorMessage),n(new s.A(t,r.clarifyTimeoutError?s.A.ETIMEDOUT:s.A.ECONNABORTED,e,E)),E=null},void 0===h&&m.setContentType(null),"setRequestHeader"in E&&r.A.forEach(m.toJSON(),(function(e,t){E.setRequestHeader(t,e)})),r.A.isUndefined(d.withCredentials)||(E.withCredentials=!!d.withCredentials),w&&"json"!==w&&(E.responseType=d.responseType),A&&([y,_]=(0,p.C1)(A,!0),E.addEventListener("progress",y)),x&&E.upload&&([v,b]=(0,p.C1)(x),E.upload.addEventListener("progress",v),E.upload.addEventListener("loadend",b)),(d.cancelToken||d.signal)&&(g=t=>{E&&(n(!t||t.type?new a.A(null,e,E):t),E.abort(),E=null)},d.cancelToken&&d.cancelToken.subscribe(g),d.signal&&(d.signal.aborted?g():d.signal.addEventListener("abort",g)));const k=(0,u.A)(d.url);k&&-1===l.A.protocols.indexOf(k)?n(new s.A("Unsupported protocol "+k+":",s.A.ERR_BAD_REQUEST,e)):E.send(h||null)}))}},57536:function(e,t,n){"use strict";var r=n(17275),i=n(12125),o=n(55978),s=n(44662),a=n(6013),u=n(77887),l=n(38458),c=n(64874),p=n(59575),f=n(89888),d=n(70665),h=n(74062),m=n(20605),g=n(68562),v=n(7110),y=n(36263),b=n(7693);const _=function e(t){const n=new o.A(t),a=(0,i.A)(o.A.prototype.request,n);return r.A.extend(a,o.A.prototype,n,{allOwnKeys:!0}),r.A.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e((0,s.A)(t,n))},a}(a.A);_.Axios=o.A,_.CanceledError=l.A,_.CancelToken=c.A,_.isCancel=p.A,_.VERSION=f.x,_.toFormData=d.A,_.AxiosError=h.A,_.Cancel=_.CanceledError,_.all=function(e){return Promise.all(e)},_.spread=m.A,_.isAxiosError=g.A,_.mergeConfig=s.A,_.AxiosHeaders=v.A,_.formToJSON=e=>(0,u.A)(r.A.isHTMLForm(e)?new FormData(e):e),_.getAdapter=y.A.getAdapter,_.HttpStatusCode=b.A,_.default=_,t.A=_},64874:function(e,t,n){"use strict";var r=n(38458);class i{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,i,o){n.reason||(n.reason=new r.A(e,i,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new i((function(t){e=t})),cancel:e}}}t.A=i},38458:function(e,t,n){"use strict";var r=n(74062);class i extends r.A{constructor(e,t,n){super(null==e?"canceled":e,r.A.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}}t.A=i},59575:function(e,t,n){"use strict";function r(e){return!(!e||!e.__CANCEL__)}n.d(t,{A:function(){return r}})},55978:function(e,t,n){"use strict";var r=n(17275),i=n(16348),o=n(17352),s=n(48683),a=n(44662),u=n(88262),l=n(13390),c=n(7110),p=n(10807);const f=l.A.validators;class d{constructor(e){this.defaults=e||{},this.interceptors={request:new o.A,response:new o.A}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),i=-1===r?"":n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=(0,a.A)(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:o}=t;void 0!==n&&l.A.assertOptions(n,{silentJSONParsing:f.transitional(f.boolean),forcedJSONParsing:f.transitional(f.boolean),clarifyTimeoutError:f.transitional(f.boolean),legacyInterceptorReqResOrdering:f.transitional(f.boolean)}
2,!1),null!=i&&(r.A.isFunction(i)?t.paramsSerializer={serialize:i}:l.A.assertOptions(i,{encode:f.function,serialize:f.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),l.A.assertOptions(t,{baseUrl:f.spelling("baseURL"),withXsrfToken:f.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let u=o&&r.A.merge(o.common,o[t.method]);o&&r.A.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=c.A.concat(u,o);const d=[];let h=!0;this.interceptors.request.forEach((function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;h=h&&e.synchronous;const n=t.transitional||p.A;n&&n.legacyInterceptorReqResOrdering?d.unshift(e.fulfilled,e.rejected):d.push(e.fulfilled,e.rejected)}));const m=[];let g;this.interceptors.response.forEach((function(e){m.push(e.fulfilled,e.rejected)}));let v,y=0;if(!h){const e=[s.A.bind(this),void 0];for(e.unshift(...d),e.push(...m),v=e.length,g=Promise.resolve(t);y<v;)g=g.then(e[y++],e[y++]);return g}v=d.length;let b=t;for(;y<v;){const e=d[y++],t=d[y++];try{b=e(b)}catch(e){t.call(this,e);break}}try{g=s.A.call(this,b)}catch(e){return Promise.reject(e)}for(y=0,v=m.length;y<v;)g=g.then(m[y++],m[y++]);return g}getUri(e){e=(0,a.A)(this.defaults,e);const t=(0,u.A)(e.baseURL,e.url,e.allowAbsoluteUrls);return(0,i.A)(t,e.params,e.paramsSerializer)}}r.A.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request((0,a.A)(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.A.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request((0,a.A)(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),t.A=d},74062:function(e,t,n){"use strict";var r=n(17275);class i extends Error{static from(e,t,n,r,o,s){const a=new i(e.message,t||e.code,n,r,o);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),s&&Object.assign(a,s),a}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r.A.toJSONObject(this.config),code:this.code,status:this.status}}}i.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",i.ERR_BAD_OPTION="ERR_BAD_OPTION",i.ECONNABORTED="ECONNABORTED",i.ETIMEDOUT="ETIMEDOUT",i.ERR_NETWORK="ERR_NETWORK",i.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",i.ERR_DEPRECATED="ERR_DEPRECATED",i.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",i.ERR_BAD_REQUEST="ERR_BAD_REQUEST",i.ERR_CANCELED="ERR_CANCELED",i.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",i.ERR_INVALID_URL="ERR_INVALID_URL",i.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED",t.A=i},7110:function(e,t,n){"use strict";var r=n(17275),i=n(43325);const o=Symbol("internals"),s=/[^\x09\x20-\x7E\x80-\xFF]/g;function a(e){return e&&String(e).trim().toLowerCase()}function u(e){return!1===e||null==e?e:r.A.isArray(e)?e.map(u):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(s,""))}function l(e,t,n,i,o){return r.A.isFunction(i)?i.call(this,t,n):(o&&(t=n),r.A.isString(t)?r.A.isString(i)?-1!==t.indexOf(i):r.A.isRegExp(i)?i.test(t):void 0:void 0)}class c{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function s(e,t,n){const i=a(t);if(!i)throw new Error("header name must be a non-empty string");const s=r.A.findKey(o,i);(!s||void 0===o[s]||!0===n||void 0===n&&!1!==o[s])&&(o[s||t]=u(e))}const l=(e,t)=>r.A.forEach(e,((e,n)=>s(e,n,t)));if(r.A.isPlainObject(e)||e instanceof this.constructor)l(e,t);else if(r.A.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))l((0,i.A)(e),t);else if(r.A.isObject(e)&&r.A.isIterable(e)){let n,i,o={};for(const t of e){if(!r.A.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[i=t[0]]=(n=o[i])?r.A.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}l(o,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=a(e)){const n=r.A.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(r.A.isFunction(t))return t.call(this,e,n);if(r.A.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=a(e)){const n=r.A.findKey(this,e);return!(!n||void 0===this[n]||t&&!l(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function o(e){if(e=a(e)){const o=r.A.findKey(n,e);!o||t&&!l(0,n[o],o,t)||(delete n[o],i=!0)}}return r.A.isArray(e)?e.forEach(o):o(e),i}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!l(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return r.A.forEach(this,((i,o)=>{const s=r.A.findKey(n,o);if(s)return t[s]=u(i),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=u(i),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return r.A.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&r.A.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[o]=this[o]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=a(e);t[i]||(!function(e,t){const n=r.A.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[i]=!0)}return r.A.isArray(e)?e.forEach(i):i(e),this}}c.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),r.A.reduceDescriptors(c.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),r.A.freezeMethods(c),t.A=c},17352:function(e,t,n){"use strict";var r=n(17275);t.A=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){r.A.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}},88262:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(99034),i=n(76787);function o(e,t,n){let o=!(0,r.A)(t);return e&&(o||!1===n)?(0,i.A)(e,t):t}},48683:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(19152),i=n(59575),o=n(6013),s=n(38458),a=n(7110),u=n(36263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s.A(null,e)}function c(e){l(e),e.headers=a.A.from(e.headers),e.data=r.A.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return u.A.getAdapter(e.adapter||o.A.adapter,e)(e).then((function(t){return l(e),t.data=r.A.call(e,e.transformResponse,t),t.headers=a.A.from(t.headers),t}),(function(t){return(0,i.A)(t)||(l(e),t&&t.response&&(t.response.data=r.A.call(e,e.transformResponse,t.response),t.response.headers=a.A.from(t.response.headers))),Promise.reject(t)}))}},44662:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(17275),i=n(7110);const o=e=>e instanceof i.A?{...e}:e;function s(e,t){t=t||{};const n=Object.create(null);function i(e,t,n,i){return r.A.isPlainObject(e)&&r.A.isPlainObject(t)?r.A.merge.call({caseless:i},e,t):r.A.isPlainObject(t)?r.A.merge({},t):r.A.isArray(t)?t.slice():t}function s(e,t,n,o){return r.A.isUndefined(t)?r.A.isUndefined(e)?void 0:i(void 0,e,0,o):i(e,t,0,o)}function a(e,t){if(!r.A.isUndefined(t))return i(void 0,t)}function u(e,t){return r.A.isUndefined(t)?r.A.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function l(n,o,s){return r.A.hasOwnProp(t,s)?i(n,o):r.A.hasOwnProp(e,s)?i(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,allowedSocketPaths:u,responseEncoding:u,validateStatus:l,headers:(e,t,n)=>s(o(e),o(t),0,!0)};return r.A.forEach(Object.keys({...e,...t}),(function(i){if("__proto__"===i||"constructor"===i||"prototype"===i)return;const o=r.A.hasOwnProp(c,i)?c[i]:s,a=o(r.A.hasOwnProp(e,i)?e[i]:void 0,r.A.hasOwnProp(t,i)?t[i]:void 0,i);r.A.isUndefined(a)&&o!==l||(n[i]=a)})),n}},63853:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(74062);function i(e,t,n){const i=n.config.validateStatus;
2n.status&&i&&!i(n.status)?t(new r.A("Request failed with status code "+n.status,[r.A.ERR_BAD_REQUEST,r.A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},19152:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(17275),i=n(6013),o=n(7110);function s(e,t){const n=this||i.A,s=t||n,a=o.A.from(s.headers);let u=s.data;return r.A.forEach(e,(function(e){u=e.call(n,u,a.normalize(),t?t.status:void 0)})),a.normalize(),u}},6013:function(e,t,n){"use strict";var r=n(17275),i=n(74062),o=n(10807),s=n(70665),a=n(31076),u=n(63820),l=n(77887);const c=(e,t)=>null!=e&&r.A.hasOwnProp(e,t)?e[t]:void 0;const p={transitional:o.A,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=r.A.isObject(e);o&&r.A.isHTMLForm(e)&&(e=new FormData(e));if(r.A.isFormData(e))return i?JSON.stringify((0,l.A)(e)):e;if(r.A.isArrayBuffer(e)||r.A.isBuffer(e)||r.A.isStream(e)||r.A.isFile(e)||r.A.isBlob(e)||r.A.isReadableStream(e))return e;if(r.A.isArrayBufferView(e))return e.buffer;if(r.A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;
2if(o){const t=c(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return(0,a.A)(e,t).toString();if((u=r.A.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=c(this,"env"),r=n&&n.FormData;return(0,s.A)(u?{"files[]":e}:e,r&&new r,t)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(r.A.isString(e))try{return(t||JSON.parse)(e),r.A.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=c(this,"transitional")||p.transitional,n=t&&t.forcedJSONParsing,o=c(this,"responseType"),s="json"===o;if(r.A.isResponse(e)||r.A.isReadableStream(e))return e;if(e&&r.A.isString(e)&&(n&&!o||s)){const n=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e,c(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw i.A.from(e,i.A.ERR_BAD_RESPONSE,this,null,c(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:u.A.classes.FormData,Blob:u.A.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};r.A.forEach(["delete","get","head","post","put","patch"],(e=>{p.headers[e]={}})),t.A=p},10807:function(e,t){"use strict";t.A={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}},89888:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});const r="1.15.2"},95267:function(e,t,n){"use strict";var r=n(70665);function i(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&(0,r.A)(e,this,t)}const s=o.prototype;s.append=function(e,t){this._pairs.push([e,t])},s.toString=function(e){const t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},t.A=o},7693:function(e,t){"use strict";const n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(n).forEach((([e,t])=>{n[t]=e})),t.A=n},12125:function(e,t,n){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,{A:function(){return r}})},16348:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(17275),i=n(95267);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function s(e,t,n){if(!t)return e;const s=n&&n.encode||o,a=r.A.isFunction(n)?{serialize:n}:n,u=a&&a.serialize;let l;if(l=u?u(t,a):r.A.isURLSearchParams(t)?t.toString():new i.A(t,a).toString(s),l){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+l}return e}},76787:function(e,t,n){"use strict";function r(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}n.d(t,{A:function(){return r}})},12723:function(e,t,n){"use strict";var r=n(38458),i=n(74062),o=n(17275);t.A=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,s=new AbortController;const a=function(e){if(!n){n=!0,l();const t=e instanceof Error?e:this.reason;s.abort(t instanceof i.A?t:new r.A(t instanceof Error?t.message:t))}};let u=t&&setTimeout((()=>{u=null,a(new i.A(`timeout of ${t}ms exceeded`,i.A.ETIMEDOUT))}),t);const l=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:c}=s;return c.unsubscribe=()=>
2o.A.asap(l),c}}},9887:function(e,t,n){"use strict";var r=n(17275),i=n(63820);t.A=i.A.hasStandardBrowserEnv?{write(e,t,n,i,o,s,a){if("undefined"==typeof document)return;const u=[`${e}=${encodeURIComponent(t)}`];r.A.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),r.A.isString(i)&&u.push(`path=${i}`),r.A.isString(o)&&u.push(`domain=${o}`),!0===s&&u.push("secure"),r.A.isString(a)&&u.push(`SameSite=${a}`),document.cookie=u.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}}},77887:function(e,t,n){"use strict";var r=n(17275);t.A=function(e){function t(e,n,i,o){let s=e[o++];if("__proto__"===s)return!0;const a=Number.isFinite(+s),u=o>=e.length;if(s=!s&&r.A.isArray(i)?i.length:s,u)return r.A.hasOwnProp(i,s)?i[s]=r.A.isArray(i[s])?i[s].concat(n):[i[s],n]:i[s]=n,!a;i[s]&&r.A.isObject(i[s])||(i[s]=[]);return t(e,n,i[s],o)&&r.A.isArray(i[s])&&(i[s]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(i[s])),!a}if(r.A.isFormData(e)&&r.A.isFunction(e.entries)){const n={};return r.A.forEachEntry(e,((e,i)=>{t(function(e){return r.A.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}},99034:function(e,t,n){"use strict";function r(e){return"string"==typeof e&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}n.d(t,{A:function(){return r}})},68562:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(17275);function i(e){return r.A.isObject(e)&&!0===e.isAxiosError}},86305:function(e,t,n){"use strict";var r,i,o=n(63820);t.A=o.A.hasStandardBrowserEnv?(r=new URL(o.A.origin),i=o.A.navigator&&/(msie|trident)/i.test(o.A.navigator.userAgent),e=>(e=new URL(e,o.A.origin),r.protocol===e.protocol&&r.host===e.host&&(i||r.port===e.port))):()=>!0},73119:function(e,t){"use strict";t.A=null},43325:function(e,t,n){"use strict";const r=n(17275).A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);t.A=e=>{const t={};let n,i,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),i=e.substring(o+1).trim(),!n||t[n]&&r[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t}},55579:function(e,t,n){"use strict";function r(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}n.d(t,{A:function(){return r}})},77837:function(e,t,n){"use strict";n.d(t,{C1:function(){return s},Vj:function(){return a},mM:function(){return u}});var r=n(93873),i=n(30066),o=n(17275);const s=(e,t,n=3)=>{let o=0;const s=(0,r.A)(50,250);return(0,i.A)((n=>{const r=n.loaded,i=n.lengthComputable?n.total:void 0,a=null!=i?Math.min(r,i):r,u=Math.max(0,a-o),l=s(u);o=Math.max(o,a);e({loaded:a,total:i,progress:i?a/i:void 0,bytes:u,rate:l||void 0,estimated:l&&i?(i-a)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},a=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},u=e=>(...t)=>o.A.asap((()=>e(...t)))},88382:function(e,t,n){"use strict";var r=n(63820),i=n(17275),o=n(86305),s=n(9887),a=n(88262),u=n(44662),l=n(7110),c=n(16348);t.A=e=>{const t=(0,u.A)({},e),n=e=>i.A.hasOwnProp(t,e)?t[e]:void 0,p=n("data");let f=n("withXSRFToken");const d=n("xsrfHeaderName"),h=n("xsrfCookieName");let m=n("headers");const g=n("auth"),v=n("baseURL"),y=n("allowAbsoluteUrls"),b=n("url");if(t.headers=m=l.A.from(m),t.url=(0,c.A)((0,a.A)(v,b,y),e.params,e.paramsSerializer),g&&m.set("Authorization","Basic "+btoa((g.username||"")+":"+(g.password?unescape(encodeURIComponent(g.password)):""))),i.A.isFormData(p))if(r.A.hasStandardBrowserEnv||r.A.hasStandardBrowserWebWorkerEnv)m.setContentType(void 0);else if(i.A.isFunction(p.getHeaders)){const e=p.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&m.set(e,n)}))}if(r.A.hasStandardBrowserEnv){i.A.isFunction(f)&&(f=f(t));if(!0===f||null==f&&(0,o.A)(t.url)){const e=d&&h&&s.A.read(h);e&&m.set(d,e)}}return t}},93873:function(e,t){"use strict";t.A=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,s=0;return t=void 0!==t?t:1e3,function(a){const u=Date.now(),l=r[s];i||(i=u),n[o]=a,r[o]=u;let c=s,p=0;for(;c!==o;)p+=n[c++],c%=e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const f=l&&u-l;return f?Math.round(1e3*p/f):void 0}}},20605:function(e,t,n){"use strict";function r(e){return function(t){return e.apply(null,t)}}n.d(t,{A:function(){return r}})},30066:function(e,t){"use strict";t.A=function(e,t){let n,r,i=0,o=1e3/t;const s=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-i;a>=o?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),o-a)))},()=>n&&s(n)]}},70665:function(e,t,n){"use strict";var r=n(17275),i=n(74062),o=n(73119);function s(e){return r.A.isPlainObject(e)||r.A.isArray(e)}function a(e){return r.A.endsWith(e,"[]")?e.slice(0,-2):e}function u(e,t,n){return e?e.concat(t).map((function(e,t){return e=a(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const l=r.A.toFlatObject(r.A,{},null,(function(e){return/^is[A-Z]/.test(e)}));t.A=function(e,t,n){if(!r.A.isObject(e))throw new TypeError("target must be an object");t=t||new(o.A||FormData);const c=(n=r.A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!r.A.isUndefined(t[e])}))).metaTokens,p=n.visitor||y,f=n.dots,d=n.indexes,h=n.Blob||"undefined"!=typeof Blob&&Blob,m=void 0===n.maxDepth?100:n.maxDepth,g=h&&r.A.isSpecCompliantForm(t);if(!r.A.isFunction(p))throw new TypeError("visitor must be a function");function v(e){if(null===e)return"";if(r.A.isDate(e))return e.toISOString();if(r.A.isBoolean(e))return e.toString();if(!g&&r.A.isBlob(e))throw new i.A("Blob is not supported. Use a Buffer instead.");return r.A.isArrayBuffer(e)||r.A.isTypedArray(e)?g&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function y(e,n,i){let o=e;if(r.A.isReactNative(t)&&r.A.isReactNativeBlob(e))return t.append(u(i,n,f),v(e)),!1;if(e&&!i&&"object"==typeof e)if(r.A.endsWith(n,"{}"))n=c?n:n.slice(0,-2),e=JSON.stringify(e);else if(r.A.isArray(e)&&function(e){return r.A.isArray(e)&&!e.some(s)}(e)||(r.A.isFileList(e)||r.A.endsWith(n,"[]"))&&(o=r.A.toArray(e)))return n=a(n),o.forEach((function(e,i){!r.A.isUndefined(e)&&null!==e&&t.append(!0===d?u([n],i,f):null===d?n:n+"[]",v(e))})),!1;return!!s(e)||(t.append(u(i,n,f),v(e)),!1)}const b=[],_=Object.assign(l,{defaultVisitor:y,convertValue:v,isVisitable:s});if(!r.A.isObject(e))throw new TypeError("data must be an object");return function e(n,o,s=0){if(!r.A.isUndefined(n)){if(s>m)throw new i.A("Object is too deeply nested ("+s+" levels). Max depth: "+m,i.A.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==b.indexOf(n))throw Error("Circular reference detected in "+o.join("."));b.push(n),r.A.forEach(n,(function(n,i){!0===(!(r.A.isUndefined(n)||null===n)&&p.call(t,n,r.A.isString(i)?i.trim():i,o,_))&&e(n,o?o.concat(i):[i],s+1)})),b.pop()}}(e),t}},31076:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(17275),i=n(70665),o=n(63820);function s(e,t){return(0,i.A)(e,new o.A.classes.URLSearchParams,{visitor:function(e,t,n,i){return o.A.isNode&&r.A.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}},1791:function(e,t,n){"use strict";n.d(t,{E9:function(){return o}});const r=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},i=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},o=(e,t,n,o)=>{const s=async function*(e,t){for await(const n of i(e))yield*r(n,t)}(e,t);let a,u=0,l=e=>{a||(a=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await s.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=u+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel(e){return l(e),s.return()}},{highWaterMark:2})}},13390:function(e,t,n){"use strict";var r=n(89888),i=n(74062);const o={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const s={};o.transitional=function(e,t,n){return(o,a,u)=>{if(!1===e)throw new i.A(function(e,t){return"[Axios v"+r.x+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(a," has been removed"+(t?" in "+t:"")),i.A.ERR_DEPRECATED);return t&&!s[a]&&(s[a]=!0),!e||e(o,a,u)}},o.spelling=function(e){return(e,t)=>!0},t.A={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i.A("options must be an object",i.A.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const t=e[s],n=void 0===t||a(t,s,e);if(!0!==n)throw new i.A("option "+s+" must be "+n,i.A.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i.A("Unknown option "+s,i.A.ERR_BAD_OPTION)}},validators:o}},66501:function(e,t){"use strict";t.A="undefined"!=typeof Blob?Blob:null},98556:function(e,t){"use strict";t.A="undefined"!=typeof FormData?FormData:null},60139:function(e,t,n){"use strict";var r=n(95267);t.A="undefined"!=typeof URLSearchParams?URLSearchParams:r.A},56847:function(e,t,n){"use strict";var r=n(60139),i=n(98556),o=n(66501);
vendor: 4,191 bytes, line 2
2t.A={isBrowser:!0,classes:{URLSearchParams:r.A,FormData:i.A,Blob:o.A},protocols:["http","https","file","blob","url","data"]}},92569:function(e,t,n){"use strict";n.r(t),n.d(t,{hasBrowserEnv:function(){return r},hasStandardBrowserEnv:function(){return o},hasStandardBrowserWebWorkerEnv:function(){return s},navigator:function(){return i},origin:function(){return a}});const r="undefined"!=typeof window&&"undefined"!=typeof document,i="object"==typeof navigator&&navigator||void 0,o=r&&(!i||["ReactNative","NativeScript","NS"].indexOf(i.product)<0),s="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,a=r&&window.location.href||"http://localhost"},63820:function(e,t,n){"use strict";var r=n(56847),i=n(92569);t.A={...i,...r.A}},17275:function(e,t,n){"use strict";var r=n(12125);const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,{iterator:s,toStringTag:a}=Symbol,u=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const c=e=>(e=e.toLowerCase(),t=>u(t)===e),p=e=>t=>typeof t===e,{isArray:f}=Array,d=p("undefined");function h(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const m=c("ArrayBuffer");const g=p("string"),v=p("function"),y=p("number"),b=e=>null!==e&&"object"==typeof e,_=e=>{if("object"!==u(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||a in e||s in e)},w=c("Date"),x=c("File"),A=c("Blob"),S=c("FileList");const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},T=void 0!==E.FormData?E.FormData:void 0,k=c("URLSearchParams"),[C,O,$,R]=["ReadableStream","Request","Response","Headers"].map(c);function F(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(h(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(r=0;r<o;r++)s=i[r],t.call(null,e[s],s,e)}}function L(e,t){if(h(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=e=>!d(e)&&e!==D;const j=(N="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>N&&e instanceof N);var N;const q=c("HTMLFormElement"),M=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),I=c("RegExp"),H=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};F(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)};const U=c("AsyncFunction"),B=(z="function"==typeof setImmediate,V=v(D.postMessage),z?setImmediate:V?(W=`axios@${Math.random()}`,K=[],D.addEventListener("message",(({source:e,data:t})=>{e===D&&t===W&&K.length&&K.shift()()}),!1),e=>{K.push(e),D.postMessage(W,"*")}):e=>setTimeout(e));var z,V,W,K;const X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(D):"undefined"!=typeof process&&process.nextTick||B;t.A={isArray:f,isArrayBuffer:m,isBuffer:h,isFormData:e=>{if(!e)return!1;if(T&&e instanceof T)return!0;const t=o(e);if(!t||t===Object.prototype)return!1;if(!v(e.append))return!1;const n=u(e);return"formdata"===n||"object"===n&&v(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:g,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:_,isEmptyObject:e=>{if(!b(e)||h(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:C,isRequest:O,isResponse:$,isHeaders:R,isUndefined:d,isDate:w,isFile:x,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:A,isRegExp:I,isFunction:v,isStream:e=>b(e)&&v(e.pipe),isURLSearchParams:k,isTypedArray:j,isFileList:S,forEach:F,merge:function e(){const{caseless:t,skipUndefined:n}=P(this)&&this||{},r={},i=(i,o)=>
2{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const s=t&&L(r,o)||o;_(r[s])&&_(i)?r[s]=e(r[s],i):_(i)?r[s]=e({},i):f(i)?r[s]=i.slice():n&&d(i)||(r[s]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&F(arguments[e],i);return r},extend:(e,t,n,{allOwnKeys:i}={})=>(F(t,((t,i)=>{n&&v(t)?Object.defineProperty(e,i,{value:(0,r.A)(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,s,a;const u={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[s]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:q,hasOwnProperty:M,hasOwnProp:M,reduceDescriptors:H,freezeMethods:e=>{H(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:L,global:D,isContextDefined:P,isSpecCompliantForm:function(e){return!!(e&&v(e.append)&&"FormData"===e[a]&&e[s])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(h(e))return e;if(!("toJSON"in e)){t[r]=e;const i=f(e)?[]:{};return F(e,((e,t)=>{const o=n(e,r+1);!d(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:U,isThenable:e=>e&&(b(e)||v(e))&&v(e.then)&&v(e.catch),setImmediate:B,asap:X,isIterable:e=>null!=e&&v(e[s])}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=i,s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},s.d(i,o),i},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return({16:"studyselection",125:"webcomponents-responsive-focuspoint",140:"process-link-list",144:"grouped-services",182:"webcomponents-usn-logos-tile",190:"articlelist-filter",249:"flatpickr",251:"articlegridlist",267:"usn-on-behalf-of-select",347:"smart-guide",361:"dropdown-toggle",362:"responsive-table",415:"webcomponents-oria-search-tile",481:"webcomponents-ctformajax",625:"RoomListMoreInfo",704:"article-collapse-panel",774:"article-image-title",813:"directedit-panel",895:"JobVacancies",896:"usn-swiper",913:"form-manager-tester",917:"my-schedule",927:"webcomponents-study-program-phd",966:"input-date-polyfill",967:"study-and-subject-plan"}[e]||e)+"."+{16:"125bc47607968a92ce50",125:"983a84cf84f751e7e216",140:"41370f112043500f7d6a",144:"cdbbb013bb0cc94aaed7",182
2:"0ee1dbb7ea0ea04a65b7",190:"38e38bdb9d27c21aae68",249:"b32f62d83f568631ce1f",251:"b129680872b0dff7af6d",267:"3e0519956a8f86a2c74b",347:"73661da2482dada47390",361:"365e4c5dd4a884d65d55",362:"049c623e748388bd5043",415:"3b464ab38bbd2d4ef397",481:"822a335c07d79809ebc0",529:"1f2abe613e3ad6ee6ba1",625:"20d82017d0b520241323",704:"f3f14965c226e871b6f4",774:"6e077094cee59a8e1b6b",813:"ece5727cdc75b2dce096",895:"3e5a4eb3724bf460c388",896:"8e532690f5ae8a7631c7",913:"29e04cfd4f63774c2582",917:"09c8651807265729a9e4",927:"af6d5a461019fcc63ae4",966:"7189fcf86f49c1fbec88",967:"ed36695ace1c53e53899"}[e]+".js"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="usn:",s.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var a,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var p=l[c];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+i){a=p;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",r+i),a.src=e),n[e]=[t];var f=function(t,r){a.onerror=a.onload=null,clearTimeout(d);var i=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((function(e){return e(r)})),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),u&&document.head.appendChild(a)}},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},s.j=652,s.p="/javascript/",function(){var e={271:0,652:0};s.f.j=function(t,n){var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,(function(n){if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],u=n[2],l=0;if(o.some((function(t){return 0!==e[t]}))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(u)u(s)}for(t&&t(n);l<o.length;l++)i=o[l],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkusn=self.webpackChunkusn||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";window.$=window.$??s(9498),s(46739),s(96357);var e=s(6176);let t;s(79287),window.up.fragment.config.autoScroll=!1,window.up.log.config.banner=!1,window.up.history.config.restoreTargets=["[up-main]",'[role="main"]',"main","body"],window.up.on("up:fragment:loaded",(e=>{t=document.documentElement.scrollTop||document.body.scrollTop})),window.up.on("up:fragment:inserted",(e=>{e.target&&void 0!==t&&setTimeout((()=>{document.documentElement.scrollTop=t,document.body.scrollTop=t}),0),window.hasOwnProperty("CookieInformation")&&(CookieInformation._fireEventOnConsentGiven(),function(){const e=document.getElementsByClassName("consent-placeholder");if(e)for(var t=0;t<e.length;t++)!1===CookieInformation.getConsentGivenFor(e[t].getAttribute("data-category"))?e[t].style.display="block":e[t].style.display="none"}())})),s(2862);var n=!!document.querySelector(".article-image-title-container"),r=!!document.querySelector(".article-content");s(55471),s(68468),s(50867),s(6878),s(1237),s(64),s(75955),s(41836),s(39967),s(6621),s(48629),s(40480),s(40379),document.querySelector("usn-hybrid-search")&&Promise.resolve().then(s.t.bind(s,48629,23)),document.querySelector('form.ctform input[type="email"]')&&Promise.resolve().then(s.bind(s,40480)),document.querySelector(".usn-logos-tile")&&s.e(182).then(s.bind(s,47959)),document.querySelector("form.ctform")&&s.e(481).then(s.bind(s,26080)),document.querySelector(".dropdown-toggle")&&s.e(361).then(s.bind(s,32464)),document.querySelector(".info-row-collapse")&&s.e(927).then(s.t.bind(s,15930,23)),document.querySelector(".form-manager-tester")&&s.e(913).then(s.t.bind(s,55843,23));var i=s(73317);document.querySelector(".responsive-focuspoint")&&s.e(125).then(s.t.bind(s,48662,23)),document.querySelector(".oriaSearchTile")&&s.e(415).then(s.t.bind(s,44355,23)),$(document).ready((function(){document.querySelector("textarea.ckeditor")&&(window.CKEDITOR_BASEPATH="/javascript/lib/ckeditor/",function(e,t=!0){return new Promise(((n,r)=>{if(document.querySelector(`script[src="${e}"]`))return n();const i=document.createElement("script");i.toggleAttribute("async",t),i.onload=n,i.onerror=r,i.src=e,document.head.appendChild(i)}))}("/javascript/lib/ckeditor/ckeditor.js").then((()=>{document.querySelectorAll("textarea.ckeditor").forEach((e=>{CKEDITOR.replace(e)}))}))),document.querySelector(".process-link-list")&&s.e(140).then(s.bind(s,13619)),document.querySelector(".room-info-button")&&s.e(625).then(s.bind(s,78575)),document.querySelector(".job-vacancies-tile")&&s.e(895).then(s.bind(s,48787)),document.querySelector(".swiper-container")&&s.e(896).then(s.bind(s,79267));var t=$(".header-wrapper"),o=0,a=function(){o=t.outerHeight(),$("body").css("padding-top",o),t.hasClass("headroom--unpinned")&&t.css("top",-1*o)};if(a(),$(window).on("resize load",a),window.collapseHeadroom=()=>{setTimeout((()=>{a(),t.css("top",-1*o),t.removeClass("headroom--pinned").addClass("headroom--unpinned")}),100)},t.css({position:"fixed",top:0}),new i(t[0],{offset:t.outerHeight(),onPin:function(){t.css("top",0)},onUnpin:function(){a(),t.css("top",-1*o)}}).init(),Array.from(document.querySelectorAll(".usn-keyword")).forEac
2h((e=>{e.addEventListener("click",(function(){!function(e,t){let n=document.querySelector("#usn-global-modal"),r=n.querySelector("[slot='header']"),i=n.querySelector("[slot='content']");r.innerHTML=e,i.innerHTML=t,n.state="opened"}(this.innerText,this.getAttribute("data-explanation"))}))})),$.ajaxSetup({cache:!1}),[].concat.apply([],document.querySelectorAll("form.ctform input,form.ctform select,form.ctform textarea")).forEach((function(e){e.addEventListener("invalid",(function(){setTimeout((function(){a(),t.css("top",-1*o),t.removeClass("headroom--pinned").addClass("headroom--unpinned")}),100)}))})),window.location.hash){const e=CSS.escape(window.location.hash.substring(1)),t=`#${e}, [name=${e}]`;Array.from(document.querySelectorAll(t)).length>0&&window.collapseHeadroom()}document.querySelectorAll(".smart-guide-item-list-wrapper .roleWrapper").length>0&&s.e(347).then(s.t.bind(s,16863,23));let u=document.querySelectorAll(".studyplan-app");u.length>0&&s.e(967).then(s.bind(s,69852)),u=document.querySelectorAll(".room-week-schedule-tile"),u.length>0&&s.e(917).then(s.t.bind(s,56064,23)).then((()=>{w(".week-calendar","mySchedule",{locale:$(".week-calendar").attr("data-locale-full-calendar"),buttonText:{today:$(".week-calendar").attr("data-lang-go-to-today")}})})),u=document.querySelectorAll(".on-behalf-of-select"),u.length>0&&s.e(267).then(s.bind(s,10789));var l=document.querySelectorAll("[data-flatpickr]");l.length>0&&s.e(249).then(s.bind(s,85219)).then((e=>{$.each(l,(function(t,n){e.flatpickr(n,$(n).data("flatpickr"))}))})),document.querySelector('input[type="date"]')&&s.e(966).then(s.t.bind(s,2421,23)),document.querySelector(".article-grid-list")&&s.e(251).then(s.t.bind(s,76605,23)),n&&s.e(774).then(s.t.bind(s,1606,23)).then((()=>{$(document).articleImageTitle()})),$("#usn-directedit .toggle").click((function(e){e.preventDefault();var t=$($(this).attr("href"));t.hasClass("closed")?t.removeClass("closed"):t.addClass("closed")})),document.querySelector("#usn-directedit")&&s.e(813).then(s.t.bind(s,75992,23)).then((()=>{$("#usn-directedit").usnDirectEditPanel({enableLayers:!1})})),$("#study-selection-info").on("shown.bs.collapse",(function(){$(this).find("input[type=text]").focus(),a()})),$("#study-selection-info").on("hidden.bs.collapse",(function(){a()})),$("#study-selection-info").on("hide.bs.collapse",(function(){$(this).parent().find("span.closed").toggleClass("hidden"),$(this).parent().find("span.open").toggleClass("hidden")})),$("#study-selection-info").on("show.bs.collapse",(function(){$(this).parent().find("span.closed").toggleClass("hidden"),$(this).parent().find("span.open").toggleClass("hidden")})),document.querySelector("#study-selection-info, .study-select")&&s.e(16).then(s.t.bind(s,20114,23)).then((()=>{$("#study-selection-info, .study-select").studyselection({filterUrl:$("#study-selection-info form").prop("action")})})),$("img[data-src]").each((function(){$(this).attr("src",$(this).data("src"))})),$("select.redirect").bind("change",(function(){$(this).val().length&&(window.location=$(this).val())})),$('a[role="tab"]').on("click",(function(e){e.preventDefault(),$(this).tab("show")})),$("ul.remember-tabs > li > a").on("shown.bs.tab",(function(e){e.preventDefault();var t=$(e.target).attr("href").substr(1);window.location.hash="#!"+t}));var c=window.location.hash;$('ul.remember-tabs > li > a[href="#'+c.substr(2)+'"]').tab("show");var p={lines:9,length:36,width:12,radius:49,scale:.5,corners:1,color:"#000",opacity:.25,rotate:0,direction:1,speed:1,trail:60,fps:20,zIndex:0,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1},f=$(".studyplan-search form");f.on("submit",(function(t){t.preventDefault();var n=$(this),r=n.find('button[type="submit"]:first');r.attr("disabled",!0);var i=n.siblings(".filter-result"),o=i.find("table:first");o.hide();var s=o.children("tbody");s.html("");var a=i.children(".alert");a.hide();var u=i.children(".message");u.hide();var l=new e(p).spin(i[0]);$.get($(this).attr("action"),$(this).serialize(),(function(e){l.stop(),r.attr("disabled",!1),e.length>0?(o.show(),$.each(e,(function(e,t){s.append('<tr><td><a href="/article'+t.id+'.html" title="'+t.name+'">'+t.name+"</a></td>"+(void 0!==t.level?"<td>"+t.level+"</td>":"")+"<td>"+t.point+"</td><td>"+t.semester+"</td><td>"+t.faculty+"</td></tr>")})),e.length>=200&&a.show()):u.show()}),"json")}));var d=!1;if(f.length>0){var h=[f.find("input[name=study]"),f.find("select[name=faculty]"),f.find("select[name=institute]"),f.find("select[name=semester]"),f.find("select[name=year]")];$.each(h,(function(e,t){null!=t&&t.val().length>0&&(d=!0)})),d&&f.submit()}$(".find-employee").find("select").on("change",(function(){$(this).parents("form").submit()}));var m=$('.find-employee input[name="q"]');if(m&&m.length){var g=m.val();m.focus(),m.val("").val(g)}var v=$('.room-search input[name="q"]');if(v&&v.length){var y=v.val();v.focus(),v.val("").val(y)}var b=$('.search-result .tab-content.active input[name="q"]');if(b&&b.length){var _=b.val();b.focus(),b.val("").val(_)}if($("#files").length){let t=function(t,n,r,i){$("#files").html("");var o=new e(p).spin($("#files")[0]);$.get("/xmlhttprequest.php",{service:"foldersandfiles.filelist",tileInstanceId:n,cId:t,folderId:r,sortDirection:i},(function(e){if(e.length>0){var t="<ul>";$.each(e,(function(e,n){t+='<li class="file-view" data-href="'+n.href+'"><span class="glyphicon glyphicon-download-alt"></span> <div><span class="file-name block">'+n.name+' <span class="file-size">('+n.filetype.toUpperCase()+", "+n.size.num+" "+n.size.unit+')</span></span><span class="file-description block">'+n.text+"</span></div></li>"})),t+="</ul>",o.stop(),$("#files").html(t),$("#files").find("li").on("click",(function(){window.location=$(this).data("href")}))}else $("#files").html('<div class="alert alert-warning"><span class="glyphicon glyphicon-file"></span> Ingen filer funnet</div>')}),"json")},n=function(e,n,r,i,o){$.get("/xmlhttprequest.php",{service:"foldersandfiles.structure",folderId:r,showRoot:i,tileInstanceId:n,cId:e,sortDirection:o},(function(r){$("#tree").treeview({data:r,levels:1,selectedBackColor:"#3bafa2",onNodeSelected:function(r,i){t(e,n,i.href,o),window.location.hash=i.nodeId},onNodeExpanded:function(e,t){$("#tree").treeview("collapseAll",{silent:!0}),$("#tree").treeview("revealNode",[t.nodeId,{silent:!0}]),$("#tree").treeview("expandNode",[t.nodeId,{silent:!0}])}});var i=0;-1!=location.href.indexOf("#")&&(i=window.location.hash.substring(1));var s=$("#tree").treeview("getNode",i);$("#tree").treeview("selectNode",s),$("#tree").treeview("revealNode",s)}),"json")};$("#tree").length?n($("#files").data("cid"),$("#files").data("tileinstanceid"),$("#files").data("folder"),$("#files").data("root"),$("#files").data("sortdirection")):t($("#files").data("cid"),$("#files").data("tileinstanceid"),$("#files").data("folder"),$("#files").data("sortdirection"))}function w(e,t,n){var r=$(e);void 0===n&&(n={}),r.length>0&&$.each(r,(function(e,r){$(r)[t](n)}))}r&&s.e(362).then(s.t.bind(s,70900,23)).then((()=>{$(".article-content").usnResponsiveTable()})),document.querySelector(".articlelist-filter")&&s.e(190).then(s.t.bind(s,94220,23)).then((()=>{$(".articlelist-filter").articlelistFilter()})),document.querySelector(".usn-collapse-js")&&s.e(704).then(s.bind(s,79126)).then((()=>{$(".usn-collapse-js").articleCollapsePanel({startOpenedForClasses:[{elementClass:"panel-do-you-have-question",breakpoint:"xs",useNot:!0}]})})),$('[id*="usn-modal"]').modal("show"),document.querySelectorAll('form[name="oriaSearchForm"]').forEach(((e,t)=>{e.addEventListener("submit",(e=>{""===e.currentTarget.querySelector('input[name="query"]').value&&(e.preventDefault(),window.location.replace(e.currentTarget.getAttribute("data-oria-base-url")))}))})),s.e(529).then(s.bind(s,40529)),document.querySelector(".grouped-services.tile-common")&&s.e(144).then(s.t.bind(s,10707,23)).then((()=>{w($(".grouped-services.tile-common"),"usnGroupedServices")}))}
2));!function(){for(var e={},t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var r=t[n].split("=");if(void 0===e[r[0]])e[r[0]]=decodeURIComponent(r[1]);else if("string"==typeof e[r[0]]){var i=[e[r[0]],decodeURIComponent(r[1])];e[r[0]]=i}else e[r[0]].push(decodeURIComponent(r[1]))}}()}()}(); 3//# sourceMappingURL=usn.map.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.