@nocobase/plugin-mobile 1.4.0-alpha.8 → 1.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +1 -336
- package/dist/client/mobile-layout/mobile-tab-bar/styles.d.ts +1 -0
- package/dist/client/pages/dynamic-page/components/MobileDatePicker.d.ts +11 -0
- package/dist/client/pages/dynamic-page/components/MobilePicker.d.ts +11 -0
- package/dist/externalVersion.js +8 -8
- package/dist/locale/en-US.json +2 -1
- package/dist/locale/ja-JP.json +2 -1
- package/dist/locale/zh-CN.json +5 -1
- package/dist/server/plugin.js +1 -1
- package/package.json +2 -2
package/dist/client/index.js
CHANGED
|
@@ -7,339 +7,4 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var a=document.createElement("style");a.id="@nocobase/plugin-mobile",a.appendChild(document.createTextNode(':root{--adm-radius-s: 4px;--adm-radius-m: 8px;--adm-radius-l: 12px;--adm-font-size-1: 9px;--adm-font-size-2: 10px;--adm-font-size-3: 11px;--adm-font-size-4: 12px;--adm-font-size-5: 13px;--adm-font-size-6: 14px;--adm-font-size-7: 15px;--adm-font-size-8: 16px;--adm-font-size-9: 17px;--adm-font-size-10: 18px;--adm-color-primary: #1677ff;--adm-color-success: #00b578;--adm-color-warning: #ff8f1f;--adm-color-danger: #ff3141;--adm-color-yellow: #ff9f18;--adm-color-orange: #ff6430;--adm-color-wathet: #e7f1ff;--adm-color-text: #333333;--adm-color-text-secondary: #666666;--adm-color-weak: #999999;--adm-color-light: #cccccc;--adm-color-border: #eeeeee;--adm-color-background: #ffffff;--adm-color-highlight: var(--adm-color-danger);--adm-color-white: #ffffff;--adm-color-box: #f5f5f5;--adm-color-text-light-solid: var(--adm-color-white);--adm-color-text-dark-solid: #000000;--adm-color-fill-content: var(--adm-color-box);--adm-font-size-main: var(--adm-font-size-5);--adm-font-family: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, segoe ui, arial, roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--adm-border-color: var(--adm-color-border)}html[data-prefers-color-scheme=dark]{--adm-color-primary: #3086ff;--adm-color-success: #34b368;--adm-color-warning: #ffa930;--adm-color-danger: #ff4a58;--adm-color-yellow: #ffa930;--adm-color-orange: #e65a2b;--adm-color-wathet: #0d2543;--adm-color-text: #e6e6e6;--adm-color-text-secondary: #b3b3b3;--adm-color-weak: #808080;--adm-color-light: #4d4d4d;--adm-color-border: #2b2b2b;--adm-color-box: #0a0a0a;--adm-color-background: #1a1a1a;--adm-color-background-body: var(--adm-color-background);--adm-border-color: var(--adm-color-border)}:root{-webkit-tap-highlight-color:rgba(0,0,0,0)}html{background-color:var(--adm-color-background-body)}body{color:var(--adm-color-text);font-size:var(--adm-font-size-main);font-family:var(--adm-font-family)}a,button{cursor:pointer}a{color:var(--adm-color-primary);transition:opacity ease-in-out .2s}a:active{opacity:.8}.adm-plain-anchor{color:unset;transition:none}.adm-plain-anchor:active{opacity:unset}body.adm-overflow-hidden{overflow:hidden!important}div.adm-px-tester{--size: 1;height:calc(var(--size) / 2 * 2px);width:0;position:fixed;left:-100vw;top:-100vh;-webkit-user-select:none;user-select:none;pointer-events:none}.adm-popup{--z-index: var(--adm-popup-z-index, 1000);position:fixed;z-index:var(--z-index)}.adm-popup-body{position:fixed;background-color:var(--adm-color-background);z-index:calc(var(--z-index) + 10)}.adm-popup-body .adm-popup-close-icon{position:absolute;z-index:100}.adm-popup-body-position-bottom{width:100%;bottom:0;left:0}.adm-popup-body-position-bottom .adm-popup-close-icon{right:8px;top:8px}.adm-popup-body-position-top{width:100%;top:0;left:0}.adm-popup-body-position-top .adm-popup-close-icon{right:8px;bottom:8px}.adm-popup-body-position-left{height:100%;top:0;left:0}.adm-popup-body-position-left .adm-popup-close-icon{right:8px;top:8px}.adm-popup-body-position-right{height:100%;top:0;right:0}.adm-popup-body-position-right .adm-popup-close-icon{left:8px;top:8px}.adm-popup-close-icon{cursor:pointer;padding:4px;font-size:18px;line-height:1;color:var(--adm-color-weak)}.adm-mask{--z-index: var(--adm-mask-z-index, 1000);position:fixed;top:0;left:0;z-index:var(--z-index);display:block;width:100%;height:100%}.adm-mask-aria-button{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;pointer-events:none}.adm-mask-content{z-index:1}.adm-safe-area{--multiple: var(--adm-safe-area-multiple, 1);display:block;width:100%}.adm-safe-area-position-top{padding-top:calc(env(safe-area-inset-top) * var(--multiple))}.adm-safe-area-position-bottom{padding-bottom:calc(env(safe-area-inset-bottom) * var(--multiple))}.adm-badge-wrapper{display:inline-block;position:relative}.adm-badge{display:inline-flex;vertical-align:middle;box-sizing:content-box;border-radius:100px;background-color:var(--color);--right: 0;--top: 0;--color: var(--adm-badge-color, var(--adm-color-highlight))}.adm-badge-content{color:var(--adm-color-text-light-solid);box-sizing:border-box;min-width:8px;padding:1px 4px;font-size:var(--adm-font-size-1);line-height:12px;white-space:nowrap;font-weight:400;text-align:center}.adm-badge-fixed{position:absolute;right:var(--right);top:var(--top);transform:translate(50%,-50%)}.adm-badge-dot{min-width:10px;width:10px;height:10px;border-radius:5px}.adm-badge-bordered{border:solid 1px var(--adm-color-text-light-solid)}.adm-button{--color: var(--adm-color-text-light-solid);--text-color: var(--adm-button-text-color, var(--adm-color-text));--background-color: var(--adm-button-background-color, var(--adm-color-background));--border-radius: var(--adm-button-border-radius, 4px);--border-width: var(--adm-button-border-width, 1px);--border-style: var(--adm-button-border-style, solid);--border-color: var(--adm-button-border-color, var(--adm-color-border));color:var(--text-color);background-color:var(--background-color);position:relative;display:inline-block;box-sizing:border-box;height:auto;padding:7px 12px;margin:0;font-size:var(--adm-font-size-9);line-height:1.4;text-align:center;border:var(--border-width) var(--border-style) var(--border-color);border-radius:var(--border-radius);cursor:pointer;transition:opacity ease .15s;-webkit-user-select:none;user-select:none}.adm-button:focus{outline:none}.adm-button:before{position:absolute;top:0;left:0;transform:translate(calc(var(--border-width) * -1),calc(var(--border-width) * -1));width:100%;height:100%;background-color:var(--adm-color-text-dark-solid);border:var(--border-width) var(--border-style) var(--adm-color-text-dark-solid);border-radius:var(--border-radius);opacity:0;content:" ";box-sizing:content-box}.adm-button:active:before{opacity:.08}.adm-button-default.adm-button-fill-outline{--background-color: transparent;--border-color: var(--adm-color-text)}.adm-button-default.adm-button-fill-none{--background-color: transparent;--border-width: 0px}.adm-button:not(.adm-button-default){--text-color: var(--adm-color-text-light-solid);--background-color: var(--color);--border-color: var(--color)}.adm-button:not(.adm-button-default).adm-button-fill-outline{--text-color: var(--color);--background-color: transparent}.adm-button:not(.adm-button-default).adm-button-fill-none{--text-color: var(--color);--background-color: transparent;--border-width: 0px}.adm-button-primary{--color: var(--adm-color-primary)}.adm-button-success{--color: var(--adm-color-success)}.adm-button-danger{--color: var(--adm-color-danger)}.adm-button-warning{--color: var(--adm-color-warning)}.adm-button-block{display:block;width:100%}.adm-button-disabled{cursor:not-allowed;opacity:.4}.adm-button-disabled:active:before{display:none}.adm-button.adm-button-mini{padding-top:3px;padding-bottom:3px;font-size:var(--adm-font-size-main)}.adm-button.adm-button-mini.adm-button-shape-rounded{padding-left:9px;padding-right:9px}.adm-button.adm-button-small{padding-top:3px;padding-bottom:3px;font-size:var(--adm-font-size-7)}.adm-button.adm-button-large{padding-top:11px;padding-bottom:11px;font-size:var(--adm-font-size-10)}.adm-button.adm-button-shape-rounded{--border-radius: 1000px}.adm-button.adm-button-shape-rectangular{--border-radius: 0}.adm-button-loading{vertical-align:bottom}.adm-button-loading-wrapper{display:flex;height:1.4em;align-items:center;justify-content:center}.adm-button-loading-wrapper>.adm-loading{opacity:.6}.adm-dot-loading{display:inline-block}.adm-tabs{--title-font-size: var(--adm-font-size-9);--content-padding: 12px;--active-line-height: 2px;--active-line-border-radius: var(--active-line-height);--active-line-color: var(--adm-color-primary);--active-title-color: var(--adm-color-primary);position:relative;min-width:0}.adm-tabs-header{position:relative;border-bottom:solid 1px var(--adm-color-border)}.adm-tabs-tab-list{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;position:relative;overflow-x:scroll;scrollbar-width:none}.adm-tabs-tab-list::-webkit-scrollbar{display:none}.adm-tabs-tab-wrapper{padding:0 12px}.adm-tabs-tab-wrapper-stretch{flex:auto}.adm-tabs-tab{white-space:nowrap;padding:8px 0 10px;width:-webkit-min-content;width:min-content;margin:0 auto;font-size:var(--title-font-size);position:relative;cursor:pointer}.adm-tabs-tab-active{color:var(--active-title-color)}.adm-tabs-tab-disabled{opacity:.5;cursor:not-allowed}.adm-tabs-tab-line{position:absolute;bottom:0;height:var(--active-line-height);background:var(--active-line-color);border-radius:var(--active-line-border-radius)}.adm-tabs-content{padding:var(--content-padding)}.adm-tabs-header-mask{position:absolute;top:0;bottom:0;z-index:1;width:30px;height:100%;pointer-events:none}.adm-tabs-header-mask-left{left:0;background:linear-gradient(to right,var(--adm-color-background),rgba(255,255,255,0))}.adm-tabs-header-mask-right{right:0;background:linear-gradient(to left,var(--adm-color-background),rgba(255,255,255,0))}.adm-error-block{--color: var(--adm-color-text);--image-height: var(--adm-error-block-image-height, 100px);--image-height-full-page: var(--adm-error-block-image-height-full-page, 200px);--image-width: var(--adm-error-block-image-width, auto);--image-width-full-page: var(--adm-error-block-image-width-full-page, auto);box-sizing:border-box;text-align:center}.adm-error-block-image{height:var(--image-height);width:var(--image-width);max-width:100%}.adm-error-block-image svg,.adm-error-block-image img{height:100%}.adm-error-block-description{font-size:var(--adm-font-size-4);color:var(--adm-color-weak);line-height:1.4;margin-top:12px}.adm-error-block-description-title{font-size:var(--adm-font-size-7)}.adm-error-block-description-subtitle{margin-top:8px}.adm-error-block-content{margin-top:12px}.adm-error-block-full-page{padding-top:calc(50vh - var(--image-height-full-page))}.adm-error-block-full-page .adm-error-block-image{height:var(--image-height-full-page);width:var(--image-width-full-page)}.adm-error-block-full-page .adm-error-block-description{margin-top:20px;font-size:var(--adm-font-size-main)}.adm-error-block-full-page .adm-error-block-description-title{font-size:20px;color:var(--adm-color-text)}.adm-space-item{flex:none}.adm-space{display:inline-flex;--gap: 8px;--gap-vertical: var(--gap);--gap-horizontal: var(--gap)}.adm-space-vertical{flex-direction:column}.adm-space-vertical>.adm-space-item{margin-bottom:var(--gap-vertical)}.adm-space-vertical>.adm-space-item:last-child{margin-bottom:0}.adm-space-horizontal{flex-direction:row}.adm-space-horizontal>.adm-space-item{margin-right:var(--gap-horizontal)}.adm-space-horizontal>.adm-space-item:last-child{margin-right:0}.adm-space-horizontal.adm-space-wrap{flex-wrap:wrap;margin-bottom:calc(var(--gap-vertical) * -1)}.adm-space-horizontal.adm-space-wrap>.adm-space-item{padding-bottom:var(--gap-vertical)}.adm-space.adm-space-block{display:flex}.adm-space-align-center{align-items:center}.adm-space-align-start{align-items:flex-start}.adm-space-align-end{align-items:flex-end}.adm-space-align-baseline{align-items:baseline}.adm-space-justify-center{justify-content:center}.adm-space-justify-start{justify-content:flex-start}.adm-space-justify-end{justify-content:flex-end}.adm-space-justify-between{justify-content:space-between}.adm-space-justify-around{justify-content:space-around}.adm-space-justify-evenly{justify-content:space-evenly}.adm-space-justify-stretch{justify-content:stretch}.adm-nav-bar{--height: 45px;--border-bottom: none;display:flex;align-items:center;height:var(--height);border-bottom:var(--border-bottom);padding:0 12px;white-space:nowrap}.adm-nav-bar-left,.adm-nav-bar-right{flex:1}.adm-nav-bar-title{flex:auto;text-align:center;overflow:hidden;text-overflow:ellipsis}.adm-nav-bar-back{display:flex;align-items:center;margin-right:16px;padding:6px 0;cursor:pointer}.adm-nav-bar-back-arrow{font-size:24px;margin-right:4px}.adm-nav-bar-left{font-size:var(--adm-font-size-7);display:flex;justify-content:flex-start;align-items:center}.adm-nav-bar-title{justify-content:center;white-space:nowrap;font-size:var(--adm-font-size-10);padding:0 12px}.adm-nav-bar-right{text-align:right}.adm-tab-bar-wrap{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;min-height:48px}.adm-tab-bar-item{flex:1;color:var(--adm-color-text-secondary);white-space:nowrap;padding:4px 8px;width:-webkit-min-content;width:min-content;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column}.adm-tab-bar-item-icon{font-size:24px;height:24px;line-height:1}.adm-tab-bar-item-title{font-size:var(--adm-font-size-2);line-height:15px}.adm-tab-bar-item-title-with-icon{margin-top:2px}.adm-tab-bar-item-active{color:var(--adm-color-primary)}.adm-tab-bar-icon-badge{--top: 6px}.adm-tab-bar-title-badge{--right: -2px;--top: -2px}')),document.head.appendChild(a)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
11
|
-
(function(x,d){typeof exports=="object"&&typeof module!="undefined"?d(exports,require("react/jsx-runtime"),require("@nocobase/client"),require("react-router-dom"),require("react-i18next"),require("react"),require("@formily/react"),require("antd"),require("ahooks"),require("react-dom"),require("lodash"),require("antd-style"),require("@formily/shared"),require("@emotion/css"),require("@ant-design/icons"),require("@nocobase/utils/client"),require("@formily/antd-v5"),require("@nocobase/plugin-acl/client"),require("@formily/core")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@nocobase/client","react-router-dom","react-i18next","react","@formily/react","antd","ahooks","react-dom","lodash","antd-style","@formily/shared","@emotion/css","@ant-design/icons","@nocobase/utils/client","@formily/antd-v5","@nocobase/plugin-acl/client","@formily/core"],d):(x=typeof globalThis!="undefined"?globalThis:x||self,d(x["@nocobase/plugin-mobile"]={},x.jsxRuntime,x["@nocobase/client"],x["react-router-dom"],x["react-i18next"],x.react,x["@formily/react"],x.antd,x.ahooks,x["react-dom"],x.lodash,x["antd-style"],x["@formily/shared"],x["@emotion/css"],x["@ant-design/icons"],x["@nocobase/utils"],x["@formily/antd-v5"],x["@nocobase/plugin-acl"],x["@formily/core"]))})(this,function(x,d,g,V,Je,a,D,F,X,$e,Ue,lt,ei,un,Lr,Al,Ol,Dr,Zr){"use strict";var F0=Object.defineProperty,B0=Object.defineProperties;var z0=Object.getOwnPropertyDescriptors;var dn=Object.getOwnPropertySymbols;var _l=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable;var zr=(x,d,g)=>d in x?F0(x,d,{enumerable:!0,configurable:!0,writable:!0,value:g}):x[d]=g,B=(x,d)=>{for(var g in d||(d={}))_l.call(d,g)&&zr(x,g,d[g]);if(dn)for(var g of dn(d))Il.call(d,g)&&zr(x,g,d[g]);return x},R=(x,d)=>B0(x,z0(d));var Rt=(x,d)=>{var g={};for(var V in x)_l.call(x,V)&&d.indexOf(V)<0&&(g[V]=x[V]);if(x!=null&&dn)for(var V of dn(x))d.indexOf(V)<0&&Il.call(x,V)&&(g[V]=x[V]);return g};var Nr=(x,d,g)=>(zr(x,typeof d!="symbol"?d+"":d,g),g);var Q=(x,d,g)=>new Promise((V,Je)=>{var a=X=>{try{F(g.next(X))}catch($e){Je($e)}},D=X=>{try{F(g.throw(X))}catch($e){Je($e)}},F=X=>X.done?V(X.value):Promise.resolve(X.value).then(a,D);F((g=g.apply(x,d)).next())});function Fl(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>t[i]})}}return e.default=t,Object.freeze(e)}const ee=Fl(a),Vr="@nocobase/plugin-mobile",fn={name:Vr,version:"1.4.0-alpha.8",main:"dist/server/index.js",homepage:"https://docs.nocobase.com/handbook/mobile","homepage.zh-CN":"https://docs-cn.nocobase.com/handbook/mobile",license:"AGPL-3.0",displayName:"Mobile","displayName.zh-CN":"移动端",description:"Provides the ability to configure mobile pages.","description.zh-CN":"提供移动端页面配置的能力。",peerDependencies:{"@nocobase/client":"1.x","@nocobase/plugin-acl":"1.x","@nocobase/server":"1.x","@nocobase/test":"1.x"},devDependencies:{"@ant-design/icons":"5.x","@emotion/css":"11.x","@formily/antd-v5":"1.x","@formily/core":"2.x","@formily/react":"2.x","@formily/shared":"2.x","@types/react":"17.x","@types/react-dom":"17.x",ahooks:"3.x",antd:"5.x","antd-mobile":"^5.38",lodash:"4.x","re-resizable":"6.6.0","react-device-detect":"2.2.3","react-i18next":"11.x"}};function de(){return Je.useTranslation([fn.name,"client"],{nsMode:"fallback"})}function Z(t){return`{{t('${t}', { ns: ['${fn.name}', 'client'], nsMode: 'fallback' })}}`}var Bl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function jr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var M={},hn={exports:{}};(function(t,e){(function(i,n){var r="1.0.38",o="",s="?",l="function",h="undefined",u="object",p="string",y="major",c="model",m="name",f="type",b="vendor",v="version",C="architecture",S="console",w="mobile",k="tablet",P="smarttv",T="wearable",L="embedded",q=500,ne="Amazon",K="Apple",ue="ASUS",$="BlackBerry",Y="Browser",Te="Chrome",Xt="Edge",Ze="Firefox",kt="Google",on="Huawei",st="LG",ze="Microsoft",at="Motorola",Ve="Opera",Xe="Samsung",sn="Sharp",an="Sony",Ir="Xiaomi",Ar="Zebra",Sl="Facebook",kl="Chromium OS",El="Mac OS",I0=function(N,W){var O={};for(var G in N)W[G]&&W[G].length%2===0?O[G]=W[G].concat(N[G]):O[G]=N[G];return O},ln=function(N){for(var W={},O=0;O<N.length;O++)W[N[O].toUpperCase()]=N[O];return W},Cl=function(N,W){return typeof N===p?Jt(W).indexOf(Jt(N))!==-1:!1},Jt=function(N){return N.toLowerCase()},A0=function(N){return typeof N===p?N.replace(/[^\d\.]/g,o).split(".")[0]:n},Or=function(N,W){if(typeof N===p)return N=N.replace(/^\s\s*/,o),typeof W===h?N:N.substring(0,q)},$t=function(N,W){for(var O=0,G,je,Ne,j,I,Le;O<W.length&&!I;){var Br=W[O],Tl=W[O+1];for(G=je=0;G<Br.length&&!I&&Br[G];)if(I=Br[G++].exec(N),I)for(Ne=0;Ne<Tl.length;Ne++)Le=I[++je],j=Tl[Ne],typeof j===u&&j.length>0?j.length===2?typeof j[1]==l?this[j[0]]=j[1].call(this,Le):this[j[0]]=j[1]:j.length===3?typeof j[1]===l&&!(j[1].exec&&j[1].test)?this[j[0]]=Le?j[1].call(this,Le,j[2]):n:this[j[0]]=Le?Le.replace(j[1],j[2]):n:j.length===4&&(this[j[0]]=Le?j[3].call(this,Le.replace(j[1],j[2])):n):this[j]=Le||n;O+=2}},Fr=function(N,W){for(var O in W)if(typeof W[O]===u&&W[O].length>0){for(var G=0;G<W[O].length;G++)if(Cl(W[O][G],N))return O===s?n:O}else if(Cl(W[O],N))return O===s?n:O;return N},O0={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Pl={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ml={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,v],[/opios[\/ ]+([\w\.]+)/i],[v,[m,Ve+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[m,Ve+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[m,Ve]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,v],[/\bddg\/([\w\.]+)/i],[v,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[m,"UC"+Y]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[m,"Smart Lenovo "+Y]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+Y],v],[/\bfocus\/([\w\.]+)/i],[v,[m,Ze+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[m,Ve+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[m,Ve+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[m,"MIUI "+Y]],[/fxios\/([-\w\.]+)/i],[v,[m,Ze]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360 "+Y]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1 "+Y],v],[/samsungbrowser\/([\w\.]+)/i],[v,[m,Xe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,Sl],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[m,Te+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,Te+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[m,"Android "+Y]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[v,Fr,O0]],[/(webkit|khtml)\/([\w\.]+)/i],[m,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[m,Ze+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[m,v],[/(cobalt)\/([\w\.]+)/i],[m,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[C,"amd64"]],[/(ia32(?=;))/i],[[C,Jt]],[/((?:i[346]|x)86)[;\)]/i],[[C,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[C,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[C,"armhf"]],[/windows (ce|mobile); ppc;/i],[[C,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[C,/ower/,o,Jt]],[/(sun4\w)[;\)]/i],[[C,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[C,Jt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[b,Xe],[f,k]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[b,Xe],[f,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[b,K],[f,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[b,K],[f,k]],[/(macintosh);/i],[c,[b,K]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[b,sn],[f,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[b,on],[f,k]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[b,on],[f,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[b,Ir],[f,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[b,Ir],[f,k]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[b,"OPPO"],[f,w]],[/\b(opd2\d{3}a?) bui/i],[c,[b,"OPPO"],[f,k]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[b,"Vivo"],[f,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[b,"Realme"],[f,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[b,at],[f,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[b,at],[f,k]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[b,st],[f,k]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[b,st],[f,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[b,"Lenovo"],[f,k]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[b,"Nokia"],[f,w]],[/(pixel c)\b/i],[c,[b,kt],[f,k]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[b,kt],[f,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[b,an],[f,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[b,an],[f,k]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[b,"OnePlus"],[f,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[b,ne],[f,k]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[b,ne],[f,w]],[/(playbook);[-\w\),; ]+(rim)/i],[c,b,[f,k]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[b,$],[f,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[b,ue],[f,k]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[b,ue],[f,w]],[/(nexus 9)/i],[c,[b,"HTC"],[f,k]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[b,[c,/_/g," "],[f,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[b,"Acer"],[f,k]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[b,"Meizu"],[f,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[b,"Ulefone"],[f,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[b,c,[f,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[b,c,[f,k]],[/(surface duo)/i],[c,[b,ze],[f,k]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[b,"Fairphone"],[f,w]],[/(u304aa)/i],[c,[b,"AT&T"],[f,w]],[/\bsie-(\w*)/i],[c,[b,"Siemens"],[f,w]],[/\b(rct\w+) b/i],[c,[b,"RCA"],[f,k]],[/\b(venue[\d ]{2,7}) b/i],[c,[b,"Dell"],[f,k]],[/\b(q(?:mv|ta)\w+) b/i],[c,[b,"Verizon"],[f,k]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[b,"Barnes & Noble"],[f,k]],[/\b(tm\d{3}\w+) b/i],[c,[b,"NuVision"],[f,k]],[/\b(k88) b/i],[c,[b,"ZTE"],[f,k]],[/\b(nx\d{3}j) b/i],[c,[b,"ZTE"],[f,w]],[/\b(gen\d{3}) b.+49h/i],[c,[b,"Swiss"],[f,w]],[/\b(zur\d{3}) b/i],[c,[b,"Swiss"],[f,k]],[/\b((zeki)?tb.*\b) b/i],[c,[b,"Zeki"],[f,k]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[b,"Dragon Touch"],c,[f,k]],[/\b(ns-?\w{0,9}) b/i],[c,[b,"Insignia"],[f,k]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[b,"NextBook"],[f,k]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[b,"Voice"],c,[f,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[b,"LvTel"],c,[f,w]],[/\b(ph-1) /i],[c,[b,"Essential"],[f,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[b,"Envizen"],[f,k]],[/\b(trio[-\w\. ]+) b/i],[c,[b,"MachSpeed"],[f,k]],[/\btu_(1491) b/i],[c,[b,"Rotor"],[f,k]],[/(shield[\w ]+) b/i],[c,[b,"Nvidia"],[f,k]],[/(sprint) (\w+)/i],[b,c,[f,w]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[b,ze],[f,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[b,Ar],[f,k]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[b,Ar],[f,w]],[/smart-tv.+(samsung)/i],[b,[f,P]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[b,Xe],[f,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[b,st],[f,P]],[/(apple) ?tv/i],[b,[c,K+" TV"],[f,P]],[/crkey/i],[[c,Te+"cast"],[b,kt],[f,P]],[/droid.+aft(\w+)( bui|\))/i],[c,[b,ne],[f,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[b,sn],[f,P]],[/(bravia[\w ]+)( bui|\))/i],[c,[b,an],[f,P]],[/(mitv-\w{5}) bui/i],[c,[b,Ir],[f,P]],[/Hbbtv.*(technisat) (.*);/i],[b,c,[f,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[b,Or],[c,Or],[f,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[b,c,[f,S]],[/droid.+; (shield) bui/i],[c,[b,"Nvidia"],[f,S]],[/(playstation [345portablevi]+)/i],[c,[b,an],[f,S]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[b,ze],[f,S]],[/((pebble))app/i],[b,c,[f,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[b,K],[f,T]],[/droid.+; (glass) \d/i],[c,[b,kt],[f,T]],[/droid.+; (wt63?0{2,3})\)/i],[c,[b,Ar],[f,T]],[/(quest( \d| pro)?)/i],[c,[b,Sl],[f,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[b,[f,L]],[/(aeobc)\b/i],[c,[b,ne],[f,L]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,k]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,k]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,w]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[b,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[m,Xt+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[v,Fr,Pl]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,Fr,Pl],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,El],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,v],[/\(bb(10);/i],[v,[m,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[m,Ze+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[m,Te+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,kl],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,v],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,v]]},_e=function(N,W){if(typeof N===u&&(W=N,N=n),!(this instanceof _e))return new _e(N,W).getResult();var O=typeof i!==h&&i.navigator?i.navigator:n,G=N||(O&&O.userAgent?O.userAgent:o),je=O&&O.userAgentData?O.userAgentData:n,Ne=W?I0(Ml,W):Ml,j=O&&O.userAgent==G;return this.getBrowser=function(){var I={};return I[m]=n,I[v]=n,$t.call(I,G,Ne.browser),I[y]=A0(I[v]),j&&O&&O.brave&&typeof O.brave.isBrave==l&&(I[m]="Brave"),I},this.getCPU=function(){var I={};return I[C]=n,$t.call(I,G,Ne.cpu),I},this.getDevice=function(){var I={};return I[b]=n,I[c]=n,I[f]=n,$t.call(I,G,Ne.device),j&&!I[f]&&je&&je.mobile&&(I[f]=w),j&&I[c]=="Macintosh"&&O&&typeof O.standalone!==h&&O.maxTouchPoints&&O.maxTouchPoints>2&&(I[c]="iPad",I[f]=k),I},this.getEngine=function(){var I={};return I[m]=n,I[v]=n,$t.call(I,G,Ne.engine),I},this.getOS=function(){var I={};return I[m]=n,I[v]=n,$t.call(I,G,Ne.os),j&&!I[m]&&je&&je.platform&&je.platform!="Unknown"&&(I[m]=je.platform.replace(/chrome os/i,kl).replace(/macos/i,El)),I},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return G},this.setUA=function(I){return G=typeof I===p&&I.length>q?Or(I,q):I,this},this.setUA(G),this};_e.VERSION=r,_e.BROWSER=ln([m,v,y]),_e.CPU=ln([C]),_e.DEVICE=ln([c,b,f,S,w,P,k,T,L]),_e.ENGINE=_e.OS=ln([m,v]),t.exports&&(e=t.exports=_e),e.UAParser=_e;var Et=typeof i!==h&&(i.jQuery||i.Zepto);if(Et&&!Et.ua){var cn=new _e;Et.ua=cn.getResult(),Et.ua.get=function(){return cn.getUA()},Et.ua.set=function(N){cn.setUA(N);var W=cn.getResult();for(var O in W)Et.ua[O]=W[O]}}})(typeof window=="object"?window:Bl)})(hn,hn.exports);var zl=hn.exports;Object.defineProperty(M,"__esModule",{value:!0});function Nl(t){return t&&typeof t=="object"&&"default"in t?t.default:t}var oe=a,H=Nl(oe),Ur=zl,We=new Ur,se=We.getBrowser(),Ll=We.getCPU(),be=We.getDevice(),pn=We.getEngine(),qe=We.getOS(),Ct=We.getUA(),Wr=function(e){return We.setUA(e)},Pt=function(e){if(!e){console.error("No userAgent string was provided");return}var i=new Ur(e);return{UA:i,browser:i.getBrowser(),cpu:i.getCPU(),device:i.getDevice(),engine:i.getEngine(),os:i.getOS(),ua:i.getUA(),setUserAgent:function(r){return i.setUA(r)}}},qr=Object.freeze({ClientUAInstance:We,browser:se,cpu:Ll,device:be,engine:pn,os:qe,ua:Ct,setUa:Wr,parseUserAgent:Pt});function Hr(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Dl(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?Hr(Object(i),!0).forEach(function(n){Ul(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Hr(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function Mt(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(e){return typeof e}:Mt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(t)}function Zl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function jl(t,e,i){return e&&Vl(t.prototype,e),t}function Ul(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function mn(){return mn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},mn.apply(this,arguments)}function Wl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gn(t,e)}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function gn(t,e){return gn=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},gn(t,e)}function ql(t,e){if(t==null)return{};var i={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(i[r]=t[r]);return i}function ye(t,e){if(t==null)return{};var i=ql(t,e),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function ti(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ti(t)}function Kl(t,e){return Gl(t)||Yl(t,e)||Ql(t,e)||Xl()}function Gl(t){if(Array.isArray(t))return t}function Yl(t,e){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,s,l;try{for(i=i.call(t);!(r=(s=i.next()).done)&&(n.push(s.value),!(e&&n.length===e));r=!0);}catch(h){o=!0,l=h}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw l}}return n}}function Ql(t,e){if(t){if(typeof t=="string")return Kr(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Kr(t,e)}}function Kr(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Xl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
12
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ae={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},fe={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},ct={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Jl={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},$l=function(e){switch(e){case ae.Mobile:return{isMobile:!0};case ae.Tablet:return{isTablet:!0};case ae.SmartTv:return{isSmartTV:!0};case ae.Console:return{isConsole:!0};case ae.Wearable:return{isWearable:!0};case ae.Browser:return{isBrowser:!0};case ae.Embedded:return{isEmbedded:!0};default:return Jl}},Rl=function(e){return Wr(e)},_=function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return e||i},vn=function(){return typeof window!="undefined"&&(window.navigator||navigator)?window.navigator||navigator:!1},yn=function(e){var i=vn();return i&&i.platform&&(i.platform.indexOf(e)!==-1||i.platform==="MacIntel"&&i.maxTouchPoints>1&&!window.MSStream)},ec=function(e,i,n,r,o){return{isBrowser:e,browserMajorVersion:_(i.major),browserFullVersion:_(i.version),browserName:_(i.name),engineName:_(n.name),engineVersion:_(n.version),osName:_(r.name),osVersion:_(r.version),userAgent:_(o)}},Gr=function(e,i,n,r){return Dl({},e,{vendor:_(i.vendor),model:_(i.model),os:_(n.name),osVersion:_(n.version),ua:_(r)})},tc=function(e,i,n,r){return{isSmartTV:e,engineName:_(i.name),engineVersion:_(i.version),osName:_(n.name),osVersion:_(n.version),userAgent:_(r)}},ic=function(e,i,n,r){return{isConsole:e,engineName:_(i.name),engineVersion:_(i.version),osName:_(n.name),osVersion:_(n.version),userAgent:_(r)}},nc=function(e,i,n,r){return{isWearable:e,engineName:_(i.name),engineVersion:_(i.version),osName:_(n.name),osVersion:_(n.version),userAgent:_(r)}},rc=function(e,i,n,r,o){return{isEmbedded:e,vendor:_(i.vendor),model:_(i.model),engineName:_(n.name),engineVersion:_(n.version),osName:_(r.name),osVersion:_(r.version),userAgent:_(o)}};function oc(t){var e=t?Pt(t):qr,i=e.device,n=e.browser,r=e.engine,o=e.os,s=e.ua,l=$l(i.type),h=l.isBrowser,u=l.isMobile,p=l.isTablet,y=l.isSmartTV,c=l.isConsole,m=l.isWearable,f=l.isEmbedded;if(h)return ec(h,n,r,o,s);if(y)return tc(y,r,o,s);if(c)return ic(c,r,o,s);if(u||p)return Gr(l,i,o,s);if(m)return nc(m,r,o,s);if(f)return rc(f,i,r,o,s)}var Yr=function(e){var i=e.type;return i===ae.Mobile},Qr=function(e){var i=e.type;return i===ae.Tablet},Xr=function(e){var i=e.type;return i===ae.Mobile||i===ae.Tablet},Jr=function(e){var i=e.type;return i===ae.SmartTv},ii=function(e){var i=e.type;return i===ae.Browser},$r=function(e){var i=e.type;return i===ae.Wearable},Rr=function(e){var i=e.type;return i===ae.Console},eo=function(e){var i=e.type;return i===ae.Embedded},to=function(e){var i=e.vendor;return _(i)},io=function(e){var i=e.model;return _(i)},no=function(e){var i=e.type;return _(i,"browser")},ro=function(e){var i=e.name;return i===ct.Android},oo=function(e){var i=e.name;return i===ct.Windows},so=function(e){var i=e.name;return i===ct.MAC_OS},ao=function(e){var i=e.name;return i===ct.WindowsPhone},lo=function(e){var i=e.name;return i===ct.IOS},co=function(e){var i=e.version;return _(i)},uo=function(e){var i=e.name;return _(i)},fo=function(e){var i=e.name;return i===fe.Chrome},ho=function(e){var i=e.name;return i===fe.Firefox},po=function(e){var i=e.name;return i===fe.Chromium},ni=function(e){var i=e.name;return i===fe.Edge},mo=function(e){var i=e.name;return i===fe.Yandex},bo=function(e){var i=e.name;return i===fe.Safari||i===fe.MobileSafari},go=function(e){var i=e.name;return i===fe.MobileSafari},vo=function(e){var i=e.name;return i===fe.Opera},yo=function(e){var i=e.name;return i===fe.InternetExplorer||i===fe.Ie},wo=function(e){var i=e.name;return i===fe.MIUI},xo=function(e){var i=e.name;return i===fe.SamsungBrowser},So=function(e){var i=e.version;return _(i)},ko=function(e){var i=e.major;return _(i)},Eo=function(e){var i=e.name;return _(i)},Co=function(e){var i=e.name;return _(i)},Po=function(e){var i=e.version;return _(i)},Mo=function(){var e=vn(),i=e&&e.userAgent&&e.userAgent.toLowerCase();return typeof i=="string"?/electron/.test(i):!1},dt=function(e){return typeof e=="string"&&e.indexOf("Edg/")!==-1},To=function(){var e=vn();return e&&(/iPad|iPhone|iPod/.test(e.platform)||e.platform==="MacIntel"&&e.maxTouchPoints>1)&&!window.MSStream},Ie=function(){return yn("iPad")},_o=function(){return yn("iPhone")},Io=function(){return yn("iPod")},Ao=function(e){return _(e)};function Oo(t){var e=t||qr,i=e.device,n=e.browser,r=e.os,o=e.engine,s=e.ua;return{isSmartTV:Jr(i),isConsole:Rr(i),isWearable:$r(i),isEmbedded:eo(i),isMobileSafari:go(n)||Ie(),isChromium:po(n),isMobile:Xr(i)||Ie(),isMobileOnly:Yr(i),isTablet:Qr(i)||Ie(),isBrowser:ii(i),isDesktop:ii(i),isAndroid:ro(r),isWinPhone:ao(r),isIOS:lo(r)||Ie(),isChrome:fo(n),isFirefox:ho(n),isSafari:bo(n),isOpera:vo(n),isIE:yo(n),osVersion:co(r),osName:uo(r),fullBrowserVersion:So(n),browserVersion:ko(n),browserName:Eo(n),mobileVendor:to(i),mobileModel:io(i),engineName:Co(o),engineVersion:Po(o),getUA:Ao(s),isEdge:ni(n)||dt(s),isYandex:mo(n),deviceType:no(i),isIOS13:To(),isIPad13:Ie(),isIPhone13:_o(),isIPod13:Io(),isElectron:Mo(),isEdgeChromium:dt(s),isLegacyEdge:ni(n)&&!dt(s),isWindows:oo(r),isMacOs:so(r),isMIUI:wo(n),isSamsungBrowser:xo(n)}}var Fo=Jr(be),Bo=Rr(be),zo=$r(be),sc=eo(be),ac=go(se)||Ie(),lc=po(se),ri=Xr(be)||Ie(),No=Yr(be),Lo=Qr(be)||Ie(),Do=ii(be),cc=ii(be),Zo=ro(qe),Vo=ao(qe),jo=lo(qe)||Ie(),dc=fo(se),uc=ho(se),fc=bo(se),hc=vo(se),Uo=yo(se),pc=co(qe),mc=uo(qe),bc=So(se),gc=ko(se),vc=Eo(se),yc=to(be),wc=io(be),xc=Co(pn),Sc=Po(pn),kc=Ao(Ct),Ec=ni(se)||dt(Ct),Cc=mo(se),Pc=no(be),Mc=To(),Tc=Ie(),_c=_o(),Ic=Io(),Ac=Mo(),Oc=dt(Ct),Fc=ni(se)&&!dt(Ct),Bc=oo(qe),zc=so(qe),Nc=wo(se),Lc=xo(se),Dc=function(e){if(!e||typeof e!="string"){console.error("No valid user agent string was provided");return}var i=Pt(e),n=i.device,r=i.browser,o=i.os,s=i.engine,l=i.ua;return Oo({device:n,browser:r,os:o,engine:s,ua:l})},Zc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Zo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Vc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Do?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},jc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Uo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Uc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return jo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Wc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return ri?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},qc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Lo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Hc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Vo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Kc=function(e){var i=e.renderWithFragment,n=e.children;e.viewClassName,e.style;var r=ye(e,["renderWithFragment","children","viewClassName","style"]);return No?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Gc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Fo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Yc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return Bo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Qc=function(e){var i=e.renderWithFragment,n=e.children,r=ye(e,["renderWithFragment","children"]);return zo?i?H.createElement(oe.Fragment,null,n):H.createElement("div",r,n):null},Xc=function(e){var i=e.renderWithFragment,n=e.children;e.viewClassName,e.style;var r=e.condition,o=ye(e,["renderWithFragment","children","viewClassName","style","condition"]);return r?i?H.createElement(oe.Fragment,null,n):H.createElement("div",o,n):null};function Jc(t){return function(e){Wl(i,e);function i(n){var r;return Zl(this,i),r=Hl(this,bn(i).call(this,n)),r.isEventListenerAdded=!1,r.handleOrientationChange=r.handleOrientationChange.bind(ti(r)),r.onOrientationChange=r.onOrientationChange.bind(ti(r)),r.onPageLoad=r.onPageLoad.bind(ti(r)),r.state={isLandscape:!1,isPortrait:!1},r}return jl(i,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var r=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:r===0,isLandscape:r===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window=="undefined"?"undefined":Mt(window))!==void 0&&ri&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return H.createElement(t,mn({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),i}(H.Component)}function $c(){var t=oe.useState(function(){var o=window.innerWidth>window.innerHeight?90:0;return{isPortrait:o===0,isLandscape:o===90,orientation:o===0?"portrait":"landscape"}}),e=Kl(t,2),i=e[0],n=e[1],r=oe.useCallback(function(){var o=window.innerWidth>window.innerHeight?90:0,s={isPortrait:o===0,isLandscape:o===90,orientation:o===0?"portrait":"landscape"};i.orientation!==s.orientation&&n(s)},[i.orientation]);return oe.useEffect(function(){return(typeof window=="undefined"?"undefined":Mt(window))!==void 0&&ri&&(r(),window.addEventListener("load",r,!1),window.addEventListener("resize",r,!1)),function(){window.removeEventListener("resize",r,!1),window.removeEventListener("load",r,!1)}},[r]),i}function Wo(t){var e=t||window.navigator.userAgent;return Pt(e)}function Rc(t){var e=t||window.navigator.userAgent,i=Wo(e),n=Oo(i);return[n,i]}M.AndroidView=Zc,M.BrowserTypes=fe,M.BrowserView=Vc,M.ConsoleView=Yc,M.CustomView=Xc,M.IEView=jc,M.IOSView=Uc,M.MobileOnlyView=Kc,M.MobileView=Wc,M.OsTypes=ct,M.SmartTVView=Gc,M.TabletView=qc,M.WearableView=Qc,M.WinPhoneView=Hc,M.browserName=vc,M.browserVersion=gc,M.deviceDetect=oc,M.deviceType=Pc,M.engineName=xc,M.engineVersion=Sc,M.fullBrowserVersion=bc,M.getSelectorsByUserAgent=Dc,M.getUA=kc,M.isAndroid=Zo,M.isBrowser=Do,M.isChrome=dc,M.isChromium=lc,M.isConsole=Bo;var qo=M.isDesktop=cc;M.isEdge=Ec,M.isEdgeChromium=Oc,M.isElectron=Ac,M.isEmbedded=sc,M.isFirefox=uc,M.isIE=Uo,M.isIOS=jo,M.isIOS13=Mc,M.isIPad13=Tc,M.isIPhone13=_c,M.isIPod13=Ic,M.isLegacyEdge=Fc,M.isMIUI=Nc,M.isMacOs=zc;var ed=M.isMobile=ri;M.isMobileOnly=No,M.isMobileSafari=ac,M.isOpera=hc,M.isSafari=fc,M.isSamsungBrowser=Lc,M.isSmartTV=Fo,M.isTablet=Lo,M.isWearable=zo,M.isWinPhone=Vo,M.isWindows=Bc,M.isYandex=Cc,M.mobileModel=wc,M.mobileVendor=yc,M.osName=mc,M.osVersion=pc,M.parseUserAgent=Pt,M.setUserAgent=Rl,M.useDeviceData=Wo,M.useDeviceSelectors=Rc,M.useMobileOrientation=$c,M.withOrientationChange=Jc;const oi=!!(typeof window!="undefined"&&typeof document!="undefined"&&window.document&&window.document.createElement);oi&&document.addEventListener("touchstart",()=>{},!0);function td(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function l(p){try{u(n.next(p))}catch(y){s(y)}}function h(p){try{u(n.throw(p))}catch(y){s(y)}}function u(p){p.done?o(p.value):r(p.value).then(l,h)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const ge="${label}不是一个有效的${type}",id={current:{locale:{locale:"zh-CH",common:{confirm:"确定",cancel:"取消",loading:"加载中",close:"关闭"},Calendar:{title:"日期选择",confirm:"确认",start:"开始",end:"结束",today:"今日",markItems:["一","二","三","四","五","六","日"],yearAndMonth:"${year}年${month}月"},Cascader:{placeholder:"请选择"},Dialog:{ok:"我知道了"},DatePicker:{tillNow:"至今"},ErrorBlock:{default:{title:"页面遇到一些小问题",description:"待会来试试"},busy:{title:"前方拥堵",description:"刷新试试"},disconnected:{title:"网络有点忙",description:"动动手指帮忙修复"},empty:{title:"没有找到你需要的东西",description:"找找其他的吧"}},Form:{required:"必填",optional:"选填",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:ge,method:ge,array:ge,object:ge,number:ge,date:ge,boolean:ge,integer:ge,float:ge,regexp:ge,email:ge,url:ge,hex:ge},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},ImageUploader:{uploading:"上传中...",upload:"上传"},InfiniteScroll:{noMore:"没有更多了",failedToLoad:"加载失败",retry:"重新加载"},Input:{clear:"清除"},Mask:{name:"背景蒙层"},Modal:{ok:"我知道了"},PasscodeInput:{name:"密码输入框"},PullToRefresh:{pulling:"下拉刷新",canRelease:"释放立即刷新",complete:"刷新成功"},SearchBar:{name:"搜索框"},Slider:{name:"滑动输入条"},Stepper:{decrease:"减少",increase:"增加"},Switch:{name:"开关"},Selector:{name:"选择组"}}}};function nd(){return id.current}const rd=a.createContext(null);function si(){var t;return(t=a.useContext(rd))!==null&&t!==void 0?t:nd()}function Ho(t,e){const i=t;for(const n in e)e.hasOwnProperty(n)&&(i[n]=e[n]);return i}var Ko={exports:{}};/*!
|
|
13
|
-
Copyright (c) 2018 Jed Watson.
|
|
14
|
-
Licensed under the MIT License (MIT), see
|
|
15
|
-
http://jedwatson.github.io/classnames
|
|
16
|
-
*/(function(t){(function(){var e={}.hasOwnProperty;function i(){for(var o="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(o=r(o,n(l)))}return o}function n(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return i.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var l in o)e.call(o,l)&&o[l]&&(s=r(s,l));return s}function r(o,s){return s?o?o+" "+s:o+s:o}t.exports?(i.default=i,t.exports=i):window.classNames=i})()})(Ko);var od=Ko.exports;const te=jr(od);function Ce(t,e){const i=Object.assign({},e.props);t.className&&(i.className=te(e.props.className,t.className)),t.style&&(i.style=Object.assign(Object.assign({},i.style),t.style)),t.tabIndex!==void 0&&(i.tabIndex=t.tabIndex);for(const n in t)t.hasOwnProperty(n)&&(n.startsWith("data-")||n.startsWith("aria-"))&&(i[n]=t[n]);return a.cloneElement(e,i)}function He(...t){const e={};return t.forEach(i=>{i&&Object.keys(i).forEach(n=>{i[n]!==void 0&&(e[n]=i[n])})}),e}function sd(t,...e){for(let i=e.length-1;i>=0;i-=1)if(e[i]!==void 0)return e[i];return t}const Go=10;function ad(t,e){return t>e&&t>Go?"horizontal":e>t&&e>Go?"vertical":""}function ld(){const t=a.useRef(0),e=a.useRef(0),i=a.useRef(0),n=a.useRef(0),r=a.useRef(0),o=a.useRef(0),s=a.useRef(""),l=()=>s.current==="vertical",h=()=>s.current==="horizontal",u=()=>{i.current=0,n.current=0,r.current=0,o.current=0,s.current=""};return{move:c=>{const m=c.touches[0];i.current=m.clientX<0?0:m.clientX-t.current,n.current=m.clientY-e.current,r.current=Math.abs(i.current),o.current=Math.abs(n.current),s.current||(s.current=ad(r.current,o.current))},start:c=>{u(),t.current=c.touches[0].clientX,e.current=c.touches[0].clientY},reset:u,startX:t,startY:e,deltaX:i,deltaY:n,offsetX:r,offsetY:o,direction:s,isVertical:l,isHorizontal:h}}const cd=oi?window:void 0,dd=["scroll","auto","overlay"];function ud(t){return t.nodeType===1}function fd(t,e=cd){let i=t;for(;i&&i!==e&&ud(i);){if(i===document.body)return e;const{overflowY:n}=window.getComputedStyle(i);if(dd.includes(n)&&i.scrollHeight>i.clientHeight)return i;i=i.parentNode}return e}let wn=!1;if(oi)try{const t={};Object.defineProperty(t,"passive",{get(){wn=!0}}),window.addEventListener("test-passive",null,t)}catch(t){}let Tt=0;const Yo="adm-overflow-hidden";function hd(t){let e=t==null?void 0:t.parentElement;for(;e;){if(e.clientHeight<e.scrollHeight)return e;e=e.parentElement}return null}function Qo(t,e){const i=ld(),n=s=>{i.move(s);const l=i.deltaY.current>0?"10":"01",h=fd(s.target,t.current);if(!h)return;if(e==="strict"){const f=hd(s.target);if(f===document.body||f===document.documentElement){s.preventDefault();return}}const{scrollHeight:u,offsetHeight:p,scrollTop:y}=h,{height:c}=h.getBoundingClientRect();let m="11";y===0?m=p>=u?"00":"01":u<=Math.round(c+y)&&(m="10"),m!=="11"&&i.isVertical()&&!(parseInt(m,2)&parseInt(l,2))&&s.cancelable&&wn&&s.preventDefault()},r=()=>{document.addEventListener("touchstart",i.start),document.addEventListener("touchmove",n,wn?{passive:!1}:!1),Tt||document.body.classList.add(Yo),Tt++},o=()=>{Tt&&(document.removeEventListener("touchstart",i.start),document.removeEventListener("touchmove",n),Tt--,Tt||document.body.classList.remove(Yo))};a.useEffect(()=>{if(e)return r(),()=>{o()}},[e])}let xn=It();const A=t=>_t(t,xn);let Sn=It();A.write=t=>_t(t,Sn);let ai=It();A.onStart=t=>_t(t,ai);let kn=It();A.onFrame=t=>_t(t,kn);let En=It();A.onFinish=t=>_t(t,En);let ut=[];A.setTimeout=(t,e)=>{let i=A.now()+e,n=()=>{let o=ut.findIndex(s=>s.cancel==n);~o&&ut.splice(o,1),Ge-=~o?1:0},r={time:i,handler:t,cancel:n};return ut.splice(Xo(i),0,r),Ge+=1,Jo(),r};let Xo=t=>~(~ut.findIndex(e=>e.time>t)||~ut.length);A.cancel=t=>{ai.delete(t),kn.delete(t),En.delete(t),xn.delete(t),Sn.delete(t)},A.sync=t=>{Pn=!0,A.batchedUpdates(t),Pn=!1},A.throttle=t=>{let e;function i(){try{t(...e)}finally{e=null}}function n(...r){e=r,A.onStart(i)}return n.handler=t,n.cancel=()=>{ai.delete(i),e=null},n};let Cn=typeof window!="undefined"?window.requestAnimationFrame:()=>{};A.use=t=>Cn=t,A.now=typeof performance!="undefined"?()=>performance.now():Date.now,A.batchedUpdates=t=>t(),A.catch=console.error,A.frameLoop="always",A.advance=()=>{A.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ro()};let Ke=-1,Ge=0,Pn=!1;function _t(t,e){Pn?(e.delete(t),t(0)):(e.add(t),Jo())}function Jo(){Ke<0&&(Ke=0,A.frameLoop!=="demand"&&Cn($o))}function pd(){Ke=-1}function $o(){~Ke&&(Cn($o),A.batchedUpdates(Ro))}function Ro(){let t=Ke;Ke=A.now();let e=Xo(Ke);if(e&&(es(ut.splice(0,e),i=>i.handler()),Ge-=e),!Ge){pd();return}ai.flush(),xn.flush(t?Math.min(64,Ke-t):16.667),kn.flush(),Sn.flush(),En.flush()}function It(){let t=new Set,e=t;return{add(i){Ge+=e==t&&!t.has(i)?1:0,t.add(i)},delete(i){return Ge-=e==t&&t.has(i)?1:0,t.delete(i)},flush(i){e.size&&(t=new Set,Ge-=e.size,es(e,n=>n(i)&&t.add(n)),Ge+=t.size,e=t)}}}function es(t,e){t.forEach(i=>{try{e(i)}catch(n){A.catch(n)}})}function Mn(){}const md=(t,e,i)=>Object.defineProperty(t,e,{value:i,writable:!0,configurable:!0}),E={arr:Array.isArray,obj:t=>!!t&&t.constructor.name==="Object",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0};function De(t,e){if(E.arr(t)){if(!E.arr(e)||t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}return t===e}const z=(t,e)=>t.forEach(e);function Ae(t,e,i){if(E.arr(t)){for(let n=0;n<t.length;n++)e.call(i,t[n],`${n}`);return}for(const n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n)}const ve=t=>E.und(t)?[]:E.arr(t)?t:[t];function At(t,e){if(t.size){const i=Array.from(t);t.clear(),z(i,e)}}const Ot=(t,...e)=>At(t,i=>i(...e)),Tn=()=>typeof window=="undefined"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let _n,ts,Ye=null,is=!1,In=Mn;var Oe=Object.freeze({__proto__:null,get createStringInterpolator(){return _n},get to(){return ts},get colors(){return Ye},get skipAnimation(){return is},get willAdvance(){return In},assign:t=>{t.to&&(ts=t.to),t.now&&(A.now=t.now),t.colors!==void 0&&(Ye=t.colors),t.skipAnimation!=null&&(is=t.skipAnimation),t.createStringInterpolator&&(_n=t.createStringInterpolator),t.requestAnimationFrame&&A.use(t.requestAnimationFrame),t.batchedUpdates&&(A.batchedUpdates=t.batchedUpdates),t.willAdvance&&(In=t.willAdvance),t.frameLoop&&(A.frameLoop=t.frameLoop)}});const Ft=new Set;let we=[],An=[],li=0;const ci={get idle(){return!Ft.size&&!we.length},start(t){li>t.priority?(Ft.add(t),A.onStart(bd)):(ns(t),A(On))},advance:On,sort(t){if(li)A.onFrame(()=>ci.sort(t));else{const e=we.indexOf(t);~e&&(we.splice(e,1),rs(t))}},clear(){we=[],Ft.clear()}};function bd(){Ft.forEach(ns),Ft.clear(),A(On)}function ns(t){we.includes(t)||rs(t)}function rs(t){we.splice(gd(we,e=>e.priority>t.priority),0,t)}function On(t){const e=An;for(let i=0;i<we.length;i++){const n=we[i];li=n.priority,n.idle||(In(n),n.advance(t),n.idle||e.push(n))}return li=0,An=we,An.length=0,we=e,we.length>0}function gd(t,e){const i=t.findIndex(e);return i<0?t.length:i}const vd=(t,e,i)=>Math.min(Math.max(i,t),e),yd={transparent:0,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,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,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,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Pe="[-+]?\\d*\\.?\\d+",di=Pe+"%";function ui(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const wd=new RegExp("rgb"+ui(Pe,Pe,Pe)),xd=new RegExp("rgba"+ui(Pe,Pe,Pe,Pe)),Sd=new RegExp("hsl"+ui(Pe,di,di)),kd=new RegExp("hsla"+ui(Pe,di,di,Pe)),Ed=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Cd=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Pd=/^#([0-9a-fA-F]{6})$/,Md=/^#([0-9a-fA-F]{8})$/;function Td(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=Pd.exec(t))?parseInt(e[1]+"ff",16)>>>0:Ye&&Ye[t]!==void 0?Ye[t]:(e=wd.exec(t))?(ft(e[1])<<24|ft(e[2])<<16|ft(e[3])<<8|255)>>>0:(e=xd.exec(t))?(ft(e[1])<<24|ft(e[2])<<16|ft(e[3])<<8|as(e[4]))>>>0:(e=Ed.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=Md.exec(t))?parseInt(e[1],16)>>>0:(e=Cd.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=Sd.exec(t))?(os(ss(e[1]),fi(e[2]),fi(e[3]))|255)>>>0:(e=kd.exec(t))?(os(ss(e[1]),fi(e[2]),fi(e[3]))|as(e[4]))>>>0:null}function Fn(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function os(t,e,i){const n=i<.5?i*(1+e):i+e-i*e,r=2*i-n,o=Fn(r,n,t+1/3),s=Fn(r,n,t),l=Fn(r,n,t-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(l*255)<<8}function ft(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function ss(t){return(parseFloat(t)%360+360)%360/360}function as(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function fi(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function ls(t){let e=Td(t);if(e===null)return t;e=e||0;let i=(e&4278190080)>>>24,n=(e&16711680)>>>16,r=(e&65280)>>>8,o=(e&255)/255;return`rgba(${i}, ${n}, ${r}, ${o})`}const Bt=(t,e,i)=>{if(E.fun(t))return t;if(E.arr(t))return Bt({range:t,output:e,extrapolate:i});if(E.str(t.output[0]))return _n(t);const n=t,r=n.output,o=n.range||[0,1],s=n.extrapolateLeft||n.extrapolate||"extend",l=n.extrapolateRight||n.extrapolate||"extend",h=n.easing||(u=>u);return u=>{const p=Id(u,o);return _d(u,o[p],o[p+1],r[p],r[p+1],h,s,l,n.map)}};function _d(t,e,i,n,r,o,s,l,h){let u=h?h(t):t;if(u<e){if(s==="identity")return u;s==="clamp"&&(u=e)}if(u>i){if(l==="identity")return u;l==="clamp"&&(u=i)}return n===r?n:e===i?t<=e?n:r:(e===-1/0?u=-u:i===1/0?u=u-e:u=(u-e)/(i-e),u=o(u),n===-1/0?u=-u:r===1/0?u=u+n:u=u*(r-n)+n,u)}function Id(t,e){for(var i=1;i<e.length-1&&!(e[i]>=t);++i);return i-1}const Ad=(t,e="end")=>i=>{i=e==="end"?Math.min(i,.999):Math.max(i,.001);const n=i*t,r=e==="end"?Math.floor(n):Math.ceil(n);return vd(0,1,r/t)},hi=1.70158,pi=hi*1.525,cs=hi+1,ds=2*Math.PI/3,us=2*Math.PI/4.5,mi=t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,Od={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>t===0?0:Math.pow(2,10*t-10),easeOutExpo:t=>t===1?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>t===0?0:t===1?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>cs*t*t*t-hi*t*t,easeOutBack:t=>1+cs*Math.pow(t-1,3)+hi*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*((pi+1)*2*t-pi)/2:(Math.pow(2*t-2,2)*((pi+1)*(t*2-2)+pi)+2)/2,easeInElastic:t=>t===0?0:t===1?1:-Math.pow(2,10*t-10)*Math.sin((t*10-10.75)*ds),easeOutElastic:t=>t===0?0:t===1?1:Math.pow(2,-10*t)*Math.sin((t*10-.75)*ds)+1,easeInOutElastic:t=>t===0?0:t===1?1:t<.5?-(Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*us))/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*us)/2+1,easeInBounce:t=>1-mi(1-t),easeOutBounce:mi,easeInOutBounce:t=>t<.5?(1-mi(1-2*t))/2:(1+mi(2*t-1))/2,steps:Ad};function Bn(){return Bn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Bn.apply(this,arguments)}const ht=Symbol.for("FluidValue.get"),Re=Symbol.for("FluidValue.observers"),xe=t=>!!(t&&t[ht]),he=t=>t&&t[ht]?t[ht]():t,fs=t=>t[Re]||null;function Fd(t,e){t.eventObserved?t.eventObserved(e):t(e)}function zt(t,e){let i=t[Re];i&&i.forEach(n=>{Fd(n,e)})}class hs{constructor(e){if(this[ht]=void 0,this[Re]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Bd(this,e)}}const Bd=(t,e)=>ps(t,ht,e);function pt(t,e){if(t[ht]){let i=t[Re];i||ps(t,Re,i=new Set),i.has(e)||(i.add(e),t.observerAdded&&t.observerAdded(i.size,e))}return e}function Nt(t,e){let i=t[Re];if(i&&i.has(e)){const n=i.size-1;n?i.delete(e):t[Re]=null,t.observerRemoved&&t.observerRemoved(n,e)}}const ps=(t,e,i)=>Object.defineProperty(t,e,{value:i,writable:!0,configurable:!0}),bi=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,zd=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ms=new RegExp(`(${bi.source})(%|[a-z]+)`,"i"),Nd=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,gi=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,bs=t=>{const[e,i]=Ld(t);if(!e||Tn())return t;const n=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(n)return n.trim();if(i&&i.startsWith("--")){const r=window.getComputedStyle(document.documentElement).getPropertyValue(i);return r||t}else{if(i&&gi.test(i))return bs(i);if(i)return i}return t},Ld=t=>{const e=gi.exec(t);if(!e)return[,];const[,i,n]=e;return[i,n]};let zn;const Dd=(t,e,i,n,r)=>`rgba(${Math.round(e)}, ${Math.round(i)}, ${Math.round(n)}, ${r})`,gs=t=>{zn||(zn=Ye?new RegExp(`(${Object.keys(Ye).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map(o=>he(o).replace(gi,bs).replace(zd,ls).replace(zn,ls)),i=e.map(o=>o.match(bi).map(Number)),r=i[0].map((o,s)=>i.map(l=>{if(!(s in l))throw Error('The arity of each "output" value must be equal');return l[s]})).map(o=>Bt(Bn({},t,{output:o})));return o=>{var s;const l=!ms.test(e[0])&&((s=e.find(u=>ms.test(u)))==null?void 0:s.replace(bi,""));let h=0;return e[0].replace(bi,()=>`${r[h++](o)}${l||""}`).replace(Nd,Dd)}},Nn="react-spring: ",vs=t=>{const e=t;let i=!1;if(typeof e!="function")throw new TypeError(`${Nn}once requires a function parameter`);return(...n)=>{i||(e(...n),i=!0)}},Zd=vs(console.warn);function Vd(){Zd(`${Nn}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const jd=vs(console.warn);function Ud(){jd(`${Nn}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function vi(t){return E.str(t)&&(t[0]=="#"||/\d/.test(t)||!Tn()&&gi.test(t)||t in(Ye||{}))}const Ln=Tn()?a.useEffect:a.useLayoutEffect,Wd=()=>{const t=a.useRef(!1);return Ln(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function ys(){const t=a.useState()[1],e=Wd();return()=>{e.current&&t(Math.random())}}function qd(t,e){const[i]=a.useState(()=>({inputs:e,result:t()})),n=a.useRef(),r=n.current;let o=r;return o?e&&o.inputs&&Hd(e,o.inputs)||(o={inputs:e,result:t()}):o=i,a.useEffect(()=>{n.current=o,r==i&&(i.inputs=i.result=void 0)},[o]),o.result}function Hd(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}const ws=t=>a.useEffect(t,Kd),Kd=[];function xs(t){const e=a.useRef();return a.useEffect(()=>{e.current=t}),e.current}const Lt=Symbol.for("Animated:node"),Gd=t=>!!t&&t[Lt]===t,Fe=t=>t&&t[Lt],Dn=(t,e)=>md(t,Lt,e),yi=t=>t&&t[Lt]&&t[Lt].getPayload();class Ss{constructor(){this.payload=void 0,Dn(this,this)}getPayload(){return this.payload||[]}}class mt extends Ss{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,E.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new mt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,i){return E.num(e)&&(this.lastPosition=e,i&&(e=Math.round(e/i)*i,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,E.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class bt extends mt{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Bt({output:[e,e]})}static create(e){return new bt(e)}getValue(){let e=this._string;return e==null?this._string=this._toString(this._value):e}setValue(e){if(E.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Bt({output:[this.getValue(),e]})),this._value=0,super.reset()}}const wi={dependencies:null};class xi extends Ss{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const i={};return Ae(this.source,(n,r)=>{Gd(n)?i[r]=n.getValue(e):xe(n)?i[r]=he(n):e||(i[r]=n)}),i}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&z(this.payload,e=>e.reset())}_makePayload(e){if(e){const i=new Set;return Ae(e,this._addToPayload,i),Array.from(i)}}_addToPayload(e){wi.dependencies&&xe(e)&&wi.dependencies.add(e);const i=yi(e);i&&z(i,n=>this.add(n))}}class Zn extends xi{constructor(e){super(e)}static create(e){return new Zn(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const i=this.getPayload();return e.length==i.length?i.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(Yd)),!0)}}function Yd(t){return(vi(t)?bt:mt).create(t)}function Vn(t){const e=Fe(t);return e?e.constructor:E.arr(t)?Zn:vi(t)?bt:mt}function Si(){return Si=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Si.apply(this,arguments)}const ks=(t,e)=>{const i=!E.fun(t)||t.prototype&&t.prototype.isReactComponent;return a.forwardRef((n,r)=>{const o=a.useRef(null),s=i&&a.useCallback(f=>{o.current=Jd(r,f)},[r]),[l,h]=Xd(n,e),u=ys(),p=()=>{const f=o.current;if(i&&!f)return;(f?e.applyAnimatedValues(f,l.getValue(!0)):!1)===!1&&u()},y=new Qd(p,h),c=a.useRef();Ln(()=>(c.current=y,z(h,f=>pt(f,y)),()=>{c.current&&(z(c.current.deps,f=>Nt(f,c.current)),A.cancel(c.current.update))})),a.useEffect(p,[]),ws(()=>()=>{const f=c.current;z(f.deps,b=>Nt(b,f))});const m=e.getComponentProps(l.getValue());return ee.createElement(t,Si({},m,{ref:s}))})};class Qd{constructor(e,i){this.update=e,this.deps=i}eventObserved(e){e.type=="change"&&A.write(this.update)}}function Xd(t,e){const i=new Set;return wi.dependencies=i,t.style&&(t=Si({},t,{style:e.createAnimatedStyle(t.style)})),t=new xi(t),wi.dependencies=null,[t,i]}function Jd(t,e){return t&&(E.fun(t)?t(e):t.current=e),e}const Es=Symbol.for("AnimatedComponent"),$d=(t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:i=r=>new xi(r),getComponentProps:n=r=>r}={})=>{const r={applyAnimatedValues:e,createAnimatedStyle:i,getComponentProps:n},o=s=>{const l=Cs(s)||"Anonymous";return E.str(s)?s=o[s]||(o[s]=ks(s,r)):s=s[Es]||(s[Es]=ks(s,r)),s.displayName=`Animated(${l})`,s};return Ae(t,(s,l)=>{E.arr(t)&&(l=Cs(s)),o[l]=o(s)}),{animated:o}},Cs=t=>E.str(t)?t:t&&E.str(t.displayName)?t.displayName:E.fun(t)&&t.name||null;function ie(){return ie=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},ie.apply(this,arguments)}function et(t,...e){return E.fun(t)?t(...e):t}const Dt=(t,e)=>t===!0||!!(e&&t&&(E.fun(t)?t(e):ve(t).includes(e))),Ps=(t,e)=>E.obj(t)?e&&t[e]:t,Ms=(t,e)=>t.default===!0?t[e]:t.default?t.default[e]:void 0,Rd=t=>t,jn=(t,e=Rd)=>{let i=eu;t.default&&t.default!==!0&&(t=t.default,i=Object.keys(t));const n={};for(const r of i){const o=e(t[r],r);E.und(o)||(n[r]=o)}return n},eu=["config","onProps","onStart","onChange","onPause","onResume","onRest"],tu={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function iu(t){const e={};let i=0;if(Ae(t,(n,r)=>{tu[r]||(e[r]=n,i++)}),i)return e}function Ts(t){const e=iu(t);if(e){const i={to:e};return Ae(t,(n,r)=>r in e||(i[r]=n)),i}return ie({},t)}function Zt(t){return t=he(t),E.arr(t)?t.map(Zt):vi(t)?Oe.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function nu(t){for(const e in t)return!0;return!1}function Un(t){return E.fun(t)||E.arr(t)&&E.obj(t[0])}function ru(t,e){var i;(i=t.ref)==null||i.delete(t),e==null||e.delete(t)}function ou(t,e){if(e&&t.ref!==e){var i;(i=t.ref)==null||i.delete(t),e.add(t),t.ref=e}}const Wn=ie({},{default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}}.default,{mass:1,damping:1,easing:Od.linear,clamp:!1});class su{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,Wn)}}function au(t,e,i){i&&(i=ie({},i),_s(i,e),e=ie({},i,e)),_s(t,e),Object.assign(t,e);for(const s in Wn)t[s]==null&&(t[s]=Wn[s]);let{mass:n,frequency:r,damping:o}=t;return E.und(r)||(r<.01&&(r=.01),o<0&&(o=0),t.tension=Math.pow(2*Math.PI/r,2)*n,t.friction=4*Math.PI*o*n/r),t}function _s(t,e){if(!E.und(e.decay))t.duration=void 0;else{const i=!E.und(e.tension)||!E.und(e.friction);(i||!E.und(e.frequency)||!E.und(e.damping)||!E.und(e.mass))&&(t.duration=void 0,t.decay=void 0),i&&(t.frequency=void 0)}}const Is=[];class lu{constructor(){this.changed=!1,this.values=Is,this.toValues=null,this.fromValues=Is,this.to=void 0,this.from=void 0,this.config=new su,this.immediate=!1}}function As(t,{key:e,props:i,defaultProps:n,state:r,actions:o}){return new Promise((s,l)=>{var h;let u,p,y=Dt((h=i.cancel)!=null?h:n==null?void 0:n.cancel,e);if(y)f();else{E.und(i.pause)||(r.paused=Dt(i.pause,e));let b=n==null?void 0:n.pause;b!==!0&&(b=r.paused||Dt(b,e)),u=et(i.delay||0,e),b?(r.resumeQueue.add(m),o.pause()):(o.resume(),m())}function c(){r.resumeQueue.add(m),r.timeouts.delete(p),p.cancel(),u=p.time-A.now()}function m(){u>0&&!Oe.skipAnimation?(r.delayed=!0,p=A.setTimeout(f,u),r.pauseQueue.add(c),r.timeouts.add(p)):f()}function f(){r.delayed&&(r.delayed=!1),r.pauseQueue.delete(c),r.timeouts.delete(p),t<=(r.cancelId||0)&&(y=!0);try{o.start(ie({},i,{callId:t,cancel:y}),s)}catch(b){l(b)}}})}const qn=(t,e)=>e.length==1?e[0]:e.some(i=>i.cancelled)?gt(t.get()):e.every(i=>i.noop)?Os(t.get()):Me(t.get(),e.every(i=>i.finished)),Os=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),Me=(t,e,i=!1)=>({value:t,finished:e,cancelled:i}),gt=t=>({value:t,cancelled:!0,finished:!1});function Fs(t,e,i,n){const{callId:r,parentId:o,onRest:s}=e,{asyncTo:l,promise:h}=i;return!o&&t===l&&!e.reset?h:i.promise=Q(this,null,function*(){i.asyncId=r,i.asyncTo=t;const u=jn(e,(v,C)=>C==="onRest"?void 0:v);let p,y;const c=new Promise((v,C)=>(p=v,y=C)),m=v=>{const C=r<=(i.cancelId||0)&>(n)||r!==i.asyncId&&Me(n,!1);if(C)throw v.result=C,y(v),v},f=(v,C)=>{const S=new Bs,w=new zs;return Q(this,null,function*(){if(Oe.skipAnimation)throw Vt(i),w.result=Me(n,!1),y(w),w;m(S);const k=E.obj(v)?ie({},v):ie({},C,{to:v});k.parentId=r,Ae(u,(T,L)=>{E.und(k[L])&&(k[L]=T)});const P=yield n.start(k);return m(S),i.paused&&(yield new Promise(T=>{i.resumeQueue.add(T)})),P})};let b;if(Oe.skipAnimation)return Vt(i),Me(n,!1);try{let v;E.arr(t)?v=(C=>Q(this,null,function*(){for(const S of C)yield f(S)}))(t):v=Promise.resolve(t(f,n.stop.bind(n))),yield Promise.all([v.then(p),c]),b=Me(n.get(),!0,!1)}catch(v){if(v instanceof Bs)b=v.result;else if(v instanceof zs)b=v.result;else throw v}finally{r==i.asyncId&&(i.asyncId=o,i.asyncTo=o?l:void 0,i.promise=o?h:void 0)}return E.fun(s)&&A.batchedUpdates(()=>{s(b,n,n.item)}),b})}function Vt(t,e){At(t.timeouts,i=>i.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}class Bs extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class zs extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const Hn=t=>t instanceof Kn;let cu=1;class Kn extends hs{constructor(...e){super(...e),this.id=cu++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Fe(this);return e&&e.getValue()}to(...e){return Oe.to(this,e)}interpolate(...e){return Vd(),Oe.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,i=!1){zt(this,{type:"change",parent:this,value:e,idle:i})}_onPriorityChange(e){this.idle||ci.sort(this),zt(this,{type:"priority",parent:this,priority:e})}}const tt=Symbol.for("SpringPhase"),Ns=1,Gn=2,Yn=4,Qn=t=>(t[tt]&Ns)>0,Qe=t=>(t[tt]&Gn)>0,jt=t=>(t[tt]&Yn)>0,Ls=(t,e)=>e?t[tt]|=Gn|Ns:t[tt]&=~Gn,Ds=(t,e)=>e?t[tt]|=Yn:t[tt]&=~Yn;class du extends Kn{constructor(e,i){if(super(),this.key=void 0,this.animation=new lu,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!E.und(e)||!E.und(i)){const n=E.obj(e)?ie({},e):ie({},i,{from:e});E.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Qe(this)||this._state.asyncTo)||jt(this)}get goal(){return he(this.animation.to)}get velocity(){const e=Fe(this);return e instanceof mt?e.lastVelocity||0:e.getPayload().map(i=>i.lastVelocity||0)}get hasAnimated(){return Qn(this)}get isAnimating(){return Qe(this)}get isPaused(){return jt(this)}get isDelayed(){return this._state.delayed}advance(e){let i=!0,n=!1;const r=this.animation;let{config:o,toValues:s}=r;const l=yi(r.to);!l&&xe(r.to)&&(s=ve(he(r.to))),r.values.forEach((p,y)=>{if(p.done)return;const c=p.constructor==bt?1:l?l[y].lastPosition:s[y];let m=r.immediate,f=c;if(!m){if(f=p.lastPosition,o.tension<=0){p.done=!0;return}let b=p.elapsedTime+=e;const v=r.fromValues[y],C=p.v0!=null?p.v0:p.v0=E.arr(o.velocity)?o.velocity[y]:o.velocity;let S;const w=o.precision||(v==c?.005:Math.min(1,Math.abs(c-v)*.001));if(E.und(o.duration))if(o.decay){const k=o.decay===!0?.998:o.decay,P=Math.exp(-(1-k)*b);f=v+C/(1-k)*(1-P),m=Math.abs(p.lastPosition-f)<=w,S=C*P}else{S=p.lastVelocity==null?C:p.lastVelocity;const k=o.restVelocity||w/10,P=o.clamp?0:o.bounce,T=!E.und(P),L=v==c?p.v0>0:v<c;let q,ne=!1;const K=1,ue=Math.ceil(e/K);for(let $=0;$<ue&&(q=Math.abs(S)>k,!(!q&&(m=Math.abs(c-f)<=w,m)));++$){T&&(ne=f==c||f>c==L,ne&&(S=-S*P,f=c));const Y=-o.tension*1e-6*(f-c),Te=-o.friction*.001*S,Xt=(Y+Te)/o.mass;S=S+Xt*K,f=f+S*K}}else{let k=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,p.durationProgress>0&&(p.elapsedTime=o.duration*p.durationProgress,b=p.elapsedTime+=e)),k=(o.progress||0)+b/this._memoizedDuration,k=k>1?1:k<0?0:k,p.durationProgress=k),f=v+o.easing(k)*(c-v),S=(f-p.lastPosition)/e,m=k==1}p.lastVelocity=S,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),m=!0)}l&&!l[y].done&&(m=!1),m?p.done=!0:i=!1,p.setValue(f,o.round)&&(n=!0)});const h=Fe(this),u=h.getValue();if(i){const p=he(r.to);(u!==p||n)&&!o.decay?(h.setValue(p),this._onChange(p)):n&&o.decay&&this._onChange(u),this._stop()}else n&&this._onChange(u)}set(e){return A.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Qe(this)){const{to:e,config:i}=this.animation;A.batchedUpdates(()=>{this._onStart(),i.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,i){let n;return E.und(e)?(n=this.queue||[],this.queue=[]):n=[E.obj(e)?e:ie({},i,{to:e})],Promise.all(n.map(r=>this._update(r))).then(r=>qn(this,r))}stop(e){const{to:i}=this.animation;return this._focus(this.get()),Vt(this._state,e&&this._lastCallId),A.batchedUpdates(()=>this._stop(i,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const i=this.key||"";let{to:n,from:r}=e;n=E.obj(n)?n[i]:n,(n==null||Un(n))&&(n=void 0),r=E.obj(r)?r[i]:r,r==null&&(r=void 0);const o={to:n,from:r};return Qn(this)||(e.reverse&&([n,r]=[r,n]),r=he(r),E.und(r)?Fe(this)||this._set(n):this._set(r)),o}_update(e,i){let n=ie({},e);const{key:r,defaultProps:o}=this;n.default&&Object.assign(o,jn(n,(h,u)=>/^on/.test(u)?Ps(h,r):h)),js(this,n,"onProps"),qt(this,"onProps",n,this);const s=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const l=this._state;return As(++this._lastCallId,{key:r,props:n,defaultProps:o,state:l,actions:{pause:()=>{jt(this)||(Ds(this,!0),Ot(l.pauseQueue),qt(this,"onPause",Me(this,Ut(this,this.animation.to)),this))},resume:()=>{jt(this)&&(Ds(this,!1),Qe(this)&&this._resume(),Ot(l.resumeQueue),qt(this,"onResume",Me(this,Ut(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(h=>{if(n.loop&&h.finished&&!(i&&h.noop)){const u=Zs(n);if(u)return this._update(u,!0)}return h})}_merge(e,i,n){if(i.cancel)return this.stop(!0),n(gt(this));const r=!E.und(e.to),o=!E.und(e.from);if(r||o)if(i.callId>this._lastToId)this._lastToId=i.callId;else return n(gt(this));const{key:s,defaultProps:l,animation:h}=this,{to:u,from:p}=h;let{to:y=u,from:c=p}=e;o&&!r&&(!i.default||E.und(y))&&(y=c),i.reverse&&([y,c]=[c,y]);const m=!De(c,p);m&&(h.from=c),c=he(c);const f=!De(y,u);f&&this._focus(y);const b=Un(i.to),{config:v}=h,{decay:C,velocity:S}=v;(r||o)&&(v.velocity=0),i.config&&!b&&au(v,et(i.config,s),i.config!==l.config?et(l.config,s):void 0);let w=Fe(this);if(!w||E.und(y))return n(Me(this,!0));const k=E.und(i.reset)?o&&!i.default:!E.und(c)&&Dt(i.reset,s),P=k?c:this.get(),T=Zt(y),L=E.num(T)||E.arr(T)||vi(T),q=!b&&(!L||Dt(l.immediate||i.immediate,s));if(f){const $=Vn(y);if($!==w.constructor)if(q)w=this._set(T);else throw Error(`Cannot animate between ${w.constructor.name} and ${$.name}, as the "to" prop suggests`)}const ne=w.constructor;let K=xe(y),ue=!1;if(!K){const $=k||!Qn(this)&&m;(f||$)&&(ue=De(Zt(P),T),K=!ue),(!De(h.immediate,q)&&!q||!De(v.decay,C)||!De(v.velocity,S))&&(K=!0)}if(ue&&Qe(this)&&(h.changed&&!k?K=!0:K||this._stop(u)),!b&&((K||xe(u))&&(h.values=w.getPayload(),h.toValues=xe(y)?null:ne==bt?[1]:ve(T)),h.immediate!=q&&(h.immediate=q,!q&&!k&&this._set(u)),K)){const{onRest:$}=h;z(fu,Te=>js(this,i,Te));const Y=Me(this,Ut(this,u));Ot(this._pendingCalls,Y),this._pendingCalls.add(n),h.changed&&A.batchedUpdates(()=>{h.changed=!k,$==null||$(Y,this),k?et(l.onRest,Y):h.onStart==null||h.onStart(Y,this)})}k&&this._set(P),b?n(Fs(i.to,i,this._state,this)):K?this._start():Qe(this)&&!f?this._pendingCalls.add(n):n(Os(P))}_focus(e){const i=this.animation;e!==i.to&&(fs(this)&&this._detach(),i.to=e,fs(this)&&this._attach())}_attach(){let e=0;const{to:i}=this.animation;xe(i)&&(pt(i,this),Hn(i)&&(e=i.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;xe(e)&&Nt(e,this)}_set(e,i=!0){const n=he(e);if(!E.und(n)){const r=Fe(this);if(!r||!De(n,r.getValue())){const o=Vn(n);!r||r.constructor!=o?Dn(this,o.create(n)):r.setValue(n),r&&A.batchedUpdates(()=>{this._onChange(n,i)})}}return Fe(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,qt(this,"onStart",Me(this,Ut(this,e.to)),this))}_onChange(e,i){i||(this._onStart(),et(this.animation.onChange,e,this)),et(this.defaultProps.onChange,e,this),super._onChange(e,i)}_start(){const e=this.animation;Fe(this).reset(he(e.to)),e.immediate||(e.fromValues=e.values.map(i=>i.lastPosition)),Qe(this)||(Ls(this,!0),jt(this)||this._resume())}_resume(){Oe.skipAnimation?this.finish():ci.start(this)}_stop(e,i){if(Qe(this)){Ls(this,!1);const n=this.animation;z(n.values,o=>{o.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),zt(this,{type:"idle",parent:this});const r=i?gt(this.get()):Me(this.get(),Ut(this,e!=null?e:n.to));Ot(this._pendingCalls,r),n.changed&&(n.changed=!1,qt(this,"onRest",r,this))}}}function Ut(t,e){const i=Zt(e),n=Zt(t.get());return De(n,i)}function Zs(t,e=t.loop,i=t.to){let n=et(e);if(n){const r=n!==!0&&Ts(n),o=(r||t).reverse,s=!r||r.reset;return Wt(ie({},t,{loop:e,default:!1,pause:void 0,to:!o||Un(i)?i:void 0,from:s?t.from:void 0,reset:s},r))}}function Wt(t){const{to:e,from:i}=t=Ts(t),n=new Set;return E.obj(e)&&Vs(e,n),E.obj(i)&&Vs(i,n),t.keys=n.size?Array.from(n):null,t}function uu(t){const e=Wt(t);return E.und(e.default)&&(e.default=jn(e)),e}function Vs(t,e){Ae(t,(i,n)=>i!=null&&e.add(n))}const fu=["onStart","onRest","onChange","onPause","onResume"];function js(t,e,i){t.animation[i]=e[i]!==Ms(e,i)?Ps(e[i],t.key):void 0}function qt(t,e,...i){var n,r,o,s;(n=(r=t.animation)[e])==null||n.call(r,...i),(o=(s=t.defaultProps)[e])==null||o.call(s,...i)}const hu=["onStart","onChange","onRest"];let pu=1,mu=class{constructor(e,i){this.id=pu++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),i&&(this._flush=i),e&&this.start(ie({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((i,n)=>e[n]=i.get()),e}set(e){for(const i in e){const n=e[i];E.und(n)||this.springs[i].set(n)}}update(e){return e&&this.queue.push(Wt(e)),this}start(e){let{queue:i}=this;return e?i=ve(e).map(Wt):this.queue=[],this._flush?this._flush(this,i):(Gs(this,i),Xn(this,i))}stop(e,i){if(e!==!!e&&(i=e),i){const n=this.springs;z(ve(i),r=>n[r].stop(!!e))}else Vt(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(E.und(e))this.start({pause:!0});else{const i=this.springs;z(ve(e),n=>i[n].pause())}return this}resume(e){if(E.und(e))this.start({pause:!1});else{const i=this.springs;z(ve(e),n=>i[n].resume())}return this}each(e){Ae(this.springs,e)}_onFrame(){const{onStart:e,onChange:i,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,At(e,([h,u])=>{u.value=this.get(),h(u,this,this._item)}));const s=!r&&this._started,l=o||s&&n.size?this.get():null;o&&i.size&&At(i,([h,u])=>{u.value=l,h(u,this,this._item)}),s&&(this._started=!1,At(n,([h,u])=>{u.value=l,h(u,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;A.onFrame(this._onFrame)}};function Xn(t,e){return Promise.all(e.map(i=>Us(t,i))).then(i=>qn(t,i))}function Us(t,e,i){return Q(this,null,function*(){const{keys:n,to:r,from:o,loop:s,onRest:l,onResolve:h}=e,u=E.obj(e.default)&&e.default;s&&(e.loop=!1),r===!1&&(e.to=null),o===!1&&(e.from=null);const p=E.arr(r)||E.fun(r)?r:void 0;p?(e.to=void 0,e.onRest=void 0,u&&(u.onRest=void 0)):z(hu,b=>{const v=e[b];if(E.fun(v)){const C=t._events[b];e[b]=({finished:S,cancelled:w})=>{const k=C.get(v);k?(S||(k.finished=!1),w&&(k.cancelled=!0)):C.set(v,{value:null,finished:S||!1,cancelled:w||!1})},u&&(u[b]=e[b])}});const y=t._state;e.pause===!y.paused?(y.paused=e.pause,Ot(e.pause?y.pauseQueue:y.resumeQueue)):y.paused&&(e.pause=!0);const c=(n||Object.keys(t.springs)).map(b=>t.springs[b].start(e)),m=e.cancel===!0||Ms(e,"cancel")===!0;(p||m&&y.asyncId)&&c.push(As(++t._lastAsyncId,{props:e,state:y,actions:{pause:Mn,resume:Mn,start(b,v){m?(Vt(y,t._lastAsyncId),v(gt(t))):(b.onRest=l,v(Fs(p,b,y,t)))}}})),y.paused&&(yield new Promise(b=>{y.resumeQueue.add(b)}));const f=qn(t,yield Promise.all(c));if(s&&f.finished&&!(i&&f.noop)){const b=Zs(e,s,r);if(b)return Gs(t,[b]),Us(t,b,!0)}return h&&A.batchedUpdates(()=>h(f,t,t.item)),f})}function Ws(t,e){const i=ie({},t.springs);return e&&z(ve(e),n=>{E.und(n.keys)&&(n=Wt(n)),E.obj(n.to)||(n=ie({},n,{to:void 0})),Ks(i,n,r=>Hs(r))}),qs(t,i),i}function qs(t,e){Ae(e,(i,n)=>{t.springs[n]||(t.springs[n]=i,pt(i,t))})}function Hs(t,e){const i=new du;return i.key=t,e&&pt(i,e),i}function Ks(t,e,i){e.keys&&z(e.keys,n=>{(t[n]||(t[n]=i(n)))._prepareNode(e)})}function Gs(t,e){z(e,i=>{Ks(t.springs,i,n=>Hs(n,t))})}function bu(t,e){if(t==null)return{};var i={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(i[r]=t[r]);return i}const gu=["children"],ki=t=>{let{children:e}=t,i=bu(t,gu);const n=a.useContext(Ei),r=i.pause||!!n.pause,o=i.immediate||!!n.immediate;i=qd(()=>({pause:r,immediate:o}),[r,o]);const{Provider:s}=Ei;return ee.createElement(s,{value:i},e)},Ei=vu(ki,{});ki.Provider=Ei.Provider,ki.Consumer=Ei.Consumer;function vu(t,e){return Object.assign(t,ee.createContext(e)),t.Provider._context=t,t.Consumer._context=t,t}const yu=()=>{const t=[],e=function(r){Ud();const o=[];return z(t,(s,l)=>{if(E.und(r))o.push(s.start());else{const h=i(r,s,l);h&&o.push(s.start(h))}}),o};e.current=t,e.add=function(n){t.includes(n)||t.push(n)},e.delete=function(n){const r=t.indexOf(n);~r&&t.splice(r,1)},e.pause=function(){return z(t,n=>n.pause(...arguments)),this},e.resume=function(){return z(t,n=>n.resume(...arguments)),this},e.set=function(n){z(t,r=>r.set(n))},e.start=function(n){const r=[];return z(t,(o,s)=>{if(E.und(n))r.push(o.start());else{const l=this._getProps(n,o,s);l&&r.push(o.start(l))}}),r},e.stop=function(){return z(t,n=>n.stop(...arguments)),this},e.update=function(n){return z(t,(r,o)=>r.update(this._getProps(n,r,o))),this};const i=function(r,o,s){return E.fun(r)?r(s,o):r};return e._getProps=i,e};function wu(t,e,i){const n=E.fun(e)&&e;n&&!i&&(i=[]);const r=a.useMemo(()=>n||arguments.length==3?yu():void 0,[]),o=a.useRef(0),s=ys(),l=a.useMemo(()=>({ctrls:[],queue:[],flush(C,S){const w=Ws(C,S);return o.current>0&&!l.queue.length&&!Object.keys(w).some(P=>!C.springs[P])?Xn(C,S):new Promise(P=>{qs(C,w),l.queue.push(()=>{P(Xn(C,S))}),s()})}}),[]),h=a.useRef([...l.ctrls]),u=[],p=xs(t)||0;a.useMemo(()=>{z(h.current.slice(t,p),C=>{ru(C,r),C.stop(!0)}),h.current.length=t,y(p,t)},[t]),a.useMemo(()=>{y(0,Math.min(p,t))},i);function y(C,S){for(let w=C;w<S;w++){const k=h.current[w]||(h.current[w]=new mu(null,l.flush)),P=n?n(w,k):e[w];P&&(u[w]=uu(P))}}const c=h.current.map((C,S)=>Ws(C,u[S])),m=a.useContext(ki),f=xs(m),b=m!==f&&nu(m);Ln(()=>{o.current++,l.ctrls=h.current;const{queue:C}=l;C.length&&(l.queue=[],z(C,S=>S())),z(h.current,(S,w)=>{r==null||r.add(S),b&&S.start({default:m});const k=u[w];k&&(ou(S,k.ref),S.ref?S.queue.push(k):S.start(k))})}),ws(()=>()=>{z(l.ctrls,C=>C.stop(!0))});const v=c.map(C=>ie({},C));return r?[v,r]:v}function Ht(t,e){const i=E.fun(t),[[n],r]=wu(1,i?t:[t],i?[]:e);return i||arguments.length==2?[n,r]:n}let Ys;(function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"})(Ys||(Ys={}));class xu extends Kn{constructor(e,i){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Bt(...i);const n=this._get(),r=Vn(n);Dn(this,r.create(n))}advance(e){const i=this._get(),n=this.get();De(i,n)||(Fe(this).setValue(i),this._onChange(i,this.idle)),!this.idle&&Qs(this._active)&&Jn(this)}_get(){const e=E.arr(this.source)?this.source.map(he):ve(he(this.source));return this.calc(...e)}_start(){this.idle&&!Qs(this._active)&&(this.idle=!1,z(yi(this),e=>{e.done=!1}),Oe.skipAnimation?(A.batchedUpdates(()=>this.advance()),Jn(this)):ci.start(this))}_attach(){let e=1;z(ve(this.source),i=>{xe(i)&&pt(i,this),Hn(i)&&(i.idle||this._active.add(i),e=Math.max(e,i.priority+1))}),this.priority=e,this._start()}_detach(){z(ve(this.source),e=>{xe(e)&&Nt(e,this)}),this._active.clear(),Jn(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=ve(this.source).reduce((i,n)=>Math.max(i,(Hn(n)?n.priority:0)+1),0))}}function Su(t){return t.idle!==!1}function Qs(t){return!t.size||Array.from(t).every(Su)}function Jn(t){t.idle||(t.idle=!0,z(yi(t),e=>{e.done=!0}),zt(t,{type:"idle",parent:t}))}Oe.assign({createStringInterpolator:gs,to:(t,e)=>new xu(t,e)});function $n(t,e){if(t==null)return{};var i={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(i[r]=t[r]);return i}const ku=["style","children","scrollTop","scrollLeft","viewBox"],Xs=/^--/;function Eu(t,e){return e==null||typeof e=="boolean"||e===""?"":typeof e=="number"&&e!==0&&!Xs.test(t)&&!(Kt.hasOwnProperty(t)&&Kt[t])?e+"px":(""+e).trim()}const Js={};function Cu(t,e){if(!t.nodeType||!t.setAttribute)return!1;const i=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter",n=e,{style:r,children:o,scrollTop:s,scrollLeft:l,viewBox:h}=n,u=$n(n,ku),p=Object.values(u),y=Object.keys(u).map(c=>i||t.hasAttribute(c)?c:Js[c]||(Js[c]=c.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));o!==void 0&&(t.textContent=o);for(let c in r)if(r.hasOwnProperty(c)){const m=Eu(c,r[c]);Xs.test(c)?t.style.setProperty(c,m):t.style[c]=m}y.forEach((c,m)=>{t.setAttribute(c,p[m])}),s!==void 0&&(t.scrollTop=s),l!==void 0&&(t.scrollLeft=l),h!==void 0&&t.setAttribute("viewBox",h)}let Kt={animationIterationCount:!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,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};const Pu=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),Mu=["Webkit","Ms","Moz","O"];Kt=Object.keys(Kt).reduce((t,e)=>(Mu.forEach(i=>t[Pu(i,e)]=t[e]),t),Kt);const Tu=["x","y","z"],_u=/^(matrix|translate|scale|rotate|skew)/,Iu=/^(translate)/,Au=/^(rotate|skew)/,Rn=(t,e)=>E.num(t)&&t!==0?t+e:t,Ci=(t,e)=>E.arr(t)?t.every(i=>Ci(i,e)):E.num(t)?t===e:parseFloat(t)===e;class Ou extends xi{constructor(e){let{x:i,y:n,z:r}=e,o=$n(e,Tu);const s=[],l=[];(i||n||r)&&(s.push([i||0,n||0,r||0]),l.push(h=>[`translate3d(${h.map(u=>Rn(u,"px")).join(",")})`,Ci(h,0)])),Ae(o,(h,u)=>{if(u==="transform")s.push([h||""]),l.push(p=>[p,p===""]);else if(_u.test(u)){if(delete o[u],E.und(h))return;const p=Iu.test(u)?"px":Au.test(u)?"deg":"";s.push(ve(h)),l.push(u==="rotate3d"?([y,c,m,f])=>[`rotate3d(${y},${c},${m},${Rn(f,p)})`,Ci(f,0)]:y=>[`${u}(${y.map(c=>Rn(c,p)).join(",")})`,Ci(y,u.startsWith("scale")?1:0)])}}),s.length&&(o.transform=new Fu(s,l)),super(o)}}class Fu extends hs{constructor(e,i){super(),this._value=null,this.inputs=e,this.transforms=i}get(){return this._value||(this._value=this._get())}_get(){let e="",i=!0;return z(this.inputs,(n,r)=>{const o=he(n[0]),[s,l]=this.transforms[r](E.arr(o)?o:n.map(he));e+=" "+s,i=i&&l}),i?"none":e}observerAdded(e){e==1&&z(this.inputs,i=>z(i,n=>xe(n)&&pt(n,this)))}observerRemoved(e){e==0&&z(this.inputs,i=>z(i,n=>xe(n)&&Nt(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),zt(this,e)}}const Bu=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],zu=["scrollTop","scrollLeft"];Oe.assign({batchedUpdates:$e.unstable_batchedUpdates,createStringInterpolator:gs,colors:yd});const vt=$d(Bu,{applyAnimatedValues:Cu,createAnimatedStyle:t=>new Ou(t),getComponentProps:t=>$n(t,zu)}).animated;function Nu(t){return(typeof t=="function"?t():t)||document.body}function $s(t,e){if(oi&&t){const i=Nu(t);return $e.createPortal(e,i)}return e}function Lu(t){const e=a.useRef(t);return t&&(e.current=!0),!!e.current}const er=t=>Du(t.active,t.forceRender,t.destroyOnClose)?t.children:null;function Du(t,e,i){const n=Lu(t);return e||t?!0:n?!i:!1}const Zu={click:"onClick",touchstart:"onTouchStart"};function Rs(t,e){const i=Object.assign({},e.props);for(const n of t){const r=Zu[n];i[r]=function(o){var s,l;o.stopPropagation(),(l=(s=e.props)[r])===null||l===void 0||l.call(s,o)}}return a.cloneElement(e,i)}const tr="adm-mask",Vu={default:.55,thin:.35,thick:.75},ju={black:"0, 0, 0",white:"255, 255, 255"},Uu={visible:!0,destroyOnClose:!1,forceRender:!1,color:"black",opacity:"default",disableBodyScroll:!0,getContainer:null,stopPropagation:["click"]},Wu=t=>{const e=He(Uu,t),{locale:i}=si(),n=a.useRef(null);Qo(n,e.visible&&e.disableBodyScroll);const r=a.useMemo(()=>{var p;const y=(p=Vu[e.opacity])!==null&&p!==void 0?p:e.opacity,c=ju[e.color];return c?`rgba(${c}, ${y})`:e.color},[e.color,e.opacity]),[o,s]=a.useState(e.visible),l=X.useUnmountedRef(),{opacity:h}=Ht({opacity:e.visible?1:0,config:{precision:.01,mass:1,tension:250,friction:30,clamp:!0},onStart:()=>{s(!0)},onRest:()=>{var p,y;l.current||(s(e.visible),e.visible?(p=e.afterShow)===null||p===void 0||p.call(e):(y=e.afterClose)===null||y===void 0||y.call(e))}}),u=Rs(e.stopPropagation,Ce(e,a.createElement(vt.div,{className:tr,ref:n,"aria-hidden":!0,style:Object.assign(Object.assign({},e.style),{background:r,opacity:h,display:o?void 0:"none"}),onClick:p=>{var y;p.target===p.currentTarget&&((y=e.onMaskClick)===null||y===void 0||y.call(e,p))}},e.onMaskClick&&a.createElement("div",{className:`${tr}-aria-button`,role:"button","aria-label":i.Mask.name,onClick:e.onMaskClick}),a.createElement("div",{className:`${tr}-content`},e.children))));return a.createElement(er,{active:o,forceRender:e.forceRender,destroyOnClose:e.destroyOnClose},$s(e.getContainer,u))};function it(t){return ee.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},t,{style:Object.assign({verticalAlign:"-0.125em"},t.style),className:["antd-mobile-icon",t.className].filter(Boolean).join(" ")}),ee.createElement("g",{id:"CloseOutline-CloseOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},ee.createElement("g",{id:"CloseOutline-编组"},ee.createElement("rect",{id:"CloseOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),ee.createElement("path",{d:"M10.6085104,8.11754663 L24.1768397,21.8195031 L24.1768397,21.8195031 L37.7443031,8.1175556 C37.8194278,8.04168616 37.9217669,7.999 38.0285372,7.999 L41.1040268,7.999 C41.3249407,7.999 41.5040268,8.1780861 41.5040268,8.399 C41.5040268,8.50440471 41.4624226,8.60554929 41.3882578,8.68044752 L26.2773302,23.9408235 L26.2773302,23.9408235 L41.5021975,39.3175645 C41.65763,39.4745475 41.6563731,39.7278104 41.4993901,39.8832429 C41.4244929,39.9574004 41.3233534,39.999 41.2179546,39.999 L38.1434012,39.999 C38.0366291,39.999 37.9342885,39.9563124 37.8591634,39.8804408 L24.1768397,26.0621438 L24.1768397,26.0621438 L10.4936501,39.8804497 C10.4185257,39.9563159 10.3161889,39.999 10.2094212,39.999 L7.13584526,39.999 C6.91493136,39.999 6.73584526,39.8199139 6.73584526,39.599 C6.73584526,39.4936017 6.77744443,39.3924627 6.85160121,39.3175656 L22.0763492,23.9408235 L22.0763492,23.9408235 L6.96554081,8.68044639 C6.81010226,8.52346929 6.81134951,8.27020637 6.9683266,8.11476782 C7.04322474,8.04060377 7.14436883,7.999 7.24977299,7.999 L10.3242852,7.999 C10.4310511,7.999 10.5333863,8.04168267 10.6085104,8.11754663 Z",id:"CloseOutline-路径",fill:"currentColor",fillRule:"nonzero"}))))}function ea(t){return ee.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},t,{style:Object.assign({verticalAlign:"-0.125em"},t.style),className:["antd-mobile-icon",t.className].filter(Boolean).join(" ")}),ee.createElement("g",{id:"LeftOutline-LeftOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},ee.createElement("g",{id:"LeftOutline-编组"},ee.createElement("rect",{id:"LeftOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),ee.createElement("path",{d:"M31.7053818,5.11219264 L13.5234393,22.6612572 L13.5234393,22.6612572 C12.969699,23.2125856 12.9371261,24.0863155 13.4257204,24.6755735 L13.5234393,24.7825775 L31.7045714,42.8834676 C31.7795345,42.9580998 31.8810078,43 31.9867879,43 L35.1135102,43 C35.3344241,43 35.5135102,42.8209139 35.5135102,42.6 C35.5135102,42.4936115 35.4711279,42.391606 35.3957362,42.316542 L16.7799842,23.7816937 L16.7799842,23.7816937 L35.3764658,5.6866816 C35.5347957,5.53262122 35.5382568,5.27937888 35.3841964,5.121049 C35.3088921,5.04365775 35.205497,5 35.0975148,5 L31.9831711,5 C31.8795372,5 31.7799483,5.04022164 31.7053818,5.11219264 Z",id:"LeftOutline-路径",fill:"currentColor",fillRule:"nonzero"}))))}const qu={closeOnMaskClick:!1,closeIcon:a.createElement(it,null),destroyOnClose:!1,disableBodyScroll:!0,forceRender:!1,getContainer:()=>document.body,mask:!0,showCloseButton:!1,stopPropagation:["click"],visible:!1};function Hu(t){const[e,i]=a.useState(t);return X.useIsomorphicLayoutEffect(()=>{i(t)},[t]),e}function Ku(t,e,i){return Math.max(e,Math.min(t,i))}const le={toVector(t,e){return t===void 0&&(t=e),Array.isArray(t)?t:[t,t]},add(t,e){return[t[0]+e[0],t[1]+e[1]]},sub(t,e){return[t[0]-e[0],t[1]-e[1]]},addTo(t,e){t[0]+=e[0],t[1]+=e[1]},subTo(t,e){t[0]-=e[0],t[1]-=e[1]}};function ta(t,e,i){return e===0||Math.abs(e)===1/0?Math.pow(t,i*5):t*e*i/(e+i*t)}function ia(t,e,i,n=.15){return n===0?Ku(t,e,i):t<e?-ta(e-t,i-e,n)+e:t>i?+ta(t-i,i-e,n)+i:t}function Gu(t,[e,i],[n,r]){const[[o,s],[l,h]]=t;return[ia(e,o,s,n),ia(i,l,h,r)]}function Yu(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var n=i.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Qu(t){var e=Yu(t,"string");return typeof e=="symbol"?e:String(e)}function pe(t,e,i){return e=Qu(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function na(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function J(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?na(Object(i),!0).forEach(function(n){pe(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):na(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}const ra={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function oa(t){return t?t[0].toUpperCase()+t.slice(1):""}const Xu=["enter","leave"];function Ju(t=!1,e){return t&&!Xu.includes(e)}function $u(t,e="",i=!1){const n=ra[t],r=n&&n[e]||e;return"on"+oa(t)+oa(r)+(Ju(i,r)?"Capture":"")}const Ru=["gotpointercapture","lostpointercapture"];function ef(t){let e=t.substring(2).toLowerCase();const i=!!~e.indexOf("passive");i&&(e=e.replace("passive",""));const n=Ru.includes(e)?"capturecapture":"capture",r=!!~e.indexOf(n);return r&&(e=e.replace("capture","")),{device:e,capture:r,passive:i}}function tf(t,e=""){const i=ra[t],n=i&&i[e]||e;return t+n}function Pi(t){return"touches"in t}function sa(t){return Pi(t)?"touch":"pointerType"in t?t.pointerType:"mouse"}function nf(t){return Array.from(t.touches).filter(e=>{var i,n;return e.target===t.currentTarget||((i=t.currentTarget)===null||i===void 0||(n=i.contains)===null||n===void 0?void 0:n.call(i,e.target))})}function rf(t){return t.type==="touchend"||t.type==="touchcancel"?t.changedTouches:t.targetTouches}function aa(t){return Pi(t)?rf(t)[0]:t}function of(t){return nf(t).map(e=>e.identifier)}function ir(t){const e=aa(t);return Pi(t)?e.identifier:e.pointerId}function la(t){const e=aa(t);return[e.clientX,e.clientY]}function sf(t){const e={};if("buttons"in t&&(e.buttons=t.buttons),"shiftKey"in t){const{shiftKey:i,altKey:n,metaKey:r,ctrlKey:o}=t;Object.assign(e,{shiftKey:i,altKey:n,metaKey:r,ctrlKey:o})}return e}function Mi(t,...e){return typeof t=="function"?t(...e):t}function af(){}function lf(...t){return t.length===0?af:t.length===1?t[0]:function(){let e;for(const i of t)e=i.apply(this,arguments)||e;return e}}function ca(t,e){return Object.assign({},e,t||{})}const cf=32;class df{constructor(e,i,n){this.ctrl=e,this.args=i,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:i,ingKey:n,args:r}=this;i[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const i=this.state,n=this.config;i._active||(this.reset(),this.computeInitial(),i._active=!0,i.target=e.target,i.currentTarget=e.currentTarget,i.lastOffset=n.from?Mi(n.from,i):i.offset,i.offset=i.lastOffset,i.startTime=i.timeStamp=e.timeStamp)}computeValues(e){const i=this.state;i._values=e,i.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:i,config:n,shared:r}=this;i.args=this.args;let o=0;if(e&&(i.event=e,n.preventDefault&&e.cancelable&&i.event.preventDefault(),i.type=e.type,r.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,r.locked=!!document.pointerLockElement,Object.assign(r,sf(e)),r.down=r.pressed=r.buttons%2===1||r.touches>0,o=e.timeStamp-i.timeStamp,i.timeStamp=e.timeStamp,i.elapsedTime=i.timeStamp-i.startTime),i._active){const T=i._delta.map(Math.abs);le.addTo(i._distance,T)}this.axisIntent&&this.axisIntent(e);const[s,l]=i._movement,[h,u]=n.threshold,{_step:p,values:y}=i;if(n.hasCustomTransform?(p[0]===!1&&(p[0]=Math.abs(s)>=h&&y[0]),p[1]===!1&&(p[1]=Math.abs(l)>=u&&y[1])):(p[0]===!1&&(p[0]=Math.abs(s)>=h&&Math.sign(s)*h),p[1]===!1&&(p[1]=Math.abs(l)>=u&&Math.sign(l)*u)),i.intentional=p[0]!==!1||p[1]!==!1,!i.intentional)return;const c=[0,0];if(n.hasCustomTransform){const[T,L]=y;c[0]=p[0]!==!1?T-p[0]:0,c[1]=p[1]!==!1?L-p[1]:0}else c[0]=p[0]!==!1?s-p[0]:0,c[1]=p[1]!==!1?l-p[1]:0;this.restrictToAxis&&!i._blocked&&this.restrictToAxis(c);const m=i.offset,f=i._active&&!i._blocked||i.active;f&&(i.first=i._active&&!i.active,i.last=!i._active&&i.active,i.active=r[this.ingKey]=i._active,e&&(i.first&&("bounds"in n&&(i._bounds=Mi(n.bounds,i)),this.setup&&this.setup()),i.movement=c,this.computeOffset()));const[b,v]=i.offset,[[C,S],[w,k]]=i._bounds;i.overflow=[b<C?-1:b>S?1:0,v<w?-1:v>k?1:0],i._movementBound[0]=i.overflow[0]?i._movementBound[0]===!1?i._movement[0]:i._movementBound[0]:!1,i._movementBound[1]=i.overflow[1]?i._movementBound[1]===!1?i._movement[1]:i._movementBound[1]:!1;const P=i._active?n.rubberband||[0,0]:[0,0];if(i.offset=Gu(i._bounds,i.offset,P),i.delta=le.sub(i.offset,m),this.computeMovement(),f&&(!i.last||o>cf)){i.delta=le.sub(i.offset,m);const T=i.delta.map(Math.abs);le.addTo(i.distance,T),i.direction=i.delta.map(Math.sign),i._direction=i._delta.map(Math.sign),!i.first&&o>0&&(i.velocity=[T[0]/o,T[1]/o],i.timeDelta=o)}}emit(){const e=this.state,i=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const r=this.handler(J(J(J({},i),e),{},{[this.aliasKey]:e.values}));r!==void 0&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function uf([t,e],i){const n=Math.abs(t),r=Math.abs(e);if(n>r&&n>i)return"x";if(r>n&&r>i)return"y"}class ff extends df{constructor(...e){super(...e),pe(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=le.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=le.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const i=this.state,n=this.config;if(!i.axis&&e){const r=typeof n.axisThreshold=="object"?n.axisThreshold[sa(e)]:n.axisThreshold;i.axis=uf(i._movement,r)}i._blocked=(n.lockDirection||!!n.axis)&&!i.axis||!!n.axis&&n.axis!==i.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0;break}}}const hf=t=>t,da=.15,ua={enabled(t=!0){return t},eventOptions(t,e,i){return J(J({},i.shared.eventOptions),t)},preventDefault(t=!1){return t},triggerAllEvents(t=!1){return t},rubberband(t=0){switch(t){case!0:return[da,da];case!1:return[0,0];default:return le.toVector(t)}},from(t){if(typeof t=="function")return t;if(t!=null)return le.toVector(t)},transform(t,e,i){const n=t||i.shared.transform;return this.hasCustomTransform=!!n,n||hf},threshold(t){return le.toVector(t,0)}},pf=0,Gt=J(J({},ua),{},{axis(t,e,{axis:i}){if(this.lockDirection=i==="lock",!this.lockDirection)return i},axisThreshold(t=pf){return t},bounds(t={}){if(typeof t=="function")return o=>Gt.bounds(t(o));if("current"in t)return()=>t.current;if(typeof HTMLElement=="function"&&t instanceof HTMLElement)return t;const{left:e=-1/0,right:i=1/0,top:n=-1/0,bottom:r=1/0}=t;return[[e,i],[n,r]]}}),fa={ArrowRight:(t,e=1)=>[t*e,0],ArrowLeft:(t,e=1)=>[-1*t*e,0],ArrowUp:(t,e=1)=>[0,-1*t*e],ArrowDown:(t,e=1)=>[0,t*e]};class mf extends ff{constructor(...e){super(...e),pe(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const i=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:i.left-n.left+e.offset[0],right:i.right-n.right+e.offset[0],top:i.top-n.top+e.offset[1],bottom:i.bottom-n.bottom+e.offset[1]};e._bounds=Gt.bounds(r)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const i=this.config,n=this.state;if(e.buttons!=null&&(Array.isArray(i.pointerButtons)?!i.pointerButtons.includes(e.buttons):i.pointerButtons!==-1&&i.pointerButtons!==e.buttons))return;const r=this.ctrl.setEventIds(e);i.pointerCapture&&e.target.setPointerCapture(e.pointerId),!(r&&r.size>1&&n._pointerActive)&&(this.start(e),this.setupPointer(e),n._pointerId=ir(e),n._pointerActive=!0,this.computeValues(la(e)),this.computeInitial(),i.preventScrollAxis&&sa(e)!=="mouse"?(n._active=!1,this.setupScrollPrevention(e)):i.delay>0?(this.setupDelayTrigger(e),i.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const i=this.state;i._active=!0,i._preventScroll=!0,i._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const i=this.state,n=this.config;if(!i._pointerActive)return;const r=ir(e);if(i._pointerId!==void 0&&r!==i._pointerId)return;const o=la(e);if(document.pointerLockElement===e.target?i._delta=[e.movementX,e.movementY]:(i._delta=le.sub(o,i._values),this.computeValues(o)),le.addTo(i._movement,i._delta),this.compute(e),i._delayed&&i.intentional){this.timeoutStore.remove("dragDelay"),i.active=!1,this.startPointerDrag(e);return}if(n.preventScrollAxis&&!i._preventScroll)if(i.axis)if(i.axis===n.preventScrollAxis||n.preventScrollAxis==="xy"){i._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(e);return}else return;this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(l){}const i=this.state,n=this.config;if(!i._active||!i._pointerActive)return;const r=ir(e);if(i._pointerId!==void 0&&r!==i._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[o,s]=i._distance;if(i.tap=o<=n.tapsThreshold&&s<=n.tapsThreshold,i.tap&&n.filterTaps)i._force=!0;else{const[l,h]=i._delta,[u,p]=i._movement,[y,c]=n.swipe.velocity,[m,f]=n.swipe.distance,b=n.swipe.duration;if(i.elapsedTime<b){const v=Math.abs(l/i.timeDelta),C=Math.abs(h/i.timeDelta);v>y&&Math.abs(u)>m&&(i.swipe[0]=Math.sign(l)),C>c&&Math.abs(p)>f&&(i.swipe[1]=Math.sign(h))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const i=this.config,n=i.device;i.pointerLock&&e.currentTarget.requestPointerLock(),i.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,bf(e);const i=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",i),this.eventStore.add(this.sharedConfig.window,"touch","cancel",i),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){const i=fa[e.key];if(i){const n=this.state,r=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=i(this.config.keyboardDisplacement,r),n._keyboardActive=!0,le.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in fa&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const i=this.config.device;e(i,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(i,"change",this.pointerMove.bind(this)),e(i,"end",this.pointerUp.bind(this)),e(i,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function bf(t){"persist"in t&&typeof t.persist=="function"&&t.persist()}const Yt=typeof window!="undefined"&&window.document&&window.document.createElement;function ha(){return Yt&&"ontouchstart"in window}function gf(){return ha()||Yt&&window.navigator.maxTouchPoints>1}function vf(){return Yt&&"onpointerdown"in window}function yf(){return Yt&&"exitPointerLock"in window.document}function wf(){try{return"constructor"in GestureEvent}catch(t){return!1}}const Se={isBrowser:Yt,gesture:wf(),touch:ha(),touchscreen:gf(),pointer:vf(),pointerLock:yf()},xf=250,Sf=180,kf=.5,Ef=50,Cf=250,Pf=10,pa={mouse:0,touch:0,pen:8},Mf=J(J({},Gt),{},{device(t,e,{pointer:{touch:i=!1,lock:n=!1,mouse:r=!1}={}}){return this.pointerLock=n&&Se.pointerLock,Se.touch&&i?"touch":this.pointerLock?"mouse":Se.pointer&&!r?"pointer":Se.touch?"touch":"mouse"},preventScrollAxis(t,e,{preventScroll:i}){if(this.preventScrollDelay=typeof i=="number"?i:i||i===void 0&&t?xf:void 0,!(!Se.touchscreen||i===!1))return t||(i!==void 0?"y":void 0)},pointerCapture(t,e,{pointer:{capture:i=!0,buttons:n=1,keys:r=!0}={}}){return this.pointerButtons=n,this.keys=r,!this.pointerLock&&this.device==="pointer"&&i},threshold(t,e,{filterTaps:i=!1,tapsThreshold:n=3,axis:r=void 0}){const o=le.toVector(t,i?n:r?1:0);return this.filterTaps=i,this.tapsThreshold=n,o},swipe({velocity:t=kf,distance:e=Ef,duration:i=Cf}={}){return{velocity:this.transform(le.toVector(t)),distance:this.transform(le.toVector(e)),duration:i}},delay(t=0){switch(t){case!0:return Sf;case!1:return 0;default:return t}},axisThreshold(t){return t?J(J({},pa),t):pa},keyboardDisplacement(t=Pf){return t}});J(J({},ua),{},{device(t,e,{shared:i,pointer:{touch:n=!1}={}}){if(i.target&&!Se.touch&&Se.gesture)return"gesture";if(Se.touch&&n)return"touch";if(Se.touchscreen){if(Se.pointer)return"pointer";if(Se.touch)return"touch"}},bounds(t,e,{scaleBounds:i={},angleBounds:n={}}){const r=s=>{const l=ca(Mi(i,s),{min:-1/0,max:1/0});return[l.min,l.max]},o=s=>{const l=ca(Mi(n,s),{min:-1/0,max:1/0});return[l.min,l.max]};return typeof i!="function"&&typeof n!="function"?[r(),o()]:s=>[r(s),o(s)]},threshold(t,e,i){return this.lockDirection=i.axis==="lock",le.toVector(t,this.lockDirection?[.1,3]:0)},modifierKey(t){return t===void 0?"ctrlKey":t},pinchOnWheel(t=!0){return t}}),J(J({},Gt),{},{mouseOnly:(t=!0)=>t}),J(J({},Gt),{},{mouseOnly:(t=!0)=>t});const ma=new Map,nr=new Map;function Tf(t){ma.set(t.key,t.engine),nr.set(t.key,t.resolver)}const _f={key:"drag",engine:mf,resolver:Mf};function If(t,e){if(t==null)return{};var i={},n=Object.keys(t),r,o;for(o=0;o<n.length;o++)r=n[o],!(e.indexOf(r)>=0)&&(i[r]=t[r]);return i}function Af(t,e){if(t==null)return{};var i=If(t,e),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}const Of={target(t){if(t)return()=>"current"in t?t.current:t},enabled(t=!0){return t},window(t=Se.isBrowser?window:void 0){return t},eventOptions({passive:t=!0,capture:e=!1}={}){return{passive:t,capture:e}},transform(t){return t}},Ff=["target","eventOptions","window","enabled","transform"];function Ti(t={},e){const i={};for(const[n,r]of Object.entries(e))switch(typeof r){case"function":i[n]=r.call(i,t[n],n,t);break;case"object":i[n]=Ti(t[n],r);break;case"boolean":r&&(i[n]=t[n]);break}return i}function Bf(t,e,i={}){const n=t,{target:r,eventOptions:o,window:s,enabled:l,transform:h}=n,u=Af(n,Ff);if(i.shared=Ti({target:r,eventOptions:o,window:s,enabled:l,transform:h},Of),e){const p=nr.get(e);i[e]=Ti(J({shared:i.shared},u),p)}else for(const p in u){const y=nr.get(p);y&&(i[p]=Ti(J({shared:i.shared},u[p]),y))}return i}class ba{constructor(e,i){pe(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=i}add(e,i,n,r,o){const s=this._listeners,l=tf(i,n),h=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},u=J(J({},h),o);e.addEventListener(l,r,u);const p=()=>{e.removeEventListener(l,r,u),s.delete(p)};return s.add(p),p}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class zf{constructor(){pe(this,"_timeouts",new Map)}add(e,i,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(i,n,...r))}remove(e){const i=this._timeouts.get(e);i&&window.clearTimeout(i)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class Nf{constructor(e){pe(this,"gestures",new Set),pe(this,"_targetEventStore",new ba(this)),pe(this,"gestureEventStores",{}),pe(this,"gestureTimeoutStores",{}),pe(this,"handlers",{}),pe(this,"config",{}),pe(this,"pointerIds",new Set),pe(this,"touchIds",new Set),pe(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),Lf(this,e)}setEventIds(e){if(Pi(e))return this.touchIds=new Set(of(e)),this.touchIds;if("pointerId"in e)return e.type==="pointerup"||e.type==="pointercancel"?this.pointerIds.delete(e.pointerId):e.type==="pointerdown"&&this.pointerIds.add(e.pointerId),this.pointerIds}applyHandlers(e,i){this.handlers=e,this.nativeHandlers=i}applyConfig(e,i){this.config=Bf(e,i,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const i=this.config.shared,n={};let r;if(!(i.target&&(r=i.target(),!r))){if(i.enabled){for(const s of this.gestures){const l=this.config[s],h=ga(n,l.eventOptions,!!r);if(l.enabled){const u=ma.get(s);new u(this,e,s).bind(h)}}const o=ga(n,i.eventOptions,!!r);for(const s in this.nativeHandlers)o(s,"",l=>this.nativeHandlers[s](J(J({},this.state.shared),{},{event:l,args:e})),void 0,!0)}for(const o in n)n[o]=lf(...n[o]);if(!r)return n;for(const o in n){const{device:s,capture:l,passive:h}=ef(o);this._targetEventStore.add(r,s,"",n[o],{capture:l,passive:h})}}}}function yt(t,e){t.gestures.add(e),t.gestureEventStores[e]=new ba(t,e),t.gestureTimeoutStores[e]=new zf}function Lf(t,e){e.drag&&yt(t,"drag"),e.wheel&&yt(t,"wheel"),e.scroll&&yt(t,"scroll"),e.move&&yt(t,"move"),e.pinch&&yt(t,"pinch"),e.hover&&yt(t,"hover")}const ga=(t,e,i)=>(n,r,o,s={},l=!1)=>{var h,u;const p=(h=s.capture)!==null&&h!==void 0?h:e.capture,y=(u=s.passive)!==null&&u!==void 0?u:e.passive;let c=l?n:$u(n,r,p);i&&y&&(c+="Passive"),t[c]=t[c]||[],t[c].push(o)};function Df(t,e={},i,n){const r=a.useMemo(()=>new Nf(t),[]);if(r.applyHandlers(t,n),r.applyConfig(e,i),a.useEffect(r.effect.bind(r)),a.useEffect(()=>r.clean.bind(r),[]),e.target===void 0)return r.bind.bind(r)}function Zf(t,e){return Tf(_f),Df({drag:t},e||{},"drag")}const _i="adm-popup",Vf=Object.assign(Object.assign({},qu),{closeOnSwipe:!1,position:"bottom"}),rr=t=>{const{locale:e,popup:i={}}=si(),n=He(Vf,i,t),r=te(`${_i}-body`,n.bodyClassName,`${_i}-body-position-${n.position}`),[o,s]=a.useState(n.visible),l=a.useRef(null);Qo(l,n.disableBodyScroll&&o?"strict":!1),X.useIsomorphicLayoutEffect(()=>{n.visible&&s(!0)},[n.visible]);const h=X.useUnmountedRef(),{percent:u}=Ht({percent:n.visible?0:100,config:{precision:.1,mass:.4,tension:300,friction:30},onRest:()=>{var m,f;h.current||(s(n.visible),n.visible?(m=n.afterShow)===null||m===void 0||m.call(n):(f=n.afterClose)===null||f===void 0||f.call(n))}}),p=Zf(({swipe:[,m]})=>{var f;n.closeOnSwipe&&(m===1&&n.position==="bottom"||m===-1&&n.position==="top")&&((f=n.onClose)===null||f===void 0||f.call(n))},{axis:"y",enabled:["top","bottom"].includes(n.position)}),y=Hu(o&&n.visible),c=Rs(n.stopPropagation,Ce(n,a.createElement("div",Object.assign({className:_i,onClick:n.onClick,style:{display:o?void 0:"none",touchAction:["top","bottom"].includes(n.position)?"none":"auto"}},p()),n.mask&&a.createElement(Wu,{visible:y,forceRender:n.forceRender,destroyOnClose:n.destroyOnClose,onMaskClick:m=>{var f,b;(f=n.onMaskClick)===null||f===void 0||f.call(n,m),n.closeOnMaskClick&&((b=n.onClose)===null||b===void 0||b.call(n))},className:n.maskClassName,style:n.maskStyle,disableBodyScroll:!1,stopPropagation:n.stopPropagation}),a.createElement(vt.div,{className:r,style:Object.assign(Object.assign({},n.bodyStyle),{pointerEvents:u.to(m=>m===0?"unset":"none"),transform:u.to(m=>n.position==="bottom"?`translate(0, ${m}%)`:n.position==="top"?`translate(0, -${m}%)`:n.position==="left"?`translate(-${m}%, 0)`:n.position==="right"?`translate(${m}%, 0)`:"none")}),ref:l},n.showCloseButton&&a.createElement("a",{className:te(`${_i}-close-icon`,"adm-plain-anchor"),onClick:()=>{var m;(m=n.onClose)===null||m===void 0||m.call(n)},role:"button","aria-label":e.common.close},n.closeIcon),n.children))));return a.createElement(er,{active:o,forceRender:n.forceRender,destroyOnClose:n.destroyOnClose},$s(n.getContainer,c))},va="adm-safe-area",ya=t=>Ce(t,a.createElement("div",{className:te(va,`${va}-position-${t.position}`)})),jf=X.createUpdateEffect(X.useIsomorphicLayoutEffect),wt="adm-badge",wa=a.createElement(a.Fragment,null),Uf=Ho(t=>{const{content:e,color:i,children:n}=t,r=e===wa,o=te(wt,{[`${wt}-fixed`]:!!n,[`${wt}-dot`]:r,[`${wt}-bordered`]:t.bordered}),s=e||e===0?Ce(t,a.createElement("div",{className:o,style:{"--color":i}},!r&&a.createElement("div",{className:`${wt}-content`},e))):null;return n?a.createElement("div",{className:te(`${wt}-wrapper`,t.wrapperClassName),style:t.wrapperStyle},n,s):s},{dot:wa}),Wf="adm-dot-loading",qf={default:"var(--adm-color-weak)",primary:"var(--adm-color-primary)",white:"var(--adm-color-white)"},Hf={color:"default"},Kf=a.memo(t=>{var e;const i=He(Hf,t);return Ce(i,a.createElement("div",{style:{color:(e=qf[i.color])!==null&&e!==void 0?e:i.color},className:te("adm-loading",Wf)},a.createElement("svg",{height:"1em",viewBox:"0 0 100 40",style:{verticalAlign:"-0.125em"}},a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(-100.000000, -71.000000)"},a.createElement("g",{transform:"translate(95.000000, 71.000000)"},a.createElement("g",{transform:"translate(5.000000, 0.000000)"},[0,1,2].map(n=>a.createElement("rect",{key:n,fill:"currentColor",x:20+n*26,y:"16",width:"8",height:"8",rx:"2"},a.createElement("animate",{attributeName:"y",from:"16",to:"16",dur:"2s",begin:`${n*.2}s`,repeatCount:"indefinite",values:"16; 6; 26; 16; 16",keyTimes:"0; 0.1; 0.3; 0.4; 1"}))))))))))});function Gf(t){return!!t&&typeof t=="object"&&typeof t.then=="function"}const ke="adm-button",Yf={color:"default",fill:"solid",block:!1,loading:!1,loadingIcon:a.createElement(Kf,{color:"currentColor"}),type:"button",shape:"default",size:"middle"},Ii=a.forwardRef((t,e)=>{const i=He(Yf,t),[n,r]=a.useState(!1),o=a.useRef(null),s=i.loading==="auto"?n:i.loading,l=i.disabled||s;a.useImperativeHandle(e,()=>({get nativeElement(){return o.current}}));const h=u=>td(void 0,void 0,void 0,function*(){if(!i.onClick)return;const p=i.onClick(u);if(Gf(p))try{r(!0),yield p,r(!1)}catch(y){throw r(!1),y}});return Ce(i,a.createElement("button",{ref:o,type:i.type,onClick:h,className:te(ke,{[`${ke}-${i.color}`]:i.color,[`${ke}-block`]:i.block,[`${ke}-disabled`]:l,[`${ke}-fill-outline`]:i.fill==="outline",[`${ke}-fill-none`]:i.fill==="none",[`${ke}-mini`]:i.size==="mini",[`${ke}-small`]:i.size==="small",[`${ke}-large`]:i.size==="large",[`${ke}-loading`]:s},`${ke}-shape-${i.shape}`),disabled:l,onMouseDown:i.onMouseDown,onMouseUp:i.onMouseUp,onTouchStart:i.onTouchStart,onTouchEnd:i.onTouchEnd},s?a.createElement("div",{className:`${ke}-loading-wrapper`},i.loadingIcon,i.loadingText):a.createElement("span",null,i.children)))});function Qf(t){const{value:e,defaultValue:i,onChange:n}=t,r=X.useUpdate(),o=a.useRef(e!==void 0?e:i);e!==void 0&&(o.current=e);const s=X.useMemoizedFn((l,h=!1)=>{const u=typeof l=="function"?l(o.current):l;if(!(!h&&u===o.current))return o.current=u,r(),n==null?void 0:n(u)});return[o.current,s]}function Xf(t,e){const i=X.useMemoizedFn(t);X.useIsomorphicLayoutEffect(()=>{const n=e.current;if(n)if(window.ResizeObserver){let r;const o=new ResizeObserver(()=>{r=window.requestAnimationFrame(()=>i(n))});return o.observe(n),()=>{window.cancelAnimationFrame(r),o.disconnect()}}else i(n)},[e])}function Jf(t,e,i){if(t&&typeof MutationObserver!="undefined"){let n=new MutationObserver(()=>{i()});return n.observe(t,e),()=>{n&&(n.disconnect(),n=null)}}return()=>{}}function $f(t,e,i){const n=X.useMemoizedFn(t);a.useEffect(()=>Jf(e.current,i,n),[e])}function xa(t,e,i){let n=t;return n=Math.max(t,e),i!==void 0&&(n=Math.min(n,i)),n}var Sa={exports:{}},U={};/**
|
|
17
|
-
* @license React
|
|
18
|
-
* react-is.production.min.js
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/var or=Symbol.for("react.element"),sr=Symbol.for("react.portal"),Ai=Symbol.for("react.fragment"),Oi=Symbol.for("react.strict_mode"),Fi=Symbol.for("react.profiler"),Bi=Symbol.for("react.provider"),zi=Symbol.for("react.context"),Rf=Symbol.for("react.server_context"),Ni=Symbol.for("react.forward_ref"),Li=Symbol.for("react.suspense"),Di=Symbol.for("react.suspense_list"),Zi=Symbol.for("react.memo"),Vi=Symbol.for("react.lazy"),e1=Symbol.for("react.offscreen"),ka;ka=Symbol.for("react.module.reference");function Ee(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case or:switch(t=t.type,t){case Ai:case Fi:case Oi:case Li:case Di:return t;default:switch(t=t&&t.$$typeof,t){case Rf:case zi:case Ni:case Vi:case Zi:case Bi:return t;default:return e}}case sr:return e}}}U.ContextConsumer=zi,U.ContextProvider=Bi,U.Element=or,U.ForwardRef=Ni,U.Fragment=Ai,U.Lazy=Vi,U.Memo=Zi,U.Portal=sr,U.Profiler=Fi,U.StrictMode=Oi,U.Suspense=Li,U.SuspenseList=Di,U.isAsyncMode=function(){return!1},U.isConcurrentMode=function(){return!1},U.isContextConsumer=function(t){return Ee(t)===zi},U.isContextProvider=function(t){return Ee(t)===Bi},U.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===or},U.isForwardRef=function(t){return Ee(t)===Ni},U.isFragment=function(t){return Ee(t)===Ai},U.isLazy=function(t){return Ee(t)===Vi},U.isMemo=function(t){return Ee(t)===Zi},U.isPortal=function(t){return Ee(t)===sr},U.isProfiler=function(t){return Ee(t)===Fi},U.isStrictMode=function(t){return Ee(t)===Oi},U.isSuspense=function(t){return Ee(t)===Li},U.isSuspenseList=function(t){return Ee(t)===Di},U.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Ai||t===Fi||t===Oi||t===Li||t===Di||t===e1||typeof t=="object"&&t!==null&&(t.$$typeof===Vi||t.$$typeof===Zi||t.$$typeof===Bi||t.$$typeof===zi||t.$$typeof===Ni||t.$$typeof===ka||t.getModuleId!==void 0)},U.typeOf=Ee,Sa.exports=U;var t1=Sa.exports;function i1(t,e){let i=0;function n(r){a.Children.forEach(r,o=>{t1.isFragment(o)?n(o.props.children):(e(o,i),i+=1)})}n(t)}const me="adm-tabs",n1=()=>null,r1={activeLineMode:"auto",stretch:!0,direction:"ltr"},ji=Ho(t=>{var e;const i=He(r1,t),n=a.useRef(null),r=a.useRef(null),o={};let s=null;const l=[],h=i.direction==="rtl";i1(i.children,(P,T)=>{if(!a.isValidElement(P))return;const L=P.key;if(typeof L!="string")return;T===0&&(s=L);const q=l.push(P);o[L]=q-1});const[u,p]=Qf({value:i.activeKey,defaultValue:(e=i.defaultActiveKey)!==null&&e!==void 0?e:s,onChange:P=>{var T;P!==null&&((T=i.onChange)===null||T===void 0||T.call(i,P))}}),[{x:y,width:c},m]=Ht(()=>({x:0,width:0,config:{tension:300,clamp:!0}})),[{scrollLeft:f},b]=Ht(()=>({scrollLeft:0,config:{tension:300,clamp:!0}})),[{leftMaskOpacity:v,rightMaskOpacity:C},S]=Ht(()=>({leftMaskOpacity:0,rightMaskOpacity:0,config:{clamp:!0}}));function w(P=!1,T=!1){const L=n.current;if(!L)return;const q=o[u];if(q===void 0){m.start({x:0,width:0,immediate:!0});return}const ne=r.current;if(!ne)return;const K=L.children.item(q+1),ue=K.children.item(0),$=ue.offsetLeft,Y=ue.offsetWidth,Te=K.offsetLeft,Xt=K.offsetWidth,Ze=L.offsetWidth,kt=L.scrollWidth,on=L.scrollLeft,st=ne.offsetWidth;let ze=0,at=0;if(i.activeLineMode==="auto"?(ze=$,at=Y):i.activeLineMode==="full"?(ze=Te,at=Xt):ze=$+(Y-st)/2,h){const sn=["auto","full"].includes(i.activeLineMode)?at:st;ze=-(Ze-ze-sn)}m.start({x:ze,width:at,immediate:P});const Ve=kt-Ze;if(Ve<=0)return;let Xe=0;h?Xe=-xa(Ze/2-$+Y/2-st,0,Ve):Xe=xa($-(Ze-Y)/2,0,Ve),(!T||i.autoScroll!==!1)&&b.start({scrollLeft:Xe,from:{scrollLeft:on},immediate:P})}X.useIsomorphicLayoutEffect(()=>{w(!y.isAnimating)},[]),jf(()=>{w()},[u,h,i.activeLineMode]),Xf(()=>{w(!y.isAnimating)},n),$f(()=>{w(!y.isAnimating,!0)},n,{subtree:!0,childList:!0,characterData:!0});const{run:k}=X.useThrottleFn((P=!1)=>{const T=n.current;if(!T)return;const L=T.scrollLeft;let q=!1,ne=!1;h?(q=Math.round(-L)+T.offsetWidth<T.scrollWidth,ne=L<0):(q=L>0,ne=L+T.offsetWidth<T.scrollWidth),S.start({leftMaskOpacity:q?1:0,rightMaskOpacity:ne?1:0,immediate:P})},{wait:100,trailing:!0,leading:!0});return X.useIsomorphicLayoutEffect(()=>{k(!0)},[]),Ce(i,a.createElement("div",{className:me,style:{direction:i.direction}},a.createElement("div",{className:`${me}-header`},a.createElement(vt.div,{className:te(`${me}-header-mask`,`${me}-header-mask-left`),style:{opacity:v}}),a.createElement(vt.div,{className:te(`${me}-header-mask`,`${me}-header-mask-right`),style:{opacity:C}}),a.createElement(vt.div,{className:`${me}-tab-list`,ref:n,scrollLeft:f,onScroll:k,role:"tablist"},a.createElement(vt.div,{ref:r,className:`${me}-tab-line`,style:{width:i.activeLineMode==="fixed"?"var(--fixed-active-line-width, 30px)":c,x:y}}),l.map(P=>Ce(P.props,a.createElement("div",{key:P.key,className:te(`${me}-tab-wrapper`,{[`${me}-tab-wrapper-stretch`]:i.stretch})},a.createElement("div",{onClick:()=>{const{key:T}=P;P.props.disabled||T!=null&&p(T.toString())},className:te(`${me}-tab`,{[`${me}-tab-active`]:P.key===u,[`${me}-tab-disabled`]:P.props.disabled}),role:"tab","aria-selected":P.key===u},P.props.title)))))),l.map(P=>{if(P.props.children===void 0)return null;const T=P.key===u;return a.createElement(er,{key:P.key,active:T,forceRender:P.props.forceRender,destroyOnClose:P.props.destroyOnClose},a.createElement("div",{className:`${me}-content`,style:{display:T?"block":"none"}},P.props.children))})))},{Tab:n1}),nt="adm-error-block",o1={status:"default"};function s1(t){return i=>{var n;const r=He(o1,i),{locale:o}=si(),s=o.ErrorBlock[r.status],l="description"in r?r.description:s.description,h="title"in r?r.title:s.title,u=(n=r.image)!==null&&n!==void 0?n:t[r.status],p=typeof u=="string"?a.createElement("img",{src:u,alt:"error block image"}):u;return Ce(r,a.createElement("div",{className:te(nt,{[`${nt}-full-page`]:r.fullPage})},a.createElement("div",{className:`${nt}-image`},p),a.createElement("div",{className:`${nt}-description`},![void 0,null].includes(h)&&a.createElement("div",{className:`${nt}-description-title`},h),![void 0,null].includes(l)&&a.createElement("div",{className:`${nt}-description-subtitle`},l)),r.children&&a.createElement("div",{className:`${nt}-content`},r.children)))}}const a1=a.createElement("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},a.createElement("defs",null,a.createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-default-a"},a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),a.createElement("circle",{id:"error-block-image-default-d",cx:18.823,cy:18.823,r:18.823}),a.createElement("rect",{id:"error-block-image-default-b",x:3.5,y:9,width:51.429,height:88,rx:4.571})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M73.557.004c19.435-.311 38.696 17.016 51.523 35.287 8.708-10.822 17.127-16.233 25.255-16.233 13.333 0 28.35 14.274 45.053 42.822 1.769 3.024-3.582 7.435-16.054 13.231l-41.322 1.37c-7.343 5.872-31.225.626-69.152 1.234-27.79.445-45.759-1.234-53.908-5.037C3.2 71.143-1.625 68.686.48 65.308 27.371 22.12 51.73.353 73.557.003Zm93.098 49.53a1.125 1.125 0 0 0-.401.072l-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.283 1.719 4.153 3.898 4.314l.026.001v3.805c0 .39.25.705.56.705.31 0 .56-.316.56-.705l.001-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734Zm-100-5a1.125 1.125 0 0 0-.331.05l-.035.01-.035.012-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.212 1.613 4.036 3.695 4.294l.203.02.026.001v3.805c0 .39.25.705.56.705.282 0 .515-.26.555-.6l.006-.105v-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734ZM52.64 38.348l-.15.008-.149.023-.032.007-.032.008-.078.022-.045.015-.045.016-.06.023-.038.017-.038.017-.058.028-.022.011a2.201 2.201 0 0 0-.323.204l-.05.038-.05.04-.025.02-.025.021a3.742 3.742 0 0 0-.31.294l-.036.04c-.035.037-.07.076-.105.116-.01.012-.02.025-.031.036a3.275 3.275 0 0 0-.081.098l-.063.078c-2.031 2.583-3.48 8.692-3.48 11.027 0 2.636 1.846 4.832 4.292 5.323l.224.04-.064-.012.105.018.103.014v4.618c0 .47.299.85.667.85.337 0 .615-.32.659-.735l.006-.115v-4.618c.18-.023.355-.054.527-.094l.256-.067.196-.06c2.136-.706 3.68-2.75 3.68-5.162 0-2.996-2.383-12.207-5.325-12.207Z",transform:"translate(2.286 22.286)",fill:"url(#error-block-image-default-a)"}),a.createElement("g",{transform:"rotate(-90 102.429 55.357)"},a.createElement("path",{d:"M6.857 0H52a6.857 6.857 0 0 1 6.857 6.857v92A6.857 6.857 0 0 1 52 105.714H6.857A6.857 6.857 0 0 1 0 98.857v-92A6.857 6.857 0 0 1 6.857 0Z",fill:"#7EACFF"}),a.createElement("mask",{id:"error-block-image-default-c",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-default-b"})),a.createElement("use",{fill:"#377EFF",xlinkHref:"#error-block-image-default-b"}),a.createElement("path",{d:"M11.838 91.8a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-2.858 0a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.16-2.305a.64.64 0 0 1 .628.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-2.982-.04a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm5.268-.531a.64.64 0 0 1 .628.651.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.858-1.143a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-6.37-.917c.209 0 .377.175.377.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm3.512-.798.093.007a.644.644 0 0 1 .535.645.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.652.627-.652Zm5.715 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-11.429 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.261.241c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm11.833-.812a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.628-.651c0-.36.281-.652.628-.652Zm-4.851.399c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm10.313-2.056a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-2.354-.128a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.652.628-.652Zm-13.798.311c.207 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.377-.39c0-.217.169-.392.377-.392Zm11.832-.812a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-6.285 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm3.428 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-6.118.24c.208 0 .376.176.376.392a.384.384 0 0 1-.376.39.384.384 0 0 1-.377-.39c0-.216.169-.391.377-.391Zm11.261-2.525a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm-3.557.484c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.478-.555a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.512-.26c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.857 0c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-4.571 0c.207 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm14.898-1.835a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-8.027-.245c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.169-.391.376-.391Zm6.271-1.349c.208 0 .377.175.377.391a.384.384 0 0 1-.377.391.384.384 0 0 1-.376-.39c0-.217.169-.392.376-.392Zm-11.484-.481c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm15.103-.972c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.39c0-.217.168-.392.376-.392Zm-9.333-1.404c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-6.819-.405c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Z",fill:"#003CFF",fillRule:"nonzero",mask:"url(#error-block-image-default-c)",transform:"rotate(116 12.367 83.503)"}),a.createElement("path",{stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round",d:"M36.774 5.474H21.523"}),a.createElement("path",{d:"m67.818 94.025-4.996 3.913m4.996 11.91-4.996-3.912m-1.142 9.145-1.143-6.288m10.71-6.768h-7.262",stroke:"#4486FE",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"})),a.createElement("circle",{cx:8.571,cy:8.571,r:8.571,transform:"translate(22.857 142)",fill:"#FFCD6B",fillRule:"nonzero"}),a.createElement("g",{transform:"translate(132.857 124)"},a.createElement("mask",{id:"error-block-image-default-e",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-default-d"})),a.createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-default-d"}),a.createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:13.886,cy:15.12,r:18.823}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:23.4,cy:29.057,r:1}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:30.343,cy:29.829,r:1}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:18.771,cy:32.657,r:1.286}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:29.571,cy:25.971,r:1.286}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:19.286,cy:7.971,r:1.286}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:26.486,cy:5.914,r:1.286}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:11.057,cy:6.943,r:1}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:30.086,cy:15.686,r:1.286}),a.createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:22.886,cy:14.657,r:1})),a.createElement("path",{d:"m87.429 135.123 6.591-9.378v-.08h-5.99v-2.559h10.038v1.787l-6.44 9.254v.082h6.56v2.557h-10.76v-1.663Zm12.185-5.889 4.948-7.047v-.056h-4.498v-1.917h7.536v1.34l-4.849 6.942v.059h4.923v1.92h-8.06v-1.24Zm10.345.702 3.708-5.274v-.045h-3.372v-1.437h5.648v1.003l-3.628 5.206v.045H116v1.438h-6.041v-.936Z",fill:"#FFF",fillRule:"nonzero"}))),l1=a.createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},a.createElement("title",null,"@反馈/异常/网络服务异常"),a.createElement("defs",null,a.createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-disconnected-c"},a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),a.createElement("circle",{id:"error-block-image-disconnected-d",cx:22.309,cy:22.309,r:22.309}),a.createElement("path",{id:"error-block-image-disconnected-a",d:"M0 0h400v400H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("mask",{id:"error-block-image-disconnected-b",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-disconnected-a"})),a.createElement("g",{mask:"url(#error-block-image-disconnected-b)",fill:"url(#error-block-image-disconnected-c)"},a.createElement("path",{d:"M151.686 45.58c38.869-.623 77.391 34.03 103.046 70.573 17.416-21.644 34.253-32.465 50.51-32.465 26.666 0 56.701 28.548 90.105 85.643 3.539 6.05-7.164 14.87-32.107 26.462l-82.643 2.741c-14.686 11.745-62.45 1.252-138.305 2.467-55.58.89-91.518-2.468-107.816-10.074-23.505-3.07-33.154-7.983-28.946-14.74C59.313 89.813 108.03 46.278 151.686 45.58Zm186.195 99.06-.127.003-.126.01a2.32 2.32 0 0 0-.465.103l-.032.01-.031.01a2.364 2.364 0 0 0-.181.071 2.52 2.52 0 0 0-.116.054l-.133.067-.042.024-.036.02a2.946 2.946 0 0 0-.133.08l-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024a4.906 4.906 0 0 0-.31.27l-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.108.008v7.608c0 .779.502 1.41 1.121 1.41.62 0 1.121-.632 1.121-1.41v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-200-10-.127.003-.126.01a2.32 2.32 0 0 0-.368.073l-.049.014-.048.016-.032.01-.031.01a2.364 2.364 0 0 0-.181.071l-.058.026-.058.028-.133.067-.042.024-.036.02-.066.039-.067.041-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024l-.156.13-.154.14-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.054.004.054.004v7.608c0 .779.502 1.41 1.121 1.41.58 0 1.058-.556 1.115-1.266l.006-.144v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-28.029-12.373-.107.002-.106.006a2.978 2.978 0 0 0-.551.095 3.444 3.444 0 0 0-.323.104 3.962 3.962 0 0 0-.61.297c-.076.045-.15.092-.226.141-4.964 3.312-8.728 18.445-8.728 23.77 0 5.434 3.922 9.935 9.04 10.726l.28.04v9.236c0 .886.532 1.614 1.21 1.692l.121.007.122-.007c.638-.074 1.147-.723 1.204-1.538l.006-.155v-9.235c5.254-.668 9.32-5.234 9.32-10.767 0-5.993-4.77-24.414-10.652-24.414Z"})),a.createElement("g",{mask:"url(#error-block-image-disconnected-b)"},a.createElement("g",{transform:"translate(85.858 150.644)"},a.createElement("path",{d:"M116.26 28.467c1.352 0 2.703.018 4.054.054 3.923.385 10.188 4.248 9.267 11.061-.878 6.496-5.836 9.089-8.962 9.529a130.762 130.762 0 0 0-4.36-.072c-28.567 0-60.654 10.149-96.22 30.676l-2.227 1.297c-.744.437-1.49.878-2.236 1.323-4.878 2.911-11.193 1.316-14.103-3.562C-1.438 73.894.157 67.58 5.035 64.67 45.34 40.62 82.4 28.467 116.26 28.467Zm22 11.63c1.03-5.942 6.376-8.618 11.084-8.08C172.14 36.91 194.83 46.86 217.37 61.794c4.735 3.138 6.03 9.52 2.893 14.255-3.138 4.736-9.52 6.031-14.256 2.893-20.111-13.325-40.075-22.165-59.935-26.584a9.974 9.974 0 0 0-.325-.088c-3.987-1.015-8.602-5.738-7.487-12.175ZM116.26 77.418c22.777 0 45.4 7.057 67.73 20.988 4.82 3.007 6.289 9.351 3.282 14.17-3.007 4.82-9.351 6.29-14.17 3.283-19.194-11.974-38.095-17.87-56.842-17.87s-37.648 5.896-56.842 17.87c-4.82 3.007-11.164 1.537-14.17-3.282-3.007-4.82-1.538-11.164 3.282-14.171 22.33-13.931 44.953-20.988 67.73-20.988ZM117.974 124.67c9.85 0 17.303 1.69 25.687 5.082l.82.337 2.9 1.231 3.008 1.252.77.305.107.04c5.326 1.976 8.042 7.895 6.066 13.221-1.976 5.326-7.895 8.042-13.221 6.067l-.713-.27-.726-.285-.763-.31-1.263-.527-2.944-1.26-1.125-.473c-6.393-2.648-11.433-3.838-18.603-3.838-8.223 0-16.532 2.126-25.028 6.475-5.056 2.588-11.254.587-13.842-4.47-2.589-5.056-.588-11.253 4.47-13.842 11.313-5.791 22.814-8.735 34.4-8.735ZM118.235 197.047c7.15 0 13.77-.897 19.841-2.721 5.44-1.635 8.526-7.37 6.892-12.81-1.635-5.44-7.37-8.526-12.81-6.892-4.072 1.224-8.707 1.851-13.923 1.851-4.36 0-8.79-1.045-13.373-3.21l-.626-.301c-5.095-2.512-11.262-.418-13.773 4.678-2.512 5.095-.418 11.261 4.678 13.773 7.559 3.727 15.288 5.632 23.094 5.632Z",fill:"#377EFF",fillRule:"nonzero"}),a.createElement("path",{d:"M198.35 62.413c2.755-4.967 9.016-6.76 13.984-4.004 13.068 7.25 19.124 18.535 17.615 30.952-1.157 9.515-6.83 18.757-14.096 24.352-13.364 10.29-34.915 9.401-49.363-1.91-4.472-3.502-5.26-9.967-1.758-14.44 3.436-4.388 9.724-5.229 14.185-1.952l.255.194c7.283 5.702 18.475 6.164 24.13 1.809 3.072-2.366 5.766-6.754 6.226-10.536.467-3.844-1.21-7.07-6.796-10.267l-.378-.213c-4.967-2.756-6.76-9.017-4.004-13.985ZM61.35 103.092c-2.84-4.92-9.13-6.607-14.05-3.768-20.662 11.922-21.772 35.751-6.018 51.69 13.752 13.914 33.192 13.447 50.507 1.158 4.633-3.288 5.723-9.708 2.436-14.34-3.288-4.633-9.709-5.724-14.341-2.436-9.763 6.928-18.07 7.128-23.97 1.158-6.761-6.84-6.498-14.501 1.35-19.225l.317-.187c4.92-2.84 6.608-9.13 3.769-14.05ZM129.103 135.702c1.688-5.424 7.454-8.453 12.878-6.764 14.776 4.599 23.437 13.727 25.259 25.58 1.316 8.561-1.228 17.533-5.58 24.052-3.132 4.688-7.388 8.287-12.504 11.112-3.03 1.673-5.75 2.811-9.37 4.066l-1.4.477c-5.387 1.806-11.217-1.097-13.022-6.484-1.805-5.386 1.098-11.216 6.484-13.02l1.09-.374c6.032-2.112 9.602-4.19 11.613-7.201 1.693-2.535 2.818-6.502 2.356-9.503-.564-3.673-3.432-6.696-11.04-9.063-5.424-1.689-8.452-7.454-6.764-12.878Z",fill:"#377EFF",fillRule:"nonzero"}),a.createElement("path",{d:"M148.072 181.58c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.236-9.096-10.275-9.707",stroke:"#FFF",strokeWidth:.571,strokeLinecap:"round"}),a.createElement("ellipse",{fill:"#7EACFF",transform:"rotate(10 147 41.933)",cx:147,cy:41.933,rx:9.143,ry:10.286}),a.createElement("path",{d:"M210.422 107.472c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.668-9.883-11.572-12.067M51.604 131.769c-3.15-6.8-3.537-12.694-1.161-17.685 2.376-4.99 5.57-8.136 9.583-9.438",stroke:"#003CFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.53 64.408c4.946-3.389 9.817-6.026 14.612-7.912",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"m113.243 15.444 9.588 8.314M144.31 9.405l-5.775 11.3m18.389-1.246-11.907 4.643M127.64 5.66l2.77 14.255",stroke:"#4486FE",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}))),a.createElement("g",{mask:"url(#error-block-image-disconnected-b)"},a.createElement("g",{transform:"translate(275.143 302.571)"},a.createElement("mask",{id:"error-block-image-disconnected-e",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-disconnected-d"})),a.createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-disconnected-d"}),a.createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-disconnected-e)",cx:16.457,cy:17.92,r:22.309}),a.createElement("circle",{fill:"#FFF",fillRule:"nonzero",mask:"url(#error-block-image-disconnected-e)",cx:14.263,cy:12.069,r:2.194}))),a.createElement("g",{mask:"url(#error-block-image-disconnected-b)",fill:"#FBBE47",fillRule:"nonzero"},a.createElement("circle",{cx:12,cy:12,r:12,transform:"translate(84 297.714)"})))),c1=a.createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},a.createElement("defs",null,a.createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-empty-a"},a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),a.createElement("path",{d:"M146.183 18.461c31.705 23.336 33.349 71.85 4.93 96.614-.252.22 6.172 5.602 13.577 11.414l.686.537.69.54.695.54.348.27.698.54a341.27 341.27 0 0 0 8.806 6.596c1.114.802 4.643-.853 10.587-4.965l-.532 12.218a1.2 1.2 0 0 1-.481.91l-10.868 8.111c-1.405 1.048-3.32 1.185-4.854.072l-35.578-25.834c-33.414 17.333-79.913 15-109.804-7-33.444-24.616-33.444-75.95 0-100.563 33.443-24.615 87.657-24.615 121.1 0Zm-60.469 7.653C51.63 26.114 24 44.534 24 67.257S51.63 108.4 85.714 108.4s61.715-18.42 61.715-41.143c0-22.722-27.63-41.143-61.715-41.143Z",id:"error-block-image-empty-b"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M157.964 244.661H0L3.806 100.13a4.572 4.572 0 0 1 4.353-4.446l.217-.006h45.588V68.2a4.572 4.572 0 0 1 4.356-4.567l.216-.005h65.498l2.554-58.689a4.571 4.571 0 0 1 4.779-4.367l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.212 3.146 69.652L301.634 64.9a4.571 4.571 0 0 1 5.628 4.231l.005.215v43.955l56.162.001v130.264h-56.163v.001h-82.383v-.004h-66.919v1.098ZM89.503 160.03h-9.968v8.436h9.968v-8.436Zm0-14.507h-9.968v8.435h9.968v-8.435Zm197.985-5.15h-9.967v8.432h9.967v-8.431Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.436h9.967v-8.436Zm-84.643-3.29h-30.8v8.436h30.8v-8.436Zm0-15.912h-30.8v8.436h30.8v-8.436Z",transform:"translate(18.286 50.286)",fill:"url(#error-block-image-empty-a)"}),a.createElement("g",{transform:"translate(108.571 189.886)"},a.createElement("mask",{id:"error-block-image-empty-c",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-empty-b"})),a.createElement("use",{fill:"#377EFF",xlinkHref:"#error-block-image-empty-b"}),a.createElement("path",{d:"M131.429 134.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM128 133.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM120 128.971a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.142.125.006a1.143 1.143 0 1 1-.125-.006Zm11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-22.857 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm17.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM136 125.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-13.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm18.857-2.286a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-37.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm13.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm18.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-28 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm17.715-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-4.571a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.428 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.143 1.142a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-9.143 0a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm30.286-3.429a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM124 109.543a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.858-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-11.428-3.429a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM124 99.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM49.143 55.829a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-9.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM52 52.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-19.429-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-1.142a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-13.143 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM64 44.4a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.125.007a1.143 1.143 0 1 1-.125-.007Zm11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.858 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM30.286 44.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM44 43.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM72 38.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-28 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm5.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM56 37.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM60.57 32.97a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM44 34.114a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm30.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-15.429 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.857-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-11.429-3.428a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM41.714 20.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Z",fill:"#003CFF",fillRule:"nonzero",mask:"url(#error-block-image-empty-c)"})),a.createElement("path",{d:"M295.213 319.24c.744.546.745 1.433.002 1.98l-11.806 8.81c-1.069.799-3.326.474-4.853-.609l-35.622-25.241c-33.375 17.037-79.545 14.615-109.28-7.271-33.443-24.615-33.443-64.521 0-89.133 33.443-24.616 87.657-24.616 121.1 0 31.706 23.336 33.35 60.42 4.931 85.185-.543.473 35.528 26.278 35.528 26.278ZM148.06 220.015c-25.44 17.853-25.44 46.8 0 64.652 25.44 17.85 66.689 17.85 92.129 0 25.436-17.853 25.436-46.799 0-64.652-25.44-17.853-66.688-17.853-92.129 0Z",fill:"#5D96FE"}),a.createElement("path",{d:"M123.514 233.021c2.185-5.241 5.67-9.735 10.453-13.482M264.967 271.54c-2.185 5.24-5.67 9.734-10.453 13.481",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.143 252.571c7.574 0 13.714 23.88 13.714 31.649 0 6.97-4.942 12.755-11.429 13.871v11.672c0 1.235-.767 2.237-1.713 2.237-.904 0-1.644-.912-1.71-2.07l-.005-.167v-11.526c-7.04-.595-12.571-6.644-12.571-14.017 0-7.024 5.02-27.222 11.581-31.027l.096-.053c.027-.016.055-.03.082-.045l.067-.035.066-.033.1-.05.094-.041a3.34 3.34 0 0 1 .224-.093l.11-.042.097-.032c.038-.013.077-.025.115-.036l.053-.016.053-.014a3.351 3.351 0 0 1 .23-.055l.085-.016a3.95 3.95 0 0 1 .441-.054l.11-.005.11-.002Z",fill:"#FFCD6B",fillRule:"nonzero"}),a.createElement("g",{transform:"translate(283.429 177.143)",fillRule:"nonzero"},a.createElement("path",{d:"M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.49 0-2.707-1.46-2.79-3.301l-.004-.2-.001-19.018C8.659 71.92.13 62.518.13 51.123.13 40.071 8.154 8.49 18.694 2.015l.054-.031a5.94 5.94 0 0 1 .214-.128l.088-.048c.213-.12.427-.228.642-.326l.135-.06.18-.075.135-.053a5.796 5.796 0 0 1 .464-.16 4.44 4.44 0 0 1 .33-.092l.124-.03a7.122 7.122 0 0 1 .31-.065l.018-.003a6.305 6.305 0 0 1 .756-.088l.165-.007.166-.002Z",fill:"#FFCD6B"}),a.createElement("path",{d:"M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.543 0-2.794-1.566-2.794-3.5V73.295C8.659 71.921.13 62.518.13 51.123.13 38.783 10.134.847 22.475.847Z",fill:"#FFCD6B"}),a.createElement("circle",{fill:"#FFB400",cx:26.4,cy:56.869,r:1.45}),a.createElement("circle",{fill:"#FFB400",cx:39.453,cy:58.319,r:1}),a.createElement("circle",{fill:"#FFB400",cx:17.698,cy:63.637,r:2.417}),a.createElement("circle",{fill:"#FFB400",cx:38.002,cy:51.068,r:2.417}),a.createElement("circle",{fill:"#FFB400",cx:18.665,cy:17.228,r:2.417}),a.createElement("circle",{fill:"#FFB400",cx:32.201,cy:13.36,r:2.417}),a.createElement("circle",{fill:"#FFB400",cx:26.83,cy:20.666,r:1.45}),a.createElement("circle",{fill:"#FFB400",cx:38.969,cy:31.731,r:2.417}),a.createElement("circle",{fill:"#FFB400",cx:25.433,cy:29.797,r:1.45}),a.createElement("path",{d:"M34.197 53.033c0 9.825-6.934 18.017-16.172 19.987a22.44 22.44 0 0 0 4.45.448c12.34 0 22.344-10.004 22.344-22.345C44.82 38.783 34.815.847 22.475.847c8.947 14.03 11.722 40.891 11.722 52.186Z",fill:"#FBBE47"})))),d1=a.createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},a.createElement("defs",null,a.createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-busy-a"},a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),a.createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),a.createElement("circle",{id:"error-block-image-busy-b",cx:34.857,cy:34.857,r:34.857})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M157.964 243.667H0L3.806 99.134a4.572 4.572 0 0 1 4.353-4.446l.217-.005h45.588V67.205a4.572 4.572 0 0 1 4.356-4.566l.216-.005 65.498-.001 2.554-58.688a4.571 4.571 0 0 1 4.779-4.368l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.213 3.146 69.652 74.976-17.906a4.571 4.571 0 0 1 5.628 4.23l.005.216v43.955h56.162v130.265l-56.163-.001v.002h-82.383v-.004h-66.919v1.098Zm-68.461-84.631h-9.968v8.435h9.968v-8.435Zm0-14.508h-9.968v8.436h9.968v-8.436Zm197.985-5.149h-9.967v8.432h9.967v-8.432Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.435h9.967v-8.435Zm-84.643-3.29h-30.8v8.435h30.8v-8.435Zm0-15.912h-30.8v8.436h30.8v-8.436Z",transform:"translate(18.286 51.286)",fill:"url(#error-block-image-busy-a)"}),a.createElement("path",{d:"m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l.958-.01c-.376 7.363 3.679 59.93 34.894 62.659 4.203.367 7.432.39 7.475 4.609.042 4.218-3.176 4.307-7.37 4.76-34.593 3.737-34.136 56.004-33.61 63.357l-.957.01c-5.276.053-9.51 4.373-9.455 9.649.053 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.054 9.508-4.374 9.455-9.648-.055-5.276-4.374-9.51-9.65-9.455l-.958.01c.377-7.363-.729-59.672-34.894-62.66-4.202-.367-7.432-.39-7.474-4.608-.043-4.219 3.175-4.308 7.369-4.76 31.276-3.377 34.136-56.004 33.61-63.357l.958-.01c5.276-.053 9.508-4.373 9.455-9.649-.055-5.276-4.374-9.509-9.65-9.454Z",fill:"#377EFF"}),a.createElement("path",{d:"M233.524 314.422c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.894-5.644c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.149 17.865c.108.684.773 1.147 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm-2.144-8.182c.109.684.773 1.148 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-1.586-4.694c.108.684.772 1.148 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.013-5.88c.109.685.773 1.148 1.484 1.036.71-.113 1.2-.759 1.09-1.443-.107-.684-.772-1.148-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm.236 15.575c.108.685.772 1.148 1.483 1.035.71-.112 1.2-.758 1.09-1.442-.107-.685-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.442Zm-.4 4.494c.108.684.772 1.147 1.483 1.035.71-.113 1.2-.759 1.091-1.443-.108-.684-.773-1.148-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-3.88-8.601c.108.684.772 1.147 1.483 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-.524-7.186c.065.41.463.688.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-2.265-4.102c.109.684.773 1.148 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.147-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm-.545-6.518c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm2.098 23.629c.109.684.773 1.147 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.443Zm-.756-9.65c.043.274.309.46.593.414a.512.512 0 0 0 .437-.577.512.512 0 0 0-.594-.414.512.512 0 0 0-.436.577Zm-.808 20.96c.109.684.773 1.147 1.484 1.034.71-.112 1.2-.758 1.09-1.442-.108-.685-.772-1.148-1.483-1.036-.71.113-1.199.759-1.09 1.443Zm-4.691-31.966c.065.41.463.689.89.621.426-.068.72-.455.654-.866-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm2.098 23.628c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.967-12.416c.109.684.773 1.147 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm1.073 6.772c.108.685.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.036-.711.113-1.2.759-1.091 1.443Zm-.009-3.131c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.43-9.03c.065.41.463.688.89.62.426-.067.72-.454.655-.865-.065-.41-.464-.689-.89-.62-.427.067-.72.454-.655.865ZM214.5 333.38c.108.685.772 1.148 1.483 1.036.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.711.112-1.2.758-1.091 1.442Zm-.156-7.178c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm-1.871-4.72c.108.684.773 1.147 1.483 1.034.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.035-.71.112-1.2.758-1.091 1.442Zm-1.614-6.857c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-.894-5.644c.065.41.464.689.89.621.427-.067.72-.455.655-.866-.065-.41-.463-.688-.89-.62-.427.067-.72.455-.655.865Zm-1.43-9.03c.065.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.958 14.225c.065.41.463.689.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-.703 12.81c.065.41.464.688.89.62.427-.067.72-.455.655-.865-.065-.41-.463-.689-.89-.621-.427.067-.72.455-.655.866Zm-4.543-22.536c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm2.806 30.138c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm-5.694-17.996c.065.41.463.688.89.62.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.866Zm-2.935-13.343c.066.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.463-.689-.89-.621-.426.068-.72.455-.655.866Z",fill:"#003CFF",fillRule:"nonzero"}),a.createElement("path",{d:"m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l101.963-1.04c5.276-.052 9.508-4.372 9.455-9.648-.055-5.276-4.374-9.509-9.65-9.454ZM252.64 331.241l-101.964 1.038c-5.275.054-9.508 4.374-9.454 9.65.054 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.053 9.507-4.373 9.454-9.649-.054-5.275-4.374-9.508-9.649-9.454Z",fill:"#7EACFF"}),a.createElement("path",{stroke:"#003CFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round",d:"m196.824 197.298 52.216-.506M193.329 330.5h52.215"}),a.createElement("path",{d:"M167.367 228.041c-4.091-10.787-6.086-20.934-5.985-30.44",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("circle",{cx:14.857,cy:14.857,r:14.857,transform:"translate(106.857 248.571)",fill:"#FFCD6B",fillRule:"nonzero"}),a.createElement("g",{transform:"translate(236.571 284.571)"},a.createElement("mask",{id:"error-block-image-busy-c",fill:"#fff"},a.createElement("use",{xlinkHref:"#error-block-image-busy-b"})),a.createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-busy-b"}),a.createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-busy-c)",cx:25.714,cy:28,r:34.857}),a.createElement("circle",{fill:"#FFF",fillRule:"nonzero",mask:"url(#error-block-image-busy-c)",cx:22.286,cy:18.857,r:3.429})))),u1=s1({default:a1,disconnected:l1,empty:c1,busy:d1}),rt="adm-space",f1={direction:"horizontal"},Ui=t=>{const e=He(f1,t),{direction:i,onClick:n}=e;return Ce(e,a.createElement("div",{className:te(rt,{[`${rt}-wrap`]:e.wrap,[`${rt}-block`]:e.block,[`${rt}-${i}`]:!0,[`${rt}-align-${e.align}`]:!!e.align,[`${rt}-justify-${e.justify}`]:!!e.justify}),onClick:n},a.Children.map(e.children,r=>r!=null&&a.createElement("div",{className:`${rt}-item`},r))))},xt="adm-nav-bar",Ea=a.createElement(ea,null),h1=t=>{const{navBar:e={}}=si(),i=He(e,t),{back:n,backIcon:r,backArrow:o}=i,s=e.backIcon||Ea,l=sd(Ea,e.backIcon,o===!0?s:o,r===!0?s:r);return Ce(i,a.createElement("div",{className:te(xt)},a.createElement("div",{className:`${xt}-left`,role:"button"},n!==null&&a.createElement("div",{className:`${xt}-back`,onClick:i.onBack},l&&a.createElement("span",{className:`${xt}-back-arrow`},l),a.createElement("span",{"aria-hidden":"true"},n)),i.left),a.createElement("div",{className:`${xt}-title`},i.children),a.createElement("div",{className:`${xt}-right`},i.right)))},Ca=g.createStyles(({css:t,token:e})=>({header:t`
|
|
25
|
-
height: var(--nb-mobile-page-header-height);
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
border-bottom: 1px solid ${e.colorSplit};
|
|
30
|
-
position: sticky;
|
|
31
|
-
top: 0;
|
|
32
|
-
background-color: white;
|
|
33
|
-
z-index: 1000;
|
|
34
|
-
|
|
35
|
-
// to match the button named 'Add block'
|
|
36
|
-
& + .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {
|
|
37
|
-
margin: 12px;
|
|
38
|
-
}
|
|
39
|
-
`,placeholder:t`
|
|
40
|
-
display: inline-block;
|
|
41
|
-
padding: 12px;
|
|
42
|
-
visibility: hidden;
|
|
43
|
-
`,closeIcon:t`
|
|
44
|
-
display: inline-block;
|
|
45
|
-
padding: 12px;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
`,body:t`
|
|
48
|
-
border-top-left-radius: 8px;
|
|
49
|
-
border-top-right-radius: 8px;
|
|
50
|
-
max-height: calc(100% - var(--nb-mobile-page-header-height));
|
|
51
|
-
overflow-y: auto;
|
|
52
|
-
overflow-x: hidden;
|
|
53
|
-
background-color: ${e.colorBgLayout};
|
|
54
|
-
|
|
55
|
-
// clear the margin-bottom of the last block
|
|
56
|
-
& > .nb-grid-container > .nb-grid > .nb-grid-warp > .nb-grid-row:nth-last-child(2) .noco-card-item {
|
|
57
|
-
margin-bottom: 0;
|
|
58
|
-
|
|
59
|
-
& > .ant-card {
|
|
60
|
-
margin-bottom: 0 !important;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
`,footer:t`
|
|
64
|
-
padding: 8px var(--nb-mobile-page-tabs-content-padding);
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: flex-end;
|
|
68
|
-
position: sticky;
|
|
69
|
-
bottom: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
right: 0;
|
|
72
|
-
z-index: 1000;
|
|
73
|
-
border-top: 1px solid ${e.colorSplit};
|
|
74
|
-
background-color: ${e.colorBgLayout};
|
|
75
|
-
|
|
76
|
-
.ant-btn {
|
|
77
|
-
margin-left: 8px;
|
|
78
|
-
}
|
|
79
|
-
`})),Qt=10,p1=g.Filter.Action,Pa=g.withDynamicSchemaProps(t=>d.jsx(p1,R(B({},t),{Container:e=>{const{visiblePopup:i,popupContainerRef:n}=ar(e.open),r=g.useZIndexContext(),{styles:o}=Ca(),{t:s}=Je.useTranslation(),l=r+Qt,h=a.useCallback(()=>{e.onOpenChange(!1)},[e]),u=a.useMemo(()=>({token:{zIndexPopupBase:l}}),[l]),p=a.useMemo(()=>({borderTopLeftRadius:"8px",borderTopRightRadius:"8px",maxHeight:"calc(100% - var(--nb-mobile-page-header-height))",overflow:"auto",zIndex:l}),[l]),y=a.useMemo(()=>({zIndex:l}),[l]),c=a.useCallback(()=>n.current,[n]);return d.jsxs(F.ConfigProvider,{theme:u,children:[e.children,d.jsxs(rr,{visible:i,onClose:h,onMaskClick:h,getContainer:c,bodyStyle:p,maskStyle:y,closeOnSwipe:!0,children:[d.jsxs("div",{className:o.header,children:[d.jsx("span",{className:o.placeholder,children:d.jsx(it,{})}),d.jsx("span",{children:s("Filter")}),d.jsx("span",{className:o.closeIcon,onClick:h,children:d.jsx(it,{})})]}),d.jsx("div",{style:{padding:12},children:e.content}),d.jsx("div",{style:{height:150}})]})]})}})));Pa.displayName="FilterAction";const m1=g.Filter.Action,b1=()=>{g.Filter.Action=Pa,a.useEffect(()=>()=>{g.Filter.Action=m1},[])},ar=t=>{const[e]=a.useState(()=>document.querySelector(".mobile-container")),[i,n]=a.useState(!1),r=a.useRef(null),s=g.useZIndexContext()+Qt;return a.useEffect(()=>{if(!t){n(!1),r.current&&setTimeout(()=>{e.contains(r.current)&&e.removeChild(r.current),r.current=null},300);return}const l=document.createElement("div");return l.style.transform="translateZ(0)",l.style.position="absolute",l.style.top="0",l.style.left="0",l.style.right="0",l.style.bottom="0",l.style.overflow="hidden",l.style.zIndex=s.toString(),e.appendChild(l),r.current=l,n(!0),()=>{r.current&&setTimeout(()=>{e.contains(r.current)&&e.removeChild(r.current),r.current=null},300)}},[e,s,t]),{visiblePopup:i,popupContainerRef:r}},lr=D.observer(t=>{const e=D.useFieldSchema(),i=D.useField(),{visible:n,setVisible:r}=g.useActionContext(),{popupContainerRef:o,visiblePopup:s}=ar(n),{styles:l}=Ca(),h=g.useZIndexContext(),u=w1(e)||y1(e),p=u?"Action.Drawer.Footer":t.footerNodeName,y=u?{backgroundColor:"white"}:{},c=h+Qt,m=a.useMemo(()=>({zIndex:c}),[c]),f=e.reduceProperties((w,k)=>k["x-component"]===p?k:w),b=i.title||"",v=18,C=a.useCallback(()=>{r(!1)},[r]),S=a.useMemo(()=>({token:{marginBlock:v,borderRadiusBlock:0,boxShadowTertiary:"none",zIndexPopupBase:c}}),[c]);return d.jsx(g.zIndexContext.Provider,{value:c,children:d.jsx(F.ConfigProvider,{theme:S,children:d.jsxs(rr,{visible:s,onClose:C,onMaskClick:C,getContainer:()=>o.current,bodyClassName:l.body,bodyStyle:m,maskStyle:m,closeOnSwipe:!0,children:[d.jsxs("div",{className:l.header,children:[d.jsx("span",{className:l.placeholder,children:d.jsx(it,{})}),d.jsx("span",{children:b}),d.jsx("span",{className:l.closeIcon,onClick:C,children:d.jsx(it,{})})]}),u?d.jsx("div",{style:B({padding:12},y),children:d.jsx(g.SchemaComponent,{schema:e,filterProperties:w=>w["x-component"]!==p})}):d.jsx(g.SchemaComponent,{schema:e,onlyRenderProperties:!0,filterProperties:w=>w["x-component"]!==p}),f?d.jsx("div",{className:l.footer,style:u?y:null,children:d.jsx(D.RecursionField,{basePath:i.address,schema:e,onlyRenderProperties:!0,filterProperties:w=>w["x-component"]===p})}):null]})})})});lr.displayName="ActionDrawerUsedInMobile";const g1=g.Action.Drawer,v1=()=>{g.Action.Drawer=lr,a.useEffect(()=>()=>{g.Action.Drawer=g1},[])};function y1(t){return t.title==='{{t("Edit profile")}}'}function w1(t){return t.title==='{{t("Change password")}}'}const x1=g.createStyles(({css:t,token:e})=>({header:t`
|
|
80
|
-
height: var(--nb-mobile-page-header-height);
|
|
81
|
-
display: flex;
|
|
82
|
-
align-items: center;
|
|
83
|
-
justify-content: space-between;
|
|
84
|
-
border-bottom: 1px solid ${e.colorSplit};
|
|
85
|
-
position: sticky;
|
|
86
|
-
top: 0;
|
|
87
|
-
background-color: white;
|
|
88
|
-
z-index: 1000;
|
|
89
|
-
|
|
90
|
-
// to match the button named 'Add block'
|
|
91
|
-
& + .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {
|
|
92
|
-
// 18px is the token marginBlock value
|
|
93
|
-
margin: 12px 12px calc(12px + 18px);
|
|
94
|
-
}
|
|
95
|
-
`,placeholder:t`
|
|
96
|
-
display: inline-block;
|
|
97
|
-
padding: 12px;
|
|
98
|
-
visibility: hidden;
|
|
99
|
-
`,closeIcon:t`
|
|
100
|
-
display: inline-block;
|
|
101
|
-
padding: 12px;
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
`,body:t`
|
|
104
|
-
border-top-left-radius: 8px;
|
|
105
|
-
border-top-right-radius: 8px;
|
|
106
|
-
max-height: calc(100% - var(--nb-mobile-page-header-height));
|
|
107
|
-
overflow-y: auto;
|
|
108
|
-
overflow-x: hidden;
|
|
109
|
-
// background-color: ${e.colorBgLayout};
|
|
110
|
-
|
|
111
|
-
.popover-subform-container {
|
|
112
|
-
min-width: initial;
|
|
113
|
-
max-width: initial;
|
|
114
|
-
max-height: initial;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
.ant-card {
|
|
117
|
-
border-radius: 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
`,footer:t`
|
|
121
|
-
padding: 8px var(--nb-mobile-page-tabs-content-padding);
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
justify-content: flex-end;
|
|
125
|
-
position: sticky;
|
|
126
|
-
bottom: 0;
|
|
127
|
-
left: 0;
|
|
128
|
-
right: 0;
|
|
129
|
-
z-index: 1000;
|
|
130
|
-
border-top: 1px solid ${e.colorSplit};
|
|
131
|
-
background-color: ${e.colorBgLayout};
|
|
132
|
-
`})),S1=t=>{const{onOpenChange:e}=t,{visiblePopup:i,popupContainerRef:n}=ar(t.open),{styles:r}=x1(),o=D.useField(),l=g.useZIndexContext()+Qt,h=o.title||"",u=a.useMemo(()=>({zIndex:l}),[l]),p=a.useCallback(()=>{e(!1)},[e]),y=a.useCallback(()=>{e(!0)},[e]),c=a.useMemo(()=>({token:{zIndexPopupBase:l}}),[l]);return d.jsx(g.zIndexContext.Provider,{value:l,children:d.jsxs(F.ConfigProvider,{theme:c,children:[d.jsx("div",{onClick:y,children:t.children}),d.jsxs(rr,{visible:i,onClose:p,onMaskClick:p,getContainer:()=>n.current,bodyClassName:r.body,bodyStyle:u,maskStyle:u,showCloseButton:!0,closeOnSwipe:!0,children:[d.jsxs("div",{className:r.header,children:[d.jsx("span",{className:r.placeholder,children:d.jsx(it,{})}),d.jsx("span",{children:h}),d.jsx("span",{className:r.closeIcon,onClick:p,children:d.jsx(it,{})})]}),t.content,d.jsx("div",{style:{height:50}})]})]})})},k1=t=>{const{OriginComponent:e}=t;return d.jsx(e,R(B({},t),{Container:S1}))},E1=t=>{const e=t.options.items.find(r=>r.name==="dataBlocks"),i=t.options.items.find(r=>r.name==="otherBlocks"),n=["details","editForm","createForm","table","gridCard"];return new g.SchemaInitializer(R(B({},t.options),{name:"mobile:popup:common:addBlock",items:[R(B({},e),{children:[],useChildren:()=>e.useChildren().filter(r=>n.includes(r.name)),title:'{{t("Desktop data blocks")}}'}),R(B({},i),{title:'{{t("Other desktop blocks")}}'})]}))},C1=()=>{const t=g.useApp(),e=t.schemaInitializerManager.get("popup:common:addBlock");if(!e)return;const i=E1(e);t.schemaInitializerManager.add(i)},P1=g.createStyles(({css:t,token:e})=>({container:t`
|
|
133
|
-
position: absolute !important;
|
|
134
|
-
top: 0;
|
|
135
|
-
left: 0;
|
|
136
|
-
right: 0;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
background-color: ${e.colorBgLayout};
|
|
139
|
-
|
|
140
|
-
.mobile-page-content > .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {
|
|
141
|
-
margin: 20px;
|
|
142
|
-
}
|
|
143
|
-
`,footer:t`
|
|
144
|
-
height: var(--nb-mobile-page-header-height);
|
|
145
|
-
padding-right: var(--nb-mobile-page-tabs-content-padding);
|
|
146
|
-
display: flex;
|
|
147
|
-
align-items: center;
|
|
148
|
-
justify-content: flex-end;
|
|
149
|
-
position: fixed;
|
|
150
|
-
bottom: 0;
|
|
151
|
-
left: 0;
|
|
152
|
-
right: 0;
|
|
153
|
-
background-color: white;
|
|
154
|
-
z-index: 1000;
|
|
155
|
-
`})),Ma=()=>{const{pageSchemaUid:t}=V.useParams(),[e,i]=a.useState(!1),n=a.useCallback(()=>{i(!0)},[]);return e?d.jsx(g.RemoteSchemaComponent,{uid:t,NotFoundPage:"MobileNotFoundPage",memoized:!1,onPageNotFind:n}):d.jsxs(d.Fragment,{children:[d.jsx(g.RemoteSchemaComponent,{uid:t,NotFoundPage:"MobileNotFoundPage",memoized:!1,onPageNotFind:n}),d.jsx(V.Outlet,{}),d.jsx("div",{className:"nb-mobile-subpages-slot"})]})},Wi=a.createContext(null);Wi.displayName="MobileTitleContext";const Ta=({children:t,title:e})=>{const[i,n]=a.useState(e);return d.jsx(Wi.Provider,{value:{title:i,setTitle:n},children:t})},cr=()=>a.useContext(Wi),qi=a.createContext(null);qi.displayName="MobileRoutesContext";const ce=()=>a.useContext(qi);function M1(t){const{pathname:e}=V.useLocation(),i=t.reduce((r,o)=>{var l;const s=o.schemaUid?`/${o.type}/${o.schemaUid}`:(l=o.options)==null?void 0:l.url;return s&&(r[s]=o),o.children&&o.children.forEach(h=>{var p;const u=h.schemaUid?`${s}/${h.type}/${h.schemaUid}`:(p=h.options)==null?void 0:p.url;u&&(r[u]=h)}),r},{}),n=Object.values(i).find(r=>r.schemaUid?e.includes(`/${r.schemaUid}`):r.options.url?e.includes(r.options.url):!1);return{activeTabBarItem:n,activeTabItem:i[e]||n}}function T1(t){const e=cr();a.useEffect(()=>{e&&t&&(e.setTitle(t.title),document.title=t.title)},[t,e])}const dr=({children:t,refreshRef:e,manual:i,action:n="listAccessible"})=>{const r=g.useAPIClient(),o=a.useMemo(()=>r.resource("mobileRoutes"),[r]),s=a.useMemo(()=>r.resource("uiSchemas"),[r]),{data:l,runAsync:h,loading:u}=g.useRequest(()=>o[n]({tree:!0,sort:"sort"}).then(f=>f.data),{manual:i});e&&(e.current=h);const p=a.useMemo(()=>(l==null?void 0:l.data)||[],[l]),{activeTabBarItem:y,activeTabItem:c}=M1(p);T1(y);const m=a.useMemo(()=>({api:r,activeTabBarItem:y,activeTabItem:c,routeList:p,refresh:h,resource:o,schemaResource:s}),[y,c,r,h,o,p,s]);return u?d.jsx("div",{"data-testid":"mobile-loading",style:{textAlign:"center",margin:"20px 0"},children:d.jsx(F.Spin,{})}):d.jsx(qi.Provider,{value:m,children:t})},_1=({children:t})=>{const{designable:e}=g.useDesignable(),{routeList:i}=ce(),{t:n}=de();return(!e||ed)&&Ue.isEmpty(i)?d.jsx(u1,{status:"empty",fullPage:!0,title:n("No accessible pages found"),description:n("This might be due to permission configuration issues")}):d.jsx(d.Fragment,{children:t})},_a=({children:t})=>(a.useEffect(()=>{document.body.style.setProperty("--nb-mobile-page-tabs-content-padding","12px"),document.body.style.setProperty("--nb-mobile-page-header-height","50px")},[]),d.jsx(Ta,{children:d.jsx(dr,{children:d.jsx(_1,{children:t})})})),I1=lt.createStyles(()=>({mobilePageContent:{maxWidth:"100%",overflowX:"hidden"}})),ur=({children:t,hideTabBar:e})=>{const{styles:i}=I1(),[n,r]=a.useState(0),[o,s]=a.useState(0);return a.useEffect(()=>{const l=Ue.last(document.querySelectorAll(".mobile-page-header"));if(s(l==null?void 0:l.offsetHeight),!e){const h=document.querySelector(".mobile-tab-bar");r(h==null?void 0:h.offsetHeight)}}),d.jsxs(d.Fragment,{children:[o?d.jsx("div",{style:{height:o}}):null,d.jsx("div",{className:`${i.mobilePageContent} mobile-page-content`,"data-testid":"mobile-page-content",style:{height:`calc(100% - ${(n||0)+(o||0)}px)`,boxSizing:"border-box"},children:t}),n?d.jsx("div",{style:{height:n}}):null]})},Ia=()=>{var i,n;const{tabSchemaUid:t}=V.useParams(),{activeTabBarItem:e}=ce();return d.jsx(ur,{children:d.jsx(g.RemoteSchemaComponent,{uid:t||((n=(i=e==null?void 0:e.children)==null?void 0:i[0])==null?void 0:n.schemaUid),NotFoundPage:"MobileNotFoundPage",memoized:!1})})},fr=new g.SchemaInitializer({title:'{{t("Add block")}}',name:"mobile:addBlock",icon:"PlusOutlined",wrap:g.gridRowColWrap,style:{margin:20},items:[{name:"dataBlocks",title:'{{t("Desktop data blocks")}}',type:"itemGroup",children:[{name:"table",title:'{{t("Table")}}',Component:"TableBlockInitializer"},{name:"form",title:'{{t("Form")}}',Component:"FormBlockInitializer"},{name:"details",title:'{{t("Details")}}',Component:"DetailsBlockInitializer"},{name:"gridCard",title:'{{t("Grid Card")}}',Component:"GridCardBlockInitializer"}]},{name:"filterBlocks",title:'{{t("Desktop filter blocks")}}',type:"itemGroup",children:[{name:"filterForm",title:'{{t("Form")}}',Component:"FilterFormBlockInitializer"}]},{name:"otherBlocks",type:"itemGroup",title:'{{t("Other desktop blocks")}}',children:[{name:"markdown",title:'{{t("Markdown")}}',Component:"MarkdownBlockInitializer"},{name:"settings",title:Z("Settings"),Component:"MobileSettingsBlockInitializer"}]}]});function Aa(t){return{type:"void","x-component":"MobilePageContent",properties:{[t]:hr(t)}}}function hr(t){return{type:"void","x-uid":t,"x-async":!0,"x-component":"Grid","x-component-props":{showDivider:!1},"x-initializer":fr.name}}const Hi=a.createContext(null);Hi.displayName="MobilePageContext";const Oa=i=>{var n=i,{children:t}=n,e=Rt(n,["children"]);return d.jsx(Hi.Provider,{value:e,children:t})},Ki=()=>a.useContext(Hi),A1=lt.createStyles(()=>({mobilePageHeader:{position:"absolute",top:0,left:0,right:0,borderBottom:"1px solid var(--adm-color-border)",backgroundColor:"var(--adm-color-background)"}})),pr=({children:t})=>{const{displayPageHeader:e=!0}=Ki()||{},{styles:i}=A1();return e?d.jsxs("div",{className:g.cx(i.mobilePageHeader,"mobile-page-header"),"data-testid":"mobile-page-header",children:[d.jsx(ya,{position:"top"}),t]}):null},mr=new g.SchemaInitializer({name:"mobile:tabs",Component:()=>{const{refresh:t,resource:e,activeTabBarItem:i}=ce(),{insert:n}=g.useSchemaInitializer(),{t:r}=de(),{message:o}=F.App.useApp();return d.jsx(g.SchemaInitializerActionModal,{title:Z("Add tab"),btnStyles:{width:32,padding:0,marginRight:12},onSubmit:h=>Q(this,[h],function*({title:s,icon:l}){if(s&&s.trim().length==0)return o.error(r("Title field is required")),Promise.reject(new Error("Title field is required"));const u=ei.uid();yield e.create({values:{type:"tabs",title:s,icon:l,schemaUid:u,parentId:i.id}}),n(hr(u)),yield t()}),schema:{title:{type:"string",title:Z("Title"),required:!0,"x-component":"Input","x-decorator":"FormItem"},icon:{title:Z("Icon"),type:"string","x-decorator":"FormItem","x-component":"IconPicker"}}})}}),Fa=()=>{const{render:t}=g.useSchemaInitializerRender(mr.name);return t()},O1=g.createTextSettingsItem({name:"remove",title:Z("Delete"),useTextClick:()=>{const{t}=de(),{tab:e}=g.useSchemaToolbar(),{refresh:i,resource:n,activeTabBarItem:r,api:o}=ce(),s=V.useNavigate(),{modal:l,message:h}=F.App.useApp();return()=>Q(this,null,function*(){l.confirm({title:t("Delete action"),content:t("Are you sure you want to delete it?"),onOk:()=>Q(this,null,function*(){yield n.destroy({filterByTk:e.id}),yield i(),yield o.request({url:`/uiSchemas:remove/${e.schemaUid}`,method:"delete"});const u=r.children.find(p=>p.id!==e.id);s(`/${r.type}/${r.schemaUid}/${u.type}/${u.schemaUid}`),h.success({content:"Delete successfully"})})})})},useVisible(){var e;const{activeTabBarItem:t}=ce();return((e=t.children)==null?void 0:e.length)>1}}),F1={name:"title",type:"actionModal",useComponentProps(){const{t}=de(),{tab:e}=g.useSchemaToolbar(),{refresh:i,resource:n}=ce(),{message:r}=F.App.useApp();return{title:t("Edit"),schema:{type:"object",properties:{title:{type:"string",title:Z("Title"),default:e.title,"x-decorator":"FormItem","x-component":"Input",required:!0},icon:{title:Z("Icon"),type:"string","x-decorator":"FormItem",default:e.icon,"x-component":"IconPicker"}}},onSubmit(h){return Q(this,arguments,function*({title:s,icon:l}){if(s&&s.trim().length==0)return r.error(t("Title field is required")),Promise.reject(new Error("Title field is required"));yield n.update({filterByTk:e.id,values:{title:s,icon:l}}),i()})}}}},br=new g.SchemaSettings({name:"mobile:tabs",items:[F1,O1]}),Ba=({tab:t})=>d.jsx(g.SchemaToolbarProvider,{tab:t,children:d.jsx(g.SchemaToolbar,{settings:br,showBackground:!0,showBorder:!1,toolbarStyle:{inset:"-15px -12px"},spaceWrapperStyle:{top:3}})}),gr=lt.createStyles(()=>({mobilePageTabs:{display:"flex",alignItems:"center",justifyContent:"space-between"},mobilePageTabsList:{".adm-tabs-header":{borderBottomWidth:0},".adm-tabs-tab":{height:49,padding:"10px 0 10px"}}})),za=()=>{var y;const{activeTabBarItem:t,resource:e,refresh:i}=ce(),{displayTabs:n=!1}=Ki(),r=V.useNavigate(),{styles:o}=gr(),{tabSchemaUid:s}=V.useParams(),[l,h]=a.useState(()=>{var c,m;return s||((m=(c=t==null?void 0:t.children)==null?void 0:c[0])==null?void 0:m.schemaUid)}),u=c=>{h(c),r(`/${t.type}/${t.schemaUid}/tabs/${c}`)},p=a.useCallback(c=>Q(this,null,function*(){const{active:m,over:f}=c,b=m==null?void 0:m.id,v=f==null?void 0:f.id;!b||!v||b===v||(yield e.move({sourceId:b,targetId:v,sortField:"sort"}),yield i())}),[e,i]);return t?n?d.jsxs("div",{className:o.mobilePageTabs,"data-testid":"mobile-page-tabs",children:[d.jsx(g.DndContext,{onDragEnd:p,children:d.jsx(ji,{activeKey:l,onChange:u,className:o.mobilePageTabsList,children:(y=t.children)==null?void 0:y.map(c=>d.jsx(ji.Tab,{"data-testid":`mobile-page-tabs-${c.title}`,title:d.jsxs(g.SortableItem,{id:c.id,children:[d.jsx(Ba,{tab:c}),c.icon?d.jsxs(Ui,{children:[d.jsx(g.Icon,{type:c.icon}),c.title]}):c.title]})},String(c.schemaUid)))})}),d.jsx("div",{children:d.jsx(Fa,{})})]}):null:d.jsx(V.Navigate,{replace:!0,to:"/"})},B1=["default","primary","success","danger","warning"],Na=D.connect(t=>d.jsx(F.Radio.Group,R(B({},t),{children:B1.map(e=>d.jsx(F.Radio,{value:e,children:d.jsx(Ii,{color:e,size:"mini",style:{width:10,height:18},onClick:()=>t.onChange(e)})},e))}))),z1=["solid","outline"],La=D.connect(t=>d.jsx(F.Radio.Group,R(B({},t),{children:z1.map(e=>d.jsx(F.Radio,{value:e,children:d.jsx(Ii,{color:"primary",size:"mini",fill:e,style:{width:10,height:18},onClick:()=>t.onChange(e)})},e))}))),N1=t=>g.createModalSettingsItem({title:Z("Edit button"),name:"action",parentSchemaKey:"x-component-props",schema:e=>({type:"object",title:Z("Edit"),properties:{title:{title:Z("Title"),type:"string",default:e.title,"x-decorator":"FormItem","x-component":"Input","x-reactions":{target:"icon",fulfill:{state:{required:"{{!$self.value}}"}}}},icon:{title:Z("Icon"),type:"string",default:e.icon,"x-decorator":"FormItem","x-component":"IconPicker","x-reactions":{target:"title",fulfill:{state:{required:"{{!$self.value}}"}}}},color:{type:"string",default:e.color,title:Z("Color"),"x-decorator":"FormItem","x-component":Na},fill:{type:"boolean",default:e.fill,title:Z("Fill"),"x-decorator":"FormItem","x-component":La,"x-reactions":[{dependencies:["title","icon"],fulfill:{state:{visible:"{{!!$deps[0] && !!$deps[1]}}"}}}]}}})}),L1={title:{type:"string",title:Z("Title"),"x-decorator":"FormItem","x-component":"Input","x-reactions":[{target:"icon",fulfill:{state:{required:"{{!$self.value}}"}}}]},icon:{type:"string",title:Z("Icon"),"x-decorator":"FormItem","x-component":"IconPicker","x-reactions":[{target:"title",fulfill:{state:{required:"{{!$self.value}}"}}}]},color:{type:"string",title:Z("Color"),"x-decorator":"FormItem","x-component":Na},fill:{type:"boolean",title:Z("Fill"),"x-decorator":"FormItem","x-component":La,"x-reactions":[{dependencies:["title","icon"],fulfill:{state:{visible:"{{!!$deps[0] && !!$deps[1]}}"}}}]}},vr=new g.SchemaSettings({name:"mobile:navigation-bar:actions:link",items:[N1(),{name:"editLink",Component:g.SchemaSettingsActionLinkItem},{name:"remove",type:"remove",componentProps:{title:Z("Delete action")}}]}),Da=()=>{const{onClick:t}=g.useLinkActionProps();return{onClick:t}},Za=t=>({type:"void","x-component":"Action","x-toolbar":"ActionSchemaToolbar","x-settings":vr.name,"x-use-component-props":"useMobileNavigationBarLink","x-component-props":R(B({},t),{component:"MobileNavigationBarAction"})}),Va={name:"link",type:"actionModal",useComponentProps(){const{insert:t}=g.useSchemaInitializer(),{t:e}=de(),{message:i}=F.App.useApp();return{title:e("Add link"),buttonText:e("Link"),schema:L1,isItem:!0,onSubmit(n){if((!n.title||n.title.trim().length===0)&&!n.icon)return i.error(e("Please enter title or select icon")),Promise.reject(new Error("Please enter title or select icon"));t(Za(n))}}}},yr=new g.SchemaInitializer({name:"mobile:navigation-bar:actions",icon:"PlusOutlined",items:[Va]}),D1=lt.createStyles(()=>({navigationBarAction:{maxWidth:"10em",".adm-space":{maxWidth:"100%",overflow:"hidden"}},navigationBarActionIcon:{width:24,height:24,lineHeight:"24px",fontSize:24,padding:0,display:"flex",alignItems:"center",justifyContent:"center",".schema-toolbar":{inset:"-15px -8px"}},navigationBarActionTitle:{fontSize:17,padding:0,".schema-toolbar":{inset:"-15px -8px"}},navigationBarActionIconAndTitle:{height:"32px !important",fontSize:"17px !important",padding:"0 6px !important",".schema-toolbar":{inset:"-15px"}}})),wr=a.forwardRef((t,e)=>{const{icon:i,color:n,fill:r,children:o,style:s={},className:l,onClick:h}=t,{position:u}=g.useSchemaToolbar(),p=o[0],y=o[1],c=[i,p].filter(Boolean).length,m=a.useMemo(()=>typeof i=="string"?d.jsx(g.Icon,{type:i}):i,[i]),{styles:f}=D1();return d.jsx("div",{ref:e,children:d.jsxs(Ii,{onClick:h,color:n,size:c<=1?void 0:"mini",className:g.cx(l,f.navigationBarAction,{[f.navigationBarActionIconAndTitle]:c>1,[f.navigationBarActionTitle]:c===1&&p,[f.navigationBarActionIcon]:c===1&&i}),style:s,fill:c<=1?"none":r,children:[y,c>1?u==="left"?d.jsxs(Ui,{style:{"--gap":"6px"},children:[m,d.jsx("span",{children:p})]}):d.jsxs(Ui,{style:{"--gap":"6px"},children:[d.jsx("span",{children:p}),m]}):d.jsx(Ui,{children:m||p})]})})});wr.displayName="MobileNavigationBarAction";const ja=a.createContext({container:void 0}),Z1=i=>{var n=i,{children:t}=n,e=Rt(n,["children"]);return d.jsx(ja.Provider,{value:e,children:t})},Ua=()=>a.useContext(ja),Wa=g.withDynamicSchemaProps(D.observer(t=>{const{forceProps:e={}}=Ua(),h=B(B({},g.useProps(t)),e),{style:i,spaceProps:n}=h,r=Rt(h,["style","spaceProps"]),{position:o}=g.useSchemaToolbar(),s=D.useFieldSchema(),{render:l}=g.useSchemaInitializerRender(s["x-initializer"],R(B({},s["x-initializer-props"]),{wrap(u){return B({"x-position":o},u)}}));return d.jsx(g.DndContext,{children:o!=="bottom"?d.jsxs("div",R(B({style:R(B({display:"flex",alignItems:"center",gap:12},i),{marginTop:0,justifyContent:o==="left"?"flex-start":"flex-end"})},r),{"data-testid":`mobile-navigation-action-bar-${o}`,className:un.cx(r.className,"nb-action-bar"),children:[o==="left"&&l({}),t.children&&d.jsx("div",{style:{display:"flex",alignItems:"center",gap:12},children:d.jsx(D.RecursionField,{onlyRenderProperties:!0,schema:s,filterProperties:u=>u["x-position"]===o})}),o==="right"&&l({})]})):d.jsx(D.RecursionField,{onlyRenderProperties:!0,schema:s,filterProperties:u=>u["x-position"]===o})})}),{displayName:"MobileNavigationActionBar"}),V1=lt.createStyles(()=>({mobilePageNavigationBar:{".adm-nav-bar":{maxWidth:"100%",height:49,overflow:"hidden",".adm-nav-bar-left":{display:"flex",alignItems:"center",justifyContent:"flex-start"},".adm-nav-bar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end"}}}})),qa=()=>{const{title:t}=cr(),{displayNavigationBar:e=!0,displayPageTitle:i=!0}=Ki(),n=D.useFieldSchema(),{styles:r}=V1();return e?d.jsxs("div",{className:g.cx("mobile-page-navigation-bar",r.mobilePageNavigationBar),"data-testid":"mobile-page-navigation-bar",children:[d.jsx(h1,{backArrow:!1,back:null,left:d.jsx(g.SchemaToolbarProvider,{position:"left",children:d.jsx(D.RecursionField,{name:"actionBarLeft",schema:n,onlyRenderProperties:!0})}),right:d.jsx(g.SchemaToolbarProvider,{position:"right",children:d.jsx(D.RecursionField,{name:"actionBarRight",schema:n,onlyRenderProperties:!0})}),children:i?t:null}),d.jsx(g.SchemaToolbarProvider,{position:"bottom",children:d.jsx(D.RecursionField,{name:"actionBarBottom",schema:n,onlyRenderProperties:!0})})]}):null},Ha={type:"void","x-component":"MobilePageHeader",properties:{pageNavigationBar:{type:"void","x-component":"MobilePageNavigationBar",properties:{actionBar:{type:"void","x-component":"MobileNavigationActionBar","x-initializer":yr.name,"x-component-props":{spaceProps:{style:{flexWrap:"nowrap"}}},properties:{}}}},pageTabs:{type:"void","x-component":"MobilePageTabs"}}},xr=new g.SchemaSettings({name:"mobile:page",items:[{type:"itemGroup",name:"app",useComponentProps(){const{t}=de();return{title:t("App settings")}},useVisible(){return!!en()},children:[{name:"enableTabBar",type:"switch",useComponentProps(){const{t}=de(),{showTabBar:e,setShowTabBar:i}=en(),{refresh:n}=g.useDesignable();return{title:t("Display tab bar"),checked:e,onChange(r){i(r),n()}}}}]},{type:"itemGroup",name:"page",useComponentProps(){const{t}=de();return{title:t("Page settings")}},children:[g.createSwitchSettingsItem({name:"displayPageHeader",title:Z("Display page header"),defaultValue:!0,schemaKey:"x-component-props.displayPageHeader"}),g.createSwitchSettingsItem({name:"displayNavigationBar",title:Z("Display navigation bar"),defaultValue:!0,schemaKey:"x-component-props.displayNavigationBar",useVisible(){var e;return((e=D.useFieldSchema()["x-component-props"])==null?void 0:e.displayPageHeader)!==!1}}),g.createSwitchSettingsItem({name:"displayPageTitle",title:Z("Display page title"),defaultValue:!0,schemaKey:"x-component-props.displayPageTitle",useVisible(){var e,i;const t=D.useFieldSchema();return((e=t["x-component-props"])==null?void 0:e.displayNavigationBar)!==!1&&((i=t["x-component-props"])==null?void 0:i.displayPageHeader)!==!1}}),g.createSwitchSettingsItem({name:"displayTabs",title:Z("Display tabs"),defaultValue:!1,schemaKey:"x-component-props.displayTabs",useVisible(){var e;return((e=D.useFieldSchema()["x-component-props"])==null?void 0:e.displayPageHeader)!==!1}})]}]}),j1=g.css(`
|
|
156
|
-
&:first-child {
|
|
157
|
-
.ant-space-item {
|
|
158
|
-
width: 30px;
|
|
159
|
-
height: 30px;
|
|
160
|
-
transform: rotate(45deg);
|
|
161
|
-
span {
|
|
162
|
-
position: relative;
|
|
163
|
-
bottom: -15px;
|
|
164
|
-
right: -8px;
|
|
165
|
-
transform: rotate(-45deg);
|
|
166
|
-
font-size: 10px;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
`);function Ka(t,e){return{schema:{type:"void",name:t,"x-uid":t,"x-component":"MobilePageProvider","x-settings":xr.name,"x-decorator":"BlockItem","x-decorator-props":{style:{height:"100%"}},"x-toolbar-props":{draggable:!1,spaceWrapperStyle:{right:-15,top:-15},spaceClassName:j1,toolbarStyle:{overflowX:"hidden"}},properties:{header:Ha,content:Aa(e)}}}}function U1(t){return t==null||t.mapProperties(e=>{e["x-component"]==="Grid"&&(e["x-component-props"]=R(B({},e["x-component-props"]),{showDivider:!1}))}),t}const W1=g.createStyles(({css:t,token:e})=>({container:t`
|
|
171
|
-
cursor: pointer;
|
|
172
|
-
text-align: right;
|
|
173
|
-
flex: 1;
|
|
174
|
-
padding-right: var(--nb-mobile-page-tabs-content-padding);
|
|
175
|
-
|
|
176
|
-
.ant-btn {
|
|
177
|
-
width: 32px;
|
|
178
|
-
height: 32px;
|
|
179
|
-
padding: 0;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.ant-btn > span {
|
|
183
|
-
display: none;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
span.ant-btn-icon {
|
|
187
|
-
display: inline-block;
|
|
188
|
-
font-size: 16px;
|
|
189
|
-
margin: 0 !important;
|
|
190
|
-
}
|
|
191
|
-
`,backButton:t`
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
justify-content: center;
|
|
195
|
-
font-size: 24px;
|
|
196
|
-
height: 50px;
|
|
197
|
-
width: 50px;
|
|
198
|
-
`})),Sr=D.observer(t=>{const e=D.useFieldSchema(),{render:i}=g.useSchemaInitializerRender(e["x-initializer"],e["x-initializer-props"]),{activeKey:n,onChange:r}=g.useTabsContext()||{},[o,s]=a.useState(n),{styles:l}=gr(),{styles:h}=W1(),{goBack:u}=g.useBackButton(),p=a.useRef({}),y=a.useCallback(f=>{s(f),r==null||r(f)},[r]);a.useEffect(()=>{s(n)},[n]);const c=a.useMemo(()=>e.mapProperties((b,v)=>(p.current[v]=d.jsx(g.SchemaComponent,{name:v,schema:b,onlyRenderProperties:!0,distributed:!0}),d.jsx(ji.Tab,{title:d.jsx(D.RecursionField,{name:v,schema:b,onlyRenderSelf:!0})},v))),[e.mapProperties((f,b)=>b).join()]),m=a.useMemo(()=>{var b,v;const f=e.mapProperties((C,S)=>(C=U1(C),{key:S,node:d.jsx(g.SchemaComponent,{name:S,schema:C,onlyRenderProperties:!0,distributed:!0})}));return o?(v=f.find(C=>C.key===o))==null?void 0:v.node:(b=f[0])==null?void 0:b.node},[o,e]);return d.jsxs(d.Fragment,{children:[d.jsx(pr,{children:d.jsxs("div",{className:l.mobilePageTabs,"data-testid":"mobile-action-page-tabs",children:[d.jsx("div",{className:h.backButton,onClick:u,children:d.jsx(ea,{})}),d.jsx(g.DndContext,{children:d.jsx(ji,{activeKey:o,onChange:y,className:l.mobilePageTabsList,children:c})}),d.jsx("div",{className:h.container,children:i()})]})}),d.jsx(ur,{hideTabBar:!0,children:m})]})},{displayName:"MobileTabsForMobileActionPage"}),q1=g.css`
|
|
199
|
-
position: relative;
|
|
200
|
-
&:hover {
|
|
201
|
-
> .general-schema-designer {
|
|
202
|
-
display: block;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
&.nb-action-link {
|
|
206
|
-
> .general-schema-designer {
|
|
207
|
-
top: -10px;
|
|
208
|
-
bottom: -10px;
|
|
209
|
-
left: -10px;
|
|
210
|
-
right: -10px;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
> .general-schema-designer {
|
|
214
|
-
position: absolute;
|
|
215
|
-
z-index: 999;
|
|
216
|
-
top: 0;
|
|
217
|
-
bottom: 0;
|
|
218
|
-
left: 0;
|
|
219
|
-
right: 0;
|
|
220
|
-
display: none;
|
|
221
|
-
background: var(--colorBgSettingsHover);
|
|
222
|
-
border: 0;
|
|
223
|
-
top: 0;
|
|
224
|
-
bottom: 0;
|
|
225
|
-
left: 0;
|
|
226
|
-
right: 0;
|
|
227
|
-
pointer-events: none;
|
|
228
|
-
> .general-schema-designer-icons {
|
|
229
|
-
position: absolute;
|
|
230
|
-
right: 2px;
|
|
231
|
-
top: 2px;
|
|
232
|
-
line-height: 16px;
|
|
233
|
-
pointer-events: all;
|
|
234
|
-
.ant-space-item {
|
|
235
|
-
background-color: var(--colorSettings);
|
|
236
|
-
color: #fff;
|
|
237
|
-
line-height: 16px;
|
|
238
|
-
width: 16px;
|
|
239
|
-
padding-left: 1px;
|
|
240
|
-
align-self: stretch;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
`;Sr.TabPane=D.observer(t=>{const e=g.useDesigner(),i=D.useField();return d.jsxs(g.SortableItem,{className:te("nb-action-link",q1,t.className),children:[t.icon&&d.jsx(g.Icon,{style:{marginRight:2},type:t.icon})," ",t.tab||i.title,d.jsx(e,{})]})},{displayName:"MobileTabsForMobileActionPage.TabPane"}),Sr.Designer=g.Tabs.Designer;const H1={Tabs:Sr},K1=({level:t,footerNodeName:e})=>{const i=D.useField(),n=D.useFieldSchema(),r=g.useActionContext(),{styles:o}=P1(),s=g.useTabsContext(),l=a.useMemo(()=>document.querySelector(".nb-mobile-subpages-slot"),[]),u=g.useZIndexContext()+Qt+(t||1),p=n.reduceProperties((m,f)=>f["x-component"]===e?f:m),y=a.useMemo(()=>({zIndex:u}),[u]);if(!r.visible)return null;const c=d.jsx(g.zIndexContext.Provider,{value:u,children:d.jsxs("div",{className:o.container,style:y,children:[d.jsx(g.TabsContextProvider,R(B({},s),{tabBarExtraContent:d.jsx(g.BackButtonUsedInSubPage,{}),tabBarGutter:48,children:d.jsx(g.SchemaComponent,{components:H1,schema:n,onlyRenderProperties:!0})})),p&&d.jsx("div",{className:o.footer,style:y,children:d.jsx(D.RecursionField,{basePath:i.address,schema:n,onlyRenderProperties:!0,filterProperties:m=>m["x-component"]===e})})]})});return l?$e.createPortal(c,l):c},G1=(t,e)=>{const i=e(t);return R(B({},i),{columnCount:{lg:1,md:1,xs:1,xxl:1}})},Y1=t=>{const{scope:e}=g.useSchemaOptionsContext(),i=a.useMemo(()=>({useGridCardBlockDecoratorProps:n=>G1(n,e==null?void 0:e.useGridCardBlockDecoratorProps)}),[e==null?void 0:e.useGridCardBlockDecoratorProps]);return d.jsx(g.SchemaComponentOptions,{scope:i,children:t.children})},Q1=50,Ga="#f5f5f5",kr=a.createContext(null);kr.displayName="SizeContext";function Ya(){return a.useContext(kr)}const X1=({children:t})=>{const[e,i]=a.useState({width:375,height:667});return d.jsx(kr.Provider,{value:{size:e,setSize:i},children:t})},J1=()=>d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[d.jsx("title",{children:"pad icon"}),d.jsx("rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2"}),d.jsx("line",{x1:"12",x2:"12.01",y1:"18",y2:"18"})]}),$1=()=>d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[d.jsx("title",{children:"mobile icon"}),d.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),d.jsx("path",{d:"M12 18h.01"})]}),R1=t=>d.jsx(g.Icon,B({type:"",component:J1},t)),e0=t=>d.jsx(g.Icon,B({type:"",component:$1},t)),Qa=()=>{const{t}=de(),e=g.useApp(),{setSize:i}=Ya(),[n,r]=a.useState(!1),{allowConfigUI:o}=g.useUIConfigurationPermissions(),s=l=>{r(l)};return d.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",color:"white",height:"100%"},className:g.css`
|
|
245
|
-
.ant-btn {
|
|
246
|
-
border: 0;
|
|
247
|
-
height: 46px;
|
|
248
|
-
width: 46px;
|
|
249
|
-
border-radius: 0;
|
|
250
|
-
background: none;
|
|
251
|
-
color: rgba(255, 255, 255, 0.65);
|
|
252
|
-
padding: 0;
|
|
253
|
-
display: flex;
|
|
254
|
-
justify-content: center;
|
|
255
|
-
align-items: center;
|
|
256
|
-
&:hover {
|
|
257
|
-
background: rgba(255, 255, 255, 0.1) !important;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
svg {
|
|
261
|
-
width: 20px !important;
|
|
262
|
-
height
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
.ant-btn-default {
|
|
266
|
-
box-shadow: none;
|
|
267
|
-
}
|
|
268
|
-
`,children:[d.jsx(F.Button,{style:{color:"white"},href:e.getRouteUrl("/admin"),children:t("Back")}),d.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[o?d.jsx(g.DesignableSwitch,{}):null,d.jsx(F.Button,{onClick:()=>{i({width:768,height:667})},"data-testid":"desktop-mode-size-pad",icon:d.jsx(R1,{})}),d.jsx(F.Button,{onClick:()=>{i({width:375,height:667})},"data-testid":"desktop-mode-size-mobile",icon:d.jsx(e0,{})}),d.jsx(F.Popover,{trigger:"hover",open:n,onOpenChange:s,content:n?d.jsx(F.QRCode,{value:window.location.href,bordered:!1}):" ",children:d.jsx(F.Button,{icon:d.jsx(Lr.QrcodeOutlined,{style:{fontSize:"24px",cursor:"pointer"},"data-testid":"desktop-mode-qrcode"})})})]})]})};var t0=function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])},t(e,i)};return function(e,i){t(e,i);function n(){this.constructor=e}e.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}}(),Gi=function(){return Gi=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Gi.apply(this,arguments)},i0={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},n0=function(t){t0(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.onMouseDown=function(n){i.props.onResizeStart(n,i.props.direction)},i.onTouchStart=function(n){i.props.onResizeStart(n,i.props.direction)},i}return e.prototype.render=function(){return ee.createElement("div",{className:this.props.className||"",style:Gi(Gi({position:"absolute",userSelect:"none"},i0[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},e}(ee.PureComponent),Er={exports:{}};function r0(t,e){var i=e&&e.cache?e.cache:d0,n=e&&e.serializer?e.serializer:c0,r=e&&e.strategy?e.strategy:s0;return r(t,{cache:i,serializer:n})}function o0(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Xa(t,e,i,n){var r=o0(n)?n:i(n),o=e.get(r);return typeof o=="undefined"&&(o=t.call(this,n),e.set(r,o)),o}function Ja(t,e,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=e.get(r);return typeof o=="undefined"&&(o=t.apply(this,n),e.set(r,o)),o}function Cr(t,e,i,n,r){return i.bind(e,t,n,r)}function s0(t,e){var i=t.length===1?Xa:Ja;return Cr(t,this,i,e.cache.create(),e.serializer)}function a0(t,e){var i=Ja;return Cr(t,this,i,e.cache.create(),e.serializer)}function l0(t,e){var i=Xa;return Cr(t,this,i,e.cache.create(),e.serializer)}function c0(){return JSON.stringify(arguments)}function Yi(){this.cache=Object.create(null)}Yi.prototype.has=function(t){return t in this.cache},Yi.prototype.get=function(t){return this.cache[t]},Yi.prototype.set=function(t,e){this.cache[t]=e};var d0={create:function(){return new Yi}};Er.exports=r0,Er.exports.strategies={variadic:a0,monadic:l0};var u0=Er.exports;const ot=jr(u0);var f0=function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])},t(e,i)};return function(e,i){t(e,i);function n(){this.constructor=e}e.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}}(),Be=function(){return Be=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Be.apply(this,arguments)},h0={width:"auto",height:"auto"},Qi=ot(function(t,e,i){return Math.max(Math.min(t,i),e)}),$a=ot(function(t,e){return Math.round(t/e)*e}),Xi=ot(function(t,e){return new RegExp(t,"i").test(e)}),Ji=function(t){return!!(t.touches&&t.touches.length)},p0=function(t){return!!((t.clientX||t.clientX===0)&&(t.clientY||t.clientY===0))},Ra=ot(function(t,e,i){i===void 0&&(i=0);var n=e.reduce(function(o,s,l){return Math.abs(s-t)<Math.abs(e[o]-t)?l:o},0),r=Math.abs(e[n]-t);return i===0||r<i?e[n]:t}),re=ot(function(t,e){return t.substr(t.length-e.length,e.length)===e}),Pr=ot(function(t){return t=t.toString(),t==="auto"||re(t,"px")||re(t,"%")||re(t,"vh")||re(t,"vw")||re(t,"vmax")||re(t,"vmin")?t:t+"px"}),$i=function(t,e,i,n){if(t&&typeof t=="string"){if(re(t,"%")){var r=Number(t.replace("%",""))/100;return e*r}else if(re(t,"vw")){var r=Number(t.replace("vw",""))/100;return i*r}else if(re(t,"vh")){var r=Number(t.replace("vh",""))/100;return n*r}}return t},m0=ot(function(t,e,i,n,r,o,s){return n=$i(n,t.width,e,i),r=$i(r,t.height,e,i),o=$i(o,t.width,e,i),s=$i(s,t.height,e,i),{maxWidth:typeof n=="undefined"?void 0:Number(n),maxHeight:typeof r=="undefined"?void 0:Number(r),minWidth:typeof o=="undefined"?void 0:Number(o),minHeight:typeof s=="undefined"?void 0:Number(s)}}),b0=["as","style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],el="__resizable_base__",g0=function(t){f0(e,t);function e(i){var n=t.call(this,i)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableTop=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var r=n.parentNode;if(!r)return null;var o=n.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0",o.classList?o.classList.add(el):o.className+=el,r.appendChild(o),o},n.removeBase=function(r){var o=n.parentNode;o&&o.removeChild(r)},n.ref=function(r){r&&(n.resizable=r)},n.state={isResizing:!1,width:typeof(n.propsSize&&n.propsSize.width)=="undefined"?"auto":n.propsSize&&n.propsSize.width,height:typeof(n.propsSize&&n.propsSize.height)=="undefined"?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||h0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){var i=0,n=0;if(this.resizable&&this.window){var r=this.resizable.offsetWidth,o=this.resizable.offsetHeight,s=this.resizable.style.position;s!=="relative"&&(this.resizable.style.position="relative"),i=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:r,n=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=s}return{width:i,height:n}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sizeStyle",{get:function(){var i=this,n=this.props.size,r=function(l){if(typeof i.state[l]=="undefined"||i.state[l]==="auto")return"auto";if(i.propsSize&&i.propsSize[l]&&re(i.propsSize[l].toString(),"%")){if(re(i.state[l].toString(),"%"))return i.state[l].toString();var h=i.getParentSize(),u=Number(i.state[l].toString().replace("px","")),p=u/h[l]*100;return p+"%"}return Pr(i.state[l])},o=n&&typeof n.width!="undefined"&&!this.state.isResizing?Pr(n.width):r("width"),s=n&&typeof n.height!="undefined"&&!this.state.isResizing?Pr(n.height):r("height");return{width:o,height:s}},enumerable:!1,configurable:!0}),e.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var i=this.appendBase();if(!i)return{width:0,height:0};var n=!1,r=this.parentNode.style.flexWrap;r!=="wrap"&&(n=!0,this.parentNode.style.flexWrap="wrap"),i.style.position="relative",i.style.minWidth="100%";var o={width:i.offsetWidth,height:i.offsetHeight};return n&&(this.parentNode.style.flexWrap=r),this.removeBase(i),o},e.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},e.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},e.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var i=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:i.flexBasis!=="auto"?i.flexBasis:void 0})}},e.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},e.prototype.createSizeForCssProperty=function(i,n){var r=this.propsSize&&this.propsSize[n];return this.state[n]==="auto"&&this.state.original[n]===i&&(typeof r=="undefined"||r==="auto")?"auto":i},e.prototype.calculateNewMaxFromBoundary=function(i,n){if(this.props.bounds==="parent"){var r=this.parentNode;if(r){var o=r.offsetWidth+(this.parentLeft-this.resizableLeft),s=r.offsetHeight+(this.parentTop-this.resizableTop);i=i&&i<o?i:o,n=n&&n<s?n:s}}else if(this.props.bounds==="window"){if(this.window){var o=this.window.innerWidth-this.resizableLeft,s=this.window.innerHeight-this.resizableTop;i=i&&i<o?i:o,n=n&&n<s?n:s}}else if(this.props.bounds){var o=this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),s=this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop);i=i&&i<o?i:o,n=n&&n<s?n:s}return{maxWidth:i,maxHeight:n}},e.prototype.calculateNewSizeFromDirection=function(i,n){var r=this.props.scale||1,o=this.props.resizeRatio||1,s=this.state,l=s.direction,h=s.original,u=this.props,p=u.lockAspectRatio,y=u.lockAspectRatioExtraHeight,c=u.lockAspectRatioExtraWidth,m=h.width,f=h.height,b=y||0,v=c||0;return Xi("right",l)&&(m=h.width+(i-h.x)*o/r,p&&(f=(m-v)/this.ratio+b)),Xi("left",l)&&(m=h.width-(i-h.x)*o/r,p&&(f=(m-v)/this.ratio+b)),Xi("bottom",l)&&(f=h.height+(n-h.y)*o/r,p&&(m=(f-b)*this.ratio+v)),Xi("top",l)&&(f=h.height-(n-h.y)*o/r,p&&(m=(f-b)*this.ratio+v)),{newWidth:m,newHeight:f}},e.prototype.calculateNewSizeFromAspectRatio=function(i,n,r,o){var s=this.props,l=s.lockAspectRatio,h=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,p=typeof o.width=="undefined"?10:o.width,y=typeof r.width=="undefined"||r.width<0?i:r.width,c=typeof o.height=="undefined"?10:o.height,m=typeof r.height=="undefined"||r.height<0?n:r.height,f=h||0,b=u||0;if(l){var v=(c-f)*this.ratio+b,C=(m-f)*this.ratio+b,S=(p-b)/this.ratio+f,w=(y-b)/this.ratio+f,k=Math.max(p,v),P=Math.min(y,C),T=Math.max(c,S),L=Math.min(m,w);i=Qi(i,k,P),n=Qi(n,T,L)}else i=Qi(i,p,y),n=Qi(n,c,m);return{newWidth:i,newHeight:n}},e.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var i=this.parentNode;if(i){var n=i.getBoundingClientRect();this.parentLeft=n.left,this.parentTop=n.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var r=this.props.bounds.getBoundingClientRect();this.targetLeft=r.left,this.targetTop=r.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),s=o.left,l=o.top;this.resizableLeft=s,this.resizableTop=l}},e.prototype.onResizeStart=function(i,n){if(!(!this.resizable||!this.window)){var r=0,o=0;if(i.nativeEvent&&p0(i.nativeEvent)){if(r=i.nativeEvent.clientX,o=i.nativeEvent.clientY,i.nativeEvent.which===3)return}else i.nativeEvent&&Ji(i.nativeEvent)&&(r=i.nativeEvent.touches[0].clientX,o=i.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable){var s=this.props.onResizeStart(i,n,this.resizable);if(s===!1)return}this.props.size&&(typeof this.props.size.height!="undefined"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width!="undefined"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var l,h=this.window.getComputedStyle(this.resizable);if(h.flexBasis!=="auto"){var u=this.parentNode;if(u){var p=this.window.getComputedStyle(u).flexDirection;this.flexDir=p.startsWith("row")?"row":"column",l=h.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var y={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Be(Be({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(i.target).cursor||"auto"}),direction:n,flexBasis:l};this.setState(y)}},e.prototype.onMouseMove=function(i){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ji(i))try{i.preventDefault(),i.stopPropagation()}catch(Te){}var n=this.props,r=n.maxWidth,o=n.maxHeight,s=n.minWidth,l=n.minHeight,h=Ji(i)?i.touches[0].clientX:i.clientX,u=Ji(i)?i.touches[0].clientY:i.clientY,p=this.state,y=p.direction,c=p.original,m=p.width,f=p.height,b=this.getParentSize(),v=m0(b,this.window.innerWidth,this.window.innerHeight,r,o,s,l);r=v.maxWidth,o=v.maxHeight,s=v.minWidth,l=v.minHeight;var C=this.calculateNewSizeFromDirection(h,u),S=C.newHeight,w=C.newWidth,k=this.calculateNewMaxFromBoundary(r,o),P=this.calculateNewSizeFromAspectRatio(w,S,{width:k.maxWidth,height:k.maxHeight},{width:s,height:l});if(w=P.newWidth,S=P.newHeight,this.props.grid){var T=$a(w,this.props.grid[0]),L=$a(S,this.props.grid[1]),q=this.props.snapGap||0;w=q===0||Math.abs(T-w)<=q?T:w,S=q===0||Math.abs(L-S)<=q?L:S}this.props.snap&&this.props.snap.x&&(w=Ra(w,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(S=Ra(S,this.props.snap.y,this.props.snapGap));var ne={width:w-c.width,height:S-c.height};if(m&&typeof m=="string"){if(re(m,"%")){var K=w/b.width*100;w=K+"%"}else if(re(m,"vw")){var ue=w/this.window.innerWidth*100;w=ue+"vw"}else if(re(m,"vh")){var $=w/this.window.innerHeight*100;w=$+"vh"}}if(f&&typeof f=="string"){if(re(f,"%")){var K=S/b.height*100;S=K+"%"}else if(re(f,"vw")){var ue=S/this.window.innerWidth*100;S=ue+"vw"}else if(re(f,"vh")){var $=S/this.window.innerHeight*100;S=$+"vh"}}var Y={width:this.createSizeForCssProperty(w,"width"),height:this.createSizeForCssProperty(S,"height")};this.flexDir==="row"?Y.flexBasis=Y.width:this.flexDir==="column"&&(Y.flexBasis=Y.height),this.setState(Y),this.props.onResize&&this.props.onResize(i,y,this.resizable,ne)}},e.prototype.onMouseUp=function(i){var n=this.state,r=n.isResizing,o=n.direction,s=n.original;if(!(!r||!this.resizable)){var l={width:this.size.width-s.width,height:this.size.height-s.height};this.props.onResizeStop&&this.props.onResizeStop(i,o,this.resizable,l),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Be(Be({},this.state.backgroundStyle),{cursor:"auto"})})}},e.prototype.updateSize=function(i){this.setState({width:i.width,height:i.height})},e.prototype.renderResizer=function(){var i=this,n=this.props,r=n.enable,o=n.handleStyles,s=n.handleClasses,l=n.handleWrapperStyle,h=n.handleWrapperClass,u=n.handleComponent;if(!r)return null;var p=Object.keys(r).map(function(y){return r[y]!==!1?ee.createElement(n0,{key:y,direction:y,onResizeStart:i.onResizeStart,replaceStyles:o&&o[y],className:s&&s[y]},u&&u[y]?u[y]:null):null});return ee.createElement("span",{className:h,style:l},p)},e.prototype.render=function(){var i=this,n=Object.keys(this.props).reduce(function(s,l){return b0.indexOf(l)!==-1||(s[l]=i.props[l]),s},{}),r=Be(Be(Be({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(r.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return ee.createElement(o,Be({ref:this.ref,style:r,className:this.props.className},n),this.state.isResizing&&ee.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},e.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},e}(ee.PureComponent);const tl=({children:t})=>{const{size:e,setSize:i}=Ya();return d.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",boxSizing:"border-box",overflow:"auto",padding:80},className:un.css`
|
|
269
|
-
.adm-error-block-full-page {
|
|
270
|
-
padding-top: 100px;
|
|
271
|
-
}
|
|
272
|
-
`,children:d.jsx(g0,{style:{boxShadow:"0 0 15px rgba(0, 0, 0, 0.3)"},"data-testid":"desktop-mode-resizable",size:{width:e.width,height:e.height},onResizeStop:(n,r,o,s)=>{i({width:e.width+s.width,height:e.height+s.height})},children:t})})},il=({children:t})=>qo?d.jsx(X1,{children:d.jsxs(F.Layout,{style:{height:"100%",background:Ga},children:[d.jsx(F.Layout.Header,{style:{height:46},children:d.jsx(Qa,{})}),d.jsx(F.Layout.Content,{children:d.jsx(tl,{children:t})})]})}):d.jsx(d.Fragment,{children:t}),Ri=a.createContext(void 0);Ri.displayName="MobileAppContext";const nl=({children:t})=>{var o,s;const e=g.usePlugin(rn),[i,n]=a.useState((s=(o=e.getPluginOptions())==null?void 0:o.showTabBar)!=null?s:!0),r=l=>{n(l),e.updateOptions({showTabBar:l})};return d.jsx(Ri.Provider,{value:{showTabBar:i,setShowTabBar:r},children:t})},en=()=>a.useContext(Ri),v0=g.createStyles(({token:t,css:e})=>({nbMobile:e`
|
|
273
|
-
-webkit-overflow-scrolling: touch;
|
|
274
|
-
display: initial;
|
|
275
|
-
|
|
276
|
-
& ::-webkit-scrollbar {
|
|
277
|
-
display: none;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > span:last-child {
|
|
281
|
-
display: none !important;
|
|
282
|
-
}
|
|
283
|
-
.ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > .ant-btn-icon {
|
|
284
|
-
margin: 0px;
|
|
285
|
-
}
|
|
286
|
-
.ant-table-tbody .nb-column-initializer {
|
|
287
|
-
min-width: 40px !important;
|
|
288
|
-
}
|
|
289
|
-
// reset Select record popup
|
|
290
|
-
.ant-table-thead
|
|
291
|
-
button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns']
|
|
292
|
-
> span:last-child {
|
|
293
|
-
display: none !important;
|
|
294
|
-
}
|
|
295
|
-
.ant-table-thead
|
|
296
|
-
button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns']
|
|
297
|
-
> .ant-btn-icon {
|
|
298
|
-
margin: 0px;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.ant-pagination .ant-pagination-total-text {
|
|
302
|
-
display: none;
|
|
303
|
-
}
|
|
304
|
-
.ant-pagination .ant-pagination-options {
|
|
305
|
-
display: none;
|
|
306
|
-
}
|
|
307
|
-
.ant-pagination .ant-pagination-item {
|
|
308
|
-
display: none;
|
|
309
|
-
}
|
|
310
|
-
.ant-card-body .nb-action-bar .ant-btn {
|
|
311
|
-
justify-content: space-between;
|
|
312
|
-
display: flex;
|
|
313
|
-
align-items: center;
|
|
314
|
-
gap: 8px;
|
|
315
|
-
|
|
316
|
-
span {
|
|
317
|
-
display: contents;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
.ant-card-body .nb-action-bar .ant-btn-icon {
|
|
321
|
-
margin-inline-end: 0px !important;
|
|
322
|
-
}
|
|
323
|
-
.ant-card-body .nb-table-container {
|
|
324
|
-
margin-right: -20px;
|
|
325
|
-
margin-left: -10px;
|
|
326
|
-
}
|
|
327
|
-
.nb-action-bar button[aria-label*='schema-initializer-ActionBar-table:configureActions'] > span:last-child {
|
|
328
|
-
display: none !important;
|
|
329
|
-
}
|
|
330
|
-
.nb-action-bar button[aria-label*='schema-initializer-ActionBar-table:configureActions'] > .ant-btn-icon {
|
|
331
|
-
margin: 0px;
|
|
332
|
-
}
|
|
333
|
-
.nb-card-list .ant-row > div {
|
|
334
|
-
width: 100% !important;
|
|
335
|
-
max-width: 100% !important;
|
|
336
|
-
}
|
|
337
|
-
`})),rl=()=>{var s,l;b1(),v1(),C1();const{styles:t}=v0(),e=g.usePlugin(rn),i=e.getRouterComponent(),n=(l=(s=e==null?void 0:e.options)==null?void 0:s.config)!=null&&l.skipLogin?a.Fragment:g.AdminProvider;a.useEffect(()=>{if(!qo){let h=document.querySelector('meta[name="viewport"]');h||(h=document.createElement("meta"),h.setAttribute("name","viewport"),document.head.appendChild(h)),h.setAttribute("content","width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"),document.body.style.backgroundColor=Ga,document.body.style.overflow="hidden";const u=document.createElement("div");document.body.appendChild(u),document.body.removeChild(u)}},[]);const r=e.desktopMode===!1?a.Fragment:il,o=a.useMemo(()=>({PopoverNester:h=>{const{getDefaultComponent:u}=g.useAssociationFieldModeContext(),p=u(g.AssociationFieldMode.PopoverNester);return d.jsx(k1,R(B({},h),{OriginComponent:p}))}}),[]);return d.jsx(n,{children:d.jsx(r,{children:d.jsx(g.GlobalThemeProvider,{theme:{token:{marginBlock:18,borderRadiusBlock:0,boxShadowTertiary:"none"}},children:d.jsx(g.AntdAppProvider,{className:`mobile-container ${t.nbMobile}`,children:d.jsx(g.OpenModeProvider,{defaultOpenMode:"page",isMobile:!0,hideOpenMode:!0,openModeToComponent:{page:K1,drawer:lr,modal:g.Action.Modal},children:d.jsx(g.BlockTemplateProvider,{componentNamePrefix:"mobile-",children:d.jsx(nl,{children:d.jsx(Y1,{children:d.jsx(g.AssociationFieldModeProvider,{modeToComponent:o,children:d.jsx(g.zIndexContext.Provider,{value:100,children:d.jsx(i,{})})})})})})})})})})})},y0=lt.createStyles(()=>({mobileTabBar:{position:"absolute",bottom:0,left:0,right:0,height:Q1,boxSizing:"border-box",borderTop:"1px solid var(--adm-color-border)",backgroundColor:"var(--adm-color-background)"},mobileTabBarContent:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1em",height:"100%"},mobileTabBarList:{display:"flex",justifyContent:"space-around",flex:1,alignItems:"center",overflowX:"auto",".adm-tab-bar-item":{maxWidth:"100%",".adm-tab-bar-item-title":{maxWidth:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},"&>div":{flex:1,display:"flex",justifyContent:"center",alignItems:"center"},".ant-btn-icon":{marginInlineEnd:"0 !important"}}}));function ol(t){return t?t.startsWith("/")&&!t.startsWith("//"):!1}function w0(t,e){const{icon:i,selectedIcon:n}=t,r=e&&n?n:i;if(r)return typeof r=="string"?d.jsx(g.Icon,{type:r}):i}const tn=t=>{const{title:e,onClick:i,selected:n,badge:r}=t,o=w0(t,n);return d.jsxs("div",{onClick:i,"data-testid":`mobile-tab-bar-${e}`,className:te("adm-tab-bar-item",{"adm-tab-bar-item-active":n}),style:{lineHeight:1},children:[d.jsx(Uf,{content:r,style:{"--top":"5px"},children:d.jsx("span",{className:"adm-tab-bar-item-icon",children:o})}),d.jsx("span",{className:te("adm-tab-bar-item-title",{"adm-tab-bar-item-title-with-icon":o}),children:e})]})};function sl(){const{refresh:t,resource:e}=ce(),i=D.useFieldSchema(),{t:n}=de(),{message:r}=F.App.useApp();return o=>Q(this,null,function*(){if(!o.title||o.title.trim()==="")return r.error(n("Title field is required")),Promise.reject(new Error(n("Title field is required")));if(!o.icon)return r.error(n("Icon field is required")),Promise.reject(new Error(n("Icon field is required")));const s=i.toJSON(),l=Number(s.name),h=s["x-component-props"].title,u=s["x-component-props"].icon,p=Ue.omit(s["x-component-props"],"title","icon");yield e.update({filterByTk:l,values:{title:h,icon:u,options:p}}),t()})}const nn=(t={})=>({title:{title:Z("Title"),type:"string",default:t.title,"x-decorator":"FormItem","x-component":"Input",required:!0},icon:{title:Z("Icon"),type:"string",default:t.icon,"x-decorator":"FormItem","x-component":"IconPicker",required:!0}}),Mr=t=>g.createModalSettingsItem({title:Z("Edit button"),name:"tabBarItem",parentSchemaKey:"x-component-props",schema:e=>({type:"object",title:"Edit button",properties:B(B({},nn(e)),t?t(e):{})}),useSubmit:sl}),Tr=g.createTextSettingsItem({name:"remove",title:Z("Delete"),useTextClick:()=>{const t=D.useFieldSchema(),e=Number(t.toJSON().name),{refresh:i,resource:n,routeList:r,api:o}=ce(),s=V.useNavigate(),{t:l}=de(),{modal:h,message:u}=F.App.useApp();return()=>Q(this,null,function*(){h.confirm({title:l("Delete action"),content:l("Are you sure you want to delete it?"),onOk:()=>Q(this,null,function*(){yield n.destroy({filterByTk:e}),yield n.destroy({filter:{parentId:e}});const p=r.find(y=>y.id===e);yield o.request({url:`/uiSchemas:remove/${p.schemaUid}`,method:"delete"}),yield i(),s("/"),u.success({content:"Delete successfully"})})})})}});function al(t){var i,n;const e={name:t.id,type:"void","x-decorator":"BlockItem","x-settings":`mobile:tab-bar:${t.type}`,"x-component":`MobileTabBar.${Ue.upperFirst(t.type)}`,"x-toolbar-props":{showBorder:!1,showBackground:!0},"x-component-props":B({title:t.title,icon:t.icon,schemaUid:t.schemaUid},t.options||{})};return Al.merge(e,(n=(i=t.options)==null?void 0:i.schema)!=null?n:{})}const ll=t=>{const e=V.useLocation(),{onClick:i}=g.useLinkActionProps(t),n=e.pathname===t.url;return d.jsx(tn,R(B({},t),{onClick:i,selected:n}))},x0=()=>{const t=D.useFieldSchema(),{t:e}=Je.useTranslation(),{urlSchema:i,paramsSchema:n,openInNewWindowSchema:r}=g.useURLAndHTMLSchema(),{resource:o,refresh:s}=ce(),l=t["x-component-props"]||{},h={url:l.url,params:l.params||[{}],openInNewWindow:l.openInNewWindow};return d.jsx(g.SchemaSettingsModalItem,{title:e("Edit link"),components:{ArrayItems:Ol.ArrayItems},schema:{type:"object",title:e("Edit link"),properties:{url:R(B({},i),{required:!0}),params:n,openInNewWindow:r}},onSubmit:c=>Q(this,[c],function*({url:u,params:p,openInNewWindow:y}){const m=t.toJSON(),f=Number(m.name);yield o.update({filterByTk:f,values:{options:R(B({},m["x-component-props"]),{url:u,params:p,openInNewWindow:y})}}),s()}),initialValues:h})},cl=new g.SchemaSettings({name:"mobile:tab-bar:link",items:[Mr(),{name:"editLink",Component:x0},{name:"divider",type:"divider"},Tr]}),dl={name:"link",type:"actionModal",useComponentProps(){const{resource:t,refresh:e}=ce(),{t:i}=de(),{message:n}=F.App.useApp();return{isItem:!0,title:Z("Add link"),buttonText:Z("Link"),schema:nn(),onSubmit(o){return Q(this,null,function*(){if(!o.title||o.title.trim()==="")return n.error(i("Title field is required")),Promise.reject(new Error(i("Title field is required")));if(!o.icon)return n.error(i("Icon field is required")),Promise.reject(new Error(i("Icon field is required")));yield t.create({values:{type:"link",title:o.title,icon:o.icon}}),yield e()})}}}},ul=t=>{const h=t,{schemaUid:e}=h,i=Rt(h,["schemaUid"]),n=V.useNavigate(),r=V.useLocation(),o=a.useMemo(()=>e?`/page/${e}`:i.url?`${i.url}`:"/",[e,i.url]),s=a.useCallback(()=>{n(o)},[o,n]),l=r.pathname.startsWith(o);return d.jsx(tn,R(B({},i),{onClick:s,selected:l}))},fl=new g.SchemaSettings({name:"mobile:tab-bar:page",items:[Mr(),{name:"divider",type:"divider"},Tr]}),hl=()=>{var n;const{routeList:t}=ce(),e=t.find(r=>{var o;return r.schemaUid||ol((o=r.options)==null?void 0:o.url)});if(!e)return null;const i=((n=e==null?void 0:e.options)==null?void 0:n.url)||`/${e.type}/${e.schemaUid}`;return i?d.jsx(V.Navigate,{to:i,replace:!0}):null},pl=()=>{const t=V.useNavigate(),{t:e}=de();return d.jsx(F.Result,{status:"404",title:"404",subTitle:e("Sorry, the page you visited does not exist."),extra:d.jsx(Ii,{onClick:()=>t("/",{replace:!0}),color:"primary",fill:"solid",children:e("Back Home")})})},ml={name:"schema",type:"actionModal",useComponentProps(){const{resource:t,refresh:e,schemaResource:i}=ce(),n=V.useNavigate(),{t:r}=de(),{message:o}=F.App.useApp();return{isItem:!0,title:Z("Add page"),buttonText:Z("Page"),schema:nn(),onSubmit(l){return Q(this,null,function*(){if(!l.title||l.title.trim()==="")return o.error(r("Title field is required")),Promise.reject(new Error(r("Title field is required")));if(!l.icon)return o.error(r("Icon field is required")),Promise.reject(new Error(r("Icon field is required")));const h=ei.uid(),u=ei.uid(),p=`/page/${h}`,{data:y}=yield t.create({values:{type:"page",schemaUid:h,title:l.title,icon:l.icon}});yield i.insertAdjacent({resourceIndex:"mobile",position:"beforeEnd",values:Ka(h,u)});const c=y.data.id;yield t.create({values:{type:"tabs",parentId:c,title:"Unnamed",schemaUid:u}}),yield e(),n(p)})}}}},_r=new g.SchemaInitializer({name:"mobile:tab-bar",icon:"PlusOutlined",style:{marginRight:12},items:[ml,dl]}),bl=()=>{const{render:t}=g.useSchemaInitializerRender(_r.name);return t({"data-testid":"schema-initializer-MobileTabBar"})},St=({enableTabBar:t=!0})=>{const{styles:e}=y0(),{designable:i}=g.useDesignable(),{routeList:n,activeTabBarItem:r,resource:o,refresh:s}=ce(),l=n.filter(u=>{var p;return u.schemaUid||ol((p=u.options)==null?void 0:p.url)}),h=a.useCallback(u=>Q(this,null,function*(){const{active:p,over:y}=u,c=p==null?void 0:p.id,m=y==null?void 0:y.id;if(!c||!m||c===m)return;const f=Number(c.replace("nocobase-mobile.tabBar.","")),b=Number(m.replace("nocobase-mobile.tabBar.",""));yield o.move({sourceId:f,targetId:b,sortField:"sort"}),yield s()}),[o,s]);return!t||!r&&l.length>0?null:d.jsxs("div",{className:g.cx(e.mobileTabBar,"mobile-tab-bar"),"data-testid":"mobile-tab-bar",children:[d.jsxs("div",{className:e.mobileTabBarContent,children:[d.jsx(g.DndContext,{onDragEnd:h,children:d.jsx("div",{className:g.cx(e.mobileTabBarList,g.css({maxWidth:i?"calc(100% - 58px)":"100%"})),children:n.map(u=>d.jsx(g.SchemaComponent,{schema:al(u)},u.id))})}),d.jsx(bl,{})]}),d.jsx(ya,{position:"bottom"})]})};St.Item=tn,St.Link=ll,St.Page=ul;const gl=()=>{const{showTabBar:t}=en();return d.jsxs(_a,{children:[d.jsx(V.Outlet,{}),d.jsx(St,{enableTabBar:t})]})},S0=un.css`
|
|
338
|
-
.ant-table-cell {
|
|
339
|
-
> .ant-space-horizontal {
|
|
340
|
-
.ant-space-item-split:has(+ .ant-space-item:empty) {
|
|
341
|
-
display: none;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
`,vl=(t,e)=>t.map(i=>{const n=e(i.title);return i.children?R(B({},i),{title:n,children:vl(i.children,e)}):R(B({},i),{title:n})}),yl=t=>{if(!Array.isArray(t))return[];const e=[];for(const i of t)e.push(i.id),i.hideChildren&&!Ue.isNil(i.firstTabId)&&e.push(i.firstTabId),e.push(...yl(i.children));return e},wl=(t,e)=>Array.isArray(t)?t.map(i=>{var o;const n=wl(i.children,i),r=n.length<=1;return{title:i.title,id:i.id,children:r?null:n,hideChildren:r,firstTabId:(o=n[0])==null?void 0:o.id,parent:e}}):[],k0=({active:t})=>{const{routeList:e}=ce(),i=wl(e),{role:n,setRole:r}=a.useContext(Dr.RolesManagerContext),o=g.useAPIClient(),{t:s}=Je.useTranslation(),l=yl(i),[h,u]=a.useState([]),{loading:p,refresh:y}=g.useRequest({resource:"roles.mobileRoutes",resourceOf:n.name,action:"list",params:{paginate:!1}},{ready:!!n&&t,refreshDeps:[n==null?void 0:n.name],onSuccess(C){var S;u(((S=C==null?void 0:C.data)==null?void 0:S.map(w=>w.id))||[])}}),c=o.resource("roles.mobileRoutes",n.name),m=l.length===h.length,f=(C,S)=>Q(this,null,function*(){if(C){let w=h.filter(P=>P!==S.id);const k=[S.id];S.parent&&S.parent.children.filter(T=>w.includes(T.id)).length===0&&(w=w.filter(T=>T!==S.parent.id),k.push(S.parent.id)),S.children&&(w=w.filter(P=>!S.children.map(T=>T.id).includes(P)),k.push(...S.children.map(P=>P.id))),S.hideChildren&&!Ue.isNil(S.firstTabId)&&(k.push(S.firstTabId),w=w.filter(P=>P!==S.firstTabId)),u(w),yield c.remove({values:k})}else{const w=[...h,S.id],k=[S.id];if(S.parent&&(w.includes(S.parent.id)||(w.push(S.parent.id),k.push(S.parent.id))),S.children){const P=S.children.map(T=>T.id);w.push(...P),k.push(...P)}S.hideChildren&&!Ue.isNil(S.firstTabId)&&(k.push(S.firstTabId),w.push(S.firstTabId)),u(Ue.uniq(w)),yield c.add({values:k})}F.message.success(s("Saved successfully"))}),b=X.useMemoizedFn(C=>Q(this,null,function*(){yield o.resource("roles").update({filterByTk:n.name,values:C.values}),r(B(B({},n),C.values)),F.message.success(s("Saved successfully"))})),v=a.useMemo(()=>Zr.createForm({values:n,effects(){Zr.onFormValuesChange(C=>Q(this,null,function*(){yield b(C)}))}}),[n,b]);return d.jsxs(d.Fragment,{children:[d.jsx(g.SchemaComponent,{schema:{type:"void",name:ei.uid(),"x-component":"FormV2","x-component-props":{form:v},properties:{allowNewMobileMenu:{title:s("Menu permissions"),"x-decorator":"FormItem","x-component":"Checkbox","x-content":s("New menu items are allowed to be accessed by default.")}}}}),d.jsx(F.Table,{className:S0,loading:p,rowKey:"id",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:s("Menu item title")},{dataIndex:"accessible",title:d.jsxs(d.Fragment,{children:[d.jsx(F.Checkbox,{checked:m,onChange:C=>Q(this,null,function*(){m?yield c.set({values:[]}):yield c.set({values:l}),y(),F.message.success(s("Saved successfully"))})})," ",s("Accessible")]}),render:(C,S)=>{const w=h.includes(S.id);return d.jsx(F.Checkbox,{checked:w,onChange:()=>f(w,S)})}}],dataSource:vl(i,s)})]})},E0=({children:t,active:e})=>{const i=a.useRef(()=>{});return a.useEffect(()=>{var n;e&&((n=i.current)==null||n.call(i))},[e]),d.jsx(dr,{action:"list",refreshRef:i,manual:!0,children:t})},C0=()=>window.JsBridge,P0=(t,e)=>C0().invoke(t,e),xl={onBackPressed:()=>{history.length===1?P0({action:"moveTaskToBack"}):history.back()}};Object.keys(xl).forEach(t=>{window[t]=xl[t]});const M0=()=>{const t=g.useDesigner(),{token:e}=g.useToken(),i=a.useMemo(()=>({marginBottom:e.marginBlock}),[e.marginBlock]);return d.jsxs(g.SortableItem,{className:g.cx("nb-mobile-setting"),style:i,children:[d.jsx(t,{}),d.jsx(g.SettingsMenu,{})]})},T0=()=>{const t=g.useSchemaInitializerItem(),{insert:e}=g.useSchemaInitializer();return d.jsx(g.SchemaInitializerItem,B({icon:d.jsx(Lr.SettingOutlined,{}),onClick:()=>Q(this,null,function*(){e({type:"void","x-component":"MobileSettings","x-settings":"blockSettings:mobileSettings","x-component-props":{}})})},t))},_0=new g.SchemaSettings({name:"blockSettings:mobileSettings",items:[{name:"delete",type:"remove",useComponentProps(){const{t}=de();return{removeParentsIfNoChildren:!0,confirm:{title:t("Delete settings block")},breakRemoveOn:{"x-component":"Grid"}}}}]});class rn extends g.Plugin{constructor(){super(...arguments);Nr(this,"mobileRouter");Nr(this,"mobilePath","/m")}get desktopMode(){var i,n,r;return(r=(n=(i=this.options)==null?void 0:i.config)==null?void 0:n.desktopMode)!=null?r:!0}get mobileBasename(){return`${this.router.getBasename()}m`}updateOptions(i){return Q(this,null,function*(){var n;return this.options||(this.options={}),this.options.options=B(B({},(n=this.options)==null?void 0:n.options),i),this.app.apiClient.request({url:"applicationPlugins:update",method:"post",params:{filter:{packageName:Vr}},data:{options:this.options.options}})})}getPluginOptions(){var i;return(i=this.options)==null?void 0:i.options}afterAdd(){return Q(this,null,function*(){this.setMobileRouter()})}load(){return Q(this,null,function*(){this.addComponents(),this.addAppRoutes(),this.addRoutes(),this.addInitializers(),this.addSettings(),this.addScopes(),this.addPermissionsSettingsUI(),this.app.pluginSettingsManager.add("mobile",{title:Z("Mobile"),icon:"MobileOutlined",link:this.mobileBasename})})}addScopes(){this.app.addScopes({useMobileNavigationBarLink:Da})}addInitializers(){this.app.schemaInitializerManager.add(fr,_r,mr,yr)}addSettings(){this.app.schemaSettingsManager.add(xr,fl,cl,br,vr,_0)}addComponents(){this.app.addComponents({MobilePageProvider:Oa,MobileNavigationBarAction:wr,MobilePageNavigationBar:qa,MobileHomePage:hl,MobilePageContent:Ia,MobileTabBar:St,MobilePageHeader:pr,MobilePageTabs:za,MobileNavigationActionBar:Wa,MobileNotFoundPage:pl,MobileSettingsBlockInitializer:T0,MobileSettings:M0})}setMobileRouter(){var n,r;const i=g.createRouterManager(((r=(n=this.options)==null?void 0:n.config)==null?void 0:r.router)||{type:"browser",basename:this.mobileBasename},this.app);this.mobileRouter=i}addRoutes(){this.app.addComponents({MobileLayout:gl,MobilePage:Ma}),this.mobileRouter.add("mobile",{Component:"MobileLayout"}),this.mobileRouter.add("mobile.home",{path:"/",Component:"MobileHomePage"}),this.mobileRouter.add("signin",{path:"/signin",Component:()=>(window.location.href=window.location.href.replace(this.mobilePath+"/","/").replace("redirect=",`redirect=${this.mobilePath}`),null)}),this.mobileRouter.add("admin",{path:"/admin/*",Component:()=>(window.location.pathname.includes(`${this.mobilePath}/admin/`)&&window.location.replace(window.location.href.replace(this.mobilePath+"/","/")),null)}),this.mobileRouter.add("mobile.schema",{element:d.jsx(V.Outlet,{})}),this.mobileRouter.add("mobile.schema.page",{path:"/page/:pageSchemaUid",Component:"MobilePage"}),this.mobileRouter.add("mobile.schema.page.popup",{path:"/page/:pageSchemaUid/popups/*",Component:g.PagePopups}),this.mobileRouter.add("mobile.schema.tabs",{element:d.jsx(V.Outlet,{})}),this.mobileRouter.add("mobile.schema.tabs.page",{path:"/page/:pageSchemaUid/tabs/:tabSchemaUid",Component:"MobilePage"}),this.mobileRouter.add("mobile.schema.tabs.page.popup",{path:"/page/:pageSchemaUid/tabs/:tabSchemaUid/popups/*",Component:g.PagePopups}),this.mobileRouter.add("not-found",{path:"*",Component:"MobileNotFoundPage"})}addAppRoutes(){this.app.addComponents({Mobile:rl}),this.app.router.add("m",{path:`${this.mobilePath}/*`,Component:"Mobile"})}getRouterComponent(){return this.mobileRouter.getRouterComponent()}addPermissionsSettingsUI(){var i;(i=this.app.pm.get(Dr))==null||i.settingsUI.addPermissionsTab(({t:n,TabLayout:r,activeKey:o,currentUserRole:s})=>s&&(!s.snippets.includes("pm.mobile")&&!s.snippets.includes("pm.*")||s.snippets.includes("!pm.mobile"))?null:{key:"mobile-menu",label:n("Mobile menu",{ns:fn.name}),children:d.jsx(r,{children:d.jsx(E0,{active:o==="mobile-menu",children:d.jsx(k0,{active:o==="mobile-menu"})})})})}}x.ActionBarProvider=Z1,x.DesktopMode=il,x.DesktopModeContent=tl,x.DesktopModeHeader=Qa,x.Mobile=rl,x.MobileAppContext=Ri,x.MobileAppProvider=nl,x.MobileHomePage=hl,x.MobileLayout=gl,x.MobileNavigationActionBar=Wa,x.MobileNavigationBarAction=wr,x.MobileNotFoundPage=pl,x.MobilePage=Ma,x.MobilePageContent=Ia,x.MobilePageContentContainer=ur,x.MobilePageContext=Hi,x.MobilePageHeader=pr,x.MobilePageNavigationBar=qa,x.MobilePageProvider=Oa,x.MobilePageTabInitializer=Fa,x.MobilePageTabs=za,x.MobilePageTabsSettings=Ba,x.MobileProviders=_a,x.MobileRoutesContext=qi,x.MobileRoutesProvider=dr,x.MobileTabBar=St,x.MobileTabBarInitializer=bl,x.MobileTabBarItem=tn,x.MobileTabBarLink=ll,x.MobileTabBarPage=ul,x.MobileTitleContext=Wi,x.MobileTitleProvider=Ta,x.PluginMobileClient=rn,x.default=rn,x.editTabItemSettingsItem=Mr,x.getMobileNavigationBarLinkSchema=Za,x.getMobilePageContentSchema=Aa,x.getMobilePageSchema=Ka,x.getMobileTabBarItemSchema=al,x.getMobileTabBarItemSchemaFields=nn,x.getPageContentTabSchema=hr,x.mobileAddBlockInitializer=fr,x.mobileNavigationBarActionsInitializer=yr,x.mobileNavigationBarLinkInitializerItem=Va,x.mobileNavigationBarLinkSettings=vr,x.mobilePageHeaderSchema=Ha,x.mobilePageSettings=xr,x.mobilePageTabsSettings=br,x.mobilePagesTabInitializer=mr,x.mobileTabBarInitializer=_r,x.mobileTabBarLinkInitializerItem=dl,x.mobileTabBarLinkSettings=cl,x.mobileTabBarPageSettings=fl,x.mobileTabBarSchemaInitializerItem=ml,x.removeTabItemSettingsItem=Tr,x.useActionBarContext=Ua,x.useMobileApp=en,x.useMobileNavigationBarLink=Da,x.useMobilePage=Ki,x.useMobileRoutes=ce,x.useMobileTitle=cr,x.useStyles=gr,x.useUpdateTabBarItem=sl,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("react-i18next"),require("react-router-dom"),require("@formily/shared"),require("@formily/core"),require("lodash"),require("@nocobase/utils/client"),require("@nocobase/client"),require("@ant-design/icons"),require("@formily/react"),require("@emotion/css"),require("@nocobase/plugin-acl/client"),require("antd"),require("antd-style"),require("@formily/antd-v5"),require("ahooks")):"function"==typeof define&&define.amd?define("@nocobase/plugin-mobile",["react","react-dom","react-i18next","react-router-dom","@formily/shared","@formily/core","lodash","@nocobase/utils/client","@nocobase/client","@ant-design/icons","@formily/react","@emotion/css","@nocobase/plugin-acl/client","antd","antd-style","@formily/antd-v5","ahooks"],t):"object"==typeof exports?exports["@nocobase/plugin-mobile"]=t(require("react"),require("react-dom"),require("react-i18next"),require("react-router-dom"),require("@formily/shared"),require("@formily/core"),require("lodash"),require("@nocobase/utils/client"),require("@nocobase/client"),require("@ant-design/icons"),require("@formily/react"),require("@emotion/css"),require("@nocobase/plugin-acl/client"),require("antd"),require("antd-style"),require("@formily/antd-v5"),require("ahooks")):e["@nocobase/plugin-mobile"]=t(e.react,e["react-dom"],e["react-i18next"],e["react-router-dom"],e["@formily/shared"],e["@formily/core"],e.lodash,e["@nocobase/utils/client"],e["@nocobase/client"],e["@ant-design/icons"],e["@formily/react"],e["@emotion/css"],e["@nocobase/plugin-acl/client"],e.antd,e["antd-style"],e["@formily/antd-v5"],e.ahooks)}(self,function(e,t,n,r,i,o,a,l,s,c,u,d,f,p,m,h,b){return function(){var v={2730:function(e,t){"use strict";var n,r,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case a:case s:case l:case p:case m:return e;default:switch(e=e&&e.$$typeof){case d:case u:case f:case b:case h:case c:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference");t.isFragment=function(e){return g(e)===a}},5600:function(e,t,n){"use strict";e.exports=n(2730)},2414:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-auto-center {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: center;\n}\n.adm-auto-center-content {\n flex: 0 1 auto;\n}\n",""]),t.Z=a},9652:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-badge-wrapper {\n display: inline-block;\n position: relative;\n}\n.adm-badge {\n display: -webkit-inline-box;\n display: -webkit-inline-flex;\n display: -moz-inline-box;\n display: inline-flex;\n vertical-align: middle;\n box-sizing: content-box;\n border-radius: 100px;\n background-color: var(--color);\n --right: 0;\n --top: 0;\n --color: var(--adm-badge-color, var(--adm-color-highlight));\n}\n.adm-badge-content {\n color: var(--adm-color-text-light-solid);\n box-sizing: border-box;\n min-width: 8px;\n padding: 1px 4px;\n font-size: var(--adm-font-size-1);\n line-height: 12px;\n white-space: nowrap;\n font-weight: normal;\n text-align: center;\n}\n.adm-badge-fixed {\n position: absolute;\n right: var(--right);\n top: var(--top);\n transform: translate(50%, -50%);\n}\n.adm-badge-dot {\n min-width: 10px;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n}\n.adm-badge-bordered {\n border: solid 1px var(--adm-color-text-light-solid);\n}\n",""]),t.Z=a},5555:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-button {\n --color: var(--adm-color-text-light-solid);\n --text-color: var(--adm-button-text-color, var(--adm-color-text));\n --background-color: var(--adm-button-background-color, var(--adm-color-background));\n --border-radius: var(--adm-button-border-radius, 4px);\n --border-width: var(--adm-button-border-width, 1px);\n --border-style: var(--adm-button-border-style, solid);\n --border-color: var(--adm-button-border-color, var(--adm-color-border));\n color: var(--text-color);\n background-color: var(--background-color);\n position: relative;\n display: inline-block;\n box-sizing: border-box;\n height: auto;\n padding: 7px 12px;\n margin: 0;\n font-size: var(--adm-font-size-9);\n line-height: 1.4;\n text-align: center;\n border: var(--border-width) var(--border-style) var(--border-color);\n border-radius: var(--border-radius);\n cursor: pointer;\n transition: opacity ease 0.15s;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.adm-button:focus {\n outline: none;\n}\n.adm-button::before {\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(-webkit-calc(var(--border-width) * -1), -webkit-calc(var(--border-width) * -1));\n transform: translate(-moz-calc(var(--border-width) * -1), -moz-calc(var(--border-width) * -1));\n transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));\n width: 100%;\n height: 100%;\n background-color: var(--adm-color-text-dark-solid);\n border: var(--border-width) var(--border-style) var(--adm-color-text-dark-solid);\n border-radius: var(--border-radius);\n opacity: 0;\n content: ' ';\n box-sizing: content-box;\n}\n.adm-button:active::before {\n opacity: 0.08;\n}\n.adm-button-default.adm-button-fill-outline {\n --background-color: transparent;\n --border-color: var(--adm-color-text);\n}\n.adm-button-default.adm-button-fill-none {\n --background-color: transparent;\n --border-width: 0px;\n}\n.adm-button:not(.adm-button-default) {\n --text-color: var(--adm-color-text-light-solid);\n --background-color: var(--color);\n --border-color: var(--color);\n}\n.adm-button:not(.adm-button-default).adm-button-fill-outline {\n --text-color: var(--color);\n --background-color: transparent;\n}\n.adm-button:not(.adm-button-default).adm-button-fill-none {\n --text-color: var(--color);\n --background-color: transparent;\n --border-width: 0px;\n}\n.adm-button-primary {\n --color: var(--adm-color-primary);\n}\n.adm-button-success {\n --color: var(--adm-color-success);\n}\n.adm-button-danger {\n --color: var(--adm-color-danger);\n}\n.adm-button-warning {\n --color: var(--adm-color-warning);\n}\n.adm-button-block {\n display: block;\n width: 100%;\n}\n.adm-button-disabled {\n cursor: not-allowed;\n opacity: 0.4;\n}\n.adm-button-disabled:active::before {\n display: none;\n}\n.adm-button.adm-button-mini {\n padding-top: 3px;\n padding-bottom: 3px;\n font-size: var(--adm-font-size-main);\n}\n.adm-button.adm-button-mini.adm-button-shape-rounded {\n padding-left: 9px;\n padding-right: 9px;\n}\n.adm-button.adm-button-small {\n padding-top: 3px;\n padding-bottom: 3px;\n font-size: var(--adm-font-size-7);\n}\n.adm-button.adm-button-large {\n padding-top: 11px;\n padding-bottom: 11px;\n font-size: var(--adm-font-size-10);\n}\n.adm-button.adm-button-shape-rounded {\n --border-radius: 1000px;\n}\n.adm-button.adm-button-shape-rectangular {\n --border-radius: 0;\n}\n.adm-button-loading {\n vertical-align: bottom;\n}\n.adm-button-loading-wrapper {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n height: 1.4em;\n align-items: center;\n justify-content: center;\n}\n.adm-button-loading-wrapper > .adm-loading {\n opacity: 0.6;\n}\n",""]),t.Z=a},2680:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-center-popup {\n --background-color: var(--adm-center-popup-background-color, var(--adm-color-background));\n --border-radius: var(--adm-center-popup-border-radius, 8px);\n --max-width: var(--adm-center-popup-max-width, 75vw);\n --min-width: var(--adm-center-popup-min-width, 280px);\n --z-index: var(--adm-center-popup-z-index, 1000);\n position: fixed;\n z-index: var(--z-index);\n}\n.adm-center-popup .adm-center-popup-mask {\n z-index: 0;\n}\n.adm-center-popup-wrap {\n position: fixed;\n z-index: 1;\n top: 50%;\n left: 50%;\n width: auto;\n min-width: var(--min-width);\n max-width: var(--max-width);\n transform: translate(-50%, -50%);\n}\n.adm-center-popup-body {\n background-color: var(--background-color);\n border-radius: var(--border-radius);\n}\n.adm-center-popup-close {\n position: absolute;\n z-index: 100;\n right: 8px;\n top: 8px;\n cursor: pointer;\n padding: 4px;\n font-size: 18px;\n color: var(--adm-color-weak);\n}\n",""]),t.Z=a},442:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-check-list-item-extra {\n font-size: var(--adm-font-size-10);\n line-height: 1;\n color: var(--adm-color-primary);\n}\n.adm-check-list-item-readonly {\n cursor: inherit;\n}\n",""]),t.Z=a},4594:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,"",""]),t.Z=a},2231:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-dialog {\n --z-index: var(--adm-dialog-z-index, 1000);\n ---z-index: var(--z-index);\n}\n.adm-dialog .adm-center-popup {\n --z-index: var(---z-index);\n}\n.adm-dialog-body {\n width: 100%;\n max-height: 70vh;\n font-size: var(--adm-font-size-6);\n overflow: hidden;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-direction: column;\n}\n.adm-dialog-body > * {\n flex: none;\n}\n.adm-dialog-body > .adm-dialog-content {\n flex: auto;\n}\n.adm-dialog-body:not(.adm-dialog-with-image) {\n padding-top: 20px;\n}\n.adm-dialog-image-container {\n margin-bottom: 12px;\n max-height: 40vh;\n}\n.adm-dialog-header {\n margin-bottom: 8px;\n padding: 0 12px;\n}\n.adm-dialog-title {\n margin-bottom: 8px;\n padding: 0 12px;\n font-weight: bold;\n font-size: var(--adm-font-size-10);\n line-height: 25px;\n text-align: center;\n}\n.adm-dialog-content {\n padding: 0 12px 20px;\n max-height: 70vh;\n overflow-x: hidden;\n overflow-y: auto;\n font-size: var(--adm-font-size-7);\n line-height: 1.4;\n color: var(--adm-color-text);\n}\n.adm-dialog-content-empty {\n padding: 0;\n height: 12px;\n}\n.adm-dialog-footer {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.adm-dialog-footer .adm-dialog-action-row {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: stretch;\n border-top: 0.5px solid var(--adm-color-border);\n}\n.adm-dialog-footer .adm-dialog-action-row > * {\n flex: 1;\n}\n.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {\n padding: 10px;\n font-size: var(--adm-font-size-10);\n line-height: 25px;\n border-radius: 0;\n border-right: solid 0.5px var(--adm-color-border);\n}\n.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {\n font-weight: bold;\n}\n.adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {\n border-right: none;\n}\n.adm-dialog-image-container {\n overflow-y: auto;\n}\n",""]),t.Z=a},1155:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-dot-loading {\n display: inline-block;\n}\n",""]),t.Z=a},3394:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-error-block {\n --color: var(--adm-color-text);\n --image-height: var(--adm-error-block-image-height, 100px);\n --image-height-full-page: var(--adm-error-block-image-height-full-page, 200px);\n --image-width: var(--adm-error-block-image-width, auto);\n --image-width-full-page: var(--adm-error-block-image-width-full-page, auto);\n box-sizing: border-box;\n text-align: center;\n}\n.adm-error-block-image {\n height: var(--image-height);\n width: var(--image-width);\n max-width: 100%;\n}\n.adm-error-block-image svg,\n.adm-error-block-image img {\n height: 100%;\n}\n.adm-error-block-description {\n font-size: var(--adm-font-size-4);\n color: var(--adm-color-weak);\n line-height: 1.4;\n margin-top: 12px;\n}\n.adm-error-block-description-title {\n font-size: var(--adm-font-size-7);\n}\n.adm-error-block-description-subtitle {\n margin-top: 8px;\n}\n.adm-error-block-content {\n margin-top: 12px;\n}\n.adm-error-block-full-page {\n padding-top: -webkit-calc(50vh - var(--image-height-full-page));\n padding-top: -moz-calc(50vh - var(--image-height-full-page));\n padding-top: calc(50vh - var(--image-height-full-page));\n}\n.adm-error-block-full-page .adm-error-block-image {\n height: var(--image-height-full-page);\n width: var(--image-width-full-page);\n}\n.adm-error-block-full-page .adm-error-block-description {\n margin-top: 20px;\n font-size: var(--adm-font-size-main);\n}\n.adm-error-block-full-page .adm-error-block-description-title {\n font-size: 20px;\n color: var(--adm-color-text);\n}\n",""]),t.Z=a},1581:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-image {\n --width: var(--adm-image-width, auto);\n --height: var(--adm-image-height, auto);\n width: var(--width);\n height: var(--height);\n display: block;\n overflow: hidden;\n}\n.adm-image-img {\n width: 100%;\n height: 100%;\n}\n.adm-image-tip {\n position: relative;\n background-color: var(--adm-color-fill-content);\n height: 100%;\n min-height: 24px;\n min-width: 24px;\n}\n.adm-image-tip > svg {\n width: 24px;\n height: 24px;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n color: var(--adm-color-weak);\n}\n",""]),t.Z=a},4578:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-input {\n --font-size: var(--adm-font-size-9);\n --color: var(--adm-color-text);\n --placeholder-color: var(--adm-color-light);\n --text-align: left;\n --background-color: transparent;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n min-height: 24px;\n background-color: var(--background-color);\n}\n.adm-input-disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n.adm-input-element {\n flex: auto;\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n padding: 0;\n margin: 0;\n color: var(--color);\n font-size: var(--font-size);\n line-height: 1.5;\n background: transparent;\n border: 0;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n min-height: 1.5em;\n text-align: var(--text-align);\n}\n.adm-input-element::-moz-placeholder {\n color: var(--placeholder-color);\n font-family: inherit;\n}\n.adm-input-element::placeholder {\n color: var(--placeholder-color);\n font-family: inherit;\n}\n.adm-input-element:-webkit-autofill {\n background-color: transparent;\n}\n.adm-input-element:-moz-read-only {\n cursor: default;\n}\n.adm-input-element:read-only {\n cursor: default;\n}\n.adm-input-element:invalid {\n box-shadow: none;\n}\n.adm-input-element::-ms-clear {\n display: none;\n}\n.adm-input-element::-ms-reveal {\n display: none;\n}\n.adm-input-element::-webkit-search-cancel-button {\n display: none;\n}\n.adm-input-element::-webkit-search-decoration {\n display: none;\n}\n.adm-input-element:disabled {\n opacity: 1;\n}\n.adm-input-element[type='date'],\n.adm-input-element[type='time'],\n.adm-input-element[type='datetime-local'] {\n min-height: 1.5em;\n}\n.adm-input-element[type='search'] {\n -webkit-appearance: none;\n}\n.adm-input-element[readonly] {\n pointer-events: none;\n}\n.adm-input-clear {\n flex: none;\n margin-left: 8px;\n color: var(--adm-color-light);\n padding: 4px;\n cursor: pointer;\n}\n.adm-input-clear:active {\n color: var(--adm-color-weak);\n}\n.adm-input-clear .antd-mobile-icon {\n display: block;\n font-size: var(--adm-font-size-7);\n}\n",""]),t.Z=a},4059:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-list {\n --header-font-size: var(--adm-font-size-7);\n --prefix-width: 'auto';\n --prefix-padding-right: 12px;\n --align-items: center;\n --active-background-color: var(--adm-color-border);\n --border-inner: solid 1px var(--adm-color-border);\n --border-top: solid 1px var(--adm-color-border);\n --border-bottom: solid 1px var(--adm-color-border);\n --padding-left: 12px;\n --padding-right: 12px;\n --font-size: var(--adm-font-size-9);\n --extra-max-width: 70%;\n}\n.adm-list-header {\n color: var(--adm-color-weak);\n font-size: var(--header-font-size);\n padding: 8px var(--padding-right) 8px var(--padding-left);\n}\n.adm-list-body {\n background-color: var(--adm-color-background);\n overflow: hidden;\n font-size: var(--font-size);\n}\n.adm-list-body-inner {\n margin-top: -1px;\n}\n.adm-list-default .adm-list-body {\n border-top: var(--border-top);\n border-bottom: var(--border-bottom);\n}\n.adm-list-card {\n margin: 12px;\n}\n.adm-list-card .adm-list-body {\n border-radius: 8px;\n}\n.adm-list-card .adm-list-header {\n padding-left: 0;\n}\n.adm-list-item {\n display: block;\n padding-left: var(--padding-left);\n position: relative;\n background-color: var(--adm-color-background);\n line-height: 1.5;\n}\n.adm-list-item-title,\n.adm-list-item-description {\n color: var(--adm-color-weak);\n font-size: var(--adm-font-size-main);\n}\n.adm-list-item-content {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: var(--align-items);\n justify-content: flex-start;\n border-top: var(--border-inner);\n padding-right: var(--padding-right);\n}\n.adm-list-item-content-prefix {\n width: var(--prefix-width);\n flex: none;\n padding-right: var(--prefix-padding-right);\n}\n.adm-list-item-content-main {\n flex: auto;\n padding: 12px 0;\n}\n.adm-list-item-content-extra {\n flex: none;\n padding-left: 12px;\n font-size: var(--adm-font-size-7);\n color: var(--adm-color-weak);\n max-width: var(--extra-max-width);\n}\n.adm-list-item-content-arrow {\n flex: none;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: center;\n margin-left: 4px;\n color: var(--adm-color-light);\n font-size: 19px;\n}\n.adm-list-item-disabled {\n cursor: not-allowed;\n}\n.adm-list-item-disabled.adm-list-item-disabled > .adm-list-item-content > * {\n opacity: 0.4;\n pointer-events: none;\n}\na.adm-list-item:active:not(.adm-list-item-disabled) {\n background-color: var(--active-background-color);\n}\na.adm-list-item:active:not(.adm-list-item-disabled)::after {\n content: ' ';\n display: block;\n position: absolute;\n width: 100%;\n bottom: -1px;\n left: 0;\n border-bottom: var(--border-inner);\n}\n",""]),t.Z=a},5546:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-mask {\n --z-index: var(--adm-mask-z-index, 1000);\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--z-index);\n display: block;\n width: 100%;\n height: 100%;\n}\n.adm-mask-aria-button {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n.adm-mask-content {\n z-index: 1;\n}\n",""]),t.Z=a},2266:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-nav-bar {\n --height: 45px;\n --border-bottom: none;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: center;\n height: var(--height);\n border-bottom: var(--border-bottom);\n padding: 0 12px;\n white-space: nowrap;\n}\n.adm-nav-bar-left,\n.adm-nav-bar-right {\n flex: 1;\n}\n.adm-nav-bar-title {\n flex: auto;\n text-align: center;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.adm-nav-bar-back {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: center;\n margin-right: 16px;\n padding: 6px 0;\n cursor: pointer;\n}\n.adm-nav-bar-back-arrow {\n font-size: 24px;\n margin-right: 4px;\n}\n.adm-nav-bar-left {\n font-size: var(--adm-font-size-7);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n}\n.adm-nav-bar-title {\n justify-content: center;\n white-space: nowrap;\n font-size: var(--adm-font-size-10);\n padding: 0 12px;\n}\n.adm-nav-bar-right {\n text-align: right;\n}\n",""]),t.Z=a},7140:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-picker-view {\n --height: 240px;\n --item-height: 34px;\n --item-font-size: var(--adm-font-size-8);\n height: var(--height);\n width: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n position: relative;\n overflow: hidden;\n background: var(--adm-color-background);\n}\n.adm-picker-view-column {\n height: 100%;\n flex: 1;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n touch-action: none;\n position: relative;\n z-index: 0;\n}\n.adm-picker-view-column-wheel {\n width: 100%;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n position: absolute;\n top: -webkit-calc(50% - var(--item-height) / 2);\n top: -moz-calc(50% - var(--item-height) / 2);\n top: calc(50% - var(--item-height) / 2);\n left: 0;\n}\n.adm-picker-view-column-wheel::before {\n content: ' ';\n display: block;\n position: absolute;\n width: 100%;\n height: 100vh;\n top: -100vh;\n}\n.adm-picker-view-column-wheel::after {\n content: ' ';\n display: block;\n position: absolute;\n width: 100%;\n height: 100vh;\n bottom: -100vh;\n}\n.adm-picker-view-column-item {\n font-size: var(--item-font-size);\n padding: 0 6px;\n height: var(--item-height);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.adm-picker-view-column-item-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.adm-picker-view-column-accessible {\n width: 100%;\n height: 100%;\n pointer-events: none;\n opacity: 0;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-direction: column;\n position: relative;\n top: -webkit-calc(var(--item-height) * -1);\n top: -moz-calc(var(--item-height) * -1);\n top: calc(var(--item-height) * -1);\n z-index: 0;\n padding-bottom: 1px;\n}\n.adm-picker-view-column-accessible > * {\n flex: 1;\n text-overflow: ellipsis;\n}\n.adm-picker-view-column-accessible-current {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.adm-picker-view-column-accessible-button {\n width: 100%;\n height: 100%;\n}\n.adm-picker-view-mask {\n position: absolute;\n z-index: 10000;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-direction: column;\n pointer-events: none;\n}\n.adm-picker-view-mask-top,\n.adm-picker-view-mask-bottom {\n flex: auto;\n}\n.adm-picker-view-mask-middle {\n height: var(--item-height);\n box-sizing: border-box;\n flex: none;\n border-top: solid 1px var(--adm-color-border);\n border-bottom: solid 1px var(--adm-color-border);\n}\n.adm-picker-view-mask-top {\n background: var(--adm-color-background);\n -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 50%, #000000 100%);\n mask: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), color-stop(50%, rgba(0, 0, 0, 0.8)), to(#000000));\n mask: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 50%, #000000 100%);\n}\n.adm-picker-view-mask-bottom {\n background: var(--adm-color-background);\n -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 50%, #000000 100%);\n mask: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), color-stop(50%, rgba(0, 0, 0, 0.8)), to(#000000));\n mask: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 50%, #000000 100%);\n}\n.adm-picker-view-loading-content {\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.adm-picker-view-item-height-measure {\n position: relative;\n left: 0;\n top: 0;\n height: var(--item-height);\n width: 0;\n pointer-events: none;\n}\n",""]),t.Z=a},2776:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-picker {\n --header-button-font-size: var(--adm-font-size-7);\n --title-font-size: var(--adm-font-size-7);\n --item-font-size: var(--adm-font-size-8);\n --item-height: 34px;\n width: 100%;\n height: 300px;\n overflow: hidden;\n position: relative;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-direction: column;\n ---item-font-size: var(--item-font-size);\n ---item-height: var(--item-height);\n}\n.adm-picker .adm-picker-view.adm-picker-view {\n --item-font-size: var(---item-font-size);\n --item-height: var(---item-height);\n}\n.adm-picker-header {\n flex-shrink: 0;\n border-bottom: solid 1px var(--adm-color-border);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 4px 4px;\n}\n.adm-picker-header-button {\n font-size: var(--header-button-font-size);\n display: inline-block;\n padding: 8px 8px;\n}\n.adm-picker-header-button-disabled,\n.adm-picker-header-button-disabled:active {\n opacity: 0.4;\n cursor: not-allowed;\n}\n.adm-picker-header-title {\n padding: 4px 4px;\n font-size: var(--title-font-size);\n color: var(--adm-color-text);\n text-align: center;\n flex: 1;\n}\n.adm-picker-body {\n flex: 1;\n width: 100%;\n height: 100%;\n}\n.adm-picker-body > .adm-picker-view {\n --height: 100%;\n}\n.adm-picker-popup .adm-popup-body {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n",""]),t.Z=a},332:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-popup {\n --z-index: var(--adm-popup-z-index, 1000);\n position: fixed;\n z-index: var(--z-index);\n}\n.adm-popup-body {\n position: fixed;\n background-color: var(--adm-color-background);\n z-index: -webkit-calc(var(--z-index) + 10);\n z-index: -moz-calc(var(--z-index) + 10);\n z-index: calc(var(--z-index) + 10);\n}\n.adm-popup-body .adm-popup-close-icon {\n position: absolute;\n z-index: 100;\n}\n.adm-popup-body-position-bottom {\n width: 100%;\n bottom: 0;\n left: 0;\n}\n.adm-popup-body-position-bottom .adm-popup-close-icon {\n right: 8px;\n top: 8px;\n}\n.adm-popup-body-position-top {\n width: 100%;\n top: 0;\n left: 0;\n}\n.adm-popup-body-position-top .adm-popup-close-icon {\n right: 8px;\n bottom: 8px;\n}\n.adm-popup-body-position-left {\n height: 100%;\n top: 0;\n left: 0;\n}\n.adm-popup-body-position-left .adm-popup-close-icon {\n right: 8px;\n top: 8px;\n}\n.adm-popup-body-position-right {\n height: 100%;\n top: 0;\n right: 0;\n}\n.adm-popup-body-position-right .adm-popup-close-icon {\n left: 8px;\n top: 8px;\n}\n.adm-popup-close-icon {\n cursor: pointer;\n padding: 4px;\n font-size: 18px;\n line-height: 1;\n color: var(--adm-color-weak);\n}\n",""]),t.Z=a},749:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-safe-area {\n --multiple: var(--adm-safe-area-multiple, 1);\n display: block;\n width: 100%;\n}\n.adm-safe-area-position-top {\n padding-top: -webkit-calc(env(safe-area-inset-top) * var(--multiple));\n padding-top: -moz-calc(env(safe-area-inset-top) * var(--multiple));\n padding-top: calc(env(safe-area-inset-top) * var(--multiple));\n}\n.adm-safe-area-position-bottom {\n padding-bottom: -webkit-calc(env(safe-area-inset-bottom) * var(--multiple));\n padding-bottom: -moz-calc(env(safe-area-inset-bottom) * var(--multiple));\n padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));\n}\n",""]),t.Z=a},2793:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-search-bar {\n --height: 32px;\n --padding-left: 8px;\n --background: var(--adm-color-fill-content);\n --border-radius: 6px;\n --placeholder-color: var(--adm-color-weak);\n ---placeholder-color: var(--placeholder-color);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: center;\n align-items: center;\n height: var(--height);\n}\n.adm-search-bar .adm-search-bar-input-box {\n flex: auto;\n background: var(--background);\n border-radius: var(--border-radius);\n border: solid 1px transparent;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: var(--padding-left);\n}\n.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input-box-icon {\n flex: none;\n color: var(--adm-color-light);\n font-size: var(--adm-font-size-8);\n}\n.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input {\n flex: auto;\n padding: 4px 8px 4px 4px;\n height: -webkit-calc(var(--height) - 2px);\n height: -moz-calc(var(--height) - 2px);\n height: calc(var(--height) - 2px);\n box-sizing: border-box;\n}\n.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-input {\n --placeholder-color: var(---placeholder-color);\n --font-size: var(--adm-font-size-7);\n}\n.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input .adm-input-element {\n line-height: 19px;\n}\n.adm-search-bar .adm-search-bar-input-box .adm-search-bar-input.adm-search-bar-input-without-icon {\n padding-left: 8px;\n}\n.adm-search-bar .adm-search-bar-suffix {\n flex: none;\n margin-left: 4px;\n}\n.adm-search-bar .adm-search-bar-cancel-button.adm-button {\n padding: 3px 12px;\n}\n.adm-search-bar-active .adm-input.adm-input.adm-input {\n --placeholder-color: var(--adm-color-light);\n}\n.adm-search-bar-active .adm-search-bar-input-box {\n border-color: var(--adm-color-primary);\n background: var(--adm-color-background);\n}\n",""]),t.Z=a},9013:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-space-item {\n flex: none;\n}\n.adm-space {\n display: -webkit-inline-box;\n display: -webkit-inline-flex;\n display: -moz-inline-box;\n display: inline-flex;\n --gap: 8px;\n --gap-vertical: var(--gap);\n --gap-horizontal: var(--gap);\n}\n.adm-space-vertical {\n flex-direction: column;\n}\n.adm-space-vertical > .adm-space-item {\n margin-bottom: var(--gap-vertical);\n}\n.adm-space-vertical > .adm-space-item:last-child {\n margin-bottom: 0;\n}\n.adm-space-horizontal {\n flex-direction: row;\n}\n.adm-space-horizontal > .adm-space-item {\n margin-right: var(--gap-horizontal);\n}\n.adm-space-horizontal > .adm-space-item:last-child {\n margin-right: 0;\n}\n.adm-space-horizontal.adm-space-wrap {\n flex-wrap: wrap;\n margin-bottom: -webkit-calc(var(--gap-vertical) * -1);\n margin-bottom: -moz-calc(var(--gap-vertical) * -1);\n margin-bottom: calc(var(--gap-vertical) * -1);\n}\n.adm-space-horizontal.adm-space-wrap > .adm-space-item {\n padding-bottom: var(--gap-vertical);\n}\n.adm-space.adm-space-block {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n}\n.adm-space-align-center {\n align-items: center;\n}\n.adm-space-align-start {\n align-items: flex-start;\n}\n.adm-space-align-end {\n align-items: flex-end;\n}\n.adm-space-align-baseline {\n align-items: baseline;\n}\n.adm-space-justify-center {\n justify-content: center;\n}\n.adm-space-justify-start {\n justify-content: flex-start;\n}\n.adm-space-justify-end {\n justify-content: flex-end;\n}\n.adm-space-justify-between {\n justify-content: space-between;\n}\n.adm-space-justify-around {\n justify-content: space-around;\n}\n.adm-space-justify-evenly {\n justify-content: space-evenly;\n}\n.adm-space-justify-stretch {\n justify-content: stretch;\n}\n",""]),t.Z=a},9035:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-spin-loading {\n --color: var(--adm-color-weak);\n --size: 32px;\n width: var(--size);\n height: var(--size);\n}\n.adm-spin-loading-svg {\n width: 100%;\n height: 100%;\n animation: adm-spin-loading-rotate 0.8s infinite linear;\n}\n.adm-spin-loading-svg > .adm-spin-loading-fill {\n stroke: var(--color);\n}\n@keyframes adm-spin-loading-rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n",""]),t.Z=a},8663:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-tab-bar-wrap {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: stretch;\n overflow: hidden;\n min-height: 48px;\n}\n.adm-tab-bar-item {\n flex: 1;\n color: var(--adm-color-text-secondary);\n white-space: nowrap;\n padding: 4px 8px;\n width: -moz-min-content;\n width: -webkit-min-content;\n width: min-content;\n position: relative;\n cursor: pointer;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n}\n.adm-tab-bar-item-icon {\n font-size: 24px;\n height: 24px;\n line-height: 1;\n}\n.adm-tab-bar-item-title {\n font-size: var(--adm-font-size-2);\n line-height: 15px;\n}\n.adm-tab-bar-item-title-with-icon {\n margin-top: 2px;\n}\n.adm-tab-bar-item-active {\n color: var(--adm-color-primary);\n}\n.adm-tab-bar-icon-badge {\n --top: 6px;\n}\n.adm-tab-bar-title-badge {\n --right: -2px;\n --top: -2px;\n}\n",""]),t.Z=a},7902:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,".adm-tabs {\n --title-font-size: var(--adm-font-size-9);\n --content-padding: 12px;\n --active-line-height: 2px;\n --active-line-border-radius: var(--active-line-height);\n --active-line-color: var(--adm-color-primary);\n --active-title-color: var(--adm-color-primary);\n position: relative;\n min-width: 0;\n}\n.adm-tabs-header {\n position: relative;\n border-bottom: solid 1px var(--adm-color-border);\n}\n.adm-tabs-tab-list {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n overflow-x: scroll;\n scrollbar-width: none;\n}\n.adm-tabs-tab-list::-webkit-scrollbar {\n display: none;\n}\n.adm-tabs-tab-wrapper {\n padding: 0 12px;\n}\n.adm-tabs-tab-wrapper-stretch {\n flex: auto;\n}\n.adm-tabs-tab {\n white-space: nowrap;\n padding: 8px 0 10px;\n width: -moz-min-content;\n width: -webkit-min-content;\n width: min-content;\n margin: 0 auto;\n font-size: var(--title-font-size);\n position: relative;\n cursor: pointer;\n}\n.adm-tabs-tab-active {\n color: var(--active-title-color);\n}\n.adm-tabs-tab-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.adm-tabs-tab-line {\n position: absolute;\n bottom: 0;\n height: var(--active-line-height);\n background: var(--active-line-color);\n border-radius: var(--active-line-border-radius);\n}\n.adm-tabs-content {\n padding: var(--content-padding);\n}\n.adm-tabs-header-mask {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n width: 30px;\n height: 100%;\n pointer-events: none;\n}\n.adm-tabs-header-mask-left {\n left: 0;\n background: -webkit-gradient(linear, left top, right top, from(var(--adm-color-background)), to(rgba(255, 255, 255, 0)));\n background: -webkit-linear-gradient(left, var(--adm-color-background), rgba(255, 255, 255, 0));\n background: -moz-linear-gradient(left, var(--adm-color-background), rgba(255, 255, 255, 0));\n background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));\n}\n.adm-tabs-header-mask-right {\n right: 0;\n background: -webkit-gradient(linear, right top, left top, from(var(--adm-color-background)), to(rgba(255, 255, 255, 0)));\n background: -webkit-linear-gradient(right, var(--adm-color-background), rgba(255, 255, 255, 0));\n background: -moz-linear-gradient(right, var(--adm-color-background), rgba(255, 255, 255, 0));\n background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));\n}\n",""]),t.Z=a},9046:function(e,t,n){"use strict";var r=n(8046),i=n.n(r),o=n(7758),a=n.n(o)()(i());a.push([e.id,":root {\n --adm-radius-s: 4px;\n --adm-radius-m: 8px;\n --adm-radius-l: 12px;\n --adm-font-size-1: 9px;\n --adm-font-size-2: 10px;\n --adm-font-size-3: 11px;\n --adm-font-size-4: 12px;\n --adm-font-size-5: 13px;\n --adm-font-size-6: 14px;\n --adm-font-size-7: 15px;\n --adm-font-size-8: 16px;\n --adm-font-size-9: 17px;\n --adm-font-size-10: 18px;\n --adm-color-primary: #1677ff;\n --adm-color-success: #00b578;\n --adm-color-warning: #ff8f1f;\n --adm-color-danger: #ff3141;\n --adm-color-yellow: #ff9f18;\n --adm-color-orange: #ff6430;\n --adm-color-wathet: #e7f1ff;\n --adm-color-text: #333333;\n --adm-color-text-secondary: #666666;\n --adm-color-weak: #999999;\n --adm-color-light: #cccccc;\n --adm-color-border: #eeeeee;\n --adm-color-background: #ffffff;\n --adm-color-highlight: var(--adm-color-danger);\n --adm-color-white: #ffffff;\n --adm-color-box: #f5f5f5;\n --adm-color-text-light-solid: var(--adm-color-white);\n --adm-color-text-dark-solid: #000000;\n --adm-color-fill-content: var(--adm-color-box);\n --adm-font-size-main: var(--adm-font-size-5);\n --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',\n helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',\n 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;\n --adm-border-color: var(--adm-color-border);\n}\nhtml[data-prefers-color-scheme='dark'] {\n --adm-color-primary: #3086ff;\n --adm-color-success: #34b368;\n --adm-color-warning: #ffa930;\n --adm-color-danger: #ff4a58;\n --adm-color-yellow: #ffa930;\n --adm-color-orange: #e65a2b;\n --adm-color-wathet: #0d2543;\n --adm-color-text: #e6e6e6;\n --adm-color-text-secondary: #b3b3b3;\n --adm-color-weak: #808080;\n --adm-color-light: #4d4d4d;\n --adm-color-border: #2b2b2b;\n --adm-color-box: #0a0a0a;\n --adm-color-background: #1a1a1a;\n --adm-color-background-body: var(--adm-color-background);\n --adm-border-color: var(--adm-color-border);\n}\n:root {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nhtml {\n background-color: var(--adm-color-background-body);\n}\nbody {\n color: #333333;\n color: var(--adm-color-text);\n font-size: 13px;\n font-size: var(--adm-font-size-main);\n font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',\n helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',\n 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;\n font-family: var(--adm-font-family);\n}\na,\nbutton {\n cursor: pointer;\n}\na {\n color: #1677ff;\n color: var(--adm-color-primary);\n transition: opacity ease-in-out 0.2s;\n}\na:active {\n opacity: 0.8;\n}\n.adm-plain-anchor {\n color: inherit;\n transition: none;\n}\n.adm-plain-anchor:active {\n opacity: 1;\n opacity: initial;\n}\nbody.adm-overflow-hidden {\n overflow: hidden !important;\n}\ndiv.adm-px-tester {\n --size: 1;\n height: -webkit-calc(var(--size) / 2 * 2px);\n height: -moz-calc(var(--size) / 2 * 2px);\n height: calc(var(--size) / 2 * 2px);\n width: 0;\n position: fixed;\n left: -100vw;\n top: -100vh;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n pointer-events: none;\n}\n",""]),t.Z=a},7758:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);if(!r||!a[u[0]])void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u)}},t}},8046:function(e){"use strict";e.exports=function(e){return e[1]}},6436:function(e){var t,n;t=0,n=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",l="year",s="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p="en",m={};m[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var h="$isDayjsObject",b=function(e){return e instanceof w||!(!e||!e[h])},v=function e(t,n,r){var i;if(!t)return p;if("string"==typeof t){var o=t.toLowerCase();m[o]&&(i=o),n&&(m[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var l=t.name;m[l]=t,i=l}return!r&&i&&(p=i),i||!r&&p},g=function(e,t){if(b(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},y={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,l=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-l:l-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:o,y:l,w:i,d:"day",D:s,h:r,m:n,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=v,y.i=b,y.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function f(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[h]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(u);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return y},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(e,t){var n=g(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return g(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<g(e)},p.$g=function(e,t,n){return y.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var c=this,u=!!y.u(a)||a,d=y.p(e),f=function(e,t){var n=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?n:n.endOf("day")},p=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},m=this.$W,h=this.$M,b=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case l:return u?f(1,0):f(31,11);case o:return u?f(1,h):f(0,h+1);case i:var g=this.$locale().weekStart||0,w=(m<g?m+7:m)-g;return f(u?b-w:b+(6-w),h);case"day":case s:return p(v+"Hours",0);case r:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case t:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(i,a){var c,u=y.p(i),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[s]=d+"Date",c[o]=d+"Month",c[l]=d+"FullYear",c[r]=d+"Hours",c[n]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],p="day"===u?this.$D+(a-this.$W):a;if(u===o||u===l){var m=this.clone().set(s,1);m.$d[f](p),m.init(),this.$d=m.set(s,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[y.p(e)]()},p.add=function(e,a){var s,c=this;e=Number(e);var u=y.p(a),d=function(t){var n=g(c);return y.w(n.date(n.date()+Math.round(t*e)),c)};if(u===o)return this.set(o,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return d(1);if(u===i)return d(7);var f=((s={})[n]=6e4,s[r]=36e5,s[t]=1e3,s)[u]||1,p=this.$d.getTime()+e*f;return y.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=y.z(this),o=this.$H,a=this.$m,l=this.$M,s=n.weekdays,u=n.months,f=n.meridiem,p=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},m=function(e){return y.s(o%12||12,e,"0")},h=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return l+1;case"MM":return y.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,u,3);case"MMMM":return p(u,l);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(n.weekdaysMin,t.$W,s,2);case"ddd":return p(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(o);case"HH":return y.s(o,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return h(o,a,!0);case"A":return h(o,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,c){var u,d=this,f=y.p(s),p=g(e),m=(p.utcOffset()-this.utcOffset())*6e4,h=this-p,b=function(){return y.m(d,p)};switch(f){case l:u=b()/12;break;case o:u=b();break;case a:u=b()/3;break;case i:u=(h-m)/6048e5;break;case"day":u=(h-m)/864e5;break;case r:u=h/36e5;break;case n:u=h/6e4;break;case t:u=h/1e3;break;default:u=h}return c?u:y.a(u)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return m[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},p.clone=function(){return y.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),x=w.prototype;return g.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",l],["$D",s]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,w,g),e.$i=!0),g},g.locale=v,g.isDayjs=b,g.unix=function(e){return g(1e3*e)},g.en=m[p],g.Ls=m,g.p={},g},e.exports=n()},9299:function(e){var t,n;t=0,n=function(){return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}},e.exports=n()},4126:function(e){var t,n;t=0,n=function(){return function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),"day")},i=t.prototype;i.isoWeekYear=function(){return r(this).year()},i.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),"day");var t,i,o,a=r(this),l=(t=this.isoWeekYear(),o=4-(i=(this.$u?n.utc:n)().year(t).startOf("year")).isoWeekday(),i.isoWeekday()>4&&(o+=7),i.add(o,"day"));return a.diff(l,"week")+1},i.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var o=i.startOf;i.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return"isoweek"===n.p(e)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(e,t)}}},e.exports=n()},9291:function(e){var t,n;t=0,n=function(){return function(e,t){t.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),t=this.endOf("y").day();return 4===t||e&&5===t?53:52}}},e.exports=n()},6541:function(e){var t,n;t=0,n=function(){"use strict";var e="month",t="quarter";return function(n,r){var i=r.prototype;i.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var o=i.add;i.add=function(n,r){return n=Number(n),this.$utils().p(r)===t?this.add(3*n,e):o.bind(this)(n,r)};var a=i.startOf;i.startOf=function(n,r){var i=this.$utils(),o=!!i.u(r)||r;if(i.p(n)===t){var l=this.quarter()-1;return o?this.month(3*l).startOf(e).startOf("day"):this.month(3*l+2).endOf(e).endOf("day")}return a.bind(this)(n,r)}}},e.exports=n()},2238:function(e){function t(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function r(e,t,n,r,i){return n.bind(t,e,r,i)}function i(e,r){var i,o,a,l,s,c=1===e.length?t:n;return i=e,o=this,a=c,l=r.cache.create(),s=r.serializer,a.bind(o,i,l,s)}function o(){return JSON.stringify(arguments)}function a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:i)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){var r,i,o,a,l;return r=e,i=this,o=n,a=t.cache.create(),l=t.serializer,o.bind(i,r,a,l)},monadic:function(e,n){var r,i,o,a,l;return r=e,i=this,o=t,a=n.cache.create(),l=n.serializer,o.bind(i,r,a,l)}}},3135:function(e,t,n){"use strict";var r,i,o=n(8156);var a=(r=o)&&"object"==typeof r&&"default"in r?r.default:r,l=n(6412),s=new l,c=s.getBrowser(),u=s.getCPU(),d=s.getDevice(),f=s.getEngine(),p=s.getOS(),m=s.getUA(),h=function(e){return s.setUA(e)},b=function(e){if(!e){console.error("No userAgent string was provided");return}var t=new l(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},v=Object.freeze({ClientUAInstance:s,browser:c,cpu:u,device:d,engine:f,os:p,ua:m,setUa:h,parseUserAgent:b});function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}function E(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var P={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},j={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},z={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},M={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},A=function(e){switch(e){case P.Mobile:return{isMobile:!0};case P.Tablet:return{isTablet:!0};case P.SmartTv:return{isSmartTV:!0};case P.Console:return{isConsole:!0};case P.Wearable:return{isWearable:!0};case P.Browser:return{isBrowser:!0};case P.Embedded:return{isEmbedded:!0};default:return M}},I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},T=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},_=function(e){var t=T();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},N=function(e,t,n,r){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{vendor:I(t.vendor),model:I(t.model),os:I(n.name),osVersion:I(n.version),ua:I(r)})},F=function(e){return e.type===P.Mobile},Z=function(e){return e.type===P.Tablet},R=function(e){var t=e.type;return t===P.Mobile||t===P.Tablet},B=function(e){return e.type===P.SmartTv},$=function(e){return e.type===P.Browser},D=function(e){return e.type===P.Wearable},L=function(e){return e.type===P.Console},W=function(e){return e.type===P.Embedded},q=function(e){return I(e.vendor)},U=function(e){return I(e.model)},H=function(e){return I(e.type,"browser")},V=function(e){return e.name===z.Android},G=function(e){return e.name===z.Windows},Y=function(e){return e.name===z.MAC_OS},K=function(e){return e.name===z.WindowsPhone},X=function(e){return e.name===z.IOS},Q=function(e){return I(e.version)},J=function(e){return I(e.name)},ee=function(e){return e.name===j.Chrome},et=function(e){return e.name===j.Firefox},en=function(e){return e.name===j.Chromium},er=function(e){return e.name===j.Edge},ei=function(e){return e.name===j.Yandex},eo=function(e){var t=e.name;return t===j.Safari||t===j.MobileSafari},ea=function(e){return e.name===j.MobileSafari},el=function(e){return e.name===j.Opera},es=function(e){var t=e.name;return t===j.InternetExplorer||t===j.Ie},ec=function(e){return e.name===j.MIUI},eu=function(e){return e.name===j.SamsungBrowser},ed=function(e){return I(e.version)},ef=function(e){return I(e.major)},ep=function(e){return I(e.name)},em=function(e){return I(e.name)},eh=function(e){return I(e.version)},eb=function(){var e=T(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},ev=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},eg=function(){var e=T();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},ey=function(){return _("iPad")},ew=function(){return _("iPhone")},ex=function(){return _("iPod")},ek=function(e){return I(e)};function eS(e){var t=e||v,n=t.device,r=t.browser,i=t.os,o=t.engine,a=t.ua;return{isSmartTV:B(n),isConsole:L(n),isWearable:D(n),isEmbedded:W(n),isMobileSafari:ea(r)||ey(),isChromium:en(r),isMobile:R(n)||ey(),isMobileOnly:F(n),isTablet:Z(n)||ey(),isBrowser:$(n),isDesktop:$(n),isAndroid:V(i),isWinPhone:K(i),isIOS:X(i)||ey(),isChrome:ee(r),isFirefox:et(r),isSafari:eo(r),isOpera:el(r),isIE:es(r),osVersion:Q(i),osName:J(i),fullBrowserVersion:ed(r),browserVersion:ef(r),browserName:ep(r),mobileVendor:q(n),mobileModel:U(n),engineName:em(o),engineVersion:eh(o),getUA:ek(a),isEdge:er(r)||ev(a),isYandex:ei(r),deviceType:H(n),isIOS13:eg(),isIPad13:ey(),isIPhone13:ew(),isIPod13:ex(),isElectron:eb(),isEdgeChromium:ev(a),isLegacyEdge:er(r)&&!ev(a),isWindows:G(i),isMacOs:Y(i),isMIUI:ec(r),isSamsungBrowser:eu(r)}}var eO=B(d),eE=L(d),eC=D(d),eP=W(d),ej=ea(c)||ey(),ez=en(c),eM=R(d)||ey(),eA=F(d),eI=Z(d)||ey(),eT=$(d),e_=$(d),eN=V(p),eF=K(p),eZ=X(p)||ey(),eR=ee(c),eB=et(c),e$=eo(c),eD=el(c),eL=es(c),eW=Q(p),eq=J(p),eU=ed(c),eH=ef(c),eV=ep(c),eG=q(d),eY=U(d),eK=em(f),eX=eh(f),eQ=ek(m),eJ=er(c)||ev(m),e0=ei(c),e1=H(d),e2=eg(),e4=ey(),e3=ew(),e5=ex(),e6=eb(),e7=ev(m),e8=er(c)&&!ev(m),e9=G(p),te=Y(p),tt=ec(c),tn=eu(c);function tr(e){return b(e||window.navigator.userAgent)}t.isDesktop=e_;t.isMobile=eM},6010:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var l,s,c,u;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(!e(o[s],a[s]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(u=o.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;for(u=o.entries();!(s=u.next()).done;)if(!e(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(u=o.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(o[s]!==a[s])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((l=(c=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;){if("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!o.$$typeof){if(!e(o[c[s]],a[c[s]]))return!1}}return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},4793:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.staged=void 0;let i=r(n(8156));function o(e){return"function"==typeof e?i.default.createElement(a,{stage:e}):e}function a(e){return o(e.stage())}t.staged=function(e){return function(t,n){return o(e(t,n))}}},3278:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},o=[],a=0;a<e.length;a++){var l=e[a],s=r.base?l[0]+r.base:l[0],c=i[s]||0,u="".concat(s," ").concat(c);i[s]=c+1;var d=n(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var p=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)n.update(e=t)}else n.remove()}}(f,r);r.byIndex=a,t.splice(a,0,{identifier:u,updater:p,references:1})}o.push(u)}return o}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var l=n(o[a]);t[l].references--}for(var s=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=s}}},547:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2593:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5604:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},8391:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,i,o,a,l,s;r=t,i=e,a="",(o=n).supports&&(a+="@supports (".concat(o.supports,") {")),o.media&&(a+="@media ".concat(o.media," {")),(l=void 0!==o.layer)&&(a+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),a+=o.css,l&&(a+="}"),o.media&&(a+="}"),o.supports&&(a+="}"),(s=o.sourceMap)&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),i.styleTagTransform(a,r,i.options)},remove:function(){!function(e){if(null===e.parentNode)return;e.parentNode.removeChild(e)}(t)}}}},7784:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},6412:function(e,t){!function(n,r){"use strict";var i="function",o="undefined",a="object",l="string",s="major",c="model",u="name",d="type",f="vendor",p="version",m="architecture",h="console",b="mobile",v="tablet",g="smarttv",y="wearable",w="embedded",x="Amazon",k="Apple",S="ASUS",O="BlackBerry",E="Browser",C="Chrome",P="Firefox",j="Google",z="Huawei",M="Microsoft",A="Motorola",I="Opera",T="Samsung",_="Sharp",N="Sony",F="Xiaomi",Z="Zebra",R="Facebook",B="Chromium OS",$="Mac OS",D=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},L=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},W=function(e,t){return typeof e===l&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},U=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,500)},H=function(e,t){for(var n,o,l,s,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c&&f[n];){;if(c=f[n++].exec(e))for(l=0;l<p.length;l++)u=c[++o],typeof(s=p[l])===a&&s.length>0?2===s.length?typeof s[1]==i?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==i||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):void 0:this[s[0]]=u?s[1].call(this,u,s[2]):r:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):r):this[s]=u||r}d+=2}},V=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(W(t[n][i],e))return"?"===n?r:n}else if(W(t[n],e))return"?"===n?r:n;return e},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,I+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[p,[u,I+" GX"]],[/\bopr\/([\w\.]+)/i],[p,[u,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[u,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,p],[/\bddg\/([\w\.]+)/i],[p,[u,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UC"+E]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[u,"Smart Lenovo "+E]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+E],p],[/\bfocus\/([\w\.]+)/i],[p,[u,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI "+E]],[/fxios\/([-\w\.]+)/i],[p,[u,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+E]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+E],p],[/samsungbrowser\/([\w\.]+)/i],[p,[u,T+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,R],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,C+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,C+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android "+E]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,V,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,P+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[u,p],[/(cobalt)\/([\w\.]+)/i],[u,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,q]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[f,T],[d,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[f,T],[d,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[f,k],[d,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[f,k],[d,v]],[/(macintosh);/i],[c,[f,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[f,_],[d,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[f,z],[d,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[f,z],[d,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[f,F],[d,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[f,F],[d,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[f,"OPPO"],[d,b]],[/\b(opd2\d{3}a?) bui/i],[c,[f,"OPPO"],[d,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[f,"Vivo"],[d,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[f,"Realme"],[d,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[f,A],[d,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[f,A],[d,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[f,"LG"],[d,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[f,"LG"],[d,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[f,"Lenovo"],[d,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[f,"Nokia"],[d,b]],[/(pixel c)\b/i],[c,[f,j],[d,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[f,j],[d,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[f,N],[d,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[f,N],[d,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[f,"OnePlus"],[d,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[f,x],[d,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[f,x],[d,b]],[/(playbook);[-\w\),; ]+(rim)/i],[c,f,[d,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[f,O],[d,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[f,S],[d,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[f,S],[d,b]],[/(nexus 9)/i],[c,[f,"HTC"],[d,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[c,/_/g," "],[d,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[f,"Acer"],[d,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[f,"Meizu"],[d,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[f,"Ulefone"],[d,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,c,[d,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,c,[d,v]],[/(surface duo)/i],[c,[f,M],[d,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[f,"Fairphone"],[d,b]],[/(u304aa)/i],[c,[f,"AT&T"],[d,b]],[/\bsie-(\w*)/i],[c,[f,"Siemens"],[d,b]],[/\b(rct\w+) b/i],[c,[f,"RCA"],[d,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[f,"Dell"],[d,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[f,"Verizon"],[d,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[f,"Barnes & Noble"],[d,v]],[/\b(tm\d{3}\w+) b/i],[c,[f,"NuVision"],[d,v]],[/\b(k88) b/i],[c,[f,"ZTE"],[d,v]],[/\b(nx\d{3}j) b/i],[c,[f,"ZTE"],[d,b]],[/\b(gen\d{3}) b.+49h/i],[c,[f,"Swiss"],[d,b]],[/\b(zur\d{3}) b/i],[c,[f,"Swiss"],[d,v]],[/\b((zeki)?tb.*\b) b/i],[c,[f,"Zeki"],[d,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],c,[d,v]],[/\b(ns-?\w{0,9}) b/i],[c,[f,"Insignia"],[d,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[f,"NextBook"],[d,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],c,[d,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],c,[d,b]],[/\b(ph-1) /i],[c,[f,"Essential"],[d,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[f,"Envizen"],[d,v]],[/\b(trio[-\w\. ]+) b/i],[c,[f,"MachSpeed"],[d,v]],[/\btu_(1491) b/i],[c,[f,"Rotor"],[d,v]],[/(shield[\w ]+) b/i],[c,[f,"Nvidia"],[d,v]],[/(sprint) (\w+)/i],[f,c,[d,b]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[f,M],[d,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[f,Z],[d,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[f,Z],[d,b]],[/smart-tv.+(samsung)/i],[f,[d,g]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[f,T],[d,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,"LG"],[d,g]],[/(apple) ?tv/i],[f,[c,k+" TV"],[d,g]],[/crkey/i],[[c,C+"cast"],[f,j],[d,g]],[/droid.+aft(\w+)( bui|\))/i],[c,[f,x],[d,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[f,_],[d,g]],[/(bravia[\w ]+)( bui|\))/i],[c,[f,N],[d,g]],[/(mitv-\w{5}) bui/i],[c,[f,F],[d,g]],[/Hbbtv.*(technisat) (.*);/i],[f,c,[d,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,U],[c,U],[d,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,c,[d,h]],[/droid.+; (shield) bui/i],[c,[f,"Nvidia"],[d,h]],[/(playstation [345portablevi]+)/i],[c,[f,N],[d,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[f,M],[d,h]],[/((pebble))app/i],[f,c,[d,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[f,k],[d,y]],[/droid.+; (glass) \d/i],[c,[f,j],[d,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[f,Z],[d,y]],[/(quest( \d| pro)?)/i],[c,[f,R],[d,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[d,w]],[/(aeobc)\b/i],[c,[f,x],[d,w]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[d,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,b]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[u,[p,V,G]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,V,G],[u,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,$],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[u,C+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,B],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,p]]},K=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof K))return new K(e,t).getResult();var h=typeof n!==o&&n.navigator?n.navigator:r,g=e||(h&&h.userAgent?h.userAgent:""),y=h&&h.userAgentData?h.userAgentData:r,w=t?D(Y,t):Y,x=h&&h.userAgent==g;return this.getBrowser=function(){var e,t={};return t[u]=r,t[p]=r,H.call(t,g,w.browser),t[s]=typeof(e=t[p])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:r,x&&h&&h.brave&&typeof h.brave.isBrave==i&&(t[u]="Brave"),t},this.getCPU=function(){var e={};return e[m]=r,H.call(e,g,w.cpu),e},this.getDevice=function(){var e={};return e[f]=r,e[c]=r,e[d]=r,H.call(e,g,w.device),x&&!e[d]&&y&&y.mobile&&(e[d]=b),x&&"Macintosh"==e[c]&&h&&typeof h.standalone!==o&&h.maxTouchPoints&&h.maxTouchPoints>2&&(e[c]="iPad",e[d]=v),e},this.getEngine=function(){var e={};return e[u]=r,e[p]=r,H.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[u]=r,e[p]=r,H.call(e,g,w.os),x&&!e[u]&&y&&y.platform&&"Unknown"!=y.platform&&(e[u]=y.platform.replace(/chrome os/i,B).replace(/macos/i,$)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return g},this.setUA=function(e){return g=typeof e===l&&e.length>500?U(e,500):e,this},this.setUA(g),this};K.VERSION="1.0.38",K.BROWSER=L([u,p,s]),K.CPU=L([m]),K.DEVICE=L([c,f,d,h,b,g,v,y,w]),K.ENGINE=K.OS=L([u,p]),typeof t!==o?(e.exports&&(t=e.exports=K),t.UAParser=K):typeof define===i&&define.amd?define(function(){return K}):typeof n!==o&&(n.UAParser=K);var X=typeof n!==o&&(n.jQuery||n.Zepto);if(X&&!X.ua){var Q=new K;X.ua=Q.getResult(),X.ua.get=function(){return Q.getUA()},X.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)X.ua[n]=t[n]}}}("object"==typeof window?window:this)},2890:function(e,t,n){"use strict";var r=n(8156),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return l(function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})},[e,n,t]),a(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},6696:function(e,t,n){"use strict";e.exports=n(2890)},482:function(e){"use strict";e.exports=c},4964:function(e){"use strict";e.exports=d},4632:function(e){"use strict";e.exports=h},8563:function(e){"use strict";e.exports=o},3505:function(e){"use strict";e.exports=u},8875:function(e){"use strict";e.exports=i},3772:function(e){"use strict";e.exports=s},2465:function(e){"use strict";e.exports=f},7584:function(e){"use strict";e.exports=l},2749:function(e){"use strict";e.exports=b},2721:function(e){"use strict";e.exports=p},8202:function(e){"use strict";e.exports=m},467:function(e){"use strict";e.exports=a},8156:function(t){"use strict";t.exports=e},7111:function(e){"use strict";e.exports=t},3238:function(e){"use strict";e.exports=n},6128:function(e){"use strict";e.exports=r},9527:function(e){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var o in e)t.call(e,o)&&e[o]&&(i=r(i,o));return i}(o)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()}},g={};function y(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={id:e,exports:{}};return v[e].call(n.exports,n,n.exports,y),n.exports}y.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(t,{a:t}),t},y.d=function(e,t){for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},y.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nc=void 0;var w={};return!function(){"use strict";let e,t,n,r,i;y.r(w),y.d(w,{MobilePageTabsSettings:function(){return l8},MobileTabBar:function(){return c2},MobileTabBarLink:function(){return cB},mobileNavigationBarLinkSettings:function(){return ss},MobileTabBarPage:function(){return cV},MobileProviders:function(){return lR},mobileTabBarInitializer:function(){return cJ},mobileTabBarLinkSettings:function(){return cq},useActionBarContext:function(){return sk},useMobilePage:function(){return lK},useMobileRoutes:function(){return lN},mobileTabBarLinkInitializerItem:function(){return cH},MobileAppContext:function(){return cv},MobileTabBarItem:function(){return cj},getMobileTabBarItemSchemaFields:function(){return cA},MobileTabBarInitializer:function(){return c0},MobileLayout:function(){return c4},MobilePageContext:function(){return lG},mobilePageSettings:function(){return sP},MobilePageNavigationBar:function(){return sE},MobileAppProvider:function(){return cg},MobileNavigationBarAction:function(){return sh},mobileNavigationBarLinkInitializerItem:function(){return sd},MobilePageTabInitializer:function(){return l2},MobileTitleProvider:function(){return lI},editTabItemSettingsItem:function(){return cN},getMobilePageSchema:function(){return sz},getMobilePageContentSchema:function(){return lH},mobileTabBarPageSettings:function(){return cG},useMobileApp:function(){return cy},useStyles:function(){return l9},MobileRoutesProvider:function(){return lF},PluginMobileClient:function(){return uP},useUpdateTabBarItem:function(){return cM},MobilePageContent:function(){return lq},MobileRoutesContext:function(){return l_},mobilePagesTabInitializer:function(){return l1},useMobileTitle:function(){return lT},MobileHomePage:function(){return cY},MobilePageProvider:function(){return lY},removeTabItemSettingsItem:function(){return cF},mobileAddBlockInitializer:function(){return lU},MobilePage:function(){return lP},useMobileNavigationBarLink:function(){return sc},DesktopModeContent:function(){return cm},default:function(){return uj},mobilePageHeaderSchema:function(){return sC},MobileNotFoundPage:function(){return cK},getMobileNavigationBarLinkSchema:function(){return su},MobileNavigationActionBar:function(){return sS},DesktopMode:function(){return ch},getMobileTabBarItemSchema:function(){return cR},MobilePageContentContainer:function(){return lW},ActionBarProvider:function(){return sx},MobilePageTabs:function(){return sn},DesktopModeHeader:function(){return s1},mobilePageTabsSettings:function(){return l7},Mobile:function(){return ck},MobileTitleContext:function(){return lA},getPageContentTabSchema:function(){return lV},mobileNavigationBarActionsInitializer:function(){return sf},MobilePageHeader:function(){return lQ},mobileTabBarSchemaInitializerItem:function(){return cQ}});var o,a,l,s,c,u=y("3772"),d=y("8156"),f=y.n(d),p=JSON.parse('{"u2":"@nocobase/plugin-mobile"}'),m=y("6128"),h=y("3238");function b(){return(0,h.useTranslation)([p.u2,"client"],{nsMode:"fallback"})}function v(e){return"{{t('".concat(e,"', { ns: ['").concat(p.u2,"', 'client'], nsMode: 'fallback' })}}")}var g=y("3135"),x=y("3505"),k=y("2721"),S=y("3278"),O=y.n(S),E=y("8391"),C=y.n(E),P=y("547"),j=y.n(P),z=y("5604"),M=y.n(z),A=y("2593"),I=y.n(A),T=y("7784"),_=y.n(T),N=y("9046"),F={};F.styleTagTransform=_(),F.setAttributes=M(),F.insert=j().bind(null,"head"),F.domAPI=C(),F.insertStyleElement=I(),O()(N.Z,F),N.Z&&N.Z.locals&&N.Z.locals;let Z=!!("undefined"!=typeof window&&"undefined"!=typeof document&&window.document&&window.document.createElement);Z&&document.addEventListener("touchstart",()=>{},!0);var R=y("9652"),B={};B.styleTagTransform=_(),B.setAttributes=M(),B.insert=j().bind(null,"head"),B.domAPI=C(),B.insertStyleElement=I(),O()(R.Z,B),R.Z&&R.Z.locals&&R.Z.locals;var $=y("9527"),D=y.n($);function L(e,t){let n=Object.assign({},t.props);for(let r in e.className&&(n.className=D()(t.props.className,e.className)),e.style&&(n.style=Object.assign(Object.assign({},n.style),e.style)),void 0!==e.tabIndex&&(n.tabIndex=e.tabIndex),e)e.hasOwnProperty(r)&&(r.startsWith("data-")||r.startsWith("aria-"))&&(n[r]=e[r]);return f().cloneElement(t,n)}let W="adm-badge",q=f().createElement(f().Fragment,null);function U(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var H=U(e=>{let{content:t,color:n,children:r}=e,i=t===q,o=D()(W,{[`${W}-fixed`]:!!r,[`${W}-dot`]:i,[`${W}-bordered`]:e.bordered}),a=t||0===t?L(e,f().createElement("div",{className:o,style:{"--color":n}},!i&&f().createElement("div",{className:`${W}-content`},t))):null;return r?f().createElement("div",{className:D()(`${W}-wrapper`,e.wrapperClassName),style:e.wrapperStyle},r,a):a},{dot:q}),V=y("5555"),G={};G.styleTagTransform=_(),G.setAttributes=M(),G.insert=j().bind(null,"head"),G.domAPI=C(),G.insertStyleElement=I(),O()(V.Z,G),V.Z&&V.Z.locals&&V.Z.locals;function Y(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})}var K=y("1155"),X={};function Q(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{void 0!==e[n]&&(t[n]=e[n])})}),t}function J(e,...t){for(let e=t.length-1;e>=0;e-=1)if(void 0!==t[e])return t[e];return e}X.styleTagTransform=_(),X.setAttributes=M(),X.insert=j().bind(null,"head"),X.domAPI=C(),X.insertStyleElement=I(),O()(K.Z,X),K.Z&&K.Z.locals&&K.Z.locals;let ee={default:"var(--adm-color-weak)",primary:"var(--adm-color-primary)",white:"var(--adm-color-white)"},et={color:"default"},en=(0,d.memo)(e=>{var t;let n=Q(et,e);return L(n,f().createElement("div",{style:{color:null!==(t=ee[n.color])&&void 0!==t?t:n.color},className:D()("adm-loading","adm-dot-loading")},f().createElement("svg",{height:"1em",viewBox:"0 0 100 40",style:{verticalAlign:"-0.125em"}},f().createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},f().createElement("g",{transform:"translate(-100.000000, -71.000000)"},f().createElement("g",{transform:"translate(95.000000, 71.000000)"},f().createElement("g",{transform:"translate(5.000000, 0.000000)"},[0,1,2].map(e=>f().createElement("rect",{key:e,fill:"currentColor",x:20+26*e,y:"16",width:"8",height:"8",rx:"2"},f().createElement("animate",{attributeName:"y",from:"16",to:"16",dur:"2s",begin:`${.2*e}s`,repeatCount:"indefinite",values:"16; 6; 26; 16; 16",keyTimes:"0; 0.1; 0.3; 0.4; 1"}))))))))))}),er="adm-button",ei={color:"default",fill:"solid",block:!1,loading:!1,loadingIcon:f().createElement(en,{color:"currentColor"}),type:"button",shape:"default",size:"middle"},eo=(0,d.forwardRef)((e,t)=>{let n=Q(ei,e),[r,i]=(0,d.useState)(!1),o=(0,d.useRef)(null),a="auto"===n.loading?r:n.loading,l=n.disabled||a;return(0,d.useImperativeHandle)(t,()=>({get nativeElement(){return o.current}})),L(n,f().createElement("button",{ref:o,type:n.type,onClick:e=>Y(void 0,void 0,void 0,function*(){var t;if(!n.onClick)return;let r=n.onClick(e);if((t=r)&&"object"==typeof t&&"function"==typeof t.then)try{i(!0),yield r,i(!1)}catch(e){throw i(!1),e}}),className:D()(er,{[`${er}-${n.color}`]:n.color,[`${er}-block`]:n.block,[`${er}-disabled`]:l,[`${er}-fill-outline`]:"outline"===n.fill,[`${er}-fill-none`]:"none"===n.fill,[`${er}-mini`]:"mini"===n.size,[`${er}-small`]:"small"===n.size,[`${er}-large`]:"large"===n.size,[`${er}-loading`]:a},`${er}-shape-${n.shape}`),disabled:l,onMouseDown:n.onMouseDown,onMouseUp:n.onMouseUp,onTouchStart:n.onTouchStart,onTouchEnd:n.onTouchEnd},a?f().createElement("div",{className:`${er}-loading-wrapper`},n.loadingIcon,n.loadingText):f().createElement("span",null,n.children)))});var ea=y("442"),el={};el.styleTagTransform=_(),el.setAttributes=M(),el.insert=j().bind(null,"head"),el.domAPI=C(),el.insertStyleElement=I(),O()(ea.Z,el),ea.Z&&ea.Z.locals&&ea.Z.locals;var es=y("2749");function ec(e){let{value:t,defaultValue:n,onChange:r}=e,i=(0,es.useUpdate)(),o=(0,d.useRef)(void 0!==t?t:n);void 0!==t&&(o.current=t);let a=(0,es.useMemoizedFn)((e,t=!1)=>{let n="function"==typeof e?e(o.current):e;if(t||n!==o.current)return o.current=n,i(),null==r?void 0:r(n)});return[o.current,a]}let eu="${label}不是一个有效的${type}",ed={locale:{locale:"zh-CH",common:{confirm:"确定",cancel:"取消",loading:"加载中",close:"关闭"},Calendar:{title:"日期选择",confirm:"确认",start:"开始",end:"结束",today:"今日",markItems:["一","二","三","四","五","六","日"],yearAndMonth:"${year}年${month}月"},Cascader:{placeholder:"请选择"},Dialog:{ok:"我知道了"},DatePicker:{tillNow:"至今"},ErrorBlock:{default:{title:"页面遇到一些小问题",description:"待会来试试"},busy:{title:"前方拥堵",description:"刷新试试"},disconnected:{title:"网络有点忙",description:"动动手指帮忙修复"},empty:{title:"没有找到你需要的东西",description:"找找其他的吧"}},Form:{required:"必填",optional:"选填",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:eu,method:eu,array:eu,object:eu,number:eu,date:eu,boolean:eu,integer:eu,float:eu,regexp:eu,email:eu,url:eu,hex:eu},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},ImageUploader:{uploading:"上传中...",upload:"上传"},InfiniteScroll:{noMore:"没有更多了",failedToLoad:"加载失败",retry:"重新加载"},Input:{clear:"清除"},Mask:{name:"背景蒙层"},Modal:{ok:"我知道了"},PasscodeInput:{name:"密码输入框"},PullToRefresh:{pulling:"下拉刷新",canRelease:"释放立即刷新",complete:"刷新成功"},SearchBar:{name:"搜索框"},Slider:{name:"滑动输入条"},Stepper:{decrease:"减少",increase:"增加"},Switch:{name:"开关"},Selector:{name:"选择组"}}};function ef(){return ed}let ep=f().createContext(null);function em(){var e;return null!==(e=(0,d.useContext)(ep))&&void 0!==e?e:ed}var eh=y("4059"),eb={};eb.styleTagTransform=_(),eb.setAttributes=M(),eb.insert=j().bind(null,"head"),eb.domAPI=C(),eb.insertStyleElement=I(),O()(eh.Z,eb),eh.Z&&eh.Z.locals&&eh.Z.locals;let ev="adm-list",eg={mode:"default"},ey=(0,d.forwardRef)((e,t)=>{let n=Q(eg,e),r=(0,d.useRef)(null);return(0,d.useImperativeHandle)(t,()=>({get nativeElement(){return r.current}})),L(n,f().createElement("div",{className:D()(ev,`${ev}-${n.mode}`),ref:r},n.header&&f().createElement("div",{className:`${ev}-header`},n.header),f().createElement("div",{className:`${ev}-body`},f().createElement("div",{className:`${ev}-body-inner`},n.children))))});var ew=function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"RightOutline-RightOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"RightOutline-RightOutlined"},d.createElement("rect",{id:"RightOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M17.3947957,5.11219264 L35.5767382,22.6612572 L35.5767382,22.6612572 C36.1304785,23.2125856 36.1630514,24.0863155 35.6744571,24.6755735 L35.5767382,24.7825775 L17.3956061,42.8834676 C17.320643,42.9580998 17.2191697,43 17.1133896,43 L13.9866673,43 C13.7657534,43 13.5866673,42.8209139 13.5866673,42.6 C13.5866673,42.4936115 13.6290496,42.391606 13.7044413,42.316542 L32.3201933,23.7816937 L32.3201933,23.7816937 L13.7237117,5.6866816 C13.5653818,5.53262122 13.5619207,5.27937888 13.7159811,5.121049 C13.7912854,5.04365775 13.8946805,5 14.0026627,5 L17.1170064,5 C17.2206403,5 17.3202292,5.04022164 17.3947957,5.11219264 Z",id:"RightOutline-right",fill:"currentColor",fillRule:"nonzero"}))))};function ex(e){return null!=e&&!1!==e}let ek="adm-list-item";var eS=U(ey,{Item:e=>{var t,n;let{arrow:r,arrowIcon:i}=e,{list:o={}}=em(),a=null!==(t=e.clickable)&&void 0!==t?t:!!e.onClick,l=null!==(n=null!=r?r:i)&&void 0!==n?n:a,s=J(o.arrowIcon,!0!==r?r:null,!0!==i?i:null),c=f().createElement("div",{className:`${ek}-content`},ex(e.prefix)&&f().createElement("div",{className:`${ek}-content-prefix`},e.prefix),f().createElement("div",{className:`${ek}-content-main`},ex(e.title)&&f().createElement("div",{className:`${ek}-title`},e.title),e.children,ex(e.description)&&f().createElement("div",{className:`${ek}-description`},e.description)),ex(e.extra)&&f().createElement("div",{className:`${ek}-content-extra`},e.extra),l&&f().createElement("div",{className:`${ek}-content-arrow`},s||f().createElement(ew,null)));return L(e,f().createElement(a?"a":"div",{className:D()(`${ek}`,a?["adm-plain-anchor"]:[],e.disabled&&`${ek}-disabled`),onClick:e.disabled?void 0:e.onClick},c))}});let eO=(0,d.createContext)(null),eE={multiple:!1,defaultValue:[],activeIcon:f().createElement(function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"CheckOutline-CheckOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"CheckOutline-编组"},d.createElement("rect",{id:"CheckOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M44.309608,12.6841286 L21.2180499,35.5661955 L21.2180499,35.5661955 C20.6343343,36.1446015 19.6879443,36.1446015 19.1042286,35.5661955 C19.0538201,35.5162456 19.0077648,35.4636155 18.9660627,35.4087682 C18.9113105,35.368106 18.8584669,35.3226694 18.808302,35.2729607 L3.6903839,20.2920499 C3.53346476,20.1365529 3.53231192,19.8832895 3.68780898,19.7263704 C3.7629255,19.6505669 3.86521855,19.6079227 3.97193622,19.6079227 L7.06238923,19.6079227 C7.16784214,19.6079227 7.26902895,19.6495648 7.34393561,19.7237896 L20.160443,32.4236157 L20.160443,32.4236157 L40.656066,12.115858 C40.7309719,12.0416387 40.8321549,12 40.9376034,12 L44.0280571,12 C44.248971,12 44.4280571,12.1790861 44.4280571,12.4 C44.4280571,12.5067183 44.3854124,12.609012 44.309608,12.6841286 Z",id:"CheckOutline-路径",fill:"currentColor",fillRule:"nonzero"}))))},null)};function eC(e,t){}let eP="adm-check-list-item";var ej=U(e=>{let{checkList:t={}}=em(),n=Q(eE,t,e),[r,i]=ec(n),{activeIcon:o,extra:a,disabled:l,readOnly:s}=n;return f().createElement(eO.Provider,{value:{value:r,check:function(e){n.multiple?i([...r,e]):i([e])},uncheck:function(e){i(r.filter(t=>t!==e))},activeIcon:o,extra:a,disabled:l,readOnly:s}},L(n,f().createElement(eS,{mode:n.mode,className:"adm-check-list"},n.children)))},{Item:e=>{let t=(0,d.useContext)(eO);if(null===t)return null;let n=t.value.includes(e.value),r=e.readOnly||t.readOnly,i=n?t.activeIcon:null,o=t.extra?t.extra(n):i,a=f().createElement("div",{className:`${eP}-extra`},o);return L(e,f().createElement(eS.Item,{title:e.title,className:D()(eP,r&&`${eP}-readonly`,n&&`${eP}-active`),description:e.description,prefix:e.prefix,onClick:i=>{var o;!r&&(n?t.uncheck(e.value):t.check(e.value),null===(o=e.onClick)||void 0===o||o.call(e,i))},arrow:!1,clickable:!r,extra:a,disabled:e.disabled||t.disabled},e.children))}}),ez=y("4594"),eM={};eM.styleTagTransform=_(),eM.setAttributes=M(),eM.insert=j().bind(null,"head"),eM.domAPI=C(),eM.insertStyleElement=I(),O()(ez.Z,eM),ez.Z&&ez.Z.locals&&ez.Z.locals;var eA=y("2776"),eI={};eI.styleTagTransform=_(),eI.setAttributes=M(),eI.insert=j().bind(null,"head"),eI.domAPI=C(),eI.insertStyleElement=I(),O()(eA.Z,eI),eA.Z&&eA.Z.locals&&eA.Z.locals;var eT=y("332"),e_={};e_.styleTagTransform=_(),e_.setAttributes=M(),e_.insert=j().bind(null,"head"),e_.domAPI=C(),e_.insertStyleElement=I(),O()(eT.Z,e_),eT.Z&&eT.Z.locals&&eT.Z.locals;var eN=y("5546"),eF={};eF.styleTagTransform=_(),eF.setAttributes=M(),eF.insert=j().bind(null,"head"),eF.domAPI=C(),eF.insertStyleElement=I(),O()(eN.Z,eF),eN.Z&&eN.Z.locals&&eN.Z.locals;let eZ=Z?window:void 0,eR=["scroll","auto","overlay"],eB=!1;if(Z)try{let e={};Object.defineProperty(e,"passive",{get(){eB=!0}}),window.addEventListener("test-passive",null,e)}catch(e){}let e$=0,eD="adm-overflow-hidden";function eL(e,t){let n=function(){let e=(0,d.useRef)(0),t=(0,d.useRef)(0),n=(0,d.useRef)(0),r=(0,d.useRef)(0),i=(0,d.useRef)(0),o=(0,d.useRef)(0),a=(0,d.useRef)(""),l=()=>{n.current=0,r.current=0,i.current=0,o.current=0,a.current=""};return{move:l=>{let s=l.touches[0];if(n.current=s.clientX<0?0:s.clientX-e.current,r.current=s.clientY-t.current,i.current=Math.abs(n.current),o.current=Math.abs(r.current),!a.current){var c,u;a.current=(c=i.current,c>(u=o.current)&&c>10?"horizontal":u>c&&u>10?"vertical":"")}},start:n=>{l(),e.current=n.touches[0].clientX,t.current=n.touches[0].clientY},reset:l,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:i,offsetY:o,direction:a,isVertical:()=>"vertical"===a.current,isHorizontal:()=>"horizontal"===a.current}}(),r=r=>{n.move(r);let i=n.deltaY.current>0?"10":"01",o=function(e,t=eZ){let n=e;for(;n&&n!==t&&1===n.nodeType&&n!==document.body;){;let{overflowY:e}=window.getComputedStyle(n);if(eR.includes(e)&&n.scrollHeight>n.clientHeight)return n;n=n.parentNode}return t}(r.target,e.current);if(!o)return;if("strict"===t){let e=function(e){let t=null==e?void 0:e.parentElement;for(;t;){if(t.clientHeight<t.scrollHeight)return t;t=t.parentElement}return null}(r.target);if(e===document.body||e===document.documentElement){r.preventDefault();return}}let{scrollHeight:a,offsetHeight:l,scrollTop:s}=o,{height:c}=o.getBoundingClientRect(),u="11";0===s?u=l>=a?"00":"01":a<=Math.round(c+s)&&(u="10"),"11"!==u&&n.isVertical()&&!(parseInt(u,2)&parseInt(i,2))&&r.cancelable&&eB&&r.preventDefault()},i=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",r,!!eB&&{passive:!1}),!e$&&document.body.classList.add(eD),e$++},o=()=>{e$&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",r),!--e$&&document.body.classList.remove(eD))};(0,d.useEffect)(()=>{if(t)return i(),()=>{o()}},[t])}let eW=e5(),eq=e=>e1(e,eW),eU=e5();eq.write=e=>e1(e,eU);let eH=e5();eq.onStart=e=>e1(e,eH);let eV=e5();eq.onFrame=e=>e1(e,eV);let eG=e5();eq.onFinish=e=>e1(e,eG);let eY=[];eq.setTimeout=(e,t)=>{let n=eq.now()+t,r=()=>{let e=eY.findIndex(e=>e.cancel==r);~e&&eY.splice(e,1),eJ-=~e?1:0},i={time:n,handler:e,cancel:r};return eY.splice(eK(n),0,i),eJ+=1,e2(),i};let eK=e=>~(~eY.findIndex(t=>t.time>e)||~eY.length);eq.cancel=e=>{eH.delete(e),eV.delete(e),eG.delete(e),eW.delete(e),eU.delete(e)},eq.sync=e=>{e0=!0,eq.batchedUpdates(e),e0=!1},eq.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,eq.onStart(n)}return r.handler=e,r.cancel=()=>{eH.delete(n),t=null},r};let eX="undefined"!=typeof window?window.requestAnimationFrame:()=>{};eq.use=e=>eX=e,eq.now="undefined"!=typeof performance?()=>performance.now():Date.now,eq.batchedUpdates=e=>e(),eq.catch=console.error,eq.frameLoop="always",eq.advance=()=>{"demand"!==eq.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):e3()};let eQ=-1,eJ=0,e0=!1;function e1(e,t){e0?(t.delete(e),e(0)):(t.add(e),e2())}function e2(){eQ<0&&(eQ=0,"demand"!==eq.frameLoop&&eX(e4))}function e4(){~eQ&&(eX(e4),eq.batchedUpdates(e3))}function e3(){let e=eQ,t=eK(eQ=eq.now());if(t&&(e6(eY.splice(0,t),e=>e.handler()),eJ-=t),!eJ){eQ=-1;return}eH.flush(),eW.flush(e?Math.min(64,eQ-e):16.667),eV.flush(),eU.flush(),eG.flush()}function e5(){let e=new Set,t=e;return{add(n){eJ+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(eJ-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,eJ-=t.size,e6(t,t=>t(n)&&e.add(t)),eJ+=e.size,t=e)}}}function e6(e,t){e.forEach(e=>{try{t(e)}catch(e){eq.catch(e)}})}function e7(){}let e8=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),e9={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function te(e,t){if(e9.arr(e)){if(!e9.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}let tt=(e,t)=>e.forEach(t);function tn(e,t,n){if(e9.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(let r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}let tr=e=>e9.und(e)?[]:e9.arr(e)?e:[e];function ti(e,t){if(e.size){let n=Array.from(e);e.clear(),tt(n,t)}}let to=(e,...t)=>ti(e,e=>e(...t)),ta=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),tl=null,ts=!1,tc=e7;var tu=Object.freeze({__proto__:null,get createStringInterpolator(){return e},get to(){return t},get colors(){return tl},get skipAnimation(){return ts},get willAdvance(){return tc},assign:n=>{n.to&&(t=n.to),n.now&&(eq.now=n.now),void 0!==n.colors&&(tl=n.colors),null!=n.skipAnimation&&(ts=n.skipAnimation),n.createStringInterpolator&&(e=n.createStringInterpolator),n.requestAnimationFrame&&eq.use(n.requestAnimationFrame),n.batchedUpdates&&(eq.batchedUpdates=n.batchedUpdates),n.willAdvance&&(tc=n.willAdvance),n.frameLoop&&(eq.frameLoop=n.frameLoop)}});let td=new Set,tf=[],tp=[],tm=0,th={get idle(){return!td.size&&!tf.length},start(e){tm>e.priority?(td.add(e),eq.onStart(tb)):(tv(e),eq(ty))},advance:ty,sort(e){if(tm)eq.onFrame(()=>th.sort(e));else{let t=tf.indexOf(e);~t&&(tf.splice(t,1),tg(e))}},clear(){tf=[],td.clear()}};function tb(){td.forEach(tv),td.clear(),eq(ty)}function tv(e){!tf.includes(e)&&tg(e)}function tg(e){tf.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(tf,t=>t.priority>e.priority),0,e)}function ty(e){let t=tp;for(let n=0;n<tf.length;n++){let r=tf[n];tm=r.priority,!r.idle&&(tc(r),r.advance(e),!r.idle&&t.push(r))}return tm=0,(tp=tf).length=0,(tf=t).length>0}let tw=(e,t,n)=>Math.min(Math.max(n,e),t),tx="[-+]?\\d*\\.?\\d+",tk=tx+"%";function tS(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let tO=RegExp("rgb"+tS(tx,tx,tx)),tE=RegExp("rgba"+tS(tx,tx,tx,tx)),tC=RegExp("hsl"+tS(tx,tk,tk)),tP=RegExp("hsla"+tS(tx,tk,tk,tx)),tj=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tM=/^#([0-9a-fA-F]{6})$/,tA=/^#([0-9a-fA-F]{8})$/;function tI(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tT(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=tI(i,r,e+1/3),a=tI(i,r,e);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*tI(i,r,e-1/3))<<8}function t_(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function tN(e){return(parseFloat(e)%360+360)%360/360}function tF(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function tZ(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function tR(e){var t;let n;let r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=0xffffffff?t:null:(n=tM.exec(t))?parseInt(n[1]+"ff",16)>>>0:tl&&void 0!==tl[t]?tl[t]:(n=tO.exec(t))?(t_(n[1])<<24|t_(n[2])<<16|t_(n[3])<<8|255)>>>0:(n=tE.exec(t))?(t_(n[1])<<24|t_(n[2])<<16|t_(n[3])<<8|tF(n[4]))>>>0:(n=tj.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=tA.exec(t))?parseInt(n[1],16)>>>0:(n=tz.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=tC.exec(t))?(255|tT(tN(n[1]),tZ(n[2]),tZ(n[3])))>>>0:(n=tP.exec(t))?(tT(tN(n[1]),tZ(n[2]),tZ(n[3]))|tF(n[4]))>>>0:null;if(null===r)return e;let i=(0xff000000&(r=r||0))>>>24,o=(0xff0000&r)>>>16,a=(65280&r)>>>8,l=(255&r)/255;return`rgba(${i}, ${o}, ${a}, ${l})`}let tB=(t,n,r)=>{if(e9.fun(t))return t;if(e9.arr(t))return tB({range:t,output:n,extrapolate:r});if(e9.str(t.output[0]))return e(t);let i=t.output,o=t.range||[0,1],a=t.extrapolateLeft||t.extrapolate||"extend",l=t.extrapolateRight||t.extrapolate||"extend",s=t.easing||(e=>e);return e=>{let n=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,l,s){let c=s?s(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===l)return c;"clamp"===l&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(e,o[n],o[n+1],i[n],i[n+1],s,a,l,t.map)}},t$=2.5949095,tD=2.70158,tL=2*Math.PI/3,tW=2*Math.PI/4.5,tq=e=>{if(e<.36363636363636365)return 7.5625*e*e;if(e<.7272727272727273)return 7.5625*(e-=.5454545454545454)*e+.75;if(e<.9090909090909091)return 7.5625*(e-=.8181818181818182)*e+.9375;else return 7.5625*(e-=.9545454545454546)*e+.984375};function tU(){return(tU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let tH=Symbol.for("FluidValue.get"),tV=Symbol.for("FluidValue.observers"),tG=e=>!!(e&&e[tH]),tY=e=>e&&e[tH]?e[tH]():e,tK=e=>e[tV]||null;function tX(e,t){let n=e[tV];n&&n.forEach(e=>{var n,r;n=e,r=t,n.eventObserved?n.eventObserved(r):n(r)})}class tQ{constructor(e){if(this[tH]=void 0,this[tV]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");tJ(this,e)}}let tJ=(e,t)=>t2(e,tH,t);function t0(e,t){if(e[tH]){let n=e[tV];!n&&t2(e,tV,n=new Set),!n.has(t)&&(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function t1(e,t){let n=e[tV];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[tV]=null,e.observerRemoved&&e.observerRemoved(r,t)}}let t2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),t4=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,t3=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,t5=RegExp(`(${t4.source})(%|[a-z]+)`,"i"),t6=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,t7=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,t8=e=>{let[t,n]=t9(e);if(!t||ta())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(e)return e}else if(n&&t7.test(n))return t8(n);else if(n)return n;return e},t9=e=>{let t=t7.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},ne=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,nt=e=>{!n&&(n=tl?RegExp(`(${Object.keys(tl).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>tY(e).replace(t7,t8).replace(t3,tR).replace(n,tR)),r=t.map(e=>e.match(t4).map(Number)),i=r[0].map((e,t)=>r.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>tB(tU({},e,{output:t})));return e=>{var n;let r=!t5.test(t[0])&&(null==(n=t.find(e=>t5.test(e)))?void 0:n.replace(t4,"")),o=0;return t[0].replace(t4,()=>`${i[o++](e)}${r||""}`).replace(t6,ne)}},nn="react-spring: ",nr=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${nn}once requires a function parameter`);return(...n)=>{!t&&(e(...n),t=!0)}},ni=nr(console.warn),no=nr(console.warn);function na(e){return e9.str(e)&&("#"==e[0]||/\d/.test(e)||!ta()&&t7.test(e)||e in(tl||{}))}new WeakMap,new WeakMap,new WeakMap,new WeakMap;let nl=ta()?d.useEffect:d.useLayoutEffect,ns=()=>{let e=(0,d.useRef)(!1);return nl(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function nc(){let e=(0,d.useState)()[1],t=ns();return()=>{t.current&&e(Math.random())}}let nu=e=>(0,d.useEffect)(e,nd),nd=[];function nf(e){let t=(0,d.useRef)();return(0,d.useEffect)(()=>{t.current=e}),t.current}let np=Symbol.for("Animated:node"),nm=e=>!!e&&e[np]===e,nh=e=>e&&e[np],nb=(e,t)=>e8(e,np,t),nv=e=>e&&e[np]&&e[np].getPayload();class ng{constructor(){this.payload=void 0,nb(this,this)}getPayload(){return this.payload||[]}}class ny extends ng{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,e9.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ny(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return e9.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,e9.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class nw extends ny{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=tB({output:[e,e]})}static create(e){return new nw(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(e9.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=tB({output:[this.getValue(),e]})),this._value=0,super.reset()}}let nx={dependencies:null};class nk extends ng{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return tn(this.source,(n,r)=>{nm(n)?t[r]=n.getValue(e):tG(n)?t[r]=tY(n):!e&&(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&tt(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return tn(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){nx.dependencies&&tG(e)&&nx.dependencies.add(e);let t=nv(e);t&&tt(t,e=>this.add(e))}}class nS extends nk{constructor(e){super(e)}static create(e){return new nS(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(nO)),!0)}}function nO(e){return(na(e)?nw:ny).create(e)}function nE(e){let t=nh(e);return t?t.constructor:e9.arr(e)?nS:na(e)?nw:ny}function nC(){return(nC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nP=(e,t)=>{let n=!e9.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,d.forwardRef)((r,i)=>{let o=(0,d.useRef)(null),a=n&&(0,d.useCallback)(e=>{o.current=function(e,t){return e&&(e9.fun(e)?e(t):e.current=t),t}(i,e)},[i]),[l,s]=function(e,t){let n=new Set;return nx.dependencies=n,e.style&&(e=nC({},e,{style:t.createAnimatedStyle(e.style)})),e=new nk(e),nx.dependencies=null,[e,n]}(r,t),c=nc(),u=()=>{let e=o.current;if(!n||!!e)!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&c()},f=new nj(u,s),p=(0,d.useRef)();nl(()=>(p.current=f,tt(s,e=>t0(e,f)),()=>{p.current&&(tt(p.current.deps,e=>t1(e,p.current)),eq.cancel(p.current.update))})),(0,d.useEffect)(u,[]),nu(()=>()=>{let e=p.current;tt(e.deps,t=>t1(t,e))});let m=t.getComponentProps(l.getValue());return d.createElement(e,nC({},m,{ref:a}))})};class nj{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&eq.write(this.update)}}let nz=Symbol.for("AnimatedComponent"),nM=e=>e9.str(e)?e:e&&e9.str(e.displayName)?e.displayName:e9.fun(e)&&e.name||null;function nA(){return(nA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nI(e,...t){return e9.fun(e)?e(...t):e}let nT=(e,t)=>!0===e||!!(t&&e&&(e9.fun(e)?e(t):tr(e).includes(t))),n_=(e,t)=>e9.obj(e)?t&&e[t]:e,nN=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,nF=e=>e,nZ=(e,t=nF)=>{let n=nR;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let n=t(e[i],i);!e9.und(n)&&(r[i]=n)}return r},nR=["config","onProps","onStart","onChange","onPause","onResume","onRest"],nB={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function n$(e){let t=function(e){let t={},n=0;if(tn(e,(e,r)=>{!nB[r]&&(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return tn(e,(e,r)=>r in t||(n[r]=e)),n}return nA({},e)}function nD(e){return e=tY(e),e9.arr(e)?e.map(nD):na(e)?tu.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function nL(e){return e9.fun(e)||e9.arr(e)&&e9.obj(e[0])}let nW=nA({},{tension:170,friction:26},{mass:1,damping:1,easing:e=>e,clamp:!1});class nq{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,nW)}}function nU(e,t){if(e9.und(t.decay)){let n=!e9.und(t.tension)||!e9.und(t.friction);(n||!e9.und(t.frequency)||!e9.und(t.damping)||!e9.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}let nH=[];class nV{constructor(){this.changed=!1,this.values=nH,this.toValues=null,this.fromValues=nH,this.to=void 0,this.from=void 0,this.config=new nq,this.immediate=!1}}function nG(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((a,l)=>{var s;let c,u;let d=nT(null!=(s=n.cancel)?s:null==r?void 0:r.cancel,t);if(d)m();else{!e9.und(n.pause)&&(i.paused=nT(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=i.paused||nT(e,t)),c=nI(n.delay||0,t),e?(i.resumeQueue.add(p),o.pause()):(o.resume(),p())}function f(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),c=u.time-eq.now()}function p(){c>0&&!tu.skipAnimation?(i.delayed=!0,u=eq.setTimeout(m,c),i.pauseQueue.add(f),i.timeouts.add(u)):m()}function m(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(u),e<=(i.cancelId||0)&&(d=!0);try{o.start(nA({},n,{callId:e,cancel:d}),a)}catch(e){l(e)}}})}let nY=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?nQ(e.get()):t.every(e=>e.noop)?nK(e.get()):nX(e.get(),t.every(e=>e.finished)),nK=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),nX=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),nQ=e=>({value:e,cancelled:!0,finished:!1});function nJ(e,t,n,r){let{callId:i,parentId:o,onRest:a}=t,{asyncTo:l,promise:s}=n;return o||e!==l||t.reset?n.promise=(async()=>{let c,u,d;n.asyncId=i,n.asyncTo=e;let f=nZ(t,(e,t)=>"onRest"===t?void 0:e),p=new Promise((e,t)=>(c=e,u=t)),m=e=>{let t=i<=(n.cancelId||0)&&nQ(r)||i!==n.asyncId&&nX(r,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{let o=new n1,a=new n2;return(async()=>{if(tu.skipAnimation)throw n0(n),a.result=nX(r,!1),u(a),a;m(o);let l=e9.obj(e)?nA({},e):nA({},t,{to:e});l.parentId=i,tn(f,(e,t)=>{e9.und(l[t])&&(l[t]=e)});let s=await r.start(l);return m(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),s})()};if(tu.skipAnimation)return n0(n),nX(r,!1);try{let t;t=e9.arr(e)?(async e=>{for(let t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),p]),d=nX(r.get(),!0,!1)}catch(e){if(e instanceof n1)d=e.result;else if(e instanceof n2)d=e.result;else throw e}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?l:void 0,n.promise=o?s:void 0)}return e9.fun(a)&&eq.batchedUpdates(()=>{a(d,r,r.item)}),d})():s}function n0(e,t){ti(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class n1 extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class n2 extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}let n4=e=>e instanceof n5,n3=1;class n5 extends tQ{constructor(...e){super(...e),this.id=n3++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=nh(this);return e&&e.getValue()}to(...e){return tu.to(this,e)}interpolate(...e){return ni(`${nn}The "interpolate" function is deprecated in v9 (use "to" instead)`),tu.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){tX(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){!this.idle&&th.sort(this),tX(this,{type:"priority",parent:this,priority:e})}}let n6=Symbol.for("SpringPhase"),n7=e=>(1&e[n6])>0,n8=e=>(2&e[n6])>0,n9=e=>(4&e[n6])>0,re=(e,t)=>t?e[n6]|=3:e[n6]&=-3,rt=(e,t)=>t?e[n6]|=4:e[n6]&=-5;class rn extends n5{constructor(e,t){if(super(),this.key=void 0,this.animation=new nV,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!e9.und(e)||!e9.und(t)){let n=e9.obj(e)?nA({},e):nA({},t,{from:e});e9.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(n8(this)||this._state.asyncTo)||n9(this)}get goal(){return tY(this.animation.to)}get velocity(){let e=nh(this);return e instanceof ny?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return n7(this)}get isAnimating(){return n8(this)}get isPaused(){return n9(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{config:i,toValues:o}=r,a=nv(r.to);!a&&tG(r.to)&&(o=tr(tY(r.to))),r.values.forEach((l,s)=>{if(l.done)return;let c=l.constructor==nw?1:a?a[s].lastPosition:o[s],u=r.immediate,d=c;if(!u){let t;if(d=l.lastPosition,i.tension<=0){l.done=!0;return}let n=l.elapsedTime+=e,o=r.fromValues[s],a=null!=l.v0?l.v0:l.v0=e9.arr(i.velocity)?i.velocity[s]:i.velocity,f=i.precision||(o==c?.005:Math.min(1,.001*Math.abs(c-o)));if(e9.und(i.duration)){if(i.decay){let e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*n);d=o+a/(1-e)*(1-r),u=Math.abs(l.lastPosition-d)<=f,t=a*r}else{t=null==l.lastVelocity?a:l.lastVelocity;let n=i.restVelocity||f/10,r=i.clamp?0:i.bounce,s=!e9.und(r),p=o==c?l.v0>0:o<c,m=!1,h=Math.ceil(e/1);for(let e=0;e<h&&!(!(Math.abs(t)>n)&&(u=Math.abs(c-d)<=f));++e){;s&&(m=d==c||d>c==p)&&(t=-t*r,d=c);let e=-(1e-6*i.tension)*(d-c),n=(e+-(.001*i.friction)*t)/i.mass;t+=1*n,d+=1*t}}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,l.durationProgress>0&&(l.elapsedTime=i.duration*l.durationProgress,n=l.elapsedTime+=e)),r=(r=(i.progress||0)+n/this._memoizedDuration)>1?1:r<0?0:r,l.durationProgress=r),t=((d=o+i.easing(r)*(c-o))-l.lastPosition)/e,u=1==r}l.lastVelocity=t,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[s].done&&(u=!1),u?l.done=!0:t=!1,l.setValue(d,i.round)&&(n=!0)});let l=nh(this),s=l.getValue();if(t){let e=tY(r.to);(s!==e||n)&&!i.decay?(l.setValue(e),this._onChange(e)):n&&i.decay&&this._onChange(s),this._stop()}else n&&this._onChange(s)}set(e){return eq.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(n8(this)){let{to:e,config:t}=this.animation;eq.batchedUpdates(()=>{this._onStart(),!t.decay&&this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return e9.und(e)?(n=this.queue||[],this.queue=[]):n=[e9.obj(e)?e:nA({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>nY(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),n0(this._state,e&&this._lastCallId),eq.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=e9.obj(n)?n[t]:n)||nL(n))&&(n=void 0),null==(r=e9.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return!n7(this)&&(e.reverse&&([n,r]=[r,n]),r=tY(r),e9.und(r)?!nh(this)&&this._set(n):this._set(r)),i}_update(e,t){let n=nA({},e),{key:r,defaultProps:i}=this;n.default&&Object.assign(i,nZ(n,(e,t)=>/^on/.test(t)?n_(e,r):e)),rs(this,n,"onProps"),rc(this,"onProps",n,this);let o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return nG(++this._lastCallId,{key:r,props:n,defaultProps:i,state:a,actions:{pause:()=>{!n9(this)&&(rt(this,!0),to(a.pauseQueue),rc(this,"onPause",nX(this,rr(this,this.animation.to)),this))},resume:()=>{n9(this)&&(rt(this,!1),n8(this)&&this._resume(),to(a.resumeQueue),rc(this,"onResume",nX(this,rr(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(e=>{if(n.loop&&e.finished&&!(t&&e.noop)){let e=ri(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(nQ(this));let r=!e9.und(e.to),i=!e9.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(nQ(this));this._lastToId=t.callId}let{key:o,defaultProps:a,animation:l}=this,{to:s,from:c}=l,{to:u=s,from:d=c}=e;i&&!r&&(!t.default||e9.und(u))&&(u=d),t.reverse&&([u,d]=[d,u]);let f=!te(d,c);f&&(l.from=d),d=tY(d);let p=!te(u,s);p&&this._focus(u);let m=nL(t.to),{config:h}=l,{decay:b,velocity:v}=h;(r||i)&&(h.velocity=0),t.config&&!m&&!function(e,t,n){for(let r in n&&(nU(n=nA({},n),t),t=nA({},n,t)),nU(e,t),Object.assign(e,t),nW)null==e[r]&&(e[r]=nW[r]);let{mass:r,frequency:i,damping:o}=e;!e9.und(i)&&(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*r,e.friction=4*Math.PI*o*r/i)}(h,nI(t.config,o),t.config!==a.config?nI(a.config,o):void 0);let g=nh(this);if(!g||e9.und(u))return n(nX(this,!0));let y=e9.und(t.reset)?i&&!t.default:!e9.und(d)&&nT(t.reset,o),w=y?d:this.get(),x=nD(u),k=e9.num(x)||e9.arr(x)||na(x),S=!m&&(!k||nT(a.immediate||t.immediate,o));if(p){let e=nE(u);if(e!==g.constructor){if(S)g=this._set(x);else throw Error(`Cannot animate between ${g.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let O=g.constructor,E=tG(u),C=!1;if(!E){let e=y||!n7(this)&&f;(p||e)&&(E=!(C=te(nD(w),x))),(!te(l.immediate,S)&&!S||!te(h.decay,b)||!te(h.velocity,v))&&(E=!0)}if(C&&n8(this)&&(l.changed&&!y?E=!0:!E&&this._stop(s)),!m&&((E||tG(s))&&(l.values=g.getPayload(),l.toValues=tG(u)?null:O==nw?[1]:tr(x)),l.immediate!=S&&(l.immediate=S,!S&&!y&&this._set(s)),E)){let{onRest:e}=l;tt(rl,e=>rs(this,t,e));let r=nX(this,rr(this,s));to(this._pendingCalls,r),this._pendingCalls.add(n),l.changed&&eq.batchedUpdates(()=>{l.changed=!y,null==e||e(r,this),y?nI(a.onRest,r):null==l.onStart||l.onStart(r,this)})}y&&this._set(w),m?n(nJ(t.to,t,this._state,this)):E?this._start():n8(this)&&!p?this._pendingCalls.add(n):n(nK(w))}_focus(e){let t=this.animation;e!==t.to&&(tK(this)&&this._detach(),t.to=e,tK(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;tG(t)&&(t0(t,this),n4(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;tG(e)&&t1(e,this)}_set(e,t=!0){let n=tY(e);if(!e9.und(n)){let e=nh(this);if(!e||!te(n,e.getValue())){let r=nE(n);e&&e.constructor==r?e.setValue(n):nb(this,r.create(n)),e&&eq.batchedUpdates(()=>{this._onChange(n,t)})}}return nh(this)}_onStart(){let e=this.animation;!e.changed&&(e.changed=!0,rc(this,"onStart",nX(this,rr(this,e.to)),this))}_onChange(e,t){!t&&(this._onStart(),nI(this.animation.onChange,e,this)),nI(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;nh(this).reset(tY(e.to)),!e.immediate&&(e.fromValues=e.values.map(e=>e.lastPosition)),!n8(this)&&(re(this,!0),!n9(this)&&this._resume())}_resume(){tu.skipAnimation?this.finish():th.start(this)}_stop(e,t){if(n8(this)){re(this,!1);let n=this.animation;tt(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),tX(this,{type:"idle",parent:this});let r=t?nQ(this.get()):nX(this.get(),rr(this,null!=e?e:n.to));to(this._pendingCalls,r),n.changed&&(n.changed=!1,rc(this,"onRest",r,this))}}}function rr(e,t){let n=nD(t);return te(nD(e.get()),n)}function ri(e,t=e.loop,n=e.to){let r=nI(t);if(r){let i=!0!==r&&n$(r),o=(i||e).reverse,a=!i||i.reset;return ro(nA({},e,{loop:t,default:!1,pause:void 0,to:!o||nL(n)?n:void 0,from:a?e.from:void 0,reset:a},i))}}function ro(e){let{to:t,from:n}=e=n$(e),r=new Set;return e9.obj(t)&&ra(t,r),e9.obj(n)&&ra(n,r),e.keys=r.size?Array.from(r):null,e}function ra(e,t){tn(e,(e,n)=>null!=e&&t.add(n))}let rl=["onStart","onRest","onChange","onPause","onResume"];function rs(e,t,n){e.animation[n]=t[n]!==nN(t,n)?n_(t[n],e.key):void 0}function rc(e,t,...n){var r,i,o,a;null==(r=(i=e.animation)[t])||r.call(i,...n),null==(o=(a=e.defaultProps)[t])||o.call(a,...n)}let ru=["onStart","onChange","onRest"],rd=1;class rf{constructor(e,t){this.id=rd++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(nA({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];!e9.und(n)&&this.springs[t].set(n)}}update(e){return e&&this.queue.push(ro(e)),this}start(e){let{queue:t}=this;return(e?t=tr(e).map(ro):this.queue=[],this._flush)?this._flush(this,t):(ry(this,t),rp(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;tt(tr(t),t=>n[t].stop(!!e))}else n0(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(e9.und(e))this.start({pause:!0});else{let t=this.springs;tt(tr(e),e=>t[e].pause())}return this}resume(e){if(e9.und(e))this.start({pause:!1});else{let t=this.springs;tt(tr(e),e=>t[e].resume())}return this}each(e){tn(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,ti(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&ti(t,([e,t])=>{t.value=a,e(t,this,this._item)}),o&&(this._started=!1,ti(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),!e.idle&&this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}eq.onFrame(this._onFrame)}}function rp(e,t){return Promise.all(t.map(t=>rm(e,t))).then(t=>nY(e,t))}async function rm(e,t,n){let{keys:r,to:i,from:o,loop:a,onRest:l,onResolve:s}=t,c=e9.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);let u=e9.arr(i)||e9.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):tt(ru,n=>{let r=t[n];if(e9.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(!e&&(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}});let d=e._state;!d.paused===t.pause?(d.paused=t.pause,to(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let f=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),p=!0===t.cancel||!0===nN(t,"cancel");(u||p&&d.asyncId)&&f.push(nG(++e._lastAsyncId,{props:t,state:d,actions:{pause:e7,resume:e7,start(t,n){p?(n0(d,e._lastAsyncId),n(nQ(e))):(t.onRest=l,n(nJ(u,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let m=nY(e,await Promise.all(f));if(a&&m.finished&&!(n&&m.noop)){let n=ri(t,a,i);if(n)return ry(e,[n]),rm(e,n,!0)}return s&&eq.batchedUpdates(()=>s(m,e,e.item)),m}function rh(e,t){let n=nA({},e.springs);return t&&tt(tr(t),e=>{e9.und(e.keys)&&(e=ro(e)),!e9.obj(e.to)&&(e=nA({},e,{to:void 0})),rg(n,e,e=>rv(e))}),rb(e,n),n}function rb(e,t){tn(t,(t,n)=>{!e.springs[n]&&(e.springs[n]=t,t0(t,e))})}function rv(e,t){let n=new rn;return n.key=e,t&&t0(n,t),n}function rg(e,t,n){t.keys&&tt(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function ry(e,t){tt(t,t=>{rg(e.springs,t,t=>rv(t,e))})}let rw=["children"],rx=e=>{let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,rw),r=(0,d.useContext)(rk),i=n.pause||!!r.pause,o=n.immediate||!!r.immediate;n=function(e,t){let[n]=(0,d.useState)(()=>({inputs:t,result:e()})),r=(0,d.useRef)(),i=r.current,o=i;return o?!(t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.inputs))&&(o={inputs:t,result:e()}):o=n,(0,d.useEffect)(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}(()=>({pause:i,immediate:o}),[i,o]);let{Provider:a}=rk;return d.createElement(a,{value:n},t)},rk=function(e,t){return Object.assign(e,d.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(rx,{});rx.Provider=rk.Provider,rx.Consumer=rk.Consumer;let rS=()=>{let e=[],t=function(t){no(`${nn}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);let r=[];return tt(e,(e,i)=>{if(e9.und(t))r.push(e.start());else{let o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){!e.includes(t)&&e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return tt(e,e=>e.pause(...arguments)),this},t.resume=function(){return tt(e,e=>e.resume(...arguments)),this},t.set=function(t){tt(e,e=>e.set(t))},t.start=function(t){let n=[];return tt(e,(e,r)=>{if(e9.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return tt(e,e=>e.stop(...arguments)),this},t.update=function(t){return tt(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return e9.fun(e)?e(n,t):e};return t._getProps=n,t};function rO(e,t){let n=e9.fun(e),[[r],i]=function(e,t,n){let r=e9.fun(t)&&t;r&&!n&&(n=[]);let i=(0,d.useMemo)(()=>r||3==arguments.length?rS():void 0,[]),o=(0,d.useRef)(0),a=nc(),l=(0,d.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=rh(e,t);return!(o.current>0)||l.queue.length||Object.keys(n).some(t=>!e.springs[t])?new Promise(r=>{rb(e,n),l.queue.push(()=>{r(rp(e,t))}),a()}):rp(e,t)}}),[]),s=(0,d.useRef)([...l.ctrls]),c=[],u=nf(e)||0;function f(e,n){for(let i=e;i<n;i++){let e=s.current[i]||(s.current[i]=new rf(null,l.flush)),n=r?r(i,e):t[i];n&&(c[i]=function(e){let t=ro(e);return e9.und(t.default)&&(t.default=nZ(t)),t}(n))}}(0,d.useMemo)(()=>{tt(s.current.slice(e,u),e=>{var t,n,r;t=e,n=i,null==(r=t.ref)||r.delete(t),null==n||n.delete(t),e.stop(!0)}),s.current.length=e,f(u,e)},[e]),(0,d.useMemo)(()=>{f(0,Math.min(u,e))},n);let p=s.current.map((e,t)=>rh(e,c[t])),m=(0,d.useContext)(rx),h=nf(m),b=m!==h&&function(e){for(let t in e)return!0;return!1}(m);nl(()=>{o.current++,l.ctrls=s.current;let{queue:e}=l;e.length&&(l.queue=[],tt(e,e=>e())),tt(s.current,(e,t)=>{null==i||i.add(e),b&&e.start({default:m});let n=c[t];n&&(!function(e,t){if(t&&e.ref!==t){var n;null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t}}(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),nu(()=>()=>{tt(l.ctrls,e=>e.stop(!0))});let v=p.map(e=>nA({},e));return i?[v,i]:v}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}(o=r||(r={})).MOUNT="mount",o.ENTER="enter",o.UPDATE="update",o.LEAVE="leave";class rE extends n5{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=tB(...t);let n=this._get();nb(this,nE(n).create(n))}advance(e){let t=this._get();!te(t,this.get())&&(nh(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&rP(this._active)&&rj(this)}_get(){let e=e9.arr(this.source)?this.source.map(tY):tr(tY(this.source));return this.calc(...e)}_start(){this.idle&&!rP(this._active)&&(this.idle=!1,tt(nv(this),e=>{e.done=!1}),tu.skipAnimation?(eq.batchedUpdates(()=>this.advance()),rj(this)):th.start(this))}_attach(){let e=1;tt(tr(this.source),t=>{tG(t)&&t0(t,this),n4(t)&&(!t.idle&&this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){tt(tr(this.source),e=>{tG(e)&&t1(e,this)}),this._active.clear(),rj(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=tr(this.source).reduce((e,t)=>Math.max(e,(n4(t)?t.priority:0)+1),0))}}function rC(e){return!1!==e.idle}function rP(e){return!e.size||Array.from(e).every(rC)}function rj(e){!e.idle&&(e.idle=!0,tt(nv(e),e=>{e.done=!0}),tX(e,{type:"idle",parent:e}))}tu.assign({createStringInterpolator:nt,to:(e,t)=>new rE(e,t)}),th.advance;var rz=y("7111");function rM(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}let rA=["style","children","scrollTop","scrollLeft","viewBox"],rI=/^--/,rT={},r_={animationIterationCount:!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,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},rN=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),rF=["Webkit","Ms","Moz","O"];r_=Object.keys(r_).reduce((e,t)=>(rF.forEach(n=>e[rN(n,t)]=e[t]),e),r_);let rZ=["x","y","z"],rR=/^(matrix|translate|scale|rotate|skew)/,rB=/^(translate)/,r$=/^(rotate|skew)/,rD=(e,t)=>e9.num(e)&&0!==e?e+t:e,rL=(e,t)=>e9.arr(e)?e.every(e=>rL(e,t)):e9.num(e)?e===t:parseFloat(e)===t;class rW extends nk{constructor(e){let{x:t,y:n,z:r}=e,i=rM(e,rZ),o=[],a=[];(t||n||r)&&(o.push([t||0,n||0,r||0]),a.push(e=>[`translate3d(${e.map(e=>rD(e,"px")).join(",")})`,rL(e,0)])),tn(i,(e,t)=>{if("transform"===t)o.push([e||""]),a.push(e=>[e,""===e]);else if(rR.test(t)){if(delete i[t],e9.und(e))return;let n=rB.test(t)?"px":r$.test(t)?"deg":"";o.push(tr(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${rD(i,n)})`,rL(i,0)]:e=>[`${t}(${e.map(e=>rD(e,n)).join(",")})`,rL(e,t.startsWith("scale")?1:0)])}}),o.length&&(i.transform=new rq(o,a)),super(i)}}class rq extends tQ{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return tt(this.inputs,(n,r)=>{let i=tY(n[0]),[o,a]=this.transforms[r](e9.arr(i)?i:n.map(tY));e+=" "+o,t=t&&a}),t?"none":e}observerAdded(e){1==e&&tt(this.inputs,e=>tt(e,e=>tG(e)&&t0(e,this)))}observerRemoved(e){0==e&&tt(this.inputs,e=>tt(e,e=>tG(e)&&t1(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),tX(this,e)}}let rU=["scrollTop","scrollLeft"];tu.assign({batchedUpdates:rz.unstable_batchedUpdates,createStringInterpolator:nt,colors:{transparent:0,aliceblue:0xf0f8ffff,antiquewhite:0xfaebd7ff,aqua:0xffffff,aquamarine:0x7fffd4ff,azure:0xf0ffffff,beige:0xf5f5dcff,bisque:0xffe4c4ff,black:255,blanchedalmond:0xffebcdff,blue:65535,blueviolet:0x8a2be2ff,brown:0xa52a2aff,burlywood:0xdeb887ff,burntsienna:0xea7e5dff,cadetblue:0x5f9ea0ff,chartreuse:0x7fff00ff,chocolate:0xd2691eff,coral:0xff7f50ff,cornflowerblue:0x6495edff,cornsilk:0xfff8dcff,crimson:0xdc143cff,cyan:0xffffff,darkblue:35839,darkcyan:9145343,darkgoldenrod:0xb8860bff,darkgray:0xa9a9a9ff,darkgreen:6553855,darkgrey:0xa9a9a9ff,darkkhaki:0xbdb76bff,darkmagenta:0x8b008bff,darkolivegreen:0x556b2fff,darkorange:0xff8c00ff,darkorchid:0x9932ccff,darkred:0x8b0000ff,darksalmon:0xe9967aff,darkseagreen:0x8fbc8fff,darkslateblue:0x483d8bff,darkslategray:0x2f4f4fff,darkslategrey:0x2f4f4fff,darkturquoise:0xced1ff,darkviolet:0x9400d3ff,deeppink:0xff1493ff,deepskyblue:0xbfffff,dimgray:0x696969ff,dimgrey:0x696969ff,dodgerblue:0x1e90ffff,firebrick:0xb22222ff,floralwhite:0xfffaf0ff,forestgreen:0x228b22ff,fuchsia:0xff00ffff,gainsboro:0xdcdcdcff,ghostwhite:0xf8f8ffff,gold:0xffd700ff,goldenrod:0xdaa520ff,gray:0x808080ff,green:8388863,greenyellow:0xadff2fff,grey:0x808080ff,honeydew:0xf0fff0ff,hotpink:0xff69b4ff,indianred:0xcd5c5cff,indigo:0x4b0082ff,ivory:0xfffff0ff,khaki:0xf0e68cff,lavender:0xe6e6faff,lavenderblush:0xfff0f5ff,lawngreen:0x7cfc00ff,lemonchiffon:0xfffacdff,lightblue:0xadd8e6ff,lightcoral:0xf08080ff,lightcyan:0xe0ffffff,lightgoldenrodyellow:0xfafad2ff,lightgray:0xd3d3d3ff,lightgreen:0x90ee90ff,lightgrey:0xd3d3d3ff,lightpink:0xffb6c1ff,lightsalmon:0xffa07aff,lightseagreen:0x20b2aaff,lightskyblue:0x87cefaff,lightslategray:0x778899ff,lightslategrey:0x778899ff,lightsteelblue:0xb0c4deff,lightyellow:0xffffe0ff,lime:0xff00ff,limegreen:0x32cd32ff,linen:0xfaf0e6ff,magenta:0xff00ffff,maroon:0x800000ff,mediumaquamarine:0x66cdaaff,mediumblue:52735,mediumorchid:0xba55d3ff,mediumpurple:0x9370dbff,mediumseagreen:0x3cb371ff,mediumslateblue:0x7b68eeff,mediumspringgreen:0xfa9aff,mediumturquoise:0x48d1ccff,mediumvioletred:0xc71585ff,midnightblue:0x191970ff,mintcream:0xf5fffaff,mistyrose:0xffe4e1ff,moccasin:0xffe4b5ff,navajowhite:0xffdeadff,navy:33023,oldlace:0xfdf5e6ff,olive:0x808000ff,olivedrab:0x6b8e23ff,orange:0xffa500ff,orangered:0xff4500ff,orchid:0xda70d6ff,palegoldenrod:0xeee8aaff,palegreen:0x98fb98ff,paleturquoise:0xafeeeeff,palevioletred:0xdb7093ff,papayawhip:0xffefd5ff,peachpuff:0xffdab9ff,peru:0xcd853fff,pink:0xffc0cbff,plum:0xdda0ddff,powderblue:0xb0e0e6ff,purple:0x800080ff,rebeccapurple:0x663399ff,red:0xff0000ff,rosybrown:0xbc8f8fff,royalblue:0x4169e1ff,saddlebrown:0x8b4513ff,salmon:0xfa8072ff,sandybrown:0xf4a460ff,seagreen:0x2e8b57ff,seashell:0xfff5eeff,sienna:0xa0522dff,silver:0xc0c0c0ff,skyblue:0x87ceebff,slateblue:0x6a5acdff,slategray:0x708090ff,slategrey:0x708090ff,snow:0xfffafaff,springgreen:0xff7fff,steelblue:0x4682b4ff,tan:0xd2b48cff,teal:8421631,thistle:0xd8bfd8ff,tomato:0xff6347ff,turquoise:0x40e0d0ff,violet:0xee82eeff,wheat:0xf5deb3ff,white:0xffffffff,whitesmoke:0xf5f5f5ff,yellow:0xffff00ff,yellowgreen:0x9acd32ff}});let rH=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new nk(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{let t=nM(e)||"Anonymous";return(e=e9.str(e)?o[e]||(o[e]=nP(e,i)):e[nz]||(e[nz]=nP(e,i))).displayName=`Animated(${t})`,e};return tn(e,(t,n)=>{e9.arr(e)&&(n=nM(t)),o[n]=o(t)}),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:a,viewBox:l}=t,s=rM(t,rA),c=Object.values(s),u=Object.keys(s).map(t=>n||e.hasAttribute(t)?t:rT[t]||(rT[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(t)){var d,f;let n=(d=t,null==(f=r[t])||"boolean"==typeof f||""===f?"":"number"!=typeof f||0===f||rI.test(d)||r_.hasOwnProperty(d)&&r_[d]?(""+f).trim():f+"px");rI.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new rW(e),getComponentProps:e=>rM(e,rU)}).animated;function rV(e,t){if(Z&&e){var n;let r=("function"==typeof(n=e)?n():n)||document.body;return(0,rz.createPortal)(t,r)}return t}let rG=e=>(function(e,t,n){let r=function(e){let t=(0,d.useRef)(e);return e&&(t.current=!0),!!t.current}(e);return!!t||!!e||!!r&&!n})(e.active,e.forceRender,e.destroyOnClose)?e.children:null,rY={click:"onClick",touchstart:"onTouchStart"};function rK(e,t){let n=Object.assign({},t.props);for(let r of e){let e=rY[r];n[e]=function(n){var r,i;n.stopPropagation(),null===(i=(r=t.props)[e])||void 0===i||i.call(r,n)}}return f().cloneElement(t,n)}let rX="adm-mask",rQ={default:.55,thin:.35,thick:.75},rJ={black:"0, 0, 0",white:"255, 255, 255"},r0={visible:!0,destroyOnClose:!1,forceRender:!1,color:"black",opacity:"default",disableBodyScroll:!0,getContainer:null,stopPropagation:["click"]};var r1=e=>{let t=Q(r0,e),{locale:n}=em(),r=(0,d.useRef)(null);eL(r,t.visible&&t.disableBodyScroll);let i=(0,d.useMemo)(()=>{var e;let n=null!==(e=rQ[t.opacity])&&void 0!==e?e:t.opacity,r=rJ[t.color];return r?`rgba(${r}, ${n})`:t.color},[t.color,t.opacity]),[o,a]=(0,d.useState)(t.visible),l=(0,es.useUnmountedRef)(),{opacity:s}=rO({opacity:t.visible?1:0,config:{precision:.01,mass:1,tension:250,friction:30,clamp:!0},onStart:()=>{a(!0)},onRest:()=>{var e,n;!l.current&&(a(t.visible),t.visible?null===(e=t.afterShow)||void 0===e||e.call(t):null===(n=t.afterClose)||void 0===n||n.call(t))}}),c=rK(t.stopPropagation,L(t,f().createElement(rH.div,{className:rX,ref:r,"aria-hidden":!0,style:Object.assign(Object.assign({},t.style),{background:i,opacity:s,display:o?void 0:"none"}),onClick:e=>{var n;e.target===e.currentTarget&&(null===(n=t.onMaskClick)||void 0===n||n.call(t,e))}},t.onMaskClick&&f().createElement("div",{className:`${rX}-aria-button`,role:"button","aria-label":n.Mask.name,onClick:t.onMaskClick}),f().createElement("div",{className:`${rX}-content`},t.children))));return f().createElement(rG,{active:o,forceRender:t.forceRender,destroyOnClose:t.destroyOnClose},rV(t.getContainer,c))},r2=function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"CloseOutline-CloseOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"CloseOutline-编组"},d.createElement("rect",{id:"CloseOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M10.6085104,8.11754663 L24.1768397,21.8195031 L24.1768397,21.8195031 L37.7443031,8.1175556 C37.8194278,8.04168616 37.9217669,7.999 38.0285372,7.999 L41.1040268,7.999 C41.3249407,7.999 41.5040268,8.1780861 41.5040268,8.399 C41.5040268,8.50440471 41.4624226,8.60554929 41.3882578,8.68044752 L26.2773302,23.9408235 L26.2773302,23.9408235 L41.5021975,39.3175645 C41.65763,39.4745475 41.6563731,39.7278104 41.4993901,39.8832429 C41.4244929,39.9574004 41.3233534,39.999 41.2179546,39.999 L38.1434012,39.999 C38.0366291,39.999 37.9342885,39.9563124 37.8591634,39.8804408 L24.1768397,26.0621438 L24.1768397,26.0621438 L10.4936501,39.8804497 C10.4185257,39.9563159 10.3161889,39.999 10.2094212,39.999 L7.13584526,39.999 C6.91493136,39.999 6.73584526,39.8199139 6.73584526,39.599 C6.73584526,39.4936017 6.77744443,39.3924627 6.85160121,39.3175656 L22.0763492,23.9408235 L22.0763492,23.9408235 L6.96554081,8.68044639 C6.81010226,8.52346929 6.81134951,8.27020637 6.9683266,8.11476782 C7.04322474,8.04060377 7.14436883,7.999 7.24977299,7.999 L10.3242852,7.999 C10.4310511,7.999 10.5333863,8.04168267 10.6085104,8.11754663 Z",id:"CloseOutline-路径",fill:"currentColor",fillRule:"nonzero"}))))};let r4={closeOnMaskClick:!1,closeIcon:f().createElement(r2,null),destroyOnClose:!1,disableBodyScroll:!0,forceRender:!1,getContainer:()=>document.body,mask:!0,showCloseButton:!1,stopPropagation:["click"],visible:!1};function r3(e){let[t,n]=(0,d.useState)(e);return(0,es.useIsomorphicLayoutEffect)(()=>{n(e)},[e]),t}let r5={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function r6(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function r7(e,t,n,r=.15){if(0===r)return Math.max(t,Math.min(e,n));return e<t?-r6(t-e,n-t,r)+t:e>n?+r6(e-n,n-t,r)+n:e}function r8(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r9(Object(n),!0).forEach(function(t){r8(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r9(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let it={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function ir(e){return e?e[0].toUpperCase()+e.slice(1):""}let ii=["enter","leave"],io=["gotpointercapture","lostpointercapture"];function ia(e){return"touches"in e}function il(e){return ia(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function is(e){var t;return ia(e)?("touchend"===(t=e).type||"touchcancel"===t.type?t.changedTouches:t.targetTouches)[0]:e}function ic(e){let t=is(e);return ia(e)?t.identifier:t.pointerId}function iu(e){let t=is(e);return[t.clientX,t.clientY]}function id(e,...t){return"function"==typeof e?e(...t):e}function ip(){}function im(e,t){return Object.assign({},t,e||{})}class ih{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,!this.state&&(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:e,shared:t,ingKey:n,args:r}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){let t=this.state,n=this.config;!t._active&&(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?id(n.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=e.timeStamp)}computeValues(e){let t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){let e=this.state;e._initial=e._values,e.initial=e.values}compute(e){let{state:t,config:n,shared:r}=this;t.args=this.args;let i=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,r.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,r.locked=!!document.pointerLockElement,Object.assign(r,function(e){let t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){let{shiftKey:n,altKey:r,metaKey:i,ctrlKey:o}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:i,ctrlKey:o})}return t}(e)),r.down=r.pressed=r.buttons%2==1||r.touches>0,i=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){let e=t._delta.map(Math.abs);r5.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);let[o,a]=t._movement,[l,s]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(o)>=l&&u[0]),!1===c[1]&&(c[1]=Math.abs(a)>=s&&u[1])):(!1===c[0]&&(c[0]=Math.abs(o)>=l&&Math.sign(o)*l),!1===c[1]&&(c[1]=Math.abs(a)>=s&&Math.sign(a)*s)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;let d=[0,0];if(n.hasCustomTransform){let[e,t]=u;d[0]=!1!==c[0]?e-c[0]:0,d[1]=!1!==c[1]?t-c[1]:0}else d[0]=!1!==c[0]?o-c[0]:0,d[1]=!1!==c[1]?a-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);let f=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=r[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=id(n.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));let[m,h]=t.offset,[[b,v],[g,y]]=t._bounds;t.overflow=[m<b?-1:m>v?1:0,h<g?-1:h>y?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);let w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[r,i]){let[[o,a],[l,s]]=e;return[r7(t,o,a,r),r7(n,l,s,i)]}(t._bounds,t.offset,w),t.delta=r5.sub(t.offset,f),this.computeMovement(),p&&(!t.last||i>32)){t.delta=r5.sub(t.offset,f);let e=t.delta.map(Math.abs);r5.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&i>0&&(t.velocity=[e[0]/i,e[1]/i],t.timeDelta=i)}}emit(){let e=this.state,t=this.shared,n=this.config;if(!e._active&&this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;let r=this.handler(ie(ie(ie({},t),e),{},{[this.aliasKey]:e.values}));void 0!==r&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class ib extends ih{constructor(...e){super(...e),r8(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=r5.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=r5.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){let t=this.state,n=this.config;if(!t.axis&&e){let r="object"==typeof n.axisThreshold?n.axisThreshold[il(e)]:n.axisThreshold;t.axis=function([e,t],n){let r=Math.abs(e),i=Math.abs(t);return r>i&&r>n?"x":i>r&&i>n?"y":void 0}(t._movement,r)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}let iv=e=>e,ig={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>ie(ie({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return r5.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?r5.toVector(e):void 0,transform(e,t,n){let r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||iv},threshold:e=>r5.toVector(e,0)},iy=0,iw=ie(ie({},ig),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=iy)=>e,bounds(e={}){if("function"==typeof e)return t=>iw.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;let{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:i=1/0}=e;return[[t,n],[r,i]]}}),ix={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]},ik="undefined"!=typeof window&&window.document&&window.document.createElement;function iS(){return ik&&"ontouchstart"in window}let iO={isBrowser:ik,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:iS(),touchscreen:iS()||ik&&window.navigator.maxTouchPoints>1,pointer:ik&&"onpointerdown"in window,pointerLock:ik&&"exitPointerLock"in window.document},iE=10,iC={mouse:0,touch:0,pen:8},iP=ie(ie({},iw),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:i=!1}={}}){return(this.pointerLock=r&&iO.pointerLock,iO.touch&&n)?"touch":this.pointerLock?"mouse":iO.pointer&&!i?"pointer":iO.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,iO.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:i=!0}={}}){return this.pointerButtons=r,this.keys=i,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:i}){let o=r5.toVector(e,n?r:i?1:0);return this.filterTaps=n,this.tapsThreshold=r,o},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(r5.toVector(e)),distance:this.transform(r5.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?ie(ie({},iC),e):iC,keyboardDisplacement:(e=iE)=>e});ie(ie({},ig),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!iO.touch&&iO.gesture)return"gesture";if(iO.touch&&r)return"touch";if(iO.touchscreen){if(iO.pointer)return"pointer";if(iO.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){let i=e=>{let t=im(id(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},o=e=>{let t=im(id(r,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof r?[i(),o()]:e=>[i(e),o(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,r5.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),ie(ie({},iw),{},{mouseOnly:(e=!0)=>e});ie(ie({},iw),{},{mouseOnly:(e=!0)=>e});let ij=new Map,iz=new Map;function iM(e){ij.set(e.key,e.engine),iz.set(e.key,e.resolver)}let iA={key:"drag",engine:class e extends ib{constructor(...e){super(...e),r8(this,"ingKey","dragging")}reset(){super.reset();let e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){let e=this.state;if(e._bounds instanceof HTMLElement){let t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=iw.bounds(r)}}cancel(){let e=this.state;!e.canceled&&(e.canceled=!0,e._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){let t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;let r=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),(!r||!(r.size>1)||!n._pointerActive)&&(this.start(e),this.setupPointer(e),n._pointerId=ic(e),n._pointerActive=!0,this.computeValues(iu(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==il(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){let t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){let t=this.state,n=this.config;if(!t._pointerActive)return;let r=ic(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;let i=iu(e);if(document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=r5.sub(i,t._values),this.computeValues(i)),r5.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional){this.timeoutStore.remove("dragDelay"),t.active=!1,this.startPointerDrag(e);return}if(n.preventScrollAxis&&!t._preventScroll){if(!t.axis)return;if(t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis){t._active=!1,this.clean();return}this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(e);return}this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}let t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;let r=ic(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);let[i,o]=t._distance;if(t.tap=i<=n.tapsThreshold&&o<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{let[e,r]=t._delta,[i,o]=t._movement,[a,l]=n.swipe.velocity,[s,c]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTime<u){let n=Math.abs(e/t.timeDelta),u=Math.abs(r/t.timeDelta);n>a&&Math.abs(i)>s&&(t.swipe[0]=Math.sign(e)),u>l&&Math.abs(o)>c&&(t.swipe[1]=Math.sign(r))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){let t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),!t.pointerCapture&&(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);let t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){let t=ix[e.key];if(t){let n=this.state,r=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,r),n._keyboardActive=!0,r5.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in ix&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){let t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:iP},iI={key:"wheel",engine:class e extends ib{constructor(...e){super(...e),r8(this,"ingKey","wheeling")}wheel(e){!this.state._active&&this.start(e),this.wheelChange(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(e){let t=this.state;t._delta=function(e){let{deltaX:t,deltaY:n,deltaMode:r}=e;return 1===r?(t*=40,n*=40):2===r&&(t*=800,n*=800),[t,n]}(e),r5.addTo(t._movement,t._delta),!function(e){let[t,n]=e.overflow,[r,i]=e._delta,[o,a]=e._direction;(t<0&&r>0&&o<0||t>0&&r<0&&o>0)&&(e._movement[0]=e._movementBound[0]),(n<0&&i>0&&a<0||n>0&&i<0&&a>0)&&(e._movement[1]=e._movementBound[1])}(t),this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("wheel","",this.wheel.bind(this))}},resolver:iw},iT={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=iO.isBrowser?window:void 0)=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},i_=["target","eventOptions","window","enabled","transform"];function iN(e={},t){let n={};for(let[r,i]of Object.entries(t))switch(typeof i){case"function":n[r]=i.call(n,e[r],r,e);break;case"object":n[r]=iN(e[r],i);break;case"boolean":i&&(n[r]=e[r])}return n}class iF{constructor(e,t){r8(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,r,i){let o=this._listeners,a=function(e,t=""){let n=it[e];return e+(n&&n[t]||t)}(t,n),l=ie(ie({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),i);e.addEventListener(a,r,l);let s=()=>{e.removeEventListener(a,r,l),o.delete(s)};return o.add(s),s}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class iZ{constructor(){r8(this,"_timeouts",new Map)}add(e,t,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...r))}remove(e){let t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class iR{constructor(e){r8(this,"gestures",new Set),r8(this,"_targetEventStore",new iF(this)),r8(this,"gestureEventStores",{}),r8(this,"gestureTimeoutStores",{}),r8(this,"handlers",{}),r8(this,"config",{}),r8(this,"pointerIds",new Set),r8(this,"touchIds",new Set),r8(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&iB(e,"drag"),t.wheel&&iB(e,"wheel"),t.scroll&&iB(e,"scroll"),t.move&&iB(e,"move"),t.pinch&&iB(e,"pinch"),t.hover&&iB(e,"hover")}(this,e)}setEventIds(e){if(ia(e)){var t;return this.touchIds=new Set(Array.from((t=e).touches).filter(e=>{var n,r;return e.target===t.currentTarget||(null===(n=t.currentTarget)||void 0===n||null===(r=n.contains)||void 0===r?void 0:r.call(n,e.target))}).map(e=>e.identifier)),this.touchIds}if("pointerId"in e)return"pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){let{target:r,eventOptions:i,window:o,enabled:a,transform:l}=e,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}(e,i_);if(n.shared=iN({target:r,eventOptions:i,window:o,enabled:a,transform:l},iT),t){let e=iz.get(t);n[t]=iN(ie({shared:n.shared},s),e)}else for(let e in s){let t=iz.get(e);t&&(n[e]=iN(ie({shared:n.shared},s[e]),t))}return n}(e,t,this.config)}clean(){for(let e of(this._targetEventStore.clean(),this.gestures))this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){let t;let n=this.config.shared,r={};if(!n.target||!!(t=n.target())){if(n.enabled){for(let n of this.gestures){let i=this.config[n],o=i$(r,i.eventOptions,!!t);i.enabled&&new(ij.get(n))(this,e,n).bind(o)}let i=i$(r,n.eventOptions,!!t);for(let t in this.nativeHandlers)i(t,"",n=>this.nativeHandlers[t](ie(ie({},this.state.shared),{},{event:n,args:e})),void 0,!0)}for(let e in r)r[e]=function(...e){return 0===e.length?ip:1===e.length?e[0]:function(){let t;for(let n of e)t=n.apply(this,arguments)||t;return t}}(...r[e]);if(!t)return r;for(let e in r){let{device:n,capture:i,passive:o}=function(e){let t=e.substring(2).toLowerCase(),n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));let r=io.includes(t)?"capturecapture":"capture",i=!!~t.indexOf(r);return i&&(t=t.replace("capture","")),{device:t,capture:i,passive:n}}(e);this._targetEventStore.add(t,n,"",r[e],{capture:i,passive:o})}}}}function iB(e,t){e.gestures.add(t),e.gestureEventStores[t]=new iF(e,t),e.gestureTimeoutStores[t]=new iZ}let i$=(e,t,n)=>(r,i,o,a={},l=!1)=>{var s,c;let u=null!==(s=a.capture)&&void 0!==s?s:t.capture,d=null!==(c=a.passive)&&void 0!==c?c:t.passive,f=l?r:function(e,t="",n=!1){let r=it[e],i=r&&r[t]||t;return"on"+ir(e)+ir(i)+(!function(e=!1,t){return e&&!ii.includes(t)}(n,i)?"":"Capture")}(r,i,u);n&&d&&(f+="Passive"),e[f]=e[f]||[],e[f].push(o)};function iD(e,t={},n,r){let i=f().useMemo(()=>new iR(e),[]);if(i.applyHandlers(e,r),i.applyConfig(t,n),f().useEffect(i.effect.bind(i)),f().useEffect(()=>i.clean.bind(i),[]),void 0===t.target)return i.bind.bind(i)}function iL(e,t){return iM(iA),iD({drag:e},t||{},"drag")}let iW="adm-popup",iq=Object.assign(Object.assign({},r4),{closeOnSwipe:!1,position:"bottom"});var iU=e=>{let{locale:t,popup:n={}}=em(),r=Q(iq,n,e),i=D()(`${iW}-body`,r.bodyClassName,`${iW}-body-position-${r.position}`),[o,a]=(0,d.useState)(r.visible),l=(0,d.useRef)(null);eL(l,!!r.disableBodyScroll&&!!o&&"strict"),(0,es.useIsomorphicLayoutEffect)(()=>{r.visible&&a(!0)},[r.visible]);let s=(0,es.useUnmountedRef)(),{percent:c}=rO({percent:r.visible?0:100,config:{precision:.1,mass:.4,tension:300,friction:30},onRest:()=>{var e,t;!s.current&&(a(r.visible),r.visible?null===(e=r.afterShow)||void 0===e||e.call(r):null===(t=r.afterClose)||void 0===t||t.call(r))}}),u=iL(({swipe:[,e]})=>{var t;r.closeOnSwipe&&(1===e&&"bottom"===r.position||-1===e&&"top"===r.position)&&(null===(t=r.onClose)||void 0===t||t.call(r))},{axis:"y",enabled:["top","bottom"].includes(r.position)}),p=r3(o&&r.visible),m=rK(r.stopPropagation,L(r,f().createElement("div",Object.assign({className:iW,onClick:r.onClick,style:{display:o?void 0:"none",touchAction:["top","bottom"].includes(r.position)?"none":"auto"}},u()),r.mask&&f().createElement(r1,{visible:p,forceRender:r.forceRender,destroyOnClose:r.destroyOnClose,onMaskClick:e=>{var t,n;null===(t=r.onMaskClick)||void 0===t||t.call(r,e),r.closeOnMaskClick&&(null===(n=r.onClose)||void 0===n||n.call(r))},className:r.maskClassName,style:r.maskStyle,disableBodyScroll:!1,stopPropagation:r.stopPropagation}),f().createElement(rH.div,{className:i,style:Object.assign(Object.assign({},r.bodyStyle),{pointerEvents:c.to(e=>0===e?"unset":"none"),transform:c.to(e=>"bottom"===r.position?`translate(0, ${e}%)`:"top"===r.position?`translate(0, -${e}%)`:"left"===r.position?`translate(-${e}%, 0)`:"right"===r.position?`translate(${e}%, 0)`:"none")}),ref:l},r.showCloseButton&&f().createElement("a",{className:D()(`${iW}-close-icon`,"adm-plain-anchor"),onClick:()=>{var e;null===(e=r.onClose)||void 0===e||e.call(r)},role:"button","aria-label":t.common.close},r.closeIcon),r.children))));return f().createElement(rG,{active:o,forceRender:r.forceRender,destroyOnClose:r.destroyOnClose},rV(r.getContainer,m))};function iH(e,t,n){let r=e;return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}function iV(e,t,n){return e*t*n/(t+n*e)}function iG(e,t,n,r,i=.15){var o,a,l,s,c,u;if(0===i)return iH(e,t,n);if(e<t){;return-((o=t-e)*(a=r)*(l=i)/(a+l*o))+t}if(e>n){;return+((s=e-n)*(c=r)*(u=i)/(c+u*s))+n}return e}var iY=y("6010"),iK=y.n(iY);let iX="adm-picker-view",iQ=(0,d.memo)(e=>{var t,n;let{value:r,column:i,renderLabel:o}=e;function a(t){e.onSelect(t,e.index)}let[{y:l},s]=rO(()=>({from:{y:0},config:{tension:400,mass:.8}})),c=(0,d.useRef)(!1),u=(0,d.useRef)(null),p=(0,d.useRef)(null),m=(0,d.useRef)(34);function h(e){let t=-(e*m.current);s.start({y:t});let n=i[e];n&&a(n.value)}(0,es.useIsomorphicLayoutEffect)(()=>{let e=p.current;e&&(m.current=function(e){if(null==e||""===e)return 0;let t=e.trim();if(t.endsWith("px"))return parseFloat(t);if(t.endsWith("rem"))return parseFloat(t)*parseFloat(window.getComputedStyle(document.documentElement).fontSize);if(t.endsWith("vw"))return parseFloat(t)*window.innerWidth/100;else return 0}(window.getComputedStyle(e).getPropertyValue("height")))}),(0,es.useIsomorphicLayoutEffect)(()=>{if(c.current||null===r)return;let e=i.findIndex(e=>e.value===r);if(e<0)return;let t=-(e*m.current);s.start({y:t,immediate:l.goal!==t})},[r,i]),(0,es.useIsomorphicLayoutEffect)(()=>{0===i.length?null!==r&&a(null):!i.some(e=>e.value===r)&&a(i[0].value)},[i,r]);let b=e=>{let{direction:[,t],distance:[,n],velocity:[,r],offset:[,i],last:o}=e;return{direction:t,distance:n,velocity:r,offset:i,last:o}},v=e=>{c.current=!0;let t=-((i.length-1)*m.current),{direction:n,last:r,velocity:o,offset:a}=b(e);if(r){c.current=!1;h(-Math.round(iH(a+o*n*50,t,0)/m.current))}else s.start({y:iG(a,t,0,50*m.current,.2)})},g=e=>{c.current=!0;let t=-((i.length-1)*m.current),{direction:n,last:r,velocity:o,distance:a}=b(e),u=-n,d=l.get();if(r){c.current=!1;h(-Math.round(iH(d+a*u+o*u*50,t,0)/m.current))}else s.start({y:iG(d+a*u,t,0,50*m.current,.2)})};iL(e=>{e.event.stopPropagation(),v(e)},{axis:"y",from:()=>[0,l.get()],filterTaps:!0,pointer:{touch:!0},target:u}),t=e=>{e.event.stopPropagation(),g(e)},n={target:e.mouseWheel?u:void 0,axis:"y",from:()=>[0,l.get()],preventDefault:!0,eventOptions:eB?{passive:!1}:void 0},iM(iI),iD({wheel:t},n||{},"wheel");let y=null;return f().createElement("div",{className:`${iX}-column`},f().createElement("div",{className:`${iX}-item-height-measure`,ref:p}),f().createElement(rH.div,{ref:u,style:{translateY:l},className:`${iX}-column-wheel`,"aria-hidden":!0},i.map((t,n)=>{var r;let i=e.value===t.value;return i&&(y=n),f().createElement("div",{key:null!==(r=t.key)&&void 0!==r?r:t.value,"data-selected":i,className:D()(`${iX}-column-item`,{[`${iX}-column-item-active`]:i}),onClick:function(){c.current=!1,h(n)},"aria-hidden":!i,"aria-label":i?"active":""},f().createElement("div",{className:`${iX}-column-item-label`},o(t)))})),function(){if(null===y)return null;let e=i[y],t=y-1,n=y+1,r=i[t],o=i[n];return f().createElement("div",{className:`${iX}-column-accessible`},f().createElement("div",{className:`${iX}-column-accessible-current`,role:"button","aria-label":e?`当前选择的是:${e.label}`:"当前未选择"},"-"),f().createElement("div",{className:`${iX}-column-accessible-button`,onClick:()=>{r&&h(t)},role:r?"button":"text","aria-label":r?`选择上一项:${r.label}`:"没有上一项"},"-"),f().createElement("div",{className:`${iX}-column-accessible-button`,onClick:()=>{o&&h(n)},role:o?"button":"text","aria-label":o?`选择下一项:${o.label}`:"没有下一项"},"-"))}())},(e,t)=>!!(e.index===t.index&&e.value===t.value&&e.onSelect===t.onSelect&&e.renderLabel===t.renderLabel&&e.mouseWheel===t.mouseWheel&&iK()(e.column,t.column))||!1);function iJ(e){let t=null;return()=>(null===t&&(t=e()),t)}function i0(e,t){let n=iJ(()=>("function"==typeof e?e(t):e).map(e=>e.map(e=>"string"==typeof e?{label:e,value:e}:e))),r=iJ(()=>t.map((e,t)=>{var r;let i=n()[t];return i?null!==(r=i.find(t=>t.value===e))&&void 0!==r?r:null:null}));return{get columns(){return n()},get items(){return r()}}}function i1(e,t){return(0,d.useMemo)(()=>i0(e,t),[e,t])}iQ.displayName="Wheel";let i2=e=>e.label;var i4=y("9035"),i3={};i3.styleTagTransform=_(),i3.setAttributes=M(),i3.insert=j().bind(null,"head"),i3.domAPI=C(),i3.insertStyleElement=I(),O()(i4.Z,i3),i4.Z&&i4.Z.locals&&i4.Z.locals;var i5=y("6696");let i6=new Set;function i7(){return!1}function i8(e){return i6.add(e),()=>{i6.delete(e)}}let i9="adm-spin-loading",oe={default:"var(--adm-color-weak)",primary:"var(--adm-color-primary)",white:"var(--adm-color-white)"},ot={color:"default"},on=(0,d.memo)(e=>{var t;let n=Q(ot,e),{percent:r}=rO({cancel:(0,i5.useSyncExternalStore)(i8,i7,i7),loop:{reverse:!0},from:{percent:80},to:{percent:30},config:{duration:1200}});return L(n,f().createElement(rH.div,{className:i9,style:{"--color":null!==(t=oe[n.color])&&void 0!==t?t:n.color,"--percent":r}},f().createElement("svg",{className:`${i9}-svg`,viewBox:"0 0 32 32"},f().createElement(rH.circle,{className:`${i9}-fill`,fill:"transparent",strokeWidth:"2",strokeDasharray:94.2477796076937,strokeDashoffset:r,strokeLinecap:"square",r:15,cx:16,cy:16}))))}),or="adm-picker-view",oi={defaultValue:[],renderLabel:i2,mouseWheel:!1,loadingContent:f().createElement("div",{className:`${or}-loading-content`},f().createElement(on,null))},oo=(0,d.memo)(e=>{let t=Q(oi,e),[n,r]=(0,d.useState)(void 0===t.value?t.defaultValue:t.value);(0,d.useEffect)(()=>{if(void 0!==t.value)t.value!==n&&r(t.value)},[t.value]),(0,d.useEffect)(()=>{if(t.value===n)return;let e=window.setTimeout(()=>{void 0!==t.value&&t.value!==n&&r(t.value)},1e3);return()=>{window.clearTimeout(e)}},[t.value,n]);let i=i1(t.columns,n),o=i.columns;(0,es.useDebounceEffect)(()=>{var e;t.value!==n&&(null===(e=t.onChange)||void 0===e||e.call(t,n,i))},[n],{wait:0,leading:!1,trailing:!0});let a=(0,d.useCallback)((e,t)=>{r(n=>{let r=[...n];return r[t]=e,r})},[]);return L(t,f().createElement("div",{className:`${or}`},t.loading?t.loadingContent:f().createElement(f().Fragment,null,o.map((e,r)=>f().createElement(iQ,{key:r,index:r,column:e,value:n[r],onSelect:a,renderLabel:t.renderLabel,mouseWheel:t.mouseWheel})),f().createElement("div",{className:`${or}-mask`},f().createElement("div",{className:`${or}-mask-top`}),f().createElement("div",{className:`${or}-mask-middle`}),f().createElement("div",{className:`${or}-mask-bottom`})))))});oo.displayName="PickerView";var oa=y("7140"),ol={};ol.styleTagTransform=_(),ol.setAttributes=M(),ol.insert=j().bind(null,"head"),ol.domAPI=C(),ol.insertStyleElement=I(),O()(oa.Z,ol),oa.Z&&oa.Z.locals&&oa.Z.locals;var os=y("749"),oc={};oc.styleTagTransform=_(),oc.setAttributes=M(),oc.insert=j().bind(null,"head"),oc.domAPI=C(),oc.insertStyleElement=I(),O()(os.Z,oc),os.Z&&os.Z.locals&&os.Z.locals;let ou="adm-safe-area";var od=e=>L(e,f().createElement("div",{className:D()(ou,`${ou}-position-${e.position}`)}));let of="adm-picker",op={defaultValue:[],closeOnMaskClick:!0,renderLabel:i2,destroyOnClose:!1,forceRender:!1},om=(0,d.memo)((0,d.forwardRef)((e,t)=>{var n;let{locale:r}=em(),i=Q(op,{confirmText:r.common.confirm,cancelText:r.common.cancel},e),[o,a]=ec({value:i.visible,defaultValue:!1,onChange:e=>{var t;!1===e&&(null===(t=i.onClose)||void 0===t||t.call(i))}}),l={toggle:()=>{a(e=>!e)},open:()=>{a(!0)},close:()=>{a(!1)}};(0,d.useImperativeHandle)(t,()=>l);let[s,c]=ec(Object.assign(Object.assign({},i),{onChange:e=>{var t;let n=i0(i.columns,e);null===(t=i.onConfirm)||void 0===t||t.call(i,e,n)}})),u=i1(i.columns,s),[p,m]=(0,d.useState)(s);(0,d.useEffect)(()=>{p!==s&&m(s)},[o]),(0,d.useEffect)(()=>{!o&&m(s)},[s]);let h=(0,es.useMemoizedFn)((e,t)=>{var n;m(e),o&&(null===(n=i.onSelect)||void 0===n||n.call(i,e,t))}),b=L(i,f().createElement("div",{className:of},f().createElement("div",{className:`${of}-header`},f().createElement("a",{role:"button",className:`${of}-header-button`,onClick:()=>{var e;null===(e=i.onCancel)||void 0===e||e.call(i),a(!1)}},i.cancelText),f().createElement("div",{className:`${of}-header-title`},i.title),f().createElement("a",{role:"button",className:D()(`${of}-header-button`,i.loading&&`${of}-header-button-disabled`),onClick:()=>{!i.loading&&(c(p,!0),a(!1))},"aria-disabled":i.loading},i.confirmText)),f().createElement("div",{className:`${of}-body`},f().createElement(oo,{loading:i.loading,loadingContent:i.loadingContent,columns:i.columns,renderLabel:i.renderLabel,value:p,mouseWheel:i.mouseWheel,onChange:h})))),v=f().createElement(iU,{style:i.popupStyle,className:D()(`${of}-popup`,i.popupClassName),visible:o,position:"bottom",onMaskClick:()=>{var e;i.closeOnMaskClick&&(null===(e=i.onCancel)||void 0===e||e.call(i),a(!1))},getContainer:i.getContainer,destroyOnClose:i.destroyOnClose,afterShow:i.afterShow,afterClose:i.afterClose,onClick:i.onClick,forceRender:i.forceRender,stopPropagation:i.stopPropagation},b,f().createElement(od,{position:"bottom"}));return f().createElement(f().Fragment,null,v,null===(n=i.children)||void 0===n?void 0:n.call(i,u.items,l))}));om.displayName="Picker";let oh=Object.assign({},rz),{version:ob,render:ov,unmountComponentAtNode:og}=oh;try{Number((ob||"").split(".")[0])>=18&&oh.createRoot&&(i=oh.createRoot)}catch(e){}function oy(e){let{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:t}=oh;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}let ow="__antd_mobile_root__";function ox(e){let t=document.createElement("div");return document.body.appendChild(t),!function(e,t){if(i){!function(e,t){oy(!0);let n=t[ow]||i(t);oy(!1),n.render(e),t[ow]=n}(e,t);return}ov(e,t)}(e,t),function(){(function(e){if(i)return function(e){return Y(this,void 0,void 0,function*(){return Promise.resolve().then(()=>{var t;null===(t=e[ow])||void 0===t||t.unmount(),delete e[ow]})})}(e);return og(e)})(t)&&t.parentNode&&t.parentNode.removeChild(t)}}var ok=U(om,{prompt:function(e){return new Promise(t=>{let n=ox(f().createElement(()=>{let[r,i]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{i(!0)},[]),f().createElement(om,Object.assign({},e,{visible:r,onConfirm:(n,r)=>{var i;null===(i=e.onConfirm)||void 0===i||i.call(e,n,r),t(n)},onClose:()=>{var n;null===(n=e.onClose)||void 0===n||n.call(e),i(!1),t(null)},afterClose:()=>{var t;null===(t=e.afterClose)||void 0===t||t.call(e),n()}}))},null))})}}),oS=y("6436"),oO=y.n(oS),oE=y("4126"),oC=y.n(oE),oP=y("9291"),oj=y.n(oP),oz=y("9299"),oM=y.n(oz);let oA="TILL_NOW";oO().extend(oC()),oO().extend(oj()),oO().extend(oM());let oI={year:0,month:1,day:2,hour:3,minute:4,second:5};function oT(e){var t,n,r,i,o,a;let l=null!==(t=e[0])&&void 0!==t?t:"1900",s=null!==(n=e[1])&&void 0!==n?n:"1",c=null!==(r=e[2])&&void 0!==r?r:"1",u=null!==(i=e[3])&&void 0!==i?i:"0",d=null!==(o=e[4])&&void 0!==o?o:"0",f=null!==(a=e[5])&&void 0!==a?a:"0";return new Date(parseInt(l),parseInt(s)-1,parseInt(c),parseInt(u),parseInt(d),parseInt(f))}var o_=y("6541"),oN=y.n(o_);oO().extend(oN());let oF={year:0,quarter:1};function oZ(e){var t,n;let r=null!==(t=e[0])&&void 0!==t?t:"1900",i=null!==(n=e[1])&&void 0!==n?n:"1";return oO()().year(parseInt(r)).quarter(parseInt(i)).hour(0).minute(0).second(0).toDate()}oO().extend(oC()),oO().extend(oj()),oO().extend(oM());let oR={year:0,week:1,"week-day":2};function oB(e){var t,n,r;let i=null!==(t=e[0])&&void 0!==t?t:"1900",o=null!==(n=e[1])&&void 0!==n?n:"1",a=null!==(r=e[2])&&void 0!==r?r:"1";return oO()().year(parseInt(i)).isoWeek(parseInt(o)).isoWeekday(parseInt(a)).hour(0).minute(0).second(0).toDate()}let o$={year:1,month:2,day:3,hour:4,minute:5,second:6},oD=(e,t)=>{var n;if(t.includes("week"))return function(e){if(!e)return[];let t=oO()(e);return[t.isoWeekYear().toString(),t.isoWeek().toString(),t.isoWeekday().toString()]}(e);if(t.includes("quarter"))return function(e){if(!e)return[];let t=oO()(e);return[t.year().toString(),t.quarter().toString()]}(e);return((n=e)?[n.getFullYear().toString(),(n.getMonth()+1).toString(),n.getDate().toString(),n.getHours().toString(),n.getMinutes().toString(),n.getSeconds().toString()]:[]).slice(0,o$[t])},oL=(e,t)=>{if((null==e?void 0:e[0])===oA){let e=new Date;return e.tillNow=!0,e}return t.includes("week")?oB(e):t.includes("quarter")?oZ(e):oT(e)},oW=(e,t,n,r,i,o,a)=>r.startsWith("week")?function(e,t,n,r,i,o){let a=[],l=t.getFullYear(),s=n.getFullYear(),c=oR[r],u=parseInt(e[0]),d=u===l,f=u===s,p=oO()(t),m=oO()(n),h=p.isoWeek(),b=m.isoWeek(),v=p.isoWeekday(),g=m.isoWeekday(),y=parseInt(e[1]),w=d&&y===h,x=f&&y===b,k=oO()(`${u}-01-01`).isoWeeksInYear(),S=(t,n,r)=>{let i=[];for(let e=t;e<=n;e++)i.push(e);let a=e.slice(0,oR[r]),l=null==o?void 0:o[r];return l&&"function"==typeof l&&(i=i.filter(e=>l(e,{get date(){return oB([...a,e.toString()])}}))),i};if(c>=oR.year){let e=S(l,s,"year");a.push(e.map(e=>({label:i("year",e),value:e.toString()})))}if(c>=oR.week){let e=S(d?h:1,f?b:k,"week");a.push(e.map(e=>({label:i("week",e),value:e.toString()})))}if(c>=oR["week-day"]){let e=S(w?v:1,x?g:7,"week-day");a.push(e.map(e=>({label:i("week-day",e),value:e.toString()})))}return a}(e,t,n,r,i,o):r.startsWith("quarter")?function(e,t,n,r,i,o){let a=[],l=t.getFullYear(),s=n.getFullYear(),c=oF[r],u=parseInt(e[0]),d=u===l,f=u===s,p=oO()(t),m=oO()(n),h=p.quarter(),b=m.quarter(),v=(t,n,r)=>{let i=[];for(let e=t;e<=n;e++)i.push(e);let a=e.slice(0,oF[r]),l=null==o?void 0:o[r];return l&&"function"==typeof l&&(i=i.filter(e=>l(e,{get date(){return oZ([...a,e.toString()])}}))),i};if(c>=oF.year){let e=v(l,s,"year");a.push(e.map(e=>({label:i("year",e),value:e.toString()})))}if(c>=oF.quarter){let e=v(d?h:1,f?b:4,"quarter");a.push(e.map(e=>({label:i("quarter",e),value:e.toString()})))}return a}(e,t,n,r,i,o):function(e,t,n,r,i,o,a){let l=[],s=t.getFullYear(),c=t.getMonth()+1,u=t.getDate(),d=t.getHours(),f=t.getMinutes(),p=t.getSeconds(),m=n.getFullYear(),h=n.getMonth()+1,b=n.getDate(),v=n.getHours(),g=n.getMinutes(),y=n.getSeconds(),w=oI[r],x=parseInt(e[0]),k=oO()(oT([e[0],e[1],"1"])),S=parseInt(e[1]),O=parseInt(e[2]),E=parseInt(e[3]),C=parseInt(e[4]),P=x===s,j=x===m,z=P&&S===c,M=j&&S===h,A=z&&O===u,I=M&&O===b,T=A&&E===d,_=I&&E===v,N=T&&C===f,F=_&&C===g,Z=(t,n,r)=>{let i=[];for(let e=t;e<=n;e++)i.push(e);let a=e.slice(0,oI[r]),l=null==o?void 0:o[r];return l&&"function"==typeof l&&(i=i.filter(e=>l(e,{get date(){return oT([...a,e.toString()])}}))),i};if(w>=oI.year){let e=Z(s,m,"year");l.push(e.map(e=>({label:i("year",e),value:e.toString()})))}if(w>=oI.month){let e=Z(P?c:1,j?h:12,"month");l.push(e.map(e=>({label:i("month",e),value:e.toString()})))}if(w>=oI.day){let e=Z(z?u:1,M?b:k.daysInMonth(),"day");l.push(e.map(e=>({label:i("day",e),value:e.toString()})))}if(w>=oI.hour){let e=Z(A?d:0,I?v:23,"hour");l.push(e.map(e=>({label:i("hour",e),value:e.toString()})))}if(w>=oI.minute){let e=Z(T?f:0,_?g:59,"minute");l.push(e.map(e=>({label:i("minute",e),value:e.toString()})))}if(w>=oI.second){let e=Z(N?p:0,F?y:59,"second");l.push(e.map(e=>({label:i("second",e),value:e.toString()})))}if(a&&(l[0].push({label:i("now",null),value:oA}),oA===(null==e?void 0:e[0])))for(let e=1;e<l.length;e+=1)l[e]=[];return l}(e,t,n,r,i,o,a),oq=new Date().getFullYear(),oU={min:new Date(new Date().setFullYear(oq-10)),max:new Date(new Date().setFullYear(oq+10)),precision:"day",defaultValue:null},oH=(0,d.forwardRef)((e,t)=>{let n=Q(oU,e),{renderLabel:r}=n,[i,o]=ec({value:n.value,defaultValue:n.defaultValue,onChange:e=>{var t;null!==e&&(null===(t=n.onConfirm)||void 0===t||t.call(n,e))}}),a=(0,d.useMemo)(()=>new Date,[]),l=function(e){let{locale:t}=em();return(0,d.useCallback)((n,r)=>{if(e)return e(n,r);switch(n){case"minute":case"second":case"hour":return("0"+r.toString()).slice(-2);case"now":return t.DatePicker.tillNow;default:return r.toString()}},[e])}(r),s=(0,d.useMemo)(()=>{let e=null!=i?i:a;return e.tillNow?[oA]:oD(e=new Date(iH(e.getTime(),n.min.getTime(),n.max.getTime())),n.precision)},[i,n.precision,n.min,n.max]),c=(0,d.useCallback)(e=>{o(oL(e,n.precision),!0)},[o,n.precision]),u=(0,es.useMemoizedFn)(e=>{var t;let r=oL(e,n.precision);null===(t=n.onSelect)||void 0===t||t.call(n,r)}),p=(0,d.useCallback)(e=>oW(e,n.min,n.max,n.precision,l,n.filter,n.tillNow),[n.min,n.max,n.precision,l,n.tillNow]);return L(n,f().createElement(ok,{ref:t,columns:p,value:s,onCancel:n.onCancel,onClose:n.onClose,closeOnMaskClick:n.closeOnMaskClick,visible:n.visible,confirmText:n.confirmText,cancelText:n.cancelText,onConfirm:c,onSelect:u,getContainer:n.getContainer,loading:n.loading,loadingContent:n.loadingContent,afterShow:n.afterShow,afterClose:n.afterClose,onClick:n.onClick,title:n.title,stopPropagation:n.stopPropagation,mouseWheel:n.mouseWheel,destroyOnClose:n.destroyOnClose,forceRender:n.forceRender},(e,t)=>{var r;return null===(r=n.children)||void 0===r?void 0:r.call(n,i,t)}))});var oV=U(oH,{prompt:function(e){return new Promise(t=>{let n=ox(f().createElement(()=>{let[r,i]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{i(!0)},[]),f().createElement(oH,Object.assign({},e,{visible:r,onConfirm:n=>{var r;null===(r=e.onConfirm)||void 0===r||r.call(e,n),t(n)},onClose:()=>{var n;null===(n=e.onClose)||void 0===n||n.call(e),i(!1),t(null)},afterClose:()=>{var t;null===(t=e.afterClose)||void 0===t||t.call(e),n()}}))},null))})},DATE_NOW:oA}),oG=y("2231"),oY={};oY.styleTagTransform=_(),oY.setAttributes=M(),oY.insert=j().bind(null,"head"),oY.domAPI=C(),oY.insertStyleElement=I(),O()(oG.Z,oY),oG.Z&&oG.Z.locals&&oG.Z.locals;let oK=e=>{let{action:t}=e;return L(e.action,f().createElement(eo,{key:t.key,onClick:e.onAction,className:D()("adm-dialog-button",{"adm-dialog-button-bold":t.bold}),fill:"none",shape:"rectangular",block:!0,color:t.danger?"danger":"primary",loading:"auto",disabled:t.disabled},t.text))};var oX=y("1581"),oQ={};oQ.styleTagTransform=_(),oQ.setAttributes=M(),oQ.insert=j().bind(null,"head"),oQ.domAPI=C(),oQ.insertStyleElement=I(),O()(oX.Z,oQ),oX.Z&&oX.Z.locals&&oX.Z.locals;var oJ=y("4793");function o0(e){return"number"==typeof e?`${e}px`:e}let o1=e=>{let t=(0,d.useRef)(null),[n]=(0,es.useInViewport)(t);return(0,d.useEffect)(()=>{n&&e.onActive()},[n]),f().createElement("div",{ref:t})},o2=(0,es.createUpdateEffect)(es.useIsomorphicLayoutEffect),o4="adm-image",o3={fit:"fill",placeholder:f().createElement("div",{className:`${o4}-tip`},f().createElement(()=>f().createElement("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},f().createElement("path",{d:"M41.396 6.234c1.923 0 3.487 1.574 3.487 3.505v29.14c0 1.937-1.568 3.51-3.491 3.51H6.604c-1.923 0-3.487-1.573-3.487-3.51V9.745c0-1.936 1.564-3.51 3.487-3.51Zm0 2.847H6.604c-.355 0-.654.3-.654.658V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.405 2.405 0 0 1 1.933.752l4.182 4.525 7.58-11.005a2.374 2.374 0 0 1 1.96-1.01c.79 0 1.532.38 1.966 1.01L42.05 34.89V9.74a.664.664 0 0 0-.654-.658Zm-28.305 2.763a3.119 3.119 0 0 1 3.117 3.117 3.119 3.119 0 0 1-3.117 3.117 3.122 3.122 0 0 1-3.117-3.117 3.119 3.119 0 0 1 3.117-3.117Z",fill:"#DBDBDB",fillRule:"nonzero"})),null)),fallback:f().createElement("div",{className:`${o4}-tip`},f().createElement(()=>f().createElement("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},f().createElement("path",{d:"M19.233 6.233 17.42 9.08l-10.817.001a.665.665 0 0 0-.647.562l-.007.096V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.415 2.415 0 0 1 1.807.625l.126.127 4.182 4.525 2.267-3.292 5.461 7.841-4.065 7.375H6.604c-1.86 0-3.382-1.47-3.482-3.317l-.005-.192V9.744c0-1.872 1.461-3.405 3.296-3.505l.19-.005h12.63Zm22.163 0c1.86 0 3.382 1.472 3.482 3.314l.005.192v29.14a3.507 3.507 0 0 1-3.3 3.505l-.191.006H27.789l3.63-6.587.06-.119a1.87 1.87 0 0 0-.163-1.853l-6.928-9.949 3.047-4.422a2.374 2.374 0 0 1 1.96-1.01 2.4 2.4 0 0 1 1.86.87l.106.14L42.05 34.89V9.74a.664.664 0 0 0-.654-.658H21.855l1.812-2.848h17.73Zm-28.305 5.611c.794 0 1.52.298 2.07.788l-.843 1.325-.067.114a1.87 1.87 0 0 0 .11 1.959l.848 1.217c-.556.515-1.3.83-2.118.83a3.122 3.122 0 0 1-3.117-3.116 3.119 3.119 0 0 1 3.117-3.117Z",fill:"#DBDBDB",fillRule:"nonzero"})),null)),lazy:!1,draggable:!1},o5=(0,oJ.staged)(e=>{let t=Q(o3,e),[n,r]=(0,d.useState)(!1),[i,o]=(0,d.useState)(!1),a=(0,d.useRef)(null),l=(0,d.useRef)(null),s=t.src,c=t.srcSet,[u,p]=(0,d.useState)(!t.lazy);s=u?t.src:void 0,c=u?t.srcSet:void 0,o2(()=>{r(!1),o(!1)},[s]),(0,d.useEffect)(()=>{var e;(null===(e=l.current)||void 0===e?void 0:e.complete)&&r(!0)},[]);let m={};return t.width&&(m["--width"]=o0(t.width),m.width=o0(t.width)),t.height&&(m["--height"]=o0(t.height),m.height=o0(t.height)),L(t,f().createElement("div",{ref:a,className:o4,style:m,onClick:t.onContainerClick},t.lazy&&!u&&f().createElement(o1,{onActive:()=>{p(!0)}}),function(){if(i)return f().createElement(f().Fragment,null,t.fallback);let e=f().createElement("img",{ref:l,id:t.id,className:`${o4}-img`,src:s,alt:t.alt,onClick:t.onClick,onLoad:e=>{var n;r(!0),null===(n=t.onLoad)||void 0===n||n.call(t,e)},onError:e=>{var n;o(!0),null===(n=t.onError)||void 0===n||n.call(t,e)},style:{objectFit:t.fit,display:n?"block":"none"},crossOrigin:t.crossOrigin,decoding:t.decoding,loading:t.loading,referrerPolicy:t.referrerPolicy,sizes:t.sizes,srcSet:c,useMap:t.useMap,draggable:t.draggable});return f().createElement(f().Fragment,null,!n&&t.placeholder,e)}()))});var o6=y("2414"),o7={};o7.styleTagTransform=_(),o7.setAttributes=M(),o7.insert=j().bind(null,"head"),o7.domAPI=C(),o7.insertStyleElement=I(),O()(o6.Z,o7),o6.Z&&o6.Z.locals&&o6.Z.locals;let o8="adm-auto-center";var o9=e=>L(e,f().createElement("div",{className:o8},f().createElement("div",{className:`${o8}-content`},e.children))),ae=y("2680"),at={};at.styleTagTransform=_(),at.setAttributes=M(),at.insert=j().bind(null,"head"),at.domAPI=C(),at.insertStyleElement=I(),O()(ae.Z,at),ae.Z&&ae.Z.locals&&ae.Z.locals;let an="adm-center-popup",ar=Object.assign(Object.assign({},r4),{getContainer:null});var ai=e=>{let{popup:t={}}=em(),n=Q(ar,t,e),r=(0,es.useUnmountedRef)(),i=rO({scale:n.visible?1:.8,opacity:n.visible?1:0,config:{mass:1.2,tension:200,friction:25,clamp:!0},onRest:()=>{var e,t;!r.current&&(a(n.visible),n.visible?null===(e=n.afterShow)||void 0===e||e.call(n):null===(t=n.afterClose)||void 0===t||t.call(n))}}),[o,a]=(0,d.useState)(n.visible);(0,es.useIsomorphicLayoutEffect)(()=>{n.visible&&a(!0)},[n.visible]);let l=(0,d.useRef)(null);eL(l,n.disableBodyScroll&&o);let s=r3(o&&n.visible),c=f().createElement("div",{className:D()(`${an}-body`,n.bodyClassName),style:n.bodyStyle},n.children),u=rK(n.stopPropagation,L(n,f().createElement("div",{className:an,style:{display:o?void 0:"none",pointerEvents:o?void 0:"none"}},n.mask&&f().createElement(r1,{visible:s,forceRender:n.forceRender,destroyOnClose:n.destroyOnClose,onMaskClick:e=>{var t,r;null===(t=n.onMaskClick)||void 0===t||t.call(n,e),n.closeOnMaskClick&&(null===(r=n.onClose)||void 0===r||r.call(n))},style:n.maskStyle,className:D()(`${an}-mask`,n.maskClassName),disableBodyScroll:!1,stopPropagation:n.stopPropagation}),f().createElement("div",{className:`${an}-wrap`,role:n.role,"aria-label":n["aria-label"]},f().createElement(rH.div,{style:Object.assign(Object.assign({},i),{pointerEvents:i.opacity.to(e=>1===e?"unset":"none")}),ref:l},n.showCloseButton&&f().createElement("a",{className:D()(`${an}-close`,"adm-plain-anchor"),onClick:()=>{var e;null===(e=n.onClose)||void 0===e||e.call(n)}},n.closeIcon),c)))));return f().createElement(rG,{active:o,forceRender:n.forceRender,destroyOnClose:n.destroyOnClose},rV(n.getContainer,u))};let ao={actions:[],closeOnAction:!1,closeOnMaskClick:!1,getContainer:null},aa=e=>{let t=Q(ao,e),n=f().createElement(f().Fragment,null,!!t.image&&f().createElement("div",{className:al("image-container")},f().createElement(o5,{src:t.image,alt:"dialog header image",width:"100%"})),!!t.header&&f().createElement("div",{className:al("header")},f().createElement(o9,null,t.header)),!!t.title&&f().createElement("div",{className:al("title")},t.title),f().createElement("div",{className:D()(al("content"),!t.content&&al("content-empty"))},"string"==typeof t.content?f().createElement(o9,null,t.content):t.content),f().createElement("div",{className:al("footer")},t.actions.map((e,n)=>{let r=Array.isArray(e)?e:[e];return f().createElement("div",{className:al("action-row"),key:n},r.map((e,n)=>f().createElement(oK,{key:e.key,action:e,onAction:()=>Y(void 0,void 0,void 0,function*(){var r,i,o;yield Promise.all([null===(r=e.onClick)||void 0===r?void 0:r.call(e),null===(i=t.onAction)||void 0===i?void 0:i.call(t,e,n)]),t.closeOnAction&&(null===(o=t.onClose)||void 0===o||o.call(t))})})))})));return f().createElement(ai,{className:D()(al(),t.className),style:t.style,afterClose:t.afterClose,afterShow:t.afterShow,onMaskClick:t.closeOnMaskClick?()=>{var e;null===(e=t.onClose)||void 0===e||e.call(t)}:void 0,visible:t.visible,getContainer:t.getContainer,bodyStyle:t.bodyStyle,bodyClassName:D()(al("body"),t.image&&al("with-image"),t.bodyClassName),maskStyle:t.maskStyle,maskClassName:t.maskClassName,stopPropagation:t.stopPropagation,disableBodyScroll:t.disableBodyScroll,destroyOnClose:t.destroyOnClose,forceRender:t.forceRender,role:"dialog","aria-label":t["aria-label"]},n)};function al(e=""){return"adm-dialog"+(e&&"-")+e}let as=new Set;function ac(e){let t=function(e){let t=f().forwardRef((t,n)=>{let[i,o]=(0,d.useState)(!1),a=(0,d.useRef)(!1),[l,s]=(0,d.useState)(e),c=(0,d.useRef)(0);function u(){var e,t;a.current=!0,o(!1),null===(t=(e=l.props).onClose)||void 0===t||t.call(e)}function p(){var e,t;r(),null===(t=(e=l.props).afterClose)||void 0===t||t.call(e)}return(0,d.useEffect)(()=>{a.current?p():o(!0)},[]),(0,d.useImperativeHandle)(n,()=>({close:u,replace:e=>{var t,n;c.current++,null===(n=(t=l.props).afterClose)||void 0===n||n.call(t),s(e)}})),f().cloneElement(l,Object.assign(Object.assign({},l.props),{key:c.current,visible:i,onClose:u,afterClose:p}))}),n=f().createRef(),r=ox(f().createElement(t,{ref:n}));return{close:()=>Y(this,void 0,void 0,function*(){var t,i,o;n.current?null===(o=n.current)||void 0===o||o.close():(r(),null===(i=(t=e.props).afterClose)||void 0===i||i.call(t))}),replace:e=>{var t;null===(t=n.current)||void 0===t||t.replace(e)},isRendered:()=>!!n.current}}(f().createElement(aa,Object.assign({},e,{afterClose:()=>{var n;as.delete(t.close),null===(n=e.afterClose)||void 0===n||n.call(e)}})));return as.add(t.close),t}let au={confirmText:"确认",cancelText:"取消"};var ad=U(aa,{show:ac,alert:function(e){let t=Q({confirmText:ed.locale.Dialog.ok},e);return new Promise(e=>{ac(Object.assign(Object.assign({},t),{closeOnAction:!0,actions:[{key:"confirm",text:t.confirmText}],onAction:t.onConfirm,onClose:()=>{var n;null===(n=t.onClose)||void 0===n||n.call(t),e()}}))})},confirm:function(e){let{locale:t}=ed,n=Q(au,{confirmText:t.common.confirm,cancelText:t.common.cancel},e);return new Promise(e=>{ac(Object.assign(Object.assign({},n),{closeOnAction:!0,onClose:()=>{var t;null===(t=n.onClose)||void 0===t||t.call(n),e(!1)},actions:[[{key:"cancel",text:n.cancelText,onClick:()=>Y(this,void 0,void 0,function*(){var t;yield null===(t=n.onCancel)||void 0===t?void 0:t.call(n),e(!1)})},{key:"confirm",text:n.confirmText,bold:!0,onClick:()=>Y(this,void 0,void 0,function*(){var t;yield null===(t=n.onConfirm)||void 0===t?void 0:t.call(n),e(!0)})}]]}))})},clear:function(){as.forEach(e=>{e()})}}),af=y("3394"),ap={};ap.styleTagTransform=_(),ap.setAttributes=M(),ap.insert=j().bind(null,"head"),ap.domAPI=C(),ap.insertStyleElement=I(),O()(af.Z,ap),af.Z&&af.Z.locals&&af.Z.locals;let am="adm-error-block",ah={status:"default"},ab=f().createElement("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},f().createElement("defs",null,f().createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-default-a"},f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),f().createElement("circle",{id:"error-block-image-default-d",cx:18.823,cy:18.823,r:18.823}),f().createElement("rect",{id:"error-block-image-default-b",x:3.5,y:9,width:51.429,height:88,rx:4.571})),f().createElement("g",{fill:"none",fillRule:"evenodd"},f().createElement("path",{d:"M73.557.004c19.435-.311 38.696 17.016 51.523 35.287 8.708-10.822 17.127-16.233 25.255-16.233 13.333 0 28.35 14.274 45.053 42.822 1.769 3.024-3.582 7.435-16.054 13.231l-41.322 1.37c-7.343 5.872-31.225.626-69.152 1.234-27.79.445-45.759-1.234-53.908-5.037C3.2 71.143-1.625 68.686.48 65.308 27.371 22.12 51.73.353 73.557.003Zm93.098 49.53a1.125 1.125 0 0 0-.401.072l-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.283 1.719 4.153 3.898 4.314l.026.001v3.805c0 .39.25.705.56.705.31 0 .56-.316.56-.705l.001-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734Zm-100-5a1.125 1.125 0 0 0-.331.05l-.035.01-.035.012-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.212 1.613 4.036 3.695 4.294l.203.02.026.001v3.805c0 .39.25.705.56.705.282 0 .515-.26.555-.6l.006-.105v-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734ZM52.64 38.348l-.15.008-.149.023-.032.007-.032.008-.078.022-.045.015-.045.016-.06.023-.038.017-.038.017-.058.028-.022.011a2.201 2.201 0 0 0-.323.204l-.05.038-.05.04-.025.02-.025.021a3.742 3.742 0 0 0-.31.294l-.036.04c-.035.037-.07.076-.105.116-.01.012-.02.025-.031.036a3.275 3.275 0 0 0-.081.098l-.063.078c-2.031 2.583-3.48 8.692-3.48 11.027 0 2.636 1.846 4.832 4.292 5.323l.224.04-.064-.012.105.018.103.014v4.618c0 .47.299.85.667.85.337 0 .615-.32.659-.735l.006-.115v-4.618c.18-.023.355-.054.527-.094l.256-.067.196-.06c2.136-.706 3.68-2.75 3.68-5.162 0-2.996-2.383-12.207-5.325-12.207Z",transform:"translate(2.286 22.286)",fill:"url(#error-block-image-default-a)"}),f().createElement("g",{transform:"rotate(-90 102.429 55.357)"},f().createElement("path",{d:"M6.857 0H52a6.857 6.857 0 0 1 6.857 6.857v92A6.857 6.857 0 0 1 52 105.714H6.857A6.857 6.857 0 0 1 0 98.857v-92A6.857 6.857 0 0 1 6.857 0Z",fill:"#7EACFF"}),f().createElement("mask",{id:"error-block-image-default-c",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-default-b"})),f().createElement("use",{fill:"#377EFF",xlinkHref:"#error-block-image-default-b"}),f().createElement("path",{d:"M11.838 91.8a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-2.858 0a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.16-2.305a.64.64 0 0 1 .628.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-2.982-.04a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm5.268-.531a.64.64 0 0 1 .628.651.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.858-1.143a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-6.37-.917c.209 0 .377.175.377.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm3.512-.798.093.007a.644.644 0 0 1 .535.645.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.652.627-.652Zm5.715 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-11.429 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.261.241c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm11.833-.812a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.628-.651c0-.36.281-.652.628-.652Zm-4.851.399c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm10.313-2.056a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-2.354-.128a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.652.628-.652Zm-13.798.311c.207 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.377-.39c0-.217.169-.392.377-.392Zm11.832-.812a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-6.285 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm3.428 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-6.118.24c.208 0 .376.176.376.392a.384.384 0 0 1-.376.39.384.384 0 0 1-.377-.39c0-.216.169-.391.377-.391Zm11.261-2.525a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm-3.557.484c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.478-.555a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.512-.26c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.857 0c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-4.571 0c.207 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm14.898-1.835a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-8.027-.245c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.169-.391.376-.391Zm6.271-1.349c.208 0 .377.175.377.391a.384.384 0 0 1-.377.391.384.384 0 0 1-.376-.39c0-.217.169-.392.376-.392Zm-11.484-.481c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm15.103-.972c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.39c0-.217.168-.392.376-.392Zm-9.333-1.404c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-6.819-.405c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Z",fill:"#003CFF",fillRule:"nonzero",mask:"url(#error-block-image-default-c)",transform:"rotate(116 12.367 83.503)"}),f().createElement("path",{stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round",d:"M36.774 5.474H21.523"}),f().createElement("path",{d:"m67.818 94.025-4.996 3.913m4.996 11.91-4.996-3.912m-1.142 9.145-1.143-6.288m10.71-6.768h-7.262",stroke:"#4486FE",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"})),f().createElement("circle",{cx:8.571,cy:8.571,r:8.571,transform:"translate(22.857 142)",fill:"#FFCD6B",fillRule:"nonzero"}),f().createElement("g",{transform:"translate(132.857 124)"},f().createElement("mask",{id:"error-block-image-default-e",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-default-d"})),f().createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-default-d"}),f().createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:13.886,cy:15.12,r:18.823}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:23.4,cy:29.057,r:1}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:30.343,cy:29.829,r:1}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:18.771,cy:32.657,r:1.286}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:29.571,cy:25.971,r:1.286}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:19.286,cy:7.971,r:1.286}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:26.486,cy:5.914,r:1.286}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:11.057,cy:6.943,r:1}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:30.086,cy:15.686,r:1.286}),f().createElement("circle",{fill:"#FFB400",fillRule:"nonzero",mask:"url(#error-block-image-default-e)",cx:22.886,cy:14.657,r:1})),f().createElement("path",{d:"m87.429 135.123 6.591-9.378v-.08h-5.99v-2.559h10.038v1.787l-6.44 9.254v.082h6.56v2.557h-10.76v-1.663Zm12.185-5.889 4.948-7.047v-.056h-4.498v-1.917h7.536v1.34l-4.849 6.942v.059h4.923v1.92h-8.06v-1.24Zm10.345.702 3.708-5.274v-.045h-3.372v-1.437h5.648v1.003l-3.628 5.206v.045H116v1.438h-6.041v-.936Z",fill:"#FFF",fillRule:"nonzero"}))),av=f().createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},f().createElement("title",null,"@反馈/异常/网络服务异常"),f().createElement("defs",null,f().createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-disconnected-c"},f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),f().createElement("circle",{id:"error-block-image-disconnected-d",cx:22.309,cy:22.309,r:22.309}),f().createElement("path",{id:"error-block-image-disconnected-a",d:"M0 0h400v400H0z"})),f().createElement("g",{fill:"none",fillRule:"evenodd"},f().createElement("mask",{id:"error-block-image-disconnected-b",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-disconnected-a"})),f().createElement("g",{mask:"url(#error-block-image-disconnected-b)",fill:"url(#error-block-image-disconnected-c)"},f().createElement("path",{d:"M151.686 45.58c38.869-.623 77.391 34.03 103.046 70.573 17.416-21.644 34.253-32.465 50.51-32.465 26.666 0 56.701 28.548 90.105 85.643 3.539 6.05-7.164 14.87-32.107 26.462l-82.643 2.741c-14.686 11.745-62.45 1.252-138.305 2.467-55.58.89-91.518-2.468-107.816-10.074-23.505-3.07-33.154-7.983-28.946-14.74C59.313 89.813 108.03 46.278 151.686 45.58Zm186.195 99.06-.127.003-.126.01a2.32 2.32 0 0 0-.465.103l-.032.01-.031.01a2.364 2.364 0 0 0-.181.071 2.52 2.52 0 0 0-.116.054l-.133.067-.042.024-.036.02a2.946 2.946 0 0 0-.133.08l-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024a4.906 4.906 0 0 0-.31.27l-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.108.008v7.608c0 .779.502 1.41 1.121 1.41.62 0 1.121-.632 1.121-1.41v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-200-10-.127.003-.126.01a2.32 2.32 0 0 0-.368.073l-.049.014-.048.016-.032.01-.031.01a2.364 2.364 0 0 0-.181.071l-.058.026-.058.028-.133.067-.042.024-.036.02-.066.039-.067.041-.048.03a3.052 3.052 0 0 0-.126.087l-.047.033a3.274 3.274 0 0 0-.128.097c-.01.008-.02.017-.031.024l-.156.13-.154.14-.036.032a6.654 6.654 0 0 0-.46.484l-.045.05c-3.344 3.91-5.755 14.083-5.755 17.908 0 4.547 3.409 8.275 7.74 8.625l.054.004.054.004v7.608c0 .779.502 1.41 1.121 1.41.58 0 1.058-.556 1.115-1.266l.006-.144v-7.762c3.838-.802 6.727-4.293 6.727-8.48 0-4.778-3.765-19.467-8.409-19.467Zm-28.029-12.373-.107.002-.106.006a2.978 2.978 0 0 0-.551.095 3.444 3.444 0 0 0-.323.104 3.962 3.962 0 0 0-.61.297c-.076.045-.15.092-.226.141-4.964 3.312-8.728 18.445-8.728 23.77 0 5.434 3.922 9.935 9.04 10.726l.28.04v9.236c0 .886.532 1.614 1.21 1.692l.121.007.122-.007c.638-.074 1.147-.723 1.204-1.538l.006-.155v-9.235c5.254-.668 9.32-5.234 9.32-10.767 0-5.993-4.77-24.414-10.652-24.414Z"})),f().createElement("g",{mask:"url(#error-block-image-disconnected-b)"},f().createElement("g",{transform:"translate(85.858 150.644)"},f().createElement("path",{d:"M116.26 28.467c1.352 0 2.703.018 4.054.054 3.923.385 10.188 4.248 9.267 11.061-.878 6.496-5.836 9.089-8.962 9.529a130.762 130.762 0 0 0-4.36-.072c-28.567 0-60.654 10.149-96.22 30.676l-2.227 1.297c-.744.437-1.49.878-2.236 1.323-4.878 2.911-11.193 1.316-14.103-3.562C-1.438 73.894.157 67.58 5.035 64.67 45.34 40.62 82.4 28.467 116.26 28.467Zm22 11.63c1.03-5.942 6.376-8.618 11.084-8.08C172.14 36.91 194.83 46.86 217.37 61.794c4.735 3.138 6.03 9.52 2.893 14.255-3.138 4.736-9.52 6.031-14.256 2.893-20.111-13.325-40.075-22.165-59.935-26.584a9.974 9.974 0 0 0-.325-.088c-3.987-1.015-8.602-5.738-7.487-12.175ZM116.26 77.418c22.777 0 45.4 7.057 67.73 20.988 4.82 3.007 6.289 9.351 3.282 14.17-3.007 4.82-9.351 6.29-14.17 3.283-19.194-11.974-38.095-17.87-56.842-17.87s-37.648 5.896-56.842 17.87c-4.82 3.007-11.164 1.537-14.17-3.282-3.007-4.82-1.538-11.164 3.282-14.171 22.33-13.931 44.953-20.988 67.73-20.988ZM117.974 124.67c9.85 0 17.303 1.69 25.687 5.082l.82.337 2.9 1.231 3.008 1.252.77.305.107.04c5.326 1.976 8.042 7.895 6.066 13.221-1.976 5.326-7.895 8.042-13.221 6.067l-.713-.27-.726-.285-.763-.31-1.263-.527-2.944-1.26-1.125-.473c-6.393-2.648-11.433-3.838-18.603-3.838-8.223 0-16.532 2.126-25.028 6.475-5.056 2.588-11.254.587-13.842-4.47-2.589-5.056-.588-11.253 4.47-13.842 11.313-5.791 22.814-8.735 34.4-8.735ZM118.235 197.047c7.15 0 13.77-.897 19.841-2.721 5.44-1.635 8.526-7.37 6.892-12.81-1.635-5.44-7.37-8.526-12.81-6.892-4.072 1.224-8.707 1.851-13.923 1.851-4.36 0-8.79-1.045-13.373-3.21l-.626-.301c-5.095-2.512-11.262-.418-13.773 4.678-2.512 5.095-.418 11.261 4.678 13.773 7.559 3.727 15.288 5.632 23.094 5.632Z",fill:"#377EFF",fillRule:"nonzero"}),f().createElement("path",{d:"M198.35 62.413c2.755-4.967 9.016-6.76 13.984-4.004 13.068 7.25 19.124 18.535 17.615 30.952-1.157 9.515-6.83 18.757-14.096 24.352-13.364 10.29-34.915 9.401-49.363-1.91-4.472-3.502-5.26-9.967-1.758-14.44 3.436-4.388 9.724-5.229 14.185-1.952l.255.194c7.283 5.702 18.475 6.164 24.13 1.809 3.072-2.366 5.766-6.754 6.226-10.536.467-3.844-1.21-7.07-6.796-10.267l-.378-.213c-4.967-2.756-6.76-9.017-4.004-13.985ZM61.35 103.092c-2.84-4.92-9.13-6.607-14.05-3.768-20.662 11.922-21.772 35.751-6.018 51.69 13.752 13.914 33.192 13.447 50.507 1.158 4.633-3.288 5.723-9.708 2.436-14.34-3.288-4.633-9.709-5.724-14.341-2.436-9.763 6.928-18.07 7.128-23.97 1.158-6.761-6.84-6.498-14.501 1.35-19.225l.317-.187c4.92-2.84 6.608-9.13 3.769-14.05ZM129.103 135.702c1.688-5.424 7.454-8.453 12.878-6.764 14.776 4.599 23.437 13.727 25.259 25.58 1.316 8.561-1.228 17.533-5.58 24.052-3.132 4.688-7.388 8.287-12.504 11.112-3.03 1.673-5.75 2.811-9.37 4.066l-1.4.477c-5.387 1.806-11.217-1.097-13.022-6.484-1.805-5.386 1.098-11.216 6.484-13.02l1.09-.374c6.032-2.112 9.602-4.19 11.613-7.201 1.693-2.535 2.818-6.502 2.356-9.503-.564-3.673-3.432-6.696-11.04-9.063-5.424-1.689-8.452-7.454-6.764-12.878Z",fill:"#377EFF",fillRule:"nonzero"}),f().createElement("path",{d:"M148.072 181.58c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.236-9.096-10.275-9.707",stroke:"#FFF",strokeWidth:.571,strokeLinecap:"round"}),f().createElement("ellipse",{fill:"#7EACFF",transform:"rotate(10 147 41.933)",cx:147,cy:41.933,rx:9.143,ry:10.286}),f().createElement("path",{d:"M210.422 107.472c3.718-7.98 4.172-14.9 1.36-20.76-2.81-5.86-6.668-9.883-11.572-12.067M51.604 131.769c-3.15-6.8-3.537-12.694-1.161-17.685 2.376-4.99 5.57-8.136 9.583-9.438",stroke:"#003CFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),f().createElement("path",{d:"M21.53 64.408c4.946-3.389 9.817-6.026 14.612-7.912",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),f().createElement("path",{d:"m113.243 15.444 9.588 8.314M144.31 9.405l-5.775 11.3m18.389-1.246-11.907 4.643M127.64 5.66l2.77 14.255",stroke:"#4486FE",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}))),f().createElement("g",{mask:"url(#error-block-image-disconnected-b)"},f().createElement("g",{transform:"translate(275.143 302.571)"},f().createElement("mask",{id:"error-block-image-disconnected-e",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-disconnected-d"})),f().createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-disconnected-d"}),f().createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-disconnected-e)",cx:16.457,cy:17.92,r:22.309}),f().createElement("circle",{fill:"#FFF",fillRule:"nonzero",mask:"url(#error-block-image-disconnected-e)",cx:14.263,cy:12.069,r:2.194}))),f().createElement("g",{mask:"url(#error-block-image-disconnected-b)",fill:"#FBBE47",fillRule:"nonzero"},f().createElement("circle",{cx:12,cy:12,r:12,transform:"translate(84 297.714)"})))),ag=f().createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},f().createElement("defs",null,f().createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-empty-a"},f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),f().createElement("path",{d:"M146.183 18.461c31.705 23.336 33.349 71.85 4.93 96.614-.252.22 6.172 5.602 13.577 11.414l.686.537.69.54.695.54.348.27.698.54a341.27 341.27 0 0 0 8.806 6.596c1.114.802 4.643-.853 10.587-4.965l-.532 12.218a1.2 1.2 0 0 1-.481.91l-10.868 8.111c-1.405 1.048-3.32 1.185-4.854.072l-35.578-25.834c-33.414 17.333-79.913 15-109.804-7-33.444-24.616-33.444-75.95 0-100.563 33.443-24.615 87.657-24.615 121.1 0Zm-60.469 7.653C51.63 26.114 24 44.534 24 67.257S51.63 108.4 85.714 108.4s61.715-18.42 61.715-41.143c0-22.722-27.63-41.143-61.715-41.143Z",id:"error-block-image-empty-b"})),f().createElement("g",{fill:"none",fillRule:"evenodd"},f().createElement("path",{d:"M157.964 244.661H0L3.806 100.13a4.572 4.572 0 0 1 4.353-4.446l.217-.006h45.588V68.2a4.572 4.572 0 0 1 4.356-4.567l.216-.005h65.498l2.554-58.689a4.571 4.571 0 0 1 4.779-4.367l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.212 3.146 69.652L301.634 64.9a4.571 4.571 0 0 1 5.628 4.231l.005.215v43.955l56.162.001v130.264h-56.163v.001h-82.383v-.004h-66.919v1.098ZM89.503 160.03h-9.968v8.436h9.968v-8.436Zm0-14.507h-9.968v8.435h9.968v-8.435Zm197.985-5.15h-9.967v8.432h9.967v-8.431Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.436h9.967v-8.436Zm-84.643-3.29h-30.8v8.436h30.8v-8.436Zm0-15.912h-30.8v8.436h30.8v-8.436Z",transform:"translate(18.286 50.286)",fill:"url(#error-block-image-empty-a)"}),f().createElement("g",{transform:"translate(108.571 189.886)"},f().createElement("mask",{id:"error-block-image-empty-c",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-empty-b"})),f().createElement("use",{fill:"#377EFF",xlinkHref:"#error-block-image-empty-b"}),f().createElement("path",{d:"M131.429 134.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM128 133.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM120 128.971a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.142.125.006a1.143 1.143 0 1 1-.125-.006Zm11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-22.857 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm17.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285ZM136 125.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-13.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm18.857-2.286a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-37.143 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm13.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm18.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-28 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm17.715-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-4.571a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.428 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.143 1.142a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-9.143 0a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm30.286-3.429a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM124 109.543a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.858-1.142a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm-11.428-3.429a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM124 99.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM49.143 55.829a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-9.143-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-5.714 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm21.143-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM52 52.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm12-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-19.429-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm5.715 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm16-1.143.124.007a1.143 1.143 0 1 1-.124-.007Zm11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm17.143-1.142a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429-1.143a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-13.143 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm4.572-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM64 44.4a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-16-1.143.125.007a1.143 1.143 0 1 1-.125-.007Zm11.429 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-22.858 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm36.572 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM30.286 44.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM44 43.257a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm9.714-1.143a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM72 38.686a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-11.429 0a1.143 1.143 0 1 1 0 2.285 1.143 1.143 0 0 1 0-2.285Zm-28 1.143a.571.571 0 1 1 0 1.142.571.571 0 0 1 0-1.142Zm5.715-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM56 37.543a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-5.714 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-6.857 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM60.57 32.97a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-11.428 0a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286ZM44 34.114a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-8-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-9.143 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm30.286-3.428a1.143 1.143 0 1 1 0 2.286 1.143 1.143 0 0 1 0-2.286Zm-15.429 1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.715 0a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm5.714-4.572a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-22.857-1.143a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Zm-11.429-3.428a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143ZM41.714 20.4a.571.571 0 1 1 0 1.143.571.571 0 0 1 0-1.143Z",fill:"#003CFF",fillRule:"nonzero",mask:"url(#error-block-image-empty-c)"})),f().createElement("path",{d:"M295.213 319.24c.744.546.745 1.433.002 1.98l-11.806 8.81c-1.069.799-3.326.474-4.853-.609l-35.622-25.241c-33.375 17.037-79.545 14.615-109.28-7.271-33.443-24.615-33.443-64.521 0-89.133 33.443-24.616 87.657-24.616 121.1 0 31.706 23.336 33.35 60.42 4.931 85.185-.543.473 35.528 26.278 35.528 26.278ZM148.06 220.015c-25.44 17.853-25.44 46.8 0 64.652 25.44 17.85 66.689 17.85 92.129 0 25.436-17.853 25.436-46.799 0-64.652-25.44-17.853-66.688-17.853-92.129 0Z",fill:"#5D96FE"}),f().createElement("path",{d:"M123.514 233.021c2.185-5.241 5.67-9.735 10.453-13.482M264.967 271.54c-2.185 5.24-5.67 9.734-10.453 13.481",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),f().createElement("path",{d:"M81.143 252.571c7.574 0 13.714 23.88 13.714 31.649 0 6.97-4.942 12.755-11.429 13.871v11.672c0 1.235-.767 2.237-1.713 2.237-.904 0-1.644-.912-1.71-2.07l-.005-.167v-11.526c-7.04-.595-12.571-6.644-12.571-14.017 0-7.024 5.02-27.222 11.581-31.027l.096-.053c.027-.016.055-.03.082-.045l.067-.035.066-.033.1-.05.094-.041a3.34 3.34 0 0 1 .224-.093l.11-.042.097-.032c.038-.013.077-.025.115-.036l.053-.016.053-.014a3.351 3.351 0 0 1 .23-.055l.085-.016a3.95 3.95 0 0 1 .441-.054l.11-.005.11-.002Z",fill:"#FFCD6B",fillRule:"nonzero"}),f().createElement("g",{transform:"translate(283.429 177.143)",fillRule:"nonzero"},f().createElement("path",{d:"M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.49 0-2.707-1.46-2.79-3.301l-.004-.2-.001-19.018C8.659 71.92.13 62.518.13 51.123.13 40.071 8.154 8.49 18.694 2.015l.054-.031a5.94 5.94 0 0 1 .214-.128l.088-.048c.213-.12.427-.228.642-.326l.135-.06.18-.075.135-.053a5.796 5.796 0 0 1 .464-.16 4.44 4.44 0 0 1 .33-.092l.124-.03a7.122 7.122 0 0 1 .31-.065l.018-.003a6.305 6.305 0 0 1 .756-.088l.165-.007.166-.002Z",fill:"#FFCD6B"}),f().createElement("path",{d:"M22.475.847c12.34 0 22.345 37.935 22.345 50.276 0 11.395-8.53 20.798-19.552 22.172v19.019c0 1.932-1.25 3.5-2.792 3.5-1.543 0-2.794-1.566-2.794-3.5V73.295C8.659 71.921.13 62.518.13 51.123.13 38.783 10.134.847 22.475.847Z",fill:"#FFCD6B"}),f().createElement("circle",{fill:"#FFB400",cx:26.4,cy:56.869,r:1.45}),f().createElement("circle",{fill:"#FFB400",cx:39.453,cy:58.319,r:1}),f().createElement("circle",{fill:"#FFB400",cx:17.698,cy:63.637,r:2.417}),f().createElement("circle",{fill:"#FFB400",cx:38.002,cy:51.068,r:2.417}),f().createElement("circle",{fill:"#FFB400",cx:18.665,cy:17.228,r:2.417}),f().createElement("circle",{fill:"#FFB400",cx:32.201,cy:13.36,r:2.417}),f().createElement("circle",{fill:"#FFB400",cx:26.83,cy:20.666,r:1.45}),f().createElement("circle",{fill:"#FFB400",cx:38.969,cy:31.731,r:2.417}),f().createElement("circle",{fill:"#FFB400",cx:25.433,cy:29.797,r:1.45}),f().createElement("path",{d:"M34.197 53.033c0 9.825-6.934 18.017-16.172 19.987a22.44 22.44 0 0 0 4.45.448c12.34 0 22.344-10.004 22.344-22.345C44.82 38.783 34.815.847 22.475.847c8.947 14.03 11.722 40.891 11.722 52.186Z",fill:"#FBBE47"})))),ay=f().createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},f().createElement("defs",null,f().createElement("linearGradient",{x1:"50%",y1:"-116.862%",x2:"50%",y2:"90.764%",id:"error-block-image-busy-a"},f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.207,offset:"0%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:.115,offset:"80.072%"}),f().createElement("stop",{stopColor:"#72A7FD",stopOpacity:0,offset:"100%"})),f().createElement("circle",{id:"error-block-image-busy-b",cx:34.857,cy:34.857,r:34.857})),f().createElement("g",{fill:"none",fillRule:"evenodd"},f().createElement("path",{d:"M157.964 243.667H0L3.806 99.134a4.572 4.572 0 0 1 4.353-4.446l.217-.005h45.588V67.205a4.572 4.572 0 0 1 4.356-4.566l.216-.005 65.498-.001 2.554-58.688a4.571 4.571 0 0 1 4.779-4.368l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.213 3.146 69.652 74.976-17.906a4.571 4.571 0 0 1 5.628 4.23l.005.216v43.955h56.162v130.265l-56.163-.001v.002h-82.383v-.004h-66.919v1.098Zm-68.461-84.631h-9.968v8.435h9.968v-8.435Zm0-14.508h-9.968v8.436h9.968v-8.436Zm197.985-5.149h-9.967v8.432h9.967v-8.432Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.435h9.967v-8.435Zm-84.643-3.29h-30.8v8.435h30.8v-8.435Zm0-15.912h-30.8v8.436h30.8v-8.436Z",transform:"translate(18.286 51.286)",fill:"url(#error-block-image-busy-a)"}),f().createElement("path",{d:"m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l.958-.01c-.376 7.363 3.679 59.93 34.894 62.659 4.203.367 7.432.39 7.475 4.609.042 4.218-3.176 4.307-7.37 4.76-34.593 3.737-34.136 56.004-33.61 63.357l-.957.01c-5.276.053-9.51 4.373-9.455 9.649.053 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.054 9.508-4.374 9.455-9.648-.055-5.276-4.374-9.51-9.65-9.455l-.958.01c.377-7.363-.729-59.672-34.894-62.66-4.202-.367-7.432-.39-7.474-4.608-.043-4.219 3.175-4.308 7.369-4.76 31.276-3.377 34.136-56.004 33.61-63.357l.958-.01c5.276-.053 9.508-4.373 9.455-9.649-.055-5.276-4.374-9.509-9.65-9.454Z",fill:"#377EFF"}),f().createElement("path",{d:"M233.524 314.422c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.894-5.644c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.149 17.865c.108.684.773 1.147 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm-2.144-8.182c.109.684.773 1.148 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-1.586-4.694c.108.684.772 1.148 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.013-5.88c.109.685.773 1.148 1.484 1.036.71-.113 1.2-.759 1.09-1.443-.107-.684-.772-1.148-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm.236 15.575c.108.685.772 1.148 1.483 1.035.71-.112 1.2-.758 1.09-1.442-.107-.685-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.442Zm-.4 4.494c.108.684.772 1.147 1.483 1.035.71-.113 1.2-.759 1.091-1.443-.108-.684-.773-1.148-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-3.88-8.601c.108.684.772 1.147 1.483 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-.524-7.186c.065.41.463.688.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-2.265-4.102c.109.684.773 1.148 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.147-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm-.545-6.518c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm2.098 23.629c.109.684.773 1.147 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.443Zm-.756-9.65c.043.274.309.46.593.414a.512.512 0 0 0 .437-.577.512.512 0 0 0-.594-.414.512.512 0 0 0-.436.577Zm-.808 20.96c.109.684.773 1.147 1.484 1.034.71-.112 1.2-.758 1.09-1.442-.108-.685-.772-1.148-1.483-1.036-.71.113-1.199.759-1.09 1.443Zm-4.691-31.966c.065.41.463.689.89.621.426-.068.72-.455.654-.866-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm2.098 23.628c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.967-12.416c.109.684.773 1.147 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm1.073 6.772c.108.685.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.036-.711.113-1.2.759-1.091 1.443Zm-.009-3.131c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.43-9.03c.065.41.463.688.89.62.426-.067.72-.454.655-.865-.065-.41-.464-.689-.89-.62-.427.067-.72.454-.655.865ZM214.5 333.38c.108.685.772 1.148 1.483 1.036.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.711.112-1.2.758-1.091 1.442Zm-.156-7.178c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm-1.871-4.72c.108.684.773 1.147 1.483 1.034.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.035-.71.112-1.2.758-1.091 1.442Zm-1.614-6.857c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-.894-5.644c.065.41.464.689.89.621.427-.067.72-.455.655-.866-.065-.41-.463-.688-.89-.62-.427.067-.72.455-.655.865Zm-1.43-9.03c.065.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.958 14.225c.065.41.463.689.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-.703 12.81c.065.41.464.688.89.62.427-.067.72-.455.655-.865-.065-.41-.463-.689-.89-.621-.427.067-.72.455-.655.866Zm-4.543-22.536c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm2.806 30.138c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm-5.694-17.996c.065.41.463.688.89.62.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.866Zm-2.935-13.343c.066.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.463-.689-.89-.621-.426.068-.72.455-.655.866Z",fill:"#003CFF",fillRule:"nonzero"}),f().createElement("path",{d:"m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l101.963-1.04c5.276-.052 9.508-4.372 9.455-9.648-.055-5.276-4.374-9.509-9.65-9.454ZM252.64 331.241l-101.964 1.038c-5.275.054-9.508 4.374-9.454 9.65.054 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.053 9.507-4.373 9.454-9.649-.054-5.275-4.374-9.508-9.649-9.454Z",fill:"#7EACFF"}),f().createElement("path",{stroke:"#003CFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round",d:"m196.824 197.298 52.216-.506M193.329 330.5h52.215"}),f().createElement("path",{d:"M167.367 228.041c-4.091-10.787-6.086-20.934-5.985-30.44",stroke:"#FFF",strokeWidth:.75,strokeLinecap:"round",strokeLinejoin:"round"}),f().createElement("circle",{cx:14.857,cy:14.857,r:14.857,transform:"translate(106.857 248.571)",fill:"#FFCD6B",fillRule:"nonzero"}),f().createElement("g",{transform:"translate(236.571 284.571)"},f().createElement("mask",{id:"error-block-image-busy-c",fill:"#fff"},f().createElement("use",{xlinkHref:"#error-block-image-busy-b"})),f().createElement("use",{fill:"#FBBE47",fillRule:"nonzero",xlinkHref:"#error-block-image-busy-b"}),f().createElement("circle",{fill:"#FFCD6B",fillRule:"nonzero",mask:"url(#error-block-image-busy-c)",cx:25.714,cy:28,r:34.857}),f().createElement("circle",{fill:"#FFF",fillRule:"nonzero",mask:"url(#error-block-image-busy-c)",cx:22.286,cy:18.857,r:3.429}))));let aw=(a={default:ab,disconnected:av,empty:ag,busy:ay},e=>{var t;let n=Q(ah,e),{locale:r}=em(),i=r.ErrorBlock[n.status],o="description"in n?n.description:i.description,l="title"in n?n.title:i.title,s=null!==(t=n.image)&&void 0!==t?t:a[n.status],c="string"==typeof s?f().createElement("img",{src:s,alt:"error block image"}):s;return L(n,f().createElement("div",{className:D()(am,{[`${am}-full-page`]:n.fullPage})},f().createElement("div",{className:`${am}-image`},c),f().createElement("div",{className:`${am}-description`},![void 0,null].includes(l)&&f().createElement("div",{className:`${am}-description-title`},l),![void 0,null].includes(o)&&f().createElement("div",{className:`${am}-description-subtitle`},o)),n.children&&f().createElement("div",{className:`${am}-content`},n.children)))});var ax=y("2266"),ak={};ak.styleTagTransform=_(),ak.setAttributes=M(),ak.insert=j().bind(null,"head"),ak.domAPI=C(),ak.insertStyleElement=I(),O()(ax.Z,ak),ax.Z&&ax.Z.locals&&ax.Z.locals;var aS=function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"LeftOutline-LeftOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"LeftOutline-编组"},d.createElement("rect",{id:"LeftOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M31.7053818,5.11219264 L13.5234393,22.6612572 L13.5234393,22.6612572 C12.969699,23.2125856 12.9371261,24.0863155 13.4257204,24.6755735 L13.5234393,24.7825775 L31.7045714,42.8834676 C31.7795345,42.9580998 31.8810078,43 31.9867879,43 L35.1135102,43 C35.3344241,43 35.5135102,42.8209139 35.5135102,42.6 C35.5135102,42.4936115 35.4711279,42.391606 35.3957362,42.316542 L16.7799842,23.7816937 L16.7799842,23.7816937 L35.3764658,5.6866816 C35.5347957,5.53262122 35.5382568,5.27937888 35.3841964,5.121049 C35.3088921,5.04365775 35.205497,5 35.0975148,5 L31.9831711,5 C31.8795372,5 31.7799483,5.04022164 31.7053818,5.11219264 Z",id:"LeftOutline-路径",fill:"currentColor",fillRule:"nonzero"}))))};let aO="adm-nav-bar",aE=f().createElement(aS,null);var aC=e=>{let{navBar:t={}}=em(),n=Q(t,e),{back:r,backIcon:i,backArrow:o}=n,a=t.backIcon||aE,l=J(aE,t.backIcon,!0===o?a:o,!0===i?a:i);return L(n,f().createElement("div",{className:D()(aO)},f().createElement("div",{className:`${aO}-left`,role:"button"},null!==r&&f().createElement("div",{className:`${aO}-back`,onClick:n.onBack},l&&f().createElement("span",{className:`${aO}-back-arrow`},l),f().createElement("span",{"aria-hidden":"true"},r)),n.left),f().createElement("div",{className:`${aO}-title`},n.children),f().createElement("div",{className:`${aO}-right`},n.right)))},aP=y("2793"),aj={};aj.styleTagTransform=_(),aj.setAttributes=M(),aj.insert=j().bind(null,"head"),aj.domAPI=C(),aj.insertStyleElement=I(),O()(aP.Z,aj),aP.Z&&aP.Z.locals&&aP.Z.locals;var az=function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"SearchOutline-SearchOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"SearchOutline-编组"},d.createElement("rect",{id:"SearchOutline-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M10.2434135,10.1505371 C17.2346315,3.28315429 28.5696354,3.28315429 35.5608534,10.1505371 C42.3159331,16.7859644 42.5440954,27.4048667 36.2453405,34.3093889 L43.7095294,41.6422249 C43.8671196,41.7970419 43.8693677,42.0502979 43.7145508,42.2078881 C43.7128864,42.2095822 43.7112069,42.2112616 43.7095126,42.2129259 L42.1705322,43.7246464 C42.014915,43.8775072 41.7655181,43.8775006 41.6099089,43.7246316 L34.0775268,36.3248916 L34.0775268,36.3248916 C27.0485579,41.8551751 16.7593545,41.4200547 10.2434135,35.0195303 C3.25219551,28.1521474 3.25219551,17.0179199 10.2434135,10.1505371 Z M12.3532001,12.2229532 C6.52718516,17.9457722 6.52718516,27.2242951 12.3532001,32.9471142 C18.1792151,38.6699332 27.6250517,38.6699332 33.4510667,32.9471142 C39.2770817,27.2242951 39.2770817,17.9457722 33.4510667,12.2229532 C27.6250517,6.50013419 18.1792151,6.50013419 12.3532001,12.2229532 Z",id:"SearchOutline-形状",fill:"currentColor",fillRule:"nonzero"}))))},aM=y("4578"),aA={};aA.styleTagTransform=_(),aA.setAttributes=M(),aA.insert=j().bind(null,"head"),aA.domAPI=C(),aA.insertStyleElement=I(),O()(aM.Z,aA),aM.Z&&aM.Z.locals&&aM.Z.locals;let aI="adm-input",aT={defaultValue:"",clearIcon:f().createElement(function(e){return d.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),d.createElement("g",{id:"CloseCircleFill-CloseCircleFill",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.createElement("g",{id:"CloseCircleFill-编组"},d.createElement("rect",{id:"CloseCircleFill-矩形",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),d.createElement("path",{d:"M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M18.6753876,16 L15.5637812,16 C15.4576916,16 15.3559474,16.0421451 15.2809323,16.1171635 C15.124726,16.2733766 15.1247316,16.5266426 15.2809447,16.6828489 L15.2809447,16.6828489 L22.299066,23.7006641 L14.6828159,31.3171619 C14.6078042,31.3921761 14.5656632,31.4939157 14.5656632,31.6 C14.5656632,31.8209139 14.7447493,32 14.9656632,32 L14.9656632,32 L18.0753284,32 C18.1814068,32 18.2831412,31.9578638 18.3581544,31.8828594 L18.3581544,31.8828594 L24.420066,25.8216641 L30.4818451,31.8828564 C30.5568585,31.9578626 30.6585942,32 30.7646741,32 L30.7646741,32 L33.8763476,32 C33.9824309,32 34.0841695,31.9578599 34.1591835,31.8828496 C34.315397,31.7266436 34.3154031,31.4733776 34.1591972,31.3171641 L34.1591972,31.3171641 L26.542066,23.6996641 L33.5591874,16.6828489 C33.6342057,16.6078338 33.6763508,16.5060896 33.6763508,16.4 C33.6763508,16.1790861 33.4972647,16 33.2763508,16 L33.2763508,16 L30.1637654,16 C30.0576705,16 29.9559218,16.0421493 29.8809058,16.1171741 L29.8809058,16.1171741 L24.420066,21.5786641 L18.9582218,16.1171488 C18.883208,16.0421394 18.7814701,16 18.6753876,16 L18.6753876,16 Z",id:"CloseCircleFill-形状结合",fill:"currentColor",fillRule:"nonzero"}))))},null),onlyShowClearWhenFocus:!0},a_=(0,d.forwardRef)((e,t)=>{let{locale:n,input:r={}}=em(),i=Q(aT,r,e),[o,a]=ec(i),[l,s]=(0,d.useState)(!1),c=(0,d.useRef)(!1),u=(0,d.useRef)(null),p=function({onEnterPress:e,onKeyDown:t,nativeInputRef:n,enterKeyHint:r}){return(0,es.useIsomorphicLayoutEffect)(()=>{let e=n.current;if(r&&e)return e.setAttribute("enterkeyhint",r),()=>{e.removeAttribute("enterkeyhint")}},[r]),n=>{e&&("Enter"===n.code||13===n.keyCode)&&e(n),null==t||t(n)}}({onEnterPress:i.onEnterPress,onKeyDown:i.onKeyDown,nativeInputRef:u,enterKeyHint:i.enterKeyHint});(0,d.useImperativeHandle)(t,()=>({clear:()=>{a("")},focus:()=>{var e;null===(e=u.current)||void 0===e||e.focus()},blur:()=>{var e;null===(e=u.current)||void 0===e||e.blur()},get nativeElement(){return u.current}}));let m=!!i.clearable&&!!o&&!i.readOnly&&(!i.onlyShowClearWhenFocus||l);return L(i,f().createElement("div",{className:D()(`${aI}`,i.disabled&&`${aI}-disabled`)},f().createElement("input",{ref:u,className:`${aI}-element`,value:o,onChange:e=>{a(e.target.value)},onFocus:e=>{var t;s(!0),null===(t=i.onFocus)||void 0===t||t.call(i,e)},onBlur:e=>{var t;s(!1),!function(){let e=o;if("number"===i.type){let t=e&&iH(parseFloat(e),i.min,i.max).toString();Number(e)!==Number(t)&&(e=t)}e!==o&&a(e)}(),null===(t=i.onBlur)||void 0===t||t.call(i,e)},onPaste:i.onPaste,id:i.id,placeholder:i.placeholder,disabled:i.disabled,readOnly:i.readOnly,maxLength:i.maxLength,minLength:i.minLength,max:i.max,min:i.min,autoComplete:i.autoComplete,enterKeyHint:i.enterKeyHint,autoFocus:i.autoFocus,pattern:i.pattern,inputMode:i.inputMode,type:i.type,name:i.name,autoCapitalize:i.autoCapitalize,autoCorrect:i.autoCorrect,onKeyDown:p,onKeyUp:i.onKeyUp,onCompositionStart:e=>{var t;c.current=!0,null===(t=i.onCompositionStart)||void 0===t||t.call(i,e)},onCompositionEnd:e=>{var t;c.current=!1,null===(t=i.onCompositionEnd)||void 0===t||t.call(i,e)},onClick:i.onClick,step:i.step,role:i.role,"aria-valuenow":i["aria-valuenow"],"aria-valuemax":i["aria-valuemax"],"aria-valuemin":i["aria-valuemin"],"aria-label":i["aria-label"]}),m&&f().createElement("div",{className:`${aI}-clear`,onMouseDown:e=>{e.preventDefault()},onClick:()=>{var e,t;a(""),null===(e=i.onClear)||void 0===e||e.call(i),Z&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())&&c.current&&(c.current=!1,null===(t=u.current)||void 0===t||t.blur())},"aria-label":n.Input.clear},i.clearIcon)))}),aN="adm-search-bar",aF={clearable:!0,onlyShowClearWhenFocus:!1,showCancelButton:!1,defaultValue:"",clearOnCancel:!0},aZ=(0,d.forwardRef)((e,t)=>{let n,{locale:r,searchBar:i={}}=em(),o=Q(aF,i,{cancelText:r.common.cancel},e),a=J(f().createElement(az,null),i.searchIcon,e.icon,e.searchIcon),[l,s]=ec(o),[c,u]=(0,d.useState)(!1),p=(0,d.useRef)(null),m=(0,d.useRef)(!1);(0,d.useImperativeHandle)(t,()=>({clear:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.clear()},focus:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()},blur:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.blur()},get nativeElement(){var e,t;return null!==(t=null===(e=p.current)||void 0===e?void 0:e.nativeElement)&&void 0!==t?t:null}}));return L(o,f().createElement("div",{className:D()(aN,{[`${aN}-active`]:c})},f().createElement("div",{className:`${aN}-input-box`},a&&f().createElement("div",{className:`${aN}-input-box-icon`},a),f().createElement(a_,{ref:p,className:D()(`${aN}-input`,{[`${aN}-input-without-icon`]:!a}),value:l,onChange:s,maxLength:o.maxLength,autoFocus:o.autoFocus,placeholder:o.placeholder,clearable:o.clearable,onlyShowClearWhenFocus:o.onlyShowClearWhenFocus,onFocus:e=>{var t;u(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e)},onBlur:e=>{var t;u(!1),null===(t=o.onBlur)||void 0===t||t.call(o,e)},onClear:o.onClear,type:"search",enterKeyHint:"search",onEnterPress:()=>{var e,t;!m.current&&(null===(e=p.current)||void 0===e||e.blur(),null===(t=o.onSearch)||void 0===t||t.call(o,l))},"aria-label":r.SearchBar.name,onCompositionStart:e=>{var t;m.current=!0,null===(t=o.onCompositionStart)||void 0===t||t.call(o,e)},onCompositionEnd:e=>{var t;m.current=!1,null===(t=o.onCompositionEnd)||void 0===t||t.call(o,e)}})),(n="function"==typeof o.showCancelButton?o.showCancelButton(c,l):o.showCancelButton&&c)&&f().createElement("div",{className:`${aN}-suffix`},f().createElement(eo,{fill:"none",className:`${aN}-cancel-button`,onClick:()=>{var e,t,n;o.clearOnCancel&&(null===(e=p.current)||void 0===e||e.clear()),null===(t=p.current)||void 0===t||t.blur(),null===(n=o.onCancel)||void 0===n||n.call(o)},onMouseDown:e=>{e.preventDefault()}},o.cancelText))))});var aR=y("9013"),aB={};aB.styleTagTransform=_(),aB.setAttributes=M(),aB.insert=j().bind(null,"head"),aB.domAPI=C(),aB.insertStyleElement=I(),O()(aR.Z,aB),aR.Z&&aR.Z.locals&&aR.Z.locals;let a$="adm-space",aD={direction:"horizontal"};var aL=e=>{let t=Q(aD,e),{direction:n,onClick:r}=t;return L(t,f().createElement("div",{className:D()(a$,{[`${a$}-wrap`]:t.wrap,[`${a$}-block`]:t.block,[`${a$}-${n}`]:!0,[`${a$}-align-${t.align}`]:!!t.align,[`${a$}-justify-${t.justify}`]:!!t.justify}),onClick:r},f().Children.map(t.children,e=>null!=e&&f().createElement("div",{className:`${a$}-item`},e))))},aW=y("7902"),aq={};aq.styleTagTransform=_(),aq.setAttributes=M(),aq.insert=j().bind(null,"head"),aq.domAPI=C(),aq.insertStyleElement=I(),O()(aW.Z,aq),aW.Z&&aW.Z.locals&&aW.Z.locals;var aU=y("5600");let aH="adm-tabs",aV={activeLineMode:"auto",stretch:!0,direction:"ltr"};var aG=U(e=>{var t,n,r;let i;let o=Q(aV,e),a=(0,d.useRef)(null),l=(0,d.useRef)(null),s={},c=null,u=[],p="rtl"===o.direction;n=o.children,r=(e,t)=>{if(!(0,d.isValidElement)(e))return;let n=e.key;if("string"!=typeof n)return;0===t&&(c=n);let r=u.push(e);s[n]=r-1},i=0,function e(t){f().Children.forEach(t,t=>{(0,aU.isFragment)(t)?e(t.props.children):(r(t,i),i+=1)})}(n);let[m,h]=ec({value:o.activeKey,defaultValue:null!==(t=o.defaultActiveKey)&&void 0!==t?t:c,onChange:e=>{var t;null!==e&&(null===(t=o.onChange)||void 0===t||t.call(o,e))}}),[{x:b,width:v},g]=rO(()=>({x:0,width:0,config:{tension:300,clamp:!0}})),[{scrollLeft:y},w]=rO(()=>({scrollLeft:0,config:{tension:300,clamp:!0}})),[{leftMaskOpacity:x,rightMaskOpacity:k},S]=rO(()=>({leftMaskOpacity:0,rightMaskOpacity:0,config:{clamp:!0}}));function O(e=!1,t=!1){let n=a.current;if(!n)return;let r=s[m];if(void 0===r){g.start({x:0,width:0,immediate:!0});return}let i=l.current;if(!i)return;let c=n.children.item(r+1),u=c.children.item(0),d=u.offsetLeft,f=u.offsetWidth,h=c.offsetLeft,b=c.offsetWidth,v=n.offsetWidth,y=n.scrollWidth,x=n.scrollLeft,k=i.offsetWidth,S=0,E=0;"auto"===o.activeLineMode?(S=d,E=f):"full"===o.activeLineMode?(S=h,E=b):S=d+(f-k)/2,p&&(S=-(v-S-(["auto","full"].includes(o.activeLineMode)?E:k))),g.start({x:S,width:E,immediate:e});let C=y-v;if(C<=0)return;let P=0;P=p?-iH(v/2-d+f/2-k,0,C):iH(d-(v-f)/2,0,C),(!t||!1!==o.autoScroll)&&w.start({scrollLeft:P,from:{scrollLeft:x},immediate:e})}(0,es.useIsomorphicLayoutEffect)(()=>{O(!b.isAnimating)},[]),o2(()=>{O()},[m,p,o.activeLineMode]),!function(e,t){let n=(0,es.useMemoizedFn)(e);(0,es.useIsomorphicLayoutEffect)(()=>{let e=t.current;if(e){if(window.ResizeObserver){let t;let r=new ResizeObserver(()=>{t=window.requestAnimationFrame(()=>n(e))});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.disconnect()}}else n(e)}},[t])}(()=>{O(!b.isAnimating)},a),!function(e,t,n){let r=(0,es.useMemoizedFn)(e);(0,d.useEffect)(()=>(function(e,t,n){if(e&&"undefined"!=typeof MutationObserver){let r=new MutationObserver(()=>{n()});return r.observe(e,t),()=>{r&&(r.disconnect(),r=null)}}return()=>{}})(t.current,n,r),[t])}(()=>{O(!b.isAnimating,!0)},a,{subtree:!0,childList:!0,characterData:!0});let{run:E}=(0,es.useThrottleFn)((e=!1)=>{let t=a.current;if(!t)return;let n=t.scrollLeft,r=!1,i=!1;p?(r=Math.round(-n)+t.offsetWidth<t.scrollWidth,i=n<0):(r=n>0,i=n+t.offsetWidth<t.scrollWidth),S.start({leftMaskOpacity:r?1:0,rightMaskOpacity:i?1:0,immediate:e})},{wait:100,trailing:!0,leading:!0});return(0,es.useIsomorphicLayoutEffect)(()=>{E(!0)},[]),L(o,f().createElement("div",{className:aH,style:{direction:o.direction}},f().createElement("div",{className:`${aH}-header`},f().createElement(rH.div,{className:D()(`${aH}-header-mask`,`${aH}-header-mask-left`),style:{opacity:x}}),f().createElement(rH.div,{className:D()(`${aH}-header-mask`,`${aH}-header-mask-right`),style:{opacity:k}}),f().createElement(rH.div,{className:`${aH}-tab-list`,ref:a,scrollLeft:y,onScroll:E,role:"tablist"},f().createElement(rH.div,{ref:l,className:`${aH}-tab-line`,style:{width:"fixed"===o.activeLineMode?"var(--fixed-active-line-width, 30px)":v,x:b}}),u.map(e=>L(e.props,f().createElement("div",{key:e.key,className:D()(`${aH}-tab-wrapper`,{[`${aH}-tab-wrapper-stretch`]:o.stretch})},f().createElement("div",{onClick:()=>{let{key:t}=e;if(!e.props.disabled){if(null==t)return;h(t.toString())}},className:D()(`${aH}-tab`,{[`${aH}-tab-active`]:e.key===m,[`${aH}-tab-disabled`]:e.props.disabled}),role:"tab","aria-selected":e.key===m},e.props.title)))))),u.map(e=>{if(void 0===e.props.children)return null;let t=e.key===m;return f().createElement(rG,{key:e.key,active:t,forceRender:e.props.forceRender,destroyOnClose:e.props.destroyOnClose},f().createElement("div",{className:`${aH}-content`,style:{display:t?"block":"none"}},e.props.children))})))},{Tab:()=>null});function aY(e,t){return!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function aK(){var e=aY(["\n height: var(--nb-mobile-page-header-height);\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid ",";\n position: sticky;\n top: 0;\n background-color: white;\n z-index: 1000;\n\n // to match the button named 'Add block'\n & + .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {\n margin: 12px;\n }\n "]);return aK=function(){return e},e}function aX(){var e=aY(["\n display: inline-block;\n padding: 12px;\n visibility: hidden;\n "]);return aX=function(){return e},e}function aQ(){var e=aY(["\n display: inline-block;\n padding: 12px;\n cursor: pointer;\n "]);return aQ=function(){return e},e}function aJ(){var e=aY(["\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n max-height: calc(100% - var(--nb-mobile-page-header-height));\n overflow-y: auto;\n overflow-x: hidden;\n background-color: ",";\n\n // clear the margin-bottom of the last block\n & > .nb-grid-container > .nb-grid > .nb-grid-warp > .nb-grid-row:nth-last-child(2) .noco-card-item {\n margin-bottom: 0;\n\n & > .ant-card {\n margin-bottom: 0 !important;\n }\n }\n "]);return aJ=function(){return e},e}function a0(){var e=aY(["\n padding: 8px var(--nb-mobile-page-tabs-content-padding);\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: sticky;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 1000;\n border-top: 1px solid ",";\n background-color: ",";\n\n .ant-btn {\n margin-left: 8px;\n }\n "]);return a0=function(){return e},e}var a1=(0,u.createStyles)(function(e){var t=e.css,n=e.token;return{header:t(aK(),n.colorSplit),placeholder:t(aX()),closeIcon:t(aQ()),body:t(aJ(),n.colorBgLayout),footer:t(a0(),n.colorSplit,n.colorBgLayout)}});function a2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a4(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a2(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a3=u.Filter.Action,a5=(0,u.withDynamicSchemaProps)(function(e){var t,n;return f().createElement(a3,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={Container:function(e){var t=a8(e.open),n=t.visiblePopup,r=t.popupContainerRef,i=(0,u.useZIndexContext)(),o=a1().styles,a=(0,h.useTranslation)().t,l=i+10,s=(0,d.useCallback)(function(){e.onOpenChange(!1)},[e]),c=(0,d.useMemo)(function(){return{token:{zIndexPopupBase:l}}},[l]),p=(0,d.useMemo)(function(){return{borderTopLeftRadius:"8px",borderTopRightRadius:"8px",maxHeight:"calc(100% - var(--nb-mobile-page-header-height))",overflow:"auto",zIndex:l}},[l]),m=(0,d.useMemo)(function(){return{zIndex:l}},[l]),b=(0,d.useCallback)(function(){return r.current},[r]);return f().createElement(k.ConfigProvider,{theme:c},e.children,f().createElement(iU,{visible:n,onClose:s,onMaskClick:s,getContainer:b,bodyStyle:p,maskStyle:m,closeOnSwipe:!0},f().createElement("div",{className:o.header},f().createElement("span",{className:o.placeholder},f().createElement(r2,null)),f().createElement("span",null,a("Filter")),f().createElement("span",{className:o.closeIcon,onClick:s},f().createElement(r2,null))),f().createElement("div",{style:{padding:12}},e.content),f().createElement("div",{style:{height:150}})))}},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))});a5.displayName="FilterAction";var a6=u.Filter.Action,a7=function(){u.Filter.Action=a5,(0,d.useEffect)(function(){return function(){u.Filter.Action=a6}},[])},a8=function(e){var t=a4((0,d.useState)(function(){return document.querySelector(".mobile-container")}),1)[0],n=a4((0,d.useState)(!1),2),r=n[0],i=n[1],o=f().useRef(null),a=(0,u.useZIndexContext)()+10;return(0,d.useEffect)(function(){if(!e){i(!1),o.current&&setTimeout(function(){t.contains(o.current)&&t.removeChild(o.current),o.current=null},300);return}var n=document.createElement("div");return n.style.transform="translateZ(0)",n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.right="0",n.style.bottom="0",n.style.overflow="hidden",n.style.zIndex=a.toString(),t.appendChild(n),o.current=n,i(!0),function(){o.current&&setTimeout(function(){t.contains(o.current)&&t.removeChild(o.current),o.current=null},300)}},[t,a,e]),{visiblePopup:r,popupContainerRef:o}},a9=(0,x.observer)(function(e){var t=(0,x.useFieldSchema)(),n=(0,x.useField)(),r=(0,u.useActionContext)(),i=r.visible,o=r.setVisible,a=a8(i),l=a.popupContainerRef,s=a.visiblePopup,c=a1().styles,p=(0,u.useZIndexContext)(),m=function(e){return'{{t("Change password")}}'===e.title}(t)||function(e){return'{{t("Edit profile")}}'===e.title}(t),h=m?"Action.Drawer.Footer":e.footerNodeName,b=m?{backgroundColor:"white"}:{},v=p+10,g=(0,d.useMemo)(function(){return{zIndex:v}},[v]),y=t.reduceProperties(function(e,t){return t["x-component"]===h?t:e}),w=n.title||"",S=(0,d.useCallback)(function(){o(!1)},[o]),O=(0,d.useMemo)(function(){return{token:{marginBlock:18,borderRadiusBlock:0,boxShadowTertiary:"none",zIndexPopupBase:v}}},[v]);return f().createElement(u.zIndexContext.Provider,{value:v},f().createElement(k.ConfigProvider,{theme:O},f().createElement(iU,{visible:s,onClose:S,onMaskClick:S,getContainer:function(){return l.current},bodyClassName:c.body,bodyStyle:g,maskStyle:g,closeOnSwipe:!0},f().createElement("div",{className:c.header},f().createElement("span",{className:c.placeholder},f().createElement(r2,null)),f().createElement("span",null,w),f().createElement("span",{className:c.closeIcon,onClick:S},f().createElement(r2,null))),m?f().createElement("div",{style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({padding:12},b)},f().createElement(u.SchemaComponent,{schema:t,filterProperties:function(e){return e["x-component"]!==h}})):f().createElement(u.SchemaComponent,{schema:t,onlyRenderProperties:!0,filterProperties:function(e){return e["x-component"]!==h}}),y?f().createElement("div",{className:c.footer,style:m?b:null},f().createElement(x.RecursionField,{basePath:n.address,schema:t,onlyRenderProperties:!0,filterProperties:function(e){return e["x-component"]===h}})):null)))});a9.displayName="ActionDrawerUsedInMobile";var le=u.Action.Drawer,lt=function(){u.Action.Drawer=a9,(0,d.useEffect)(function(){return function(){u.Action.Drawer=le}},[])};function ln(e,t){return!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function lr(){var e=ln(["\n height: var(--nb-mobile-page-header-height);\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-bottom: 1px solid ",";\n position: sticky;\n top: 0;\n background-color: white;\n z-index: 1000;\n\n // to match the button named 'Add block'\n & + .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {\n // 18px is the token marginBlock value\n margin: 12px 12px calc(12px + 18px);\n }\n "]);return lr=function(){return e},e}function li(){var e=ln(["\n display: inline-block;\n padding: 12px;\n visibility: hidden;\n "]);return li=function(){return e},e}function lo(){var e=ln(["\n display: inline-block;\n padding: 12px;\n cursor: pointer;\n "]);return lo=function(){return e},e}function la(){var e=ln(["\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n max-height: calc(100% - var(--nb-mobile-page-header-height));\n overflow-y: auto;\n overflow-x: hidden;\n // background-color: ",";\n\n .popover-subform-container {\n min-width: initial;\n max-width: initial;\n max-height: initial;\n overflow: hidden;\n .ant-card {\n border-radius: 0;\n }\n }\n "]);return la=function(){return e},e}function ll(){var e=ln(["\n padding: 8px var(--nb-mobile-page-tabs-content-padding);\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: sticky;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 1000;\n border-top: 1px solid ",";\n background-color: ",";\n "]);return ll=function(){return e},e}var ls=(0,u.createStyles)(function(e){var t=e.css,n=e.token;return{header:t(lr(),n.colorSplit),placeholder:t(li()),closeIcon:t(lo()),body:t(la(),n.colorBgLayout),footer:t(ll(),n.colorSplit,n.colorBgLayout)}}),lc=function(e){var t=e.onOpenChange,n=a8(e.open),r=n.visiblePopup,i=n.popupContainerRef,o=ls().styles,a=(0,x.useField)(),l=(0,u.useZIndexContext)()+10,s=a.title||"",c=(0,d.useMemo)(function(){return{zIndex:l}},[l]),p=(0,d.useCallback)(function(){t(!1)},[t]),m=(0,d.useCallback)(function(){t(!0)},[t]),h=(0,d.useMemo)(function(){return{token:{zIndexPopupBase:l}}},[l]);return f().createElement(u.zIndexContext.Provider,{value:l},f().createElement(k.ConfigProvider,{theme:h},f().createElement("div",{onClick:m},e.children),f().createElement(iU,{visible:r,onClose:p,onMaskClick:p,getContainer:function(){return i.current},bodyClassName:o.body,bodyStyle:c,maskStyle:c,showCloseButton:!0,closeOnSwipe:!0},f().createElement("div",{className:o.header},f().createElement("span",{className:o.placeholder},f().createElement(r2,null)),f().createElement("span",null,s),f().createElement("span",{className:o.closeIcon,onClick:p},f().createElement(r2,null))),e.content,f().createElement("div",{style:{height:50}}))))},lu=function(e){var t,n,r=e.OriginComponent;return f().createElement(r,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={Container:lc},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};function ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function lf(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var lp=function(e){var t=e.options.items.find(function(e){return"dataBlocks"===e.name}),n=e.options.items.find(function(e){return"otherBlocks"===e.name}),r=["details","editForm","createForm","table","gridCard"];return new u.SchemaInitializer(lf(ld({},e.options),{name:"mobile:popup:common:addBlock",items:[lf(ld({},t),{children:[],useChildren:function(){return t.useChildren().filter(function(e){return r.includes(e.name)})},title:'{{t("Desktop data blocks")}}'}),lf(ld({},n),{title:'{{t("Other desktop blocks")}}'})]}))},lm=function(){var e=(0,u.useApp)(),t=e.schemaInitializerManager.get("popup:common:addBlock");if(!!t){var n=lp(t);e.schemaInitializerManager.add(n)}};function lh(e,t){return!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function lb(){var e=lh(["\n position: absolute !important;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ",";\n\n .mobile-page-content > .nb-grid-container > .nb-grid > .nb-grid-warp > .ant-btn {\n margin: 20px;\n }\n "]);return lb=function(){return e},e}function lv(){var e=lh(["\n height: var(--nb-mobile-page-header-height);\n padding-right: var(--nb-mobile-page-tabs-content-padding);\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: white;\n z-index: 1000;\n "]);return lv=function(){return e},e}var lg=(0,u.createStyles)(function(e){var t=e.css,n=e.token;return{container:t(lb(),n.colorBgLayout),footer:t(lv())}});function ly(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ly(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ly(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var lx=(0,x.connect)(function(e){var t=e.value,n=e.onChange,r=e.options,i=void 0===r?[]:r,o=e.mode,a=(0,h.useTranslation)().t,l=lw((0,d.useState)(!1),2),s=l[0],c=l[1],p=lw((0,d.useState)(t||[]),2),m=p[0],b=p[1],v=lw((0,d.useState)(null),2),g=v[0],y=v[1],w=(0,d.useMemo)(function(){return g?i.filter(function(e){return e.label.toLowerCase().includes(g.toLowerCase())}):i},[i,g]);return(0,d.useEffect)(function(){s||y(null)},[s]),f().createElement(f().Fragment,null,f().createElement("div",{contentEditable:"false",onClick:function(){return c(!0)}},f().createElement(u.Select,{placeholder:a("Select"),value:t,dropdownStyle:{display:"none"},multiple:"multiple"===o,onClear:function(){c(!1),n(null),b(null)},onFocus:function(e){return e.preventDefault()},style:{pointerEvents:"none"}})),f().createElement(iU,{visible:s,onMaskClick:function(){c(!1),(!t||(null==t?void 0:t.length)===0)&&b([])},destroyOnClose:!0},f().createElement("div",{style:{margin:"10px"}},f().createElement(aZ,{placeholder:a("search"),value:g,onChange:function(e){return y(e)},showCancelButton:!0})),f().createElement("div",{style:{maxHeight:"60vh",overflowY:"auto"}},f().createElement(ej,{multiple:"multiple"===o,value:Array.isArray(m)?m:[m],onChange:function(e){"multiple"===o?b(e):(b(e[0]),n(e[0]),c(!1))}},w.map(function(e){return f().createElement(ej.Item,{key:e.value,value:e.value},e.label)}))),"multiple"===o&&f().createElement(eo,{block:!0,color:"primary",onClick:function(){n(m),c(!1)},style:{marginTop:"16px"}},a("Confirm"))))},(0,x.mapProps)({dataSource:"options"}));function lk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var lS=(0,x.connect)(function(e){var t,n,r,i,o=(0,h.useTranslation)().t,a=e.value,l=e.onChange,s=(e.dateFormat,e.timeFormat,e.showTime),c=void 0!==s&&s,p=e.picker,m=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}(e,["value","onChange","dateFormat","timeFormat","showTime","picker"]);var b=(t=(0,d.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||function(e,t){if(e){if("string"==typeof e)return lk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lk(e,t)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=b[0],g=b[1],y=(0,d.useCallback)(function(e){g(!1),l(new Date(e))},[c,l]),w=(0,d.useCallback)(function(){g(!1),l(null)},[l]),x=(0,d.useCallback)(function(e,t){return t},[]);return f().createElement(f().Fragment,null,f().createElement("div",{contentEditable:"false",onClick:function(){return g(!0)}},f().createElement(u.DatePicker,(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({onClick:function(){return g(!0)},value:a,picker:p},m),i=(i={popupStyle:{display:"none"},style:{pointerEvents:"none",width:"100%"}},i),Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}),r))),f().createElement(oV,{cancelText:o("Cancel"),confirmText:o("Confirm"),visible:v,title:f().createElement("a",{onClick:w},o("Clear")),onClose:function(){g(!1)},precision:c?"second":"date"===p?"day":p,renderLabel:x,min:new Date(1e3,0,1),max:new Date(9999,11,31),onConfirm:function(e){y(e)}}))},(0,x.mapProps)((0,u.mapDatePicker)()),(0,x.mapReadPretty)(u.DatePicker.ReadPretty));function lO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var lE=function(e){var t,n;return f().createElement(u.AssociationField,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={popupMatchSelectWidth:!0},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};lE.SubTable=u.AssociationField.SubTable,lE.Nester=u.AssociationField.Nester,lE.AddNewer=u.Action.Container,lE.Selector=u.Action.Container,lE.Viewer=u.Action.Container,lE.InternalSelect=u.AssociationField.InternalSelect,lE.ReadPretty=u.AssociationField.ReadPretty,lE.FileSelector=u.AssociationField.FileSelector;var lC={Button:eo,Select:function(e){return!1!==(0,u.useDesignable)().designable?f().createElement(u.Select,e):f().createElement(lx,e)},DatePicker:function(e){return!1!==(0,u.useDesignable)().designable?f().createElement(u.DatePicker,e):f().createElement(lS,e)},UnixTimestamp:lS,Modal:ad,AssociationField:lE},lP=function(){var e,t,n=(0,m.useParams)().pageSchemaUid;var r=(e=f().useState(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return lO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lO(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],o=r[1],a=(0,d.useCallback)(function(){o(!0)},[]);return i?f().createElement(u.RemoteSchemaComponent,{uid:n,NotFoundPage:"MobileNotFoundPage",memoized:!1,onPageNotFind:a}):f().createElement(f().Fragment,null,f().createElement(u.RemoteSchemaComponent,{uid:n,NotFoundPage:"MobileNotFoundPage",memoized:!1,onPageNotFind:a,components:lC}),f().createElement(m.Outlet,null),f().createElement("div",{className:"nb-mobile-subpages-slot"}))},lj=y("467"),lz=y.n(lj);function lM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var lA=(0,d.createContext)(null);lA.displayName="MobileTitleContext";var lI=function(e){var t,n,r=e.children,i=e.title;var o=(t=f().useState(i),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||function(e,t){if(e){if("string"==typeof e)return lM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lM(e,t)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],l=o[1];return f().createElement(lA.Provider,{value:{title:a,setTitle:l}},r)},lT=function(){return f().useContext(lA)},l_=(0,d.createContext)(null);l_.displayName="MobileRoutesContext";var lN=function(){return(0,d.useContext)(l_)},lF=function(e){var t,n,r,i,o,a,l=e.children,s=e.refreshRef,c=e.manual,p=e.action,h=void 0===p?"listAccessible":p,b=(0,u.useAPIClient)(),v=(0,d.useMemo)(function(){return b.resource("mobileRoutes")},[b]),g=(0,d.useMemo)(function(){return b.resource("uiSchemas")},[b]),y=(0,u.useRequest)(function(){return v[h]({tree:!0,sort:"sort"}).then(function(e){return e.data})},{manual:c}),w=y.data,x=y.runAsync,S=y.loading;s&&(s.current=x);var O=(0,d.useMemo)(function(){return(null==w?void 0:w.data)||[]},[w]);var E=(t=O,n=(0,m.useLocation)().pathname,{activeTabBarItem:i=Object.values(r=t.reduce(function(e,t){var n,r=t.schemaUid?"/".concat(t.type,"/").concat(t.schemaUid):null===(n=t.options)||void 0===n?void 0:n.url;return r&&(e[r]=t),t.children&&t.children.forEach(function(t){var n,i=t.schemaUid?"".concat(r,"/").concat(t.type,"/").concat(t.schemaUid):null===(n=t.options)||void 0===n?void 0:n.url;i&&(e[i]=t)}),e},{})).find(function(e){return e.schemaUid?n.includes("/".concat(e.schemaUid)):!!e.options.url&&n.includes(e.options.url)}),activeTabItem:r[n]||i}),C=E.activeTabBarItem,P=E.activeTabItem;o=C,a=lT(),(0,d.useEffect)(function(){a&&o&&(a.setTitle(o.title),document.title=o.title)},[o,a]);var j=(0,d.useMemo)(function(){return{api:b,activeTabBarItem:C,activeTabItem:P,routeList:O,refresh:x,resource:v,schemaResource:g}},[C,P,b,x,v,O,g]);return S?f().createElement("div",{"data-testid":"mobile-loading",style:{textAlign:"center",margin:"20px 0"}},f().createElement(k.Spin,null)):f().createElement(l_.Provider,{value:j},l)},lZ=function(e){var t=e.children,n=(0,u.useDesignable)().designable,r=lN().routeList,i=b().t;return(!n||g.isMobile)&&lz().isEmpty(r)?f().createElement(aw,{status:"empty",fullPage:!0,title:i("No accessible pages found"),description:i("This might be due to permission configuration issues")}):f().createElement(f().Fragment,null,t)},lR=function(e){var t=e.children;return(0,d.useEffect)(function(){document.body.style.setProperty("--nb-mobile-page-tabs-content-padding","12px"),document.body.style.setProperty("--nb-mobile-page-header-height","50px")},[]),f().createElement(lI,null,f().createElement(lF,null,f().createElement(lZ,null,t)))},lB=y("8202"),l$=(0,lB.createStyles)(function(){return{mobilePageContent:{maxWidth:"100%",overflowX:"hidden"}}});function lD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return lD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lD(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var lW=function(e){var t=e.children,n=e.hideTabBar,r=l$().styles,i=lL(f().useState(0),2),o=i[0],a=i[1],l=lL(f().useState(0),2),s=l[0],c=l[1];return(0,d.useEffect)(function(){var e=lz().last(document.querySelectorAll(".mobile-page-header"));if(c(null==e?void 0:e.offsetHeight),!n){var t=document.querySelector(".mobile-tab-bar");a(null==t?void 0:t.offsetHeight)}}),f().createElement(f().Fragment,null,s?f().createElement("div",{style:{height:s}}):null,f().createElement("div",{className:"".concat(r.mobilePageContent," mobile-page-content"),"data-testid":"mobile-page-content",style:{height:"calc(100% - ".concat((o||0)+(s||0),"px)"),boxSizing:"border-box"}},t),o?f().createElement("div",{style:{height:o}}):null)},lq=function(){var e,t,n=(0,m.useParams)().tabSchemaUid,r=lN().activeTabBarItem;return f().createElement(lW,null,f().createElement(u.RemoteSchemaComponent,{uid:n||(null==r?void 0:null===(t=r.children)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.schemaUid),NotFoundPage:"MobileNotFoundPage",memoized:!1}))},lU=new u.SchemaInitializer({title:'{{t("Add block")}}',name:"mobile:addBlock",icon:"PlusOutlined",wrap:u.gridRowColWrap,style:{margin:20},items:[{name:"dataBlocks",title:'{{t("Desktop data blocks")}}',type:"itemGroup",children:[{name:"table",title:'{{t("Table")}}',Component:"TableBlockInitializer"},{name:"form",title:'{{t("Form")}}',Component:"FormBlockInitializer"},{name:"details",title:'{{t("Details")}}',Component:"DetailsBlockInitializer"},{name:"gridCard",title:'{{t("Grid Card")}}',Component:"GridCardBlockInitializer"}]},{name:"filterBlocks",title:'{{t("Desktop filter blocks")}}',type:"itemGroup",children:[{name:"filterForm",title:'{{t("Form")}}',Component:"FilterFormBlockInitializer"}]},{name:"otherBlocks",type:"itemGroup",title:'{{t("Other desktop blocks")}}',children:[{name:"markdown",title:'{{t("Markdown")}}',Component:"MarkdownBlockInitializer"},{name:"settings",title:v("Settings"),Component:"MobileSettingsBlockInitializer"}]}]});function lH(e){var t,n,r;return{type:"void","x-component":"MobilePageContent",properties:(t={},n=e,r=lV(e),n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t)}}function lV(e){return{type:"void","x-uid":e,"x-async":!0,"x-component":"Grid","x-component-props":{showDivider:!1},"x-initializer":lU.name}}var lG=(0,d.createContext)(null);lG.displayName="MobilePageContext";var lY=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}(e,["children"]);return f().createElement(lG.Provider,{value:n},t)},lK=function(){return f().useContext(lG)},lX=(0,lB.createStyles)(function(){return{mobilePageHeader:{position:"absolute",top:0,left:0,right:0,borderBottom:"1px solid var(--adm-color-border)",backgroundColor:"var(--adm-color-background)"}}}),lQ=function(e){var t=e.children,n=(lK()||{}).displayPageHeader,r=lX().styles;return void 0===n||n?f().createElement("div",{className:(0,u.cx)(r.mobilePageHeader,"mobile-page-header"),"data-testid":"mobile-page-header"},f().createElement(od,{position:"top"}),t):null},lJ=y("8875");function l0(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var l1=new u.SchemaInitializer({name:"mobile:tabs",Component:function(){var e,t,n=lN(),r=n.refresh,i=n.resource,o=n.activeTabBarItem,a=(0,u.useSchemaInitializer)().insert,l=b().t,s=k.App.useApp().message;return f().createElement(u.SchemaInitializerActionModal,{title:v("Add tab"),btnStyles:{width:32,padding:0,marginRight:12},onSubmit:(t=(e=function(e){var t,n,c;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(u){switch(u.label){case 0:if(t=e.title,n=e.icon,t&&0==t.trim().length)return s.error(l("Title field is required")),[2,Promise.reject(Error("Title field is required"))];return c=(0,lJ.uid)(),[4,i.create({values:{type:"tabs",title:t,icon:n,schemaUid:c,parentId:o.id}})];case 1:return u.sent(),a(lV(c)),[4,r()];case 2:return u.sent(),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){l0(o,r,i,a,l,"next",e)}function l(e){l0(o,r,i,a,l,"throw",e)}a(void 0)})}),function(e){return t.apply(this,arguments)}),schema:{title:{type:"string",title:v("Title"),required:!0,"x-component":"Input","x-decorator":"FormItem"},icon:{title:v("Icon"),type:"string","x-decorator":"FormItem","x-component":"IconPicker"}}})}}),l2=function(){return(0,(0,u.useSchemaInitializerRender)(l1.name).render)()};function l4(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function l3(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){l4(o,r,i,a,l,"next",e)}function l(e){l4(o,r,i,a,l,"throw",e)}a(void 0)})}}function l5(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var l6=(0,u.createTextSettingsItem)({name:"remove",title:v("Delete"),useTextClick:function(){var e=b().t,t=(0,u.useSchemaToolbar)().tab,n=lN(),r=n.refresh,i=n.resource,o=n.activeTabBarItem,a=n.api,l=(0,m.useNavigate)(),s=k.App.useApp(),c=s.modal,d=s.message;return l3(function(){return l5(this,function(n){return c.confirm({title:e("Delete action"),content:e("Are you sure you want to delete it?"),onOk:l3(function(){var e;return l5(this,function(n){switch(n.label){case 0:return[4,i.destroy({filterByTk:t.id})];case 1:return n.sent(),[4,r()];case 2:return n.sent(),[4,a.request({url:"/uiSchemas:remove/".concat(t.schemaUid),method:"delete"})];case 3:return n.sent(),e=o.children.find(function(e){return e.id!==t.id}),l("/".concat(o.type,"/").concat(o.schemaUid,"/").concat(e.type,"/").concat(e.schemaUid)),d.success({content:"Delete successfully"}),[2]}})})}),[2]})})},useVisible:function(){var e;return(null===(e=lN().activeTabBarItem.children)||void 0===e?void 0:e.length)>1}}),l7=new u.SchemaSettings({name:"mobile:tabs",items:[{name:"title",type:"actionModal",useComponentProps:function(){var e=b().t,t=(0,u.useSchemaToolbar)().tab,n=lN(),r=n.refresh,i=n.resource,o=k.App.useApp().message;return{title:e("Edit"),schema:{type:"object",properties:{title:{type:"string",title:v("Title"),default:t.title,"x-decorator":"FormItem","x-component":"Input",required:!0},icon:{title:v("Icon"),type:"string","x-decorator":"FormItem",default:t.icon,"x-component":"IconPicker"}}},onSubmit:function(n){var a=n.title,l=n.icon;return l3(function(){return l5(this,function(n){switch(n.label){case 0:if(a&&0==a.trim().length)return o.error(e("Title field is required")),[2,Promise.reject(Error("Title field is required"))];return[4,i.update({filterByTk:t.id,values:{title:a,icon:l}})];case 1:return n.sent(),r(),[2]}})})()}}}},l6]}),l8=function(e){var t=e.tab;return f().createElement(u.SchemaToolbarProvider,{tab:t},f().createElement(u.SchemaToolbar,{settings:l7,showBackground:!0,showBorder:!1,toolbarStyle:{inset:"-15px -12px"},spaceWrapperStyle:{top:3}}))},l9=(0,lB.createStyles)(function(){return{mobilePageTabs:{display:"flex",alignItems:"center",justifyContent:"space-between"},mobilePageTabsList:{".adm-tabs-header":{borderBottomWidth:0},".adm-tabs-tab":{height:49,padding:"10px 0 10px"}}}});function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function st(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var sn=function(){var e,t,n,r,i,o=lN(),a=o.activeTabBarItem,l=o.resource,s=o.refresh,c=lK().displayTabs,p=(0,m.useNavigate)(),h=l9().styles,b=(0,m.useParams)().tabSchemaUid;var v=(e=f().useState(function(){var e,t;return b||(null==a?void 0:null===(t=a.children)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.schemaUid)}),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=v[0],y=v[1];var w=(0,d.useCallback)((r=(n=function(e){var t,n,r,i;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(o){switch(o.label){case 0:if(t=e.active,n=e.over,r=null==t?void 0:t.id,i=null==n?void 0:n.id,!r||!i||r===i)return[2];return[4,l.move({sourceId:r,targetId:i,sortField:"sort"})];case 1:return o.sent(),[4,s()];case 2:return o.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(e){st(o,r,i,a,l,"next",e)}function l(e){st(o,r,i,a,l,"throw",e)}a(void 0)})}),function(e){return r.apply(this,arguments)}),[l,s]);return a?void 0!==c&&c?f().createElement("div",{className:h.mobilePageTabs,"data-testid":"mobile-page-tabs"},f().createElement(u.DndContext,{onDragEnd:w},f().createElement(aG,{activeKey:g,onChange:function(e){y(e),p("/".concat(a.type,"/").concat(a.schemaUid,"/tabs/").concat(e))},className:h.mobilePageTabsList},null===(i=a.children)||void 0===i?void 0:i.map(function(e){return f().createElement(aG.Tab,{"data-testid":"mobile-page-tabs-".concat(e.title),title:f().createElement(u.SortableItem,{id:e.id},f().createElement(l8,{tab:e}),e.icon?f().createElement(aL,null,f().createElement(u.Icon,{type:e.icon}),e.title):e.title),key:String(e.schemaUid)})}))),f().createElement("div",null,f().createElement(l2,null))):null:f().createElement(m.Navigate,{replace:!0,to:"/"})},sr=["default","primary","success","danger","warning"],si=(0,x.connect)(function(e){return f().createElement(k.Radio.Group,e,sr.map(function(t){return f().createElement(k.Radio,{value:t,key:t},f().createElement(eo,{color:t,size:"mini",style:{width:10,height:18},onClick:function(){return e.onChange(t)}}))}))}),so=["solid","outline"],sa=(0,x.connect)(function(e){return f().createElement(k.Radio.Group,e,so.map(function(t){return f().createElement(k.Radio,{value:t,key:t},f().createElement(eo,{color:"primary",size:"mini",fill:t,style:{width:10,height:18},onClick:function(){return e.onChange(t)}}))}))}),sl={title:{type:"string",title:v("Title"),"x-decorator":"FormItem","x-component":"Input","x-reactions":[{target:"icon",fulfill:{state:{required:"{{!$self.value}}"}}}]},icon:{type:"string",title:v("Icon"),"x-decorator":"FormItem","x-component":"IconPicker","x-reactions":[{target:"title",fulfill:{state:{required:"{{!$self.value}}"}}}]},color:{type:"string",title:v("Color"),"x-decorator":"FormItem","x-component":si},fill:{type:"boolean",title:v("Fill"),"x-decorator":"FormItem","x-component":sa,"x-reactions":[{dependencies:["title","icon"],fulfill:{state:{visible:"{{!!$deps[0] && !!$deps[1]}}"}}}]}};var ss=new u.SchemaSettings({name:"mobile:navigation-bar:actions:link",items:[(0,u.createModalSettingsItem)({title:v("Edit button"),name:"action",parentSchemaKey:"x-component-props",schema:function(e){var t,n;return{type:"object",title:v("Edit"),properties:(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},{}),n=(n={title:{title:v("Title"),type:"string",default:e.title,"x-decorator":"FormItem","x-component":"Input","x-reactions":{target:"icon",fulfill:{state:{required:"{{!$self.value}}"}}}},icon:{title:v("Icon"),type:"string",default:e.icon,"x-decorator":"FormItem","x-component":"IconPicker","x-reactions":{target:"title",fulfill:{state:{required:"{{!$self.value}}"}}}},color:{type:"string",default:e.color,title:v("Color"),"x-decorator":"FormItem","x-component":si},fill:{type:"boolean",default:e.fill,title:v("Fill"),"x-decorator":"FormItem","x-component":sa,"x-reactions":[{dependencies:["title","icon"],fulfill:{state:{visible:"{{!!$deps[0] && !!$deps[1]}}"}}}]}},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)}}}),{name:"editLink",Component:u.SchemaSettingsActionLinkItem},{name:"remove",type:"remove",componentProps:{title:v("Delete action")}}]}),sc=function(){return{onClick:(0,u.useLinkActionProps)().onClick}},su=function(e){var t,n;return{type:"void","x-component":"Action","x-toolbar":"ActionSchemaToolbar","x-settings":ss.name,"x-use-component-props":"useMobileNavigationBarLink","x-component-props":(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={component:"MobileNavigationBarAction"},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)}},sd={name:"link",type:"actionModal",useComponentProps:function(){var e=(0,u.useSchemaInitializer)().insert,t=b().t,n=k.App.useApp().message;return{title:t("Add link"),buttonText:t("Link"),schema:sl,isItem:!0,onSubmit:function(r){if((!r.title||0===r.title.trim().length)&&!r.icon)return n.error(t("Please enter title or select icon")),Promise.reject(Error("Please enter title or select icon"));e(su(r))}}}},sf=new u.SchemaInitializer({name:"mobile:navigation-bar:actions",icon:"PlusOutlined",items:[sd]}),sp=(0,lB.createStyles)(function(){return{navigationBarAction:{maxWidth:"10em",".adm-space":{maxWidth:"100%",overflow:"hidden"}},navigationBarActionIcon:{width:24,height:24,lineHeight:"24px",fontSize:24,padding:0,display:"flex",alignItems:"center",justifyContent:"center",".schema-toolbar":{inset:"-15px -8px"}},navigationBarActionTitle:{fontSize:17,padding:0,".schema-toolbar":{inset:"-15px -8px"}},navigationBarActionIconAndTitle:{height:"32px !important",fontSize:"17px !important",padding:"0 6px !important",".schema-toolbar":{inset:"-15px"}}}});function sm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sh=f().forwardRef(function(e,t){var n,r=e.icon,i=e.color,o=e.fill,a=e.children,l=e.style,s=e.className,c=e.onClick,p=(0,u.useSchemaToolbar)().position,m=a[0],h=a[1],b=[r,m].filter(Boolean).length,v=(0,d.useMemo)(function(){return"string"==typeof r?f().createElement(u.Icon,{type:r}):r},[r]),g=sp().styles;return f().createElement("div",{ref:t},f().createElement(eo,{onClick:c,color:i,size:b<=1?void 0:"mini",className:(0,u.cx)(s,g.navigationBarAction,(sm(n={},g.navigationBarActionIconAndTitle,b>1),sm(n,g.navigationBarActionTitle,1===b&&m),sm(n,g.navigationBarActionIcon,1===b&&r),n)),style:void 0===l?{}:l,fill:b<=1?"none":o},h,b>1?"left"===p?f().createElement(aL,{style:{"--gap":"6px"}},v,f().createElement("span",null,m)):f().createElement(aL,{style:{"--gap":"6px"}},f().createElement("span",null,m),v):f().createElement(aL,null,v||m)))});sh.displayName="MobileNavigationBarAction";var sb=y("4964");function sv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function sg(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function sy(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}var sw=f().createContext({container:void 0}),sx=function(e){var t=e.children,n=sy(e,["children"]);return f().createElement(sw.Provider,{value:n},t)},sk=function(){return(0,d.useContext)(sw)},sS=(0,u.withDynamicSchemaProps)((0,x.observer)(function(e){var t=sk().forceProps,n=sv({},(0,u.useProps)(e),void 0===t?{}:t),r=n.style,i=(n.spaceProps,sy(n,["style","spaceProps"])),o=(0,u.useSchemaToolbar)().position,a=(0,x.useFieldSchema)(),l=(0,u.useSchemaInitializerRender)(a["x-initializer"],sg(sv({},a["x-initializer-props"]),{wrap:function(e){return sv({"x-position":o},e)}})).render;return f().createElement(u.DndContext,null,"bottom"!==o?f().createElement("div",sg(sv({style:sg(sv({display:"flex",alignItems:"center",gap:12},r),{marginTop:0,justifyContent:"left"===o?"flex-start":"flex-end"})},i),{"data-testid":"mobile-navigation-action-bar-".concat(o),className:(0,sb.cx)(i.className,"nb-action-bar")}),"left"===o&&l({}),e.children&&f().createElement("div",{style:{display:"flex",alignItems:"center",gap:12}},f().createElement(x.RecursionField,{onlyRenderProperties:!0,schema:a,filterProperties:function(e){return e["x-position"]===o}})),"right"===o&&l({})):f().createElement(x.RecursionField,{onlyRenderProperties:!0,schema:a,filterProperties:function(e){return e["x-position"]===o}}))}),{displayName:"MobileNavigationActionBar"}),sO=(0,lB.createStyles)(function(){return{mobilePageNavigationBar:{".adm-nav-bar":{maxWidth:"100%",height:49,overflow:"hidden",".adm-nav-bar-left":{display:"flex",alignItems:"center",justifyContent:"flex-start"},".adm-nav-bar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end"}}}}}),sE=function(){var e=lT().title,t=lK(),n=t.displayNavigationBar,r=t.displayPageTitle,i=(0,x.useFieldSchema)(),o=sO().styles;return void 0===n||n?f().createElement("div",{className:(0,u.cx)("mobile-page-navigation-bar",o.mobilePageNavigationBar),"data-testid":"mobile-page-navigation-bar"},f().createElement(aC,{backArrow:!1,back:null,left:f().createElement(u.SchemaToolbarProvider,{position:"left"},f().createElement(x.RecursionField,{name:"actionBarLeft",schema:i,onlyRenderProperties:!0})),right:f().createElement(u.SchemaToolbarProvider,{position:"right"},f().createElement(x.RecursionField,{name:"actionBarRight",schema:i,onlyRenderProperties:!0}))},void 0===r||r?e:null),f().createElement(u.SchemaToolbarProvider,{position:"bottom"},f().createElement(x.RecursionField,{name:"actionBarBottom",schema:i,onlyRenderProperties:!0}))):null},sC={type:"void","x-component":"MobilePageHeader",properties:{pageNavigationBar:{type:"void","x-component":"MobilePageNavigationBar",properties:{actionBar:{type:"void","x-component":"MobileNavigationActionBar","x-initializer":sf.name,"x-component-props":{spaceProps:{style:{flexWrap:"nowrap"}}},properties:{}}}},pageTabs:{type:"void","x-component":"MobilePageTabs"}}},sP=new u.SchemaSettings({name:"mobile:page",items:[{type:"itemGroup",name:"app",useComponentProps:function(){return{title:(0,b().t)("App settings")}},useVisible:function(){return!!cy()},children:[{name:"enableTabBar",type:"switch",useComponentProps:function(){var e=b().t,t=cy(),n=t.showTabBar,r=t.setShowTabBar,i=(0,u.useDesignable)().refresh;return{title:e("Display tab bar"),checked:n,onChange:function(e){r(e),i()}}}}]},{type:"itemGroup",name:"page",useComponentProps:function(){return{title:(0,b().t)("Page settings")}},children:[(0,u.createSwitchSettingsItem)({name:"displayPageHeader",title:v("Display page header"),defaultValue:!0,schemaKey:"x-component-props.displayPageHeader"}),(0,u.createSwitchSettingsItem)({name:"displayNavigationBar",title:v("Display navigation bar"),defaultValue:!0,schemaKey:"x-component-props.displayNavigationBar",useVisible:function(){var e;return(null===(e=(0,x.useFieldSchema)()["x-component-props"])||void 0===e?void 0:e.displayPageHeader)!==!1}}),(0,u.createSwitchSettingsItem)({name:"displayPageTitle",title:v("Display page title"),defaultValue:!0,schemaKey:"x-component-props.displayPageTitle",useVisible:function(){var e,t,n=(0,x.useFieldSchema)();return(null===(e=n["x-component-props"])||void 0===e?void 0:e.displayNavigationBar)!==!1&&(null===(t=n["x-component-props"])||void 0===t?void 0:t.displayPageHeader)!==!1}}),(0,u.createSwitchSettingsItem)({name:"displayTabs",title:v("Display tabs"),defaultValue:!1,schemaKey:"x-component-props.displayTabs",useVisible:function(){var e;return(null===(e=(0,x.useFieldSchema)()["x-component-props"])||void 0===e?void 0:e.displayPageHeader)!==!1}})]}]}),sj=(0,u.css)("\n&:first-child {\n .ant-space-item {\n width: 30px;\n height: 30px;\n transform: rotate(45deg);\n span {\n position: relative;\n bottom: -15px;\n right: -8px;\n transform: rotate(-45deg);\n font-size: 10px;\n }\n }\n}\n");function sz(e,t){return{schema:{type:"void",name:e,"x-uid":e,"x-component":"MobilePageProvider","x-settings":sP.name,"x-decorator":"BlockItem","x-decorator-props":{style:{height:"100%"}},"x-toolbar-props":{draggable:!1,spaceWrapperStyle:{right:-15,top:-15},spaceClassName:sj,toolbarStyle:{overflowX:"hidden"}},properties:{header:sC,content:lH(t)}}}}function sM(e,t){return!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function sA(){var e=sM(["\n cursor: pointer;\n text-align: right;\n flex: 1;\n padding-right: var(--nb-mobile-page-tabs-content-padding);\n\n .ant-btn {\n width: 32px;\n height: 32px;\n padding: 0;\n }\n\n .ant-btn > span {\n display: none;\n }\n\n span.ant-btn-icon {\n display: inline-block;\n font-size: 16px;\n margin: 0 !important;\n }\n "]);return sA=function(){return e},e}function sI(){var e=sM(["\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 24px;\n height: 50px;\n width: 50px;\n "]);return sI=function(){return e},e}var sT=(0,u.createStyles)(function(e){var t=e.css;return e.token,{container:t(sA()),backButton:t(sI())}});function s_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sN(){var e,t,n=(e=["\n position: relative;\n &:hover {\n > .general-schema-designer {\n display: block;\n }\n }\n &.nb-action-link {\n > .general-schema-designer {\n top: -10px;\n bottom: -10px;\n left: -10px;\n right: -10px;\n }\n }\n > .general-schema-designer {\n position: absolute;\n z-index: 999;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: none;\n background: var(--colorBgSettingsHover);\n border: 0;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: none;\n > .general-schema-designer-icons {\n position: absolute;\n right: 2px;\n top: 2px;\n line-height: 16px;\n pointer-events: all;\n .ant-space-item {\n background-color: var(--colorSettings);\n color: #fff;\n line-height: 16px;\n width: 16px;\n padding-left: 1px;\n align-self: stretch;\n }\n }\n }\n"],!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return sN=function(){return n},n}var sF=(0,x.observer)(function(e){var t,n,r=(0,x.useFieldSchema)(),i=(0,u.useSchemaInitializerRender)(r["x-initializer"],r["x-initializer-props"]).render,o=(0,u.useTabsContext)()||{},a=o.activeKey,l=o.onChange;var s=(t=(0,d.useState)(a),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||function(e,t){if(e){if("string"==typeof e)return s_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s_(e,t)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],p=s[1],m=l9().styles,h=sT().styles,b=(0,u.useBackButton)().goBack,v=(0,d.useCallback)(function(e){p(e),null==l||l(e)},[l]);(0,d.useEffect)(function(){p(a)},[a]);var g=(0,d.useMemo)(function(){return r.mapProperties(function(e,t){return f().createElement(aG.Tab,{title:f().createElement(x.RecursionField,{name:t,schema:e,onlyRenderSelf:!0}),key:t})})},[r.mapProperties(function(e,t){return t}).join()]),y=(0,d.useMemo)(function(){var e,t,n=r.mapProperties(function(e,t){var n;return null==(n=e)||n.mapProperties(function(e){if("Grid"===e["x-component"]){var t,n;e["x-component-props"]=(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e["x-component-props"]),n=(n={showDivider:!1},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)}}),e=n,{key:t,node:f().createElement(u.SchemaComponent,{name:t,schema:e,onlyRenderProperties:!0,distributed:!0})}});return c?null===(e=n.find(function(e){return e.key===c}))||void 0===e?void 0:e.node:null===(t=n[0])||void 0===t?void 0:t.node},[c,r]);return f().createElement(f().Fragment,null,f().createElement(lQ,null,f().createElement("div",{className:m.mobilePageTabs,"data-testid":"mobile-action-page-tabs"},f().createElement("div",{className:h.backButton,onClick:b},f().createElement(aS,null)),f().createElement(u.DndContext,null,f().createElement(aG,{activeKey:c,onChange:v,className:m.mobilePageTabsList},g)),f().createElement("div",{className:h.container},i()))),f().createElement(lW,{hideTabBar:!0},y))},{displayName:"MobileTabsForMobileActionPage"}),sZ=(0,u.css)(sN());sF.TabPane=(0,u.withDynamicSchemaProps)((0,x.observer)(function(e){var t=(0,u.useDesigner)(),n=(0,x.useField)(),r=(0,u.useCompile)();return e.hidden?null:f().createElement(u.SortableItem,{className:D()("nb-action-link",sZ,e.className)},e.icon&&f().createElement(u.Icon,{style:{marginRight:2},type:e.icon})," ",e.tab||r(n.title),f().createElement(t,null))},{displayName:"MobileTabsForMobileActionPage.TabPane"})),sF.displayName="MobileTabsForMobileActionPage",sF.Designer=u.Tabs.Designer;var sR={Tabs:sF},sB=function(e){var t,n,r=e.level,i=e.footerNodeName,o=(0,x.useField)(),a=(0,x.useFieldSchema)(),l=(0,u.useActionContext)(),s=lg().styles,c=(0,u.useTabsContext)(),p=(0,d.useMemo)(function(){return document.querySelector(".nb-mobile-subpages-slot")},[]),m=(0,u.useZIndexContext)()+10+(r||1),h=a.reduceProperties(function(e,t){return t["x-component"]===i?t:e}),b=(0,d.useMemo)(function(){return{zIndex:m}},[m]);if(!l.visible)return null;var v=f().createElement(u.zIndexContext.Provider,{value:m},f().createElement("div",{className:s.container,style:b},f().createElement(u.TabsContextProvider,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},c),n=(n={tabBarExtraContent:f().createElement(u.BackButtonUsedInSubPage,null),tabBarGutter:48},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t),f().createElement(u.SchemaComponent,{components:sR,schema:a,onlyRenderProperties:!0})),h&&f().createElement("div",{className:s.footer,style:b},f().createElement(x.RecursionField,{basePath:o.address,schema:a,onlyRenderProperties:!0,filterProperties:function(e){return e["x-component"]===i}}))));return p?(0,rz.createPortal)(v,p):v},s$=function(e,t){var n,r;return n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},t(e)),r=(r={columnCount:{lg:1,md:1,xs:1,xxl:1}},r),Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n},sD=function(e){var t=(0,u.useSchemaOptionsContext)().scope,n=(0,d.useMemo)(function(){return{useGridCardBlockDecoratorProps:function(e){return s$(e,null==t?void 0:t.useGridCardBlockDecoratorProps)}}},[null==t?void 0:t.useGridCardBlockDecoratorProps]);return f().createElement(u.SchemaComponentOptions,{scope:n},e.children)},sL="#f5f5f5",sW=y("482");function sq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var sU=(0,d.createContext)(null);function sH(){return(0,d.useContext)(sU)}sU.displayName="SizeContext";var sV=function(e){var t,n,r=e.children;var i=(t=(0,d.useState)({width:375,height:667}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||function(e,t){if(e){if("string"==typeof e)return sq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sq(e,t)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1];return f().createElement(sU.Provider,{value:{size:o,setSize:a}},r)};function sG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function sK(){var e,t,n=(e=["\n .ant-btn {\n border: 0;\n height: 46px;\n width: 46px;\n border-radius: 0;\n background: none;\n color: rgba(255, 255, 255, 0.65);\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n &:hover {\n background: rgba(255, 255, 255, 0.1) !important;\n }\n\n svg {\n width: 20px !important;\n height\n }\n }\n .ant-btn-default {\n box-shadow: none;\n }\n "],!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return sK=function(){return n},n}var sX=function(){return f().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},f().createElement("title",null,"pad icon"),f().createElement("rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2"}),f().createElement("line",{x1:"12",x2:"12.01",y1:"18",y2:"18"}))},sQ=function(){return f().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},f().createElement("title",null,"mobile icon"),f().createElement("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),f().createElement("path",{d:"M12 18h.01"}))},sJ=function(e){return f().createElement(u.Icon,sY({type:"",component:sX},e))},s0=function(e){return f().createElement(u.Icon,sY({type:"",component:sQ},e))},s1=function(){var e,t,n=b().t,r=(0,u.useApp)(),i=sH().setSize;var o=(e=(0,d.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return sG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sG(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],l=o[1],s=(0,u.useUIConfigurationPermissions)().allowConfigUI;return f().createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",color:"white",height:"100%"},className:(0,u.css)(sK())},f().createElement(k.Button,{style:{color:"white"},href:r.getRouteUrl("/admin")},n("Back")),f().createElement("div",{style:{display:"flex",alignItems:"center"}},s?f().createElement(u.DesignableSwitch,null):null,f().createElement(k.Button,{onClick:function(){i({width:768,height:667})},"data-testid":"desktop-mode-size-pad",icon:f().createElement(sJ,null)}),f().createElement(k.Button,{onClick:function(){i({width:375,height:667})},"data-testid":"desktop-mode-size-mobile",icon:f().createElement(s0,null)}),f().createElement(k.Popover,{trigger:"hover",open:a,onOpenChange:function(e){l(e)},content:a?f().createElement(k.QRCode,{value:window.location.href,bordered:!1}):" "},f().createElement(k.Button,{icon:f().createElement(sW.QrcodeOutlined,{style:{fontSize:"24px",cursor:"pointer"},"data-testid":"desktop-mode-qrcode"})}))))};var s2=(s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s4=function(){return(s4=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s3={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},s5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return s2(t,e),t.prototype.render=function(){return d.createElement("div",{className:this.props.className||"",style:s4(s4({position:"absolute",userSelect:"none"},s3[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(d.PureComponent),s6=y("2238"),s7=y.n(s6);var s8=(c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s9=function(){return(s9=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},ce={width:"auto",height:"auto"},ct=s7()(function(e,t,n){return Math.max(Math.min(e,n),t)}),cn=s7()(function(e,t){return Math.round(e/t)*t}),cr=s7()(function(e,t){return RegExp(e,"i").test(t)}),ci=function(e){return!!(e.touches&&e.touches.length)},co=s7()(function(e,t,n){void 0===n&&(n=0);var r=t.reduce(function(n,r,i){return Math.abs(r-e)<Math.abs(t[n]-e)?i:n},0),i=Math.abs(t[r]-e);return 0===n||i<n?t[r]:e}),ca=s7()(function(e,t){return e.substr(e.length-t.length,t.length)===t}),cl=s7()(function(e){return"auto"===(e=e.toString())||ca(e,"px")||ca(e,"%")||ca(e,"vh")||ca(e,"vw")||ca(e,"vmax")||ca(e,"vmin")?e:e+"px"}),cs=function(e,t,n,r){if(e&&"string"==typeof e){if(ca(e,"%")){var i=Number(e.replace("%",""))/100;return t*i}if(ca(e,"vw")){var i=Number(e.replace("vw",""))/100;return n*i}else if(ca(e,"vh")){var i=Number(e.replace("vh",""))/100;return r*i}}return e},cc=s7()(function(e,t,n,r,i,o,a){return r=cs(r,e.width,t,n),i=cs(i,e.height,t,n),o=cs(o,e.width,t,n),a=cs(a,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===a?void 0:Number(a)}}),cu=["as","style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],cd="__resizable_base__",cf=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableTop=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(cd):t.className+=cd,e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;if(!!t)t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return s8(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||ce},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&ca(e.propsSize[t].toString(),"%")){if(ca(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return cl(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?cl(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?cl(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!!this.resizable&&!!this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"===this.state[t]&&this.state.original[t]===e&&(void 0===n||"auto"===n)?"auto":e},t.prototype.calculateNewMaxFromBoundary=function(e,t){if("parent"===this.props.bounds){var n=this.parentNode;if(n){var r=n.offsetWidth+(this.parentLeft-this.resizableLeft),i=n.offsetHeight+(this.parentTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<i?t:i}}else if("window"===this.props.bounds){if(this.window){var r=this.window.innerWidth-this.resizableLeft,i=this.window.innerHeight-this.resizableTop;e=e&&e<r?e:r,t=t&&t<i?t:i}}else if(this.props.bounds){var r=this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),i=this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<i?t:i}return{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,i=this.state,o=i.direction,a=i.original,l=this.props,s=l.lockAspectRatio,c=l.lockAspectRatioExtraHeight,u=l.lockAspectRatioExtraWidth,d=a.width,f=a.height,p=c||0,m=u||0;return cr("right",o)&&(d=a.width+(e-a.x)*r/n,s&&(f=(d-m)/this.ratio+p)),cr("left",o)&&(d=a.width-(e-a.x)*r/n,s&&(f=(d-m)/this.ratio+p)),cr("bottom",o)&&(f=a.height+(t-a.y)*r/n,s&&(d=(f-p)*this.ratio+m)),cr("top",o)&&(f=a.height-(t-a.y)*r/n,s&&(d=(f-p)*this.ratio+m)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var i=this.props,o=i.lockAspectRatio,a=i.lockAspectRatioExtraHeight,l=i.lockAspectRatioExtraWidth,s=void 0===r.width?10:r.width,c=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=a||0,p=l||0;if(o){var m=(u-f)*this.ratio+p,h=(d-f)*this.ratio+p,b=(s-p)/this.ratio+f,v=(c-p)/this.ratio+f,g=Math.max(u,b),y=Math.min(d,v);e=ct(e,Math.max(s,m),Math.min(c,h)),t=ct(t,g,y)}else e=ct(e,s,c),t=ct(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),i=r.left,o=r.top;this.resizableLeft=i,this.resizableTop=o}},t.prototype.onResizeStart=function(e,t){if(!this.resizable||!this.window)return;var n,r,i=0,o=0;if(e.nativeEvent&&((n=e.nativeEvent).clientX||0===n.clientX)&&(n.clientY||0===n.clientY)){if(i=e.nativeEvent.clientX,o=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&ci(e.nativeEvent)&&(i=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY);if(!this.props.onResizeStart||!this.resizable||!1!==this.props.onResizeStart(e,t,this.resizable)){this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var a=this.window.getComputedStyle(this.resizable);if("auto"!==a.flexBasis){var l=this.parentNode;if(l){var s=this.window.getComputedStyle(l).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",r=a.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var c={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:s9(s9({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:r};this.setState(c)}},t.prototype.onMouseMove=function(e){if(!!this.state.isResizing&&!!this.resizable&&!!this.window){if(this.window.TouchEvent&&ci(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,n=t.maxWidth,r=t.maxHeight,i=t.minWidth,o=t.minHeight,a=ci(e)?e.touches[0].clientX:e.clientX,l=ci(e)?e.touches[0].clientY:e.clientY,s=this.state,c=s.direction,u=s.original,d=s.width,f=s.height,p=this.getParentSize(),m=cc(p,this.window.innerWidth,this.window.innerHeight,n,r,i,o);n=m.maxWidth,r=m.maxHeight,i=m.minWidth,o=m.minHeight;var h=this.calculateNewSizeFromDirection(a,l),b=h.newHeight,v=h.newWidth,g=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(v,b,{width:g.maxWidth,height:g.maxHeight},{width:i,height:o});if(v=y.newWidth,b=y.newHeight,this.props.grid){var w=cn(v,this.props.grid[0]),x=cn(b,this.props.grid[1]),k=this.props.snapGap||0;v=0===k||Math.abs(w-v)<=k?w:v,b=0===k||Math.abs(x-b)<=k?x:b}this.props.snap&&this.props.snap.x&&(v=co(v,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(b=co(b,this.props.snap.y,this.props.snapGap));var S={width:v-u.width,height:b-u.height};if(d&&"string"==typeof d){if(ca(d,"%")){var O=v/p.width*100;v=O+"%"}else if(ca(d,"vw")){var E=v/this.window.innerWidth*100;v=E+"vw"}else if(ca(d,"vh")){var C=v/this.window.innerHeight*100;v=C+"vh"}}if(f&&"string"==typeof f){if(ca(f,"%")){var O=b/p.height*100;b=O+"%"}else if(ca(f,"vw")){var E=b/this.window.innerWidth*100;b=E+"vw"}else if(ca(f,"vh")){var C=b/this.window.innerHeight*100;b=C+"vh"}}var P={width:this.createSizeForCssProperty(v,"width"),height:this.createSizeForCssProperty(b,"height")};"row"===this.flexDir?P.flexBasis=P.width:"column"===this.flexDir&&(P.flexBasis=P.height),this.setState(P),this.props.onResize&&this.props.onResize(e,c,this.resizable,S)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,i=t.original;if(!!n&&!!this.resizable){var o={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:s9(s9({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,i=t.handleClasses,o=t.handleWrapperStyle,a=t.handleWrapperClass,l=t.handleComponent;if(!n)return null;var s=Object.keys(n).map(function(t){return!1!==n[t]?d.createElement(s5,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:i&&i[t]},l&&l[t]?l[t]:null):null});return d.createElement("span",{className:a,style:o},s)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce(function(t,n){return -1!==cu.indexOf(n)?t:(t[n]=e.props[n],t)},{}),n=s9(s9(s9({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return d.createElement(r,s9({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&d.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(d.PureComponent);function cp(){var e,t,n=(e=["\n .adm-error-block-full-page {\n padding-top: 100px;\n }\n "],!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return cp=function(){return n},n}var cm=function(e){var t=e.children,n=sH(),r=n.size,i=n.setSize;return f().createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",boxSizing:"border-box",overflow:"auto",padding:80},className:(0,sb.css)(cp())},f().createElement(cf,{style:{boxShadow:"0 0 15px rgba(0, 0, 0, 0.3)"},"data-testid":"desktop-mode-resizable",size:{width:r.width,height:r.height},onResizeStop:function(e,t,n,o){i({width:r.width+o.width,height:r.height+o.height})}},t))},ch=function(e){var t=e.children;return g.isDesktop?f().createElement(sV,null,f().createElement(k.Layout,{style:{height:"100%",background:sL}},f().createElement(k.Layout.Header,{style:{height:46}},f().createElement(s1,null)),f().createElement(k.Layout.Content,null,f().createElement(cm,null,t)))):f().createElement(f().Fragment,null,t)};function cb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var cv=(0,d.createContext)(void 0);cv.displayName="MobileAppContext";var cg=function(e){var t,n,r,i,o=e.children,a=(0,u.usePlugin)(uP);var l=(t=f().useState(null===(i=null===(r=a.getPluginOptions())||void 0===r?void 0:r.showTabBar)||void 0===i||i),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||function(e,t){if(e){if("string"==typeof e)return cb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cb(e,t)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],c=l[1];return f().createElement(cv.Provider,{value:{showTabBar:s,setShowTabBar:function(e){c(e),a.updateOptions({showTabBar:e})}}},o)},cy=function(){return f().useContext(cv)};function cw(){var e,t,n=(e=["\n -webkit-overflow-scrolling: touch;\n display: initial;\n\n & ::-webkit-scrollbar {\n display: none;\n }\n .nb-details .ant-formily-item-feedback-layout-loose {\n margin-bottom: 5px;\n }\n .nb-details .ant-formily-item-layout-vertical .ant-formily-item-label {\n margin-bottom: -8px;\n }\n .ant-card .ant-card-body {\n padding-bottom: 10px;\n padding-top: 10px;\n }\n .ant-pagination-simple {\n margin-top: 0px !important;\n }\n .nb-action-penal-container {\n margin-top: -10px;\n margin-bottom: -10px;\n }\n .nb-action-penal-container\n button[aria-label*='schema-initializer-WorkbenchBlock.ActionBar-workbench:configureActions'] {\n margin-bottom: 10px;\n }\n .nb-action-panel {\n padding-top: 10px;\n }\n .nb-action-panel .ant-avatar-circle {\n width: 48px !important;\n height: 48px !important;\n line-height: 48px !important;\n }\n .nb-chart-block .ant-card .ant-card-body {\n padding-bottom: 0px;\n padding-top: 0px;\n }\n .nb-chart-block .noco-card-item {\n margin-bottom: -13px;\n }\n .ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > span:last-child {\n display: none !important;\n }\n .ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > .ant-btn-icon {\n margin: 0px;\n }\n .ant-table-tbody .nb-column-initializer {\n min-width: 40px !important;\n }\n // reset Select record popup\n .ant-table-thead\n button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns']\n > span:last-child {\n display: none !important;\n }\n .ant-table-thead\n button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns']\n > .ant-btn-icon {\n margin: 0px;\n }\n\n .ant-pagination .ant-pagination-total-text {\n display: none;\n }\n .ant-pagination .ant-pagination-options {\n display: none;\n }\n .ant-pagination .ant-pagination-item {\n display: none;\n }\n .ant-card-body .nb-action-bar .ant-btn {\n justify-content: space-between;\n display: flex;\n align-items: center;\n gap: 8px;\n\n span {\n display: contents;\n }\n }\n .ant-card-body .nb-action-bar .ant-btn-icon {\n margin-inline-end: 0px !important;\n }\n .ant-card-body .nb-table-container {\n margin-right: -20px;\n margin-left: -10px;\n }\n .nb-action-bar button[aria-label*='schema-initializer-ActionBar-table:configureActions'] > span:last-child {\n display: none !important;\n }\n .nb-action-bar button[aria-label*='schema-initializer-ActionBar-table:configureActions'] > .ant-btn-icon {\n margin: 0px;\n }\n .nb-card-list .ant-row > div {\n width: 100% !important;\n max-width: 100% !important;\n }\n .mobile-page-header .adm-tabs-tab {\n font-size: 14px;\n }\n "],!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return cw=function(){return n},n}var cx=(0,u.createStyles)(function(e){return e.token,{nbMobile:(0,e.css)(cw())}}),ck=function(){a7(),lt(),lm();var e,t,n=cx().styles,r=(0,u.usePlugin)(uP),i=r.getRouterComponent(),o=(null==r?void 0:null===(t=r.options)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.skipLogin)?f().Fragment:u.AdminProvider;f().useEffect(function(){if(!g.isDesktop){var e=document.querySelector('meta[name="viewport"]');!e&&((e=document.createElement("meta")).setAttribute("name","viewport"),document.head.appendChild(e)),e.setAttribute("content","width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"),document.body.style.backgroundColor=sL,document.body.style.overflow="hidden";var t=document.createElement("div");document.body.appendChild(t),document.body.removeChild(t)}},[]);var a=!1===r.desktopMode?f().Fragment:ch,l=f().useMemo(function(){return{PopoverNester:function(e){var t,n,r=(0,(0,u.useAssociationFieldModeContext)().getDefaultComponent)(u.AssociationFieldMode.PopoverNester);return f().createElement(lu,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={OriginComponent:r},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}}},[]);return f().createElement(o,null,f().createElement(a,null,f().createElement(u.GlobalThemeProvider,{theme:{token:{marginBlock:18,borderRadiusBlock:0,boxShadowTertiary:"none"}}},f().createElement(u.AntdAppProvider,{className:"mobile-container ".concat(n.nbMobile)},f().createElement(u.OpenModeProvider,{defaultOpenMode:"page",isMobile:!0,hideOpenMode:!0,openModeToComponent:{page:sB,drawer:a9,modal:u.Action.Modal}},f().createElement(u.BlockTemplateProvider,{componentNamePrefix:"mobile-"},f().createElement(cg,null,f().createElement(sD,null,f().createElement(u.AssociationFieldModeProvider,{modeToComponent:l},f().createElement(u.zIndexContext.Provider,{value:100},f().createElement(i,null)))))))))))},cS=y("8663"),cO={};cO.styleTagTransform=_(),cO.setAttributes=M(),cO.insert=j().bind(null,"head"),cO.domAPI=C(),cO.insertStyleElement=I(),O()(cS.Z,cO),cS.Z&&cS.Z.locals&&cS.Z.locals;var cE=(0,lB.createStyles)(function(){return{mobileTabBar:{position:"absolute",bottom:0,left:0,right:0,height:50,boxSizing:"border-box",padding:"2px 0px",borderTop:"1px solid var(--adm-color-border)",backgroundColor:"var(--adm-color-background)"},mobileTabBarContent:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1em",height:"100%"},mobileTabBarList:{display:"flex",justifyContent:"space-around",flex:1,alignItems:"center",overflowX:"auto",".adm-tab-bar-item":{maxWidth:"100%",".adm-tab-bar-item-title":{maxWidth:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},"&>div":{flex:1,display:"flex",justifyContent:"center",alignItems:"center"},".ant-btn-icon":{marginInlineEnd:"0 !important"}}}});function cC(e){return!!e&&e.startsWith("/")&&!e.startsWith("//")}function cP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cj=function(e){var t=e.title,n=e.onClick,r=e.selected,i=e.badge,o=function(e,t){var n=e.icon,r=e.selectedIcon,i=t&&r?r:n;if(i)return"string"==typeof i?f().createElement(u.Icon,{type:i}):n}(e,r);return f().createElement("div",{onClick:n,"data-testid":"mobile-tab-bar-".concat(t),className:D()("adm-tab-bar-item",cP({},"adm-tab-bar-item-active",r)),style:{lineHeight:1}},f().createElement(H,{content:i,style:{"--top":"5px"}},f().createElement("span",{className:"adm-tab-bar-item-icon"},o)),f().createElement("span",{className:D()("adm-tab-bar-item-title",cP({},"adm-tab-bar-item-title-with-icon",o)),style:{fontSize:"12px"}},t))};function cz(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function cM(){var e,t,n=lN(),r=n.refresh,i=n.resource,o=(0,x.useFieldSchema)(),a=b().t,l=k.App.useApp().message;return t=(e=function(e){var t,n,s,c,u;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(d){switch(d.label){case 0:if(!e.title||""===e.title.trim())return l.error(a("Title field is required")),[2,Promise.reject(Error(a("Title field is required")))];if(!e.icon)return l.error(a("Icon field is required")),[2,Promise.reject(Error(a("Icon field is required")))];return n=Number((t=o.toJSON()).name),s=t["x-component-props"].title,c=t["x-component-props"].icon,u=(0,lj.omit)(t["x-component-props"],"title","icon"),[4,i.update({filterByTk:n,values:{title:s,icon:c,options:u}})];case 1:return d.sent(),r(),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){cz(o,r,i,a,l,"next",e)}function l(e){cz(o,r,i,a,l,"throw",e)}a(void 0)})}),function(e){return t.apply(this,arguments)}}var cA=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{title:{title:v("Title"),type:"string",default:e.title,"x-decorator":"FormItem","x-component":"Input",required:!0},icon:{title:v("Icon"),type:"string",default:e.icon,"x-decorator":"FormItem","x-component":"IconPicker",required:!0}}};function cI(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function cT(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){cI(o,r,i,a,l,"next",e)}function l(e){cI(o,r,i,a,l,"throw",e)}a(void 0)})}}function c_(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var cN=function(e){return(0,u.createModalSettingsItem)({title:v("Edit button"),name:"tabBarItem",parentSchemaKey:"x-component-props",schema:function(t){return{type:"object",title:"Edit button",properties:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},cA(t),e?e(t):{})}},useSubmit:cM})},cF=(0,u.createTextSettingsItem)({name:"remove",title:v("Delete"),useTextClick:function(){var e=Number((0,x.useFieldSchema)().toJSON().name),t=lN(),n=t.refresh,r=t.resource,i=t.routeList,o=t.api,a=(0,m.useNavigate)(),l=b().t,s=k.App.useApp(),c=s.modal,u=s.message;return cT(function(){return c_(this,function(t){return c.confirm({title:l("Delete action"),content:l("Are you sure you want to delete it?"),onOk:cT(function(){var t;return c_(this,function(l){switch(l.label){case 0:return[4,r.destroy({filterByTk:e})];case 1:return l.sent(),[4,r.destroy({filter:{parentId:e}})];case 2:return l.sent(),t=i.find(function(t){return t.id===e}),[4,o.request({url:"/uiSchemas:remove/".concat(t.schemaUid),method:"delete"})];case 3:return l.sent(),[4,n()];case 4:return l.sent(),a("/"),u.success({content:"Delete successfully"}),[2]}})})}),[2]})})}}),cZ=y("7584");function cR(e){var t,n,r={name:e.id,type:"void","x-decorator":"BlockItem","x-settings":"mobile:tab-bar:".concat(e.type),"x-component":"MobileTabBar.".concat((0,lj.upperFirst)(e.type)),"x-toolbar-props":{showBorder:!1,showBackground:!0},"x-component-props":function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({title:e.title,icon:e.icon,schemaUid:e.schemaUid},e.options||{})};return(0,cZ.merge)(r,null!==(n=null===(t=e.options)||void 0===t?void 0:t.schema)&&void 0!==n?n:{})}var cB=function(e){var t,n,r=(0,m.useLocation)(),i=(0,u.useLinkActionProps)(e).onClick,o=r.pathname===e.url;return f().createElement(cj,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},e),n=(n={onClick:i,selected:o},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},c$=y("4632");function cD(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function cL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function cW(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var cq=new u.SchemaSettings({name:"mobile:tab-bar:link",items:[cN(),{name:"editLink",Component:function(){var e,t,n=(0,x.useFieldSchema)(),r=(0,h.useTranslation)().t,i=(0,u.useURLAndHTMLSchema)(),o=i.urlSchema,a=i.paramsSchema,l=i.openInNewWindowSchema,s=lN(),c=s.resource,d=s.refresh,p=n["x-component-props"]||{},m={url:p.url,params:p.params||[{}],openInNewWindow:p.openInNewWindow};return f().createElement(u.SchemaSettingsModalItem,{title:r("Edit link"),components:{ArrayItems:c$.ArrayItems},schema:{type:"object",title:r("Edit link"),properties:{url:cW(cL({},o),{required:!0}),params:a,openInNewWindow:l}},onSubmit:(t=(e=function(e){var t,r,i,o,a;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(l){switch(l.label){case 0:return t=e.url,r=e.params,i=e.openInNewWindow,a=Number((o=n.toJSON()).name),[4,c.update({filterByTk:a,values:{options:cW(cL({},o["x-component-props"]),{url:t,params:r,openInNewWindow:i})}})];case 1:return l.sent(),d(),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){cD(o,r,i,a,l,"next",e)}function l(e){cD(o,r,i,a,l,"throw",e)}a(void 0)})}),function(e){return t.apply(this,arguments)}),initialValues:m})}},{name:"divider",type:"divider"},cF]});function cU(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var cH={name:"link",type:"actionModal",useComponentProps:function(){var e=lN(),t=e.resource,n=e.refresh,r=b().t,i=k.App.useApp().message;return{isItem:!0,title:v("Add link"),buttonText:v("Link"),schema:cA(),onSubmit:function(e){var o;return(o=function(){return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(o){switch(o.label){case 0:if(!e.title||""===e.title.trim())return i.error(r("Title field is required")),[2,Promise.reject(Error(r("Title field is required")))];if(!e.icon)return i.error(r("Icon field is required")),[2,Promise.reject(Error(r("Icon field is required")))];return[4,t.create({values:{type:"link",title:e.title,icon:e.icon}})];case 1:return o.sent(),[4,n()];case 2:return o.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,r){var i=o.apply(e,t);function a(e){cU(i,n,r,a,l,"next",e)}function l(e){cU(i,n,r,a,l,"throw",e)}a(void 0)})})()}}}},cV=function(e){var t,n,r=e.schemaUid,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}(e,["schemaUid"]),o=(0,m.useNavigate)(),a=(0,m.useLocation)(),l=(0,d.useMemo)(function(){return r?"/page/".concat(r):i.url?"".concat(i.url):"/"},[r,i.url]),s=(0,d.useCallback)(function(){o(l)},[l,o]),c=a.pathname.startsWith(l);return f().createElement(cj,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},i),n=(n={onClick:s,selected:c},n),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},cG=new u.SchemaSettings({name:"mobile:tab-bar:page",items:[cN(),{name:"divider",type:"divider"},cF]}),cY=function(){var e,t=lN().routeList.find(function(e){var t;return e.schemaUid||cC(null===(t=e.options)||void 0===t?void 0:t.url)});if(!t)return null;var n=(null==t?void 0:null===(e=t.options)||void 0===e?void 0:e.url)||"/".concat(t.type,"/").concat(t.schemaUid);return n?f().createElement(m.Navigate,{to:n,replace:!0}):null},cK=function(){var e=(0,m.useNavigate)(),t=b().t;return f().createElement(k.Result,{status:"404",title:"404",subTitle:t("Sorry, the page you visited does not exist."),extra:f().createElement(eo,{onClick:function(){return e("/",{replace:!0})},color:"primary",fill:"solid"},t("Back Home"))})};function cX(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var cQ={name:"schema",type:"actionModal",useComponentProps:function(){var e=lN(),t=e.resource,n=e.refresh,r=e.schemaResource,i=(0,m.useNavigate)(),o=b().t,a=k.App.useApp().message;return{isItem:!0,title:v("Add page"),buttonText:v("Page"),schema:cA(),onSubmit:function(e){var l;return(l=function(){var l,s,c,u,d;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(f){switch(f.label){case 0:if(!e.title||""===e.title.trim())return a.error(o("Title field is required")),[2,Promise.reject(Error(o("Title field is required")))];if(!e.icon)return a.error(o("Icon field is required")),[2,Promise.reject(Error(o("Icon field is required")))];return l=(0,lJ.uid)(),s=(0,lJ.uid)(),c="/page/".concat(l),[4,t.create({values:{type:"page",schemaUid:l,title:e.title,icon:e.icon}})];case 1:return u=f.sent().data,[4,r.insertAdjacent({resourceIndex:"mobile",position:"beforeEnd",values:sz(l,s)})];case 2:return f.sent(),d=u.data.id,[4,t.create({values:{type:"tabs",parentId:d,title:"Unnamed",schemaUid:s}})];case 3:return f.sent(),[4,n()];case 4:return f.sent(),i(c),[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,r){var i=l.apply(e,t);function o(e){cX(i,n,r,o,a,"next",e)}function a(e){cX(i,n,r,o,a,"throw",e)}o(void 0)})})()}}}},cJ=new u.SchemaInitializer({name:"mobile:tab-bar",icon:"PlusOutlined",style:{marginRight:12},items:[cQ,cH]}),c0=function(){return(0,(0,u.useSchemaInitializerRender)(cJ.name).render)({"data-testid":"schema-initializer-MobileTabBar"})};function c1(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var c2=function(e){var t,n,r=e.enableTabBar,i=cE().styles,o=(0,u.useDesignable)().designable,a=lN(),l=a.routeList,s=a.activeTabBarItem,c=a.resource,p=a.refresh,m=l.filter(function(e){var t;return e.schemaUid||cC(null===(t=e.options)||void 0===t?void 0:t.url)});var h=(0,d.useCallback)((n=(t=function(e){var t,n,r,i,o,a;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(l){switch(l.label){case 0:if(t=e.active,n=e.over,r=null==t?void 0:t.id,i=null==n?void 0:n.id,!r||!i||r===i)return[2];return o=Number(r.replace("nocobase-mobile.tabBar.","")),a=Number(i.replace("nocobase-mobile.tabBar.","")),[4,c.move({sourceId:o,targetId:a,sortField:"sort"})];case 1:return l.sent(),[4,p()];case 2:return l.sent(),[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function a(e){c1(o,r,i,a,l,"next",e)}function l(e){c1(o,r,i,a,l,"throw",e)}a(void 0)})}),function(e){return n.apply(this,arguments)}),[c,p]);return(void 0===r||r)&&(s||!(m.length>0))?f().createElement("div",{className:(0,u.cx)(i.mobileTabBar,"mobile-tab-bar"),"data-testid":"mobile-tab-bar"},f().createElement("div",{className:i.mobileTabBarContent},f().createElement(u.DndContext,{onDragEnd:h},f().createElement("div",{className:(0,u.cx)(i.mobileTabBarList,(0,u.css)({maxWidth:o?"calc(100% - 58px)":"100%"}))},l.map(function(e){return f().createElement(u.SchemaComponent,{key:e.id,schema:cR(e)})}))),f().createElement(c0,null)),f().createElement(od,{position:"bottom"})):null};c2.Item=cj,c2.Link=cB,c2.Page=cV;var c4=function(){var e=cy().showTabBar;return f().createElement(lR,null,f().createElement(m.Outlet,null),f().createElement(c2,{enableTabBar:e}))},c3=y("2465"),c5=y.n(c3),c6=y("8563");function c7(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c8(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function c9(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){c8(o,r,i,a,l,"next",e)}function l(e){c8(o,r,i,a,l,"throw",e)}a(void 0)})}}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function ut(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function un(e){return function(e){if(Array.isArray(e))return c7(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ur(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ur(e,t){if(e){if("string"==typeof e)return c7(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c7(e,t)}}function ui(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function uo(){var e,t,n=(e=["\n .ant-table-cell {\n > .ant-space-horizontal {\n .ant-space-item-split:has(+ .ant-space-item:empty) {\n display: none;\n }\n }\n }\n"],!t&&(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return uo=function(){return n},n}var ua=(0,sb.css)(uo()),ul=function(e,t){return e.map(function(e){var n=t(e.title);return e.children?ut(ue({},e),{title:n,children:ul(e.children,t)}):ut(ue({},e),{title:n})})},us=function(e){if(!Array.isArray(e))return[];var t=[],n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;t.push(l.id),l.hideChildren&&!lz().isNil(l.firstTabId)&&t.push(l.firstTabId),t.push.apply(t,un(us(l.children)))}}catch(e){r=!0,i=e}finally{try{!n&&null!=a.return&&a.return()}finally{if(r)throw i}}return t},uc=function(e,t){return Array.isArray(e)?e.map(function(e){var n,r=uc(e.children,e),i=r.length<=1;return{title:e.title,id:e.id,children:i?null:r,hideChildren:i,firstTabId:null===(n=r[0])||void 0===n?void 0:n.id,parent:t}}):[]},uu=function(e){var t,n,r,i,o,a=e.active,l=uc(lN().routeList),s=(0,d.useContext)(c3.RolesManagerContext),c=s.role,p=s.setRole,m=(0,u.useAPIClient)(),b=(0,h.useTranslation)().t,v=us(l);var g=(t=(0,d.useState)([]),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{!a&&null!=i.return&&i.return()}finally{if(l)throw r}}return o}}(t,2)||ur(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=g[0],w=g[1],x=(0,u.useRequest)({resource:"roles.mobileRoutes",resourceOf:c.name,action:"list",params:{paginate:!1}},{ready:!!c&&a,refreshDeps:[null==c?void 0:c.name],onSuccess:function(e){var t;w((null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.map(function(e){return e.id}))||[])}}),S=x.loading,O=x.refresh,E=m.resource("roles.mobileRoutes",c.name),C=v.length===y.length;var P=(r=c9(function(e,t){var n,r,i,o,a,l,s,c;return ui(this,function(u){switch(u.label){case 0:if(!e)return[3,2];return n=y.filter(function(e){return e!==t.id}),r=[t.id],t.parent&&0===t.parent.children.filter(function(e){return n.includes(e.id)}).length&&(n=n.filter(function(e){return e!==t.parent.id}),r.push(t.parent.id)),t.children&&(n=n.filter(function(e){return!t.children.map(function(e){return e.id}).includes(e)}),(i=r).push.apply(i,un(t.children.map(function(e){return e.id})))),t.hideChildren&&!lz().isNil(t.firstTabId)&&(r.push(t.firstTabId),n=n.filter(function(e){return e!==t.firstTabId})),w(n),[4,E.remove({values:r})];case 1:return u.sent(),[3,4];case 2:return o=un(y).concat([t.id]),a=[t.id],t.parent&&!o.includes(t.parent.id)&&(o.push(t.parent.id),a.push(t.parent.id)),t.children&&(c=t.children.map(function(e){return e.id}),(l=o).push.apply(l,un(c)),(s=a).push.apply(s,un(c))),t.hideChildren&&!lz().isNil(t.firstTabId)&&(a.push(t.firstTabId),o.push(t.firstTabId)),w((0,lj.uniq)(o)),[4,E.add({values:a})];case 3:u.sent(),u.label=4;case 4:return k.message.success(b("Saved successfully")),[2]}})}),function(e,t){return r.apply(this,arguments)});var j=(0,es.useMemoizedFn)((i=c9(function(e){return ui(this,function(t){switch(t.label){case 0:return[4,m.resource("roles").update({filterByTk:c.name,values:e.values})];case 1:return t.sent(),p(ue({},c,e.values)),k.message.success(b("Saved successfully")),[2]}})}),function(e){return i.apply(this,arguments)})),z=(0,d.useMemo)(function(){return(0,c6.createForm)({values:c,effects:function(){var e;(0,c6.onFormValuesChange)((e=c9(function(e){return ui(this,function(t){switch(t.label){case 0:return[4,j(e)];case 1:return t.sent(),[2]}})}),function(t){return e.apply(this,arguments)}))}})},[c,j]);return f().createElement(f().Fragment,null,f().createElement(u.SchemaComponent,{schema:{type:"void",name:(0,lJ.uid)(),"x-component":"FormV2","x-component-props":{form:z},properties:{allowNewMobileMenu:{title:b("Menu permissions"),"x-decorator":"FormItem","x-component":"Checkbox","x-content":b("New menu items are allowed to be accessed by default.")}}}}),f().createElement(k.Table,{className:ua,loading:S,rowKey:"id",pagination:!1,expandable:{defaultExpandAllRows:!0},columns:[{dataIndex:"title",title:b("Menu item title")},{dataIndex:"accessible",title:f().createElement(f().Fragment,null,f().createElement(k.Checkbox,{checked:C,onChange:(o=c9(function(e){return ui(this,function(e){switch(e.label){case 0:if(!C)return[3,2];return[4,E.set({values:[]})];case 1:return e.sent(),[3,4];case 2:return[4,E.set({values:v})];case 3:e.sent(),e.label=4;case 4:return O(),k.message.success(b("Saved successfully")),[2]}})}),function(e){return o.apply(this,arguments)})})," ",b("Accessible")),render:function(e,t){var n=y.includes(t.id);return f().createElement(k.Checkbox,{checked:n,onChange:function(){return P(n,t)}})}}],dataSource:ul(l,b)}))},ud=function(e){var t=e.children,n=e.active,r=f().useRef(function(){});return(0,d.useEffect)(function(){if(n){var e;null===(e=r.current)||void 0===e||e.call(r)}},[n]),f().createElement(lF,{action:"list",refreshRef:r,manual:!0},t)},uf={onBackPressed:function(){if(1===history.length){var e,t;e={action:"moveTaskToBack"},window.JsBridge.invoke(e,void 0)}else history.back()}};Object.keys(uf).forEach(function(e){window[e]=uf[e]});var up=function(){var e=(0,u.useDesigner)(),t=(0,u.useToken)().token,n=(0,d.useMemo)(function(){return{marginBottom:t.marginBlock}},[t.marginBlock]);return f().createElement(u.SortableItem,{className:(0,u.cx)("nb-mobile-setting"),style:n},f().createElement(e,null),f().createElement(u.SettingsMenu,null))};function um(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}var uh=function(){var e,t=(0,u.useSchemaInitializerItem)(),n=(0,u.useSchemaInitializer)().insert;return f().createElement(u.SchemaInitializerItem,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({icon:f().createElement(sW.SettingOutlined,null),onClick:(e=function(){return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(e){return n({type:"void","x-component":"MobileSettings","x-settings":"blockSettings:mobileSettings","x-component-props":{}}),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){um(o,r,i,a,l,"next",e)}function l(e){um(o,r,i,a,l,"throw",e)}a(void 0)})})},t))},ub=new u.SchemaSettings({name:"blockSettings:mobileSettings",items:[{name:"delete",type:"remove",useComponentProps:function(){return{removeParentsIfNoChildren:!0,confirm:{title:(0,b().t)("Delete settings block")},breakRemoveOn:{"x-component":"Grid"}}}}]});function uv(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function ug(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){uv(o,r,i,a,l,"next",e)}function l(e){uv(o,r,i,a,l,"throw",e)}a(void 0)})}}function uy(e,t,n){return(uy=uE()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&uS(i,n.prototype),i}).apply(null,arguments)}function uw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ux(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uk(e){return(uk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function uS(e,t){return(uS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uO(e){var t="function"==typeof Map?new Map:void 0;return(uO=function(e){var n;if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return uy(e,arguments,uk(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),uS(r,e)})(e)}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uE=function(){return!!e})()}function uC(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var uP=function(e){var t,n,r;function i(){var e,t,n,r;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),t=this,n=i,r=arguments,n=uk(n),ux(e=function(e,t){return t&&("object"===function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(t)||"function"==typeof t)?t:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,uE()?Reflect.construct(n,r||[],uk(t).constructor):n.apply(t,r)),"mobileRouter",void 0),ux(e,"mobilePath","/m"),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uS(e,t)}(i,e),t=i,n=[{key:"desktopMode",get:function(){var e,t,n;return null===(n=null===(t=this.options)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.desktopMode)||void 0===n||n}},{key:"mobileBasename",get:function(){return"".concat(this.router.getBasename(),"m")}},{key:"updateOptions",value:function(e){var t=this;return ug(function(){var n;return uC(this,function(r){return!t.options&&(t.options={}),t.options.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ux(e,t,n[t])})}return e}({},null===(n=t.options)||void 0===n?void 0:n.options,e),[2,t.app.apiClient.request({url:"applicationPlugins:update",method:"post",params:{filter:{packageName:p.u2}},data:{options:t.options.options}})]})})()}},{key:"getPluginOptions",value:function(){var e;return null===(e=this.options)||void 0===e?void 0:e.options}},{key:"afterAdd",value:function(){var e=this;return ug(function(){return uC(this,function(t){return e.setMobileRouter(),[2]})})()}},{key:"load",value:function(){var e=this;return ug(function(){return uC(this,function(t){return e.addComponents(),e.addAppRoutes(),e.addRoutes(),e.addInitializers(),e.addSettings(),e.addScopes(),e.addPermissionsSettingsUI(),e.app.pluginSettingsManager.add("mobile",{title:v("Mobile"),icon:"MobileOutlined",link:e.mobileBasename}),[2]})})()}},{key:"addScopes",value:function(){this.app.addScopes({useMobileNavigationBarLink:sc})}},{key:"addInitializers",value:function(){this.app.schemaInitializerManager.add(lU,cJ,l1,sf)}},{key:"addSettings",value:function(){this.app.schemaSettingsManager.add(sP,cG,cq,l7,ss,ub)}},{key:"addComponents",value:function(){this.app.addComponents({MobilePageProvider:lY,MobileNavigationBarAction:sh,MobilePageNavigationBar:sE,MobileHomePage:cY,MobilePageContent:lq,MobileTabBar:c2,MobilePageHeader:lQ,MobilePageTabs:sn,MobileNavigationActionBar:sS,MobileNotFoundPage:cK,MobileSettingsBlockInitializer:uh,MobileSettings:up})}},{key:"setMobileRouter",value:function(){var e,t,n=(0,u.createRouterManager)((null===(t=this.options)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.router)||{type:"browser",basename:this.mobileBasename},this.app);this.mobileRouter=n}},{key:"addRoutes",value:function(){var e=this;this.app.addComponents({MobileLayout:c4,MobilePage:lP}),this.mobileRouter.add("mobile",{Component:"MobileLayout"}),this.mobileRouter.add("mobile.home",{path:"/",Component:"MobileHomePage"}),this.mobileRouter.add("signin",{path:"/signin",Component:function(){return window.location.href=window.location.href.replace(e.mobilePath+"/","/").replace("redirect=","redirect=".concat(e.mobilePath)),null}}),this.mobileRouter.add("admin",{path:"/admin/*",Component:function(){return window.location.pathname.includes("".concat(e.mobilePath,"/admin/"))&&window.location.replace(window.location.href.replace(e.mobilePath+"/","/")),null}}),this.mobileRouter.add("mobile.schema",{element:f().createElement(m.Outlet,null)}),this.mobileRouter.add("mobile.schema.page",{path:"/page/:pageSchemaUid",Component:"MobilePage"}),this.mobileRouter.add("mobile.schema.page.popup",{path:"/page/:pageSchemaUid/popups/*",Component:u.PagePopups}),this.mobileRouter.add("mobile.schema.tabs",{element:f().createElement(m.Outlet,null)}),this.mobileRouter.add("mobile.schema.tabs.page",{path:"/page/:pageSchemaUid/tabs/:tabSchemaUid",Component:"MobilePage"}),this.mobileRouter.add("mobile.schema.tabs.page.popup",{path:"/page/:pageSchemaUid/tabs/:tabSchemaUid/popups/*",Component:u.PagePopups}),this.mobileRouter.add("not-found",{path:"*",Component:"MobileNotFoundPage"})}},{key:"addAppRoutes",value:function(){this.app.addComponents({Mobile:ck}),this.app.router.add("m",{path:"".concat(this.mobilePath,"/*"),Component:"Mobile"})}},{key:"getRouterComponent",value:function(){return this.mobileRouter.getRouterComponent()}},{key:"addPermissionsSettingsUI",value:function(){var e;null===(e=this.app.pm.get(c5()))||void 0===e||e.settingsUI.addPermissionsTab(function(e){var t=e.t,n=e.TabLayout,r=e.activeKey,i=e.currentUserRole;return i&&(!i.snippets.includes("pm.mobile")&&!i.snippets.includes("pm.*")||i.snippets.includes("!pm.mobile"))?null:{key:"mobile-menu",label:t("Mobile menu",{ns:p.u2}),children:f().createElement(n,null,f().createElement(ud,{active:"mobile-menu"===r},f().createElement(uu,{active:"mobile-menu"===r})))}})}}],uw(t.prototype,n),i}(uO(u.Plugin)),uj=uP}(),w}()});
|