PageSourceSearch

https://scanfood.web.app/assets/vendor-DBYO4BGY.js

js scanfood.web.app collected 2026-10-03 12:34:59 UTC 1,775,683 bytes, 1,204 lines download raw bytes

vendor: 12,938 bytes, lines 1-25
1var V$=Object.defineProperty;var z$=(e,u,t)=>u in e?V$(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t;var he=(e,u,t)=>z$(e,typeof u!="symbol"?u+"":u,t);function Cv(e,u){for(var t=0;t<u.length;t++){const r=u[t];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const i=Object.getOwnPropertyDescriptor(r,n);i&&Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Iu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function G$(e){if(e.__esModule)return e;var u=e.default;if(typeof u=="function"){var t=function r(){return this instanceof r?Reflect.construct(u,arguments,this.constructor):u.apply(this,arguments)};t.prototype=u.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var v_={exports:{}},o2={},B_={exports:{}},ke={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Cc=Symbol.for("react.element"),Y$=Symbol.for("react.portal"),X$=Symbol.for("react.fragment"),Z$=Symbol.for("react.strict_mode"),q$=Symbol.for("react.profiler"),J$=Symbol.for("react.provider"),eH=Symbol.for("react.context"),uH=Symbol.for("react.forward_ref"),tH=Symbol.for("react.suspense"),rH=Symbol.for("react.memo"),nH=Symbol.for("react.lazy"),U7=Symbol.iterator;function iH(e){return e===null||typeof e!="object"?null:(e=U7&&e[U7]||e["@@iterator"],typeof e=="function"?e:null)}var w_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b_=Object.assign,x_={};function Ga(e,u,t){this.props=e,this.context=u,this.refs=x_,this.updater=t||w_}Ga.prototype.isReactComponent={};Ga.prototype.setState=function(e,u){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,u,"setState")};Ga.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function C_(){}C_.prototype=Ga.prototype;function Dv(e,u,t){this.props=e,this.context=u,this.refs=x_,this.updater=t||w_}var Sv=Dv.prototype=new C_;Sv.constructor=Dv;b_(Sv,Ga.prototype);Sv.isPureReactComponent=!0;var Q7=Array.isArray,D_=Object.prototype.hasOwnProperty,Fv={current:null},S_={key:!0,ref:!0,__self:!0,__source:!0};function F_(e,u,t){var r,n={},i=null,E=null;if(u!=null)for(r in u.ref!==void 0&&(E=u.ref),u.key!==void 0&&(i=""+u.key),u)D_.call(u,r)&&!S_.hasOwnProperty(r)&&(n[r]=u[r]);var o=arguments.length-2;if(o===1)n.children=t;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];n.children=a}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)n[r]===void 0&&(n[r]=o[r]);return{$$typeof:Cc,type:e,key:i,ref:E,props:n,_owner:Fv.current}}function EH(e,u){return{$$typeof:Cc,type:e.type,key:u,ref:e.ref,props:e.props,_owner:e._owner}}function _v(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cc}function oH(e){var u={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return u[t]})}var L7=/\/+/g;function v4(e,u){return typeof e=="object"&&e!==null&&e.key!=null?oH(""+e.key):u.toString(36)}function Uf(e,u,t,r,n){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var E=!1;if(e===null)E=!0;else switch(i){case"string":case"number":E=!0;break;case"object":switch(e.$$typeof){case Cc:case Y$:E=!0}}if(E)return E=e,n=n(E),e=r===""?"."+v4(E,0):r,Q7(n)?(t="",e!=null&&(t=e.replace(L7,"$&/")+"/"),Uf(n,u,t,"",function(s){return s})):n!=null&&(_v(n)&&(n=EH(n,t+(!n.key||E&&E.key===n.key?"":(""+n.key).replace(L7,"$&/")+"/")+e)),u.push(n)),1;if(E=0,r=r===""?".":r+":",Q7(e))for(var o=0;o<e.length;o++){i=e[o];var a=r+v4(i,o);E+=Uf(i,u,t,a,n)}else if(a=iH(e),typeof a=="function")for(e=a.call(e),o=0;!(i=e.next()).done;)i=i.value,a=r+v4(i,o++),E+=Uf(i,u,t,a,n);else if(i==="object")throw u=String(e),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.");return E}function El(e,u,t){if(e==null)return e;var r=[],n=0;return Uf(e,r,"","",function(i){return u.call(t,i,n++)}),r}function aH(e){if(e._status===-1){var u=e._result;u=u(),u.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=u)}if(e._status===1)return e._result.default;throw e._result}var r0={current:null},Qf={transition:null},sH={ReactCurrentDispatcher:r0,ReactCurrentBatchConfig:Qf,ReactCurrentOwner:Fv};function __(){throw Error("act(...) is not supported in production builds of React.")}ke.Children={map:El,forEach:function(e,u,t){El(e,function(){u.apply(this,arguments)},t)},count:function(e){var u=0;return El(e,function(){u++}),u},toArray:function(e){return El(e,function(u){return u})||[]},only:function(e){if(!_v(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ke.Component=Ga;ke.Fragment=X$;ke.Profiler=q$;ke.PureComponent=Dv;ke.StrictMode=Z$;ke.Suspense=tH;ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sH;ke.act=__;ke.cloneElement=function(e,u,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=b_({},e.props),n=e.key,i=e.ref,E=e._owner;if(u!=null){if(u.ref!==void 0&&(i=u.ref,E=Fv.current),u.key!==void 0&&(n=""+u.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(a in u)D_.call(u,a)&&!S_.hasOwnProperty(a)&&(r[a]=u[a]===void 0&&o!==void 0?o[a]:u[a])}var a=arguments.length-2;if(a===1)r.children=t;else if(1<a){o=Array(a);for(var s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return{$$typeof:Cc,type:e.type,key:n,ref:i,props:r,_owner:E}};ke.createContext=function(e){return e={$$typeof:eH,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:J$,_context:e},e.Consumer=e};ke.createElement=F_;ke.createFactory=function(e){var u=F_.bind(null,e);return u.type=e,u};ke.createRef=function(){return{current:null}};ke.forwardRef=function(e){return{$$typeof:uH,render:e}};ke.isValidElement=_v;ke.lazy=function(e){return{$$typeof:nH,_payload:{_status:-1,_result:e},_init:aH}};ke.memo=function(e,u){return{$$typeof:rH,type:e,compare:u===void 0?null:u}};ke.startTransition=function(e){var u=Qf.transition;Qf.transition={};try{e()}finally{Qf.transition=u}};ke.unstable_act=__;ke.useCallback=function(e,u){return r0.current.useCallback(e,u)};ke.useContext=function(e){return r0.current.useContext(e)};ke.useDebugValue=function(){};ke.useDeferredValue=function(e){return r0.current.useDeferredValue(e)};ke.useEffect=function(e,u){return r0.current.useEffect(e,u)};ke.useId=function(){return r0.current.useId()};ke.useImperativeHandle=function(e,u,t){return r0.current.useImperativeHandle(e,u,t)};ke.useInsertionEffect=function(e,u){return r0.current.useInsertionEffect(e,u)};ke.useLayoutEffect=function(e,u){return r0.current.useLayoutEffect(e,u)};ke.useMemo=function(e,u){return r0.current.useMemo(e,u)};ke.useReducer=function(e,u,t){return r0.current.useReducer(e,u,t)};ke.useRef=function(e){return r0.current.useRef(e)};ke.useState=function(e){return r0.current.useState(e)};ke.useSyncExternalStore=function(e,u,t){return r0.current.useSyncExternalStore(e,u,t)};ke.useTransition=function(){return r0.current.useTransition()};ke.version="18.3.1";B_.exports=ke;var Q=B_.exports;const $=Iu(Q),I_=Cv({__proto__:null,default:$},[Q]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var AH=Q,cH=Symbol.for("react.element"),lH=Symbol.for("react.fragment"),fH=Object.prototype.hasOwnProperty,dH=AH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pH={key:!0,ref:!0,__self:!0,__source:!0};function T_(e,u,t){var r,n={},i=null,E=null;t!==void 0&&(i=""+t),u.key!==void 0&&(i=""+u.key),u.ref!==void 0&&(E=u.ref);for(r in u)fH.call(u,r)&&!pH.hasOwnProperty(r)&&(n[r]=u[r]);if(e&&e.defaultProps)for(r in u=e.defaultProps,u)n[r]===void 0&&(n[r]=u[r]);return{$$typeof:cH,type:e,key:i,ref:E,props:n,_owner:dH.current}}o2.Fragment=lH;o2.jsx=T_;o2.jsxs=T_;v_.exports=o2;var pr=v_.exports,M7={},P_={exports:{}},U0={},O_={exports:{}},k_={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function u(N,Z){var q=N.length;N.push(Z);e:for(;0<q;){var k=q-1>>>1,z=N[k];if(0<n(z,Z))N[k]=Z,N[q]=z,q=k;else break e}}function t(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var Z=N[0],q=N.pop();if(q!==Z){N[0]=q;e:for(var k=0,z=N.length,W=z>>>1;k<W;){var Ee=2*(k+1)-1,ce=N[Ee],pe=Ee+1,le=N[pe];if(0>n(ce,q))pe<z&&0>n(le,ce)?(N[k]=le,N[pe]=q,k=pe):(N[k]=ce,N[Ee]=q,k=Ee);else if(pe<z&&0>n(le,q))N[k]=le,N[pe]=q,k=pe;else break e}}return Z}function n(N,Z){var q=N.sortIndex-Z.sortIndex;return q!==0?q:N.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var E=Date,o=E.now();e.unstable_now=function(){return E.now()-o}}var a=[],s=[],A=1,c=null,l=3,f=!1,p=!1,h=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(N){for(var Z=t(s);Z!==null;){if(Z.callback===null)r(s);else if(Z.startTime<=N)r(s),Z.sortIndex=Z.expirationTime,u(a,Z);else break;Z=t(s)}}function d(N){if(h=!1,v(N),!p)if(t(a)!==null)p=!0,j(y);else{var Z=t(s);Z!==null&&ue(d,Z.startTime-N)}}function y(N,Z){p=!1,h&&(h=!1,m(S),S=-1),f=!0;var q=l;try{for(v(Z),c=t(a);c!==null&&(!(c.expirationTime>Z)||N&&!R());){var k=c.callback;if(typeof k=="function"){c.callback=null,l=c.priorityLevel;var z=k(c.expirationTime<=Z);Z=e.unstable_now(),typeof z=="function"?c.callback=z:c===t(a)&&r(a),v(Z)}else r(a);c=t(a)}if(c!==null)var W=!0;else{var Ee=t(s);Ee!==null&&ue(d,Ee.startTime-Z),W=!1}return W}finally{c=null,l=q,f=!1}}var b=!1,C=null,S=-1,F=5,I=-1;function R(){return!(e.unstable_now()-I<F)}function X(){if(C!==null){var N=e.unstable_now();I=N;var Z=!0;try{Z=C(!0,N)}finally{Z?J():(b=!1,C=null)}}else b=!1}var J;if(typeof g=="function")J=function(){g(X)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,L=ee.port2;ee.port1.onmessage=X,J=function(){L.postMessage(null)}}else J=function(){w(X,0)};function j(N){C=N,b||(b=!0,J())}function ue(N,Z){S=w(function(){N(e.unstable_now())},Z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||f||(p=!0,j(y))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return l},e.unstable_getFirstCallbackNode=function(){return t(a)},e.unstable_next=function(N){switch(l){case 1:case 2:case 3:var Z=3;break;default:Z=l}var q=l;l=Z;try{return N()}finally{l=q}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,Z){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var q=l;l=N;try{return Z()}finally{l=q}},e.unstable_scheduleCallback=function(N,Z,q){var k=e.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?k+q:k):q=k,N){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=q+z,N={id:A++,callback:Z,priorityLevel:N,startTime:q,expirationTime:z,sortIndex:-1},q>k?(N.sortIndex=q,u(s,N),t(a)===null&&N===t(s)&&(h?(m(S),S=-1):h=!0,ue(d,q-k))):(N.sortIndex=z,u(a,N),p||f||(p=!0,j(y))
vendor: 4,403 bytes, lines 25-33
25),N},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(N){var Z=l;return function(){var q=l;l=Z;try{return N.apply(this,arguments)}finally{l=q}}}})(k_);O_.exports=k_;var hH=O_.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var mH=Q,O0=hH;function Ae(e){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)u+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var U_=new Set,UA={};function ZE(e,u){ga(e,u),ga(e+"Capture",u)}function ga(e,u){for(UA[e]=u,e=0;e<u.length;e++)U_.add(u[e])}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Z3=Object.prototype.hasOwnProperty,gH=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,R7={},N7={};function yH(e){return Z3.call(N7,e)?!0:Z3.call(R7,e)?!1:gH.test(e)?N7[e]=!0:(R7[e]=!0,!1)}function vH(e,u,t,r){if(t!==null&&t.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function BH(e,u,t,r){if(u===null||typeof u>"u"||vH(e,u,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!u;case 4:return u===!1;case 5:return isNaN(u);case 6:return isNaN(u)||1>u}return!1}function n0(e,u,t,r,n,i,E){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=t,this.propertyName=e,this.type=u,this.sanitizeURL=i,this.removeEmptyString=E}var St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){St[e]=new n0(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var u=e[0];St[u]=new n0(u,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new n0(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new n0(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){St[e]=new n0(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new n0(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new n0(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new n0(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new n0(e,5,!1,e.toLowerCase(),null,!1,!1)});var Iv=/[\-:]([a-z])/g;function Tv(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var u=e.replace(Iv,Tv);St[u]=new n0(u,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var u=e.replace(Iv,Tv);St[u]=new n0(u,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var u=e.replace(Iv,Tv);St[u]=new n0(u,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new n0(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new n0("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new n0(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pv(e,u,t,r){var n=St.hasOwnProperty(u)?St[u]:null;(n!==null?n.type!==0:r||!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(BH(u,t,n,r)&&(t=null),r||n===null?yH(u)&&(t===null?e.removeAttribute(u):e.setAttribute(u,""+t)):n.mustUseProperty?e[n.propertyName]=t===null?n.type===3?!1:"":t:(u=n.attributeName,r=n.attributeNamespace,t===null?e.removeAttribute(u):(n=n.type,t=n===3||n===4&&t===!0?"":""+t,r?e.setAttributeNS(r,u,t):e.setAttribute(u,t))))}var Pn=mH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ol=Symbol.for("react.element"),Lo=Symbol.for("react.portal"),Mo=Symbol.for("react.fragment"),Ov=Symbol.for("react.strict_mode"),q3=Symbol.for("react.profiler"),Q_=Symbol.for("react.provider"),L_=Symbol.for("react.context"),kv=Symbol.for("react.forward_ref"),J3=Symbol.for("react.suspense"),em=Symbol.for("react.suspense_list"),Uv=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),M_=Symbol.for("react.offscreen"),$7=Symbol.iterator;function Ss(e){return e===null||typeof e!="object"?null:(e=$7&&e[$7]||e["@@iterator"],typeof e=="function"?e:null)}var Lu=Object.assign,B4;function Xs(e){if(B4===void 0)try{throw Error()}catch(t){var u=t.stack.trim().match(/\n( *(at )?)/);B4=u&&u[1]||""}return`
34`+B4+e}var w4=!1;function b4(e,u){if(!e||w4)return"";w4=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(u)if(u=function(){throw Error()},Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(s){var r=s}Reflect.construct(e,[],u)}else{try{u.call()}catch(s){r=s}e.call(u.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var n=s.stack.split(`
35`),i=r.stack.split(`
36`),E=n.length-1,o=i.length-1;1<=E&&0<=o&&n[E]!==i[o];)o--;for(;1<=E&&0<=o;E--,o--)if(n[E]!==i[o]){if(E!==1||o!==1)do if(E--,o--,0>o||n[E]!==i[o]){var a=`
37`+n[E].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=E&&0<=o);break}}}finally{w4=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Xs(e):""}function wH(e){switch(e.tag){case 5:return Xs(e.type);case 16:return Xs("Lazy");case 13:return Xs("Suspense");case 19:return Xs("SuspenseList");case 0:case 2:case 15:return e=b4(e.type,!1),e;case 11:return e=b4(e.type.render,!1),e;case 1:return e=b4(e.type,!0),e;default:return""}}function um(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mo:return"Fragment";case Lo:return"Portal";case q3:return"Profiler";case Ov:return"StrictMode";case J3:return"Suspense";case em:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case L_:return(e.displayName||"Context")+".Consumer";case Q_:return(e._context.displayName||"Context")+".Provider";case kv:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Uv:return u=e.displayName||null,u!==null?u:um(e.type)||"Memo";case jn:u=e._payload,e=e._init;try{return um(e(u))}catch{}}return null}function bH(e){var u=e.type;switch(e.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=u.render,e=e.displayName||e.name||"",u.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return um(u);case 8:return u===Ov?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function Di(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function R_(e){var u=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function xH(e){var u=R_(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,u),r=""+e[u];if(!e.hasOwnProperty(u)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var n=t.get,i=t.set;return Object.defineProperty(e,u,{configurable:!0,get:function(){return n.call(this)},set:function(E){r=""+E,i.call(this,E)}}),Object.defineProperty(e,u,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(E){r=""+E},stopTracking:function(){e._valueTracker=null,delete e[u]}}}}function al(e){e._valueTracker||(e._valueTracker=xH(e))}function N_(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var t=u.getValue(),r="";return e&&(r=R_(e)?e.checked?"true":"false":e.value),e=r,e!==t?(u.setValue(e),!0):!1}function Cd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function tm(e,u){var t=u.checked;return Lu({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function H7(e,u){var t=u.defaultValue==null?"":u.defaultValue,r=u.checked!=null?u.checked:u.defaultChecked;t=Di(u.value!=null?u.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function $_(e,u){u=u.checked,u!=null&&Pv(e,"checked",u,!1)}function rm(e,u){$_(e,u);var t=Di(u.value),r=u.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}u.hasOwnProperty("value")?nm(e,u.type,t):u.hasOwnProperty("defaultValue")&&nm(e,u.type,Di(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(e.defaultChecked=!!u.defaultChecked)}function j7(e,u,t){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var r=u.type;if(!(r!=="submit"&&r!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+e._wrapperState.initialValue,t||u===e.value||(e.value=u),e.defaultValue=u}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function nm(e,u,t){(u!=="number"||Cd(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Zs=Array.isArray;function ta(e,u,t,r){if(e=e.options,u){u={};for(var n=0;n<t.length;n++)u["$"+t[n]]=!0;for(t=0;t<e.length;t++)n=u.hasOwnProperty("$"+e[t].value),e[t].selected!==n&&(e[t].selected=n),n&&r&&(e[t].defaultSelected=!0)}else{for(t=""+Di(t),u=null,n=0;n<e.length;n++){if(e[n].value===t){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}u!==null||e[n].disabled||(u=e[n])}u!==null&&(u.selected=!0)}}function im(e,u){if(u.dangerouslySetInnerHTML!=null)throw Error(Ae(91));return Lu({},u,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function K7(e,u){var t=u.value;if(t==null){if(t=u.children,u=u.defaultValue,t!=null){if(u!=null)throw Error(Ae(92));if(Zs(t)){if(1<t.length)throw Error(Ae(93));t=t[0]}u=t}u==null&&(u=""),t=u}e._wrapperState={initialValue:Di(t)}}function H_(e,u){var t=Di(u.value),r=Di(u.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),u.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function W7(e){var u=e.textContent;u===e._wrapperState.initialValue&&u!==""&&u!==null&&(e.value=u)}function j_(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Em(e,u){return e==null||e==="http://www.w3.org/1999/xhtml"?j_(u):e==="http://www.w3.org/2000/svg"&&u==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sl,K_=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(u,t,r,n){MSApp.execUnsafeLocalFunction(function(){return e(u,t,r,n)})}:e}(function(e,u){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=u;else{for(sl=sl||document.createElement("div"),sl.innerHTML="<svg>"+u.valueOf().toString()+"</svg>",u=sl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;u.firstChild;)e.appendChild(u.firstChild)}});function QA(e,u){if(u){var t=e.firstChild;
vendor: 7,371 bytes, line 37
37if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=u;return}}e.textContent=u}var pA={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},CH=["Webkit","ms","Moz","O"];Object.keys(pA).forEach(function(e){CH.forEach(function(u){u=u+e.charAt(0).toUpperCase()+e.substring(1),pA[u]=pA[e]})});function W_(e,u,t){return u==null||typeof u=="boolean"||u===""?"":t||typeof u!="number"||u===0||pA.hasOwnProperty(e)&&pA[e]?(""+u).trim():u+"px"}function V_(e,u){e=e.style;for(var t in u)if(u.hasOwnProperty(t)){var r=t.indexOf("--")===0,n=W_(t,u[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,n):e[t]=n}}var DH=Lu({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function om(e,u){if(u){if(DH[e]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(Ae(137,e));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(Ae(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(Ae(61))}if(u.style!=null&&typeof u.style!="object")throw Error(Ae(62))}}function am(e,u){if(e.indexOf("-")===-1)return typeof u.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sm=null;function Qv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Am=null,ra=null,na=null;function V7(e){if(e=Fc(e)){if(typeof Am!="function")throw Error(Ae(280));var u=e.stateNode;u&&(u=l2(u),Am(e.stateNode,e.type,u))}}function z_(e){ra?na?na.push(e):na=[e]:ra=e}function G_(){if(ra){var e=ra,u=na;if(na=ra=null,V7(e),u)for(e=0;e<u.length;e++)V7(u[e])}}function Y_(e,u){return e(u)}function X_(){}var x4=!1;function Z_(e,u,t){if(x4)return e(u,t);x4=!0;try{return Y_(e,u,t)}finally{x4=!1,(ra!==null||na!==null)&&(X_(),G_())}}function LA(e,u){var t=e.stateNode;if(t===null)return null;var r=l2(t);if(r===null)return null;t=r[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(Ae(231,u,typeof t));return t}var cm=!1;if(xn)try{var Fs={};Object.defineProperty(Fs,"passive",{get:function(){cm=!0}}),window.addEventListener("test",Fs,Fs),window.removeEventListener("test",Fs,Fs)}catch{cm=!1}function SH(e,u,t,r,n,i,E,o,a){var s=Array.prototype.slice.call(arguments,3);try{u.apply(t,s)}catch(A){this.onError(A)}}var hA=!1,Dd=null,Sd=!1,lm=null,FH={onError:function(e){hA=!0,Dd=e}};function _H(e,u,t,r,n,i,E,o,a){hA=!1,Dd=null,SH.apply(FH,arguments)}function IH(e,u,t,r,n,i,E,o,a){if(_H.apply(this,arguments),hA){if(hA){var s=Dd;hA=!1,Dd=null}else throw Error(Ae(198));Sd||(Sd=!0,lm=s)}}function qE(e){var u=e,t=e;if(e.alternate)for(;u.return;)u=u.return;else{e=u;do u=e,u.flags&4098&&(t=u.return),e=u.return;while(e)}return u.tag===3?t:null}function q_(e){if(e.tag===13){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function z7(e){if(qE(e)!==e)throw Error(Ae(188))}function TH(e){var u=e.alternate;if(!u){if(u=qE(e),u===null)throw Error(Ae(188));return u!==e?null:e}for(var t=e,r=u;;){var n=t.return;if(n===null)break;var i=n.alternate;if(i===null){if(r=n.return,r!==null){t=r;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===t)return z7(n),e;if(i===r)return z7(n),u;i=i.sibling}throw Error(Ae(188))}if(t.return!==r.return)t=n,r=i;else{for(var E=!1,o=n.child;o;){if(o===t){E=!0,t=n,r=i;break}if(o===r){E=!0,r=n,t=i;break}o=o.sibling}if(!E){for(o=i.child;o;){if(o===t){E=!0,t=i,r=n;break}if(o===r){E=!0,r=i,t=n;break}o=o.sibling}if(!E)throw Error(Ae(189))}}if(t.alternate!==r)throw Error(Ae(190))}if(t.tag!==3)throw Error(Ae(188));return t.stateNode.current===t?e:u}function J_(e){return e=TH(e),e!==null?eI(e):null}function eI(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var u=eI(e);if(u!==null)return u;e=e.sibling}return null}var uI=O0.unstable_scheduleCallback,G7=O0.unstable_cancelCallback,PH=O0.unstable_shouldYield,OH=O0.unstable_requestPaint,Wu=O0.unstable_now,kH=O0.unstable_getCurrentPriorityLevel,Lv=O0.unstable_ImmediatePriority,tI=O0.unstable_UserBlockingPriority,Fd=O0.unstable_NormalPriority,UH=O0.unstable_LowPriority,rI=O0.unstable_IdlePriority,a2=null,Gr=null;function QH(e){if(Gr&&typeof Gr.onCommitFiberRoot=="function")try{Gr.onCommitFiberRoot(a2,e,void 0,(e.current.flags&128)===128)}catch{}}var yr=Math.clz32?Math.clz32:RH,LH=Math.log,MH=Math.LN2;function RH(e){return e>>>=0,e===0?32:31-(LH(e)/MH|0)|0}var Al=64,cl=4194304;function qs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _d(e,u){var t=e.pendingLanes;if(t===0)return 0;var r=0,n=e.suspendedLanes,i=e.pingedLanes,E=t&268435455;if(E!==0){var o=E&~n;o!==0?r=qs(o):(i&=E,i!==0&&(r=qs(i)))}else E=t&~n,E!==0?r=qs(E):i!==0&&(r=qs(i));if(r===0)return 0;if(u!==0&&u!==r&&!(u&n)&&(n=r&-r,i=u&-u,n>=i||n===16&&(i&4194240)!==0))return u;if(r&4&&(r|=t&16),u=e.entangledLanes,u!==0)for(e=e.entanglements,u&=r;0<u;)t=31-yr(u),n=1<<t,r|=e[t],u&=~n;return r}function NH(e,u){switch(e){case 1:case 2:case 4:return u+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $H(e,u){for(var t=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes;0<i;){var E=31-yr(i),o=1<<E,a=n[E];a===-1?(!(o&t)||o&r)&&(n[E]=NH(o,u)):a<=u&&(e.expiredLanes|=o),i&=~o}}function fm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nI(){var e=Al;return Al<<=1,!(Al&4194240)&&(Al=64),e}function C4(e){for(var u=[],t=0;31>t;t++)u.push(e);return u}
vendor: 4,087 bytes, line 37
37function Dc(e,u,t){e.pendingLanes|=u,u!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,u=31-yr(u),e[u]=t}function HH(e,u){var t=e.pendingLanes&~u;e.pendingLanes=u,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=u,e.mutableReadLanes&=u,e.entangledLanes&=u,u=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var n=31-yr(t),i=1<<n;u[n]=0,r[n]=-1,e[n]=-1,t&=~i}}function Mv(e,u){var t=e.entangledLanes|=u;for(e=e.entanglements;t;){var r=31-yr(t),n=1<<r;n&u|e[r]&u&&(e[r]|=u),t&=~n}}var iu=0;function iI(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var EI,Rv,oI,aI,sI,dm=!1,ll=[],ii=null,Ei=null,oi=null,MA=new Map,RA=new Map,zn=[],jH="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Y7(e,u){switch(e){case"focusin":case"focusout":ii=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":oi=null;break;case"pointerover":case"pointerout":MA.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":RA.delete(u.pointerId)}}function _s(e,u,t,r,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:u,domEventName:t,eventSystemFlags:r,nativeEvent:i,targetContainers:[n]},u!==null&&(u=Fc(u),u!==null&&Rv(u)),e):(e.eventSystemFlags|=r,u=e.targetContainers,n!==null&&u.indexOf(n)===-1&&u.push(n),e)}function KH(e,u,t,r,n){switch(u){case"focusin":return ii=_s(ii,e,u,t,r,n),!0;case"dragenter":return Ei=_s(Ei,e,u,t,r,n),!0;case"mouseover":return oi=_s(oi,e,u,t,r,n),!0;case"pointerover":var i=n.pointerId;return MA.set(i,_s(MA.get(i)||null,e,u,t,r,n)),!0;case"gotpointercapture":return i=n.pointerId,RA.set(i,_s(RA.get(i)||null,e,u,t,r,n)),!0}return!1}function AI(e){var u=fE(e.target);if(u!==null){var t=qE(u);if(t!==null){if(u=t.tag,u===13){if(u=q_(t),u!==null){e.blockedOn=u,sI(e.priority,function(){oI(t)});return}}else if(u===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Lf(e){if(e.blockedOn!==null)return!1;for(var u=e.targetContainers;0<u.length;){var t=pm(e.domEventName,e.eventSystemFlags,u[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);sm=r,t.target.dispatchEvent(r),sm=null}else return u=Fc(t),u!==null&&Rv(u),e.blockedOn=t,!1;u.shift()}return!0}function X7(e,u,t){Lf(e)&&t.delete(u)}function WH(){dm=!1,ii!==null&&Lf(ii)&&(ii=null),Ei!==null&&Lf(Ei)&&(Ei=null),oi!==null&&Lf(oi)&&(oi=null),MA.forEach(X7),RA.forEach(X7)}function Is(e,u){e.blockedOn===u&&(e.blockedOn=null,dm||(dm=!0,O0.unstable_scheduleCallback(O0.unstable_NormalPriority,WH)))}function NA(e){function u(n){return Is(n,e)}if(0<ll.length){Is(ll[0],e);for(var t=1;t<ll.length;t++){var r=ll[t];r.blockedOn===e&&(r.blockedOn=null)}}for(ii!==null&&Is(ii,e),Ei!==null&&Is(Ei,e),oi!==null&&Is(oi,e),MA.forEach(u),RA.forEach(u),t=0;t<zn.length;t++)r=zn[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<zn.length&&(t=zn[0],t.blockedOn===null);)AI(t),t.blockedOn===null&&zn.shift()}var ia=Pn.ReactCurrentBatchConfig,Id=!0;function VH(e,u,t,r){var n=iu,i=ia.transition;ia.transition=null;try{iu=1,Nv(e,u,t,r)}finally{iu=n,ia.transition=i}}function zH(e,u,t,r){var n=iu,i=ia.transition;ia.transition=null;try{iu=4,Nv(e,u,t,r)}finally{iu=n,ia.transition=i}}function Nv(e,u,t,r){if(Id){var n=pm(e,u,t,r);if(n===null)U4(e,u,r,Td,t),Y7(e,r);else if(KH(n,e,u,t,r))r.stopPropagation();else if(Y7(e,r),u&4&&-1<jH.indexOf(e)){for(;n!==null;){var i=Fc(n);if(i!==null&&EI(i),i=pm(e,u,t,r),i===null&&U4(e,u,r,Td,t),i===n)break;n=i}n!==null&&r.stopPropagation()}else U4(e,u,r,null,t)}}var Td=null;function pm(e,u,t,r){if(Td=null,e=Qv(r),e=fE(e),e!==null)if(u=qE(e),u===null)e=null;else if(t=u.tag,t===13){if(e=q_(u),e!==null)return e;e=null}else if(t===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;e=null}else u!==e&&(e=null);return Td=e,null}
vendor: 10,401 bytes, line 37
37function cI(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(kH()){case Lv:return 1;case tI:return 4;case Fd:case UH:return 16;case rI:return 536870912;default:return 16}default:return 16}}var Yn=null,$v=null,Mf=null;function lI(){if(Mf)return Mf;var e,u=$v,t=u.length,r,n="value"in Yn?Yn.value:Yn.textContent,i=n.length;for(e=0;e<t&&u[e]===n[e];e++);var E=t-e;for(r=1;r<=E&&u[t-r]===n[i-r];r++);return Mf=n.slice(e,1<r?1-r:void 0)}function Rf(e){var u=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&u===13&&(e=13)):e=u,e===10&&(e=13),32<=e||e===13?e:0}function fl(){return!0}function Z7(){return!1}function Q0(e){function u(t,r,n,i,E){this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=E,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?fl:Z7,this.isPropagationStopped=Z7,this}return Lu(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=fl)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=fl)},persist:function(){},isPersistent:fl}),u}var Ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hv=Q0(Ya),Sc=Lu({},Ya,{view:0,detail:0}),GH=Q0(Sc),D4,S4,Ts,s2=Lu({},Sc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jv,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ts&&(Ts&&e.type==="mousemove"?(D4=e.screenX-Ts.screenX,S4=e.screenY-Ts.screenY):S4=D4=0,Ts=e),D4)},movementY:function(e){return"movementY"in e?e.movementY:S4}}),q7=Q0(s2),YH=Lu({},s2,{dataTransfer:0}),XH=Q0(YH),ZH=Lu({},Sc,{relatedTarget:0}),F4=Q0(ZH),qH=Lu({},Ya,{animationName:0,elapsedTime:0,pseudoElement:0}),JH=Q0(qH),ej=Lu({},Ya,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uj=Q0(ej),tj=Lu({},Ya,{data:0}),J7=Q0(tj),rj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nj={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ij={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ej(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=ij[e])?!!u[e]:!1}function jv(){return Ej}var oj=Lu({},Sc,{key:function(e){if(e.key){var u=rj[e.key]||e.key;if(u!=="Unidentified")return u}return e.type==="keypress"?(e=Rf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?nj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jv,charCode:function(e){return e.type==="keypress"?Rf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),aj=Q0(oj),sj=Lu({},s2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ex=Q0(sj),Aj=Lu({},Sc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jv}),cj=Q0(Aj),lj=Lu({},Ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),fj=Q0(lj),dj=Lu({},s2,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),pj=Q0(dj),hj=[9,13,27,32],Kv=xn&&"CompositionEvent"in window,mA=null;xn&&"documentMode"in document&&(mA=document.documentMode);var mj=xn&&"TextEvent"in window&&!mA,fI=xn&&(!Kv||mA&&8<mA&&11>=mA),ux=" ",tx=!1;function dI(e,u){switch(e){case"keyup":return hj.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ro=!1;function gj(e,u){switch(e){case"compositionend":return pI(u);case"keypress":return u.which!==32?null:(tx=!0,ux);case"textInput":return e=u.data,e===ux&&tx?null:e;default:return null}}function yj(e,u){if(Ro)return e==="compositionend"||!Kv&&dI(e,u)?(e=lI(),Mf=$v=Yn=null,Ro=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return fI&&u.locale!=="ko"?null:u.data;default:return null}}var vj={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rx(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!vj[e.type]:u==="textarea"}function hI(e,u,t,r){z_(r),u=Pd(u,"onChange"),0<u.length&&(t=new Hv("onChange","change",null,t,r),e.push({event:t,listeners:u}))}var gA=null,$A=null;function Bj(e){SI(e,0)}function A2(e){var u=Ho(e);if(N_(u))return e}function wj(e,u){if(e==="change")return u}var mI=!1;if(xn){var _4;if(xn){var I4="oninput"in document;if(!I4){var nx=document.createElement("div");nx.setAttribute("oninput","return;"),I4=typeof nx.oninput=="function"}_4=I4}else _4=!1;mI=_4&&(!document.documentMode||9<document.documentMode)}function ix(){gA&&(gA.detachEvent("onpropertychange",gI),$A=gA=null)}function gI(e){if(e.propertyName==="value"&&A2($A)){var u=[];hI(u,$A,e,Qv(e)),Z_(Bj,u)}}function bj(e,u,t){e==="focusin"?(ix(),gA=u,$A=t,gA.attachEvent("onpropertychange",gI)):e==="focusout"&&ix()}function xj(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return A2($A)}function Cj(e,u){if(e==="click")return A2(u)}function Dj(e,u){if(e==="input"||e==="change")return A2(u)}function Sj(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var Br=typeof Object.is=="function"?Object.is:Sj;function HA(e,u){if(Br(e,u))return!0;if(typeof e!="object"||e===null||typeof u!="object"||u===null)return!1;var t=Object.keys(e),r=Object.keys(u);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var n=t[r];if(!Z3.call(u,n)||!Br(e[n],u[n]))return!1}return!0}function Ex(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ox(e,u){var t=Ex(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=u&&r>=u)return{node:t,offset:u-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Ex(t)}}function yI(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?yI(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function vI(){for(var e=window,u=Cd();u instanceof e.HTMLIFrameElement;){try{var t=typeof u.contentWindow.location.href=="string"}catch{t=!1}if(t)e=u.contentWindow;else break;u=Cd(e.document)}return u}function Wv(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u&&(u==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||u==="textarea"||e.contentEditable==="true")}function Fj(e){var u=vI(),t=e.focusedElem,r=e.selectionRange;if(u!==t&&t&&t.ownerDocument&&yI(t.ownerDocument.documentElement,t)){if(r!==null&&Wv(t)){if(u=r.start,e=r.end,e===void 0&&(e=u),"selectionStart"in t)t.selectionStart=u,t.selectionEnd=Math.min(e,t.value.length);else if(e=(u=t.ownerDocument||document)&&u.defaultView||window,e.getSelection){e=e.getSelection();var n=t.textContent.length,i=Math.min(r.start,n);r=r.end===void 0?i:Math.min(r.end,n),!e.extend&&i>r&&(n=r,r=i,i=n),n=ox(t,i);var E=ox(t,r);n&&E&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==E.node||e.focusOffset!==E.offset)&&(u=u.createRange(),u.setStart(n.node,n.offset),e.removeAllRanges(),i>r?(e.addRange(u),e.extend(E.node,E.offset)):(u.setEnd(E.node,E.offset),e.addRange(u)))}}for(u=[],e=t;e=e.parentNode;)e.nodeType===1&&u.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<u.length;t++)e=u[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var _j=xn&&"documentMode"in document&&11>=document.documentMode,No=null,hm=null,yA=null,mm=!1;function ax(e,u,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;mm||No==null||No!==Cd(r)||(r=No,"selectionStart"in r&&Wv(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),yA&&HA(yA,r)||(yA=r,r=Pd(hm,"onSelect"),0<r.length&&(u=new Hv("onSelect","select",null,u,t),e.push({event:u,listeners:r}),u.target=No)))}function dl(e,u){var t={};return t[e.toLowerCase()]=u.toLowerCase(),t["Webkit"+e]="webkit"+u,t["Moz"+e]="moz"+u,t}var $o={animationend:dl("Animation","AnimationEnd"),animationiteration:dl("Animation","AnimationIteration"),animationstart:dl("Animation","AnimationStart"),transitionend:dl("Transition","TransitionEnd")},T4={},BI={};xn&&(BI=document.createElement("div").style,"AnimationEvent"in window||(delete $o.animationend.animation,delete $o.animationiteration.animation,delete $o.animationstart.animation),"TransitionEvent"in window||delete $o.transitionend.transition);function c2(e){if(T4[e])return T4[e];if(!$o[e])return e;var u=$o[e],t;for(t in u)if(u.hasOwnProperty(t)&&t in BI)return T4[e]=u[t];return e}var wI=c2("animationend"),bI=c2("animationiteration"),xI=c2("animationstart"),CI=c2("transitionend"),DI=new Map,sx="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Qi(e,u){DI.set(e,u),ZE(u,[e])}for(var P4=0;P4<sx.length;P4++){var O4=sx[P4],Ij=O4.toLowerCase(),Tj=O4[0].toUpperCase()+O4.slice(1);Qi(Ij,"on"+Tj)}Qi(wI,"onAnimationEnd");Qi(bI,"onAnimationIteration");Qi(xI,"onAnimationStart");Qi("dblclick","onDoubleClick");Qi("focusin","onFocus");Qi("focusout","onBlur");Qi(CI,"onTransitionEnd");ga("onMouseEnter",["mouseout","mouseover"]);ga("onMouseLeave",["mouseout","mouseover"]);ga("onPointerEnter",["pointerout","pointerover"]);ga("onPointerLeave",["pointerout","pointerover"]);ZE("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ZE("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ZE("onBeforeInput",["compositionend","keypress","textInput","paste"]);ZE("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ZE("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ZE("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Js="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pj=new Set("cancel close invalid load scroll toggle".split(" ").concat(Js));function Ax(e,u,t){var r=e.type||"unknown-event";e.currentTarget=t,IH(r,u,void 0,e),e.currentTarget=null}function SI(e,u){u=(u&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],n=r.event;r=r.listeners;e:{var i=void 0;if(u)for(var E=r.length-1;0<=E;E--){var o=r[E],a=o.instance,s=o.currentTarget;if(o=o.listener,a!==i&&n.isPropagationStopped())break e;Ax(n,o,s),i=a}else for(E=0;E<r.length;E++){if(o=r[E],a=o.instance,s=o.currentTarget,o=o.listener,a!==i&&n.isPropagationStopped())break e;Ax(n,o,s),i=a}}}if(Sd)throw e=lm,Sd=!1,lm=null,e}function mu(e,u){var t=u[wm];t===void 0&&(t=u[wm]=new Set);var r=e+"__bubble";t.has(r)||(FI(u,e,2,!1),t.add(r))}function k4(e,u,t){var r=0;u&&(r|=4),FI(t,e,r,u)}var pl="_reactListening"+Math.random().toString(36).slice(2);function jA(e){if(!e[pl]){e[pl]=!0,U_.forEach(function(t){t!=="selectionchange"&&(Pj.has(t)||k4(t,!1,e),k4(t,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[pl]||(u[pl]=!0,k4("selectionchange",!1,u))}}function FI(e,u,t,r){switch(cI(u)){case 1:var n=VH;break;case 4:n=zH;break;default:n=Nv}t=n.bind(null,u,t,e),n=void 0,!cm||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(u,t,{capture:!0,passive:n}):e.addEventListener(u,t,!0):n!==void 0?e.addEventListener(u,t,{passive:n}):e.addEventListener(u,t,!1)}function U4(e,u,t,r,n){var i=r;if(!(u&1)&&!(u&2)&&r!==null)e:for(;;){if(r===null)return;var E=r.tag;if(E===3||E===4){var o=r.stateNode.containerInfo;
vendor: 25,336 bytes, lines 37-38
37if(o===n||o.nodeType===8&&o.parentNode===n)break;if(E===4)for(E=r.return;E!==null;){var a=E.tag;if((a===3||a===4)&&(a=E.stateNode.containerInfo,a===n||a.nodeType===8&&a.parentNode===n))return;E=E.return}for(;o!==null;){if(E=fE(o),E===null)return;if(a=E.tag,a===5||a===6){r=i=E;continue e}o=o.parentNode}}r=r.return}Z_(function(){var s=i,A=Qv(t),c=[];e:{var l=DI.get(e);if(l!==void 0){var f=Hv,p=e;switch(e){case"keypress":if(Rf(t)===0)break e;case"keydown":case"keyup":f=aj;break;case"focusin":p="focus",f=F4;break;case"focusout":p="blur",f=F4;break;case"beforeblur":case"afterblur":f=F4;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=q7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=XH;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=cj;break;case wI:case bI:case xI:f=JH;break;case CI:f=fj;break;case"scroll":f=GH;break;case"wheel":f=pj;break;case"copy":case"cut":case"paste":f=uj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=ex}var h=(u&4)!==0,w=!h&&e==="scroll",m=h?l!==null?l+"Capture":null:l;h=[];for(var g=s,v;g!==null;){v=g;var d=v.stateNode;if(v.tag===5&&d!==null&&(v=d,m!==null&&(d=LA(g,m),d!=null&&h.push(KA(g,d,v)))),w)break;g=g.return}0<h.length&&(l=new f(l,p,null,t,A),c.push({event:l,listeners:h}))}}if(!(u&7)){e:{if(l=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",l&&t!==sm&&(p=t.relatedTarget||t.fromElement)&&(fE(p)||p[Cn]))break e;if((f||l)&&(l=A.window===A?A:(l=A.ownerDocument)?l.defaultView||l.parentWindow:window,f?(p=t.relatedTarget||t.toElement,f=s,p=p?fE(p):null,p!==null&&(w=qE(p),p!==w||p.tag!==5&&p.tag!==6)&&(p=null)):(f=null,p=s),f!==p)){if(h=q7,d="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(h=ex,d="onPointerLeave",m="onPointerEnter",g="pointer"),w=f==null?l:Ho(f),v=p==null?l:Ho(p),l=new h(d,g+"leave",f,t,A),l.target=w,l.relatedTarget=v,d=null,fE(A)===s&&(h=new h(m,g+"enter",p,t,A),h.target=v,h.relatedTarget=w,d=h),w=d,f&&p)u:{for(h=f,m=p,g=0,v=h;v;v=oo(v))g++;for(v=0,d=m;d;d=oo(d))v++;for(;0<g-v;)h=oo(h),g--;for(;0<v-g;)m=oo(m),v--;for(;g--;){if(h===m||m!==null&&h===m.alternate)break u;h=oo(h),m=oo(m)}h=null}else h=null;f!==null&&cx(c,l,f,h,!1),p!==null&&w!==null&&cx(c,w,p,h,!0)}}e:{if(l=s?Ho(s):window,f=l.nodeName&&l.nodeName.toLowerCase(),f==="select"||f==="input"&&l.type==="file")var y=wj;else if(rx(l))if(mI)y=Dj;else{y=xj;var b=bj}else(f=l.nodeName)&&f.toLowerCase()==="input"&&(l.type==="checkbox"||l.type==="radio")&&(y=Cj);if(y&&(y=y(e,s))){hI(c,y,t,A);break e}b&&b(e,l,s),e==="focusout"&&(b=l._wrapperState)&&b.controlled&&l.type==="number"&&nm(l,"number",l.value)}switch(b=s?Ho(s):window,e){case"focusin":(rx(b)||b.contentEditable==="true")&&(No=b,hm=s,yA=null);break;case"focusout":yA=hm=No=null;break;case"mousedown":mm=!0;break;case"contextmenu":case"mouseup":case"dragend":mm=!1,ax(c,t,A);break;case"selectionchange":if(_j)break;case"keydown":case"keyup":ax(c,t,A)}var C;if(Kv)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Ro?dI(e,t)&&(S="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(S="onCompositionStart");S&&(fI&&t.locale!=="ko"&&(Ro||S!=="onCompositionStart"?S==="onCompositionEnd"&&Ro&&(C=lI()):(Yn=A,$v="value"in Yn?Yn.value:Yn.textContent,Ro=!0)),b=Pd(s,S),0<b.length&&(S=new J7(S,e,null,t,A),c.push({event:S,listeners:b}),C?S.data=C:(C=pI(t),C!==null&&(S.data=C)))),(C=mj?gj(e,t):yj(e,t))&&(s=Pd(s,"onBeforeInput"),0<s.length&&(A=new J7("onBeforeInput","beforeinput",null,t,A),c.push({event:A,listeners:s}),A.data=C))}SI(c,u)})}function KA(e,u,t){return{instance:e,listener:u,currentTarget:t}}function Pd(e,u){for(var t=u+"Capture",r=[];e!==null;){var n=e,i=n.stateNode;n.tag===5&&i!==null&&(n=i,i=LA(e,t),i!=null&&r.unshift(KA(e,i,n)),i=LA(e,u),i!=null&&r.push(KA(e,i,n))),e=e.return}return r}function oo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function cx(e,u,t,r,n){for(var i=u._reactName,E=[];t!==null&&t!==r;){var o=t,a=o.alternate,s=o.stateNode;if(a!==null&&a===r)break;o.tag===5&&s!==null&&(o=s,n?(a=LA(t,i),a!=null&&E.unshift(KA(t,a,o))):n||(a=LA(t,i),a!=null&&E.push(KA(t,a,o)))),t=t.return}E.length!==0&&e.push({event:u,listeners:E})}var Oj=/\r\n?/g,kj=/\u0000|\uFFFD/g;function lx(e){return(typeof e=="string"?e:""+e).replace(Oj,`
38`).replace(kj,"")}function hl(e,u,t){if(u=lx(u),lx(e)!==u&&t)throw Error(Ae(425))}function Od(){}var gm=null,ym=null;function vm(e,u){return e==="textarea"||e==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var Bm=typeof setTimeout=="function"?setTimeout:void 0,Uj=typeof clearTimeout=="function"?clearTimeout:void 0,fx=typeof Promise=="function"?Promise:void 0,Qj=typeof queueMicrotask=="function"?queueMicrotask:typeof fx<"u"?function(e){return fx.resolve(null).then(e).catch(Lj)}:Bm;function Lj(e){setTimeout(function(){throw e})}function Q4(e,u){var t=u,r=0;do{var n=t.nextSibling;if(e.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"){if(r===0){e.removeChild(n),NA(u);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=n}while(t);NA(u)}function ai(e){for(;e!=null;e=e.nextSibling){var u=e.nodeType;if(u===1||u===3)break;if(u===8){if(u=e.data,u==="$"||u==="$!"||u==="$?")break;if(u==="/$")return null}}return e}function dx(e){e=e.previousSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(u===0)return e;u--}else t==="/$"&&u++}e=e.previousSibling}return null}var Xa=Math.random().toString(36).slice(2),$r="__reactFiber$"+Xa,WA="__reactProps$"+Xa,Cn="__reactContainer$"+Xa,wm="__reactEvents$"+Xa,Mj="__reactListeners$"+Xa,Rj="__reactHandles$"+Xa;function fE(e){var u=e[$r];if(u)return u;for(var t=e.parentNode;t;){if(u=t[Cn]||t[$r]){if(t=u.alternate,u.child!==null||t!==null&&t.child!==null)for(e=dx(e);e!==null;){if(t=e[$r])return t;e=dx(e)}return u}e=t,t=e.parentNode}return null}function Fc(e){return e=e[$r]||e[Cn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ho(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Ae(33))}function l2(e){return e[WA]||null}var bm=[],jo=-1;function Li(e){return{current:e}}function yu(e){0>jo||(e.current=bm[jo],bm[jo]=null,jo--)}function pu(e,u){jo++,bm[jo]=e.current,e.current=u}var Si={},Ht=Li(Si),l0=Li(!1),UE=Si;function ya(e,u){var t=e.type.contextTypes;if(!t)return Si;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===u)return r.__reactInternalMemoizedMaskedChildContext;var n={},i;for(i in t)n[i]=u[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=n),n}function f0(e){return e=e.childContextTypes,e!=null}function kd(){yu(l0),yu(Ht)}function px(e,u,t){if(Ht.current!==Si)throw Error(Ae(168));pu(Ht,u),pu(l0,t)}function _I(e,u,t){var r=e.stateNode;if(u=u.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var n in r)if(!(n in u))throw Error(Ae(108,bH(e)||"Unknown",n));return Lu({},t,r)}function Ud(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Si,UE=Ht.current,pu(Ht,e),pu(l0,l0.current),!0}function hx(e,u,t){var r=e.stateNode;if(!r)throw Error(Ae(169));t?(e=_I(e,u,UE),r.__reactInternalMemoizedMergedChildContext=e,yu(l0),yu(Ht),pu(Ht,e)):yu(l0),pu(l0,t)}var hn=null,f2=!1,L4=!1;function II(e){hn===null?hn=[e]:hn.push(e)}function Nj(e){f2=!0,II(e)}function Mi(){if(!L4&&hn!==null){L4=!0;var e=0,u=iu;try{var t=hn;for(iu=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}hn=null,f2=!1}catch(n){throw hn!==null&&(hn=hn.slice(e+1)),uI(Lv,Mi),n}finally{iu=u,L4=!1}}return null}var Ko=[],Wo=0,Qd=null,Ld=0,V0=[],z0=0,QE=null,yn=1,vn="";function Ji(e,u){Ko[Wo++]=Ld,Ko[Wo++]=Qd,Qd=e,Ld=u}function TI(e,u,t){V0[z0++]=yn,V0[z0++]=vn,V0[z0++]=QE,QE=e;var r=yn;e=vn;var n=32-yr(r)-1;r&=~(1<<n),t+=1;var i=32-yr(u)+n;if(30<i){var E=n-n%5;i=(r&(1<<E)-1).toString(32),r>>=E,n-=E,yn=1<<32-yr(u)+n|t<<n|r,vn=i+e}else yn=1<<i|t<<n|r,vn=e}function Vv(e){e.return!==null&&(Ji(e,1),TI(e,1,0))}function zv(e){for(;e===Qd;)Qd=Ko[--Wo],Ko[Wo]=null,Ld=Ko[--Wo],Ko[Wo]=null;for(;e===QE;)QE=V0[--z0],V0[z0]=null,vn=V0[--z0],V0[z0]=null,yn=V0[--z0],V0[z0]=null}var I0=null,_0=null,Cu=!1,hr=null;function PI(e,u){var t=X0(5,null,null,0);t.elementType="DELETED",t.stateNode=u,t.return=e,u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)}function mx(e,u){switch(e.tag){case 5:var t=e.type;return u=u.nodeType!==1||t.toLowerCase()!==u.nodeName.toLowerCase()?null:u,u!==null?(e.stateNode=u,I0=e,_0=ai(u.firstChild),!0):!1;case 6:return u=e.pendingProps===""||u.nodeType!==3?null:u,u!==null?(e.stateNode=u,I0=e,_0=null,!0):!1;case 13:return u=u.nodeType!==8?null:u,u!==null?(t=QE!==null?{id:yn,overflow:vn}:null,e.memoizedState={dehydrated:u,treeContext:t,retryLane:1073741824},t=X0(18,null,null,0),t.stateNode=u,t.return=e,e.child=t,I0=e,_0=null,!0):!1;default:return!1}}function xm(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cm(e){if(Cu){var u=_0;if(u){var t=u;if(!mx(e,u)){if(xm(e))throw Error(Ae(418));u=ai(t.nextSibling);var r=I0;u&&mx(e,u)?PI(r,t):(e.flags=e.flags&-4097|2,Cu=!1,I0=e)}}else{if(xm(e))throw Error(Ae(418));e.flags=e.flags&-4097|2,Cu=!1,I0=e}}}function gx(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;I0=e}function ml(e){if(e!==I0)return!1;if(!Cu)return gx(e),Cu=!0,!1;var u;if((u=e.tag!==3)&&!(u=e.tag!==5)&&(u=e.type,u=u!=="head"&&u!=="body"&&!vm(e.type,e.memoizedProps)),u&&(u=_0)){if(xm(e))throw OI(),Error(Ae(418));for(;u;)PI(e,u),u=ai(u.nextSibling)}if(gx(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ae(317));e:{for(e=e.nextSibling,u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(u===0){_0=ai(e.nextSibling);break e}u--}else t!=="$"&&t!=="$!"&&t!=="$?"||u++}e=e.nextSibling}_0=null}}else _0=I0?ai(e.stateNode.nextSibling):null;return!0}function OI(){for(var e=_0;e;)e=ai(e.nextSibling)}function va(){_0=I0=null,Cu=!1}function Gv(e){hr===null?hr=[e]:hr.push(e)}var $j=Pn.ReactCurrentBatchConfig;function Ps(e,u,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(Ae(309));var r=t.stateNode}if(!r)throw Error(Ae(147,e));var n=r,i=""+e;return u!==null&&u.ref!==null&&typeof u.ref=="function"&&u.ref._stringRef===i?u.ref:(u=function(E){var o=n.refs;E===null?delete o[i]:o[i]=E},u._stringRef=i,u)}if(typeof e!="string")throw Error(Ae(284));if(!t._owner)throw Error(Ae(290,e))}return e}function gl(e,u){throw e=Object.prototype.toString.call(u),Error(Ae(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e))}function yx(e){var u=e._init;return u(e._payload)}function kI(e){function u(m,g){if(e){var v=m.deletions;v===null?(m.deletions=[g],m.flags|=16):v.push(g)}}function t(m,g){if(!e)return null;for(;g!==null;)u(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function n(m,g){return m=li(m,g),m.index=0,m.sibling=null,m}function i(m,g,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<g?(m.flags|=2,g):v):(m.flags|=2,g)):(m.flags|=1048576,g)}function E(m){return e&&m.alternate===null&&(m.flags|=2),m}function o(m,g,v,d){return g===null||g.tag!==6?(g=K4(v,m.mode,d),g.return=m,g):(g=n(g,v),g.return=m,g)}function a(m,g,v,d){var y=v.type;return y===Mo?A(m,g,v.props.children,d,v.key):g!==null&&(g.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===jn&&yx(y)===g.type)?(d=n(g,v.props),d.ref=Ps(m,g,v),d.return=m,d):(d=Vf(v.type,v.key,v.props,null,m.mode,d),d.ref=Ps(m,g,v),d.return=m,d)}function s(m,g,v,d){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=W4(v,m.mode,d),g.return=m,g):(g=n(g,v.children||[]),g.return=m,g)}function A(m,g,v,d,y){return g===null||g.tag!==7?(g=bE(v,m.mode,d,y),g.return=m,g):(g=n(g,v),g.return=m,g)}function c(m,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=K4(""+g,m.mode,v),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ol:return v=Vf(g.type,g.key,g.props,null,m.mode,v),v.ref=Ps(m,null,g),v.return=m,v;case Lo:return g=W4(g,m.mode,v),g.return=m,g;case jn:var d=g._init;return c(m,d(g._payload),v)}if(Zs(g)||Ss(g))return g=bE(g,m.mode,v,null),g.return=m,g;gl(m,g)}return null}function l(m,g,v,d){var y=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return y!==null?null:o(m,g,""+v,d);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ol:return v.key===y?a(m,g,v,d):null;case Lo:return v.key===y?s(m,g,v,d):null;case jn:return y=v._init,l(m,g,y(v._payload),d)}if(Zs(v)||Ss(v))return y!==null?null:A(m,g,v,d,null);gl(m,v)}return null}function f(m,g,v,d,y){if(typeof d=="string"&&d!==""||typeof d=="number")return m=m.get(v)||null,o(g,m,""+d,y);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case ol:return m=m.get(d.key===null?v:d.key)||null,a(g,m,d,y);case Lo:return m=m.get(d.key===null?v:d.key)||null,s(g,m,d,y);case jn:var b=d._init;return f(m,g,v,b(d._payload),y)}if(Zs(d)||Ss(d))return m=m.get(v)||null,A(g,m,d,y,null);gl(g,d)}return null}function p(m,g,v,d){for(var y=null,b=null,C=g,S=g=0,F=null;C!==null&&S<v.length;S++){C.index>S?(F=C,C=null):F=C.sibling;var I=l(m,C,v[S],d);if(I===null){C===null&&(C=F);break}e&&C&&I.alternate===null&&u(m,C),g=i(I,g,S),b===null?y=I:b.sibling=I,b=I,C=F}if(S===v.length)return t(m,C),Cu&&Ji(m,S),y;if(C===null){for(;S<v.length;S++)C=c(m,v[S],d),C!==null&&(g=i(C,g,S),b===null?y=C:b.sibling=C,b=C);return Cu&&Ji(m,S),y}for(C=r(m,C);S<v.length;S++)F=f(C,m,S,v[S],d),F!==null&&(e&&F.alternate!==null&&C.delete(F.key===null?S:F.key),g=i(F,g,S),b===null?y=F:b.sibling=F,b=F);return e&&C.forEach(function(R){return u(m,R)}),Cu&&Ji(m,S),y}function h(m,g,v,d){var y=Ss(v);if(typeof y!="function")throw Error(Ae(150));if(v=y.call(v),v==null)throw Error(Ae(151));for(var b=y=null,C=g,S=g=0,F=null,I=v.next();C!==null&&!I.done;S++,I=v.next()){C.index>S?(F=C,C=null):F=C.sibling;var R=l(m,C,I.value,d);if(R===null){C===null&&(C=F);break}e&&C&&R.alternate===null&&u(m,C),g=i(R,g,S),b===null?y=R:b.sibling=R,b=R,C=F}if(I.done)return t(m,C),Cu&&Ji(m,S),y;if(C===null){for(;!I.done;S++,I=v.next())I=c(m,I.value,d),I!==null&&(g=i(I,g,S),b===null?y=I:b.sibling=I,b=I);return Cu&&Ji(m,S),y}for(C=r(m,C);!I.done;S++,I=v.next())I=f(C,m,S,I.value,d),I!==null&&(e&&I.alternate!==null&&C.delete(I.key===null?S:I.key),g=i(I,g,S),b===null?y=I:b.sibling=I,b=I);return e&&C.forEach(function(X){return u(m,X)}),Cu&&Ji(m,S),y}function w(m,g,v,d){if(typeof v=="object"&&v!==null&&v.type===Mo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ol:e:{for(var y=v.key,b=g;b!==null;){if(b.key===y){if(y=v.type,y===Mo){if(b.tag===7){t(m,b.sibling),g=n(b,v.props.children),g.return=m,m=g;break e}}else if(b.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===jn&&yx(y)===b.type){t(m,b.sibling),g=n(b,v.props),g.ref=Ps(m,b,v),g.return=m,m=g;break e}t(m,b);break}else u(m,b);b=b.sibling}v.type===Mo?(g=bE(v.props.children,m.mode,d,v.key),g.return=m,m=g):(d=Vf(v.type,v.key,v.props,null,m.mode,d),d.ref=Ps(m,g,v),d.return=m,m=d)}return E(m);case Lo:e:{for(b=v.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){t(m,g.sibling),g=n(g,v.children||[]),g.return=m,m=g;break e}else{t(m,g);break}else u(m,g);g=g.sibling}g=W4(v,m.mode,d),g.return=m,m=g}return E(m);case jn:return b=v._init,w(m,g,b(v._payload),d)}if(Zs(v))return p(m,g,v,d);if(Ss(v))return h(m,g,v,d);gl(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(t(m,g.sibling),g=n(g,v),g.return=m,m=g):(t(m,g),g=K4(v,m.mode,d),g.return=m,m=g),E(m)):t(m,g)}return w}var Ba=kI(!0),UI=kI(!1),Md=Li(null),Rd=null,Vo=null,Yv=null;function Xv(){Yv=Vo=Rd=null}function Zv(e){var u=Md.current;yu(Md),e._currentValue=u}function Dm(e,u,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&u)!==u?(e.childLanes|=u,r!==null&&(r.childLanes|=u)):r!==null&&(r.childLanes&u)!==u&&(r.childLanes|=u),e===t)break;e=e.return}}function Ea(e,u){Rd=e,Yv=Vo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&u&&(c0=!0),e.firstContext=null)}function tr(e){var u=e._currentValue;if(Yv!==e)if(e={context:e,memoizedValue:u,next:null},Vo===null){if(Rd===null)throw Error(Ae(308));Vo=e,Rd.dependencies={lanes:0,firstContext:e}}else Vo=Vo.next=e;return u}var dE=null;function qv(e){dE===null?dE=[e]:dE.push(e)}function QI(e,u,t,r){var n=u.interleaved;return n===null?(t.next=t,qv(u)):(t.next=n.next,n.next=t),u.interleaved=t,Dn(e,r)}function Dn(e,u){e.lanes|=u;var t=e.alternate;for(t!==null&&(t.lanes|=u),t=e,e=e.return;e!==null;)e.childLanes|=u,t=e.alternate,t!==null&&(t.childLanes|=u),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Kn=!1;function Jv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function LI(e,u){e=e.updateQueue,u.updateQueue===e&&(u.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bn(e,u){return{eventTime:e,lane:u,tag:0,payload:null,callback:null,next:null}}function si(e,u,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,je&2){var n=r.pending;return n===null?u.next=u:(u.next=n.next,n.next=u),r.pending=u,Dn(e,t)}return n=r.interleaved,n===null?(u.next=u,qv(r)):(u.next=n.next,n.next=u),r.interleaved=u,Dn(e,t)}function Nf(e,u,t){if(u=u.updateQueue,u!==null&&(u=u.shared,(t&4194240)!==0)){var r=u.lanes;r&=e.pendingLanes,t|=r,u.lanes=t,Mv(e,t)}}function vx(e,u){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var n=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var E={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?n=i=E:i=i.next=E,t=t.next}while(t!==null);i===null?n=i=u:i=i.next=u}else n=i=u;t={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=u:e.next=u,t.lastBaseUpdate=u}function Nd(e,u,t,r){var n=e.updateQueue;Kn=!1;var i=n.firstBaseUpdate,E=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var a=o,s=a.next;a.next=null,E===null?i=s:E.next=s,E=a;var A=e.alternate;A!==null&&(A=A.updateQueue,o=A.lastBaseUpdate,o!==E&&(o===null?A.firstBaseUpdate=s:o.next=s,A.lastBaseUpdate=a))}if(i!==null){var c=n.baseState;E=0,A=s=a=null,o=i;do{var l=o.lane,f=o.eventTime;if((r&l)===l){A!==null&&(A=A.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,h=o;switch(l=u,f=t,h.tag){case 1:if(p=h.payload,typeof p=="function"){c=p.call(f,c,l);break e}c=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=h.payload,l=typeof p=="function"?p.call(f,c,l):p,l==null)break e;c=Lu({},c,l);break e;case 2:Kn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,l=n.effects,l===null?n.effects=[o]:l.push(o))}else f={eventTime:f,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},A===null?(s=A=f,a=c):A=A.next=f,E|=l;if(o=o.next,o===null){if(o=n.shared.pending,o===null)break;l=o,o=l.next,l.next=null,n.lastBaseUpdate=l,n.shared.pending=null}}while(!0);if(A===null&&(a=c),n.baseState=a,n.firstBaseUpdate=s,n.lastBaseUpdate=A,u=n.shared.interleaved,u!==null){n=u;do E|=n.lane,n=n.next;while(n!==u)}else i===null&&(n.shared.lanes=0);ME|=E,e.lanes=E,e.memoizedState=c}}function Bx(e,u,t){if(e=u.effects,u.effects=null,e!==null)for(u=0;u<e.length;u++){var r=e[u],n=r.callback;if(n!==null){if(r.callback=null,r=t,typeof n!="function")throw Error(Ae(191,n));n.call(r)}}}var _c={},Yr=Li(_c),VA=Li(_c),zA=Li(_c);function pE(e){if(e===_c)throw Error(Ae(174));return e}function eB(e,u){switch(pu(zA,u),pu(VA,e),pu(Yr,_c),e=u.nodeType,e){case 9:case 11:u=(u=u.documentElement)?u.namespaceURI:Em(null,"");break;default:e=e===8?u.parentNode:u,u=e.namespaceURI||null,e=e.tagName,u=Em(u,e)}yu(Yr),pu(Yr,u)}function wa(){yu(Yr),yu(VA),yu(zA)}function MI(e){pE(zA.current);var u=pE(Yr.current),t=Em(u,e.type);u!==t&&(pu(VA,e),pu(Yr,t))}function uB(e){VA.current===e&&(yu(Yr),yu(VA))}var Ou=Li(0);function $d(e){for(var u=e;u!==null;){if(u.tag===13){var t=u.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var M4=[];function tB(){for(var e=0;e<M4.length;e++)M4[e]._workInProgressVersionPrimary=null;M4.length=0}var $f=Pn.ReactCurrentDispatcher,R4=Pn.ReactCurrentBatchConfig,LE=0,Qu=null,rt=null,ct=null,Hd=!1,vA=!1,GA=0,Hj=0;function Ft(){throw Error(Ae(321))}function rB(e,u){if(u===null)return!1;for(var t=0;t<u.length&&t<e.length;t++)if(!Br(e[t],u[t]))return!1;return!0}function nB(e,u,t,r,n,i){if(LE=i,Qu=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,$f.current=e===null||e.memoizedState===null?Vj:zj,e=t(r,n),vA){i=0;do{if(vA=!1,GA=0,25<=i)throw Error(Ae(301));i+=1,ct=rt=null,u.updateQueue=null,$f.current=Gj,e=t(r,n)}while(vA)}if($f.current=jd,u=rt!==null&&rt.next!==null,LE=0,ct=rt=Qu=null,Hd=!1,u)throw Error(Ae(300));return e}function iB(){var e=GA!==0;return GA=0,e}function Lr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?Qu.memoizedState=ct=e:ct=ct.next=e,ct}function rr(){if(rt===null){var e=Qu.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var u=ct===null?Qu.memoizedState:ct.next;if(u!==null)ct=u,rt=e;else{if(e===null)throw Error(Ae(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},ct===null?Qu.memoizedState=ct=e:ct=ct.next=e}return ct}function YA(e,u){return typeof u=="function"?u(e):u}function N4(e){var u=rr(),t=u.queue;if(t===null)throw Error(Ae(311));t.lastRenderedReducer=e;var r=rt,n=r.baseQueue,i=t.pending;if(i!==null){if(n!==null){var E=n.next;n.next=i.next,i.next=E}r.baseQueue=n=i,t.pending=null}if(n!==null){i=n.next,r=r.baseState;var o=E=null,a=null,s=i;do{var A=s.lane;if((LE&A)===A)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var c={lane:A,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(o=a=c,E=r):a=a.next=c,Qu.lanes|=A,ME|=A}s=s.next}while(s!==null&&s!==i);a===null?E=r:a.next=o,Br(r,u.memoizedState)||(c0=!0),u.memoizedState=r,u.baseState=E,u.baseQueue=a,t.lastRenderedState=r}if(e=t.interleaved,e!==null){n=e;do i=n.lane,Qu.lanes|=i,ME|=i,n=n.next;while(n!==e)}else n===null&&(t.lanes=0);return[u.memoizedState,t.dispatch]}function $4(e){var u=rr(),t=u.queue;if(t===null)throw Error(Ae(311));t.lastRenderedReducer=e;var r=t.dispatch,n=t.pending,i=u.memoizedState;if(n!==null){t.pending=null;var E=n=n.next;do i=e(i,E.action),E=E.next;while(E!==n);Br(i,u.memoizedState)||(c0=!0),u.memoizedState=i,u.baseQueue===null&&(u.baseState=i),t.lastRenderedState=i}return[i,r]}function RI(){}function NI(e,u){var t=Qu,r=rr(),n=u(),i=!Br(r.memoizedState,n);if(i&&(r.memoizedState=n,c0=!0),r=r.queue,EB(jI.bind(null,t,r,e),[e]),r.getSnapshot!==u||i||ct!==null&&ct.memoizedState.tag&1){if(t.flags|=2048,XA(9,HI.bind(null,t,r,n,u),void 0,null),pt===null)throw Error(Ae(349));LE&30||$I(t,u,n)}return n}function $I(e,u,t){e.flags|=16384,e={getSnapshot:u,value:t},u=Qu.updateQueue,u===null?(u={lastEffect:null,stores:null},Qu.updateQueue=u,u.stores=[e]):(t=u.stores,t===null?u.stores=[e]:t.push(e))}function HI(e,u,t,r){u.value=t,u.getSnapshot=r,KI(u)&&WI(e)}function jI(e,u,t){return t(function(){KI(u)&&WI(e)})}function KI(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!Br(e,t)}catch{return!0}}function WI(e){var u=Dn(e,1);u!==null&&vr(u,e,1,-1)}function wx(e){var u=Lr();return typeof e=="function"&&(e=e()),u.memoizedState=u.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:YA,lastRenderedState:e},u.queue=e,e=e.dispatch=Wj.bind(null,Qu,e),[u.memoizedState,e]}function XA(e,u,t,r){return e={tag:e,create:u,destroy:t,deps:r,next:null},u=Qu.updateQueue,u===null?(u={lastEffect:null,stores:null},Qu.updateQueue=u,u.lastEffect=e.next=e):(t=u.lastEffect,t===null?u.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,u.lastEffect=e)),e}function VI(){return rr().memoizedState}function Hf(e,u,t,r){var n=Lr();Qu.flags|=e,n.memoizedState=XA(1|u,t,void 0,r===void 0?null:r)}function d2(e,u,t,r){var n=rr();r=r===void 0?null:r;var i=void 0;if(rt!==null){var E=rt.memoizedState;
vendor: 4,220 bytes, line 38
38if(i=E.destroy,r!==null&&rB(r,E.deps)){n.memoizedState=XA(u,t,i,r);return}}Qu.flags|=e,n.memoizedState=XA(1|u,t,i,r)}function bx(e,u){return Hf(8390656,8,e,u)}function EB(e,u){return d2(2048,8,e,u)}function zI(e,u){return d2(4,2,e,u)}function GI(e,u){return d2(4,4,e,u)}function YI(e,u){if(typeof u=="function")return e=e(),u(e),function(){u(null)};if(u!=null)return e=e(),u.current=e,function(){u.current=null}}function XI(e,u,t){return t=t!=null?t.concat([e]):null,d2(4,4,YI.bind(null,u,e),t)}function oB(){}function ZI(e,u){var t=rr();u=u===void 0?null:u;var r=t.memoizedState;return r!==null&&u!==null&&rB(u,r[1])?r[0]:(t.memoizedState=[e,u],e)}function qI(e,u){var t=rr();u=u===void 0?null:u;var r=t.memoizedState;return r!==null&&u!==null&&rB(u,r[1])?r[0]:(e=e(),t.memoizedState=[e,u],e)}function JI(e,u,t){return LE&21?(Br(t,u)||(t=nI(),Qu.lanes|=t,ME|=t,e.baseState=!0),u):(e.baseState&&(e.baseState=!1,c0=!0),e.memoizedState=t)}function jj(e,u){var t=iu;iu=t!==0&&4>t?t:4,e(!0);var r=R4.transition;R4.transition={};try{e(!1),u()}finally{iu=t,R4.transition=r}}function eT(){return rr().memoizedState}function Kj(e,u,t){var r=ci(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},uT(e))tT(u,t);else if(t=QI(e,u,t,r),t!==null){var n=e0();vr(t,e,r,n),rT(t,u,r)}}function Wj(e,u,t){var r=ci(e),n={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(uT(e))tT(u,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=u.lastRenderedReducer,i!==null))try{var E=u.lastRenderedState,o=i(E,t);if(n.hasEagerState=!0,n.eagerState=o,Br(o,E)){var a=u.interleaved;a===null?(n.next=n,qv(u)):(n.next=a.next,a.next=n),u.interleaved=n;return}}catch{}finally{}t=QI(e,u,n,r),t!==null&&(n=e0(),vr(t,e,r,n),rT(t,u,r))}}function uT(e){var u=e.alternate;return e===Qu||u!==null&&u===Qu}function tT(e,u){vA=Hd=!0;var t=e.pending;t===null?u.next=u:(u.next=t.next,t.next=u),e.pending=u}function rT(e,u,t){if(t&4194240){var r=u.lanes;r&=e.pendingLanes,t|=r,u.lanes=t,Mv(e,t)}}var jd={readContext:tr,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},Vj={readContext:tr,useCallback:function(e,u){return Lr().memoizedState=[e,u===void 0?null:u],e},useContext:tr,useEffect:bx,useImperativeHandle:function(e,u,t){return t=t!=null?t.concat([e]):null,Hf(4194308,4,YI.bind(null,u,e),t)},useLayoutEffect:function(e,u){return Hf(4194308,4,e,u)},useInsertionEffect:function(e,u){return Hf(4,2,e,u)},useMemo:function(e,u){var t=Lr();return u=u===void 0?null:u,e=e(),t.memoizedState=[e,u],e},useReducer:function(e,u,t){var r=Lr();return u=t!==void 0?t(u):u,r.memoizedState=r.baseState=u,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},r.queue=e,e=e.dispatch=Kj.bind(null,Qu,e),[r.memoizedState,e]},useRef:function(e){var u=Lr();return e={current:e},u.memoizedState=e},useState:wx,useDebugValue:oB,useDeferredValue:function(e){return Lr().memoizedState=e},useTransition:function(){var e=wx(!1),u=e[0];return e=jj.bind(null,e[1]),Lr().memoizedState=e,[u,e]},useMutableSource:function(){},useSyncExternalStore:function(e,u,t){var r=Qu,n=Lr();if(Cu){if(t===void 0)throw Error(Ae(407));t=t()}else{if(t=u(),pt===null)throw Error(Ae(349));LE&30||$I(r,u,t)}n.memoizedState=t;var i={value:t,getSnapshot:u};return n.queue=i,bx(jI.bind(null,r,i,e),[e]),r.flags|=2048,XA(9,HI.bind(null,r,i,t,u),void 0,null),t},useId:function(){var e=Lr(),u=pt.identifierPrefix;if(Cu){var t=vn,r=yn;t=(r&~(1<<32-yr(r)-1)).toString(32)+t,u=":"+u+"R"+t,t=GA++,0<t&&(u+="H"+t.toString(32)),u+=":"}else t=Hj++,u=":"+u+"r"+t.toString(32)+":";return e.memoizedState=u},unstable_isNewReconciler:!1},zj={readContext:tr,useCallback:ZI,useContext:tr,useEffect:EB,useImperativeHandle:XI,useInsertionEffect:zI,useLayoutEffect:GI,useMemo:qI,useReducer:N4,useRef:VI,useState:function(){return N4(YA)},useDebugValue:oB,useDeferredValue:function(e){var u=rr();return JI(u,rt.memoizedState,e)},useTransition:function(){var e=N4(YA)[0],u=rr().memoizedState;return[e,u]}
vendor: 6,208 bytes, lines 38-40
38,useMutableSource:RI,useSyncExternalStore:NI,useId:eT,unstable_isNewReconciler:!1},Gj={readContext:tr,useCallback:ZI,useContext:tr,useEffect:EB,useImperativeHandle:XI,useInsertionEffect:zI,useLayoutEffect:GI,useMemo:qI,useReducer:$4,useRef:VI,useState:function(){return $4(YA)},useDebugValue:oB,useDeferredValue:function(e){var u=rr();return rt===null?u.memoizedState=e:JI(u,rt.memoizedState,e)},useTransition:function(){var e=$4(YA)[0],u=rr().memoizedState;return[e,u]},useMutableSource:RI,useSyncExternalStore:NI,useId:eT,unstable_isNewReconciler:!1};function lr(e,u){if(e&&e.defaultProps){u=Lu({},u),e=e.defaultProps;for(var t in e)u[t]===void 0&&(u[t]=e[t]);return u}return u}function Sm(e,u,t,r){u=e.memoizedState,t=t(r,u),t=t==null?u:Lu({},u,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var p2={isMounted:function(e){return(e=e._reactInternals)?qE(e)===e:!1},enqueueSetState:function(e,u,t){e=e._reactInternals;var r=e0(),n=ci(e),i=Bn(r,n);i.payload=u,t!=null&&(i.callback=t),u=si(e,i,n),u!==null&&(vr(u,e,n,r),Nf(u,e,n))},enqueueReplaceState:function(e,u,t){e=e._reactInternals;var r=e0(),n=ci(e),i=Bn(r,n);i.tag=1,i.payload=u,t!=null&&(i.callback=t),u=si(e,i,n),u!==null&&(vr(u,e,n,r),Nf(u,e,n))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var t=e0(),r=ci(e),n=Bn(t,r);n.tag=2,u!=null&&(n.callback=u),u=si(e,n,r),u!==null&&(vr(u,e,r,t),Nf(u,e,r))}};function xx(e,u,t,r,n,i,E){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,E):u.prototype&&u.prototype.isPureReactComponent?!HA(t,r)||!HA(n,i):!0}function nT(e,u,t){var r=!1,n=Si,i=u.contextType;return typeof i=="object"&&i!==null?i=tr(i):(n=f0(u)?UE:Ht.current,r=u.contextTypes,i=(r=r!=null)?ya(e,n):Si),u=new u(t,i),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=p2,e.stateNode=u,u._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),u}function Cx(e,u,t,r){e=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(t,r),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(t,r),u.state!==e&&p2.enqueueReplaceState(u,u.state,null)}function Fm(e,u,t,r){var n=e.stateNode;n.props=t,n.state=e.memoizedState,n.refs={},Jv(e);var i=u.contextType;typeof i=="object"&&i!==null?n.context=tr(i):(i=f0(u)?UE:Ht.current,n.context=ya(e,i)),n.state=e.memoizedState,i=u.getDerivedStateFromProps,typeof i=="function"&&(Sm(e,u,i,t),n.state=e.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(u=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),u!==n.state&&p2.enqueueReplaceState(n,n.state,null),Nd(e,t,n,r),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function ba(e,u){try{var t="",r=u;do t+=wH(r),r=r.return;while(r);var n=t}catch(i){n=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:u,stack:n,digest:null}}function H4(e,u,t){return{value:e,source:null,stack:t??null,digest:u??null}}function _m(e,u){try{console.error(u.value)}catch(t){setTimeout(function(){throw t})}}var Yj=typeof WeakMap=="function"?WeakMap:Map;function iT(e,u,t){t=Bn(-1,t),t.tag=3,t.payload={element:null};var r=u.value;return t.callback=function(){Wd||(Wd=!0,Rm=r),_m(e,u)},t}function ET(e,u,t){t=Bn(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var n=u.value;t.payload=function(){return r(n)},t.callback=function(){_m(e,u)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){_m(e,u),typeof r!="function"&&(Ai===null?Ai=new Set([this]):Ai.add(this));var E=u.stack;this.componentDidCatch(u.value,{componentStack:E!==null?E:""})}),t}function Dx(e,u,t){var r=e.pingCache;if(r===null){r=e.pingCache=new Yj;var n=new Set;r.set(u,n)}else n=r.get(u),n===void 0&&(n=new Set,r.set(u,n));n.has(t)||(n.add(t),e=sK.bind(null,e,u,t),u.then(e,e))}function Sx(e){do{var u;if((u=e.tag===13)&&(u=e.memoizedState,u=u!==null?u.dehydrated!==null:!0),u)return e;e=e.return}while(e!==null);return null}function Fx(e,u,t,r,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===u?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(u=Bn(-1,1),u.tag=2,si(t,u,1))),t.lanes|=1),e)}var Xj=Pn.ReactCurrentOwner,c0=!1;function Gt(e,u,t,r){u.child=e===null?UI(u,null,t,r):Ba(u,e.child,t,r)}function _x(e,u,t,r,n){t=t.render;var i=u.ref;return Ea(u,n),r=nB(e,u,t,r,i,n),t=iB(),e!==null&&!c0?(u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~n,Sn(e,u,n)):(Cu&&t&&Vv(u),u.flags|=1,Gt(e,u,r,n),u.child)}function Ix(e,u,t,r,n){if(e===null){var i=t.type;return typeof i=="function"&&!pB(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(u.tag=15,u.type=i,oT(e,u,i,r,n)):(e=Vf(t.type,null,r,u,u.mode,n),e.ref=u.ref,e.return=u,u.child=e)}if(i=e.child,!(e.lanes&n)){var E=i.memoizedProps;if(t=t.compare,t=t!==null?t:HA,t(E,r)&&e.ref===u.ref)return Sn(e,u,n)}return u.flags|=1,e=li(i,r),e.ref=u.ref,e.return=u,u.child=e}function oT(e,u,t,r,n){if(e!==null){var i=e.memoizedProps;if(HA(i,r)&&e.ref===u.ref)if(c0=!1,u.pendingProps=r=i,(e.lanes&n)!==0)e.flags&131072&&(c0=!0);else return u.lanes=e.lanes,Sn(e,u,n)}return Im(e,u,t,r,n)}function aT(e,u,t){var r=u.pendingProps,n=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(u.mode&1))u.memoizedState={baseLanes:0,cachePool:null,transitions:null},pu(Go,D0),D0|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,u.lanes=u.childLanes=1073741824,u.memoizedState={baseLanes:e,cachePool:null,transitions:null},u.updateQueue=null,pu(Go,D0),D0|=e,null;u.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,pu(Go,D0),D0|=r}else i!==null?(r=i.baseLanes|t,u.memoizedState=null):r=t,pu(Go,D0),D0|=r;return Gt(e,u,n,t),u.child}function sT(e,u){var t=u.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(u.flags|=512,u.flags|=2097152)}
vendor: 8,515 bytes, line 40
40function Im(e,u,t,r,n){var i=f0(t)?UE:Ht.current;return i=ya(u,i),Ea(u,n),t=nB(e,u,t,r,i,n),r=iB(),e!==null&&!c0?(u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~n,Sn(e,u,n)):(Cu&&r&&Vv(u),u.flags|=1,Gt(e,u,t,n),u.child)}function Tx(e,u,t,r,n){if(f0(t)){var i=!0;Ud(u)}else i=!1;if(Ea(u,n),u.stateNode===null)jf(e,u),nT(u,t,r),Fm(u,t,r,n),r=!0;else if(e===null){var E=u.stateNode,o=u.memoizedProps;E.props=o;var a=E.context,s=t.contextType;typeof s=="object"&&s!==null?s=tr(s):(s=f0(t)?UE:Ht.current,s=ya(u,s));var A=t.getDerivedStateFromProps,c=typeof A=="function"||typeof E.getSnapshotBeforeUpdate=="function";c||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(o!==r||a!==s)&&Cx(u,E,r,s),Kn=!1;var l=u.memoizedState;E.state=l,Nd(u,r,E,n),a=u.memoizedState,o!==r||l!==a||l0.current||Kn?(typeof A=="function"&&(Sm(u,t,A,r),a=u.memoizedState),(o=Kn||xx(u,t,o,r,l,a,s))?(c||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(u.flags|=4194308)):(typeof E.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=r,u.memoizedState=a),E.props=r,E.state=a,E.context=s,r=o):(typeof E.componentDidMount=="function"&&(u.flags|=4194308),r=!1)}else{E=u.stateNode,LI(e,u),o=u.memoizedProps,s=u.type===u.elementType?o:lr(u.type,o),E.props=s,c=u.pendingProps,l=E.context,a=t.contextType,typeof a=="object"&&a!==null?a=tr(a):(a=f0(t)?UE:Ht.current,a=ya(u,a));var f=t.getDerivedStateFromProps;(A=typeof f=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(o!==c||l!==a)&&Cx(u,E,r,a),Kn=!1,l=u.memoizedState,E.state=l,Nd(u,r,E,n);var p=u.memoizedState;o!==c||l!==p||l0.current||Kn?(typeof f=="function"&&(Sm(u,t,f,r),p=u.memoizedState),(s=Kn||xx(u,t,s,r,l,p,a)||!1)?(A||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(r,p,a),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(r,p,a)),typeof E.componentDidUpdate=="function"&&(u.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof E.componentDidUpdate!="function"||o===e.memoizedProps&&l===e.memoizedState||(u.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&l===e.memoizedState||(u.flags|=1024),u.memoizedProps=r,u.memoizedState=p),E.props=r,E.state=p,E.context=a,r=s):(typeof E.componentDidUpdate!="function"||o===e.memoizedProps&&l===e.memoizedState||(u.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&l===e.memoizedState||(u.flags|=1024),r=!1)}return Tm(e,u,t,r,i,n)}function Tm(e,u,t,r,n,i){sT(e,u);var E=(u.flags&128)!==0;if(!r&&!E)return n&&hx(u,t,!1),Sn(e,u,i);r=u.stateNode,Xj.current=u;var o=E&&typeof t.getDerivedStateFromError!="function"?null:r.render();return u.flags|=1,e!==null&&E?(u.child=Ba(u,e.child,null,i),u.child=Ba(u,null,o,i)):Gt(e,u,o,i),u.memoizedState=r.state,n&&hx(u,t,!0),u.child}function AT(e){var u=e.stateNode;u.pendingContext?px(e,u.pendingContext,u.pendingContext!==u.context):u.context&&px(e,u.context,!1),eB(e,u.containerInfo)}function Px(e,u,t,r,n){return va(),Gv(n),u.flags|=256,Gt(e,u,t,r),u.child}var Pm={dehydrated:null,treeContext:null,retryLane:0};function Om(e){return{baseLanes:e,cachePool:null,transitions:null}}function cT(e,u,t){var r=u.pendingProps,n=Ou.current,i=!1,E=(u.flags&128)!==0,o;if((o=E)||(o=e!==null&&e.memoizedState===null?!1:(n&2)!==0),o?(i=!0,u.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),pu(Ou,n&1),e===null)return Cm(u),e=u.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(u.mode&1?e.data==="$!"?u.lanes=8:u.lanes=1073741824:u.lanes=1,null):(E=r.children,e=r.fallback,i?(r=u.mode,i=u.child,E={mode:"hidden",children:E},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=E):i=g2(E,r,0,null),e=bE(e,r,t,null),i.return=u,e.return=u,i.sibling=e,u.child=i,u.child.memoizedState=Om(t),u.memoizedState=Pm,e):aB(u,E));if(n=e.memoizedState,n!==null&&(o=n.dehydrated,o!==null))return Zj(e,u,E,r,o,n,t);if(i){i=r.fallback,E=u.mode,n=e.child,o=n.sibling;var a={mode:"hidden",children:r.children};return!(E&1)&&u.child!==n?(r=u.child,r.childLanes=0,r.pendingProps=a,u.deletions=null):(r=li(n,a),r.subtreeFlags=n.subtreeFlags&14680064),o!==null?i=li(o,i):(i=bE(i,E,t,null),i.flags|=2),i.return=u,r.return=u,r.sibling=i,u.child=r,r=i,i=u.child,E=e.child.memoizedState,E=E===null?Om(t):{baseLanes:E.baseLanes|t,cachePool:null,transitions:E.transitions},i.memoizedState=E,i.childLanes=e.childLanes&~t,u.memoizedState=Pm,r}return i=e.child,e=i.sibling,r=li(i,{mode:"visible",children:r.children}),!(u.mode&1)&&(r.lanes=t),r.return=u,r.sibling=null,e!==null&&(t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e)),u.child=r,u.memoizedState=null,r}function aB(e,u){return u=g2({mode:"visible",children:u},e.mode,0,null),u.return=e,e.child=u}function yl(e,u,t,r){return r!==null&&Gv(r),Ba(u,e.child,null,t),e=aB(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function Zj(e,u,t,r,n,i,E){if(t)return u.flags&256?(u.flags&=-257,r=H4(Error(Ae(422))),yl(e,u,E,r)):u.memoizedState!==null?(u.child=e.child,u.flags|=128,null):(i=r.fallback,n=u.mode,r=g2({mode:"visible",children:r.children},n,0,null),i=bE(i,n,E,null),i.flags|=2,r.return=u,i.return=u,r.sibling=i,u.child=r,u.mode&1&&Ba(u,e.child,null,E),u.child.memoizedState=Om(E),u.memoizedState=Pm,i);if(!(u.mode&1))return yl(e,u,E,null);if(n.data==="$!"){if(r=n.nextSibling&&n.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(Ae(419)),r=H4(i,r,void 0),yl(e,u,E,r)}if(o=(E&e.childLanes)!==0,c0||o){if(r=pt,r!==null){switch(E&-E){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(r.suspendedLanes|E)?0:n,n!==0&&n!==i.retryLane&&(i.retryLane=n,Dn(e,n),vr(r,e,n,-1))}return dB(),r=H4(Error(Ae(421))),yl(e,u,E,r)}return n.data==="$?"?(u.flags|=128,u.child=e.child,u=AK.bind(null,e),n._reactRetry=u,null):(e=i.treeContext,_0=ai(n.nextSibling),I0=u,Cu=!0,hr=null,e!==null&&(V0[z0++]=yn,V0[z0++]=vn,V0[z0++]=QE,yn=e.id,vn=e.overflow,QE=u),u=aB(u,r.children),u.flags|=4096,u)}function Ox(e,u,t){e.lanes|=u;var r=e.alternate;r!==null&&(r.lanes|=u),Dm(e.return,u,t)}function j4(e,u,t,r,n){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:n}:(i.isBackwards=u,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=n)}function lT(e,u,t){var r=u.pendingProps,n=r.revealOrder,i=r.tail;if(Gt(e,u,r.children,t),r=Ou.current,r&2)r=r&1|2,u.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ox(e,t,u);else if(e.tag===19)Ox(e,t,u);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===u)break e;for(;e.sibling===null;){if(e.return===null||e.return===u)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pu(Ou,r),!(u.mode&1))u.memoizedState=null;else switch(n){case"forwards":for(t=u.child,n=null;t!==null;)e=t.alternate,e!==null&&$d(e)===null&&(n=t),t=t.sibling;t=n,t===null?(n=u.child,u.child=null):(n=t.sibling,t.sibling=null),j4(u,!1,n,t,i);break;case"backwards":for(t=null,n=u.child,u.child=null;n!==null;){if(e=n.alternate,e!==null&&$d(e)===null){u.child=n;break}e=n.sibling,n.sibling=t,t=n,n=e}j4(u,!0,t,null,i);break;case"together":j4(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function jf(e,u){!(u.mode&1)&&e!==null&&(e.alternate=null,u.alternate=null,u.flags|=2)}function Sn(e,u,t){if(e!==null&&(u.dependencies=e.dependencies),ME|=u.lanes,!(t&u.childLanes))return null;if(e!==null&&u.child!==e.child)throw Error(Ae(153));if(u.child!==null){for(e=u.child,t=li(e,e.pendingProps),u.child=t,t.return=u;e.sibling!==null;)e=e.sibling,t=t.sibling=li(e,e.pendingProps),t.return=u;t.sibling=null}return u.child}function qj(e,u,t){switch(u.tag){case 3:AT(u),va();break;case 5:MI(u);break;case 1:f0(u.type)&&Ud(u);break;case 4:eB(u,u.stateNode.containerInfo);break;
vendor: 4,414 bytes, line 40
40case 10:var r=u.type._context,n=u.memoizedProps.value;pu(Md,r._currentValue),r._currentValue=n;break;case 13:if(r=u.memoizedState,r!==null)return r.dehydrated!==null?(pu(Ou,Ou.current&1),u.flags|=128,null):t&u.child.childLanes?cT(e,u,t):(pu(Ou,Ou.current&1),e=Sn(e,u,t),e!==null?e.sibling:null);pu(Ou,Ou.current&1);break;case 19:if(r=(t&u.childLanes)!==0,e.flags&128){if(r)return lT(e,u,t);u.flags|=128}if(n=u.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),pu(Ou,Ou.current),r)break;return null;case 22:case 23:return u.lanes=0,aT(e,u,t)}return Sn(e,u,t)}var fT,km,dT,pT;fT=function(e,u){for(var t=u.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===u)break;for(;t.sibling===null;){if(t.return===null||t.return===u)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};km=function(){};dT=function(e,u,t,r){var n=e.memoizedProps;if(n!==r){e=u.stateNode,pE(Yr.current);var i=null;switch(t){case"input":n=tm(e,n),r=tm(e,r),i=[];break;case"select":n=Lu({},n,{value:void 0}),r=Lu({},r,{value:void 0}),i=[];break;case"textarea":n=im(e,n),r=im(e,r),i=[];break;default:typeof n.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Od)}om(t,r);var E;t=null;for(s in n)if(!r.hasOwnProperty(s)&&n.hasOwnProperty(s)&&n[s]!=null)if(s==="style"){var o=n[s];for(E in o)o.hasOwnProperty(E)&&(t||(t={}),t[E]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(UA.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(o=n!=null?n[s]:void 0,r.hasOwnProperty(s)&&a!==o&&(a!=null||o!=null))if(s==="style")if(o){for(E in o)!o.hasOwnProperty(E)||a&&a.hasOwnProperty(E)||(t||(t={}),t[E]="");for(E in a)a.hasOwnProperty(E)&&o[E]!==a[E]&&(t||(t={}),t[E]=a[E])}else t||(i||(i=[]),i.push(s,t)),t=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,o=o?o.__html:void 0,a!=null&&o!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(UA.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&mu("scroll",e),i||o===a||(i=[])):(i=i||[]).push(s,a))}t&&(i=i||[]).push("style",t);var s=i;(u.updateQueue=s)&&(u.flags|=4)}};pT=function(e,u,t,r){t!==r&&(u.flags|=4)};function Os(e,u){if(!Cu)switch(e.tailMode){case"hidden":u=e.tail;for(var t=null;u!==null;)u.alternate!==null&&(t=u),u=u.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?u||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _t(e){var u=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(u)for(var n=e.child;n!==null;)t|=n.lanes|n.childLanes,r|=n.subtreeFlags&14680064,r|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)t|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=t,u}function Jj(e,u,t){var r=u.pendingProps;switch(zv(u),u.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(u),null;case 1:return f0(u.type)&&kd(),_t(u),null;case 3:return r=u.stateNode,wa(),yu(l0),yu(Ht),tB(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ml(u)?u.flags|=4:e===null||e.memoizedState.isDehydrated&&!(u.flags&256)||(u.flags|=1024,hr!==null&&(Hm(hr),hr=null))),km(e,u),_t(u),null;case 5:uB(u);var n=pE(zA.current);if(t=u.type,e!==null&&u.stateNode!=null)dT(e,u,t,r,n),e.ref!==u.ref&&(u.flags|=512,u.flags|=2097152);else{if(!r){if(u.stateNode===null)throw Error(Ae(166));return _t(u),null}if(e=pE(Yr.current),ml(u)){r=u.stateNode,t=u.type;var i=u.memoizedProps;switch(r[$r]=u,r[WA]=i,e=(u.mode&1)!==0,t){case"dialog":mu("cancel",r),mu("close",r);break;case"iframe":case"object":case"embed":mu("load",r);break;case"video":case"audio":for(n=0;n<Js.length;n++)mu(Js[n],r);break;case"source":mu("error",r);break;case"img":case"image":case"link":mu("error",r),mu("load",r);break;case"details":mu("toggle",r);break;case"input":H7(r,i),mu("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},mu("invalid",r);break;case"textarea":K7(r,i),mu("invalid",r)}om(t,i),n=null;for(var E in i)if(i.hasOwnProperty(E)){var o=i[E];
vendor: 32,726 bytes, line 40
40E==="children"?typeof o=="string"?r.textContent!==o&&(i.suppressHydrationWarning!==!0&&hl(r.textContent,o,e),n=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(i.suppressHydrationWarning!==!0&&hl(r.textContent,o,e),n=["children",""+o]):UA.hasOwnProperty(E)&&o!=null&&E==="onScroll"&&mu("scroll",r)}switch(t){case"input":al(r),j7(r,i,!0);break;case"textarea":al(r),W7(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Od)}r=n,u.updateQueue=r,r!==null&&(u.flags|=4)}else{E=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=j_(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=E.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=E.createElement(t,{is:r.is}):(e=E.createElement(t),t==="select"&&(E=e,r.multiple?E.multiple=!0:r.size&&(E.size=r.size))):e=E.createElementNS(e,t),e[$r]=u,e[WA]=r,fT(e,u,!1,!1),u.stateNode=e;e:{switch(E=am(t,r),t){case"dialog":mu("cancel",e),mu("close",e),n=r;break;case"iframe":case"object":case"embed":mu("load",e),n=r;break;case"video":case"audio":for(n=0;n<Js.length;n++)mu(Js[n],e);n=r;break;case"source":mu("error",e),n=r;break;case"img":case"image":case"link":mu("error",e),mu("load",e),n=r;break;case"details":mu("toggle",e),n=r;break;case"input":H7(e,r),n=tm(e,r),mu("invalid",e);break;case"option":n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=Lu({},r,{value:void 0}),mu("invalid",e);break;case"textarea":K7(e,r),n=im(e,r),mu("invalid",e);break;default:n=r}om(t,n),o=n;for(i in o)if(o.hasOwnProperty(i)){var a=o[i];i==="style"?V_(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&K_(e,a)):i==="children"?typeof a=="string"?(t!=="textarea"||a!=="")&&QA(e,a):typeof a=="number"&&QA(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(UA.hasOwnProperty(i)?a!=null&&i==="onScroll"&&mu("scroll",e):a!=null&&Pv(e,i,a,E))}switch(t){case"input":al(e),j7(e,r,!1);break;case"textarea":al(e),W7(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Di(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?ta(e,!!r.multiple,i,!1):r.defaultValue!=null&&ta(e,!!r.multiple,r.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Od)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(u.flags|=4)}u.ref!==null&&(u.flags|=512,u.flags|=2097152)}return _t(u),null;case 6:if(e&&u.stateNode!=null)pT(e,u,e.memoizedProps,r);else{if(typeof r!="string"&&u.stateNode===null)throw Error(Ae(166));if(t=pE(zA.current),pE(Yr.current),ml(u)){if(r=u.stateNode,t=u.memoizedProps,r[$r]=u,(i=r.nodeValue!==t)&&(e=I0,e!==null))switch(e.tag){case 3:hl(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&hl(r.nodeValue,t,(e.mode&1)!==0)}i&&(u.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[$r]=u,u.stateNode=r}return _t(u),null;case 13:if(yu(Ou),r=u.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Cu&&_0!==null&&u.mode&1&&!(u.flags&128))OI(),va(),u.flags|=98560,i=!1;else if(i=ml(u),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(Ae(318));if(i=u.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(Ae(317));i[$r]=u}else va(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;_t(u),i=!1}else hr!==null&&(Hm(hr),hr=null),i=!0;if(!i)return u.flags&65536?u:null}return u.flags&128?(u.lanes=t,u):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(u.child.flags|=8192,u.mode&1&&(e===null||Ou.current&1?Et===0&&(Et=3):dB())),u.updateQueue!==null&&(u.flags|=4),_t(u),null);case 4:return wa(),km(e,u),e===null&&jA(u.stateNode.containerInfo),_t(u),null;case 10:return Zv(u.type._context),_t(u),null;case 17:return f0(u.type)&&kd(),_t(u),null;case 19:if(yu(Ou),i=u.memoizedState,i===null)return _t(u),null;if(r=(u.flags&128)!==0,E=i.rendering,E===null)if(r)Os(i,!1);else{if(Et!==0||e!==null&&e.flags&128)for(e=u.child;e!==null;){if(E=$d(e),E!==null){for(u.flags|=128,Os(i,!1),r=E.updateQueue,r!==null&&(u.updateQueue=r,u.flags|=4),u.subtreeFlags=0,r=t,t=u.child;t!==null;)i=t,e=r,i.flags&=14680066,E=i.alternate,E===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=E.childLanes,i.lanes=E.lanes,i.child=E.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=E.memoizedProps,i.memoizedState=E.memoizedState,i.updateQueue=E.updateQueue,i.type=E.type,e=E.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return pu(Ou,Ou.current&1|2),u.child}e=e.sibling}i.tail!==null&&Wu()>xa&&(u.flags|=128,r=!0,Os(i,!1),u.lanes=4194304)}else{if(!r)if(e=$d(E),e!==null){if(u.flags|=128,r=!0,t=e.updateQueue,t!==null&&(u.updateQueue=t,u.flags|=4),Os(i,!0),i.tail===null&&i.tailMode==="hidden"&&!E.alternate&&!Cu)return _t(u),null}else 2*Wu()-i.renderingStartTime>xa&&t!==1073741824&&(u.flags|=128,r=!0,Os(i,!1),u.lanes=4194304);i.isBackwards?(E.sibling=u.child,u.child=E):(t=i.last,t!==null?t.sibling=E:u.child=E,i.last=E)}return i.tail!==null?(u=i.tail,i.rendering=u,i.tail=u.sibling,i.renderingStartTime=Wu(),u.sibling=null,t=Ou.current,pu(Ou,r?t&1|2:t&1),u):(_t(u),null);case 22:case 23:return fB(),r=u.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(u.flags|=8192),r&&u.mode&1?D0&1073741824&&(_t(u),u.subtreeFlags&6&&(u.flags|=8192)):_t(u),null;case 24:return null;case 25:return null}throw Error(Ae(156,u.tag))}function eK(e,u){switch(zv(u),u.tag){case 1:return f0(u.type)&&kd(),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return wa(),yu(l0),yu(Ht),tB(),e=u.flags,e&65536&&!(e&128)?(u.flags=e&-65537|128,u):null;case 5:return uB(u),null;case 13:if(yu(Ou),e=u.memoizedState,e!==null&&e.dehydrated!==null){if(u.alternate===null)throw Error(Ae(340));va()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 19:return yu(Ou),null;case 4:return wa(),null;case 10:return Zv(u.type._context),null;case 22:case 23:return fB(),null;case 24:return null;default:return null}}var vl=!1,Qt=!1,uK=typeof WeakSet=="function"?WeakSet:Set,ge=null;function zo(e,u){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Nu(e,u,r)}else t.current=null}function Um(e,u,t){try{t()}catch(r){Nu(e,u,r)}}var kx=!1;function tK(e,u){if(gm=Id,e=vI(),Wv(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var n=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var E=0,o=-1,a=-1,s=0,A=0,c=e,l=null;u:for(;;){for(var f;c!==t||n!==0&&c.nodeType!==3||(o=E+n),c!==i||r!==0&&c.nodeType!==3||(a=E+r),c.nodeType===3&&(E+=c.nodeValue.length),(f=c.firstChild)!==null;)l=c,c=f;for(;;){if(c===e)break u;if(l===t&&++s===n&&(o=E),l===i&&++A===r&&(a=E),(f=c.nextSibling)!==null)break;c=l,l=c.parentNode}c=f}t=o===-1||a===-1?null:{start:o,end:a}}else t=null}t=t||{start:0,end:0}}else t=null;for(ym={focusedElem:e,selectionRange:t},Id=!1,ge=u;ge!==null;)if(u=ge,e=u.child,(u.subtreeFlags&1028)!==0&&e!==null)e.return=u,ge=e;else for(;ge!==null;){u=ge;try{var p=u.alternate;if(u.flags&1024)switch(u.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var h=p.memoizedProps,w=p.memoizedState,m=u.stateNode,g=m.getSnapshotBeforeUpdate(u.elementType===u.type?h:lr(u.type,h),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=u.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ae(163))}}catch(d){Nu(u,u.return,d)}if(e=u.sibling,e!==null){e.return=u.return,ge=e;break}ge=u.return}return p=kx,kx=!1,p}function BA(e,u,t){var r=u.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&e)===e){var i=n.destroy;n.destroy=void 0,i!==void 0&&Um(u,t,i)}n=n.next}while(n!==r)}}function h2(e,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var t=u=u.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==u)}}function Qm(e){var u=e.ref;if(u!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof u=="function"?u(e):u.current=e}}function hT(e){var u=e.alternate;u!==null&&(e.alternate=null,hT(u)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(u=e.stateNode,u!==null&&(delete u[$r],delete u[WA],delete u[wm],delete u[Mj],delete u[Rj])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function mT(e){return e.tag===5||e.tag===3||e.tag===4}function Ux(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mT(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lm(e,u,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,u?t.nodeType===8?t.parentNode.insertBefore(e,u):t.insertBefore(e,u):(t.nodeType===8?(u=t.parentNode,u.insertBefore(e,t)):(u=t,u.appendChild(e)),t=t._reactRootContainer,t!=null||u.onclick!==null||(u.onclick=Od));else if(r!==4&&(e=e.child,e!==null))for(Lm(e,u,t),e=e.sibling;e!==null;)Lm(e,u,t),e=e.sibling}function Mm(e,u,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,u?t.insertBefore(e,u):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Mm(e,u,t),e=e.sibling;e!==null;)Mm(e,u,t),e=e.sibling}var wt=null,dr=!1;function Qn(e,u,t){for(t=t.child;t!==null;)gT(e,u,t),t=t.sibling}function gT(e,u,t){if(Gr&&typeof Gr.onCommitFiberUnmount=="function")try{Gr.onCommitFiberUnmount(a2,t)}catch{}switch(t.tag){case 5:Qt||zo(t,u);case 6:var r=wt,n=dr;wt=null,Qn(e,u,t),wt=r,dr=n,wt!==null&&(dr?(e=wt,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):wt.removeChild(t.stateNode));break;case 18:wt!==null&&(dr?(e=wt,t=t.stateNode,e.nodeType===8?Q4(e.parentNode,t):e.nodeType===1&&Q4(e,t),NA(e)):Q4(wt,t.stateNode));break;case 4:r=wt,n=dr,wt=t.stateNode.containerInfo,dr=!0,Qn(e,u,t),wt=r,dr=n;break;case 0:case 11:case 14:case 15:if(!Qt&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var i=n,E=i.destroy;i=i.tag,E!==void 0&&(i&2||i&4)&&Um(t,u,E),n=n.next}while(n!==r)}Qn(e,u,t);break;case 1:if(!Qt&&(zo(t,u),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){Nu(t,u,o)}Qn(e,u,t);break;case 21:Qn(e,u,t);break;case 22:t.mode&1?(Qt=(r=Qt)||t.memoizedState!==null,Qn(e,u,t),Qt=r):Qn(e,u,t);break;default:Qn(e,u,t)}}function Qx(e){var u=e.updateQueue;if(u!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new uK),u.forEach(function(r){var n=cK.bind(null,e,r);t.has(r)||(t.add(r),r.then(n,n))})}}function Ar(e,u){var t=u.deletions;if(t!==null)for(var r=0;r<t.length;r++){var n=t[r];try{var i=e,E=u,o=E;e:for(;o!==null;){switch(o.tag){case 5:wt=o.stateNode,dr=!1;break e;case 3:wt=o.stateNode.containerInfo,dr=!0;break e;case 4:wt=o.stateNode.containerInfo,dr=!0;break e}o=o.return}if(wt===null)throw Error(Ae(160));gT(i,E,n),wt=null,dr=!1;var a=n.alternate;a!==null&&(a.return=null),n.return=null}catch(s){Nu(n,u,s)}}if(u.subtreeFlags&12854)for(u=u.child;u!==null;)yT(u,e),u=u.sibling}function yT(e,u){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ar(u,e),kr(e),r&4){try{BA(3,e,e.return),h2(3,e)}catch(h){Nu(e,e.return,h)}try{BA(5,e,e.return)}catch(h){Nu(e,e.return,h)}}break;case 1:Ar(u,e),kr(e),r&512&&t!==null&&zo(t,t.return);break;case 5:if(Ar(u,e),kr(e),r&512&&t!==null&&zo(t,t.return),e.flags&32){var n=e.stateNode;try{QA(n,"")}catch(h){Nu(e,e.return,h)}}if(r&4&&(n=e.stateNode,n!=null)){var i=e.memoizedProps,E=t!==null?t.memoizedProps:i,o=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{o==="input"&&i.type==="radio"&&i.name!=null&&$_(n,i),am(o,E);var s=am(o,i);for(E=0;E<a.length;E+=2){var A=a[E],c=a[E+1];A==="style"?V_(n,c):A==="dangerouslySetInnerHTML"?K_(n,c):A==="children"?QA(n,c):Pv(n,A,c,s)}switch(o){case"input":rm(n,i);break;case"textarea":H_(n,i);break;case"select":var l=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?ta(n,!!i.multiple,f,!1):l!==!!i.multiple&&(i.defaultValue!=null?ta(n,!!i.multiple,i.defaultValue,!0):ta(n,!!i.multiple,i.multiple?[]:"",!1))}n[WA]=i}catch(h){Nu(e,e.return,h)}}break;case 6:if(Ar(u,e),kr(e),r&4){if(e.stateNode===null)throw Error(Ae(162));n=e.stateNode,i=e.memoizedProps;try{n.nodeValue=i}catch(h){Nu(e,e.return,h)}}break;case 3:if(Ar(u,e),kr(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{NA(u.containerInfo)}catch(h){Nu(e,e.return,h)}break;case 4:Ar(u,e),kr(e);break;case 13:Ar(u,e),kr(e),n=e.child,n.flags&8192&&(i=n.memoizedState!==null,n.stateNode.isHidden=i,!i||n.alternate!==null&&n.alternate.memoizedState!==null||(cB=Wu())),r&4&&Qx(e);break;case 22:if(A=t!==null&&t.memoizedState!==null,e.mode&1?(Qt=(s=Qt)||A,Ar(u,e),Qt=s):Ar(u,e),kr(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!A&&e.mode&1)for(ge=e,A=e.child;A!==null;){for(c=ge=A;ge!==null;){switch(l=ge,f=l.child,l.tag){case 0:case 11:case 14:case 15:BA(4,l,l.return);break;case 1:zo(l,l.return);var p=l.stateNode;if(typeof p.componentWillUnmount=="function"){r=l,t=l.return;try{u=r,p.props=u.memoizedProps,p.state=u.memoizedState,p.componentWillUnmount()}catch(h){Nu(r,t,h)}}break;case 5:zo(l,l.return);break;case 22:if(l.memoizedState!==null){Mx(c);continue}}f!==null?(f.return=l,ge=f):Mx(c)}A=A.sibling}e:for(A=null,c=e;;){if(c.tag===5){if(A===null){A=c;try{n=c.stateNode,s?(i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(o=c.stateNode,a=c.memoizedProps.style,E=a!=null&&a.hasOwnProperty("display")?a.display:null,o.style.display=W_("display",E))}catch(h){Nu(e,e.return,h)}}}else if(c.tag===6){if(A===null)try{c.stateNode.nodeValue=s?"":c.memoizedProps}catch(h){Nu(e,e.return,h)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;A===c&&(A=null),c=c.return}A===c&&(A=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:Ar(u,e),kr(e),r&4&&Qx(e);break;case 21:break;default:Ar(u,e),kr(e)}}function kr(e){var u=e.flags;if(u&2){try{e:{for(var t=e.return;t!==null;){if(mT(t)){var r=t;break e}t=t.return}throw Error(Ae(160))}switch(r.tag){case 5:var n=r.stateNode;r.flags&32&&(QA(n,""),r.flags&=-33);var i=Ux(e);Mm(e,i,n);break;case 3:case 4:var E=r.stateNode.containerInfo,o=Ux(e);Lm(e,o,E);break;default:throw Error(Ae(161))}}catch(a){Nu(e,e.return,a)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function rK(e,u,t){ge=e,vT(e)}function vT(e,u,t){for(var r=(e.mode&1)!==0;ge!==null;){var n=ge,i=n.child;if(n.tag===22&&r){var E=n.memoizedState!==null||vl;if(!E){var o=n.alternate,a=o!==null&&o.memoizedState!==null||Qt;o=vl;var s=Qt;if(vl=E,(Qt=a)&&!s)for(ge=n;ge!==null;)E=ge,a=E.child,E.tag===22&&E.memoizedState!==null?Rx(n):a!==null?(a.return=E,ge=a):Rx(n);for(;i!==null;)ge=i,vT(i),i=i.sibling;ge=n,vl=o,Qt=s}Lx(e)}else n.subtreeFlags&8772&&i!==null?(i.return=n,ge=i):Lx(e)}}function Lx(e){for(;ge!==null;){var u=ge;if(u.flags&8772){var t=u.alternate;try{if(u.flags&8772)switch(u.tag){case 0:case 11:case 15:Qt||h2(5,u);break;case 1:var r=u.stateNode;if(u.flags&4&&!Qt)if(t===null)r.componentDidMount();else{var n=u.elementType===u.type?t.memoizedProps:lr(u.type,t.memoizedProps);r.componentDidUpdate(n,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=u.updateQueue;i!==null&&Bx(u,i,r);break;case 3:var E=u.updateQueue;if(E!==null){if(t=null,u.child!==null)switch(u.child.tag){case 5:t=u.child.stateNode;break;case 1:t=u.child.stateNode}Bx(u,E,t)}break;case 5:var o=u.stateNode;if(t===null&&u.flags&4){t=o;var a=u.memoizedProps;switch(u.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src&&(t.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(u.memoizedState===null){var s=u.alternate;if(s!==null){var A=s.memoizedState;if(A!==null){var c=A.dehydrated;c!==null&&NA(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Ae(163))}Qt||u.flags&512&&Qm(u)}catch(l){Nu(u,u.return,l)}}if(u===e){ge=null;break}if(t=u.sibling,t!==null){t.return=u.return,ge=t;break}ge=u.return}}function Mx(e){for(;ge!==null;){var u=ge;if(u===e){ge=null;break}var t=u.sibling;if(t!==null){t.return=u.return,ge=t;break}ge=u.return}}function Rx(e){for(;ge!==null;){var u=ge;try{switch(u.tag){case 0:case 11:case 15:var t=u.return;try{h2(4,u)}catch(a){Nu(u,t,a)}break;case 1:var r=u.stateNode;if(typeof r.componentDidMount=="function"){var n=u.return;try{r.componentDidMount()}catch(a){Nu(u,n,a)}}var i=u.return;try{Qm(u)}catch(a){Nu(u,i,a)}break;case 5:var E=u.return;try{Qm(u)}catch(a){Nu(u,E,a)}}}catch(a){Nu(u,u.return,a)}if(u===e){ge=null;break}var o=u.sibling;if(o!==null){o.return=u.return,ge=o;break}ge=u.return}}var nK=Math.ceil,Kd=Pn.ReactCurrentDispatcher,sB=Pn.ReactCurrentOwner,J0=Pn.ReactCurrentBatchConfig,je=0,pt=null,Ju=null,Ct=0,D0=0,Go=Li(0),Et=0,ZA=null,ME=0,m2=0,AB=0,wA=null,a0=null,cB=0,xa=1/0,pn=null,Wd=!1,Rm=null,Ai=null,Bl=!1,Xn=null,Vd=0,bA=0,Nm=null,Kf=-1,Wf=0;function e0(){return je&6?Wu():Kf!==-1?Kf:Kf=Wu()}function ci(e){return e.mode&1?je&2&&Ct!==0?Ct&-Ct:$j.transition!==null?(Wf===0&&(Wf=nI()),Wf):(e=iu,e!==0||(e=window.event,e=e===void 0?16:cI(e.type)),e):1}function vr(e,u,t,r){if(50<bA)throw bA=0,Nm=null,Error(Ae(185));Dc(e,t,r),(!(je&2)||e!==pt)&&(e===pt&&(!(je&2)&&(m2|=t),Et===4&&Gn(e,Ct)),d0(e,r),t===1&&je===0&&!(u.mode&1)&&(xa=Wu()+500,f2&&Mi()))}function d0(e,u){var t=e.callbackNode;$H(e,u);var r=_d(e,e===pt?Ct:0);if(r===0)t!==null&&G7(t),e.callbackNode=null,e.callbackPriority=0;else if(u=r&-r,e.callbackPriority!==u){if(t!=null&&G7(t),u===1)e.tag===0?Nj(Nx.bind(null,e)):II(Nx.bind(null,e)),Qj(function(){!(je&6)&&Mi()}),t=null;else{switch(iI(r)){case 1:t=Lv;break;case 4:t=tI;break;case 16:t=Fd;break;case 536870912:t=rI;break;default:t=Fd}t=FT(t,BT.bind(null,e))}e.callbackPriority=u,e.callbackNode=t}}function BT(e,u){if(Kf=-1,Wf=0,je&6)throw Error(Ae(327));var t=e.callbackNode;if(oa()&&e.callbackNode!==t)return null;var r=_d(e,e===pt?Ct:0);if(r===0)return null;if(r&30||r&e.expiredLanes||u)u=zd(e,r);else{u=r;var n=je;je|=2;var i=bT();(pt!==e||Ct!==u)&&(pn=null,xa=Wu()+500,wE(e,u));do try{oK();break}catch(o){wT(e,o)}while(!0);Xv(),Kd.current=i,je=n,Ju!==null?u=0:(pt=null,Ct=0,u=Et)}if(u!==0){if(u===2&&(n=fm(e),n!==0&&(r=n,u=$m(e,n))),u===1)throw t=ZA,wE(e,0),Gn(e,r),d0(e,Wu()),t;if(u===6)Gn(e,r);else{if(n=e.current.alternate,!(r&30)&&!iK(n)&&(u=zd(e,r),u===2&&(i=fm(e),i!==0&&(r=i,u=$m(e,i))),u===1))throw t=ZA,wE(e,0),Gn(e,r),d0(e,Wu()),t;switch(e.finishedWork=n,e.finishedLanes=r,u){case 0:case 1:throw Error(Ae(345));case 2:eE(e,a0,pn);break;case 3:if(Gn(e,r),(r&130023424)===r&&(u=cB+500-Wu(),10<u)){if(_d(e,0)!==0)break;if(n=e.suspendedLanes,(n&r)!==r){e0(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=Bm(eE.bind(null,e,a0,pn),u);break}eE(e,a0,pn);break;case 4:if(Gn(e,r),(r&4194240)===r)break;for(u=e.eventTimes,n=-1;0<r;){var E=31-yr(r);i=1<<E,E=u[E],E>n&&(n=E),r&=~i}if(r=n,r=Wu()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nK(r/1960))-r,10<r){e.timeoutHandle=Bm(eE.bind(null,e,a0,pn),r);break}eE(e,a0,pn);break;case 5:eE(e,a0,pn);break;default:throw Error(Ae(329))}}}return d0(e,Wu()),e.callbackNode===t?BT.bind(null,e):null}function $m(e,u){var t=wA;return e.current.memoizedState.isDehydrated&&(wE(e,u).flags|=256),e=zd(e,u),e!==2&&(u=a0,a0=t,u!==null&&Hm(u)),e}function Hm(e){a0===null?a0=e:a0.push.apply(a0,e)}function iK(e){for(var u=e;;){if(u.flags&16384){var t=u.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var n=t[r],i=n.getSnapshot;n=n.value;try{if(!Br(i(),n))return!1}catch{return!1}}}if(t=u.child,u.subtreeFlags&16384&&t!==null)t.return=u,u=t;else{if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function Gn(e,u){for(u&=~AB,u&=~m2,e.suspendedLanes|=u,e.pingedLanes&=~u,e=e.expirationTimes;0<u;){var t=31-yr(u),r=1<<t;e[t]=-1,u&=~r}}function Nx(e){if(je&6)throw Error(Ae(327));oa();var u=_d(e,0);if(!(u&1))return d0(e,Wu()),null;var t=zd(e,u);if(e.tag!==0&&t===2){var r=fm(e);r!==0&&(u=r,t=$m(e,r))}if(t===1)throw t=ZA,wE(e,0),Gn(e,u),d0(e,Wu()),t;if(t===6)throw Error(Ae(345));return e.finishedWork=e.current.alternate,e.finishedLanes=u,eE(e,a0,pn),d0(e,Wu()),null}function lB(e,u){var t=je;je|=1;try{return e(u)}finally{je=t,je===0&&(xa=Wu()+500,f2&&Mi())}}function RE(e){Xn!==null&&Xn.tag===0&&!(je&6)&&oa();var u=je;je|=1;var t=J0.transition,r=iu;try{if(J0.transition=null,iu=1,e)return e()}finally{iu=r,J0.transition=t,je=u,!(je&6)&&Mi()}}function fB(){D0=Go.current,yu(Go)}function wE(e,u){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Uj(t)),Ju!==null)for(t=Ju.return;t!==null;){var r=t;switch(zv(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kd();break;case 3:wa(),yu(l0),yu(Ht),tB();break;case 5:uB(r);break;case 4:wa();break;case 13:yu(Ou);break;case 19:yu(Ou);break;case 10:Zv(r.type._context);break;case 22:case 23:fB()}t=t.return}if(pt=e,Ju=e=li(e.current,null),Ct=D0=u,Et=0,ZA=null,AB=m2=ME=0,a0=wA=null,dE!==null){for(u=0;u<dE.length;u++)if(t=dE[u],r=t.interleaved,r!==null){t.interleaved=null;var n=r.next,i=t.pending;if(i!==null){var E=i.next;i.next=n,r.next=E}t.pending=r}dE=null}return e}function wT(e,u){do{var t=Ju;try{if(Xv(),$f.current=jd,Hd){for(var r=Qu.memoizedState;r!==null;){var n=r.queue;n!==null&&(n.pending=null),r=r.next}Hd=!1}if(LE=0,ct=rt=Qu=null,vA=!1,GA=0,sB.current=null,t===null||t.return===null){Et=1,ZA=u,Ju=null;break}e:{var i=e,E=t.return,o=t,a=u;if(u=Ct,o.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,A=o,c=A.tag;if(!(A.mode&1)&&(c===0||c===11||c===15)){var l=A.alternate;l?(A.updateQueue=l.updateQueue,A.memoizedState=l.memoizedState,A.lanes=l.lanes):(A.updateQueue=null,A.memoizedState=null)}var f=Sx(E);if(f!==null){f.flags&=-257,Fx(f,E,o,i,u),f.mode&1&&Dx(i,s,u),u=f,a=s;var p=u.updateQueue;if(p===null){var h=new Set;h.add(a),u.updateQueue=h}else p.add(a);break e}else{if(!(u&1)){Dx(i,s,u),dB();break e}a=Error(Ae(426))}}else if(Cu&&o.mode&1){var w=Sx(E);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Fx(w,E,o,i,u),Gv(ba(a,o));break e}}i=a=ba(a,o),Et!==4&&(Et=2),wA===null?wA=[i]:wA.push(i),i=E;do{switch(i.tag){case 3:i.flags|=65536,u&=-u,i.lanes|=u;var m=iT(i,a,u);vx(i,m);break e;case 1:o=a;var g=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Ai===null||!Ai.has(v)))){i.flags|=65536,u&=-u,i.lanes|=u;var d=ET(i,o,u);vx(i,d);break e}}i=i.return}while(i!==null)}CT(t)}catch(y){u=y,Ju===t&&t!==null&&(Ju=t=t.return);continue}break}while(!0)}function bT(){var e=Kd.current;return Kd.current=jd,e===null?jd:e}function dB(){(Et===0||Et===3||Et===2)&&(Et=4),pt===null||!(ME&268435455)&&!(m2&268435455)||Gn(pt,Ct)}function zd(e,u){var t=je;je|=2;var r=bT();(pt!==e||Ct!==u)&&(pn=null,wE(e,u));do try{EK();break}catch(n){wT(e,n)}while(!0);if(Xv(),je=t,Kd.current=r,Ju!==null)throw Error(Ae(261));return pt=null,Ct=0,Et}function EK(){for(;Ju!==null;)xT(Ju)}function oK(){for(;Ju!==null&&!PH();)xT(Ju)}function xT(e){var u=ST(e.alternate,e,D0);e.memoizedProps=e.pendingProps,u===null?CT(e):Ju=u,sB.current=null}function CT(e){var u=e;do{var t=u.alternate;if(e=u.return,u.flags&32768){if(t=eK(t,u),t!==null){t.flags&=32767,Ju=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Et=6,Ju=null;return}}else if(t=Jj(t,u,D0),t!==null){Ju=t;return}if(u=u.sibling,u!==null){Ju=u;return}Ju=u=e}while(u!==null);Et===0&&(Et=5)}function eE(e,u,t){var r=iu,n=J0.transition;try{J0.transition=null,iu=1,aK(e,u,t,r)}finally{J0.transition=n,iu=r}return null}function aK(e,u,t,r){do oa();while(Xn!==null);if(je&6)throw Error(Ae(327));t=e.finishedWork;var n=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(Ae(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(HH(e,i),e===pt&&(Ju=pt=null,Ct=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||Bl||(Bl=!0,FT(Fd,function(){return oa(),null})),i=(t.flags&15990)!==0,t.subtreeFlags&15990||i){i=J0.transition,J0.transition=null;var E=iu;iu=1;var o=je;je|=4,sB.current=null,tK(e,t),yT(t,e),Fj(ym),Id=!!gm,ym=gm=null,e.current=t,rK(t),OH(),je=o,iu=E,J0.transition=i}else e.current=t;if(Bl&&(Bl=!1,Xn=e,Vd=n),i=e.pendingLanes,i===0&&(Ai=null),QH(t.stateNode),d0(e,Wu()),u!==null)for(r=e.onRecoverableError,t=0;t<u.length;t++)n=u[t],r(n.value,{componentStack:n.stack,digest:n.digest});if(Wd)throw Wd=!1,e=Rm,Rm=null,e;return Vd&1&&e.tag!==0&&oa(),i=e.pendingLanes,i&1?e===Nm?bA++:(bA=0,Nm=e):bA=0,Mi(),null}function oa(){if(Xn!==null){var e=iI(Vd),u=J0.transition,t=iu;try{if(J0.transition=null,iu=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Vd=0,je&6)throw Error(Ae(331));var n=je;for(je|=4,ge=e.current;ge!==null;){var i=ge,E=i.child;if(ge.flags&16){var o=i.deletions;if(o!==null){for(var a=0;a<o.length;a++){var s=o[a];for(ge=s;ge!==null;){var A=ge;switch(A.tag){case 0:case 11:case 15:BA(8,A,i)}var c=A.child;if(c!==null)c.return=A,ge=c;else for(;ge!==null;){A=ge;var l=A.sibling,f=A.return;if(hT(A),A===s){ge=null;break}if(l!==null){l.return=f,ge=l;break}ge=f}}}var p=i.alternate;if(p!==null){var h=p.child;if(h!==null){p.child=null;do{var w=h.sibling;h.sibling=null,h=w}while(h!==null)}}ge=i}}if(i.subtreeFlags&2064&&E!==null)E.return=i,ge=E;else e:for(;ge!==null;){if(i=ge,i.flags&2048)switch(i.tag){case 0:case 11:case 15:BA(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,ge=m;break e}ge=i.return}}var g=e.current;for(ge=g;ge!==null;){E=ge;var v=E.child;if(E.subtreeFlags&2064&&v!==null)v.return=E,ge=v;else e:for(E=g;ge!==null;){if(o=ge,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:h2(9,o)}}catch(y){Nu(o,o.return,y)}if(o===E){ge=null;break e}var d=o.sibling;if(d!==null){d.return=o.return,ge=d;break e}ge=o.return}}if(je=n,Mi(),Gr&&typeof Gr.onPostCommitFiberRoot=="function")try{Gr.onPostCommitFiberRoot(a2,e)}catch{}r=!0}return r}finally{iu=t,J0.transition=u}}return!1}function $x(e,u,t){u=ba(t,u),u=iT(e,u,1),e=si(e,u,1),u=e0(),e!==null&&(Dc(e,1,u),d0(e,u))}function Nu(e,u,t){if(e.tag===3)$x(e,e,t);else for(;u!==null;){if(u.tag===3){$x(u,e,t);break}else if(u.tag===1){var r=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ai===null||!Ai.has(r))){e=ba(t,e),e=ET(u,e,1),u=si(u,e,1),e=e0(),u!==null&&(Dc(u,1,e),d0(u,e));break}}u=u.return}}function sK(e,u,t){var r=e.pingCache;r!==null&&r.delete(u),u=e0(),e.pingedLanes|=e.suspendedLanes&t,pt===e&&(Ct&t)===t&&(Et===4||Et===3&&(Ct&130023424)===Ct&&500>Wu()-cB?wE(e,0):AB|=t),d0(e,u)}function DT(e,u){u===0&&(e.mode&1?(u=cl,cl<<=1,!(cl&130023424)&&(cl=4194304)):u=1);var t=e0();e=Dn(e,u),e!==null&&(Dc(e,u,t),d0(e,t))}function AK(e){var u=e.memoizedState,t=0;u!==null&&(t=u.retryLane),DT(e,t)}function cK(e,u){var t=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(t=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ae(314))}r!==null&&r.delete(u),DT(e,t)}var ST;ST=function(e,u,t){if(e!==null)if(e.memoizedProps!==u.pendingProps||l0.current)c0=!0;else{if(!(e.lanes&t)&&!(u.flags&128))return c0=!1,qj(e,u,t);c0=!!(e.flags&131072)}else c0=!1,Cu&&u.flags&1048576&&TI(u,Ld,u.index);switch(u.lanes=0,u.tag){case 2:var r=u.type;jf(e,u),e=u.pendingProps;var n=ya(u,Ht.current);Ea(u,t),n=nB(null,u,r,e,n,t);var i=iB();return u.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,f0(r)?(i=!0,Ud(u)):i=!1,u.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Jv(u),n.updater=p2,u.stateNode=n,n._reactInternals=u,Fm(u,r,e,t),u=Tm(null,u,r,!0,i,t)):(u.tag=0,Cu&&i&&Vv(u),Gt(null,u,n,t),u=u.child),u;case 16:r=u.elementType;e:{switch(jf(e,u),e=u.pendingProps,n=r._init,r=n(r._payload),u.type=r,n=u.tag=fK(r),e=lr(r,e),n){case 0:u=Im(null,u,r,e,t);break e;case 1:u=Tx(null,u,r,e,t);break e;case 11:u=_x(null,u,r,e,t);break e;case 14:u=Ix(null,u,r,lr(r.type,e),t);break e}throw Error(Ae(306,r,""))}return u;case 0:return r=u.type,n=u.pendingProps,n=u.elementType===r?n:lr(r,n),Im(e,u,r,n,t);case 1:return r=u.type,n=u.pendingProps,n=u.elementType===r?n:lr(r,n),Tx(e,u,r,n,t);case 3:e:{if(AT(u),e===null)throw Error(Ae(387));r=u.pendingProps,i=u.memoizedState,n=i.element,LI(e,u),Nd(u,r,null,t);var E=u.memoizedState;if(r=E.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},u.updateQueue.baseState=i,u.memoizedState=i,u.flags&256){n=ba(Error(Ae(423)),u),u=Px(e,u,r,t,n);break e}else if(r!==n){n=ba(Error(Ae(424)),u),u=Px(e,u,r,t,n);break e}else for(_0=ai(u.stateNode.containerInfo.firstChild),I0=u,Cu=!0,hr=null,t=UI(u,null,r,t),u.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(va(),r===n){u=Sn(e,u,t);break e}Gt(e,u,r,t)}u=u.child}return u;case 5:return MI(u),e===null&&Cm(u),r=u.type,n=u.pendingProps,i=e!==null?e.memoizedProps:null,E=n.children,vm(r,n)?E=null:i!==null&&vm(r,i)&&(u.flags|=32),sT(e,u),Gt(e,u,E,t),u.child;case 6:return e===null&&Cm(u),null;case 13:return cT(e,u,t);case 4:return eB(u,u.stateNode.containerInfo),r=u.pendingProps,e===null?u.child=Ba(u,null,r,t):Gt(e,u,r,t),u.child;case 11:return r=u.type,n=u.pendingProps,n=u.elementType===r?n:lr(r,n),_x(e,u,r,n,t);case 7:return Gt(e,u,u.pendingProps,t),u.child;case 8:return Gt(e,u,u.pendingProps.children,t),u.child;case 12:return Gt(e,u,u.pendingProps.children,t),u.child;case 10:e:{if(r=u.type._context,n=u.pendingProps,i=u.memoizedProps,E=n.value,pu(Md,r._currentValue),r._currentValue=E,i!==null)if(Br(i.value,E)){if(i.children===n.children&&!l0.current){u=Sn(e,u,t);break e}}else for(i=u.child,i!==null&&(i.return=u);i!==null;){var o=i.dependencies;if(o!==null){E=i.child;for(var a=o.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Bn(-1,t&-t),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var A=s.pending;A===null?a.next=a:(a.next=A.next,A.next=a),s.pending=a}}i.lanes|=t,a=i.alternate,a!==null&&(a.lanes|=t),Dm(i.return,t,u),o.lanes|=t;break}a=a.next}}else if(i.tag===10)E=i.type===u.type?null:i.child;else if(i.tag===18){if(E=i.return,E===null)throw Error(Ae(341));E.lanes|=t,o=E.alternate,o!==null&&(o.lanes|=t),Dm(E,t,u),E=i.sibling}else E=i.child;if(E!==null)E.return=i;else for(E=i;E!==null;){if(E===u){E=null;break}if(i=E.sibling,i!==null){i.return=E.return,E=i;break}E=E.return}i=E}Gt(e,u,n.children,t),u=u.child}return u;case 9:return n=u.type,r=u.pendingProps.children,Ea(u,t),n=tr(n),r=r(n),u.flags|=1,Gt(e,u,r,t),u.child;case 14:return r=u.type,n=lr(r,u.pendingProps),n=lr(r.type,n),Ix(e,u,r,n,t);case 15:return oT(e,u,u.type,u.pendingProps,t);case 17:return r=u.type,n=u.pendingProps,n=u.elementType===r?n:lr(r,n),jf(e,u),u.tag=1,f0(r)?(e=!0,Ud(u)):e=!1,Ea(u,t),nT(u,r,n),Fm(u,r,n,t),Tm(null,u,r,!0,e,t);case 19:return lT(e,u,t);case 22:return aT(e,u,t)}throw Error(Ae(156,u.tag))};function FT(e,u){return uI(e,u)}function lK(e,u,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function X0(e,u,t,r){return new lK(e,u,t,r)}function pB(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fK(e){if(typeof e=="function")return pB(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kv)return 11;if(e===Uv)return 14}return 2}function li(e,u){var t=e.alternate;return t===null?(t=X0(e.tag,u,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=u,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,u=e.depen
vendor: 10,130 bytes, line 40
40dencies,t.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Vf(e,u,t,r,n,i){var E=2;if(r=e,typeof e=="function")pB(e)&&(E=1);else if(typeof e=="string")E=5;else e:switch(e){case Mo:return bE(t.children,n,i,u);case Ov:E=8,n|=8;break;case q3:return e=X0(12,t,u,n|2),e.elementType=q3,e.lanes=i,e;case J3:return e=X0(13,t,u,n),e.elementType=J3,e.lanes=i,e;case em:return e=X0(19,t,u,n),e.elementType=em,e.lanes=i,e;case M_:return g2(t,n,i,u);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q_:E=10;break e;case L_:E=9;break e;case kv:E=11;break e;case Uv:E=14;break e;case jn:E=16,r=null;break e}throw Error(Ae(130,e==null?e:typeof e,""))}return u=X0(E,t,u,n),u.elementType=e,u.type=r,u.lanes=i,u}function bE(e,u,t,r){return e=X0(7,e,r,u),e.lanes=t,e}function g2(e,u,t,r){return e=X0(22,e,r,u),e.elementType=M_,e.lanes=t,e.stateNode={isHidden:!1},e}function K4(e,u,t){return e=X0(6,e,null,u),e.lanes=t,e}function W4(e,u,t){return u=X0(4,e.children!==null?e.children:[],e.key,u),u.lanes=t,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function dK(e,u,t,r,n){this.tag=u,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=C4(0),this.expirationTimes=C4(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=C4(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function hB(e,u,t,r,n,i,E,o,a){return e=new dK(e,u,t,o,a),u===1?(u=1,i===!0&&(u|=8)):u=0,i=X0(3,null,null,u),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jv(i),e}function pK(e,u,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Lo,key:r==null?null:""+r,children:e,containerInfo:u,implementation:t}}function _T(e){if(!e)return Si;e=e._reactInternals;e:{if(qE(e)!==e||e.tag!==1)throw Error(Ae(170));var u=e;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(f0(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(u!==null);throw Error(Ae(171))}if(e.tag===1){var t=e.type;if(f0(t))return _I(e,t,u)}return u}function IT(e,u,t,r,n,i,E,o,a){return e=hB(t,r,!0,e,n,i,E,o,a),e.context=_T(null),t=e.current,r=e0(),n=ci(t),i=Bn(r,n),i.callback=u??null,si(t,i,n),e.current.lanes=n,Dc(e,n,r),d0(e,r),e}function y2(e,u,t,r){var n=u.current,i=e0(),E=ci(n);return t=_T(t),u.context===null?u.context=t:u.pendingContext=t,u=Bn(i,E),u.payload={element:e},r=r===void 0?null:r,r!==null&&(u.callback=r),e=si(n,u,E),e!==null&&(vr(e,n,E,i),Nf(e,n,E)),E}function Gd(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Hx(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<u?t:u}}function mB(e,u){Hx(e,u),(e=e.alternate)&&Hx(e,u)}function hK(){return null}var TT=typeof reportError=="function"?reportError:function(e){console.error(e)};function gB(e){this._internalRoot=e}v2.prototype.render=gB.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(Ae(409));y2(e,u,null,null)};v2.prototype.unmount=gB.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;RE(function(){y2(null,e,null,null)}),u[Cn]=null}};function v2(e){this._internalRoot=e}v2.prototype.unstable_scheduleHydration=function(e){if(e){var u=aI();e={blockedOn:null,target:e,priority:u};for(var t=0;t<zn.length&&u!==0&&u<zn[t].priority;t++);zn.splice(t,0,e),t===0&&AI(e)}};function yB(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function B2(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function jx(){}function mK(e,u,t,r,n){if(n){if(typeof r=="function"){var i=r;r=function(){var s=Gd(E);i.call(s)}}var E=IT(u,r,e,0,null,!1,!1,"",jx);return e._reactRootContainer=E,e[Cn]=E.current,jA(e.nodeType===8?e.parentNode:e),RE(),E}for(;n=e.lastChild;)e.removeChild(n);if(typeof r=="function"){var o=r;r=function(){var s=Gd(a);o.call(s)}}var a=hB(e,0,!1,null,null,!1,!1,"",jx);return e._reactRootContainer=a,e[Cn]=a.current,jA(e.nodeType===8?e.parentNode:e),RE(function(){y2(u,a,t,r)}),a}function w2(e,u,t,r,n){var i=t._reactRootContainer;if(i){var E=i;if(typeof n=="function"){var o=n;n=function(){var a=Gd(E);o.call(a)}}y2(u,E,e,n)}else E=mK(t,u,e,n,r);return Gd(E)}EI=function(e){switch(e.tag){case 3:var u=e.stateNode;if(u.current.memoizedState.isDehydrated){var t=qs(u.pendingLanes);t!==0&&(Mv(u,t|1),d0(u,Wu()),!(je&6)&&(xa=Wu()+500,Mi()))}break;case 13:RE(function(){var r=Dn(e,1);if(r!==null){var n=e0();vr(r,e,1,n)}}),mB(e,1)}};Rv=function(e){if(e.tag===13){var u=Dn(e,134217728);if(u!==null){var t=e0();vr(u,e,134217728,t)}mB(e,134217728)}};oI=function(e){if(e.tag===13){var u=ci(e),t=Dn(e,u);if(t!==null){var r=e0();vr(t,e,u,r)}mB(e,u)}};aI=function(){return iu};sI=function(e,u){var t=iu;try{return iu=e,u()}finally{iu=t}};Am=function(e,u,t){switch(u){case"input":if(rm(e,t),u=t.name,t.type==="radio"&&u!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+u)+'][type="radio"]'),u=0;u<t.length;u++){var r=t[u];if(r!==e&&r.form===e.form){var n=l2(r);if(!n)throw Error(Ae(90));N_(r),rm(r,n)}}}break;case"textarea":H_(e,t);break;case"select":u=t.value,u!=null&&ta(e,!!t.multiple,u,!1)}};Y_=lB;X_=RE;var gK={usingClientEntryPoint:!1,Events:[Fc,Ho,l2,z_,G_,lB]},ks={findFiberByHostInstance:fE,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},yK={bundleType:ks.bundleType,version:ks.version,rendererPackageName:ks.rendererPackageName,rendererConfig:ks.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=J_(e),e===null?null:e.stateNode},findFiberByHostInstance:ks.findFiberByHostInstance||hK,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{a2=wl.inject(yK),Gr=wl}catch{}}U0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gK;U0.createPortal=function(e,u){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!yB(u))throw Error(Ae(200));return pK(e,u,null,t)};U0.createRoot=function(e,u){if(!yB(e))throw Error(Ae(299));var t=!1,r="",n=TT;return u!=null&&(u.unstable_strictMode===!0&&(t=!0),u.identifierPrefix!==void 0&&(r=u.identifierPrefix),u.onRecoverableError!==void 0&&(n=u.onRecoverableError)),u=hB(e,1,!1,null,null,t,!1,r,n),e[Cn]=u.current,jA(e.nodeType===8?e.parentNode:e),new gB(u)};U0.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var u=e._reactInternals;if(u===void 0)throw typeof e.render=="function"?Error(Ae(188)):(e=Object.keys(e).join(","),Error(Ae(268,e)));return e=J_(u),e=e===null?null:e.stateNode,e};U0.flushSync=function(e){return RE(e)};U0.hydrate=function(e,u,t){if(!B2(u))throw Error(Ae(200));return w2(null,e,u,!0,t)};U0.hydrateRoot=function(e,u,t){if(!yB(e))throw Error(Ae(405));var r=t!=null&&t.hydratedSources||null,n=!1,i="",E=TT;if(t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(E=t.onRecoverableError)),u=IT(u,null,e,1,t??null,n,!1,i,E),e[Cn]=u.current,jA(e),r)for(e=0;e<r.length;e++)t=r[e],n=t._getVersion,n=n(t._source),u.mutableSourceEagerHydrationData==null?u.mutableSourceEagerHydrationData=[t,n]:u.mutableSourceEagerHydrationData.push(t,n);return new v2(u)};U0.render=function(e,u,t){if(!B2(u))throw Error(Ae(200));return w2(null,e,u,!1,t)};U0.unmountComponentAtNode=function(e){if(!B2(e))throw Error(Ae(40));return e._reactRootContainer?(RE(function(){w2(null,null,e,!1,function(){e._reactRootContainer=null,e[Cn]=null})}),!0):!1};U0.unstable_batchedUpdates=lB;U0.unstable_renderSubtreeIntoContainer=function(e,u,t,r){if(!B2(t))throw Error(Ae(200));if(e==null||e._reactInternals===void 0)throw Error(Ae(38));return w2(e,u,t,!1,r)};U0.version="18.3.1-next-f1338f8080-20240426";function PT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(PT)}catch(e){console.error(e)}}PT(),P_.exports=U0;var Za=P_.exports;const hE=Iu(Za),fVe=Cv({__proto__:null,default:hE},[Za]);var Kx=Za;M7.createRoot=Kx.createRoot,M7.hydrateRoot=Kx.hydrateRoot;function Ca(e){"@babel/helpers - typeof";return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},Ca(e)}function vK(e,u){if(Ca(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,u);if(Ca(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(e)}function OT(e){var u=vK(e,"string");return Ca(u)=="symbol"?u:u+""}function vB(e,u,t){return(u=OT(u))in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function Wx(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Vx(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};
vendor: 1,712 bytes, line 40
40u%2?Wx(Object(t),!0).forEach(function(r){vB(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Pt(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var zx=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),V4=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yd={INIT:"@@redux/INIT"+V4(),REPLACE:"@@redux/REPLACE"+V4(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+V4()}};function BK(e){if(typeof e!="object"||e===null)return!1;for(var u=e;Object.getPrototypeOf(u)!==null;)u=Object.getPrototypeOf(u);return Object.getPrototypeOf(e)===u}function BB(e,u,t){var r;if(typeof u=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(Pt(0));if(typeof u=="function"&&typeof t>"u"&&(t=u,u=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Pt(1));return t(BB)(e,u)}if(typeof e!="function")throw new Error(Pt(2));var n=e,i=u,E=[],o=E,a=!1;function s(){o===E&&(o=E.slice())}function A(){if(a)throw new Error(Pt(3));return i}function c(h){if(typeof h!="function")throw new Error(Pt(4));if(a)throw new Error(Pt(5));var w=!0;return s(),o.push(h),function(){if(w){if(a)throw new Error(Pt(6));w=!1,s();var g=o.indexOf(h);o.splice(g,1),E=null}}}function l(h){if(!BK(h))throw new Error(Pt(7));if(typeof h.type>"u")throw new Error(Pt(8));if(a)throw new Error(Pt(9));try{a=!0,i=n(i,h)}finally{a=!1}
vendor: 4,680 bytes, line 40
40for(var w=E=o,m=0;m<w.length;m++){var g=w[m];g()}return h}function f(h){if(typeof h!="function")throw new Error(Pt(10));n=h,l({type:Yd.REPLACE})}function p(){var h,w=c;return h={subscribe:function(g){if(typeof g!="object"||g===null)throw new Error(Pt(11));function v(){g.next&&g.next(A())}v();var d=w(v);return{unsubscribe:d}}},h[zx]=function(){return this},h}return l({type:Yd.INIT}),r={dispatch:l,subscribe:c,getState:A,replaceReducer:f},r[zx]=p,r}function wK(e){Object.keys(e).forEach(function(u){var t=e[u],r=t(void 0,{type:Yd.INIT});if(typeof r>"u")throw new Error(Pt(12));if(typeof t(void 0,{type:Yd.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pt(13))})}function bK(e){for(var u=Object.keys(e),t={},r=0;r<u.length;r++){var n=u[r];typeof e[n]=="function"&&(t[n]=e[n])}var i=Object.keys(t),E;try{wK(t)}catch(o){E=o}return function(a,s){if(a===void 0&&(a={}),E)throw E;for(var A=!1,c={},l=0;l<i.length;l++){var f=i[l],p=t[f],h=a[f],w=p(h,s);if(typeof w>"u")throw s&&s.type,new Error(Pt(14));c[f]=w,A=A||w!==h}return A=A||i.length!==Object.keys(a).length,A?c:a}}function Xd(){for(var e=arguments.length,u=new Array(e),t=0;t<e;t++)u[t]=arguments[t];return u.length===0?function(r){return r}:u.length===1?u[0]:u.reduce(function(r,n){return function(){return r(n.apply(void 0,arguments))}})}function xK(){for(var e=arguments.length,u=new Array(e),t=0;t<e;t++)u[t]=arguments[t];return function(r){return function(){var n=r.apply(void 0,arguments),i=function(){throw new Error(Pt(15))},E={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},o=u.map(function(a){return a(E)});return i=Xd.apply(void 0,o)(n.dispatch),Vx(Vx({},n),{},{dispatch:i})}}}function Y0(e){for(var u=arguments.length,t=Array(u>1?u-1:0),r=1;r<u;r++)t[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(t.length?" "+t.map(function(n){return"'"+n+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Fi(e){return!!e&&!!e[Fe]}function wr(e){var u;return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===PK}(e)||Array.isArray(e)||!!e[e9]||!!(!((u=e.constructor)===null||u===void 0)&&u[e9])||wB(e)||bB(e))}function _i(e,u,t){t===void 0&&(t=!1),qa(e)===0?(t?Object.keys:sa)(e).forEach(function(r){t&&typeof r=="symbol"||u(r,e[r],e)}):e.forEach(function(r,n){return u(n,r,e)})}function qa(e){var u=e[Fe];return u?u.i>3?u.i-4:u.i:Array.isArray(e)?1:wB(e)?2:bB(e)?3:0}function aa(e,u){return qa(e)===2?e.has(u):Object.prototype.hasOwnProperty.call(e,u)}function CK(e,u){return qa(e)===2?e.get(u):e[u]}function kT(e,u,t){var r=qa(e);r===2?e.set(u,t):r===3?e.add(t):e[u]=t}function UT(e,u){return e===u?e!==0||1/e==1/u:e!=e&&u!=u}function wB(e){return IK&&e instanceof Map}function bB(e){return TK&&e instanceof Set}function At(e){return e.o||e.t}function xB(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var u=MT(e);delete u[Fe];for(var t=sa(u),r=0;r<t.length;r++){var n=t[r],i=u[n];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(u[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[n]})}return Object.create(Object.getPrototypeOf(e),u)}function CB(e,u){return u===void 0&&(u=!1),DB(e)||Fi(e)||!wr(e)||(qa(e)>1&&(e.set=e.add=e.clear=e.delete=DK),Object.freeze(e),u&&_i(e,function(t,r){return CB(r,!0)},!0)),e}function DK(){Y0(2)}function DB(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xr(e){var u=Km[e];return u||Y0(18,e),u}function QT(e,u){Km[e]||(Km[e]=u)}function qA(){return ec}function z4(e,u){u&&(Xr("Patches"),e.u=[],e.s=[],e.v=u)}function Zd(e){jm(e),e.p.forEach(SK),e.p=null}function jm(e){e===ec&&(ec=e.l)}function Gx(e){return ec={p:[],l:ec,h:e,m:!0,_:0}}function SK(e){var u=e[Fe];u.i===0||u.i===1?u.j():u.g=!0}function G4(e,u){u._=u.p.length;var t=u.p[0],r=e!==void 0&&e!==t;return u.h.O||Xr("ES5").S(u,e,r),r?(t[Fe].P&&(Zd(u),Y0(4)),wr(e)&&(e=qd(u,e),u.l||Jd(u,e)),u.u&&Xr("Patches").M(t[Fe].t,e,u.u,u.s)):e=qd(u,t,[]),Zd(u),u.u&&u.v(u.u,u.s),e!==LT?e:void 0}function qd(e,u,t){if(DB(u))return u;var r=u[Fe];if(!r)return _i(u,function(o,a){return Yx(e,r,u,o,a,t)},!0),u;if(r.A!==e)return u;if(!r.P)return Jd(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=r.i===4||r.i===5?r.o=xB(r.k):r.o,i=n,E=!1;r.i===3&&(i=new Set(n),n.clear(),E=!0),_i(i,function(o,a){return Yx(e,r,n,o,a,t,E)}),Jd(e,n,!1),t&&e.u&&Xr("Patches").N(r,t,e.u,e.s)}return r.o}function Yx(e,u,t,r,n,i,E){if(Fi(n)){var o=qd(e,n,i&&u&&u.i!==3&&!aa(u.R,r)?i.concat(r):void 0);if(kT(t,r,o),!Fi(o))return;e.m=!1}else E&&t.add(n);
vendor: 4,180 bytes, line 40
40if(wr(n)&&!DB(n)){if(!e.h.D&&e._<1)return;qd(e,n),u&&u.A.l||Jd(e,n)}}function Jd(e,u,t){t===void 0&&(t=!1),!e.l&&e.h.D&&e.m&&CB(u,t)}function Y4(e,u){var t=e[Fe];return(t?At(t):e)[u]}function Xx(e,u){if(u in e)for(var t=Object.getPrototypeOf(e);t;){var r=Object.getOwnPropertyDescriptor(t,u);if(r)return r;t=Object.getPrototypeOf(t)}}function s0(e){e.P||(e.P=!0,e.l&&s0(e.l))}function X4(e){e.o||(e.o=xB(e.t))}function JA(e,u,t){var r=wB(u)?Xr("MapSet").F(u,t):bB(u)?Xr("MapSet").T(u,t):e.O?function(n,i){var E=Array.isArray(n),o={i:E?1:0,A:i?i.A:qA(),P:!1,I:!1,R:{},l:i,t:n,k:null,o:null,j:null,C:!1},a=o,s=uc;E&&(a=[o],s=eA);var A=Proxy.revocable(a,s),c=A.revoke,l=A.proxy;return o.k=l,o.j=c,l}(u,t):Xr("ES5").J(u,t);return(t?t.A:qA()).p.push(r),r}function FK(e){return Fi(e)||Y0(22,e),function u(t){if(!wr(t))return t;var r,n=t[Fe],i=qa(t);if(n){if(!n.P&&(n.i<4||!Xr("ES5").K(n)))return n.t;n.I=!0,r=Zx(t,i),n.I=!1}else r=Zx(t,i);return _i(r,function(E,o){n&&CK(n.t,E)===o||kT(r,E,u(o))}),i===3?new Set(r):r}(e)}function Zx(e,u){switch(u){case 2:return new Map(e);case 3:return Array.from(e)}return xB(e)}function _K(){function e(i,E){var o=n[i];return o?o.enumerable=E:n[i]=o={configurable:!0,enumerable:E,get:function(){var a=this[Fe];return uc.get(a,i)},set:function(a){var s=this[Fe];uc.set(s,i,a)}},o}function u(i){for(var E=i.length-1;E>=0;E--){var o=i[E][Fe];if(!o.P)switch(o.i){case 5:r(o)&&s0(o);break;case 4:t(o)&&s0(o)}}}function t(i){for(var E=i.t,o=i.k,a=sa(o),s=a.length-1;s>=0;s--){var A=a[s];if(A!==Fe){var c=E[A];if(c===void 0&&!aa(E,A))return!0;var l=o[A],f=l&&l[Fe];if(f?f.t!==c:!UT(l,c))return!0}}var p=!!E[Fe];return a.length!==sa(E).length+(p?0:1)}function r(i){var E=i.k;if(E.length!==i.t.length)return!0;var o=Object.getOwnPropertyDescriptor(E,E.length-1);if(o&&!o.get)return!0;for(var a=0;a<E.length;a++)if(!E.hasOwnProperty(a))return!0;return!1}var n={};QT("ES5",{J:function(i,E){var o=Array.isArray(i),a=function(A,c){if(A){for(var l=Array(c.length),f=0;f<c.length;f++)Object.defineProperty(l,""+f,e(f,!0));return l}var p=MT(c);delete p[Fe];for(var h=sa(p),w=0;w<h.length;w++){var m=h[w];p[m]=e(m,A||!!p[m].enumerable)}return Object.create(Object.getPrototypeOf(c),p)}(o,i),s={i:o?5:4,A:E?E.A:qA(),P:!1,I:!1,R:{},l:E,t:i,k:a,o:null,g:!1,C:!1};return Object.defineProperty(a,Fe,{value:s,writable:!0}),a},S:function(i,E,o){o?Fi(E)&&E[Fe].A===i&&u(i.p):(i.u&&function a(s){if(s&&typeof s=="object"){var A=s[Fe];if(A){var c=A.t,l=A.k,f=A.R,p=A.i;if(p===4)_i(l,function(v){v!==Fe&&(c[v]!==void 0||aa(c,v)?f[v]||a(l[v]):(f[v]=!0,s0(A)))}),_i(c,function(v){l[v]!==void 0||aa(l,v)||(f[v]=!1,s0(A))});else if(p===5){if(r(A)&&(s0(A),f.length=!0),l.length<c.length)for(var h=l.length;h<c.length;h++)f[h]=!1;else for(var w=c.length;w<l.length;w++)f[w]=!0;for(var m=Math.min(l.length,c.length),g=0;g<m;g++)l.hasOwnProperty(g)||(f[g]=!0),f[g]===void 0&&a(l[g])}}}}(i.p[0]),u(i.p))},K:function(i){return i.i===4?t(i):r(i)}})}function dVe(){function e(o,a){function s(){this.constructor=o}n(o,a),o.prototype=(s.prototype=a.prototype,new s)}function u(o){o.o||(o.R=new Map,o.o=new Map(o.t))}function t(o){o.o||(o.o=new Set,o.t.forEach(function(a){if(wr(a)){var s=JA(o.A.h,a,o);o.p.set(a,s),o.o.add(s)}else o.o.add(a)}))}function r(o){o.g&&Y0(3,JSON.stringify(At(o)))}var n=function(o,a){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,A){s.__proto__=A}||function(s,A){for(var c in A)A.hasOwnProperty(c)&&(s[c]=A[c])})(o,a)},i=function(){function o(s,A){return this[Fe]={i:2,l:A,A:A?A.A:qA(),P:!1,I:!1,o:void 0,R:void 0,t:s,k:this,C:!1,g:!1},this}e(o,Map);var a=o.prototype;return Object.defineProperty(a,"size",{get:function(){return At(this[Fe]).size}}),a.has=function(s){return At(this[Fe]).has(s)},a.set=function(s,A){var c=this[Fe];return r(c),At(c).has(s)&&At(c).get(s)===A||(u(c),s0(c),c.R.set(s,!0),c.o.set(s,A),c.R.set(s,!0)),this},a.delete=function(s){if(!this.has(s))return!1;var A=this[Fe];return r(A),u(A),s0(A),A.t.has(s)?A.R.set(s,!1):A.R.delete(s),A.o.delete(s),!0},a.clear=function(){var s=this[Fe];r(s),At(s).size&&(u(s),s0(s),s.R=new Map,_i(s.t,function(A){s.R.set(A,!1)}),s.o.clear())},a.forEach=function(s,A){var c=this;
40At(this[Fe]).forEach(function(l,f){s.call(A,c.get(f),f,c)})},a.get=function(s){var A=this[Fe];r(A);var c=At(A).get(s);if(A.I||!wr(c)||c!==A.t.get(s))return c;var l=JA(A.A.h,c,A);return u(A),A.o.set(s,l),l},a.keys=function(){return At(this[Fe]).keys()},a.values=function(){var s,A=this,c=this.keys();return(s={})[bl]=function(){return A.values()},s.next=function(){var l=c.next();return l.done?l:{done:!1,value:A.get(l.value)}},s},a.entries=function(){var s,A=this,c=this.keys();return(s={})[bl]=function(){return A.entries()},s.next=function(){var l=c.next();if(l.done)return l;var f=A.get(l.value);return{done:!1,value:[l.value,f]}},s},a[bl]=function(){return this.entries()},o}(),E=function(){function o(s,A){return this[Fe]={i:3,l:A,A:A?A.A:qA(),P:!1,I:!1,o:void 0,t:s,k:this,p:new Map,g:!1,C:!1},this}e(o,Set);var a=o.prototype;return Object.defineProperty(a,"size",{get:function(){return At(this[Fe]).size}}),a.has=function(s){var A=this[Fe];return r(A),A.o?!!A.o.has(s)||!(!A.p.has(s)||!A.o.has(A.p.get(s))):A.t.has(s)},a.add=function(s){var A=this[Fe];return r(A),this.has(s)||(t(A),s0(A),A.o.add(s)),this},a.delete=function(s){if(!this.has(s))return!1;var A=this[Fe];return r(A),t(A),s0(A),A.o.delete(s)||!!A.p.has(s)&&A.o.delete(A.p.get(s))},a.clear=function(){var s=this[Fe];r(s),At(s).size&&(t(s),s0(s),s.o.clear())},a.values=function(){var s=this[Fe];return r(s),t(s),s.o.values()},a.entries=function(){var s=this[Fe];return r(s),t(s),s.o.entries()},a.keys=function(){return this.values()},a[bl]=function(){return this.values()},a.forEach=function(s,A){for(var c=this.values(),l=c.next();!l.done;)s.call(A,l.value,l.value,this),l=c.next()},o}();QT("MapSet",{F:function(o,a){return new i(o,a)},T:function(o,a){return new E(o,a)}})}var qx,ec,SB=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",IK=typeof Map<"u",TK=typeof Set<"u",Jx=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",LT=SB?Symbol.for("immer-nothing"):((qx={})["immer-nothing"]=!0,qx),e9=SB?Symbol.for("immer-draftable"):"__$immer_draftable",Fe=SB?Symbol.for("immer-state"):"__$immer_state",bl=typeof Symbol<"u"&&Symbol.iterator||"@@iterator",PK=""+Object.prototype.constructor,sa=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,MT=Object.getOwnPropertyDescriptors||function(e){var u={};return sa(e).forEach(function(t){u[t]=Object.getOwnPropertyDescriptor(e,t)}),u},Km={},uc={get:function(e,u){if(u===Fe)return e;var t=At(e);if(!aa(t,u))return function(n,i,E){var o,a=Xx(i,E);return a?"value"in a?a.value:(o=a.get)===null||o===void 0?void 0:o.call(n.k):void 0}(e,t,u);var r=t[u];return e.I||!wr(r)?r:r===Y4(e.t,u)?(X4(e),e.o[u]=JA(e.A.h,r,e)):r},has:function(e,u){return u in At(e)},ownKeys:function(e){return Reflect.ownKeys(At(e))},set:function(e,u,t){var r=Xx(At(e),u);if(r!=null&&r.set)return r.set.call(e.k,t),!0;if(!e.P){var n=Y4(At(e),u),i=n==null?void 0:n[Fe];if(i&&i.t===t)return e.o[u]=t,e.R[u]=!1,!0;if(UT(t,n)&&(t!==void 0||aa(e.t,u)))return!0;X4(e),s0(e)}return e.o[u]===t&&(t!==void 0||u in e.o)||Number.isNaN(t)&&Number.isNaN(e.o[u])||(e.o[u]=t,e.R[u]=!0),!0},deleteProperty:function(e,u){return Y4(e.t,u)!==void 0||u in e.t?(e.R[u]=!1,X4(e),s0(e)):delete e.R[u],e.o&&delete e.o[u],!0},getOwnPropertyDescriptor:function(e,u){var t=At(e),r=Reflect.getOwnPropertyDescriptor(t,u);return r&&{writable:!0,configurable:e.i!==1||u!=="length",enumerable:r.enumerable,value:t[u]}},defineProperty:function(){Y0(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Y0(12)}},eA={};_i(uc,function(e,u){eA[e]=function(){return arguments[0]=arguments[0][0],u.apply(this,arguments)}}),eA.deleteProperty=function(e,u){return eA.set.call(this,e,u,void 0)},eA.set=function(e,u,t){return uc.set.call(this,e[0],u,t,e[0])};var OK=function(){function e(t){var r=this;this.O=Jx,this.D=!0,this.produce=function(n,i,E){if(typeof n=="function"&&typeof i!="function"){var o=i;i=n;var a=r;return function(h){var w=this;h===void 0&&(h=o);for(var m=arguments.length,g=Array(m>1?m-1:0),v=1;v<m;v++)g[v-1]=arguments[v];return a.produce(h,function(d){var y;return(y=i).call.apply(y,[w,d].concat(g))})}}var s;if(typeof i!="function"&&Y0(6),E!==void 0&&typeof E!="function"&&Y0(7),wr(n)){var A=Gx(r),c=JA(r,n,void 0),l=!0;try{s=i(c),l=!1}finally{l?Zd(A):jm(A)}return typeof Promise<"u"&&s instanceof Promise?s.then(function(h){return z4(A,E),G4(h,A)},function(h){throw Zd(A),h}):(z4(A,E),G4(s,A))}if(!n||typeof n!="object"){if((s=i(n))===void 0&&(s=n),s===LT&&(s=void 0),r.D&&CB(s,!0),E){var f=[],p=[];Xr("Patches").M(n,s,f,p),E(f,p)}return s}Y0(21,n)}
vendor: 4,892 bytes, line 40
40,this.produceWithPatches=function(n,i){if(typeof n=="function")return function(s){for(var A=arguments.length,c=Array(A>1?A-1:0),l=1;l<A;l++)c[l-1]=arguments[l];return r.produceWithPatches(s,function(f){return n.apply(void 0,[f].concat(c))})};var E,o,a=r.produce(n,i,function(s,A){E=s,o=A});return typeof Promise<"u"&&a instanceof Promise?a.then(function(s){return[s,E,o]}):[a,E,o]},typeof(t==null?void 0:t.useProxies)=="boolean"&&this.setUseProxies(t.useProxies),typeof(t==null?void 0:t.autoFreeze)=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var u=e.prototype;return u.createDraft=function(t){wr(t)||Y0(8),Fi(t)&&(t=FK(t));var r=Gx(this),n=JA(this,t,void 0);return n[Fe].C=!0,jm(r),n},u.finishDraft=function(t,r){var n=t&&t[Fe],i=n.A;return z4(i,r),G4(void 0,i)},u.setAutoFreeze=function(t){this.D=t},u.setUseProxies=function(t){t&&!Jx&&Y0(20),this.O=t},u.applyPatches=function(t,r){var n;for(n=r.length-1;n>=0;n--){var i=r[n];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}n>-1&&(r=r.slice(n+1));var E=Xr("Patches").$;return Fi(t)?E(t,r):this.produce(t,function(o){return E(o,r)})},e}(),k0=new OK,RT=k0.produce;k0.produceWithPatches.bind(k0);k0.setAutoFreeze.bind(k0);k0.setUseProxies.bind(k0);k0.applyPatches.bind(k0);k0.createDraft.bind(k0);k0.finishDraft.bind(k0);function NT(e){var u=function(r){var n=r.dispatch,i=r.getState;return function(E){return function(o){return typeof o=="function"?o(n,i,e):E(o)}}};return u}var Wm=NT();Wm.withExtraArgument=NT;var $T=function(){var e=function(u,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},e(u,t)};return function(u,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(u,t);function r(){this.constructor=u}u.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),kK=function(e,u){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,E;return E={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function o(s){return function(A){return a([s,A])}}function a(s){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=s[0]&2?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,n=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1],i=s;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(s);break}i[2]&&t.ops.pop(),t.trys.pop();continue}s=u.call(e,t)}catch(A){s=[6,A],n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},Da=function(e,u){for(var t=0,r=u.length,n=e.length;t<r;t++,n++)e[n]=u[t];return e},UK=Object.defineProperty,QK=Object.defineProperties,LK=Object.getOwnPropertyDescriptors,u9=Object.getOwnPropertySymbols,MK=Object.prototype.hasOwnProperty,RK=Object.prototype.propertyIsEnumerable,t9=function(e,u,t){return u in e?UK(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t},fi=function(e,u){for(var t in u||(u={}))MK.call(u,t)&&t9(e,t,u[t]);if(u9)for(var r=0,n=u9(u);r<n.length;r++){var t=n[r];RK.call(u,t)&&t9(e,t,u[t])}return e},Z4=function(e,u){return QK(e,LK(u))},NK=function(e,u,t){return new Promise(function(r,n){var i=function(a){try{o(t.next(a))}catch(s){n(s)}},E=function(a){try{o(t.throw(a))}catch(s){n(s)}},o=function(a){return a.done?r(a.value):Promise.resolve(a.value).then(i,E)};o((t=t.apply(e,u)).next())})},$K=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xd:Xd.apply(null,arguments)};function HK(e){if(typeof e!="object"||e===null)return!1;var u=Object.getPrototypeOf(e);if(u===null)return!0;for(var t=u;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return u===t}function di(e,u){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(u){var i=u.apply(void 0,r);if(!i)throw new Error("prepareAction did not return an object");return fi(fi({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:r[0]}}return t.toString=function(){return""+e},t.type=e,t.match=function(r){return r.type===e},t}var jK=function(e){$T(u,e);function u(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=e.apply(this,t)||this;return Object.setPrototypeOf(n,u.prototype),n}return Object.defineProperty(u,Symbol.species,{get:function(){return u}
vendor: 6,118 bytes, line 40
40,enumerable:!1,configurable:!0}),u.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},u.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.length===1&&Array.isArray(t[0])?new(u.bind.apply(u,Da([void 0],t[0].concat(this)))):new(u.bind.apply(u,Da([void 0],t.concat(this))))},u}(Array),KK=function(e){$T(u,e);function u(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=e.apply(this,t)||this;return Object.setPrototypeOf(n,u.prototype),n}return Object.defineProperty(u,Symbol.species,{get:function(){return u},enumerable:!1,configurable:!0}),u.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},u.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.length===1&&Array.isArray(t[0])?new(u.bind.apply(u,Da([void 0],t[0].concat(this)))):new(u.bind.apply(u,Da([void 0],t.concat(this))))},u}(Array);function Vm(e){return wr(e)?RT(e,function(){}):e}function WK(e){return typeof e=="boolean"}function VK(){return function(u){return zK(u)}}function zK(e){e===void 0&&(e={});var u=e.thunk,t=u===void 0?!0:u;e.immutableCheck,e.serializableCheck,e.actionCreatorCheck;var r=new jK;return t&&(WK(t)?r.push(Wm):r.push(Wm.withExtraArgument(t.extraArgument))),r}function pVe(e){var u=VK(),t=e||{},r=t.reducer,n=r===void 0?void 0:r,i=t.middleware,E=i===void 0?u():i,o=t.devTools,a=o===void 0?!0:o,s=t.preloadedState,A=s===void 0?void 0:s,c=t.enhancers,l=c===void 0?void 0:c,f;if(typeof n=="function")f=n;else if(HK(n))f=bK(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var p=E;typeof p=="function"&&(p=p(u));var h=xK.apply(void 0,p),w=Xd;a&&(w=$K(fi({trace:!1},typeof a=="object"&&a)));var m=new KK(h),g=m;Array.isArray(l)?g=Da([h],l):typeof l=="function"&&(g=l(m));var v=w.apply(void 0,g);return BB(f,A,v)}function HT(e){var u={},t=[],r,n={addCase:function(i,E){var o=typeof i=="string"?i:i.type;if(!o)throw new Error("`builder.addCase` cannot be called with an empty action type");if(o in u)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return u[o]=E,n},addMatcher:function(i,E){return t.push({matcher:i,reducer:E}),n},addDefaultCase:function(i){return r=i,n}};return e(n),[u,t,r]}function GK(e){return typeof e=="function"}function YK(e,u,t,r){t===void 0&&(t=[]);var n=typeof u=="function"?HT(u):[u,t,r],i=n[0],E=n[1],o=n[2],a;if(GK(e))a=function(){return Vm(e())};else{var s=Vm(e);a=function(){return s}}function A(c,l){c===void 0&&(c=a());var f=Da([i[l.type]],E.filter(function(p){var h=p.matcher;return h(l)}).map(function(p){var h=p.reducer;return h}));return f.filter(function(p){return!!p}).length===0&&(f=[o]),f.reduce(function(p,h){if(h)if(Fi(p)){var w=p,m=h(w,l);return m===void 0?p:m}else{if(wr(p))return RT(p,function(g){return h(g,l)});var m=h(p,l);if(m===void 0){if(p===null)return p;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}return p},c)}return A.getInitialState=a,A}function XK(e,u){return e+"/"+u}function hVe(e){var u=e.name;if(!u)throw new Error("`name` is a required option for createSlice");var t=typeof e.initialState=="function"?e.initialState:Vm(e.initialState),r=e.reducers||{},n=Object.keys(r),i={},E={},o={};n.forEach(function(A){var c=r[A],l=XK(u,A),f,p;"reducer"in c?(f=c.reducer,p=c.prepare):f=c,i[A]=f,E[l]=f,o[A]=p?di(l,p):di(l)});function a(){var A=typeof e.extraReducers=="function"?HT(e.extraReducers):[e.extraReducers],c=A[0],l=c===void 0?{}:c,f=A[1],p=f===void 0?[]:f,h=A[2],w=h===void 0?void 0:h,m=fi(fi({},l),E);return YK(t,function(g){for(var v in m)g.addCase(v,m[v]);for(var d=0,y=p;d<y.length;d++){var b=y[d];g.addMatcher(b.matcher,b.reducer)}w&&g.addDefaultCase(w)})}var s;return{name:u,reducer:function(A,c){return s||(s=a()),s(A,c)},actions:o,caseReducers:i,getInitialState:function(){return s||(s=a()),s.getInitialState()}}}var ZK="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qK=function(e){e===void 0&&(e=21);for(var u="",t=e;t--;)u+=ZK[Math.random()*64|0];return u},JK=["name","message","stack","code"],q4=function(){function e(u,t){this.payload=u,this.meta=t}return e}(),r9=function(){function e(u,t){this.payload=u,this.meta=t}return e}(),eW=function(e){if(typeof e=="object"&&e!==null){for(var u={},t=0,r=JK;t<r.length;t++){var n=r[t];typeof e[n]=="string"&&(u[n]=e[n])}return u}return{message:String(e)}},mVe=function(){function e(u,t,r){var n=di(u+"/fulfilled",function(s,A,c,l){return{payload:s,meta:Z4(fi({},l||{}),{arg:c,requestId:A,requestStatus:"fulfilled"})}}),i=di(u+"/pending",function(s,A,c){return{payload:void 0,meta:Z4(fi({},c||{}),{arg:A,requestId:s,requestStatus:"pending"})}}),E=di(u+"/rejected",function(s,A,c,l,f){return{payload:l,error:(r&&r.serializeError||eW)(s||"Rejected"),meta:Z4(fi({},f||{}),{arg:c,requestId:A,rejectedWithValue:!!l,requestStatus:"rejected",aborted:(s==null?void 0:s.name)==="AbortError",condition:(s==null?void 0:s.name)==="ConditionError"})}}),o=typeof AbortController<"u"?AbortController:function(){function s(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return s.prototype.abort=function(){},s}();function a(s){return function(A,c,l){var f=r!=null&&r.idGenerator?r.idGenerator(s):qK(),p=new o,h;function w(g){h=g,p.abort()}var m=function(){return NK(this,null,function(){var g,v,d,y,b,C,S;return kK(this,function(F){switch(F.label){case 0:return F.trys.push([0,4,,5]),y=(g=r==null?void 0:r.condition)==null?void 0:g.call(r,s,{getState:c,extra:l}),tW(y)?[4,y]:[3,2];case 1:y=F.sent(),F.label=2;case 2:if(y===!1||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise(function(I,R){return p.signal.addEventListener("abort",function(){return R({n
40ame:"AbortError",message:h||"Aborted"})})}),A(i(f,s,(v=r==null?void 0:r.getPendingMeta)==null?void 0:v.call(r,{requestId:f,arg:s},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(t(s,{dispatch:A,getState:c,extra:l,requestId:f,signal:p.signal,abort:w,rejectWithValue:function(I,R){return new q4(I,R)},fulfillWithValue:function(I,R){return new r9(I,R)}})).then(function(I){if(I instanceof q4)throw I;return I instanceof r9?n(I.payload,f,s,I.meta):n(I,f,s)})])];case 3:return d=F.sent(),[3,5];case 4:return C=F.sent(),d=C instanceof q4?E(null,f,s,C.payload,C.meta):E(C,f,s),[3,5];case 5:return S=r&&!r.dispatchConditionRejection&&E.match(d)&&d.meta.condition,S||A(d),[2,d]}})})}();return Object.assign(m,{abort:w,requestId:f,arg:s,unwrap:function(){return m.then(uW)}})}}return Object.assign(a,{pending:i,rejected:E,fulfilled:n,typePrefix:u})}return e.withTypes=function(){return e},e}();function uW(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function tW(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var FB="listenerMiddleware";di(FB+"/add");di(FB+"/removeAll");di(FB+"/remove");var n9;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);_K();var _B="persist:",jT="persist/FLUSH",IB="persist/REHYDRATE",KT="persist/PAUSE",WT="persist/PERSIST",VT="persist/PURGE",zT="persist/REGISTER",GT=-1;function zf(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zf=function(t){return typeof t}:zf=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zf(e)}function i9(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function rW(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?i9(t,!0).forEach(function(r){nW(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i9(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function nW(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function iW(e,u,t,r){r.debug;var n=rW({},t);return e&&zf(e)==="object"&&Object.keys(e).forEach(function(i){i!=="_persist"&&u[i]===t[i]&&(n[i]=e[i])}),n}function EW(e){var u=e.blacklist||null,t=e.whitelist||null,r=e.transforms||[],n=e.throttle||0,i="".concat(e.keyPrefix!==void 0?e.keyPrefix:_B).concat(e.key),E=e.storage,o;e.serialize===!1?o=function(y){return y}:typeof e.serialize=="function"?o=e.serialize:o=oW;var a=e.writeFailHandler||null,s={},A={},c=[],l=null,f=null,p=function(y){Object.keys(y).forEach(function(b){m(b)&&s[b]!==y[b]&&c.indexOf(b)===-1&&c.push(b)}),Object.keys(s).forEach(function(b){y[b]===void 0&&m(b)&&c.indexOf(b)===-1&&s[b]!==void 0&&c.push(b)}),l===null&&(l=setInterval(h,n)),s=y};function h(){if(c.length===0){l&&clearInterval(l),l=null;return}var d=c.shift(),y=r.reduce(function(b,C){return C.in(b,d,s)},s[d]);if(y!==void 0)try{A[d]=o(y)}catch(b){console.error("redux-persist/createPersistoid: error serializing state",b)}else delete A[d];c.length===0&&w()}function w(){Object.keys(A).forEach(function(d){s[d]===void 0&&delete A[d]}),f=E.setItem(i,o(A)).catch(g)}function m(d){return!(t&&t.indexOf(d)===-1&&d!=="_persist"||u&&u.indexOf(d)!==-1)}function g(d){a&&a(d)}var v=function(){for(;c.length!==0;)h();return f||Promise.resolve()};return{update:p,flush:v}}function oW(e){return JSON.stringify(e)}function aW(e){var u=e.transforms||[],t="".concat(e.keyPrefix!==void 0?e.keyPrefix:_B).concat(e.key),r=e.storage;e.debug;var n;return e.deserialize===!1?n=function(E){return E}:typeof e.deserialize=="function"?n=e.deserialize:n=sW,r.getItem(t).then(function(i){if(i)try{var E={},o=n(i);return Object.keys(o).forEach(function(a){E[a]=u.reduceRight(function(s,A){return A.out(s,a,o)},n(o[a]))}),E}catch(a){throw a}else return})}function sW(e){return JSON.parse(e)}function AW(e){var u=e.storage,t="".concat(e.keyPrefix!==void 0?e.keyPrefix:_B).concat(e.key);return u.removeItem(t,cW)}function cW(e){}function E9(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function cn(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};
40u%2?E9(t,!0).forEach(function(r){lW(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E9(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function lW(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function fW(e,u){if(e==null)return{};var t=dW(e,u),r,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(u.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function dW(e,u){if(e==null)return{};var t={},r=Object.keys(e),n,i;for(i=0;i<r.length;i++)n=r[i],!(u.indexOf(n)>=0)&&(t[n]=e[n]);return t}var pW=5e3;function gVe(e,u){var t=e.version!==void 0?e.version:GT;e.debug;var r=e.stateReconciler===void 0?iW:e.stateReconciler,n=e.getStoredState||aW,i=e.timeout!==void 0?e.timeout:pW,E=null,o=!1,a=!0,s=function(c){return c._persist.rehydrated&&E&&!a&&E.update(c),c};return function(A,c){var l=A||{},f=l._persist,p=fW(l,["_persist"]),h=p;if(c.type===WT){var w=!1,m=function(S,F){w||(c.rehydrate(e.key,S,F),w=!0)};if(i&&setTimeout(function(){!w&&m(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},i),a=!1,E||(E=EW(e)),f)return cn({},u(h,c),{_persist:f});if(typeof c.rehydrate!="function"||typeof c.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return c.register(e.key),n(e).then(function(C){var S=e.migrate||function(F,I){return Promise.resolve(F)};S(C,t).then(function(F){m(F)},function(F){m(void 0,F)})},function(C){m(void 0,C)}),cn({},u(h,c),{_persist:{version:t,rehydrated:!1}})}else{if(c.type===VT)return o=!0,c.result(AW(e)),cn({},u(h,c),{_persist:f});if(c.type===jT)return c.result(E&&E.flush()),cn({},u(h,c),{_persist:f});if(c.type===KT)a=!0;else if(c.type===IB){if(o)return cn({},h,{_persist:cn({},f,{rehydrated:!0})});if(c.key===e.key){var g=u(h,c),v=c.payload,d=r!==!1&&v!==void 0?r(v,A,g,e):g,y=cn({},d,{_persist:cn({},f,{rehydrated:!0})});return s(y)}}}if(!f)return u(A,c);var b=u(h,c);return b===h?A:s(cn({},b,{_persist:f}))}}function o9(e){return gW(e)||mW(e)||hW()}function hW(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function mW(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function gW(e){if(Array.isArray(e)){for(var u=0,t=new Array(e.length);u<e.length;u++)t[u]=e[u];return t}}function a9(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function zm(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?a9(t,!0).forEach(function(r){yW(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a9(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function yW(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var YT={registry:[],bootstrapped:!1},vW=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:YT,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case zT:return zm({},u,{registry:[].concat(o9(u.registry),[t.key])});case IB:var r=u.registry.indexOf(t.key),n=o9(u.registry);return n.splice(r,1),zm({},u,{registry:n,bootstrapped:n.length===0});default:return u}};function yVe(e,u,t){var r=BB(vW,YT,void 0),n=function(a){r.dispatch({type:zT,key:a})},i=function(a,s,A){var c={type:IB,payload:s,err:A,key:a};e.dispatch(c),r.dispatch(c)},E=zm({},r,{purge:function(){var a=[];return e.dispatch({type:VT,result:function(A){a.push(A)}}),Promise.all(a)},flush:function(){var a=[];return e.dispatch({type:jT,result:function(A){a.push(A)}}),Promise.all(a)},pause:function(){e.dispatch({type:KT})},persist:function(){e.dispatch({type:WT,register:n,rehydrate:i})}});return E.persist(),E}function vVe(e,u){var t={};return t.debug,function(r,n){if(!r)return Promise.resolve(void 0);var i=r._persist&&r._persist.version!==void 0?r._persist.version:GT;if(i===n||i>n)return Promise.resolve(r);var E=Object.keys(e).map(function(a){return parseInt(a)}).filter(function(a){return n>=a&&a>i}).sort(function(a,s){return a-s});try{var o=E.reduce(function(a,s){return e[s](a)},r);return Promise.resolve(o)}catch(a){return Promise.reject(a)}}}function BVe(e,u){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.whitelist||null,n=t.blacklist||null;function i(E){return!!(r&&r.indexOf(E)===-1||n&&n.indexOf(E)!==-1)}return{in:function(o,a,s){return!i(a)&&e?e(o,a,s):o},out:function(o,a,s){return!i(a)&&u?u(o,a,s):o}}}var TB={},PB={};PB.__esModule=!0;PB.default=bW;function Gf(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gf=function(t){return typeof t}:Gf=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gf(e)}function J4(){}var BW={getItem:J4,setItem:J4,removeItem:J4};function wW(e){if((typeof self>"u"?"undefined":Gf(self))!=="object"||!(e in self))return!1;try{var u=self[e],t="redux-persist ".concat(e," test");u.setItem(t,"test"),u.getItem(t),u.removeItem(t)}catch{return!1}return!0}function bW(e){var u="".concat(e,"Storage");return wW(u)?self[u]:BW}TB.__esModule=!0;TB.default=DW;var xW=CW(PB);
40function CW(e){return e&&e.__esModule?e:{default:e}}function DW(e){var u=(0,xW.default)(e);return{getItem:function(r){return new Promise(function(n,i){n(u.getItem(r))})},setItem:function(r,n){return new Promise(function(i,E){i(u.setItem(r,n))})},removeItem:function(r){return new Promise(function(n,i){n(u.removeItem(r))})}}}var SW=void 0,FW=_W(TB);function _W(e){return e&&e.__esModule?e:{default:e}}var IW=(0,FW.default)("local");SW=IW;var Gm={exports:{}};(function(e,u){(function(t,r){r(u)})(Lt,function(t){function r(k,z){k.super_=z,k.prototype=Object.create(z.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}})}function n(k,z){Object.defineProperty(this,"kind",{value:k,enumerable:!0}),z&&z.length&&Object.defineProperty(this,"path",{value:z,enumerable:!0})}function i(k,z,W){i.super_.call(this,"E",k),Object.defineProperty(this,"lhs",{value:z,enumerable:!0}),Object.defineProperty(this,"rhs",{value:W,enumerable:!0})}function E(k,z){E.super_.call(this,"N",k),Object.defineProperty(this,"rhs",{value:z,enumerable:!0})}function o(k,z){o.super_.call(this,"D",k),Object.defineProperty(this,"lhs",{value:z,enumerable:!0})}function a(k,z,W){a.super_.call(this,"A",k),Object.defineProperty(this,"index",{value:z,enumerable:!0}),Object.defineProperty(this,"item",{value:W,enumerable:!0})}function s(k,z,W){var Ee=k.slice(z+1||k.length);return k.length=z<0?k.length+z:z,k.push.apply(k,Ee),k}function A(k){var z=typeof k>"u"?"undefined":L(k);return z!=="object"?z:k===Math?"math":k===null?"null":Array.isArray(k)?"array":Object.prototype.toString.call(k)==="[object Date]"?"date":typeof k.toString=="function"&&/^\/.*\//.test(k.toString())?"regexp":"object"}function c(k,z,W,Ee,ce,pe,le){ce=ce||[],le=le||[];var fe=ce.slice(0);if(typeof pe<"u"){if(Ee){if(typeof Ee=="function"&&Ee(fe,pe))return;if((typeof Ee>"u"?"undefined":L(Ee))==="object"){if(Ee.prefilter&&Ee.prefilter(fe,pe))return;if(Ee.normalize){var Ve=Ee.normalize(fe,pe,k,z);Ve&&(k=Ve[0],z=Ve[1])}}}fe.push(pe)}A(k)==="regexp"&&A(z)==="regexp"&&(k=k.toString(),z=z.toString());var Xe=typeof k>"u"?"undefined":L(k),ze=typeof z>"u"?"undefined":L(z),Qe=Xe!=="undefined"||le&&le[le.length-1].lhs&&le[le.length-1].lhs.hasOwnProperty(pe),Le=ze!=="undefined"||le&&le[le.length-1].rhs&&le[le.length-1].rhs.hasOwnProperty(pe);if(!Qe&&Le)W(new E(fe,z));else if(!Le&&Qe)W(new o(fe,k));else if(A(k)!==A(z))W(new i(fe,k,z));else if(A(k)==="date"&&k-z!==0)W(new i(fe,k,z));else if(Xe==="object"&&k!==null&&z!==null)if(le.filter(function(x){return x.lhs===k}).length)k!==z&&W(new i(fe,k,z));else{if(le.push({lhs:k,rhs:z}),Array.isArray(k)){var De;for(k.length,De=0;De<k.length;De++)De>=z.length?W(new a(fe,De,new o(void 0,k[De]))):c(k[De],z[De],W,Ee,fe,De,le);for(;De<z.length;)W(new a(fe,De,new E(void 0,z[De++])))}else{var Me=Object.keys(k),_=Object.keys(z);Me.forEach(function(x,D){var O=_.indexOf(x);O>=0?(c(k[x],z[x],W,Ee,fe,x,le),_=s(_,O)):c(k[x],void 0,W,Ee,fe,x,le)}),_.forEach(function(x){c(void 0,z[x],W,Ee,fe,x,le)})}le.length=le.length-1}else k!==z&&(Xe==="number"&&isNaN(k)&&isNaN(z)||W(new i(fe,k,z)))}function l(k,z,W,Ee){return Ee=Ee||[],c(k,z,function(ce){ce&&Ee.push(ce)},W),Ee.length?Ee:void 0}function f(k,z,W){if(W.path&&W.path.length){var Ee,ce=k[z],pe=W.path.length-1;for(Ee=0;Ee<pe;Ee++)ce=ce[W.path[Ee]];switch(W.kind){case"A":f(ce[W.path[Ee]],W.index,W.item);break;case"D":delete ce[W.path[Ee]];break;case"E":case"N":ce[W.path[Ee]]=W.rhs}}else switch(W.kind){case"A":f(k[z],W.index,W.item);break;case"D":k=s(k,z);break;case"E":case"N":k[z]=W.rhs}return k}function p(k,z,W){if(k&&z&&W&&W.kind){for(var Ee=k,ce=-1,pe=W.path?W.path.length-1:0;++ce<pe;)typeof Ee[W.path[ce]]>"u"&&(Ee[W.path[ce]]=typeof W.path[ce]=="number"?[]:{}),Ee=Ee[W.path[ce]];switch(W.kind){case"A":f(W.path?Ee[W.path[ce]]:Ee,W.index,W.item);break;case"D":delete Ee[W.path[ce]];break;case"E":case"N":Ee[W.path[ce]]=W.rhs}}}function h(k,z,W){if(W.path&&W.path.length){var Ee,ce=k[z],pe=W.path.length-1;for(Ee=0;Ee<pe;Ee++)ce=ce[W.path[Ee]];switch(W.kind){case"A":h(ce[W.path[Ee]],W.index,W.item);break;case"D":ce[W.path[Ee]]=W.lhs;break;case"E":ce[W.path[Ee]]=W.lhs;break;case"N":delete ce[W.path[Ee]]}}else switch(W.kind){case"A":h(k[z],W.index,W.item);break;case"D":k[z]=W.lhs;break;case"E":k[z]=W.lhs;break;case"N":k=s(k,z)}return k}function w(k,z,W){if(k&&z&&W&&W.kind){var Ee,ce,pe=k;for(ce=W.path.length-1,Ee=0;Ee<ce;Ee++)typeof pe[W.path[Ee]]>"u"&&(pe[W.path[Ee]]={}),pe=pe[W.path[Ee]];switch(W.kind){case"A":h(pe[W.path[Ee]],W.index,W.item);break;case"D":pe[W.path[Ee]]=W.lhs;break;case"E":pe[W.path[Ee]]=W.lhs;break;case"N":delete pe[W.path[Ee]]}}}function m(k,z,W){if(k&&z){var Ee=function(ce){W&&!W(k,z,ce)||p(k,z,ce)};c(k,z,Ee)}}
40function g(k){return"color: "+N[k].color+"; font-weight: bold"}function v(k){var z=k.kind,W=k.path,Ee=k.lhs,ce=k.rhs,pe=k.index,le=k.item;switch(z){case"E":return[W.join("."),Ee,"→",ce];case"N":return[W.join("."),ce];case"D":return[W.join(".")];case"A":return[W.join(".")+"["+pe+"]",le];default:return[]}}function d(k,z,W,Ee){var ce=l(k,z);try{Ee?W.groupCollapsed("diff"):W.group("diff")}catch{W.log("diff")}ce?ce.forEach(function(pe){var le=pe.kind,fe=v(pe);W.log.apply(W,["%c "+N[le].text,g(le)].concat(j(fe)))}):W.log("—— no diff ——");try{W.groupEnd()}catch{W.log("—— diff end —— ")}}function y(k,z,W,Ee){switch(typeof k>"u"?"undefined":L(k)){case"object":return typeof k[Ee]=="function"?k[Ee].apply(k,j(W)):k[Ee];case"function":return k(z);default:return k}}function b(k){var z=k.timestamp,W=k.duration;return function(Ee,ce,pe){var le=["action"];return le.push("%c"+String(Ee.type)),z&&le.push("%c@ "+ce),W&&le.push("%c(in "+pe.toFixed(2)+" ms)"),le.join(" ")}}function C(k,z){var W=z.logger,Ee=z.actionTransformer,ce=z.titleFormatter,pe=ce===void 0?b(z):ce,le=z.collapsed,fe=z.colors,Ve=z.level,Xe=z.diff,ze=typeof z.titleFormatter>"u";k.forEach(function(Qe,Le){var De=Qe.started,Me=Qe.startedTime,_=Qe.action,x=Qe.prevState,D=Qe.error,O=Qe.took,V=Qe.nextState,oe=k[Le+1];oe&&(V=oe.prevState,O=oe.started-De);var ie=Ee(_),be=typeof le=="function"?le(function(){return V},_,Qe):le,Re=J(Me),Ne=fe.title?"color: "+fe.title(ie)+";":"",Ru=["color: gray; font-weight: lighter;"];Ru.push(Ne),z.timestamp&&Ru.push("color: gray; font-weight: lighter;"),z.duration&&Ru.push("color: gray; font-weight: lighter;");var ou=pe(ie,Re,O);try{be?fe.title&&ze?W.groupCollapsed.apply(W,["%c "+ou].concat(Ru)):W.groupCollapsed(ou):fe.title&&ze?W.group.apply(W,["%c "+ou].concat(Ru)):W.group(ou)}catch{W.log(ou)}var Un=y(Ve,ie,[x],"prevState"),io=y(Ve,ie,[ie],"action"),Eo=y(Ve,ie,[D,x],"error"),y4=y(Ve,ie,[V],"nextState");if(Un)if(fe.prevState){var $$="color: "+fe.prevState(x)+"; font-weight: bold";W[Un]("%c prev state",$$,x)}else W[Un]("prev state",x);if(io)if(fe.action){var H$="color: "+fe.action(ie)+"; font-weight: bold";W[io]("%c action    ",H$,ie)}else W[io]("action    ",ie);if(D&&Eo)if(fe.error){var j$="color: "+fe.error(D,x)+"; font-weight: bold;";W[Eo]("%c error     ",j$,D)}else W[Eo]("error     ",D);if(y4)if(fe.nextState){var K$="color: "+fe.nextState(V)+"; font-weight: bold";W[y4]("%c next state",K$,V)}else W[y4]("next state",V);Xe&&d(x,V,W,be);try{W.groupEnd()}catch{W.log("—— log end ——")}})}function S(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=Object.assign({},Z,k),W=z.logger,Ee=z.stateTransformer,ce=z.errorTransformer,pe=z.predicate,le=z.logErrors,fe=z.diffPredicate;if(typeof W>"u")return function(){return function(Xe){return function(ze){return Xe(ze)}}};if(k.getState&&k.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
41// Logger with default options
42import { logger } from 'redux-logger'
43const store = createStore(
44  reducer,
45  applyMiddleware(logger)
46)
47// Or you can create your own logger with custom options http://bit.ly/redux-logger-options
48import createLogger from 'redux-logger'
49const logger = createLogger({
50  // ...options
51});
52const store = createStore(
53  reducer,
54  applyMiddleware(logger)
55)
56`),function(){return function(Xe){return function(ze){return Xe(ze)}}};var Ve=[];return function(Xe){var ze=Xe.getState;return function(Qe){return function(Le){if(typeof pe=="function"&&!pe(ze,Le))return Qe(Le);var De={};Ve.push(De),De.started=ee.now(),De.startedTime=new Date,De.prevState=Ee(ze()),De.action=Le;var Me=void 0;if(le)try{Me=Qe(Le)}catch(x){De.error=ce(x)}else Me=Qe(Le);De.took=ee.now()-De.started,De.nextState=Ee(ze());var _=z.diff&&typeof fe=="function"?fe(ze,Le):z.diff;if(C(Ve,Object.assign({},z,{diff:_})),Ve.length=0,De.error)throw De.error;return Me}}}}var F,I,R=function(k,z){return new Array(z+1).join(k)},X=function(k,z){return R("0",z-k.toString().length)+k},J=function(k){return X(k.getHours(),2)+":"+X(k.getMinutes(),2)+":"+X(k.getSeconds(),2)+"."+X(k.getMilliseconds(),3)},ee=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance:Date,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},j=function(k){if(Array.isArray(k)){for(var z=0,W=Array(k.length);z<k.length;z++)W[z]=k[z];return W}return Array.from(k)},ue=[];F=(typeof Lt>"u"?"undefined":L(Lt))==="object"&&Lt?Lt:typeof window<"u"?window:{},I=F.DeepDiff,I&&ue.push(function(){typeof I<"u"&&F.DeepDiff===l&&(F.DeepDiff=I,I=void 0)}),r(i,n),r(E,n),r(o,n),r(a,n),Object.defineProperties(l,{diff:{value:l,enumerable:!0},observableDiff:{value:c,enumerable:!0},applyDiff:{value:m,enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:w,enumerable:!0},isConflict:{value:function(){return typeof I<"u"},enumerable:!0},noConflict:{value:function(){return ue&&(ue.forEach(function(k){k()}),ue=null),l},enumerable:!0}});var N={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},Z={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(k){return k},actionTransformer:function(k){return k},errorTransformer:function(k){return k},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},q=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z=k.dispatch,W=k.getState;return typeof z=="function"||typeof W=="function"?S()({dispatch:z,getState:W}):void console.error(`
57[redux-logger v3] BREAKING CHANGE
58[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.
59[redux-logger v3] Change
60[redux-logger v3] import createLogger from 'redux-logger'
61[redux-logger v3] to
62[redux-logger v3] import { createLogger } from 'redux-logger'
63`)};t.defaults=Z,t.createLogger=S,t.logger=q,t.default=q,Object.defineProperty(t,"__esMo
63dule",{value:!0})})})(Gm,Gm.exports);var TW=Gm.exports;const wVe=Iu(TW),PW=(e,u)=>u.some(t=>e instanceof t);let s9,A9;function OW(){return s9||(s9=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function kW(){return A9||(A9=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const XT=new WeakMap,Ym=new WeakMap,ZT=new WeakMap,eh=new WeakMap,OB=new WeakMap;function UW(e){const u=new Promise((t,r)=>{const n=()=>{e.removeEventListener("success",i),e.removeEventListener("error",E)},i=()=>{t(pi(e.result)),n()},E=()=>{r(e.error),n()};e.addEventListener("success",i),e.addEventListener("error",E)});return u.then(t=>{t instanceof IDBCursor&&XT.set(t,e)}).catch(()=>{}),OB.set(u,e),u}function QW(e){if(Ym.has(e))return;const u=new Promise((t,r)=>{const n=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",E),e.removeEventListener("abort",E)},i=()=>{t(),n()},E=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",i),e.addEventListener("error",E),e.addEventListener("abort",E)});Ym.set(e,u)}let Xm={get(e,u,t){if(e instanceof IDBTransaction){if(u==="done")return Ym.get(e);if(u==="objectStoreNames")return e.objectStoreNames||ZT.get(e);if(u==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return pi(e[u])},set(e,u,t){return e[u]=t,!0},has(e,u){return e instanceof IDBTransaction&&(u==="done"||u==="store")?!0:u in e}};function LW(e){Xm=e(Xm)}function MW(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(u,...t){const r=e.call(uh(this),u,...t);return ZT.set(r,u.sort?u.sort():[u]),pi(r)}:kW().includes(e)?function(...u){return e.apply(uh(this),u),pi(XT.get(this))}:function(...u){return pi(e.apply(uh(this),u))}}function RW(e){return typeof e=="function"?MW(e):(e instanceof IDBTransaction&&QW(e),PW(e,OW())?new Proxy(e,Xm):e)}function pi(e){if(e instanceof IDBRequest)return UW(e);if(eh.has(e))return eh.get(e);const u=RW(e);return u!==e&&(eh.set(e,u),OB.set(u,e)),u}const uh=e=>OB.get(e);function bVe(e,u,{blocked:t,upgrade:r,blocking:n,terminated:i}={}){const E=indexedDB.open(e,u),o=pi(E);return r&&E.addEventListener("upgradeneeded",a=>{r(pi(E.result),a.oldVersion,a.newVersion,pi(E.transaction),a)}),t&&E.addEventListener("blocked",a=>t(a.oldVersion,a.newVersion,a)),o.then(a=>{i&&a.addEventListener("close",()=>i()),n&&a.addEventListener("versionchange",s=>n(s.oldVersion,s.newVersion,s))}).catch(()=>{}),o}const NW=["get","getKey","getAll","getAllKeys","count"],$W=["put","add","delete","clear"],th=new Map;function c9(e,u){if(!(e instanceof IDBDatabase&&!(u in e)&&typeof u=="string"))return;if(th.get(u))return th.get(u);const t=u.replace(/FromIndex$/,""),r=u!==t,n=$W.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(n||NW.includes(t)))return;const i=async function(E,...o){const a=this.transaction(E,n?"readwrite":"readonly");let s=a.store;return r&&(s=s.index(o.shift())),(await Promise.all([s[t](...o),n&&a.done]))[0]};return th.set(u,i),i}LW(e=>({...e,get:(u,t,r)=>c9(u,t)||e.get(u,t,r),has:(u,t)=>!!c9(u,t)||e.has(u,t)}));var Zm=function(e,u){return Zm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Zm(e,u)};function Pe(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");Zm(e,u);function t(){this.constructor=e}e.prototype=u===null?Object.create(u):(t.prototype=u.prototype,new t)}var hu=function(){return hu=Object.assign||function(u){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(u[i]=t[i])}return u},hu.apply(this,arguments)};function xVe(e,u){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&u.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)u.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(t[r[n]]=e[r[n]]);return t}function ae(e,u,t,r){function n(i){return i instanceof t?i:new t(function(E){E(i)})}return new(t||(t=Promise))(function(i,E){function o(A){try{s(r.next(A))}catch(c){E(c)}}function a(A){try{s(r.throw(A))}catch(c){E(c)}}function s(A){A.done?i(A.value):n(A.value).then(o,a)}s((r=r.apply(e,u||[])).next())})}function se(e,u){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,E=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return E.next=o(0),E.throw=o(1),E.return=o(2),typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function o(s){return function(A){return a([s,A])}}function a(s){if(r)throw new TypeError("Generator is already executing.");for(;E&&(E=0,s[0]&&(t=0)),t;)try{if(r=1,n&&(i=s[0]&2?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,n=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1],i=s;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(s);break}i[2]&&t.ops.pop(),t.trys.pop();continue}s=u.call(e,t)}catch(A){s=[6,A],n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function Ic(e){var u=typeof Symbol=="function"&&Symbol.iterator,t=u&&e[u],r=0;if(t)return t.call(e);
63if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")}function $e(e,u){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var r=t.call(e),n,i=[],E;try{for(;(u===void 0||u-- >0)&&!(n=r.next()).done;)i.push(n.value)}catch(o){E={error:o}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(E)throw E.error}}return i}function Uu(e,u,t){if(t||arguments.length===2)for(var r=0,n=u.length,i;r<n;r++)(i||!(r in u))&&(i||(i=Array.prototype.slice.call(u,0,r)),i[r]=u[r]);return e.concat(i||Array.prototype.slice.call(u))}function HW(e,u){return Object.defineProperty?Object.defineProperty(e,"raw",{value:u}):e.raw=u,e}let xl;const jW=new Uint8Array(16);function KW(){if(!xl&&(xl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xl(jW)}const Bt=[];for(let e=0;e<256;++e)Bt.push((e+256).toString(16).slice(1));function WW(e,u=0){return Bt[e[u+0]]+Bt[e[u+1]]+Bt[e[u+2]]+Bt[e[u+3]]+"-"+Bt[e[u+4]]+Bt[e[u+5]]+"-"+Bt[e[u+6]]+Bt[e[u+7]]+"-"+Bt[e[u+8]]+Bt[e[u+9]]+"-"+Bt[e[u+10]]+Bt[e[u+11]]+Bt[e[u+12]]+Bt[e[u+13]]+Bt[e[u+14]]+Bt[e[u+15]]}const VW=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),l9={randomUUID:VW};function CVe(e,u,t){if(l9.randomUUID&&!e)return l9.randomUUID();e=e||{};const r=e.random||(e.rng||KW)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,WW(r)}function Sa(e,u){if(typeof u!="string"||u.trim()==="")throw new TypeError("timeInTz: tz (ชื่อ IANA เช่น 'Asia/Bangkok') เป็น required — ไม่มี default (กันลืมส่งแล้วเงียบๆ เป็นไทย)");const t=e instanceof Date?e:new Date(e),r=t.getTime();if(Number.isNaN(r))throw new TypeError("timeInTz: input ไม่ใช่วันเวลาที่แปลงได้: "+String(e));const n=new Intl.DateTimeFormat("en-US",{timeZone:u,hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),i={};for(const o of n.formatToParts(t))i[o.type]=o.value;const E=new Date(0);return E.setUTCFullYear(Number(i.year),Number(i.month)-1,Number(i.day)),E.setUTCHours(Number(i.hour),Number(i.minute),Number(i.second),t.getUTCMilliseconds()),E}function zW(e,u){const t=Sa(e,u),r=String(t.getUTCFullYear()).padStart(4,"0")+String(t.getUTCMonth()+1).padStart(2,"0")+String(t.getUTCDate()).padStart(2,"0");return Number(r)}const xA="Asia/Bangkok";function qT(e){if(typeof e!="string")return xA;const u=e.trim();if(u==="")return xA;try{new Intl.DateTimeFormat("en-US",{timeZone:u})}catch{return xA}return u}function kB(e,u){if(typeof u!="string"||u.trim()===""){const n=new Date(e);return{year:n.getFullYear(),month:n.getMonth(),date:n.getDate(),hours:n.getHours(),minutes:n.getMinutes(),seconds:n.getSeconds(),ms:n.getMilliseconds(),weekday:n.getDay()}}const t=new Date(e).getTime();if(Number.isNaN(t))return Sa(0,u),{year:NaN,month:NaN,date:NaN,hours:NaN,minutes:NaN,seconds:NaN,ms:NaN,weekday:NaN};const r=Sa(t,u);return{year:r.getUTCFullYear(),month:r.getUTCMonth(),date:r.getUTCDate(),hours:r.getUTCHours(),minutes:r.getUTCMinutes(),seconds:r.getUTCSeconds(),ms:r.getUTCMilliseconds(),weekday:r.getUTCDay()}}function UB(e,u){const t=e||{},r=h=>h===void 0?0:Number(h),[n,i,E,o,a,s,A]=[r(t.year),r(t.month),r(t.date),r(t.hours),r(t.minutes),r(t.seconds),r(t.ms)];if(typeof u!="string"||u.trim()===""){const h=new Date(0);return h.setFullYear(n,i,E),h.setHours(o,a,s,A),h}const c=new Date(0);c.setUTCFullYear(n,i,E),c.setUTCHours(o,a,s,A);const l=c.getTime();if(Number.isNaN(l))return Sa(0,u),new Date(NaN);const f=h=>Sa(h,u).getTime()-h;let p=l-f(l);return p=l-f(p),new Date(p)}function GW(e,u){const t=kB(e,u);return UB({year:t.year,month:t.month,date:t.date,hours:t.hours,minutes:t.minutes,seconds:t.seconds,ms:t.ms})}function YW(e,u){const t=kB(e);return UB({year:t.year,month:t.month,date:t.date,hours:t.hours,minutes:t.minutes,seconds:t.seconds,ms:t.ms},u)}const qm=["Asia/Bangkok","Asia/Vientiane","Asia/Phnom_Penh","Asia/Yangon","Asia/Ho_Chi_Minh","Asia/Kuala_Lumpur","Asia/Singapore","Asia/Jakarta","Asia/Manila","Asia/Hong_Kong","Asia/Shanghai","Asia/Taipei","Asia/Seoul","Asia/Tokyo","Asia/Kolkata","Asia/Dubai","Australia/Sydney","Europe/London","America/Ne
63w_York","America/Los_Angeles","UTC"],XW=/^[A-Za-z][A-Za-z0-9_+-]*(?:\/[A-Za-z0-9_+-]+)+$/;function QB(e){if(typeof e!="string")return!1;const u=e.trim();return!XW.test(u)||u.startsWith("Etc/")?!1:qT(u)===u}function ZW(e,u={}){let t;try{const r=typeof Intl.supportedValuesOf=="function"?Intl.supportedValuesOf("timeZone"):null;t=Array.isArray(r)&&r.length?r:qm}catch{t=qm}return u&&u.selectableOnly&&(t=t.filter(QB)),t.includes(e)?t:[e,...t]}function qW(e){return QB(e)?e.trim():xA}var Ri={ymdInTz:zW,timeInTz:Sa,resolveShopTz:qT,DEFAULT_SHOP_TZ:xA,wallParts:kB,wallInstant:UB,toPickerDate:GW,fromPickerDate:YW,FALLBACK_TIMEZONES:qm,isSelectableTz:QB,timezoneOptions:ZW,detectBrowserTz:qW};const{wallParts:un,wallInstant:Ja,ymdInTz:rh}=Ri;function Jm(e,u){const t=un(e,u),r=t.year.toString().padStart(4,"0")+(t.month+1).toString().padStart(2,"0")+t.date.toString().padStart(2,"0");return Number(r)}function JW(e,u){if(typeof u!="number"){const i=new Date(e);return i.setFullYear(i.getFullYear()-u),i}const t=new Date(e),r=Math.trunc(u),n=u-r?Math.round((u-r)*365.25):0;return t.setFullYear(t.getFullYear()-r),n&&t.setDate(t.getDate()-n),t}function eV(e,u){const t=new Date(e);return t.setMonth(t.getMonth()+u),t}function Vr(e,u,t){if(typeof t!="string"||t.trim()===""){const n=new Date(e);return n.setDate(n.getDate()+u),n}const r=un(e,t);return r.date=r.date+u,Ja(r,t)}function uV(e,u){const t=new Date(e);return t.setMinutes(t.getMinutes()+u),t}function LB(e,u,t){if(typeof t!="string"||t.trim()===""){const n=new Date(e);return n.setDate(n.getDate()-u),n}const r=un(e,t);return r.date=r.date-u,Ja(r,t)}function JT(e){return e?typeof e.toDate=="function"?e.toDate():typeof e._seconds=="number"?new Date(e._seconds*1e3):typeof e.seconds=="number"?new Date(e.seconds*1e3):new Date(e):new Date(NaN)}function eP(e){let u;return e instanceof Date?e:(e&&typeof e=="object"&&"seconds"in e&&"nanoseconds"in e?u=new Date(e.seconds*1e3+e.nanoseconds/1e6):e&&typeof e=="object"&&"_seconds"in e&&"_nanoseconds"in e?u=new Date(e._seconds*1e3+e._nanoseconds/1e6):u=new Date(e),new Date(u))}function tV(e){var u="วันอาทิตย์";return e.getDay(e)==1?u="วันจันทร์":e.getDay(e)==2?u="วันอังคาร":e.getDay(e)==3?u="วันพุธ":e.getDay(e)==4?u="วันพฤหัส":e.getDay(e)==5?u="วันศุกร์":e.getDay(e)==6?u="วันเสาร์":u="วันอาทิตย์",u}function rV(e){const u=new Date(new Date(e).getTime()+252e5),t=String(u.getUTCFullYear()).padStart(4,"0")+String(u.getUTCMonth()+1).padStart(2,"0")+String(u.getUTCDate()).padStart(2,"0");return Number(t)}function nV(e){if(e==null||e==="")return null;const u=JT(e).getTime();return Number.isNaN(u)?null:u}function uP(e,u){if(typeof u!="string"||u.trim()===""){const r=new Date(e);return r.setHours(0,0,0,0),r}const t=un(e,u);return Ja({year:t.year,month:t.month,date:t.date,hours:0,minutes:0,seconds:0,ms:0},u)}function iV(e,u){if(typeof u!="string"||u.trim()===""){var t=new Date(e);return t.setHours(23),t.setMinutes(59),t.setSeconds(59),t.setMilliseconds(999),t}const r=un(e,u);return Ja({year:r.year,month:r.month,date:r.date,hours:23,minutes:59,seconds:59,ms:999},u)}function MB(e,u,t){if(typeof t!="string"||t.trim()===""){let i=new Date(u),E=new Date(e);return i.setHours(E.getHours()),i.setMinutes(E.getMinutes()),i}const r=un(u,t),n=un(e,t);return Ja({year:r.year,month:r.month,date:r.date,hours:n.hours,minutes:n.minutes,seconds:r.seconds,ms:r.ms},t)}function EV(e,u,t){return MB(u,e,t)}function oV(e,u,t){return MB(u,Vr(e,1,t),t)}function eg(e){return Ja({year:2e3,month:0,date:1,hours:0,minutes:0,seconds:0,ms:0},e)}function aV(e,u){if(e==null||e==="")return eg(u);const t=eP(e);return Number.isNaN(t.getTime())?eg(u):t}const sV=400;function AV(e,u,t){if(Number.isNaN(new Date(e).getTime())||Number.isNaN(new Date(u).getTime()))return[];const r=rh(u,t),n=[];let i=uP(e,t),E=rh(i,t);for(;E<=r&&n.length<sV;)n.push(String(E)),i=Vr(i,1,t),E=rh(i,t);return n}function cV(e,u){return(e-u)/(1e3*60*60*24)}function lV(e,u){var t=new Date(e),r=new Date(u),n=r.getTime()-t.getTime(),i=Math.floor(n/(1e3*60));return i}function fV(e,u){var t=new Date(e);return t.setSeconds(t.getSeconds()+u),t}function dV(e,u){const t=[],r=new Date(e);r.setHours(0,0,0,0);const n=new Date(u);for(n.setHours(0,0,0,0);r<=n;)t.push(new Date(r)),r.setDate(r.getDate()+1);return t}function pV(e=new Date){return new Date(e.getFullYear(),e.getMonth(),1)}function hV(e=new Date){return new Date(e.getFullYear(),e.getMonth()+1,0)}function mV(e,u){const r=(e-u)/(1e3*60*60);return(Math.floor(r)+Math.floor(r%1*60)/100).toFixed(2)}function gV(e,u){var t=new Date(e);return t.setMonth(t.getMonth()-u),t}function yV(e,u){if(typeof u!="number"){var t=new Date(e);return t.setFullYear(t.getFullYear()+u),t}var r=new Date(e),n=Math.trunc(u),i=u-n?Math.round((u-n)*365.25):0;return r.setFullYear(r.getFullYear()+n),i&&r.setDate(r.getDate()+i),r}function vV(e,u){const t=new Date(e),n=new Date(u)-t;return Math.floor(n/(1e3*60*60*24))}function BV(e){const u=e.getFullYear();return new Date(u,11,31)}function wV(e){let u=Math.floor(e),t=[];for(let r=0;r<=23;r++){let n=u+r;n>23?t.push(String(n-24)):t.push(String(n))}return t}const bV={0:"00:00 ",1:"01:00 ",2:"02:00 ",3:"03:00 ",4:"04:00 ",5:"05:00 ",6:"06:00 ",7:"07:00 ",8:"08:00 ",9:"09:00 ",10:"10:00 ",11:"11:00 ",12:"12:00 ",13:"13:00 ",14:"14:00 ",15:"15:00 ",16:"16:00 ",17:"17:00 ",18:"18:00 ",19:"19:00 ",20:"20:00 ",21:"21:00 ",22:"22:00 ",23:"23:00 "};function xV(e,u){return bV[e]+u}function tP(e,u,t){const r=new Date(e),n=new Date(u),i=typeof t=="string"&&t.trim()!=="",E=f=>un(f,t).month,o=f=>un(f,t).year,a=f=>i?Vr(f,1,t):new Date(f.getTime()+864e5),s=[];let A=[],c=new Date(r),l=new Date(c);if(E(r)===E(n)&&o(r)===o(n)){for(;c<=n;)A.push(c.toString()),c=Vr(c,1,t);return s.push({startDate:l.toString(),endDate:n.toString(),currentMonth:[...A]}),s}for(c=new Date(r);c<=n;)A.push(c.toString()),E(c)!==E(a(c))||c.getTime()===n.getTime()?(s.push({startDate:l.toString(),endDate:c.toString(),currentMonth:[...A]}),A=[],c=Vr(c,1,t),l=new Date(c)):c=Vr(c,1,t);return A.length>0&&s.push({startDate:l.toString(),endDate:(i?LB(c,1,t):new Date(c.getTime()-864e5)).toString(),currentMonth:[...A]}),s}function rP(e,u,t){const r=new Date(e),n=new Date(u),i=typeof t=="string"&&t.trim()!=="",E=[];let o=[],a=new Date(r),s=new Date(a);for(;a<=n;)o.push(a.toString()),un(a,t).weekday===0||a.getTime()===n.getTime()?(E.push({startDate:s.toString(),endDate:a.toString(),currentWeek:[...o]}),o=[],a=Vr(a,1,t),s=new Date(a)):a=Vr(a,1,t);return o.length>0&&E.push({startDate:s.toString(),endDate:(i?LB(a,1,t):new Date(a.getTime()-864e5)).toString(),currentWeek:[...o]}),E}function CV({period:e,startDate:u,endDate:t,tz:r}){let n=[];switch(e){case"day":let i=[],E=u;do i.push(E),E=Vr(E,1,r);while(Jm(E,r)<=Jm(t,r));n=i.map(o=>({startDate:o,endDate:o}));break;case"week":n=rP(u,t,r);break;case"month":n=tP(u,t,r);break}return n}
63var tt={numberYMD:Jm,minusYears:JW,plusMonths:eV,plusDays:Vr,plusMinute:uV,minusDays:LB,toDate:JT,formatTime:eP,tsMillis:nV,getDayThai:tV,ymdBangkok:rV,setTimeStart:uP,setTimeEnd:iV,manageCutOff:MB,startCutoff:EV,endCutoff:oV,defaultCutOff:eg,normalizeCutOff:aV,shopDayKeys:AV,daysDifference:cV,timeDifferenceInMinutes:lV,plusSecond:fV,generateDateRange:dV,firstDayOfMonth:pV,lastDayOfMonth:hV,timeDifferenceDecimal:mV,getLastDayOfYear:BV,createLabel:wV,translateClock:xV,groupDatesByMonth:tP,groupDatesByWeek:rP,getPeriod:CV,daysBetween:vV,minusMonths:gV,plusYears:yV};const{plusDays:DV,numberYMD:f9}=tt,{wallParts:ir}=Ri,nP=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"];function SV(e,u=r=>r,t){const r=ir(e,t),n=u(`screens.month.${nP[r.month]}`),i=Number(r.year.toString().padStart(4,"0"));return r.date.toString().padStart(2,"0")+"  "+n+" "+i+"   "}function FV(e,u){const t=ir(e,u);return t.date.toString().padStart(2,"0")+"/"+(t.month+1).toString().padStart(2,"0")+"/"+t.year.toString().padStart(4,"0")+" "+t.hours.toString().padStart(2,"0")+":"+t.minutes.toString().padStart(2,"0")}function _V(e,u){const t=ir(e,u);return t.date.toString().padStart(2,"0")+"/"+parseInt(t.month+1).toString().padStart(2,"0")+"/"+t.year.toString().padStart(4,"0")}function IV(e,u){if(typeof u!="string"||u.trim()===""){const r=new Date(e),n=(r.getUTCHours()*60+r.getUTCMinutes()+7*60)%1440;return Math.floor(n/60).toString().padStart(2,"0")+":"+(n%60).toString().padStart(2,"0")}const t=ir(e,u);return t.hours.toString().padStart(2,"0")+":"+t.minutes.toString().padStart(2,"0")}function iP(e,u){const t=ir(e,u),r=t.year.toString().padStart(4,"0")+parseInt(t.month+1).toString().padStart(2,"0")+t.date.toString().padStart(2,"0");return String(r)}const d9=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."];function TV(e,u,t){const r=ir(e,t),n=r.month,i=u?u(`screens.month.${nP[n]}`):d9[n]!==void 0?d9[n]:"ธ.ค.",E=Number(r.year.toString().padStart(4,"0"))+543;return r.date.toString().padStart(2,"0")+" "+i+" "+E}function PV(e,u){const t=ir(e,u);return t.year.toString().padStart(4,"0")+parseInt(t.month+1).toString().padStart(2,"0")+t.date.toString().padStart(2,"0")+t.hours.toString().padStart(2,"0")+t.minutes.toString().padStart(2,"0")+t.seconds.toString().padStart(2,"0")}function OV(e,u,t){const r=ir(e,t);let n=parseInt(r.month+1).toString().padStart(2,"0");return{"01":"มกราคม","02":"กุมภาพันธ์","03":"มีนาคม","04":"เมษายน","05":"พฤษภาคม","06":"มิถุนายน","07":"กรกฎาคม","08":"สิงหาคม","09":"กันยายน",10:"ตุลาคม",11:"พฤศจิกายน",12:"ธันวาคม"}[n]}function kV(e,u){const t=ir(e,u);let r=10;parseInt(t.month+1).toString().padStart(2,"0")=="01"?r="ม.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="02"?r="ก.พ.":parseInt(t.month+1).toString().padStart(2,"0")=="03"?r="มี.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="04"?r="เม.ย.":parseInt(t.month+1).toString().padStart(2,"0")=="05"?r="พ.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="06"?r="มิ.ย.":parseInt(t.month+1).toString().padStart(2,"0")=="07"?r="ก.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="08"?r="ส.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="09"?r="ก.ย.":parseInt(t.month+1).toString().padStart(2,"0")=="10"?r="ต.ค.":parseInt(t.month+1).toString().padStart(2,"0")=="11"?r="พ.ย.":r="ธ.ค.";let n=Number(t.year.toString().padStart(4,"0"))+543;return t.date.toString().padStart(2,"0")+"  "+r+" "+n+"   "}function UV(e,u,t){let r=[],n=e;do r.push(iP(n,t)),n=DV(n,1,t);while(f9(n,t)<f9(u,t));return r}function QV(e,u){const r=ir(e,u).year.toString().padStart(4,"0");return String(r)}function LV(e,u=r=>r,t){const r=ir(e,t);let n=parseInt(r.month+1).toString().padStart(2,"0");switch(n){case"01":n=u("month.jan");break;case"02":n=u("month.feb");break;case"03":n=u("month.mar");break;case"04":n=u("month.apr");break;case"05":n=u("month.may");break;case"06":n=u("month.jun");break;case"07":n=u("month.jul");break;case"08":n=u("month.aug");break;
63case"09":n=u("month.sep");break;case"10":n=u("month.oct");break;case"11":n=u("month.nov");break;case"12":n=u("month.dec");break}let i=Number(r.year.toString().padStart(4,"0"));return r.date.toString().padStart(2,"0")+"  "+n+" "+i+"   "}function MV(e,u){const t=ir(e,u);return t.date.toString().padStart(2,"0")+"/"+parseInt(t.month+1).toString().padStart(2,"0")+"/"+t.year.toString().padStart(4,"0")+" "+t.hours.toString().padStart(2,"0")+":"+t.minutes.toString().padStart(2,"0")+":"+t.seconds.toString().padStart(2,"0")}var es={stringDateTime3:SV,stringDateTimeReceipt:FV,stringDateShort:_V,getHoursMinute:IV,stringYMDHMS3:iP,stringFullTime:TV,stringYMDHMS:PV,stringMonth:OV,stringFullDateBE:kV,getSelectedDates:UV,stringY:QV,stringFullDate:LV,stringDateTimeReceiptSec:MV};const{startCutoff:EP,endCutoff:RV,minusDays:NV}=tt,{stringYMDHMS:nh}=es,{wallParts:$V,wallInstant:HV}=Ri;function jV(e,u,t){const r=new Date(e),n=$V(r,t),i=HV({year:n.year,month:n.month,date:n.date,hours:0,minutes:0,seconds:0,ms:0},t),E=EP(i,new Date(u),t);return r>E?i:NV(i,1,t)}function KV(e=[],u,t,r,n){const i=nh(EP(new Date(u),new Date(r),n),n),E=nh(RV(new Date(t),new Date(r),n),n);return e.filter(o=>{const a=nh(o==null?void 0:o.timestamp,n);return a>i&&a<=E})}var WV={businessDayOf:jV,billsInBusinessDayRange:KV};const{tsMillis:VV}=tt,{wallParts:zV,ymdInTz:p9,resolveShopTz:GV}=Ri,Yf="Asia/Bangkok";function YV(e,u,t){if(t==null)throw new TypeError("cutOffHmInTz: ต้องส่ง sentinelBase (= shopDefaults().cutOff) — ผู้เรียกฝั่งแอปเป็นคน bind เพราะ L1 logic ห้าม dep schema");const r=VV(e);if(r===null)return null;const n=GV(u);if(n!==Yf&&String(p9(r,Yf))===String(p9(t,Yf)))return null;const i=zV(r,n);return!Number.isFinite(i.hours)||!Number.isFinite(i.minutes)?null:{hours:i.hours,minutes:i.minutes}}var XV={cutOffHmInTz:YV,CUTOFF_AUTHORING_TZ:Yf};function ZV(e,u){const t=e&&typeof e=="object"?e.dailyReportId:void 0;if(typeof t!="string")return null;const r=t.trim(),n=typeof u=="string"?u:"";if(n!==""&&(r.length!==n.length+8||r.indexOf(n)!==0))return null;const i=r.slice(-8);if(!/^\d{8}$/.test(i))return null;const E=Number(i.slice(4,6)),o=Number(i.slice(6,8));return E<1||E>12||o<1||o>31?null:i}var qV={stampedBillDayOf:ZV};const{toDate:JV,ymdBangkok:ez}=tt,{ymdInTz:uz}=Ri;function tz(e,u=new Date,t){const r=E=>typeof t!="string"||t.trim()===""?ez(E):Number.isNaN(new Date(E).getTime())?NaN:uz(E,t),n=r(u),i=E=>Array.isArray(e)&&e.some(o=>o&&o.type===E&&r(JV(o.expire))>=n);return{premiumEnable:i("premium"),memberEnable:i("member")||i("crm"),memberPremiumEnable:i("crm"),posEnable:i("qrcode"),staffEnable:i("staff"),languageEnable:i("language")}}var rz={derivePlanFlags:tz};function nz({shopId:e,role:u,shopData:t}={}){return{shopId:e,role:u,checkInEnable:(t||{}).checkInEnable===!0}}var iz={readCheckInConfig:nz};const{tsMillis:h9}=tt;function Ez(e,u){const t=u||{};return{id:e||"",shopId:typeof t.shopId=="string"?t.shopId:"",profileId:typeof t.profileId=="string"?t.profileId:"",clockIn:h9(t.clockIn),clockOut:h9(t.clockOut),clockInImage:typeof t.clockInImage=="string"?t.clockInImage:"",clockOutImage:typeof t.clockOutImage=="string"?t.clockOutImage:"",billDate:typeof t.billDate=="string"?t.billDate:""}}var oz={readCheckInRecord:Ez};const{toDate:az,numberYMD:ih,plusDays:sz}=tt,{stringDateTime3:Az}=es,m9={qrcode:new Set(["1","3","4","6","7","9"]),staff:new Set(["10","12","13","15","16","18"]),language:new Set(["19","21","22","24","25","27"]),premium:new Set(["28","29","30","31","32","33"]),member:new Set(["34","35","36","37","38","39"]),crm:new Set(["40","41","42"])};function cz(e,u,t,r,n=new Date,i){const E=typeof r=="function"?r:l=>l,o=new Set;for(const l of e)for(const f in m9)m9[f].has(l)&&o.add(f);const a=(e==null?void 0:e.length)>0?u.filter(l=>o.has(l.type)):u;let s=`
64`;const A=ih(n,i),c=ih(sz(n,3,i),i);return a.forEach(l=>{const f=az(l.expire),p=ih(f,i),h=t[l.type]||"";p<c&&p>=A&&(s+=`- ${h}`,s+=p===A?`ใช้งานได้วันนี้วันสุดท้าย ก่อนหมดอายุ 
65`:`
66       ใช้ได้จนถึง ${Az(f,E,i)} 
67`)}),s.length>10&&(s+="*โดยวันใช้งานที่เพิ่ม จะนับต่อจากวันหมดอายุเดิม"),s}var lz={findVip:cz};function oP(e){return!!(e&&e.tipStatus)}function aP(e){const u=e&&Array.isArray(e.product)?e.product:[];let t=0,r=0,n=0,i=0;for(const h of u){const w=h&&h.process;if(w==="cancel")continue;const m=Number(h&&h.totalPrice)||0,g=oP(h);r+=m,g&&(t+=m),w!=="paid"&&(i+=m,g&&(n+=m))}const E=r-t,o=i-n,a=Math.max(0,Number(e&&e.tip)||0),s=Number(e&&e.net)||0,A=e?Number(e.totalPrice):NaN,c=.01;let l;t>0?Number.isFinite(A)?Math.abs(A-E)<=c||Math.abs(A-o)<=c?l="new":Math.abs(A-r)<=c||Math.abs(A-i)<=c?l="old":l="unknown":l="unknown":l="none";const f=l==="none"?0:t,p=l==="none"||l==="old"?a:Math.max(0,a-t);return{shape:l,tipLine:f,tipFree:p,sales:s-f-p}}function fz(e){return aP(e).sales}var RB={isTipLine:oP,tipSplitOf:aP,salesNetOf:fz};const{numberYMD:Yo,minusYears:g9,plusMonths:sP,plusYears:y9,toDate:Fa}=tt,{tipSplitOf:dz}=RB;function hi(e,u){return(e||[]).reduce((t,r)=>Number(t)+(Number(r[u])||0),0)}function pz(e,u,t=new Date){const r=Yo(g9(t,u)),n=Yo(sP(g9(t,u),6)),i=(e||[]).filter(o=>Yo(Fa(o.timestamp))>=r),E=i.filter(o=>Yo(Fa(o.timestamp))<=n);return{normalPoint:hi(i,"point"),nearExpirePoint:hi(E,"point")}}function hz(e,u,t,r){const n=e?Yo(Fa(e),r):0,i=u?Yo(Fa(u),r):0;return(!n||n<=t)&&(!i||i>=t)}function mz(e=[]){return new Map((e||[]).map(u=>[u.id,u]))}function AP(e,u,t,r,n){if(n&&n.expiryDate){const a=Fa(n.expiryDate);if(!isNaN(a.getTime()))return a}if(!e)return null;const i=Fa(e);if(isNaN(i.getTime()))return null;const E=u&&t?t.get(u):null;if(E&&E.creditExpireType&&E.creditExpireType!=="provider"&&Number(E.creditExpireValue)>0){const a=Number(E.creditExpireValue),s=new Date(i);if(E.creditExpireType==="days")s.setDate(s.getDate()+a);else if(E.creditExpireType==="months")s.setMonth(s.getMonth()+a);else if(E.creditExpireType==="years")return y9(i,a);return s}const o=Number(r)||0;return o?y9(i,o):null}function gz(e,u,t,r=new Date){const n=sP(r,3);let i=0,E=0;for(const o of e||[]){const a=Number(o.amount)||0;if(a<=0)continue;const s=AP(o.timestamp,o.voucherId,u,t,o);s&&s<=r||(i+=a,s&&s<=n&&(E+=a))}return{normalCredit:i,nearExpireCredit:E}}
67function NB(e,u,t,r=0,n=0,i){const{type:E,tierTarget:o=[],barcode:a=[]}=e,s=Number(o[0])||0,A=new Set((a||[]).map(c=>c.id));switch(E){case"anySale":return!0;case"minimumSale":{const c=Math.max(0,Number(n)||0);return Math.max(0,dz({net:t,product:u,tip:r,totalPrice:i}).sales-c)>=s}case"item":return(u||[]).reduce((l,f)=>A.has(f.id)||A.has(f.rootId)?l+Number(f.qty||0):l,0)>=s;case"category":return(u||[]).reduce((l,f)=>(f.category||[]).some(p=>A.has(p))?l+Number(f.qty||0):l,0)>=s;default:return!1}}function $B(e,u,t=Date.now()){if(!e||e.rewardType!=="bonusPoint"||e.status===!1||e.auto===!1&&!u.has(e.id))return!1;if(e.expireType==="limit"){const r=e.startDate?new Date(e.startDate):null,n=e.endDate?new Date(e.endDate):null;if(r&&t<r.getTime()||n&&t>n.getTime())return!1}return!0}function cP(e,u,t,r=[],n=new Date,i=0,E=0,o){const a=n.getTime(),s=new Set(r||[]);let A=1;for(const c of e||[])if($B(c,s,a)&&NB(c,u,t,i,E,o)){const l=Number((c.tierReward||[])[0])||1;l>A&&(A=l)}return A}function yz({promotion:e,products:u,net:t,now:r=new Date,tip:n=0,cardSurcharge:i=0,totalPrice:E}){if(!e||e.rewardType!=="bonusPoint"||!$B(e,new Set([e.id]),r.getTime()))return 0;const o=E===void 0?hi((u||[]).filter(a=>a&&a.process!=="cancel"),"totalPrice"):E;return NB(e,u,t,n,i,o)?Number((e.tierReward||[])[0])||1:0}function lP(e,u,t,r=1,n=[],i=[],E,o=new Date,a=0,s=0){var g,v;if(E){const d=Number(E);if(Number.isInteger(d)&&d>=0)return d}if(!e||!e.type)return 0;let A=1*(Number(r)||1);const c=(g=(n||[]).find(d=>d.id===o.getDate()))==null?void 0:g.value;c&&(A=A*Number(c));const l=(v=(i||[]).find(d=>d.id===o.getDay()))==null?void 0:v.value;l&&(A=A*Number(l));const f=(u||[]).filter(d=>d.pointStatus&&!d.tipStatus),p=hi((u||[]).filter(d=>d.tipStatus),"totalPrice"),h=Math.max(0,Number(a)||0),w=Math.max(0,Number(s)||0),m=d=>Math.max(0,Math.floor(Number(d)||0));switch(e.type){case"point":{const d=Number(e.value);return d>0?m(Math.floor(hi(f,"totalPrice")/d)*A):0}case"stampTime":return m(1*A);case"stampItem":return m(hi(f,"qty")*A);case"net":{const d=Number(e.value);return d>0?m(Math.floor(Math.max(0,Number(t)-p-h-w)/d)*A):0}default:return 0}}function vz({promotions:e,point:u,level:t,date:r,days:n,products:i,net:E,rankLevelId:o,manualPoint:a,manualPromotionIds:s=[],now:A=new Date,tip:c=0,cardSurcharge:l=0}){var g;const f=hi((i||[]).filter(v=>v&&v.process!=="cancel"),"totalPrice"),p=cP(e,i,E,s,A,c,l,f),h=((g=(t||[]).find(v=>v.id===o))==null?void 0:g.multiple)||1,w=lP(u,i,E,h,r,n,a,A,c,l),m=w+Math.floor(w*(p-1));return{multiple:p,base:w,total:m}}function Bz(e){return(e||{}).ownProviderId||(e||{}).providerId||null}var Tc={summary:hi,calcMemberPoints:pz,inWindow:hz,buildVoucherMap:mz,computeCreditExpiry:AP,calcMemberCredit:gz,matchBonusPromo:NB,isBonusPromoEligible:$B,calcBonusMultiplier:cP,bonusPromoMultiple:yz,calcBasePoint:lP,calcBonusPointPreview:vz,ownProviderIdOf:Bz};const{summary:v9}=Tc,{minusDays:B9,ymdBangkok:w9,toDate:b9}=tt,fP={BRONZE:0,SILVER:1,GOLD:2};function wz(e,u,t){const r=Array.isArray(u)?u:[];if(!r.length)return"";const n=e||{},E=!!(t&&t.status)&&n.rankLevel?n.rankLevel:fP[n.rank];return r[E]&&r[E].id||r[r.length-1]&&r[r.length-1].id||""}function bz(e,u){const{id:t,name:r}=e[u]||e[e.length-1]||{id:"none",name:""};return r||t}function xz({member:e,levelUp:u,level:t,now:r=new Date}){const{modifiedLevelAt:n,visitHistory:i=[]}=e||{},{status:E,duration:o,type:a,cumulativeDuration:s}=u||{},A=w9(B9(r,o));if(!(n&&E&&A>=w9(b9(n))))return{shouldRecompute:!1,rankLevel:null};const c=B9(r,s),l=i.filter(w=>b9(w&&w.timestamp)>=c),f=a==="sale"?v9(l,"value"):a==="point"?v9(l,"point"):l.length,p=[...t.map((w,m)=>({...w,index:m}))].reverse().find(w=>w[a]<=f);return{shouldRecompute:!0,rankLevel:p?p.index:0}}var Cz={resolveRankLevelId:wz,RANK_CONVERTOR:fP,resolveRankLevelName:bz,computeRankLevel:xz};function HB(e,u){if(!Array.isArray(e)||e.length===0)return!1;const t=String(u);return e.some(r=>String(r)===t)}function Dz(e,u,t,r){const n=e||{};return!(n.enable===!1||HB(n.hiddenChannels,u)||r===!0&&!(Number(t)>0))}function Sz(e,u){return!HB((e||{}).hiddenChannels,u)}function Fz(e,u,t){const r=Number(t);if(!e||typeof e!="object"||!(r>0))return[];const n=e[String(u)];return Array.isArray(n)?n.filter(i=>i&&i.id&&Number(i.qty)>0).map(({id:i,qty:E})=>({id:i,qty:Number(E)*r})):[]}var dP={isChannelHidden:HB,isCategoryVisible:Dz,isOptionVisible:Sz,resolve
67ChannelPackaging:Fz};function _z(e){return e==="notsale"}function Iz(e){return e==="out"}var Tz={isProductHidden:_z,isProductOut:Iz};function Ni(e){return Array.isArray?Array.isArray(e):hP(e)==="[object Array]"}function Pz(e){if(typeof e=="string")return e;if(typeof e=="bigint")return e.toString();const u=e+"";return u=="0"&&1/e==-1/0?"-0":u}function ug(e){return e==null?"":Pz(e)}function Xt(e){return typeof e=="string"}function Xf(e){return typeof e=="number"}function Oz(e){return e===!0||e===!1||kz(e)&&hP(e)=="[object Boolean]"}function pP(e){return typeof e=="object"}function kz(e){return pP(e)&&e!==null}function F0(e){return e!=null}function Cl(e){return!e.trim().length}function hP(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Uz="Incorrect 'index' type",tg="Invalid doc index: must be a non-negative integer within the bounds of the docs array",Qz=e=>`Invalid value for key ${e}`,Lz=e=>`Pattern length exceeds max of ${e}.`,Mz=e=>`Missing ${e} property in key`,Rz=e=>`Property 'weight' in key '${e}' must be a positive integer`,Nz="Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.",x9=Object.prototype.hasOwnProperty;class $z{constructor(u){this._keys=[],this._keyMap={};let t=0;u.forEach(r=>{const n=mP(r);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(r=>{r.weight/=t})}get(u){return this._keyMap[u]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function mP(e){let u=null,t=null,r=null,n=1,i=null;if(Xt(e)||Ni(e))r=e,u=C9(e),t=Zf(e);else{if(!x9.call(e,"name"))throw new Error(Mz("name"));const E=e.name;if(r=E,x9.call(e,"weight")&&e.weight!==void 0&&(n=e.weight,n<=0))throw new Error(Rz(Zf(E)));u=C9(E),t=Zf(E),i=e.getFn??null}return{path:u,id:t,weight:n,src:r,getFn:i}}function C9(e){return Ni(e)?e:e.split(".")}function Zf(e){return Ni(e)?e.join("."):e}function Hz(e,u){const t=[];let r=!1;const n=(i,E,o,a)=>{if(F0(i))if(!E[o])t.push(a!==void 0?{v:i,i:a}:i);else{const s=E[o],A=i[s];if(!F0(A))return;if(o===E.length-1&&(Xt(A)||Xf(A)||Oz(A)||typeof A=="bigint"))t.push(a!==void 0?{v:ug(A),i:a}:ug(A));else if(Ni(A)){r=!0;for(let c=0,l=A.length;c<l;c+=1)n(A[c],E,o+1,c)}else E.length&&n(A,E,o+1,a)}};return n(e,Xt(u)?u.split("."):u,0),r?t:t[0]}const jz={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Kz={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,u)=>e.score===u.score?e.idx<u.idx?-1:1:e.score<u.score?-1:1},Wz={location:0,threshold:.6,distance:100},Vz={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:Hz,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Ce=Object.freeze({...Kz,...jz,...Wz,...Vz});function zz(e=1,u=3){const t=new Map,r=Math.pow(10,u);return{get(n){let i=1,E=!1;for(let a=0;a<n.length;a++)n.charCodeAt(a)===32?E||(i++,E=!0):E=!1;if(t.has(i))return t.get(i);const o=Math.round(r/Math.pow(i,.5*e))/r;return t.set(i,o),o},clear(){t.clear()}}}class jB{constructor({getFn:u=Ce.getFn,fieldNormWeight:t=Ce.fieldNormWeight}={}){this.norm=zz(t,3),this.getFn=u,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(u=[]){this.docs=u}setIndexRecords(u=[]){this.records=u}setKeys(u=[]){this.keys=u,this._keysMap={},u.forEach((t,r)=>{this._keysMap[t.id]=r})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const u=this.docs.length;this.records=new Array(u);let t=0;if(Xt(this.docs[0]))for(let r=0;r<u;r++){const n=this._createStringRecord(this.docs[r],r);n&&(this.records[t++]=n)}else for(let r=0;r<u;r++)this.records[t++]=this._createObjectRecord(this.docs[r],r);this.records.length=t,this.norm.clear()}add(u,t){if(!Number.isInteger(t)||t<0)throw new Error(tg);if(Xt(u)){const n=this._createStringRecord(u,t);return n&&this.records.push(n),n}const r=this._createObjectRecord(u,t);return this.records.push(r),r}removeAt(u){if(!Number.isInteger(u)||u<0)throw new Error(tg);for(let t=0,r=this.records.length;t<r;t+=1)if(this.records[t].i===u){this.records.splice(t,1);break}for(let t=0,r=this.records.length;t<r;t+=1)this.records[t].i>u&&(this.records[t].i-=1)}removeAll(u){const t=new Set;for(const n of u)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(n=>!t.has(n.i));const r=Array.from(t).sort((n,i)=>n-i);for(const n of this.records){let i=0,E=r.length;for(;i<E;){const o=i+E>>>1;r[o]<n.i?i=o+1:E=o}n.i-=i}}getValueForItemAtKeyId(u,t){return u[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(u,t){return!F0(u)||Cl(u)?null:{v:u,i:t,n:this.norm.get(u)}}_createObjectRecord(u,t){const r={i:t,$:{}};for(let n=0,i=this.keys.length;n<i;n++){const E=this.keys[n],o=E.getFn?E.getFn(u):this.getFn(u,E.path);if(F0(o)){if(Ni(o)){const a=[];for(let s=0,A=o.length;s<A;s+=1){const c=o[s];
vendor: 8,539 bytes, line 67
67if(F0(c)){if(Xt(c)){if(!Cl(c)){const l={v:c,i:s,n:this.norm.get(c)};a.push(l)}}else if(F0(c.v)){const l=Xt(c.v)?c.v:ug(c.v);if(!Cl(l)){const f={v:l,i:c.i,n:this.norm.get(l)};a.push(f)}}}}r.$[n]=a}else if(Xt(o)&&!Cl(o)){const a={v:o,n:this.norm.get(o)};r.$[n]=a}}}return r}toJSON(){return{keys:this.keys.map(({getFn:u,...t})=>t),records:this.records}}}function gP(e,u,{getFn:t=Ce.getFn,fieldNormWeight:r=Ce.fieldNormWeight}={}){const n=new jB({getFn:t,fieldNormWeight:r});return n.setKeys(e.map(mP)),n.setSources(u),n.create(),n}function Gz(e,{getFn:u=Ce.getFn,fieldNormWeight:t=Ce.fieldNormWeight}={}){const{keys:r,records:n}=e,i=new jB({getFn:u,fieldNormWeight:t});return i.setKeys(r),i.setIndexRecords(n),i}function Yz(e=[],u=Ce.minMatchCharLength){const t=[];let r=-1,n=-1,i=0;for(let E=e.length;i<E;i+=1){const o=e[i];o&&r===-1?r=i:!o&&r!==-1&&(n=i-1,n-r+1>=u&&t.push([r,n]),r=-1)}return e[i-1]&&i-r>=u&&t.push([r,i-1]),t}const EE=32;function Xz(e,u,t,{location:r=Ce.location,distance:n=Ce.distance,threshold:i=Ce.threshold,findAllMatches:E=Ce.findAllMatches,minMatchCharLength:o=Ce.minMatchCharLength,includeMatches:a=Ce.includeMatches,ignoreLocation:s=Ce.ignoreLocation}={}){if(u.length>EE)throw new Error(Lz(EE));const A=u.length,c=e.length,l=Math.max(0,Math.min(r,c));let f=i,p=l;const h=(F,I)=>{const R=F/A;if(s)return R;const X=Math.abs(l-I);return n?R+X/n:X?1:R},w=o>1||a,m=w?Array(c):[];let g;for(;(g=e.indexOf(u,p))>-1;){const F=h(0,g);if(f=Math.min(F,f),p=g+A,w){let I=0;for(;I<A;)m[g+I]=1,I+=1}}p=-1;let v=[],d=1,y=0,b=A+c;const C=1<<A-1;for(let F=0;F<A;F+=1){let I=0,R=b;for(;I<R;)h(F,l+R)<=f?I=R:b=R,R=Math.floor((b-I)/2+I);b=R;let X=Math.max(1,l-R+1);const J=E?c:Math.min(l+R,c)+A,ee=Array(J+2);ee[J+1]=(1<<F)-1;for(let j=J;j>=X;j-=1){const ue=j-1,N=t[e[ue]];if(ee[j]=(ee[j+1]<<1|1)&N,F&&(ee[j]|=(v[j+1]|v[j])<<1|1|v[j+1]),ee[j]&C&&(d=h(F,ue),d<=f)){if(f=d,p=ue,y=F,p<=l)break;X=Math.max(1,2*l-p)}}if(h(F+1,l)>f)break;v=ee}if(w&&p>=0){const F=Math.min(c-1,p+A-1+y);for(let I=p;I<=F;I+=1)t[e[I]]&&(m[I]=1)}const S={isMatch:p>=0,score:Math.max(.001,d)};if(w){const F=Yz(m,o);F.length?a&&(S.indices=F):S.isMatch=!1}return S}function Zz(e){const u={};for(let t=0,r=e.length;t<r;t+=1){const n=e.charAt(t);u[n]=(u[n]||0)|1<<r-t-1}return u}function KB(e){if(e.length<=1)return e;e.sort((t,r)=>t[0]-r[0]||t[1]-r[1]);const u=[e[0]];for(let t=1,r=e.length;t<r;t+=1){const n=u[u.length-1],i=e[t];i[0]<=n[1]+1?n[1]=Math.max(n[1],i[1]):u.push(i)}return u}const yP={ł:"l",Ł:"L",đ:"d",Đ:"D",ø:"o",Ø:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",ß:"ss"},qz=new RegExp("["+Object.keys(yP).join("")+"]","g"),tc=typeof String.prototype.normalize=="function"?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(qz,u=>yP[u]):e=>e;class WB{constructor(u,{location:t=Ce.location,threshold:r=Ce.threshold,distance:n=Ce.distance,includeMatches:i=Ce.includeMatches,findAllMatches:E=Ce.findAllMatches,minMatchCharLength:o=Ce.minMatchCharLength,isCaseSensitive:a=Ce.isCaseSensitive,ignoreDiacritics:s=Ce.ignoreDiacritics,ignoreLocation:A=Ce.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:n,includeMatches:i,findAllMatches:E,minMatchCharLength:o,isCaseSensitive:a,ignoreDiacritics:s,ignoreLocation:A},u=a?u:u.toLowerCase(),u=s?tc(u):u,this.pattern=u,this.chunks=[],!this.pattern.length)return;const c=(f,p)=>{this.chunks.push({pattern:f,alphabet:Zz(f),startIndex:p})},l=this.pattern.length;if(l>EE){let f=0;const p=l%EE,h=l-p;for(;f<h;)c(this.pattern.substr(f,EE),f),f+=EE;if(p){const w=l-EE;c(this.pattern.substr(w),w)}}else c(this.pattern,0)}searchIn(u){const{isCaseSensitive:t,ignoreDiacritics:r,includeMatches:n}=this.options;if(u=t?u:u.toLowerCase(),u=r?tc(u):u,this.pattern===u){const h={isMatch:!0,score:0};return n&&(h.indices=[[0,u.length-1]]),h}const{location:i,distance:E,threshold:o,findAllMatches:a,minMatchCharLength:s,ignoreLocation:A}=this.options,c=[];let l=0,f=!1;this.chunks.forEach(({pattern:h,alphabet:w,startIndex:m})=>{const{isMatch:g,score:v,indices:d}=Xz(u,h,w,{location:i+m,distance:E,threshold:o,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:A});g&&(f=!0),l+=v,g&&d&&c.push(...d)});const p={isMatch:f,score:f?l/this.chunks.length:1};return f&&n&&(p.indices=KB(c)),p}}const Jz=new Set(["fuzzy","include"]);function eG(e){return e.startsWith("inverse")}const rg=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(u){const t=u===e;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(u){let t=0,r;const n=[],i=e.length;for(;(r=u.indexOf(e,t))>-1;)t=r+i,n.push([r,t-1]);const E=!!n.length;return{isMatch:E,score:E?0:1,indices:n}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(u){const t=u.startsWith(e);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(u){const t=!u.startsWith(e);return{isMatch:t,score:t?0:1,indices:[0,u.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(u){const t=!u.endsWith(e);return{isMatch:t,score:t?0:1,indices:[0,u.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(u){const t=u.endsWith(e);return{isMatch:t,score:t?0:1,indices:[u.length-e.length,u.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(u){const t=u.indexOf(e)===-1;return{isMatch:t,score:t?0:1,indices:[0,u.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,u={})=>{const t=new WB(e,{location:u.location??Ce.location,threshold:u.threshold??Ce.threshold,distance:u.distance??Ce.distance,includeMatches:u.includeMatches??Ce.includeMatches,findAllMatches:u.findAllMatches??Ce.findAllMatches,minMatchCharLength:u.minMatchCharLength??Ce.minMatchCharLength,isCaseSensitive:u.isCaseSensitive??Ce.isCaseSensitive,ignoreDiacritics:u.ignoreDiacritics??Ce.ignoreDiacritics,ignoreLocation:u.ignoreLocation??Ce.ignoreLocation});return{type:"fuzzy",search(r){return t.searchIn(r)}}}}],D9=rg.length,uG="\0",tG="|";function rG(e){const u=[],t=e.length;let r=0;for(;r<t;){for(;r<t&&e[r]===" ";)r++;
vendor: 2,783 bytes, line 67
67if(r>=t)break;let n=r;for(;n<t&&e[n]!==" "&&e[n]!=='"';)n++;if(n<t&&e[n]==='"'){for(n++;n<t;){if(e[n]==='"'){const i=n+1;if(i>=t||e[i]===" "){n++;break}if(e[i]==="$"&&(i+1>=t||e[i+1]===" ")){n+=2;break}}n++}u.push(e.substring(r,n)),r=n}else{for(;n<t&&e[n]!==" ";)n++;u.push(e.substring(r,n)),r=n}}return u}function S9(e,u){const t=e.match(u);return t?t[1]:null}function nG(e,u={}){return e.replace(/\\\|/g,uG).split(tG).map(r=>{const n=r.replace(/\u0000/g,"|"),i=rG(n.trim()).filter(o=>o&&!!o.trim()),E=[];for(let o=0,a=i.length;o<a;o+=1){const s=i[o];let A=!1,c=-1;for(;!A&&++c<D9;){const l=rg[c],f=S9(s,l.multiRegex);f&&(E.push(l.create(f,u)),A=!0)}if(!A)for(c=-1;++c<D9;){const l=rg[c],f=S9(s,l.singleRegex);if(f){E.push(l.create(f,u));break}}}return E})}class iG{constructor(u,{isCaseSensitive:t=Ce.isCaseSensitive,ignoreDiacritics:r=Ce.ignoreDiacritics,includeMatches:n=Ce.includeMatches,minMatchCharLength:i=Ce.minMatchCharLength,ignoreLocation:E=Ce.ignoreLocation,findAllMatches:o=Ce.findAllMatches,location:a=Ce.location,threshold:s=Ce.threshold,distance:A=Ce.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:E,location:a,threshold:s,distance:A},u=t?u:u.toLowerCase(),u=r?tc(u):u,this.pattern=u,this.query=nG(this.pattern,this.options)}static condition(u,t){return t.useExtendedSearch}searchIn(u){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n,ignoreDiacritics:i}=this.options;u=n?u:u.toLowerCase(),u=i?tc(u):u;let E=0;const o=[];let a=0,s=!1;for(let A=0,c=t.length;A<c;A+=1){const l=t[A];o.length=0,E=0,s=!1;for(let f=0,p=l.length;f<p;f+=1){const h=l[f],{isMatch:w,indices:m,score:g}=h.search(u);if(w)E+=1,a+=g,eG(h.type)&&(s=!0),r&&(Jz.has(h.type)?o.push(...m):o.push(m));else{a=0,E=0,o.length=0,s=!1;break}}if(E){const f={isMatch:!0,score:a/E};return s&&(f.hasInverse=!0),r&&(f.indices=KB(o)),f}}return{isMatch:!1,score:1}}}const ng=[];function VB(...e){ng.push(...e)}function e1(e,u){for(let t=0,r=ng.length;t<r;t+=1){const n=ng[t];if(n.condition(e,u))return new n(e,u)}return new WB(e,u)}const u1={AND:"$and",OR:"$or"},ig={PATH:"$path",PATTERN:"$val"},Eg=e=>!!(e[u1.AND]||e[u1.OR]),EG=e=>!!e[ig.PATH],oG=e=>!Ni(e)&&pP(e)&&!Eg(e),F9=e=>({[u1.AND]:Object.keys(e).map(u=>({[u]:e[u]}))});function vP(e,u,{auto:t=!0}={}){const r=n=>{if(Xt(n)){const a={keyId:null,pattern:n};return t&&(a.searcher=e1(n,u)),a}const i=Object.keys(n),E=EG(n);if(!E&&i.length>1&&!Eg(n))return r(F9(n));if(oG(n)){const a=E?n[ig.PATH]:i[0],s=E?n[ig.PATTERN]:n[a];if(!Xt(s))throw new Error(Qz(a));const A={keyId:Zf(a),pattern:s};return t&&(A.searcher=e1(s,u)),A}const o={children:[],operator:i[0]};return i.forEach(a=>{const s=n[a];Ni(s)&&s.forEach(A=>
vendor: 6,786 bytes, line 67
67{o.children.push(r(A))})}),o};return Eg(e)||(e=F9(e)),r(e)}function og(e,{ignoreFieldNorm:u=Ce.ignoreFieldNorm}){let t=1;return e.forEach(({key:r,norm:n,score:i})=>{const E=r?r.weight:null;t*=Math.pow(i===0&&E?Number.EPSILON:i,(E||1)*(u?1:n))}),t}function aG(e,{ignoreFieldNorm:u=Ce.ignoreFieldNorm}){e.forEach(t=>{t.score=og(t.matches,{ignoreFieldNorm:u})})}class sG{constructor(u){this.limit=u,this.heap=[]}get size(){return this.heap.length}shouldInsert(u){return this.size<this.limit||u<this.heap[0].score}insert(u){this.size<this.limit?(this.heap.push(u),this._bubbleUp(this.size-1)):u.score<this.heap[0].score&&(this.heap[0]=u,this._sinkDown(0))}extractSorted(u){return this.heap.sort(u)}_bubbleUp(u){const t=this.heap;for(;u>0;){const r=u-1>>1;if(t[u].score<=t[r].score)break;const n=t[u];t[u]=t[r],t[r]=n,u=r}}_sinkDown(u){const t=this.heap,r=t.length;let n=u;do{u=n;const i=2*u+1,E=2*u+2;if(i<r&&t[i].score>t[n].score&&(n=i),E<r&&t[E].score>t[n].score&&(n=E),n!==u){const o=t[u];t[u]=t[n],t[n]=o}}while(n!==u)}}function AG(e){const u=[];return e.matches.forEach(t=>{if(!F0(t.indices)||!t.indices.length)return;const r={indices:t.indices,value:t.value};t.key&&(r.key=t.key.id),t.idx>-1&&(r.refIndex=t.idx),u.push(r)}),u}function cG(e,u,{includeMatches:t=Ce.includeMatches,includeScore:r=Ce.includeScore}={}){return e.map(n=>{const{idx:i}=n,E={item:u[i],refIndex:i};return t&&(E.matches=AG(n)),r&&(E.score=n.score),E})}const lG=/[\p{L}\p{M}\p{N}_]+/gu,_9=new WeakSet;function fG(e){_9.has(e)||(_9.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function dG(e){if(typeof e=="function"){let u=!1;return t=>{const r=e(t);if(!u&&(u=!0,!Array.isArray(r)||r.some(n=>typeof n!="string")))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}return e instanceof RegExp?(e.global||fG(e),u=>u.match(e)||[]):u=>u.match(lG)||[]}function ag({isCaseSensitive:e=!1,ignoreDiacritics:u=!1,tokenize:t}={}){const r=dG(t);return{tokenize(n){return e||(n=n.toLowerCase()),u&&(n=tc(n)),r(n)}}}const BP=31;class pG{static condition(u,t){return t.useTokenSearch}constructor(u,t){this.options=t,this.analyzer=ag({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});const r=this.analyzer.tokenize(u),n=t._invertedIndex,{df:i,fieldCount:E}=n;this.termSearchers=[],this.idfWeights=[];for(const o of r){this.termSearchers.push(new WB(o,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const a=i.get(o)||0,s=Math.log(1+(E-a+.5)/(a+.5));this.idfWeights.push(s)}this.combineAll=t.tokenMatch==="all",this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=BP}searchIn(u){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let r=0,n=0,i=0,E=0;const o=this.combineAll&&!this.useMask?new Set:null;for(let A=0;A<this.termSearchers.length;A++){const c=this.termSearchers[A].searchIn(u),l=this.idfWeights[A];n+=l,c.isMatch&&(i++,r+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?E|=1<<A:o.add(A)))}if(i===0)return{isMatch:!1,score:1};const a=n>0?1-r/n:0,s={isMatch:!0,score:Math.max(.001,a)};return this.options.includeMatches&&t.length&&(s.indices=KB(t)),this.combineAll&&(this.useMask?s.matchedMask=E:s.matchedTerms=o,s.termCount=this.numTerms),s}}function Eh(e,u,t,r){const n=r.tokenize(u);if(!n.length)return;e.fieldCount++,e.docFieldCount.set(t,(e.docFieldCount.get(t)||0)+1);const i=new Set(n);let E=e.docTermFieldHits.get(t);E||(E=new Map,e.docTermFieldHits.set(t,E));for(const o of i)E.set(o,(E.get(o)||0)+1),e.df.set(o,(e.df.get(o)||0)+1)}function wP(e,u,t,r){const{i:n,v:i,$:E}=u;if(i!==void 0){Eh(e,i,n,r);return}if(E)for(let o=0;o<t;o++){const a=E[o];if(a)if(Array.isArray(a))for(const s of a)Eh(e,s.v,n,r);else Eh(e,a.v,n,r)}}function hG(e,u,t){const r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const n of e)wP(r,n,u,t);return r}function mG(e,u,t,r){wP(e,u,t,r)}function gG(e,u){const t=e.docFieldCount.get(u);if(t===void 0)return;e.fieldCount-=t,e.docFieldCount.delete(u);const r=e.docTermFieldHits.get(u);if(r){for(const[n,i]of r){const E=(e.df.get(n)||0)-i;E<=0?e.df.delete(n):e.df.set(n,E)}e.docTermFieldHits.delete(u)}}function I9(e,u){if(u.length===0)return;const t=Array.from(new Set(u)).sort((o,a)=>o-a);for(const o of t)gG(e,o);const r=o=>{let a=0,s=t.length;for(;a<s;){const A=a+s>>>1;t[A]<o?a=A+1:s=A}return o-a},n=t[0],i=new Map;for(const[o,a]of e.docFieldCount)i.set(o>n?r(o):o,a);e.docFieldCount=i;const E=new Map;for(const[o,a]of e.docTermFieldHits)E.set(o>n?r(o):o,a);e.docTermFieldHits=E}let $i=class{constructor(u,t,r){this.options={...Ce,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new $z(this.options.keys),this._docs=u,this._myIndex=null,this._invertedIndex=null,this.setCollection(u,r),this._lastQuery=null,this._lastSearcher=null}_getSearcher(u){if(this._lastQuery===u)return this._lastSearcher;const t=this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options,r=e1(u,t);return this._lastQuery=u,this._lastSearcher=r,r}setCollection(u,t){if(this._docs=u,t&&!(t instanceof jB))throw new Error(Uz);if(this._myIndex=t||gP(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const r=ag({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=hG(this._myIndex.records,this._myIndex.keys.length,r)}this._invalidateSearcherCache()}add(u){if(!F0(u))return;this._docs.push(u);const t=this._myIndex.add(u,this._docs.length-1);if(this._invertedIndex&&t){const r=ag({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});mG(this._invertedIndex,t,this._myIndex.keys.length,r)}this._invalidateSearcherCache()}remove(u=()=>!1){const t=[],r=[];for(let n=0,i=this._docs.length;n<i;n+=1)u(this._docs[n],n)&&(t.push(this._docs[n]),r.push(n));if(r.length){this._invertedIndex&&I9(this._invertedIndex,r);const n=new Set(r);this._docs=this._docs.filter((i,E)=>!n.has(E)),this._myIndex.removeAll(r),this._invalidateSearcherCache()}return t}removeAt(u){if(!Number.isInteger(u)||u<0||u>=this._docs.length)throw new Error(tg);this._invertedIndex&&I9(this._invertedIndex,[u]);const t=this._docs.splice(u,1)[0];return this._myIndex.removeAt(u),this._invalidateSearcherCache(),t}
67_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}search(u,t){const{limit:r=-1}=t||{},{includeMatches:n,includeScore:i,shouldSort:E,sortFn:o,ignoreFieldNorm:a}=this.options;if(Xt(u)&&!u.trim()){let c=this._docs.map((l,f)=>({item:l,refIndex:f}));return Xf(r)&&r>-1&&(c=c.slice(0,r)),c}const s=Xf(r)&&r>0&&Xt(u);let A;if(s){const c=new sG(r);Xt(this._docs[0])?this._searchStringList(u,{heap:c,ignoreFieldNorm:a}):this._searchObjectList(u,{heap:c,ignoreFieldNorm:a}),A=c.extractSorted(o)}else A=Xt(u)?Xt(this._docs[0])?this._searchStringList(u):this._searchObjectList(u):this._searchLogical(u),aG(A,{ignoreFieldNorm:a}),E&&A.sort(o),Xf(r)&&r>-1&&(A=A.slice(0,r));return cG(A,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(u,{heap:t,ignoreFieldNorm:r}={}){const n=this._getSearcher(u),i=this.options.useTokenSearch&&this.options.tokenMatch==="all",{records:E}=this._myIndex,o=t?null:[];return E.forEach(({v:a,i:s,n:A})=>{if(!F0(a))return;const c=n.searchIn(a);if(c.isMatch){const l={score:c.score,value:a,norm:A,indices:c.indices};i&&(l.matchedMask=c.matchedMask,l.matchedTerms=c.matchedTerms,l.termCount=c.termCount);const f=[l];if(!i||this._coversAllTokens(f)){const p={item:a,idx:s,matches:f};t?(p.score=og(p.matches,{ignoreFieldNorm:r}),t.shouldInsert(p.score)&&t.insert(p)):o.push(p)}}}),o}_searchLogical(u){const t=vP(u,this.options),r=(o,a,s)=>{if(!("children"in o)){const{keyId:f,searcher:p}=o;let h;return f===null?(h=[],this._myIndex.keys.forEach((w,m)=>{h.push(...this._findMatches({key:w,value:a[m],searcher:p}))})):h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(a,f),searcher:p}),h&&h.length?[{idx:s,item:a,matches:h}]:[]}const{children:A,operator:c}=o,l=[];for(let f=0,p=A.length;f<p;f+=1){const h=A[f],w=r(h,a,s);if(w.length)l.push(...w);else if(c===u1.AND)return[]}return l},n=this._myIndex.records,i=new Map,E=[];return n.forEach(({$:o,i:a})=>{if(F0(o)){const s=r(t,o,a);s.length&&(i.has(a)||(i.set(a,{idx:a,item:o,matches:[]}),E.push(i.get(a))),s.forEach(({matches:A})=>{i.get(a).matches.push(...A)}))}}),E}_searchObjectList(u,{heap:t,ignoreFieldNorm:r}={}){const n=this._getSearcher(u),i=this.options.useTokenSearch&&this.options.tokenMatch==="all",{keys:E,records:o}=this._myIndex,a=t?null:[];return o.forEach(({$:s,i:A})=>{if(!F0(s))return;const c=[];let l=!1,f=!1;if(E.forEach((p,h)=>{const w=this._findMatches({key:p,value:s[h],searcher:n});w.length?(c.push(...w),w[0].hasInverse&&(f=!0)):l=!0}),!(f&&l)&&c.length&&(!i||this._coversAllTokens(c))){const p={idx:A,item:s,matches:c};t?(p.score=og(p.matches,{ignoreFieldNorm:r}),t.shouldInsert(p.score)&&t.insert(p)):a.push(p)}}),a}_findMatches({key:u,value:t,searcher:r}){if(!F0(t))return[];const n=[];if(Ni(t))t.forEach(({v:i,i:E,n:o})=>{if(!F0(i))return;const a=r.searchIn(i);if(a.isMatch){const s={score:a.score,key:u,value:i,idx:E,norm:o,indices:a.indices,hasInverse:a.hasInverse};a.termCount!==void 0&&(s.matchedMask=a.matchedMask,s.matchedTerms=a.matchedTerms,s.termCount=a.termCount),n.push(s)}});else{const{v:i,n:E}=t,o=r.searchIn(i);if(o.isMatch){const a={score:o.score,key:u,value:i,norm:E,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(a.matchedMask=o.matchedMask,a.matchedTerms=o.matchedTerms,a.termCount=o.termCount),n.push(a)}}return n}_coversAllTokens(u){const t=u.length?u[0].termCount:void 0;if(t===void 0)return!0;if(t<=BP){let n=0;for(let i=0;i<u.length;i++)n|=u[i].matchedMask||0;return n===2**t-1}const r=new Set;for(let n=0;n<u.length;n++){const i=u[n].matchedTerms;if(i)for(const E of i)r.add(E)}return r.size===t}};$i.version="7.4.0";$i.createIndex=gP;$i.parseIndex=Gz;$i.config=Ce;$i.match=function(e,u,t){if(t&&t.useTokenSearch)throw new Error(Nz);return e1(e,{...Ce,...t}).searchIn(u)};$i.parseQuery=vP;VB(iG);VB(pG);$i.use=function(...e){e.forEach(u=>VB(u))};var yG=$i;const vG=yG;function BG(e,u,t){return e.filter(r=>r[u]!==t)}function wG(e,u,t){const r=[];for(const n of e)n[u].includes(t)||r.push(n);return r}function bG(e,u,t){let r=[];for(const n of e)n[u].includes(t)&&r.push(n);return r}function xG(e,u,t,r){let n=[];for(const i of t)zB(e,u,r===void 0?i:i[r])&&n.push(i);return n}function zB(e,u,t){return e.some(r=>r[u]===t)}function CG(e,u,t){return e.find(r=>r[u]===t)}function DG(e,u,t){return e.findIndex(r=>r[u]===t)}function SG(e,u,t,r){return e.map(n=>n[u]===t?r:n)}function FG(e,u,t="name"){let r=[];
67return u?r=e.filter(function(i){const E=i[t]?i[t].toUpperCase():"".toUpperCase(),o=u.toUpperCase();return E.indexOf(o)>-1}):r=e,r}function _G(e,u){return e.map(t=>t[u])}function bP(e,u){return u.slice().sort(function(r,n){return r[e]<n[e]?-1:r[e]>n[e]?1:0})}function xP(e,u,{numeric:t=!1}={}){let r=u.slice();return t?r.sort((n,i)=>Number(i[e])-Number(n[e])):r.sort(function(n,i){return n[e]<i[e]?1:n[e]>i[e]?-1:0})}function IG(e,u,t){return e.filter(r=>r[u]===t)}function TG(e,u,t=["name"]){if(!u)return e;const r=u.toString().toUpperCase();return e.filter(n=>(Array.isArray(t)?t.map(E=>n[E]?n[E].toString().toUpperCase():""):[n[t]?n[t].toString().toUpperCase():""]).some(E=>E.indexOf(r)>-1))}function PG(e,u,t){const r={keys:["name"],threshold:.3};return new vG(e,r).search(u).map(E=>E.item)}function OG(e,u){return e.some(t=>u.includes(t))}function kG(e,u,t){const r=[...e];for(const n of u)zB(r,t,n[t])||r.push(n);return r}function CP(e,u){return e.filter(t=>!u.some(r=>r.id===t.id))}function UG(e,u){return[...CP(e,u),...u]}function QG(e,u){const t=[];for(let r=0;r<e.length;r+=u)t.push(e.slice(r,r+u));return t}function LG(e,u,t="normal"){return t==="normal"?xP(e,u):bP(e,u)}function MG(e){let u=[];return e.forEach(t=>{t.label?u.push({topic:t.label,value:[]}):t.topic&&t.to&&u.length>0&&u[u.length-1].value.push({name:t.topic,to:t.to})}),u}var Er={filterDeleteInArray:BG,includesOutInArray:wG,filterFieldIncludes:bG,intersectByField:xG,someInArray:zB,findInArray:CG,findIndexInArray:DG,mapInArray:SG,searchFilterFunction:FG,totalField:_G,reverseSort:bP,normalSort:xP,filterInArray:IG,searchMultiFunction:TG,fuseSearch:PG,haveCommonElement:OG,arrayUnionWithPreference:kG,setDifference:CP,mergeArrays:UG,splitArrayIntoChunks:QG,sortController:LG,transformData:MG};const{filterInArray:RG,findInArray:oh}=Er;function DP(e,u){return!!e&&e.allowChoiceQty===!0&&!!u&&u.allowQty===!0}function _a(e){return!e||e.chose!==!0?0:typeof e.qty=="number"?e.qty:1}function SP(e){return!e||!Array.isArray(e.choice)?0:e.choice.reduce(function(u,t){return u+_a(t)},0)}function Xo(e){var u=Number(e&&e.maxChose);return u>=1?e.maxChose:1}function uE(e,u){var t=u.reduce(function(r,n){return r+_a(n)},0);return t>=Xo(e)?u.map(function(r){return r.chose===!1?Object.assign({},r,{chose:"block"}):r}):u.map(function(r){return r.chose==="block"?Object.assign({},r,{chose:!1}):r})}function NG(e,u,t){var r=e&&e.choice||[],n=r.find(function(a){return a.choiceId==u});if(!n)return r;if(DP(e,n)&&Xo(e)!==1){var i=SP(e);if(t){var E=_a(n)-1;return uE(e,r.map(function(a){return a.choiceId!=u?a:E<=0?Object.assign({},a,{chose:!1,qty:0}):Object.assign({},a,{chose:!0,qty:E})}))}return i>=Xo(e)&&n.chose===!0||i>=Xo(e)&&n.chose!==!0?uE(e,r):n.chose===!0?uE(e,r.map(function(a){return a.choiceId==u?Object.assign({},a,{qty:_a(a)+1}):a})):uE(e,r.map(function(a){return a.choiceId==u?Object.assign({},a,{chose:!0,qty:1}):a}))}if(Xo(e)===1)return e.minChose===0?r.map(function(a){return a.choiceId==u?Object.assign({},a,{chose:!a.chose}):Object.assign({},a,{chose:!1})}):r.map(function(a){return a.choiceId==u?Object.assign({},a,{chose:!0}):Object.assign({},a,{chose:!1})});var o=r.map(function(a){return a.choiceId==u?Object.assign({},a,{chose:!a.chose}):a});return uE(e,o)}function $G(e,u){var t=u||e&&e.choice||[],r=t.reduce(function(n,i){return n+_a(i)},0);return r>=(e&&e.minChose||0)}function HG(e){let u=[];for(const{choice:t,optionId:r,optionTopic:n}of e||[])u=[...u,...RG(t,"chose",!0).map(i=>({...i,optionId:r,optionTopic:n}))];return u}function jG(e,u,t,r,n=""){let i=[];for(const o of e)o.choice.forEach(a=>{a.chose===!0&&i.push(a)});let E=0;return n?i.forEach(o=>{var s,A;const a=typeof o.qty=="number"?o.qty:1;E+=Number(((s=oh((o==null?void 0:o.zonePrice)||[],"id",n))==null?void 0:s.price)||((A=oh(o.price,"id",u))==null?void 0:A.price)||0)*a}):i.forEach(o=>{var s;const a=typeof o.qty=="number"?o.qty:1;E+=Number(((s=oh(o.price,"id",u))==null?void 0:s.price)||0)*a}),(Number(t)+E)*r}var FP={chooseChoice:NG,countChosen:SP,chosenQty:_a,isMainChose:$G,isQtyChoice:DP,effectiveMaxChose:Xo,reblock:uE,filterChoice:HG,calcItemTotal:jG};function KG({net:e,qty:u,boxCart:t}){const r=Array.isArray(t)?t:[];let n=0;for(const E of r)n+=Number(E.totalPrice);const i=(Number(e)+n)*Number(u);return Number.isFinite(i)?Math.round(i*100)/100:NaN}var WG={calcBoxTotal:KG};const{toDate:ah}=tt,{wallParts:VG}=Ri;function _P(e,u,t){if(!e||e.status!==!0)return!1;const r=ah(e.startTime),n=ah(e.endTime),i=ah(u);if(isNaN(r)||isNaN(n)||isNaN(i))return!1;const E=l=>
67(l.getUTCHours()*60+l.getUTCMinutes()+7*60)%1440,o=l=>{const f=VG(l,t);return f.hours*60+f.minutes},a=typeof t!="string"||t.trim()===""?E:o,s=a(r),A=a(n),c=a(i);return s===A?!1:s<A?c>=s&&c<A:c>=s||c<A}function zG(e,u,t,r){return!(Array.isArray(e&&e.product)?e.product:[]).some(i=>i&&i.happyHourStatus===!0)||!u?!1:!_P(u,t,r)}var IP={isHappyHourActive:_P,decideHappyHourReject:zG};const{toDate:GG,plusMinute:YG}=tt,{isHappyHourActive:sh}=IP,TP=5;function PP(e){if(!e)return!1;const u=e.evident;return typeof u!="string"||u.trim()===""?!1:e.paymentJourney!=="after"}function OP(e,u,t=TP,r){if(!e||e.status!==!0)return!1;const{startTime:n,endTime:i}=e;if(!sh({status:!0,startTime:n,endTime:i},n,r))return!1;const E=YG(GG(i),t);return isNaN(E)||sh({status:!0,startTime:n,endTime:i},E,r)?!1:sh({status:!0,startTime:n,endTime:E},u,r)}function XG(e,u,t,r,n){return PP(e)&&OP(u,t,r,n)}var ZG={HAPPY_GRACE_MINUTES:TP,isSlipPrepaidOrder:PP,inHappyHourGrace:OP,allowHappyHourSlipGrace:XG};const{chosenQty:qG}=FP;function GB(e){const u=Number(e&&e.qty);return Number.isFinite(u)&&u>=1?Math.floor(u):1}function JG(e){const u=e&&e.choice||[];if(!Array.isArray(u))return[];const t=[];for(const r of u)qG(r)>0&&t.push({choiceId:r.choiceId,choiceName:r.choiceName,qty:GB(r)});return t}function eY(e){const u=e&&e.choiceName!=null?String(e.choiceName):"";if(!u)return"";const t=GB(e);return t>1?u+" ×"+t:u}var b2={pickChosenChoices:JG,choiceQtyOf:GB,choiceLabel:eY};const{choiceLabel:uY}=b2,{findInArray:T9,someInArray:P9,findIndexInArray:tY,mapInArray:rY}=Er;function nY(e,u){if(!Array.isArray(e))return 0;const t=e.find(function(r){return r&&r.id==u});return t&&t.price||0}function iY(e,u){if(!Array.isArray(e))return!1;const t=e.find(function(n){return n&&n.id==u});if(!t)return!1;const r=t.price;return r==null?!1:typeof r=="string"?r.trim()!=="":typeof r=="number"?!Number.isNaN(r):!0}function EY(e,u){const t=Number(e);return!u||u.status!==!0?t:u.type==="bath"?t-Number(u.value):t*(100-Number(u.value))/100}function oY(e){const u=[];return(!e||!e.name||!String(e.name).trim())&&u.push("name"),(!e||!Array.isArray(e.price)||e.price.length===0)&&u.push("price"),{valid:u.length===0,errors:u}}function aY(e,u){if(!e)return e;const t=u&&Array.isArray(u.channels)?u.channels:null,r=u&&Array.isArray(u.categoryIds)?new Set(u.categoryIds):null,n=Object.assign({},e);if(t){const i=Array.isArray(e.price)?e.price:[],E=new Set,o=[];for(const a of t){const s=String(a.id);if(E.has(s))continue;E.add(s);const A=i.find(function(c){return c&&String(c.id)===s});o.push(A||{id:s,price:0,status:!1})}n.price=o}if(r){const i=Array.isArray(e.category)?e.category:[];n.category=i.filter(function(E){return r.has(E)})}return n}function kP({price:e,promotion:u,mainId:t}){var n;const r=((n=e.find(i=>i.id===t))==null?void 0:n.price)||0;return u!=null&&u.status&&(t===1||t==="delivery")?u.type==="bath"?{price:r,net:r-Number(u.value)}:{price:r,net:r*(100-Number(u.value))/100}:{price:r,net:r}}function sY(e){return e.map(u=>(u.promotion.status,{...u,...kP({price:u.price,promotion:u.promotion,mainId:1})}))}function AY(e,u){switch(u){case"int":return Math.ceil(e);case"end0":return Math.ceil(e/10)*10;case"end9":return Math.ceil((e-9)/10)*10+9;case"end8":return Math.ceil((e-8)/10)*10+8;default:return e}}function cY(e,u={}){const t=u.idGen||(()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,j=>{const ue=Math.random()*16|0;return(j==="x"?ue:ue&3|8).toString(16)})),{BOM:r,channelBOM:n,addOn:i,category:E,id:o,option:a,qty:s,totalPrice:A,name:c,imageId:l,stockCount:f,priceBySize:p,stockSet:h,pointStatus:w,set:m,setStatus:g,rootId:v,boxCart:d,boxStatus:y,boxSplit:b,tipStatus:C,process:S,vat:F=!1,nameLanguage:I,productLinkId:R,sizeQty:X,sizeUnit:J,sizeUnitPrice:ee}=e,L=typeof ee=="number"||typeof ee=="string"?Number(ee):NaN;return{rootId:v,BOM:r,...n?{channelBOM:n}:{},...I?{nameLanguage:I}:{},...R?{productLinkId:R}:{},...X?{sizeQty:X}:{},...typeof J=="string"&&J.trim()?{sizeUnit:J}:{},...Number.isFinite(L)&&L>0?{sizeUnitPrice:L}:{},addOn:i,category:E,id:o,option:a.map(j=>({...j,choice:j.choice.filter(ue=>ue.chose===!0)})),qty:s,totalPrice:A,name:c,tempId:u.tempId!==void 0?u.tempId:t(),process:S,productStaffs:[],imageId:l,stockCount:f,priceBySize:p,stockSet:h,pointStatus:w,set:m,setStatus:g,boxCart:d.map(j=>({...j,process:"ordered",option:j.option.map(ue=>({...ue,choice:ue.choice.filter(N=>N.chose===!0)}))})),boxStatus:y,tipStatus:C,boxSplit:b,vat:F}}function lY(e,u="alacarte",{optionAsNames:t=!1}={}){const r=t?e.map(a=>({...a,option:(a.option||[]).flatMap(s=>s.choice).filter(s=>s.chose===!0).map(uY)})):e,n=e.map(a=>a.tempId),i=[],E=[];r.forEach(a=>{(a.option||[]).length>0||a.boxStatus?i.push(a):E.push(a)});let o=[...UP(E),...i];return u!=="alacarte"&&(o=o.filter(a=>a.totalPrice>0||a.productLinkId)),o.sort((a,s)=>n.indexOf(a.tempId)-n.indexOf(s.tempId))}function UP(e){const u={},t=[];e.forEach(i=>
67{Number(i.sizeQty)>0?t.push({...i,totalPrice:Number(i.totalPrice)}):u[i.id]?(u[i.id].qty+=i.qty,u[i.id].totalPrice+=Number(i.totalPrice)):(u[i.id]={...i,totalPrice:Number(i.totalPrice)},t.push(null))});const r=Object.values(u);let n=0;return t.map(i=>i===null?r[n++]:i)}function fY(e){return e.map(u=>u.happyHourStatus?{...u,net:Number(u.happyHour)}:u)}function dY(e,{units:u,smartOption:t,smartCategory:r,channel:n,products:i}){const E=[];for(const f of e.BOM){const{id:p,rawMatId:h,rawMatName:w,name:m}=T9(u,"id",f.id)||{id:""};p&&E.push({...f,rawMatId:h,rawMatName:w,name:m})}const o=[];for(const f of e.option)P9(t,"optionId",f)&&o.push(f);let a=[];for(const f of r)a=[...a,...f.value];const s=[];for(const f of e.category){const p=T9(a,"id",f);p&&p.id&&s.push(p)}const A=[];for(const f of e.price)P9(n,"id",f.id)&&A.push(f);const c=new Set(i.map(f=>f.id)),l=e.set.filter(f=>c.has(f.id)).map(f=>{var p;return{...f,name:(p=i.find(h=>h.id===f.id))==null?void 0:p.name}});return{product:{...e,option:o,price:A,set:l,BOM:E},currentCategory:s,oldImage:e.imageId}}function pY(e,u){let t=e.filter(r=>r.qty<=u);return t.length>0?(t==null?void 0:t.reduce(function(n,i){return n.qty>i.qty?n:i})).price:!1}function hY(e,u){const t=Number(e),r=t<0?-1:1;let n=Math.abs(t);const i=u.map(o=>({...o,amount:Number(o.amount)})).sort((o,a)=>a.amount-o.amount),E=i.map((o,a)=>{if(a===i.length-1)return`${n} ${o.name}`;const s=Math.floor(n/o.amount);return n%=o.amount,`${s} ${o.name}`});return(r<0?"- ":"")+E.join("  ")}function mY(e,u,t){let r=e.slice(),n=tY(r,"id",u);return n>=0?r=rY([...r],"id",u,{...r[n],price:t}):r.push({id:u,price:t}),r.filter(i=>!!i.price)}function gY(e){return e.reduce((t,r)=>{let n=t.find(i=>i.shopTypeId===r.shopTypeId);return n?n.price.push({id:r.channelId,price:r.price}):t.push({shopTypeId:r.shopTypeId,price:[{id:r.channelId,price:r.price}]}),t},[])}var QP={productPriceForChannel:nY,isPriceSetForChannel:iY,discountedPrice:EY,validateProductCore:oY,hydrateProductCore:aY,hydrateProductFilter:dY,managePromotionForChannel:kP,managePromotion:sY,roundNice:AY,leanProduct:cY,aggregateQuantities:lY,mergeQuantitiesById:UP,manageHappyHour:fY,wholesalePriceForQty:pY,multipleUnit:hY,writePrice:mY,getPriceTypes:gY};function LP(e,u){const t=u||"timestamp";return(Array.isArray(e)?e.slice():[]).sort((n,i)=>n[t]<i[t]?-1:n[t]>i[t]?1:0)}function rc(e){return(Array.isArray(e)?e:[]).map((u,t)=>({...u,index:t}))}function yY(e,u,t){const r=Array.isArray(e)?e:[],n=r.findIndex(a=>a.id===u);if(n===-1)return rc(r);const i=r.slice(),[E]=i.splice(n,1),o=Math.min(Math.max(t,0),i.length);return i.splice(o,0,E),rc(i)}function vY(e,u,t,r){const n=Array.isArray(e)?e:[],i=n.find(a=>a.id===u);if(!i)return rc(n);const E=n.filter(a=>a.id!==u);let o=E.length;if(t!=null){const a=E.findIndex(s=>s.id===t);a!==-1&&(o=a)}else if(r!=null){const a=E.findIndex(s=>s.id===r);a!==-1&&(o=a+1)}return E.splice(o,0,i),rc(E)}function BY(e,u,t){const r=t??30;return(Array.isArray(e)?e:[]).map((n,i)=>{const E=new Date(u);return E.setSeconds(E.getSeconds()+r*i),{...n,timestamp:E}})}function wY(e,u,t){const r=Array.isArray(u)?u:[],n=s=>s&&Array.isArray(s.extraCategory)&&s.extraCategory.includes(t),i=new Map(r.map(s=>[s.id,s])),E=new Set,o=[];for(const s of Array.isArray(e)?e:[]){const A=i.get(s);n(A)&&!E.has(A.id)&&(o.push(A),E.add(A.id))}const a=LP(r.filter(s=>n(s)&&!E.has(s.id)),"timestamp");return[...o,...a]}var bY={sortByDisplayOrder:LP,reindex:rc,moveToIndex:yY,resolveDragTarget:vY,restampDisplayOrder:BY,resolveSmartRailOrder:wY};function xY(e){return e.key||e.path}function MP(e,u=6){e=String(e).replace(/[^0-9.]/g,"");const t=e.split(".");return t.length>1?t[0]+"."+t[1].slice(0,u):e.endsWith(".")?t[0]+".":t[0]}function CY(e){const u=MP(e.replace(/[^0-9\.]/g,""),2);return u==="."?"":u}function DY(e,u=3){let t=100;e>1800?t=300:e>1280?t=250:e>1e3?t=200:e>700?t=150:t=Math.floor(e/(u===3?4:3));const r=e/t,n=Math.floor(r)>u?Math.floor(r):u;return r-2*n*5<n&&n>u?n-1:n}function SY(e){return e>2e3?4:e>1600?3:e>700?2:1}function FY(e){const u={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",จ:"0",ๅ:"1","/":"2","-":"3",_:"3",ภ:"4",ถ:"5","ุ":"6","ึ":"7",ค:"8",ต:"9"};return e.split("").map(r=>u[r]||r).join("")}function _Y(e,u){if(!Array.isArray(e))return[];const t=Math.floor(e.length/u);let r=e.length-t*u;for(;r!==u&&r!==0;)e=[...e,{key:`empty-${r}`,empty:!0}],r++;return e}
67function IY(e,u=2){return(e==null?void 0:e.toLocaleString(void 0,{minimumFractionDigits:u,maximumFractionDigits:u}))||""}function TY(e){return Number.isFinite(Number(e))?Math.floor(Number(e)).toLocaleString("en-US"):""}function PY(e){return Number(e.replace(/[^0-9]/g,""))}function OY(e){return e.replace(/[^0-9]/g,"")}function kY(e){return e==null?void 0:e.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}function UY(e){if(typeof e=="number")return Number.isFinite(e)?e:NaN;if(typeof e!="string")return NaN;const u=e.trim();if(u==="")return NaN;const t=/^-/.test(u),r=u.replace(/[^0-9.,]/g,"");if(!/[0-9]/.test(r))return NaN;const n=Math.max(r.lastIndexOf("."),r.lastIndexOf(","));let i=r,E="";if(n!==-1){const s=r.slice(n+1);/^[0-9]{1,2}$/.test(s)&&(i=r.slice(0,n),E=s)}const o=i.replace(/[^0-9]/g,"");if(o===""&&E==="")return NaN;const a=+((o||"0")+(E?"."+E:""));return Number.isFinite(a)?t?-a:a:NaN}function QY(e){var u;return(u=Number(e))==null?void 0:u.toLocaleString()}function LY(e){return!e&&e!==0?"-":Number(e).toLocaleString("th-TH",{minimumFractionDigits:2,maximumFractionDigits:2})}function MY(e){e=e.replace(/[^0-9\.]/g,"");var u="",t=e.split("."),r=t[0];if(t[1]){var u=t[1];u="."+u}return r&&t[1]==""&&(r=r+"."),e=r+u,e}var Pc={parseMoneyText:UY,menuGridKeyExtractor:xY,decimalNumber:MP,twoDigitNumber:CY,calcNumColumns:DY,calcNumColumnsByBreakpoint:SY,convertToNumber:FY,formatData:_Y,formatDecimal:IY,formatInteger:TY,digitsToNumber:PY,onlyDigits:OY,formatCurrency:kY,formatPrice:QY,formatAmount:LY,multiDigitNumber:MY};const{tsMillis:Ah}=tt,RP=["name","imageId","mLogo","type","warehouseCategory","shopTypes","shopCategory","channel","smartOption","logistics","routes","tax","vat","payment","bomCategory","humanResource","humanRight","mPromotion","mStory","mLevelStatus","mLevel","mPoint","aboutUs","mContact","mQuestion","mInfo","mCoupon","mCredit","mVoucher","expirePoint","expireCredit","notiSalesIn","notiPayment","lineNotify","lineMessaging","customerTypes","multiWarehouses","timezone"];function RY(e,u){const t=u||{},r={id:e||""};for(const n of RP)t[n]!==void 0&&(r[n]=t[n]);return r.timestamp=Ah(t.timestamp),r.mCoupon=(Array.isArray(t.mCoupon)?t.mCoupon:[]).map(n=>({...n||{},startDate:Ah(n&&n.startDate),endDate:Ah(n&&n.endDate)})),r}var NY={readFranchise:RY,FRANCHISE_FIELDS:RP};function $Y(e){return e===!0}function YB(e,u,t){const r=String(u),n=Array.isArray(e)?e:[],i=n.some(E=>String(E)===r);return t&&!i?[...n,r]:!t&&i?n.filter(E=>String(E)!==r):n}function XB(e,u,t,r,n){let i;for(const E of e)!E||String(E.channel)!==String(n)||(E.itemRef===u[t]||E.itemRef===u[r])&&(i=E.hidden);return i}function HY(e,u,t){if(!Array.isArray(e)||!Array.isArray(u)||!u.length)return e;let r=!1;const n=e.map(i=>{const E=Array.isArray(i.value)?i.value:[];let o=!1;const a=E.map(s=>{const A=XB(u,s,"id","name",t);if(A===void 0)return s;const c=YB(s.hiddenChannels,t,A);return c===s.hiddenChannels?s:(o=!0,{...s,hiddenChannels:c})});return o?(r=!0,{...i,value:a}):i});return r?n:e}function jY(e,u,t){if(!Array.isArray(e)||!Array.isArray(u)||!u.length)return e;let r=!1;const n=e.map(i=>{const E=XB(u,i,"optionId","optionTopic",t);if(E===void 0)return i;const o=YB(i.hiddenChannels,t,E);return o===i.hiddenChannels?i:(r=!0,{...i,hiddenChannels:o})});return r?n:e}function KY(e,u){if(!Array.isArray(u)||!u.length)return e;const t=Array.isArray(e)?e:[];let r=t;
67for(const n of u){if(!n||typeof n.unitId!="string"||!n.unitId)continue;const i=Number(n.qty);if(!Number.isFinite(i)||i<=0)continue;const E=r.findIndex(o=>String(o.id)===String(n.unitId));r===t&&(r=[...t]),E>=0?r[E]={...r[E],qty:i}:r.push({id:n.unitId,qty:i})}return r}function WY(e,u,t){const r=Array.isArray(e)?e:[],n=Array.isArray(t)?t:[],i=o=>{const a=n.find(s=>String(s.id)===String(o));return a?`${a.rawMatName} · ${a.name}`:String(o)},E=[];for(const o of Array.isArray(u)?u:[]){if(!o||typeof o.unitId!="string"||!o.unitId)continue;const a=Number(o.qty);if(!Number.isFinite(a)||a<=0)continue;const s=r.find(A=>String(A.id)===String(o.unitId));if(s){const A=Number(s.qty)||0;A!==a&&E.push(`${i(o.unitId)}: ${A} → ${a}`)}else E.push(`${i(o.unitId)}: + ×${a}`)}return E}var VY={normalizeHideEmpty:$Y,setHidden:YB,decideHidden:XB,applyCategoryVisibility:HY,applyOptionVisibility:jY,applyPackagingPrefill:KY,summarizePackagingPrefill:WY};const{someInArray:zY}=Er;function GY(e,u,t){const r=[];for(const n of u)zY(e,"id",n.id)||r.push(n);return[...r,t].filter(n=>n.level<=t.level)}var YY={manageCategory:GY};function NP(e,u){return e.length===u.length&&e.every((t,r)=>t===u[r])}function XY(e,u,t){const r=[];for(const n of e)NP(n[u],t)&&r.push(n);return r}var $P={compareArrays:NP,filterInCompareArray:XY};const{findInArray:ZY}=Er,{filterInCompareArray:qY}=$P;function JY(e,u,t,r){if(!e||!u)return!0;const n=u.find(i=>i.categoryId===t);return!n||n.rights.includes(r)}function eX(e,u){const{level:t,value:r}=u,n=ZY(e,"level",t-1);let i=[];return t===1?i=r:n&&n.id&&(i=qY(r,"aboveId",[...n.aboveId,n.id])),i}var uX={canUseCategory:JY,checkCategory2:eX};function tX(e,u,t,r){if(!e||!u)return!0;const n=u.find(i=>i.optionId===t);return n?r==="deleteOption"?!1:n.rights.includes(r):!0}var rX={canUseOption:tX};const{twoDigitNumber:HP}=Pc,jP="1";function nX(e,u){if(!u||typeof u!="object")return e;let t=e;if(typeof u.name=="string"&&u.name.trim()&&(t={...t,name:u.name.trim()}),Array.isArray(u.price)&&u.price.length){const r=Array.isArray(t.price)?t.price.map(i=>({...i})):[];let n=!1;for(const i of u.price){if(!i||i.price==null)continue;const E=Number(i.price);if(!Number.isFinite(E)||E<0)continue;const o=String(i.channel==null?jP:i.channel),a=HP(String(i.price)),s=r.findIndex(A=>String(A.id)===o);s>=0?r[s]={...r[s],price:a}:r.push({id:o,price:a,status:!0}),n=!0}n&&(t={...t,price:r})}return t}function iX(e){const u=[];if(e&&typeof e.name=="string"&&e.name.trim()&&u.push(`ชื่อเมนู: ${e.name.trim()}`),e&&Array.isArray(e.price))for(const t of e.price)t&&t.price!=null&&Number.isFinite(Number(t.price))&&Number(t.price)>=0&&u.push(`ราคา (ช่อง ${t.channel==null?jP:t.channel}): ${HP(String(t.price))}`);return u}var EX={applyProductPrefill:nX,summarizeProductPrefill:iX};const KP=["name","phone","taxId","address"];function oX(e,u){if(!e||typeof e!="object"||!u||typeof u!="object")return e;let t=e;for(const r of KP){if(!(r in u))continue;t===e&&(t={...e});const n=u[r]==null?"":String(u[r]);t[r]=r==="phone"?n.replace(/[^0-9]/g,""):n}return t}var aX={applyProfilePrefill:oX,PROFILE_PREFILL_FIELDS:KP};function sX(e,u){return!Array.isArray(e)||!Array.isArray(u)||!u.length?e:e.map(t=>{let r=t;for(const n of u)!n||n.type!==t.type||n.day!=="all"&&n.day!=null&&n.day!==t.day||(r===t&&(r={...t}),n.allTime!=null&&(r.allTime=n.allTime),n.status!=null&&(r.status=n.status),n.allTime===!0||(n.startTime!=null&&(r.startTime=n.startTime),n.endTime!=null&&(r.endTime=n.endTime)));return r})}var AX={applyDaysPrefill:sX};const O9=16;function cX(e=""){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function lX(e){const u=parseFloat(e);return isNaN(u)?"-":u.toLocaleString("th-TH",{minimumFractionDigits:2,maximumFractionDigits:2})}function fX(e){return e==="exclude"?"VAT 7% (ไม่รวม)":e==="include"?"VAT 7% (รวมแล้ว)":"ไม่มี VAT"}function dX(e={}){return(e.boms||[]).map((u,t)=>({index:t+1,bomName:u.rawMatName||u.bomName||u.bomId||"-",orderedQty:u.orderedQty,unitName:u.unitName||"",unitPrice:u.unitPrice,total:parseFloat(u.orderedQty||0)*parseFloat(u.unitPrice||0)}))}function pX(e){if(e.length===0)return[[]];const u=[];for(let t=0;t<e.length;t+=O9)u.push(e.slice(t,t+O9));return u}function hX(e=[]){const u=new Map;return e.forEach(t=>
67{(t.unit||[]).forEach(r=>{u.set(r.id,{rawMatName:t.name,unitName:r.name})})}),u}var mX={escapeHtml:cX,fmt:lX,vatLabel:fX,buildPoItems:dX,chunkPoItems:pX,buildBomMap:hX};const{tsMillis:ao}=tt;function gX(e,u,t){if(!Array.isArray(t))throw new TypeError("readShop: ต้องส่ง fields (string[]) — whitelist จาก Object.keys(Shop.shape)");const r=u||{},n={id:e||""};for(const i of t)r[i]!==void 0&&(n[i]=r[i]);return n.createdDate=ao(r.createdDate),n.cutOff=ao(r.cutOff),n.happyHour={...r.happyHour||{},startTime:ao(r.happyHour&&r.happyHour.startTime),endTime:ao(r.happyHour&&r.happyHour.endTime)},n.smartTable=(Array.isArray(r.smartTable)?r.smartTable:[]).map(i=>({...i||{},timestamp:ao(i&&i.timestamp)})),n.vip=(Array.isArray(r.vip)?r.vip:[]).map(i=>({...i||{},expire:ao(i&&i.expire)})),n}var yX={readShop:gX};const WP=["vip","_lastModifiedMeta"],vX=new Set(WP);function BX(e,u){if(!Array.isArray(u))throw new TypeError("checkShopWrite: ต้องส่ง fields (string[]) — whitelist จาก Object.keys(Shop.shape)");const t=new Set(u),r={allowed:{},denied:[],unknown:[]};if(!e||typeof e!="object"||Array.isArray(e))return r;for(const n of Object.keys(e))vX.has(n)?r.denied.push(n):t.has(n)?r.allowed[n]=e[n]:r.unknown.push(n);return r}var wX={SHOP_WRITE_DENY:WP,checkShopWrite:BX};const bX=Object.freeze(["none","print"]),VP="none",xX=Object.freeze(["none","kds","kds-print"]),zP="kds-print";function CX({current:e,language:u,payment:t,receipt:r,order:n,payReady:i}){const E={selfOrderingEnable:e,selfOrderingLanguage:e?u:!1,selfOrderingReceipt:e?r:VP,selfOrderingOrder:e?n:zP};return e?i&&(E.selfOrderingPayment=Array.isArray(t)?t:[]):E.selfOrderingPayment=[],E}function DX(e,u,t){const r=Array.isArray(e)?e:[];if(r.includes(u))return r.filter(E=>E!==u);const n=Array.isArray(t)?t:[];return[...n.includes(u)?r.filter(E=>!n.includes(E)):r,u]}function SX(e){return typeof e=="string"&&e.startsWith("http")}function FX(e,u){const t=Array.isArray(e)?e:[],r=n=>Object.prototype.hasOwnProperty.call(u,n);return t.map(n=>({...n,value:(Array.isArray(n.value)?n.value:[]).map(i=>{if(!i||!r(i.id))return i;const E=u[i.id];if(!E){const{image:o,...a}=i;return a}return{...i,image:E}})}))}var _X={SELF_ORDERING_RECEIPT_VALUES:bX,SELF_ORDERING_RECEIPT_DEFAULT:VP,SELF_ORDERING_ORDER_VALUES:xX,SELF_ORDERING_ORDER_DEFAULT:zP,buildSelfOrderingSaveField:CX,toggleSelfOrderingPayment:DX,isRemoteImage:SX,applyCategoryImages:FX};const IX=/^\d{13}$/;function TX(e,u){if(!u||!Array.isArray(u.vatKeys))throw new TypeError("validateSupplier: ต้องส่ง opts.vatKeys (string[]) — enum ประเภทภาษีจากผู้เรียก (VAT_KEYS)");const t=(E,o)=>Object.prototype.hasOwnProperty.call(E,o),r=E=>E==null?"":typeof E=="string"?E:String(E),n=u.vatKeys;if((!!u.requireName||t(e,"name"))&&r(e.name).trim()==="")return{error:"bad_name",message:"ชื่อผู้ขายต้องไม่เว้นว่าง — กรอกชื่อผู้ขายก่อนบันทึกนะครับ"};if(t(e,"taxId")){const E=r(e.taxId).trim();if(E!==""&&!IX.test(E))return{error:"bad_tax_id",message:"เลขประจำตัวผู้เสียภาษีต้องเป็นตัวเลข 13 หลักพอดี (ถ้ายังไม่มี เว้นว่างไว้ได้)"}}if(t(e,"vat")&&!n.includes(e.vat))return{error:"bad_vat",message:`ประเภทภาษีต้องเป็น ${n.join(" / ")} อย่างใดอย่างหนึ่ง — เลือกประเภทภาษีที่จอผู้ขายก่อนบันทึกนะครับ`};if(t(e,"creditTerm")){const E=r(e.creditTerm).trim(),o=Number(E);if(E!==""&&(!Number.isFinite(o)||o<0))return{error:"bad_credit_term",message:"เครดิตเทอมต้องเป็นตัวเลขจำนวนวัน ตั้งแต่ 0 ขึ้นไป (ถ้าไม่มีเครดิต ใส่ 0 หรือเว้นว่างไว้ได้)"}}return null}var PX={validateSupplier:TX};const{findInArray:nc}=Er;function ZB({expectedStock:e,stock:u,unit:t}={}){var o;if(!e||e.status!==!0)return null;const r=Number((o=nc(Array.isArray(t)?t:[],"id",e.id))==null?void 0:o.amount),n=Number(e.qty),i=Number(u);
67if(!isFinite(r)||r<=0||!isFinite(n)||!isFinite(i))return null;const E=n*r-i;return E>0?E:null}function OX({activePRs:e,activePOs:u,rawMatId:t}={}){const r=E=>{const o=Number(E);return isFinite(o)?o:null},n=E=>E&&Array.isArray(E.boms)?E.boms:[];if(!t)return 0;let i=0;for(const E of Array.isArray(e)?e:[])if(!(!E||E.process!=="waiting"))for(const o of n(E)){if(!o||o.rawMatId!==t)continue;const a=r(o.qty),s=r(o.amount);a===null||s===null||a<=0||s<=0||(i+=a*s)}for(const E of Array.isArray(u)?u:[]){if(!E||E.process==="completed"||E.process==="cancel")continue;const o=E.receivedSummary&&typeof E.receivedSummary=="object"?E.receivedSummary:{};for(const a of n(E)){if(!a||a.rawMatId!==t)continue;const s=r(a.orderedQty),A=r(a.amount);if(s===null||A===null||A<=0)continue;const c=r(o[a.unitId]),l=Math.max(0,s-Math.max(0,c===null?0:c));i+=l*A}}return i}function kX({expectedStock:e,stock:u,unit:t,rowAmount:r,pendingBase:n}={}){const i=Number(r);if(!isFinite(i)||i<=0)return null;const E=ZB({expectedStock:e,stock:u,unit:t});if(E===null)return null;const o=Number(n),a=E-(isFinite(o)&&o>0?o:0);return a<=0?null:Math.ceil(a/i)}function qB({product:e,units:u}={}){const t=E=>{const o=Number(E);return isFinite(o)?o:null},r=e&&Array.isArray(e.BOM)?e.BOM:[],n=Array.isArray(u)?u:[],i=[];for(const E of r){if(!E)continue;const o=nc(n,"id",E.id);if(!o||!o.id||!o.rawMatId)continue;const a=t(o.amount),s=t(E.qty);if(a===null||a<=0||s===null||s<=0)continue;const A=a*s,c=nc(i,"rawMatId",o.rawMatId);c?c.perProductBase+=A:i.push({rawMatId:o.rawMatId,perProductBase:A})}return i}function UX({orders:e,units:u}={}){var n;const t=i=>{const E=Number(i);return isFinite(E)?E:null},r={};for(const i of Array.isArray(e)?e:[]){if(!i||i.process==="success"||i.process==="cancel")continue;const E=Array.isArray(i.inboundProduct)?i.inboundProduct:[];for(const o of Array.isArray(i.product)?i.product:[]){if(!o)continue;const a=o.soQty===null||o.soQty===void 0||o.soQty===""?null:t(o.soQty),s=a!==null&&a>=0?a:t(o.qty);if(s===null||s<=0)continue;const A=t((n=nc(E,"id",o.id))==null?void 0:n.inboundQty),c=Math.max(0,s-Math.max(0,A===null?0:A));if(!(c<=0))for(const{rawMatId:l,perProductBase:f}of qB({product:o,units:u}))r[l]=(r[l]||0)+c*f}}return r}function QX({product:e,units:u,boms:t,pendingBase:r}={}){const n=s=>{const A=Number(s);return isFinite(A)?A:null},i=qB({product:e,units:u});if(i.length===0)return null;const E=Array.isArray(t)?t:[],o=r&&typeof r=="object"?r:{};let a=0;for(const{rawMatId:s,perProductBase:A}of i){const c=nc(E,"id",s),l=ZB(c||{});if(l===null)continue;const f=n(o[s]),p=l-(f!==null&&f>0?f:0);if(p<=0)continue;const h=Math.ceil(p/A);h>a&&(a=h)}return a<=0?null:a}var LX={shouldOrderMoreBase:ZB,pendingOrderBase:OX,refillQty:kX,productRawMatRows:qB,franchisePendingBase:UX,franchiseRefillProductQty:QX};const{toDate:so}=tt;function MX(e,u,t=new Date){const{shop:r,option:n,choice:i,category:E}=u,{smartTable:o,cutOff:a,happyHour:s,smartOption:A,smartCategory:c,smartTopSale:l,smartRecommend:f,smartPromotion:p,smartRequest:h,vip:w,createdDate:m,...g}={...r,...e};return{...g,cutOff:so(a),smartTable:o.map(v=>({...v,timestamp:so(v.timestamp)})),smartOption:A.map(v=>({...n,...v,choice:v.choice.map(d=>({...i,...d}))})),happyHour:{...s,startTime:so(s.startTime),endTime:so(s.endTime)},smartCategory:c.map(v=>({...v,value:v.value.map(d=>({...E,...d}))})),smartTopSale:{nameLanguage:[],...l},smartRecommend:{nameLanguage:[],...f},smartPromotion:{nameLanguage:[],...p},smartRequest:h.map(v=>({nameLanguage:[],...v})),vip:w.map(v=>({...v,expire:so(v.expire)})),createdDate:m?so(m):t}}var RX={handleFetchShop:MX};function NX(e,u){const t=Array.isArray(u)?u:[];if(!Array.isArray(e))return[...t];const r=new Set(e.filter(Boolean).map(n=>n.type));return[...e,...t.filter(n=>n&&!r.has(n.type))]}var $X={mergeVipDefaults:NX};const{formatTime:ch}=tt,{getHoursMinute:Dl}=es,sg="00:00";function HX({smartKitchen:e,kitchenType:u,cutOff:t,tz:r}={},n){const i=g=>Number(g.slice(0,2))*60+Number(g.slice(3,5)),E=u==="category"?"category":"boxProduct",o=Array.isArray(e)?e:[],a={key:E,closedStationIds:[],closedIds:[]};if(o.length===0)return a;const s=t==null?sg:Dl(ch(t),r),A=i(/^\d{2}:\d{2}$/.test(s)?s:sg),c=g=>(i(g)-A+1440)%1440,l=Dl(n,r),f=c(l),p=i(l),h=(g,v)=>g.closeKitchenVerified===!0&&g.openKitchenTime!=null&&/^\d{2}:\d{2}$/.test(v),w=[],m=[];for(const g of o){if(!g||g.closeKitchen!==!0)continue;
67const v=Dl(ch(g.closeKitchenTime),r),d=Dl(ch(g.openKitchenTime),r);if(h(g,d)){const b=i(v),C=(i(d)-b+1440)%1440;if(!((p-b+1440)%1440<C))continue}else{const b=c(v);if(b===0||!(f>b))continue}g.id!==void 0&&g.id!==null&&w.push(g.id);const y=g[E];if(Array.isArray(y))for(const b of y)m.push(b)}return{key:E,closedStationIds:w,closedIds:m}}function jX(e,u){if(!e||!u||!Array.isArray(u.closedIds)||u.closedIds.length===0)return!1;const t=new Set(u.closedIds);return u.key==="category"?(Array.isArray(e.category)?e.category:[]).some(n=>t.has(n)):t.has(e.id)}var KX={closedKitchenScope:HX,isProductInClosedKitchen:jX,DEFAULT_KITCHEN_CUT_OFF:sg};const{parseMoneyText:WX}=Pc,{choiceLabel:Ag}=b2;function VX(e){return!e||typeof e!="string"?!1:/^(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}$/.test(e.trim())}const GP={star:"star",star_lan:"star_lan",sunmi:"Sunmi",fyj:"FYJ",usb:"USB",bluetooth:"Bluetooth",lan:"wifi/lan"},cg={Bluetooth:"bluetooth",Sunmi:"sunmi",FYJ:"fyj",USB:"usb",star:"star",star_lan:"star","wifi/lan":null};function YP(e){const u=String(e||"").toLowerCase();return u==="bt"||u==="bluetooth"?"bluetooth":"sticker"}function zX(e={}){const{printerType:u,transport:t,dataType:r,stickerType:n}=e;if(r==="sticker")return YP(n);const i=t?GP[t]:u;return i==null?null:Object.prototype.hasOwnProperty.call(cg,i)?cg[i]:null}const XP=1.2;function GX(e,u=XP){const t=e&&e.value;return t?{...e,value:{...t,table:Math.round((t.table||0)*u),time:Math.round((t.time||0)*u),menu:Math.round((t.menu||0)*u)}}:e}function ZP(e,{ipAddress:u,stationId:t}={}){const r=e||"lan";return r==="lan"?{transport:"lan",viaBridge:!1,driverId:"escpos-lan",targetKey:u?`lan:${u}`:null}:{transport:r,viaBridge:!0,driverId:"bridge",targetKey:`front:${r}:${r==="star_lan"&&u?u:t||r}`}}function JB(e,u,t,{nonAllAsEach:r=!1}={}){const n=[],i=new Set;for(const E of e){const o=i.has(E);if(E==="all"&&n.push(t({patternType:E,product:u,isCopy:o})),E==="each"||r&&E!=="all")for(const a of u)n.push(t({patternType:E,product:[a],isCopy:o}));i.add(E)}return n}function YX(e,u={}){const t=u.now||(()=>new Date),r=u.idGen||(()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,S=>{const F=Math.random()*16|0;return(S==="x"?F:F&3|8).toString(16)})),{order:n,smartKitchen:i=[],kitchenType:E="category",railOrder:o}=e,{product:a,personName:s,tableName:A="",process:c,type:l="normal"}=n,f=[],p=[],h=[],w=(S=[],F="")=>S.flatMap(({choice:I,optionTopic:R})=>{const X=I.filter(J=>J.chose==!0);return X.length>0?[`${F}${R} : ${X.map(Ag).join(",")}`]:[]}),m=(S,F=1,I="")=>S.map(({qty:R,name:X,option:J,addOn:ee})=>{let L=[`  ${X} x ${R*F}`];return L.push(...w(J,I)),ee&&L.push(`${I}${ee}`),L.join(`
68`)}),g=(S,F,I,R)=>S.map(({qty:X,name:J,nameLanguage:ee,option:L,addOn:j})=>{const ue=r1({name:J,nameLanguage:ee},R),N=[`  ${ue.primary} x ${X*F}`];ue.secondary&&N.push(`  ${ue.secondary}`);for(const Z of fg(L,R))N.push(`${I}${Z.primary}`),Z.secondary&&N.push(`${I}${Z.secondary}`);return j&&N.push(`${I}${j}`),N.join(`
69`)}),v=(S,F,I)=>{const X=(F||"lan")==="lan"&&I!=="graphic"&&S?qP(S,"text").value:S;return X&&X.count===2?(J,ee,L)=>g(J,ee,L,X):m},d=a.map(S=>{var F;if(((F=S.option)==null?void 0:F.length)>0){const I=S.option.reduce((R,{choice:X,optionTopic:J})=>{const ee=X.filter(L=>L.chose==!0);return ee.length>0&&R.push(`${J} : ${ee.map(Ag).join(",")}`),R},[]);return{...S,option:I}}return S});if(i.length===0)return{jobs:f,sentToFronts:p,bridgeJobs:h,noKitchen:[]};const y=[],b=new Set;for(const S of i){const{name:F,ipAddress:I,pattern:R,mode:X,size:J,boxProduct:ee=[],category:L=[],transport:j,printLang:ue}=S,N=ue?{printLang:ue}:{},Z=us(ue),q=!!Z&&Z.count===2,k=v(Z,j,X),z=[],W=new Set(ee),Ee=E==="category",ce=new Set(L),pe=Ee?le=>le.category.length>0&&le.category.some(fe=>ce.has(fe)):le=>W.has(le.id);for(let le=0;le<d.length;le++){const fe=d[le],{category:Ve,name:Xe,addOn:ze,option:Qe,qty:Le,channelId:De,id:Me,boxStatus:_=!1,boxCart:x=[],boxSplit:D=!1,nameLanguage:O}=fe,V=O?{nameLanguage:O}:{};if(_){const oe=[];if(x.forEach((ie,be)=>{pe(ie)&&(oe.push(ie),b.add(le+":"+be))}),D){const ie=Number(Le);for(let be=1;be<=ie;be++)if(oe.length>0){const Re=k(oe,1,Ee?"      ":"");z.push({name:`${Xe}(${be}/${ie})`,...V,addOn:ze,option:Re,qty:1,channelId:De})}}else if(oe.length>0){const ie=k(oe,Le,Ee?"         ":"");z.push({name:Xe,...V,addOn:ze,option:ie,qty:Le,channelId:De})}}else if(Ee?Ve.length>0&&Ve.some(ie=>ce.has(ie)):W.has(Me)){const ie=a[le]&&a[le].option,be=q&&Array.isArray(ie)&&ie.length>0?fg(ie,Z):Qe;z.push({name:Xe,...V,addOn:ze,option:be,qty:Le,channelId:De}),b.add(String(le))}}z.length>0&&y.push({id:S.id,kitchenName:F,product:z,ipAddress:I,pattern:R,mode:X,size:J,transport:j,...N})}const C=[];d.forEach((S,F)=>
69{S.process!=="served"&&(S.boxStatus?(S.boxCart||[]).forEach((I,R)=>{b.has(F+":"+R)||C.push({name:`${S.name} › ${I.name}`,qty:I.qty,option:[]})}):b.has(String(F))||C.push({name:S.name,qty:S.qty,option:Array.isArray(S.option)?S.option:[]}))});for(const S of y){const{product:F,kitchenName:I,ipAddress:R,pattern:X,mode:J="text",size:ee,id:L,transport:j,printLang:ue}=S,N=ZP(j,{ipAddress:R,stationId:L});if(N.driverId==="escpos-lan"&&N.targetKey===null)continue;const Z={...n,statusType:l,ipAddress:R,kitchenName:I,channel:A,staffName:s,customerQty:1,encoding:"thai",size:ee,...ue?{printLang:ue}:{},transport:N.transport,driverId:N.driverId,targetKey:N.targetKey,type:"order",dataType:"order",printedAt:t(),...o===void 0?{}:{railOrder:o}},q=N.viaBridge?h:J==="graphic"?p:f,k=new Set(["backProduct","cancelProduct","moveOrder"]),z=new Set(["moveTable","moveItem"]);let W=X;(k.has(c)||z.has(l))&&(W=["all"]);for(const Ee of JB(W,F,({patternType:ce,product:pe,isCopy:le})=>({...Z,patternType:ce,product:pe,id:r(),isCopy:le})))q.push(Ee)}return{jobs:f,sentToFronts:p,bridgeJobs:h,noKitchen:C}}function XX(e,u){const{product:t}=e;return JB(u,t,({product:r,isCopy:n})=>({...e,product:r,isCopy:n}),{nonAllAsEach:!0})}const lg=7,Ia=["th","en","km","lo","my","vi","zh"],t1=["th","en"],qf={S:{header:[1,1],item:[0,0]},M:{header:[1,2],item:[0,1]},L:{header:[2,2],item:[1,1]},XL:{header:[2,3],item:[1,2]}};function ZX(e){const u=i=>i<0?0:i>lg?lg:i,t=e&&typeof e=="object"?e:{};if(typeof t.textStep=="number"&&Number.isFinite(t.textStep)){const i=Math.trunc(t.textStep);return{header:[u(1+i),u(1+i)],item:[u(0+i),u(0+i)]}}const r=t.textV2===!0&&typeof t.id=="string"?t.id.trim().toUpperCase():"",n=Object.prototype.hasOwnProperty.call(qf,r)?qf[r]:qf.S;return{header:n.header.slice(),item:n.item.slice()}}function us(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const u=e.count;if(u!==1&&u!==2)return null;const t=e.slots;if(!Array.isArray(t)||t.length!==u||!t.every(n=>typeof n=="string"&&Ia.includes(n)))return null;const r=typeof e.srcLang=="string"?e.srcLang.trim():"";return{count:u,slots:t.slice(),...r?{srcLang:r}:{}}}function qX(e,u){const t=u&&typeof u=="object"?u:{},r=Array.isArray(t.multiLanguage)?t.multiLanguage[0]:null,n=r&&typeof r.brev=="string"?r.brev.trim():"",i=s=>n?{...s,srcLang:n}
69:s,E=us(e&&e.printLang);if(E)return i(E);const o=typeof t.defaultLanguage=="string"&&Ia.includes(t.defaultLanguage)?t.defaultLanguage:"th",a=t.kitchenLanguage;return typeof a=="string"&&Ia.includes(a)&&a!=="off"?i({count:2,slots:[o,a]}):i({count:1,slots:[o]})}function JX(e,u){const t=e&&typeof e=="object"?e:{},r=u==="text"?t1:Ia,n=t.defaultLanguage;let i=typeof n=="string"&&Ia.includes(n)?n:"th";r.includes(i)||(i="th");const E=[i];for(const o of Array.isArray(t.multiLanguage)?t.multiLanguage:[]){const a=o&&typeof o.brev=="string"?o.brev.trim():"";!a||!r.includes(a)||E.includes(a)||E.push(a)}return{primary:i,langs:E}}function qP(e,u){const t=us(e);if(!t)return{value:{count:1,slots:["th"]},changed:e!=null};if(u!=="text")return{value:t,changed:!1};const r=[];let n=!1;const i=t.slots[0];return t1.includes(i)?r.push(i):(r.push("th"),n=!0),t.count===2&&(t1.includes(t.slots[1])?r.push(t.slots[1]):n=!0),{value:{count:r.length===2?2:1,slots:r,...t.srcLang?{srcLang:t.srcLang}:{}},changed:n}}function r1(e,u){const t=e&&typeof e=="object"?e:{},r=t.name==null?"":String(t.name),n=s=>{const A=t.nameLanguage;if(!A||!s)return"";if(Array.isArray(A)){const c=A.find(l=>l&&(l.brev===s||l.code===s));return c&&(c.content||c.name||c.value)||""}return typeof A=="object"&&typeof A[s]=="string"?A[s]:""},i=us(u);if(!i)return{primary:r,secondary:null};const E=s=>{if(i.srcLang&&s===i.srcLang)return"";const A=n(s);return String(A).trim()===r.trim()?"":A},o=E(i.slots[0])||r,a=i.count===2?E(i.slots[1])||r:null;return{primary:o,secondary:a!==null&&a!==o?a:null}}function fg(e,u){const t=us(u),r=[];for(const n of Array.isArray(e)?e:[]){if(!n||!Array.isArray(n.choice))continue;const i=n.choice.filter(l=>l&&l.chose==!0);if(i.length===0)continue;const E=r1({name:n.optionTopic,nameLanguage:n.optionTopicLanguage},t),o=i.map(l=>r1({name:l.choiceName,nameLanguage:l.choiceNameLanguage},t)),a=(l,f)=>f==="secondary"&&l.secondary===null?l.primary:l[f],s=l=>`${a(E,l)} : ${i.map((f,p)=>Ag({...f,choiceName:a(o[p],l)})).join(",")}`,A=s("primary"),c=t&&t.count===2?s("secondary"):null;r.push({primary:A,secondary:c!==null&&c!==A?c:null})}return r}function eZ(e,u,t){if(!t)return e;if(!Array.isArray(e))return[];const r=new Set(Array.isArray(u)?u:[]);return e.filter(n=>n!=null&&r.has(n.id))}function uZ(e,u,t){const r=WX(e),n=Number(u);if(!Number.isFinite(r)||!Number.isFinite(n)||n<=0)return"";const i=typeof t=="function"?t(r/n):String(r/n);return i==null?"":String(i)}var tZ={channelOf:zX,TRANSPORT_TO_TYPE:GP,TYPE_TO_CHANNEL:cg,stickerChannel:YP,scaleOrderFontSize:GX,FYJ_FONT_SCALE:XP,kitchenTransportRoute:ZP,expandPatternJobs:JB,preparePrintJobsFromOrder:YX,preparePrintJobsForSunmi:XX,isValidPrinterIp:VX,kitchenTextSize:ZX,KITCHEN_TEXT_SIZE_LADDER:qf,ESCPOS_SIZE_MAX:lg,normalizePrintLang:us,resolvePrintLang:qX,sanitizePrintLang:qP,kitchenItemName:r1,kitchenOptionLines:fg,KITCHEN_PRINT_LANGS:Ia,TEXT_MODE_LANGS:t1,kitchenPrintLangOptions:JX,stickerMenuFilter:eZ,stickerUnitPrice:uZ};const{plusMinute:k9}=tt;function rZ(e,u){return e?e>k9(u,30)?"#2FDF84":e>k9(u,15)?"#FFDE59":e>u?"#FF914d":"#FF5757":"#A1A4A9"}var nZ={computeBackgroundColor:rZ};function iZ({docId:e,type:u,withVisitorId:t,visitorId:r}){return{docId:e,type:u,...t?{visitorId:r||""}:{}}}function EZ(e,u,t){const{bonusData:r,shopData:n,products:i,orderHistory:E,repeatItems:o=[],tableId:a,tableName:s}=e;return{bonusData:r,shopData:n,products:i,orderHistory:E,tableId:u.tableIdFromData?a:t,profileName:"",type:u.type,docId:t,repeatItems:o,tableName:s,...u.withZone?{zoneId:e.zoneId}:{}}}function oZ({cfg:e,shopData:u,skipped:t}){if(!e.friendGate)return{check:!1,forced:!1};const r=u&&u[e.friendGate]||{},n=r.requireAddFriend===!0;return{check:!!r.channelAccessToken&&(n||!t),forced:n}}function aZ({cfg:e,shopData:u,forced:t}){return`/friend-gate?type=${e.type}&shop=${encodeURIComponent(u.name)}&sid=${encodeURIComponent(u.id||"")}&force=${t?1:0}`}function sZ(e,u,t){return e.navWithDocId?`/${u}?d=${t}`:`/${u}`}function AZ({type:e,sid:u,shop:t}={}){return u?`/${e||"pickup"}/${u}`:t?`/${t}`:""}var cZ={buildRequestBody:iZ,buildFetchPayload:EZ,friendGateCheck:oZ,friendGateUrl:aZ,navTarget:sZ,friendGateExitPath:AZ};const{mergeArrays:lZ}=Er;function JP(e,u){let t=0;switch(e){case"down":{t=Math.floor(u)-u;break}case"half":{const r=Math.floor(u),n=u-r;n>=.5?t=r+1-u:t=-1*n;break}case"up":{t=Math.ceil(u)-u;break}case"legal":{const r=Math.floor(u),n=u-r;n>=.88?t=1-n:n>=.76||n>=.63?t=.75-n:n>=.51||n>=.38?t=.5-n:n>=.26||n>=.13?t=.25-n:t=-1*n;break}}return t}function fZ({totalPrice:e,totalVatPrice:u,campaignDiscount:t,couponDiscount:r,serviceStatus:n,serviceAmount:i,vatStatus:E,vatValue:o,roun
69dingStatus:a,roundingType:s}){const A=w=>parseFloat(Number(w).toFixed(2));let c=Math.max(0,e-t-r),l="",f="",p="";n&&(l=c*i/100,c+=l);const h=Math.max(0,u-t-r)+l;if(E&&(o.type==="Include"?f=h*Number(o.amount)/(100+Number(o.amount)):(f=h*Number(o.amount)/100,c+=f)),a){const w=A(c),m=A(c+JP(s,c));p=A(m-w),c=m}return{net:c,serviceCharge:l,vat:f,rounding:p}}function dZ(e,u){let t=lZ(e,u),r=[],n=[];return t.forEach(i=>{i.void===!0?n.push(i):r.push(i)}),{bills:t,normalBills:r,voidedBills:n}}function pZ(e=[],u=[]){const t=Array.isArray(u)?u:[],r=Array.isArray(e)?e:[];if(t.length===0||r.length<t.length)return!1;const n=new Set(r.map(i=>i==null?void 0:i.tempId));return t.every(i=>(i==null?void 0:i.tempId)===void 0||n.has(i.tempId))}var eO={calcRounding:JP,computeBillCharges:fZ,manageBill:dZ,isFullBillReturn:pZ};const{computeBillCharges:U9,calcRounding:hZ}=eO;function mZ({totalPrice:e=0,totalVatPrice:u=0,discount:t="",campaignDiscount:r=0,couponDiscount:n=0,fine:i="",isDelivery:E=!1,deliveryStatus:o=!1,fixCost:a=0,freeStatus:s=!1,freeTarget:A=0,serviceStatus:c=!1,serviceAmount:l=0,gpStatus:f=!1,vatStatus:p=!1,vatValue:h={type:"Add",amount:0},credit:w="",cardSurchargeRate:m="",cardSurchargeRows:g=[],tip:v="",roundingStatus:d=!1,roundingType:y="",receive:b=0}={}){const C=x=>parseFloat(Number(x).toFixed(2)),S=Number(t)+Number(r)+Number(n),F=Math.max(0,e+Number(i)-S);let I=0;E&&o&&!(s&&Number(A)<=F)&&(I=Number(a)||0);const R=!!c&&!f&&!E,X=U9({totalPrice:F+I,totalVatPrice:0,campaignDiscount:0,couponDiscount:0,serviceStatus:R,serviceAmount:l,vatStatus:!1,vatValue:h,roundingStatus:!1,roundingType:y}),J=R?C(X.serviceCharge):"";let ee=F+I+(J||0);const L=Math.max(0,u+Number(i)-S)+J,j=ee,ue=Math.min(Number(w)||0,Number(j)||0),N=Math.min(ue,Number(L)||0);let Z=L-N;ee=Math.max(0,ee-ue);const q=h&&h.type==="Include"||f,k=ee,z=Z,W=p&&!q?1+Math.max(0,Number(h&&h.amount)||0)/100:1,Ee=(x,D)=>x/(1+W*D/100),ce=Math.max(0,Number(m)||0);let pe=0,le=0,fe=0;for(const x of Array.isArray(g)?g:[]){if(!x)continue;const D=Math.max(0,Number(x.amount)||0),O=Math.max(0,Number(x.rate)||0),V=Ee(D,O);pe+=D,le+=V,fe+=O*V}const Ve=ce>0||fe>0,Xe=x=>{let D=k+x,O=z;Ve&&(O=(Number(z)||0)+x);const V=U9({totalPrice:0,totalVatPrice:O,campaignDiscount:0,couponDiscount:0,serviceStatus:!1,serviceAmount:l,vatStatus:!!p,vatValue:f?{...h,type:"Include"}:h,roundingStatus:!1,roundingType:y});let oe="";p&&(oe=C(V.vat),q||(D+=oe));const ie=Math.max(0,Number(v)||0);ie>0&&(D+=ie);let be="";if(d){const Re=C(D),Ne=C(D+hZ(y,D));be=C(Ne-Re),D=Ne}return{net:D,vat:oe,rounding:be,tipAmount:ie}};let ze=0,Qe=Xe(0);if(Ve&&pe<=0)ze=C(k*ce/100),Qe=Xe(ze);else if(Ve){let x=0,D=null;for(let O=0;O<12;O++){const V=Xe(x),oe=V.net>pe?V.net-pe:0,ie=Ee(oe,ce),be=le+ie,Re=fe+ce*ie,Ne=be>0?C(k*Re/be/100):0;if(Ne===x)break;if(D!==null&&Ne===D){Ne<x&&(x=Ne);break}D=x,x=Ne}ze=x,Qe=Xe(x)}ee=C(Qe.net);const Le=Qe.vat,De=Qe.rounding,Me=Qe.tipAmount,_=C(b);return{net:ee,serviceCharge:J,vat:Le,rounding:De,deliveryFee:I,totalDiscount:S,maxCredit:j,appliedCredit:ue,cardSurcharge:ze,tipAmount:Me,receive:_,diff:C(_-ee),remain:ee-_>0?C(ee-_):0,editable:ee-_>0}}var gZ={computeCheckoutTotals:mZ};const{resolveChannelPackaging:yZ}=dP,{findInArray:Sl}=Er,{choiceQtyOf:ew}=b2,{formatDecimal:vZ}=Pc,Q9=4;function oE(e){if(!Number.isFinite(e))return e;const u=e*10**Q9;return Number.isFinite(u)?Math.round(u)/10**Q9:e}function uw(e){var u;return((u=e==null?void 0:e.boxCart)==null?void 0:u.length)>0?[{...e,BOM:e.BOM||[],option:e.option||[]},...e.boxCart.map(t=>({...t,qty:Number(t.qty)*Number(e.qty)}))]:[e]}function BZ(e,u){var n;let t=0;const r=e.flatMap(uw);for(const{BOM:i,option:E,qty:o}of r){const a=[];if(E.length>0){for(const s of E)for(const A of s.choice)if(A.chose===!0&&((n=A.BOM)!=null&&n.length)){const c=ew(A);for(const l of A.BOM)a.push({...l,qty:Number(l.qty)*c})}}if(i.length>0&&a.push(...i),a.length>0)for(const s of a){const{id:A,qty:c}=s,l=u.get(A);if(l){const{cost:f}=l,p=Number(c)*Number(o);t+=Number(f)*p}}}return oE(t)}function uO(e=[]){var t;const u=[];for(const r of e)for(const n of r.choice)if(n.chose===!0&&((t=n.BOM)!=null&&t.length)){const i=ew(n);for(const E of n.BOM)u.push({...E,qty:Number(E.qty)*i})}return u}
69function tO({BOM:e=[],option:u=[],channelBOM:t=null,channelKey:r=null}){const n=[];if(u.length>0&&n.push(...uO(u)),e.length>0&&n.push(...e),r&&t&&Array.isArray(t[r]))for(const i of t[r])i&&i.id&&Number(i.qty)>0&&n.push(i);return n}function wZ(e,u,t=null,r=null,{groupByRawMat:n=!1,reverseStock:i=!1}={}){if(n){let m=[];for(const{BOM:g,qty:v,totalPrice:d}of e){let y=g;if(y.length>0)for(const b of y)try{const{id:C,qty:S}=b;let F=Sl(u,"id",C);if(F&&F.id){const{amount:I,rawMatId:R,rawMatName:X,name:J,cost:ee}=F;let L=Sl(m,"id",R),j=Number(I)*Number(S)*Number(v);const ue=Number(ee)/Number(I);L&&L.id?(L.qty+=j,L.newCost+=d):m.push({id:R,name:X,qty:j,newCost:d,unitName:J,unitId:C,amount:I,cost:{cost:ue}})}}catch{}}return m}if(i){const m=(y,b)=>{var S;const C=[];if(y.length===0)return C;if(b){for(const F of y)for(const I of F.choice)if(I.chose===!0&&((S=I.BOM)!=null&&S.length)){const R=ew(I);for(const X of I.BOM)C.push({...X,qty:Number(X.qty)*R})}}else C.push(...y);return C},g=(y,b,C,S)=>{var F;try{const{id:I,qty:R}=y,X=Sl(b,"id",I);if(!X||!X.id)return;const{amount:J,rawMatId:ee,rawMatName:L}=X,j=Sl(S,"id",ee),ue=((F=b.find(Z=>Z.rawMatId===ee&&Z.amount==="1"))==null?void 0:F.name)||"",N=Number(J)*Number(R)*Number(C);j&&j.id?j.qty+=N:S.push({id:ee,qty:N,rawMatName:L,unitName:ue})}catch{}},v=[],d=e.flatMap(y=>{var b;return((b=y.boxCart)==null?void 0:b.length)>0?[{...y,BOM:y.BOM||[],option:y.option||[]},...y.boxCart.map(C=>({...C,qty:Number(C.qty)*Number(y.qty),box:!0}))]:[y]});for(const{BOM:y,option:b,qty:C,box:S=!1}of d){const I=[...m(b,S),...y];for(const R of I)g(R,u,C,v)}for(const y of v)y.qty=oE(y.qty);return{rawMat:v}}const E=new Map;let o=0;const a=[],s=new Set,A=(m,g)=>{const v=`${m}|${g.unitId||""}|${g.choiceId||""}|${g.productName||""}`;s.has(v)||(s.add(v),a.push({code:m,...g}))},c=(m,g)=>{var v;for(const d of m||[])for(const y of(d==null?void 0:d.choice)||[]){const b=Number(y==null?void 0:y.qty);(y==null?void 0:y.chose)===!0&&((v=y.BOM)!=null&&v.length)&&y.qty!==void 0&&y.qty!==null&&!(Number.isFinite(b)&&b>=1)&&A("choice_qty_not_number",{choiceId:y.choiceId||"",productName:g})}},l=e.flatMap(uw),f=new Map(u.map(m=>[m.id,m])),p=new Map(u.filter(m=>m.amount==="1").map(m=>[m.rawMatId,m.name])),h=(m,g,v="")=>{const d=f.get(m);if(!d){A("unknown_unit",{unitId:m,productName:v});return}const{amount:y,rawMatId:b,rawMatName:C,cost:S}=d,F=Number(y);(!Number.isFinite(F)||F<=0)&&A("bad_amount",{unitId:m,productName:v}),Number.isFinite(g)||A("bad_qty",{unitId:m,productName:v});const I=F*g,R=Number(S)*g,X=E.get(m);X?(X.totalQty+=I,X.totalCost+=R):E.set(m,{id:m,rawMatId:b,rawMatName:C,amount:y,name:p.get(b)||"",totalQty:I,totalCost:R}),o+=R};for(const{BOM:m=[],option:g=[],channelBOM:v=null,qty:d,name:y=""}of l){c(g,y);const b=tO({BOM:m,option:g,channelBOM:v,channelKey:t});for(const{id:C,qty:S}of b)h(C,Number(S)*Number(d),y)}if(t&&r)for(const{id:m,qty:g}of yZ(r,t,1))h(m,Number(g));const w=[...E.values()];for(const m of w)m.totalQty=oE(m.totalQty),m.totalCost=oE(m.totalCost);return a.length>0?{bomCost:w,totalCost:oE(o),issues:a}:{bomCost:w,totalCost:oE(o)}}function bZ(e){const u=new Map;for(const{broths:t}of e)for(const{rawMatId:r,currentQty:n}of t||[]){if(!r)continue;const i=u.get(r)||0;u.set(r,i+Number(n||0))}return Array.from(u,([t,r])=>({id:t,qty:r}))}function rO(e){const u=a=>{if(a==null||a==="")return null;const s=Number(a);return Number.isFinite(s)?s:null},t=e||{},r=u(t.netTotalCost)??u(t.newCost);if(r!==null)return r;const n=u(t.amount),i=u(t.cost&&t.cost.cost),E=u(t.qty);if(n===null||i===null||E===null)return null;const o=n*i*E;return Number.isFinite(o)?o:null}function xZ(e){const u=rO(e),t=Number((e||{}).qty);return u===null||!Number.isFinite(t)||t===0?null:u/t}function CZ({bomCostArr:e,rawMat:u=[],fullReturn:t=!1}){if(!Array.isArray(e))return u;const r=new Map;for(const i of e){const E=i==null?void 0:i.rawMatId,o=Number(i==null?void 0:i.totalQty);if(!E||!Number.isFinite(o)||o<=0)continue;const a=r.get(E);a?a.qty+=o:r.set(E,{id:E,qty:o,rawMatName:(i==null?void 0:i.rawMatName)||"",unitName:(i==null?void 0:i.name)||""})}if(t)return[...r.values()];const n=[];for(const i of u){const E=r.get(i==null?void 0:i.id);if(!E)continue;const o=Math.min(Number(i.qty)||0,E.qty);o>0&&n.push({...i,qty:o})}return n}function nO(e){var n;const u=Number((n=e==null?void 0:e.cost)==null?void 0:n.cost),t=Number(e==null?void 0:e.stock);if(!Number.isFinite(u)||!Number.isFinite(t))return 0;const r=u*t;return Number.isFinite(r)?r:0}function DZ(e){if(!Array.isArray(e))return 0;let u=0;for(const t of e){const r=nO(t);r>0&&(u+=r)}return u}function SZ(e){var t;const u=new Map;for(const r of e||[]){const n=String((r==null?void 0:r.id)||""),i=Number(r==null?void 0:r.netQty),E=Number(r==null?void 0:r.amount);if(!Number.isFinite(i)||i<=0)throw{status:400,code:`bad_qty:${n}`,message:"netQty ต้องเป็นตัวเลข > 0"};if(!Number.isFinite(E)||E<=0)throw{status:400,code:`bad_amount:${n}`,message:"amount ต้องเป็นตัวเลข > 0"};const o=i*E;let a;if(r.netTotalCost!==void 0&&r.netTotalCost!==null&&r.netTotalCost!==""){if(a=Number(r.netTotalCost),!Number.isFinite(a)||a<0)throw{status:400,code:`bad_cost:${n}`,message:"netTotalCost ต้องเป็นตัวเลข >= 0"}}else a=Number((t=r==null?void 0:r.cost)==null?void 0:t.cost)*o,Number.isFinite(a)||(a=0);if(u.has(n)){const s=u.get(n);u.set(n,{id:n,qty:s.qty+o,newCost:s.newCost+a})}else u.set(n,{id:n,qty:o,newCost:a})}return Array.from(u.values())}function FZ({stock:e,cost:u,qty:t,newCost:r,resetNegative:n=!1}={}){const i=Number(u==null?void 0:u.cost),E=Number(e),o=n?Math.max(0,E):E,a=o+Number(t),s=Number.isFinite(i)&&i>0&&o>0;let A=0;return r?A=s?(i*o+Number(r))/a:Number(r)/Number(t):A=Number.isFinite(i)?i:0,Number.isFinite(A)||(A=Number.isFinite(i)?i:0),{newStock:a,newCost:A,hasValidPrev:s,deficitForgiven:n&&E<0?E:0,deficitCarried:!n&&E<0?E:0}}function _Z(e={},u={}){var l;const t=Number((l=e==null?void 0:e.cost)==null?void 0:l.cost),r=Number.isFinite(t)?t:0,n=Number(e==null?void 0:e.stock),i=Number.isFinite(n)?n:0,E=u==null?void 0:u.netQty,o=Number(E);if(E==null||E===""||!Number.isFinite(o)||o<=0)return{newStock:i,newCost:r,keptPrevCost:!0};const a=Number(u==null?void 0:u.netTotalCost),s=i-o;let A=r,c=!0;if(a>0&&s>0){const f=r*i-a;if(f>=0){const p=f/s;Number.isFinite(p)&&(A=p,c=!1)}}return{newStock:s,newCost:A,keptPrevCost:c}}const iO=.001,EO=1e-4;function IZ(e){const u=e||{},t=u.grossQty!==void 0&&u.grossQty!==null&&u.grossQty!=="",r=u.yield!==void 0&&u.yield!==null&&u.yield!=="";if(!t||!r)return null;const n=Number(u.grossQty),i=Number(u.yield),E=Number(u.netQty);if(!Number.isFinite(n)||n<=0||!Number.isFinite(i)||!Number.isFinite(E))return null;const o=n*((i||100)/100),a=iO+n*EO+1e-9;return Math.abs(E-o)>
69a?{expect:o,net:E,tol:a}:null}function oO(e){const u=(Array.isArray(e)?e:[]).map(t=>({name:t&&t.name!==void 0&&t.name!==null?t.name:"",amount:Number(t&&t.amount)})).filter(t=>Number.isFinite(t.amount)&&t.amount>0);return u.length===0?null:u.reduce((t,r)=>r.amount>t.amount?r:t)}function TZ(e){const u=(Array.isArray(e)?e:[]).filter(t=>t&&typeof t=="object"&&Number.isFinite(Number(t.amount))&&Number(t.amount)>0);return u.length===0?null:u.reduce((t,r)=>Number(r.amount)>Number(t.amount)?r:t)}function PZ(e){const u=(Array.isArray(e)?e:[]).filter(r=>r&&typeof r=="object"),t=u.find(r=>r.id!==void 0&&r.id!==null&&r.id!==""&&r.id===r.baseId);return t||u.find(r=>Number(r.amount)===1)||null}function OZ(e,u){const t=oO(u),r=t?t.name:"";if(e==null)return{value:null,unitName:r};const n=Number(e);return Number.isFinite(n)?{value:n*(t?t.amount:1),unitName:r}:{value:null,unitName:r}}function kZ(e,u,t=4,r="-"){if(e==null||!Number.isFinite(Number(e)))return r;const n=vZ(Number(e),t);return u?`${n}/${u}`:n}var UZ={roundBomValue:oE,flattenWithBox:uw,calcBomCost:BZ,collectOptionBom:uO,collectItemBom:tO,bomManager:wZ,sumBrothQty:bZ,bomRowTotalCost:rO,bomRowUnitCost:xZ,reverseBomRows:CZ,bomItemValue:nO,bomWarehouseTotal:DZ,bomInboundMerge:SZ,bomInboundAvg:FZ,bomInboundReverse:_Z,yieldMismatch:IZ,YIELD_ABS_TOL:iO,YIELD_REL_TOL:EO,largestUnit:oO,costPerLargestUnit:OZ,costPerUnitText:kZ,baseUnitOf:PZ,largestUnitRow:TZ};const n1=.07;function aO(e,u){return u==="exclude"?e*n1:u==="include"?e-e/(1+n1):0}function tw(e){return e.reduce((u,t)=>{const r=parseFloat(t.orderedQty)||0,n=parseFloat(t.unitPrice)||0;return u+r*n},0)}function sO(e,u){return u==="exclude"?e+e*n1:e}function AO(e){const u=tw(e.items||[]),t=e.vat||"none",r=aO(u,t),n=sO(u,t);return{subtotal:u,vatAmount:r,total:n}}function QZ(e,u){let t=0,r=0,n=0;e.forEach(E=>{const{subtotal:o,vatAmount:a,total:s}=AO(E);t+=o,r+=a,n+=s});const i=tw(u||[]);return t+=i,n+=i,{grandSubtotal:t,grandVat:r,grandTotal:n}}var LZ={VAT_RATE:n1,calculateVATAmount:aO,calculateSupplierSubtotal:tw,calculateSupplierTotal:sO,calcSupplierSummary:AO,calcGrandTotal:QZ};function MZ(e){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}function RZ(e){if(typeof e!="string")return null;const u=e.trim().toLowerCase();return u===""?null:u}function NZ(e=""){return e.normalize("NFKC").replace(/[\u200B-\u200D\uFEFF]/g,"").replace(/\s+/g,"").trim()}const $Z={A:"เอ",B:"บี",C:"ซี",D:"ดี",E:"อี",F:"เอฟ",G:"จี",H:"เฮช",I:"ไอ",J:"เจ",K:"เค",L:"แอล",M:"เอ็ม",N:"เอ็น",O:"โอ",P:"พี",Q:"คิว",R:"อาร์",S:"เอส",T:"ที",U:"ยู",V:"วี",W:"ดับเบิลยู",X:"เอ็กซ์",Y:"วาย",Z:"แซด"};function HZ(e){const u=e.charAt(0),t=e.slice(1);return($Z[u]||u)+t}function jZ(e){const u=e.replace(/\s+/g,"");return u.charAt(0).toUpperCase()+u.slice(1)}function KZ(e){return typeof e=="string"}function WZ(e){if(!e)return"";if(typeof e!="string"||!e.startsWith("SO"))throw new Error("Invalid SO code format");return"DO"+e.slice(2)}function VZ(e){return new TextEncoder().encode(JSON.stringify(e)).length/(1024*1024)}function zZ(e,u,t){const n=/[\\/:?*[\]]/g,i=/[\uD800-\uDBFF]$/,E=new Set;if(Array.isArray(u))for(const a of u)E.add(String(a).toLowerCase());let o=String(e??"").replace(n,"").trim();if(o.length>31&&(o=o.slice(0,31).replace(i,"").trim()),o||(o=String(t??"Sheet1").replace(n,"").trim(),o.length>31&&(o=o.slice(0,31).replace(i,"").trim()),o||(o="Sheet1")),!E.has(o.toLowerCase()))return o;for(let a=2;a<=65535;a++){const s="("+a+")";let A=o;A.length+s.length>31&&(A=A.slice(0,31-s.length).replace(i,"").trim()),A||(A="Sheet");const c=A+s;if(!E.has(c.toLowerCase()))return c}return o.slice(0,31)}var cO={isEmail:MZ,normalizeEmail:RZ,cleanText:NZ,spellFirstCharThai:HZ,removeSpacesAndCapitalize:jZ,isString:KZ,convertSOtoDO:WZ,getSizeInMB:VZ,sanitizeSheetName:zZ};const rw="default";function lO(e){return!e||typeof e!="object"?!1:!!e.multiStation}function fO({shop:e,uniqueId:u,stations:t=[]}={}){return!lO(e)||!u?null:t.find(r=>Array.isArray(r.devices)&&r.devices.some(n=>n&&n.uniqueId===u))||null}function GZ({shop:e,uniqueId:u,stations:t=[]}={}){const r=fO({shop:e,uniqueId:u,stations:t});return r&&r.id?r.id:rw}function YZ(e){return e||rw}function XZ({shop:e={},profile:u={}}={}){var n;const t=Array.isArray((n=u==null?void 0:u.currentLogin)==null?void 0:n.printer)?u.currentLogin.printer:[],r=i=>{const E=t.find(o=>o&&o.type===i)||{};return{address:E.address||"",name:E.name||""}};return{receiptPrinter:{type:u.printerType||"",ipAddress:e.ipAddress||"",starLanIp:e.starLanIp||"",paperMode:e.paperMode||"",bluetooth:{android:r("android"),ios:r("ios")}},stickerPrinter:e.printSticker?{...e.printSticker}:null}}var ZZ={DEFAULT_STATION_ID:rw,isMultiStationEnabled:lO,resolveStation:fO,resolveStationId:GZ,normalizeStationId:YZ,composeCurrentStationConfig:XZ};function qZ(e,u){return Number(e||0)*(Number(u)||1)}var JZ={toBaseQty:qZ};const{summary:xE}=Tc,{reverseSort:eq}=Er,{numberYMD:lh}=tt,{wallParts:uq}=Ri;function uA(e,u){const t=[],r=[...u].reverse().map(n=>Number(n));for(let n=0;n<r.length;n++){const i=r[n],E=i>0?Math.floor(e/i):0;t.push(E),e-=E*i}return t.reverse()}function dO(e,u,t=new Date,r){const n=[],i=lh(t,r);let E,o;if(typeof r!="string"||r.trim()==="")E=t.getDay(),o=t.getHours();else{const a=uq(t,r);E=a.weekday,o=a.hours}for(const a of e){const{startDate:s,endDate:A,status:c,expireType:l,workingDays:f,channels:p,specialPromotion:h}=a;if(!c)continue;
69const{allDay:w,period:m,status:g}=f.find(C=>C.id===E)||{};if(!g||!(l==="infinity"||i>=lh(s,r)&&i<=lh(A,r)))continue;const y=h==="bonus"&&!(Array.isArray(p)&&p.length>0)||p.includes(u);(w||m.includes(o))&&y&&n.push(a)}return n}function dg(e,u){const t=[];for(const{price:r,qty:n}of e)t.push(...Array(n).fill(r));return t.sort((r,n)=>r-n),t.slice(0,u).reduce((r,n)=>r+Number(n),0)}function pg({barcode:e,products:u,key:t}){const r=new Set((e||[]).map(({id:n})=>n));return eq("net",u.filter(n=>r.has(n[t])).map(({net:n,qty:i,...E})=>({...E,price:n,net:n,qty:i})))}function pO({scopeTarget:e,scope:u,products:t,key:r}){const n=new Set(u.map(i=>i.id));switch(e){case"menu":return xE(t.filter(i=>n.has(i[r])),"totalPrice");case"onInvoice":return xE(t,"totalPrice");case"category":return xE(t.filter(i=>i.category.some(E=>n.has(E))),"totalPrice");default:return 0}}function hO({thisProducts:e,lastIndex:u,tierReward:t,rights:r,exchangePercentEnable:n,exchangePrice:i}){let E=0,o=u>-1?Number(t[u]):Number(t[0])*r;for(const{qty:a,price:s}of e){if(o<=0)break;const A=Math.min(o,a),c=n?Math.min(Number(s)||0,Math.max(0,Number(i)||0)*(Number(s)||0)/100):Math.max(0,(Number(s)||0)-(Number(i)||0));E+=A*c,o-=A}return E}function tA(e,u,t,r,n,i,E,o=1){t&&r>-1?e.push({...u,rights:o,discount:i}):!t&&n>0&&e.push({...u,rights:n,discount:E})}function nw({rewardType:e,tier:u,lastIndex:t,rights:r,base:n,tierReward:i,scope:E,scopeTarget:o,products:a,key:s,percentKey:A,rewardList:c,exchangePercentEnable:l,exchangePrice:f}){const p=[];switch(e){case"discount":tA(p,n,u,t,r,Number(i[t]),Number(i[0])*r);break;case"percent":{const h=pO({scopeTarget:o,scope:E,products:a,key:A});tA(p,n,u,t,r,Math.min(h,Number(i[t])*h/100),Math.min(h,Number(i[0])*h/100));break}case"gift":{const h=pg({barcode:c,products:a,key:s});tA(p,n,u,t,r,dg(h,Number(i[t])),dg(h,Number(i[0])*r),r);break}case"exchange":{const h=pg({barcode:c,products:a,key:s}),w=hO({thisProducts:h,lastIndex:t,tierReward:i,rights:r,exchangePercentEnable:l,exchangePrice:f});tA(p,n,u,t,r,w,w,r);break}}return p}function hg(e,u){let t=0;const r=new Set;for(const n of e)u(n)&&!r.has(n.id)&&(t++,r.add(n.id));return t}function mO(e,{totalQty:u,totalPrice:t,products:r,barcodeIds:n,uniqueId:i}){switch(e){case"sale":return t;case"item":return u;case"itemSale":return r.reduce((E,o)=>n.has(o[i])?E+Number(o.totalPrice):E,0);case"itemOne":return hg(r,E=>n.has(E[i]));case"category":return xE(r.filter(E=>E.category.some(o=>n.has(o))),"qty");case"categorySale":return xE(r.filter(E=>E.category.some(o=>n.has(o))),"totalPrice");case"categoryOne":return hg(r,E=>E.category.some(o=>n.has(o)));default:return null}}function gO({type:e,tier:u,tierTarget:t,tierReward:r,totalQty:n,totalPrice:i,customerQty:E,products:o,barcodeIds:a,uniqueId:s,slot1:A,slot2:c}){let l=0,f=[];const p=mO(e,{totalQty:n,totalPrice:i,products:o,barcodeIds:a,uniqueId:s});if(p!==null)return u?f=uA(p,t):l=Math.floor(p/Number(t[0])),{rights:l,divided:f};switch(e){case"sameItem":{if(u){const h=t.map((w,m)=>parseInt(w)+parseInt(r[m]));f=uA(n,h)}else l=Math.floor(n/(Number(t[0])+Number(r[0])));break}case"customer":u?f=uA(E,t):l=Math.floor(E/Number(t[0]));break;case"anySale":l=1;break;case"minimumSale":l=Number(t[0])<=i?1:0;break;case"items":{const{qty1:h,qty2:w}=o.reduce((g,v)=>(A.some(d=>d.id===v[s])&&(g.qty1+=v.qty),c.some(d=>d.id===v[s])&&(g.qty2+=v.qty),g),{qty1:0,qty2:0}),m=Math.min(h,w);l=m,u?f=uA(m,t):l=m;break}}return{rights:l,divided:f}}function yO(e){return e===1?1:typeof e=="number"?e:typeof e!="string"?"":e.length===20?1:e.length>20?e.startsWith("delivery")?"delivery":"pickup":e}function tq(e,u,t,r=1,n=new Date,i){const E=(e||[]).filter(c=>!c.tipStatus),o=xE(E,"totalPrice");let a=[];const s=yO(t),A=dO(u,s,n,i);for(const{premiumShopId:c=null,providerId:l="",franchiseId:f="",barcode:p,rewardType:h,name:w,tier:m,tierReward:g,tierTarget:v,scope:d,scopeTarget:y,exchangePrice:b,id:C,rewardBarcode:S,type:F,slot1:I,slot2:R,exchangePercentEnable:X=!1}of A){const J=!c&&(l||f)?"rootId":"id";let ee=0,L=[];const j=new Set(p.map(q=>q.id)),ue=E.reduce((q,k)=>j.has(k[J])?q+k.qty:q,0);({rights:ee,divided:L}=gO({type:F,tier:m,tierTarget:v,tierReward:g,totalQty:ue,totalPrice:o,customerQty:r,products:E,barcodeIds:j,uniqueId:J,slot1:I,slot2:R}));let N=-1;for(let q=L.length-1;q>=0;q--)if(L[q]>0){N=q;break}const Z={};f&&(Z.franchiseId=f),l&&(Z.providerId=l),a.push(...nw({rewardType:h,tier:m,lastIndex:N,rights:ee,base:{...Z,name:w,id:C},tierReward:g,scope:d,scopeTarget:y,products:E,key:J,percentKey:J,rewardList:F==="sameItem"?p:S,exchangePercentEnable:X,exchangePrice:b}))}return a.map(c=>({...c,discount:Number.isFinite(c.discount)?c.discount:0})).filter(c=>c.discount>0)}function rq(e,u){const t=(e||[]).filter(o=>!o.tipStatus),r=xE(t,"totalPrice");let n=[];const i=u;for(const{couponId:o,rewardType:a,name:s,tier:A,tierReward:c,scope:l,scopeTarget:f,exchangePrice:p,id:h,rewardBarcode:w,type:m,referenceType:g,exchangePercentEnable:v=!1,minimumSaleStatus:d=!1,minimumSale:y}of i){if(d&&Number(y)>r)continue;const b=m==="anySale"?1:0,C=[];let S=-1;for(let F=C.length-1;F>=0;F--)if(C[F]>0){S=F;break}n.push(...nw({rewardType:a,tier:A,lastIndex:S,rights:b,base:{couponId:o,name:s,id:h},tierReward:c,scope:l,scopeTarget:f,products:t,key:g==="store"?"id":"rootId",percentKey:"id",rewardList:w,exchangePercentEnable:v,exchangePrice:p}))}let E=r;return n.map(o=>({...o,discount:Number.isFinite(o.discount)?o.discount:0})).filter(o=>o.discount>0).map(o=>{const a=Math.min(o.discount,Math.max(0,E));return E=parseFloat((E-a).toFixed(2)),a===o.discount?o:{...o,discount:a}}).filter(o=>o.discount>0)}var nq={divideInput:uA,availablePromotion:dO,getDiscountFromProducts:dg,rewardProducts:pg,percentScopeSum:pO,exchangeDiscount:hO,pushTieredReward:tA,buildRewards:nw,countUniqueProducts:hg,promoMetric:mO,calcPromoRights:gO,promoChannelOf:yO,handlePromotion:tq,manageCoupon:rq};const iq=[{id:1,name:"ภาคเหนือ",nameKey:"region.north"},{id:2,name:"ภาคตะวันตก",nameKey:"region.west"},{id:3,name:"ภาคกลาง",nameKey:"region.central"},{id:4,name:"ภาคตะวันออกเฉียงเหนือ",nameKey:"region.northeast"},{id:5,name:"ภาคตะวันออก",nameKey:"region.east"},{id:6,name:"ภาคใต้",nameKey:"region.south"}],Eq=[{id:"1",name:"ขาย",nameKey:"rights.sale"}],oq=[{id:0,name:"00:00"},{id:1,name:"01:00"},{id:2,name:"02:00"},{id:3,name:"03:00"},{id:4,name:"04:00"},{id:5,name:"05:00"},{id:6,name:"06:00"},{id:7,name:"07:00"},{id:8,name:"08:00"},{id:9,name:"09:00"},{id:10,name:"10:00"},{id:11,name:"11:00"},{id:12,name:"12:00"},{id:13,name:"13:00"},{id:14,name:"14:00"},{id:15,name:"15:00"},{id:16,name:"16:00"},{id:17,name:"17:00"},{id:18,name:"18:00"},{id:19,name:"19:00"},{id:20,name:"20:00"},{id:21,name:"21:00"},{id:22,name:"22:00"},{id:23,name:"23:00"}];var aq={THAI_REGIONS:iq,FRANCHISE_RIGHT_OPTIONS:Eq,HOUR_OPTIONS:oq};const vO="screens.paymentGateway.unknownLabel";function BO(e){if(typeof e=="string")return e.trim()===""?null:e;if(e===null||typeof e!="object")return null;const u=e.labelFallback??e.nameFallback??e.textFallback;return typeof u=="string"&&u.trim()!==""?u:null}function sq(e,u,t=null,r=vO){const n=wO(e,u);if(n!==null)return n;const i=BO(t);return i!==null?i:e(r)}function wO(e,u){if(typeof u!="string"||u.length===0||typeof e!="function")return null;const t=e(u);return!t||t===u?null:t}const bO="at-setup",i1="at-bill";function xO(e){return(e==null?void 0:e.channelChoice)===i1?i1:bO}function iw(e){return xO(e)===i1}
69function CO(e){return(e==null?void 0:e.canCheckChannels)===!0}function Aq(e){return iw(e)?!1:CO(e)}const DO="device";function SO(e){return(e==null?void 0:e.runtime)===DO}function FO(e,u){return u&&typeof u.open=="boolean"?u.open:(e==null?void 0:e.lastKnownAvailable)===!0}function cq(e,u,t){return iw(e)||SO(e)?!0:FO(u,t)}var lq={UNKNOWN_LABEL_KEY:vO,CHANNEL_CHOICE_AT_SETUP:bO,CHANNEL_CHOICE_AT_BILL:i1,DEVICE_RUNTIME:DO,fallbackTextOf:BO,resolveLabel:sq,resolveOptionalLabel:wO,channelChoiceOf:xO,choosesChannelAtBill:iw,providerCanCheckChannels:CO,showsRecheckButton:Aq,isDeviceRuntime:SO,channelIsOpen:FO,channelSelectable:cq},_O="h1:",fq="scanfood-staff-pin:v1",IO=1e3;function mg(e){for(var u=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],t=e==null?"":String(e),r=[],n=0;n<t.length;n++){var i=t.charCodeAt(n);if(i<128)r.push(i);else if(i<2048)r.push(192|i>>6,128|i&63);else if(i<55296||i>=57344)r.push(224|i>>12,128|i>>6&63,128|i&63);else{n++;var E=65536+((i&1023)<<10|t.charCodeAt(n)&1023);r.push(240|E>>18,128|E>>12&63,128|E>>6&63,128|E&63)}}var o=r.length*8;for(r.push(128);r.length%64!==56;)r.push(0);var a=Math.floor(o/4294967296),s=o%4294967296;r.push(a>>>24&255,a>>>16&255,a>>>8&255,a&255),r.push(s>>>24&255,s>>>16&255,s>>>8&255,s&255);for(var A=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],c=new Array(64),l=function(k,z){return k>>>z|k<<32-z},f=0;f<r.length;f+=64){for(var p=0;p<16;p++){var h=f+p*4;c[p]=(r[h]<<24|r[h+1]<<16|r[h+2]<<8|r[h+3])>>>0}for(var w=16;w<64;w++){var m=l(c[w-15],7)^l(c[w-15],18)^c[w-15]>>>3,g=l(c[w-2],17)^l(c[w-2],19)^c[w-2]>>>10;c[w]=c[w-16]+m+c[w-7]+g>>>0}for(var v=A[0],d=A[1],y=A[2],b=A[3],C=A[4],S=A[5],F=A[6],I=A[7],R=0;R<64;R++){var X=l(C,6)^l(C,11)^l(C,25),J=C&S^~C&F,ee=I+X+J+u[R]+c[R]>>>0,L=l(v,2)^l(v,13)^l(v,22),j=v&d^v&y^d&y,ue=L+j>>>0;I=F,F=S,S=C,C=b+ee>>>0,b=y,y=d,d=v,v=ee+ue>>>0}A[0]=A[0]+v>>>0,A[1]=A[1]+d>>>0,A[2]=A[2]+y>>>0,A[3]=A[3]+b>>>0,A[4]=A[4]+C>>>0,A[5]=A[5]+S>>>0,A[6]=A[6]+F>>>0,A[7]=A[7]+I>>>0}for(var N="",Z=0;Z<8;Z++){var q=A[Z].toString(16);N+="00000000".slice(q.length)+q}return N}function E1(e){return typeof e=="string"&&/^h1:[0-9a-f]{64}$/.test(e)}function TO(e,u){if(E1(u))return u;var t=u==null?"":String(u);if(!t)return"";for(var r=e==null?"":String(e),n=mg(fq+":"+r+":"+t),i=1;i<IO;i++)n=mg(n);return _O+n}function dq(e,u,t){var r=u==null?"":String(u),n=t==null?"":String(t);return!r||!n||E1(r)?!1:E1(n)?TO(e,r)===n:r===n}var pq={PIN_HASH_PREFIX:_O,PIN_HASH_ROUNDS:IO,sha256Hex:mg,isHashedStaffPin:E1,hashStaffPin:TO,staffPinMatches:dq};const PO="001";function OO(e){return!!(e&&Array.isArray(e.position)&&e.position.includes(PO))}function kO(e){return Array.isArray(e)?e.filter(u=>OO(u)):[]}function hq(e){const u=Array.isArray(e)?e:[],t=kO(u);return t.length>0?t:u.slice(0,1)}var mq={OWNER_POSITION:PO,isOwnerRow:OO,findOwnerRows:kO,ownerExemptRows:hq};function gq(e,u){if(!e||e.status!==!0)return 0;const t=Array.isArray(e.services)?e.services:[];if(!t.length||!Array.isArray(u)||!u.length)return 0;for(const r of u){if(!r)continue;const n=r.channelId??r.id;if(n==null||n==="")continue;const i=t.find(E=>E&&E.id!==void 0&&E.id!==null&&String(E.id)===String(n));if(i){const E=Number(i.amount)||0;return E>0?E:0}}return 0}var yq={cardSurchargeRateFor:gq};function vq(e){const u=e||{},t=Array.isArray(u.rows)?u.rows:[],r=Array.isArray(u.rates)?u.rates:[],n=u.row;if(!n)return{kind:"ok"};const i=f=>{if(!f)return"";const p=f.id!==void 0&&f.id!==null&&f.id!==""?f.id:f.channelId;return p==null?"":String(p)},E=["earnest","credit","coupon"],o=f=>{const p=Number(f);return Number.isFinite(p)&&p>0?p:0};let a=0,s=-1,A="";for(let f=0;f<t.length;f++){const p=i(t[f]);p===""||E.indexOf(p.toLowerCase())!==-1||(a++,s<0&&o(r[f])>0&&(s=f,A=p))}const c=o(u.rowRate),l=i(n);if(s>=0)return l!==""&&l===A?{kind:"blocked-fee-exists",reason:"fee-row-locked",feeIndex:s,methodCount:a}:c>0?{kind:"blocked-fee-exists",reason:"other-fee-row",feeIndex:s,methodCount:a}:{kind:"blocked-after-fee",reason:"fee-must-be-last",feeIndex:s,methodCount:a};if(c>0){let f=!1;for(let h=0;h<t.length;h++){const w=i(t[h]);if(w!==""&&E.indexOf(w.toLowerCase())===-1&&w===l){f=!0;break}}const p=f?a:a+1;return p>2?{kind:"blocked-max-methods",reason:"max-two-methods",methodCount:a}:{kind:"ok-fee-closes",feeRate:c,methodCount:p}}return{kind:"ok",methodCount:a}}var Bq={feeChannelPlan:vq};function wq(e,u){const t=Number(e&&e.net)||0;if(e&&e.gpStatus===!1&&e.gpValue)return 0;const r=e&&e.gpValue;if(r)return t*(Number(r)||0)/100;const n=Array.isArray(u)?u:[],i=e&&e.tableId,E=e&&e.tableName,a=n.find(A=>A&&A.id===i)||(E?n.find(A=>A&&A.name===E):void 0);if(a&&a.gpStatus===!1)return 0;const s=a&&a.gpValue;return s?t*(Number(s)||0)/100:0}var bq={billGpAmount:wq};function xq(e){var u,t,r;if(!(e!=null&&e.response))return"unreachable";switch((r=(t=(u=e==null?void 0:e.response)==null?void 0:u.data)==null?void 0:t.error)==null?void 0:r.code){case"auth/user-not-found":return"notRegistered";case"auth/invalid-email":return"invalidEmail";default:return"serverError"}}const Cq=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function UO({name:e,tel:u,email:t,password:r,confirmPassword:n}={}){return!!((e||"").trim()&&(u||"").trim()&&(t||"").trim()&&r&&n)}function Dq(e={}){const{password:u,confirmPassword:t,email:r}=e;return!u||!t?"register.passwordRequired":UO(e)?Cq.test((r||"").trim())?u!==t?"register.passwordMismatch":null:"register.invalidEmail":"home.check"}function Sq(e){const u=typeof e=="string"?e:e==null?void 0:e.message;return{message:typeof u=="string"&&u.trim()?u.trim():null,accountStuck:(e==null?void 0:e.stage)==="app-reg"&&(e==null?void 0:e.rolledBack)===!1}}function Fq(e){var u;return((u=e==null?void 0:e.user)==null?void 0:u.uid)||(e==null?void 0:e.uid)||""}
69var _q={classifyCheckEmailError:xq,isRegisterFormComplete:UO,validateRegisterForm:Dq,describeSignupFailure:Sq,authUidOf:Fq};function Ew(e){var u,t;return((t=(u=e==null?void 0:e.response)==null?void 0:u.data)==null?void 0:t.error)||(e==null?void 0:e.code)||""}function QO(e){var u;return Ew(e)==="franchise_not_found"||((u=e==null?void 0:e.response)==null?void 0:u.status)===404}const L9={franchise_not_found:"franchiseList.errorFranchiseMissing",unauthenticated:"franchiseList.errorSessionExpired",not_franchise_owner:"franchiseList.errorNoAccess",not_member_admin:"franchiseList.errorNoAccess",invalid_response:"franchiseList.errorUnexpectedResponse"};function Iq(e){var r,n,i,E;const u=Ew(e);if(L9[u])return{key:L9[u],text:null};if(!(e!=null&&e.response))return{key:"franchiseList.errorNetwork",text:null};if(e.response.status===401||e.response.status===403)return{key:e.response.status===401?"franchiseList.errorSessionExpired":"franchiseList.errorNoAccess",text:null};if(QO(e))return{key:"franchiseList.errorFranchiseMissing",text:null};const t=((n=(r=e==null?void 0:e.response)==null?void 0:r.data)==null?void 0:n.message)||((E=(i=e==null?void 0:e.response)==null?void 0:i.data)==null?void 0:E.error)||(e==null?void 0:e.message);return t?{key:null,text:t}:{key:"common.errorOccurred",text:null}}var Tq={readApiErrorCode:Ew,isFranchiseNotFound:QO,describeFranchiseApiError:Iq};const Pq=["name","detail","delete","image","price","promotion","top","suggest","category","deleteChoice","addChoice","size","staff","sku","barcode","bom"],Jf=[{right:"name",field:"name"},{right:"detail",field:"detail"},{right:"image",field:"imageId"},{right:"category",field:"category"},{right:"addChoice",field:"option"},{right:"deleteChoice",field:"option"},{right:"sku",field:"sku"},{right:"barcode",field:"barcode"},{right:"bom",field:"BOM"},{right:"size",field:"priceBySize"},{right:"size",field:"priceBySizeMode"},{right:"staff",field:"onlyStaff"},{right:"promotion",field:"promotion"},{right:"promotion",field:"extraCategory",member:"smartPromotion",kind:"member"},{right:"top",field:"extraCategory",member:"smartTopSale",kind:"member"},{right:"suggest",field:"extraCategory",member:"smartRecommend",kind:"member"},{right:"price",field:"price",kind:"price"},{right:"delete",field:null,kind:"noField"}],Oq=["switch","name","price","switchMenu"];function kq(e){const u=e&&typeof e=="object"?e:{},t=u.base&&typeof u.base=="object"?u.base:{},r=u.master&&typeof u.master=="object"?u.master:{},n=new Set(Array.isArray(u.rights)?u.rights:[]),i=new Set;for(const a of Jf)a.field&&n.has(a.right)&&i.add(a.field);const E={},o=new Set;for(const a of Jf)if(!(!a.field||a.kind==="noField"||a.kind==="price")){if(a.kind==="member"){o.add(a.field);continue}i.has(a.field)||r[a.field]!==void 0&&(E[a.field]=r[a.field])}for(const a of o){if(r[a]===void 0)continue;const s=Array.isArray(r[a])?r[a]:[],A=Array.isArray(t[a])?t[a]:[],c=new Map;for(const p of Jf)p.kind==="member"&&p.field===a&&c.set(p.member,p.right);const l=[],f=new Set;for(const p of s){if(f.has(p))continue;const h=c.get(p);h!==void 0&&n.has(h)||(f.add(p),l.push(p))}for(const p of A){if(f.has(p))continue;const h=c.get(p);h===void 0||!n.has(h)||(f.add(p),l.push(p))}E[a]=l}return E}var Uq={FRANCHISE_PRODUCT_RIGHT_KEYS:Pq,FRANCHISE_PRODUCT_RIGHT_FIELDS:Jf,FRANCHISE_CHANNEL_RIGHT_KEYS:Oq,mergeFranchiseProductFields:kq};const{summary:M9}=Tc;function Qq(e){const u=o=>Number(o)||0,t=o=>Math.max(0,Number(o)||0),r=o=>(Array.isArray(o)?o:[]).filter(Boolean),n=e||{},i=r(n.product).filter(o=>o.vat===!1&&o.process!=="cancel").reduce((o,a)=>o+u(a.totalPrice),0),E=u(n.totalPrice)-i+u(n.fine)+u(n.serviceCharge)+t(n.cardSurcharge)-u(n.discount)-M9(r(n.campaign),"discount")-M9(r(n.coupon),"discount")-u(n.credit);return n.vatType==="Exclude"&&!n.gpStatus?E:E-Math.round(u(n.vat)*100)/100}var Lq={vatDocBaseOf:Qq};const gg={danger:"sf-btn-danger",success:"sf-btn-success",warning:"sf-btn-warning",info:"sf-btn-info",primary:"sf-btn-info",secondary:"",dark:"",light:"",link:"","outline-dark":"","outline-light":"","outline-secondary":"","outline-warning":""};function Mq(e){const u=Object.prototype.hasOwnProperty.call(gg,e)?gg[e]:"";return u?`sf-btn ${u}`:"sf-btn"}const yg={success:"success",warning:"warning",danger:"danger",info:"info",purple:"purple",neutral:""};function ow(e){return Object.prototype.hasOwnProperty.call(yg,e)?yg[e]:""}function Rq(e){const u=ow(e);return u?{background:`var(--sf-${u}-bg)`,color:`var(--sf-${u})`}:null}function Nq(e){const u=ow(e);return u?`var(--sf-${u})`:"var(--sf-text)"}function $q(e,u){const t=typeof u=="string"?u:String(u),r=e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:null;return r&&r.labelKey?r:{labelKey:null,tone:"neutral"}}var Hq={VARIANT_CLASS:gg,variantClass:Mq,TONE_TOKEN:yg,toneToken:ow,toneStyle:Rq,toneTextColor:Nq,resolveStatus:$q};const LO="142",vg="141",jq=["cost","netTotalCost","newCost"],Kq=["costChanges"],Wq=["boms","minusStocks"];function Vq(e){const u=e&&typeof e=="object"?e:{};if(u.isOwner===!0)return!0;const t=Array.isArray(u.rights)?u.rights:[];return u.edit?t.includes(vg):t.includes(LO)||t.includes(vg)}function zq(e){if(!e||typeof e!="object"||Array.isArray(e))return e;const u=r=>{if(!r||typeof r!="object"||Array.isArray(r))return r;const n={...r};for(const i of jq)delete n[i];return n},t={...e};for(const r of Kq)delete t[r];for(const r of Wq)Array.isArray(t[r])&&(t[r]=t[r].map(u));return t}var Gq={COST_VIEW_RIGHT:LO,COST_EDIT_RIGHT:vg,canAccessCost:Vq,stripCostDeep:zq};function Yq(e,u){if(e==null||u==null)return{ok:!1,status:404,code:"shop_not_found",message:"shop not found"};const t=e.branchId,r=u.branchId;return!t||!r||t!==r?{ok:!1,status:403,code:"not_same_branch",message:"สองร้านต้องอยู่กลุ่มสาขาเดียวกันก่อนจึงโอนได้"}:{ok:!0,branchId:t}}var Xq={checkSameBranch:Yq};const{toDate:Zq}=tt,MO=[1,2,3,4],RO=[7,8,9,10],NO=[11,12],$O=["order","cancel"];
69function HO(e){const u=e&&e.paymentChannel?e.paymentChannel.id:void 0;if(u==null||u==="")return null;const t=Number(u);return Number.isFinite(t)?t:null}function jO(e){const u=HO(e);return u===null?"unknown":RO.includes(u)?"credit":MO.includes(u)?"transfer":NO.includes(u)?"paynow":"unknown"}function KO(e){return jO(e)==="credit"}function qq(e){if(!KO(e))return null;const u=e.paymentChannel.value;if(u==null||u===""||typeof u=="object")return null;const t=Number(u);return Number.isFinite(t)?t:null}function Bg(e){if(e==null||e===""||typeof e=="number")return null;const u=Zq(e);return Number.isNaN(u.getTime())?null:u}function Jq(e){return e&&(Bg(e.creditTerm)||Bg(e.lastPayment))||null}function eJ(e){return e?!e.payStatus&&!$O.includes(e.process):!1}var uJ={TRANSFER_CHANNEL_IDS:MO,CREDIT_CHANNEL_IDS:RO,PAYNOW_CHANNEL_IDS:NO,NOT_DEBT_PROCESS:$O,paymentChannelIdOf:HO,paymentModeOf:jO,isCreditOrder:KO,creditDaysOf:qq,usableDate:Bg,dueDateOf:Jq,isDebtRow:eJ};const{getPeriod:tJ,plusDays:rJ}=tt,{getSelectedDates:nJ,stringFullDateBE:fh}=es,{normalSort:R9}=Er,WO=["time","category","product","shop","shopXproduct"],wg="";function VO(e){const u=E=>{const o=Number(E);return Number.isFinite(o)?o:0},r=(e&&Array.isArray(e.product)?e.product:[]).filter(E=>E&&E.process!=="cancel");let n=0,i=0;for(const E of r)n+=u(E.totalPrice),i+=u(E.qty);return{productTotal:n,net:u(e&&e.net),qty:i,rows:r}}function iJ(e,u){const t=p=>{const h=Number(p);return Number.isFinite(h)?h:0},r=u||{},n=WO.includes(r.mode)?r.mode:"time",i=r.tz,E=(Array.isArray(e)?e:[]).filter(Boolean),o=new Map,a={productTotal:0,net:0,qty:0,orders:E.length};for(const p of E){const h=VO(p);o.set(p,h),a.productTotal+=h.productTotal,a.net+=h.net,a.qty+=h.qty}if(n==="time"){const p=r.period||"day",h=new Date(r.startDate),w=new Date(r.endDate);if(Number.isNaN(h.getTime())||Number.isNaN(w.getTime()))return{mode:n,rows:[],totals:a};const m=[];for(const g of tJ({period:p,startDate:r.startDate,endDate:r.endDate,tz:i})){const v=nJ(new Date(g.startDate),rJ(new Date(g.endDate),1,i),i),d=p==="day"?fh(g.startDate,i):`${fh(g.startDate,i)} - ${fh(g.endDate,i)}`,y={key:d,name:d,productTotal:0,net:0,qty:0,orders:0};for(const b of E){if(!v.includes(b.billDate))continue;const C=o.get(b);y.productTotal+=C.productTotal,y.net+=C.net,y.qty+=C.qty,y.orders+=1}m.push(y)}return{mode:n,rows:m,totals:a}}const s=(p,h,w)=>{const m=String(h??"");let g=p.get(m);return g||(g={key:m,name:w||"",productTotal:0,qty:0,orders:0,_bills:new Set},p.set(m,g)),!g.name&&w&&(g.name=w),g},A=(p,h)=>{for(const w of Array.isArray(h)?h:[])w&&s(p,w.id,w.name)},c=p=>{const h={key:p.key,name:p.name,productTotal:p.productTotal,qty:p.qty,orders:p.orders};return p._net!==void 0&&(h.net=p._net),p._children&&(h.children=R9("productTotal",Array.from(p._children.values()).map(c),{numeric:!0})),h},l=p=>R9("productTotal",Array.from(p.values()).map(c),{numeric:!0});if(n==="category"){const p=new Map;A(p,r.categories),s(p,wg,"");for(const h of E)for(const w of o.get(h).rows){const m=Array.isArray(w.category)&&w.category[0]?w.category[0]:null,g=m&&m.id!==void 0&&m.id!==null&&m.id!==""?m.id:wg,v=s(p,g,m?m.name:"");v.productTotal+=t(w.totalPrice),v.qty+=t(w.qty),v._bills.add(h)}for(const h of p.values())h.orders=h._bills.size;return{mode:n,rows:l(p),totals:a}}if(n==="product"){const p=new Map;for(const h of E)for(const w of o.get(h).rows){const m=s(p,w.id,w.name);m.productTotal+=t(w.totalPrice),m.qty+=t(w.qty),m._bills.add(h)}for(const h of p.values())h.orders=h._bills.size;return{mode:n,rows:l(p),totals:a}}const f=new Map;A(f,r.shops);for(const p of E){const h=s(f,p.shopId,p.shopName),w=o.get(p);if(h.productTotal+=w.productTotal,h.qty+=w.qty,h._bills.add(p),n==="shop"&&(h._net=(h._net||0)+w.net),n==="shopXproduct"){h._children||(h._children=new Map);for(const m of w.rows){const g=s(h._children,m.id,m.name);g.productTotal+=t(m.totalPrice),g.qty+=t(m.qty),g._bills.add(p)}}}for(const p of f.values())if(p.orders=p._bills.size,n==="shop"&&p._net===void 0&&(p._net=0),n==="shopXproduct"){p._children||(p._children=new Map);for(const h of p._children.values())h.orders=h._bills.size}return{mode:n,rows:l(f),totals:a}}var EJ={PURCHASE_REPORT_MODES:WO,NO_CATEGORY_ID:wg,orderMoney:VO,groupShippedPurchase:iJ};const{getPeriod:oJ,plusDays:aJ}=tt,{getSelectedDates:sJ,stringFullDateBE:dh}=es,{normalSort:N9}=Er,{salesNetOf:AJ,isTipLine:cJ}
69=RB,zO=["time","region","province","shop","shoptype","category","product"],_o="";function GO(e){const u=o=>{const a=Number(o);return Number.isFinite(a)?a:0},r=(e&&Array.isArray(e.product)?e.product:[]).filter(o=>o&&o.process!=="cancel"&&!cJ(o));let n=0,i=0;for(const o of r)n+=u(o.totalPrice),i+=u(o.qty);return{salesNet:e&&typeof e=="object"?u(AJ(e)):0,productTotal:n,qty:i,rows:r}}function lJ(e,u){const t=w=>{const m=Number(w);return Number.isFinite(m)?m:0},r=u||{},n=zO.includes(r.mode)?r.mode:"time",i=r.tz,E=(Array.isArray(e)?e:[]).filter(Boolean),o=Array.isArray(r.shops)?r.shops.filter(Boolean):[],a=new Map,s={salesNet:0,productTotal:0,qty:0,bills:E.length,shops:o.length,average:0};for(const w of E){const m=GO(w);a.set(w,m),s.salesNet+=m.salesNet,s.productTotal+=m.productTotal,s.qty+=m.qty}const A=n==="shop"?s.bills:n==="region"||n==="province"||n==="shoptype"?s.shops:0;if(s.average=A>0?s.salesNet/A:0,n==="time"){const w=r.period||"day",m=new Date(r.startDate),g=new Date(r.endDate);if(Number.isNaN(m.getTime())||Number.isNaN(g.getTime()))return{mode:n,rows:[],totals:s};const v=[];for(const d of oJ({period:w,startDate:r.startDate,endDate:r.endDate,tz:i})){const y=sJ(new Date(d.startDate),aJ(new Date(d.endDate),1,i),i),b=w==="day"?dh(d.startDate,i):`${dh(d.startDate,i)} - ${dh(d.endDate,i)}`,C={key:b,name:b,salesNet:0,bills:0};for(const S of E)y.includes(S.billDate)&&(C.salesNet+=a.get(S).salesNet,C.bills+=1);v.push(C)}return{mode:n,rows:v,totals:s}}const c=(w,m,g)=>{const v=String(m??"");let d=w.get(v);return d||(d={key:v,name:g||"",salesNet:0,productTotal:0,qty:0,shops:0,_bills:new Set},w.set(v,d)),!d.name&&g&&(d.name=g),d},l=(w,m)=>{for(const g of Array.isArray(m)?m:[])g&&c(w,g.id,g.name)},f=(w,m)=>(Array.isArray(w)?w:[]).some(g=>g&&String(g.id)===String(m));if(n==="region"||n==="province"||n==="shop"||n==="shoptype"){const w=new Map,m=new Map(o.map(d=>[String(d.id),d])),g=(d,y)=>{if(n==="shop")return d;if(!y)return _o;const b=n==="region"?y.region:n==="province"?y.province:y.franchiseShopType,C=n==="region"?r.regions:n==="province"?r.provinces:r.shopTypes;return b!=null&&b!==""&&f(C,b)?b:_o};n==="shop"?l(w,o):(l(w,n==="region"?r.regions:n==="province"?r.provinces:r.shopTypes),c(w,_o,""));for(const d of o)c(w,g(d.id,d),"").shops+=1;for(const d of E){const y=d&&d.shopId,b=m.get(String(y)),C=c(w,g(y,b),n==="shop"?b&&b.name:"");C.salesNet+=a.get(d).salesNet,C._bills.add(d)}const v=Array.from(w.values()).map(d=>{const y={key:d.key,name:d.name,salesNet:d.salesNet,bills:d._bills.size};return n==="shop"?y.average=y.bills>0?y.salesNet/y.bills:0:(y.shops=d.shops,y.average=d.shops>0?y.salesNet/d.shops:0),y});return{mode:n,rows:N9("salesNet",v,{numeric:!0}),totals:s}}const p=new Map;n==="category"&&(l(p,r.categories),c(p,_o,""));for(const w of E)for(const m of a.get(w).rows){let g=_o,v="";if(n==="category"){const y=Array.isArray(m.category)&&m.category.length?m.category[0]:null,b=y&&typeof y=="object"?y.id:y;b!=null&&b!==""&&(g=b),y&&typeof y=="object"&&y.name&&(v=y.name)}else m.rootId!==void 0&&m.rootId!==null&&m.rootId!==""&&(g=m.rootId),v=m.name||"";const d=c(p,g,v);d.productTotal+=t(m.totalPrice),d.qty+=t(m.qty),d._bills.add(w)}const h=Array.from(p.values()).map(w=>({key:w.key,name:w.name,productTotal:w.productTotal,qty:w.qty,bills:w._bills.size}));return{mode:n,rows:N9("productTotal",h,{numeric:!0}),totals:s}}var fJ={SALES_REPORT_MODES:zO,UNASSIGNED_KEY:_o,billMoney:GO,groupSales:lJ};const{multipleUnit:dJ}=QP,bg=1e-9,YO="—";function Zn(e){if(e==null||typeof e=="boolean"||typeof e=="object"||typeof e=="string"&&e.trim()==="")return null;const u=Number(e);return Number.isFinite(u)?u:null}function pJ(e,u){const t=Array.isArray(e)?e:[],r=[],n=E=>!E||typeof E!="object"?null:E.id!==void 0&&E.id!==null?E.id:E.eventId!==void 0?E.eventId:null;for(let E=1;E<t.length;E++){const o=Zn(t[E-1]&&t[E-1].next),a=Zn(t[E]&&t[E].prev);o===null||a===null||Math.abs(o-a)>bg&&r.push({id:n(t[E]),eventId:n(t[E]),expectedPrev:o,actualPrev:a})}let i=null;if(t.length>0){const E=Zn(t[t.length-1]&&t[t.length-1].next),o=Zn(u);E!==null&&o!==null&&Math.abs(E-o)>bg&&(i={expected:E,actual:o})}return{gaps:r,tailMismatch:i,ok:r.length===0&&i===null}}function hJ(e,u){const t=E=>String(E),r=Zn(e);if(r===null)return YO;const n=Array.isArray(u)?u.filter(E=>E&&typeof E=="object"&&!Array.isArray(E)&&Zn(E.amount)!==null&&Zn(E.amount)>0):[];if(n.length===0)return t(r);const i=dJ(r,n);
69return typeof i!="string"||i.trim()===""||i.trim()==="-"?t(r):i.startsWith("- ")?"-"+i.slice(2):i}var mJ={CHAIN_EPSILON:bg,EMPTY_QTY:YO,numOrNull:Zn,checkLedgerChain:pJ,formatBomQty:hJ};const{formatCurrency:Zo}=Pc,{summary:qo}=Tc,{isString:gJ,convertSOtoDO:yJ}=cO,{splitArrayIntoChunks:XO}=Er;function xg(e,u){if(e==null||e==="")return u;const t=Number(e);return Number.isNaN(t)?u:t}function aw(e,u){var E;const t=(e||[]).map(o=>{var A;const a=o.category;if(gJ(a))return{...o,category:a,normalCategory:[]};const s=Array.isArray(a)?a:[];return{...o,category:((A=s[0])==null?void 0:A.id)||"",normalCategory:s.map(c=>c.id)}}),r=(((E=u==null?void 0:u[0])==null?void 0:E.value)||[]).map(o=>o.id),n=[];for(const o of r)n.push(...t.filter(a=>a.category===o));const i=new Set(n.map(o=>o.id));return n.push(...t.filter(o=>!i.has(o.id))),n}function ZO({item:e,warehouseCategory:u,tax:t,extra:r}){const{product:n,logisticCost:i}=e,E=aw(n,u);return{...e,product:E,pageDisplay:XO(E.map((o,a)=>({...o,no:a+1})),22),tax:t,totalQty:Zo(qo(E,"qty")+1),totalPriceLogistic:Zo(qo(n,"totalPrice")+i),...r}}function vJ({item:e,warehouseCategory:u,tax:t,cancelUsesOnDoc:r=!1}){const{purchaseProduct:n,purchaseData:i,process:E}=e,o={thisLogisticCost:e.logisticCost,thisNet:e.net,thisTotalPrice:e.totalPrice,thisVatAmount:e.vatAmount},a=r&&E==="cancel",s=a?e.product:n??e.product,A=a?o:i??o;if(!Array.isArray(s)||s.length===0)return null;const{thisLogisticCost:c,thisNet:l,thisTotalPrice:f,thisVatAmount:p}=A;return ZO({item:{...e,product:s,logisticCost:c},warehouseCategory:u,tax:t,extra:{net:l,totalPrice:f,vatAmount:p}})}function BJ({item:e,warehouseCategory:u,tax:t}){const{product:r,logisticCost:n,onlyAdjustProduct:i=[],inboundProduct:E=[]}=e,o=aw(r,u),a=new Map(i.map(c=>[c.id,c.prevQty])),s=new Map(E.map(c=>[c.id,c.inboundQty])),A=o.map(c=>{const{qty:l,id:f}=c;return{...c,poQty:xg(a.get(f),l),soQty:l,inboundQty:xg(s.get(f),l)}});return{...e,soNumber:yJ(e.soNumber),product:A,pageDisplay:XO(A.map((c,l)=>({...c,no:l+1})),22),tax:t,totalPoQty:Zo(qo(A,"poQty")),totalSoQty:Zo(qo(A,"soQty")),totalInboundQty:Zo(qo(A,"inboundQty")),totalPriceLogistic:Zo(qo(r,"totalPrice")+n)}}var wJ={pickQty:xg,arrangeProducts:aw,buildDocPayload:ZO,buildPoPayload:vJ,buildInboundPayload:BJ};const au={SUCCESS:"success",QUEUED:"queued",ITEM_OUT:"itemOut",ITEM_NOTSALE:"itemNotsale",HAPPY_HOUR_ENDED:"happyHourEnded",TABLE_NOT_OPEN:"tableNotOpen",PICKUP_CLOSED:"pickupClosed",DELIVERY_CLOSED:"deliveryClosed",BELOW_MINIMUM:"belowMinimum",LIMIT_EXHAUSTED:"limitExhausted",BLOCKED:"blocked",REJECTED:"rejected",FAILED:"failed"},bJ={ITEM_OUT:au.ITEM_OUT,ITEM_NOTSALE:au.ITEM_NOTSALE,HAPPY_HOUR_ENDED:au.HAPPY_HOUR_ENDED,TABLE_NOT_OPEN:au.TABLE_NOT_OPEN,PICKUP_CLOSED:au.PICKUP_CLOSED,DELIVERY_CLOSED:au.DELIVERY_CLOSED,BELOW_MINIMUM:au.BELOW_MINIMUM,LIMIT_EXHAUSTED:au.LIMIT_EXHAUSTED},$9={[au.BLOCKED]:"orderResult.notAccepted",[au.REJECTED]:"orderResult.notAccepted",[au.TABLE_NOT_OPEN]:"summary.tableNotOpen",[au.PICKUP_CLOSED]:"payment.pickupClosed",[au.DELIVERY_CLOSED]:"payment.deliveryClosed",[au.BELOW_MINIMUM]:"payment.belowMinimum",[au.LIMIT_EXHAUSTED]:"orderResult.notAccepted",[au.ITEM_NOTSALE]:"orderResult.itemNotsale",[au.FAILED]:"orderResult.failed"};function xJ(e){return!e||typeof e!="object"?au.FAILED:e.blocked?au.BLOCKED:e.rejected?bJ[e.rejected]||au.REJECTED:e.queued?au.QUEUED:e.ok===!0?au.SUCCESS:au.FAILED}function CJ(e){return e===au.SUCCESS}function qO(e,u){return!u||e===au.SUCCESS?null:e===au.QUEUED?"orderResult.moneyPending":"orderResult.moneyOnHold"}function JO(e,u){return e===au.QUEUED?u&&u.queuedReason==="server"?"orderResult.pendingServer":"orderResult.pending":Object.prototype.hasOwnProperty.call($9,e)?$9[e]:null}function DJ(e,u){const t=u||{};return{messageKey:JO(e,t.result),moneyKey:qO(e,t.paid===!0)}}function SJ(e){const u=(Array.isArray(e)?e:[]).map(function(t){return t&&t.name}).filter(Boolean).join(", ");return u?{key:"orderResult.itemNotsaleNamed",params:{names:u}}:{key:"orderResult.itemNotsale",params:{}}}function FJ(e){return{key:"payment.belowMinimum",params:{value:e===void 0?null:e}}}function _J(e){return e?e.blocked||e.rejected?"orderResult.notAccepted":e.dropped?"orderResult.dropped":e.confirmed?"orderResult.confirmed":null:null}function IJ(e){return!!(e&&e.confirmed&&!e.blocked&&!e.rejected&&!e.dropped)}var TJ={ORDER_OUTCOME:au,classifyOrderResult:xJ,isOrderConfirmed:CJ,moneyNoticeKey:qO,outcomeMessageKey:JO,outcomeNoticeParts:DJ,notsaleItemNotice:SJ,belowMinimumNotice:FJ,outboxResultMessageKey:_J,isOutboxResultPositive:IJ};function sw(e){const u=Number(e);return Number.isFinite(u)&&u>0?u:1}function Aw(e){const u=Number(e);return Number.isFinite(u)&&u>0?u:1/0}function PJ(e,u){return Number(e)>=Aw(u)}function OJ(e,u){return Number(e)<=sw(u)}function kJ(e,{minimum:u,maximum:t}={}){const r=Number(e),n=Number.isFinite(r)?r:0;return Math.min(Math.max(n,sw(u)),Aw(t))}var UJ={orderMinimum:sw,orderMaximum:Aw,atOrderMaximum:PJ,atOrderMinimum:OJ,clampOrderQty:kJ};function QJ(e){var u,t,r;return((u=e==null?void 0:e.profile)==null?void 0:u.accountProfileId)||((r=(t=e==null?void 0:e.profile)==null?void 0:t.profile)==null?void 0:r.id)||""}var LJ={selectDeviceIdentityProfileId:QJ},SVe={...tt,...es,...Ri,...WV,...XV,...qV,...rz,...iz,...oz,...lz,...Tc,...Cz,...dP,...Tz,...FP,...WG,...IP,...ZG,...QP,...bY,...Pc,...NY,...VY,...Er,...YY,...$P,...uX,...rX,...EX,...aX,...AX,...mX,...yX,...wX,..._X,...PX,...LX,...RX,...$X,...KX,...tZ,...nZ,...cZ,...eO,...gZ,...UZ,...LZ,...cO,...ZZ,...JZ,...nq,...aq,...lq,...pq,...mq,...yq,...Bq,...RB,...bq,..._q,...Tq,...Uq,...Lq,...Hq,...Gq,...Xq,...uJ,...EJ,...fJ,...mJ,...wJ,...b2,...TJ,...UJ,...LJ};function ek(e,u){return function(){return e.apply(u,arguments)}}const{toString:MJ}=Object.prototype,{getPrototypeOf:x2}=Object,{iterator:C2,toStringTag:uk}=Symbol,D2=(e=>u=>{const t=MJ.call(u);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Dr=e=>(e=e.toLowerCase(),u=>D2(u)===e),S2=e=>u=>typeof u===e,{isArray:ts}=Array,Ta=S2("undefined");function Oc(e){return e!==null&&!Ta(e)&&e.constructor!==null&&!Ta(e.constructor)&&p0(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tk=Dr("ArrayBuffer");function RJ(e){let u;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?u=ArrayBuffer.isView(e):u=e&&e.buffer&&tk(e.buffer),u}
vendor: 5,268 bytes, line 69
69const NJ=S2("string"),p0=S2("function"),rk=S2("number"),kc=e=>e!==null&&typeof e=="object",$J=e=>e===!0||e===!1,ed=e=>{if(D2(e)!=="object")return!1;const u=x2(e);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(uk in e)&&!(C2 in e)},HJ=e=>{if(!kc(e)||Oc(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},jJ=Dr("Date"),KJ=Dr("File"),WJ=e=>!!(e&&typeof e.uri<"u"),VJ=e=>e&&typeof e.getParts<"u",zJ=Dr("Blob"),GJ=Dr("FileList"),YJ=e=>kc(e)&&p0(e.pipe);function XJ(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const H9=XJ(),j9=typeof H9.FormData<"u"?H9.FormData:void 0,ZJ=e=>{if(!e)return!1;if(j9&&e instanceof j9)return!0;const u=x2(e);if(!u||u===Object.prototype||!p0(e.append))return!1;const t=D2(e);return t==="formdata"||t==="object"&&p0(e.toString)&&e.toString()==="[object FormData]"},qJ=Dr("URLSearchParams"),[JJ,eee,uee,tee]=["ReadableStream","Request","Response","Headers"].map(Dr),ree=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Uc(e,u,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let r,n;if(typeof e!="object"&&(e=[e]),ts(e))for(r=0,n=e.length;r<n;r++)u.call(null,e[r],r,e);else{if(Oc(e))return;const i=t?Object.getOwnPropertyNames(e):Object.keys(e),E=i.length;let o;for(r=0;r<E;r++)o=i[r],u.call(null,e[o],o,e)}}function nk(e,u){if(Oc(e))return null;u=u.toLowerCase();const t=Object.keys(e);let r=t.length,n;for(;r-- >0;)if(n=t[r],u===n.toLowerCase())return n;return null}const mE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ik=e=>!Ta(e)&&e!==mE;function Cg(...e){const{caseless:u,skipUndefined:t}=ik(this)&&this||{},r={},n=(i,E)=>{if(E==="__proto__"||E==="constructor"||E==="prototype")return;const o=u&&nk(r,E)||E,a=Dg(r,o)?r[o]:void 0;ed(a)&&ed(i)?r[o]=Cg(a,i):ed(i)?r[o]=Cg({},i):ts(i)?r[o]=i.slice():(!t||!Ta(i))&&(r[o]=i)};for(let i=0,E=e.length;i<E;i++)e[i]&&Uc(e[i],n);return r}const nee=(e,u,t,{allOwnKeys:r}={})=>(Uc(u,(n,i)=>{t&&p0(n)?Object.defineProperty(e,i,{__proto__:null,value:ek(n,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),iee=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Eee=(e,u,t,r)=>{e.prototype=Object.create(u.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:u.prototype}),t&&Object.assign(e.prototype,t)},oee=(e,u,t,r)=>{let n,i,E;const o={};if(u=u||{},e==null)return u;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)E=n[i],(!r||r(E,e,u))&&!o[E]&&(u[E]=e[E],o[E]=!0);e=t!==!1&&x2(e)}while(e&&(!t||t(e,u))&&e!==Object.prototype);return u},aee=(e,u,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=u.length;const r=e.indexOf(u,t);return r!==-1&&r===t},see=e=>{if(!e)return null;if(ts(e))return e;let u=e.length;if(!rk(u))return null;const t=new Array(u);for(;u-- >0;)t[u]=e[u];return t},Aee=(e=>u=>e&&u instanceof e)(typeof Uint8Array<"u"&&x2(Uint8Array)),cee=(e,u)=>{const r=(e&&e[C2]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;u.call(e,i[0],i[1])}},lee=(e,u)=>{let t;const r=[];for(;(t=e.exec(u))!==null;)r.push(t);return r},fee=Dr("HTMLFormElement"),dee=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Dg=(({hasOwnProperty:e})=>(u,t)=>e.call(u,t))(Object.prototype),pee=Dr("RegExp"),Ek=(e,u)=>{const t=Object.getOwnPropertyDescriptors(e),r={};Uc(t,(n,i)=>{let E;(E=u(n,i,e))!==!1&&(r[i]=E||n)}),Object.defineProperties(e,r)},hee=e=>{Ek(e,(u,t)=>{if(p0(e)&&["arguments","caller","callee"].includes(t))return!1;const r=e[t];if(p0(r)){if(u.enumerable=!1,"writable"in u){u.writable=!1;return}u.set||(u.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},mee=(e,u)=>{const t={},r=n=>{n.forEach(i=>{t[i]=!0})};return ts(e)?r(e):r(String(e).split(u)),t},gee=()=>{},yee=(e,u)=>e!=null&&Number.isFinite(e=+e)?e:u;function vee(e){return!!(e&&p0(e.append)&&e[uk]==="FormData"&&e[C2])}const Bee=e=>{const u=new WeakSet,t=r=>{if(kc(r)){if(u.has(r))return;if(Oc(r))return r;if(!("toJSON"in r)){u.add(r);const n=ts(r)?[]:{};return Uc(r,(i,E)=>{const o=t(i);!Ta(o)&&(n[E]=o)}),u.delete(r),n}}return r};return t(e)},wee=Dr("AsyncFunction"),bee=e=>e&&(kc(e)||p0(e))&&p0(e.then)&&p0(e.catch),ok=((e,u)=>e?setImmediate:u?((t,r)=>(mE.addEventListener("message",({source:n,data:i})=>{n===mE&&i===t&&r.length&&r.shift()()},!1),n=>{r.push(n),mE.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",p0(mE.postMessage)),xee=typeof queueMicrotask<"u"?queueMicrotask.bind(mE):typeof process<"u"&&process.nextTick||ok,Cee=e=>e!=null&&p0(e[C2]),G={isArray:ts,isArrayBuffer:tk,isBuffer:Oc,isFormData:ZJ,isArrayBufferView:RJ,isString:NJ,isNumber:rk,isBoolean:$J,isObject:kc,isPlainObject:ed,isEmptyObject:HJ,isReadableStream:JJ,isRequest:eee,isResponse:uee,isHeaders:tee,isUndefined:Ta,isDate:jJ,isFile:KJ,isReactNativeBlob:WJ,isReactNative:VJ,isBlob:zJ,isRegExp:pee,isFunction:p0,isStream:YJ,isURLSearchParams:qJ,
vendor: 34,074 bytes, lines 69-77
69isTypedArray:Aee,isFileList:GJ,forEach:Uc,merge:Cg,extend:nee,trim:ree,stripBOM:iee,inherits:Eee,toFlatObject:oee,kindOf:D2,kindOfTest:Dr,endsWith:aee,toArray:see,forEachEntry:cee,matchAll:lee,isHTMLForm:fee,hasOwnProperty:Dg,hasOwnProp:Dg,reduceDescriptors:Ek,freezeMethods:hee,toObjectSet:mee,toCamelCase:dee,noop:gee,toFiniteNumber:yee,findKey:nk,global:mE,isContextDefined:ik,isSpecCompliantForm:vee,toJSONObject:Bee,isAsyncFn:wee,isThenable:bee,setImmediate:ok,asap:xee,isIterable:Cee},Dee=G.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"]),See=e=>{const u={};let t,r,n;return e&&e.split(`
70`).forEach(function(E){n=E.indexOf(":"),t=E.substring(0,n).trim().toLowerCase(),r=E.substring(n+1).trim(),!(!t||u[t]&&Dee[t])&&(t==="set-cookie"?u[t]?u[t].push(r):u[t]=[r]:u[t]=u[t]?u[t]+", "+r:r)}),u};function Fee(e){let u=0,t=e.length;for(;u<t;){const r=e.charCodeAt(u);if(r!==9&&r!==32)break;u+=1}for(;t>u;){const r=e.charCodeAt(t-1);if(r!==9&&r!==32)break;t-=1}return u===0&&t===e.length?e:e.slice(u,t)}const _ee=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Iee=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function cw(e,u){return G.isArray(e)?e.map(t=>cw(t,u)):Fee(String(e).replace(u,""))}const Tee=e=>cw(e,_ee),Pee=e=>cw(e,Iee);function ak(e){const u=Object.create(null);return G.forEach(e.toJSON(),(t,r)=>{u[r]=Pee(t)}),u}const K9=Symbol("internals");function Us(e){return e&&String(e).trim().toLowerCase()}function ud(e){return e===!1||e==null?e:G.isArray(e)?e.map(ud):Tee(String(e))}function Oee(e){const u=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(e);)u[r[1]]=r[2];return u}const kee=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ph(e,u,t,r,n){if(G.isFunction(r))return r.call(this,u,t);if(n&&(u=t),!!G.isString(u)){if(G.isString(r))return u.indexOf(r)!==-1;if(G.isRegExp(r))return r.test(u)}}function Uee(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(u,t,r)=>t.toUpperCase()+r)}function Qee(e,u){const t=G.toCamelCase(" "+u);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+t,{__proto__:null,value:function(n,i,E){return this[r].call(this,u,n,i,E)},configurable:!0})})}let u0=class{constructor(u){u&&this.set(u)}set(u,t,r){const n=this;function i(o,a,s){const A=Us(a);if(!A)throw new Error("header name must be a non-empty string");const c=G.findKey(n,A);(!c||n[c]===void 0||s===!0||s===void 0&&n[c]!==!1)&&(n[c||a]=ud(o))}const E=(o,a)=>G.forEach(o,(s,A)=>i(s,A,a));if(G.isPlainObject(u)||u instanceof this.constructor)E(u,t);else if(G.isString(u)&&(u=u.trim())&&!kee(u))E(See(u),t);else if(G.isObject(u)&&G.isIterable(u)){let o={},a,s;for(const A of u){if(!G.isArray(A))throw TypeError("Object iterator must return a key-value pair");o[s=A[0]]=(a=o[s])?G.isArray(a)?[...a,A[1]]:[a,A[1]]:A[1]}E(o,t)}else u!=null&&i(t,u,r);return this}get(u,t){if(u=Us(u),u){const r=G.findKey(this,u);if(r){const n=this[r];if(!t)return n;if(t===!0)return Oee(n);if(G.isFunction(t))return t.call(this,n,r);if(G.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(u,t){if(u=Us(u),u){const r=G.findKey(this,u);return!!(r&&this[r]!==void 0&&(!t||ph(this,this[r],r,t)))}return!1}delete(u,t){const r=this;let n=!1;function i(E){if(E=Us(E),E){const o=G.findKey(r,E);o&&(!t||ph(r,r[o],o,t))&&(delete r[o],n=!0)}}return G.isArray(u)?u.forEach(i):i(u),n}clear(u){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];(!u||ph(this,this[i],i,u,!0))&&(delete this[i],n=!0)}return n}normalize(u){const t=this,r={};return G.forEach(this,(n,i)=>{const E=G.findKey(r,i);if(E){t[E]=ud(n),delete t[i];return}const o=u?Uee(i):String(i).trim();o!==i&&delete t[i],t[o]=ud(n),r[o]=!0}),this}concat(...u){return this.constructor.concat(this,...u)}toJSON(u){const t=Object.create(null);return G.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=u&&G.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([u,t])=>u+": "+t).join(`
71`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(u){return u instanceof this?u:new this(u)}static concat(u,...t){const r=new this(u);return t.forEach(n=>r.set(n)),r}static accessor(u){const r=(this[K9]=this[K9]={accessors:{}}).accessors,n=this.prototype;function i(E){const o=Us(E);r[o]||(Qee(n,E),r[o]=!0)}return G.isArray(u)?u.forEach(i):i(u),this}};u0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(u0.prototype,({value:e},u)=>{let t=u[0].toUpperCase()+u.slice(1);return{get:()=>e,set(r){this[t]=r}}});G.freezeMethods(u0);const Lee="[REDACTED ****]";function Mee(e){if(G.hasOwnProp(e,"toJSON"))return!0;let u=Object.getPrototypeOf(e);for(;u&&u!==Object.prototype;){if(G.hasOwnProp(u,"toJSON"))return!0;u=Object.getPrototypeOf(u)}return!1}function Ree(e,u){const t=new Set(u.map(i=>String(i).toLowerCase())),r=[],n=i=>{if(i===null||typeof i!="object"||G.isBuffer(i))return i;if(r.indexOf(i)!==-1)return;i instanceof u0&&(i=i.toJSON()),r.push(i);let E;if(G.isArray(i))E=[],i.forEach((o,a)=>{const s=n(o);G.isUndefined(s)||(E[a]=s)});else{if(!G.isPlainObject(i)&&Mee(i))return r.pop(),i;E=Object.create(null);for(const[o,a]of Object.entries(i)){const s=t.has(o.toLowerCase())?Lee:n(a);G.isUndefined(s)||(E[o]=s)}}return r.pop(),E};return n(e)}let ve=class sk extends Error{static from(u,t,r,n,i,E){const o=new sk(u.message,t||u.code,r,n,i);return o.cause=u,o.name=u.name,u.status!=null&&o.status==null&&(o.status=u.status),E&&Object.assign(o,E),o}constructor(u,t,r,n,i){super(u),Object.defineProperty(this,"message",{__proto__:null,value:u,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){const u=this.config,t=u&&G.hasOwnProp(u,"redact")?u.redact:void 0,r=G.isArray(t)&&t.length>0?Ree(u,t):G.toJSONObject(u);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};ve.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ve.ERR_BAD_OPTION="ERR_BAD_OPTION";ve.ECONNABORTED="ECONNABORTED";ve.ETIMEDOUT="ETIMEDOUT";ve.ECONNREFUSED="ECONNREFUSED";ve.ERR_NETWORK="ERR_NETWORK";ve.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ve.ERR_DEPRECATED="ERR_DEPRECATED";ve.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ve.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ve.ERR_CANCELED="ERR_CANCELED";ve.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ve.ERR_INVALID_URL="ERR_INVALID_URL";ve.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Nee=null;function Sg(e){return G.isPlainObject(e)||G.isArray(e)}function Ak(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function hh(e,u,t){return e?e.concat(u).map(function(n,i){return n=Ak(n),!t&&i?"["+n+"]":n}).join(t?".":""):u}function $ee(e){return G.isArray(e)&&!e.some(Sg)}const Hee=G.toFlatObject(G,{},null,function(u){return/^is[A-Z]/.test(u)});function F2(e,u,t){if(!G.isObject(e))throw new TypeError("target must be an object");u=u||new FormData,t=G.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,m){return!G.isUndefined(m[w])});const r=t.metaTokens,n=t.visitor||c,i=t.dots,E=t.indexes,o=t.Blob||typeof Blob<"u"&&Blob,a=t.maxDepth===void 0?100:t.maxDepth,s=o&&G.isSpecCompliantForm(u);if(!G.isFunction(n))throw new TypeError("visitor must be a function");function A(h){if(h===null)return"";if(G.isDate(h))return h.toISOString();if(G.isBoolean(h))return h.toString();if(!s&&G.isBlob(h))throw new ve("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(h)||G.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,w,m){let g=h;if(G.isReactNative(u)&&G.isReactNativeBlob(h))return u.append(hh(m,w,i),A(h)),!1;if(h&&!m&&typeof h=="object"){if(G.endsWith(w,"{}"))w=r?w:w.slice(0,-2),h=JSON.stringify(h);else if(G.isArray(h)&&$ee(h)||(G.isFileList(h)||G.endsWith(w,"[]"))&&(g=G.toArray(h)))return w=Ak(w),g.forEach(function(d,y){!(G.isUndefined(d)||d===null)&&u.append(E===!0?hh([w],y,i):E===null?w:w+"[]",A(d))}),!1}return Sg(h)?!0:(u.append(hh(m,w,i),A(h)),!1)}const l=[],f=Object.assign(Hee,{defaultVisitor:c,convertValue:A,isVisitable:Sg});function p(h,w,m=0){if(!G.isUndefined(h)){if(m>a)throw new ve("Object is too deeply nested ("+m+" levels). Max depth: "+a,ve.ERR_FORM_DATA_DEPTH_EXCEEDED);if(l.indexOf(h)!==-1)throw Error("Circular reference detected in "+w.join("."));l.push(h),G.forEach(h,function(v,d){(!(G.isUndefined(v)||v===null)&&n.call(u,v,G.isString(d)?d.trim():d,w,f))===!0&&p(v,w?w.concat(d):[d],m+1)}),l.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return p(e),u}function W9(e){const u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return u[r]})}function lw(e,u){this._pairs=[],e&&F2(e,this,u)}const ck=lw.prototype;ck.append=function(u,t){this._pairs.push([u,t])};ck.toString=function(u){const t=u?function(r){return u.call(this,r,W9)}:W9;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function jee(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lk(e,u,t){if(!u)return e;const r=t&&t.encode||jee,n=G.isFunction(t)?{serialize:t}:t,i=n&&n.serialize;let E;if(i?E=i(u,n):E=G.isURLSearchParams(u)?u.toString():new lw(u,n).toString(r),E){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+E}return e}class V9{constructor(){this.handlers=[]}use(u,t,r){return this.handlers.push({fulfilled:u,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(u){this.handlers[u]&&(this.handlers[u]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(u){G.forEach(this.handlers,function(r){r!==null&&u(r)})}}const fw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Kee=typeof URLSearchParams<"u"?URLSearchParams:lw,Wee=typeof FormData<"u"?FormData:null,Vee=typeof Blob<"u"?Blob:null,zee={isBrowser:!0,classes:{URLSearchParams:Kee,FormData:Wee,Blob:Vee},protocols:["http","https","file","blob","url","data"]},dw=typeof window<"u"&&typeof document<"u",Fg=typeof navigator=="object"&&navigator||void 0,Gee=dw&&(!Fg||["ReactNative","NativeScript","NS"].indexOf(Fg.product)<0),Yee=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xee=dw&&window.location.href||"http://localhost",Zee=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dw,hasStandardBrowserEnv:Gee,hasStandardBrowserWebWorkerEnv:Yee,navigator:Fg,origin:Xee},Symbol.toStringTag,{value:"Module"})),Mt={...Zee,...zee};function qee(e,u){return F2(e,new Mt.classes.URLSearchParams,{visitor:function(t,r,n,i){return Mt.isNode&&G.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...u})}function Jee(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(u=>u[0]==="[]"?"":u[1]||u[0])}function eue(e){const u={},t=Object.keys(e);let r;const n=t.length;let i;for(r=0;r<n;r++)i=t[r],u[i]=e[i];return u}function fk(e){function u(t,r,n,i){let E=t[i++];if(E==="__proto__")return!0;const o=Number.isFinite(+E),a=i>=t.length;return E=!E&&G.isArray(n)?n.length:E,a?(G.hasOwnProp(n,E)?n[E]=G.isArray(n[E])?n[E].concat(r):[n[E],r]:n[E]=r,!o):((!G.hasOwnProp(n,E)||!G.isObject(n[E]))&&(n[E]=[]),u(t,r,n[E],i)&&G.isArray(n[E])&&(n[E]=eue(n[E])),!o)}if(G.isFormData(e)&&G.isFunction(e.entries)){const t={};return G.forEachEntry(e,(r,n)=>{u(Jee(r),n,t,0)}),t}return null}const Ao=(e,u)=>e!=null&&G.hasOwnProp(e,u)?e[u]:void 0;function uue(e,u,t){if(G.isString(e))try{return(u||JSON.parse)(e),G.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(e)}const Qc={transitional:fw,adapter:["xhr","http","fetch"],transformRequest:[function(u,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=G.isObject(u);if(i&&G.isHTMLForm(u)&&(u=new FormData(u)),G.isFormData(u))return n?JSON.stringify(fk(u)):u;if(G.isArrayBuffer(u)||G.isBuffer(u)||G.isStream(u)||G.isFile(u)||G.isBlob(u)||G.isReadableStream(u))return u;if(G.isArrayBufferView(u))return u.buffer;if(G.isURLSearchParams(u))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),u.toString();let o;if(i){const a=Ao(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return qee(u,a).toString();if((o=G.isFileList(u))||r.indexOf("multipart/form-data")>-1){const s=Ao(this,"env"),A=s&&s.FormData;return F2(o?{"files[]":u}:u,A&&new A,a)}}return i||n?(t.setContentType("application/json",!1),uue(u)):u}],transformResponse:[function(u){const t=Ao(this,"transitional")||Qc.transitional,r=t&&t.forcedJSONParsing,n=Ao(this,"responseType"),i=n==="json";if(G.isResponse(u)||G.isReadableStream(u))return u;if(u&&G.isString(u)&&(r&&!n||i)){const o=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(u,Ao(this,"parseReviver"))}catch(a){if(o)throw a.name==="SyntaxError"?ve.from(a,ve.ERR_BAD_RESPONSE,this,null,Ao(this,"response")):a}}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mt.classes.FormData,Blob:Mt.classes.Blob},validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch","query"],e=>{Qc.headers[e]={}});function mh(e,u){const t=this||Qc,r=u||t,n=u0.from(r.headers);let i=r.data;return G.forEach(e,function(o){i=o.call(t,i,n.normalize(),u?u.status:void 0)}),n.normalize(),i}function dk(e){return!!(e&&e.__CANCEL__)}let Lc=class extends ve{constructor(u,t,r){super(u??"canceled",ve.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function pk(e,u,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?e(t):u(new ve("Request failed with status code "+t.status,t.status>=400&&t.status<500?ve.ERR_BAD_REQUEST:ve.ERR_BAD_RESPONSE,t.config,t.request,t))}function tue(e){const u=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return u&&u[1]||""}function rue(e,u){e=e||10;const t=new Array(e),r=new Array(e);let n=0,i=0,E;return u=u!==void 0?u:1e3,function(a){const s=Date.now(),A=r[i];E||(E=s),t[n]=a,r[n]=s;let c=i,l=0;for(;c!==n;)l+=t[c++],c=c%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),s-E<u)return;const f=A&&s-A;return f?Math.round(l*1e3/f):void 0}}function nue(e,u){let t=0,r=1e3/u,n,i;const E=(s,A=Date.now())=>{t=A,n=null,i&&(clearTimeout(i),i=null),e(...s)};return[(...s)=>{const A=Date.now(),c=A-t;c>=r?E(s,A):(n=s,i||(i=setTimeout(()=>{i=null,E(n)},r-c)))},()=>n&&E(n)]}const o1=(e,u,t=3)=>{let r=0;const n=rue(50,250);return nue(i=>{if(!i||typeof i.loaded!="number")return;const E=i.loaded,o=i.lengthComputable?i.total:void 0,a=o!=null?Math.min(E,o):E,s=Math.max(0,a-r),A=n(s);r=Math.max(r,a);const c={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:A||void 0,estimated:A&&o?(o-a)/A:void 0,event:i,lengthComputable:o!=null,[u?"download":"upload"]:!0};e(c)},t)},z9=(e,u)=>{const t=e!=null;return[r=>u[0]({lengthComputable:t,total:e,loaded:r}),u[1]]},G9=e=>(...u)=>G.asap(()=>e(...u)),iue=Mt.hasStandardBrowserEnv?((e,u)=>t=>(t=new URL(t,Mt.origin),e.protocol===t.protocol&&e.host===t.host&&(u||e.port===t.port)))(new URL(Mt.origin),Mt.navigator&&/(msie|trident)/i.test(Mt.navigator.userAgent)):()=>!0,Eue=Mt.hasStandardBrowserEnv?{write(e,u,t,r,n,i,E){if(typeof document>"u")return;const o=[`${e}=${encodeURIComponent(u)}`];G.isNumber(t)&&o.push(`expires=${new Date(t).toUTCString()}`),G.isString(r)&&o.push(`path=${r}`),G.isString(n)&&o.push(`domain=${n}`),i===!0&&o.push("secure"),G.isString(E)&&o.push(`SameSite=${E}`),document.cookie=o.join("; ")},read(e){if(typeof document>"u")return null;const u=document.cookie.split(";");for(let t=0;t<u.length;t++){const r=u[t].replace(/^\s+/,""),n=r.indexOf("=");if(n!==-1&&r.slice(0,n)===e)return decodeURIComponent(r.slice(n+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function oue(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aue(e,u){return u?e.replace(/\/?\/$/,"")+"/"+u.replace(/^\/+/,""):e}function hk(e,u,t){let r=!oue(u);return e&&(r||t===!1)?aue(e,u):u}const Y9=e=>e instanceof u0?{...e}:e;function NE(e,u){u=u||{};const t=Object.create(null);Object.defineProperty(t,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(s,A,c,l){return G.isPlainObject(s)&&G.isPlainObject(A)?G.merge.call({caseless:l},s,A):G.isPlainObject(A)?G.merge({},A):G.isArray(A)?A.slice():A}function n(s,A,c,l){if(G.isUndefined(A)){if(!G.isUndefined(s))return r(void 0,s,c,l)}else return r(s,A,c,l)}function i(s,A){if(!G.isUndefined(A))return r(void 0,A)}function E(s,A){if(G.isUndefined(A)){if(!G.isUndefined(s))return r(void 0,s)}else return r(void 0,A)}function o(s,A,c){if(G.hasOwnProp(u,c))return r(s,A);if(G.hasOwnProp(e,c))return r(void 0,s)}const a={url:i,method:i,data:i,baseURL:E,transformRequest:E,transformResponse:E,paramsSerializer:E,timeout:E,timeoutMessage:E,withCredentials:E,withXSRFToken:E,adapter:E,responseType:E,xsrfCookieName:E,xsrfHeaderName:E,onUploadProgress:E,onDownloadProgress:E,decompress:E,maxContentLength:E,maxBodyLength:E,beforeRedirect:E,transport:E,httpAgent:E,httpsAgent:E,cancelToken:E,socketPath:E,allowedSocketPaths:E,responseEncoding:E,validateStatus:o,headers:(s,A,c)=>n(Y9(s),Y9(A),c,!0)};return G.forEach(Object.keys({...e,...u}),function(A){if(A==="__proto__"||A==="constructor"||A==="prototype")return;const c=G.hasOwnProp(a,A)?a[A]:n,l=G.hasOwnProp(e,A)?e[A]:void 0,f=G.hasOwnProp(u,A)?u[A]:void 0,p=c(l,f,A);G.isUndefined(p)&&c!==o||(t[A]=p)}),t}const sue=["content-type","content-length"];function Aue(e,u,t){if(t!=="content-only"){e.set(u);return}Object.entries(u).forEach(([r,n])=>{sue.includes(r.toLowerCase())&&e.set(r,n)})}const cue=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(u,t)=>String.fromCharCode(parseInt(t,16))),mk=e=>{const u=NE({},e),t=l=>G.hasOwnProp(u,l)?u[l]:void 0,r=t("data");let n=t("withXSRFToken");const i=t("xsrfHeaderName"),E=t("xsrfCookieName");let o=t("headers");const a=t("auth"),s=t("baseURL"),A=t("allowAbsoluteUrls"),c=t("url");if(u.headers=o=u0.from(o),u.url=lk(hk(s,c,A),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?cue(a.password):""))),G.isFormData(r)&&(Mt.hasStandardBrowserEnv||Mt.hasStandardBrowserWebWorkerEnv?o.setContentType(void 0):G.isFunction(r.getHeaders)&&Aue(o,r.getHeaders(),t("formDataHeaderPolicy"))),Mt.hasStandardBrowserEnv&&(G.isFunction(n)&&(n=n(u)),n===!0||n==null&&iue(u.url))){const f=i&&E&&Eue.read(E);f&&o.set(i,f)}return u},lue=typeof XMLHttpRequest<"u",fue=lue&&function(e){return new Promise(function(t,r){const n=mk(e);let i=n.data;const E=u0.from(n.headers).normalize();let{responseType:o,onUploadProgress:a,onDownloadProgress:s}=n,A,c,l,f,p;function h(){f&&f(),p&&p(),n.cancelToken&&n.cancelToken.unsubscribe(A),n.signal&&n.signal.removeEventListener("abort",A)}let w=new XMLHttpRequest;w.open(n.method.toUpperCase(),n.url,!0),w.timeout=n.timeout;function m(){if(!w)return;const v=u0.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:v,config:e,request:w};pk(function(C){t(C),h()},function(C){r(C),h()},y),w=null}"onloadend"in w?w.onloadend=m:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))||setTimeout(m)},w.onabort=function(){w&&(r(new ve("Request aborted",ve.ECONNABORTED,e,w)),h(),w=null)},w.onerror=function(d){const y=d&&d.message?d.message:"Network Error",b=new ve(y,ve.ERR_NETWORK,e,w);b.event=d||null,r(b),h(),w=null},w.ontimeout=function(){let d=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const y=n.transitional||fw;n.timeoutErrorMessage&&(d=n.timeoutErrorMessage),r(new ve(d,y.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,w)),h(),w=null},i===void 0&&E.setContentType(null),"setRequestHeader"in w&&G.forEach(ak(E),function(d,y){w.setRequestHeader(y,d)}),G.isUndefined(n.withCredentials)||(w.withCredentials=!!n.withCredentials),o&&o!=="json"&&(w.responseType=n.responseType),s&&([l,p]=o1(s,!0),w.addEventListener("progress",l)),a&&w.upload&&([c,f]=o1(a),w.upload.addEventListener("progress",c),w.upload.addEventListener("loadend",f)),(n.cancelToken||n.signal)&&(A=v=>{w&&(r(!v||v.type?new Lc(null,e,w):v),w.abort(),h(),w=null)},n.cancelToken&&n.cancelToken.subscribe(A),n.signal&&(n.signal.aborted?A():n.signal.addEventListener("abort",A)));const g=tue(n.url);if(g&&!Mt.protocols.includes(g)){r(new ve("Unsupported protocol "+g+":",ve.ERR_BAD_REQUEST,e));return}w.send(i||null)})},due=(e,u)=>{if(e=e?e.filter(Boolean):[],!u&&!e.length)return;const t=new AbortController;let r=!1;const n=function(a){if(!r){r=!0,E();const s=a instanceof Error?a:this.reason;t.abort(s instanceof ve?s:new Lc(s instanceof Error?s.message:s))}};let i=u&&setTimeout(()=>{i=null,n(new ve(`timeout of ${u}ms exceeded`,ve.ETIMEDOUT))},u);const E=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(n):a.removeEventListener("abort",n)}),e=null)};e.forEach(a=>a.addEventListener("abort",n));const{signal:o}=t;return o.unsubscribe=()=>G.asap(E),o},pue=function*(e,u){let t=e.byteLength;if(t<u){yield e;return}let r=0,n;for(;r<t;)n=r+u,yield e.slice(r,n),r=n},hue=async function*(e,u){for await(const t of mue(e))yield*pue(t,u)},mue=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const u=e.getReader();try{for(;;){const{done:t,value:r}=await u.read();if(t)break;yield r}}finally{await u.cancel()}},X9=(e,u,t,r)=>{const n=hue(e,u);let i=0,E,o=a=>{E||(E=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:s,value:A}=await n.next();if(s){o(),a.close();return}let c=A.byteLength;if(t){let l=i+=c;t(l)}a.enqueue(new Uint8Array(A))}catch(s){throw o(s),s}},cancel(a){return o(a),n.return()}},{highWaterMark:2})};function gue(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const u=e.indexOf(",");if(u<0)return 0;const t=e.slice(5,u),r=e.slice(u+1);if(/;base64/i.test(t)){let E=r.length;const o=r.length;for(let f=0;f<o;f++)if(r.charCodeAt(f)===37&&f+2<o){const p=r.charCodeAt(f+1),h=r.charCodeAt(f+2);(p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)&&(h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102)&&(E-=2,f+=2)}let a=0,s=o-1;const A=f=>f>=2&&r.charCodeAt(f-2)===37&&r.charCodeAt(f-1)===51&&(r.charCodeAt(f)===68||r.charCodeAt(f)===100);s>=0&&(r.charCodeAt(s)===61?(a++,s--):A(s)&&(a++,s-=3)),a===1&&s>=0&&(r.charCodeAt(s)===61||A(s))&&a++;const l=Math.floor(E/4)*3-(a||0);return l>0?l:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let i=0;for(let E=0,o=r.length;E<o;E++){const a=r.charCodeAt(E);if(a<128)i+=1;else if(a<2048)i+=2;else if(a>=55296&&a<=56319&&E+1<o){const s=r.charCodeAt(E+1);s>=56320&&s<=57343?(i+=4,E++):i+=3}else i+=3}return i}const pw="1.16.1",Z9=64*1024,{isFunction:Fl}=G,q9=(e,...u)=>{try{return!!e(...u)}catch{return!1}},yue=e=>{const u=G.global!==void 0&&G.global!==null?G.global:globalThis,{ReadableStream:t,TextEncoder:r}=u;e=G.merge.call({skipUndefined:!0},{Request:u.Request,Response:u.Response},e);const{fetch:n,Request:i,Response:E}=e,o=n?Fl(n):typeof fetch=="function",a=Fl(i),s=Fl(E);if(!o)return!1;const A=o&&Fl(t),c=o&&(typeof r=="function"?(m=>g=>m.encode(g))(new r):async m=>new Uint8Array(await new i(m).arrayBuffer())),l=a&&A&&q9(()=>{let m=!1;const g=new i(Mt.origin,{body:new t,method:"POST",get duplex(){return m=!0,"half"}}),v=g.headers.has("Content-Type");return g.body!=null&&g.body.cancel(),m&&!v}),f=s&&A&&q9(()=>G.isReadableStream(new E("").body)),p={stream:f&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!p[m]&&(p[m]=(g,v)=>{let d=g&&g[m];if(d)return d.call(g);throw new ve(`Response type '${m}' is not supported`,ve.ERR_NOT_SUPPORT,v)})});const h=async m=>{if(m==null)return 0;if(G.isBlob(m))return m.size;if(G.isSpecCompliantForm(m))return(await new i(Mt.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(G.isArrayBufferView(m)||G.isArrayBuffer(m))return m.byteLength;if(G.isURLSearchParams(m)&&(m=m+""),G.isString(m))return(await c(m)).byteLength},w=async(m,g)=>{const v=G.toFiniteNumber(m.getContentLength());return v??h(g)};return async m=>{let{url:g,method:v,data:d,signal:y,cancelToken:b,timeout:C,onDownloadProgress:S,onUploadProgress:F,responseType:I,headers:R,withCredentials:X="same-origin",fetchOptions:J,maxContentLength:ee,maxBodyLength:L}=mk(m);const j=G.isNumber(ee)&&ee>-1,ue=G.isNumber(L)&&L>-1;let N=n||fetch;I=I?(I+"").toLowerCase():"text";let Z=due([y,b&&b.toAbortSignal()],C),q=null;const k=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let z;try{if(j&&typeof g=="string"&&g.startsWith("data:")&&gue(g)>ee)throw new ve("maxContentLength size of "+ee+" exceeded",ve.ERR_BAD_RESPONSE,m,q);if(ue&&v!=="get"&&v!=="head"){const fe=await w(R,d);if(typeof fe=="number"&&isFinite(fe)&&fe>L)throw new ve("Request body larger than maxBodyLength limit",ve.ERR_BAD_REQUEST,m,q)}if(F&&l&&v!=="get"&&v!=="head"&&(z=await w(R,d))!==0){let fe=new i(g,{method:"POST",body:d,duplex:"half"}),Ve;if(G.isFormData(d)&&(Ve=fe.headers.get("content-type"))&&R.setContentType(Ve),fe.body){const[Xe,ze]=z9(z,o1(G9(F)));d=X9(fe.body,Z9,Xe,ze)}}G.isString(X)||(X=X?"include":"omit");const W=a&&"credentials"in i.prototype;if(G.isFormData(d)){const fe=R.getContentType();fe&&/^multipart\/form-data/i.test(fe)&&!/boundary=/i.test(fe)&&R.delete("content-type")}R.set("User-Agent","axios/"+pw,!1);const Ee={...J,signal:Z,method:v.toUpperCase(),headers:ak(R.normalize()),body:d,duplex:"half",credentials:W?X:void 0};q=a&&new i(g,Ee);let ce=await(a?N(q,J):N(g,Ee));if(j){const fe=G.toFiniteNumber(ce.headers.get("content-length"));if(fe!=null&&fe>ee)throw new ve("maxContentLength size of "+ee+" exceeded",ve.ERR_BAD_RESPONSE,m,q)}const pe=f&&(I==="stream"||I==="response");if(f&&ce.body&&(S||j||pe&&k)){const fe={};["status","statusText","headers"].forEach(De=>{fe[De]=ce[De]});const Ve=G.toFiniteNumber(ce.headers.get("content-length")),[Xe,ze]=S&&z9(Ve,o1(G9(S),!0))||[];let Qe=0;const Le=De=>{if(j&&(Qe=De,Qe>ee))throw new ve("maxContentLength size of "+ee+" exceeded",ve.ERR_BAD_RESPONSE,m,q);Xe&&Xe(De)};ce=new E(X9(ce.body,Z9,Le,()=>{ze&&ze(),k&&k()}),fe)}I=I||"text";let le=await p[G.findKey(p,I)||"text"](ce,m);if(j&&!f&&!pe){let fe;if(le!=null&&(typeof le.byteLength=="number"?fe=le.byteLength:typeof le.size=="number"?fe=le.size:typeof le=="string"&&(fe=typeof r=="function"?new r().encode(le).byteLength:le.length)),typeof fe=="number"&&fe>ee)throw new ve("maxContentLength size of "+ee+" exceeded",ve.ERR_BAD_RESPONSE,m,q)}return!pe&&k&&k(),await new Promise((fe,Ve)=>{pk(fe,Ve,{data:le,headers:u0.from(ce.headers),status:ce.status,statusText:ce.statusText,config:m,request:q})})}catch(W){if(k&&k(),Z&&Z.aborted&&Z.reason instanceof ve){const Ee=Z.reason;throw Ee.config=m,q&&(Ee.request=q),W!==Ee&&(Ee.cause=W),Ee}throw W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,m,q,W&&W.response),{cause:W.cause||W}):ve.from(W,W&&W.code,m,q,W&&W.response)}}},vue=new Map,gk=e=>{let u=e&&e.env||{};const{fetch:t,Request:r,Response:n}=u,i=[r,n,t];let E=i.length,o=E,a,s,A=vue;for(;o--;)a=i[o],s=A.get(a),s===void 0&&A.set(a,s=o?new Map:yue(u)),A=s;return s};gk();const hw={http:Nee,xhr:fue,fetch:{get:gk}};G.forEach(hw,(e,u)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:u})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:u})}});const J9=e=>`- ${e}`,Bue=e=>G.isFunction(e)||e===null||e===!1;function wue(e,u){e=G.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let E=0;E<t;E++){r=e[E];let o;if(n=r,!Bue(r)&&(n=hw[(o=String(r)).toLowerCase()],n===void 0))throw new ve(`Unknown adapter '${o}'`);if(n&&(G.isFunction(n)||(n=n.get(u))))break;i[o||"#"+E]=n}if(!n){const E=Object.entries(i).map(([a,s])=>`adapter ${a} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?E.length>1?`since :
72`+E.map(J9).join(`
73`):" "+J9(E[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n}const yk={getAdapter:wue,adapters:hw};function gh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lc(null,e)}function eC(e){return gh(e),e.headers=u0.from(e.headers),e.data=mh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yk.getAdapter(e.adapter||Qc.adapter,e)(e).then(function(r){gh(e),e.response=r;try{r.data=mh.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=u0.from(r.headers),r},function(r){if(!dk(r)&&(gh(e),r&&r.response)){e.response=r.response;try{r.response.data=mh.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=u0.from(r.response.headers)}return Promise.reject(r)})}const _2={};["object","boolean","number","function","string","symbol"].forEach((e,u)=>{_2[e]=function(r){return typeof r===e||"a"+(u<1?"n ":" ")+e}});const uC={};_2.transitional=function(u,t,r){function n(i,E){return"[Axios v"+pw+"] Transitional option '"+i+"'"+E+(r?". "+r:"")}return(i,E,o)=>{if(u===!1)throw new ve(n(E," has been removed"+(t?" in "+t:"")),ve.ERR_DEPRECATED);return t&&!uC[E]&&(uC[E]=!0,console.warn(n(E," has been deprecated since v"+t+" and will be removed in the near future"))),u?u(i,E,o):!0}};_2.spelling=function(u){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${u}`),!0)};function bue(e,u,t){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const i=r[n],E=Object.prototype.hasOwnProperty.call(u,i)?u[i]:void 0;if(E){const o=e[i],a=o===void 0||E(o,i,e);if(a!==!0)throw new ve("option "+i+" must be "+a,ve.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const td={assertOptions:bue,validators:_2},N0=td.validators;let CE=class{constructor(u){this.defaults=u||{},this.interceptors={request:new V9,response:new V9}}async request(u,t){try{return await this._request(u,t)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const i=(()=>{if(!n.stack)return"";const E=n.stack.indexOf(`
74`);return E===-1?"":n.stack.slice(E+1)})();try{if(!r.stack)r.stack=i;else if(i){const E=i.indexOf(`
75`),o=E===-1?-1:i.indexOf(`
76`,E+1),a=o===-1?"":i.slice(o+1);String(r.stack).endsWith(a)||(r.stack+=`
77`+i)}}catch{}}throw r}}_request(u,t){typeof u=="string"?(t=t||{},t.url=u):t=u||{},t=NE(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;r!==void 0&&td.assertOptions(r,{silentJSONParsing:N0.transitional(N0.boolean),forcedJSONParsing:N0.transitional(N0.boolean),clarifyTimeoutError:N0.transitional(N0.boolean),legacyInterceptorReqResOrdering:N0.transitional(N0.boolean)},!1),n!=null&&(G.isFunction(n)?t.paramsSerializer={serialize:n}:td.assertOptions(n,{encode:N0.function,serialize:N0.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),td.assertOptions(t,{baseUrl:N0.spelling("baseURL"),withXsrfToken:N0.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let E=i&&G.merge(i.common,i[t.method]);i&&G.forEach(["delete","get","head","post","put","patch","query","common"],p=>{delete i[p]}),t.headers=u0.concat(E,i);const o=[];let a=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(t)===!1)return;a=a&&h.synchronous;const w=t.transitional||fw;w&&w.legacyInterceptorReqResOrdering?o.unshift(h.fulfilled,h.rejected):o.push(h.fulfilled,h.rejected)});const s=[];this.interceptors.response.forEach(function(h){s.push(h.fulfilled,h.rejected)});let A,c=0,l;if(!a){const p=[eC.bind(this),void 0];for(p.unshift(...o),p.push(...s),l=p.length,A=Promise.resolve(t);c<l;)A=A.then(p[c++],p[c++]);return A}l=o.length;let f=t;for(;c<l;){const p=o[c++],h=o[c++];try{f=p(f)}catch(w){h.call(this,w);break}}try{A=eC.call(this,f)}catch(p){return Promise.reject(p)}for(c=0,l=s.length;c<l;)A=A.then(s[c++],s[c++]);return A}getUri(u){u=NE(this.defaults,u);const t=hk(u.baseURL,u.url,u.allowAbsoluteUrls);return lk(t,u.params,u.paramsSerializer)}};G.forEach(["delete","get","head","options"],function(u){CE.prototype[u]=function(t,r){return this.request(NE(r||{},{method:u,url:t,data:(r||{}).data}))}});G.forEach(["post","put","patch","query"],function(u){function t(r){return function(i,E,o){return this.request(NE(o||{},{method:u,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:E}))}}CE.prototype[u]=t(),u!=="query"&&(CE.prototype[u+"Form"]=t(!0))});let xue=class vk{constructor(u){if(typeof u!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});const r=this;this.promise.then(n=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const E=new Promise(o=>{r.subscribe(o),i=o}).then(n);return E.cancel=function(){r.unsubscribe(i)},E},u(function(i,E,o){r.reason||(r.reason=new Lc(i,E,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
vendor: 4,306 bytes, lines 77-93
77subscribe(u){if(this.reason){u(this.reason);return}this._listeners?this._listeners.push(u):this._listeners=[u]}unsubscribe(u){if(!this._listeners)return;const t=this._listeners.indexOf(u);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const u=new AbortController,t=r=>{u.abort(r)};return this.subscribe(t),u.signal.unsubscribe=()=>this.unsubscribe(t),u.signal}static source(){let u;return{token:new vk(function(n){u=n}),cancel:u}}};function Cue(e){return function(t){return e.apply(null,t)}}function Due(e){return G.isObject(e)&&e.isAxiosError===!0}const _g={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(_g).forEach(([e,u])=>{_g[u]=e});function Bk(e){const u=new CE(e),t=ek(CE.prototype.request,u);return G.extend(t,CE.prototype,u,{allOwnKeys:!0}),G.extend(t,u,null,{allOwnKeys:!0}),t.create=function(n){return Bk(NE(e,n))},t}const et=Bk(Qc);et.Axios=CE;et.CanceledError=Lc;et.CancelToken=xue;et.isCancel=dk;et.VERSION=pw;et.toFormData=F2;et.AxiosError=ve;et.Cancel=et.CanceledError;et.all=function(u){return Promise.all(u)};et.spread=Cue;et.isAxiosError=Due;et.mergeConfig=NE;et.AxiosHeaders=u0;et.formToJSON=e=>fk(G.isHTMLForm(e)?new FormData(e):e);et.getAdapter=yk.getAdapter;et.HttpStatusCode=_g;et.default=et;const{Axios:TVe,AxiosError:PVe,CanceledError:OVe,isCancel:kVe,CancelToken:UVe,VERSION:QVe,all:LVe,Cancel:MVe,isAxiosError:RVe,spread:NVe,toFormData:$Ve,AxiosHeaders:HVe,HttpStatusCode:jVe,formToJSON:KVe,getAdapter:WVe,mergeConfig:VVe,create:zVe}=et;var wk={exports:{}},bk={};/**
78 * @license React
79 * use-sync-external-store-shim.production.js
80 *
81 * Copyright (c) Meta Platforms, Inc. and affiliates.
82 *
83 * This source code is licensed under the MIT license found in the
84 * LICENSE file in the root directory of this source tree.
85 */var Pa=Q;function Sue(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var Fue=typeof Object.is=="function"?Object.is:Sue,_ue=Pa.useState,Iue=Pa.useEffect,Tue=Pa.useLayoutEffect,Pue=Pa.useDebugValue;function Oue(e,u){var t=u(),r=_ue({inst:{value:t,getSnapshot:u}}),n=r[0].inst,i=r[1];return Tue(function(){n.value=t,n.getSnapshot=u,yh(n)&&i({inst:n})},[e,t,u]),Iue(function(){return yh(n)&&i({inst:n}),e(function(){yh(n)&&i({inst:n})})},[e]),Pue(t),t}function yh(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!Fue(e,t)}catch{return!0}}function kue(e,u){return u()}var Uue=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?kue:Oue;bk.useSyncExternalStore=Pa.useSyncExternalStore!==void 0?Pa.useSyncExternalStore:Uue;wk.exports=bk;var Que=wk.exports,xk={exports:{}},Ck={};/**
86 * @license React
87 * use-sync-external-store-shim/with-selector.production.js
88 *
89 * Copyright (c) Meta Platforms, Inc. and affiliates.
90 *
91 * This source code is licensed under the MIT license found in the
92 * LICENSE file in the root directory of this source tree.
93 */var I2=Q,Lue=Que;function Mue(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var Rue=typeof Object.is=="function"?Object.is:Mue,Nue=Lue.useSyncExternalStore,$ue=
93I2.useRef,Hue=I2.useEffect,jue=I2.useMemo,Kue=I2.useDebugValue;Ck.useSyncExternalStoreWithSelector=function(e,u,t,r,n){var i=$ue(null);if(i.current===null){var E={hasValue:!1,value:null};i.current=E}else E=i.current;i=jue(function(){function a(f){if(!s){if(s=!0,A=f,f=r(f),n!==void 0&&E.hasValue){var p=E.value;if(n(p,f))return c=p}return c=f}if(p=c,Rue(A,f))return p;var h=r(f);return n!==void 0&&n(p,h)?(A=f,p):(A=f,c=h)}var s=!1,A,c,l=t===void 0?null:t;return[function(){return a(u())},l===null?void 0:function(){return a(l())}]},[u,t,r,n]);var o=Nue(e,i[0],i[1]);return Hue(function(){E.hasValue=!0,E.value=o},[o]),Kue(o),o};xk.exports=Ck;var Wue=xk.exports;function Vue(e){e()}let Dk=Vue;const zue=e=>Dk=e,Gue=()=>Dk,tC=Symbol.for("react-redux-context"),rC=typeof globalThis<"u"?globalThis:{};function Yue(){var e;if(!Q.createContext)return{};const u=(e=rC[tC])!=null?e:rC[tC]=new Map;let t=u.get(Q.createContext);return t||(t=Q.createContext(null),u.set(Q.createContext,t)),t}const Ii=Yue();function mw(e=Ii){return function(){return Q.useContext(e)}}const Sk=mw(),Xue=()=>{throw new Error("uSES not initialized!")};let Fk=Xue;const Zue=e=>{Fk=e},que=(e,u)=>e===u;function Jue(e=Ii){const u=e===Ii?Sk:mw(e);return function(r,n={}){const{equalityFn:i=que,stabilityCheck:E=void 0,noopCheck:o=void 0}=typeof n=="function"?{equalityFn:n}:n,{store:a,subscription:s,getServerState:A,stabilityCheck:c,noopC
vendor: 4,576 bytes, lines 93-108
93heck:l}=u();Q.useRef(!0);const f=Q.useCallback({[r.name](h){return r(h)}}[r.name],[r,c,E]),p=Fk(s.addNestedSub,a.getState,A||a.getState,f,i);return Q.useDebugValue(p),p}}const GVe=Jue();function Ig(){return Ig=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ig.apply(null,arguments)}function _k(e,u){if(e==null)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(u.indexOf(r)!==-1)continue;t[r]=e[r]}return t}var Ik={exports:{}},Eu={};/** @license React v16.13.1
94 * react-is.production.min.js
95 *
96 * Copyright (c) Facebook, Inc. and its affiliates.
97 *
98 * This source code is licensed under the MIT license found in the
99 * LICENSE file in the root directory of this source tree.
100 */var ht=typeof Symbol=="function"&&Symbol.for,gw=ht?Symbol.for("react.element"):60103,yw=ht?Symbol.for("react.portal"):60106,T2=ht?Symbol.for("react.fragment"):60107,P2=ht?Symbol.for("react.strict_mode"):60108,O2=ht?Symbol.for("react.profiler"):60114,k2=ht?Symbol.for("react.provider"):60109,U2=ht?Symbol.for("react.context"):60110,vw=ht?Symbol.for("react.async_mode"):60111,Q2=ht?Symbol.for("react.concurrent_mode"):60111,L2=ht?Symbol.for("react.forward_ref"):60112,M2=ht?Symbol.for("react.suspense"):60113,ete=ht?Symbol.for("react.suspense_list"):60120,R2=ht?Symbol.for("react.memo"):60115,N2=ht?Symbol.for("react.lazy"):60116,ute=ht?Symbol.for("react.block"):60121,tte=ht?Symbol.for("react.fundamental"):60117,rte=ht?Symbol.for("react.responder"):60118,nte=ht?Symbol.for("react.scope"):60119;function L0(e){if(typeof e=="object"&&e!==null){var u=e.$$typeof;switch(u){case gw:switch(e=e.type,e){case vw:case Q2:case T2:case O2:case P2:case M2:return e;default:switch(e=e&&e.$$typeof,e){case U2:case L2:case N2:case R2:case k2:return e;default:return u}}case yw:return u}}}function Tk(e){return L0(e)===Q2}Eu.AsyncMode=vw;Eu.ConcurrentMode=Q2;Eu.ContextConsumer=U2;Eu.ContextProvider=k2;Eu.Element=gw;Eu.ForwardRef=L2;Eu.Fragment=T2;Eu.Lazy=N2;Eu.Memo=R2;Eu.Portal=yw;Eu.Profiler=O2;Eu.StrictMode=P2;Eu.Suspense=M2;Eu.isAsyncMode=function(e){return Tk(e)||L0(e)===vw};Eu.isConcurrentMode=Tk;Eu.isContextConsumer=function(e){return L0(e)===U2};Eu.isContextProvider=function(e){return L0(e)===k2};Eu.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gw};Eu.isForwardRef=function(e){return L0(e)===L2};Eu.isFragment=function(e){return L0(e)===T2};Eu.isLazy=function(e){return L0(e)===N2};Eu.isMemo=function(e){return L0(e)===R2};Eu.isPortal=function(e){return L0(e)===yw};Eu.isProfiler=function(e){return L0(e)===O2};Eu.isStrictMode=function(e){return L0(e)===P2};Eu.isSuspense=function(e){return L0(e)===M2};Eu.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===T2||e===Q2||e===O2||e===P2||e===M2||e===ete||typeof e=="object"&&e!==null&&(e.$$typeof===N2||e.$$typeof===R2||e.$$typeof===k2||e.$$typeof===U2||e.$$typeof===L2||e.$$typeof===tte||e.$$typeof===rte||e.$$typeof===nte||e.$$typeof===ute)};Eu.typeOf=L0;Ik.exports=Eu;var ite=Ik.exports,Pk=ite,Ete={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ote={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ok={};Ok[Pk.ForwardRef]=Ete;Ok[Pk.Memo]=ote;var Au={};/**
101 * @license React
102 * react-is.production.min.js
103 *
104 * Copyright (c) Facebook, Inc. and its affiliates.
105 *
106 * This source code is licensed under the MIT license found in the
107 * LICENSE file in the root directory of this source tree.
108 */var Bw=Symbol.for("react.element"),ww=Symbol.for("react.portal"),$2=Symbol.for("react.fragment"),H2=Symbol.for("react.strict_mode"),j2=Symbol.for("react.profiler"),K2=Symbol.for("react.provider"),W2=Symbol.for("react.context"),ate=Symbol.for("react.server_context"),V2=Symbol.for("react.forward_ref"),z2=Symbol.for("react.suspense"),G2=Symbol.for("react.suspense_list"),Y2=Symbol.for("react.memo"),X2=Symbol.for("react.lazy"),ste=Symbol.for("react.offscreen"),kk;kk=Symbol.for("react.module.reference");function or(e){if(typeof e=="object"&&e!==null){var u=e.$$typeof;switch(u){case Bw:switch(e=e.type,e){case $2:case j2:case H2:case z2:case G2:return e;default:switch(e=e&&e.$$typeof,e){case ate:case W2:case V2:case X2:case Y2:case K2:return e;default:return u}}case ww:return u}}}Au.ContextConsumer=W2;Au.ContextProvider=K2;Au.Element=Bw;Au.ForwardRef=V2;Au.Fragment=$2;Au.Lazy=X2;Au.Memo=Y2;Au.Portal=ww;Au.Profiler=j2;Au.StrictMode=H2;Au.Suspense=z2;Au.SuspenseList=G2;Au.isAsyncMode=function(){return!1};
108Au.isConcurrentMode=function(){return!1};Au.isContextConsumer=function(e){return or(e)===W2};Au.isContextProvider=function(e){return or(e)===K2};Au.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bw};Au.isForwardRef=function(e){return or(e)===V2};Au.isFragment=function(e){return or(e)===$2};Au.isLazy=function(e){return or(e)===X2};Au.isMemo=function(e){return or(e)===Y2};Au.isPortal=function(e){return or(e)===ww};Au.isProfiler=function(e){return or(e)===j2};Au.isStrictMode=function(e){return or(e)===H2};Au.isSuspense=function(e){return or(e)===z2};Au.isSuspenseList=function(e){return or(e)===G2};Au.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===$2||e===j2||e===H2||e===z2||e===G2||e===ste||typeof e=="object"&&e!==null&&(e.$$typeof===X2||e.$$typeof===Y2||e.$$typeof===K2||e.$$typeof===W2||e.$$typeof===V2||e.$$typeof===kk||e.getModuleId!==void 0)};Au.typeOf=or;function Ate(){const e=Gue();let u=null,t=null;return{clear(){u=null,t=null},notify(){e(()=>{let r=u;for(;r;)r.callback(),r=r.next})},get(){let r=[],n=u;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:u=i,function(){!n||u===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:u=i.next)}}}}const nC={notify(){},get:()=>[]};function cte(e,u){let t,r=nC,n=0,i=!1;function E(h){A();const w=r.subscribe(h);let m=!1;return()=>{m||(m=!0,w(),c())}}function o(){r.notify()}function a(){p.onStateChange&&p.onStateChange()}function s(){return i}function A(){n++,t||(t=e.subscribe(a),r=Ate())}function c(){n--,t&&n===0&&(t(),t=void 0,r.clear(),r=nC)}function l(){i||(i=!0,A())}function f(){i&&(i=!1,c())}const p={addNestedSub:E,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:f,getListeners:()=>r};return p}const lte=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",fte=lte?Q.useLayoutEffect:Q.useEffect;function YVe({store:e,context:u,children:t,serverState:r,stabilityCheck:n="once",noopCheck:i="once"}){const E=Q.useMemo(()=>{const s=cte(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0,stabilityCheck:n,noopCheck:i}},[e,r,n,i]),o=Q.useMemo(()=>e.getState(),[e]);fte(()=>{const{subscription:s}=E;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[E,o]);const a=u||Ii;return Q.createElement(a.Provider,{value:E},t)}function Uk(e=Ii){const u=e===Ii?Sk:mw(e);return function(){const{store:r}=u();return r}}const dte=Uk();function pte(e=Ii){const u=e===Ii?dte:Uk(e);return function(){return u().dispatch}}const XVe=pte();Zue(Wue.useSyncExternalStoreWithSelector);zue(Za.unstable_batchedUpdates);function rd(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?rd=function(t){return typeof t}:rd=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rd(e)}function hte(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function mte(e,u){for(var t=0;t<u.length;t++){var r=u[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gte(e,u,t){return u&&mte(e.prototype,u),e}function yte(e,u){return u&&(rd(u)==="object"||typeof u=="function")?u:nd(e)}function Tg(e){return Tg=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Tg(e)}function nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),u&&Pg(e,u)}function Pg(e,u){return Pg=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},Pg(e,u)}function id(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var Bte=function(e){vte(u,e);function u(){var t,r;hte(this,u);for(var n=arguments.length,i=new Array(n),E=0;E<n;E++)i[E]=arguments[E];return r=yte(this,(t=Tg(u)).call.apply(t,[this].concat(i))),id(nd(r),"state",{bootstrapped:!1}),id(nd(r),"_unsubscribe",void 0),id(nd(r),"handlePersistorState",function(){var o=r.props.persistor,a=o.getState(),s=a.bootstrapped;s&&(r.props.onBeforeLift?Promise.resolve(r.props.onBeforeLift()).finally(function(){return r.setState({bootstrapped:!0})}):r.setState({bootstrapped:!0}),r._unsubscribe&&r._unsubscribe())}),r}
vendor: 4,199 bytes, lines 108-117
108return gte(u,[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return typeof this.props.children=="function"?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}]),u}(Q.PureComponent);id(Bte,"defaultProps",{children:null,loading:null});/**
109 * @remix-run/router v1.23.3
110 *
111 * Copyright (c) Remix Software Inc.
112 *
113 * This source code is licensed under the MIT license found in the
114 * LICENSE.md file in the root directory of this source tree.
115 *
116 * @license MIT
117 */function ic(){return ic=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ic.apply(null,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(qn||(qn={}));const iC="popstate";function wte(e){e===void 0&&(e={});function u(r,n){let{pathname:i,search:E,hash:o}=r.location;return Og("",{pathname:i,search:E,hash:o},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}function t(r,n){return typeof n=="string"?n:Qk(n)}return xte(u,t,null,e)}function ot(e,u){if(e===!1||e===null||typeof e>"u")throw new Error(u)}function bw(e,u){if(!e){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function bte(){return Math.random().toString(36).substr(2,8)}function EC(e,u){return{usr:e.state,key:e.key,idx:u}}function Og(e,u,t,r){return t===void 0&&(t=null),ic({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof u=="string"?rs(u):u,{state:t,key:u&&u.key||r||bte()})}function Qk(e){let{pathname:u="/",search:t="",hash:r=""}=e;return t&&t!=="?"&&(u+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(u+=r.charAt(0)==="#"?r:"#"+r),u}function rs(e){let u={};if(e){let t=e.indexOf("#");t>=0&&(u.hash=e.substr(t),e=e.substr(0,t));let r=e.indexOf("?");r>=0&&(u.search=e.substr(r),e=e.substr(0,r)),e&&(u.pathname=e)}return u}function xte(e,u,t,r){r===void 0&&(r={});let{window:n=document.defaultView,v5Compat:i=!1}=r,E=n.history,o=qn.Pop,a=null,s=A();s==null&&(s=0,E.replaceState(ic({},E.state,{idx:s}),""));function A(){return(E.state||{idx:null}).idx}function c(){o=qn.Pop;let w=A(),m=w==null?null:w-s;s=w,a&&a({action:o,location:h.location,delta:m})}function l(w,m){o=qn.Push;let g=Og(h.location,w,m);s=A()+1;let v=EC(g,s),d=h.createHref(g);try{E.pushState(v,"",d)}catch(y){if(y instanceof DOMException&&y.name==="DataCloneError")throw y;n.location.assign(d)}i&&a&&a({action:o,location:h.location,delta:1})}function f(w,m){o=qn.Replace;let g=Og(h.location,w,m);s=A();let v=EC(g,s),d=h.createHref(g);E.replaceState(v,"",d),i&&a&&a({action:o,location:h.location,delta:0})}function p(w){let m=n.location.origin!=="null"?n.location.origin:n.location.href,g=typeof w=="string"?w:Qk(w);return g=g.replace(/ $/,"%20"),ot(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let h={get action(){return o},get location(){return e(n,E)},listen(w){if(a)throw new Error("A history only accepts one active listener");return n.addEventListener(iC,c),a=w,()=>{n.removeEventListener(iC,c),a=null}},createHref(w){return u(n,w)},createURL:p,encodeLocation(w){let m=p(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:l,replace:f,go(w){return E.go(w)}};return h}var oC;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oC||(oC={}));function Cte(e,u,t){return t===void 0&&(t="/"),Dte(e,u,t)}function Dte(e,u,t,r){let n=typeof u=="string"?rs(u):u,i=Rk(n.pathname||"/",t);if(i==null)return null;let E=Lk(e);Ste(E);let o=null,a=Rte(i);for(let s=0;o==null&&s<E.length;++s)o=Qte(E[s],a);return o}function Lk(e,u,t,r){u===void 0&&(u=[]),t===void 0&&(t=[]),r===void 0&&(r="");let n=(i,E,o)=>{let a={relativePath:o===void 0?i.path||"":o,caseSensitive:i.caseSensitive===!0,childrenIndex:E,route:i};a.relativePath.startsWith("/")&&(ot(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not val
117id. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=DE([r,a.relativePath]),A=t.concat(a);i.children&&i.children.length>0&&(ot(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Lk(i.children,u,A,s)),!(i.path==null&&!i.index)&&u.push({path:s,score:kte(s,i.index),routesMeta:A})};return e.forEach((i,E)=>{var o;if(i.path===""||!((o=i.path)!=null&&o.includes("?")))n(i,E);else for(let a of Mk(i.path))n(i,E,a)}),u}function Mk(e){let u=e.split("/");if(u.length===0)return[];let[t,...r]=u,n=t.endsWith("?"),i=t.replace(/\?$/,"");if(r.length===0)return n?[i,""]:[i];let E=Mk(r.join("/")),o=[];return o.push(...E.map(a=>a===""?i:[i,a].join("/"))),n&&o.push(...E),o.map(a=>e.startsWith("/")&&a===""?"/":a)}function Ste(e){e.sort((u,t)=>u.score!==t.score?t.score-u.score:Ute(u.routesMeta.map(r=>r.childrenIndex),t.routesMeta.map(r=>r.childrenIndex)))}const Fte=/^:[\w-]+$/,_te=3,Ite=2,Tte=1,Pte=10,Ote=-2,aC=e=>e==="*";function kte(e,u){let t=e.split("/"),r=t.length;return t.some(aC)&&(r+=Ote),u&&(r+=Ite),t.filter(n=>!aC(n)).reduce((n,i)=>n+(Fte.test(i)?_te:i===""?Tte:Pte),r)}function Ute(e,u){return e.length===u.length&&e.slice(0,-1).every((r,n)=>r===u[n])?e[e.length-1]-u[u.length-1]:0}function Qte(e,u,t){let{routesMeta:r}=e,n={},i="/",E=[];for(let o=0;o<r.length;++o){let a=r[o],s=o===r.length-1,A=i==="/"?u:u.slice(i.length)||"/",c=Lte({path:a.relativePath,caseSensitive:a.caseSensitive,end:s},A),l=a.route;if(!c)return null;
vendor: 5,722 bytes, lines 117-126
117Object.assign(n,c.params),E.push({params:n,pathname:DE([i,c.pathname]),pathnameBase:Vte(DE([i,c.pathnameBase])),route:l}),c.pathnameBase!=="/"&&(i=DE([i,c.pathnameBase]))}return E}function Lte(e,u){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[t,r]=Mte(e.path,e.caseSensitive,e.end),n=u.match(t);if(!n)return null;let i=n[0],E=i.replace(/(.)\/+$/,"$1"),o=n.slice(1);return{params:r.reduce((s,A,c)=>{let{paramName:l,isOptional:f}=A;if(l==="*"){let h=o[c]||"";E=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const p=o[c];return f&&!p?s[l]=void 0:s[l]=(p||"").replace(/%2F/g,"/"),s},{}),pathname:i,pathnameBase:E,pattern:e}}function Mte(e,u,t){u===void 0&&(u=!1),t===void 0&&(t=!0),bw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(E,o,a)=>(r.push({paramName:o,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),n+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?n+="\\/*$":e!==""&&e!=="/"&&(n+="(?:(?=\\/|$))"),[new RegExp(n,u?void 0:"i"),r]}function Rte(e){try{return e.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return bw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+u+").")),e}}function Rk(e,u){if(u==="/")return e;if(!e.toLowerCase().startsWith(u.toLowerCase()))return null;let t=u.endsWith("/")?u.length-1:u.length,r=e.charAt(t);return r&&r!=="/"?null:e.slice(t)||"/"}const Nte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$te=e=>Nte.test(e);function Hte(e,u){u===void 0&&(u="/");let{pathname:t,search:r="",hash:n=""}=typeof e=="string"?rs(e):e,i;if(t)if($te(t))i=t;else{if(t.includes("//")){let E=t;t=Nk(t),bw(!1,"Pathnames cannot have embedded double slashes - normalizing "+(E+" -> "+t))}t.startsWith("/")?i=sC(t.substring(1),"/"):i=sC(t,u)}else i=u;return{pathname:i,search:zte(r),hash:Gte(n)}}function sC(e,u){let t=u.replace(/\/+$/,"").split("/");return e.split("/").forEach(n=>{n===".."?t.length>1&&t.pop():n!=="."&&t.push(n)}),t.length>1?t.join("/"):"/"}function vh(e,u,t,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+u+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function jte(e){return e.filter((u,t)=>t===0||u.route.path&&u.route.path.length>0)}function Kte(e,u){let t=jte(e);return u?t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase):t.map(r=>r.pathnameBase)}function Wte(e,u,t,r){r===void 0&&(r=!1);let n;typeof e=="string"?n=rs(e):(n=ic({},e),ot(!n.pathname||!n.pathname.includes("?"),vh("?","pathname","search",n)),ot(!n.pathname||!n.pathname.includes("#"),vh("#","pathname","hash",n)),ot(!n.search||!n.search.includes("#"),vh("#","search","hash",n)));let i=e===""||n.pathname==="",E=i?"/":n.pathname,o;if(E==null)o=t;else{let c=u.length-1;if(!r&&E.startsWith("..")){let l=E.split("/");for(;l[0]==="..";)l.shift(),c-=1;n.pathname=l.join("/")}o=c>=0?u[c]:"/"}let a=Hte(n,o),s=E&&E!=="/"&&E.endsWith("/"),A=(i||E===".")&&t.endsWith("/");return!a.pathname.endsWith("/")&&(s||A)&&(a.pathname+="/"),a}const Nk=e=>e.replace(/\/\/+/g,"/"),DE=e=>Nk(e.join("/")),Vte=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),zte=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Gte=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Yte(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $k=["post","put","patch","delete"];new Set($k);const Xte=["get",...$k];new Set(Xte);/**
118 * React Router v6.30.4
119 *
120 * Copyright (c) Remix Software Inc.
121 *
122 * This source code is licensed under the MIT license found in the
123 * LICENSE.md file in the root directory of this source tree.
124 *
125 * @license MIT
126 */function Ec(){return Ec=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ec.apply(null,arguments)}const xw=Q.createContext(null),Zte=Q.createContext(null),Z2=Q.createContext(null),q2=Q.createContext(null),Hi=Q.createContext({outlet:null,matches:[],isDataRoute:!1}),Hk=Q.createContext(null);function J2(){return Q.useContext(q2)!=null}function Cw(){return J2()||ot(!1),Q.useContext(q2).location}function jk(e){Q.useContext(Z2).static||Q.useLayoutEffect(e)}function qte(){let{isDataRoute:e}=Q.useContext(Hi);return e?f0e():Jte()}function Jte(){J2()||ot(!1);let e=Q.useContext(xw),{basename:u,future:t,navigator:r}=Q.useContext(Z2),{matches:n}=Q.useContext(Hi),{pathname:i}=Cw(),E=JSON.stringify(Kte(n,t.v7_relativeSplatPath)),o=Q.useRef(!1);return jk(()=>{o.current=!0}),Q.useCallback(function(s,A){if(A===void 0&&(A={}),!o.current)return;if(typeof s=="number"){r.go(s);return}let c=Wte(s,JSON.parse(E),i,A.relative==="path");e==null&&u!=="/"&&(c.pathname=c.pathname==="/"?u:DE([u,c.pathname])),(A.replace?r.replace:r.push)(c,A.state,A)},[u,r,E,i,e])}const e0e=Q.createContext(null);function u0e(e){let u=Q.useContext(Hi).outlet;return u&&Q.createElement(e0e.Provider,{value:e},u)}function ZVe(){let{matches:e}=Q.useContext(Hi),u=e[e.length-1];return u?u.params:{}}function t0e(e,u){return r0e(e,u)}function r0e(e,u,t,r){J2()||ot(!1);let{navigator:n}=Q.useContext(Z2),{matches:i}
vendor: 4,560 bytes, line 126
126=Q.useContext(Hi),E=i[i.length-1],o=E?E.params:{};E&&E.pathname;let a=E?E.pathnameBase:"/";E&&E.route;let s=Cw(),A;if(u){var c;let w=typeof u=="string"?rs(u):u;a==="/"||(c=w.pathname)!=null&&c.startsWith(a)||ot(!1),A=w}else A=s;let l=A.pathname||"/",f=l;if(a!=="/"){let w=a.replace(/^\//,"").split("/");f="/"+l.replace(/^\//,"").split("/").slice(w.length).join("/")}let p=Cte(e,{pathname:f}),h=a0e(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:DE([a,n.encodeLocation?n.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:DE([a,n.encodeLocation?n.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,t,r);return u&&h?Q.createElement(q2.Provider,{value:{location:Ec({pathname:"/",search:"",hash:"",state:null,key:"default"},A),navigationType:qn.Pop}},h):h}function n0e(){let e=l0e(),u=Yte(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return Q.createElement(Q.Fragment,null,Q.createElement("h2",null,"Unexpected Application Error!"),Q.createElement("h3",{style:{fontStyle:"italic"}},u),t?Q.createElement("pre",{style:n},t):null,null)}const i0e=Q.createElement(n0e,null);class E0e extends Q.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,t){return t.location!==u.location||t.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:t.error,location:t.location,revalidation:u.revalidation||t.revalidation}}componentDidCatch(u,t){console.error("React Router caught the following error during render",u,t)}render(){return this.state.error!==void 0?Q.createElement(Hi.Provider,{value:this.props.routeContext},Q.createElement(Hk.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function o0e(e){let{routeContext:u,match:t,children:r}=e,n=Q.useContext(xw);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),Q.createElement(Hi.Provider,{value:u},r)}function a0e(e,u,t,r){var n;if(u===void 0&&(u=[]),t===void 0&&(t=null),r===void 0&&(r=null),e==null){var i;if(!t)return null;if(t.errors)e=t.matches;else if((i=r)!=null&&i.v7_partialHydration&&u.length===0&&!t.initialized&&t.matches.length>0)e=t.matches;else return null}let E=e,o=(n=t)==null?void 0:n.errors;if(o!=null){let A=E.findIndex(c=>c.route.id&&(o==null?void 0:o[c.route.id])!==void 0);A>=0||ot(!1),E=E.slice(0,Math.min(E.length,A+1))}let a=!1,s=-1;if(t&&r&&r.v7_partialHydration)for(let A=0;A<E.length;A++){let c=E[A];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(s=A),c.route.id){let{loaderData:l,errors:f}=t,p=c.route.loader&&l[c.route.id]===void 0&&(!f||f[c.route.id]===void 0);if(c.route.lazy||p){a=!0,s>=0?E=E.slice(0,s+1):E=[E[0]];break}}}return E.reduceRight((A,c,l)=>{let f,p=!1,h=null,w=null;t&&(f=o&&c.route.id?o[c.route.id]:void 0,h=c.route.errorElement||i0e,a&&(s<0&&l===0?(d0e("route-fallback"),p=!0,w=null):s===l&&(p=!0,w=c.route.hydrateFallbackElement||null)));let m=u.concat(E.slice(0,l+1)),g=()=>{let v;return f?v=h:p?v=w:c.route.Component?v=Q.createElement(c.route.Component,null):c.route.element?v=c.route.element:v=A,Q.createElement(o0e,{match:c,routeContext:{outlet:A,matches:m,isDataRoute:t!=null},children:v})};return t&&(c.route.ErrorBoundary||c.route.errorElement||l===0)?Q.createElement(E0e,{location:t.location,revalidation:t.revalidation,component:h,error:f,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Kk=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Kk||{}),Wk=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}(Wk||{});function s0e(e){let u=Q.useContext(xw);return u||ot(!1),u}function A0e(e){let u=Q.useContext(Zte);return u||ot(!1),u}function c0e(e){let u=Q.useContext(Hi);return u||ot(!1),u}function Vk(e){let u=c0e(),t=u.matches[u.matches.length-1];return t.route.id||ot(!1),t.route.id}function l0e(){var e;
126let u=Q.useContext(Hk),t=A0e(),r=Vk();return u!==void 0?u:(e=t.errors)==null?void 0:e[r]}function f0e(){let{router:e}=s0e(Kk.UseNavigateStable),u=Vk(Wk.UseNavigateStable),t=Q.useRef(!1);return jk(()=>{t.current=!0}),Q.useCallback(function(n,i){i===void 0&&(i={}),t.current&&(typeof n=="number"?e.navigate(n):e.navigate(n,Ec({fromRouteId:u},i)))},[e,u])}const AC={};function d0e(e,u,t){AC[e]||(AC[e]=!0)}function p0e(e,u){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function qVe(e){return u0e(e.context)}function h0e(e){ot(!1)}function m0e(e){let{basename:u="/",children:t=null,location:r,navigationType:n=qn.Pop,navigator:i,static:E=!1,future:o}=e;J2()&&ot(!1);let a=u.replace(/^\/*/,"/"),s=Q.useMemo(()=>({basename:a,navigator:i,static:E,future:Ec({v7_relativeSplatPath:!1},o)}),[a,o,i,E]);typeof r=="string"&&(r=rs(r));let{pathname:A="/",search:c="",hash:l="",state:f=null,key:p="default"}=r,h=Q.useMemo(()=>{let w=Rk(A,a);return w==null?null:{location:{pathname:w,search:c,hash:l,state:f,key:p},navigationType:n}},[a,A,c,l,f,p,n]);return h==null?null:Q.createElement(Z2.Provider,{value:s},Q.createElement(q2.Provider,{children:t,value:h}))}function JVe(e){let{children:u,location:t}=e;return t0e(kg(u),t)}new Promise(()=>{});function kg(e,u){u===void 0&&(u=[]);let t=[];return Q.Children.forEach(e,(r,n)=>{if(!Q.isValidElement(r))return;let i=[...u,n];if(r.type===Q.Fragment){t.push.apply(t,kg(r.props.children,i));return}r.type!==h0e&&ot(!1),!r.props.index||!r.props.children||ot(!1);let E={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(E.children=kg(r.props.children,i)),t.push(E)}),t}/**
127 * React Router DOM v6.30.4
128 *
129 * Copyright (c) Remix Software Inc.
130 *
131 * This source code is licensed under the MIT license found in the
132 * LICENSE.md file in the root directory of this source tree.
133 *
134 * @license MIT
135 */function Ug(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((u,t)=>{let r=e[t];return u.concat(Array.isArray(r)?r.map(n=>[t,n]):[[t,r]])},[]))}function g0e(e,u){let t=Ug(e);return u&&u.forEach((r,n)=>{t.has(n)||u.getAll(n).forEach(i=>{t.append(n,i)})}),t}const y0e="6";try{window.__reactRouterVersion=y0e}catch{}const v0e="startTransition",cC=I_[v0e];function eze(e){let{basename:u,children:t,future:r,window:n}=e,i=Q.useRef();i.current==null&&(i.current=wte({window:n,v5Compat:!0}));let E=i.current,[o,a]=Q.useState({action:E.action,location:E.location}),{v7_startTransition:s}=r||{},A=Q.useCallback(c=>{s&&cC?cC(()=>a(c)):a(c)},[a,s]);return Q.useLayoutEffect(()=>E.listen(A),[E,A]),Q.useEffect(()=>p0e(r),[r]),Q.createElement(m0e,{basename:u,children:t,location:o.location,navigationType:o.action,navigator:E,future:r})}var lC;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(lC||(lC={}));var fC;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fC||(fC={}));function uze(e){let u=Q.useRef(Ug(e)),t=Q.useRef(!1),r=Cw(),n=Q.useMemo(()=>g0e(r.search,t.current?null:u.current),[r.search]),i=qte(),E=Q.useCallback((o,a)=>{const s=Ug(typeof o=="function"?o(n):o);t.current=!0,i("?"+s,a)},[i,n]);return[n,E]}var dC;function ne(e,u,t){function r(o,a){if(o._zod||Object.defineProperty(o,"_zod",{value:{def:a,constr:E,traits:new Set},enumerable:!1}),o._zod.traits.has(e))return;o._zod.traits.add(e),u(o,a);const s=E.prototype,A=Object.keys(s);for(let c=0;c<A.length;c++){const l=A[c];l in o||(o[l]=s[l].bind(o))}}const n=(t==null?void 0:t.Parent)??Object;class i extends n{}Object.defineProperty(i,"name",{value:e});function E(o){var a;const s=t!=null&&t.Parent?new i:this;r(s,o),(a=s._zod).deferred??(a.deferred=[]);for(const A of s._zod.deferred)A();return s}return Object.defineProperty(E,"init",{value:r}),Object.defineProperty(E,Symbol.hasInstance,{value:o=>{var a,s;return t!=null&&t.Parent&&o instanceof t.Parent?!0:(s=(a=o==null?void 0:o._zod)==null?void 0:a.traits)==null?void 0:s.has(e)}}),Object.defineProperty(E,"name",{value:e}),E}
vendor: 30,500 bytes, lines 135-180
135class Aa extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class zk extends Error{constructor(u){super(`Encountered unidirectional transform during encode: ${u}`),this.name="ZodEncodeError"}}(dC=globalThis).__zod_globalConfig??(dC.__zod_globalConfig={});const Dw=globalThis.__zod_globalConfig;function Fn(e){return Dw}function Gk(e){const u=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,n])=>u.indexOf(+r)===-1).map(([r,n])=>n)}function Qg(e,u){return typeof u=="bigint"?u.toString():u}function Sw(e){return{get value(){{const u=e();return Object.defineProperty(this,"value",{value:u}),u}}}}function Fw(e){return e==null}function _w(e){const u=e.startsWith("^")?1:0,t=e.endsWith("$")?e.length-1:e.length;return e.slice(u,t)}function B0e(e,u){const t=e/u,r=Math.round(t),n=Number.EPSILON*Math.max(Math.abs(t),1);return Math.abs(t-r)<n?0:t-r}const pC=Symbol("evaluating");function Ke(e,u,t){let r;Object.defineProperty(e,u,{get(){if(r!==pC)return r===void 0&&(r=pC,r=t()),r},set(n){Object.defineProperty(e,u,{value:n})},configurable:!0})}function JE(e,u,t){Object.defineProperty(e,u,{value:t,writable:!0,enumerable:!0,configurable:!0})}function ji(...e){const u={};for(const t of e){const r=Object.getOwnPropertyDescriptors(t);Object.assign(u,r)}return Object.defineProperties({},u)}function hC(e){return JSON.stringify(e)}function w0e(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Yk="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function a1(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const b0e=Sw(()=>{var e;if(Dw.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const u=Function;return new u(""),!0}catch{return!1}});function Oa(e){if(a1(e)===!1)return!1;const u=e.constructor;if(u===void 0||typeof u!="function")return!0;const t=u.prototype;return!(a1(t)===!1||Object.prototype.hasOwnProperty.call(t,"isPrototypeOf")===!1)}function Xk(e){return Oa(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const x0e=new Set(["string","number","symbol"]);function ka(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ki(e,u,t){const r=new e._zod.constr(u??e._zod.def);return(!u||t!=null&&t.parent)&&(r._zod.parent=e),r}function Be(e){const u=e;if(!u)return{};if(typeof u=="string")return{error:()=>u};if((u==null?void 0:u.message)!==void 0){if((u==null?void 0:u.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");u.error=u.message}return delete u.message,typeof u.error=="string"?{...u,error:()=>u.error}:u}function C0e(e){return Object.keys(e).filter(u=>e[u]._zod.optin==="optional"&&e[u]._zod.optout==="optional")}const D0e={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function S0e(e,u){const t=e._zod.def,r=t.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=ji(e._zod.def,{get shape(){const E={};for(const o in u){if(!(o in t.shape))throw new Error(`Unrecognized key: "${o}"`);u[o]&&(E[o]=t.shape[o])}return JE(this,"shape",E),E},checks:[]});return Ki(e,i)}function F0e(e,u){const t=e._zod.def,r=t.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=ji(e._zod.def,{get shape(){const E={...e._zod.def.shape};for(const o in u){if(!(o in t.shape))throw new Error(`Unrecognized key: "${o}"`);u[o]&&delete E[o]}return JE(this,"shape",E),E},checks:[]});return Ki(e,i)}function _0e(e,u){if(!Oa(u))throw new Error("Invalid input to extend: expected a plain object");const t=e._zod.def.checks;if(t&&t.length>0){const i=e._zod.def.shape;for(const E in u)if(Object.getOwnPropertyDescriptor(i,E)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const n=ji(e._zod.def,{get shape(){const i={...e._zod.def.shape,...u};return JE(this,"shape",i),i}});return Ki(e,n)}function I0e(e,u){if(!Oa(u))throw new Error("Invalid input to safeExtend: expected a plain object");const t=ji(e._zod.def,{get shape(){const r={...e._zod.def.shape,...u};return JE(this,"shape",r),r}});return Ki(e,t)}function T0e(e,u){var r;if((r=e._zod.def.checks)!=null&&r.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const t=ji(e._zod.def,{get shape(){const n={...e._zod.def.shape,...u._zod.def.shape};return JE(this,"shape",n),n},get catchall(){return u._zod.def.catchall},checks:u._zod.def.checks??[]});return Ki(e,t)}function P0e(e,u,t){const n=u._zod.def.checks;if(n&&n.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const E=ji(u._zod.def,{get shape(){const o=u._zod.def.shape,a={...o};if(t)for(const s in t){if(!(s in o))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=e?new e({type:"optional",innerType:o[s]}):o[s])}else for(const s in o)a[s]=e?new e({type:"optional",innerType:o[s]}):o[s];return JE(this,"shape",a),a},checks:[]});return Ki(u,E)}function O0e(e,u,t){const r=ji(u._zod.def,{get shape(){const n=u._zod.def.shape,i={...n};if(t)for(const E in t){if(!(E in i))throw new Error(`Unrecognized key: "${E}"`);t[E]&&(i[E]=new e({type:"nonoptional",innerType:n[E]}))}else for(const E in n)i[E]=new e({type:"nonoptional",innerType:n[E]});return JE(this,"shape",i),i}});return Ki(u,r)}function Jo(e,u=0){var t;if(e.aborted===!0)return!0;for(let r=u;r<e.issues.length;r++)if(((t=e.issues[r])==null?void 0:t.continue)!==!0)return!0;return!1}function k0e(e,u=0){var t;if(e.aborted===!0)return!0;for(let r=u;r<e.issues.length;r++)if(((t=e.issues[r])==null?void 0:t.continue)===!1)return!0;return!1}function ea(e,u){return u.map(t=>{var r;return(r=t).path??(r.path=[]),t.path.unshift(e),t})}function _l(e){return typeof e=="string"?e:e==null?void 0:e.message}function _n(e,u,t){var a,s,A,c,l,f;const r=e.message?e.message:_l((A=(s=(a=e.inst)==null?void 0:a._zod.def)==null?void 0:s.error)==null?void 0:A.call(s,e))??_l((c=u==null?void 0:u.error)==null?void 0:c.call(u,e))??_l((l=t.customError)==null?void 0:l.call(t,e))??_l((f=t.localeError)==null?void 0:f.call(t,e))??"Invalid input",{inst:n,continue:i,input:E,...o}=e;return o.path??(o.path=[]),o.message=r,u!=null&&u.reportInput&&(o.input=E),o}function Iw(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function oc(...e){const[u,t,r]=e;return typeof u=="string"?{message:u,code:"custom",input:t,inst:r}:{...u}}const Zk=(e,u)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:u,enumerable:!1}),e.message=JSON.stringify(u,Qg,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},qk=ne("$ZodError",Zk),Jk=ne("$ZodError",Zk,{Parent:Error});function U0e(e,u=t=>t.message){const t={},r=[];for(const n of e.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(u(n))):r.push(u(n));return{formErrors:r,fieldErrors:t}}function Q0e(e,u=t=>t.message){const t={_errors:[]},r=(n,i=[])=>{for(const E of n.issues)if(E.code==="invalid_union"&&E.errors.length)E.errors.map(o=>r({issues:o},[...i,...E.path]));else if(E.code==="invalid_key")r({issues:E.issues},[...i,...E.path]);else if(E.code==="invalid_element")r({issues:E.issues},[...i,...E.path]);else{const o=[...i,...E.path];if(o.length===0)t._errors.push(u(E));else{let a=t,s=0;for(;s<o.length;){const A=o[s];s===o.length-1?(a[A]=a[A]||{_errors:[]},a[A]._errors.push(u(E))):a[A]=a[A]||{_errors:[]},a=a[A],s++}}}};return r(e),t}const Tw=e=>(u,t,r,n)=>{const i=r?{...r,async:!1}:{async:!1},E=u._zod.run({value:t,issues:[]},i);if(E instanceof Promise)throw new Aa;if(E.issues.length){const o=new((n==null?void 0:n.Err)??e)(E.issues.map(a=>_n(a,i,Fn())));throw Yk(o,n==null?void 0:n.callee),o}return E.value},Pw=e=>async(u,t,r,n)=>{const i=r?{...r,async:!0}:{async:!0};let E=u._zod.run({value:t,issues:[]},i);if(E instanceof Promise&&(E=await E),E.issues.length){const o=new((n==null?void 0:n.Err)??e)(E.issues.map(a=>_n(a,i,Fn())));throw Yk(o,n==null?void 0:n.callee),o}return E.value},ep=e=>(u,t,r)=>{const n=r?{...r,async:!1}:{async:!1},i=u._zod.run({value:t,issues:[]},n);if(i instanceof Promise)throw new Aa;return i.issues.length?{success:!1,error:new(e??qk)(i.issues.map(E=>_n(E,n,Fn())))}:{success:!0,data:i.value}},L0e=ep(Jk),up=e=>async(u,t,r)=>{const n=r?{...r,async:!0}:{async:!0};let i=u._zod.run({value:t,issues:[]},n);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(E=>_n(E,n,Fn())))}:{success:!0,data:i.value}},M0e=up(Jk),R0e=e=>(u,t,r)=>{const n=r?{...r,direction:"backward"}:{direction:"backward"};return Tw(e)(u,t,n)},N0e=e=>(u,t,r)=>Tw(e)(u,t,r),$0e=e=>async(u,t,r)=>{const n=r?{...r,direction:"backward"}:{direction:"backward"};return Pw(e)(u,t,n)},H0e=e=>async(u,t,r)=>Pw(e)(u,t,r),j0e=e=>(u,t,r)=>{const n=r?{...r,direction:"backward"}:{direction:"backward"};return ep(e)(u,t,n)},K0e=e=>(u,t,r)=>ep(e)(u,t,r),W0e=e=>async(u,t,r)=>{const n=r?{...r,direction:"backward"}:{direction:"backward"};return up(e)(u,t,n)},V0e=e=>async(u,t,r)=>up(e)(u,t,r),z0e=/^[cC][0-9a-z]{6,}$/,G0e=/^[0-9a-z]+$/,Y0e=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,X0e=/^[0-9a-vA-V]{20}$/,Z0e=/^[A-Za-z0-9]{27}$/,q0e=/^[a-zA-Z0-9_-]{21}$/,J0e=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ere=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,mC=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,ure=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tre="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rre(){return new RegExp(tre,"u")}const nre=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ire=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Ere=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ore=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,are=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,eU=/^[A-Za-z0-9_-]*$/,sre=/^https?$/,Are=/^\+[1-9]\d{6,14}$/,uU="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",cre=new RegExp(`^${uU}$`);function tU(e){const u="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${u}`:e.precision===0?`${u}:[0-5]\\d`:`${u}:[0-5]\\d\\.\\d{${e.precision}}`:`${u}(?::[0-5]\\d(?:\\.\\d+)?)?`}function lre(e){return new RegExp(`^${tU(e)}$`)}function fre(e){const u=tU({precision:e.precision}),t=["Z"];e.local&&t.push(""),e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${u}(?:${t.join("|")})`;return new RegExp(`^${uU}T(?:${r})$`)}const dre=e=>{const u=e?`[\\s\\S]{${(e==null?void 0:e.minimum)??0},${(e==null?void 0:e.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${u}$`)},pre=/^-?\d+$/,rU=/^-?\d+(?:\.\d+)?$/,hre=/^(?:true|false)$/i,mre=/^[^A-Z]*$/,gre=/^[^a-z]*$/,m0=ne("$ZodCheck",(e,u)=>{var t;e._zod??(e._zod={}),e._zod.def=u,(t=e._zod).onattach??(t.onattach=[])}),nU={number:"number",bigint:"bigint",object:"date"},iU=ne("$ZodCheckLessThan",(e,u)=>{m0.init(e,u);const t=nU[typeof u.value];e._zod.onattach.push(r=>{const n=r._zod.bag,i=(u.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;u.value<i&&(u.inclusive?n.maximum=u.value:n.exclusiveMaximum=u.value)}),e._zod.check=r=>{(u.inclusive?r.value<=u.value:r.value<u.value)||r.issues.push({origin:t,code:"too_big",maximum:typeof u.value=="object"?u.value.getTime():u.value,input:r.value,inclusive:u.inclusive,inst:e,continue:!u.abort})}}),EU=ne("$ZodCheckGreaterThan",(e,u)=>{m0.init(e,u);const t=nU[typeof u.value];e._zod.onattach.push(r=>{const n=r._zod.bag,i=(u.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;u.value>i&&(u.inclusive?n.minimum=u.value:n.exclusiveMinimum=u.value)}),e._zod.check=r=>{(u.inclusive?r.value>=u.value:r.value>u.value)||r.issues.push({origin:t,code:"too_small",minimum:typeof u.value=="object"?u.value.getTime():u.value,input:r.value,inclusive:u.inclusive,inst:e,continue:!u.abort})}}),yre=ne("$ZodCheckMultipleOf",(e,u)=>{m0.init(e,u),e._zod.onattach.push(t=>{var r;(r=t._zod.bag).multipleOf??(r.multipleOf=u.value)}),e._zod.check=t=>{if(typeof t.value!=typeof u.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof t.value=="bigint"?t.value%u.value===BigInt(0):B0e(t.value,u.value)===0)||t.issues.push({origin:typeof t.value,code:"not_multiple_of",divisor:u.value,input:t.value,inst:e,continue:!u.abort})}}),vre=ne("$ZodCheckNumberFormat",(e,u)=>{var E;m0.init(e,u),u.format=u.format||"float64";const t=(E=u.format)==null?void 0:E.includes("int"),r=t?"int":"number",[n,i]=D0e[u.format];e._zod.onattach.push(o=>{const a=o._zod.bag;a.format=u.format,a.minimum=n,a.maximum=i,t&&(a.pattern=pre)}),e._zod.check=o=>{const a=o.value;if(t){if(!Number.isInteger(a)){o.issues.push({expected:r,format:u.format,code:"invalid_type",continue:!1,input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?o.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!u.abort}):o.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!u.abort});return}}a<n&&o.issues.push({origin:"number",input:a,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!u.abort}),a>i&&o.issues.push({origin:"number",input:a,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!u.abort})}}),Bre=ne("$ZodCheckMaxLength",(e,u)=>{var t;m0.init(e,u),(t=e._zod.def).when??(t.when=r=>{const n=r.value;return!Fw(n)&&n.length!==void 0}),e._zod.onattach.push(r=>{const n=r._zod.bag.maximum??Number.POSITIVE_INFINITY;u.maximum<n&&(r._zod.bag.maximum=u.maximum)}),e._zod.check=r=>{const n=r.value;if(n.length<=u.maximum)return;const E=Iw(n);r.issues.push({origin:E,code:"too_big",maximum:u.maximum,inclusive:!0,input:n,inst:e,continue:!u.abort})}}),wre=ne("$ZodCheckMinLength",(e,u)=>{var t;m0.init(e,u),(t=e._zod.def).when??(t.when=r=>{const n=r.value;return!Fw(n)&&n.length!==void 0}),e._zod.onattach.push(r=>{const n=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;u.minimum>n&&(r._zod.bag.minimum=u.minimum)}),e._zod.check=r=>{const n=r.value;if(n.length>=u.minimum)return;const E=Iw(n);r.issues.push({origin:E,code:"too_small",minimum:u.minimum,inclusive:!0,input:n,inst:e,continue:!u.abort})}}),bre=ne("$ZodCheckLengthEquals",(e,u)=>{var t;m0.init(e,u),(t=e._zod.def).when??(t.when=r=>{const n=r.value;return!Fw(n)&&n.length!==void 0}),e._zod.onattach.push(r=>{const n=r._zod.bag;n.minimum=u.length,n.maximum=u.length,n.length=u.length}),e._zod.check=r=>{const n=r.value,i=n.length;if(i===u.length)return;const E=Iw(n),o=i>u.length;r.issues.push({origin:E,...o?{code:"too_big",maximum:u.length}:{code:"too_small",minimum:u.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!u.abort})}}),tp=ne("$ZodCheckStringFormat",(e,u)=>{var t,r;m0.init(e,u),e._zod.onattach.push(n=>{const i=n._zod.bag;i.format=u.format,u.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(u.pattern))}),u.pattern?(t=e._zod).check??(t.check=n=>{u.pattern.lastIndex=0,!u.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:u.format,input:n.value,...u.pattern?{pattern:u.pattern.toString()}:{},inst:e,continue:!u.abort})}):(r=e._zod).check??(r.check=()=>{})}),xre=ne("$ZodCheckRegex",(e,u)=>{tp.init(e,u),e._zod.check=t=>{u.pattern.lastIndex=0,!u.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:"regex",input:t.value,pattern:u.pattern.toString(),inst:e,continue:!u.abort})}}),Cre=ne("$ZodCheckLowerCase",(e,u)=>{u.pattern??(u.pattern=mre),tp.init(e,u)}),Dre=ne("$ZodCheckUpperCase",(e,u)=>{u.pattern??(u.pattern=gre),tp.init(e,u)}),Sre=ne("$ZodCheckIncludes",(e,u)=>{m0.init(e,u);const t=ka(u.includes),r=new RegExp(typeof u.position=="number"?`^.{${u.position}}${t}`:t);u.pattern=r,e._zod.onattach.push(n=>{const i=n._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=n=>{n.value.includes(u.includes,u.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:u.includes,input:n.value,inst:e,continue:!u.abort})}}),Fre=ne("$ZodCheckStartsWith",(e,u)=>{m0.init(e,u);const t=new RegExp(`^${ka(u.prefix)}.*`);u.pattern??(u.pattern=t),e._zod.onattach.push(r=>{const n=r._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(t)}),e._zod.check=r=>{r.value.startsWith(u.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:u.prefix,input:r.value,inst:e,continue:!u.abort})}}),_re=ne("$ZodCheckEndsWith",(e,u)=>{m0.init(e,u);const t=new RegExp(`.*${ka(u.suffix)}$`);u.pattern??(u.pattern=t),e._zod.onattach.push(r=>{const n=r._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(t)}),e._zod.check=r=>{r.value.endsWith(u.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:u.suffix,input:r.value,inst:e,continue:!u.abort})}}),Ire=ne("$ZodCheckOverwrite",(e,u)=>{m0.init(e,u),e._zod.check=t=>{t.value=u.tx(t.value)}});class Tre{constructor(u=[]){this.content=[],this.indent=0,this&&(this.args=u)}indented(u){this.indent+=1,u(this),this.indent-=1}write(u){if(typeof u=="function"){u(this,{execution:"sync"}),u(this,{execution:"async"});return}const r=u.split(`
136`).filter(E=>E),n=Math.min(...r.map(E=>E.length-E.trimStart().length)),i=r.map(E=>E.slice(n)).map(E=>" ".repeat(this.indent*2)+E);for(const E of i)this.content.push(E)}compile(){const u=Function,t=this==null?void 0:this.args,n=[...((this==null?void 0:this.content)??[""]).map(i=>`  ${i}`)];return new u(...t,n.join(`
137`))}}const Pre={major:4,minor:4,patch:3},Bu=ne("$ZodType",(e,u)=>{var n;var t;e??(e={}),e._zod.def=u,e._zod.bag=e._zod.bag||{},e._zod.version=Pre;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const i of r)for(const E of i._zod.onattach)E(e);if(r.length===0)(t=e._zod).deferred??(t.deferred=[]),(n=e._zod.deferred)==null||n.push(()=>{e._zod.run=e._zod.parse});else{const i=(o,a,s)=>{let A=Jo(o),c;for(const l of a){if(l._zod.def.when){if(k0e(o)||!l._zod.def.when(o))continue}else if(A)continue;const f=o.issues.length,p=l._zod.check(o);if(p instanceof Promise&&(s==null?void 0:s.async)===!1)throw new Aa;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,o.issues.length!==f&&(A||(A=Jo(o,f)))});else{if(o.issues.length===f)continue;A||(A=Jo(o,f))}}return c?c.then(()=>o):o},E=(o,a,s)=>{if(Jo(o))return o.aborted=!0,o;const A=i(a,r,s);if(A instanceof Promise){if(s.async===!1)throw new Aa;return A.then(c=>e._zod.parse(c,s))}return e._zod.parse(A,s)};e._zod.run=(o,a)=>{if(a.skipChecks)return e._zod.parse(o,a);if(a.direction==="backward"){const A=e._zod.parse({value:o.value,issues:[]},{...a,skipChecks:!0});return A instanceof Promise?A.then(c=>E(c,o,a)):E(A,o,a)}const s=e._zod.parse(o,a);if(s instanceof Promise){if(a.async===!1)throw new Aa;return s.then(A=>i(A,r,a))}return i(s,r,a)}}Ke(e,"~standard",()=>({validate:i=>{var E;try{const o=L0e(e,i);return o.success?{value:o.data}:{issues:(E=o.error)==null?void 0:E.issues}}catch{return M0e(e,i).then(a=>{var s;return a.success?{value:a.data}:{issues:(s=a.error)==null?void 0:s.issues}})}},vendor:"zod",version:1}))}),Ow=ne("$ZodString",(e,u)=>{var t;Bu.init(e,u),e._zod.pattern=[...((t=e==null?void 0:e._zod.bag)==null?void 0:t.patterns)??[]].pop()??dre(e._zod.bag),e._zod.parse=(r,n)=>{if(u.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),Tu=ne("$ZodStringFormat",(e,u)=>{tp.init(e,u),Ow.init(e,u)}),Ore=ne("$ZodGUID",(e,u)=>{u.pattern??(u.pattern=ere),Tu.init(e,u)}),kre=ne("$ZodUUID",(e,u)=>{if(u.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[u.version];if(r===void 0)throw new Error(`Invalid UUID version: "${u.version}"`);u.pattern??(u.pattern=mC(r))}else u.pattern??(u.pattern=mC());Tu.init(e,u)}),Ure=ne("$ZodEmail",(e,u)=>{u.pattern??(u.pattern=ure),Tu.init(e,u)}),Qre=ne("$ZodURL",(e,u)=>{Tu.init(e,u),e._zod.check=t=>{var r;try{const n=t.value.trim();if(!u.normalize&&((r=u.protocol)==null?void 0:r.source)===sre.source&&!/^https?:\/\//i.test(n)){t.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:t.value,inst:e,continue:!u.abort});return}const i=new URL(n);u.hostname&&(u.hostname.lastIndex=0,u.hostname.test(i.hostname)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:u.hostname.source,input:t.value,inst:e,continue:!u.abort})),u.protocol&&(u.protocol.lastIndex=0,u.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:u.protocol.source,input:t.value,inst:e,continue:!u.abort})),u.normalize?t.value=i.href:t.value=n;return}catch{t.issues.push({code:"invalid_format",format:"url",input:t.value,inst:e,continue:!u.abort})}}}),Lre=ne("$ZodEmoji",(e,u)=>{u.pattern??(u.pattern=rre()),Tu.init(e,u)}),Mre=ne("$ZodNanoID",(e,u)=>{u.pattern??(u.pattern=q0e),Tu.init(e,u)}),Rre=ne("$ZodCUID",(e,u)=>{u.pattern??(u.pattern=z0e),Tu.init(e,u)}),Nre=ne("$ZodCUID2",(e,u)=>{u.pattern??(u.pattern=G0e),Tu.init(e,u)}),$re=ne("$ZodULID",(e,u)=>{u.pattern??(u.pattern=Y0e),Tu.init(e,u)}),Hre=ne("$ZodXID",(e,u)=>{u.pattern??(u.pattern=X0e),Tu.init(e,u)}),jre=ne("$ZodKSUID",(e,u)=>{u.pattern??(u.pattern=Z0e),Tu.init(e,u)}),Kre=ne("$ZodISODateTime",(e,u)=>{u.pattern??(u.pattern=fre(u)),Tu.init(e,u)}),Wre=ne("$ZodISODate",(e,u)=>{u.pattern??(u.pattern=cre),Tu.init(e,u)}),Vre=ne("$ZodISOTime",(e,u)=>{u.pattern??(u.pattern=lre(u)),Tu.init(e,u)}),zre=ne("$ZodISODuration",(e,u)=>{u.pattern??(u.pattern=J0e),Tu.init(e,u)}),Gre=ne("$ZodIPv4",(e,u)=>{u.pattern??(u.pattern=nre),Tu.init(e,u),e._zod.bag.format="ipv4"}),Yre=ne("$ZodIPv6",(e,u)=>{u.pattern??(u.pattern=ire),Tu.init(e,u),e._zod.bag.format="ipv6",e._zod.check=t=>{try{new URL(`http://[${t.value}]`)}catch{t.issues.push({code:"invalid_format",format:"ipv6",input:t.value,inst:e,continue:!u.abort})}}}),Xre=ne("$ZodCIDRv4",(e,u)=>{u.pattern??(u.pattern=Ere),Tu.init(e,u)}),Zre=ne("$ZodCIDRv6",(e,u)=>{u.pattern??(u.pattern=ore),Tu.init(e,u),e._zod.check=t=>{const r=t.value.split("/");try{if(r.length!==2)throw new Error;const[n,i]=r;if(!i)throw new Error;const E=Number(i);if(`${E}`!==i)throw new Error;if(E<0||E>128)throw new Error;new URL(`http://[${n}]`)}catch{t.issues.push({code:"invalid_format",format:"cidrv6",input:t.value,inst:e,continue:!u.abort})}}});function oU(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const qre=ne("$ZodBase64",(e,u)=>{u.pattern??(u.pattern=are),Tu.init(e,u),e._zod.bag.contentEncoding="base64",e._zod.check=t=>{oU(t.value)||t.issues.push({code:"invalid_format",format:"base64",input:t.value,inst:e,continue:!u.abort})}});function Jre(e){if(!eU.test(e))return!1;const u=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),t=u.padEnd(Math.ceil(u.length/4)*4,"=");return oU(t)}const ene=ne("$ZodBase64URL",(e,u)=>{u.pattern??(u.pattern=eU),Tu.init(e,u),e._zod.bag.contentEncoding="base64url",e._zod.check=t=>{Jre(t.value)||t.issues.push({code:"invalid_format",format:"base64url",input:t.value,inst:e,continue:!u.abort})}}),une=ne("$ZodE164",(e,u)=>{u.pattern??(u.pattern=Are),Tu.init(e,u)});function tne(e,u=null){try{const t=e.split(".");if(t.length!==3)return!1;const[r]=t;if(!r)return!1;const n=JSON.parse(atob(r));return!("typ"in n&&(n==null?void 0:n.typ)!=="JWT"||!n.alg||u&&(!("alg"in n)||n.alg!==u))}catch{return!1}}const rne=ne("$ZodJWT",(e,u)=>{Tu.init(e,u),e._zod.check=t=>{tne(t.value,u.alg)||t.issues.push({code:"invalid_format",format:"jwt",input:t.value,inst:e,continue:!u.abort})}}),aU=ne("$ZodNumber",(e,u)=>{Bu.init(e,u),e._zod.pattern=e._zod.bag.pattern??rU,e._zod.parse=(t,r)=>{if(u.coerce)try{t.value=Number(t.value)}catch{}const n=t.value;if(typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n))return t;const i=typeof n=="number"?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:"Infinity":void 0;return t.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...i?{received:i}:{}}),t}}),nne=ne("$ZodNumberFormat",(e,u)=>{vre.init(e,u),aU.init(e,u)}),ine=ne("$ZodBoolean",(e,u)=>{Bu.init(e,u),e._zod.pattern=hre,e._zod.parse=(t,r)=>{if(u.coerce)try{t.value=!!t.value}catch{}const n=t.value;return typeof n=="boolean"||t.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),t}}),Ene=ne("$ZodAny",(e,u)=>{Bu.init(e,u),e._zod.parse=t=>t}),one=ne("$ZodUnknown",(e,u)=>{Bu.init(e,u),e._zod.parse=t=>t}),ane=ne("$ZodNever",(e,u)=>{Bu.init(e,u),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)});function gC(e,u,t){e.issues.length&&u.issues.push(...ea(t,e.issues)),u.value[t]=e.value}const sne=ne("$ZodArray",(e,u)=>{Bu.init(e,u),e._zod.parse=(t,r)=>{const n=t.value;if(!Array.isArray(n))return t.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),t;t.value=Array(n.length);const i=[];for(let E=0;E<n.length;E++){const o=n[E],a=u.element._zod.run({value:o,issues:[]},r);a instanceof Promise?i.push(a.then(s=>gC(s,t,E))):gC(a,t,E)}return i.length?Promise.all(i).then(()=>t):t}});function s1(e,u,t,r,n,i){const E=t in r;if(e.issues.length){if(n&&i&&!E)return;u.issues.push(...ea(t,e.issues))}if(!E&&!n){e.issues.length||u.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[t]});return}e.value===void 0?E&&(u.value[t]=void 0):u.value[t]=e.value}function sU(e){var r,n,i,E;const u=Object.keys(e.shape);for(const o of u)if(!((E=(i=(n=(r=e.shape)==null?void 0:r[o])==null?void 0:n._zod)==null?void 0:i.traits)!=null&&E.has("$ZodType")))throw new Error(`Invalid element at key "${o}": expected a Zod schema`);const t=C0e(e.shape);return{...e,keys:u,keySet:new Set(u),numKeys:u.length,optionalKeys:new Set(t)}}function AU(e,u,t,r,n,i){const E=[],o=n.keySet,a=n.catchall._zod,s=a.def.type,A=a.optin==="optional",c=a.optout==="optional";for(const l in u){if(l==="__proto__"||o.has(l))continue;if(s==="never"){E.push(l);continue}const f=a.run({value:u[l],issues:[]},r);f instanceof Promise?e.push(f.then(p=>s1(p,t,l,u,A,c))):s1(f,t,l,u,A,c)}return E.length&&t.issues.push({code:"unrecognized_keys",keys:E,input:u,inst:i}),e.length?Promise.all(e).then(()=>t):t}const Ane=ne("$ZodObject",(e,u)=>{Bu.init(e,u);const t=Object.getOwnPropertyDescriptor(u,"shape");if(!(t!=null&&t.get)){const o=u.shape;Object.defineProperty(u,"shape",{get:()=>{const a={...o};return Object.defineProperty(u,"shape",{value:a}),a}})}const r=Sw(()=>sU(u));Ke(e._zod,"propValues",()=>{const o=u.shape,a={};for(const s in o){const A=o[s]._zod;if(A.values){a[s]??(a[s]=new Set);for(const c of A.values)a[s].add(c)}}return a});const n=a1,i=u.catchall;let E;e._zod.parse=(o,a)=>{E??(E=r.value);const s=o.value;if(!n(s))return o.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),o;o.value={};const A=[],c=E.shape;for(const l of E.keys){const f=c[l],p=f._zod.optin==="optional",h=f._zod.optout==="optional",w=f._zod.run({value:s[l],issues:[]},a);w instanceof Promise?A.push(w.then(m=>s1(m,o,l,s,p,h))):s1(w,o,l,s,p,h)}return i?AU(A,s,o,a,r.value,e):A.length?Promise.all(A).then(()=>o):o}}),cne=ne("$ZodObjectJIT",(e,u)=>{Ane.init(e,u);const t=e._zod.parse,r=Sw(()=>sU(u)),n=l=>{var v,d;const f=new Tre(["shape","payload","ctx"]),p=r.value,h=y=>{const b=hC(y);return`shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`};f.write("const input = payload.value;");const w=Object.create(null);let m=0;for(const y of p.keys)w[y]=`key_${m++}`;f.write("const newResult = {};");for(const y of p.keys){const b=w[y],C=hC(y),S=l[y],F=((v=S==null?void 0:S._zod)==null?void 0:v.optin)==="optional",I=((d=S==null?void 0:S._zod)==null?void 0:d.optout)==="optional";f.write(`const ${b} = ${h(y)};`),F&&I?f.write(`
138        if (${b}.issues.length) {
139          if (${C} in input) {
140            payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
141              ...iss,
142              path: iss.path ? [${C}, ...iss.path] : [${C}]
143            })));
144          }
145        }
146        
147        if (${b}.value === undefined) {
148          if (${C} in input) {
149            newResult[${C}] = undefined;
150          }
151        } else {
152          newResult[${C}] = ${b}.value;
153        }
154        
155      `):F?f.write(`
156        if (${b}.issues.length) {
157          payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
158            ...iss,
159            path: iss.path ? [${C}, ...iss.path] : [${C}]
160          })));
161        }
162        
163        if (${b}.value === undefined) {
164          if (${C} in input) {
165            newResult[${C}] = undefined;
166          }
167        } else {
168          newResult[${C}] = ${b}.value;
169        }
170        
171      `):f.write(`
172        const ${b}_present = ${C} in input;
173        if (${b}.issues.length) {
174          payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
175            ...iss,
176            path: iss.path ? [${C}, ...iss.path] : [${C}]
177          })));
178        }
179        if (!${b}_present && !${b}.issues.length) {
180          payload.issues.push({
181            code: "invalid_type",
182            expected: "nonoptional",
183            input: undefined,
184            path: [${C}]
185          });
186        }
187
188        if (${b}_present) {
189          if (${b}.value === undefined) {
190            newResult[${C}] = undefined;
191          } else {
192            newResult[${C}] = ${b}.value;
193          }
194        }
195
196      `)}f.write("payload.value = newResult;"),f.write("return payload;");const g=f.compile();return(y,b)=>g(l,y,b)};let i;const E=a1,o=!Dw.jitless,s=o&&b0e.value,A=u.catchall;let c;e._zod.parse=(l,f)=>{c??(c=r.value);const p=l.value;return E(p)?o&&s&&(f==null?void 0:f.async)===!1&&f.jitless!==!0?(i||(i=n(u.shape)),l=i(l,f),A?AU([],p,l,f,c,e):l):t(l,f):(l.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),l)}});function yC(e,u,t,r){for(const i of e)if(i.issues.length===0)return u.value=i.value,u;const n=e.filter(i=>!Jo(i));return n.length===1?(u.value=n[0].value,n[0]):(u.issues.push({code:"invalid_union",input:u.value,inst:t,errors:e.map(i=>i.issues.map(E=>_n(E,r,Fn())))}),u)}const lne=ne("$ZodUnion",(e,u)=>{Bu.init(e,u),Ke(e._zod,"optin",()=>u.options.some(r=>r._zod.optin==="optional")?"optional":void 0),Ke(e._zod,"optout",()=>u.options.some(r=>r._zod.optout==="optional")?"optional":void 0),Ke(e._zod,"values",()=>{if(u.options.every(r=>r._zod.values))return new Set(u.options.flatMap(r=>Array.from(r._zod.values)))}),Ke(e._zod,"pattern",()=>{if(u.options.every(r=>r._zod.pattern)){const r=u.options.map(n=>n._zod.pattern);return new RegExp(`^(${r.map(n=>_w(n.source)).join("|")})$`)}});const t=u.options.length===1?u.options[0]._zod.run:null;e._zod.parse=(r,n)=>{if(t)return t(r,n);let i=!1;const E=[];for(const o of u.options){const a=o._zod.run({value:r.value,issues:[]},n);if(a instanceof Promise)E.push(a),i=!0;else{if(a.issues.length===0)return a;E.push(a)}}return i?Promise.all(E).then(o=>yC(o,r,e,n)):yC(E,r,e,n)}}),fne=ne("$ZodIntersection",(e,u)=>{Bu.init(e,u),e._zod.parse=(t,r)=>{const n=t.value,i=u.left._zod.run({value:n,issues:[]},r),E=u.right._zod.run({value:n,issues:[]},r);return i instanceof Promise||E instanceof Promise?Promise.all([i,E]).then(([a,s])=>vC(t,a,s)):vC(t,i,E)}});function Lg(e,u){if(e===u)return{valid:!0,data:e};if(e instanceof Date&&u instanceof Date&&+e==+u)return{valid:!0,data:e};if(Oa(e)&&Oa(u)){const t=Object.keys(u),r=Object.keys(e).filter(i=>t.indexOf(i)!==-1),n={...e,...u};for(const i of r){const E=Lg(e[i],u[i]);if(!E.valid)return{valid:!1,mergeErrorPath:[i,...E.mergeErrorPath]};n[i]=E.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(u)){if(e.length!==u.length)return{valid:!1,mergeErrorPath:[]};const t=[];for(let r=0;r<e.length;r++){const n=e[r],i=u[r],E=Lg(n,i);if(!E.valid)return{valid:!1,mergeErrorPath:[r,...E.mergeErrorPath]};t.push(E.data)}return{valid:!0,data:t}}return{valid:!1,mergeErrorPath:[]}}function vC(e,u,t){const r=new Map;let n;for(const o of u.issues)if(o.code==="unrecognized_keys"){n??(n=o);for(const a of o.keys)r.has(a)||r.set(a,{}),r.get(a).l=!0}else e.issues.push(o);for(const o of t.issues)if(o.code==="unrecognized_keys")for(const a of o.keys)r.has(a)||r.set(a,{}),r.get(a).r=!0;else e.issues.push(o);const i=[...r].filter(([,o])=>o.l&&o.r).map(([o])=>o);if(i.length&&n&&e.issues.push({...n,keys:i}),Jo(e))return e;const E=Lg(u.value,t.value);if(!E.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(E.mergeErrorPath)}`);return e.value=E.data,e}const dne=ne("$ZodRecord",(e,u)=>{Bu.init(e,u),e._zod.parse=(t,r)=>{const n=t.value;if(!Oa(n))return t.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),t;const i=[],E=u.keyType._zod.values;if(E){t.value={};const o=new Set;for(const s of E)if(typeof s=="string"||typeof s=="number"||typeof s=="symbol"){o.add(typeof s=="number"?s.toString():s);const A=u.keyType._zod.run({value:s,issues:[]},r);if(A instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(A.issues.length){t.issues.push({code:"invalid_key",origin:"record",issues:A.issues.map(f=>_n(f,r,Fn())),input:s,path:[s],inst:e});continue}const c=A.value,l=u.valueType._zod.run({value:n[s],issues:[]},r);l instanceof Promise?i.push(l.then(f=>{f.issues.length&&t.issues.push(...ea(s,f.issues)),t.value[c]=f.value})):(l.issues.length&&t.issues.push(...ea(s,l.issues)),t.value[c]=l.value)}let a;for(const s in n)o.has(s)||(a=a??[],a.push(s));a&&a.length>0&&t.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:a})}else{t.value={};for(const o of Reflect.ownKeys(n)){if(o==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,o))continue;let a=u.keyType._zod.run({value:o,issues:[]},r);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");
vendor: 11,664 bytes, line 196
196if(typeof o=="string"&&rU.test(o)&&a.issues.length){const c=u.keyType._zod.run({value:Number(o),issues:[]},r);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");c.issues.length===0&&(a=c)}if(a.issues.length){u.mode==="loose"?t.value[o]=n[o]:t.issues.push({code:"invalid_key",origin:"record",issues:a.issues.map(c=>_n(c,r,Fn())),input:o,path:[o],inst:e});continue}const A=u.valueType._zod.run({value:n[o],issues:[]},r);A instanceof Promise?i.push(A.then(c=>{c.issues.length&&t.issues.push(...ea(o,c.issues)),t.value[a.value]=c.value})):(A.issues.length&&t.issues.push(...ea(o,A.issues)),t.value[a.value]=A.value)}}return i.length?Promise.all(i).then(()=>t):t}}),pne=ne("$ZodEnum",(e,u)=>{Bu.init(e,u);const t=Gk(u.entries),r=new Set(t);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.filter(n=>x0e.has(typeof n)).map(n=>typeof n=="string"?ka(n):n.toString()).join("|")})$`),e._zod.parse=(n,i)=>{const E=n.value;return r.has(E)||n.issues.push({code:"invalid_value",values:t,input:E,inst:e}),n}}),hne=ne("$ZodLiteral",(e,u)=>{if(Bu.init(e,u),u.values.length===0)throw new Error("Cannot create literal schema with no valid values");const t=new Set(u.values);e._zod.values=t,e._zod.pattern=new RegExp(`^(${u.values.map(r=>typeof r=="string"?ka(r):r?ka(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,n)=>{const i=r.value;return t.has(i)||r.issues.push({code:"invalid_value",values:u.values,input:i,inst:e}),r}}),mne=ne("$ZodTransform",(e,u)=>{Bu.init(e,u),e._zod.optin="optional",e._zod.parse=(t,r)=>{if(r.direction==="backward")throw new zk(e.constructor.name);const n=u.transform(t.value,t);if(r.async)return(n instanceof Promise?n:Promise.resolve(n)).then(E=>(t.value=E,t.fallback=!0,t));if(n instanceof Promise)throw new Aa;return t.value=n,t.fallback=!0,t}});function BC(e,u){return u===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const cU=ne("$ZodOptional",(e,u)=>{Bu.init(e,u),e._zod.optin="optional",e._zod.optout="optional",Ke(e._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,void 0]):void 0),Ke(e._zod,"pattern",()=>{const t=u.innerType._zod.pattern;return t?new RegExp(`^(${_w(t.source)})?$`):void 0}),e._zod.parse=(t,r)=>{if(u.innerType._zod.optin==="optional"){const n=t.value,i=u.innerType._zod.run(t,r);return i instanceof Promise?i.then(E=>BC(E,n)):BC(i,n)}return t.value===void 0?t:u.innerType._zod.run(t,r)}}),gne=ne("$ZodExactOptional",(e,u)=>{cU.init(e,u),Ke(e._zod,"values",()=>u.innerType._zod.values),Ke(e._zod,"pattern",()=>u.innerType._zod.pattern),e._zod.parse=(t,r)=>u.innerType._zod.run(t,r)}),yne=ne("$ZodNullable",(e,u)=>{Bu.init(e,u),Ke(e._zod,"optin",()=>u.innerType._zod.optin),Ke(e._zod,"optout",()=>u.innerType._zod.optout),Ke(e._zod,"pattern",()=>{const t=u.innerType._zod.pattern;return t?new RegExp(`^(${_w(t.source)}|null)$`):void 0}),Ke(e._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,null]):void 0),e._zod.parse=(t,r)=>t.value===null?t:u.innerType._zod.run(t,r)}),vne=ne("$ZodDefault",(e,u)=>{Bu.init(e,u),e._zod.optin="optional",Ke(e._zod,"values",()=>u.innerType._zod.values),e._zod.parse=(t,r)=>{if(r.direction==="backward")return u.innerType._zod.run(t,r);if(t.value===void 0)return t.value=u.defaultValue,t;const n=u.innerType._zod.run(t,r);return n instanceof Promise?n.then(i=>wC(i,u)):wC(n,u)}});function wC(e,u){return e.value===void 0&&(e.value=u.defaultValue),e}const Bne=ne("$ZodPrefault",(e,u)=>{Bu.init(e,u),e._zod.optin="optional",Ke(e._zod,"values",()=>u.innerType._zod.values),e._zod.parse=(t,r)=>(r.direction==="backward"||t.value===void 0&&(t.value=u.defaultValue),u.innerType._zod.run(t,r))}),wne=ne("$ZodNonOptional",(e,u)=>{Bu.init(e,u),Ke(e._zod,"values",()=>{const t=u.innerType._zod.values;return t?new Set([...t].filter(r=>r!==void 0)):void 0}),e._zod.parse=(t,r)=>{const n=u.innerType._zod.run(t,r);return n instanceof Promise?n.then(i=>bC(i,e)):bC(n,e)}});function bC(e,u){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:u}),e}const bne=ne("$ZodCatch",(e,u)=>{Bu.init(e,u),e._zod.optin="optional",Ke(e._zod,"optout",()=>u.innerType._zod.optout),Ke(e._zod,"values",()=>u.innerType._zod.values),e._zod.parse=(t,r)=>{if(r.direction==="backward")return u.innerType._zod.run(t,r);const n=u.innerType._zod.run(t,r);return n instanceof Promise?n.then(i=>(t.value=i.value,i.issues.length&&(t.value=u.catchValue({...t,error:{issues:i.issues.map(E=>_n(E,r,Fn()))},input:t.value}),t.issues=[],t.fallback=!0),t)):(t.value=n.value,n.issues.length&&(t.value=u.catchValue({...t,error:{issues:n.issues.map(i=>_n(i,r,Fn()))},input:t.value}),t.issues=[],t.fallback=!0),t)}}),xne=ne("$ZodPipe",(e,u)=>{Bu.init(e,u),Ke(e._zod,"values",()=>u.in._zod.values),Ke(e._zod,"optin",()=>u.in._zod.optin),Ke(e._zod,"optout",()=>u.out._zod.optout),Ke(e._zod,"propValues",()=>u.in._zod.propValues),e._zod.parse=(t,r)=>{if(r.direction==="backward"){const i=u.out._zod.run(t,r);return i instanceof Promise?i.then(E=>Il(E,u.in,r)):Il(i,u.in,r)}const n=u.in._zod.run(t,r);return n instanceof Promise?n.then(i=>Il(i,u.out,r)):Il(n,u.out,r)}});function Il(e,u,t){return e.issues.length?(e.aborted=!0,e):u._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},t)}const Cne=ne("$ZodReadonly",(e,u)=>{Bu.init(e,u),Ke(e._zod,"propValues",()=>u.innerType._zod.propValues),Ke(e._zod,"values",()=>u.innerType._zod.values),Ke(e._zod,"optin",()=>{var t,r;return(r=(t=u.innerType)==null?void 0:t._zod)==null?void 0:r.optin}),Ke(e._zod,"optout",()=>{var t,r;return(r=(t=u.innerType)==null?void 0:t._zod)==null?void 0:r.optout}),e._zod.parse=(t,r)=>{if(r.direction==="backward")return u.innerType._zod.run(t,r);const n=u.innerType._zod.run(t,r);return n instanceof Promise?n.then(xC):xC(n)}});function xC(e){return e.value=Object.freeze(e.value),e}const Dne=ne("$ZodLazy",(e,u)=>{Bu.init(e,u),Ke(e._zod,"innerType",()=>{const t=u;return t._cachedInner||(t._cachedInner=u.getter()),t._cachedInner}),Ke(e._zod,"pattern",()=>{var t,r;return(r=(t=e._zod.innerType)==null?void 0:t._zod)==null?void 0:r.pattern}),Ke(e._zod,"propValues",()=>{var t,r;return(r=(t=e._zod.innerType)==null?void 0:t._zod)==null?void 0:r.propValues}),Ke(e._zod,"optin",()=>{var t,r;return((r=(t=e._zod.innerType)==null?void 0:t._zod)==null?void 0:r.optin)??void 0}),Ke(e._zod,"optout",()=>{var t,r;return((r=(t=e._zod.innerType)==null?void 0:t._zod)==null?void 0:r.optout)??void 0}),e._zod.parse=(t,r)=>e._zod.innerType._zod.run(t,r)}),Sne=ne("$ZodCustom",(e,u)=>{m0.init(e,u),Bu.init(e,u),e._zod.parse=(t,r)=>t,e._zod.check=t=>{const r=t.value,n=u.fn(r);if(n instanceof Promise)return n.then(i=>CC(i,t,r,e));CC(n,t,r,e)}});function CC(e,u,t,r){if(!e){const n={code:"custom",input:t,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(n.params=r._zod.def.params),u.issues.push(oc(n))}}var DC;class Fne{constructor(){this._map=new WeakMap,this._idmap=new Map}add(u,...t){const r=t[0];return this._map.set(u,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,u),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(u){const t=this._map.get(u);return t&&typeof t=="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(u),this}get(u){const t=u._zod.parent;if(t){const r={...this.get(t)??{}};delete r.id;const n={...r,...this._map.get(u)};return Object.keys(n).length?n:void 0}return this._map.get(u)}has(u){return this._map.has(u)}}function _ne(){return new Fne}(DC=globalThis).__zod_globalRegistry??(DC.__zod_globalRegistry=_ne());const rA=globalThis.__zod_globalRegistry;function Ine(e,u){return new e({type:"string",...Be(u)})}function Tne(e,u){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Be(u)})}function SC(e,u){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Be(u)})}function Pne(e,u){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Be(u)})}function One(e,u){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Be(u)})}function kne(e,u){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Be(u)})}function Une(e,u){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Be(u)})}function Qne(e,u){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Be(u)})}function Lne(e,u){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Be(u)})}function Mne(e,u){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Be(u)})}function Rne(e,u){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Be(u)})}function Nne(e,u){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Be(u)})}function $ne(e,u){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Be(u)})}function Hne(e,u){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Be(u)})}function jne(e,u){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Be(u)})}function Kne(e,u){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Be(u)})}function Wne(e,u){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Be(u)})}function Vne(e,u){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Be(u)})}function zne(e,u){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Be(u)})}function Gne(e,u){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Be(u)})}function Yne(e,u){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Be(u)})}function Xne(e,u){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Be(u)})}function Zne(e,u){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Be(u)})}function qne(e,u){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Be(u)})}function Jne(e,u){return new e({type:"string",format:"date",check:"string_format",...Be(u)})}function eie(e,u){return new e({type:"string",format:"time",check:"string_format",precision:null,...Be(u)})}function uie(e,u){return new e({type:"string",format:"duration",check:"string_format",...Be(u)})}function tie(e,u){return new e({type:"number",checks:[],...Be(u)})}function rie(e,u){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Be(u)})}function nie(e,u){return new e({type:"boolean",...Be(u)})}function iie(e){return new e({type:"any"})}function Eie(e){return new e({type:"unknown"})}function oie(e,u){return new e({type:"never",...Be(u)})}function FC(e,u){return new iU({check:"less_than",...Be(u),value:e,inclusive:!1})}function Bh(e,u){return new iU({check:"less_than",...Be(u),value:e,inclusive:!0})}function _C(e,u){return new EU({check:"greater_than",...Be(u),value:e,inclusive:!1})}function wh(e,u){return new EU({check:"greater_than",...Be(u),value:e,inclusive:!0})}function IC(e,u){return new yre({check:"multiple_of",...Be(u),value:e})}function lU(e,u){return new Bre({check:"max_length",...Be(u),maximum:e})}function A1(e,u){return new wre({check:"min_length",...Be(u),minimum:e})}function fU(e,u){return new bre({check:"length_equals",...Be(u),length:e})}function aie(e,u){return new xre({check:"string_format",format:"regex",...Be(u),pattern:e})}function sie(e){return new Cre({check:"string_format",format:"lowercase",...Be(e)})}function Aie(e){return new Dre({check:"string_format",format:"up
vendor: 5,173 bytes, lines 196-198
196percase",...Be(e)})}function cie(e,u){return new Sre({check:"string_format",format:"includes",...Be(u),includes:e})}function lie(e,u){return new Fre({check:"string_format",format:"starts_with",...Be(u),prefix:e})}function fie(e,u){return new _re({check:"string_format",format:"ends_with",...Be(u),suffix:e})}function ns(e){return new Ire({check:"overwrite",tx:e})}function die(e){return ns(u=>u.normalize(e))}function pie(){return ns(e=>e.trim())}function hie(){return ns(e=>e.toLowerCase())}function mie(){return ns(e=>e.toUpperCase())}function gie(){return ns(e=>w0e(e))}function yie(e,u,t){return new e({type:"array",element:u,...Be(t)})}function vie(e,u,t){return new e({type:"custom",check:"custom",fn:u,...Be(t)})}function Bie(e,u){const t=wie(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(oc(n,r.value,t._zod.def));else{const i=n;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=r.value),i.inst??(i.inst=t),i.continue??(i.continue=!t._zod.def.abort),r.issues.push(oc(i))}},e(r.value,r)),u);return t}function wie(e,u){const t=new m0({check:"custom",...Be(u)});return t._zod.check=e,t}function dU(e){let u=(e==null?void 0:e.target)??"draft-2020-12";return u==="draft-4"&&(u="draft-04"),u==="draft-7"&&(u="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??rA,target:u,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",external:(e==null?void 0:e.external)??void 0}}function Xu(e,u,t={path:[],schemaPath:[]}){var A,c;var r;const n=e._zod.def,i=u.seen.get(e);if(i)return i.count++,t.schemaPath.includes(e)&&(i.cycle=t.path),i.schema;const E={schema:{},count:1,cycle:void 0,path:t.path};u.seen.set(e,E);const o=(c=(A=e._zod).toJSONSchema)==null?void 0:c.call(A);if(o)E.schema=o;else{const l={...t,schemaPath:[...t.schemaPath,e],path:t.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(u,E.schema,l);else{const p=E.schema,h=u.processors[n.type];if(!h)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);h(e,u,p,l)}const f=e._zod.parent;f&&(E.ref||(E.ref=f),Xu(f,u,l),u.seen.get(f).isParent=!0)}const a=u.metadataRegistry.get(e);return a&&Object.assign(E.schema,a),u.io==="input"&&Vt(e)&&(delete E.schema.examples,delete E.schema.default),u.io==="input"&&"_prefault"in E.schema&&((r=E.schema).default??(r.default=E.schema._prefault)),delete E.schema._prefault,u.seen.get(e).schema}function pU(e,u){var E,o,a,s;const t=e.seen.get(u);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const A of e.seen.entries()){const c=(E=e.metadataRegistry.get(A[0]))==null?void 0:E.id;if(c){const l=r.get(c);if(l&&l!==A[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(c,A[0])}}const n=A=>{var h;const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=(h=e.external.registry.get(A[0]))==null?void 0:h.id,m=e.external.uri??(v=>v);if(w)return{ref:m(w)};const g=A[1].defId??A[1].schema.id??`schema${e.counter++}`;return A[1].defId=g,{defId:g,ref:`${m("__shared")}#/${c}/${g}`}}if(A[1]===t)return{ref:"#"};const f=`#/${c}/`,p=A[1].schema.id??`__schema${e.counter++}`;return{defId:p,ref:f+p}},i=A=>{if(A[1].schema.$ref)return;const c=A[1],{ref:l,defId:f}=n(A);c.def={...c.schema},f&&(c.defId=f);const p=c.schema;for(const h in p)delete p[h];p.$ref=l};if(e.cycles==="throw")for(const A of e.seen.entries()){const c=A[1];if(c.cycle)throw new Error(`Cycle detected: #/${(o=c.cycle)==null?void 0:o.join("/")}/<root>
197
198Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const A of e.seen.entries()){const c=A[1];if(u===A[0]){i(A);continue}if(e.external){const f=(a=e.external.registry.get(A[0]))==null?void 0:a.id;if(u!==A[0]&&f){i(A);continue}}if((s=e.metadataRegistry.get(A[0]))==null?void 0:s.id){i(A);continue}if(c.cycle){i(A);continue}if(c.count>1&&e.reused==="ref"){i(A);continue}}}function hU(e,u){var o,a,s,A;const t=e.seen.get(u);if(!t)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=c=>{const l=e.seen.get(c);if(l.ref===null)return;const f=l.def??l.schema,p={...f},h=l.ref;if(l.ref=null,h){r(h);const m=e.seen.get(h),g=m.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push(g)):Object.assign(f,g),Object.assign(f,p),c._zod.parent===h)for(const d in f)d==="$ref"||d==="allOf"||d in p||delete f[d];if(g.$ref&&m.def)for(const d in f)d==="$ref"||d==="allOf"||d in m.def&&JSON.stringify(f[d])===JSON.stringify(m.def[d])&&delete f[d]}const w=c._zod.parent;if(w&&w!==h){r(w);const m=e.seen.get(w);if(m!=null&&m.schema.$ref&&(f.$ref=m.schema.$ref,m.def))for(const g in f)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(f[g])===JSON.stringify(m.def[g])&&delete f[g]}e.override({zodSchema:c,jsonSchema:f,path:l.path??[]})};for(const c of[...e.seen.entries()].reverse())r(c[0]);const n={};
vendor: 9,680 bytes, line 198
198if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,(o=e.external)!=null&&o.uri){const c=(a=e.external.registry.get(u))==null?void 0:a.id;if(!c)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(c)}Object.assign(n,t.def??t.schema);const i=(s=e.metadataRegistry.get(u))==null?void 0:s.id;i!==void 0&&n.id===i&&delete n.id;const E=((A=e.external)==null?void 0:A.defs)??{};for(const c of e.seen.entries()){const l=c[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,E[l.defId]=l.def)}e.external||Object.keys(E).length>0&&(e.target==="draft-2020-12"?n.$defs=E:n.definitions=E);try{const c=JSON.parse(JSON.stringify(n));return Object.defineProperty(c,"~standard",{value:{...u["~standard"],jsonSchema:{input:c1(u,"input",e.processors),output:c1(u,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch{throw new Error("Error converting schema to JSON.")}}function Vt(e,u){const t=u??{seen:new Set};if(t.seen.has(e))return!1;t.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Vt(r.element,t);if(r.type==="set")return Vt(r.valueType,t);if(r.type==="lazy")return Vt(r.getter(),t);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Vt(r.innerType,t);if(r.type==="intersection")return Vt(r.left,t)||Vt(r.right,t);if(r.type==="record"||r.type==="map")return Vt(r.keyType,t)||Vt(r.valueType,t);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Vt(r.in,t)||Vt(r.out,t);if(r.type==="object"){for(const n in r.shape)if(Vt(r.shape[n],t))return!0;return!1}if(r.type==="union"){for(const n of r.options)if(Vt(n,t))return!0;return!1}if(r.type==="tuple"){for(const n of r.items)if(Vt(n,t))return!0;return!!(r.rest&&Vt(r.rest,t))}return!1}const bie=(e,u={})=>t=>{const r=dU({...t,processors:u});return Xu(e,r),pU(r,e),hU(r,e)},c1=(e,u,t={})=>r=>{const{libraryOptions:n,target:i}=r??{},E=dU({...n??{},target:i,io:u,processors:t});return Xu(e,E),pU(E,e),hU(E,e)},xie={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Cie=(e,u,t,r)=>{const n=t;n.type="string";const{minimum:i,maximum:E,format:o,patterns:a,contentEncoding:s}=e._zod.bag;if(typeof i=="number"&&(n.minLength=i),typeof E=="number"&&(n.maxLength=E),o&&(n.format=xie[o]??o,n.format===""&&delete n.format,o==="time"&&delete n.format),s&&(n.contentEncoding=s),a&&a.size>0){const A=[...a];A.length===1?n.pattern=A[0].source:A.length>1&&(n.allOf=[...A.map(c=>({...u.target==="draft-07"||u.target==="draft-04"||u.target==="openapi-3.0"?{type:"string"}:{},pattern:c.source}))])}},Die=(e,u,t,r)=>{const n=t,{minimum:i,maximum:E,format:o,multipleOf:a,exclusiveMaximum:s,exclusiveMinimum:A}=e._zod.bag;typeof o=="string"&&o.includes("int")?n.type="integer":n.type="number";const c=typeof A=="number"&&A>=(i??Number.NEGATIVE_INFINITY),l=typeof s=="number"&&s<=(E??Number.POSITIVE_INFINITY),f=u.target==="draft-04"||u.target==="openapi-3.0";c?f?(n.minimum=A,n.exclusiveMinimum=!0):n.exclusiveMinimum=A:typeof i=="number"&&(n.minimum=i),l?f?(n.maximum=s,n.exclusiveMaximum=!0):n.exclusiveMaximum=s:typeof E=="number"&&(n.maximum=E),typeof a=="number"&&(n.multipleOf=a)},Sie=(e,u,t,r)=>{t.type="boolean"},Fie=(e,u,t,r)=>{t.not={}},_ie=(e,u,t,r)=>{},Iie=(e,u,t,r)=>{},Tie=(e,u,t,r)=>{const n=e._zod.def,i=Gk(n.entries);i.every(E=>typeof E=="number")&&(t.type="number"),i.every(E=>typeof E=="string")&&(t.type="string"),t.enum=i},Pie=(e,u,t,r)=>{const n=e._zod.def,i=[];for(const E of n.values)if(E===void 0){if(u.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof E=="bigint"){if(u.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(E))}else i.push(E);if(i.length!==0)if(i.length===1){const E=i[0];t.type=E===null?"null":typeof E,u.target==="draft-04"||u.target==="openapi-3.0"?t.enum=[E]:t.const=E}else i.every(E=>typeof E=="number")&&(t.type="number"),i.every(E=>typeof E=="string")&&(t.type="string"),i.every(E=>typeof E=="boolean")&&(t.type="boolean"),i.every(E=>E===null)&&(t.type="null"),t.enum=i},Oie=(e,u,t,r)=>{if(u.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},kie=(e,u,t,r)=>{if(u.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Uie=(e,u,t,r)=>{const n=t,i=e._zod.def,{minimum:E,maximum:o}=e._zod.bag;typeof E=="number"&&(n.minItems=E),typeof o=="number"&&(n.maxItems=o),n.type="array",n.items=Xu(i.element,u,{...r,path:[...r.path,"items"]})},Qie=(e,u,t,r)=>{var s;const n=t,i=e._zod.def;n.type="object",n.properties={};const E=i.shape;for(const A in E)n.properties[A]=Xu(E[A],u,{...r,path:[...r.path,"properties",A]});const o=new Set(Object.keys(E)),a=new Set([...o].filter(A=>{const c=i.shape[A]._zod;return u.io==="input"?c.optin===void 0:c.optout===void 0}));a.size>0&&(n.required=Array.from(a)),((s=i.catchall)==null?void 0:s._zod.def.type)==="never"?n.additionalProperties=!1:i.catchall?i.catchall&&(n.additionalProperties=Xu(i.catchall,u,{...r,path:[...r.path,"additionalProperties"]})):u.io==="output"&&(n.additionalProperties=!1)},Lie=(e,u,t,r)=>{const n=e._zod.def,i=n.inclusive===!1,E=n.options.map((o,a)=>Xu(o,u,{...r,path:[...r.path,i?"oneOf":"anyOf",a]}));i?t.oneOf=E:t.anyOf=E},Mie=(e,u,t,r)=>{const n=e._zod.def,i=Xu(n.left,u,{...r,path:[...r.path,"allOf",0]}),E=Xu(n.right,u,{...r,path:[...r.path,"allOf",1]}),o=s=>"allOf"in s&&Object.keys(s).length===1,a=[...o(i)?i.allOf:[i],...o(E)?E.allOf:[E]];t.allOf=a},Rie=(e,u,t,r)=>{const n=t,i=e._zod.def;n.type="object";const E=i.keyType,o=E._zod.bag,a=o==null?void 0:o.patterns;if(i.mode==="loose"&&a&&a.size>0){const A=Xu(i.valueType,u,{...r,path:[...r.path,"patternProperties","*"]});n.patternProperties={};for(const c of a)n.patternProperties[c.source]=A}else(u.target==="draft-07"||u.target==="draft-2020-12")&&(n.propertyNames=Xu(i.keyType,u,{...r,path:[...r.path,"propertyNames"]})),n.additionalProperties=Xu(i.valueType,u,{...r,path:[...r.path,"additionalProperties"]});const s=E._zod.values;if(s){const A=[...s].filter(c=>typeof c=="string"||typeof c=="number");A.length>0&&(n.required=A)}},Nie=(e,u,t,r)=>{const n=e._zod.def,i=Xu(n.innerType,u,r),E=u.seen.get(e);u.target==="openapi-3.0"?(E.ref=n.innerType,t.nullable=!0):t.anyOf=[i,{type:"null"}]},$ie=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType},Hie=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType,t.default=JSON.parse(JSON.stringify(n.defaultValue))},jie=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType,u.io==="input"&&(t._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},Kie=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType;let E;try{E=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}t.default=E},Wie=(e,u,t,r)=>{const n=e._zod.def,i=n.in._zod.traits.has("$ZodTransform"),E=u.io==="input"?i?n.out:n.in:n.out;Xu(E,u,r);const o=u.seen.get(e);o.ref=E},Vie=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType,t.readOnly=!0},mU=(e,u,t,r)=>{const n=e._zod.def;Xu(n.innerType,u,r);const i=u.seen.get(e);i.ref=n.innerType},zie=(e,u,t,r)=>{const n=e._zod.innerType;Xu(n,u,r);const i=u.seen.get(e);i.ref=n},Gie=ne("ZodISODateTime",(e,u)=>{Kre.init(e,u),Mu.init(e,u)});function Yie(e){return qne(Gie,e)}const Xie=ne("ZodISODate",(e,u)=>{Wre.init(e,u),Mu.init(e,u)});function Zie(e){return Jne(Xie,e)}const qie=ne("ZodISOTime",(e,u)=>{Vre.init(e,u),Mu.init(e,u)});function Jie(e){return eie(qie,e)}const eEe=ne("ZodISODuration",(e,u)=>{zre.init(e,u),Mu.init(e,u)});function uEe(e){return uie(eEe,e)}const tEe=(e,u)=>{qk.init(e,u),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>Q0e(e,t)},flatten:{value:t=>U0e(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Qg,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Qg,2)}},isEmpty:{get(){return e.issues.length===0}}})},ar=ne("ZodError",tEe,{Parent:Error}),rEe=Tw(ar),nEe=Pw(ar),iEe=ep(ar),EEe=up(ar),oEe=R0e(ar),aEe=N0e(ar),sEe=$0e(ar),AEe=H0e(ar),cEe=j0e(ar),lEe=K0e(ar),fEe=W0e(ar),dEe=V0e(ar),TC=new WeakMap;function Mc(e,u,t){const r=Object.getPrototypeOf(e);let n=TC.get(r);if(n||(n=new Set,TC.set(r,n)),!n.has(u)){n.add(u);for(const i in t){const E=t[i];Object.defineProperty(r,i,{configurable:!0,enumerable:!1,get(){const o=E.bind(this);return Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:o}),o},set(o){Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:o})}})}}}const wu=ne("ZodType",(e,u)=>(Bu.init(e,u),Object.assign(e["~standard"],{jsonSchema:{input:c1(e,"input"),output:c1(e,"output")}}),e.toJSONSchema=bie(e,{}),e.def=u,e.type=u.type,Object.defineProperty(e,"_def",{value:u}),e.parse=(t,r)=>rEe(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>iEe(e,t,r),e.parseAsync=async(t,r)=>nEe(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>EEe(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>oEe(e,t,r),e.decode=(t,r)=>aEe(e,t,r),e.encodeAsync=async(t,r)=>sEe(e,t,r),e.decodeAsync=async(t,r)=>AEe(e,t,r),e.safeEncode=(t,r)=>cEe(e,t,r),e.safeDecode=(t,r)=>lEe(e,t,r),e.safeEncodeAsync=async(t,r)=>fEe(e,t,r),e.safeDecodeAsync=async(t,r)=>
vendor: 4,289 bytes, line 198
198dEe(e,t,r),Mc(e,"ZodType",{check(...t){const r=this.def;return this.clone(ji(r,{checks:[...r.checks??[],...t.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...t){return this.check(...t)},clone(t,r){return Ki(this,t,r)},brand(){return this},register(t,r){return t.add(this,r),this},refine(t,r){return this.check(aoe(t,r))},superRefine(t,r){return this.check(soe(t,r))},overwrite(t){return this.check(ns(t))},optional(){return LC(this)},exactOptional(){return GEe(this)},nullable(){return MC(this)},nullish(){return LC(MC(this))},nonoptional(t){return eoe(this,t)},array(){return T(this)},or(t){return re([this,t])},and(t){return jEe(this,t)},transform(t){return RC(this,VEe(t))},default(t){return ZEe(this,t)},prefault(t){return JEe(this,t)},catch(t){return toe(this,t)},pipe(t){return RC(this,t)},readonly(){return ioe(this)},describe(t){const r=this.clone();return rA.add(r,{description:t}),r},meta(...t){if(t.length===0)return rA.get(this);const r=this.clone();return rA.add(r,t[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(t){return t(this)}}),Object.defineProperty(e,"description",{get(){var t;return(t=rA.get(e))==null?void 0:t.description},configurable:!0}),e)),gU=ne("_ZodString",(e,u)=>{Ow.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(r,n,i)=>Cie(e,r,n);const t=e._zod.bag;e.format=t.format??null,e.minLength=t.minimum??null,e.maxLength=t.maximum??null,Mc(e,"_ZodString",{regex(...r){return this.check(aie(...r))},includes(...r){return this.check(cie(...r))},startsWith(...r){return this.check(lie(...r))},endsWith(...r){return this.check(fie(...r))},min(...r){return this.check(A1(...r))},max(...r){return this.check(lU(...r))},length(...r){return this.check(fU(...r))},nonempty(...r){return this.check(A1(1,...r))},lowercase(r){return this.check(sie(r))},uppercase(r){return this.check(Aie(r))},trim(){return this.check(pie())},normalize(...r){return this.check(die(...r))},toLowerCase(){return this.check(hie())},toUpperCase(){return this.check(mie())},slugify(){return this.check(gie())}})}),pEe=ne("ZodString",(e,u)=>{Ow.init(e,u),gU.init(e,u),e.email=t=>e.check(Tne(hEe,t)),e.url=t=>e.check(Qne(mEe,t)),e.jwt=t=>e.check(Zne(PEe,t)),e.emoji=t=>e.check(Lne(gEe,t)),e.guid=t=>e.check(SC(PC,t)),e.uuid=t=>e.check(Pne(Tl,t)),e.uuidv4=t=>e.check(One(Tl,t)),e.uuidv6=t=>e.check(kne(Tl,t)),e.uuidv7=t=>e.check(Une(Tl,t)),e.nanoid=t=>e.check(Mne(yEe,t)),e.guid=t=>e.check(SC(PC,t)),e.cuid=t=>e.check(Rne(vEe,t)),e.cuid2=t=>e.check(Nne(BEe,t)),e.ulid=t=>e.check($ne(wEe,t)),e.base64=t=>e.check(Gne(_Ee,t)),e.base64url=t=>e.check(Yne(IEe,t)),e.xid=t=>e.check(Hne(bEe,t)),e.ksuid=t=>e.check(jne(xEe,t)),e.ipv4=t=>e.check(Kne(CEe,t)),e.ipv6=t=>e.check(Wne(DEe,t)),e.cidrv4=t=>e.check(Vne(SEe,t)),e.cidrv6=t=>e.check(zne(FEe,t)),e.e164=t=>e.check(Xne(TEe,t)),e.datetime=t=>e.check(Yie(t)),e.date=t=>e.check(Zie(t)),e.time=t=>e.check(Jie(t)),e.duration=t=>e.check(uEe(t))});function B(e){return Ine(pEe,e)}const Mu=ne("ZodStringFormat",(e,u)=>{Tu.init(e,u),gU.init(e,u)}),hEe=ne("ZodEmail",(e,u)=>{Ure.init(e,u),Mu.init(e,u)}),PC=ne("ZodGUID",(e,u)=>{Ore.init(e,u),Mu.init(e,u)}),Tl=ne("ZodUUID",(e,u)=>{kre.init(e,u),Mu.init(e,u)}),mEe=ne("ZodURL",(e,u)=>{Qre.init(e,u),Mu.init(e,u)}),gEe=ne("ZodEmoji",(e,u)=>{Lre.init(e,u),Mu.init(e,u)}),yEe=ne("ZodNanoID",(e,u)=>{Mre.init(e,u),Mu.init(e,u)}),vEe=ne("ZodCUID",(e,u)=>{Rre.init(e,u),Mu.init(e,u)}),BEe=ne("ZodCUID2",(e,u)=>{Nre.init(e,u),Mu.init(e,u)}),wEe=ne("ZodULID",(e,u)=>{$re.init(e,u),Mu.init(e,u)}),bEe=ne("ZodXID",(e,u)=>{Hre.init(e,u),Mu.init(e,u)}),xEe=ne("ZodKSUID",(e,u)=>{jre.init(e,u),Mu.init(e,u)}),CEe=ne("ZodIPv4",(e,u)=>{Gre.init(e,u),Mu.init(e,u)}),DEe=ne("ZodIPv6",(e,u)=>{Yre.init(e,u),Mu.init(e,u)}),SEe=ne("ZodCIDRv4",(e,u)=>{Xre.init(e,u),Mu.init(e,u)}),FEe=ne("ZodCIDRv6",(e,u)=>{Zre.init(e,u),Mu.init(e,u)}),_Ee=ne("ZodBase64",(e,u)=>{qre.init(e,u),Mu.init(e,u)}),IEe=ne("ZodBase64URL",(e,u)=>{ene.init(e,u),Mu.init(e,u)}),TEe=ne("ZodE164",(e,u)=>{une.init(e,u),Mu.init(e,u)}),PEe=ne("ZodJWT",(e,u)=>{rne.init(e,u),Mu.init(e,u)}),yU=ne("ZodNumber",(e,u)=>{aU.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(r,n,i)=>Die(e,r,n),Mc(e,"ZodNumber",{gt(r,n){return this.check(_C(r,n))}
198,gte(r,n){return this.check(wh(r,n))},min(r,n){return this.check(wh(r,n))},lt(r,n){return this.check(FC(r,n))},lte(r,n){return this.check(Bh(r,n))},max(r,n){return this.check(Bh(r,n))},int(r){return this.check(OC(r))},safe(r){return this.check(OC(r))},positive(r){return this.check(_C(0,r))},nonnegative(r){return this.check(wh(0,r))},negative(r){return this.check(FC(0,r))},nonpositive(r){return this.check(Bh(0,r))},multipleOf(r,n){return this.check(IC(r,n))},step(r,n){return this.check(IC(r,n))},finite(){return this}});const t=e._zod.bag;e.minValue=Math.max(t.minimum??Number.NEGATIVE_INFINITY,t.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(t.maximum??Number.POSITIVE_INFINITY,t.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(t.format??"").includes("int")||Number.isSafeInteger(t.multipleOf??.5),e.isFinite=!0,e.format=t.format??null});function Y(e){return tie(yU,e)}const OEe=ne("ZodNumberFormat",(e,u)=>{nne.init(e,u),yU.init(e,u)});function OC(e){return rie(OEe,e)}const kEe=ne("ZodBoolean",(e,u)=>{ine.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Sie(e,t,r)});function U(e){return nie(kEe,e)}const UEe=ne("ZodAny",(e,u)=>{Ene.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>_ie()});function M(){return iie(UEe)}const QEe=ne("ZodUnknown",(e,u)=>{one.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Iie()});function kC(){return Eie(QEe)}const LEe=ne("ZodNever",(e,u)=>{ane.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Fie(e,t,r)});function MEe(e){return oie(LEe,e)}const REe=ne("ZodArray",(e,u)=>{sne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Uie(e,t,r,n),e.element=u.element,Mc(e,"ZodArray",{min(t,r){return this.check(A1(t,r))},nonempty(t){return this.check(A1(1,t))},max(t,r){return this.check(lU(t,r))},length(t,r){return this.check(fU(t,r))},unwrap(){return this.element}})});function T(e,u){return yie(REe,e,u)}const NEe=ne("ZodObject",(e,u)=>{cne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Qie(e,t,r,n),Ke(e,"shape",()=>u.shape),Mc(e,"ZodObject",{keyof(){return Ge(Object.keys(this._zod.def.shape))},catchall(t){return this.clone({...this._zod.def,catchall:t})},passthrough(){return this.clone({...this._zod.def,catchall:kC()})},loose(){return this.clone({...this._zod.def,catchall:kC()})},strict(){return this.clone({...this._zod.def,catchall:MEe()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(t){return _0e(this,t)},safeExtend(t){return I0e(this,t)},merge(t){return T0e(this,t)},pick(t){return S0e(this,t)},omit(t){return F0e(this,t)},partial(...t){return P0e(vU,this,t[0])},required(...t){return O0e(BU,this,t[0])}})});function K(e,u){const t={type:"object",shape:e??{},...Be(u)};return new NEe(t)}const $Ee=ne("ZodUnion",(e,u)=>{lne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Lie(e,t,r,n),e.options=u.options});function re(e,u){return new $Ee({type:"union",options:e,...Be(u)})}const HEe=ne("ZodIntersection",(e,u)=>{fne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Mie(e,t,r,n)});function jEe(e,u){return new HEe({type:"intersection",left:e,right:u})}const UC=ne("ZodRecord",(e,u)=>{dne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Rie(e,t,r,n),e.keyType=u.keyType,e.valueType=u.valueType});function T0(e,u,t){return!u||!u._zod?new UC({type:"record",keyType:B(),valueType:e,...Be(u)}):new UC({type:"record",keyType:e,valueType:u,...Be(t)})}const Mg=ne("ZodEnum",(e,u)=>{pne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(r,n,i)=>Tie(e,r,n),e.enum=u.entries,e.options=Object.values(u.entries);const t=new Set(Object.keys(u.entries));e.extract=(r,n)=>{const i={};for(const E of r)if(t.has(E))i[E]=u.entries[E];else throw new Error(`Key ${E} not found in enum`);return new Mg({...u,checks:[],...Be(n),entries:i})},e.exclude=(r,n)=>{const i={...u.entries};for(const E of r)if(t.has(E))delete i[E];else throw new Error(`Key ${E} not found in enum`);return new Mg({...u,checks:[],...Be(n),entries:i})}});function Ge(e,u){const t=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Mg({type:"enum",entries:t,...Be(u)})}const KEe=ne("ZodLiteral",(e,u)=>{hne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Pie(e,t,r),e.values=new Set(u.values),Object.defineProperty(e,"value",{get(){if
vendor: 4,244 bytes, line 198
198(u.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return u.values[0]}})});function QC(e,u){return new KEe({type:"literal",values:Array.isArray(e)?e:[e],...Be(u)})}const WEe=ne("ZodTransform",(e,u)=>{mne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>kie(e,t),e._zod.parse=(t,r)=>{if(r.direction==="backward")throw new zk(e.constructor.name);t.addIssue=i=>{if(typeof i=="string")t.issues.push(oc(i,t.value,u));else{const E=i;E.fatal&&(E.continue=!1),E.code??(E.code="custom"),E.input??(E.input=t.value),E.inst??(E.inst=e),t.issues.push(oc(E))}};const n=u.transform(t.value,t);return n instanceof Promise?n.then(i=>(t.value=i,t.fallback=!0,t)):(t.value=n,t.fallback=!0,t)}});function VEe(e){return new WEe({type:"transform",transform:e})}const vU=ne("ZodOptional",(e,u)=>{cU.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>mU(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function LC(e){return new vU({type:"optional",innerType:e})}const zEe=ne("ZodExactOptional",(e,u)=>{gne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>mU(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function GEe(e){return new zEe({type:"optional",innerType:e})}const YEe=ne("ZodNullable",(e,u)=>{yne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Nie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function MC(e){return new YEe({type:"nullable",innerType:e})}const XEe=ne("ZodDefault",(e,u)=>{vne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Hie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ZEe(e,u){return new XEe({type:"default",innerType:e,get defaultValue(){return typeof u=="function"?u():Xk(u)}})}const qEe=ne("ZodPrefault",(e,u)=>{Bne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>jie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function JEe(e,u){return new qEe({type:"prefault",innerType:e,get defaultValue(){return typeof u=="function"?u():Xk(u)}})}const BU=ne("ZodNonOptional",(e,u)=>{wne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>$ie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function eoe(e,u){return new BU({type:"nonoptional",innerType:e,...Be(u)})}const uoe=ne("ZodCatch",(e,u)=>{bne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Kie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function toe(e,u){return new uoe({type:"catch",innerType:e,catchValue:typeof u=="function"?u:()=>u})}const roe=ne("ZodPipe",(e,u)=>{xne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Wie(e,t,r,n),e.in=u.in,e.out=u.out});function RC(e,u){return new roe({type:"pipe",in:e,out:u})}const noe=ne("ZodReadonly",(e,u)=>{Cne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Vie(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function ioe(e){return new noe({type:"readonly",innerType:e})}const Eoe=ne("ZodLazy",(e,u)=>{Dne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>zie(e,t,r,n),e.unwrap=()=>e._zod.def.getter()});function we(e){return new Eoe({type:"lazy",getter:e})}const ooe=ne("ZodCustom",(e,u)=>{Sne.init(e,u),wu.init(e,u),e._zod.processJSONSchema=(t,r,n)=>Oie(e,t)});function aoe(e,u={}){return vie(ooe,e,u)}function soe(e,u){return Bie(e,u)}var NC=K({id:we(()=>rp).describe("ช่องทางขาย — POS '1' หรือ self-order qr/pickup/delivery"),price:re([Y(),B()]).describe("ราคาบนช่องทางนี้ — number (legacy doc อาจเป็น string)"),status:U().optional().describe("true = ขายบนช่องนี้ · false = ซ่อนเฉพาะช่อง (independent จาก product.status)")}),wU=K({shopTypeId:B().optional().describe("โปรไฟล์สาขาที่ราคานี้ใช้ — match `Franchise.shopTypes[].id`"),channelId:re([B(),Y()]).optional().describe("ช่องทางขาย (shape=ChannelKey) — ตอน propagate กลายเป็น `price[].id` ของร้าน"),price:re([Y(),B()]).optional().describe("ราคา (form-string ได้ · ช่องกรอกยังว่าง = '')")}).passthrough(),Aoe=K({id:B().optional().describe("flip card key (FlipMenuScreen.js:163) · = doc id"),shopI
198d:B().optional().describe("ร้านเจ้าของ (EditProductScreen.js:835 · server /claude/product authoritative)").meta({initial:""}),branch:re([B(),Y()]).optional().describe("สาขา (EditProductScreen.js:835) · legacy บาง doc เป็น number (sess240)").meta({initial:""}),rootId:B().optional().describe("franchise master link — เชื่อมเมนูสาขากับเมนูต้นแบบ (initialProduct.js)").meta({initial:""}),timestamp:M().optional().describe("Firestore Timestamp/Date — new Date() ตอน create · fetch แปลง formatTime (productSlice.js:125)").meta({initial:"__NEW_DATE__"}),name:B().optional().describe("ชื่อเมนูภาษาหลัก (EditProductScreen.js:883 approvedName)").meta({initial:""}),nameLanguage:T0(B(),B()).optional().describe("ชื่อแปลรายภาษา {langCode:name} · แปลมือชนะ auto-translate").meta({initial:{}}),detail:B().optional().describe("รายละเอียดเมนูภาษาหลัก (EditProductScreen.js:887 approvedDetail)").meta({initial:""}),detailLanguage:T0(B(),B()).optional().describe("รายละเอียดแปลรายภาษา · คู่ขนาน nameLanguage").meta({initial:{}}),imageId:B().optional().describe("URL รูปบน fbStorage ('/foods/') · '' = ไม่มีรูป (EditProductScreen.js:826-835)").meta({initial:""}),price:T(NC).optional().describe("ราคาฐานราย channel (EditProductScreen.js:907 · hydrate vs shop.channel)").meta({initial:[]}),zonePrice:T(K({id:B(),price:re([Y(),B()])}).passthrough()).optional().describe("ราคาตามโซน [{id:zoneId,price}] — override price เมื่อสั่งจากโซนนั้น · premium (initialProduct.js)").meta({initial:[]}),priceTypes:T(wU).optional().describe("แม่แบบราคาของสำนักงานใหญ่ ต่อโปรไฟล์สาขา × ช่องทาง (shape=ShopTypePriceRow) — อยู่บน `franchiseProduct/{rootId}` ไม่ใช่ `product/{id}` ของร้าน (server ยุบเป็น `price[]` ตอน propagate · claude/franchise/branch.js) · writer whitelist `MASTER_FIELDS` (claude/franchise/product.js) · ซีดฟอร์ม `scanFood_web_franchise/src/configs/initialProduct.js` ถือช่องนี้มาตลอด เพราะจอ ShopProductScreen ใช้ซีดตัวเดียวกันเปิดฟอร์มเมนูต้นแบบ (ShopProductScreen.js `{...initialProduct,...item}`) — DEV-0005 ก้าว ④").meta({initial:[]}),priceBySize:U().optional().describe("ขายแบบไม่ fix ราคา — ตามไซส์/น้ำหนักตอนขาย (initialProduct.js)").meta({initial:!1}),priceBySizeMode:Ge(["manual","qty"]).optional().describe("manual=กรอกราคาเอง · qty=จำนวน×unitPrice (initialProduct.js)").meta({initial:"manual"}),unitPrice:T(NC).optional().describe("ราคาต่อหน่วยราย channel (shape=price) — ใช้เมื่อ priceBySizeMode=qty").meta({initial:[]}),priceBySizeUnit:B().optional().describe("หน่วยขายโหมด qty (กิโลกรัม/ขีด) — โชว์ตอนขาย").meta({initial:"กิโลกรัม"}),unit:B().optional().describe("หน่วยนับเมนู — label เฉยๆ ไม่มีผลต่อ logic").meta({initial:"ขวด"}),promotion:K({type:Ge(["bath","percent"]).describe("ลดเป็นบาท หรือ %"),value:re([Y(),B()]).describe("จำนวนที่ลด"),status:U().describe("true = เปิดโปรเมนูนี้")}).optional().describe("ส่วนลดระดับเมนู (ชั้นเดียว · หักจากราคาฐาน) ≠ happyHour (EditProductScreen.js:927-930)").meta({initial:{type:"bath",value:"",status:!1}}
198),happyHour:re([B(),Y()]).optional().describe("ราคาพิเศษตามช่วงเวลา — ตั้งราคาใหม่ทั้งก้อน ไม่ใช่ส่วนลด (initialProduct.js)").meta({initial:""}),happyHourStatus:U().optional().describe("เมนูนี้ร่วม happy hour ไหม → ใช้ราคา happyHour ตอนอยู่ในช่วง").meta({initial:!1}),vat:U().optional().describe("เข้าฐานคำนวณ VAT ไหม — เฉพาะร้านเปิด scanFoodVat (EditProductScreen.js:595) · ordering ไม่อ่าน").meta({initial:!0}),incentive:re([Y(),B()]).optional().describe("ค่าคอมพนักงานเชียร์ขาย (รายงานที่ owner web · roadmap)").meta({initial:0}),status:Ge(["available","out","notsale"]).optional().describe("available=ขาย · out=หมด(ป้าย) · notsale=ซ่อน (EditProductScreen.js:474)").meta({initial:"available"}),statusAutoOut:U().optional().describe(`ธง "ระบบปิดขายเอง" — true=status:'out' ตัวนี้มาจาก shop.stockAutoOut ไม่ใช่คนกด ⇒ ใช้ตัดสินว่าเปิดคืนอัตโนมัติได้ · เขียนโดย server เท่านั้น · absent=คนกดเอง/ยังไม่เคยถูกปิดอัตโนมัติ · ไม่อยู่ใน initialProduct (field ใหม่ · client ไม่ seed)`),category:T(B()).optional().describe("หมวดหมู่ full path [root→leaf] (EditProductScreen.js:832-833 · match SmartCategoryItem.id)").meta({initial:[]}),extraCategory:T(B()).optional().describe("หมวด smart: smartTopSale/smartPromotion/smartRecommend — chip เมนูเด็ด/โปร/แนะนำ").meta({initial:[]}),option:T(B()).optional().describe("option id list (ตัวจริงอยู่ shop.smartOption · ref SmartOption)").meta({initial:[]}),stock:re([Y(),B()]).optional().describe("จำนวนคงเหลือเมนู — ระบบสต๊อกแยก ไม่ผูก BOM (เครื่องดื่ม/สินค้าสำเร็จ)").meta({initial:0}),stockCount:U().optional().describe("เข้าระบบนับสต๊อก StockCount ≠ BomCount · ref-only roadmap").meta({initial:!1}),stockAlert:re([B(),Y()]).optional().describe("แจ้งเตือนเมื่อสต๊อกเมนูใกล้หมด · ref-only roadmap").meta({initial:""}),stockSet:T(M()).optional().describe("ผูกตัดสต๊อกข้าม SKU (เบียร์ลัง→ตัดขวด) · premium · row shape ยังไม่ ground → z.any()").meta({initial:[]}),BOM:T(we(()=>FU)).optional().describe("สูตรวัตถุดิบต่อชิ้น — ตัด stock ตอนขาย · row {id:unitId,qty} (EditProductScreen.js:728 strip · reuse ChannelBomRow)").meta({initial:[]}),sop:K({steps:T(we(()=>Ooe)),note:B().optional()}).optional().describe("SOP วิธีทำรายเมนู — ขั้นตอน+รูปต่อขั้น ให้พนักงานครัวดู (Modal_SopEditor เขียน · Modal_SopView/SopGuideScreen อ่าน) · ❌ ห้ามส่งออกฝั่งลูกค้า (ordering/self-order/scanOrder) · DEV-1303"),sku:B().optional().describe("SKU รหัสสินค้า (ร้านกำหนดเอง) — ค้นหา/อ้างอิง · stockSet ผูกตัดข้าม SKU").meta({initial:""}),barcode:B().optional().describe("บาร์โค้ดสินค้า — สแกนค้นหาเมนูตอนขาย").meta({initial:""}),set:T(M()).optional().describe("เซตเพื่อปริ้นใบครัวแยก — เมนูเดียวประกอบหลายรายการ · row shape ยังไม่ ground → z.any()").meta({initial:[]}),setStatus:U().optional().describe("เป็นเซต(ปริ้นแยกครัว) หรือสินค้าเดี่ยว").meta({initial:!1}),boxStatus:U().optional().describe("เปิดใช้เซตเมนูขั้นสูง (box/combo)").meta({initial:!1}),boxs:T(K({id:B().optional().describe("uuid กล่อง (useBoxEditor.js:27 uuid.v4)"),name:B().optional().describe("ชื่อกล่อง"),qty:re([Y(),B()]).optional().describe("จำนวนที่ต้องเลือกในกล่องนี้ (data จริง = string)"),products:T(K({id:B().optional(),name:B().optional(),maxQty:re([Y(),B()]).optional(),price:re([Y(),B()]).optional()}).passthrough()).optional().describe("สินค้าในกล่อง row {id,name,maxQty,price} — จอ copy ชื่อสินค้าลงแถว (Mo
198dal_Box.js:23)")}).passthrough()).optional().describe("นิยามกล่องของเซตขั้นสูง — ของจริง {id,name,qty,products:[{id,name,maxQty,price}]} ทุกค่า string (useBoxEditor.js:5 · Modal_Box.js:23 · menuConfig.js:93-96 prune)").meta({initial:[]}),boxCart:T(M()).optional().describe("รายการในกล่องที่ลูกค้าเลือก — master ว่าง [] · เติมตอน add-to-cart (TakeOrderScreen.js:1122 slice · SummaryInstance/QueRenderer/BillHistory render · initialProduct.js:70)").meta({initial:[]}),boxSplit:U().optional().describe("แยกใบปริ้น — สั่งเซต >1 ชุด → แยกใบปริ้น").meta({initial:!1}),tipStatus:U().optional().describe("เป็น TIP item (ทิป) ไม่ใช่เมนูจริง — filter ออกจอขาย").meta({initial:!1}),pointStatus:U().optional().describe("pseudo สำหรับ point/buffet/tip (BuffetSetting/TipScreen)").meta({initial:!1}),productLinkId:B().optional().describe("เชื่อม product กับ buffet/tip (pseudo link) — มีค่า=filter ออกจอขาย").meta({initial:""}),onlyStaff:U().optional().describe("เฉพาะพนักงานเห็น+สั่งได้ — ลูกค้า self-order ไม่เห็น").meta({initial:!1}),onlyStaffOrder:U().optional().describe("ลูกค้าเห็นแต่กดสั่งไม่ได้ — แจ้งพนักงานสั่งแทน").meta({initial:!1}),timeDependent:U().optional().describe("เมนูขายเฉพาะบางช่วงเวลา → แสดงเฉพาะชั่วโมงใน time[]").meta({initial:!1}),time:T(Y()).optional().describe("ชั่วโมงที่เมนูขายได้ [0-23] (ใช้เมื่อ timeDependent=true)").meta({initial:[]}),channelBOM:we(()=>np).optional().describe("Layer C packaging ตัดเพิ่มราย channel ต่อชิ้น · absent=ไม่ตัดเพิ่ม (writer C3/C4) · ไม่อยู่ใน initialProduct (field ใหม่)")}).passthrough(),coe=K({shopId:B().optional().describe("expire check (QrEntryScreen.js:82)"),name:B().optional().describe("ชื่อร้านที่แสดง POS/ใบเสร็จ/ลูกค้าเห็นตอนสแกน (initialShop.js:35 · navigate QrEntryScreen.js:146)").meta({initial:""}),branchName:B().optional().describe("ชื่อสาขา (ร้านหลายสาขา) — cross-source ไม่อยู่ใน initialShop.js (ShopProfile/Branch)"),phone:B().optional().describe("ซาก — จอ/PDF อ่าน `tel` แทนแล้ว (DEV-1225 · pdfPO/pdfPR ใช้ `shop.tel || shop.phone` เป็น fallback ของร้านเก่าเท่านั้น · ไม่มี writer ในระบบ) · เดิม: เบอร์โทรร้าน — cross-source (ใช้ tel แทน · ไม่อยู่ใน initialShop.js)"),email:B().optional().describe("อีเมลร้าน — cross-source (ไม่อยู่ใน initialShop.js)"),address:B().optional().describe("ที่อยู่ร้าน บนใบเสร็จ/ใบกำกับ (initialShop.js:10)").meta({initial:""}),tel:B().optional().describe("เบอร์โทรร้าน cleanText เฉพาะตัวเลข (initialShop.js:87 · ShopProfileScreen)").meta({initial:""}),taxId:B().optional().describe("เลขประจำตัวผู้เสียภาษีของร้าน บนเอกสารจัดซื้อ (PO/PR) — writer เดียว = RestaurantProfileScreen.js:149 · reader pdfPO.js:43 / pdfPR.js:53,55 · ไม่อยู่ใน initialShop.js (≠ tax.taxNumber ที่ TaxInvoiceScreen เขียนสำหรับใบกำกับภาษีขาย · 2 ช่องแยกกัน ไม่ sync กัน)"),managerName:B().optional().describe("ชื่อผู้จัดการร้าน — พิมพ์บนใบสั่งซื้อ 'ผู้จัดการ:' + ช่องลายเซ็น (pdfPO.js:108,194) · writer RestaurantProfileScreen").meta({initial:""}),managerPhone:B().optional().describe("เบอร์ผู้จัดการร้าน — พิมพ์บนใบสั่งซื้อ 'โทรผู้จัดการ:' (pdfPO.js:109) · จอกรองเหลือตัวเลข onlyDigits ตอนพิมพ์ (RestaurantProfileScreen.js:124)").meta({initial:""}),remark:B().optional().describe("หมายเหตุร้าน (ข้อความอิสระ) — writer+reader = RestaurantProfileScreen เท่านั้น (:89 prefill · :156 save) · ไม่มี consumer อื่นในระบบ").meta({initial:""}),branch:re([Y(),B()]).optional().describe("หมายเลขสาขา (initialShop.js:11 · default 1 · system multi-branch)").meta({initial:1}),branchId:B().optional().describe("id ของกลุ่มสาขาที่ร้านนี้สังกัด = doc id ใน collection `branches` ('' หรือไม่มี key = ยังไม่อยู่กลุ่มไหน) — writer เดียว = server txn branch/manage.js:50 (create) · 
198:83 (join) · :140 (leave→'') · reader BranchScreen.js:98,149 (โหลดกลุ่ม/คำเชิญ) · TransferOrderSetting.js:64 + TransferRequestScreen.js:98 (snapshot ลง TO/TR.branchId) · branch/read.js:18 SHOP_WHITELIST · ≠ `branch` (เลขสาขาที่คนพิมพ์) และ ≠ `branchName` · ไม่อยู่ใน initialShop.js (ร้านใหม่ยังไม่มีกลุ่ม) ⇒ ไม่มี initial"),scShopId:B().optional().describe("รหัสแบรนด์ร่วมหลายสาขา system (initialShop.js:46)").meta({initial:""}),posId:B().optional().describe("id เครื่องออกใบกำกับ โยง till/printer (initialShop.js:314 · TaxInvoiceScreen)").meta({initial:""}),yourCode:B().optional().describe("รหัสแนะนำร้าน auto 'r'+5 อักษร (initialShop.js:159 · ShareScreen)").meta({initial:""}),suggester:B().optional().describe("รหัสผู้แนะนำ (ใครชวนร้านนี้มา) — scanfoodOffice shopSlice.js:16 query .where('suggester','==',token) (initialShop.js:157)").meta({initial:""}),shopChannel:B().optional().describe("ช่องทาง/แบรนด์ที่ร้านสังกัด ('scanfood' = ร้านในระบบ ScanFood) — server-owned เขียนตอนสร้างร้านทางเดียว (claude/shop/create.js:110 · claude/franchise/branch.js:246) · reader = apis/office.js:28 query `.where('shopChannel','==','scanfood')` (ลิสต์ร้านให้ทีมงาน) + apis/sharedData.js:82-93 (switch เลือกชุดข้อมูลที่แชร์) · ❌ ไม่อยู่ใน initialShop.js ⇒ ไม่มี initial (ถ้าใส่ = ซีดฝั่งจอจะอ้างว่าตัวเองตั้งค่านี้ได้ ทั้งที่เป็นของ server)"),shopType:K({}).passthrough().optional().describe("ป้ายรูปแบบร้าน `{id,name}` (initialShop.js:124 `{id:1,name:'กินก่อนจ่าย'}`) — writer = claude/franchise/branch.js:232 เขียนค่าคงที่ `{id:1,name:'กินก่อนจ่ายทีหลัง'}` (ประกาศ SERVER-OWNED ที่ :18) · ⚠️ **ยังไม่พบผู้อ่านเลยทั้งบ้าน** (grep 5 repo + server/apis 2026-08-08) ⇒ เก็บไว้เพราะ doc จริงมีค่านี้ ไม่ใช่เพราะมีคนใช้ · ≠ `franchiseShopType` (id ของ profile สาขาใน `Franchise.shopTypes` = ตัวจริงที่คุมสิทธิ์/ราคา)").meta({initial:{id:1,name:"กินก่อนจ่าย"}}),createdDate:M().optional().describe("วันสร้างร้าน system immutable (Firestore Timestamp/Date · initialShop.js:19 new Date())").meta({initial:"__NEW_DATE__"}),imageUrl:T(M()).optional().describe("รูปร้าน [{type,value}] type=logo/otherPhoto (initialShop.js:33 · ShopProfileScreen · row shape ไม่ปิด)").meta({initial:[]}),imageId:B().optional().describe("⚠️ dead — logo เดี่ยว ใช้ imageUrl แทน (initialShop.js:32 · default '')").meta({initial:""}),shopLine:K({addUrl:B().describe("ลิงก์เพิ่มเพื่อน LINE OA ('' = ไม่มี/ดึงไม่ได้)")}).passthrough().optional().describe("ลิงก์ LINE ร้าน (server-derived · /claude/scanOrder/request · sess180) — ไม่อยู่ใน initialShop.js · อยู่ทั้ง success+closed payload (Panda404)"),smartCategory:T(we(()=>Ioe)).optional().describe("หมวดหมู่เมนูทั้งร้าน tree เก็บเป็น level-group `[{level, value:[SmartCategoryItem]}]` — ไม่ใช่ item flat (CategoryBoardScreen.js:147-156 group ตาม level · initialShop.js:49 seed [] · server อ่าน group.value: categoryConfig.js mapSmartCategory)").meta({initial:[]}),smartOption:T(we(()=>Poe)).optional().describe("เมนูย่อย/ตัวเลือก ระดับหัวข้อ (initialShop.js:51 · array of SmartOption)").meta({initial:[]}),hideEmptyCategories:U().optional().describe("Layer A — ซ่อนหมวดที่ไม่มีสินค้าบนช่องนั้น render-time (sess228 · absent/false=โชว์เดิม · writer C3)"),perOrderChannelBOM:we(()=>
198np).optional().describe("Layer C เสริม — packaging ตัดเพิ่ม/ออเดอร์ ราย channel (sess228 · writer SaleChannelDetail)"),channelPackagingEnable:U().optional().describe("p0 gate ของ feature channelPackaging (sess428 · absent/false=ปิด · writer ChannelPackagingScreen ใบ 4 BomSpecial) — ปิด = UI ตั้ง packaging ซ่อนทั้งเส้น + bomManager ไม่ตัด packaging (guard ฝั่ง caller)"),smartTable:T(we(()=>DU)).optional().describe("metadata โต๊ะ 1 แถว/โต๊ะ (initialShop.js:86 · id=static QR doc id)").meta({initial:[]}),zone:T(M()).optional().describe("นิยามโซนราคา multiZone (initialShop.js:95 · โต๊ะอ้าง zoneId · row shape ไม่ปิด)").meta({initial:[]}),category:T(M()).optional().describe("หมวดหมู่ร้าน legacy/base array ≠ smartCategory (initialShop.js:12)").meta({initial:[]}),channel:T(M()).optional().describe("ช่องทางขาย [{id,name}] default ราคาปกติ id1 (initialShop.js:13-18 · base ของ ChannelKey)").meta({initial:[{id:1,name:"ราคาปกติ"}]}),tax:we(()=>bU).optional().describe("ข้อมูลภาษีร้าน active ออกใบกำกับภาษีขาย (initialShop.js:120 = initialTax) — ≠ root taxId (เลขบนเอกสารจัดซื้อ PO/PR) · 2 ช่องแยกกัน ไม่ sync กัน (ground 2026-08-01 grep ทั้ง repo = ไม่มี derive/sync · ประโยคเดิม 'taxId derive จากนี่' = ผิด ตัดออกแล้ว)").meta({initial:"__FACTORY__:shopTaxDefaults"}),taxInfo:K({}).passthrough().optional().describe("ข้อมูลภาษีหน้างานแฟรนไชส์ {name,tel,address,taxNumber,branch} (initialShop.js:325-327)").meta({initial:{name:"",tel:"",address:"",taxNumber:"",branch:""}}),taxCustomer:T(M()).optional().describe("รายชื่อลูกค้าที่ขอใบกำกับภาษี (initialShop.js:119)").meta({initial:[]}),scanFoodVat:K({}).passthrough().optional().describe("VAT ระบบจริง active — {status, value:{type:Include/Exclude, amount:'7'}} (initialShop.js:196-202)").meta({initial:{status:!1,value:{type:"Include",amount:"7"}}}),scanFoodServiceCharge:K({}).passthrough().optional().describe("ค่าบริการ — {status, amount:'10'} บวก % เข้าบิล (initialShop.js:203-206)").meta({initial:{status:!1,amount:"10"}}),scanFoodCardSurcharge:K({}).passthrough().optional().describe("💰 ค่าธรรมเนียมบัตร (cardSurcharge · ใบแม่ DEV-0913 · default ปิด) — {status, services:[{id, amount}]} · `status` = master switch ของทั้งร้าน · `services[]` = service ที่ร้าน**ติ๊กเปิด fee** (การอยู่ในลิสต์ = เปิด): `id` = id แถว `scanFoodPayment` (เลข legacy 1/2 หรือ uuid แถวใหม่) **หรือ** channelId ของกระเป๋า gateway (เช่น `edcCard`/`nttEdcCard` — gateway ประทับ channelId ลงแถว paymentChannel ตอนกระเป๋า commit) — ❌ ห้าม hardcode รายชื่อ id (แถวจ่ายเงินไม่มี field ชนิด 'บัตร') · `amount` = % เป็น **string เลขเต็ม** ('3' = 3% · แบบ scanFoodServiceCharge.amount:'10' — ❌ ไม่ใช่ 0.03) · % ตายตัวต่อ service แต่ POS override รายบิลได้ (% ที่ใช้จริงเก็บที่ CheckOut.cardSurchargeRate) · ฝั่งลูกค้า kiosk fix % ไม่มี override · ตั้งค่าที่ PaySettingScreen · resolve rate ของบิล = `@scanfood/logic`.cardSurchargeRateFor(config, paymentRows)").meta({initial:{status:!1,services:[]}}
198),rounding:K({}).passthrough().optional().describe("ปัดเศษสตางค์ท้ายบิล — {status, type:'down'} (initialShop.js:207-210)").meta({initial:{status:!1,type:"down"}}),schedule:we(()=>CU).optional().describe("ตารางเปิด-ปิดร้าน ต่อวัน × type (initialShop.js:213-232)").meta({initial:{dynamicStatus:!0,staticStatus:!0,day:[{day:0,id:1,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:1,id:2,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:2,id:3,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:3,id:4,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:4,id:5,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:5,id:6,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:6,id:7,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:0,id:8,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:1,id:9,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:2,id:10,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:3,id:11,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:4,id:12,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:5,id:13,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:6,id:14,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0}]}}),businessHours:T(K({day:Y().int().min(0).max(6),open:B(),close:B(),closed:U()}).passthrough()).optional().describe("เวลาเปิด-ปิดรายวัน 7 แถว (day 0=อาทิตย์…6=เสาร์ · HH:mm · ข้ามเที่ยงคืนได้ · closed=ปิดทั้งวัน) — ShopProfileScreen › BusinessHoursScreen (DEV-1158) · ScanGo ใช้คิด 'เปิดถึง'").meta({initial:[]}),latitude:re([Y(),B()]).optional().describe("พิกัดร้าน lat — ShopProfileScreen › Modal_ShopLocation (DEV-1158) · ScanGo ใช้คิดระยะทาง · '' = ยังไม่ปักหมุด").meta({initial:""}),longitude:re([Y(),B()]).optional().describe("พิกัดร้าน long — ShopProfileScreen › Modal_ShopLocation (DEV-1158) · ScanGo ใช้คิดระยะทาง · '' = ยังไม่ปักหมุด").meta({initial:""}),tvPromo:T(K({imageUrl:B().optional(),title:B(),subtitle:B().optional(),tag:B().optional()}).passthrough()).optional().describe("สไลด์โฆษณาบนแผงขวาของทีวีคิว (scanfood_queue PromoPanel · ≤8 · รูป 2:3 · title บังคับ) — TvPromoScreen (DEV-1160) · ว่าง = ทีวีโชว์ QR").meta({initial:[]}),temptClose:U().optional().describe("ปิดร้านชั่วคราว override schedule (initialShop.js:212 · default false)").meta({initial:!1}),shift:U().optional().describe("เปิดระบบกะไหม (initialShop.js:47 · default false · status กะจริง=collection shift)").meta({initial:!1}),memberPromote:U().optional().describe("เปิดระบบสมาชิกไหม — gate loyalty/member · cross-source (ไม่อยู่ใน initialShop.js)"),providerId:B().optional().describe("เชื่อม memberProvider ตัวไหน shop→provider link (initialShop.js:352)").meta({initial:""}),providerInvite:K({providerId:B(),invitedBy:B(),invitedByName:B().optional(),at:M()}).optional().describe("คำเชิญเข้าแบรนด์สมาชิกที่ค้างอยู่ (DEV-1136 member community) — เขียน/ลบโดย claude/member/communityManage.js เท่านั้น (ร้านตอบผ่าน communityRespond accept/decline) · absent = ไม่มีคำเชิญ · at = Firestore Timestamp (server Date ตอนเขียน)"),vip:T(we(()=>loe)).optional().describe("แพ็กเกจ/สิทธิ์ที่ร้านซื้อ [{type,expire}] single source ของ tier gate (initialShop.js:89-94 · default [])").meta({initial:[]}),packageArray:T(B()).optional().describe("package id ที่ซื้อทั้งหมด — findVip cross-ref (initialShop.js:158)").meta({initial:[]}),storeSize:re([Y(),B()]).optional().describe("เพดานจำนวนโต๊ะ (initialShop.js:122 · default 30 · ZoneScreen:133 constraint)").meta({initial:30}),receiptPattern:B().optional().describe("เลขรันใบเสร็จ: month/day (initialShop.js:386 · default 'month')").meta({initial:"month"}),receiptLanguage:B().optional().describe("ภาษาใบเสร็จ/ใบเรียกเก็บ/ใบมัดจำ/ใบฝากเงินแบบรูปภาพ · 1 ใน 7 SUPPORTED_UI_LANGS (th/en/km/lo/my/vi/zh) · ไม่มี = th · ตั้งที่ SpecialCheckoutScreen (DEV-1308)").meta({initial:"th"}),smartCheckout:we(()=>foe).optional().describe("QR พร้อมเพย์ + โลโก้/รูป + ข้อความ หน้า checkout (initialShop.js:141-152 · SpecialCheckoutScreen)").meta({initial:{promptpayId:"",promptpayStatus:!1,textBottom:"",textBottomStatus:!1,imageStatus:!1,imageId:"",logoStatus:!1,logo:"",contentHeaderStatus:!1,contentHeader:""}}),smartQrcode:we(()=>doe).optional().describe("ข้อความท้ายหน้า QR ลูกค้า self-order (initialShop.js:153-156)").meta({initial:{textBottom:"",textBottomStatus:!1}}),smartTopSale:we(()=>bh).optional().describe("chip 'เมนูเด็ด คนสั่งเยอะ' (initialShop.js:123-128 · pair product.extraCategory=smartTopSale)").meta({initial:{name:"เมนูเด็ด คนสั่งเยอะ",status:!1,value:[],nameLanguage:[]}}),smartRecommend:we(()=>bh).optional().describe("chip 'เมนูแนะนำ' (initialShop.js:129-134)").meta({initial:{name:"เมนูแนะนำ",status:!1,value:[],nameLanguage:[]}}),smartPromotion:we(()=>bh).optional().describe("chip 'โปรโมชัน' (initialShop.js:135-140)").meta({initial:{name:"โปรโมชั่น",status:!1,value:[],nameLanguage:[]}}),smartBuffet:T(K({id:B().optional().describe("uuid บุฟเฟ่ต์ — pseudo-product.productLinkId ชี้มา"),name:B().optional().describe("ชื่อบุฟเฟ่ต์"),detail:B().optional().describe("กติกา/เงื่อนไขบุฟเฟ่ต์"),product:T(M()).optional().describe("เมนูที่กินได้ row={id,charge,maxQty,limit,limitStatus} (💰charge=คิดเงินเพิ่ม)"),time:re([Y(),B()]).optional().describe("เวลาจำกัด นาที (default 90 · ใช้เมื่อ limitTime=true)"),status:U().optional().describe("เปิด/ปิดบุฟเฟ่ต์นี้ — some(status)=ร้านเปิดโหมดบุฟเฟ่ต์"),limitTime:U().optional().describe("จำกัดเวลากินไหม"),openProduct:T(B()).optional().describe("สินค้าเปิดโต๊ะ น้ำซุปฯลฯ (product id list)")}).passthrough()).optional().describe("นิยามบุฟเฟ่ต์ — ราคาต่อหัวอยู่ใน Product แยก (initialShop.js:114 · BuffetSettingScreen)").meta({initial:[]}),buffetOnly:U().optional().describe("ขายบุฟเฟ่ต์อย่างเดียว (initialShop.js:370 · default false · BuffetServiceScreen)").meta({initial:!1}),smartQue:K({status:U().optional().describe("เปิด/ปิดระบบคิว ผูก premium (initialShop.js:161)"),queType:T(M()).optional().describe("ประเภทคิวตามขนาดกลุ่ม row {id,brev,type} (initialShop.js:162-173)"),content:B().optional().describe("ข้อความแนะนำบนบัตร QR คิว (initialShop.js:174)")}).passthrough().optional().describe("ระบบบัตรคิว prem (initialShop.js:160-176 · QueSettingScreen)").meta({initial:{status:!0,queType:[{id:"111",brev:"A",type:"1 - 2 คน"},{id:"222",brev:"B",type:"3 - 4 คน"}],content:`เพื่มให้ได้อาหารรวดเร็วทันใจ
199ลูกค้าสามารถสั่งอาหารได้จาก QR Code นี้เลยนะค้าา`}}),delivery:K({status:U().optional().describe("เปิด/ปิดช่องเดลิเวอรี่ (initialShop.js:258)"),information:T(we(()=>$C)).optional().describe("ฟิลด์ข้อมูลที่ขอลูกค้า (initialShop.js:259-265)"),paymentDetails:T(we(()=>Pl)).optional().describe("💰 วิธีจ่าย: payLater/promptpay/bank/manee (initialShop.js:266-293)"),delivery:we(()=>poe).optional().describe("💰 ค่าส่ง object ซ้อน (initialShop.js:294-303)"),minimumSale:re([Y(),B()]).optional().describe("💰 ยอดสั่งขั้นต่ำ (initialShop.js:304 · default 1)")}).passthrough().optional().describe("ช่องขายเดลิเวอรี่ (initialShop.js:257-306 · DeliveryScreen)").meta({initial:{status:!1,information:[{id:"name",name:"ชื่อ",showOnReceipt:!0}],paymentDetails:[{id:"payLater",status:!1,name:"เก็บเงินปลายทาง"},{id:"promptpay",status:!1,name:"พร้อมเพย์",promptpayId:"",promptpayName:""},{id:"bank",status:!1,name:"บัญชีธนาคาร",accountName:"",bankName:"",bankNumber:""},{id:"manee",status:!1,name:"รูป QrCode เช่น QR Code แม่มณี",imageId:""}],delivery:{status:!1,cost:"",latitude:"",longitude:"",freeStatus:!1,freeTarget:""},minimumSale:1}}),pickup:K({status:U().optional().describe("เปิด/ปิดช่อง pickup (initialShop.js:242)"),paymentJourney:B().optional().describe("💰 before/after (after→เปิด payLater · initialShop.js:243)"),paymentDetails:T(we(()=>Pl)).optional().describe("💰 วิธีจ่าย array (+id cash) — 
199contract migrate · ดู DISCREP"),paymentDetail:we(()=>Pl).optional().describe("legacy วิธีจ่ายเดี่ยว (initialShop.js:244-248 · ยังมีใน init · migrate→paymentDetails)"),information:T(we(()=>$C)).optional().describe("ข้อมูลที่ขอลูกค้า (initialShop.js:249-255)")}).passthrough().optional().describe("ช่องรับเองที่ร้าน (initialShop.js:241-256 · PickupScreen)").meta({initial:{status:!1,paymentJourney:"after",paymentDetail:{id:"promptpay",promptpayId:"",promptpayName:""},information:[{id:"name",name:"ชื่อ",showOnReceipt:!0}]}}),scanAndPay:K({status:U().optional().describe("เปิด/ปิด scan & pay (initialShop.js:330)"),paymentDetail:we(()=>Pl).optional().describe("💰 วิธีจ่ายเดี่ยว (ไม่ใช่ array) promptpay/manee (initialShop.js:331-335)")}).passthrough().optional().describe("ลูกค้าสแกน QR จ่ายเอง self-checkout (initialShop.js:329-336 · ScanAndPayScreen)").meta({initial:{status:!1,paymentDetail:{id:"promptpay",promptpayId:"",promptpayName:""}}}),linePickup:we(()=>HC).optional().describe("เชื่อม LINE OA + LIFF สำหรับ pickup (initialShop.js:353 = initialLinePickup · PickupLineScreen)").meta({initial:"__FACTORY__:lineChannelDefaults"}),lineDelivery:we(()=>HC).optional().describe("เชื่อม LINE OA + LIFF สำหรับ delivery (initialShop.js:354 = initialLinePickup · DeliveryLineScreen)").meta({initial:"__FACTORY__:lineChannelDefaults"}),lineRichMenu:B().optional().describe("deep-link rich menu derived auto (initialShop.js:355 · buildLineRichMenu · ไม่แก้มือ)").meta({initial:""}),linePickupAds:T(B()).optional().describe("โฆษณาสำหรับ pickup — ordering PaymentScreen.js:452 สุ่มโชว์ (initialShop.js:356)").meta({initial:[]}),scanFoodPayment:T(K({id:re([Y(),B()]).optional().describe("id วิธีจ่าย (initialShop.js:184 · เลข legacy / uuid ใหม่)"),name:B().optional().describe("ชื่อวิธีจ่าย (initialShop.js:185)"),mortal:U().optional().describe("true=ลบไม่ได้ default เงินสด/พร้อมเพย์ (initialShop.js:186)"),status:U().optional().describe("เปิด/ปิดวิธีจ่ายนี้ (initialShop.js:187)")}).passthrough()).optional().describe("💰 ช่องทางชำระเงิน POS (initialShop.js:182-195 · PaySettingScreen · checkout filter status CheckOutInstance:156)").meta({initial:[{id:1,name:"เงินสด",mortal:!0,status:!0},{id:2,name:"พร้อมเพย์",mortal:!0,status:!0}]}),paymentDisplayOrder:T(re([Y(),B()])).optional().describe("💰 ลำดับการแสดงช่องทางชำระบนจอ = id ล้วน (DEV-0888 ก้อน 4 · writer PaySettingScreen.js:245 ผ่าน sanitizeDisplayOrder · reader applyDisplayOrder ที่ CheckOutScreen.js:289 + CheckOutInstance.js:205) — ปน number/string โดยตั้งใจ: แถว legacy เงินสด/พร้อมเพย์ id เป็นเลข 1,2 (ดู scanFoodPayment.id) ส่วนแถวใหม่/แถว derive จากทะเบียนเกตเวย์เป็น string ⇒ เทียบกันด้วย String() เสมอ · ร้านเก่าไม่มี field = [] = ลำดับเดิมเป๊ะ").meta({initial:[]}),currency:T(K({id:B().optional().describe("uuid"),brev:B().optional().describe("ตัวย่อสกุลเงิน USD/THB"),rate:re([Y(),B()]).optional().describe("อัตราแลกเทียบฐาน (form-string)")}).passthrough()).optional().describe("💰 สกุลเงิน + อัตราแลก (initialShop.js:337 default [] · CurrencyScreen) — ใบเสร็จพิมพ์ยอดเทียบต่อสกุลด้วย numberNet / rate (ReceiptRenderer.js:178) ⇒ rate ผิด = ตัวเลขเงินต่างประเทศบนใบเสร็จผิด").meta({initial:[]}),dayDeposit:re([Y(),B()]).optional().describe("💰 จำนวนวันก่อนมัดจำหมดอายุ (initialShop.js:338 · default 14)").meta({initial:14}),earnestEnable:U().optional().describe("💰 เปิดระบบเงินมัดจำ earnest (initialShop.js:379 · PaySettingScreen)").meta({initial:!1}),payConfig:U().optional().describe("เปิดปุ่ม config วิธีจ่ายตอน checkout (initialShop.js:351)").meta({initial:!1}),promptpayCheckout:U().optional().describe("💰 เปิด QR พร้อมเพย์ตอน checkout (initialShop.js:313 · ใช้ smartCheckout.promptpayId)").meta({initial:!1}),ipAddress:B().optional().describe("IP ปริ้นเตอร์ LAN ใบเสร็จ (initialShop.js:178 · PrinterLanScreen)").meta({initial:""}),starLanIp:B().optional().describe("IP ปริ้นเตอร์ Star LAN ระดับร้าน (PrinterReceiptStarLan.js:48 writer · usePrintAction/station consumer · schema-gap close sess327)").meta({initial:""}),host:B().optional().describe("uniqueId เครื่องแม่ ตัวคุม auto-print ครัว (initialShop.js:21 · HomeScreen:111)").meta({initial:""}),hostName:B().optional().describe("ชื่อเครื่องแม่ getDeviceName (initialShop.js:181)").meta({initial:""}),kitchenType:B().optional().describe("จัดบิลครัว: category/product (initialShop.js:121 · default 'category')").meta({initial:"category"}),autoKitchen:U().optional().describe("ออเดอร์เข้าครัวทันทีตอนยืนยันสั่ง (initialShop.js:180 · TakeOrder:1129)").meta({initial:!1}),smartCooking:T(B()).optional().describe("staff id รับแจ้งทำอาหารอัตโนมัติ (initialShop.js:179)").meta({initial:[]}),paperMode:B().optional().describe("โหมดปริ้น LAN: text/graphic (initialShop.js:392 · default 'graphic')").meta({initial:"graphic"}),railOrder:U().optional().describe("รางเสียบบิล เพิ่มขอบบนบิลครัว (initialShop.js:404 · default false)").meta({initial:!1}),sunmiPrintOrder:U().optional().describe("Sunmi ปริ้นออเดอร์อัตโนมัติ (initialShop.js:339)").meta({initial:!1}),sunmiOrderSize:re([Y(),B()]).optional().describe("ขนาด label ออเดอร์ Sunmi (initialShop.js:349 · default 1)").meta({initial:1}),printCancelItem:U().optional().describe("ปริ้นสลิปเมื่อยกเลิกรายการ (initialShop.js:383 · default true)").meta({initial:!0}),printMoveItem:U().optional().describe("ปริ้นเมื่อย้ายรายการไปโต๊ะอื่น (initialShop.js:384 · default true)").meta({initial:!0}),printMoveTable:U().optional().describe("ปริ้นเมื่อย้าย/รวมโต๊ะ (initialShop.js:385 · default false)").meta({initial:!1}),printSticker:we(()=>hoe).optional().describe("config ปริ้นเตอร์สติกเกอร์ (initialShop.js:394 = initialPrintSticker)").meta({initial:"__FACTORY__:printStickerDefaults"}),printStickerStatus:U().optional().describe("เปิดปริ้นสติกเกอร์ (initialShop.js:395 · TakeOrder:975)").meta({initial:!1}
199),stickerMenu:T(B()).optional().describe("product id ที่ปริ้นสติกเกอร์ (initialShop.js:397)").meta({initial:[]}),stickerEnable:U().optional().describe("true=เฉพาะ stickerMenu · false=ทุกเมนู (initialShop.js:398)").meta({initial:!1}),smartKitchen:T(we(()=>Boe)).optional().describe("สถานีครัวหลายจุด route ออเดอร์ตามหมวด (initialShop.js:50 · KitchenSettingScreen · row=initialKitchen)").meta({initial:[]}),multiStation:U().optional().describe("เปิดหลายจุดชำระเงิน (multi-station P3 · premium gate · StationSettingScreen) — ร้านเดิม false = single-station เหมือนเดิม").meta({initial:!1}),humanResource:T(we(()=>goe)).optional().describe("พนักงานร้าน (initialShop.js:22-31 · StaffScreen · +runtime id/rights/owner/password)").meta({initial:[{email:"",name:"",notification:!0,position:["001"],status:"active",tel:""}]}),smartChef:T(B()).optional().describe("staff id รับแจ้ง 'มีออเดอร์' (initialShop.js:48 · TakeOrder:1181)").meta({initial:[]}),smartTask:T(B()).optional().describe("staff id รับแจ้ง 'งาน/task' (initialShop.js:113 · Modal_Request)").meta({initial:[]}),checkInEnable:U().optional().describe("เปิดเช็คอินพนักงาน tier staff (initialShop.js:381 · ต้อง staffEnable)").meta({initial:!1}),staffEntrance:U().optional().describe("บังคับพนักงานใส่รหัสเข้าร้าน (initialShop.js:391 · ต้อง staffEnable)").meta({initial:!1}),managerLock:U().optional().describe("ล็อกต้องผู้จัดการอนุมัติ checkout/ยกเลิก (initialShop.js:390 · CheckOut:1241)").meta({initial:!1}),shiftScanOrder:U().optional().describe("ผูกสแกนสั่งกับเปิด-ปิดกะ (initialShop.js:405) — consumer จริง: fetchShopTable.js:63-70 evalShiftGate(shift, shiftScanOrder) เปิดคู่กับ shift แล้วอ่าน collection shift ของร้าน ⇒ กะยังไม่เปิด (status=false/ไม่มี doc) = :352 isServiceAvailable=false + label_blockOrder='qrcode.systemClose' ⇒ ลูกค้าสแกนสั่งไม่ได้ทั้งร้าน").meta({initial:!1}),franchiseId:B().optional().describe("token แฟรนไชส์ system-set (initialShop.js:320 · ว่าง=ร้านอิสระ · = doc id franchise)").meta({initial:""}),franchiseRights:T(M()).optional().describe("⚠️ legacy/dead — สิทธิ์จริงใช้ currentShopType.productRights (initialShop.js:321 · → relay-dev ลบ)").meta({initial:[]}),franchiseRoute:B().optional().describe("เส้นทาง/โซน logistics แฟรนไชส์ system (initialShop.js:322)").meta({initial:""}),franchisePayment:T(M()).optional().describe("ช่องทางจ่ายที่ซอร์อนุญาต system (initialShop.js:323)").meta({initial:[]}),franchiseShopType:B().optional().describe("เลือก shopType profile system (initialShop.js:324 · source ของ productRights)").meta({initial:""}),franchiseBranch:B().optional().describe("ชื่อสาขาที่สำนักงานใหญ่ตั้งให้ (initialShop.js:364) — reader = claude/franchise/orderCreate.js:161 snapshot ลงใบสั่งของสาขา (`shopData.franchiseBranch || ''`) · BranchScreen.js:342 + Modal_HandleShop.js:37 (ฟอร์มฝั่ง HQ)").meta({initial:""}),region:B().optional().describe("ภาคของสาขา (initialShop.js:362 · ตัวเลือกจาก `THAI_REGIONS` ของ @scanfood/logic) — ใช้จัดกลุ่ม/กรองสาขาฝั่ง HQ (BranchScreen.js:191)").meta({initial:""}),province:B().optional().describe("จังหวัดของสาขา (initialShop.js:363) — คู่กับ region บนฟอร์มสาขา (BranchScreen.js:191 · Modal_HandleShop)").meta({initial:""}),customerTypeId:B().optional().describe("ประเภทลูกค้าขายส่งของสาขานี้ = id ใน `Franchise.customerTypes` (initialShop.js:365) — 🔑 ช่องนี้กำหนดว่าสาขาเห็นสินค้า/ราคาชุดไหนบน marketplace: MaterialScreen.js:139,173 ส่งขึ้น API · legacy apis/franchise.js query `where('customerId','==',customerTypeId)` + กรองอีกชั้นด้วย `warehouseItem.channel.includes(cu
199stomerTypeId)`").meta({initial:""}),warehouseId:B().optional().describe("คลังของแฟรนไชส์ที่ตัดสต๊อกให้สาขานี้ = id ใน `Franchise.multiWarehouses` (initialShop.js:366) — reader BranchScreen.js:346 (แสดงชื่อคลังจาก multiWarehousesMaps)").meta({initial:""}),creditTerm:re([Y(),B()]).optional().describe("💰 **ระยะเวลารอชำระของสาขานี้ (จำนวนวัน)** — `scanFood_web_franchise/src/configs/initialShop.js:341` `creditTerm:30` · reader เดียว = `claude/franchise/salesOut.js` `billDueDate()` สูตร ②: ใบโอน/จ่ายเลย → วันครบกำหนดบนใบวางบิล = วันออกใบ + ค่านี้ (ไม่ตั้ง/ไม่ใช่ตัวเลข = `DEFAULT_CREDIT_DAYS` 30) · ใบเครดิตไม่ใช้ค่านี้ (ใช้ `FranchisePurchaseOrder.lastPayment`) · ⚠️ **เป็นจำนวนวัน** ≠ `FranchisePurchaseOrder.creditTerm` ซึ่งเป็น *วันที่ครบกำหนด* · เทียบสไตล์ `Supplier.creditTerm`").meta({initial:30}),marketplaceFranchiseEnable:U().optional().describe("kill-switch สั่งวัตถุดิบ marketplace แฟรนไชส์ (initialShop.js:403 · MaterialScreen:143)").meta({initial:!1}),bomRights:K({allowAdd:U().optional().describe("สาขาเพิ่มวัตถุดิบของตัวเองได้ไหม (false = HQ ปิด · /claude/bom/add ปัด 403 bom_right_denied)"),allowEditCentral:U().optional().describe("สาขาแก้ข้อมูลวัตถุดิบ 'ของส่วนกลาง' (มี rootId) ได้ไหม — ช่องที่นับว่าเป็นของส่วนกลาง = `BOM_FIELDS` ของ franchise/_bomFanout.js · วัตถุดิบที่สาขาสร้างเอง แก้ได้เสมอ"),allowEditMinStock:U().optional().describe("สาขาแก้จุดสั่งซื้อ/สต๊อกขั้นต่ำของวัตถุดิบส่วนกลางได้ไหม"),allowDelete:U().optional().describe("สาขาลบวัตถุดิบส่วนกลางได้ไหม (/claude/bom/delete)")}).passthrough().optional().describe("สิทธิ์วัตถุดิบที่สำนักงานใหญ่ตั้งราย `franchiseShopType` (DEV-1211) — 4 คีย์ boolean ชุดเดียวใช้กับวัตถุดิบทุกตัว (ไม่ per-item) · **absent = อนุญาตทั้งหมด** (fail-OPEN โดยเจตนา · วันที่ deploy ไม่มีสาขาไหนมี field นี้ ⇒ default deny = ทั้งระบบทำอะไรกับวัตถุดิบไม่ได้ทันที) · มีผลเฉพาะร้านที่เป็นสาขาแฟรนไชส์จริง (`franchiseId` + `franchiseShopType` ครบทั้งคู่) — ร้านเดี่ยวไม่มีด่านนี้เลย · writer = server (`franchise/shopTypePropagate`) เท่านั้น · enforcement = `claude/_shared/bomRights.js`"),productRights:K({allowAdd:U().optional().describe("สาขาเพิ่มเมนูของตัวเองได้ไหม (false = ปุ่มเพิ่มโดนปัด 403 product_right_denied)"),allowEditCentral:U().optional().describe("ร่มของเมนูส่วนกลาง — false = สาขาแตะ doc ที่มี rootId ไม่ได้เลยแม้แต่ช่องของตัวเอง (status/stock/vat/…) · identity 8 ช่อง (name/sku/barcode/detail/BOM/imageId/category/boxStatus) = 403 centralField เสมอไม่ว่าสวิตช์ตั้งยังไง"),allowEditPrice:U().optional().describe("สาขาแก้ราคาขาย (`price`) ของเมนูส่วนกลางได้ไหม"),allowDelete:U().optional().describe("สาขาลบเมนูส่วนกลางได้ไหม — ลบ = ย้ายเข้า archivedProduct (marker archivedByBranchDelete) · กู้ได้จากจอ 'ที่ลบไว้'"),allowAddOption:U().optional().describe("สาขาเพิ่ม/แก้ตัวเลือก (`option`) ที่ผูกกับเมนูส่วนกลางได้ไหม — ช่องเดียวในกองส่วนกลางที่มีสวิตช์ปลด"),allowReorder:U().optional().describe("สาขาลากจัดลำดับเมนูเอง (`timestamp` · ReOrderProductScreen) ได้ไหม — default ปิด = เรียงตาม master · เปิด = ซิงก์ไม่ซ่อมลำดับของสาขา")}).passthrough().optional().describe("สิทธิ์เมนู/สินค้า 6 สวิตช์ที่สำนักงานใหญ่ตั้งราย `franchiseShopType` (DEV-1211 เฟสสินค้า) — ชุดเดียวใช้กับเมนูทุกตัว (ไม่ per-item · แทน granted-list `currentShopType.productRights[]` เดิมหลัง migrate ราย แฟรนไชส์) · **absent = อนุญาตทั้งหมด** (fail-OPEN) · มีผลเฉพาะสาขาแฟรนไชส์จริง · writer = server (`franchise/shopTypePropagate` field `productRights`) เท่านั้น · enforcement = `claude/_shared/productRights.js`"),customerAds:T(B()).optional().describe("สื่อโฆษณาจอลูกค้า จอ2 รูป+วิดีโอ uri ปน (initialShop.js:387 · tier prem)").meta({initial:[]}),customerAdsMode:B().optional().describe("โหมดจอ2: image/loop (initialShop.js:388 · default 'image')").meta({initial:"image"}),displayView:U().optional().describe("toggle layout จอลูกค้า dynamic (initialShop.js:389)").meta({initial:!1}),dynamicDisplayEnable:U().optional().describe("เปิด dynamic display จอ2 (initialShop.js:382)").meta({initial:!1}),orderingTheme:Ge(["light","dark"]).optional().describe("ธีมเริ่มต้นหน้าเมนูลูกค้า ordering (DynamicDisplayScreen · DEV-1384) — ลูกค้าที่กดสลับเองชนะค่านี้ (localStorage `sf-theme` > ค่านี้ > ตามเครื่อง prefers-color-scheme · Pack เคาะ 2026-09-06) · ร้านเก่าไม่มี field = 'light' = พฤติกรรมเดิมเป๊ะ").meta({initial:"light"}),advertising:we(()=>jC).optional().describe("โฆษณา {status,imageId} (initialShop.js:237-240 · franchise right 'ads')").meta({initial:{status:!1,imageId:""}}),banner:we(()=>jC).optional().describe("แบนเนอร์ {status,imageId} 2:1 (initialShop.js:307-310 · franchise right 'cover')").meta({initial:{status:!1,imageId:""}}),hot:we(()=>yoe).optional().describe("เมนูยอดนิยม (initialShop.js:362-369 · HotScreen · tier prem)").meta({initial:{status:!1,imageStatus:!1,imageId:"",header:"เมนูยอดนิยม",product:[],backgroundColor:"#FA8D94"}}),playlist:U().optional().describe("เปิด playlist เพลง (initialShop.js:341 · tier prem)").meta({initial:!1}),takeOrder:K({bottomStyle:re([Y(),B()]).optional().describe("สไตล์แถบล่างจอขาย (initialShop.js:316 · default 1)"),icon:T(re([Y(),B()])).optional().describe("id ปุ่มที่เปิดโชว์บนแถบล่าง (initialShop.js:317)")}).passthrough().optional().describe("จอขาย {bottomStyle,icon[]} (initialShop.js:315-318 · TakeOrderIcon · TakeOrder:260)").meta({initial:{bottomStyle:1,icon:[]}}),journeyStyle:re([Y(),B()]).optional().describe("UX journey 1/2 (initialShop.js:319 · default 1)").meta({initial:1}),fastMenu:T(B()).optional().describe("product id เมนูด่วน whitelist (initialShop.js:312)").meta({initial:[]}),holdEnable:U().optional().describe("เปิดพักบิล hold cart (initialShop.js:38
1990)").meta({initial:!1}),repeatItem:U().optional().describe("เปิดสั่งซ้ำรายการ (initialShop.js:211 · franchise right 'repeat')").meta({initial:!1}),noteEnable:U().optional().describe("เปิดใส่หมายเหตุท้ายบิล (initialShop.js:400 · CheckOut:1616)").meta({initial:!1}),freeTipEnable:U().optional().describe("💰 เปิดปุ่ม 'ทิป' (ทิปอิสระ · พนักงานพิมพ์จำนวนเองตอนปิดบิล) บนหน้าปิดบิลทั้ง 4 ประตู — PaySettingScreen · คนละกลไกกับ Shop.tip (tipItem ฝั่งลูกค้าสแกน QR) และ scanFoodServiceCharge (% ท้ายบิล)").meta({initial:!1}),notiShift:T(B()).optional().describe("staff id รับแจ้งเปิด/ปิดกะ (initialShop.js:96 · ShiftScreen:172)").meta({initial:[]}),notiCancelBill:T(B()).optional().describe("staff id รับแจ้งยกเลิกบิล (initialShop.js:97)").meta({initial:[]}),notiCancelOrder:T(B()).optional().describe("staff id รับแจ้งยกเลิกออเดอร์ (initialShop.js:101 · OrderHistory:347)").meta({initial:[]}),notiCount:T(B()).optional().describe("staff id รับแจ้งนับสต๊อกเสร็จ (initialShop.js:328 · StockCount:205)").meta({initial:[]}),notiAuto:T(B()).optional().describe("staff id รับแจ้ง auto-checkout (initialShop.js:402 · AutoCheckout:498)").meta({initial:[]}),staffNoti:T(B()).optional().describe("staff id รับแจ้ง 'ทำอาหารเสร็จ' (initialShop.js:103)").meta({initial:[]}),bomNoti:T(B()).optional().describe("staff id รับแจ้งสต๊อกวัตถุดิบใกล้หมด (initialShop.js:117 · ต้อง bomEnable)").meta({initial:[]}),timezone:B().optional().describe("เขตเวลาของร้าน = ชื่อโซน IANA (เช่น 'Asia/Bangkok' · 'America/New_York') — ตั้งอัตโนมัติจากเครื่องที่สมัครตอนสร้างร้าน · เปลี่ยนได้ที่ AdvanceScreen · ไม่มีค่า/ค่าเพี้ยน = ถือเป็น 'Asia/Bangkok' (fail-safe ผ่าน @scanfood/logic resolveShopTz — ❌ ไม่ fail-blank/ไม่ throw เพราะร้านเก่าทุกร้านไม่มี key นี้) · ทุกการอ้างเวลาในระบบ (วันธุรกิจ/รอบกะ/happy hour/รายงาน) ยึดค่านี้ ไม่ใช่นาฬิกาเครื่องที่เปิดดู · ≠ cutOff (เวลาตัดรอบวันธุรกิจ — คนละแกน: timezone = 'นาฬิกาเรือนไหน' · cutOff = 'ขีดเส้นวันตรงไหนบนนาฬิกาเรือนนั้น')"),
199cutOff:M().optional().describe("เวลาตัดรอบวัน/กะ (Firestore Timestamp/Date · initialShop.js:20 · CutOffScreen)").meta({initial:"__DATE_2011__"}),cancelBillWithReverse:U().optional().describe("ยกเลิกบิล+คืนสต๊อก (initialShop.js:396 · BillHistory:399→/bom/main/reverse)").meta({initial:!1}),autoCheckout:U().optional().describe("ปิดบิล invoice อัตโนมัติ ต้องมี thaiQr (initialShop.js:401 · AutoCheckoutScreen:476)").meta({initial:!1}),multiLanguage:T(M()).optional().describe("รายการภาษา [{id,brev,name}] (initialShop.js:375-377 · tier prem · row shape ไม่ปิด)").meta({initial:[]}),multiLanguageEnable:U().optional().describe("เปิดระบบหลายภาษา gate nameLanguage (initialShop.js:378 · tier prem)").meta({initial:!1}),defaultLanguage:B().optional().describe("ภาษาเริ่มต้นร้าน (เช่นบัญชีลาว) — ordering resolveLanguage.js:27 ชนะ i18n เสมอ (initialShop.js:342)").meta({initial:""}),kitchenLanguage:B().optional().describe("ภาษาที่ 2 บนใบครัว = **ค่าตั้งต้นของร้าน** (จอ MultiLanguageScreen 'ภาษาใบครัว' · ภาษาเดียวทั้งร้าน · DEV-0457) · รายสถานี override ที่ smartKitchen[].printLang (DEV-1326 · ไม่มี printLang = derive จากค่านี้ผ่าน @scanfood/logic resolvePrintLang: ตั้ง = 2 ภาษา slot2 เป็นค่านี้ · ''/ไม่ตั้ง = 1 ภาษา)"),follower:K({status:U().optional().describe("เปิดระบบผู้ติดตาม/referral (initialShop.js:234)"),link:B().optional().describe("ลิงก์ referral (initialShop.js:235)")}).passthrough().optional().describe("ระบบผู้ติดตาม/referral (initialShop.js:233-236 · FollowerScreen · franchise right 'follow')").meta({initial:{status:!1,link:""}}),BOMCategory:T(M()).optional().describe("หมวดวัตถุดิบ BOM tree {id,level,value[]} (initialShop.js:118 · tier prem · row shape ไม่ปิด)").meta({initial:[]}),happyHour:we(()=>voe).optional().describe("ช่วงเวลา happy hour ร้าน (initialShop.js:343-348 · tier prem · คู่ Product.happyHour)").meta({initial:{status:!1,imageId:"",startTime:"__NEW_DATE__",endTime:"__NEW_DATE__"}}),POSs:T(M()).optional().describe("เครื่องขาย [{id,name,uniqueId,drawer,shiftId,...}] system (initialShop.js:9 · NewShopScreen · till identity)").meta({initial:[]}),tableControl:U().optional().describe("ควบคุมเปิด-ปิดโต๊ะ (initialShop.js:358 · tier prem · OrderList:288)").meta({initial:!1}),timerEnable:U().optional().describe("แถบจับเวลาออเดอร์ต่อโต๊ะ (initialShop.js:359 · tier prem)").meta({initial:!1}),bonusEnable:U().optional().describe("ระบบโบนัส/โปรหน้าสั่ง คู่ bonusId (initialShop.js:360)").meta({initial:!1}),bonusId:B().optional().describe("promotion doc id ของโบนัส (initialShop.js:361)").meta({initial:""}),bomEnable:U().optional().describe("เปิดโหมดสูตรวัตถุดิบ BOM (initialShop.js:371 · tier prem · gate Product.BOM/cost · CheckOut:74)").meta({initial:!1}),sopEnable:U().optional().describe("SOP วิธีทำอาหารรายเมนู เปิดใช้ไหม — default ปิด · สวิตช์อิสระจาก bomEnable (BomEnableScreen การ์ดที่ 4 · DEV-1303)").meta({initial:!1}),procurementEnable:U().optional().describe("เปิดระบบจัดซื้อ (ตั้งครั้งเดียว · เปิด=ซ่อนรับเข้าตรง รับทาง GR ทางเดียว+โชว์เมนูจัดซื้อ · ปิด=ซ่อนเมนูจัดซื้อ · ซ่อนที่จอชั้นเดียว server ยังรับ bomInbound กันแอปเà¸
199à¹ˆà¸² — DEV-1165)").meta({initial:!1}),bomCountApplyAdjust:U().optional().describe("นับสต๊อกแล้วปรับยอดตามผลนับ (ตั้งครั้งเดียว · default ปิด=นับบันทึกเฉยๆ · เปิด=server ปรับ stock=ผลนับในจังหวะเดียวกับบันทึกใบนับ · ต้นทุน/หน่วยคงเดิม Pack เคาะ ④=2 — DEV-1166)").meta({initial:!1}),stockAutoOut:U().optional().describe("สต๊อกสินค้าหมด → ปิดขายอัตโนมัติ (server ตั้ง Product.status='out' + ธง statusAutoOut · absent=ปิด=ไม่แตะ status ให้ร้านกดเอง — DEV-1300)").meta({initial:!1}),barcodeEnable:U().optional().describe("เปิดช่อง barcode ในเมนู (initialShop.js:372 · BarcodeScreen)").meta({initial:!1}),boxEnable:U().optional().describe("เปิดเซตกล่อง Product.boxs (initialShop.js:373 · tier prem · pair menuBox)").meta({initial:!1}),boxPattern:B().optional().describe("รูปแบบ box: none/all/onlyOption (initialShop.js:374 · default 'none')").meta({initial:"none"}),skuEnable:U().optional().describe("เปิดช่อง SKU ในเมนู (initialShop.js:399)").meta({initial:!1}),multiZone:U().optional().describe("เปิดราคาตามโซน Product.zonePrice+shop.zone (initialShop.js:393 · tier prem · TakeOrder:537)").meta({initial:!1}),tip:U().optional().describe("เปิดระบบทิป Product.tipStatus (initialShop.js:350 · tier prem)").meta({initial:!1}),village:U().optional().describe("โหมดหมู่บ้าน storeSize=20 system (initialShop.js:311 · NewShopScreen)").meta({initial:!1}),smartRequest:T(M()).optional().describe("ปุ่มเรียกพนักงาน/ขอของ row มี nameLanguage (initialShop.js:52-85 · Modal_Request · pair smartTask · imageId=URL string)").meta({initial:[{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B8%9E%E0%B8%99%E0%B8%B1%E0%B8%81%E0%B8%87%E0%B8%B2%E0%B8%99.webp?alt=media&token=c03e2174-3ff5-4ba6-adb3-69c40c7f4587",name:"เรียกพนักงาน",detailStatus:!1,placeholder:"",status:!0,id:18},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B8%8A%E0%B8%B3%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%87%E0%B8%B4%E0%B8%99.webp?alt=media&token=809fd00e-cbe8-4158-be0e-ae69cd6acf3a",name:"ชำระเงิน",detailStatus:!1,placeholder:"",status:!0,id:28},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B8%82%E0%B8%AD%E0%B8%AD%E0%B8%B8%E0%B8%9B%E0%B8%81%E0%B8%A3%E0%B8%93%E0%B9%8C.webp?alt=media&token=e1ec1313-6f22-4003-a9c0-c7f2587306ec",name:"ขอเปลี่ยน/เพิ่มอุปกรณ์",detailStatus:!1,placeholder:"",status:!0,id:38},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B9%80%E0%B8%95%E0%B8%B4%E0%B8%A1%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%94%E0%B8%B7%E0%B9%88%E0%B8%A1.webp?alt=media&token=a3649f1e-0b73-4f88-807b-cbf7e1c7eebb",name:"เติมเครื่องดื่ม",detailStatus:!1,placeholder:"",status:!0,id:48}]}),prankBlocklist:T(M()).optional().describe("บัญชีดำ fingerprint อุปกรณ์กันสั่งแกล้ง per-shop [{fingerprint,...}] (OrderListScreen.js:347 เพิ่ม · OrderGuardScreen.js:101-103 ปลด · server createOrder เช็ค)").meta({initial:[]}),requireOpenTable:U().optional().describe("บังคับเปิดโต๊ะก่อนลูกค้าสั่งได้ (OrderGuardScreen.js:82 writer · default false = สั่งได้เลย)").meta({initial:!1}),selfOrderingEnable:U().optional().describe("เปิดให้ลูกค้าสั่ง+จ่ายเองบนเครื่องร้าน (SelfOrderingEnableScreen.js:109 writer · HomeScreen.js:75 ปลดสิทธิ์ selfOrdering · undefined = ปิด)").meta({initial:!1}),selfOrderingLanguage:U().optional().describe("ให้ลูกค้ากดเปลี่ยนภาษาเองบนจอสั่งอาหาร (SelfOrderingEnableScreen.js:111 writer — ปิด selfOrdering = บังคับ false · SelfOrderingScreen.js:698 ซ่อนปุ่มธงชาติ)").meta({initial:!1}),selfOrderingPayment:T(B()).optional().describe("providerId ของช่องทางชำระที่ร้านติ๊กให้จอสั่งอาหารเอง (DEV-0872 · SelfOrderingEnableScreen.js:287 writer ผ่าน sanitizeSelfOrderingPayment — ตัดเจ้าที่ร้านยังไม่ configured ทิ้ง) — ปิด selfOrdering = บังคับ [] เหตุผลเดียวกับ selfOrderingLanguage (ไม่ทิ้งช่องทางค้างให้ขัดกัน) · providerId เป็น string เสมอ (kbank-qr · ntt-edc · ntt-h2h · beam-bolt) ≠ paymentDisplayOrder ที่ปนเลข legacy").meta({initial:[]}),selfOrderingReceipt:Ge(["none","print"]).optional().describe("ใบเสร็จหลังลูกค้าจ่ายเงินเสร็จที่จอสั่งอาหารเอง — none=ไม่ปริ้น · print=ปริ้นใบเสร็จ (มีเลขคิวที่ใช้ร่วมกับระบบคิวทั้งแอป) (DEV-0872 · SelfOrderingEnableScreen.js writer) — ปิด selfOrdering = บังคับกลับ 'none' เหตุผลเดียวกับ selfOrderingLanguage/selfOrderingPayment (ไม่ทิ้งค่าค้างให้ขัดกัน) · ร้านเก่าไม่มี field = '
199none' = ไม่ปริ้น (พฤติกรรมเดิมเป๊ะ)").meta({initial:"none"}),selfOrderingOrder:Ge(["none","kds","kds-print"]).optional().describe("ออเดอร์ที่เกิดหลังลูกค้าจ่ายเงินเสร็จที่จอสั่งอาหารเอง — none=ไม่สร้างออเดอร์ · kds=สร้างลงแท็บครัว (KDS) อย่างเดียว · kds-print=สร้างลงแท็บครัว + ปริ้นใบออเดอร์ที่ครัวด้วย (DEV-0872 · SelfOrderingEnableScreen.js writer) — ปิด selfOrdering = บังคับกลับ 'kds-print' (ค่าตั้งต้น · ไม่ทิ้งค่าค้างให้ขัดกัน) · ⚠️ ร้านเก่าไม่มี field = 'kds-print' ไม่ใช่ 'none' — เพราะ 'ครัวต้องได้ออเดอร์' คือพฤติกรรมที่ร้านคาดหวังโดยปริยาย ปล่อยเป็น none = ครัวไม่เห็นออเดอร์เงียบๆ").meta({initial:"kds-print"}),selfOrderingLogo:B().optional().describe("โลโก้บน header จอสั่งเอง (kiosk) — URL Firebase Storage `selfordering/<shopId>/logo/` · '' หรือไม่มี field = ไม่มีโลโก้ ⇒ kiosk ใช้ fallback วงกลมแดง+ตัวอักษรแรกของชื่อร้าน (SelfOrderingEnableScreen.js การ์ด 'หน้าตาจอสั่งเอง' writer · SelfOrderingScreen.js renderHeader reader) · ปิด selfOrdering = คงค่าไว้ (รูปไม่ใช่พฤติกรรมที่ขัดกันเหมือน payment/language) · DEV-1237"),selfOrderingCover:B().optional().describe("รูป cover แนวนอน 2:1 เต็มกว้าง header จอสั่งเอง (kiosk) — URL Firebase Storage `selfordering/<shopId>/cover/` · '' หรือไม่มี field = ไม่มี cover ⇒ kiosk ใช้พื้นไล่สีแดง Scanfood แทนรูป (SelfOrderingEnableScreen.js writer · SelfOrderingScreen.js renderHeader reader) · คนละ field กับ shop.banner (แบนเนอร์ของ ordering web) โดยเจตนา · DEV-1237"),orderAlertEnable:U().optional().describe("เปิดแจ้งเตือนออเดอร์ pickup/delivery แบบ alarm — modal เด้งทับทุกจอ + เสียงวนดังสุดจนกดรับออเดอร์/รับทราบ (OrderAlertEnableScreen.js writer · useOrderAlert.js reader · undefined = ปิด · DEV-1135)").meta({initial:!1}),floorPlanEnable:U().optional().describe("เปิดฟีเจอร์ผังร้าน — เห็นโต๊ะเป็นผังแทนลิสต์ (AdvanceScreen Z17 → FloorPlanEnableScreen.js writer · QrcodeOrdering reader · undefined = ปิด → จอใช้ลิสต์โต๊ะเดิม · DEV-0055)").meta({initial:!1}),floorPlan:T0(B(),K({decor:T(K({id:B().describe("id ของชิ้นตกแต่ง (ไม่ซ้ำในโซนเดียวกัน)"),type:B().describe("ชนิดของตกแต่ง — แคตตาล็อกอยู่ฝั่งแอป (scanfood/src/component/FloorPlanCanvas.js DECOR_BASE · เริ่มด้วย wall/counter/plant/door/kitchen/cashier/tree/treePink) · เปลี่ยนจาก enum→string 2026-08-25 (Pack ขอเพิ่มชนิด — เพิ่มชนิดใหม่ฝั่งแอปได้โดยไม่ต้อง deploy server · ชนิดที่แอปไม่รู้จัก = render กล่อง fallback)"),x:Y().describe("พิกัดแนวนอน (dp ที่ scale 1 · มุมซ้ายบน)"),y:Y().describe("พิกัดแนวตั้ง (dp ที่ scale 1 · มุมซ้ายบน)"),w:Y().describe("ความกว้าง (dp ที่ scale 1)"),h:Y().describe("ความสูง (dp ที่ scale 1)"),r:Y().optional().describe("องศาหมุน (0/90/180/270) — ไม่มี = 0")})).optional().describe("ของตกแต่งบนผังของโซนนี้ — ไม่มี/ว่าง = ผังโล่ง มีแต่โต๊ะ")}).passthrough()).optional().describe("ของตกแต่งผังร้านแยกตามโซน — key = zoneId (ผูกกับ shop.zone เดียวกับ smartTable[].zoneId) · FloorPlanEditorScreen.js writer ผ่าน shop update · QrcodeOrdering reader · ไม่มี = ยังไม่เคยวางของตกแต่ง (โต๊ะยังวางได้ — ตำแหน่งโต๊ะอยู่ที่ smartTable[].x/y ไม่ใช่ที่นี่) · DEV-0055"),flowAccountEnable:U().optional().describe("เปิดส่งเอกสารเข้าà¹
199‚ปรแกรมบัญชี FlowAccount — undefined = ปิด (AdvanceScreen Z19 → FlowAccountEnableScreen.js writer · claude/flowaccount reader) · เปิดได้ต่อเมื่อเชื่อมต่อสำเร็จแล้ว (มี credential ใน meta/flowAccount) · DEV-1280").meta({initial:!1}),flowAccountMode:Ge(["perBill","dailySummary"]).optional().describe("ส่งแบบไหน — perBill=ทุกบิลที่ปิด (ลูกค้าขอใบกำกับ→tax-invoices docType 7 · ไม่ขอ→cash-invoices docType 35) · dailySummary=สรุป 1 ใบต่อวันธุรกิจ (cash-invoices) · ร้านเลือกเอง (Pack เคาะ 2026-08-31) · ไม่มี field = perBill · DEV-1280").meta({initial:"perBill"}),flowAccountExpense:U().optional().describe("ส่งใบรับวัตถุดิบ (GR) เข้าเป็นเอกสารค่าใช้จ่าย FlowAccount ด้วยไหม (docType 13) — optional ให้ร้านเลือกเอง (Pack เคาะ 2026-08-31) · undefined = ไม่ส่ง · ⚠️ ครอบเฉพาะเส้น bom/inboundFromGR (มีผู้ขาย+VAT+เลขเอกสาร) — เส้นซื้อตรง bom/inbound ออกเอกสารไม่ได้ ไม่มีข้อมูลพอ · DEV-1280").meta({initial:!1}),flowAccountItemType:Ge(["1","3","5"]).optional().describe("ประเภทสินค้าที่ส่งไปกับรายการในเอกสาร (FlowAccount แนะนำเองในผลตรวจ 2026-06-29) — 1=บริการ ลงบัญชีเป็นรายได้จากการให้บริการ · 3=สินค้าไม่นับสต๊อก ลงเป็นรายได้จากการขายสินค้า · 5=สินค้านับสต๊อก (ต้องสร้างสินค้าใน FlowAccount ก่อน ไม่งั้นเอกสารตก) · ไม่มี field = '3' · DEV-1280").meta({initial:"3"})}).passthrough(),bU=K({name:B().optional().describe("ชื่อนิติบุคคล/ร้าน บนใบกำกับ (initialTax.js)").meta({initial:""}),taxNumber:B().optional().describe("เลขประจำตัวผู้เสียภาษีของร้าน บนใบกำกับภาษีขาย (initialTax.js · writer TaxInvoiceScreen.js:96) — ≠ root Shop.taxId (เลขบนเอกสารจัดซื้อ PO/PR · writer RestaurantProfileScreen.js:153) · ไม่มี derive/sync ระหว่างกัน").meta({initial:""}),address:B().optional().describe("ที่อยู่ออกใบกำกับ (initialTax.js)").meta({initial:""}),branch:B().optional().describe("สาขา (สนญ./สาขา) (initialTax.js)").meta({initial:""}),tel:B().optional().describe("เบอร์โทรบนใบกำกับ (initialTax.js)").meta({initial:""}),fax:B().optional().describe("แฟกซ์ (initialTax.js)").meta({initial:""}),status:U().optional().describe("เปิดออกใบกำกับภาษีไหม (initialTax.js · default false)").meta({initial:!1}),headquarter:U().optional().describe("เป็นสำนักงานใหญ่ไหม (initialTax.js · default true)").meta({initial:!0})}).passthrough(),loe=K({type:B().optional().describe("ชนิดสิทธิ์ (match groups map ใน function.js · id→type) — confirmed: premium·member·qrcode·staff·crm·language (initialVip.js) · z.string (value set ยังไม่ปิด)"),expire:M().optional().describe("วันหมดอายุสิทธิ์ (Firestore Timestamp/Date) — gate เช็ค expire≥today (initialVip.js)")}).passthrough(),foe=K({promptpayId:B().optional().describe("เลขพร้อมเพย์รับเงิน (initialShop.js:142)"),promptpayStatus:U().optional().describe("เปิด QR พร้อมเพย์บนหน้า checkout (initialShop.js:143)"),textBottom:B().optional().describe("ข้อความท้ายหน้า checkout (initialShop.js:144)"),textBottomStatus:U().optional().describe("เปิด/ปิดข้อความท้าย (initialShop.js:145)"),imageId:B().optional().describe("รูปแนบหน้า checkout (URL · initialShop.js:147)"),imageStatus:U().optional().describe("เปิด/ปิดแสดงรูปแนบ (initialShop.js:146)"),logo:B().optional().describe("โลโก้ร้านหน้า checkout (URL · initialShop.js:149)"),logoStatus:U().optional().describe("เปิด/ปิดแสดงโลโก้ (initialShop.js:148)"),contentHeader:B().optional().describe("ข้อความหัวหน้า checkout (initialShop.js:151)"),contentHeaderStatus:U().optional().describe("เปิด/ปิดข้อความหัว (initialShop.js:150)"),addOnEnable:U().optional().describe("เปิดพิมพ์บรรทัด addOn (ของพิเศษ free-text) ใต้ชื่อสินค้าบนใบเสร็จ/ใบกำกับ · absent=false (claude/shop/receiptLayoutSet.js:42,63,137)"),billRequestStatus:U().optional().describe("โชว์ป้าย 'เรียกเก็บเงินแล้ว HH:mm' บนการ์ดโต๊ะ (QrcodeOrdering) เมื่อพนักงานกดใช้ใบเรียกเก็บเงิน · absent=false · writer SpecialCheckoutScreen (claude/shop/receiptLayoutSet.js)")}).passthrough(),doe=K({textBottom:B().optional().describe("ข้อความท้ายหน้า QR ลูกค้า self-order (initialShop.js:154)"),textBottomStatus:U().optional().describe("เปิด/ปิดข้อความท้าย QR (initialShop.js:155)")}).passthrough(),bh=K({name:B().optional().describe("ชื่อ chip ที่ลูกค้าเห็น (initialShop.js:124 เมนูเด็ด/แนะนำ/โปรโมชั่น)"),status:U().optional().describe("เปิด/ปิด chip กลุ่มนี้บนจอสั่ง (initialShop.js:125)"),value:T(B()).optional().describe("product id ในกลุ่ม + ลำดับโชว์ (drag sort · initialShop.js:126)"),nameLanguage:re([T0(B(),B()),T(M())]).optional().describe("ชื่อ chip แปลรายภาษา (multiLanguage=premium) — 2 shape ปนกันจริงในร้านเดียว: {lang:name} หลัง user กดแปล (scanfood MultiLanguage.js:31 spread ลง object · ordering ProductDisplay.js:201 อ่าน nameLanguage[brev]) หรือ array legacy/[] ตอนยังไม่แปล (initial ของจอ · initialShop.js:127) · กระจกของ arg type langMap (_toolDispatchCore.js:445) + reader railNameLanguage (smartRailConfig.js:25) — DEV-0773 คลาสเดียวกับ SmartRailConfigResponse.nameLanguage (DEV-0363)")}).passthrough(),Pl=K({id:B().optional().describe("ชนิดวิธีจ่าย: payLater·promptpay·bank·manee·cash (initialShop.js:268-291) — ใช้ร่วม delivery/pickup/scanAndPay"),status:U().optional().describe("เปิด/ปิดวิธีจ่ายนี้ (initialShop.js:269)"),name:B().optional().describe("ชื่อแสดงวิธีจ่าย (initialShop.js:270)"),promptpayId:B().optional().describe("เลขพร้อมเพย์ (id=promptpay · initialShop.js:276)"),promptpayName:B().optional().describe("ชื่อบัญชีพร้อมเพย์ (initialShop.js:277)"),accountName:B().optional().describe("ชื่อบัญชี (id=bank · initialShop.js:283)"),bankName:B().optional().describe("ธนาคาร (id=bank · initialShop.js:284)"),bankNumber:B().optional().describe("🔒 sensitive — เลขบัญชี (id=bank · initialShop.js:285) · whitelist ไม่โชว์เต็ม"),imageId:B().optional().describe("รูป QR (id=manee เช่น แม่มณี · initialShop.js:291)")}).passthrough(),$C=K({id:B().optional().describe("รหัสฟิลด์ name/address/tel… (initialShop.js:251) — ใช้ร่วม delivery/pickup"),name:B().optional().describe("ป้ายที่ลูกค้าเห็น (initialShop.js:252)"),showOnReceipt:U().optional().describe("แสดงบนใบเสร็จไหม (initialShop.js:253)")}).passthrough(),poe=K({status:U().optional().describe("เปิดคิดค่าส่งไหม (initialShop.js:295)"),pattern:B().optional().describe("🪦 dead — โหมด step/ตามระยะทาง ไม่เคยถูกสร้าง (ไม่มี UI/writer/reader ที่ไหนใช้) · คีย์ค้างในเอกสารเà¸
199à¹ˆà¸²à¹€à¸—่านั้น จึงคง declaration ไว้ให้ validate ผ่าน · ❌ อย่า seed เพิ่ม"),cost:re([Y(),B()]).optional().describe("💰 ค่าส่งเหมา flat (initialShop.js:297 · form-string · CheckOutInstance:382)"),stepCost:re([Y(),B()]).optional().describe("🪦 dead — ค่าส่งตามระยะทาง ไม่เคยถูกสร้าง (ไม่มีใครเขียน/อ่านค่านี้) · คีย์ค้างในเอกสารเก่าเท่านั้น จึงคง declaration ไว้ให้ validate ผ่าน · ❌ อย่า seed เพิ่ม"),latitude:re([Y(),B()]).optional().describe("พิกัดร้าน lat (initialShop.js:299)"),longitude:re([Y(),B()]).optional().describe("พิกัดร้าน long (initialShop.js:300)"),freeStatus:U().optional().describe("มีส่งฟรีไหม (initialShop.js:301)"),freeTarget:re([Y(),B()]).optional().describe("💰 ยอดซื้อถึง=ส่งฟรี (net≥freeTarget→fee=0 · initialShop.js:302)")}).passthrough(),HC=K({userId:B().optional().describe("LINE user ID ของ admin/เจ้าของร้าน (initialLinePickup.js)").meta({initial:""}),channelAccessToken:B().optional().describe("🔒 LINE OA channel access token (credential · initialLinePickup.js) · whitelist ไม่โชว์เต็ม · agent ไม่กรอกเอง").meta({initial:""}),liffUrl:B().optional().describe("URL ของ LIFF app pickup/delivery (initialLinePickup.js)").meta({initial:""}),requireAddFriend:U().optional().describe("บังคับ add friend OA ก่อนใช้ไหม (default false) — cross-source: DeliveryLineScreen.js:67 / PickupLineScreen.js:32 (ไม่อยู่ใน initialLinePickup)")}).passthrough(),hoe=K({printerType:B().optional().describe("bluetooth / usb / wifi (initialPrintSticker.js · default 'bluetooth')").meta({initial:"bluetooth"}),printerSize:B().optional().describe('ความกว้าง mm เช่น "30" (initialPrintSticker.js)').meta({initial:"30"}),printerBluetooth:K({}).passthrough().optional().describe("{android:{address,name}, ios:{address,name}} (initialPrintSticker.js)").meta({initial:{android:{address:"",name:""},ios:{address:"",name:""}}}),printerEthernet:B().optional().describe("IP/host สำหรับ wifi sticker (initialPrintSticker.js)").meta({initial:""}),printerUsb:K({}).passthrough().optional().describe("{vendor_id, product_id, device_name} (initialPrintSticker.js)").meta({initial:{vendor_id:"",product_id:"",device_name:""}})}).passthrough(),moe=Ge(["100","127","128","129","130","131","134","139","140","110","118","121","122","119","120","132","133","111","114","126","135","112","123","115","116","117","138","101","102","104","136","137","103","105","106","107","108","109","113"]).describe("RightCode สิทธิ์พนักงาน — gate เข้าถึงจอ/ฟีเจอร์ (StaffScreen menus[] path) · owner=true ข้ามเช็ค"),Ol=K({id:B().describe("entity id (productId/optionId/channelId) ที่สาขาได้สิทธิ์"),rights:T(B()).describe("รายการสิทธิ์บน entity นี้ (เช่น 'delete' · ground franchiseSlice productRights)")}).passthrough();K({id:B().optional().describe("id ของ shopType profile ใน franchise.shopTypes (franchiseSlice:7 · match กับ shop.franchiseShopType)").meta({initial:""}),name:B().optional().describe("ชื่อ profile สาขา (franchiseSlice:8)").meta({initial:""}),detail:B().optional().describe("คำอธิบาย profile (franchiseSlice:9)").meta({initial:""}),product:T(M()).optional().describe("รายการสินค้าที่ profile นี้เห็น (franchiseSlice:10)").meta({initial:[]}),category:T(M()).optional().describe("รายการหมวดที่ profile นี้เห็น (franchiseSlice:11)").meta({initial:[]}),right:T(M()).optional().describe("สิทธิ์รวมระดับ profile (franchiseSlice:12)").meta({initial:[]}),payment:T(M()).optional().describe("ช่องทางจ่ายของ profile (franchiseSlice:13)").meta({initial:[]}),categoryRights:T(we(()=>Ol)).optional().describe("สิทธิ์รายหมวด {categoryId, rights[]} (franchiseSlice:14-16)").meta({initial:[]}),categoryOwner:U().optional().describe("สาขาจัดการหมวดเองได้เต็ม (franchiseSlice:17)").meta({initial:!1}),productOwner:U().optional().describe("สาขาจัดการเมนู/สินค้าเองได้เต็ม (franchiseSlice:25 · false=ตามต้นแบบ)").meta({initial:!1}),productRights:T(we(()=>Ol)).optional().describe("สิทธิ์รายเมนู {productId, rights[]} (franchiseSlice:22 · เช่น delete)").meta({initial:[]}),optionOwner:U().optional().describe("สาขาจัดการตัวเลือก/เมนูย่อยเองได้ (franchiseSlice:21)").meta({initial:!1}),optionRights:T(we(()=>Ol)).optional().describe("สิทธิ์รายตัวเลือก {optionId, rights[]} (franchiseSlice:18)").meta({initial:[]}),channelOwner:U().optional().describe("สาขาจัดการช่องทางขายเองได้ (franchiseSlice:60)").meta({initial:!1}),channelRights:T(we(()=>Ol)).optional().describe("สิทธิ์รายช่องทาง {channelId, rights[]} (franchiseSlice:58)").meta({initial:[]}),dynamicOwner:U().optional().describe("สาขาจัดการ dynamic/ป้ายเองได้ (franchiseSlice:26)").meta({initial:!1}),dynamicContent:B().optional().describe("เนื้อหา dynamic ที่ต้นแบบกำหนด (franchiseSlice:27)").meta({initial:""}),dynamicStatus:U().optional().describe("สวิตช์เปิด/ปิดการแสดงข้อความท้ายใบ QR — ปลายทาง shop.smartQrcode.textBottomStatus (configs/initialShopType.js:19 · CentralSettingScreen.js:185)").meta({initial:!1}),receiptRights:T(B()).optional().describe("สิทธิ์แก้ใบเสร็จที่สาขาทำได้ (franchiseSlice:30)").meta({initial:[]}),receiptData:T0(B(),M()).optional().describe("ค่า default ใบเสร็จจากต้นแบบ {logo/header/qrcode/image/bottom + *Status} (franchiseSlice:31-41)").meta({initial:{logo:"",logoStatus:!1,header:"",headerStatus:!1,qrcode:"",qrcodeStatus:!1,image:"",imageStatus:!1,bottom:"",bottomStatus:!1}}),orderingRights:T(B()).optional().describe("สิทธิ์หน้าสั่งอาหารที่สาขาทำได้ (franchiseSlice:44)").meta({initial:[]}),orderingData:T0(B(),M()).optional().describe("ค่า default ordering จากต้นแบบ {repeat/follow/ads/cover + *Status} (franchiseSlice:48-56)").meta({initial:{repeatStatus:!1,follow:"",followStatus:!1,ads:"",adsStatus:!1,cover:"",coverStatus:!1}}),journeyStyle:re([Y(),B()]).optional().describe("สไตล์ journey ที่ต้นแบบกำหนด (franchiseSlice:61)").meta({initial:1}),journeyOwner:U().optional().describe("สวิตช์ owner ของ opt7 รูปแบบ journey (DEV-1211 · Pack เคาะ 2026-08-30) — เปิด = สาขากำหนด `journeyStyle` เองได้ · propagate จากส่วนกลางไม่ทับค่า shop (owner-guard `OWNER_KEYS` ที่ `claude/franchise/shopTypePropagate.js` field `journey`) · **ไม่ตั้ง/absent = ล็อกสาขา (fail-closed = ตามต้นแบบ)** · writer = server (`shopTypePropagate` · boolean validator ที่ server แล้ว)").meta({initial:!1}),takeOrder:T0(B(),M()).optional().describe("ตั้งค่ารับออเดอร์ {bottomStyle, icon[]} (franchiseSlice:62)").meta({initial:{bottomStyle:1,icon:[]}}),takeOrderOwner:U().optional().describe("สวิตช์ owner ของ opt8 รูปแบบปุ่มกดแคชเชียร์ (DEV-1211 · Pack เคาะ 2026-08-30) — เปิด = สาขากำหนด `takeOrder.bottomStyle` เองได้ · propagate ไม่ทับ (owner-guard `OWNER_KEYS` field `takeOrder` · merge รายคีย์ที่ `shopTypePropagate`) · **ไม่ตั้ง/absent = ล็อกสาขา (fail-closed)** · writer = server").meta({initial:!1}),shortcutOwner:U().optional().describe("สวิตช์ owner ของ opt9 ปุ่มลัดแคชเชียร์สั่งอาหาร (DEV-1211 · Pack เคาะ 2026-08-30) — เปิด = สาขากำหนด `takeOrder.icon[]` เองได้ · propagate ไม่ทับ (owner-guard `OWNER_KEYS` field `shortcut` ที่ `shopTypePropagate`) · **ไม่ตั้ง/absent = ล็อกสาขา (fail-closed)** · writer = server").meta({initial:!1}),paymentMarketplace:T(M()).optional().describe("ช่องทางจ่ายที่ต้นแบบอนุญาต (franchiseSlice:63)").meta({initial:[]}),bomExcluded:T(B()).optional().describe("ทะเบียนติ๊กออกวัตถุดิบราย shopType = [rootId,…] ของที่ประเภทนี้ **ไม่ได้** (ลิสต์ของที่ถูกตัดออก ไม่ใช่ของที่ได้ · เฟส bom DEV-1211) — writer = `claude/franchise/bomSync` (granted=false เติม · true ถอน) · reader = `franchise/_bomJob`/`branch.js` ตอน fan-out/สร้างสาขาใหม่ (ตัวที่ติ๊กออก doc เกิดใน archivedBom)"),productExcluded:T(B()).optional().describe("ทะเบียนติ๊กออกเมนูราย shopType = [rootId,…] (เฟสสินค้า DEV-1211) — 🔑 **ตัวชี้ขาดโหมด membership: มีช่องนี้ (แม้ลิสต์ว่าง) = โหมดใหม่ excluded-list** (ไม่อยู่ในลิสต์ = ได้เมนูนั้น · ลิสต์ว่าง = ได้ทุกเมนู · เมนูใหม่ได้อัตโนมัติ) · ไม่มีช่อง = โหมดเก่า granted-list `productRights[]` ทุกตัวอักษร · จุดอ่านจุดเดียว = `franchise/_productFanout#isMemberOfShopType`"),productRightsV2:K({allowAdd:U().optional().describe("สาขาเพิ่มเมนูเองได้"),allowEditCentral:U().optional().describe("ร่มแก้เมนูส่วนกลาง (doc มี rootId) — identity 8 ช่องล็อกตายเสมอ"),allowEditPrice:U().optional().describe("สาขาแก้ราคาขายเมนูส่วนกลางได้"),allowDelete:U().optional().describe("สาขาลบเมนูส่วนกลางได้ (= ย้ายเข้า archivedProduct · กู้ได้)"),allowAddOption:U().optional().describe("สาขาเพิ่ม/แก้ตัวเลือกที่ผูกกับเมนูได้"),allowReorder:U().optional().describe("สาขาลากจัดลำดับเมนูเองได้ (default ปิด = เรียงตาม master)")}).passthrough().optional().describe("สิทธิ์เมนู 6 สวิตช์ราย shopType (DEV-1211 เฟสสินค้า · ตั้งชื่อ V2 กันชนกับ `productRights[]` granted-list เดิมใน entry เดียวกัน) — propagate ลง `shop.productRights` ผ่าน `claude/franchise/shopTypePropagate` · enforcement = `claude/_shared/productRights.js` · absent = อนุญาต (fail-OPEN)"),optionRightsV2:K({allowEditPrice:U().optional().describe("สาขาตั้งราคาขาย choice ของตัวเลือกกลางเองได้ (เปิด = master อัปเดต/กระจายไม่ทับราคาสาขา · ปิด = ราคาตาม master ทุก channel)")}).passthrough().optional().describe("สิทธิ์เมนูย่อย/ตัวเลือกราย shopType — ราคาขาย choice = สิทธิ์เหมาตัวเดียว `{allowEditPrice}` (DEV-1211 เฟสเมนูย่อย รอบ 2 · Pack เคาะ 2026-08-29 · **เหมา = supersede ล็อกราคาราย channel เดิม** `channelRights[].rights includes 'price'`) — **absent/ไม่ใช่ boolean = อนุญาต (fail-OPEN)** · writer = `claude/franchise/shopTypePropagate` (FIELD_WL) · enforcement + whitelist รูป = `claude/_shared/optionRightsV2.js` (`OPTION_RIGHT_KEYS` · คีย์แปลกปลอม/ไม่ใช่ boolean = ปัด) · ตั้งชื่อ V2 กันชนกับ `optionRights[]` granted-list เดิม")}).passthrough();var goe=K({email:B().optional().describe("อีเมลพนักงาน (key à¹
199‚ยงโปรไฟล์ · initialShop.js:24)"),name:B().optional().describe("ชื่อพนักงาน (initialShop.js:25)"),imageId:B().optional().describe("รูปโปรไฟล์พนักงาน (URL) — สำเนาจาก profile/{id}.imageId · '' = ไม่มีรูป (claude/staff/humanResourceSet.js:94 · re-merge StaffScreen.js:273-276)"),notification:U().optional().describe("รับแจ้งเตือนไหม (initialShop.js:26 · default true)"),position:T(B()).optional().describe('รหัสตำแหน่ง/preset · รวม "001"=เจ้าของ สิทธิ์เต็ม (initialShop.js:27 · StaffScreen positions 0-5)'),rights:T(we(()=>moe)).optional().describe("RightCode ที่พนักงานคนนี้มี (StaffScreen menus[] · gate เข้าถึงจอ/ฟีเจอร์)").meta({initial:[]}),owner:U().optional().describe("เจ้าของ/ผู้จัดการ — true=สิทธิ์เต็มข้ามเช็ค rights (StaffScreen)").meta({initial:!1}),status:B().optional().describe("active/... (initialShop.js:28)"),tel:B().optional().describe("เบอร์โทร · +runtime id (initialShop.js:29)"),password:re([B(),Y()]).optional().describe("🔒 รหัสเข้างานพนักงาน (PIN ≤6) — 3 ทรง: '' | h1:<64hex> hash-at-rest | PIN ดิบ legacy · legacy บาง doc เป็น number · ไม่ออกทาง /claude แล้ว (publicStaffRows ตัด → ธง hasPin) (StaffScreen.js:526 · claude/shop/update.js:271)")}).passthrough(),jC=K({status:U().optional().describe("เปิด/ปิดแสดง (initialShop.js:238 advertising / :308 banner)"),imageId:B().optional().describe("รูป URL (initialShop.js:239/309) — ใช้ร่วม advertising/banner")}).passthrough(),yoe=K({status:U().optional().describe("เปิดเมนูยอดนิยม (initialShop.js:363)"),imageStatus:U().optional().describe("แสดงรูปไหม (initialShop.js:364)"),imageId:B().optional().describe("รูป URL (initialShop.js:365)"),header:B().optional().describe("หัวข้อ (initialShop.js:366 · default 'เมนูยอดนิยม')"),product:T(K({id:B().describe("product id ที่โชว์ในชุดยอดนิยม"),name:B().describe("ชื่อเมนู snapshot ตอนเพิ่ม (HotScreen.js:151 — ไม่ sync ตามชื่อสินค้าจริง)")}).passthrough()).optional().describe("เมนูในชุดยอดนิยม [{id,name}] (initialShop.js:367 · default [])"),backgroundColor:B().optional().describe("สีพื้น hex (initialShop.js:368 · default '#FA8D94')")}).passthrough(),voe=K({status:U().optional().describe("เปิด happy hour ร้าน (initialShop.js:344)"),imageId:B().optional().describe("รูปโปรโมต happy hour (initialShop.js:345)"),startTime:M().optional().describe("เวลาเริ่ม (Firestore Timestamp/Date · initialShop.js:346 new Date())"),endTime:M().optional().describe("เวลาจบ (Firestore Timestamp/Date · initialShop.js:347 new Date())")}).passthrough(),Boe=K({id:B().optional().describe("id สถานีครัว (initialKitchen.js · uuid ตอน add KitchenSettingScreen.js:185)").meta({initial:""}),name:B().optional().describe("ชื่อสถานี (initialKitchen.js)").meta({initial:""}),category:T(B()).optional().describe("หมวดที่ route มาครัวนี้ (initialKitchen.js)").meta({initial:[]}),printer:T(M()).optional().describe("ปริ้นเตอร์ หลายตัวได้ (initialKitchen.js · row shape ไม่ปิด → z.any[])").meta({initial:[]}),boxProduct:T(B()).optional().describe("product id เฉพาะที่ route มา (initialKitchen.js)").meta({initial:[]}),ipAddress:B().optional().describe("IP ปริ้นเตอร์ (initialKitchen.js)").meta({initial:""}),pattern:T(M()).optional().describe("รูปแบบปริ้น ['all']/... (initial
199Kitchen.js · default ['all'])").meta({initial:["all"]}),mode:B().optional().describe("text/graphic (initialKitchen.js · default 'text')").meta({initial:"text"}),transport:B().optional().describe("ชนิดเครื่องครัว: 'lan'(ESC/POS sidecar · default) | 'star' | 'star_lan' | 'usb' | 'sunmi' | 'bluetooth' | 'main'(เครื่องหลักร้าน · ร้านเครื่องเดียว) — non-lan = ส่งกลับ RN พิมพ์ native ผ่าน bridge (multi-transport §8 · KitchenSettingScreen · preparePrintJobsFromOrder route driverId/targetKey)").meta({initial:"lan"}),size:K({textV2:U().optional().describe("true = size.id ขับขนาดโหมดตัวอักษรด้วย (บันทึกด้วยแอปรุ่นใหม่ · DEV-1326) · ไม่มี/ไม่ใช่ boolean true = ใบตัวอักษร S เสมอแม้ id เป็น M/L/XL (census 74 ร้านไม่พิมพ์ใหญ่ขึ้นเอง)")}).passthrough().optional().describe("{id, value:{table,time,menu,fontFamily}, textV2?} ขนาด/ฟอนต์บิล (initialKitchen.js) · id S/M/L/XL ช่องเดียวใช้ทั้ง 2 โหมด (DEV-1326: รูปภาพอ่าน value · ตัวอักษรอ่าน id เมื่อ textV2)").meta({initial:{id:"S",value:{table:10,time:8,menu:10,fontFamily:"NotoSansThai-Regular"}}}),closeKitchen:U().optional().describe("โหมดปิดครัวตามเวลา (initialKitchen.js)").meta({initial:!1}),closeKitchenTime:M().optional().describe("เวลาปิดครัว (Firestore Timestamp/Date · initialKitchen.js · ใช้เมื่อ closeKitchen=true)").meta({initial:"__NEW_DATE__"}),closeKitchenVerified:U().optional().describe("ยืนยันเวลาปิดครัวผ่านจอ/เส้นที่มีด่านตรวจแล้ว (DEV-1341) · server ปัดออเดอร์เฉพาะสถานีที่ธงนี้ true · ค่าเก่าที่ไม่มีธง = ไม่ปัด").meta({initial:!1}),openKitchenTime:M().optional().describe("เวลาที่ครัวกลับมาเปิดรับออเดอร์ (Firestore Timestamp/Date · DEV-1346 · ใช้เมื่อ closeKitchen=true และ closeKitchenVerified=true) · มีค่า = ครัวปิดเฉพาะช่วง [closeKitchenTime, openKitchenTime) ข้ามเที่ยงคืนได้ · ไม่มี/แปลงไม่ได้/เท่ากับเวลาปิด = ถอยไปสูตรเดิมที่เทียบ shop.cutOff"),printLang:K({count:re([QC(1),QC(2)]).describe("จำนวนภาษาบนใบครัว 1|2"),slots:T(B()).min(1).max(2).describe("รหัสภาษาตามลำดับบรรทัด [หลัก, รอง?] · ยาวเท่า count · ⊂ th/en/km/lo/my/vi/zh")}).optional().describe("ภาษาบนใบครัวของสถานีนี้ {count:1|2, slots:[lang1, lang2?]} (DEV-1326 · KitchenSettingScreen ใต้แพ็กเกจ language) · ไม่มี = derive จาก Shop.kitchenLanguage (ค่าตั้งต้นของร้าน) ผ่าน @scanfood/logic resolvePrintLang")}).passthrough(),xU=K({id:B().optional().describe("product/menu id (function.js:1319)"),rootId:B().optional().describe("root/parent product id (variant link) (function.js:1313)"),name:B().optional().describe("ชื่อเมนู — enrich จาก defaultProducts (function.js:1323)"),qty:re([Y(),B()]).optional().describe("จำนวน — form-numeric (function.js:1321)"),totalPrice:re([Y(),B()]).optional().describe("ยอดรวมรายการ net×qty (function.js:1322)"),imageId:B().optional().describe("url รูปเมนู (function.js:1328)"),addOn:re([B(),Y()]).optional().describe("free-text พิเศษ/add-on ต่อรายการ (function.js:1317)"),category:T(B()).optional().describe("category ids — ใช้ close-kitchen filter (function.js:1318)"),option:T(K({choice:T(K({choiceId:B().optional().describe("id ตัวเลือก"),choiceName:B().optional().describe("ชื่อตัวเลือก"),chose:U().optional().describe("true = ถูกเลือก (leanProduct filter chose===true · function.js:1320)"),price:re([Y(),B()]).optional().describe("ราคาตัวเลือก (อาจไม่มี)")}).passthrough()).optional()}).passthrough()).optional().describe("row {choice:[{choiceId,choiceName,chose,price?}]} · filter chose===true (function.js:1320)"),tempId:B().optional().describe("per-line uuid — server update รายเมนูด้วยตัวนี้ ไม่ใช่ id! (function.js:1324 uuid.v4 · finishOrder.js:43/53)"),process:B().optional().describe("per-item kitchen status request/ordered/cooked/served/paid/cancel (function.js:1326)"),timeProcess:T(K({id:B().optional().describe("1=req 2=ordered 3=cooked 4=served"),timestamp:M().optional().describe("Date/Timestamp ของการเปลี่ยน status"),person:B().optional().describe("ใครเปลี่ยน status")}).passthrough()).optional().describe("log เปลี่ยน status · NOT จาก leanProduct — append โดย caller (PaymentScreen:299) + server (finishOrder:29/47)"),productStaffs:T(M()).optional().describe("staff ที่ทำรายการนี้ — leanProduct init [] (function.js:1327)"),boxStatus:U().optional().describe("เป็น combo/box (set-menu) ไหม (function.js:1336)"),boxCart:T(K({id:B().optional().describe("product id ของลูก box"),name:B().optional(),qty:re([Y(),B()]).optional(),option:T(M()).optional().describe("option ของลูก — leanProduct filter chose===true (function.js:1335)"),addOn:re([B(),Y()]).optional(),process:B().optional().describe("leanProduct force 'ordered' (function.js:1335)"),tempId:B().optional().describe("per-box-line key (finishOrder.js:56)")}).passthrough()).optional().describe("ลูกของ box/combo · row มี process+tempId เอง (function.js:1335 · finishOrder.js:56-57)"),boxSplit:M().optional().describe("box split/portion config — varies (function.js:1338)"),BOM:re([T(M()),T0(B(),M())]).optional().describe("recipe/ingredient deduction link (function.js:1314)"),channelBOM:we(()=>
199np).optional().describe("C5 packaging ราย channel เก็บลง order.product → order-reopen ตัด stock (function.js:1316 · conditional spread)"),priceBySize:U().optional().describe("ราคาตามไซส์ (function.js:1330)"),stockCount:re([Y(),U()]).optional().describe("stock tracking (function.js:1329)"),stockSet:M().optional().describe("stock combo/set — varies (function.js:1331)"),set:M().optional().describe("set-menu def — varies (function.js:1333)"),setStatus:U().optional().describe("เป็นส่วนของ set (function.js:1334)"),pointStatus:U().optional().describe("ได้แต้ม loyalty (function.js:1332)"),tipStatus:U().optional().describe("เป็น tip item (function.js:1337)"),vat:U().optional().describe("รายการนี้ vatable (default false · destructure vat=false function.js:1310/1339)")}).passthrough(),woe=K({id:B().optional().describe("Firestore doc id = clientOrderId เมื่อมี / auto-id เมื่อไม่มี (createOrder.js:182/186/193)"),clientOrderId:B().optional().describe("idempotency key (uuid) — server ใช้เป็น doc id (createOrder.js:177-184) · ordering only (orderOutbox.js:41) · POS ไม่ใส่"),shopId:B().optional().describe("ร้านเจ้าของออเดอร์ · CREATE hard-required (createOrder.js:156) · both (SummaryScreen.js:135 · TakeOrderScreen.js:1078)").meta({initial:""}),scShopId:B().optional().describe("Scanfood-side shop id (chain linkage) · both (SummaryScreen.js:136 · TakeOrderScreen.js:1079)").meta({initial:""}),channelId:B().optional().describe("ช่อง/โต๊ะ — dine-in=tableId / pickup=uuid / delivery=delivery+uuid · open-table guard (createOrder.js:47/54) · O-SUM:137 · O-PAY:263 · O-DEL:221 · POS:1080").meta({initial:""}),tableName:B().optional().describe("label โต๊ะ — dine-in=ชื่อจริง / pickup=สั่งล่วงหน้า / delivery=delivery · POS Grab append คิว (TakeOrderScreen.js:1112) · both").meta({initial:""}),type:B().optional().describe("static/dynamic/pickup/delivery — server LINE-notify + open-table guard (createOrder.js:47/110) · POS/dine-in undefined · O-PAY:261 · O-DEL:219 · O-SUM:150"),groupId:B().optional().describe("group ออเดอร์ multi-cart Grab/delivery (tableId len 1-12) · POS only (TakeOrderScreen.js:1071-1094)"),que:re([Y(),B()]).optional().describe("เลขคิว pickup/take-away (bottomStyle 12/13/17) · POS only (TakeOrderScreen.js:1141/1147)"),tableControl:U().optional().describe("มาร์ค order doc = ก้อนเปิดโต๊ะ · server guard query ==true (createOrder.js:54/55) · writer=QrcodeOrdering (dynamic)"),zoneId:B().optional().describe("price-zone ของโต๊ะ · read-side cart only (cartSlice) · persist บน order doc ยังไม่ชัด (DISCREP)"),personName:B().optional().describe("ผู้สั่ง — self=ลูกค้า / pickup='สั่งล่วงหน้า' / delivery='delivery' / POS=profileName · O-SUM:149 · O-PAY:277 · POS:1087").meta({initial:""}),fingerprint:B().optional().describe("anti-prank key — ordering=fp / POS=deviceName(uniqueId) · server blocklist (createOrder.js:42) · both (O-SUM:150 · POS:1088)").meta({initial:""}),deviceName:B().optional().describe("ชื่ออุปกรณ์อ่านง่าย (โชว์บัญชีดำ) · ordering only (SummaryScreen.js:153 getDeviceName) · POS fold ลง fingerprint"),staffId:B().optional().describe("POS staff user id (profileId) · POS only (TakeOrderScreen.js:1092)").meta({initial:""}),currentInfo:T(K({id:B().optional().describe("'customer' | 'delivery' | field id"),name:B().optional().describe("field label/key"),value:M().optional().describe("ค่าที่ลูกค้ากรอก"),showOnReceipt:U().optional().describe("โชว์บนใบเสร็จ")}).passthrough()).optional().describe("row {id,name,value,showOnReceipt} — ฟิลด์ลูกค้า dynamic · server render LINE (createOrder.js:81-85) · POS:1063-1068 · O-PAY:281").meta({initial:[]}),moreDetail:B().optional().describe("note ออเดอร์ free-text · ordering pickup/delivery · server render LINE (createOrder.js:86) · O-PAY:282"),net:re([Y(),B()]).optional().describe("ยอดสุทธิ (หลัง discount/vat/rounding) · dine-in ไม่ set · LINE createOrder.js:103 · O-PAY:290"),totalPrice:re([Y(),B()]).optional().describe("ยอดรวมสินค้าก่อน charge · ordering (O-PAY:283 · O-DEL:235)"),serviceCharge:M().optional().describe("ค่าบริการ — contract 'number|object' (varies) → tolerant any (O-PAY:284)"),vat:M().optional().describe("VAT ระดับออเดอร์ (≠ product.vat boolean) — 'varies' → tolerant any (O-PAY:285)"),rounding:re([Y(),B()]).optional().describe("ปัดเศษท้ายบิล · ordering (O-PAY:286)"),deliveryFee:re([Y(),B()]).optional().describe("ค่าส่ง · delivery only (O-DEL:244)"),paymentChannel:T(K({name:B().optional().describe("label วิธีจ่าย"),id:B().optional().describe("payment method id"),amount:re([Y(),B()]).optional().describe("ยอดที่จ่ายช่องนี้")}).passthrough()).optional().describe("row {name,id,amount} · payLater/cash → [] · ordering (O-PAY:287 · O-DEL:239)"),paymentName:B().optional().describe("label วิธีจ่ายแปล (translatePayment) · ordering (O-PAY:29
1991)"),paymentJourney:B().optional().describe("before/after (จ่ายก่อน/หลัง) · ordering (O-PAY:289 · O-DEL:241)"),evident:B().optional().describe("url สลิปจ่ายเงิน (upload /evident/) · ordering (O-PAY:288→334)"),paid:U().optional().describe("prepaid flag (POS bottomStyle 3/14 และ 15/16/17) · server fallback isPaid (finishOrder.js:36/39) · POS (1091/1115/1134)").meta({initial:!0}),paidGuard:U().optional().describe("server-authoritative จ่ายแล้ว marker · writer=legacy cashier checkout_v1 (R42 frozen · L132-01) · consumed finishOrder.js:36/38"),billRequestedAt:M().optional().describe("เวลาที่พนักงานกด 'ใช้ใบเรียกเก็บเงิน' ครั้งแรก (Firestore Timestamp) · absent = ยังไม่เรียก · ตั้งครั้งเดียวไม่ทับ (claude/order/billRequest.js) · หายพร้อมใบเมื่อจ่าย (checkTable ตัด isPaidOrder · orderTable.js:96)"),product:T(xU).optional().describe("line items · CREATE hard-required array (createOrder.js:159) · shape=leanProduct · both (SummaryScreen.js:270 · TakeOrderScreen.js:1118)"),limitProduct:T(K({id:B().optional().describe("product id"),limit:re([Y(),B()]).optional().describe("quota บุฟเฟต์ที่เหลือ")}).passthrough()).optional().describe("buffet quota row {id,limit} — บน buffet/open-table master doc · server decrement tx (createOrder.js:280-283)"),process:B().optional().describe("order lifecycle request→ordered→cooked→served→paid (/cencel/cancel) · roll-up จาก product[].process (finishOrder.js:11/77) · init 'request' (O-SUM:140 · POS:1083)").meta({initial:"request"}),arrProcess:T(M()).optional().describe("history append-only ของ process · init ['request'] · server append (finishOrder.js:82/158/245/325)").meta({initial:["request"]}),isPrinted:U().optional().describe("ปริ้นตั๋วครัวแล้วไหม · init false (O-SUM:141 · POS:1084)").meta({initial:!1}),staff:T(M()).optional().describe("staff ที่ assign/acting · init [] · ≠ staffId (O-SUM:139 · POS:1082)").meta({initial:[]}),customerQty:re([Y(),B()]).optional().describe("จำนวนคน/ที่นั่ง · init 1 · updated QrcodeOrdering:695 (O-SUM:142 · POS:1086)").meta({initial:1}),orderBuffetId:B().optional().describe("id ของ buffet master order doc (ถือ limitProduct) · redux state-side only (orderSlice) — ไม่ persist บน order รายตัว (DISCREP)"),buffetService:B().optional().describe("id บุฟเฟ่ต์ (แถวใน Shop.smartBuffet) ที่เปิดบนก้อนเปิดโต๊ะ (tableControl) · writer=POS Modal_TableControl.js:175 (selectedService) → QrcodeOrdering handleTableControl · reader=ordering orderSlice.js:124-132 derive serviceType (ไม่พบ = alacarte)"),detail:B().optional().describe("รายละเอียดบุฟเฟ่ต์ copy จากแถว Shop.smartBuffet ตอนเปิดโต๊ะ (findInArray services) · writer=POS Modal_TableControl.js:176 · บนก้อนเปิดโต๊ะเท่านั้น"),limitTime:U().optional().describe("จำกัดเวลากินไหม (จาก Shop.smartBuffet.limitTime) · คู่กับ time — ordering คิด buffetLimitTime เมื่อ limitTime && time (orderSlice.js:129-130) · writer=POS Modal_TableControl.js:178"),time:re([Y(),B()]).optional().describe("2 ความหมายตาม producer (ทั้งคู่เขียนจริงบน production · Pack เคาะ union 2026-07-24 · BL-0399): ① pickup/delivery = เวลานัดรับ (string · server render LINE createOrder.js:80,127,236 · O-PAY:280 · O-DEL:232) ② ก้อนเปิดโต๊ะบุฟเฟ่ต์ = จำนวนนาทีจำกัดเวลา (number|string จาก Shop.smartBuffet.time · Modal_TableControl.js:177 · ordering plusMinute(timestamp,time)→buffetLimitTime · orderSlice.js:130)"),timestamp:M().optional().describe("เวลาสร้างออเดอร์ (Date → server revive ISO→Timestamp · createOrder.js:13-17) · both (O-SUM:138 · POS:1081)").meta({initial:"__NEW_DATE__"}),billDate:B().optional().describe("วันบิล formatted (stringYMDHMS3) · POS only (TakeOrderScreen.js:1093)").meta({initial:""}),updatedAt:M().optional().describe("เวลา server mutate ล่าสุด (force-paid) — new Date() · server (finishOrder.js:14)"),productForPrint:T(M()).optional().describe("transient print payload — printer payload เท่านั้น (TakeOrderScreen.js:1159) · add() ไม่มี → ไม่ persist บน doc (DISCREP)")}).passthrough(),boe=K({id:Y().describe("0–6 (0=sunday) — initialPromotion.js:3-11"),name:B().describe("monday..sunday (t(`screens.day.${name}`) · PromotionFranchiseScreen.js:47)"),allDay:U().optional().describe("true=ทั้งวัน · false=เลือก period[] (PromotionSettingScreen.js:420)"),period:T(re([Y(),B()])).optional().describe("hour-id ที่เปิด (initialHour) — [] เมื่อ allDay=true (PromotionSettingScreen.js:421)"),color:B().optional().describe("สีป้ายวัน (#hex · initialPromotion.js:4)"),status:U().optional().describe("วันนี้เปิดโปรไหม (PromotionSettingScreen.js:419 · Franchise:47 filter)")}).passthrough(),xoe=K({branchId:B().describe("shopId ของสาขา (PromotionFranchiseScreen.js:98)"),rights:re([Y(),B()]).optional().describe("โควต้าสิทธิ์ของสาขานี้ (Franchise:33,58)"),used:re([Y(),B()]).optional().describe("runtime — ใช้ไปแล้ว (Franchise:33,59 · server track)")}).passthrough(),Coe=K({status:U().optional().describe("เปิดจำกัดสิทธิ์ราย-สาขาไหม (initialPromotion.js:48 · default false)"),value:T(we(()=>xoe)).optional().describe("โควต้าแต่ละสาขา · [] = ไม่จำกัด (initialPromotion.js:49)")}).passthrough(),Qs=K({id:B().describe("product id หรือ categoryId (PromotionSettingScreen.js:461-473 filter ด้วย .id)"),name:B().optional().describe("ชื่อที่โชว์ (จาก currentItem picker)"),categoryId:B().optional().describe("categoryId เมื่อ row เป็นหมวด (initialPromotion.js:17)")}).passthrough(),Doe=K({id:B().optional().describe("Z1 doc id (promotion collection · BonusScreen.js:111 · scanOrder:645)").meta({initial:""}),promotionId:B().optional().describe("Z1 preset template id 1-70 (promotionOptions.js) · bonus='38' (BonusScreen.js:30) · ≠ code").meta({initial:""}),name:B().optional().describe("Z1 ชื่อโปร · bonus='Bonu
199s' (BonusScreen.js:29)").meta({initial:""}),code:B().optional().describe("Z1 รหัส/โค้ดโปรที่ลูกค้าใช้ (initialPromotion.js:46 · ≠ promotionId preset)").meta({initial:""}),shopId:B().optional().describe("Z1 ร้านเจ้าของโปร (BonusScreen.js:133 · initialPromotion.js:29)").meta({initial:""}),providerId:B().optional().describe("Z1 สร้างผ่าน member provider ('' = ร้านสร้างเอง · initialPromotion.js:43 · Franchise:95 gate)").meta({initial:""}),type:B().optional().describe("Z1 12 ค่า: anySale/minimumSale/sale/item/itemSale/itemOne/category/categorySale/categoryOne/customer/items/sameItem (promotionOptions.js) · bonus='sale' · '' = draft (string ไม่ enum กัน false-reject)").meta({initial:""}),specialPromotion:Ge(["none","bonus"]).optional().describe("Z1 none=โปรปกติ (initialPromotion.js:41) / bonus=โชว์หน้าสั่ง ยิ่งซื้อยิ่งลด (BonusScreen.js:36)").meta({initial:"none"}),rewardType:B().optional().describe("Z1 discount/percent/gift/exchange (promotionOptions.js) + bonusPoint (PromotionSettingScreen.js:589 นอก preset) · bonus='discount' · string กัน false-reject").meta({initial:""}),status:U().optional().describe("Z1 เปิด/ปิดโปร (initialPromotion.js:26,37 · BonusScreen.js:133)").meta({initial:!0}),detail:B().optional().describe("Z1 รายละเอียดโปร (initialPromotion.js:27)").meta({initial:""}),tier:U().optional().describe("Z2 ไต่ระดับไหม — true=หลายขั้น · bonus=true · preset 38-70=tier:true (BonusScreen.js:33)").meta({initial:!1}),tierTarget:T(re([Y(),B()])).optional().describe("Z2 เป้าแต่ละขั้น — saleTypes=ยอด/customer=จำนวนลูกค้า/item=จำนวนชิ้น · string จาก InputNumber · sort asc (PromotionSettingScreen.js:577,621)").meta({initial:[]}),tierReward:T(re([Y(),B()])).optional().describe("Z2 รางวัลแต่ละขั้น (parallel tierTarget · :579,621) · Bonus Point ตัวคูณ=tierReward[0] (:589)").meta({initial:[]}),tierBox:T(M()).optional().describe("Z2 ของแถม/แลกซื้อ ราย-tier · เคลียร์คู่ tierTarget/tierReward (PromotionSettingScreen.js:354) · sub-shape ยังไม่ ground → z.any()").meta({initial:[]}),exchangePrice:re([Y(),B()]).optional().describe("Z2 ราคาแลกซื้อ (required เมื่อ rewardType=exchange · initialPromotion.js:34 · PromotionSettingScreen.js:592)").meta({initial:""}),exchangePercentEnable:U().optional().describe("Z2 แลกซื้อแบบ % (true→exchangePrice เป็น % · >100 error · initialPromotion.js:61 · :602)").meta({initial:!1}),barcode:T(we(()=>Qs)).optional().describe("Z3 สินค้า/หมวดที่เข้าเงื่อนไขซื้อ (id+categoryId) · clear เมื่อเปลี่ยน type (PromotionSettingScreen.js:356,464 · initialPromotion.js:17)").meta({initial:[]}),rewardBarcode:T(we(()=>Qs)).optional().describe("Z3 สินค้าของรางวัล (gift/exchange) · clear เมื่อเปลี่ยน reward (PromotionSettingScreen.js:358,461)").meta({initial:[]}),scope:T(we(()=>Qs)).optional().describe("Z3 ขอบเขตสินค้า/หมวดที่รางวัลคิด (PromotionSettingScreen.js:446,467)").meta({initial:[]}),scopeTarget:B().optional().describe("Z3 onInvoice/menu/category — ขอบเขตคำนวณรางวัล (initialPromotion.js:23 · PromotionSettingScreen.js:164-166,446)").meta({initial:"onInvoice"}),scopeUsage:T(re([Y(),B()])).optional().describe("Z3 ช่องทางที่โปรใช้ได้ (bonus=[1]) · bonus-specific (BonusScreen.js:35 — ไม่อยู่ใน initialPromotion)"),slot1:T(we(()=>Qs)).optional().describe("Z3 กลุ่มสินค้าที่ 1 (type=items · initialPromotion.js:19 · PromotionSettingScreen.js:470,575)").meta({initial:[]}),slot2:T(we(()=>Qs)).optional().describe("Z3 กลุ่มสินค้าที่ 2 (type=items · initialPromotion.js:20 · PromotionSettingScreen.js:473,575)").meta({initial:[]}),channels:T(re([Y(),B()])).optional().describe("Z3 ช่องทางขายที่โปรใช้ (bonus=[1]=POS · BonusScreen.js:28 · initialPromotion.js:40 · required :611)").meta({initial:[]}),customer:B().optional().describe("Z3 กลุ่มลูกค้าเป้าหมาย — all/general/member (initialPromotion.js:39 · PromotionSettingScreen.js:158-160)").meta({initial:"all"}),targetCustomers:T(B()).optional().describe("Z3 id ลูกค้าเฉพาะ (เมื่อ customer ไม่ใช่ all · initialPromotion.js:44)").meta({initial:[]}),startDate:M().optional().describe("Z4 วันเริ่มโปร — Timestamp|Date|string (initialPromotion.js:24 firstDayOfMonth)").meta({initial:"__FIRST_DAY_OF_MONTH__"}),endDate:M().optional().describe("Z4 วันสิ้นสุดโปร — Timestamp|Date|string (initialPromotion.js:25 lastDayOfMonth · ใช้เมื่อ expireType=limit · :608)").meta({initial:"__LAST_DAY_OF_MONTH__"}),workingDays:T(we(()=>boe)).optional().describe("Z4 7 วัน {id,name,allDay,period[],color,status} (initialPromotion.js:3-11,38 · :419-421)").meta({initial:[{id:1,name:"monday",allDay:!0,period:[],color:"#FFC63F",status:!0},{id:2,name:"tuesday",allDay:!0,period:[],color:"#F0A6D6",status:!0},{id:3,name:"wednesday",allDay:!0,period:[],color:"#00BF63",status:!0},{id:4,name:"thursday",allDay:!0,period:[],color:"#FA8900",status:!0},{id:5,name:"friday",allDay:!0,period:[],color:"#00BCD4",status:!0},{id:6,name:"saturday",allDay:!0,period:[],color:"#673AB7",status:!0},{id:0,name:"sunday",allDay:!0,period:[],color:"#F44336",status:!0}]}),expireType:B().optional().describe("Z4 infinity=ไม่จำกัดเวลา / limit=จำกัดช่วง (initialPromotion.js:36 · PromotionSettingScreen.js:140-142,608)").meta({initial:"infinity"}),auto:U().optional().describe("Z4 true=apply อัตโนมัติ / false=กดเอง (initialPromotion.js:42 · :170,417)").meta({initial:!0}),limit:U().optional().describe("Z5 จำกัดจำนวนสิทธิ์รวมไหม (initialPromotion.js:57 · Franchise:49)").meta({initial:!1}),limitAmount:re([Y(),B()]).optional().describe("Z5 สิทธิ์ทั้งหมดตลอดแคมเปญ (default 1000 · initialPromotion.js:58 · Franchise:51)").meta({initial:1e3}),limitCustomerStatus:U().optional().describe("Z5 จำกัดต่อลูกค้าไหม (initialPromotion.js:59)").meta({initial:!1}),limitCustomer:re([Y(),B()]).optional().describe("Z5 สิทธิ์ต่อลูกค้า (default 1 · initialPromotion.js:60)").meta({initial:1}),limitUsed:re([Y(),B()]).optional().describe("Z5 runtime — ใช้ไปแล้วกี่สิทธิ์ (ไม่อยู่ใน init · server track · Franchise:30)"),branch:we(()=>Coe).optional().describe("Z6 {status, value:[{branchId,rights,used}]} จำกัดสิทธิ์ราย-สาขา (initialPromotion.js:47-56 · Franchise:32,97)").meta({initial:{status:!1,value:[]}}),franchiseId:B().optional().describe("Z6 token แฟรนไชส์ central-promo visibility (PromotionFranchiseScreen.js:95 · ⚠️ center ตกหล่น field นี้)"),createdAt:M().optional().describe("Z7 วันสร้างโปร — Timestamp|Date|string (initialPromotion.js:45 new Date())").meta({initial:"__NEW_DATE__"}),timestamp:M().optional().describe("Z7 เพิ่มตอน save — Timestamp|Date|string (BonusScreen.js:133 · PromotionSettingScreen.js:626)"),fingerprint:B().optional().describe("Z7 ป้ายที่มาของ doc (mirror Order.fingerprint · เติม BL-0604) — harness seed ประทับ 'harness:member.bonusPromotionSeed' (claude/member/bonusPromotionSeed.js) เพื่อให้ขา clear ลบเฉพาะ doc ที่เครื่องมือสร้างเอง · โปรจริงจากจอไม่มี field นี้ · ❌ ไม่ใช้ code เป็นป้าย (code = คีย์ค้นหาหน้ารายการโปรของคนใช้จริง · PromotionSettingScreen.js:97)")}).passthrough(),Soe=Doe,Foe=K({id:Y().describe("1–14 (QrcodeManagement.js · preserved from init)"),type:Ge(["dynamic","static"]).describe("ตารางนี้คุม QR แบบไหน — dynamic | static"),day:Y().describe("0–6 (อา–ส)"),status:U().describe("วันนี้เปิดไหม (QrcodeManagement.js:162-165)"),startTime:B().describe('เวลาเปิด "HH:mm" (convertTimeDateToString · :154)'),endTime:B().describe('เวลาปิด "HH:mm" (:155)'),allTime:U().optional().describe("เปิด 24 ชม. (preserved from init)"),multiPeriod:U().optional().describe("หลายช่วงเวลา/วัน"),period:T(Y()).optional().describe("id ชั่วโมงที่เปิดรับ 0–23 (โหมด multiPeriod · initialHour.js · Modal_Time togglePeriod · server period.includes(hourthai))")}).passthrough(),CU=K({dynamicStatus:U().describe("เปิดใช้ตารางเวลา QR dynamic ไหม (QrcodeManagement.js:191)"),staticStatus:U().describe("เปิดใช้ตารางเวลา QR static ไหม (:192) — static ปิดกระทบ pickup+delivery"),day:T(Foe).describe("14 แถว (7 วัน × 2 type)")}).passthrough(),DU=K({id:B().describe("= staticQrcode doc id (ZoneScreen.js:159 · ลบโต๊ะ = ฆ่า QR นั้น)"),mainId:Y().describe("1 = ราคาปกติ (zone ราคาพิเศษ = mainId อื่น)"),zoneId:B().describe("ผูกกับ shop.zone"),name:B().describe("ชื่อโต๊ะ"),x:Y().optional().describe("พิกัดแนวนอนของโต๊ะบนผัง (หน่วย dp ที่ scale 1 · มุมซ้ายบนของโต๊ะ) — FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี x/y = โต๊ะยังไม่ถูกวางบนผัง → จอ fallback เป็นลิสต์โต๊ะเดิม (DEV-0055)"),y:Y().optional().describe("พิกัดแนวตั้งของโต๊ะบนผัง (หน่วย dp ที่ scale 1 · มุมซ้ายบนของโต๊ะ) — FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี x/y = โต๊ะยังไม่ถูกวางบนผัง → จอ fallback เป็นลิสต์โต๊ะเดิม (DEV-0055)"),w:Y().optional().describe("ความกว้างของโต๊ะบนผัง (dp ที่ scale 1) — FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี = ฝั่งแอปใช้ค่าตั้งต้น 80 (DEV-0055)"),h:Y().optional().describe("ความสูงของโต๊ะบนผัง (dp ที่ scale 1) — FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี = ฝั่งแอปใช้ค่าตั้งต้น 80 (DEV-0055)"),shape:Ge(["rect","round"]).optional().describe("รูปทรงโต๊ะบนผัง — rect=เหลี่ยม · round=กลม (FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี = ฝั่งแอปใช้ค่าตั้งต้น 'rect') (DEV-0055)"),r:Y().optional().describe("องศาหมุนโต๊ะบนผัง (0/90/180/270) — FloorPlanEditorScreen.js writer · QrcodeOrdering reader · ไม่มี = 0 (ไม่หมุน) (DEV-0055)")}).passthrough(),_oe=K({shopId:B().describe("ร้านเจ้าของ QR (ZoneScreen.js:145 · TableScreen.js:157)"),id:B().describe("= doc id (เท่ากับ smartTable[].id · QR ผูก doc id ตายตัว)"),mainId:Y().describe("1 = ราคาปกติ"),zoneId:B().describe("โซนของโต๊ะนี้"),name:B().describe("ชื่อโต๊ะที่โชว์")}).passthrough();K({shopId:B().describe("ร้าน (QrcodeOrdering.js:1255)"),tableId:B().describe("โต๊ะที่ออก QR (TakeOrderScreen.js:404)"),tableName:B().describe("ชื่อโต๊ะ (:405)"),shopName:B().describe("ชื่อร้าน (:403)")}).passthrough();K({rootId:B().optional().describe("shopId + queId (queId = shop.smartQue.queType[].id · QueScreen.js:161) — กลุ่มตั๋วของช่องคิวเดียวกัน · queTicket ใช้ where rootId== นับคิวรอ"),shopId:B().optional().describe("ร้านเจ้าของตั๋ว — server bind จาก req.shopAccess ไม่เชื่อ body (manageQue.js:68 · queList query ด้วยช่องนี้)"),timestamp:M().optional().describe("เวลาออกตั๋ว (Firestore Timestamp — client ส่ง Date/ISO/millis แล้ว server coerce · manageQue.js:17-28) — คีย์เรียงคิว + ตัวนับ waiting (timestamp < ของใบเป้า)"),date:Y().optional().describe("วันที่ของเดือนตอนออกตั๋ว (new Date().getDate() — ใช้รีเซ็ตเลขคิวข้ามวัน · QueScreen.js:180-183)"),name:B().optional().describe("ชื่อตั๋วที่โชว์/พิมพ์ เช่น 'A001' (= brev ของช่องคิว + เลขรัน 3 หลัก · QueScreen.js:185)"),no:Y().optional().describe("เลขรันของวันนั้น (nextNumber · QueScreen.js:184,192)"),runQue:Y().optional().describe("จำนวนคิวก่อนหน้าใน rootId เดียวกัน ณ ตอนออกตั๋ว (QueScreen.js:173,193 — ใช้พิมพ์ qty บนใบคิว)"),shopName:B().optional().describe("ชื่อร้าน ณ ตอนออกตั๋ว (denormalized · QueScreen.js:194)"),imageId:B().optional().describe("โลโก้ร้าน ณ ตอนออกตั๋ว (findInArray(imageUrl,'type','logo') · '' = ไม่มี · QueScreen.js:195)")}).passthrough();var rp=re([B().min(1).describe("ช่องทางขาย id — ร้านตั้งเอง: POS '1' · self-order qr/pickup/delivery · custom เช่น Grab/Lineman/Shopeefood"),Y().describe("legacy POS id เป็น number (เช่น 1) — บาง doc เก่าเก็บเป็น number")]),SU=K({id:B().describe("uuid (CategoryBoardScreen.js:101)").meta({initial:""}),level:re([Y(),B()]).describe("ชั้นใน tree (1 = บนสุด · initialCategory.js '' ตอน create)").meta({initial:""}),name:B().describe("ชื่อหมวด").meta({initial:""}),aboveId:T(B()).describe("id หมวดแม่ทุกชั้น (ลบแม่ = ลบลูกทั้ง subtree)").meta({initial:[]}),nameLanguage:T(M()).optional().describe("ชื่อหมวดแปลรายภาษา (initialCategory.js)").meta({initial:[]}),enable:U().optional().describe("eye toggle — false = ปิดทุกช่องทาง (แรงกว่า hiddenChannels · smartCategory เท่านั้น)").meta({initial:!0}),hiddenChannels:T(rp).optional().describe("Layer B — ช่องทางที่ซ่อนหมวดนี้ · absent/[] = แสดงทุกช่องทาง (Pack@sess228)"),image:B().optional().describe("รูปหมวด (URL Firebase Storage · DEV-1235) — ตั้งที่ SelfOrderingEnableScreen การ์ด 'รูปหมวดหมู่บนจอสั่งเอง' (อัปโหลด Storage path category/<shopId>/<catId>/) · kiosk SelfOrderingScreen rail ซ้ายโชว์เหนือชื่à
199¸­à¸«à¸¡à¸§à¸” · absent = ไม่มีรูป = ชื่ออย่างเดียว (หมวดเดิมทุกร้าน) · ordering web ยังไม่ใช้ (passthrough)")}).passthrough(),Ioe=K({level:re([Y(),B()]).describe("ชั้นของ group ใน tree (1 = บนสุด) — doc เก่าบางร้านเก็บเป็น string (_toolDispatchCore.test.js:411 level:'1' · server รับ 2 แบบ)").meta({initial:1}),value:T(we(()=>SU)).describe("หมวดรายใบของ level นี้ (item=SmartCategoryItem · CategoryBoardScreen append เข้า value ของ group เดิม)").meta({initial:[]})}).passthrough(),Toe=K({choiceId:B().optional().describe("id ตัวเลือก (initialChoice.js) · optional ตาม entity-migration loose").meta({initial:""}),choiceName:B().optional().describe("ชื่อตัวเลือกที่ลูกค้าเห็น").meta({initial:""}),price:T(M()).optional().describe("ราคาราย channel (shape=ProductPriceRow · initialChoice.js)").meta({initial:[]}),zonePrice:T(K({id:B(),price:re([Y(),B()])}).passthrough()).optional().describe("ราคาส่วนเพิ่มของ choice ราย zone [{id:zoneId,price}] — ใช้แทน price[] เมื่อสั่งจากโต๊ะในโซนนั้น · ❌ ไม่มี status (ต่างจากที่แอปเขียนบน Product.zonePrice นอกสคีมา) · ไม่มี initial โดยตั้งใจ — doc จริง absent เป็นปกติ (ChoiceScreen.js:196 · ZonePriceScreen.js:228-241,286-299)"),chose:U().optional().describe("ถูกเลือกอยู่ไหม (runtime/default false · initialChoice.js)").meta({initial:!1}),status:B().optional().describe("available/out (initialChoice.js · default available)").meta({initial:"available"}),BOM:T(M()).optional().describe("สูตรวัตถุดิบราย choice [{id:unitId,qty}] (initialChoice.js · ChoiceScreen strip)").meta({initial:[]}),choiceNameLanguage:T0(B(),B()).optional().describe("ชื่อ choice แปลรายภาษา (initialChoice.js)").meta({initial:{}}),priceTypes:T(wU).optional().describe("แม่แบบราคาของสำนักงานใหญ่ ต่อโปรไฟล์สาขา × ช่องทาง (shape=ShopTypePriceRow) — อยู่บน `franchise/{id}.smartOption[].choice[]` ไม่ใช่ `shop.smartOption[]` ของร้าน (server ยุบเป็น `price[]` ตอน propagate · claude/franchise/option.js `mergeShopOption`) · writer whitelist `CHOICE_FIELDS` (claude/franchise/option.js) · ซีด `scanFood_web_franchise/src/configs/initialChoice.js` มีช่องนี้ แต่ซีดฝั่ง ordering ไม่มี (คนละจอ · OptionScreen.js ถอดออกก่อนเขียนลงร้าน) — DEV-0005 ก้าว ④").meta({initial:[]}),allowQty:U().optional().describe("df-s28 config — ติ๊กรายตัว: ตัวเลือกนี้กดซ้ำเพิ่มจำนวนได้ · absent/false = กดได้ครั้งเดียว (single-select เดิม) · มีผลก็ต่อเมื่อ smartOption.allowChoiceQty=true (Pack@sess228)").meta({initial:!1}),qty:Y().optional().describe("df-s28 runtime — จำนวนที่เลือก (payload ตอนสั่ง) · absent = 1 (backward compat ทุก consumer) · เกิดเฉพาะตอน allowChoiceQty+allowQty เปิดทั้งคู่")}).passthrough(),Poe=K({optionId:B().describe("id หัวข้อ option (initialOption.js)").meta({initial:""}),optionTopic:B().describe("ชื่อหัวข้อที่ลูกค้าเห็น").meta({initial:""}),backOfficeName:B().optional().describe("ชื่อหลังบ้าน").meta({initial:""}),choice:T(Toe).describe("ตัวเลือกรายตัว (มี BOM ราย choice ได้ · df-s28 qt
199y)").meta({initial:[]}),maxChose:Y().optional().describe("เลือกได้สูงสุด — df-s28: นับรวม qty (Σ qty ของ choice ที่ chose=true ≤ maxChose · Pack@sess228)").meta({initial:0}),minChose:Y().optional().meta({initial:0}),optionTopicLanguage:T0(B(),B()).optional().describe("ชื่อหัวข้อแปลรายภาษา (initialOption.js)").meta({initial:{}}),allowChoiceQty:U().optional().describe("df-s28 master gate ระดับหัวข้อ — เปิดให้ choice ในหัวข้อนี้กดซ้ำเพิ่มจำนวนได้ (ต้อง choice.allowQty=true ด้วย) · absent/false = ปิด (พฤติกรรมเดิมเป๊ะ · 5,600 ร้านไม่ migrate · Pack@sess228)").meta({initial:!1}),hiddenChannels:T(rp).optional().describe("Layer B — ช่องทางที่ซ่อนหัวข้อนี้ · absent/[] = แสดงทุกช่องทาง (Pack@sess228)")}).passthrough(),FU=K({id:B().describe("unitId ใน BOM unit[] (convention product.BOM · EditProductScreen.js:728)"),qty:re([Y(),B()]).describe("จำนวนตัดเพิ่มต่อชิ้นที่ขาย (string ได้ตาม form เดิม useBomEditor.js:17 · cut path ทำ Number())")}),np=T0(B(),T(FU)),Ooe=K({id:B().describe("uuid ของขั้น — ใช้อ้างตอนลบ/เลื่อนลำดับบนจอ (Modal_SopEditor)"),text:B().describe("ข้อความวิธีทำของขั้นนี้ (ภาษาที่ร้านพิมพ์เอง · ไม่แปลตามภาษาลูกค้า)"),imageId:B().optional().describe("รูปประกอบขั้นนี้ — URL เต็มจาก Storage `/sop/` · absent = ขั้นนี้ไม่มีรูป")}),koe=K({id:B().optional().describe("= unitId — match supplier.boms[].id === PO.item.unitId (PurchaseOrderSetting.js:63 · CLAUDE.md procurement convention)"),price:re([Y(),B()]).optional().describe("💰 ราคาต่อหน่วยที่ supplier นี้ขาย (SupplierProductScreen.js:273 · PO ดึงไปคิดราคา · DEV-1228 B7: จอเขียนเป็น number แล้ว — string คงไว้ใน type เพราะเอกสารเก่ามีค่าสตริงค้างอยู่)"),minQty:re([Y(),B()]).optional().describe("ขั้นต่ำสั่งซื้อหน่วยนี้ (SupplierProductScreen.js:274 · optional)"),packSize:re([Y(),B()]).optional().describe("ขนาดแพ็ก (SupplierProductScreen.js:275 · optional)")}).passthrough();K({id:B().optional().describe("doc id — runtime (suppliers.find(a=>a.id===...))"),name:B().optional().describe("ชื่อผู้ขาย (SupplierProfileScreen.js)").meta({initial:""}),phone:B().optional().describe("เบอร์ติดต่อของผู้ขายรายนี้ (ไม่ใช่เบอร์ร้านเรา — เบอร์ร้าน = Shop.tel) · SupplierProfileScreen.js ช่อง 'เบอร์โทรศัพท์' ใต้หัวข้อ 'ข้อมูลซัพพลายเออร์'").meta({initial:""}),address:B().optional().describe("ที่อยู่ บนใบ PO/ใบกำกับ (SupplierProfileScreen.js)").meta({initial:""}),shopId:B().optional().describe("ร้านเจ้าของ supplier นี้ (supplierDefaults() · defaults.ts — server ผูกจาก caller ตอน create · จอไม่ส่งใน patch)").meta({initial:""}),taxId:B().optional().describe("เลขผู้เสียภาษีผู้ขาย — ใบกำกับซื้อ (SupplierProfileScreen.js)").meta({initial:""}),vat:Ge(["none","exclude","include"]).optional().describe("VAT semantics ตอน PO/GR: none=ไม่มี · exclude=ราคายังไม่รวม(×1.07) · include=รวมแล้ว (CLAUDE.md · poCalculations.js)").meta({initial:"none"}),creditTerm:re([Y(),B()]).optional().describe("วันเครดิตชำระ (supplierDefaults() · defaults.ts · default 30 · SupplierProfileScreen.js — จอกรองตัวเลขและปัดค่าติดลบก่อนบันทึก)").meta({initial:30}),remark:B().optional().describe("หมายเหตุผู้ขาย (supplierDefaults() · defaults.ts · SupplierProfileScreen.js)").meta({initial:""}),contact_name:B().optional().describe("ชื่อผู้ติดต่อ (SupplierProfileScreen.js)").meta({initial:""}),contact_phone:B().optional().describe("เบอร์ผู้ติดต่อ (SupplierProfileScreen.js)").meta({initial:""}),createdAt:M().optional().describe("วันเพิ่ม supplier (Firestore Timestamp/Date · supplierDefaults() new Date() · defaults.ts — server ตั้งตอน create · จอไม่ส่งใน patch)").meta({initial:"__NEW_DATE__"}),boms:T(koe).optional().describe("สินค้า+ราคาที่ supplier ขาย [{id:unitId,price,minQty,packSize}
199] (SupplierProductScreen.js:269-278 · default [] · absent ได้ในเอกสารจริง — จอต้องอ่านแบบ boms?.map)").meta({initial:[]})}).passthrough();var _U=K({unitId:B().optional().describe("ID ของ unit ใน BOM.unit[] — match supplier.boms[].id หา supplier+ราคา (CLAUDE.md §6 · ห้ามใช้ bomId/id เป็น identifier)"),rawMatId:B().optional().describe("ID ของ BOM doc ใน Firestore — ใช้ update stock (/claude/bom/inbound)"),rawMatName:B().optional().describe("ชื่อวัตถุดิบ เช่น 'เกลือ'"),unitName:B().optional().describe("ชื่อหน่วย เช่น 'กิโลกรัม'"),amount:re([Y(),B()]).optional().describe("conversion factor (1 กก. = 1000 ก.) — convert qty→base unit ก่อน update stock"),qty:re([Y(),B()]).optional().describe("จำนวนที่ต้องการ (form-string)"),orderedQty:re([Y(),B()]).optional().describe("จำนวนที่สั่งซื้อจริงต่อแถว (PO เท่านั้น · procure/manage.js normalizePoBoms เขียนเป็น number แล้ว — string คงไว้ใน type เพราะเอกสารเก่าเก็บ form-string · reader inboundFromGR.js `Number(b.orderedQty||0)`)"),unitPrice:re([Y(),B()]).optional().describe("💰 ราคาต่อหน่วยที่สั่ง (PO เท่านั้น · @scanfood/logic calculateSupplierSubtotal อ่านคู่กับ orderedQty · manage.js normalizePoBoms เขียนเป็น number — ไม่ปัดสตางค์ที่ระดับหน่วย · string คงไว้เพราะเอกสารเก่า)"),supplierId:B().optional().describe("ผู้ขายของแถวนี้ snapshot (PO เท่านั้น · PurchaseOrderSummary.js:116,145 — กลุ่ม 'ไม่มีซัพ' ส่ง '' ไม่ใช่ undefined · reader PurchaseOrderSetting.js คิด vat ราย supplier)"),bomName:B().optional().describe("ชื่อรายการบนการ์ด PO snapshot (PO เท่านั้น · PurchaseOrderSummary.js:115,144 `item.bomName ?? item.rawMatName` — ใบเก่าไม่มีคีย์นี้ ⇒ reader ต้อง fallback rawMatName)")}).passthrough();K({id:B().optional().describe("doc id (runtime · PurchaseOrderSummary save)"),orderNumber:B().optional().describe("เลขที่ใบสั่งซื้อ (initialPurchaseOrder.js)").meta({initial:""}),shopId:B().optional().describe("ร้านเจ้าของ (initialPurchaseOrder.js)").meta({initial:""}),supplierId:B().optional().describe("ผู้ขาย (match Supplier.id · initialPurchaseOrder.js)").meta({initial:""}),supplierName:B().optional().describe("ชื่อผู้ขาย snapshot (initialPurchaseOrder.js)").meta({initial:""}),boms:T(_U).optional().describe("รายการสั่งซื้อ (initialPurchaseOrder.js · row=ProcurementBomRow + unitPrice)").meta({initial:[]}),PRRef:T(B()).optional().describe("อ้าง PR ที่ merge มา (initialPurchaseOrder.js)").meta({initial:[]}),GRRef:T(B()).optional().describe("อ้าง GR ที่รับแล้ว (initialPurchaseOrder.js)").meta({initial:[]}),process:Ge(["success","partial","completed","cancel"]).optional().describe("สถานะ PO (initialPurchaseOrder.js · default success · GR รับครบ→completed)").meta({initial:"success"}),receivedSummary:T0(B(),Y()).optional().describe("{[unitId]: totalReceivedQty} สรุปรับสะสม (initialPurchaseOrder.js · เขียนโดย inboundFromGR.js:199-205 / reverseGR.js:158-164 — ค่าเป็น number เสมอ ผ่าน Number() ทั้ง 2 ทาง · key = unitId ⇒ unitId ห้ามซ้ำในใบ)").meta({initial:{}}),billDate:B().optional().describe("วันที่บนบิลผู้ขาย (initialPurchaseOrder.js)").meta({initial:""}
199),duedate:M().optional().describe("กำหนดส่ง/ครบเครดิต (Firestore Timestamp/Date · initialPurchaseOrder.js new Date())").meta({initial:"__NEW_DATE__"}),createdAt:M().optional().describe("วันสร้าง PO (Firestore Timestamp/Date · initialPurchaseOrder.js new Date())").meta({initial:"__NEW_DATE__"}),createdBy:B().optional().describe("uid ผู้สร้าง (initialPurchaseOrder.js)").meta({initial:""}),createdName:B().optional().describe("ชื่อผู้สร้าง snapshot (initialPurchaseOrder.js)").meta({initial:""}),remark:B().optional().describe("หมายเหตุ (initialPurchaseOrder.js)").meta({initial:""}),vat:Ge(["none","include","exclude"]).optional().describe("VAT semantics: none=ไม่มี · exclude=ราคายังไม่รวม(total=subtotal×1.07) · include=รวมแล้ว (CLAUDE.md §6 · PurchaseOrderSummary.js:70)"),subtotal:re([Y(),B()]).optional().describe("💰 ยอดก่อน VAT (PurchaseOrderSummary.js:71)"),vatAmount:re([Y(),B()]).optional().describe("💰 ภาษีมูลค่าเพิ่ม (PurchaseOrderSummary.js:72)"),total:re([Y(),B()]).optional().describe("💰 ยอดรวม (รวม VAT แล้ว · ใช้ weighted-avg cost ตอน GR · PurchaseOrderSummary.js:73)"),cancelBy:B().optional().describe("uid ผู้ยกเลิกใบสั่งซื้อ (procure/manage.js poCancel · body.actor.id) — ⚠️ ชื่อ field ไม่มี -led ต่างจาก TR ที่ใช้ `cancelledBy`"),cancelByName:B().optional().describe("ชื่อผู้ยกเลิกใบสั่งซื้อ snapshot (procure/manage.js poCancel · body.actor.name)"),cancelAt:M().optional().describe("เวลายกเลิกใบสั่งซื้อ (Firestore Timestamp · procure/manage.js poCancel `new Date()` ผ่าน coerceDates DATE_FIELDS)"),completedBy:B().optional().describe("uid ผู้สั่งปิดใบ (procure/manage.js poComplete · body.actor.id — เดิมเขียนแค่ process ไม่รู้ว่าใครปิด)"),completedByName:B().optional().describe("ชื่อผู้สั่งปิดใบ snapshot (procure/manage.js poComplete · body.actor.name)"),completedAt:M().optional().describe("เวลาปิดใบ (Firestore Timestamp · procure/manage.js poComplete `new Date()` ผ่าน coerceDates DATE_FIELDS)")}).passthrough();var H=()=>B().optional(),xe=()=>re([Y(),B()]).optional();K({id:H().describe("doc id (runtime)"),orderNumber:H().describe("เลขที่ PR (initialRequisition.js)").meta({initial:""}),shopId:H().describe("ร้านเจ้าของ").meta({initial:""}),boms:T(_U).optional().describe("รายการขอซื้อ (initialRequisition.js · row=ProcurementBomRow)").meta({initial:[]}),process:Ge(["waiting","draft","completed","cancel"]).optional().describe("สถานะ PR (initialRequisition.js · default draft)").meta({initial:"draft"}),billDate:H().describe("วันที่บิล").meta({initial:""}),duedate:M().optional().describe("กำหนดต้องการ (Date · initialRequisition.js new Date())").meta({initial:"__NEW_DATE__"}),createdAt:M().optional().describe("วันสร้าง (Date · initialRequisition.js)").meta({initial:"__NEW_DATE__"}),createdBy:H().describe("uid ผู้สร้าง").meta({initial:""}),createdName:H().describe("ชื่อผู้สร้าง snapshot ตอนสร้างใบ (procure/manage.js:155 prCreateDraft · :215 prSubmit จาก body.actor.name) — ยิงอ่าน PR จริงร้านพาสต้า 4/4 ใบมี key นี้ (2026-07-25) · reader PurchaseRequisitionScreen การ์ดใบขอซื้อ").meta({initial:""}),confirmedBy:H().describe("uid ผู้กดยืนยันส่งใบขอซื้อ (draft→waiting) — เขียนเฉพาะ path แปลงร่างเดิม (procure/manage.js:205 · body.actor.id)"),confirmedName:H().describe("ชื่อผู้กดยืนยันส่งใบ snapshot (procure/manage.js:205 · body.actor.name)"),confirmedAt:M().optional().describe("เวลากดยืนยันส่งใบ (Firestore Timestamp · procure/manage.js:205 coerceDates)"),cancelBy:H().describe("uid ผู้ยกเลิกใบขอซื้อ (procure/manage.js:229 prCancel · body.actor.id) — ⚠️ ชื่อ field ไม่มี -led ต่างจาก TR ที่ใช้ `cancelledBy`"),cancelByName:H().describe("ชื่อผู้ยกเลิกใบขอซื้อ snapshot (procure/manage.js:229 · body.actor.name)"),cancelAt:M().optional().describe("เวลายกเลิกใบขอซื้อ (Firestore Timestamp · procure/manage.js:229 `new Date()` ผ่าน coerceDates)"),remark:H().describe("หมายเหตุ").meta({initial:""})}).passthrough();
vendor: 4,740 bytes, line 199
199K({id:H().describe("doc id (runtime)"),PORef:T(B()).optional().describe("อ้าง PO ที่รับ (initialGoodsReceived.js)").meta({initial:[]}),supplier:H().describe("ผู้ขาย (initialGoodsReceived.js)").meta({initial:""}),items:T(M()).optional().describe("รายการรับ [{bomId,bomName,orderedQty,receivedQty,unitPrice,condition}] (initialGoodsReceived.js · row passthrough)").meta({initial:[]}),process:Ge(["draft","received","completed","cancelled"]).optional().describe("สถานะ GR (initialGoodsReceived.js · default draft)").meta({initial:"draft"}),shopId:H().describe("ร้าน").meta({initial:""}),billDate:H().describe("วันบิล").meta({initial:""}),invoiceNo:H().describe("เลขใบกำกับผู้ขาย").meta({initial:""}),docNo:H().describe("เลขเอกสาร GR").meta({initial:""}),createdAt:M().optional().describe("วันรับ (Date · initialGoodsReceived.js)").meta({initial:"__NEW_DATE__"}),createdBy:H().describe("ผู้รับ").meta({initial:""}),remark:H().describe("หมายเหตุ").meta({initial:""}),vat:Ge(["none","include","exclude"]).optional().describe("โหมด VAT ติดใบ GR snapshot ตอนรับ (enum เดียวกับ PurchaseOrder.vat: none=ไม่มี · exclude=ราคายังไม่รวม(×1.07) · include=รวมแล้ว) — จอส่งใน payload /claude/bom/inboundFromGR (GoodsReceivedFromPO.js) · ไม่ส่ง = server fallback อ่านจาก PO · reader GoodsReceivedSelected.js คิดยอดตามโหมด (dq13=ก: รายแถวตาม Bom.vat ภายใต้โหมดใบ) · GR เก่าไม่มี key = จอ fallback PO ที่ผูก หรือแสดงแบบไม่แตกยอด VAT ห้ามเดา"),stockApplied:K({engine:B().optional().describe("รุ่นสูตรตัดสต๊อก (ปัจจุบัน 'v1')"),rows:T(K({unitId:B().optional().describe("unit ที่รับ (identity ตาม CLAUDE.md §6)"),bomId:B().optional().describe("bom doc ที่ถูกตัดสต๊อก (= rawMatId)"),netQty:Y().optional().describe("จำนวนสุทธิที่เข้าคลังจริง (หลัง yield)"),netTotalCost:Y().optional().describe("💰 ต้นทุนที่เข้า weighted-avg จริงของแถว (รวม VAT ตามโหมดใบ)")}).passthrough()).optional().describe("รายแถวที่ตัดจริง")}).passthrough().optional().describe("snapshot ผลตัดสต๊อกที่ server ใช้จริงตอนรับ {engine:'v1', rows:[{unitId,bomId,netQty,netTotalCost}]} (เขียนโดย inboundFromGR.js · DEV-1241 ⑤) — ไว้ตรวจย้อน/reverse โดยไม่ต้องคำนวณใหม่")}).passthrough();K({id:H().describe("doc id (runtime)"),fromBranch:H().describe("สาขาต้นทาง (initialTransferRequest.js)").meta({initial:""}),toBranch:H().describe("สาขาปลายทาง").meta({initial:""}),items:T(M()).optional().describe("รายการที่ขอโอน (row passthrough) — shape ใหม่ (server ประกอบเองตั้งแต่ DEV-1253 เฟส B · transfer/manage.js buildValidatedItems :84-94): {sku, sourceBomId, destBomId, bomName, unitId, unitName, unitAmount, requestQty} · unitId ต้องมีจริงใน bom.unit ของต้นทาง + unitAmount = ตัวคูณหน่วย→base จาก doc จริงไม่ใช่จากจอ (:79-91) · sku ซ้ำในใบ = 400 (:60-62) · ⚠️ ใบเก่าก่อนเฟสนี้ใช้ key `amount` แทน unitId/unitAmount (TransferRequestSetting.js:115-124 · ยิงอ่าน doc จริง 2 ใบ 2026-07-25)").meta({initial:[]}),reason:H().describe("เหตุผลขอโอน").meta({initial:""}),priority:Ge(["normal","urgent"]).optional().describe("ความเร่งด่วน (default normal)").meta({initial:"normal"}),process:Ge(["pending","approved","fulfilled","cancelled"]).optional().describe("สถานะคำขอโอน — `pending` (สร้างคำขอ · transfer/manage.js:253) → `fulfilled` (ต้นทางกดออกใบโอนให้ · fulfillTR :305 · txn เดียวกับการสร้าง TO ตั้งแต่ DEV-1253) หรือ `cancelled` (ผู้ขอยกเลิก · cancelTR :269 · ยกเลิกได้เฉพาะ pending :2
19966). `approved` = ป้ายที่จอ+filter รองรับ (TransferRequestScreen.js:30 · transfer/list.js:46) แต่ยังไม่มี writer. ⚠️ enum เดิม [draft,approved,intransit,completed,cancelled] ผิดของจริง — doc จริงพาสต้า 2/2 ใบ = `fulfilled` ซึ่งไม่อยู่ใน enum เดิมเลย (แก้ 2026-07-25 · i18n screens.transferRequest.st ยืนยัน 4 ค่านี้)").meta({initial:"pending"}),expectedDate:M().optional().describe("วันที่ต้องการ (Date)").meta({initial:"__NEW_DATE__"}),createdAt:M().optional().describe("วันสร้าง (Firestore Timestamp) — เวลาฝั่ง server เสมอตั้งแต่ DEV-1253 (transfer/manage.js:256 `new Date()` ใน createTransferDoc · เลิก coerce ค่าจากจอ)").meta({initial:"__NEW_DATE__"}),createdBy:H().describe("ผู้สร้าง (createTR :257 `body.profileId ?? tr.createdBy`)").meta({initial:""}),createdByName:H().describe("ชื่อผู้สร้างคำขอ snapshot (createTR :258 `body.profileName ?? tr.createdByName`) — ⚠️ ชื่อ field ต่างจาก PR/PO ที่ใช้ `createdName`").meta({initial:""}),approvedBy:H().describe("ผู้อนุมัติ").meta({initial:""}),shopId:H().describe("ร้าน (= caller ผู้ขอ · server bind จาก req.shopAccess · createTR :246)").meta({initial:""}),fromShopId:H().describe("ร้านต้นทางที่ถูกขอ (ผู้ขอเลือกจาก branchShops · createTR :248 — ขอจากตัวเอง = 400 self_transfer :233) — guard สิทธิ์ fulfillTR: ต้อง === caller (transfer/manage.js:300) · query ฝั่งต้นทาง transfer/list.js:46").meta({initial:""}),fromShopName:H().describe("ชื่อร้านต้นทาง snapshot ตอนสร้าง — server อ่านจาก shop doc จริงใน txn (createTR :249) ไม่ใช่จากจอ · โชว์บนการ์ด TransferRequestScreen.js:36").meta({initial:""}),toShopId:H().describe("ร้านปลายทาง = ผู้ขอ (server bind = caller · createTR :239,246) — เท่ากับ shopId เสมอในของจริง").meta({initial:""}),toShopName:H().describe("ชื่อร้านปลายทาง/ผู้ขอ snapshot — server อ่านจาก shop doc จริงใน txn (createTR :247)").meta({initial:""}),branchId:H().describe("กลุ่มสาขา snapshot ตอนสร้าง — ตั้งแต่ DEV-1253 มาจาก branchGuard.assertSameBranch ใน txn (transfer/manage.js:147,250 · ความจริงจาก shop doc 2 ฝั่ง ไม่ใช่ค่าจากจอ · ต่างกลุ่ม = สร้างใบไม่ได้) — ยังไม่มี reader (query ใช้ shopId/fromShopId)").meta({initial:""}),photos:T(M()).optional().describe("รูปแนบคำขอ (createTR :254 — ไม่ใช่ array = server เขียน []) — ⚠️ TR ใช้ชื่อ `photos` เดี่ยว ต่างจาก TO ที่แยก shipPhotos/receivePhotos").meta({initial:[]}),toRef:H().describe("doc id ของ TO ที่ต้นทางออกให้คำขอนี้ (fulfillTR :305 เขียนคู่กับ process='fulfilled' — ตั้งแต่ DEV-1253 อยู่ใน txn เดียวกับการสร้าง TO ล้มครึ่งทางไม่ได้) — ความจริงของความสัมพันธ์ TR→TO (ไม่ใช่ TransferOrder.TRRef ที่ตายแล้ว) · ยิงอ่าน doc จริง 2/2 ใบมี key นี้"),clientXId:H().describe("idempotency key จากจอตอนสร้างคำขอ (DEV-1253 เฟส B · transfer/manage.js:160) — มีค่า = doc id คงที่ `{shopId}_{clientXId}` (:115-116) ยิงซ้ำ = คืนใบเดิม duplicate:true ไม่สร้างซ้ำ (:139-142) · ไม่ส่ง = auto-id + ไม่มี key นี้ (removeUndefined) · ใบเก่าก่อนเฟสนี้ไม่มี"),cancelledBy:H().describe("uid ผู้ยกเลิกคำขอ (cancelTR :270 `body.cancelledBy ?? body.profileId`)"),cancelledAt:M().optional().describe("เวลายกเลิกคำขอ (Firestore Timestamp) — เวลาฝั่ง server เสมอตั้งแต่ DEV-1253 
199(cancelTR :271 `new Date()` · เลิกรับเวลาจากจอ)"),billDate:H().describe("วันบิล (string YYYYMMDD) — เวลาฝั่ง server ตาม tz ร้าน ตั้งแต่ DEV-1253 (transfer/manage.js:110 ymdInTz · query key ฝั่ง history)").meta({initial:""}),docNo:H().describe("เลขเอกสาร — ออกฝั่ง server ตั้งแต่ DEV-1253 (counter รายเดือน `shop/{id}/meta/TR` · transfer/manage.js:41-51 nextDocCounter) รูป `TR` + YYYYMM + %06d ยาว 14 ตัวอักษรเสมอ (ข้ามเดือน = เริ่มนับ 1 ใหม่) · ⚠️ ใบเก่ารูป `TR`+YYYYMMDD+random ยาว 11-13 ตัว = ของจอเดิม ไม่ชนกัน").meta({initial:""}),remark:H().describe("หมายเหตุ").meta({initial:""})}).passthrough();K({id:H().describe("doc id (runtime)"),TRRef:T(B()).optional().describe("อ้าง TR (initialTransferOrder.js)").meta({initial:[]}),fromBranch:H().describe("สาขาต้นทาง").meta({initial:""}),toBranch:H().describe("สาขาปลายทาง").meta({initial:""}),items:T(M()).optional().describe("รายการที่โอน (row passthrough) — shape ตอนสร้าง (server ประกอบเองตั้งแต่ DEV-1253 · transfer/manage.js buildValidatedItems :84-94): {sku, sourceBomId, destBomId, bomName, unitId, unitName, unitAmount, shipQty, shipBaseQty, receivedQty:null, receivedBaseQty:null} · unitAmount = ตัวคูณหน่วย→base snapshot ณ ตอนเปิดใบจาก bom.unit ของ doc จริง (:79-91) · ตอนกดส่ง server overwrite ทั้ง array — recompute shipBaseQty จาก bom สดอีกรอบ + snapshot sourceCostPerBase + returnedBaseQty:null (transferShip.js:153-169) · ตอนกดรับ merge receivedQty/receivedBaseQty/returnedBaseQty ต่อแถว (transferReceive.js:256-262 · returnedBaseQty = ส่วนต่างรับขาดที่คืนต้นทาง dq19) · ตอนดึงกลับ (reverse) items คงไว้ทั้งชุด (shipQty = intent ผู้ใช้ · transferReverse.js:144) · sourceBomId≠destBomId (คนละ bom doc ต่อสาขา) · ⚠️ ใบเก่าก่อนเฟสนี้ไม่มี unitId/unitAmount/returnedBaseQty (ยิงอ่าน doc จริง 5 ใบ 2026-07-25)").meta({initial:[]}),process:Ge(["draft","shipped","intransit","completed","cancelled"]).optional().describe("สถานะ TO (default draft) — เส้นจริงตั้งแต่ DEV-1253: `draft` (สร้าง :194,316) → `intransit` (ต้นทางกดส่ง · transferShip.js:174) → `completed` (ปลายทางกดรับ · transferReceive.js:265) · ดึงกลับ intransit→`draft` (transferReverse.js:147 · dq20) · `shipped`/`cancelled` = ค่าเก่าใน enum ไม่มี writer แล้ว").meta({initial:"draft"}),shipmentDate:M().optional().describe("วันส่ง (Date)").meta({initial:"__NEW_DATE__"}),expectedArrival:M().optional().describe("คาดถึง (Date)").meta({initial:"__NEW_DATE__"}),actualArrival:M().optional().describe("ถึงจริง (null จนกว่าจะรับ)").meta({initial:null}),createdAt:M().optional().describe("วันสร้าง (Firestore Timestamp) — เวลาฝั่ง server เสมอตั้งแต่ DEV-1253 (transfer/manage.js:199,321 `new Date()` · เลิก coerce ค่าจากจอ)").meta({initial:"__NEW_DATE__"}),createdBy:H().describe("ผู้สร้าง (createTO :200 / fulfillTR :322 `body.profileId ?? to.createdBy`)").meta({initial:""}),createdByName:H().describe("ชื่อผู้สร้างใบโอน snapshot (createTO :201 / fulfillTR :323 `body.profileName ?? to.createdByName`) — ⚠️ ชื่อ field ต่างจาก PR/PO ที่ใช้ `createdName`").meta({initial:""}),shopId:H().describe("ร้าน (= caller ต้นทางผู้เปิดใบ · server bind จาก req.shopAccess · createTO :188 / fulfillTR :309)").meta({initial:""}),fromShopId:H().describe("ร้านต้นทางที่ส่งของ (server bind = caller เสมอ ไม่เชื่อ body · transfer/manage.js:180,290) — ใช้ตัดสิทธิ์ ship/reverse (transferShip.js:67 · transferReverse.js:61 · TransferOrderSelected.js:38 amISource)").meta({initial:""}),fromShopName:H().describe("ชื่อร้านต้นทาง snapshot — server อ่านจาก shop doc จริงใน txn (createTO :189 / fulfillTR :310) · โชว์บนการ์ด TransferOrderScreen.js:36").meta({initial:""}),toShopId:H().describe("ร้านปลายทางที่รับของ — createTO: จอเลือก (:181 · โอนเข้าตัวเอง = 400 self_transfer :175) · fulfillTR: ปลายทางจริงของใบ TR ไม่ใช่ค่าจากจอ (:284) — query ฝั่งรับ transfer/list.js:38 + ตัดสิทธิ์ receive (transferReceive.js:116)").meta({initial:""}),toShopName:H().describe("ชื่อร้านปลายทาง snapshot — server อ่านจาก shop doc จริงใน txn (createTO :191 / fulfillTR :312)").meta({initial:""}),branchId:H().describe("กลุ่มสาขา snapshot ตอนสร้าง — ตั้งแต่ DEV-1253 มาจาก branchGuard.assertS
199ameBranch ใน txn (transfer/manage.js:147,192 · ความจริงจาก shop doc 2 ฝั่ง ไม่ใช่ค่าจากจอ · ต่างกลุ่ม = สร้างใบไม่ได้) — ยังไม่มี reader (query ใช้ shopId/toShopId)").meta({initial:""}),trId:H().describe("doc id ของ TR ที่ใบโอนนี้ตอบสนอง (เขียนเฉพาะ path fulfillTR · transfer/manage.js:314) — ไม่มี key = ใบที่ต้นทางออกเอง · ยิงอ่าน doc จริง 2/5 ใบมี key นี้ (คู่กับ TR.toRef)"),clientXId:H().describe("idempotency key จากจอตอนสร้างใบ (DEV-1253 เฟส B · transfer/manage.js:160) — มีค่า = doc id คงที่ `{shopId}_{clientXId}` (:115-116) ยิงซ้ำ = คืนใบเดิม duplicate:true ไม่สร้างซ้ำ (:139-142) · ไม่ส่ง = auto-id + ไม่มี key นี้ (removeUndefined) · ใบเก่าก่อนเฟสนี้ไม่มี"),shipPhotos:T(M()).optional().describe("รูปตอนส่งของ — เขียนตอนสร้างใบ (createTO :195 / fulfillTR :317 · ไม่ใช่ array = []) + เขียนใน txn เดียวกับการตัดสต๊อกตอนกดส่ง (transferShip.js:180 · dq19 เลิกพึ่ง updateTOPhotos best-effort) · แก้ทีหลังได้ผ่าน updateTOPhotos (transfer/manage.js:222) · ตอนดึงกลับ (reverse) คงไว้เป็นหลักฐานว่าเคยส่ง").meta({initial:[]}),receivePhotos:T(M()).optional().describe("รูปตอนรับของ (สร้างใบ = [] · createTO :196 / fulfillTR :318) — ปลายทางเขียนใน txn เดียวกับการรับ (transferReceive.js:272 · dq19) · แก้ทีหลังได้ผ่าน updateTOPhotos (transfer/manage.js:223)").meta({initial:[]}),shippedAt:M().optional().describe("เวลาที่ต้นทางกดส่ง (Firestore Timestamp · transferShip.js:176 · เขียนพร้อม process='intransit' ใน txn เดียวกับการตัดสต๊อก) — reverse ล้างเป็น null (transferReverse.js:148)"),shippedBy:B().nullable().optional().describe("uid ผู้กดส่ง (transferShip.js:177) — reverse ล้างเป็น null (transferReverse.js:149)"),shippedByName:B().nullable().optional().describe("ชื่อผู้กดส่ง snapshot (transferShip.js:178) — reverse ล้างเป็น null (transferReverse.js:150)"),shipXId:B().nullable().optional().describe("idempotency stamp ขาส่ง = clientXId ของคำขอ ship (DEV-1253 · transferShip.js:179) — ยิง ship ซ้ำด้วย clientXId เดิม = คืนผลเดิม ไม่ตัดสต๊อกซ้ำ (:72-77) · reverse ล้างเป็น null = ส่งใหม่ได้ (transferReverse.js:151)"),receivedAt:M().optional().describe("เวลาที่ปลายทางกดรับ (Firestore Timestamp · transferReceive.js:267 · เขียนพร้อม process='completed' ใน txn เดียวกับการเพิ่มสต๊อก+weighted-avg cost)"),receivedBy:H().describe("uid ผู้กดรับ (transferReceive.js:268)"),receivedByName:H().describe("ชื่อผู้กดรับ snapshot (transferReceive.js:269)"),receiveXId:H().describe("idempotency stamp ขารับ = clientXId ของคำขอ receive (DEV-1253 · transferReceive.js:270) — ยิง receive ซ้ำด้วย clientXId เดิม = replay receiveResult เดิม ไม่บวกสต๊อกซ้ำ (:121-125)"),receiveResult:K({costChanges:T(M()).optional().describe("ฝั่งปลายทาง แถวที่รับ > 0 — shape {id, sku, prevStock, newStock, prevCost, newCost} (transferReceive.js:224-226 · weighted-avg cost)"),returns:T(M()).optional().describe("ฝั่งต้นทาง แถวที่รับขาด (dq19) — shape {sku, sourceBomId, returnedBaseQty, prevStock, newStock} (transferReceive.js:252 · คืนส่วนต่างเข้าสต๊อกต้นทางใน txn เดียวกัน)")}).passthrough().optional().describe("snapshot ผลการรับที่ server เขียนตอน process→completed (transferReceive.js:263,271) — ไว้ replay ตอนยิงซ้ำ (idempotency คู่ receiveXId) · ใบเก่าก่อน DEV-1253 ไม่มี"),reverseXI
vendor: 5,222 bytes, line 199
199d:H().describe("idempotency stamp ขาดึงกลับ = clientXId ของคำขอ reverse (transferReverse.js:152) — ยิงซ้ำ = replay reverseResult เดิม ไม่คืนสต๊อกซ้ำ (:66-70)"),reversedAt:M().optional().describe("เวลาที่ต้นทางดึงใบกลับ (Firestore Timestamp · transferReverse.js:153 · เขียนพร้อม process→'draft' ใน txn เดียวกับการคืนสต๊อก)"),reversedBy:H().describe("uid ผู้ดึงใบกลับ (transferReverse.js:154)"),reversedByName:H().describe("ชื่อผู้ดึงใบกลับ snapshot (transferReverse.js:155)"),reverseResult:K({restored:T(M()).optional().describe("แถวที่คืนสต๊อกต้นทาง — shape {sku, sourceBomId, restoredBaseQty, prevStock, newStock} (transferReverse.js:140 · คืนเป๊ะตาม shipBaseQty snapshot · cost ไม่แตะ)")}).passthrough().optional().describe("snapshot ผลการดึงใบกลับที่ server เขียน (transferReverse.js:145,156) — ไว้ replay ตอนยิงซ้ำ (idempotency คู่ reverseXId) · ใบที่ไม่เคยถูกดึงกลับไม่มี"),billDate:H().describe("วันบิล (string YYYYMMDD) — เวลาฝั่ง server ตาม tz ร้าน ตั้งแต่ DEV-1253 (transfer/manage.js:110 ymdInTz · query key ฝั่ง history)").meta({initial:""}),docNo:H().describe("เลขเอกสาร — ออกฝั่ง server ตั้งแต่ DEV-1253 (counter รายเดือน `shop/{id}/meta/TO` · transfer/manage.js:41-51 nextDocCounter) รูป `TO` + YYYYMM + %06d ยาว 14 ตัวอักษรเสมอ (ข้ามเดือน = เริ่มนับ 1 ใหม่) · ⚠️ ใบเก่ารูป `TO`+YYYYMMDD+random ยาว 11-13 ตัว = ของจอเดิม ไม่ชนกัน").meta({initial:""}),remark:H().describe("หมายเหตุ (createTO :197 / fulfillTR :319 · ไม่ส่ง = ไม่มี key ผ่าน removeUndefined)").meta({initial:""})}).passthrough();K({id:B().optional().describe("doc id (runtime · = `poId` ที่ทุก op ของ poManage ใช้เป็น lookup key)"),orderNumber:B().optional().describe("เลขที่ใบสั่งของ (server ออกให้)").meta({initial:""}),orderListNumber:B().optional().describe("เลขที่ของ OL (ใบรายการที่ใบนี้อ้างถึง · ตามคอมเมนต์ในซีด)").meta({initial:""}),shopId:B().optional().describe("สาขาผู้สั่ง").meta({initial:""}),shopName:B().optional().describe("ชื่อสาขาผู้สั่ง snapshot").meta({initial:""}),franchiseId:B().optional().describe("แฟรนไชส์เจ้าของใบ — 🔒 server bind จาก `req.franchiseAccess` เสมอ ไม่เชื่อ body (poManage ตรวจ `po.franchiseId === caller` ไม่ตรง = 403 not_owner)").meta({initial:""}),orderName:B().optional().describe("ชื่อผู้สั่ง").meta({initial:""}),orderTel:B().optional().describe("เบอร์โทรผู้สั่ง").meta({initial:""}),saleOrderName:B().optional().describe("ชื่อผู้อนุมัติออเดอร์ (แก้ได้ผ่าน op `update`)").meta({initial:""}),saleOrderId:B().optional().describe("uid ผู้อนุมัติออเดอร์").meta({initial:""}),ongoingName:B().optional().describe("ชื่อผู้อนุมัติจัดสินค้า").meta({initial:""}),ongoingId:B().optional().describe("uid ผู้อนุมัติจัดสินค้า").meta({initial:""}),preparedName:B().optional().describe("ชื่อผู้จัดสินค้าเสร็จ").meta({initial:""}),preparedId:B().optional().describe("uid ผู้จัดสินค้าเสร็จ").meta({initial:""}),deliveryName:B().optional().describe("ชื่อผู้อนุมัติจัดส่ง — server เขียนเองตอน op `process:deliver` (poManage `computeProcess`) และเคลียร์เป็น '' ตอน `reset`").meta({initial:""}),deliveryId:B().optional().describe("uid ผู้อนุมัติจัดส่ง — server bind จาก `authId` ตอน `process:deliver` (ไม่เชื่อ profileId ที่ client ส่ง)").meta({initial:""}),product:T(M()).optional().describe("รายการสินค้าที่สั่ง — row shape ยังไม่ ground → z.any() (ต่างจาก `PurchaseOrder.boms[]` ที่เป็นวัตถุดิบ)").meta({initial:[]}),logisticCost:re([Y(),B()]).optional().describe("💰 ค่าขนส่ง (form-string ได้)").meta({initial:""}),totalPrice:re([Y(),B()]).optional().describe("💰 ยอดรวมสินค้า").meta({initial:""}
199),vatAmount:re([Y(),B()]).optional().describe("💰 ภาษีมูลค่าเพิ่ม").meta({initial:""}),net:re([Y(),B()]).optional().describe("💰 ยอดสุทธิที่ต้องจ่าย").meta({initial:""}),tax:B().optional().describe("ข้อมูลภาษี/เลขผู้เสียภาษีบนใบ").meta({initial:""}),payStatus:U().optional().describe("💰 จ่ายแล้วหรือยัง — เขียนได้ทางเดียวคือ op `markPaid` (พร้อม `acceptId`/`acceptName`) · ❌ `update` แก้ไม่ได้").meta({initial:!1}),paymentChannel:M().optional().describe("ช่องทางชำระเงิน — ⚠️ ซีดตั้งต้นเป็น `''` แต่คอมเมนต์ในซีดระบุว่าของจริง 'เป็น object' ⇒ อย่า assume ว่าเป็น string").meta({initial:""}),sendingTime:B().optional().describe("รอบส่งที่เลือก (อ้าง `Route.openTime[].sendingTime`)").meta({initial:""}),address:B().optional().describe("ที่อยู่จัดส่ง").meta({initial:""}),process:B().optional().describe('สถานะใบ: `order`→`prepare`→`deliver`→`success` (POS เขียน `success` ตอนรับเข้าคลัง · bom/inboundFranchise) · `cancel` = ปลายทางแยก · HQ กด "ส่งสินค้าเสร็จสิ้น" = คง `deliver` + ธง `shipDone` (DEV-1330 — ❌ ไม่เขียน `end` อีก · `end` = ค่า legacy ที่ migration แปลงเป็น deliver+shipDone) — 🔒 server-validated transition (poManage `PROCESS_ALLOWED_FROM` · ข้ามขั้น = 409 bad_transition) · ❌ แก้ผ่าน op `update` ไม่ได้').meta({initial:"order"}),prepareStatus:B().optional().describe("สถานะการจัดของ: order / ongoing / success (ตามคอมเมนต์ในซีด)").meta({initial:""}),shipDone:U().optional().describe('HQ กด "ส่งสินค้าเสร็จสิ้น" แล้ว (DEV-1330) — ใบยังอยู่ `deliver` เพื่อให้ POS ทุกรุ่นเห็นในแท็บจัดส่งและกดรับได้ · เว็บ HQ ใช้แยกแท็บ จัดส่ง/ส่งเสร็จ · เขียนได้ทางเดียวคือ poManage op process `end` (reset = false) · `cancel` ห้ามเมื่อ true').meta({initial:!1}),shipDoneAt:M().optional().describe("เวลาที่ HQ กดส่งสินค้าเสร็จสิ้น (Timestamp · poManage · migration ใช้ arrProcess type end ถ้ามี)"),trackingNumber:B().optional().describe("เลขพัสดุ (อยู่ใน `UPDATE_WHITELIST` — แก้ผ่าน op `update` ได้)").meta({initial:""}),imageId:B().optional().describe("รูปแนบใบ (สลิป/หลักฐาน) — ฝั่งจอใช้ตัดสิน `payStatus` ตอนกด approve").meta({initial:""}),timestamp:M().optional().describe("เวลาสร้างใบ (Date/Timestamp)").meta({initial:"__NEW_DATE__"}),billDate:B().optional().describe("วันที่บนบิล (วันไทย)").meta({initial:""}),notes:T(K({id:B().optional(),profileName:B().optional(),profileId:B().optional(),value:B().optional()}).passthrough()).optional().describe("หมายเหตุแบบมีผู้เขียน [{id,profileName,profileId,value}] — ⚠️ ซีดตั้งต้นเป็น **array ที่มี 1 แถวว่าง** (ไม่ใช่ `[]`) · 🪦 ยังไม่มีผู้อ่านในรีโป และ whitelist ของ server ใช้ชื่อ **`note` (เอกพจน์)** ไม่ใช่ `notes` ⇒ อย่าเพิ่งพึ่งช่องนี้").meta({initial:[{id:"",profileName:"",profileId:"",value:""}]}),note:B().optional().describe("หมายเหตุข้อความเดียว — ช่องที่ `UPDATE_WHITELIST` ของ poManage รับจริง (ต่างจาก `notes` ข้างบน)"),acceptId:B().optional().describe("uid ผู้กดยืนยันว่าจ่ายแล้ว (poManage `computeMarkPaid` · bind `authId`)"),acceptName:B().optional().describe("ชื่อผู้กดยืนยันว่าจ่ายแล้ว snapshot"),cancelId:B().optional().describe("uid ผู้ยกเลิกใบ (poManage `computeCancel`)"),
199cancelName:B().optional().describe("ชื่อผู้ยกเลิกใบ snapshot"),deliveryTime:M().optional().describe("เวลาที่กดจัดส่ง (server timestamp · เขียนพร้อม `process:'deliver'`)"),prepareTime:M().optional().describe("เวลาที่จัดของเสร็จ (อยู่ใน `UPDATE_WHITELIST`)"),sendId:B().optional().describe("uid ผู้กดปิดงานส่ง (`process:'end'`) — เคลียร์เป็น '' ตอน `reset`"),sendName:B().optional().describe("ชื่อผู้กดปิดงานส่ง snapshot"),sendTel:B().optional().describe("เบอร์ผู้ส่ง — server เคลียร์เป็น '' ตอน `reset` (ไม่มี writer ที่ตั้งค่า พบเฉพาะ path เคลียร์)"),arrProcess:T(M()).optional().describe("ประวัติการเปลี่ยนสถานะ [{type,timestamp,createdBy}] — server append ทุกครั้งที่ op `process` (reset = filter deliver/end ออก)"),actorUid:B().optional().describe("uid ผู้ทำรายการล่าสุด — server เขียนทุก write (audit · poManage transaction.update)"),updatedAt:M().optional().describe("เวลาที่แก้ล่าสุด (server timestamp · เขียนทุก write)"),soNumber:B().optional().describe("**เลขใบสั่งขาย (SO)** — server ออกให้ตอน op `soApprove` (order→prepare · entry `so` prefix `SO`) · เป็นตัวล็อก replay ของขั้นอนุมัติด้วย (`po.soNumber` มีแล้ว = ยิงซ้ำ zero-mutation) · ใบที่ถึงสถานะ ≥`prepare` จะมีช่องนี้เสมอ · 🚧 createBL ต้องมีช่องนี้ก่อน (409 `so_required`)"),blNumber:B().optional().describe("**เลขใบวางบิล (BL)** — server ออกให้ตอน op `createBL` (entry `bl` prefix `BL`) · 🚧 createINV ต้องมีช่องนี้ก่อน (409 `bl_required`)"),blDate:M().optional().describe("วันที่ออกใบวางบิล (Date/Timestamp · server ประทับเอง `new Date()` ตอน `createBL`) — อยู่ใน `echoFields` ⇒ ส่งกลับให้จออัปแถวทันทีทั้งทางออกใบใหม่และทางยิงซ้ำ (ไม่งั้นกดซ้ำแล้ววันที่บนจอหายเฉย ๆ)"),creditTerm:M().optional().describe('💰 **วันครบกำหนดชำระบนใบวางบิล — เป็น "วันที่" ไม่ใช่จำนวนวัน** (⚠️ ชื่อชนกับ `Shop.creditTerm`/`Supplier.creditTerm` ซึ่งเป็น *จำนวนวัน* — คนละความหมาย) · server คิดเอง 100% ผ่าน `billDueDate()` (salesOut.js): ใบเครดิต = ใช้ `po.lastPayment` ที่ตั้งไว้ตอนอนุมัติ (ใบวางบิลใช้วันเดียวกับหน้าลูกหนี้) · ใบโอน/จ่ายเลย = วันออกใบ + `Shop.creditTerm` (ไม่ตั้ง = 30 วัน) · 🔒 `body.creditTerm` ที่จอเก่าส่งมา = **เพิกเฉย** (ให้ผู้เรียกกำหนดเอง = เลื่อนวันครบกำหนดของตัวเองได้) · อยู่ใน `echoFields` คู่กับ `blDate`'),taxInvoice:M().optional().describe("ข้อมูลผู้ซื้อบนใบกำกับ snapshot ตอน `createBL` — จอส่ง `currentTax` (= `Shop.tax` · object `{name,tel,address,taxNumber,branch,headquarter}` ที่ `Modal_BL`/`Modal_INV` destructure) · server รับตามที่ส่งมาเมื่อ `body.taxInvoice !== undefined` ⇒ **ชนิดไม่ปิด** (เทสฝั่ง server ยิง `true` ก็ลงได้)"),invNumber:B().optional().describe("**เลขใบกำกับภาษี (INV)** — server ออกให้ตอน op `createINV` (entry `inv` prefix `INV`)"),invDate:M().optional().describe("วันที่ออกใบกำกับภาษี (Date/Timestamp · server ประทับเองตอน `createINV`) — ⚠️ ฝั่งเว็บอ่านจากประวัติมาเป็น `{_seconds,_nanoseconds}` ดิบ (purchaseSlice format ให้เฉพาะ `blDate`/`creditTerm`/`timestamp`)"),lastPayment:M().optional().describe("💰 **วันครบà¸
199à¸³à¸«à¸™à¸”ชำระของใบเครดิต** (Date) — server คำนวณเองตอน op `soApprove` = `plusDays(now, creditDaysOf(po))` เฉพาะใบที่ช่องทางชำระเป็นเครดิต · 🔒 `body.lastPayment` = เพิกเฉย · ใบไม่ใช่เครดิต **หรือ** ช่องทางเครดิตไม่มีจำนวนวันที่ใช้ได้ = **ไม่เขียนช่องนี้เลย** (❌ ห้ามแปลง null เป็น 0 = 'ครบกำหนดวันนี้' คนละความหมายกับ 'ไม่รู้วันครบกำหนด') · 🔴 ต้องลงฐานเป็นวันที่จริง — แอป POS รุ่นที่ลูกค้าใช้อยู่เรียก `lastPayment.toDate()` ตรง ๆ ค่าที่ไม่ใช่วันที่ = การ์ดล้มทั้งใบ"),paidAt:M().optional().describe("💰 เวลาที่กดยืนยันว่าจ่ายแล้ว (server timestamp · เขียนพร้อม `payStatus:true`/`acceptId`/`acceptName` ใน op `markPaid`) — 🔒 ต้องอยู่นอก `UPDATE_WHITELIST` เสมอ (เปิดให้ `update` แตะได้เมื่อไหร่ = แก้เวลาปิดหนี้ย้อนหลังได้)"),noSlipConfirmed:U().optional().describe("🧾 ร่องรอยว่าใบนี้ **ปิดหนี้โดยไม่มีสลิป** — ด่านสลิปของ `markPaid` บล็อกใบที่ไม่มี `imageId` เว้นแต่ผู้ใช้ยืนยัน `noSlipConfirmed:true` มาด้วย · ❌ server ไม่เขียน `false` ทับใบปกติ ⇒ absent = ปิดหนี้ตามปกติ (มีหลักฐาน)"),onlyAdjustProduct:T(M()).optional().describe("**ยอดตั้งต้นเดิม vs ยอดปัจจุบัน ราย row** (1 id = 1 บรรทัด · `{id,name,unit,prevQty,nextQty,diffQty,prevTotalPrice,diffTotalPrice}` จาก `mergeAdjustLog`) → ตอบคำถาม *'ตกลงสาขาได้เท่าไหร่'* · 📄 **พิมพ์บนเอกสาร** และ `prevQty` ถูกอ่านเป็นคอลัมน์ 'จำนวนที่สั่ง' บนใบรับของ (`SaleInInboundScreen.js` → `Modal_Inbound.js`) ⇒ ตั้งต้นเพี้ยน = ช่องเทียบ สั่ง/อนุมัติ/รับจริง โกหกเงียบ · เดิม client เขียนฝ่ายเดียว = ประวัติปลอมได้ (ปิดรูแล้ว DEV-1006)"),adjustHistory:T(M()).optional().describe("🧾 **ประวัติการปรับจำนวนราย 'รอบ'** (append · `{at,by,byName,reason,reasonId,items:[แถวที่เปลี่ยนรอบนั้น]}`) → ตอบคำถาม *'ใครสั่งเปลี่ยน ตอนไหน เพราะอะไร'* · ❌ ไม่พิมพ์บนเอกสาร · เก็บทั้ง `reason` (ข้อความสำเนา ณ วินาทีที่ปรับ = หลักฐาน) และ `reasonId` (ไว้จัดกลุ่ม) เพราะ HQ เปลี่ยนชื่อเหตุผลทีหลังได้ · เพดาน 200 รอบ/ใบ (กันชนเพดานเอกสาร 1 MiB) เต็มแล้ว = 409 `adjust_history_full` ❌ ไม่ตัดของเก่าทิ้ง"),diff:U().optional().describe("รับของ **ไม่ตรงจำนวน** ที่สั่งไหม — ค่าที่ไม่ใช่ boolean = ถือว่า `false` (ไม่ล้มคำขอ · `sanitizeOrderPayload`)"),diffInbound:B().optional().describe("หมายเหตุ/เหตุผลตอนรับไม่ตรงจำนวน (ส่งมาเมื่อ `diff` เป็นจริง) — ไม่ใช่ string = drop เงียบ (log ไว้)"),inboundName:B().optional().describe("ชื่อผู้รับของฝั่งสาขา snapshot — ไม่ใช่ string = drop เงียบ"),inboundNote:B().optional().describe("หมายเหตุตอนรับของ — ไม่ใช่ string = drop เงียบ"),inboundProduct:T(M()).optional().describe("**จำนวนที่สาขานับได้จริง ราย row** — server ตัดให้เหลือ **2 ช่องเป๊ะ** `{id, inboundQty}` ก่อนเขียน (ไม่ตัด = เป็นรูที่ยัดช่องเงินซ่อนเข้ามาใน object ลูกได้) · ไม่ใช่ array = drop เงียบ"),imageUrls:T(B()).optional().describe("รูปหลักฐานตอนรับของ (ส่งมาเมื่อแนบรูป) — server กรองเหลือเฉพาะสมาชิกที่เป็น string · ไม่ใช่ array = drop เงียบ"),clientXId:B().optional().describe("id ที่ client ออกให้ 1 ครั้ง/การกด — audit provenance (ไม่ใช่ตัวล็อก idempotency ของ markPaid ซึ่งใช้ state-based)")}).passthrough();K({id:B().optional().describe("doc id (runtime · = `clientXId` ที่ client ออกตอน create — ตัวเดียวกับกุญแจกัน double-fire)"),aId:B().optional().describe("คลังต้นทาง — `Franchise.multiWarehouses[].id` · `'master'` = คลังกลาง (สต๊อกอยู่ที่ `warehouseItem.stock`) · คลังอื่นอยู่ใน `warehouseItem.multiStock[]`").meta({initial:""}),aName:B().optional().describe("ชื่อคลังต้นทาง snapshot").meta({initial:""}),aCode:B().optional().describe("รหัสคลังต้นทาง snapshot").meta({initial:""}),aAddress:B().optional().describe("ที่อยู่คลังต้นทาง snapshot").meta({initial:""}),aProducts:T(M()).optional().describe("รายการที่ต้นทางส่งออก [{id,qty,…}] (`id` = `warehouseItem` doc id) — 🔒 ตัวตั้งของการคืนสต๊อกตอน cancel (server ใช้ค่าในเอกสาร ไม่เชื่อ body)").meta({initial:[]}),aNote:B().optional().describe("หมายเหตุฝั่งต้นทาง").meta({initial:""}),bId:B().optional().describe("คลังปลายทาง — server อ่านจากเอกสารตอน advance (ไม่เชื่อ body ให้เปลี่ยนปลายทางกลางทาง)").meta({initial:""}),bName:B().optional().describe("ชื่อคลังปลายทาง snapshot").meta({initial:""}),bCode:B().optional().describe("รหัสคลังปลายทาง snapshot").meta({initial:""}),bAddress:B().optional().describe("ที่อยู่คลังปลายทาง snapshot").meta({initial:""}),bProducts:T(M()).optional().describe("จำนวนที่ปลายทางนับรับจริง — 🔒 `id` ต้องเป็นสับเซ็ตของ `aProducts` (server บังคับ) · ใช้ตอน `sent→success`").meta({initial:[]}),bNote:B().optional().describe("หมายเหตุฝั่งปลายทาง").meta({initial:""}),process:B().optional().describe("สถานะใบ: `pending`→`prepared`→`sending`→`sent`→`success` · `cancel` = ปลายทางแยก — 🔒 server bump ทีละขั้นเอง (`NEXT_PROCESS`) ไม่เชื่อค่าที่ client ส่ง · ยกเลิกได้ก่อนถึง `sent` เท่านั้น").meta({initial:""}),arrProcess:T(M()).optional().describe("ประวัติการเปลี่ยนสถานะ [{id,name,timestamp,process}
199] (+`clientXId` ที่ server ใช้ตรวจ replay ⇒ กดซ้ำไม่ขยับสต๊อกซ้ำ)").meta({initial:[]}),orderNumber:B().optional().describe("เลขที่เอกสาร (prefix `WH`) — 🔒 server ออกให้ตอน create ผ่าน `franchiseOrderNumber` (client ห้ามส่งเลขมาเอง · money class B#3)").meta({initial:""}),billDate:B().optional().describe("วันที่บนเอกสาร (วันไทย · server ประทับเอง)").meta({initial:""}),diff:U().optional().describe("จำนวนที่รับจริงไม่ตรงกับที่ส่งมา (ปลายทางนับได้ต่าง)").meta({initial:!1}),diffNote:B().optional().describe("รายละเอียดความต่าง (ใช้เมื่อ `diff = true`)").meta({initial:""}),franchiseId:B().optional().describe("แฟรนไชส์เจ้าของใบ — 🔒 bind จาก `req.franchiseAccess` เสมอ · ทุก op assert `warehouseItem.franchiseId === caller` (ไม่ตรง = 403 abort ทั้ง txn)"),timestamp:M().optional().describe("เวลาสร้างใบ (server timestamp)"),clientXId:B().optional().describe("กุญแจกันกดซ้ำ — `create` ใช้เป็น doc id (มีแล้ว = คืนผลเดิม ไม่ตัดสต๊อกซ้ำ) · `advance` ตรวจ replay จาก `arrProcess`")}).passthrough();var Uoe=K({id:B().optional().describe("id ของแถวส่วนผสม (uuid ฝั่งจอ) — key ตอนแก้/ลบราย row").meta({initial:""}),qty:re([Y(),B()]).optional().describe("ปริมาณที่ใช้ (form-string ได้ · ช่องกรอกยังว่าง = '')").meta({initial:""}),name:B().optional().describe("ชื่อหน่วยที่เลือกใช้ในสูตร (snapshot จาก `Bom.unit[].name`)").meta({initial:""}),rawMatName:B().optional().describe("ชื่อวัตถุดิบ snapshot (โชว์บนตารางสูตร)").meta({initial:""}),rawMatId:B().optional().describe("doc id ของวัตถุดิบที่ใช้ (`bom/{id}`) — ตัวอ้างอิงจริง").meta({initial:""})}).passthrough();K({id:H().describe("doc id (runtime · = rawMatId)"),shopId:H().describe("ร้าน").meta({initial:""}),name:H().describe("ชื่อวัตถุดิบ").meta({initial:""}),category:T(M()).optional().describe("หมวดวัตถุดิบ").meta({initial:[]}),unit:T(M()).optional().describe("หน่วย [{id,name,amount}] — id = unitId").meta({initial:[]}),cost:K({}).passthrough().optional().describe("{id,cost} ต้นทุนล่าสุด weighted-avg").meta({initial:{id:"",cost:""}}),stock:xe().describe("คงเหลือ (หน่วยย่อยสุด)").meta({initial:0}),minimumStock:K({}).passthrough().optional().describe("{qty,status,id} เตือนสต๊อกต่ำ").meta({initial:{qty:"",status:!1,id:""}}),expectedStock:K({}).passthrough().optional().describe("{qty,status,id} จำนวนคงเหลือคาดหวัง — ระดับสต๊อกที่ร้านอยากมีพอขาย · จอสั่งซื้อ (PR / marketplace สาขาแฟรนไชส์) ใช้คำนวณ 'ควรสั่งเพิ่ม = expectedStock − คงเหลือปัจจุบัน' (แปลงหน่วยเดียวกันก่อนลบ · ≤0 = ไม่แนะนำ) · qty = ปริมาณคาดหวัง (string ในหน่วย id) · status = เปิด/ปิด · id = unitId ที่ qty อ้าง — โครงเดียวกับ minimumStock").meta({initial:{qty:"",status:!1,id:""}}),franchiseId:H().describe("แฟรนไชส์").meta({initial:""}),brothStatus:U().optional().describe("เป็นน้ำซุป/สูตรผสมไหม").meta({initial:!1}),broths:T(Uoe).optional().describe("สูตรน้ำซุป — 1 แถว/ส่วนผสม (shape=Broth · ซีดแถว initialBroth.js)").meta({initial:[]}),countStock:T(M()).optional().describe("ประวัตินับสต๊อก").meta({initial:[]}),vat:U().optional().describe("vatable ไหม").meta({initial:!0}),yield:xe().describe("% yield (default 100 · CLAUDE.md)").meta({initial:100}),sku:H().describe("รหัสสินค้า").meta({initial:""})}).passthrough();K({id:H().describe("= `bom/{id}` doc id (rawMatId) ของวัตถุดิบในแถวนี้ — ตัวที่ server เอาไปอัป stock/cost").meta({initial:""}),name:H().describe("ชื่อวัตถุดิบ ณ เวลาทำรายการ (snapshot · ไม่ตามการเปลี่ยนชื่อภายหลัง)").meta({initial:""}),unit:T(M()).optional().describe("ทะเบียนหน่วยของวัตถุดิบ [{id,name,amount}] ที่จอ copy มาให้เลือก — **ฝั่งจอเท่านั้น** (canonicalBomRow ไม่เขียนช่องนี้ลงเอกสาร)").meta({initial:[]}),unitId:H().describe("หน่วยที่เลือกรับ/เบิก (= `Bom.unit[].id`) — ตัวชี้ว่า `amount` มาจากแถวไหน").meta({initial:""}),qty:xe().describe("จำนวนตามหน่วยที่เลือก **ก่อนคูณ `amount`** — ⚠️ ความหมายต่างตามเส้น: รับเข้า/รับจาก GR เขียนทับด้วย `netQty` (หลัง yield · inbou
199nd.js:151 · inboundFromGR.js:290) · ใบคืนของเขียนติดลบ (reverseGR.js:190) · เบิกใช้ค่าที่จอส่งมาตรงๆ").meta({initial:""}),amount:xe().describe("ตัวคูณแปลงหน่วย → หน่วยย่อยสุด (เช่น ลัง=12) · server บังคับ > 0 (inbound.js:27 `bad_amount`) เพราะเป็นตัวคูณของ stock ที่ตัดจริง").meta({initial:""}),unitName:H().describe("ชื่อหน่วยที่เลือก (snapshot สำหรับรายงาน/ไฟล์ export)").meta({initial:""}),cost:K({}).passthrough().optional().describe("snapshot ต้นทุน **ต่อหน่วยย่อย** ของวัตถุดิบ ณ เวลาทำรายการ `{id, cost}` (= `Bom.cost` ที่ก็อปมา) — เป็นฐานของสูตรสำรองเวลา `netTotalCost` ไม่มี · ใบคืนของเติมย้อนจาก `costById` (reverseGR.js:192)"),grossQty:xe().describe("จำนวนที่รับเข้า **ก่อนหักสูญเสีย** (ตัวเลขที่คนกรอกในฟอร์ม · BomInboundScreen.js:132 `Number(addBom.qty)`) — ฐานของ `netQty` · ใบคืนของเขียนติดลบ (reverseGR.js:194)"),netQty:xe().describe("จำนวนสุทธิหลังหัก `%yield` = `round(grossQty × yield/100, 3)` (BomInboundScreen.js:134) — **ตัวหารของต้นทุนต่อหน่วย** (server: `qty = netQty × amount` แล้วเอาไปเฉลี่ย weighted-avg · inbound.js:22-25) · server บังคับ > 0 (`bad_qty`) เพราะ 0 เคยทำให้ `newCost/qty` = Infinity แล้ว poison ทั้งเส้นต้นทุน"),yield:xe().describe("% ผลผลิตที่ใช้ได้จริงของล็อตนี้ (default 100 · มาจาก `Bom.yield`) — ตัวแปลง grossQty → netQty · เขียนเฉพาะเส้นรับเข้า (extra ของ canonicalBomRow)"),netTotalCost:xe().describe("💰 **ต้นทุนรวมสุทธิของทั้งแถว (เงินที่จ่ายจริง)** — ชื่อช่อง canonical ตัวเดียวของบ้าน (`bomRow.js` CANONICAL_COST_FIELD) · resolve แล้วตอนเขียน: ค่าที่คนกรอก ถ้าไม่มีก็ `amount × cost.cost × qty` (`@scanfood/logic`.bomRowTotalCost) · **หา resolve ไม่ได้ = ไม่เขียนช่องนี้เลย ≠ เขียน 0** · ค่านี้คือตัวที่ไปเฉลี่ย weighted-average เข้า `Bom.cost` ⇒ ผิด = ต้นทุนทั้งร้านผิดเงียบ"),newCost:xe().describe("ช่องกรอก 'ต้นทุนรวมของล็อตนี้' ฝั่งจอ (string จาก TextInput · BomInboundScreen.js:135) **และ** ชื่อเก่าของ `netTotalCost` ในเอกสารก่อน 2026-08-01 — ⚠️ writer ปัจจุบัน **ตัดทิ้งเสมอ** (`canonicalBomRow` ไม่ copy) · ฝั่งอ่านยังต้องรับเป็น fallback ของ `netTotalCost` ตลอดไป (LEGACY_COST_FIELDS) · ❌ ไม่ใช่ 'ต้นทุนต่อหน่วยใหม่หลังเฉลี่ย' — ตัวนั้นคือ `bomAdd.costChanges[].newCost` คนละช่องกัน")}).passthrough();K({id:H().describe("uuid บุฟเฟ่ต์").meta({initial:""}),name:H().describe("ชื่อ").meta({initial:""}),detail:H().describe("กติกา").meta({initial:""}),product:T(M()).optional().describe("เมนูที่กินได้ [{id,charge}]").meta({initial:[]}),time:xe().describe("เวลาจำกัด นาที (default 90)").meta({initial:90}),status:U().optional().describe("เปิด/ปิด").meta({initial:!1}),limitTime:U().optional().describe("จำกัดเวลาไหม").meta({initial:!1}),openProduct:T(M()).optional().describe("สินค้าเปิดโต๊ะ (น้ำซุป)").meta({initial:[]})}).passthrough();K({id:H().describe("product id").meta({initial:""}),charge:U().optional().describe("คิดเงินเพิ่มไหม").meta({initial:!1}),maxQty:xe().describe("สั่งได้สูงสุด (default 10)").meta({initial:10}),limit:xe().describe("ลิมิต (default 2)").meta({initial:2}),limitStatus:U().optional().describe("เปิดลิมิตไหม").meta({initial:!1})}).passthrough();K({id:H().meta({initial:""}),name:H().meta({initial:""}),tel:H().meta({initial:""}),note:H().meta({initial:""}),timestamp:H().describe("(form-string)").meta({initial:""}),product:T(M()).optional().describe("[{name,qty}]").meta({initial:[]}),billDate:H().meta({initial:""}),code:H().meta({initial:""}),receiveDate:H().meta({initial:""}
199),expireDate:M().optional().describe("วันหมดอายุ (Date)").meta({initial:"__NEW_DATE__"}),staffDeposit:H().meta({initial:""}),staffDepositId:H().meta({initial:""}),staffWithdraw:H().meta({initial:""}),staffWithdrawId:H().meta({initial:""}),staffCancel:H().meta({initial:""}),staffCancelId:H().meta({initial:""}),cancelDate:H().meta({initial:""}),reason:H().describe("เหตุยกเลิก").meta({initial:""}),process:Ge(["deposit","success","cancel"]).optional().describe("สถานะ (default deposit)").meta({initial:"deposit"})}).passthrough();K({id:H().meta({initial:""}),name:H().meta({initial:""}),tel:H().meta({initial:""}),note:H().meta({initial:""}),timestamp:H().meta({initial:""}),billDate:H().meta({initial:""}),code:H().meta({initial:""}),receiveDate:H().meta({initial:""}),dueDate:M().optional().describe("กำหนด (Date)").meta({initial:"__NEW_DATE__"}),staffEarnest:H().meta({initial:""}),staffEarnestId:H().meta({initial:""}),staffCancel:H().meta({initial:""}),staffCancelId:H().meta({initial:""}),cancelDate:H().meta({initial:""}),reason:H().meta({initial:""}),process:Ge(["deposit","success","cancel"]).optional().describe("สถานะ").meta({initial:"deposit"}),imageId:H().meta({initial:""}),earnest:xe().describe("💰 ยอดมัดจำ").meta({initial:""}),receiptNumber:H().describe("เลขที่ใบเสร็จที่ผูกกับใบมัดจำนี้ (ซีดฟอร์ม '' · `.passthrough()` ยอมรับมาตลอดอยู่แล้ว)").meta({initial:""})}).passthrough();K({id:H().meta({initial:""}),clockIn:M().optional().describe("เวลาเข้า (Date)").meta({initial:"__NEW_DATE__"}),clockOut:M().optional().describe("เวลาออก (Date)").meta({initial:"__NEW_DATE__"}),shopId:H().meta({initial:""}),profileId:H().meta({initial:""}),clockInImage:H().meta({initial:""}),clockOutImage:H().meta({initial:""})}).passthrough();K({shopId:B().optional().describe("ร้านที่คำขอใบนี้เป็นของ — คีย์กรองของ listener ฝั่ง POS (`useTaskAlert.js:161` where shopId ==) และเป็นชั้นที่ 2 ของด่านสิทธิ์ตอนกดรับทราบ (`claude/task/ack.js` เทียบ `doc.shopId === body.shopId` แล้วตอบ 404 ถ้าไม่ตรง — ไม่บอกคนนอกว่า id นี้มีอยู่จริง)"),taskId:re([B(),Y()]).optional().describe("id ของแถวใน `Shop.smartRequest[]` ที่ลูกค้ากด — **ชนิดปนกันจริงบนฐาน**: เลข int ของ 4 แถวตั้งต้น (18/28/38/48) กับสตริง uuid ของแถวที่ร้านเพิ่มเอง ⇒ ทุกฝั่งเทียบด้วย `String()` เสมอ (`createTask.js` › `findRow`) · เก็บรูปเดิมตามฐาน ไม่แปลงชนิด"),name:B().optional().describe("ชื่อคำขอที่ลูกค้ากด (เช่น 'เรียกพนักงาน' · 'ชำระเงิน') — **สำเนาจาก `Shop.smartRequest[].name` ณ เวลากด** ไม่ใช่ค่าที่ client ส่งมา · ⚠️ ฝั่ง POS `Modal_Task` อ่าน `content` = ชื่อคำขอ · `name` = ชื่อโต๊ะ ⇒ ตัวแปลง `toTaskPayload` (`scanfood/src/hook/useTaskAlert.js:108`) สลับให้ก่อนส่งเข้า `addTask`"),imageId:B().optional().describe("URL ไอคอนของคำขอ — สำเนาจาก `Shop.smartRequest[].imageId` ณ เวลากด (แถวที่ไม่มีรูป = '' · `createTask.js` › `buildTaskDoc`)"),tableId:B().optional().describe("id โต๊ะที่กดเรียก — **บังคับ** (ไม่มี = 400 `missing task.tableId`) เพราะพนักงานต้องรู้ว่าเดินไปโต๊ะไหน · เป็นส่วนหนึ่งของ doc id (กันกดรัวต่อโต๊ะ) และเป็นคีย์ที่ POS ใช้ ack คำขอของโต๊ะนั้นตอนเช็คบิล"),tableName:B().optional().describe("ชื่อโต๊ะที่คนอ่านออก (snapsh
199ot) — ใช้เป็นหัวข้อของแจ้งเตือนและข้อความบนแถบเตือนที่ POS · ว่างได้ (ตกไปใช้ `tableId` แทน · `createTask.js` › `buildPush`)"),alertLevel:Ge(["normal","max"]).optional().describe("ระดับการปลุกที่เครื่องพนักงาน — **สำเนาจาก `Shop.smartRequest[].alertLevel` ของแถวนั้น** (ไม่มี/ค่าอื่น = `normal`) · `normal` = ขึ้น badge กระดิ่ง + TTS เหมือนเดิม · `max` = แถบเตือนค้างบนจอ + เสียงวนดังสุด + สั่น จนกว่าจะมีคนกดรับทราบ (`scanfood/src/hook/useTaskAlert.js:36` `isMaxLevel`) และ push ใช้ช่อง urgent · 🔒 ค่านี้ห้ามมาจาก body ของผู้เรียก (เส้น create เป็น public — ปล่อยให้กำหนดเอง = ใครก็ปลุกทั้งร้านได้)"),acked:U().optional().describe("มีคนกดรับทราบคำขอใบนี้แล้วหรือยัง — server เขียน `false` ตอนสร้างเสมอ · **เป็นเงื่อนไขใน query ของ listener** (`where acked == false`) ⇒ พอ `/claude/task/ack` พลิกเป็น `true` doc หลุดจาก snapshot ของ **ทุกเครื่องพร้อมกัน** = เสียง/สั่น/แถบหยุดเองโดยไม่ต้องส่งสัญญาณระหว่างเครื่อง · ⚠️ doc ยุคก่อน DEV-1349 ไม่มีคีย์นี้ ⇒ ไม่เข้า query (เจตนา: คำขอเก่าไม่ย้อนมาปลุก)"),ackBy:B().optional().describe("`profileId` ของคนที่กดรับทราบ (ว่างตอนสร้าง) — มาจากด่านสิทธิ์ฝั่ง server (`deriveShopAccess` › `personId`) ไม่ใช่จาก body ⇒ เป็นประวัติว่าใครรับจริง · ack ซ้ำไม่ทับของคนแรก (transaction ใน `claude/task/ack.js`)"),ackAt:M().optional().describe("เวลาที่กดรับทราบ (Firestore Timestamp) — `null` ตอนสร้าง · ตั้งครั้งเดียวโดยคนที่กดก่อน · ack ซ้ำตอบ 200 แต่ **ไม่แตะค่านี้** (ไม่งั้นประวัติ 'รับเมื่อไหร่' เพี้ยนเมื่อหลายเครื่องกดพร้อมกัน)"),staffId:B().optional().describe("⚠️ legacy — เขียน `''` เสมอ ยังไม่มีผู้อ่านฝั่งใหม่ · คงช่องไว้เพราะ doc ยุคเก่า (`Modal_Request` เขียนตรงจาก client) มีช่องนี้ และของที่ ack แล้วใช้ `ackBy` แทน"),timestamp:M().optional().describe("เวลาที่คำขอเกิด (Firestore Timestamp) — **เวลาของ server เสมอ** (ของเดิมยอมรับ ISO string จาก client) · เหตุที่เลิกรับจาก client: POS ใช้ 'อายุของ doc' เป็นเกณฑ์ว่าจะเด้งเตือนไหม (เก่ากว่า 4 ชม. ไม่เด้ง · `scanfood/src/hook/useTaskAlert.js:88`) ⇒ เวลาที่ผู้เรียกกำหนดเองได้ = เกณฑ์นั้นถูกกำหนดโดยผู้เรียก ไม่ใช่โดยระบบ · ใช้เรียงคิวคำขอระดับ max ด้วย")}).passthrough();K({id:H().meta({initial:""}),shopId:H().meta({initial:""}),name:H().describe("ชื่อจุด (default จุดชำระเงินหลัก)").meta({initial:"จุดชำระเงินหลัก"}),isDefault:U().optional().describe("station หลัก ลบไม่ได้").meta({initial:!1}),devices:T(M()).optional().describe("เครื่องสังกัดจุด {uniqueId,name,role,printer?} (P2 · แทน deviceIds)").meta({initial:[]}),receiptPrinter:K({}).passthrough().optional().describe("ปริ้นเตอร์ใบเสร็จร่วมของจุด {type,ipAddress,starLanIp,paperMode,bluetooth} (multi-station P2)").meta({initial:{type:"",ipAddress:"",starLanIp:"",paperMode:"",bluetooth:{android:{address:"",name:""},ios:{address:"",name:""}}}}),stickerPrinter:K({}).passthrough().optional().describe("ปริ้นเตอร์สติกเกอร์ของจุด (mirror shop.printSticker · multi-station P2)").meta({initial:{printerType:"bluetooth",printerSize:"30",printerBluetooth:{android:{address:"",name:""},ios:{address:"",name:""}},printerEthernet:"",printerUsb:{vendor_id:"",product_id:"",device_name:""}}}),edcDevices:T(M()).optional().describe("EDC หลายตัว/station").meta({initial:[]}),status:Ge(["active","inactive"]).optional().describe("default active").meta({initial:"active"}),createdAt:H().describe("(form-string '' · initialStation.js)").meta({initial:""})}).passthrough();K({id:H().meta({initial:""}),shopId:H().meta({initial:""}),posId:H().meta({initial:""}),stationId:H().describe("multi-station (default 'default' · ร้านเดิม)").meta({initial:"default"}),status:U().optional().describe("เปิดกะ/ปิดกะ").meta({initial:!1}),openBy:H().meta({initial:""}),openCash:xe().meta({initial:""}),openComment:H().meta({initial:""}),openDiff:xe().meta({initial:""}),openTime:H().meta({initial:""}),openWithDraw:xe().meta({initial:""}),closeBy:H().meta({initial:""}),closeCash:xe().meta({initial:""}),closeComment:H().meta({initial:""}),closeDiff:xe().meta({initial:""}),closeTime:H().meta({initial:""}),closeWithDraw:xe().meta({initial:""}),duringShift:T(M()).optional().describe("ธุรกรรมระหว่างกะ (เบิก/ฝาก)").meta({initial:[]}),currentCash:xe().describe("เงินสดในลิ้นชักปัจจุบัน").meta({initial:0}),lastShiftDate:H().describe("เริ่มกะใหม่ (initialShift.js '20230909')").meta({initial:"20230909"}),shiftCount:xe().describe("ลำดับกะ").meta({initial:0}),receiptNumber:H().describe("เลขใบเสร็จล่าสุด (fetch)").meta({initial:""})}).passthrough();var Qoe=K({id:B().optional().describe("= `unitId` (คีย์ที่จับกลุ่ม) — 1 แถวต่อ 1 หน่วยนับที่ถูกตัด · ไม่ใช่ id ของวัตถุดิบ"),rawMatId:B().optional().describe("`bom/{id}` ของวัตถุดิบเจ้าของหน่วยนี้ — คีย์ที่รายงานต้นทุนใช้จับกลุ่ม (BomCostScreen.js:53)"),rawMatName:B().optional().describe("ชื่อวัตถุดิบ ณ เวลาปิดบิล (snapshot · โผล่บนใบเสร็จ ReceiptC
199omponent.js:37)"),amount:re([Y(),B()]).optional().describe("ตัวคูณแปลงหน่วยของหน่วยนี้ → หน่วยย่อยสุด (copy จาก unit master)"),name:B().optional().describe("ชื่อ**หน่วยย่อยสุด**ของวัตถุดิบ (หา unit ที่ `amount === '1'` แบบ string strict) — ไม่เจอ = `''` (bom.js:167-171)"),totalQty:re([Y(),B()]).optional().describe("จำนวนที่ใช้จริงในบิลนี้ **หน่วยย่อยสุด** = `amount × qty × จำนวนที่ขาย` (รวมทุกจุดที่ตัดหน่วยนี้: BOM หลัก + option ที่ติ๊ก + packaging ราย channel)"),totalCost:re([Y(),B()]).optional().describe("💰 ต้นทุนของหน่วยนี้ในบิลนี้ = `cost ต่อหน่วย × qty × จำนวนที่ขาย` — **ราคาแช่แข็ง ณ เวลาขาย** (รายงานอ่านค่านี้ตรงๆ ไม่คูณราคาปัจจุบันใหม่)")}).passthrough();K({billDate:H().meta({initial:""}),tableId:H().meta({initial:""}),tableName:H().meta({initial:""}),dailyReportId:B().optional().describe("🗓️ **บิลใบนี้ถูกนับเป็นยอดของวันธุรกิจไหน** — รูป `shopId + YYYYMMDD` · server ประทับตอนปิดบิล (`claude/cashier/checkout/create.js` ← `claude/_shared/billClock.js` › `mergeTimeHM(timestamp, cutOffHm, shopId, tz)`) · 🔴 **คนละกรอบวันกับ `billDate` และต่างกันได้จริง — ห้ามใช้แทนกันเด็ดขาด**: `billDate` = วันตามปฏิทิน **ตัดเที่ยงคืน** (`ymdInTz`) · ช่องนี้ = วันธุรกิจ **ตัดตาม `shop.cutOff`** ⇒ ร้านที่ตั้งปิดยอดตี 6 แล้วปิดบิลตี 2: `billDate` = วันนี้ · `dailyReportId` = **เมื่อวาน** · 💸 ราคาของการหยิบผิดช่องคือเงินจริงที่เกิดมาแล้ว: สูตร 'บิลนี้เป็นยอดของวันไหน' เคยถูกเขียนซ้ำ 2 ที่แล้ว fallback ไปใช้ `billDate` ดิบเหมือนกันทั้งคู่ ⇒ ร้าน `18lYqhTWzWIyiL6FV4XL` ยอดต่างจากที่ POS นับ **3,179 บาทพอดี** (DEV-0975 · บ้านเดียวของสูตรวันนี้ = `billDayHome`) · 🔑 **ไม่มีคีย์ = บิลก่อนยุค DEV-0858** (ยังไม่มีใครประทับ ⇒ ผู้อ่านต้องคำนวณสดจาก `timestamp` + `cutOff`/tz ของร้าน **ห้ามตกไปใช้ `billDate`**) — คนละสภาพกับค่าว่าง `''` ⇒ optional และ **ห้ามเติม default** · ร้านที่ไม่ได้ตั้ง `cutOff` = เที่ยงคืนของโซนร้าน ⇒ ค่านี้จะเท่ากับ `shopId + billDate` พอดี (เท่ากันโดยบังเอิญ ไม่ใช่เพราะเป็นช่องเดียวกัน)"),orderId:T(M()).optional().meta({initial:[]}),product:T(M()).optional().meta({initial:[]}),receiptNumber:H().meta({initial:""}),scShopId:H().meta({initial:""}),shopId:H().meta({initial:""}),timestamp:M().optional().describe("เวลาปิดบิล (Date)").meta({initial:"__NEW_DATE__"}),discount:xe().meta({initial:""}),fine:xe().meta({initial:""}),paymentChannel:T(M()).optional().meta({initial:[]}),net:xe().meta({initial:""}),change:xe().meta({initial:""}),vat:xe().meta({initial:""}),vatType:H().meta({initial:""}),serviceCharge:xe().meta({initial:""}),rounding:xe().meta({initial:""}),profileName:H().meta({initial:""}),receive:xe().meta({initial:""}),totalPrice:xe().meta({initial:""}),qty:xe().meta({initial:""}),void:U().optional().meta({initial:!1}),priceId:xe().meta({initial:1}),reason:B().optional().describe("🚫 เหตุผลที่พนักงานพิมพ์ตอนยกเลิกใบเสร็จ — มีเฉพาะบิลที่ถูก void (บิลปกติไม่มีคีย์นี้) · server ตัดเหลือ 500 ตัว + default '' (claude/checkout/reverse.js:69 · เขียน :337) · เส้นเก่า bom/providers/reverse.js:31 รับจาก body ดิบ ไม่ clamp ไม่มี auth · เป็นธงแสดงผล: จอ POS โชว์ทั้ง 'เหตุผล' และ 'ยกเลิกโดย' ใต้เงื่อนไข reason truthy (BillHistoryScreen.js:123-128)"),voidStaff:B().optional().describe("👤 ชื่อพนักงานที่กดยกเลิกใบเสร็จ (snapsh
199ot ข้อความ · คนละคนกับ profileName แคชเชียร์ที่ปิดบิล) — มีเฉพาะบิลที่ถูก void · เส้นปัจจุบันเอาจาก session ที่ verify แล้ว (claude/checkout/reverse.js:336 ← buildServerActorMeta :48-58 = req.shopAccess.name || 'unknown') · เส้นเก่า bom/providers/reverse.js:30 เอาจาก req.body ไม่มี auth ⇒ ค่ายุคนั้นเชื่อไม่ได้และบน doc แยกไม่ออก (ตัวช่วยเดียว = _lastModifiedMeta ของเส้นใหม่)"),taxCustomer:K({name:B().optional().describe("ชื่อผู้ซื้อบนใบกำกับ"),taxNumber:B().optional().describe("เลขประจำตัวผู้เสียภาษีของผู้ซื้อ"),address:B().optional().describe("ที่อยู่ผู้ซื้อ"),tel:B().optional().describe("เบอร์โทรผู้ซื้อ"),branch:B().optional().describe("สาขาของผู้ซื้อ (สนญ./เลขสาขา)"),id:B().optional().describe("id ของแถวใน Shop.taxCustomer[] — ติดมาเมื่อแคชเชียร์เลือกจากสมุดที่อยู่ของร้าน (BillHistoryScreen.js:666-671) · ไม่มีเมื่อพิมพ์สด")}).passthrough().optional().describe("🧾 ข้อมูลผู้ซื้อที่พิมพ์ลงใบกำกับภาษีของบิลใบนี้ (snapshot) — มีเฉพาะบิลที่เคยออก/แก้ใบกำกับ · ไม่ใช่ธงว่าออกใบกำกับแล้ว (ธงจริง = taxNumber · ประตูเดียว scanFood_Owner/src/Utility/taxCustomerCells.js · DEV-1106) · รูปไม่คงที่: ผู้เขียน 2 ทางเขียนดิบไม่ validate — apis/transaction.js:764 (ออกเลขครั้งแรก) · claude/checkout/updateField.js:117 (pickAllowed :44-50 คัดแค่ชื่อคีย์) · ทางพิมพ์สดตั้งต้นจาก shopTaxDefaults() แล้ว Modal_TaxSetting.js:32-36 spread ⇒ fax/status/headquarter ติดลงบิลด้วย (จึง passthrough) · ≠ Shop.taxCustomer ที่เป็น array สมุดที่อยู่ของร้าน (ต้นทาง) — ตัวนี้สำเนาแช่แข็ง"),deliveryNumber:H().meta({initial:""}),customerName:H().meta({initial:""}),que:xe().meta({initial:""}),campaign:T(M()).optional().meta({initial:[]}),fingerprint:H().meta({initial:""}),evident:H().meta({initial:""}),currentInfo:T(M()).optional().meta({initial:[]}),coupon:T(M()).optional().meta({initial:[]}),memberId:H().meta({initial:""}),memberName:H().meta({initial:""}),receivePoint:xe().meta({initial:0}),customerQty:xe().meta({initial:"1"}),spendingTime:xe().meta({initial:""}),serviceType:H().describe("alacarte (default)").meta({initial:"alacarte"}),earnest:K({}).passthrough().optional().meta({initial:{id:"",earnest:""}}),pickupDetail:H().meta({initial:""}),deliveryFee:xe().meta({initial:0}),note:H().meta({initial:""}),credit:xe().describe("💰 ยอดที่ชำระด้วยเครดิตสมาชิกในบิลนี้ (บาท) — หักออกจาก `net` และหักออกจากฐาน VAT ด้วย (ปันเข้าส่วน VAT ก่อน — `vatPortion = min(appliedCredit, vatBase)` · `netForVat = vatBase − vatPortion` · `@scanfood/logic`.computeCheckoutTotals › checkoutTotals.js:86-90) · เพดาน `creditCap = net` ณ จุดก่อนหักเครดิต (= ยอดบิลทั้งใบหลังส่วนลด/ค่าส่ง/ค่าบริการ · checkoutTotals.js:86 · Pack เคาะ 2026-08-11 · เทสตรึง scanfood CheckOutInstance.test.js:650-653 — describe เดิมเขียนสูตร `max(0,totalVatPrice+fine−ส่วนลด)+serviceCharge` = drift ไม่ตรงโค้ดจริง แก้แล้ว 2026-08-16) 
199· ไม่ได้ใช้เครดิต = `''` (server default create.js:90 · เขียนลง doc ทุกบิล :197) · ชนิดจริงปนกัน: CheckOutScreen ส่ง number (`Number(credit)` :825) · CheckOutInstance ส่ง string ดิบ (:607,638) — reader ต้อง `Number()` เสมอ (Modal_Receipt.js:258 · Modal_Invoice.js:153)").meta({initial:""}),tip:xe().describe("💰 ทิปที่ลูกค้าให้ **พนักงาน** ในบิลนี้ (บาท) — 🔴 **ไม่ใช่รายได้ร้าน**: ร้านรับเงินมาแทนพนักงาน = หนี้สินที่ต้องจ่ายคืน ⇒ รายงาน/ยอดขาย/กำไร/อันดับเมนู ต้อง **หักตัวนี้ออกจาก `net` ก่อนอ่าน** · อยู่ **นอกฐาน VAT** (ทิปสมัครใจไม่เสียภาษีมูลค่าเพิ่ม) และ **นอกเพดานเครดิต** (`creditCap` ไม่รวมทิป · decision DEV-0466) — แต่ **ถูกบวกอยู่ใน `net`** แล้ว (`@scanfood/logic`.computeCheckoutTotals › checkoutTotals.js:112-113 `net += tipAmount`) เพราะเป็นเงินที่ลูกค้าจ่ายจริง ⇒ `net` = ยอดที่รับมา ไม่ใช่ยอดที่ร้านได้ · `''` = **บิลนี้ไม่มีข้อมูลทิป** (บิลก่อน DEV-0865 หรือร้านปิดฟีเจอร์ทิป) — คนละเรื่องกับ **ทิป 0 บาท** ที่แปลว่าถามแล้วลูกค้าไม่ให้ (แพตเทิร์นเดียวกับ `serviceCharge`/`vat`/`rounding` ที่สูตรกลางคืน `''` เมื่อปิดฟีเจอร์) · ชนิดที่มาถึง server = **number เสมอ** (POS ส่งจาก `tipAmount` ที่สูตรกลางคืนเป็น `Math.max(0, Number(tip)||0)` · CheckOutScreen.js:840 · CheckOutInstance.js:589 · ใส่ key เฉพาะเมื่อ `tipAmount > 0`) — แต่ยังประกาศเป็น union number|string ตามพี่น้อง money field ทุกตัว และ reader ต้อง `Number()` เสมอ (ค่า `''` ของบิลเก่า · และรูป string ที่ format แล้วมีลูกน้ำ เช่น `\"1,500.00\"` มีจริงในโค้ด แต่เดินไปเครื่องพิมพ์ ไม่ได้เดินมา server · CheckOutScreen.js:1127)").meta({initial:""}),cardSurcharge:xe().describe("💰 ค่าธรรมเนียมบัตร (cardSurcharge) ที่คิดกับบิลนี้ (บาท) — 🔴 **เป็นรายได้ร้าน** (ตรงข้าม `tip` ที่เป็นเงินฝากส่งพนักงาน): **เข้าฐาน VAT และนับเป็นยอดขาย** ⇒ รายงาน/ยอดขาย ❌ ห้ามหักตัวนี้ออกจาก `net` (ต่างจาก tip ที่ต้องหัก) · คิด**หลังหักเครดิตสมาชิก ก่อน VAT**: `fee = round2(rate% × net หลังหัก appliedCredit)` แล้วบวกเข้าทั้ง `net` และ `netForVat` (`@scanfood/logic`.computeCheckoutTotals — fee เข้าฐาน VAT ทั้งโหมด Include/Exclude เหมือน serviceCharge) ⇒ **ถูกบวกอยู่ใน `net` แล้ว ห้ามบวกซ้ำ** · **ไม่เข้าฐานแต้มสะสม** (fee ไม่ได้แต้ม — Pack เคาะ 2026-08-15 · calcBasePoint โหมด net ถอนออกก่อนหาร) และ **ไม่เข้าเพดานเครดิต** (`creditCap` คิดก่อน fee · ไม่รวม fee) · trigger = มี service ที่ติ๊กเปิด fee ใน `paymentChannel` ของบิล (Shop.scanFoodCardSurcharge.services[] · resolve ผ่าน cardSurchargeRateFor) = fee ทั้งใบจากยอดคงเหลือหลังเครดิต — ไม่คิดตามสัดส่วนต่อแถว · `''` = **บิลไม่มีข้อมูล fee** (บิลà¸
199à¹ˆà¸­à¸™ DEV-0913 หรือร้านปิดฟีเจอร์) — คนละเรื่องกับ **fee 0 บาท** (แพตเทิร์น sentinel เดียวกับ tip/serviceCharge/vat/rounding) · reader ต้อง `Number()` เสมอ").meta({initial:""}),cardSurchargeRate:xe().describe("💰 อัตรา % ค่าธรรมเนียมบัตร**ที่ใช้จริงของบิลนี้** (เลขเต็ม · `3` = 3% แบบ scanFoodServiceCharge.amount) — เก็บแยกจาก config ร้านเพราะ **POS override รายบิลได้** (config `Shop.scanFoodCardSurcharge.services[].amount` = ค่าตั้งต้น · ช่องนี้ = ค่าที่บิลนี้ใช้จริง) ⇒ ใบเสร็จ/รายงานต้องพิมพ์ % จากช่องนี้ ไม่ใช่จาก config ปัจจุบัน (config เปลี่ยนทีหลัง = บิลเก่ายังพิมพ์ % ถูก) · `''` = บิลไม่มีข้อมูล fee (คู่กับ `cardSurcharge` เสมอ) · reader ต้อง `Number()` เสมอ").meta({initial:""}),manualPoint:xe().describe("แต้มที่ **แคชเชียร์กรอกเอง** ตอนคิดเงิน — กรอกแล้ว **ทับแต้มที่ระบบคำนวณทั้งหมด**: `if (manualPoint) obj.receivePoint = Number(manualPoint)` (claude/cashier/checkout/create.js:280-281 · apis/checkout.js:1810-1811 · :2527-2528 · cashier/provider/checkout/checkout_v1.js:203-204 — 4 จุด รูปเดียวกันเป๊ะ) ⇒ ทับทุก mode ของ `point.type` (point/stampTime/stampItem/net) และทับตัวคูณ `rankMultiple`/วัน/วันที่ ทั้งหมด · 🔴 **เป็นช่องขาเข้า (input) ไม่ใช่ช่องที่ค้างอยู่บนบิล** — server แปลงเป็น `receivePoint` แล้ว **ทิ้งตัวมันเอง ไม่เคยเขียนลง doc บิลสักบิล** (`grep 'obj.manualPoint' scanfood_server/functions/` = 0 · `obj` ประกอบมือทุก key ไม่มี spread) ⇒ **เปิดบิลเก่ามาจะไม่มีวันเจอช่องนี้** และห้ามใช้เป็นหลักฐานว่าแต้มบิลนั้นถูกกรอกมือ (ร่องรอยที่เหลือมีทางเดียว = `receivePoint` ที่ไม่ตรงสูตร) · ประตูเปิด/ปิด = `Provider.manualPointEnable` (false = ปุ่มไม่ขึ้นบนจอเลย ⇒ ค่าที่ส่งมาเป็น `''` เสมอ) · `''` = **ไม่ได้กรอก** ⇒ falsy ⇒ ไม่ override (ทั้ง 4 จุด server default `= ''` เองอยู่แล้ว) — คนละเรื่องกับ **กรอก 0** ที่แปลว่าตั้งใจให้บิลนี้ไม่ได้แต้ม · ชนิดที่มาถึง server = **string เสมอ** (state `useState('')` รับจาก TextInput ไม่เคย `Number()` ฝั่งแอป) ⇒ reader ต้อง `Number()` เสมอ · ⚠️ กรอกตัวอักษร (\"abc\") = server ได้ `NaN` (ไม่มี `||0` guard) แต่ preview ฝั่งแอปได้ `0` (`@scanfood/logic`.calcBasePoint › loyalty.js:201 `Number(manualPoint) || 0`) — 2 ฝั่งไม่ตรงกันโดยรู้ตัว · ผู้ส่ง 4 จอ POS: CheckOutScreen.js:844 · CheckOutInstance.js:590 · AutoCheckoutScreen.js:677 · Modal_Payment.js:1013 (จอลูกค้า SelfOrderingScreen.js:1246 ส่ง `''` ตายตัว — ไม่มีปุ่มกด)").meta({initial:""}),bomCostArr:T(we(()=>Qoe)).optional().describe("💰 ต้นทุนวัตถุดิบที่ถูกตัดในบิลนี้ แยกรายหน่วยนับ (1 แถว/`unitId`) — snapshot ตอนปิดบิล จาก `@scanfood/logic`.bomManager · บิลเก่า/ร้านที่ไม่เปิด BOM = ไม่มีช่องนี้เลย (reader ต้อง `|| []` · BomCostScreen.js:51 เคยพังทั้งจอเพราะข้อนี้)").meta({initial:[]}),totalCost:xe().describe("💰 ต้นทุนวัตถุดิบรวมของทั้งบิล = Σ `bomCostArr[].totalCost` (bomManager คืนมาคู่กัน · เขียนบรรทัดติดกันเสมอ) — ตัวตั้งของกำไรขั้นต้นบนรายงาน").meta({initial:0})}).passthrough();var Loe=K({modifiedBy:B().optional().describe("uid ผู้แก้ไขล่าสุด").meta({initial:""}),modifiedName:B().optional().describe("ชื่อผู้แก้ไขล่าสุด snapshot (โชว์ใต้โน้ต)").meta({initial:""}),modifiedAt:M().optional().describe("เวลาที่แก้ล่าสุด (Date/Timestamp/string ตามผู้เขียน)").meta({initial:""}),content:B().optional().describe("เนื้อโน้ต (ข้อความล้วน)").meta({initial:""}),id:B().optional().describe("uuid ของแถว — key ตอนแก้/ลบราย row").meta({initial:""})}).passthrough();K({id:H().meta({initial:""}),name:H().meta({initial:""}),nickName:H().meta({initial:""}),email:H().meta({initial:""}),tel:H().meta({initial:""}),imageId:H().meta({initial:""}),providerId:H().describe("ผูก memberProvider").meta({initial:""}),createdDate:M().optional().describe("วันสมัคร (Date)").meta({initial:"__NEW_DATE__"}),credit:T(M()).optional().meta({initial:[]}),point:T(M()).optional().meta({initial:[]}),rank:H().describe("ระดับ (default BRONZE)").meta({initial:"BRONZE"}),rankLevel:H().describe("เลขระดับ 0,1,2,3").meta({initial:""}),spending:xe().describe("ยอดสะสม").meta({initial:0}),gender:H().meta({initial:""}),birthday:H().meta({initial:""}),labels:T(M()).optional().describe("tags").meta({initial:[]}),persona:T(M()).optional().meta({initial:[]}),images:T(M()).optional().meta({initial:[]}),saleHistory:T(M()).optional().meta({initial:[]}),pointHistory:T(M()).optional().meta({initial:[]}),visitHistory:T(M()).optional().meta({initial:[]}),promotionHistory:T(M()).optional().describe("ประวัติใช้โปรจำกัดสิทธิ์ [{id,qty,updatedAt}] (initialMember.js:28) — เขียนทุกบิลที่ใช้โปร limit (claude/cashier/checkout/create.js:547) · ล้างได้ทางเดียวผ่าน member.seedReset").meta({initial:[]}),modifiedLevelAt:M().optional().describe("เวลาปรับระดับสมาชิกล่าสุด (Date/Timestamp · initialMember.js:35) — นาฬิกา date-gate ของ levelUp (computeRankLevel@@scanfood/logic) · กิ่ง init set
199Level.js:52 ทำงานเฉพาะตอน field หายไปจริง ⇒ reset = FieldValue.delete() ห้ามตั้ง 0/null").meta({initial:"__NEW_DATE__"}),note:T(Loe).optional().describe("โน้ตของสมาชิก — 1 แถว/ข้อความ (shape=MemberNote · ซีดแถว initialNote.js · whitelist `MEMBER_WHITELIST`)").meta({initial:[]})}).passthrough();K({couponId:H().describe("ชี้แคตตาล็อกต้นแบบ memberCoupon/{id}").meta({initial:""}),memberId:H().describe("เจ้าของใบ = doc id ของ memberScanfood (channel_id+lineUserId)").meta({initial:""}),providerId:H().describe("แบรนด์สมาชิกเจ้าของคูปอง (memberProvider) — ขอบสิทธิ์จริงของใบนี้").meta({initial:""}),status:H().describe("'available' = ยังใช้ได้ · 'used' = ตัดแล้ว (ตัวตัดสินเดียว · summary.js:99,102 แยกกองด้วยช่องนี้)").meta({initial:"available"}),code:H().describe("รหัส 6 หลักที่พนักงานพิมพ์/สแกนตอนใช้หน้าร้าน (genCode · ไม่ใช่ couponCode ของแคตตาล็อก)").meta({initial:""}),couponCode:H().describe("รหัสของคูปองต้นแบบ (snapshot จาก memberCoupon.code)").meta({initial:""}),name:H().describe("ชื่อคูปองที่ลูกค้าเห็น").meta({initial:""}),condition:H().describe("เงื่อนไขเป็นภาษาคน เช่น 'ซื้อขั้นต่ำ 150 ลด 50 บาท'").meta({initial:""}),imageId:H().describe("รูปคูปอง (URL)").meta({initial:""}),startDate:M().optional().describe("เริ่มใช้ได้ (Date/Timestamp)").meta({initial:""}),endDate:M().optional().describe("หมดอายุ (Date/Timestamp) — ⚠️ เส้น POS ปัจจุบันไม่บังคับ ใช้เกินวันได้").meta({initial:""}),createdDate:M().optional().describe("วันที่ได้ใบนี้มา (Date/Timestamp)").meta({initial:"__NEW_DATE__"}),usedDate:M().optional().describe("วันที่ถูกตัด (Date) — เขียนพร้อม status:'used' · โผล่บนรายงานคูปองที่ใช้แล้วฝั่งลูกค้า").meta({initial:""}),branchId:H().describe("สาขาที่ตัดใบนี้ (เขียนพร้อม status:'used') — ไม่เคยถูก query ที่ไหน ใช้เก็บร่องรอยอย่างเดียว").meta({initial:""}),branchName:H().describe("ชื่อสาขาที่ตัด — ลูกค้าเห็นบนรายงาน + ใช้เป็นตัวกรอง (ActivateCouponScreen.js:38,47)").meta({initial:""}),receiptNumber:H().describe("เลขบิลที่ใช้คูปองใบนี้ (เขียนพร้อม status:'used')").meta({initial:""}),shopId:H().describe("⚠️ ค้างเป็น '' เสมอ — ไม่เคยถูกเขียนทั้งตอนสร้างและตอนใช้ · ห้ามใช้ตัดสินขอบร้าน (ใช้ providerId)").meta({initial:""}),tel:H().describe("เบอร์สมาชิก ณ ตอนได้ใบ (snapshot)").meta({initial:""}),memberName:H().describe("ชื่อสมาชิก ณ ตอนได้ใบ (snapshot)").meta({initial:""}),minimumSale:H().describe("ยอดขั้นต่ำที่ใช้ได้ — ⚠️ บังคับที่จอ POS เท่านั้น ไม่มีด่านฝั่ง server").meta({initial:""}),minimumSaleStatus:U().optional().describe("เปิดใช้เงื่อนไขยอดขั้นต่ำไหม").meta({initial:!1}),fingerprint:B().optional().describe("🏷️ ป้ายที่มาของใบ (mirror Promotion.fingerprint/Order.fingerprint · เติม DEV-0759) — harness ประทับ 'harness:member.pocketGrant' (claude/member/pocketGrant.js) เพื่อให้ member.pocketClear ลบเฉพาะใบที่เครื่องมือนี้ใส่เอง · ใบจริง (แลกแต้ม redeemPoint(Web).js · รับของแถม grantVoucher.js) **ไม่มี field นี้** ⇒ ล้างแล้วคูปองของคนอื่นอยู่ครบ · ❌ ไม่ใช้ Pocket.code เป็นป้าย (code = รหัส 6 หลักที่พนักงานใช้ค้นใบหน้าร้านจริง · findPocket.js:18)")}).passthrough();K({id:B().optional().describe("doc id — ⚠️ **ไม่ได้เก็บอยู่ในตัว doc** (server ลบทิ้งก่อนเขียน) · ซีดฟอร์มถือช่องนี้ไว้เพื่อแยก 'สร้างใหม่' กับ 'แก้ของเดิม'").meta({initial:""}),name:B().optional().describe("ชื่อคูปองที่ลูกค้าเห็น").meta({initial:""}),imageId:B().optional().describe("รูปคูปอง (URL บน storage)").meta({initial:""}),condition:B().optional().describe("เงื่อนไขเป็นภาษาคน — ตอนตอบ API ช่องนี้ไปโผล่เป็น `Coupon.detail`").meta({initial:""}),status:U().optional().describe("เปิดให้แลกอยู่ไหม — `false` = ไม่โผล่ในแคตตาล็อกเลย (server filter ก่อนตอบ)").meta({initial:!1}),code:B().optional().describe("รหัสคูปองที่ร้านตั้งเอง — ใช้ค้นหาบนจอทะเบียน · **ไม่ใช่** รหัส 6 หลักที่ลูกค้ายื่นหน้าร้าน (ตัวนั้นคือ `Pocket.code` ที่ออกตอนแจก)").meta({initial:""}),limitPerCustomer:U().optional().describe("จำกัดสิทธิ์ต่อคนไหม").meta({initial:!1}),limit:re([Y(),B()]).optional().describe("สิทธิ์ต่อคนกี่ใบ (ใช้เมื่อ `limitPerCustomer = true` · form-string ได้)").meta({initial:""}),amount:re([Y(),B()]).optional().describe("จำนวนคูปองทั้งหมดที่มี — ⚠️ ซีดตั้งต้น **1000** (ไม่ใช่ 0/'' เหมือนช่องอื่น)").meta({initial:1e3}),amountStatus:U().optional().describe("จำกัดจำนวนทั้งหมดไหม (ปิด = แจกไม่จำกัด · `amount` ไม่มีผล)").meta({initial:!1}),used:re([Y(),B()]).optional().describe("แจกไปแล้วกี่ใบ (ตัวนับ)").meta({initial:0}),redeem:T(K({id:B().optional(),value:re([Y(),B()]).optional()}).passthrough()).optional().describe("แต้มที่ใช้แลก **แยกตามระดับสมาชิก** [{id:rankLevelId, value:แต้ม}] — ⚠️ ซีดตั้งต้นมี 3 แถวพร้อมใช้ (BRONZE/SILVER/GOLD) ไม่ใช่ `[]` · ตอนตอบ API server หยิบแถวที่ตรงระดับของคนที่ถามมาเป็น `Coupon.price` (ไม่มีแถวตรง = `null` = ระดับนั้นแลกไม่ได้)").meta({initial:[{id:"BRONZE",value:""},{id:"SILVER",value:""},{id:"GOLD",value:""}]}
199),exchangePrice:re([Y(),B()]).optional().describe("แต้มที่ใช้แลก (ค่าเดียวไม่แยกระดับ) — snapshot ลง `Pocket.exchangePrice` ตอนแจก").meta({initial:""}),type:B().optional().describe("ชนิดเงื่อนไขการใช้ — ซีดตั้งต้น `anySale` (ใช้ได้เลยไม่มีเงื่อนไข เพราะจ่ายแต้มแลกไปแล้ว)").meta({initial:"anySale"}),barcode:T(M()).optional().describe("รายการสินค้าที่เข้าเงื่อนไข — row shape ยังไม่ ground → z.any()").meta({initial:[]}),rewardType:B().optional().describe("ชนิดรางวัล — ซีดตั้งต้น `discount`").meta({initial:"discount"}),rewardBarcode:T(M()).optional().describe("รายการสินค้าที่เป็นของรางวัล (โครงเดียวกับ `barcode`)").meta({initial:[]}),tierReward:T(M()).optional().describe("รางวัลแยกตามขั้น — ⚠️ ชื่อพ้องกับ `Promotion.tierReward` แต่คนละเอกสาร ห้ามอ้างข้ามกัน").meta({initial:[]}),scope:T(M()).optional().describe("ขอบเขตสินค้า/หมวดที่คูปองมีผล — row shape ยังไม่ ground → z.any()").meta({initial:[]}),scopeTarget:B().optional().describe("ขอบเขตคำนวณรางวัล — ซีดตั้งต้น `onInvoice` (ทั้งบิล) · ค่าอื่นตามชุดเดียวกับ `Promotion.scopeTarget`").meta({initial:"onInvoice"}),minimumSaleStatus:U().optional().describe("เปิดเงื่อนไขยอดขั้นต่ำไหม").meta({initial:!1}),minimumSale:re([Y(),B()]).optional().describe("ยอดขั้นต่ำที่ใช้คูปองได้ — snapshot ลง `Pocket.minimumSale` (⚠️ บังคับที่จอ POS เท่านั้น ไม่มีด่านฝั่ง server)").meta({initial:""}),startDate:M().optional().describe("เริ่มแลกได้ (Date/Timestamp) — server ใช้คู่กับ `status` กรองแคตตาล็อก").meta({initial:"__NEW_DATE__"}),endDate:M().optional().describe("หมดเขตแลก (Date/Timestamp)").meta({initial:"__NEW_DATE__"}),timestamp:M().optional().describe("เวลาสร้างคูปอง (Date/Timestamp · จอใส่ `new Date()` ตอน create)").meta({initial:"__NEW_DATE__"}),providerId:B().optional().describe("แบรนด์สมาชิกเจ้าของคูปอง — 🔒 server bind จากสิทธิ์ผู้เรียกเสมอ (strip ค่าที่ client ส่งมา) · เป็นขอบสิทธิ์จริงของ doc นี้"),referenceType:B().optional().describe("ประเภทร้านอ้างอิง (`store` / `chainStore`) — จอเติมตอน create จาก `Provider.referenceType`")}).passthrough();var Moe=K({id:B().describe("id ของคลัง — 'master' = คลังกลางที่มาพร้อมแฟรนไชส์ (ลบไม่ได้ · Modal_MultiWarehouse.js:85) · คลังที่เพิ่มเอง = uuidv4() ฝั่งจอ (MultiWarehouseScreen.js:60)"),code:B().describe("รหัสคลังที่ผู้ใช้ตั้งเอง (บังคับกรอก · Modal_MultiWarehouse.js:33) · seed 'WH001'"),name:B().describe("ชื่อคลัง (บังคับกรอก · Modal_MultiWarehouse.js:32) · seed 'คลังกลาง'"),address:B().describe("ที่อยู่คลัง (ไม่บังคับ · check() ไม่เช็ค)")}).passthrough(),Roe=K({id:B().describe("= `franchise.multiWarehouses[].id` ของคลังที่ยอดนี้อยู่"),stock:re([Y(),B()]).describe("คงเหลือในคลังนี้ — 🩸 ติดลบได้ (declared parity: ไม่มี guard ทั้งฝั่ง client และ server · warehouseMovement.js:19)"),cost:re([Y(),B()]).optional().describe("ต้นทุนต่อหน่วยของยอดในคลังนี้ (entry ใหม่ seed 0)")}).passthrough();K({id:B().optional().describe("= doc id (server ฉีดตอนอ่าน · create ตัด id ที่ client ส่งมาทิ้ง)").meta({initial:""}),franchiseId:B().optional().describe("🔒 แฟรนไชส์เà¸
199ˆà¹‰à¸²à¸‚อง — server bind จาก `req.franchiseAccess` เสมอ (ไม่เชื่อ body) · ทุก op update/delete assert ให้ตรง caller ไม่งั้น 403 (ไม่บอกด้วยว่า doc มีจริงไหม)"),name:B().optional().describe("ชื่อสินค้าในคลัง (บังคับกรอก) — คีย์ค้นหาหลักคู่กับ sku/barcode").meta({initial:""}),sku:B().optional().describe("รหัสสินค้าที่แฟรนไชส์ตั้งเอง — **บังคับกรอก** (Modal_Warehouse.js:110 ไม่ใส่ = เตือนแล้วไม่บันทึก) · ใช้ค้นหา (searchMultiFunction cast เป็น string ก่อนค้น)").meta({initial:""}),barcode:B().optional().describe("บาร์โค้ดสำหรับสแกน — ไม่บังคับ · ใช้ค้นหาเหมือน sku").meta({initial:""}),detail:B().optional().describe("รายละเอียดสินค้า (ข้อความอิสระ)").meta({initial:""}),imageId:B().optional().describe("URL รูปสินค้าบน fbStorage · '' = ใช้โลโก้ default").meta({initial:""}),unit:B().optional().describe("ชื่อหน่วยนับของสินค้า (ข้อความล้วน เช่น 'ลัง') — **บังคับกรอก** (Modal_Warehouse.js:111) · ⚠️ เป็น string ตัวเดียว ไม่ใช่ทะเบียนหน่วยแบบ `Bom.unit[]`").meta({initial:""}),category:T(M()).optional().describe("หมวดสินค้า [{id,name}] เรียงเป็นชั้น — ตัวกรองบนทุกจอคลัง (เทียบด้วย `compareArrays` ของ prefix ตามความลึกที่เลือก) · อ้าง `franchise.warehouseCategory`").meta({initial:[]}),saleStatus:B().optional().describe("สถานะขาย 3 ค่า: `'available'` = ขายอยู่ · `'out'` = ของหมด · อื่น/`'notSale'` (seed) = ไม่ขาย (MarketPlaceScreen.js:175 · Modal_MarketPlace.js:170 แยกด้วยค่านี้ตรงๆ)").meta({initial:"notSale"}),price:re([Y(),B()]).optional().describe("ราคาขายส่งต่อหน่วย (ฐาน · ก่อนขั้นบันได/ส่วนลด)").meta({initial:""}),discount:re([Y(),B()]).optional().describe("ส่วนลดของสินค้านี้").meta({initial:""}),point:re([Y(),B()]).optional().describe("แต้มที่สาขาได้เมื่อสั่งสินค้านี้").meta({initial:""}),weight:re([Y(),B()]).optional().describe("น้ำหนักต่อหน่วย — ใช้คิดค่าขนส่งแบบตามน้ำหนัก (`franchise.logistics[].pattern` id 2)").meta({initial:""}),priceLevelStatus:U().optional().describe("เปิดราคาขั้นบันไดไหม — ปิด = ใช้ `price` ตัวเดียว").meta({initial:!1}),priceLevel:T(M()).optional().describe("ราคาขั้นบันไดตามจำนวน [{qty,price}] เรียง qty มาก→น้อย — ช่วงของแต่ละขั้นคือ `qty` ของขั้นนี้ถึง `qty-1` ของขั้นถัดไป (MarketplacePriceScreen.js:246-263)").meta({initial:[]}),priceTypes:T(M()).optional().describe("ราคาแยกตามโปรไฟล์สาขา/ช่องทาง [{shopTypeId,channelId,price}] — อยู่ใน whitelist ของ writer แต่ **ยังไม่มีจอไหนเขียนของ warehouseItem** (seed [] · ประกาศไว้เพราะ server รับเขียนได้จริง)").meta({initial:[]}),channel:T(M()).optional().describe("ช่องทาง/ประเภทลูกค้าที่สินค้านี้ขายบน marketplace (allow-list · MarketplaceChannelScreen) — เขียนแบบ batch ผ่าน `claude/stock/batchWarehouseItemChannel.js` (field ∈ channel|antiChannel เท่านั้น)").meta({initial:[]}),antiChannel:T(M()).optional().describe("**ตรงข้ามกับ `channel`: มีอยู่ = ซ่อน** — เก็บ id ของคลัง (`franchise.multiWarehouses[].id`) ที่ไม่ให้สินค้านี้โผล่ (Modal_WarehouseItem.js:70-79 toggle) · ลบคลังทิ้ง = server strip id ออกจากทุก item (deleteWarehouse.js)").meta({initial:[]}),stock:re([Y(),B()]).optional().describe("🔒 คงเหลือของ**คลังกลาง ('master')** — seed 0 ตอน create · แก้ได้ทางเดียวคือ `/claude/franchise/warehouse/movement` (metadata endpoint ตัดทิ้งเสมอ) · 🩸 ติดลบได้ (declared parity)").meta({initial:""}),multiStock:T(we(()=>Roe)).optional().describe("🔒 คงเหลือ+ต้นทุนแยกรายคลังที่ไม่ใช่ 'master' — seed [] ตอน create · เส้น movement เท่านั้น").meta({initial:[]}),minimum:re([Y(),B()]).optional().describe('**จำนวนสั่งขั้นต่ำต่อครั้ง** ที่สาขาสั่งสินค้านี้ได้ (seed 1) — ❌ **ไม่ใช่จุดเตือนของใกล้หมด** (นั่นคือ `minimumStock`) · ปลายทางที่ใช้จริง = ป้าย "จำนวนขั้นต่ำต่อครั้ง" บนจอแฟรนไชส์ + `orderMinimum` ของ RN `MaterialScreen` (ปุ่ม − หยุดที่ค่านี้) · เขียนผ่าน `claude/stock/updateWarehouseItemConfig.js` (whitelist {minimum,maximum} · ไม่แตะ stock)').meta({initial:1}),maximum:re([Y(),B()]).optional().describe("**จำนวนสั่งสูงสุดต่อครั้ง** ที่สาขาสั่งสินค้านี้ได้ (seed 999) — คู่กับ `minimum` ในเส้นเดียวกัน (`atOrderMaximum` ของ RN `MaterialScreen` = ปุ่ม + หยุดที่ค่านี้) · ❌ ไม่ใช่เพดานสต๊อกที่ควรเก็บ").meta({initial:999}),minimumStock:K({}).passthrough().optional().describe('{qty,status} จุดเตือน "ของใกล้หมด" ของสินค้าในคลังแฟรนไชส์ · `qty` = จำนวนจุดเตือน (string · หน่วยเดียวกับ `unit`) · `status` = เปิด/ปิดการเตือน (ปิด = จอไม่ตัดสินสถานะเลย) · ⚠️ **ไม่มีช่อง `id`** ต่างจาก `Bom.minimumStock` เพราะ `unit` ที่นี่เป็น string ตัวเดียว · ผู้อ่าน = จอ 5.2 `WarehouseScreen` (ป้ายสถานะบนตาราง · เทียบà¸
199à¸±à¸šà¸¢à¸­à¸”ของ**แต่ละคลัง** ไม่ใช่ยอดรวม) · ผู้เขียน = `Modal_Warehouse` ผ่าน `claude/franchise/warehouseItem/manage`').meta({initial:{qty:"",status:!1}}),cost:re([Y(),B()]).optional().describe("ต้นทุนต่อหน่วยของสินค้านี้ (seed 0) — ⚠️ เป็นตัวเลขตรงๆ ไม่ใช่ object `{id,cost}` แบบ `Bom.cost`").meta({initial:0}),BOM:T(M()).optional().describe("วัตถุดิบที่ถูกตัดเมื่อขายสินค้านี้ [{id,qty,…}] (id = unitId ของ bom) — เลือกจากทะเบียน bom (Modal_MarketPlace.js:64-72)").meta({initial:[]}),brothStatus:U().optional().describe("สินค้านี้เป็นสูตรผสม/น้ำซุปไหม — เปิดแล้ว `broths` ว่าง = บันทึกไม่ได้ (Modal_Warehouse.js:112)").meta({initial:!1}),broths:T(M()).optional().describe("ส่วนผสมของสูตร [{rawMatId, rawMatName, qty, unit}] — 1 แถว/วัตถุดิบ (dedupe ด้วย `rawMatId`)").meta({initial:[]}),timestamp:M().optional().describe("🔒 server ตั้งตอน create (`new Date()`) และ **ไม่เขียนทับตอน update metadata** — ถูกใช้ต่อเป็น **sort key ของลำดับแสดงผล** (SalesInArrangeScreen ลากเรียง → `claude/stock/batchWarehouseItemOrder.js` เขียน field เดียวนี้)")}).passthrough();K({id:B().optional().describe("doc id — ⚠️ **ไม่ได้ถูกเขียนลงตัว doc** (server `delete safe.id` ทั้ง create และ updateField · id มาจาก `.add()` ฝั่ง server) · ซีดฟอร์มถือช่องนี้ไว้เพื่อให้จอแยก 'ตั้งราคาใหม่' กับ 'แก้ราคาเดิม' (`MarketplacePriceScreen.js` `submit` — มี id = `updateFieldPrice` · ไม่มี = `addPriceToFirebase`) · ตอนอ่านกลับ server ฉีดกลับให้เอง (`{ ...d.data(), id: d.id }`)").meta({initial:""}),rootId:B().optional().describe("**สินค้าที่ใบนี้ตั้งราคาให้** = doc id ของ `warehouseItem/{id}` — 🔑 กุญแจที่ server ใช้จับคู่ทับราคา (legacy marketplace: `Map(rootId → rest)` แล้ว spread ลงสินค้าที่ id ตรงกัน) · จอเซ็ตให้ตอนกดช่องในตาราง (`openWarehouse` — `rootId: item.id`) · ⚠️ **คนละความหมายกับ `Product.rootId`** ซึ่งชี้เมนูต้นแบบ `franchiseProduct/{rootId}`").meta({initial:""}),customerId:B().optional().describe("**ประเภทลูกค้าที่ราคานี้ใช้กับ** = `franchise.customerTypes[].id` (ทะเบียนตั้งที่จอ `CustomerTypeScreen.js`) · คู่ `rootId` + `customerId` = 1 ช่องในตารางไขว้ของ `MarketplacePriceScreen` (จอ index ด้วย `Map(customerId → doc)` ต่อสินค้า) · legacy marketplace query ด้วยช่องนี้ตรง ๆ (`where('customerId','==',customerTypeId)`) และยังกรองสินค้าด้วย `warehouseItem.channel.includes(customerTypeId)` อีกชั้น ⇒ **ตั้งราคาไว้แต่ไม่ได้เปิดช่องทางให้ลูกค้ากลุ่มนั้น = เขาไม่เห็นสินค้าเลย** (ราคาที่ตั้งไม่มีผล)").meta({initial:""}),price:re([Y(),B()]).optional().describe("ราคาขายส่งต่อหน่วยสำหรับลูกค้ากลุ่มนี้ — **บังคับกรอก** (`Modal_MarketplaceByCustomer` `check()` ว่าง = เตือนแล้วไม่บันทึก) · form-string ได้ (ผ่าน `twoDigitNumber`)").meta({initial:""}),discount:re([Y(),B()]).optional().describe("ส่วนลดต่อหน่วย — ปลายทางคิด `net = price - discount` (legacy marketplace ประกอบ `net` ให้ตอนตอบ)").meta({initial:""}),point:re([Y(),B()]).optional().describe("แต้มที่สาขาได้เมื่อสั่งสินค้านี้ในราคานี้").meta({initial:""}),priceLevelStatus:U().optional().describe("เปิดราคาขั้นบันได (ซื้อเยอะถูกลง) ไหม — ปิด = ใช้ `price` ตัวเดียว · RN อ่านช่องนี้เพื่อตัดสินว่าจะเรียกตัวคิดขั้นบันไดไหม (`MaterialScreen.js`)").meta({initial:!1}),priceLevel:T(K({qty:re([Y(),B()]).optional().describe("จำนวนขั้นต่ำของขั้นนี้"),price:re([Y(),B()]).optional().describe("ราคาต่อหน่วยเมื่อถึงขั้นนี้")}).passthrough()).optional().describe("ราคาขั้นบันไดตามจำนวน `[{qty, price}]` — จอเขียนเรียง `qty` มาก→น้อย (`reverseSort` ใน `Modal_MarketplaceByCustomer` `handlePriceLevel`) และ cast เป็น number ตอนบันทึก · ⚠️ **ตัวคิดจริงไม่พึ่งลำดับ**: `wholesalePriceForQty` (`@scanfood/logic` product.js) กรอง `qty <= จำนวนที่สั่ง` แล้ว reduce หา `qty` สูงสุดเอง · ไม่ถึงขั้นไหนเลย = คืน `false` (ไม่ใช่ 0) แล้ว caller ใช้ราคาปกติแทน · แถวเก่าในฐานอาจเป็น string → รับทั้ง number/string").meta({initial:[]}),minimum:re([Y(),B()]).optional().describe("จำนวนขั้นต่ำที่สั่งได้ (ซีด **1**) — **บังคับกรอก** (`check()` ว่าง = ไม่บันทึก) · ทับ `warehouseItem.minimum` ตอนสาขาเห็น").meta({initial:1}),maximum:re([Y(),B()]).optional().describe("จำนวนสูงสุดที่สั่งได้ต่อครั้ง (ซีด **999**) — **บังคับกรอก** · ทับ `warehouseItem.maximum` ตอนสาขาเห็น").meta({initial:999}),startDate:M().optional().describe("วันเริ่มใช้ราคา (Date · ซีด `new Date()`) — ⚠️ **ยังไม่มีช่องกรอกบนจอ** (`Modal_MarketplaceByCustomer` ไม่แตะ) และ **ยังไม่มีใครเอาไปกรอง** ⇒ ทุกใบได้วันที่ตอนเปิดฟอร์มติดไป · ตอนอ่านกลับ `priceSlice` แปลงด้วย `formatTime` (รับทั้ง Firestore Timestamp และ Date)").meta({initial:"__NEW_DATE__"}),endDate:M().optional().describe("วันสิ้นสุดราคา (Date · ซีด `new Date()`) — สถานะเดียวกับ `startDate` ทุกประการ (ไม่มีจอแก้ ไม่มีใครกรอง)").meta({initial:"__NEW_DATE__"}),franchiseId:B().optional().describe("🔒 แฟรนไชส์เà¸
199ˆà¹‰à¸²à¸‚องใบ — server bind จาก `req.franchiseAccess` เสมอ (`delete safe.franchiseId` ก่อนเขียนทุก op) · `byFranchise` scope ด้วยช่องนี้ตรง · `byShopTypeSupplier` กรองหลัง query (doc ที่ไม่มี/ไม่ตรง = ถูกทิ้ง fail-closed) · ❌ **ห้าม seed ฝั่ง client** — ส่งมาก็ถูกตัดทิ้ง"),customerTypeName:B().optional().describe("ชื่อประเภทลูกค้า snapshot — ไม่อยู่ในซีดฟอร์ม แต่ **ถูกเขียนลง doc จริง**: จอยัดเข้า `currentPrice` ตอนเปิดช่องในตาราง (`openWarehouse`) เพื่อโชว์บนหัว modal แล้ว `submit` ส่ง `currentPrice` ทั้งก้อน (server strip แค่ `id`/`franchiseId`) · ⚠️ เป็น snapshot ไม่ sync — เปลี่ยนชื่อประเภทลูกค้าทีหลัง ใบเก่ายังถือชื่อเดิม · ชื่อจริงที่เชื่อได้ = `franchise.customerTypes[]` ที่ match `customerId`")}).passthrough();var Noe=K({id:B().optional().describe("id ของรูปแบบขนส่ง (uuid ฝั่งจอ) — idKey ที่ server ใช้ upsert/remove").meta({initial:""}),name:B().optional().describe("ชื่อรูปแบบขนส่งที่คนอ่าน").meta({initial:""}),code:B().optional().describe("รหัสย่อที่ร้านตั้งเอง").meta({initial:""}),detail:B().optional().describe("รายละเอียด/เงื่อนไข (ข้อความล้วน)").meta({initial:""}),pattern:K({id:B().optional().describe("id ของสูตรคิดค่าขนส่งที่เลือก"),value:re([Y(),B()]).optional().describe("ค่าของสูตร (form-string ได้)"),name:B().optional().describe("ชื่อสูตร snapshot")}).passthrough().optional().describe("สูตรคิดค่าขนส่งที่เลือกใช้ {id,value,name}").meta({initial:{id:"",value:"",name:""}}),waiveStatus:U().optional().describe("เปิดเงื่อนไข 'ยอดถึงเท่าไหร่ส่งฟรี' ไหม").meta({initial:!1}),waive:re([Y(),B()]).optional().describe("ยอดขั้นต่ำที่ส่งฟรี (ใช้เมื่อ waiveStatus=true · form-string ได้)").meta({initial:""})}).passthrough(),$oe=K({day:Y().optional().describe("เลขวันในสัปดาห์ 0-6 (0=อาทิตย์)"),startTime:B().optional().describe("เวลาเปิดรับออเดอร์ของวันนั้น"),endTime:B().optional().describe("เวลาปิดรับออเดอร์ของวันนั้น"),allTime:U().optional().describe("รับทั้งวัน (ข้าม startTime/endTime)"),sendingTime:B().optional().describe("รอบส่ง — เก็บเป็น id (ภายในวัน / ภายใน 2 วัน / ระบุวัน จ-ศ ฯลฯ · ตามคอมเมนต์ในซีด)"),status:U().optional().describe("เปิดใช้วันนี้ไหม"),name:B().optional().describe("ชื่อวันภาษาไทย (snapshot ในซีด เช่น 'วันอาทิตย์')"),product:T(M()).optional().describe("สินค้าที่สั่งได้ในรอบวันนี้ — row shape ยังไม่ ground → z.any()")}).passthrough(),Hoe=K({id:B().optional().describe("id ของเส้นทาง (uuid ฝั่งจอ) — idKey ที่ server ใช้ upsert/remove").meta({initial:""}),name:B().optional().describe("ชื่อเส้นทางที่คนอ่าน").meta({initial:""}),detail:B().optional().describe("รายละเอียดเส้นทาง (ข้อความล้วน)").meta({initial:""}),logistic:T(M()).optional().describe("รูปแบบขนส่งที่เส้นทางนี้ใช้ได้ — อ้าง `Franchise.logistics[].id` (row shape ยังไม่ ground → z.any())").meta({initial:[]}),openTime:T($oe).optional().describe("ตารางรอบส่งราย 7 วัน (shape=RouteOpenTime · ซีดสร้างครบ 7 แถวตั้งแต่เปิดฟอร์ม)").meta({initial:[{day:0,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันอาทิตย์",product:[]},{day:1,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันจันทร์",product:[]},{day:2,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันอังคาร",product:[]},{day:3,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันพุธ",product:[]},{day:4,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันพฤหัสบดี",product:[]},{day:5,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันศุกร์",product:[]},{day:6,startTime:"",endTime:"",allTime:!1,sendingTime:"",status:!1,name:"วันเสาร์",product:[]}]}),code:B().optional().describe("รหัสย่อของเส้นทางที่ร้านตั้งเอง").meta({initial:""})}).passthrough(),joe=K({userId:B().optional().describe("LINE user id ของผู้ดูแล (ช่องกรอกบนจอ LineApiScreen)").meta({initial:""}),channelAccessToken:B().optional().describe("🔑 access token ของ LINE channel — ความลับ ห้ามโผล่ log/หน้าจอสาธารณะ").meta({initial:""}),liffUrl:B().optional().describe("URL ของ LIFF app ที่ผูกกับ channel นี้").meta({initial:""}),users:T(M()).optional().describe("รายชื่อผู้ใช้ LINE ที่ผูกไว้ — row shape ยังไม่ ground → z.any()").meta({initial:[]})}).passthrough(),Koe=K({id:B().optional().describe("id ของประเภทลูกค้า (uuid ฝั่งจอ) — idKey ที่ server ใช้ upsert/remove · ตัวที่ `PriceList.customerId` อ้างถึง").meta({initial:""}),name:B().optional().describe("ชื่อประเภทลูกค้าที่คนอ่าน (คอลัมน์ในตารางไขว้ของ MarketplacePriceScreen)").meta({initial:""}),detail:B().optional().describe("รายละเอียดประเภทลูกค้า (ข้อความล้วน · แสดงในตารางจอ CustomerTypeScreen)").meta({initial:""})}).passthrough();K({name:H().meta({initial:""}),imageId:H().meta({initial:""}),mLogo:H().meta({initial:""}),type:H().describe("default franchise").meta({initial:"franchise"}),timezone:B().optional().describe("เขตเวลาของสำนักงานใหญ่ (แฟรนไชส์) = ชื่อโซน IANA (เช่น 'Asia/Bangkok' · 'America/Ne
199w_York') — ตั้งตอนสร้างแฟรนไชส์ · ไม่มีค่า/ค่าเพี้ยน = ถือเป็น 'Asia/Bangkok' (fail-safe ผ่าน @scanfood/logic resolveShopTz — ❌ ไม่ throw เพราะแฟรนไชส์เก่าทุกใบไม่มี key นี้) · ใช้กับของที่เป็น 'ของแฟรนไชส์ ข้ามทุกสาขา' เท่านั้น: เดือน rollover ของเลขรัน franchiseOrderNumber (INB/ADJ/DEC/WH/SO/BL/INV/PO) + วันในสัปดาห์ของ routes[].openTime (ตารางรถส่งของ) · ≠ Shop.timezone (โซนของสาขา — วันธุรกิจ/บิล/รอบกะของสาขานั้น) ⇒ ใบสั่งซื้อ 1 ใบใช้ 2 นาฬิกาโดยตั้งใจ: billDate = โซนสาขา · เลขรัน+ตารางรถ = โซนแฟรนไชส์"),warehouseCategory:T(M()).optional().meta({initial:[]}),multiWarehouses:T(we(()=>Moe)).optional().describe("ทะเบียนคลังสินค้าของแฟรนไชส์ [{id,code,name,address}] (initialFranchise.js:46 · apis/franchise.js:62 · claude/franchise/create.js:53) — 1 แถว/คลัง").meta({initial:[{id:"master",name:"คลังกลาง",code:"WH001",address:""}]}),customerTypes:T(Koe).optional().describe("ทะเบียนประเภทลูกค้าขายส่ง — 1 แถว/ประเภท (shape=CustomerType · ซีดแถว CustomerTypeScreen.js `emptyCustomerTypeForm`) · `customerTypes.length>0` = เปิดโหมด multiMarketplace (apis/franchise.js:366) · id ถูกอ้างโดย `PriceList.customerId`").meta({initial:[]}),shopTypes:T(M()).optional().describe("profile สาขา [{id,name,product,category,right,payment}]").meta({initial:[]}),shopCategory:T(M()).optional().meta({initial:[]}),channel:T(M()).optional().meta({initial:[{id:1,name:"ทานที่ร้าน"}]}),smartOption:T(M()).optional().meta({initial:[]}),logistics:T(Noe).optional().describe("รูปแบบค่าขนส่งที่สำนักงานใหญ่ตั้งไว้ — 1 แถว/รูปแบบ (shape=Logistic · ซีดแถว initialLogistic.js)").meta({initial:[]}),routes:T(Hoe).optional().describe("เส้นทางส่งของ — 1 แถว/เส้นทาง (shape=Route · ซีดแถว initialRoute.js)").meta({initial:[]}),tax:we(()=>bU).optional().describe("ภาษีแฟรนไชส์ (= shopTaxDefaults · initialFranchise.js)").meta({initial:"__FACTORY__:shopTaxDefaults"}),vat:K({}).passthrough().optional().meta({initial:{status:!1,value:{type:"Include",amount:"7"}}}),payment:T(M()).optional().describe("ช่องทางรับเงินของแฟรนไชส์ [{id,name,value,status}] — ซีด 10 แถวนี้ = **บ้านเดียวของค่านี้ทั้งระบบ** (Pack เคาะ 2026-08-06 #4 · ลงจริง 2026-08-08 · เดิมมี 3 ก๊อป: `@scanfood/logic` FRANCHISE_PAYMENT_SEED · `claude/franchise/create.js` INITIAL_PAYMENT · `initialFranchise.js` — ถอดครบแล้ว). writer doc จริง = claude/franchise/create.js (ตอนสร้างแฟรนไชส์) · หลังจากนั้นเป็นข้อมูลของแฟรนไชส์เองที่แก้ผ่าน Modal_Payment (เปิด/ปิด status + กรอก value) ⇒ แก้ค่าตรงนี้ **ไม่ย้อนไปแก้แฟรนไชส์ที่สร้างไปแล้ว**. ทุกแถว `status:false` (ปิดหมดตั้งต้น) · รูป `value` ต่างตามชนิด: id 1-2 พร้อมเพย์ `{promptpayId,promptpayName}` · id 3-4 ธนาคาร `{bankName,bankNumber,accountName}` · id 7-12 เครดิต/เก็บเงินภายหลัง `''`. ⚠️ **id ข้าม 5,6 โดยตั้งใจ** (ต้นทางคอมเมนต์ 'รูป1'/'รูป2' ทิ้งไว้ — เติมให้ครบ = เปลี่ยนพฤติกรรมจอ ไม่ใช่การจัดระเบียบ) ⇒ ห้ามใช้ index เป็น id. 🚫 คนละของกับ `shop.delivery.paymentDetails` (id เป็น string payLater/promptpay/bank/manee) และ `initialPaymentData` ของ RN (state ตอนคิดเงิน) — ห้ามยุบรวม").meta({initial:[{id:1,name:"พร้อมเพย์1",value:{promptpayId:"",promptpayName:""},status:!1},{id:2,name:"พร้อมเพย์2",value:{promptpayId:"",promptpayName:""},status:!1},{id:3,name:"บัญชีธนาคาร1",value:{bankName:"",bankNumber:"",accountName:""},status:!1},{id:4,name:"บัญชีธนาคาร2",value:{bankName:"",bankNumber:"",accountName:""},status:!1},{id:7,name:"ให้เครดิต1",value:"",status:!1},{id:8,name:"ให้เครดิต2",value:"",status:!1},{id:9,name:"ให้เครดิต3",value:"",status:!1},{id:10,name:"ให้เครดิต4",value:"",status:!1},{id:11,name:"เก็บเงินภายหลัง",value:"",status:!1},{id:12,name:"เก็บเงินปลายทาง",value:"",status:!1}]}),bomCategory:T(M()).optional().meta({initial:[]}),humanResource:T(M()).optional().meta({initial:[]}),humanRight:T(M()).optional().meta({initial:[]}),mPromotion:T(M()).optional().meta({initial:[]}),mStory:T(M()).optional().meta({initial:[]}),mLevelStatus:U().optional().meta({initial:!1}),mLevel:T(M()).optional().describe("ระดับสมาชิก preset 3 (BRONZE/SILVER/GOLD)").meta({initial:[{id:"BRONZE",min:"",period:365,multiple:1,imageId:""},{id:"SILVER",min:"",period:365,multiple:1,imageId:""},{id:"GOLD",min:"",period:365,multiple:1,imageId:""}]}),mPoint:K({}).passthrough().optional().meta({initial:{type:"stampTime",value:""}}),aboutUs:K({}).passthrough().optional().meta({initial:{}}),mContact:T(M()).optional().meta({initial:[]}),mQuestion:T(M()).optional().meta({initial:[]}),mInfo:T(M()).optional().meta({initial:[]}),mCoupon:T(M()).optional().meta({initial:[]}),mCredit:T(M()).optional().meta({initial:[200,500,1e3]}),mVoucher:T(M()).optional().meta({initial:[]}),expirePoint:xe().meta({initial:365}),expireCredit:xe().meta({initial:365}),notiSalesIn:T(M()).optional().meta({initial:[]}),notiPayment:T(M()).optional().meta({initial:[]}),lineNotify:H().meta({initial:""}),lineMessaging:joe.optional().describe("บัญชี LINE Messaging API ของแฟรนไชส์ (shape=LineMessaging · ซีดฟอร์ม initialLineApi.js · จอ LineApiScreen เขียนทับทั้งก้อน LWW). 🟡 `initial` ที่นี่ = ซีดตอน **สร้างแฟรนไชส์ใหม่** (`initialFranchise.js` มีแค่ 2 ช่อง) ซึ่งแคบกว่า `lineMessagingDefaults()` (ซีดตอนเปิดฟอร์ม 4 ช่อง) — จงใจไม่ทำให้เท่ากัน เพราะเป็นของจริงคนละจังหวะ").meta({initial:{users:[],channelAccessToken:""}})}).passthrough();K({id:H().describe("doc id ของกลุ่มสาขา — server เขียนซ้ำลงในตัว doc ด้วย (branch/manage.js:64 `{ id: branchRef.id, ... }`) นอกเหนือจากเป็น doc id · ค่านี้ = สิ่งที่ไปอยู่ใน `Shop.branchId`"),name:H().describe("ชื่อกลุ่มสาขา (dq17 · เพิ่ม 2026-08-30 DEV-1253) — ตั้งได้ตั้งแต่ create (branch/manage.js:54,64 · ไม่ส่ง = '') · แก้/ลบผ่าน op setName (:198 · สมาชิก ∈ shopIds เท่านั้น · ว่าง = ลบชื่อ) · validate ที่ parseName (:35-41 trim · เพดาน 60 ตัวอักษร NAME_MAX) · ใบเก่าก่อน dq17 ไม่มี key นี้"),shopIds:T(B()).optional().describe("รายชื่อ shopId ที่เป็นสมาชิกกลุ่มแล้ว — ตัวแรก = ร้านที่สร้างกลุ่ม (branch/manage.js:49) · join = push caller (:81) · leave = filter caller ออก (:141) · ว่างหมด = server ลบ doc ทิ้ง (:144) · เป็นเกณฑ์สิทธิ์ invite (caller ต้อง ∈ shopIds · :105) และสิทธิ์อ่าน get/detail (branch/read.js:55,79)"),inv
199iteShopIds:T(B()).optional().describe("รายชื่อ shopId ที่ถูกเชิญแต่ยังไม่ตอบรับ — invite = push target (branch/manage.js:139 · cap 10 ตัว :137 INVITE_CAP) · join = ย้ายออกจาก list ไปเข้า shopIds (:99) · ร้านเป้าหมายเห็นคำเชิญผ่าน query `array-contains` (branch/read.js:37) · เชิญผิด/เปลี่ยนใจ = สมาชิกถอนผ่าน op revokeInvite (:230 · dq18 · เพิ่ม 2026-08-30 DEV-1253 — ของเดิมต้อง leave ทั้งกลุ่ม)"),createdAt:M().optional().describe("วันสร้างกลุ่มสาขา (Firestore Timestamp · branch/manage.js:49 `new Date()`) — ยังไม่มี reader ในโค้ด (เก็บไว้เป็นร่องรอย)")}).passthrough();K({id:H().describe("doc id (runtime · Firestore auto-id) — map เข้า object ตอน list (mailbox/manage.js:30) · ใช้เป็น key ปุ่มลบราย row (MailboxScreen.js:46 testID `mailbox-delete-${id}`)"),shopId:H().describe("ร้านผู้รับจดหมาย — server bind จาก req.shopAccess ตอน create (mailbox/manage.js:54 ไม่เชื่อ body) · เป็นทั้ง key ของ query list (:26) และ guard ตอนลบ (:41 doc.shopId ต้อง === caller ไม่งั้น 403 wrong_shop)"),content:H().describe("เนื้อความจดหมาย (ข้อความล้วน ไม่มี markup · แสดงเป็นบรรทัดเดียวใน MailboxScreen.js:37) — default '' ถ้า create ไม่ส่งมา (mailbox/manage.js:50)"),scanfood:U().optional().describe("true = โชว์ปุ่ม 'ลิงค์ฝ่ายซัพพอร์ต' ใต้ข้อความ (เปิด LINE https://lin.ee/cYPMVqR · MailboxScreen.js:38-43) — ใช้กับเมลต้อนรับร้านใหม่ (shop/create.js:215 true) · เมลระบบอื่นเป็น false (shop/create.js:219 · office.js:132 · manage.js:51 default false)"),timestamp:M().optional().describe("เวลาส่งจดหมาย — ⚠️ 2 ชนิดปนกันตามผู้เขียน: Firestore Timestamp (writer ส่วนใหญ่ · office.js:133 `new Date()` · shop/create.js:215 nowTs — doc จริง 30/30 ใบเป็นแบบนี้) กับ ISO string (mailbox/manage.js:53 fallback `new Date().toISOString()` ตอน op create ไม่ส่ง timestamp) · เป็น key ที่ list ใช้ orderBy desc (manage.js:28) · reader stringDateTimeReceipt (MailboxScreen.js:44) รับได้ทั้งคู่")}).passthrough();var Woe=K({enable:U().optional().describe("เปิดให้เก็บแต้มย้อนหลังไหม — 🔒 **เทียบกับ `false` แบบเป๊ะ** ทั้ง 2 ฝั่ง (`claimCfg.enable === false`) ⇒ ไม่มีช่องนี้/undefined = **เปิด** (provider เก่าที่ไม่เคยตั้งค่าใช้ได้ทันที) · ปิด = ออก QR ได้แต่ไม่มี url (claimToken 200 `disabled:true`) และกดเก็บแต้มถูกปัด 403 CLAIM_DISABLED"),window:re([Y(),B()]).optional().describe("อายุของ QR เป็น**วัน** นับจาก **เวลาบนบิล** ไม่ใช่เวลาสแกน (claimBill.js:73-77) — เกิน = 410 WINDOW_EXPIRED · `Number(window) || 7` ⇒ ว่าง/0/พิมพ์ผิด = ตกกลับ 7 วันเสมอ"),reward:B().optional().describe("โหมดของรางวัล 3 ค่าจาก dropdown: `'points'` = แต้มอย่างเดียว · `'voucher'` = คูปองอย่างเดียว · `'both'` = ทั้งคู่ — ⚠️ **ฝั่ง server ยังไม่อ่านช่องนี้เลย** (เส้นแจกคูปองยังไม่เปิด — claimBill.js:164 คาไว้เป็นคอมเมนต์ รอ verify รูป pocket ก่อน) ⇒ วันนี้ทุกโหมดให้ผลเท่ากับ `'points'` · จอบอกผู้ใช้ตรงๆ ว่ารอ deploy (i18n `mProviderSetting.voucherServerNote`)"),voucher:K({minNet:re([Y(),B()]).optional().describe("ยอดสุทธิขั้นต่ำของบิลที่จะได้คูปอง (จอรับเฉพาะตัวเลข `onlyDigits`) — ยังไม่มีผลจนกว่าเส้น voucher ฝั่ง server จะเปิด"),couponId:B().optional().describe("`memberCoupon/{id}` ต้นแบบที่จะแจกให้ — ยังไม่มีผลจนกว่าเส้น voucher ฝั่ง server จะเปิด")}).passthrough().optional().describe("ตั้งค่าคูปองที่จะแจก — จอซ่อนทั้งก้อนถ้า `reward` ไม่ใช่ `voucher`/`both` (Modal_ProviderSetting.js:569) · ค่ายังคาอยู่ในเอกสารแม้สลับกลับเป็น points")}).passthrough(),Voe=K({id:B().optional().describe("id ของหัวข้อ (uuid ฝั่งจอ) — ตัวที่ `Member.persona[]` อ้างถึง").meta({initial:""}),name:B().optional().describe("ชื่อหัวข้อที่คนอ่าน").meta({initial:""}),options:T(M()).optional().describe("ตัวเลือกย่อยใต้หัวข้อ [{id,name}] (ตามคอมเมนต์ในซีด — ยังไม่ ground writer → z.any())").meta({initial:[]})}).passthrough(),zoe=K({email:B().optional().describe("อีเมลผู้ส่ง").meta({initial:""}),appPassword:B().optional().describe("🔑 app password ของอีเมลนั้น — ความลับ ห้ามโผล่ log/หน้าจอสาธารณะ (จอตัดช่องว่างออกก่อนบันทึก)").meta({initial:""})}).passthrough();K({name:H().meta({initial:""}),logo:H().meta({initial:""}),aboutUs:K({}).passthrough().optional().meta({initial:{content:"",imageId:""}}),branch:T(M()).optional().meta({initial:[]}),contact:T(M()).optional().meta({initial:[]}),coupon:T(M()).optional().meta({initial:[]}),credit:T(M()).optional().meta({initial:[]}),creditEnable:U().optional().meta({initial:!1}),date:T(M()).optional().meta({initial:[]}),days:T(M()).optional().meta({initial:[]}),expireCredit:xe().meta({initial:1}),expirePoint:xe().describe("ปี").meta({initial:1}),humanResource:T(M()).optional().meta({initial:[]}),humanRight:T(M()).optional().describe("ตารางสิทธิ์ของคนในแบรนด์สมาชิก — [{id: profileId, name, tel, rights: [เมนู id]}] · เขียนทางเดียวผ่าน POST /member/provider-config section='humanRight' (claude/member/providerConfig.js:49 · sanitizeHumanRight :90-102 fail-closed ทั้งชุด · DEV-0213) · seed 1 entry เจ้าของตอนสร้างแบรนด์ (providerCreate.js:100) · ผู้อ่าน MasterScreen.js:25,89 กรองเมนูรายคน · _shared/providerAccess.js:78-87 · ≠ humanResource (profileId เจ้าของล้วน) · ≠ Franchise.humanRight (คนละคอลเลกชัน) · ไม่มี .meta({initial}) โดยเจตนา — providerDefaults() ต้องไม่มี field เจ้าของ"),info:T(B()).optional().describe("ข้อมูลเก็บตอนสมัคร").meta({initial:["name","tel","imageId","email"]}),level:T(M()).optional().describe("ระดับสมาชิก preset 3 (asset URL)").meta({initial:[{id:"BRONZE",name:"BRONZE",multiple:1,imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/member%2Fbronze.webp?alt=media&token=0b03687a-72d6-4303-b878-342e34e0d238",point:0,sale:0,visit:0},{id:"SILVER",name:"SILVER",multiple:1,imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/member%2Fsilver.webp?alt=media&token=42f1c2ce-3507-4445-b4c0-26e172b9fd6d",point:0,sale:0,visit:0},{id:"GOLD",name:"GOLD",multiple:1,imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/member%2Fgold.webp?alt=media&token=404308cc-a86f-4b3c-ab6d-348791227c5b",point:0,sale:0,visit:0}]}),levelStatus:U().optional().meta({initial:!1}),memberVoucher:T(M()).optional().meta({initial:[]}),paymentToken:H().meta({initial:""}),point:K({}).passthrough().optional().meta({initial:{type:"point",value:"100"}}),pointPattern:H().meta({initial:"point"}),promotion:T(M()).optional().meta({initial:[]}),question:T(M()).optional().meta({initial:[]}),story:T(M()).optional().meta({initial:[]}),voucher:T(M()).optional().meta({initial:[]}),backgroundColor:H().meta({initial:"#D00A13"}),reference:H().meta({initial:""}),referenceType:H().meta({initial:""}),timezone:B().optional().describe("เขตเวลาของแบรนด์สมาชิก (memberProvider) = ชื่อโซน IANA (เช่น 'Asia/Bangkok' · 'America/Ne
199w_York') — ตั้งตอนสร้างแบรนด์ (approvePackage normalize จาก timezone ของร้านที่ซื้อแพ็กเกจ) · ไม่มีค่า/ค่าเพี้ยน = ถือเป็น 'Asia/Bangkok' (fail-safe ผ่าน @scanfood/logic resolveShopTz — ❌ ไม่ throw เพราะแบรนด์เก่าทุกรายไม่มี key นี้) · ใช้กับเส้นสมาชิกฝั่งเว็บที่ไม่รู้ร้านโดยโครงสร้างเท่านั้น: ขอบวันตัดสินคูปอง/voucher หมดอายุ (voucherCheckoutWeb) + `billDate` ของ pocket/paymentRecord (redeemPointWeb · voucherConfirmWeb) · ⚖️ ลำดับความสำคัญ — ถ้ารู้ร้าน (มี shopId บนเอกสาร) ให้ `Shop.timezone` ชนะเสมอ ช่องนี้เป็นทางสำรองของเส้นที่ไม่มีร้าน ≠ Shop.timezone (โซนของสาขา) ≠ Franchise.timezone (โซนสำนักงานใหญ่ — เลขรัน/ตารางรถ)"),lineApi:K({}).passthrough().optional().describe("บัญชี LINE ของแบรนด์สมาชิก (LIFF ฝั่ง member) — ซีด `initialProvider.js:70` เรียก **`lineChannelDefaults()`** ตรง ๆ ⇒ `initial` ที่นี่ผูกเป็น sub-factory ให้ตรงของจริง 3 ช่อง (`userId`/`channelAccessToken`/`liffUrl`) แทนที่จะเป็น `{}` เปล่า · ผู้อ่านทุกจุด destructure ช่องย่อยอยู่แล้ว · ⚠️ **คนละตัวกับ `Franchise.lineMessaging`** (LINE ของแฟรนไชส์) และ คนละ doc กับ `shop.linePickup`/`shop.lineDelivery` ถึงจะใช้ shape `LineChannel` เดียวกัน — 3 ตัวนี้ห้ามยุบรวมกัน").meta({initial:"__FACTORY__:lineChannelDefaults"}),emailApi:zoe.optional().describe("บัญชีอีเมลที่แบรนด์ใช้ส่งเมลออก (shape=EmailApi · ซีด initialEmailApi.js · whitelist `SECTION_FIELDS.emailApi`)").meta({initial:"__FACTORY__:emailApiDefaults"}),welcomePointEnable:U().optional().meta({initial:!1}),welcomePoint:xe().meta({initial:""}),welcomeMessage:H().meta({initial:""}),welcomeImage:H().meta({initial:""}),tagCategory:T(M()).optional().meta({initial:[]}),tagEarnPoint:K({}).passthrough().optional().meta({initial:{status:!1,excludedTags:[]}}),personaOptions:T(Voe).optional().describe("ทะเบียนหัวข้อบุคลิกลูกค้าของแบรนด์ — 1 แถว/หัวข้อ (shape=PersonaOption · ซีดแถว initialPersona.js) · ≠ `Member.persona[]` ที่เก็บค่าที่ติดกับคน").meta({initial:[]}),levelUp:K({}).passthrough().optional().meta({initial:{status:!1,duration:90,type:"sale",cumulativeDuration:365}}),loyalCustomer:K({}).passthrough().optional().meta({initial:{loyal:{id:"1",name:"Loyal",visit:5,duration:90},potential:{id:"2",name:"Potential",visit:3,duration:90},risk:{id:"3",name:"At-Risk",visit:1,duration:60},new:{id:"4",name:"New Customer",visit:1,duration:30}}}),beamId:H().meta({initial:""}),merchantId:H().meta({initial:""}),photoEnable:U().optional().meta({initial:!1}),manualPointEnable:U().optional().meta({initial:!1}),premiumEnable:U().optional().describe("🔴 **ช่องของ `Provider` (`memberProvider/{id}`) เท่านั้น — ไม่ใช่ของ `Shop`** · แบรนด์สมาชิกซื้อแพ็กเกจพรีเมียมแล้วหรือยัง (ซีด `scanFood_web_member/src/configs/initialProvider.js:96` = `false` · คอมเมนต์ในซีด: 'ใช้สมาชิกแบบ 6,000 บาท'). ผู้อ่านจริง 5 จุดในจอ member: `MasterScreen.js:26,155,205` (เมนู/แถบข้างที่ติดป้าย `premium` — ปิดอยู่ = เด้ง `master.premiumAlert` แทนการนำทาง) · `LevelSettingScreen.js:28,117` (ปิดอยู่ = เพิ่มระดับสมาชิกได้ไม่เกิน 3 ระดับ). ⚠️ **ห้ามสับสนกับ `premiumEnable` ฝั่ง Shop** ซึ่ง `semantics/plan.yaml:12` ประกาศไว้ว่า **ไม่ใช่ field จริง** (derive จาก `shop.vip`) — คนละเรื่อง คนละ doc คนละแหล่งความจริง").meta({initial:!1}),afterBillClaim:we(()=>Woe).optional().describe("config 'สแกน QR ท้ายใบเสร็จเก็บแต้มย้อนหลัง' — **ไม่มีช่องนี้ = เปิดใช้งานตามค่าเริ่มต้น** (server เทียบ `enable === false` เท่านั้น) · จอ seed ให้ตอนเปิดหน้าตั้งค่าครั้งแรก")}).passthrough();K({id:B().optional().describe("= doc id ของ memberTag (server ฉีดตอนอ่าน `{...d.data(), id:d.id}` · list.js:20 — ไม่ได้เก็บในตัว doc: create.js:25 ลบ id ที่ client ส่งมาทิ้ง) · ค่านี้คือตัวที่ `Member.labels[]` เก็บอ้างถึง").meta({initial:""}),name:B().optional().describe("ชื่อแท็กที่คนอ่าน (บังคับกรอก · scanFood_web_member Modal_Tag.js:35) — โผล่บนจอ POS 'แท็ก :' MemberSettingScreen.js:82,252").meta({initial:""}),category:B().optional().describe("id ของหมวดแท็ก อ้าง `Provider.tagCategory[].id` (บังคับกรอก · Modal_Tag.js:36 · dropdown :88-93) — ใช้กรองแท็กใน TagScreen.js:57-59").meta({initial:""}),providerId:B().optional().describe("provider เจ้าของแท็ก — server bind จาก shop ของ caller เสมอ (create.js:26 strip ค่าที่ client ส่งมา · list.js:19 query where providerId · update/delete assertOwned 403 wrong_provider)").meta({initial:""})}).passthrough();K({imageId:H().meta({initial:""}),name:H().meta({initial:""}),tel:H().meta({initial:""}),email:H().meta({initial:""}),gender:H().meta({initial:""}),birthday:H().meta({initial:""}),timestamp:M().optional().describe("วันสร้าง (Date)").meta({initial:"__NEW_DATE__"}),port:T(M()).optional().describe("ร้านที่เข้าล่าสุด (เติม/ลบ manual)").meta({initial:[]}),portOwner:T(B()).optional().describe("shopId ที่โผล่ใน 'แดชบอร์ดรวม' ของเว็บเจ้าของร้าน (array of str
199ing ล้วน · ไม่ว่าง = เมนูโผล่ · scanFood_Owner MasterScreen.js:317 → DashboardMultiShopScreen.js:22). authority field — client เขียนเองไม่ได้ (profile/updateField.js:27) · writer เดียว = tool profile.portOwnerSet").meta({initial:[]}),currentLogin:K({}).passthrough().optional().describe("session ร้านปัจจุบัน {shopId,rights,printer} (initialCurrentLogin.js)").meta({initial:{shopId:"",rights:[],printer:[]}}),other:T(M()).optional().meta({initial:[]}),printerType:H().describe("default 'wifi/lan'").meta({initial:"wifi/lan"}),portFranchise:T(M()).optional().describe("ร้านแฟรนไชส์ที่ผู้ใช้คนนี้เข้าถึงได้ [{shopId,shopName,…}] — คล้าย `port` แต่เก็บเฉพาะร้านในแฟรนไชส์. writer เดียว = claude/franchise/connectOwner.js (sanitize ผ่าน `buildCleanPort` · ตรวจ shopId ว่าอยู่ในแฟรนไชส์จริง) · client เขียนเองไม่ได้ (`AUTHORITY_FIELDS` ใน claude/profile/updateField.js). ⚠️ **secondary index ไม่ใช่ authority** — claude/_shared/franchiseAccess.js ห้าม OR ช่องนี้เข้าไปในการตัดสิทธิ์ (authority จริง = `franchise/{id}.humanResource[]`) · reader: claude/_shared/shopReadAccess.js · scanFood_Owner ShopListScreen").meta({initial:[]}),franchise:T(B()).optional().describe("franchiseId ที่ผู้ใช้คนนี้ถูกเชื่อมเข้าไว้ (array of string ล้วน) — writer เดียว = claude/franchise/connectOwner.js (union ตอน connect · filter ออกตอน disconnect) · client เขียนเองไม่ได้ (`AUTHORITY_FIELDS`). ⚠️ **secondary index ไม่ใช่ authority** เหมือน `portFranchise` (claude/_shared/franchiseAccess.js) · reader: claude/franchise/coOwners.js · claude/franchise/findProfileByTel.js").meta({initial:[]}),franchisePort:T(M()).optional().describe("🪦 **ช่องตาย** — server seed `[]` ให้ทุก doc ตอนสมัคร (claude/profile/createOwn.js `SERVER_SEEDED`) แต่ **ไม่มี writer และไม่มี reader สักจุดเดียวทั้งบ้าน** (ยืนยัน 2026-08-06 · นอกจาก seed เองกับซีดฟอร์ม web_franchise). ประกาศไว้เพราะมันอยู่บน doc จริง (แพตเทิร์นเดียวกับ `Pocket.shopId`) — ❌ ห้ามเขียนโค้ดใหม่ที่พึ่งช่องนี้ · อย่าสับสนกับ `portFranchise` ที่ใช้งานจริง (ชื่อกลับหัวกัน)").meta({initial:[]})}).passthrough();K({enabled:U().optional().describe("**เจตนาของร้าน** — ให้กระเป๋าใบนี้โผล่ให้เลือกตอนคิดเงินไหม (รายการที่ร้าน curate · `payment/connections.js` กฎข้อ 4 ที่ Pack เคาะ 2026-08-15) · ❌ **ไม่ใช่ผลตรวจว่ากระเป๋าเปิดจริงไหม** (นั่นคือ `open`) · ไม่มีแถวในฐาน = ถือเป็น `false` (นิยามเดียวกันทุกผู้อ่าน: `row.enabled === true`) · ถอดติ๊ก = วิธีจ่ายนั้นหายจากโมดัลคิดเงิน และสำหรับเจ้าที่ขายผ่านเซิร์ฟเวอร์ยังเป็นด่านที่ปัดคำขอ QR (`channel_not_enabled_for_shop`) — บัญชีที่ผูกไว้ยังอยู่ครบ ไม่ได้ถูกตัด"),open:U().nullable().optional().describe("**ผลตรวจกับผู้ให้บริการ** ว่ากระเป๋าใบนี้เปิดให้ร้านนี้ใช้จริงไหม (เส้น `POST /claude/payment/ch
199annels/check`) · 🕓 **3 สถานะ ห้ามยุบเหลือ 2**: `true` เปิด · `false` ปิด · `null`/ไม่มีค่า = **ยังไม่เคยถามสำเร็จ** ❌ ไม่ใช่ 'ปิด' (`connections.js#projectShopConnection`) · การบันทึกบัญชีและการติ๊กกระเป๋า **ไม่ล้างค่านี้** (ของที่วัดมาแล้วห้ามถูกเขียนทับด้วยการกระทำที่ไม่ได้วัด)"),checkedAt:B().nullable().optional().describe("เวลาที่ผลตรวจ `open` ถูกบันทึกล่าสุด (ISO 8601 · `null` = ยังไม่เคยถามสำเร็จ) — คู่กับ `open` เสมอ ห้ามอ่านแยกกัน")}).passthrough();var Goe=xU.extend({id:B().min(1)}),Yoe=K({shopId:B().min(1),product:T(Goe),scShopId:B().optional(),channelId:B().optional(),type:B().optional(),process:B().optional(),personName:B().optional(),tableName:B().optional(),fingerprint:B().optional(),deviceName:B().optional(),clientOrderId:B().optional(),customerQty:Y().optional(),isPrinted:U().optional(),staff:T(M()).optional(),arrProcess:T(M()).optional(),net:re([Y(),B()]).optional(),timestamp:M().optional()}).passthrough();K({order:Yoe});K({id:B().optional(),blocked:U().optional(),rejected:B().optional(),duplicate:U().optional(),message:B().optional()});var Xoe=Ge(["static","dynamic","pickup","delivery","demo"]);K({docId:B().min(1).describe("รหัสจาก QR (โต๊ะ/qrcode/ร้าน) — server ใช้ค้นหา"),type:Xoe.describe("บอกว่าสแกนแบบไหน — คุม collection ที่ server ไปหา"),visitorId:B().optional().describe("รหัสอุปกรณ์ (fingerprint) — ไว้ดึงเมนูที่เคยสั่ง")}).passthrough();K({shopData:coe.describe("ข้อมูลร้าน (ว่าง {} ตอนปิด · มี shopLine.addUrl ใน flow B)"),products:T(Aoe).describe("เมนู (ว่าง [] ตอนปิด)"),bonusData:Soe.describe("โปรโมชั่น ({} เมื่อไม่มีโปร)"),orderHistory:T(woe).describe("ประวัติการสั่ง"),repeatItems:T(B()).describe("เมนูที่อุปกรณ์นี้เคยสั่ง (product ids)"),label_blockOrder:B().describe("ข้อความตอนร้านปิด/QR หมดอายุ (i18n key)"),expire_Modal:U().describe("ร้านปิด/QR หมดอายุ? (true = โชว์หน้าปิด)"),tableId:B().describe("รหัสโต๊ะ"),tableName:B().describe("ชื่อโต๊ะ"),zoneId:B().optional().describe("โซน (เฉพาะ dine-in static/dynamic · success เท่านั้น)")}).passthrough();K({shopId:B().min(1).describe("รหัสร้าน — server หา providerId + memberPromote"),channel_id:B().optional().describe("LINE channel id (จาก LIFF) — ว่าง = ยังไม่ login"),lineUserId:B().optional().describe("LINE user id (จาก getProfile) — ว่าง = ยังไม่ login")}).passthrough();K({ok:U().describe("สำเร็จไหม"),memberSystem:U().describe("ร้านเปิดระบบสมาชิก LINE ไหม (false = ซ่อนแผง)"),providerId:B().optional().describe("รหัส provider สมาชิกของร้าน"),needLogin:U().optional().describe("ต้อง login LINE ก่อน (ยังไม่มี identity)"),isMember:U().optional().describe("เป็นสมาชิกร้านนี้ไหม"),navigation:Ge(["member","register"]).optional().describe("ทิศทาง UI: การ์ดสมาชิก / ปุ่มสมัคร"),name:B().optional().describe("ชื่อสมาชิก"),rankLevelName:B().optional().describe("ชื่อระดับสมาชิก (badge)"),imageId:B().optional().describe("รูปโปรไฟล์"),registerUrl:B().optional().describe("deep-link สมัครสมาชิก (memberProvider.lineLink)")}).passthrough();var Zoe=K({couponId:B().describe("รหัสคูปอง"),name:B().describe("ชื่อคูปอง"),imageId:B().describe("รูปคูปอง"),detail:B().describe("รายละเอียด/เงื่อนไข"),rewardType:B().describe("ชนิดรางวัล"),price:Y().nullable().describe("แต้มที่ใช้แลก (ตาม rank · null = ระดับนี้แลกไม่ได้)"),startDate:B().describe("เริ่มใช้ได้"),endDate:B().describe("หมดเขต")}).passthrough(),KC=K({id:B().describe("รหัส pocket doc"),couponId:B().optional().describe("รหัส coupon ต้นทาง (group key · UI รวมคูปองซ้ำ ×N)"),code:B().describe("รหัสคูปอง"),couponCode:B().describe("โค้ดคูปอง"),name:B().describe("ชื่อคูปอง"),imageId:B().describe("รูป"),rewardType:B().describe("ชนิดรางวัล"),exchangePrice:B().describe("แต้มที่ใช้แลกตอนได้มา"),condition:B().describe("เงื่อนไข"),startDate:B().describe("เริ่มใช้ได้"),endDate:B().describe("หมดเขต"),usedDate:B().describe("วันที่ใช้ (used เท่านั้น)"),createdDate:B().describe("วันที่ได้มา"),expired:U().optional().describe("หมดอายุแล้ว (held เท่านั้น · UI โชว์ disabled)")}).passthrough(),qoe=K({id:B().describe("รหัสโปร (หรือ index ถ้า array entry ไม่มี id)"),header:B().describe("หัวข้อโปร (banner title · โชว์ detail modal)"),content:B().describe("รายละเอียดโปร (รองรับหลายบรรทัด \\n)"),imageId:B().describe("รูปแบนเนอร์"),status:U().optional().describe("เปิดแสดงไหม (filter status===true)"),startDate:B().optional().describe("เริ่มแสดง"),endDate:B().optional().describe("หมดเขตแสดง (filter inWindow)")}).passthrough();K({shopId:B().min(1).describe("รหัสร้าน"),channel_id:B().min(1).describe("LINE channel id (ต้องมี — summary ต้องรู้ตัวตน)"),lineUserId:B().min(1).describe("LINE user id (ต้องมี)")}).passthrough();K({ok:U().describe("สำเร็จไหม"),memberSystem:U().describe("ร้านเปิดระบบสมาชิกไหม"),providerId:B().optional().describe("รหัส provider"),isMember:U().optional().describe("เป็นสมาชิกไหม (false = คืน early)"),points:Y().optional().describe("แต้มคงเหลือ (คำนวณตาม expirePoint · ไม่ใช่ sum ดิบ)"),nearExpirePoint:Y().optional().describe("แต้มใกล้หมดอายุใน 6 เดือน"),creditEnabled:U().optional().describe("ร้านเปิดระบบ voucher ไหม (provider.creditEnable · gate โชว์เครดิต)"),credit:Y().optional().describe("เครดิตคงเหลือ (sum amount ที่ยังไม่หมดอายุ · 0 ถ้าไม่เปิด · mirror MemberScreen)"),nearExpireCredit:Y().optional().describe("เครดิตใà¸
199à¸¥à¹‰à¸«à¸¡à¸”อายุใน 3 เดือน"),redeemableCoupons:T(Zoe).optional().describe("คูปองแลกได้ (catalog)"),heldCoupons:T(KC).optional().describe("คูปองที่ถืออยู่"),usedCoupons:T(KC).optional().describe("คูปองที่ใช้แล้ว"),memberPromotions:T(qoe).optional().describe("โปรเฉพาะสมาชิก")}).passthrough();var Joe=K({point:Y().describe("จำนวนแต้มก้อนนี้ (หลังหัก FIFO · กรอง >0)")}).passthrough();K({shopId:B().min(1).describe("รหัสร้าน — server หา providerId + expirePoint (H2)"),channel_id:B().min(1).describe("LINE channel id — memberId = channel_id+lineUserId server-side (H1)"),lineUserId:B().min(1).describe("LINE user id (H1)"),couponId:B().min(1).describe("คูปองที่จะแลก (memberCoupon doc id)")}).passthrough();K({ok:U().describe("แลกสำเร็จไหม"),updatedPoints:T(Joe).optional().describe("member.point[] หลังหัก (success เท่านั้น)"),code:B().optional().describe("รหัส error (fail เท่านั้น)"),message:B().optional().describe("ข้อความ error ภาษาไทย (fail เท่านั้น)")}).passthrough();var eae=K({id:B().describe("couponId (memberCoupon doc) ที่จะได้ตอนซื้อ voucher"),qty:re([B(),Y()]).optional().describe("จำนวนใบที่ได้"),name:B().optional().describe("ชื่อคูปอง (enrich · UI โชว์ 'ได้คูปองอะไร')"),imageId:B().optional().describe("รูปคูปอง (enrich)")}).passthrough(),uae=K({voucherId:B().describe("รหัส voucher (memberVoucher doc id)"),id:B().optional().describe("= doc id ของ memberVoucher (ฝั่งจอทะเบียนของสตาฟใช้ช่องนี้ · catalog response ใช้ `voucherId` แทน)").meta({initial:""}),timestamp:M().optional().describe("เวลาสร้าง voucher (Date · ซีดฟอร์ม `new Date()`)").meta({initial:"__NEW_DATE__"}),name:B().describe("ชื่อ voucher").meta({initial:""}),imageId:B().describe("รูป").meta({initial:""}),cost:Y().describe("ราคาที่ลูกค้าจ่าย (บาท) — ⚠️ ซีดฟอร์มเริ่มที่ `''` (ช่องกรอกยังว่าง) แล้วผู้ใช้พิมพ์ทับ").meta({initial:""}),credit:Y().describe("เครดิตที่ได้รับ (บาท · เช่น จ่าย 100 ได้ 120) — ซีดฟอร์ม `''` เหมือน `cost`").meta({initial:""}),detail:B().describe("รายละเอียด/เงื่อนไข").meta({initial:""}),freeCoupons:T(eae).describe("คูปองแถมที่ได้ตอนซื้อ (อาจว่าง)").meta({initial:[]}),amount:Y().optional().describe("จำนวนสิทธิ์ทั้งหมด (ถ้า amountStatus)").meta({initial:""}),amountStatus:U().optional().describe("จำกัดจำนวนสิทธิ์ไหม").meta({initial:!1}),startDate:B().optional().describe("เริ่มขาย").meta({initial:"__NEW_DATE__"}),endDate:B().optional().describe("หมดเขตขาย").meta({initial:"__NEW_DATE__"}),status:U().optional().describe("เปิดขาย voucher ใบนี้ไหม (สวิตช์ 'สถานะการใช้งาน' บนโมดัลตั้งค่า · default false ตอนสร้างใหม่) — server ใช้เป็นการ์ด 3 จุดคู่กับ inWindow(startDate,endDate)").meta({initial:!1}),code:B().optional().describe("รหัส voucher ที่ร้านตั้งเอง (ไม่บังคับกรอก) — ใช้เป็นคีย์ค้นหาบนจอทะเบียน voucher ของสตาฟเท่านั้น · ไม่ใช่โค้ดที่ลูกค้ากรอก").meta({initial:""}),creditExpireType:B().optional().describe("หน่วยอายุเครดิตที่ได้จาก voucher ใบนี้: 'provider' (default · ใช้ค่ากลางร้าน) | 'days' | 'months' | 'years'").meta({initial:"provider"}),creditExpireValue:re([B(),Y()]).optional().describe("จำนวนตามหน่วย creditExpireType (ของจริงมี 2 ชนิด: default 0 = number · ค่าที่ผู้ใช้พิมพ์ = string onlyDigits) · ใช้จริงเมื่อ type≠'provider' และ Number(value)>0").meta({initial:0})}).passthrough();K({shopId:B().min(1).describe("รหัสร้าน — server หา providerId แล้ว query memberVoucher"),channel_id:B().optional().describe("LINE channel id (optional · catalog = provider-level)"),lineUserId:B().optional().describe("LINE user id (optional)")}).passthrough();K({ok:U().describe("สำเร็จไหม"),memberSystem:U().describe("ร้านเปิดระบบสมาชิกไหม (false = ไม่มี voucher)"),providerId:B().optional().describe("รหัส provider"),vouchers:T(uae).optional().describe("voucher ขายได้ (status && inWindow)")}).passthrough();K({shopId:B().min(1).describe("รหัสร้าน → providerId + secret"),voucherId:B().min(1).describe("voucher ที่จะซื้อ (memberVoucher doc · server derive cost/credit)"),
199channel_id:B().min(1).describe("LINE channel id (H1 derive memberId)"),lineUserId:B().min(1).describe("LINE user id (H1)"),redirectUrl:B().min(1).describe("URL หน้าเมนู ordering ปัจจุบัน (server validate host + ใส่ ?voucherPaid)")}).passthrough();K({ok:U().describe("สร้างรายการจ่ายสำเร็จไหม"),paymentId:B().optional().describe("รหัส paymentRecord (success)"),paymentLink:B().optional().describe("ลิงก์หน้าจ่ายเงิน Beam (success)"),code:B().optional().describe("รหัส error (fail)"),message:B().optional().describe("ข้อความ error (fail)")}).passthrough();K({paymentId:B().min(1).describe("รหัส paymentRecord จาก ?voucherPaid")}).passthrough();K({ok:U().describe("สำเร็จไหม"),status:B().optional().describe("'success' (granted)"),granted:U().optional().describe("ได้ credit แล้วไหม"),voucherName:B().optional().describe("ชื่อ voucher (โชว์ผล)"),voucherImageId:B().optional().describe("รูป"),credited:Y().optional().describe("เครดิตที่ได้รับ"),couponsReceived:Y().optional().describe("จำนวนคูปองแถมที่ได้จาก voucher (pocketsCreated/qty รวม · UI โชว์ 'ได้รับคูปอง N ใบ')"),code:B().optional().describe("รหัส error (fail)"),message:B().optional().describe("ข้อความ error (fail)")}).passthrough();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role owner|staff (plumbing)"),name:B().describe("ชื่อร้าน"),branchName:B().describe("ชื่อสาขา"),phone:B().describe("เบอร์โทรร้าน"),email:B().describe("อีเมลร้าน"),address:B().describe("ที่อยู่ร้าน"),taxId:B().describe("เลขประจำตัวผู้เสียภาษี")}).strict();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role (plumbing)"),checkInEnable:U().describe("ร้านเปิดฟีเจอร์ check-in ไหม (boolean toggle)")}).strict();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role (plumbing)"),tier:Ge(["premium","free"]).describe("label เสริม (derived จาก premiumEnable · guardrail A)"),premiumEnable:U().describe("plan flag — แพ็กเกจ premium (ปลด capability requires:premiumEnable)"),memberEnable:U().describe("plan flag — แพ็กเกจ member/crm (ปลด member.system)"),posEnable:U().describe("plan flag — แพ็กเกจ POS"),staffEnable:U().describe("plan flag — แพ็กเกจ staff")}).strict();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role (plumbing)"),schedule:CU.nullable().describe("ตารางเปิด-ปิดร้าน (null เมื่อร้านยังไม่ตั้ง)"),smartTable:T(DU).describe("metadata โต๊ะ (1 แถว/โต๊ะ)"),zone:T(K({id:B(),name:B()}).strict()).describe("โซนของร้าน {id,name}"),staticQrcodes:T(_oe).describe("staticQrcode docs ของร้านนี้ (1/โต๊ะ · QR ที่ลูกค้าสแกน)")}).strict();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role (plumbing)"),smartCategory:T(SU).describe("หมวดเมนู (tree) + enable/hiddenChannels ราย item (Layer B visibility)"),hideEmptyCategories:U().describe("Layer A — ซ่อนหมวดว่างบน channel (render-time · absent/false = แสดง)"),smartOption:T(K({optionId:B(),optionTopic:B(),hiddenChannels:T(rp).optional()}).strict()).describe("หัวข้อ option + hiddenChannels (topic-level visibility · ไม่ลงถึง choice)"),perOrderChannelBOM:np.nullable().describe("Layer C — packaging ต่อบิล ราย channel { [channelKe
199y]: [{id,qty}] } (null = ไม่ตั้ง)"),channelPackagingEnable:U().describe("p0 gate ของ feature channelPackaging (absent/false = ปิด — server coerce === true)"),bomUnits:T(K({id:B(),unitName:B(),rawMatName:B()}).strict()).describe("unit master ของร้าน (M1 — resolve/validate unitId ของ packaging · id=unitId)")}).strict();K({ok:U().describe("envelope success flag"),shopId:B().describe("echo of request shopId (plumbing)"),role:B().describe("server-derived caller role (plumbing)"),smartRails:T(K({key:Ge(["smartTopSale","smartPromotion","smartRecommend"]).describe("rail id (Shop.<key> · SmartPromoGroup)"),name:B().describe("ชื่อ chip ที่ลูกค้าเห็น (เมนูเด็ด/โปรโมชั่น/แนะนำ · '' ถ้าไม่ตั้ง)"),status:U().describe("เปิด/ปิด chip บนจอสั่ง (false ⇒ ลูกค้าไม่เห็นหมวดนี้)"),value:T(B()).describe("product id + ลำดับโชว์ (จัดมือ · resolveSmartRailOrder · เมนูเพิ่งติด tag ไม่อยู่ value = ล่างสุด)"),nameLanguage:re([T0(B(),B()),T(M())]).describe("คำแปลชื่อ rail — 2 shape: {lang:name} หลัง user แปล (รวม {}) หรือ array legacy/[] ตอนยังไม่แปล (server คืนเสมอ · smartRailConfig.js fn railNameLanguage · BL-0361 write ทั้งก้อนต้องอ่านคำแปลเดิมได้)")}).strict()).describe("3 rails ตามลำดับ display (smartTopSale → smartPromotion → smartRecommend)")}).strict();K({shopId:B().describe("echo of request shopId (plumbing)"),shopName:B().describe("ชื่อร้าน (จาก shop.name/shopName)"),shopVerdict:Ge(["ok","no-email","mailbox-full","all-suppressed","send-failed"]).describe("สรุปสุขภาพเมลร้าน 1 ค่า (computeShopVerdict precedence: no-email > mailbox-full > all-suppressed > send-failed > ok)"),emails:T(B()).describe("อีเมลที่ร้านผูกรับรายงานยอดขายรายวัน (owner ตั้งที่ EmailScreen · max ตามแผน 3/1 · stored shop/{id}/meta/email.emails)"),addresses:T(K({address:B().describe("ที่อยู่อีเมล (lowercase)"),linked:U().describe("ผูกรับรายงานอยู่ตอนนี้ไหม (อยู่ใน emails)"),verdict:Ge(["ok","suppressed","mailbox-full","recovered"]).describe("สถานะที่อยู่ (addrVerdict: suppressed=ตายถาวร hard bounce > mailbox-full=กล่องเต็ม soft bounce ใน 4 วัน > recovered=พ้นช่วงเฝ้าระวัง > ok)"),bounceCount:Y().describe("จำนวนครั้งที่เด้ง (soft)"),firstSeenAt:Y().nullable().describe("ms ที่เด้งครั้งแรก (null=ไม่เคย)"),lastBounceAt:Y().nullable().describe("ms ที่เด้งล่าสุด (null=ไม่เคย)"),suppressedReason:B().nullable().describe("เหตุ suppress (null=ไม่ถูก suppress)")}).strict()).describe("สถานะรายที่อยู่ (รวม linked + เคยเด้ง soft · derived จาก emailHealth+emailSuppression collection)"),lastJob:K({dailyDate:B().describe("วันที่ของรอบรายงาน"),status:B().describe("ผลส่งฝั่งเรา (sent|failed|pen
199ding|?)"),attempts:Y().describe("จำนวนครั้งที่พยายามส่ง"),sentAt:Y().nullable().describe("ms ที่ส่งสำเร็จ (null=ยังไม่ส่ง)"),error:B().nullable().describe("ข้อความ error ถ้าล้ม (null=ไม่ล้ม)"),emails:T(B()).describe("อีเมลที่ส่งในรอบนั้น")}).strict().nullable().describe("ผลส่งรายงานรอบล่าสุดฝั่งเรา (findLastJob · null=ไม่เจอ job ใน lookback window)")}).strict();const tae=(e,u,t,r)=>{var i,E,o,a;const n=[t,{code:u,...r||{}}];if((E=(i=e==null?void 0:e.services)==null?void 0:i.logger)!=null&&E.forward)return e.services.logger.forward(n,"warn","react-i18next::",!0);mi(n[0])&&(n[0]=`react-i18next:: ${n[0]}`),(a=(o=e==null?void 0:e.services)==null?void 0:o.logger)!=null&&a.warn?e.services.logger.warn(...n):console!=null&&console.warn&&console.warn(...n)},WC={},Rg=(e,u,t,r)=>{mi(t)&&WC[t]||(mi(t)&&(WC[t]=new Date),tae(e,u,t,r))},IU=(e,u)=>()=>{if(e.isInitialized)u();else{const t=()=>{setTimeout(()=>{e.off("initialized",t)},0),u()};e.on("initialized",t)}},Ng=(e,u,t)=>{e.loadNamespaces(u,IU(e,t))},VC=(e,u,t,r)=>{if(mi(t)&&(t=[t]),e.options.preload&&e.options.preload.indexOf(u)>-1)return Ng(e,t,r);t.forEach(n=>{e.options.ns.indexOf(n)<0&&e.options.ns.push(n)}),e.loadLanguages(u,IU(e,r))},rae=(e,u,t={})=>!u.languages||!u.languages.length?(Rg(u,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:u.languages}),!0):u.hasLoadedNamespace(e,{lng:t.lng,precheck:(r,n)=>{if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!n(r.isLanguageChangingTo,e))return!1}}),nae=e=>e.displayName||e.name||(mi(e)&&e.length>0?e:"Unknown"),mi=e=>typeof e=="string",iae=e=>typeof e=="object"&&e!==null,Eae=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,oae={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},aae=e=>oae[e],sae=e=>e.replace(Eae,aae);let $g={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:sae};const Aae=(e={})=>{$g={...$g,...e}},cae=()=>$g;let TU;const lae=e=>{TU=e},fae=()=>TU,tze={type:"3rdParty",init(e){Aae(e.options.react),lae(e)}},dae=Q.createContext();class pae{constructor(){this.usedNamespaces={}}addUsedNamespaces(u){u.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const hae=(e,u)=>{const t=Q.useRef();return Q.useEffect(()=>{t.current=e},[e,u]),t.current},PU=(e,u,t,r)=>e.getFixedT(u,t,r),mae=(e,u,t,r)=>Q.useCallback(PU(e,u,t,r),[e,u,t,r]),gae=(e,u={})=>{var d,y,b,C;const{i18n:t}=u,{i18n:r,defaultNS:n}=Q.useContext(dae)||{},i=t||r||fae();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new pae),!i){Rg(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const S=(I,R)=>mi(R)?R:iae(R)&&mi(R.defaultValue)?R.defaultValue:Array.isArray(I)?I[I.length-1]:I,F=[S,{},!1];return F.t=S,F.i18n={},F.ready=!1,F}(d=i.options.react)!=null&&d.wait&&Rg(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const E={...cae(),...i.options.react,...u},{useSuspense:o,keyPrefix:a}=E;let s=n||((y=i.options)==null?void 0:y.defaultNS);s=mi(s)?[s]:s||["translation"],(C=(b=i.reportNamespaces).addUsedNamespaces)==null||C.call(b,s);const A=(i.isInitialized||i.initializedStoreOnce)&&s.every(S=>rae(S,i,E)),c=mae(i,u.lng||null,E.nsMode==="fallback"?s:s[0],a),l=()=>c,f=()=>PU(i,u.lng||null,E.nsMode==="fallback"?s:s[0],a),[p,h]=Q.useState(l);let w=s.join();u.lng&&(w=`${u.lng}${w}`);const m=hae(w),g=Q.useRef(!0);Q.useEffect(()=>{const{bindI18n:S,bindI18nStore:F}=E;g.current=!0,!A&&!o&&(u.lng?VC(i,u.lng,s,()=>{g.current&&h(f)}):Ng(i,s,()=>{g.current&&h(f)})),A&&m&&m!==w&&g.current&&h(f);const I=()=>{g.current&&h(f)};return S&&(i==null||i.on(S,I)),F&&(i==null||i.store.on(F,I)),()=>{g.current=!1,i&&S&&(S==null||S.split(" ").forEach(R=>i.off(R,I))),F&&i&&F.split(" ").forEach(R=>i.store.off(R,I))}},[i,w]),Q.useEffect(()=>{g.current&&A&&h(l)},[i,a,A]);const v=[p,i,A];if(v.t=p,v.i18n=i,v.ready=A,A||!A&&!o)return v;throw new Promise(S=>{u.lng?VC(i,u.lng,s,()=>S()):Ng(i,s,()=>S())})},rze=(e,u={})=>function(r){function n({forwardedRef:E,...o}){const[a,s,A]=gae(e,{...o,keyPrefix:u.keyPrefix}),c={...o,t:a,i18n:s,tReady:A};return u.withRef&&E?c.ref=E:!u.withRef&&E&&(c.forwardedRef=E),Q.createElement(r,c)}n.displayName=`withI18nextTranslation(${nae(r)})`,n.WrappedComponent=r;const i=(E,o)=>Q.createElement(n,Object.assign({},E,{forwardedRef:o}));return u.withRef?Q.forwardRef(i):n};function OU(e){var u,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(u=0;
vendor: 16,391 bytes, line 199
199u<n;u++)e[u]&&(t=OU(e[u]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function SE(){for(var e,u,t=0,r="",n=arguments.length;t<n;t++)(e=arguments[t])&&(u=OU(e))&&(r&&(r+=" "),r+=u);return r}var Rc=e=>typeof e=="number"&&!isNaN(e),$E=e=>typeof e=="string",In=e=>typeof e=="function",yae=e=>$E(e)||Rc(e),Hg=e=>$E(e)||In(e)?e:null,vae=(e,u)=>e===!1||Rc(e)&&e>0?e:u,jg=e=>Q.isValidElement(e)||$E(e)||In(e)||Rc(e);function Bae(e,u,t=300){let{scrollHeight:r,style:n}=e;requestAnimationFrame(()=>{n.minHeight="initial",n.height=r+"px",n.transition=`all ${t}ms`,requestAnimationFrame(()=>{n.height="0",n.padding="0",n.margin="0",setTimeout(u,t)})})}function wae({enter:e,exit:u,appendPosition:t=!1,collapse:r=!0,collapseDuration:n=300}){return function({children:i,position:E,preventExitTransition:o,done:a,nodeRef:s,isIn:A,playToast:c}){let l=t?`${e}--${E}`:e,f=t?`${u}--${E}`:u,p=Q.useRef(0);return Q.useLayoutEffect(()=>{let h=s.current,w=l.split(" "),m=g=>{g.target===s.current&&(c(),h.removeEventListener("animationend",m),h.removeEventListener("animationcancel",m),p.current===0&&g.type!=="animationcancel"&&h.classList.remove(...w))};h.classList.add(...w),h.addEventListener("animationend",m),h.addEventListener("animationcancel",m)},[]),Q.useEffect(()=>{let h=s.current,w=()=>{h.removeEventListener("animationend",w),r?Bae(h,a,n):a()};A||(o?w():(p.current=1,h.className+=` ${f}`,h.addEventListener("animationend",w)))},[A]),$.createElement($.Fragment,null,i)}}function zC(e,u){return{content:kU(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:u}}function kU(e,u,t=!1){return Q.isValidElement(e)&&!$E(e.type)?Q.cloneElement(e,{closeToast:u.closeToast,toastProps:u,data:u.data,isPaused:t}):In(e)?e({closeToast:u.closeToast,toastProps:u,data:u.data,isPaused:t}):e}function bae({closeToast:e,theme:u,ariaLabel:t="close"}){return $.createElement("button",{className:`Toastify__close-button Toastify__close-button--${u}`,type:"button",onClick:r=>{r.stopPropagation(),e(!0)},"aria-label":t},$.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},$.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function xae({delay:e,isRunning:u,closeToast:t,type:r="default",hide:n,className:i,controlledProgress:E,progress:o,rtl:a,isIn:s,theme:A}){let c=n||E&&o===0,l={animationDuration:`${e}ms`,animationPlayState:u?"running":"paused"};E&&(l.transform=`scaleX(${o})`);let f=SE("Toastify__progress-bar",E?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${A}`,`Toastify__progress-bar--${r}`,{"Toastify__progress-bar--rtl":a}),p=In(i)?i({rtl:a,type:r,defaultClassName:f}):SE(f,i),h={[E&&o>=1?"onTransitionEnd":"onAnimationEnd"]:E&&o<1?null:()=>{s&&t()}};return $.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":c},$.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${A} Toastify__progress-bar--${r}`}),$.createElement("div",{role:"progressbar","aria-hidden":c?"true":"false","aria-label":"notification timer","aria-valuenow":E?Math.round(o*100):void 0,"aria-valuemin":0,"aria-valuemax":100,className:p,style:l,...h}))}var Cae=1,UU=()=>`${Cae++}`;function Dae(e,u,t){let r=1,n=0,i=[],E=[],o=u,a=new Map,s=new Set,A=g=>(s.add(g),()=>s.delete(g)),c=()=>{E=Array.from(a.values()),s.forEach(g=>g())},l=({containerId:g,toastId:v,updateId:d})=>{let y=g?g!==e:e!==1,b=a.has(v)&&d==null;return y||b},f=(g,v)=>{a.forEach(d=>{var y;(v==null||v===d.props.toastId)&&((y=d.toggle)==null||y.call(d,g))})},p=g=>{var v,d;g.isActive&&((d=(v=g.props)==null?void 0:v.onClose)==null||d.call(v,g.removalReason),g.isActive=!1,t(zC(g,"removed")))},h=g=>{if(g==null)a.forEach(p);else{let v=a.get(g);v&&p(v)}c()},w=()=>{n-=i.length,i=[]},m=g=>{var v,d;let{toastId:y,updateId:b}=g.props,C=b==null;g.staleId&&a.delete(g.staleId),g.isActive=!0,a.set(y,g),c(),t(zC(g,C?"added":"updated")),C&&((d=(v=g.props).onOpen)==null||d.call(v))};return{id:e,props:o,observe:A,toggle:f,removeToast:h,toasts:a,clearQueue:w,buildToast:(g,v)=>{if(l(v))return;let{toastId:d,updateId:y,data:b,staleId:C,delay:S}=v,F=y==null;F&&n++;let I={...o,style:o.toastStyle,key:r++,...Object.fromEntries(Object.entries(v).filter(([X,J])=>J!=null)),toastId:d,updateId:y,data:b,isIn:!1,className:Hg(v.className||o.toastClassName),progressClassName:Hg(v.progressClassName||o.progressClassName),autoClose:v.isLoading?!1:vae(v.autoClose,o.autoClose),closeToast(X){let J=a.get(d);J&&(J.removalReason=X,h(d))},deleteToast(){if(a.get(d)!=null){if(a.delete(d),n--,n<0&&(n=0),i.length>0){m(i.shift());return}c()}}};I.closeButton=o.closeButton,v.closeButton===!1||jg(v.closeButton)?I.closeButton=v.closeButton:v.closeButton===!0&&(I.closeButton=jg(o.closeButton)?o.closeButton:!0);let R={content:g,props:I,staleId:C};o.limit&&o.limit>0&&n>o.limit&&F?i.push(R):Rc(S)?setTimeout(()=>{m(R)},S):m(R)},setProps(g){o=g},setToggle:(g,v)=>{let d=a.get(g);d&&(d.toggle=v)},isToastActive:g=>{var v;return(v=a.get(g))==null?void 0:v.isActive},getSnapshot:()=>E}}var Zt=new Map,ac=[],Kg=new Set,Sae=e=>Kg.forEach(u=>u(e)),QU=()=>Zt.size>0;function Fae(){ac.forEach(e=>MU(e.content,e.options)),ac=[]}var _ae=(e,{containerId:u})=>{var t;return(t=Zt.get(u||1))==null?void 0:t.toasts.get(e)};function LU(e,u){var t;if(u)return!!((t=Zt.get(u))!=null&&t.isToastActive(e));let r=!1;return Zt.forEach(n=>{n.isToastActive(e)&&(r=!0)}),r}function Iae(e){if(!QU()){ac=ac.filter(u=>e!=null&&u.options.toastId!==e);return}if(e==null||yae(e))Zt.forEach(u=>{u.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let u=Zt.get(e.containerId);u?u.removeToast(e.id):Zt.forEach(t=>{t.removeToast(e.id)})}}var Tae=(e={})=>{Zt.forEach(u=>{u.props.limit&&(!e.containerId||u.id===e.containerId)&&u.clearQueue()})};function MU(e,u){jg(e)&&(QU()||ac.push({content:e,options:u}),Zt.forEach(t=>{t.buildToast(e,u)}))}function Pae(e){var u;(u=Zt.get(e.containerId||1))==null||u.setToggle(e.id,e.fn)}function RU(e,u){Zt.forEach(t=>{(u==null||!(u!=null&&u.containerId)||(u==null?void 0:u.containerId)===t.id)&&t.toggle(e,u==null?void 0:u.id)})}function Oae(e){let u=e.containerId||1;return{subscribe(t){let r=Dae(u,e,Sae);Zt.set(u,r);let n=r.observe(t);return Fae(),()=>{n(),Zt.delete(u)}},setProps(t){var r;(r=Zt.get(u))==null||r.setProps(t)},getSnapshot(){var t;return(t=Zt.get(u))==null?void 0:t.getSnapshot()}}}function kae(e){return Kg.add(e),()=>{Kg.delete(e)}}function Uae(e){return e&&($E(e.toastId)||Rc(e.toastId))?e.toastId:UU()}function Nc(e,u){return MU(e,u),u.toastId}function ip(e,u){return{...u,type:u&&u.type||e,toastId:Uae(u)}}function Ep(e){return(u,t)=>Nc(u,ip(e,t))}function cu(e,u){return Nc(e,ip("default",u))}cu.loading=(e,u)=>Nc(e,ip("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...u}));function Qae(e,{pending:u,error:t,success:r},n){let i;u&&(i=$E(u)?cu.loading(u,n):cu.loading(u.render,{...n,...u}));let E={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},o=(s,A,c)=>{if(A==null){cu.dismiss(i);return}let l={type:s,...E,...n,data:c},f=$E(A)?{render:A}:A;return i?cu.update(i,{...l,...f}):cu(f.render,{...l,...f}),c},a=In(e)?e():e;return a.then(s=>o("success",r,s)).catch(s=>o("error",t,s)),a}cu.promise=Qae;cu.success=Ep("success");cu.info=Ep("info");cu.error=Ep("error");cu.warning=Ep("warning");cu.warn=cu.warning;cu.dark=(e,u)=>Nc(e,ip("default",{theme:"dark",...u}));function Lae(e){Iae(e)}cu.dismiss=Lae;cu.clearWaitingQueue=Tae;cu.isActive=LU;cu.update=(e,u={})=>{let t=_ae(e,u);if(t){let{props:r,content:n}=t,i={delay:100,...r,...u,toastId:u.toastId||e,updateId:UU()};i.toastId!==e&&(i.staleId=e);let E=i.render||n;delete i.render,Nc(E,i)}};cu.done=e=>{cu.update(e,{progress:1})};cu.onChange=kae;cu.play=e=>RU(!0,e);cu.pause=e=>RU(!1,e);function Mae(e){var u;let{subscribe:t,getSnapshot:r,setProps:n}=Q.useRef(Oae(e)).current;n(e);let i=(u=Q.useSyncExternalStore(t,r,r))==null?void 0:u.slice();function E(o){if(!i)return[];let a=new Map;return e.newestOnTop&&i.reverse(),i.forEach(s=>{let{position:A}=s.props;a.has(A)||a.set(A,[]),a.get(A).push(s)}),Array.from(a,s=>o(s[0],s[1]))}return{getToastToRender:E,isToastActive:LU,count:i==null?void 0:i.length}}function Rae(e){let[u,t]=Q.useState(!1),[r,n]=Q.useState(!1),i=Q.useRef(null),E=Q.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:o,pauseOnHover:a,closeToast:s,onClick:A,closeOnClick:c}=e;Pae({id:e.toastId,containerId:e.containerId,fn:t}),Q.useEffect(()=>{if(e.pauseOnFocusLoss)return l(),()=>{f()}},[e.pauseOnFocusLoss]);function l(){document.hasFocus()||m(),window.addEventListener("focus",w),window.addEventListener("blur",m)}function f(){window.removeEventListener("focus",w),window.removeEventListener("blur",m)}function p(C){if(e.draggable===!0||e.draggable===C.pointerType){g();let S=i.current;E.canCloseOnClick=!0,E.canDrag=!0,S.style.transition="none",e.draggableDirection==="x"?(E.start=C.clientX,E.removalDistance=S.offsetWidth*(e.draggablePercent/100)):(E.start=C.clientY,E.removalDistance=S.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function h(C){let{top:S,bottom:F,left:I,right:R}=i.current.getBoundingClientRect();C.pointerType==="mouse"&&e.pauseOnHover&&C.clientX>=I&&C.clientX<=R&&C.clientY>=S&&C.clientY<=F?m():w()}function w(){t(!0)}function m(){t(!1)}function g(){E.didMove=!1,document.addEventListener("pointermove",d),document.addEventListener("pointerup",y)}function v(){document.removeEventListener("pointermove",d),document.removeEventListener("pointerup",y)}function d(C){let S=i.current;if(E.canDrag&&S){E.didMove=!0,u&&m(),e.draggableDirection==="x"?E.delta=C.clientX-E.start:E.delta=C.clientY-E.start,E.start!==C.clientX&&(E.canCloseOnClick=!1);let F=e.draggableDirection==="x"?`${E.delta}px, var(--y)`:`0, calc(${E.delta}px + var(--y))`;S.style.transform=`translate3d(${F},0)`,S.style.opacity=`${1-Math.abs(E.delta/E.removalDistance)}`}}function y(){v();let C=i.current;if(E.canDrag&&E.didMove&&C){if(E.canDrag=!1,Math.abs(E.delta)>E.removalDistance){n(!0),e.closeToast(!0),e.collapseAll();return}C.style.transition="transform 0.2s, opacity 0.2s",C.style.removeProperty("transform"),C.style.removeProperty("opacity")}}let b={onPointerDown:p,onPointerUp:h};return o&&a&&(b.onMouseEnter=m,e.stacked||(b.onMouseLeave=w)),c&&(b.onClick=C=>{A&&A(C),E.canCloseOnClick&&s(!0)}),{playToast:w,pauseToast:m,isRunning:u,preventExitTransition:r,toastRef:i,eventHandlers:b}}var NU=typeof window<"u"?Q.useLayoutEffect:Q.useEffect,op=({theme:e,type:u,isLoading:t,...r})=>$.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${u})`,...r});function Nae(e){return $.createElement(op,{...e},$.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function $ae(e){return $.createElement(op,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function Hae(e){return $.createElement(op,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function jae(e){return $.createElement(op,{...e},$.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function Kae(){return $.createElement("div",{className:"Toastify__spinner"})}var Wg={info:$ae,warning:Nae,success:Hae,error:jae,spinner:Kae},Wae=e=>e in Wg;function Vae({theme:e,type:u,isLoading:t,icon:r}){let n=null,i={theme:e,type:u};return r===!1||(In(r)?n=r({...i,isLoading:t}):Q.isValidElement(r)?n=Q.cloneElement(r,i):t?n=Wg.spinner():Wae(u)&&(n=Wg[u](i))),n}var zae=e=>{let{isRunning:u,preventExitTransition:t,toastRef:r,eventHandlers:n,playToast:i}=Rae(e),{closeButton:E,children:o,autoClose:a,onClick:s,type:A,hideProgressBar:c,closeToast:l,transition:f,position:p,className:h,style:w,progressClassName:m,updateId:g,role:v,progress:d,rtl:y,toastId:b,deleteToast:C,isIn:S,isLoading:F,closeOnClick:I,theme:R,ariaLabel:X}=e,J=SE("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${A}`,{"Toastify__toast--rtl":y},{"Toastify__toast--close-on-click":I}),ee=In(h)?h({rtl:y,position:p,type:A,defaultClassName:J}):SE(J,h),L=Vae(e),j=!!d||!a,ue={closeToast:l,type:A,theme:R},N=null;return E===!1||(In(E)?N=E(ue):Q.isValidElement(E)?N=Q.cloneElement(E,ue):N=bae(ue)),$.createElement(f,{isIn:S,done:C,position:p,preventExitTransition:t,nodeRef:r,playToast:i},$.createElement("div",{id:b,tabIndex:0,onClick:s,"data-in":S,className:ee,...n,style:w,ref:r,...S&&{role:v,"aria-label":X}},L!=null&&$.createElement("div",{className:SE("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!F})},L),kU(o,e,!u),N,!e.customProgressBar&&$.createElement(xae,{...g&&!j?{key:`p-${g}`}:{},rtl:y,theme:R,delay:a,isRunning:u,isIn:S,closeToast:l,hide:c,type:A,className:m,controlledProgress:j,progress:d||0})))},Gae=(e,u=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:u}),Yae=wae(Gae("bounce",!0)),Xae={position:"top-right",transition:Yae,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function Zae(e){let u={...Xae,...e},t=e.stacked,[r,n]=Q.useState(!0),i=Q.useRef(null),{getToastToRender:E,isToastActive:o,count:a}=Mae(u),{className:s,style:A,rtl:c,containerId:l,hotKeys:f}=u;function p(w){let m=SE("Toastify__toast-container",`Toastify__toast-container--${w}`,{"Toastify__toast-container--rtl":c});return In(s)?s({position:w,rtl:c,defaultClassName:m}):SE(m,Hg(s))}function h(){t&&(n(!0),cu.play())}return NU(()=>{var w;if(t){let m=i.current.querySelectorAll('[data-in="true"]'),g=12,v=(w=u.position)==null?void 0:w.includes("top"),d=0,y=0;Array.from(m).reverse().forEach((b,C)=>{let S=b;S.classList.add("Toastify__toast--stacked"),C>0&&(S.dataset.collapsed=`${r}`),S.dataset.pos||(S.dataset.pos=v?"top":"bot");let F=d*(r?.2:1)+(r?0:g*C),I=Math.max(.5,1-(r?y:0));S.style.setProperty("--y",`${v?F:F*-1}px`),S.style.setProperty("--g",`${g}`),S.style.setProperty("--s",`${I}`),d+=S.offsetHeight,y+=.025})}},[r,a,t]),Q.useEffect(()=>{function w(m){var g;let v=i.current;f(m)&&((g=v==null?void 0:v.querySelector('[tabIndex="0"]'))==null||g.focus(),n(!1),cu.pause()),m.key==="Escape"&&(document.activeElement===v||v!=null&&v.contains(document.activeElement))&&(n(!0),cu.play())}return document.addEventListener("keydown",w),()=>{document.removeEventListener("keydown",w)}},[f]),$.createElement("section",{ref:i,className:"Toastify",id:l,onMouseEnter:()=>{t&&(n(!1),cu.pause())},onMouseLeave:h,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":u["aria-label"]},E((w,m)=>{let g=m.length?{...A}:{...A,pointerEvents:"none"};return $.createElement("div",{tabIndex:-1,className:p(w),"data-stacked":t,style:g,key:`c-${w}`},m.map(({content:v,props:d})=>$.createElement(zae,{...d,stacked:t,collapseAll:h,isIn:o(d.toastId,d.containerId),key:`t-${d.key}`},v)))}))}var qae
vendor: 17,403 bytes, lines 199-1005
199=`:root {
200  --toastify-color-light: #fff;
201  --toastify-color-dark: #121212;
202  --toastify-color-info: #3498db;
203  --toastify-color-success: #07bc0c;
204  --toastify-color-warning: #f1c40f;
205  --toastify-color-error: hsl(6, 78%, 57%);
206  --toastify-color-transparent: rgba(255, 255, 255, 0.7);
207
208  --toastify-icon-color-info: var(--toastify-color-info);
209  --toastify-icon-color-success: var(--toastify-color-success);
210  --toastify-icon-color-warning: var(--toastify-color-warning);
211  --toastify-icon-color-error: var(--toastify-color-error);
212
213  --toastify-container-width: fit-content;
214  --toastify-toast-width: 320px;
215  --toastify-toast-offset: 16px;
216  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
217  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
218  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
219  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
220  --toastify-toast-background: #fff;
221  --toastify-toast-padding: 14px;
222  --toastify-toast-min-height: 64px;
223  --toastify-toast-max-height: 800px;
224  --toastify-toast-bd-radius: 6px;
225  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
226  --toastify-font-family: sans-serif;
227  --toastify-z-index: 9999;
228  --toastify-text-color-light: #757575;
229  --toastify-text-color-dark: #fff;
230
231  /* Used only for colored theme */
232  --toastify-text-color-info: #fff;
233  --toastify-text-color-success: #fff;
234  --toastify-text-color-warning: #fff;
235  --toastify-text-color-error: #fff;
236
237  --toastify-spinner-color: #616161;
238  --toastify-spinner-color-empty-area: #e0e0e0;
239  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
240  --toastify-color-progress-dark: #bb86fc;
241  --toastify-color-progress-info: var(--toastify-color-info);
242  --toastify-color-progress-success: var(--toastify-color-success);
243  --toastify-color-progress-warning: var(--toastify-color-warning);
244  --toastify-color-progress-error: var(--toastify-color-error);
245  /* used to control the opacity of the progress trail */
246  --toastify-color-progress-bgo: 0.2;
247}
248
249.Toastify__toast-container {
250  z-index: var(--toastify-z-index);
251  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
252  position: fixed;
253  width: var(--toastify-container-width);
254  box-sizing: border-box;
255  color: #fff;
256  display: flex;
257  flex-direction: column;
258}
259
260.Toastify__toast-container--top-left {
261  top: var(--toastify-toast-top);
262  left: var(--toastify-toast-left);
263}
264.Toastify__toast-container--top-center {
265  top: var(--toastify-toast-top);
266  left: 50%;
267  transform: translateX(-50%);
268  align-items: center;
269}
270.Toastify__toast-container--top-right {
271  top: var(--toastify-toast-top);
272  right: var(--toastify-toast-right);
273  align-items: end;
274}
275.Toastify__toast-container--bottom-left {
276  bottom: var(--toastify-toast-bottom);
277  left: var(--toastify-toast-left);
278}
279.Toastify__toast-container--bottom-center {
280  bottom: var(--toastify-toast-bottom);
281  left: 50%;
282  transform: translateX(-50%);
283  align-items: center;
284}
285.Toastify__toast-container--bottom-right {
286  bottom: var(--toastify-toast-bottom);
287  right: var(--toastify-toast-right);
288  align-items: end;
289}
290
291.Toastify__toast {
292  --y: 0px;
293  position: relative;
294  touch-action: none;
295  width: var(--toastify-toast-width);
296  min-height: var(--toastify-toast-min-height);
297  box-sizing: border-box;
298  margin-bottom: 1rem;
299  padding: var(--toastify-toast-padding);
300  border-radius: var(--toastify-toast-bd-radius);
301  box-shadow: var(--toastify-toast-shadow);
302  max-height: var(--toastify-toast-max-height);
303  font-family: var(--toastify-font-family);
304  /* webkit only issue #791 */
305  z-index: 0;
306  /* inner swag */
307  display: flex;
308  flex: 1 auto;
309  align-items: center;
310  word-break: break-word;
311}
312
313@media only screen and (max-width: 480px) {
314  .Toastify__toast-container {
315    width: 100vw;
316    left: env(safe-area-inset-left);
317    margin: 0;
318  }
319  .Toastify__toast-container--top-left,
320  .Toastify__toast-container--top-center,
321  .Toastify__toast-container--top-right {
322    top: env(safe-area-inset-top);
323    transform: translateX(0);
324  }
325  .Toastify__toast-container--bottom-left,
326  .Toastify__toast-container--bottom-center,
327  .Toastify__toast-container--bottom-right {
328    bottom: env(safe-area-inset-bottom);
329    transform: translateX(0);
330  }
331  .Toastify__toast-container--rtl {
332    right: env(safe-area-inset-right);
333    left: initial;
334  }
335  .Toastify__toast {
336    --toastify-toast-width: 100%;
337    margin-bottom: 0;
338    border-radius: 0;
339  }
340}
341
342.Toastify__toast-container[data-stacked='true'] {
343  width: var(--toastify-toast-width);
344}
345
346@media only screen and (max-width: 480px) {
347  .Toastify__toast-container[data-stacked='true'] {
348    width: 100vw;
349  }
350}
351
352.Toastify__toast--stacked {
353  position: absolute;
354  width: 100%;
355  transform: translate3d(0, var(--y), 0) scale(var(--s));
356  transition: transform 0.3s;
357}
358
359.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
360.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
361  transition: opacity 0.1s;
362}
363
364.Toastify__toast--stacked[data-collapsed='false'] {
365  overflow: visible;
366}
367
368.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
369  opacity: 0;
370}
371
372.Toastify__toast--stacked:after {
373  content: '';
374  position: absolute;
375  left: 0;
376  right: 0;
377  height: calc(var(--g) * 1px);
378  bottom: 100%;
379}
380
381.Toastify__toast--stacked[data-pos='top'] {
382  top: 0;
383}
384
385.Toastify__toast--stacked[data-pos='bot'] {
386  bottom: 0;
387}
388
389.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
390  transform-origin: top;
391}
392
393.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
394  transform-origin: bottom;
395}
396
397.Toastify__toast--stacked:before {
398  content: '';
399  position: absolute;
400  left: 0;
401  right: 0;
402  bottom: 0;
403  height: 100%;
404  transform: scaleY(3);
405  z-index: -1;
406}
407
408.Toastify__toast--rtl {
409  direction: rtl;
410}
411
412.Toastify__toast--close-on-click {
413  cursor: pointer;
414}
415
416.Toastify__toast-icon {
417  margin-inline-end: 10px;
418  width: 22px;
419  flex-shrink: 0;
420  display: flex;
421}
422
423.Toastify--animate {
424  animation-fill-mode: both;
425  animation-duration: 0.5s;
426}
427
428.Toastify--animate-icon {
429  animation-fill-mode: both;
430  animation-duration: 0.3s;
431}
432
433.Toastify__toast-theme--dark {
434  background: var(--toastify-color-dark);
435  color: var(--toastify-text-color-dark);
436}
437
438.Toastify__toast-theme--light {
439  background: var(--toastify-color-light);
440  color: var(--toastify-text-color-light);
441}
442
443.Toastify__toast-theme--colored.Toastify__toast--default {
444  background: var(--toastify-color-light);
445  color: var(--toastify-text-color-light);
446}
447
448.Toastify__toast-theme--colored.Toastify__toast--info {
449  color: var(--toastify-text-color-info);
450  background: var(--toastify-color-info);
451}
452
453.Toastify__toast-theme--colored.Toastify__toast--success {
454  color: var(--toastify-text-color-success);
455  background: var(--toastify-color-success);
456}
457
458.Toastify__toast-theme--colored.Toastify__toast--warning {
459  color: var(--toastify-text-color-warning);
460  background: var(--toastify-color-warning);
461}
462
463.Toastify__toast-theme--colored.Toastify__toast--error {
464  color: var(--toastify-text-color-error);
465  background: var(--toastify-color-error);
466}
467
468.Toastify__progress-bar-theme--light {
469  background: var(--toastify-color-progress-light);
470}
471
472.Toastify__progress-bar-theme--dark {
473  background: var(--toastify-color-progress-dark);
474}
475
476.Toastify__progress-bar--info {
477  background: var(--toastify-color-progress-info);
478}
479
480.Toastify__progress-bar--success {
481  background: var(--toastify-color-progress-success);
482}
483
484.Toastify__progress-bar--warning {
485  background: var(--toastify-color-progress-warning);
486}
487
488.Toastify__progress-bar--error {
489  background: var(--toastify-color-progress-error);
490}
491
492.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
493.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
494.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
495.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
496  background: var(--toastify-color-transparent);
497}
498
499.Toastify__close-button {
500  color: #fff;
501  position: absolute;
502  top: 6px;
503  right: 6px;
504  background: transparent;
505  outline: none;
506  border: none;
507  padding: 0;
508  cursor: pointer;
509  opacity: 0.7;
510  transition: 0.3s ease;
511  z-index: 1;
512}
513
514.Toastify__toast--rtl .Toastify__close-button {
515  left: 6px;
516  right: unset;
517}
518
519.Toastify__close-button--light {
520  color: #000;
521  opacity: 0.3;
522}
523
524.Toastify__close-button > svg {
525  fill: currentColor;
526  height: 16px;
527  width: 14px;
528}
529
530.Toastify__close-button:hover,
531.Toastify__close-button:focus {
532  opacity: 1;
533}
534
535@keyframes Toastify__trackProgress {
536  0% {
537    transform: scaleX(1);
538  }
539  100% {
540    transform: scaleX(0);
541  }
542}
543
544.Toastify__progress-bar {
545  position: absolute;
546  bottom: 0;
547  left: 0;
548  width: 100%;
549  height: 100%;
550  z-index: 1;
551  opacity: 0.7;
552  transform-origin: left;
553}
554
555.Toastify__progress-bar--animated {
556  animation: Toastify__trackProgress linear 1 forwards;
557}
558
559.Toastify__progress-bar--controlled {
560  transition: transform 0.2s;
561}
562
563.Toastify__progress-bar--rtl {
564  right: 0;
565  left: initial;
566  transform-origin: right;
567  border-bottom-left-radius: initial;
568}
569
570.Toastify__progress-bar--wrp {
571  position: absolute;
572  overflow: hidden;
573  bottom: 0;
574  left: 0;
575  width: 100%;
576  height: 5px;
577  border-bottom-left-radius: var(--toastify-toast-bd-radius);
578  border-bottom-right-radius: var(--toastify-toast-bd-radius);
579}
580
581.Toastify__progress-bar--wrp[data-hidden='true'] {
582  opacity: 0;
583}
584
585.Toastify__progress-bar--bg {
586  opacity: var(--toastify-color-progress-bgo);
587  width: 100%;
588  height: 100%;
589}
590
591.Toastify__spinner {
592  width: 20px;
593  height: 20px;
594  box-sizing: border-box;
595  border: 2px solid;
596  border-radius: 100%;
597  border-color: var(--toastify-spinner-color-empty-area);
598  border-right-color: var(--toastify-spinner-color);
599  animation: Toastify__spin 0.65s linear infinite;
600}
601
602@keyframes Toastify__bounceInRight {
603  from,
604  60%,
605  75%,
606  90%,
607  to {
608    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
609  }
610  from {
611    opacity: 0;
612    transform: translate3d(3000px, 0, 0);
613  }
614  60% {
615    opacity: 1;
616    transform: translate3d(-25px, 0, 0);
617  }
618  75% {
619    transform: translate3d(10px, 0, 0);
620  }
621  90% {
622    transform: translate3d(-5px, 0, 0);
623  }
624  to {
625    transform: none;
626  }
627}
628
629@keyframes Toastify__bounceOutRight {
630  20% {
631    opacity: 1;
632    transform: translate3d(-20px, var(--y), 0);
633  }
634  to {
635    opacity: 0;
636    transform: translate3d(2000px, var(--y), 0);
637  }
638}
639
640@keyframes Toastify__bounceInLeft {
641  from,
642  60%,
643  75%,
644  90%,
645  to {
646    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
647  }
648  0% {
649    opacity: 0;
650    transform: translate3d(-3000px, 0, 0);
651  }
652  60% {
653    opacity: 1;
654    transform: translate3d(25px, 0, 0);
655  }
656  75% {
657    transform: translate3d(-10px, 0, 0);
658  }
659  90% {
660    transform: translate3d(5px, 0, 0);
661  }
662  to {
663    transform: none;
664  }
665}
666
667@keyframes Toastify__bounceOutLeft {
668  20% {
669    opacity: 1;
670    transform: translate3d(20px, var(--y), 0);
671  }
672  to {
673    opacity: 0;
674    transform: translate3d(-2000px, var(--y), 0);
675  }
676}
677
678@keyframes Toastify__bounceInUp {
679  from,
680  60%,
681  75%,
682  90%,
683  to {
684    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
685  }
686  from {
687    opacity: 0;
688    transform: translate3d(0, 3000px, 0);
689  }
690  60% {
691    opacity: 1;
692    transform: translate3d(0, -20px, 0);
693  }
694  75% {
695    transform: translate3d(0, 10px, 0);
696  }
697  90% {
698    transform: translate3d(0, -5px, 0);
699  }
700  to {
701    transform: translate3d(0, 0, 0);
702  }
703}
704
705@keyframes Toastify__bounceOutUp {
706  20% {
707    transform: translate3d(0, calc(var(--y) - 10px), 0);
708  }
709  40%,
710  45% {
711    opacity: 1;
712    transform: translate3d(0, calc(var(--y) + 20px), 0);
713  }
714  to {
715    opacity: 0;
716    transform: translate3d(0, -2000px, 0);
717  }
718}
719
720@keyframes Toastify__bounceInDown {
721  from,
722  60%,
723  75%,
724  90%,
725  to {
726    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
727  }
728  0% {
729    opacity: 0;
730    transform: translate3d(0, -3000px, 0);
731  }
732  60% {
733    opacity: 1;
734    transform: translate3d(0, 25px, 0);
735  }
736  75% {
737    transform: translate3d(0, -10px, 0);
738  }
739  90% {
740    transform: translate3d(0, 5px, 0);
741  }
742  to {
743    transform: none;
744  }
745}
746
747@keyframes Toastify__bounceOutDown {
748  20% {
749    transform: translate3d(0, calc(var(--y) - 10px), 0);
750  }
751  40%,
752  45% {
753    opacity: 1;
754    transform: translate3d(0, calc(var(--y) + 20px), 0);
755  }
756  to {
757    opacity: 0;
758    transform: translate3d(0, 2000px, 0);
759  }
760}
761
762.Toastify__bounce-enter--top-left,
763.Toastify__bounce-enter--bottom-left {
764  animation-name: Toastify__bounceInLeft;
765}
766
767.Toastify__bounce-enter--top-right,
768.Toastify__bounce-enter--bottom-right {
769  animation-name: Toastify__bounceInRight;
770}
771
772.Toastify__bounce-enter--top-center {
773  animation-name: Toastify__bounceInDown;
774}
775
776.Toastify__bounce-enter--bottom-center {
777  animation-name: Toastify__bounceInUp;
778}
779
780.Toastify__bounce-exit--top-left,
781.Toastify__bounce-exit--bottom-left {
782  animation-name: Toastify__bounceOutLeft;
783}
784
785.Toastify__bounce-exit--top-right,
786.Toastify__bounce-exit--bottom-right {
787  animation-name: Toastify__bounceOutRight;
788}
789
790.Toastify__bounce-exit--top-center {
791  animation-name: Toastify__bounceOutUp;
792}
793
794.Toastify__bounce-exit--bottom-center {
795  animation-name: Toastify__bounceOutDown;
796}
797
798@keyframes Toastify__zoomIn {
799  from {
800    opacity: 0;
801    transform: scale3d(0.3, 0.3, 0.3);
802  }
803  50% {
804    opacity: 1;
805  }
806}
807
808@keyframes Toastify__zoomOut {
809  from {
810    opacity: 1;
811  }
812  50% {
813    opacity: 0;
814    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
815  }
816  to {
817    opacity: 0;
818  }
819}
820
821.Toastify__zoom-enter {
822  animation-name: Toastify__zoomIn;
823}
824
825.Toastify__zoom-exit {
826  animation-name: Toastify__zoomOut;
827}
828
829@keyframes Toastify__flipIn {
830  from {
831    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
832    animation-timing-function: ease-in;
833    opacity: 0;
834  }
835  40% {
836    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
837    animation-timing-function: ease-in;
838  }
839  60% {
840    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
841    opacity: 1;
842  }
843  80% {
844    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
845  }
846  to {
847    transform: perspective(400px);
848  }
849}
850
851@keyframes Toastify__flipOut {
852  from {
853    transform: translate3d(0, var(--y), 0) perspective(400px);
854  }
855  30% {
856    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
857    opacity: 1;
858  }
859  to {
860    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
861    opacity: 0;
862  }
863}
864
865.Toastify__flip-enter {
866  animation-name: Toastify__flipIn;
867}
868
869.Toastify__flip-exit {
870  animation-name: Toastify__flipOut;
871}
872
873@keyframes Toastify__slideInRight {
874  from {
875    transform: translate3d(110%, 0, 0);
876    visibility: visible;
877  }
878  to {
879    transform: translate3d(0, var(--y), 0);
880  }
881}
882
883@keyframes Toastify__slideInLeft {
884  from {
885    transform: translate3d(-110%, 0, 0);
886    visibility: visible;
887  }
888  to {
889    transform: translate3d(0, var(--y), 0);
890  }
891}
892
893@keyframes Toastify__slideInUp {
894  from {
895    transform: translate3d(0, 110%, 0);
896    visibility: visible;
897  }
898  to {
899    transform: translate3d(0, var(--y), 0);
900  }
901}
902
903@keyframes Toastify__slideInDown {
904  from {
905    transform: translate3d(0, -110%, 0);
906    visibility: visible;
907  }
908  to {
909    transform: translate3d(0, var(--y), 0);
910  }
911}
912
913@keyframes Toastify__slideOutRight {
914  from {
915    transform: translate3d(0, var(--y), 0);
916  }
917  to {
918    visibility: hidden;
919    transform: translate3d(110%, var(--y), 0);
920  }
921}
922
923@keyframes Toastify__slideOutLeft {
924  from {
925    transform: translate3d(0, var(--y), 0);
926  }
927  to {
928    visibility: hidden;
929    transform: translate3d(-110%, var(--y), 0);
930  }
931}
932
933@keyframes Toastify__slideOutDown {
934  from {
935    transform: translate3d(0, var(--y), 0);
936  }
937  to {
938    visibility: hidden;
939    transform: translate3d(0, 500px, 0);
940  }
941}
942
943@keyframes Toastify__slideOutUp {
944  from {
945    transform: translate3d(0, var(--y), 0);
946  }
947  to {
948    visibility: hidden;
949    transform: translate3d(0, -500px, 0);
950  }
951}
952
953.Toastify__slide-enter--top-left,
954.Toastify__slide-enter--bottom-left {
955  animation-name: Toastify__slideInLeft;
956}
957
958.Toastify__slide-enter--top-right,
959.Toastify__slide-enter--bottom-right {
960  animation-name: Toastify__slideInRight;
961}
962
963.Toastify__slide-enter--top-center {
964  animation-name: Toastify__slideInDown;
965}
966
967.Toastify__slide-enter--bottom-center {
968  animation-name: Toastify__slideInUp;
969}
970
971.Toastify__slide-exit--top-left,
972.Toastify__slide-exit--bottom-left {
973  animation-name: Toastify__slideOutLeft;
974  animation-timing-function: ease-in;
975  animation-duration: 0.3s;
976}
977
978.Toastify__slide-exit--top-right,
979.Toastify__slide-exit--bottom-right {
980  animation-name: Toastify__slideOutRight;
981  animation-timing-function: ease-in;
982  animation-duration: 0.3s;
983}
984
985.Toastify__slide-exit--top-center {
986  animation-name: Toastify__slideOutUp;
987  animation-timing-function: ease-in;
988  animation-duration: 0.3s;
989}
990
991.Toastify__slide-exit--bottom-center {
992  animation-name: Toastify__slideOutDown;
993  animation-timing-function: ease-in;
994  animation-duration: 0.3s;
995}
996
997@keyframes Toastify__spin {
998  from {
999    transform: rotate(0deg);
1000  }
1001  to {
1002    transform: rotate(360deg);
1003  }
1004}
1005`
1005,GC=new Map,Jae=(e,u)=>{NU(()=>{if(typeof document>"u")return;let t=document,r=GC.get(t);if(r){u&&r.setAttribute("nonce",u);return}let n=t.createElement("style");n.textContent=e,u&&n.setAttribute("nonce",u),t.head.appendChild(n),GC.set(t,n)},[u])};function nze(e){return Jae(qae,e.nonce),$.createElement(Zae,{...e})}var $U={exports:{}},ese="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",use=ese,tse=use;function HU(){}function jU(){}jU.resetWarningCache=HU;var rse=function(){function e(r,n,i,E,o,a){if(a!==tse){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function u(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1005:e,any:e,arrayOf:u,element:e,elementType:e,instanceOf:u,node:e,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:jU,resetWarningCache:HU};return t.PropTypes=t,t};$U.exports=rse();var KU=$U.exports;const ize=Iu(KU);var WU={exports:{}};/*!
1006	Copyright (c) 2018 Jed Watson.
1007	Licensed under the MIT License (MIT), see
1008	http://jedwatson.github.io/classnames
1009*/(function(e){(function(){var u={}.hasOwnProperty;function t(){for(var i="",E=0;E<arguments.length;E++){var o=arguments[E];o&&(i=n(i,r(o)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return t.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var E="";for(var o in i)u.call(i,o)&&i[o]&&(E=n(E,o));return E}function n(i,E){return E?i?i+" "+E:i+E:i}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(WU);var nse=WU.exports;const Eze=Iu(nse);function ise(e){return e}var ap=ise,Ese=typeof Lt=="object"&&Lt&&Lt.Object===Object&&Lt,VU=Ese,ose=VU,ase=typeof self=="object"&&self&&self.Object===Object&&self,sse=ose||ase||Function("return this")(),g0=sse,Ase=g0,cse=Ase.Symbol,is=cse,YC=is,zU=Object.prototype,lse=zU.hasOwnProperty,fse=zU.toString,Ls=YC?YC.toStringTag:void 0;function dse(e){var u=lse.call(e,Ls),t=e[Ls];try{e[Ls]=void 0;var r=!0}catch{}var n=fse.call(e);return r&&(u?e[Ls]=t:delete e[Ls]),n}var pse=dse,hse=Object.prototype,mse=hse.toString;function gse(e){return mse.call(e)}var yse=gse,XC=is,vse=pse,Bse=yse,wse="[object Null]",bse="[object Undefined]",ZC=XC?XC.toStringTag:void 0;function xse(e){return e==null?e===void 0?bse:wse:ZC&&ZC in Object(e)?vse(e):Bse(e)}var Es=xse;function Cse(e){var u=typeof e;return e!=null&&(u=="object"||u=="function")}var rn=Cse,Dse=Es,Sse=rn,Fse="[object AsyncFunction]",_se="[object Function]",Ise="[object GeneratorFunction]",Tse="[object Proxy]";function Pse(e){if(!Sse(e))return!1;var u=Dse(e);return u==_se||u==Ise||u==Fse||u==Tse}var kw=Pse;const oze=Iu(kw);var Ose=g0,kse=Ose["__core-js_shared__"],Use=kse,xh=Use,qC=function(){var e=/[^.]+$/.exec(xh&&xh.keys&&xh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Qse(e){return!!qC&&qC in e}var Lse=Qse,Mse=Function.prototype,Rse=Mse.toString;function Nse(e){if(e!=null){try{return Rse.call(e)}catch{}try{return e+""}catch{}}return""}var GU=Nse,$se=kw,Hse=Lse,jse=rn,Kse=GU,Wse=/[\\^$.*+?()[\]{}|]/g,Vse=/^\[object .+?Constructor\]$/,zse=Function.prototype,Gse=Object.prototype,Yse=zse.toString,Xse=Gse.hasOwnProperty,Zse=RegExp("^"+Yse.call(Xse).replace(Wse,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qse(e){if(!jse(e)||Hse(e))return!1;var u=$se(e)?Zse:Vse;return u.test(Kse(e))}var Jse=qse;function eAe(e,u){return e==null?void 0:e[u]}var uAe=eAe,tAe=Jse,rAe=uAe;function nAe(e,u){var t=rAe(e,u);return tAe(t)?t:void 0}var eo=nAe,iAe=eo,EAe=g0,oAe=iAe(EAe,"WeakMap"),YU=oAe,JC=YU,aAe=JC&&new JC,XU=aAe,sAe=ap,eD=XU,AAe=eD?function(e,u){return eD.set(e,u),e}:sAe,ZU=AAe,cAe=rn,uD=Object.create,lAe=function(){function e(){}return function(u){if(!cAe(u))return{};if(uD)return uD(u);e.prototype=u;var t=new e;return e.prototype=void 0,t}}(),sp=lAe,fAe=sp,dAe=rn;function pAe(e){return function(){var u=arguments;switch(u.length){case 0:return new e;case 1:return new e(u[0]);case 2:return new e(u[0],u[1]);case 3:return new e(u[0],u[1],u[2]);case 4:return new e(u[0],u[1],u[2],u[3]);case 5:return new e(u[0],u[1],u[2],u[3],u[4]);case 6:return new e(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new e(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var t=fAe(e.prototype),r=e.apply(t,u);return dAe(r)?r:t}}var Ap=pAe,hAe=Ap,mAe=g0,gAe=1;function yAe(e,u,t){var r=u&gAe,n=hAe(e);function i(){var E=this&&this!==mAe&&this instanceof i?n:e;return E.apply(r?t:this,arguments)}return i}var vAe=yAe;function BAe(e,u,t){switch(t.length){case 0:return e.call(u);case 1:return e.call(u,t[0]);case 2:return e.call(u,t[0],t[1]);case 3:return e.call(u,t[0],t[1],t[2])}return e.apply(u,t)}var Uw=BAe,wAe=Math.max;function bAe(e,u,t,r){for(var n=-1,i=e.length,E=t.length,o=-1,a=u.length,s=wAe(i-E,0),A=Array(a+s),c=!r;++o<a;)A[o]=u[o];for(;++n<E;)(c||n<i)&&(A[t[n]]=e[n]);for(;s--;)A[o++]=e[n++];return A}var qU=bAe,xAe=Math.max;function CAe(e,u,t,r){for(var n=-1,i=e.length,E=-1,o=t.length,a=-1,s=u.length,A=xAe(i-o,0),c=Array(A+s),l=!r;++n<A;)c[n]=e[n];for(var f=n;++a<s;)c[f+a]=u[a];for(;++E<o;)(l||n<i)&&(c[f+t[E]]=e[n++]);return c}var JU=CAe;function DAe(e,u){for(var t=e.length,r=0;t--;)e[t]===u&&++r;return r}var SAe=DAe;function FAe(){}var Qw=FAe,_Ae=sp,IAe=Qw,TAe=4294967295;function l1(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=TAe,this.__views__=[]}l1.prototype=_Ae(IAe.prototype);l1.prototype.constructor=l1;var Lw=l1;function PAe(){}var OAe=PAe,tD=XU,kAe=OAe,UAe=tD?function(e){return tD.get(e)}:kAe,eQ=UAe,QAe={},LAe=QAe,rD=LAe,MAe=Object.prototype,RAe=MAe.hasOwnProperty;function NAe(e){for(var u=e.name+"",t=rD[u],r=RAe.call(rD,u)?t.length:0;r--;){var n=t[r],i=n.func;
vendor: 5,412 bytes, lines 1009-1011
1009if(i==null||i==e)return n.name}return u}var $Ae=NAe,HAe=sp,jAe=Qw;function f1(e,u){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=void 0}f1.prototype=HAe(jAe.prototype);f1.prototype.constructor=f1;var uQ=f1,KAe=Array.isArray,sr=KAe;function WAe(e){return e!=null&&typeof e=="object"}var On=WAe;function VAe(e,u){var t=-1,r=e.length;for(u||(u=Array(r));++t<r;)u[t]=e[t];return u}var Mw=VAe,zAe=Lw,GAe=uQ,YAe=Mw;function XAe(e){if(e instanceof zAe)return e.clone();var u=new GAe(e.__wrapped__,e.__chain__);return u.__actions__=YAe(e.__actions__),u.__index__=e.__index__,u.__values__=e.__values__,u}var ZAe=XAe,qAe=Lw,nD=uQ,JAe=Qw,ece=sr,uce=On,tce=ZAe,rce=Object.prototype,nce=rce.hasOwnProperty;function d1(e){if(uce(e)&&!ece(e)&&!(e instanceof qAe)){if(e instanceof nD)return e;if(nce.call(e,"__wrapped__"))return tce(e)}return new nD(e)}d1.prototype=JAe.prototype;d1.prototype.constructor=d1;var ice=d1,Ece=Lw,oce=eQ,ace=$Ae,sce=ice;function Ace(e){var u=ace(e),t=sce[u];if(typeof t!="function"||!(u in Ece.prototype))return!1;if(e===t)return!0;var r=oce(t);return!!r&&e===r[0]}var cce=Ace,lce=800,fce=16,dce=Date.now;function pce(e){var u=0,t=0;return function(){var r=dce(),n=fce-(r-t);if(t=r,n>0){if(++u>=lce)return arguments[0]}else u=0;return e.apply(void 0,arguments)}}var tQ=pce,hce=ZU,mce=tQ,gce=mce(hce),rQ=gce,yce=/\{\n\/\* \[wrapped with (.+)\] \*/,vce=/,? & /;function Bce(e){var u=e.match(yce);return u?u[1].split(vce):[]}var wce=Bce,bce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function xce(e,u){var t=u.length;if(!t)return e;var r=t-1;return u[r]=(t>1?"& ":"")+u[r],u=u.join(t>2?", ":" "),e.replace(bce,`{
1010/* [wrapped with `+u+`] */
1011`)}var Cce=xce;function Dce(e){return function(){return e}}var Sce=Dce,Fce=eo,_ce=function(){try{var e=Fce(Object,"defineProperty");return e({},"",{}),e}catch{}}(),nQ=_ce,Ice=Sce,iD=nQ,Tce=ap,Pce=iD?function(e,u){return iD(e,"toString",{configurable:!0,enumerable:!1,value:Ice(u),writable:!0})}:Tce,Oce=Pce,kce=Oce,Uce=tQ,Qce=Uce(kce),Rw=Qce;function Lce(e,u){for(var t=-1,r=e==null?0:e.length;++t<r&&u(e[t],t,e)!==!1;);return e}var iQ=Lce;function Mce(e,u,t,r){for(var n=e.length,i=t+(r?1:-1);r?i--:++i<n;)if(u(e[i],i,e))return i;return-1}var Rce=Mce;function Nce(e){return e!==e}var $ce=Nce;function Hce(e,u,t){for(var r=t-1,n=e.length;++r<n;)if(e[r]===u)return r;return-1}var jce=Hce,Kce=Rce,Wce=$ce,Vce=jce;function zce(e,u,t){return u===u?Vce(e,u,t):Kce(e,Wce,t)}var Gce=zce,Yce=Gce;function Xce(e,u){var t=e==null?0:e.length;return!!t&&Yce(e,u,0)>-1}var Zce=Xce,qce=iQ,Jce=Zce,ele=1,ule=2,tle=8,rle=16,nle=32,ile=64,Ele=128,ole=256,ale=512,sle=[["ary",Ele],["bind",ele],["bindKey",ule],["curry",tle],["curryRight",rle],["flip",ale],["partial",nle],["partialRight",ile],["rearg",ole]];function Ale(e,u){return qce(sle,function(t){var r="_."+t[0];u&t[1]&&!Jce(e,r)&&e.push(r)}),e.sort()}var cle=Ale,lle=wce,fle=Cce,dle=Rw,ple=cle;function hle(e,u,t){var r=u+"";return dle(e,fle(r,ple(lle(r),t)))}var EQ=hle,mle=cce,gle=rQ,yle=EQ,vle=4,Ble=8,ED=32,oD=64;function wle(e,u,t,r,n,i,E,o,a,s){var A=u&Ble,c=A?E:void 0,l=A?void 0:E,f=A?i:void 0,p=A?void 0:i;u|=A?ED:oD,u&=~(A?oD:ED),u&vle||(u&=-4);var h=[e,u,n,f,c,p,l,o,a,s],w=t.apply(void 0,h);return mle(e)&&gle(w,h),w.placeholder=r,yle(w,e,u)}var oQ=wle;function ble(e){var u=e;return u.placeholder}var aQ=ble,xle=9007199254740991,Cle=/^(?:0|[1-9]\d*)$/;function Dle(e,u){var t=typeof e;return u=u??xle,!!u&&(t=="number"||t!="symbol"&&Cle.test(e))&&e>-1&&e%1==0&&e<u}var os=Dle,Sle=Mw,Fle=os,_le=Math.min;function Ile(e,u){for(var t=e.length,r=_le(u.length,t),n=Sle(e);r--;){var i=u[r];e[r]=Fle(i,t)?n[i]:void 0}return e}var Tle=Ile,aD="__lodash_placeholder__";function Ple(e,u){for(var t=-1,r=e.length,n=0,i=[];++t<r;){var E=e[t];(E===u||E===aD)&&(e[t]=aD,i[n++]=t)}return i}var Nw=Ple,Ole=qU,kle=JU,Ule=SAe,sD=Ap,Qle=oQ,Lle=aQ,Mle=Tle,Rle=Nw,Nle=g0,$le=1,Hle=2,jle=8,Kle=16,Wle=128,Vle=512;function sQ(e,u,t,r,n,i,E,o,a,s){var A=u&Wle,c=u&$le,l=u&Hle,f=u&(jle|Kle),p=u&Vle,h=l?void 0:sD(e);function w(){for(var m=arguments.length,g=Array(m),v=m;v--;)g[v]=arguments[v];if(f)var d=Lle(w),y=Ule(g,d);if(r&&(g=Ole(g,r,n,f)),i&&(g=kle(g,i,E,f)),m-=y,f&&m<s){var b=Rle(g,d);return Qle(e,u,sQ,w.placeholder,t,g,b,o,a,s-m)}var C=c?t:this,S=l?C[e]:e;return m=g.length,o?g=Mle(g,o):p&&m>1&&g.reverse(),A&&a<m&&(g.length=a),this&&this!==Nle&&this instanceof w&&(S=h||sD(S)),S.apply(C,g)}return w}var AQ=sQ,zle=Uw,Gle=Ap,Yle=AQ,Xle=oQ,Zle=aQ,qle=Nw,Jle=g0;function efe(e,u,t){var r=Gle(e);function n(){for(var i=arguments.length,E=Array(i),o=i,a=Zle(n);o--;)E[o]=arguments[o];var s=i<3&&E[0]!==a&&E[i-1]!==a?[]:qle(E,a);if(i-=s.length,i<t)return Xle(e,u,Yle,n.placeholder,void 0,E,s,void 0,void 0,t-i);var A=this&&this!==Jle&&this instanceof n?r:e;return zle(A,this,E)}return n}var ufe=efe,tfe=Uw,rfe=Ap,nfe=g0,ife=1;function Efe(e,u,t,r){var n=u&ife,i=rfe(e);function E(){for(var o=-1,a=arguments.length,s=-1,A=r.length,c=Array(A+a),l=this&&this!==nfe&&this instanceof E?i:e;++s<A;)c[s]=r[s];for(;a--;)c[s++]=arguments[++o];return tfe(l,n?t:this,c)}return E}var ofe=Efe,afe=qU,sfe=JU,AD=Nw,cD="__lodash_placeholder__",Ch=1,Afe=2,cfe=4,lD=8,Ms=128,fD=256,lfe=Math.min;function ffe(e,u){var t=e[1],r=u[1],n=t|r,i=n<(Ch|Afe|Ms),E=r==Ms&&t==lD||r==Ms&&t==fD&&e[7].length<=u[8]||r==(Ms|fD)&&u[7].length<=u[8]&&t==lD;if(!(i||E))return e;r&Ch&&(e[2]=u[2],n|=t&Ch?0:cfe);var o=u[3];
1011if(o){var a=e[3];e[3]=a?afe(a,o,u[4]):o,e[4]=a?AD(e[3],cD):u[4]}return o=u[5],o&&(a=e[5],e[5]=a?sfe(a,o,u[6]):o,e[6]=a?AD(e[5],cD):u[6]),o=u[7],o&&(e[7]=o),r&Ms&&(e[8]=e[8]==null?u[8]:lfe(e[8],u[8])),e[9]==null&&(e[9]=u[9]),e[0]=u[0],e[1]=n,e}var dfe=ffe,pfe=/\s/;function hfe(e){for(var u=e.length;u--&&pfe.test(e.charAt(u)););return u}var mfe=hfe,gfe=mfe,yfe=/^\s+/;function vfe(e){return e&&e.slice(0,gfe(e)+1).replace(yfe,"")}var Bfe=vfe,wfe=Es,bfe=On,xfe="[object Symbol]";function Cfe(e){return typeof e=="symbol"||bfe(e)&&wfe(e)==xfe}var $c=Cfe,Dfe=Bfe,dD=rn,Sfe=$c,pD=NaN,Ffe=/^[-+]0x[0-9a-f]+$/i,_fe=/^0b[01]+$/i,Ife=/^0o[0-7]+$/i,Tfe=parseInt;function Pfe(e){if(typeof e=="number")return e;if(Sfe(e))return pD;if(dD(e)){var u=typeof e.valueOf=="function"?e.valueOf():e;e=dD(u)?u+"":u}if(typeof e!="string")return e===0?e:+e;e=Dfe(e);var t=_fe.test(e);return t||Ife.test(e)?Tfe(e.slice(2),t?2:8):Ffe.test(e)?pD:+e}var Ofe=Pfe,kfe=Ofe,hD=1/0,Ufe=17976931348623157e292;function Qfe(e){if(!e)return e===0?e:0;if(e=kfe(e),e===hD||e===-hD){var u=e<0?-1:1;return u*Ufe}return e===e?e:0}var Lfe=Qfe,Mfe=Lfe;function Rfe(e){var u=Mfe(e),t=u%1;return u===u?t?u-t:u:0}var Nfe=Rfe,$fe=ZU,Hfe=vAe,jfe=ufe,Kfe=AQ,Wfe=ofe,Vfe=eQ,zfe=dfe,Gfe=rQ,Yfe=EQ,mD=Nfe,Xfe="Expected a function",gD=1,Zfe=2,yD=8,vD=16,BD=32,qfe=64,wD=Math.max;function Jfe(e,u,t,r,n,i,E,o){var a=u&Zfe;if(!a&&typeof e!="function")throw new TypeError(Xfe);var s=r?r.length:0;if(s||(u&=-97,r=n=void 0),E=E===void 0?E:wD(mD(E),0),o=o===void 0?o:mD(o),s-=n?n.length:0,u&qfe){var A=r,c=n;r=n=void 0}var l=a?void 0:Vfe(e),f=[e,u,t,r,n,A,c,i,E,o];if(l&&zfe(f,l),e=f[0],u=f[1],t=f[2],r=f[3],n=f[4],o=f[9]=f[9]===void 0?a?0:e.length:wD(f[9]-s,0),!o&&u&(yD|vD)&&(u&=-25),!u||u==gD)var p=Hfe(e,u,t);else u==yD||u==vD?p=jfe(e,u,o):(u==BD||u==(gD|BD))&&!n.length?p=Wfe(e,u,t,r):p=Kfe.apply(void 0,f);var h=l?$fe:Gfe;return Yfe(h(p,f),e,u)}var ede=Jfe,ude=ede,tde=8;function $w(e,u,t){u=t?void 0:u;var r=ude(e,tde,void 0,void 0,void 0,void 0,void 0,u);return r.placeholder=$w.placeholder,r}$w.placeholder={};var rde=$w;const aze=Iu(rde);var FE=[],nde=function(){return FE.some(function(e){return e.activeTargets.length>0})},ide=function(){return FE.some(function(e){return e.skippedTargets.length>0})},bD="ResizeObserver loop completed with undelivered notifications.",Ede=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:bD}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=bD),window.dispatchEvent(e)},sc;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(sc||(sc={}));var _E=function(e){return Object.freeze(e)},ode=function(){function e(u,t){this.inlineSize=u,this.blockSize=t,_E(this)}return e}(),cQ=function(){function e(u,t,r,n){return this.x=u,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,_E(this)}return e.prototype.toJSON=function(){var u=this,t=u.x,r=u.y,n=u.top,i=u.right,E=u.bottom,o=u.left,a=u.width,s=u.height;return{x:t,y:r,top:n,right:i,bottom:E,left:o,width:a,height:s}},e.fromRect=function(u){return new e(u.x,u.y,u.width,u.height)},e}(),Hw=function(e){return e instanceof SVGElement&&"getBBox"in e},lQ=function(e){if(Hw(e)){var u=e.getBBox(),t=u.width,r=u.height;return!t&&!r}var n=e,i=n.offsetWidth,E=n.offsetHeight;return!(i||E||e.getClientRects().length)},xD=function(e){var u;if(e instanceof Element)return!0;var t=(u=e==null?void 0:e.ownerDocument)===null||u===void 0?void 0:u.defaultView;return!!(t&&e instanceof t.Element)},ade=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},CA=typeof window<"u"?window:{},kl=new WeakMap,CD=/auto|scroll/,sde=/^tb|vertical/,Ade=/msie|trident/i.test(CA.navigator&&CA.navigator.userAgent),Ur=function(e){return parseFloat(e||"0")},ca=function(e,u,t){return e===void 0&&(e=0),u===void 0&&(u=0),t===void 0&&(t=!1),new ode((t?u:e)||0,(t?e:u)||0)},DD=_E({devicePixelContentBoxSize:ca(),borderBoxSize:ca(),contentBoxSize:ca(),contentRect:new cQ(0,0,0,0)}),fQ=function(e,u){if(u===void 0&&(u=!1),kl.has(e)&&!u)return kl.get(e);if(lQ(e))return kl.set(e,DD),DD;var t=getComputedStyle(e),r=Hw(e)&&e.ownerSVGElement&&e.getBBox(),n=!Ade&&t.boxSizing==="border-box",i=sde.test(t.writingMode||""),E=!r&&CD.test(t.overflowY||""),o=!r&&CD.test(t.overflowX||""),a=r?0:Ur(t.paddingTop),s=r?0:Ur(t.paddingRight),A=r?0:Ur(t.paddingBottom),c=r?0:Ur(t.paddingLeft),l=r?0:Ur(t.borderTopWidth),f=r?0:Ur(t.borderRightWidth),p=r?0:Ur(t.borderBottomWidth),h=r?0:Ur(t.borderLeftWidth),w=c+s,m=a+A,g=h+f,v=l+p,d=o?e.offsetHeight-v-e.clientHeight:0,y=E?e.offsetWidth-g-e.clientWidth:0,b=n?w+g:0,C=n?m+v:0,S=r?r.width:Ur(t.width)-b-y,F=r?r.height:Ur(t.height)-C-d,I=S+w+y+g,R=F+m+d+v,X=_E({devicePixelContentBoxSize:ca(Math.round(S*devicePixelRatio),Math.round(F*devicePixelRatio),i),borderBoxSize:ca(I,R,i),contentBoxSize:ca(S,F,i),contentRect:new cQ(c,a,S,F)});return kl.set(e,X),X},dQ=function(e,u,t){var r=fQ(e,t),n=r.borderBoxSize,i=r.contentBoxSize,E=r.devicePixelContentBoxSize;switch(u){case sc.DEVICE_PIXEL_CONTENT_BOX:return E;case sc.BORDER_BOX:return n;default:return i}},cde=function(){function e(u){var t=fQ(u);this.target=u,this.contentRect=t.contentRect,this.borderBoxSize=_E([t.borderBoxSize]),this.contentBoxSize=_E([t.contentBoxSize]),this.devicePixelContentBoxSize=_E([t.devicePixelContentBoxSize])}return e}(),pQ=function(e){if(lQ(e))return 1/0;for(var u=0,t=e.parentNode;t;)u+=1,t=t.parentNode;return u},lde=function(){var e=1/0,u=[];FE.forEach(function(E){if(E.activeTargets.length!==0){var o=[];
1011E.activeTargets.forEach(function(s){var A=new cde(s.target),c=pQ(s.target);o.push(A),s.lastReportedSize=dQ(s.target,s.observedBox),c<e&&(e=c)}),u.push(function(){E.callback.call(E.observer,o,E.observer)}),E.activeTargets.splice(0,E.activeTargets.length)}});for(var t=0,r=u;t<r.length;t++){var n=r[t];n()}return e},SD=function(e){FE.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(pQ(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},fde=function(){var e=0;for(SD(e);nde();)e=lde(),SD(e);return ide()&&Ede(),e>0},Dh,hQ=[],dde=function(){return hQ.splice(0).forEach(function(e){return e()})},pde=function(e){if(!Dh){var u=0,t=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return dde()}).observe(t,r),Dh=function(){t.textContent="".concat(u?u--:u++)}}hQ.push(e),Dh()},hde=function(e){pde(function(){requestAnimationFrame(e)})},Ed=0,mde=function(){return!!Ed},gde=250,yde={attributes:!0,characterData:!0,childList:!0,subtree:!0},FD=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_D=function(e){return e===void 0&&(e=0),Date.now()+e},Sh=!1,vde=function(){function e(){var u=this;this.stopped=!0,this.listener=function(){return u.schedule()}}return e.prototype.run=function(u){var t=this;if(u===void 0&&(u=gde),!Sh){Sh=!0;var r=_D(u);hde(function(){var n=!1;try{n=fde()}finally{if(Sh=!1,u=r-_D(),!mde())return;n?t.run(1e3):u>0?t.run(u):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var u=this,t=function(){return u.observer&&u.observer.observe(document.body,yde)};document.body?t():CA.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var u=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),FD.forEach(function(t){return CA.addEventListener(t,u.listener,!0)}))},e.prototype.stop=function(){var u=this;this.stopped||(this.observer&&this.observer.disconnect(),FD.forEach(function(t){return CA.removeEventListener(t,u.listener,!0)}),this.stopped=!0)},e}(),Vg=new vde,ID=function(e){!Ed&&e>0&&Vg.start(),Ed+=e,!Ed&&Vg.stop()},Bde=function(e){return!Hw(e)&&!ade(e)&&getComputedStyle(e).display==="inline"},wde=function(){function e(u,t){this.target=u,this.observedBox=t||sc.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var u=dQ(this.target,this.observedBox,!0);return Bde(this.target)&&(this.lastReportedSize=u),this.lastReportedSize.inlineSize!==u.inlineSize||this.lastReportedSize.blockSize!==u.blockSize},e}(),bde=function(){function e(u,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=u,this.callback=t}return e}(),Ul=new WeakMap,TD=function(e,u){for(var t=0;t<e.length;t+=1)if(e[t].target===u)return t;return-1},Ql=function(){function e(){}return e.connect=function(u,t){var r=new bde(u,t);Ul.set(u,r)},e.observe=function(u,t,r){var n=Ul.get(u),i=n.observationTargets.length===0;TD(n.observationTargets,t)<0&&(i&&FE.push(n),n.observationTargets.push(new wde(t,r&&r.box)),ID(1),Vg.schedule())},e.unobserve=function(u,t){var r=Ul.get(u),n=TD(r.observationTargets,t),i=r.observationTargets.length===1;n>=0&&(i&&FE.splice(FE.indexOf(r),1),r.observationTargets.splice(n,1),ID(-1))},e.disconnect=function(u){var t=this,r=Ul.get(u);r.observationTargets.slice().forEach(function(n){return t.unobserve(u,n.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),sze=function(){function e(u){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof u!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ql.connect(this,u)}return e.prototype.observe=function(u,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xD(u))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ql.observe(this,u,t)},e.prototype.unobserve=function(u){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!xD(u))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ql.unobserve(this,u)},e.prototype.disconnect=function(){Ql.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function Aze(e,u,t,r){return r===void 0&&(r=!1),e.addEventListener(u,t,r),{off:function(){e.removeEventListener(u,t,r)}}}function xde(e,u){for(var t=-1,r=e==null?0:e.length,n=Array(r);++t<r;)n[t]=u(e[t],t,e);return n}var mQ=xde,PD=is,Cde=mQ,Dde=sr,Sde=$c,OD=PD?PD.prototype:void 0,kD=OD?OD.toString:void 0;function gQ(e){if(typeof e=="string")return e;if(Dde(e))return Cde(e,gQ)+"";if(Sde(e))return kD?kD.call(e):"";var u=e+"";return u=="0"&&1/e==-1/0?"-0":u}var Fde=gQ,_de=Fde;function Ide(e){return e==null?"":_de(e)}var as=Ide,Tde=as,Pde=0;function Ode(e){var u=++Pde;return Tde(e)+u}var kde=Ode;const cze=Iu(kde);var cp=!!(typeof window<"u"&&window.document&&window.document.createElement),yQ=function(u,t){if(!t)return!1;do if(t===u)return!0;while(t.parentNode&&(t=t.parentNode));return!1},Ude=function(u,t){return t?u.contains?u.contains(t):u.compareDocumentPosition?u===t||!!(u.compareDocumentPosition(t)&16):yQ(u,t):!1};const Qde=function(){return cp?Ude:yQ}();function vQ(e){return e&&e.ownerDocument||document}cp&&document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","");function jw(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;throw new Error("unable to locate global object")}var BQ=jw(),UD=0;function Lde(e){var u=Date.now(),t=Math.max(0,16-(u-UD));return UD=u+t,BQ.setTimeout(function(){e(Date.now())},t)}BQ.requestAnimationFrame;var QD=jw();QD.cancelAnimationFrame||QD.clearTimeout;function Mde(e,u){return e.classList?!!u&&e.classList.contains(u):(" "+e.className+" ").indexOf(" "+u+" ")!==-1}function lze(e,u){return u&&(e.classList?e.classList.add(u):Mde(e,u)||(e.className=e.className+" "+u)),e}function fze(e,u){return u&&(e.classList?e.classList.remove(u):e.className=e.className.replace(new RegExp("(^|\\s)"+u+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")),e}function Kw(e){return e===(e==null?void 0:e.window)?e:(e==null?void 0:e.nodeType)===9?(e==null?void 0:e.defaultView)||(e==null?void 0:e.parentWindow):null}function dze(e,u){return e=typeof e=="function"?e():e,e||u}function Rde(e,u){var t=Kw(e),r=e.scrollTop;return t&&(r=t.pageYOffset,t.pageXOffset),r}function Nde(e,u){var t=Kw(e),r=e.scrollLeft;return t&&(r=t.pageXOffset,t.pageYOffset),r}function LD(e){var u=vQ(e),t=Kw(u),r=u&&u.documentElement,n={top:0,left:0,height:0,width:0};return u?(Qde(r,e)&&((e==null?void 0:e.getBoundingClientRect)!==void 0&&(n=e.getBoundingClientRect()),(n.width||n.height)&&r&&t&&(n={top:n.top+(t.pageYOffset||r.scrollTop)-(r.clientTop||0),left
1011:n.left+(t.pageXOffset||r.scrollLeft)-(r.clientLeft||0),width:(n.width===null?e.offsetWidth:n.width)||0,height:(n.height===null?e.offsetHeight:n.height)||0})),n):null}function wQ(e){var u;return(e==null?void 0:e.nodeName)&&(e==null||(u=e.nodeName)===null||u===void 0?void 0:u.toLowerCase())}function bQ(e){return e.replace(/\-(\w)/g,function(u){return u.slice(1).toUpperCase()})}function $de(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}var Hde=/^-ms-/;function jde(e){return bQ(e.replace(Hde,"ms-"))}const MD=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var u=e.ownerDocument;return"defaultView"in u?u.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):null};var Kde=/^ms-/;const zg=function(e){return $de(e).replace(Kde,"-ms-")};function od(e,u){if(u){var t=e.style[jde(u)];if(t)return t;var r=MD(e);if(r)return r.getPropertyValue(zg(u))}return e.style||MD(e)}function Wde(e){for(var u=vQ(e),t=e==null?void 0:e.offsetParent;t&&wQ(e)!=="html"&&od(t,"position")==="static";)t=t.offsetParent;return t||u.documentElement}function pze(e,u,t){var r={top:0,left:0},n=null;if(od(e,"position")==="fixed")n=e.getBoundingClientRect();else{if(u=u||Wde(e),n=LD(e),wQ(u)!=="html"){var i=LD(u);i&&(r.top=i.top,r.left=i.left)}r.top+=parseInt(od(u,"borderTopWidth"),10)-Rde(u)||0,r.left+=parseInt(od(u,"borderLeftWidth"),10)-Nde(u)||0}if(n){var E=0,o=0;return Ig({},n,{top:n.top-r.top-E,left:n.left-r.left-o})}return null}function RD(e,u){var t,r;(t=e.style)===null||t===void 0||(r=t.removeProperty)===null||r===void 0||r.call(t,u)}function Vde(e,u){typeof u=="string"?RD(e,u):Array.isArray(u)&&u.forEach(function(t){return RD(e,t)})}function hze(e,u,t){var r="",n=u;if(typeof u=="string"){if(t===void 0)throw new Error("value is undefined");(n={})[u]=t}if(typeof n=="object")for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(!n[i]&&n[i]!==0?Vde(e,zg(i)):r+=zg(i)+":"+n[i]+";");e.style.cssText+=";"+r}var Fh={},Gg=["Webkit","ms","Moz","O"],zde=new RegExp("^("+Gg.join("|")+")"),xQ=cp?document.createElement("div").style:{};function Gde(e){for(var u=0;u<Gg.length;u+=1){var t=Gg[u]+e;if(t in xQ)return t}return null}function ua(e){var u=bQ(e);if(Fh[u]===void 0){var t=u.charAt(0).toUpperCase()+u.slice(1);if(zde.test(t))throw new Error(`getVendorPrefixedName must only be called with unprefixed
1012          CSS property names. It was called with `+e);Fh[u]=u in xQ?u:Gde(t)}return Fh[u]||u}const ND={hasCSSAnimations:function(){return!!ua("animationName")},hasCSSTransforms:function(){return!!ua("transform")},hasCSS3DTransforms:function(){return!!ua("perspective")},hasCSSTransitions:function(){return!!ua("transition")}};var $D=jw(),CQ=ua("transform"),Yde=ua("backfaceVisibility"),Xde=function(u,t,r){return t===void 0&&(t=0),r===void 0&&(r=0),u.left=t+"px",u.top=r+"px",u},HD=function(u,t,r){return t===void 0&&(t=0),r===void 0&&(r=0),u[CQ]="translate("+t+"px,"+r+"px)",u},jD=function(u,t,r){return t===void 0&&(t=0),r===void 0&&(r=0),u[CQ]="translate3d("+t+"px,"+r+"px,0)",u[Yde]="hidden",u},Zde=function(u){var t={},r=t.enableTransform,n=r===void 0?!0:r,i=t.enable3DTransform,E=i===void 0?!0:i,o=t.forceUseTransform;if(o)return u.enable3DTransform?jD:HD;if(ND.hasCSSTransforms()&&n){var a=$D.window?$D.window.navigator.userAgent:"UNKNOWN",s=/Safari\//.test(a)&&!/Chrome\//.test(a);return!s&&ND.hasCSS3DTransforms()&&E?jD:HD}return Xde};Zde();function KD(e,u,t,r,n,i,E){try{var o=e[i](E),a=o.value}catch(s){return void t(s)}o.done?u(a):Promise.resolve(a).then(r,n)}function mze(e){return function(){var u=this,t=arguments;return new Promise(function(r,n){var i=e.apply(u,t);function E(a){KD(i,r,n,E,o,"next",a)}function o(a){KD(i,r,n,E,o,"throw",a)}E(void 0)})}}var DQ={exports:{}},SQ={exports:{}};(function(e){function u(t,r){this.v=t,this.k=r}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(SQ);var FQ=SQ.exports,_Q={exports:{}},IQ={exports:{}};(function(e){function u(t,r,n,i){var E=Object.defineProperty;try{E({},"",{})}catch{E=0}e.exports=u=function(a,s,A,c){function l(f,p){u(a,f,function(h){return this._invoke(f,p,h)})}s?E?E(a,s,{value:A,enumerable:!c,configurable:!c,writable:!c}):a[s]=A:(l("next",0),l("throw",1),l("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,u(t,r,n,i)}
vendor: 5,112 bytes, line 1012
1012e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(IQ);var TQ=IQ.exports;(function(e){var u=TQ;function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var r,n,i=typeof Symbol=="function"?Symbol:{},E=i.iterator||"@@iterator",o=i.toStringTag||"@@toStringTag";function a(w,m,g,v){var d=m&&m.prototype instanceof A?m:A,y=Object.create(d.prototype);return u(y,"_invoke",function(b,C,S){var F,I,R,X=0,J=S||[],ee=!1,L={p:0,n:0,v:r,a:j,f:j.bind(r,4),d:function(N,Z){return F=N,I=0,R=r,L.n=Z,s}};function j(ue,N){for(I=ue,R=N,n=0;!ee&&X&&!Z&&n<J.length;n++){var Z,q=J[n],k=L.p,z=q[2];ue>3?(Z=z===N)&&(R=q[(I=q[4])?5:(I=3,3)],q[4]=q[5]=r):q[0]<=k&&((Z=ue<2&&k<q[1])?(I=0,L.v=N,L.n=q[1]):k<z&&(Z=ue<3||q[0]>N||N>z)&&(q[4]=ue,q[5]=N,L.n=z,I=0))}if(Z||ue>1)return s;throw ee=!0,N}return function(ue,N,Z){if(X>1)throw TypeError("Generator is already running");for(ee&&N===1&&j(N,Z),I=N,R=Z;(n=I<2?r:R)||!ee;){F||(I?I<3?(I>1&&(L.n=-1),j(I,R)):L.n=R:L.v=R);try{if(X=2,F){if(I||(ue="next"),n=F[ue]){if(!(n=n.call(F,R)))throw TypeError("iterator result is not an object");if(!n.done)return n;R=n.value,I<2&&(I=0)}else I===1&&(n=F.return)&&n.call(F),I<2&&(R=TypeError("The iterator does not provide a '"+ue+"' method"),I=1);F=r}else if((n=(ee=L.n<0)?R:b.call(C,L))!==s)break}catch(q){F=r,I=1,R=q}finally{X=1}}return{value:n,done:ee}}}(w,g,v),!0),y}var s={};function A(){}function c(){}function l(){}n=Object.getPrototypeOf;var f=[][E]?n(n([][E]())):(u(n={},E,function(){return this}),n),p=l.prototype=A.prototype=Object.create(f);function h(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,l):(w.__proto__=l,u(w,o,"GeneratorFunction")),w.prototype=Object.create(p),w}return c.prototype=l,u(p,"constructor",l),u(l,"constructor",c),c.displayName="GeneratorFunction",u(l,o,"GeneratorFunction"),u(p),u(p,o,"Generator"),u(p,E,function(){return this}),u(p,"toString",function(){return"[object Generator]"}),(e.exports=t=function(){return{w:a,m:h}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(_Q);var PQ=_Q.exports,OQ={exports:{}},kQ={exports:{}},UQ={exports:{}};(function(e){var u=FQ,t=TQ;function r(n,i){function E(a,s,A,c){try{var l=n[a](s),f=l.value;return f instanceof u?i.resolve(f.v).then(function(p){E("next",p,A,c)},function(p){E("throw",p,A,c)}):i.resolve(f).then(function(p){l.value=p,A(l)},function(p){return E("throw",p,A,c)})}catch(p){c(p)}}var o;this.next||(t(r.prototype),t(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),t(this,"_invoke",function(a,s,A){function c(){return new i(function(l,f){E(a,A,l,f)})}return o=o?o.then(c,c):c()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(UQ);var QQ=UQ.exports;(function(e){var u=PQ,t=QQ;function r(n,i,E,o,a){return new t(u().w(n,i,E,o),a||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(kQ);var LQ=kQ.exports;(function(e){var u=LQ;function t(r,n,i,E,o){var a=u(r,n,i,E,o);return a.next().then(function(s){return s.done?s.value:a.next()})}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(OQ);var qde=OQ.exports,MQ={exports:{}};(function(e){function u(t){var r=Object(t),n=[];for(var i in r)n.unshift(i);return function E(){for(;n.length;)if((i=n.pop())in r)return E.value=i,E.done=!1,E;return E.done=!0,E}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(MQ);var Jde=MQ.exports,RQ={exports:{}},NQ={exports:{}};(function(e){function u(t){"@babel/helpers - typeof";return e.exports=u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,u(t)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(NQ);var e1e=NQ.exports;(function(e){var u=e1e.default;function t(r){if(r!=null){var n=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],i=0;if(n)return n.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}}}throw new TypeError(u(r)+" is not iterable")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(RQ);var u1e=RQ.exports;(function(e){var u=FQ,t=PQ,r=qde,n=LQ,i=QQ,E=Jde,o=u1e;function a(){var s=t(),A=s.m(a),c=(Object.getPrototypeOf?Object.getPrototypeOf(A):A.__proto__).constructor;function l(h){var w=typeof h=="function"&&h.constructor;return!!w&&(w===c||(w.displayName||w.name)==="GeneratorFunction")}var f={throw:1,return:2,break:3,continue:3};function p(h){var w,m;return function(g){w||(w={stop:function(){return m(g.a,2)},catch:function(){return g.v},abrupt:function(d,y){return m(g.a,f[d],y)},delegateYield:function(d,y,b){return w.resultName=y,m(g.d,o(d),b)},finish:function(d){return m(g.f,d)}},m=function(d,y,b){g.p=w.prev,g.n=w.next;try{return d(y,b)}finally{w.next=g.n}}
1012),w.resultName&&(w[w.resultName]=g.v,w.resultName=void 0),w.sent=g.v,w.next=g.n;try{return h.call(this,w)}finally{g.p=w.prev,g.n=w.next}}}return(e.exports=a=function(){return{wrap:function(m,g,v,d){return s.w(p(m),g,v,d&&d.reverse())},isGeneratorFunction:l,mark:s.m,awrap:function(m,g){return new u(m,g)},AsyncIterator:i,async:function(m,g,v,d,y){return(l(g)?n:r)(p(m),g,v,d,y)},keys:E,values:o}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports})(DQ);var t1e=DQ.exports,ad=t1e(),r1e=ad;try{regeneratorRuntime=ad}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=ad:Function("r","regeneratorRuntime = r")(ad)}const gze=Iu(r1e);function n1e(e,u,t,r){var n=-1,i=e==null?0:e.length;for(r&&i&&(t=e[++n]);++n<i;)t=u(t,e[n],n,e);return t}var i1e=n1e;function E1e(e){return function(u){return e==null?void 0:e[u]}}var o1e=E1e,a1e=o1e,s1e={À:"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"},A1e=a1e(s1e),c1e=A1e,l1e=c1e,f1e=as,d1e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 10,330 bytes, line 1012
10127f]/g,p1e="\\u0300-\\u036f",h1e="\\ufe20-\\ufe2f",m1e="\\u20d0-\\u20ff",g1e=p1e+h1e+m1e,y1e="["+g1e+"]",v1e=RegExp(y1e,"g");function B1e(e){return e=f1e(e),e&&e.replace(d1e,l1e).replace(v1e,"")}var w1e=B1e,b1e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function x1e(e){return e.match(b1e)||[]}var C1e=x1e,D1e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function S1e(e){return D1e.test(e)}var F1e=S1e,$Q="\\ud800-\\udfff",_1e="\\u0300-\\u036f",I1e="\\ufe20-\\ufe2f",T1e="\\u20d0-\\u20ff",P1e=_1e+I1e+T1e,HQ="\\u2700-\\u27bf",jQ="a-z\\xdf-\\xf6\\xf8-\\xff",O1e="\\xac\\xb1\\xd7\\xf7",k1e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",U1e="\\u2000-\\u206f",Q1e=" \\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",KQ="A-Z\\xc0-\\xd6\\xd8-\\xde",L1e="\\ufe0e\\ufe0f",WQ=O1e+k1e+U1e+Q1e,VQ="['’]",WD="["+WQ+"]",M1e="["+P1e+"]",zQ="\\d+",R1e="["+HQ+"]",GQ="["+jQ+"]",YQ="[^"+$Q+WQ+zQ+HQ+jQ+KQ+"]",N1e="\\ud83c[\\udffb-\\udfff]",$1e="(?:"+M1e+"|"+N1e+")",H1e="[^"+$Q+"]",XQ="(?:\\ud83c[\\udde6-\\uddff]){2}",ZQ="[\\ud800-\\udbff][\\udc00-\\udfff]",Io="["+KQ+"]",j1e="\\u200d",VD="(?:"+GQ+"|"+YQ+")",K1e="(?:"+Io+"|"+YQ+")",zD="(?:"+VQ+"(?:d|ll|m|re|s|t|ve))?",GD="(?:"+VQ+"(?:D|LL|M|RE|S|T|VE))?",qQ=$1e+"?",JQ="["+L1e+"]?",W1e="(?:"+j1e+"(?:"+[H1e,XQ,ZQ].join("|")+")"+JQ+qQ+")*",V1e="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",z1e="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",G1e=JQ+qQ+W1e,Y1e="(?:"+[R1e,XQ,ZQ].join("|")+")"+G1e,X1e=RegExp([Io+"?"+GQ+"+"+zD+"(?="+[WD,Io,"$"].join("|")+")",K1e+"+"+GD+"(?="+[WD,Io+VD,"$"].join("|")+")",Io+"?"+VD+"+"+zD,Io+"+"+GD,z1e,V1e,zQ,Y1e].join("|"),"g");function Z1e(e){return e.match(X1e)||[]}var q1e=Z1e,J1e=C1e,e2e=F1e,u2e=as,t2e=q1e;function r2e(e,u,t){return e=u2e(e),u=t?void 0:u,u===void 0?e2e(e)?t2e(e):J1e(e):e.match(u)||[]}var n2e=r2e,i2e=i1e,E2e=w1e,o2e=n2e,a2e="['’]",s2e=RegExp(a2e,"g");function A2e(e){return function(u){return i2e(o2e(E2e(u).replace(s2e,"")),e,"")}}var c2e=A2e,l2e=c2e,f2e=l2e(function(e,u,t){return e+(t?"-":"")+u.toLowerCase()}),d2e=f2e;const yze=Iu(d2e);function p1(e,u){return p1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},p1(e,u)}function p2e(e,u){e.prototype=Object.create(u.prototype),e.prototype.constructor=e,p1(e,u)}function h2e(){if(!cp)return{};for(var e={O:function(s){return"o"+s.toLowerCase()},Moz:function(s){return s.toLowerCase()},Webkit:function(s){return"webkit"+s},ms:function(s){return"MS"+s}},u=Object.keys(e),t=document.createElement("div").style,r,n="",i=0;i<u.length;i+=1){var E=u[i];if(E+"TransitionProperty"in t){n="-"+E.toLowerCase(),r=e[E]("TransitionEnd");break}}!r&&"transitionProperty"in t&&(r="transitionend"),t=null;var o=function(s){return n+"-"+s};return{end:r,backfaceVisibility:o("backface-visibility"),transform:o("transform"),property:o("transition-property"),timing:o("transition-timing-function"),delay:o("transition-delay"),duration:o("transition-duration")}}function vze(){return h2e().end}function m2e(){this.__data__=[],this.size=0}var g2e=m2e;function y2e(e,u){return e===u||e!==e&&u!==u}var lp=y2e,v2e=lp;function B2e(e,u){for(var t=e.length;t--;)if(v2e(e[t][0],u))return t;return-1}var fp=B2e,w2e=fp,b2e=Array.prototype,x2e=b2e.splice;function C2e(e){var u=this.__data__,t=w2e(u,e);if(t<0)return!1;var r=u.length-1;return t==r?u.pop():x2e.call(u,t,1),--this.size,!0}var D2e=C2e,S2e=fp;function F2e(e){var u=this.__data__,t=S2e(u,e);return t<0?void 0:u[t][1]}var _2e=F2e,I2e=fp;function T2e(e){return I2e(this.__data__,e)>-1}var P2e=T2e,O2e=fp;function k2e(e,u){var t=this.__data__,r=O2e(t,e);return r<0?(++this.size,t.push([e,u])):t[r][1]=u,this}var U2e=k2e,Q2e=g2e,L2e=D2e,M2e=_2e,R2e=P2e,N2e=U2e;function ss(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var r=e[u];this.set(r[0],r[1])}}ss.prototype.clear=Q2e;ss.prototype.delete=L2e;ss.prototype.get=M2e;ss.prototype.has=R2e;ss.prototype.set=N2e;var dp=ss,$2e=dp;function H2e(){this.__data__=new $2e,this.size=0}var j2e=H2e;function K2e(e){var u=this.__data__,t=u.delete(e);return this.size=u.size,t}var W2e=K2e;function V2e(e){return this.__data__.get(e)}var z2e=V2e;function G2e(e){return this.__data__.has(e)}var Y2e=G2e,X2e=eo,Z2e=g0,q2e=X2e(Z2e,"Map"),Ww=q2e,J2e=eo,epe=J2e(Object,"create"),pp=epe,YD=pp;function upe(){this.__data__=YD?YD(null):{},this.size=0}var tpe=upe;function rpe(e){var u=this.has(e)&&delete this.__data__[e];return this.size-=u?1:0,u}var npe=rpe,ipe=pp,Epe="__lodash_hash_undefined__",ope=Object.prototype,ape=ope.hasOwnProperty;function spe(e){var u=this.__data__;if(ipe){var t=u[e];return t===Epe?void 0:t}return ape.call(u,e)?u[e]:void 0}var Ape=spe,cpe=pp,lpe=Object.prototype,fpe=lpe.hasOwnProperty;function dpe(e){var u=this.__data__;return cpe?u[e]!==void 0:fpe.call(u,e)}var ppe=dpe,hpe=pp,mpe="__lodash_hash_undefined__";function gpe(e,u){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=hpe&&u===void 0?mpe:u,this}var ype=gpe,vpe=tpe,Bpe=npe,wpe=Ape,bpe=ppe,xpe=ype;function As(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var r=e[u];this.set(r[0],r[1])}}As.prototype.clear=vpe;As.prototype.delete=Bpe;As.prototype.get=wpe;As.prototype.has=bpe;As.prototype.set=xpe;var Cpe=As,XD=Cpe,Dpe=dp,Spe=Ww;function Fpe(){this.size=0,this.__data__={hash:new XD,map:new(Spe||Dpe),string:new XD}}var _pe=Fpe;function Ipe(e){var u=typeof e;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?e!=="__proto__":e===null}var Tpe=Ipe,Ppe=Tpe;function Ope(e,u){var t=e.__data__;return Ppe(u)?t[typeof u=="string"?"string":"hash"]:t.map}var hp=Ope,kpe=hp;function Upe(e){var u=kpe(this,e).delete(e);return this.size-=u?1:0,u}var Qpe=Upe,Lpe=hp;function Mpe(e){return Lpe(this,e).get(e)}var Rpe=Mpe,Npe=hp;function $pe(e){return Npe(this,e).has(e)}var Hpe=$pe,jpe=hp;function Kpe(e,u){var t=jpe(this,e),r=t.size;return t.set(e,u),this.size+=t.size==r?0:1,this}var Wpe=Kpe,Vpe=_pe,zpe=Qpe,Gpe=Rpe,Ype=Hpe,Xpe=Wpe;function cs(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var r=e[u];this.set(r[0],r[1])}}cs.prototype.clear=Vpe;cs.prototype.delete=zpe;cs.prototype.get=Gpe;cs.prototype.has=Ype;cs.prototype.set=Xpe;var Vw=cs,Zpe=dp,qpe=Ww,Jpe=Vw,e4e=200;function u4e(e,u){var t=this.__data__;if(t instanceof Zpe){var r=t.__data__;if(!qpe||r.length<e4e-1)return r.push([e,u]),this.size=++t.size,this;t=this.__data__=new Jpe(r)}return t.set(e,u),this.size=t.size,this}var t4e=u4e,r4e=dp,n4e=j2e,i4e=W2e,E4e=z2e,o4e=Y2e,a4e=t4e;function ls(e){var u=this.__data__=new r4e(e);this.size=u.size}ls.prototype.clear=n4e;ls.prototype.delete=i4e;ls.prototype.get=E4e;ls.prototype.has=o4e;ls.prototype.set=a4e;var zw=ls,ZD=nQ;function s4e(e,u,t){u=="__proto__"&&ZD?ZD(e,u,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[u]=t}var eL=s4e,A4e=eL,c4e=lp,l4e=Object.prototype,f4e=l4e.hasOwnProperty;function d4e(e,u,t){var r=e[u];(!(f4e.call(e,u)&&c4e(r,t))||t===void 0&&!(u in e))&&A4e(e,u,t)}var mp=d4e,p4e=mp,h4e=eL;function m4e(e,u,t,r){var n=!t;t||(t={});for(var i=-1,E=u.length;++i<E;){var o=u[i],a=r?r(t[o],e[o],o,t,e):void 0;a===void 0&&(a=e[o]),n?h4e(t,o,a):p4e(t,o,a)}return t}var fs=m4e;function g4e(e,u){for(var t=-1,r=Array(e);++t<e;)r[t]=u(t);return r}var y4e=g4e,v4e=Es,B4e=On,w4e="[object Arguments]";function b4e(e){return B4e(e)&&v4e(e)==w4e}var x4e=b4e,qD=x4e,C4e=On,uL=Object.prototype,D4e=uL.hasOwnProperty,S4e=uL.propertyIsEnumerable,F4e=qD(function(){return arguments}())?qD:function(e){return C4e(e)&&D4e.call(e,"callee")&&!S4e.call(e,"callee")},Gw=F4e,h1={exports:{}};function _4e(){return!1}var I4e=_4e;h1.exports;(function(e,u){var t=g0,r=I4e,n=u&&!u.nodeType&&u,i=n&&!0&&e&&!e.nodeType&&e,E=i&&i.exports===n,o=E?t.Buffer:void 0,a=o?o.isBuffer:void 0,s=a||r;e.exports=s})(h1,h1.exports);var Yw=h1.exports,T4e=9007199254740991;function P4e(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=T4e}var Xw=P4e,O4e=Es,k4e=Xw,U4e=On,Q4e="[object Arguments]",L4e="[object Array]",M4e="[object Boolean]",R4e="[object Date]",N4e="[object Error]",$4e="[object Function]",H4e="[object Map]",j4e="[object Number]",K4e="[object Object]",W4e="[object RegExp]",V4e="[object Set]",z4e="[object String]",G4e="[object WeakMap]",Y4e="[object ArrayBuffer]",X4e="[object DataView]",Z4e="[object Float32Array]",q4e="[object Float64Array]",J4e="[object Int8Array]",ehe="[object Int16Array]",uhe="[object Int32Array]",the="[object Uint8Array]",rhe="[object Uint8ClampedArray]",nhe="[object Uint16Array]",ihe="[object Uint32Array]",gu={};gu[Z4e]=gu[q4e]=gu[J4e]=gu[ehe]=gu[uhe]=gu[the]=gu[rhe]=gu[nhe]=gu[ihe]=!0;gu[Q4e]=gu[L4e]=gu[Y4e]=gu[M4e]=gu[X4e]=gu[R4e]=gu[N4e]=gu[$4e]=gu[H4e]=gu[j4e]=gu[K4e]=gu[W4e]=gu[V4e]=gu[z4e]=gu[G4e]=!1;function Ehe(e){return U4e(e)&&k4e(e.length)&&!!gu[O4e(e)]}var ohe=Ehe;function ahe(e){return function(u){return e(u)}}var Zw=ahe,m1={exports:{}};m1.exports;(function(e,u){var t=VU,r=u&&!u.nodeType&&u,n=r&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===r,E=i&&t.process,o=function(){try{var a=n&&n.require&&n.require("util").types;return a||E&&E.binding&&E.binding("util")}catch{}}();e.exports=o})(m1,m1.exports);var qw=m1.exports,she=ohe,Ahe=Zw,JD=qw,e8=JD&&JD.isTypedArray,che=e8?Ahe(e8):she,tL=che,lhe=y4e,fhe=Gw,dhe=sr,phe=Yw,hhe=os,mhe=tL,ghe=Object.prototype,yhe=ghe.hasOwnProperty;function vhe(e,u){var t=dhe(e),r=!t&&fhe(e),n=!t&&!r&&phe(e),i=!t&&!r&&!n&&mhe(e),E=t||r||n||i,o=E?lhe(e.length,String):[],a=o.length;for(var s in e)(u||yhe.call(e,s))&&!(E&&(s=="length"||n&&(s=="offset"||s=="parent")||i&&(s=="buffer"||s=="byteLength"||s=="byteOffset")||hhe(s,a)))&&o.push(s);return o}var rL=vhe,Bhe=Object.prototype;function whe(e){var u=e&&e.constructor,t=typeof u=="function"&&u.prototype||Bhe;return e===t}var gp=whe;function bhe(e,u){return function(t){return e(u(t))}}var nL=bhe,xhe=nL,Che=xhe(Object.keys,Object),Dhe=Che,She=gp,Fhe=Dhe,_he=Object.prototype,Ihe=_he.hasOwnProperty;function The(e){if(!She(e))return Fhe(e);var u=[];for(var t in Object(e))Ihe.call(e,t)&&t!="constructor"&&u.push(t);return u}var Phe=The,Ohe=kw,khe=Xw;function Uhe(e){return e!=null&&khe(e.length)&&!Ohe(e)}var yp=Uhe,Qhe=rL,Lhe=Phe,Mhe=yp;function Rhe(e){return Mhe(e)?Qhe(e):Lhe(e)}var Hc=Rhe,Nhe=fs,$he=Hc;function Hhe(e,u){return e&&Nhe(u,$he(u),e)}var jhe=Hhe;function Khe(e){var u=[];
vendor: 4,828 bytes, line 1012
1012if(e!=null)for(var t in Object(e))u.push(t);return u}var Whe=Khe,Vhe=rn,zhe=gp,Ghe=Whe,Yhe=Object.prototype,Xhe=Yhe.hasOwnProperty;function Zhe(e){if(!Vhe(e))return Ghe(e);var u=zhe(e),t=[];for(var r in e)r=="constructor"&&(u||!Xhe.call(e,r))||t.push(r);return t}var qhe=Zhe,Jhe=rL,e3e=qhe,u3e=yp;function t3e(e){return u3e(e)?Jhe(e,!0):e3e(e)}var Jw=t3e,r3e=fs,n3e=Jw;function i3e(e,u){return e&&r3e(u,n3e(u),e)}var E3e=i3e,g1={exports:{}};g1.exports;(function(e,u){var t=g0,r=u&&!u.nodeType&&u,n=r&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===r,E=i?t.Buffer:void 0,o=E?E.allocUnsafe:void 0;function a(s,A){if(A)return s.slice();var c=s.length,l=o?o(c):new s.constructor(c);return s.copy(l),l}e.exports=a})(g1,g1.exports);var o3e=g1.exports;function a3e(e,u){for(var t=-1,r=e==null?0:e.length,n=0,i=[];++t<r;){var E=e[t];u(E,t,e)&&(i[n++]=E)}return i}var s3e=a3e;function A3e(){return[]}var iL=A3e,c3e=s3e,l3e=iL,f3e=Object.prototype,d3e=f3e.propertyIsEnumerable,u8=Object.getOwnPropertySymbols,p3e=u8?function(e){return e==null?[]:(e=Object(e),c3e(u8(e),function(u){return d3e.call(e,u)}))}:l3e,eb=p3e,h3e=fs,m3e=eb;function g3e(e,u){return h3e(e,m3e(e),u)}var y3e=g3e;function v3e(e,u){for(var t=-1,r=u.length,n=e.length;++t<r;)e[n+t]=u[t];return e}var ub=v3e,B3e=nL,w3e=B3e(Object.getPrototypeOf,Object),tb=w3e,b3e=ub,x3e=tb,C3e=eb,D3e=iL,S3e=Object.getOwnPropertySymbols,F3e=S3e?function(e){for(var u=[];e;)b3e(u,C3e(e)),e=x3e(e);return u}:D3e,EL=F3e,_3e=fs,I3e=EL;function T3e(e,u){return _3e(e,I3e(e),u)}var P3e=T3e,O3e=ub,k3e=sr;function U3e(e,u,t){var r=u(e);return k3e(e)?r:O3e(r,t(e))}var oL=U3e,Q3e=oL,L3e=eb,M3e=Hc;function R3e(e){return Q3e(e,M3e,L3e)}var aL=R3e,N3e=oL,$3e=EL,H3e=Jw;function j3e(e){return N3e(e,H3e,$3e)}var sL=j3e,K3e=eo,W3e=g0,V3e=K3e(W3e,"DataView"),z3e=V3e,G3e=eo,Y3e=g0,X3e=G3e(Y3e,"Promise"),Z3e=X3e,q3e=eo,J3e=g0,eme=q3e(J3e,"Set"),ume=eme,Yg=z3e,Xg=Ww,Zg=Z3e,qg=ume,Jg=YU,AL=Es,ds=GU,t8="[object Map]",tme="[object Object]",r8="[object Promise]",n8="[object Set]",i8="[object WeakMap]",E8="[object DataView]",rme=ds(Yg),nme=ds(Xg),ime=ds(Zg),Eme=ds(qg),ome=ds(Jg),tE=AL;(Yg&&tE(new Yg(new ArrayBuffer(1)))!=E8||Xg&&tE(new Xg)!=t8||Zg&&tE(Zg.resolve())!=r8||qg&&tE(new qg)!=n8||Jg&&tE(new Jg)!=i8)&&(tE=function(e){var u=AL(e),t=u==tme?e.constructor:void 0,r=t?ds(t):"";if(r)switch(r){case rme:return E8;case nme:return t8;case ime:return r8;case Eme:return n8;case ome:return i8}return u});var vp=tE,ame=Object.prototype,sme=ame.hasOwnProperty;function Ame(e){var u=e.length,t=new e.constructor(u);return u&&typeof e[0]=="string"&&sme.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var cme=Ame,lme=g0,fme=lme.Uint8Array,cL=fme,o8=cL;function dme(e){var u=new e.constructor(e.byteLength);return new o8(u).set(new o8(e)),u}var rb=dme,pme=rb;function hme(e,u){var t=u?pme(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var mme=hme,gme=/\w*$/;function yme(e){var u=new e.constructor(e.source,gme.exec(e));return u.lastIndex=e.lastIndex,u}var vme=yme,a8=is,s8=a8?a8.prototype:void 0,A8=s8?s8.valueOf:void 0;function Bme(e){return A8?Object(A8.call(e)):{}}var wme=Bme,bme=rb;function xme(e,u){var t=u?bme(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var Cme=xme,Dme=rb,Sme=mme,Fme=vme,_me=wme,Ime=Cme,Tme="[object Boolean]",Pme="[object Date]",Ome="[object Map]",kme="[object Number]",Ume="[object RegExp]",Qme="[object Set]",Lme="[object String]",Mme="[object Symbol]",Rme="[object ArrayBuffer]",Nme="[object DataView]",$me="[object Float32Array]",Hme="[object Float64Array]",jme="[object Int8Array]",Kme="[object Int16Array]",Wme="[object Int32Array]",Vme="[object Uint8Array]",zme="[object Uint8ClampedArray]",Gme="[object Uint16Array]",Yme="[object Uint32Array]";function Xme(e,u,t){var r=e.constructor;switch(u){case Rme:return Dme(e);case Tme:case Pme:return new r(+e);case Nme:return Sme(e,t);case $me:case Hme:case jme:case Kme:case Wme:case Vme:case zme:case Gme:case Yme:return Ime(e,t);case Ome:return new r;case kme:case Lme:return new r(e);case Ume:return Fme(e);case Qme:return new r;case Mme:return _me(e)}}var Zme=Xme,qme=sp,Jme=tb,ege=gp;function uge(e){return typeof e.constructor=="function"&&!ege(e)?qme(Jme(e)):{}}var tge=uge,rge=vp,nge=On,ige="[object Map]";function Ege(e){return nge(e)&&rge(e)==ige}var oge=Ege,age=oge,sge=Zw,c8=qw,l8=c8&&c8.isMap,Age=l8?sge(l8):age,cge=Age,lge=vp,fge=On,dge="[object Set]";function pge(e){return fge(e)&&lge(e)==dge}var hge=pge,mge=hge,gge=Zw,f8=qw,d8=f8&&f8.isSet,yge=d8?gge(d8):mge,vge=yge,Bge=zw,wge=iQ,bge=mp,xge=jhe,Cge=E3e,Dge=o3e,Sge=Mw,Fge=y3e,_ge=P3e,Ige=aL,Tge=sL,Pge=vp,Oge=cme,kge=Zme,Uge=tge,Qge=sr,Lge=Yw,Mge=cge,Rge=rn,Nge=vge,$ge=Hc,Hge=Jw,jge=1,Kge=2,Wge=4,lL="[object Arguments]",Vge="[object Array]",zge="[object Boolean]",Gge="[object Date]",Yge="[object Error]",f
vendor: 5,308 bytes, line 1012
1012L="[object Function]",Xge="[object GeneratorFunction]",Zge="[object Map]",qge="[object Number]",dL="[object Object]",Jge="[object RegExp]",eye="[object Set]",uye="[object String]",tye="[object Symbol]",rye="[object WeakMap]",nye="[object ArrayBuffer]",iye="[object DataView]",Eye="[object Float32Array]",oye="[object Float64Array]",aye="[object Int8Array]",sye="[object Int16Array]",Aye="[object Int32Array]",cye="[object Uint8Array]",lye="[object Uint8ClampedArray]",fye="[object Uint16Array]",dye="[object Uint32Array]",fu={};fu[lL]=fu[Vge]=fu[nye]=fu[iye]=fu[zge]=fu[Gge]=fu[Eye]=fu[oye]=fu[aye]=fu[sye]=fu[Aye]=fu[Zge]=fu[qge]=fu[dL]=fu[Jge]=fu[eye]=fu[uye]=fu[tye]=fu[cye]=fu[lye]=fu[fye]=fu[dye]=!0;fu[Yge]=fu[fL]=fu[rye]=!1;function sd(e,u,t,r,n,i){var E,o=u&jge,a=u&Kge,s=u&Wge;if(t&&(E=n?t(e,r,n,i):t(e)),E!==void 0)return E;if(!Rge(e))return e;var A=Qge(e);if(A){if(E=Oge(e),!o)return Sge(e,E)}else{var c=Pge(e),l=c==fL||c==Xge;if(Lge(e))return Dge(e,o);if(c==dL||c==lL||l&&!n){if(E=a||l?{}:Uge(e),!o)return a?_ge(e,Cge(E,e)):Fge(e,xge(E,e))}else{if(!fu[c])return n?e:{};E=kge(e,c,o)}}i||(i=new Bge);var f=i.get(e);if(f)return f;i.set(e,E),Nge(e)?e.forEach(function(w){E.add(sd(w,u,t,w,e,i))}):Mge(e)&&e.forEach(function(w,m){E.set(m,sd(w,u,t,m,e,i))});var p=s?a?Tge:Ige:a?Hge:$ge,h=A?void 0:p(e);return wge(h||e,function(w,m){h&&(m=w,w=e[m]),bge(E,m,sd(w,u,t,m,e,i))}),E}var pye=sd,hye=sr,mye=$c,gye=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yye=/^\w*$/;function vye(e,u){if(hye(e))return!1;var t=typeof e;return t=="number"||t=="symbol"||t=="boolean"||e==null||mye(e)?!0:yye.test(e)||!gye.test(e)||u!=null&&e in Object(u)}var nb=vye,pL=Vw,Bye="Expected a function";function ib(e,u){if(typeof e!="function"||u!=null&&typeof u!="function")throw new TypeError(Bye);var t=function(){var r=arguments,n=u?u.apply(this,r):r[0],i=t.cache;if(i.has(n))return i.get(n);var E=e.apply(this,r);return t.cache=i.set(n,E)||i,E};return t.cache=new(ib.Cache||pL),t}ib.Cache=pL;var wye=ib,bye=wye,xye=500;function Cye(e){var u=bye(e,function(r){return t.size===xye&&t.clear(),r}),t=u.cache;return u}var Dye=Cye,Sye=Dye,Fye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_ye=/\\(\\)?/g,Iye=Sye(function(e){var u=[];return e.charCodeAt(0)===46&&u.push(""),e.replace(Fye,function(t,r,n,i){u.push(n?i.replace(_ye,"$1"):r||t)}),u}),Tye=Iye,Pye=sr,Oye=nb,kye=Tye,Uye=as;function Qye(e,u){return Pye(e)?e:Oye(e,u)?[e]:kye(Uye(e))}var ps=Qye;function Lye(e){var u=e==null?0:e.length;return u?e[u-1]:void 0}var Mye=Lye,Rye=$c;function Nye(e){if(typeof e=="string"||Rye(e))return e;var u=e+"";return u=="0"&&1/e==-1/0?"-0":u}var hs=Nye,$ye=ps,Hye=hs;function jye(e,u){u=$ye(u,e);for(var t=0,r=u.length;e!=null&&t<r;)e=e[Hye(u[t++])];return t&&t==r?e:void 0}var Bp=jye;function Kye(e,u,t){var r=-1,n=e.length;u<0&&(u=-u>n?0:n+u),t=t>n?n:t,t<0&&(t+=n),n=u>t?0:t-u>>>0,u>>>=0;for(var i=Array(n);++r<n;)i[r]=e[r+u];return i}var hL=Kye,Wye=Bp,Vye=hL;function zye(e,u){return u.length<2?e:Wye(e,Vye(u,0,-1))}var Gye=zye,Yye=ps,Xye=Mye,Zye=Gye,p8=hs,qye=Object.prototype,Jye=qye.hasOwnProperty;function eve(e,u){u=Yye(u,e);var t=-1,r=u.length;if(!r)return!0;for(;++t<r;){var n=p8(u[t]);if(n==="__proto__"&&!Jye.call(e,"__proto__")||(n==="constructor"||n==="prototype")&&t<r-1)return!1}var i=Zye(e,u);return i==null||delete i[p8(Xye(u))]}var mL=eve,uve=Es,tve=tb,rve=On,nve="[object Object]",ive=Function.prototype,Eve=Object.prototype,gL=ive.toString,ove=Eve.hasOwnProperty,ave=gL.call(Object);function sve(e){if(!rve(e)||uve(e)!=nve)return!1;var u=tve(e);if(u===null)return!0;var t=ove.call(u,"constructor")&&u.constructor;return typeof t=="function"&&t instanceof t&&gL.call(t)==ave}var Ave=sve,cve=Ave;function lve(e){return cve(e)?void 0:e}var fve=lve,h8=is,dve=Gw,pve=sr,m8=h8?h8.isConcatSpreadable:void 0;function hve(e){return pve(e)||dve(e)||!!(m8&&e&&e[m8])}var mve=hve,gve=ub,yve=mve;function yL(e,u,t,r,n){var i=-1,E=e.length;for(t||(t=yve),n||(n=[]);++i<E;){var o=e[i];u>0&&t(o)?u>1?yL(o,u-1,t,r,n):gve(n,o):r||(n[n.length]=o)}return n}var vve=yL,Bve=vve;function wve(e){var u=e==null?0:e.length;return u?Bve(e,1):[]}var bve=wve,xve=Uw,g8=Math.max;function Cve(e,u,t){return u=g8(u===void 0?e.length-1:u,0),function(){for(var r=arguments,n=-1,i=g8(r.length-u,0),E=Array(i);++n<i;)E[n]=r[u+n];n=-1;for(var o=Array(u+1);++n<u;)o[n]=r[n];return o[u]=t(E),xve(e,this,o)}}var vL=Cve,Dve=bve,Sve=vL,Fve=Rw;function _ve(e){return Fve(Sve(e,void 0,Dve),e+"")}var BL=_ve,Ive=mQ,Tve=pye,Pve=mL,Ove=ps,kve=fs,Uve=fve,Qve=BL,Lve=sL,Mve=1,Rve=2,Nve=4,$ve=Qve(function(e,u){var t={};if(e==null)return t;var r=!1;u=Ive(u,function(i){return i=Ove(i,e),r||(r=i.length>1),i}),kve(e,Lve(e),t),r&&(t=Tve(t,Mve|Rve|Nve,Uve));for(var n=u.length;n--;)Pve(t,u[n]);return t}),Hve=$ve;const Bze=Iu(Hve);var jve="__lodash_hash_undefined__";function Kve(e){return this.__data__.set(e,jve),this}var Wve=Kve;function Vve(e){return this.__data__.has(e)}var zve=Vve,Gve=Vw,Yve=Wve,Xve=zve;function y1(e){var u=-1,t=e==null?0:e.length;for(this.__data__=new Gve;++u<t;)this.add(e[u])}y1.prototype.add=y1.prototype.push=Yve;y1.prototype.has=Xve;var Zve=y1;function qve(e,u){for(var t=-1,r=e==null?0:e.length;++t<r;)if(u(e[t],t,e))return!0;return!1}var Jve=qve;function eBe(e,u){return e.has(u)}
vendor: 7,178 bytes, lines 1012-1013
1012var uBe=eBe,tBe=Zve,rBe=Jve,nBe=uBe,iBe=1,EBe=2;function oBe(e,u,t,r,n,i){var E=t&iBe,o=e.length,a=u.length;if(o!=a&&!(E&&a>o))return!1;var s=i.get(e),A=i.get(u);if(s&&A)return s==u&&A==e;var c=-1,l=!0,f=t&EBe?new tBe:void 0;for(i.set(e,u),i.set(u,e);++c<o;){var p=e[c],h=u[c];if(r)var w=E?r(h,p,c,u,e,i):r(p,h,c,e,u,i);if(w!==void 0){if(w)continue;l=!1;break}if(f){if(!rBe(u,function(m,g){if(!nBe(f,g)&&(p===m||n(p,m,t,r,i)))return f.push(g)})){l=!1;break}}else if(!(p===h||n(p,h,t,r,i))){l=!1;break}}return i.delete(e),i.delete(u),l}var wL=oBe;function aBe(e){var u=-1,t=Array(e.size);return e.forEach(function(r,n){t[++u]=[n,r]}),t}var sBe=aBe;function ABe(e){var u=-1,t=Array(e.size);return e.forEach(function(r){t[++u]=r}),t}var cBe=ABe,y8=is,v8=cL,lBe=lp,fBe=wL,dBe=sBe,pBe=cBe,hBe=1,mBe=2,gBe="[object Boolean]",yBe="[object Date]",vBe="[object Error]",BBe="[object Map]",wBe="[object Number]",bBe="[object RegExp]",xBe="[object Set]",CBe="[object String]",DBe="[object Symbol]",SBe="[object ArrayBuffer]",FBe="[object DataView]",B8=y8?y8.prototype:void 0,_h=B8?B8.valueOf:void 0;function _Be(e,u,t,r,n,i,E){switch(t){case FBe:if(e.byteLength!=u.byteLength||e.byteOffset!=u.byteOffset)return!1;e=e.buffer,u=u.buffer;case SBe:return!(e.byteLength!=u.byteLength||!i(new v8(e),new v8(u)));case gBe:case yBe:case wBe:return lBe(+e,+u);case vBe:return e.name==u.name&&e.message==u.message;case bBe:case CBe:return e==u+"";case BBe:var o=dBe;case xBe:var a=r&hBe;if(o||(o=pBe),e.size!=u.size&&!a)return!1;var s=E.get(e);if(s)return s==u;r|=mBe,E.set(e,u);var A=fBe(o(e),o(u),r,n,i,E);return E.delete(e),A;case DBe:if(_h)return _h.call(e)==_h.call(u)}return!1}var IBe=_Be,w8=aL,TBe=1,PBe=Object.prototype,OBe=PBe.hasOwnProperty;function kBe(e,u,t,r,n,i){var E=t&TBe,o=w8(e),a=o.length,s=w8(u),A=s.length;if(a!=A&&!E)return!1;for(var c=a;c--;){var l=o[c];if(!(E?l in u:OBe.call(u,l)))return!1}var f=i.get(e),p=i.get(u);if(f&&p)return f==u&&p==e;var h=!0;i.set(e,u),i.set(u,e);for(var w=E;++c<a;){l=o[c];var m=e[l],g=u[l];if(r)var v=E?r(g,m,l,u,e,i):r(m,g,l,e,u,i);if(!(v===void 0?m===g||n(m,g,t,r,i):v)){h=!1;break}w||(w=l=="constructor")}if(h&&!w){var d=e.constructor,y=u.constructor;d!=y&&"constructor"in e&&"constructor"in u&&!(typeof d=="function"&&d instanceof d&&typeof y=="function"&&y instanceof y)&&(h=!1)}return i.delete(e),i.delete(u),h}var UBe=kBe,Ih=zw,QBe=wL,LBe=IBe,MBe=UBe,b8=vp,x8=sr,C8=Yw,RBe=tL,NBe=1,D8="[object Arguments]",S8="[object Array]",Ll="[object Object]",$Be=Object.prototype,F8=$Be.hasOwnProperty;function HBe(e,u,t,r,n,i){var E=x8(e),o=x8(u),a=E?S8:b8(e),s=o?S8:b8(u);a=a==D8?Ll:a,s=s==D8?Ll:s;var A=a==Ll,c=s==Ll,l=a==s;if(l&&C8(e)){if(!C8(u))return!1;E=!0,A=!1}if(l&&!A)return i||(i=new Ih),E||RBe(e)?QBe(e,u,t,r,n,i):LBe(e,u,a,t,r,n,i);if(!(t&NBe)){var f=A&&F8.call(e,"__wrapped__"),p=c&&F8.call(u,"__wrapped__");if(f||p){var h=f?e.value():e,w=p?u.value():u;return i||(i=new Ih),n(h,w,t,r,i)}}return l?(i||(i=new Ih),MBe(e,u,t,r,n,i)):!1}var jBe=HBe,KBe=jBe,_8=On;function bL(e,u,t,r,n){return e===u?!0:e==null||u==null||!_8(e)&&!_8(u)?e!==e&&u!==u:KBe(e,u,t,r,bL,n)}var xL=bL,WBe=zw,VBe=xL,zBe=1,GBe=2;function YBe(e,u,t,r){var n=t.length,i=n,E=!r;if(e==null)return!i;for(e=Object(e);n--;){var o=t[n];if(E&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++n<i;){o=t[n];var a=o[0],s=e[a],A=o[1];if(E&&o[2]){if(s===void 0&&!(a in e))return!1}else{var c=new WBe;if(r)var l=r(s,A,a,e,u,c);if(!(l===void 0?VBe(A,s,zBe|GBe,r,c):l))return!1}}return!0}var XBe=YBe,ZBe=rn;function qBe(e){return e===e&&!ZBe(e)}var CL=qBe,JBe=CL,ewe=Hc;function uwe(e){for(var u=ewe(e),t=u.length;t--;){var r=u[t],n=e[r];u[t]=[r,n,JBe(n)]}return u}var twe=uwe;function rwe(e,u){return function(t){return t==null?!1:t[e]===u&&(u!==void 0||e in Object(t))}}var DL=rwe,nwe=XBe,iwe=twe,Ewe=DL;function owe(e){var u=iwe(e);return u.length==1&&u[0][2]?Ewe(u[0][0],u[0][1]):function(t){return t===e||nwe(t,e,u)}}var awe=owe,swe=Bp;function Awe(e,u,t){var r=e==null?void 0:swe(e,u);return r===void 0?t:r}var SL=Awe;const wze=Iu(SL);function cwe(e,u){return e!=null&&u in Object(e)}var lwe=cwe,fwe=ps,dwe=Gw,pwe=sr,hwe=os,mwe=Xw,gwe=hs;function ywe(e,u,t){u=fwe(u,e);for(var r=-1,n=u.length,i=!1;++r<n;){var E=gwe(u[r]);if(!(i=e!=null&&t(e,E)))break;e=e[E]}return i||++r!=n?i:(n=e==null?0:e.length,!!n&&mwe(n)&&hwe(E,n)&&(pwe(e)||dwe(e)))}var vwe=ywe,Bwe=lwe,wwe=vwe;function bwe(e,u){return e!=null&&wwe(e,u,Bwe)}var FL=bwe,xwe=xL,Cwe=SL,Dwe=FL,Swe=nb,Fwe=CL,_we=DL,Iwe=hs,Twe=1,Pwe=2;function Owe(e,u){return Swe(e)&&Fwe(u)?_we(Iwe(e),u):function(t){var r=Cwe(t,e);return r===void 0&&r===u?Dwe(t,e):xwe(u,r,Twe|Pwe)}}var kwe=Owe;function Uwe(e){return function(u){return u==null?void 0:u[e]}}var Qwe=Uwe,Lwe=Bp;function Mwe(e){return function(u){return Lwe(u,e)}}var Rwe=Mwe,Nwe=Qwe,$we=Rwe,Hwe=nb,jwe=hs;function Kwe(e){return Hwe(e)?Nwe(jwe(e)):$we(e)}var Wwe=Kwe,Vwe=awe,zwe=kwe,Gwe=ap,Ywe=sr,Xwe=Wwe;function Zwe(e){return typeof e=="function"?e:e==null?Gwe:typeof e=="object"?Ywe(e)?zwe(e[0],e[1]):Vwe(e):Xwe(e)}var Eb=Zwe,qwe=ap,Jwe=vL,ebe=Rw;function ube(e,u){return ebe(Jwe(e,u,qwe),e+"")}var tbe=ube,rbe=lp,nbe=yp,ibe=os,Ebe=rn;function obe(e,u,t){if(!Ebe(t))return!1;var r=typeof u;return(r=="number"?nbe(t)&&ibe(u,t.length):r=="string"&&u in t)?rbe(t[u],e):!1}var abe=obe,sbe=tbe,Abe=abe;function cbe(e){return sbe(function(u,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,E=n>2?t[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,E&&Abe(t[0],t[1],E)&&(i=n<3?void 0:i,n=1),u=Object(u);++r<n;){var o=t[r];o&&e(u,o,r,i)}return u})}var lbe=cbe,fbe=mp,dbe=fs,pbe=lbe,hbe=yp,mbe=gp,gbe=Hc,ybe=Object.prototype,vbe=ybe.hasOwnProperty,Bbe=pbe(function(e,u){if(mbe(u)||hbe(u)){dbe(u,gbe(u),e);return}for(var t in u)vbe.call(u,t)&&fbe(e,t,u[t])}),wbe=Bbe;const bze=Iu(wbe);function I8(e,u){(u==null||u>e.length)&&(u=e.length);for(var t=0,r=Array(u);t<u;t++)r[t]=e[t];return r}function bbe(e,u){if(e){if(typeof e=="string")return I8(e,u);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?I8(e,u):void 0}}function xze(e,u){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=bbe(e))||u){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1013In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,E=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var s=t.next();return E=s.done,s},e:function(s){o=!0,i=s},f:function(){try{E||t.return==null||t.return()}finally{if(o)throw i}}}}function xbe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cze(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),u&&p1(e,u)}
1013function v1(e){return v1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)},v1(e)}function _L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_L=function(){return!!e})()}function Cbe(e,u){if(u&&(Ca(u)=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xbe(e)}function Dze(e){var u=_L();return function(){var t,r=v1(e);if(u){var n=v1(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Cbe(this,t)}}function Sze(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function Dbe(e,u){for(var t=0;t<u.length;t++){var r=u[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,OT(r.key),r)}}function Fze(e,u,t){return u&&Dbe(e.prototype,u),Object.defineProperty(e,"prototype",{writable:!1}),e}var Sbe=mp,Fbe=ps,_be=os,T8=rn,Ibe=hs;function Tbe(e,u,t,r){if(!T8(e))return e;u=Fbe(u,e);for(var n=-1,i=u.length,E=i-1,o=e;o!=null&&++n<i;){var a=Ibe(u[n]),s=t;if(a==="__proto__"||a==="constructor"||a==="prototype")return e;if(n!=E){var A=o[a];s=r?r(A,a,o):void 0,s===void 0&&(s=T8(A)?A:_be(u[n+1])?[]:{})}Sbe(o,a,s),o=o[a]}return e}var Pbe=Tbe,Obe=Bp,kbe=Pbe,Ube=ps;function Qbe(e,u,t){for(var r=-1,n=u.length,i={};++r<n;){var E=u[r],o=Obe(e,E);t(o,E)&&kbe(i,Ube(E,e),o)}return i}var Lbe=Qbe,Mbe=Lbe,Rbe=FL;function Nbe(e,u){return Mbe(e,u,function(t,r){return Rbe(e,r)})}var $be=Nbe,Hbe=$be,jbe=BL,Kbe=jbe(function(e,u){return e==null?{}:Hbe(e,u)}),Wbe=Kbe;const _ze=Iu(Wbe);function Ize(e,u){return u||(u=e.slice(0)),e.raw=u,e}function Vbe(e){return e==null}var zbe=Vbe;const Tze=Iu(zbe);function Gbe(e){return e===void 0}var Ybe=Gbe;const Pze=Iu(Ybe);var Xbe=$c;function Zbe(e,u,t){for(var r=-1,n=e.length;++r<n;){var i=e[r],E=u(i);if(E!=null&&(o===void 0?E===E&&!Xbe(E):t(E,o)))var o=E,a=i}return a}var IL=Zbe;function qbe(e,u){return e>u}var Jbe=qbe,e7e=IL,u7e=Jbe,t7e=Eb;function r7e(e,u){return e&&e.length?e7e(e,t7e(u),u7e):void 0}var n7e=r7e;const Oze=Iu(n7e);function i7e(e,u){return e<u}var E7e=i7e,o7e=IL,a7e=Eb,s7e=E7e;function A7e(e,u){return e&&e.length?o7e(e,a7e(u),s7e):void 0}var c7e=A7e;const kze=Iu(c7e);var l7e=mL,f7e=os,d7e=Array.prototype,p7e=d7e.splice;function h7e(e,u){for(var t=e?u.length:0,r=t-1;t--;){var n=u[t];if(t==r||n!==i){var i=n;f7e(n)?p7e.call(e,n,1):l7e(e,n)}}return e}var m7e=h7e,g7e=Eb,y7e=m7e;function v7e(e,u){var t=[];if(!(e&&e.length))return t;var r=-1,n=[],i=e.length;for(u=g7e(u);++r<i;){var E=e[r];u(E,r,e)&&(t.push(E),n.push(r))}return y7e(e,n),t}var B7e=v7e;const Uze=Iu(B7e);var w7e=hL;function b7e(e,u,t){var r=e.length;return t=t===void 0?r:t,!u&&t>=r?e:w7e(e,u,t)}var x7e=b7e,C7e="\\ud800-\\udfff",D7e="\\u0300-\\u036f",S7e="\\ufe20-\\ufe2f",F7e="\\u20d0-\\u20ff",_7e=D7e+S7e+F7e,I7e="\\ufe0e\\ufe0f",T7e="\\u200d",P7e=RegExp("["+T7e+C7e+_7e+I7e+"]");function O7e(e){return P7e.test(e)}var TL=O7e;function k7e(e){return e.split("")}var U7e=k7e,PL="\\ud800-\\udfff",Q7e="\\u0300-\\u036f",L7e="\\ufe20-\\ufe2f",M7e="\\u20d0-\\u20ff",R7e=Q7e+L7e+M7e,N7e="\\ufe0e\\ufe0f",$7e="["+PL+"]",ey="["+R7e+"]",uy="\\ud83c[\\udffb-\\udfff]",H7e="(?:"+ey+"|"+uy+")",OL="[^"+PL+"]",kL="(?:\\ud83c[\\udde6-\\uddff]){2}",UL="[\\ud800-\\udbff][\\udc00-\\udfff]",j7e="\\u200d",QL=H7e+"?",LL="["+N7e+"]?",K7e="(?:"+j7e+"(?:"+[OL,kL,UL].join("|")+")"+LL+QL+")*",W7e=LL+QL+K7e,V7e="(?:"+[OL+ey+"?",ey,kL,UL,$7e].join("|")+")",z7e=RegExp(uy+"(?="+uy+")|"+V7e+W7e,"g");function G7e(e){return e.match(z7e)||[]}var Y7e=G7e,X7e=U7e,Z7e=TL,q7e=Y7e;function J7e(e){return Z7e(e)?q7e(e):X7e(e)}var exe=J7e,uxe=x7e,txe=TL,rxe=exe,nxe=as;function ixe(e){return function(u){u=nxe(u);var t=txe(u)?rxe(u):void 0,r=t?t[0]:u.charAt(0),n=t?uxe(t,1).join(""):u.slice(1);return r[e]()+n}}var Exe=ixe,oxe=Exe,axe=oxe("toUpperCase"),sxe=axe,Axe=as,cxe=sxe;function lxe(e){return cxe(Axe(e).toLowerCase())}var fxe=lxe;const Qze=Iu(fxe);var dxe=sr;function pxe(){if(!arguments.length)return[];var e=arguments[0];return dxe(e)?e:[e]}var hxe=pxe;const Lze=Iu(hxe);var bt=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},zt={searchParams:"URLSearchParams"in bt,iterable:"Symbol"in bt&&"iterator"in Symbol,blob:"FileReader"in bt&&"Blob"in bt&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in bt,arrayBuffer:"ArrayBuffer"in bt};function mxe(e){return e&&DataView.prototype.isPrototypeOf(e)}if(zt.arrayBuffer)var gxe=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array
1013]"],yxe=ArrayBuffer.isView||function(e){return e&&gxe.indexOf(Object.prototype.toString.call(e))>-1};function ms(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ob(e){return typeof e!="string"&&(e=String(e)),e}function ab(e){var u={next:function(){var t=e.shift();return{done:t===void 0,value:t}}};return zt.iterable&&(u[Symbol.iterator]=function(){return u}),u}function at(e){this.map={},e instanceof at?e.forEach(function(u,t){this.append(t,u)},this):Array.isArray(e)?e.forEach(function(u){if(u.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+u.length);this.append(u[0],u[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(u){this.append(u,e[u])},this)}at.prototype.append=function(e,u){e=ms(e),u=ob(u);var t=this.map[e];this.map[e]=t?t+", "+u:u};at.prototype.delete=function(e){delete this.map[ms(e)]};at.prototype.get=function(e){return e=ms(e),this.has(e)?this.map[e]:null};at.prototype.has=function(e){return this.map.hasOwnProperty(ms(e))};at.prototype.set=function(e,u){this.map[ms(e)]=ob(u)};at.prototype.forEach=function(e,u){for(var t in this.map)this.map.hasOwnProperty(t)&&e.call(u,this.map[t],t,this)};at.prototype.keys=function(){var e=[];return this.forEach(function(u,t){e.push(t)}),ab(e)};at.prototype.values=function(){var e=[];return this.forEach(function(u){e.push(u)}),ab(e)};at.prototype.entries=function(){var e=[];return this.forEach(function(u,t){e.push([t,u])}),ab(e)};zt.iterable&&(at.prototype[Symbol.iterator]=at.prototype.entries);function Th(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function ML(e){return new Promise(function(u,t){e.onload=function(){u(e.result)},e.onerror=function(){t(e.error)}})}function vxe(e){var u=new FileReader,t=ML(u);return u.readAsArrayBuffer(e),t}function Bxe(e){var u=new FileReader,t=ML(u),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),n=r?r[1]:"utf-8";return u.readAsText(e,n),t}function wxe(e){for(var u=new Uint8Array(e),t=new Array(u.length),r=0;r<u.length;r++)t[r]=String.fromCharCode(u[r]);return t.join("")}function P8(e){if(e.slice)return e.slice(0);var u=new Uint8Array(e.byteLength);return u.set(new Uint8Array(e)),u.buffer}function RL(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:zt.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:zt.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:zt.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():zt.arrayBuffer&&zt.blob&&mxe(e)?(this._bodyArrayBuffer=P8(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):zt.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||yxe(e))?this._bodyArrayBuffer=P8(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):zt.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},zt.blob&&(this.blob=function(){var e=Th(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Th(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(zt.blob)return this.blob().then(vxe);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=Th(this);if(e)return e;if(this._bodyBlob)return Bxe(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(wxe(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},zt.formData&&(this.formData=function(){return this.text().then(Cxe)}),this.json=function(){return this.text().then(JSON.parse)},this}var bxe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function xxe(e){var u=e.toUpperCase();return bxe.indexOf(u)>-1?u:e}function HE(e,u){if(!(this instanceof HE))throw new TypeError('Please use the "new" operator, this DOM object c
1013onstructor cannot be called as a function.');u=u||{};var t=u.body;if(e instanceof HE){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,u.headers||(this.headers=new at(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!t&&e._bodyInit!=null&&(t=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=u.credentials||this.credentials||"same-origin",(u.headers||!this.headers)&&(this.headers=new at(u.headers)),this.method=xxe(u.method||this.method||"GET"),this.mode=u.mode||this.mode||null,this.signal=u.signal||this.signal||function(){if("AbortController"in bt){var i=new AbortController;return i.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&t)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(t),(this.method==="GET"||this.method==="HEAD")&&(u.cache==="no-store"||u.cache==="no-cache")){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+new Date().getTime());else{var n=/\?/;this.url+=(n.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}HE.prototype.clone=function(){return new HE(this,{body:this._bodyInit})};function Cxe(e){var u=new FormData;return e.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");u.append(decodeURIComponent(n),decodeURIComponent(i))}}),u}function Dxe(e){var u=new at,t=e.replace(/\r?\n[\t ]+/g," ");return t.split("\r").map(function(r){return r.indexOf(`
1014`)===0?r.substr(1,r.length):r}).forEach(function(r){var n=r.split(":"),i=n.shift().trim();if(i){var E=n.join(":").trim();try{u.append(i,E)}catch(o){console.warn("Response "+o.message)}}}),u}RL.call(HE.prototype);function tn(e,u){if(!(this instanceof tn))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(u||(u={}),this.type="default",this.status=u.status===void 0?200:u.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=u.statusText===void 0?"":""+u.statusText,this.headers=new at(u.headers),this.url=u.url||"",this._initBody(e)}RL.call(tn.prototype);tn.prototype.clone=function(){return new tn(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new at(this.headers),url:this.url})};tn.error=function(){var e=new tn(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Sxe=[301,302,303,307,308];tn.redirect=function(e,u){if(Sxe.indexOf(u)===-1)throw new RangeError("Invalid status code");return new tn(null,{status:u,headers:{location:e}})};var aE=bt.DOMException;try{new aE}catch{aE=function(u,t){this.message=u,this.name=t;var r=Error(u);this.stack=r.stack},aE.prototype=Object.create(Error.prototype),aE.prototype.constructor=aE}function NL(e,u){return new Promise(function(t,r){var n=new HE(e,u);if(n.signal&&n.signal.aborted)return r(new aE("Aborted","AbortError"));var i=new XMLHttpRequest;function E(){i.abort()}i.onload=function(){var s={statusText:i.statusText,headers:Dxe(i.getAllResponseHeaders()||"")};n.url.indexOf("file://")===0&&(i.status<200||i.status>599)?s.status=200:s.status=i.status,s.url="responseURL"in i?i.responseURL:s.headers.get("X-Request-URL");var A="response"in i?i.response:i.responseText;setTimeout(function(){t(new tn(A,s))},0)},i.onerror=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){r(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){r(new aE("Aborted","AbortError"))},0)};function o(s){try{return s===""&&bt.location.href?bt.location.href:s}catch{return s}}if(i.open(n.method,o(n.url),!0),n.credentials==="include"?i.withCredentials=!0:n.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(zt.blob?i.responseType="blob":zt.arrayBuffer&&(i.responseType="arraybuffer")),u&&typeof u.headers=="object"&&!(u.headers instanceof at||bt.Headers&&u.headers instanceof bt.Headers)){var a=[];
1014Object.getOwnPropertyNames(u.headers).forEach(function(s){a.push(ms(s)),i.setRequestHeader(s,ob(u.headers[s]))}),n.headers.forEach(function(s,A){a.indexOf(A)===-1&&i.setRequestHeader(A,s)})}else n.headers.forEach(function(s,A){i.setRequestHeader(A,s)});n.signal&&(n.signal.addEventListener("abort",E),i.onreadystatechange=function(){i.readyState===4&&n.signal.removeEventListener("abort",E)}),i.send(typeof n._bodyInit>"u"?null:n._bodyInit)})}NL.polyfill=!0;bt.fetch||(bt.fetch=NL,bt.Headers=at,bt.Request=HE,bt.Response=tn);var sE;(function(e){e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR"})(sE||(sE={}));var Fxe=function(){function e(u){u===void 0&&(u=sE.INFO),this.logLevel=u,this._debug=console.debug,this._info=console.info,this._warn=console.warn,this._error=console.error}return e.prototype.debug=function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];this.logLevel<=sE.DEBUG&&(u.unshift("[DEBUG]"),this._debug.apply(this,Uu([],$e(u),!1)))},e.prototype.info=function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];this.logLevel<=sE.INFO&&(u.unshift("[INFO]"),this._info.apply(this,Uu([],$e(u),!1)))},e.prototype.warn=function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];this.logLevel<=sE.WARN&&(u.unshift("[WARN]"),this._warn.apply(this,Uu([],$e(u),!1)))},e.prototype.error=function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];this.logLevel<=sE.ERROR&&(u.unshift("[ERROR]"),this._error.apply(this,Uu([],$e(u),!1)))},e}(),He=new Fxe(3),_xe=function(e,u){this._driver=e,this.liff=u,this.hooks=this._driver.hooks,this.internalHooks=this._driver.internalHooks},Ixe=function(e,u){this._driver=e,this.liff=u,this.hooks=this._driver.hooks},Txe=function(){function e(u,t){this.pluginCtx=new Ixe(u,t),this.moduleCtx=new _xe(u,t)}return Object.defineProperty(e.prototype,"pluginContext",{get:function(){return this.pluginCtx},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"moduleContext",{get:function(){return this.moduleCtx},enumerable:!1,configurable:!0}),e}(),Pxe=function(){function e(){this.modules=new Map,this.hooks={},this.internalHooks={}}return e.prototype.addModule=function(u,t){this.modules.set(u,t),t.hooks&&(this.hooks[u]=Object.entries(t.hooks).reduce(function(r,n){var i,E=$e(n,2),o=E[0],a=E[1];return hu(hu({},r),((i={})[o]=a.on.bind(a),i))},{})),"internalHooks"in t&&t.internalHooks&&(this.internalHooks[u]=Object.entries(t.internalHooks).reduce(function(r,n){var i,E=$e(n,2),o=E[0],a=E[1];return hu(hu({},r),((i={})[o]=a.on.bind(a),i))},{}))},e.prototype.hasModule=function(u){return this.modules.has(u)},e}(),Te=function(){},O8=function(e){return e instanceof Te},$L=function(e){function u(t,r,n){var i=e.call(this)||this;return i.driver=t,i.contextHolder=r,i.option=n,i}return Pe(u,e),u.prototype.install=function(){return this.factory(this.driver,this.contextHolder)},Object.defineProperty(u.prototype,"name",{get:function(){return"use"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultOption",{get:function(){return{namespacePrefix:"$"}},enumerable:!1,configurable:!0}),u.prototype.factory=function(t,r){var n=Object.assign({},this.defaultOption,this.option).namespacePrefix;return function(i,E){if(!i||typeof i.install!="function"||typeof i.name!="string")return He.warn("To install the plugin, you need to define the `name` property and the `install` method."),this;var o=O8(i)?i.name:"".concat(n).concat(i.name);if(t.hasModule(o))return this;var a=O8(i)?i.install.call(i,r.moduleContext,E):i.install.call(i,r.pluginContext,E);return this["".concat(o)]?(He.warn("There is a duplicate plugin name. `".concat(o,"` plugin namespace will be override.")),this["".concat(o)]=a):a!==void 0&&(this["".concat(o)]=a),t.addModule(o,i),this}},u}(Te),HL,Oxe=new Promise(function(e){HL=e}),it="UNKNOWN",Vu="UNAUTHORIZED",Su="INVALID_ARGUMENT",zu="INIT_FAILED",Ze="FORBIDDEN",Sr="INVALID_CONFIG",kxe="RATE_LIMIT_EXCEEDED",Ln="INVALID_ID_TOKEN",jL="UNSPECIFIED",ty="CREATE_SUBWINDOW_FAILED",B1="EXCEPTION_IN_SUBWINDOW",KL="liffEvent",br="LIFF_STORE",w1="https://liff.".concat("line.me","/"),ry="https://miniapp.".concat("line.me","/"),We={ACCESS_TOKEN:"accessToken",ID_TOKEN:"IDToken",DECODED_ID_TOKEN:"decodedIDToken",FEATURE_TOKEN:"featureToken",LOGIN_TMP:"loginTmp",CONFIG:"
1014config",CONTEXT:"context",EXPIRES:"expires",RAW_CONTEXT:"rawContext",CLIENT_ID:"clientId",IS_SUBSEQUENT_LIFF_APP:"isSubsequentLiffApp",MST_CHALLENGE:"mstChallenge",MSIT:"msit",MST:"mst",MST_VERIFIER:"mstVerifier",APP_DATA:"appData"},k8="isInClient",ny=["context_token","feature_token","access_token","id_token","client_id","mst_verifier","mst_challenge","msit"],Uxe="liff.utm_",Qxe=5,Lxe=["liff.ref.source","liff.ref.medium","liff.ref.campaign","liff.ref.term","liff.ref.content"],Mxe="liff://subwindow",su={INIT:"init",SUBMIT:"submit",CANCEL:"cancel",CLOSE:"close",ERROR:"error"},Rxe=100,WL=100,VL="liff.subwindow",b1="healthCheck",Nxe=["profile","chat_message.write","openid","email"];function U8(e){return window.atob(e.replace(/-/g,"+").replace(/_/g,"/"))}var Ph={decode:U8,encode:function(e){return window.btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},decodeUnicode:function(e){var u=U8(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join("");return decodeURIComponent(u)}};function er(e,u){if(e===u)return 0;for(var t=e.split("."),r=u.split("."),n=Math.max(t.length,r.length),i=0;i<n;i++){t[i]||(t[i]="0"),r[i]||(r[i]="0");var E=parseInt(t[i])-parseInt(r[i]);if(E!==0)return E>0?1:-1}return 0}function Q8(e){var u=e.replace("#","").match(/.{2}/g)||[];if(u.length!==4)return He.warn("convertArgbToRgba: Received invalid ARGB color"),"";var t=function(E){var o=gE(E);return Math.round(o/255*100)/100}(u[0]),r=gE(u[1]),n=gE(u[2]),i=gE(u[3]);return"rgba(".concat(r,", ").concat(n,", ").concat(i,", ").concat(t,")")}function gE(e){return parseInt(e,16)}function L8(e){var u=e.replace("#","").match(/.{2}/g)||[];if(u.length!==3)return He.warn("convertArgbToRgba: Received invalid hex color"),"";var t=gE(u[0]),r=gE(u[1]),n=gE(u[2]);return"".concat(t,", ").concat(r,", ").concat(n)}function M8(e){for(var u=e.length,t=new ArrayBuffer(u),r=new Uint8Array(t),n=0;n<u;n++)r[n]=e.charCodeAt(n);return t}var sb={get:function(e){var u=new RegExp("(?:(?:^|.*;\\s*)".concat(e,"\\s*\\=\\s*([^;]*).*$)|^.*$"));return document.cookie.replace(u,"$1")},set:function(e,u,t){var r=e+"="+u;if(t)for(var n in t){var i=t[n]?"=".concat(t[n]):"";r+="; ".concat(n).concat(i)}He.debug("set cookie",r),document.cookie=r},remove:function(e,u){var t="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT");if(u)for(var r in u)t+="; ".concat(r,"=").concat(u[r]);document.cookie=t}},$xe=new Set(["400","401","403","404","429","500"]),zL=function(e){function u(t,r,n){var i=e.call(this,r,n)||this;return i.code=t,i}return Pe(u,e),u}(Error);function te(e,u,t){return t!=null&&t.cause&&console.error("This is the cause of LiffError described below.",t.cause),new zL(e,u||"",t||{})}function Ab(e){var u=e.match(/([^-]+)-[^-]+/);return u&&u[1]}function Hxe(e){var u="";return e.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ").forEach(function(t){u+=String.fromCharCode(parseInt(t))}),window.btoa(u)}var cb=function(){function e(){this.map={}}return e.prototype.clear=function(){this.map={}},e.prototype.getItem=function(u){var t=this.map[u];return t===void 0?null:t},e.prototype.setItem=function(u,t){this.map[u]=t},e.prototype.removeItem=function(u){delete this.map[u]},e.prototype.key=function(u){var t=Object.keys(this.map)[u];return t===void 0?null:t},Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.map).length},enumerable:!1,configurable:!0}),e}(),Oh,Rt={parse:function(e){return e.replace(/^\?/,"").replace(/^#\/?/,"").split(/&+/).filter(function(u){return u.length>0}).reduce(function(u,t){var r=$e(t.split("=").map(decodeURIComponent),2),n=r[0],i=r[1],E=u[n];return Array.isArray(E)?E.push(i):Object.prototype.hasOwnProperty.call(u,n)?u[n]=[E,i]:u[n]=i,u},{})},stringify:function(e){return Object.keys(e).map(function(u){var t=e[u],r=function(n){return n!==void 0?"".concat(encodeURIComponent(u),"=").concat(encodeURIComponent(n)):encodeURIComponent(u)};return Array.isArray(t)?t.map(function(n){return r(n)}).join("&"):r(t)}).join("&")}},jxe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function Kxe(){return window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296}function Ua(e){for(var u="",t=0;t<e;t++)u+=jxe[Math.floor(62*Kxe())];return u}function GL(e){var u=new URL(e),t=u.hash.slice(1).split("&").filter(function(r){return!ny.some(function(n){return r.startsWith("".concat(n,"="))})}).join("&");return u.hash=t,u.toString()}function Wxe(e){var u=new URL(e);return u.toString().replace(new RegExp(String.raw(R8||(R8=HW(["^",""],["^",""])),u.origin)),"")}function Vxe(e){var u=new URL(e);
1014return Array.from(u.searchParams.keys()).forEach(function(t){t.startsWith(Uxe)&&u.searchParams.delete(t)}),u.toString()}var zxe=function(e){var u=Vxe(GL(e));if(u!==e){var t=Wxe(u);window.history.replaceState(history.state,"",t)}};function Ac(e,u){if(!e)throw new Error("addParamsToUrl: invalid URL");var t=new URL(e);return Object.entries(u).forEach(function(r){var n=$e(r,2),i=n[0],E=n[1];t.searchParams.set(i,E)}),t.toString()}var R8,N8=((Oh={})[w1]=function(){var e=$8(w1);return new RegExp("^".concat(e,"(\\d+-\\w+)"))},Oh[ry]=function(){var e=$8(ry);return new RegExp("^".concat(e,"((\\d+-\\w+)|(\\w+$))"))},Oh);function lb(e){for(var u in N8){var t=e.match(N8[u]());if(t)return t[1]}return null}function $8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gxe(e){var u=e.match(/^(https?:\/\/.*?)\//);return u&&u[1]||""}function iy(e){return e.startsWith("line:")}function fb(e){return e===void 0&&(e=window.navigator.userAgent),/ipad/.test(e.toLowerCase())}function YL(e){return e===void 0&&(e=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+/.test(e)}function XL(e){return e===void 0&&(e=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+ LIFF/.test(e)}function Yxe(e){return e===void 0&&(e=window.navigator.userAgent),/LIFF\/SubWindow/.test(e)}var db=function(){return typeof window>"u"},Ml=null;function Ye(){return Ml===null&&(Ml=XL()||YL()&&/[#|&]access_token=/.test(location.hash)||sessionStorage.getItem("".concat(br,":").concat(k8))==="1",sessionStorage.setItem("".concat(br,":").concat(k8),Ml?"1":"0")),!!Ml}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"isInClient"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return Ye()}},u})(Te);function _u(){var e;return(e=window.__liffConfig)!==null&&e!==void 0?e:{}}function Xxe(e){window.__liffConfig=e}function Zxe(e,u){if(!u)throw te(Sr,"liffId is necessary for liff.init()");var t=(Ye()?sessionStorage:localStorage).getItem("".concat(br,":").concat(u,":").concat(e));try{return t===null?null:JSON.parse(t)}catch{return null}}function y0(e){return Zxe(e,_u().liffId)}function M0(e,u){var t=_u().liffId;if(!t)throw te(Sr,"liffId is necessary for liff.init()");(Ye()?sessionStorage:localStorage).setItem("".concat(br,":").concat(t,":").concat(e),JSON.stringify(u))}function ut(){return y0(We.CONTEXT)}function pb(e){M0(We.CONTEXT,e)}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getContext"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return ut()}},u})(Te);function ZL(){return((ut()||{}).d||{}).aId}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getAId"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return ZL()}},u})(Te);function qL(){return((ut()||{}).d||{}).autoplay||!1}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getIsVideoAutoPlay"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return qL()}},u})(Te);function JL(){return(ut()||{}).profilePlus}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getProfilePlus"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return JL()}},u})(Te);function qxe(){return!!y0(We.IS_SUBSEQUENT_LIFF_APP)}function Jxe(e){M0(We.IS_SUBSEQUENT_LIFF_APP,e)}function e9e(){return y0(We.APP_DATA)}function Ey(e){M0(We.APP_DATA,e)}function u9e(){return y0(We.MST_VERIFIER)}function t9e(e){M0(We.MST_VERIFIER,e)}function r9e(){return y0(We.MSIT)}function n9e(e){M0(We.MSIT,e)}function wp(){return y0(We.MST)}function i9e(e){M0(We.MST,e)}function eM(){return y0(We.MST_CHALLENGE)}function E9e(e){M0(We.MST_CHALLENGE,e)}function uM(){return y0(We.CLIENT_ID)}function tM(e){M0(We.CLIENT_ID,e)}function o9e(){return y0(We.RAW_CONTEXT)}function jc(){return y0(We.FEATURE_TOKEN)}function H8(e){M0(We.FEATURE_TOKEN,e)}function bp(){return y0(We.ID_TOKEN)}function hb(e){M0(We.ID_TOKEN,e)}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getIDToken"}
1014,enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return bp()}},u})(Te);function Fr(){return y0(We.ACCESS_TOKEN)}function mb(e){M0(We.ACCESS_TOKEN,e)}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getAccessToken"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return Fr()}},u})(Te);function rM(e){var u=_u().liffId;if(!u)throw te(Sr,"liffId is necessary for liff.init()");(Ye()?sessionStorage:localStorage).removeItem("".concat(br,":").concat(u,":").concat(e))}function nM(){return y0(We.LOGIN_TMP)}function a9e(e){M0(We.LOGIN_TMP,e)}function j8(){rM(We.LOGIN_TMP)}function iM(e){var u=_u();sb.set("".concat(br,":").concat(We.EXPIRES,":").concat(u.liffId),e.getTime(),{expires:e.toUTCString(),path:"/",secure:null})}function s9e(){var e=_u();return sb.get("".concat(br,":").concat(We.EXPIRES,":").concat(e.liffId))}function A9e(){var e=_u();sb.remove("".concat(br,":").concat(We.EXPIRES,":").concat(e.liffId),{path:"/"})}function xp(){return y0(We.DECODED_ID_TOKEN)}function gb(e){M0(We.DECODED_ID_TOKEN,e)}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getDecodedIDToken"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return xp()}},u})(Te);function c9e(){Object.keys(We).forEach(function(e){rM(We[e])}),A9e()}function lt(){return!!Fr()}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"isLoggedIn"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return lt()}},u})(Te);function Cp(){return"2.29.0"}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getVersion"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return"2.29.0"}},u})(Te);function nn(){var e=navigator.userAgent.match(/Line\/\d+(\.\d+)*/i);return e?e[0].slice(5):null}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getLineVersion"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return nn()}},u})(Te);var l9e=function(){function e(){}return e.prototype.invoke=function(){return Yxe()},e}(),f9e=function(){function e(u){this.storage=u}return Object.defineProperty(e,"IN_SUB_WINDOW_KEY",{get:function(){return"inSubWindow"},enumerable:!1,configurable:!0}),e.prototype.invoke=function(){return new URLSearchParams(window.location.search).has(VL)&&this.setInSubWindow(!0),!(!this.getInSubWindow()&&!this.getSubWindowIdentifier())},e.prototype.getInSubWindow=function(){var u=this.storage.getItem("".concat(br,":").concat(this.getLiffId(),":").concat(e.IN_SUB_WINDOW_KEY));return u!==null&&JSON.parse(u)},e.prototype.getSubWindowIdentifier=function(){var u,t,r="liff.subwindow.identifier",n=new URLSearchParams(window.location.search);return n.get(r)||(u=r,(t=n.get("liff.state"))?new URLSearchParams(t).get(u):null)||null},e.prototype.setInSubWindow=function(u){this.storage.setItem("".concat(br,":").concat(this.getLiffId(),":").concat(e.IN_SUB_WINDOW_KEY),String(u))},e.prototype.getLiffId=function(){var u=_u().liffId;if(!u)throw te(Sr,"liffId is necessary for liff.init()");return u},e}(),d9e=function(e){function u(){var t=e.call(this)||this;return db()?t.impl={invoke:function(){return!1}}:Ye()?t.impl=new l9e:t.impl=new f9e(window.sessionStorage),t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"isSubWindow"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return this.impl.invoke.bind(this.impl)},u}(Te),EM=new d9e,Hr=EM.install(),kh;function $t(){if(!kh){var e=window.navigator.userAgent.toLowerCase();kh=/iphone|ipad|ipod/.test(e)?"ios":/android/.test(e)?"android":"web"}return kh}(function(e){function u(){return e.call(this)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getOS"}
1014,enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return $t()}},u})(Te);function oM(e){var u,t=ut();return(u=t==null?void 0:t.availability)===null||u===void 0?void 0:u[e]}function E0(e,u,t){var r=oM(e),n=t||e;if(!r)return{available:!1,error:{code:Ze,message:"".concat(n," is not allowed in this LIFF app")}};var i=r.minVer,E=r.unsupportedFromVer,o=!i||function(s,A){var c=nn();return!!c&&!(A&&er(c,A)>0)&&er(c,s)>=0}(i,E),a=Ye();return a&&!o?{available:!1,error:{code:Ze,message:"".concat(n," is unavailable in this client version.")}}:r.permission?a&&o||u?{available:!0}:{available:!1,error:{code:Ze,message:"".concat(n," is not allowed in external browser")}}:{available:!1,error:{code:Ze,message:"".concat(n," is not allowed in this LIFF app")}}}var Uh=function(){return lt()?!XL()&&YL()?{available:!1,error:{code:Ze,message:"Subwindow is not supported in this browser"}}:Hr()?{available:!1,error:{code:Ze,message:"this api can be only called in parent window"}}:E0("subwindowOpen",!0):{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}}},p9e=["subwindowOpen","shareTargetPicker","multipleLiffTransition","scanCode","scanCodeV2","getAdvertisingId","addToHomeScreen","bluetoothLeFunction","skipChannelVerificationScreen","createShortcutOnHomeScreen","internalCreateShortcutOnHomeScreen","iap","requestFriendship","activityGetCallState","activityGetRecordingState"],It={scanCode:function(){return E0("scanCode")},getAdvertisingId:function(){return E0("getAdvertisingId")},bluetoothLeFunction:function(){return E0("bluetoothLeFunction")},shareTargetPicker:function(){return Hr()?{available:!1,error:{code:Ze,message:"this api can be only called 
1014in parent window"}}:lt()?E0("shareTargetPicker",!0):{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}}},multipleLiffTransition:function(){var e=oM("multipleLiffTransition");return e&&e.permission?Ye()?{available:!0}:{available:!1,error:{code:Ze,message:"multipleLiffTransition is available only in the LINE App browser"}}:{available:!1,error:{code:Ze,message:"multipleLiffTransition is not allowed in this LIFF app"}}},subwindowOpen:Uh,scanCodeV2:function(){if(!lt())return{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}};var e=Uh();return e.available?E0("scanCodeV2",!0):e},addToHomeScreen:function(){return Hr()?{available:!1,error:{code:Ze,message:"this api can be only called in parent window"}}:E0("addToHomeScreen")},skipChannelVerificationScreen:function(){var e=ut();return e?e.type==="square_chat"?{available:!1,error:{code:Ze,message:"skipChannelVerificationScreen is not allowed in OpenChat"}}:E0("skipChannelVerificationScreen"):{available:!1,error:{code:Ze,message:"Context is not found"}}},createShortcutOnHomeScreen:function(){if(Hr())return{available:!1,error:{code:Ze,message:"this api can be only called 
1014in parent window"}};if(!lt())return{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}};var e=$t();return e!=="android"&&e!=="ios"?{available:!1,error:{code:Ze,message:"this api can be only called in mobile device"}}:E0("addToHomeV2",!0,"createShortcutOnHomeScreen")},internalCreateShortcutOnHomeScreen:function(){if(Hr())return{available:!1,error:{code:Ze,message:"this api can be only called in parent window"}};if(!lt())return{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}};var e=$t();if(e!=="android"&&e!=="ios")return{available:!1,error:{code:Ze,message:"this api can be only called in mobile device"}};var u=E0("addToHomeV2",!0,"internalCreateShortcutOnHomeScreen");return u.available?E0("addToHomeLineScheme",!0,"internalCreateShortcutOnHomeScreen"):u},iap:function(){return Ye()?lt()?Hr()?{available:!1,error:{code:Ze,message:"this api can be only called in parent window"}}:E0("iap",!1,"In-App Purchase"):{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}}:{available:!1,error:{code:Ze,message:"In-App Purchase is not allowed in external browser"}}},requestFriendship:function(){if(!lt())return{available:!1,error:{code:Vu,message:"Need access_token for api call, Please login first"}};var e=ut();return e!=null&&e.hasLinkedBot?Uh():{available:!1,error:{code:Ze,message:"requestFriendship requires a linked Official Account (bot) for this LIFF app"}}},activityGetCallState:function(){return E0("activityGetCallState",!1,"liff.activity.getCallState")},activityGetRecordingState:function(){return E0("activityGetRecordingState",!1,"liff.activity.getRecordingState")}},jt=function(e){return function(){var u=e();if(!u.available)throw te(u.error.code,u.error.message)}},ur={scanCode:jt(It.scanCode),getAdvertisingId:jt(It.getAdvertisingId),bluetoothLeFunction:jt(It.bluetoothLeFunction),shareTargetPicker:jt(It.shareTargetPicker),multipleLiffTransition:jt(It.multipleLiffTransition),subwindowOpen:jt(It.subwindowOpen),scanCodeV2:jt(It.scanCodeV2),addToHomeScreen:jt(It.addToHomeScreen),skipChannelVerificationScreen:jt(It.skipChannelVerificationScreen),createShortcutOnHomeScreen:jt(It.createShortcutOnHomeScreen),internalCreateShortcutOnHomeScreen:jt(It.internalCreateShortcutOnHomeScreen),iap:jt(It.iap),requestFriendship:jt(It.requestFriendship),activityGetCallState:jt(It.activityGetCallState),activityGetRecordingState:jt(It.activityGetRecordingState)};function Kc(e){if(!function(t){return p9e.some(function(r){return r===t})}(e))throw te(Su,"Unexpected API name.");var u=It[e];return!u||u().available}(function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.hooks={},t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"isApiAvailable"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(t){return Kc(t)}},u})(Te);var h9e=function(){function e(){}return e.prototype.invoke=function(u){var t=ur[u];return!!t&&(t(),!0)},e}(),m9e=function(){function e(u){this.liff=u}return e.prototype.invoke=function(u){return this.liff.checkFeature(u)},e}(),Qh=function(){function e(u){er(Cp(),e.SDK_VERSION_SUPPORTING_NEW)>=0?this.impl=new h9e:this.impl=new m9e(u)}return Object.defineProperty(e,"SDK_VERSION_SUPPORTING_NEW",{get:function(){return"2.11.0"},enumerable:!1,configurable:!0}),e.prototype.invoke=function(u){return this.impl.invoke(u)},e}(),oy=function(e,u){return oy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},oy(e,u)};function g9e(e,u,t,r){return new(t||(t=Promise))(function(n,i){function E(s){try{a(r.next(s))}catch(A){i(A)}}function o(s){try{a(r.throw(s))}catch(A){i(A)}}function a(s){var A;s.done?n(s.value):(A=s.value,A instanceof t?A:new t(function(c){c(A)})).then(E,o)}a((r=r.apply(e,[])).next())})}function y9e(e,u){var t,r,n,i,E={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(s){return function(A){if(t)throw new TypeError("Generator is already executing.");for(;E;)try{if(t=1,r&&(n=2&A[0]?r.return:A[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,A[1])).done)return n;switch(r=0,n&&(A=[2&A[0],n.value]),A[0]){case 0:case 1:n=A;break;case 4:return E.label++,{value:A[1],done:!1};case 5:E.label++,r=A[1],A=[0];continue;case 7:A=E.ops.pop(),E.trys.pop();continue;default:if(n=E.trys,!((n=n.length>0&&n[n.length-1])||A[0]!==6&&A[0]!==2)){E=0;continue}if(A[0]===3&&(!n||A[1]>n[0]&&A[1]<n[3])){E.label=A[1];break}if(A[0]===6&&E.label<n[1]){E.label=n[1],n=A;break}if(n&&E.label<n[2]){E.label=n[2],E.ops.push(A);break}n[2]&&E.ops.pop(),E.trys.pop();continue}A=u.call(e,E)}catch(c){A=[6,c],r=0}finally{t=n=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([a,s])}}}var aM=!1,v9e=function(){return aM},B9e=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}
1014oy(t,r),t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"_legacyExtensionsEnabled"},enumerable:!1,configurable:!0}),u.prototype.install=function(){aM=!0},u}(Te);function w9e(){var e;return $t()==="ios"?(e=nn())&&er(e,"9.19.0")<0?"https://static.line-scdn.net/liff/edge/2/ios-918-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/ios-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/non-ios-extensions_2_22_0.js"}function b9e(){return v9e()?function(){return g9e(this,void 0,void 0,function(){return y9e(this,function(e){switch(e.label){case 0:return[3,2];case 1:return[2,e.sent().default];case 2:return[2,new Promise(function(u,t){var r=document.createElement("script"),n=w9e();r.onload=function(){var i=window.liffClientExtension;i?u(i):t(te(zu,"Unable to load client features. (Extension is empty)"))},r.onerror=function(i){t(te(zu,"Unable to load client features.",{cause:i}))},r.src=n,r.type="text/javascript",document.body.appendChild(r)})]}})})}():Promise.resolve(void 0)}function yb(){c9e()}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"logout"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return yb()}},u})(Te);var x9e=/([\x90\x9D\x81\x8D\x8F<"{|}>\\^`“›„•‚ŽŠ…’—ž–‘”‡™‰ŒšŸ‹œ†¥¿©áÄýÍÎðô]|\n|.*#.*#|%(?![0-9A-Fa-f]{2})[^%]{0,2})/,sM=function(e){if(x9e.test(e))throw te(Su,"invalid URL.");var u=new URL(e),t=u.username,r=u.password,n=u.hash,i=u.search;return{username:t,password:r,pathname:u.pathname,hash:n,origin:u.origin,search:i}},K8=function(e){return e.substring(1).split("&").filter(function(u){return!/^liff\./.test(u)&&!!u})},W8=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(u){return"%"+u.charCodeAt(0).toString(16).toUpperCase()})},C9e=function(e,u){var t=function(r,n){for(var i=Uu([],$e(r),!1),E=0;E<n.length;E++){var o=n[E],a=i.indexOf(o);a>-1&&i.splice(a,1)}return i}(function(r){var n,i,E=r.replace(/\+/g,"%2B"),o=new URLSearchParams(E),a=[];try{for(var s=Ic(o.entries()),A=s.next();!A.done;A=s.next()){var c=$e(A.value,2),l=c[0],f=c[1];a.push("".concat(W8(l),"=").concat(W8(f)))}}catch(h){n={error:h}}finally{try{A&&!A.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}if(a.length===0)return[""];var p=r.split("&");return a.map(function(h,w){return h.endsWith("=")&&!p[w].endsWith("=")?h.slice(0,-1):h})}(K8(e).join("&")),K8(u)).join("&");return t!==""?"?".concat(t):""},AM=function(e,u){return u.indexOf(e)===0&&(e.endsWith("/")&&(e=e.substring(0,e.length-1)),u[e.length]===void 0||u[e.length]==="/")},vb=function(e,u){var t=sM(e),r=new URL(u);if(t.username!==r.username||t.password!==r.password||r.origin!==t.origin||!AM(r.pathname,t.pathname))throw te(Su,"invalid URL.")},D9e=function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.extraParams="",t.getAndValidateContext=function(){var r=ut();if(!r)throw te(zu,"Could not get Context from server.");if(!r.endpointUrl)throw te(zu,"Could not get endpointUrl from server.");if(!r.permanentLinkPattern)throw te(zu,"Could not get permanentLinkPattern from server.");return r},t.createUrl=function(){var r=t.getAndValidateContext(),n=window.location,i=n.pathname,E=n.search,o=n.hash,a=n.origin,s=new URL(r.endpointUrl);if(s.origin!==a||!AM(s.pathname,i))throw te(Sr,"Current page is not under entrypoint.");var A=i.substring(s.pathname.length);A.length>0&&A[0]!=="/"&&(A="/"+A);var c=new RegExp("^".concat(ny.join("|"))),l=o.substring(1).split("&").filter(function(b){return!c.test(b)&&!!b}).join("&"),f=l===s.hash.substring(1)?"":l,p=function(b){return b.substring(1).split("&").filter(function(C){return!/liff\.state/.test(C)&&!!C})},h=p(E),w=p(s.search);t.extraParams&&h.push(t.extraParams);for(var m=0;m<w.length;m++){var g=w[m],v=h.indexOf(g);v>-1&&h.splice(v,1)}var d=h.join("&"),y="".concat(A).concat(d!==""?"?".concat(d):"").concat(f?"#".concat(f):"");
1014return"".concat(w1).concat(_u().liffId).concat(y)},t.createUrlBy=function(r){return ae(t,void 0,void 0,function(){var n,i,E,o,a,s;return se(this,function(A){if(!(n=_u().liffId))throw te(zu,"Should run after liff init.");return i=this.getAndValidateContext(),vb(r,i.endpointUrl),E=sM(r),o=new URL(i.endpointUrl),a=i.miniDomainAllowed?ry:w1,s=i.miniDomainAllowed&&i.miniAppId?i.miniAppId:n,[2,a.concat(s,(p=E.pathname,h=o.pathname,w=p.substring(h.length),w==="/"?"":(w.length>0&&w[0]!=="/"&&(w="/"+w),w)),C9e(E.search,o.search),(c=E.hash,l=new RegExp("^".concat(ny.join("|"))),f=c.substring(1).split("&").filter(function(m){return!l.test(m)&&!!m}).join("&"),f?"#".concat(f):""))];var c,l,f,p,h,w})})},t.setExtraQueryParam=function(r){t.extraParams=r},t.install=function(){return{createUrl:t.createUrl,createUrlBy:t.createUrlBy,setExtraQueryParam:t.setExtraQueryParam}},t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"permanentLink"},enumerable:!1,configurable:!0}),u}(Te),S9e=new D9e;function F9e(e){return ae(this,void 0,void 0,function(){var u,t,r;return se(this,function(n){switch(n.label){case 0:if(!e.ok)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.json()];case 2:return[2,n.sent()];case 3:return n.sent(),[2,e];case 4:return u=String(e.status),t=$xe.has(u)?u:it,[4,e.json().catch(function(){throw te(t,e.statusText)})];case 5:throw r=n.sent(),te(r.error||r.errorCode||t,r.error_description||r.message)}})})}function cM(e){var u=function(t){if(t)return t;var r=Fr();if(!r)throw te(Vu,"Need access_token for api call, Please login first");return{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(r)}}(e&&e.headers);return hu(hu({},e),{headers:u})}function Zu(e,u){var t;try{t=cM(u)}catch(r){return Promise.reject(r)}return fetch(e,t).then(F9e)}function lM(e,u){var t;try{t=cM(u)}catch(r){return Promise.reject(r)}return fetch(e,t)}function Pu(e){var u=e.subdomain,t=u===void 0?"api":u,r=e.pathname;return"https://".concat(t,".").concat("line.me","/").concat(r)}var _9e={token:Pu({pathname:"oauth2/v2.1/token"}),certs:Pu({pathname:"oauth2/v2.1/certs"}),"openid-configuration":Pu({subdomain:"access",pathname:".well-known/openid-configuration"}),authorize:Pu({subdomain:"access",pathname:"liff/v1/authorize"}),profile:Pu({pathname:"v2/profile"}),message:Pu({pathname:"message/v3/share"}),friendship:Pu({pathname:"friendship/v1/status"}),shareTargetPicker:Pu({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker"}),shareTargetPickerOtt:Pu({pathname:"liff/v2/apps"}),shareTargetPickerResult:Pu({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker/result"}),apps:Pu({pathname:"liff/v2/apps"}),subWindowGetMSIT:Pu({pathname:"liff/v2/sub/msit"}),subWindowGetMSTByMSIT:Pu({pathname:"liff/v2/sub/mst"}),subWindowSubscribe:Pu({subdomain:"liff",pathname:"liff/v2/sub/waitResult"}),subWindowPost:Pu({pathname:"liff/v2/sub/result"}),subWindowGetAppData:Pu({pathname:"liff/v2/sub/appData"}),subWindowGetOrigin:function(e){return Pu({pathname:"liff/v2/sub/".concat(e,"/origin")})},accessTokenVerify:Pu({pathname:"oauth2/v2.1/verify"}),unauthorizedPermissions:Pu({subdomain:"liff",pathname:"liff/v2/incrementalAgreement/unauthorizedPermissions"}),permanentLink:Pu({subdomain:"liff",pathname:"liff/v2/permanentLink"}),createShortcutOnHomeScreen:Pu({subdomain:"liff-shortcut",pathname:"api/shortcut"}),iapVirtualConfirm:Pu({pathname:"iap/v1/product/virtualConfirm"}),oaAddFriendRateLimit:Pu({subdomain:"liff",pathname:"liff/v2/oaadd/rateLimit"})};function Du(e){return _9e[e]}function Bb(e){return Zu("".concat(Du("accessTokenVerify"),"?access_token=").concat(encodeURIComponent(e)),{headers:{"Content-Type":"application/json",Accept:"application/json"}})}var x1="liff.subwindow.identifier",ay="liff.subwindow.cryptokey",Ad=hu(hu({},su),{GET_DATA:"getData",SET_DATA:"setData",NOT_FOUND:"notFound",TEARDOWN:"teardown"}),C1={BROADCAST:"broadcast",COMMAND:"command"},DA={MAIN:"main",SUB:"sub"},Dp="AES-GCM",fM=function(e){return ae(void 0,void 0,void 0,function(){var u;return se(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,window.crypto.subtle.importKey("jwk",{kty:"oct",k:e,alg:"A128GCM",ext:!0},{name:Dp},!1,["encrypt","decrypt"])];case 1:return[2,t.sent()];case 2:throw u=t.sent(),te(it,u);case 3:return[2]}})})},I9e=function(e,u,t){return ae(void 0,void 0,void 0,function(){var r,n,i,E;return se(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),r=new TextEncoder().encode(e),[4,fM(u)];case 1:return n=o.sent(),[4,window.crypto.subtle.encrypt({name:Dp,iv:r},n,new TextEncoder().encode(t))];case 2:return i=o.sent(),[2,btoa(new Uint8Array(i).reduce(function(a,s){return a+String.fromCharCode(s)},""))];case 3:throw E=o.sent(),te(it,E);case 4:return[2]}})})},T9e=function(e,u,t){return ae(void 0,void 0,void 0,function(){var r,n,i,E,o,a,s;return se(this,function(A){switch(A.label){case 0:return A.trys.push([0,3,,4]),r=new TextEncoder().encode(e),[4,fM(u)];case 1:for(n=A.sent(),i=atob(t),E=new Uint8Array(i.length),o=0;o<i.length;o++)E[o]=i.charCodeAt(o);
1014return[4,window.crypto.subtle.decrypt({name:Dp,iv:r},n,E.buffer)];case 2:return a=A.sent(),[2,new TextDecoder().decode(new Uint8Array(a))];case 3:throw s=A.sent(),te(it,s);case 4:return[2]}})})},P9e=function(e,u){return SA(e)===SA(u)},SA=function(e){return"".concat(e.identifier,"-").concat(e.action,"-").concat(e.timestamp)},O9e=function(e){return Object.keys(su).map(function(u){return su[u]}).includes(e)?C1.BROADCAST:C1.COMMAND};function k9e(){var e=document.createElement("form");e.method="POST",e.action="$MESSAGE_HANDLER_URL";var u=document.createElement("input");u.type="hidden",u.name="identifier",u.value="$IDENTIFIER",e.appendChild(u),document.body.appendChild(e),e.submit()}var U9e=function(e){e===void 0&&(e=DA.MAIN);var u=this;this.identification={identifier:"",cryptoKey:""},this.messageHandlerInstance=null,this.listeners=new Map,this.sentMessages=[],this.generateIdentification=function(){return ae(u,void 0,void 0,function(){var t,r,n,i,E;return se(this,function(o){switch(o.label){case 0:return t=new URLSearchParams(window.location.search),r=function(a){var s=t.get("liff.state");return s?new URLSearchParams(s).get(a):null},n=this,E={identifier:this.windowType===DA.MAIN?Ua(12):t.get(x1)||r(x1)||""},this.windowType!==DA.MAIN?[3,2]:[4,ae(void 0,void 0,void 0,function(){var a,s,A;return se(this,function(c){switch(c.label){case 0:return c.trys.push([0,3,,4]),[4,window.crypto.subtle.generateKey({name:Dp,length:128},!0,["encrypt","decrypt"])];case 1:return a=c.sent(),[4,window.crypto.subtle.exportKey("jwk",a)];case 2:if(!(s=c.sent())||!s.k)throw te(it,"failed to generate key");
1014return[2,s.k];case 3:throw A=c.sent(),te(it,A);case 4:return[2]}})})];case 1:return i=o.sent(),[3,3];case 2:i=t.get(ay)||r(ay)||"",o.label=3;case 3:return n.identification=(E.cryptoKey=i,E),[2]}})})},this.hasIdentification=function(){var t=u.identification,r=t.identifier,n=t.cryptoKey;return typeof r=="string"&&typeof n=="string"&&r.length>0&&n.length>0},this.isReady=function(){return u.hasIdentification()&&!!u.messageHandlerInstance},this.setup=function(){return ae(u,void 0,void 0,function(){var t,r,n,i,E,o=this;return se(this,function(a){switch(a.label){case 0:return this.messageHandlerInstance?[2]:[4,this.generateIdentification()];case 1:if(a.sent(),!(t=this.identification.identifier))return[2];if(r=/^[a-zA-Z0-9]+$/gm,!t.match(r))throw te(it,"Invalid identifier");return(n=document.createElement("iframe")).style.display="none",n.src="about:blank",document.body.appendChild(n),(E=n==null?void 0:n.contentWindow)===null||E===void 0||E.window.eval("(".concat(k9e.toString().replace("$MESSAGE_HANDLER_URL","".concat("https://liff-subwindow.line.me/liff/v2/sub/messageHandler")).replace("$IDENTIFIER",t.split("'")[0]),")()")),i="iframe-".concat(t,"-ready"),[4,new Promise(function(s){var A=function(c){c.data[i]&&(o.messageHandlerInstance=n,window.addEventListener("message",o.proxyToListeners),s(),document.removeEventListener("message",A))};window.addEventListener("message",A)})];case 2:return[2,a.sent()]}})})},this.teardown=function(){return ae(u,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:return this.isReady()?[4,this.send({eventName:Ad.TEARDOWN})]:[3,2];case 1:n.sent(),window.removeEventListener("message",this.proxyToListeners),this.listeners.clear(),(r=(t=this.messageHandlerInstance)===null||t===void 0?void 0:t.parentNode)===null||r===void 0||r.removeChild(this.messageHandlerInstance),this.messageHandlerInstance=null,n.label=2;case 2:return[2]}})})},this.listen=function(t){u.listeners.set(t,t)},this.listenRepliedEvent=function(t,r){var n=function(i){i.replyTarget&&P9e(i.replyTarget,t)&&(r(i),u.listeners.delete(n))};u.listeners.set(n,n)},this.send=function(t){return ae(u,void 0,void 0,function(){var r,n,i,E,o=this;return se(this,function(a){switch(a.label){case 0:if(!this.isReady())throw te("message bus is not ready to send message");return n={action:O9e(t.eventName),identifier:this.identification.identifier||"",timestamp:new Date().getTime()},[4,this.getEncryptedContext(t)];case 1:return n.context=a.sent(),r=n,(E=(i=this.messageHandlerInstance)===null||i===void 0?void 0:i.contentWindow)===null||E===void 0||E.postMessage({messageBusEvent:r},"*"),this.sentMessages.push(SA(r)),[4,new Promise(function(s){o.listenRepliedEvent(r,function(A){s(A.context)})})];case 2:return[2,a.sent()]}})})},this.reply=function(t,r){return ae(u,void 0,void 0,function(){var n,i,E,o;return se(this,function(a){switch(a.label){case 0:if(!this.isReady())throw te("message bus is not ready to send message");if(!t.identifier||!t.timestamp)throw te(it,"target message is not valid");return i={action:C1.BROADCAST},[4,this.getEncryptedContext(r)];case 1:return i.context=a.sent(),i.identifier=this.identification.identifier||"",i.timestamp=new Date().getTime(),i.replyTarget={action:t.action,identifier:t.identifier,timestamp:t.timestamp},n=i,(o=(E=this.messageHandlerInstance)===null||E===void 0?void 0:E.contentWindow)===null||o===void 0||o.postMessage({messageBusEvent:n},"*"),this.sentMessages.push(SA(n)),[2]}})})},this.setData=function(t,r){t===void 0&&(t="appData"),u.send({eventName:Ad.SET_DATA,key:t,data:r})},this.getData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ae(u,Uu([],$e(t),!1),void 0,function(n){return n===void 0&&(n="appData"),se(this,function(i){switch(i.label){case 0:return[4,this.send({eventName:Ad.GET_DATA,key:n})];case 1:return[2,i.sent()]}})})},this.proxyToListeners=function(t){return ae(u,void 0,void 0,function(){var r,n=this;return se(this,function(i){return r=t.data.messageBusEvent,t.origin!=="https://liff-subwindow.line.me"?[2]:r?(this.sentMessages.includes(SA(r))||r.identifier!==this.identification.identifier||r.action!==C1.BROADCAST&&!r.replyTarget||this.listeners.forEac
1014h(function(E){return ae(n,void 0,void 0,function(){var o,a,s;return se(this,function(A){switch(A.label){case 0:return o=E,a=[hu({},r)],s={},[4,this.getDecryptedContext(r.context)];case 1:return o.apply(void 0,[hu.apply(void 0,a.concat([(s.context=A.sent(),s)]))]),[2]}})})}),[2]):[2]})})},this.getEncryptedContext=function(t){return ae(u,void 0,void 0,function(){var r,n,i,E,o,a,s;return se(this,function(A){switch(A.label){case 0:return r=this.identification,n=r.identifier,i=r.cryptoKey,o=(E=JSON).stringify,s={eventName:t.eventName,key:t.key?t.key:void 0},t.data?[4,I9e(n,i,JSON.stringify(t.data))]:[3,2];case 1:return a=A.sent(),[3,3];case 2:a=void 0,A.label=3;case 3:return[2,o.apply(E,[(s.data=a,s)])]}})})},this.getDecryptedContext=function(t){return ae(u,void 0,void 0,function(){var r,n,i,E,o,a,s,A;return se(this,function(c){switch(c.label){case 0:return r=this.identification,n=r.identifier,i=r.cryptoKey,(E=JSON.parse(t)).data&&typeof E.data=="string"?(A=(s=JSON).parse,[4,T9e(n,i,E.data)]):[3,2];case 1:return a=A.apply(s,[c.sent()]),[3,3];case 2:a=void 0,c.label=3;case 3:return o=a,[2,hu(hu({},E),{data:o})]}})})},this.windowType=e};function Q9e(e){return new CustomEvent(KL,{detail:e})}(function(){if(typeof window<"u"&&typeof window.CustomEvent!="function"){let e=function(u,t){var r=t||{},n=r.bubbles,i=n!==void 0&&n,E=r.cancelable,o=E!==void 0&&E,a=r.detail,s=a===void 0?void 0:a,A=document.createEvent("CustomEvent");return A.initCustomEvent(u,i,o,s),A};e.prototype=Event.prototype,window.CustomEvent=e}})();var To={},V8=!1;function cc(e,u){V8||(V8=!0,window.addEventListener(KL,function(t){t&&t.detail&&t.detail.type&&To[t.detail.type]&&To[t.detail.type].forEach(function(r){return r(t)})})),To[e]?To[e].push(u):To[e]=[u]}function wb(e,u){var t=To[e];if(t&&Array.isArray(t)){var r=t.indexOf(u);r>=0&&t.splice(r,1)}}function L9e(e){var u={};try{u=JSON.parse(e)}catch(r){throw te(Su,r.message)}var t=Q9e(u);He.debug("[client dispatchEvent to js]",{type:t.type,detail:t.detail}),window.dispatchEvent(t)}function dM(e,u,t){u===void 0&&(u={}),t===void 0&&(t="");var r=jc();if(!r)throw te(Ze,"Invalid featureToken for client features");if(!window._liff||!window._liff.postMessage)throw te(Su,"postMessage is not available from client");He.debug("[js postMessage to client]",e,t,u),window._liff.postMessage(e,r,t,JSON.stringify(u))}function gs(e,u,t){return u===void 0&&(u={}),t===void 0&&(t={once:!0}),jc()?(t=hu({callbackId:Ua(12),once:!0},t),new Promise(function(r,n){var i=function(E){if(E&&E.detail){var o=E.detail.callbackId===t.callbackId,a=typeof E.detail.callbackId!="string";(o||a)&&(t.once&&wb(e,i),He.debug("[callback detail]",E.detail),E.detail.error?n(E.detail.error):E.detail.data?r(E.detail.data):n(E.detail))}n()};cc(e,i),dM(e,u,t.callbackId)})):Promise.reject(te(Ze,"Invalid featureToken for client features"))}function la(){var e=nn();e!==null&&($t()==="ios"&&er(e,"9.19")>=0||$t()==="android"&&er(e,"11.6.0")>=0)?location.href="liff://close":window._liff&&window._liff.postMessage?e!==null&&er(e,"10.15.0")>=0?$t()==="ios"?window._liff.postMessage("closeWindow",""):window._liff.postMessage("closeWindow","","",""):gs("closeWindow"):window.close()}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"closeWindow"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return la()}},u})(Te);function pM(e){var u=Du("subWindowGetOrigin");return Zu(u(e))}var gi={};function Qa(e,u){e&&gi[e]&&gi[e].forEach(function(t){t(u)})}function hM(e,u){gi[e]||(gi[e]=[]),gi[e].push(u)}function mM(e,u){if(gi[e]){var t=gi[e].indexOf(u);t>=0&&gi[e].splice(t,1)}}var gM,yM,vM,BM,sy,wM=function(){function e(u){this.storage=u}return e.prototype.getItem=function(u){return this.storage.getItem("".concat(this.getKeyPrefix(),":").concat(u))},e.prototype.setItem=function(u,t){this.storage.setItem("".concat(this.getKeyPrefix(),":").concat(u),t)},e.prototype.removeItem=function(u){this.storage.removeItem("".concat(this.getKeyPrefix(),":").concat(u))},e.prototype.clear=function(){this.storage.clear()},e.prototype.getKeyPrefix=function(){return"".concat(br,":").concat(this.getLiffId())},e.prototype.getLiffId=function(){var u=_u().liffId;if(!u)throw te(Sr,"liffId is necessary for liff.init()");return u},e}(),bM=new wM(new cb),xM="subWindowStatusUpdated";function D1(){var e=bM.getItem(xM);return e!==null&&JSON.parse(e)}function jE(e){bM.setItem(xM,String(e))}function Ay(e){gM=e}function FA(){return gM}function cy(){return vM}function z8(){return BM}function CM(){return ae(this,arguments,void 0,function(e){return e===void 0&&(e=DA.MAIN),se(this,function(u){switch(u.label){case 0:return[4,(sy=new U9e(e)).setup()];case 1:return u.sent(),[2,sy]}})})}function ys(){return sy}var M9e=new cb,DM=new wM(db()?M9e:window.sessionStorage),SM="mainWindowOrigin";function R9e(e){DM.setItem(SM,e)}function FM(){return DM.getItem(SM)}function _M(e){return ae(this,arguments,void 0,function(u,t){var r,n,i,E,o,a,s,A;return t===void 0&&(t={}),se(this,function(c){switch(c.label){case 0:if((r=ys())!=null&&r.isReady())return[3,5];if(n=JSON.stringify(t),i=_u().liffId,E=FM(),!window.opener||!E||!i)throw te(B1);o=!1,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,pM(i)];case 2:return a=c.sent(),o=a.subwindowCommonModule,[3,4];case 3:throw s=c.sent(),He.debug(s),te(B1);case 4:return A=o?E:location.origin,[2,new Promise(function(l){window.addEventListener("message",function f(p){(function(h){return!!(h.data&&typeof h.data.type=="string"&&[su.SUBMIT,su.CANCEL].includes(h.data.type))})(p)&&(window.removeEventListener("message",f),l({status:u,result:n}))}),window.opener.postMessage({status:u,result:n},A)})];case 5:return r.send({eventName:u,data:t}),[4,new Promise(function(l){setTimeout(l,500)})];case 6:return c.sent(),[2,{status:u,result:JSON.stringify(t)}]}})})}function bb(e){var u,t=z8();if(e.origin===t){var r=e.data;if(r){var n,i=r.status,E=r.result;try{n=JSON.parse(E||"{}")}catch{n={}}switch(i){case b1:window.clearInterval(cy()),xb();break;case su.CANCEL:case su.SUBMIT:jE(!0),window.clearInterval(cy()),window.removeEventListener("message",bb),Qa(i,n),(u=FA())===null||u===void 0||u.postMessage({type:i},z8());break;default:He.debug("unexpected message")}}}}var N9e=function(e){return ae(void 0,void 0,void 0,function(){var u,t,r,n;return se(this,function(i){if(D1())return[2];switch(u=e.context,t=u.eventName,r=u.data,n=ys(),t){case su.INIT:TM(!r.hasOpener);break;case su.CANCEL:case su.SUBMIT:jE(!0),Qa(t,r),n==null||n.reply(e,{eventName:t});break;case su.CLOSE:D1()===!1&&(jE(!0),Qa(su.CLOSE,{})),xb()}return[2]})})};function IM(){window.clearInterval(yM),window.clearInterval(cy()),window.removeEventListener("message",bb)}function TM(e){if(e===void 0&&(e=!1),IM(),jE(!1),e){var u=FA();u&&(u.close(),Ay(null))}}function xb(){return ae(this,void 0,void 0,function(){var e;return se(this,function(u){switch(u.label){case 0:return(e=ys())?[4,e.teardown()]:[3,2];case 1:u.sent(),u.label=2;case 2:return[2]}})})}function $9e(e){return ae(this,void 0,void 0,function(){var u,t,r,n,i,E,o,a,s,A,c,l;return se(this,function(f){switch(f.label){case 0:return(u=lb(e.url))?(TM(!0),[4,xb()]):[2,Promise.reject(te(Su,"params.url must be liff url or mini url"))];case 1:return f.sent(),Ay($t()!=="ios"||fb()?window.open("","liffsub
1014window","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open()),t=e.url,r=e.appData,(n=new URL(t)).searchParams.append(VL,"true"),[4,CM()];case 2:return i=f.sent(),n.searchParams.append(x1,i.identification.identifier),n.searchParams.append(ay,i.identification.cryptoKey),n.hostname=function(h){var w=$e(h.split(".")),m=w[0],g=w.slice(1);return Uu(["".concat(m,"-ext")],$e(g),!1).join(".")}(n.hostname),E=n.toString(),[4,pM(u)];case 3:if(o=f.sent(),a=o.origin,s=o.subwindowCommonModule,!(A=FA()))throw te(ty);if(!s)return A.close(),[2];(function(h){BM=h})(a),i.listen(N9e),i.setData("appData",r),window.addEventListener("message",bb),f.label=4;case 4:return f.trys.push([4,6,,7]),[4,(l=e.onBeforeTransition)===null||l===void 0?void 0:l.call(e)];case 5:return f.sent(),[3,7];case 6:throw c=f.sent(),A.close(),c;case 7:return A.location.href=E,p=function(h,w){var m=FA(),g={type:b1};return w&&(g.message=JSON.stringify(w)),window.setInterval(function(){m==null||m.postMessage(g,h)},WL)}(a,r),vM=p,function(h){yM=h}(window.setInterval(function(){var h=FA();h&&h.closed&&(IM(),Ay(null),D1()===!1&&(jE(!0),Qa(su.CLOSE,{})))},Rxe)),[2]}var p})})}var Rs=null;function PM(e){return ae(this,void 0,void 0,function(){var u,t,r,n,i,E,o,a,s,A,c,l,f,p,h=this;return se(this,function(w){switch(w.label){case 0:if(u=e.msit,t=e.mstChallenge,r=e.reconnectCount,n=r===void 0?0:r,i=function(){return ae(h,void 0,void 0,function(){return se(this,function(m){switch(m.label){case 0:return[4,(g=1e3,new Promise(function(v){return setTimeout(v,g)}))];case 1:return m.sent(),[4,PM({msit:u,mstChallenge:t,onSuccess:e.onSuccess,onError:e.onError,reconnectCount:n+1})];case 2:return m.sent(),[2]}var g})})},E=function(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];Rs=null,e.onSuccess.apply(e,Uu([],$e(m),!1))},o=function(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];Rs=null,e.onError.apply(e,Uu([],$e(m),!1))},a=Date.now(),Rs===null&&(Rs=a),s=a-Rs,n>=10||s>6e5)return o(te(it,"Failed to connect")),[2];w.label=1;case 1:return w.trys.push([1,3,,5]),[4,lM(Du("subWindowSubscribe"),{method:"POST",body:JSON.stringify({msit:u,mstChallenge:t})})];case 2:return A=w.sent(),[3,5];case 3:return w.sent(),[4,i()];case 4:return w.sent(),[2];case 5:return A.status>=500?[4,i()]:[3,7];case 6:return w.sent(),[3,17];case 7:return A.status>=400&&500>A.status?[4,G8(A)]:[3,9];case 8:return l=w.sent(),c=l?te(Su,l.errorDetail):te(it,"Some error happened in the server"),o(c),[3,17];case 9:return A.status!==200?[3,16]:[4,G8(A)];case 10:if(!(l=w.sent()))return o(te(it,"Some error happened in the server")),[2];switch(f=l.status,p=l.result,f){case su.ERROR:return[3,11];case su.CLOSE:case su.CANCEL:case su.SUBMIT:return[3,13]}return[3,14];case 11:return[4,i()];case 12:return w.sent(),[3,15];case 13:return E(f,p),[3,15];case 14:o(te(it,"Some error happened in the server")),w.label=15;case 15:return[3,17];case 16:o(te(it,"Some error happened in the server")),w.label=17;case 17:return[2]}})})}function G8(e){return ae(this,void 0,void 0,function(){return se(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,e.json()];case 1:return[2,u.sent()];case 2:return u.sent(),[2,null];case 3:return[2]}})})}function H9e(e){var u={};return Object.keys(e).forEach(function(t){t==="closeButtonColor"?e[t]==="white"?u[t]="#ffffff":u[t]="#000000":u[t]=e[t]}),u}var j9e={height:"full",closeButtonPosition:"right",closeButtonColor:"black",closeButtonLabel:""};function K9e(e){var u=e.appData,t=e.native,r=_u().liffId,n=eM(),i=lb(e.url);
1014if(!r)return Promise.reject(te(Vu,"liffId is invalid"));if(!n)return Promise.reject(te(Vu,"mst_challenge is invalid"));if(!i)return Promise.reject(te(Su,"params.url must be liff url or mini url"));var E=Object.assign({},j9e,t);return function(o){var a=o.mainLiffId,s=o.subLiffId,A=o.mstChallenge,c=o.appData,l=o.view;return a&&A?Zu(Du("subWindowGetMSIT"),{method:"POST",body:JSON.stringify({mainLiffId:a,subLiffId:s,mstChallenge:A,appData:c,view:l})}):Promise.reject(te(Su,"no proper argument"))}({mainLiffId:r,subLiffId:i,mstChallenge:n,appData:u,view:H9e(E)}).then(function(o){var a=o.msit;return PM({msit:a,mstChallenge:n,onSuccess:function(s,A){Qa(s,A)},onError:function(s){Qa(su.ERROR,s)}}),a}).then(function(o){return function(a,s){return ae(this,void 0,void 0,function(){var A,c,l;return se(this,function(f){switch(f.label){case 0:return A=a.url,(c=new URLSearchParams).set("msit",s),[4,(l=a.onBeforeTransition)===null||l===void 0?void 0:l.call(a)];case 1:return f.sent(),location.href="".concat(Mxe,"?url=").concat(encodeURIComponent(A),"&").concat(c.toString()),[2]}})})}(e,o)})}function OM(e){return ur.subwindowOpen(),Ye()?K9e(e):$9e(e)}function Cb(e){if(!e.mst||!e.status)return Promise.reject(te(Su,"no proper argument"));var u=JSON.stringify(e);return Zu(Du("subWindowPost"),{method:"POST",body:u})}function Sp(){if(!Hr())throw te(Vu,"this api can be only called 
1014in child window")}function kM(e){return e===void 0&&(e={}),Sp(),Ye()?function(){return ae(this,arguments,void 0,function(u){var t,r;return u===void 0&&(u={}),se(this,function(n){switch(n.label){case 0:return(t=wp())?[4,Cb({mst:t,status:su.CANCEL,result:u})]:[2,Promise.reject(te(Vu,"mst is invalid"))];case 1:return r=n.sent(),jE(!0),[2,r]}})})}(e):function(u){return u===void 0&&(u={}),_M(su.CANCEL,u)}(e)}function UM(e){return e===void 0&&(e={}),Sp(),Ye()?function(){return ae(this,arguments,void 0,function(u){var t,r;return u===void 0&&(u={}),se(this,function(n){switch(n.label){case 0:return(t=wp())?[4,Cb({mst:t,status:su.SUBMIT,result:u})]:[2,Promise.reject(te(Vu,"mst is invalid"))];case 1:return r=n.sent(),jE(!0),[2,r]}})})}(e):function(u){return u===void 0&&(u={}),_M(su.SUBMIT,u)}(e)}function QM(){return Sp(),Ye()?function(){return ae(this,void 0,void 0,function(){var e;return se(this,function(u){switch(u.label){case 0:return D1()!==!1?[3,2]:(e=wp())?[4,Cb({mst:e,status:su.CLOSE,result:{}})]:[2,Promise.reject(te(Vu,"mst is invalid"))];case 1:u.sent(),u.label=2;case 2:return la(),[2]}})})}():function(){return ae(this,void 0,void 0,function(){var e;return se(this,function(u){return(e=ys())!=null&&e.isReady()?(e.send({eventName:su.CLOSE}),[2,new Promise(function(t){setTimeout(function(){la(),t()},WL)})]):(la(),[2,Promise.resolve()])})})}()}function LM(){return Sp(),function(){var e,u=e9e();try{e=u?JSON.parse(u):{}}catch{e={}}return Promise.resolve(e)}()}function W9e(e){var u=e.msit,t=e.mstVerifier;return u&&t?Zu(Du("subWindowGetMSTByMSIT"),{method:"POST",body:JSON.stringify({msit:u,mstVerifier:t})}):Promise.reject(te(Su,"no proper argument"))}function V9e(e){var u=e.mst;return u?Zu(Du("subWindowGetAppData"),{method:"POST",body:JSON.stringify({mst:u})}):Promise.reject(te(Su,"no proper argument"))}var Ot={on:hM,off:mM,open:OM,cancel:kM,submit:UM,close:QM,getAppData:LM};(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"subWindow"},enumerable:!1,configurable:!0}),u.prototype.install=function(){var t=this;return{on:hM.bind(this),off:mM.bind(this),open:function(r){return OM.call(t,hu(hu({},r),{onBeforeTransition:void 0}))},cancel:kM.bind(this),submit:UM.bind(this),close:QM.bind(this),getAppData:LM.bind(this)}},u})(Te);function z9e(){return ae(this,void 0,void 0,function(){return se(this,function(e){switch(e.label){case 0:return[4,Zu(Du("certs"))];case 1:return[2,e.sent()]}})})}function G9e(e,u,t){return ae(this,void 0,void 0,function(){var r;return se(this,function(n){switch(n.label){case 0:return[4,crypto.subtle.importKey("jwk",e,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"])];case 1:return r=n.sent(),[4,crypto.subtle.verify({name:"ECDSA",hash:{name:"SHA-256"}},r,t,u)];case 2:return[2,n.sent()]}})})}var Y9e='Invalid "alg" value in ID_TOKEN',X9e="Failed to use Crypto API to verify ID_TOKEN",Z9e='Invalid "kid" value in ID_TOKEN',q9e='Invalid "iss" value in ID_TOKEN',J9e='Invalid "aud" value in ID_TOKEN',eCe='Invalid "exp" value in ID_TOKEN',uCe="Invalid signature in ID_TOKEN",tCe="Invalid payload in ID_TOKEN";function Db(e,u){return ae(this,void 0,void 0,function(){var t,r,n,i,E,o,a,s,A,c,l,f,p,h,w,m;return se(this,function(g){switch(g.label){case 0:if(t=e.split("."),r=$e(t,3),n=r[0],i=r[1],E=r[2],o=JSON.parse(Ph.decode(n)),a=function(v){var d=v.split(".");if(d.length!==3||d.some(function(y){return y.length===0}))return null;try{return JSON.parse(Ph.decodeUnicode(d[1]))}catch{return null}}(e),!a)throw te(Ln,tCe);return s=M8(Ph.decode(E)),A=M8("".concat(n,".").concat(i)),[4,z9e()];case 1:if(c=g.sent(),!(l=c.keys.find(function(v){return v.kid===o.kid})))return[3,6];if(delete l.alg,o.alg!=="ES256")throw te(Ln,Y9e);f=void 0,g.label=2;case 2:return g.trys.push([2,4,,5]),[4,G9e(l,A,s)];case 3:return f=g.sent(),[3,5];case 4:throw p=g.sent(),te(Ln,"".concat(X9e,": ").concat(p));case 5:if(f){if(h=a.iss!=="https://access.".concat("line.me"),w=a.aud!==u,m=1e3*a.exp<Date.now(),h)throw te(Ln,q9e);if(w)throw te(Ln,J9e);if(m)throw te(Ln,eCe);return[2,a]}throw te(Ln,uCe);case 6:throw te(Ln,Z9e);case 7:return[2]}})})}
1014var MM={exports:{}};(function(e){(function(u,t){e.exports?e.exports=t():u.sha256=t()})(Lt,function(){var u=function t(r){function n(R,X){return R>>>X|R<<32-X}for(var i=Math.pow,E=i(2,32),o="length",a,s,A="",c=[],l=r[o]*8,f=t.h=t.h||[],p=t.k=t.k||[],h=p[o],w={},m=2;h<64;m++)if(!w[m]){for(a=0;a<313;a+=m)w[a]=m;f[h]=i(m,.5)*E|0,p[h++]=i(m,.3333333333333333)*E|0}for(r+="€";r[o]%64-56;)r+="\0";for(a=0;a<r[o];a++){if(s=r.charCodeAt(a),s>>8)return;c[a>>2]|=s<<(3-a)%4*8}for(c[c[o]]=l/E|0,c[c[o]]=l,s=0;s<c[o];){var g=c.slice(s,s+=16),v=f;for(f=f.slice(0,8),a=0;a<64;a++){var d=g[a-15],y=g[a-2],b=f[0],C=f[4],S=f[7]+(n(C,6)^n(C,11)^n(C,25))+(C&f[5]^~C&f[6])+p[a]+(g[a]=a<16?g[a]:g[a-16]+(n(d,7)^n(d,18)^d>>>3)+g[a-7]+(n(y,17)^n(y,19)^y>>>10)|0),F=(n(b,2)^n(b,13)^n(b,22))+(b&f[1]^b&f[2]^f[1]&f[2]);f=[S+F|0].concat(f),f[4]=f[4]+S|0}for(a=0;a<8;a++)f[a]=f[a]+v[a]|0}for(a=0;a<8;a++)for(s=3;s+1;s--){var I=f[a]>>s*8&255;A+=(I<16?0:"")+I.toString(16)}return A};return u.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d<b[h];d++){if(e=b.charCodeAt(d),e>>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;e<j[h];){var q=j.slice(e,e+=16),r=l;for(l=l.slice(0,8),d=0;64>d;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',u})})(MM);var rCe=MM.exports;const nCe=Iu(rCe);var iCe=function(){var e=this;this.type="sync",this.fns=new Set,this.on=function(u){e.fns.add(u)},this.call=function(){for(var u,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var i=Ic(e.fns),E=i.next();!E.done;E=i.next())E.value.apply(void 0,Uu([],$e(r),!1))}catch(o){u={error:o}}finally{try{E&&!E.done&&(t=i.return)&&t.call(i)}finally{if(u)throw u.error}}}},Ns=function(){var e=this;this.type="async",this.fns=new Set,this.on=function(u){e.fns.add(u)},this.call=function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];return ae(e,void 0,void 0,function(){var r,n,i,E,o,a;return se(this,function(s){switch(s.label){case 0:r=[];try{for(n=Ic(this.fns),i=n.next();!i.done;i=n.next())E=i.value,r.push(E.apply(void 0,Uu([],$e(u),!1)))}catch(A){o={error:A}}finally{try{i&&!i.done&&(a=n.return)&&a.call(n)}finally{if(o)throw o.error}}return[4,Promise.all(r)];case 1:return s.sent(),[2]}})})}},_A=function(e){var u,t=Ua(43),r=Hxe(nCe(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),n=_u();if(!n||!n.liffId)throw te(Sr,"You need to define `liffId` for liff.login()");var i={app_id:n.liffId,state:Ua(12),response_type:"code",code_challenge_method:"S256",code_challenge:r,liff_sdk_version:Cp()};e&&e.redirectUri&&(i.redirect_uri=e.redirectUri),Hr()&&!Ye()&&(!((u=ys())===null||u===void 0)&&u.isReady()?i.redirect_uri=window.location.href:i.disable_auto_login="true"),a9e({codeVerifier:t});var E=Du("authorize")+"?"+Rt.stringify(i);He.debug("[Redirect] ".concat(E)),window.location.href=E},ECe=function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.hooks={before:new iCe},t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"login"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return this._login.bind(this)},u.prototype._login=function(t){this.hooks.before.call(t),_A(t)},u}(Te),Lh,cd=typeof navigator>"u"?"en":(Lh=navigator.language)!==null&&Lh!==void 0?Lh:"en",ly=null;function oCe(e){return ae(this,void 0,void 0,function(){return se(this,function(u){switch(u.label){case 0:return cd=e,[4,RM()];case 1:return u.sent(),[2]}})})}function RM(){return ae(this,void 0,void 0,function(){var e,u;return se(this,function(t){switch(t.label){case 0:return[4,Zu("".concat("https://liffsdk.line-scdn.net/xlt/manifest.json"),{method:"GET",headers:{Accept:"application/json"}})];case 1:return e=t.sent(),u="".concat(cd),!e.languages[u]&&cd.includes("-")&&(u=cd.split("-")[0]),e.languages[u]||(u="en"),[4,Zu("".concat("https://liffsdk.line-scdn.net/xlt","/").concat(e.languages[u]),{method:"GET",headers:{Accept:"application/json"}})];case 2:return ly=t.sent(),[2]}})})}function Mh(e){if(ly===null)throw te(zu,"please call xlt after liff.init");return ly[e]}var aCe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"i18n"}
1014,enumerable:!1,configurable:!0}),u.prototype.install=function(t){return t.internalHooks.init.beforeFinished(this.beforeInitFinished.bind(this)),{setLang:oCe}},u.prototype.beforeInitFinished=function(){return ae(this,void 0,void 0,function(){return se(this,function(t){switch(t.label){case 0:return[4,RM()];case 1:return t.sent(),[2]}})})},u}(Te),sCe=new aCe,Y8={iconColor:"#111111",statusBarColor:"BLACK",titleTextColor:"#111111",titleSubtextColor:"#B7B7B7",titleButtonColor:"#111111",titleBackgroundColor:"#FFFFFF",progressBarColor:"#06C755",progressBackgroundColor:"#FFFFFF",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#FFFFFF",baseTextColor:"#000000",lightButtonBorderColor:"rgba(0, 0, 0, 0.15)"},X8={iconColor:"#FFFFFF",statusBarColor:"WHITE",titleTextColor:"#FFFFFF",titleSubtextColor:"#949494",titleButtonColor:"#FFFFFF",titleBackgroundColor:"#111111",progressBarColor:"#06C755",progressBackgroundColor:"#111111",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#000000",baseTextColor:"#FFFFFF",lightButtonBorderColor:"rgba(255, 255, 255, 0.5)"};function ACe(){var e;Tt("color-scheme",(((e=ut())==null?void 0:e.menuColorSetting)||{adaptableColorSchemes:["light"]}).adaptableColorSchemes.join(" "));var u=window.matchMedia("(prefers-color-scheme: dark)");Rh({matches:u==null?void 0:u.matches,media:u==null?void 0:u.media}),u.addEventListener?u.addEventListener("change",Rh):u.addListener&&u.addListener(Rh)}function Rh(e){var u=ut(),t=(u==null?void 0:u.menuColorSetting)||{adaptableColorSchemes:["light"],lightModeColor:Y8,darkModeColor:X8},r=t.adaptableColorSchemes,n=t.lightModeColor,i=t.darkModeColor,E=r.includes("dark");e.matches&&E?Z8(hu(hu({},X8),i)):Z8(hu(hu({},Y8),n))}function Z8(e){var u=e.iconColor,t=e.statusBarColor,r=e.titleTextColor,n=e.titleSubtextColor,i=e.titleButtonColor,E=e.titleBackgroundColor,o=e.progressBarColor,a=e.progressBackgroundColor,s=e.titleButtonAreaBackgroundColor,A=e.titleButtonAreaBorderColor,c=e.baseBackgroundColor,l=e.baseTextColor,f=e.lightButtonBorderColor;Tt("--liff-base-background-color",c),Tt("--liff-base-text-color",l),Tt("--liff-base-background-rgb-color",L8(c)),Tt("--liff-base-text-rgb-color",L8(l)),Tt("--liff-light-button-border-color",f),Tt("--liff-title-text-color",r),Tt("--liff-title-background-color",E),Tt("--liff-title-button-color",i),Tt("--liff-icon-color",u),Tt("--liff-status-bar-color",t),Tt("--liff-title-subtext-color",n),Tt("--liff-progress-bar-color",o),Tt("--liff-progress-background-color",a),Tt("--liff-title-button-area-background-color",Q8(s)),Tt("--liff-title-button-area-border-color",Q8(A))}function Tt(e,u){document.documentElement.style.setProperty(e,u)}var cCe={addToHomeScreen:function(e){if(!new Qh(e).invoke("addToHomeScreen"))throw te(Ze,"No permission for liff.addToHomeScreen()")},scanCode:function(e){if(!new Qh(e).invoke("scanCode"))return Promise.reject(te(Ze,"No permission for liff.scanCode()"))},getAdvertisingId:function(e){if(!new Qh(e).invoke("getAdvertisingId"))return Promise.reject(te(Ze,"No permission for liff.getAdvertisingId()"))},initPlugins:function(){}};function lCe(e){return ae(this,void 0,void 0,function(){var u;return se(this,function(t){switch(t.label){case 0:return[4,b9e()];case 1:return(u=t.sent())?(u.install(e,cCe),[2]):[2]}})})}function Sb(e){var u=e.split(".");if(u[1])try{var t=u[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(t))}catch{return null}return null}function NM(e){var u=e.pathname,t=e.query,r=t?"?".concat(Rt.stringify(t)):"",n="".concat("liff://").concat(u).concat(r);location.href=n}var fy=null;function fCe(){typeof fy=="boolean"&&He.warn("liff.init is not expected to be called more than once"),fy=!!qxe()||!(!Ye()||Rt.parse(window.location.hash).feature_token||jc())&&(Jxe(!0),!0)}function dy(){return!!fy}function dCe(e,u){return ae(this,void 0,void 0,function(){var t;return se(this,function(r){switch(r.label){case 0:return(t=wp())?[2,t]:e&&u?[4,W9e({msit:e,mstVerifier:u})]:[3,2];case 1:return[2,r.sent().mst];case 2:return[2,null]}})})}function pCe(e){return Zu("".concat(Du("apps"),"/").concat(e,"/featureToken"))}function hCe(e){return ae(this,void 0,void 0,function(){var u,t,r,n;return se(this,function(i){switch(i.label){case 0:return u=Rt.parse(window.location.hash),t=function(E){for(var o,a,s=[],A=1;A<arguments.length;A++)s[A-1]=arguments[A];var c=function(p){Object.keys(p).filter(function(h){return p[h]!==null&&p[h]!==void 0}
1014).forEach(function(h){E[h]=p[h]})};try{for(var l=Ic(s),f=l.next();!f.done;f=l.next())c(f.value)}catch(p){o={error:p}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return E}({access_token:Fr(),context_token:o9e(),feature_token:jc(),id_token:bp(),client_id:uM(),mst_challenge:eM(),mst_verifier:u9e(),msit:r9e()},u),dy()?lt()?[4,pCe(e)]:[3,2]:[3,3];case 1:r=i.sent().featureToken,t.feature_token||(t.feature_token=r),i.label=2;case 2:(n=Ab(e))&&(t.client_id=n),i.label=3;case 3:return[2,t]}})})}function mCe(e){if(e.persisted&&Kc("multipleLiffTransition"))if($t()==="ios")window.location.reload();else{var u=_u().liffId,t=jc();if(!u)throw te(zu,"Invalid LIFF ID.");if(!t)throw te(Ze,"Invalid featureToken for client features");NM({pathname:"app/".concat(u),query:{feature_token:t}})}}function gCe(e){return ae(this,void 0,void 0,function(){var u,t,r,n,i,E,o,a,s,A,c,l,f,p,h,w,m,g,v;return se(this,function(d){switch(d.label){case 0:return[4,new Promise(function(y){var b=nn();if(!b||er(b,"9.5.0")<0)y();else if(window._liff&&window._liff.features)y();else{He.debug("cannot find window._liff.features, listen to ready event");var C=function(){He.debug("ready event is fired"),wb("ready",C),y()};cc("ready",C)}})];case 1:return d.sent(),fCe(),[4,hCe(e.liffId)];case 2:if(u=d.sent(),t=u.access_token,r=u.context_token,n=u.feature_token,i=u.id_token,E=u.client_id,o=u.mst_verifier,a=u.mst_challenge,s=u.msit,r){if(typeof r!="string")throw te(zu,"Cannot get context token, perhaps there is an incorrect parameter in permanent link");pb(Sb(r))}if(((g=ut())===null||g===void 0?void 0:g.liffId)!==void 0&&((v=ut())===null||v===void 0?void 0:v.liffId)!==e.liffId)throw te(zu,"Invalid LIFF ID");return!Hr()&&n&&(function(y,b){Kc("multipleLiffTransition")&&NM({pathname:"app/".concat(y),query:{feature_token:b}})}(e.liffId,n),dy()&&H8(n)),a&&E9e(a),o&&t9e(o),E&&tM(E),s&&n9e(s),window.addEventListener("pageshow",mCe),lt()?[3,5]:n&&t?[3,5]:dy()?(A=Ac(location.href,{"liff.hback":"2"}),_A({redirectUri:A}),[4,new Promise(function(){})]):[3,4];case 3:d.sent(),d.label=4;case 4:throw _A(),te(zu,"Failed to parse feature_token or access_token");case 5:return t&&n?[4,Bb(t)]:[3,7];case 6:if(c=d.sent(),l=c.client_id,f=c.expires_in,p=Ab(e.liffId),l!==p)throw _A(),te(zu,"Failed to verify access_token");H8(n),iM(new Date(Date.now()+1e3*f)),mb(t),d.label=7;case 7:return[4,dCe(s,o)];case 8:return(h=d.sent())?(i9e(h),[4,V9e({mst:h})]):[3,10];case 9:(w=d.sent().data)&&Ey(JSON.stringify(w)),d.label=10;case 10:return i&&!bp()&&hb(i),i&&E&&!xp()?[4,Db(i,E)]:[3,12];case 11:(m=d.sent())&&gb(m),d.label=12;case 12:return[2]}})})}function yCe(e){return ae(this,void 0,void 0,function(){var u,t,r,n,i,E,o;return se(this,function(a){switch(a.label){case 0:return u=Du("apps"),t="".concat(u,"/").concat(e,"/contextToken"),r=Fr(),n={"Content-Type":"application/json",Accept:"application/json"},r&&(n.Authorization="Bearer ".concat(r)),[4,Zu(t,{headers:n})];case 1:if(i=a.sent(),!(E=i.contextToken))throw te(zu,"Can not get context from server.");if(!(o=Sb(E)))throw te(zu,"Invalid context token.");return[2,o]}})})}function $M(){return ae(this,void 0,void 0,function(){var e,u;return se(this,function(t){switch(t.label){case 0:if(!(e=_u().liffId))throw te(zu,"Invalid LIFF ID.");return[4,yCe(e)];case 1:return u=t.sent(),pb(u),[2]}})})}function vCe(e){return ae(this,void 0,void 0,function(){var u,t,r,n=this;return se(this,function(i){switch(i.label){case 0:u=function(){return ae(n,void 0,void 0,function(){var E,o,a,s,A,c;return se(this,function(l){switch(l.label){case 0:return[4,(f=_u(),p=Rt.parse(window.location.search),h=nM(),w={grant_type:"authorization_code",client_id:p.liffClientId,appId:f.liffId,code:p.code,code_verifier:h.codeVerifier,redirect_uri:f.redirectUri||p.liffRedirectUri,id_token_key_type:"JWK"},m=Rt.stringify(w),Zu(Du("token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:m}))];case 1:return E=l.sent(),o=E.access_token,a=E.id_token,s=E.expires_in,tM(e),mb(o),iM(new Date(Date.now()+1e3*s)),j8(),a?(hb(a),[4,Db(a,e)]):[3,3];case 2:(A=l.sent())&&gb(A),l.label=3;case 3:return(c=Rt.parse(location.hash).context_token)?(pb(Sb(c)),[3,6]):[3,4];case 4:return[4,$M()];case 5:l.sent(),l.label=6;case 6:return[2]}var f,p,h,w,m})})},i.label=1;case 1:return i.trys.push([1,3,,4]),[4,u()];case 2:return i.sent(),[3,4];case 3:throw t=i.sent(),r=t,j8(),r;case 4:return[2]}})})}function HM(){return ae(this,void 0,void 0,function(){var e,u,t,r,n,i,E=this;return se(this,function(o){switch(o.label){case 0:return(u=ys())?[3,2]:[4,CM(DA.SUB)];case 1:u=o.sent(),o.label=2;case 2:return(e=u).isReady()?(t=Ua(8),[4,e.getData("appData")]):[3,8];case 3:return r=o.sent(),n=r.eventName,i=r.data,n!==Ad.NOT_FOUND?[3,6]:[4,e.teardown()];case 4:return o.sent(),[4,HM()];case 5:return[2,o.sent()];case 6:i&&Ey(JSON.stringify(i)),o.label=7;case 7:return e.listen(function(a){return ae(E,void 0,void 0,function(){var s,A;
1014return se(this,function(c){return s=a.context,A=s.data,s.eventName===su.INIT&&(A==null?void 0:A.subWindowId)!==t&&la(),s.eventName!==su.CANCEL&&s.eventName!==su.SUBMIT||e.teardown(),[2]})})}),lt()&&e.send({eventName:su.INIT,data:{subWindowId:t,hasOpener:!!window.opener}}),[3,10];case 8:return FM()?[3,10]:[4,new Promise(function(a){window.addEventListener("message",function(s){return function A(c){var l=c.data,f=c.source,p=c.origin;if(l){var h=l.type,w=l.message;h===b1&&(window.removeEventListener("message",A),w&&Ey(w),R9e(p),f&&f.postMessage&&f.postMessage({status:b1},p),s())}}}(a))})];case 9:return[2,o.sent()];case 10:return[2]}})})}var BCe=new(function(){function e(){var u=this;this.getAndValidateContext=function(){var t=ut();if(!t)throw te(zu,"Could not get Context from server.");if(!t.endpointUrl)throw te(zu,"Could not get endpointUrl from server.");if(!t.permanentLinkPattern)throw te(zu,"Could not get permanentLinkPattern from server.");return t},this.decodeState=function(t){var r=u.getAndValidateContext();t=t.replace(/\n/g,"%0D%0A");var n=u.hasTrailingSlash(r.endpointUrl)||u.hasTrailingSlash(t),i=new URL(r.endpointUrl),E=i.origin,o=i.pathname,a=i.search,s=new URL("".concat(E).concat(u.attachSlashAtStart(t))),A=s.pathname,c=s.search,l=s.hash,f="".concat(a).concat(a?c.replace(/\?/g,"&"):c),p="".concat(o).concat(u.attachSlashAtStart(A)).replace("//","/");return(p=u.attachSlashAtStart("".concat(p))).endsWith("/")&&!n&&(p=p.substring(0,p.length-1)),"".concat(E).concat(p).concat(f).concat(l).replace(/%0D%0A/g,`
1015`)}}return e.prototype.attachSlashAtStart=function(u){return"".concat(u&&u.length>0&&!u.startsWith("/")?"/":"").concat(u)},e.prototype.hasTrailingSlash=function(u){var t=u.indexOf("?"),r=u.indexOf("#"),n=-1;return(n=t===-1&&r===-1?u.length:t===-1?r:r===-1?t:Math.min(t,r))>0&&u[n-1]==="/"},e.prototype.invoke=function(){return ae(this,void 0,void 0,function(){var u,t,r,n,i;return se(this,function(E){switch(E.label){case 0:if(u=Rt.parse(window.location.search),typeof(t=u["liff.state"])!="string")return[2];E.label=1;case 1:return E.trys.push([1,4,,5]),r=location.href,(n=this.decodeState(t))===r?[3,3]:(u["liff.hback"]?location.replace(Ac(n,{"liff.hback":u["liff.hback"]})):location.replace(n),[4,new Promise(function(){})]);case 2:E.sent(),E.label=3;case 3:return[3,5];case 4:if((i=E.sent()).code===zu)throw i;return He.debug(i),[3,5];case 5:return[2]}})})},e}());function wCe(e,u){return ae(this,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:if(!e.liffId)throw te(Sr,"liffId is necessary for liff.init()");return Xxe(e),!Ye()&&lt()&&(s9e()||yb()),t=Rt.parse(window.location.search),!Hr()||Ye()?[3,2]:[4,HM()];case 1:n.sent(),n.label=2;case 2:if(t.error&&t.liffOAuth2Error)throw o=t.error,a=t.error_description,s=a.replace(/\+/g," "),A="".concat(o,": ").concat(s),te(zu,A);return i=t.code,E=nM(),i&&!lt()&&E&&E.codeVerifier?[4,vCe(t.liffClientId)]:[3,4];case 3:n.sent(),n.label=4;case 4:return Ye()?[4,gCe(e)]:[3,6];case 5:return n.sent(),[3,8];case 6:return lt()?[3,8]:[4,$M()];case 7:n.sent(),n.label=8;case 8:return[4,BCe.invoke()];case 9:if(n.sent(),r=ut())try{vb(location.href,r.endpointUrl)}catch{He.warn(`liff.init() was called with a current URL that is not related to the endpoint URL.
1016`.concat(location.href," is not under ").concat(r.endpointUrl))}return[4,u()];case 10:return n.sent(),zxe(window.location.href),[2]}var i,E,o,a,s,A})})}var jM=function(e,u){return new Promise(function(t,r){if(e){var n=document.createElement("script");n.type="module",n.onload=function(){t()},n.src=e,document.head.appendChild(n)}else r(te(Sr,u))})},bCe=function(e){var u="https://static.line-scdn.net/lui/edge/versions/1.13.0/lui-alert.js";return u&&e&&(u=u.replace(/\d{1,2}\.\d{1,2}\.\d{1,3}/,e)),jM(u,"LUI_ALERT_URL is not defined")},q8="liffAlert",Nh=function(){return ae(void 0,void 0,void 0,function(){var e;return se(this,function(u){switch(u.label){case 0:return e=function(){var r,n=document.querySelector('script[src*="luivendor.js"]');if(n&&(!((r=n.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g))===null||r===void 0)&&r.length))return n.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g)[0]}(),e?[3,2]:[4,jM("https://static.line-scdn.net/lui/edge/versions/1.13.0/luivendor.js","LUI_VENDOR_URL is not defined")];case 1:u.sent(),u.label=2;case 2:return[4,bCe(e)];case 3:return u.sent(),[4,(t=Ua(6),new Promise(function(){var r=document.createElement("div");r.innerHTML='<lui-alert id="'.concat(q8,"-").concat(t,'" shown title="').concat(Mh("alert.android.extBrowser.autoLoginWorkaround.title"),'" message="').concat(Mh("alert.android.extBrowser.autoLoginWorkaround.desc"),'" button="').concat(Mh("alert.android.extBrowser.autoLoginWorkaround.button.text"),'"></lui-alert>'),document.body.appendChild(r);var n=document.getElementById("".concat(q8,"-").concat(t));n&&n.addEventListener("lui-button-click",function(){var i=window.open(Ac(window.location.href,{liffIsEscapedFromApp:"true"}),"_blank");i&&(i.location.href=Ac(window.location.href,{liffIsEscapedFromApp:"true"}),window.close())})}))];case 4:return u.sent(),[2]}var t})})},J8=function(e){try{return new URL(e).searchParams.get("lineAppVersion")}catch{return null}};function xCe(){return ae(this,void 0,void 0,function(){var e,u,t;return se(this,function(r){switch(r.label){case 0:return e=(t=J8(window.location.href))!==null&&t!==void 0?t:J8(window.document.referrer),e&&er(e,"13.10.0")>=0?[2]:Ye()||$t()!=="android"||(u=Rt.parse(window.location.search))[x1]||u.liffIsEscapedFromApp?[2]:u.liffClientId&&document.referrer.includes("access.".concat("line.me"))?(window.location.href=Ac(window.location.href,{liffIsEscapedFromApp:"true"}),[2]):u.liffClientId&&document.referrer.includes("android-app://")?[4,Nh()]:[3,2];case 1:r.sent(),r.label=2;case 2:return u.liffClientId&&document.referrer===""&&window.history.length===1?[4,Nh()]:[3,4];case 3:r.sent(),r.label=4;case 4:return!document.referrer.includes("liffClientId")||document.referrer.includes("liffIsEscapedFromApp")?[3,6]:[4,Nh()];case 5:r.sent(),r.label=6;case 6:return[2]}})})}var CCe=function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.hooks={before:new Ns,after:new Ns},t.internalHooks={beforeFinished:new Ns,beforeSuccess:new Ns,error:new Ns},t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"init"}
1016,enumerable:!1,configurable:!0}),u.prototype.install=function(t){var r=t.liff;return this.liffForWindow=r,this.init.bind(this)},u.prototype.init=function(t,r,n){return ae(this,void 0,void 0,function(){var i;return se(this,function(E){switch(E.label){case 0:return[4,this.hooks.before.call()];case 1:E.sent(),o=this.liffForWindow,window&&!window.liff&&(window.liff=o),E.label=2;case 2:return E.trys.push([2,9,,11]),[4,Promise.all([lCe(this.liffForWindow),wCe(t,this.internalHooks.beforeFinished.call)])];case 3:return E.sent(),ACe(),[4,this.internalHooks.beforeSuccess.call()];case 4:return E.sent(),!t.withLoginOnExternalBrowser||lt()?[3,6]:(_A(),[4,new Promise(function(){})]);case 5:E.sent(),E.label=6;case 6:return[4,xCe()];case 7:return E.sent(),[4,this.hooks.after.call()];case 8:return E.sent(),typeof r=="function"&&r(),HL(),[3,11];case 9:return i=E.sent(),[4,this.internalHooks.error.call(i)];case 10:throw E.sent(),typeof n=="function"&&n(i),i;case 11:return[2]}var o})})},u}(Te);function KM(){return{liffApp:"https://liff.".concat("line.me"),liffServer:"https://api.".concat("line.me"),miniApp:"https://miniapp.".concat("line.me")}}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getOrigins"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return KM()}},u})(Te);function WM(){return navigator.language}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getLanguage"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return WM()}},u})(Te);function VM(){var e=nn();if(!e||!Ye()||$t()!=="ios")return navigator.language;if(er(e,"14.11.0")>=0){var u=window.prompt("LIFF:GET_APP_LANGUAGE");if(u)return u}return navigator.language}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getAppLanguage"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(){return VM()}},u})(Te);function zM(e){return ae(this,void 0,void 0,function(){var u,t,r,n,i,E,o;return se(this,function(a){switch(a.label){case 0:return function(s){if(!Nxe.includes(s))throw te(Su,"Unexpected permission name.");var A=ut();return!!(A!=null&&A.scope.includes(s))}(e)?(u=Fr())?[4,Bb(u)]:[3,2]:[2,{state:"unavailable"}];case 1:t=a.sent(),r=unescape(t.scope).split(" ");try{for(n=Ic(r),i=n.next();!i.done;i=n.next())if(i.value.includes(e))return[2,{state:"granted"}]}catch(s){E={error:s}}
1016finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(E)throw E.error}}return[2,{state:"prompt"}];case 2:throw te(Vu,"Need access_token for api call, Please login first")}})})}function GM(){var e,u,t=ut();return!!t&&t.type!=="square_chat"&&(Kc("skipChannelVerificationScreen")||!Ye()&&((u=(e=t.availability)===null||e===void 0?void 0:e.skipChannelVerificationScreen)===null||u===void 0?void 0:u.permission))}function DCe(){var e=_u().liffId;if(e)return Zu("".concat(Du("unauthorizedPermissions"),"?liffId=").concat(e),{headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(Fr())}});throw te(Vu,"liffId is required")}var ld,Rl=Ot.on,Nl=Ot.off,SCe=Ot.open,FCe=function(){function e(u,t){var r=this;this.onSubmit=function(n){return ae(r,[n],void 0,function(i){var E=i.newAccessToken,o=i.newIdToken,a=i.ICA_ERROR;return se(this,function(s){return E?this.resolve({newAccessToken:E,newIdToken:o}):a&&this.reject(te(it,a)),this.teardown(),[2]})})},this.onClose=function(){return ae(r,void 0,void 0,function(){return se(this,function(n){return this.reject(te(Vu,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onCancel=function(){return ae(r,void 0,void 0,function(){return se(this,function(n){return this.reject(te(Vu,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onError=function(n){return ae(r,void 0,void 0,function(){return se(this,function(i){return this.reject(n),this.teardown(),[2]})})},this.resolve=u,this.reject=t,this.setup()}return e.prototype.setup=function(){Rl("submit",this.onSubmit),Rl("close",this.onClose),Rl("cancel",this.onCancel),Rl("error",this.onError)},e.prototype.teardown=function(){Nl("submit",this.onSubmit),Nl("close",this.onClose),Nl("cancel",this.onCancel),Nl("error",this.onError),ld=void 0},e.prototype.open=function(u){var t=_u().liffId;t?SCe({url:"".concat("https://liff.line.me/1656032314-Xgrw5Pmk"),appData:{liffId:t,channelId:Ab(t),accessToken:Fr()},onBeforeTransition:u}).catch(this.reject):this.reject(te(Vu,"liffId is required"))},e}();function YM(){return ae(this,void 0,void 0,function(){var e,u,t,r,n,i,E=this;return se(this,function(o){switch(o.label){case 0:if(!GM())throw te(Ze,"SkipChannelVerificationScreen is unavailable.");return ld&&ld.teardown(),e=function(){return ae(E,void 0,void 0,function(){var a;return se(this,function(s){switch(s.label){case 0:return[4,DCe()];case 1:if(a=s.sent(),(Ye()?a:a.filter(function(A){return A!=="chat_message.write"})).length<=0)throw te(Ze,"All permissions have already been approved.");return[2]}})})},[4,new Promise(function(a,s){(ld=new FCe(a,s)).open(e)})];case 1:return u=o.sent(),t=u.newAccessToken,r=u.newIdToken,mb(t),r?(n=uM())?[4,Db(r,n)]:[3,3]:[3,3];case 2:(i=o.sent())&&(hb(r),gb(i)),o.label=3;case 3:return[2]}})})}function _Ce(){return ae(this,void 0,void 0,function(){var e,u;return se(this,function(t){switch(t.label){case 0:if(!(e=Fr()))throw te(Vu,"Need access_token for api call, Please login first");return[4,Bb(e)];case 1:return u=t.sent(),[2,decodeURIComponent(u.scope).split(" ").filter(function(r){return r!==""})]}})})}function fa(e,u){var t=this;return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ae(t,void 0,void 0,function(){var i,E,o;return se(this,function(a){switch(a.label){case 0:return i=(r.length>0?r[r.length-1]:{}).ignorePermissionCheck,E=i!==void 0&&i,[4,zM(u)];case 1:if((o=a.sent().state)!=="unavailable")return[3,2];throw te(Ze,"The permission is not in LIFF app scope.");case 2:return o!=="prompt"||!GM()||E||!Ye()&&u==="chat_message.write"?[3,4]:[4,YM()];case 3:return a.sent(),[3,5];case 4:E&&r.pop(),a.label=5;case 5:return[4,e.apply(void 0,Uu([],$e(r),!1))];case 6:return[2,a.sent()]}})})}}var ICe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"permission"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return{query:zM,requestAll:YM,getGrantedAll:_Ce}},u}(Te),TCe=new ICe;function Fb(){return Zu(Du("profile"))}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getProfile"}
1016,enumerable:!1,configurable:!0}),u.prototype.install=function(){return fa(Fb,"profile")},u})(Te);var XM="is_liff_external_open_window",PCe=function(e,u){return e?"&".concat(e.split("&").filter(function(t){return t.indexOf(XM)===-1}).join("&").concat("".concat(u?"#".concat(u):""))):"".concat(u?"#".concat(u):"")};function Fp(e){if(!function(i){if(!i||typeof i!="object")return!1;var E=i,o=E.url,a=E.external,s=$e([typeof o,typeof a],2),A=s[0],c=s[1];return A==="string"&&o!==""&&(c==="undefined"||c==="boolean")}(e))throw te(Su,"Invalid parameters for liff.openWindow()");var u=nn();if(Ye())if(u!==null&&$t()==="ios"&&er(u,"9.19")>=0||!window._liff.postMessage){var t=e.url,r=e.external,n=r!==void 0&&r;window.open(function(i,E){var o,a,s,A,c,l,f,p,h;(function(m){return m.indexOf("#")!==-1&&m.indexOf("?")!==-1&&m.indexOf("#")<m.indexOf("?")})(i)||function(m){return m.indexOf("?")===-1&&m.indexOf("#")!==-1}(i)?(f=(o=$e(i.split("#"),2))[0],a=o[1],p=(s=$e((a===void 0?"":a).split("?"),2))[0],h=s[1]):(f=(A=$e(i.split("?"),2))[0],c=A[1],h=(l=$e((c===void 0?"":c).split("#"),2))[0],p=l[1]);var w=PCe(h,p);return"".concat(f,"?").concat(XM,"=").concat(!!E).concat(w)}(t,n))}else gs("openWindow",e);else window.open(e.url,"_blank")}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"openWindow"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(t){return Fp(t)}},u})(Te);var OCe=function(e){return typeof e=="object"&&e!==null&&function(u){return typeof u=="string"||u instanceof String}(e.type)};function e5(e){return Promise.reject(te(Su,e))}function ZM(e){if(!function(t){return Array.isArray(t)&&t.every(OCe)}(e))return e5("Parameter 'messages' must be an array of { type, ... }");var u=e.length;return u<1||u>5?e5("Number of messages should be in range 1 to ".concat(5,".")):Zu(Du("message"),{method:"POST",body:JSON.stringify({messages:e})}).catch(kCe)}var kCe=function(e){if(e.code==="403"){var u=nn()==="12.0.0",t=$t()==="ios",r=fb();u&&(t||r)&&window.alert(`LINEアプリをLINE 12.0.1以降にアップデートしてください。
1017Please update your LINE app to LINE 12.0.1 or later.`)}throw e};(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"sendMessages"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return fa(ZM,"chat_message.write")},u})(Te);function qM(){return Zu(Du("friendship"))}(function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"getFriendship"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return fa(qM,"profile")},u})(Te);function UCe(){return ae(this,void 0,void 0,function(){var e,u;return se(this,function(t){switch(t.label){case 0:if(!lt())return[3,6];t.label=1;case 1:return t.trys.push([1,5,,6]),(e=xp())&&e.sub?[2,e.sub]:[3,2];case 2:return[4,Fb()];case 3:if((u=t.sent())&&u.userId)return[2,u.userId];t.label=4;case 4:return[3,6];case 5:return t.sent(),He.debug("can't retrieve Mid/Uid because of something wrong"),[3,6];case 6:return[2]}})})}function QCe(){return ae(this,void 0,void 0,function(){var e;return se(this,function(u){switch(u.label){case 0:return[4,UCe()];case 1:return(e=u.sent())&&e.substring(0,1)==="u"?[2,e]:[2]}})})}var LCe=function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.utsExtra={isLiffSuccessful:!1,isLoggedIn:!1,id:"",version:""},t.injected=!1,t}return Pe(u,e),Object.defineProperty(u,"CUSTOMPLACEID_INIT",{get:function(){return"liff.init"},enumerable:!1,configurable:!0}),Object.defineProperty(u,"CUSTOMTYPE",{get:function(){return"liffSdk"},enumerable:!1,configurable:!0}),Object.defineProperty(u,"LiffUtsLoginStatus",{get:function(){return{isLoggedIn:1,isLiffSuccessful:2}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"name",{get:function(){return"analytics"},enumerable:!1,configurable:!0}),u.prototype.install=function(t){var r=t.liff,n=t.internalHooks;this.liffCore=r,n.init.beforeFinished(this.beforeInitFinished.bind(this)),n.init.beforeSuccess(this.beforeInitSuccess.bind(this)),n.init.error(this.initError.bind(this))},u.prototype.createDeprecatedUtsProxy=function(t){return new Proxy(t,{get:function(r,n){var i=r[n];return typeof i=="function"?function(){for(var E=[],o=0;o<arguments.length;o++)E[o]=arguments[o];return He.warn("[LIFF Analytics] ".concat("LIFF Analytics is deprecated and will be removed in a future version. Please migrate to alternative analytics solutions."," Called method: ").concat(String(n))),i.apply(r,E)}:i}})},u.prototype.changeRatioToUTSFormat=function(t){if(t&&Number.isFinite(t))return Math.round(100*t)},u.prototype.setExtra=function(){var t,r=this.utsExtra,n=r.isLiffSuccessful,i=r.isLoggedIn,E=r.id,o=r.version,a=(i?u.LiffUtsLoginStatus.isLoggedIn:0)|(n?u.LiffUtsLoginStatus.isLiffSuccessful:0);(t=this.uts)===null||t===void 0||t.setExtra("liff",{id:E,loginStatus:a,version:o})},u.prototype.assignUtsExtra=function(t){Object.assign(this.utsExtra,t)},u.prototype.setVersion=function(t){this.assignUtsExtra({version:t}
1017),He.debug("[LIFFUTS][SDK version] ".concat(t)),this.setExtra()},u.prototype.setLiffId=function(t){this.assignUtsExtra({id:t}),He.debug("[LIFFUTS][LIFFID] ".concat(t)),this.setExtra()},u.prototype.setIsLoggedIn=function(t){this.assignUtsExtra({isLoggedIn:t}),He.debug("[LIFFUTS][isLoggedIn] ".concat(t)),this.setExtra()},u.prototype.sendLiffInit=function(){var t;He.debug("[LIFFUTS][sendCustom] liff.init"),(t=this.uts)===null||t===void 0||t.sendCustom({type:u.CUSTOMTYPE,params:{placeId:u.CUSTOMPLACEID_INIT}})},u.prototype.setIsLiffSuccessful=function(t){this.assignUtsExtra({isLiffSuccessful:t}),He.debug("[LIFFUTS][isLiffInitSuccessful] ".concat(t)),this.setExtra()},u.prototype.prepareReferrer=function(t){var r={};Object.keys(t).forEach(function(n){if(Lxe.includes(n)){var i=t[n];typeof i=="string"&&i&&(r[n.replace(/^liff\.ref\./,"")]=i)}}),Object.keys(r).length>0&&(this.referrer=r)},u.prototype.beforeInitFinished=function(){return ae(this,void 0,void 0,function(){var t,r,n,i,E,o,a,s,A,c,l,f;return se(this,function(p){switch(p.label){case 0:if(t=Rt.parse(window.location.search),this.prepareReferrer(t),r=ut(),!(n=r==null?void 0:r.utsTracking))return[2];if(i=_u(),E=i.liffId,o=i.analytics,n.mode!=="auto"||!o)return[3,6];He.warn("[LIFF Analytics] LIFF Analytics is deprecated and will be removed in a future version. Please migrate to alternative analytics solutions."),He.debug("[LIFFUTS] ".concat(new Date().toUTCString())),p.label=1;case 1:return p.trys.push([1,3,,4]),a=this,[4,new Promise(function(h,w){var m=window.uts,g=document.createElement("script");g.type="text/javascript",g.src="https://static.line-scdn.net/uts/edge/4.1.0/uts.js",g.onload=function(){var v=window.uts;h(v),window.uts=m},g.onerror=function(v){w(v)},document.getElementsByTagName("head")[0].appendChild(g)})];case 2:return a.uts=p.sent(),[3,4];case 3:return s=p.sent(),He.debug("[LIFFUTS] cannot load UTS, reason: ".concat(s)),[2];case 4:return A=hu(hu({}
1017,o.context),{utsId:o.context.utsId,appName:o.context.appName,appEnv:o.context.appEnv||"release"}),c=hu(hu({endpoint:"https://uts-front.line-apps.com"},o.options),{sampleRate:this.changeRatioToUTSFormat(n.sendRatio),version:"current"}),this.uts.init(A,c),[4,QCe()];case 5:(l=p.sent())&&(He.debug("[LIFFUTS][mid] ".concat(l)),this.uts.setMid(l)),r!=null&&r.tid&&(He.debug("[LIFFUTS][tid] ".concat(r.tid)),this.uts.setTid(r.tid)),this.referrer&&(He.debug("liff.ref.referrer",this.referrer),this.uts.setSessionParams(this.referrer)),E&&this.setLiffId(E),this.setIsLoggedIn(lt()),this.setVersion(Cp()),f=GL(location.href),He.debug("[LIFFUTS][url] ".concat(f)),this.uts.setUrl(f),this.liffCore.analytics=this.createDeprecatedUtsProxy(this.uts),this.injected=!0,p.label=6;case 6:return[2]}})})},u.prototype.beforeInitSuccess=function(){return this.injected&&(this.setIsLiffSuccessful(!0),this.sendLiffInit()),Promise.resolve()},u.prototype.initError=function(){return this.injected&&(this.setIsLiffSuccessful(!1),this.sendLiffInit()),Promise.resolve()},u}(Te),MCe=function(e){He.warn("[LIFF Analytics] LIFF Analytics is deprecated and will be removed in a future version. Please migrate to alternative analytics solutions. Called function: sendShareTargetPicker"),He.debug("[LIFFUTS][sendCustom] liff.shareTargetPicker"),e.sendCustom({type:"liffSdk",params:{placeId:"liff.shareTargetPicker"}})},Po,RCe=function(){function e(u,t){var r=this;this.resolve=u,this.reject=t,this.onSubmit=function(n){var i=n.message;r.resolve({value:i}),r.destroy()},this.onClose=function(){r.resolve({value:null}),r.destroy()},this.onCancel=function(){r.resolve({value:null}),r.destroy()},this.onError=function(n){r.reject(n),r.destroy()},this.start()}return e.prototype.start=function(){Ot.on("submit",this.onSubmit),Ot.on("close",this.onClose),Ot.on("cancel",this.onCancel),Ot.on("error",this.onError)},e.prototype.destroy=function(){Ot.off("submit",this.onSubmit),Ot.off("close",this.onClose),Ot.off("cancel",this.onCancel),Ot.off("error",this.onError),Po=void 0},e}();function NCe(){return ae(this,void 0,void 0,function(){return se(this,function(e){return ur.scanCodeV2(),Po&&Po.destroy(),[2,new Promise(function(u,t){Po=new RCe(u,t),Ot.open({url:"https://liff.line.me/1656359117-jxmx5e11"}).catch(function(r){Po==null||Po.destroy(),t(r)})})]})})}var $Ce=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"scanCodeV2"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return NCe},u}(Te),HCe=new $Ce,JM={};function jCe(){return JM}function KCe(e,u){var t=jCe(),r=$e(u.split("."),1)[0],n=t[u];n&&e.removeEventListener(r,n),t[u]=null}var u5=!1,t5=!1;function WCe(e,u,t,r){u5||(t5=function(){var i=!1;try{var E=Object.defineProperty({},"passive",{get:function(){return i=!0,!1}});window.addEventListener("test",E,E),window.removeEventListener("test",E,E)}catch{i=!1}return i}(),u5=!0);var n=$e(u.split("."),1)[0];return new Promise(function(i){var E=function(o){i(o),t&&t(o)};(function(o,a){JM[o]=a})(u,E),e.addEventListener(n,E,!!t5&&r)})}function r5(e,u,t,r){if(t===void 0&&(t={}),typeof e!="object"||!e.postMessage)throw te(Su,"target must be window object");if(typeof u!="string")throw te(Su,"keyname must be string");if(typeof t!="object")throw te(Su,"incorrect body format. It should be Object or Array comprised of Object");if(!r)throw te(Su,"serverEndPointUrl isn't passed. please fill up with proper url");if(r==="*")throw new Error("serverEndPointUrl doesn't allow to set '*'");var n={name:u,body:t};e.postMessage(n,r)}function VCe(e,u,t,r){WCe(e,"message.".concat(u),function(n,i,E){return function(o){He.debug("messageReceive",o),o.origin===E&&o.data.name===n&&i(o)}}(u,t,r))}var zCe=function(){function e(){this.payloadToShareTargetPicker=null,this.popupWindow=null,this.doesWaitForSubwindowResult=!1}return e.getInstance=function(){return e.instance?e.instance.reset():e.instance=new e,e.instance},e.prototype.init=function(u){return ae(this,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),this.liffId=u.referrer.liffId,this.doesWaitForSubwindowResult=!(!u.options||!u.options.waitForSubwindowResult),this.allowPostMessageOrigin=this.initAllowPostMessageOrigin(),this.payloadToShareTargetPicker=this.buildPayloadToShareTargetPicker(u),window.AbortController&&(this.abortController=new window.AbortController),this.prepareAnotherWindow(),[4,this.initOtt()];
1017case 1:return n.sent(),this.initListener(),this.openAnotherWindow(),this.doesWaitForSubwindowResult?[4,this.pollingShareResult()]:[3,3];case 2:return t=n.sent(),this.finalize(),[2,t];case 3:case 6:return[2];case 4:return[3,6];case 5:if(r=n.sent(),this.finalize(),r.name!=="AbortError")throw r;return[3,6]}})})},e.prototype.resetAllVariables=function(){this.liffId="",this.allowPostMessageOrigin="",this.payloadToShareTargetPicker=null,this.ott="",this.popupWindow=null,this.timeoutIDForHealthCheck=null,this.abortController=null,this.internalError=null,this.doesWaitForSubwindowResult=!1},e.prototype.reset=function(){this.finalize(),this.resetAllVariables()},e.prototype.finalize=function(){var u,t;this.abortController&&this.abortController.abort(),Ye()||(u=this.timeoutIDForHealthCheck,t=this.popupWindow,KCe(window,"message.receivedHealthcheck"),u&&clearTimeout(u),t&&!t.closed&&t.close())},e.prototype.buildPayloadToShareTargetPicker=function(u){return{messages:u.messages,isMultiple:u.isMultiple,referrer:u.referrer}},e.prototype.initAllowPostMessageOrigin=function(u){return u===void 0&&(u=Du("shareTargetPicker")),Gxe(u)},e.prototype.initOtt=function(){return ae(this,void 0,void 0,function(){var u,t,r;return se(this,function(n){switch(n.label){case 0:return this.abortController&&(u=this.abortController.signal),t="".concat(Du("shareTargetPickerOtt"),"/").concat(this.liffId,"/ott"),r=this,[4,Zu(t,{method:"GET",signal:u}).then(function(i){return i.ott})];case 1:return r.ott=n.sent(),[2]}})})},e.prototype.prepareAnotherWindow=function(){Ye()||($t()!=="ios"||fb()?this.popupWindow=window.open("","liffpopup","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):this.popupWindow=window.open())},e.prototype.openAnotherWindow=function(){if(Ye()&&this.payloadToShareTargetPicker)u=this.liffId,t=this.ott,r=this.payloadToShareTargetPicker,n={liffId:u,ott:t,data:JSON.stringify(r),closeModals:!1},location.href="".concat("line://picker","?").concat(Rt.stringify(n));else{if(this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),!this.popupWindow)throw te(ty);(function(i,E,o){var a={liffId:E,ott:o};i.location.href="".concat(Du("shareTargetPicker"),"?").concat(Rt.stringify(a))})(this.popupWindow,this.liffId,this.ott)}var u,t,r,n},e.prototype.initListener=function(){var u,t;Ye()||(u=this.onReceivedHealthcheck.bind(this),t=this.allowPostMessageOrigin,VCe(window,"receivedHealthcheck",u,t))},e.prototype.healthCheck=function(){return ae(this,void 0,void 0,function(){var u;return se(this,function(t){switch(t.label){case 0:if(this.popupWindow&&!this.popupWindow.closed)return[3,7];if(!this.doesWaitForSubwindowResult)return[3,5];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.onCanceled()];case 2:return t.sent(),[3,4];case 3:return u=t.sent(),this.internalError=u,[3,4];case 4:return[3,6];case 5:this.finalize(),t.label=6;case 6:return[3,8];case 7:r=this.popupWindow,n=this.allowPostMessageOrigin,r5(r,"healthcheck",void 0,n),this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),t.label=8;case 8:return[2]}var r,n})})},e.prototype.onReceivedHealthcheck=function(){if(!this.popupWindow||!this.payloadToShareTargetPicker)throw te(ty);var u,t,r;u=this.popupWindow,t=this.payloadToShareTargetPicker,r=this.allowPostMessageOrigin,r5(u,"ready",t,r)},e.prototype.onCanceled=function(){return ae(this,void 0,void 0,function(){var u,t;return se(this,function(r){switch(r.label){case 0:if(Ye()||!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(u=this.abortController.signal),t={liffId:this.liffId,ott:this.ott},[4,Zu("".concat(Du("shareTargetPickerResult"),"?").concat(Rt.stringify(t)),{method:"POST",signal:u,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:"result=CANCEL"})];case 1:return[2,r.sent().status==="ok"]}})})},e.prototype.getShareResult=function(){return ae(this,void 0,void 0,function(){var u,t;return se(this,function(r){if(!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(u=this.abortController.signal),t={liffId:this.liffId,ott:this.ott},He.debug("fetch: getShareResult"),[2,Zu("".concat(Du("shareTargetPickerResult"),"?").concat(Rt.stringify(t)),{method:"GET",headers:{Accept:"application/json"},signal:u})]})})},e.isPollingTimeOut=function(u,t){return(t-u)/6e4>=10},e.prototype.pollingShareResult=function(){return ae(this,void 0,void 0,function(){var u,t;return se(this,function(r){switch(r.label){case 0:u=Date.now(),r.label=1;case 1:if(e.isPollingTimeOut(u,Date.now()))return[3,4];if(this.internalError)throw this.internalError;
1017return[4,this.getShareResult()];case 2:if((t=r.sent())&&t.result)switch(t.result){case"SUCCESS":return[2,{status:"success"}];case"CANCEL":return[2];default:throw new Error(t.resultDescription)}return[4,new Promise(function(n){setTimeout(n,500)})];case 3:return r.sent(),[3,1];case 4:throw new Error("Timeout: not finished within ".concat(10,"min"))}})})},e}(),GCe=function(e){function u(){var t=e.apply(this,Uu([],$e(arguments),!1))||this;return t.shareTargetPicker=function(r){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return ae(t,Uu([r],$e(n),!1),void 0,function(E,o){var a,s,A,c,l,f,p;return o===void 0&&(o={}),se(this,function(h){switch(h.label){case 0:if(ur.shareTargetPicker(),!E||!Array.isArray(E)||E.length===0)throw te(Su,"no proper argument");if(E.length>Qxe)throw te(Su,"exceed the limit of num of messages");if(!(a=_u().liffId))throw te(Sr);window.liff&&(s=window.liff).analytics&&MCe(s.analytics),A=o.isMultiple===void 0||o.isMultiple,h.label=1;case 1:return h.trys.push([1,3,,4]),c=zCe.getInstance(),l=nn(),f={waitForSubwindowResult:!0},Ye()&&l&&er(l,"10.11.0")<0&&(f.waitForSubwindowResult=!1),[4,c.init({messages:E,isMultiple:A,referrer:{liffId:a,url:location.origin},options:f})];case 2:return[2,h.sent()];case 3:throw(p=h.sent())instanceof zL?p:te(B1,p.message);case 4:return[2]}})})},t}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"shareTargetPicker"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return this.shareTargetPicker},u}(Te),YCe=new GCe;function eR(e,u){return ae(this,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:return t=Du("createShortcutOnHomeScreen"),(r=new URL(t)).searchParams.append("liffId",e),r.searchParams.append("url",u.url),u.description&&r.searchParams.append("description",u.description),[4,Zu(r.toString())];case 1:return[2,n.sent().shortcutPageUrl]}})})}function uR(e){if(iy(e))throw te(Su,"LINE URL scheme are not supported in the current environment.")}function XCe(e,u){return ae(this,void 0,void 0,function(){var t;return se(this,function(r){switch(r.label){case 0:return Ye()?[2]:[4,new Promise(function(n){setTimeout(n,1e3)})];case 1:return r.sent(),document.visibilityState==="hidden"?[2]:(uR(u.url),[4,eR(e,u)]);case 2:return t=r.sent(),Fp({url:t,external:!0}),[2]}})})}function ZCe(e,u){return ae(this,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:return t={liffId:e,targetUrl:u.url,description:u.description},r="".concat("line://shortcut/liff","?").concat(Rt.stringify(t)),location.href=r,[4,XCe(e,u)];case 1:return n.sent(),[2]}})})}function qCe(e,u){return ae(this,void 0,void 0,function(){var t;return se(this,function(r){switch(r.label){case 0:return uR(u.url),[4,eR(e,u)];case 1:return t=r.sent(),Fp({url:t,external:!0}),[2]}})})}function tR(e){var u;if(e.url===void 0||e.url===null||e.url==="")throw te(Su,"no proper argument");var t=ut();if(!(!((u=t==null?void 0:t.availability.addToHomeLineScheme)===null||u===void 0)&&u.permission)){if(iy(e.url))throw te(Ze,"No permission to specify line schema in url.");if(e.description)throw te(Ze,"No permission to specify description.")}if(!iy(e.url)){if(!t)throw te(Ze,"Could not get Context from server.");t.liffId!==lb(e.url)&&vb(e.url,t.endpointUrl)}}function JCe(e){return ae(this,void 0,void 0,function(){return se(this,function(u){switch(u.label){case 0:return tR(e),ur.internalCreateShortcutOnHomeScreen(),[4,rR(e)];case 1:return u.sent(),[2]}})})}function eDe(e){return ae(this,void 0,void 0,function(){return se(this,function(u){switch(u.label){case 0:return tR(e),ur.createShortcutOnHomeScreen(),[4,rR(e)];case 1:return u.sent(),[2]}})})}function rR(e){return ae(this,void 0,void 0,function(){var u;return se(this,function(t){switch(t.label){case 0:if(!(u=_u().liffId))throw te(zu,"Invalid LIFF ID.");return $t()==="ios"?[4,qCe(u,e)]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,ZCe(u,e)];case 3:t.sent(),t.label=4;case 4:return[2]}})})}var uDe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"createShortcutOnHomeScreen"}
1017,enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(t){return eDe(t)}},u}(Te),tDe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"internalCreateShortcutOnHomeScreen"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return function(t){return JCe(t)}},u}(Te);function rDe(e){return ae(this,arguments,void 0,function(u){var t=u.productIds;return se(this,function(r){switch(r.label){case 0:return[4,gs("iap.getPlatformProducts",{productIds:t}).catch(function(n){throw n.code&&n.description?te(n.code,n.description):te(it,"Failed to get platform products",{cause:n})})];case 1:return[2,r.sent().products]}})})}var nDe=function(e){return ae(void 0,[e],void 0,function(u){var t=u.productId,r=u.orderId;return se(this,function(n){switch(n.label){case 0:if(!window.confirm("Proceed with a test in-app purchase?"))throw te("CANCELED","Transaction was canceled.");return[4,Zu(Du("iapVirtualConfirm"),{method:"POST",body:JSON.stringify({productId:t,orderId:r})})];case 1:return n.sent(),[2]}})})},iDe=function(e){return ae(void 0,[e],void 0,function(u){var t,r=u.productId,n=u.orderId;return se(this,function(i){switch(i.label){case 0:return(t=ut())!=null&&t.isIapSandbox?[4,nDe({productId:r,orderId:n})]:[3,2];case 1:case 3:return i.sent(),[2];case 2:return[4,gs("iap.createPayment",{productId:r,orderId:n}).catch(function(E){throw E.code&&E.description?te(E.code,E.description):te(it,"Failed to get platform products",{cause:E})})]}})})},EDe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"iap"},enumerable:!1,configurable:!0}),u.prototype.install=function(){var t=this;return{getPlatformProducts:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ae(t,void 0,void 0,function(){return se(this,function(i){return ur.iap(),[2,rDe.apply(void 0,Uu([],$e(r),!1))]})})},createPayment:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ae(t,void 0,void 0,function(){return se(this,function(i){return ur.iap(),[2,iDe.apply(void 0,Uu([],$e(r),!1))]})})},requestConsentAgreement:function(){return ae(t,void 0,void 0,function(){return se(this,function(r){return ur.iap(),[2,ae(void 0,void 0,void 0,function(){return se(this,function(n){switch(n.label){case 0:return[4,gs("iap.requestConsentAgreement").catch(function(i){throw i.code&&i.description?te(i.code,i.description):te(it,"Failed to request consent agreement",{cause:i})})];case 1:return n.sent(),[2]}})})]})})}}},u}(Te),fd,$l=Ot.on,Hl=Ot.off,oDe=Ot.open,aDe=function(){function e(u,t){var r=this;this.onSubmit=function(n){return ae(r,void 0,void 0,function(){return se(this,function(i){return n.ADD_FRIEND_ERROR?this.reject(te(B1,n.ADD_FRIEND_ERROR_MESSAGE||n.ADD_FRIEND_ERROR)):this.resolve(),this.teardown(),[2]})})},this.onClose=function(){return ae(r,void 0,void 0,function(){return se(this,function(n){return this.resolve(),this.teardown(),[2]})})},this.onCancel=function(){return ae(r,void 0,void 0,function(){return se(this,function(n){return this.reject(te(Vu,"user didn't complete the friend request")),this.teardown(),[2]})})},this.onError=function(n){return ae(r,void 0,void 0,function(){return se(this,function(i){return this.reject(n),this.teardown(),[2]})})},this.resolve=u,this.reject=t,this.setup()}return e.prototype.setup=function(){$l("submit",this.onSubmit),$l("close",this.onClose),$l("cancel",this.onCancel),$l("error",this.onError)},e.prototype.teardown=function(){Hl("submit",this.onSubmit),Hl("close",this.onClose),Hl("cancel",this.onCancel),Hl("error",this.onError),fd=void 0},e.prototype.open=function(u){var t=_u().liffId;t?oDe({url:"".concat("https://liff.line.me/1656032314-CWSCEjzU"),appData:{liffId:t,accessToken:Fr()},onBeforeTransition:u}).catch(this.reject):this.reject(te(Sr,"liffId is required"))},e}();function sDe(){return ae(this,void 0,void 0,function(){var e,u;return se(this,function(t){switch(t.label){case 0:e=_u().liffId,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,lM("".concat(Du("oaAddFriendRateLimit"),"?liffId=").concat(e),{method:"POST"})];case 2:return u=t.sent(),[3,4];case 3:throw t.sent(),te(it,"Failed to check rate limit");case 4:if(u.status===429)throw te(kxe,"Rate limit exceeded for friend request");
1017if(!u.ok)throw te(it,"Failed to check rate limit");return[2]}})})}function ADe(){return ae(this,void 0,void 0,function(){return se(this,function(e){switch(e.label){case 0:return ur.requestFriendship(),fd&&fd.teardown(),[4,new Promise(function(u,t){(fd=new aDe(u,t)).open(sDe)})];case 1:return e.sent(),[2]}})})}var cDe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"requestFriendship"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return ADe},u}(Te),lDe=new cDe,_p=new cb,nR="activityCallState",iR="activityRecordingState",fDe=function(e){_p.setItem(nR,JSON.stringify(e))},dDe=function(){var e=_p.getItem(nR);return e===null?null:JSON.parse(e)},pDe=function(e){_p.setItem(iR,JSON.stringify(e))},hDe=function(){var e=_p.getItem(iR);return e===null?null:JSON.parse(e)};function mDe(){ur.activityGetCallState();var e=dDe();if(e===null)throw te(jL,"Call state has not been received from the native client yet");return e}function gDe(){ur.activityGetRecordingState();var e=hDe();if(e===null)throw te(jL,"Recording state has not been received from the native client yet");return e}var yDe=function(e){function u(){return e!==null&&e.apply(this,arguments)||this}return Pe(u,e),Object.defineProperty(u.prototype,"name",{get:function(){return"activity"},enumerable:!1,configurable:!0}),u.prototype.install=function(){return!db()&&Ye()&&(cc("activityCallStateChange",function(t){var r;!((r=t==null?void 0:t.detail)===null||r===void 0)&&r.data&&fDe(t.detail.data)}),cc("activityRecordingStateChange",function(t){var r;!((r=t==null?void 0:t.detail)===null||r===void 0)&&r.data&&pDe(t.detail.data)})),{getCallState:mDe,getRecordingState:gDe}},u}(Te),vDe=new yDe,BDe={},_b=Object.defineProperties(BDe,{getOS:{value:$t,enumerable:!0,writable:!0},getVersion:{value:Cp,enumerable:!0,writable:!0},getLanguage:{value:WM,enumerable:!0,writable:!0},getAppLanguage:{value:VM,enumerable:!0,writable:!0},getOrigins:{value:KM,enumerable:!0,writable:!0},isInClient:{value:Ye,enumerable:!0,writable:!0},isLoggedIn:{value:lt,enumerable:!0,writable:!0},logout:{value:yb,enumerable:!0,writable:!0},getAccessToken:{value:Fr,enumerable:!0,writable:!0},getIDToken:{value:bp,enumerable:!0,writable:!0},getDecodedIDToken:{value:xp,enumerable:!0,writable:!0},getContext:{value:ut,enumerable:!0,writable:!0},openWindow:{value:Fp,enumerable:!0,writable:!0},closeWindow:{value:la,enumerable:!0,writable:!0},getFriendship:{value:fa(qM,"profile"),enumerable:!0,writable:!0},getAId:{value:ZL,enumerable:!0,writable:!0},getProfilePlus:{value:JL,enumerable:!0,writable:!0},getIsVideoAutoPlay:{value:qL,enumerable:!0,writable:!0},getLineVersion:{value:nn,enumerable:!0,writable:!0},isApiAvailable:{value:Kc,enumerable:!0,writable:!0},getProfile:{value:fa(Fb,"profile"),enumerable:!0,writable:!0},sendMessages:{value:fa(ZM,"chat_message.write"),enumerable:!0,writable:!0},subWindow:{value:Ot,enumerable:!0,writable:!0},ready:{value:Oxe,enumerable:!0,writable:!0},id:{get:function(){return _u().liffId||null},enumerable:!0},_dispatchEvent:{value:L9e,enumerable:!0,writable:!0},_call:{value:gs,enumerable:!0,writable:!0},_addListener:{value:cc,enumerable:!0,writable:!0},_removeListener:{value:wb,enumerable:!0,writable:!0},_postMessage:{value:dM,enumerable:!0,writable:!0}}),Ib=new Pxe,ER=new Txe(Ib,_b),wDe=new $L(Ib,ER).install();function bDe(e){wDe.call(_b,e)}[new $L(Ib,ER),new ECe,new CCe,new LCe,HCe,S9e,EM,TCe,YCe,sCe,new B9e,new uDe,new tDe,new EDe,lDe,vDe].forEach(bDe);var Mze=_b;const Se=e=>typeof e=="string",$s=()=>{let e,u;const t=new Promise((r,n)=>{e=r,u=n});return t.resolve=e,t.reject=u,t},n5=e=>e==null?"":""+e,xDe=(e,u,t)=>{e.forEach(r=>{u[r]&&(t[r]=u[r])})},CDe=/###/g,i5=e=>e&&e.indexOf("###")>-1?e.replace(CDe,"."):e,E5=e=>
vendor: 6,885 bytes, line 1017
1017!e||Se(e),IA=(e,u,t)=>{const r=Se(u)?u.split("."):u;let n=0;for(;n<r.length-1;){if(E5(e))return{};const i=i5(r[n]);!e[i]&&t&&(e[i]=new t),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++n}return E5(e)?{}:{obj:e,k:i5(r[n])}},o5=(e,u,t)=>{const{obj:r,k:n}=IA(e,u,Object);if(r!==void 0||u.length===1){r[n]=t;return}let i=u[u.length-1],E=u.slice(0,u.length-1),o=IA(e,E,Object);for(;o.obj===void 0&&E.length;)i=`${E[E.length-1]}.${i}`,E=E.slice(0,E.length-1),o=IA(e,E,Object),o&&o.obj&&typeof o.obj[`${o.k}.${i}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${i}`]=t},DDe=(e,u,t,r)=>{const{obj:n,k:i}=IA(e,u,Object);n[i]=n[i]||[],n[i].push(t)},S1=(e,u)=>{const{obj:t,k:r}=IA(e,u);if(t)return t[r]},SDe=(e,u,t)=>{const r=S1(e,t);return r!==void 0?r:S1(u,t)},oR=(e,u,t)=>{for(const r in u)r!=="__proto__"&&r!=="constructor"&&(r in e?Se(e[r])||e[r]instanceof String||Se(u[r])||u[r]instanceof String?t&&(e[r]=u[r]):oR(e[r],u[r],t):e[r]=u[r]);return e},co=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var FDe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const _De=e=>Se(e)?e.replace(/[&<>"'\/]/g,u=>FDe[u]):e;class IDe{constructor(u){this.capacity=u,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(u){const t=this.regExpMap.get(u);if(t!==void 0)return t;const r=new RegExp(u);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(u,r),this.regExpQueue.push(u),r}}const TDe=[" ",",","?","!",";"],PDe=new IDe(20),ODe=(e,u,t)=>{u=u||"",t=t||"";const r=TDe.filter(E=>u.indexOf(E)<0&&t.indexOf(E)<0);if(r.length===0)return!0;const n=PDe.getRegExp(`(${r.map(E=>E==="?"?"\\?":E).join("|")})`);let i=!n.test(e);if(!i){const E=e.indexOf(t);E>0&&!n.test(e.substring(0,E))&&(i=!0)}return i},py=function(e,u){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[u])return e[u];const r=u.split(t);let n=e;for(let i=0;i<r.length;){if(!n||typeof n!="object")return;let E,o="";for(let a=i;a<r.length;++a)if(a!==i&&(o+=t),o+=r[a],E=n[o],E!==void 0){if(["string","number","boolean"].indexOf(typeof E)>-1&&a<r.length-1)continue;i+=a-i+1;break}n=E}return n},F1=e=>e&&e.replace("_","-"),kDe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,u){console&&console[e]&&console[e].apply(console,u)}};class _1{constructor(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(u,t)}init(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=u||kDe,this.options=t,this.debug=t.debug}log(){for(var u=arguments.length,t=new Array(u),r=0;r<u;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var u=arguments.length,t=new Array(u),r=0;r<u;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var u=arguments.length,t=new Array(u),r=0;r<u;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var u=arguments.length,t=new Array(u),r=0;r<u;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(u,t,r,n){return n&&!this.debug?null:(Se(u[0])&&(u[0]=`${r}${this.prefix} ${u[0]}`),this.logger[t](u))}create(u){return new _1(this.logger,{prefix:`${this.prefix}:${u}:`,...this.options})}clone(u){return u=u||this.options,u.prefix=u.prefix||this.prefix,new _1(this.logger,u)}}var zr=new _1;class Ip{constructor(){this.observers={}}on(u,t){return u.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const n=this.observers[r].get(t)||0;this.observers[r].set(t,n+1)}),this}off(u,t){if(this.observers[u]){if(!t){delete this.observers[u];return}this.observers[u].delete(t)}}emit(u){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.observers[u]&&Array.from(this.observers[u].entries()).forEach(E=>{let[o,a]=E;for(let s=0;s<a;s++)o(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(E=>{let[o,a]=E;for(let s=0;s<a;s++)o.apply(o,[u,...r])})}}class a5 extends Ip{constructor(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=u||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(u){this.options.ns.indexOf(u)<0&&this.options.ns.push(u)}removeNamespaces(u){const t=this.options.ns.indexOf(u);t>-1&&this.options.ns.splice(t,1)}getResource(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,E=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;u.indexOf(".")>-1?o=u.split("."):(o=[u,t],r&&(Array.isArray(r)?o.push(...r):Se(r)&&i?o.push(...r.split(i)):o.push(r)));const a=S1(this.data,o);return!a&&!t&&!r&&u.indexOf(".")>-1&&(u=o[0],t=o[1],r=o.slice(2).join(".")),a||!E||!Se(r)?a:py(this.data&&this.data[u]&&this.data[u][t],r,i)}addResource(u,t,r,n){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const E=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let o=[u,t];r&&(o=o.concat(E?r.split(E):r)),u.indexOf(".")>-1&&(o=u.split("."),n=t,t=o[1]),this.addNamespaces(t),o5(this.data,o,n),i.silent||this.emit("added",u,t,r,n)}addResources(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(Se(r[i])||Array.isArray(r[i]))&&this.addResource(u,t,i,r[i],{silent:!0});n.silent||this.emit("added",u,t,r)}addResourceBundle(u,t,r,n,i){let E=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[u,t];u.indexOf(".")>-1&&(o=u.split("."),n=r,r=t,t=o[1]),this.addNamespaces(t);let a=S1(this.data,o)||{};E.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?oR(a,r,i):a={...a,...r},o5(this.data,o,a),E.silent||this.emit("added",u,t,r)}removeResourceBundle(u,t){this.hasResourceBundle(u,t)&&delete this.data[u][t],this.removeNamespaces(t),this.emit("removed",u,t)}hasResourceBundle(u,t){return this.getResource(u,t)!==void 0}getResourceBundle(u,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(u,t)}:this.getResource(u,t)}getDataByLanguage(u){return this.data[u]}hasLanguageSomeTranslations(u){const t=this.getDataByLanguage(u);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var aR={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,u,t,r,n){return e.forEach(i=>{this.processors[i]&&(u=this.processors[i].process(u,t,r,n))}),u}};const s5={};class I1 extends Ip{constructor(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),xDe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1017i18nFormat","utils"],u,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=zr.create("translator")}changeLanguage(u){u&&(this.language=u)}exists(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(u==null)return!1;const r=this.resolve(u,t);return r&&r.res!==void 0}extractFromKey(u,t){let r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const E=r&&u.indexOf(r)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ODe(u,r,n);if(E&&!o){const a=u.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:u,namespaces:Se(i)?[i]:i};const s=u.split(r);(r!==n||r===n&&this.options.ns.indexOf(s[0])>-1)&&(i=s.shift()),u=s.join(n)}return{key:u,namespaces:Se(i)?[i]:i}}translate(u,t,r){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),u==null)return"";Array.isArray(u)||(u=[String(u)]);const n=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:E,namespaces:o}=this.extractFromKey(u[u.length-1],t),a=o[o.length-1],s=t.lng||this.language,A=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&s.toLowerCase()==="cimode"){if(A){const d=t.nsSeparator||this.options.nsSeparator;return n?{res:`${a}${d}${E}`,usedKey:E,exactUsedKey:E,usedLng:s,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${d}${E}`}return n?{res:E,usedKey:E,exactUsedKey:E,usedLng:s,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:E}const c=this.resolve(u,t);let l=c&&c.res;const f=c&&c.usedKey||E,p=c&&c.exactUsedKey||E,h=Object.prototype.toString.apply(l),w=["[object Number]","[object Function]","[object RegExp]"],m=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,v=!Se(l)&&typeof l!="boolean"&&typeof l!="number";if(g&&l&&v&&w.indexOf(h)<0&&!(Se(m)&&Array.isArray(l))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const d=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,l,{...t,ns:o}):`key '${E} (${this.language})' returned an object instead of string.`;return n?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}if(i){const d=Array.isArray(l),y=d?[]:{},b=d?p:f;for(const C in l)if(Object.prototype.hasOwnProperty.call(l,C)){const S=`${b}${i}${C}`;y[C]=this.translate(S,{...t,joinArrays:!1,ns:o}),y[C]===S&&(y[C]=l[C])}l=y}}else if(g&&Se(m)&&Array.isArray(l))l=l.join(m),l&&(l=this.extendTranslation(l,u,t,r));else{let d=!1,y=!1;const b=t.count!==void 0&&!Se(t.count),C=I1.hasDefaultValue(t),S=b?this.pluralResolver.getSuffix(s,t.count,t):"",F=t.ordinal&&b?this.pluralResolver.getSuffix(s,t.count,{ordinal:!1}):"",I=b&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),R=I&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${S}`]||t[`defaultValue${F}`]||t.defaultValue;!this.isValidLookup(l)&&C&&(d=!0,l=R),this.isValidLookup(l)||(y=!0,l=E);const J=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&y?void 0:l,ee=C&&R!==l&&this.options.updateMissing;if(y||d||ee){if(this.logger.log(ee?"updateKey":"missingKey",s,a,E,ee?R:l),i){const N=this.resolve(E,{...t,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let L=[];const j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&j&&j[0])for(let N=0;N<j.length;N++)L.push(j[N]);else this.options.saveMissingTo==="all"?L=this.languageUtils.toResolveHierarchy(t.lng||this.language):L.push(t.lng||this.language);const ue=(N,Z,q)=>{const k=C&&q!==l?q:J;this.options.missingKeyHandler?this.options.missingKeyHandler(N,a,Z,k,ee,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,a,Z,k,ee,t),this.emit
vendor: 12,015 bytes, line 1017
1017("missingKey",N,a,Z,l)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?L.forEach(N=>{const Z=this.pluralResolver.getSuffixes(N,t);I&&t[`defaultValue${this.options.pluralSeparator}zero`]&&Z.indexOf(`${this.options.pluralSeparator}zero`)<0&&Z.push(`${this.options.pluralSeparator}zero`),Z.forEach(q=>{ue([N],E+q,t[`defaultValue${q}`]||R)})}):ue(L,E,R))}l=this.extendTranslation(l,u,t,c,r),y&&l===E&&this.options.appendNamespaceToMissingKey&&(l=`${a}:${E}`),(y||d)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?l=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${E}`:E,d?l:void 0):l=this.options.parseMissingKeyHandler(l))}return n?(c.res=l,c.usedParams=this.getUsedParamsDetails(t),c):l}extendTranslation(u,t,r,n,i){var E=this;if(this.i18nFormat&&this.i18nFormat.parse)u=this.i18nFormat.parse(u,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const s=Se(u)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(s){const l=u.match(this.interpolator.nestingRegexp);A=l&&l.length}let c=r.replace&&!Se(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),u=this.interpolator.interpolate(u,c,r.lng||this.language||n.usedLng,r),s){const l=u.match(this.interpolator.nestingRegexp),f=l&&l.length;A<f&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&n&&n.res&&(r.lng=this.language||n.usedLng),r.nest!==!1&&(u=this.interpolator.nest(u,function(){for(var l=arguments.length,f=new Array(l),p=0;p<l;p++)f[p]=arguments[p];return i&&i[0]===f[0]&&!r.context?(E.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`),null):E.translate(...f,t)},r)),r.interpolation&&this.interpolator.reset()}const o=r.postProcess||this.options.postProcess,a=Se(o)?[o]:o;return u!=null&&a&&a.length&&r.applyPostProcessor!==!1&&(u=aR.handle(a,u,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),u}resolve(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,n,i,E,o;return Se(u)&&(u=[u]),u.forEach(a=>{if(this.isValidLookup(r))return;const s=this.extractFromKey(a,t),A=s.key;n=A;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=t.count!==void 0&&!Se(t.count),f=l&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),p=t.context!==void 0&&(Se(t.context)||typeof t.context=="number")&&t.context!=="",h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(w=>{this.isValidLookup(r)||(o=w,!s5[`${h[0]}-${w}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(s5[`${h[0]}-${w}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(m=>{if(this.isValidLookup(r))return;E=m;const g=[A];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(g,A,m,w,t);else{let d;l&&(d=this.pluralResolver.getSuffix(m,t.count,t));const y=`${this.options.pluralSeparator}zero`,b=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(g.push(A+d),t.ordinal&&d.indexOf(b)===0&&g.push(A+d.replace(b,this.options.pluralSeparator)),f&&g.push(A+y)),p){const C=`${A}${this.options.contextSeparator}${t.context}`;g.push(C),l&&(g.push(C+d),t.ordinal&&d.indexOf(b)===0&&g.push(C+d.replace(b,this.options.pluralSeparator)),f&&g.push(C+y))}}let v;for(;v=g.pop();)this.isValidLookup(r)||(i=v,r=this.getResource(m,w,v,t))}))})}),{res:r,usedKey:n,exactUsedKey:i,usedLng:E,usedNS:o}}isValidLookup(u){return u!==void 0&&!(!this.options.returnNull&&u===null)&&!(!this.options.returnEmptyString&&u==="")}getResource(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(u,t,r,n):this.resourceStore.getResource(u,t,r,n)}getUsedParamsDetails(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=u.replace&&!Se(u.replace);let n=r?u.replace:u;if(r&&typeof u.count<"u"&&(n.count=u.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const i of t)delete n[i]}return n}static hasDefaultValue(u){const t="defaultValue";for(const r in u)if(Object.prototype.hasOwnProperty.call(u,r)&&t===r.substring(0,t.length)&&u[r]!==void 0)return!0;return!1}}const $h=e=>e.charAt(0).toUpperCase()+e.slice(1);class A5{constructor(u){this.options=u,this.supportedLngs=this.options.supportedLngs||!1,this.logger=zr.create("languageUtils")}getScriptPartFromCode(u){if(u=F1(u),!u||u.indexOf("-")<0)return null;const t=u.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(u){if(u=F1(u),!u||u.indexOf("-")<0)return u;const t=u.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(u){if(Se(u)&&u.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let n=Intl.getCanonicalLocales(u)[0];if(n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n)return n}catch{}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let r=u.split("-");return this.options.lowerCaseLng?r=r.map(n=>n.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=$h(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=$h(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=$h(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?u.toLowerCase():u}isSupportedCode(u){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(u=this.getLanguagePartFromCode(u)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(u)>-1}getBestMatchFromCodes(u){if(!u)return null;let t;return u.forEach(r=>{if(t)return;const n=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&u.forEach(r=>{if(t)return;const n=this.getLanguagePartFromCode(r);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(i=>{if(i===n)return i;if(!(i.indexOf("-")<0&&n.indexOf("-")<0)&&(i.indexOf("-")>0&&n.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===n||i.indexOf(n)===0&&n.length>1))return i})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(u,t){if(!u)return[];if(typeof u=="function"&&(u=u(t)),Se(u)&&(u=[u]),Array.isArray(u))return u;if(!t)return u.default||[];let r=u[t];return r||(r=u[this.getScriptPartFromCode(t)]),r||(r=u[this.formatLanguageCode(t)]),r||(r=u[this.getLanguagePartFromCode(t)]),r||(r=u.default),r||[]}toResolveHierarchy(u,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],u),n=[],i=E=>{E&&(this.isSupportedCode(E)?n.push(E):this.logger.warn(`rejecting language code not found in supportedLngs: ${E}`))};return Se(u)&&(u.indexOf("-")>-1||u.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(u)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(u)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(u))):Se(u)&&i(this.formatLanguageCode(u)),r.forEach(E=>{n.indexOf(E)<0&&i(this.formatLanguageCode(E))}),n}}let UDe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],QDe={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const LDe=["v1","v2","v3"],MDe=["v4"],c5={zero:0,one:1,two:2,few:3,many:4,other:5},RDe=()=>{const e={};return UDe.forEach(u=>{u.lngs.forEach(t=>{e[t]={numbers:u.nr,plurals:QDe[u.fc]}})}),e};class NDe{constructor(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=u,this.options=t,this.logger=zr.create("pluralResolver"),(!this.options.compatibilityJSON||MDe.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=RDe(),this.pluralRulesCache={}}addRule(u,t){this.rules[u]=t}clearCache(){this.pluralRulesCache={}}getRule(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=F1(u==="dev"?"en":u),n=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:n});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let E;try{E=new Intl.PluralRules(r,{type:n})}catch{if(!u.match(/-|_/))return;const a=this.languageUtils.getLanguagePartFromCode(u);E=this.getRule(a,t)}return this.pluralRulesCache[i]=E,E}return this.rules[u]||this.rules[this.languageUtils.getLanguagePartFromCode(u)]}needsPlural(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(u,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(u,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
vendor: 1,299 bytes, line 1017
1017return this.getSuffixes(u,r).map(n=>`${t}${n}`)}getSuffixes(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(u,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((n,i)=>c5[n]-c5[i]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):r.numbers.map(n=>this.getSuffix(u,n,t)):[]}getSuffix(u,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=this.getRule(u,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${u}`),"")}getSuffixRetroCompatible(u,t){const r=u.noAbs?u.plurals(t):u.plurals(Math.abs(t));let n=u.numbers[r];this.options.simplifyPluralSuffix&&u.numbers.length===2&&u.numbers[0]===1&&(n===2?n="plural":n===1&&(n=""));const i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return this.options.compatibilityJSON==="v1"?n===1?"":typeof n=="number"?`_plural_${n.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&u.numbers.length===2&&u.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}
vendor: 24,027 bytes, line 1017
1017shouldUseIntlApi(){return!LDe.includes(this.options.compatibilityJSON)}}const l5=function(e,u,t){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=SDe(e,u,t);return!i&&n&&Se(t)&&(i=py(e,t,r),i===void 0&&(i=py(u,t,r))),i},Hh=e=>e.replace(/\$/g,"$$$$");class $De{constructor(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=zr.create("interpolator"),this.options=u,this.format=u.interpolation&&u.interpolation.format||(t=>t),this.init(u)}init(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u.interpolation||(u.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:E,suffix:o,suffixEscaped:a,formatSeparator:s,unescapeSuffix:A,unescapePrefix:c,nestingPrefix:l,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:w,maxReplaces:m,alwaysFormat:g}=u.interpolation;this.escape=t!==void 0?t:_De,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=i?co(i):E||"{{",this.suffix=o?co(o):a||"}}",this.formatSeparator=s||",",this.unescapePrefix=A?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":A||"",this.nestingPrefix=l?co(l):f||co("$t("),this.nestingSuffix=p?co(p):h||co(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=m||1e3,this.alwaysFormat=g!==void 0?g:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const u=(t,r)=>t&&t.source===r?(t.lastIndex=0,t):new RegExp(r,"g");this.regexp=u(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=u(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=u(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(u,t,r,n){let i,E,o;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=f=>{if(f.indexOf(this.formatSeparator)<0){const m=l5(t,a,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(m,void 0,r,{...n,...t,interpolationkey:f}):m}const p=f.split(this.formatSeparator),h=p.shift().trim(),w=p.join(this.formatSeparator).trim();return this.format(l5(t,a,h,this.options.keySeparator,this.options.ignoreJSONStructure),w,r,{...n,...t,interpolationkey:h})};this.resetRegExp();const A=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>Hh(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?Hh(this.escape(f)):Hh(f)}].forEach(f=>{for(o=0;i=f.regex.exec(u);){const p=i[1].trim();if(E=s(p),E===void 0)if(typeof A=="function"){const w=A(u,i,n);E=Se(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,p))E="";else if(c){E=i[0];continue}else this.logger.warn(`missed to pass in variable ${p} for interpolating ${u}`),E="";else!Se(E)&&!this.useRawValueToEscape&&(E=n5(E));const h=f.safeValue(E);if(u=u.replace(i[0],h),c?(f.regex.lastIndex+=E.length,f.regex.lastIndex-=i[0].length):f.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),u}nest(u,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,i,E;const o=(a,s)=>{const A=this.nestingOptionsSeparator;if(a.indexOf(A)<0)return a;const c=a.split(new RegExp(`${A}[ ]*{`));let l=`{${c[1]}`;a=c[0],l=this.interpolate(l,E);const f=l.match(/'/g),p=l.match(/"/g);(f&&f.length%2===0&&!p||p.length%2!==0)&&(l=l.replace(/'/g,'"'));try{E=JSON.parse(l),s&&(E={...s,...E})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,h),`${a}${A}${l}`}return E.defaultValue&&E.defaultValue.indexOf(this.prefix)>-1&&delete E.defaultValue,a};for(;n=this.nestingRegexp.exec(u);){let a=[];E={...r},E=E.replace&&!Se(E.replace)?E.replace:E,E.applyPostProcessor=!1,delete E.defaultValue;let s=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){const A=n[1].split(this.formatSeparator).map(c=>c.trim());n[1]=A.shift(),a=A,s=!0}if(i=t(o.call(this,n[1].trim(),E),E),i&&n[0]===u&&!Se(i))return i;Se(i)||(i=n5(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${u}`),i=""),s&&(i=a.reduce((A,c)=>this.format(A,c,r.lng,{...r,interpolationkey:n[1].trim()}),i.trim())),u=u.replace(n[0],i),this.regexp.lastIndex=0}return u}}const HDe=e=>{let u=e.toLowerCase().trim();const t={};if(e.indexOf("(")>-1){const r=e.split("(");u=r[0].toLowerCase().trim();const n=r[1].substring(0,r[1].length-1);u==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):u==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(E=>{if(E){const[o,...a]=E.split(":"),s=a.join(":").trim().replace(/^'+|'+$/g,""),A=o.trim();t[A]||(t[A]=s),s==="false"&&(t[A]=!1),s==="true"&&(t[A]=!0),isNaN(s)||(t[A]=parseInt(s,10))}})}return{formatName:u,formatOptions:t}},lo=e=>{const u={};return(t,r,n)=>{let i=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(i={...i,[n.interpolationkey]:void 0});const E=r+JSON.stringify(i);let o=u[E];return o||(o=e(F1(r),n),u[E]=o),o(t)}};class jDe{constructor(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=zr.create("formatter"),this.options=u,this.formats={number:lo((t,r)=>{const n=new Intl.NumberFormat(t,{...r});return i=>n.format(i)}),currency:lo((t,r)=>{const n=new Intl.NumberFormat(t,{...r,style:"currency"});return i=>n.format(i)}),datetime:lo((t,r)=>{const n=new Intl.DateTimeFormat(t,{...r});return i=>n.format(i)}),relativetime:lo((t,r)=>{const n=new Intl.RelativeTimeFormat(t,{...r});return i=>n.format(i,r.range||"day")}),list:lo((t,r)=>{const n=new Intl.ListFormat(t,{...r});return i=>n.format(i)})},this.init(u)}init(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(u,t){this.formats[u.toLowerCase().trim()]=t}addCached(u,t){this.formats[u.toLowerCase().trim()]=lo(t)}format(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(o=>o.indexOf(")")>-1)){const o=i.findIndex(a=>a.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,o)].join(this.formatSeparator)}return i.reduce((o,a)=>{const{formatName:s,formatOptions:A}=HDe(a);if(this.formats[s]){let c=o;try{const l=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},f=l.locale||l.lng||n.locale||n.lng||r;c=this.formats[s](o,f,{...A,...n,...l})}catch(l){this.logger.warn(l)}return c}else this.logger.warn(`there was no format function for ${s}`);return o},u)}}const KDe=(e,u)=>{e.pending[u]!==void 0&&(delete e.pending[u],e.pendingCount--)};class WDe extends Ip{constructor(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=u,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=zr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(u,t,r,n){const i={},E={},o={},a={};return u.forEach(s=>{let A=!0;t.forEach(c=>{const l=`${s}|${c}`;!r.reload&&this.store.hasResourceBundle(s,c)?this.state[l]=2:this.state[l]<0||(this.state[l]===1?E[l]===void 0&&(E[l]=!0):(this.state[l]=1,A=!1,E[l]===void 0&&(E[l]=!0),i[l]===void 0&&(i[l]=!0),a[c]===void 0&&(a[c]=!0)))}),A||(o[s]=!0)}),(Object.keys(i).length||Object.keys(E).length)&&this.queue.push({pending:E,pendingCount:Object.keys(E).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(E),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(a)}}loaded(u,t,r){const n=u.split("|"),i=n[0],E=n[1];t&&this.emit("failedLoading",i,E,t),!t&&r&&this.store.addResourceBundle(i,E,r,void 0,void 0,{skipCopy:!0}),this.state[u]=t?-1:2,t&&r&&(this.state[u]=0);const o={};this.queue.forEach(a=>{DDe(a.loaded,[i],E),KDe(a,u),t&&a.errors.push(t),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(s=>{o[s]||(o[s]={});const A=a.loaded[s];A.length&&A.forEach(c=>{o[s][c]===void 0&&(o[s][c]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(a=>!a.done)}read(u,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,E=arguments.length>5?arguments[5]:void 0;if(!u.length)return E(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:u,ns:t,fcName:r,tried:n,wait:i,callback:E});return}this.readingCalls++;const o=(s,A)=>{if(this.readingCalls--,this.waitingReads.length>0){const c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&A&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,u,t,r,n+1,i*2,E)},i);return}E(s,A)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const s=a(u,t);s&&typeof s.then=="function"?s.then(A=>o(null,A)).catch(o):o(null,s)}catch(s){o(s)}return}return a(u,t,o)}prepareLoading(u,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();Se(u)&&(u=this.languageUtils.toResolveHierarchy(u)),Se(t)&&(t=[t]);const i=this.queueLoad(u,t,r,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach(E=>{this.loadOne(E)})}load(u,t,r){this.prepareLoading(u,t,{},r)}reload(u,t,r){this.prepareLoading(u,t,{reload:!0},r)}loadOne(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=u.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(E,o)=>{E&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,E),!E&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(u,E,o)})}saveMissing(u,t,r,n,i){let E=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const a={...E,isUpdate:i},s=this.backend.create.bind(this.backend);if(s.length<6)try{let A;s.length===5?A=s(u,t,r,n,a):A=s(u,t,r,n),A&&typeof A.then=="function"?A.then(c=>o(null,c)).catch(o):o(null,A)}catch(A){o(A)}else s(u,t,r,n,o,a)}!u||!u[0]||this.store.addResource(u[0],t,r,n)}}}const f5=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let u={};if(typeof e[1]=="object"&&(u=e[1]),Se(e[1])&&(u.defaultValue=e[1]),Se(e[2])&&(u.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const t=e[3]||e[2];Object.keys(t).forEach(r=>{u[r]=t[r]})}return u},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),d5=e=>(Se(e.ns)&&(e.ns=[e.ns]),Se(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Se(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),jl=()=>{},VDe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})};class lc extends Ip{constructor(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=d5(u),this.services={},this.logger=zr,this.modules={external:[]},VDe(this),t&&!this.isInitialized&&!u.isClone){if(!this.options.initImmediate)return this.init(u,t),this;setTimeout(()=>{this.init(u,t)},0)}}init(){var u=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(Se(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=f5();this.options={...n,...this.options,...d5(t)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=A=>A?typeof A=="function"?new A:A:null;if(!this.options.isClone){this.modules.logger?zr.init(i(this.modules.logger),this.options):zr.init(null,this.options);let A;this.modules.formatter?A=this.modules.formatter:typeof Intl<"u"&&(A=jDe);const c=new A5(this.options);this.store=new a5(this.options.resources,this.options);const l=this.services;l.logger=zr,l.resourceStore=this.store,l.languageUtils=c,l.pluralResolver=new NDe(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),A&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(l.formatter=i(A),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new $De(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new WDe(i(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(f){for(var p=arguments.length,h=new Array(p>1?p-1:0),w=1;w<p;w++)h[w-1]=arguments[w];u.emit(f,...h)}),this.modules.languageDetector&&(l.languageDetector=i(this.modules.languageDetector),l.languageDetector.init&&l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=i(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new I1(this.services,this.options),this.translator.on("*",function(f){for(var p=arguments.length,h=new Array(p>1?p-1:0),w=1;w<p;w++)h[w-1]=arguments[w];u.emit(f,...h)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,r||(r=jl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const A=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);A.length>0&&A[0]!=="dev"&&(this.options.lng=A[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(A=>{this[A]=function(){return u.store[A](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(A=>{this[A]=function(){return u.store[A](...arguments),u}});const a=$s(),s=()=>{const A=(c,l)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(l),r(c,l)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return A(null,this.t.bind(this));this.changeLanguage(this.options.lng,A)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),a}loadResources(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jl;const n=Se(u)?u:this.language;if(typeof u=="function"&&(r=u),!this.options.resources||this.options.partialBundledLanguages){if(n&&n.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],E=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(s=>{s!=="cimode"&&i.indexOf(s)<0&&i.push(s)})};n?E(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>E(a)),this.options.preload&&this.options.preload.forEach(o=>E(o)),this.services.backendConnector.load(i,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(o)})}else r(null)}reloadResources(u,t,r){const n=$s();return typeof u=="function"&&(r=u,u=void 0),typeof t=="function"&&(r=t,t=void 0),u||(u=this.languages),t||(t=this.options.ns),r||(r=jl),this.services.backendConnector.reload(u,t,i=>{n.resolve(),r(i)}),n}use(u){if(!u)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!u.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return u.type==="backend"&&(this.modules.backend=u),(u.type==="logger"||u.log&&u.warn&&u.error)&&(this.modules.logger=u),u.type==="languageDetector"&&(this.modules.languageDetector=u),u.type==="i18nFormat"&&(this.modules.i18nFormat=u),u.type==="postProcessor"&&aR.addPostProcessor(u),u.type==="formatter"&&(this.modules.formatter=u),u.type==="3rdParty"&&this.modules.external.push(u),this}setResolvedLanguage(u){if(!(!u||!this.languages)&&!(["cimode","dev"].indexOf(u)>-1))for(let t=0;t<this.languages.length;t++){const r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(u,t){var r=this;this.isLanguageChangingTo=u;const n=$s();this.emit("languageChanging",u);const i=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},E=(a,s)=>{s?(i(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),t&&t(a,function(){return r.t(...arguments)})},o=a=>{!u&&!a&&this.services.languageDetector&&(a=[]);const s=Se(a)?a:this.services.languageUtils.getBestMatchFromCodes(a);s&&(this.language||i(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,A=>{E(A,s)})};return!u&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!u&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(u),n}getFixedT(u,t,r){var n=this;const i=function(E,o){let a;if(typeof o!="object"){for(var s=arguments.length,A=new Array(s>2?s-2:0),c=2;c<s;c++)A[c-2]=arguments[c];a=n.options.overloadTranslationOptionHandler([E,o].concat(A))}else a={...o};a.lng=a.lng||i.lng,a.lngs=a.lngs||i.lngs,a.ns=a.ns||i.ns,a.keyPrefix!==""&&(a.keyPrefix=a.keyPrefix||r||i.keyPrefix);const l=n.options.keySeparator||".";let f;return a.keyPrefix&&Array.isArray(E)?f=E.map(p=>`${a.keyPrefix}${l}${p}`):f=a.keyPrefix?`${a.keyPrefix}${l}${E}`:E,n.t(f,a)};return Se(u)?i.lng=u:i.lngs=u,i.ns=t,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(u){this.options.defaultNS=u}hasLoadedNamespace(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const E=(o,a)=>{const s=this.services.backendConnector.state[`${o}|${a}`];return s===-1||s===0||s===2};if(t.precheck){const o=t.precheck(this,E);if(o!==void 0)return o}return!!(this.hasResourceBundle(r,u)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||E(r,u)&&(!n||E(i,u)))}loadNamespaces(u,t){const r=$s();return this.options.ns?(Se(u)&&(u=[u]),u.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{r.resolve(),t&&t(n)}),r):(t&&t(),Promise.resolve())}loadLanguages(u,t){const r=$s();Se(u)&&(u=[u]);const n=this.options.preload||[],i=u.filter(E=>n.indexOf(E)<0&&this.services.languageUtils.isSupportedCode(E));return i.length?(this.options.preload=n.concat(i),this.loadResources(E=>{r.resolve(),t&&t(E)}),r):(t&&t(),Promise.resolve())}dir(u){if(u||(u=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!u)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new A5(f5());return t.indexOf(r.getLanguagePartFromCode(u))>-1||u.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new lc(u,t)}cloneInstance(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jl;const r=u.forkResourceStore;r&&delete u.forkResourceStore;const n={...this.options,...u,isClone:!0},i=new lc(n);return(u.debug!==void 0||u.prefix!==void 0)&&(i.logger=i.logger.clone(u)),["store","services","language"].forEach(o=>{i[o]=this[o]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new a5(this.store.data,n),i.services.resourceStore=i.store),i.translator=new I1(i.services,n),i.translator.on("*",function(o){for(var a=arguments.length,s=new Array(a>1?a-1:0),A=1;A<a;A++)s[A-1]=arguments[A];i.emit(o,...s)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const i0=lc.createInstance();i0.createInstance=lc.createInstance;i0.createInstance;i0.dir;i0.init;i0.loadResources;i0.reloadResources;i0.use;i0.changeLanguage;i0.getFixedT;i0.t;i0.exists;i0.setDefaultNamespace;i0.hasLoadedNamespace;i0.loadNamespaces;i0.loadLanguages;const{slice:zDe,forEach:GDe}=[];function YDe(e){return GDe.call(zDe.call(arguments,1),u=>{if(u)for(const t in u)e[t]===void 0&&(e[t]=u[t])}),e}
vendor: 6,242 bytes, line 1017
1017function XDe(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e))}const p5=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ZDe=function(e,u){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},n=encodeURIComponent(u);let i=`${e}=${n}`;if(r.maxAge>0){const E=r.maxAge-0;if(Number.isNaN(E))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(E)}`}if(r.domain){if(!p5.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!p5.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i},h5={create(e,u,t,r){let n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};t&&(n.expires=new Date,n.expires.setTime(n.expires.getTime()+t*60*1e3)),r&&(n.domain=r),document.cookie=ZDe(e,u,n)},read(e){const u=`${e}=`,t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r];for(;n.charAt(0)===" ";)n=n.substring(1,n.length);if(n.indexOf(u)===0)return n.substring(u.length,n.length)}return null},remove(e,u){this.create(e,"",-1,u)}};var qDe={name:"cookie",lookup(e){let{lookupCookie:u}=e;if(u&&typeof document<"u")return h5.read(u)||void 0},cacheUserLanguage(e,u){let{lookupCookie:t,cookieMinutes:r,cookieDomain:n,cookieOptions:i}=u;t&&typeof document<"u"&&h5.create(t,e,r,n,i)}},JDe={name:"querystring",lookup(e){var r;let{lookupQuerystring:u}=e,t;if(typeof window<"u"){let{search:n}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));const E=n.substring(1).split("&");for(let o=0;o<E.length;o++){const a=E[o].indexOf("=");a>0&&E[o].substring(0,a)===u&&(t=E[o].substring(a+1))}}return t}},e8e={name:"hash",lookup(e){var n;let{lookupHash:u,lookupFromHashIndex:t}=e,r;if(typeof window<"u"){const{hash:i}=window.location;if(i&&i.length>2){const E=i.substring(1);if(u){const o=E.split("&");for(let a=0;a<o.length;a++){const s=o[a].indexOf("=");s>0&&o[a].substring(0,s)===u&&(r=o[a].substring(s+1))}}if(r)return r;if(!r&&t>-1){const o=i.match(/\/([a-zA-Z-]*)/g);return Array.isArray(o)?(n=o[typeof t=="number"?t:0])==null?void 0:n.replace("/",""):void 0}}}return r}};let fo=null;const m5=()=>{if(fo!==null)return fo;try{if(fo=typeof window<"u"&&window.localStorage!==null,!fo)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{fo=!1}return fo};var u8e={name:"localStorage",lookup(e){let{lookupLocalStorage:u}=e;if(u&&m5())return window.localStorage.getItem(u)||void 0},cacheUserLanguage(e,u){let{lookupLocalStorage:t}=u;t&&m5()&&window.localStorage.setItem(t,e)}};let po=null;const g5=()=>{if(po!==null)return po;try{if(po=typeof window<"u"&&window.sessionStorage!==null,!po)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{po=!1}return po};var t8e={name:"sessionStorage",lookup(e){let{lookupSessionStorage:u}=e;if(u&&g5())return window.sessionStorage.getItem(u)||void 0},cacheUserLanguage(e,u){let{lookupSessionStorage:t}=u;t&&g5()&&window.sessionStorage.setItem(t,e)}},r8e={name:"navigator",lookup(e){const u=[];if(typeof navigator<"u"){const{languages:t,userLanguage:r,language:n}=navigator;if(t)for(let i=0;i<t.length;i++)u.push(t[i]);r&&u.push(r),n&&u.push(n)}return u.length>0?u:void 0}},n8e={name:"htmlTag",lookup(e){let{htmlTag:u}=e,t;const r=u||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(t=r.getAttribute("lang")),t}},i8e={name:"path",lookup(e){var n;let{lookupFromPathIndex:u}=e;if(typeof window>"u")return;const t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(t)?(n=t[typeof u=="number"?u:0])==null?void 0:n.replace("/",""):void 0}},E8e={name:"subdomain",lookup(e){var n,i;let{lookupFromSubdomainIndex:u}=e;const t=typeof u=="number"?u+1:1,r=typeof window<"u"&&((i=(n=window.location)==null?void 0:n.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[t]}};let sR=!1;try{document.cookie,sR=!0}catch{}const AR=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];sR||AR.splice(1,1);const o8e=()=>({order:AR,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class a8e{constructor(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(u,t)}init(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=u,this.options=YDe(t,this.options||{},o8e()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=n=>n.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(qDe),this.addDetector(JDe),this.addDetector(u8e),this.addDetector(t8e),this.addDetector(r8e),this.addDetector(n8e),this.addDetector(i8e),this.addDetector(E8e),this.addDetector(e8e)}addDetector(u){return this.detectors[u.name]=u,this}detect(){let u=arguments.length>
vendor: 6,496 bytes, line 1017
10170&&arguments[0]!==void 0?arguments[0]:this.options.order,t=[];return u.forEach(r=>{if(this.detectors[r]){let n=this.detectors[r].lookup(this.options);n&&typeof n=="string"&&(n=[n]),n&&(t=t.concat(n))}}),t=t.filter(r=>r!=null&&!XDe(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(u)>-1||t.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(u,this.options)}))}}a8e.type="languageDetector";function hy(e){"@babel/helpers - typeof";return hy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},hy(e)}function cR(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":hy(XMLHttpRequest))==="object"}function s8e(e){return!!e&&typeof e.then=="function"}function A8e(e){return s8e(e)?e:Promise.resolve(e)}function c8e(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var my={exports:{}},Kl={exports:{}},y5;function l8e(){return y5||(y5=1,function(e,u){var t=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Lt<"u"&&Lt,r=function(){function i(){this.fetch=!1,this.DOMException=t.DOMException}return i.prototype=t,new i}();(function(i){(function(E){var o=typeof i<"u"&&i||typeof self<"u"&&self||typeof o<"u"&&o,a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function s(L){return L&&DataView.prototype.isPrototypeOf(L)}if(a.arrayBuffer)var A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(L){return L&&A.indexOf(Object.prototype.toString.call(L))>-1};function l(L){if(typeof L!="string"&&(L=String(L)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(L)||L==="")throw new TypeError('Invalid character in header field name: "'+L+'"');return L.toLowerCase()}function f(L){return typeof L!="string"&&(L=String(L)),L}function p(L){var j={next:function(){var ue=L.shift();return{done:ue===void 0,value:ue}}};return a.iterable&&(j[Symbol.iterator]=function(){return j}),j}function h(L){this.map={},L instanceof h?L.forEach(function(j,ue){this.append(ue,j)},this):Array.isArray(L)?L.forEach(function(j){this.append(j[0],j[1])},this):L&&Object.getOwnPropertyNames(L).forEach(function(j){this.append(j,L[j])},this)}h.prototype.append=function(L,j){L=l(L),j=f(j);var ue=this.map[L];this.map[L]=ue?ue+", "+j:j},h.prototype.delete=function(L){delete this.map[l(L)]},h.prototype.get=function(L){return L=l(L),this.has(L)?this.map[L]:null},h.prototype.has=function(L){return this.map.hasOwnProperty(l(L))},h.prototype.set=function(L,j){this.map[l(L)]=f(j)},h.prototype.forEach=function(L,j){for(var ue in this.map)this.map.hasOwnProperty(ue)&&L.call(j,this.map[ue],ue,this)},h.prototype.keys=function(){var L=[];return this.forEach(function(j,ue){L.push(ue)}),p(L)},h.prototype.values=function(){var L=[];return this.forEach(function(j){L.push(j)}),p(L)},h.prototype.entries=function(){var L=[];return this.forEach(function(j,ue){L.push([ue,j])}),p(L)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function w(L){if(L.bodyUsed)return Promise.reject(new TypeError("Already read"));L.bodyUsed=!0}function m(L){return new Promise(function(j,ue){L.onload=function(){j(L.result)},L.onerror=function(){ue(L.error)}})}function g(L){var j=new FileReader,ue=m(j);return j.readAsArrayBuffer(L),ue}function v(L){var j=new FileReader,ue=m(j);return j.readAsText(L),ue}function d(L){for(var j=new Uint8Array(L),ue=new Array(j.length),N=0;N<j.length;N++)ue[N]=String.fromCharCode(j[N]);return ue.join("")}function y(L){if(L.slice)return L.slice(0);var j=new Uint8Array(L.byteLength);return j.set(new Uint8Array(L)),j.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(L){this.bodyUsed=this.bodyUsed,this._bodyInit=L,L?typeof L=="string"?this._bodyText=L:a.blob&&Blob.prototype.isPrototypeOf(L)?this._bodyBlob=L:a.formData&&FormData.prototype.isPrototypeOf(L)?this._bodyFormData=L:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)?this._bodyText=L.toString():a.arrayBuffer&&a.blob&&s(L)?(this._bodyArrayBuffer=y(L.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(L)||c(L))?this._bodyArrayBuffer=y(L):this._bodyText=L=Object.prototype.toString.call(L):this._bodyText="",this.headers.get("content-type")||(typeof L=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var L=w(this);if(L)return L;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var L=w(this);return L||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(g)}),this.text=function(){var L=w(this);if(L)return L;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(d(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}
vendor: 4,161 bytes, lines 1017-1018
1017var C=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(L){var j=L.toUpperCase();return C.indexOf(j)>-1?j:L}function F(L,j){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');j=j||{};var ue=j.body;if(L instanceof F){if(L.bodyUsed)throw new TypeError("Already read");this.url=L.url,this.credentials=L.credentials,j.headers||(this.headers=new h(L.headers)),this.method=L.method,this.mode=L.mode,this.signal=L.signal,!ue&&L._bodyInit!=null&&(ue=L._bodyInit,L.bodyUsed=!0)}else this.url=String(L);if(this.credentials=j.credentials||this.credentials||"same-origin",(j.headers||!this.headers)&&(this.headers=new h(j.headers)),this.method=S(j.method||this.method||"GET"),this.mode=j.mode||this.mode||null,this.signal=j.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&ue)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(ue),(this.method==="GET"||this.method==="HEAD")&&(j.cache==="no-store"||j.cache==="no-cache")){var N=/([?&])_=[^&]*/;if(N.test(this.url))this.url=this.url.replace(N,"$1_="+new Date().getTime());else{var Z=/\?/;this.url+=(Z.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function I(L){var j=new FormData;return L.trim().split("&").forEach(function(ue){if(ue){var N=ue.split("="),Z=N.shift().replace(/\+/g," "),q=N.join("=").replace(/\+/g," ");j.append(decodeURIComponent(Z),decodeURIComponent(q))}}),j}function R(L){var j=new h,ue=L.replace(/\r?\n[\t ]+/g," ");return ue.split("\r").map(function(N){return N.indexOf(`
1018`)===0?N.substr(1,N.length):N}).forEach(function(N){var Z=N.split(":"),q=Z.shift().trim();if(q){var k=Z.join(":").trim();j.append(q,k)}}),j}b.call(F.prototype);function X(L,j){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');j||(j={}),this.type="default",this.status=j.status===void 0?200:j.status,this.ok=this.status>=200&&this.status<300,this.statusText=j.statusText===void 0?"":""+j.statusText,this.headers=new h(j.headers),this.url=j.url||"",this._initBody(L)}b.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var L=new X(null,{status:0,statusText:""});return L.type="error",L};var J=[301,302,303,307,308];X.redirect=function(L,j){if(J.indexOf(j)===-1)throw new RangeError("Invalid status code");return new X(null,{status:j,headers:{location:L}})},E.DOMException=o.DOMException;try{new E.DOMException}catch{E.DOMException=function(j,ue){this.message=j,this.name=ue;var N=Error(j);this.stack=N.stack},E.DOMException.prototype=Object.create(Error.prototype),E.DOMException.prototype.constructor=E.DOMException}function ee(L,j){return new Promise(function(ue,N){var Z=new F(L,j);if(Z.signal&&Z.signal.aborted)return N(new E.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function k(){q.abort()}q.onload=function(){var W={status:q.status,statusText:q.statusText,headers:R(q.getAllResponseHeaders()||"")};W.url="responseURL"in q?q.responseURL:W.headers.get("X-Request-URL");var Ee="response"in q?q.response:q.responseText;setTimeout(function(){ue(new X(Ee,W))},0)},q.onerror=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},q.ontimeout=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},q.onabort=function(){setTimeout(function(){N(new E.DOMException("Aborted","AbortError"))},0)};function z(W){try{return W===""&&o.location.href?o.location.href:W}catch{return W}}q.open(Z.method,z(Z.url),!0),Z.credentials==="include"?q.withCredentials=!0:Z.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&(a.blob?q.responseType="blob":a.arrayBuffer&&Z.headers.get("Content-Type")&&Z.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(q.responseType="arraybuffer")),j&&typeof j.headers=="object"&&!(j.headers instanceof h)?Object.getOwnPropertyNames(j.headers).forEac
1018h(function(W){q.setRequestHeader(W,f(j.headers[W]))}):Z.headers.forEach(function(W,Ee){q.setRequestHeader(Ee,W)}),Z.signal&&(Z.signal.addEventListener("abort",k),q.onreadystatechange=function(){q.readyState===4&&Z.signal.removeEventListener("abort",k)}),q.send(typeof Z._bodyInit>"u"?null:Z._bodyInit)})}return ee.polyfill=!0,o.fetch||(o.fetch=ee,o.Headers=h,o.Request=F,o.Response=X),E.Headers=h,E.Request=F,E.Response=X,E.fetch=ee,E})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var n=t.fetch?t:r;u=n.fetch,u.default=n.fetch,u.fetch=n.fetch,u.Headers=n.Headers,u.Request=n.Request,u.Response=n.Response,e.exports=u}(Kl,Kl.exports)),Kl.exports}(function(e,u){var t=typeof fetch=="function"?fetch:void 0;if(typeof Lt<"u"&&Lt.fetch?t=Lt.fetch:typeof window<"u"&&window.fetch&&(t=window.fetch),typeof c8e<"u"&&typeof window>"u"){var r=t||l8e();r.default&&(r=r.default),u.default=r,e.exports=u.default}})(my,my.exports);var lR=my.exports;const fR=Iu(lR),v5=Cv({__proto__:null,default:fR},[lR]);function B5(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function w5(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?B5(Object(t),!0).forEach(function(r){f8e(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B5(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function f8e(e,u,t){return(u=d8e(u))in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function d8e(e){var u=p8e(e,"string");return KE(u)=="symbol"?u:u+""}function p8e(e,u){if(KE(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,u);if(KE(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(e)}function KE(e){"@babel/helpers - typeof";return KE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},KE(e)}var Ti=typeof fetch=="function"?fetch:void 0;typeof global<"u"&&global.fetch?Ti=global.fetch:typeof window<"u"&&window.fetch&&(Ti=window.fetch);var fc;cR()&&(typeof global<"u"&&global.XMLHttpRequest?fc=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(fc=window.XMLHttpRequest));var T1;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?T1=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(T1=window.ActiveXObject));!Ti&&v5&&!fc&&!T1&&(Ti=fR||v5);typeof Ti!="function"&&(Ti=void 0);var gy=function(u,t){if(t&&KE(t)==="object"){var r="";for(var n in t)r+="&"+encodeURIComponent(n)+"="+encodeURIComponent(t[n]);if(!r)return u;u=u+(u.indexOf("?")!==-1?"&":"?")+r.slice(1)}return u},b5=function(u,t,r,n){var i=function(a){if(!a.ok)return r(a.statusText||"Error",{status:a.status});a.text().then(function(s){r(null,{status:a.status,data:s})}).catch(r)};if(n){var E=n(u,t);if(E instanceof Promise){E.then(i).catch(r);return}}typeof fetch=="function"?fetch(u,t).then(i).catch(r):Ti(u,t).then(i).catch(r)},x5=!1,h8e=function(u,t,r,n){u.queryStringParams&&(t=gy(t,u.queryStringParams));var i=w5({},typeof u.customHeaders=="function"?u.customHeaders():u.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var E=typeof u.requestOptions=="function"?u.requestOptions(r):u.requestOptions,o=w5({method:r?"POST":"GET",body:r?u.stringify(r):void 0,headers:i},x5?{}:E),a=typeof u.alternateFetch=="function"&&u.alternateFetch.length>=1?u.alternateFetch:void 0;try{b5(t,o,n,a)}catch(s){if(!E||Object.keys(E).length===0||!s.message||s.message.indexOf("not implemented")<0)return n(s);
vendor: 4,120 bytes, line 1018
1018try{Object.keys(E).forEach(function(A){delete o[A]}),b5(t,o,n,a),x5=!0}catch(A){n(A)}}},m8e=function(u,t,r,n){r&&KE(r)==="object"&&(r=gy("",r).slice(1)),u.queryStringParams&&(t=gy(t,u.queryStringParams));try{var i;fc?i=new fc:i=new T1("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",t,1),u.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!u.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var E=u.customHeaders;if(E=typeof E=="function"?E():E,E)for(var o in E)i.setRequestHeader(o,E[o]);i.onreadystatechange=function(){i.readyState>3&&n(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(a){console&&console.log(a)}},g8e=function(u,t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n=n||function(){},Ti&&t.indexOf("file:")!==0)return h8e(u,t,r,n);if(cR()||typeof ActiveXObject=="function")return m8e(u,t,r,n);n(new Error("No fetch and no xhr implementation found!"))};function La(e){"@babel/helpers - typeof";return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},La(e)}function C5(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function jh(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?C5(Object(t),!0).forEach(function(r){dR(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C5(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function y8e(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function v8e(e,u){for(var t=0;t<u.length;t++){var r=u[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pR(r.key),r)}}function B8e(e,u,t){return u&&v8e(e.prototype,u),Object.defineProperty(e,"prototype",{writable:!1}),e}function dR(e,u,t){return(u=pR(u))in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function pR(e){var u=w8e(e,"string");return La(u)=="symbol"?u:u+""}function w8e(e,u){if(La(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,u);if(La(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var b8e=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(t){return JSON.parse(t)},stringify:JSON.stringify,parsePayload:function(t,r,n){return dR({},r,n||"")},parseLoadPayload:function(t,r){},request:g8e,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},x8e=function(){function e(u){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};y8e(this,e),this.services=u,this.options=t,this.allOptions=r,this.type="backend",this.init(u,t,r)}return B8e(e,[{key:"init",value:function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=t,this.options=jh(jh(jh({},b8e()),this.options||{}),n),this.allOptions=i,this.services&&this.options.reloadInterval){var E=setInterval(function(){return r.reload()},this.options.reloadInterval);La(E)==="object"&&typeof E.unref=="function"&&E.unref()}}},{key:"readMulti",value:function(t,r,n){this._readAny(t,t,r,r,n)}},{key:"read",value:function(t,r,n){this._readAny([t],t,[r],r,n)}},{key:"_readAny",value:function(t,r,n,i,E){var o=this,a=this.options.loadPath;typeof this.options.loadPath=="function"&&(a=this.options.loadPath(t,n)),a=A8e(
vendor: 4,228 bytes, line 1018
1018a),a.then(function(s){if(!s)return E(null,{});var A=o.services.interpolator.interpolate(s,{lng:t.join("+"),ns:n.join("+")});o.loadUrl(A,E,r,i)})}},{key:"loadUrl",value:function(t,r,n,i){var E=this,o=typeof n=="string"?[n]:n,a=typeof i=="string"?[i]:i,s=this.options.parseLoadPayload(o,a);this.options.request(this.options,t,s,function(A,c){if(c&&(c.status>=500&&c.status<600||!c.status))return r("failed loading "+t+"; status code: "+c.status,!0);if(c&&c.status>=400&&c.status<500)return r("failed loading "+t+"; status code: "+c.status,!1);if(!c&&A&&A.message){var l=A.message.toLowerCase(),f=["failed","fetch","network","load"].find(function(w){return l.indexOf(w)>-1});if(f)return r("failed loading "+t+": "+A.message,!0)}if(A)return r(A,!1);var p,h;try{typeof c.data=="string"?p=E.options.parse(c.data,n,i):p=c.data}catch{h="failed parsing "+t+" to json"}if(h)return r(h,!1);r(null,p)})}},{key:"create",value:function(t,r,n,i,E){var o=this;if(this.options.addPath){typeof t=="string"&&(t=[t]);var a=this.options.parsePayload(r,n,i),s=0,A=[],c=[];t.forEach(function(l){var f=o.options.addPath;typeof o.options.addPath=="function"&&(f=o.options.addPath(l,r));var p=o.services.interpolator.interpolate(f,{lng:l,ns:r});o.options.request(o.options,p,a,function(h,w){s+=1,A.push(h),c.push(w),s===t.length&&typeof E=="function"&&E(A,c)})})}}},{key:"reload",value:function(){var t=this,r=this.services,n=r.backendConnector,i=r.languageUtils,E=r.logger,o=n.language;if(!(o&&o.toLowerCase()==="cimode")){var a=[],s=function(c){var l=i.toResolveHierarchy(c);l.forEach(function(f){a.indexOf(f)<0&&a.push(f)})};s(o),this.allOptions.preload&&this.allOptions.preload.forEach(function(A){return s(A)}),a.forEach(function(A){t.allOptions.ns.forEach(function(c){n.read(A,c,"read",null,null,function(l,f){l&&E.warn("loading namespace ".concat(c," for language ").concat(A," failed"),l),!l&&f&&E.log("loaded namespace ".concat(c," for language ").concat(A),f),n.loaded("".concat(A,"|").concat(c),l,f)})})})}}}])}();x8e.type="backend";function Tb(e){return e&&e.ownerDocument||document}function C8e(e){var u=Tb(e);return u&&u.defaultView||window}function D8e(e,u){return C8e(e).getComputedStyle(e,u)}var S8e=/([A-Z])/g;function F8e(e){return e.replace(S8e,"-$1").toLowerCase()}var _8e=/^ms-/;function Wl(e){return F8e(e).replace(_8e,"-ms-")}var I8e=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function T8e(e){return!!(e&&I8e.test(e))}function yy(e,u){var t="",r="";if(typeof u=="string")return e.style.getPropertyValue(Wl(u))||D8e(e).getPropertyValue(Wl(u));Object.keys(u).forEach(function(n){var i=u[n];!i&&i!==0?e.style.removeProperty(Wl(n)):T8e(n)?r+=n+"("+i+") ":t+=Wl(n)+": "+i+";"}),r&&(t+="transform: "+r+";"),e.style.cssText+=";"+t}const D5={disabled:!1},hR=$.createContext(null);var P8e=function(u){return u.scrollTop},nA="unmounted",rE="exited",nE="entering",Oo="entered",vy="exiting",Wi=function(e){p2e(u,e);function u(r,n){var i;i=e.call(this,r,n)||this;var E=n,o=E&&!E.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?o?(a=rE,i.appearStatus=nE):a=Oo:r.unmountOnExit||r.mountOnEnter?a=nA:a=rE,i.state={status:a},i.nextCallback=null,i}u.getDerivedStateFromProps=function(n,i){var E=n.in;return E&&i.status===nA?{status:rE}:null};var t=u.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(n){var i=null;if(n!==this.props){var E=this.state.status;this.props.in?E!==nE&&E!==Oo&&(i=nE):(E===nE||E===Oo)&&(i=vy)}this.updateStatus(!1,i)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var n=this.props.timeout,i,E,o;return i=E=o=n,n!=null&&typeof n!="number"&&(i=n.exit,E=n.enter,o=n.appear!==void 0?n.appear:E),{exit:i,enter:E,appear:o}},t.updateStatus=function(n,i){if(n===void 0&&(n=!1),i!==null)if(this.cancelNextCallback(),i===nE){if(this.props.unmountOnExit||this.props.mountOnEnter){var E=this.props.nodeRef?this.props.nodeRef.current:hE.findDOMNode(this);E&&P8e(E)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===rE&&this.setState({status:nA})},t.performEnter=function(n){var i=this,E=this.props.enter,o=this.context?this.context.
1018isMounting:n,a=this.props.nodeRef?[o]:[hE.findDOMNode(this),o],s=a[0],A=a[1],c=this.getTimeouts(),l=o?c.appear:c.enter;if(!n&&!E||D5.disabled){this.safeSetState({status:Oo},function(){i.props.onEntered(s)});return}this.props.onEnter(s,A),this.safeSetState({status:nE},function(){i.props.onEntering(s,A),i.onTransitionEnd(l,function(){i.safeSetState({status:Oo},function(){i.props.onEntered(s,A)})})})},t.performExit=function(){var n=this,i=this.props.exit,E=this.getTimeouts(),o=this.props.nodeRef?void 0:hE.findDOMNode(this);if(!i||D5.disabled){this.safeSetState({status:rE},function(){n.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:vy},function(){n.props.onExiting(o),n.onTransitionEnd(E.exit,function(){n.safeSetState({status:rE},function(){n.props.onExited(o)})})})},t.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(n,i){i=this.setNextCallback(i),this.setState(n,i)},t.setNextCallback=function(n){var i=this,E=!0;return this.nextCallback=function(o){E&&(E=!1,i.nextCallback=null,n(o))},this.nextCallback.cancel=function(){E=!1},this.nextCallback},t.onTransitionEnd=function(n,i){this.setNextCallback(i);var E=this.props.nodeRef?this.props.nodeRef.current:hE.findDOMNode(this),o=n==null&&!this.props.addEndListener;if(!E||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[E,this.nextCallback],s=a[0],A=a[1];this.props.addEndListener(s,A)}n!=null&&setTimeout(this.nextCallback,n)},t.render=function(){var n=this.state.status;if(n===nA)return null;var i=this.props,E=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var o=_k(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $.createElement(hR.Provider,{value:null},typeof E=="function"?E(n,o):$.cloneElement($.Children.only(E),o))},u}($.Component);Wi.contextType=hR;Wi.propTypes={};function ho(){}Wi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ho,onEntering:ho,onEntered:ho,onExit:ho,onExiting:ho,onExited:ho};Wi.UNMOUNTED=nA;Wi.EXITED=rE;Wi.ENTERING=nE;Wi.ENTERED=Oo;Wi.EXITING=vy;function O8e(e){return e.code==="Escape"||e.keyCode===27}function k8e(){const e=Q.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Pb(e){if(!e||typeof e=="function")return null;const{major:u}=k8e();return u>=19?e.props.ref:e.ref}const Wc=!!(typeof window<"u"&&window.document&&window.document.createElement);var By=!1,wy=!1;try{var Kh={get passive(){return By=!0},get once(){return wy=By=!0}};Wc&&(window.addEventListener("test",Kh,Kh),window.removeEventListener("test",Kh,!0))}catch{}function U8e(e,u,t,r){if(r&&typeof r!="boolean"&&!wy){var n=r.once,i=r.capture,E=t;!wy&&n&&(E=t.__once||function o(a){this.removeEventListener(u,o,i),t.call(this,a)},t.__once=E),e.addEventListener(u,E,By?r:i)}e.addEventListener(u,t,r)}function Q8e(e,u,t,r){var n=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(u,t,n),t.__once&&e.removeEventListener(u,t.__once,n)}function P1(e,u,t,r){return U8e(e,u,t,r),function(){Q8e(e,u,t,r)}}function L8e(e,u,t,r){if(r===void 0&&(r=!0),e){var n=document.createEvent("HTMLEvents");n.initEvent(u,t,r),e.dispatchEvent(n)}}function M8e(e){var u=yy(e,"transitionDuration")||"",t=u.indexOf("ms")===-1?1e3:1;return parseFloat(u)*t}function R8e(e,u,t){t===void 0&&(t=5);var r=!1,n=setTimeout(function(){r||L8e(e,"transitionend",!0)},u+t),i=P1(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(n),i()}}function Rze(e,u,t,r){t==null&&(t=M8e(e)||0);var n=R8e(e,t,r),i=P1(e,"transitionend",u);return function(){n(),i()}}const S5=e=>!e||typeof e=="function"?e:u=>{e.current=u};function N8e(e,u){const t=S5(e),r=S5(u);return n=>{t&&t(n),r&&r(n)}}function Nze(e,u){return Q.useMemo(()=>N8e(e,u),[e,u])}function $8e(e){const u=Q.useRef(e);return Q.useEffect(()=>{u.current=e},[e]),u}function $ze(e){const u=$8e(e);return Q.useCallback(function(...t){return u.current&&u.current(...t)},[u])}function H8e(e){const u=Q.useRef(e);return Q.useEffect(()=>{u.current=e},[e]),u}function AE(e){const u=H8e(e);return Q.useCallback(function(...t){return u.current&&u.current(...t)},[u])}function j8e(){const e=Q.useRef(!0),u=Q.useRef(()=>e.current);return Q.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),u.current}function K8e(e){const u=Q.useRef(null);return Q.useEffect(()=>{u.current=e}),u.current}const W8e=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",V8e=typeof document<"u",F5=V8e||W8e?Q.useLayoutEffect:Q.useEffect,z8e=["as","disabled"];function G8e(e,u){if(e==null)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;t[r]=e[r]}return t}function Y8e(e){return!e||e.trim()==="#"}function X8e({tagName:e,disabled:u,href:t,target:r,rel:n,role:i,onClick:E,tabIndex:o=0,type:a}){e||(t!=null||r!=null||n!=null?e="a":e="button");const s={tagName:e};if(e==="button")return[{type:a||"button",disabled:u},s];const A=l=>{if((u||e==="a"&&Y8e(t))&&l.preventDefault(),u){l.stopPropagation();return}E==null||E(l)},c=l=>{l.key===" "&&(l.preventDefault(),A(l))};return e==="a"&&(t||(t="#"),u&&(t=void 0)),[{role:i??"button",disabled:void 0,tabIndex:u?void 0:o,href:t,target:e==="a"?r:void 0,"aria-disabled":u||void 0,rel:e==="a"?n:void 0,onClick:A,onKeyDown:c},s]}const Z8e=Q.forwardRef((e,u)=>{let{as:t,disabled:r}=e,n=G8e(e,z8e);const[i,{tagName:E}]=X8e(Object.assign({tagName:t,disabled:r},n));return pr.jsx(E,Object.assign({},n,i,{ref:u}))});Z8e.displayName="Button";function q8e(e){const u=Q.useRef(e);return u.current=e,u}function Hze(e){const u=q8e(e);Q.useEffect(()=>()=>u.current(),[])}var J8e=Function.prototype.bind.call(Function.prototype.call,[].slice);function jze(e,u){return J8e(e.querySelectorAll(u))}function _5(e,u){if(e.contains)return e.contains(u);if(e.compareDocumentPosition)return e===u||!!(e.compareDocumentPosition(u)&16)}const e5e="data-rr-ui-";function u5e(e){return`${e5e}${e}`}const mR=Q.createContext(Wc?window:void 0);mR.Provider;function Ob(){return Q.useContext(mR)}const I5=e=>!e||typeof e=="function"?e:u=>{e.current=u};function t5e(e,u){const t=I5(e),r=I5(u);return n=>{t&&t(n),r&&r(n)}}function kb(e,u){return Q.useMemo(()=>t5e(e,u),[e,u])}var Vl;function Kze(e){if((!Vl&&Vl!==0||e)&&Wc){var u=document.createElement("div");u.style.position="absolute",u.style.top="-9999px",u.style.width="50px",u.style.height="50px",u.style.overflow="scroll",document.body.appendChild(u),Vl=u.offsetWidth-u.clientWidth,document.body.removeChild(u)}return Vl}function Wze(){return Q.useState(null)}function Wh(e){e===void 0&&(e=Tb());try{var u=e.activeElement;return!u||!u.nodeName?null:u}catch{return e.body}}function r5e(e){const u=Q.useRef(e);return u.current=e,u}function n5e(e){const u=r5e(e);Q.useEffect(()=>()=>u.current(),[])}function i5e(e=document){const u=e.defaultView;return Math.abs(u.innerWidth-e.documentElement.clientWidth)}const T5=u5e("modal-open");class gR{constructor({ownerDocument:u,handleContainerOverflow:t=!0,isRTL:r=!1}={}){this.handleContainerOverflow=t,this.isRTL=r,this.modals=[],this.ownerDocument=u}getScrollbarWidth(){return i5e(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(u){}removeModalAttributes(u){}setContainerStyle(u){const t={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",n=this.getElement();u.style={overflow:n.style.overflow,[r]:n.style[r]},u.scrollBarWidth&&(t[r]=`${parseInt(yy(n,r)||"0",10)+u.scrollBarWidth}px`),n.setAttribute(T5,""),yy(n,t)}
1018reset(){[...this.modals].forEach(u=>this.remove(u))}removeContainerStyle(u){const t=this.getElement();t.removeAttribute(T5),Object.assign(t.style,u.style)}add(u){let t=this.modals.indexOf(u);return t!==-1||(t=this.modals.length,this.modals.push(u),this.setModalAttributes(u),t!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t}remove(u){const t=this.modals.indexOf(u);t!==-1&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(u))}isTopModal(u){return!!this.modals.length&&this.modals[this.modals.length-1]===u}}const Vh=(e,u)=>Wc?e==null?(u||Tb()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function E5e(e,u){const t=Ob(),[r,n]=Q.useState(()=>Vh(e,t==null?void 0:t.document));if(!r){const i=Vh(e);i&&n(i)}return Q.useEffect(()=>{},[u,r]),Q.useEffect(()=>{const i=Vh(e);i!==r&&n(i)},[e,r]),r}function o5e({children:e,in:u,onExited:t,mountOnEnter:r,unmountOnExit:n}){const i=Q.useRef(null),E=Q.useRef(u),o=AE(t);Q.useEffect(()=>{u?E.current=!0:o(i.current)},[u,o]);const a=kb(i,Pb(e)),s=Q.cloneElement(e,{ref:a});return u?s:n||!E.current&&r?null:s}const a5e=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function s5e(e,u){if(e==null)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;t[r]=e[r]}return t}function A5e(e){let{onEnter:u,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:E,addEndListener:o,children:a}=e,s=s5e(e,a5e);const A=Q.useRef(null),c=kb(A,Pb(a)),l=d=>y=>{d&&A.current&&d(A.current,y)},f=Q.useCallback(l(u),[u]),p=Q.useCallback(l(t),[t]),h=Q.useCallback(l(r),[r]),w=Q.useCallback(l(n),[n]),m=Q.useCallback(l(i),[i]),g=Q.useCallback(l(E),[E]),v=Q.useCallback(l(o),[o]);return Object.assign({},s,{nodeRef:A},u&&{onEnter:f},t&&{onEntering:p},r&&{onEntered:h},n&&{onExit:w},i&&{onExiting:m},E&&{onExited:g},o&&{addEndListener:v},{children:typeof a=="function"?(d,y)=>
1018a(d,Object.assign({},y,{ref:c})):Q.cloneElement(a,{ref:c})})}const c5e=["component"];function l5e(e,u){if(e==null)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;t[r]=e[r]}return t}const f5e=Q.forwardRef((e,u)=>{let{component:t}=e,r=l5e(e,c5e);const n=A5e(r);return pr.jsx(t,Object.assign({ref:u},n))});function d5e({in:e,onTransition:u}){const t=Q.useRef(null),r=Q.useRef(!0),n=AE(u);return F5(()=>{if(!t.current)return;let i=!1;return n({in:e,element:t.current,initial:r.current,isStale:()=>i}),()=>{i=!0}},[e,n]),F5(()=>(r.current=!1,()=>{r.current=!0}),[]),t}function p5e({children:e,in:u,onExited:t,onEntered:r,transition:n}){const[i,E]=Q.useState(!u);u&&i&&E(!1);const o=d5e({in:!!u,onTransition:s=>{const A=()=>{s.isStale()||(s.in?r==null||r(s.element,s.initial):(E(!0),t==null||t(s.element)))};Promise.resolve(n(s)).then(A,c=>{throw s.in||E(!0),c})}}),a=kb(o,Pb(e));return i&&!u?null:Q.cloneElement(e,{ref:a})}function P5(e,u,t){return e?pr.jsx(f5e,Object.assign({},t,{component:e})):u?pr.jsx(p5e,Object.assign({},t,{transition:u})):pr.jsx(o5e,Object.assign({},t))}const h5e=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function m5e(e,u){if(e==null)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;t[r]=e[r]}return t}let zh;function g5e(e){return zh||(zh=new gR({ownerDocument:e==null?void 0:e.document})),zh}function y5e(e){const u=Ob(),t=e||g5e(u),r=Q.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>t.add(r.current),remove:()=>t.remove(r.current),isTopModal:()=>t.isTopModal(r.current),setDialogRef:Q.useCallback(n=>{r.current.dialog=n},[]),setBackdropRef:Q.useCallback(n=>{r.current.backdrop=n},[])})}const yR=Q.forwardRef((e,u)=>{let{show:t=!1,role:r="dialog",className:n,style:i,children:E,backdrop:o=!0,keyboard:a=!0,onBackdropClick:s,onEscapeKeyDown:A,transition:c,runTransition:l,backdropTransition:f,runBackdropTransition:p,autoFocus:h=!0,enforceFocus:w=!0,restoreFocus:m=!0,restoreFocusOptions:g,renderDialog:v,renderBackdrop:d=Me=>pr.jsx("div",Object.assign({},Me)),manager:y,container:b,onShow:C,onHide:S=()=>{},onExit:F,onExited:I,onExiting:R,onEnter:X,onEntering:J,onEntered:ee}=e,L=m5e(e,h5e);const j=Ob(),ue=E5e(b),N=y5e(y),Z=j8e(),q=K8e(t),[k,z]=Q.useState(!t),W=Q.useRef(null);Q.useImperativeHandle(u,()=>N,[N]),Wc&&!q&&t&&(W.current=Wh(j==null?void 0:j.document)),t&&k&&z(!1);const Ee=AE(()=>{if(N.add(),Xe.current=P1(document,"keydown",fe),Ve.current=P1(document,"focus",()=>setTimeout(pe),!0),C&&C(),h){var Me,_;const x=Wh((Me=(_=N.dialog)==null?void 0:_.ownerDocument)!=null?Me:j==null?void 0:j.document);N.dialog&&x&&!_5(N.dialog,x)&&(W.current=x,N.dialog.focus())}}),ce=AE(()=>{if(N.remove(),Xe.current==null||Xe.current(),Ve.current==null||Ve.current(),m){var Me;(Me=W.current)==null||Me.focus==null||Me.focus(g),W.current=null}});Q.useEffect(()=>{!t||!ue||Ee()},[t,ue,Ee]),Q.useEffect(()=>{k&&ce()},[k,ce]),n5e(()=>{ce()});const pe=AE(()=>{if(!w||!Z()||!N.isTopModal())return;const Me=Wh(j==null?void 0:j.document);N.dialog&&Me&&!_5(N.dialog,Me)&&N.dialog.focus()}),le=AE(Me=>{Me.target===Me.currentTarget&&(s==null||s(Me),o===!0&&S())}),fe=AE(Me=>{a&&O8e(Me)&&N.isTopModal()&&(A==null||A(Me),Me.defaultPrevented||S())}),Ve=Q.useRef(),Xe=Q.useRef(),ze=(...Me)=>{z(!0),I==null||I(...Me)};if(!ue)return null;const Qe=Object.assign({role:r,ref:N.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},L,{style:i,className:n,tabIndex:-1});let Le=v?v(Qe):pr.jsx("div",Object.assign({},Qe,{children:Q.cloneElement(E,{role:"document"})}));Le=P5(c,l,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!t,onExit:F,onExiting:R,onExited:ze,onEnter:X,onEntering:J,onEntered:ee,children:Le});let De=null;return o&&(De=d({ref:N.setBackdropRef,onClick:le}),De=P5(f,p,{in:!!t,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:De})),pr.jsx(pr.Fragment,{children:hE.createPortal(pr.jsxs(pr.Fragment,{children:[De,Le]}),ue)})});yR.displayName="Modal";const Vze=Object.assign(yR,{Manager:gR});function v5e(e,u){return e.classList?e.classList.contains(u):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+u+" ")!==-1}function zze(e,u){e.classList?e.classList.add(u):v5e(e,u)||(typeof e.className=="string"?e.className=e.className+" "+u:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+u))}function O5(e,u){return e.replace(new RegExp("(^|\\s)"+u+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Gze(e,u){e.classList?e.classList.remove(u):typeof e.className=="string"?e.className=O5(e.className,u):e.setAttribute("class",O5(e.className&&e.className.baseVal||"",u))}var vR={},BR={exports:{}},B5e=BR.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=B5e);var uo=BR.exports,wR={exports:{}},w5e=wR.exports={version:"2.6.12"};typeof __e=="number"&&(__e=w5e);var En=wR.exports,b5e=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},x5e=b5e,bR=function(e,u,t){if(x5e(e),u===void 0)return e;switch(t){case 1:return function(r){return e.call(u,r)};case 2:return function(r,n){return e.call(u,r,n)};case 3:return function(r,n,i){return e.call(u,r,n,i)}}return function(){return e.apply(u,arguments)}},Vi={},vs=function(e){return typeof e=="object"?e!==null:typeof e=="function"},C5e=vs,Vc=function(e){if(!C5e(e))throw TypeError(e+" is not an object!");return e},Bs=function(e){try{return!!e()}catch{return!0}},zi=!Bs(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Gh,k5;function xR(){if(k5)return Gh;k5=1;var e=vs,u=uo.document,t=e(u)&&e(u.createElement);return Gh=function(r){return t?u.createElement(r):{}},Gh}var CR=!zi&&!Bs(function(){return Object.defineProperty(xR()("div"),"a",{get:function(){return 7}}).a!=7}),zl=vs,Ub=function(e,u){if(!zl(e))return e;var t,r;if(u&&typeof(t=e.toString)=="function"&&!zl(r=t.call(e))||typeof(t=e.valueOf)=="function"&&!zl(r=t.call(e))||!u&&typeof(t=e.toString)=="function"&&!zl(r=t.call(e)))return r;throw TypeError("Can't convert object to primitive value")},U5=Vc,D5e=CR,S5e=Ub,F5e=Object.defineProperty;
1018Vi.f=zi?Object.defineProperty:function(u,t,r){if(U5(u),t=S5e(t,!0),U5(r),D5e)try{return F5e(u,t,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(u[t]=r.value),u};var Tp=function(e,u){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:u}},_5e=Vi,I5e=Tp,ws=zi?function(e,u,t){return _5e.f(e,u,I5e(1,t))}:function(e,u,t){return e[u]=t,e},T5e={}.hasOwnProperty,to=function(e,u){return T5e.call(e,u)},Gl=uo,Yh=En,Q5=bR,P5e=ws,O5e=to,Yl="prototype",kt=function(e,u,t){var r=e&kt.F,n=e&kt.G,i=e&kt.S,E=e&kt.P,o=e&kt.B,a=e&kt.W,s=n?Yh:Yh[u]||(Yh[u]={}),A=s[Yl],c=n?Gl:i?Gl[u]:(Gl[u]||{})[Yl],l,f,p;n&&(t=u);for(l in t)f=!r&&c&&c[l]!==void 0,!(f&&O5e(s,l))&&(p=f?c[l]:t[l],s[l]=n&&typeof c[l]!="function"?t[l]:o&&f?Q5(p,Gl):a&&c[l]==p?function(h){var w=function(m,g,v){if(this instanceof h){switch(arguments.length){case 0:return new h;case 1:return new h(m);case 2:return new h(m,g)}return new h(m,g,v)}return h.apply(this,arguments)};return w[Yl]=h[Yl],w}(p):E&&typeof p=="function"?Q5(Function.call,p):p,E&&((s.virtual||(s.virtual={}))[l]=p,e&kt.R&&A&&!A[l]&&P5e(A,l,p)))};kt.F=1;kt.G=2;kt.S=4;kt.P=8;kt.B=16;kt.W=32;kt.U=64;kt.R=128;var ro=kt,k5e={}.toString,DR=function(e){return k5e.call(e).slice(8,-1)},U5e=DR,SR=Object("z").propertyIsEnumerable(0)?Object:function(e){return U5e(e)=="String"?e.split(""):Object(e)},Qb=function(e){if(e==null)throw TypeError("Can't call method on  "+e);return e},Q5e=SR,L5e=Qb,bs=function(e){return Q5e(L5e(e))},M5e=Math.ceil,R5e=Math.floor,Lb=function(e){return isNaN(e=+e)?0:(e>0?R5e:M5e)(e)},N5e=Lb,$5e=Math.min,H5e=function(e){return e>0?$5e(N5e(e),9007199254740991):0},j5e=Lb,K5e=Math.max,W5e=Math.min,V5e=function(e,u){return e=j5e(e),e<0?K5e(e+u,0):W5e(e,u)},z5e=bs,G5e=H5e,Y5e=V5e,X5e=function(e){return function(u,t,r){var n=z5e(u),i=G5e(n.length),E=Y5e(r,i),o;if(e&&t!=t){for(;i>E;)if(o=n[E++],o!=o)return!0}else for(;i>E;E++)if((e||E in n)&&n[E]===t)return e||E||0;return!e&&-1}},FR={exports:{}},Z5e=En,L5=uo,M5="__core-js_shared__",R5=L5[M5]||(L5[M5]={});(FR.exports=function(e,u){return R5[e]||(R5[e]=u!==void 0?u:{})})("versions",[]).push({version:Z5e.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Mb=FR.exports,q5e=0,J5e=Math.random(),Pp=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++q5e+J5e).toString(36))},N5=Mb("keys"),eSe=Pp,Rb=function(e){return N5[e]||(N5[e]=eSe(e))},$5=to,uSe=bs,tSe=X5e(!1),rSe=Rb("IE_PROTO"),_R=function(e,u){var t=uSe(e),r=0,n=[],i;for(i in t)i!=rSe&&$5(t,i)&&n.push(i);for(;u.length>r;)$5(t,i=u[r++])&&(~tSe(n,i)||n.push(i));return n},Nb="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),nSe=_R,iSe=Nb,Op=Object.keys||function(u){return nSe(u,iSe)},kp={};kp.f=Object.getOwnPropertySymbols;var zc={};zc.f={}.propertyIsEnumerable;var ESe=Qb,Up=function(e){return Object(ESe(e))},Xh,H5;function oSe(){if(H5)return Xh;H5=1;var e=zi,u=Op,t=kp,r=zc,n=Up,i=SR,E=Object.assign;return Xh=!E||Bs(function(){var o={},a={},s=Symbol(),A="abcdefghijklmnopqrst";return o[s]=7,A.split("").forEach(function(c){a[c]=c}),E({},o)[s]!=7||Object.keys(E({},a)).join("")!=A})?function(a,s){for(var A=n(a),c=arguments.length,l=1,f=t.f,p=r.f;c>l;)for(var h=i(arguments[l++]),w=f?u(h).concat(f(h)):u(h),m=w.length,g=0,v;m>g;)v=w[g++],(!e||p.call(h,v))&&(A[v]=h[v]);return A}:E,Xh}var Zh=ro;Zh(Zh.S+Zh.F,"Object",{assign:oSe()});var aSe=En.Object.assign,sSe={default:aSe,__esModule:!0};vR.__esModule=!0;var ASe=sSe,cSe=lSe(ASe);function lSe(e){return e&&e.__esModule?e:{default:e}}vR.default=cSe.default||function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e};var fSe=to,dSe=Up,j5=Rb("IE_PROTO"),pSe=Object.prototype,IR=Object.getPrototypeOf||function(e){return e=dSe(e),fSe(e,j5)?e[j5]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?pSe:null},qh=ro,hSe=En,mSe=Bs,gSe=function(e,u){var t=(hSe.Object||{})[e]||Object[e],r={};r[e]=u(t),qh(qh.S+qh.F*mSe(function(){t(1)}),"Object",r)},ySe=Up,vSe=IR;gSe("getPrototypeOf",function(){return function(u){return vSe(ySe(u))}});var BSe=En.Object.getPrototypeOf,Yze={default:BSe,__esModule:!0},TR={};TR.__esModule=!0;TR.default=function(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")};var PR={},Jh=ro;Jh(Jh.S+Jh.F*!zi,"Object",{defineProperty:Vi.f});var wSe=En.Object,bSe=function(u,t,r){return wSe.defineProperty(u,t,r)},xSe={default:bSe,__esModule:!0};PR.__esModule=!0;var CSe=xSe,DSe=SSe(CSe);
1018function SSe(e){return e&&e.__esModule?e:{default:e}}PR.default=function(){function e(u,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,DSe.default)(u,n.key,n)}}return function(u,t,r){return t&&e(u.prototype,t),r&&e(u,r),u}}();var OR={},Qp={},FSe=Lb,_Se=Qb,ISe=function(e){return function(u,t){var r=String(_Se(u)),n=FSe(t),i=r.length,E,o;return n<0||n>=i?e?"":void 0:(E=r.charCodeAt(n),E<55296||E>56319||n+1===i||(o=r.charCodeAt(n+1))<56320||o>57343?e?r.charAt(n):E:e?r.slice(n,n+2):(E-55296<<10)+(o-56320)+65536)}},kR=ws,$b={},TSe=Vi,PSe=Vc,OSe=Op,kSe=zi?Object.defineProperties:function(u,t){PSe(u);for(var r=OSe(t),n=r.length,i=0,E;n>i;)TSe.f(u,E=r[i++],t[E]);return u},e3,K5;function USe(){if(K5)return e3;K5=1;var e=uo.document;return e3=e&&e.documentElement,e3}var QSe=Vc,LSe=kSe,W5=Nb,MSe=Rb("IE_PROTO"),u3=function(){},by="prototype",dd=function(){var e=xR()("iframe"),u=W5.length,t="<",r=">",n;for(e.style.display="none",USe().appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(t+"script"+r+"document.F=Object"+t+"/script"+r),n.close(),dd=n.F;u--;)delete dd[by][W5[u]];return dd()},Hb=Object.create||function(u,t){var r;return u!==null?(u3[by]=QSe(u),r=new u3,u3[by]=null,r[MSe]=u):r=dd(),t===void 0?r:LSe(r,t)},UR={exports:{}},xy=Mb("wks"),RSe=Pp,Cy=uo.Symbol,V5=typeof Cy=="function",NSe=UR.exports=function(e){return xy[e]||(xy[e]=V5&&Cy[e]||(V5?Cy:RSe)("Symbol."+e))};NSe.store=xy;var xs=UR.exports,$Se=Vi.f,HSe=to,z5=xs("toStringTag"),jb=function(e,u,t){e&&!HSe(e=t?e:e.prototype,z5)&&$Se(e,z5,{configurable:!0,value:u})},jSe=Hb,KSe=Tp,WSe=jb,QR={};ws(QR,xs("iterator"),function(){return this});var VSe=function(e,u,t){e.prototype=jSe(QR,{next:KSe(1,t)}),WSe(e,u+" Iterator")},t3=ro,zSe=kR,GSe=ws,G5=$b,YSe=VSe,XSe=jb,ZSe=IR,r3=xs("iterator"),n3=!([].keys&&"next"in[].keys()),qSe="@@iterator",Y5="keys",Xl="values",JSe=function(){return this},LR=function(e,u,t,r,n,i,E){YSe(t,u,r);var o=function(v){if(!n3&&v in c)return c[v];switch(v){case Y5:return function(){return new t(this,v)};case Xl:return function(){return new t(this,v)}}return function(){return new t(this,v)}},a=u+" Iterator",s=n==Xl,A=!1,c=e.prototype,l=c[r3]||c[qSe]||n&&c[n],f=l||o(n),p=n?s?o("entries"):f:void 0,h=u=="Array"&&c.entries||l,w,m,g;if(h&&(g=ZSe(h.call(new e)),g!==Object.prototype&&g.next&&XSe(g,a,!0)),s&&l&&l.name!==Xl&&(A=!0,f=function(){return l.call(this)}),E&&(n3||A||!c[r3])&&GSe(c,r3,f),G5[u]=f,G5[a]=JSe,n)if(w={values:s?f:o(Xl),keys:i?f:o(Y5),entries:p},E)for(m in w)m in c||zSe(c,m,w[m]);else t3(t3.P+t3.F*(n3||A),u,w);return w},eFe=ISe(!0);LR(String,"String",function(e){this._t=String(e),this._i=0},function(){var e=this._t,u=this._i,t;return u>=e.length?{value:void 0,done:!0}:(t=eFe(e,u),this._i+=t.length,{value:t,done:!1})});var uFe=function(e,u){return{value:u,done:!!e}},Zl=uFe,X5=$b,tFe=bs;LR(Array,"Array",function(e,u){this._t=tFe(e),this._i=0,this._k=u},function(){var e=this._t,u=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,Zl(1)):u=="keys"?Zl(0,t):u=="values"?Zl(0,e[t]):Zl(0,[t,e[t]])},"values");X5.Arguments=X5.Array;var rFe=uo,nFe=ws,Z5=$b,q5=xs("toStringTag"),J5="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(",");for(var i3=0;i3<J5.length;i3++){var E3=J5[i3],eS=rFe[E3],o3=eS&&eS.prototype;o3&&!o3[q5]&&nFe(o3,q5,E3),Z5[E3]=Z5.Array}var Lp={};Lp.f=xs;var iFe=Lp.f("iterator"),EFe={default:iFe,__esModule:!0},MR={exports:{}},WE=Pp("meta"),oFe=vs,Kb=to,aFe=Vi.f,sFe=0,Mp=Object.isExtensible||function(){return!0},AFe=!Bs(function(){return Mp(Object.preventExtensions({}))}),Wb=function(e){aFe(e,WE,{value:{i:"O"+ ++sFe,w:{}}})},cFe=function(e,u){if(!oFe(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!Kb(e,WE)){if(!Mp(e))return"F";if(!u)return"E";Wb(e)}return e[WE].i},lFe=function(e,u){if(!Kb(e,WE)){if(!Mp(e))return!0;
1018if(!u)return!1;Wb(e)}return e[WE].w},fFe=function(e){return AFe&&dFe.NEED&&Mp(e)&&!Kb(e,WE)&&Wb(e),e},dFe=MR.exports={KEY:WE,NEED:!1,fastKey:cFe,getWeak:lFe,onFreeze:fFe},pFe=MR.exports,uS=En,hFe=Lp,mFe=Vi.f,Vb=function(e){var u=uS.Symbol||(uS.Symbol={});e.charAt(0)!="_"&&!(e in u)&&mFe(u,e,{value:hFe.f(e)})},gFe=Op,yFe=kp,vFe=zc,BFe=function(e){var u=gFe(e),t=yFe.f;if(t)for(var r=t(e),n=vFe.f,i=0,E;r.length>i;)n.call(e,E=r[i++])&&u.push(E);return u},wFe=DR,bFe=Array.isArray||function(u){return wFe(u)=="Array"},RR={},zb={},xFe=_R,CFe=Nb.concat("length","prototype");zb.f=Object.getOwnPropertyNames||function(u){return xFe(u,CFe)};var DFe=bs,NR=zb.f,SFe={}.toString,$R=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],FFe=function(e){try{return NR(e)}catch{return $R.slice()}};RR.f=function(u){return $R&&SFe.call(u)=="[object Window]"?FFe(u):NR(DFe(u))};var Gb={},_Fe=zc,IFe=Tp,TFe=bs,PFe=Ub,OFe=to,kFe=CR,tS=Object.getOwnPropertyDescriptor;Gb.f=zi?tS:function(u,t){if(u=TFe(u),t=PFe(t,!0),kFe)try{return tS(u,t)}catch{}if(OFe(u,t))return IFe(!_Fe.f.call(u,t),u[t])};var Rp=uo,dt=to,HR=zi,Nt=ro,UFe=kR,QFe=pFe.KEY,Yb=Bs,Xb=Mb,Zb=jb,LFe=Pp,Gc=xs,MFe=Lp,RFe=Vb,NFe=BFe,$Fe=bFe,Dy=Vc,HFe=vs,jFe=Up,Np=bs,qb=Ub,Sy=Tp,dc=Hb,jR=RR,KR=Gb,$p=kp,WR=Vi,KFe=Op,VR=KR.f,cE=WR.f,zR=jR.f,h0=Rp.Symbol,O1=Rp.JSON,ql=O1&&O1.stringify,yi="prototype",A0=Gc("_hidden"),rS=Gc("toPrimitive"),WFe={}.propertyIsEnumerable,Hs=Xb("symbol-registry"),Tn=Xb("symbols"),Yc=Xb("op-symbol
1018s"),gr=Object[yi],Cs=typeof h0=="function"&&!!$p.f,a3=Rp.QObject,Fy=!a3||!a3[yi]||!a3[yi].findChild,_y=HR&&Yb(function(){return dc(cE({},"a",{get:function(){return cE(this,"a",{value:7}).a}})).a!=7})?function(e,u,t){var r=VR(gr,u);r&&delete gr[u],cE(e,u,t),r&&e!==gr&&cE(gr,u,r)}:cE,nS=function(e){var u=Tn[e]=dc(h0[yi]);return u._k=e,u},Iy=Cs&&typeof h0.iterator=="symbol"?function(e){return typeof e=="symbol"}:function(e){return e instanceof h0},Hp=function(u,t,r){return u===gr&&Hp(Yc,t,r),Dy(u),t=qb(t,!0),Dy(r),dt(Tn,t)?(r.enumerable?(dt(u,A0)&&u[A0][t]&&(u[A0][t]=!1),r=dc(r,{enumerable:Sy(0,!1)})):(dt(u,A0)||cE(u,A0,Sy(1,{})),u[A0][t]=!0),_y(u,t,r)):cE(u,t,r)},GR=function(u,t){Dy(u);for(var r=NFe(t=Np(t)),n=0,i=r.length,E;i>n;)Hp(u,E=r[n++],t[E]);return u},VFe=function(u,t){return t===void 0?dc(u):GR(dc(u),t)},zFe=function(u){var t=WFe.call(this,u=qb(u,!0));return this===gr&&dt(Tn,u)&&!dt(Yc,u)?!1:t||!dt(this,u)||!dt(Tn,u)||dt(this,A0)&&this[A0][u]?t:!0},YR=function(u,t){if(u=Np(u),t=qb(t,!0),!(u===gr&&dt(Tn,t)&&!dt(Yc,t))){var r=VR(u,t);return r&&dt(Tn,t)&&!(dt(u,A0)&&u[A0][t])&&(r.enumerable=!0),r}},XR=function(u){for(var t=zR(Np(u)),r=[],n=0,i;t.length>n;)!dt(Tn,i=t[n++])&&i!=A0&&i!=QFe&&r.push(i);return r},ZR=function(u){for(var t=u===gr,r=zR(t?Yc:Np(u)),n=[],i=0,E;r.length>i;)dt(Tn,E=r[i++])&&(!t||dt(gr,E))&&n.push(Tn[E]);return n};Cs||(h0=function(){if(this instanceof h0)throw TypeError("Symbol is not a constructor!");var u=LFe(arguments.length>0?arguments[0]:void 0),t=function(r){this===gr&&t.call(Yc,r),dt(this,A0)&&dt(this[A0],u)&&(this[A0][u]=!1),_y(this,u,Sy(1,r))};return HR&&Fy&&_y(gr,u,{configurable:!0,set:t}),nS(u)},UFe(h0[yi],"toString",function(){return this._k}),KR.f=YR,WR.f=Hp,zb.f=jR.f=XR,zc.f=zFe,$p.f=ZR,MFe.f=function(e){return nS(Gc(e))});Nt(Nt.G+Nt.W+Nt.F*!Cs,{Symbol:h0});for(var iS="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ES=0;iS.length>ES;)Gc(iS[ES++]);for(var oS=KFe(Gc.store),aS=0;oS.length>aS;)RFe(oS[aS++]);Nt(Nt.S+Nt.F*!Cs,"Symbol",{for:function(e){return dt(Hs,e+="")?Hs[e]:Hs[e]=h0(e)},keyFor:function(u){if(!Iy(u))throw TypeError(u+" is not a symbol!");for(var t in Hs)if(Hs[t]===u)return t},useSetter:function(){Fy=!0},useSimple:function(){Fy=!1}});Nt(Nt.S+Nt.F*!Cs,"Object",{create:VFe,defineProperty:Hp,defineProperties:GR,getOwnPropertyDescriptor:YR,getOwnPropertyNames:XR,getOwnPropertySymbols:ZR});var GFe=Yb(function(){$p.f(1)});Nt(Nt.S+Nt.F*GFe,"Object",{getOwnPropertySymbols:function(u){return $p.f(jFe(u))}});O1&&Nt(Nt.S+Nt.F*(!Cs||Yb(function(){var e=h0();return ql([e])!="[null]"||ql({a:e})!="{}"||ql(Object(e))!="{}"})),"JSON",{stringify:function(u){for(var t=[u],r=1,n,i;arguments.length>r;)t.push(arguments[r++]);if(i=n=t[1],!(!HFe(n)&&u===void 0||Iy(u)))return $Fe(n)||(n=function(E,o){if(typeof i=="function"&&(o=i.call(this,E,o)),!Iy(o))return o}),t[1]=n,ql.apply(O1,t)}});h0[yi][rS]||ws(h0[yi],rS,h0[yi].valueOf);Zb(h0,"Symbol");Zb(Math,"Math",!0);Zb(Rp.JSON,"JSON",!0);Vb("asyncIterator");Vb("observable");var YFe=En.Symbol,XFe={default:YFe,__esModule:!0};Qp.__esModule=!0;var ZFe=EFe,qR=JR(ZFe),qFe=XFe,Jn=JR(qFe),s3=typeof Jn.default=="function"&&typeof qR.default=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Jn.default=="function"&&e.constructor===Jn.default&&e!==Jn.default.prototype?"symbol":typeof e};function JR(e){return e&&e.__esModule?e:{default:e}}Qp.default=typeof Jn.default=="function"&&s3(qR.default)==="symbol"?function(e){return typeof e>"u"?"undefined":s3(e)}:function(e){return e&&typeof Jn.default=="function"&&e.constructor===Jn.default&&e!==Jn.default.prototype?"symbol":typeof e>"u"?"undefined":s3(e)};OR.__esModule=!0;var JFe=Qp,e_e=u_e(JFe);function u_e(e){return e&&e.__esModule?e:{default:e}}OR.default=function(e,u){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&((typeof u>"u"?"undefined":(0,e_e.default)(u))==="object"||typeof u=="function")?u:e};var eN={},A3,sS;function t_e(){if(sS)return A3;sS=1;var e=vs,u=Vc,t=function(r,n){if(u(r),!e(n)&&n!==null)throw TypeError(n+": can't set as prototype!")};return A3={set:Object.setPrototypeOf||("__proto__"in{}?function(r,n,i){try{i=bR(Function.call,Gb.f(Object.prototype,"__proto__").set,2),i(r,[]),n=!(r instanceof Array)}catch{n=!0}return function(o,a){return t(o,a),n?o.__proto__=a:i(o,a),o}}({},!1):void 0),check:t},A3}var AS=ro;AS(AS.S,"Object",{setPrototypeOf:t_e().set});
1018var r_e=En.Object.setPrototypeOf,n_e={default:r_e,__esModule:!0},cS=ro;cS(cS.S,"Object",{create:Hb});var i_e=En.Object,E_e=function(u,t){return i_e.create(u,t)},o_e={default:E_e,__esModule:!0};eN.__esModule=!0;var a_e=n_e,lS=Jb(a_e),s_e=o_e,A_e=Jb(s_e),c_e=Qp,l_e=Jb(c_e);function Jb(e){return e&&e.__esModule?e:{default:e}}eN.default=function(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+(typeof u>"u"?"undefined":(0,l_e.default)(u)));e.prototype=(0,A_e.default)(u&&u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u&&(lS.default?(0,lS.default)(e,u):e.__proto__=u)};var uN={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fS=$.createContext&&$.createContext(uN),vi=function(){return vi=Object.assign||function(e){for(var u,t=1,r=arguments.length;t<r;t++){u=arguments[t];for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(e[n]=u[n])}return e},vi.apply(this,arguments)},f_e=function(e,u){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&u.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)u.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(t[r[n]]=e[r[n]]);return t};function tN(e){return e&&e.map(function(u,t){return $.createElement(u.tag,vi({key:t},u.attr),tN(u.child))})}function _r(e){return function(u){return $.createElement(d_e,vi({attr:vi({},e.attr)},u),tN(e.child))}}function d_e(e){var u=function(t){var r=e.attr,n=e.size,i=e.title,E=f_e(e,["attr","size","title"]),o=n||t.size||"1em",a;return t.className&&(a=t.className),e.className&&(a=(a?a+" ":"")+e.className),$.createElement("svg",vi({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,E,{className:a,style:vi(vi({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),i&&$.createElement("title",null,i),e.children)};return fS!==void 0?$.createElement(fS.Consumer,null,function(t){return u(t)}):u(uN)}function Xze(e){return _r({attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor"}}]})(e)}function Zze(e){return _r({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}}]})(e)}function qze(e){return _r({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}]})(e)}var Bi={},jp={};Object.defineProperty(jp,"__esModule",{value:!0});jp.on=p_e;jp.off=h_e;function p_e(e,u,t,r){r=r||!1,e.addEventListener?e.addEventListener(u,t,r):e.attachEvent&&e.attachEvent("on"+u,function(n){t.call(e,n||window.event)})}function h_e(e,u,t,r){r=r||!1,e.removeEventListener?e.removeEventListener(u,t,r):e.detachEvent&&e.detachEvent("on"+u,t)}var e7={};Object.defineProperty(e7,"__esModule",{value:!0});e7.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var u=e.style.position==="absolute",t=/(scroll|auto)/,r=e;r;){if(!r.parentNode)return e.ownerDocument||document.documentElement;var n=window.getComputedStyle(r),i=n.position,E=n.overflow,o=n["overflow-x"],a=n["overflow-y"];if(i==="static"&&u){r=r.parentNode;continue}if(t.test(E)&&t.test(o)&&t.test(a))return r;r=r.parentNode}return e.ownerDocument||e.documentElement||document.documentElement};var u7={};Object.defineProperty(u7,"__esModule",{value:!0});u7.default=m_e;function m_e(e,u,t){var r=void 0,n=void 0,i=void 0,E=void 0,o=void 0,a=function s(){var A=+new Date-E;A<u&&A>=0?r=setTimeout(s,u-A):(r=null,t||(o=e.apply(i,n),r||(i=null,n=null)))};return function(){i=this,n=arguments,E=+new Date;var A=t&&!r;return r||(r=setTimeout(a,u)),A&&(o=e.apply(i,n),i=null,n=null),o}}var t7={};Object.defineProperty(t7,"__esModule",{value:!0});t7.default=g_e;function g_e(e,u,t){u||(u=250);var r,n;return function(){var i=t||this,E=+new Date,o=arguments;
1018r&&E<r+u?(clearTimeout(n),n=setTimeout(function(){r=E,e.apply(i,o)},u)):(r=E,e.apply(i,o))}}Object.defineProperty(Bi,"__esModule",{value:!0});Bi.forceVisible=Bi.forceCheck=Bi.lazyload=void 0;var rN=function(){function e(u,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,n.key,n)}}return function(u,t,r){return t&&e(u.prototype,t),r&&e(u,r),u}}(),r7=Q,k1=Xc(r7),y_e=KU,lu=Xc(y_e),mo=jp,v_e=e7,Ty=Xc(v_e),B_e=u7,w_e=Xc(B_e),b_e=t7,x_e=Xc(b_e);function Xc(e){return e&&e.__esModule?e:{default:e}}function nN(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function iN(e,u){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:e}function EN(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(e,u):e.__proto__=u)}var Mr={top:0,left:0,width:0,height:0},js="data-lazyload-listened",mr=[],Py=[],oN=!1;try{var C_e=Object.defineProperty({},"passive",{get:function(){oN=!0}});window.addEventListener("test",null,C_e)}catch{}var Mn=oN?{capture:!1,passive:!0}:!1,D_e=function(u,t){var r=u.ref,n=void 0,i=void 0,E=void 0,o=void 0;try{var a=t.getBoundingClientRect();n=a.top,i=a.left,E=a.height,o=a.width}catch{n=Mr.top,i=Mr.left,E=Mr.height,o=Mr.width}var s=window.innerHeight||document.documentElement.clientHeight,A=window.innerWidth||document.documentElement.clientWidth,c=Math.max(n,0),l=Math.max(i,0),f=Math.min(s,n+E)-c,p=Math.min(A,i+o)-l,h=void 0,w=void 0,m=void 0,g=void 0;try{var v=r.getBoundingClientRect();h=v.top,w=v.left,m=v.height,g=v.width}catch{h=Mr.top,w=Mr.left,m=Mr.height,g=Mr.width}var d=h-c,y=w-l,b=Array.isArray(u.props.offset)?u.props.offset:[u.props.offset,u.props.offset];return d-b[0]<=f&&d+m+b[1]>=0&&y-b[0]<=p&&y+g+b[1]>=0},S_e=function(u){var t=u.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var r=void 0,n=void 0;try{var i=t.getBoundingClientRect();r=i.top,n=i.height}catch{r=Mr.top,n=Mr.height}var E=window.innerHeight||document.documentElement.clientHeight,o=Array.isArray(u.props.offset)?u.props.offset:[u.props.offset,u.props.offset];return r-o[0]<=E&&r+n+o[1]>=0},aN=function(u){var t=u.ref;if(t instanceof HTMLElement){var r=(0,Ty.default)(t),n=u.props.overflow&&r!==t.ownerDocument&&r!==document&&r!==document.documentElement,i=n?D_e(u,r):S_e(u);i?u.visible||(u.props.once&&Py.push(u),u.visible=!0,u.forceUpdate()):u.props.once&&u.visible||(u.visible=!1,u.props.unmountIfInvisible&&u.forceUpdate())}},sN=function(){Py.forEach(function(u){var t=mr.indexOf(u);t!==-1&&mr.splice(t,1)}),Py=[]},pd=function(){for(var u=0;u<mr.length;++u){var t=mr[u];aN(t)}sN()},F_e=function(){for(var u=0;u<mr.length;++u){var t=mr[u];t.visible=!0,t.forceUpdate()}sN()},Jl=void 0,v0=null,I_e=function(u){return typeof u=="string"},Kp=function(e){EN(u,e);function u(t){nN(this,u);var r=iN(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,t));return r.visible=!1,r.setRef=r.setRef.bind(r),r}return rN(u,[{key:"componentDidMount",value:function(){var r=window,n=this.props.scrollContainer;n&&I_e(n)&&(r=r.document.querySelector(n));var i=this.props.debounce!==void 0&&Jl==="throttle"||Jl==="debounce"&&this.props.debounce===void 0;if(i&&((0,mo.off)(r,"scroll",v0,Mn),(0,mo.off)(window,"resize",v0,Mn),v0=null),v0||(this.props.debounce!==void 0?(v0=(0,w_e.default)(pd,typeof this.props.debounce=="number"?this.props.debounce:300),Jl="debounce"):this.props.throttle!==void 0?(v0=(0,x_e.default)(pd,typeof this.props.throttle=="number"?this.props.throttle:300),Jl="throttle"):v0=pd),this.props.overflow){var E=(0,Ty.default)(this.ref);if(E&&typeof E.getAttribute=="function"){var o=1+ +E.getAttribute(js);o===1&&E.addEventListener("scroll",v0,Mn),E.setAttribute(js,o)}}else if(mr.length===0||i){var a=this.props,s=a.scroll,A=a.resize;s&&(0,mo.on)(r,"scroll",v0,Mn),A&&(0,mo.on)(window,"resize",v0,Mn)}mr.push(this),aN(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var r=(0,Ty.default)(this.ref);
1018if(r&&typeof r.getAttribute=="function"){var n=+r.getAttribute(js)-1;n===0?(r.removeEventListener("scroll",v0,Mn),r.removeAttribute(js)):r.setAttribute(js,n)}}var i=mr.indexOf(this);i!==-1&&mr.splice(i,1),mr.length===0&&typeof window<"u"&&((0,mo.off)(window,"resize",v0,Mn),(0,mo.off)(window,"scroll",v0,Mn))}},{key:"setRef",value:function(r){r&&(this.ref=r)}},{key:"render",value:function(){var r=this.props,n=r.height,i=r.children,E=r.placeholder,o=r.className,a=r.classNamePrefix,s=r.style;return k1.default.createElement("div",{className:a+"-wrapper "+o,ref:this.setRef,style:s},this.visible?i:E||k1.default.createElement("div",{style:{height:n},className:a+"-placeholder"}))}}]),u}(r7.Component);Kp.propTypes={className:lu.default.string,classNamePrefix:lu.default.string,once:lu.default.bool,height:lu.default.oneOfType([lu.default.number,lu.default.string]),offset:lu.default.oneOfType([lu.default.number,lu.default.arrayOf(lu.default.number)]),overflow:lu.default.bool,resize:lu.default.bool,scroll:lu.default.bool,children:lu.default.node,throttle:lu.default.oneOfType([lu.default.number,lu.default.bool]),debounce:lu.default.oneOfType([lu.default.number,lu.default.bool]),placeholder:lu.default.node,scrollContainer:lu.default.oneOfType([lu.default.string,lu.default.object]),unmountIfInvisible:lu.default.bool,style:lu.default.object};Kp.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};var T_e=function(u){return u.displayName||u.name||"Component"},P_e=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(r){return function(n){EN(i,n);function i(){nN(this,i);var E=iN(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return E.displayName="LazyLoad"+T_e(r),E}return rN(i,[{key:"render",value:function(){return k1.default.createElement(Kp,u,k1.default.createElement(r,this.props))}}]),i}(r7.Component)}};Bi.lazyload=P_e;var Jze=Bi.default=Kp;Bi.forceCheck=pd;Bi.forceVisible=F_e;var AN=function(e){var u=e.decode,t=u===void 0?!0:u,r=e.crossOrigin,n=r===void 0?"":r;return function(i){return new Promise(function(E,o){var a=new Image;n&&(a.crossOrigin=n),a.onload=function(){t&&a.decode?a.decode().then(E).catch(o):E()},a.onerror=o,a.src=i})}};function dS(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function ef(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?dS(Object(t),!0).forEach(function(r){vB(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dS(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var O_e=function(u){return u.filter(function(t){return t})},k_e=function(u){return Array.isArray(u)?u:[u]},B0={},U_e=function(u,t){var r=!1;return new Promise(function(n,i){var E=function(a){return t(a).then(function(){r=!0,n(a)})};u.reduce(function(o,a){return o.catch(function(){if(!r)return E(a)})},E(u.shift())).catch(i)})};function Q_e(e){var u=e.srcList,t=e.imgPromise,r=t===void 0?AN({decode:!0}):t,n=e.useSuspense,i=n===void 0?!0:n,E=Q.useState(!1),o=E[1],a=O_e(k_e(u)),s=a.join("");if(B0[s]||(B0[s]={promise:U_e(a,r),cache:"pending",error:null}),B0[s].cache==="resolved")return{src:B0[s].src,isLoading:!1,error:null};if(B0[s].cache==="rejected"){if(i)throw B0[s].error;return{isLoading:!1,error:B0[s].error,src:void 0}}if(B0[s].promise.then(function(A){B0[s]=ef(ef({},B0[s]),{},{cache:"resolved",src:A}),i||o(s)}).catch(function(A){B0[s]=ef(ef({},B0[s]),{},{cache:"rejected",error:A}),i||o(s)}),i)throw B0[s].promise;return{isLoading:!0,src:void 0,error:null}}var L_e=["decode","src","loader","unloader","container","loaderContainer","unloaderContainer","imgPromise","crossorigin","useSuspense"];function pS(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function M_e(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};
1018u%2?pS(Object(t),!0).forEach(function(r){vB(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pS(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var c3=function(u){return u};function eGe(e){var u=e.decode,t=u===void 0?!0:u,r=e.src,n=r===void 0?[]:r,i=e.loader,E=i===void 0?null:i,o=e.unloader,a=o===void 0?null:o,s=e.container,A=s===void 0?c3:s,c=e.loaderContainer,l=c===void 0?c3:c,f=e.unloaderContainer,p=f===void 0?c3:f,h=e.imgPromise,w=e.crossorigin,m=e.useSuspense,g=m===void 0?!1:m,v=_k(e,L_e);h=h||AN({decode:t,crossOrigin:w});var d=Q_e({srcList:n,imgPromise:h,useSuspense:g}),y=d.src,b=d.isLoading;return y?A($.createElement("img",M_e({src:y},v))):!g&&b?l(E):!g&&a?p(a):null}var cN="4.6.2";function U1(e,u){return new Promise(function(t){return setTimeout(t,e,u)})}function R_e(){return new Promise(function(e){var u=new MessageChannel;u.port1.onmessage=function(){return e()},u.port2.postMessage(null)})}function N_e(e,u){u===void 0&&(u=1/0);var t=window.requestIdleCallback;return t?new Promise(function(r){return t.call(window,function(){return r()},{timeout:u})}):U1(Math.min(e,u))}function lN(e){return!!e&&typeof e.then=="function"}function hS(e,u){try{var t=e();lN(t)?t.then(function(r){return u(!0,r)},function(r){return u(!1,r)}):u(!0,t)}catch(r){u(!1,r)}}function mS(e,u,t){return t===void 0&&(t=16),ae(this,void 0,void 0,function(){var r,n,i,E;return se(this,function(o){switch(o.label){case 0:r=Array(e.length),n=Date.now(),i=0,o.label=1;case 1:return i<e.length?(r[i]=u(e[i],i),E=Date.now(),E>=n+t?(n=E,[4,R_e()]):[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return++i,[3,1];case 4:return[2,r]}})})}function pc(e){return e.then(void 0,function(){}),e}function $_e(e,u){for(var t=0,r=e.length;t<r;++t)if(e[t]===u)return!0;return!1}function H_e(e,u){return!$_e(e,u)}function n7(e){return parseInt(e)}function fr(e){return parseFloat(e)}function mn(e,u){return typeof e=="number"&&isNaN(e)?u:e}function t0(e){return e.reduce(function(u,t){return u+(t?1:0)},0)}function fN(e,u){if(u===void 0&&(u=1),Math.abs(u)>=1)return Math.round(e/u)*u;var t=1/u;return Math.round(e*t)/t}function j_e(e){for(var u,t,r="Unexpected syntax '".concat(e,"'"),n=/^\s*([a-z-]*)(.*)$/i.exec(e),i=n[1]||void 0,E={},o=/([.:#][\w-]+|\[.+?\])/gi,a=function(l,f){E[l]=E[l]||[],E[l].push(f)};;){var s=o.exec(n[2]);if(!s)break;var A=s[0];switch(A[0]){case".":a("class",A.slice(1));break;case"#":a("id",A.slice(1));break;case"[":{var c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(A);if(c)a(c[1],(t=(u=c[4])!==null&&u!==void 0?u:c[5])!==null&&t!==void 0?t:"");else throw new Error(r);break}default:throw new Error(r)}}return[i,E]}function K_e(e){for(var u=new Uint8Array(e.length),t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r>127)return new TextEncoder().encode(e);u[t]=r}return u}function Rn(e,u){var t=e[0]>>>16,r=e[0]&65535,n=e[1]>>>16,i=e[1]&65535,E=u[0]>>>16,o=u[0]&65535,a=u[1]>>>16,s=u[1]&65535,A=0,c=0,l=0,f=0;f+=i+s,l+=f>>>16,f&=65535,l+=n+a,c+=l>>>16,l&=65535,c+=r+o,A+=c>>>16,c&=65535,A+=t+E,A&=65535,e[0]=A<<16|c,e[1]=l<<16|f}function H0(e,u){var t=e[0]>>>16,r=e[0]&65535,n=e[1]>>>16,i=e[1]&65535,E=u[0]>>>16,o=u[0]&65535,a=u[1]>>>16,s=u[1]&65535,A=0,c=0,l=0,f=0;f+=i*s,l+=f>>>16,f&=65535,l+=n*s,c+=l>>>16,l&=65535,l+=i*a,c+=l>>>16,l&=65535,c+=r*s,A+=c>>>16,c&=65535,c+=n*a,A+=c>>>16,c&=65535,c+=i*o,A+=c>>>16,c&=65535,A+=t*s+r*a+n*o+i*E,A&=65535,e[0]=A<<16|c,e[1]=l<<16|f}function go(e,u){var t=e[0];u%=64,u===32?(e[0]=e[1],e[1]=t):u<32?(e[0]=t<<u|e[1]>>>32-u,e[1]=e[1]<<u|t>>>32-u):(u-=32,e[0]=e[1]<<u|t>>>32-u,e[1]=t<<u|e[1]>>>32-u)}function w0(e,u){u%=64,u!==0&&(u<32?(e[0]=e[1]>>>32-u,e[1]=e[1]<<u):(e[0]=e[1]<<u-32,e[1]=0))}function xu(e,u){e[0]^=u[0],e[1]^=u[1]}var W_e=[4283543511,3981806797],V_e=[3301882366,444984403];function gS(e){var u=[0,e[0]>>>1];xu(e,u),H0(e,W_e),u[1]=e[0]>>>1,xu(e,u),H0(e,V_e),u[1]=e[0]>>>1,xu(e,u)}var uf=[2277735313,289559509],tf=[1291169091,658871167],yS=[0,5],z_e=[0,1390208809],G_e=[0,944331445];function Y_e(e,u){var t=K_e(e);u=u||0;var r=[0,t.length],n=r[1]%16,i=r[1]-n,E=[0,u],o=[0,u],a=[0,0],s=[0,0],A;for(A=0;A<i;A=A+16)a[0]=t[A+4]|t[A+5]<<8|t[A+6]<<16|t[A+7]<<24,a[1]=t[A]|t[A+1]<<8|t[A+2]<<16|t[A+3]<<24,s[0]=t[A+12]|t[A+13]<<8|t[A+14]<<16|t[A+15]<<24,s[1]=t[A+8]|t[A+9]<<8|t[A+10]<<16|t[A+11]<<24,H0(a,uf),go(a,31
1018),H0(a,tf),xu(E,a),go(E,27),Rn(E,o),H0(E,yS),Rn(E,z_e),H0(s,tf),go(s,33),H0(s,uf),xu(o,s),go(o,31),Rn(o,E),H0(o,yS),Rn(o,G_e);a[0]=0,a[1]=0,s[0]=0,s[1]=0;var c=[0,0];switch(n){case 15:c[1]=t[A+14],w0(c,48),xu(s,c);case 14:c[1]=t[A+13],w0(c,40),xu(s,c);case 13:c[1]=t[A+12],w0(c,32),xu(s,c);case 12:c[1]=t[A+11],w0(c,24),xu(s,c);case 11:c[1]=t[A+10],w0(c,16),xu(s,c);case 10:c[1]=t[A+9],w0(c,8),xu(s,c);case 9:c[1]=t[A+8],xu(s,c),H0(s,tf),go(s,33),H0(s,uf),xu(o,s);case 8:c[1]=t[A+7],w0(c,56),xu(a,c);case 7:c[1]=t[A+6],w0(c,48),xu(a,c);case 6:c[1]=t[A+5],w0(c,40),xu(a,c);case 5:c[1]=t[A+4],w0(c,32),xu(a,c);case 4:c[1]=t[A+3],w0(c,24),xu(a,c);case 3:c[1]=t[A+2],w0(c,16),xu(a,c);case 2:c[1]=t[A+1],w0(c,8),xu(a,c);case 1:c[1]=t[A],xu(a,c),H0(a,uf),go(a,31),H0(a,tf),xu(E,a)}return xu(E,r),xu(o,r),Rn(E,o),Rn(o,E),gS(E),gS(o),Rn(E,o),Rn(o,E),("00000000"+(E[0]>>>0).toString(16)).slice(-8)+("00000000"+(E[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}function X_e(e){var u;return hu({name:e.name,message:e.message,stack:(u=e.stack)===null||u===void 0?void 0:u.split(`
1019`)},e)}function Z_e(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function q_e(e){return typeof e!="function"}function J_e(e,u){var t=pc(new Promise(function(r){var n=Date.now();hS(e.bind(null,u),function(){for(var i=[],E=0;E<arguments.length;E++)i[E]=arguments[E];var o=Date.now()-n;if(!i[0])return r(function(){return{error:i[1],duration:o}});var a=i[1];if(q_e(a))return r(function(){return{value:a,duration:o}});r(function(){return new Promise(function(s){var A=Date.now();hS(a,function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var f=o+Date.now()-A;if(!c[0])return s({error:c[1],duration:f});s({value:c[1],duration:f})})})})})}));return function(){return t.then(function(n){return n()})}}function eIe(e,u,t,r){var n=Object.keys(e).filter(function(E){return H_e(t,E)}),i=pc(mS(n,function(E){return J_e(e[E],u)},r));return function(){return ae(this,void 0,void 0,function(){var o,a,s,A,c;return se(this,function(l){switch(l.label){case 0:return[4,i];case 1:return o=l.sent(),[4,mS(o,function(f){return pc(f())},r)];case 2:return a=l.sent(),[4,Promise.all(a)];case 3:for(s=l.sent(),A={},c=0;c<n.length;++c)A[n[c]]=s[c];return[2,A]}})})}}function dN(){var e=window,u=navigator;return t0(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in u,"msPointerEnabled"in u])>=4}function uIe(){var e=window,u=navigator;return t0(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in u,"msSaveBlob"in u])>=3&&!dN()}function Zc(){var e=window,u=navigator;return t0(["webkitPersistentStorage"in u,"webkitTemporaryStorage"in u,(u.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Ir(){var e=window,u=navigator;return t0(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,u.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function i7(){var e=window,u=e.HTMLElement,t=e.Document;return t0(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),u&&!("autocapitalize"in u.prototype),t&&"pointerLockElement"in t.prototype])>=4}function qc(){var e=window;return Z_e(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function pN(){var e,u,t=window;return t0(["buildID"in navigator,"MozAppearance"in((u=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&u!==void 0?u:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function tIe(){var e=window;return t0([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function rIe(){var e=window,u=e.URLPattern;return t0(["union"in Set.prototype,"Iterator"in e,u&&"hasRegExpGroups"in u.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function nIe(){var e=window;return t0(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}
vendor: 4,470 bytes, line 1019
1019function Jc(){var e=window,u=navigator,t=e.CSS,r=e.HTMLButtonElement;return t0([!("getStorageUpdates"in u),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function iIe(){if(navigator.platform==="iPad")return!0;var e=screen,u=e.width/e.height;return t0(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,u>.65&&u<1.53])>=2}function EIe(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function oIe(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function E7(){var e=Zc(),u=pN(),t=window,r=navigator,n="connection";return e?t0([!("SharedWorker"in t),r[n]&&"ontypechange"in r[n],!("sinkId"in new Audio)])>=2:u?t0(["onorientationchange"in t,"orientation"in t,/android/i.test(r.appVersion)])>=2:!1}function aIe(){var e=navigator,u=window,t=Audio.prototype,r=u.visualViewport;return t0(["srLatency"in t,"srChannelCount"in t,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}function sIe(){return lIe()?-4:AIe()}function AIe(){var e=window,u=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!u)return-2;if(cIe())return-1;var t=4500,r=5e3,n=new u(1,r,44100),i=n.createOscillator();i.type="triangle",i.frequency.value=1e4;var E=n.createDynamicsCompressor();E.threshold.value=-50,E.knee.value=40,E.ratio.value=12,E.attack.value=0,E.release.value=.25,i.connect(E),E.connect(n.destination),i.start(0);var o=fIe(n),a=o[0],s=o[1],A=pc(a.then(function(c){return dIe(c.getChannelData(0).subarray(t))},function(c){if(c.name==="timeout"||c.name==="suspended")return-3;throw c}));return function(){return s(),A}}function cIe(){return Ir()&&!i7()&&!nIe()}function lIe(){return Ir()&&Jc()&&qc()||Zc()&&aIe()&&rIe()}function fIe(e){var u=3,t=500,r=500,n=5e3,i=function(){},E=new Promise(function(o,a){var s=!1,A=0,c=0;e.oncomplete=function(p){return o(p.renderedBuffer)};var l=function(){setTimeout(function(){return a(vS("timeout"))},Math.min(r,c+n-Date.now()))},f=function(){try{var p=e.startRendering();switch(lN(p)&&pc(p),e.state){case"running":c=Date.now(),s&&l();break;case"suspended":document.hidden||A++,s&&A>=u?a(vS("suspended")):setTimeout(f,t);break}}catch(h){a(h)}};f(),i=function(){s||(s=!0,c>0&&l())}});return[E,i]}function dIe(e){for(var u=0,t=0;t<e.length;++t)u+=Math.abs(e[t]);return u}function vS(e){var u=new Error(e);return u.name=e,u}function hN(e,u,t){var r,n,i;return t===void 0&&(t=50),ae(this,void 0,void 0,function(){var E,o;return se(this,function(a){switch(a.label){case 0:E=document,a.label=1;case 1:return E.body?[3,3]:[4,U1(t)];case 2:return a.sent(),[3,1];case 3:o=E.createElement("iframe"),a.label=4;case 4:return a.trys.push([4,,10,11]),[4,new Promise(function(s,A){var c=!1,l=function(){c=!0,s()},f=function(w){c=!0,A(w)};o.onload=l,o.onerror=f;var p=o.style;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",u&&"srcdoc"in o?o.srcdoc=u:o.src="about:blank",E.body.appendChild(o);var h=function(){var w,m;c||(((m=(w=o.contentWindow)===null||w===void 0?void 0:w.document)===null||m===void 0?void 0:m.readyState)==="complete"?l():setTimeout(h,10))};h()})];case 5:a.sent(),a.label=6;case 6:return!((n=(r=o.contentWindow)===null||r===void 0?void 0:r.document)===null||n===void 0)&&n.body?[3,8]:[4,U1(t)];case 7:return a.sent(),[3,6];case 8:return[4,e(o,o.contentWindow)];case 9:return[2,a.sent()];case 10:return(i=o.parentNode)===null||i===void 0||i.removeChild(o),[7];case 11:return[2]}})})}function pIe(e){for(var u=j_e(e),t=u[0],r=u[1],n=document.createElement(t??"div"),i=0,E=Object.keys(r);i<E.length;i++){var o=E[i],a=r[o].join(" ");o==="style"?hIe(n.style,a):n.setAttribute(o,a)}return n}function hIe(e,u){for(var t=0,r=u.split(";");t<r.length;t++){var n=r[t],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(i){var E=i[1],o=i[2],a=i[4];e.setProperty(E,o,a||"")}}}function mIe(){for(var e=window;;){var u=e.parent;if(!u||u===e)return!1;try{if(u.location.origin!==e.location.origin)return!0}catch(t){if(t instanceof Error&&t.name==="SecurityError")return!0;throw t}e=u}}var gIe="mmMwWLliI0O&1",yIe="48px",yo=["monospace","sans-serif","serif"],BS=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera S
1019ans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function vIe(){var e=this;return hN(function(u,t){var r=t.document;return ae(e,void 0,void 0,function(){var n,i,E,o,a,s,A,c,l,f,p,h;return se(this,function(w){for(n=r.body,n.style.fontSize=yIe,i=r.createElement("div"),i.style.setProperty("visibility","hidden","important"),E={},o={},a=function(m){var g=r.createElement("span"),v=g.style;return v.position="absolute",v.top="0",v.left="0",v.fontFamily=m,g.textContent=gIe,i.appendChild(g),g},s=function(m,g){return a("'".concat(m,"',").concat(g))},A=function(){return yo.map(a)},c=function(){for(var m={},g=function(b){m[b]=yo.map(function(C){return s(b,C)})},v=0,d=BS;v<d.length;v++){var y=d[v];g(y)}return m},l=function(m){return yo.some(function(g,v){return m[v].offsetWidth!==E[g]||m[v].offsetHeight!==o[g]})},f=A(),p=c(),n.appendChild(i),h=0;h<yo.length;h++)E[yo[h]]=f[h].offsetWidth,o[yo[h]]=f[h].offsetHeight;return[2,BS.filter(function(m){return l(p[m])})]})})})}function BIe(){var e=navigator.plugins;if(e){for(var u=[],t=0;t<e.length;++t){var r=e[t];if(r){for(var n=[],i=0;i<r.length;++i){var E=r[i];n.push({type:E.type,suffixes:E.suffixes})}u.push({name:r.name,description:r.description,mimeTypes:n})}}return u}}function wIe(){return bIe(IIe())}function bIe(e){var u,t=!1,r,n,i=xIe(),E=i[0],o=i[1];return CIe(E,o)?(t=DIe(o),e?r=n="skipped":(u=SIe(E,o),r=u[0],n=u[1])):r=n="unsupported",{winding:t,geometry:r,text:n}}function xIe(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function CIe(e,u){return!!(u&&e.toDataURL)}function DIe(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function SIe(e,u){FIe(e,u);var t=l3(e),r=l3(e);if(t!==r)return["unstable","unstable"];_Ie(e,u);var n=l3(e);return[n,t]}function FIe(e,u){e.width=240,e.height=60,u.textBaseline="alphabetic",u.fillStyle="#f60",u.fillRect(100,1,62,20),u.fillStyle="#069",u.font='11pt "Times New Roman"';var t="Cwm fjordbank gly ".concat("😃");u.fillText(t,2,15),u.fillStyle="rgba(102, 204, 0, 0.2)",u.font="18pt Arial",u.fillText(t,4,45)}function _Ie(e,u){e.width=122,e.height=110,u.globalCompositeOperation="multiply";for(var t=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];t<r.length;t++){var n=r[t],i=n[0],E=n[1],o=n[2];u.fillStyle=i,u.beginPath(),u.arc(E,o,40,0,Math.PI*2,!0),u.closePath(),u.fill()}u.fillStyle="#f9c",u.arc(60,60,60,0,Math.PI*2,!0),u.arc(60,60,20,0,Math.PI*2,!0),u.fill("evenodd")}function l3(e){return e.toDataURL()}function IIe(){return Ir()&&Jc()&&qc()}function TIe(){var e=navigator,u=0,t;e.maxTouchPoints!==void 0?u=n7(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(u=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch{t=!1}var r="ontouchstart"in window;return{maxTouchPoints:u,touchEvent:t,touchStart:r}}function PIe(){return navigator.oscpu}function OIe(){var e=navigator,u=[],t=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(t!==void 0&&u.push([t]),Array.isArray(e.languages))Zc()&&tIe()||u.push(e.languages);else if(typeof e.languages=="string"){var r=e.languages;r&&u.push(r.split(","))}return u}function kIe(){return window.screen.colorDepth}function UIe(){return mn(fr(navigator.deviceMemory),void 0)}function QIe(){if(!(Ir()&&Jc()&&qc()))return LIe()}function LIe(){var e=screen,u=function(r){return mn(n7(r),null)},t=[u(e.width),u(e.height)];return t.sort().reverse(),t}var MIe=2500,RIe=10,hd,f3;function NIe(){if(f3===void 0){var e=function(){var u=Oy();ky(u)?f3=setTimeout(e,MIe):(hd=u,f3=void 0)};e()}}function $Ie(){var e=this;return NIe(),function(){return ae(e,void 0,void 0,function(){var u;return se(this,function(t){switch(t.label){case 0:return u=Oy(),ky(u)?hd?[2,
vendor: 4,462 bytes, line 1019
1019Uu([],hd,!0)]:EIe()?[4,oIe()]:[3,2]:[3,2];case 1:t.sent(),u=Oy(),t.label=2;case 2:return ky(u)||(hd=u),[2,u]}})})}}function HIe(){var e=this;if(Ir()&&Jc()&&qc())return function(){return Promise.resolve(void 0)};var u=$Ie();return function(){return ae(e,void 0,void 0,function(){var t,r;return se(this,function(n){switch(n.label){case 0:return[4,u()];case 1:return t=n.sent(),r=function(i){return i===null?null:fN(i,RIe)},[2,[r(t[0]),r(t[1]),r(t[2]),r(t[3])]]}})})}}function Oy(){var e=screen;return[mn(fr(e.availTop),null),mn(fr(e.width)-fr(e.availWidth)-mn(fr(e.availLeft),0),null),mn(fr(e.height)-fr(e.availHeight)-mn(fr(e.availTop),0),null),mn(fr(e.availLeft),null)]}function ky(e){for(var u=0;u<4;++u)if(e[u])return!1;return!0}function jIe(){return mn(n7(navigator.hardwareConcurrency),void 0)}function KIe(){var e,u=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(u){var t=new u().resolvedOptions().timeZone;if(t)return t}var r=-WIe();return"UTC".concat(r>=0?"+":"").concat(r)}function WIe(){var e=new Date().getFullYear();return Math.max(fr(new Date(e,0,1).getTimezoneOffset()),fr(new Date(e,6,1).getTimezoneOffset()))}function VIe(){try{return!!window.sessionStorage}catch{return!0}}function zIe(){try{return!!window.localStorage}catch{return!0}}function GIe(){if(!(dN()||uIe()))try{return!!window.indexedDB}catch{return!0}}function YIe(){return!!window.openDatabase}function XIe(){return navigator.cpuClass}function ZIe(){var e=navigator.platform;return e==="MacIntel"&&Ir()&&!i7()?iIe()?"iPad":"iPhone":e}function qIe(){return navigator.vendor||""}function JIe(){for(var e=[],u=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];u<t.length;u++){var r=t[u],n=window[r];n&&typeof n=="object"&&e.push(r)}return e.sort()}function eTe(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var u=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",u}catch{return!1}}function uTe(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbn
1019Rlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
1019Q=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function tTe(e){var u=e===void 0?{}:e,t=u.debug;return ae(this,void 0,void 0,function(){var r,n,i,E,o,a;return se(this,function(s){switch(s.label){case 0:return rTe()?(r=uTe(),n=Object.keys(r),i=(a=[]).concat.apply(a,n.map(function(A){return r[A]})),[4,nTe(i)]):[2,void 0];case 1:return E=s.sent(),t&&iTe(r,E),o=n.filter(function(A){var c=r[A],l=t0(c.map(function(f){return E[f]}));return l>c.length*.6}),o.sort(),[2,o]}})})}function rTe(){return Ir()||E7()}function nTe(e){var u;return ae(this,void 0,void 0,function(){var t,r,n,i,a,E,o,a;return se(this,function(s){switch(s.label){case 0:for(t=document,r=t.createElement("div"),n=new Array(e.length),i={},wS(r),a=0;a<e.length;++a)E=pIe(e[a]),E.tagName==="DIALOG"&&E.show(),o=t.createElement("div"),wS(o),o.appendChild(E),r.appendChild(o),n[a]=E;s.label=1;case 1:return t.body?[3,3]:[4,U1(50)];case 2:return s.sent(),[3,1];case 3:t.body.appendChild(r);try{for(a=0;a<e.length;++a)n[a].offsetParent||(i[e[a]]=!0)}finally{(u=r.parentNode)===null||u===void 0||u.removeChild(r)}return[2,i]}})})}function wS(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function iTe(e,u){for(var t="DOM blockers debug:\n```",r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];t+=`
1020`.concat(i,":");for(var E=0,o=e[i];E<o.length;E++){var a=o[E];t+=`
1021  `.concat(u[a]?"🚫":"➡️"," ").concat(a)}}console.log("".concat(t,"\n```"))}function ETe(){for(var e=0,u=["rec2020","p3","srgb"];e<u.length;e++){var t=u[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}}function oTe(){if(bS("inverted"))return!0;if(bS("none"))return!1}function bS(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function aTe(){if(xS("active"))return!0;if(xS("none"))return!1}function xS(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}var sTe=100;function ATe(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=sTe;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}}function cTe(){if(vo("no-preference"))return 0;if(vo("high")||vo("more"))return 1;if(vo("low")||vo("less"))return-1;if(vo("forced"))return 10}function vo(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function lTe(){if(CS("reduce"))return!0;if(CS("no-preference"))return!1}function CS(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function fTe(){if(DS("reduce"))return!0;if(DS("no-preference"))return!1}function DS(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function dTe(){if(SS("high"))return!0;if(SS("standard"))return!1}function SS(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var eu=Math,Kt=function(){return 0};function pTe(){var e=eu.acos||Kt,u=eu.acosh||Kt,t=eu.asin||Kt,r=eu.asinh||Kt,n=eu.atanh||Kt,i=eu.atan||Kt,E=eu.sin||Kt,o=eu.sinh||Kt,a=eu.cos||Kt,s=eu.cosh||Kt,A=eu.tan||Kt,c=eu.tanh||Kt,l=eu.exp||Kt,f=eu.expm1||Kt,p=eu.log1p||Kt,h=function(S){return eu.pow(eu.PI,S)},w=function(S){return eu.log(S+eu.sqrt(S*S-1))},m=function(S){return eu.log(S+eu.sqrt(S*S+1))},g=function(S){return eu.log((1+S)/(1-S))/2},v=function(S){return eu.exp(S)-1/eu.exp(S)/2},d=function(S){return(eu.exp(S)+1/eu.exp(S))/2},y=function(S){return eu.exp(S)-1},b=function(S){return(eu.exp(2*S)-1)/(eu.exp(2*S)+1)},C=function(S){return eu.log(1+S)};return{acos:e(.12312423423423424),acosh:u(1e308),acoshPf:w(1e154),asin:t(.12312423423423424),asinh:r(1),asinhPf:m(1),atanh:n(.5),atanhPf:g(.5),atan:i(.5),sin:E(-1e300),sinh:o(1),sinhPf:v(1),cos:a(10.000000000123),cosh:s(1),coshPf:d(1),tan:A(-1e300),tanh:c(1),tanhPf:b(1),exp:l(1),expm1:f(1),expm1Pf:y(1),log1p:p(10),log1pPf:C(10),powPI:h(-100)}}var hTe="mmMwWLliI0fiflO&1",d3={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function mTe(){return gTe(function(e,u){for(var t={},r={},n=0,i=Object.keys(d3);n<i.length;n++){var E=i[n],o=d3[E],a=o[0],s=a===void 0?{}:a,A=o[1],c=A===void 0?hTe:A,l=e.createElement("span");l.textContent=c,l.style.whiteSpace="nowrap";for(var f=0,p=Object.keys(s);f<p.length;f++){var h=p[f],w=s[h];w!==void 0&&(l.style[h]=w)}t[E]=l,u.append(e.createElement("br"),l)}for(var m=0,g=Object.keys(d3);m<g.length;m++){var E=g[m];r[E]=t[E].getBoundingClientRect().width}return r})}function gTe(e,u){return u===void 0&&(u=4e3),hN(function(t,r){var n=r.document,i=n.body,E=i.style;E.width="".concat(u,"px"),E.webkitTextSizeAdjust=E.textSizeAdjust="none",Zc()?i.style.zoom="".concat(1/r.devicePixelRatio):Ir()&&(i.style.zoom="reset");var o=n.createElement("div");return o.textContent=Uu([],Array(u/20<<0),!0).map(function(){return"word"}).join(" "),i.appendChild(o),e(n,i)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function yTe(){return navigator.pdfViewerEnabled}function vTe(){var e=new Float32Array(1),u=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],u[3]}function BTe(){var e=window.ApplePaySession;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(wTe())return-3;try{return e.canMakePayments()?1:0}catch(u){return bTe(u)}}var wTe=mIe;function bTe(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function xTe(){var e,u=document.createElement("a"),t=(e=u.attributionSourceId)!==null&&e!==void 0?e:u.attributionsourceid;return t===void 0?void 0:String(t)}var mN=-1,gN=-2,CTe=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),DTe=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),STe=["FRAGMENT_SHADER","VERTEX_SHADER"],FTe=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],yN="WEBGL_debug_renderer_info",_Te="WEBGL_polygon_mode";function ITe(e){var u,t,r,n,i,E,o=e.cache,a=vN(o);if(!a)return mN;if(!wN(a))return gN;var s=BN()?null:a.getExtension(yN);return{version:((u=a.getParameter(a.VERSION))===null||u===void 0?void 0:u.toString())||"",vendor:((t=a.getParameter(a.VENDOR))===null||t===void 0?void 0:t.toString())||"",vendorUnmasked:s?(r=a.getParameter(s.UNMASKED_VENDOR_WEBGL))===null||r===void 0?void 0:r.toString():"",renderer:((n=a.getParameter(a.RENDERER))===null||n===void 0?void 0:n.toString())||"",rendererUnmasked:s?(i=a.getParameter(s.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((E=a.getParameter(a.SHADING_LANGUAGE_VERSION))===null||E===void 0?void 0:E.toString())||""}}
1021function TTe(e){var u=e.cache,t=vN(u);if(!t)return mN;if(!wN(t))return gN;var r=t.getSupportedExtensions(),n=t.getContextAttributes(),i=[],E=[],o=[],a=[],s=[];if(n)for(var A=0,c=Object.keys(n);A<c.length;A++){var l=c[A];E.push("".concat(l,"=").concat(n[l]))}for(var f=FS(t),p=0,h=f;p<h.length;p++){var w=h[p],m=t[w];o.push("".concat(w,"=").concat(m).concat(CTe.has(m)?"=".concat(t.getParameter(m)):""))}if(r)for(var g=0,v=r;g<v.length;g++){var d=v[g];if(!(d===yN&&BN()||d===_Te&&kTe())){var y=t.getExtension(d);if(!y){i.push(d);continue}for(var b=0,C=FS(y);b<C.length;b++){var w=C[b],m=y[w];a.push("".concat(w,"=").concat(m).concat(DTe.has(m)?"=".concat(t.getParameter(m)):""))}}}for(var S=0,F=STe;S<F.length;S++)for(var I=F[S],R=0,X=FTe;R<X.length;R++){var J=X[R],ee=PTe(t,I,J);s.push("".concat(I,".").concat(J,"=").concat(ee.join(",")))}return a.sort(),o.sort(),{contextAttributes:E,parameters:o,shaderPrecisions:s,extensions:r,extensionParameters:a,unsupportedExtensions:i}}function vN(e){if(e.webgl)return e.webgl.context;var u=document.createElement("canvas"),t;u.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,n=["webgl","experimental-webgl"];r<n.length;r++){var i=n[r];try{t=u.getContext(i)}catch{}if(t)break}return e.webgl={context:t},t}function PTe(e,u,t){var r=e.getShaderPrecisionFormat(e[u],e[t]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function FS(e){var u=Object.keys(e.__proto__);return u.filter(OTe)}function OTe(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function BN(){return pN()}function kTe(){return Zc()||Ir()}function wN(e){return typeof e.getParameter=="function"}function UTe(){var e=E7()||Ir();if(!e)return-2;if(!window.AudioContext)return-1;var u=new AudioContext().baseLatency;return u==null?-1:isFinite(u)?u:-3}function QTe(){if(!window.Intl)return-1;var e=window.Intl.DateTimeFormat;if(!e)return-2;var u=e().resolvedOptions().locale;return!u&&u!==""?-3:u}var LTe={fonts:vIe,domBlockers:tTe,fontPreferences:mTe,audio:sIe,screenFrame:HIe,canvas:wIe,osCpu:PIe,languages:OIe,colorDepth:kIe,deviceMemory:UIe,screenResolution:QIe,hardwareConcurrency:jIe,timezone:KIe,sessionStorage:VIe,localStorage:zIe,indexedDB:GIe,openDatabase:YIe,cpuClass:XIe,platform:ZIe,plugins:BIe,touchSupport:TIe,vendor:qIe,vendorFlavors:JIe,cookiesEnabled:eTe,colorGamut:ETe,invertedColors:oTe,forcedColors:aTe,monochrome:ATe,contrast:cTe,reducedMotion:lTe,reducedTransparency:fTe,hdr:dTe,math:pTe,pdfViewerEnabled:yTe,architecture:vTe,applePay:BTe,privateClickMeasurement:xTe,audioBaseLatency:UTe,dateTimeLocale:QTe,webGlBasics:ITe,webGlExtensions:TTe};function MTe(e){return eIe(LTe,e,[])}var RTe="$ if upgrade to Pro: https://fpjs.dev/pro";function NTe(e){var u=$Te(e),t=HTe(u);return{score:u,comment:RTe.replace(/\$/g,"".concat(t))}}function $Te(e){if(E7())return .4;if(Ir())return i7()&&!(Jc()&&qc())?.5:.3;var u="value"in e.platform?e.platform.value:"";return/^Win/.test(u)?.6:/^Mac/.test(u)?.5:.7}function HTe(e){return fN(.99+.01*e,1e-4)}function jTe(e){for(var u="",t=0,r=Object.keys(e).sort();t<r.length;t++){var n=r[t],i=e[n],E="error"in i?"error":JSON.stringify(i.value);u+="".concat(u?"|":"").concat(n.replace(/([:|\\])/g,"\\$1"),":").concat(E)}return u}function bN(e){return JSON.stringify(e,function(u,t){return t instanceof Error?X_e(t):t},2)}function xN(e){return Y_e(jTe(e))}function KTe(e){var u,t=NTe(e);return{get visitorId(){return u===void 0&&(u=xN(this.components)),u},set visitorId(r){u=r},confidence:t,components:e,version:cN}}function WTe(e){return e===void 0&&(e=50),N_e(e,e*2)}function VTe(e,u){var t=Date.now();return{get:function(r){return ae(this,void 0,void 0,function(){var n,i,E;return se(this,function(o){switch(o.label){case 0:return n=Date.now(),[4,e()];case 1:return i=o.sent(),E=KTe(i),(u||r!=null&&r.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(E.version,`
1022userAgent: `).concat(navigator.userAgent,`
1023timeBetweenLoadAndGet: `).concat(n-t,`
1024visitorId: `).concat(E.visitorId,`
1025components: `).concat(bN(i),"\n```")),[2,E]}})})}}}function zTe(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(cN,"/npm-monitoring"),!0),e.send()}catch(u){console.error(u)}}function GTe(e){var u;return e===void 0&&(e={}),ae(this,void 0,void 0,function(){var t,r,n;return se(this,function(i){switch(i.label){case 0:return(!((u=e.monitoring)!==null&&u!==void 0)||u)&&zTe(),t=e.delayFallback,r=e.debug,[4,WTe(t)];case 1:return i.sent(),n=MTe({cache:{},debug:r}),[2,VTe(n,r)]}})})}var uGe={load:GTe,hashComponents:xN,componentsToDebugString:bN},YTe=Object.defineProperty,Q1=Object.getOwnPropertySymbols,CN=Object.prototype.hasOwnProperty,DN=Object.prototype.propertyIsEnumerable,_S=(e,u,t)=>u in e?YTe(e,u,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[u]=t,IS=(e,u)=>{for(var t in u||(u={}))CN.call(u,t)&&_S(e,t,u[t]);if(Q1)for(var t of Q1(u))DN.call(u,t)&&_S(e,t,u[t]);return e},XTe=(e,u)=>{var t={};for(var r in e)CN.call(e,r)&&u.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&Q1)for(var r of Q1(e))u.indexOf(r)<0&&DN.call(e,r)&&(t[r]=e[r]);return t};/**
1026 * @license QR Code generator library (TypeScript)
1027 * Copyright (c) Project Nayuki.
1028 * SPDX-License-Identifier: MIT
1029 */var VE;(e=>{const u=class{constructor(a,s,A,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],a<u.MIN_VERSION||a>u.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;let l=[];for(let p=0;p<this.size;p++)l.push(!1);for(let p=0;p<this.size;p++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();const f=this.addEccAndInterleave(A);
vendor: 6,590 bytes, line 1029
1029if(this.drawCodewords(f),c==-1){let p=1e9;for(let h=0;h<8;h++){this.applyMask(h),this.drawFormatBits(h);const w=this.getPenaltyScore();w<p&&(c=h,p=w),this.applyMask(h)}}i(0<=c&&c<=7),this.mask=c,this.applyMask(c),this.drawFormatBits(c),this.isFunction=[]}static encodeText(a,s){const A=e.QrSegment.makeSegments(a);return u.encodeSegments(A,s)}static encodeBinary(a,s){const A=e.QrSegment.makeBytes(a);return u.encodeSegments([A],s)}static encodeSegments(a,s,A=1,c=40,l=-1,f=!0){if(!(u.MIN_VERSION<=A&&A<=c&&c<=u.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let p,h;for(p=A;;p++){const v=u.getNumDataCodewords(p,s)*8,d=o.getTotalBits(a,p);if(d<=v){h=d;break}if(p>=c)throw new RangeError("Data too long")}for(const v of[u.Ecc.MEDIUM,u.Ecc.QUARTILE,u.Ecc.HIGH])f&&h<=u.getNumDataCodewords(p,v)*8&&(s=v);let w=[];for(const v of a){r(v.mode.modeBits,4,w),r(v.numChars,v.mode.numCharCountBits(p),w);for(const d of v.getData())w.push(d)}i(w.length==h);const m=u.getNumDataCodewords(p,s)*8;i(w.length<=m),r(0,Math.min(4,m-w.length),w),r(0,(8-w.length%8)%8,w),i(w.length%8==0);for(let v=236;w.length<m;v^=253)r(v,8,w);let g=[];for(;g.length*8<w.length;)g.push(0);return w.forEach((v,d)=>g[d>>>3]|=v<<7-(d&7)),new u(p,s,g,l)}getModule(a,s){return 0<=a&&a<this.size&&0<=s&&s<this.size&&this.modules[s][a]}getModules(){return this.modules}drawFunctionPatterns(){for(let A=0;A<this.size;A++)this.setFunctionModule(6,A,A%2==0),this.setFunctionModule(A,6,A%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const a=this.getAlignmentPatternPositions(),s=a.length;for(let A=0;A<s;A++)for(let c=0;c<s;c++)A==0&&c==0||A==0&&c==s-1||A==s-1&&c==0||this.drawAlignmentPattern(a[A],a[c]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(a){const s=this.errorCorrectionLevel.formatBits<<3|a;let A=s;for(let l=0;l<10;l++)A=A<<1^(A>>>9)*1335;const c=(s<<10|A)^21522;i(c>>>15==0);for(let l=0;l<=5;l++)this.setFunctionModule(8,l,n(c,l));this.setFunctionModule(8,7,n(c,6)),this.setFunctionModule(8,8,n(c,7)),this.setFunctionModule(7,8,n(c,8));for(let l=9;l<15;l++)this.setFunctionModule(14-l,8,n(c,l));for(let l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,n(c,l));for(let l=8;l<15;l++)this.setFunctionModule(8,this.size-15+l,n(c,l));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let A=0;A<12;A++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;i(s>>>18==0);for(let A=0;A<18;A++){const c=n(s,A),l=this.size-11+A%3,f=Math.floor(A/3);this.setFunctionModule(l,f,c),this.setFunctionModule(f,l,c)}}drawFinderPattern(a,s){for(let A=-4;A<=4;A++)for(let c=-4;c<=4;c++){const l=Math.max(Math.abs(c),Math.abs(A)),f=a+c,p=s+A;0<=f&&f<this.size&&0<=p&&p<this.size&&this.setFunctionModule(f,p,l!=2&&l!=4)}}drawAlignmentPattern(a,s){for(let A=-2;A<=2;A++)for(let c=-2;c<=2;c++)this.setFunctionModule(a+c,s+A,Math.max(Math.abs(c),Math.abs(A))!=1)}setFunctionModule(a,s,A){this.modules[s][a]=A,this.isFunction[s][a]=!0}addEccAndInterleave(a){const s=this.version,A=this.errorCorrectionLevel;if(a.length!=u.getNumDataCodewords(s,A))throw new RangeError("Invalid argument");const c=u.NUM_ERROR_CORRECTION_BLOCKS[A.ordinal][s],l=u.ECC_CODEWORDS_PER_BLOCK[A.ordinal][s],f=Math.floor(u.getNumRawDataModules(s)/8),p=c-f%c,h=Math.floor(f/c);let w=[];const m=u.reedSolomonComputeDivisor(l);for(let v=0,d=0;v<c;v++){let y=a.slice(d,d+h-l+(v<p?0:1));d+=y.length;const b=u.reedSolomonComputeRemainder(y,m);v<p&&y.push(0),w.push(y.concat(b))}let g=[];for(let v=0;v<w[0].length;v++)w.forEach((d,y)=>{(v!=h-l||y>=p)&&g.push(d[v])});return i(g.length==f),g}drawCodewords(a){if(a.length!=Math.floor(u.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let A=this.size-1;A>=1;A-=2){A==6&&(A=5);for(let c=0;c<this.size;c++)for(let l=0;l<2;l++){const f=A-l,h=(A+1&2)==0?this.size-1-c:c;!this.isFunction[h][f]&&s<a.length*8&&(this.modules[h][f]=n(a[s>>>3],7-(s&7)),s++)}}i(s==a.length*8)}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let A=0;A<this.size;A++){let c;switch(a){case 0:c=(A+s)%2==0;break;case 1:c=s%2==0;break;case 2:c=A%3==0;break;case 3:c=(A+s)%3==0;break;case 4:c=(Math.floor(A/3)+Math.floor(s/2))%2==0;break;case 5:c=A*s%2+A*s%3==0;break;case 6:c=(A*s%2+A*s%3)%2==0;break;case 7:c=((A+s)%2+A*s%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[s][A]&&c&&(this.modules[s][A]=!this.modules[s][A])}}getPenaltyScore(){let a=0;for(let l=0;l<this.size;l++){let f=!1,p=0,h=[0,0,0,0,0,0,0];for(let w=0;w<this.size;w++)this.modules[l][w]==f?(p++,p==5?a+=u.PENALTY_N1:p>5&&a++):(this.finderPenaltyAddHistory(p,h),f||(a+=this.finderPenaltyCountPatterns(h)*u.PENALTY_N3),f=this.modules[l][w],p=1);a+=this.finderPenaltyTerminateAndCount(f,p,h)*u.PENALTY_N3}for(let l=0;l<this.size;l++){let f=!1,p=0,h=[0,0,0,0,0,0,0];for(let w=0;w<this.size;w++)this.modules[w][l]==f?(p++,p==5?a+=u.PENALTY_N1:p>5&&a++):(this.finderPenaltyAddHistory(p,h),f||(a+=this.finderPenaltyCountPatterns(h)*u.PENALTY_N3),f=this.modules[w][l],p=1);a+=this.finderPenaltyTerminateAndCount(f,p,h)*u.PENALTY_N3}for(let l=0;l<this.size-1;l++)for(let f=0;f<this.size-1;f++){const p=this.modules[l][f];p==this.modules[l][f+1]&&p==this.modules[l+1][f]&&p==this.modules[l+1][f+1]&&(a+=u.PENALTY_N2)}let s=0;for(const l of this.modules)s=l.reduce((f,p)=>f+(p?1:0),s);const A=this.size*this.size,c=Math.ceil(Math.abs(s*20-A*10)/A)-1;return i(0<=c&&c<=9),a+=c*u.PENALTY_N4,i(0<=a&&a<=2568888),a}getAlignmentPatternPositions(){if(this.version==1)return[];{const a=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(a*2-2))*2;let A=[6];for(let c=this.size-7;A.length<a;c-=s)A.splice(1,0,c);return A}}static getNumRawDataModules(a){if(a<u.MIN_VERSION||a>u.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const A=Math.floor(a/7)+2;s-=(25*A-10)*A-55,a>=7&&(s-=36)}return i(208<=s&&s<=29648),s}static getNumDataCodewords(a,s){return Math.floor(u.getNumRawDataModules(a)/8)-u.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*u.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");let s=[];for(let c=0;c<a-1;c++)s.push(0);s.push(1);let A=1;for(let c=0;c<a;c++){for(let l=0;l<s.length;l++)s[l]=u.reedSolomonMultiply(s[l],A),l+1<s.length&&(s[l]^=s[l+1]);A=u.reedSolomonMultiply(A,2)}return s}static reedSolomonComputeRemainder(a,s){let A=s.map(c=>0);for(const c of a){const l=c^A.shift();
1029A.push(0),s.forEach((f,p)=>A[p]^=u.reedSolomonMultiply(f,l))}return A}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let A=0;for(let c=7;c>=0;c--)A=A<<1^(A>>>7)*285,A^=(s>>>c&1)*a;return i(A>>>8==0),A}finderPenaltyCountPatterns(a){const s=a[1];i(s<=this.size*3);const A=s>0&&a[2]==s&&a[3]==s*3&&a[4]==s&&a[5]==s;return(A&&a[0]>=s*4&&a[6]>=s?1:0)+(A&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,A){return a&&(this.finderPenaltyAddHistory(s,A),s=0),s+=this.size,this.finderPenaltyAddHistory(s,A),this.finderPenaltyCountPatterns(A)}finderPenaltyAddHistory(a,s){s[0]==0&&(a+=this.size),s.pop(),s.unshift(a)}};let t=u;t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function r(a,s,A){if(s<0||s>31||a>>>s)throw new RangeError("Value out of range");for(let c=s-1;c>=0;c--)A.push(a>>>c&1)}function n(a,s){return(a>>>s&1)!=0}function i(a){if(!a)throw new Error("Assertion error")}const E=class{constructor(a,s,A){if(this.mode=a,this.numChars=s,this.bitData=A,s<0)throw new RangeError("Invalid argument");this.bitData=A.slice()}static makeBytes(a){let s=[];for(const A of a)r(A,8,s);return new E(E.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!E.isNumeric(a))throw new RangeError("String contains non-numeric characters");let s=[];for(let A=0;A<a.length;){const c=Math.min(a.length-A,3);r(parseInt(a.substr(A,c),10),c*3+1,s),A+=c}return new E(E.Mode.NUMERIC,a.length,s)}static makeAlphanumeric(a){if(!E.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");let s=[],A;for(A=0;A+2<=a.length;A+=2){let c=E.ALPHANUMERIC_CHARSET.indexOf(a.charAt(A))*45;c+=E.ALPHANUMERIC_CHARSET.indexOf(a.charAt(A+1)),r(c,11,s)}return A<a.length&&r(E.ALPHANUMERIC_CHARSET.indexOf(a.charAt(A)),6,s),new E(E.Mode.ALPHANUMERIC,a.length,s)}static makeSegments(a){return a==""?[]:E.isNumeric(a)?[E.makeNumeric(a)]:E.isAlphanumeric(a)?[E.makeAlphanumeric(a)]:[E.makeBytes(E.toUtf8ByteArray(a))]}static makeEci(a){let s=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)r(a,8,s);else if(a<16384)r(2,2,s),r(a,14,s);else if(a<1e6)r(6,3,s),r(a,21,s);else throw new RangeError("ECI assignment value out of range");return new E(E.Mode.ECI,0,s)}static isNumeric(a){return E.NUMERIC_REGEX.test(a)}static isAlphanumeric(a){return E.ALPHANUMERIC_REGEX.test(a)}getData(){return this.bitData.slice()}static getTotalBits(a,s){let A=0;for(const c of a){const l=c.mode.numCharCountBits(s);if(c.numChars>=1<<l)return 1/0;A+=4+l+c.bitData.length}return A}static toUtf8ByteArray(a){a=encodeURI(a);let s=[];for(let A=0;A<a.length;A++)a.charAt(A)!="%"?s.push(a.charCodeAt(A)):(s.push(parseInt(a.substr(A+1,2),16)),A+=2);return s}};let o=E;o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=o})(VE||(VE={}));(e=>{(u=>{const t=class{constructor(n,i){this.ordinal=n,this.formatBits=i}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),u.Ecc=r})(e.QrCode||(e.QrCode={}))})(VE||(VE={}));(e=>{(u=>{const t=class{constructor(n,i){this.modeBits=n,this.numBitsCharCount=i}numCharCountBits(n){return this.numBitsCharCount[Math.floor((n+7)/17)]}};let r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),u.Mode=r})(e.QrSegment||(e.QrSegment={}))})(VE||(VE={}));var iA=VE;/**
1030 * @license qrcode.react
1031 * Copyright (c) Paul O'Shannessy
1032 * SPDX-License-Identifier: ISC
1033 */var ZTe={L:iA.QrCode.Ecc.LOW,M:iA.QrCode.Ecc.MEDIUM,Q:iA.QrCode.Ecc.QUARTILE,H:iA.QrCode.Ecc.HIGH},qTe=128,JTe="L",ePe="#FFFFFF",uPe="#000000",tPe=!1,SN=4,rPe=.1;function nPe(e,u=0){const t=[];return e.forEach(function(r,n){let i=null;r.forEach(function(E,o){if(!E&&i!==null){t.push(`M${i+u} ${n+u}h${o-i}v1H${i+u}z`),i=null;return}if(o===r.length-1){if(!E)return;i===null?t.push(`M${o+u},${n+u} h1v1H${o+u}z`):t.push(`M${i+u},${n+u} h${o+1-i}v1H${i+u}z`);return}E&&i===null&&(i=o)})}),t.join("")}function iPe(e,u){return e.slice().map((t,r)=>r<u.y||r>=u.y+u.h?t:t.map((n,i)=>i<u.x||i>=u.x+u.w?n:!1))}function EPe(e,u,t,r){if(r==null)return null;const n=t?SN:0,i=e.length+n*2,E=Math.floor(u*rPe),o=i/u,a=(r.width||E)*o,s=(r.height||E)*o,A=r.x==null?e.length/2-a/2:r.x*o,c=r.y==null?e.length/2-s/2:r.y*o;let l=null;if(r.excavate){let f=Math.floor(A),p=Math.floor(c),h=Math.ceil(a+A-f),w=Math.ceil(s+c-p);l={x:f,y:p,w:h,h:w}}return{x:A,y:c,h:s,w:a,excavation:l}}var oPe=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function tGe(e){const u=e,{value:t,size:r=qTe,level:n=JTe,bgColor:i=ePe,fgColor:E=uPe,includeMargin:o=tPe,style:a,imageSettings:s}=u,A=XTe(u,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),c=s==null?void 0:s.src,l=$.useRef(null),f=$.useRef(null),[p,h]=$.useState(!1);$.useEffect(()=>{if(l.current!=null){const g=l.current,v=g.getContext("2d");if(!v)return;let d=iA.QrCode.encodeText(t,ZTe[n]).getModules();const y=o?SN:0,b=d.length+y*2,C=EPe(d,r,o,s),S=f.current,F=C!=null&&S!==null&&S.complete&&S.naturalHeight!==0&&S.naturalWi
vendor: 4,652 bytes, lines 1033-1050
1033dth!==0;F&&C.excavation!=null&&(d=iPe(d,C.excavation));const I=window.devicePixelRatio||1;g.height=g.width=r*I;const R=r/b*I;v.scale(R,R),v.fillStyle=i,v.fillRect(0,0,b,b),v.fillStyle=E,oPe?v.fill(new Path2D(nPe(d,y))):d.forEach(function(X,J){X.forEach(function(ee,L){ee&&v.fillRect(L+y,J+y,1,1)})}),F&&v.drawImage(S,C.x+y,C.y+y,C.w,C.h)}}),$.useEffect(()=>{h(!1)},[c]);const w=IS({height:r,width:r},a);let m=null;return c!=null&&(m=$.createElement("img",{src:c,key:c,style:{display:"none"},onLoad:()=>{h(!0)},ref:f})),$.createElement($.Fragment,null,$.createElement("canvas",IS({style:w,height:r,width:r,ref:l},A)),m)}/*!
1034 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
1035 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
1036 * Released under MIT License
1037 *//*! *****************************************************************************
1038Copyright (c) Microsoft Corporation.
1039
1040Permission to use, copy, modify, and/or distribute this software for any
1041purpose with or without fee is hereby granted.
1042
1043THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1044REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1045AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1046INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1047LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1048OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1049PERFORMANCE OF THIS SOFTWARE.
1050***************************************************************************** */var Uy=function(e,u){return Uy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Uy(e,u)};function Tr(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");Uy(e,u);function t(){this.constructor=e}e.prototype=u===null?Object.create(u):(t.prototype=u.prototype,new t)}function $0(e,u,t,r){function n(i){return i instanceof t?i:new t(function(E){E(i)})}return new(t||(t=Promise))(function(i,E){function o(A){try{s(r.next(A))}catch(c){E(c)}}function a(A){try{s(r.throw(A))}catch(c){E(c)}}function s(A){A.done?i(A.value):n(A.value).then(o,a)}s((r=r.apply(e,[])).next())})}function b0(e,u){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,E;return E={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function o(s){return function(A){return a([s,A])}}function a(s){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=s[0]&2?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,n=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1],i=s;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(s);break}i[2]&&t.ops.pop(),t.trys.pop();continue}s=u.call(e,t)}catch(A){s=[6,A],n=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var zE=function(){function e(u,t,r,n){this.left=u,this.top=t,this.width=r,this.height=n}return e.prototype.add=function(u,t,r,n){return new e(this.left+u,this.top+t,this.width+r,this.height+n)},e.fromClientRect=function(u,t){return new e(t.left+u.windowBounds.left,t.top+u.windowBounds.top,t.width,t.height)},e.fromDOMRectList=function(u,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new e(r.left+u.windowBounds.left,r.top+u.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),o7=function(e,u){return zE.fromClientRect(e,u.getBoundingClientRect())},Wp=function(e){for(var u=[],t=0,r=e.length;t<r;){var n=e.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=e.charCodeAt(t++);(i&64512)===56320?u.push(((n&1023)<<10)+(i&1023)+65536):(u.push(n),t--)}else u.push(n)}return u},Ku=function(){for(var e=[],u=0;u<arguments.length;u++)e[u]=arguments[u];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var E=e[n];E<=65535?r.push(E):(E-=65536,r.push((E>>10)+55296,E%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},TS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1050+/",aPe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var rf=0;rf<TS.length;rf++)aPe[TS.charCodeAt(rf)]=rf;var PS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",EA=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var nf=0;nf<PS.length;nf++)EA[PS.charCodeAt(nf)]=nf;var sPe=function(e){var u=e.length*.75,t=e.length,r,n=0,i,E,o,a;e[e.length-1]==="="&&(u--,e[e.length-2]==="="&&u--);var s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(u):new Array(u),A=Array.isArray(s)?s:new Uint8Array(s);for(r=0;r<t;r+=4)i=EA[e.charCodeAt(r)],E=EA[e.charCodeAt(r+1)],o=EA[e.charCodeAt(r+2)],a=EA[e.charCodeAt(r+3)],A[n++]=i<<2|E>>4,A[n++]=(E&15)<<4|o>>2,A[n++]=(o&3)<<6|a&63;return s},APe=function(e){for(var u=e.length,t=[],r=0;r<u;r+=2)t.push(e[r+1]<<8|e[r]);return t},cPe=function(e){for(var u=e.length,t=[],r=0;r<u;r+=4)t.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return t},IE=5,a7=11,p3=2,lPe=a7-IE,FN=65536>>IE,fPe=1<<IE,h3=fPe-1,dPe=1024>>IE,pPe=FN+dPe,hPe=pPe,mPe=32,gPe=hPe+mPe,yPe=65536>>a7,vPe=1<<lPe,BPe=vPe-1,OS=function(e,u,t){return e.slice?e.slice(u,t):new Uint16Array(Array.prototype.slice.call(e,u,t))},wPe=function(e,u,t){return e.slice?e.slice(u,t):new Uint32Array(Array.prototype.slice.call(e,u,t))},bPe=function(e,u){var t=sPe(e),r=Array.isArray(t)?cPe(t):new Uint32Array(t),n=Array.isArray(t)?APe(t):new Uint16Array(t),i=24,E=OS(n,i/2,r[4]/2),o=r[5]===2?OS(n,(i+r[4])/2):wPe(r,Math.ceil((i+r[4])/4));return new xPe(r[0],r[1],r[2],r[3],E,o)},xPe=function(){function e(u,t,r,n,i,E){this.initialValue=u,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=E}return e.prototype.get=function(u){var t;if(u>=0){if(u<55296||u>56319&&u<=65535)return t=this.index[u>>IE],t=(t<<p3)+(u&h3),this.data[t];if(u<=65535)return t=this.index[FN+(u-55296>>IE)],t=(t<<p3)+(u&h3),this.data[t];if(u<this.highStart)return t=gPe-yPe+(u>>a7),t=this.index[t],t+=u>>IE&BPe,t=this.index[t],t=(t<<p3)+(u&h3),this.data[t];if(u<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),kS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",CPe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ef=0;Ef<kS.length;Ef++)CPe[kS.charCodeAt(Ef)]=Ef;var DPe=
vendor: 52,891 bytes, line 1050
1050"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,574 bytes, line 1050
1050US=50,SPe=1,_N=2,IN=3,FPe=4,_Pe=5,QS=7,TN=8,LS=9,ei=10,Qy=11,MS=12,Ly=13,IPe=14,oA=15,My=16,of=17,Ks=18,TPe=19,RS=20,Ry=21,Ws=22,m3=23,Bo=24,x0=25,aA=26,sA=27,wo=28,PPe=29,lE=30,OPe=31,af=32,sf=33,Ny=34,$y=35,Hy=36,hc=37,jy=38,md=39,gd=40,g3=41,PN=42,kPe=43,UPe=[9001,65288],ON="!",Ue="×",Af="÷",Ky=bPe(DPe),ln=[lE,Hy],Wy=[SPe,_N,IN,_Pe],kN=[ei,TN],NS=[sA,aA],QPe=Wy.concat(kN),$S=[jy,md,gd,Ny,$y],LPe=[oA,Ly],MPe=function(e,u){u===void 0&&(u="strict");var t=[],r=[],n=[];return e.forEach(function(i,E){var o=Ky.get(i);if(o>US?(n.push(!0),o-=US):n.push(!1),["normal","auto","loose"].indexOf(u)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(E),t.push(My);if(o===FPe||o===Qy){if(E===0)return r.push(E),t.push(lE);var a=t[E-1];return QPe.indexOf(a)===-1?(r.push(r[E-1]),t.push(a)):(r.push(E),t.push(lE))}if(r.push(E),o===OPe)return t.push(u==="strict"?Ry:hc);if(o===PN||o===PPe)return t.push(lE);if(o===kPe)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(hc):t.push(lE);t.push(o)}),[r,t,n]},y3=function(e,u,t,r){var n=r[t];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var i=t;i<=r.length;){i++;var E=r[i];if(E===u)return!0;if(E!==ei)break}if(n===ei)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var a=t;a<=r.length;){a++;var E=r[a];if(E===u)return!0;if(E!==ei)break}if(o!==ei)break}return!1},HS=function(e,u){for(var t=e;t>=0;){var r=u[t];if(r===ei)t--;else return r}return 0},RPe=function(e,u,t,r,n){if(t[r]===0)return Ue;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ue;var E=i-1,o=i+1,a=u[i],s=E>=0?u[E]:0,A=u[o];if(a===_N&&A===IN)return Ue;if(Wy.indexOf(a)!==-1)return ON;if(Wy.indexOf(A)!==-1||kN.indexOf(A)!==-1)return Ue;if(HS(i,u)===TN)return Af;if(Ky.get(e[i])===Qy||(a===af||a===sf)&&Ky.get(e[o])===Qy||a===QS||A===QS||a===LS||[ei,Ly,oA].indexOf(a)===-1&&A===LS||[of,Ks,TPe,Bo,wo].indexOf(A)!==-1||HS(i,u)===Ws||y3(m3,Ws,i,u)||y3([of,Ks],Ry,i,u)||y3(MS,MS,i,u))return Ue;if(a===ei)return Af;if(a===m3||A===m3)return Ue;if(A===My||a===My)return Af;if([Ly,oA,Ry].indexOf(A)!==-1||a===IPe||s===Hy&&LPe.indexOf(a)!==-1||a===wo&&A===Hy||A===RS||ln.indexOf(A)!==-1&&a===x0||ln.indexOf(a)!==-1&&A===x0||a===sA&&[hc,af,sf].indexOf(A)!==-1||[hc,af,sf].indexOf(a)!==-1&&A===aA||ln.indexOf(a)!==-1&&NS.indexOf(A)!==-1||NS.indexOf(a)!==-1&&ln.indexOf(A)!==-1||[sA,aA].indexOf(a)!==-1&&(A===x0||[Ws,oA].indexOf(A)!==-1&&u[o+1]===x0)||[Ws,oA].indexOf(a)!==-1&&A===x0||a===x0&&[x0,wo,Bo].indexOf(A)!==-1)return Ue;if([x0,wo,Bo,of,Ks].indexOf(A)!==-1)for(var c=i;c>=0;){var l=u[c];if(l===x0)return Ue;if([wo,Bo].indexOf(l)!==-1)c--;else break}if([sA,aA].indexOf(A)!==-1)for(var c=[of,Ks].indexOf(a)!==-1?E:i;c>=0;){var l=u[c];if(l===x0)return Ue;if([wo,Bo].indexOf(l)!==-1)c--;else break}if(jy===a&&[jy,md,Ny,$y].indexOf(A)!==-1||[md,Ny].indexOf(a)!==-1&&[md,gd].indexOf(A)!==-1||[gd,$y].indexOf(a)!==-1&&A===gd||$S.indexOf(a)!==-1&&[RS,aA].indexOf(A)!==-1||$S.indexOf(A)!==-1&&a===sA||ln.indexOf(a)!==-1&&ln.indexOf(A)!==-1||a===Bo&&ln.indexOf(A)!==-1||ln.concat(x0).indexOf(a)!==-1&&A===Ws&&UPe.indexOf(e[o])===-1||ln.concat(x0).indexOf(A)!==-1&&a===Ks)return Ue;if(a===g3&&A===g3){for(var f=t[i],p=1;f>0&&(f--,u[f]===g3);)p++;if(p%2!==0)return Ue}return a===af&&A===sf?Ue:Af},NPe=function(e,u){u||(u={lineBreak:"normal",wordBreak:"normal"});var t=MPe(e,u.lineBreak),r=t[0],n=t[1],i=t[2];(u.wordBreak==="break-all"||u.wordBreak==="break-word")&&(n=n.map(function(o){return[x0,lE,PN].indexOf(o)!==-1?hc:o}));var E=u.wordBreak==="keep-all"?i.map(function(o,a){return o&&e[a]>=19968&&e[a]<=40959}):void 0;return[r,n,E]}
vendor: 6,458 bytes, line 1050
1050,$Pe=function(){function e(u,t,r,n){this.codePoints=u,this.required=t===ON,this.start=r,this.end=n}return e.prototype.slice=function(){return Ku.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),HPe=function(e,u){var t=Wp(e),r=NPe(t,u),n=r[0],i=r[1],E=r[2],o=t.length,a=0,s=0;return{next:function(){if(s>=o)return{done:!0,value:null};for(var A=Ue;s<o&&(A=RPe(t,i,n,++s,E))===Ue;);if(A!==Ue||s===o){var c=new $Pe(t,A,a,s);return a=s,{value:c,done:!1}}return{done:!0,value:null}}}},jPe=1,KPe=2,el=4,jS=8,L1=10,KS=47,TA=92,WPe=9,VPe=32,cf=34,Vs=61,zPe=35,GPe=36,YPe=37,lf=39,ff=40,zs=41,XPe=95,o0=45,ZPe=33,qPe=60,JPe=62,eOe=64,uOe=91,tOe=93,rOe=61,nOe=123,df=63,iOe=125,WS=124,EOe=126,oOe=128,VS=65533,v3=42,yE=43,aOe=44,sOe=58,AOe=59,mc=46,cOe=0,lOe=8,fOe=11,dOe=14,pOe=31,hOe=127,Qr=-1,UN=48,QN=97,LN=101,mOe=102,gOe=117,yOe=122,MN=65,RN=69,NN=70,vOe=85,BOe=90,Ut=function(e){return e>=UN&&e<=57},wOe=function(e){return e>=55296&&e<=57343},bo=function(e){return Ut(e)||e>=MN&&e<=NN||e>=QN&&e<=mOe},bOe=function(e){return e>=QN&&e<=yOe},xOe=function(e){return e>=MN&&e<=BOe},COe=function(e){return bOe(e)||xOe(e)},DOe=function(e){return e>=oOe},pf=function(e){return e===L1||e===WPe||e===VPe},M1=function(e){return COe(e)||DOe(e)||e===XPe},zS=function(e){return M1(e)||Ut(e)||e===o0},SOe=function(e){return e>=cOe&&e<=lOe||e===fOe||e>=dOe&&e<=pOe||e===hOe},Wn=function(e,u){return e!==TA?!1:u!==L1},hf=function(e,u,t){return e===o0?M1(u)||Wn(u,t):M1(e)?!0:!!(e===TA&&Wn(e,u))},B3=function(e,u,t){return e===yE||e===o0?Ut(u)?!0:u===mc&&Ut(t):Ut(e===mc?u:e)},FOe=function(e){var u=0,t=1;(e[u]===yE||e[u]===o0)&&(e[u]===o0&&(t=-1),u++);for(var r=[];Ut(e[u]);)r.push(e[u++]);var n=r.length?parseInt(Ku.apply(void 0,r),10):0;e[u]===mc&&u++;for(var i=[];Ut(e[u]);)i.push(e[u++]);var E=i.length,o=E?parseInt(Ku.apply(void 0,i),10):0;(e[u]===RN||e[u]===LN)&&u++;var a=1;(e[u]===yE||e[u]===o0)&&(e[u]===o0&&(a=-1),u++);for(var s=[];Ut(e[u]);)s.push(e[u++]);var A=s.length?parseInt(Ku.apply(void 0,s),10):0;return t*(n+o*Math.pow(10,-E))*Math.pow(10,a*A)},_Oe={type:2},IOe={type:3},TOe={type:4},POe={type:13},OOe={type:8},kOe={type:21},UOe={type:9},QOe={type:10},LOe={type:11},MOe={type:12},ROe={type:14},mf={type:23},NOe={type:1},$Oe={type:25},HOe={type:24},jOe={type:26},KOe={type:27},WOe={type:28},VOe={type:29},zOe={type:31},Vy={type:32},$N=function(){function e(){this._value=[]}return e.prototype.write=function(u){this._value=this._value.concat(Wp(u))},e.prototype.read=function(){for(var u=[],t=this.consumeToken();t!==Vy;)u.push(t),t=this.consumeToken();return u},e.prototype.consumeToken=function(){var u=this.consumeCodePoint();switch(u){case cf:return this.consumeStringToken(cf);case zPe:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(zS(t)||Wn(r,n)){var i=hf(t,r,n)?KPe:jPe,E=this.consumeName();return{type:5,value:E,flags:i}}break;case GPe:if(this.peekCodePoint(0)===Vs)return this.consumeCodePoint(),POe;break;case lf:return this.consumeStringToken(lf);case ff:return _Oe;case zs:return IOe;case v3:if(this.peekCodePoint(0)===Vs)return this.consumeCodePoint(),ROe;break;case yE:if(B3(u,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(u),this.consumeNumericToken();break;case aOe:return TOe;case o0:var o=u,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(B3(o,a,s))return this.reconsumeCodePoint(u),this.consumeNumericToken();if(hf(o,a,s))return this.reconsumeCodePoint(u),this.consumeIdentLikeToken();if(a===o0&&s===JPe)return this.consumeCodePoint(),this.consumeCodePoint(),HOe;break;case mc:if(B3(u,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(u),this.consumeNumericToken();break;case KS:if(this.peekCodePoint(0)===v3)for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(A===v3&&(A=this.consumeCodePoint(),A===KS))return this.consumeToken();if(A===Qr)return this.consumeToken()}break;case sOe:return jOe;case AOe:return KOe;case qPe:if(this.peekCodePoint(0)===ZPe&&this.peekCodePoint(1)===o0&&this.peekCodePoint(2)===o0)return this.consumeCodePoint(),this.consumeCodePoint(),$Oe;break;case eOe:var c=this.peekCodePoint(0),l=this.peekCodePoint(1),f=this.peekCodePoint(2);if(hf(c,l,f)){var E=this.consumeName();return{type:7,value:E}}break;case uOe:return WOe;case TA:if(Wn(u,this.peekCodePoint(0)))return this.reconsumeCodePoint(u),this.consumeIdentLikeToken();break;case tOe:return VOe;case rOe:if(this.peekCodePoint(0)===Vs)return this.consumeCodePoint(),OOe;break;case nOe:return LOe;case iOe:return MOe;case gOe:case vOe:var p=this.peekCodePoint(0),h=this.peekCodePoint(1);return p===yE&&(bo(h)||h===df)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(u),this.consumeIdentLikeToken();case WS:if(this.peekCodePoint(0)===Vs)return this.consumeCodePoint(),UOe;if(this.peekCodePoint(0)===WS)return this.consumeCodePoint(),kOe;break;case EOe:if(this.peekCodePoint(0)===Vs)return this.consumeCodePoint(),QOe;break;case Qr:return Vy}return pf(u)?(this.consumeWhiteSpace(),zOe):Ut(u)?(this.reconsumeCodePoint(u),this.consumeNumericToken()):M1(u)?(this.reconsumeCodePoint(u),this.consumeIdentLikeToken()):{type:6,value:Ku(u)}},e.prototype.consumeCodePoint=function(){var u=this._value.shift();return typeof u>"u"?-1:u},e.prototype.reconsumeCodePoint=function(u){this._value.unshift(u)},e.prototype.peekCodePoint=function(u){return u>=this._value.length?-1:this._value[u]},e.prototype.consumeUnicodeRangeToken=function(){for(var u=[],t=this.consumeCodePoint();bo(t)&&u.length<6;)u.push(t),t=this.consumeCodePoint();for(var r=!1;t===df&&u.length<6;)u.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(Ku.apply(void 0,u.map(function(a){return a===df?UN:a})),16),i=parseInt(Ku.apply(void 0,u.map(function(a){return a===df?NN:a})),16);return{type:30,start:n,end:i}}var E=parseInt(Ku.apply(void 0,u),16);if(this.peekCodePoint(0)===o0&&bo(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];bo(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(Ku.apply(void 0,o),16);return{type:30,start:E,end:i}}else return{type:30,start:E,end:E}},e.prototype.consumeIdentLikeToken=function(){var u=this.consumeName();return u.toLowerCase()==="url"&&this.peekCodePoint(0)===ff?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ff?(this.consumeCodePoint(),{type:19,value:u}):{type:20,value:u}},e.prototype.consumeUrlToken=function(){var u=[];
vendor: 2,188 bytes, line 1050
1050if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qr)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===lf||t===cf){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qr||this.peekCodePoint(0)===zs)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),mf)}for(;;){var n=this.consumeCodePoint();if(n===Qr||n===zs)return{type:22,value:Ku.apply(void 0,u)};if(pf(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Qr||this.peekCodePoint(0)===zs?(this.consumeCodePoint(),{type:22,value:Ku.apply(void 0,u)}):(this.consumeBadUrlRemnants(),mf);if(n===cf||n===lf||n===ff||SOe(n))return this.consumeBadUrlRemnants(),mf;if(n===TA)if(Wn(n,this.peekCodePoint(0)))u.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),mf;else u.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;pf(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var u=this.consumeCodePoint();if(u===zs||u===Qr)return;Wn(u,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(u){for(var t=5e4,r="";u>0;){var n=Math.min(t,u);r+=Ku.apply(void 0,this._value.splice(0,n)),u-=n}return this._value.shift(),r},e.prototype.consumeStringToken=function(u){var t="",r=0;do{var n=this._value[r];if(n===Qr||n===void 0||n===u)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===L1)return this._value.splice(0,r),NOe;if(n===TA){var i=this._value[r+1];i!==Qr&&i!==void 0&&(i===L1?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Wn(n,i)&&(t+=this.consumeStringSlice(r),t+=Ku(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var u=[],t=el,r=this.peekCodePoint(0);for((r===yE||r===o0)&&u.push(this.consumeCodePoint());Ut(this.peekCodePoint(0));)u.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===mc&&Ut(n))for(u.push(this.consumeCodePoint(),this.consumeCodePoint()),t=jS;Ut(this.peekCodePoint(0));)u.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);
vendor: 4,191 bytes, line 1050
1050if((r===RN||r===LN)&&((n===yE||n===o0)&&Ut(i)||Ut(n)))for(u.push(this.consumeCodePoint(),this.consumeCodePoint()),t=jS;Ut(this.peekCodePoint(0));)u.push(this.consumeCodePoint());return[FOe(u),t]},e.prototype.consumeNumericToken=function(){var u=this.consumeNumber(),t=u[0],r=u[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),E=this.peekCodePoint(2);if(hf(n,i,E)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===YPe?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var u=this.consumeCodePoint();if(bo(u)){for(var t=Ku(u);bo(this.peekCodePoint(0))&&t.length<6;)t+=Ku(this.consumeCodePoint());pf(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||wOe(r)||r>1114111?VS:r}return u===Qr?VS:u},e.prototype.consumeName=function(){for(var u="";;){var t=this.consumeCodePoint();if(zS(t))u+=Ku(t);else if(Wn(t,this.peekCodePoint(0)))u+=Ku(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),u}},e}(),HN=function(){function e(u){this._tokens=u}return e.create=function(u){var t=new $N;return t.write(u),new e(t.read())},e.parseValue=function(u){return e.create(u).parseComponentValue()},e.parseValues=function(u){return e.create(u).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var u=this.consumeToken();u.type===31;)u=this.consumeToken();if(u.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(u);var t=this.consumeComponentValue();do u=this.consumeToken();while(u.type===31);if(u.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var u=[];;){var t=this.consumeComponentValue();if(t.type===32)return u;u.push(t),u.push()}},e.prototype.consumeComponentValue=function(){var u=this.consumeToken();switch(u.type){case 11:case 28:case 2:return this.consumeSimpleBlock(u.type);case 19:return this.consumeFunction(u)}return u},e.prototype.consumeSimpleBlock=function(u){for(var t={type:u,values:[]},r=this.consumeToken();;){if(r.type===32||GOe(r,u))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(u){for(var t={name:u.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var u=this._tokens.shift();return typeof u>"u"?Vy:u},e.prototype.reconsumeToken=function(u){this._tokens.unshift(u)},e}(),ul=function(e){return e.type===15},Vp=function(e){return e.type===17},$u=function(e){return e.type===20},zy=function(e,u){return $u(e)&&e.value===u},zp=function(e){return e.type!==31&&e.type!==4},on=function(e){var u=[],t=[];return e.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");u.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&u.push(t),u},GOe=function(e,u){return u===11&&e.type===12||u===28&&e.type===29?!0:u===2&&e.type===3},Pi=function(e){return e.type===17||e.type===15},qu=function(e){return e.type===16||Pi(e)},jN=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},xt={type:17,number:0,flags:el},s7={type:16,number:50,flags:el},ui={type:16,number:100,flags:el},AA=function(e,u,t){var r=e[0],n=e[1];return[du(r,u),du(typeof n<"u"?n:r,t)]},du=function(e,u){if(e.type===16)return e.number/100*u;if(ul(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},KN="deg",WN="grad",VN="rad",zN="turn",Gp={name:"angle",parse:function(e,u){if(u.type===15)switch(u.unit){case KN:return Math.PI*u.number/180;case WN:return Math.PI/200*u.number;case VN:return u.number;case zN:return Math.PI*2*u.number}throw new Error("Unsupported angle type")}},GN=function(e){return e.type===15&&(e.unit===KN||e.unit===WN||e.unit===VN||e.unit===zN)},YN=function(e){var u=e.filter($u).map(function(t){return t.value}).join(" ");switch(u){case"to bottom right":case"to right bottom":case"left top":case"top left"
vendor: 12,818 bytes, line 1050
1050:return[xt,xt];case"to top":case"bottom":return Z0(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[xt,ui];case"to right":case"left":return Z0(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ui,ui];case"to bottom":case"top":return Z0(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ui,xt];case"to left":case"right":return Z0(270)}return 0},Z0=function(e){return Math.PI*e/180},wi={name:"color",parse:function(e,u){if(u.type===18){var t=YOe[u.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+u.name+'"');return t(e,u.values)}if(u.type===5){if(u.value.length===3){var r=u.value.substring(0,1),n=u.value.substring(1,2),i=u.value.substring(2,3);return ti(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(u.value.length===4){var r=u.value.substring(0,1),n=u.value.substring(1,2),i=u.value.substring(2,3),E=u.value.substring(3,4);return ti(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(E+E,16)/255)}if(u.value.length===6){var r=u.value.substring(0,2),n=u.value.substring(2,4),i=u.value.substring(4,6);return ti(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(u.value.length===8){var r=u.value.substring(0,2),n=u.value.substring(2,4),i=u.value.substring(4,6),E=u.value.substring(6,8);return ti(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(E,16)/255)}}if(u.type===20){var o=gc[u.value.toUpperCase()];if(typeof o<"u")return o}return gc.TRANSPARENT}},da=function(e){return(255&e)===0},st=function(e){var u=255&e,t=255&e>>8,r=255&e>>16,n=255&e>>24;return u<255?"rgba("+n+","+r+","+t+","+u/255+")":"rgb("+n+","+r+","+t+")"},ti=function(e,u,t,r){return(e<<24|u<<16|t<<8|Math.round(r*255)<<0)>>>0},GS=function(e,u){if(e.type===17)return e.number;if(e.type===16){var t=u===3?1:255;return u===3?e.number/100*t:Math.round(e.number/100*t)}return 0},YS=function(e,u){var t=u.filter(zp);if(t.length===3){var r=t.map(GS),n=r[0],i=r[1],E=r[2];return ti(n,i,E,1)}if(t.length===4){var o=t.map(GS),n=o[0],i=o[1],E=o[2],a=o[3];return ti(n,i,E,a)}return 0};function w3(e,u,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(u-e)*t*6+e:t<1/2?u:t<2/3?(u-e)*6*(2/3-t)+e:e}var XS=function(e,u){var t=u.filter(zp),r=t[0],n=t[1],i=t[2],E=t[3],o=(r.type===17?Z0(r.number):Gp.parse(e,r))/(Math.PI*2),a=qu(n)?n.number/100:0,s=qu(i)?i.number/100:0,A=typeof E<"u"&&qu(E)?du(E,1):1;if(a===0)return ti(s*255,s*255,s*255,1);var c=s<=.5?s*(a+1):s+a-s*a,l=s*2-c,f=w3(l,c,o+1/3),p=w3(l,c,o),h=w3(l,c,o-1/3);return ti(f*255,p*255,h*255,A)},YOe={hsl:XS,hsla:XS,rgb:YS,rgba:YS},ZS=function(e,u){return wi.parse(e,HN.create(u).parseComponentValue())},gc={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},XOe={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,u){return u.map(function(t){if($u(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ZOe={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Yp=function(e,u){var t=wi.parse(e,u[0]),r=u[1];return r&&qu(r)?{color:t,stop:r}:{color:t,stop:null}},qS=function(e,u){var t=e[0],r=e[e.length-1];t.stop===null&&(t.stop=xt),r.stop===null&&(r.stop=ui);for(var n=[],i=0,E=0;E<e.length;E++){var o=e[E].stop;if(o!==null){var a=du(o,u);a>i?n.push(a):n.push(i),i=a}else n.push(null)}for(var s=null,E=0;E<n.length;E++){var A=n[E];if(A===null)s===null&&(s=E);else if(s!==null){for(var c=E-s,l=n[s-1],f=(A-l)/(c+1),p=1;p<=c;p++)n[s+p-1]=f*p;s=null}}return e.map(function(h,w){var m=h.color;return{color:m,stop:Math.max(Math.min(1,n[w]/u),0)}})},qOe=function(e,u,t){var r=u/2,n=t/2,i=du(e[0],u)-r,E=n-du(e[1],t);return(Math.atan2(E,i)+Math.PI*2)%(Math.PI*2)},JOe=function(e,u,t){var r=typeof e=="number"?e:qOe(e,u,t),n=Math.abs(u*Math.sin(r))+Math.abs(t*Math.cos(r)),i=u/2,E=t/2,o=n/2,a=Math.sin(r-Math.PI/2)*o,s=Math.cos(r-Math.PI/2)*o;return[n,i-s,i+s,E-a,E+a]},cr=function(e,u){return Math.sqrt(e*e+u*u)},JS=function(e,u,t,r,n){var i=[[0,0],[0,u],[e,0],[e,u]];return i.reduce(function(E,o){var a=o[0],s=o[1],A=cr(t-a,r-s);return(n?A<E.optimumDistance:A>E.optimumDistance)?{optimumCorner:o,optimumDistance:A}:E},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},eke=function(e,u,t,r,n){var i=0,E=0;switch(e.size){case 0:e.shape===0?i=E=Math.min(Math.abs(u),Math.abs(u-r),Math.abs(t),Math.abs(t-n)):e.shape===1&&(i=Math.min(Math.abs(u),Math.abs(u-r)),E=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(e.shape===0)i=E=Math.min(cr(u,t),cr(u,t-n),cr(u-r,t),cr(u-r,t-n));else if(e.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(u),Math.abs(u-r)),a=JS(r,n,u,t,!0),s=a[0],A=a[1];i=cr(s-u,(A-t)/o),E=o*i}break;case 1:e.shape===0?i=E=Math.max(Math.abs(u),Math.abs(u-r),Math.abs(t),Math.abs(t-n)):e.shape===1&&(i=Math.max(Math.abs(u),Math.abs(u-r)),E=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(e.shape===0)i=E=Math.max(cr(u,t),cr(u,t-n),cr(u-r,t),cr(u-r,t-n));else if(e.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(u),Math.abs(u-r)),c=JS(r,n,u,t,!1),s=c[0],A=c[1];i=cr(s-u,(A-t)/o),E=o*i}break}return Array.isArray(e.size)&&(i=du(e.size[0],r),E=e.size.length===2?du(e.size[1],n):i),[i,E]},uke=function(e,u){var t=Z0(180),r=[];return on(u).forEach(function(n,i){if(i===0){var E=n[0];if(E.type===20&&E.value==="to"){t=YN(n);return}else if(GN(E)){t=Gp.parse(e,E);return}}var o=Yp(e,n);r.push(o)}),{angle:t,stops:r,type:1}},gf=function(e,u){var t=Z0(180),r=[];return on(u).forEach(function(n,i){if(i===0){var E=n[0];if(E.type===20&&["top","left","right","bottom"].indexOf(E.value)!==-1){t=YN(n);return}else if(GN(E)){t=(Gp.parse(e,E)+Z0(270))%Z0(360);return}}var o=Yp(e,n);r.push(o)}),{angle:t,stops:r,type:1}},tke=function(e,u){var t=Z0(180),r=[],n=1,i=0,E=3,o=[];return on(u).forEach(function(a,s){var A=a[0];if(s===0){if($u(A)&&A.value==="linear"){n=1;return}else if($u(A)&&A.value==="radial"){n=2;return}}if(A.type===18){if(A.name==="from"){var c=wi.parse(e,A.values[0]);r.push({stop:xt,color:c})}else if(A.name==="to"){var c=wi.parse(e,A.values[0]);r.push({stop:ui,color:c})}else if(A.name==="color-stop"){var l=A.values.filter(zp);if(l.length===2){var c=wi.parse(e,l[1]),f=l[0];Vp(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:c})}}}}),n===1?{angle:(t+Z0(180))%Z0(360),stops:r,type:n}:{size:E,shape:i,stops:r,position:o,type:n}},XN="closest-side",ZN="farthest-side",qN="closest-corner",JN="farthest-corner",e6="circle",u6="ellipse",t6="cover",r6="contain",rke=function(e,u){var t=0,r=3,n=[],i=[];return on(u).forEach(function(E,o){var a=!0;if(o===0){var s=!1;a=E.reduce(function(c,l){if(s)if($u(l))switch(l.value){case"center":return i.push(s7),c;case"top":case"left":return i.push(xt),c;case"right":case"bottom":return i.push(ui),c}else(qu(l)||Pi(l))&&i.push(l);else if($u(l))switch(l.value){case e6:return t=0,!1;case u6:return t=1,!1;case"at":return s=!0,!1;case XN:return r=0,!1;case t6:case ZN:return r=1,!1;case r6:case qN:return r=2,!1;case JN:return r=3,!1}else if(Pi(l)||qu(l))return Array.isArray(r)||(r=[]),r.push(l),!1;return c},a)}if(a){var A=Yp(e,E);n.push(A)}}),{size:r,shape:t,stops:n,position:i,type:2}},yf=function(e,u){var t=0,r=3,n=[],i=[];return on(u).forEach(function(E,o){var a=!0;if(o===0?a=E.reduce(function(A,c){if($u(c))switch(c.value){case"center":return i.push(s7),!1;case"top":case"left":return i.push(xt),!1;case"right":case"bottom":return i.push(ui),!1}else if(qu(c)||Pi(c))return i.push(c),!1;return A},a):o===1&&(a=E.reduce(function(A,c){if($u(c))switch(c.value){case e6:return t=0,!1;case u6:return t=1,!1;case r6:case XN:return r=0,!1;case ZN:return r=1,!1;case qN:return r=2,!1;case t6:case JN:return r=3,!1}else if(Pi(c)||qu(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return A},a)),a){var s=Yp(e,E);n.push(s)}}),{size:r,shape:t,stops:n,position:i,type:2}},nke=function(e){return e.type===1},ike=function(e){return e.type===2},A7={name:"image",parse:function(e,u){if(u.type===22){var t={url:u.value,type:0};return e.cache.addImage(u.value),t}if(u.type===18){var r=n6[u.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+u.name+'"');return r(e,u.values)}throw new Error("Unsupported image type "+u.type)}};function Eke(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!n6[e.name])}var n6={"linear-gradient":uke,"-moz-linear-gradient":gf,"-ms-linear-gradient":gf,"-o-linear-gradient":gf,"-webkit-linear-gradient":gf,"radial-gradient":rke,"-moz-radial-gradient":yf,"-ms-radial-gradient":yf,"-o-radial-gradient":yf,"-webkit-radial-gradient":yf,"-webkit-gradient":tke},oke={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,u){if(u.length===0)return[];var t=u[0];return t.type===20&&t.value==="none"?[]:u.filter(function(r){return zp(r)&&Eke(r)}).map(function(r){return A7.parse(e,r)})}},ake={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,u){return u.map(function(t){if($u(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ske={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,u){return on(u).map(function(t){return t.filter(qu)}).map(jN)}},Ake={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,u){return on(u).map(function(t){return t.filter($u).map(function(r){return r.value}).join(" ")}).map(cke)}},cke=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},pa;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(pa||(pa={}));var lke={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,u){return on(u).map(function(t){return t.filter(fke)}
vendor: 15,702 bytes, line 1050
1050)}},fke=function(e){return $u(e)||qu(e)},Xp=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},dke=Xp("top"),pke=Xp("right"),hke=Xp("bottom"),mke=Xp("left"),Zp=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(u,t){return jN(t.filter(qu))}}},gke=Zp("top-left"),yke=Zp("top-right"),vke=Zp("bottom-right"),Bke=Zp("bottom-left"),qp=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(u,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},wke=qp("top"),bke=qp("right"),xke=qp("bottom"),Cke=qp("left"),Jp=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(u,t){return ul(t)?t.number:0}}},Dke=Jp("top"),Ske=Jp("right"),Fke=Jp("bottom"),_ke=Jp("left"),Ike={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Tke={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,u){switch(u){case"rtl":return 1;case"ltr":default:return 0}}},Pke={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,u){return u.filter($u).reduce(function(t,r){return t|Oke(r.value)},0)}},Oke=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},kke={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,u){switch(u){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Uke={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,u){return u.type===20&&u.value==="normal"?0:u.type===17||u.type===15?u.number:0}},R1;(function(e){e.NORMAL="normal",e.STRICT="strict"})(R1||(R1={}));var Qke={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,u){switch(u){case"strict":return R1.STRICT;case"normal":default:return R1.NORMAL}}},Lke={name:"line-height",initialValue:"normal",prefix:!1,type:4},eF=function(e,u){return $u(e)&&e.value==="normal"?1.2*u:e.type===17?u*e.number:qu(e)?du(e,u):u},Mke={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,u){return u.type===20&&u.value==="none"?null:A7.parse(e,u)}},Rke={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,u){switch(u){case"inside":return 0;case"outside":default:return 1}}},Nke={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,u){switch(u){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},e4=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},$ke=e4("top"),Hke=e4("right"),jke=e4("bottom"),Kke=e4("left"),Wke={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,u){return u.filter($u).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Vke={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,u){switch(u){case"break-word":return"break-word";case"normal":default:return"normal"}}},u4=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},zke=u4("top"),Gke=u4("right"),Yke=u4("bottom"),Xke=u4("left"),Zke={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,u){switch(u){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},qke={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,u){switch(u){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Jke={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,u){return u.length===1&&zy(u[0],"none")?[]:on(u).map(function(t){for(var r={color:gc.TRANSPARENT,offsetX:xt,offsetY:xt,blur:xt},n=0,i=0;i<t.length;i++){var E=t[i];Pi(E)?(n===0?r.offsetX=E:n===1?r.offsetY=E:r.blur=E,n++):r.color=wi.parse(e,E)}return r})}},eUe={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,u){switch(u){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},uUe={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,u){if(u.type===20&&u.value==="none")return null;if(u.type===18){var t=nUe[u.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+u.name+'"');return t(u.values)}return null}},tUe=function(e){var u=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return u.length===6?u:null},rUe=function(e){var u=e.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=u[0],r=u[1];u[2],u[3];var n=u[4],i=u[5];u[6],u[7],u[8],u[9],u[10],u[11];var E=u[12],o=u[13];return u[14],u[15],u.length===16?[t,r,n,i,E,o]:null},nUe={matrix:tUe,matrix3d:rUe},uF={type:16,number:50,flags:el},iUe=[uF,uF],EUe={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,u){var t=u.filter(qu);return t.length!==2?iUe:[t[0],t[1]]}},oUe={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,u){switch(u){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},PA;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(PA||(PA={}));var aUe={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,u){switch(u){case"break-all":return PA.BREAK_ALL;case"keep-all":return PA.KEEP_ALL;case"normal":default:return PA.NORMAL}}},sUe={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,u){if(u.type===20)return{auto:!0,order:0};if(Vp(u))return{auto:!1,order:u.number};throw new Error("Invalid z-index number parsed")}},i6={name:"time",parse:function(e,u){if(u.type===15)switch(u.unit.toLowerCase()){case"s":return 1e3*u.number;case"ms":return u.number}throw new Error("Unsupported time type")}},AUe={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,u){return Vp(u)?u.number:1}},cUe={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},lUe={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,u){return u.filter($u).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},fUe={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,u){var t=[],r=[];return u.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},dUe={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},pUe={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,u){if(Vp(u))return u.number;if($u(u))switch(u.value){case"bold":return 700;case"normal":default:return 400}return 400}},hUe={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,u){return u.filter($u).map(function(t){return t.value})}},mUe={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,u){switch(u){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},nt=function(e,u){return(e&u)!==0},gUe={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,u){return u.filter(ul).map(function(t){return i6.parse(e,t)})}},yUe={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,u){return u.length===1&&zy(u[0],"none")?[]:on(u).map(function(t){for(var r={color:255,offsetX:xt,offsetY:xt,blur:xt,spread:xt,inset:!1},n=0,i=0;i<t.length;i++){var E=t[i];zy(E,"inset")?r.inset=!0:Pi(E)?(n===0?r.offsetX=E:n===1?r.offsetY=E:n===2?r.blur=E:r.spread=E,n++):r.color=wi.parse(e,E)}return r})}},vUe={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,u){var t=[0,1,2],r=[];return u.filter($u).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},BUe={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},wUe={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,u){return ul(u)?u.number:0}},bUe=function(){function e(u,t){var r,n;this.animationDuration=ye(u,gUe,t.animationDuration),this.backgroundClip=ye(u,XOe,t.backgroundClip),this.backgroundColor=ye(u,ZOe,t.backgroundColor),this.backgroundImage=ye(u,oke,t.backgroundImage),this.backgroundOrigin=ye(u,ake,t.backgroundOrigin),this.backgroundPosition=ye(u,ske,t.backgroundPosition),this.backgroundRepeat=ye(u,Ake,t.backgroundRepeat),this.backgroundSize=ye(u,lke,t.backgroundSize),this.borderTopColor=ye(u,dke,t.borderTopColor),this.borderRightColor=ye(u,pke,t.borderRightColor),this.borderBottomColor=ye(u,hke,t.borderBottomColor),this.borderLeftColor=ye(u,mke,t.borderLeftColor),this.borderTopLeftRadius=ye(u,gke,t.borderTopLeftRadius),this.borderTopRightRadius=ye(u,yke,t.borderTopRightRadius),this.borderBottomRightRadius=ye(u,vke,t.borderBottomRightRadius),this.borderBottomLeftRadius=ye(u,Bke,t.borderBottomLeftRadius),this.borderTopStyle=ye(u,wke,t.borderTopStyle),this.borderRightStyle=ye(u,bke,t.borderRightStyle),this.borderBottomStyle=ye(u,xke,t.borderBottomStyle),this.borderLeftStyle=ye(u,Cke,t.borderLeftStyle),this.borderTopWidth=ye(u,Dke,t.borderTopWidth),this.borderRightWidth=ye(u,Ske,t.borderRightWidth),this.borderBottomWidth=ye(u,Fke,t.borderBottomWidth),this.borderLeftWidth=ye(u,_ke,t.borderLeftWidth),this.boxShadow=ye(u,yUe,t.boxShadow),this.color=ye(u,Ike,t.color),this.direction=ye(u,Tke,t.direction),this.display=ye(u,Pke,t.display),this.float=ye(u,kke,t.cssFloat),this.fontFamily=ye(u,fUe,t.fontFamily),this.fontSize=ye(u,dUe,t.fontSize),this.fontStyle=ye(u,mUe,t.fontStyle),this.fontVariant=ye(u,hUe,t.fontVariant),this.fontWeight=ye(u,pUe,t.fontWeight),this.letterSpacing=ye(u,Uke,t.letterSpacing),this.lineBreak=ye(u,Qke,t.lineBreak),this.lineHeight=ye(u,Lke,t.lineHeight),this.listStyleImage=ye(u,Mke,t.listStyleImage),this.listStylePosition=ye(u,Rke,t.listStylePosition),this.listStyleType=ye(u,Nke,t.listStyleType),this.marginTop=ye(u,$ke,t.marginTop),this.marginRight=ye(u,Hke,t.marginRight),this.marginBottom=ye(u,jke,t.marginBottom),this.marginLeft=ye(u,Kke,t.marginLeft),this.opacity=ye(u,AUe,t.opacity);var i=ye(u,Wke,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=ye(u,Vke,t.overflowWrap),this.paddingTop=ye(u,zke,t.paddingTop),this.paddingRight=ye(u,Gke,t.paddingRight),this.paddingBottom=ye(u,Yke,t.paddingBottom),this.paddingLeft=ye(u,Xke,t.paddingLeft),this.paintOrder=ye(u,vUe,t.paintOrder),this.position=ye(u,qke,t.position),this.textAlign=ye(u,Zke,t.textAlign),this.textDecorationColor=ye(u,cUe,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=ye(u,lUe,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=ye(u,Jke,t.textShadow),this.textTransform=ye(u,eUe,t.textTransform),this.transform=ye(u,uUe,t.transform),this.transformOrigin=ye(u,EUe,t.transformOrigin),this.visibility=ye(u,oUe,t.visibility),this.webkitTextStrokeColor=ye(u,BUe,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=ye(u,wUe,t.webkitTextStrokeWidth),this.wordBreak=ye(u,aUe,t.wordBreak),this.zIndex=ye(u,sUe,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return da(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return nt(this.display,4)||nt(this.display,33554432)||nt(this.display,268435456)||nt(this.display,536870912)||nt(this.display,67108864)||nt(this.display,134217728)},e}(),ye=function(e,u,t){var r=new $N,n=t!==null&&typeof t<"u"?t.toString():u.initialValue;r.write(n);var i=new HN(r.read());switch(u.type){case 2:var E=i.parseComponentValue();return u.parse(e,$u(E)?E.value:u.initialValue);case 0:return u.parse(e,i.parseComponentValue());case 1:return u.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(u.format){case"angle":return Gp.parse(e,i.parseComponentValue());case"color":return wi.parse(e,i.parseComponentValue());case"image":return A7.parse(e,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Pi(o)?o:xt;case"length-percentage":var a=i.parseComponentValue();return qu(a)?a:xt;case"time":return i6.parse(e,i.parseComponentValue())}break}},xUe="data-html2canvas-debug",CUe=function(e){var u=e.getAttribute(xUe);switch(u){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},tF=function(e,u){var t=CUe(e);return t===1||u===t},an=function(){function e(u,t){if(this.context=u,this.textNodes=[],this.elements=[],this.flags=0,tF(t,3))debugger;this.styles=new bUe(u,window.getComputedStyle(t,null)),CQe(t)&&(this.styles.animationDuration.some(function(r){return r>0}
1050)&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=o7(this.context,t),tF(t,4)&&(this.flags|=16)}return e}(),DUe
vendor: 13,339 bytes, line 1050
1050="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAB
vendor: 12,821 bytes, line 1050
1050QAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
1050rF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 6,769 bytes, line 1050
1050+/",cA=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var vf=0;vf<rF.length;vf++)cA[rF.charCodeAt(vf)]=vf;var SUe=function(e){var u=e.length*.75,t=e.length,r,n=0,i,E,o,a;e[e.length-1]==="="&&(u--,e[e.length-2]==="="&&u--);var s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(u):new Array(u),A=Array.isArray(s)?s:new Uint8Array(s);for(r=0;r<t;r+=4)i=cA[e.charCodeAt(r)],E=cA[e.charCodeAt(r+1)],o=cA[e.charCodeAt(r+2)],a=cA[e.charCodeAt(r+3)],A[n++]=i<<2|E>>4,A[n++]=(E&15)<<4|o>>2,A[n++]=(o&3)<<6|a&63;return s},FUe=function(e){for(var u=e.length,t=[],r=0;r<u;r+=2)t.push(e[r+1]<<8|e[r]);return t},_Ue=function(e){for(var u=e.length,t=[],r=0;r<u;r+=4)t.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return t},TE=5,c7=11,b3=2,IUe=c7-TE,E6=65536>>TE,TUe=1<<TE,x3=TUe-1,PUe=1024>>TE,OUe=E6+PUe,kUe=OUe,UUe=32,QUe=kUe+UUe,LUe=65536>>c7,MUe=1<<IUe,RUe=MUe-1,nF=function(e,u,t){return e.slice?e.slice(u,t):new Uint16Array(Array.prototype.slice.call(e,u,t))},NUe=function(e,u,t){return e.slice?e.slice(u,t):new Uint32Array(Array.prototype.slice.call(e,u,t))},$Ue=function(e,u){var t=SUe(e),r=Array.isArray(t)?_Ue(t):new Uint32Array(t),n=Array.isArray(t)?FUe(t):new Uint16Array(t),i=24,E=nF(n,i/2,r[4]/2),o=r[5]===2?nF(n,(i+r[4])/2):NUe(r,Math.ceil((i+r[4])/4));return new HUe(r[0],r[1],r[2],r[3],E,o)},HUe=function(){function e(u,t,r,n,i,E){this.initialValue=u,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=E}return e.prototype.get=function(u){var t;if(u>=0){if(u<55296||u>56319&&u<=65535)return t=this.index[u>>TE],t=(t<<b3)+(u&x3),this.data[t];if(u<=65535)return t=this.index[E6+(u-55296>>TE)],t=(t<<b3)+(u&x3),this.data[t];if(u<this.highStart)return t=QUe-LUe+(u>>c7),t=this.index[t],t+=u>>TE&RUe,t=this.index[t],t=(t<<b3)+(u&x3),this.data[t];if(u<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),iF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jUe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bf=0;Bf<iF.length;Bf++)jUe[iF.charCodeAt(Bf)]=Bf;var KUe=1,C3=2,D3=3,EF=4,oF=5,WUe=7,aF=8,S3=9,F3=10,sF=11,AF=12,cF=13,lF=14,_3=15,VUe=function(e){for(var u=[],t=0,r=e.length;t<r;){var n=e.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=e.charCodeAt(t++);(i&64512)===56320?u.push(((n&1023)<<10)+(i&1023)+65536):(u.push(n),t--)}else u.push(n)}return u},zUe=function(){for(var e=[],u=0;u<arguments.length;u++)e[u]=arguments[u];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var E=e[n];E<=65535?r.push(E):(E-=65536,r.push((E>>10)+55296,E%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},GUe=$Ue(DUe),j0="×",I3="÷",YUe=function(e){return GUe.get(e)},XUe=function(e,u,t){var r=t-2,n=u[r],i=u[t-1],E=u[t];if(i===C3&&E===D3)return j0;if(i===C3||i===D3||i===EF||E===C3||E===D3||E===EF)return I3;if(i===aF&&[aF,S3,sF,AF].indexOf(E)!==-1||(i===sF||i===S3)&&(E===S3||E===F3)||(i===AF||i===F3)&&E===F3||E===cF||E===oF||E===WUe||i===KUe)return j0;if(i===cF&&E===lF){for(;n===oF;)n=u[--r];if(n===lF)return j0}if(i===_3&&E===_3){for(var o=0;n===_3;)o++,n=u[--r];if(o%2===0)return j0}return I3},ZUe=function(e){var u=VUe(e),t=u.length,r=0,n=0,i=u.map(YUe);return{next:function(){if(r>=t)return{done:!0,value:null};for(var E=j0;r<t&&(E=XUe(u,i,++r))===j0;);if(E!==j0||r===t){var o=zUe.apply(null,u.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},qUe=function(e){for(var u=ZUe(e),t=[],r;!(r=u.next()).done;)r.value&&t.push(r.value.slice());return t},JUe=function(e){var u=123;if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=u+"px",r.style.display="block",e.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),i=Math.round(n.height);if(e.body.removeChild(r),i===u)return!0}}return!1},eQe=function(e){var u=e.createElement("boundtest");u.style.width="50px",u.style.display="block",u.style.fontSize="12px",u.style.letterSpacing="0px",u.style.wordSpacing="0px",e.body.appendChild(u);var t=e.createRange();u.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=u.firstChild,n=Wp(r.data).map(function(a){return Ku(a)}),i=0,E={},o=n.every(function(a,s){t.setStart(r,i),t.setEnd(r,i+a.length);var A=t.getBoundingClientRect();i+=a.length;var c=A.x>E.x||A.y>E.y;return E=A,s===0?!0:c});return e.body.removeChild(u),o},uQe=function(){return typeof new Image().crossOrigin<"u"},tQe=function(){return typeof new XMLHttpRequest().responseType=="string"},rQe=function(e){var u=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;u.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(u,0,0),t.toDataURL()}catch{return!1}return!0},fF=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},nQe=function(e){var u=e.createElement("canvas"),t=100;u.width=t,u.height=t;var r=u.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=u.toDataURL();n.src=i;var E=Gy(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),dF(E).then(function(o){r.drawImage(o,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var s=e.createElement("div");return s.style.backgroundImage="url("+i+")",s.style.height=t+"px",fF(a)?dF(Gy(t,t,0,0,s)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),fF(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Gy=function(e,u,t,r,n){var i="http://www.w3.org/2000/svg",E=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return E.setAttributeNS(null,"width",e.toString()),E.setAttributeNS(null,"height",u.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),E.appendChild(o),o.appendChild(n),E},dF=function(e){return new Promise(function(u,t){var r=new Image;r.onload=function(){return u(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},C0={get SUPPORT_RANGE_BOUNDS(){var e=JUe(document);return Object.defineProperty(C0,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=C0.SUPPORT_RANGE_BOUNDS&&eQe(document);return Object.defineProperty(C0,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=rQe(document);return Object.defineProperty(C0,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?nQe(document):Prom
vendor: 1,090 bytes, line 1050
1050ise.resolve(!1);return Object.defineProperty(C0,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=uQe();return Object.defineProperty(C0,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=tQe();return Object.defineProperty(C0,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(C0,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(C0,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},OA=function(){function e(u,t){this.text=u,this.bounds=t}return e}(),iQe=function(e,u,t,r){var n=aQe(u,t),i=[],E=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(C0.SUPPORT_RANGE_BOUNDS){var a=pF(r,E,o.length).getClientRects();if(a.length>1){var s=l7(o),A=0;s.forEach(function(l){i.push(new OA(l,zE.fromDOMRectList(e,pF(r,A+E,l.length).getClientRects()))),A+=l.length})}else i.push(new OA(o,zE.fromDOMRectList(e,a)))}else{var c=r.splitText(o.length);
vendor: 19,760 bytes, line 1050
1050i.push(new OA(o,EQe(e,r))),r=c}else C0.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));E+=o.length}),i},EQe=function(e,u){var t=u.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(u.cloneNode(!0));var n=u.parentNode;if(n){n.replaceChild(r,u);var i=o7(e,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return zE.EMPTY},pF=function(e,u,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(e,u),n.setEnd(e,u+t),n},l7=function(e){if(C0.SUPPORT_NATIVE_TEXT_SEGMENTATION){var u=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(u.segment(e)).map(function(t){return t.segment})}return qUe(e)},oQe=function(e,u){if(C0.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return AQe(e,u)},aQe=function(e,u){return u.letterSpacing!==0?l7(e):oQe(e,u)},sQe=[32,160,4961,65792,65793,4153,4241],AQe=function(e,u){for(var t=HPe(e,{lineBreak:u.lineBreak,wordBreak:u.overflowWrap==="break-word"?"break-word":u.wordBreak}),r=[],n,i=function(){if(n.value){var E=n.value.slice(),o=Wp(E),a="";o.forEach(function(s){sQe.indexOf(s)===-1?a+=Ku(s):(a.length&&r.push(a),r.push(Ku(s)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)i();return r},cQe=function(){function e(u,t,r){this.text=lQe(t.data,r.textTransform),this.textBounds=iQe(u,this.text,r,t)}return e}(),lQe=function(e,u){switch(u){case 1:return e.toLowerCase();case 3:return e.replace(fQe,dQe);case 2:return e.toUpperCase();default:return e}},fQe=/(^|\s|:|-|\(|\))([a-z])/g,dQe=function(e,u,t){return e.length>0?u+t.toUpperCase():e},o6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return u}(an),a6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return u}(an),s6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this,i=new XMLSerializer,E=o7(t,r);return r.setAttribute("width",E.width+"px"),r.setAttribute("height",E.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return u}(an),A6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return u}(an),Yy=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return u}(an),pQe=[{type:15,flags:0,unit:"px",number:3}],hQe=[{type:16,flags:0,number:50}],mQe=function(e){return e.width>e.height?new zE(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new zE(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},gQe=function(e){var u=e.type===yQe?new Array(e.value.length+1).join("•"):e.value;return u.length===0?e.placeholder||"":u},N1="checkbox",$1="radio",yQe="password",hF=707406591,f7=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=gQe(r),(n.type===N1||n.type===$1)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=mQe(n.bounds)),n.type){case N1:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=pQe;break;case $1:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=hQe;break}return n}return u}(an),c6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return u}(an),l6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return u}(an),f6=function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=BQe(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?ZS(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):gc.TRANSPARENT,E=r.contentWindow.document.body?ZS(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):gc.TRANSPARENT;n.backgroundColor=da(i)?da(E)?n.styles.backgroundColor:E:i}}catch{}return n}return u}(an),vQe=["OL","UL","MENU"],yd=function(e,u,t,r){for(var n=u.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,xQe(n)&&n.data.trim().length>0)t.textNodes.push(new cQe(e,n,t.styles));else if(p6(n))if(kQe(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return yd(e,o,t,r)});else{var E=d6(e,n);E.styles.isVisible()&&(wQe(n,E,r)?E.flags|=4:bQe(E.styles)&&(E.flags|=2),vQe.indexOf(n.tagName)!==-1&&(E.flags|=8),t.elements.push(E),n.slot,n.shadowRoot?yd(e,n.shadowRoot,E,r):!m6(n)&&!h6(n)&&!g6(n)&&yd(e,n,E,r))}},d6=function(e,u){return PQe(u)?new o6(e,u):TQe(u)?new a6(e,u):h6(u)?new s6(e,u):SQe(u)?new A6(e,u):FQe(u)?new Yy(e,u):_Qe(u)?new f7(e,u):g6(u)?new c6(e,u):m6(u)?new l6(e,u):OQe(u)?new f6(e,u):new an(e,u)},BQe=function(e,u){var t=d6(e,u);return t.flags|=4,yd(e,u,t,t),t},wQe=function(e,u,t){return u.styles.isPositionedWithZIndex()||u.styles.opacity<1||u.styles.isTransformed()||IQe(e)&&t.styles.isTransparent()},bQe=function(e){return e.isPositioned()||e.isFloating()},xQe=function(e){return e.nodeType===Node.TEXT_NODE},p6=function(e){return e.nodeType===Node.ELEMENT_NODE},CQe=function(e){return p6(e)&&typeof e.style<"u"&&!DQe(e)},DQe=function(e){return typeof e.className=="object"},SQe=function(e){return e.tagName==="LI"},FQe=function(e){return e.tagName==="OL"},_Qe=function(e){return e.tagName==="INPUT"},h6=function(e){return e.tagName==="svg"},IQe=function(e){return e.tagName==="BODY"},TQe=function(e){return e.tagName==="CANVAS"},PQe=function(e){return e.tagName==="IMG"},OQe=function(e){return e.tagName==="IFRAME"},m6=function(e){return e.tagName==="TEXTAREA"},g6=function(e){return e.tagName==="SELECT"},kQe=function(e){return e.tagName==="SLOT"},mF={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},gF={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},UQe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},QQe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},xo=function(e,u,t,r,n,i){return e<u||e>t?d7(e,n,i.length>0):r.integers.reduce(function(E,o,a){for(;e>=o;)e-=o,E+=r.values[a];return E},"")+i},y6=function(e,u,t,r){var n="";do t||e--,n=r(e)+n,e/=u;while(e*u>=u);return n},ju=function(e,u,t,r,n){var i=t-u+1;return(e<0?"-":"")+(y6(Math.abs(e),i,r,function(E){return Ku(Math.floor(E%i)+u)})+n)},Zi=function(e,u,t){t===void 0&&(t=". ");var r=u.length;return y6(Math.abs(e),r,!1,function(n){return u[Math.floor(n%r)]})+t},ko=1,$n=2,Hn=4,lA=8,fn=function(e,u,t,r,n,i){if(e<-9999||e>9999)return d7(e,4,n.length>0);var E=Math.abs(e),o=n;if(E===0)return u[0]+o;for(var a=0;E>0&&a<=4;a++){var s=E%10;s===0&&nt(i,ko)&&o!==""?o=u[s]+o:s>1||s===1&&a===0||s===1&&a===1&&nt(i,$n)||s===1&&a===1&&nt(i,Hn)&&e>100||s===1&&a>1&&nt(i,lA)?o=u[s]+(a>0?t[a-1]:"")+o:s===1&&a>0&&(o=t[a-1]+o),E=Math.floor(E/10)}return(e<0?r:"")+o},yF="十百千萬",vF="拾佰仟萬",BF="マイナス",T3="마이너스",d7=function(e,u,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",E=t?" ":"";switch(u){case 0:return"•"+E;case 1:return"◦"+E;case 2:return"◾"+E;case 5:var o=ju(e,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Zi(e,"〇一二三四五六七八九",n);case 6:return xo(e,1,3999,mF,3,r).toLowerCase();case 7:return xo(e,1,3999,mF,3,r);case 8:return ju(e,945,969,!1,r);case 9:return ju(e,97,122,!1,r);case 10:return ju(e,65,90,!1,r);case 11:return ju(e,1632,1641,!0,r);case 12:case 49:return xo(e,1,9999,gF,3,r);case 35:return xo(e,1,9999,gF,3,r).toLowerCase();case 13:return ju(e,2534,2543,!0,r);case 14:case 30:return ju(e,6112,6121,!0,r);case 15:return Zi(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Zi(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return fn(e,"零一二三四五六七八九",yF,"負",n,$n|Hn|lA);case 47:return fn(e,"零壹貳參肆伍陸柒捌玖",vF,"負",n,ko|$n|Hn|lA);case 42:return fn(e,"零一二三四五六七八九",yF,"负",n,$n|Hn|lA);case 41:return fn(e,"零壹贰叁肆伍陆柒捌玖",vF,"负",n,ko|$n|Hn|lA);case 26:return fn(e,"〇一二三四五六七八九","十百千万",BF,n,0);case 25:return fn(e,"零壱弐参四伍六七八九","拾百千万",BF,n,ko|$n|Hn);case 31:return fn(e,"영일이삼사오육칠팔구","십백천만",T3,i,ko|$n|Hn);case 33:return fn(e,"零一二三四五六七八九","十百千萬",T3,i,0);case 32:return fn(e,"零壹貳參四五六七八九","拾百千",T3,i,ko|$n|Hn);case 18:return ju(e,2406,2415,!0,r);case 20:return xo(e,1,19999,QQe,3,r);case 21:return ju(e,2790,2799,!0,r);case 22:return ju(e,2662,2671,!0,r);case 22:return xo(e,1,10999,UQe,3,r);case 23:return Zi(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Zi(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ju(e,3302,3311,!0,r);case 28:return Zi(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Zi(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ju(e,3792,3801,!0,r);case 37:return ju(e,6160,6169,!0,r);case 38:return ju(e,4160,4169,!0,r);case 39:return ju(e,2918,2927,!0,r);case 40:return ju(e,1776,1785,!0,r);case 43:return ju(e,3046,3055,!0,r);case 44:return ju(e,3174,3183,!0,r);case 45:return ju(e,3664,3673,!0,r);case 46:return ju(e,3872,3881,!0,r);case 3:default:return ju(e,48,57,!0,r)}},wF;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(wF||(wF={}));var LQe=function(){function e(){}return e.getOrigin=function(u){var t=e._link;return t?(t.href=u,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(u){return e.getOrigin(u)===e._origin},e.setContext=function(u){e._link=u.document.createElement("a"),e._origin=e.getOrigin(u.location.href)},e._origin="about:blank",e}(),de=function(){function e(u,t){this.type=0,this.x=u,this.y=t}return e.prototype.add=function(u,t){return new e(this.x+u,this.y+t)},e}(),Co=function(e,u,t){return new de(e.x+(u.x-e.x)*t,e.y+(u.y-e.y)*t)},wf=function(){function e(u,t,r,n){this.type=1,this.start=u,this.startControl=t,this.endControl=r,this.end=n}return e.prototype.subdivide=function(u,t){var r=Co(this.start,this.startControl,u),n=Co(this.startControl,this.endControl,u),i=Co(this.endControl,this.end,u),E=Co(r,n,u),o=Co(n,i,u),a=Co(E,o,u);return t?new e(this.start,r,E,a):new e(a,o,i,this.end)},e.prototype.add=function(u,t){return new e(this.start.add(u,t),this.startControl.add(u,t),this.endControl.add(u,t),this.end.add(u,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),G0=function(e){return e.type===1},MQe=function(){function e(u){var t=u.styles,r=u.bounds,n=AA(t.borderTopLeftRadius,r.width,r.height),i=n[0],E=n[1],o=AA(t.borderTopRightRadius,r.width,r.height),a=o[0],s=o[1],A=AA(t.borderBottomRightRadius,r.width,r.height),c=A[0],l=A[1],f=AA(t.borderBottomLeftRadius,r.width,r.height),p=f[0],h=f[1],w=[];w.push((i+a)/r.width),w.push((p+c)/r.width),w.push((E+h)/r.height),w.push((s+l)/r.height);var m=Math.max.apply(Math,w);m>1&&(i/=m,E/=m,a/=m,s/=m,c/=m,l/=m,p/=m,h/=m);var g=r.width-a,v=r.height-l,d=r.width-c,y=r.height-h,b=t.borderTopWidth,C=t.borderRightWidth,S=t.borderBottomWidth,F=t.borderLeftWidth,I=du(t.paddingTop,u.bounds.width),R=du(t.paddingRight,u.bounds.width),X=du(t.paddingBottom,u.bounds.width),J=du(t.paddingLeft,u.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||E>0?bu(r.left+F/3,r.top+b/3,i-F/3,E-b/3,uu.TOP_LEFT):new de(r.left+F/3,r.top+b/3),this.topRightBorderDoubleOuterBox=i>0||E>0?bu(r.left+g,r.top+b/3,a-C/3,s-b/3,uu.TOP_RIGHT):new de(r.left+r.width-C/3,r.top+b/3),this.bottomRightBorderDoubleOuterBox=c>0||l>0?bu(r.left+d,r.top+v,c-C/3,l-S/3,uu.BOTTOM_RIGHT):new de(r.left+r.width-C/3,r.top+r.height-S/3),this.bottomLeftBorderDoubleOuterBox=p>0||h>0?bu(r.left+F/3,r.top+y,p-F/3,h-S/3,uu.BOTTOM_LEFT):new de(r.left+F/3,r.top+r.height-S/3),this.topLeftBorderDoubleInnerBox=i>0||E>0?bu(r.left+F*2/3,r.top+b*2/3,i-F*2/3,E-b*2/3,uu.TOP_LEFT):new de(r.left+F*2/3,r.top+b*2/3),this.topRightBorderDoubleInnerBox=i>0||E>0?bu(r.left+g,r.top+b*2/3,a-C*2/3,s-b*2/3,uu.TOP_RIGHT):new de(r.left+r.width-C*2/3,r.top+b*2/3),this.bottomRightBorderDoubleInnerBox=c>0||l>0?bu(r.left+d,r.top+v,c-C*2/3,l-S*2/3,uu.BOTTOM_RIGHT):new de(r.left+r.width-C*2/3,r.top+r.height-S*2/3),this.bottomLeftBorderDoubleInnerBox=p>0||h>0?bu(r.left+F*2/3,r.top+y,p-F*2/3,h-S*2/3,uu.BOTTOM_LEFT):new de(r.left+F*2/3,r.top+r.height-S*2/3),this.topLeftBorderStroke=i>0||E>0?bu(r.left+F/2,r.top+b/2,i-F/2,E-b/2,uu.TOP_LEFT):new de(r.left+F/2,r.top+b/2),this.topRightBorderStroke=i>0||E>0?bu(r.left+g,r.top+b/2,a-C/2,s-b/2,uu.TOP_RIGHT):new de(r.left+r.width-C/2,r.top+b/2),this.bottomRightBorderStroke=c>0||l>0?bu(r.left+d,r.top+v,c-C/2,l-S/2,uu.BOTTOM_RIGHT):new de(r.left+r.width-C/2,r.top+r.height-S/2),this.bottomLeftBorderStroke=p>0||h>0?bu(r.left+F/2,r.top+y,p-F/2,h-S/2,uu.BOTTOM_LEFT):new de(r.left+F/2,r.top+r.height-S/2),this.topLeftBorderBox=i>0||E>0?bu(r.left,r.top,i,E,uu.TOP_LEFT):new de(r.left,r.top),this.topRightBorderBox=a>0||s>0?bu(r.left+g,r.top,a,s,uu.TOP_RIGHT):new de(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||l>0?bu(r.left+d,r.top+v,c,l,uu.BOTTOM_RIGHT):new de(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=p>0||h>0?bu(r.left,r.top+y,p,h,uu.BOTTOM_LEFT):new de(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||E>0?bu(r.left+F,r.top+b,Math.max(0,i-F),Math.max(0,E-b),uu.TOP_LEFT):new de(r.left+F,r.top+b),this.topRightPaddingBox=a>0||s>0?bu(r.left+Math.min(g,r.width-C),r.top+b,g>r.width+C?0:Math.max(0,a-C),Math.max(0,s-b),uu.TOP_RIGHT):new de(r.left+r.width-C,r.top+b),this.bottomRightPaddingBox=c>0||l>0?bu(r.left+Math.min(d,r.width-F),r.top+Math.min(v,r.height-S),Math.max(0,c-C),Math.max(0,l-S),uu.BOTTOM_RIGHT):new de(r.left+r.width-C,r.top+r.height-S),this.bottomLeftPaddingBox=p>0||h>0?bu(r.left+F,r.top+Math.min(y,r.height-S),Math.max(0,p-F),Math.max(0,h-S),uu.BOTTOM_LEFT):new de(r.left+F,r.top+r.height-S),this.topLeftContentBox=i>0||E>0?bu(r.left+F+J,r.top+b+I,Math.max(0,i-(F+J)),Math.max(0,E-(b+I)),uu.TOP_LEFT):new de(r.left+F+J,r.top+b+I),this.topRightContentBox=a>0||s>0?bu(r.left+Math.min(g,r.width+F+J),r.top+b+I,g>r.width+F+J?0:a-F+J,s-(b+I),uu.TOP_RIGHT):new de(r.left+r.width-(C+R),r.top+b+I),this.bottomRightContentBox=c>0||l>0?bu(r.left+Math.min(d,r.width-(F+J)),r.top+Math.min(v,r.height+b+I),Math.max(0,c-(C+R)),l-(S+X),uu.BOTTOM_RIGHT):new de(r.left+r.width-(C+R),r.top+r.height-(S+X)),this.bottomLeftContentBox=p>0||h>0?bu(r.left+F+J,r.top+y,Math.max(0,p-(F+J)),h-(S+X),uu.BOTTOM_LEFT):new de(r.left+F+J,r.top+r.height-(S+X))}return e}(),uu;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(uu||(uu={}));var bu=function(e,u,t,r,n){var i=4*((Math.sqrt(2)-1)/3),E=t*i,o=r*i,a=e+t,s=u+r;switch(n){case uu.TOP_LEFT:return new wf(new de(e,s),new de(e,s-o),new de(a-E,u),new de(a,u));case uu.TOP_RIGHT:return new wf(new de(e,u),new de(e+E,u),new de(a,s-o),new de(a,s));case uu.BOTTOM_RIGHT:return new wf(new de(a,u),new de(a,u+o),new de(e+E,s),new de(e,s));case uu.BOTTOM_LEFT:default:return new wf(new de(a,s),new de(a-E,s),new de(e,u+o),new de(e,u))}},H1=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},RQe=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},j1=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},NQe=function(){function e(u,t,r){this.offsetX=u,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e}(),bf=function(){function e(u,t){this.path=u,this.target=t,this.type=1}return e}(),$Qe=function(){function e(u){this.opacity=u,this.type=2,this.target=6}return e}(),HQe=function(e){return e.type===0},v6=function(e){return e.type===1},jQe=function(e){return e.type===2},bF=function(e,u){return e.length===u.length?e.some(function(t,r){return t===u[r]}):!1},KQe=function(e,u,t,r,n){return e.map(function(i,E){switch(E){case 0:return i.add(u,t);case 1:return i.add(u+r,t);case 2:return i.add(u+r,t+n);case 3:return i.add(u,t+n)}return i})},B6=function(){function e(u){this.element=u,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),w6=function(){function e(u,t){if(this.container=u,this.parent=t,this.effects=[],this.curves=new MQe(this.container),this.container.styles.opacity<1&&this.effects.push(new $Qe(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new NQe(r,n,i))}if(this.container.styles.overflowX!==0){var E=H1(this.curves),o=j1(this.curves);bF(E,o)?this.effects.push(new bf(E,6)):(this.effects.push(new bf(E,2)),this.effects.push(new bf(o,4)))}}return e.prototype.getEffects=function(u){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(a){return!v6(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var E=H1(r.curves),o=j1(r.curves);bF(E,o)||n.unshift(new bf(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(a){return nt(a.target,u)})},e}
vendor: 4,282 bytes, line 1050
1050(),Xy=function(e,u,t,r){e.container.elements.forEach(function(n){var i=nt(n.flags,4),E=nt(n.flags,2),o=new w6(n,e);nt(n.styles.display,2048)&&r.push(o);var a=nt(n.flags,8)?[]:r;if(i||E){var s=i||n.styles.isPositioned()?t:u,A=new B6(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var c=n.styles.zIndex.order;if(c<0){var l=0;s.negativeZIndex.some(function(p,h){return c>p.element.container.styles.zIndex.order?(l=h,!1):l>0}),s.negativeZIndex.splice(l,0,A)}else if(c>0){var f=0;s.positiveZIndex.some(function(p,h){return c>=p.element.container.styles.zIndex.order?(f=h+1,!1):f>0}),s.positiveZIndex.splice(f,0,A)}else s.zeroOrAutoZIndexOrTransformedOrOpacity.push(A)}else n.styles.isFloating()?s.nonPositionedFloats.push(A):s.nonPositionedInlineLevel.push(A);Xy(o,A,i?A:t,a)}else n.styles.isInlineLevel()?u.inlineLevel.push(o):u.nonInlineLevel.push(o),Xy(o,u,t,a);nt(n.flags,8)&&b6(n,a)})},b6=function(e,u){for(var t=e instanceof Yy?e.start:1,r=e instanceof Yy?e.reversed:!1,n=0;n<u.length;n++){var i=u[n];i.container instanceof A6&&typeof i.container.value=="number"&&i.container.value!==0&&(t=i.container.value),i.listValue=d7(t,i.container.styles.listStyleType,!0),t+=r?-1:1}},WQe=function(e){var u=new w6(e,null),t=new B6(u),r=[];return Xy(u,t,t,r),b6(u.container,r),t},xF=function(e,u){switch(u){case 0:return q0(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return q0(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return q0(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return q0(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},VQe=function(e,u){switch(u){case 0:return q0(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return q0(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return q0(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return q0(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},zQe=function(e,u){switch(u){case 0:return q0(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return q0(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return q0(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return q0(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},GQe=function(e,u){switch(u){case 0:return xf(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return xf(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return xf(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return xf(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},xf=function(e,u){var t=[];return G0(e)?t.push(e.subdivide(.5,!1)):t.push(e),G0(u)?t.push(u.subdivide(.5,!0)):t.push(u),t},q0=function(e,u,t,r){var n=[];return G0(e)?n.push(e.subdivide(.5,!1)):n.push(e),G0(t)?n.push(t.subdivide(.5,!0)):n.push(t),G0(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),G0(u)?n.push(u.subdivide(.5,!1).reverse()):n.push(u),n},x6=function(e){var u=e.bounds,t=e.styles;return u.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},K1=function(e){var u=e.styles,t=e.bounds,r=du(u.paddingLeft,t.width),n=du(u.paddingRight,t.width),i=du(u.paddingTop,t.width),E=du(u.paddingBottom,t.width);return t.add(r+u.borderLeftWidth,i+u.borderTopWidth,-(u.borderRightWidth+u.borderLeftWidth+r+n),-(u.borderTopWidth+u.borderBottomWidth+i+E))},YQe=function(e,u){return e===0?u.bounds:e===2?K1(u):x6(u)},XQe=function(e,u){return e===0?u.bounds:e===2?K1(u):x6(u)},P3=function(e,u,t){var r=YQe(Uo(e.styles.backgroundOrigin,u),e),n=XQe(Uo(e.styles.backgroundClip,u),e),i=ZQe(Uo(e.styles.backgroundSize,u),t,r),E=i[0],o=i[1],a=AA(Uo(e.styles.backgroundPosition,u),r.width-E,r.he
vendor: 13,990 bytes, line 1050
1050ight-o),s=qQe(Uo(e.styles.backgroundRepeat,u),a,i,r,n),A=Math.round(r.left+a[0]),c=Math.round(r.top+a[1]);return[s,A,c,E,o]},Do=function(e){return $u(e)&&e.value===pa.AUTO},Cf=function(e){return typeof e=="number"},ZQe=function(e,u,t){var r=u[0],n=u[1],i=u[2],E=e[0],o=e[1];if(!E)return[0,0];if(qu(E)&&o&&qu(o))return[du(E,t.width),du(o,t.height)];var a=Cf(i);if($u(E)&&(E.value===pa.CONTAIN||E.value===pa.COVER)){if(Cf(i)){var s=t.width/t.height;return s<i!=(E.value===pa.COVER)?[t.width,t.width/i]:[t.height*i,t.height]}return[t.width,t.height]}var A=Cf(r),c=Cf(n),l=A||c;if(Do(E)&&(!o||Do(o))){if(A&&c)return[r,n];if(!a&&!l)return[t.width,t.height];if(l&&a){var f=A?r:n*i,p=c?n:r/i;return[f,p]}var h=A?r:t.width,w=c?n:t.height;return[h,w]}if(a){var m=0,g=0;return qu(E)?m=du(E,t.width):qu(o)&&(g=du(o,t.height)),Do(E)?m=g*i:(!o||Do(o))&&(g=m/i),[m,g]}var v=null,d=null;if(qu(E)?v=du(E,t.width):o&&qu(o)&&(d=du(o,t.height)),v!==null&&(!o||Do(o))&&(d=A&&c?v/r*n:t.height),d!==null&&Do(E)&&(v=A&&c?d/n*r:t.width),v!==null&&d!==null)return[v,d];throw new Error("Unable to calculate background-size for element")},Uo=function(e,u){var t=e[u];return typeof t>"u"?e[0]:t},qQe=function(e,u,t,r,n){var i=u[0],E=u[1],o=t[0],a=t[1];switch(e){case 2:return[new de(Math.round(r.left),Math.round(r.top+E)),new de(Math.round(r.left+r.width),Math.round(r.top+E)),new de(Math.round(r.left+r.width),Math.round(a+r.top+E)),new de(Math.round(r.left),Math.round(a+r.top+E))];case 3:return[new de(Math.round(r.left+i),Math.round(r.top)),new de(Math.round(r.left+i+o),Math.round(r.top)),new de(Math.round(r.left+i+o),Math.round(r.height+r.top)),new de(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new de(Math.round(r.left+i),Math.round(r.top+E)),new de(Math.round(r.left+i+o),Math.round(r.top+E)),new de(Math.round(r.left+i+o),Math.round(r.top+E+a)),new de(Math.round(r.left+i),Math.round(r.top+E+a))];default:return[new de(Math.round(n.left),Math.round(n.top)),new de(Math.round(n.left+n.width),Math.round(n.top)),new de(Math.round(n.left+n.width),Math.round(n.height+n.top)),new de(Math.round(n.left),Math.round(n.height+n.top))]}},JQe="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",CF="Hidden Text",eLe=function(){function e(u){this._data={},this._document=u}return e.prototype.parseMetrics=function(u,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),E=this._document.body;r.style.visibility="hidden",r.style.fontFamily=u,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",E.appendChild(r),n.src=JQe,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=u,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(CF)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(CF)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return E.removeChild(r),{baseline:o,middle:a}},e.prototype.getMetrics=function(u,t){var r=u+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(u,t)),this._data[r]},e}(),C6=function(){function e(u,t){this.context=u,this.options=t}return e}(),uLe=1e4;(function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new eLe(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return u.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},u.prototype.applyEffect=function(t){this.ctx.save(),jQe(t)&&(this.ctx.globalAlpha=t.opacity),HQe(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),v6(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},u.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},u.prototype.renderStack=function(t){return $0(this,void 0,void 0,function(){var r;return b0(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},u.prototype.renderNode=function(t){return $0(this,void 0,void 0,function(){return b0(this,function(r){switch(r.label){case 0:if(nt(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},u.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var E=l7(t.text);E.reduce(function(o,a){return i.ctx.fillText(a,o,t.bounds.top+n),o+i.ctx.measureText(a).width},t.bounds.left)}},u.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(E){return E==="normal"||E==="small-caps"}).join(""),n=ELe(t.fontFamily).join(", "),i=ul(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},u.prototype.renderTextNode=function(t,r){return $0(this,void 0,void 0,function(){var n,i,E,o,a,s,A,c,l=this;return b0(this,function(f){return n=this.createFontStyle(r),i=n[0],E=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(E,o),s=a.baseline,A=a.middle,c=r.paintOrder,t.textBounds.forEach(function(p){c.forEach(function(h){switch(h){case 0:l.ctx.fillStyle=st(r.color),l.renderTextWithLetterSpacing(p,r.letterSpacing,s);var w=r.textShadow;w.length&&p.text.trim().length&&(w.slice(0).reverse().forEach(function(m){l.ctx.shadowColor=st(m.color),l.ctx.shadowOffsetX=m.offsetX.number*l.options.scale,l.ctx.shadowOffsetY=m.offsetY.number*l.options.scale,l.ctx.shadowBlur=m.blur.number,l.renderTextWithLetterSpacing(p,r.letterSpacing,s)}),l.ctx.shadowColor="",l.ctx.shadowOffsetX=0,l.ctx.shadowOffsetY=0,l.ctx.shadowBlur=0),r.textDecorationLine.length&&(l.ctx.fillStyle=st(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(m){switch(m){case 1:l.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top+s),p.bounds.width,1);break;case 2:l.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top),p.bounds.width,1);break;case 3:l.ctx.fillRect(p.bounds.left,Math.ceil(p.bounds.top+A),p.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&p.text.trim().length&&(l.ctx.strokeStyle=st(r.webkitTextStrokeColor),l.ctx.lineWidth=r.webkitTextStrokeWidth,l.ctx.lineJoin=window.chrome?"miter":"round",l.ctx.strokeText(p.text,p.bounds.left,p.bounds.top+s)),l.ctx.strokeStyle="",l.ctx.lineWidth=0,l.ctx.lineJoin="miter";break}})}),[2]})})},u.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=K1(t),E=j1(r);this.path(E),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},u.prototype.renderNodeContent=function(t){return $0(this,void 0,void 0,function(){var r,n,i,E,o,a,g,g,s,A,c,l,d,f,p,y,h,w,m,g,v,d,y;return b0(this,function(b){switch(b.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,E=0,o=r.textNodes,b.label=1;case 1:return E<o.length?(a=o[E],[4,this.renderTextNode(a,i)]):[3,4];case 2:b.sent(),b.label=3;case 3:return E++,[3,1];case 4:if(!(r instanceof o6))return[3,8];b.label=5;case 5:return b.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return g=b.sent(),this.renderReplacedElement(r,n,g),[3,8];case 7:return b.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof a6&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof s6))return[3,12];b.label=9;case 9:return b.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return g=b.sent(),this.renderReplacedElement(r,n,g),[3,12];case 11:return b.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof f6&&r.tree?(s=new u(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,s.render(r.tree)]):[3,14];case 13:A=b.sent(),r.width&&r.height&&this.ctx.drawImage(A,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),b.label=14;case 14:if(r instanceof f7&&(c=Math.min(r.bounds.width,r.bounds.height),r.type===N1?r.checked&&(this.ctx.save(),this.path([new de(r.bounds.left+c*.39363,r.bounds.top+c*.79),new de(r.bounds.left+c*.16,r.bounds.top+c*.5549),new de(r.bounds.left+c*.27347,r.bounds.top+c*.44071),new de(r.bounds.left+c*.39694,r.bounds.top+c*.5649),new de(r.bounds.left+c*.72983,r.bounds.top+c*.23),new de(r.bounds.left+c*.84,r.bounds.top+c*.34085),new de(r.bounds.left+c*.39363,r.bounds.top+c*.79)]),this.ctx.fillStyle=st(hF),this.ctx.fill(),this.ctx.restore()):r.type===$1&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+c/2,r.bounds.top+c/2,c/4,0,Math.PI*2,!0),this.ctx.fillStyle=st(hF),this.ctx.fill(),this.ctx.restore())),tLe(r)&&r.value.length){switch(l=this.createFontStyle(i),d=l[0],f=l[1],p=this.fontMetrics.getMetrics(d,f).baseline,this.ctx.font=d,this.ctx.fillStyle=st(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=nLe(r.styles.textAlign),y=K1(r),h=0,r.styles.textAlign){case 1:h+=y.width/2;break;case 2:h+=y.width;break}w=y.add(h,0,0,-y.height/2+1),this.ctx.save(),this.path([new de(y.left,y.top),new de(y.left+y.width,y.top),new de(y.left+y.width,y.top+y.height),new de(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new OA(r.value,w),i.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!nt(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(m=r.styles.listStyleImage,m.type!==0)return[3,18];g=void 0,v=m.url,b.label=15;case 15:return b.trys.push([15,17,,18]),[4,this.context.cache.match(v)];case 16:return g=b.sent(),this.ctx.drawImage(g,r.bounds.left-(g.width+10),r.bounds.top),[3,18];case 17:return b.sent(),this.context.logger.error("Error loading list-style-image "+v),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(d=this.createFontStyle(i)[0],this.ctx.font=d,this.ctx.fillStyle=st(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new zE(r.bounds.left,r.bounds.top+du(r.styles.paddingTop,r.bounds.width),r.bounds.width,eF(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new OA(t.listValue,y),i.letterSpacing,eF(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),b.label=20;case 20:return[2]}})})},u.prototype.renderStackContent=function(t){return $0(this,void 0,void 0,function(){var r,n,m,i,E,m,o,a,m,s,A,m,c,l,m,f,p,m,h,w,m;return b0(this,function(g){switch(g.label){case 0:if(nt(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:g.sent(),r=0,n=t.negativeZIndex,g.label=2;case 2:return r<n.length?(m=n[r],[4,this.renderStack(m)]):[3,5];case 3:g.sent(),g.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:g.sent(),i=0,E=t.nonInlineLevel,g.label=7;case 7:return i<E.length?(m=E[i],[4,this.renderNode(m)]):[3,10];case 8:g.sent(),g.label=9;case 9:return i++,[3,7];case 10:o=0,a=t.nonPositionedFloats,g.label=11;case 11:return o<a.length?(m=a[o],[4,this.renderStack(m)]):[3,14];case 12:g.sent(),g.label=13;case 13:return o++,[3,11];case 14:s=0,A=t.nonPositionedInlineLevel,g.label=15;case 15:return s<A.length?(m=A[s],[4,this.renderStack(m)]):[3,18];case 16:g.sent(),g.label=17;case 17:return s++,[3,15];case 18:c=0,l=t.inlineLevel,g.label=19;case 19:return c<l.length?(m=l[c],[4,this.renderNode(m)]):[3,22];case 20:g.sent(),g.label=21;case 21:return c++,[3,19];case 22:f=0,p=t.zeroOrAutoZIndexOrTransformedOrOpacity,g.label=23;case 23:return f<p.length?(m=p[f],[4,this.renderStack(m)]):[3,26];case 24:g.sent(),g.label=25;case 25:return f++,[3,23];case 26:h=0,w=t.positiveZIndex,g.label=27;case 27:return h<w.length?(m=w[h],[4,this.renderStack(m)]):[3,30];case 28:g.sent(),g.label=29;case 29:return h++,[3,27];case 30:return[2]}})})},u.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},u.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},u.prototype.formatPath=function(t){var r=this;t.forEach(function(n,i){var E=G0(n)?n.start:n;i===0?r.ctx.moveTo(E.x,E.y):r.ctx.lineTo(E.x,E.y),G0(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},u.prototype.renderRepeat=function(t,r,n,i){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},u.prototype.resizeImage=function(t,r,n){var i;if(t.width===r&&t.height===n)return t;var E=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=E.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var a=o.getContext("2d");return a.drawImage(t,0,0,t.width,t.height,0,0,r,n),o}
vendor: 4,222 bytes, line 1050
1050,u.prototype.renderBackgroundImage=function(t){return $0(this,void 0,void 0,function(){var r,n,i,E,o,a;return b0(this,function(s){switch(s.label){case 0:r=t.styles.backgroundImage.length-1,n=function(A){var c,l,f,I,j,ue,J,ee,S,p,I,j,ue,J,ee,h,w,m,g,v,d,y,b,C,S,F,I,R,X,J,ee,L,j,ue,N,Z,q,k,z,W,Ee,ce;return b0(this,function(pe){switch(pe.label){case 0:if(A.type!==0)return[3,5];c=void 0,l=A.url,pe.label=1;case 1:return pe.trys.push([1,3,,4]),[4,i.context.cache.match(l)];case 2:return c=pe.sent(),[3,4];case 3:return pe.sent(),i.context.logger.error("Error loading background-image "+l),[3,4];case 4:return c&&(f=P3(t,r,[c.width,c.height,c.width/c.height]),I=f[0],j=f[1],ue=f[2],J=f[3],ee=f[4],S=i.ctx.createPattern(i.resizeImage(c,J,ee),"repeat"),i.renderRepeat(I,S,j,ue)),[3,6];case 5:nke(A)?(p=P3(t,r,[null,null,null]),I=p[0],j=p[1],ue=p[2],J=p[3],ee=p[4],h=JOe(A.angle,J,ee),w=h[0],m=h[1],g=h[2],v=h[3],d=h[4],y=document.createElement("canvas"),y.width=J,y.height=ee,b=y.getContext("2d"),C=b.createLinearGradient(m,v,g,d),qS(A.stops,w).forEach(function(le){return C.addColorStop(le.stop,st(le.color))}),b.fillStyle=C,b.fillRect(0,0,J,ee),J>0&&ee>0&&(S=i.ctx.createPattern(y,"repeat"),i.renderRepeat(I,S,j,ue))):ike(A)&&(F=P3(t,r,[null,null,null]),I=F[0],R=F[1],X=F[2],J=F[3],ee=F[4],L=A.position.length===0?[s7]:A.position,j=du(L[0],J),ue=du(L[L.length-1],ee),N=eke(A,j,ue,J,ee),Z=N[0],q=N[1],Z>0&&q>0&&(k=i.ctx.createRadialGradient(R+j,X+ue,0,R+j,X+ue,Z),qS(A.stops,Z*2).forEach(function(le){return k.addColorStop(le.stop,st(le.color))}),i.path(I),i.ctx.fillStyle=k,Z!==q?(z=t.bounds.left+.5*t.bounds.width,W=t.bounds.top+.5*t.bounds.height,Ee=q/Z,ce=1/Ee,i.ctx.save(),i.ctx.translate(z,W),i.ctx.transform(1,0,0,Ee,0,0),i.ctx.translate(-z,-W),i.ctx.fillRect(R,ce*(X-W)+W,J,ee*ce),i.ctx.restore()):i.ctx.fill())),pe.label=6;case 6:return r--,[2]}})},i=this,E=0,o=t.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return E<o.length?(a=o[E],[5,n(a)]):[3,4];case 2:s.sent(),s.label=3;case 3:return E++,[3,1];case 4:return[2]}})})},u.prototype.renderSolidBorder=function(t,r,n){return $0(this,void 0,void 0,function(){return b0(this,function(i){return this.path(xF(n,r)),this.ctx.fillStyle=st(t),this.ctx.fill(),[2]})})},u.prototype.renderDoubleBorder=function(t,r,n,i){return $0(this,void 0,void 0,function(){var E,o;return b0(this,function(a){switch(a.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,i)]:[3,2];case 1:return a.sent(),[2];case 2:return E=VQe(i,n),this.path(E),this.ctx.fillStyle=st(t),this.ctx.fill(),o=zQe(i,n),this.path(o),this.ctx.fill(),[2]}})})},u.prototype.renderNodeBackgroundAndBorders=function(t){return $0(this,void 0,void 0,function(){var r,n,i,E,o,a,s,A,c=this;return b0(this,function(l){switch(l.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!da(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],E=rLe(Uo(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(E),this.ctx.clip(),da(r.backgroundColor)||(this.ctx.fillStyle=st(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:l.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(f){c.ctx.save();var p=H1(t.curves),h=f.inset?0:uLe,w=KQe(p,-h+(f.inset?1:-1)*f.spread.number,(f.inset?1:-1)*f.spread.number,f.spread.number*(f.inset?-2:2),f.spread.number*(f.inset?-2:2));f.inset?(c.path(p),c.ctx.clip(),c.mask(w)):(c.mask(p),c.ctx.clip(),c.path(w)),c.ctx.shadowOffsetX=f.offsetX.number+h,c.ctx.shadowOffsetY=f.offsetY.number,c.ctx.shadowColor=st(f.color),c.ctx.shadowBlur=f.blur.number,c.ctx.fillStyle=f.inset?st(f.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),l.label=2;case 2:o=0,a=0,s=i,l.label=3;case 3:return a<s.length?(A=s[a],A.style!==0&&!da(A.color)&&A.width>0?A.style!==2?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return l.sent(),[3,11];
vendor: 7,580 bytes, line 1050
1050case 5:return A.style!==3?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,o,t.curves,3)];case 6:return l.sent(),[3,11];case 7:return A.style!==4?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,o,t.curves)];case 8:return l.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,o,t.curves)];case 10:l.sent(),l.label=11;case 11:o++,l.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},u.prototype.renderDashedDottedBorder=function(t,r,n,i,E){return $0(this,void 0,void 0,function(){var o,a,s,A,c,l,f,p,h,w,m,g,v,d,y,b,y,b;return b0(this,function(C){return this.ctx.save(),o=GQe(i,n),a=xF(i,n),E===2&&(this.path(a),this.ctx.clip()),G0(a[0])?(s=a[0].start.x,A=a[0].start.y):(s=a[0].x,A=a[0].y),G0(a[1])?(c=a[1].end.x,l=a[1].end.y):(c=a[1].x,l=a[1].y),n===0||n===2?f=Math.abs(s-c):f=Math.abs(A-l),this.ctx.beginPath(),E===3?this.formatPath(o):this.formatPath(a.slice(0,2)),p=r<3?r*3:r*2,h=r<3?r*2:r,E===3&&(p=r,h=r),w=!0,f<=p*2?w=!1:f<=p*2+h?(m=f/(2*p+h),p*=m,h*=m):(g=Math.floor((f+h)/(p+h)),v=(f-g*p)/(g-1),d=(f-(g+1)*p)/g,h=d<=0||Math.abs(h-v)<Math.abs(h-d)?v:d),w&&(E===3?this.ctx.setLineDash([0,p+h]):this.ctx.setLineDash([p,h])),E===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=st(t),this.ctx.stroke(),this.ctx.setLineDash([]),E===2&&(G0(a[0])&&(y=a[3],b=a[0],this.ctx.beginPath(),this.formatPath([new de(y.end.x,y.end.y),new de(b.start.x,b.start.y)]),this.ctx.stroke()),G0(a[1])&&(y=a[1],b=a[2],this.ctx.beginPath(),this.formatPath([new de(y.end.x,y.end.y),new de(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},u.prototype.render=function(t){return $0(this,void 0,void 0,function(){var r;return b0(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=WQe(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},u})(C6);var tLe=function(e){return e instanceof l6||e instanceof c6?!0:e instanceof f7&&e.type!==$1&&e.type!==N1},rLe=function(e,u){switch(e){case 0:return H1(u);case 2:return RQe(u);case 1:default:return j1(u)}},nLe=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},iLe=["-apple-system","system-ui"],ELe=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(u){return iLe.indexOf(u)===-1}):e};(function(e){Tr(u,e);function u(t,r){var n=e.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return u.prototype.render=function(t){return $0(this,void 0,void 0,function(){var r,n;return b0(this,function(i){switch(i.label){case 0:return r=Gy(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,oLe(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},u})(C6);var oLe=function(e){return new Promise(function(u,t){var r=new Image;r.onload=function(){u(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})};typeof window<"u"&&LQe.setContext(window);function rGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2.5a5.25 5.25 0 0 0-2.519 9.857 9.005 9.005 0 0 0-6.477 8.37.75.75 0 0 0 .727.773H20.27a.75.75 0 0 0 .727-.772 9.005 9.005 0 0 0-6.477-8.37A5.25 5.25 0 0 0 12 2.5Z"}}]})(e)}function nGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}}]})(e)}function iGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 3a9 9 0 109 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 01-4.4 2.26 5.403 5.403 0 01-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"}}]})(e)}function EGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 00-1.41 0 .996.996 0 000 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 00-1.41 0 .996.996 0 000 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 000-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 000-1.41.996.996 0 00-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 000-1.41.996.996 0 00-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"}}]})(e)}function oGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fillRule:"evenodd"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}}]}]})(e)}function aGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}}]})(e)}function sGe(e){return _r({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6H5v-4h14v4zM19 3H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 6H5V5h14v4z"}}]})(e)}function AGe(e){return _r({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M338.29 338.29L448 448"}}]})(e)}var DF=()=>({userId:"",channelAccessToken:"",liffUrl:""}),aLe=()=>({printerType:"bluetooth",printerSize:"30",printerBluetooth:{android:{address:"",name:""},ios:{address:"",name:""}},printerEthernet:"",printerUsb:{vendor_id:"",product_id:"",device_name:""}}),sLe=()=>({name:"",taxNumber:"",address:"",branch:"",tel:"",fax:"",status:!1,headquarter:!0}),cGe=()=>({name:"",address:"",tel:"",managerName:"",managerPhone:"",remark:"",branch:1,scShopId:"",posId:"",yourCode:"",suggester:"",shopType:{id:1,name:"กินก่อนจ่าย"},createdDate:new Date,imageUrl:[],imageId:"",smartCategory:[],smartOption:[],smartTable:[],zone:[],category:[],channel:[{id:1,name:"ราคาปกติ"}],tax:sLe(),taxInfo:{name:"",tel:"",address:"",taxNumber:"",branch:""},taxCustomer:[],scanFoodVat:{status:!1,value:{type:"Include",amount:"7"}},scanFoodServiceCharge:{status:!1,amount:"10"},scanFoodCardSurcharge:{status:!1,services:[]}
1050,rounding:{status:!1,type:"down"},schedule:{dynamicStatus:!0,staticStatus:!0,day:[{day:0,id:1,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:1,id:2,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:2,id:3,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:3,id:4,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:4,id:5,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:5,id:6,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:6,id:7,startTime:"6:00",endTime:"20:00",allTime:!0,type:"dynamic",status:!0},{day:0,id:8,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:1,id:9,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:2,id:10,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:3,id:11,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:4,id:12,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:5,id:13,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0},{day:6,id:14,startTime:"6:00",endTime:"20:00",allTime:!0,type:"static",status:!0}]},businessHours:[],latitude:"",longitude:"",tvPromo:[],temptClose:!1,shift:!1,providerId:"",vip:[],packageArray:[],storeSize:30,receiptPattern:"month",receiptLanguage:"th",smartCheckout:{promptpayId:"",promptpayStatus:!1,textBottom:"",textBottomStatus:!1,imageStatus:!1,imageId:"",logoStatus:!1,logo:"",contentHeaderStatus:!1,contentHeader:""},smartQrcode:{textBottom:"",textBottomStatus:!1},smartTopSale:{name:"เมนูเด็ด คนสั่งเยอะ",status:!1,value:[],nameLanguage:[]},smartRecommend:{name:"เมนูแนะนำ",status:!1,value:[],nameLanguage:[]},smartPromotion:{name:"โปรโมชั่น",status:!1,value:[],nameLanguage:[]},smartBuffet:[],buffetOnly:!1,smartQue:{status:!0,queType:[{id:"111",brev:"A",type:"1 - 2 คน"},{id:"222",brev:"B",type:"3 - 4 คน"}],content:`เพื่มให้ได้อาหารรวดเร็วทันใจ
1051ลูกค้าสามารถสั่งอาหารได้จาก QR Code นี้เลยนะค้าา`},delivery:{status:!1,information:[{id:"name",name:"ชื่อ",showOnReceipt:!0}],paymentDetails:[{id:"payLater",status:!1,name:"เก็บเงินปลายทาง"},{id:"promptpay",status:!1,name:"พร้อมเพย์",promptpayId:"",promptpayName:""},{id:"bank",status:!1,name:"บัญชีธนาคาร",accountName:"",bankName:"",bankNumber:""},{id:"manee",status:!1,name:"รูป QrCode เช่น QR Code แม่มณี",imageId:""}],delivery:{status:!1,cost:"",latitude:"",longitude:"",freeStatus:!1,freeTarget:""},minimumSale:1},pickup:{status:!1,paymentJourney:"after",paymentDetail:{id:"promptpay",promptpayId:"",promptpayName:""},information:[{id:"name",name:"ชื่อ",showOnReceipt:!0}]},scanAndPay:{status:!1,paymentDetail:{id:"promptpay",promptpayId:"",promptpayName:""}},linePickup:DF(),lineDelivery:DF(),lineRichMenu:"",linePickupAds:[],scanFoodPayment:[{id:1,name:"เงินสด",mortal:!0,status:!0},{id:2,name:"พร้อมเพย์",mortal:!0,status:!0}],paymentDisplayOrder:[],currency:[],dayDeposit:14,earnestEnable:!1,payConfig:!1,promptpayCheckout:!1,ipAddress:"",starLanIp:"",host:"",hostName:"",kitchenType:"category",autoKitchen:!1,smartCooking:[],paperMode:"graphic",railOrder:!1,sunmiPrintOrder:!1,sunmiOrderSize:1,printCancelItem:!0,printMoveItem:!0,printMoveTable:!1,printSticker:aLe(),printStickerStatus:!1,stickerMenu:[],stickerEnable:!1,smartKitchen:[],multiStation:!1,humanResource:[{email:"",name:"",notification:!0,position:["001"],status:"active",tel:""}],smartChef:[],smartTask:[],checkInEnable:!1,staffEntrance:!1,managerLock:!1,shiftScanOrder:!1,franchiseId:"",franchiseRights:[],franchiseRoute:"",franchisePayment:[],franchiseShopType:"",franchiseBranch:"",region:"",province:"",customerTypeId:"",warehouseId:"",creditTerm:30,marketplaceFranchiseEnable:!1,customerAds:[],customerAdsMode:"image",displayView:!1,dynamicDisplayEnable:!1,orderingTheme:"light",advertising:{status:!1,imageId:""},banner:{status:!1,imageId:""},hot:{status:!1,imageStatus:!1,imageId:"",header:"เมนูยอดนิยม",product:[],backgroundColor:"#FA8D94"},playlist:!1,takeOrder:{bottomStyle:1,icon:[]},journeyStyle:1,fastMenu:[],holdEnable:!1,repeatItem:!1,noteEnable:!1,freeTipEnable:!1,notiShift:[],notiCancelBill:[],notiCancelOrder:[],notiCount:[],notiAuto:[],staffNoti:[],bomNoti:[],cutOff:new Date(2011,0,1,0,0,0,0),cancelBillWithReverse:!1,autoCheckout:!1,multiLanguage:[],multiLanguageEnable:!1,defaultLanguage:"",follower:{status:!1,link:""},BOMCategory:[],happyHour:{status:!1,imageId:"",startTime:new Date,endTime:new Date},POSs:[],tableControl:!1,timerEnable:!1,bonusEnable:!1,bonusId:"",bomEnable:!1,sopEnable:!1,procurementEnable:!1,bomCountApplyAdjust:!1,stockAutoOut:!1,barcodeEnable:!1,boxEnable:!1,boxPattern:"none",skuEnable:!1,multiZone:!1,tip:!1,village:!1,smartRequest:[{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%
1051B5%E0%B8%A2%E0%B8%81%E0%B8%9E%E0%B8%99%E0%B8%B1%E0%B8%81%E0%B8%87%E0%B8%B2%E0%B8%99.webp?alt=media&token=c03e2174-3ff5-4ba6-adb3-69c40c7f4587",name:"เรียกพนักงาน",detailStatus:!1,placeholder:"",status:!0,id:18},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B8%8A%E0%B8%B3%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%87%E0%B8%B4%E0%B8%99.webp?alt=media&token=809fd00e-cbe8-4158-be0e-ae69cd6acf3a",name:"ชำระเงิน",detailStatus:!1,placeholder:"",status:!0,id:28},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B8%82%E0%B8%AD%E0%B8%AD%E0%B8%B8%E0%B8%9B%E0%B8%81%E0%B8%A3%E0%B8%93%E0%B9%8C.webp?alt=media&token=e1ec1313-6f22-4003-a9c0-c7f2587306ec",name:"ขอเปลี่ยน/เพิ่มอุปกรณ์",detailStatus:!1,placeholder:"",status:!0,id:38},{imageId:"https://firebasestorage.googleapis.com/v0/b/shopchamp-restaurant.appspot.com/o/icon%2F%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%81%E0%B9%80%E0%B8%95%E0%B8%B4%E0%B8%A1%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87%E0%B8%94%E0%B8%B7%E0%B9%88%E0%B8%A1.webp?alt=media&token=a3649f1e-0b73-4f88-807b-cbf7e1c7eebb",name:"เติมเครื่องดื่ม",detailStatus:!1,placeholder:"",status:!0,id:48}],prankBlocklist:[],requireOpenTable:!1,selfOrderingEnable:!1,selfOrderingLanguage:!1,selfOrderingPayment:[],selfOrderingReceipt:"none",selfOrderingOrder:"kds-print",orderAlertEnable:!1,floorPlanEnable:!1,flowAccountEnable:!1,flowAccountMode:"perBill",flowAccountExpense:!1,flowAccountItemType:"3"});function D6(e){var u,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(u=0;u<n;u++)e[u]&&(t=D6(e[u]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Dt(){for(var e,u,t=0,r="",n=arguments.length;t<n;t++)(e=arguments[t])&&(u=D6(e))&&(r&&(r+=" "),r+=u);return r}function GE(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function me(e){const u=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&u==="[object Date]"?new e.constructor(+e):typeof e=="number"||u==="[object Number]"||typeof e=="string"||u==="[object String]"?new Date(e):new Date(NaN)}function yc(e){if(!GE(e)&&typeof e!="number")return!1;const u=me(e);return!isNaN(Number(u))}const ALe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},cLe=(e,u,t)=>{let r;const n=ALe[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",u.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+r:r+" ago":r};function Fu(e){return(u={})=>{const t=u.width?String(u.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const lLe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},fLe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dLe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pLe={date:Fu({formats:lLe,defaultWidth:"full"}),time:Fu({formats:fLe,defaultWidth:"full"}),dateTime:Fu({formats:dLe,defaultWidth:"full"})}
vendor: 4,186 bytes, line 1051
1051,hLe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},mLe=(e,u,t,r)=>hLe[e];function _e(e){return(u,t)=>{const r=t!=null&&t.context?String(t.context):"standalone";let n;if(r==="formatting"&&e.formattingValues){const E=e.defaultFormattingWidth||e.defaultWidth,o=t!=null&&t.width?String(t.width):E;n=e.formattingValues[o]||e.formattingValues[E]}else{const E=e.defaultWidth,o=t!=null&&t.width?String(t.width):e.defaultWidth;n=e.values[o]||e.values[E]}const i=e.argumentCallback?e.argumentCallback(u):u;return n[i]}}const gLe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},yLe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},vLe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},BLe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},wLe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},bLe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},xLe=(e,u)=>{const t=Number(e),r=t%100;if(r>20||r<10)switch(r%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},CLe={ordinalNumber:xLe,era:_e({values:gLe,defaultWidth:"wide"}),quarter:_e({values:yLe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:vLe,defaultWidth:"wide"}),day:_e({values:BLe,defaultWidth:"wide"}),dayPeriod:_e({values:wLe,defaultWidth:"wide",formattingValues:bLe,defaultFormattingWidth:"wide"})};function Ie(e){return(u,t={})=>{const r=t.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=u.match(n);if(!i)return null;const E=i[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],a=Array.isArray(o)?SLe(o,c=>c.test(E)):DLe(o,c=>c.test(E));let s;s=e.valueCallback?e.valueCallback(a):a,s=t.valueCallback?t.valueCallback(s):s;const A=u.slice(E.length);return{value:s,rest:A}}}function DLe(e,u){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&u(e[t]))return t}function SLe(e,u){for(let t=0;t<e.length;t++)if(u(e[t]))return t}function Gi(e){return(u,t={})=>{const r=u.match(e.matchPattern);if(!r)return null;const n=r[0],i=u.match(e.parsePattern);if(!i)return null;let E=e.valueCallback?e.valueCallback(i[0]):i[0];E=t.valueCallback?t.valueCallback(E):E;const o=u.slice(n.length);return{value:E,rest:o}}}const FLe=/^(\d+)(th|st|nd|rd)?/i,_Le=/\d+/i,ILe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},TLe={any:[/^b/i,/^(a|c)/i]},PLe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},OLe={any:[/1/i,/2/i,/3/i,/4/i]},kLe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ULe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]}
vendor: 9,262 bytes, line 1051
1051,QLe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},LLe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},MLe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},RLe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},NLe={ordinalNumber:Gi({matchPattern:FLe,parsePattern:_Le,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:ILe,defaultMatchWidth:"wide",parsePatterns:TLe,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:PLe,defaultMatchWidth:"wide",parsePatterns:OLe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:kLe,defaultMatchWidth:"wide",parsePatterns:ULe,defaultParseWidth:"any"}),day:Ie({matchPatterns:QLe,defaultMatchWidth:"wide",parsePatterns:LLe,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:MLe,defaultMatchWidth:"any",parsePatterns:RLe,defaultParseWidth:"any"})},S6={code:"en-US",formatDistance:cLe,formatLong:pLe,formatRelative:mLe,localize:CLe,match:NLe,options:{weekStartsOn:0,firstWeekContainsDate:1}};let $Le={};function no(){return $Le}const F6=6048e5,HLe=864e5,t4=6e4,r4=36e5,jLe=1e3;function Zr(e){const u=me(e);return u.setHours(0,0,0,0),u}function W1(e){const u=me(e),t=new Date(Date.UTC(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()));return t.setUTCFullYear(u.getFullYear()),+e-+t}function vc(e,u){const t=Zr(e),r=Zr(u),n=+t-W1(t),i=+r-W1(r);return Math.round((n-i)/HLe)}function ru(e,u){return e instanceof Date?new e.constructor(u):new Date(u)}function n4(e){const u=me(e),t=ru(e,0);return t.setFullYear(u.getFullYear(),0,1),t.setHours(0,0,0,0),t}function KLe(e){const u=me(e);return vc(u,n4(u))+1}function xr(e,u){var o,a,s,A;const t=no(),r=(u==null?void 0:u.weekStartsOn)??((a=(o=u==null?void 0:u.locale)==null?void 0:o.options)==null?void 0:a.weekStartsOn)??t.weekStartsOn??((A=(s=t.locale)==null?void 0:s.options)==null?void 0:A.weekStartsOn)??0,n=me(e),i=n.getDay(),E=(i<r?7:0)+i-r;return n.setDate(n.getDate()-E),n.setHours(0,0,0,0),n}function Ma(e){return xr(e,{weekStartsOn:1})}function _6(e){const u=me(e),t=u.getFullYear(),r=ru(e,0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);const n=Ma(r),i=ru(e,0);i.setFullYear(t,0,4),i.setHours(0,0,0,0);const E=Ma(i);return u.getTime()>=n.getTime()?t+1:u.getTime()>=E.getTime()?t:t-1}function WLe(e){const u=_6(e),t=ru(e,0);return t.setFullYear(u,0,4),t.setHours(0,0,0,0),Ma(t)}function p7(e){const u=me(e),t=+Ma(u)-+WLe(u);return Math.round(t/F6)+1}function h7(e,u){var A,c,l,f;const t=me(e),r=t.getFullYear(),n=no(),i=(u==null?void 0:u.firstWeekContainsDate)??((c=(A=u==null?void 0:u.locale)==null?void 0:A.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(l=n.locale)==null?void 0:l.options)==null?void 0:f.firstWeekContainsDate)??1,E=ru(e,0);E.setFullYear(r+1,0,i),E.setHours(0,0,0,0);const o=xr(E,u),a=ru(e,0);a.setFullYear(r,0,i),a.setHours(0,0,0,0);const s=xr(a,u);return t.getTime()>=o.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function VLe(e,u){var o,a,s,A;const t=no(),r=(u==null?void 0:u.firstWeekContainsDate)??((a=(o=u==null?void 0:u.locale)==null?void 0:o.options)==null?void 0:a.firstWeekContainsDate)??t.firstWeekContainsDate??((A=(s=t.locale)==null?void 0:s.options)==null?void 0:A.firstWeekContainsDate)??1,n=h7(e,u),i=ru(e,0);return i.setFullYear(n,0,r),i.setHours(0,0,0,0),xr(i,u)}function I6(e,u){const t=me(e),r=+xr(t,u)-+VLe(t,u);return Math.round(r/F6)+1}function tu(e,u){const t=e<0?"-":"",r=Math.abs(e).toString().padStart(u,"0");return t+r}const Nn={y(e,u){const t=e.getFullYear(),r=t>0?t:1-t;return tu(u==="yy"?r%100:r,u.length)},M(e,u){const t=e.getMonth();return u==="M"?String(t+1):tu(t+1,2)},d(e,u){return tu(e.getDate(),u.length)},a(e,u){const t=e.getHours()/12>=1?"pm":"am";switch(u){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,u){return tu(e.getHours()%12||12,u.length)},H(e,u){return tu(e.getHours(),u.length)},m(e,u){return tu(e.getMinutes(),u.length)},s(e,u){return tu(e.getSeconds(),u.length)},S(e,u){const t=u.length,r=e.getMilliseconds(),n=Math.trunc(r*Math.pow(10,t-3));return tu(n,u.length)}},So={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},SF={G:function(e,u,t){const r=e.getFullYear()>0?1:0;switch(u){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});case"GGGG":default:return t.era(r,{width:"wide"})}},y:function(e,u,t){if(u==="yo"){const r=e.getFullYear(),n=r>0?r:1-r;return t.ordinalNumber(n,{unit:"year"})}return Nn.y(e,u)},Y:function(e,u,t,r){const n=h7(e,r),i=n>0?n:1-n;if(u==="YY"){const E=i%100;return tu(E,2)}return u==="Yo"?t.ordinalNumber(i,{unit:"year"}):tu(i,u.length)},R:function(e,u){const t=_6(e);return tu(t,u.length)},u:function(e,u){const t=e.getFullYear();return tu(t,u.length)},Q:function(e,u,t){const r=Math.ceil((e.getMonth()+1)/3);switch(u){case"Q":return String(r);case"QQ":return tu(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,u,t){const r=Math.ceil((e.getMonth()+1)/3);switch(u){case"q":return String(r);case"qq":return tu(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,u,t){const r=e.getMonth();switch(u){case"M":case"MM":return Nn.M(e,u);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(e,u,t){const r=e.getMonth();switch(u){case"L":return String(r+1);case"LL":return tu(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(e,u,t,r){const n=I6(e,r);return u==="wo"?t.ordinalNumber(n,{unit:"week"}):tu(n,u.length)},I:function(e,u,t){const r=p7(e);return u==="Io"?t.ordinalNumber(r,{unit:"week"}):tu(r,u.length)},d:function(e,u,t){return u==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Nn.d(e,u)},D:function(e,u,t){const r=KLe(e);return u==="Do"?t.ordinalNumber(r,{unit:"dayOfYear"}):tu(r,u.length)},E:function(e,u,t){const r=e.getDay();switch(u){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});case"EEEE":default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(e,u,t,r){const n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(u){case"e":return String(i);case"ee":return tu(i,2);case"eo":return t.ordinalNumber(i,{unit:"day"});case"eee":return t.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(n,{width:"short",context:"formatting"});case"eeee":default:return t.day(n,{width:"wide",context:"formatting"})}},c:function(e,u,t,r){const n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(u){case"c":return String(i);case"cc":return tu(i,u.length);case"co":return t.ordinalNumber(i,{unit:"day"});case"ccc":return t.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(n,{width:"narrow",context:"standalone"});case"cccccc":return t.day(n,{width:"short",context:"standalone"});case"cccc":default:return t.day(n,{width:"wide",context:"standalone"})}},i:function(e,u,t){const r=e.getDay(),n=r===0?7:r;switch(u){case"i":return String(n);case"ii":return tu(n,u.length);case"io":return t.ordinalNumber(n,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});case"iiii":default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(e,u,t){const n=e.getHours()/12>=1?"pm":"am";switch(u){case"a":case"aa":return t.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,u,t){const r=e.getHours();let n;switch(r===12?n=So.noon:r===0?n=So.midnight:n=r/12>
vendor: 4,386 bytes, line 1051
1051=1?"pm":"am",u){case"b":case"bb":return t.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,u,t){const r=e.getHours();let n;switch(r>=17?n=So.evening:r>=12?n=So.afternoon:r>=4?n=So.morning:n=So.night,u){case"B":case"BB":case"BBB":return t.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,u,t){if(u==="ho"){let r=e.getHours()%12;return r===0&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return Nn.h(e,u)},H:function(e,u,t){return u==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Nn.H(e,u)},K:function(e,u,t){const r=e.getHours()%12;return u==="Ko"?t.ordinalNumber(r,{unit:"hour"}):tu(r,u.length)},k:function(e,u,t){let r=e.getHours();return r===0&&(r=24),u==="ko"?t.ordinalNumber(r,{unit:"hour"}):tu(r,u.length)},m:function(e,u,t){return u==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Nn.m(e,u)},s:function(e,u,t){return u==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Nn.s(e,u)},S:function(e,u){return Nn.S(e,u)},X:function(e,u,t){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(u){case"X":return _F(r);case"XXXX":case"XX":return iE(r);case"XXXXX":case"XXX":default:return iE(r,":")}},x:function(e,u,t){const r=e.getTimezoneOffset();switch(u){case"x":return _F(r);case"xxxx":case"xx":return iE(r);case"xxxxx":case"xxx":default:return iE(r,":")}},O:function(e,u,t){const r=e.getTimezoneOffset();switch(u){case"O":case"OO":case"OOO":return"GMT"+FF(r,":");case"OOOO":default:return"GMT"+iE(r,":")}},z:function(e,u,t){const r=e.getTimezoneOffset();switch(u){case"z":case"zz":case"zzz":return"GMT"+FF(r,":");case"zzzz":default:return"GMT"+iE(r,":")}},t:function(e,u,t){const r=Math.trunc(e.getTime()/1e3);return tu(r,u.length)},T:function(e,u,t){const r=e.getTime();return tu(r,u.length)}};function FF(e,u=""){const t=e>0?"-":"+",r=Math.abs(e),n=Math.trunc(r/60),i=r%60;return i===0?t+String(n):t+String(n)+u+tu(i,2)}function _F(e,u){return e%60===0?(e>0?"-":"+")+tu(Math.abs(e)/60,2):iE(e,u)}function iE(e,u=""){const t=e>0?"-":"+",r=Math.abs(e),n=tu(Math.trunc(r/60),2),i=tu(r%60,2);return t+n+u+i}const IF=(e,u)=>{switch(e){case"P":return u.date({width:"short"});case"PP":return u.date({width:"medium"});case"PPP":return u.date({width:"long"});case"PPPP":default:return u.date({width:"full"})}},T6=(e,u)=>{switch(e){case"p":return u.time({width:"short"});case"pp":return u.time({width:"medium"});case"ppp":return u.time({width:"long"});case"pppp":default:return u.time({width:"full"})}},zLe=(e,u)=>{const t=e.match(/(P+)(p+)?/)||[],r=t[1],n=t[2];if(!n)return IF(e,u);let i;switch(r){case"P":i=u.dateTime({width:"short"});break;case"PP":i=u.dateTime({width:"medium"});break;case"PPP":i=u.dateTime({width:"long"});break;case"PPPP":default:i=u.dateTime({width:"full"});break}return i.replace("{{date}}",IF(r,u)).replace("{{time}}",T6(n,u))},V1={p:T6,P:zLe},GLe=/^D+$/,YLe=/^Y+$/,XLe=["D","DD","YY","YYYY"];function P6(e){return GLe.test(e)}function O6(e){return YLe.test(e)}function Zy(e,u,t){const r=ZLe(e,u,t);if(console.warn(r),XLe.includes(e))throw new RangeError(r)}function ZLe(e,u,t){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${u}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const qLe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,JLe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eMe=/^'([^]*?)'?$/,uMe=/''/g,tMe=/[a-zA-Z]/;function TF(e,u,t){var A,c,l,f,p,h,w,m;const r=no(),n=(t==null?void 0:t.locale)??r.locale??S6,i=(t==null?void 0:t.firstWeekContainsDate)??((c=(A=t==null?void 0:t.locale)==null?void 0:A.options)==null?void 0:c.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(l=r.locale)==null?void 0:l.options)==null?void 0:f.firstWeekContainsDate)??1,E=(t==null?void 0:t.weekStartsOn)??((h=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:h.weekStartsOn)??r.weekStartsOn??((m=(w=r.locale)==null?void 0:w.options)==null?void 0:m.weekStartsOn)??0,o=me(e);
1051if(!yc(o))throw new RangeError("Invalid time value");let a=u.match(JLe).map(g=>{const v=g[0];if(v==="p"||v==="P"){const d=V1[v];return d(g,n.formatLong)}return g}).join("").match(qLe).map(g=>{if(g==="''")return{isToken:!1,value:"'"};const v=g[0];if(v==="'")return{isToken:!1,value:rMe(g)};if(SF[v])return{isToken:!0,value:g};if(v.match(tMe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:g}});n.localize.preprocessor&&(a=n.localize.preprocessor(o,a));const s={firstWeekContainsDate:i,weekStartsOn:E,locale:n};return a.map(g=>{if(!g.isToken)return g.value;const v=g.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&O6(v)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&P6(v))&&Zy(v,u,String(e));const d=SF[v[0]];return d(o,v,n.localize,s)}).join("")}function rMe(e){const u=e.match(eMe);return u?u[1].replace(uMe,"'"):e}function m7(e,u){const t=+me(e);return ru(e,t+u)}function qy(e,u){return m7(e,u*t4)}function nMe(e,u){return m7(e,u*r4)}function Yi(e,u){const t=me(e);return isNaN(u)?ru(e,NaN):(u&&t.setDate(t.getDate()+u),t)}function z1(e,u){const t=u*7;return Yi(e,t)}function Cr(e,u){const t=me(e);if(isNaN(u))return ru(e,NaN);if(!u)return t;const r=t.getDate(),n=ru(e,t.getTime());n.setMonth(t.getMonth()+u+1,0);const i=n.getDate();return r>=i?n:(t.setFullYear(n.getFullYear(),n.getMonth(),r),t)}function g7(e,u){const t=u*3;return Cr(e,t)}function wn(e,u){return Cr(e,u*12)}function iMe(e,u){return Yi(e,-1)}function PF(e,u){return z1(e,-1)}function Ra(e,u){return Cr(e,-u)}function k6(e,u){return g7(e,-1)}function Na(e,u){return wn(e,-u)}function bn(e){return me(e).getSeconds()}function qr(e){return me(e).getMinutes()}function Jr(e){return me(e).getHours()}function EMe(e){return me(e).getDay()}function OF(e){return me(e).getDate()}function qt(e){return me(e).getMonth()}function PE(e){const u=me(e);return Math.trunc(u.getMonth()/3)+1}function Oe(e){return me(e).getFullYear()}function Jy(e){return me(e).getTime()}function vd(e,u){const t=me(e);return t.setSeconds(u),t}function Bd(e,u){const t=me(e);return t.setMinutes(u),t}function wd(e,u){const t=me(e);return t.setHours(u),t}function oMe(e){const u=me(e),t=u.getFullYear(),r=u.getMonth(),n=ru(e,0);return n.setFullYear(t,r+1,0),n.setHours(0,0,0,0),n.getDate()}function Yt(e,u){const t=me(e),r=t.getFullYear(),n=t.getDate(),i=ru(e,0);i.setFullYear(r,u,15),i.setHours(0,0,0,0);const E=oMe(i);return t.setMonth(u,Math.min(n,E)),t}function Qo(e,u){const t=me(e),r=Math.trunc(t.getMonth()/3)+1,n=u-r;return Yt(t,t.getMonth()+n*3)}function Rr(e,u){const t=me(e);return isNaN(+t)?ru(e,NaN):(t.setFullYear(u),t)}function kF(e){let u;return e.forEach(t=>{const r=me(t);(!u||u>r||isNaN(+r))&&(u=r)}),u||new Date(NaN)}function UF(e){let u;return e.forEach(function(t){const r=me(t);(u===void 0||u<r||isNaN(Number(r)))&&(u=r)}),u||new Date(NaN)}function G1(e,u){const t=me(e),r=me(u),n=t.getFullYear()-r.getFullYear(),i=t.getMonth()-r.getMonth();return n*12+i}function Y1(e,u){const t=me(e),r=me(u);return t.getFullYear()-r.getFullYear()}function X1(e,u){const t=me(e),r=me(u),n=t.getFullYear()-r.getFullYear(),i=PE(t)-PE(r);return n*4+i}function U6(e){const u=me(e);return u.setDate(1),u.setHours(0,0,0,0),u}function ev(e){const u=me(e),t=u.getMonth(),r=t-t%3;return u.setMonth(r,1),u.setHours(0,0,0,0),u}function uv(e){const u=me(e);return u.setHours(23,59,59,999),u}function aMe(e,u){var o,a;const t=no(),r=t.weekStartsOn??((a=(o=t.locale)==null?void 0:o.options)==null?void 0:a.weekStartsOn)??0,n=me(e),i=n.getDay(),E=(i<r?-7:0)+6-(i-r);return n.setDate(n.getDate()+E),n.setHours(23,59,59,999),n}function sMe(e){const u=me(e),t=u.getMonth();return u.setFullYear(u.getFullYear(),t+1,0),u.setHours(23,59,59,999),u}function Q6(e){const u=me(e),t=u.getFullYear();return u.setFullYear(t+1,0,0),u.setHours(23,59,59,999),u}function AMe(e,u){const t=me(e),r=me(u);return+t==+r}function cMe(e,u){const t=Zr(e),r=Zr(u);return+t==+r}function lMe(e,u){const t=me(e),r=me(u);return t.getFullYear()===r.getFullYear()&&t.getMonth()===r.getMonth()}function fMe(e,u){const t=me(e),r=me(u);return t.getFullYear()===r.getFullYear()}function dMe(e,u){const t=ev(e),r=ev(u);return+t==+r}function Oi(e,u){const t=me(e),r=me(u);return t.getTime()>r.getTime()}function YE(e,u){const t=me(e),r=me(u);return+t<+r}function Bc(e,u){const t=+me(e),[r,n]=[+me(u.start),+me(u.end)].sort((i,E)=>i-E);return t>=r&&t<=n}function pMe(){return Object.assign({},no())}function hMe(e,u){const t=u instanceof Date?ru(u,0):new u(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const mMe=10;class L6{constructor(){he(this,"subPriority",0)}validate(u,t){return!0}}class gMe extends L6{constructor(u,t,r,n,i){super(),this.value=u,this.validateValue=t,this.setValue=r,this.priority=n,i&&(this.subPriority=i)}validate(u,t){return this.validateValue(u,this.value,t)}set(u,t,r){return this.setValue(u,t,this.value,r)}}class yMe extends L6{constructor(){super(...arguments);he(this,"priority",mMe);he(this,"subPriority",-1)}set(t,r){return r.timestampIsSet?t:ru(t,hMe(t,Date))}}class Je{run(u,t,r,n){const i=this.parse(u,t,r,n);return i?{setter:new gMe(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(u,t,r){return!0}}class vMe extends Je{constructor(){super(...arguments);he(this,"priority",140);he(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}}const Gu={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/}
vendor: 23,570 bytes, line 1051
1051,jr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Yu(e,u){return e&&{value:u(e.value),rest:e.rest}}function ku(e,u){const t=u.match(e);return t?{value:parseInt(t[0],10),rest:u.slice(t[0].length)}:null}function Kr(e,u){const t=u.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:u.slice(1)};const r=t[1]==="+"?1:-1,n=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,E=t[5]?parseInt(t[5],10):0;return{value:r*(n*r4+i*t4+E*jLe),rest:u.slice(t[0].length)}}function M6(e){return ku(Gu.anyDigitsSigned,e)}function Hu(e,u){switch(e){case 1:return ku(Gu.singleDigit,u);case 2:return ku(Gu.twoDigits,u);case 3:return ku(Gu.threeDigits,u);case 4:return ku(Gu.fourDigits,u);default:return ku(new RegExp("^\\d{1,"+e+"}"),u)}}function Z1(e,u){switch(e){case 1:return ku(Gu.singleDigitSigned,u);case 2:return ku(Gu.twoDigitsSigned,u);case 3:return ku(Gu.threeDigitsSigned,u);case 4:return ku(Gu.fourDigitsSigned,u);default:return ku(new RegExp("^-?\\d{1,"+e+"}"),u)}}function y7(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function R6(e,u){const t=u>0,r=t?u:1-u;let n;if(r<=50)n=e||100;else{const i=r+50,E=Math.trunc(i/100)*100,o=e>=i%100;n=e+E-(o?100:0)}return t?n:1-n}function N6(e){return e%400===0||e%4===0&&e%100!==0}class BMe extends Je{constructor(){super(...arguments);he(this,"priority",130);he(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){const i=E=>({year:E,isTwoDigitYear:r==="yy"});switch(r){case"y":return Yu(Hu(4,t),i);case"yo":return Yu(n.ordinalNumber(t,{unit:"year"}),i);default:return Yu(Hu(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){const i=t.getFullYear();if(n.isTwoDigitYear){const o=R6(n.year,i);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}const E=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(E,0,1),t.setHours(0,0,0,0),t}}class wMe extends Je{constructor(){super(...arguments);he(this,"priority",130);he(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,r,n){const i=E=>({year:E,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Yu(Hu(4,t),i);case"Yo":return Yu(n.ordinalNumber(t,{unit:"year"}),i);default:return Yu(Hu(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,i){const E=h7(t,i);if(n.isTwoDigitYear){const a=R6(n.year,E);return t.setFullYear(a,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),xr(t,i)}const o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),xr(t,i)}}class bMe extends Je{constructor(){super(...arguments);he(this,"priority",130);he(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,r){return Z1(r==="R"?4:r.length,t)}set(t,r,n){const i=ru(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),Ma(i)}}class xMe extends Je{constructor(){super(...arguments);he(this,"priority",130);he(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return Z1(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}}class CMe extends Je{constructor(){super(...arguments);he(this,"priority",120);he(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"Q":case"QQ":return Hu(r.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}}class DMe extends Je{constructor(){super(...arguments);he(this,"priority",120);he(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"q":case"qq":return Hu(r.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}}class SMe extends Je{constructor(){super(...arguments);he(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);he(this,"priority",110)}parse(t,r,n){const i=E=>E-1;switch(r){case"M":return Yu(ku(Gu.month,t),i);case"MM":return Yu(Hu(2,t),i);case"Mo":return Yu(n.ordinalNumber(t,{unit:"month"}),i);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}}class FMe extends Je{constructor(){super(...arguments);he(this,"priority",110);he(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,r,n){const i=E=>E-1;switch(r){case"L":return Yu(ku(Gu.month,t),i);case"LL":return Yu(Hu(2,t),i);case"Lo":return Yu(n.ordinalNumber(t,{unit:"month"}),i);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}}function _Me(e,u,t){const r=me(e),n=I6(r,t)-u;return r.setDate(r.getDate()-n*7),r}class IMe extends Je{constructor(){super(...arguments);he(this,"priority",100);he(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,r,n){switch(r){case"w":return ku(Gu.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return Hu(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,i){return xr(_Me(t,n,i),i)}}function TMe(e,u){const t=me(e),r=p7(t)-u;return t.setDate(t.getDate()-r*7),t}class PMe extends Je{constructor(){super(...arguments);he(this,"priority",100);he(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,r,n){switch(r){case"I":return ku(Gu.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return Hu(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return Ma(TMe(t,n))}}const OMe=[31,28,31,30,31,30,31,31,30,31,30,31],kMe=[31,29,31,30,31,30,31,31,30,31,30,31];class UMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"subPriority",1);he(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"d":return ku(Gu.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return Hu(r.length,t)}}validate(t,r){const n=t.getFullYear(),i=N6(n),E=t.getMonth();return i?r>=1&&r<=kMe[E]:r>=1&&r<=OMe[E]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}}class QMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"subpriority",1);he(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,r,n){switch(r){case"D":case"DD":return ku(Gu.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return Hu(r.length,t)}}validate(t,r){const n=t.getFullYear();return N6(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}}function v7(e,u,t){var c,l,f,p;const r=no(),n=(t==null?void 0:t.weekStartsOn)??((l=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:l.weekStartsOn)??r.weekStartsOn??((p=(f=r.locale)==null?void 0:f.options)==null?void 0:p.weekStartsOn)??0,i=me(e),E=i.getDay(),a=(u%7+7)%7,s=7-n,A=u<0||u>6?u-(E+s)%7:(a+s)%7-(E+s)%7;return Yi(i,A)}class LMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=v7(t,n,i),t.setHours(0,0,0,0),t}}class MMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,r,n,i){const E=o=>{const a=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+a};switch(r){case"e":case"ee":return Yu(Hu(r.length,t),E);case"eo":return Yu(n.ordinalNumber(t,{unit:"day"}),E);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=v7(t,n,i),t.setHours(0,0,0,0),t}}class RMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,r,n,i){const E=o=>{const a=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+a};switch(r){case"c":case"cc":return Yu(Hu(r.length,t),E);case"co":return Yu(n.ordinalNumber(t,{unit:"day"}),E);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=v7(t,n,i),t.setHours(0,0,0,0),t}}function NMe(e){let t=me(e).getDay();return t===0&&(t=7),t}function $Me(e,u){const t=me(e),r=NMe(t),n=u-r;return Yi(t,n)}class HMe extends Je{constructor(){super(...arguments);he(this,"priority",90);he(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,r,n){const i=E=>E===0?7:E;switch(r){case"i":case"ii":return Hu(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return Yu(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return Yu(n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Yu(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Yu(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,r){return r>=1&&r<=7}set(t,r,n){return t=$Me(t,n),t.setHours(0,0,0,0),t}}class jMe extends Je{constructor(){super(...arguments);he(this,"priority",80);he(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(y7(n),0,0,0),t}}class KMe extends Je{constructor(){super(...arguments);he(this,"priority",80);he(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(y7(n),0,0,0),t}}class WMe extends Je{constructor(){super(...arguments);he(this,"priority",80);he(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(y7(n),0,0,0),t}}class VMe extends Je{constructor(){super(...arguments);he(this,"priority",70);he(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return ku(Gu.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return Hu(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,n){const i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):!i&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}}class zMe extends Je{constructor(){super(...arguments);he(this,"priority",70);he(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return ku(Gu.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return Hu(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}}class GMe extends Je{constructor(){super(...arguments);he(this,"priority",70);he(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return ku(Gu.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return Hu(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}}class YMe extends Je{constructor(){super(...arguments);he(this,"priority",70);he(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return ku(Gu.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return Hu(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){const i=n<=24?n%24:n;return t.setHours(i,0,0,0),t}}class XMe extends Je{constructor(){super(...arguments);he(this,"priority",60);he(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return ku(Gu.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return Hu(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}}class ZMe extends Je{constructor(){super(...arguments);he(this,"priority",50);he(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return ku(Gu.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return Hu(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}}class qMe extends Je{constructor(){super(...arguments);he(this,"priority",30);he(this,"incompatibleTokens",["t","T"])}parse(t,r){const n=i=>Math.trunc(i*Math.pow(10,-r.length+3));return Yu(Hu(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}}class JMe extends Je{constructor(){super(...arguments);he(this,"priority",10);he(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Kr(jr.basicOptionalMinutes,t);case"XX":return Kr(jr.basic,t);case"XXXX":return Kr(jr.basicOptionalSeconds,t);case"XXXXX":return Kr(jr.extendedOptionalSeconds,t);case"XXX":default:return Kr(jr.extended,t)}}set(t,r,n){return r.timestampIsSet?t:ru(t,t.getTime()-W1(t)-n)}}class eRe extends Je{constructor(){super(...arguments);he(this,"priority",10);he(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Kr(jr.basicOptionalMinutes,t);case"xx":return Kr(jr.basic,t);case"xxxx":return Kr(jr.basicOptionalSeconds,t);case"xxxxx":return Kr(jr.extendedOptionalSeconds,t);case"xxx":default:return Kr(jr.extended,t)}}set(t,r,n){return r.timestampIsSet?t:ru(t,t.getTime()-W1(t)-n)}}class uRe extends Je{constructor(){super(...arguments);he(this,"priority",40);he(this,"incompatibleTokens","*")}parse(t){return M6(t)}set(t,r,n){return[ru(t,n*1e3),{timestampIsSet:!0}]}}class tRe extends Je{constructor(){super(...arguments);he(this,"priority",20);he(this,"incompatibleTokens","*")}parse(t){return M6(t)}set(t,r,n){return[ru(t,n),{timestampIsSet:!0}]}}const rRe={G:new vMe,y:new BMe,Y:new wMe,R:new bMe,u:new xMe,Q:new CMe,q:new DMe,M:new SMe,L:new FMe,w:new IMe,I:new PMe,d:new UMe,D:new QMe,E:new LMe,e:new MMe,c:new RMe,i:new HMe,a:new jMe,b:new KMe,B:new WMe,h:new VMe,H:new zMe,K:new GMe,k:new YMe,m:new XMe,s:new ZMe,S:new qMe,X:new JMe,x:new eRe,t:new uRe,T:new tRe},nRe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iRe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ERe=/^'([^]*?)'?$/,oRe=/''/g,aRe=/\S/,sRe=/[a-zA-Z]/;function O3(e,u,t,r){var h,w,m,g,v,d,y,b;const n=pMe(),i=(r==null?void 0:r.locale)??n.locale??S6,E=(r==null?void 0:r.firstWeekContainsDate)??((w=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:w.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(m=n.locale)==null?void 0:m.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((d=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((b=(y=n.locale)==null?void 0:y.options)==null?void 0:b.weekStartsOn)??0;if(u==="")return e===""?me(t):ru(t,NaN);const a={firstWeekContainsDate:E,weekStartsOn:o,locale:i},s=[new yMe],A=u.match(iRe).map(C=>{const S=C[0];if(S in V1){const F=V1[S];return F(C,i.formatLong)}return C}).join("").match(nRe),c=[];for(let C of A){!(r!=null&&r.useAdditionalWeekYearTokens)&&O6(C)&&Zy(C,u,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&P6(C)&&Zy(C,u,e);const S=C[0],F=rRe[S];if(F){const{incompatibleTokens:I}=F;if(Array.isArray(I)){const X=c.find(J=>I.includes(J.token)||J.token===S);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${C}\` at the same time`)}else if(F.incompatibleTokens==="*"&&c.length>0)throw new RangeError(`The format string mustn't contain \`${C}\` and any other token at the same time`);c.push({token:S,fullToken:C});const R=F.run(e,C,i.match,a);if(!R)return ru(t,NaN);s.push(R.setter),e=R.rest}else{if(S.match(sRe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");if(C==="''"?C="'":S==="'"&&(C=ARe(C)),e.indexOf(C)===0)e=e.slice(C.length);else return ru(t,NaN)}}if(e.length>0&&aRe.test(e))return ru(t,NaN);const l=s.map(C=>C.priority).sort((C,S)=>S-C).filter((C,S,F)=>F.indexOf(C)===S).map(C=>s.filter(S=>S.priority===C).sort((S,F)=>F.subPriority-S.subPriority)).map(C=>C[0]);let f=me(t);if(isNaN(f.getTime()))return ru(t,NaN);const p={};for(const C of l){if(!C.validate(f,a))return ru(t,NaN);const S=C.set(f,p,a);Array.isArray(S)?(f=S[0],Object.assign(p,S[1])):f=S}return ru(t,f)}function ARe(e){return e.match(ERe)[1].replace(oRe,"'")}function cRe(e,u){const r=pRe(e);let n;if(r.date){const a=hRe(r.date,2);n=mRe(a.restDateString,a.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);const i=n.getTime();let E=0,o;if(r.time&&(E=gRe(r.time),isNaN(E)))return new Date(NaN);if(r.timezone){if(o=yRe(r.timezone),isNaN(o))return new Date(NaN)}else{const a=new Date(i+E),s=new Date(0);return s.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),s.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),s}return new Date(i+E+o)}const Df={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},lRe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,fRe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,dRe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function pRe(e){const u={},t=e.split(Df.dateTimeDelimiter);let r;if(t.length>2)return u;if(/:/.test(t[0])?r=t[0]:(u.date=t[0],r=t[1],Df.timeZoneDelimiter.test(u.date)&&(u.date=e.split(Df.timeZoneDelimiter)[0],r=e.substr(u.date.length,e.length))),r){const n=Df.timezone.exec(r);n?(u.time=r.replace(n[1],""),u.timezone=n[1]):u.time=r}return u}function hRe(e,u){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+u)+"})|(\\d{2}|[+-]\\d{"+(2+u)+"})$)"),r=e.match(t);if(!r)return{year:NaN,restDateString:""};const n=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?n:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function mRe(e,u){if(u===null)return new Date(NaN);const t=e.match(lRe);if(!t)return new Date(NaN);const r=!!t[4],n=Gs(t[1]),i=Gs(t[2])-1,E=Gs(t[3]),o=Gs(t[4]),a=Gs(t[5])-1;if(r)return xRe(u,o,a)?vRe(u,o,a):new Date(NaN);{const s=new Date(0);return!wRe(u,i,E)||!bRe(u,n)?new Date(NaN):(s.setUTCFullYear(u,i,Math.max(n,E)),s)}}function Gs(e){return e?parseInt(e):1}function gRe(e){const u=e.match(fRe);if(!u)return NaN;const t=k3(u[1]),r=k3(u[2]),n=k3(u[3]);return CRe(t,r,n)?t*r4+r*t4+n*1e3:NaN}function k3(e){return e&&parseFloat(e.replace(",","."))||0}function yRe(e){if(e==="Z")return 0;const u=e.match(dRe);if(!u)return 0;const t=u[1]==="+"?-1:1,r=parseInt(u[2]),n=u[3]&&parseInt(u[3])||0;return DRe(r,n)?t*(r*r4+n*t4):NaN}function vRe(e,u,t){const r=new Date(0);r.setUTCFullYear(e,0,4);const n=r.getUTCDay()||7,i=(u-1)*7+t+1-n;return r.setUTCDate(r.getUTCDate()+i),r}const BRe=[31,null,31,30,31,30,31,31,30,31,30,31];function $6(e){return e%400===0||e%4===0&&e%100!==0}function wRe(e,u,t){return u>=0&&u<=11&&t>=1&&t<=(BRe[u]||($6(e)?29:28))}function bRe(e,u){return u>=1&&u<=($6(e)?366:365)}function xRe(e,u,t){return u>=1&&u<=53&&t>=0&&t<=6}function CRe(e,u,t){return e===24?u===0&&t===0:t>=0&&t<60&&u>=0&&u<60&&e>=0&&e<25}function DRe(e,u){return u>=0&&u<=59}function SRe(e,u){return m7(e,u*1e3)}function tv(e,u,t){const r=xr(e,t),n=xr(u,t);return+r==+n}function FRe(e,u){let t=me(e);
1051return isNaN(+t)?ru(e,NaN):(u.year!=null&&t.setFullYear(u.year),u.month!=null&&(t=Yt(t,u.month)),u.date!=null&&t.setDate(u.date),u.hours!=null&&t.setHours(u.hours),u.minutes!=null&&t.setMinutes(u.minutes),u.seconds!=null&&t.setSeconds(u.seconds),u.milliseconds!=null&&t.setMilliseconds(u.milliseconds),t)}function _Re(e,u){e.prototype=Object.create(u.prototype),e.prototype.constructor=e,rv(e,u)}function rv(e,u){return rv=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},rv(e,u)}function IRe(e,u){if(e==null)return{};var t={},r=Object.keys(e),n,i;for(i=0;i<r.length;i++)n=r[i],!(u.indexOf(n)>=0)&&(t[n]=e[n]);return t}function QF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TRe(e,u,t){return e===u?!0:e.correspondingElement?e.correspondingElement.classList.contains(t):e.classList.contains(t)}function PRe(e,u,t){if(e===u)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&TRe(e,u,t))return!0;e=e.parentNode||e.host}return e}function ORe(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}var kRe=function(){if(!(typeof window>"u"||typeof window.addEventListener!="function")){var u=!1,t=Object.defineProperty({},"passive",{get:function(){u=!0}}),r=function(){};return window.addEventListener("testPassiveEventSupport",r,t),window.removeEventListener("testPassiveEventSupport",r,t),u}};function URe(e){return e===void 0&&(e=0),function(){return++e}}var QRe=URe(),nv,Sf={},U3={},LRe=["touchstart","touchmove"],MRe="ignore-react-onclickoutside";function LF(e,u){var t={},r=LRe.indexOf(u)!==-1;return r&&nv&&(t.passive=!e.props.preventDefault),t}function i4(e,u){var t,r,n=e.displayName||e.name||"Component";return r=t=function(i){_Re(E,i);function E(a){var s;return s=i.call(this,a)||this,s.__outsideClickHandler=function(A){if(typeof s.__clickOutsideHandlerProp=="function"){s.__clickOutsideHandlerProp(A);return}var c=s.getInstance();if(typeof c.props.handleClickOutside=="function"){c.props.handleClickOutside(A);return}if(typeof c.handleClickOutside=="function"){c.handleClickOutside(A);return}throw new Error("WrappedComponent: "+n+" lacks a handleClickOutside(event) function for processing outside click events.")},s.__getComponentNode=function(){var A=s.getInstance();return typeof A.setClickOutsideRef=="function"?A.setClickOutsideRef():Za.findDOMNode(A)},s.enableOnClickOutside=function(){if(!(typeof document>"u"||U3[s._uid])){typeof nv>"u"&&(nv=kRe()),U3[s._uid]=!0;var A=s.props.eventTypes;A.forEach||(A=[A]),Sf[s._uid]=function(c){if(s.componentNode!==null&&!(s.initTimeStamp>c.timeStamp)&&(s.props.preventDefault&&c.preventDefault(),s.props.stopPropagation&&c.stopPropagation(),!(s.props.excludeScrollbar&&ORe(c)))){var l=c.composed&&c.composedPath&&c.composedPath().shift()||c.target;PRe(l,s.componentNode,s.props.outsideClickIgnoreClass)===document&&s.__outsideClickHandler(c)}},A.forEach(function(c){document.addEventListener(c,Sf[s._uid],LF(QF(s),c))})}},s.disableOnClickOutside=function(){delete U3[s._uid];var A=Sf[s._uid];if(A&&typeof document<"u"){var c=s.props.eventTypes;c.forEach||(c=[c]),c.forEach(function(l){return document.removeEventListener(l,A,LF(QF(s),l))}),delete Sf[s._uid]}},s.getRef=function(A){return s.instanceRef=A},s._uid=QRe(),s.initTimeStamp=performance.now(),s}var o=E.prototype;return o.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var s=this.instanceRef;return s.getInstance?s.getInstance():s},o.componentDidMount=function(){typeof document>"u"||!document.createElement||(this.getInstance(),this.componentNode=this.__getComponentNode(),!this.props.disableOnClickOutside&&this.enableOnClickOutside())},o.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},o.componentWillUnmount=function(){this.disableOnClickOutside()},o.render=function(){var s=this.props;s.excludeScrollbar;var A=IRe(s,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?A.ref=this.getRef:A.wrappedRef=this.getRef,A.disableOnClickOutside=this.disableOnClickOutside,A.enableO
vendor: 4,938 bytes, line 1051
1051nClickOutside=this.enableOnClickOutside,Q.createElement(e,A)},E}(Q.Component),t.displayName="OnClickOutside("+n+")",t.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:!1,outsideClickIgnoreClass:MRe,preventDefault:!1,stopPropagation:!1},t.getClass=function(){return e.getClass?e.getClass():e},r}function E4(){return typeof window<"u"}function Ds(e){return H6(e)?(e.nodeName||"").toLowerCase():"#document"}function P0(e){var u;return(e==null||(u=e.ownerDocument)==null?void 0:u.defaultView)||window}function sn(e){var u;return(u=(H6(e)?e.ownerDocument:e.document)||window.document)==null?void 0:u.documentElement}function H6(e){return E4()?e instanceof Node||e instanceof P0(e).Node:!1}function Jt(e){return E4()?e instanceof Element||e instanceof P0(e).Element:!1}function kn(e){return E4()?e instanceof HTMLElement||e instanceof P0(e).HTMLElement:!1}function MF(e){return!E4()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P0(e).ShadowRoot}function tl(e){const{overflow:u,overflowX:t,overflowY:r,display:n}=nr(e);return/auto|scroll|overlay|hidden|clip/.test(u+r+t)&&n!=="inline"&&n!=="contents"}function RRe(e){return/^(table|td|th)$/.test(Ds(e))}function o4(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const NRe=/transform|translate|scale|rotate|perspective|filter/,$Re=/paint|layout|strict|content/,qi=e=>!!e&&e!=="none";let Q3;function B7(e){const u=Jt(e)?nr(e):e;return qi(u.transform)||qi(u.translate)||qi(u.scale)||qi(u.rotate)||qi(u.perspective)||!w7()&&(qi(u.backdropFilter)||qi(u.filter))||NRe.test(u.willChange||"")||$Re.test(u.contain||"")}function HRe(e){let u=ki(e);for(;kn(u)&&!$a(u);){if(B7(u))return u;if(o4(u))return null;u=ki(u)}return null}function w7(){return Q3==null&&(Q3=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Q3}function $a(e){return/^(html|body|#document)$/.test(Ds(e))}function nr(e){return P0(e).getComputedStyle(e)}function a4(e){return Jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ki(e){if(Ds(e)==="html")return e;const u=e.assignedSlot||e.parentNode||MF(e)&&e.host||sn(e);return MF(u)?u.host:u}function j6(e){const u=ki(e);return $a(u)?e.ownerDocument?e.ownerDocument.body:e.body:kn(u)&&tl(u)?u:j6(u)}function wc(e,u,t){var r;u===void 0&&(u=[]),t===void 0&&(t=!0);const n=j6(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),E=P0(n);if(i){const o=iv(E);return u.concat(E,E.visualViewport||[],tl(n)?n:[],o&&t?wc(o):[])}else return u.concat(n,wc(n,[],t))}function iv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Ha=Math.min,OE=Math.max,q1=Math.round,Ff=Math.floor,en=e=>({x:e,y:e}),jRe={left:"right",right:"left",bottom:"top",top:"bottom"};function KRe(e,u,t){return OE(e,Ha(u,t))}function s4(e,u){return typeof e=="function"?e(u):e}function ja(e){return e.split("-")[0]}function rl(e){return e.split("-")[1]}function WRe(e){return e==="x"?"y":"x"}function b7(e){return e==="y"?"height":"width"}function vE(e){const u=e[0];return u==="t"||u==="b"?"y":"x"}function x7(e){return WRe(vE(e))}function VRe(e,u,t){t===void 0&&(t=!1);const r=rl(e),n=x7(e),i=b7(n);let E=n==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return u.reference[i]>u.floating[i]&&(E=J1(E)),[E,J1(E)]}function zRe(e){const u=J1(e);return[Ev(e),u,Ev(u)]}function Ev(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const RF=["left","right"],NF=["right","left"],GRe=["top","bottom"],YRe=["bottom","top"];function XRe(e,u,t){switch(e){case"top":case"bottom":return t?u?NF:RF:u?RF:NF;case"left":case"right":return u?GRe:YRe;default:return[]}}function ZRe(e,u,t,r){const n=rl(e);let i=XRe(ja(e),t==="start",r);return n&&(i=i.map(E=>E+"-"+n),u&&(i=i.concat(i.map(Ev)))),i}function J1(e){const u=ja(e);return jRe[u]+e.slice(u.length)}function qRe(e){return{top:0,right:0,bottom:0,left:0,...e}}function K6(e){return typeof e!="number"?qRe(e):{top:e,right:e,bottom:e,left:e}}function e2(e){const{x:u,y:t,width:r,height:n}=e;return{width:r,height:n,top:t,left:u,right:u+r,bottom:t+n,x:u,y:t}}function $F(e,u,t){let{reference:r,floating:n}=e;const i=vE(u),E=x7(u),o=b7(E),a=ja(u),s=i==="y",A=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2,l=r[o]/2-n[o]/2;let f;switch(a){case"top":f={x:A,y:r.y-n.height};break;case"bottom":f={x:A,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-n.width,y:c};break;default:f={x:r.x,y:r.y}}switch(rl(u)){case"start":f[E]-=l*(t&&s?-1:1);break;case"end":f[E]+=l*(t&&s?-1:1);break}return f}async function JRe(e,u){var t;u===void 0&&(u={});const{x:r,y:n,platform:i,rects:E,elements:o,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:A="viewport",elementContext:c="floating",altBoundary:l=!1,padding:f=0}=s4(u,e),p=K6(f),w=o[l?c==="floating"?"reference":"floating":c],m=e2(await i.getClippingRect
vendor: 4,201 bytes, line 1051
1051({element:(t=await(i.isElement==null?void 0:i.isElement(w)))==null||t?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:s,rootBoundary:A,strategy:a})),g=c==="floating"?{x:r,y:n,width:E.floating.width,height:E.floating.height}:E.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),d=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},y=e2(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:v,strategy:a}):g);return{top:(m.top-y.top+p.top)/d.y,bottom:(y.bottom-m.bottom+p.bottom)/d.y,left:(m.left-y.left+p.left)/d.x,right:(y.right-m.right+p.right)/d.x}}const eNe=50,uNe=async(e,u,t)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:E}=t,o=E.detectOverflow?E:{...E,detectOverflow:JRe},a=await(E.isRTL==null?void 0:E.isRTL(u));let s=await E.getElementRects({reference:e,floating:u,strategy:n}),{x:A,y:c}=$F(s,r,a),l=r,f=0;const p={};for(let h=0;h<i.length;h++){const w=i[h];if(!w)continue;const{name:m,fn:g}=w,{x:v,y:d,data:y,reset:b}=await g({x:A,y:c,initialPlacement:r,placement:l,strategy:n,middlewareData:p,rects:s,platform:o,elements:{reference:e,floating:u}});A=v??A,c=d??c,p[m]={...p[m],...y},b&&f<eNe&&(f++,typeof b=="object"&&(b.placement&&(l=b.placement),b.rects&&(s=b.rects===!0?await E.getElementRects({reference:e,floating:u,strategy:n}):b.rects),{x:A,y:c}=$F(s,l,a)),h=-1)}return{x:A,y:c,placement:l,strategy:n,middlewareData:p}},tNe=e=>({name:"arrow",options:e,async fn(u){const{x:t,y:r,placement:n,rects:i,platform:E,elements:o,middlewareData:a}=u,{element:s,padding:A=0}=s4(e,u)||{};if(s==null)return{};const c=K6(A),l={x:t,y:r},f=x7(n),p=b7(f),h=await E.getDimensions(s),w=f==="y",m=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",d=i.reference[p]+i.reference[f]-l[f]-i.floating[p],y=l[f]-i.reference[f],b=await(E.getOffsetParent==null?void 0:E.getOffsetParent(s));let C=b?b[v]:0;(!C||!await(E.isElement==null?void 0:E.isElement(b)))&&(C=o.floating[v]||i.floating[p]);const S=d/2-y/2,F=C/2-h[p]/2-1,I=Ha(c[m],F),R=Ha(c[g],F),X=I,J=C-h[p]-R,ee=C/2-h[p]/2+S,L=KRe(X,ee,J),j=!a.arrow&&rl(n)!=null&&ee!==L&&i.reference[p]/2-(ee<X?I:R)-h[p]/2<0,ue=j?ee<X?ee-X:ee-J:0;return{[f]:l[f]+ue,data:{[f]:L,centerOffset:ee-L-ue,...j&&{alignmentOffset:ue}},reset:j}}}),rNe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(u){var t,r;const{placement:n,middlewareData:i,rects:E,initialPlacement:o,platform:a,elements:s}=u,{mainAxis:A=!0,crossAxis:c=!0,fallbackPlacements:l,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=s4(e,u);if((t=i.arrow)!=null&&t.alignmentOffset)return{};const m=ja(n),g=vE(o),v=ja(o)===o,d=await(a.isRTL==null?void 0:a.isRTL(s.floating)),y=l||(v||!h?[J1(o)]:zRe(o)),b=p!=="none";!l&&b&&y.push(...ZRe(o,h,p,d));const C=[o,...y],S=await a.detectOverflow(u,w),F=[];let I=((r=i.flip)==null?void 0:r.overflows)||[];if(A&&F.push(S[m]),c){const ee=VRe(n,E,d);F.push(S[ee[0]],S[ee[1]])}if(I=[...I,{placement:n,overflows:F}],!F.every(ee=>ee<=0)){var R,X;const ee=(((R=i.flip)==null?void 0:R.index)||0)+1,L=C[ee];if(L&&(!(c==="alignment"?g!==vE(L):!1)||I.every(N=>vE(N.placement)===g?N.overflows[0]>0:!0)))return{data:{index:ee,overflows:I},reset:{placement:L}};let j=(X=I.filter(ue=>ue.overflows[0]<=0).sort((ue,N)=>ue.overflows[1]-N.overflows[1])[0])==null?void 0:X.placement;if(!j)switch(f){case"bestFit":{var J;const ue=(J=I.filter(N=>{if(b){const Z=vE(N.placement);return Z===g||Z==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(Z=>Z>0).reduce((Z,q)=>Z+q,0)]).sort((N,Z)=>N[1]-Z[1])[0])==null?void 0:J[0];ue&&(j=ue);break}case"initialPlacement":j=o;break}if(n!==j)return{reset:{placement:j}}}return{}}}},nNe=new Set(["left","top"]);async function iNe(e,u){const{placement:t,platform:r,elements:n}=e,i=await(r.isRTL==null?void 0:r.isRTL(n.floating)),E=ja(t),o=rl(t),a=vE(t)==="y",s=nNe.has(E)?-1:1,A=i&&a?-1:1,c=s4(u,e);let{mainAxis:l,crossAxis:f,alignmentAxis:p}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}
vendor: 9,060 bytes, line 1051
1051:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return o&&typeof p=="number"&&(f=o==="end"?p*-1:p),a?{x:f*A,y:l*s}:{x:l*s,y:f*A}}const ENe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(u){var t,r;const{x:n,y:i,placement:E,middlewareData:o}=u,a=await iNe(u,e);return E===((t=o.offset)==null?void 0:t.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:n+a.x,y:i+a.y,data:{...a,placement:E}}}}};function W6(e){const u=nr(e);let t=parseFloat(u.width)||0,r=parseFloat(u.height)||0;const n=kn(e),i=n?e.offsetWidth:t,E=n?e.offsetHeight:r,o=q1(t)!==i||q1(r)!==E;return o&&(t=i,r=E),{width:t,height:r,$:o}}function C7(e){return Jt(e)?e:e.contextElement}function ha(e){const u=C7(e);if(!kn(u))return en(1);const t=u.getBoundingClientRect(),{width:r,height:n,$:i}=W6(u);let E=(i?q1(t.width):t.width)/r,o=(i?q1(t.height):t.height)/n;return(!E||!Number.isFinite(E))&&(E=1),(!o||!Number.isFinite(o))&&(o=1),{x:E,y:o}}const oNe=en(0);function V6(e){const u=P0(e);return!w7()||!u.visualViewport?oNe:{x:u.visualViewport.offsetLeft,y:u.visualViewport.offsetTop}}function aNe(e,u,t){return u===void 0&&(u=!1),!t||u&&t!==P0(e)?!1:u}function XE(e,u,t,r){u===void 0&&(u=!1),t===void 0&&(t=!1);const n=e.getBoundingClientRect(),i=C7(e);let E=en(1);u&&(r?Jt(r)&&(E=ha(r)):E=ha(e));const o=aNe(i,t,r)?V6(i):en(0);let a=(n.left+o.x)/E.x,s=(n.top+o.y)/E.y,A=n.width/E.x,c=n.height/E.y;if(i){const l=P0(i),f=r&&Jt(r)?P0(r):r;let p=l,h=iv(p);for(;h&&r&&f!==p;){const w=ha(h),m=h.getBoundingClientRect(),g=nr(h),v=m.left+(h.clientLeft+parseFloat(g.paddingLeft))*w.x,d=m.top+(h.clientTop+parseFloat(g.paddingTop))*w.y;a*=w.x,s*=w.y,A*=w.x,c*=w.y,a+=v,s+=d,p=P0(h),h=iv(p)}}return e2({width:A,height:c,x:a,y:s})}function A4(e,u){const t=a4(e).scrollLeft;return u?u.left+t:XE(sn(e)).left+t}function z6(e,u){const t=e.getBoundingClientRect(),r=t.left+u.scrollLeft-A4(e,t),n=t.top+u.scrollTop;return{x:r,y:n}}function sNe(e){let{elements:u,rect:t,offsetParent:r,strategy:n}=e;const i=n==="fixed",E=sn(r),o=u?o4(u.floating):!1;if(r===E||o&&i)return t;let a={scrollLeft:0,scrollTop:0},s=en(1);const A=en(0),c=kn(r);if((c||!c&&!i)&&((Ds(r)!=="body"||tl(E))&&(a=a4(r)),c)){const f=XE(r);s=ha(r),A.x=f.x+r.clientLeft,A.y=f.y+r.clientTop}const l=E&&!c&&!i?z6(E,a):en(0);return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+A.x+l.x,y:t.y*s.y-a.scrollTop*s.y+A.y+l.y}}function ANe(e){return Array.from(e.getClientRects())}function cNe(e){const u=sn(e),t=a4(e),r=e.ownerDocument.body,n=OE(u.scrollWidth,u.clientWidth,r.scrollWidth,r.clientWidth),i=OE(u.scrollHeight,u.clientHeight,r.scrollHeight,r.clientHeight);let E=-t.scrollLeft+A4(e);const o=-t.scrollTop;return nr(r).direction==="rtl"&&(E+=OE(u.clientWidth,r.clientWidth)-n),{width:n,height:i,x:E,y:o}}const HF=25;function lNe(e,u){const t=P0(e),r=sn(e),n=t.visualViewport;let i=r.clientWidth,E=r.clientHeight,o=0,a=0;if(n){i=n.width,E=n.height;const A=w7();(!A||A&&u==="fixed")&&(o=n.offsetLeft,a=n.offsetTop)}const s=A4(r);if(s<=0){const A=r.ownerDocument,c=A.body,l=getComputedStyle(c),f=A.compatMode==="CSS1Compat"&&parseFloat(l.marginLeft)+parseFloat(l.marginRight)||0,p=Math.abs(r.clientWidth-c.clientWidth-f);p<=HF&&(i-=p)}else s<=HF&&(i+=s);return{width:i,height:E,x:o,y:a}}function fNe(e,u){const t=XE(e,!0,u==="fixed"),r=t.top+e.clientTop,n=t.left+e.clientLeft,i=kn(e)?ha(e):en(1),E=e.clientWidth*i.x,o=e.clientHeight*i.y,a=n*i.x,s=r*i.y;return{width:E,height:o,x:a,y:s}}function jF(e,u,t){let r;if(u==="viewport")r=lNe(e,t);else if(u==="document")r=cNe(sn(e));else if(Jt(u))r=fNe(u,t);else{const n=V6(e);r={x:u.x-n.x,y:u.y-n.y,width:u.width,height:u.height}}return e2(r)}function G6(e,u){const t=ki(e);return t===u||!Jt(t)||$a(t)?!1:nr(t).position==="fixed"||G6(t,u)}function dNe(e,u){const t=u.get(e);if(t)return t;let r=wc(e,[],!1).filter(o=>Jt(o)&&Ds(o)!=="body"),n=null;const i=nr(e).position==="fixed";let E=i?ki(e):e;for(;Jt(E)&&!$a(E);){const o=nr(E),a=B7(E);!a&&o.position==="fixed"&&(n=null),(i?!a&&!n:!a&&o.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||tl(E)&&!a&&G6(e,E))?r=r.filter(A=>A!==E):n=o,E=ki(E)}return u.set(e,r),r}function pNe(e){let{element:u,boundary:t,rootBoundary:r,strategy:n}=e;const E=[...t==="clippingAncestors"?o4(u)?[]:dNe(u,this._c):[].concat(t),r],o=jF(u,E[0],n);let a=o.top,s=o.right,A=o.bottom,c=o.left;for(let l=1;l<E.length;l++){const f=jF(u,E[l],n);a=OE(f.top,a),s=Ha(f.right,s),A=Ha(f.bottom,A),c=OE(f.left,c)}return{width:s-c,height:A-a,x:c,y:a}}function hNe(e){const{width:u,height:t}=W6(e);return{width:u,height:t}}function mNe(e,u,t){const r=kn(u),n=sn(u),i=t==="fixed",E=XE(e,!0,i,u);let o={scrollLeft:0,scrollTop:0};const a=en(0);function s(){a.x=A4(n)}if(r||!r&&!i)if((Ds(u)!=="body"||tl(n))&&(o=a4(u)),r){const f=XE(u,!0,i,u);a.x=f.x+u.clientLeft,a.y=f.y+u.clientTop}else n&&s();i&&!r&&n&&s();const A=n&&!r&&!i?z6(n,o):en(0),c=E.left+o.scrollLeft-a.x-A.x,l=E.top+o.scrollTop-a.y-A.y;return{x:c,y:l,width:E.width,height:E.height}}function L3(e){return nr(e).position==="static"}function KF(e,u){if(!kn(e)||nr(e).position==="fixed")return null;if(u)return u(e);let t=e.offsetParent;return sn(e)===t&&(t=t.ownerDocument.body),t}function Y6(e,u){const t=P0(e);if(o4(e))return t;if(!kn(e)){let n=ki(e);for(;n&&!$a(n);){if(Jt(n)&&!L3(n))return n;n=ki(n)}return t}let r=KF(e,u);for(;r&&RRe(r)&&L3(r);)r=KF(r,u);return r&&$a(r)&&L3(r)&&!B7(r)?t:r||HRe(e)||t}const gNe=async function(e){const u=this.getOffsetParent||Y6,t=this.getDimensions,r=await t(e.floating);return{reference:mNe(e.reference,await u(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yNe(e){return nr(e).direction==="rtl"}const vNe={convertOffsetParentRelativeRectToViewportRelativeRect:sNe,getDocumentElement:sn,getClippingRect:pNe,getOffsetParent:Y6,getElementRects:gNe,getClientRects:ANe,getDimensions:hNe,getScale:ha,isElement:Jt,isRTL:yNe};function X6(e,u){return e.x===u.x&&e.y===u.y&&e.width===u.width&&e.height===u.height}function BNe(e,u){let t=null,r;const n=sn(e);function i(){var o;clearTimeout(r),(o=t)==null||o.disconnect(),t=null}function E(o,a){o===void 0&&(o=!1),a===void 0&&(a=1),i();const s=e.getBoundingClientRect(),{left:A,top:c,width:l,height:f}=s;if(o||u(),!l||!f)return;const p=Ff(c),h=Ff(n.clientWidth-(A+l)),w=Ff(n.clientHeight-(c+f)),m=Ff(A),v={rootMargin:-p+"px "+-h+"px "+-w+"px "+-m+"px",threshold:OE(0,Ha(1,a))||1};let d=!0;function y(b){const C=b[0].intersectionRatio;if(C!==a){if(!d)return E();C?E(!1,C):r=setTimeout(()=>{E(!1,1e-7)},1e3)}C===1&&!X6(s,e.getBoundingClientRect())&&E(),d=!1}try{t=new IntersectionObserver(y,{...v,root:n.ownerDocument})}catch{t=new IntersectionObserver(y,v)}t.observe(e)}return E(!0),i}function wNe(e,u,t,r){r===void 0&&(r={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:E=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,s=C7(e),A=n||i?[...s?wc(s):[],...u?wc(u):[]]:[];A.forEach(m=>{n&&m.addEventListener("scroll",t,{passive:!0}),i&&m.addEventListener("resize",t)});const c=s&&o?BNe(s,t):null;let l=-1,f=null;E&&(f=new ResizeObserver(m=>{let[g]=m;g&&g.target===s&&f&&u&&(f.unobserve(u),cancelAnimationFrame(l),l=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(u)})),t()}),s&&!a&&f.observe(s),u&&f.observe(u));let p,h=a?XE(e):null;a&&w();function w(){const m=XE(e);h&&!X6(h,m)&&t(),h=m,p=requestAnimationFrame(w)}return t(),()=>{var m;A.forEach(g=>{n&&g.removeEventListener("scroll",t),i&&g.removeEventListener("resize",t)}),c==null||c(),(m=f)==null||m.disconnect(),f=null,a&&cancelAnimationFrame(p)}}const bNe=ENe,xNe=rNe,WF=tNe,CNe=(e,u,t)=>{const r=new Map,n={platform:vNe,...t},i={...n.platform,_c:r};return uNe(e,u,{...n,platform:i})};var DNe=typeof document<"u",SNe=function(){},bd=DNe?Q.useLayoutEffect:SNe;function u2(e,u){if(e===u)return!0;if(typeof e!=typeof u)return!1;if(typeof e=="function"&&e.toString()===u.toString())return!0;let t,r,n;if(e&&u&&typeof e=="object"){if(Array.isArray(e)){if(t=e.length,t!==u.length)return!1;for(r=t;r--!==0;)if(!u2(e[r],u[r]))return!1;return!0}if(n=Object.keys(e),t=n.length,t!==Object.keys(u).length)return!1;for(r=t;r--!==0;)if(!{}.hasOwnProperty.call(u,n[r]))return!1;for(r=t;r--!==0;){const i=n[r];if(!(i==="_owner"&&e.$$typeof)&&!u2(e[i],u[i]))return!1}return!0}return e!==e&&u!==u}function Z6(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function VF(e,u){const t=Z6(e);return Math.round(u*t)/t}function M3(e){const u=Q.useRef(e);return bd(()=>{u.current=e}),u}function FNe(e){e===void 0&&(e={});const{placement:u="bottom",strategy:t="absolute",middleware:r=[],platform:n,elements:{reference:i,floating:E}={},transform:o=!0,whileElementsMounted:a,open:s}=e,[A,c]=Q.useState({x:0,y:0,strategy:t,placement:u,middlewareData:{},isPositioned:!1}),[l,f]=Q.useState(r);u2(l,r)||f(r);const[p,h]=Q.useState(null),[w,m]=Q.useState(null),g=Q.useCallback(N=>{N!==b.current&&(b.current=N,h(N))},[]),v=Q.useCallback(N=>{N!==C.current&&(C.current=N,m(N))}
vendor: 5,067 bytes, line 1051
1051,[]),d=i||p,y=E||w,b=Q.useRef(null),C=Q.useRef(null),S=Q.useRef(A),F=a!=null,I=M3(a),R=M3(n),X=M3(s),J=Q.useCallback(()=>{if(!b.current||!C.current)return;const N={placement:u,strategy:t,middleware:l};R.current&&(N.platform=R.current),CNe(b.current,C.current,N).then(Z=>{const q={...Z,isPositioned:X.current!==!1};ee.current&&!u2(S.current,q)&&(S.current=q,Za.flushSync(()=>{c(q)}))})},[l,u,t,R,X]);bd(()=>{s===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,c(N=>({...N,isPositioned:!1})))},[s]);const ee=Q.useRef(!1);bd(()=>(ee.current=!0,()=>{ee.current=!1}),[]),bd(()=>{if(d&&(b.current=d),y&&(C.current=y),d&&y){if(I.current)return I.current(d,y,J);J()}},[d,y,J,I,F]);const L=Q.useMemo(()=>({reference:b,floating:C,setReference:g,setFloating:v}),[g,v]),j=Q.useMemo(()=>({reference:d,floating:y}),[d,y]),ue=Q.useMemo(()=>{const N={position:t,left:0,top:0};if(!j.floating)return N;const Z=VF(j.floating,A.x),q=VF(j.floating,A.y);return o?{...N,transform:"translate("+Z+"px, "+q+"px)",...Z6(j.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:Z,top:q}},[t,o,j.floating,A.x,A.y]);return Q.useMemo(()=>({...A,update:J,refs:L,elements:j,floatingStyles:ue}),[A,J,L,j,ue])}const _Ne=e=>{function u(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:e,fn(t){const{element:r,padding:n}=typeof e=="function"?e(t):e;return r&&u(r)?r.current!=null?WF({element:r.current,padding:n}).fn(t):{}:r?WF({element:r,padding:n}).fn(t):{}}}},INe=(e,u)=>{const t=bNe(e);return{name:t.name,fn:t.fn,options:[e,u]}},TNe=(e,u)=>{const t=xNe(e);return{name:t.name,fn:t.fn,options:[e,u]}},PNe=(e,u)=>{const t=_Ne(e);return{name:t.name,fn:t.fn,options:[e,u]}},q6={...I_},ONe=q6.useInsertionEffect,kNe=ONe||(e=>e());function UNe(e){const u=Q.useRef(()=>{});return kNe(()=>{u.current=e}),Q.useCallback(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return u.current==null?void 0:u.current(...r)},[])}var t2=typeof document<"u"?Q.useLayoutEffect:Q.useEffect;function ov(){return ov=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ov.apply(this,arguments)}let zF=!1,QNe=0;const GF=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+QNe++;function LNe(){const[e,u]=Q.useState(()=>zF?GF():void 0);return t2(()=>{e==null&&u(GF())},[]),Q.useEffect(()=>{zF=!0},[]),e}const MNe=q6.useId,J6=MNe||LNe,RNe=Q.forwardRef(function(u,t){const{context:{placement:r,elements:{floating:n},middlewareData:{arrow:i,shift:E}},width:o=14,height:a=7,tipRadius:s=0,strokeWidth:A=0,staticOffset:c,stroke:l,d:f,style:{transform:p,...h}={},...w}=u,m=J6(),[g,v]=Q.useState(!1);if(t2(()=>{if(!n)return;nr(n).direction==="rtl"&&v(!0)},[n]),!n)return null;const[d,y]=r.split("-"),b=d==="top"||d==="bottom";let C=c;(b&&E!=null&&E.x||!b&&E!=null&&E.y)&&(C=null);const S=A*2,F=S/2,I=o/2*(s/-8+1),R=a/2*s/4,X=!!f,J=C&&y==="end"?"bottom":"top";let ee=C&&y==="end"?"right":"left";C&&g&&(ee=y==="end"?"left":"right");const L=(i==null?void 0:i.x)!=null?C||i.x:"",j=(i==null?void 0:i.y)!=null?C||i.y:"",ue=f||"M0,0"+(" H"+o)+(" L"+(o-I)+","+(a-R))+(" Q"+o/2+","+a+" "+I+","+(a-R))+" Z",N={top:X?"rotate(180deg)":"",left:X?"rotate(90deg)":"rotate(-90deg)",bottom:X?"":"rotate(180deg)",right:X?"rotate(-90deg)":"rotate(90deg)"}[d];return Q.createElement("svg",ov({},w,{"aria-hidden":!0,ref:t,width:X?o:o+S,height:o,viewBox:"0 0 "+o+" "+(a>o?a:o),style:{position:"absolute",pointerEvents:"none",[ee]:L,[J]:j,[d]:b||X?"100%":"calc(100% - "+S/2+"px)",transform:[N,p].filter(Z=>!!Z).join(" "),...h}}),S>0&&Q.createElement("path",{clipPath:"url(#"+m+")",fill:"none",stroke:l,strokeWidth:S+(f?0:1),d:ue}),Q.createElement("path",{stroke:S&&!f?w.fill:"none",d:ue}),Q.createElement("clipPath",{id:m},Q.createElement("rect",{x:-F,y:F*(X?-1:1),width:o+S,height:o})))});function NNe(){const e=new Map;return{emit(u,t){var r;(r=e.get(u))==null||r.forEach(n=>n(t))},on(u,t){e.set(u,[...e.get(u)||[],t])},off(u,t){var r;e.set(u,((r=e.get(u))==null?void 0:r.filter(n=>n!==t))||[])}}}const $Ne=Q.createContext(null),HNe=Q.createContext(null),jNe=()=>{var e;return((e=Q.useContext($Ne))==null?void 0:e.id)||null},KNe=()=>Q.useContext(HNe);function WNe(e){const{open:u=!1,onOpenChange:t,elements:r}=e,n=J6(),i=Q.useRef({}),[E]=Q.useState(()=>NNe()),o=jNe()!=null,[a,s]=Q.useState(r.reference),A=UNe((f,p,h)=>{i.current.openEvent=f?p:void 0,E.emit("openchange",{open:f,event:p,reason:h,nested:o}),t==null||t(f,p,h)}),c=Q.useMemo(()=>({setPositionReference:s}),[]),l=Q.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return Q.useMemo(()=>({dataRef:i,open:u,onOpenChange:A,elements:l,events:E,floatingId:n,refs:c}),[u,A,l,E,n,c])}function VNe(e){e===void 0&&(e={});const{nodeId:u}=e,t=WNe({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||t,n=r.elements,[i,E]=Q.useState(null),[o,a]=Q.useState(null),A=(n==null?void 0:n.domReference)||i,c=
1051Q.useRef(null),l=KNe();t2(()=>{A&&(c.current=A)},[A]);const f=FNe({...e,elements:{...n,...o&&{reference:o}}}),p=Q.useCallback(v=>{const d=Jt(v)?{getBoundingClientRect:()=>v.getBoundingClientRect(),contextElement:v}:v;a(d),f.refs.setReference(d)},[f.refs]),h=Q.useCallback(v=>{(Jt(v)||v===null)&&(c.current=v,E(v)),(Jt(f.refs.reference.current)||f.refs.reference.current===null||v!==null&&!Jt(v))&&f.refs.setReference(v)},[f.refs]),w=Q.useMemo(()=>({...f.refs,setReference:h,setPositionReference:p,domReference:c}),[f.refs,h,p]),m=Q.useMemo(()=>({...f.elements,domReference:A}),[f.elements,A]),g=Q.useMemo(()=>({...f,...r,refs:w,elements:m,nodeId:u}),[f,w,m,u,r]);return t2(()=>{r.dataRef.current.floatingContext=g;const v=l==null?void 0:l.nodesRef.current.find(d=>d.id===u);v&&(v.context=g)}),Q.useMemo(()=>({...f,context:g,refs:w,elements:m}),[f,w,m,g])}/*!
1052  react-datepicker v6.9.0
1053  https://github.com/Hacker0x01/react-datepicker
1054  Released under the MIT License.
1055*/function mt(e,u,t){return u=r2(u),YNe(e,e$()?Reflect.construct(u,t||[],r2(e).constructor):u.apply(e,t))}function e$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(e$=function(){return!!e})()}function YF(e,u){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function gn(e){for(var u=1;u<arguments.length;u++){var t=arguments[u]!=null?arguments[u]:{};u%2?YF(Object(t),!0).forEach(function(r){P(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YF(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function zNe(e,u){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,u);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function u$(e){var u=zNe(e,"string");return typeof u=="symbol"?u:u+""}function av(e){"@babel/helpers - typeof";return av=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},av(e)}function gt(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function XF(e,u){for(var t=0;t<u.length;t++){var r=u[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u$(r.key),r)}}function yt(e,u,t){return u&&XF(e.prototype,u),t&&XF(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function P(e,u,t){return u=u$(u),u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var t=arguments[u];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},bc.apply(this,arguments)}function vt(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),u&&sv(e,u)}function r2(e){return r2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r2(e)}function sv(e,u){return sv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},sv(e,u)}function GNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YNe(e,u){if(u&&(typeof u=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return GNe(e)}function Ui(e){return XNe(e)||ZNe(e)||qNe(e)||JNe()}function XNe(e){if(Array.isArray(e))return Av(e)}function ZNe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qNe(e,u){if(e){if(typeof e=="string")return Av(e,u);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Av(e,u)}}function Av(e,u){(u==null||u>e.length)&&(u=e.length);for(var t=0,r=new Array(u);t<u;t++)r[t]=e[t];return r}function JNe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1056In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var nl=12,e6e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function nu(e){var u=e?typeof e=="string"||e instanceof String?cRe(e):me(e):new Date;return Vn(u)?u:null}function u6e(e,u,t,r,n){var i=null,E=Ci(t)||Ci(kE()),o=!0;return Array.isArray(u)?(u.forEach(function(a){var s=O3(e,a,new Date,{locale:E,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(o=Vn(s,n)&&e===vu(s,a,t)),Vn(s,n)&&o&&(i=s)}),i):(i=O3(e,u,new Date,{locale:E,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r?o=Vn(i)&&e===vu(i,u,t):Vn(i)||(u=u.match(e6e).map(function(a){var s=a[0];if(s==="p"||s==="P"){var A=V1[s];return E?A(a,E.formatLong):s}return a}).join(""),e.length>0&&(i=O3(e,u.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),Vn(i)||(i=new Date(e))),Vn(i)&&o?i:null)}function Vn(e,u){return u=u||new Date("1/1/1000"),yc(e)&&!YE(e,u)}function vu(e,u,t){if(t==="en")return TF(e,u,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=Ci(t);return t&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(t,'"].')),!r&&kE()&&Ci(kE())&&(r=Ci(kE())),TF(e,u,{locale:r||null,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function W0(e,u){var t=u.dateFormat,r=u.locale;return e&&vu(e,Array.isArray(t)?t[0]:t,r)||""}function t6e(e,u,t){if(!e)return"";var r=W0(e,t),n=u?W0(u,t):"";return"".concat(r," - ").concat(n)}function r6e(e,u){if(!(e!=null&&e.length))return"";var t=W0(e[0],u);if(e.length===1)return t;if(e.length===2){var r=W0(e[1],u);return"".concat(t,", ").concat(r)}var n=e.length-1;return"".concat(t," (+").concat(n,")")}function R3(e,u){var t=u.hour,r=t===void 0?0:t,n=u.minute,i=n===void 0?0:n,E=u.second,o=E===void 0?0:E;return wd(Bd(vd(e,o),i),r)}function n6e(e,u){return kE()&&Ci(kE()),p7(e)}function i6e(e,u){return vu(e,"ddd",u)}function E6e(e){return Zr(e)}function bi(e,u,t){var r=Ci(u||kE());return xr(e,{locale:r,weekStartsOn:t})}function xi(e){return U6(e)}function fA(e){return n4(e)}function ZF(e){return ev(e)}function qF(){return Zr(nu())}function o6e(e){return aMe(e)}function Nr(e,u){return e&&u?fMe(e,u):!e&&!u}function S0(e,u){return e&&u?lMe(e,u):!e&&!u}function n2(e,u){return e&&u?dMe(e,u):!e&&!u}function qe(e,u){return e&&u?cMe(e,u):!e&&!u}function BE(e,u){return e&&u?AMe(e,u):!e&&!u}function dA(e,u,t){var r,n=Zr(u),i=uv(t);try{r=Bc(e,{start:n,end:i})}catch{r=!1}return r}function lGe(e,u){var t=typeof window<"u"?window:globalThis;t.__localeData__||(t.__localeData__={}),t.__localeData__[e]=u}function fGe(e){var u=typeof window<"u"?window:globalThis;u.__localeId__=e}function kE(){var e=typeof window<"u"?window:globalThis;return e.__localeId__}function Ci(e){if(typeof e=="string"){var u=typeof window<"u"?window:globalThis;return u.__localeData__?u.__localeData__[e]:null}else return e}function a6e(e,u,t){return u(vu(e,"EEEE",t))}function s6e(e,u){return vu(e,"EEEEEE",u)}function A6e(e,u){return vu(e,"EEE",u)}function D7(e,u){return vu(Yt(nu(),e),"LLLL",u)}function t$(e,u){return vu(Yt(nu(),e),"LLL",u)}function c6e(e,u){return vu(Qo(nu(),e),"QQQ",u)}function c4(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.maxDate,n=u.excludeDates,i=u.excludeDateIntervals,E=u.includeDates,o=u.includeDateIntervals,a=u.filterDate;return l4(e,{minDate:t,maxDate:r})||n&&n.some(function(s){return qe(e,s.date?s.date:s)})||i&&i.some(function(s){var A=s.start,c=s.end;return Bc(e,{start:A,end:c})}
1056)||E&&!E.some(function(s){return qe(e,s)})||o&&!o.some(function(s){var A=s.start,c=s.end;return Bc(e,{start:A,end:c})})||a&&!a(nu(e))||!1}function S7(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.excludeDates,r=u.excludeDateIntervals;return r&&r.length>0?r.some(function(n){var i=n.start,E=n.end;return Bc(e,{start:i,end:E})}):t&&t.some(function(n){return qe(e,n.date?n.date:n)})||!1}function xd(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.maxDate,n=u.excludeDates,i=u.includeDates,E=u.filterDate;return l4(e,{minDate:U6(t),maxDate:sMe(r)})||n&&n.some(function(o){return S0(e,o)})||i&&!i.some(function(o){return S0(e,o)})||E&&!E(nu(e))||!1}function _f(e,u,t,r){var n=Oe(e),i=qt(e),E=Oe(u),o=qt(u),a=Oe(r);if(n===E&&n===a)return i<=t&&t<=o;if(n<E)return a===n&&i<=t||a===E&&o>=t||a<E&&a>n}function N3(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.maxDate,n=u.excludeDates,i=u.includeDates,E=u.filterDate;return l4(e,{minDate:t,maxDate:r})||n&&n.some(function(o){return n2(e,o)})||i&&!i.some(function(o){return n2(e,o)})||E&&!E(nu(e))||!1}function If(e,u,t){if(!yc(u)||!yc(t))return!1;var r=Oe(u),n=Oe(t);return r<=e&&n>=e}function r$(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.maxDate,n=u.excludeDates,i=u.includeDates,E=u.filterDate,o=new Date(e,0,1);return l4(o,{minDate:n4(t),maxDate:Q6(r)})||n&&n.some(function(a){return Nr(o,a)})||i&&!i.some(function(a){return Nr(o,a)})||E&&!E(nu(o))||!1}function Tf(e,u,t,r){var n=Oe(e),i=PE(e),E=Oe(u),o=PE(u),a=Oe(r);if(n===E&&n===a)return i<=t&&t<=o;if(n<E)return a===n&&i<=t||a===E&&o>=t||a<E&&a>n}function l4(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.maxDate;return t&&vc(e,t)<0||r&&vc(e,r)>0}function JF(e,u){return u.some(function(t){return Jr(t)===Jr(e)&&qr(t)===qr(e)&&bn(t)===bn(e)})}function e_(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.excludeTimes,r=u.includeTimes,n=u.filterTime;return t&&JF(e,t)||r&&!JF(e,r)||n&&!n(e)||!1}function u_(e,u){var t=u.minTime,r=u.maxTime;if(!t||!r)throw new Error("Both minTime and maxTime props required");var n=nu();n=wd(n,Jr(e)),n=Bd(n,qr(e)),n=vd(n,bn(e));var i=nu();i=wd(i,Jr(t)),i=Bd(i,qr(t)),i=vd(i,bn(t));var E=nu();E=wd(E,Jr(r)),E=Bd(E,qr(r)),E=vd(E,bn(r));var o;try{o=!Bc(n,{start:i,end:E})}catch{o=!1}return o}function t_(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.includeDates,n=Ra(e,1);return t&&G1(t,n)>0||r&&r.every(function(i){return G1(i,n)>0})||!1}function r_(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.maxDate,r=u.includeDates,n=Cr(e,1);return t&&G1(n,t)>0||r&&r.every(function(i){return G1(n,i)>0})||!1}function l6e(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.includeDates,n=n4(e),i=k6(n);return t&&X1(t,i)>0||r&&r.every(function(E){return X1(E,i)>0})||!1}function f6e(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.maxDate,r=u.includeDates,n=Q6(e),i=g7(n,1);return t&&X1(i,t)>0||r&&r.every(function(E){return X1(i,E)>0})||!1}function n_(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.includeDates,n=Na(e,1);return t&&Y1(t,n)>0||r&&r.every(function(i){return Y1(i,n)>0})||!1}function d6e(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.minDate,r=u.yearItemNumber,n=r===void 0?nl:r,i=fA(Na(e,n)),E=ri(i,n),o=E.endPeriod,a=t&&Oe(t);return a&&a>o||!1}function i_(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.maxDate,r=u.includeDates,n=wn(e,1);return t&&Y1(n,t)>0||r&&r.every(function(i){return Y1(n,i)>0})||!1}function p6e(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=u.maxDate,r=u.yearItemNumber,n=r===void 0?nl:r,i=wn(e,n),E=ri(i,n),o=E.startPeriod,a=t&&Oe(t);return a&&a<o||!1}function n$(e){var u=e.minDate,t=e.includeDates;if(t&&u){var r=t.filter(function(n){return vc(n,u)>=0});return kF(r)}else return t?kF(t):u}function i$(e){var u=e.maxDate,t=e.includeDates;
1056if(t&&u){var r=t.filter(function(n){return vc(n,u)<=0});return UF(r)}else return t?UF(t):u}function E_(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"react-datepicker__day--highlighted",t=new Map,r=0,n=e.length;r<n;r++){var i=e[r];if(GE(i)){var E=vu(i,"MM.dd.yyyy"),o=t.get(E)||[];o.includes(u)||(o.push(u),t.set(E,o))}else if(av(i)==="object"){var a=Object.keys(i),s=a[0],A=i[a[0]];if(typeof s=="string"&&A.constructor===Array)for(var c=0,l=A.length;c<l;c++){var f=vu(A[c],"MM.dd.yyyy"),p=t.get(f)||[];p.includes(s)||(p.push(s),t.set(f,p))}}}return t}function h6e(e,u){return e.length!==u.length?!1:e.every(function(t,r){return t===u[r]})}function m6e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"react-datepicker__day--holidays",t=new Map;return e.forEach(function(r){var n=r.date,i=r.holidayName;if(GE(n)){var E=vu(n,"MM.dd.yyyy"),o=t.get(E)||{};if(!("className"in o&&o.className===u&&h6e(o.holidayNames,[i]))){o.className=u;var a=o.holidayNames;o.holidayNames=a?[].concat(Ui(a),[i]):[i],t.set(E,o)}}}),t}function g6e(e,u,t,r,n){for(var i=n.length,E=[],o=0;o<i;o++){var a=e;a=nMe(a,Jr(n[o])),a=qy(a,qr(n[o])),a=SRe(a,bn(n[o]));var s=qy(e,(t+1)*r);Oi(a,u)&&YE(a,s)&&E.push(n[o])}return E}function o_(e){return e<10?"0".concat(e):"".concat(e)}function ri(e){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nl,t=Math.ceil(Oe(e)/u)*u,r=t-(u-1);return{startPeriod:r,endPeriod:t}}function y6e(e){var u=new Date(e.getFullYear(),e.getMonth(),e.getDate()),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+t-+u)/36e5)}function a_(e){var u=e.getSeconds(),t=e.getMilliseconds();return me(e.getTime()-u*1e3-t)}function v6e(e,u){return a_(e).getTime()===a_(u).getTime()}function s_(e){if(!GE(e))throw new Error("Invalid date");var u=new Date(e);return u.setHours(0,0,0,0),u}function A_(e,u){if(!GE(e)||!GE(u))throw new Error("Invalid date received");var t=s_(e),r=s_(u);return YE(t,r)}function E$(e){var u=" ";return e.key===u}function B6e(e,u,t,r){for(var n=[],i=0;i<2*u+1;i++){var E=e+u-i,o=!0;t&&(o=Oe(t)<=E),r&&o&&(o=Oe(r)>=E),o&&n.push(E)}return n}var w6e=function(e){function u(t){var r;gt(this,u),r=mt(this,u,[t]),P(r,"renderOptions",function(){var o=r.props.year,a=r.state.yearsList.map(function(c){return $.createElement("div",{className:o===c?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:c,onClick:r.onChange.bind(r,c),"aria-selected":o===c?"true":void 0},o===c?$.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",c)}),s=r.props.minDate?Oe(r.props.minDate):null,A=r.props.maxDate?Oe(r.props.maxDate):null;return(!A||!r.state.yearsList.find(function(c){return c===A}))&&a.unshift($.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},$.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!s||!r.state.yearsList.find(function(c){return c===s}))&&a.push($.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},$.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),a}),P(r,"onChange",function(o){r.props.onChange(o)}),P(r,"handleClickOutside",function(){r.props.onCancel()}),P(r,"shiftYears",function(o){var a=r.state.yearsList.map(function(s){return s+o});r.setState({yearsList:a})}),P(r,"incrementYears",function(){return r.shiftYears(1)}),P(r,"decrementYears",function(){return r.shiftYears(-1)});var n=t.yearDropdownItemNumber,i=t.scrollableYearDropdown,E=n||(i?10:5);return r.state={yearsList:B6e(r.props.year,E,r.props.minDate,r.props.maxDate)},r.dropdownRef=Q.createRef(),r}return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){var r=this.dropdownRef.current;if(r){var n=r.children?Array.from(r.children):null,i=n?n.find(function(E){return E.ariaSelected}):null;r.scrollTop=i?i.offsetTop+(i.clientHeight-r.clientHeight)/2:(r.scrollHeight-r.clientHeight)/2}}},{key:"render",value:function(){var r=Dt({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return $.createElement("div",{className:r,ref:this.dropdownRef},this.renderOptions())}}])}($.Component),b6e=i4(w6e),x6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"state",{dropdownVisible:!1}
1056),P(t,"renderSelectOptions",function(){for(var E=t.props.minDate?Oe(t.props.minDate):1900,o=t.props.maxDate?Oe(t.props.maxDate):2100,a=[],s=E;s<=o;s++)a.push($.createElement("option",{key:s,value:s},s));return a}),P(t,"onSelectChange",function(E){t.onChange(E.target.value)}),P(t,"renderSelectMode",function(){return $.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())}),P(t,"renderReadView",function(E){return $.createElement("div",{key:"read",style:{visibility:E?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(a){return t.toggleDropdown(a)}},$.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),$.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))}),P(t,"renderDropdown",function(){return $.createElement(b6e,{key:"dropdown",year:t.props.year,onChange:t.onChange,onCancel:t.toggleDropdown,minDate:t.props.minDate,maxDate:t.props.maxDate,scrollableYearDropdown:t.props.scrollableYearDropdown,yearDropdownItemNumber:t.props.yearDropdownItemNumber})}),P(t,"renderScrollMode",function(){var E=t.state.dropdownVisible,o=[t.renderReadView(!E)];return E&&o.unshift(t.renderDropdown()),o}),P(t,"onChange",function(E){t.toggleDropdown(),E!==t.props.year&&t.props.onChange(E)}),P(t,"toggleDropdown",function(E){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,E)})}),P(t,"handleYearChange",function(E,o){t.onSelect(E,o),t.setOpen()}),P(t,"onSelect",function(E,o){t.props.onSelect&&t.props.onSelect(E,o)}),P(t,"setOpen",function(){t.props.setOpen&&t.props.setOpen(!0)}),t}return vt(u,e),yt(u,[{key:"render",value:function(){var r;switch(this.props.dropdownMode){case"scroll":r=this.renderScrollMode();break;case"select":r=this.renderSelectMode();break}return $.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},r)}}])}($.Component),C6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"isSelectedMonth",function(E){return t.props.month===E}),P(t,"renderOptions",function(){return t.props.monthNames.map(function(E,o){return $.createElement("div",{className:t.isSelectedMonth(o)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:E,onClick:t.onChange.bind(t,o),"aria-selected":t.isSelectedMonth(o)?"true":void 0},t.isSelectedMonth(o)?$.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",E)})}),P(t,"onChange",function(E){return t.props.onChange(E)}),P(t,"handleClickOutside",function(){return t.props.onCancel()}),t}return vt(u,e),yt(u,[{key:"render",value:function(){return $.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}])}($.Component),D6e=i4(C6e),S6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"state",{dropdownVisible:!1}),P(t,"renderSelectOptions",function(E){return E.map(function(o,a){return $.createElement("option",{key:a,value:a},o)})}),P(t,"renderSelectMode",function(E){return $.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(a){return t.onChange(a.target.value)}},t.renderSelectOptions(E))}),P(t,"renderReadView",function(E,o){return $.createElement("div",{key:"read",style:{visibility:E?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},$.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),$.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},o[t.props.month]))}),P(t,"renderDropdown",function(E){return $.createElement(D6e,{key:"dropdown",month:t.props.month,monthNames:E,onChange:t.onChange,onCancel:t.toggleDropdown})}
1056),P(t,"renderScrollMode",function(E){var o=t.state.dropdownVisible,a=[t.renderReadView(!o,E)];return o&&a.unshift(t.renderDropdown(E)),a}),P(t,"onChange",function(E){t.toggleDropdown(),E!==t.props.month&&t.props.onChange(E)}),P(t,"toggleDropdown",function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})}),t}return vt(u,e),yt(u,[{key:"render",value:function(){var r=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(E){return t$(E,r.props.locale)}:function(E){return D7(E,r.props.locale)}),i;switch(this.props.dropdownMode){case"scroll":i=this.renderScrollMode(n);break;case"select":i=this.renderSelectMode(n);break}return $.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},i)}}])}($.Component);function F6e(e,u){for(var t=[],r=xi(e),n=xi(u);!Oi(r,n);)t.push(nu(r)),r=Cr(r,1);return t}var _6e=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"renderOptions",function(){return r.state.monthYearsList.map(function(n){var i=Jy(n),E=Nr(r.props.date,n)&&S0(r.props.date,n);return $.createElement("div",{className:E?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:i,onClick:r.onChange.bind(r,i),"aria-selected":E?"true":void 0},E?$.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",vu(n,r.props.dateFormat,r.props.locale))})}),P(r,"onChange",function(n){return r.props.onChange(n)}),P(r,"handleClickOutside",function(){r.props.onCancel()}),r.state={monthYearsList:F6e(r.props.minDate,r.props.maxDate)},r}return vt(u,e),yt(u,[{key:"render",value:function(){var r=Dt({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return $.createElement("div",{className:r},this.renderOptions())}}])}($.Component),I6e=i4(_6e),T6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"state",{dropdownVisible:!1}),P(t,"renderSelectOptions",function(){for(var E=xi(t.props.minDate),o=xi(t.props.maxDate),a=[];!Oi(E,o);){var s=Jy(E);a.push($.createElement("option",{key:s,value:s},vu(E,t.props.dateFormat,t.props.locale))),E=Cr(E,1)}return a}),P(t,"onSelectChange",function(E){t.onChange(E.target.value)}),P(t,"renderSelectMode",function(){return $.createElement("select",{value:Jy(xi(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())}),P(t,"renderReadView",function(E){var o=vu(t.props.date,t.props.dateFormat,t.props.locale);return $.createElement("div",{key:"read",style:{visibility:E?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(s){return t.toggleDropdown(s)}},$.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),$.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},o))}),P(t,"renderDropdown",function(){return $.createElement(I6e,{key:"dropdown",date:t.props.date,dateFormat:t.props.dateFormat,onChange:t.onChange,onCancel:t.toggleDropdown,minDate:t.props.minDate,maxDate:t.props.maxDate,scrollableMonthYearDropdown:t.props.scrollableMonthYearDropdown,locale:t.props.locale})}),P(t,"renderScrollMode",function(){var E=t.state.dropdownVisible,o=[t.renderReadView(!E)];return E&&o.unshift(t.renderDropdown()),o}),P(t,"onChange",function(E){t.toggleDropdown();var o=nu(parseInt(E));Nr(t.props.date,o)&&S0(t.props.date,o)||t.props.onChange(o)}),P(t,"toggleDropdown",function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})}),t}return vt(u,e),yt(u,[{key:"render",value:function(){var r;switch(this.props.dropdownMode){case"scroll":r=this.renderScrollMode();break;case"select":r=this.renderSelectMode();break}return $.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},r)}}])}($.Component),P6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"dayEl",$.createRef()),P(t,"handleClick",function(E){!t.isDisabled()&&t.props.onClick&&t.props.onClick(E)}),P(t,"handleMouseEnter",function(E){!t.isDisabled()&&t.props.onMouseEnter&&t.props.onMouseEnter(E)}),P(t,"handleOnKeyDown",function(E){var o=E.key;o===" "&&(E.preventDefault(),E.key="Enter"),t.props.handleOnKeyDown(E)}),P(t,"isSameDay",function(E){return qe(t.props.day,E)}),P(t,"isKeyboardSelected",function(){var E;if(t.props.disabledKeyboardNavigation)return!1;var o=t.props.selectsMultiple?(E=t.props.selectedDates)===null||E===void 0?void 0:E.some(function(a){return t.isSameDayOrWeek(a)}):t.isSameDayOrWeek(t.props.selected);return!o&&t.isSameDayOrWeek(t.props.preSelection)}),P(t,"isDisabled",function(){return c4(t.props.day,t.props)}),P(t,"isExcluded",function(){return S7(t.props.day,t.props)}),P(t,"isStartOfWeek",function(){return qe(t.props.day,bi(t.props.day,t.props.locale,t.props.calendarStartDay))}),P(t,"isSameWeek",function(E){return t.props.showWeekPicker&&qe(E,bi(t.props.day,t.props.locale,t.props.calendarStartDay))}),P(t,"isSameDayOrWeek",function(E){return t.isSameDay(E)||t.isSameWeek(E)}),P(t,"getHighLightedClass",function(){var E=t.props,o=E.day,a=E.highlightDates;if(!a)return!1;var s=vu(o,"MM.dd.yyyy");return a.get(s)}),P(t,"getHolidaysClass",function(){var E=t.props,o=E.day,a=E.holidays;if(!a)return!1;var s=vu(o,"MM.dd.yyyy");
1056if(a.has(s))return[a.get(s).className]}),P(t,"isInRange",function(){var E=t.props,o=E.day,a=E.startDate,s=E.endDate;return!a||!s?!1:dA(o,a,s)}),P(t,"isInSelectingRange",function(){var E,o=t.props,a=o.day,s=o.selectsStart,A=o.selectsEnd,c=o.selectsRange,l=o.selectsDisabledDaysInRange,f=o.startDate,p=o.endDate,h=(E=t.props.selectingDate)!==null&&E!==void 0?E:t.props.preSelection;return!(s||A||c)||!h||!l&&t.isDisabled()?!1:s&&p&&(YE(h,p)||BE(h,p))?dA(a,h,p):A&&f&&(Oi(h,f)||BE(h,f))||c&&f&&!p&&(Oi(h,f)||BE(h,f))?dA(a,f,h):!1}),P(t,"isSelectingRangeStart",function(){var E;if(!t.isInSelectingRange())return!1;var o=t.props,a=o.day,s=o.startDate,A=o.selectsStart,c=(E=t.props.selectingDate)!==null&&E!==void 0?E:t.props.preSelection;return A?qe(a,c):qe(a,s)}),P(t,"isSelectingRangeEnd",function(){var E;if(!t.isInSelectingRange())return!1;var o=t.props,a=o.day,s=o.endDate,A=o.selectsEnd,c=o.selectsRange,l=(E=t.props.selectingDate)!==null&&E!==void 0?E:t.props.preSelection;return A||c?qe(a,l):qe(a,s)}),P(t,"isRangeStart",function(){var E=t.props,o=E.day,a=E.startDate,s=E.endDate;return!a||!s?!1:qe(a,o)}),P(t,"isRangeEnd",function(){var E=t.props,o=E.day,a=E.startDate,s=E.endDate;return!a||!s?!1:qe(s,o)}),P(t,"isWeekend",function(){var E=EMe(t.props.day);return E===0||E===6}),P(t,"isAfterMonth",function(){return t.props.month!==void 0&&(t.props.month+1)%12===qt(t.props.day)}),P(t,"isBeforeMonth",function(){return t.props.month!==void 0&&(qt(t.props.day)+1)%12===t.props.month}),P(t,"isCurrentDay",function(){return t.isSameDay(nu())}),P(t,"isSelected",function(){if(t.props.selectsMultiple){var E;return(E=t.props.selectedDates)===null||E===void 0?void 0:E.some(function(o){return t.isSameDayOrWeek(o)})}return t.isSameDayOrWeek(t.props.selected)}),P(t,"getClassNames",function(E){var o=t.props.dayClassName?t.props.dayClassName(E):void 0;return Dt("react-datepicker__day",o,"react-datepicker__day--"+i6e(t.props.day),{"react-datepicker__day--disabled":t.isDisabled(),"react-datepicker__day--excluded":t.isExcluded(),"react-datepicker__day--selected":t.isSelected(),"react-datepicker__day--keyboard-selected":t.isKeyboardSelected(),"react-datepicker__day--range-start":t.isRangeStart(),"react-datepicker__day--range-end":t.isRangeEnd(),"react-datepicker__day--in-range":t.isInRange(),"react-datepicker__day--in-selecting-range":t.isInSelectingRange(),"react-datepicker__day--selecting-range-start":t.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":t.isSelectingRangeEnd(),"react-datepicker__day--today":t.isCurrentDay(),"react-datepicker__day--weekend":t.isWeekend(),"react-datepicker__day--outside-month":t.isAfterMonth()||t.isBeforeMonth()},t.getHighLightedClass("react-datepicker__day--highlighted"),t.getHolidaysClass())}),P(t,"getAriaLabel",function(){var E=t.props,o=E.day,a=E.ariaLabelPrefixWhenEnabled,s=a===void 0?"Choose":a,A=E.ariaLabelPrefixWhenDisabled,c=A===void 0?"Not available":A,l=t.isDisabled()||t.isExcluded()?c:s;return"".concat(l," ").concat(vu(o,"PPPP",t.props.locale))}),P(t,"getTitle",function(){var E=t.props,o=E.day,a=E.holidays,s=a===void 0?new Map:a,A=E.excludeDates,c=vu(o,"MM.dd.yyyy"),l=[];return s.has(c)&&l.push.apply(l,Ui(s.get(c).holidayNames)),t.isExcluded()&&l.push(A==null?void 0:A.filter(function(f){return qe(f.date?f.date:f,o)}).map(function(f){return f.message})),l.join(", ")}),P(t,"getTabIndex",function(E,o){var a=E||t.props.selected,s=o||t.props.preSelection,A=!(t.props.showWeekPicker&&(t.props.showWeekNumber||!t.isStartOfWeek()))&&(t.isKeyboardSelected()||t.isSameDay(a)&&qe(s,a))?0:-1;return A}),P(t,"handleFocusDay",function(){var E,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=!1;t.getTabIndex()===0&&!o.isInputFocused&&t.isSameDay(t.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(a=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(a=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(a=!0),t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()&&(a=!1),t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()&&(a=!1)),a&&((E=t.dayEl.current)===null||E===void 0||E.focus({preventScroll:!0}))}),P(t,"renderDayContents",function(){return t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()||t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()?null:t.props.renderDayContents?t.props.renderDayContents(OF(t.props.day),t.props.day):OF(t.props.day)}),P(t,"render",function(){return $.createElement("div",{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.props.usePointerEvent?void 0:t.handleMouseEnter,onPointerEnter:t.props.usePointerEvent?t.handleMouseEnter:void 0,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:"option",title:t.getTitle(),"aria-disabled":t.isDisabled(),"aria-current":t.isCurrentDay()?"date":void 0,"aria-selected":t.isSelected()||t.isInRange()},t.renderDayContents(),t.getTitle()!==""&&$.createElement("span",{className:"overlay"},t.getTitle()))}),t}
1056return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(r){this.handleFocusDay(r)}}])}($.Component),O6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"weekNumberEl",$.createRef()),P(t,"handleClick",function(E){t.props.onClick&&t.props.onClick(E)}),P(t,"handleOnKeyDown",function(E){var o=E.key;o===" "&&(E.preventDefault(),E.key="Enter"),t.props.handleOnKeyDown(E)}),P(t,"isKeyboardSelected",function(){return!t.props.disabledKeyboardNavigation&&!qe(t.props.date,t.props.selected)&&qe(t.props.date,t.props.preSelection)}),P(t,"getTabIndex",function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||qe(t.props.date,t.props.selected)&&qe(t.props.preSelection,t.props.selected))?0:-1}),P(t,"handleFocusWeekNumber",function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=!1;t.getTabIndex()===0&&!E.isInputFocused&&qe(t.props.date,t.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(o=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(o=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(o=!0)),o&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})}),t}return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(r){this.handleFocusWeekNumber(r)}},{key:"render",value:function(){var r=this.props,n=r.weekNumber,i=r.ariaLabelPrefix,E=i===void 0?"week ":i,o=r.onClick,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!o,"react-datepicker__week-number--selected":!!o&&qe(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return $.createElement("div",{ref:this.weekNumberEl,className:Dt(a),"aria-label":"".concat(E," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},n)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}])}($.Component),k6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"handleDayClick",function(E,o){t.props.onDayClick&&t.props.onDayClick(E,o)}),P(t,"handleDayMouseEnter",function(E){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(E)}),P(t,"handleWeekClick",function(E,o,a){typeof t.props.onWeekSelect=="function"&&t.props.onWeekSelect(E,o,a),t.props.showWeekPicker&&t.handleDayClick(E,a),t.props.shouldCloseOnSelect&&t.props.setOpen(!1)}),P(t,"formatWeekNumber",function(E){return t.props.formatWeekNumber?t.props.formatWeekNumber(E):n6e(E)}),P(t,"renderDays",function(){var E=t.startOfWeek(),o=[],a=t.formatWeekNumber(E);if(t.props.showWeekNumber){var s=t.props.onWeekSelect||t.props.showWeekPicker?t.handleWeekClick.bind(t,E,a):void 0;o.push($.createElement(O6e,{key:"W",weekNumber:a,date:E,onClick:s,selected:t.props.selected,preSelection:t.props.preSelection,ariaLabelPrefix:t.props.ariaLabelPrefix,showWeekPicker:t.props.showWeekPicker,showWeekNumber:t.props.showWeekNumber,disabledKeyboardNavigation:t.props.disabledKeyboardNavigation,handleOnKeyDown:t.props.handleOnKeyDown,isInputFocused:t.props.isInputFocused,containerRef:t.props.containerRef}))}return o.concat([0,1,2,3,4,5,6].map(function(A){var c=Yi(E,A);return $.createElement(P6e,{ariaLabelPrefixWhenEnabled:t.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:t.props.disabledDayAriaLabelPrefix,key:c.valueOf(),day:c,month:t.props.month,onClick:t.handleDayClick.bind(t,c),usePointerEvent:t.props.usePointerEvent,onMouseEnter:t.handleDayMouseEnter.bind(t,c),minDate:t.props.minDate,maxDate:t.props.maxDate,calendarStartDay:t.props.calendarStartDay,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDates:t.props.includeDates,includeDateIntervals:t.props.includeDateIntervals,highlightDates:t.props.highlightDates,holidays:t.props.holidays,selectingDate:t.props.selectingDate,filterDate:t.props.filterDate,preSelection:t.props.preSelection,selected:t.props.selected,selectsStart:t.props.selectsStart,selectsEnd:t.props.selectsEnd,selectsRange:t.props.selectsRange,showWeekPicker:t.props.showWeekPicker,showWeekNumber:t.props.showWeekNumber,selectsDisabledDaysInRange:t.props.selectsDisabledDaysInRange,selectsMultiple:t.props.selectsMultiple,selectedDates:t.props.selectedDates,startDate:t.props.startDate,endD
1056ate:t.props.endDate,dayClassName:t.props.dayClassName,renderDayContents:t.props.renderDayContents,disabledKeyboardNavigation:t.props.disabledKeyboardNavigation,handleOnKeyDown:t.props.handleOnKeyDown,isInputFocused:t.props.isInputFocused,containerRef:t.props.containerRef,inline:t.props.inline,shouldFocusDayInline:t.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:t.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:t.props.monthShowsDuplicateDaysStart,locale:t.props.locale})}))}),P(t,"startOfWeek",function(){return bi(t.props.day,t.props.locale,t.props.calendarStartDay)}),P(t,"isKeyboardSelected",function(){return!t.props.disabledKeyboardNavigation&&!qe(t.startOfWeek(),t.props.selected)&&qe(t.startOfWeek(),t.props.preSelection)}),t}return vt(u,e),yt(u,[{key:"render",value:function(){var r={"react-datepicker__week":!0,"react-datepicker__week--selected":qe(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return $.createElement("div",{className:Dt(r)},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}])}($.Component),U6e=6,ma={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},$3=P(P(P({},ma.TWO_COLUMNS,{grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2}),ma.THREE_COLUMNS,{grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3}),ma.FOUR_COLUMNS,{grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4}),Pf=1;function c_(e,u){return e?ma.FOUR_COLUMNS:u?ma.TWO_COLUMNS:ma.THREE_COLUMNS}var Q6e=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"MONTH_REFS",Ui(Array(12)).map(function(){return $.createRef()})),P(t,"QUARTER_REFS",Ui(Array(4)).map(function(){return $.createRef()})),P(t,"isDisabled",function(E){return c4(E,t.props)}),P(t,"isExcluded",function(E){return S7(E,t.props)}),P(t,"handleDayClick",function(E,o){t.props.onDayClick&&t.props.onDayClick(E,o,t.props.orderInDisplay)}),P(t,"handleDayMouseEnter",function(E){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(E)}),P(t,"handleMouseLeave",function(){t.props.onMouseLeave&&t.props.onMouseLeave()}),P(t,"isRangeStartMonth",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate;return!s||!A?!1:S0(Yt(a,E),s)}),P(t,"isRangeStartQuarter",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate;return!s||!A?!1:n2(Qo(a,E),s)}),P(t,"isRangeEndMonth",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate;return!s||!A?!1:S0(Yt(a,E),A)}),P(t,"isRangeEndQuarter",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate;return!s||!A?!1:n2(Qo(a,E),A)}),P(t,"isInSelectingRangeMonth",function(E){var o,a=t.props,s=a.day,A=a.selectsStart,c=a.selectsEnd,l=a.selectsRange,f=a.startDate,p=a.endDate,h=(o=t.props.selectingDate)!==null&&o!==void 0?o:t.props.preSelection;return!(A||c||l)||!h?!1:A&&p?_f(h,p,E,s):c&&f||l&&f&&!p?_f(f,h,E,s):!1}),P(t,"isSelectingMonthRangeStart",function(E){var o;if(!t.isInSelectingRangeMonth(E))return!1;var a=t.props,s=a.day,A=a.startDate,c=a.selectsStart,l=Yt(s,E),f=(o=t.props.selectingDate)!==null&&o!==void 0?o:t.props.preSelection;return c?S0(l,f):S0(l,A)}),P(t,"isSelectingMonthRangeEnd",function(E){var o;if(!t.isInSelectingRangeMonth(E))return!1;var a=t.props,s=a.day,A=a.endDate,c=a.selectsEnd,l=a.selectsRange,f=Yt(s,E),p=(o=t.props.selectingDate)!==null&&o!==void 0?o:t.props.preSelection;return c||l?S0(f,p):S0(f,A)}),P(t,"isInSelectingRangeQuarter",function(E){var o,a=t.props,s=a.day,A=a.selectsStart,c=a.selectsEnd,l=a.selectsRange,f=a.startDate,p=a.endDate,h=(o=t.props.selectingDate)!==null&&o!==void 0?o:t.props.preSelection;return!(A||c||l)||!h?!1:A&&p?Tf(h,p,E,s):c&&f||l&&f&&!p?Tf(f,h,E,s):!1}),P(t,"isWeekInMonth",function(E){var o=t.props.day,a=Yi(E,6);return S0(E,o)||S0(a,o)}),P(t,"isCurrentMonth",function(E,o){return Oe(E)===Oe(nu())&&o===qt(nu())}),P(t,"isCurrentQuarter",function(E,o){return Oe(E)===Oe(nu())&&o===PE(nu())}),P(t,"isSelectedMonth",function(E,o,a){return qt(a)===o&&Oe(E)===Oe(a)}),P(t,"isSelectedQuarter",function(E,o,a){return PE(E)===o&&Oe(E)===Oe(a)}),P(t,"renderWeeks",function(){for(var E=[],o=t.props.fixedHeight,a=0,s=!1,A=bi(xi(t.props.day),t.props.locale,t.props.calendarStartDay),c=t.props.showWeekPicker?bi(t.props.selected,t.props.locale,t.props.calendarStartDay):t.props.selected,l=t.props.showWeekPicker?bi(t.props.preSelection,t.props.locale,t.props.calendarStartDay):t.props.preSelection;E.push($.createElement(k6e,{ariaLabelPrefix:t.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:t.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:t.props.disabledDayAriaLabelPrefix,key:a,day:A,month:qt(t.props.day),onDayCl
1056ick:t.handleDayClick,usePointerEvent:t.props.usePointerEvent,onDayMouseEnter:t.handleDayMouseEnter,onWeekSelect:t.props.onWeekSelect,formatWeekNumber:t.props.formatWeekNumber,locale:t.props.locale,minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDates:t.props.includeDates,includeDateIntervals:t.props.includeDateIntervals,inline:t.props.inline,shouldFocusDayInline:t.props.shouldFocusDayInline,highlightDates:t.props.highlightDates,holidays:t.props.holidays,selectingDate:t.props.selectingDate,filterDate:t.props.filterDate,preSelection:l,selected:c,selectsStart:t.props.selectsStart,selectsEnd:t.props.selectsEnd,selectsRange:t.props.selectsRange,selectsDisabledDaysInRange:t.props.selectsDisabledDaysInRange,selectsMultiple:t.props.selectsMultiple,selectedDates:t.props.selectedDates,showWeekNumber:t.props.showWeekNumbers,showWeekPicker:t.props.showWeekPicker,startDate:t.props.startDate,endDate:t.props.endDate,dayClassName:t.props.dayClassName,setOpen:t.props.setOpen,shouldCloseOnSelect:t.props.shouldCloseOnSelect,disabledKeyboardNavigation:t.props.disabledKeyboardNavigation,renderDayContents:t.props.renderDayContents,handleOnKeyDown:t.props.handleOnKeyDown,isInputFocused:t.props.isInputFocused,containerRef:t.props.containerRef,calendarStartDay:t.props.calendarStartDay,monthShowsDuplicateDaysEnd:t.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:t.props.monthShowsDuplicateDaysStart})),!s;){a++,A=z1(A,1);var f=o&&a>=U6e,p=!o&&!t.isWeekInMonth(A);if(f||p)if(t.props.peekNextMonth)s=!0;else break}return E}),P(t,"onMonthClick",function(E,o){var a=Yt(t.props.day,o);xd(a,t.props)||t.handleDayClick(xi(a),E)}),P(t,"onMonthMouseEnter",function(E){var o=Yt(t.props.day,E);xd(o,t.props)||t.handleDayMouseEnter(xi(o))}),P(t,"handleMonthNavigation",function(E,o){t.isDisabled(o)||t.isExcluded(o)||(t.props.setPreSelection(o),t.MONTH_REFS[E].current&&t.MONTH_REFS[E].current.focus())}),P(t,"onMonthKeyDown",function(E,o){var a=t.props,s=a.selected,A=a.preSelection,c=a.disabledKeyboardNavigation,l=a.showTwoColumnMonthYearPicker,f=a.showFourColumnMonthYearPicker,p=a.setPreSelection,h=a.handleOnMonthKeyDown,w=E.key;if(w!=="Tab"&&E.preventDefault(),!c){var m=c_(f,l),g=$3[m].verticalNavigationOffset,v=$3[m].grid;switch(w){case"Enter":t.onMonthClick(E,o),p(s);break;case"ArrowRight":t.handleMonthNavigation(o===11?0:o+Pf,Cr(A,Pf));break;case"ArrowLeft":t.handleMonthNavigation(o===0?11:o-Pf,Ra(A,Pf));break;case"ArrowUp":t.handleMonthNavigation(v[0].includes(o)?o+12-g:o-g,Ra(A,g));break;case"ArrowDown":t.handleMonthNavigation(v[v.length-1].includes(o)?o-12+g:o+g,Cr(A,g));break}}h&&h(E)}),P(t,"onQuarterClick",function(E,o){var a=Qo(t.props.day,o);N3(a,t.props)||t.handleDayClick(ZF(a),E)}),P(t,"onQuarterMouseEnter",function(E){var o=Qo(t.props.day,E);N3(o,t.props)||t.handleDayMouseEnter(ZF(o))}),P(t,"handleQuarterNavigation",function(E,o){t.isDisabled(o)||t.isExcluded(o)||(t.props.setPreSelection(o),t.QUARTER_REFS[E-1].current&&t.QUARTER_REFS[E-1].current.focus())}),P(t,"onQuarterKeyDown",function(E,o){var a=E.key;if(!t.props.disabledKeyboardNavigation)switch(a){case"Enter":t.onQuarterClick(E,o),t.props.setPreSelection(t.props.selected);break;case"ArrowRight":t.handleQuarterNavigation(o===4?1:o+1,g7(t.props.preSelection,1));break;case"ArrowLeft":t.handleQuarterNavigation(o===1?4:o-1,k6(t.props.preSelection));break}}),P(t,"isMonthDisabled",function(E){var o=t.props,a=o.day,s=o.minDate,A=o.maxDate,c=o.excludeDates,l=o.includeDates,f=Yt(a,E);return(s||A||c||l)&&xd(f,t.props)}),P(t,"getMonthClassNames",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate,c=o.selected,l=o.preSelection,f=o.monthClassName,p=f?f(Yt(a,E)):void 0;return Dt("react-datepicker__month-text","react-datepicker__month-".concat(E),p,{"react-datepicker__month-text--disabled":t.isMonthDisabled(E),"react-datepicker__month-text--selected":t.isSelectedMonth(a,E,c),"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&t.isSelectedMonth(a,E,l),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(E),"react-datepicker__month-text--in-range":_f(s,A,E,a),"react-datepicker__month-text--range-start":t.isRangeStartMonth(E),"react-datepicker__month-text--range-end":t.isRangeEndMonth(E),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(E),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(E),"react-datepicker__month-text--today":t.isCurrentMonth(a,E)})}),P(t,"getTabIndex",function(E){var o=qt(t.props.preSelection),a=!t.props.disabledKeyboardNavigation&&E===o?"0":"-1";return a}),P(t,"getQuarterTabIndex",function(E){var o=PE(t.props.preSelection),a=!t.props.disabledKeyboardNavigation&&E===o?"0":"-1";return a}),P(t,"getAriaLabel",function(E){var o=t.props,a=o.chooseDayAriaLabelPrefix,s=a===void 0?"Choose":a,A=o.disabledDayAriaLabelPrefix,c=A===void 0?"Not available":A,l=o.day,f=o.locale,p=Yt(l,E),h=t.isDisabled(p)||t.isExcluded(p)?c:s;return"".concat(h," ").concat(vu(p,"MMMM yyyy",f))}),P(t,"getQuarterClassNames",function(E){var o=t.props,a=o.day,s=o.startDate,A=o.endDate,c=o.selected,l=o.minDate,f=o.maxDate,p=o.preSelection,h=o.disabledKeyboardNavigation;return Dt("react-datepicker__quarter-text","react-datepicker__quarter-".concat(E),{"react-datepicker__quarter-text--disabled":(l||f)&&N3(Qo(a,E),t.props),"react-datepicker__quarter-text--selected":t.isSelectedQuarter(a,E,c),"react-datepicker__quarter-text--keyboard-selected":!h&&t.isSelectedQuarter(a,E,p),"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(E),"react-datepicker__quarter-text--in-range":Tf(s,A,E,a),"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(E),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(E)})}),P(t,"getMonthContent",function(E){var o=t.props,a=o.showFullMonthYearPicker,s=o.renderMonthContent,A=o.locale,c=o.day,l=t$(E,A),f=D7(E,A);return s?s(E,l,f,c):a?f:l}),P(t,"getQuarterContent",function(E){var o=t.props,a=o.renderQuarterContent,s=o.locale,A=c6e(E,s);return a?a(E,A):A}),P(t,"renderMonths",function(){var E=t.props,o=E.showTwoColumnMonthYearPicker,a=E.show
1056FourColumnMonthYearPicker,s=E.day,A=E.selected,c=$3[c_(a,o)].grid;return c.map(function(l,f){return $.createElement("div",{className:"react-datepicker__month-wrapper",key:f},l.map(function(p,h){return $.createElement("div",{ref:t.MONTH_REFS[p],key:h,onClick:function(m){t.onMonthClick(m,p)},onKeyDown:function(m){E$(m)&&(m.preventDefault(),m.key="Enter"),t.onMonthKeyDown(m,p)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(p)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(p)}:void 0,tabIndex:t.getTabIndex(p),className:t.getMonthClassNames(p),"aria-disabled":t.isMonthDisabled(p),role:"option","aria-label":t.getAriaLabel(p),"aria-current":t.isCurrentMonth(s,p)?"date":void 0,"aria-selected":t.isSelectedMonth(s,p,A)},t.getMonthContent(p))}))})}),P(t,"renderQuarters",function(){var E=t.props,o=E.day,a=E.selected,s=[1,2,3,4];return $.createElement("div",{className:"react-datepicker__quarter-wrapper"},s.map(function(A,c){return $.createElement("div",{key:c,ref:t.QUARTER_REFS[c],role:"option",onClick:function(f){t.onQuarterClick(f,A)},onKeyDown:function(f){t.onQuarterKeyDown(f,A)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(A)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(A)}:void 0,className:t.getQuarterClassNames(A),"aria-selected":t.isSelectedQuarter(o,A,a),tabIndex:t.getQuarterTabIndex(A),"aria-current":t.isCurrentQuarter(o,A)?"date":void 0},t.getQuarterContent(A))}))}),P(t,"getClassNames",function(){var E=t.props,o=E.selectingDate,a=E.selectsStart,s=E.selectsEnd,A=E.showMonthYearPicker,c=E.showQuarterYearPicker,l=E.showWeekPicker;return Dt("react-datepicker__month",{"react-datepicker__month--selecting-range":o&&(a||s)},{"react-datepicker__monthPicker":A},{"react-datepicker__quarterPicker":c},{"react-datepicker__weekPicker":l})}),t}return vt(u,e),yt(u,[{key:"render",value:function(){var r=this.props,n=r.showMonthYearPicker,i=r.showQuarterYearPicker,E=r.day,o=r.ariaLabelPrefix,a=o===void 0?"Month ":o,s=a?a.trim()+" ":"";return $.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(s).concat(vu(E,"MMMM, yyyy",this.props.locale)),role:"listbox"},n?this.renderMonths():i?this.renderQuarters():this.renderWeeks())}}])}($.Component),o$=function(e){function u(){var t;gt(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t=mt(this,u,[].concat(n)),P(t,"state",{height:null}),P(t,"scrollToTheSelectedTime",function(){requestAnimationFrame(function(){t.list&&(t.list.scrollTop=t.centerLi&&u.calcCenterPosition(t.props.monthRef?t.props.monthRef.clientHeight-t.header.clientHeight:t.list.clientHeight,t.centerLi))})}),P(t,"handleClick",function(E){(t.props.minTime||t.props.maxTime)&&u_(E,t.props)||(t.props.excludeTimes||t.props.includeTimes||t.props.filterTime)&&e_(E,t.props)||t.props.onChange(E)}),P(t,"isSelectedTime",function(E){return t.props.selected&&v6e(t.props.selected,E)}),P(t,"isDisabledTime",function(E){return(t.props.minTime||t.props.maxTime)&&u_(E,t.props)||(t.props.excludeTimes||t.props.includeTimes||t.props.filterTime)&&e_(E,t.props)}),P(t,"liClasses",function(E){var o=["react-datepicker__time-list-item",t.props.timeClassName?t.props.timeClassName(E):void 0];return t.isSelectedTime(E)&&o.push("react-datepicker__time-list-item--selected"),t.isDisabledTime(E)&&o.push("react-datepicker__time-list-item--disabled"),t.props.injectTimes&&(Jr(E)*3600+qr(E)*60+bn(E))%(t.props.intervals*60)!==0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")}),P(t,"handleOnKeyDown",function(E,o){E.key===" "&&(E.preventDefault(),E.key="Enter"),(E.key==="ArrowUp"||E.key==="ArrowLeft")&&E.target.previousSibling&&(E.preventDefault(),E.target.previousSibling.focus()),(E.key==="ArrowDown"||E.key==="ArrowRight")&&E.target.nextSibling&&(E.preventDefault(),E.target.nextSibling.focus()),E.key==="Enter"&&t.handleClick(o),t.props.handleOnKeyDown(E)}),P(t,"renderTimes",function(){for(var E=[],o=t.props.format?t.props.format:"p",a=t.props.intervals,s=t.props.selected||t.props.openToDate||nu(),A=E6e(s),c=t.props.injectTimes&&t.props.injectTimes.sort(function(g,v){return g-v}),l=60*y6e(s),f=l/a,p=0;p<f;p++){var h=qy(A,p*a);if(E.push(h),c){var w=g6e(A,h,p,a,c);E=E.concat(w)}}var m=E.reduce(function(g,v){return v.getTime()<=s.getTime()?v:g},E[0]);return E.map(function(g,v){return $.createElement("li",{key:v,onClick:t.handleClick.bind(t,g),className:t.liClasses(g),ref:function(y){g===m&&(t.centerLi=y)},onKeyDown:function(y){t.handleOnKeyDown(y,g)},tabIndex:g===m?0:-1,role:"option","aria-selected":t.isSelectedTime(g)?"true":void 0,"aria-disabled":t.isDisabledTime(g)?"true":void 0},vu(g,o,t.props.locale))})}),t}
1056return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var r=this,n=this.state.height;return $.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},$.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(E){r.header=E}},$.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),$.createElement("div",{className:"react-datepicker__time"},$.createElement("div",{className:"react-datepicker__time-box"},$.createElement("ul",{className:"react-datepicker__time-list",ref:function(E){r.list=E},style:n?{height:n}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}])}($.Component);P(o$,"calcCenterPosition",function(e,u){return u.offsetTop-(e/2-u.clientHeight/2)});var l_=3,L6e=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"YEAR_REFS",Ui(Array(r.props.yearItemNumber)).map(function(){return $.createRef()})),P(r,"isDisabled",function(n){return c4(n,r.props)}),P(r,"isExcluded",function(n){return S7(n,r.props)}),P(r,"selectingDate",function(){var n;return(n=r.props.selectingDate)!==null&&n!==void 0?n:r.props.preSelection}),P(r,"updateFocusOnPaginate",function(n){var i=(function(){this.YEAR_REFS[n].current.focus()}).bind(r);window.requestAnimationFrame(i)}),P(r,"handleYearClick",function(n,i){r.props.onDayClick&&r.props.onDayClick(n,i)}),P(r,"handleYearNavigation",function(n,i){var E=r.props,o=E.date,a=E.yearItemNumber,s=ri(o,a),A=s.startPeriod;r.isDisabled(i)||r.isExcluded(i)||(r.props.setPreSelection(i),n-A<0?r.updateFocusOnPaginate(a-(A-n)):n-A>=a?r.updateFocusOnPaginate(Math.abs(a-(n-A))):r.YEAR_REFS[n-A].current.focus())}),P(r,"isSameDay",function(n,i){return qe(n,i)}),P(r,"isCurrentYear",function(n){return n===Oe(nu())}),P(r,"isRangeStart",function(n){return r.props.startDate&&r.props.endDate&&Nr(Rr(nu(),n),r.props.startDate)}),P(r,"isRangeEnd",function(n){return r.props.startDate&&r.props.endDate&&Nr(Rr(nu(),n),r.props.endDate)}),P(r,"isInRange",function(n){return If(n,r.props.startDate,r.props.endDate)}),P(r,"isInSelectingRange",function(n){var i=r.props,E=i.selectsStart,o=i.selectsEnd,a=i.selectsRange,s=i.startDate,A=i.endDate;return!(E||o||a)||!r.selectingDate()?!1:E&&A?If(n,r.selectingDate(),A):o&&s||a&&s&&!A?If(n,s,r.selectingDate()):!1}),P(r,"isSelectingRangeStart",function(n){if(!r.isInSelectingRange(n))return!1;var i=r.props,E=i.startDate,o=i.selectsStart,a=Rr(nu(),n);return o?Nr(a,r.selectingDate()):Nr(a,E)}),P(r,"isSelectingRangeEnd",function(n){if(!r.isInSelectingRange(n))return!1;var i=r.props,E=i.endDate,o=i.selectsEnd,a=i.selectsRange,s=Rr(nu(),n);return o||a?Nr(s,r.selectingDate()):Nr(s,E)}),P(r,"isKeyboardSelected",function(n){var i=fA(Rr(r.props.date,n));return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!qe(i,fA(r.props.selected))&&qe(i,fA(r.props.preSelection))}),P(r,"onYearClick",function(n,i){var E=r.props.date;r.handleYearClick(fA(Rr(E,i)),n)}),P(r,"onYearKeyDown",function(n,i){var E=n.key,o=r.props,a=o.date,s=o.yearItemNumber,A=o.handleOnKeyDown;if(E!=="Tab"&&n.preventDefault(),!r.props.disabledKeyboardNavigation)switch(E){case"Enter":r.onYearClick(n,i),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleYearNavigation(i+1,wn(r.props.preSelection,1));break;case"ArrowLeft":r.handleYearNavigation(i-1,Na(r.props.preSelection,1));break;case"ArrowUp":{var c=ri(a,s),l=c.startPeriod,f=l_,p=i-f;if(p<l){var h=s%f;i>=l&&i<l+h?f=h:f+=h,p=i-f}r.handleYearNavigation(p,Na(r.props.preSelection,f));break}case"ArrowDown":{var w=ri(a,s),m=w.endPeriod,g=l_,v=i+g;if(v>m){var d=s%g;i<=m&&i>m-d?g=d:g+=d,v=i+g}r.handleYearNavigation(v,wn(r.props.preSelection,g));break}}A&&A(n)}),P(r,"getYearClassNames",function(n){var i=r.props,E=i.date,o=i.minDate,a=i.maxDate,s=i.selected,A=i.excludeDates,c=i.includeDates,l=i.filterDate,f=i.yearClassName;return Dt("react-datepicker__year-text","react-datepicker__year-".concat(n),f?f(Rr(E,n)):void 0,{"react-datepicker__year-text--selected":n===Oe(s),"react-datepicker__year-text--disabled":(o||a||A||c||l)&&r$(n,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(n),"react-datepicker__year-text--range-start":r.isRangeStart(n),"react-datepicker__year-text--range-end":r.isRangeEnd(n),"react-datepicker__year-text--in-range":r.isInRange(n),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(n),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(n),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(n),"react-datepicker__year-text--today":r.
1056isCurrentYear(n)})}),P(r,"getYearTabIndex",function(n){if(r.props.disabledKeyboardNavigation)return"-1";var i=Oe(r.props.preSelection);return n===i?"0":"-1"}),P(r,"getYearContainerClassNames",function(){var n=r.props,i=n.selectingDate,E=n.selectsStart,o=n.selectsEnd,a=n.selectsRange;return Dt("react-datepicker__year",{"react-datepicker__year--selecting-range":i&&(E||o||a)})}),P(r,"getYearContent",function(n){return r.props.renderYearContent?r.props.renderYearContent(n):n}),r}return vt(u,e),yt(u,[{key:"render",value:function(){for(var r=this,n=[],i=this.props,E=i.date,o=i.yearItemNumber,a=i.onYearMouseEnter,s=i.onYearMouseLeave,A=ri(E,o),c=A.startPeriod,l=A.endPeriod,f=function(w){n.push($.createElement("div",{ref:r.YEAR_REFS[w-c],onClick:function(g){r.onYearClick(g,w)},onKeyDown:function(g){E$(g)&&(g.preventDefault(),g.key="Enter"),r.onYearKeyDown(g,w)},tabIndex:r.getYearTabIndex(w),className:r.getYearClassNames(w),onMouseEnter:r.props.usePointerEvent?void 0:function(m){return a(m,w)},onPointerEnter:r.props.usePointerEvent?function(m){return a(m,w)}:void 0,onMouseLeave:r.props.usePointerEvent?void 0:function(m){return s(m,w)},onPointerLeave:r.props.usePointerEvent?function(m){return s(m,w)}:void 0,key:w,"aria-current":r.isCurrentYear(w)?"date":void 0},r.getYearContent(w)))},p=c;p<=l;p++)f(p);return $.createElement("div",{className:this.getYearContainerClassNames()},$.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},n))}}])}($.Component),M6e=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"onTimeChange",function(n){r.setState({time:n});var i=r.props.date,E=i instanceof Date&&!isNaN(i),o=E?i:new Date;o.setHours(n.split(":")[0]),o.setMinutes(n.split(":")[1]),r.props.onChange(o)}),P(r,"renderTimeInput",function(){var n=r.state.time,i=r.props,E=i.date,o=i.timeString,a=i.customTimeInput;return a?$.cloneElement(a,{date:E,value:n,onChange:r.onTimeChange}):$.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:n,onChange:function(A){r.onTimeChange(A.target.value||o)}})}),r.state={time:r.props.timeString},r}return vt(u,e),yt(u,[{key:"render",value:function(){return $.createElement("div",{className:"react-datepicker__input-time-container"},$.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),$.createElement("div",{className:"react-datepicker-time__input-container"},$.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(r,n){return r.timeString!==n.time?{time:r.timeString}:null}}])}($.Component);function R6e(e){var u=e.showTimeSelectOnly,t=u===void 0?!1:u,r=e.showTime,n=r===void 0?!1:r,i=e.className,E=e.children,o=t?"Choose Time":"Choose Date".concat(n?" and Time":"");return $.createElement("div",{className:i,role:"dialog","aria-label":o,"aria-modal":"true"},E)}var N6e=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],$6e=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=(u.className||"").split(/\s+/);return N6e.some(function(r){return t.indexOf(r)>=0})},H6e=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"handleClickOutside",function(n){r.props.onClickOutside(n)}),P(r,"setClickOutsideRef",function(){return r.containerRef.current}),P(r,"handleDropdownFocus",function(n){$6e(n.target)&&r.props.onDropdownFocus()}),P(r,"getDateInView",function(){var n=r.props,i=n.preSelection,E=n.selected,o=n.openToDate,a=n$(r.props),s=i$(r.props),A=nu(),c=o||E||i;return c||(a&&YE(A,a)?a:s&&Oi(A,s)?s:A)}),P(r,"increaseMonth",function(){r.setState(function(n){var i=n.date;return{date:Cr(i,1)}},function(){return r.handleMonthChange(r.state.date)})}),P(r,"decreaseMonth",function(){r.setState(function(n){var i=n.date;return{date:Ra(i,1)}},function(){return r.handleMonthChange(r.state.date)})}),P(r,"handleDayClick",function(n,i,E){r.props.onSelect(n,i,E),r.props.setPreSelection&&r.props.setPreSelection(n)}),P(r,"handleDayMouseEnter",function(n){r.setState({selectingDate:n}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(n)}),P(r,"handleMonthMouseLeave",function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()}),P(r,"handleYearMouseEnter",function(n,i){r.setState({selectingDate:Rr(nu(),i)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(n,i)}),P(r,"handleYearMouseLeave",function(n,i){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(n,i)}),P(r,"handleYearChange",function(n){r.props.onYearChange&&(r.props.onYearChange(n),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(n),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(n)}),P(r,"handleMonthChange",function(n){r.handleCustomMonthChange(n),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(n),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(n)}),P(r,"handleCustomMonthChange",function(n){r.props.onMonthChange&&(r.props.onMonthChange(n),r.setState({isRenderAriaLiveMessage:!0}))}),P(r,"handleMonthYearChange",function(n){r.handleYearChange(n),r.handleMonthChange(n)}),P(r,"changeYear",function(n){r.setState(function(i){var E=i.date;return{date:Rr(E,n)}},function(){return r.handleYearChange(r.state.date)})}),P(r,"changeMonth",function(n){r.setState(function(i){var E=i.date;return{date:Yt(E,n)}},function(){return r.handleMonthChange(r.state.date)})}),P(r,"changeMonthYear",function(n){r.setState(function(i){var E=i.date;return{date:Rr(Yt(E,qt(n)),Oe(n))}},function(){return r.handleMonthYearChange(r.state.date)})}),P(r,"header",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r.state.date,i=bi(n,r.props.locale,r.props.calendarStartDay),E=[];return r.props.showWeekNumbers&&E.push($.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),E.concat([0,1,2,3,4,5,6].map(function(o){var a=Yi(i,o),s=r.formatWeekday(a,r.props.locale),A=r.props.weekDayClassName?r.props.weekDayClassName(a):void 0;return $.createElement("div",{key:o,"aria-label":vu(a,"EEEE",r.props.locale),className:Dt("react-datepicker__day-name",A)},s)}))}),P(r,"formatWeekday",function(n,i){return r.props.formatWeekDay?a6e(n,r.props.formatWeekDay,i):r.props.useWeekdaysShort?A6e(n,i):s6e(n,i)}),P(r,"decreaseYear",function(){r.setState(function(n){var i=n.date;return{date:Na(i,r.props.showYearPicker?r.props.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})}),P(r,"clearSelectingDate",function(){r.setState({selectingDate:null})}),P(r,"renderPreviousButton",function(){if(!r.props.renderCustomHeader){var n;switch(!0){case r.props.showMonthYearPicker:n=n_(r.state.date,r.props);break;case r.props.showYearPicker:n=d6e(r.state.date,r.props);break;case r.props.showQuarterYearPicker:n=l6e(r.state.date,r.props);break;default:n=t_(r.state.date,r.props);break}if(!(!r.props.forceShowMonthNavigation&&!r.props.showDisabledMonthNavigation&&n||r.props.showTimeSelectOnly)){var i=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],E=["react-datepicker__navigation","react-datepicker__navigation--previous"],o=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(o=r.decreaseYear),n&&r.props.showDisabledMonthNavigation&&(E.push("react-datepicker__navigation--previous--disabled"),o=null);var a=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,s=r.props,A=s.previousMonthButtonLabel,c=s.previousYearButtonLabel,l=r.props,f=l.previousMonthAriaLabel,p=f===void 0?typeof A=="string"?A:"Previous Month":f,h=l.previousYearAriaLabel,w=h===void 0?typeof c=="string"?c:"Previous Year":h;return $.createElement("button",{type:"button",className:E.join(" "),onClick:o,onKeyDown:r.props.handleOnKeyDown,"aria-label":a?w:p},$.createElement("span",{className:i.join(" ")},a?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}}),P(r,"increaseYear",function(){r.setState(function(n){var i=n.date;return{date:wn(i,r.props.showYearPicker?r.props.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})}),P(r,"renderNextButton",function(){if(!r.props.renderCustomHeader){var n;switch(!0){case r.props.showMonthYearPicker:n=i_(r.state.date,r.props);break;case r.props.showYearPicker:n=p6e(r.state.date,r.props);break;case r.props.showQuarterYearPicker:n=f6e(r.state.date,r.props);break;default:n=r_(r.state.date,r.props);break}if(!(!r.props.forceShowMonthNavigation&&!r.props.showDisabledMonthNavigation&&n||r.props.showTimeSelectOnly)){var i=["react-datepicker__navigation","react-datepicker__navigation--next"],E=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];r.props.showTimeSelect&&i.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&i.push("react-datepicker__navigation--next--with-today-button");var o=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(o=r.increaseYear),n&&r.props.showDisabledMonthNavigation&&(i.push("react-datepicker__navigation--next--disabled"),o=null);var a=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,s=r.props,A=s.nextMonthButtonLabel,c=s.nextYearButtonLabel,l=r.props,f=l.nextMonthAriaLabel,p=f===void 0?typeof A=="string"?A:"Next Month":f,h=l.nextYearAriaLabel,w=h===void 0?typeof c=="string"?c:"Next Year":h;return $.createElement("button",{type:"button",className:i.join(" "),onClick:o,onKeyDown:r.props.handleOnKeyDown,"aria-label":a?w:p},$.createElement("span",{className:E.join(" ")},a?r.props.nextYearButtonLabel:r.props.nextMonthButtonLabel))}}}),P(r,"renderCurrentMonth",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r.state.date,i=["react-datepicker__current-month"];return r.props.showYearDropdown&&i.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&i.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&i.push("react-datepicker__current-month--hasMonthYearDropdown"),$.createElement("div",{className:i.join(" ")},vu(n,r.props.dateFormat,r.props.locale))}),P(r,"renderYearDropdown",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!(!r.props.showYearDropdown||n))return $.createElement(x6e,{adju
1056stDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Oe(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})}),P(r,"renderMonthDropdown",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!(!r.props.showMonthDropdown||n))return $.createElement(S6e,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:qt(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})}),P(r,"renderMonthYearDropdown",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!(!r.props.showMonthYearDropdown||n))return $.createElement(T6e,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})}),P(r,"handleTodayButtonClick",function(n){r.props.onSelect(qF(),n),r.props.setPreSelection&&r.props.setPreSelection(qF())}),P(r,"renderTodayButton",function(){if(!(!r.props.todayButton||r.props.showTimeSelectOnly))return $.createElement("div",{className:"react-datepicker__today-button",onClick:function(i){return r.handleTodayButtonClick(i)}},r.props.todayButton)}),P(r,"renderDefaultHeader",function(n){var i=n.monthDate,E=n.i;return $.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(i),$.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(E!==0),r.renderMonthYearDropdown(E!==0),r.renderYearDropdown(E!==0)),$.createElement("div",{className:"react-datepicker__day-names"},r.header(i)))}),P(r,"renderCustomHeader",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.monthDate,E=n.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=t_(r.state.date,r.props),a=r_(r.state.date,r.props),s=n_(r.state.date,r.props),A=i_(r.state.date,r.props),c=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return $.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(gn(gn({},r.state),{},{customHeaderCount:E,monthDate:i,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:s,nextYearButtonDisabled:A})),c&&$.createElement("div",{className:"react-datepicker__day-names"},r.header(i)))}),P(r,"renderYearHeader",function(n){var i=n.monthDate,E=r.props,o=E.showYearPicker,a=E.yearItemNumber,s=ri(i,a),A=s.startPeriod,c=s.endPeriod;return $.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},o?"".concat(A," - ").concat(c):Oe(i))}),P(r,"renderHeader",function(n){switch(!0){case r.props.renderCustomHeader!==void 0:return r.renderCustomHeader(n);case(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker):return r.renderYearHeader(n);default:return r.renderDefaultHeader(n)}}),P(r,"renderMonths",function(){var n;if(!(r.props.showTimeSelectOnly||r.props.showYearPicker)){for(var i=[],E=r.props.showPreviousMonths?r.props.monthsShown-1:0,o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?wn(r.state.date,E):Ra(r.state.date,E),a=(n=r.props.monthSelectedIn)!==null&&n!==void 0?n:E,s=0;s<r.props.monthsShown;++s){var A=s-a+E,c=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?wn(o,A):Cr(o,A),l="month-".concat(s),f=s<r.props.monthsShown-1,p=s>0;i.push($.createElement("div",{key:l,ref:function(w){r.monthContainer=w},className:"react-datepicker__month-container"},r.renderHeader({monthDate:c,i:s}),$.createElement(Q6e,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:c,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,usePointerEvent:r.props.usePointerEvent,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:s,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,holidays:r.props.holidays,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,selectsMultiple:r.props.selectsMultiple,selectedDates:r.props.selectedDates,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endD
1056ate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,renderMonthContent:r.props.renderMonthContent,renderQuarterContent:r.props.renderQuarterContent,renderYearContent:r.props.renderYearContent,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showWeekPicker:r.props.showWeekPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:f,monthShowsDuplicateDaysStart:p})))}return i}}),P(r,"renderYears",function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return $.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader({monthDate:r.state.date}),$.createElement(L6e,bc({onDayClick:r.handleDayClick,selectingDate:r.state.selectingDate,clearSelectingDate:r.clearSelectingDate,date:r.state.date},r.props,{onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))}),P(r,"renderTimeSection",function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return $.createElement(o$,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})}),P(r,"renderInputTimeSection",function(){var n=new Date(r.props.selected),i=Vn(n)&&!!r.props.selected,E=i?"".concat(o_(n.getHours()),":").concat(o_(n.getMinutes())):"";if(r.props.showTimeInput)return $.createElement(M6e,{date:n,timeString:E,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})}),P(r,"renderAriaLiveRegion",function(){var n=ri(r.state.date,r.props.yearItemNumber),i=n.startPeriod,E=n.endPeriod,o;return r.props.showYearPicker?o="".concat(i," - ").concat(E):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?o=Oe(r.state.date):o="".concat(D7(qt(r.state.date),r.props.locale)," ").concat(Oe(r.state.date)),$.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&o)}),P(r,"renderChildren",function(){if(r.props.children)return $.createElement("div",{className:"react-datepicker__children-container"},r.props.children)}),r.containerRef=$.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},r}return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){var r=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){r.setState({monthContainer:r.monthContainer})}())}},{key:"componentDidUpdate",value:function(r){var n=this;if(this.props.preSelection&&(!qe(this.props.preSelection,r.preSelection)||this.props.monthSelectedIn!==r.monthSelectedIn)){var i=!S0(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return i&&n.handleCustomMonthChange(n.state.date)})}else this.props.openToDate&&!qe(this.props.openToDate,r.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var r=this.props.container||R6e;return $.createElement("div",{style:{display:"contents"},ref:this.containerRef},$.createElement(r,{className:Dt("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:nl}}}])}($.Component),j6e=function(u){var t=u.icon,r=u.className,n=r===void 0?"":r,i=u.onClick,E="react-datepicker__calendar-icon";return $.isValidElement(t)?$.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(E," ").concat(n),onClick:function(a){typeof t.props.onClick=="function"&&t.props.onClick(a),typeof i=="function"&&i(a)}}):typeof t=="string"?$.createElement("i",{className:"".concat(E," ").concat(t," ").concat(n),"aria-hidden":"true",onClick:i}):$.createElement("svg",{className:"".concat(E," ").concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},$.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 9
10566 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},K6e=j6e,a$=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),r.el=document.createElement("div"),r}return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return hE.createPortal(this.props.children,this.el)}}])}($.Component),W6e="[tabindex], a, button, input, select, textarea",V6e=function(u){return!u.disabled&&u.tabIndex!==-1},s$=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"getTabChildren",function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll(W6e),1,-1).filter(V6e)}),P(r,"handleFocusStart",function(){var n=r.getTabChildren();n&&n.length>1&&n[n.length-1].focus()}),P(r,"handleFocusEnd",function(){var n=r.getTabChildren();n&&n.length>1&&n[0].focus()}),r.tabLoopRef=$.createRef(),r}return vt(u,e),yt(u,[{key:"render",value:function(){return this.props.enableTabLoop?$.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},$.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,$.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}])}($.Component);function z6e(e){var u=function(r){var n=gn(gn({},r),{},{popperModifiers:r.popperModifiers||[],popperProps:r.popperProps||{},hidePopper:typeof r.hidePopper=="boolean"?r.hidePopper:!0}),i=$.useRef(),E=VNe(gn({open:!n.hidePopper,whileElementsMounted:wNe,placement:n.popperPlacement,middleware:[TNe({padding:15}),INe(10),PNe({element:i})].concat(Ui(n.popperModifiers))},n.popperProps));return $.createElement(e,bc({},n,{popperProps:gn(gn({},E),{},{arrowRef:i})}))};return u}var G6e=function(e){function u(){return gt(this,u),mt(this,u,arguments)}return vt(u,e),yt(u,[{key:"render",value:function(){var r=this.props,n=r.className,i=r.wrapperClassName,E=r.hidePopper,o=r.popperComponent,a=r.targetComponent,s=r.enableTabLoop,A=r.popperOnKeyDown,c=r.portalId,l=r.portalHost,f=r.popperProps,p=r.showArrow,h;if(!E){var w=Dt("react-datepicker-popper",n);h=$.createElement(s$,{enableTabLoop:s},$.createElement("div",{ref:f.refs.setFloating,style:f.floatingStyles,className:w,"data-placement":f.placement,onKeyDown:A},o,p&&$.createElement(RNe,{ref:f.arrowRef,context:f.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(h=$.createElement(this.props.popperContainer,{},h)),c&&!E&&(h=$.createElement(a$,{portalId:c,portalHost:l},h));var m=Dt("react-datepicker-wrapper",i);return $.createElement($.Fragment,null,$.createElement("div",{ref:f.refs.setReference,className:m},a),h)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0}}}])}($.Component),Y6e=z6e(G6e),f_="react-datepicker-ignore-onclickoutside",X6e=i4(H6e);function Z6e(e,u){return e&&u?qt(e)!==qt(u)||Oe(e)!==Oe(u):e!==u}var H3="Date input not valid.",dGe=function(e){function u(t){var r;return gt(this,u),r=mt(this,u,[t]),P(r,"getPreSelection",function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:nu()}),P(r,"modifyHolidays",function(){var n;return(n=r.props.holidays)===null||n===void 0?void 0:n.reduce(function(i,E){var o=new Date(E.date);return yc(o)?[].concat(Ui(i),[gn(gn({},E),{},{date:o})]):i},[])}),P(r,"calcInitialState",function(){var n,i=r.getPreSelection(),E=n$(r.props),o=i$(r.props),a=E&&YE(i,Zr(E))?E:o&&Oi(i,uv(o))?o:i;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:(n=r.props.selectsRange?r.props.startDate:r.props.selected)!==null&&n!==void 0?n:a,highlightDates:E_(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}}),P(r,"clearPreventFocusTimeout",function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)}),P(r,"setFocus",function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})}),P(r,"setBlur",function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()}),P(r,"setOpen",function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.setState({open:n,preSelection:n&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:j3},function(){n||r.setState(function(E){return{focused:i?E.focused:!1}},function(){!i&&r.setBlur(),r.setState({inputValue:null})})})}),P(r,"inputOk",function(){return GE(r.state.preSelection)}),P(r,"isCalendarOpen",function(){return r.props.open===void 0?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open}),P(r,"handleFocus",function(n){r.state.preventFocus||(r.props.onFocus(n),!r.props.preventOpenOnFocus&&!r.props.readOnly&&r.setOpen(!0)),r.setState({focused:!0})}),P(r,"sendFocusBackToInput",function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})}),P(r,"cancelFocusInput",function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null}),P(r,"deferFocusInput",function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)}),P(r,"handleDropdownFocus",function(){r.cancelFocusInput()}),P(r,"handleBlur",function(n){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(n),r.setState({focused:!1})}),P(r,"handleCalendarClickOutside",function(n){r.props.inline||r.setOpen(!1),r.props.onClickOutside(n),r.props.withPortal&&n.preventDefault()}),P(r,"handleChange",function(){for(var n=arguments.length,i=new Array(n),E=0;E<n;E++)i[E]=arguments[E];var o=i[0];if(!(r.props.onChangeRaw&&(r.props.onChangeRaw.apply(r,i),typeof o.isDefaultPrevented!="function"||o.isDefaultPrevented()))){r.setState({inputValue:o.target.value,lastPreSelectChange:q6e});var a=u6e(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing,r.props.minDate);r.props.showTimeSelectOnly&&r.props.selected&&a&&!qe(a,r.props.selected)&&(a=FRe(r.props.selected,{hours:Jr(a),minutes:qr(a),seconds:bn(a)})),(a||!o.target.value)&&r.setSelected(a,o,!0)}}),P(r,"handleSelect",function(n,i,E){if(r.props.shouldCloseOnSelect&&!r.props.showTimeSelect&&r.sendFocusBackToInput(),r.props.onChangeRaw&&r.props.onChangeRaw(i),r.setSelected(n,i,!1,E),r.props.showDateSelect&&r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(n);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);
1056var o=r.props,a=o.startDate,s=o.endDate;a&&!s&&(r.props.swapRange||!A_(n,a))&&r.setOpen(!1)}}),P(r,"setSelected",function(n,i,E,o){var a=n;if(r.props.showYearPicker){if(a!==null&&r$(Oe(a),r.props))return}else if(r.props.showMonthYearPicker){if(a!==null&&xd(a,r.props))return}else if(a!==null&&c4(a,r.props))return;var s=r.props,A=s.onChange,c=s.selectsRange,l=s.startDate,f=s.endDate,p=s.selectsMultiple,h=s.selectedDates,w=s.minTime,m=s.swapRange;if(!BE(r.props.selected,a)||r.props.allowSameDay||c||p)if(a!==null&&(r.props.selected&&(!E||!r.props.showTimeSelect&&!r.props.showTimeSelectOnly&&!r.props.showTimeInput)&&(a=R3(a,{hour:Jr(r.props.selected),minute:qr(r.props.selected),second:bn(r.props.selected)})),!E&&(r.props.showTimeSelect||r.props.showTimeSelectOnly)&&w&&(a=R3(a,{hour:w.getHours(),minute:w.getMinutes(),second:w.getSeconds()})),r.props.inline||r.setState({preSelection:a}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),c){var g=!l&&!f,v=l&&!f,d=l&&f;g?A([a,null],i):v&&(a===null?A([null,null],i):A_(a,l)?A(m?[a,l]:[a,null],i):A([l,a],i)),d&&A([a,null],i)}else if(p)if(!(h!=null&&h.length))A([a],i);else{var y=h.some(function(C){return qe(C,a)});if(y){var b=h.filter(function(C){return!qe(C,a)});A(b,i)}else A([].concat(Ui(h),[a]),i)}else A(a,i);E||(r.props.onSelect(a,i),r.setState({inputValue:null}))}),P(r,"setPreSelection",function(n){var i=typeof r.props.minDate<"u",E=typeof r.props.maxDate<"u",o=!0;if(n){var a=Zr(n);if(i&&E)o=dA(n,r.props.minDate,r.props.maxDate);else if(i){var s=Zr(r.props.minDate);o=Oi(n,s)||BE(a,s)}else if(E){var A=uv(r.props.maxDate);o=YE(n,A)||BE(a,A)}}o&&r.setState({preSelection:n})}),P(r,"toggleCalendar",function(){r.setOpen(!r.state.open)}),P(r,"handleTimeChange",function(n){var i=r.props.selected?r.props.selected:r.getPreSelection(),E=r.props.selected?n:R3(i,{hour:Jr(n),minute:qr(n)});r.setState({preSelection:E}),r.props.onChange(E),r.props.shouldCloseOnSelect&&(r.sendFocusBackToInput(),r.setOpen(!1)),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})}),P(r,"onInputClick",function(){!r.props.disabled&&!r.props.readOnly&&r.setOpen(!0),r.props.onInputClick()}),P(r,"onInputKeyDown",function(n){r.props.onKeyDown(n);var i=n.key;if(!r.state.open&&!r.props.inline&&!r.props.preventOpenOnFocus){(i==="ArrowDown"||i==="ArrowUp"||i==="Enter")&&r.onInputClick();return}if(r.state.open){if(i==="ArrowDown"||i==="ArrowUp"){n.preventDefault();var E=r.props.showWeekPicker&&r.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':r.props.showFullMonthYearPicker||r.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',o=r.calendar.componentNode&&r.calendar.componentNode.querySelector(E);o&&o.focus({preventScroll:!0});return}var a=nu(r.state.preSelection);i==="Enter"?(n.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===j3?(r.handleSelect(a,n),!r.props.shouldCloseOnSelect&&r.setPreSelection(a)):r.setOpen(!1)):i==="Escape"?(n.preventDefault(),r.sendFocusBackToInput(),r.setOpen(!1)):i==="Tab"&&r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:H3})}}),P(r,"onPortalKeyDown",function(n){var i=n.key;i==="Escape"&&(n.preventDefault(),r.setState({preventFocus:!0},function(){r.setOpen(!1),setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})}))}),P(r,"onDayKeyDown",function(n){r.props.onKeyDown(n);var i=n.key,E=n.shiftKey,o=nu(r.state.preSelection);if(i==="Enter")n.preventDefault(),r.handleSelect(o,n),!r.props.shouldCloseOnSelect&&r.setPreSelection(o);else if(i==="Escape")n.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:H3});else if(!r.props.disabledKeyboardNavigation){var a;switch(i){case"ArrowLeft":r.props.showWeekPicker?a=PF(o):a=iMe(o);break;case"ArrowRight":r.props.showWeekPicker?a=z1(o,1):a=Yi(o,1);break;case"ArrowUp":a=PF(o);break;case"ArrowDown":a=z1(o,1);break;case"PageUp":a=E?Na(o,1):Ra(o,1);break;case"PageDown":a=E?wn(o,1):Cr(o,1);break;case"Home":a=bi(o,r.props.locale,r.props.calendarStartDay);break;case"End":a=o6e(o);break;default:a=null;break}if(!a){r.props.onInputError&&r.props.onInputError({code:1,msg:H3});return}if(n.preventDefault(),r.setState({lastPreSelectChange:j3}),r.props.adjustDateOnChange&&r.setSelected(a),r.setPreSelection(a),r.props.inline){var s=qt(o),A=qt(a),c=Oe(o),l=Oe(a);s!==A||c!==l?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}}),P(r,"onPopperKeyDown",function(n){var i=n.key;i==="Escape"&&(n.preventDefault(),r.sendFocusBackToInput())}),P(r,"onClearClick",function(n){n&&n.preventDefault&&n.preventDefault(),r.sendFocusBackToInput(),r.props.selectsRange?r.props.onChange([null,
1056null],n):r.props.onChange(null,n),r.setState({inputValue:null})}),P(r,"clear",function(){r.onClearClick()}),P(r,"onScroll",function(n){typeof r.props.closeOnScroll=="boolean"&&r.props.closeOnScroll?(n.target===document||n.target===document.documentElement||n.target===document.body)&&r.setOpen(!1):typeof r.props.closeOnScroll=="function"&&r.props.closeOnScroll(n)&&r.setOpen(!1)}),P(r,"renderCalendar",function(){return!r.props.inline&&!r.isCalendarOpen()?null:$.createElement(X6e,{ref:function(i){r.calendar=i},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsMultiple:r.props.selectsMultiple,selectedDates:r.props.selectedDates,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,holidays:m6e(r.modifyHolidays()),includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:f_,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showDateSelect:r.props.showDateSelect,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,renderMonthContent:r.props.renderMonthContent,renderQuarterContent:r.props.renderQuarterContent,renderYearContent:r.props.renderYearContent,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,onYearMouseEnter:r.props.onYearMouseEnter,onYearMouseLeave:r.props.onYearMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showWeekPicker:r.props.showWeekPicker,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection,usePointerEvent:r.props.usePointerEvent,yearClassName:r.props.yearClassName},r.props.children)}),P(r,"renderAriaLiveRegion",function(){var n=r.props,i=n.dateFormat,E=n.locale,o=r.props.showTimeInput||r.props.showTimeSelect,a=o?"PPPPp":"PPPP",s;return r.props.selectsRange?s="Selected start date: ".concat(W0(r.props.startDate,{dateFormat:a,locale:E}),". ").concat(r.props.endDate?"End date: "+W0(r.props.endDate,{dateFormat:a,locale:E}):""):r.props.showTimeSelectOnly?s="Selected time: ".concat(W0(r.props.selected,{dateFormat:i,locale:E})):r.props.showYearPicker?s="Selected year: ".concat(W0(r.props.selected,{dateFormat:"yyyy",locale:E})):r.props.showMonthYearPicker?s="Selected month: ".concat(W0(r.props.selected,{dateFormat:"MMMM yyyy",locale:E})):r.props.showQuarterYearPicker?s="Selected quarter: ".concat(W0(r.props.selected,{dateFormat:"yyyy, QQQ",locale:E})):s="Selected date: ".concat(W0(r.props.selected,{dateFormat:a,locale:E})),$.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-l
1056ive"},s)}),P(r,"renderDateInput",function(){var n,i=Dt(r.props.className,P({},f_,r.state.open)),E=r.props.customInput||$.createElement("input",{type:"text"}),o=r.props.customInputRef||"ref",a=typeof r.props.value=="string"?r.props.value:typeof r.state.inputValue=="string"?r.state.inputValue:r.props.selectsRange?t6e(r.props.startDate,r.props.endDate,r.props):r.props.selectsMultiple?r6e(r.props.selectedDates,r.props):W0(r.props.selected,r.props);return $.cloneElement(E,(n={},P(P(P(P(P(P(P(P(P(P(n,o,function(s){r.input=s}),"value",a),"onBlur",r.handleBlur),"onChange",r.handleChange),"onClick",r.onInputClick),"onFocus",r.handleFocus),"onKeyDown",r.onInputKeyDown),"id",r.props.id),"name",r.props.name),"form",r.props.form),P(P(P(P(P(P(P(P(P(P(n,"autoFocus",r.props.autoFocus),"placeholder",r.props.placeholderText),"disabled",r.props.disabled),"autoComplete",r.props.autoComplete),"className",Dt(E.props.className,i)),"title",r.props.title),"readOnly",r.props.readOnly),"required",r.props.required),"tabIndex",r.props.tabIndex),"aria-describedby",r.props.ariaDescribedBy),P(P(P(n,"aria-invalid",r.props.ariaInvalid),"aria-labelledby",r.props.ariaLabelledBy),"aria-required",r.props.ariaRequired)))}),P(r,"renderClearButton",function(){var n=r.props,i=n.isClearable,E=n.disabled,o=n.selected,a=n.startDate,s=n.endDate,A=n.clearButtonTitle,c=n.clearButtonClassName,l=c===void 0?"":c,f=n.ariaLabelClose,p=f===void 0?"Close":f,h=n.selectedDates;return i&&(o!=null||a!=null||s!=null||h!=null&&h.length)?$.createElement("button",{type:"button",className:Dt("react-datepicker__close-icon",l,{"react-datepicker__close-icon--disabled":E}),disabled:E,"aria-label":p,onClick:r.onClearClick,title:A,tabIndex:-1}):null}),r.state=r.calcInitialState(),r.preventFocusTimeout=null,r}return vt(u,e),yt(u,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(r,n){r.inline&&Z6e(r.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&r.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),r.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:E_(this.props.highlightDates)}),!n.focused&&!BE(r.selected,this.props.selected)&&this.setState({inputValue:null}),n.open!==this.state.open&&(n.open===!1&&this.state.open===!0&&this.props.onCalendarOpen(),n.open===!0&&this.state.open===!1&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var r=this.props,n=r.showIcon,i=r.icon,E=r.calendarIconClassname,o=r.toggleCalendarOnIconClick,a=this.state.open;return $.createElement("div",{className:"react-datepicker__input-container".concat(n?" react-datepicker__view-calendar-icon":"")},n&&$.createElement(K6e,bc({icon:i,className:"".concat(E," ").concat(a&&"react-datepicker-ignore-onclickoutside")},o?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var r=this.renderCalendar();if(this.props.inline)return r;if(this.props.withPortal){var n=this.state.open?$.createElement(s$,{enableTabLoop:this.props.enableTabLoop},$.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},r)):null;return this.state.open&&this.props.portalId&&(n=$.createElement(a$,{portalId:this.props.portalId,portalHost:this.props.portalHost},n)),$.createElement("div",null,this.renderInputContainer(),n)}return $.createElement(Y6e,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:r,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop,showArrow:this.props.showPopperArrow})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:nl,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}}}])}($.Component),q6e="input",j3="navigate";const J6e={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},e$e=(e,u,t)=>{let r;const n=J6e[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",String(u)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e==="halfAMinute"?"ใน"+r:"ใน "+r:r+"ที่ผ่านมา":r},u$e={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},t$e={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},r$e={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},n$e={date:Fu({formats:u$e,defaultWidth:"full"}),time:Fu({formats:t$e,defaultWidth:"medium"}),dateTime:Fu({formats:r$e,defaultWidth:"full"})},i$e={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},E$e=(e,u,t,r)=>i$e[e],o$e={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},a$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},s$e={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},A$e={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},c$e={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},l$e={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},f$e=(e,u)=>String(e),d$e={ordinalNumber:f$e,era:_e({values:o$e,defaultWidth:"wide"}),quarter:_e({values:a$e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:A$e,defaultWidth:"wide"}),day:_e({values:s$e,defaultWidth:"wide"}),dayPeriod:_e({values:c$e,defaultWidth:"wide",formattingValues:l$e,defaultFormattingWidth:"wide"})},p$e=/^\d+/i,h$e=/\d+/i,m$e={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},g$e={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},y$e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},v$e={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},B$e={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},w$e={wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},b$e={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},x$e={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},C$e={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},D$e={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,no
1056on:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},S$e={ordinalNumber:Gi({matchPattern:p$e,parsePattern:h$e,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:m$e,defaultMatchWidth:"wide",parsePatterns:g$e,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:y$e,defaultMatchWidth:"wide",parsePatterns:v$e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:B$e,defaultMatchWidth:"wide",parsePatterns:w$e,defaultParseWidth:"any"}),day:Ie({matchPatterns:b$e,defaultMatchWidth:"wide",parsePatterns:x$e,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:C$e,defaultMatchWidth:"any",parsePatterns:D$e,defaultParseWidth:"any"})},pGe={code:"th",formatDistance:e$e,formatLong:n$e,formatRelative:E$e,localize:d$e,match:S$e,options:{weekStartsOn:0,firstWeekContainsDate:1}},F$e={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},_$e=(e,u,t)=>{t=t||{};let r;const n=F$e[e];return typeof n=="string"?r=n:u===1?t.addSuffix&&n.oneWithSuffix?r=n.oneWithSuffix:r=n.one:t.addSuffix&&n.otherWithSuffix?r=n.otherWithSuffix.replace("{{count}}",String(u)):r=n.other.replace("{{count}}",String(u)),t.addSuffix?t.comparison&&t.comparison>0?r+"後":r+"前":r},I$e={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},T$e={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},P$e={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},O$e={date:Fu({formats:I$e,defaultWidth:"full"}),time:Fu({formats:T$e,defaultWidth:"full"}),dateTime:Fu({formats:P$e,defaultWidth:"full"})},k$e={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},U$e=(e,u,t,r)=>k$e[e],Q$e={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},L$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},M$e={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},R$e={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},N$e={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},$$e={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},H$e=(e,u)=>{const t=Number(e);switch(String(u==null?void 0:u.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},j$e={ordinalNumber:H$e,era:_e({values:Q$e,defaultWidth:"wide"}),quarter:_e({values:L$e,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:_e({values:M$e,defaultWidth:"wide"}),day:_e({values:R$e,defaultWidth:"wide"}),dayPeriod:_e({values:N$e,defaultWidth:"wide",formattingValues:$$e,defaultFormattingWidth:"wide"})},K$e=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,W$e=/\d+/i,V$e={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},z$e={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},G$e={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},Y$e={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},X$e={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},Z$e={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},q$e={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},J$e={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},eHe={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},uHe={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},tHe={ordinalNumber:Gi({matchPattern:K$e,parsePattern:W$e,valueCallback:function(e){return parseInt(e,10)}}),era:Ie({matchPatterns:V$e,defaultMatchWidth:"wide",parsePatterns:z$e,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:G$e,defaultMatchWidth:"wide",parsePatterns:Y$e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:X$e,defaultMatchWidth:"wide",parsePatterns:Z$e,defaultParseWidth:"any"}),day:Ie({matchPatterns:q$e,defaultMatchWidth:"wide",parsePatterns:J$e,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:eHe,defaultMatchWidth:"any",parsePatterns:uHe,defaultParseWidth:"any"})},hGe={code:"ja",formatDistance:_$e,formatLong:O$e,formatRelative:U$e,localize:j$e,match:tHe,options:{weekStartsOn:0,firstWeekContainsDate:1}},rHe={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},nHe=(e,u,t)=>{let r;const n=rHe[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",u.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+" 후":r+" 전":r},iHe={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},EHe={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oHe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},aHe={date:Fu({formats:iHe,defaultWidth:"full"}),time:Fu({formats:EHe,defaultWidth:"full"}),dateTime:Fu({formats:oHe,defaultWidth:"full"})},sHe={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},AHe=(e,u,t,r)=>sHe[e],cHe={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},lHe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},fHe={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},dHe={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},pHe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},hHe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}}
1056,mHe=(e,u)=>{const t=Number(e);switch(String(u==null?void 0:u.unit)){case"minute":case"second":return String(t);case"date":return t+"일";default:return t+"번째"}},gHe={ordinalNumber:mHe,era:_e({values:cHe,defaultWidth:"wide"}),quarter:_e({values:lHe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:fHe,defaultWidth:"wide"}),day:_e({values:dHe,defaultWidth:"wide"}),dayPeriod:_e({values:pHe,defaultWidth:"wide",formattingValues:hHe,defaultFormattingWidth:"wide"})},yHe=/^(\d+)(일|번째)?/i,vHe=/\d+/i,BHe={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},wHe={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},bHe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},xHe={any:[/1/i,/2/i,/3/i,/4/i]},CHe={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},DHe={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},SHe={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},FHe={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},_He={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},IHe={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},THe={ordinalNumber:Gi({matchPattern:yHe,parsePattern:vHe,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:BHe,defaultMatchWidth:"wide",parsePatterns:wHe,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:bHe,defaultMatchWidth:"wide",parsePatterns:xHe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:CHe,defaultMatchWidth:"wide",parsePatterns:DHe,defaultParseWidth:"any"}),day:Ie({matchPatterns:SHe,defaultMatchWidth:"wide",parsePatterns:FHe,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:_He,defaultMatchWidth:"any",parsePatterns:IHe,defaultParseWidth:"any"})},mGe={code:"ko",formatDistance:nHe,formatLong:aHe,formatRelative:AHe,localize:gHe,match:THe,options:{weekStartsOn:0,firstWeekContainsDate:1}},PHe={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},OHe=(e,u,t)=>{let r;const n=PHe[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",String(u)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+"内":r+"前":r},kHe={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},UHe={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},QHe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},LHe={date:Fu({formats:kHe,defaultWidth:"full"}),time:Fu({formats:UHe,defaultWidth:"full"}),dateTime:Fu({formats:QHe,defaultWidth:"full"})};function d_(e,u,t){const r="eeee p";return tv(e,u,t)?r:e.getTime()>u.getTime()?"'下个'"+r:"'上个'"+r}const MHe={lastWeek:d_,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:d_,other:"PP p"},RHe=(e,u,t,r)=>{const n=MHe[e];return typeof n=="function"?n(u,t,r):n},NHe={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},$He={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},HHe={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},jHe={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},KHe={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},WHe={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},VHe=(e,u)=>{const t=Number(e);switch(u==null?void 0:u.unit){case"date":return t.toString()+"日";case"hour":return t.toString()+"时";case"minute":return t.toString()+"分";case"second":return t.toString()+"秒";default:return"第 "+t.toString()}},zHe={ordinalNumber:VHe,era:_e({values:NHe,defaultWidth:"wide"}),quarter:_e({values:$He,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:HHe,defaultWidth:"wide"}),day:_e({values:jHe,defaultWidth:"wide"}),dayPeriod:_e({values:KHe,defaultWidth:"wide",formattingValues:WHe,defaultFormattingWidth:"wide"})}
vendor: 4,105 bytes, line 1056
1056,GHe=/^(第\s*)?\d+(日|时|分|秒)?/i,YHe=/\d+/i,XHe={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},ZHe={any:[/^(前)/i,/^(公元)/i]},qHe={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},JHe={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},eje={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},uje={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},tje={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},rje={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},nje={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},ije={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Eje={ordinalNumber:Gi({matchPattern:GHe,parsePattern:YHe,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:XHe,defaultMatchWidth:"wide",parsePatterns:ZHe,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:qHe,defaultMatchWidth:"wide",parsePatterns:JHe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:eje,defaultMatchWidth:"wide",parsePatterns:uje,defaultParseWidth:"any"}),day:Ie({matchPatterns:tje,defaultMatchWidth:"wide",parsePatterns:rje,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:nje,defaultMatchWidth:"any",parsePatterns:ije,defaultParseWidth:"any"})},gGe={code:"zh-CN",formatDistance:OHe,formatLong:LHe,formatRelative:RHe,localize:zHe,match:Eje,options:{weekStartsOn:1,firstWeekContainsDate:4}},A$={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},oje={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},aje={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},sje={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},Aje={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},cje={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",
1056noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},lje={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},fje=(e,u)=>{const t=Number(e);return c$(t)};function dje(e){const u=e.toString().replace(/[१२३४५६७८९०]/g,function(t){return A$.number[t]});return Number(u)}function c$(e){return e.toString().replace(/\d/g,function(u){return A$.locale[u]})}const pje={ordinalNumber:fje,era:_e({values:oje,defaultWidth:"wide"}),quarter:_e({values:aje,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:sje,defaultWidth:"wide"}),day:_e({values:Aje,defaultWidth:"wide"}),dayPeriod:_e({values:cje,defaultWidth:"wide",formattingValues:lje,defaultFormattingWidth:"wide"})},hje={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},mje=(e,u,t)=>{let r;const n=hje[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",c$(u)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+"मे ":r+" पहले":r},gje={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},yje={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vje={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bje={date:Fu({formats:gje,defaultWidth:"full"}),time:Fu({formats:yje,defaultWidth:"full"}),dateTime:Fu({formats:vje,defaultWidth:"full"})},wje={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},bje=(e,u,t,r)=>wje[e],xje=/^[०१२३४५६७८९]+/i,Cje=/^[०१२३४५६७८९]+/i,Dje={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},Sje={any:[/^b/i,/^(a|c)/i]},Fje={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},_je={any:[/1/i,/2/i,/3/i,/4/i]},Ije={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अ
vendor: 6,627 bytes, line 1056
1056ग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},Tje={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},Pje={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},Oje={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},kje={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},Uje={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},Qje={ordinalNumber:Gi({matchPattern:xje,parsePattern:Cje,valueCallback:dje}),era:Ie({matchPatterns:Dje,defaultMatchWidth:"wide",parsePatterns:Sje,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:Fje,defaultMatchWidth:"wide",parsePatterns:_je,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:Ije,defaultMatchWidth:"wide",parsePatterns:Tje,defaultParseWidth:"any"}),day:Ie({matchPatterns:Pje,defaultMatchWidth:"wide",parsePatterns:Oje,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:kje,defaultMatchWidth:"any",parsePatterns:Uje,defaultParseWidth:"any"})},yGe={code:"hi",formatDistance:mje,formatLong:Bje,formatRelative:bje,localize:pje,match:Qje,options:{weekStartsOn:0,firstWeekContainsDate:4}},Lje={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Mje=(e,u,t)=>{let r;const n=Lje[e];return typeof n=="string"?r=n:u===1?r=n.one:r=n.other.replace("{{count}}",String(u)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam masa "+r:r+" yang lalu":r},Rje={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},Nje={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},$je={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Hje={date:Fu({formats:Rje,defaultWidth:"full"}),time:Fu({formats:Nje,defaultWidth:"full"}),dateTime:Fu({formats:$je,defaultWidth:"full"})},jje={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},Kje=(e,u,t,r)=>jje[e],Wje={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},Vje={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},zje={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},Gje={narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},Yje={narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},Xje={narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},Zje=(e,u)=>"ke-"+Number(e),qje={ordinalNumber:Zje,era:_e({values:Wje,defaultWidth:"wide"}),quarter:_e({values:Vje,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:zje,defaultWidth:"wide"}),day:_e({values:Gje,defaultWidth:"wide"}),dayPeriod:_e({values:Yje,defaultWidth:"wide",formattingValues:Xje,defaultFormattingWidth:"wide"})},Jje=/^ke-(\d+)?/i,eKe=/petama|\d+/i,uKe={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},tKe={any:[/^s/i,/^(m)/i]},rKe={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},nKe={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},iKe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},EKe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]}
vendor: 6,210 bytes, line 1056
1056,oKe={narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},aKe={narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},sKe={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},AKe={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},cKe={ordinalNumber:Gi({matchPattern:Jje,parsePattern:eKe,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:uKe,defaultMatchWidth:"wide",parsePatterns:tKe,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:rKe,defaultMatchWidth:"wide",parsePatterns:nKe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:iKe,defaultMatchWidth:"wide",parsePatterns:EKe,defaultParseWidth:"any"}),day:Ie({matchPatterns:oKe,defaultMatchWidth:"wide",parsePatterns:aKe,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:sKe,defaultMatchWidth:"any",parsePatterns:AKe,defaultParseWidth:"any"})},vGe={code:"ms",formatDistance:Mje,formatLong:Hje,formatRelative:Kje,localize:qje,match:cKe,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Ys(e,u){if(e.one!==void 0&&u===1)return e.one;const t=u%10,r=u%100;return t===1&&r!==11?e.singularNominative.replace("{{count}}",String(u)):t>=2&&t<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(u)):e.pluralGenitive.replace("{{count}}",String(u))}function Wt(e){return(u,t)=>t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Ys(e.future,u):"через "+Ys(e.regular,u):e.past?Ys(e.past,u):Ys(e.regular,u)+" назад":Ys(e.regular,u)}const lKe={lessThanXSeconds:Wt({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:Wt({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,u)=>u!=null&&u.addSuffix?u.comparison&&u.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:Wt({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:Wt({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:Wt({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:Wt({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:Wt({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:Wt({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:Wt({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:Wt({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:Wt({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:Wt({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}
1056),xYears:Wt({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:Wt({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:Wt({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},fKe=(e,u,t)=>lKe[e](u,t),dKe={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},pKe={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},hKe={any:"{{date}}, {{time}}"},mKe={date:Fu({formats:dKe,defaultWidth:"full"}),time:Fu({formats:pKe,defaultWidth:"full"}),dateTime:Fu({formats:hKe,defaultWidth:"any"})},F7=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function gKe(e){const u=F7[e];switch(e){case 0:return"'в прошлое "+u+" в' p";case 1:case 2:case 4:return"'в прошлый "+u+" в' p";case 3:case 5:case 6:return"'в прошлую "+u+" в' p"}}function p_(e){const u=F7[e];return e===2?"'во "+u+" в' p":"'в "+u+" в' p"}function yKe(e){const u=F7[e];switch(e){case 0:return"'в следующее "+u+" в' p";case 1:case 2:case 4:return"'в следующий "+u+" в' p";case 3:case 5:case 6:return"'в следующую "+u+" в' p"}}const vKe={lastWeek:(e,u,t)=>{const r=e.getDay();return tv(e,u,t)?p_(r):gKe(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,u,t)=>{const r=e.getDay();return tv(e,u,t)?p_(r):yKe(r)},other:"P"},BKe=(e,u,t,r)=>{const n=vKe[e];return typeof n=="function"?n(u,t,r):n},wKe={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},bKe={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},xKe={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},CKe={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},DKe={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},SKe={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},FKe={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},_Ke=(e,u)=>{const t=Number(e),r=u==null?void 0:u.unit;let n;return r==="date"?n="-е":r==="week"||r==="minute"||r==="second"?n="-я":n="-й",t+n},IKe={ordinalNumber:_Ke,era:_e({values:wKe,defaultWidth:"wide"}),quarter:_e({values:bKe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_e({values:xKe,defaultWidth:"wide",formattingValues:CKe,defaultFormattingWidth:"wide"}),day:_e({values:DKe,defaultWidth:"wide"}),dayPeriod:_e({values:SKe,defaultWidth:"any",formattingValues:FKe,defaultFormattingWidth:"wide"})},TKe=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,PKe=/\d+/i,OKe={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},kKe={any:[/^д/i,/^н/i]},UKe={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},QKe={any:[/1/i,/2/i,/3/i,/4/i]},LKe={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|оÐ
vendor: 25,708 bytes, lines 1056-1063
1056ºÑ‚|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},MKe={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},RKe={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},NKe={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},$Ke={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},HKe={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},jKe={ordinalNumber:Gi({matchPattern:TKe,parsePattern:PKe,valueCallback:e=>parseInt(e,10)}),era:Ie({matchPatterns:OKe,defaultMatchWidth:"wide",parsePatterns:kKe,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:UKe,defaultMatchWidth:"wide",parsePatterns:QKe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ie({matchPatterns:LKe,defaultMatchWidth:"wide",parsePatterns:MKe,defaultParseWidth:"any"}),day:Ie({matchPatterns:RKe,defaultMatchWidth:"wide",parsePatterns:NKe,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:$Ke,defaultMatchWidth:"wide",parsePatterns:HKe,defaultParseWidth:"any"})},BGe={code:"ru",formatDistance:fKe,formatLong:mKe,formatRelative:BKe,localize:IKe,match:jKe,options:{weekStartsOn:1,firstWeekContainsDate:1}};var f4={},KKe=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},l$={},R0={};let _7;const WKe=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];R0.getSymbolSize=function(u){if(!u)throw new Error('"version" cannot be null or undefined');if(u<1||u>40)throw new Error('"version" should be in range from 1 to 40');return u*4+17};R0.getSymbolTotalCodewords=function(u){return WKe[u]};R0.getBCHDigit=function(e){let u=0;for(;e!==0;)u++,e>>>=1;return u};R0.setToSJISFunction=function(u){if(typeof u!="function")throw new Error('"toSJISFunc" is not a valid function.');_7=u};R0.isKanjiModeEnabled=function(){return typeof _7<"u"};R0.toSJIS=function(u){return _7(u)};var d4={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function u(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,n){if(e.isValid(r))return r;try{return u(r)}catch{return n}}})(d4);function f$(){this.buffer=[],this.length=0}f$.prototype={get:function(e){const u=Math.floor(e/8);return(this.buffer[u]>>>7-e%8&1)===1},put:function(e,u){for(let t=0;t<u;t++)this.putBit((e>>>u-t-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const u=Math.floor(this.length/8);this.buffer.length<=u&&this.buffer.push(0),e&&(this.buffer[u]|=128>>>this.length%8),this.length++}};var VKe=f$;function il(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}il.prototype.set=function(e,u,t,r){const n=e*this.size+u;this.data[n]=t,r&&(this.reservedBit[n]=!0)};il.prototype.get=function(e,u){return this.data[e*this.size+u]};il.prototype.xor=function(e,u,t){this.data[e*this.size+u]^=t};il.prototype.isReserved=function(e,u){return this.reservedBit[e*this.size+u]};var zKe=il,d$={};(function(e){const u=R0.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,i=u(r),E=i===145?26:Math.ceil((i-13)/(2*n-2))*2,o=[i-7];for(let a=1;a<n-1;a++)o[a]=o[a-1]-E;return o.push(6),o.reverse()},e.getPositions=function(r){const n=[],i=e.getRowColCoords(r),E=i.length;for(let o=0;o<E;o++)for(let a=0;a<E;a++)o===0&&a===0||o===0&&a===E-1||o===E-1&&a===0||n.push([i[o],i[a]]);return n}})(d$);var p$={};const GKe=R0.getSymbolSize,h_=7;p$.getPositions=function(u){const t=GKe(u);return[[0,0],[t-h_,0],[0,t-h_]]};var h$={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const u={N1:3,N2:3,N3:40,N4:10};e.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},e.from=function(n){return e.isValid(n)?parseInt(n,10):void 0},e.getPenaltyN1=function(n){const i=n.size;let E=0,o=0,a=0,s=null,A=null;for(let c=0;c<i;c++){o=a=0,s=A=null;for(let l=0;l<i;l++){let f=n.get(c,l);f===s?o++:(o>=5&&(E+=u.N1+(o-5)),s=f,o=1),f=n.get(l,c),f===A?a++:(a>=5&&(E+=u.N1+(a-5)),A=f,a=1)}o>=5&&(E+=u.N1+(o-5)),a>=5&&(E+=u.N1+(a-5))}return E},e.getPenaltyN2=function(n){const i=n.size;let E=0;for(let o=0;o<i-1;o++)for(let a=0;a<i-1;a++){const s=n.get(o,a)+n.get(o,a+1)+n.get(o+1,a)+n.get(o+1,a+1);(s===4||s===0)&&E++}return E*u.N2},e.getPenaltyN3=function(n){const i=n.size;let E=0,o=0,a=0;for(let s=0;s<i;s++){o=a=0;for(let A=0;A<i;A++)o=o<<1&2047|n.get(s,A),A>=10&&(o===1488||o===93)&&E++,a=a<<1&2047|n.get(A,s),A>=10&&(a===1488||a===93)&&E++}return E*u.N3},e.getPenaltyN4=function(n){let i=0;const E=n.data.length;for(let a=0;a<E;a++)i+=n.data[a];return Math.abs(Math.ceil(i*100/E/5)-10)*u.N4};function t(r,n,i){switch(r){case e.Patterns.PATTERN000:return(n+i)%2===0;case e.Patterns.PATTERN001:return n%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(n+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return n*i%2+n*i%3===0;case e.Patterns.PATTERN110:return(n*i%2+n*i%3)%2===0;case e.Patterns.PATTERN111:return(n*i%3+(n+i)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(n,i){const E=i.size;for(let o=0;o<E;o++)for(let a=0;a<E;a++)i.isReserved(a,o)||i.xor(a,o,t(n,a,o))},e.getBestMask=function(n,i){const E=Object.keys(e.Patterns).length;let o=0,a=1/0;for(let s=0;s<E;s++){i(s),e.applyMask(s,n);const A=e.getPenaltyN1(n)+e.getPenaltyN2(n)+e.getPenaltyN3(n)+e.getPenaltyN4(n);e.applyMask(s,n),A<a&&(a=A,o=s)}return o}})(h$);var p4={};const ni=d4,Of=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],kf=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];p4.getBlocksCount=function(u,t){switch(t){case ni.L:return Of[(u-1)*4+0];case ni.M:return Of[(u-1)*4+1];case ni.Q:return Of[(u-1)*4+2];case ni.H:return Of[(u-1)*4+3];default:return}};p4.getTotalCodewordsCount=function(u,t){switch(t){case ni.L:return kf[(u-1)*4+0];case ni.M:return kf[(u-1)*4+1];case ni.Q:return kf[(u-1)*4+2];case ni.H:return kf[(u-1)*4+3];default:return}};var m$={},h4={};const kA=new Uint8Array(512),i2=new Uint8Array(256);(function(){let u=1;for(let t=0;t<255;t++)kA[t]=u,i2[u]=t,u<<=1,u&256&&(u^=285);for(let t=255;t<512;t++)kA[t]=kA[t-255]})();h4.log=function(u){if(u<1)throw new Error("log("+u+")");return i2[u]};h4.exp=function(u){return kA[u]};h4.mul=function(u,t){return u===0||t===0?0:kA[i2[u]+i2[t]]};(function(e){const u=h4;e.mul=function(r,n){const i=new Uint8Array(r.length+n.length-1);for(let E=0;E<r.length;E++)for(let o=0;o<n.length;o++)i[E+o]^=u.mul(r[E],n[o]);return i},e.mod=function(r,n){let i=new Uint8Array(r);for(;i.length-n.length>=0;){const E=i[0];for(let a=0;a<n.length;a++)i[a]^=u.mul(n[a],E);let o=0;for(;o<i.length&&i[o]===0;)o++;i=i.slice(o)}return i},e.generateECPolynomial=function(r){let n=new Uint8Array([1]);for(let i=0;i<r;i++)n=e.mul(n,new Uint8Array([1,u.exp(i)]));return n}})(m$);const g$=m$;function I7(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}I7.prototype.initialize=function(u){this.degree=u,this.genPoly=g$.generateECPolynomial(this.degree)};I7.prototype.encode=function(u){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(u.length+this.degree);t.set(u);const r=g$.mod(t,this.genPoly),n=this.degree-r.length;if(n>0){const i=new Uint8Array(this.degree);return i.set(r,n),i}return r};var YKe=I7,y$={},Xi={},T7={};T7.isValid=function(u){return!isNaN(u)&&u>=1&&u<=40};var An={};const v$="[0-9]+",XKe="[A-Z $%*+\\-./:]+";let xc="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";xc=xc.replace(/u/g,"\\u");const ZKe="(?:(?![A-Z0-9 $%*+\\-./:]|"+xc+`)(?:.|[\r
1057]))+`;An.KANJI=new RegExp(xc,"g");An.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");An.BYTE=new RegExp(ZKe,"g");An.NUMERIC=new RegExp(v$,"g");An.ALPHANUMERIC=new RegExp(XKe,"g");const qKe=new RegExp("^"+xc+"$"),JKe=new RegExp("^"+v$+"$"),eWe=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");An.testKanji=function(u){return qKe.test(u)};An.testNumeric=function(u){return JKe.test(u)};An.testAlphanumeric=function(u){return eWe.test(u)};(function(e){const u=T7,t=An;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,E){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!u.isValid(E))throw new Error("Invalid version: "+E);return E>=1&&E<10?i.ccBits[0]:E<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return t.testNumeric(i)?e.NUMERIC:t.testAlphanumeric(i)?e.ALPHANUMERIC:t.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function r(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+n)}}e.from=function(i,E){if(e.isValid(i))return i;try{return r(i)}catch{return E}}})(Xi);(function(e){const u=R0,t=p4,r=d4,n=Xi,i=T7,E=7973,o=u.getBCHDigit(E);function a(l,f,p){for(let h=1;h<=40;h++)if(f<=e.getCapacity(h,p,l))return h}function s(l,f){return n.getCharCountIndicator(l,f)+4}function A(l,f){let p=0;return l.forEach(function(h){const w=s(h.mode,f);p+=w+h.getBitsLength()}),p}function c(l,f){for(let p=1;p<=40;p++)if(A(l,p)<=e.getCapacity(p,f,n.MIXED))return p}e.from=function(f,p){return i.isValid(f)?parseInt(f,10):p},e.getCapacity=function(f,p,h){if(!i.isValid(f))throw new Error("Invalid QR Code version");typeof h>"u"&&(h=n.BYTE);const w=u.getSymbolTotalCodewords(f),m=t.getTotalCodewordsCount(f,p),g=(w-m)*8;if(h===n.MIXED)return g;const v=g-s(h,f);switch(h){case n.NUMERIC:return Math.floor(v/10*3);case n.ALPHANUMERIC:return Math.floor(v/11*2);case n.KANJI:return Math.floor(v/13);case n.BYTE:default:return Math.floor(v/8)}},e.getBestVersionForData=function(f,p){let h;const w=r.from(p,r.M);if(Array.isArray(f)){if(f.length>1)return c(f,w);if(f.length===0)return 1;h=f[0]}else h=f;return a(h.mode,h.getLength(),w)},e.getEncodedBits=function(f){if(!i.isValid(f)||f<7)throw new Error("Invalid QR Code version");let p=f<<12;for(;u.getBCHDigit(p)-o>=0;)p^=E<<u.getBCHDigit(p)-o;return f<<12|p}})(y$);var B$={};const cv=R0,w$=1335,uWe=21522,m_=cv.getBCHDigit(w$);B$.getEncodedBits=function(u,t){const r=u.bit<<3|t;let n=r<<10;for(;cv.getBCHDigit(n)-m_>=0;)n^=w$<<cv.getBCHDigit(n)-m_;return(r<<10|n)^uWe};var b$={};const tWe=Xi;function Ka(e){this.mode=tWe.NUMERIC,this.data=e.toString()}Ka.getBitsLength=function(u){return 10*Math.floor(u/3)+(u%3?u%3*3+1:0)};Ka.prototype.getLength=function(){return this.data.length};Ka.prototype.getBitsLength=function(){return Ka.getBitsLength(this.data.length)};Ka.prototype.write=function(u){let t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),u.put(n,10);const i=this.data.length-t;i>0&&(r=this.data.substr(t),n=parseInt(r,10),u.put(n,i*3+1))};var rWe=Ka;const nWe=Xi,K3=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Wa(e){this.mode=nWe.ALPHANUMERIC,this.data=e}Wa.getBitsLength=function(u){return 11*Math.floor(u/2)+6*(u%2)};Wa.prototype.getLength=function(){return this.data.length};Wa.prototype.getBitsLength=function(){return Wa.getBitsLength(this.data.length)};Wa.prototype.write=function(u){let t;for(t=0;t+2<=this.data.length;t+=2){let r=K3.indexOf(this.data[t])*45;r+=K3.indexOf(this.data[t+1]),u.put(r,11)}this.data.length%2&&u.put(K3.indexOf(this.data[t]),6)};var iWe=Wa;const EWe=Xi;function Va(e){this.mode=EWe.BYTE,typeof e=="string"?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}Va.getBitsLength=function(u){return u*8};Va.prototype.getLength=function(){return this.data.length};Va.prototype.getBitsLength=function(){return Va.getBitsLength(this.data.length)};Va.prototype.write=function(e){for(let u=0,t=this.data.length;u<t;u++)e.put(this.data[u],8)};var oWe=Va;const aWe=Xi,sWe=R0;function za(e){this.mode=aWe.KANJI,this.data=e}za.getBitsLength=function(u){return u*13};za.prototype.getLength=function(){return this.data.length};za.prototype.getBitsLength=function(){return za.getBitsLength(this.data.length)};za.prototype.write=function(e){let u;for(u=0;u<this.data.length;u++){let t=sWe.toSJIS(this.data[u]);if(t>=33088&&t<=40956)t-=33088;else if(t>=57408&&t<=60351)t-=49472;else throw new Error("Invalid SJIS character: "+this.data[u]+`
1058Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),e.put(t,13)}};var AWe=za,x$={exports:{}};(function(e){var u={single_source_shortest_paths:function(t,r,n){var i={},E={};E[r]=0;var o=u.PriorityQueue.make();o.push(r,0);for(var a,s,A,c,l,f,p,h,w;!o.empty();){a=o.pop(),s=a.value,c=a.cost,l=t[s]||{};for(A in l)l.hasOwnProperty(A)&&(f=l[A],p=c+f,h=E[A],w=typeof E[A]>"u",(w||h>p)&&(E[A]=p,o.push(A,p),i[A]=s))}if(typeof n<"u"&&typeof E[n]>"u"){var m=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(t,r){for(var n=[],i=r;i;)n.push(i),t[i],i=t[i];return n.reverse(),n},find_path:function(t,r,n){var i=u.single_source_shortest_paths(t,r,n);return u.extract_shortest_path_from_predecessor_list(i,n)},PriorityQueue:{make:function(t){var r=u.PriorityQueue,n={},i;t=t||{};for(i in r)r.hasOwnProperty(i)&&(n[i]=r[i]);return n.queue=[],n.sorter=t.sorter||r.default_sorter,n},default_sorter:function(t,r){return t.cost-r.cost},push:function(t,r){var n={value:t,cost:r};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=u})(x$);var cWe=x$.exports;(function(e){const u=Xi,t=rWe,r=iWe,n=oWe,i=AWe,E=An,o=R0,a=cWe;function s(m){return unescape(encodeURIComponent(m)).length}function A(m,g,v){const d=[];let y;for(;(y=m.exec(v))!==null;)d.push({data:y[0],index:y.index,mode:g,length:y[0].length});return d}function c(m){const g=A(E.NUMERIC,u.NUMERIC,m),v=A(E.ALPHANUMERIC,u.ALPHANUMERIC,m);let d,y;return o.isKanjiModeEnabled()?(d=A(E.BYTE,u.BYTE,m),y=A(E.KANJI,u.KANJI,m)):(d=A(E.BYTE_KANJI,u.BYTE,m),y=[]),g.concat(v,d,y).sort(function(C,S){return C.index-S.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function l(m,g){switch(g){case u.NUMERIC:return t.getBitsLength(m);case u.ALPHANUMERIC:return r.getBitsLength(m);case u.KANJI:return i.getBitsLength(m);case u.BYTE:return n.getBitsLength(m)}}function f(m){return m.reduce(function(g,v){const d=g.length-1>=0?g[g.length-1]:null;return d&&d.mode===v.mode?(g[g.length-1].data+=v.data,g):(g.push(v),g)},[])}function p(m){const g=[];for(let v=0;v<m.length;v++){const d=m[v];switch(d.mode){case u.NUMERIC:g.push([d,{data:d.data,mode:u.ALPHANUMERIC,length:d.length},{data:d.data,mode:u.BYTE,length:d.length}]);break;case u.ALPHANUMERIC:g.push([d,{data:d.data,mode:u.BYTE,length:d.length}]);break;case u.KANJI:g.push([d,{data:d.data,mode:u.BYTE,length:s(d.data)}]);break;case u.BYTE:g.push([{data:d.data,mode:u.BYTE,length:s(d.data)}])}}return g}function h(m,g){const v={},d={start:{}};let y=["start"];for(let b=0;b<m.length;b++){const C=m[b],S=[];for(let F=0;F<C.length;F++){const I=C[F],R=""+b+F;S.push(R),v[R]={node:I,lastCount:0},d[R]={};for(let X=0;X<y.length;X++){const J=y[X];v[J]&&v[J].node.mode===I.mode?(d[J][R]=l(v[J].lastCount+I.length,I.mode)-l(v[J].lastCount,I.mode),v[J].lastCount+=I.length):(v[J]&&(v[J].lastCount=I.length),d[J][R]=l(I.length,I.mode)+4+u.getCharCountIndicator(I.mode,g))}}y=S}for(let b=0;b<y.length;b++)d[y[b]].end=0;return{map:d,table:v}}function w(m,g){let v;const d=u.getBestModeForData(m);if(v=u.from(g,d),v!==u.BYTE&&v.bit<d.bit)throw new Error('"'+m+'" cannot be encoded with mode '+u.toString(v)+`.
1059 Suggested mode is: `+u.toString(d));switch(v===u.KANJI&&!o.isKanjiModeEnabled()&&(v=u.BYTE),v){case u.NUMERIC:return new t(m);case u.ALPHANUMERIC:return new r(m);case u.KANJI:return new i(m);case u.BYTE:return new n(m)}}e.fromArray=function(g){return g.reduce(function(v,d){return typeof d=="string"?v.push(w(d,null)):d.data&&v.push(w(d.data,d.mode)),v},[])},e.fromString=function(g,v){const d=c(g,o.isKanjiModeEnabled()),y=p(d),b=h(y,v),C=a.find_path(b.map,"start","end"),S=[];for(let F=1;F<C.length-1;F++)S.push(b.table[C[F]].node);return e.fromArray(f(S))},e.rawSplit=function(g){return e.fromArray(c(g,o.isKanjiModeEnabled()))}})(b$);const m4=R0,W3=d4,lWe=VKe,fWe=zKe,dWe=d$,pWe=p$,lv=h$,fv=p4,hWe=YKe,E2=y$,mWe=B$,gWe=Xi,V3=b$;function yWe(e,u){const t=e.size,r=pWe.getPositions(u);for(let n=0;n<r.length;n++){const i=r[n][0],E=r[n][1];for(let o=-1;o<=7;o++)if(!(i+o<=-1||t<=i+o))for(let a=-1;a<=7;a++)E+a<=-1||t<=E+a||(o>=0&&o<=6&&(a===0||a===6)||a>=0&&a<=6&&(o===0||o===6)||o>=2&&o<=4&&a>=2&&a<=4?e.set(i+o,E+a,!0,!0):e.set(i+o,E+a,!1,!0))}}function vWe(e){const u=e.size;for(let t=8;t<u-8;t++){const r=t%2===0;e.set(t,6,r,!0),e.set(6,t,r,!0)}}function BWe(e,u){const t=dWe.getPositions(u);for(let r=0;r<t.length;r++){const n=t[r][0],i=t[r][1];for(let E=-2;E<=2;E++)for(let o=-2;o<=2;o++)E===-2||E===2||o===-2||o===2||E===0&&o===0?e.set(n+E,i+o,!0,!0):e.set(n+E,i+o,!1,!0)}}function wWe(e,u){const t=e.size,r=E2.getEncodedBits(u);let n,i,E;for(let o=0;o<18;o++)n=Math.floor(o/3),i=o%3+t-8-3,E=(r>>o&1)===1,e.set(n,i,E,!0),e.set(i,n,E,!0)}function z3(e,u,t){const r=e.size,n=mWe.getEncodedBits(u,t);let i,E;for(i=0;i<15;i++)E=(n>>i&1)===1,i<6?e.set(i,8,E,!0):i<8?e.set(i+1,8,E,!0):e.set(r-15+i,8,E,!0),i<8?e.set(8,r-i-1,E,!0):i<9?e.set(8,15-i-1+1,E,!0):e.set(8,15-i-1,E,!0);e.set(r-8,8,1,!0)}function bWe(e,u){const t=e.size;let r=-1,n=t-1,i=7,E=0;for(let o=t-1;o>0;o-=2)for(o===6&&o--;;){for(let a=0;a<2;a++)if(!e.isReserved(n,o-a)){let s=!1;E<u.length&&(s=(u[E]>>>i&1)===1),e.set(n,o-a,s),i--,i===-1&&(E++,i=7)}if(n+=r,n<0||t<=n){n-=r,r=-r;break}}}function xWe(e,u,t){const r=new lWe;t.forEach(function(a){r.put(a.mode.bit,4),r.put(a.getLength(),gWe.getCharCountIndicator(a.mode,e)),a.write(r)});const n=m4.getSymbolTotalCodewords(e),i=fv.getTotalCodewordsCount(e,u),E=(n-i)*8;for(r.getLengthInBits()+4<=E&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const o=(E-r.getLengthInBits())/8;for(let a=0;a<o;a++)r.put(a%2?17:236,8);return CWe(r,e,u)}function CWe(e,u,t){const r=m4.getSymbolTotalCodewords(u),n=fv.getTotalCodewordsCount(u,t),i=r-n,E=fv.getBlocksCount(u,t),o=r%E,a=E-o,s=Math.floor(r/E),A=Math.floor(i/E),c=A+1,l=s-A,f=new hWe(l);let p=0;const h=new Array(E),w=new Array(E);let m=0;const g=new Uint8Array(e.buffer);for(let C=0;C<E;C++){const S=C<a?A:c;h[C]=g.slice(p,p+S),w[C]=f.encode(h[C]),p+=S,m=Math.max(m,S)}const v=new Uint8Array(r);let d=0,y,b;for(y=0;y<m;y++)for(b=0;b<E;b++)y<h[b].length&&(v[d++]=h[b][y]);for(y=0;y<l;y++)for(b=0;b<E;b++)v[d++]=w[b][y];return v}function DWe(e,u,t,r){let n;if(Array.isArray(e))n=V3.fromArray(e);else if(typeof e=="string"){let s=u;if(!s){const A=V3.rawSplit(e);s=E2.getBestVersionForData(A,t)}n=V3.fromString(e,s||40)}else throw new Error("Invalid data");const i=E2.getBestVersionForData(n,t);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!u)u=i;else if(u<i)throw new Error(`
1060The chosen QR Code version cannot contain this amount of data.
1061Minimum version required to store current data is: `+i+`.
1062`);const E=xWe(u,t,n),o=m4.getSymbolSize(u),a=new fWe(o);return yWe(a,u),vWe(a),BWe(a,u),z3(a,t,0),u>=7&&wWe(a,u),bWe(a,E),isNaN(r)&&(r=lv.getBestMask(a,z3.bind(null,a,t))),lv.applyMask(r,a),z3(a,t,r),{modules:a,version:u,errorCorrectionLevel:t,maskPattern:r,segments:n}}l$.create=function(u,t){if(typeof u>"u"||u==="")throw new Error("No input text");let r=W3.M,n,i;return typeof t<"u"&&(r=W3.from(t.errorCorrectionLevel,W3.M),n=E2.from(t.version),i=lv.from(t.maskPattern),t.toSJISFunc&&m4.setToSJISFunction(t.toSJISFunc)),DWe(u,n,r,i)};var C$={},P7={};(function(e){function u(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let r=t.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+t);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(i){return[i,i]}))),r.length===6&&r.push("F","F");const n=parseInt(r.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const n=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,i=r.width&&r.width>=21?r.width:void 0,E=r.scale||4;return{width:i,scale:i?4:E,margin:n,color:{dark:u(r.color.dark||"#000000ff"),light:u(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,n){return n.width&&n.width>=r+n.margin*2?n.width/(r+n.margin*2):n.scale},e.getImageWidth=function(r,n){const i=e.getScale(r,n);return Math.floor((r+n.margin*2)*i)},e.qrToImageData=function(r,n,i){const E=n.modules.size,o=n.modules.data,a=e.getScale(E,i),s=Math.floor((E+i.margin*2)*a),A=i.margin*a,c=[i.color.light,i.color.dark];for(let l=0;l<s;l++)for(let f=0;f<s;f++){let p=(l*s+f)*4,h=i.color.light;if(l>=A&&f>=A&&l<s-A&&f<s-A){const w=Math.floor((l-A)/a),m=Math.floor((f-A)/a);h=c[o[w*E+m]?1:0]}r[p++]=h.r,r[p++]=h.g,r[p++]=h.b,r[p]=h.a}}})(P7);(function(e){const u=P7;function t(n,i,E){n.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=E,i.width=E,i.style.height=E+"px",i.style.width=E+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,E,o){let a=o,s=E;typeof a>"u"&&(!E||!E.getContext)&&(a=E,E=void 0),E||(s=r()),a=u.getOptions(a);const A=u.getImageWidth(i.modules.size,a),c=s.getContext("2d"),l=c.createImageData(A,A);return u.qrToImageData(l.data,i,a),t(c,s,A),c.putImageData(l,0,0),s},e.renderToDataURL=function(i,E,o){let a=o;typeof a>"u"&&(!E||!E.getContext)&&(a=E,E=void 0),a||(a={});const s=e.render(i,E,a),A=a.type||"image/png",c=a.rendererOpts||{};return s.toDataURL(A,c.quality)}})(C$);var D$={};const SWe=P7;function g_(e,u){const t=e.a/255,r=u+'="'+e.hex+'"';return t<1?r+" "+u+'-opacity="'+t.toFixed(2).slice(1)+'"':r}function G3(e,u,t){let r=e+u;return typeof t<"u"&&(r+=" "+t),r}function FWe(e,u,t){let r="",n=0,i=!1,E=0;for(let o=0;o<e.length;o++){const a=Math.floor(o%u),s=Math.floor(o/u);!a&&!i&&(i=!0),e[o]?(E++,o>0&&a>0&&e[o-1]||(r+=i?G3("M",a+t,.5+s+t):G3("m",n,0),n=0,i=!1),a+1<u&&e[o+1]||(r+=G3("h",E),E=0)):n++}return r}D$.render=function(u,t,r){const n=SWe.getOptions(t),i=u.modules.size,E=u.modules.data,o=i+n.margin*2,a=n.color.light.a?"<path "+g_(n.color.light,"fill")+' d="M0 0h'+o+"v"+o+'H0z"/>':"",s="<path "+g_(n.color.dark,"stroke")+' d="'+FWe(E,i,n.margin)+'"/>',A='viewBox="0 0 '+o+" "+o+'"',l='<svg xmlns="http://www.w3.org/2000/svg" '+(n.width?'width="'+n.width+'" height="'+n.width+'" ':"")+A+' shape-rendering="crispEdges">'+a+s+`</svg>
1063`;return typeof r=="function"&&r(null,l),l};const _We=KKe,dv=l$,S$=C$,IWe=D$;
vendor: 5,855 bytes, lines 1063-1068
1063function O7(e,u,t,r,n){const i=[].slice.call(arguments,1),E=i.length,o=typeof i[E-1]=="function";if(!o&&!_We())throw new Error("Callback required as last argument");if(o){if(E<2)throw new Error("Too few arguments provided");E===2?(n=t,t=u,u=r=void 0):E===3&&(u.getContext&&typeof n>"u"?(n=r,r=void 0):(n=r,r=t,t=u,u=void 0))}else{if(E<1)throw new Error("Too few arguments provided");return E===1?(t=u,u=r=void 0):E===2&&!u.getContext&&(r=t,t=u,u=void 0),new Promise(function(a,s){try{const A=dv.create(t,r);a(e(A,u,r))}catch(A){s(A)}})}try{const a=dv.create(t,r);n(null,e(a,u,r))}catch(a){n(a)}}f4.create=dv.create;f4.toCanvas=O7.bind(null,S$.render);f4.toDataURL=O7.bind(null,S$.renderToDataURL);f4.toString=O7.bind(null,function(e,u,t){return IWe.render(e,t)});var ft={},g4={};g4.byteLength=OWe;g4.toByteArray=UWe;g4.fromByteArray=MWe;var Wr=[],K0=[],TWe=typeof Uint8Array<"u"?Uint8Array:Array,Y3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Fo=0,PWe=Y3.length;Fo<PWe;++Fo)Wr[Fo]=Y3[Fo],K0[Y3.charCodeAt(Fo)]=Fo;K0[45]=62;K0[95]=63;function F$(e){var u=e.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=u);var r=t===u?0:4-t%4;return[t,r]}function OWe(e){var u=F$(e),t=u[0],r=u[1];return(t+r)*3/4-r}function kWe(e,u,t){return(u+t)*3/4-t}function UWe(e){var u,t=F$(e),r=t[0],n=t[1],i=new TWe(kWe(e,r,n)),E=0,o=n>0?r-4:r,a;for(a=0;a<o;a+=4)u=K0[e.charCodeAt(a)]<<18|K0[e.charCodeAt(a+1)]<<12|K0[e.charCodeAt(a+2)]<<6|K0[e.charCodeAt(a+3)],i[E++]=u>>16&255,i[E++]=u>>8&255,i[E++]=u&255;return n===2&&(u=K0[e.charCodeAt(a)]<<2|K0[e.charCodeAt(a+1)]>>4,i[E++]=u&255),n===1&&(u=K0[e.charCodeAt(a)]<<10|K0[e.charCodeAt(a+1)]<<4|K0[e.charCodeAt(a+2)]>>2,i[E++]=u>>8&255,i[E++]=u&255),i}function QWe(e){return Wr[e>>18&63]+Wr[e>>12&63]+Wr[e>>6&63]+Wr[e&63]}function LWe(e,u,t){for(var r,n=[],i=u;i<t;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(e[i+2]&255),n.push(QWe(r));return n.join("")}function MWe(e){for(var u,t=e.length,r=t%3,n=[],i=16383,E=0,o=t-r;E<o;E+=i)n.push(LWe(e,E,E+i>o?o:E+i));return r===1?(u=e[t-1],n.push(Wr[u>>2]+Wr[u<<4&63]+"==")):r===2&&(u=(e[t-2]<<8)+e[t-1],n.push(Wr[u>>10]+Wr[u>>4&63]+Wr[u<<2&63]+"=")),n.join("")}var k7={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */k7.read=function(e,u,t,r,n){var i,E,o=n*8-r-1,a=(1<<o)-1,s=a>>1,A=-7,c=t?n-1:0,l=t?-1:1,f=e[u+c];for(c+=l,i=f&(1<<-A)-1,f>>=-A,A+=o;A>0;i=i*256+e[u+c],c+=l,A-=8);for(E=i&(1<<-A)-1,i>>=-A,A+=r;A>0;E=E*256+e[u+c],c+=l,A-=8);if(i===0)i=1-s;else{if(i===a)return E?NaN:(f?-1:1)*(1/0);E=E+Math.pow(2,r),i=i-s}return(f?-1:1)*E*Math.pow(2,i-r)};k7.write=function(e,u,t,r,n,i){var E,o,a,s=i*8-n-1,A=(1<<s)-1,c=A>>1,l=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,p=r?1:-1,h=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(o=isNaN(u)?1:0,E=A):(E=Math.floor(Math.log(u)/Math.LN2),u*(a=Math.pow(2,-E))<1&&(E--,a*=2),E+c>=1?u+=l/a:u+=l*Math.pow(2,1-c),u*a>=2&&(E++,a/=2),E+c>=A?(o=0,E=A):E+c>=1?(o=(u*a-1)*Math.pow(2,n),E=E+c):(o=u*Math.pow(2,c-1)*Math.pow(2,n),E=0));n>=8;e[t+f]=o&255,f+=p,o/=256,n-=8);for(E=E<<n|o,s+=n;s>0;e[t+f]=E&255,f+=p,E/=256,s-=8);e[t+f-p]|=h*128};/*!
1064 * The buffer module from node.js, for the browser.
1065 *
1066 * @author   Feross Aboukhadijeh <https://feross.org>
1067 * @license  MIT
1068 */(function(e){var u=g4,t=k7,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50;var n=2147483647;e.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=i(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var _=new Uint8Array(1),x={foo:function(){return 42}};return Object.setPrototypeOf(x,Uint8Array.prototype),Object.setPrototypeOf(_,x),_.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function E(_){if(_>n)throw new RangeError('The value "'+_+'" is invalid for option "size"');var x=new Uint8Array(_);return Object.setPrototypeOf(x,o.prototype),x}function o(_,x,D){if(typeof _=="number"){if(typeof x=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(_)}return a(_,x,D)}o.poolSize=8192;function a(_,x,D){if(typeof _=="string")return l(_,x);if(ArrayBuffer.isView(_))return p(_);if(_==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _);if(Le(_,ArrayBuffer)||_&&Le(_.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(_,SharedArrayBuffer)||_&&Le(_.buffer,SharedArrayBuffer)))return h(_,x,D);if(typeof _=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var O=_.valueOf&&_.valueOf();if(O!=null&&O!==_)return o.from(O,x,D);var V=w(_);if(V)return V;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof _[Symbol.toPrimitive]=="function")return o.from(_[Symbol.toPrimitive]("string"),x,D);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _)}o.from=function(_,x,D){return a(_,x,D)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function s(_){if(typeof _!="number")throw new TypeError('"size" argument must be of type number');if(_<0)throw new RangeError('The value "'+_+'" is invalid for option "size"')}function A(_,x,D){return s(_),_<=0?E(_):x!==void 0?typeof D=="str
1068ing"?E(_).fill(x,D):E(_).fill(x):E(_)}o.alloc=function(_,x,D){return A(_,x,D)};function c(_){return s(_),E(_<0?0:m(_)|0)}o.allocUnsafe=function(_){return c(_)},o.allocUnsafeSlow=function(_){return c(_)};function l(_,x){if((typeof x!="string"||x==="")&&(x="utf8"),!o.isEncoding(x))throw new TypeError("Unknown encoding: "+x);var D=v(_,x)|0,O=E(D),V=O.write(_,x);return V!==D&&(O=O.slice(0,V)),O}function f(_){for(var x=_.length<0?0:m(_.length)|0,D=E(x),O=0;O<x;O+=1)D[O]=_[O]&255;return D}function p(_){if(Le(_,Uint8Array)){var x=new Uint8Array(_);return h(x.buffer,x.byteOffset,x.byteLength)}return f(_)}function h(_,x,D){if(x<0||_.byteLength<x)throw new RangeError('"offset" is outside of buffer bounds');if(_.byteLength<x+(D||0))throw new RangeError('"length" is outside of buffer bounds');var O;return x===void 0&&D===void 0?O=new Uint8Array(_):D===void 0?O=new Uint8Array(_,x):O=new Uint8Array(_,x,D),Object.setPrototypeOf(O,o.prototype),O}function w(_){if(o.isBuffer(_)){var x=m(_.length)|0,D=E(x);return D.length===0||_.copy(D,0,0,x),D}if(_.length!==void 0)return typeof _.length!="number"||De(_.length)?E(0):f(_);if(_.type==="Buffer"&&Array.isArray(_.data))return f(_.data)}function m(_){if(_>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return _|0}function g(_){return+_!=_&&(_=0),o.alloc(+_)}o.isBuffer=function(x){return x!=null&&x._isBuffer===!0&&x!==o.prototype},o.compare=function(x,D){if(Le(x,Uint8Array)&&(x=o.from(x,x.offset,x.byteLength)),Le(D,Uint8Array)&&(D=o.from(D,D.offset,D.byteLength)),!o.isBuffer(x)||!o.isBuffer(D))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(x===D)return 0;for(var O=x.length,V=D.length,oe=0,ie=Math.min(O,V);oe<ie;++oe)if(x[oe]!==D[oe]){O=x[oe],V=D[oe];break}return O<V?-1:V<O?1:0},o.isEncoding=function(x){switch(String(x).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(x,D){if(!Array.isArray(x))throw new TypeError('"list" argument must be an Array of Buffers');if(x.length===0)return o.alloc(0);var O;if(D===void 0)for(D=0,O=0;O<x.length;++O)D+=x[O].length;var V=o.allocUnsafe(D),oe=0;for(O=0;O<x.length;++O){var ie=x[O];if(Le(ie,Uint8Array))oe+ie.length>V.length?o.from(ie).copy(V,oe):Uint8Array.prototype.set.call(V,ie,oe);else if(o.isBuffer(ie))ie.copy(V,oe);else throw new TypeError('"list" argument must be an Array of Buffers');oe+=ie.length}return V};function v(_,x){if(o.isBuffer(_))return _.length;if(ArrayBuffer.isView(_)||Le(_,ArrayBuffer))return _.byteLength;if(typeof _!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _);var D=_.length,O=arguments.length>2&&arguments[2]===!0;if(!O&&D===0)return 0;for(var V=!1;;)switch(x){case"ascii":case"latin1":case"binary":return D;case"utf8":case"utf-8":return fe(_).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D*2;case"hex":return D>>>1;case"base64":return ze(_).length;default:if(V)return O?-1:fe(_).length;x=(""+x).toLowerCase(),V=!0}}o.byteLength=v;function d(_,x,D){var O=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((D===void 0||D>this.length)&&(D=this.length),D<=0)||(D>>>=0,x>>>=0,D<=x))return"";for(_||(_="utf8");;)switch(_){case"hex":return Z(this,x,D);case"utf8":case"utf-8":return ee(this,x,D);case"ascii":return ue(this,x,D);case"latin1":case"binary":return N(this,x,D);case"base64":return J(this,x,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,x,D);default:if(O)throw new TypeError("Unknown encoding: "+_);_=(_+"").toLowerCase(),O=!0}}o.prototype._isBuffer=!0;function y(_,x,D){var O=_[x];_[x]=_[D],_[D]=O}o.prototype.swap16=function(){var x=this.length;if(x%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var D=0;D<x;D+=2)y(this,D,D+1);return this},o.prototype.swap32=function(){var x=this.length;if(x%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var D=0;D<x;D+=4)y(this,D,D+3),y(this,D+1,D+2);return this},o.prototype.swap64=function(){var x=this.length;if(x%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var D=0;D<x;D+=8)y(this,D,D+7),y(this,D+1,D+6),y(this,D+2,D+5),y(this,D+3,D+4);return this},o.prototype.toString=function(){var x=this.length;return x===0?"":arguments.length===0?ee(this,0,x):d.apply(this,arguments)}
vendor: 1,128 bytes, line 1068
1068,o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(x){if(!o.isBuffer(x))throw new TypeError("Argument must be a Buffer");return this===x?!0:o.compare(this,x)===0},o.prototype.inspect=function(){var x="",D=e.INSPECT_MAX_BYTES;return x=this.toString("hex",0,D).replace(/(.{2})/g,"$1 ").trim(),this.length>D&&(x+=" ... "),"<Buffer "+x+">"},r&&(o.prototype[r]=o.prototype.inspect),o.prototype.compare=function(x,D,O,V,oe){if(Le(x,Uint8Array)&&(x=o.from(x,x.offset,x.byteLength)),!o.isBuffer(x))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof x);if(D===void 0&&(D=0),O===void 0&&(O=x?x.length:0),V===void 0&&(V=0),oe===void 0&&(oe=this.length),D<0||O>x.length||V<0||oe>this.length)throw new RangeError("out of range index");if(V>=oe&&D>=O)return 0;if(V>=oe)return-1;if(D>=O)return 1;if(D>>>=0,O>>>=0,V>>>=0,oe>>>=0,this===x)return 0;for(var ie=oe-V,be=O-D,Re=Math.min(ie,be),Ne=this.slice(V,oe),Ru=x.slice(D,O),ou=0;ou<Re;++ou)if(Ne[ou]!==Ru[ou]){ie=Ne[ou],be=Ru[ou];break}return ie<be?-1:be<ie?1:0};function b(_,x,D,O,V){if(_.length===0)return-1;
vendor: 1,808 bytes, line 1068
1068if(typeof D=="string"?(O=D,D=0):D>2147483647?D=2147483647:D<-2147483648&&(D=-2147483648),D=+D,De(D)&&(D=V?0:_.length-1),D<0&&(D=_.length+D),D>=_.length){if(V)return-1;D=_.length-1}else if(D<0)if(V)D=0;else return-1;if(typeof x=="string"&&(x=o.from(x,O)),o.isBuffer(x))return x.length===0?-1:C(_,x,D,O,V);if(typeof x=="number")return x=x&255,typeof Uint8Array.prototype.indexOf=="function"?V?Uint8Array.prototype.indexOf.call(_,x,D):Uint8Array.prototype.lastIndexOf.call(_,x,D):C(_,[x],D,O,V);throw new TypeError("val must be string, number or Buffer")}function C(_,x,D,O,V){var oe=1,ie=_.length,be=x.length;if(O!==void 0&&(O=String(O).toLowerCase(),O==="ucs2"||O==="ucs-2"||O==="utf16le"||O==="utf-16le")){if(_.length<2||x.length<2)return-1;oe=2,ie/=2,be/=2,D/=2}function Re(io,Eo){return oe===1?io[Eo]:io.readUInt16BE(Eo*oe)}var Ne;if(V){var Ru=-1;for(Ne=D;Ne<ie;Ne++)if(Re(_,Ne)===Re(x,Ru===-1?0:Ne-Ru)){if(Ru===-1&&(Ru=Ne),Ne-Ru+1===be)return Ru*oe}else Ru!==-1&&(Ne-=Ne-Ru),Ru=-1}else for(D+be>ie&&(D=ie-be),Ne=D;Ne>=0;Ne--){for(var ou=!0,Un=0;Un<be;Un++)if(Re(_,Ne+Un)!==Re(x,Un)){ou=!1;break}if(ou)return Ne}return-1}o.prototype.includes=function(x,D,O){return this.indexOf(x,D,O)!==-1},o.prototype.indexOf=function(x,D,O){return b(this,x,D,O,!0)},o.prototype.lastIndexOf=function(x,D,O){return b(this,x,D,O,!1)};function S(_,x,D,O){D=Number(D)||0;var V=_.length-D;O?(O=Number(O),O>V&&(O=V)):O=V;var oe=x.length;O>oe/2&&(O=oe/2);for(var ie=0;ie<O;++ie){var be=parseInt(x.substr(ie*2,2),16);if(De(be))return ie;_[D+ie]=be}return ie}function F(_,x,D,O){return Qe(fe(x,_.length-D),_,D,O)}function I(_,x,D,O){return Qe(Ve(x),_,D,O)}function R(_,x,D,O){return Qe(ze(x),_,D,O)}function X(_,x,D,O){return Qe(Xe(x,_.length-D),_,D,O)}o.prototype.write=function(x,D,O,V){if(D===void 0)V="utf8",O=this.length,D=0;
vendor: 11,766 bytes, line 1068
1068else if(O===void 0&&typeof D=="string")V=D,O=this.length,D=0;else if(isFinite(D))D=D>>>0,isFinite(O)?(O=O>>>0,V===void 0&&(V="utf8")):(V=O,O=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-D;if((O===void 0||O>oe)&&(O=oe),x.length>0&&(O<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");V||(V="utf8");for(var ie=!1;;)switch(V){case"hex":return S(this,x,D,O);case"utf8":case"utf-8":return F(this,x,D,O);case"ascii":case"latin1":case"binary":return I(this,x,D,O);case"base64":return R(this,x,D,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,x,D,O);default:if(ie)throw new TypeError("Unknown encoding: "+V);V=(""+V).toLowerCase(),ie=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function J(_,x,D){return x===0&&D===_.length?u.fromByteArray(_):u.fromByteArray(_.slice(x,D))}function ee(_,x,D){D=Math.min(_.length,D);for(var O=[],V=x;V<D;){var oe=_[V],ie=null,be=oe>239?4:oe>223?3:oe>191?2:1;if(V+be<=D){var Re,Ne,Ru,ou;switch(be){case 1:oe<128&&(ie=oe);break;case 2:Re=_[V+1],(Re&192)===128&&(ou=(oe&31)<<6|Re&63,ou>127&&(ie=ou));break;case 3:Re=_[V+1],Ne=_[V+2],(Re&192)===128&&(Ne&192)===128&&(ou=(oe&15)<<12|(Re&63)<<6|Ne&63,ou>2047&&(ou<55296||ou>57343)&&(ie=ou));break;case 4:Re=_[V+1],Ne=_[V+2],Ru=_[V+3],(Re&192)===128&&(Ne&192)===128&&(Ru&192)===128&&(ou=(oe&15)<<18|(Re&63)<<12|(Ne&63)<<6|Ru&63,ou>65535&&ou<1114112&&(ie=ou))}}ie===null?(ie=65533,be=1):ie>65535&&(ie-=65536,O.push(ie>>>10&1023|55296),ie=56320|ie&1023),O.push(ie),V+=be}return j(O)}var L=4096;function j(_){var x=_.length;if(x<=L)return String.fromCharCode.apply(String,_);for(var D="",O=0;O<x;)D+=String.fromCharCode.apply(String,_.slice(O,O+=L));return D}function ue(_,x,D){var O="";D=Math.min(_.length,D);for(var V=x;V<D;++V)O+=String.fromCharCode(_[V]&127);return O}function N(_,x,D){var O="";D=Math.min(_.length,D);for(var V=x;V<D;++V)O+=String.fromCharCode(_[V]);return O}function Z(_,x,D){var O=_.length;(!x||x<0)&&(x=0),(!D||D<0||D>O)&&(D=O);for(var V="",oe=x;oe<D;++oe)V+=Me[_[oe]];return V}function q(_,x,D){for(var O=_.slice(x,D),V="",oe=0;oe<O.length-1;oe+=2)V+=String.fromCharCode(O[oe]+O[oe+1]*256);return V}o.prototype.slice=function(x,D){var O=this.length;x=~~x,D=D===void 0?O:~~D,x<0?(x+=O,x<0&&(x=0)):x>O&&(x=O),D<0?(D+=O,D<0&&(D=0)):D>O&&(D=O),D<x&&(D=x);var V=this.subarray(x,D);return Object.setPrototypeOf(V,o.prototype),V};function k(_,x,D){if(_%1!==0||_<0)throw new RangeError("offset is not uint");if(_+x>D)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(x,D,O){x=x>>>0,D=D>>>0,O||k(x,D,this.length);for(var V=this[x],oe=1,ie=0;++ie<D&&(oe*=256);)V+=this[x+ie]*oe;return V},o.prototype.readUintBE=o.prototype.readUIntBE=function(x,D,O){x=x>>>0,D=D>>>0,O||k(x,D,this.length);for(var V=this[x+--D],oe=1;D>0&&(oe*=256);)V+=this[x+--D]*oe;return V},o.prototype.readUint8=o.prototype.readUInt8=function(x,D){return x=x>>>0,D||k(x,1,this.length),this[x]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(x,D){return x=x>>>0,D||k(x,2,this.length),this[x]|this[x+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(x,D){return x=x>>>0,D||k(x,2,this.length),this[x]<<8|this[x+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(x,D){return x=x>>>0,D||k(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+this[x+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(x,D){return x=x>>>0,D||k(x,4,this.length),this[x]*16777216+(this[x+1]<<16|this[x+2]<<8|this[x+3])},o.prototype.readIntLE=function(x,D,O){x=x>>>0,D=D>>>0,O||k(x,D,this.length);for(var V=this[x],oe=1,ie=0;++ie<D&&(oe*=256);)V+=this[x+ie]*oe;return oe*=128,V>=oe&&(V-=Math.pow(2,8*D)),V},o.prototype.readIntBE=function(x,D,O){x=x>>>0,D=D>>>0,O||k(x,D,this.length);for(var V=D,oe=1,ie=this[x+--V];V>0&&(oe*=256);)ie+=this[x+--V]*oe;return oe*=128,ie>=oe&&(ie-=Math.pow(2,8*D)),ie},o.prototype.readInt8=function(x,D){return x=x>>>0,D||k(x,1,this.length),this[x]&128?(255-this[x]+1)*-1:this[x]},o.prototype.readInt16LE=function(x,D){x=x>>>0,D||k(x,2,this.length);var O=this[x]|this[x+1]<<8;return O&32768?O|4294901760:O},o.prototype.readInt16BE=function(x,D){x=x>>>0,D||k(x,2,this.length);var O=this[x+1]|this[x]<<8;return O&32768?O|4294901760:O},o.prototype.readInt32LE=function(x,D){return x=x>>>0,D||k(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},o.prototype.readInt32BE=function(x,D){return x=x>>>0,D||k(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},o.prototype.readFloatLE=function(x,D){return x=x>>>0,D||k(x,4,this.length),t.read(this,x,!0,23,4)},o.prototype.readFloatBE=function(x,D){return x=x>>>0,D||k(x,4,this.length),t.read(this,x,!1,23,4)},o.prototype.readDoubleLE=function(x,D){return x=x>>>0,D||k(x,8,this.length),t.read(this,x,!0,52,8)},o.prototype.readDoubleBE=function(x,D){return x=x>>>0,D||k(x,8,this.length),t.read(this,x,!1,52,8)};function z(_,x,D,O,V,oe){if(!o.isBuffer(_))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>V||x<oe)throw new RangeError('"value" argument is out of bounds');if(D+O>_.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(x,D,O,V){if(x=+x,D=D>>>0,O=O>>>0,!V){var oe=Math.pow(2,8*O)-1;z(this,x,D,O,oe,0)}var ie=1,be=0;for(this[D]=x&255;++be<O&&(ie*=256);)this[D+be]=x/ie&255;return D+O},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(x,D,O,V){if(x=+x,D=D>>>0,O=O>>>0,!V){var oe=Math.pow(2,8*O)-1;z(this,x,D,O,oe,0)}var ie=O-1,be=1;for(this[D+ie]=x&255;--ie>=0&&(be*=256);)this[D+ie]=x/be&255;return D+O},o.prototype.writeUint8=o.prototype.writeUInt8=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,1,255,0),this[D]=x&255,D+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,2,65535,0),this[D]=x&255,this[D+1]=x>>>8,D+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,2,65535,0),this[D]=x>>>8,this[D+1]=x&255,D+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,4,4294967295,0),this[D+3]=x>>>24,this[D+2]=x>>>16,this[D+1]=x>>>8,this[D]=x&255,D+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,4,4294967295,0),this[D]=x>>>24,this[D+1]=x>>>16,this[D+2]=x>>>8,this[D+3]=x&255,D+4},o.prototype.writeIntLE=function(x,D,O,V){if(x=+x,D=D>>>0,!V){var oe=Math.pow(2,8*O-1);z(this,x,D,O,oe-1,-oe)}var ie=0,be=1,Re=0;for(this[D]=x&255;++ie<O&&(be*=256);)x<0&&Re===0&&this[D+ie-1]!==0&&(Re=1),this[D+ie]=(x/be>>0)-Re&255;return D+O},o.prototype.writeIntBE=function(x,D,O,V){if(x=+x,D=D>>>0,!V){var oe=Math.pow(2,8*O-1);z(this,x,D,O,oe-1,-oe)}var ie=O-1,be=1,Re=0;for(this[D+ie]=x&255;--ie>=0&&(be*=256);)x<0&&Re===0&&this[D+ie+1]!==0&&(Re=1),this[D+ie]=(x/be>>0)-Re&255;return D+O},o.prototype.writeInt8=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,1,127,-128),x<0&&(x=255+x+1),this[D]=x&255,D+1},o.prototype.writeInt16LE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,2,32767,-32768),this[D]=x&255,this[D+1]=x>>>8,D+2},o.prototype.writeInt16BE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,2,32767,-32768),this[D]=x>>>8,this[D+1]=x&255,D+2},o.prototype.writeInt32LE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,4,2147483647,-2147483648),this[D]=x&255,this[D+1]=x>>>8,this[D+2]=x>>>16,this[D+3]=x>>>24,D+4},o.prototype.writeInt32BE=function(x,D,O){return x=+x,D=D>>>0,O||z(this,x,D,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),this[D]=x>>>24,this[D+1]=x>>>16,this[D+2]=x>>>8,this[D+3]=x&255,D+4};function W(_,x,D,O,V,oe){if(D+O>_.length)throw new RangeError("Index out of range");if(D<0)throw new RangeError("Index out of range")}function Ee(_,x,D,O,V){return x=+x,D=D>>>0,V||W(_,x,D,4),t.write(_,x,D,O,23,4),D+4}o.prototype.writeFloatLE=function(x,D,O){return Ee(this,x,D,!0,O)},o.prototype.writeFloatBE=function(x,D,O){return Ee(this,x,D,!1,O)};function ce(_,x,D,O,V){return x=+x,D=D>>>0,V||W(_,x,D,8),t.write(_,x,D,O,52,8),D+8}o.prototype.writeDoubleLE=function(x,D,O){return ce(this,x,D,!0,O)},o.prototype.writeDoubleBE=function(x,D,O){return ce(this,x,D,!1,O)},o.prototype.copy=function(x,D,O,V){if(!o.isBuffer(x))throw new TypeError("argument should be a Buffer");if(O||(O=0),!V&&V!==0&&(V=this.length),D>=x.length&&(D=x.length),D||(D=0),V>0&&V<O&&(V=O),V===O||x.length===0||this.length===0)return 0;if(D<0)throw new RangeError("targetStart out of bounds");if(O<0||O>=this.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("sourceEnd out of bounds");V>this.length&&(V=this.length),x.length-D<V-O&&(V=x.length-D+O);var oe=V-O;return this===x&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(D,O,V):Uint8Array.prototype.set.call(x,this.subarray(O,V),D),oe},o.prototype.fill=function(x,D,O,V){if(typeof x=="string"){if(typeof D=="string"?(V=D,D=0,O=this.length):typeof O=="string"&&(V=O,O=this.length),V!==void 0&&typeof V!="string")throw new TypeError("encoding must be a string");if(typeof V=="string"&&!o.isEncoding(V))throw new TypeError("Unknown encoding: "+V);if(x.length===1){var oe=x.charCodeAt(0);(V==="utf8"&&oe<128||V==="latin1")&&(x=oe)}}else typeof x=="number"?x=x&255:typeof x=="boolean"&&(x=Number(x));if(D<0||this.length<D||this.length<O)throw new RangeError("Out of range index");if(O<=D)return this;D=D>>>0,O=O===void 0?this.length:O>>>0,x||(x=0);var ie;if(typeof x=="number")for(ie=D;ie<O;++ie)this[ie]=x;else{var be=o.isBuffer(x)?x:o.from(x,V),Re=be.length;if(Re===0)throw new TypeError('The value "'+x+'" is invalid for argument "value"');for(ie=0;ie<O-D;++ie)this[ie+D]=be[ie%Re]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function le(_){if(_=_.split("=")[0],_=_.trim().replace(pe,""),_.length<2)return"";for(;_.length%4!==0;)_=_+"=";return _}function fe(_,x){x=x||1/0;for(var D,O=_.length,V=null,oe=[],ie=0;ie<O;++ie){if(D=_.charCodeAt(ie),D>55295&&D<57344){if(!V){if(D>56319){(x-=3)>-1&&oe.push(239,191,189);continue}else if(ie+1===O){(x-=3)>-1&&oe.push(239,191,189);continue}V=D;continue}if(D<56320){(x-=3)>-1&&oe.push(239,191,189),V=D;continue}D=(V-55296<<10|D-56320)+65536}else V&&(x-=3)>-1&&oe.push(239,191,189);if(V=null,D<128){if((x-=1)<0)break;oe.push(D)}else if(D<2048){if((x-=2)<0)break;oe.push(D>>6|192,D&63|128)}else if(D<65536){if((x-=3)<0)break;oe.push(D>>12|224,D>>6&63|128,D&63|128)}else if(D<1114112){if((x-=4)<0)break;oe.push(D>>18|240,D>>12&63|128,D>>6&63|128,D&63|128)}else throw new Error("Invalid code point")}return oe}function Ve(_){for(var x=[],D=0;D<_.length;++D)x.push(_.charCodeAt(D)&255);return x}function Xe(_,x){for(var D,O,V,oe=[],ie=0;ie<_.length&&!((x-=2)<0);++ie)D=_.charCodeAt(ie),O=D>>8,V=D%256,oe.push(V),oe.push(O);return oe}function ze(_){return u.toByteArray(le(_))}function Qe(_,x,D,O){for(var V=0;V<O&&!(V+D>=x.length||V>=_.length);++V)x[V+D]=_[V];return V}function Le(_,x){return _ instanceof x||_!=null&&_.constructor!=null&&_.constructor.name!=null&&_.constructor.name===x.name}function De(_){return _!==_}var Me=function(){for(var _="0123456789abcdef",x=new Array(256),D=0;D<16;++D)for(var O=D*16,V=0;V<16;++V)x[O+V]=_[D]+_[V];return x}()})(ft);const Pr=ft.Buffer.from&&ft.Buffer.alloc&&ft.Buffer.allocUnsafe&&ft.Buffer.allocUnsafeSlow?ft.Buffer.from:e=>new ft.Buffer(e);function Or(e,u){const t=(r,n)=>u(r,n)>>>0;return t.signed=u,t.unsigned=t,t.model=e,t}const _$=Or("crc1",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=~~u,r=0;for(let n=0;n<e.length;n++){const i=e[n];r+=i}return t+=r%256,t%256});let pv=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,12
10681,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];typeof Int32Array<"u"&&(pv=new Int32Array(pv));const I$=Or("crc-8",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=~~u;for(let r=0;r<e.length;r++){const n=e[r];t=pv[(t^n)&255]&255}return t});let hv=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];typeof Int32Array<"u"&&(hv=new Int32Array(hv));const T$=Or("dallas-1-wire",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=~~u;for(let r=0;r<e.length;r++){const n=e[r];t=hv[(t^n)&255]&255}return t});let mv=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(mv=new Int32Array(mv));const P$=Or("crc-16",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=~~u;for(let r=0;r<e.length;r++){const n=e[r];t=(mv[(t^n)&255]^t>>8)&65535}return t});let gv=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,
10686864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];typeof Int32Array<"u"&&(gv=new Int32Array(gv));const O$=Or("ccitt",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=typeof u<"u"?~~u:65535;for(let r=0;r<e.length;r++){const n=e[r];t=(gv[(t>>8^n)&255]^t<<8)&65535}return t});let yv=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];typeof Int32Array<"u"&&(yv=new Int32Array(yv));const k$=Or("crc-16-modbus",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=typeof u<"u"?~~u:65535;for(let r=0;r<e.length;r++){const n=e[r];t=(yv[(t^n)&255]^t>>8)&65535}return t}),U$=Or("xmodem",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=typeof u<"u"?~~u:0;for(let r=0;r<e.length;r++){const n=e[r];let i=t>>>8&255;i^=n&255,i^=i>>>4,t=t<<8&65535,t^=i,i=i<<5&65535,t^=i,i=i<<7&65535,t^=i}return t});let vv=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];typeof Int32Array<"u"&&(vv=new Int32Array(vv));const Q$=Or("kermit",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=typeof u<"u"?~~u:0;for(let r=0;r<e.length;r++){const n=e[r];t=(vv[(t^n)&255]^t>>8)&65535}return t});let Bv=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,119161
106858,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];typeof Int32Array<"u"&&(Bv=new Int32Array(Bv));const L$=Or("crc-24",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=typeof u<"u"?~~u:11994318;for(let r=0;r<e.length;r++){const n=e[r];t=(Bv[(t>>16^n)&255]^t<<8)&16777215}return t});let wv=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(wv=new Int32Array(wv));const M$=Or("crc-32",function(e,u){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=u===0?0:~~u^-1;for(let r=0;r<e.length;r++){const n=e[r];t=wv[(t^n)&255]^t>>>8}return t^-1});let bv=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,39
106804427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(bv=new Int32Array(bv));const R$=Or("jam",function(e,u=-1){ft.Buffer.isBuffer(e)||(e=Pr(e));let t=u===0?0:~~u;for(let r=0;r<e.length;r++){const n=e[r];t=bv[(t^n)&255]^t>>>8}return t}),RWe={crc1:_$,crc8:I$,crc81wire:T$,crc16:P$,crc16ccitt:O$,crc16modbus:k$,crc16xmodem:U$,crc16kermit:Q$,crc24:L$,crc32:M$,crcjam:R$},NWe=Object.freeze(Object.defineProperty({__proto__:null,crc1:_$,crc16:P$,crc16ccitt:O$,crc16kermit:Q$,crc16modbus:k$,crc16xmodem:U$,crc24:L$,crc32:M$,crc8:I$,crc81wire:T$,crcjam:R$,default:RWe},Symbol.toStringTag,{value:"Module"})),$We=G$(NWe);/*!
1069 * promptpay-qr
1070 * JavaScript library to generate PromptPay QR code
1071 * <https://github.com/dtinth/promptpay-qr>
1072 *
1073 * Refs:
1074 * - https://www.blognone.com/node/95133
1075 * - https://www.emvco.com/emv-technologies/qrcodes/
1076 *
1077 * @license MIT
1078 */var HWe=$We,jWe="00",KWe="01",WWe="29",VWe="53",zWe="54",GWe="58",y_="63",YWe="01",XWe="11",ZWe="12",qWe="00",JWe="01",eVe="02",uVe="03",tVe="A000000677010111",rVe="764",nVe="TH";function iVe(e,u){e=N$(e);var t=u.amount,r=e.length>=15?uVe:e.length>=13?eVe:JWe,n=[dn(jWe,YWe),dn(KWe,t?ZWe:XWe),dn(WWe,X3([dn(qWe,tVe),dn(r,EVe(e))])),dn(GWe,nVe),dn(VWe,rVe),t&&dn(zWe,oVe(t))],i=X3(n)+y_+"04";return n.push(dn(y_,aVe(HWe.crc16xmodem(i,65535)))),X3(n)}function dn(e,u){return[e,("00"+u.length).slice(-2),u].join("")}function X3(e){return e.filter(function(u){return u}).join("")}function N$(e){return e.replace(/[^0-9]/g,"")}function EVe(e){const u=N$(e);return u.length>=13?u:("0000000000000"+u.replace(/^0/,"66")).slice(-13)}function oVe(e){return e.toFixed(2)}function aVe(e){return("0000"+e.toString(16).toUpperCase()).slice(-4)}var sVe=iVe;const wGe=Iu(sVe);var xv={exports:{}};(function(e,u){(function(t,r){r(u)})(Lt,function(t){class r{constructor(d,y){this.state={angle:0,area:[],position:{x:0,y:0},hardAngle:0,hardDrawingAngle:0},this.createdDensity=y,this.nowDrawingDensity=this.createdDensity,this.render=d}setDensity(d){this.createdDensity=d,this.nowDrawingDensity=d}setDrawingDensity(d){this.nowDrawingDensity=d}setPosition(d){this.state.position=d}setAngle(d){this.state.angle=d}setArea(d){this.state.area=d}setHardDrawingAngle(d){this.state.hardDrawingAngle=d}
vendor: 33,534 bytes, lines 1078-1120
1078setHardAngle(d){this.state.hardAngle=d,this.state.hardDrawingAngle=d}setOrientation(d){this.orientation=d}getDrawingDensity(){return this.nowDrawingDensity}getDensity(){return this.createdDensity}getHardAngle(){return this.state.hardAngle}}class n extends r{constructor(d,y,b){super(d,b),this.image=null,this.isLoad=!1,this.loadingAngle=0,this.image=new Image,this.image.src=y}draw(d){const y=this.render.getContext(),b=this.render.convertToGlobal(this.state.position),C=this.render.getRect().pageWidth,S=this.render.getRect().height;y.save(),y.translate(b.x,b.y),y.beginPath();for(let F of this.state.area)F!==null&&(F=this.render.convertToGlobal(F),y.lineTo(F.x-b.x,F.y-b.y));y.rotate(this.state.angle),y.clip(),this.isLoad?y.drawImage(this.image,0,0,C,S):this.drawLoader(y,{x:0,y:0},C,S),y.restore()}simpleDraw(d){const y=this.render.getRect(),b=this.render.getContext(),C=y.pageWidth,S=y.height,F=d===1?y.left+y.pageWidth:y.left,I=y.top;this.isLoad?b.drawImage(this.image,F,I,C,S):this.drawLoader(b,{x:F,y:I},C,S)}drawLoader(d,y,b,C){d.beginPath(),d.strokeStyle="rgb(200, 200, 200)",d.fillStyle="rgb(255, 255, 255)",d.lineWidth=1,d.rect(y.x+1,y.y+1,b-1,C-1),d.stroke(),d.fill();const S={x:y.x+b/2,y:y.y+C/2};d.beginPath(),d.lineWidth=10,d.arc(S.x,S.y,20,this.loadingAngle,3*Math.PI/2+this.loadingAngle),d.stroke(),d.closePath(),this.loadingAngle+=.07,this.loadingAngle>=2*Math.PI&&(this.loadingAngle=0)}load(){this.isLoad||(this.image.onload=()=>{this.isLoad=!0})}newTemporaryCopy(){return this}getTemporaryCopy(){return this}hideTemporaryCopy(){}}class i{constructor(d,y){this.pages=[],this.currentPageIndex=0,this.currentSpreadIndex=0,this.landscapeSpread=[],this.portraitSpread=[],this.render=y,this.app=d,this.currentPageIndex=0,this.isShowCover=this.app.getSettings().showCover}destroy(){this.pages=[]}createSpread(){this.landscapeSpread=[],this.portraitSpread=[];for(let y=0;y<this.pages.length;y++)this.portraitSpread.push([y]);let d=0;this.isShowCover&&(this.pages[0].setDensity("hard"),this.landscapeSpread.push([d]),d++);for(let y=d;y<this.pages.length;y+=2)y<this.pages.length-1?this.landscapeSpread.push([y,y+1]):(this.landscapeSpread.push([y]),this.pages[y].setDensity("hard"))}getSpread(){return this.render.getOrientation()==="landscape"?this.landscapeSpread:this.portraitSpread}getSpreadIndexByPage(d){const y=this.getSpread();for(let b=0;b<y.length;b++)if(d===y[b][0]||d===y[b][1])return b;return null}getPageCount(){return this.pages.length}getPages(){return this.pages}getPage(d){if(d>=0&&d<this.pages.length)return this.pages[d];throw new Error("Invalid page number")}nextBy(d){const y=this.pages.indexOf(d);return y<this.pages.length-1?this.pages[y+1]:null}prevBy(d){const y=this.pages.indexOf(d);return y>0?this.pages[y-1]:null}getFlippingPage(d){const y=this.currentSpreadIndex;if(this.render.getOrientation()==="portrait")return d===0?this.pages[y].newTemporaryCopy():this.pages[y-1];{const b=d===0?this.getSpread()[y+1]:this.getSpread()[y-1];return b.length===1||d===0?this.pages[b[0]]:this.pages[b[1]]}}getBottomPage(d){const y=this.currentSpreadIndex;if(this.render.getOrientation()==="portrait")return d===0?this.pages[y+1]:this.pages[y-1];{const b=d===0?this.getSpread()[y+1]:this.getSpread()[y-1];return b.length===1?this.pages[b[0]]:d===0?this.pages[b[1]]:this.pages[b[0]]}}showNext(){this.currentSpreadIndex<this.getSpread().length&&(this.currentSpreadIndex++,this.showSpread())}showPrev(){this.currentSpreadIndex>0&&(this.currentSpreadIndex--,this.showSpread())}getCurrentPageIndex(){return this.currentPageIndex}show(d=null){if(d===null&&(d=this.currentPageIndex),d<0||d>=this.pages.length)return;const y=this.getSpreadIndexByPage(d);y!==null&&(this.currentSpreadIndex=y,this.showSpread())}getCurrentSpreadIndex(){return this.currentSpreadIndex}setCurrentSpreadIndex(d){if(!(d>=0&&d<this.getSpread().length))throw new Error("Invalid page");this.currentSpreadIndex=d}showSpread(){const d=this.getSpread()[this.currentSpreadIndex];d.length===2?(this.render.setLeftPage(this.pages[d[0]]),this.render.setRightPage(this.pages[d[1]])):this.render.getOrientation()==="landscape"&&d[0]===this.pages.length-1?(this.render.setLeftPage(this.pages[d[0]]),this.render.setRightPage(null)):(this.render.setLeftPage(null),this.render.setRightPage(this.pages[d[0]])),this.currentPageIndex=d[0],this.app.updatePageIndex(this.currentPageIndex)}}class E extends i{constructor(d,y,b){super(d,y),this.imagesHref=b}load(){for(const d of this.imagesHref){const y=new n(this.render,d,"soft");y.load(),this.pages.push(y)}this.createSpread()}}class o{static GetDistanceBetweenTwoPoint(d,y){return d===null||y===null?1/0:Math.sqrt(Math.pow(y.x-d.x,2)+Math.pow(y.y-d.y,2))}static GetSegmentLength(d){return o.GetDistanceBetweenTwoPoint(d[0],d[1])}static GetAngleBetweenTwoLine(d,y){const b=d[0].y-d[1].y,C=y[0].y-y[1].y,S=d[1].x-d[0].x,F=y[1].x-y[0].x;return Math.acos((b*C+S*F)/(Math.sqrt(b*b+S*S)*Math.sqrt(C*C+F*F)))}static PointInRect(d,y){return y===null?null:y.x>=d.left&&y.x<=d.width+d.left&&y.y>=d.top&&y.y<=d.top+d.height?y:null}static GetRotatedPoint(d,y,b){return{x:d.x*Math.cos(b)+d.y*Math.sin(b)+y.x,y:d.y*Math.cos(b)-d.x*Math.sin(b)+y.y}}static LimitPointToCircle(d,y,b){if(o.GetDistanceBetweenTwoPoint(d,b)<=y)return b;const C=d.x,S=d.y,F=b.x,I=b.y;let R=Math.sqrt(Math.pow(y,2)*Math.pow(C-F,2)/(Math.pow(C-F,2)+Math.pow(S-I,2)))+C;b.x<0&&(R*=-1);let X=(R-C)*(S-I)/(C-F)+S;return C-F+S===0&&(X=y),{x:R,y:X}}static GetIntersectBetweenTwoSegment(d,y,b){return o.PointInRect(d,o.GetIntersectBeetwenTwoLine(y,b))}static GetIntersectBeetwenTwoLine(d,y){const b=d[0].y-d[1].y,C=y[0].y-y[1].y,S=d[1].x-d[0].x,F=y[1].x-y[0].x,I=d[0].x*d[1].y-d[1].x*d[0].y,R=y[0].x*y[1].y-y[1].x*y[0].y,X=b*R-C*I,J=S*R-F*I,ee=-(I*F-R*S)/(b*F-C*S),L=-(b*R-C*I)/(b*F-C*S);if(isFinite(ee)&&isFinite(L))return{x:ee,y:L};if(Math.abs(X-J)<.1)throw new Error("Segment included");return null}static GetCordsFromTwoPoint(d,y){const b=Math.abs(d.x-y.x),C=Math.abs(d.y-y.y),S=Math.max(b,C),F=[d];function I(R,X,J,ee,L){return X>R?R+L*(J/ee):X<R?R-L*(J/ee):R}for(let R=1;R<=S;R+=1)F.push({x:I(d.x,y.x,b,S,R),y:I(d.y,y.y,C,S,R)});return F}}class a extends r{constructor(d,y,b){super(d,b),this.copiedElement=null,this.temporaryCopy=null,this.isLoad=!1,this.element=y,this.element.classList.add("stf__item"),this.element.classList.add("--"+b)}newTemporaryCopy(){return this.nowDrawingDensity==="hard"?this:(this.temporaryCopy===null&&(this.copiedElement=this.element.cloneNode(!0),this.element.parentElement.appendChild(this.copiedElement),this.temporaryCopy=new a(this.render,this.copiedElement,this.nowDrawingDensity)),this.getTemporaryCopy())}getTemporaryCopy(){return this.temporaryCopy}hideTemporaryCopy(){this.temporaryCopy!==null&&(this.copiedElement.remove(),this.copiedElement=null,this.temporaryCopy=null)}draw(d){const y=d||this.nowDrawingDensity,b=this.render.convertToGlobal(this.state.position),C=this.render.getRect().pageWidth,S=this.render.getRect().height;this.element.classList.remove("--simple");const F=`
1079            display: block;
1080            z-index: ${this.element.style.zIndex};
1081            left: 0;
1082            top: 0;
1083            width: ${C}px;
1084            height: ${S}px;
1085        `;y==="hard"?this.drawHard(F):this.drawSoft(b,F)}drawHard(d=""){const y=this.render.getRect().left+this.render.getRect().width/2,b=this.state.hardDrawingAngle,C=d+`
1086                backface-visibility: hidden;
1087                -webkit-backface-visibility: hidden;
1088                clip-path: none;
1089                -webkit-clip-path: none;
1090            `+(this.orientation===0?`transform-origin: ${this.render.getRect().pageWidth}px 0; 
1091                   transform: translate3d(0, 0, 0) rotateY(${b}deg);`:`transform-origin: 0 0; 
1092                   transform: translate3d(${y}px, 0, 0) rotateY(${b}deg);`);this.element.style.cssText=C}drawSoft(d,y=""){let b="polygon( ";for(const S of this.state.area)if(S!==null){let F=this.render.getDirection()===1?{x:-S.x+this.state.position.x,y:S.y-this.state.position.y}:{x:S.x-this.state.position.x,y:S.y-this.state.position.y};F=o.GetRotatedPoint(F,{x:0,y:0},this.state.angle),b+=F.x+"px "+F.y+"px, "}b=b.slice(0,-2),b+=")";const C=y+`transform-origin: 0 0; clip-path: ${b}; -webkit-clip-path: ${b};`+(this.render.isSafari()&&this.state.angle===0?`transform: translate(${d.x}px, ${d.y}px);`:`transform: translate3d(${d.x}px, ${d.y}px, 0) rotate(${this.state.angle}rad);`);this.element.style.cssText=C}simpleDraw(d){const y=this.render.getRect(),b=y.pageWidth,C=y.height,S=d===1?y.left+y.pageWidth:y.left,F=y.top;this.element.classList.add("--simple"),this.element.style.cssText=`
1093            position: absolute; 
1094            display: block; 
1095            height: ${C}px; 
1096            left: ${S}px; 
1097            top: ${F}px; 
1098            width: ${b}px; 
1099            z-index: ${this.render.getSettings().startZIndex+1};`}getElement(){return this.element}load(){this.isLoad=!0}setOrientation(d){super.setOrientation(d),this.element.classList.remove("--left","--right"),this.element.classList.add(d===1?"--right":"--left")}setDrawingDensity(d){this.element.classList.remove("--soft","--hard"),this.element.classList.add("--"+d),super.setDrawingDensity(d)}}class s extends i{constructor(d,y,b,C){super(d,y),this.element=b,this.pagesElement=C}load(){for(const d of this.pagesElement){const y=new a(this.render,d,d.dataset.density==="hard"?"hard":"soft");y.load(),this.pages.push(y)}this.createSpread()}}class A{constructor(d,y,b,C){this.direction=d,this.corner=y,this.topIntersectPoint=null,this.sideIntersectPoint=null,this.bottomIntersectPoint=null,this.pageWidth=parseInt(b,10),this.pageHeight=parseInt(C,10)}calc(d){try{return this.position=this.calcAngleAndPosition(d),this.calculateIntersectPoint(this.position),!0}catch{return!1}}getFlippingClipArea(){const d=[];let y=!1;return d.push(this.rect.topLeft),d.push(this.topIntersectPoint),this.sideIntersectPoint===null?y=!0:(d.push(this.sideIntersectPoint),this.bottomIntersectPoint===null&&(y=!1)),d.push(this.bottomIntersectPoint),(y||this.corner==="bottom")&&d.push(this.rect.bottomLeft),d}getBottomClipArea(){const d=[];return d.push(this.topIntersectPoint),this.corner==="top"?d.push({x:this.pageWidth,y:0}):(this.topIntersectPoint!==null&&d.push({x:this.pageWidth,y:0}),d.push({x:this.pageWidth,y:this.pageHeight})),this.sideIntersectPoint!==null?o.GetDistanceBetweenTwoPoint(this.sideIntersectPoint,this.topIntersectPoint)>=10&&d.push(this.sideIntersectPoint):this.corner==="top"&&d.push({x:this.pageWidth,y:this.pageHeight}),d.push(this.bottomIntersectPoint),d.push(this.topIntersectPoint),d}getAngle(){return this.direction===0?-this.angle:this.angle}getRect(){return this.rect}getPosition(){return this.position}getActiveCorner(){return this.direction===0?this.rect.topLeft:this.rect.topRight}getDirection(){return this.direction}getFlippingProgress(){return Math.abs((this.position.x-this.pageWidth)/(2*this.pageWidth)*100)}getCorner(){return this.corner}getBottomPagePosition(){return this.direction===1?{x:this.pageWidth,y:0}:{x:0,y:0}}getShadowStartPoint(){return this.corner==="top"?this.topIntersectPoint:this.sideIntersectPoint!==null?this.sideIntersectPoint:this.topIntersectPoint}getShadowAngle(){const d=o.GetAngleBetweenTwoLine(this.getSegmentToShadowLine(),[{x:0,y:0},{x:this.pageWidth,y:0}]);return this.direction===0?d:Math.PI-d}calcAngleAndPosition(d){let y=d;if(this.updateAngleAndGeometry(y),y=this.corner==="top"?this.checkPositionAtCenterLine(y,{x:0,y:0},{x:0,y:this.pageHeight}):this.checkPositionAtCenterLine(y,{x:0,y:this.pageHeight},{x:0,y:0}),Math.abs(y.x-this.pageWidth)<1&&Math.abs(y.y)<1)throw new Error("Point is too small");return y}updateAngleAndGeometry(d){this.angle=this.calculateAngle(d),this.rect=this.getPageRect(d)}calculateAngle(d){const y=this.pageWidth-d.x+1,b=this.corner==="bottom"?this.pageHeight-d.y:d.y;let C=2*Math.acos(y/Math.sqrt(b*b+y*y));b<0&&(C=-C);const S=Math.PI-C;if(!isFinite(C)||S>=0&&S<.003)throw new Error("The G point is too small");return this.corner==="bottom"&&(C=-C),C}getPageRect(d){return this.corner==="top"?this.getRectFromBasePoint([{x:0,y:0},{x:this.pageWidth,y:0},{x:0,y:this.pageHeight},{x:this.pageWidth,y:this.pageHeight}],d):this.getRectFromBasePoint([{x:0,y:-this.pageHeight},{x:this.pageWidth,y:-this.pageHeight},{x:0,y:0},{x:this.pageWidth,y:0}],d)}getRectFromBasePoint(d,y){return{topLeft:this.getRotatedPoint(d[0],y),topRight:this.getRotatedPoint(d[1],y),bottomLeft:this.getRotatedPoint(d[2],y),bottomRight:this.getRotatedPoint(d[3],y)}}getRotatedPoint(d,y){return{x:d.x*Math.cos(this.angle)+d.y*Math.sin(this.angle)+y.x,y:d.y*Math.cos(this.angle)-d.x*Math.sin(this.angle)+y.y}}calculateIntersectPoint(d){const y={left:-1,top:-1,width:this.pageWidth+2,height:this.pageHeight+2};this.corner==="top"?(this.topIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[d,this.rect.topRight],[{x:0,y:0},{x:this.pageWidth,y:0}]),this.sideIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[d,this.rect.bottomLeft],[{x:this.pageWidth,y:0},{x:this.pageWidth,y:this.pageHeight}]),this.bottomIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[this.rect.bottomLeft,this.rect.bottomRight],[{x:0,y:this.pageHeight},{x:this.pageWidth,y:this.pageHeight}])):(this.topIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[this.rect.topLeft,this.rect.topRight],[{x:0,y:0},{x:this.pageWidth,y:0}]),this.sideIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[d,this.rect.topLeft],[{x:this.pageWidth,y:0},{x:this.pageWidth,y:this.pageHeight}]),this.bottomIntersectPoint=o.GetIntersectBetweenTwoSegment(y,[this.rect.bottomLeft,this.rect.bottomRight],[{x:0,y:this.pageHeight},{x:this.pageWidth,y:this.pageHeight}]))}checkPositionAtCenterLine(d,y,b){let C=d;const S=o.LimitPointToCircle(y,this.pageWidth,C);C!==S&&(C=S,this.updateAngleAndGeometry(C));const F=Math.sqrt(Math.pow(this.pageWidth,2)+Math.pow(this.pageHeight,2));let I=this.rect.bottomRight,R=this.rect.topLeft;if(this.corner==="bottom"&&(I=this.rect.topRight,R=this.rect.bottomLeft),I.x<=0){const X=o.LimitPointToCircle(b,F,R);X!==C&&(C=X,this.updateAngleAndGeometry(C))}return C}getSegmentToShadowLine(){const d=this.getShadowStartPoint();return[d,d!==this.sideIntersectPoint&&this.sideIntersectPoint!==null?this.sideIntersectPoint:this.bottomIntersectPoint]}}class c{constructor(d,y){this.flippingPage=null,this.bottomPage=null,this.calc=null,this.state="read",this.render=d,this.app=y}fold(d){this.setState("user_fold"),this.calc===null&&this.start(d),this.do(this.render.convertToPage(d))}flip(d){if(this.app.getSettings().disableFlipByClick&&!this.isPointOnCorners(d)||(this.calc!==null&&this.render.finishAnimation(),!this.start(d)))return;const y=this.getBoundsRect();this.setState("flipping");const b=y.height/10,C=this.calc.getCorner()==="bottom"?y.height-b:b,S=this.calc.getCorner()==="bottom"?y.height:0;this.calc.calc({x:y.pageWidth-b,y:C}),this.animateFlippingTo({x:y.pageWidth-b,y:C},{x:-y.pageWidth,y:S},!0)}start(d){this.reset();const y=this.render.convertToBook(d),b=this.getBoundsRect(),C=this.getDirectionByPoint(y),S=y.y>=b.height/2?"bottom":"top";if(!this.checkDirection(C))return!1;try{if(this.flippingPage=this.app.getPageCollection().getFlippingPage(C),this.bottomPage=this.app.getPageCollection().getBottomPage(C),this.render.getOrientation()==="landscape")if(C===1){const F=this.app.getPageCollection().nextBy(this.flippingPage);F!==null&&this.flippingPage.getDensity()!==F.getDensity()&&(this.flippingPage.setDrawingDensity("hard"),F.setDrawingDensity("hard"))}else{const F=this.app.getPageCollection().prevBy(this.flippingPage);F!==null&&this.flippingPage.getDensity()!==F.getDensity()&&(this.flippingPage.setDrawingDensity("hard"),F.setDrawingDensity("hard"))}return this.render.setDirection(C),this.calc=new A(C,S,b.pageWidth.toString(10),b.height.toString(10)),!0}catch{return!1}}do(d){if(this.calc!==null&&this.calc.calc(d)){const y=this.calc.getFlippingProgress();this.bottomPage.setArea(this.calc.getBottomClipArea()),this.bottomPage.setPosition(this.calc.getBottomPagePosition()),this.bottomPage.setAngle(0),this.bottomPage.setHardAngle(0),this.flippingPage.setArea(this.calc.getFlippingClipArea()),this.flippingPage.setPosition(this.calc.getActiveCorner()),this.flippingPage.setAngle(this.calc.getAngle()),this.calc.getDirection()===0?this.flippingPage.setHardAngle(90*(200-2*y)/100):this.flippingPage.setHardAngle(-90*(200-2*y)/100),this.render.setPageRect(this.calc.getRect()),this.render.setBottomPage(this.bottomPage),this.render.setFlippingPage(this.flippingPage),this.render.setShadowData(this.calc.getShadowStartPoint(),this.calc.getShadowAngle(),y,this.calc.getDirection())}}flipToPage(d,y){const b=this.app.getPageCollection().getCurrentSpreadIndex(),C=this.app.getPageCollection().getSpreadIndexByPage(d);try{C>b&&(this.app.getPageCollection().setCurrentSpreadIndex(C-1),this.flipNext(y)),C<b&&(this.app.getPageCollection().setCurrentSpreadIndex(C+1),this.flipPrev(y))}catch{}}flipNext(d){this.flip({x:this.render.getRect().left+2*this.render.getRect().pageWidth-10,y:d==="top"?1:this.render.getRect().height-2})}flipPrev(d){this.flip({x:10,y:d==="top"?1:this.render.getRect().height-2})}stopMove(){if(this.calc===null)return;const d=this.calc.getPosition(),y=this.getBoundsRect(),b=this.calc.getCorner()==="bottom"?y.height:0;d.x<=0?this.animateFlippingTo(d,{x:-y.pageWidth,y:b},!0):this.animateFlippingTo(d,{x:y.pageWidth,y:b},!1)}showCorner(d){if(!this.checkState("read","fold_corner"))return;const y=this.getBoundsRect(),b=y.pageWidth;if(this.isPointOnCorners(d))if(this.calc===null){if(!this.start(d))return;this.setState("fold_corner"),this.calc.calc({x:b-1,y:1});const C=50,S=this.calc.getCorner()==="bottom"?y.height-1:1,F=this.calc.getCorner()==="bottom"?y.height-C:C;this.animateFlippingTo({x:b-1,y:S},{x:b-C,y:F},!1,!1)}else this.do(this.render.convertToPage(d));else this.setState("read"),this.render.finishAnimation(),this.stopMove()}animateFlippingTo(d,y,b,C=!0){const S=o.GetCordsFromTwoPoint(d,y),F=[];for(const R of S)F.push(()=>this.do(R));const I=this.getAnimationDuration(S.length);this.render.startAnimation(F,I,()=>{this.calc&&(b&&(this.calc.getDirection()===1?this.app.turnToPrevPage():this.app.turnToNextPage()),C&&(this.render.setBottomPage(null),this.render.setFlippingPage(null),this.render.clearShadow(),this.setState("read"),this.reset()))})}getCalculation(){return this.calc}getState(){return this.state}setState(d){this.state!==d&&(this.app.updateState(d),this.state=d)}getDirectionByPoint(d){const y=this.getBoundsRect();if(this.render.getOrientation()==="portrait"){if(d.x-y.pageWidth<=y.width/5)return 1}else if(d.x<y.width/2)return 1;return 0}getAnimationDuration(d){const y=this.app.getSettings().flippingTime;return d>=1e3?y:d/1e3*y}checkDirection(d){return d===0?this.app.getCurrentPageIndex()<this.app.getPageCount()-1:this.app.getCurrentPageIndex()>=1}reset(){this.calc=null,this.flippingPage=null,this.bottomPage=null}getBoundsRect(){return this.render.getRect()}checkState(...d){for(const y of d)if(this.state===y)return!0;return!1}isPointOnCorners(d){const y=this.getBoundsRect(),b=y.pageWidth,C=Math.sqrt(Math.pow(b,2)+Math.pow(y.height,2))/5,S=this.render.convertToBook(d);return S.x>0&&S.y>0&&S.x<y.width&&S.y<y.height&&(S.x<C||S.x>y.width-C)&&(S.y<C||S.y>y.height-C)}}class l{constructor(d,y){this.leftPage=null,this.rightPage=null,this.flippingPage=null,this.bottomPage=null,this.direction=null,this.orientation=null,this.shadow=null,this.animation=null,this.pageRect=null,this.boundsRect=null,this.timer=0,this.safari=!1,this.setting=y,this.app=d;const b=new RegExp("Version\\/[\\d\\.]+.*Safari/");this.safari=b.exec(window.navigator.userAgent)!==null}render(d){if(this.animation!==null){const y=Math.round((d-this.animation.startedAt)/this.animation.durationFrame);y<this.animation.frames.length?this.animation.frames[y]():(this.animation.onAnimateEnd(),this.animation=null)}this.timer=d,this.drawFrame()}start(){this.update();const d=y=>{this.render(y),requestAnimationFrame(d)};requestAnimationFrame(d)}startAnimation(d,y,b){this.finishAnimation(),this.animation={frames:d,duration:y,durationFrame:y/d.length,onAnimateEnd:b,startedAt:this.timer}}finishAnimation(){this.animation!==null&&(this.animation.frames[this.animation.frames.length-1](),this.animation.onAnimateEnd!==null&&this.animation.onAnimateEnd()),this.animation=null}update(){this.boundsRect=null;const d=this.calculateBoundsRect();this.orientation!==d&&(this.orientation=d,this.app.updateOrientation(d))}calculateBoundsRect(){let d="landscape";const y=this.getBlockWidth(),b=y/2,C=this.getBlockHeight()/2,S=this.setting.width/this.setting.height;let F=this.setting.width,I=this.setting.height,R=b-F;return this.setting.size==="stretch"?(y<2*this.setting.minWidth&&this.app.getSettings().usePortrait&&(d="portrait"),F=d==="portrait"?this.getBlockWidth():this.getBlockWidth()/2,F>this.setting.maxWidth&&(F=this.setting.maxWidth),I=F/S,I>this.getBlockHeight()&&(I=this.getBlockHeight(),F=I*S),R=d==="portrait"?b-F/2-F:b-F):y<2*F&&this.app.getSettings().usePortrait&&(d="portrait",R=b-F/2-F),this.boundsRect={left:R,top:C-I/2,width:2*F,height:I,pageWidth:F},d}setShadowData(d,y,b,C){if(!this.app.getSettings().drawShadow)return;const S=100*this.getSettings().maxShadowOpacity;this.shadow={pos:d,angle:y,width:3*this.getRect().pageWidth/4*b/100,opacity:(100-b)*S/100/100,direction:C,progress:2*b}}clearShadow(){this.shadow=null}getBlockWidth(){return this.app.getUI().getDistElement().offsetWidth}getBlockHeight(){return this.app.getUI().getDistElement().offsetHeight}getDirection(){return this.direction}getRect(){return this.boundsRect===null&&this.calculateBoundsRect(),this.boundsRect}getSettings(){return this.app.getSettings()}getOrientation(){return this.orientation}setPageRect(d){this.pageRect=d}setDirection(d){this.direction=d}setRightPage(d){d!==null&&d.setOrientation(1),this.rightPage=d}setLeftPage(d){d!==null&&d.setOrientation(0),this.leftPage=d}setBottomPage(d){d!==null&&d.setOrientation(this.direction===1?0:1),this.bottomPage=d}setFlippingPage(d){d!==null&&d.setOrientation(this.direction===0&&this.orientation!=="portrait"?0:1),this.flippingPage=d}convertToBook(d){const y=this.getRect();return{x:d.x-y.left,y:d.y-y.top}}isSafari(){return this.safari}convertToPage(d,y){y||(y=this.direction);const b=this.getRect();return{x:y===0?d.x-b.left-b.width/2:b.width/2-d.x+b.left,y:d.y-b.top}}convertToGlobal(d,y){if(y||(y=this.direction),d==null)return null;const b=this.getRect();return{x:y===0?d.x+b.left+b.width/2:b.width/2-d.x+b.left,y:d.y+b.top}}convertRectToGlobal(d,y){return y||(y=this.direction),{topLeft:this.convertToGlobal(d.topLeft,y),topRight:this.convertToGlobal(d.topRight,y),bottomLeft:this.convertToGlobal(d.bottomLeft,y),bottomRight:this.convertToGlobal(d.bottomRight,y)}}}class f extends l{constructor(d,y,b){super(d,y),this.canvas=b,this.ctx=b.getContext("2d")}getContext(){return this.ctx}reload(){}drawFrame(){this.clear(),this.orientation!=="portrait"&&this.leftPage!=null&&this.leftPage.simpleDraw(0),this.rightPage!=null&&this.rightPage.simpleDraw(1),this.bottomPage!=null&&this.bottomPage.draw(),this.drawBookShadow(),this.flippingPage!=null&&this.flippingPage.draw(),this.shadow!=null&&(this.drawOuterShadow(),this.drawInnerShadow());const d=this.getRect();this.orientation==="portrait"&&(this.ctx.beginPath(),this.ctx.rect(d.left+d.pageWidth,d.top,d.width,d.height),this.ctx.clip())}drawBookShadow(){const d=this.getRect();this.ctx.save(),this.ctx.beginPath();const y=d.width/20;this.ctx.rect(d.left,d.top,d.width,d.height);const b={x:d.left+d.width/2-y/2,y:0};this.ctx.translate(b.x,b.y);const C=this.ctx.createLinearGradient(0,0,y,0);C.addColorStop(0,"rgba(0, 0, 0, 0)"),C.addColorStop(.4,"rgba(0, 0, 0, 0.2)"),C.addColorStop(.49,"rgba(0, 0, 0, 0.1)"),C.addColorStop(.5,"rgba(0, 0, 0, 0.5)"),C.addColorStop(.51,"rgba(0, 0, 0, 0.4)"),C.addColorStop(1,"rgba(0, 0, 0, 0)"),this.ctx.clip(),this.ctx.fillStyle=C,this.ctx.fillRect(0,0,y,2*d.height),this.ctx.restore()}drawOuterShadow(){const d=this.getRect();this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(d.left,d.top,d.width,d.height);const y=this.convertToGlobal({x:this.shadow.pos.x,y:this.shadow.pos.y});this.ctx.translate(y.x,y.y),this.ctx.rotate(Math.PI+this.shadow.angle+Math.PI/2);const b=this.ctx.createLinearGradient(0,0,this.shadow.width,0);this.shadow.direction===0?(this.ctx.translate(0,-100),b.addColorStop(0,"rgba(0, 0, 0, "+this.shadow.opacity+")"),b.addColorStop(1,"rgba(0, 0, 0, 0)")):(this.ctx.translate(-this.shadow.width,-100),b.addColorStop(0,"rgba(0, 0, 0, 0)"),b.addColorStop(1,"rgba(0, 0, 0, "+this.shadow.opacity+")")),this.ctx.clip(),this.ctx.fillStyle=b,this.ctx.fillRect(0,0,this.shadow.width,2*d.height),this.ctx.restore()}drawInnerShadow(){const d=this.getRect();this.ctx.save(),this.ctx.beginPath();const y=this.convertToGlobal({x:this.shadow.pos.x,y:this.shadow.pos.y}),b=this.convertRectToGlobal(this.pageRect);this.ctx.moveTo(b.topLeft.x,b.topLeft.y),this.ctx.lineTo(b.topRight.x,b.topRight.y),this.ctx.lineTo(b.bottomRight.x,b.bottomRight.y),this.ctx.lineTo(b.bottomLeft.x,b.bottomLeft.y),this.ctx.translate(y.x,y.y),this.ctx.rotate(Math.PI+this.shadow.angle+Math.PI/2);const C=3*this.shadow.width/4,S=this.ctx.createLinearGradient(0,0,C,0);this.shadow.direction===0?(this.ctx.translate(-C,-100),S.addColorStop(1,"rgba(0, 0, 0, "+this.shadow.opacity+")"),S.addColorStop(.9,"rgba(0, 0, 0, 0.05)"),S.addColorStop(.7,"rgba(0, 0, 0, "+this.shadow.opacity+")"),S.addColorStop(0,"rgba(0, 0, 0, 0)")):(this.ctx.translate(0,-100),S.addColorStop(0,"rgba(0, 0, 0, "+this.shadow.opacity+")"),S.addColorStop(.1,"rgba(0, 0, 0, 0.05)"),S.addColorStop(.3,"rgba(0, 0, 0, "+this.shadow.opacity+")"),S.addColorStop(1,"rgba(0, 0, 0, 0)")),this.ctx.clip(),this.ctx.fillStyle=S,this.ctx.fillRect(0,0,C,2*d.height),this.ctx.restore()}clear(){this.ctx.fillStyle="white",this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height)}}class p{constructor(d,y,b){this.touchPoint=null,this.swipeTimeout=250,this.onResize=()=>{this.update()},this.onMouseDown=S=>{if(this.checkTarget(S.target)){const F=this.getMousePos(S.clientX,S.clientY);this.app.startUserTouch(F),S.preventDefault()}},this.onTouchStart=S=>{if(this.checkTarget(S.target)&&S.changedTouches.length>0){const F=S.changedTouches[0],I=this.getMousePos(F.clientX,F.clientY);this.touchPoint={point:I,time:Date.now()},setTimeout(()=>{this.touchPoint!==null&&this.app.startUserTouch(I)},this.swipeTimeout),this.app.getSettings().mobileScrollSupport||S.preventDefault()}},this.onMouseUp=S=>{const F=this.getMousePos(S.clientX,S.clientY);this.app.userStop(F)},this.onMouseMove=S=>{const F=this.getMousePos(S.clientX,S.clientY);this.app.userMove(F,!1)},this.onTouchMove=S=>{if(S.changedTouches.length>0){const F=S.changedTouches[0],I=this.getMousePos(F.clientX,F.clientY);this.app.getSettings().mobileScrollSupport?(this.touchPoint!==null&&(Math.abs(this.touchPoint.point.x-I.x)>10||this.app.getState()!=="read")&&S.cancelable&&this.app.userMove(I,!0),this.app.getState()!=="read"&&S.preventDefault()):this.app.userMove(I,!0)}},this.onTouchEnd=S=>{if(S.changedTouches.length>0){const F=S.changedTouches[0],I=this.getMousePos(F.clientX,F.clientY);let R=!1;if(this.touchPoint!==null){const X=I.x-this.touchPoint.point.x,J=Math.abs(I.y-this.touchPoint.point.y);Math.abs(X)>this.swipeDistance&&J<2*this.swipeDistance&&Date.now()-this.touchPoint.time<this.swipeTimeout&&(X>0?this.app.flipPrev(this.touchPoint.point.y<this.app.getRender().getRect().height/2?"top":"bottom"):this.app.flipNext(this.touchPoint.point.y<this.app.getRender().getRect().height/2?"top":"bottom"),R=!0),this.touchPoint=null}this.app.userStop(I,R)}},this.parentElement=d,d.classList.add("stf__parent"),d.insertAdjacentHTML("afterbegin",'<div class="stf__wrapper"></div>'),this.wrapper=d.querySelector(".stf__wrapper"),this.app=y;const C=this.app.getSettings().usePortrait?1:2;d.style.minWidth=b.minWidth*C+"px",d.style.minHeight=b.minHeight+"px",b.size==="fixed"&&(d.style.minWidth=b.width*C+"px",d.style.minHeight=b.height+"px"),b.autoSize&&(d.style.width="100%",d.style.maxWidth=2*b.maxWidth+"px"),d.style.display="block",window.addEventListener("resize",this.onResize,!1),this.swipeDistance=b.swipeDistance}destroy(){this.app.getSettings().useMouseEvents&&this.removeHandlers(),this.distElement.remove(),this.wrapper.remove()}getDistElement(){return this.distElement}getWrapper(){return this.wrapper}setOrientationStyle(d){this.wrapper.classList.remove("--portrait","--landscape"),d==="portrait"?(this.app.getSettings().autoSize&&(this.wrapper.style.paddingBottom=this.app.getSettings().height/this.app.getSettings().width*100+"%"),this.wrapper.classList.add("--portrait")):(this.app.getSettings().autoSize&&(this.wrapper.style.paddingBottom=this.app.getSettings().height/(2*this.app.getSettings().width)*100+"%"),this.wrapper.classList.add("--landscape")),this.update()}removeHandlers(){window.removeEventListener("resize",this.onResize),this.distElement.removeEventListener("mousedown",this.onMouseDown),this.distElement.removeEventListener("touchstart",this.onTouchStart),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("touchend",this.onTouchEnd)}setHandlers(){window.addEventListener("resize",this.onResize,!1),this.app.getSettings().useMouseEvents&&(this.distElement.addEventListener("mousedown",this.onMouseDown),this.distElement.addEventListener("touchstart",this.onTouchStart),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!this.app.getSettings().mobileScrollSupport}),window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("touchend",this.onTouchEnd))}getMousePos(d,y){const b=this.distElement.getBoundingClientRect();return{x:d-b.left,y:y-b.top}}checkTarget(d){return!this.app.getSettings().clickEventForward||!["a","button"].includes(d.tagName.toLowerCase())}}class h extends p{constructor(d,y,b,C){super(d,y,b),this.wrapper.insertAdjacentHTML("afterbegin",'<div class="stf__block"></div>'),this.distElement=d.querySelector(".stf__block"),this.items=C;for(const S of C)this.distElement.appendChild(S);this.setHandlers()}clear(){for(const d of this.items)this.parentElement.appendChild(d)}updateItems(d){this.removeHandlers(),this.distElement.innerHTML="";for(const y of d)this.distElement.appendChild(y);this.items=d,this.setHandlers()}update(){this.app.getRender().update()}}class w extends p{constructor(d,y,b){super(d,y,b),this.wrapper.innerHTML='<canvas class="stf__canvas"></canvas>',this.canvas=d.querySelectorAll("canvas")[0],this.distElement=this.canvas,this.resizeCanvas(),this.setHandlers()}resizeCanvas(){const d=getComputedStyle(this.canvas),y=parseInt(d.getPropertyValue("width"),10),b=parseInt(d.getPropertyValue("height"),10);this.canvas.width=y,this.canvas.height=b}getCanvas(){return this.canvas}update(){this.resizeCanvas(),this.app.getRender().update()}}class m extends l{constructor(d,y,b){super(d,y),this.outerShadow=null,this.innerShadow=null,this.hardShadow=null,this.hardInnerShadow=null,this.element=b,this.createShadows()}createShadows(){this.element.insertAdjacentHTML("beforeend",`<div class="stf__outerShadow"></div>
1100             <div class="stf__innerShadow"></div>
1101             <div class="stf__hardShadow"></div>
1102             <div class="stf__hardInnerShadow"></div>`),this.outerShadow=this.element.querySelector(".stf__outerShadow"),this.innerShadow=this.element.querySelector(".stf__innerShadow"),this.hardShadow=this.element.querySelector(".stf__hardShadow"),this.hardInnerShadow=this.element.querySelector(".stf__hardInnerShadow")}clearShadow(){super.clearShadow(),this.outerShadow.style.cssText="display: none",this.innerShadow.style.cssText="display: none",this.hardShadow.style.cssText="display: none",this.hardInnerShadow.style.cssText="display: none"}reload(){this.element.querySelector(".stf__outerShadow")||this.createShadows()}drawHardInnerShadow(){const d=this.getRect(),y=this.shadow.progress>100?200-this.shadow.progress:this.shadow.progress;let b=(100-y)*(2.5*d.pageWidth)/100+20;b>d.pageWidth&&(b=d.pageWidth);let C=`
1103            display: block;
1104            z-index: ${(this.getSettings().startZIndex+5).toString(10)};
1105            width: ${b}px;
1106            height: ${d.height}px;
1107            background: linear-gradient(to right,
1108                rgba(0, 0, 0, ${this.shadow.opacity*y/100}) 5%,
1109                rgba(0, 0, 0, 0) 100%);
1110            left: ${d.left+d.width/2}px;
1111            transform-origin: 0 0;
1112        `;C+=this.getDirection()===0&&this.shadow.progress>100||this.getDirection()===1&&this.shadow.progress<=100?"transform: translate3d(0, 0, 0);":"transform: translate3d(0, 0, 0) rotateY(180deg);",this.hardInnerShadow.style.cssText=C}drawHardOuterShadow(){const d=this.getRect();let y=(100-(this.shadow.progress>100?200-this.shadow.progress:this.shadow.progress))*(2.5*d.pageWidth)/100+20;y>d.pageWidth&&(y=d.pageWidth);let b=`
1113            display: block;
1114            z-index: ${(this.getSettings().startZIndex+4).toString(10)};
1115            width: ${y}px;
1116            height: ${d.height}px;
1117            background: linear-gradient(to left, rgba(0, 0, 0, ${this.shadow.opacity}) 5%, rgba(0, 0, 0, 0) 100%);
1118            left: ${d.left+d.width/2}px;
1119            transform-origin: 0 0;
1120        `;b+=this.getDirection()===0&&this.shadow.progress>100||this.getDirection()===1&&this.shadow.progress<=100?"transform: translate3d(0, 0, 0) rotateY(180deg);
1120":"transform: translate3d(0, 0, 0);",this.hardShadow.style.cssText=b}drawInnerShadow(){const d=this.getRect(),y=3*this.shadow.width/4,b=this.getDirection()===0?y:0,C=this.getDirection()===0?"to left":"to right",S=this.convertToGlobal(this.shadow.pos),F=this.shadow.angle+3*Math.PI/2,I=[this.pageRect.topLeft,this.pageRect.topRight,this.pageRect.bottomRight,this.pageRect.bottomLeft];let R="polygon( ";for(const J of I){let ee=this.getDirection()===1?{x:-J.x+this.shadow.pos.x,y:J.y-this.shadow.pos.y}:{x:J.x-this.shadow.pos.x,y:J.y-this.shadow.pos.y};ee=o.GetRotatedPoint(ee,{x:b,y:100},F),R+=ee.x+"px "+ee.y+"px, "}R=R.slice(0,-2),R+=")";const X=`
1121            display: block;
1122            z-index: ${(this.getSettings().startZIndex+10).toString(10)};
1123            width: ${y}px;
1124            height: ${2*d.height}px;
1125            background: linear-gradient(${C},
1126                rgba(0, 0, 0, ${this.shadow.opacity}) 5%,
1127                rgba(0, 0, 0, 0.05) 15%,
1128                rgba(0, 0, 0, ${this.shadow.opacity}) 35%,
1129                rgba(0, 0, 0, 0) 100%);
1130            transform-origin: ${b}px 100px;
1131            transform: translate3d(${S.x-b}px, ${S.y-100}px, 0) rotate(${F}rad);
1132            clip-path: ${R};
1133            -webkit-clip-path: ${R};
1134        `;this.innerShadow.style.cssText=X}drawOuterShadow(){const d=this.getRect(),y=this.convertToGlobal({x:this.shadow.pos.x,y:this.shadow.pos.y}),b=this.shadow.angle+3*Math.PI/2,C=this.getDirection()===1?this.shadow.width:0,S=this.getDirection()===0?"to right":"to left",F=[{x:0,y:0},{x:d.pageWidth,y:0},{x:d.pageWidth,y:d.height},{x:0,y:d.height}];let I="polygon( ";for(const X of F)if(X!==null){let J=this.getDirection()===1?{x:-X.x+this.shadow.pos.x,y:X.y-this.shadow.pos.y}:{x:X.x-this.shadow.pos.x,y:X.y-this.shadow.pos.y};J=o.GetRotatedPoint(J,{x:C,y:100},b),I+=J.x+"px "+J.y+"px, "}I=I.slice(0,-2),I+=")";const R=`
1135            display: block;
1136            z-index: ${(this.getSettings().startZIndex+10).toString(10)};
1137            width: ${this.shadow.width}px;
1138            height: ${2*d.height}px;
1139            background: linear-gradient(${S}, rgba(0, 0, 0, ${this.shadow.opacity}), rgba(0, 0, 0, 0));
1140            transform-origin: ${C}px 100px;
1141            transform: translate3d(${y.x-C}px, ${y.y-100}px, 0) rotate(${b}rad);
1142            clip-path: ${I};
1143            -webkit-clip-path: ${I};
1144        `;this.outerShadow.style.cssText=R}drawLeftPage(){this.orientation!=="portrait"&&this.leftPage!==null&&(this.direction===1&&this.flippingPage!==null&&this.flippingPage.getDrawingDensity()==="hard"?(this.leftPage.getElement().style.zIndex=(this.getSettings().startZIndex+5).toString(10),this.leftPage.setHardDrawingAngle(180+this.flippingPage.getHardAngle()),this.leftPage.draw(this.flippingPage.getDrawingDensity())):this.leftPage.simpleDraw(0))}drawRightPage(){this.rightPage!==null&&(this.direction===0&&this.flippingPage!==null&&this.flippingPage.getDrawingDensity()==="hard"?(this.rightPage.getElement().style.zIndex=(this.getSettings().startZIndex+5).toString(10),this.rightPage.setHardDrawingAngle(180+this.flippingPage.getHardAngle()),this.rightPage.draw(this.flippingPage.getDrawingDensity())):this.rightPage.simpleDraw(1))}drawBottomPage(){if(this.bottomPage===null)return;const d=this.flippingPage!=null?this.flippingPage.getDrawingDensity():null;this.orientation==="portrait"&&this.direction===1||(this.bottomPage.getElement().style.zIndex=(this.getSettings().startZIndex+3).toString(10),this.bottomPage.draw(d))}drawFrame(){this.clear(),this.drawLeftPage(),this.drawRightPage(),this.drawBottomPage(),this.flippingPage!=null&&(this.flippingPage.getElement().style.zIndex=(this.getSettings().startZIndex+5).toString(10),this.flippingPage.draw()),this.shadow!=null&&this.flippingPage!==null&&(this.flippingPage.getDrawingDensity()==="soft"?(this.drawOuterShadow(),this.drawInnerShadow()):(this.drawHardOuterShadow(),this.drawHardInnerShadow()))}clear(){for(const d of this.app.getPageCollection().getPages())d!==this.leftPage&&d!==this.rightPage&&d!==this.flippingPage&&d!==this.bottomPage&&(d.getElement().style.cssText="display: none"),d.getTemporaryCopy()!==this.flippingPage&&d.hideTemporaryCopy()}
vendor: 5,531 bytes, lines 1144-1204
1144update(){super.update(),this.rightPage!==null&&this.rightPage.setOrientation(1),this.leftPage!==null&&this.leftPage.setOrientation(0)}}class g{constructor(){this._default={startPage:0,size:"fixed",width:0,height:0,minWidth:0,maxWidth:0,minHeight:0,maxHeight:0,drawShadow:!0,flippingTime:1e3,usePortrait:!0,startZIndex:0,autoSize:!0,maxShadowOpacity:1,showCover:!1,mobileScrollSupport:!0,swipeDistance:30,clickEventForward:!0,useMouseEvents:!0,showPageCorners:!0,disableFlipByClick:!1}}getSettings(d){const y=this._default;if(Object.assign(y,d),y.size!=="stretch"&&y.size!=="fixed")throw new Error('Invalid size type. Available only "fixed" and "stretch" value');if(y.width<=0||y.height<=0)throw new Error("Invalid width or height");if(y.flippingTime<=0)throw new Error("Invalid flipping time");return y.size==="stretch"?(y.minWidth<=0&&(y.minWidth=100),y.maxWidth<y.minWidth&&(y.maxWidth=2e3),y.minHeight<=0&&(y.minHeight=100),y.maxHeight<y.minHeight&&(y.maxHeight=2e3)):(y.minWidth=y.width,y.maxWidth=y.width,y.minHeight=y.height,y.maxHeight=y.height),y}}(function(v,d){d===void 0&&(d={});var y=d.insertAt;if(typeof document<"u"){var b=document.head||document.getElementsByTagName("head")[0],C=document.createElement("style");C.type="text/css",y==="top"&&b.firstChild?b.insertBefore(C,b.firstChild):b.appendChild(C),C.styleSheet?C.styleSheet.cssText=v:C.appendChild(document.createTextNode(v))}})(`.stf__parent {
1145  position: relative;
1146  display: block;
1147  box-sizing: border-box;
1148  transform: translateZ(0);
1149
1150  -ms-touch-action: pan-y;
1151  touch-action: pan-y;
1152}
1153
1154.sft__wrapper {
1155  position: relative;
1156  width: 100%;
1157  box-sizing: border-box;
1158}
1159
1160.stf__parent canvas {
1161  position: absolute;
1162  width: 100%;
1163  height: 100%;
1164  left: 0;
1165  top: 0;
1166}
1167
1168.stf__block {
1169  position: absolute;
1170  width: 100%;
1171  height: 100%;
1172  box-sizing: border-box;
1173  perspective: 2000px;
1174}
1175
1176.stf__item {
1177  display: none;
1178  position: absolute;
1179  transform-style: preserve-3d;
1180}
1181
1182.stf__outerShadow {
1183  position: absolute;
1184  left: 0;
1185  top: 0;
1186}
1187
1188.stf__innerShadow {
1189  position: absolute;
1190  left: 0;
1191  top: 0;
1192}
1193
1194.stf__hardShadow {
1195  position: absolute;
1196  left: 0;
1197  top: 0;
1198}
1199
1200.stf__hardInnerShadow {
1201  position: absolute;
1202  left: 0;
1203  top: 0;
1204}`),t.PageFlip=class extends class{constructor(){this.events=new Map}on(v,d){return this.events.has(v)?this.events.get(v).push(d):this.events.set(v,[d]),this}off(v){this.events.delete(v)}trigger(v,d,y=null){if(this.events.has(v))for(const b of this.events.get(v))b({data:y,object:d})}}{constructor(v,d){super(),this.isUserTouch=!1,this.isUserMove=!1,this.setting=null,this.pages=null,this.setting=new g().getSettings(d),this.block=v}destroy(){this.ui.destroy(),this.block.remove()}update(){this.render.update(),this.pages.show()}loadFromImages(v){this.ui=new w(this.block,this,this.setting);const d=this.ui.getCanvas();this.render=new f(this,this.setting,d),this.flipController=new c(this.render,this),this.pages=new E(this,this.render,v),this.pages.load(),this.render.start(),this.pages.show(this.setting.startPage),setTimeout(()=>{this.ui.update(),this.trigger("init",this,{page:this.setting.startPage,mode:this.render.getOrientation()})},1)}loadFromHTML(v){this.ui=new h(this.block,this,this.setting,v),this.render=new m(this,this.setting,this.ui.getDistElement()),this.flipController=new c(this.render,this),this.pages=new s(this,this.render,this.ui.getDistElement(),v),this.pages.load(),this.render.start(),this.pages.show(this.setting.startPage),setTimeout(()=>{this.ui.update(),this.trigger("init",this,{page:this.setting.startPage,mode:this.render.getOrientation()})},1)}updateFromImages(v){const d=this.pages.getCurrentPageIndex();this.pages.destroy(),this.pages=new E(this,this.render,v),this.pages.load(),this.pages.show(d),this.trigger("update",this,{page:d,mode:this.render.getOrientation()})}updateFromHtml(v){const d=this.pages.getCurrentPageIndex();this.pages.destroy(),this.pages=new s(this,this.render,this.ui.getDistElement(),v),this.pages.load(),this.ui.updateItems(v),this.render.reload(),this.pages.show(d),this.trigger("update",this,{page:d,mode:this.render.getOrientation()})}clear(){this.pages.destroy(),this.ui.clear()}turnToPrevPage(){this.pages.showPrev()}turnToNextPage(){this.pages.showNext()}turnToPage(v){this.pages.show(v)}flipNext(v="top"){this.flipController.flipNext(v)}flipPrev(v="top"){this.flipController.flipPrev(v)}flip(v,d="top"){this.flipController.flipToPage(v,d)}updateState(v){this.trigger("changeState",this,v)}updatePageIndex(v){this.trigger("flip",this,v)}updateOrientation(v){this.ui.setOrientationStyle(v),this.update(),this.trigger("changeOrientation",this,v)}getPageCount(){return this.pages.getPageCount()}getCurrentPageIndex(){return this.pages.getCurrentPageIndex()}getPage(v){return this.pages.getPage(v)}getRender(){return this.render}getFlipController(){return this.flipController}getOrientation(){return this.render.getOrientation()}getBoundsRect(){return this.render.getRect()}getSettings(){return this.setting}getUI(){return this.ui}getState(){return this.flipController.getState()}getPageCollection(){return this.pages}startUserTouch(v){this.mousePosition=v,this.isUserTouch=!0,this.isUserMove=!1}userMove(v,d){this.isUserTouch||d||!this.setting.showPageCorners?this.isUserTouch&&o.GetDistanceBetweenTwoPoint(this.mousePosition,v)>5&&(this.isUserMove=!0,this.flipController.fold(v)):this.flipController.showCorner(v)}userStop(v,d=!1){this.isUserTouch&&(this.isUserTouch=!1,d||(this.isUserMove?this.flipController.stopMove():this.flipController.flip(v)))}}
1204,Object.defineProperty(t,"__esModule",{value:!0})})})(xv,xv.exports);var AVe=xv.exports;const cVe=$.forwardRef((e,u)=>{const t=Q.useRef(null),r=Q.useRef([]),n=Q.useRef(),[i,E]=Q.useState([]);Q.useImperativeHandle(u,()=>({pageFlip:()=>n.current}));const o=Q.useCallback(()=>{n.current&&n.current.clear()},[]),a=Q.useCallback(()=>{const s=n.current;s&&(s.off("flip"),s.off("changeOrientation"),s.off("changeState"),s.off("init"),s.off("update"))},[]);return Q.useEffect(()=>{if(r.current=[],e.children){const s=$.Children.map(e.children,A=>$.cloneElement(A,{ref:c=>{c&&r.current.push(c)}}));(!e.renderOnlyPageLengthChange||i.length!==s.length)&&(s.length<i.length&&o(),E(s))}},[e.children]),Q.useEffect(()=>{const s=()=>{const A=n.current;A&&(e.onFlip&&A.on("flip",c=>e.onFlip(c)),e.onChangeOrientation&&A.on("changeOrientation",c=>e.onChangeOrientation(c)),e.onChangeState&&A.on("changeState",c=>e.onChangeState(c)),e.onInit&&A.on("init",c=>e.onInit(c)),e.onUpdate&&A.on("update",c=>e.onUpdate(c)))};i.length>0&&r.current.length>0&&(a(),t.current&&!n.current&&(n.current=new AVe.PageFlip(t.current,e)),n.current.getFlipController()?n.current.updateFromHtml(r.current):n.current.loadFromHTML(r.current),s())},[i]),$.createElement("div",{ref:t,className:e.className,style:e.style},i)}),bGe=$.memo(cVe);export{Ca as $,Sze as A,x8e as B,dVe as C,dGe as D,Oo as E,Fze as F,rGe as G,bGe as H,eGe as I,xze as J,Dze as K,Jze as L,nGe as M,vB as N,Yoe as O,Bte as P,tGe as Q,$ as R,Ig as S,Wi as T,vR as U,Cze as V,p2e as W,_k as X,gze as Y,Ize as Z,xVe as _,Vze as a,jze as a$,lze as a0,zze as a1,U8e as a2,hze as a3,bze as a4,et as a5,f4 as a6,cp as a7,Wc as a8,Qze as a9,uGe as aA,eN as aB,tze as aC,i0 as aD,oze as aE,Tze as aF,Pze as aG,hGe as aH,pr as aI,yze as aJ,mGe as aK,Mze as aL,wVe as aM,Oze as aN,kze as aO,vGe as aP,wQ as aQ,Bze as aR,Aze as aS,bVe as aT,vQ as aU,Tb as aV,gVe as aW,yVe as aX,_ze as aY,OR as aZ,KU as a_,Lze as aa,TR as ab,Eze as ac,M7 as ad,bK as ae,Lt as af,pVe as ag,Qde as ah,mVe as ai,PR as aj,vVe as ak,hVe as al,BVe as am,aze as an,SW as ao,S6 as ap,wGe as aq,wze as ar,Pb as as,dze as at,LD as au,pze as av,Yze as aw,od as ax,vze as ay,yGe as az,a8e as b,Za as b0,Q as b1,lGe as b2,Uze as b3,fze as b4,Gze as b5,Q8e as b6,BGe as b7,Nde as b8,Rde as b9,Kze as ba,fGe as bb,cGe as bc,SVe as bd,yy as be,pGe as bf,Wm as bg,Rze as bh,cze as bi,X8e as bj,Wze as bk,XVe as bl,$ze as bm,Cw as bn,Nze as bo,qte as bp,ZVe as bq,uze as br,GVe as bs,gae as bt,Hze as bu,CVe as bv,rze as bw,nze as bx,cu as by,gGe as bz,eze as c,Zze as d,qze as e,nE as f,AGe as g,aGe as h,iGe as i,oGe as j,EGe as k,sGe as l,gR as m,qVe as n,ize as o,YVe as p,I_ as q,hE as r,fVe as s,Ii as t,sze as u,h0e as v,JVe as w,Xze as x,xbe as y,mze as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.