@ukpc-lib/react 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +114 -114
- package/package.json +100 -100
- package/dist/components/GlobalMenu/components/Dropdown.d.ts +0 -8
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +0 -15
- package/dist/components/GlobalMenu/helpers/index.d.ts +0 -0
- package/dist/components/GlobalMenu/icons/IconCollapsed.d.ts +0 -2
- package/dist/components/GlobalMenu/icons/IconDown.d.ts +0 -3
- package/dist/components/GlobalMenu/icons/IconExpand.d.ts +0 -2
- package/dist/components/GlobalMenu/icons/IconLogout.d.ts +0 -2
- package/dist/components/GlobalMenu/index.d.ts +0 -7
- package/dist/components/GlobalMenu/models/MenuItemDto.d.ts +0 -8
- package/dist/components/GlobalMenu/models/index.d.ts +0 -1
- package/dist/components/LanguageSwitcher/index.d.ts +0 -1
- package/dist/components/LogoutConfirmModal/index.d.ts +0 -7
- package/dist/components/NoData/index.d.ts +0 -2
- package/dist/components/NotFoundPage/index.d.ts +0 -4
- package/dist/components/PopUp/index.d.ts +0 -8
- package/dist/components/PopUp/types.d.ts +0 -26
- package/dist/components/ShadownDom/index.d.ts +0 -8
- package/dist/components/StyledAutocomplete/AutocompleteOption.d.ts +0 -11
- package/dist/components/StyledAutocomplete/StyledAutocomplete.d.ts +0 -29
- package/dist/components/StyledAutocomplete/helpers.d.ts +0 -1
- package/dist/components/StyledAutocomplete/index.d.ts +0 -3
- package/dist/components/StyledAutocomplete/types.d.ts +0 -46
- package/dist/components/StyledAutocomplete/useStyledAutocomplete.d.ts +0 -28
- package/dist/components/StyledDateRangePicker/BlockIcon.d.ts +0 -4
- package/dist/components/StyledDateRangePicker/index.d.ts +0 -13
- package/dist/components/Toast/ToastConfig.d.ts +0 -2
- package/dist/components/Toast/icons/ErrorIcon.d.ts +0 -1
- package/dist/components/Toast/icons/SuccessIcon.d.ts +0 -1
- package/dist/components/Toast/icons/WarningIcon.d.ts +0 -1
- package/dist/components/Toast/index.d.ts +0 -5
- package/dist/components/Topbar/icons/MessageIcon.d.ts +0 -4
- package/dist/components/Topbar/icons/NotificationIcon.d.ts +0 -3
- package/dist/components/Topbar/index.d.ts +0 -29
- package/dist/components/UnauthorizedPage/index.d.ts +0 -1
- package/dist/components/index.cjs +0 -65
- package/dist/components/index.d.ts +0 -9
- package/dist/components/index.js +0 -10045
- package/dist/index.css +0 -1
- package/dist/index.es-02587e7d.js +0 -19565
- package/dist/index.es-0621a3fe.cjs +0 -173
- package/dist/share/AuthProvider/index.d.ts +0 -20
- package/dist/share/helpers/index.d.ts +0 -1
- package/dist/share/hooks/index.d.ts +0 -1
- package/dist/share/hooks/useGetPermission.d.ts +0 -1
- package/dist/share/index.cjs +0 -1
- package/dist/share/index.d.ts +0 -5
- package/dist/share/index.js +0 -78
- package/dist/share/interceptor/index.d.ts +0 -7
- package/dist/share/interceptor/interceptor.const.d.ts +0 -6
- package/dist/share/permissions/HasPermission.d.ts +0 -9
- package/dist/share/permissions/PermissionRoute.d.ts +0 -9
- package/dist/share/permissions/index.d.ts +0 -2
- package/web-components-bundle/global-menu/index.cjs +0 -91
- package/web-components-bundle/global-menu/index.js +0 -18099
- package/web-components-bundle/global-topbar/index.cjs +0 -3
- package/web-components-bundle/global-topbar/index.js +0 -228
- package/web-components-bundle/index-3a3447c8.cjs +0 -69
- package/web-components-bundle/index-688657b9.js +0 -9352
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";const V=require("../index-3a3447c8.cjs");function Fg(e,t){return function(){return e.apply(t,arguments)}}const{toString:ZS}=Object.prototype,{getPrototypeOf:oh}=Object,pu=(e=>t=>{const n=ZS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Cr=e=>(e=e.toLowerCase(),t=>pu(t)===e),mu=e=>t=>typeof t===e,{isArray:Zs}=Array,Qa=mu("undefined");function JS(e){return e!==null&&!Qa(e)&&e.constructor!==null&&!Qa(e.constructor)&&qn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wg=Cr("ArrayBuffer");function QS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wg(e.buffer),t}const eE=mu("string"),qn=mu("function"),Bg=mu("number"),gu=e=>e!==null&&typeof e=="object",tE=e=>e===!0||e===!1,Wl=e=>{if(pu(e)!=="object")return!1;const t=oh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nE=Cr("Date"),rE=Cr("File"),iE=Cr("Blob"),sE=Cr("FileList"),aE=e=>gu(e)&&qn(e.pipe),oE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qn(e.append)&&((t=pu(e))==="formdata"||t==="object"&&qn(e.toString)&&e.toString()==="[object FormData]"))},lE=Cr("URLSearchParams"),uE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function lo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,a;if(typeof e!="object"&&(e=[e]),Zs(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),f=l.length;let d;for(i=0;i<f;i++)d=l[i],t.call(null,e[d],d,e)}}function jg(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,a;for(;i-- >0;)if(a=n[i],t===a.toLowerCase())return a;return null}const Vg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Yg=e=>!Qa(e)&&e!==Vg;function Of(){const{caseless:e}=Yg(this)&&this||{},t={},n=(i,a)=>{const l=e&&jg(t,a)||a;Wl(t[l])&&Wl(i)?t[l]=Of(t[l],i):Wl(i)?t[l]=Of({},i):Zs(i)?t[l]=i.slice():t[l]=i};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&lo(arguments[i],n);return t}const cE=(e,t,n,{allOwnKeys:i}={})=>(lo(t,(a,l)=>{n&&qn(a)?e[l]=Fg(a,n):e[l]=a},{allOwnKeys:i}),e),fE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hE=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},dE=(e,t,n,i)=>{let a,l,f;const d={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),l=a.length;l-- >0;)f=a[l],(!i||i(f,e,t))&&!d[f]&&(t[f]=e[f],d[f]=!0);e=n!==!1&&oh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},mE=e=>{if(!e)return null;if(Zs(e))return e;let t=e.length;if(!Bg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&oh(Uint8Array)),yE=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=i.next())&&!a.done;){const l=a.value;t.call(e,l[0],l[1])}},vE=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},xE=Cr("HTMLFormElement"),bE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,a){return i.toUpperCase()+a}),$p=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wE=Cr("RegExp"),Ug=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};lo(n,(a,l)=>{let f;(f=t(a,l,e))!==!1&&(i[l]=f||a)}),Object.defineProperties(e,i)},_E=e=>{Ug(e,(t,n)=>{if(qn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(qn(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},SE=(e,t)=>{const n={},i=a=>{a.forEach(l=>{n[l]=!0})};return Zs(e)?i(e):i(String(e).split(t)),n},EE=()=>{},DE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),sf="abcdefghijklmnopqrstuvwxyz",Xp="0123456789",Hg={DIGIT:Xp,ALPHA:sf,ALPHA_DIGIT:sf+sf.toUpperCase()+Xp},TE=(e=16,t=Hg.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function CE(e){return!!(e&&qn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AE=e=>{const t=new Array(10),n=(i,a)=>{if(gu(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[a]=i;const l=Zs(i)?[]:{};return lo(i,(f,d)=>{const y=n(f,a+1);!Qa(y)&&(l[d]=y)}),t[a]=void 0,l}}return i};return n(e,0)},kE=Cr("AsyncFunction"),PE=e=>e&&(gu(e)||qn(e))&&qn(e.then)&&qn(e.catch),ne={isArray:Zs,isArrayBuffer:Wg,isBuffer:JS,isFormData:oE,isArrayBufferView:QS,isString:eE,isNumber:Bg,isBoolean:tE,isObject:gu,isPlainObject:Wl,isUndefined:Qa,isDate:nE,isFile:rE,isBlob:iE,isRegExp:wE,isFunction:qn,isStream:aE,isURLSearchParams:lE,isTypedArray:gE,isFileList:sE,forEach:lo,merge:Of,extend:cE,trim:uE,stripBOM:fE,inherits:hE,toFlatObject:dE,kindOf:pu,kindOfTest:Cr,endsWith:pE,toArray:mE,forEachEntry:yE,matchAll:vE,isHTMLForm:xE,hasOwnProperty:$p,hasOwnProp:$p,reduceDescriptors:Ug,freezeMethods:_E,toObjectSet:SE,toCamelCase:bE,noop:EE,toFiniteNumber:DE,findKey:jg,global:Vg,isContextDefined:Yg,ALPHABET:Hg,generateString:TE,isSpecCompliantForm:CE,toJSONObject:AE,isAsyncFn:kE,isThenable:PE};function ze(e,t,n,i,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a)}ne.inherits(ze,Error,{toJSON:function(){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:ne.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const zg=ze.prototype,qg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{qg[e]={value:e}});Object.defineProperties(ze,qg);Object.defineProperty(zg,"isAxiosError",{value:!0});ze.from=(e,t,n,i,a,l)=>{const f=Object.create(zg);return ne.toFlatObject(e,f,function(y){return y!==Error.prototype},d=>d!=="isAxiosError"),ze.call(f,e.message,t,n,i,a),f.cause=e,f.name=e.name,l&&Object.assign(f,l),f};const OE=null;function Mf(e){return ne.isPlainObject(e)||ne.isArray(e)}function Gg(e){return ne.endsWith(e,"[]")?e.slice(0,-2):e}function Kp(e,t,n){return e?e.concat(t).map(function(a,l){return a=Gg(a),!n&&l?"["+a+"]":a}).join(n?".":""):t}function ME(e){return ne.isArray(e)&&!e.some(Mf)}const RE=ne.toFlatObject(ne,{},null,function(t){return/^is[A-Z]/.test(t)});function yu(e,t,n){if(!ne.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ne.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(R,H){return!ne.isUndefined(H[R])});const i=n.metaTokens,a=n.visitor||_,l=n.dots,f=n.indexes,y=(n.Blob||typeof Blob<"u"&&Blob)&&ne.isSpecCompliantForm(t);if(!ne.isFunction(a))throw new TypeError("visitor must be a function");function v(M){if(M===null)return"";if(ne.isDate(M))return M.toISOString();if(!y&&ne.isBlob(M))throw new ze("Blob is not supported. Use a Buffer instead.");return ne.isArrayBuffer(M)||ne.isTypedArray(M)?y&&typeof Blob=="function"?new Blob([M]):Buffer.from(M):M}function _(M,R,H){let F=M;if(M&&!H&&typeof M=="object"){if(ne.endsWith(R,"{}"))R=i?R:R.slice(0,-2),M=JSON.stringify(M);else if(ne.isArray(M)&&ME(M)||(ne.isFileList(M)||ne.endsWith(R,"[]"))&&(F=ne.toArray(M)))return R=Gg(R),F.forEach(function(G,oe){!(ne.isUndefined(G)||G===null)&&t.append(f===!0?Kp([R],oe,l):f===null?R:R+"[]",v(G))}),!1}return Mf(M)?!0:(t.append(Kp(H,R,l),v(M)),!1)}const x=[],A=Object.assign(RE,{defaultVisitor:_,convertValue:v,isVisitable:Mf});function P(M,R){if(!ne.isUndefined(M)){if(x.indexOf(M)!==-1)throw Error("Circular reference detected in "+R.join("."));x.push(M),ne.forEach(M,function(F,Z){(!(ne.isUndefined(F)||F===null)&&a.call(t,F,ne.isString(Z)?Z.trim():Z,R,A))===!0&&P(F,R?R.concat(Z):[Z])}),x.pop()}}if(!ne.isObject(e))throw new TypeError("data must be an object");return P(e),t}function Zp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function lh(e,t){this._pairs=[],e&&yu(e,this,t)}const $g=lh.prototype;$g.append=function(t,n){this._pairs.push([t,n])};$g.toString=function(t){const n=t?function(i){return t.call(this,i,Zp)}:Zp;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function LE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xg(e,t,n){if(!t)return e;const i=n&&n.encode||LE,a=n&&n.serialize;let l;if(a?l=a(t,n):l=ne.isURLSearchParams(t)?t.toString():new lh(t,n).toString(i),l){const f=e.indexOf("#");f!==-1&&(e=e.slice(0,f)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class IE{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ne.forEach(this.handlers,function(i){i!==null&&t(i)})}}const Jp=IE,Kg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NE=typeof URLSearchParams<"u"?URLSearchParams:lh,FE=typeof FormData<"u"?FormData:null,WE=typeof Blob<"u"?Blob:null,BE={isBrowser:!0,classes:{URLSearchParams:NE,FormData:FE,Blob:WE},protocols:["http","https","file","blob","url","data"]},Zg=typeof window<"u"&&typeof document<"u",jE=(e=>Zg&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),VE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),YE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zg,hasStandardBrowserEnv:jE,hasStandardBrowserWebWorkerEnv:VE},Symbol.toStringTag,{value:"Module"})),Er={...YE,...BE};function UE(e,t){return yu(e,new Er.classes.URLSearchParams,Object.assign({visitor:function(n,i,a,l){return Er.isNode&&ne.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function HE(e){return ne.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function zE(e){const t={},n=Object.keys(e);let i;const a=n.length;let l;for(i=0;i<a;i++)l=n[i],t[l]=e[l];return t}function Jg(e){function t(n,i,a,l){let f=n[l++];if(f==="__proto__")return!0;const d=Number.isFinite(+f),y=l>=n.length;return f=!f&&ne.isArray(a)?a.length:f,y?(ne.hasOwnProp(a,f)?a[f]=[a[f],i]:a[f]=i,!d):((!a[f]||!ne.isObject(a[f]))&&(a[f]=[]),t(n,i,a[f],l)&&ne.isArray(a[f])&&(a[f]=zE(a[f])),!d)}if(ne.isFormData(e)&&ne.isFunction(e.entries)){const n={};return ne.forEachEntry(e,(i,a)=>{t(HE(i),a,n,0)}),n}return null}function qE(e,t,n){if(ne.isString(e))try{return(t||JSON.parse)(e),ne.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const uh={transitional:Kg,adapter:["xhr","http"],transformRequest:[function(t,n){const i=n.getContentType()||"",a=i.indexOf("application/json")>-1,l=ne.isObject(t);if(l&&ne.isHTMLForm(t)&&(t=new FormData(t)),ne.isFormData(t))return a&&a?JSON.stringify(Jg(t)):t;if(ne.isArrayBuffer(t)||ne.isBuffer(t)||ne.isStream(t)||ne.isFile(t)||ne.isBlob(t))return t;if(ne.isArrayBufferView(t))return t.buffer;if(ne.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(l){if(i.indexOf("application/x-www-form-urlencoded")>-1)return UE(t,this.formSerializer).toString();if((d=ne.isFileList(t))||i.indexOf("multipart/form-data")>-1){const y=this.env&&this.env.FormData;return yu(d?{"files[]":t}:t,y&&new y,this.formSerializer)}}return l||a?(n.setContentType("application/json",!1),qE(t)):t}],transformResponse:[function(t){const n=this.transitional||uh.transitional,i=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&ne.isString(t)&&(i&&!this.responseType||a)){const f=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(d){if(f)throw d.name==="SyntaxError"?ze.from(d,ze.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Er.classes.FormData,Blob:Er.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ne.forEach(["delete","get","head","post","put","patch"],e=>{uh.headers[e]={}});const ch=uh,GE=ne.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"]),$E=e=>{const t={};let n,i,a;return e&&e.split(`
|
|
2
|
-
`).forEach(function(f){a=f.indexOf(":"),n=f.substring(0,a).trim().toLowerCase(),i=f.substring(a+1).trim(),!(!n||t[n]&&GE[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Qp=Symbol("internals");function Ba(e){return e&&String(e).trim().toLowerCase()}function Bl(e){return e===!1||e==null?e:ne.isArray(e)?e.map(Bl):String(e)}function XE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const KE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function af(e,t,n,i,a){if(ne.isFunction(i))return i.call(this,t,n);if(a&&(t=n),!!ne.isString(t)){if(ne.isString(i))return t.indexOf(i)!==-1;if(ne.isRegExp(i))return i.test(t)}}function ZE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function JE(e,t){const n=ne.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(a,l,f){return this[i].call(this,t,a,l,f)},configurable:!0})})}class vu{constructor(t){t&&this.set(t)}set(t,n,i){const a=this;function l(d,y,v){const _=Ba(y);if(!_)throw new Error("header name must be a non-empty string");const x=ne.findKey(a,_);(!x||a[x]===void 0||v===!0||v===void 0&&a[x]!==!1)&&(a[x||y]=Bl(d))}const f=(d,y)=>ne.forEach(d,(v,_)=>l(v,_,y));return ne.isPlainObject(t)||t instanceof this.constructor?f(t,n):ne.isString(t)&&(t=t.trim())&&!KE(t)?f($E(t),n):t!=null&&l(n,t,i),this}get(t,n){if(t=Ba(t),t){const i=ne.findKey(this,t);if(i){const a=this[i];if(!n)return a;if(n===!0)return XE(a);if(ne.isFunction(n))return n.call(this,a,i);if(ne.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ba(t),t){const i=ne.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||af(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let a=!1;function l(f){if(f=Ba(f),f){const d=ne.findKey(i,f);d&&(!n||af(i,i[d],d,n))&&(delete i[d],a=!0)}}return ne.isArray(t)?t.forEach(l):l(t),a}clear(t){const n=Object.keys(this);let i=n.length,a=!1;for(;i--;){const l=n[i];(!t||af(this,this[l],l,t,!0))&&(delete this[l],a=!0)}return a}normalize(t){const n=this,i={};return ne.forEach(this,(a,l)=>{const f=ne.findKey(i,l);if(f){n[f]=Bl(a),delete n[l];return}const d=t?ZE(l):String(l).trim();d!==l&&delete n[l],n[d]=Bl(a),i[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ne.forEach(this,(i,a)=>{i!=null&&i!==!1&&(n[a]=t&&ne.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
3
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(a=>i.set(a)),i}static accessor(t){const i=(this[Qp]=this[Qp]={accessors:{}}).accessors,a=this.prototype;function l(f){const d=Ba(f);i[d]||(JE(a,f),i[d]=!0)}return ne.isArray(t)?t.forEach(l):l(t),this}}vu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ne.reduceDescriptors(vu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});ne.freezeMethods(vu);const Zr=vu;function of(e,t){const n=this||ch,i=t||n,a=Zr.from(i.headers);let l=i.data;return ne.forEach(e,function(d){l=d.call(n,l,a.normalize(),t?t.status:void 0)}),a.normalize(),l}function Qg(e){return!!(e&&e.__CANCEL__)}function uo(e,t,n){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,n),this.name="CanceledError"}ne.inherits(uo,ze,{__CANCEL__:!0});function QE(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const eD=Er.hasStandardBrowserEnv?{write(e,t,n,i,a,l){const f=[e+"="+encodeURIComponent(t)];ne.isNumber(n)&&f.push("expires="+new Date(n).toGMTString()),ne.isString(i)&&f.push("path="+i),ne.isString(a)&&f.push("domain="+a),l===!0&&f.push("secure"),document.cookie=f.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function tD(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function nD(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ey(e,t){return e&&!tD(t)?nD(e,t):t}const rD=Er.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function a(l){let f=l;return t&&(n.setAttribute("href",f),f=n.href),n.setAttribute("href",f),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(f){const d=ne.isString(f)?a(f):f;return d.protocol===i.protocol&&d.host===i.host}}():function(){return function(){return!0}}();function iD(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function sD(e,t){e=e||10;const n=new Array(e),i=new Array(e);let a=0,l=0,f;return t=t!==void 0?t:1e3,function(y){const v=Date.now(),_=i[l];f||(f=v),n[a]=y,i[a]=v;let x=l,A=0;for(;x!==a;)A+=n[x++],x=x%e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),v-f<t)return;const P=_&&v-_;return P?Math.round(A*1e3/P):void 0}}function em(e,t){let n=0;const i=sD(50,250);return a=>{const l=a.loaded,f=a.lengthComputable?a.total:void 0,d=l-n,y=i(d),v=l<=f;n=l;const _={loaded:l,total:f,progress:f?l/f:void 0,bytes:d,rate:y||void 0,estimated:y&&f&&v?(f-l)/y:void 0,event:a};_[t?"download":"upload"]=!0,e(_)}}const aD=typeof XMLHttpRequest<"u",oD=aD&&function(e){return new Promise(function(n,i){let a=e.data;const l=Zr.from(e.headers).normalize();let{responseType:f,withXSRFToken:d}=e,y;function v(){e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y)}let _;if(ne.isFormData(a)){if(Er.hasStandardBrowserEnv||Er.hasStandardBrowserWebWorkerEnv)l.setContentType(!1);else if((_=l.getContentType())!==!1){const[R,...H]=_?_.split(";").map(F=>F.trim()).filter(Boolean):[];l.setContentType([R||"multipart/form-data",...H].join("; "))}}let x=new XMLHttpRequest;if(e.auth){const R=e.auth.username||"",H=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";l.set("Authorization","Basic "+btoa(R+":"+H))}const A=ey(e.baseURL,e.url);x.open(e.method.toUpperCase(),Xg(A,e.params,e.paramsSerializer),!0),x.timeout=e.timeout;function P(){if(!x)return;const R=Zr.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),F={data:!f||f==="text"||f==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:R,config:e,request:x};QE(function(G){n(G),v()},function(G){i(G),v()},F),x=null}if("onloadend"in x?x.onloadend=P:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(P)},x.onabort=function(){x&&(i(new ze("Request aborted",ze.ECONNABORTED,e,x)),x=null)},x.onerror=function(){i(new ze("Network Error",ze.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let H=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const F=e.transitional||Kg;e.timeoutErrorMessage&&(H=e.timeoutErrorMessage),i(new ze(H,F.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,x)),x=null},Er.hasStandardBrowserEnv&&(d&&ne.isFunction(d)&&(d=d(e)),d||d!==!1&&rD(A))){const R=e.xsrfHeaderName&&e.xsrfCookieName&&eD.read(e.xsrfCookieName);R&&l.set(e.xsrfHeaderName,R)}a===void 0&&l.setContentType(null),"setRequestHeader"in x&&ne.forEach(l.toJSON(),function(H,F){x.setRequestHeader(F,H)}),ne.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),f&&f!=="json"&&(x.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&x.addEventListener("progress",em(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",em(e.onUploadProgress)),(e.cancelToken||e.signal)&&(y=R=>{x&&(i(!R||R.type?new uo(null,e,x):R),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const M=iD(A);if(M&&Er.protocols.indexOf(M)===-1){i(new ze("Unsupported protocol "+M+":",ze.ERR_BAD_REQUEST,e));return}x.send(a||null)})},Rf={http:OE,xhr:oD};ne.forEach(Rf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const tm=e=>`- ${e}`,lD=e=>ne.isFunction(e)||e===null||e===!1,ty={getAdapter:e=>{e=ne.isArray(e)?e:[e];const{length:t}=e;let n,i;const a={};for(let l=0;l<t;l++){n=e[l];let f;if(i=n,!lD(n)&&(i=Rf[(f=String(n)).toLowerCase()],i===void 0))throw new ze(`Unknown adapter '${f}'`);if(i)break;a[f||"#"+l]=i}if(!i){const l=Object.entries(a).map(([d,y])=>`adapter ${d} `+(y===!1?"is not supported by the environment":"is not available in the build"));let f=t?l.length>1?`since :
|
|
4
|
-
`+l.map(tm).join(`
|
|
5
|
-
`):" "+tm(l[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return i},adapters:Rf};function lf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new uo(null,e)}function nm(e){return lf(e),e.headers=Zr.from(e.headers),e.data=of.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ty.getAdapter(e.adapter||ch.adapter)(e).then(function(i){return lf(e),i.data=of.call(e,e.transformResponse,i),i.headers=Zr.from(i.headers),i},function(i){return Qg(i)||(lf(e),i&&i.response&&(i.response.data=of.call(e,e.transformResponse,i.response),i.response.headers=Zr.from(i.response.headers))),Promise.reject(i)})}const rm=e=>e instanceof Zr?e.toJSON():e;function $s(e,t){t=t||{};const n={};function i(v,_,x){return ne.isPlainObject(v)&&ne.isPlainObject(_)?ne.merge.call({caseless:x},v,_):ne.isPlainObject(_)?ne.merge({},_):ne.isArray(_)?_.slice():_}function a(v,_,x){if(ne.isUndefined(_)){if(!ne.isUndefined(v))return i(void 0,v,x)}else return i(v,_,x)}function l(v,_){if(!ne.isUndefined(_))return i(void 0,_)}function f(v,_){if(ne.isUndefined(_)){if(!ne.isUndefined(v))return i(void 0,v)}else return i(void 0,_)}function d(v,_,x){if(x in t)return i(v,_);if(x in e)return i(void 0,v)}const y={url:l,method:l,data:l,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:d,headers:(v,_)=>a(rm(v),rm(_),!0)};return ne.forEach(Object.keys(Object.assign({},e,t)),function(_){const x=y[_]||a,A=x(e[_],t[_],_);ne.isUndefined(A)&&x!==d||(n[_]=A)}),n}const ny="1.6.5",fh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fh[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const im={};fh.transitional=function(t,n,i){function a(l,f){return"[Axios v"+ny+"] Transitional option '"+l+"'"+f+(i?". "+i:"")}return(l,f,d)=>{if(t===!1)throw new ze(a(f," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!im[f]&&(im[f]=!0,console.warn(a(f," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,f,d):!0}};function uD(e,t,n){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const l=i[a],f=t[l];if(f){const d=e[l],y=d===void 0||f(d,l,e);if(y!==!0)throw new ze("option "+l+" must be "+y,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+l,ze.ERR_BAD_OPTION)}}const Lf={assertOptions:uD,validators:fh},Ei=Lf.validators;class Gl{constructor(t){this.defaults=t,this.interceptors={request:new Jp,response:new Jp}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$s(this.defaults,n);const{transitional:i,paramsSerializer:a,headers:l}=n;i!==void 0&&Lf.assertOptions(i,{silentJSONParsing:Ei.transitional(Ei.boolean),forcedJSONParsing:Ei.transitional(Ei.boolean),clarifyTimeoutError:Ei.transitional(Ei.boolean)},!1),a!=null&&(ne.isFunction(a)?n.paramsSerializer={serialize:a}:Lf.assertOptions(a,{encode:Ei.function,serialize:Ei.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let f=l&&ne.merge(l.common,l[n.method]);l&&ne.forEach(["delete","get","head","post","put","patch","common"],M=>{delete l[M]}),n.headers=Zr.concat(f,l);const d=[];let y=!0;this.interceptors.request.forEach(function(R){typeof R.runWhen=="function"&&R.runWhen(n)===!1||(y=y&&R.synchronous,d.unshift(R.fulfilled,R.rejected))});const v=[];this.interceptors.response.forEach(function(R){v.push(R.fulfilled,R.rejected)});let _,x=0,A;if(!y){const M=[nm.bind(this),void 0];for(M.unshift.apply(M,d),M.push.apply(M,v),A=M.length,_=Promise.resolve(n);x<A;)_=_.then(M[x++],M[x++]);return _}A=d.length;let P=n;for(x=0;x<A;){const M=d[x++],R=d[x++];try{P=M(P)}catch(H){R.call(this,H);break}}try{_=nm.call(this,P)}catch(M){return Promise.reject(M)}for(x=0,A=v.length;x<A;)_=_.then(v[x++],v[x++]);return _}getUri(t){t=$s(this.defaults,t);const n=ey(t.baseURL,t.url);return Xg(n,t.params,t.paramsSerializer)}}ne.forEach(["delete","get","head","options"],function(t){Gl.prototype[t]=function(n,i){return this.request($s(i||{},{method:t,url:n,data:(i||{}).data}))}});ne.forEach(["post","put","patch"],function(t){function n(i){return function(l,f,d){return this.request($s(d||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:f}))}}Gl.prototype[t]=n(),Gl.prototype[t+"Form"]=n(!0)});const jl=Gl;class hh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const i=this;this.promise.then(a=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](a);i._listeners=null}),this.promise.then=a=>{let l;const f=new Promise(d=>{i.subscribe(d),l=d}).then(a);return f.cancel=function(){i.unsubscribe(l)},f},t(function(l,f,d){i.reason||(i.reason=new uo(l,f,d),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new hh(function(a){t=a}),cancel:t}}}const cD=hh;function fD(e){return function(n){return e.apply(null,n)}}function hD(e){return ne.isObject(e)&&e.isAxiosError===!0}const If={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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};Object.entries(If).forEach(([e,t])=>{If[t]=e});const dD=If;function ry(e){const t=new jl(e),n=Fg(jl.prototype.request,t);return ne.extend(n,jl.prototype,t,{allOwnKeys:!0}),ne.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return ry($s(e,a))},n}const Tt=ry(ch);Tt.Axios=jl;Tt.CanceledError=uo;Tt.CancelToken=cD;Tt.isCancel=Qg;Tt.VERSION=ny;Tt.toFormData=yu;Tt.AxiosError=ze;Tt.Cancel=Tt.CanceledError;Tt.all=function(t){return Promise.all(t)};Tt.spread=fD;Tt.isAxiosError=hD;Tt.mergeConfig=$s;Tt.AxiosHeaders=Zr;Tt.formToJSON=e=>Jg(ne.isHTMLForm(e)?new FormData(e):e);Tt.getAdapter=ty.getAdapter;Tt.HttpStatusCode=dD;Tt.default=Tt;const pD=Tt;var mD=typeof global=="object"&&global&&global.Object===Object&&global;const gD=mD;var yD=typeof self=="object"&&self&&self.Object===Object&&self,vD=gD||yD||Function("return this")();const iy=vD;var xD=iy.Symbol;const $l=xD;var sy=Object.prototype,bD=sy.hasOwnProperty,wD=sy.toString,ja=$l?$l.toStringTag:void 0;function _D(e){var t=bD.call(e,ja),n=e[ja];try{e[ja]=void 0;var i=!0}catch{}var a=wD.call(e);return i&&(t?e[ja]=n:delete e[ja]),a}var SD=Object.prototype,ED=SD.toString;function DD(e){return ED.call(e)}var TD="[object Null]",CD="[object Undefined]",sm=$l?$l.toStringTag:void 0;function AD(e){return e==null?e===void 0?CD:TD:sm&&sm in Object(e)?_D(e):DD(e)}function kD(e){return e!=null&&typeof e=="object"}var PD="[object Symbol]";function OD(e){return typeof e=="symbol"||kD(e)&&AD(e)==PD}var MD=/\s/;function RD(e){for(var t=e.length;t--&&MD.test(e.charAt(t)););return t}var LD=/^\s+/;function ID(e){return e&&e.slice(0,RD(e)+1).replace(LD,"")}function Xl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var am=0/0,ND=/^[-+]0x[0-9a-f]+$/i,FD=/^0b[01]+$/i,WD=/^0o[0-7]+$/i,BD=parseInt;function om(e){if(typeof e=="number")return e;if(OD(e))return am;if(Xl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ID(e);var n=FD.test(e);return n||WD.test(e)?BD(e.slice(2),n?2:8):ND.test(e)?am:+e}var jD=function(){return iy.Date.now()};const uf=jD;var VD="Expected a function",YD=Math.max,UD=Math.min;function Vl(e,t,n){var i,a,l,f,d,y,v=0,_=!1,x=!1,A=!0;if(typeof e!="function")throw new TypeError(VD);t=om(t)||0,Xl(n)&&(_=!!n.leading,x="maxWait"in n,l=x?YD(om(n.maxWait)||0,t):l,A="trailing"in n?!!n.trailing:A);function P(se){var p=i,ce=a;return i=a=void 0,v=se,f=e.apply(ce,p),f}function M(se){return v=se,d=setTimeout(F,t),_?P(se):f}function R(se){var p=se-y,ce=se-v,ae=t-p;return x?UD(ae,l-ce):ae}function H(se){var p=se-y,ce=se-v;return y===void 0||p>=t||p<0||x&&ce>=l}function F(){var se=uf();if(H(se))return Z(se);d=setTimeout(F,R(se))}function Z(se){return d=void 0,A&&i?P(se):(i=a=void 0,f)}function G(){d!==void 0&&clearTimeout(d),v=0,i=y=a=d=void 0}function oe(){return d===void 0?f:Z(uf())}function re(){var se=uf(),p=H(se);if(i=arguments,a=this,y=se,p){if(d===void 0)return M(y);if(x)return clearTimeout(d),d=setTimeout(F,t),P(y)}return d===void 0&&(d=setTimeout(F,t)),f}return re.cancel=G,re.flush=oe,re}var HD="Expected a function";function zD(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(HD);return Xl(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),Vl(e,t,{leading:i,maxWait:t,trailing:a})}var qD=!!(typeof window<"u"&&window.document&&window.document.createElement),GD=qD;const ay=V.getDefaultExportFromCjs(GD);var Bs=function(){return Bs=Object.assign||function(t){for(var n,i=1,a=arguments.length;i<a;i++){n=arguments[i];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Bs.apply(this,arguments)},Ns=null,lm=null;ay&&window.addEventListener("resize",function(){lm!==window.devicePixelRatio&&(lm=window.devicePixelRatio,Ns=null)});function um(){if(Ns===null){if(typeof document>"u")return Ns=0,Ns;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Ns=n}return Ns}function oy(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ly(e){return!e||!e.ownerDocument?document:e.ownerDocument}var uy=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,a){var l=a.name.match(/data-simplebar-(.+)/);if(l){var f=l[1].replace(/\W+(.)/g,function(d,y){return y.toUpperCase()});switch(a.value){case"true":i[f]=!0;break;case"false":i[f]=!1;break;case void 0:i[f]=!0;break;default:i[f]=a.value}}return i},t);return n};function cy(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function fy(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function hy(e){return".".concat(e.split(" ").join("."))}var $D=Object.freeze({__proto__:null,getElementWindow:oy,getElementDocument:ly,getOptions:uy,addClasses:cy,removeClasses:fy,classNamesToQuery:hy}),Di=oy,cf=ly,XD=uy,Ti=cy,Ci=fy,gn=hy,kl=function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var a=Di(i.el);i.scrollXTicking||(a.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(a.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,Ti(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Ci(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Ti(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Ci(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(a){i.mouseX=a.clientX,i.mouseY=a.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(a){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var l,f;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(l=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(f=i.isWithinBounds(i.axis.y.track.rect)),(l||f)&&(a.stopPropagation(),a.type==="pointerdown"&&a.pointerType!=="touch"&&(l&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(a,"x"):i.onTrackClick(a,"x")),f&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(a,"y"):i.onTrackClick(a,"y"))))}},this.drag=function(a){var l,f,d,y,v,_,x,A,P,M,R;if(!(!i.draggedAxis||!i.contentWrapperEl)){var H,F=i.axis[i.draggedAxis].track,Z=(f=(l=F.rect)===null||l===void 0?void 0:l[i.axis[i.draggedAxis].sizeAttr])!==null&&f!==void 0?f:0,G=i.axis[i.draggedAxis].scrollbar,oe=(y=(d=i.contentWrapperEl)===null||d===void 0?void 0:d[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&y!==void 0?y:0,re=parseInt((_=(v=i.elStyles)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:"0px",10);a.preventDefault(),a.stopPropagation(),i.draggedAxis==="y"?H=a.pageY:H=a.pageX;var se=H-((A=(x=F.rect)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].offsetAttr])!==null&&A!==void 0?A:0)-i.axis[i.draggedAxis].dragOffset;se=i.draggedAxis==="x"&&i.isRtl?((M=(P=F.rect)===null||P===void 0?void 0:P[i.axis[i.draggedAxis].sizeAttr])!==null&&M!==void 0?M:0)-G.size-se:se;var p=se/(Z-G.size),ce=p*(oe-re);i.draggedAxis==="x"&&i.isRtl&&(ce=!((R=e.getRtlHelpers())===null||R===void 0)&&R.isScrollingToNegative?-ce:ce),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ce}},this.onEndDrag=function(a){var l=cf(i.el),f=Di(i.el);a.preventDefault(),a.stopPropagation(),Ci(i.el,i.classNames.dragging),l.removeEventListener("mousemove",i.drag,!0),l.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=f.setTimeout(function(){l.removeEventListener("click",i.preventClick,!0),l.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(a){a.preventDefault(),a.stopPropagation()},this.el=t,this.options=Bs(Bs({},e.defaultOptions),n),this.classNames=Bs(Bs({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=zD(this._onMouseMove,64),this.onWindowResize=Vl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Vl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Vl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n==null?void 0:n.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var a=e.getOffset(n),l=e.getOffset(i);n.scrollLeft=-999;var f=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:a.left!==l.left,isScrollingToNegative:l.left!==f.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:um()}catch{return um()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=cf(t),a=Di(t);return{top:n.top+(a.pageYOffset||i.documentElement.scrollTop),left:n.left+(a.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){ay&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(gn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(gn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(gn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(gn(this.classNames.offset)),this.maskEl=this.el.querySelector(gn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,gn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(gn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(gn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(gn(this.classNames.track)).concat(gn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(gn(this.classNames.track)).concat(gn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(gn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(gn(this.classNames.scrollbar)))||null,this.options.autoHide||(Ti(this.axis.x.scrollbar.el,this.classNames.visible),Ti(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Di(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var a=!1,l=i.ResizeObserver||ResizeObserver;this.resizeObserver=new l(function(){a&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){a=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Di(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,a=this.heightAutoObserverEl.offsetWidth<=1||n>0,l=this.contentWrapperEl.offsetWidth,f=this.elStyles.overflowX,d=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var y=this.contentEl.scrollHeight,v=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=a?"".concat(n||v,"px"):"auto",this.placeholderEl.style.height="".concat(y,"px");var _=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&v>n,this.axis.y.isOverflowing=y>_,this.axis.x.isOverflowing=f==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=d==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var x=this.axis.x.isOverflowing?this.scrollbarWidth:0,A=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&v>l-A,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&y>_-x,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var a=this.contentEl[this.axis[t].scrollSizeAttr],l=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,f=l/a,d;return d=Math.max(~~(f*l),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(d=Math.min(d,this.options.scrollbarMaxSize)),d},e.prototype.positionScrollbar=function(t){var n,i,a;t===void 0&&(t="y");var l=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!l.el||!this.elStyles)){var f=this.contentWrapperEl[this.axis[t].scrollSizeAttr],d=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,y=parseInt(this.elStyles[this.axis[t].sizeAttr],10),v=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];v=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-v:v,t==="x"&&this.isRtl&&(v=!((a=e.getRtlHelpers())===null||a===void 0)&&a.isScrollingToNegative?v:-v);var _=v/(f-y),x=~~((d-l.size)*_);x=t==="x"&&this.isRtl?-x+(d-l.size):x,l.el.style.transform=t==="x"?"translate3d(".concat(x,"px, 0, 0)"):"translate3d(0, ".concat(x,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Ti(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Ci(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Ti(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Ti(n.scrollbar.el,this.classNames.hover):Ci(n.scrollbar.el,this.classNames.hover)):(Ci(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Ci(this.axis[t].track.el,this.classNames.hover),Ci(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y");var a=cf(this.el),l=Di(this.el),f=this.axis[n].scrollbar,d=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=d-(((i=f.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Ti(this.el,this.classNames.dragging),a.addEventListener("mousemove",this.drag,!0),a.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(a.addEventListener("click",this.preventClick,!0),a.addEventListener("dblclick",this.preventClick,!0)):(l.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,a,l,f,d;n===void 0&&(n="y");var y=this.axis[n];if(!(!this.options.clickOnTrack||!y.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var v=Di(this.el);this.axis[n].scrollbar.rect=y.scrollbar.el.getBoundingClientRect();var _=this.axis[n].scrollbar,x=(l=(a=_.rect)===null||a===void 0?void 0:a[this.axis[n].offsetAttr])!==null&&l!==void 0?l:0,A=parseInt((d=(f=this.elStyles)===null||f===void 0?void 0:f[this.axis[n].sizeAttr])!==null&&d!==void 0?d:"0px",10),P=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],M=n==="y"?this.mouseY-x:this.mouseX-x,R=M<0?-1:1,H=R===-1?P-A:P+A,F=40,Z=function(){i.contentWrapperEl&&(R===-1?P>H&&(P-=F,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=P,v.requestAnimationFrame(Z)):P<H&&(P+=F,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=P,v.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Di(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(a){return i.call(a,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=XD,e.helpers=$D,e}(),kn=function(){return kn=Object.assign||function(t){for(var n,i=1,a=arguments.length;i<a;i++){n=arguments[i];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},kn.apply(this,arguments)};function KD(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]]);return n}var dy=V.reactExports.forwardRef(function(e,t){var n=e.children,i=e.scrollableNodeProps,a=i===void 0?{}:i,l=KD(e,["children","scrollableNodeProps"]),f=V.reactExports.useRef(),d=V.reactExports.useRef(),y=V.reactExports.useRef(),v={},_={};Object.keys(l).forEach(function(P){Object.prototype.hasOwnProperty.call(kl.defaultOptions,P)?v[P]=l[P]:_[P]=l[P]});var x=kn(kn({},kl.defaultOptions.classNames),v.classNames),A=kn(kn({},a),{className:"".concat(x.contentWrapper).concat(a.className?" ".concat(a.className):""),tabIndex:0,role:"region","aria-label":v.ariaLabel||kl.defaultOptions.ariaLabel});return V.reactExports.useEffect(function(){var P;return d.current=A.ref?A.ref.current:d.current,f.current&&(P=new kl(f.current,kn(kn(kn({},v),d.current&&{scrollableNode:d.current}),y.current&&{contentNode:y.current})),typeof t=="function"?t(P):t&&(t.current=P)),function(){P==null||P.unMount(),P=null,typeof t=="function"&&t(null)}},[]),V.reactExports.createElement("div",kn({"data-simplebar":"init",ref:f},_),V.reactExports.createElement("div",{className:x.wrapper},V.reactExports.createElement("div",{className:x.heightAutoObserverWrapperEl},V.reactExports.createElement("div",{className:x.heightAutoObserverEl})),V.reactExports.createElement("div",{className:x.mask},V.reactExports.createElement("div",{className:x.offset},typeof n=="function"?n({scrollableNodeRef:d,scrollableNodeProps:kn(kn({},A),{ref:d}),contentNodeRef:y,contentNodeProps:{className:x.contentEl,ref:y}}):V.reactExports.createElement("div",kn({},A),V.reactExports.createElement("div",{className:x.contentEl},n)))),V.reactExports.createElement("div",{className:x.placeholder})),V.reactExports.createElement("div",{className:"".concat(x.track," simplebar-horizontal")},V.reactExports.createElement("div",{className:x.scrollbar})),V.reactExports.createElement("div",{className:"".concat(x.track," simplebar-vertical")},V.reactExports.createElement("div",{className:x.scrollbar})))});dy.displayName="SimpleBar";const ZD=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
|
|
6
|
-
`,JD=e=>{window.location.href=`${e}/authentication/logout?callbackUrl=${window.location.href}`},dh=e=>typeof e=="number"&&!isNaN(e),qa=e=>typeof e=="string",py=e=>typeof e=="function",QD=e=>V.reactExports.isValidElement(e)||qa(e)||py(e)||dh(e),_r=new Map;let Nf=[];const cm=new Set,my=()=>_r.size>0;function eT(e,t){var n;if(t)return!((n=_r.get(t))==null||!n.isToastActive(e));let i=!1;return _r.forEach(a=>{a.isToastActive(e)&&(i=!0)}),i}function tT(e,t){QD(e)&&(my()||Nf.push({content:e,options:t}),_r.forEach(n=>{n.buildToast(e,t)}))}function fm(e,t){_r.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let nT=1;const gy=()=>""+nT++;function rT(e){return e&&(qa(e.toastId)||dh(e.toastId))?e.toastId:gy()}function Ga(e,t){return tT(e,t),t.toastId}function Kl(e,t){return{...t,type:t&&t.type||e,toastId:rT(t)}}function Pl(e){return(t,n)=>Ga(t,Kl(e,n))}function ct(e,t){return Ga(e,Kl("default",t))}ct.loading=(e,t)=>Ga(e,Kl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),ct.promise=function(e,t,n){let i,{pending:a,error:l,success:f}=t;a&&(i=qa(a)?ct.loading(a,n):ct.loading(a.render,{...n,...a}));const d={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},y=(_,x,A)=>{if(x==null)return void ct.dismiss(i);const P={type:_,...d,...n,data:A},M=qa(x)?{render:x}:x;return i?ct.update(i,{...P,...M}):ct(M.render,{...P,...M}),A},v=py(e)?e():e;return v.then(_=>y("success",f,_)).catch(_=>y("error",l,_)),v},ct.success=Pl("success"),ct.info=Pl("info"),ct.error=Pl("error"),ct.warning=Pl("warning"),ct.warn=ct.warning,ct.dark=(e,t)=>Ga(e,Kl("default",{theme:"dark",...t})),ct.dismiss=function(e){(function(t){var n;if(my()){if(t==null||qa(n=t)||dh(n))_r.forEach(a=>{a.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var i;(i=_r.get(t.containerId))!=null&&i.removeToast(t.id)||_r.forEach(a=>{a.removeToast(t.id)})}}else Nf=Nf.filter(a=>t!=null&&a.options.toastId!==t)})(e)},ct.clearWaitingQueue=function(e){e===void 0&&(e={}),_r.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},ct.isActive=eT,ct.update=function(e,t){t===void 0&&(t={});const n=((i,a)=>{var l;let{containerId:f}=a;return(l=_r.get(f||1))==null?void 0:l.toasts.get(i)})(e,t);if(n){const{props:i,content:a}=n,l={delay:100,...i,...t,toastId:t.toastId||e,updateId:gy()};l.toastId!==e&&(l.staleId=e);const f=l.render||a;delete l.render,Ga(f,l)}},ct.done=e=>{ct.update(e,{progress:1})},ct.onChange=function(e){return cm.add(e),()=>{cm.delete(e)}},ct.play=e=>fm(!0,e),ct.pause=e=>fm(!1,e);const hm={primary:"#93D500",secondary:"#007BFF",textPrimary:"#000000",textSecondary:"#101010",priText:"#009D4F",lightPrimary:"#E8F5E9",darkPrimary:"#2E7D32",lightSecondary:"#E8F5E9",darkSecondary:"#339790",danger:"#E01B00",darkDanger:"#BE1700",warning:"#FFB600",success:"#009D4F",error:"#E9645B",successChip:"#F4FBE5",errorChip:"#E01B001A",warningChip:"#FFB8001A",secondaryChip:"#E5F2FF",appBarColor:"#000000",white:"#FFFFFF",grey100:"#FAFAFA",grey200:"#EEEEEE",grey300:"#DDDDDD",grey400:"#C5C5C5",grey600:"#85858A",gold100:"#FFFBE6",gold200:"#FFF1B8",gold300:"#FFE58F",gold600:"#FAAD14",gold700:"#D48806",outlinedButton:"#009D4F",containedButtonString:"#000000",pink:"#E81F76"};function iT(){return V.jsxRuntimeExports.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),V.jsxRuntimeExports.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),V.jsxRuntimeExports.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}const sT={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},aT=e=>{ct.error(e,{icon:V.jsxRuntimeExports.jsx(iT,{}),position:"bottom-right",style:{...sT,background:"#F7E4E1",borderColor:hm.danger,color:hm.danger}})},yy=V.reactExports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),xu=V.reactExports.createContext({}),ph=V.reactExports.createContext(null),bu=typeof document<"u",oT=bu?V.reactExports.useLayoutEffect:V.reactExports.useEffect,vy=V.reactExports.createContext({strict:!1}),mh=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),lT="framerAppearId",xy="data-"+mh(lT);function uT(e,t,n,i){const{visualElement:a}=V.reactExports.useContext(xu),l=V.reactExports.useContext(vy),f=V.reactExports.useContext(ph),d=V.reactExports.useContext(yy).reducedMotion,y=V.reactExports.useRef();i=i||l.renderer,!y.current&&i&&(y.current=i(e,{visualState:t,parent:a,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:d}));const v=y.current;V.reactExports.useInsertionEffect(()=>{v&&v.update(n,f)});const _=V.reactExports.useRef(!!(n[xy]&&!window.HandoffComplete));return oT(()=>{v&&(v.render(),_.current&&v.animationState&&v.animationState.animateChanges())}),V.reactExports.useEffect(()=>{v&&(v.updateFeatures(),!_.current&&v.animationState&&v.animationState.animateChanges(),_.current&&(_.current=!1,window.HandoffComplete=!0))}),v}function js(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function cT(e,t,n){return V.reactExports.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):js(n)&&(n.current=i))},[t])}function eo(e){return typeof e=="string"||Array.isArray(e)}function wu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const gh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yh=["initial",...gh];function _u(e){return wu(e.animate)||yh.some(t=>eo(e[t]))}function by(e){return!!(_u(e)||e.variants)}function fT(e,t){if(_u(e)){const{initial:n,animate:i}=e;return{initial:n===!1||eo(n)?n:void 0,animate:eo(i)?i:void 0}}return e.inherit!==!1?t:{}}function hT(e){const{initial:t,animate:n}=fT(e,V.reactExports.useContext(xu));return V.reactExports.useMemo(()=>({initial:t,animate:n}),[dm(t),dm(n)])}function dm(e){return Array.isArray(e)?e.join(" "):e}const pm={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},to={};for(const e in pm)to[e]={isEnabled:t=>pm[e].some(n=>!!t[n])};function dT(e){for(const t in e)to[t]={...to[t],...e[t]}}const wy=V.reactExports.createContext({}),_y=V.reactExports.createContext({}),pT=Symbol.for("motionComponentSymbol");function mT({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:a}){e&&dT(e);function l(d,y){let v;const _={...V.reactExports.useContext(yy),...d,layoutId:gT(d)},{isStatic:x}=_,A=hT(d),P=i(d,x);if(!x&&bu){A.visualElement=uT(a,P,_,t);const M=V.reactExports.useContext(_y),R=V.reactExports.useContext(vy).strict;A.visualElement&&(v=A.visualElement.loadFeatures(_,R,e,M))}return V.reactExports.createElement(xu.Provider,{value:A},v&&A.visualElement?V.reactExports.createElement(v,{visualElement:A.visualElement,..._}):null,n(a,d,cT(P,A.visualElement,y),P,x,A.visualElement))}const f=V.reactExports.forwardRef(l);return f[pT]=a,f}function gT({layoutId:e}){const t=V.reactExports.useContext(wy).id;return t&&e!==void 0?t+"-"+e:e}function yT(e){function t(i,a={}){return mT(e(i,a))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(i,a)=>(n.has(a)||n.set(a,t(a)),n.get(a))})}const vT=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vh(e){return typeof e!="string"||e.includes("-")?!1:!!(vT.indexOf(e)>-1||/[A-Z]/.test(e))}const Zl={};function xT(e){Object.assign(Zl,e)}const co=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fs=new Set(co);function Sy(e,{layout:t,layoutId:n}){return fs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Zl[e]||e==="opacity")}const vn=e=>!!(e&&e.getVelocity),bT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wT=co.length;function _T(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,a){let l="";for(let f=0;f<wT;f++){const d=co[f];if(e[d]!==void 0){const y=bT[d]||d;l+=`${y}(${e[d]}) `}}return t&&!e.z&&(l+="translateZ(0)"),l=l.trim(),a?l=a(e,i?"":l):n&&i&&(l="none"),l}const Ey=e=>t=>typeof t=="string"&&t.startsWith(e),Dy=Ey("--"),Ff=Ey("var(--"),ST=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,ET=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ni=(e,t,n)=>Math.min(Math.max(n,e),t),hs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$a={...hs,transform:e=>Ni(0,1,e)},Ol={...hs,default:1},Xa=e=>Math.round(e*1e5)/1e5,Su=/(-)?([\d]*\.?[\d])+/g,Ty=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,DT=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function fo(e){return typeof e=="string"}const ho=e=>({test:t=>fo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ai=ho("deg"),Dr=ho("%"),Te=ho("px"),TT=ho("vh"),CT=ho("vw"),mm={...Dr,parse:e=>Dr.parse(e)/100,transform:e=>Dr.transform(e*100)},gm={...hs,transform:Math.round},Cy={borderWidth:Te,borderTopWidth:Te,borderRightWidth:Te,borderBottomWidth:Te,borderLeftWidth:Te,borderRadius:Te,radius:Te,borderTopLeftRadius:Te,borderTopRightRadius:Te,borderBottomRightRadius:Te,borderBottomLeftRadius:Te,width:Te,maxWidth:Te,height:Te,maxHeight:Te,size:Te,top:Te,right:Te,bottom:Te,left:Te,padding:Te,paddingTop:Te,paddingRight:Te,paddingBottom:Te,paddingLeft:Te,margin:Te,marginTop:Te,marginRight:Te,marginBottom:Te,marginLeft:Te,rotate:Ai,rotateX:Ai,rotateY:Ai,rotateZ:Ai,scale:Ol,scaleX:Ol,scaleY:Ol,scaleZ:Ol,skew:Ai,skewX:Ai,skewY:Ai,distance:Te,translateX:Te,translateY:Te,translateZ:Te,x:Te,y:Te,z:Te,perspective:Te,transformPerspective:Te,opacity:$a,originX:mm,originY:mm,originZ:Te,zIndex:gm,fillOpacity:$a,strokeOpacity:$a,numOctaves:gm};function xh(e,t,n,i){const{style:a,vars:l,transform:f,transformOrigin:d}=e;let y=!1,v=!1,_=!0;for(const x in t){const A=t[x];if(Dy(x)){l[x]=A;continue}const P=Cy[x],M=ET(A,P);if(fs.has(x)){if(y=!0,f[x]=M,!_)continue;A!==(P.default||0)&&(_=!1)}else x.startsWith("origin")?(v=!0,d[x]=M):a[x]=M}if(t.transform||(y||i?a.transform=_T(e.transform,n,_,i):a.transform&&(a.transform="none")),v){const{originX:x="50%",originY:A="50%",originZ:P=0}=d;a.transformOrigin=`${x} ${A} ${P}`}}const bh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ay(e,t,n){for(const i in t)!vn(t[i])&&!Sy(i,n)&&(e[i]=t[i])}function AT({transformTemplate:e},t,n){return V.reactExports.useMemo(()=>{const i=bh();return xh(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}function kT(e,t,n){const i=e.style||{},a={};return Ay(a,i,e),Object.assign(a,AT(e,t,n)),e.transformValues?e.transformValues(a):a}function PT(e,t,n){const i={},a=kT(e,t,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i}const OT=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||OT.has(e)}let ky=e=>!Jl(e);function MT(e){e&&(ky=t=>t.startsWith("on")?!Jl(t):e(t))}try{MT(require("@emotion/is-prop-valid").default)}catch{}function RT(e,t,n){const i={};for(const a in e)a==="values"&&typeof e.values=="object"||(ky(a)||n===!0&&Jl(a)||!t&&!Jl(a)||e.draggable&&a.startsWith("onDrag"))&&(i[a]=e[a]);return i}function ym(e,t,n){return typeof e=="string"?e:Te.transform(t+n*e)}function LT(e,t,n){const i=ym(t,e.x,e.width),a=ym(n,e.y,e.height);return`${i} ${a}`}const IT={offset:"stroke-dashoffset",array:"stroke-dasharray"},NT={offset:"strokeDashoffset",array:"strokeDasharray"};function FT(e,t,n=1,i=0,a=!0){e.pathLength=1;const l=a?IT:NT;e[l.offset]=Te.transform(-i);const f=Te.transform(t),d=Te.transform(n);e[l.array]=`${f} ${d}`}function wh(e,{attrX:t,attrY:n,attrScale:i,originX:a,originY:l,pathLength:f,pathSpacing:d=1,pathOffset:y=0,...v},_,x,A){if(xh(e,v,_,A),x){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:P,style:M,dimensions:R}=e;P.transform&&(R&&(M.transform=P.transform),delete P.transform),R&&(a!==void 0||l!==void 0||M.transform)&&(M.transformOrigin=LT(R,a!==void 0?a:.5,l!==void 0?l:.5)),t!==void 0&&(P.x=t),n!==void 0&&(P.y=n),i!==void 0&&(P.scale=i),f!==void 0&&FT(P,f,d,y,!1)}const Py=()=>({...bh(),attrs:{}}),_h=e=>typeof e=="string"&&e.toLowerCase()==="svg";function WT(e,t,n,i){const a=V.reactExports.useMemo(()=>{const l=Py();return wh(l,t,{enableHardwareAcceleration:!1},_h(i),e.transformTemplate),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};Ay(l,e.style,e),a.style={...l,...a.style}}return a}function BT(e=!1){return(n,i,a,{latestValues:l},f)=>{const y=(vh(n)?WT:PT)(i,l,f,n),_={...RT(i,typeof n=="string",e),...y,ref:a},{children:x}=i,A=V.reactExports.useMemo(()=>vn(x)?x.get():x,[x]);return V.reactExports.createElement(n,{..._,children:A})}}function Oy(e,{style:t,vars:n},i,a){Object.assign(e.style,t,a&&a.getProjectionStyles(i));for(const l in n)e.style.setProperty(l,n[l])}const My=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ry(e,t,n,i){Oy(e,t,void 0,i);for(const a in t.attrs)e.setAttribute(My.has(a)?a:mh(a),t.attrs[a])}function Sh(e,t){const{style:n}=e,i={};for(const a in n)(vn(n[a])||t.style&&vn(t.style[a])||Sy(a,e))&&(i[a]=n[a]);return i}function Ly(e,t){const n=Sh(e,t);for(const i in e)if(vn(e[i])||vn(t[i])){const a=co.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[a]=e[i]}return n}function Eh(e,t,n,i={},a={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,i,a)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,i,a)),t}function jT(e){const t=V.reactExports.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ql=e=>Array.isArray(e),VT=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),YT=e=>Ql(e)?e[e.length-1]||0:e;function Yl(e){const t=vn(e)?e.get():e;return VT(t)?t.toValue():t}function UT({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,a,l){const f={latestValues:HT(i,a,l,e),renderState:t()};return n&&(f.mount=d=>n(i,d,f)),f}const Iy=e=>(t,n)=>{const i=V.reactExports.useContext(xu),a=V.reactExports.useContext(ph),l=()=>UT(e,t,i,a);return n?l():jT(l)};function HT(e,t,n,i){const a={},l=i(e,{});for(const A in l)a[A]=Yl(l[A]);let{initial:f,animate:d}=e;const y=_u(e),v=by(e);t&&v&&!y&&e.inherit!==!1&&(f===void 0&&(f=t.initial),d===void 0&&(d=t.animate));let _=n?n.initial===!1:!1;_=_||f===!1;const x=_?d:f;return x&&typeof x!="boolean"&&!wu(x)&&(Array.isArray(x)?x:[x]).forEach(P=>{const M=Eh(e,P);if(!M)return;const{transitionEnd:R,transition:H,...F}=M;for(const Z in F){let G=F[Z];if(Array.isArray(G)){const oe=_?G.length-1:0;G=G[oe]}G!==null&&(a[Z]=G)}for(const Z in R)a[Z]=R[Z]}),a}const vt=e=>e;class vm{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function zT(e){let t=new vm,n=new vm,i=0,a=!1,l=!1;const f=new WeakSet,d={schedule:(y,v=!1,_=!1)=>{const x=_&&a,A=x?t:n;return v&&f.add(y),A.add(y)&&x&&a&&(i=t.order.length),y},cancel:y=>{n.remove(y),f.delete(y)},process:y=>{if(a){l=!0;return}if(a=!0,[t,n]=[n,t],n.clear(),i=t.order.length,i)for(let v=0;v<i;v++){const _=t.order[v];_(y),f.has(_)&&(d.schedule(_),e())}a=!1,l&&(l=!1,d.process(y))}};return d}const Ml=["prepare","read","update","preRender","render","postRender"],qT=40;function GT(e,t){let n=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=Ml.reduce((x,A)=>(x[A]=zT(()=>n=!0),x),{}),f=x=>l[x].process(a),d=()=>{const x=performance.now();n=!1,a.delta=i?1e3/60:Math.max(Math.min(x-a.timestamp,qT),1),a.timestamp=x,a.isProcessing=!0,Ml.forEach(f),a.isProcessing=!1,n&&t&&(i=!1,e(d))},y=()=>{n=!0,i=!0,a.isProcessing||e(d)};return{schedule:Ml.reduce((x,A)=>{const P=l[A];return x[A]=(M,R=!1,H=!1)=>(n||y(),P.schedule(M,R,H)),x},{}),cancel:x=>Ml.forEach(A=>l[A].cancel(x)),state:a,steps:l}}const{schedule:ot,cancel:ni,state:$t,steps:ff}=GT(typeof requestAnimationFrame<"u"?requestAnimationFrame:vt,!0),$T={useVisualState:Iy({scrapeMotionValuesFromProps:Ly,createRenderState:Py,onMount:(e,t,{renderState:n,latestValues:i})=>{ot.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ot.render(()=>{wh(n,i,{enableHardwareAcceleration:!1},_h(t.tagName),e.transformTemplate),Ry(t,n)})}})},XT={useVisualState:Iy({scrapeMotionValuesFromProps:Sh,createRenderState:bh})};function KT(e,{forwardMotionProps:t=!1},n,i){return{...vh(e)?$T:XT,preloadedFeatures:n,useRender:BT(t),createVisualElement:i,Component:e}}function $r(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const Ny=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Eu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const ZT=e=>t=>Ny(t)&&e(t,Eu(t));function Jr(e,t,n,i){return $r(e,t,ZT(n),i)}const JT=(e,t)=>n=>t(e(n)),Ri=(...e)=>e.reduce(JT);function Fy(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const xm=Fy("dragHorizontal"),bm=Fy("dragVertical");function Wy(e){let t=!1;if(e==="y")t=bm();else if(e==="x")t=xm();else{const n=xm(),i=bm();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function By(){const e=Wy(!0);return e?(e(),!1):!0}class Wi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function wm(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),a=(l,f)=>{if(l.pointerType==="touch"||By())return;const d=e.getProps();e.animationState&&d.whileHover&&e.animationState.setActive("whileHover",t),d[i]&&ot.update(()=>d[i](l,f))};return Jr(e.current,n,a,{passive:!e.getProps()[i]})}class QT extends Wi{mount(){this.unmount=Ri(wm(this.node,!0),wm(this.node,!1))}unmount(){}}class eC extends Wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ri($r(this.node.current,"focus",()=>this.onFocus()),$r(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const jy=(e,t)=>t?e===t?!0:jy(e,t.parentElement):!1;function hf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Eu(n))}class tC extends Wi{constructor(){super(...arguments),this.removeStartListeners=vt,this.removeEndListeners=vt,this.removeAccessibleListeners=vt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),l=Jr(window,"pointerup",(d,y)=>{if(!this.checkPressEnd())return;const{onTap:v,onTapCancel:_,globalTapTarget:x}=this.node.getProps();ot.update(()=>{!x&&!jy(this.node.current,d.target)?_&&_(d,y):v&&v(d,y)})},{passive:!(i.onTap||i.onPointerUp)}),f=Jr(window,"pointercancel",(d,y)=>this.cancelPress(d,y),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Ri(l,f),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=l=>{if(l.key!=="Enter"||this.isPressing)return;const f=d=>{d.key!=="Enter"||!this.checkPressEnd()||hf("up",(y,v)=>{const{onTap:_}=this.node.getProps();_&&ot.update(()=>_(y,v))})};this.removeEndListeners(),this.removeEndListeners=$r(this.node.current,"keyup",f),hf("down",(d,y)=>{this.startPress(d,y)})},n=$r(this.node.current,"keydown",t),i=()=>{this.isPressing&&hf("cancel",(l,f)=>this.cancelPress(l,f))},a=$r(this.node.current,"blur",i);this.removeAccessibleListeners=Ri(n,a)}}startPress(t,n){this.isPressing=!0;const{onTapStart:i,whileTap:a}=this.node.getProps();a&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&ot.update(()=>i(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!By()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&ot.update(()=>i(t,n))}mount(){const t=this.node.getProps(),n=Jr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=$r(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ri(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Wf=new WeakMap,df=new WeakMap,nC=e=>{const t=Wf.get(e.target);t&&t(e)},rC=e=>{e.forEach(nC)};function iC({root:e,...t}){const n=e||document;df.has(n)||df.set(n,{});const i=df.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(rC,{root:e,...t})),i[a]}function sC(e,t,n){const i=iC(t);return Wf.set(e,n),i.observe(e),()=>{Wf.delete(e),i.unobserve(e)}}const aC={some:0,all:1};class oC extends Wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:a="some",once:l}=t,f={root:n?n.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:aC[a]},d=y=>{const{isIntersecting:v}=y;if(this.isInView===v||(this.isInView=v,l&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:_,onViewportLeave:x}=this.node.getProps(),A=v?_:x;A&&A(y)};return sC(this.node.current,f,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(lC(t,n))&&this.startObserver()}unmount(){}}function lC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const uC={inView:{Feature:oC},tap:{Feature:tC},focus:{Feature:eC},hover:{Feature:QT}};function Vy(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function cC(e){const t={};return e.values.forEach((n,i)=>t[i]=n.get()),t}function fC(e){const t={};return e.values.forEach((n,i)=>t[i]=n.getVelocity()),t}function Du(e,t,n){const i=e.getProps();return Eh(i,t,n!==void 0?n:i.custom,cC(e),fC(e))}let hC=vt,Dh=vt;const Li=e=>e*1e3,Qr=e=>e/1e3,dC={current:!1},Yy=e=>Array.isArray(e)&&typeof e[0]=="number";function Uy(e){return!!(!e||typeof e=="string"&&Hy[e]||Yy(e)||Array.isArray(e)&&e.every(Uy))}const za=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Hy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:za([0,.65,.55,1]),circOut:za([.55,0,1,.45]),backIn:za([.31,.01,.66,-.59]),backOut:za([.33,1.53,.69,.99])};function zy(e){if(e)return Yy(e)?za(e):Array.isArray(e)?e.map(zy):Hy[e]}function pC(e,t,n,{delay:i=0,duration:a,repeat:l=0,repeatType:f="loop",ease:d,times:y}={}){const v={[t]:n};y&&(v.offset=y);const _=zy(d);return Array.isArray(_)&&(v.easing=_),e.animate(v,{delay:i,duration:a,easing:Array.isArray(_)?"linear":_,fill:"both",iterations:l+1,direction:f==="reverse"?"alternate":"normal"})}function mC(e,{repeat:t,repeatType:n="loop"}){const i=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[i]}const qy=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,gC=1e-7,yC=12;function vC(e,t,n,i,a){let l,f,d=0;do f=t+(n-t)/2,l=qy(f,i,a)-e,l>0?n=f:t=f;while(Math.abs(l)>gC&&++d<yC);return f}function po(e,t,n,i){if(e===t&&n===i)return vt;const a=l=>vC(l,0,1,e,n);return l=>l===0||l===1?l:qy(a(l),t,i)}const xC=po(.42,0,1,1),bC=po(0,0,.58,1),Gy=po(.42,0,.58,1),wC=e=>Array.isArray(e)&&typeof e[0]!="number",$y=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Xy=e=>t=>1-e(1-t),Th=e=>1-Math.sin(Math.acos(e)),Ky=Xy(Th),_C=$y(Th),Zy=po(.33,1.53,.69,.99),Ch=Xy(Zy),SC=$y(Ch),EC=e=>(e*=2)<1?.5*Ch(e):.5*(2-Math.pow(2,-10*(e-1))),DC={linear:vt,easeIn:xC,easeInOut:Gy,easeOut:bC,circIn:Th,circInOut:_C,circOut:Ky,backIn:Ch,backInOut:SC,backOut:Zy,anticipate:EC},_m=e=>{if(Array.isArray(e)){Dh(e.length===4);const[t,n,i,a]=e;return po(t,n,i,a)}else if(typeof e=="string")return DC[e];return e},Ah=(e,t)=>n=>!!(fo(n)&&DT.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Jy=(e,t,n)=>i=>{if(!fo(i))return i;const[a,l,f,d]=i.match(Su);return{[e]:parseFloat(a),[t]:parseFloat(l),[n]:parseFloat(f),alpha:d!==void 0?parseFloat(d):1}},TC=e=>Ni(0,255,e),pf={...hs,transform:e=>Math.round(TC(e))},os={test:Ah("rgb","red"),parse:Jy("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+pf.transform(e)+", "+pf.transform(t)+", "+pf.transform(n)+", "+Xa($a.transform(i))+")"};function CC(e){let t="",n="",i="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,i+=i,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}const Bf={test:Ah("#"),parse:CC,transform:os.transform},Vs={test:Ah("hsl","hue"),parse:Jy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Dr.transform(Xa(t))+", "+Dr.transform(Xa(n))+", "+Xa($a.transform(i))+")"},nn={test:e=>os.test(e)||Bf.test(e)||Vs.test(e),parse:e=>os.test(e)?os.parse(e):Vs.test(e)?Vs.parse(e):Bf.parse(e),transform:e=>fo(e)?e:e.hasOwnProperty("red")?os.transform(e):Vs.transform(e)},mt=(e,t,n)=>-n*e+n*t+e;function mf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function AC({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let a=0,l=0,f=0;if(!t)a=l=f=n;else{const d=n<.5?n*(1+t):n+t-n*t,y=2*n-d;a=mf(y,d,e+1/3),l=mf(y,d,e),f=mf(y,d,e-1/3)}return{red:Math.round(a*255),green:Math.round(l*255),blue:Math.round(f*255),alpha:i}}const gf=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},kC=[Bf,os,Vs],PC=e=>kC.find(t=>t.test(e));function Sm(e){const t=PC(e);let n=t.parse(e);return t===Vs&&(n=AC(n)),n}const Qy=(e,t)=>{const n=Sm(e),i=Sm(t),a={...n};return l=>(a.red=gf(n.red,i.red,l),a.green=gf(n.green,i.green,l),a.blue=gf(n.blue,i.blue,l),a.alpha=mt(n.alpha,i.alpha,l),os.transform(a))};function OC(e){var t,n;return isNaN(e)&&fo(e)&&(((t=e.match(Su))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ty))===null||n===void 0?void 0:n.length)||0)>0}const ev={regex:ST,countKey:"Vars",token:"${v}",parse:vt},tv={regex:Ty,countKey:"Colors",token:"${c}",parse:nn.parse},nv={regex:Su,countKey:"Numbers",token:"${n}",parse:hs.parse};function yf(e,{regex:t,countKey:n,token:i,parse:a}){const l=e.tokenised.match(t);l&&(e["num"+n]=l.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...l.map(a)))}function eu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&yf(n,ev),yf(n,tv),yf(n,nv),n}function rv(e){return eu(e).values}function iv(e){const{values:t,numColors:n,numVars:i,tokenised:a}=eu(e),l=t.length;return f=>{let d=a;for(let y=0;y<l;y++)y<i?d=d.replace(ev.token,f[y]):y<i+n?d=d.replace(tv.token,nn.transform(f[y])):d=d.replace(nv.token,Xa(f[y]));return d}}const MC=e=>typeof e=="number"?0:e;function RC(e){const t=rv(e);return iv(e)(t.map(MC))}const Fi={test:OC,parse:rv,createTransformer:iv,getAnimatableNone:RC},sv=(e,t)=>n=>`${n>0?t:e}`;function av(e,t){return typeof e=="number"?n=>mt(e,t,n):nn.test(e)?Qy(e,t):e.startsWith("var(")?sv(e,t):lv(e,t)}const ov=(e,t)=>{const n=[...e],i=n.length,a=e.map((l,f)=>av(l,t[f]));return l=>{for(let f=0;f<i;f++)n[f]=a[f](l);return n}},LC=(e,t)=>{const n={...e,...t},i={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(i[a]=av(e[a],t[a]));return a=>{for(const l in i)n[l]=i[l](a);return n}},lv=(e,t)=>{const n=Fi.createTransformer(t),i=eu(e),a=eu(t);return i.numVars===a.numVars&&i.numColors===a.numColors&&i.numNumbers>=a.numNumbers?Ri(ov(i.values,a.values),n):sv(e,t)},no=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},Em=(e,t)=>n=>mt(e,t,n);function IC(e){return typeof e=="number"?Em:typeof e=="string"?nn.test(e)?Qy:lv:Array.isArray(e)?ov:typeof e=="object"?LC:Em}function NC(e,t,n){const i=[],a=n||IC(e[0]),l=e.length-1;for(let f=0;f<l;f++){let d=a(e[f],e[f+1]);if(t){const y=Array.isArray(t)?t[f]||vt:t;d=Ri(y,d)}i.push(d)}return i}function uv(e,t,{clamp:n=!0,ease:i,mixer:a}={}){const l=e.length;if(Dh(l===t.length),l===1)return()=>t[0];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const f=NC(t,i,a),d=f.length,y=v=>{let _=0;if(d>1)for(;_<e.length-2&&!(v<e[_+1]);_++);const x=no(e[_],e[_+1],v);return f[_](x)};return n?v=>y(Ni(e[0],e[l-1],v)):y}function FC(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const a=no(0,t,i);e.push(mt(n,1,a))}}function WC(e){const t=[0];return FC(t,e.length-1),t}function BC(e,t){return e.map(n=>n*t)}function jC(e,t){return e.map(()=>t||Gy).splice(0,e.length-1)}function tu({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const a=wC(i)?i.map(_m):_m(i),l={done:!1,value:t[0]},f=BC(n&&n.length===t.length?n:WC(t),e),d=uv(f,t,{ease:Array.isArray(a)?a:jC(t,a)});return{calculatedDuration:e,next:y=>(l.value=d(y),l.done=y>=e,l)}}function cv(e,t){return t?e*(1e3/t):0}const VC=5;function fv(e,t,n){const i=Math.max(t-VC,0);return cv(n-e(i),t-i)}const vf=.001,YC=.01,Dm=10,UC=.05,HC=1;function zC({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let a,l;hC(e<=Li(Dm));let f=1-t;f=Ni(UC,HC,f),e=Ni(YC,Dm,Qr(e)),f<1?(a=v=>{const _=v*f,x=_*e,A=_-n,P=jf(v,f),M=Math.exp(-x);return vf-A/P*M},l=v=>{const x=v*f*e,A=x*n+n,P=Math.pow(f,2)*Math.pow(v,2)*e,M=Math.exp(-x),R=jf(Math.pow(v,2),f);return(-a(v)+vf>0?-1:1)*((A-P)*M)/R}):(a=v=>{const _=Math.exp(-v*e),x=(v-n)*e+1;return-vf+_*x},l=v=>{const _=Math.exp(-v*e),x=(n-v)*(e*e);return _*x});const d=5/e,y=GC(a,l,d);if(e=Li(e),isNaN(y))return{stiffness:100,damping:10,duration:e};{const v=Math.pow(y,2)*i;return{stiffness:v,damping:f*2*Math.sqrt(i*v),duration:e}}}const qC=12;function GC(e,t,n){let i=n;for(let a=1;a<qC;a++)i=i-e(i)/t(i);return i}function jf(e,t){return e*Math.sqrt(1-t*t)}const $C=["duration","bounce"],XC=["stiffness","damping","mass"];function Tm(e,t){return t.some(n=>e[n]!==void 0)}function KC(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Tm(e,XC)&&Tm(e,$C)){const n=zC(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function hv({keyframes:e,restDelta:t,restSpeed:n,...i}){const a=e[0],l=e[e.length-1],f={done:!1,value:a},{stiffness:d,damping:y,mass:v,duration:_,velocity:x,isResolvedFromDuration:A}=KC({...i,velocity:-Qr(i.velocity||0)}),P=x||0,M=y/(2*Math.sqrt(d*v)),R=l-a,H=Qr(Math.sqrt(d/v)),F=Math.abs(R)<5;n||(n=F?.01:2),t||(t=F?.005:.5);let Z;if(M<1){const G=jf(H,M);Z=oe=>{const re=Math.exp(-M*H*oe);return l-re*((P+M*H*R)/G*Math.sin(G*oe)+R*Math.cos(G*oe))}}else if(M===1)Z=G=>l-Math.exp(-H*G)*(R+(P+H*R)*G);else{const G=H*Math.sqrt(M*M-1);Z=oe=>{const re=Math.exp(-M*H*oe),se=Math.min(G*oe,300);return l-re*((P+M*H*R)*Math.sinh(se)+G*R*Math.cosh(se))/G}}return{calculatedDuration:A&&_||null,next:G=>{const oe=Z(G);if(A)f.done=G>=_;else{let re=P;G!==0&&(M<1?re=fv(Z,G,oe):re=0);const se=Math.abs(re)<=n,p=Math.abs(l-oe)<=t;f.done=se&&p}return f.value=f.done?l:oe,f}}}function Cm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:f,min:d,max:y,restDelta:v=.5,restSpeed:_}){const x=e[0],A={done:!1,value:x},P=ce=>d!==void 0&&ce<d||y!==void 0&&ce>y,M=ce=>d===void 0?y:y===void 0||Math.abs(d-ce)<Math.abs(y-ce)?d:y;let R=n*t;const H=x+R,F=f===void 0?H:f(H);F!==H&&(R=F-x);const Z=ce=>-R*Math.exp(-ce/i),G=ce=>F+Z(ce),oe=ce=>{const ae=Z(ce),et=G(ce);A.done=Math.abs(ae)<=v,A.value=A.done?F:et};let re,se;const p=ce=>{P(A.value)&&(re=ce,se=hv({keyframes:[A.value,M(A.value)],velocity:fv(G,ce,A.value),damping:a,stiffness:l,restDelta:v,restSpeed:_}))};return p(0),{calculatedDuration:null,next:ce=>{let ae=!1;return!se&&re===void 0&&(ae=!0,oe(ce),p(ce)),re!==void 0&&ce>re?se.next(ce-re):(!ae&&oe(ce),A)}}}const ZC=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ot.update(t,!0),stop:()=>ni(t),now:()=>$t.isProcessing?$t.timestamp:performance.now()}},Am=2e4;function km(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<Am;)t+=n,i=e.next(t);return t>=Am?1/0:t}const JC={decay:Cm,inertia:Cm,tween:tu,keyframes:tu,spring:hv};function nu({autoplay:e=!0,delay:t=0,driver:n=ZC,keyframes:i,type:a="keyframes",repeat:l=0,repeatDelay:f=0,repeatType:d="loop",onPlay:y,onStop:v,onComplete:_,onUpdate:x,...A}){let P=1,M=!1,R,H;const F=()=>{H=new Promise(Oe=>{R=Oe})};F();let Z;const G=JC[a]||tu;let oe;G!==tu&&typeof i[0]!="number"&&(oe=uv([0,100],i,{clamp:!1}),i=[0,100]);const re=G({...A,keyframes:i});let se;d==="mirror"&&(se=G({...A,keyframes:[...i].reverse(),velocity:-(A.velocity||0)}));let p="idle",ce=null,ae=null,et=null;re.calculatedDuration===null&&l&&(re.calculatedDuration=km(re));const{calculatedDuration:gt}=re;let Ze=1/0,_e=1/0;gt!==null&&(Ze=gt+f,_e=Ze*(l+1)-f);let tt=0;const Vt=Oe=>{if(ae===null)return;P>0&&(ae=Math.min(ae,Oe)),P<0&&(ae=Math.min(Oe-_e/P,ae)),ce!==null?tt=ce:tt=Math.round(Oe-ae)*P;const st=tt-t*(P>=0?1:-1),Ft=P>=0?st<0:st>_e;tt=Math.max(st,0),p==="finished"&&ce===null&&(tt=_e);let Mn=tt,Ct=re;if(l){const sn=Math.min(tt,_e)/Ze;let Et=Math.floor(sn),Lt=sn%1;!Lt&&sn>=1&&(Lt=1),Lt===1&&Et--,Et=Math.min(Et,l+1),!!(Et%2)&&(d==="reverse"?(Lt=1-Lt,f&&(Lt-=f/Ze)):d==="mirror"&&(Ct=se)),Mn=Ni(0,1,Lt)*Ze}const Wt=Ft?{done:!1,value:i[0]}:Ct.next(Mn);oe&&(Wt.value=oe(Wt.value));let{done:Rn}=Wt;!Ft&>!==null&&(Rn=P>=0?tt>=_e:tt<=0);const rn=ce===null&&(p==="finished"||p==="running"&&Rn);return x&&x(Wt.value),rn&&Me(),Wt},at=()=>{Z&&Z.stop(),Z=void 0},Ge=()=>{p="idle",at(),R(),F(),ae=et=null},Me=()=>{p="finished",_&&_(),at(),R()},xt=()=>{if(M)return;Z||(Z=n(Vt));const Oe=Z.now();y&&y(),ce!==null?ae=Oe-ce:(!ae||p==="finished")&&(ae=Oe),p==="finished"&&F(),et=ae,ce=null,p="running",Z.start()};e&&xt();const St={then(Oe,st){return H.then(Oe,st)},get time(){return Qr(tt)},set time(Oe){Oe=Li(Oe),tt=Oe,ce!==null||!Z||P===0?ce=Oe:ae=Z.now()-Oe/P},get duration(){const Oe=re.calculatedDuration===null?km(re):re.calculatedDuration;return Qr(Oe)},get speed(){return P},set speed(Oe){Oe===P||!Z||(P=Oe,St.time=Qr(tt))},get state(){return p},play:xt,pause:()=>{p="paused",ce=tt},stop:()=>{M=!0,p!=="idle"&&(p="idle",v&&v(),Ge())},cancel:()=>{et!==null&&Vt(et),Ge()},complete:()=>{p="finished"},sample:Oe=>(ae=0,Vt(Oe))};return St}function QC(e){let t;return()=>(t===void 0&&(t=e()),t)}const eA=QC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tA=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Rl=10,nA=2e4,rA=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Uy(t.ease);function iA(e,t,{onUpdate:n,onComplete:i,...a}){if(!(eA()&&tA.has(t)&&!a.repeatDelay&&a.repeatType!=="mirror"&&a.damping!==0&&a.type!=="inertia"))return!1;let f=!1,d,y,v=!1;const _=()=>{y=new Promise(G=>{d=G})};_();let{keyframes:x,duration:A=300,ease:P,times:M}=a;if(rA(t,a)){const G=nu({...a,repeat:0,delay:0});let oe={done:!1,value:x[0]};const re=[];let se=0;for(;!oe.done&&se<nA;)oe=G.sample(se),re.push(oe.value),se+=Rl;M=void 0,x=re,A=se-Rl,P="linear"}const R=pC(e.owner.current,t,x,{...a,duration:A,ease:P,times:M}),H=()=>{v=!1,R.cancel()},F=()=>{v=!0,ot.update(H),d(),_()};return R.onfinish=()=>{v||(e.set(mC(x,a)),i&&i(),F())},{then(G,oe){return y.then(G,oe)},attachTimeline(G){return R.timeline=G,R.onfinish=null,vt},get time(){return Qr(R.currentTime||0)},set time(G){R.currentTime=Li(G)},get speed(){return R.playbackRate},set speed(G){R.playbackRate=G},get duration(){return Qr(A)},play:()=>{f||(R.play(),ni(H))},pause:()=>R.pause(),stop:()=>{if(f=!0,R.playState==="idle")return;const{currentTime:G}=R;if(G){const oe=nu({...a,autoplay:!1});e.setWithVelocity(oe.sample(G-Rl).value,oe.sample(G).value,Rl)}F()},complete:()=>{v||R.finish()},cancel:F}}function sA({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const a=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:vt,pause:vt,stop:vt,then:l=>(l(),Promise.resolve()),cancel:vt,complete:vt});return t?nu({keyframes:[0,1],duration:0,delay:t,onComplete:a}):a()}const aA={type:"spring",stiffness:500,damping:25,restSpeed:10},oA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lA={type:"keyframes",duration:.8},uA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},cA=(e,{keyframes:t})=>t.length>2?lA:fs.has(e)?e.startsWith("scale")?oA(t[1]):aA:uA,Vf=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Fi.test(t)||t==="0")&&!t.startsWith("url(")),fA=new Set(["brightness","contrast","saturate","opacity"]);function hA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Su)||[];if(!i)return e;const a=n.replace(i,"");let l=fA.has(t)?1:0;return i!==n&&(l*=100),t+"("+l+a+")"}const dA=/([a-z-]*)\(.*?\)/g,Yf={...Fi,getAnimatableNone:e=>{const t=e.match(dA);return t?t.map(hA).join(" "):e}},pA={...Cy,color:nn,backgroundColor:nn,outlineColor:nn,fill:nn,stroke:nn,borderColor:nn,borderTopColor:nn,borderRightColor:nn,borderBottomColor:nn,borderLeftColor:nn,filter:Yf,WebkitFilter:Yf},kh=e=>pA[e];function dv(e,t){let n=kh(e);return n!==Yf&&(n=Fi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const pv=e=>/^0[^.\s]+$/.test(e);function mA(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||pv(e)}function gA(e,t,n,i){const a=Vf(t,n);let l;Array.isArray(n)?l=[...n]:l=[null,n];const f=i.from!==void 0?i.from:e.get();let d;const y=[];for(let v=0;v<l.length;v++)l[v]===null&&(l[v]=v===0?f:l[v-1]),mA(l[v])&&y.push(v),typeof l[v]=="string"&&l[v]!=="none"&&l[v]!=="0"&&(d=l[v]);if(a&&y.length&&d)for(let v=0;v<y.length;v++){const _=y[v];l[_]=dv(t,d)}return l}function yA({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:a,repeat:l,repeatType:f,repeatDelay:d,from:y,elapsed:v,..._}){return!!Object.keys(_).length}function Ph(e,t){return e[t]||e.default||e}const vA={skipAnimations:!1},Oh=(e,t,n,i={})=>a=>{const l=Ph(i,e)||{},f=l.delay||i.delay||0;let{elapsed:d=0}=i;d=d-Li(f);const y=gA(t,e,n,l),v=y[0],_=y[y.length-1],x=Vf(e,v),A=Vf(e,_);let P={keyframes:y,velocity:t.getVelocity(),ease:"easeOut",...l,delay:-d,onUpdate:M=>{t.set(M),l.onUpdate&&l.onUpdate(M)},onComplete:()=>{a(),l.onComplete&&l.onComplete()}};if(yA(l)||(P={...P,...cA(e,P)}),P.duration&&(P.duration=Li(P.duration)),P.repeatDelay&&(P.repeatDelay=Li(P.repeatDelay)),!x||!A||dC.current||l.type===!1||vA.skipAnimations)return sA(P);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const M=iA(t,e,P);if(M)return M}return nu(P)};function ru(e){return!!(vn(e)&&e.add)}const mv=e=>/^\-?\d*\.?\d+$/.test(e);function Mh(e,t){e.indexOf(t)===-1&&e.push(t)}function Rh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Lh{constructor(){this.subscriptions=[]}add(t){return Mh(this.subscriptions,t),()=>Rh(this.subscriptions,t)}notify(t,n,i){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,i);else for(let l=0;l<a;l++){const f=this.subscriptions[l];f&&f(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xA=e=>!isNaN(parseFloat(e));class bA{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,a=!0)=>{this.prev=this.current,this.current=i;const{delta:l,timestamp:f}=$t;this.lastUpdated!==f&&(this.timeDelta=l,this.lastUpdated=f,ot.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ot.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=xA(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Lh);const i=this.events[t].add(n);return t==="change"?()=>{i(),ot.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?cv(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xs(e,t){return new bA(e,t)}const gv=e=>t=>t.test(e),wA={test:e=>e==="auto",parse:e=>e},yv=[hs,Te,Dr,Ai,CT,TT,wA],Va=e=>yv.find(gv(e)),_A=[...yv,nn,Fi],SA=e=>_A.find(gv(e));function EA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xs(n))}function DA(e,t){const n=Du(e,t);let{transitionEnd:i={},transition:a={},...l}=n?e.makeTargetAnimatable(n,!1):{};l={...l,...i};for(const f in l){const d=YT(l[f]);EA(e,f,d)}}function TA(e,t,n){var i,a;const l=Object.keys(t).filter(d=>!e.hasValue(d)),f=l.length;if(f)for(let d=0;d<f;d++){const y=l[d],v=t[y];let _=null;Array.isArray(v)&&(_=v[0]),_===null&&(_=(a=(i=n[y])!==null&&i!==void 0?i:e.readValue(y))!==null&&a!==void 0?a:t[y]),_!=null&&(typeof _=="string"&&(mv(_)||pv(_))?_=parseFloat(_):!SA(_)&&Fi.test(v)&&(_=dv(y,v)),e.addValue(y,Xs(_,{owner:e})),n[y]===void 0&&(n[y]=_),_!==null&&e.setBaseTarget(y,_))}}function CA(e,t){return t?(t[e]||t.default||t).from:void 0}function AA(e,t,n){const i={};for(const a in e){const l=CA(a,t);if(l!==void 0)i[a]=l;else{const f=n.getValue(a);f&&(i[a]=f.get())}}return i}function kA({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function PA(e,t){const n=e.get();if(Array.isArray(t)){for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}else return n!==t}function vv(e,t,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:l=e.getDefaultTransition(),transitionEnd:f,...d}=e.makeTargetAnimatable(t);const y=e.getValue("willChange");i&&(l=i);const v=[],_=a&&e.animationState&&e.animationState.getState()[a];for(const x in d){const A=e.getValue(x),P=d[x];if(!A||P===void 0||_&&kA(_,x))continue;const M={delay:n,elapsed:0,...Ph(l||{},x)};if(window.HandoffAppearAnimations){const F=e.getProps()[xy];if(F){const Z=window.HandoffAppearAnimations(F,x,A,ot);Z!==null&&(M.elapsed=Z,M.isHandoff=!0)}}let R=!M.isHandoff&&!PA(A,P);if(M.type==="spring"&&(A.getVelocity()||M.velocity)&&(R=!1),A.animation&&(R=!1),R)continue;A.start(Oh(x,A,P,e.shouldReduceMotion&&fs.has(x)?{type:!1}:M));const H=A.animation;ru(y)&&(y.add(x),H.then(()=>y.remove(x))),v.push(H)}return f&&Promise.all(v).then(()=>{f&&DA(e,f)}),v}function Uf(e,t,n={}){const i=Du(e,t,n.custom);let{transition:a=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const l=i?()=>Promise.all(vv(e,i,n)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(y=0)=>{const{delayChildren:v=0,staggerChildren:_,staggerDirection:x}=a;return OA(e,t,v+y,_,x,n)}:()=>Promise.resolve(),{when:d}=a;if(d){const[y,v]=d==="beforeChildren"?[l,f]:[f,l];return y().then(()=>v())}else return Promise.all([l(),f(n.delay)])}function OA(e,t,n=0,i=0,a=1,l){const f=[],d=(e.variantChildren.size-1)*i,y=a===1?(v=0)=>v*i:(v=0)=>d-v*i;return Array.from(e.variantChildren).sort(MA).forEach((v,_)=>{v.notify("AnimationStart",t),f.push(Uf(v,t,{...l,delay:n+y(_)}).then(()=>v.notify("AnimationComplete",t)))}),Promise.all(f)}function MA(e,t){return e.sortNodePosition(t)}function RA(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const a=t.map(l=>Uf(e,l,n));i=Promise.all(a)}else if(typeof t=="string")i=Uf(e,t,n);else{const a=typeof t=="function"?Du(e,t,n.custom):t;i=Promise.all(vv(e,a,n))}return i.then(()=>e.notify("AnimationComplete",t))}const LA=[...gh].reverse(),IA=gh.length;function NA(e){return t=>Promise.all(t.map(({animation:n,options:i})=>RA(e,n,i)))}function FA(e){let t=NA(e);const n=BA();let i=!0;const a=(y,v)=>{const _=Du(e,v);if(_){const{transition:x,transitionEnd:A,...P}=_;y={...y,...P,...A}}return y};function l(y){t=y(e)}function f(y,v){const _=e.getProps(),x=e.getVariantContext(!0)||{},A=[],P=new Set;let M={},R=1/0;for(let F=0;F<IA;F++){const Z=LA[F],G=n[Z],oe=_[Z]!==void 0?_[Z]:x[Z],re=eo(oe),se=Z===v?G.isActive:null;se===!1&&(R=F);let p=oe===x[Z]&&oe!==_[Z]&&re;if(p&&i&&e.manuallyAnimateOnMount&&(p=!1),G.protectedKeys={...M},!G.isActive&&se===null||!oe&&!G.prevProp||wu(oe)||typeof oe=="boolean")continue;let ae=WA(G.prevProp,oe)||Z===v&&G.isActive&&!p&&re||F>R&&re,et=!1;const gt=Array.isArray(oe)?oe:[oe];let Ze=gt.reduce(a,{});se===!1&&(Ze={});const{prevResolvedValues:_e={}}=G,tt={..._e,...Ze},Vt=at=>{ae=!0,P.has(at)&&(et=!0,P.delete(at)),G.needsAnimating[at]=!0};for(const at in tt){const Ge=Ze[at],Me=_e[at];if(M.hasOwnProperty(at))continue;let xt=!1;Ql(Ge)&&Ql(Me)?xt=!Vy(Ge,Me):xt=Ge!==Me,xt?Ge!==void 0?Vt(at):P.add(at):Ge!==void 0&&P.has(at)?Vt(at):G.protectedKeys[at]=!0}G.prevProp=oe,G.prevResolvedValues=Ze,G.isActive&&(M={...M,...Ze}),i&&e.blockInitialAnimation&&(ae=!1),ae&&(!p||et)&&A.push(...gt.map(at=>({animation:at,options:{type:Z,...y}})))}if(P.size){const F={};P.forEach(Z=>{const G=e.getBaseTarget(Z);G!==void 0&&(F[Z]=G)}),A.push({animation:F})}let H=!!A.length;return i&&(_.initial===!1||_.initial===_.animate)&&!e.manuallyAnimateOnMount&&(H=!1),i=!1,H?t(A):Promise.resolve()}function d(y,v,_){var x;if(n[y].isActive===v)return Promise.resolve();(x=e.variantChildren)===null||x===void 0||x.forEach(P=>{var M;return(M=P.animationState)===null||M===void 0?void 0:M.setActive(y,v)}),n[y].isActive=v;const A=f(_,y);for(const P in n)n[P].protectedKeys={};return A}return{animateChanges:f,setActive:d,setAnimateFunction:l,getState:()=>n}}function WA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Vy(t,e):!1}function rs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function BA(){return{animate:rs(!0),whileInView:rs(),whileHover:rs(),whileTap:rs(),whileDrag:rs(),whileFocus:rs(),exit:rs()}}class jA extends Wi{constructor(t){super(t),t.animationState||(t.animationState=FA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),wu(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let VA=0;class YA extends Wi{constructor(){super(...arguments),this.id=VA++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:i}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;const l=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});n&&!t&&l.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const UA={animation:{Feature:jA},exit:{Feature:YA}},Pm=(e,t)=>Math.abs(e-t);function HA(e,t){const n=Pm(e.x,t.x),i=Pm(e.y,t.y);return Math.sqrt(n**2+i**2)}class xv{constructor(t,n,{transformPagePoint:i,contextWindow:a,dragSnapToOrigin:l=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=bf(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,P=HA(x.offset,{x:0,y:0})>=3;if(!A&&!P)return;const{point:M}=x,{timestamp:R}=$t;this.history.push({...M,timestamp:R});const{onStart:H,onMove:F}=this.handlers;A||(H&&H(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,x)},this.handlePointerMove=(x,A)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=xf(A,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(x,A)=>{this.end();const{onEnd:P,onSessionEnd:M,resumeAnimation:R}=this.handlers;if(this.dragSnapToOrigin&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const H=bf(x.type==="pointercancel"?this.lastMoveEventInfo:xf(A,this.transformPagePoint),this.history);this.startEvent&&P&&P(x,H),M&&M(x,H)},!Ny(t))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=i,this.contextWindow=a||window;const f=Eu(t),d=xf(f,this.transformPagePoint),{point:y}=d,{timestamp:v}=$t;this.history=[{...y,timestamp:v}];const{onSessionStart:_}=n;_&&_(t,bf(d,this.history)),this.removeListeners=Ri(Jr(this.contextWindow,"pointermove",this.handlePointerMove),Jr(this.contextWindow,"pointerup",this.handlePointerUp),Jr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ni(this.updatePoint)}}function xf(e,t){return t?{point:t(e.point)}:e}function Om(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bf({point:e},t){return{point:e,delta:Om(e,bv(t)),offset:Om(e,zA(t)),velocity:qA(t,.1)}}function zA(e){return e[0]}function bv(e){return e[e.length-1]}function qA(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const a=bv(e);for(;n>=0&&(i=e[n],!(a.timestamp-i.timestamp>Li(t)));)n--;if(!i)return{x:0,y:0};const l=Qr(a.timestamp-i.timestamp);if(l===0)return{x:0,y:0};const f={x:(a.x-i.x)/l,y:(a.y-i.y)/l};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function Pn(e){return e.max-e.min}function Hf(e,t=0,n=.01){return Math.abs(e-t)<=n}function Mm(e,t,n,i=.5){e.origin=i,e.originPoint=mt(t.min,t.max,e.origin),e.scale=Pn(n)/Pn(t),(Hf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=mt(n.min,n.max,e.origin)-e.originPoint,(Hf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ka(e,t,n,i){Mm(e.x,t.x,n.x,i?i.originX:void 0),Mm(e.y,t.y,n.y,i?i.originY:void 0)}function Rm(e,t,n){e.min=n.min+t.min,e.max=e.min+Pn(t)}function GA(e,t,n){Rm(e.x,t.x,n.x),Rm(e.y,t.y,n.y)}function Lm(e,t,n){e.min=t.min-n.min,e.max=e.min+Pn(t)}function Za(e,t,n){Lm(e.x,t.x,n.x),Lm(e.y,t.y,n.y)}function $A(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?mt(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?mt(n,e,i.max):Math.min(e,n)),e}function Im(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function XA(e,{top:t,left:n,bottom:i,right:a}){return{x:Im(e.x,n,a),y:Im(e.y,t,i)}}function Nm(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function KA(e,t){return{x:Nm(e.x,t.x),y:Nm(e.y,t.y)}}function ZA(e,t){let n=.5;const i=Pn(e),a=Pn(t);return a>i?n=no(t.min,t.max-i,e.min):i>a&&(n=no(e.min,e.max-a,t.min)),Ni(0,1,n)}function JA(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const zf=.35;function QA(e=zf){return e===!1?e=0:e===!0&&(e=zf),{x:Fm(e,"left","right"),y:Fm(e,"top","bottom")}}function Fm(e,t,n){return{min:Wm(e,t),max:Wm(e,n)}}function Wm(e,t){return typeof e=="number"?e:e[t]||0}const Bm=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ys=()=>({x:Bm(),y:Bm()}),jm=()=>({min:0,max:0}),Dt=()=>({x:jm(),y:jm()});function Hn(e){return[e("x"),e("y")]}function wv({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function ek({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tk(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function wf(e){return e===void 0||e===1}function qf({scale:e,scaleX:t,scaleY:n}){return!wf(e)||!wf(t)||!wf(n)}function ss(e){return qf(e)||_v(e)||e.z||e.rotate||e.rotateX||e.rotateY}function _v(e){return Vm(e.x)||Vm(e.y)}function Vm(e){return e&&e!=="0%"}function iu(e,t,n){const i=e-n,a=t*i;return n+a}function Ym(e,t,n,i,a){return a!==void 0&&(e=iu(e,a,i)),iu(e,n,i)+t}function Gf(e,t=0,n=1,i,a){e.min=Ym(e.min,t,n,i,a),e.max=Ym(e.max,t,n,i,a)}function Sv(e,{x:t,y:n}){Gf(e.x,t.translate,t.scale,t.originPoint),Gf(e.y,n.translate,n.scale,n.originPoint)}function nk(e,t,n,i=!1){const a=n.length;if(!a)return;t.x=t.y=1;let l,f;for(let d=0;d<a;d++){l=n[d],f=l.projectionDelta;const y=l.instance;y&&y.style&&y.style.display==="contents"||(i&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Us(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),f&&(t.x*=f.x.scale,t.y*=f.y.scale,Sv(e,f)),i&&ss(l.latestValues)&&Us(e,l.latestValues))}t.x=Um(t.x),t.y=Um(t.y)}function Um(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ki(e,t){e.min=e.min+t,e.max=e.max+t}function Hm(e,t,[n,i,a]){const l=t[a]!==void 0?t[a]:.5,f=mt(e.min,e.max,l);Gf(e,t[n],t[i],f,t.scale)}const rk=["x","scaleX","originX"],ik=["y","scaleY","originY"];function Us(e,t){Hm(e.x,t,rk),Hm(e.y,t,ik)}function Ev(e,t){return wv(tk(e.getBoundingClientRect(),t))}function sk(e,t,n){const i=Ev(e,n),{scroll:a}=t;return a&&(ki(i.x,a.offset.x),ki(i.y,a.offset.y)),i}const Dv=({current:e})=>e?e.ownerDocument.defaultView:null,ak=new WeakMap;class ok{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=_=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Eu(_,"page").point)},l=(_,x)=>{const{drag:A,dragPropagation:P,onDragStart:M}=this.getProps();if(A&&!P&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Wy(A),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hn(H=>{let F=this.getAxisMotionValue(H).get()||0;if(Dr.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const G=Z.layout.layoutBox[H];G&&(F=Pn(G)*(parseFloat(F)/100))}}this.originPoint[H]=F}),M&&ot.update(()=>M(_,x),!1,!0);const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},f=(_,x)=>{const{dragPropagation:A,dragDirectionLock:P,onDirectionLock:M,onDrag:R}=this.getProps();if(!A&&!this.openGlobalLock)return;const{offset:H}=x;if(P&&this.currentDirection===null){this.currentDirection=lk(H),this.currentDirection!==null&&M&&M(this.currentDirection);return}this.updateAxis("x",x.point,H),this.updateAxis("y",x.point,H),this.visualElement.render(),R&&R(_,x)},d=(_,x)=>this.stop(_,x),y=()=>Hn(_=>{var x;return this.getAnimationState(_)==="paused"&&((x=this.getAxisMotionValue(_).animation)===null||x===void 0?void 0:x.play())}),{dragSnapToOrigin:v}=this.getProps();this.panSession=new xv(t,{onSessionStart:a,onStart:l,onMove:f,onSessionEnd:d,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,contextWindow:Dv(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:a}=n;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&ot.update(()=>l(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:a}=this.getProps();if(!i||!Ll(t,a,this.currentDirection))return;const l=this.getAxisMotionValue(t);let f=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(f=$A(f,this.constraints[t],this.elastic[t])),l.set(f)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,l=this.constraints;n&&js(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=XA(a.layoutBox,n):this.constraints=!1,this.elastic=QA(i),l!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Hn(f=>{this.getAxisMotionValue(f)&&(this.constraints[f]=JA(a.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!js(t))return!1;const i=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const l=sk(i,a.root,this.visualElement.getTransformPagePoint());let f=KA(a.layout.layoutBox,l);if(n){const d=n(ek(f));this.hasMutatedConstraints=!!d,d&&(f=wv(d))}return f}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:a,dragTransition:l,dragSnapToOrigin:f,onDragTransitionEnd:d}=this.getProps(),y=this.constraints||{},v=Hn(_=>{if(!Ll(_,n,this.currentDirection))return;let x=y&&y[_]||{};f&&(x={min:0,max:0});const A=a?200:1e6,P=a?40:1e7,M={type:"inertia",velocity:i?t[_]:0,bounceStiffness:A,bounceDamping:P,timeConstant:750,restDelta:1,restSpeed:10,...l,...x};return this.startAxisValueAnimation(_,M)});return Promise.all(v).then(d)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return i.start(Oh(t,i,0,n))}stopAnimation(){Hn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Hn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),a=i[n];return a||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Hn(n=>{const{drag:i}=this.getProps();if(!Ll(n,i,this.currentDirection))return;const{projection:a}=this.visualElement,l=this.getAxisMotionValue(n);if(a&&a.layout){const{min:f,max:d}=a.layout.layoutBox[n];l.set(t[n]-mt(f,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!js(n)||!i||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Hn(f=>{const d=this.getAxisMotionValue(f);if(d){const y=d.get();a[f]=ZA({min:y,max:y},this.constraints[f])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Hn(f=>{if(!Ll(f,t,null))return;const d=this.getAxisMotionValue(f),{min:y,max:v}=this.constraints[f];d.set(mt(y,v,a[f]))})}addListeners(){if(!this.visualElement.current)return;ak.set(this.visualElement,this);const t=this.visualElement.current,n=Jr(t,"pointerdown",y=>{const{drag:v,dragListener:_=!0}=this.getProps();v&&_&&this.start(y)}),i=()=>{const{dragConstraints:y}=this.getProps();js(y)&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,l=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),i();const f=$r(window,"resize",()=>this.scalePositionWithinConstraints()),d=a.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v})=>{this.isDragging&&v&&(Hn(_=>{const x=this.getAxisMotionValue(_);x&&(this.originPoint[_]+=y[_].translate,x.set(x.get()+y[_].translate))}),this.visualElement.render())});return()=>{f(),n(),l(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:l=!1,dragElastic:f=zf,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:l,dragElastic:f,dragMomentum:d}}}function Ll(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lk(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class uk extends Wi{constructor(t){super(t),this.removeGroupControls=vt,this.removeListeners=vt,this.controls=new ok(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt}unmount(){this.removeGroupControls(),this.removeListeners()}}const zm=e=>(t,n)=>{e&&ot.update(()=>e(t,n))};class ck extends Wi{constructor(){super(...arguments),this.removePointerDownListener=vt}onPointerDown(t){this.session=new xv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Dv(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:zm(t),onStart:zm(n),onMove:i,onEnd:(l,f)=>{delete this.session,a&&ot.update(()=>a(l,f))}}}mount(){this.removePointerDownListener=Jr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function fk(){const e=V.reactExports.useContext(ph);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,a=V.reactExports.useId();return V.reactExports.useEffect(()=>i(a),[]),!t&&n?[!1,()=>n&&n(a)]:[!0]}const Ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ya={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Te.test(e))e=parseFloat(e);else return e;const n=qm(e,t.target.x),i=qm(e,t.target.y);return`${n}% ${i}%`}},hk={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,a=Fi.parse(e);if(a.length>5)return i;const l=Fi.createTransformer(e),f=typeof a[0]!="number"?1:0,d=n.x.scale*t.x,y=n.y.scale*t.y;a[0+f]/=d,a[1+f]/=y;const v=mt(d,y,.5);return typeof a[2+f]=="number"&&(a[2+f]/=v),typeof a[3+f]=="number"&&(a[3+f]/=v),l(a)}};class dk extends V.React.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:a}=this.props,{projection:l}=t;xT(pk),l&&(n.group&&n.group.add(l),i&&i.register&&a&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),Ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:a,isPresent:l}=this.props,f=i.projection;return f&&(f.isPresent=l,a||t.layoutDependency!==n||n===void 0?f.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?f.promote():f.relegate()||ot.postRender(()=>{const d=f.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Tv(e){const[t,n]=fk(),i=V.reactExports.useContext(wy);return V.React.createElement(dk,{...e,layoutGroup:i,switchLayoutGroup:V.reactExports.useContext(_y),isPresent:t,safeToRemove:n})}const pk={borderRadius:{...Ya,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ya,borderTopRightRadius:Ya,borderBottomLeftRadius:Ya,borderBottomRightRadius:Ya,boxShadow:hk},Cv=["TopLeft","TopRight","BottomLeft","BottomRight"],mk=Cv.length,Gm=e=>typeof e=="string"?parseFloat(e):e,$m=e=>typeof e=="number"||Te.test(e);function gk(e,t,n,i,a,l){a?(e.opacity=mt(0,n.opacity!==void 0?n.opacity:1,yk(i)),e.opacityExit=mt(t.opacity!==void 0?t.opacity:1,0,vk(i))):l&&(e.opacity=mt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let f=0;f<mk;f++){const d=`border${Cv[f]}Radius`;let y=Xm(t,d),v=Xm(n,d);if(y===void 0&&v===void 0)continue;y||(y=0),v||(v=0),y===0||v===0||$m(y)===$m(v)?(e[d]=Math.max(mt(Gm(y),Gm(v),i),0),(Dr.test(v)||Dr.test(y))&&(e[d]+="%")):e[d]=v}(t.rotate||n.rotate)&&(e.rotate=mt(t.rotate||0,n.rotate||0,i))}function Xm(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const yk=Av(0,.5,Ky),vk=Av(.5,.95,vt);function Av(e,t,n){return i=>i<e?0:i>t?1:n(no(e,t,i))}function Km(e,t){e.min=t.min,e.max=t.max}function Un(e,t){Km(e.x,t.x),Km(e.y,t.y)}function Zm(e,t,n,i,a){return e-=t,e=iu(e,1/n,i),a!==void 0&&(e=iu(e,1/a,i)),e}function xk(e,t=0,n=1,i=.5,a,l=e,f=e){if(Dr.test(t)&&(t=parseFloat(t),t=mt(f.min,f.max,t/100)-f.min),typeof t!="number")return;let d=mt(l.min,l.max,i);e===l&&(d-=t),e.min=Zm(e.min,t,n,d,a),e.max=Zm(e.max,t,n,d,a)}function Jm(e,t,[n,i,a],l,f){xk(e,t[n],t[i],t[a],t.scale,l,f)}const bk=["x","scaleX","originX"],wk=["y","scaleY","originY"];function Qm(e,t,n,i){Jm(e.x,t,bk,n?n.x:void 0,i?i.x:void 0),Jm(e.y,t,wk,n?n.y:void 0,i?i.y:void 0)}function eg(e){return e.translate===0&&e.scale===1}function kv(e){return eg(e.x)&&eg(e.y)}function _k(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Pv(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function tg(e){return Pn(e.x)/Pn(e.y)}class Sk{constructor(){this.members=[]}add(t){Mh(this.members,t),t.scheduleRender()}remove(t){if(Rh(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let i;for(let a=n;a>=0;a--){const l=this.members[a];if(l.isPresent!==!1){i=l;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ng(e,t,n){let i="";const a=e.x.translate/t.x,l=e.y.translate/t.y;if((a||l)&&(i=`translate3d(${a}px, ${l}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:y,rotateX:v,rotateY:_}=n;y&&(i+=`rotate(${y}deg) `),v&&(i+=`rotateX(${v}deg) `),_&&(i+=`rotateY(${_}deg) `)}const f=e.x.scale*t.x,d=e.y.scale*t.y;return(f!==1||d!==1)&&(i+=`scale(${f}, ${d})`),i||"none"}const Ek=(e,t)=>e.depth-t.depth;class Dk{constructor(){this.children=[],this.isDirty=!1}add(t){Mh(this.children,t),this.isDirty=!0}remove(t){Rh(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Ek),this.isDirty=!1,this.children.forEach(t)}}function Tk(e,t){const n=performance.now(),i=({timestamp:a})=>{const l=a-n;l>=t&&(ni(i),e(l-t))};return ot.read(i,!0),()=>ni(i)}function Ck(e){window.MotionDebug&&window.MotionDebug.record(e)}function Ak(e){return e instanceof SVGElement&&e.tagName!=="svg"}function kk(e,t,n){const i=vn(e)?e:Xs(e);return i.start(Oh("",i,t,n)),i.animation}const rg=["","X","Y","Z"],Pk={visibility:"hidden"},ig=1e3;let Ok=0;const as={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ov({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(f={},d=t==null?void 0:t()){this.id=Ok++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,as.totalNodes=as.resolvedTargetDeltas=as.recalculatedProjection=0,this.nodes.forEach(Lk),this.nodes.forEach(Bk),this.nodes.forEach(jk),this.nodes.forEach(Ik),Ck(as)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let y=0;y<this.path.length;y++)this.path[y].shouldResetTransform=!0;this.root===this&&(this.nodes=new Dk)}addEventListener(f,d){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Lh),this.eventHandlers.get(f).add(d)}notifyListeners(f,...d){const y=this.eventHandlers.get(f);y&&y.notify(...d)}hasListeners(f){return this.eventHandlers.has(f)}mount(f,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ak(f),this.instance=f;const{layoutId:y,layout:v,visualElement:_}=this.options;if(_&&!_.current&&_.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(v||y)&&(this.isLayoutDirty=!0),e){let x;const A=()=>this.root.updateBlockedByResize=!1;e(f,()=>{this.root.updateBlockedByResize=!0,x&&x(),x=Tk(A,250),Ul.hasAnimatedSinceResize&&(Ul.hasAnimatedSinceResize=!1,this.nodes.forEach(ag))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&_&&(y||v)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:A,hasRelativeTargetChanged:P,layout:M})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const R=this.options.transition||_.getDefaultTransition()||zk,{onLayoutAnimationStart:H,onLayoutAnimationComplete:F}=_.getProps(),Z=!this.targetLayout||!Pv(this.targetLayout,M)||P,G=!A&&P;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||G||A&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(x,G);const oe={...Ph(R,"layout"),onPlay:H,onComplete:F};(_.shouldReduceMotion||this.options.layoutRoot)&&(oe.delay=0,oe.type=!1),this.startAnimation(oe)}else A||ag(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=M})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ni(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Vk),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let _=0;_<this.path.length;_++){const x=this.path[_];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:d,layout:y}=this.options;if(d===void 0&&!y)return;const v=this.getTransformTemplate();this.prevTransformTemplateValue=v?v(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(sg);return}this.isUpdating||this.nodes.forEach(Fk),this.isUpdating=!1,this.nodes.forEach(Wk),this.nodes.forEach(Mk),this.nodes.forEach(Rk),this.clearAllSnapshots();const d=performance.now();$t.delta=Ni(0,1e3/60,d-$t.timestamp),$t.timestamp=d,$t.isProcessing=!0,ff.update.process($t),ff.preRender.process($t),ff.render.process($t),$t.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Nk),this.sharedNodes.forEach(Yk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let y=0;y<this.path.length;y++)this.path[y].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let d=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(d=!1),d&&(this.scroll={animationId:this.root.animationId,phase:f,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!a)return;const f=this.isLayoutDirty||this.shouldResetTransform,d=this.projectionDelta&&!kv(this.projectionDelta),y=this.getTransformTemplate(),v=y?y(this.latestValues,""):void 0,_=v!==this.prevTransformTemplateValue;f&&(d||ss(this.latestValues)||_)&&(a(this.instance,v),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const d=this.measurePageBox();let y=this.removeElementScroll(d);return f&&(y=this.removeTransform(y)),qk(y),{animationId:this.root.animationId,measuredBox:d,layoutBox:y,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return Dt();const d=f.measureViewportBox(),{scroll:y}=this.root;return y&&(ki(d.x,y.offset.x),ki(d.y,y.offset.y)),d}removeElementScroll(f){const d=Dt();Un(d,f);for(let y=0;y<this.path.length;y++){const v=this.path[y],{scroll:_,options:x}=v;if(v!==this.root&&_&&x.layoutScroll){if(_.isRoot){Un(d,f);const{scroll:A}=this.root;A&&(ki(d.x,-A.offset.x),ki(d.y,-A.offset.y))}ki(d.x,_.offset.x),ki(d.y,_.offset.y)}}return d}applyTransform(f,d=!1){const y=Dt();Un(y,f);for(let v=0;v<this.path.length;v++){const _=this.path[v];!d&&_.options.layoutScroll&&_.scroll&&_!==_.root&&Us(y,{x:-_.scroll.offset.x,y:-_.scroll.offset.y}),ss(_.latestValues)&&Us(y,_.latestValues)}return ss(this.latestValues)&&Us(y,this.latestValues),y}removeTransform(f){const d=Dt();Un(d,f);for(let y=0;y<this.path.length;y++){const v=this.path[y];if(!v.instance||!ss(v.latestValues))continue;qf(v.latestValues)&&v.updateSnapshot();const _=Dt(),x=v.measurePageBox();Un(_,x),Qm(d,v.latestValues,v.snapshot?v.snapshot.layoutBox:void 0,_)}return ss(this.latestValues)&&Qm(d,this.latestValues),d}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$t.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var d;const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const v=!!this.resumingFrom||this!==y;if(!(f||v&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:x,layoutId:A}=this.options;if(!(!this.layout||!(x||A))){if(this.resolvedRelativeTargetAt=$t.timestamp,!this.targetDelta&&!this.relativeTarget){const P=this.getClosestProjectingParent();P&&P.layout&&this.animationProgress!==1?(this.relativeParent=P,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),Za(this.relativeTargetOrigin,this.layout.layoutBox,P.layout.layoutBox),Un(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),GA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Un(this.target,this.layout.layoutBox),Sv(this.target,this.targetDelta)):Un(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const P=this.getClosestProjectingParent();P&&!!P.resumingFrom==!!this.resumingFrom&&!P.options.layoutScroll&&P.target&&this.animationProgress!==1?(this.relativeParent=P,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),Za(this.relativeTargetOrigin,this.target,P.target),Un(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}as.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||qf(this.parent.latestValues)||_v(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var f;const d=this.getLead(),y=!!this.resumingFrom||this!==d;let v=!0;if((this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty)&&(v=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(v=!1),this.resolvedRelativeTargetAt===$t.timestamp&&(v=!1),v)return;const{layout:_,layoutId:x}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(_||x))return;Un(this.layoutCorrected,this.layout.layoutBox);const A=this.treeScale.x,P=this.treeScale.y;nk(this.layoutCorrected,this.treeScale,this.path,y),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox);const{target:M}=d;if(!M){this.projectionTransform&&(this.projectionDelta=Ys(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Ys(),this.projectionDeltaWithTransform=Ys());const R=this.projectionTransform;Ka(this.projectionDelta,this.layoutCorrected,M,this.latestValues),this.projectionTransform=ng(this.projectionDelta,this.treeScale),(this.projectionTransform!==R||this.treeScale.x!==A||this.treeScale.y!==P)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",M)),as.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),f){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(f,d=!1){const y=this.snapshot,v=y?y.latestValues:{},_={...this.latestValues},x=Ys();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const A=Dt(),P=y?y.source:void 0,M=this.layout?this.layout.source:void 0,R=P!==M,H=this.getStack(),F=!H||H.members.length<=1,Z=!!(R&&!F&&this.options.crossfade===!0&&!this.path.some(Hk));this.animationProgress=0;let G;this.mixTargetDelta=oe=>{const re=oe/1e3;og(x.x,f.x,re),og(x.y,f.y,re),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Za(A,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Uk(this.relativeTarget,this.relativeTargetOrigin,A,re),G&&_k(this.relativeTarget,G)&&(this.isProjectionDirty=!1),G||(G=Dt()),Un(G,this.relativeTarget)),R&&(this.animationValues=_,gk(_,v,this.latestValues,re,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=re},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ni(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{Ul.hasAnimatedSinceResize=!0,this.currentAnimation=kk(0,ig,{...f,onUpdate:d=>{this.mixTargetDelta(d),f.onUpdate&&f.onUpdate(d)},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ig),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:d,target:y,layout:v,latestValues:_}=f;if(!(!d||!y||!v)){if(this!==f&&this.layout&&v&&Mv(this.options.animationType,this.layout.layoutBox,v.layoutBox)){y=this.target||Dt();const x=Pn(this.layout.layoutBox.x);y.x.min=f.target.x.min,y.x.max=y.x.min+x;const A=Pn(this.layout.layoutBox.y);y.y.min=f.target.y.min,y.y.max=y.y.min+A}Un(d,y),Us(d,_),Ka(this.projectionDeltaWithTransform,this.layoutCorrected,d,_)}}registerSharedNode(f,d){this.sharedNodes.has(f)||this.sharedNodes.set(f,new Sk),this.sharedNodes.get(f).add(d);const v=d.options.initialPromotionConfig;d.promote({transition:v?v.transition:void 0,preserveFollowOpacity:v&&v.shouldPreserveFollowOpacity?v.shouldPreserveFollowOpacity(d):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var f;const{layoutId:d}=this.options;return d?((f=this.getStack())===null||f===void 0?void 0:f.lead)||this:this}getPrevLead(){var f;const{layoutId:d}=this.options;return d?(f=this.getStack())===null||f===void 0?void 0:f.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:d,preserveFollowOpacity:y}={}){const v=this.getStack();v&&v.promote(this,y),f&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetRotation(){const{visualElement:f}=this.options;if(!f)return;let d=!1;const{latestValues:y}=f;if((y.rotate||y.rotateX||y.rotateY||y.rotateZ)&&(d=!0),!d)return;const v={};for(let _=0;_<rg.length;_++){const x="rotate"+rg[_];y[x]&&(v[x]=y[x],f.setStaticValue(x,0))}f.render();for(const _ in v)f.setStaticValue(_,v[_]);f.scheduleRender()}getProjectionStyles(f){var d,y;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Pk;const v={visibility:""},_=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,v.opacity="",v.pointerEvents=Yl(f==null?void 0:f.pointerEvents)||"",v.transform=_?_(this.latestValues,""):"none",v;const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){const R={};return this.options.layoutId&&(R.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,R.pointerEvents=Yl(f==null?void 0:f.pointerEvents)||""),this.hasProjected&&!ss(this.latestValues)&&(R.transform=_?_({},""):"none",this.hasProjected=!1),R}const A=x.animationValues||x.latestValues;this.applyTransformsToTarget(),v.transform=ng(this.projectionDeltaWithTransform,this.treeScale,A),_&&(v.transform=_(A,v.transform));const{x:P,y:M}=this.projectionDelta;v.transformOrigin=`${P.origin*100}% ${M.origin*100}% 0`,x.animationValues?v.opacity=x===this?(y=(d=A.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&y!==void 0?y:1:this.preserveOpacity?this.latestValues.opacity:A.opacityExit:v.opacity=x===this?A.opacity!==void 0?A.opacity:"":A.opacityExit!==void 0?A.opacityExit:0;for(const R in Zl){if(A[R]===void 0)continue;const{correct:H,applyTo:F}=Zl[R],Z=v.transform==="none"?A[R]:H(A[R],x);if(F){const G=F.length;for(let oe=0;oe<G;oe++)v[F[oe]]=Z}else v[R]=Z}return this.options.layoutId&&(v.pointerEvents=x===this?Yl(f==null?void 0:f.pointerEvents)||"":"none"),v}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var d;return(d=f.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(sg),this.root.sharedNodes.clear()}}}function Mk(e){e.updateLayout()}function Rk(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:a}=e.layout,{animationType:l}=e.options,f=n.source!==e.layout.source;l==="size"?Hn(x=>{const A=f?n.measuredBox[x]:n.layoutBox[x],P=Pn(A);A.min=i[x].min,A.max=A.min+P}):Mv(l,n.layoutBox,i)&&Hn(x=>{const A=f?n.measuredBox[x]:n.layoutBox[x],P=Pn(i[x]);A.max=A.min+P,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+P)});const d=Ys();Ka(d,i,n.layoutBox);const y=Ys();f?Ka(y,e.applyTransform(a,!0),n.measuredBox):Ka(y,i,n.layoutBox);const v=!kv(d);let _=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:A,layout:P}=x;if(A&&P){const M=Dt();Za(M,n.layoutBox,A.layoutBox);const R=Dt();Za(R,i,P.layoutBox),Pv(M,R)||(_=!0),x.options.layoutRoot&&(e.relativeTarget=R,e.relativeTargetOrigin=M,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:y,layoutDelta:d,hasLayoutChanged:v,hasRelativeTargetChanged:_})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function Lk(e){as.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ik(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Nk(e){e.clearSnapshot()}function sg(e){e.clearMeasurements()}function Fk(e){e.isLayoutDirty=!1}function Wk(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ag(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Bk(e){e.resolveTargetDelta()}function jk(e){e.calcProjection()}function Vk(e){e.resetRotation()}function Yk(e){e.removeLeadSnapshot()}function og(e,t,n){e.translate=mt(t.translate,0,n),e.scale=mt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lg(e,t,n,i){e.min=mt(t.min,n.min,i),e.max=mt(t.max,n.max,i)}function Uk(e,t,n,i){lg(e.x,t.x,n.x,i),lg(e.y,t.y,n.y,i)}function Hk(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const zk={duration:.45,ease:[.4,0,.1,1]},ug=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),cg=ug("applewebkit/")&&!ug("chrome/")?Math.round:vt;function fg(e){e.min=cg(e.min),e.max=cg(e.max)}function qk(e){fg(e.x),fg(e.y)}function Mv(e,t,n){return e==="position"||e==="preserve-aspect"&&!Hf(tg(t),tg(n),.2)}const Gk=Ov({attachResizeListener:(e,t)=>$r(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_f={current:void 0},Rv=Ov({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_f.current){const e=new Gk({});e.mount(window),e.setOptions({layoutScroll:!0}),_f.current=e}return _f.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$k={pan:{Feature:ck},drag:{Feature:uk,ProjectionNode:Rv,MeasureLayout:Tv}},Xk=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Kk(e){const t=Xk.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}function $f(e,t,n=1){const[i,a]=Kk(e);if(!i)return;const l=window.getComputedStyle(t).getPropertyValue(i);if(l){const f=l.trim();return mv(f)?parseFloat(f):f}else return Ff(a)?$f(a,t,n+1):a}function Zk(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(a=>{const l=a.get();if(!Ff(l))return;const f=$f(l,i);f&&a.set(f)});for(const a in t){const l=t[a];if(!Ff(l))continue;const f=$f(l,i);f&&(t[a]=f,n||(n={}),n[a]===void 0&&(n[a]=l))}return{target:t,transitionEnd:n}}const Jk=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lv=e=>Jk.has(e),Qk=e=>Object.keys(e).some(Lv),hg=e=>e===hs||e===Te,dg=(e,t)=>parseFloat(e.split(", ")[t]),pg=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const a=i.match(/^matrix3d\((.+)\)$/);if(a)return dg(a[1],t);{const l=i.match(/^matrix\((.+)\)$/);return l?dg(l[1],e):0}},eP=new Set(["x","y","z"]),tP=co.filter(e=>!eP.has(e));function nP(e){const t=[];return tP.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Ks={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:pg(4,13),y:pg(5,14)};Ks.translateX=Ks.x;Ks.translateY=Ks.y;const rP=(e,t,n)=>{const i=t.measureViewportBox(),a=t.current,l=getComputedStyle(a),{display:f}=l,d={};f==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(v=>{d[v]=Ks[v](i,l)}),t.render();const y=t.measureViewportBox();return n.forEach(v=>{const _=t.getValue(v);_&&_.jump(d[v]),e[v]=Ks[v](y,l)}),e},iP=(e,t,n={},i={})=>{t={...t},i={...i};const a=Object.keys(t).filter(Lv);let l=[],f=!1;const d=[];if(a.forEach(y=>{const v=e.getValue(y);if(!e.hasValue(y))return;let _=n[y],x=Va(_);const A=t[y];let P;if(Ql(A)){const M=A.length,R=A[0]===null?1:0;_=A[R],x=Va(_);for(let H=R;H<M&&A[H]!==null;H++)P?Dh(Va(A[H])===P):P=Va(A[H])}else P=Va(A);if(x!==P)if(hg(x)&&hg(P)){const M=v.get();typeof M=="string"&&v.set(parseFloat(M)),typeof A=="string"?t[y]=parseFloat(A):Array.isArray(A)&&P===Te&&(t[y]=A.map(parseFloat))}else x!=null&&x.transform&&(P!=null&&P.transform)&&(_===0||A===0)?_===0?v.set(P.transform(_)):t[y]=x.transform(A):(f||(l=nP(e),f=!0),d.push(y),i[y]=i[y]!==void 0?i[y]:t[y],v.jump(A))}),d.length){const y=d.indexOf("height")>=0?window.pageYOffset:null,v=rP(t,e,d);return l.length&&l.forEach(([_,x])=>{e.getValue(_).set(x)}),e.render(),bu&&y!==null&&window.scrollTo({top:y}),{target:v,transitionEnd:i}}else return{target:t,transitionEnd:i}};function sP(e,t,n,i){return Qk(t)?iP(e,t,n,i):{target:t,transitionEnd:i}}const aP=(e,t,n,i)=>{const a=Zk(e,t,i);return t=a.target,i=a.transitionEnd,sP(e,t,n,i)},Xf={current:null},Iv={current:!1};function oP(){if(Iv.current=!0,!!bu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xf.current=e.matches;e.addListener(t),t()}else Xf.current=!1}function lP(e,t,n){const{willChange:i}=t;for(const a in t){const l=t[a],f=n[a];if(vn(l))e.addValue(a,l),ru(i)&&i.add(a);else if(vn(f))e.addValue(a,Xs(l,{owner:e})),ru(i)&&i.remove(a);else if(f!==l)if(e.hasValue(a)){const d=e.getValue(a);!d.hasAnimated&&d.set(l)}else{const d=e.getStaticValue(a);e.addValue(a,Xs(d!==void 0?d:l,{owner:e}))}}for(const a in n)t[a]===void 0&&e.removeValue(a);return t}const mg=new WeakMap,Nv=Object.keys(to),uP=Nv.length,gg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],cP=yh.length;class fP{constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:a,visualState:l},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ot.render(this.render,!1,!0);const{latestValues:d,renderState:y}=l;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=y,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=f,this.isControllingVariants=_u(n),this.isVariantNode=by(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:v,..._}=this.scrapeMotionValuesFromProps(n,{});for(const x in _){const A=_[x];d[x]!==void 0&&vn(A)&&(A.set(d[x],!1),ru(v)&&v.add(x))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,mg.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Iv.current||oP(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Xf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){mg.delete(this.current),this.projection&&this.projection.unmount(),ni(this.notifyUpdate),ni(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const i=fs.has(t),a=n.on("change",f=>{this.latestValues[t]=f,this.props.onUpdate&&ot.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{a(),l()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},i,a,l){let f,d;for(let y=0;y<uP;y++){const v=Nv[y],{isEnabled:_,Feature:x,ProjectionNode:A,MeasureLayout:P}=to[v];A&&(f=A),_(n)&&(!this.features[v]&&x&&(this.features[v]=new x(this)),P&&(d=P))}if((this.type==="html"||this.type==="svg")&&!this.projection&&f){this.projection=new f(this.latestValues,this.parent&&this.parent.projection);const{layoutId:y,layout:v,drag:_,dragConstraints:x,layoutScroll:A,layoutRoot:P}=n;this.projection.setOptions({layoutId:y,layout:v,alwaysMeasureLayout:!!_||x&&js(x),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof v=="string"?v:"both",initialPromotionConfig:l,layoutScroll:A,layoutRoot:P})}return d}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<gg.length;i++){const a=gg[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const l=t["on"+a];l&&(this.propEventSubscriptions[a]=this.on(a,l))}this.prevMotionValues=lP(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const n={};for(let i=0;i<cP;i++){const a=yh[i],l=this.props[a];(eo(l)||l===!1)&&(n[a]=l)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Xs(n,{owner:this}),this.addValue(t,i)),i}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props,a=typeof i=="string"||typeof i=="object"?(n=Eh(this.props,i))===null||n===void 0?void 0:n[t]:void 0;if(i&&a!==void 0)return a;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!vn(l)?l:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Lh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Fv extends fP{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...i},{transformValues:a},l){let f=AA(i,t||{},this);if(a&&(n&&(n=a(n)),i&&(i=a(i)),f&&(f=a(f))),l){TA(this,i,f);const d=aP(this,i,f,n);n=d.transitionEnd,i=d.target}return{transition:t,transitionEnd:n,...i}}}function hP(e){return window.getComputedStyle(e)}class dP extends Fv{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(fs.has(n)){const i=kh(n);return i&&i.default||0}else{const i=hP(t),a=(Dy(n)?i.getPropertyValue(n):i[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ev(t,n)}build(t,n,i,a){xh(t,n,i,a.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Sh(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;vn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,i,a){Oy(t,n,i,a)}}class pP extends Fv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(fs.has(n)){const i=kh(n);return i&&i.default||0}return n=My.has(n)?n:mh(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return Ly(t,n)}build(t,n,i,a){wh(t,n,i,this.isSVGTag,a.transformTemplate)}renderInstance(t,n,i,a){Ry(t,n,i,a)}mount(t){this.isSVGTag=_h(t.tagName),super.mount(t)}}const mP=(e,t)=>vh(e)?new pP(t,{enableHardwareAcceleration:!1}):new dP(t,{enableHardwareAcceleration:!0}),gP={layout:{ProjectionNode:Rv,MeasureLayout:Tv}},yP={...UA,...uC,...$k,...gP},Wv=yT((e,t)=>KT(e,t,yP,mP));/**
|
|
7
|
-
* @remix-run/router v1.14.2
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Remix Software Inc.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
13
|
-
*
|
|
14
|
-
* @license MIT
|
|
15
|
-
*/function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ro.apply(this,arguments)}var ls;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ls||(ls={}));const yg="popstate";function vP(e){e===void 0&&(e={});function t(i,a){let{pathname:l,search:f,hash:d}=i.location;return Kf("",{pathname:l,search:f,hash:d},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(i,a){return typeof a=="string"?a:su(a)}return bP(t,n,null,e)}function sr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xP(){return Math.random().toString(36).substr(2,8)}function vg(e,t){return{usr:e.state,key:e.key,idx:t}}function Kf(e,t,n,i){return n===void 0&&(n=null),ro({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Tu(t):t,{state:n,key:t&&t.key||i||xP()})}function su(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Tu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function bP(e,t,n,i){i===void 0&&(i={});let{window:a=document.defaultView,v5Compat:l=!1}=i,f=a.history,d=ls.Pop,y=null,v=_();v==null&&(v=0,f.replaceState(ro({},f.state,{idx:v}),""));function _(){return(f.state||{idx:null}).idx}function x(){d=ls.Pop;let H=_(),F=H==null?null:H-v;v=H,y&&y({action:d,location:R.location,delta:F})}function A(H,F){d=ls.Push;let Z=Kf(R.location,H,F);n&&n(Z,H),v=_()+1;let G=vg(Z,v),oe=R.createHref(Z);try{f.pushState(G,"",oe)}catch(re){if(re instanceof DOMException&&re.name==="DataCloneError")throw re;a.location.assign(oe)}l&&y&&y({action:d,location:R.location,delta:1})}function P(H,F){d=ls.Replace;let Z=Kf(R.location,H,F);n&&n(Z,H),v=_();let G=vg(Z,v),oe=R.createHref(Z);f.replaceState(G,"",oe),l&&y&&y({action:d,location:R.location,delta:0})}function M(H){let F=a.location.origin!=="null"?a.location.origin:a.location.href,Z=typeof H=="string"?H:su(H);return sr(F,"No window.location.(origin|href) available to create URL for href: "+Z),new URL(Z,F)}let R={get action(){return d},get location(){return e(a,f)},listen(H){if(y)throw new Error("A history only accepts one active listener");return a.addEventListener(yg,x),y=H,()=>{a.removeEventListener(yg,x),y=null}},createHref(H){return t(a,H)},createURL:M,encodeLocation(H){let F=M(H);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:A,replace:P,go(H){return f.go(H)}};return R}var xg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xg||(xg={}));function Bv(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function wP(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:a=""}=typeof e=="string"?Tu(e):e;return{pathname:n?n.startsWith("/")?n:_P(n,t):t,search:EP(i),hash:DP(a)}}function _P(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Sf(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function SP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jv(e,t){let n=SP(e);return t?n.map((i,a)=>a===e.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function Vv(e,t,n,i){i===void 0&&(i=!1);let a;typeof e=="string"?a=Tu(e):(a=ro({},e),sr(!a.pathname||!a.pathname.includes("?"),Sf("?","pathname","search",a)),sr(!a.pathname||!a.pathname.includes("#"),Sf("#","pathname","hash",a)),sr(!a.search||!a.search.includes("#"),Sf("#","search","hash",a)));let l=e===""||a.pathname==="",f=l?"/":a.pathname,d;if(f==null)d=n;else{let x=t.length-1;if(!i&&f.startsWith("..")){let A=f.split("/");for(;A[0]==="..";)A.shift(),x-=1;a.pathname=A.join("/")}d=x>=0?t[x]:"/"}let y=wP(a,d),v=f&&f!=="/"&&f.endsWith("/"),_=(l||f===".")&&n.endsWith("/");return!y.pathname.endsWith("/")&&(v||_)&&(y.pathname+="/"),y}const Yv=e=>e.join("/").replace(/\/\/+/g,"/"),EP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,DP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Uv=["post","put","patch","delete"];new Set(Uv);const TP=["get",...Uv];new Set(TP);/**
|
|
16
|
-
* React Router v6.21.3
|
|
17
|
-
*
|
|
18
|
-
* Copyright (c) Remix Software Inc.
|
|
19
|
-
*
|
|
20
|
-
* This source code is licensed under the MIT license found in the
|
|
21
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
22
|
-
*
|
|
23
|
-
* @license MIT
|
|
24
|
-
*/function au(){return au=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},au.apply(this,arguments)}const Hv=V.reactExports.createContext(null),Js=V.reactExports.createContext(null),Ih=V.reactExports.createContext(null),Cu=V.reactExports.createContext({outlet:null,matches:[],isDataRoute:!1});function CP(e,t){let{relative:n}=t===void 0?{}:t;Au()||sr(!1);let{basename:i,navigator:a}=V.reactExports.useContext(Js),{hash:l,pathname:f,search:d}=qv(e,{relative:n}),y=f;return i!=="/"&&(y=f==="/"?i:Yv([i,f])),a.createHref({pathname:y,search:d,hash:l})}function Au(){return V.reactExports.useContext(Ih)!=null}function ku(){return Au()||sr(!1),V.reactExports.useContext(Ih).location}function zv(e){V.reactExports.useContext(Js).static||V.reactExports.useLayoutEffect(e)}function AP(){let{isDataRoute:e}=V.reactExports.useContext(Cu);return e?RP():kP()}function kP(){Au()||sr(!1);let e=V.reactExports.useContext(Hv),{basename:t,future:n,navigator:i}=V.reactExports.useContext(Js),{matches:a}=V.reactExports.useContext(Cu),{pathname:l}=ku(),f=JSON.stringify(jv(a,n.v7_relativeSplatPath)),d=V.reactExports.useRef(!1);return zv(()=>{d.current=!0}),V.reactExports.useCallback(function(v,_){if(_===void 0&&(_={}),!d.current)return;if(typeof v=="number"){i.go(v);return}let x=Vv(v,JSON.parse(f),l,_.relative==="path");e==null&&t!=="/"&&(x.pathname=x.pathname==="/"?t:Yv([t,x.pathname])),(_.replace?i.replace:i.push)(x,_.state,_)},[t,i,f,l,e])}function qv(e,t){let{relative:n}=t===void 0?{}:t,{future:i}=V.reactExports.useContext(Js),{matches:a}=V.reactExports.useContext(Cu),{pathname:l}=ku(),f=JSON.stringify(jv(a,i.v7_relativeSplatPath));return V.reactExports.useMemo(()=>Vv(e,JSON.parse(f),l,n==="path"),[e,f,l,n])}var Gv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Gv||{}),$v=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}($v||{});function PP(e){let t=V.reactExports.useContext(Hv);return t||sr(!1),t}function OP(e){let t=V.reactExports.useContext(Cu);return t||sr(!1),t}function MP(e){let t=OP(),n=t.matches[t.matches.length-1];return n.route.id||sr(!1),n.route.id}function RP(){let{router:e}=PP(Gv.UseNavigateStable),t=MP($v.UseNavigateStable),n=V.reactExports.useRef(!1);return zv(()=>{n.current=!0}),V.reactExports.useCallback(function(a,l){l===void 0&&(l={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,au({fromRouteId:t},l)))},[e,t])}function LP(e){let{basename:t="/",children:n=null,location:i,navigationType:a=ls.Pop,navigator:l,static:f=!1,future:d}=e;Au()&&sr(!1);let y=t.replace(/^\/*/,"/"),v=V.reactExports.useMemo(()=>({basename:y,navigator:l,static:f,future:au({v7_relativeSplatPath:!1},d)}),[y,d,l,f]);typeof i=="string"&&(i=Tu(i));let{pathname:_="/",search:x="",hash:A="",state:P=null,key:M="default"}=i,R=V.reactExports.useMemo(()=>{let H=Bv(_,y);return H==null?null:{location:{pathname:H,search:x,hash:A,state:P,key:M},navigationType:a}},[y,_,x,A,P,M,a]);return R==null?null:V.reactExports.createElement(Js.Provider,{value:v},V.reactExports.createElement(Ih.Provider,{children:n,value:R}))}new Promise(()=>{});/**
|
|
25
|
-
* React Router DOM v6.21.3
|
|
26
|
-
*
|
|
27
|
-
* Copyright (c) Remix Software Inc.
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the MIT license found in the
|
|
30
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
31
|
-
*
|
|
32
|
-
* @license MIT
|
|
33
|
-
*/function Zf(){return Zf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Zf.apply(this,arguments)}function IP(e,t){if(e==null)return{};var n={},i=Object.keys(e),a,l;for(l=0;l<i.length;l++)a=i[l],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function NP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function FP(e,t){return e.button===0&&(!t||t==="_self")&&!NP(e)}const WP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],BP="startTransition",bg=V.React$1[BP];function jP(e){let{basename:t,children:n,future:i,window:a}=e,l=V.reactExports.useRef();l.current==null&&(l.current=vP({window:a,v5Compat:!0}));let f=l.current,[d,y]=V.reactExports.useState({action:f.action,location:f.location}),{v7_startTransition:v}=i||{},_=V.reactExports.useCallback(x=>{v&&bg?bg(()=>y(x)):y(x)},[y,v]);return V.reactExports.useLayoutEffect(()=>f.listen(_),[f,_]),V.reactExports.createElement(LP,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:f,future:i})}const VP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",YP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,UP=V.reactExports.forwardRef(function(t,n){let{onClick:i,relative:a,reloadDocument:l,replace:f,state:d,target:y,to:v,preventScrollReset:_,unstable_viewTransition:x}=t,A=IP(t,WP),{basename:P}=V.reactExports.useContext(Js),M,R=!1;if(typeof v=="string"&&YP.test(v)&&(M=v,VP))try{let G=new URL(window.location.href),oe=v.startsWith("//")?new URL(G.protocol+v):new URL(v),re=Bv(oe.pathname,P);oe.origin===G.origin&&re!=null?v=re+oe.search+oe.hash:R=!0}catch{}let H=CP(v,{relative:a}),F=HP(v,{replace:f,state:d,target:y,preventScrollReset:_,relative:a,unstable_viewTransition:x});function Z(G){i&&i(G),G.defaultPrevented||F(G)}return V.reactExports.createElement("a",Zf({},A,{href:M||H,onClick:R||l?i:Z,ref:n,target:y}))});var wg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wg||(wg={}));var _g;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_g||(_g={}));function HP(e,t){let{target:n,replace:i,state:a,preventScrollReset:l,relative:f,unstable_viewTransition:d}=t===void 0?{}:t,y=AP(),v=ku(),_=qv(e,{relative:f});return V.reactExports.useCallback(x=>{if(FP(x,n)){x.preventDefault();let A=i!==void 0?i:su(v)===su(_);y(e,{replace:A,state:a,preventScrollReset:l,relative:f,unstable_viewTransition:d})}},[v,y,_,i,a,n,e,l,f,d])}function zP(e,t){if(e==null)return{};var n={},i=Object.keys(e),a,l;for(l=0;l<i.length;l++)a=i[l],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function ou(){return ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ou.apply(this,arguments)}function Jf(e,t){return Jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},Jf(e,t)}function qP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jf(e,t)}function Ef(e,t,n){if(n||arguments.length===2)for(var i=0,a=t.length,l;i<a;i++)(l||!(i in t))&&(l||(l=Array.prototype.slice.call(t,0,i)),l[i]=t[i]);return e.concat(l||Array.prototype.slice.call(t))}/*!
|
|
34
|
-
* content-type
|
|
35
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
36
|
-
* MIT Licensed
|
|
37
|
-
*/var Sg=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,GP=/\\([\u000b\u0020-\u00ff])/g,$P=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,XP=KP;function KP(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?ZP(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),i=n!==-1?t.slice(0,n).trim():t.trim();if(!$P.test(i))throw new TypeError("invalid media type");var a=new JP(i.toLowerCase());if(n!==-1){var l,f,d;for(Sg.lastIndex=n;f=Sg.exec(t);){if(f.index!==n)throw new TypeError("invalid parameter format");n+=f[0].length,l=f[1].toLowerCase(),d=f[2],d.charCodeAt(0)===34&&(d=d.slice(1,-1),d.indexOf("\\")!==-1&&(d=d.replace(GP,"$1"))),a.parameters[l]=d}if(n!==t.length)throw new TypeError("invalid parameter format")}return a}function ZP(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function JP(e){this.parameters=Object.create(null),this.type=e}var Fs=new Map,Xv=function(t){return t.cloneNode(!0)},Eg=function(){return window.location.protocol==="file:"},Kv=function(t,n,i){var a=new XMLHttpRequest;a.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&a.readyState===2){var l=a.getResponseHeader("Content-Type");if(!l)throw new Error("Content type not found");var f=XP(l).type;if(!(f==="image/svg+xml"||f==="text/plain"))throw new Error("Invalid content type: ".concat(f))}if(a.readyState===4){if(a.status===404||a.responseXML===null)throw new Error(Eg()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(a.status===200||Eg()&&a.status===0)i(null,a);else throw new Error("There was a problem injecting the SVG: "+a.status+" "+a.statusText)}}catch(d){if(a.abort(),d instanceof Error)i(d,a);else throw d}},a.open("GET",t),a.withCredentials=n,a.overrideMimeType&&a.overrideMimeType("text/xml"),a.send()},Pi={},Dg=function(t,n){Pi[t]=Pi[t]||[],Pi[t].push(n)},QP=function(t){for(var n=function(f,d){setTimeout(function(){if(Array.isArray(Pi[t])){var y=Fs.get(t),v=Pi[t][f];y instanceof SVGSVGElement&&v(null,Xv(y)),y instanceof Error&&v(y),f===Pi[t].length-1&&delete Pi[t]}},0)},i=0,a=Pi[t].length;i<a;i++)n(i)},eO=function(t,n,i){if(Fs.has(t)){var a=Fs.get(t);if(a===void 0){Dg(t,i);return}if(a instanceof SVGSVGElement){i(null,Xv(a));return}}Fs.set(t,void 0),Dg(t,i),Kv(t,n,function(l,f){var d;l?Fs.set(t,l):((d=f.responseXML)===null||d===void 0?void 0:d.documentElement)instanceof SVGSVGElement&&Fs.set(t,f.responseXML.documentElement),QP(t)})},tO=function(t,n,i){Kv(t,n,function(a,l){var f;a?i(a):((f=l.responseXML)===null||f===void 0?void 0:f.documentElement)instanceof SVGSVGElement&&i(null,l.responseXML.documentElement)})},nO=0,rO=function(){return++nO},wr=[],Tg={},iO="http://www.w3.org/2000/svg",Df="http://www.w3.org/1999/xlink",Cg=function(t,n,i,a,l,f,d){var y=t.getAttribute("data-src")||t.getAttribute("src");if(!y){d(new Error("Invalid data-src or src attribute"));return}if(wr.indexOf(t)!==-1){wr.splice(wr.indexOf(t),1),t=null;return}wr.push(t),t.setAttribute("src","");var v=a?eO:tO;v(y,l,function(_,x){if(!x){wr.splice(wr.indexOf(t),1),t=null,d(_);return}var A=t.getAttribute("id");A&&x.setAttribute("id",A);var P=t.getAttribute("title");P&&x.setAttribute("title",P);var M=t.getAttribute("width");M&&x.setAttribute("width",M);var R=t.getAttribute("height");R&&x.setAttribute("height",R);var H=Array.from(new Set(Ef(Ef(Ef([],(x.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();x.setAttribute("class",H);var F=t.getAttribute("style");F&&x.setAttribute("style",F),x.setAttribute("data-src",y);var Z=[].filter.call(t.attributes,function(Me){return/^data-\w[\w-]*$/.test(Me.name)});if(Array.prototype.forEach.call(Z,function(Me){Me.name&&Me.value&&x.setAttribute(Me.name,Me.value)}),i){var G={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},oe,re,se,p,ce;Object.keys(G).forEach(function(Me){oe=Me,se=G[Me],re=x.querySelectorAll(oe+"[id]");for(var xt=function(Ft,Mn){p=re[Ft].id,ce=p+"-"+rO();var Ct;Array.prototype.forEach.call(se,function(Xn){Ct=x.querySelectorAll("["+Xn+'*="'+p+'"]');for(var At=0,Pr=Ct.length;At<Pr;At++){var ai=Ct[At].getAttribute(Xn);ai&&!ai.match(new RegExp('url\\("?#'+p+'"?\\)'))||Ct[At].setAttribute(Xn,"url(#"+ce+")")}});for(var Wt=x.querySelectorAll("[*|href]"),Rn=[],rn=0,sn=Wt.length;rn<sn;rn++){var Et=Wt[rn].getAttributeNS(Df,"href");Et&&Et.toString()==="#"+re[Ft].id&&Rn.push(Wt[rn])}for(var Lt=0,an=Rn.length;Lt<an;Lt++)Rn[Lt].setAttributeNS(Df,"href","#"+ce);re[Ft].id=ce},St=0,Oe=re.length;St<Oe;St++)xt(St)})}x.removeAttribute("xmlns:a");for(var ae=x.querySelectorAll("script"),et=[],gt,Ze,_e=0,tt=ae.length;_e<tt;_e++)Ze=ae[_e].getAttribute("type"),(!Ze||Ze==="application/ecmascript"||Ze==="application/javascript"||Ze==="text/javascript")&&(gt=ae[_e].innerText||ae[_e].textContent,gt&&et.push(gt),x.removeChild(ae[_e]));if(et.length>0&&(n==="always"||n==="once"&&!Tg[y])){for(var Vt=0,at=et.length;Vt<at;Vt++)new Function(et[Vt])(window);Tg[y]=!0}var Ge=x.querySelectorAll("style");if(Array.prototype.forEach.call(Ge,function(Me){Me.textContent+=""}),x.setAttribute("xmlns",iO),x.setAttribute("xmlns:xlink",Df),f(x),!t.parentNode){wr.splice(wr.indexOf(t),1),t=null,d(new Error("Parent node is null"));return}t.parentNode.replaceChild(x,t),wr.splice(wr.indexOf(t),1),t=null,d(null,x)})},sO=function(t,n){var i=n===void 0?{}:n,a=i.afterAll,l=a===void 0?function(){}:a,f=i.afterEach,d=f===void 0?function(){}:f,y=i.beforeEach,v=y===void 0?function(){}:y,_=i.cacheRequests,x=_===void 0?!0:_,A=i.evalScripts,P=A===void 0?"never":A,M=i.httpRequestWithCredentials,R=M===void 0?!1:M,H=i.renumerateIRIElements,F=H===void 0?!0:H;if(t&&"length"in t)for(var Z=0,G=0,oe=t.length;G<oe;G++)Cg(t[G],P,F,x,R,v,function(re,se){d(re,se),t&&"length"in t&&t.length===++Z&&l(Z)});else t?Cg(t,P,F,x,R,v,function(re,se){d(re,se),l(1),t=null}):l(0)},aO=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},oO=function(t,n){for(var i in t)if(!(i in n))return!0;for(var a in n)if(t[a]!==n[a])return!0;return!1},lO=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Il="http://www.w3.org/2000/svg",Ag="http://www.w3.org/1999/xlink",Nh=function(e){qP(t,e);function t(){for(var i,a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return i=e.call.apply(e,[this].concat(l))||this,i.initialState={hasError:!1,isLoading:!0},i.state=i.initialState,i._isMounted=!1,i.reactWrapper=void 0,i.nonReactWrapper=void 0,i.refCallback=function(d){i.reactWrapper=d},i}var n=t.prototype;return n.renderSVG=function(){var a=this;if(this.reactWrapper instanceof aO(this.reactWrapper).Node){var l=this.props,f=l.desc,d=l.evalScripts,y=l.httpRequestWithCredentials,v=l.renumerateIRIElements,_=l.src,x=l.title,A=l.useRequestCache,P=this.props.onError,M=this.props.beforeInjection,R=this.props.afterInjection,H=this.props.wrapper,F,Z;H==="svg"?(F=document.createElementNS(Il,H),F.setAttribute("xmlns",Il),F.setAttribute("xmlns:xlink",Ag),Z=document.createElementNS(Il,H)):(F=document.createElement(H),Z=document.createElement(H)),F.appendChild(Z),Z.dataset.src=_,this.nonReactWrapper=this.reactWrapper.appendChild(F);var G=function(p){if(a.removeSVG(),!a._isMounted){P(p);return}a.setState(function(){return{hasError:!0,isLoading:!1}},function(){P(p)})},oe=function(p,ce){if(p){G(p);return}a._isMounted&&a.setState(function(){return{isLoading:!1}},function(){try{R(ce)}catch(ae){G(ae)}})},re=function(p){if(p.setAttribute("role","img"),f){var ce=p.querySelector(":scope > desc");ce&&p.removeChild(ce);var ae=document.createElement("desc");ae.innerHTML=f,p.prepend(ae)}if(x){var et=p.querySelector(":scope > title");et&&p.removeChild(et);var gt=document.createElement("title");gt.innerHTML=x,p.prepend(gt)}try{M(p)}catch(Ze){G(Ze)}};sO(Z,{afterEach:oe,beforeEach:re,cacheRequests:A,evalScripts:d,httpRequestWithCredentials:y,renumerateIRIElements:v})}},n.removeSVG=function(){var a;(a=this.nonReactWrapper)!=null&&a.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(a){var l=this;oO(ou({},a),this.props)&&this.setState(function(){return l.initialState},function(){l.removeSVG(),l.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var a=this.props;a.afterInjection,a.beforeInjection,a.desc,a.evalScripts;var l=a.fallback;a.httpRequestWithCredentials;var f=a.loading;a.renumerateIRIElements,a.src,a.title,a.useRequestCache;var d=a.wrapper,y=zP(a,lO),v=d;return V.reactExports.createElement(v,ou({},y,{ref:this.refCallback},d==="svg"?{xmlns:Il,xmlnsXlink:Ag}:{}),this.state.isLoading&&f&&V.reactExports.createElement(f,null),this.state.hasError&&l&&V.reactExports.createElement(l,null))},t}(V.reactExports.Component);Nh.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};Nh.propTypes={afterInjection:V.propTypesExports.func,beforeInjection:V.propTypesExports.func,desc:V.propTypesExports.string,evalScripts:V.propTypesExports.oneOf(["always","once","never"]),fallback:V.propTypesExports.oneOfType([V.propTypesExports.func,V.propTypesExports.object,V.propTypesExports.string]),httpRequestWithCredentials:V.propTypesExports.bool,loading:V.propTypesExports.oneOfType([V.propTypesExports.func,V.propTypesExports.object,V.propTypesExports.string]),onError:V.propTypesExports.func,renumerateIRIElements:V.propTypesExports.bool,src:V.propTypesExports.string.isRequired,title:V.propTypesExports.string,useRequestCache:V.propTypesExports.bool,wrapper:V.propTypesExports.oneOf(["div","span","svg"])};function uO(e){return V.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...e,children:V.jsxRuntimeExports.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function cO(e){const{children:t,parentRef:n,onlyChild:i}=e,[a,l]=V.reactExports.useState({top:0,left:0});return V.reactExports.useLayoutEffect(()=>{if(n.current){const f=n.current.getBoundingClientRect();l({top:f.top,left:f.left+f.width})}},[n]),i?t:V.reactDomExports.createPortal(V.jsxRuntimeExports.jsx(Wv.div,{style:{position:"fixed",top:a.top,left:a.left,zIndex:1200},children:t}),n.current)}function Zv({item:e,level:t=0,...n}){var p;const{isActive:i,isCollapsed:a,expanded:l,toggleExpand:f}=n,d=`level-${t}`,y=a?"collapsed":"expanded",v=i(e.id)?"active":"",_=(ce,ae=d)=>`${ce} ${ae} ${y} ${v}`,x=!!((p=e.children)!=null&&p.length),[A,P]=V.reactExports.useState(!1),M=V.reactExports.useRef();function R(ce){var Ze;const{level:ae,hovered:et,parentRef:gt}=ce;return!x||a&&ae>=2&&!et?null:V.jsxRuntimeExports.jsx(cO,{parentRef:gt,onlyChild:!a||a&&ae<2,children:V.jsxRuntimeExports.jsx(Wv.div,{className:_("menu-item__dropdown",`level-${ae}`),initial:{height:a?"auto":0},animate:{height:a||l(e.id)?"auto":0},transition:{duration:.2},children:(Ze=e.children)==null?void 0:Ze.map(_e=>V.reactExports.createElement(Zv,{...n,key:_e.id,item:_e,level:ae}))},+a)})}const H=window.location.origin,F=e.path&&e.path.includes("http")?new URL(e.path):{origin:"",pathname:""},Z=window.location.pathname.split("/")[1],G=F.pathname.split("/")[1],oe=n.ssr||!H.includes("local")&&H!==F.origin||G!==Z,re=x?"div":oe?"a":UP,se=e.path||"#";return V.jsxRuntimeExports.jsxs("div",{ref:M,className:_("menu-item__wrapper"),onMouseEnter:()=>a&&P(!0),onMouseLeave:()=>a&&P(!1),children:[V.jsxRuntimeExports.jsxs(re,{to:se,href:se,style:{paddingLeft:`${a?"0.5rem":`${t*1}rem`}`},className:_("menu-item__link"),onClick:ce=>{x&&(ce.preventDefault(),a||f(e.id))},children:[t!==0&&V.jsxRuntimeExports.jsx(fO,{cls:_,item:e}),V.jsxRuntimeExports.jsx("span",{className:_("menu-item__label"),children:e.name}),x&&V.jsxRuntimeExports.jsx("div",{className:_("menu-item__icon-arrow__wrapper"),children:V.jsxRuntimeExports.jsx(uO,{className:_(`menu-item__icon-arrow__icon ${l(e.id)?"open":"close"}`)})})]}),R({level:t+1,hovered:A,parentRef:M})]},e.id)}function fO({item:e,cls:t}){var f,d;const[n,i]=V.reactExports.useState(!1),a=()=>{i(!0)},l=(f=e.icon)==null?void 0:f.endsWith(".svg");return V.jsxRuntimeExports.jsx("div",{className:t("menu-item__icon"),children:n?V.jsxRuntimeExports.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(d=e.name.trim().at(0))==null?void 0:d.toUpperCase()}):l?V.jsxRuntimeExports.jsx(Nh,{src:e.icon,beforeInjection:y=>{y.setAttribute("style","margin: 0 auto;"),y.querySelectorAll("path").forEach(_=>{_.setAttribute("stroke","currentColor")})}}):V.jsxRuntimeExports.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:a})})}function hO(){return V.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:V.jsxRuntimeExports.jsx("path",{d:"M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z"})})}function dO(){return V.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:V.jsxRuntimeExports.jsx("path",{d:"M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"})})}function pO(e){return V.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:V.jsxRuntimeExports.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const mO=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:0 8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
|
|
38
|
-
`;function gO(e){return V.jsxRuntimeExports.jsx(V.ShadowDomWrapper,{styles:[ZD,mO],style:{zIndex:1200},children:V.jsxRuntimeExports.jsx(yO,{...e})})}function yO(e){const{baseUrl:t,menuPath:n}=e,i=ku(),[a,l]=V.reactExports.useState([]),[f,d]=V.reactExports.useState(!1),[y,v]=V.reactExports.useState({}),_=Jv(a),x=window.location.origin+i.pathname,A=vO(_,x).filter(G=>G.parentKey!==0);console.log("matchPaths:",A);const P=G=>{v({...y,[G]:!y[G]})},M=()=>{d(!f)};V.reactExports.useEffect(()=>{(async()=>{const oe=t+(n||"/global-menu-config/api/v1/menu-items/user"),re=await pD.get(oe,{withCredentials:!0}).then(ce=>ce.data).catch(ce=>{var ae,et;aT(((et=(ae=ce.response)==null?void 0:ae.data)==null?void 0:et.errorMessage)||"Have error when get menu items")}),se={};re.forEach(ce=>{ce.children&&(se[ce.id]=!0)}),v(se);let p=re.map(ce=>({...ce,parentKey:0}));e.replacePath&&(p=Qv(p,e.replacePath)),l(p)})()},[t,n,e.replacePath]);const[R,H]=V.reactExports.useState(!1),F=f?"collapsed":"expanded",Z=G=>`${G} ${F}`;return V.jsxRuntimeExports.jsxs("div",{className:Z("side-bar"),children:[V.jsxRuntimeExports.jsx("div",{className:Z("side-bar__wrapper-toggle-btn"),children:V.jsxRuntimeExports.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:M,children:f?V.jsxRuntimeExports.jsx(dO,{}):V.jsxRuntimeExports.jsx(hO,{})})}),V.jsxRuntimeExports.jsx(dy,{className:Z("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:a.map(G=>{const oe=re=>A.some(se=>se.id===re);return V.jsxRuntimeExports.jsx(Zv,{item:G,isActive:oe,isCollapsed:f,expanded:re=>y[re],toggleExpand:P,replacePath:e.replacePath,ssr:e.ssr},G.id)})}),V.jsxRuntimeExports.jsxs("div",{className:Z("side-bar__wrap-btn-logout"),children:[V.jsxRuntimeExports.jsxs("button",{className:Z("side-bar__logout-btn"),onClick:()=>H(!0),children:[V.jsxRuntimeExports.jsx(pO,{}),V.jsxRuntimeExports.jsx("span",{className:Z("side-bar__logout-btn__text"),children:"Logout"})]}),V.jsxRuntimeExports.jsx(V.LogoutConfirmModal,{isOpen:R,onClose:()=>H(!1),onConfirm:()=>e.logout?e.logout():JD(e.baseUrl)})]})]})}function Jv(e){let t=[];for(const n of e)t.push(n),n.children&&(t=t.concat(Jv(n.children)));return t}function vO(e,t){let n=e.find(a=>a.path&&t.includes(a.path)),i=[];for(;n;)i=[n,...i],n=e.find(a=>a.id===n.parentKey);return i}function Qv(e,t){return e.map(n=>(n.path&&(n.path=t(n.path)),n.children&&n.children.length>0&&(n.children=Qv(n.children,t)),n))}var lu={exports:{}};/**
|
|
39
|
-
* @license
|
|
40
|
-
* Lodash <https://lodash.com/>
|
|
41
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
42
|
-
* Released under MIT license <https://lodash.com/license>
|
|
43
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
44
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
45
|
-
*/lu.exports;(function(e,t){(function(){var n,i="4.17.21",a=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",d="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",v=500,_="__lodash_placeholder__",x=1,A=2,P=4,M=1,R=2,H=1,F=2,Z=4,G=8,oe=16,re=32,se=64,p=128,ce=256,ae=512,et=30,gt="...",Ze=800,_e=16,tt=1,Vt=2,at=3,Ge=1/0,Me=9007199254740991,xt=17976931348623157e292,St=0/0,Oe=4294967295,st=Oe-1,Ft=Oe>>>1,Mn=[["ary",p],["bind",H],["bindKey",F],["curry",G],["curryRight",oe],["flip",ae],["partial",re],["partialRight",se],["rearg",ce]],Ct="[object Arguments]",Wt="[object Array]",Rn="[object AsyncFunction]",rn="[object Boolean]",sn="[object Date]",Et="[object DOMException]",Lt="[object Error]",an="[object Function]",Xn="[object GeneratorFunction]",At="[object Map]",Pr="[object Number]",ai="[object Null]",on="[object Object]",Ln="[object Promise]",Vu="[object Proxy]",Bi="[object RegExp]",xn="[object Set]",Yt="[object String]",ur="[object Symbol]",ji="[object Undefined]",ve="[object WeakMap]",Ut="[object WeakSet]",Vi="[object ArrayBuffer]",oi="[object DataView]",na="[object Float32Array]",ps="[object Float64Array]",ms="[object Int8Array]",Or="[object Int16Array]",bn="[object Int32Array]",Kn="[object Uint8Array]",cr="[object Uint8ClampedArray]",ra="[object Uint16Array]",li="[object Uint32Array]",xo=/\b__p \+= '';/g,bo=/\b(__p \+=) '' \+/g,Yu=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mr=/&(?:amp|lt|gt|quot|#39);/g,ui=/[&<>"']/g,wo=RegExp(Mr.source),_o=RegExp(ui.source),ln=/<%-([\s\S]+?)%>/g,Ht=/<%([\s\S]+?)%>/g,gs=/<%=([\s\S]+?)%>/g,Uu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,So=/^\w*$/,Eo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fr=/[\\^$.*+?()[\]{}|]/g,ci=RegExp(fr.source),Yi=/^\s+/,ys=/\s/,Hu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zu=/\{\n\/\* \[wrapped with (.+)\] \*/,qu=/,? & /,Do=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Gu=/[()=,{}\[\]\/\s]/,$u=/\\(\\)?/g,To=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Co=/\w*$/,fi=/^[-+]0x[0-9a-f]+$/i,Ao=/^0b[01]+$/i,ia=/^\[object .+?Constructor\]$/,sa=/^0o[0-7]+$/i,vs=/^(?:0|[1-9]\d*)$/,ko=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xs=/($^)/,Ui=/['\n\r\u2028\u2029\\]/g,Hi="\\ud800-\\udfff",Po="\\u0300-\\u036f",Oo="\\ufe20-\\ufe2f",Mo="\\u20d0-\\u20ff",Ro=Po+Oo+Mo,bs="\\u2700-\\u27bf",Lo="a-z\\xdf-\\xf6\\xf8-\\xff",Xu="\\xac\\xb1\\xd7\\xf7",Io="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",No="\\u2000-\\u206f",aa=" \\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",oa="A-Z\\xc0-\\xd6\\xd8-\\xde",Bt="\\ufe0e\\ufe0f",Rr=Xu+Io+No+aa,hi="['’]",Ku="["+Hi+"]",Fo="["+Rr+"]",di="["+Ro+"]",la="\\d+",ws="["+bs+"]",ua="["+Lo+"]",Wo="[^"+Hi+Rr+la+bs+Lo+oa+"]",ca="\\ud83c[\\udffb-\\udfff]",wn="(?:"+di+"|"+ca+")",fa="[^"+Hi+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",ha="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="["+oa+"]",hr="\\u200d",dr="(?:"+ua+"|"+Wo+")",da="(?:"+pi+"|"+Wo+")",Bo="(?:"+hi+"(?:d|ll|m|re|s|t|ve))?",mi="(?:"+hi+"(?:D|LL|M|RE|S|T|VE))?",pa=wn+"?",_s="["+Bt+"]?",jo="(?:"+hr+"(?:"+[fa,Lr,ha].join("|")+")"+_s+pa+")*",Vo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ma=_s+pa+jo,Ju="(?:"+[ws,Lr,ha].join("|")+")"+ma,Qu="(?:"+[fa+di+"?",di,Lr,ha,Ku].join("|")+")",ga=RegExp(hi,"g"),ec=RegExp(di,"g"),ya=RegExp(ca+"(?="+ca+")|"+Qu+ma,"g"),tc=RegExp([pi+"?"+ua+"+"+Bo+"(?="+[Fo,pi,"$"].join("|")+")",da+"+"+mi+"(?="+[Fo,pi+dr,"$"].join("|")+")",pi+"?"+dr+"+"+Bo,pi+"+"+mi,Zu,Vo,la,Ju].join("|"),"g"),nc=RegExp("["+hr+Hi+Ro+Bt+"]"),rc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ic=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],sc=-1,rt={};rt[na]=rt[ps]=rt[ms]=rt[Or]=rt[bn]=rt[Kn]=rt[cr]=rt[ra]=rt[li]=!0,rt[Ct]=rt[Wt]=rt[Vi]=rt[rn]=rt[oi]=rt[sn]=rt[Lt]=rt[an]=rt[At]=rt[Pr]=rt[on]=rt[Bi]=rt[xn]=rt[Yt]=rt[ve]=!1;var Je={};Je[Ct]=Je[Wt]=Je[Vi]=Je[oi]=Je[rn]=Je[sn]=Je[na]=Je[ps]=Je[ms]=Je[Or]=Je[bn]=Je[At]=Je[Pr]=Je[on]=Je[Bi]=Je[xn]=Je[Yt]=Je[ur]=Je[Kn]=Je[cr]=Je[ra]=Je[li]=!0,Je[Lt]=Je[an]=Je[ve]=!1;var Yo={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},va={"&":"&","<":"<",">":">",'"':""","'":"'"},Uo={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ho={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xa=parseFloat,ac=parseInt,zo=typeof V.commonjsGlobal=="object"&&V.commonjsGlobal&&V.commonjsGlobal.Object===Object&&V.commonjsGlobal,oc=typeof self=="object"&&self&&self.Object===Object&&self,ht=zo||oc||Function("return this")(),Ss=t&&!t.nodeType&&t,Zn=Ss&&!0&&e&&!e.nodeType&&e,qo=Zn&&Zn.exports===Ss,ba=qo&&zo.process,un=function(){try{var C=Zn&&Zn.require&&Zn.require("util").types;return C||ba&&ba.binding&&ba.binding("util")}catch{}}(),o=un&&un.isArrayBuffer,c=un&&un.isDate,h=un&&un.isMap,g=un&&un.isRegExp,b=un&&un.isSet,w=un&&un.isTypedArray;function E(C,W,N){switch(N.length){case 0:return C.call(W);case 1:return C.call(W,N[0]);case 2:return C.call(W,N[0],N[1]);case 3:return C.call(W,N[0],N[1],N[2])}return C.apply(W,N)}function I(C,W,N,J){for(var Q=-1,me=C==null?0:C.length;++Q<me;){var ge=C[Q];W(J,ge,N(ge),C)}return J}function O(C,W){for(var N=-1,J=C==null?0:C.length;++N<J&&W(C[N],N,C)!==!1;);return C}function Y(C,W){for(var N=C==null?0:C.length;N--&&W(C[N],N,C)!==!1;);return C}function X(C,W){for(var N=-1,J=C==null?0:C.length;++N<J;)if(!W(C[N],N,C))return!1;return!0}function K(C,W){for(var N=-1,J=C==null?0:C.length,Q=0,me=[];++N<J;){var ge=C[N];W(ge,N,C)&&(me[Q++]=ge)}return me}function q(C,W){var N=C==null?0:C.length;return!!N&&nt(C,W,0)>-1}function le(C,W,N){for(var J=-1,Q=C==null?0:C.length;++J<Q;)if(N(W,C[J]))return!0;return!1}function pe(C,W){for(var N=-1,J=C==null?0:C.length,Q=Array(J);++N<J;)Q[N]=W(C[N],N,C);return Q}function ke(C,W){for(var N=-1,J=W.length,Q=C.length;++N<J;)C[Q+N]=W[N];return C}function Ae(C,W,N,J){var Q=-1,me=C==null?0:C.length;for(J&&me&&(N=C[++Q]);++Q<me;)N=W(N,C[Q],Q,C);return N}function kt(C,W,N,J){var Q=C==null?0:C.length;for(J&&Q&&(N=C[--Q]);Q--;)N=W(N,C[Q],Q,C);return N}function dt(C,W){for(var N=-1,J=C==null?0:C.length;++N<J;)if(W(C[N],N,C))return!0;return!1}var In=Ir("length");function Nn(C){return C.split("")}function Be(C){return C.match(Do)||[]}function pr(C,W,N){var J;return N(C,function(Q,me,ge){if(W(Q,me,ge))return J=me,!1}),J}function je(C,W,N,J){for(var Q=C.length,me=N+(J?1:-1);J?me--:++me<Q;)if(W(C[me],me,C))return me;return-1}function nt(C,W,N){return W===W?cc(C,W,N):je(C,Es,N)}function zi(C,W,N,J){for(var Q=N-1,me=C.length;++Q<me;)if(J(C[Q],W))return Q;return-1}function Es(C){return C!==C}function _n(C,W){var N=C==null?0:C.length;return N?zt(C,W)/N:St}function Ir(C){return function(W){return W==null?n:W[C]}}function cn(C){return function(W){return C==null?n:C[W]}}function Jn(C,W,N,J,Q){return Q(C,function(me,ge,he){N=J?(J=!1,me):W(N,me,ge,he)}),N}function mr(C,W){var N=C.length;for(C.sort(W);N--;)C[N]=C[N].value;return C}function zt(C,W){for(var N,J=-1,Q=C.length;++J<Q;){var me=W(C[J]);me!==n&&(N=N===n?me:N+me)}return N}function qi(C,W){for(var N=-1,J=Array(C);++N<C;)J[N]=W(N);return J}function Qn(C,W){return pe(W,function(N){return[N,C[N]]})}function Fn(C){return C&&C.slice(0,$o(C)+1).replace(Yi,"")}function Kt(C){return function(W){return C(W)}}function wa(C,W){return pe(W,function(N){return C[N]})}function Gi(C,W){return C.has(W)}function $e(C,W){for(var N=-1,J=C.length;++N<J&&nt(W,C[N],0)>-1;);return N}function $i(C,W){for(var N=C.length;N--&&nt(W,C[N],0)>-1;);return N}function Sn(C,W){for(var N=C.length,J=0;N--;)C[N]===W&&++J;return J}var gi=cn(Yo),lc=cn(va);function uc(C){return"\\"+Ho[C]}function Go(C,W){return C==null?n:C[W]}function fn(C){return nc.test(C)}function _a(C){return rc.test(C)}function gr(C){for(var W,N=[];!(W=C.next()).done;)N.push(W.value);return N}function Ds(C){var W=-1,N=Array(C.size);return C.forEach(function(J,Q){N[++W]=[Q,J]}),N}function yi(C,W){return function(N){return C(W(N))}}function En(C,W){for(var N=-1,J=C.length,Q=0,me=[];++N<J;){var ge=C[N];(ge===W||ge===_)&&(C[N]=_,me[Q++]=N)}return me}function Nr(C){var W=-1,N=Array(C.size);return C.forEach(function(J){N[++W]=J}),N}function Sa(C){var W=-1,N=Array(C.size);return C.forEach(function(J){N[++W]=[J,J]}),N}function cc(C,W,N){for(var J=N-1,Q=C.length;++J<Q;)if(C[J]===W)return J;return-1}function Ts(C,W,N){for(var J=N+1;J--;)if(C[J]===W)return J;return J}function yr(C){return fn(C)?Xo(C):In(C)}function Zt(C){return fn(C)?k(C):Nn(C)}function $o(C){for(var W=C.length;W--&&ys.test(C.charAt(W)););return W}var Ea=cn(Uo);function Xo(C){for(var W=ya.lastIndex=0;ya.test(C);)++W;return W}function k(C){return C.match(ya)||[]}function j(C){return C.match(tc)||[]}var z=function C(W){W=W==null?ht:$.defaults(ht.Object(),W,$.pick(ht,ic));var N=W.Array,J=W.Date,Q=W.Error,me=W.Function,ge=W.Math,he=W.Object,Re=W.RegExp,we=W.String,Fe=W.TypeError,Pt=N.prototype,It=me.prototype,Ot=he.prototype,Jt=W["__core-js_shared__"],er=It.toString,Ce=Ot.hasOwnProperty,q0=0,sd=function(){var r=/[^.]+$/.exec(Jt&&Jt.keys&&Jt.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Ko=Ot.toString,G0=er.call(he),$0=ht._,X0=Re("^"+er.call(Ce).replace(fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zo=qo?W.Buffer:n,vi=W.Symbol,Jo=W.Uint8Array,ad=Zo?Zo.allocUnsafe:n,Qo=yi(he.getPrototypeOf,he),od=he.create,ld=Ot.propertyIsEnumerable,el=Pt.splice,ud=vi?vi.isConcatSpreadable:n,Da=vi?vi.iterator:n,Xi=vi?vi.toStringTag:n,tl=function(){try{var r=es(he,"defineProperty");return r({},"",{}),r}catch{}}(),K0=W.clearTimeout!==ht.clearTimeout&&W.clearTimeout,Z0=J&&J.now!==ht.Date.now&&J.now,J0=W.setTimeout!==ht.setTimeout&&W.setTimeout,nl=ge.ceil,rl=ge.floor,fc=he.getOwnPropertySymbols,Q0=Zo?Zo.isBuffer:n,cd=W.isFinite,ex=Pt.join,tx=yi(he.keys,he),Mt=ge.max,qt=ge.min,nx=J.now,rx=W.parseInt,fd=ge.random,ix=Pt.reverse,hc=es(W,"DataView"),Ta=es(W,"Map"),dc=es(W,"Promise"),Cs=es(W,"Set"),Ca=es(W,"WeakMap"),Aa=es(he,"create"),il=Ca&&new Ca,As={},sx=ts(hc),ax=ts(Ta),ox=ts(dc),lx=ts(Cs),ux=ts(Ca),sl=vi?vi.prototype:n,ka=sl?sl.valueOf:n,hd=sl?sl.toString:n;function D(r){if(yt(r)&&!Pe(r)&&!(r instanceof Ye)){if(r instanceof Wn)return r;if(Ce.call(r,"__wrapped__"))return dp(r)}return new Wn(r)}var ks=function(){function r(){}return function(s){if(!pt(s))return{};if(od)return od(s);r.prototype=s;var u=new r;return r.prototype=n,u}}();function al(){}function Wn(r,s){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=n}D.templateSettings={escape:ln,evaluate:Ht,interpolate:gs,variable:"",imports:{_:D}},D.prototype=al.prototype,D.prototype.constructor=D,Wn.prototype=ks(al.prototype),Wn.prototype.constructor=Wn;function Ye(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Oe,this.__views__=[]}function cx(){var r=new Ye(this.__wrapped__);return r.__actions__=hn(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=hn(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=hn(this.__views__),r}function fx(){if(this.__filtered__){var r=new Ye(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function hx(){var r=this.__wrapped__.value(),s=this.__dir__,u=Pe(r),m=s<0,S=u?r.length:0,T=Eb(0,S,this.__views__),L=T.start,B=T.end,U=B-L,ee=m?B:L-1,te=this.__iteratees__,ie=te.length,fe=0,xe=qt(U,this.__takeCount__);if(!u||!m&&S==U&&xe==U)return Nd(r,this.__actions__);var Ee=[];e:for(;U--&&fe<xe;){ee+=s;for(var Ne=-1,De=r[ee];++Ne<ie;){var Ve=te[Ne],He=Ve.iteratee,Cn=Ve.type,tn=He(De);if(Cn==Vt)De=tn;else if(!tn){if(Cn==tt)continue e;break e}}Ee[fe++]=De}return Ee}Ye.prototype=ks(al.prototype),Ye.prototype.constructor=Ye;function Ki(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function dx(){this.__data__=Aa?Aa(null):{},this.size=0}function px(r){var s=this.has(r)&&delete this.__data__[r];return this.size-=s?1:0,s}function mx(r){var s=this.__data__;if(Aa){var u=s[r];return u===y?n:u}return Ce.call(s,r)?s[r]:n}function gx(r){var s=this.__data__;return Aa?s[r]!==n:Ce.call(s,r)}function yx(r,s){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=Aa&&s===n?y:s,this}Ki.prototype.clear=dx,Ki.prototype.delete=px,Ki.prototype.get=mx,Ki.prototype.has=gx,Ki.prototype.set=yx;function Fr(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function vx(){this.__data__=[],this.size=0}function xx(r){var s=this.__data__,u=ol(s,r);if(u<0)return!1;var m=s.length-1;return u==m?s.pop():el.call(s,u,1),--this.size,!0}function bx(r){var s=this.__data__,u=ol(s,r);return u<0?n:s[u][1]}function wx(r){return ol(this.__data__,r)>-1}function _x(r,s){var u=this.__data__,m=ol(u,r);return m<0?(++this.size,u.push([r,s])):u[m][1]=s,this}Fr.prototype.clear=vx,Fr.prototype.delete=xx,Fr.prototype.get=bx,Fr.prototype.has=wx,Fr.prototype.set=_x;function Wr(r){var s=-1,u=r==null?0:r.length;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function Sx(){this.size=0,this.__data__={hash:new Ki,map:new(Ta||Fr),string:new Ki}}function Ex(r){var s=xl(this,r).delete(r);return this.size-=s?1:0,s}function Dx(r){return xl(this,r).get(r)}function Tx(r){return xl(this,r).has(r)}function Cx(r,s){var u=xl(this,r),m=u.size;return u.set(r,s),this.size+=u.size==m?0:1,this}Wr.prototype.clear=Sx,Wr.prototype.delete=Ex,Wr.prototype.get=Dx,Wr.prototype.has=Tx,Wr.prototype.set=Cx;function Zi(r){var s=-1,u=r==null?0:r.length;for(this.__data__=new Wr;++s<u;)this.add(r[s])}function Ax(r){return this.__data__.set(r,y),this}function kx(r){return this.__data__.has(r)}Zi.prototype.add=Zi.prototype.push=Ax,Zi.prototype.has=kx;function tr(r){var s=this.__data__=new Fr(r);this.size=s.size}function Px(){this.__data__=new Fr,this.size=0}function Ox(r){var s=this.__data__,u=s.delete(r);return this.size=s.size,u}function Mx(r){return this.__data__.get(r)}function Rx(r){return this.__data__.has(r)}function Lx(r,s){var u=this.__data__;if(u instanceof Fr){var m=u.__data__;if(!Ta||m.length<a-1)return m.push([r,s]),this.size=++u.size,this;u=this.__data__=new Wr(m)}return u.set(r,s),this.size=u.size,this}tr.prototype.clear=Px,tr.prototype.delete=Ox,tr.prototype.get=Mx,tr.prototype.has=Rx,tr.prototype.set=Lx;function dd(r,s){var u=Pe(r),m=!u&&ns(r),S=!u&&!m&&Si(r),T=!u&&!m&&!S&&Rs(r),L=u||m||S||T,B=L?qi(r.length,we):[],U=B.length;for(var ee in r)(s||Ce.call(r,ee))&&!(L&&(ee=="length"||S&&(ee=="offset"||ee=="parent")||T&&(ee=="buffer"||ee=="byteLength"||ee=="byteOffset")||Yr(ee,U)))&&B.push(ee);return B}function pd(r){var s=r.length;return s?r[Ec(0,s-1)]:n}function Ix(r,s){return bl(hn(r),Ji(s,0,r.length))}function Nx(r){return bl(hn(r))}function pc(r,s,u){(u!==n&&!nr(r[s],u)||u===n&&!(s in r))&&Br(r,s,u)}function Pa(r,s,u){var m=r[s];(!(Ce.call(r,s)&&nr(m,u))||u===n&&!(s in r))&&Br(r,s,u)}function ol(r,s){for(var u=r.length;u--;)if(nr(r[u][0],s))return u;return-1}function Fx(r,s,u,m){return xi(r,function(S,T,L){s(m,S,u(S),L)}),m}function md(r,s){return r&&xr(s,Nt(s),r)}function Wx(r,s){return r&&xr(s,pn(s),r)}function Br(r,s,u){s=="__proto__"&&tl?tl(r,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[s]=u}function mc(r,s){for(var u=-1,m=s.length,S=N(m),T=r==null;++u<m;)S[u]=T?n:Xc(r,s[u]);return S}function Ji(r,s,u){return r===r&&(u!==n&&(r=r<=u?r:u),s!==n&&(r=r>=s?r:s)),r}function Bn(r,s,u,m,S,T){var L,B=s&x,U=s&A,ee=s&P;if(u&&(L=S?u(r,m,S,T):u(r)),L!==n)return L;if(!pt(r))return r;var te=Pe(r);if(te){if(L=Tb(r),!B)return hn(r,L)}else{var ie=Gt(r),fe=ie==an||ie==Xn;if(Si(r))return Bd(r,B);if(ie==on||ie==Ct||fe&&!S){if(L=U||fe?{}:ip(r),!B)return U?mb(r,Wx(L,r)):pb(r,md(L,r))}else{if(!Je[ie])return S?r:{};L=Cb(r,ie,B)}}T||(T=new tr);var xe=T.get(r);if(xe)return xe;T.set(r,L),Rp(r)?r.forEach(function(De){L.add(Bn(De,s,u,De,r,T))}):Op(r)&&r.forEach(function(De,Ve){L.set(Ve,Bn(De,s,u,Ve,r,T))});var Ee=ee?U?Ic:Lc:U?pn:Nt,Ne=te?n:Ee(r);return O(Ne||r,function(De,Ve){Ne&&(Ve=De,De=r[Ve]),Pa(L,Ve,Bn(De,s,u,Ve,r,T))}),L}function Bx(r){var s=Nt(r);return function(u){return gd(u,r,s)}}function gd(r,s,u){var m=u.length;if(r==null)return!m;for(r=he(r);m--;){var S=u[m],T=s[S],L=r[S];if(L===n&&!(S in r)||!T(L))return!1}return!0}function yd(r,s,u){if(typeof r!="function")throw new Fe(f);return Fa(function(){r.apply(n,u)},s)}function Oa(r,s,u,m){var S=-1,T=q,L=!0,B=r.length,U=[],ee=s.length;if(!B)return U;u&&(s=pe(s,Kt(u))),m?(T=le,L=!1):s.length>=a&&(T=Gi,L=!1,s=new Zi(s));e:for(;++S<B;){var te=r[S],ie=u==null?te:u(te);if(te=m||te!==0?te:0,L&&ie===ie){for(var fe=ee;fe--;)if(s[fe]===ie)continue e;U.push(te)}else T(s,ie,m)||U.push(te)}return U}var xi=Hd(vr),vd=Hd(yc,!0);function jx(r,s){var u=!0;return xi(r,function(m,S,T){return u=!!s(m,S,T),u}),u}function ll(r,s,u){for(var m=-1,S=r.length;++m<S;){var T=r[m],L=s(T);if(L!=null&&(B===n?L===L&&!Tn(L):u(L,B)))var B=L,U=T}return U}function Vx(r,s,u,m){var S=r.length;for(u=Le(u),u<0&&(u=-u>S?0:S+u),m=m===n||m>S?S:Le(m),m<0&&(m+=S),m=u>m?0:Ip(m);u<m;)r[u++]=s;return r}function xd(r,s){var u=[];return xi(r,function(m,S,T){s(m,S,T)&&u.push(m)}),u}function jt(r,s,u,m,S){var T=-1,L=r.length;for(u||(u=kb),S||(S=[]);++T<L;){var B=r[T];s>0&&u(B)?s>1?jt(B,s-1,u,m,S):ke(S,B):m||(S[S.length]=B)}return S}var gc=zd(),bd=zd(!0);function vr(r,s){return r&&gc(r,s,Nt)}function yc(r,s){return r&&bd(r,s,Nt)}function ul(r,s){return K(s,function(u){return Ur(r[u])})}function Qi(r,s){s=wi(s,r);for(var u=0,m=s.length;r!=null&&u<m;)r=r[br(s[u++])];return u&&u==m?r:n}function wd(r,s,u){var m=s(r);return Pe(r)?m:ke(m,u(r))}function Qt(r){return r==null?r===n?ji:ai:Xi&&Xi in he(r)?Sb(r):Nb(r)}function vc(r,s){return r>s}function Yx(r,s){return r!=null&&Ce.call(r,s)}function Ux(r,s){return r!=null&&s in he(r)}function Hx(r,s,u){return r>=qt(s,u)&&r<Mt(s,u)}function xc(r,s,u){for(var m=u?le:q,S=r[0].length,T=r.length,L=T,B=N(T),U=1/0,ee=[];L--;){var te=r[L];L&&s&&(te=pe(te,Kt(s))),U=qt(te.length,U),B[L]=!u&&(s||S>=120&&te.length>=120)?new Zi(L&&te):n}te=r[0];var ie=-1,fe=B[0];e:for(;++ie<S&&ee.length<U;){var xe=te[ie],Ee=s?s(xe):xe;if(xe=u||xe!==0?xe:0,!(fe?Gi(fe,Ee):m(ee,Ee,u))){for(L=T;--L;){var Ne=B[L];if(!(Ne?Gi(Ne,Ee):m(r[L],Ee,u)))continue e}fe&&fe.push(Ee),ee.push(xe)}}return ee}function zx(r,s,u,m){return vr(r,function(S,T,L){s(m,u(S),T,L)}),m}function Ma(r,s,u){s=wi(s,r),r=lp(r,s);var m=r==null?r:r[br(Vn(s))];return m==null?n:E(m,r,u)}function _d(r){return yt(r)&&Qt(r)==Ct}function qx(r){return yt(r)&&Qt(r)==Vi}function Gx(r){return yt(r)&&Qt(r)==sn}function Ra(r,s,u,m,S){return r===s?!0:r==null||s==null||!yt(r)&&!yt(s)?r!==r&&s!==s:$x(r,s,u,m,Ra,S)}function $x(r,s,u,m,S,T){var L=Pe(r),B=Pe(s),U=L?Wt:Gt(r),ee=B?Wt:Gt(s);U=U==Ct?on:U,ee=ee==Ct?on:ee;var te=U==on,ie=ee==on,fe=U==ee;if(fe&&Si(r)){if(!Si(s))return!1;L=!0,te=!1}if(fe&&!te)return T||(T=new tr),L||Rs(r)?tp(r,s,u,m,S,T):wb(r,s,U,u,m,S,T);if(!(u&M)){var xe=te&&Ce.call(r,"__wrapped__"),Ee=ie&&Ce.call(s,"__wrapped__");if(xe||Ee){var Ne=xe?r.value():r,De=Ee?s.value():s;return T||(T=new tr),S(Ne,De,u,m,T)}}return fe?(T||(T=new tr),_b(r,s,u,m,S,T)):!1}function Xx(r){return yt(r)&&Gt(r)==At}function bc(r,s,u,m){var S=u.length,T=S,L=!m;if(r==null)return!T;for(r=he(r);S--;){var B=u[S];if(L&&B[2]?B[1]!==r[B[0]]:!(B[0]in r))return!1}for(;++S<T;){B=u[S];var U=B[0],ee=r[U],te=B[1];if(L&&B[2]){if(ee===n&&!(U in r))return!1}else{var ie=new tr;if(m)var fe=m(ee,te,U,r,s,ie);if(!(fe===n?Ra(te,ee,M|R,m,ie):fe))return!1}}return!0}function Sd(r){if(!pt(r)||Ob(r))return!1;var s=Ur(r)?X0:ia;return s.test(ts(r))}function Kx(r){return yt(r)&&Qt(r)==Bi}function Zx(r){return yt(r)&&Gt(r)==xn}function Jx(r){return yt(r)&&Tl(r.length)&&!!rt[Qt(r)]}function Ed(r){return typeof r=="function"?r:r==null?mn:typeof r=="object"?Pe(r)?Cd(r[0],r[1]):Td(r):qp(r)}function wc(r){if(!Na(r))return tx(r);var s=[];for(var u in he(r))Ce.call(r,u)&&u!="constructor"&&s.push(u);return s}function Qx(r){if(!pt(r))return Ib(r);var s=Na(r),u=[];for(var m in r)m=="constructor"&&(s||!Ce.call(r,m))||u.push(m);return u}function _c(r,s){return r<s}function Dd(r,s){var u=-1,m=dn(r)?N(r.length):[];return xi(r,function(S,T,L){m[++u]=s(S,T,L)}),m}function Td(r){var s=Fc(r);return s.length==1&&s[0][2]?ap(s[0][0],s[0][1]):function(u){return u===r||bc(u,r,s)}}function Cd(r,s){return Bc(r)&&sp(s)?ap(br(r),s):function(u){var m=Xc(u,r);return m===n&&m===s?Kc(u,r):Ra(s,m,M|R)}}function cl(r,s,u,m,S){r!==s&&gc(s,function(T,L){if(S||(S=new tr),pt(T))eb(r,s,L,u,cl,m,S);else{var B=m?m(Vc(r,L),T,L+"",r,s,S):n;B===n&&(B=T),pc(r,L,B)}},pn)}function eb(r,s,u,m,S,T,L){var B=Vc(r,u),U=Vc(s,u),ee=L.get(U);if(ee){pc(r,u,ee);return}var te=T?T(B,U,u+"",r,s,L):n,ie=te===n;if(ie){var fe=Pe(U),xe=!fe&&Si(U),Ee=!fe&&!xe&&Rs(U);te=U,fe||xe||Ee?Pe(B)?te=B:bt(B)?te=hn(B):xe?(ie=!1,te=Bd(U,!0)):Ee?(ie=!1,te=jd(U,!0)):te=[]:Wa(U)||ns(U)?(te=B,ns(B)?te=Np(B):(!pt(B)||Ur(B))&&(te=ip(U))):ie=!1}ie&&(L.set(U,te),S(te,U,m,T,L),L.delete(U)),pc(r,u,te)}function Ad(r,s){var u=r.length;if(u)return s+=s<0?u:0,Yr(s,u)?r[s]:n}function kd(r,s,u){s.length?s=pe(s,function(T){return Pe(T)?function(L){return Qi(L,T.length===1?T[0]:T)}:T}):s=[mn];var m=-1;s=pe(s,Kt(Se()));var S=Dd(r,function(T,L,B){var U=pe(s,function(ee){return ee(T)});return{criteria:U,index:++m,value:T}});return mr(S,function(T,L){return db(T,L,u)})}function tb(r,s){return Pd(r,s,function(u,m){return Kc(r,m)})}function Pd(r,s,u){for(var m=-1,S=s.length,T={};++m<S;){var L=s[m],B=Qi(r,L);u(B,L)&&La(T,wi(L,r),B)}return T}function nb(r){return function(s){return Qi(s,r)}}function Sc(r,s,u,m){var S=m?zi:nt,T=-1,L=s.length,B=r;for(r===s&&(s=hn(s)),u&&(B=pe(r,Kt(u)));++T<L;)for(var U=0,ee=s[T],te=u?u(ee):ee;(U=S(B,te,U,m))>-1;)B!==r&&el.call(B,U,1),el.call(r,U,1);return r}function Od(r,s){for(var u=r?s.length:0,m=u-1;u--;){var S=s[u];if(u==m||S!==T){var T=S;Yr(S)?el.call(r,S,1):Cc(r,S)}}return r}function Ec(r,s){return r+rl(fd()*(s-r+1))}function rb(r,s,u,m){for(var S=-1,T=Mt(nl((s-r)/(u||1)),0),L=N(T);T--;)L[m?T:++S]=r,r+=u;return L}function Dc(r,s){var u="";if(!r||s<1||s>Me)return u;do s%2&&(u+=r),s=rl(s/2),s&&(r+=r);while(s);return u}function We(r,s){return Yc(op(r,s,mn),r+"")}function ib(r){return pd(Ls(r))}function sb(r,s){var u=Ls(r);return bl(u,Ji(s,0,u.length))}function La(r,s,u,m){if(!pt(r))return r;s=wi(s,r);for(var S=-1,T=s.length,L=T-1,B=r;B!=null&&++S<T;){var U=br(s[S]),ee=u;if(U==="__proto__"||U==="constructor"||U==="prototype")return r;if(S!=L){var te=B[U];ee=m?m(te,U,B):n,ee===n&&(ee=pt(te)?te:Yr(s[S+1])?[]:{})}Pa(B,U,ee),B=B[U]}return r}var Md=il?function(r,s){return il.set(r,s),r}:mn,ab=tl?function(r,s){return tl(r,"toString",{configurable:!0,enumerable:!1,value:Jc(s),writable:!0})}:mn;function ob(r){return bl(Ls(r))}function jn(r,s,u){var m=-1,S=r.length;s<0&&(s=-s>S?0:S+s),u=u>S?S:u,u<0&&(u+=S),S=s>u?0:u-s>>>0,s>>>=0;for(var T=N(S);++m<S;)T[m]=r[m+s];return T}function lb(r,s){var u;return xi(r,function(m,S,T){return u=s(m,S,T),!u}),!!u}function fl(r,s,u){var m=0,S=r==null?m:r.length;if(typeof s=="number"&&s===s&&S<=Ft){for(;m<S;){var T=m+S>>>1,L=r[T];L!==null&&!Tn(L)&&(u?L<=s:L<s)?m=T+1:S=T}return S}return Tc(r,s,mn,u)}function Tc(r,s,u,m){var S=0,T=r==null?0:r.length;if(T===0)return 0;s=u(s);for(var L=s!==s,B=s===null,U=Tn(s),ee=s===n;S<T;){var te=rl((S+T)/2),ie=u(r[te]),fe=ie!==n,xe=ie===null,Ee=ie===ie,Ne=Tn(ie);if(L)var De=m||Ee;else ee?De=Ee&&(m||fe):B?De=Ee&&fe&&(m||!xe):U?De=Ee&&fe&&!xe&&(m||!Ne):xe||Ne?De=!1:De=m?ie<=s:ie<s;De?S=te+1:T=te}return qt(T,st)}function Rd(r,s){for(var u=-1,m=r.length,S=0,T=[];++u<m;){var L=r[u],B=s?s(L):L;if(!u||!nr(B,U)){var U=B;T[S++]=L===0?0:L}}return T}function Ld(r){return typeof r=="number"?r:Tn(r)?St:+r}function Dn(r){if(typeof r=="string")return r;if(Pe(r))return pe(r,Dn)+"";if(Tn(r))return hd?hd.call(r):"";var s=r+"";return s=="0"&&1/r==-Ge?"-0":s}function bi(r,s,u){var m=-1,S=q,T=r.length,L=!0,B=[],U=B;if(u)L=!1,S=le;else if(T>=a){var ee=s?null:xb(r);if(ee)return Nr(ee);L=!1,S=Gi,U=new Zi}else U=s?[]:B;e:for(;++m<T;){var te=r[m],ie=s?s(te):te;if(te=u||te!==0?te:0,L&&ie===ie){for(var fe=U.length;fe--;)if(U[fe]===ie)continue e;s&&U.push(ie),B.push(te)}else S(U,ie,u)||(U!==B&&U.push(ie),B.push(te))}return B}function Cc(r,s){return s=wi(s,r),r=lp(r,s),r==null||delete r[br(Vn(s))]}function Id(r,s,u,m){return La(r,s,u(Qi(r,s)),m)}function hl(r,s,u,m){for(var S=r.length,T=m?S:-1;(m?T--:++T<S)&&s(r[T],T,r););return u?jn(r,m?0:T,m?T+1:S):jn(r,m?T+1:0,m?S:T)}function Nd(r,s){var u=r;return u instanceof Ye&&(u=u.value()),Ae(s,function(m,S){return S.func.apply(S.thisArg,ke([m],S.args))},u)}function Ac(r,s,u){var m=r.length;if(m<2)return m?bi(r[0]):[];for(var S=-1,T=N(m);++S<m;)for(var L=r[S],B=-1;++B<m;)B!=S&&(T[S]=Oa(T[S]||L,r[B],s,u));return bi(jt(T,1),s,u)}function Fd(r,s,u){for(var m=-1,S=r.length,T=s.length,L={};++m<S;){var B=m<T?s[m]:n;u(L,r[m],B)}return L}function kc(r){return bt(r)?r:[]}function Pc(r){return typeof r=="function"?r:mn}function wi(r,s){return Pe(r)?r:Bc(r,s)?[r]:hp(Qe(r))}var ub=We;function _i(r,s,u){var m=r.length;return u=u===n?m:u,!s&&u>=m?r:jn(r,s,u)}var Wd=K0||function(r){return ht.clearTimeout(r)};function Bd(r,s){if(s)return r.slice();var u=r.length,m=ad?ad(u):new r.constructor(u);return r.copy(m),m}function Oc(r){var s=new r.constructor(r.byteLength);return new Jo(s).set(new Jo(r)),s}function cb(r,s){var u=s?Oc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function fb(r){var s=new r.constructor(r.source,Co.exec(r));return s.lastIndex=r.lastIndex,s}function hb(r){return ka?he(ka.call(r)):{}}function jd(r,s){var u=s?Oc(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function Vd(r,s){if(r!==s){var u=r!==n,m=r===null,S=r===r,T=Tn(r),L=s!==n,B=s===null,U=s===s,ee=Tn(s);if(!B&&!ee&&!T&&r>s||T&&L&&U&&!B&&!ee||m&&L&&U||!u&&U||!S)return 1;if(!m&&!T&&!ee&&r<s||ee&&u&&S&&!m&&!T||B&&u&&S||!L&&S||!U)return-1}return 0}function db(r,s,u){for(var m=-1,S=r.criteria,T=s.criteria,L=S.length,B=u.length;++m<L;){var U=Vd(S[m],T[m]);if(U){if(m>=B)return U;var ee=u[m];return U*(ee=="desc"?-1:1)}}return r.index-s.index}function Yd(r,s,u,m){for(var S=-1,T=r.length,L=u.length,B=-1,U=s.length,ee=Mt(T-L,0),te=N(U+ee),ie=!m;++B<U;)te[B]=s[B];for(;++S<L;)(ie||S<T)&&(te[u[S]]=r[S]);for(;ee--;)te[B++]=r[S++];return te}function Ud(r,s,u,m){for(var S=-1,T=r.length,L=-1,B=u.length,U=-1,ee=s.length,te=Mt(T-B,0),ie=N(te+ee),fe=!m;++S<te;)ie[S]=r[S];for(var xe=S;++U<ee;)ie[xe+U]=s[U];for(;++L<B;)(fe||S<T)&&(ie[xe+u[L]]=r[S++]);return ie}function hn(r,s){var u=-1,m=r.length;for(s||(s=N(m));++u<m;)s[u]=r[u];return s}function xr(r,s,u,m){var S=!u;u||(u={});for(var T=-1,L=s.length;++T<L;){var B=s[T],U=m?m(u[B],r[B],B,u,r):n;U===n&&(U=r[B]),S?Br(u,B,U):Pa(u,B,U)}return u}function pb(r,s){return xr(r,Wc(r),s)}function mb(r,s){return xr(r,np(r),s)}function dl(r,s){return function(u,m){var S=Pe(u)?I:Fx,T=s?s():{};return S(u,r,Se(m,2),T)}}function Ps(r){return We(function(s,u){var m=-1,S=u.length,T=S>1?u[S-1]:n,L=S>2?u[2]:n;for(T=r.length>3&&typeof T=="function"?(S--,T):n,L&&en(u[0],u[1],L)&&(T=S<3?n:T,S=1),s=he(s);++m<S;){var B=u[m];B&&r(s,B,m,T)}return s})}function Hd(r,s){return function(u,m){if(u==null)return u;if(!dn(u))return r(u,m);for(var S=u.length,T=s?S:-1,L=he(u);(s?T--:++T<S)&&m(L[T],T,L)!==!1;);return u}}function zd(r){return function(s,u,m){for(var S=-1,T=he(s),L=m(s),B=L.length;B--;){var U=L[r?B:++S];if(u(T[U],U,T)===!1)break}return s}}function gb(r,s,u){var m=s&H,S=Ia(r);function T(){var L=this&&this!==ht&&this instanceof T?S:r;return L.apply(m?u:this,arguments)}return T}function qd(r){return function(s){s=Qe(s);var u=fn(s)?Zt(s):n,m=u?u[0]:s.charAt(0),S=u?_i(u,1).join(""):s.slice(1);return m[r]()+S}}function Os(r){return function(s){return Ae(Hp(Up(s).replace(ga,"")),r,"")}}function Ia(r){return function(){var s=arguments;switch(s.length){case 0:return new r;case 1:return new r(s[0]);case 2:return new r(s[0],s[1]);case 3:return new r(s[0],s[1],s[2]);case 4:return new r(s[0],s[1],s[2],s[3]);case 5:return new r(s[0],s[1],s[2],s[3],s[4]);case 6:return new r(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new r(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=ks(r.prototype),m=r.apply(u,s);return pt(m)?m:u}}function yb(r,s,u){var m=Ia(r);function S(){for(var T=arguments.length,L=N(T),B=T,U=Ms(S);B--;)L[B]=arguments[B];var ee=T<3&&L[0]!==U&&L[T-1]!==U?[]:En(L,U);if(T-=ee.length,T<u)return Zd(r,s,pl,S.placeholder,n,L,ee,n,n,u-T);var te=this&&this!==ht&&this instanceof S?m:r;return E(te,this,L)}return S}function Gd(r){return function(s,u,m){var S=he(s);if(!dn(s)){var T=Se(u,3);s=Nt(s),u=function(B){return T(S[B],B,S)}}var L=r(s,u,m);return L>-1?S[T?s[L]:L]:n}}function $d(r){return Vr(function(s){var u=s.length,m=u,S=Wn.prototype.thru;for(r&&s.reverse();m--;){var T=s[m];if(typeof T!="function")throw new Fe(f);if(S&&!L&&vl(T)=="wrapper")var L=new Wn([],!0)}for(m=L?m:u;++m<u;){T=s[m];var B=vl(T),U=B=="wrapper"?Nc(T):n;U&&jc(U[0])&&U[1]==(p|G|re|ce)&&!U[4].length&&U[9]==1?L=L[vl(U[0])].apply(L,U[3]):L=T.length==1&&jc(T)?L[B]():L.thru(T)}return function(){var ee=arguments,te=ee[0];if(L&&ee.length==1&&Pe(te))return L.plant(te).value();for(var ie=0,fe=u?s[ie].apply(this,ee):te;++ie<u;)fe=s[ie].call(this,fe);return fe}})}function pl(r,s,u,m,S,T,L,B,U,ee){var te=s&p,ie=s&H,fe=s&F,xe=s&(G|oe),Ee=s&ae,Ne=fe?n:Ia(r);function De(){for(var Ve=arguments.length,He=N(Ve),Cn=Ve;Cn--;)He[Cn]=arguments[Cn];if(xe)var tn=Ms(De),An=Sn(He,tn);if(m&&(He=Yd(He,m,S,xe)),T&&(He=Ud(He,T,L,xe)),Ve-=An,xe&&Ve<ee){var wt=En(He,tn);return Zd(r,s,pl,De.placeholder,u,He,wt,B,U,ee-Ve)}var rr=ie?u:this,zr=fe?rr[r]:r;return Ve=He.length,B?He=Fb(He,B):Ee&&Ve>1&&He.reverse(),te&&U<Ve&&(He.length=U),this&&this!==ht&&this instanceof De&&(zr=Ne||Ia(zr)),zr.apply(rr,He)}return De}function Xd(r,s){return function(u,m){return zx(u,r,s(m),{})}}function ml(r,s){return function(u,m){var S;if(u===n&&m===n)return s;if(u!==n&&(S=u),m!==n){if(S===n)return m;typeof u=="string"||typeof m=="string"?(u=Dn(u),m=Dn(m)):(u=Ld(u),m=Ld(m)),S=r(u,m)}return S}}function Mc(r){return Vr(function(s){return s=pe(s,Kt(Se())),We(function(u){var m=this;return r(s,function(S){return E(S,m,u)})})})}function gl(r,s){s=s===n?" ":Dn(s);var u=s.length;if(u<2)return u?Dc(s,r):s;var m=Dc(s,nl(r/yr(s)));return fn(s)?_i(Zt(m),0,r).join(""):m.slice(0,r)}function vb(r,s,u,m){var S=s&H,T=Ia(r);function L(){for(var B=-1,U=arguments.length,ee=-1,te=m.length,ie=N(te+U),fe=this&&this!==ht&&this instanceof L?T:r;++ee<te;)ie[ee]=m[ee];for(;U--;)ie[ee++]=arguments[++B];return E(fe,S?u:this,ie)}return L}function Kd(r){return function(s,u,m){return m&&typeof m!="number"&&en(s,u,m)&&(u=m=n),s=Hr(s),u===n?(u=s,s=0):u=Hr(u),m=m===n?s<u?1:-1:Hr(m),rb(s,u,m,r)}}function yl(r){return function(s,u){return typeof s=="string"&&typeof u=="string"||(s=Yn(s),u=Yn(u)),r(s,u)}}function Zd(r,s,u,m,S,T,L,B,U,ee){var te=s&G,ie=te?L:n,fe=te?n:L,xe=te?T:n,Ee=te?n:T;s|=te?re:se,s&=~(te?se:re),s&Z||(s&=~(H|F));var Ne=[r,s,S,xe,ie,Ee,fe,B,U,ee],De=u.apply(n,Ne);return jc(r)&&up(De,Ne),De.placeholder=m,cp(De,r,s)}function Rc(r){var s=ge[r];return function(u,m){if(u=Yn(u),m=m==null?0:qt(Le(m),292),m&&cd(u)){var S=(Qe(u)+"e").split("e"),T=s(S[0]+"e"+(+S[1]+m));return S=(Qe(T)+"e").split("e"),+(S[0]+"e"+(+S[1]-m))}return s(u)}}var xb=Cs&&1/Nr(new Cs([,-0]))[1]==Ge?function(r){return new Cs(r)}:tf;function Jd(r){return function(s){var u=Gt(s);return u==At?Ds(s):u==xn?Sa(s):Qn(s,r(s))}}function jr(r,s,u,m,S,T,L,B){var U=s&F;if(!U&&typeof r!="function")throw new Fe(f);var ee=m?m.length:0;if(ee||(s&=~(re|se),m=S=n),L=L===n?L:Mt(Le(L),0),B=B===n?B:Le(B),ee-=S?S.length:0,s&se){var te=m,ie=S;m=S=n}var fe=U?n:Nc(r),xe=[r,s,u,m,S,te,ie,T,L,B];if(fe&&Lb(xe,fe),r=xe[0],s=xe[1],u=xe[2],m=xe[3],S=xe[4],B=xe[9]=xe[9]===n?U?0:r.length:Mt(xe[9]-ee,0),!B&&s&(G|oe)&&(s&=~(G|oe)),!s||s==H)var Ee=gb(r,s,u);else s==G||s==oe?Ee=yb(r,s,B):(s==re||s==(H|re))&&!S.length?Ee=vb(r,s,u,m):Ee=pl.apply(n,xe);var Ne=fe?Md:up;return cp(Ne(Ee,xe),r,s)}function Qd(r,s,u,m){return r===n||nr(r,Ot[u])&&!Ce.call(m,u)?s:r}function ep(r,s,u,m,S,T){return pt(r)&&pt(s)&&(T.set(s,r),cl(r,s,n,ep,T),T.delete(s)),r}function bb(r){return Wa(r)?n:r}function tp(r,s,u,m,S,T){var L=u&M,B=r.length,U=s.length;if(B!=U&&!(L&&U>B))return!1;var ee=T.get(r),te=T.get(s);if(ee&&te)return ee==s&&te==r;var ie=-1,fe=!0,xe=u&R?new Zi:n;for(T.set(r,s),T.set(s,r);++ie<B;){var Ee=r[ie],Ne=s[ie];if(m)var De=L?m(Ne,Ee,ie,s,r,T):m(Ee,Ne,ie,r,s,T);if(De!==n){if(De)continue;fe=!1;break}if(xe){if(!dt(s,function(Ve,He){if(!Gi(xe,He)&&(Ee===Ve||S(Ee,Ve,u,m,T)))return xe.push(He)})){fe=!1;break}}else if(!(Ee===Ne||S(Ee,Ne,u,m,T))){fe=!1;break}}return T.delete(r),T.delete(s),fe}function wb(r,s,u,m,S,T,L){switch(u){case oi:if(r.byteLength!=s.byteLength||r.byteOffset!=s.byteOffset)return!1;r=r.buffer,s=s.buffer;case Vi:return!(r.byteLength!=s.byteLength||!T(new Jo(r),new Jo(s)));case rn:case sn:case Pr:return nr(+r,+s);case Lt:return r.name==s.name&&r.message==s.message;case Bi:case Yt:return r==s+"";case At:var B=Ds;case xn:var U=m&M;if(B||(B=Nr),r.size!=s.size&&!U)return!1;var ee=L.get(r);if(ee)return ee==s;m|=R,L.set(r,s);var te=tp(B(r),B(s),m,S,T,L);return L.delete(r),te;case ur:if(ka)return ka.call(r)==ka.call(s)}return!1}function _b(r,s,u,m,S,T){var L=u&M,B=Lc(r),U=B.length,ee=Lc(s),te=ee.length;if(U!=te&&!L)return!1;for(var ie=U;ie--;){var fe=B[ie];if(!(L?fe in s:Ce.call(s,fe)))return!1}var xe=T.get(r),Ee=T.get(s);if(xe&&Ee)return xe==s&&Ee==r;var Ne=!0;T.set(r,s),T.set(s,r);for(var De=L;++ie<U;){fe=B[ie];var Ve=r[fe],He=s[fe];if(m)var Cn=L?m(He,Ve,fe,s,r,T):m(Ve,He,fe,r,s,T);if(!(Cn===n?Ve===He||S(Ve,He,u,m,T):Cn)){Ne=!1;break}De||(De=fe=="constructor")}if(Ne&&!De){var tn=r.constructor,An=s.constructor;tn!=An&&"constructor"in r&&"constructor"in s&&!(typeof tn=="function"&&tn instanceof tn&&typeof An=="function"&&An instanceof An)&&(Ne=!1)}return T.delete(r),T.delete(s),Ne}function Vr(r){return Yc(op(r,n,gp),r+"")}function Lc(r){return wd(r,Nt,Wc)}function Ic(r){return wd(r,pn,np)}var Nc=il?function(r){return il.get(r)}:tf;function vl(r){for(var s=r.name+"",u=As[s],m=Ce.call(As,s)?u.length:0;m--;){var S=u[m],T=S.func;if(T==null||T==r)return S.name}return s}function Ms(r){var s=Ce.call(D,"placeholder")?D:r;return s.placeholder}function Se(){var r=D.iteratee||Qc;return r=r===Qc?Ed:r,arguments.length?r(arguments[0],arguments[1]):r}function xl(r,s){var u=r.__data__;return Pb(s)?u[typeof s=="string"?"string":"hash"]:u.map}function Fc(r){for(var s=Nt(r),u=s.length;u--;){var m=s[u],S=r[m];s[u]=[m,S,sp(S)]}return s}function es(r,s){var u=Go(r,s);return Sd(u)?u:n}function Sb(r){var s=Ce.call(r,Xi),u=r[Xi];try{r[Xi]=n;var m=!0}catch{}var S=Ko.call(r);return m&&(s?r[Xi]=u:delete r[Xi]),S}var Wc=fc?function(r){return r==null?[]:(r=he(r),K(fc(r),function(s){return ld.call(r,s)}))}:nf,np=fc?function(r){for(var s=[];r;)ke(s,Wc(r)),r=Qo(r);return s}:nf,Gt=Qt;(hc&&Gt(new hc(new ArrayBuffer(1)))!=oi||Ta&&Gt(new Ta)!=At||dc&&Gt(dc.resolve())!=Ln||Cs&&Gt(new Cs)!=xn||Ca&&Gt(new Ca)!=ve)&&(Gt=function(r){var s=Qt(r),u=s==on?r.constructor:n,m=u?ts(u):"";if(m)switch(m){case sx:return oi;case ax:return At;case ox:return Ln;case lx:return xn;case ux:return ve}return s});function Eb(r,s,u){for(var m=-1,S=u.length;++m<S;){var T=u[m],L=T.size;switch(T.type){case"drop":r+=L;break;case"dropRight":s-=L;break;case"take":s=qt(s,r+L);break;case"takeRight":r=Mt(r,s-L);break}}return{start:r,end:s}}function Db(r){var s=r.match(zu);return s?s[1].split(qu):[]}function rp(r,s,u){s=wi(s,r);for(var m=-1,S=s.length,T=!1;++m<S;){var L=br(s[m]);if(!(T=r!=null&&u(r,L)))break;r=r[L]}return T||++m!=S?T:(S=r==null?0:r.length,!!S&&Tl(S)&&Yr(L,S)&&(Pe(r)||ns(r)))}function Tb(r){var s=r.length,u=new r.constructor(s);return s&&typeof r[0]=="string"&&Ce.call(r,"index")&&(u.index=r.index,u.input=r.input),u}function ip(r){return typeof r.constructor=="function"&&!Na(r)?ks(Qo(r)):{}}function Cb(r,s,u){var m=r.constructor;switch(s){case Vi:return Oc(r);case rn:case sn:return new m(+r);case oi:return cb(r,u);case na:case ps:case ms:case Or:case bn:case Kn:case cr:case ra:case li:return jd(r,u);case At:return new m;case Pr:case Yt:return new m(r);case Bi:return fb(r);case xn:return new m;case ur:return hb(r)}}function Ab(r,s){var u=s.length;if(!u)return r;var m=u-1;return s[m]=(u>1?"& ":"")+s[m],s=s.join(u>2?", ":" "),r.replace(Hu,`{
|
|
46
|
-
/* [wrapped with `+s+`] */
|
|
47
|
-
`)}function kb(r){return Pe(r)||ns(r)||!!(ud&&r&&r[ud])}function Yr(r,s){var u=typeof r;return s=s??Me,!!s&&(u=="number"||u!="symbol"&&vs.test(r))&&r>-1&&r%1==0&&r<s}function en(r,s,u){if(!pt(u))return!1;var m=typeof s;return(m=="number"?dn(u)&&Yr(s,u.length):m=="string"&&s in u)?nr(u[s],r):!1}function Bc(r,s){if(Pe(r))return!1;var u=typeof r;return u=="number"||u=="symbol"||u=="boolean"||r==null||Tn(r)?!0:So.test(r)||!Uu.test(r)||s!=null&&r in he(s)}function Pb(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function jc(r){var s=vl(r),u=D[s];if(typeof u!="function"||!(s in Ye.prototype))return!1;if(r===u)return!0;var m=Nc(u);return!!m&&r===m[0]}function Ob(r){return!!sd&&sd in r}var Mb=Jt?Ur:rf;function Na(r){var s=r&&r.constructor,u=typeof s=="function"&&s.prototype||Ot;return r===u}function sp(r){return r===r&&!pt(r)}function ap(r,s){return function(u){return u==null?!1:u[r]===s&&(s!==n||r in he(u))}}function Rb(r){var s=El(r,function(m){return u.size===v&&u.clear(),m}),u=s.cache;return s}function Lb(r,s){var u=r[1],m=s[1],S=u|m,T=S<(H|F|p),L=m==p&&u==G||m==p&&u==ce&&r[7].length<=s[8]||m==(p|ce)&&s[7].length<=s[8]&&u==G;if(!(T||L))return r;m&H&&(r[2]=s[2],S|=u&H?0:Z);var B=s[3];if(B){var U=r[3];r[3]=U?Yd(U,B,s[4]):B,r[4]=U?En(r[3],_):s[4]}return B=s[5],B&&(U=r[5],r[5]=U?Ud(U,B,s[6]):B,r[6]=U?En(r[5],_):s[6]),B=s[7],B&&(r[7]=B),m&p&&(r[8]=r[8]==null?s[8]:qt(r[8],s[8])),r[9]==null&&(r[9]=s[9]),r[0]=s[0],r[1]=S,r}function Ib(r){var s=[];if(r!=null)for(var u in he(r))s.push(u);return s}function Nb(r){return Ko.call(r)}function op(r,s,u){return s=Mt(s===n?r.length-1:s,0),function(){for(var m=arguments,S=-1,T=Mt(m.length-s,0),L=N(T);++S<T;)L[S]=m[s+S];S=-1;for(var B=N(s+1);++S<s;)B[S]=m[S];return B[s]=u(L),E(r,this,B)}}function lp(r,s){return s.length<2?r:Qi(r,jn(s,0,-1))}function Fb(r,s){for(var u=r.length,m=qt(s.length,u),S=hn(r);m--;){var T=s[m];r[m]=Yr(T,u)?S[T]:n}return r}function Vc(r,s){if(!(s==="constructor"&&typeof r[s]=="function")&&s!="__proto__")return r[s]}var up=fp(Md),Fa=J0||function(r,s){return ht.setTimeout(r,s)},Yc=fp(ab);function cp(r,s,u){var m=s+"";return Yc(r,Ab(m,Wb(Db(m),u)))}function fp(r){var s=0,u=0;return function(){var m=nx(),S=_e-(m-u);if(u=m,S>0){if(++s>=Ze)return arguments[0]}else s=0;return r.apply(n,arguments)}}function bl(r,s){var u=-1,m=r.length,S=m-1;for(s=s===n?m:s;++u<s;){var T=Ec(u,S),L=r[T];r[T]=r[u],r[u]=L}return r.length=s,r}var hp=Rb(function(r){var s=[];return r.charCodeAt(0)===46&&s.push(""),r.replace(Eo,function(u,m,S,T){s.push(S?T.replace($u,"$1"):m||u)}),s});function br(r){if(typeof r=="string"||Tn(r))return r;var s=r+"";return s=="0"&&1/r==-Ge?"-0":s}function ts(r){if(r!=null){try{return er.call(r)}catch{}try{return r+""}catch{}}return""}function Wb(r,s){return O(Mn,function(u){var m="_."+u[0];s&u[1]&&!q(r,m)&&r.push(m)}),r.sort()}function dp(r){if(r instanceof Ye)return r.clone();var s=new Wn(r.__wrapped__,r.__chain__);return s.__actions__=hn(r.__actions__),s.__index__=r.__index__,s.__values__=r.__values__,s}function Bb(r,s,u){(u?en(r,s,u):s===n)?s=1:s=Mt(Le(s),0);var m=r==null?0:r.length;if(!m||s<1)return[];for(var S=0,T=0,L=N(nl(m/s));S<m;)L[T++]=jn(r,S,S+=s);return L}function jb(r){for(var s=-1,u=r==null?0:r.length,m=0,S=[];++s<u;){var T=r[s];T&&(S[m++]=T)}return S}function Vb(){var r=arguments.length;if(!r)return[];for(var s=N(r-1),u=arguments[0],m=r;m--;)s[m-1]=arguments[m];return ke(Pe(u)?hn(u):[u],jt(s,1))}var Yb=We(function(r,s){return bt(r)?Oa(r,jt(s,1,bt,!0)):[]}),Ub=We(function(r,s){var u=Vn(s);return bt(u)&&(u=n),bt(r)?Oa(r,jt(s,1,bt,!0),Se(u,2)):[]}),Hb=We(function(r,s){var u=Vn(s);return bt(u)&&(u=n),bt(r)?Oa(r,jt(s,1,bt,!0),n,u):[]});function zb(r,s,u){var m=r==null?0:r.length;return m?(s=u||s===n?1:Le(s),jn(r,s<0?0:s,m)):[]}function qb(r,s,u){var m=r==null?0:r.length;return m?(s=u||s===n?1:Le(s),s=m-s,jn(r,0,s<0?0:s)):[]}function Gb(r,s){return r&&r.length?hl(r,Se(s,3),!0,!0):[]}function $b(r,s){return r&&r.length?hl(r,Se(s,3),!0):[]}function Xb(r,s,u,m){var S=r==null?0:r.length;return S?(u&&typeof u!="number"&&en(r,s,u)&&(u=0,m=S),Vx(r,s,u,m)):[]}function pp(r,s,u){var m=r==null?0:r.length;if(!m)return-1;var S=u==null?0:Le(u);return S<0&&(S=Mt(m+S,0)),je(r,Se(s,3),S)}function mp(r,s,u){var m=r==null?0:r.length;if(!m)return-1;var S=m-1;return u!==n&&(S=Le(u),S=u<0?Mt(m+S,0):qt(S,m-1)),je(r,Se(s,3),S,!0)}function gp(r){var s=r==null?0:r.length;return s?jt(r,1):[]}function Kb(r){var s=r==null?0:r.length;return s?jt(r,Ge):[]}function Zb(r,s){var u=r==null?0:r.length;return u?(s=s===n?1:Le(s),jt(r,s)):[]}function Jb(r){for(var s=-1,u=r==null?0:r.length,m={};++s<u;){var S=r[s];m[S[0]]=S[1]}return m}function yp(r){return r&&r.length?r[0]:n}function Qb(r,s,u){var m=r==null?0:r.length;if(!m)return-1;var S=u==null?0:Le(u);return S<0&&(S=Mt(m+S,0)),nt(r,s,S)}function ew(r){var s=r==null?0:r.length;return s?jn(r,0,-1):[]}var tw=We(function(r){var s=pe(r,kc);return s.length&&s[0]===r[0]?xc(s):[]}),nw=We(function(r){var s=Vn(r),u=pe(r,kc);return s===Vn(u)?s=n:u.pop(),u.length&&u[0]===r[0]?xc(u,Se(s,2)):[]}),rw=We(function(r){var s=Vn(r),u=pe(r,kc);return s=typeof s=="function"?s:n,s&&u.pop(),u.length&&u[0]===r[0]?xc(u,n,s):[]});function iw(r,s){return r==null?"":ex.call(r,s)}function Vn(r){var s=r==null?0:r.length;return s?r[s-1]:n}function sw(r,s,u){var m=r==null?0:r.length;if(!m)return-1;var S=m;return u!==n&&(S=Le(u),S=S<0?Mt(m+S,0):qt(S,m-1)),s===s?Ts(r,s,S):je(r,Es,S,!0)}function aw(r,s){return r&&r.length?Ad(r,Le(s)):n}var ow=We(vp);function vp(r,s){return r&&r.length&&s&&s.length?Sc(r,s):r}function lw(r,s,u){return r&&r.length&&s&&s.length?Sc(r,s,Se(u,2)):r}function uw(r,s,u){return r&&r.length&&s&&s.length?Sc(r,s,n,u):r}var cw=Vr(function(r,s){var u=r==null?0:r.length,m=mc(r,s);return Od(r,pe(s,function(S){return Yr(S,u)?+S:S}).sort(Vd)),m});function fw(r,s){var u=[];if(!(r&&r.length))return u;var m=-1,S=[],T=r.length;for(s=Se(s,3);++m<T;){var L=r[m];s(L,m,r)&&(u.push(L),S.push(m))}return Od(r,S),u}function Uc(r){return r==null?r:ix.call(r)}function hw(r,s,u){var m=r==null?0:r.length;return m?(u&&typeof u!="number"&&en(r,s,u)?(s=0,u=m):(s=s==null?0:Le(s),u=u===n?m:Le(u)),jn(r,s,u)):[]}function dw(r,s){return fl(r,s)}function pw(r,s,u){return Tc(r,s,Se(u,2))}function mw(r,s){var u=r==null?0:r.length;if(u){var m=fl(r,s);if(m<u&&nr(r[m],s))return m}return-1}function gw(r,s){return fl(r,s,!0)}function yw(r,s,u){return Tc(r,s,Se(u,2),!0)}function vw(r,s){var u=r==null?0:r.length;if(u){var m=fl(r,s,!0)-1;if(nr(r[m],s))return m}return-1}function xw(r){return r&&r.length?Rd(r):[]}function bw(r,s){return r&&r.length?Rd(r,Se(s,2)):[]}function ww(r){var s=r==null?0:r.length;return s?jn(r,1,s):[]}function _w(r,s,u){return r&&r.length?(s=u||s===n?1:Le(s),jn(r,0,s<0?0:s)):[]}function Sw(r,s,u){var m=r==null?0:r.length;return m?(s=u||s===n?1:Le(s),s=m-s,jn(r,s<0?0:s,m)):[]}function Ew(r,s){return r&&r.length?hl(r,Se(s,3),!1,!0):[]}function Dw(r,s){return r&&r.length?hl(r,Se(s,3)):[]}var Tw=We(function(r){return bi(jt(r,1,bt,!0))}),Cw=We(function(r){var s=Vn(r);return bt(s)&&(s=n),bi(jt(r,1,bt,!0),Se(s,2))}),Aw=We(function(r){var s=Vn(r);return s=typeof s=="function"?s:n,bi(jt(r,1,bt,!0),n,s)});function kw(r){return r&&r.length?bi(r):[]}function Pw(r,s){return r&&r.length?bi(r,Se(s,2)):[]}function Ow(r,s){return s=typeof s=="function"?s:n,r&&r.length?bi(r,n,s):[]}function Hc(r){if(!(r&&r.length))return[];var s=0;return r=K(r,function(u){if(bt(u))return s=Mt(u.length,s),!0}),qi(s,function(u){return pe(r,Ir(u))})}function xp(r,s){if(!(r&&r.length))return[];var u=Hc(r);return s==null?u:pe(u,function(m){return E(s,n,m)})}var Mw=We(function(r,s){return bt(r)?Oa(r,s):[]}),Rw=We(function(r){return Ac(K(r,bt))}),Lw=We(function(r){var s=Vn(r);return bt(s)&&(s=n),Ac(K(r,bt),Se(s,2))}),Iw=We(function(r){var s=Vn(r);return s=typeof s=="function"?s:n,Ac(K(r,bt),n,s)}),Nw=We(Hc);function Fw(r,s){return Fd(r||[],s||[],Pa)}function Ww(r,s){return Fd(r||[],s||[],La)}var Bw=We(function(r){var s=r.length,u=s>1?r[s-1]:n;return u=typeof u=="function"?(r.pop(),u):n,xp(r,u)});function bp(r){var s=D(r);return s.__chain__=!0,s}function jw(r,s){return s(r),r}function wl(r,s){return s(r)}var Vw=Vr(function(r){var s=r.length,u=s?r[0]:0,m=this.__wrapped__,S=function(T){return mc(T,r)};return s>1||this.__actions__.length||!(m instanceof Ye)||!Yr(u)?this.thru(S):(m=m.slice(u,+u+(s?1:0)),m.__actions__.push({func:wl,args:[S],thisArg:n}),new Wn(m,this.__chain__).thru(function(T){return s&&!T.length&&T.push(n),T}))});function Yw(){return bp(this)}function Uw(){return new Wn(this.value(),this.__chain__)}function Hw(){this.__values__===n&&(this.__values__=Lp(this.value()));var r=this.__index__>=this.__values__.length,s=r?n:this.__values__[this.__index__++];return{done:r,value:s}}function zw(){return this}function qw(r){for(var s,u=this;u instanceof al;){var m=dp(u);m.__index__=0,m.__values__=n,s?S.__wrapped__=m:s=m;var S=m;u=u.__wrapped__}return S.__wrapped__=r,s}function Gw(){var r=this.__wrapped__;if(r instanceof Ye){var s=r;return this.__actions__.length&&(s=new Ye(this)),s=s.reverse(),s.__actions__.push({func:wl,args:[Uc],thisArg:n}),new Wn(s,this.__chain__)}return this.thru(Uc)}function $w(){return Nd(this.__wrapped__,this.__actions__)}var Xw=dl(function(r,s,u){Ce.call(r,u)?++r[u]:Br(r,u,1)});function Kw(r,s,u){var m=Pe(r)?X:jx;return u&&en(r,s,u)&&(s=n),m(r,Se(s,3))}function Zw(r,s){var u=Pe(r)?K:xd;return u(r,Se(s,3))}var Jw=Gd(pp),Qw=Gd(mp);function e1(r,s){return jt(_l(r,s),1)}function t1(r,s){return jt(_l(r,s),Ge)}function n1(r,s,u){return u=u===n?1:Le(u),jt(_l(r,s),u)}function wp(r,s){var u=Pe(r)?O:xi;return u(r,Se(s,3))}function _p(r,s){var u=Pe(r)?Y:vd;return u(r,Se(s,3))}var r1=dl(function(r,s,u){Ce.call(r,u)?r[u].push(s):Br(r,u,[s])});function i1(r,s,u,m){r=dn(r)?r:Ls(r),u=u&&!m?Le(u):0;var S=r.length;return u<0&&(u=Mt(S+u,0)),Cl(r)?u<=S&&r.indexOf(s,u)>-1:!!S&&nt(r,s,u)>-1}var s1=We(function(r,s,u){var m=-1,S=typeof s=="function",T=dn(r)?N(r.length):[];return xi(r,function(L){T[++m]=S?E(s,L,u):Ma(L,s,u)}),T}),a1=dl(function(r,s,u){Br(r,u,s)});function _l(r,s){var u=Pe(r)?pe:Dd;return u(r,Se(s,3))}function o1(r,s,u,m){return r==null?[]:(Pe(s)||(s=s==null?[]:[s]),u=m?n:u,Pe(u)||(u=u==null?[]:[u]),kd(r,s,u))}var l1=dl(function(r,s,u){r[u?0:1].push(s)},function(){return[[],[]]});function u1(r,s,u){var m=Pe(r)?Ae:Jn,S=arguments.length<3;return m(r,Se(s,4),u,S,xi)}function c1(r,s,u){var m=Pe(r)?kt:Jn,S=arguments.length<3;return m(r,Se(s,4),u,S,vd)}function f1(r,s){var u=Pe(r)?K:xd;return u(r,Dl(Se(s,3)))}function h1(r){var s=Pe(r)?pd:ib;return s(r)}function d1(r,s,u){(u?en(r,s,u):s===n)?s=1:s=Le(s);var m=Pe(r)?Ix:sb;return m(r,s)}function p1(r){var s=Pe(r)?Nx:ob;return s(r)}function m1(r){if(r==null)return 0;if(dn(r))return Cl(r)?yr(r):r.length;var s=Gt(r);return s==At||s==xn?r.size:wc(r).length}function g1(r,s,u){var m=Pe(r)?dt:lb;return u&&en(r,s,u)&&(s=n),m(r,Se(s,3))}var y1=We(function(r,s){if(r==null)return[];var u=s.length;return u>1&&en(r,s[0],s[1])?s=[]:u>2&&en(s[0],s[1],s[2])&&(s=[s[0]]),kd(r,jt(s,1),[])}),Sl=Z0||function(){return ht.Date.now()};function v1(r,s){if(typeof s!="function")throw new Fe(f);return r=Le(r),function(){if(--r<1)return s.apply(this,arguments)}}function Sp(r,s,u){return s=u?n:s,s=r&&s==null?r.length:s,jr(r,p,n,n,n,n,s)}function Ep(r,s){var u;if(typeof s!="function")throw new Fe(f);return r=Le(r),function(){return--r>0&&(u=s.apply(this,arguments)),r<=1&&(s=n),u}}var zc=We(function(r,s,u){var m=H;if(u.length){var S=En(u,Ms(zc));m|=re}return jr(r,m,s,u,S)}),Dp=We(function(r,s,u){var m=H|F;if(u.length){var S=En(u,Ms(Dp));m|=re}return jr(s,m,r,u,S)});function Tp(r,s,u){s=u?n:s;var m=jr(r,G,n,n,n,n,n,s);return m.placeholder=Tp.placeholder,m}function Cp(r,s,u){s=u?n:s;var m=jr(r,oe,n,n,n,n,n,s);return m.placeholder=Cp.placeholder,m}function Ap(r,s,u){var m,S,T,L,B,U,ee=0,te=!1,ie=!1,fe=!0;if(typeof r!="function")throw new Fe(f);s=Yn(s)||0,pt(u)&&(te=!!u.leading,ie="maxWait"in u,T=ie?Mt(Yn(u.maxWait)||0,s):T,fe="trailing"in u?!!u.trailing:fe);function xe(wt){var rr=m,zr=S;return m=S=n,ee=wt,L=r.apply(zr,rr),L}function Ee(wt){return ee=wt,B=Fa(Ve,s),te?xe(wt):L}function Ne(wt){var rr=wt-U,zr=wt-ee,Gp=s-rr;return ie?qt(Gp,T-zr):Gp}function De(wt){var rr=wt-U,zr=wt-ee;return U===n||rr>=s||rr<0||ie&&zr>=T}function Ve(){var wt=Sl();if(De(wt))return He(wt);B=Fa(Ve,Ne(wt))}function He(wt){return B=n,fe&&m?xe(wt):(m=S=n,L)}function Cn(){B!==n&&Wd(B),ee=0,m=U=S=B=n}function tn(){return B===n?L:He(Sl())}function An(){var wt=Sl(),rr=De(wt);if(m=arguments,S=this,U=wt,rr){if(B===n)return Ee(U);if(ie)return Wd(B),B=Fa(Ve,s),xe(U)}return B===n&&(B=Fa(Ve,s)),L}return An.cancel=Cn,An.flush=tn,An}var x1=We(function(r,s){return yd(r,1,s)}),b1=We(function(r,s,u){return yd(r,Yn(s)||0,u)});function w1(r){return jr(r,ae)}function El(r,s){if(typeof r!="function"||s!=null&&typeof s!="function")throw new Fe(f);var u=function(){var m=arguments,S=s?s.apply(this,m):m[0],T=u.cache;if(T.has(S))return T.get(S);var L=r.apply(this,m);return u.cache=T.set(S,L)||T,L};return u.cache=new(El.Cache||Wr),u}El.Cache=Wr;function Dl(r){if(typeof r!="function")throw new Fe(f);return function(){var s=arguments;switch(s.length){case 0:return!r.call(this);case 1:return!r.call(this,s[0]);case 2:return!r.call(this,s[0],s[1]);case 3:return!r.call(this,s[0],s[1],s[2])}return!r.apply(this,s)}}function _1(r){return Ep(2,r)}var S1=ub(function(r,s){s=s.length==1&&Pe(s[0])?pe(s[0],Kt(Se())):pe(jt(s,1),Kt(Se()));var u=s.length;return We(function(m){for(var S=-1,T=qt(m.length,u);++S<T;)m[S]=s[S].call(this,m[S]);return E(r,this,m)})}),qc=We(function(r,s){var u=En(s,Ms(qc));return jr(r,re,n,s,u)}),kp=We(function(r,s){var u=En(s,Ms(kp));return jr(r,se,n,s,u)}),E1=Vr(function(r,s){return jr(r,ce,n,n,n,s)});function D1(r,s){if(typeof r!="function")throw new Fe(f);return s=s===n?s:Le(s),We(r,s)}function T1(r,s){if(typeof r!="function")throw new Fe(f);return s=s==null?0:Mt(Le(s),0),We(function(u){var m=u[s],S=_i(u,0,s);return m&&ke(S,m),E(r,this,S)})}function C1(r,s,u){var m=!0,S=!0;if(typeof r!="function")throw new Fe(f);return pt(u)&&(m="leading"in u?!!u.leading:m,S="trailing"in u?!!u.trailing:S),Ap(r,s,{leading:m,maxWait:s,trailing:S})}function A1(r){return Sp(r,1)}function k1(r,s){return qc(Pc(s),r)}function P1(){if(!arguments.length)return[];var r=arguments[0];return Pe(r)?r:[r]}function O1(r){return Bn(r,P)}function M1(r,s){return s=typeof s=="function"?s:n,Bn(r,P,s)}function R1(r){return Bn(r,x|P)}function L1(r,s){return s=typeof s=="function"?s:n,Bn(r,x|P,s)}function I1(r,s){return s==null||gd(r,s,Nt(s))}function nr(r,s){return r===s||r!==r&&s!==s}var N1=yl(vc),F1=yl(function(r,s){return r>=s}),ns=_d(function(){return arguments}())?_d:function(r){return yt(r)&&Ce.call(r,"callee")&&!ld.call(r,"callee")},Pe=N.isArray,W1=o?Kt(o):qx;function dn(r){return r!=null&&Tl(r.length)&&!Ur(r)}function bt(r){return yt(r)&&dn(r)}function B1(r){return r===!0||r===!1||yt(r)&&Qt(r)==rn}var Si=Q0||rf,j1=c?Kt(c):Gx;function V1(r){return yt(r)&&r.nodeType===1&&!Wa(r)}function Y1(r){if(r==null)return!0;if(dn(r)&&(Pe(r)||typeof r=="string"||typeof r.splice=="function"||Si(r)||Rs(r)||ns(r)))return!r.length;var s=Gt(r);if(s==At||s==xn)return!r.size;if(Na(r))return!wc(r).length;for(var u in r)if(Ce.call(r,u))return!1;return!0}function U1(r,s){return Ra(r,s)}function H1(r,s,u){u=typeof u=="function"?u:n;var m=u?u(r,s):n;return m===n?Ra(r,s,n,u):!!m}function Gc(r){if(!yt(r))return!1;var s=Qt(r);return s==Lt||s==Et||typeof r.message=="string"&&typeof r.name=="string"&&!Wa(r)}function z1(r){return typeof r=="number"&&cd(r)}function Ur(r){if(!pt(r))return!1;var s=Qt(r);return s==an||s==Xn||s==Rn||s==Vu}function Pp(r){return typeof r=="number"&&r==Le(r)}function Tl(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Me}function pt(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function yt(r){return r!=null&&typeof r=="object"}var Op=h?Kt(h):Xx;function q1(r,s){return r===s||bc(r,s,Fc(s))}function G1(r,s,u){return u=typeof u=="function"?u:n,bc(r,s,Fc(s),u)}function $1(r){return Mp(r)&&r!=+r}function X1(r){if(Mb(r))throw new Q(l);return Sd(r)}function K1(r){return r===null}function Z1(r){return r==null}function Mp(r){return typeof r=="number"||yt(r)&&Qt(r)==Pr}function Wa(r){if(!yt(r)||Qt(r)!=on)return!1;var s=Qo(r);if(s===null)return!0;var u=Ce.call(s,"constructor")&&s.constructor;return typeof u=="function"&&u instanceof u&&er.call(u)==G0}var $c=g?Kt(g):Kx;function J1(r){return Pp(r)&&r>=-Me&&r<=Me}var Rp=b?Kt(b):Zx;function Cl(r){return typeof r=="string"||!Pe(r)&&yt(r)&&Qt(r)==Yt}function Tn(r){return typeof r=="symbol"||yt(r)&&Qt(r)==ur}var Rs=w?Kt(w):Jx;function Q1(r){return r===n}function e_(r){return yt(r)&&Gt(r)==ve}function t_(r){return yt(r)&&Qt(r)==Ut}var n_=yl(_c),r_=yl(function(r,s){return r<=s});function Lp(r){if(!r)return[];if(dn(r))return Cl(r)?Zt(r):hn(r);if(Da&&r[Da])return gr(r[Da]());var s=Gt(r),u=s==At?Ds:s==xn?Nr:Ls;return u(r)}function Hr(r){if(!r)return r===0?r:0;if(r=Yn(r),r===Ge||r===-Ge){var s=r<0?-1:1;return s*xt}return r===r?r:0}function Le(r){var s=Hr(r),u=s%1;return s===s?u?s-u:s:0}function Ip(r){return r?Ji(Le(r),0,Oe):0}function Yn(r){if(typeof r=="number")return r;if(Tn(r))return St;if(pt(r)){var s=typeof r.valueOf=="function"?r.valueOf():r;r=pt(s)?s+"":s}if(typeof r!="string")return r===0?r:+r;r=Fn(r);var u=Ao.test(r);return u||sa.test(r)?ac(r.slice(2),u?2:8):fi.test(r)?St:+r}function Np(r){return xr(r,pn(r))}function i_(r){return r?Ji(Le(r),-Me,Me):r===0?r:0}function Qe(r){return r==null?"":Dn(r)}var s_=Ps(function(r,s){if(Na(s)||dn(s)){xr(s,Nt(s),r);return}for(var u in s)Ce.call(s,u)&&Pa(r,u,s[u])}),Fp=Ps(function(r,s){xr(s,pn(s),r)}),Al=Ps(function(r,s,u,m){xr(s,pn(s),r,m)}),a_=Ps(function(r,s,u,m){xr(s,Nt(s),r,m)}),o_=Vr(mc);function l_(r,s){var u=ks(r);return s==null?u:md(u,s)}var u_=We(function(r,s){r=he(r);var u=-1,m=s.length,S=m>2?s[2]:n;for(S&&en(s[0],s[1],S)&&(m=1);++u<m;)for(var T=s[u],L=pn(T),B=-1,U=L.length;++B<U;){var ee=L[B],te=r[ee];(te===n||nr(te,Ot[ee])&&!Ce.call(r,ee))&&(r[ee]=T[ee])}return r}),c_=We(function(r){return r.push(n,ep),E(Wp,n,r)});function f_(r,s){return pr(r,Se(s,3),vr)}function h_(r,s){return pr(r,Se(s,3),yc)}function d_(r,s){return r==null?r:gc(r,Se(s,3),pn)}function p_(r,s){return r==null?r:bd(r,Se(s,3),pn)}function m_(r,s){return r&&vr(r,Se(s,3))}function g_(r,s){return r&&yc(r,Se(s,3))}function y_(r){return r==null?[]:ul(r,Nt(r))}function v_(r){return r==null?[]:ul(r,pn(r))}function Xc(r,s,u){var m=r==null?n:Qi(r,s);return m===n?u:m}function x_(r,s){return r!=null&&rp(r,s,Yx)}function Kc(r,s){return r!=null&&rp(r,s,Ux)}var b_=Xd(function(r,s,u){s!=null&&typeof s.toString!="function"&&(s=Ko.call(s)),r[s]=u},Jc(mn)),w_=Xd(function(r,s,u){s!=null&&typeof s.toString!="function"&&(s=Ko.call(s)),Ce.call(r,s)?r[s].push(u):r[s]=[u]},Se),__=We(Ma);function Nt(r){return dn(r)?dd(r):wc(r)}function pn(r){return dn(r)?dd(r,!0):Qx(r)}function S_(r,s){var u={};return s=Se(s,3),vr(r,function(m,S,T){Br(u,s(m,S,T),m)}),u}function E_(r,s){var u={};return s=Se(s,3),vr(r,function(m,S,T){Br(u,S,s(m,S,T))}),u}var D_=Ps(function(r,s,u){cl(r,s,u)}),Wp=Ps(function(r,s,u,m){cl(r,s,u,m)}),T_=Vr(function(r,s){var u={};if(r==null)return u;var m=!1;s=pe(s,function(T){return T=wi(T,r),m||(m=T.length>1),T}),xr(r,Ic(r),u),m&&(u=Bn(u,x|A|P,bb));for(var S=s.length;S--;)Cc(u,s[S]);return u});function C_(r,s){return Bp(r,Dl(Se(s)))}var A_=Vr(function(r,s){return r==null?{}:tb(r,s)});function Bp(r,s){if(r==null)return{};var u=pe(Ic(r),function(m){return[m]});return s=Se(s),Pd(r,u,function(m,S){return s(m,S[0])})}function k_(r,s,u){s=wi(s,r);var m=-1,S=s.length;for(S||(S=1,r=n);++m<S;){var T=r==null?n:r[br(s[m])];T===n&&(m=S,T=u),r=Ur(T)?T.call(r):T}return r}function P_(r,s,u){return r==null?r:La(r,s,u)}function O_(r,s,u,m){return m=typeof m=="function"?m:n,r==null?r:La(r,s,u,m)}var jp=Jd(Nt),Vp=Jd(pn);function M_(r,s,u){var m=Pe(r),S=m||Si(r)||Rs(r);if(s=Se(s,4),u==null){var T=r&&r.constructor;S?u=m?new T:[]:pt(r)?u=Ur(T)?ks(Qo(r)):{}:u={}}return(S?O:vr)(r,function(L,B,U){return s(u,L,B,U)}),u}function R_(r,s){return r==null?!0:Cc(r,s)}function L_(r,s,u){return r==null?r:Id(r,s,Pc(u))}function I_(r,s,u,m){return m=typeof m=="function"?m:n,r==null?r:Id(r,s,Pc(u),m)}function Ls(r){return r==null?[]:wa(r,Nt(r))}function N_(r){return r==null?[]:wa(r,pn(r))}function F_(r,s,u){return u===n&&(u=s,s=n),u!==n&&(u=Yn(u),u=u===u?u:0),s!==n&&(s=Yn(s),s=s===s?s:0),Ji(Yn(r),s,u)}function W_(r,s,u){return s=Hr(s),u===n?(u=s,s=0):u=Hr(u),r=Yn(r),Hx(r,s,u)}function B_(r,s,u){if(u&&typeof u!="boolean"&&en(r,s,u)&&(s=u=n),u===n&&(typeof s=="boolean"?(u=s,s=n):typeof r=="boolean"&&(u=r,r=n)),r===n&&s===n?(r=0,s=1):(r=Hr(r),s===n?(s=r,r=0):s=Hr(s)),r>s){var m=r;r=s,s=m}if(u||r%1||s%1){var S=fd();return qt(r+S*(s-r+xa("1e-"+((S+"").length-1))),s)}return Ec(r,s)}var j_=Os(function(r,s,u){return s=s.toLowerCase(),r+(u?Yp(s):s)});function Yp(r){return Zc(Qe(r).toLowerCase())}function Up(r){return r=Qe(r),r&&r.replace(ko,gi).replace(ec,"")}function V_(r,s,u){r=Qe(r),s=Dn(s);var m=r.length;u=u===n?m:Ji(Le(u),0,m);var S=u;return u-=s.length,u>=0&&r.slice(u,S)==s}function Y_(r){return r=Qe(r),r&&_o.test(r)?r.replace(ui,lc):r}function U_(r){return r=Qe(r),r&&ci.test(r)?r.replace(fr,"\\$&"):r}var H_=Os(function(r,s,u){return r+(u?"-":"")+s.toLowerCase()}),z_=Os(function(r,s,u){return r+(u?" ":"")+s.toLowerCase()}),q_=qd("toLowerCase");function G_(r,s,u){r=Qe(r),s=Le(s);var m=s?yr(r):0;if(!s||m>=s)return r;var S=(s-m)/2;return gl(rl(S),u)+r+gl(nl(S),u)}function $_(r,s,u){r=Qe(r),s=Le(s);var m=s?yr(r):0;return s&&m<s?r+gl(s-m,u):r}function X_(r,s,u){r=Qe(r),s=Le(s);var m=s?yr(r):0;return s&&m<s?gl(s-m,u)+r:r}function K_(r,s,u){return u||s==null?s=0:s&&(s=+s),rx(Qe(r).replace(Yi,""),s||0)}function Z_(r,s,u){return(u?en(r,s,u):s===n)?s=1:s=Le(s),Dc(Qe(r),s)}function J_(){var r=arguments,s=Qe(r[0]);return r.length<3?s:s.replace(r[1],r[2])}var Q_=Os(function(r,s,u){return r+(u?"_":"")+s.toLowerCase()});function eS(r,s,u){return u&&typeof u!="number"&&en(r,s,u)&&(s=u=n),u=u===n?Oe:u>>>0,u?(r=Qe(r),r&&(typeof s=="string"||s!=null&&!$c(s))&&(s=Dn(s),!s&&fn(r))?_i(Zt(r),0,u):r.split(s,u)):[]}var tS=Os(function(r,s,u){return r+(u?" ":"")+Zc(s)});function nS(r,s,u){return r=Qe(r),u=u==null?0:Ji(Le(u),0,r.length),s=Dn(s),r.slice(u,u+s.length)==s}function rS(r,s,u){var m=D.templateSettings;u&&en(r,s,u)&&(s=n),r=Qe(r),s=Al({},s,m,Qd);var S=Al({},s.imports,m.imports,Qd),T=Nt(S),L=wa(S,T),B,U,ee=0,te=s.interpolate||xs,ie="__p += '",fe=Re((s.escape||xs).source+"|"+te.source+"|"+(te===gs?To:xs).source+"|"+(s.evaluate||xs).source+"|$","g"),xe="//# sourceURL="+(Ce.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++sc+"]")+`
|
|
48
|
-
`;r.replace(fe,function(De,Ve,He,Cn,tn,An){return He||(He=Cn),ie+=r.slice(ee,An).replace(Ui,uc),Ve&&(B=!0,ie+=`' +
|
|
49
|
-
__e(`+Ve+`) +
|
|
50
|
-
'`),tn&&(U=!0,ie+=`';
|
|
51
|
-
`+tn+`;
|
|
52
|
-
__p += '`),He&&(ie+=`' +
|
|
53
|
-
((__t = (`+He+`)) == null ? '' : __t) +
|
|
54
|
-
'`),ee=An+De.length,De}),ie+=`';
|
|
55
|
-
`;var Ee=Ce.call(s,"variable")&&s.variable;if(!Ee)ie=`with (obj) {
|
|
56
|
-
`+ie+`
|
|
57
|
-
}
|
|
58
|
-
`;else if(Gu.test(Ee))throw new Q(d);ie=(U?ie.replace(xo,""):ie).replace(bo,"$1").replace(Yu,"$1;"),ie="function("+(Ee||"obj")+`) {
|
|
59
|
-
`+(Ee?"":`obj || (obj = {});
|
|
60
|
-
`)+"var __t, __p = ''"+(B?", __e = _.escape":"")+(U?`, __j = Array.prototype.join;
|
|
61
|
-
function print() { __p += __j.call(arguments, '') }
|
|
62
|
-
`:`;
|
|
63
|
-
`)+ie+`return __p
|
|
64
|
-
}`;var Ne=zp(function(){return me(T,xe+"return "+ie).apply(n,L)});if(Ne.source=ie,Gc(Ne))throw Ne;return Ne}function iS(r){return Qe(r).toLowerCase()}function sS(r){return Qe(r).toUpperCase()}function aS(r,s,u){if(r=Qe(r),r&&(u||s===n))return Fn(r);if(!r||!(s=Dn(s)))return r;var m=Zt(r),S=Zt(s),T=$e(m,S),L=$i(m,S)+1;return _i(m,T,L).join("")}function oS(r,s,u){if(r=Qe(r),r&&(u||s===n))return r.slice(0,$o(r)+1);if(!r||!(s=Dn(s)))return r;var m=Zt(r),S=$i(m,Zt(s))+1;return _i(m,0,S).join("")}function lS(r,s,u){if(r=Qe(r),r&&(u||s===n))return r.replace(Yi,"");if(!r||!(s=Dn(s)))return r;var m=Zt(r),S=$e(m,Zt(s));return _i(m,S).join("")}function uS(r,s){var u=et,m=gt;if(pt(s)){var S="separator"in s?s.separator:S;u="length"in s?Le(s.length):u,m="omission"in s?Dn(s.omission):m}r=Qe(r);var T=r.length;if(fn(r)){var L=Zt(r);T=L.length}if(u>=T)return r;var B=u-yr(m);if(B<1)return m;var U=L?_i(L,0,B).join(""):r.slice(0,B);if(S===n)return U+m;if(L&&(B+=U.length-B),$c(S)){if(r.slice(B).search(S)){var ee,te=U;for(S.global||(S=Re(S.source,Qe(Co.exec(S))+"g")),S.lastIndex=0;ee=S.exec(te);)var ie=ee.index;U=U.slice(0,ie===n?B:ie)}}else if(r.indexOf(Dn(S),B)!=B){var fe=U.lastIndexOf(S);fe>-1&&(U=U.slice(0,fe))}return U+m}function cS(r){return r=Qe(r),r&&wo.test(r)?r.replace(Mr,Ea):r}var fS=Os(function(r,s,u){return r+(u?" ":"")+s.toUpperCase()}),Zc=qd("toUpperCase");function Hp(r,s,u){return r=Qe(r),s=u?n:s,s===n?_a(r)?j(r):Be(r):r.match(s)||[]}var zp=We(function(r,s){try{return E(r,n,s)}catch(u){return Gc(u)?u:new Q(u)}}),hS=Vr(function(r,s){return O(s,function(u){u=br(u),Br(r,u,zc(r[u],r))}),r});function dS(r){var s=r==null?0:r.length,u=Se();return r=s?pe(r,function(m){if(typeof m[1]!="function")throw new Fe(f);return[u(m[0]),m[1]]}):[],We(function(m){for(var S=-1;++S<s;){var T=r[S];if(E(T[0],this,m))return E(T[1],this,m)}})}function pS(r){return Bx(Bn(r,x))}function Jc(r){return function(){return r}}function mS(r,s){return r==null||r!==r?s:r}var gS=$d(),yS=$d(!0);function mn(r){return r}function Qc(r){return Ed(typeof r=="function"?r:Bn(r,x))}function vS(r){return Td(Bn(r,x))}function xS(r,s){return Cd(r,Bn(s,x))}var bS=We(function(r,s){return function(u){return Ma(u,r,s)}}),wS=We(function(r,s){return function(u){return Ma(r,u,s)}});function ef(r,s,u){var m=Nt(s),S=ul(s,m);u==null&&!(pt(s)&&(S.length||!m.length))&&(u=s,s=r,r=this,S=ul(s,Nt(s)));var T=!(pt(u)&&"chain"in u)||!!u.chain,L=Ur(r);return O(S,function(B){var U=s[B];r[B]=U,L&&(r.prototype[B]=function(){var ee=this.__chain__;if(T||ee){var te=r(this.__wrapped__),ie=te.__actions__=hn(this.__actions__);return ie.push({func:U,args:arguments,thisArg:r}),te.__chain__=ee,te}return U.apply(r,ke([this.value()],arguments))})}),r}function _S(){return ht._===this&&(ht._=$0),this}function tf(){}function SS(r){return r=Le(r),We(function(s){return Ad(s,r)})}var ES=Mc(pe),DS=Mc(X),TS=Mc(dt);function qp(r){return Bc(r)?Ir(br(r)):nb(r)}function CS(r){return function(s){return r==null?n:Qi(r,s)}}var AS=Kd(),kS=Kd(!0);function nf(){return[]}function rf(){return!1}function PS(){return{}}function OS(){return""}function MS(){return!0}function RS(r,s){if(r=Le(r),r<1||r>Me)return[];var u=Oe,m=qt(r,Oe);s=Se(s),r-=Oe;for(var S=qi(m,s);++u<r;)s(u);return S}function LS(r){return Pe(r)?pe(r,br):Tn(r)?[r]:hn(hp(Qe(r)))}function IS(r){var s=++q0;return Qe(r)+s}var NS=ml(function(r,s){return r+s},0),FS=Rc("ceil"),WS=ml(function(r,s){return r/s},1),BS=Rc("floor");function jS(r){return r&&r.length?ll(r,mn,vc):n}function VS(r,s){return r&&r.length?ll(r,Se(s,2),vc):n}function YS(r){return _n(r,mn)}function US(r,s){return _n(r,Se(s,2))}function HS(r){return r&&r.length?ll(r,mn,_c):n}function zS(r,s){return r&&r.length?ll(r,Se(s,2),_c):n}var qS=ml(function(r,s){return r*s},1),GS=Rc("round"),$S=ml(function(r,s){return r-s},0);function XS(r){return r&&r.length?zt(r,mn):0}function KS(r,s){return r&&r.length?zt(r,Se(s,2)):0}return D.after=v1,D.ary=Sp,D.assign=s_,D.assignIn=Fp,D.assignInWith=Al,D.assignWith=a_,D.at=o_,D.before=Ep,D.bind=zc,D.bindAll=hS,D.bindKey=Dp,D.castArray=P1,D.chain=bp,D.chunk=Bb,D.compact=jb,D.concat=Vb,D.cond=dS,D.conforms=pS,D.constant=Jc,D.countBy=Xw,D.create=l_,D.curry=Tp,D.curryRight=Cp,D.debounce=Ap,D.defaults=u_,D.defaultsDeep=c_,D.defer=x1,D.delay=b1,D.difference=Yb,D.differenceBy=Ub,D.differenceWith=Hb,D.drop=zb,D.dropRight=qb,D.dropRightWhile=Gb,D.dropWhile=$b,D.fill=Xb,D.filter=Zw,D.flatMap=e1,D.flatMapDeep=t1,D.flatMapDepth=n1,D.flatten=gp,D.flattenDeep=Kb,D.flattenDepth=Zb,D.flip=w1,D.flow=gS,D.flowRight=yS,D.fromPairs=Jb,D.functions=y_,D.functionsIn=v_,D.groupBy=r1,D.initial=ew,D.intersection=tw,D.intersectionBy=nw,D.intersectionWith=rw,D.invert=b_,D.invertBy=w_,D.invokeMap=s1,D.iteratee=Qc,D.keyBy=a1,D.keys=Nt,D.keysIn=pn,D.map=_l,D.mapKeys=S_,D.mapValues=E_,D.matches=vS,D.matchesProperty=xS,D.memoize=El,D.merge=D_,D.mergeWith=Wp,D.method=bS,D.methodOf=wS,D.mixin=ef,D.negate=Dl,D.nthArg=SS,D.omit=T_,D.omitBy=C_,D.once=_1,D.orderBy=o1,D.over=ES,D.overArgs=S1,D.overEvery=DS,D.overSome=TS,D.partial=qc,D.partialRight=kp,D.partition=l1,D.pick=A_,D.pickBy=Bp,D.property=qp,D.propertyOf=CS,D.pull=ow,D.pullAll=vp,D.pullAllBy=lw,D.pullAllWith=uw,D.pullAt=cw,D.range=AS,D.rangeRight=kS,D.rearg=E1,D.reject=f1,D.remove=fw,D.rest=D1,D.reverse=Uc,D.sampleSize=d1,D.set=P_,D.setWith=O_,D.shuffle=p1,D.slice=hw,D.sortBy=y1,D.sortedUniq=xw,D.sortedUniqBy=bw,D.split=eS,D.spread=T1,D.tail=ww,D.take=_w,D.takeRight=Sw,D.takeRightWhile=Ew,D.takeWhile=Dw,D.tap=jw,D.throttle=C1,D.thru=wl,D.toArray=Lp,D.toPairs=jp,D.toPairsIn=Vp,D.toPath=LS,D.toPlainObject=Np,D.transform=M_,D.unary=A1,D.union=Tw,D.unionBy=Cw,D.unionWith=Aw,D.uniq=kw,D.uniqBy=Pw,D.uniqWith=Ow,D.unset=R_,D.unzip=Hc,D.unzipWith=xp,D.update=L_,D.updateWith=I_,D.values=Ls,D.valuesIn=N_,D.without=Mw,D.words=Hp,D.wrap=k1,D.xor=Rw,D.xorBy=Lw,D.xorWith=Iw,D.zip=Nw,D.zipObject=Fw,D.zipObjectDeep=Ww,D.zipWith=Bw,D.entries=jp,D.entriesIn=Vp,D.extend=Fp,D.extendWith=Al,ef(D,D),D.add=NS,D.attempt=zp,D.camelCase=j_,D.capitalize=Yp,D.ceil=FS,D.clamp=F_,D.clone=O1,D.cloneDeep=R1,D.cloneDeepWith=L1,D.cloneWith=M1,D.conformsTo=I1,D.deburr=Up,D.defaultTo=mS,D.divide=WS,D.endsWith=V_,D.eq=nr,D.escape=Y_,D.escapeRegExp=U_,D.every=Kw,D.find=Jw,D.findIndex=pp,D.findKey=f_,D.findLast=Qw,D.findLastIndex=mp,D.findLastKey=h_,D.floor=BS,D.forEach=wp,D.forEachRight=_p,D.forIn=d_,D.forInRight=p_,D.forOwn=m_,D.forOwnRight=g_,D.get=Xc,D.gt=N1,D.gte=F1,D.has=x_,D.hasIn=Kc,D.head=yp,D.identity=mn,D.includes=i1,D.indexOf=Qb,D.inRange=W_,D.invoke=__,D.isArguments=ns,D.isArray=Pe,D.isArrayBuffer=W1,D.isArrayLike=dn,D.isArrayLikeObject=bt,D.isBoolean=B1,D.isBuffer=Si,D.isDate=j1,D.isElement=V1,D.isEmpty=Y1,D.isEqual=U1,D.isEqualWith=H1,D.isError=Gc,D.isFinite=z1,D.isFunction=Ur,D.isInteger=Pp,D.isLength=Tl,D.isMap=Op,D.isMatch=q1,D.isMatchWith=G1,D.isNaN=$1,D.isNative=X1,D.isNil=Z1,D.isNull=K1,D.isNumber=Mp,D.isObject=pt,D.isObjectLike=yt,D.isPlainObject=Wa,D.isRegExp=$c,D.isSafeInteger=J1,D.isSet=Rp,D.isString=Cl,D.isSymbol=Tn,D.isTypedArray=Rs,D.isUndefined=Q1,D.isWeakMap=e_,D.isWeakSet=t_,D.join=iw,D.kebabCase=H_,D.last=Vn,D.lastIndexOf=sw,D.lowerCase=z_,D.lowerFirst=q_,D.lt=n_,D.lte=r_,D.max=jS,D.maxBy=VS,D.mean=YS,D.meanBy=US,D.min=HS,D.minBy=zS,D.stubArray=nf,D.stubFalse=rf,D.stubObject=PS,D.stubString=OS,D.stubTrue=MS,D.multiply=qS,D.nth=aw,D.noConflict=_S,D.noop=tf,D.now=Sl,D.pad=G_,D.padEnd=$_,D.padStart=X_,D.parseInt=K_,D.random=B_,D.reduce=u1,D.reduceRight=c1,D.repeat=Z_,D.replace=J_,D.result=k_,D.round=GS,D.runInContext=C,D.sample=h1,D.size=m1,D.snakeCase=Q_,D.some=g1,D.sortedIndex=dw,D.sortedIndexBy=pw,D.sortedIndexOf=mw,D.sortedLastIndex=gw,D.sortedLastIndexBy=yw,D.sortedLastIndexOf=vw,D.startCase=tS,D.startsWith=nS,D.subtract=$S,D.sum=XS,D.sumBy=KS,D.template=rS,D.times=RS,D.toFinite=Hr,D.toInteger=Le,D.toLength=Ip,D.toLower=iS,D.toNumber=Yn,D.toSafeInteger=i_,D.toString=Qe,D.toUpper=sS,D.trim=aS,D.trimEnd=oS,D.trimStart=lS,D.truncate=uS,D.unescape=cS,D.uniqueId=IS,D.upperCase=fS,D.upperFirst=Zc,D.each=wp,D.eachRight=_p,D.first=yp,ef(D,function(){var r={};return vr(D,function(s,u){Ce.call(D.prototype,u)||(r[u]=s)}),r}(),{chain:!1}),D.VERSION=i,O(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){D[r].placeholder=D}),O(["drop","take"],function(r,s){Ye.prototype[r]=function(u){u=u===n?1:Mt(Le(u),0);var m=this.__filtered__&&!s?new Ye(this):this.clone();return m.__filtered__?m.__takeCount__=qt(u,m.__takeCount__):m.__views__.push({size:qt(u,Oe),type:r+(m.__dir__<0?"Right":"")}),m},Ye.prototype[r+"Right"]=function(u){return this.reverse()[r](u).reverse()}}),O(["filter","map","takeWhile"],function(r,s){var u=s+1,m=u==tt||u==at;Ye.prototype[r]=function(S){var T=this.clone();return T.__iteratees__.push({iteratee:Se(S,3),type:u}),T.__filtered__=T.__filtered__||m,T}}),O(["head","last"],function(r,s){var u="take"+(s?"Right":"");Ye.prototype[r]=function(){return this[u](1).value()[0]}}),O(["initial","tail"],function(r,s){var u="drop"+(s?"":"Right");Ye.prototype[r]=function(){return this.__filtered__?new Ye(this):this[u](1)}}),Ye.prototype.compact=function(){return this.filter(mn)},Ye.prototype.find=function(r){return this.filter(r).head()},Ye.prototype.findLast=function(r){return this.reverse().find(r)},Ye.prototype.invokeMap=We(function(r,s){return typeof r=="function"?new Ye(this):this.map(function(u){return Ma(u,r,s)})}),Ye.prototype.reject=function(r){return this.filter(Dl(Se(r)))},Ye.prototype.slice=function(r,s){r=Le(r);var u=this;return u.__filtered__&&(r>0||s<0)?new Ye(u):(r<0?u=u.takeRight(-r):r&&(u=u.drop(r)),s!==n&&(s=Le(s),u=s<0?u.dropRight(-s):u.take(s-r)),u)},Ye.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Ye.prototype.toArray=function(){return this.take(Oe)},vr(Ye.prototype,function(r,s){var u=/^(?:filter|find|map|reject)|While$/.test(s),m=/^(?:head|last)$/.test(s),S=D[m?"take"+(s=="last"?"Right":""):s],T=m||/^find/.test(s);S&&(D.prototype[s]=function(){var L=this.__wrapped__,B=m?[1]:arguments,U=L instanceof Ye,ee=B[0],te=U||Pe(L),ie=function(Ve){var He=S.apply(D,ke([Ve],B));return m&&fe?He[0]:He};te&&u&&typeof ee=="function"&&ee.length!=1&&(U=te=!1);var fe=this.__chain__,xe=!!this.__actions__.length,Ee=T&&!fe,Ne=U&&!xe;if(!T&&te){L=Ne?L:new Ye(this);var De=r.apply(L,B);return De.__actions__.push({func:wl,args:[ie],thisArg:n}),new Wn(De,fe)}return Ee&&Ne?r.apply(this,B):(De=this.thru(ie),Ee?m?De.value()[0]:De.value():De)})}),O(["pop","push","shift","sort","splice","unshift"],function(r){var s=Pt[r],u=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",m=/^(?:pop|shift)$/.test(r);D.prototype[r]=function(){var S=arguments;if(m&&!this.__chain__){var T=this.value();return s.apply(Pe(T)?T:[],S)}return this[u](function(L){return s.apply(Pe(L)?L:[],S)})}}),vr(Ye.prototype,function(r,s){var u=D[s];if(u){var m=u.name+"";Ce.call(As,m)||(As[m]=[]),As[m].push({name:s,func:u})}}),As[pl(n,F).name]=[{name:"wrapper",func:n}],Ye.prototype.clone=cx,Ye.prototype.reverse=fx,Ye.prototype.value=hx,D.prototype.at=Vw,D.prototype.chain=Yw,D.prototype.commit=Uw,D.prototype.next=Hw,D.prototype.plant=qw,D.prototype.reverse=Gw,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=$w,D.prototype.first=D.prototype.head,Da&&(D.prototype[Da]=zw),D},$=z();Zn?((Zn.exports=$)._=$,Ss._=$):ht._=$}).call(V.commonjsGlobal)})(lu,lu.exports);lu.exports;function xO(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,i=e.startIndex,a=e.stopIndex;return!(i>n||a<t)}function bO(e){for(var t=e.isItemLoaded,n=e.itemCount,i=e.minimumBatchSize,a=e.startIndex,l=e.stopIndex,f=[],d=null,y=null,v=a;v<=l;v++){var _=t(v);_?y!==null&&(f.push(d,y),d=y=null):(y=v,d===null&&(d=v))}if(y!==null){for(var x=Math.min(Math.max(y,d+i-1),n-1),A=y+1;A<=x&&!t(A);A++)y=A;f.push(d,y)}if(f.length)for(;f[1]-f[0]+1<i&&f[0]>0;){var P=f[0]-1;if(!t(P))f[0]=P;else break}return f}var wO=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_O=function(){function e(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),SO=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},kg=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e};(function(e){SO(t,e);function t(){var n,i,a,l;wO(this,t);for(var f=arguments.length,d=Array(f),y=0;y<f;y++)d[y]=arguments[y];return l=(i=(a=kg(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(d))),a),a._lastRenderedStartIndex=-1,a._lastRenderedStopIndex=-1,a._memoizedUnloadedRanges=[],a._onItemsRendered=function(v){var _=v.visibleStartIndex,x=v.visibleStopIndex;a._lastRenderedStartIndex=_,a._lastRenderedStopIndex=x,a._ensureRowsLoaded(_,x)},a._setRef=function(v){a._listRef=v},i),kg(a,l)}return _O(t,[{key:"resetloadMoreItemsCache",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],i&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var i=this.props.children;return i({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(i,a){var l=this.props,f=l.isItemLoaded,d=l.itemCount,y=l.minimumBatchSize,v=y===void 0?10:y,_=l.threshold,x=_===void 0?15:_,A=bO({isItemLoaded:f,itemCount:d,minimumBatchSize:v,startIndex:Math.max(0,i-x),stopIndex:Math.min(d-1,a+x)});(this._memoizedUnloadedRanges.length!==A.length||this._memoizedUnloadedRanges.some(function(P,M){return A[M]!==P}))&&(this._memoizedUnloadedRanges=A,this._loadUnloadedRanges(A))}},{key:"_loadUnloadedRanges",value:function(i){for(var a=this,l=this.props.loadMoreItems||this.props.loadMoreRows,f=function(v){var _=i[v],x=i[v+1],A=l(_,x);A!=null&&A.then(function(){if(xO({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:_,stopIndex:x})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(_,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},d=0;d<i.length;d+=2)f(d)}}]),t})(V.reactExports.PureComponent);V.reactExports.createContext({});//! moment.js
|
|
65
|
-
//! version : 2.30.1
|
|
66
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
67
|
-
//! license : MIT
|
|
68
|
-
//! momentjs.com
|
|
69
|
-
var e0;function de(){return e0.apply(null,arguments)}function EO(e){e0=e}function ar(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function cs(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Xe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Fh(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Xe(e,t))return!1;return!0}function yn(e){return e===void 0}function ri(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function mo(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function t0(e,t){var n=[],i,a=e.length;for(i=0;i<a;++i)n.push(t(e[i],i));return n}function Oi(e,t){for(var n in t)Xe(t,n)&&(e[n]=t[n]);return Xe(t,"toString")&&(e.toString=t.toString),Xe(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ar(e,t,n,i){return E0(e,t,n,i,!0).utc()}function DO(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Ie(e){return e._pf==null&&(e._pf=DO()),e._pf}var Qf;Array.prototype.some?Qf=Array.prototype.some:Qf=function(e){var t=Object(this),n=t.length>>>0,i;for(i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};function Wh(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());if(i&&(t=Ie(e),n=Qf.call(t.parsedDateParts,function(a){return a!=null}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=i;else return i;return e._isValid}function Pu(e){var t=Ar(NaN);return e!=null?Oi(Ie(t),e):Ie(t).userInvalidated=!0,t}var Pg=de.momentProperties=[],Tf=!1;function Bh(e,t){var n,i,a,l=Pg.length;if(yn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),yn(t._i)||(e._i=t._i),yn(t._f)||(e._f=t._f),yn(t._l)||(e._l=t._l),yn(t._strict)||(e._strict=t._strict),yn(t._tzm)||(e._tzm=t._tzm),yn(t._isUTC)||(e._isUTC=t._isUTC),yn(t._offset)||(e._offset=t._offset),yn(t._pf)||(e._pf=Ie(t)),yn(t._locale)||(e._locale=t._locale),l>0)for(n=0;n<l;n++)i=Pg[n],a=t[i],yn(a)||(e[i]=a);return e}function go(e){Bh(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Tf===!1&&(Tf=!0,de.updateOffset(this),Tf=!1)}function or(e){return e instanceof go||e!=null&&e._isAMomentObject!=null}function n0(e){de.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Gn(e,t){var n=!0;return Oi(function(){if(de.deprecationHandler!=null&&de.deprecationHandler(null,e),n){var i=[],a,l,f,d=arguments.length;for(l=0;l<d;l++){if(a="",typeof arguments[l]=="object"){a+=`
|
|
70
|
-
[`+l+"] ";for(f in arguments[0])Xe(arguments[0],f)&&(a+=f+": "+arguments[0][f]+", ");a=a.slice(0,-2)}else a=arguments[l];i.push(a)}n0(e+`
|
|
71
|
-
Arguments: `+Array.prototype.slice.call(i).join("")+`
|
|
72
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Og={};function r0(e,t){de.deprecationHandler!=null&&de.deprecationHandler(e,t),Og[e]||(n0(t),Og[e]=!0)}de.suppressDeprecationWarnings=!1;de.deprecationHandler=null;function kr(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function TO(e){var t,n;for(n in e)Xe(e,n)&&(t=e[n],kr(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function eh(e,t){var n=Oi({},e),i;for(i in t)Xe(t,i)&&(cs(e[i])&&cs(t[i])?(n[i]={},Oi(n[i],e[i]),Oi(n[i],t[i])):t[i]!=null?n[i]=t[i]:delete n[i]);for(i in e)Xe(e,i)&&!Xe(t,i)&&cs(e[i])&&(n[i]=Oi({},n[i]));return n}function jh(e){e!=null&&this.set(e)}var th;Object.keys?th=Object.keys:th=function(e){var t,n=[];for(t in e)Xe(e,t)&&n.push(t);return n};var CO={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function AO(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return kr(i)?i.call(t,n):i}function Tr(e,t,n){var i=""+Math.abs(e),a=t-i.length,l=e>=0;return(l?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}var Vh=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Nl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Cf={},zs={};function be(e,t,n,i){var a=i;typeof i=="string"&&(a=function(){return this[i]()}),e&&(zs[e]=a),t&&(zs[t[0]]=function(){return Tr(a.apply(this,arguments),t[1],t[2])}),n&&(zs[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function kO(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function PO(e){var t=e.match(Vh),n,i;for(n=0,i=t.length;n<i;n++)zs[t[n]]?t[n]=zs[t[n]]:t[n]=kO(t[n]);return function(a){var l="",f;for(f=0;f<i;f++)l+=kr(t[f])?t[f].call(a,e):t[f];return l}}function Hl(e,t){return e.isValid()?(t=i0(t,e.localeData()),Cf[t]=Cf[t]||PO(t),Cf[t](e)):e.localeData().invalidDate()}function i0(e,t){var n=5;function i(a){return t.longDateFormat(a)||a}for(Nl.lastIndex=0;n>=0&&Nl.test(e);)e=e.replace(Nl,i),Nl.lastIndex=0,n-=1;return e}var OO={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function MO(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Vh).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[e])}var RO="Invalid date";function LO(){return this._invalidDate}var IO="%d",NO=/\d{1,2}/;function FO(e){return this._ordinal.replace("%d",e)}var WO={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function BO(e,t,n,i){var a=this._relativeTime[n];return kr(a)?a(e,t,n,i):a.replace(/%d/i,e)}function jO(e,t){var n=this._relativeTime[e>0?"future":"past"];return kr(n)?n(t):n.replace(/%s/i,t)}var Mg={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function $n(e){return typeof e=="string"?Mg[e]||Mg[e.toLowerCase()]:void 0}function Yh(e){var t={},n,i;for(i in e)Xe(e,i)&&(n=$n(i),n&&(t[n]=e[i]));return t}var VO={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function YO(e){var t=[],n;for(n in e)Xe(e,n)&&t.push({unit:n,priority:VO[n]});return t.sort(function(i,a){return i.priority-a.priority}),t}var s0=/\d/,On=/\d\d/,a0=/\d{3}/,Uh=/\d{4}/,Ou=/[+-]?\d{6}/,ut=/\d\d?/,o0=/\d\d\d\d?/,l0=/\d\d\d\d\d\d?/,Mu=/\d{1,3}/,Hh=/\d{1,4}/,Ru=/[+-]?\d{1,6}/,Qs=/\d+/,Lu=/[+-]?\d+/,UO=/Z|[+-]\d\d:?\d\d/gi,Iu=/Z|[+-]\d\d(?::?\d\d)?/gi,HO=/[+-]?\d+(\.\d{1,3})?/,yo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ea=/^[1-9]\d?/,zh=/^([1-9]\d|\d)/,uu;uu={};function ye(e,t,n){uu[e]=kr(t)?t:function(i,a){return i&&n?n:t}}function zO(e,t){return Xe(uu,e)?uu[e](t._strict,t._locale):new RegExp(qO(e))}function qO(e){return ei(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,i,a,l){return n||i||a||l}))}function ei(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function zn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ue(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=zn(t)),n}var nh={};function it(e,t){var n,i=t,a;for(typeof e=="string"&&(e=[e]),ri(t)&&(i=function(l,f){f[t]=Ue(l)}),a=e.length,n=0;n<a;n++)nh[e[n]]=i}function vo(e,t){it(e,function(n,i,a,l){a._w=a._w||{},t(n,a._w,a,l)})}function GO(e,t,n){t!=null&&Xe(nh,e)&&nh[e](t,n._a,n,e)}function Nu(e){return e%4===0&&e%100!==0||e%400===0}var Xt=0,Xr=1,Sr=2,Rt=3,ir=4,Kr=5,us=6,$O=7,XO=8;be("Y",0,0,function(){var e=this.year();return e<=9999?Tr(e,4):"+"+e});be(0,["YY",2],0,function(){return this.year()%100});be(0,["YYYY",4],0,"year");be(0,["YYYYY",5],0,"year");be(0,["YYYYYY",6,!0],0,"year");ye("Y",Lu);ye("YY",ut,On);ye("YYYY",Hh,Uh);ye("YYYYY",Ru,Ou);ye("YYYYYY",Ru,Ou);it(["YYYYY","YYYYYY"],Xt);it("YYYY",function(e,t){t[Xt]=e.length===2?de.parseTwoDigitYear(e):Ue(e)});it("YY",function(e,t){t[Xt]=de.parseTwoDigitYear(e)});it("Y",function(e,t){t[Xt]=parseInt(e,10)});function Ja(e){return Nu(e)?366:365}de.parseTwoDigitYear=function(e){return Ue(e)+(Ue(e)>68?1900:2e3)};var u0=ta("FullYear",!0);function KO(){return Nu(this.year())}function ta(e,t){return function(n){return n!=null?(c0(this,e,n),de.updateOffset(this,t),this):io(this,e)}}function io(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function c0(e,t,n){var i,a,l,f,d;if(!(!e.isValid()||isNaN(n))){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}l=n,f=e.month(),d=e.date(),d=d===29&&f===1&&!Nu(l)?28:d,a?i.setUTCFullYear(l,f,d):i.setFullYear(l,f,d)}}function ZO(e){return e=$n(e),kr(this[e])?this[e]():this}function JO(e,t){if(typeof e=="object"){e=Yh(e);var n=YO(e),i,a=n.length;for(i=0;i<a;i++)this[n[i].unit](e[n[i].unit])}else if(e=$n(e),kr(this[e]))return this[e](t);return this}function QO(e,t){return(e%t+t)%t}var _t;Array.prototype.indexOf?_t=Array.prototype.indexOf:_t=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function qh(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=QO(t,12);return e+=(t-n)/12,n===1?Nu(e)?29:28:31-n%7%2}be("M",["MM",2],"Mo",function(){return this.month()+1});be("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});be("MMMM",0,0,function(e){return this.localeData().months(this,e)});ye("M",ut,ea);ye("MM",ut,On);ye("MMM",function(e,t){return t.monthsShortRegex(e)});ye("MMMM",function(e,t){return t.monthsRegex(e)});it(["M","MM"],function(e,t){t[Xr]=Ue(e)-1});it(["MMM","MMMM"],function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);a!=null?t[Xr]=a:Ie(n).invalidMonth=e});var eM="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),f0="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),h0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tM=yo,nM=yo;function rM(e,t){return e?ar(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||h0).test(t)?"format":"standalone"][e.month()]:ar(this._months)?this._months:this._months.standalone}function iM(e,t){return e?ar(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[h0.test(t)?"format":"standalone"][e.month()]:ar(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function sM(e,t,n){var i,a,l,f=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)l=Ar([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(l,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(l,"").toLocaleLowerCase();return n?t==="MMM"?(a=_t.call(this._shortMonthsParse,f),a!==-1?a:null):(a=_t.call(this._longMonthsParse,f),a!==-1?a:null):t==="MMM"?(a=_t.call(this._shortMonthsParse,f),a!==-1?a:(a=_t.call(this._longMonthsParse,f),a!==-1?a:null)):(a=_t.call(this._longMonthsParse,f),a!==-1?a:(a=_t.call(this._shortMonthsParse,f),a!==-1?a:null))}function aM(e,t,n){var i,a,l;if(this._monthsParseExact)return sM.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=Ar([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[i]&&(l="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(l.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[i].test(e))return i;if(n&&t==="MMM"&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function d0(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=Ue(t);else if(t=e.localeData().monthsParse(t),!ri(t))return e}var n=t,i=e.date();return i=i<29?i:Math.min(i,qh(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function p0(e){return e!=null?(d0(this,e),de.updateOffset(this,!0),this):io(this,"Month")}function oM(){return qh(this.year(),this.month())}function lM(e){return this._monthsParseExact?(Xe(this,"_monthsRegex")||m0.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Xe(this,"_monthsShortRegex")||(this._monthsShortRegex=tM),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function uM(e){return this._monthsParseExact?(Xe(this,"_monthsRegex")||m0.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Xe(this,"_monthsRegex")||(this._monthsRegex=nM),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function m0(){function e(y,v){return v.length-y.length}var t=[],n=[],i=[],a,l,f,d;for(a=0;a<12;a++)l=Ar([2e3,a]),f=ei(this.monthsShort(l,"")),d=ei(this.months(l,"")),t.push(f),n.push(d),i.push(d),i.push(f);t.sort(e),n.sort(e),i.sort(e),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function cM(e,t,n,i,a,l,f){var d;return e<100&&e>=0?(d=new Date(e+400,t,n,i,a,l,f),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,n,i,a,l,f),d}function so(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function cu(e,t,n){var i=7+t-n,a=(7+so(e,0,i).getUTCDay()-t)%7;return-a+i-1}function g0(e,t,n,i,a){var l=(7+n-i)%7,f=cu(e,i,a),d=1+7*(t-1)+l+f,y,v;return d<=0?(y=e-1,v=Ja(y)+d):d>Ja(e)?(y=e+1,v=d-Ja(e)):(y=e,v=d),{year:y,dayOfYear:v}}function ao(e,t,n){var i=cu(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1,l,f;return a<1?(f=e.year()-1,l=a+ti(f,t,n)):a>ti(e.year(),t,n)?(l=a-ti(e.year(),t,n),f=e.year()+1):(f=e.year(),l=a),{week:l,year:f}}function ti(e,t,n){var i=cu(e,t,n),a=cu(e+1,t,n);return(Ja(e)-i+a)/7}be("w",["ww",2],"wo","week");be("W",["WW",2],"Wo","isoWeek");ye("w",ut,ea);ye("ww",ut,On);ye("W",ut,ea);ye("WW",ut,On);vo(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=Ue(e)});function fM(e){return ao(e,this._week.dow,this._week.doy).week}var hM={dow:0,doy:6};function dM(){return this._week.dow}function pM(){return this._week.doy}function mM(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gM(e){var t=ao(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}be("d",0,"do","day");be("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});be("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});be("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});be("e",0,0,"weekday");be("E",0,0,"isoWeekday");ye("d",ut);ye("e",ut);ye("E",ut);ye("dd",function(e,t){return t.weekdaysMinRegex(e)});ye("ddd",function(e,t){return t.weekdaysShortRegex(e)});ye("dddd",function(e,t){return t.weekdaysRegex(e)});vo(["dd","ddd","dddd"],function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);a!=null?t.d=a:Ie(n).invalidWeekday=e});vo(["d","e","E"],function(e,t,n,i){t[i]=Ue(e)});function yM(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function vM(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Gh(e,t){return e.slice(t,7).concat(e.slice(0,t))}var xM="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),y0="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),bM="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),wM=yo,_M=yo,SM=yo;function EM(e,t){var n=ar(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Gh(n,this._week.dow):e?n[e.day()]:n}function DM(e){return e===!0?Gh(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function TM(e){return e===!0?Gh(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function CM(e,t,n){var i,a,l,f=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)l=Ar([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(l,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(l,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(l,"").toLocaleLowerCase();return n?t==="dddd"?(a=_t.call(this._weekdaysParse,f),a!==-1?a:null):t==="ddd"?(a=_t.call(this._shortWeekdaysParse,f),a!==-1?a:null):(a=_t.call(this._minWeekdaysParse,f),a!==-1?a:null):t==="dddd"?(a=_t.call(this._weekdaysParse,f),a!==-1||(a=_t.call(this._shortWeekdaysParse,f),a!==-1)?a:(a=_t.call(this._minWeekdaysParse,f),a!==-1?a:null)):t==="ddd"?(a=_t.call(this._shortWeekdaysParse,f),a!==-1||(a=_t.call(this._weekdaysParse,f),a!==-1)?a:(a=_t.call(this._minWeekdaysParse,f),a!==-1?a:null)):(a=_t.call(this._minWeekdaysParse,f),a!==-1||(a=_t.call(this._weekdaysParse,f),a!==-1)?a:(a=_t.call(this._shortWeekdaysParse,f),a!==-1?a:null))}function AM(e,t,n){var i,a,l;if(this._weekdaysParseExact)return CM.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=Ar([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(l="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(l.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[i].test(e))return i;if(n&&t==="ddd"&&this._shortWeekdaysParse[i].test(e))return i;if(n&&t==="dd"&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function kM(e){if(!this.isValid())return e!=null?this:NaN;var t=io(this,"Day");return e!=null?(e=yM(e,this.localeData()),this.add(e-t,"d")):t}function PM(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function OM(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=vM(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function MM(e){return this._weekdaysParseExact?(Xe(this,"_weekdaysRegex")||$h.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Xe(this,"_weekdaysRegex")||(this._weekdaysRegex=wM),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function RM(e){return this._weekdaysParseExact?(Xe(this,"_weekdaysRegex")||$h.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Xe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_M),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function LM(e){return this._weekdaysParseExact?(Xe(this,"_weekdaysRegex")||$h.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Xe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=SM),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $h(){function e(_,x){return x.length-_.length}var t=[],n=[],i=[],a=[],l,f,d,y,v;for(l=0;l<7;l++)f=Ar([2e3,1]).day(l),d=ei(this.weekdaysMin(f,"")),y=ei(this.weekdaysShort(f,"")),v=ei(this.weekdays(f,"")),t.push(d),n.push(y),i.push(v),a.push(d),a.push(y),a.push(v);t.sort(e),n.sort(e),i.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Xh(){return this.hours()%12||12}function IM(){return this.hours()||24}be("H",["HH",2],0,"hour");be("h",["hh",2],0,Xh);be("k",["kk",2],0,IM);be("hmm",0,0,function(){return""+Xh.apply(this)+Tr(this.minutes(),2)});be("hmmss",0,0,function(){return""+Xh.apply(this)+Tr(this.minutes(),2)+Tr(this.seconds(),2)});be("Hmm",0,0,function(){return""+this.hours()+Tr(this.minutes(),2)});be("Hmmss",0,0,function(){return""+this.hours()+Tr(this.minutes(),2)+Tr(this.seconds(),2)});function v0(e,t){be(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}v0("a",!0);v0("A",!1);function x0(e,t){return t._meridiemParse}ye("a",x0);ye("A",x0);ye("H",ut,zh);ye("h",ut,ea);ye("k",ut,ea);ye("HH",ut,On);ye("hh",ut,On);ye("kk",ut,On);ye("hmm",o0);ye("hmmss",l0);ye("Hmm",o0);ye("Hmmss",l0);it(["H","HH"],Rt);it(["k","kk"],function(e,t,n){var i=Ue(e);t[Rt]=i===24?0:i});it(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});it(["h","hh"],function(e,t,n){t[Rt]=Ue(e),Ie(n).bigHour=!0});it("hmm",function(e,t,n){var i=e.length-2;t[Rt]=Ue(e.substr(0,i)),t[ir]=Ue(e.substr(i)),Ie(n).bigHour=!0});it("hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Rt]=Ue(e.substr(0,i)),t[ir]=Ue(e.substr(i,2)),t[Kr]=Ue(e.substr(a)),Ie(n).bigHour=!0});it("Hmm",function(e,t,n){var i=e.length-2;t[Rt]=Ue(e.substr(0,i)),t[ir]=Ue(e.substr(i))});it("Hmmss",function(e,t,n){var i=e.length-4,a=e.length-2;t[Rt]=Ue(e.substr(0,i)),t[ir]=Ue(e.substr(i,2)),t[Kr]=Ue(e.substr(a))});function NM(e){return(e+"").toLowerCase().charAt(0)==="p"}var FM=/[ap]\.?m?\.?/i,WM=ta("Hours",!0);function BM(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var b0={calendar:CO,longDateFormat:OO,invalidDate:RO,ordinal:IO,dayOfMonthOrdinalParse:NO,relativeTime:WO,months:eM,monthsShort:f0,week:hM,weekdays:xM,weekdaysMin:bM,weekdaysShort:y0,meridiemParse:FM},ft={},Ua={},oo;function jM(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Rg(e){return e&&e.toLowerCase().replace("_","-")}function VM(e){for(var t=0,n,i,a,l;t<e.length;){for(l=Rg(e[t]).split("-"),n=l.length,i=Rg(e[t+1]),i=i?i.split("-"):null;n>0;){if(a=Fu(l.slice(0,n).join("-")),a)return a;if(i&&i.length>=n&&jM(l,i)>=n-1)break;n--}t++}return oo}function YM(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Fu(e){var t=null,n;if(ft[e]===void 0&&typeof module<"u"&&module&&module.exports&&YM(e))try{t=oo._abbr,n=require,n("./locale/"+e),Ii(t)}catch{ft[e]=null}return ft[e]}function Ii(e,t){var n;return e&&(yn(t)?n=ii(e):n=Kh(e,t),n?oo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),oo._abbr}function Kh(e,t){if(t!==null){var n,i=b0;if(t.abbr=e,ft[e]!=null)r0("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ft[e]._config;else if(t.parentLocale!=null)if(ft[t.parentLocale]!=null)i=ft[t.parentLocale]._config;else if(n=Fu(t.parentLocale),n!=null)i=n._config;else return Ua[t.parentLocale]||(Ua[t.parentLocale]=[]),Ua[t.parentLocale].push({name:e,config:t}),null;return ft[e]=new jh(eh(i,t)),Ua[e]&&Ua[e].forEach(function(a){Kh(a.name,a.config)}),Ii(e),ft[e]}else return delete ft[e],null}function UM(e,t){if(t!=null){var n,i,a=b0;ft[e]!=null&&ft[e].parentLocale!=null?ft[e].set(eh(ft[e]._config,t)):(i=Fu(e),i!=null&&(a=i._config),t=eh(a,t),i==null&&(t.abbr=e),n=new jh(t),n.parentLocale=ft[e],ft[e]=n),Ii(e)}else ft[e]!=null&&(ft[e].parentLocale!=null?(ft[e]=ft[e].parentLocale,e===Ii()&&Ii(e)):ft[e]!=null&&delete ft[e]);return ft[e]}function ii(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return oo;if(!ar(e)){if(t=Fu(e),t)return t;e=[e]}return VM(e)}function HM(){return th(ft)}function Zh(e){var t,n=e._a;return n&&Ie(e).overflow===-2&&(t=n[Xr]<0||n[Xr]>11?Xr:n[Sr]<1||n[Sr]>qh(n[Xt],n[Xr])?Sr:n[Rt]<0||n[Rt]>24||n[Rt]===24&&(n[ir]!==0||n[Kr]!==0||n[us]!==0)?Rt:n[ir]<0||n[ir]>59?ir:n[Kr]<0||n[Kr]>59?Kr:n[us]<0||n[us]>999?us:-1,Ie(e)._overflowDayOfYear&&(t<Xt||t>Sr)&&(t=Sr),Ie(e)._overflowWeeks&&t===-1&&(t=$O),Ie(e)._overflowWeekday&&t===-1&&(t=XO),Ie(e).overflow=t),e}var zM=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qM=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,GM=/Z|[+-]\d\d(?::?\d\d)?/,Fl=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Af=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$M=/^\/?Date\((-?\d+)/i,XM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,KM={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function w0(e){var t,n,i=e._i,a=zM.exec(i)||qM.exec(i),l,f,d,y,v=Fl.length,_=Af.length;if(a){for(Ie(e).iso=!0,t=0,n=v;t<n;t++)if(Fl[t][1].exec(a[1])){f=Fl[t][0],l=Fl[t][2]!==!1;break}if(f==null){e._isValid=!1;return}if(a[3]){for(t=0,n=_;t<n;t++)if(Af[t][1].exec(a[3])){d=(a[2]||" ")+Af[t][0];break}if(d==null){e._isValid=!1;return}}if(!l&&d!=null){e._isValid=!1;return}if(a[4])if(GM.exec(a[4]))y="Z";else{e._isValid=!1;return}e._f=f+(d||"")+(y||""),Qh(e)}else e._isValid=!1}function ZM(e,t,n,i,a,l){var f=[JM(e),f0.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(a,10)];return l&&f.push(parseInt(l,10)),f}function JM(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function QM(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function eR(e,t,n){if(e){var i=y0.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(i!==a)return Ie(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function tR(e,t,n){if(e)return KM[e];if(t)return 0;var i=parseInt(n,10),a=i%100,l=(i-a)/100;return l*60+a}function _0(e){var t=XM.exec(QM(e._i)),n;if(t){if(n=ZM(t[4],t[3],t[2],t[5],t[6],t[7]),!eR(t[1],n,e))return;e._a=n,e._tzm=tR(t[8],t[9],t[10]),e._d=so.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ie(e).rfc2822=!0}else e._isValid=!1}function nR(e){var t=$M.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(w0(e),e._isValid===!1)delete e._isValid;else return;if(_0(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:de.createFromInputFallback(e)}de.createFromInputFallback=Gn("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ws(e,t,n){return e??t??n}function rR(e){var t=new Date(de.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Jh(e){var t,n,i=[],a,l,f;if(!e._d){for(a=rR(e),e._w&&e._a[Sr]==null&&e._a[Xr]==null&&iR(e),e._dayOfYear!=null&&(f=Ws(e._a[Xt],a[Xt]),(e._dayOfYear>Ja(f)||e._dayOfYear===0)&&(Ie(e)._overflowDayOfYear=!0),n=so(f,0,e._dayOfYear),e._a[Xr]=n.getUTCMonth(),e._a[Sr]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Rt]===24&&e._a[ir]===0&&e._a[Kr]===0&&e._a[us]===0&&(e._nextDay=!0,e._a[Rt]=0),e._d=(e._useUTC?so:cM).apply(null,i),l=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Rt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==l&&(Ie(e).weekdayMismatch=!0)}}function iR(e){var t,n,i,a,l,f,d,y,v;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(l=1,f=4,n=Ws(t.GG,e._a[Xt],ao(lt(),1,4).year),i=Ws(t.W,1),a=Ws(t.E,1),(a<1||a>7)&&(y=!0)):(l=e._locale._week.dow,f=e._locale._week.doy,v=ao(lt(),l,f),n=Ws(t.gg,e._a[Xt],v.year),i=Ws(t.w,v.week),t.d!=null?(a=t.d,(a<0||a>6)&&(y=!0)):t.e!=null?(a=t.e+l,(t.e<0||t.e>6)&&(y=!0)):a=l),i<1||i>ti(n,l,f)?Ie(e)._overflowWeeks=!0:y!=null?Ie(e)._overflowWeekday=!0:(d=g0(n,i,a,l,f),e._a[Xt]=d.year,e._dayOfYear=d.dayOfYear)}de.ISO_8601=function(){};de.RFC_2822=function(){};function Qh(e){if(e._f===de.ISO_8601){w0(e);return}if(e._f===de.RFC_2822){_0(e);return}e._a=[],Ie(e).empty=!0;var t=""+e._i,n,i,a,l,f,d=t.length,y=0,v,_;for(a=i0(e._f,e._locale).match(Vh)||[],_=a.length,n=0;n<_;n++)l=a[n],i=(t.match(zO(l,e))||[])[0],i&&(f=t.substr(0,t.indexOf(i)),f.length>0&&Ie(e).unusedInput.push(f),t=t.slice(t.indexOf(i)+i.length),y+=i.length),zs[l]?(i?Ie(e).empty=!1:Ie(e).unusedTokens.push(l),GO(l,i,e)):e._strict&&!i&&Ie(e).unusedTokens.push(l);Ie(e).charsLeftOver=d-y,t.length>0&&Ie(e).unusedInput.push(t),e._a[Rt]<=12&&Ie(e).bigHour===!0&&e._a[Rt]>0&&(Ie(e).bigHour=void 0),Ie(e).parsedDateParts=e._a.slice(0),Ie(e).meridiem=e._meridiem,e._a[Rt]=sR(e._locale,e._a[Rt],e._meridiem),v=Ie(e).era,v!==null&&(e._a[Xt]=e._locale.erasConvertYear(v,e._a[Xt])),Jh(e),Zh(e)}function sR(e,t,n){var i;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(i=e.isPM(n),i&&t<12&&(t+=12),!i&&t===12&&(t=0)),t)}function aR(e){var t,n,i,a,l,f,d=!1,y=e._f.length;if(y===0){Ie(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<y;a++)l=0,f=!1,t=Bh({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Qh(t),Wh(t)&&(f=!0),l+=Ie(t).charsLeftOver,l+=Ie(t).unusedTokens.length*10,Ie(t).score=l,d?l<i&&(i=l,n=t):(i==null||l<i||f)&&(i=l,n=t,f&&(d=!0));Oi(e,n||t)}function oR(e){if(!e._d){var t=Yh(e._i),n=t.day===void 0?t.date:t.day;e._a=t0([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(i){return i&&parseInt(i,10)}),Jh(e)}}function lR(e){var t=new go(Zh(S0(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function S0(e){var t=e._i,n=e._f;return e._locale=e._locale||ii(e._l),t===null||n===void 0&&t===""?Pu({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),or(t)?new go(Zh(t)):(mo(t)?e._d=t:ar(n)?aR(e):n?Qh(e):uR(e),Wh(e)||(e._d=null),e))}function uR(e){var t=e._i;yn(t)?e._d=new Date(de.now()):mo(t)?e._d=new Date(t.valueOf()):typeof t=="string"?nR(e):ar(t)?(e._a=t0(t.slice(0),function(n){return parseInt(n,10)}),Jh(e)):cs(t)?oR(e):ri(t)?e._d=new Date(t):de.createFromInputFallback(e)}function E0(e,t,n,i,a){var l={};return(t===!0||t===!1)&&(i=t,t=void 0),(n===!0||n===!1)&&(i=n,n=void 0),(cs(e)&&Fh(e)||ar(e)&&e.length===0)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=i,lR(l)}function lt(e,t,n,i){return E0(e,t,n,i,!1)}var cR=Gn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Pu()}),fR=Gn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Pu()});function D0(e,t){var n,i;if(t.length===1&&ar(t[0])&&(t=t[0]),!t.length)return lt();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}function hR(){var e=[].slice.call(arguments,0);return D0("isBefore",e)}function dR(){var e=[].slice.call(arguments,0);return D0("isAfter",e)}var pR=function(){return Date.now?Date.now():+new Date},Ha=["year","quarter","month","week","day","hour","minute","second","millisecond"];function mR(e){var t,n=!1,i,a=Ha.length;for(t in e)if(Xe(e,t)&&!(_t.call(Ha,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(i=0;i<a;++i)if(e[Ha[i]]){if(n)return!1;parseFloat(e[Ha[i]])!==Ue(e[Ha[i]])&&(n=!0)}return!0}function gR(){return this._isValid}function yR(){return lr(NaN)}function Wu(e){var t=Yh(e),n=t.year||0,i=t.quarter||0,a=t.month||0,l=t.week||t.isoWeek||0,f=t.day||0,d=t.hour||0,y=t.minute||0,v=t.second||0,_=t.millisecond||0;this._isValid=mR(t),this._milliseconds=+_+v*1e3+y*6e4+d*1e3*60*60,this._days=+f+l*7,this._months=+a+i*3+n*12,this._data={},this._locale=ii(),this._bubble()}function zl(e){return e instanceof Wu}function rh(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function vR(e,t,n){var i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),l=0,f;for(f=0;f<i;f++)(n&&e[f]!==t[f]||!n&&Ue(e[f])!==Ue(t[f]))&&l++;return l+a}function T0(e,t){be(e,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+Tr(~~(n/60),2)+t+Tr(~~n%60,2)})}T0("Z",":");T0("ZZ","");ye("Z",Iu);ye("ZZ",Iu);it(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=ed(Iu,e)});var xR=/([\+\-]|\d\d)/gi;function ed(e,t){var n=(t||"").match(e),i,a,l;return n===null?null:(i=n[n.length-1]||[],a=(i+"").match(xR)||["-",0,0],l=+(a[1]*60)+Ue(a[2]),l===0?0:a[0]==="+"?l:-l)}function td(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(or(e)||mo(e)?e.valueOf():lt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),de.updateOffset(n,!1),n):lt(e).local()}function ih(e){return-Math.round(e._d.getTimezoneOffset())}de.updateOffset=function(){};function bR(e,t,n){var i=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=ed(Iu,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=ih(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?k0(this,lr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,de.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:ih(this)}function wR(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function _R(e){return this.utcOffset(0,e)}function SR(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ih(this),"m")),this}function ER(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ed(UO,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function DR(e){return this.isValid()?(e=e?lt(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function TR(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function CR(){if(!yn(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Bh(e,this),e=S0(e),e._a?(t=e._isUTC?Ar(e._a):lt(e._a),this._isDSTShifted=this.isValid()&&vR(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function AR(){return this.isValid()?!this._isUTC:!1}function kR(){return this.isValid()?this._isUTC:!1}function C0(){return this.isValid()?this._isUTC&&this._offset===0:!1}var PR=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,OR=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function lr(e,t){var n=e,i=null,a,l,f;return zl(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:ri(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(i=PR.exec(e))?(a=i[1]==="-"?-1:1,n={y:0,d:Ue(i[Sr])*a,h:Ue(i[Rt])*a,m:Ue(i[ir])*a,s:Ue(i[Kr])*a,ms:Ue(rh(i[us]*1e3))*a}):(i=OR.exec(e))?(a=i[1]==="-"?-1:1,n={y:is(i[2],a),M:is(i[3],a),w:is(i[4],a),d:is(i[5],a),h:is(i[6],a),m:is(i[7],a),s:is(i[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(f=MR(lt(n.from),lt(n.to)),n={},n.ms=f.milliseconds,n.M=f.months),l=new Wu(n),zl(e)&&Xe(e,"_locale")&&(l._locale=e._locale),zl(e)&&Xe(e,"_isValid")&&(l._isValid=e._isValid),l}lr.fn=Wu.prototype;lr.invalid=yR;function is(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Lg(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function MR(e,t){var n;return e.isValid()&&t.isValid()?(t=td(t,e),e.isBefore(t)?n=Lg(e,t):(n=Lg(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function A0(e,t){return function(n,i){var a,l;return i!==null&&!isNaN(+i)&&(r0(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),l=n,n=i,i=l),a=lr(n,i),k0(this,a,e),this}}function k0(e,t,n,i){var a=t._milliseconds,l=rh(t._days),f=rh(t._months);e.isValid()&&(i=i??!0,f&&d0(e,io(e,"Month")+f*n),l&&c0(e,"Date",io(e,"Date")+l*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&de.updateOffset(e,l||f))}var RR=A0(1,"add"),LR=A0(-1,"subtract");function P0(e){return typeof e=="string"||e instanceof String}function IR(e){return or(e)||mo(e)||P0(e)||ri(e)||FR(e)||NR(e)||e===null||e===void 0}function NR(e){var t=cs(e)&&!Fh(e),n=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,l,f=i.length;for(a=0;a<f;a+=1)l=i[a],n=n||Xe(e,l);return t&&n}function FR(e){var t=ar(e),n=!1;return t&&(n=e.filter(function(i){return!ri(i)&&P0(e)}).length===0),t&&n}function WR(e){var t=cs(e)&&!Fh(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,l;for(a=0;a<i.length;a+=1)l=i[a],n=n||Xe(e,l);return t&&n}function BR(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function jR(e,t){arguments.length===1&&(arguments[0]?IR(arguments[0])?(e=arguments[0],t=void 0):WR(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||lt(),i=td(n,this).startOf("day"),a=de.calendarFormat(this,i)||"sameElse",l=t&&(kr(t[a])?t[a].call(this,n):t[a]);return this.format(l||this.localeData().calendar(a,this,lt(n)))}function VR(){return new go(this)}function YR(e,t){var n=or(e)?e:lt(e);return this.isValid()&&n.isValid()?(t=$n(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function UR(e,t){var n=or(e)?e:lt(e);return this.isValid()&&n.isValid()?(t=$n(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function HR(e,t,n,i){var a=or(e)?e:lt(e),l=or(t)?t:lt(t);return this.isValid()&&a.isValid()&&l.isValid()?(i=i||"()",(i[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(i[1]===")"?this.isBefore(l,n):!this.isAfter(l,n))):!1}function zR(e,t){var n=or(e)?e:lt(e),i;return this.isValid()&&n.isValid()?(t=$n(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf())):!1}function qR(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function GR(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function $R(e,t,n){var i,a,l;if(!this.isValid())return NaN;if(i=td(e,this),!i.isValid())return NaN;switch(a=(i.utcOffset()-this.utcOffset())*6e4,t=$n(t),t){case"year":l=ql(this,i)/12;break;case"month":l=ql(this,i);break;case"quarter":l=ql(this,i)/3;break;case"second":l=(this-i)/1e3;break;case"minute":l=(this-i)/6e4;break;case"hour":l=(this-i)/36e5;break;case"day":l=(this-i-a)/864e5;break;case"week":l=(this-i-a)/6048e5;break;default:l=this-i}return n?l:zn(l)}function ql(e,t){if(e.date()<t.date())return-ql(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months"),a,l;return t-i<0?(a=e.clone().add(n-1,"months"),l=(t-i)/(i-a)):(a=e.clone().add(n+1,"months"),l=(t-i)/(a-i)),-(n+l)||0}de.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";de.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function XR(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function KR(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Hl(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):kr(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Hl(n,"Z")):Hl(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ZR(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,i,a,l;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",l=t+'[")]',this.format(n+i+a+l)}function JR(e){e||(e=this.isUtc()?de.defaultFormatUtc:de.defaultFormat);var t=Hl(this,e);return this.localeData().postformat(t)}function QR(e,t){return this.isValid()&&(or(e)&&e.isValid()||lt(e).isValid())?lr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function eL(e){return this.from(lt(),e)}function tL(e,t){return this.isValid()&&(or(e)&&e.isValid()||lt(e).isValid())?lr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function nL(e){return this.to(lt(),e)}function O0(e){var t;return e===void 0?this._locale._abbr:(t=ii(e),t!=null&&(this._locale=t),this)}var M0=Gn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function R0(){return this._locale}var fu=1e3,qs=60*fu,hu=60*qs,L0=(365*400+97)*24*hu;function Gs(e,t){return(e%t+t)%t}function I0(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-L0:new Date(e,t,n).valueOf()}function N0(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-L0:Date.UTC(e,t,n)}function rL(e){var t,n;if(e=$n(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?N0:I0,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gs(t+(this._isUTC?0:this.utcOffset()*qs),hu);break;case"minute":t=this._d.valueOf(),t-=Gs(t,qs);break;case"second":t=this._d.valueOf(),t-=Gs(t,fu);break}return this._d.setTime(t),de.updateOffset(this,!0),this}function iL(e){var t,n;if(e=$n(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?N0:I0,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hu-Gs(t+(this._isUTC?0:this.utcOffset()*qs),hu)-1;break;case"minute":t=this._d.valueOf(),t+=qs-Gs(t,qs)-1;break;case"second":t=this._d.valueOf(),t+=fu-Gs(t,fu)-1;break}return this._d.setTime(t),de.updateOffset(this,!0),this}function sL(){return this._d.valueOf()-(this._offset||0)*6e4}function aL(){return Math.floor(this.valueOf()/1e3)}function oL(){return new Date(this.valueOf())}function lL(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function uL(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function cL(){return this.isValid()?this.toISOString():null}function fL(){return Wh(this)}function hL(){return Oi({},Ie(this))}function dL(){return Ie(this).overflow}function pL(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}be("N",0,0,"eraAbbr");be("NN",0,0,"eraAbbr");be("NNN",0,0,"eraAbbr");be("NNNN",0,0,"eraName");be("NNNNN",0,0,"eraNarrow");be("y",["y",1],"yo","eraYear");be("y",["yy",2],0,"eraYear");be("y",["yyy",3],0,"eraYear");be("y",["yyyy",4],0,"eraYear");ye("N",nd);ye("NN",nd);ye("NNN",nd);ye("NNNN",DL);ye("NNNNN",TL);it(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?Ie(n).era=a:Ie(n).invalidEra=e});ye("y",Qs);ye("yy",Qs);ye("yyy",Qs);ye("yyyy",Qs);ye("yo",CL);it(["y","yy","yyy","yyyy"],Xt);it(["yo"],function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Xt]=n._locale.eraYearOrdinalParse(e,a):t[Xt]=parseInt(e,10)});function mL(e,t){var n,i,a,l=this._eras||ii("en")._eras;for(n=0,i=l.length;n<i;++n){switch(typeof l[n].since){case"string":a=de(l[n].since).startOf("day"),l[n].since=a.valueOf();break}switch(typeof l[n].until){case"undefined":l[n].until=1/0;break;case"string":a=de(l[n].until).startOf("day").valueOf(),l[n].until=a.valueOf();break}}return l}function gL(e,t,n){var i,a,l=this.eras(),f,d,y;for(e=e.toUpperCase(),i=0,a=l.length;i<a;++i)if(f=l[i].name.toUpperCase(),d=l[i].abbr.toUpperCase(),y=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(d===e)return l[i];break;case"NNNN":if(f===e)return l[i];break;case"NNNNN":if(y===e)return l[i];break}else if([f,d,y].indexOf(e)>=0)return l[i]}function yL(e,t){var n=e.since<=e.until?1:-1;return t===void 0?de(e.since).year():de(e.since).year()+(t-e.offset)*n}function vL(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].name;return""}function xL(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].narrow;return""}function bL(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].abbr;return""}function wL(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-de(a[e].since).year())*n+a[e].offset;return this.year()}function _L(e){return Xe(this,"_erasNameRegex")||rd.call(this),e?this._erasNameRegex:this._erasRegex}function SL(e){return Xe(this,"_erasAbbrRegex")||rd.call(this),e?this._erasAbbrRegex:this._erasRegex}function EL(e){return Xe(this,"_erasNarrowRegex")||rd.call(this),e?this._erasNarrowRegex:this._erasRegex}function nd(e,t){return t.erasAbbrRegex(e)}function DL(e,t){return t.erasNameRegex(e)}function TL(e,t){return t.erasNarrowRegex(e)}function CL(e,t){return t._eraYearOrdinalRegex||Qs}function rd(){var e=[],t=[],n=[],i=[],a,l,f,d,y,v=this.eras();for(a=0,l=v.length;a<l;++a)f=ei(v[a].name),d=ei(v[a].abbr),y=ei(v[a].narrow),t.push(f),e.push(d),n.push(y),i.push(f),i.push(d),i.push(y);this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}be(0,["gg",2],0,function(){return this.weekYear()%100});be(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Bu(e,t){be(0,[e,e.length],0,t)}Bu("gggg","weekYear");Bu("ggggg","weekYear");Bu("GGGG","isoWeekYear");Bu("GGGGG","isoWeekYear");ye("G",Lu);ye("g",Lu);ye("GG",ut,On);ye("gg",ut,On);ye("GGGG",Hh,Uh);ye("gggg",Hh,Uh);ye("GGGGG",Ru,Ou);ye("ggggg",Ru,Ou);vo(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=Ue(e)});vo(["gg","GG"],function(e,t,n,i){t[i]=de.parseTwoDigitYear(e)});function AL(e){return F0.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function kL(e){return F0.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function PL(){return ti(this.year(),1,4)}function OL(){return ti(this.isoWeekYear(),1,4)}function ML(){var e=this.localeData()._week;return ti(this.year(),e.dow,e.doy)}function RL(){var e=this.localeData()._week;return ti(this.weekYear(),e.dow,e.doy)}function F0(e,t,n,i,a){var l;return e==null?ao(this,i,a).year:(l=ti(e,i,a),t>l&&(t=l),LL.call(this,e,t,n,i,a))}function LL(e,t,n,i,a){var l=g0(e,t,n,i,a),f=so(l.year,0,l.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}be("Q",0,"Qo","quarter");ye("Q",s0);it("Q",function(e,t){t[Xr]=(Ue(e)-1)*3});function IL(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}be("D",["DD",2],"Do","date");ye("D",ut,ea);ye("DD",ut,On);ye("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});it(["D","DD"],Sr);it("Do",function(e,t){t[Sr]=Ue(e.match(ut)[0])});var W0=ta("Date",!0);be("DDD",["DDDD",3],"DDDo","dayOfYear");ye("DDD",Mu);ye("DDDD",a0);it(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ue(e)});function NL(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}be("m",["mm",2],0,"minute");ye("m",ut,zh);ye("mm",ut,On);it(["m","mm"],ir);var FL=ta("Minutes",!1);be("s",["ss",2],0,"second");ye("s",ut,zh);ye("ss",ut,On);it(["s","ss"],Kr);var WL=ta("Seconds",!1);be("S",0,0,function(){return~~(this.millisecond()/100)});be(0,["SS",2],0,function(){return~~(this.millisecond()/10)});be(0,["SSS",3],0,"millisecond");be(0,["SSSS",4],0,function(){return this.millisecond()*10});be(0,["SSSSS",5],0,function(){return this.millisecond()*100});be(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});be(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});be(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});be(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ye("S",Mu,s0);ye("SS",Mu,On);ye("SSS",Mu,a0);var Mi,B0;for(Mi="SSSS";Mi.length<=9;Mi+="S")ye(Mi,Qs);function BL(e,t){t[us]=Ue(("0."+e)*1e3)}for(Mi="S";Mi.length<=9;Mi+="S")it(Mi,BL);B0=ta("Milliseconds",!1);be("z",0,0,"zoneAbbr");be("zz",0,0,"zoneName");function jL(){return this._isUTC?"UTC":""}function VL(){return this._isUTC?"Coordinated Universal Time":""}var ue=go.prototype;ue.add=RR;ue.calendar=jR;ue.clone=VR;ue.diff=$R;ue.endOf=iL;ue.format=JR;ue.from=QR;ue.fromNow=eL;ue.to=tL;ue.toNow=nL;ue.get=ZO;ue.invalidAt=dL;ue.isAfter=YR;ue.isBefore=UR;ue.isBetween=HR;ue.isSame=zR;ue.isSameOrAfter=qR;ue.isSameOrBefore=GR;ue.isValid=fL;ue.lang=M0;ue.locale=O0;ue.localeData=R0;ue.max=fR;ue.min=cR;ue.parsingFlags=hL;ue.set=JO;ue.startOf=rL;ue.subtract=LR;ue.toArray=lL;ue.toObject=uL;ue.toDate=oL;ue.toISOString=KR;ue.inspect=ZR;typeof Symbol<"u"&&Symbol.for!=null&&(ue[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ue.toJSON=cL;ue.toString=XR;ue.unix=aL;ue.valueOf=sL;ue.creationData=pL;ue.eraName=vL;ue.eraNarrow=xL;ue.eraAbbr=bL;ue.eraYear=wL;ue.year=u0;ue.isLeapYear=KO;ue.weekYear=AL;ue.isoWeekYear=kL;ue.quarter=ue.quarters=IL;ue.month=p0;ue.daysInMonth=oM;ue.week=ue.weeks=mM;ue.isoWeek=ue.isoWeeks=gM;ue.weeksInYear=ML;ue.weeksInWeekYear=RL;ue.isoWeeksInYear=PL;ue.isoWeeksInISOWeekYear=OL;ue.date=W0;ue.day=ue.days=kM;ue.weekday=PM;ue.isoWeekday=OM;ue.dayOfYear=NL;ue.hour=ue.hours=WM;ue.minute=ue.minutes=FL;ue.second=ue.seconds=WL;ue.millisecond=ue.milliseconds=B0;ue.utcOffset=bR;ue.utc=_R;ue.local=SR;ue.parseZone=ER;ue.hasAlignedHourOffset=DR;ue.isDST=TR;ue.isLocal=AR;ue.isUtcOffset=kR;ue.isUtc=C0;ue.isUTC=C0;ue.zoneAbbr=jL;ue.zoneName=VL;ue.dates=Gn("dates accessor is deprecated. Use date instead.",W0);ue.months=Gn("months accessor is deprecated. Use month instead",p0);ue.years=Gn("years accessor is deprecated. Use year instead",u0);ue.zone=Gn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",wR);ue.isDSTShifted=Gn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",CR);function YL(e){return lt(e*1e3)}function UL(){return lt.apply(null,arguments).parseZone()}function j0(e){return e}var Ke=jh.prototype;Ke.calendar=AO;Ke.longDateFormat=MO;Ke.invalidDate=LO;Ke.ordinal=FO;Ke.preparse=j0;Ke.postformat=j0;Ke.relativeTime=BO;Ke.pastFuture=jO;Ke.set=TO;Ke.eras=mL;Ke.erasParse=gL;Ke.erasConvertYear=yL;Ke.erasAbbrRegex=SL;Ke.erasNameRegex=_L;Ke.erasNarrowRegex=EL;Ke.months=rM;Ke.monthsShort=iM;Ke.monthsParse=aM;Ke.monthsRegex=uM;Ke.monthsShortRegex=lM;Ke.week=fM;Ke.firstDayOfYear=pM;Ke.firstDayOfWeek=dM;Ke.weekdays=EM;Ke.weekdaysMin=TM;Ke.weekdaysShort=DM;Ke.weekdaysParse=AM;Ke.weekdaysRegex=MM;Ke.weekdaysShortRegex=RM;Ke.weekdaysMinRegex=LM;Ke.isPM=NM;Ke.meridiem=BM;function du(e,t,n,i){var a=ii(),l=Ar().set(i,t);return a[n](l,e)}function V0(e,t,n){if(ri(e)&&(t=e,e=void 0),e=e||"",t!=null)return du(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=du(e,i,n,"month");return a}function id(e,t,n,i){typeof e=="boolean"?(ri(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,ri(t)&&(n=t,t=void 0),t=t||"");var a=ii(),l=e?a._week.dow:0,f,d=[];if(n!=null)return du(t,(n+l)%7,i,"day");for(f=0;f<7;f++)d[f]=du(t,(f+l)%7,i,"day");return d}function HL(e,t){return V0(e,t,"months")}function zL(e,t){return V0(e,t,"monthsShort")}function qL(e,t,n){return id(e,t,n,"weekdays")}function GL(e,t,n){return id(e,t,n,"weekdaysShort")}function $L(e,t,n){return id(e,t,n,"weekdaysMin")}Ii("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Ue(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});de.lang=Gn("moment.lang is deprecated. Use moment.locale instead.",Ii);de.langData=Gn("moment.langData is deprecated. Use moment.localeData instead.",ii);var qr=Math.abs;function XL(){var e=this._data;return this._milliseconds=qr(this._milliseconds),this._days=qr(this._days),this._months=qr(this._months),e.milliseconds=qr(e.milliseconds),e.seconds=qr(e.seconds),e.minutes=qr(e.minutes),e.hours=qr(e.hours),e.months=qr(e.months),e.years=qr(e.years),this}function Y0(e,t,n,i){var a=lr(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function KL(e,t){return Y0(this,e,t,1)}function ZL(e,t){return Y0(this,e,t,-1)}function Ig(e){return e<0?Math.floor(e):Math.ceil(e)}function JL(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data,a,l,f,d,y;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Ig(sh(n)+t)*864e5,t=0,n=0),i.milliseconds=e%1e3,a=zn(e/1e3),i.seconds=a%60,l=zn(a/60),i.minutes=l%60,f=zn(l/60),i.hours=f%24,t+=zn(f/24),y=zn(U0(t)),n+=y,t-=Ig(sh(y)),d=zn(n/12),n%=12,i.days=t,i.months=n,i.years=d,this}function U0(e){return e*4800/146097}function sh(e){return e*146097/4800}function QL(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=$n(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+i/864e5,n=this._months+U0(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(sh(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}function si(e){return function(){return this.as(e)}}var H0=si("ms"),eI=si("s"),tI=si("m"),nI=si("h"),rI=si("d"),iI=si("w"),sI=si("M"),aI=si("Q"),oI=si("y"),lI=H0;function uI(){return lr(this)}function cI(e){return e=$n(e),this.isValid()?this[e+"s"]():NaN}function ds(e){return function(){return this.isValid()?this._data[e]:NaN}}var fI=ds("milliseconds"),hI=ds("seconds"),dI=ds("minutes"),pI=ds("hours"),mI=ds("days"),gI=ds("months"),yI=ds("years");function vI(){return zn(this.days()/7)}var Gr=Math.round,Hs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function xI(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}function bI(e,t,n,i){var a=lr(e).abs(),l=Gr(a.as("s")),f=Gr(a.as("m")),d=Gr(a.as("h")),y=Gr(a.as("d")),v=Gr(a.as("M")),_=Gr(a.as("w")),x=Gr(a.as("y")),A=l<=n.ss&&["s",l]||l<n.s&&["ss",l]||f<=1&&["m"]||f<n.m&&["mm",f]||d<=1&&["h"]||d<n.h&&["hh",d]||y<=1&&["d"]||y<n.d&&["dd",y];return n.w!=null&&(A=A||_<=1&&["w"]||_<n.w&&["ww",_]),A=A||v<=1&&["M"]||v<n.M&&["MM",v]||x<=1&&["y"]||["yy",x],A[2]=t,A[3]=+e>0,A[4]=i,xI.apply(null,A)}function wI(e){return e===void 0?Gr:typeof e=="function"?(Gr=e,!0):!1}function _I(e,t){return Hs[e]===void 0?!1:t===void 0?Hs[e]:(Hs[e]=t,e==="s"&&(Hs.ss=t-1),!0)}function SI(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Hs,a,l;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(i=Object.assign({},Hs,t),t.s!=null&&t.ss==null&&(i.ss=t.s-1)),a=this.localeData(),l=bI(this,!n,i,a),n&&(l=a.pastFuture(+this,l)),a.postformat(l)}var kf=Math.abs;function Is(e){return(e>0)-(e<0)||+e}function ju(){if(!this.isValid())return this.localeData().invalidDate();var e=kf(this._milliseconds)/1e3,t=kf(this._days),n=kf(this._months),i,a,l,f,d=this.asSeconds(),y,v,_,x;return d?(i=zn(e/60),a=zn(i/60),e%=60,i%=60,l=zn(n/12),n%=12,f=e?e.toFixed(3).replace(/\.?0+$/,""):"",y=d<0?"-":"",v=Is(this._months)!==Is(d)?"-":"",_=Is(this._days)!==Is(d)?"-":"",x=Is(this._milliseconds)!==Is(d)?"-":"",y+"P"+(l?v+l+"Y":"")+(n?v+n+"M":"")+(t?_+t+"D":"")+(a||i||e?"T":"")+(a?x+a+"H":"")+(i?x+i+"M":"")+(e?x+f+"S":"")):"P0D"}var qe=Wu.prototype;qe.isValid=gR;qe.abs=XL;qe.add=KL;qe.subtract=ZL;qe.as=QL;qe.asMilliseconds=H0;qe.asSeconds=eI;qe.asMinutes=tI;qe.asHours=nI;qe.asDays=rI;qe.asWeeks=iI;qe.asMonths=sI;qe.asQuarters=aI;qe.asYears=oI;qe.valueOf=lI;qe._bubble=JL;qe.clone=uI;qe.get=cI;qe.milliseconds=fI;qe.seconds=hI;qe.minutes=dI;qe.hours=pI;qe.days=mI;qe.weeks=vI;qe.months=gI;qe.years=yI;qe.humanize=SI;qe.toISOString=ju;qe.toString=ju;qe.toJSON=ju;qe.locale=O0;qe.localeData=R0;qe.toIsoString=Gn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ju);qe.lang=M0;be("X",0,0,"unix");be("x",0,0,"valueOf");ye("x",Lu);ye("X",HO);it("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});it("x",function(e,t,n){n._d=new Date(Ue(e))});//! moment.js
|
|
73
|
-
de.version="2.30.1";EO(lt);de.fn=ue;de.min=hR;de.max=dR;de.now=pR;de.utc=Ar;de.unix=YL;de.months=HL;de.isDate=mo;de.locale=Ii;de.invalid=Pu;de.duration=lr;de.isMoment=or;de.weekdays=qL;de.parseZone=UL;de.localeData=ii;de.isDuration=zl;de.monthsShort=zL;de.weekdaysMin=$L;de.defineLocale=Kh;de.updateLocale=UM;de.locales=HM;de.weekdaysShort=GL;de.normalizeUnits=$n;de.relativeTimeRounding=wI;de.relativeTimeThreshold=_I;de.calendarFormat=BR;de.prototype=ue;de.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const EI=Object.freeze(Object.defineProperty({__proto__:null,default:de},Symbol.toStringTag,{value:"Module"}));var Pf={exports:{}};/*!
|
|
74
|
-
* jQuery JavaScript Library v3.7.1
|
|
75
|
-
* https://jquery.com/
|
|
76
|
-
*
|
|
77
|
-
* Copyright OpenJS Foundation and other contributors
|
|
78
|
-
* Released under the MIT license
|
|
79
|
-
* https://jquery.org/license
|
|
80
|
-
*
|
|
81
|
-
* Date: 2023-08-28T13:37Z
|
|
82
|
-
*/var Ng;function z0(){return Ng||(Ng=1,function(e){(function(t,n){e.exports=t.document?n(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return n(i)}})(typeof window<"u"?window:V.commonjsGlobal,function(t,n){var i=[],a=Object.getPrototypeOf,l=i.slice,f=i.flat?function(o){return i.flat.call(o)}:function(o){return i.concat.apply([],o)},d=i.push,y=i.indexOf,v={},_=v.toString,x=v.hasOwnProperty,A=x.toString,P=A.call(Object),M={},R=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},H=function(c){return c!=null&&c===c.window},F=t.document,Z={type:!0,src:!0,nonce:!0,noModule:!0};function G(o,c,h){h=h||F;var g,b,w=h.createElement("script");if(w.text=o,c)for(g in Z)b=c[g]||c.getAttribute&&c.getAttribute(g),b&&w.setAttribute(g,b);h.head.appendChild(w).parentNode.removeChild(w)}function oe(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?v[_.call(o)]||"object":typeof o}var re="3.7.1",se=/HTML$/i,p=function(o,c){return new p.fn.init(o,c)};p.fn=p.prototype={jquery:re,constructor:p,length:0,toArray:function(){return l.call(this)},get:function(o){return o==null?l.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var c=p.merge(this.constructor(),o);return c.prevObject=this,c},each:function(o){return p.each(this,o)},map:function(o){return this.pushStack(p.map(this,function(c,h){return o.call(c,h,c)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(p.grep(this,function(o,c){return(c+1)%2}))},odd:function(){return this.pushStack(p.grep(this,function(o,c){return c%2}))},eq:function(o){var c=this.length,h=+o+(o<0?c:0);return this.pushStack(h>=0&&h<c?[this[h]]:[])},end:function(){return this.prevObject||this.constructor()},push:d,sort:i.sort,splice:i.splice},p.extend=p.fn.extend=function(){var o,c,h,g,b,w,E=arguments[0]||{},I=1,O=arguments.length,Y=!1;for(typeof E=="boolean"&&(Y=E,E=arguments[I]||{},I++),typeof E!="object"&&!R(E)&&(E={}),I===O&&(E=this,I--);I<O;I++)if((o=arguments[I])!=null)for(c in o)g=o[c],!(c==="__proto__"||E===g)&&(Y&&g&&(p.isPlainObject(g)||(b=Array.isArray(g)))?(h=E[c],b&&!Array.isArray(h)?w=[]:!b&&!p.isPlainObject(h)?w={}:w=h,b=!1,E[c]=p.extend(Y,w,g)):g!==void 0&&(E[c]=g));return E},p.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var c,h;return!o||_.call(o)!=="[object Object]"?!1:(c=a(o),c?(h=x.call(c,"constructor")&&c.constructor,typeof h=="function"&&A.call(h)===P):!0)},isEmptyObject:function(o){var c;for(c in o)return!1;return!0},globalEval:function(o,c,h){G(o,{nonce:c&&c.nonce},h)},each:function(o,c){var h,g=0;if(ce(o))for(h=o.length;g<h&&c.call(o[g],g,o[g])!==!1;g++);else for(g in o)if(c.call(o[g],g,o[g])===!1)break;return o},text:function(o){var c,h="",g=0,b=o.nodeType;if(!b)for(;c=o[g++];)h+=p.text(c);return b===1||b===11?o.textContent:b===9?o.documentElement.textContent:b===3||b===4?o.nodeValue:h},makeArray:function(o,c){var h=c||[];return o!=null&&(ce(Object(o))?p.merge(h,typeof o=="string"?[o]:o):d.call(h,o)),h},inArray:function(o,c,h){return c==null?-1:y.call(c,o,h)},isXMLDoc:function(o){var c=o&&o.namespaceURI,h=o&&(o.ownerDocument||o).documentElement;return!se.test(c||h&&h.nodeName||"HTML")},merge:function(o,c){for(var h=+c.length,g=0,b=o.length;g<h;g++)o[b++]=c[g];return o.length=b,o},grep:function(o,c,h){for(var g,b=[],w=0,E=o.length,I=!h;w<E;w++)g=!c(o[w],w),g!==I&&b.push(o[w]);return b},map:function(o,c,h){var g,b,w=0,E=[];if(ce(o))for(g=o.length;w<g;w++)b=c(o[w],w,h),b!=null&&E.push(b);else for(w in o)b=c(o[w],w,h),b!=null&&E.push(b);return f(E)},guid:1,support:M}),typeof Symbol=="function"&&(p.fn[Symbol.iterator]=i[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,c){v["[object "+c+"]"]=c.toLowerCase()});function ce(o){var c=!!o&&"length"in o&&o.length,h=oe(o);return R(o)||H(o)?!1:h==="array"||c===0||typeof c=="number"&&c>0&&c-1 in o}function ae(o,c){return o.nodeName&&o.nodeName.toLowerCase()===c.toLowerCase()}var et=i.pop,gt=i.sort,Ze=i.splice,_e="[\\x20\\t\\r\\n\\f]",tt=new RegExp("^"+_e+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_e+"+$","g");p.contains=function(o,c){var h=c&&c.parentNode;return o===h||!!(h&&h.nodeType===1&&(o.contains?o.contains(h):o.compareDocumentPosition&&o.compareDocumentPosition(h)&16))};var Vt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function at(o,c){return c?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}p.escapeSelector=function(o){return(o+"").replace(Vt,at)};var Ge=F,Me=d;(function(){var o,c,h,g,b,w=Me,E,I,O,Y,X,K=p.expando,q=0,le=0,pe=$i(),ke=$i(),Ae=$i(),kt=$i(),dt=function(k,j){return k===j&&(b=!0),0},In="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Nn="(?:\\\\[\\da-fA-F]{1,6}"+_e+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Be="\\["+_e+"*("+Nn+")(?:"+_e+"*([*^$|!~]?=)"+_e+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Nn+"))|)"+_e+"*\\]",pr=":("+Nn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Be+")*)|.*)\\)|)",je=new RegExp(_e+"+","g"),nt=new RegExp("^"+_e+"*,"+_e+"*"),zi=new RegExp("^"+_e+"*([>+~]|"+_e+")"+_e+"*"),Es=new RegExp(_e+"|>"),_n=new RegExp(pr),Ir=new RegExp("^"+Nn+"$"),cn={ID:new RegExp("^#("+Nn+")"),CLASS:new RegExp("^\\.("+Nn+")"),TAG:new RegExp("^("+Nn+"|[*])"),ATTR:new RegExp("^"+Be),PSEUDO:new RegExp("^"+pr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_e+"*(even|odd|(([+-]|)(\\d*)n|)"+_e+"*(?:([+-]|)"+_e+"*(\\d+)|))"+_e+"*\\)|)","i"),bool:new RegExp("^(?:"+In+")$","i"),needsContext:new RegExp("^"+_e+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_e+"*((?:-\\d)?\\d*)"+_e+"*\\)|)(?=[^-]|$)","i")},Jn=/^(?:input|select|textarea|button)$/i,mr=/^h\d$/i,zt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,qi=/[+~]/,Qn=new RegExp("\\\\[\\da-fA-F]{1,6}"+_e+"?|\\\\([^\\r\\n\\f])","g"),Fn=function(k,j){var z="0x"+k.slice(1)-65536;return j||(z<0?String.fromCharCode(z+65536):String.fromCharCode(z>>10|55296,z&1023|56320))},Kt=function(){gr()},wa=Nr(function(k){return k.disabled===!0&&ae(k,"fieldset")},{dir:"parentNode",next:"legend"});function Gi(){try{return E.activeElement}catch{}}try{w.apply(i=l.call(Ge.childNodes),Ge.childNodes),i[Ge.childNodes.length].nodeType}catch{w={apply:function(j,z){Me.apply(j,l.call(z))},call:function(j){Me.apply(j,l.call(arguments,1))}}}function $e(k,j,z,$){var C,W,N,J,Q,me,ge,he=j&&j.ownerDocument,Re=j?j.nodeType:9;if(z=z||[],typeof k!="string"||!k||Re!==1&&Re!==9&&Re!==11)return z;if(!$&&(gr(j),j=j||E,O)){if(Re!==11&&(Q=zt.exec(k)))if(C=Q[1]){if(Re===9)if(N=j.getElementById(C)){if(N.id===C)return w.call(z,N),z}else return z;else if(he&&(N=he.getElementById(C))&&$e.contains(j,N)&&N.id===C)return w.call(z,N),z}else{if(Q[2])return w.apply(z,j.getElementsByTagName(k)),z;if((C=Q[3])&&j.getElementsByClassName)return w.apply(z,j.getElementsByClassName(C)),z}if(!kt[k+" "]&&(!Y||!Y.test(k))){if(ge=k,he=j,Re===1&&(Es.test(k)||zi.test(k))){for(he=qi.test(k)&&_a(j.parentNode)||j,(he!=j||!M.scope)&&((J=j.getAttribute("id"))?J=p.escapeSelector(J):j.setAttribute("id",J=K)),me=yi(k),W=me.length;W--;)me[W]=(J?"#"+J:":scope")+" "+En(me[W]);ge=me.join(",")}try{return w.apply(z,he.querySelectorAll(ge)),z}catch{kt(k,!0)}finally{J===K&&j.removeAttribute("id")}}}return Xo(k.replace(tt,"$1"),j,z,$)}function $i(){var k=[];function j(z,$){return k.push(z+" ")>c.cacheLength&&delete j[k.shift()],j[z+" "]=$}return j}function Sn(k){return k[K]=!0,k}function gi(k){var j=E.createElement("fieldset");try{return!!k(j)}catch{return!1}finally{j.parentNode&&j.parentNode.removeChild(j),j=null}}function lc(k){return function(j){return ae(j,"input")&&j.type===k}}function uc(k){return function(j){return(ae(j,"input")||ae(j,"button"))&&j.type===k}}function Go(k){return function(j){return"form"in j?j.parentNode&&j.disabled===!1?"label"in j?"label"in j.parentNode?j.parentNode.disabled===k:j.disabled===k:j.isDisabled===k||j.isDisabled!==!k&&wa(j)===k:j.disabled===k:"label"in j?j.disabled===k:!1}}function fn(k){return Sn(function(j){return j=+j,Sn(function(z,$){for(var C,W=k([],z.length,j),N=W.length;N--;)z[C=W[N]]&&(z[C]=!($[C]=z[C]))})})}function _a(k){return k&&typeof k.getElementsByTagName<"u"&&k}function gr(k){var j,z=k?k.ownerDocument||k:Ge;return z==E||z.nodeType!==9||!z.documentElement||(E=z,I=E.documentElement,O=!p.isXMLDoc(E),X=I.matches||I.webkitMatchesSelector||I.msMatchesSelector,I.msMatchesSelector&&Ge!=E&&(j=E.defaultView)&&j.top!==j&&j.addEventListener("unload",Kt),M.getById=gi(function($){return I.appendChild($).id=p.expando,!E.getElementsByName||!E.getElementsByName(p.expando).length}),M.disconnectedMatch=gi(function($){return X.call($,"*")}),M.scope=gi(function(){return E.querySelectorAll(":scope")}),M.cssHas=gi(function(){try{return E.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),M.getById?(c.filter.ID=function($){var C=$.replace(Qn,Fn);return function(W){return W.getAttribute("id")===C}},c.find.ID=function($,C){if(typeof C.getElementById<"u"&&O){var W=C.getElementById($);return W?[W]:[]}}):(c.filter.ID=function($){var C=$.replace(Qn,Fn);return function(W){var N=typeof W.getAttributeNode<"u"&&W.getAttributeNode("id");return N&&N.value===C}},c.find.ID=function($,C){if(typeof C.getElementById<"u"&&O){var W,N,J,Q=C.getElementById($);if(Q){if(W=Q.getAttributeNode("id"),W&&W.value===$)return[Q];for(J=C.getElementsByName($),N=0;Q=J[N++];)if(W=Q.getAttributeNode("id"),W&&W.value===$)return[Q]}return[]}}),c.find.TAG=function($,C){return typeof C.getElementsByTagName<"u"?C.getElementsByTagName($):C.querySelectorAll($)},c.find.CLASS=function($,C){if(typeof C.getElementsByClassName<"u"&&O)return C.getElementsByClassName($)},Y=[],gi(function($){var C;I.appendChild($).innerHTML="<a id='"+K+"' href='' disabled='disabled'></a><select id='"+K+"-\r\\' disabled='disabled'><option selected=''></option></select>",$.querySelectorAll("[selected]").length||Y.push("\\["+_e+"*(?:value|"+In+")"),$.querySelectorAll("[id~="+K+"-]").length||Y.push("~="),$.querySelectorAll("a#"+K+"+*").length||Y.push(".#.+[+~]"),$.querySelectorAll(":checked").length||Y.push(":checked"),C=E.createElement("input"),C.setAttribute("type","hidden"),$.appendChild(C).setAttribute("name","D"),I.appendChild($).disabled=!0,$.querySelectorAll(":disabled").length!==2&&Y.push(":enabled",":disabled"),C=E.createElement("input"),C.setAttribute("name",""),$.appendChild(C),$.querySelectorAll("[name='']").length||Y.push("\\["+_e+"*name"+_e+"*="+_e+`*(?:''|"")`)}),M.cssHas||Y.push(":has"),Y=Y.length&&new RegExp(Y.join("|")),dt=function($,C){if($===C)return b=!0,0;var W=!$.compareDocumentPosition-!C.compareDocumentPosition;return W||(W=($.ownerDocument||$)==(C.ownerDocument||C)?$.compareDocumentPosition(C):1,W&1||!M.sortDetached&&C.compareDocumentPosition($)===W?$===E||$.ownerDocument==Ge&&$e.contains(Ge,$)?-1:C===E||C.ownerDocument==Ge&&$e.contains(Ge,C)?1:g?y.call(g,$)-y.call(g,C):0:W&4?-1:1)}),E}$e.matches=function(k,j){return $e(k,null,null,j)},$e.matchesSelector=function(k,j){if(gr(k),O&&!kt[j+" "]&&(!Y||!Y.test(j)))try{var z=X.call(k,j);if(z||M.disconnectedMatch||k.document&&k.document.nodeType!==11)return z}catch{kt(j,!0)}return $e(j,E,null,[k]).length>0},$e.contains=function(k,j){return(k.ownerDocument||k)!=E&&gr(k),p.contains(k,j)},$e.attr=function(k,j){(k.ownerDocument||k)!=E&&gr(k);var z=c.attrHandle[j.toLowerCase()],$=z&&x.call(c.attrHandle,j.toLowerCase())?z(k,j,!O):void 0;return $!==void 0?$:k.getAttribute(j)},$e.error=function(k){throw new Error("Syntax error, unrecognized expression: "+k)},p.uniqueSort=function(k){var j,z=[],$=0,C=0;if(b=!M.sortStable,g=!M.sortStable&&l.call(k,0),gt.call(k,dt),b){for(;j=k[C++];)j===k[C]&&($=z.push(C));for(;$--;)Ze.call(k,z[$],1)}return g=null,k},p.fn.uniqueSort=function(){return this.pushStack(p.uniqueSort(l.apply(this)))},c=p.expr={cacheLength:50,createPseudo:Sn,match:cn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(k){return k[1]=k[1].replace(Qn,Fn),k[3]=(k[3]||k[4]||k[5]||"").replace(Qn,Fn),k[2]==="~="&&(k[3]=" "+k[3]+" "),k.slice(0,4)},CHILD:function(k){return k[1]=k[1].toLowerCase(),k[1].slice(0,3)==="nth"?(k[3]||$e.error(k[0]),k[4]=+(k[4]?k[5]+(k[6]||1):2*(k[3]==="even"||k[3]==="odd")),k[5]=+(k[7]+k[8]||k[3]==="odd")):k[3]&&$e.error(k[0]),k},PSEUDO:function(k){var j,z=!k[6]&&k[2];return cn.CHILD.test(k[0])?null:(k[3]?k[2]=k[4]||k[5]||"":z&&_n.test(z)&&(j=yi(z,!0))&&(j=z.indexOf(")",z.length-j)-z.length)&&(k[0]=k[0].slice(0,j),k[2]=z.slice(0,j)),k.slice(0,3))}},filter:{TAG:function(k){var j=k.replace(Qn,Fn).toLowerCase();return k==="*"?function(){return!0}:function(z){return ae(z,j)}},CLASS:function(k){var j=pe[k+" "];return j||(j=new RegExp("(^|"+_e+")"+k+"("+_e+"|$)"))&&pe(k,function(z){return j.test(typeof z.className=="string"&&z.className||typeof z.getAttribute<"u"&&z.getAttribute("class")||"")})},ATTR:function(k,j,z){return function($){var C=$e.attr($,k);return C==null?j==="!=":j?(C+="",j==="="?C===z:j==="!="?C!==z:j==="^="?z&&C.indexOf(z)===0:j==="*="?z&&C.indexOf(z)>-1:j==="$="?z&&C.slice(-z.length)===z:j==="~="?(" "+C.replace(je," ")+" ").indexOf(z)>-1:j==="|="?C===z||C.slice(0,z.length+1)===z+"-":!1):!0}},CHILD:function(k,j,z,$,C){var W=k.slice(0,3)!=="nth",N=k.slice(-4)!=="last",J=j==="of-type";return $===1&&C===0?function(Q){return!!Q.parentNode}:function(Q,me,ge){var he,Re,we,Fe,Pt,It=W!==N?"nextSibling":"previousSibling",Ot=Q.parentNode,Jt=J&&Q.nodeName.toLowerCase(),er=!ge&&!J,Ce=!1;if(Ot){if(W){for(;It;){for(we=Q;we=we[It];)if(J?ae(we,Jt):we.nodeType===1)return!1;Pt=It=k==="only"&&!Pt&&"nextSibling"}return!0}if(Pt=[N?Ot.firstChild:Ot.lastChild],N&&er){for(Re=Ot[K]||(Ot[K]={}),he=Re[k]||[],Fe=he[0]===q&&he[1],Ce=Fe&&he[2],we=Fe&&Ot.childNodes[Fe];we=++Fe&&we&&we[It]||(Ce=Fe=0)||Pt.pop();)if(we.nodeType===1&&++Ce&&we===Q){Re[k]=[q,Fe,Ce];break}}else if(er&&(Re=Q[K]||(Q[K]={}),he=Re[k]||[],Fe=he[0]===q&&he[1],Ce=Fe),Ce===!1)for(;(we=++Fe&&we&&we[It]||(Ce=Fe=0)||Pt.pop())&&!((J?ae(we,Jt):we.nodeType===1)&&++Ce&&(er&&(Re=we[K]||(we[K]={}),Re[k]=[q,Ce]),we===Q)););return Ce-=C,Ce===$||Ce%$===0&&Ce/$>=0}}},PSEUDO:function(k,j){var z,$=c.pseudos[k]||c.setFilters[k.toLowerCase()]||$e.error("unsupported pseudo: "+k);return $[K]?$(j):$.length>1?(z=[k,k,"",j],c.setFilters.hasOwnProperty(k.toLowerCase())?Sn(function(C,W){for(var N,J=$(C,j),Q=J.length;Q--;)N=y.call(C,J[Q]),C[N]=!(W[N]=J[Q])}):function(C){return $(C,0,z)}):$}},pseudos:{not:Sn(function(k){var j=[],z=[],$=Ea(k.replace(tt,"$1"));return $[K]?Sn(function(C,W,N,J){for(var Q,me=$(C,null,J,[]),ge=C.length;ge--;)(Q=me[ge])&&(C[ge]=!(W[ge]=Q))}):function(C,W,N){return j[0]=C,$(j,null,N,z),j[0]=null,!z.pop()}}),has:Sn(function(k){return function(j){return $e(k,j).length>0}}),contains:Sn(function(k){return k=k.replace(Qn,Fn),function(j){return(j.textContent||p.text(j)).indexOf(k)>-1}}),lang:Sn(function(k){return Ir.test(k||"")||$e.error("unsupported lang: "+k),k=k.replace(Qn,Fn).toLowerCase(),function(j){var z;do if(z=O?j.lang:j.getAttribute("xml:lang")||j.getAttribute("lang"))return z=z.toLowerCase(),z===k||z.indexOf(k+"-")===0;while((j=j.parentNode)&&j.nodeType===1);return!1}}),target:function(k){var j=t.location&&t.location.hash;return j&&j.slice(1)===k.id},root:function(k){return k===I},focus:function(k){return k===Gi()&&E.hasFocus()&&!!(k.type||k.href||~k.tabIndex)},enabled:Go(!1),disabled:Go(!0),checked:function(k){return ae(k,"input")&&!!k.checked||ae(k,"option")&&!!k.selected},selected:function(k){return k.parentNode&&k.parentNode.selectedIndex,k.selected===!0},empty:function(k){for(k=k.firstChild;k;k=k.nextSibling)if(k.nodeType<6)return!1;return!0},parent:function(k){return!c.pseudos.empty(k)},header:function(k){return mr.test(k.nodeName)},input:function(k){return Jn.test(k.nodeName)},button:function(k){return ae(k,"input")&&k.type==="button"||ae(k,"button")},text:function(k){var j;return ae(k,"input")&&k.type==="text"&&((j=k.getAttribute("type"))==null||j.toLowerCase()==="text")},first:fn(function(){return[0]}),last:fn(function(k,j){return[j-1]}),eq:fn(function(k,j,z){return[z<0?z+j:z]}),even:fn(function(k,j){for(var z=0;z<j;z+=2)k.push(z);return k}),odd:fn(function(k,j){for(var z=1;z<j;z+=2)k.push(z);return k}),lt:fn(function(k,j,z){var $;for(z<0?$=z+j:z>j?$=j:$=z;--$>=0;)k.push($);return k}),gt:fn(function(k,j,z){for(var $=z<0?z+j:z;++$<j;)k.push($);return k})}},c.pseudos.nth=c.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[o]=lc(o);for(o in{submit:!0,reset:!0})c.pseudos[o]=uc(o);function Ds(){}Ds.prototype=c.filters=c.pseudos,c.setFilters=new Ds;function yi(k,j){var z,$,C,W,N,J,Q,me=ke[k+" "];if(me)return j?0:me.slice(0);for(N=k,J=[],Q=c.preFilter;N;){(!z||($=nt.exec(N)))&&($&&(N=N.slice($[0].length)||N),J.push(C=[])),z=!1,($=zi.exec(N))&&(z=$.shift(),C.push({value:z,type:$[0].replace(tt," ")}),N=N.slice(z.length));for(W in c.filter)($=cn[W].exec(N))&&(!Q[W]||($=Q[W]($)))&&(z=$.shift(),C.push({value:z,type:W,matches:$}),N=N.slice(z.length));if(!z)break}return j?N.length:N?$e.error(k):ke(k,J).slice(0)}function En(k){for(var j=0,z=k.length,$="";j<z;j++)$+=k[j].value;return $}function Nr(k,j,z){var $=j.dir,C=j.next,W=C||$,N=z&&W==="parentNode",J=le++;return j.first?function(Q,me,ge){for(;Q=Q[$];)if(Q.nodeType===1||N)return k(Q,me,ge);return!1}:function(Q,me,ge){var he,Re,we=[q,J];if(ge){for(;Q=Q[$];)if((Q.nodeType===1||N)&&k(Q,me,ge))return!0}else for(;Q=Q[$];)if(Q.nodeType===1||N)if(Re=Q[K]||(Q[K]={}),C&&ae(Q,C))Q=Q[$]||Q;else{if((he=Re[W])&&he[0]===q&&he[1]===J)return we[2]=he[2];if(Re[W]=we,we[2]=k(Q,me,ge))return!0}return!1}}function Sa(k){return k.length>1?function(j,z,$){for(var C=k.length;C--;)if(!k[C](j,z,$))return!1;return!0}:k[0]}function cc(k,j,z){for(var $=0,C=j.length;$<C;$++)$e(k,j[$],z);return z}function Ts(k,j,z,$,C){for(var W,N=[],J=0,Q=k.length,me=j!=null;J<Q;J++)(W=k[J])&&(!z||z(W,$,C))&&(N.push(W),me&&j.push(J));return N}function yr(k,j,z,$,C,W){return $&&!$[K]&&($=yr($)),C&&!C[K]&&(C=yr(C,W)),Sn(function(N,J,Q,me){var ge,he,Re,we,Fe=[],Pt=[],It=J.length,Ot=N||cc(j||"*",Q.nodeType?[Q]:Q,[]),Jt=k&&(N||!j)?Ts(Ot,Fe,k,Q,me):Ot;if(z?(we=C||(N?k:It||$)?[]:J,z(Jt,we,Q,me)):we=Jt,$)for(ge=Ts(we,Pt),$(ge,[],Q,me),he=ge.length;he--;)(Re=ge[he])&&(we[Pt[he]]=!(Jt[Pt[he]]=Re));if(N){if(C||k){if(C){for(ge=[],he=we.length;he--;)(Re=we[he])&&ge.push(Jt[he]=Re);C(null,we=[],ge,me)}for(he=we.length;he--;)(Re=we[he])&&(ge=C?y.call(N,Re):Fe[he])>-1&&(N[ge]=!(J[ge]=Re))}}else we=Ts(we===J?we.splice(It,we.length):we),C?C(null,J,we,me):w.apply(J,we)})}function Zt(k){for(var j,z,$,C=k.length,W=c.relative[k[0].type],N=W||c.relative[" "],J=W?1:0,Q=Nr(function(he){return he===j},N,!0),me=Nr(function(he){return y.call(j,he)>-1},N,!0),ge=[function(he,Re,we){var Fe=!W&&(we||Re!=h)||((j=Re).nodeType?Q(he,Re,we):me(he,Re,we));return j=null,Fe}];J<C;J++)if(z=c.relative[k[J].type])ge=[Nr(Sa(ge),z)];else{if(z=c.filter[k[J].type].apply(null,k[J].matches),z[K]){for($=++J;$<C&&!c.relative[k[$].type];$++);return yr(J>1&&Sa(ge),J>1&&En(k.slice(0,J-1).concat({value:k[J-2].type===" "?"*":""})).replace(tt,"$1"),z,J<$&&Zt(k.slice(J,$)),$<C&&Zt(k=k.slice($)),$<C&&En(k))}ge.push(z)}return Sa(ge)}function $o(k,j){var z=j.length>0,$=k.length>0,C=function(W,N,J,Q,me){var ge,he,Re,we=0,Fe="0",Pt=W&&[],It=[],Ot=h,Jt=W||$&&c.find.TAG("*",me),er=q+=Ot==null?1:Math.random()||.1,Ce=Jt.length;for(me&&(h=N==E||N||me);Fe!==Ce&&(ge=Jt[Fe])!=null;Fe++){if($&&ge){for(he=0,!N&&ge.ownerDocument!=E&&(gr(ge),J=!O);Re=k[he++];)if(Re(ge,N||E,J)){w.call(Q,ge);break}me&&(q=er)}z&&((ge=!Re&&ge)&&we--,W&&Pt.push(ge))}if(we+=Fe,z&&Fe!==we){for(he=0;Re=j[he++];)Re(Pt,It,N,J);if(W){if(we>0)for(;Fe--;)Pt[Fe]||It[Fe]||(It[Fe]=et.call(Q));It=Ts(It)}w.apply(Q,It),me&&!W&&It.length>0&&we+j.length>1&&p.uniqueSort(Q)}return me&&(q=er,h=Ot),Pt};return z?Sn(C):C}function Ea(k,j){var z,$=[],C=[],W=Ae[k+" "];if(!W){for(j||(j=yi(k)),z=j.length;z--;)W=Zt(j[z]),W[K]?$.push(W):C.push(W);W=Ae(k,$o(C,$)),W.selector=k}return W}function Xo(k,j,z,$){var C,W,N,J,Q,me=typeof k=="function"&&k,ge=!$&&yi(k=me.selector||k);if(z=z||[],ge.length===1){if(W=ge[0]=ge[0].slice(0),W.length>2&&(N=W[0]).type==="ID"&&j.nodeType===9&&O&&c.relative[W[1].type]){if(j=(c.find.ID(N.matches[0].replace(Qn,Fn),j)||[])[0],j)me&&(j=j.parentNode);else return z;k=k.slice(W.shift().value.length)}for(C=cn.needsContext.test(k)?0:W.length;C--&&(N=W[C],!c.relative[J=N.type]);)if((Q=c.find[J])&&($=Q(N.matches[0].replace(Qn,Fn),qi.test(W[0].type)&&_a(j.parentNode)||j))){if(W.splice(C,1),k=$.length&&En(W),!k)return w.apply(z,$),z;break}}return(me||Ea(k,ge))($,j,!O,z,!j||qi.test(k)&&_a(j.parentNode)||j),z}M.sortStable=K.split("").sort(dt).join("")===K,gr(),M.sortDetached=gi(function(k){return k.compareDocumentPosition(E.createElement("fieldset"))&1}),p.find=$e,p.expr[":"]=p.expr.pseudos,p.unique=p.uniqueSort,$e.compile=Ea,$e.select=Xo,$e.setDocument=gr,$e.tokenize=yi,$e.escape=p.escapeSelector,$e.getText=p.text,$e.isXML=p.isXMLDoc,$e.selectors=p.expr,$e.support=p.support,$e.uniqueSort=p.uniqueSort})();var xt=function(o,c,h){for(var g=[],b=h!==void 0;(o=o[c])&&o.nodeType!==9;)if(o.nodeType===1){if(b&&p(o).is(h))break;g.push(o)}return g},St=function(o,c){for(var h=[];o;o=o.nextSibling)o.nodeType===1&&o!==c&&h.push(o);return h},Oe=p.expr.match.needsContext,st=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ft(o,c,h){return R(c)?p.grep(o,function(g,b){return!!c.call(g,b,g)!==h}):c.nodeType?p.grep(o,function(g){return g===c!==h}):typeof c!="string"?p.grep(o,function(g){return y.call(c,g)>-1!==h}):p.filter(c,o,h)}p.filter=function(o,c,h){var g=c[0];return h&&(o=":not("+o+")"),c.length===1&&g.nodeType===1?p.find.matchesSelector(g,o)?[g]:[]:p.find.matches(o,p.grep(c,function(b){return b.nodeType===1}))},p.fn.extend({find:function(o){var c,h,g=this.length,b=this;if(typeof o!="string")return this.pushStack(p(o).filter(function(){for(c=0;c<g;c++)if(p.contains(b[c],this))return!0}));for(h=this.pushStack([]),c=0;c<g;c++)p.find(o,b[c],h);return g>1?p.uniqueSort(h):h},filter:function(o){return this.pushStack(Ft(this,o||[],!1))},not:function(o){return this.pushStack(Ft(this,o||[],!0))},is:function(o){return!!Ft(this,typeof o=="string"&&Oe.test(o)?p(o):o||[],!1).length}});var Mn,Ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Wt=p.fn.init=function(o,c,h){var g,b;if(!o)return this;if(h=h||Mn,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?g=[null,o,null]:g=Ct.exec(o),g&&(g[1]||!c))if(g[1]){if(c=c instanceof p?c[0]:c,p.merge(this,p.parseHTML(g[1],c&&c.nodeType?c.ownerDocument||c:F,!0)),st.test(g[1])&&p.isPlainObject(c))for(g in c)R(this[g])?this[g](c[g]):this.attr(g,c[g]);return this}else return b=F.getElementById(g[2]),b&&(this[0]=b,this.length=1),this;else return!c||c.jquery?(c||h).find(o):this.constructor(c).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(R(o))return h.ready!==void 0?h.ready(o):o(p)}return p.makeArray(o,this)};Wt.prototype=p.fn,Mn=p(F);var Rn=/^(?:parents|prev(?:Until|All))/,rn={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({has:function(o){var c=p(o,this),h=c.length;return this.filter(function(){for(var g=0;g<h;g++)if(p.contains(this,c[g]))return!0})},closest:function(o,c){var h,g=0,b=this.length,w=[],E=typeof o!="string"&&p(o);if(!Oe.test(o)){for(;g<b;g++)for(h=this[g];h&&h!==c;h=h.parentNode)if(h.nodeType<11&&(E?E.index(h)>-1:h.nodeType===1&&p.find.matchesSelector(h,o))){w.push(h);break}}return this.pushStack(w.length>1?p.uniqueSort(w):w)},index:function(o){return o?typeof o=="string"?y.call(p(o),this[0]):y.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,c){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(o,c))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function sn(o,c){for(;(o=o[c])&&o.nodeType!==1;);return o}p.each({parent:function(o){var c=o.parentNode;return c&&c.nodeType!==11?c:null},parents:function(o){return xt(o,"parentNode")},parentsUntil:function(o,c,h){return xt(o,"parentNode",h)},next:function(o){return sn(o,"nextSibling")},prev:function(o){return sn(o,"previousSibling")},nextAll:function(o){return xt(o,"nextSibling")},prevAll:function(o){return xt(o,"previousSibling")},nextUntil:function(o,c,h){return xt(o,"nextSibling",h)},prevUntil:function(o,c,h){return xt(o,"previousSibling",h)},siblings:function(o){return St((o.parentNode||{}).firstChild,o)},children:function(o){return St(o.firstChild)},contents:function(o){return o.contentDocument!=null&&a(o.contentDocument)?o.contentDocument:(ae(o,"template")&&(o=o.content||o),p.merge([],o.childNodes))}},function(o,c){p.fn[o]=function(h,g){var b=p.map(this,c,h);return o.slice(-5)!=="Until"&&(g=h),g&&typeof g=="string"&&(b=p.filter(g,b)),this.length>1&&(rn[o]||p.uniqueSort(b),Rn.test(o)&&b.reverse()),this.pushStack(b)}});var Et=/[^\x20\t\r\n\f]+/g;function Lt(o){var c={};return p.each(o.match(Et)||[],function(h,g){c[g]=!0}),c}p.Callbacks=function(o){o=typeof o=="string"?Lt(o):p.extend({},o);var c,h,g,b,w=[],E=[],I=-1,O=function(){for(b=b||o.once,g=c=!0;E.length;I=-1)for(h=E.shift();++I<w.length;)w[I].apply(h[0],h[1])===!1&&o.stopOnFalse&&(I=w.length,h=!1);o.memory||(h=!1),c=!1,b&&(h?w=[]:w="")},Y={add:function(){return w&&(h&&!c&&(I=w.length-1,E.push(h)),function X(K){p.each(K,function(q,le){R(le)?(!o.unique||!Y.has(le))&&w.push(le):le&&le.length&&oe(le)!=="string"&&X(le)})}(arguments),h&&!c&&O()),this},remove:function(){return p.each(arguments,function(X,K){for(var q;(q=p.inArray(K,w,q))>-1;)w.splice(q,1),q<=I&&I--}),this},has:function(X){return X?p.inArray(X,w)>-1:w.length>0},empty:function(){return w&&(w=[]),this},disable:function(){return b=E=[],w=h="",this},disabled:function(){return!w},lock:function(){return b=E=[],!h&&!c&&(w=h=""),this},locked:function(){return!!b},fireWith:function(X,K){return b||(K=K||[],K=[X,K.slice?K.slice():K],E.push(K),c||O()),this},fire:function(){return Y.fireWith(this,arguments),this},fired:function(){return!!g}};return Y};function an(o){return o}function Xn(o){throw o}function At(o,c,h,g){var b;try{o&&R(b=o.promise)?b.call(o).done(c).fail(h):o&&R(b=o.then)?b.call(o,c,h):c.apply(void 0,[o].slice(g))}catch(w){h.apply(void 0,[w])}}p.extend({Deferred:function(o){var c=[["notify","progress",p.Callbacks("memory"),p.Callbacks("memory"),2],["resolve","done",p.Callbacks("once memory"),p.Callbacks("once memory"),0,"resolved"],["reject","fail",p.Callbacks("once memory"),p.Callbacks("once memory"),1,"rejected"]],h="pending",g={state:function(){return h},always:function(){return b.done(arguments).fail(arguments),this},catch:function(w){return g.then(null,w)},pipe:function(){var w=arguments;return p.Deferred(function(E){p.each(c,function(I,O){var Y=R(w[O[4]])&&w[O[4]];b[O[1]](function(){var X=Y&&Y.apply(this,arguments);X&&R(X.promise)?X.promise().progress(E.notify).done(E.resolve).fail(E.reject):E[O[0]+"With"](this,Y?[X]:arguments)})}),w=null}).promise()},then:function(w,E,I){var O=0;function Y(X,K,q,le){return function(){var pe=this,ke=arguments,Ae=function(){var dt,In;if(!(X<O)){if(dt=q.apply(pe,ke),dt===K.promise())throw new TypeError("Thenable self-resolution");In=dt&&(typeof dt=="object"||typeof dt=="function")&&dt.then,R(In)?le?In.call(dt,Y(O,K,an,le),Y(O,K,Xn,le)):(O++,In.call(dt,Y(O,K,an,le),Y(O,K,Xn,le),Y(O,K,an,K.notifyWith))):(q!==an&&(pe=void 0,ke=[dt]),(le||K.resolveWith)(pe,ke))}},kt=le?Ae:function(){try{Ae()}catch(dt){p.Deferred.exceptionHook&&p.Deferred.exceptionHook(dt,kt.error),X+1>=O&&(q!==Xn&&(pe=void 0,ke=[dt]),K.rejectWith(pe,ke))}};X?kt():(p.Deferred.getErrorHook?kt.error=p.Deferred.getErrorHook():p.Deferred.getStackHook&&(kt.error=p.Deferred.getStackHook()),t.setTimeout(kt))}}return p.Deferred(function(X){c[0][3].add(Y(0,X,R(I)?I:an,X.notifyWith)),c[1][3].add(Y(0,X,R(w)?w:an)),c[2][3].add(Y(0,X,R(E)?E:Xn))}).promise()},promise:function(w){return w!=null?p.extend(w,g):g}},b={};return p.each(c,function(w,E){var I=E[2],O=E[5];g[E[1]]=I.add,O&&I.add(function(){h=O},c[3-w][2].disable,c[3-w][3].disable,c[0][2].lock,c[0][3].lock),I.add(E[3].fire),b[E[0]]=function(){return b[E[0]+"With"](this===b?void 0:this,arguments),this},b[E[0]+"With"]=I.fireWith}),g.promise(b),o&&o.call(b,b),b},when:function(o){var c=arguments.length,h=c,g=Array(h),b=l.call(arguments),w=p.Deferred(),E=function(I){return function(O){g[I]=this,b[I]=arguments.length>1?l.call(arguments):O,--c||w.resolveWith(g,b)}};if(c<=1&&(At(o,w.done(E(h)).resolve,w.reject,!c),w.state()==="pending"||R(b[h]&&b[h].then)))return w.then();for(;h--;)At(b[h],E(h),w.reject);return w.promise()}});var Pr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;p.Deferred.exceptionHook=function(o,c){t.console&&t.console.warn&&o&&Pr.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,c)},p.readyException=function(o){t.setTimeout(function(){throw o})};var ai=p.Deferred();p.fn.ready=function(o){return ai.then(o).catch(function(c){p.readyException(c)}),this},p.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--p.readyWait:p.isReady)||(p.isReady=!0,!(o!==!0&&--p.readyWait>0)&&ai.resolveWith(F,[p]))}}),p.ready.then=ai.then;function on(){F.removeEventListener("DOMContentLoaded",on),t.removeEventListener("load",on),p.ready()}F.readyState==="complete"||F.readyState!=="loading"&&!F.documentElement.doScroll?t.setTimeout(p.ready):(F.addEventListener("DOMContentLoaded",on),t.addEventListener("load",on));var Ln=function(o,c,h,g,b,w,E){var I=0,O=o.length,Y=h==null;if(oe(h)==="object"){b=!0;for(I in h)Ln(o,c,I,h[I],!0,w,E)}else if(g!==void 0&&(b=!0,R(g)||(E=!0),Y&&(E?(c.call(o,g),c=null):(Y=c,c=function(X,K,q){return Y.call(p(X),q)})),c))for(;I<O;I++)c(o[I],h,E?g:g.call(o[I],I,c(o[I],h)));return b?o:Y?c.call(o):O?c(o[0],h):w},Vu=/^-ms-/,Bi=/-([a-z])/g;function xn(o,c){return c.toUpperCase()}function Yt(o){return o.replace(Vu,"ms-").replace(Bi,xn)}var ur=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function ji(){this.expando=p.expando+ji.uid++}ji.uid=1,ji.prototype={cache:function(o){var c=o[this.expando];return c||(c={},ur(o)&&(o.nodeType?o[this.expando]=c:Object.defineProperty(o,this.expando,{value:c,configurable:!0}))),c},set:function(o,c,h){var g,b=this.cache(o);if(typeof c=="string")b[Yt(c)]=h;else for(g in c)b[Yt(g)]=c[g];return b},get:function(o,c){return c===void 0?this.cache(o):o[this.expando]&&o[this.expando][Yt(c)]},access:function(o,c,h){return c===void 0||c&&typeof c=="string"&&h===void 0?this.get(o,c):(this.set(o,c,h),h!==void 0?h:c)},remove:function(o,c){var h,g=o[this.expando];if(g!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(Yt):(c=Yt(c),c=c in g?[c]:c.match(Et)||[]),h=c.length;h--;)delete g[c[h]];(c===void 0||p.isEmptyObject(g))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var c=o[this.expando];return c!==void 0&&!p.isEmptyObject(c)}};var ve=new ji,Ut=new ji,Vi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oi=/[A-Z]/g;function na(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:Vi.test(o)?JSON.parse(o):o}function ps(o,c,h){var g;if(h===void 0&&o.nodeType===1)if(g="data-"+c.replace(oi,"-$&").toLowerCase(),h=o.getAttribute(g),typeof h=="string"){try{h=na(h)}catch{}Ut.set(o,c,h)}else h=void 0;return h}p.extend({hasData:function(o){return Ut.hasData(o)||ve.hasData(o)},data:function(o,c,h){return Ut.access(o,c,h)},removeData:function(o,c){Ut.remove(o,c)},_data:function(o,c,h){return ve.access(o,c,h)},_removeData:function(o,c){ve.remove(o,c)}}),p.fn.extend({data:function(o,c){var h,g,b,w=this[0],E=w&&w.attributes;if(o===void 0){if(this.length&&(b=Ut.get(w),w.nodeType===1&&!ve.get(w,"hasDataAttrs"))){for(h=E.length;h--;)E[h]&&(g=E[h].name,g.indexOf("data-")===0&&(g=Yt(g.slice(5)),ps(w,g,b[g])));ve.set(w,"hasDataAttrs",!0)}return b}return typeof o=="object"?this.each(function(){Ut.set(this,o)}):Ln(this,function(I){var O;if(w&&I===void 0)return O=Ut.get(w,o),O!==void 0||(O=ps(w,o),O!==void 0)?O:void 0;this.each(function(){Ut.set(this,o,I)})},null,c,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){Ut.remove(this,o)})}}),p.extend({queue:function(o,c,h){var g;if(o)return c=(c||"fx")+"queue",g=ve.get(o,c),h&&(!g||Array.isArray(h)?g=ve.access(o,c,p.makeArray(h)):g.push(h)),g||[]},dequeue:function(o,c){c=c||"fx";var h=p.queue(o,c),g=h.length,b=h.shift(),w=p._queueHooks(o,c),E=function(){p.dequeue(o,c)};b==="inprogress"&&(b=h.shift(),g--),b&&(c==="fx"&&h.unshift("inprogress"),delete w.stop,b.call(o,E,w)),!g&&w&&w.empty.fire()},_queueHooks:function(o,c){var h=c+"queueHooks";return ve.get(o,h)||ve.access(o,h,{empty:p.Callbacks("once memory").add(function(){ve.remove(o,[c+"queue",h])})})}}),p.fn.extend({queue:function(o,c){var h=2;return typeof o!="string"&&(c=o,o="fx",h--),arguments.length<h?p.queue(this[0],o):c===void 0?this:this.each(function(){var g=p.queue(this,o,c);p._queueHooks(this,o),o==="fx"&&g[0]!=="inprogress"&&p.dequeue(this,o)})},dequeue:function(o){return this.each(function(){p.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,c){var h,g=1,b=p.Deferred(),w=this,E=this.length,I=function(){--g||b.resolveWith(w,[w])};for(typeof o!="string"&&(c=o,o=void 0),o=o||"fx";E--;)h=ve.get(w[E],o+"queueHooks"),h&&h.empty&&(g++,h.empty.add(I));return I(),b.promise(c)}});var ms=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Or=new RegExp("^(?:([+-])=|)("+ms+")([a-z%]*)$","i"),bn=["Top","Right","Bottom","Left"],Kn=F.documentElement,cr=function(o){return p.contains(o.ownerDocument,o)},ra={composed:!0};Kn.getRootNode&&(cr=function(o){return p.contains(o.ownerDocument,o)||o.getRootNode(ra)===o.ownerDocument});var li=function(o,c){return o=c||o,o.style.display==="none"||o.style.display===""&&cr(o)&&p.css(o,"display")==="none"};function xo(o,c,h,g){var b,w,E=20,I=g?function(){return g.cur()}:function(){return p.css(o,c,"")},O=I(),Y=h&&h[3]||(p.cssNumber[c]?"":"px"),X=o.nodeType&&(p.cssNumber[c]||Y!=="px"&&+O)&&Or.exec(p.css(o,c));if(X&&X[3]!==Y){for(O=O/2,Y=Y||X[3],X=+O||1;E--;)p.style(o,c,X+Y),(1-w)*(1-(w=I()/O||.5))<=0&&(E=0),X=X/w;X=X*2,p.style(o,c,X+Y),h=h||[]}return h&&(X=+X||+O||0,b=h[1]?X+(h[1]+1)*h[2]:+h[2],g&&(g.unit=Y,g.start=X,g.end=b)),b}var bo={};function Yu(o){var c,h=o.ownerDocument,g=o.nodeName,b=bo[g];return b||(c=h.body.appendChild(h.createElement(g)),b=p.css(c,"display"),c.parentNode.removeChild(c),b==="none"&&(b="block"),bo[g]=b,b)}function Mr(o,c){for(var h,g,b=[],w=0,E=o.length;w<E;w++)g=o[w],g.style&&(h=g.style.display,c?(h==="none"&&(b[w]=ve.get(g,"display")||null,b[w]||(g.style.display="")),g.style.display===""&&li(g)&&(b[w]=Yu(g))):h!=="none"&&(b[w]="none",ve.set(g,"display",h)));for(w=0;w<E;w++)b[w]!=null&&(o[w].style.display=b[w]);return o}p.fn.extend({show:function(){return Mr(this,!0)},hide:function(){return Mr(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){li(this)?p(this).show():p(this).hide()})}});var ui=/^(?:checkbox|radio)$/i,wo=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_o=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=F.createDocumentFragment(),c=o.appendChild(F.createElement("div")),h=F.createElement("input");h.setAttribute("type","radio"),h.setAttribute("checked","checked"),h.setAttribute("name","t"),c.appendChild(h),M.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",M.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",M.option=!!c.lastChild})();var ln={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,"",""]};ln.tbody=ln.tfoot=ln.colgroup=ln.caption=ln.thead,ln.th=ln.td,M.option||(ln.optgroup=ln.option=[1,"<select multiple='multiple'>","</select>"]);function Ht(o,c){var h;return typeof o.getElementsByTagName<"u"?h=o.getElementsByTagName(c||"*"):typeof o.querySelectorAll<"u"?h=o.querySelectorAll(c||"*"):h=[],c===void 0||c&&ae(o,c)?p.merge([o],h):h}function gs(o,c){for(var h=0,g=o.length;h<g;h++)ve.set(o[h],"globalEval",!c||ve.get(c[h],"globalEval"))}var Uu=/<|&#?\w+;/;function So(o,c,h,g,b){for(var w,E,I,O,Y,X,K=c.createDocumentFragment(),q=[],le=0,pe=o.length;le<pe;le++)if(w=o[le],w||w===0)if(oe(w)==="object")p.merge(q,w.nodeType?[w]:w);else if(!Uu.test(w))q.push(c.createTextNode(w));else{for(E=E||K.appendChild(c.createElement("div")),I=(wo.exec(w)||["",""])[1].toLowerCase(),O=ln[I]||ln._default,E.innerHTML=O[1]+p.htmlPrefilter(w)+O[2],X=O[0];X--;)E=E.lastChild;p.merge(q,E.childNodes),E=K.firstChild,E.textContent=""}for(K.textContent="",le=0;w=q[le++];){if(g&&p.inArray(w,g)>-1){b&&b.push(w);continue}if(Y=cr(w),E=Ht(K.appendChild(w),"script"),Y&&gs(E),h)for(X=0;w=E[X++];)_o.test(w.type||"")&&h.push(w)}return K}var Eo=/^([^.]*)(?:\.(.+)|)/;function fr(){return!0}function ci(){return!1}function Yi(o,c,h,g,b,w){var E,I;if(typeof c=="object"){typeof h!="string"&&(g=g||h,h=void 0);for(I in c)Yi(o,I,h,g,c[I],w);return o}if(g==null&&b==null?(b=h,g=h=void 0):b==null&&(typeof h=="string"?(b=g,g=void 0):(b=g,g=h,h=void 0)),b===!1)b=ci;else if(!b)return o;return w===1&&(E=b,b=function(O){return p().off(O),E.apply(this,arguments)},b.guid=E.guid||(E.guid=p.guid++)),o.each(function(){p.event.add(this,c,b,g,h)})}p.event={global:{},add:function(o,c,h,g,b){var w,E,I,O,Y,X,K,q,le,pe,ke,Ae=ve.get(o);if(ur(o))for(h.handler&&(w=h,h=w.handler,b=w.selector),b&&p.find.matchesSelector(Kn,b),h.guid||(h.guid=p.guid++),(O=Ae.events)||(O=Ae.events=Object.create(null)),(E=Ae.handle)||(E=Ae.handle=function(kt){return typeof p<"u"&&p.event.triggered!==kt.type?p.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(Et)||[""],Y=c.length;Y--;)I=Eo.exec(c[Y])||[],le=ke=I[1],pe=(I[2]||"").split(".").sort(),le&&(K=p.event.special[le]||{},le=(b?K.delegateType:K.bindType)||le,K=p.event.special[le]||{},X=p.extend({type:le,origType:ke,data:g,handler:h,guid:h.guid,selector:b,needsContext:b&&p.expr.match.needsContext.test(b),namespace:pe.join(".")},w),(q=O[le])||(q=O[le]=[],q.delegateCount=0,(!K.setup||K.setup.call(o,g,pe,E)===!1)&&o.addEventListener&&o.addEventListener(le,E)),K.add&&(K.add.call(o,X),X.handler.guid||(X.handler.guid=h.guid)),b?q.splice(q.delegateCount++,0,X):q.push(X),p.event.global[le]=!0)},remove:function(o,c,h,g,b){var w,E,I,O,Y,X,K,q,le,pe,ke,Ae=ve.hasData(o)&&ve.get(o);if(!(!Ae||!(O=Ae.events))){for(c=(c||"").match(Et)||[""],Y=c.length;Y--;){if(I=Eo.exec(c[Y])||[],le=ke=I[1],pe=(I[2]||"").split(".").sort(),!le){for(le in O)p.event.remove(o,le+c[Y],h,g,!0);continue}for(K=p.event.special[le]||{},le=(g?K.delegateType:K.bindType)||le,q=O[le]||[],I=I[2]&&new RegExp("(^|\\.)"+pe.join("\\.(?:.*\\.|)")+"(\\.|$)"),E=w=q.length;w--;)X=q[w],(b||ke===X.origType)&&(!h||h.guid===X.guid)&&(!I||I.test(X.namespace))&&(!g||g===X.selector||g==="**"&&X.selector)&&(q.splice(w,1),X.selector&&q.delegateCount--,K.remove&&K.remove.call(o,X));E&&!q.length&&((!K.teardown||K.teardown.call(o,pe,Ae.handle)===!1)&&p.removeEvent(o,le,Ae.handle),delete O[le])}p.isEmptyObject(O)&&ve.remove(o,"handle events")}},dispatch:function(o){var c,h,g,b,w,E,I=new Array(arguments.length),O=p.event.fix(o),Y=(ve.get(this,"events")||Object.create(null))[O.type]||[],X=p.event.special[O.type]||{};for(I[0]=O,c=1;c<arguments.length;c++)I[c]=arguments[c];if(O.delegateTarget=this,!(X.preDispatch&&X.preDispatch.call(this,O)===!1)){for(E=p.event.handlers.call(this,O,Y),c=0;(b=E[c++])&&!O.isPropagationStopped();)for(O.currentTarget=b.elem,h=0;(w=b.handlers[h++])&&!O.isImmediatePropagationStopped();)(!O.rnamespace||w.namespace===!1||O.rnamespace.test(w.namespace))&&(O.handleObj=w,O.data=w.data,g=((p.event.special[w.origType]||{}).handle||w.handler).apply(b.elem,I),g!==void 0&&(O.result=g)===!1&&(O.preventDefault(),O.stopPropagation()));return X.postDispatch&&X.postDispatch.call(this,O),O.result}},handlers:function(o,c){var h,g,b,w,E,I=[],O=c.delegateCount,Y=o.target;if(O&&Y.nodeType&&!(o.type==="click"&&o.button>=1)){for(;Y!==this;Y=Y.parentNode||this)if(Y.nodeType===1&&!(o.type==="click"&&Y.disabled===!0)){for(w=[],E={},h=0;h<O;h++)g=c[h],b=g.selector+" ",E[b]===void 0&&(E[b]=g.needsContext?p(b,this).index(Y)>-1:p.find(b,this,null,[Y]).length),E[b]&&w.push(g);w.length&&I.push({elem:Y,handlers:w})}}return Y=this,O<c.length&&I.push({elem:Y,handlers:c.slice(O)}),I},addProp:function(o,c){Object.defineProperty(p.Event.prototype,o,{enumerable:!0,configurable:!0,get:R(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(h){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:h})}})},fix:function(o){return o[p.expando]?o:new p.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var c=this||o;return ui.test(c.type)&&c.click&&ae(c,"input")&&ys(c,"click",!0),!1},trigger:function(o){var c=this||o;return ui.test(c.type)&&c.click&&ae(c,"input")&&ys(c,"click"),!0},_default:function(o){var c=o.target;return ui.test(c.type)&&c.click&&ae(c,"input")&&ve.get(c,"click")||ae(c,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function ys(o,c,h){if(!h){ve.get(o,c)===void 0&&p.event.add(o,c,fr);return}ve.set(o,c,!1),p.event.add(o,c,{namespace:!1,handler:function(g){var b,w=ve.get(this,c);if(g.isTrigger&1&&this[c]){if(w)(p.event.special[c]||{}).delegateType&&g.stopPropagation();else if(w=l.call(arguments),ve.set(this,c,w),this[c](),b=ve.get(this,c),ve.set(this,c,!1),w!==b)return g.stopImmediatePropagation(),g.preventDefault(),b}else w&&(ve.set(this,c,p.event.trigger(w[0],w.slice(1),this)),g.stopPropagation(),g.isImmediatePropagationStopped=fr)}})}p.removeEvent=function(o,c,h){o.removeEventListener&&o.removeEventListener(c,h)},p.Event=function(o,c){if(!(this instanceof p.Event))return new p.Event(o,c);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?fr:ci,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,c&&p.extend(this,c),this.timeStamp=o&&o.timeStamp||Date.now(),this[p.expando]=!0},p.Event.prototype={constructor:p.Event,isDefaultPrevented:ci,isPropagationStopped:ci,isImmediatePropagationStopped:ci,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=fr,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=fr,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=fr,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},p.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},p.event.addProp),p.each({focus:"focusin",blur:"focusout"},function(o,c){function h(g){if(F.documentMode){var b=ve.get(this,"handle"),w=p.event.fix(g);w.type=g.type==="focusin"?"focus":"blur",w.isSimulated=!0,b(g),w.target===w.currentTarget&&b(w)}else p.event.simulate(c,g.target,p.event.fix(g))}p.event.special[o]={setup:function(){var g;if(ys(this,o,!0),F.documentMode)g=ve.get(this,c),g||this.addEventListener(c,h),ve.set(this,c,(g||0)+1);else return!1},trigger:function(){return ys(this,o),!0},teardown:function(){var g;if(F.documentMode)g=ve.get(this,c)-1,g?ve.set(this,c,g):(this.removeEventListener(c,h),ve.remove(this,c));else return!1},_default:function(g){return ve.get(g.target,o)},delegateType:c},p.event.special[c]={setup:function(){var g=this.ownerDocument||this.document||this,b=F.documentMode?this:g,w=ve.get(b,c);w||(F.documentMode?this.addEventListener(c,h):g.addEventListener(o,h,!0)),ve.set(b,c,(w||0)+1)},teardown:function(){var g=this.ownerDocument||this.document||this,b=F.documentMode?this:g,w=ve.get(b,c)-1;w?ve.set(b,c,w):(F.documentMode?this.removeEventListener(c,h):g.removeEventListener(o,h,!0),ve.remove(b,c))}}}),p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,c){p.event.special[o]={delegateType:c,bindType:c,handle:function(h){var g,b=this,w=h.relatedTarget,E=h.handleObj;return(!w||w!==b&&!p.contains(b,w))&&(h.type=E.origType,g=E.handler.apply(this,arguments),h.type=c),g}}}),p.fn.extend({on:function(o,c,h,g){return Yi(this,o,c,h,g)},one:function(o,c,h,g){return Yi(this,o,c,h,g,1)},off:function(o,c,h){var g,b;if(o&&o.preventDefault&&o.handleObj)return g=o.handleObj,p(o.delegateTarget).off(g.namespace?g.origType+"."+g.namespace:g.origType,g.selector,g.handler),this;if(typeof o=="object"){for(b in o)this.off(b,c,o[b]);return this}return(c===!1||typeof c=="function")&&(h=c,c=void 0),h===!1&&(h=ci),this.each(function(){p.event.remove(this,o,h,c)})}});var Hu=/<script|<style|<link/i,zu=/checked\s*(?:[^=]|=\s*.checked.)/i,qu=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Do(o,c){return ae(o,"table")&&ae(c.nodeType!==11?c:c.firstChild,"tr")&&p(o).children("tbody")[0]||o}function Gu(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function $u(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function To(o,c){var h,g,b,w,E,I,O;if(c.nodeType===1){if(ve.hasData(o)&&(w=ve.get(o),O=w.events,O)){ve.remove(c,"handle events");for(b in O)for(h=0,g=O[b].length;h<g;h++)p.event.add(c,b,O[b][h])}Ut.hasData(o)&&(E=Ut.access(o),I=p.extend({},E),Ut.set(c,I))}}function Co(o,c){var h=c.nodeName.toLowerCase();h==="input"&&ui.test(o.type)?c.checked=o.checked:(h==="input"||h==="textarea")&&(c.defaultValue=o.defaultValue)}function fi(o,c,h,g){c=f(c);var b,w,E,I,O,Y,X=0,K=o.length,q=K-1,le=c[0],pe=R(le);if(pe||K>1&&typeof le=="string"&&!M.checkClone&&zu.test(le))return o.each(function(ke){var Ae=o.eq(ke);pe&&(c[0]=le.call(this,ke,Ae.html())),fi(Ae,c,h,g)});if(K&&(b=So(c,o[0].ownerDocument,!1,o,g),w=b.firstChild,b.childNodes.length===1&&(b=w),w||g)){for(E=p.map(Ht(b,"script"),Gu),I=E.length;X<K;X++)O=b,X!==q&&(O=p.clone(O,!0,!0),I&&p.merge(E,Ht(O,"script"))),h.call(o[X],O,X);if(I)for(Y=E[E.length-1].ownerDocument,p.map(E,$u),X=0;X<I;X++)O=E[X],_o.test(O.type||"")&&!ve.access(O,"globalEval")&&p.contains(Y,O)&&(O.src&&(O.type||"").toLowerCase()!=="module"?p._evalUrl&&!O.noModule&&p._evalUrl(O.src,{nonce:O.nonce||O.getAttribute("nonce")},Y):G(O.textContent.replace(qu,""),O,Y))}return o}function Ao(o,c,h){for(var g,b=c?p.filter(c,o):o,w=0;(g=b[w])!=null;w++)!h&&g.nodeType===1&&p.cleanData(Ht(g)),g.parentNode&&(h&&cr(g)&&gs(Ht(g,"script")),g.parentNode.removeChild(g));return o}p.extend({htmlPrefilter:function(o){return o},clone:function(o,c,h){var g,b,w,E,I=o.cloneNode(!0),O=cr(o);if(!M.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!p.isXMLDoc(o))for(E=Ht(I),w=Ht(o),g=0,b=w.length;g<b;g++)Co(w[g],E[g]);if(c)if(h)for(w=w||Ht(o),E=E||Ht(I),g=0,b=w.length;g<b;g++)To(w[g],E[g]);else To(o,I);return E=Ht(I,"script"),E.length>0&&gs(E,!O&&Ht(o,"script")),I},cleanData:function(o){for(var c,h,g,b=p.event.special,w=0;(h=o[w])!==void 0;w++)if(ur(h)){if(c=h[ve.expando]){if(c.events)for(g in c.events)b[g]?p.event.remove(h,g):p.removeEvent(h,g,c.handle);h[ve.expando]=void 0}h[Ut.expando]&&(h[Ut.expando]=void 0)}}}),p.fn.extend({detach:function(o){return Ao(this,o,!0)},remove:function(o){return Ao(this,o)},text:function(o){return Ln(this,function(c){return c===void 0?p.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,o,arguments.length)},append:function(){return fi(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Do(this,o);c.appendChild(o)}})},prepend:function(){return fi(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Do(this,o);c.insertBefore(o,c.firstChild)}})},before:function(){return fi(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return fi(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,c=0;(o=this[c])!=null;c++)o.nodeType===1&&(p.cleanData(Ht(o,!1)),o.textContent="");return this},clone:function(o,c){return o=o??!1,c=c??o,this.map(function(){return p.clone(this,o,c)})},html:function(o){return Ln(this,function(c){var h=this[0]||{},g=0,b=this.length;if(c===void 0&&h.nodeType===1)return h.innerHTML;if(typeof c=="string"&&!Hu.test(c)&&!ln[(wo.exec(c)||["",""])[1].toLowerCase()]){c=p.htmlPrefilter(c);try{for(;g<b;g++)h=this[g]||{},h.nodeType===1&&(p.cleanData(Ht(h,!1)),h.innerHTML=c);h=0}catch{}}h&&this.empty().append(c)},null,o,arguments.length)},replaceWith:function(){var o=[];return fi(this,arguments,function(c){var h=this.parentNode;p.inArray(this,o)<0&&(p.cleanData(Ht(this)),h&&h.replaceChild(c,this))},o)}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,c){p.fn[o]=function(h){for(var g,b=[],w=p(h),E=w.length-1,I=0;I<=E;I++)g=I===E?this:this.clone(!0),p(w[I])[c](g),d.apply(b,g.get());return this.pushStack(b)}});var ia=new RegExp("^("+ms+")(?!px)[a-z%]+$","i"),sa=/^--/,vs=function(o){var c=o.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(o)},ko=function(o,c,h){var g,b,w={};for(b in c)w[b]=o.style[b],o.style[b]=c[b];g=h.call(o);for(b in c)o.style[b]=w[b];return g},xs=new RegExp(bn.join("|"),"i");(function(){function o(){if(Y){O.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Y.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Kn.appendChild(O).appendChild(Y);var X=t.getComputedStyle(Y);h=X.top!=="1%",I=c(X.marginLeft)===12,Y.style.right="60%",w=c(X.right)===36,g=c(X.width)===36,Y.style.position="absolute",b=c(Y.offsetWidth/3)===12,Kn.removeChild(O),Y=null}}function c(X){return Math.round(parseFloat(X))}var h,g,b,w,E,I,O=F.createElement("div"),Y=F.createElement("div");Y.style&&(Y.style.backgroundClip="content-box",Y.cloneNode(!0).style.backgroundClip="",M.clearCloneStyle=Y.style.backgroundClip==="content-box",p.extend(M,{boxSizingReliable:function(){return o(),g},pixelBoxStyles:function(){return o(),w},pixelPosition:function(){return o(),h},reliableMarginLeft:function(){return o(),I},scrollboxSize:function(){return o(),b},reliableTrDimensions:function(){var X,K,q,le;return E==null&&(X=F.createElement("table"),K=F.createElement("tr"),q=F.createElement("div"),X.style.cssText="position:absolute;left:-11111px;border-collapse:separate",K.style.cssText="box-sizing:content-box;border:1px solid",K.style.height="1px",q.style.height="9px",q.style.display="block",Kn.appendChild(X).appendChild(K).appendChild(q),le=t.getComputedStyle(K),E=parseInt(le.height,10)+parseInt(le.borderTopWidth,10)+parseInt(le.borderBottomWidth,10)===K.offsetHeight,Kn.removeChild(X)),E}}))})();function Ui(o,c,h){var g,b,w,E,I=sa.test(c),O=o.style;return h=h||vs(o),h&&(E=h.getPropertyValue(c)||h[c],I&&E&&(E=E.replace(tt,"$1")||void 0),E===""&&!cr(o)&&(E=p.style(o,c)),!M.pixelBoxStyles()&&ia.test(E)&&xs.test(c)&&(g=O.width,b=O.minWidth,w=O.maxWidth,O.minWidth=O.maxWidth=O.width=E,E=h.width,O.width=g,O.minWidth=b,O.maxWidth=w)),E!==void 0?E+"":E}function Hi(o,c){return{get:function(){if(o()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var Po=["Webkit","Moz","ms"],Oo=F.createElement("div").style,Mo={};function Ro(o){for(var c=o[0].toUpperCase()+o.slice(1),h=Po.length;h--;)if(o=Po[h]+c,o in Oo)return o}function bs(o){var c=p.cssProps[o]||Mo[o];return c||(o in Oo?o:Mo[o]=Ro(o)||o)}var Lo=/^(none|table(?!-c[ea]).+)/,Xu={position:"absolute",visibility:"hidden",display:"block"},Io={letterSpacing:"0",fontWeight:"400"};function No(o,c,h){var g=Or.exec(c);return g?Math.max(0,g[2]-(h||0))+(g[3]||"px"):c}function aa(o,c,h,g,b,w){var E=c==="width"?1:0,I=0,O=0,Y=0;if(h===(g?"border":"content"))return 0;for(;E<4;E+=2)h==="margin"&&(Y+=p.css(o,h+bn[E],!0,b)),g?(h==="content"&&(O-=p.css(o,"padding"+bn[E],!0,b)),h!=="margin"&&(O-=p.css(o,"border"+bn[E]+"Width",!0,b))):(O+=p.css(o,"padding"+bn[E],!0,b),h!=="padding"?O+=p.css(o,"border"+bn[E]+"Width",!0,b):I+=p.css(o,"border"+bn[E]+"Width",!0,b));return!g&&w>=0&&(O+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-w-O-I-.5))||0),O+Y}function oa(o,c,h){var g=vs(o),b=!M.boxSizingReliable()||h,w=b&&p.css(o,"boxSizing",!1,g)==="border-box",E=w,I=Ui(o,c,g),O="offset"+c[0].toUpperCase()+c.slice(1);if(ia.test(I)){if(!h)return I;I="auto"}return(!M.boxSizingReliable()&&w||!M.reliableTrDimensions()&&ae(o,"tr")||I==="auto"||!parseFloat(I)&&p.css(o,"display",!1,g)==="inline")&&o.getClientRects().length&&(w=p.css(o,"boxSizing",!1,g)==="border-box",E=O in o,E&&(I=o[O])),I=parseFloat(I)||0,I+aa(o,c,h||(w?"border":"content"),E,g,I)+"px"}p.extend({cssHooks:{opacity:{get:function(o,c){if(c){var h=Ui(o,"opacity");return h===""?"1":h}}}},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(o,c,h,g){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var b,w,E,I=Yt(c),O=sa.test(c),Y=o.style;if(O||(c=bs(I)),E=p.cssHooks[c]||p.cssHooks[I],h!==void 0){if(w=typeof h,w==="string"&&(b=Or.exec(h))&&b[1]&&(h=xo(o,c,b),w="number"),h==null||h!==h)return;w==="number"&&!O&&(h+=b&&b[3]||(p.cssNumber[I]?"":"px")),!M.clearCloneStyle&&h===""&&c.indexOf("background")===0&&(Y[c]="inherit"),(!E||!("set"in E)||(h=E.set(o,h,g))!==void 0)&&(O?Y.setProperty(c,h):Y[c]=h)}else return E&&"get"in E&&(b=E.get(o,!1,g))!==void 0?b:Y[c]}},css:function(o,c,h,g){var b,w,E,I=Yt(c),O=sa.test(c);return O||(c=bs(I)),E=p.cssHooks[c]||p.cssHooks[I],E&&"get"in E&&(b=E.get(o,!0,h)),b===void 0&&(b=Ui(o,c,g)),b==="normal"&&c in Io&&(b=Io[c]),h===""||h?(w=parseFloat(b),h===!0||isFinite(w)?w||0:b):b}}),p.each(["height","width"],function(o,c){p.cssHooks[c]={get:function(h,g,b){if(g)return Lo.test(p.css(h,"display"))&&(!h.getClientRects().length||!h.getBoundingClientRect().width)?ko(h,Xu,function(){return oa(h,c,b)}):oa(h,c,b)},set:function(h,g,b){var w,E=vs(h),I=!M.scrollboxSize()&&E.position==="absolute",O=I||b,Y=O&&p.css(h,"boxSizing",!1,E)==="border-box",X=b?aa(h,c,b,Y,E):0;return Y&&I&&(X-=Math.ceil(h["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(E[c])-aa(h,c,"border",!1,E)-.5)),X&&(w=Or.exec(g))&&(w[3]||"px")!=="px"&&(h.style[c]=g,g=p.css(h,c)),No(h,g,X)}}}),p.cssHooks.marginLeft=Hi(M.reliableMarginLeft,function(o,c){if(c)return(parseFloat(Ui(o,"marginLeft"))||o.getBoundingClientRect().left-ko(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),p.each({margin:"",padding:"",border:"Width"},function(o,c){p.cssHooks[o+c]={expand:function(h){for(var g=0,b={},w=typeof h=="string"?h.split(" "):[h];g<4;g++)b[o+bn[g]+c]=w[g]||w[g-2]||w[0];return b}},o!=="margin"&&(p.cssHooks[o+c].set=No)}),p.fn.extend({css:function(o,c){return Ln(this,function(h,g,b){var w,E,I={},O=0;if(Array.isArray(g)){for(w=vs(h),E=g.length;O<E;O++)I[g[O]]=p.css(h,g[O],!1,w);return I}return b!==void 0?p.style(h,g,b):p.css(h,g)},o,c,arguments.length>1)}});function Bt(o,c,h,g,b){return new Bt.prototype.init(o,c,h,g,b)}p.Tween=Bt,Bt.prototype={constructor:Bt,init:function(o,c,h,g,b,w){this.elem=o,this.prop=h,this.easing=b||p.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=g,this.unit=w||(p.cssNumber[h]?"":"px")},cur:function(){var o=Bt.propHooks[this.prop];return o&&o.get?o.get(this):Bt.propHooks._default.get(this)},run:function(o){var c,h=Bt.propHooks[this.prop];return this.options.duration?this.pos=c=p.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=c=o,this.now=(this.end-this.start)*c+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),h&&h.set?h.set(this):Bt.propHooks._default.set(this),this}},Bt.prototype.init.prototype=Bt.prototype,Bt.propHooks={_default:{get:function(o){var c;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(c=p.css(o.elem,o.prop,""),!c||c==="auto"?0:c)},set:function(o){p.fx.step[o.prop]?p.fx.step[o.prop](o):o.elem.nodeType===1&&(p.cssHooks[o.prop]||o.elem.style[bs(o.prop)]!=null)?p.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},Bt.propHooks.scrollTop=Bt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},p.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},p.fx=Bt.prototype.init,p.fx.step={};var Rr,hi,Ku=/^(?:toggle|show|hide)$/,Fo=/queueHooks$/;function di(){hi&&(F.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(di):t.setTimeout(di,p.fx.interval),p.fx.tick())}function la(){return t.setTimeout(function(){Rr=void 0}),Rr=Date.now()}function ws(o,c){var h,g=0,b={height:o};for(c=c?1:0;g<4;g+=2-c)h=bn[g],b["margin"+h]=b["padding"+h]=o;return c&&(b.opacity=b.width=o),b}function ua(o,c,h){for(var g,b=(wn.tweeners[c]||[]).concat(wn.tweeners["*"]),w=0,E=b.length;w<E;w++)if(g=b[w].call(h,c,o))return g}function Wo(o,c,h){var g,b,w,E,I,O,Y,X,K="width"in c||"height"in c,q=this,le={},pe=o.style,ke=o.nodeType&&li(o),Ae=ve.get(o,"fxshow");h.queue||(E=p._queueHooks(o,"fx"),E.unqueued==null&&(E.unqueued=0,I=E.empty.fire,E.empty.fire=function(){E.unqueued||I()}),E.unqueued++,q.always(function(){q.always(function(){E.unqueued--,p.queue(o,"fx").length||E.empty.fire()})}));for(g in c)if(b=c[g],Ku.test(b)){if(delete c[g],w=w||b==="toggle",b===(ke?"hide":"show"))if(b==="show"&&Ae&&Ae[g]!==void 0)ke=!0;else continue;le[g]=Ae&&Ae[g]||p.style(o,g)}if(O=!p.isEmptyObject(c),!(!O&&p.isEmptyObject(le))){K&&o.nodeType===1&&(h.overflow=[pe.overflow,pe.overflowX,pe.overflowY],Y=Ae&&Ae.display,Y==null&&(Y=ve.get(o,"display")),X=p.css(o,"display"),X==="none"&&(Y?X=Y:(Mr([o],!0),Y=o.style.display||Y,X=p.css(o,"display"),Mr([o]))),(X==="inline"||X==="inline-block"&&Y!=null)&&p.css(o,"float")==="none"&&(O||(q.done(function(){pe.display=Y}),Y==null&&(X=pe.display,Y=X==="none"?"":X)),pe.display="inline-block")),h.overflow&&(pe.overflow="hidden",q.always(function(){pe.overflow=h.overflow[0],pe.overflowX=h.overflow[1],pe.overflowY=h.overflow[2]})),O=!1;for(g in le)O||(Ae?"hidden"in Ae&&(ke=Ae.hidden):Ae=ve.access(o,"fxshow",{display:Y}),w&&(Ae.hidden=!ke),ke&&Mr([o],!0),q.done(function(){ke||Mr([o]),ve.remove(o,"fxshow");for(g in le)p.style(o,g,le[g])})),O=ua(ke?Ae[g]:0,g,q),g in Ae||(Ae[g]=O.start,ke&&(O.end=O.start,O.start=0))}}function ca(o,c){var h,g,b,w,E;for(h in o)if(g=Yt(h),b=c[g],w=o[h],Array.isArray(w)&&(b=w[1],w=o[h]=w[0]),h!==g&&(o[g]=w,delete o[h]),E=p.cssHooks[g],E&&"expand"in E){w=E.expand(w),delete o[g];for(h in w)h in o||(o[h]=w[h],c[h]=b)}else c[g]=b}function wn(o,c,h){var g,b,w=0,E=wn.prefilters.length,I=p.Deferred().always(function(){delete O.elem}),O=function(){if(b)return!1;for(var K=Rr||la(),q=Math.max(0,Y.startTime+Y.duration-K),le=q/Y.duration||0,pe=1-le,ke=0,Ae=Y.tweens.length;ke<Ae;ke++)Y.tweens[ke].run(pe);return I.notifyWith(o,[Y,pe,q]),pe<1&&Ae?q:(Ae||I.notifyWith(o,[Y,1,0]),I.resolveWith(o,[Y]),!1)},Y=I.promise({elem:o,props:p.extend({},c),opts:p.extend(!0,{specialEasing:{},easing:p.easing._default},h),originalProperties:c,originalOptions:h,startTime:Rr||la(),duration:h.duration,tweens:[],createTween:function(K,q){var le=p.Tween(o,Y.opts,K,q,Y.opts.specialEasing[K]||Y.opts.easing);return Y.tweens.push(le),le},stop:function(K){var q=0,le=K?Y.tweens.length:0;if(b)return this;for(b=!0;q<le;q++)Y.tweens[q].run(1);return K?(I.notifyWith(o,[Y,1,0]),I.resolveWith(o,[Y,K])):I.rejectWith(o,[Y,K]),this}}),X=Y.props;for(ca(X,Y.opts.specialEasing);w<E;w++)if(g=wn.prefilters[w].call(Y,o,X,Y.opts),g)return R(g.stop)&&(p._queueHooks(Y.elem,Y.opts.queue).stop=g.stop.bind(g)),g;return p.map(X,ua,Y),R(Y.opts.start)&&Y.opts.start.call(o,Y),Y.progress(Y.opts.progress).done(Y.opts.done,Y.opts.complete).fail(Y.opts.fail).always(Y.opts.always),p.fx.timer(p.extend(O,{elem:o,anim:Y,queue:Y.opts.queue})),Y}p.Animation=p.extend(wn,{tweeners:{"*":[function(o,c){var h=this.createTween(o,c);return xo(h.elem,o,Or.exec(c),h),h}]},tweener:function(o,c){R(o)?(c=o,o=["*"]):o=o.match(Et);for(var h,g=0,b=o.length;g<b;g++)h=o[g],wn.tweeners[h]=wn.tweeners[h]||[],wn.tweeners[h].unshift(c)},prefilters:[Wo],prefilter:function(o,c){c?wn.prefilters.unshift(o):wn.prefilters.push(o)}}),p.speed=function(o,c,h){var g=o&&typeof o=="object"?p.extend({},o):{complete:h||!h&&c||R(o)&&o,duration:o,easing:h&&c||c&&!R(c)&&c};return p.fx.off?g.duration=0:typeof g.duration!="number"&&(g.duration in p.fx.speeds?g.duration=p.fx.speeds[g.duration]:g.duration=p.fx.speeds._default),(g.queue==null||g.queue===!0)&&(g.queue="fx"),g.old=g.complete,g.complete=function(){R(g.old)&&g.old.call(this),g.queue&&p.dequeue(this,g.queue)},g},p.fn.extend({fadeTo:function(o,c,h,g){return this.filter(li).css("opacity",0).show().end().animate({opacity:c},o,h,g)},animate:function(o,c,h,g){var b=p.isEmptyObject(o),w=p.speed(c,h,g),E=function(){var I=wn(this,p.extend({},o),w);(b||ve.get(this,"finish"))&&I.stop(!0)};return E.finish=E,b||w.queue===!1?this.each(E):this.queue(w.queue,E)},stop:function(o,c,h){var g=function(b){var w=b.stop;delete b.stop,w(h)};return typeof o!="string"&&(h=c,c=o,o=void 0),c&&this.queue(o||"fx",[]),this.each(function(){var b=!0,w=o!=null&&o+"queueHooks",E=p.timers,I=ve.get(this);if(w)I[w]&&I[w].stop&&g(I[w]);else for(w in I)I[w]&&I[w].stop&&Fo.test(w)&&g(I[w]);for(w=E.length;w--;)E[w].elem===this&&(o==null||E[w].queue===o)&&(E[w].anim.stop(h),b=!1,E.splice(w,1));(b||!h)&&p.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var c,h=ve.get(this),g=h[o+"queue"],b=h[o+"queueHooks"],w=p.timers,E=g?g.length:0;for(h.finish=!0,p.queue(this,o,[]),b&&b.stop&&b.stop.call(this,!0),c=w.length;c--;)w[c].elem===this&&w[c].queue===o&&(w[c].anim.stop(!0),w.splice(c,1));for(c=0;c<E;c++)g[c]&&g[c].finish&&g[c].finish.call(this);delete h.finish})}}),p.each(["toggle","show","hide"],function(o,c){var h=p.fn[c];p.fn[c]=function(g,b,w){return g==null||typeof g=="boolean"?h.apply(this,arguments):this.animate(ws(c,!0),g,b,w)}}),p.each({slideDown:ws("show"),slideUp:ws("hide"),slideToggle:ws("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,c){p.fn[o]=function(h,g,b){return this.animate(c,h,g,b)}}),p.timers=[],p.fx.tick=function(){var o,c=0,h=p.timers;for(Rr=Date.now();c<h.length;c++)o=h[c],!o()&&h[c]===o&&h.splice(c--,1);h.length||p.fx.stop(),Rr=void 0},p.fx.timer=function(o){p.timers.push(o),p.fx.start()},p.fx.interval=13,p.fx.start=function(){hi||(hi=!0,di())},p.fx.stop=function(){hi=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(o,c){return o=p.fx&&p.fx.speeds[o]||o,c=c||"fx",this.queue(c,function(h,g){var b=t.setTimeout(h,o);g.stop=function(){t.clearTimeout(b)}})},function(){var o=F.createElement("input"),c=F.createElement("select"),h=c.appendChild(F.createElement("option"));o.type="checkbox",M.checkOn=o.value!=="",M.optSelected=h.selected,o=F.createElement("input"),o.value="t",o.type="radio",M.radioValue=o.value==="t"}();var fa,Lr=p.expr.attrHandle;p.fn.extend({attr:function(o,c){return Ln(this,p.attr,o,c,arguments.length>1)},removeAttr:function(o){return this.each(function(){p.removeAttr(this,o)})}}),p.extend({attr:function(o,c,h){var g,b,w=o.nodeType;if(!(w===3||w===8||w===2)){if(typeof o.getAttribute>"u")return p.prop(o,c,h);if((w!==1||!p.isXMLDoc(o))&&(b=p.attrHooks[c.toLowerCase()]||(p.expr.match.bool.test(c)?fa:void 0)),h!==void 0){if(h===null){p.removeAttr(o,c);return}return b&&"set"in b&&(g=b.set(o,h,c))!==void 0?g:(o.setAttribute(c,h+""),h)}return b&&"get"in b&&(g=b.get(o,c))!==null?g:(g=p.find.attr(o,c),g??void 0)}},attrHooks:{type:{set:function(o,c){if(!M.radioValue&&c==="radio"&&ae(o,"input")){var h=o.value;return o.setAttribute("type",c),h&&(o.value=h),c}}}},removeAttr:function(o,c){var h,g=0,b=c&&c.match(Et);if(b&&o.nodeType===1)for(;h=b[g++];)o.removeAttribute(h)}}),fa={set:function(o,c,h){return c===!1?p.removeAttr(o,h):o.setAttribute(h,h),h}},p.each(p.expr.match.bool.source.match(/\w+/g),function(o,c){var h=Lr[c]||p.find.attr;Lr[c]=function(g,b,w){var E,I,O=b.toLowerCase();return w||(I=Lr[O],Lr[O]=E,E=h(g,b,w)!=null?O:null,Lr[O]=I),E}});var ha=/^(?:input|select|textarea|button)$/i,pi=/^(?:a|area)$/i;p.fn.extend({prop:function(o,c){return Ln(this,p.prop,o,c,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[p.propFix[o]||o]})}}),p.extend({prop:function(o,c,h){var g,b,w=o.nodeType;if(!(w===3||w===8||w===2))return(w!==1||!p.isXMLDoc(o))&&(c=p.propFix[c]||c,b=p.propHooks[c]),h!==void 0?b&&"set"in b&&(g=b.set(o,h,c))!==void 0?g:o[c]=h:b&&"get"in b&&(g=b.get(o,c))!==null?g:o[c]},propHooks:{tabIndex:{get:function(o){var c=p.find.attr(o,"tabindex");return c?parseInt(c,10):ha.test(o.nodeName)||pi.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),M.optSelected||(p.propHooks.selected={get:function(o){var c=o.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(o){var c=o.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){p.propFix[this.toLowerCase()]=this});function hr(o){var c=o.match(Et)||[];return c.join(" ")}function dr(o){return o.getAttribute&&o.getAttribute("class")||""}function da(o){return Array.isArray(o)?o:typeof o=="string"?o.match(Et)||[]:[]}p.fn.extend({addClass:function(o){var c,h,g,b,w,E;return R(o)?this.each(function(I){p(this).addClass(o.call(this,I,dr(this)))}):(c=da(o),c.length?this.each(function(){if(g=dr(this),h=this.nodeType===1&&" "+hr(g)+" ",h){for(w=0;w<c.length;w++)b=c[w],h.indexOf(" "+b+" ")<0&&(h+=b+" ");E=hr(h),g!==E&&this.setAttribute("class",E)}}):this)},removeClass:function(o){var c,h,g,b,w,E;return R(o)?this.each(function(I){p(this).removeClass(o.call(this,I,dr(this)))}):arguments.length?(c=da(o),c.length?this.each(function(){if(g=dr(this),h=this.nodeType===1&&" "+hr(g)+" ",h){for(w=0;w<c.length;w++)for(b=c[w];h.indexOf(" "+b+" ")>-1;)h=h.replace(" "+b+" "," ");E=hr(h),g!==E&&this.setAttribute("class",E)}}):this):this.attr("class","")},toggleClass:function(o,c){var h,g,b,w,E=typeof o,I=E==="string"||Array.isArray(o);return R(o)?this.each(function(O){p(this).toggleClass(o.call(this,O,dr(this),c),c)}):typeof c=="boolean"&&I?c?this.addClass(o):this.removeClass(o):(h=da(o),this.each(function(){if(I)for(w=p(this),b=0;b<h.length;b++)g=h[b],w.hasClass(g)?w.removeClass(g):w.addClass(g);else(o===void 0||E==="boolean")&&(g=dr(this),g&&ve.set(this,"__className__",g),this.setAttribute&&this.setAttribute("class",g||o===!1?"":ve.get(this,"__className__")||""))}))},hasClass:function(o){var c,h,g=0;for(c=" "+o+" ";h=this[g++];)if(h.nodeType===1&&(" "+hr(dr(h))+" ").indexOf(c)>-1)return!0;return!1}});var Bo=/\r/g;p.fn.extend({val:function(o){var c,h,g,b=this[0];return arguments.length?(g=R(o),this.each(function(w){var E;this.nodeType===1&&(g?E=o.call(this,w,p(this).val()):E=o,E==null?E="":typeof E=="number"?E+="":Array.isArray(E)&&(E=p.map(E,function(I){return I==null?"":I+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,E,"value")===void 0)&&(this.value=E))})):b?(c=p.valHooks[b.type]||p.valHooks[b.nodeName.toLowerCase()],c&&"get"in c&&(h=c.get(b,"value"))!==void 0?h:(h=b.value,typeof h=="string"?h.replace(Bo,""):h??"")):void 0}}),p.extend({valHooks:{option:{get:function(o){var c=p.find.attr(o,"value");return c??hr(p.text(o))}},select:{get:function(o){var c,h,g,b=o.options,w=o.selectedIndex,E=o.type==="select-one",I=E?null:[],O=E?w+1:b.length;for(w<0?g=O:g=E?w:0;g<O;g++)if(h=b[g],(h.selected||g===w)&&!h.disabled&&(!h.parentNode.disabled||!ae(h.parentNode,"optgroup"))){if(c=p(h).val(),E)return c;I.push(c)}return I},set:function(o,c){for(var h,g,b=o.options,w=p.makeArray(c),E=b.length;E--;)g=b[E],(g.selected=p.inArray(p.valHooks.option.get(g),w)>-1)&&(h=!0);return h||(o.selectedIndex=-1),w}}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]={set:function(o,c){if(Array.isArray(c))return o.checked=p.inArray(p(o).val(),c)>-1}},M.checkOn||(p.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var mi=t.location,pa={guid:Date.now()},_s=/\?/;p.parseXML=function(o){var c,h;if(!o||typeof o!="string")return null;try{c=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return h=c&&c.getElementsByTagName("parsererror")[0],(!c||h)&&p.error("Invalid XML: "+(h?p.map(h.childNodes,function(g){return g.textContent}).join(`
|
|
83
|
-
`):o)),c};var jo=/^(?:focusinfocus|focusoutblur)$/,Vo=function(o){o.stopPropagation()};p.extend(p.event,{trigger:function(o,c,h,g){var b,w,E,I,O,Y,X,K,q=[h||F],le=x.call(o,"type")?o.type:o,pe=x.call(o,"namespace")?o.namespace.split("."):[];if(w=K=E=h=h||F,!(h.nodeType===3||h.nodeType===8)&&!jo.test(le+p.event.triggered)&&(le.indexOf(".")>-1&&(pe=le.split("."),le=pe.shift(),pe.sort()),O=le.indexOf(":")<0&&"on"+le,o=o[p.expando]?o:new p.Event(le,typeof o=="object"&&o),o.isTrigger=g?2:3,o.namespace=pe.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+pe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=h),c=c==null?[o]:p.makeArray(c,[o]),X=p.event.special[le]||{},!(!g&&X.trigger&&X.trigger.apply(h,c)===!1))){if(!g&&!X.noBubble&&!H(h)){for(I=X.delegateType||le,jo.test(I+le)||(w=w.parentNode);w;w=w.parentNode)q.push(w),E=w;E===(h.ownerDocument||F)&&q.push(E.defaultView||E.parentWindow||t)}for(b=0;(w=q[b++])&&!o.isPropagationStopped();)K=w,o.type=b>1?I:X.bindType||le,Y=(ve.get(w,"events")||Object.create(null))[o.type]&&ve.get(w,"handle"),Y&&Y.apply(w,c),Y=O&&w[O],Y&&Y.apply&&ur(w)&&(o.result=Y.apply(w,c),o.result===!1&&o.preventDefault());return o.type=le,!g&&!o.isDefaultPrevented()&&(!X._default||X._default.apply(q.pop(),c)===!1)&&ur(h)&&O&&R(h[le])&&!H(h)&&(E=h[O],E&&(h[O]=null),p.event.triggered=le,o.isPropagationStopped()&&K.addEventListener(le,Vo),h[le](),o.isPropagationStopped()&&K.removeEventListener(le,Vo),p.event.triggered=void 0,E&&(h[O]=E)),o.result}},simulate:function(o,c,h){var g=p.extend(new p.Event,h,{type:o,isSimulated:!0});p.event.trigger(g,null,c)}}),p.fn.extend({trigger:function(o,c){return this.each(function(){p.event.trigger(o,c,this)})},triggerHandler:function(o,c){var h=this[0];if(h)return p.event.trigger(o,c,h,!0)}});var Zu=/\[\]$/,ma=/\r?\n/g,Ju=/^(?:submit|button|image|reset|file)$/i,Qu=/^(?:input|select|textarea|keygen)/i;function ga(o,c,h,g){var b;if(Array.isArray(c))p.each(c,function(w,E){h||Zu.test(o)?g(o,E):ga(o+"["+(typeof E=="object"&&E!=null?w:"")+"]",E,h,g)});else if(!h&&oe(c)==="object")for(b in c)ga(o+"["+b+"]",c[b],h,g);else g(o,c)}p.param=function(o,c){var h,g=[],b=function(w,E){var I=R(E)?E():E;g[g.length]=encodeURIComponent(w)+"="+encodeURIComponent(I??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!p.isPlainObject(o))p.each(o,function(){b(this.name,this.value)});else for(h in o)ga(h,o[h],c,b);return g.join("&")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=p.prop(this,"elements");return o?p.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!p(this).is(":disabled")&&Qu.test(this.nodeName)&&!Ju.test(o)&&(this.checked||!ui.test(o))}).map(function(o,c){var h=p(this).val();return h==null?null:Array.isArray(h)?p.map(h,function(g){return{name:c.name,value:g.replace(ma,`\r
|
|
84
|
-
`)}}):{name:c.name,value:h.replace(ma,`\r
|
|
85
|
-
`)}}).get()}});var ec=/%20/g,ya=/#.*$/,tc=/([?&])_=[^&]*/,nc=/^(.*?):[ \t]*([^\r\n]*)$/mg,rc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ic=/^(?:GET|HEAD)$/,sc=/^\/\//,rt={},Je={},Yo="*/".concat("*"),va=F.createElement("a");va.href=mi.href;function Uo(o){return function(c,h){typeof c!="string"&&(h=c,c="*");var g,b=0,w=c.toLowerCase().match(Et)||[];if(R(h))for(;g=w[b++];)g[0]==="+"?(g=g.slice(1)||"*",(o[g]=o[g]||[]).unshift(h)):(o[g]=o[g]||[]).push(h)}}function Ho(o,c,h,g){var b={},w=o===Je;function E(I){var O;return b[I]=!0,p.each(o[I]||[],function(Y,X){var K=X(c,h,g);if(typeof K=="string"&&!w&&!b[K])return c.dataTypes.unshift(K),E(K),!1;if(w)return!(O=K)}),O}return E(c.dataTypes[0])||!b["*"]&&E("*")}function xa(o,c){var h,g,b=p.ajaxSettings.flatOptions||{};for(h in c)c[h]!==void 0&&((b[h]?o:g||(g={}))[h]=c[h]);return g&&p.extend(!0,o,g),o}function ac(o,c,h){for(var g,b,w,E,I=o.contents,O=o.dataTypes;O[0]==="*";)O.shift(),g===void 0&&(g=o.mimeType||c.getResponseHeader("Content-Type"));if(g){for(b in I)if(I[b]&&I[b].test(g)){O.unshift(b);break}}if(O[0]in h)w=O[0];else{for(b in h){if(!O[0]||o.converters[b+" "+O[0]]){w=b;break}E||(E=b)}w=w||E}if(w)return w!==O[0]&&O.unshift(w),h[w]}function zo(o,c,h,g){var b,w,E,I,O,Y={},X=o.dataTypes.slice();if(X[1])for(E in o.converters)Y[E.toLowerCase()]=o.converters[E];for(w=X.shift();w;)if(o.responseFields[w]&&(h[o.responseFields[w]]=c),!O&&g&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),O=w,w=X.shift(),w){if(w==="*")w=O;else if(O!=="*"&&O!==w){if(E=Y[O+" "+w]||Y["* "+w],!E){for(b in Y)if(I=b.split(" "),I[1]===w&&(E=Y[O+" "+I[0]]||Y["* "+I[0]],E)){E===!0?E=Y[b]:Y[b]!==!0&&(w=I[0],X.unshift(I[1]));break}}if(E!==!0)if(E&&o.throws)c=E(c);else try{c=E(c)}catch(K){return{state:"parsererror",error:E?K:"No conversion from "+O+" to "+w}}}}return{state:"success",data:c}}p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mi.href,type:"GET",isLocal:rc.test(mi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yo,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":p.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,c){return c?xa(xa(o,p.ajaxSettings),c):xa(p.ajaxSettings,o)},ajaxPrefilter:Uo(rt),ajaxTransport:Uo(Je),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var h,g,b,w,E,I,O,Y,X,K,q=p.ajaxSetup({},c),le=q.context||q,pe=q.context&&(le.nodeType||le.jquery)?p(le):p.event,ke=p.Deferred(),Ae=p.Callbacks("once memory"),kt=q.statusCode||{},dt={},In={},Nn="canceled",Be={readyState:0,getResponseHeader:function(je){var nt;if(O){if(!w)for(w={};nt=nc.exec(b);)w[nt[1].toLowerCase()+" "]=(w[nt[1].toLowerCase()+" "]||[]).concat(nt[2]);nt=w[je.toLowerCase()+" "]}return nt==null?null:nt.join(", ")},getAllResponseHeaders:function(){return O?b:null},setRequestHeader:function(je,nt){return O==null&&(je=In[je.toLowerCase()]=In[je.toLowerCase()]||je,dt[je]=nt),this},overrideMimeType:function(je){return O==null&&(q.mimeType=je),this},statusCode:function(je){var nt;if(je)if(O)Be.always(je[Be.status]);else for(nt in je)kt[nt]=[kt[nt],je[nt]];return this},abort:function(je){var nt=je||Nn;return h&&h.abort(nt),pr(0,nt),this}};if(ke.promise(Be),q.url=((o||q.url||mi.href)+"").replace(sc,mi.protocol+"//"),q.type=c.method||c.type||q.method||q.type,q.dataTypes=(q.dataType||"*").toLowerCase().match(Et)||[""],q.crossDomain==null){I=F.createElement("a");try{I.href=q.url,I.href=I.href,q.crossDomain=va.protocol+"//"+va.host!=I.protocol+"//"+I.host}catch{q.crossDomain=!0}}if(q.data&&q.processData&&typeof q.data!="string"&&(q.data=p.param(q.data,q.traditional)),Ho(rt,q,c,Be),O)return Be;Y=p.event&&q.global,Y&&p.active++===0&&p.event.trigger("ajaxStart"),q.type=q.type.toUpperCase(),q.hasContent=!ic.test(q.type),g=q.url.replace(ya,""),q.hasContent?q.data&&q.processData&&(q.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(q.data=q.data.replace(ec,"+")):(K=q.url.slice(g.length),q.data&&(q.processData||typeof q.data=="string")&&(g+=(_s.test(g)?"&":"?")+q.data,delete q.data),q.cache===!1&&(g=g.replace(tc,"$1"),K=(_s.test(g)?"&":"?")+"_="+pa.guid+++K),q.url=g+K),q.ifModified&&(p.lastModified[g]&&Be.setRequestHeader("If-Modified-Since",p.lastModified[g]),p.etag[g]&&Be.setRequestHeader("If-None-Match",p.etag[g])),(q.data&&q.hasContent&&q.contentType!==!1||c.contentType)&&Be.setRequestHeader("Content-Type",q.contentType),Be.setRequestHeader("Accept",q.dataTypes[0]&&q.accepts[q.dataTypes[0]]?q.accepts[q.dataTypes[0]]+(q.dataTypes[0]!=="*"?", "+Yo+"; q=0.01":""):q.accepts["*"]);for(X in q.headers)Be.setRequestHeader(X,q.headers[X]);if(q.beforeSend&&(q.beforeSend.call(le,Be,q)===!1||O))return Be.abort();if(Nn="abort",Ae.add(q.complete),Be.done(q.success),Be.fail(q.error),h=Ho(Je,q,c,Be),!h)pr(-1,"No Transport");else{if(Be.readyState=1,Y&&pe.trigger("ajaxSend",[Be,q]),O)return Be;q.async&&q.timeout>0&&(E=t.setTimeout(function(){Be.abort("timeout")},q.timeout));try{O=!1,h.send(dt,pr)}catch(je){if(O)throw je;pr(-1,je)}}function pr(je,nt,zi,Es){var _n,Ir,cn,Jn,mr,zt=nt;O||(O=!0,E&&t.clearTimeout(E),h=void 0,b=Es||"",Be.readyState=je>0?4:0,_n=je>=200&&je<300||je===304,zi&&(Jn=ac(q,Be,zi)),!_n&&p.inArray("script",q.dataTypes)>-1&&p.inArray("json",q.dataTypes)<0&&(q.converters["text script"]=function(){}),Jn=zo(q,Jn,Be,_n),_n?(q.ifModified&&(mr=Be.getResponseHeader("Last-Modified"),mr&&(p.lastModified[g]=mr),mr=Be.getResponseHeader("etag"),mr&&(p.etag[g]=mr)),je===204||q.type==="HEAD"?zt="nocontent":je===304?zt="notmodified":(zt=Jn.state,Ir=Jn.data,cn=Jn.error,_n=!cn)):(cn=zt,(je||!zt)&&(zt="error",je<0&&(je=0))),Be.status=je,Be.statusText=(nt||zt)+"",_n?ke.resolveWith(le,[Ir,zt,Be]):ke.rejectWith(le,[Be,zt,cn]),Be.statusCode(kt),kt=void 0,Y&&pe.trigger(_n?"ajaxSuccess":"ajaxError",[Be,q,_n?Ir:cn]),Ae.fireWith(le,[Be,zt]),Y&&(pe.trigger("ajaxComplete",[Be,q]),--p.active||p.event.trigger("ajaxStop")))}return Be},getJSON:function(o,c,h){return p.get(o,c,h,"json")},getScript:function(o,c){return p.get(o,void 0,c,"script")}}),p.each(["get","post"],function(o,c){p[c]=function(h,g,b,w){return R(g)&&(w=w||b,b=g,g=void 0),p.ajax(p.extend({url:h,type:c,dataType:w,data:g,success:b},p.isPlainObject(h)&&h))}}),p.ajaxPrefilter(function(o){var c;for(c in o.headers)c.toLowerCase()==="content-type"&&(o.contentType=o.headers[c]||"")}),p._evalUrl=function(o,c,h){return p.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(g){p.globalEval(g,c,h)}})},p.fn.extend({wrapAll:function(o){var c;return this[0]&&(R(o)&&(o=o.call(this[0])),c=p(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var h=this;h.firstElementChild;)h=h.firstElementChild;return h}).append(this)),this},wrapInner:function(o){return R(o)?this.each(function(c){p(this).wrapInner(o.call(this,c))}):this.each(function(){var c=p(this),h=c.contents();h.length?h.wrapAll(o):c.append(o)})},wrap:function(o){var c=R(o);return this.each(function(h){p(this).wrapAll(c?o.call(this,h):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){p(this).replaceWith(this.childNodes)}),this}}),p.expr.pseudos.hidden=function(o){return!p.expr.pseudos.visible(o)},p.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},p.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var oc={0:200,1223:204},ht=p.ajaxSettings.xhr();M.cors=!!ht&&"withCredentials"in ht,M.ajax=ht=!!ht,p.ajaxTransport(function(o){var c,h;if(M.cors||ht&&!o.crossDomain)return{send:function(g,b){var w,E=o.xhr();if(E.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(w in o.xhrFields)E[w]=o.xhrFields[w];o.mimeType&&E.overrideMimeType&&E.overrideMimeType(o.mimeType),!o.crossDomain&&!g["X-Requested-With"]&&(g["X-Requested-With"]="XMLHttpRequest");for(w in g)E.setRequestHeader(w,g[w]);c=function(I){return function(){c&&(c=h=E.onload=E.onerror=E.onabort=E.ontimeout=E.onreadystatechange=null,I==="abort"?E.abort():I==="error"?typeof E.status!="number"?b(0,"error"):b(E.status,E.statusText):b(oc[E.status]||E.status,E.statusText,(E.responseType||"text")!=="text"||typeof E.responseText!="string"?{binary:E.response}:{text:E.responseText},E.getAllResponseHeaders()))}},E.onload=c(),h=E.onerror=E.ontimeout=c("error"),E.onabort!==void 0?E.onabort=h:E.onreadystatechange=function(){E.readyState===4&&t.setTimeout(function(){c&&h()})},c=c("abort");try{E.send(o.hasContent&&o.data||null)}catch(I){if(c)throw I}},abort:function(){c&&c()}}}),p.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return p.globalEval(o),o}}}),p.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),p.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var c,h;return{send:function(g,b){c=p("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",h=function(w){c.remove(),h=null,w&&b(w.type==="error"?404:200,w.type)}),F.head.appendChild(c[0])},abort:function(){h&&h()}}}});var Ss=[],Zn=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=Ss.pop()||p.expando+"_"+pa.guid++;return this[o]=!0,o}}),p.ajaxPrefilter("json jsonp",function(o,c,h){var g,b,w,E=o.jsonp!==!1&&(Zn.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Zn.test(o.data)&&"data");if(E||o.dataTypes[0]==="jsonp")return g=o.jsonpCallback=R(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,E?o[E]=o[E].replace(Zn,"$1"+g):o.jsonp!==!1&&(o.url+=(_s.test(o.url)?"&":"?")+o.jsonp+"="+g),o.converters["script json"]=function(){return w||p.error(g+" was not called"),w[0]},o.dataTypes[0]="json",b=t[g],t[g]=function(){w=arguments},h.always(function(){b===void 0?p(t).removeProp(g):t[g]=b,o[g]&&(o.jsonpCallback=c.jsonpCallback,Ss.push(g)),w&&R(b)&&b(w[0]),w=b=void 0}),"script"}),M.createHTMLDocument=function(){var o=F.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),p.parseHTML=function(o,c,h){if(typeof o!="string")return[];typeof c=="boolean"&&(h=c,c=!1);var g,b,w;return c||(M.createHTMLDocument?(c=F.implementation.createHTMLDocument(""),g=c.createElement("base"),g.href=F.location.href,c.head.appendChild(g)):c=F),b=st.exec(o),w=!h&&[],b?[c.createElement(b[1])]:(b=So([o],c,w),w&&w.length&&p(w).remove(),p.merge([],b.childNodes))},p.fn.load=function(o,c,h){var g,b,w,E=this,I=o.indexOf(" ");return I>-1&&(g=hr(o.slice(I)),o=o.slice(0,I)),R(c)?(h=c,c=void 0):c&&typeof c=="object"&&(b="POST"),E.length>0&&p.ajax({url:o,type:b||"GET",dataType:"html",data:c}).done(function(O){w=arguments,E.html(g?p("<div>").append(p.parseHTML(O)).find(g):O)}).always(h&&function(O,Y){E.each(function(){h.apply(this,w||[O.responseText,Y,O])})}),this},p.expr.pseudos.animated=function(o){return p.grep(p.timers,function(c){return o===c.elem}).length},p.offset={setOffset:function(o,c,h){var g,b,w,E,I,O,Y,X=p.css(o,"position"),K=p(o),q={};X==="static"&&(o.style.position="relative"),I=K.offset(),w=p.css(o,"top"),O=p.css(o,"left"),Y=(X==="absolute"||X==="fixed")&&(w+O).indexOf("auto")>-1,Y?(g=K.position(),E=g.top,b=g.left):(E=parseFloat(w)||0,b=parseFloat(O)||0),R(c)&&(c=c.call(o,h,p.extend({},I))),c.top!=null&&(q.top=c.top-I.top+E),c.left!=null&&(q.left=c.left-I.left+b),"using"in c?c.using.call(o,q):K.css(q)}},p.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(b){p.offset.setOffset(this,o,b)});var c,h,g=this[0];if(g)return g.getClientRects().length?(c=g.getBoundingClientRect(),h=g.ownerDocument.defaultView,{top:c.top+h.pageYOffset,left:c.left+h.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,c,h,g=this[0],b={top:0,left:0};if(p.css(g,"position")==="fixed")c=g.getBoundingClientRect();else{for(c=this.offset(),h=g.ownerDocument,o=g.offsetParent||h.documentElement;o&&(o===h.body||o===h.documentElement)&&p.css(o,"position")==="static";)o=o.parentNode;o&&o!==g&&o.nodeType===1&&(b=p(o).offset(),b.top+=p.css(o,"borderTopWidth",!0),b.left+=p.css(o,"borderLeftWidth",!0))}return{top:c.top-b.top-p.css(g,"marginTop",!0),left:c.left-b.left-p.css(g,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&p.css(o,"position")==="static";)o=o.offsetParent;return o||Kn})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,c){var h=c==="pageYOffset";p.fn[o]=function(g){return Ln(this,function(b,w,E){var I;if(H(b)?I=b:b.nodeType===9&&(I=b.defaultView),E===void 0)return I?I[c]:b[w];I?I.scrollTo(h?I.pageXOffset:E,h?E:I.pageYOffset):b[w]=E},o,g,arguments.length)}}),p.each(["top","left"],function(o,c){p.cssHooks[c]=Hi(M.pixelPosition,function(h,g){if(g)return g=Ui(h,c),ia.test(g)?p(h).position()[c]+"px":g})}),p.each({Height:"height",Width:"width"},function(o,c){p.each({padding:"inner"+o,content:c,"":"outer"+o},function(h,g){p.fn[g]=function(b,w){var E=arguments.length&&(h||typeof b!="boolean"),I=h||(b===!0||w===!0?"margin":"border");return Ln(this,function(O,Y,X){var K;return H(O)?g.indexOf("outer")===0?O["inner"+o]:O.document.documentElement["client"+o]:O.nodeType===9?(K=O.documentElement,Math.max(O.body["scroll"+o],K["scroll"+o],O.body["offset"+o],K["offset"+o],K["client"+o])):X===void 0?p.css(O,Y,I):p.style(O,Y,X,I)},c,E?b:void 0,E)}})}),p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,c){p.fn[c]=function(h){return this.on(c,h)}}),p.fn.extend({bind:function(o,c,h){return this.on(o,null,c,h)},unbind:function(o,c){return this.off(o,null,c)},delegate:function(o,c,h,g){return this.on(c,o,h,g)},undelegate:function(o,c,h){return arguments.length===1?this.off(o,"**"):this.off(c,o||"**",h)},hover:function(o,c){return this.on("mouseenter",o).on("mouseleave",c||o)}}),p.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(o,c){p.fn[c]=function(h,g){return arguments.length>0?this.on(c,null,h,g):this.trigger(c)}});var qo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;p.proxy=function(o,c){var h,g,b;if(typeof c=="string"&&(h=o[c],c=o,o=h),!!R(o))return g=l.call(arguments,2),b=function(){return o.apply(c||this,g.concat(l.call(arguments)))},b.guid=o.guid=o.guid||p.guid++,b},p.holdReady=function(o){o?p.readyWait++:p.ready(!0)},p.isArray=Array.isArray,p.parseJSON=JSON.parse,p.nodeName=ae,p.isFunction=R,p.isWindow=H,p.camelCase=Yt,p.type=oe,p.now=Date.now,p.isNumeric=function(o){var c=p.type(o);return(c==="number"||c==="string")&&!isNaN(o-parseFloat(o))},p.trim=function(o){return o==null?"":(o+"").replace(qo,"$1")};var ba=t.jQuery,un=t.$;return p.noConflict=function(o){return t.$===p&&(t.$=un),o&&t.jQuery===p&&(t.jQuery=ba),p},typeof n>"u"&&(t.jQuery=t.$=p),p})}(Pf)),Pf.exports}var DI=z0();const TI=V.getDefaultExportFromCjs(DI);var CI={exports:{}};const AI=V.getAugmentedNamespace(EI);/**
|
|
86
|
-
* @version: 3.1
|
|
87
|
-
* @author: Dan Grossman http://www.dangrossman.info/
|
|
88
|
-
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
|
|
89
|
-
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
90
|
-
* @website: http://www.daterangepicker.com/
|
|
91
|
-
*/(function(e){(function(t,n){if(e.exports){var i=typeof window<"u"?window.jQuery:void 0;i||(i=z0(),i.fn||(i.fn={}));var a=typeof window<"u"&&typeof window.moment<"u"?window.moment:AI;e.exports=n(a,i)}else t.daterangepicker=n(t.moment,t.jQuery)})(V.commonjsGlobal,function(t,n){var i=function(a,l,f){if(this.parentEl="body",this.element=n(a),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof l!="object"||l===null)&&(l={}),l=n.extend(this.element.data(),l),typeof l.template!="string"&&!(l.template instanceof n)&&(l.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=l.parentEl&&n(l.parentEl).length?n(l.parentEl):n(this.parentEl),this.container=n(l.template).appendTo(this.parentEl),typeof l.locale=="object"&&(typeof l.locale.direction=="string"&&(this.locale.direction=l.locale.direction),typeof l.locale.format=="string"&&(this.locale.format=l.locale.format),typeof l.locale.separator=="string"&&(this.locale.separator=l.locale.separator),typeof l.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=l.locale.daysOfWeek.slice()),typeof l.locale.monthNames=="object"&&(this.locale.monthNames=l.locale.monthNames.slice()),typeof l.locale.firstDay=="number"&&(this.locale.firstDay=l.locale.firstDay),typeof l.locale.applyLabel=="string"&&(this.locale.applyLabel=l.locale.applyLabel),typeof l.locale.cancelLabel=="string"&&(this.locale.cancelLabel=l.locale.cancelLabel),typeof l.locale.weekLabel=="string"&&(this.locale.weekLabel=l.locale.weekLabel),typeof l.locale.customRangeLabel=="string")){var d=document.createElement("textarea");d.innerHTML=l.locale.customRangeLabel;var y=d.value;this.locale.customRangeLabel=y}if(this.container.addClass(this.locale.direction),typeof l.startDate=="string"&&(this.startDate=t(l.startDate,this.locale.format)),typeof l.endDate=="string"&&(this.endDate=t(l.endDate,this.locale.format)),typeof l.minDate=="string"&&(this.minDate=t(l.minDate,this.locale.format)),typeof l.maxDate=="string"&&(this.maxDate=t(l.maxDate,this.locale.format)),typeof l.startDate=="object"&&(this.startDate=t(l.startDate)),typeof l.endDate=="object"&&(this.endDate=t(l.endDate)),typeof l.minDate=="object"&&(this.minDate=t(l.minDate)),typeof l.maxDate=="object"&&(this.maxDate=t(l.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof l.applyButtonClasses=="string"&&(this.applyButtonClasses=l.applyButtonClasses),typeof l.applyClass=="string"&&(this.applyButtonClasses=l.applyClass),typeof l.cancelButtonClasses=="string"&&(this.cancelButtonClasses=l.cancelButtonClasses),typeof l.cancelClass=="string"&&(this.cancelButtonClasses=l.cancelClass),typeof l.maxSpan=="object"&&(this.maxSpan=l.maxSpan),typeof l.dateLimit=="object"&&(this.maxSpan=l.dateLimit),typeof l.opens=="string"&&(this.opens=l.opens),typeof l.drops=="string"&&(this.drops=l.drops),typeof l.showWeekNumbers=="boolean"&&(this.showWeekNumbers=l.showWeekNumbers),typeof l.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=l.showISOWeekNumbers),typeof l.buttonClasses=="string"&&(this.buttonClasses=l.buttonClasses),typeof l.buttonClasses=="object"&&(this.buttonClasses=l.buttonClasses.join(" ")),typeof l.showDropdowns=="boolean"&&(this.showDropdowns=l.showDropdowns),typeof l.minYear=="number"&&(this.minYear=l.minYear),typeof l.maxYear=="number"&&(this.maxYear=l.maxYear),typeof l.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=l.showCustomRangeLabel),typeof l.singleDatePicker=="boolean"&&(this.singleDatePicker=l.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof l.timePicker=="boolean"&&(this.timePicker=l.timePicker),typeof l.timePickerSeconds=="boolean"&&(this.timePickerSeconds=l.timePickerSeconds),typeof l.timePickerIncrement=="number"&&(this.timePickerIncrement=l.timePickerIncrement),typeof l.timePicker24Hour=="boolean"&&(this.timePicker24Hour=l.timePicker24Hour),typeof l.autoApply=="boolean"&&(this.autoApply=l.autoApply),typeof l.autoUpdateInput=="boolean"&&(this.autoUpdateInput=l.autoUpdateInput),typeof l.linkedCalendars=="boolean"&&(this.linkedCalendars=l.linkedCalendars),typeof l.isInvalidDate=="function"&&(this.isInvalidDate=l.isInvalidDate),typeof l.isCustomDate=="function"&&(this.isCustomDate=l.isCustomDate),typeof l.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=l.alwaysShowCalendars),this.locale.firstDay!=0)for(var v=this.locale.firstDay;v>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),v--;var _,x,A;if(typeof l.startDate>"u"&&typeof l.endDate>"u"&&n(this.element).is(":text")){var P=n(this.element).val(),M=P.split(this.locale.separator);_=x=null,M.length==2?(_=t(M[0],this.locale.format),x=t(M[1],this.locale.format)):this.singleDatePicker&&P!==""&&(_=t(P,this.locale.format),x=t(P,this.locale.format)),_!==null&&x!==null&&(this.setStartDate(_),this.setEndDate(x))}if(typeof l.ranges=="object"){for(A in l.ranges){typeof l.ranges[A][0]=="string"?_=t(l.ranges[A][0],this.locale.format):_=t(l.ranges[A][0]),typeof l.ranges[A][1]=="string"?x=t(l.ranges[A][1],this.locale.format):x=t(l.ranges[A][1]),this.minDate&&_.isBefore(this.minDate)&&(_=this.minDate.clone());var R=this.maxDate;if(this.maxSpan&&R&&_.clone().add(this.maxSpan).isAfter(R)&&(R=_.clone().add(this.maxSpan)),R&&x.isAfter(R)&&(x=R.clone()),!(this.minDate&&x.isBefore(this.minDate,this.timepicker?"minute":"day")||R&&_.isAfter(R,this.timepicker?"minute":"day"))){var d=document.createElement("textarea");d.innerHTML=A;var y=d.value;this.ranges[y]=[_,x]}}var H="<ul>";for(A in this.ranges)H+='<li data-range-key="'+A+'">'+A+"</li>";this.showCustomRangeLabel&&(H+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),H+="</ul>",this.container.find(".ranges").prepend(H)}typeof f=="function"&&(this.callback=f),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof l.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof l.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",n.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",n.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",n.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",n.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",n.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",n.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",n.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",n.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",n.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":n.proxy(this.show,this),"focus.daterangepicker":n.proxy(this.show,this),"keyup.daterangepicker":n.proxy(this.elementChanged,this),"keydown.daterangepicker":n.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",n.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",n.proxy(this.toggle,this))),this.updateElement()};return i.prototype={constructor:i,setStartDate:function(a){typeof a=="string"&&(this.startDate=t(a,this.locale.format)),typeof a=="object"&&(this.startDate=t(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(a){typeof a=="string"&&(this.endDate=t(a,this.locale.format)),typeof a=="object"&&(this.endDate=t(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var a,l,f;if(this.endDate){if(a=parseInt(this.container.find(".left .hourselect").val(),10),l=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(l)&&(l=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var d=this.container.find(".left .ampmselect").val();d==="PM"&&a<12&&(a+=12),d==="AM"&&a===12&&(a=0)}}else if(a=parseInt(this.container.find(".right .hourselect").val(),10),l=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(l)&&(l=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),f=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var d=this.container.find(".right .ampmselect").val();d==="PM"&&a<12&&(a+=12),d==="AM"&&a===12&&(a=0)}this.leftCalendar.month.hour(a).minute(l).second(f),this.rightCalendar.month.hour(a).minute(l).second(f)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(a){var F=a=="left"?this.leftCalendar:this.rightCalendar,l=F.month.month(),f=F.month.year(),d=F.month.hour(),y=F.month.minute(),v=F.month.second(),_=t([f,l]).daysInMonth(),x=t([f,l,1]),A=t([f,l,_]),P=t(x).subtract(1,"month").month(),M=t(x).subtract(1,"month").year(),R=t([M,P]).daysInMonth(),H=x.day(),F=[];F.firstDay=x,F.lastDay=A;for(var Z=0;Z<6;Z++)F[Z]=[];var G=R-H+this.locale.firstDay+1;G>R&&(G-=7),H==this.locale.firstDay&&(G=R-6);for(var oe=t([M,P,G,12,y,v]),re,se,Z=0,re=0,se=0;Z<42;Z++,re++,oe=t(oe).add(24,"hour"))Z>0&&re%7===0&&(re=0,se++),F[se][re]=oe.clone().hour(d).minute(y).second(v),oe.hour(12),this.minDate&&F[se][re].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&F[se][re].isBefore(this.minDate)&&a=="left"&&(F[se][re]=this.minDate.clone()),this.maxDate&&F[se][re].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&F[se][re].isAfter(this.maxDate)&&a=="right"&&(F[se][re]=this.maxDate.clone());a=="left"?this.leftCalendar.calendar=F:this.rightCalendar.calendar=F;var p=a=="left"?this.minDate:this.startDate,ce=this.maxDate;a=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var ae='<table class="table-condensed">';ae+="<thead>",ae+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ae+="<th></th>"),(!p||p.isBefore(F.firstDay))&&(!this.linkedCalendars||a=="left")?ae+='<th class="prev available"><span></span></th>':ae+="<th></th>";var et=this.locale.monthNames[F[1][1].month()]+F[1][1].format(" YYYY");if(this.showDropdowns){for(var gt=F[1][1].month(),Ze=F[1][1].year(),_e=ce&&ce.year()||this.maxYear,tt=p&&p.year()||this.minYear,Vt=Ze==tt,at=Ze==_e,Ge='<select class="monthselect">',Me=0;Me<12;Me++)(!Vt||p&&Me>=p.month())&&(!at||ce&&Me<=ce.month())?Ge+="<option value='"+Me+"'"+(Me===gt?" selected='selected'":"")+">"+this.locale.monthNames[Me]+"</option>":Ge+="<option value='"+Me+"'"+(Me===gt?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[Me]+"</option>";Ge+="</select>";for(var xt='<select class="yearselect">',St=tt;St<=_e;St++)xt+='<option value="'+St+'"'+(St===Ze?' selected="selected"':"")+">"+St+"</option>";xt+="</select>",et=Ge+xt}if(ae+='<th colspan="5" class="month">'+et+"</th>",(!ce||ce.isAfter(F.lastDay))&&(!this.linkedCalendars||a=="right"||this.singleDatePicker)?ae+='<th class="next available"><span></span></th>':ae+="<th></th>",ae+="</tr>",ae+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(ae+='<th class="week">'+this.locale.weekLabel+"</th>"),n.each(this.locale.daysOfWeek,function(Wt,Rn){ae+="<th>"+Rn+"</th>"}),ae+="</tr>",ae+="</thead>",ae+="<tbody>",this.endDate==null&&this.maxSpan){var Oe=this.startDate.clone().add(this.maxSpan).endOf("day");(!ce||Oe.isBefore(ce))&&(ce=Oe)}for(var se=0;se<6;se++){ae+="<tr>",this.showWeekNumbers?ae+='<td class="week">'+F[se][0].week()+"</td>":this.showISOWeekNumbers&&(ae+='<td class="week">'+F[se][0].isoWeek()+"</td>");for(var re=0;re<7;re++){var st=[];F[se][re].isSame(new Date,"day")&&st.push("today"),F[se][re].isoWeekday()>5&&st.push("weekend"),F[se][re].month()!=F[1][1].month()&&st.push("off","ends"),this.minDate&&F[se][re].isBefore(this.minDate,"day")&&st.push("off","disabled"),ce&&F[se][re].isAfter(ce,"day")&&st.push("off","disabled"),this.isInvalidDate(F[se][re])&&st.push("off","disabled"),F[se][re].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&st.push("active","start-date"),this.endDate!=null&&F[se][re].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&st.push("active","end-date"),this.endDate!=null&&F[se][re]>this.startDate&&F[se][re]<this.endDate&&st.push("in-range");var Ft=this.isCustomDate(F[se][re]);Ft!==!1&&(typeof Ft=="string"?st.push(Ft):Array.prototype.push.apply(st,Ft));for(var Mn="",Ct=!1,Z=0;Z<st.length;Z++)Mn+=st[Z]+" ",st[Z]=="disabled"&&(Ct=!0);Ct||(Mn+="available"),ae+='<td class="'+Mn.replace(/^\s+|\s+$/g,"")+'" data-title="r'+se+"c"+re+'">'+F[se][re].date()+"</td>"}ae+="</tr>"}ae+="</tbody>",ae+="</table>",this.container.find(".drp-calendar."+a+" .calendar-table").html(ae)},renderTimePicker:function(a){if(!(a=="right"&&!this.endDate)){var l,f,d,y=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(y=this.startDate.clone().add(this.maxSpan)),a=="left")f=this.startDate.clone(),d=this.minDate;else if(a=="right"){f=this.endDate.clone(),d=this.startDate;var v=this.container.find(".drp-calendar.right .calendar-time");if(v.html()!=""&&(f.hour(isNaN(f.hour())?v.find(".hourselect option:selected").val():f.hour()),f.minute(isNaN(f.minute())?v.find(".minuteselect option:selected").val():f.minute()),f.second(isNaN(f.second())?v.find(".secondselect option:selected").val():f.second()),!this.timePicker24Hour)){var _=v.find(".ampmselect option:selected").val();_==="PM"&&f.hour()<12&&f.hour(f.hour()+12),_==="AM"&&f.hour()===12&&f.hour(0)}f.isBefore(this.startDate)&&(f=this.startDate.clone()),y&&f.isAfter(y)&&(f=y.clone())}l='<select class="hourselect">';for(var x=this.timePicker24Hour?0:1,A=this.timePicker24Hour?23:12,P=x;P<=A;P++){var M=P;this.timePicker24Hour||(M=f.hour()>=12?P==12?12:P+12:P==12?0:P);var R=f.clone().hour(M),H=!1;d&&R.minute(59).isBefore(d)&&(H=!0),y&&R.minute(0).isAfter(y)&&(H=!0),M==f.hour()&&!H?l+='<option value="'+P+'" selected="selected">'+P+"</option>":H?l+='<option value="'+P+'" disabled="disabled" class="disabled">'+P+"</option>":l+='<option value="'+P+'">'+P+"</option>"}l+="</select> ",l+=': <select class="minuteselect">';for(var P=0;P<60;P+=this.timePickerIncrement){var F=P<10?"0"+P:P,R=f.clone().minute(P),H=!1;d&&R.second(59).isBefore(d)&&(H=!0),y&&R.second(0).isAfter(y)&&(H=!0),f.minute()==P&&!H?l+='<option value="'+P+'" selected="selected">'+F+"</option>":H?l+='<option value="'+P+'" disabled="disabled" class="disabled">'+F+"</option>":l+='<option value="'+P+'">'+F+"</option>"}if(l+="</select> ",this.timePickerSeconds){l+=': <select class="secondselect">';for(var P=0;P<60;P++){var F=P<10?"0"+P:P,R=f.clone().second(P),H=!1;d&&R.isBefore(d)&&(H=!0),y&&R.isAfter(y)&&(H=!0),f.second()==P&&!H?l+='<option value="'+P+'" selected="selected">'+F+"</option>":H?l+='<option value="'+P+'" disabled="disabled" class="disabled">'+F+"</option>":l+='<option value="'+P+'">'+F+"</option>"}l+="</select> "}if(!this.timePicker24Hour){l+='<select class="ampmselect">';var Z="",G="";d&&f.clone().hour(12).minute(0).second(0).isBefore(d)&&(Z=' disabled="disabled" class="disabled"'),y&&f.clone().hour(0).minute(0).second(0).isAfter(y)&&(G=' disabled="disabled" class="disabled"'),f.hour()>=12?l+='<option value="AM"'+Z+'>AM</option><option value="PM" selected="selected"'+G+">PM</option>":l+='<option value="AM" selected="selected"'+Z+'>AM</option><option value="PM"'+G+">PM</option>",l+="</select>"}this.container.find(".drp-calendar."+a+" .calendar-time").html(l)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var a={top:0,left:0},l,f=this.drops,d=n(window).width();switch(this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},d=this.parentEl[0].clientWidth+this.parentEl.offset().left),f){case"auto":l=this.element.offset().top+this.element.outerHeight()-a.top,l+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(l=this.element.offset().top-this.container.outerHeight()-a.top,f="up");break;case"up":l=this.element.offset().top-this.container.outerHeight()-a.top;break;default:l=this.element.offset().top+this.element.outerHeight()-a.top;break}this.container.css({top:0,left:0,right:"auto"});var y=this.container.outerWidth();if(this.container.toggleClass("drop-up",f=="up"),this.opens=="left"){var v=d-this.element.offset().left-this.element.outerWidth();y+v>n(window).width()?this.container.css({top:l,right:"auto",left:9}):this.container.css({top:l,right:v,left:"auto"})}else if(this.opens=="center"){var _=this.element.offset().left-a.left+this.element.outerWidth()/2-y/2;_<0?this.container.css({top:l,right:"auto",left:9}):_+y>n(window).width()?this.container.css({top:l,left:"auto",right:0}):this.container.css({top:l,left:_,right:"auto"})}else{var _=this.element.offset().left-a.left;_+y>n(window).width()?this.container.css({top:l,left:"auto",right:0}):this.container.css({top:l,left:_,right:"auto"})}},show:function(a){this.isShowing||(this._outsideClickProxy=n.proxy(function(l){this.outsideClick(l)},this),n(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),n(window).on("resize.daterangepicker",n.proxy(function(l){this.move(l)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(a){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),n(document).off(".daterangepicker"),n(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(a){this.isShowing?this.hide():this.show()},outsideClick:function(a){var l=n(a.target);a.type=="focusin"||l.closest(this.element).length||l.closest(this.container).length||l.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(a){var l=a.target.getAttribute("data-range-key");if(this.chosenLabel=l,l==this.locale.customRangeLabel)this.showCalendars();else{var f=this.ranges[l];this.startDate=f[0],this.endDate=f[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(a){var l=n(a.target).parents(".drp-calendar");l.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var l=n(a.target).parents(".drp-calendar");l.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(a){if(n(a.target).hasClass("available")){var l=n(a.target).attr("data-title"),f=l.substr(1,1),d=l.substr(3,1),y=n(a.target).parents(".drp-calendar"),v=y.hasClass("left")?this.leftCalendar.calendar[f][d]:this.rightCalendar.calendar[f][d],_=this.leftCalendar,x=this.rightCalendar,A=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(P,M){if(!n(M).hasClass("week")){var R=n(M).attr("data-title"),H=R.substr(1,1),F=R.substr(3,1),Z=n(M).parents(".drp-calendar"),G=Z.hasClass("left")?_.calendar[H][F]:x.calendar[H][F];G.isAfter(A)&&G.isBefore(v)||G.isSame(v,"day")?n(M).addClass("in-range"):n(M).removeClass("in-range")}})}},clickDate:function(a){if(n(a.target).hasClass("available")){var l=n(a.target).attr("data-title"),f=l.substr(1,1),d=l.substr(3,1),y=n(a.target).parents(".drp-calendar"),v=y.hasClass("left")?this.leftCalendar.calendar[f][d]:this.rightCalendar.calendar[f][d];if(this.endDate||v.isBefore(this.startDate,"day")){if(this.timePicker){var _=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var x=this.container.find(".left .ampmselect").val();x==="PM"&&_<12&&(_+=12),x==="AM"&&_===12&&(_=0)}var A=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(A)&&(A=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var P=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;v=v.clone().hour(_).minute(A).second(P)}this.endDate=null,this.setStartDate(v.clone())}else if(!this.endDate&&v.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var _=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var x=this.container.find(".right .ampmselect").val();x==="PM"&&_<12&&(_+=12),x==="AM"&&_===12&&(_=0)}var A=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(A)&&(A=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var P=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;v=v.clone().hour(_).minute(A).second(P)}this.setEndDate(v.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),a.stopPropagation()}},calculateChosenLabel:function(){var a=!0,l=0;for(var f in this.ranges){if(this.timePicker){var d=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(d)==this.ranges[f][0].format(d)&&this.endDate.format(d)==this.ranges[f][1].format(d)){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+l+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[f][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[f][1].format("YYYY-MM-DD")){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+l+")").addClass("active").attr("data-range-key");break}l++}a&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(a){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(a){var l=n(a.target).closest(".drp-calendar").hasClass("left"),f=l?"left":"right",d=this.container.find(".drp-calendar."+f),y=parseInt(d.find(".monthselect").val(),10),v=d.find(".yearselect").val();l||(v<this.startDate.year()||v==this.startDate.year()&&y<this.startDate.month())&&(y=this.startDate.month(),v=this.startDate.year()),this.minDate&&(v<this.minDate.year()||v==this.minDate.year()&&y<this.minDate.month())&&(y=this.minDate.month(),v=this.minDate.year()),this.maxDate&&(v>this.maxDate.year()||v==this.maxDate.year()&&y>this.maxDate.month())&&(y=this.maxDate.month(),v=this.maxDate.year()),l?(this.leftCalendar.month.month(y).year(v),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(y).year(v),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(a){var l=n(a.target).closest(".drp-calendar"),f=l.hasClass("left"),d=parseInt(l.find(".hourselect").val(),10),y=parseInt(l.find(".minuteselect").val(),10);isNaN(y)&&(y=parseInt(l.find(".minuteselect option:last").val(),10));var v=this.timePickerSeconds?parseInt(l.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var _=l.find(".ampmselect").val();_==="PM"&&d<12&&(d+=12),_==="AM"&&d===12&&(d=0)}if(f){var x=this.startDate.clone();x.hour(d),x.minute(y),x.second(v),this.setStartDate(x),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==x.format("YYYY-MM-DD")&&this.endDate.isBefore(x)&&this.setEndDate(x.clone())}else if(this.endDate){var A=this.endDate.clone();A.hour(d),A.minute(y),A.second(v),this.setEndDate(A)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.locale.separator),l=null,f=null;a.length===2&&(l=t(a[0],this.locale.format),f=t(a[1],this.locale.format)),(this.singleDatePicker||l===null||f===null)&&(l=t(this.element.val(),this.locale.format),f=l),!(!l.isValid()||!f.isValid())&&(this.setStartDate(l),this.setEndDate(f),this.updateView())}},keydown:function(a){(a.keyCode===9||a.keyCode===13)&&this.hide(),a.keyCode===27&&(a.preventDefault(),a.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var a=this.startDate.format(this.locale.format);this.singleDatePicker||(a+=this.locale.separator+this.endDate.format(this.locale.format)),a!==this.element.val()&&this.element.val(a).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},n.fn.daterangepicker=function(a,l){var f=n.extend(!0,{},n.fn.daterangepicker.defaultOptions,a);return this.each(function(){var d=n(this);d.data("daterangepicker")&&d.data("daterangepicker").remove(),d.data("daterangepicker",new i(d,f,l))}),this},i})})(CI);var ah=function(e,t){return ah=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},ah(e,t)};function kI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ah(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}(function(e){kI(t,e);function t(n){var i=e.call(this,n)||this;return i.ref=null,i.$picker=null,i}return t.prototype.componentDidMount=function(){var n=this;this.$picker=TI(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(i){var a,l=i.charAt(0).toLowerCase()+i.slice(1);(a=n.$picker)===null||a===void 0||a.on(l+".daterangepicker",n.makeEventHandler("on"+i))})},t.prototype.componentWillUnmount=function(){var n,i;(i=(n=this.$picker)===null||n===void 0?void 0:n.data("daterangepicker"))===null||i===void 0||i.remove()},t.prototype.handleCallback=function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];typeof this.props.onCallback=="function"&&(n=this.props).onCallback.apply(n,i)},t.prototype.makeEventHandler=function(n){var i=this,a=this.props.onEvent;return function(l,f){typeof a=="function"&&a(l,f),typeof i.props[n]=="function"&&i.props[n](l,f)}},t.prototype.setStartDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setStartDate(n)},t.prototype.setEndDate=function(n){var i,a;(a=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||a===void 0||a.setEndDate(n)},t.prototype.render=function(){var n=this,i=V.reactExports.Children.only(this.props.children);return V.reactExports.cloneElement(i,{ref:function(a){return n.ref=a}})},t})(V.reactExports.Component);function PI(e){return V.jsxRuntimeExports.jsx(jP,{children:V.jsxRuntimeExports.jsx(gO,{...e,ssr:!0})})}const OI=V.s(PI,{props:{baseUrl:"string",menuPath:"string",logout:"function",replacePath:"function",ssr:"boolean"}});customElements.define("global-menu",OI);
|