UNPKG

ant-design-x-vue

Version:

Craft AI-driven interfaces effortlessly

1 lines 764 kB
var e=Object.defineProperty,t=(t,n,o)=>((t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o)(t,"symbol"!=typeof n?n+"":n,o);import{inject as n,computed as o,provide as r,shallowRef as l,defineComponent as i,watch as a,unref as s,triggerRef as u,Fragment as c,Comment as d,Text as p,isVNode as f,reactive as v,getCurrentInstance as m,onMounted as h,onUpdated as g,onUnmounted as y,ref as b,watchEffect as w,onBeforeUnmount as x,createVNode as $,h as C,Transition as S,withDirectives as O,resolveDirective as k,cloneVNode as P,nextTick as I,toRef as E,withModifiers as j,vShow as A,onBeforeMount as M,Teleport as T,createTextVNode as z,isRef as D,toRefs as R,toRaw as B,render as N,onBeforeUpdate as F,TransitionGroup as H,createApp as L,useSlots as _,mergeProps as W,onWatcherCleanup as V,toValue as X,mergeDefaults as K,useAttrs as q,getCurrentScope as G,onScopeDispose as U,useTemplateRef as Y,createElementBlock as Z,openBlock as Q,createElementVNode as J,useId as ee}from"vue";const te=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},ne=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function oe(){return{type:[Function,Array]}}function re(e){return{type:Object,default:e}}function le(e){return{type:Boolean,default:e}}function ie(e){return{type:Function,default:e}}function ae(e,t){return{validator:()=>!0,default:e}}function se(e){return{type:Array,default:e}}function ue(e){return{type:String,default:e}}function ce(e,t){return e?{type:e,default:t}:ae(t)}const de="anticon",pe=Symbol("GlobalFormContextKey"),fe=Symbol("configProvider"),ve={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o((()=>de)),getPopupContainer:o((()=>()=>document.body)),direction:o((()=>"ltr"))},me=()=>n(fe,ve),he="ant";function ge(){const{getPrefixCls:e,direction:t,csp:n,iconPrefixCls:o,theme:r}=me();return{theme:r,getPrefixCls:e,direction:t,csp:n,iconPrefixCls:o}}function ye(e,t){const n=Object.create(null);for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function be(e){return{type:Object,default:e}}function we(e){return{type:Boolean,default:e}}function xe(e){return{type:Array,default:e}}function $e(e){return{type:String,default:e}}function Ce(e,t){return e?{type:e,default:t}:function(e){return{validator:()=>!0,default:e}}(t)}const Se=Symbol("XProviderContext"),Oe=l(),ke=i({props:{value:be()},setup:(e,{slots:t})=>((e=>{r(Se,e),a(e,(()=>{Oe.value=s(e),u(Oe)}),{immediate:!0,deep:!0})})(o((()=>e.value))),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})});function Pe(e){return(Pe="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 Ie(e){var t=function(e,t){if("object"!=Pe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Pe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pe(t)?t:t+""}function Ee(e,t,n){return(t=Ie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Me.apply(null,arguments)}const Te=Array.isArray,ze=e=>"string"==typeof e,De=e=>null!==e&&"object"==typeof e,Re=/^on[^a-z]/,Be=e=>Re.test(e),Ne=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fe=/-(\w)/g,He=Ne((e=>e.replace(Fe,((e,t)=>t?t.toUpperCase():"")))),Le=/\B([A-Z])/g,_e=Ne((e=>e.replace(Le,"-$1").toLowerCase())),We=Object.prototype.hasOwnProperty,Ve=(e,t)=>We.call(e,t);function Xe(e){let t=arguments.length>2?arguments[2]:void 0;return"function"==typeof e?e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}):e??t}function Ke(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n)if(ze(n))e.push(n);else if(Te(n))for(let t=0;t<n.length;t++){const o=Ke(n[t]);o&&e.push(o)}else if(De(n))for(const t in n)n[t]&&e.push(t)}return e.join(" ")}var qe=function(){if(typeof Map<"u")return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),Ge=typeof window<"u"&&typeof document<"u"&&window.document===document,Ue=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Ye="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Ue):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var Ze=["top","right","bottom","left","width","height","size","weight"],Qe=typeof MutationObserver<"u",Je=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function l(){n&&(n=!1,e()),o&&a()}function i(){Ye(l)}function a(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,t);r=e}return a}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){!Ge||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Qe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Ge||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Ze.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),et=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},tt=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Ue},nt=st(0,0,0,0);function ot(e){return parseFloat(e)||0}function rt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+ot(e["border-"+n+"-width"])}),0)}function lt(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return nt;var o=tt(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],l=e["padding-"+r];t[r]=ot(l)}return t}(o),l=r.left+r.right,i=r.top+r.bottom,a=ot(o.width),s=ot(o.height);if("border-box"===o.boxSizing&&(Math.round(a+l)!==t&&(a-=rt(o,"left","right")+l),Math.round(s+i)!==n&&(s-=rt(o,"top","bottom")+i)),!function(e){return e===tt(e).document.documentElement}(e)){var u=Math.round(a+l)-t,c=Math.round(s+i)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(c)&&(s-=c)}return st(r.left,r.top,a,s)}var it=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof tt(e).SVGGraphicsElement}:function(e){return e instanceof tt(e).SVGElement&&"function"==typeof e.getBBox}}();function at(e){return Ge?it(e)?function(e){var t=e.getBBox();return st(0,0,t.width,t.height)}(e):lt(e):nt}function st(e,t,n,o){return{x:e,y:t,width:n,height:o}}var ut=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=st(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=at(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ct=function(){return function(e,t){var n=function(e){var t=e.x,n=e.y,o=e.width,r=e.height,l=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(l.prototype);return et(i,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),i}(t);et(this,{target:e,contentRect:n})}}(),dt=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new qe,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(e instanceof tt(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new ut(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(e instanceof tt(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new ct(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),pt=typeof WeakMap<"u"?new WeakMap:new qe,ft=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Je.getInstance(),o=new dt(t,n,this);pt.set(this,o)}}();["observe","unobserve","disconnect"].forEach((function(e){ft.prototype[e]=function(){var t;return(t=pt.get(this))[e].apply(t,arguments)}}));var vt=typeof Ue.ResizeObserver<"u"?Ue.ResizeObserver:ft;const mt=e=>null!=e&&""!==e,ht=(e,t)=>{const n=Me({},e);return Object.keys(t).forEach((e=>{const o=n[e];if(!o)throw new Error(`not have ${e} prop`);o.type||o.default?o.default=t[e]:o.def?o.def(t[e]):n[e]={type:o,default:t[e]}})),n},gt=Symbol("skipFlatten"),yt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=Array.isArray(e)?e:[e],o=[];return n.forEach((e=>{Array.isArray(e)?o.push(...yt(e,t)):e&&e.type===c?e.key===gt?o.push(e):o.push(...yt(e.children,t)):e&&f(e)?t&&!Ct(e)?o.push(e):t||o.push(e):mt(e)&&o.push(e)})),o},bt=e=>{var t;let n=(null===(t=null==e?void 0:e.vnode)||void 0===t?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},wt=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach((o=>{const r=e.$props[o],l=_e(o);(void 0!==r||l in n)&&(t[o]=r)}))}else if(f(e)&&"object"==typeof e.type){const n=e.props||{},o={};Object.keys(n).forEach((e=>{o[He(e)]=n[e]}));const r=e.type.props||{};Object.keys(r).forEach((e=>{const n=function(e,t,n,o){const r=e[n];if(null!=r){const e=Ve(r,"default");if(e&&void 0===o){const e=r.default;o=r.type!==Function&&(e=>"function"==typeof e)(e)?e():e}r.type===Boolean&&(Ve(t,n)||e?""===o&&(o=!0):o=!1)}return o}(r,o,e,o[e]);(void 0!==n||e in o)&&(t[e]=n)}))}return t};function xt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return n=e.$?Me(Me({},n),e.$attrs):Me(Me({},n),e.props),(e=>{const t=Object.keys(e),n={},o={},r={};for(let l=0,i=t.length;l<i;l++){const i=t[l];Be(i)?(n[i[2].toLowerCase()+i.slice(3)]=e[i],o[i]=e[i]):r[i]=e[i]}return{onEvents:o,events:n,extraAttrs:r}})(n)[t?"onEvents":"events"]}function $t(e,t){let n=((f(e)?e.props:e.$attrs)||{}).style||{};return"string"==typeof n&&(n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={},o=/:(.+)/;return"object"==typeof e?e:(e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){const r=e.split(o);if(r.length>1){const e=t?He(r[0].trim()):r[0].trim();n[e]=r[1].trim()}}})),n)}(n,t)),n}function Ct(e){return e&&(e.type===d||e.type===c&&0===e.children.length||e.type===p&&""===e.children.trim())}function St(){const e=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((t=>{Array.isArray(t)?e.push(...t):(null==t?void 0:t.type)===c?e.push(...St(t.children)):e.push(t)})),e.filter((e=>!Ct(e)))}function Ot(e){return Array.isArray(e)&&1===e.length&&(e=e[0]),e&&e.__v_isVNode&&"symbol"!=typeof e.type}function kt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";var o,r;return null!==(o=t[n])&&void 0!==o?o:null===(r=e[n])||void 0===r?void 0:r.call(e)}const Pt=i({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=v({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,l=null;const i=()=>{l&&(l.disconnect(),l=null)},s=t=>{const{onResize:n}=e,r=t[0].target,{width:l,height:i}=r.getBoundingClientRect(),{offsetWidth:a,offsetHeight:s}=r,u=Math.floor(l),c=Math.floor(i);if(o.width!==u||o.height!==c||o.offsetWidth!==a||o.offsetHeight!==s){const e={width:u,height:c,offsetWidth:a,offsetHeight:s};Me(o,e),n&&Promise.resolve().then((()=>{n(Me(Me({},e),{offsetWidth:a,offsetHeight:s}),r)}))}},u=m(),c=()=>{const{disabled:t}=e;if(t)return void i();const n=bt(u);n!==r&&(i(),r=n),!l&&n&&(l=new vt(s),l.observe(n))};return h((()=>{c()})),g((()=>{c()})),y((()=>{i()})),a((()=>e.disabled),(()=>{c()}),{flush:"post"}),()=>{var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)[0]}}});let It=e=>setTimeout(e,16),Et=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(It=e=>window.requestAnimationFrame(e),Et=e=>window.cancelAnimationFrame(e));let jt=0;const At=new Map;function Mt(e){At.delete(e)}function Tt(e){jt+=1;const t=jt;return function n(o){if(0===o)Mt(t),e();else{const e=It((()=>{n(o-1)}));At.set(t,e)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t}Tt.cancel=e=>{const t=At.get(e);return Mt(t),Et(t)};let zt=!1;try{const e=Object.defineProperty({},"passive",{get(){zt=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Dt(e,t,n,o){if(e&&e.addEventListener){let r=o;void 0===r&&zt&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const Rt=Symbol("DisabledContextKey"),Bt=()=>n(Rt,b(void 0)),Nt=e=>{const t=Bt();return r(Rt,o((()=>{var n;return null!==(n=e.value)&&void 0!==n?n:t.value}))),e},Ft={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Ht={lang:Me({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Me({},Ft)},Lt="${label} is not a valid ${type}",_t={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},DatePicker:Ht,TimePicker:Ft,Calendar:Ht,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Lt,method:Lt,array:Lt,object:Lt,number:Lt,date:Lt,boolean:Lt,integer:Lt,float:Lt,regexp:Lt,email:Lt,url:Lt,hex:Lt},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},Wt=i({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:r}=t;const l=n("localeData",{}),i=o((()=>{const{componentName:t="global",defaultLocale:n}=e,o=n||_t[t||"global"],{antLocale:r}=l,i=t&&r?r[t]:{};return Me(Me({},"function"==typeof o?o():o),i||{})})),a=o((()=>{const{antLocale:e}=l,t=e&&e.locale;return e&&e.exist&&!t?_t.locale:t}));return()=>{const t=e.children||r.default,{antLocale:n}=l;return null==t?void 0:t(i.value,a.value,n)}}});function Vt(e,t,r){const l=n("localeData",{});return[o((()=>{const{antLocale:n}=l,o=s(t)||_t[e||"global"],i=e&&n?n[e]:{};return Me(Me(Me({},"function"==typeof o?o():o),i||{}),s(r)||{})}))]}function Xt(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}let Kt=class{constructor(e){this.cache=new Map,this.instanceId=e}get(e){return this.cache.get(Array.isArray(e)?e.join("%"):e)||null}update(e,t){const n=Array.isArray(e)?e.join("%"):e,o=t(this.cache.get(n));null===o?this.cache.delete(n):this.cache.set(n,o)}};const qt="data-token-hash",Gt="data-css-hash",Ut="__cssinjs_instance__";function Yt(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Gt}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach((t=>{t[Ut]=t[Ut]||e,t[Ut]===e&&document.head.insertBefore(t,n)}));const o={};Array.from(document.querySelectorAll(`style[${Gt}]`)).forEach((t=>{var n;const r=t.getAttribute(Gt);o[r]?t[Ut]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):o[r]=!0}))}return new Kt(e)}const Zt=Symbol("StyleContextKey"),Qt={cache:Yt(),defaultCache:!0,hashPriority:"low"},Jt=()=>{const e=(()=>{var e,t,n;const o=m();let r;if(o&&o.appContext){const l=null===(n=null===(t=null===(e=o.appContext)||void 0===e?void 0:e.config)||void 0===t?void 0:t.globalProperties)||void 0===n?void 0:n.__ANTDV_CSSINJS_CACHE__;l?r=l:(r=Yt(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=Yt();return r})();return n(Zt,l(Me(Me({},Qt),{cache:e})))},en=ne(i({name:"AStyleProvider",inheritAttrs:!1,props:{autoClear:le(),mock:ue(),cache:re(),defaultCache:le(),hashPriority:ue(),container:ce(),ssrInline:le(),transformers:se(),linters:se()},setup(e,t){let{slots:n}=t;return(e=>{const t=Jt(),n=l(Me(Me({},Qt),{cache:Yt()}));a([()=>s(e),t],(()=>{const o=Me({},t.value),r=s(e);Object.keys(r).forEach((e=>{const t=r[e];void 0!==r[e]&&(o[e]=t)}));const{cache:l}=r;o.cache=o.cache||Yt(),o.defaultCache=!l&&t.value.defaultCache,n.value=o}),{immediate:!0}),r(Zt,n)})(e),()=>{var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)}}}));function tn(e,t,n,o){const r=Jt(),i=l(""),s=l();w((()=>{i.value=[e,...t.value].join("%")}));const u=e=>{r.value.cache.update(e,(e=>{const[t=0,n]=e||[];return t-1==0?(null==o||o(n,!1),null):[t-1,n]}))};return a(i,((e,t)=>{t&&u(t),r.value.cache.update(e,(e=>{const[t=0,o]=e||[];return[t+1,o||n()]})),s.value=r.value.cache.get(i.value)[1]}),{immediate:!0}),x((()=>{u(i.value)})),s}function nn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function on(e,t){return!(!e||!e.contains)&&e.contains(t)}const rn="data-vc-order",ln=new Map;function an(){let{mark:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:"vc-util-key"}function sn(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function un(e){return Array.from((ln.get(e)||e).children).filter((e=>"STYLE"===e.tagName))}function cn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!nn())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(rn,function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(o)),null!=n&&n.nonce&&(r.nonce=null==n?void 0:n.nonce),r.innerHTML=e;const l=sn(t),{firstChild:i}=l;if(o){if("queue"===o){const e=un(l).filter((e=>["prepend","prependQueue"].includes(e.getAttribute(rn))));if(e.length)return l.insertBefore(r,e[e.length-1].nextSibling),r}l.insertBefore(r,i)}else l.appendChild(r);return r}function dn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return un(sn(t)).find((n=>n.getAttribute(an(t))===e))}function pn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=dn(e,t);n&&sn(t).removeChild(n)}function fn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o,r,l;!function(e,t){const n=ln.get(e);if(!n||!on(document,n)){const n=cn("",t),{parentNode:o}=n;ln.set(e,o),e.removeChild(n)}}(sn(n),n);const i=dn(t,n);if(i)return!(null===(o=n.csp)||void 0===o)&&o.nonce&&i.nonce!==(null===(r=n.csp)||void 0===r?void 0:r.nonce)&&(i.nonce=null===(l=n.csp)||void 0===l?void 0:l.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;const a=cn(e,n);return a.setAttribute(an(n),t),a}let vn=class e{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={map:this.cache};return e.forEach((e=>{var t;n=n?null===(t=null==n?void 0:n.map)||void 0===t?void 0:t.get(e):void 0})),null!=n&&n.value&&t&&(n.value[1]=this.cacheCallTimes++),null==n?void 0:n.value}get(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}has(e){return!!this.internalGet(e)}set(t,n){if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){const[e]=this.keys.reduce(((e,t)=>{const[,n]=e;return this.internalGet(t)[1]<n?[t,this.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]);this.delete(e)}this.keys.push(t)}let o=this.cache;t.forEach(((e,r)=>{if(r===t.length-1)o.set(e,{value:[n,this.cacheCallTimes++]});else{const t=o.get(e);t?t.map||(t.map=new Map):o.set(e,{map:new Map}),o=o.get(e).map}}))}deleteByPath(e,t){var n;const o=e.get(t[0]);if(1===t.length)return o.map?e.set(t[0],{map:o.map}):e.delete(t[0]),null===(n=o.value)||void 0===n?void 0:n[0];const r=this.deleteByPath(o.map,t.slice(1));return(!o.map||0===o.map.size)&&!o.value&&e.delete(t[0]),r}delete(e){if(this.has(e))return this.keys=this.keys.filter((t=>!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,e))),this.deleteByPath(this.cache,e)}};vn.MAX_CACHE_SIZE=20,vn.MAX_CACHE_OFFSET=5;let mn={};function hn(e,t){!function(e,t,n){!t&&!mn[n]&&(mn[n]=!0)}(0,e,t)}let gn=function(){},yn=0,bn=class{constructor(e){this.derivatives=Array.isArray(e)?e:[e],this.id=yn,0===e.length&&gn(e.length>0),yn+=1}getDerivativeToken(e){return this.derivatives.reduce(((t,n)=>n(e,t)),void 0)}};const wn=new vn;function xn(e){const t=Array.isArray(e)?e:[e];return wn.has(t)||wn.set(t,new bn(t)),wn.get(t)}const $n=new WeakMap;function Cn(e){let t=$n.get(e)||"";return t||(Object.keys(e).forEach((n=>{const o=e[n];t+=n,t+=o instanceof bn?o.id:o&&"object"==typeof o?Cn(o):o})),$n.set(e,t)),t}const Sn=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),On="_bAmBoO_";let kn;function Pn(){return void 0===kn&&(kn=function(e,t,n){var o,r;if(nn()){fn(e,Sn);const l=document.createElement("div");l.style.position="fixed",l.style.left="0",l.style.top="0",null==t||t(l),document.body.appendChild(l);const i=n?n(l):null===(o=getComputedStyle(l).content)||void 0===o?void 0:o.includes(On);return null===(r=l.parentNode)||void 0===r||r.removeChild(l),pn(Sn),i}return!1}(`@layer ${Sn} { .${Sn} { content: "${On}"!important; } }`,(e=>{e.className=Sn}))),kn}const In={},En=new Map;function jn(e,t){En.set(e,(En.get(e)||0)-1);const n=Array.from(En.keys()),o=n.filter((e=>(En.get(e)||0)<=0));n.length-o.length>0&&o.forEach((e=>{(function(e,t){typeof document<"u"&&document.querySelectorAll(`style[${qt}="${e}"]`).forEach((e=>{var n;e[Ut]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))})(e,t),En.delete(e)}))}function An(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b({});const r=Jt(),l=o((()=>Me({},...t.value))),i=o((()=>Cn(l.value))),a=o((()=>Cn(n.value.override||In)));return tn("token",o((()=>[n.value.salt||"",e.value.id,i.value,a.value])),(()=>{const{salt:t="",override:o=In,formatToken:r,getComputedToken:i}=n.value,a=i?i(l.value,o,e.value):((e,t,n,o)=>{let r=Me(Me({},n.getDerivativeToken(e)),t);return o&&(r=o(r)),r})(l.value,o,e.value,r),s=function(e,t){return Xt(`${t}_${Cn(e)}`)}(a,t);a._tokenKey=s,function(e){En.set(e,(En.get(e)||0)+1)}(s);const u=`css-${Xt(s)}`;return a._hashId=u,[a,u]}),(e=>{var t;jn(e[0]._tokenKey,null===(t=r.value)||void 0===t?void 0:t.cache.instanceId)}))}var Mn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Tn="comm",zn="rule",Dn="decl",Rn=Math.abs,Bn=String.fromCharCode;function Nn(e){return e.trim()}function Fn(e,t,n){return e.replace(t,n)}function Hn(e,t,n){return e.indexOf(t,n)}function Ln(e,t){return 0|e.charCodeAt(t)}function _n(e,t,n){return e.slice(t,n)}function Wn(e){return e.length}function Vn(e,t){return t.push(e),e}var Xn=1,Kn=1,qn=0,Gn=0,Un=0,Yn="";function Zn(e,t,n,o,r,l,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:l,line:Xn,column:Kn,length:i,return:"",siblings:a}}function Qn(){return Un=Gn<qn?Ln(Yn,Gn++):0,Kn++,10===Un&&(Kn=1,Xn++),Un}function Jn(){return Ln(Yn,Gn)}function eo(){return Gn}function to(e,t){return _n(Yn,e,t)}function no(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function oo(e){return Nn(to(Gn-1,io(91===e?e+2:40===e?e+1:e)))}function ro(e){for(;(Un=Jn())&&Un<33;)Qn();return no(e)>2||no(Un)>3?"":" "}function lo(e,t){for(;--t&&Qn()&&!(Un<48||Un>102||Un>57&&Un<65||Un>70&&Un<97););return to(e,eo()+(t<6&&32==Jn()&&32==Qn()))}function io(e){for(;Qn();)switch(Un){case e:return Gn;case 34:case 39:34!==e&&39!==e&&io(Un);break;case 40:41===e&&io(e);break;case 92:Qn()}return Gn}function ao(e,t){for(;Qn()&&e+Un!==57&&(e+Un!==84||47!==Jn()););return"/*"+to(t,Gn-1)+"*"+Bn(47===e?e:Qn())}function so(e){for(;!no(Jn());)Qn();return to(e,Gn)}function uo(e){return function(e){return Yn="",e}(co("",null,null,null,[""],e=function(e){return Xn=Kn=1,qn=Wn(Yn=e),Gn=0,[]}(e),0,[0],e))}function co(e,t,n,o,r,l,i,a,s){for(var u=0,c=0,d=i,p=0,f=0,v=0,m=1,h=1,g=1,y=0,b="",w=r,x=l,$=o,C=b;h;)switch(v=y,y=Qn()){case 40:if(108!=v&&58==Ln(C,d-1)){-1!=Hn(C+=Fn(oo(y),"&","&\f"),"&\f",Rn(u?a[u-1]:0))&&(g=-1);break}case 34:case 39:case 91:C+=oo(y);break;case 9:case 10:case 13:case 32:C+=ro(v);break;case 92:C+=lo(eo()-1,7);continue;case 47:switch(Jn()){case 42:case 47:Vn(fo(ao(Qn(),eo()),t,n,s),s),(5==no(v||1)||5==no(Jn()||1))&&Wn(C)&&" "!==_n(C,-1,void 0)&&(C+=" ");break;default:C+="/"}break;case 123*m:a[u++]=Wn(C)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+c:-1==g&&(C=Fn(C,/\f/g,"")),f>0&&(Wn(C)-d||0===m&&47===v)&&Vn(f>32?vo(C+";",o,n,d-1,s):vo(Fn(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(Vn($=po(C,t,n,u,c,r,a,b,w=[],x=[],d,l),l),123===y)if(0===c)co(C,t,$,$,w,l,d,a,x);else switch(99===p&&110===Ln(C,3)?100:p){case 100:case 108:case 109:case 115:co(e,$,$,o&&Vn(po(e,$,$,0,0,r,a,b,r,w=[],d,x),x),r,x,d,a,o?w:x);break;default:co(C,$,$,$,[""],x,0,a,x)}}u=c=f=0,m=g=1,b=C="",d=i;break;case 58:d=1+Wn(C),f=v;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==(Un=Gn>0?Ln(Yn,--Gn):0,Kn--,10===Un&&(Kn=1,Xn--),Un))continue;switch(C+=Bn(y),y*m){case 38:g=c>0?1:(C+="\f",-1);break;case 44:a[u++]=(Wn(C)-1)*g,g=1;break;case 64:45===Jn()&&(C+=oo(Qn())),p=Jn(),c=d=Wn(b=C+=so(eo())),y++;break;case 45:45===v&&2==Wn(C)&&(m=0)}}return l}function po(e,t,n,o,r,l,i,a,s,u,c,d){for(var p=r-1,f=0===r?l:[""],v=function(e){return e.length}(f),m=0,h=0,g=0;m<o;++m)for(var y=0,b=_n(e,p+1,p=Rn(h=i[m])),w=e;y<v;++y)(w=Nn(h>0?f[y]+" "+b:Fn(b,/&\f/g,f[y])))&&(s[g++]=w);return Zn(e,t,n,0===r?zn:a,s,u,c,d)}function fo(e,t,n,o){return Zn(e,t,n,Tn,Bn(Un),_n(e,2,-2),0,o)}function vo(e,t,n,o,r){return Zn(e,t,n,Dn,_n(e,0,o),_n(e,o+1,-1),o,r)}function mo(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function ho(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Dn:return e.return=e.return||e.value;case Tn:return"";case"@keyframes":return e.return=e.value+"{"+mo(e.children,o)+"}";case zn:if(!Wn(e.value=e.props.join(",")))return""}return Wn(n=mo(e.children,o))?e.return=e.value+"{"+n+"}":""}const go="data-ant-cssinjs-cache-path";let yo,bo=!0;function wo(e){return function(){var e;if(!yo&&(yo={},nn())){const t=document.createElement("div");t.className=go,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach((e=>{const[t,n]=e.split(":");yo[t]=n}));const o=document.querySelector(`style[${go}]`);o&&(bo=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),!!yo[e]}const xo=nn(),$o="_multi_value_";function Co(e){return mo(uo(e),ho).replace(/\{%%%\:[^;];}/g,";")}const So=new Set,Oo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:l,layer:i,path:a,hashPriority:s,transformers:u=[],linters:c=[]}=t;let d="",p={};function f(e){const n=e.getName(l);if(!p[n]){const[o]=Oo(e.style,t,{root:!1,parentSelectors:r});p[n]=`@keyframes ${e.getName(l)}${o}`}}if(function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((t=>{Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(e)?e:[e]).forEach((e=>{const i="string"!=typeof e||n?e:{};if("string"==typeof i)d+=`${i}\n`;else if(i._keyframe)f(i);else{const e=u.reduce(((e,t)=>{var n;return(null===(n=null==t?void 0:t.visit)||void 0===n?void 0:n.call(t,e))||e}),i);Object.keys(e).forEach((i=>{var a;const u=e[i];if("object"!=typeof u||!u||"animationName"===i&&u._keyframe||function(e){return"object"==typeof e&&e&&("_skip_check_"in e||$o in e)}(u)){let e=function(e,t){const n=e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`));let o=t;!Mn[e]&&"number"==typeof o&&0!==o&&(o=`${o}px`),"animationName"===e&&null!=t&&t._keyframe&&(f(t),o=t.getName(l)),d+=`${n}:${o};`};const t=null!==(a=null==u?void 0:u.value)&&void 0!==a?a:u;"object"==typeof u&&null!=u&&u[$o]&&Array.isArray(t)?t.forEach((t=>{e(i,t)})):e(i,t)}else{let e=!1,a=i.trim(),c=!1;(n||o)&&l?a.startsWith("@")?e=!0:a=function(e,t,n){if(!t)return e;const o=`.${t}`,r="low"===n?`:where(${o})`:o;return e.split(",").map((e=>{var t;const n=e.trim().split(/\s+/);let o=n[0]||"";const l=(null===(t=o.match(/^\w+/))||void 0===t?void 0:t[0])||"";return o=`${l}${r}${o.slice(l.length)}`,[o,...n.slice(1)].join(" ")})).join(",")}(i,l,s):n&&!l&&("&"===a||""===a)&&(a="",c=!0);const[f,v]=Oo(u,t,{root:c,injectHash:e,parentSelectors:[...r,a]});p=Me(Me({},p),v),d+=`${a}${f}`}}))}})),n){if(i&&Pn()){const e=i.split(",");d=`@layer ${e[e.length-1].trim()} {${d}}`,e.length>1&&(d=`@layer ${i}{%%%:%}${d}`)}}else d=`{${d}}`;return[d,p]};function ko(e,t){const n=Jt(),r=o((()=>e.value.token._tokenKey)),l=o((()=>[r.value,...e.value.path]));let i=xo;return tn("style",l,(()=>{const{path:o,hashId:a,layer:s,nonce:u,clientOnly:c,order:d=0}=e.value,p=l.value.join("|");if(wo(p)){const[e,t]=function(e){const t=yo[e];let n=null;if(t&&nn())if(bo)n="_FILE_STYLE__";else{const t=document.querySelector(`style[${Gt}="${yo[e]}"]`);t?n=t.innerHTML:delete yo[e]}return[n,t]}(p);if(e)return[e,r.value,t,{},c,d]}const f=t(),{hashPriority:v,container:m,transformers:h,linters:g,cache:y}=n.value,[b,w]=Oo(f,{hashId:a,hashPriority:v,layer:s,path:o.join("-"),transformers:h,linters:g}),x=Co(b),$=function(e,t){return Xt(`${e.join("%")}${t}`)}(l.value,x);if(i){const e={mark:Gt,prepend:"queue",attachTo:m,priority:d},t="function"==typeof u?u():u;t&&(e.csp={nonce:t});const n=fn(x,$,e);n[Ut]=y.instanceId,n.setAttribute(qt,r.value),Object.keys(w).forEach((e=>{So.has(e)||(So.add(e),fn(Co(w[e]),`_effect-${e}`,{mark:Gt,prepend:"queue",attachTo:m}))}))}return[x,r.value,$,w,c,d]}),((e,t)=>{let[,,o]=e;(t||n.value.autoClear)&&xo&&pn(o,{mark:Gt})})),e=>e}let Po=class{constructor(e,t){this._keyframe=!0,this.name=e,this.style=t}getName(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?`${e}-${this.name}`:this.name}};function Io(e){return e.notSplit=!0,e}Io(["borderTop","borderBottom"]),Io(["borderTop"]),Io(["borderBottom"]),Io(["borderLeft","borderRight"]),Io(["borderLeft"]),Io(["borderRight"]);const Eo=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function jo(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Ao(e){return Math.min(1,Math.max(0,e))}function Mo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function To(e){return e<=1?"".concat(100*Number(e),"%"):e}function zo(e){return 1===e.length?"0"+e:String(e)}function Do(e,t,n){e=jo(e,255),t=jo(t,255),n=jo(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),l=0,i=0,a=(o+r)/2;if(o===r)i=0,l=0;else{var s=o-r;switch(i=a>.5?s/(2-o-r):s/(o+r),o){case e:l=(t-n)/s+(t<n?6:0);break;case t:l=(n-e)/s+2;break;case n:l=(e-t)/s+4}l/=6}return{h:l,s:i,l:a}}function Ro(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Bo(e,t,n){e=jo(e,255),t=jo(t,255),n=jo(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),l=0,i=o,a=o-r,s=0===o?0:a/o;if(o===r)l=0;else{switch(o){case e:l=(t-n)/a+(t<n?6:0);break;case t:l=(n-e)/a+2;break;case n:l=(e-t)/a+4}l/=6}return{h:l,s:s,v:i}}function No(e,t,n,o){var r=[zo(Math.round(e).toString(16)),zo(Math.round(t).toString(16)),zo(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function Fo(e){return Math.round(255*parseFloat(e)).toString(16)}function Ho(e){return Lo(e)/255}function Lo(e){return parseInt(e,16)}var _o={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Wo(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,l=null,i=!1,a=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(_o[e])e=_o[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=qo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=qo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=qo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=qo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=qo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=qo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=qo.hex8.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),a:Ho(n[4]),format:t?"name":"hex8"}:(n=qo.hex6.exec(e),n?{r:Lo(n[1]),g:Lo(n[2]),b:Lo(n[3]),format:t?"name":"hex"}:(n=qo.hex4.exec(e),n?{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),a:Ho(n[4]+n[4]),format:t?"name":"hex8"}:(n=qo.hex3.exec(e),!!n&&{r:Lo(n[1]+n[1]),g:Lo(n[2]+n[2]),b:Lo(n[3]+n[3]),format:t?"name":"hex"})))))))))}(e)),"object"==typeof e&&(Go(e.r)&&Go(e.g)&&Go(e.b)?(t=function(e,t,n){return{r:255*jo(e,255),g:255*jo(t,255),b:255*jo(n,255)}}(e.r,e.g,e.b),i=!0,a="%"===String(e.r).substr(-1)?"prgb":"rgb"):Go(e.h)&&Go(e.s)&&Go(e.v)?(o=To(e.s),r=To(e.v),t=function(e,t,n){e=6*jo(e,360),t=jo(t,100),n=jo(n,100);var o=Math.floor(e),r=e-o,l=n*(1-t),i=n*(1-r*t),a=n*(1-(1-r)*t),s=o%6;return{r:255*[n,i,l,l,a,n][s],g:255*[a,n,n,i,l,l][s],b:255*[l,l,a,n,n,i][s]}}(e.h,o,r),i=!0,a="hsv"):Go(e.h)&&Go(e.s)&&Go(e.l)&&(o=To(e.s),l=To(e.l),t=function(e,t,n){var o,r,l;if(e=jo(e,360),t=jo(t,100),n=jo(n,100),0===t)r=n,l=n,o=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;o=Ro(a,i,e+1/3),r=Ro(a,i,e),l=Ro(a,i,e-1/3)}return{r:255*o,g:255*r,b:255*l}}(e.h,o,l),i=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Mo(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Vo="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Xo="[\\s|\\(]+(".concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")\\s*\\)?"),Ko="[\\s|\\(]+(".concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")\\s*\\)?"),qo={CSS_UNIT:new RegExp(Vo),rgb:new RegExp("rgb"+Xo),rgba:new RegExp("rgba"+Ko),hsl:new RegExp("hsl"+Xo),hsla:new RegExp("hsla"+Ko),hsv:new RegExp("hsv"+Xo),hsva:new RegExp("hsva"+Ko),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Go(e){return!!qo.CSS_UNIT.exec(String(e))}var Uo=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=Wo(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Mo(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=Bo(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Bo(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=Do(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Do(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),No(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,o,r){var l=[zo(Math.round(e).toString(16)),zo(Math.round(t).toString(16)),zo(Math.round(n).toString(16)),zo(Fo(o))];return r&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))&&l[3].startsWith(l[3].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*jo(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*jo(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transpare