@byteluck-fe/model-driven-core 2.22.2-beta.0 → 2.22.2-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.
Files changed (49) hide show
  1. package/README.md +69 -69
  2. package/dist/esm/common/BaseControl/designer.js +11 -11
  3. package/dist/esm/common/BaseControl/property.js +15 -15
  4. package/dist/esm/common/ColumnControl/property.js +28 -28
  5. package/dist/esm/common/FormControl/property.js +44 -44
  6. package/dist/esm/framework/index.js +364 -364
  7. package/dist/index.umd.js +18 -18
  8. package/dist/types/api-doc-index.d.ts +4 -4
  9. package/dist/types/common/BaseControl/designer.d.ts +71 -71
  10. package/dist/types/common/BaseControl/index.d.ts +13 -13
  11. package/dist/types/common/BaseControl/property.d.ts +44 -44
  12. package/dist/types/common/BaseControl/runtime.d.ts +23 -23
  13. package/dist/types/common/BaseControl/types.d.ts +35 -35
  14. package/dist/types/common/ColumnControl/designer.d.ts +20 -20
  15. package/dist/types/common/ColumnControl/index.d.ts +12 -12
  16. package/dist/types/common/ColumnControl/property.d.ts +74 -74
  17. package/dist/types/common/ColumnControl/runtime.d.ts +11 -11
  18. package/dist/types/common/ControlArray.d.ts +9 -9
  19. package/dist/types/common/FormControl/designer.d.ts +13 -13
  20. package/dist/types/common/FormControl/index.d.ts +12 -12
  21. package/dist/types/common/FormControl/property.d.ts +100 -100
  22. package/dist/types/common/FormControl/runtime.d.ts +11 -11
  23. package/dist/types/common/LayoutControl/designer.d.ts +21 -21
  24. package/dist/types/common/LayoutControl/index.d.ts +12 -12
  25. package/dist/types/common/LayoutControl/property.d.ts +6 -6
  26. package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
  27. package/dist/types/common/ListControl/designer.d.ts +16 -16
  28. package/dist/types/common/ListControl/index.d.ts +12 -12
  29. package/dist/types/common/ListControl/property.d.ts +18 -18
  30. package/dist/types/common/ListControl/runtime.d.ts +12 -12
  31. package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
  32. package/dist/types/common/SearchViewControl/index.d.ts +12 -12
  33. package/dist/types/common/SearchViewControl/property.d.ts +8 -8
  34. package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
  35. package/dist/types/common/Validator.d.ts +15 -15
  36. package/dist/types/common/WrapControl/designer.d.ts +11 -11
  37. package/dist/types/common/WrapControl/index.d.ts +12 -12
  38. package/dist/types/common/WrapControl/property.d.ts +6 -6
  39. package/dist/types/common/WrapControl/runtime.d.ts +11 -11
  40. package/dist/types/common/controlHooksEmitter.d.ts +4 -4
  41. package/dist/types/common/index.d.ts +12 -12
  42. package/dist/types/common/initLinkOperationRules.d.ts +6 -6
  43. package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
  44. package/dist/types/framework/RegisterControls.d.ts +37 -37
  45. package/dist/types/framework/index.d.ts +923 -923
  46. package/dist/types/framework/isDataBind.d.ts +2 -2
  47. package/dist/types/index.d.ts +4 -4
  48. package/dist/types/type.d.ts +91 -91
  49. package/package.json +3 -3
package/dist/index.umd.js CHANGED
@@ -1,45 +1,45 @@
1
- var $_=Object.defineProperty,x_=Object.defineProperties;var W_=Object.getOwnPropertyDescriptors;var Al=Object.getOwnPropertySymbols,B_=Object.getPrototypeOf,H_=Object.prototype.hasOwnProperty,p_=Object.prototype.propertyIsEnumerable,j_=Reflect.get;var Dl=(I,te,re)=>te in I?$_(I,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):I[te]=re,Ze=(I,te)=>{for(var re in te||(te={}))H_.call(te,re)&&Dl(I,re,te[re]);if(Al)for(var re of Al(te))p_.call(te,re)&&Dl(I,re,te[re]);return I},Tt=(I,te)=>x_(I,W_(te));var ma=(I,te,re)=>j_(B_(I),re,te);var Ye=(I,te,re)=>new Promise((Cr,pe)=>{var $n=Oe=>{try{Pt(re.next(Oe))}catch(Mt){pe(Mt)}},xn=Oe=>{try{Pt(re.throw(Oe))}catch(Mt){pe(Mt)}},Pt=Oe=>Oe.done?Cr(Oe.value):Promise.resolve(Oe.value).then($n,xn);Pt((re=re.apply(I,te)).next())});(function(I,te){typeof exports=="object"&&typeof module!="undefined"?te(exports):typeof define=="function"&&define.amd?define(["exports"],te):(I=typeof globalThis!="undefined"?globalThis:I||self,te(I.modelDrivenCore={}))})(this,function(I){"use strict";var te;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(te||(te={}));var re;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(re||(re={}));var Cr="zh-CN",pe;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(pe||(pe={}));var $n;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})($n||($n={}));var xn;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(xn||(xn={}));var Pt;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(Pt||(Pt={}));var Oe;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(Oe||(Oe={}));var Mt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Mt||(Mt={}));var _a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Cl=_a+"0123456789";function et(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?_a:Cl,i=Math.random()*r.length;t+=r[parseInt(String(i),10)]}return t}function Rr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rl(e){if(Array.isArray(e))return Rr(e)}function Tl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t,n){return ya()?Wn=Reflect.construct:Wn=function(i,a,s){var o=[null];o.push.apply(o,a);var l=Function.bind.apply(i,o),c=new l;return s&&tn(c,s.prototype),c},Wn.apply(null,arguments)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(e)}function ga(e,t){if(typeof t!="function"&&t!==null)throw new 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&&tn(e,t)}function Pl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ml(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fl(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Vl(e,t){return t&&(kl(t)==="object"||typeof t=="function")?t:Tl(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},tn(e,t)}function Ea(e){return Rl(e)||Ml(e)||Ul(e)||Fl()}function kl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ul(e,t){if(!!e){if(typeof e=="string")return Rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rr(e,t)}}function Tr(e){var t=typeof Map=="function"?new Map:void 0;return Tr=function(r){if(r===null||!Pl(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Wn(r,arguments,en(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),tn(i,r)},Tr(e)}function ya(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function va(e){var t=ya();return function(){var r=en(e),i;if(t){var a=en(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return Vl(this,i)}}var Pr=console;function Mr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=Pr).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Ea(i)))}function ba(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=Pr).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Ea(i)))}function $l(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fr=function(e){ga(n,e);var t=va(n);function n(r){ha(this,n);var i;return i=t.call(this,r),i.name="\u{1F4A5} Driven Error",i.message=r?$l(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return n}(Tr(Error)),xl=function(e){ga(n,e);var t=va(n);function n(r){ha(this,n);var i;return i=t.call(this,r),i.name="\u{1F6A8} Driven Reference Error",i}return n}(Fr);function Vr(e){throw new Fr(e)}function Na(e){throw new xl(e)}function Wl(e){Pr.error(new Fr(e))}/*!
1
+ var x_=Object.defineProperty,W_=Object.defineProperties;var B_=Object.getOwnPropertyDescriptors;var Dl=Object.getOwnPropertySymbols,H_=Object.getPrototypeOf,p_=Object.prototype.hasOwnProperty,j_=Object.prototype.propertyIsEnumerable,q_=Reflect.get;var Cl=(I,te,re)=>te in I?x_(I,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):I[te]=re,Ze=(I,te)=>{for(var re in te||(te={}))p_.call(te,re)&&Cl(I,re,te[re]);if(Dl)for(var re of Dl(te))j_.call(te,re)&&Cl(I,re,te[re]);return I},Pt=(I,te)=>W_(I,B_(te));var ma=(I,te,re)=>q_(H_(I),re,te);var Ye=(I,te,re)=>new Promise((en,xn)=>{var et=Ve=>{try{Mt(re.next(Ve))}catch(pe){xn(pe)}},Wn=Ve=>{try{Mt(re.throw(Ve))}catch(pe){xn(pe)}},Mt=Ve=>Ve.done?en(Ve.value):Promise.resolve(Ve.value).then(et,Wn);Mt((re=re.apply(I,te)).next())});(function(I,te){typeof exports=="object"&&typeof module!="undefined"?te(exports):typeof define=="function"&&define.amd?define(["exports"],te):(I=typeof globalThis!="undefined"?globalThis:I||self,te(I.modelDrivenCore={}))})(this,function(I){"use strict";var te;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(te||(te={}));var re;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(re||(re={}));var en,xn=(en=window.localStorage.getItem("locale"))!==null&&en!==void 0?en:"zh-CN",et;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(et||(et={}));var Wn;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Wn||(Wn={}));var Mt;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(Mt||(Mt={}));var Ve;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(Ve||(Ve={}));var pe;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(pe||(pe={}));var _a;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(_a||(_a={}));var ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Rl=ha+"0123456789";function tt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?ha:Rl,i=Math.random()*r.length;t+=r[parseInt(String(i),10)]}return t}function Rr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tl(e){if(Array.isArray(e))return Rr(e)}function Pl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ga(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(e,t,n){return va()?Bn=Reflect.construct:Bn=function(i,a,s){var o=[null];o.push.apply(o,a);var l=Function.bind.apply(i,o),c=new l;return s&&nn(c,s.prototype),c},Bn.apply(null,arguments)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function Ea(e,t){if(typeof t!="function"&&t!==null)throw new 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&&nn(e,t)}function Ml(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Fl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vl(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function kl(e,t){return t&&(Ul(t)==="object"||typeof t=="function")?t:Pl(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},nn(e,t)}function ya(e){return Tl(e)||Fl(e)||$l(e)||Vl()}function Ul(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $l(e,t){if(!!e){if(typeof e=="string")return Rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rr(e,t)}}function Tr(e){var t=typeof Map=="function"?new Map:void 0;return Tr=function(r){if(r===null||!Ml(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Bn(r,arguments,tn(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),nn(i,r)},Tr(e)}function va(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ba(e){var t=va();return function(){var r=tn(e),i;if(t){var a=tn(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return kl(this,i)}}var Pr=console;function Mr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=Pr).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(ya(i)))}function Na(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t.slice(1);(r=Pr).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(ya(i)))}function xl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fr=function(e){Ea(n,e);var t=ba(n);function n(r){ga(this,n);var i;return i=t.call(this,r),i.name="\u{1F4A5} Driven Error",i.message=r?xl(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return n}(Tr(Error)),Wl=function(e){Ea(n,e);var t=ba(n);function n(r){ga(this,n);var i;return i=t.call(this,r),i.name="\u{1F6A8} Driven Reference Error",i}return n}(Fr);function Vr(e){throw new Fr(e)}function Ia(e){throw new Wl(e)}function Bl(e){Pr.error(new Fr(e))}/*!
2
2
  * shared v9.13.1
3
3
  * (c) 2024 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const Re=typeof window!="undefined";let Se,gt;if(process.env.NODE_ENV!=="production"){const e=Re&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Se=t=>{e.mark(t)},gt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Bl=/\{([0-9a-zA-Z]+)\}/g;function nn(e,...t){return t.length===1&&p(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Bl,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Te=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Hl=(e,t,n)=>pl({l:e,k:t,s:n}),pl=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),oe=e=>typeof e=="number"&&isFinite(e),jl=e=>wa(e)==="[object Date]",tt=e=>wa(e)==="[object RegExp]",Bn=e=>U(e)&&Object.keys(e).length===0,le=Object.assign;let Ia;const je=()=>Ia||(Ia=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Oa(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const ql=Object.prototype.hasOwnProperty;function Hn(e,t){return ql.call(e,t)}const Q=Array.isArray,X=e=>typeof e=="function",M=e=>typeof e=="string",$=e=>typeof e=="boolean",p=e=>e!==null&&typeof e=="object",Kl=e=>p(e)&&X(e.then)&&X(e.catch),Sa=Object.prototype.toString,wa=e=>Sa.call(e),U=e=>{if(!p(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Gl=e=>e==null?"":Q(e)||U(e)&&e.toString===Sa?JSON.stringify(e,null,2):String(e);function kr(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const La=2;function Xl(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const a=[];for(let s=0;s<r.length;s++)if(i+=r[s].length+1,i>=t){for(let o=s-La;o<=s+La||n>i;o++){if(o<0||o>=r.length)continue;const l=o+1;a.push(`${l}${" ".repeat(3-String(l).length)}| ${r[o]}`);const c=r[o].length;if(o===s){const _=t-(i-c)+1,f=Math.max(1,n>i?c-_:n-t);a.push(" | "+" ".repeat(_)+"^".repeat(f))}else if(o>s){if(n>i){const _=Math.max(Math.min(n-i,c),1);a.push(" | "+"^".repeat(_))}i+=c+1}}break}return a.join(`
6
- `)}function pn(e){let t=e;return()=>++t}function ce(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Aa={};function Da(e){Aa[e]||(Aa[e]=!0,ce(e))}function Ur(){const e=new Map;return{events:e,on(n,r){const i=e.get(n);i&&i.push(r)||e.set(n,[r])},off(n,r){const i=e.get(n);i&&i.splice(i.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(i=>i(r)),(e.get("*")||[]).slice().map(i=>i(n,r))}}}const jn=e=>!p(e)||Q(e);function qn(e,t){if(jn(e)||jn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(a=>{jn(r[a])||jn(i[a])?i[a]=r[a]:n.push({src:r[a],des:i[a]})})}}/*!
5
+ */const Ce=typeof window!="undefined";let Oe,Et;if(process.env.NODE_ENV!=="production"){const e=Ce&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Oe=t=>{e.mark(t)},Et=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Hl=/\{([0-9a-zA-Z]+)\}/g;function rn(e,...t){return t.length===1&&p(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Hl,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Re=(e,t=!1)=>t?Symbol.for(e):Symbol(e),pl=(e,t,n)=>jl({l:e,k:t,s:n}),jl=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),oe=e=>typeof e=="number"&&isFinite(e),ql=e=>La(e)==="[object Date]",nt=e=>La(e)==="[object RegExp]",Hn=e=>U(e)&&Object.keys(e).length===0,le=Object.assign;let Oa;const je=()=>Oa||(Oa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Sa(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Kl=Object.prototype.hasOwnProperty;function pn(e,t){return Kl.call(e,t)}const Q=Array.isArray,X=e=>typeof e=="function",M=e=>typeof e=="string",$=e=>typeof e=="boolean",p=e=>e!==null&&typeof e=="object",Gl=e=>p(e)&&X(e.then)&&X(e.catch),wa=Object.prototype.toString,La=e=>wa.call(e),U=e=>{if(!p(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Xl=e=>e==null?"":Q(e)||U(e)&&e.toString===wa?JSON.stringify(e,null,2):String(e);function kr(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const Aa=2;function Jl(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const a=[];for(let s=0;s<r.length;s++)if(i+=r[s].length+1,i>=t){for(let o=s-Aa;o<=s+Aa||n>i;o++){if(o<0||o>=r.length)continue;const l=o+1;a.push(`${l}${" ".repeat(3-String(l).length)}| ${r[o]}`);const c=r[o].length;if(o===s){const _=t-(i-c)+1,f=Math.max(1,n>i?c-_:n-t);a.push(" | "+" ".repeat(_)+"^".repeat(f))}else if(o>s){if(n>i){const _=Math.max(Math.min(n-i,c),1);a.push(" | "+"^".repeat(_))}i+=c+1}}break}return a.join(`
6
+ `)}function jn(e){let t=e;return()=>++t}function ce(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Da={};function Ca(e){Da[e]||(Da[e]=!0,ce(e))}function Ur(){const e=new Map;return{events:e,on(n,r){const i=e.get(n);i&&i.push(r)||e.set(n,[r])},off(n,r){const i=e.get(n);i&&i.splice(i.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(i=>i(r)),(e.get("*")||[]).slice().map(i=>i(n,r))}}}const qn=e=>!p(e)||Q(e);function Kn(e,t){if(qn(e)||qn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(a=>{qn(r[a])||qn(i[a])?i[a]=r[a]:n.push({src:r[a],des:i[a]})})}}/*!
7
7
  * message-compiler v9.13.1
8
8
  * (c) 2024 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function Jl(e,t,n){return{line:e,column:t,offset:n}}function Kn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Gn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Ql={[Gn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function zl(e,t,...n){const r=process.env.NODE_ENV!=="production"?nn(Ql[e]||"",...n||[]):e,i={message:String(r),code:e};return t&&(i.location=t),i}const V={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Zl={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ft(e,t,n={}){const{domain:r,messages:i,args:a}=n,s=process.env.NODE_ENV!=="production"?nn((i||Zl)[e]||"",...a||[]):e,o=new SyntaxError(String(s));return o.code=e,t&&(o.location=t),o.domain=r,o}function Yl(e){throw e}const ec=/<\/?[\w\s="/.':;#-\/]+>/,tc=e=>ec.test(e),qe=" ",nc="\r",_e=`
11
- `,rc=String.fromCharCode(8232),ic=String.fromCharCode(8233);function ac(e){const t=e;let n=0,r=1,i=1,a=0;const s=y=>t[y]===nc&&t[y+1]===_e,o=y=>t[y]===_e,l=y=>t[y]===ic,c=y=>t[y]===rc,_=y=>s(y)||o(y)||l(y)||c(y),f=()=>n,m=()=>r,S=()=>i,L=()=>a,v=y=>s(y)||l(y)||c(y)?_e:t[y],D=()=>v(n),g=()=>v(n+a);function O(){return a=0,_(n)&&(r++,i=0),s(n)&&n++,n++,i++,t[n]}function h(){return s(n+a)&&a++,a++,t[n+a]}function E(){n=0,r=1,i=1,a=0}function w(y=0){a=y}function N(){const y=n+a;for(;y!==n;)O();a=0}return{index:f,line:m,column:S,peekOffset:L,charAt:v,currentChar:D,currentPeek:g,next:O,peek:h,reset:E,resetPeek:w,skipToPeek:N}}const nt=void 0,sc=".",Ca="'",oc="tokenizer";function lc(e,t={}){const n=t.location!==!1,r=ac(e),i=()=>r.index(),a=()=>Jl(r.line(),r.column(),r.index()),s=a(),o=i(),l={currentType:14,offset:o,startLoc:s,endLoc:s,lastType:14,lastOffset:o,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:_}=t;function f(u,d,A,...F){const ee=c();if(d.column+=A,d.offset+=A,_){const J=n?Kn(ee.startLoc,d):null,G=Ft(u,J,{domain:oc,args:F});_(G)}}function m(u,d,A){u.endLoc=a(),u.currentType=d;const F={type:d};return n&&(F.loc=Kn(u.startLoc,u.endLoc)),A!=null&&(F.value=A),F}const S=u=>m(u,14);function L(u,d){return u.currentChar()===d?(u.next(),d):(f(V.EXPECTED_TOKEN,a(),0,d),"")}function v(u){let d="";for(;u.currentPeek()===qe||u.currentPeek()===_e;)d+=u.currentPeek(),u.peek();return d}function D(u){const d=v(u);return u.skipToPeek(),d}function g(u){if(u===nt)return!1;const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function O(u){if(u===nt)return!1;const d=u.charCodeAt(0);return d>=48&&d<=57}function h(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=g(u.currentPeek());return u.resetPeek(),F}function E(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=u.currentPeek()==="-"?u.peek():u.currentPeek(),ee=O(F);return u.resetPeek(),ee}function w(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=u.currentPeek()===Ca;return u.resetPeek(),F}function N(u,d){const{currentType:A}=d;if(A!==8)return!1;v(u);const F=u.currentPeek()===".";return u.resetPeek(),F}function y(u,d){const{currentType:A}=d;if(A!==9)return!1;v(u);const F=g(u.currentPeek());return u.resetPeek(),F}function C(u,d){const{currentType:A}=d;if(!(A===8||A===12))return!1;v(u);const F=u.currentPeek()===":";return u.resetPeek(),F}function T(u,d){const{currentType:A}=d;if(A!==10)return!1;const F=()=>{const J=u.currentPeek();return J==="{"?g(u.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===qe||!J?!1:J===_e?(u.peek(),F()):x(u,!1)},ee=F();return u.resetPeek(),ee}function j(u){v(u);const d=u.currentPeek()==="|";return u.resetPeek(),d}function ve(u){const d=v(u),A=u.currentPeek()==="%"&&u.peek()==="{";return u.resetPeek(),{isModulo:A,hasSpace:d.length>0}}function x(u,d=!0){const A=(ee=!1,J="",G=!1)=>{const b=u.currentPeek();return b==="{"?J==="%"?!1:ee:b==="@"||!b?J==="%"?!0:ee:b==="%"?(u.peek(),A(ee,"%",!0)):b==="|"?J==="%"||G?!0:!(J===qe||J===_e):b===qe?(u.peek(),A(!0,qe,G)):b===_e?(u.peek(),A(!0,_e,G)):!0},F=A();return d&&u.resetPeek(),F}function se(u,d){const A=u.currentChar();return A===nt?nt:d(A)?(u.next(),A):null}function De(u){const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function On(u){return se(u,De)}function He(u){const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function Sn(u){return se(u,He)}function wn(u){const d=u.charCodeAt(0);return d>=48&&d<=57}function Ln(u){return se(u,wn)}function An(u){const d=u.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function Dn(u){return se(u,An)}function Ce(u){let d="",A="";for(;d=Ln(u);)A+=d;return A}function Qt(u){D(u);const d=u.currentChar();return d!=="%"&&f(V.EXPECTED_TOKEN,a(),0,d),u.next(),"%"}function zt(u){let d="";for(;;){const A=u.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(x(u))d+=A,u.next();else break;else if(A===qe||A===_e)if(x(u))d+=A,u.next();else{if(j(u))break;d+=A,u.next()}else d+=A,u.next()}return d}function Cn(u){D(u);let d="",A="";for(;d=Sn(u);)A+=d;return u.currentChar()===nt&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A}function Rn(u){D(u);let d="";return u.currentChar()==="-"?(u.next(),d+=`-${Ce(u)}`):d+=Ce(u),u.currentChar()===nt&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),d}function Tn(u){return u!==Ca&&u!==_e}function Ar(u){D(u),L(u,"'");let d="",A="";for(;d=se(u,Tn);)d==="\\"?A+=Pn(u):A+=d;const F=u.currentChar();return F===_e||F===nt?(f(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),F===_e&&(u.next(),L(u,"'")),A):(L(u,"'"),A)}function Pn(u){const d=u.currentChar();switch(d){case"\\":case"'":return u.next(),`\\${d}`;case"u":return Zt(u,d,4);case"U":return Zt(u,d,6);default:return f(V.UNKNOWN_ESCAPE_SEQUENCE,a(),0,d),""}}function Zt(u,d,A){L(u,d);let F="";for(let ee=0;ee<A;ee++){const J=Dn(u);if(!J){f(V.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${d}${F}${u.currentChar()}`);break}F+=J}return`\\${d}${F}`}function Mn(u){return u!=="{"&&u!=="}"&&u!==qe&&u!==_e}function Fn(u){D(u);let d="",A="";for(;d=se(u,Mn);)A+=d;return A}function Vn(u){let d="",A="";for(;d=On(u);)A+=d;return A}function P(u){const d=A=>{const F=u.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===qe?A:(A+=F,u.next(),d(A))};return d("")}function q(u){D(u);const d=L(u,"|");return D(u),d}function kn(u,d){let A=null;switch(u.currentChar()){case"{":return d.braceNest>=1&&f(V.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),u.next(),A=m(d,2,"{"),D(u),d.braceNest++,A;case"}":return d.braceNest>0&&d.currentType===2&&f(V.EMPTY_PLACEHOLDER,a(),0),u.next(),A=m(d,3,"}"),d.braceNest--,d.braceNest>0&&D(u),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),A;case"@":return d.braceNest>0&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A=Ct(u,d)||S(d),d.braceNest=0,A;default:{let ee=!0,J=!0,G=!0;if(j(u))return d.braceNest>0&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,A;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(V.UNTERMINATED_CLOSING_BRACE,a(),0),d.braceNest=0,Un(u,d);if(ee=h(u,d))return A=m(d,5,Cn(u)),D(u),A;if(J=E(u,d))return A=m(d,6,Rn(u)),D(u),A;if(G=w(u,d))return A=m(d,7,Ar(u)),D(u),A;if(!ee&&!J&&!G)return A=m(d,13,Fn(u)),f(V.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,A.value),D(u),A;break}}return A}function Ct(u,d){const{currentType:A}=d;let F=null;const ee=u.currentChar();switch((A===8||A===9||A===12||A===10)&&(ee===_e||ee===qe)&&f(V.INVALID_LINKED_FORMAT,a(),0),ee){case"@":return u.next(),F=m(d,8,"@"),d.inLinked=!0,F;case".":return D(u),u.next(),m(d,9,".");case":":return D(u),u.next(),m(d,10,":");default:return j(u)?(F=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,F):N(u,d)||C(u,d)?(D(u),Ct(u,d)):y(u,d)?(D(u),m(d,12,Vn(u))):T(u,d)?(D(u),ee==="{"?kn(u,d)||F:m(d,11,P(u))):(A===8&&f(V.INVALID_LINKED_FORMAT,a(),0),d.braceNest=0,d.inLinked=!1,Un(u,d))}}function Un(u,d){let A={type:14};if(d.braceNest>0)return kn(u,d)||S(d);if(d.inLinked)return Ct(u,d)||S(d);switch(u.currentChar()){case"{":return kn(u,d)||S(d);case"}":return f(V.UNBALANCED_CLOSING_BRACE,a(),0),u.next(),m(d,3,"}");case"@":return Ct(u,d)||S(d);default:{if(j(u))return A=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,A;const{isModulo:ee,hasSpace:J}=ve(u);if(ee)return J?m(d,0,zt(u)):m(d,4,Qt(u));if(x(u))return m(d,0,zt(u));break}}return A}function da(){const{currentType:u,offset:d,startLoc:A,endLoc:F}=l;return l.lastType=u,l.lastOffset=d,l.lastStartLoc=A,l.lastEndLoc=F,l.offset=i(),l.startLoc=a(),r.currentChar()===nt?m(l,14):Un(r,l)}return{nextToken:da,currentOffset:i,currentPosition:a,context:c}}const cc="parser",uc=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fc(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function dc(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function i(h,E,w,N,...y){const C=h.currentPosition();if(C.offset+=N,C.column+=N,n){const T=t?Kn(w,C):null,j=Ft(E,T,{domain:cc,args:y});n(j)}}function a(h,E,w,N,...y){const C=h.currentPosition();if(C.offset+=N,C.column+=N,r){const T=t?Kn(w,C):null;r(zl(E,T,y))}}function s(h,E,w){const N={type:h};return t&&(N.start=E,N.end=E,N.loc={start:w,end:w}),N}function o(h,E,w,N){N&&(h.type=N),t&&(h.end=E,h.loc&&(h.loc.end=w))}function l(h,E){const w=h.context(),N=s(3,w.offset,w.startLoc);return N.value=E,o(N,h.currentOffset(),h.currentPosition()),N}function c(h,E){const w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(5,N,y);return C.index=parseInt(E,10),h.nextToken(),o(C,h.currentOffset(),h.currentPosition()),C}function _(h,E,w){const N=h.context(),{lastOffset:y,lastStartLoc:C}=N,T=s(4,y,C);return T.key=E,w===!0&&(T.modulo=!0),h.nextToken(),o(T,h.currentOffset(),h.currentPosition()),T}function f(h,E){const w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(9,N,y);return C.value=E.replace(uc,fc),h.nextToken(),o(C,h.currentOffset(),h.currentPosition()),C}function m(h){const E=h.nextToken(),w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(8,N,y);return E.type!==12?(i(h,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",o(C,N,y),{nextConsumeToken:E,node:C}):(E.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Pe(E)),C.value=E.value||"",o(C,h.currentOffset(),h.currentPosition()),{node:C})}function S(h,E){const w=h.context(),N=s(7,w.offset,w.startLoc);return N.value=E,o(N,h.currentOffset(),h.currentPosition()),N}function L(h){const E=h.context(),w=s(6,E.offset,E.startLoc);let N=h.nextToken();if(N.type===9){const y=m(h);w.modifier=y.node,N=y.nextConsumeToken||h.nextToken()}switch(N.type!==10&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(N)),N=h.nextToken(),N.type===2&&(N=h.nextToken()),N.type){case 11:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(N)),w.key=S(h,N.value||"");break;case 5:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(N)),w.key=_(h,N.value||"");break;case 6:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(N)),w.key=c(h,N.value||"");break;case 7:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(N)),w.key=f(h,N.value||"");break;default:{i(h,V.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const y=h.context(),C=s(7,y.offset,y.startLoc);return C.value="",o(C,y.offset,y.startLoc),w.key=C,o(w,y.offset,y.startLoc),{nextConsumeToken:N,node:w}}}return o(w,h.currentOffset(),h.currentPosition()),{node:w}}function v(h){const E=h.context(),w=E.currentType===1?h.currentOffset():E.offset,N=E.currentType===1?E.endLoc:E.startLoc,y=s(2,w,N);y.items=[];let C=null,T=null;do{const x=C||h.nextToken();switch(C=null,x.type){case 0:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(x)),y.items.push(l(h,x.value||""));break;case 6:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(x)),y.items.push(c(h,x.value||""));break;case 4:T=!0;break;case 5:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(x)),y.items.push(_(h,x.value||"",!!T)),T&&(a(h,Gn.USE_MODULO_SYNTAX,E.lastStartLoc,0,Pe(x)),T=null);break;case 7:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Pe(x)),y.items.push(f(h,x.value||""));break;case 8:{const se=L(h);y.items.push(se.node),C=se.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const j=E.currentType===1?E.lastOffset:h.currentOffset(),ve=E.currentType===1?E.lastEndLoc:h.currentPosition();return o(y,j,ve),y}function D(h,E,w,N){const y=h.context();let C=N.items.length===0;const T=s(1,E,w);T.cases=[],T.cases.push(N);do{const j=v(h);C||(C=j.items.length===0),T.cases.push(j)}while(y.currentType!==14);return C&&i(h,V.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),o(T,h.currentOffset(),h.currentPosition()),T}function g(h){const E=h.context(),{offset:w,startLoc:N}=E,y=v(h);return E.currentType===14?y:D(h,w,N,y)}function O(h){const E=lc(h,le({},e)),w=E.context(),N=s(0,w.offset,w.startLoc);return t&&N.loc&&(N.loc.source=h),N.body=g(E),e.onCacheKey&&(N.cacheKey=e.onCacheKey(h)),w.currentType!==14&&i(E,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,h[w.offset]||""),o(N,E.currentOffset(),E.currentPosition()),N}return{parse:O}}function Pe(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function mc(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ra(e,t){for(let n=0;n<e.length;n++)$r(e[n],t)}function $r(e,t){switch(e.type){case 1:Ra(e.cases,t),t.helper("plural");break;case 2:Ra(e.items,t);break;case 6:{$r(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function _c(e,t={}){const n=mc(e);n.helper("normalize"),e.body&&$r(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function hc(e){const t=e.body;return t.type===2?Ta(t):t.cases.forEach(n=>Ta(n)),e}function Ta(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=kr(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const gc="minifier";function Vt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Vt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Vt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Vt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Vt(t.key),t.k=t.key,delete t.key,t.modifier&&(Vt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Ft(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:gc,args:[e.type]})}delete e.type}const Ec="parser";function yc(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,s=t.location!==!1,o={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};s&&e.loc&&(o.source=e.loc.source);const l=()=>o;function c(D,g){o.code+=D}function _(D,g=!0){const O=g?i:"";c(a?O+" ".repeat(D):O)}function f(D=!0){const g=++o.indentLevel;D&&_(g)}function m(D=!0){const g=--o.indentLevel;D&&_(g)}function S(){_(o.indentLevel)}return{context:l,push:c,indent:f,deindent:m,newline:S,helper:D=>`_${D}`,needIndent:()=>o.needIndent}}function vc(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),kt(e,t.key),t.modifier?(e.push(", "),kt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function bc(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(kt(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Nc(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(kt(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Ic(e,t){t.body?kt(e,t.body):e.push("null")}function kt(e,t){const{helper:n}=e;switch(t.type){case 0:Ic(e,t);break;case 1:Nc(e,t);break;case 2:bc(e,t);break;case 6:vc(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Ft(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Ec,args:[t.type]})}}const Oc=(e,t={})=>{const n=M(t.mode)?t.mode:"normal",r=M(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
- `,s=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],l=yc(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),o.length>0&&(l.push(`const { ${kr(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),kt(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:_}=l.context();return{ast:e,code:c,map:_?_.toJSON():void 0}};function Sc(e,t={}){const n=le({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=dc(n).parse(e);return r?(a&&hc(o),i&&Vt(o),{ast:o,code:""}):(_c(o,n),Oc(o,n))}/*!
10
+ */function Ql(e,t,n){return{line:e,column:t,offset:n}}function Gn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Xn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},zl={[Xn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Zl(e,t,...n){const r=process.env.NODE_ENV!=="production"?rn(zl[e]||"",...n||[]):e,i={message:String(r),code:e};return t&&(i.location=t),i}const V={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Yl={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ft(e,t,n={}){const{domain:r,messages:i,args:a}=n,s=process.env.NODE_ENV!=="production"?rn((i||Yl)[e]||"",...a||[]):e,o=new SyntaxError(String(s));return o.code=e,t&&(o.location=t),o.domain=r,o}function ec(e){throw e}const tc=/<\/?[\w\s="/.':;#-\/]+>/,nc=e=>tc.test(e),qe=" ",rc="\r",_e=`
11
+ `,ic=String.fromCharCode(8232),ac=String.fromCharCode(8233);function sc(e){const t=e;let n=0,r=1,i=1,a=0;const s=y=>t[y]===rc&&t[y+1]===_e,o=y=>t[y]===_e,l=y=>t[y]===ac,c=y=>t[y]===ic,_=y=>s(y)||o(y)||l(y)||c(y),f=()=>n,m=()=>r,S=()=>i,L=()=>a,v=y=>s(y)||l(y)||c(y)?_e:t[y],D=()=>v(n),g=()=>v(n+a);function O(){return a=0,_(n)&&(r++,i=0),s(n)&&n++,n++,i++,t[n]}function h(){return s(n+a)&&a++,a++,t[n+a]}function E(){n=0,r=1,i=1,a=0}function w(y=0){a=y}function N(){const y=n+a;for(;y!==n;)O();a=0}return{index:f,line:m,column:S,peekOffset:L,charAt:v,currentChar:D,currentPeek:g,next:O,peek:h,reset:E,resetPeek:w,skipToPeek:N}}const rt=void 0,oc=".",Ra="'",lc="tokenizer";function cc(e,t={}){const n=t.location!==!1,r=sc(e),i=()=>r.index(),a=()=>Ql(r.line(),r.column(),r.index()),s=a(),o=i(),l={currentType:14,offset:o,startLoc:s,endLoc:s,lastType:14,lastOffset:o,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:_}=t;function f(u,d,A,...F){const ee=c();if(d.column+=A,d.offset+=A,_){const J=n?Gn(ee.startLoc,d):null,G=Ft(u,J,{domain:lc,args:F});_(G)}}function m(u,d,A){u.endLoc=a(),u.currentType=d;const F={type:d};return n&&(F.loc=Gn(u.startLoc,u.endLoc)),A!=null&&(F.value=A),F}const S=u=>m(u,14);function L(u,d){return u.currentChar()===d?(u.next(),d):(f(V.EXPECTED_TOKEN,a(),0,d),"")}function v(u){let d="";for(;u.currentPeek()===qe||u.currentPeek()===_e;)d+=u.currentPeek(),u.peek();return d}function D(u){const d=v(u);return u.skipToPeek(),d}function g(u){if(u===rt)return!1;const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function O(u){if(u===rt)return!1;const d=u.charCodeAt(0);return d>=48&&d<=57}function h(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=g(u.currentPeek());return u.resetPeek(),F}function E(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=u.currentPeek()==="-"?u.peek():u.currentPeek(),ee=O(F);return u.resetPeek(),ee}function w(u,d){const{currentType:A}=d;if(A!==2)return!1;v(u);const F=u.currentPeek()===Ra;return u.resetPeek(),F}function N(u,d){const{currentType:A}=d;if(A!==8)return!1;v(u);const F=u.currentPeek()===".";return u.resetPeek(),F}function y(u,d){const{currentType:A}=d;if(A!==9)return!1;v(u);const F=g(u.currentPeek());return u.resetPeek(),F}function C(u,d){const{currentType:A}=d;if(!(A===8||A===12))return!1;v(u);const F=u.currentPeek()===":";return u.resetPeek(),F}function T(u,d){const{currentType:A}=d;if(A!==10)return!1;const F=()=>{const J=u.currentPeek();return J==="{"?g(u.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===qe||!J?!1:J===_e?(u.peek(),F()):x(u,!1)},ee=F();return u.resetPeek(),ee}function j(u){v(u);const d=u.currentPeek()==="|";return u.resetPeek(),d}function ve(u){const d=v(u),A=u.currentPeek()==="%"&&u.peek()==="{";return u.resetPeek(),{isModulo:A,hasSpace:d.length>0}}function x(u,d=!0){const A=(ee=!1,J="",G=!1)=>{const b=u.currentPeek();return b==="{"?J==="%"?!1:ee:b==="@"||!b?J==="%"?!0:ee:b==="%"?(u.peek(),A(ee,"%",!0)):b==="|"?J==="%"||G?!0:!(J===qe||J===_e):b===qe?(u.peek(),A(!0,qe,G)):b===_e?(u.peek(),A(!0,_e,G)):!0},F=A();return d&&u.resetPeek(),F}function se(u,d){const A=u.currentChar();return A===rt?rt:d(A)?(u.next(),A):null}function Ae(u){const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function Sn(u){return se(u,Ae)}function He(u){const d=u.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function wn(u){return se(u,He)}function Ln(u){const d=u.charCodeAt(0);return d>=48&&d<=57}function An(u){return se(u,Ln)}function Dn(u){const d=u.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function Cn(u){return se(u,Dn)}function De(u){let d="",A="";for(;d=An(u);)A+=d;return A}function Qt(u){D(u);const d=u.currentChar();return d!=="%"&&f(V.EXPECTED_TOKEN,a(),0,d),u.next(),"%"}function zt(u){let d="";for(;;){const A=u.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(x(u))d+=A,u.next();else break;else if(A===qe||A===_e)if(x(u))d+=A,u.next();else{if(j(u))break;d+=A,u.next()}else d+=A,u.next()}return d}function Rn(u){D(u);let d="",A="";for(;d=wn(u);)A+=d;return u.currentChar()===rt&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A}function Tn(u){D(u);let d="";return u.currentChar()==="-"?(u.next(),d+=`-${De(u)}`):d+=De(u),u.currentChar()===rt&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),d}function Pn(u){return u!==Ra&&u!==_e}function Dr(u){D(u),L(u,"'");let d="",A="";for(;d=se(u,Pn);)d==="\\"?A+=Mn(u):A+=d;const F=u.currentChar();return F===_e||F===rt?(f(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),F===_e&&(u.next(),L(u,"'")),A):(L(u,"'"),A)}function Mn(u){const d=u.currentChar();switch(d){case"\\":case"'":return u.next(),`\\${d}`;case"u":return Zt(u,d,4);case"U":return Zt(u,d,6);default:return f(V.UNKNOWN_ESCAPE_SEQUENCE,a(),0,d),""}}function Zt(u,d,A){L(u,d);let F="";for(let ee=0;ee<A;ee++){const J=Cn(u);if(!J){f(V.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${d}${F}${u.currentChar()}`);break}F+=J}return`\\${d}${F}`}function Fn(u){return u!=="{"&&u!=="}"&&u!==qe&&u!==_e}function Vn(u){D(u);let d="",A="";for(;d=se(u,Fn);)A+=d;return A}function kn(u){let d="",A="";for(;d=Sn(u);)A+=d;return A}function P(u){const d=A=>{const F=u.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===qe?A:(A+=F,u.next(),d(A))};return d("")}function q(u){D(u);const d=L(u,"|");return D(u),d}function Un(u,d){let A=null;switch(u.currentChar()){case"{":return d.braceNest>=1&&f(V.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),u.next(),A=m(d,2,"{"),D(u),d.braceNest++,A;case"}":return d.braceNest>0&&d.currentType===2&&f(V.EMPTY_PLACEHOLDER,a(),0),u.next(),A=m(d,3,"}"),d.braceNest--,d.braceNest>0&&D(u),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),A;case"@":return d.braceNest>0&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A=Rt(u,d)||S(d),d.braceNest=0,A;default:{let ee=!0,J=!0,G=!0;if(j(u))return d.braceNest>0&&f(V.UNTERMINATED_CLOSING_BRACE,a(),0),A=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,A;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(V.UNTERMINATED_CLOSING_BRACE,a(),0),d.braceNest=0,$n(u,d);if(ee=h(u,d))return A=m(d,5,Rn(u)),D(u),A;if(J=E(u,d))return A=m(d,6,Tn(u)),D(u),A;if(G=w(u,d))return A=m(d,7,Dr(u)),D(u),A;if(!ee&&!J&&!G)return A=m(d,13,Vn(u)),f(V.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,A.value),D(u),A;break}}return A}function Rt(u,d){const{currentType:A}=d;let F=null;const ee=u.currentChar();switch((A===8||A===9||A===12||A===10)&&(ee===_e||ee===qe)&&f(V.INVALID_LINKED_FORMAT,a(),0),ee){case"@":return u.next(),F=m(d,8,"@"),d.inLinked=!0,F;case".":return D(u),u.next(),m(d,9,".");case":":return D(u),u.next(),m(d,10,":");default:return j(u)?(F=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,F):N(u,d)||C(u,d)?(D(u),Rt(u,d)):y(u,d)?(D(u),m(d,12,kn(u))):T(u,d)?(D(u),ee==="{"?Un(u,d)||F:m(d,11,P(u))):(A===8&&f(V.INVALID_LINKED_FORMAT,a(),0),d.braceNest=0,d.inLinked=!1,$n(u,d))}}function $n(u,d){let A={type:14};if(d.braceNest>0)return Un(u,d)||S(d);if(d.inLinked)return Rt(u,d)||S(d);switch(u.currentChar()){case"{":return Un(u,d)||S(d);case"}":return f(V.UNBALANCED_CLOSING_BRACE,a(),0),u.next(),m(d,3,"}");case"@":return Rt(u,d)||S(d);default:{if(j(u))return A=m(d,1,q(u)),d.braceNest=0,d.inLinked=!1,A;const{isModulo:ee,hasSpace:J}=ve(u);if(ee)return J?m(d,0,zt(u)):m(d,4,Qt(u));if(x(u))return m(d,0,zt(u));break}}return A}function da(){const{currentType:u,offset:d,startLoc:A,endLoc:F}=l;return l.lastType=u,l.lastOffset=d,l.lastStartLoc=A,l.lastEndLoc=F,l.offset=i(),l.startLoc=a(),r.currentChar()===rt?m(l,14):$n(r,l)}return{nextToken:da,currentOffset:i,currentPosition:a,context:c}}const uc="parser",fc=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function dc(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function mc(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function i(h,E,w,N,...y){const C=h.currentPosition();if(C.offset+=N,C.column+=N,n){const T=t?Gn(w,C):null,j=Ft(E,T,{domain:uc,args:y});n(j)}}function a(h,E,w,N,...y){const C=h.currentPosition();if(C.offset+=N,C.column+=N,r){const T=t?Gn(w,C):null;r(Zl(E,T,y))}}function s(h,E,w){const N={type:h};return t&&(N.start=E,N.end=E,N.loc={start:w,end:w}),N}function o(h,E,w,N){N&&(h.type=N),t&&(h.end=E,h.loc&&(h.loc.end=w))}function l(h,E){const w=h.context(),N=s(3,w.offset,w.startLoc);return N.value=E,o(N,h.currentOffset(),h.currentPosition()),N}function c(h,E){const w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(5,N,y);return C.index=parseInt(E,10),h.nextToken(),o(C,h.currentOffset(),h.currentPosition()),C}function _(h,E,w){const N=h.context(),{lastOffset:y,lastStartLoc:C}=N,T=s(4,y,C);return T.key=E,w===!0&&(T.modulo=!0),h.nextToken(),o(T,h.currentOffset(),h.currentPosition()),T}function f(h,E){const w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(9,N,y);return C.value=E.replace(fc,dc),h.nextToken(),o(C,h.currentOffset(),h.currentPosition()),C}function m(h){const E=h.nextToken(),w=h.context(),{lastOffset:N,lastStartLoc:y}=w,C=s(8,N,y);return E.type!==12?(i(h,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",o(C,N,y),{nextConsumeToken:E,node:C}):(E.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Te(E)),C.value=E.value||"",o(C,h.currentOffset(),h.currentPosition()),{node:C})}function S(h,E){const w=h.context(),N=s(7,w.offset,w.startLoc);return N.value=E,o(N,h.currentOffset(),h.currentPosition()),N}function L(h){const E=h.context(),w=s(6,E.offset,E.startLoc);let N=h.nextToken();if(N.type===9){const y=m(h);w.modifier=y.node,N=y.nextConsumeToken||h.nextToken()}switch(N.type!==10&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(N)),N=h.nextToken(),N.type===2&&(N=h.nextToken()),N.type){case 11:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(N)),w.key=S(h,N.value||"");break;case 5:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(N)),w.key=_(h,N.value||"");break;case 6:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(N)),w.key=c(h,N.value||"");break;case 7:N.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(N)),w.key=f(h,N.value||"");break;default:{i(h,V.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const y=h.context(),C=s(7,y.offset,y.startLoc);return C.value="",o(C,y.offset,y.startLoc),w.key=C,o(w,y.offset,y.startLoc),{nextConsumeToken:N,node:w}}}return o(w,h.currentOffset(),h.currentPosition()),{node:w}}function v(h){const E=h.context(),w=E.currentType===1?h.currentOffset():E.offset,N=E.currentType===1?E.endLoc:E.startLoc,y=s(2,w,N);y.items=[];let C=null,T=null;do{const x=C||h.nextToken();switch(C=null,x.type){case 0:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(x)),y.items.push(l(h,x.value||""));break;case 6:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(x)),y.items.push(c(h,x.value||""));break;case 4:T=!0;break;case 5:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(x)),y.items.push(_(h,x.value||"",!!T)),T&&(a(h,Xn.USE_MODULO_SYNTAX,E.lastStartLoc,0,Te(x)),T=null);break;case 7:x.value==null&&i(h,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Te(x)),y.items.push(f(h,x.value||""));break;case 8:{const se=L(h);y.items.push(se.node),C=se.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const j=E.currentType===1?E.lastOffset:h.currentOffset(),ve=E.currentType===1?E.lastEndLoc:h.currentPosition();return o(y,j,ve),y}function D(h,E,w,N){const y=h.context();let C=N.items.length===0;const T=s(1,E,w);T.cases=[],T.cases.push(N);do{const j=v(h);C||(C=j.items.length===0),T.cases.push(j)}while(y.currentType!==14);return C&&i(h,V.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),o(T,h.currentOffset(),h.currentPosition()),T}function g(h){const E=h.context(),{offset:w,startLoc:N}=E,y=v(h);return E.currentType===14?y:D(h,w,N,y)}function O(h){const E=cc(h,le({},e)),w=E.context(),N=s(0,w.offset,w.startLoc);return t&&N.loc&&(N.loc.source=h),N.body=g(E),e.onCacheKey&&(N.cacheKey=e.onCacheKey(h)),w.currentType!==14&&i(E,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,h[w.offset]||""),o(N,E.currentOffset(),E.currentPosition()),N}return{parse:O}}function Te(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function _c(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Ta(e,t){for(let n=0;n<e.length;n++)$r(e[n],t)}function $r(e,t){switch(e.type){case 1:Ta(e.cases,t),t.helper("plural");break;case 2:Ta(e.items,t);break;case 6:{$r(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function hc(e,t={}){const n=_c(e);n.helper("normalize"),e.body&&$r(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function gc(e){const t=e.body;return t.type===2?Pa(t):t.cases.forEach(n=>Pa(n)),e}function Pa(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=kr(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Ec="minifier";function Vt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Vt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Vt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Vt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Vt(t.key),t.k=t.key,delete t.key,t.modifier&&(Vt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Ft(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ec,args:[e.type]})}delete e.type}const yc="parser";function vc(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,s=t.location!==!1,o={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};s&&e.loc&&(o.source=e.loc.source);const l=()=>o;function c(D,g){o.code+=D}function _(D,g=!0){const O=g?i:"";c(a?O+" ".repeat(D):O)}function f(D=!0){const g=++o.indentLevel;D&&_(g)}function m(D=!0){const g=--o.indentLevel;D&&_(g)}function S(){_(o.indentLevel)}return{context:l,push:c,indent:f,deindent:m,newline:S,helper:D=>`_${D}`,needIndent:()=>o.needIndent}}function bc(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),kt(e,t.key),t.modifier?(e.push(", "),kt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Nc(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(kt(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function Ic(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(kt(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function Oc(e,t){t.body?kt(e,t.body):e.push("null")}function kt(e,t){const{helper:n}=e;switch(t.type){case 0:Oc(e,t);break;case 1:Ic(e,t);break;case 2:Nc(e,t);break;case 6:bc(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Ft(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:yc,args:[t.type]})}}const Sc=(e,t={})=>{const n=M(t.mode)?t.mode:"normal",r=M(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
+ `,s=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],l=vc(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),o.length>0&&(l.push(`const { ${kr(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),kt(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:_}=l.context();return{ast:e,code:c,map:_?_.toJSON():void 0}};function wc(e,t={}){const n=le({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=mc(n).parse(e);return r?(a&&gc(o),i&&Vt(o),{ast:o,code:""}):(hc(o,n),Sc(o,n))}/*!
13
13
  * core-base v9.13.1
14
14
  * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function wc(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const rt=[];rt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},rt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},rt[2]={w:[2],i:[3,0],[0]:[3,0]},rt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},rt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},rt[5]={["'"]:[4,0],o:8,l:[5,0]},rt[6]={['"']:[4,0],o:8,l:[6,0]};const Lc=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ac(e){return Lc.test(e)}function Dc(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Cc(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Rc(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ac(t)?Dc(t):"*"+t}function Tc(e){const t=[];let n=-1,r=0,i=0,a,s,o,l,c,_,f;const m=[];m[0]=()=>{s===void 0?s=o:s+=o},m[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},m[2]=()=>{m[0](),i++},m[3]=()=>{if(i>0)i--,r=4,m[0]();else{if(i=0,s===void 0||(s=Rc(s),s===!1))return!1;m[1]()}};function S(){const L=e[n+1];if(r===5&&L==="'"||r===6&&L==='"')return n++,o="\\"+L,m[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&S())){if(l=Cc(a),f=rt[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(_=m[c[1]],_&&(o=a,_()===!1))))return;if(r===7)return t}}const Pa=new Map;function Pc(e,t){return p(e)?e[t]:null}function Mc(e,t){if(!p(e))return null;let n=Pa.get(t);if(n||(n=Tc(t),n&&Pa.set(t,n)),!n)return null;const r=n.length;let i=e,a=0;for(;a<r;){const s=i[n[a]];if(s===void 0||X(i))return null;i=s,a++}return i}const Fc=e=>e,Vc=e=>"",kc="text",Uc=e=>e.length===0?"":kr(e),$c=Gl;function Ma(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xc(e){const t=oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(oe(e.named.count)||oe(e.named.n))?oe(e.named.count)?e.named.count:oe(e.named.n)?e.named.n:t:t}function Wc(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Bc(e={}){const t=e.locale,n=xc(e),r=p(e.pluralRules)&&M(t)&&X(e.pluralRules[t])?e.pluralRules[t]:Ma,i=p(e.pluralRules)&&M(t)&&X(e.pluralRules[t])?Ma:void 0,a=g=>g[r(n,g.length,i)],s=e.list||[],o=g=>s[g],l=e.named||{};oe(e.pluralIndex)&&Wc(n,l);const c=g=>l[g];function _(g){const O=X(e.messages)?e.messages(g):p(e.messages)?e.messages[g]:!1;return O||(e.parent?e.parent.message(g):Vc)}const f=g=>e.modifiers?e.modifiers[g]:Fc,m=U(e.processor)&&X(e.processor.normalize)?e.processor.normalize:Uc,S=U(e.processor)&&X(e.processor.interpolate)?e.processor.interpolate:$c,L=U(e.processor)&&M(e.processor.type)?e.processor.type:kc,D={list:o,named:c,plural:a,linked:(g,...O)=>{const[h,E]=O;let w="text",N="";O.length===1?p(h)?(N=h.modifier||N,w=h.type||w):M(h)&&(N=h||N):O.length===2&&(M(h)&&(N=h||N),M(E)&&(w=E||w));const y=_(g)(D),C=w==="vnode"&&Q(y)&&N?y[0]:y;return N?f(N)(C,w):C},message:_,type:L,interpolate:S,normalize:m,values:le({},s,l)};return D}let rn=null;function Hc(e){rn=e}function pc(e,t,n){rn&&rn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jc=qc("function:translate");function qc(e){return t=>rn&&rn.emit(e,t)}const Fa=Gn.__EXTEND_POINT__,Et=pn(Fa),he={NOT_FOUND_KEY:Fa,FALLBACK_TO_TRANSLATE:Et(),CANNOT_FORMAT_NUMBER:Et(),FALLBACK_TO_NUMBER_FORMAT:Et(),CANNOT_FORMAT_DATE:Et(),FALLBACK_TO_DATE_FORMAT:Et(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Et(),__EXTEND_POINT__:Et()},Kc={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function yt(e,...t){return nn(Kc[e],...t)}const Va=V.__EXTEND_POINT__,vt=pn(Va),de={INVALID_ARGUMENT:Va,INVALID_DATE_ARGUMENT:vt(),INVALID_ISO_DATE_ARGUMENT:vt(),NOT_SUPPORT_NON_STRING_MESSAGE:vt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:vt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:vt(),NOT_SUPPORT_LOCALE_TYPE:vt(),__EXTEND_POINT__:vt()};function ke(e){return Ft(e,null,process.env.NODE_ENV!=="production"?{messages:Gc}:void 0)}const Gc={[de.INVALID_ARGUMENT]:"Invalid arguments",[de.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[de.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[de.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[de.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[de.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function xr(e,t){return t.locale!=null?ka(t.locale):ka(e.locale)}let Wr;function ka(e){if(M(e))return e;if(X(e)){if(e.resolvedOnce&&Wr!=null)return Wr;if(e.constructor.name==="Function"){const t=e();if(Kl(t))throw ke(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wr=t}else throw ke(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ke(de.NOT_SUPPORT_LOCALE_TYPE)}function Xc(e,t,n){return[...new Set([n,...Q(t)?t:p(t)?Object.keys(t):M(t)?[t]:[n]])]}function Ua(e,t,n){const r=M(n)?n:Ut,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;Q(s);)s=$a(a,s,t);const o=Q(t)||!U(t)?t:t.default?t.default:null;s=M(o)?[o]:o,Q(s)&&$a(a,s,!1),i.__localeChainCache.set(r,a)}return a}function $a(e,t,n){let r=!0;for(let i=0;i<t.length&&$(r);i++){const a=t[i];M(a)&&(r=Jc(e,t[i],n))}return r}function Jc(e,t,n){let r;const i=t.split("-");do{const a=i.join("-");r=Qc(e,a,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function Qc(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(Q(n)||U(n))&&n[i]&&(r=n[i])}return r}const zc="9.13.1",Xn=-1,Ut="en-US",Jn="",xa=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Zc(){return{upper:(e,t)=>t==="text"&&M(e)?e.toUpperCase():t==="vnode"&&p(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&M(e)?e.toLowerCase():t==="vnode"&&p(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&M(e)?xa(e):t==="vnode"&&p(e)&&"__v_isVNode"in e?xa(e.children):e}}let Wa;function Ba(e){Wa=e}let Ha;function Yc(e){Ha=e}let pa;function eu(e){pa=e}let ja=null;const qa=e=>{ja=e},tu=()=>ja;let Ka=null;const Ga=e=>{Ka=e},nu=()=>Ka;let Xa=0;function ru(e={}){const t=X(e.onWarn)?e.onWarn:ce,n=M(e.version)?e.version:zc,r=M(e.locale)||X(e.locale)?e.locale:Ut,i=X(r)?Ut:r,a=Q(e.fallbackLocale)||U(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,s=U(e.messages)?e.messages:{[i]:{}},o=U(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=U(e.numberFormats)?e.numberFormats:{[i]:{}},c=le({},e.modifiers||{},Zc()),_=e.pluralRules||{},f=X(e.missing)?e.missing:null,m=$(e.missingWarn)||tt(e.missingWarn)?e.missingWarn:!0,S=$(e.fallbackWarn)||tt(e.fallbackWarn)?e.fallbackWarn:!0,L=!!e.fallbackFormat,v=!!e.unresolving,D=X(e.postTranslation)?e.postTranslation:null,g=U(e.processor)?e.processor:null,O=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,E=X(e.messageCompiler)?e.messageCompiler:Wa;process.env.NODE_ENV!=="production"&&!0&&!0&&X(e.messageCompiler)&&Da(yt(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=X(e.messageResolver)?e.messageResolver:Ha||Pc,N=X(e.localeFallbacker)?e.localeFallbacker:pa||Xc,y=p(e.fallbackContext)?e.fallbackContext:void 0,C=e,T=p(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,j=p(C.__numberFormatters)?C.__numberFormatters:new Map,ve=p(C.__meta)?C.__meta:{};Xa++;const x={version:n,cid:Xa,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:_,missing:f,missingWarn:m,fallbackWarn:S,fallbackFormat:L,unresolving:v,postTranslation:D,processor:g,warnHtmlMessage:O,escapeParameter:h,messageCompiler:E,messageResolver:w,localeFallbacker:N,fallbackContext:y,onWarn:t,__meta:ve};return x.datetimeFormats=o,x.numberFormats=l,x.__datetimeFormatters=T,x.__numberFormatters=j,process.env.NODE_ENV!=="production"&&(x.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&pc(x,n,ve),x}function Qn(e,t){return e instanceof RegExp?e.test(t):e}function Ja(e,t){return e instanceof RegExp?e.test(t):e}function Br(e,t,n,r,i){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){const o=a(e,n,t,i);return M(o)?o:t}else return process.env.NODE_ENV!=="production"&&Ja(r,t)&&s(yt(he.NOT_FOUND_KEY,{key:t,locale:n})),t}function an(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Qa(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function iu(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Qa(e,t[r]))return!0;return!1}function Hr(e){return n=>au(n,e)}function au(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,i=r.c||r.cases;return e.plural(i.reduce((a,s)=>[...a,za(e,s)],[]))}else return za(e,n)}function za(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((i,a)=>[...i,pr(e,a)],[]);return e.normalize(r)}}function pr(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,i=r.m||r.modifier;return e.linked(pr(e,r.k||r.key),i?pr(e,i):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const su="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Za(e,t){t&&tc(e)&&ce(nn(su,{source:e}))}const Ya=e=>e;let $t=Object.create(null);function es(e){e.code===Gn.USE_MODULO_SYNTAX&&ce(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
16
+ */function Lc(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const it=[];it[0]={w:[0],i:[3,0],["["]:[4],o:[7]},it[1]={w:[1],["."]:[2],["["]:[4],o:[7]},it[2]={w:[2],i:[3,0],[0]:[3,0]},it[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},it[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},it[5]={["'"]:[4,0],o:8,l:[5,0]},it[6]={['"']:[4,0],o:8,l:[6,0]};const Ac=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Dc(e){return Ac.test(e)}function Cc(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Rc(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Tc(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Dc(t)?Cc(t):"*"+t}function Pc(e){const t=[];let n=-1,r=0,i=0,a,s,o,l,c,_,f;const m=[];m[0]=()=>{s===void 0?s=o:s+=o},m[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},m[2]=()=>{m[0](),i++},m[3]=()=>{if(i>0)i--,r=4,m[0]();else{if(i=0,s===void 0||(s=Tc(s),s===!1))return!1;m[1]()}};function S(){const L=e[n+1];if(r===5&&L==="'"||r===6&&L==='"')return n++,o="\\"+L,m[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&S())){if(l=Rc(a),f=it[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(_=m[c[1]],_&&(o=a,_()===!1))))return;if(r===7)return t}}const Ma=new Map;function Mc(e,t){return p(e)?e[t]:null}function Fc(e,t){if(!p(e))return null;let n=Ma.get(t);if(n||(n=Pc(t),n&&Ma.set(t,n)),!n)return null;const r=n.length;let i=e,a=0;for(;a<r;){const s=i[n[a]];if(s===void 0||X(i))return null;i=s,a++}return i}const Vc=e=>e,kc=e=>"",Uc="text",$c=e=>e.length===0?"":kr(e),xc=Xl;function Fa(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Wc(e){const t=oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(oe(e.named.count)||oe(e.named.n))?oe(e.named.count)?e.named.count:oe(e.named.n)?e.named.n:t:t}function Bc(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hc(e={}){const t=e.locale,n=Wc(e),r=p(e.pluralRules)&&M(t)&&X(e.pluralRules[t])?e.pluralRules[t]:Fa,i=p(e.pluralRules)&&M(t)&&X(e.pluralRules[t])?Fa:void 0,a=g=>g[r(n,g.length,i)],s=e.list||[],o=g=>s[g],l=e.named||{};oe(e.pluralIndex)&&Bc(n,l);const c=g=>l[g];function _(g){const O=X(e.messages)?e.messages(g):p(e.messages)?e.messages[g]:!1;return O||(e.parent?e.parent.message(g):kc)}const f=g=>e.modifiers?e.modifiers[g]:Vc,m=U(e.processor)&&X(e.processor.normalize)?e.processor.normalize:$c,S=U(e.processor)&&X(e.processor.interpolate)?e.processor.interpolate:xc,L=U(e.processor)&&M(e.processor.type)?e.processor.type:Uc,D={list:o,named:c,plural:a,linked:(g,...O)=>{const[h,E]=O;let w="text",N="";O.length===1?p(h)?(N=h.modifier||N,w=h.type||w):M(h)&&(N=h||N):O.length===2&&(M(h)&&(N=h||N),M(E)&&(w=E||w));const y=_(g)(D),C=w==="vnode"&&Q(y)&&N?y[0]:y;return N?f(N)(C,w):C},message:_,type:L,interpolate:S,normalize:m,values:le({},s,l)};return D}let an=null;function pc(e){an=e}function jc(e,t,n){an&&an.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const qc=Kc("function:translate");function Kc(e){return t=>an&&an.emit(e,t)}const Va=Xn.__EXTEND_POINT__,yt=jn(Va),he={NOT_FOUND_KEY:Va,FALLBACK_TO_TRANSLATE:yt(),CANNOT_FORMAT_NUMBER:yt(),FALLBACK_TO_NUMBER_FORMAT:yt(),CANNOT_FORMAT_DATE:yt(),FALLBACK_TO_DATE_FORMAT:yt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:yt(),__EXTEND_POINT__:yt()},Gc={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function vt(e,...t){return rn(Gc[e],...t)}const ka=V.__EXTEND_POINT__,bt=jn(ka),de={INVALID_ARGUMENT:ka,INVALID_DATE_ARGUMENT:bt(),INVALID_ISO_DATE_ARGUMENT:bt(),NOT_SUPPORT_NON_STRING_MESSAGE:bt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:bt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:bt(),NOT_SUPPORT_LOCALE_TYPE:bt(),__EXTEND_POINT__:bt()};function ke(e){return Ft(e,null,process.env.NODE_ENV!=="production"?{messages:Xc}:void 0)}const Xc={[de.INVALID_ARGUMENT]:"Invalid arguments",[de.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[de.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[de.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[de.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[de.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function xr(e,t){return t.locale!=null?Ua(t.locale):Ua(e.locale)}let Wr;function Ua(e){if(M(e))return e;if(X(e)){if(e.resolvedOnce&&Wr!=null)return Wr;if(e.constructor.name==="Function"){const t=e();if(Gl(t))throw ke(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wr=t}else throw ke(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ke(de.NOT_SUPPORT_LOCALE_TYPE)}function Jc(e,t,n){return[...new Set([n,...Q(t)?t:p(t)?Object.keys(t):M(t)?[t]:[n]])]}function $a(e,t,n){const r=M(n)?n:Ut,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;Q(s);)s=xa(a,s,t);const o=Q(t)||!U(t)?t:t.default?t.default:null;s=M(o)?[o]:o,Q(s)&&xa(a,s,!1),i.__localeChainCache.set(r,a)}return a}function xa(e,t,n){let r=!0;for(let i=0;i<t.length&&$(r);i++){const a=t[i];M(a)&&(r=Qc(e,t[i],n))}return r}function Qc(e,t,n){let r;const i=t.split("-");do{const a=i.join("-");r=zc(e,a,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function zc(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(Q(n)||U(n))&&n[i]&&(r=n[i])}return r}const Zc="9.13.1",Jn=-1,Ut="en-US",Qn="",Wa=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Yc(){return{upper:(e,t)=>t==="text"&&M(e)?e.toUpperCase():t==="vnode"&&p(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&M(e)?e.toLowerCase():t==="vnode"&&p(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&M(e)?Wa(e):t==="vnode"&&p(e)&&"__v_isVNode"in e?Wa(e.children):e}}let Ba;function Ha(e){Ba=e}let pa;function eu(e){pa=e}let ja;function tu(e){ja=e}let qa=null;const Ka=e=>{qa=e},nu=()=>qa;let Ga=null;const Xa=e=>{Ga=e},ru=()=>Ga;let Ja=0;function iu(e={}){const t=X(e.onWarn)?e.onWarn:ce,n=M(e.version)?e.version:Zc,r=M(e.locale)||X(e.locale)?e.locale:Ut,i=X(r)?Ut:r,a=Q(e.fallbackLocale)||U(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,s=U(e.messages)?e.messages:{[i]:{}},o=U(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=U(e.numberFormats)?e.numberFormats:{[i]:{}},c=le({},e.modifiers||{},Yc()),_=e.pluralRules||{},f=X(e.missing)?e.missing:null,m=$(e.missingWarn)||nt(e.missingWarn)?e.missingWarn:!0,S=$(e.fallbackWarn)||nt(e.fallbackWarn)?e.fallbackWarn:!0,L=!!e.fallbackFormat,v=!!e.unresolving,D=X(e.postTranslation)?e.postTranslation:null,g=U(e.processor)?e.processor:null,O=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,E=X(e.messageCompiler)?e.messageCompiler:Ba;process.env.NODE_ENV!=="production"&&!0&&!0&&X(e.messageCompiler)&&Ca(vt(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=X(e.messageResolver)?e.messageResolver:pa||Mc,N=X(e.localeFallbacker)?e.localeFallbacker:ja||Jc,y=p(e.fallbackContext)?e.fallbackContext:void 0,C=e,T=p(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,j=p(C.__numberFormatters)?C.__numberFormatters:new Map,ve=p(C.__meta)?C.__meta:{};Ja++;const x={version:n,cid:Ja,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:_,missing:f,missingWarn:m,fallbackWarn:S,fallbackFormat:L,unresolving:v,postTranslation:D,processor:g,warnHtmlMessage:O,escapeParameter:h,messageCompiler:E,messageResolver:w,localeFallbacker:N,fallbackContext:y,onWarn:t,__meta:ve};return x.datetimeFormats=o,x.numberFormats=l,x.__datetimeFormatters=T,x.__numberFormatters=j,process.env.NODE_ENV!=="production"&&(x.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&jc(x,n,ve),x}function zn(e,t){return e instanceof RegExp?e.test(t):e}function Qa(e,t){return e instanceof RegExp?e.test(t):e}function Br(e,t,n,r,i){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){const o=a(e,n,t,i);return M(o)?o:t}else return process.env.NODE_ENV!=="production"&&Qa(r,t)&&s(vt(he.NOT_FOUND_KEY,{key:t,locale:n})),t}function sn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function za(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function au(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(za(e,t[r]))return!0;return!1}function Hr(e){return n=>su(n,e)}function su(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,i=r.c||r.cases;return e.plural(i.reduce((a,s)=>[...a,Za(e,s)],[]))}else return Za(e,n)}function Za(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((i,a)=>[...i,pr(e,a)],[]);return e.normalize(r)}}function pr(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,i=r.m||r.modifier;return e.linked(pr(e,r.k||r.key),i?pr(e,i):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const ou="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ya(e,t){t&&nc(e)&&ce(rn(ou,{source:e}))}const es=e=>e;let $t=Object.create(null);function ts(e){e.code===Xn.USE_MODULO_SYNTAX&&ce(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
17
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${e.message})`)}const it=e=>p(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ts(e,t={}){let n=!1;const r=t.onError||Yl;return t.onError=i=>{n=!0,r(i)},Tt(Ze({},Sc(e,t)),{detectError:n})}const ou=(e,t)=>{if(!M(e))throw ke(de.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=es);{const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Za(e,n);const i=(t.onCacheKey||Ya)(e),a=$t[i];if(a)return a;const{code:s,detectError:o}=ts(e,t),l=new Function(`return ${s}`)();return o?l:$t[i]=l}};function lu(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=es),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(e)){const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Za(e,n);const i=(t.onCacheKey||Ya)(e),a=$t[i];if(a)return a;const{ast:s,detectError:o}=ts(e,Tt(Ze({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),l=Hr(s);return o?l:$t[i]=l}else{if(process.env.NODE_ENV!=="production"&&!it(e))return ce(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=$t[n];return r||($t[n]=Hr(e))}else return Hr(e)}}const ns=()=>"",Le=e=>X(e);function rs(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:s,messages:o}=e,[l,c]=jr(...t),_=$(c.missingWarn)?c.missingWarn:e.missingWarn,f=$(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=$(c.escapeParameter)?c.escapeParameter:e.escapeParameter,S=!!c.resolvedMessage,L=M(c.default)||$(c.default)?$(c.default)?a?l:()=>l:c.default:n?a?l:()=>l:"",v=n||L!=="",D=xr(e,c);m&&cu(c);let[g,O,h]=S?[l,D,o[D]||{}]:is(e,l,D,s,f,_),E=g,w=l;if(!S&&!(M(E)||it(E)||Le(E))&&v&&(E=L,w=E),!S&&(!(M(E)||it(E)||Le(E))||!M(O)))return i?Xn:l;if(process.env.NODE_ENV!=="production"&&M(E)&&e.messageCompiler==null)return ce(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let N=!1;const y=()=>{N=!0},C=Le(E)?E:as(e,l,O,E,w,y);if(N)return E;const T=mu(e,O,h,c),j=Bc(T),ve=uu(e,C,j),x=r?r(ve,l):ve;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:M(l)?l:Le(E)?E.key:"",locale:O||(Le(E)?E.locale:""),format:M(E)?E:Le(E)?E.source:"",message:x};se.meta=le({},e.__meta,tu()||{}),jc(se)}return x}function cu(e){Q(e.list)?e.list=e.list.map(t=>M(t)?Oa(t):t):p(e.named)&&Object.keys(e.named).forEach(t=>{M(e.named[t])&&(e.named[t]=Oa(e.named[t]))})}function is(e,t,n,r,i,a){const{messages:s,onWarn:o,messageResolver:l,localeFallbacker:c}=e,_=c(e,r,n);let f={},m,S=null,L=n,v=null;const D="translate";for(let g=0;g<_.length;g++){if(m=v=_[g],process.env.NODE_ENV!=="production"&&n!==m&&!Qa(n,m)&&Qn(i,t)&&o(yt(he.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const w=e.__v_emitter;w&&w.emit("fallback",{type:D,key:t,from:L,to:v,groupId:`${D}:${t}`})}f=s[m]||{};let O=null,h,E;if(process.env.NODE_ENV!=="production"&&Re&&(O=window.performance.now(),h="intlify-message-resolve-start",E="intlify-message-resolve-end",Se&&Se(h)),(S=l(f,t))===null&&(S=f[t]),process.env.NODE_ENV!=="production"&&Re){const w=window.performance.now(),N=e.__v_emitter;N&&O&&S&&N.emit("message-resolve",{type:"message-resolve",key:t,message:S,time:w-O,groupId:`${D}:${t}`}),h&&E&&Se&&gt&&(Se(E),gt("intlify message resolve",h,E))}if(M(S)||it(S)||Le(S))break;if(!iu(m,_)){const w=Br(e,t,m,a,D);w!==t&&(S=w)}L=v}return[S,m,f]}function as(e,t,n,r,i,a){const{messageCompiler:s,warnHtmlMessage:o}=e;if(Le(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(s==null){const m=()=>r;return m.locale=n,m.key=t,m}let l=null,c,_;process.env.NODE_ENV!=="production"&&Re&&(l=window.performance.now(),c="intlify-message-compilation-start",_="intlify-message-compilation-end",Se&&Se(c));const f=s(r,fu(e,n,i,r,o,a));if(process.env.NODE_ENV!=="production"&&Re){const m=window.performance.now(),S=e.__v_emitter;S&&l&&S.emit("message-compilation",{type:"message-compilation",message:r,time:m-l,groupId:`translate:${t}`}),c&&_&&Se&&gt&&(Se(_),gt("intlify message compilation",c,_))}return f.locale=n,f.key=t,f.source=r,f}function uu(e,t,n){let r=null,i,a;process.env.NODE_ENV!=="production"&&Re&&(r=window.performance.now(),i="intlify-message-evaluation-start",a="intlify-message-evaluation-end",Se&&Se(i));const s=t(n);if(process.env.NODE_ENV!=="production"&&Re){const o=window.performance.now(),l=e.__v_emitter;l&&r&&l.emit("message-evaluation",{type:"message-evaluation",value:s,time:o-r,groupId:`translate:${t.key}`}),i&&a&&Se&&gt&&(Se(a),gt("intlify message evaluation",i,a))}return s}function jr(...e){const[t,n,r]=e,i={};if(!M(t)&&!oe(t)&&!Le(t)&&!it(t))throw ke(de.INVALID_ARGUMENT);const a=oe(t)?String(t):(Le(t),t);return oe(n)?i.plural=n:M(n)?i.default=n:U(n)&&!Bn(n)?i.named=n:Q(n)&&(i.list=n),oe(r)?i.plural=r:M(r)?i.default=r:U(r)&&le(i,r),[a,i]}function fu(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const o=du(r),l=`Message compilation error: ${s.message}`,c=s.location&&o&&Xl(o,s.location.start.offset,s.location.end.offset),_=e.__v_emitter;_&&o&&_.emit("compile-error",{message:o,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}
19
- ${c}`:l)}else throw s},onCacheKey:s=>Hl(t,n,s)}}function du(e){if(M(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function mu(e,t,n,r){const{modifiers:i,pluralRules:a,messageResolver:s,fallbackLocale:o,fallbackWarn:l,missingWarn:c,fallbackContext:_}=e,m={locale:t,modifiers:i,pluralRules:a,messages:S=>{let L=s(n,S);if(L==null&&_){const[,,v]=is(_,S,t,o,l,c);L=s(v,S)}if(M(L)||it(L)){let v=!1;const g=as(e,S,t,L,S,()=>{v=!0});return v?ns:g}else return Le(L)?L:ns}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),oe(r.plural)&&(m.pluralIndex=r.plural),m}const ss=typeof Intl!="undefined",os={dateTimeFormat:ss&&typeof Intl.DateTimeFormat!="undefined",numberFormat:ss&&typeof Intl.NumberFormat!="undefined"};function ls(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!os.dateTimeFormat)return a(yt(he.CANNOT_FORMAT_DATE)),Jn;const[l,c,_,f]=qr(...t),m=$(_.missingWarn)?_.missingWarn:e.missingWarn,S=$(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,L=!!_.part,v=xr(e,_),D=s(e,i,v);if(!M(l)||l==="")return new Intl.DateTimeFormat(v,f).format(c);let g={},O,h=null,E=v,w=null;const N="datetime format";for(let T=0;T<D.length;T++){if(O=w=D[T],process.env.NODE_ENV!=="production"&&v!==O&&Qn(S,l)&&a(yt(he.FALLBACK_TO_DATE_FORMAT,{key:l,target:O})),process.env.NODE_ENV!=="production"&&v!==O){const j=e.__v_emitter;j&&j.emit("fallback",{type:N,key:l,from:E,to:w,groupId:`${N}:${l}`})}if(g=n[O]||{},h=g[l],U(h))break;Br(e,l,O,m,N),E=w}if(!U(h)||!M(O))return r?Xn:l;let y=`${O}__${l}`;Bn(f)||(y=`${y}__${JSON.stringify(f)}`);let C=o.get(y);return C||(C=new Intl.DateTimeFormat(O,le({},h,f)),o.set(y,C)),L?C.formatToParts(c):C.format(c)}const cs=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function qr(...e){const[t,n,r,i]=e,a={};let s={},o;if(M(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ke(de.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();o=new Date(c);try{o.toISOString()}catch(_){throw ke(de.INVALID_ISO_DATE_ARGUMENT)}}else if(jl(t)){if(isNaN(t.getTime()))throw ke(de.INVALID_DATE_ARGUMENT);o=t}else if(oe(t))o=t;else throw ke(de.INVALID_ARGUMENT);return M(n)?a.key=n:U(n)&&Object.keys(n).forEach(l=>{cs.includes(l)?s[l]=n[l]:a[l]=n[l]}),M(r)?a.locale=r:U(r)&&(s=r),U(i)&&(s=i),[a.key||"",o,a,s]}function us(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;!r.__datetimeFormatters.has(a)||r.__datetimeFormatters.delete(a)}}function fs(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!os.numberFormat)return a(yt(he.CANNOT_FORMAT_NUMBER)),Jn;const[l,c,_,f]=Kr(...t),m=$(_.missingWarn)?_.missingWarn:e.missingWarn,S=$(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,L=!!_.part,v=xr(e,_),D=s(e,i,v);if(!M(l)||l==="")return new Intl.NumberFormat(v,f).format(c);let g={},O,h=null,E=v,w=null;const N="number format";for(let T=0;T<D.length;T++){if(O=w=D[T],process.env.NODE_ENV!=="production"&&v!==O&&Qn(S,l)&&a(yt(he.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:O})),process.env.NODE_ENV!=="production"&&v!==O){const j=e.__v_emitter;j&&j.emit("fallback",{type:N,key:l,from:E,to:w,groupId:`${N}:${l}`})}if(g=n[O]||{},h=g[l],U(h))break;Br(e,l,O,m,N),E=w}if(!U(h)||!M(O))return r?Xn:l;let y=`${O}__${l}`;Bn(f)||(y=`${y}__${JSON.stringify(f)}`);let C=o.get(y);return C||(C=new Intl.NumberFormat(O,le({},h,f)),o.set(y,C)),L?C.formatToParts(c):C.format(c)}const ds=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Kr(...e){const[t,n,r,i]=e,a={};let s={};if(!oe(t))throw ke(de.INVALID_ARGUMENT);const o=t;return M(n)?a.key=n:U(n)&&Object.keys(n).forEach(l=>{ds.includes(l)?s[l]=n[l]:a[l]=n[l]}),M(r)?a.locale=r:U(r)&&(s=r),U(i)&&(s=i),[a.key||"",o,a,s]}function ms(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;!r.__numberFormatters.has(a)||r.__numberFormatters.delete(a)}}wc();/**
18
+ (message compiler warning message: ${e.message})`)}const at=e=>p(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function ns(e,t={}){let n=!1;const r=t.onError||ec;return t.onError=i=>{n=!0,r(i)},Pt(Ze({},wc(e,t)),{detectError:n})}const lu=(e,t)=>{if(!M(e))throw ke(de.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=ts);{const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ya(e,n);const i=(t.onCacheKey||es)(e),a=$t[i];if(a)return a;const{code:s,detectError:o}=ns(e,t),l=new Function(`return ${s}`)();return o?l:$t[i]=l}};function cu(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=ts),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(e)){const n=$(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ya(e,n);const i=(t.onCacheKey||es)(e),a=$t[i];if(a)return a;const{ast:s,detectError:o}=ns(e,Pt(Ze({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),l=Hr(s);return o?l:$t[i]=l}else{if(process.env.NODE_ENV!=="production"&&!at(e))return ce(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=$t[n];return r||($t[n]=Hr(e))}else return Hr(e)}}const rs=()=>"",we=e=>X(e);function is(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:s,messages:o}=e,[l,c]=jr(...t),_=$(c.missingWarn)?c.missingWarn:e.missingWarn,f=$(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=$(c.escapeParameter)?c.escapeParameter:e.escapeParameter,S=!!c.resolvedMessage,L=M(c.default)||$(c.default)?$(c.default)?a?l:()=>l:c.default:n?a?l:()=>l:"",v=n||L!=="",D=xr(e,c);m&&uu(c);let[g,O,h]=S?[l,D,o[D]||{}]:as(e,l,D,s,f,_),E=g,w=l;if(!S&&!(M(E)||at(E)||we(E))&&v&&(E=L,w=E),!S&&(!(M(E)||at(E)||we(E))||!M(O)))return i?Jn:l;if(process.env.NODE_ENV!=="production"&&M(E)&&e.messageCompiler==null)return ce(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let N=!1;const y=()=>{N=!0},C=we(E)?E:ss(e,l,O,E,w,y);if(N)return E;const T=_u(e,O,h,c),j=Hc(T),ve=fu(e,C,j),x=r?r(ve,l):ve;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:M(l)?l:we(E)?E.key:"",locale:O||(we(E)?E.locale:""),format:M(E)?E:we(E)?E.source:"",message:x};se.meta=le({},e.__meta,nu()||{}),qc(se)}return x}function uu(e){Q(e.list)?e.list=e.list.map(t=>M(t)?Sa(t):t):p(e.named)&&Object.keys(e.named).forEach(t=>{M(e.named[t])&&(e.named[t]=Sa(e.named[t]))})}function as(e,t,n,r,i,a){const{messages:s,onWarn:o,messageResolver:l,localeFallbacker:c}=e,_=c(e,r,n);let f={},m,S=null,L=n,v=null;const D="translate";for(let g=0;g<_.length;g++){if(m=v=_[g],process.env.NODE_ENV!=="production"&&n!==m&&!za(n,m)&&zn(i,t)&&o(vt(he.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const w=e.__v_emitter;w&&w.emit("fallback",{type:D,key:t,from:L,to:v,groupId:`${D}:${t}`})}f=s[m]||{};let O=null,h,E;if(process.env.NODE_ENV!=="production"&&Ce&&(O=window.performance.now(),h="intlify-message-resolve-start",E="intlify-message-resolve-end",Oe&&Oe(h)),(S=l(f,t))===null&&(S=f[t]),process.env.NODE_ENV!=="production"&&Ce){const w=window.performance.now(),N=e.__v_emitter;N&&O&&S&&N.emit("message-resolve",{type:"message-resolve",key:t,message:S,time:w-O,groupId:`${D}:${t}`}),h&&E&&Oe&&Et&&(Oe(E),Et("intlify message resolve",h,E))}if(M(S)||at(S)||we(S))break;if(!au(m,_)){const w=Br(e,t,m,a,D);w!==t&&(S=w)}L=v}return[S,m,f]}function ss(e,t,n,r,i,a){const{messageCompiler:s,warnHtmlMessage:o}=e;if(we(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(s==null){const m=()=>r;return m.locale=n,m.key=t,m}let l=null,c,_;process.env.NODE_ENV!=="production"&&Ce&&(l=window.performance.now(),c="intlify-message-compilation-start",_="intlify-message-compilation-end",Oe&&Oe(c));const f=s(r,du(e,n,i,r,o,a));if(process.env.NODE_ENV!=="production"&&Ce){const m=window.performance.now(),S=e.__v_emitter;S&&l&&S.emit("message-compilation",{type:"message-compilation",message:r,time:m-l,groupId:`translate:${t}`}),c&&_&&Oe&&Et&&(Oe(_),Et("intlify message compilation",c,_))}return f.locale=n,f.key=t,f.source=r,f}function fu(e,t,n){let r=null,i,a;process.env.NODE_ENV!=="production"&&Ce&&(r=window.performance.now(),i="intlify-message-evaluation-start",a="intlify-message-evaluation-end",Oe&&Oe(i));const s=t(n);if(process.env.NODE_ENV!=="production"&&Ce){const o=window.performance.now(),l=e.__v_emitter;l&&r&&l.emit("message-evaluation",{type:"message-evaluation",value:s,time:o-r,groupId:`translate:${t.key}`}),i&&a&&Oe&&Et&&(Oe(a),Et("intlify message evaluation",i,a))}return s}function jr(...e){const[t,n,r]=e,i={};if(!M(t)&&!oe(t)&&!we(t)&&!at(t))throw ke(de.INVALID_ARGUMENT);const a=oe(t)?String(t):(we(t),t);return oe(n)?i.plural=n:M(n)?i.default=n:U(n)&&!Hn(n)?i.named=n:Q(n)&&(i.list=n),oe(r)?i.plural=r:M(r)?i.default=r:U(r)&&le(i,r),[a,i]}function du(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const o=mu(r),l=`Message compilation error: ${s.message}`,c=s.location&&o&&Jl(o,s.location.start.offset,s.location.end.offset),_=e.__v_emitter;_&&o&&_.emit("compile-error",{message:o,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}
19
+ ${c}`:l)}else throw s},onCacheKey:s=>pl(t,n,s)}}function mu(e){if(M(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function _u(e,t,n,r){const{modifiers:i,pluralRules:a,messageResolver:s,fallbackLocale:o,fallbackWarn:l,missingWarn:c,fallbackContext:_}=e,m={locale:t,modifiers:i,pluralRules:a,messages:S=>{let L=s(n,S);if(L==null&&_){const[,,v]=as(_,S,t,o,l,c);L=s(v,S)}if(M(L)||at(L)){let v=!1;const g=ss(e,S,t,L,S,()=>{v=!0});return v?rs:g}else return we(L)?L:rs}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),oe(r.plural)&&(m.pluralIndex=r.plural),m}const os=typeof Intl!="undefined",ls={dateTimeFormat:os&&typeof Intl.DateTimeFormat!="undefined",numberFormat:os&&typeof Intl.NumberFormat!="undefined"};function cs(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!ls.dateTimeFormat)return a(vt(he.CANNOT_FORMAT_DATE)),Qn;const[l,c,_,f]=qr(...t),m=$(_.missingWarn)?_.missingWarn:e.missingWarn,S=$(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,L=!!_.part,v=xr(e,_),D=s(e,i,v);if(!M(l)||l==="")return new Intl.DateTimeFormat(v,f).format(c);let g={},O,h=null,E=v,w=null;const N="datetime format";for(let T=0;T<D.length;T++){if(O=w=D[T],process.env.NODE_ENV!=="production"&&v!==O&&zn(S,l)&&a(vt(he.FALLBACK_TO_DATE_FORMAT,{key:l,target:O})),process.env.NODE_ENV!=="production"&&v!==O){const j=e.__v_emitter;j&&j.emit("fallback",{type:N,key:l,from:E,to:w,groupId:`${N}:${l}`})}if(g=n[O]||{},h=g[l],U(h))break;Br(e,l,O,m,N),E=w}if(!U(h)||!M(O))return r?Jn:l;let y=`${O}__${l}`;Hn(f)||(y=`${y}__${JSON.stringify(f)}`);let C=o.get(y);return C||(C=new Intl.DateTimeFormat(O,le({},h,f)),o.set(y,C)),L?C.formatToParts(c):C.format(c)}const us=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function qr(...e){const[t,n,r,i]=e,a={};let s={},o;if(M(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ke(de.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();o=new Date(c);try{o.toISOString()}catch(_){throw ke(de.INVALID_ISO_DATE_ARGUMENT)}}else if(ql(t)){if(isNaN(t.getTime()))throw ke(de.INVALID_DATE_ARGUMENT);o=t}else if(oe(t))o=t;else throw ke(de.INVALID_ARGUMENT);return M(n)?a.key=n:U(n)&&Object.keys(n).forEach(l=>{us.includes(l)?s[l]=n[l]:a[l]=n[l]}),M(r)?a.locale=r:U(r)&&(s=r),U(i)&&(s=i),[a.key||"",o,a,s]}function fs(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;!r.__datetimeFormatters.has(a)||r.__datetimeFormatters.delete(a)}}function ds(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!ls.numberFormat)return a(vt(he.CANNOT_FORMAT_NUMBER)),Qn;const[l,c,_,f]=Kr(...t),m=$(_.missingWarn)?_.missingWarn:e.missingWarn,S=$(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,L=!!_.part,v=xr(e,_),D=s(e,i,v);if(!M(l)||l==="")return new Intl.NumberFormat(v,f).format(c);let g={},O,h=null,E=v,w=null;const N="number format";for(let T=0;T<D.length;T++){if(O=w=D[T],process.env.NODE_ENV!=="production"&&v!==O&&zn(S,l)&&a(vt(he.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:O})),process.env.NODE_ENV!=="production"&&v!==O){const j=e.__v_emitter;j&&j.emit("fallback",{type:N,key:l,from:E,to:w,groupId:`${N}:${l}`})}if(g=n[O]||{},h=g[l],U(h))break;Br(e,l,O,m,N),E=w}if(!U(h)||!M(O))return r?Jn:l;let y=`${O}__${l}`;Hn(f)||(y=`${y}__${JSON.stringify(f)}`);let C=o.get(y);return C||(C=new Intl.NumberFormat(O,le({},h,f)),o.set(y,C)),L?C.formatToParts(c):C.format(c)}const ms=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Kr(...e){const[t,n,r,i]=e,a={};let s={};if(!oe(t))throw ke(de.INVALID_ARGUMENT);const o=t;return M(n)?a.key=n:U(n)&&Object.keys(n).forEach(l=>{ms.includes(l)?s[l]=n[l]:a[l]=n[l]}),M(r)?a.locale=r:U(r)&&(s=r),U(i)&&(s=i),[a.key||"",o,a,s]}function _s(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;!r.__numberFormatters.has(a)||r.__numberFormatters.delete(a)}}Lc();/**
20
20
  * @vue/shared v3.4.35
21
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
22
  * @license MIT
23
- **//*! #__NO_SIDE_EFFECTS__ */function _u(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ue=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const at=()=>{},hu=()=>!1,gu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ae=Object.assign,Eu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yu=Object.prototype.hasOwnProperty,ie=(e,t)=>yu.call(e,t),z=Array.isArray,xt=e=>zn(e)==="[object Map]",vu=e=>zn(e)==="[object Set]",ae=e=>typeof e=="function",Me=e=>typeof e=="string",sn=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",bu=e=>(ge(e)||ae(e))&&ae(e.then)&&ae(e.catch),Nu=Object.prototype.toString,zn=e=>Nu.call(e),_s=e=>zn(e).slice(8,-1),Iu=e=>zn(e)==="[object Object]",Gr=e=>Me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gs=hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ou=hs(e=>e?`on${gs(e)}`:""),st=(e,t)=>!Object.is(e,t),Su=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Es;const ys=()=>Es||(Es=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Xr(e){if(z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Me(r)?Du(r):Xr(r);if(i)for(const a in i)t[a]=i[a]}return t}else if(Me(e)||ge(e))return e}const wu=/;(?![^(]*\))/g,Lu=/:([^]+)/,Au=/\/\*[^]*?\*\//g;function Du(e){const t={};return e.replace(Au,"").split(wu).forEach(n=>{if(n){const r=n.split(Lu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Jr(e){let t="";if(Me(e))t=e;else if(z(e))for(let n=0;n<e.length;n++){const r=Jr(e[n]);r&&(t+=r+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
23
+ **//*! #__NO_SIDE_EFFECTS__ */function hu(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ue=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const st=()=>{},gu=()=>!1,Eu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Le=Object.assign,yu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vu=Object.prototype.hasOwnProperty,ie=(e,t)=>vu.call(e,t),z=Array.isArray,xt=e=>Zn(e)==="[object Map]",bu=e=>Zn(e)==="[object Set]",ae=e=>typeof e=="function",Pe=e=>typeof e=="string",on=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",Nu=e=>(ge(e)||ae(e))&&ae(e.then)&&ae(e.catch),Iu=Object.prototype.toString,Zn=e=>Iu.call(e),hs=e=>Zn(e).slice(8,-1),Ou=e=>Zn(e)==="[object Object]",Gr=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Es=gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Su=gs(e=>e?`on${Es(e)}`:""),ot=(e,t)=>!Object.is(e,t),wu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let ys;const vs=()=>ys||(ys=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Xr(e){if(z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Pe(r)?Cu(r):Xr(r);if(i)for(const a in i)t[a]=i[a]}return t}else if(Pe(e)||ge(e))return e}const Lu=/;(?![^(]*\))/g,Au=/:([^]+)/,Du=/\/\*[^]*?\*\//g;function Cu(e){const t={};return e.replace(Du,"").split(Lu).forEach(n=>{if(n){const r=n.split(Au);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Jr(e){let t="";if(Pe(e))t=e;else if(z(e))for(let n=0;n<e.length;n++){const r=Jr(e[n]);r&&(t+=r+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
24
24
  * @vue/reactivity v3.4.35
25
25
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
26
26
  * @license MIT
27
- **/function ot(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Fe;class Cu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}else process.env.NODE_ENV!=="production"&&ot("cannot run an inactive effect scope.")}on(){Fe=this}off(){Fe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function Ru(e){return new Cu(e)}function Tu(e,t=Fe){t&&t.active&&t.effects.push(e)}function Pu(){return Fe}let bt;class vs{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Tu(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,on();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Mu(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ln()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=lt,n=bt;try{return lt=!0,bt=this,this._runnings++,bs(this),this.fn()}finally{Ns(this),this._runnings--,bt=n,lt=t}}stop(){this.active&&(bs(this),Ns(this),this.onStop&&this.onStop(),this.active=!1)}}function Mu(e){return e.value}function bs(e){e._trackId++,e._depsLength=0}function Ns(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Is(e.deps[t],e);e.deps.length=e._depsLength}}function Is(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let lt=!0,Qr=0;const Os=[];function on(){Os.push(lt),lt=!1}function ln(){const e=Os.pop();lt=e===void 0?!0:e}function zr(){Qr++}function Zr(){for(Qr--;!Qr&&Yr.length;)Yr.shift()()}function Ss(e,t,n){var r;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const i=e.deps[e._depsLength];i!==t?(i&&Is(i,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((r=e.onTrack)==null||r.call(e,Ae({effect:e},n)))}}const Yr=[];function ws(e,t,n){var r;zr();for(const i of e.keys()){let a;i._dirtyLevel<t&&(a!=null?a:a=e.get(i)===i._trackId)&&(i._shouldSchedule||(i._shouldSchedule=i._dirtyLevel===0),i._dirtyLevel=t),i._shouldSchedule&&(a!=null?a:a=e.get(i)===i._trackId)&&(process.env.NODE_ENV!=="production"&&((r=i.onTrigger)==null||r.call(i,Ae({effect:i},n))),i.trigger(),(!i._runnings||i.allowRecurse)&&i._dirtyLevel!==2&&(i._shouldSchedule=!1,i.scheduler&&Yr.push(i.scheduler)))}Zr()}const Ls=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ei=new WeakMap,Nt=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),ti=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function me(e,t,n){if(lt&&bt){let r=ei.get(e);r||ei.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Ls(()=>r.delete(n))),Ss(bt,i,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function ct(e,t,n,r,i,a){const s=ei.get(e);if(!s)return;let o=[];if(t==="clear")o=[...s.values()];else if(n==="length"&&z(e)){const l=Number(r);s.forEach((c,_)=>{(_==="length"||!sn(_)&&_>=l)&&o.push(c)})}else switch(n!==void 0&&o.push(s.get(n)),t){case"add":z(e)?Gr(n)&&o.push(s.get("length")):(o.push(s.get(Nt)),xt(e)&&o.push(s.get(ti)));break;case"delete":z(e)||(o.push(s.get(Nt)),xt(e)&&o.push(s.get(ti)));break;case"set":xt(e)&&o.push(s.get(Nt));break}zr();for(const l of o)l&&ws(l,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:r,oldValue:i,oldTarget:a}:void 0);Zr()}const Fu=_u("__proto__,__v_isRef,__isVue"),As=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Ds=Vu();function Vu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=W(this);for(let a=0,s=this.length;a<s;a++)me(r,"get",a+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(W)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){on(),zr();const r=W(this)[t].apply(this,n);return Zr(),ln(),r}}),e}function ku(e){sn(e)||(e=String(e));const t=W(this);return me(t,"has",e),t.hasOwnProperty(e)}class Cs{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return a;if(n==="__v_raw")return r===(i?a?$s:Us:a?Ju:ks).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=z(t);if(!i){if(s&&ie(Ds,n))return Reflect.get(Ds,n,r);if(n==="hasOwnProperty")return ku}const o=Reflect.get(t,n,r);return(sn(n)?As.has(n):Fu(n))||(i||me(t,"get",n),a)?o:be(o)?s&&Gr(n)?o:o.value:ge(o)?i?Ws(o):xs(o):o}}class Uu extends Cs{constructor(t=!1){super(!1,t)}set(t,n,r,i){let a=t[n];if(!this._isShallow){const l=Ke(a);if(!Ge(r)&&!Ke(r)&&(a=W(a),r=W(r)),!z(t)&&be(a)&&!be(r))return l?!1:(a.value=r,!0)}const s=z(t)&&Gr(n)?Number(n)<t.length:ie(t,n),o=Reflect.set(t,n,r,i);return t===W(i)&&(s?st(r,a)&&ct(t,"set",n,r,a):ct(t,"add",n,r)),o}deleteProperty(t,n){const r=ie(t,n),i=t[n],a=Reflect.deleteProperty(t,n);return a&&r&&ct(t,"delete",n,void 0,i),a}has(t,n){const r=Reflect.has(t,n);return(!sn(n)||!As.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",z(t)?"length":Nt),Reflect.ownKeys(t)}}class Rs extends Cs{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&ot(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&ot(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const $u=new Uu,xu=new Rs,Wu=new Rs(!0),ni=e=>e,Zn=e=>Reflect.getPrototypeOf(e);function Yn(e,t,n=!1,r=!1){e=e.__v_raw;const i=W(e),a=W(t);n||(st(t,a)&&me(i,"get",t),me(i,"get",a));const{has:s}=Zn(i),o=r?ni:n?si:cn;if(s.call(i,t))return o(e.get(t));if(s.call(i,a))return o(e.get(a));e!==i&&e.get(t)}function er(e,t=!1){const n=this.__v_raw,r=W(n),i=W(e);return t||(st(e,i)&&me(r,"has",e),me(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function tr(e,t=!1){return e=e.__v_raw,!t&&me(W(e),"iterate",Nt),Reflect.get(e,"size",e)}function Ts(e,t=!1){!t&&!Ge(e)&&!Ke(e)&&(e=W(e));const n=W(this);return Zn(n).has.call(n,e)||(n.add(e),ct(n,"add",e,e)),this}function Ps(e,t,n=!1){!n&&!Ge(t)&&!Ke(t)&&(t=W(t));const r=W(this),{has:i,get:a}=Zn(r);let s=i.call(r,e);s?process.env.NODE_ENV!=="production"&&Vs(r,i,e):(e=W(e),s=i.call(r,e));const o=a.call(r,e);return r.set(e,t),s?st(t,o)&&ct(r,"set",e,t,o):ct(r,"add",e,t),this}function Ms(e){const t=W(this),{has:n,get:r}=Zn(t);let i=n.call(t,e);i?process.env.NODE_ENV!=="production"&&Vs(t,n,e):(e=W(e),i=n.call(t,e));const a=r?r.call(t,e):void 0,s=t.delete(e);return i&&ct(t,"delete",e,void 0,a),s}function Fs(){const e=W(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?xt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&ct(e,"clear",void 0,void 0,n),r}function nr(e,t){return function(r,i){const a=this,s=a.__v_raw,o=W(s),l=t?ni:e?si:cn;return!e&&me(o,"iterate",Nt),s.forEach((c,_)=>r.call(i,l(c),l(_),a))}}function rr(e,t,n){return function(...r){const i=this.__v_raw,a=W(i),s=xt(a),o=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=i[e](...r),_=n?ni:t?si:cn;return!t&&me(a,"iterate",l?ti:Nt),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:o?[_(f[0]),_(f[1])]:_(f),done:m}},[Symbol.iterator](){return this}}}}function ut(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";ot(`${gs(e)} operation ${n}failed: target is readonly.`,W(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Bu(){const e={get(a){return Yn(this,a)},get size(){return tr(this)},has:er,add:Ts,set:Ps,delete:Ms,clear:Fs,forEach:nr(!1,!1)},t={get(a){return Yn(this,a,!1,!0)},get size(){return tr(this)},has:er,add(a){return Ts.call(this,a,!0)},set(a,s){return Ps.call(this,a,s,!0)},delete:Ms,clear:Fs,forEach:nr(!1,!0)},n={get(a){return Yn(this,a,!0)},get size(){return tr(this,!0)},has(a){return er.call(this,a,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:nr(!0,!1)},r={get(a){return Yn(this,a,!0,!0)},get size(){return tr(this,!0)},has(a){return er.call(this,a,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:nr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=rr(a,!1,!1),n[a]=rr(a,!0,!1),t[a]=rr(a,!1,!0),r[a]=rr(a,!0,!0)}),[e,n,t,r]}const[Hu,pu,ju,qu]=Bu();function ri(e,t){const n=t?e?qu:ju:e?pu:Hu;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ie(n,i)&&i in r?n:r,i,a)}const Ku={get:ri(!1,!1)},Gu={get:ri(!0,!1)},Xu={get:ri(!0,!0)};function Vs(e,t,n){const r=W(n);if(r!==n&&t.call(e,r)){const i=_s(e);ot(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ks=new WeakMap,Ju=new WeakMap,Us=new WeakMap,$s=new WeakMap;function Qu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zu(e){return e.__v_skip||!Object.isExtensible(e)?0:Qu(_s(e))}function xs(e){return Ke(e)?e:ii(e,!1,$u,Ku,ks)}function Ws(e){return ii(e,!0,xu,Gu,Us)}function ir(e){return ii(e,!0,Wu,Xu,$s)}function ii(e,t,n,r,i){if(!ge(e))return process.env.NODE_ENV!=="production"&&ot(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const s=zu(e);if(s===0)return e;const o=new Proxy(e,s===2?r:n);return i.set(e,o),o}function Wt(e){return Ke(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function ai(e){return e?!!e.__v_raw:!1}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Zu(e){return Object.isExtensible(e)&&Su(e,"__v_skip",!0),e}const cn=e=>ge(e)?xs(e):e,si=e=>ge(e)?Ws(e):e,Yu="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Bs{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vs(()=>t(this._value),()=>ar(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=W(this);return(!t._cacheable||t.effect.dirty)&&st(t._value,t._value=t.effect.run())&&ar(t,4),Hs(t),t.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&ot(Yu,`
27
+ **/function lt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Me;class Ru{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}else process.env.NODE_ENV!=="production"&&lt("cannot run an inactive effect scope.")}on(){Me=this}off(){Me=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function Tu(e){return new Ru(e)}function Pu(e,t=Me){t&&t.active&&t.effects.push(e)}function Mu(){return Me}let Nt;class bs{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Pu(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ln();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Fu(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),cn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ct,n=Nt;try{return ct=!0,Nt=this,this._runnings++,Ns(this),this.fn()}finally{Is(this),this._runnings--,Nt=n,ct=t}}stop(){this.active&&(Ns(this),Is(this),this.onStop&&this.onStop(),this.active=!1)}}function Fu(e){return e.value}function Ns(e){e._trackId++,e._depsLength=0}function Is(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Os(e.deps[t],e);e.deps.length=e._depsLength}}function Os(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let ct=!0,Qr=0;const Ss=[];function ln(){Ss.push(ct),ct=!1}function cn(){const e=Ss.pop();ct=e===void 0?!0:e}function zr(){Qr++}function Zr(){for(Qr--;!Qr&&Yr.length;)Yr.shift()()}function ws(e,t,n){var r;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const i=e.deps[e._depsLength];i!==t?(i&&Os(i,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((r=e.onTrack)==null||r.call(e,Le({effect:e},n)))}}const Yr=[];function Ls(e,t,n){var r;zr();for(const i of e.keys()){let a;i._dirtyLevel<t&&(a!=null?a:a=e.get(i)===i._trackId)&&(i._shouldSchedule||(i._shouldSchedule=i._dirtyLevel===0),i._dirtyLevel=t),i._shouldSchedule&&(a!=null?a:a=e.get(i)===i._trackId)&&(process.env.NODE_ENV!=="production"&&((r=i.onTrigger)==null||r.call(i,Le({effect:i},n))),i.trigger(),(!i._runnings||i.allowRecurse)&&i._dirtyLevel!==2&&(i._shouldSchedule=!1,i.scheduler&&Yr.push(i.scheduler)))}Zr()}const As=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ei=new WeakMap,It=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),ti=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function me(e,t,n){if(ct&&Nt){let r=ei.get(e);r||ei.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=As(()=>r.delete(n))),ws(Nt,i,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function ut(e,t,n,r,i,a){const s=ei.get(e);if(!s)return;let o=[];if(t==="clear")o=[...s.values()];else if(n==="length"&&z(e)){const l=Number(r);s.forEach((c,_)=>{(_==="length"||!on(_)&&_>=l)&&o.push(c)})}else switch(n!==void 0&&o.push(s.get(n)),t){case"add":z(e)?Gr(n)&&o.push(s.get("length")):(o.push(s.get(It)),xt(e)&&o.push(s.get(ti)));break;case"delete":z(e)||(o.push(s.get(It)),xt(e)&&o.push(s.get(ti)));break;case"set":xt(e)&&o.push(s.get(It));break}zr();for(const l of o)l&&Ls(l,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:r,oldValue:i,oldTarget:a}:void 0);Zr()}const Vu=hu("__proto__,__v_isRef,__isVue"),Ds=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(on)),Cs=ku();function ku(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=W(this);for(let a=0,s=this.length;a<s;a++)me(r,"get",a+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(W)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ln(),zr();const r=W(this)[t].apply(this,n);return Zr(),cn(),r}}),e}function Uu(e){on(e)||(e=String(e));const t=W(this);return me(t,"has",e),t.hasOwnProperty(e)}class Rs{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return a;if(n==="__v_raw")return r===(i?a?xs:$s:a?Qu:Us).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=z(t);if(!i){if(s&&ie(Cs,n))return Reflect.get(Cs,n,r);if(n==="hasOwnProperty")return Uu}const o=Reflect.get(t,n,r);return(on(n)?Ds.has(n):Vu(n))||(i||me(t,"get",n),a)?o:be(o)?s&&Gr(n)?o:o.value:ge(o)?i?Bs(o):Ws(o):o}}class $u extends Rs{constructor(t=!1){super(!1,t)}set(t,n,r,i){let a=t[n];if(!this._isShallow){const l=Ke(a);if(!Ge(r)&&!Ke(r)&&(a=W(a),r=W(r)),!z(t)&&be(a)&&!be(r))return l?!1:(a.value=r,!0)}const s=z(t)&&Gr(n)?Number(n)<t.length:ie(t,n),o=Reflect.set(t,n,r,i);return t===W(i)&&(s?ot(r,a)&&ut(t,"set",n,r,a):ut(t,"add",n,r)),o}deleteProperty(t,n){const r=ie(t,n),i=t[n],a=Reflect.deleteProperty(t,n);return a&&r&&ut(t,"delete",n,void 0,i),a}has(t,n){const r=Reflect.has(t,n);return(!on(n)||!Ds.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",z(t)?"length":It),Reflect.ownKeys(t)}}class Ts extends Rs{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&lt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&lt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const xu=new $u,Wu=new Ts,Bu=new Ts(!0),ni=e=>e,Yn=e=>Reflect.getPrototypeOf(e);function er(e,t,n=!1,r=!1){e=e.__v_raw;const i=W(e),a=W(t);n||(ot(t,a)&&me(i,"get",t),me(i,"get",a));const{has:s}=Yn(i),o=r?ni:n?si:un;if(s.call(i,t))return o(e.get(t));if(s.call(i,a))return o(e.get(a));e!==i&&e.get(t)}function tr(e,t=!1){const n=this.__v_raw,r=W(n),i=W(e);return t||(ot(e,i)&&me(r,"has",e),me(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function nr(e,t=!1){return e=e.__v_raw,!t&&me(W(e),"iterate",It),Reflect.get(e,"size",e)}function Ps(e,t=!1){!t&&!Ge(e)&&!Ke(e)&&(e=W(e));const n=W(this);return Yn(n).has.call(n,e)||(n.add(e),ut(n,"add",e,e)),this}function Ms(e,t,n=!1){!n&&!Ge(t)&&!Ke(t)&&(t=W(t));const r=W(this),{has:i,get:a}=Yn(r);let s=i.call(r,e);s?process.env.NODE_ENV!=="production"&&ks(r,i,e):(e=W(e),s=i.call(r,e));const o=a.call(r,e);return r.set(e,t),s?ot(t,o)&&ut(r,"set",e,t,o):ut(r,"add",e,t),this}function Fs(e){const t=W(this),{has:n,get:r}=Yn(t);let i=n.call(t,e);i?process.env.NODE_ENV!=="production"&&ks(t,n,e):(e=W(e),i=n.call(t,e));const a=r?r.call(t,e):void 0,s=t.delete(e);return i&&ut(t,"delete",e,void 0,a),s}function Vs(){const e=W(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?xt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&ut(e,"clear",void 0,void 0,n),r}function rr(e,t){return function(r,i){const a=this,s=a.__v_raw,o=W(s),l=t?ni:e?si:un;return!e&&me(o,"iterate",It),s.forEach((c,_)=>r.call(i,l(c),l(_),a))}}function ir(e,t,n){return function(...r){const i=this.__v_raw,a=W(i),s=xt(a),o=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=i[e](...r),_=n?ni:t?si:un;return!t&&me(a,"iterate",l?ti:It),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:o?[_(f[0]),_(f[1])]:_(f),done:m}},[Symbol.iterator](){return this}}}}function ft(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";lt(`${Es(e)} operation ${n}failed: target is readonly.`,W(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Hu(){const e={get(a){return er(this,a)},get size(){return nr(this)},has:tr,add:Ps,set:Ms,delete:Fs,clear:Vs,forEach:rr(!1,!1)},t={get(a){return er(this,a,!1,!0)},get size(){return nr(this)},has:tr,add(a){return Ps.call(this,a,!0)},set(a,s){return Ms.call(this,a,s,!0)},delete:Fs,clear:Vs,forEach:rr(!1,!0)},n={get(a){return er(this,a,!0)},get size(){return nr(this,!0)},has(a){return tr.call(this,a,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:rr(!0,!1)},r={get(a){return er(this,a,!0,!0)},get size(){return nr(this,!0)},has(a){return tr.call(this,a,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:rr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ir(a,!1,!1),n[a]=ir(a,!0,!1),t[a]=ir(a,!1,!0),r[a]=ir(a,!0,!0)}),[e,n,t,r]}const[pu,ju,qu,Ku]=Hu();function ri(e,t){const n=t?e?Ku:qu:e?ju:pu;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ie(n,i)&&i in r?n:r,i,a)}const Gu={get:ri(!1,!1)},Xu={get:ri(!0,!1)},Ju={get:ri(!0,!0)};function ks(e,t,n){const r=W(n);if(r!==n&&t.call(e,r)){const i=hs(e);lt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Us=new WeakMap,Qu=new WeakMap,$s=new WeakMap,xs=new WeakMap;function zu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zu(e){return e.__v_skip||!Object.isExtensible(e)?0:zu(hs(e))}function Ws(e){return Ke(e)?e:ii(e,!1,xu,Gu,Us)}function Bs(e){return ii(e,!0,Wu,Xu,$s)}function ar(e){return ii(e,!0,Bu,Ju,xs)}function ii(e,t,n,r,i){if(!ge(e))return process.env.NODE_ENV!=="production"&&lt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const s=Zu(e);if(s===0)return e;const o=new Proxy(e,s===2?r:n);return i.set(e,o),o}function Wt(e){return Ke(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function ai(e){return e?!!e.__v_raw:!1}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Yu(e){return Object.isExtensible(e)&&wu(e,"__v_skip",!0),e}const un=e=>ge(e)?Ws(e):e,si=e=>ge(e)?Bs(e):e,ef="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Hs{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new bs(()=>t(this._value),()=>sr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=W(this);return(!t._cacheable||t.effect.dirty)&&ot(t._value,t._value=t.effect.run())&&sr(t,4),ps(t),t.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&lt(ef,`
28
28
 
29
- getter: `,this.getter),ar(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ef(e,t,n=!1){let r,i;const a=ae(e);a?(r=e,i=process.env.NODE_ENV!=="production"?()=>{ot("Write operation failed: computed value is readonly")}:at):(r=e.get,i=e.set);const s=new Bs(r,i,a||!i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}function Hs(e){var t;lt&&bt&&(e=W(e),Ss(bt,(t=e.dep)!=null?t:e.dep=Ls(()=>e.dep=void 0,e instanceof Bs?e:void 0),process.env.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function ar(e,t=4,n,r){e=W(e);const i=e.dep;i&&ws(i,t,process.env.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n,oldValue:r}:void 0)}function be(e){return!!(e&&e.__v_isRef===!0)}function Bt(e){return js(e,!1)}function ps(e){return js(e,!0)}function js(e,t){return be(e)?e:new tf(e,t)}class tf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:W(t),this._value=n?t:cn(t)}get value(){return Hs(this),this._value}set value(t){const n=this.__v_isShallow||Ge(t)||Ke(t);if(t=n?t:W(t),st(t,this._rawValue)){const r=this._rawValue;this._rawValue=t,this._value=n?t:cn(t),ar(this,4,t,r)}}}function nf(e){return be(e)?e.value:e}const rf={get:(e,t,n)=>nf(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function af(e){return Wt(e)?e:new Proxy(e,rf)}/**
29
+ getter: `,this.getter),sr(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function tf(e,t,n=!1){let r,i;const a=ae(e);a?(r=e,i=process.env.NODE_ENV!=="production"?()=>{lt("Write operation failed: computed value is readonly")}:st):(r=e.get,i=e.set);const s=new Hs(r,i,a||!i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}function ps(e){var t;ct&&Nt&&(e=W(e),ws(Nt,(t=e.dep)!=null?t:e.dep=As(()=>e.dep=void 0,e instanceof Hs?e:void 0),process.env.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function sr(e,t=4,n,r){e=W(e);const i=e.dep;i&&Ls(i,t,process.env.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n,oldValue:r}:void 0)}function be(e){return!!(e&&e.__v_isRef===!0)}function Bt(e){return qs(e,!1)}function js(e){return qs(e,!0)}function qs(e,t){return be(e)?e:new nf(e,t)}class nf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:W(t),this._value=n?t:un(t)}get value(){return ps(this),this._value}set value(t){const n=this.__v_isShallow||Ge(t)||Ke(t);if(t=n?t:W(t),ot(t,this._rawValue)){const r=this._rawValue;this._rawValue=t,this._value=n?t:un(t),sr(this,4,t,r)}}}function rf(e){return be(e)?e.value:e}const af={get:(e,t,n)=>rf(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function sf(e){return Wt(e)?e:new Proxy(e,af)}/**
30
30
  * @vue/runtime-core v3.4.35
31
31
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
32
32
  * @license MIT
33
- **/const It=[];function sf(e){It.push(e)}function of(){It.pop()}let oi=!1;function Z(e,...t){if(oi)return;oi=!0,on();const n=It.length?It[It.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=lf();if(r)Ot(r,n,11,[e+t.map(a=>{var s,o;return(o=(s=a.toString)==null?void 0:s.call(a))!=null?o:JSON.stringify(a)}).join(""),n&&n.proxy,i.map(({vnode:a})=>`at <${go(n,a.type)}>`).join(`
33
+ **/const Ot=[];function of(e){Ot.push(e)}function lf(){Ot.pop()}let oi=!1;function Z(e,...t){if(oi)return;oi=!0,ln();const n=Ot.length?Ot[Ot.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=cf();if(r)St(r,n,11,[e+t.map(a=>{var s,o;return(o=(s=a.toString)==null?void 0:s.call(a))!=null?o:JSON.stringify(a)}).join(""),n&&n.proxy,i.map(({vnode:a})=>`at <${Eo(n,a.type)}>`).join(`
34
34
  `),i]);else{const a=[`[Vue warn]: ${e}`,...t];i.length&&a.push(`
35
- `,...cf(i)),console.warn(...a)}ln(),oi=!1}function lf(){let e=It[It.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function cf(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
36
- `],...uf(n))}),t}function uf({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${go(e.component,e.type,r)}`,a=">"+n;return e.props?[i,...ff(e.props),a]:[i+a]}function ff(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...qs(r,e[r]))}),n.length>3&&t.push(" ..."),t}function qs(e,t,n){return Me(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:be(t)?(t=qs(e,W(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=W(t),n?t:[`${e}=`,t])}const li={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function Ot(e,t,n,r){try{return r?e(...r):e()}catch(i){ci(i,t,n)}}function un(e,t,n,r){if(ae(e)){const i=Ot(e,t,n,r);return i&&bu(i)&&i.catch(a=>{ci(a,t,n)}),i}if(z(e)){const i=[];for(let a=0;a<e.length;a++)i.push(un(e[a],t,n,r));return i}else process.env.NODE_ENV!=="production"&&Z(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ci(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const s=t.proxy,o=process.env.NODE_ENV!=="production"?li[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let _=0;_<c.length;_++)if(c[_](e,s,o)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){on(),Ot(l,null,10,[e,s,o]),ln();return}}df(e,n,i,r)}function df(e,t,n,r=!0){if(process.env.NODE_ENV!=="production"){const i=li[t];if(n&&sf(n),Z(`Unhandled error${i?` during execution of ${i}`:""}`),n&&of(),r)throw e;console.error(e)}else console.error(e)}let sr=!1,ui=!1;const Ve=[];let ft=0;const Ht=[];let dt=null,St=0;const Ks=Promise.resolve();let fi=null;const mf=100;function _f(e){const t=fi||Ks;return e?t.then(this?e.bind(this):e):t}function hf(e){let t=ft+1,n=Ve.length;for(;t<n;){const r=t+n>>>1,i=Ve[r],a=fn(i);a<e||a===e&&i.pre?t=r+1:n=r}return t}function di(e){(!Ve.length||!Ve.includes(e,sr&&e.allowRecurse?ft+1:ft))&&(e.id==null?Ve.push(e):Ve.splice(hf(e.id),0,e),Gs())}function Gs(){!sr&&!ui&&(ui=!0,fi=Ks.then(Js))}function Xs(e){z(e)?Ht.push(...e):(!dt||!dt.includes(e,e.allowRecurse?St+1:St))&&Ht.push(e),Gs()}function gf(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,r)=>fn(n)-fn(r));if(Ht.length=0,dt){dt.push(...t);return}for(dt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),St=0;St<dt.length;St++){const n=dt[St];process.env.NODE_ENV!=="production"&&Qs(e,n)||n.active!==!1&&n()}dt=null,St=0}}const fn=e=>e.id==null?1/0:e.id,Ef=(e,t)=>{const n=fn(e)-fn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Js(e){ui=!1,sr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),Ve.sort(Ef);const t=process.env.NODE_ENV!=="production"?n=>Qs(e,n):at;try{for(ft=0;ft<Ve.length;ft++){const n=Ve[ft];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;Ot(n,n.i,n.i?15:14)}}}finally{ft=0,Ve.length=0,gf(e),sr=!1,fi=null,(Ve.length||Ht.length)&&Js(e)}}function Qs(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>mf){const r=t.i,i=r&&ho(r.type);return ci(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const mi=new Map;process.env.NODE_ENV!=="production"&&(ys().__VUE_HMR_RUNTIME__={createRecord:_i(yf),rerender:_i(vf),reload:_i(bf)});const or=new Map;function yf(e,t){return or.has(e)?!1:(or.set(e,{initialDef:lr(t),instances:new Set}),!0)}function lr(e){return Eo(e)?e.__vccOpts:e}function vf(e,t){const n=or.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,lr(r.type).render=t),r.renderCache=[],r.effect.dirty=!0,r.update()}))}function bf(e,t){const n=or.get(e);if(!n)return;t=lr(t),zs(n.initialDef,t);const r=[...n.instances];for(let i=0;i<r.length;i++){const a=r[i],s=lr(a.type);let o=mi.get(s);o||(s!==n.initialDef&&zs(s,t),mi.set(s,o=new Set)),o.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(o.add(a),a.ceReload(t.styles),o.delete(a)):a.parent?(a.parent.effect.dirty=!0,di(()=>{a.parent.update(),o.delete(a)})):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Xs(()=>{mi.clear()})}function zs(e,t){Ae(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function _i(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let pt,cr=[];function Zs(e,t){var n,r;pt=e,pt?(pt.enabled=!0,cr.forEach(({event:i,args:a})=>pt.emit(i,...a)),cr=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Zs(a,t)}),setTimeout(()=>{pt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,cr=[])},3e3)):cr=[]}let $e=null,Nf=null;function Ys(e,t){e.shapeFlag&6&&e.component?Ys(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function hi(e,t){return ae(e)?(()=>Ae({name:e.name},t,{setup:e}))():e}function If(e,t,n=Lt,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...s)=>{on();const o=_o(n),l=un(t,n,e,s);return o(),ln(),l});return r?i.unshift(a):i.push(a),a}else if(process.env.NODE_ENV!=="production"){const i=Ou(li[e].replace(/ hook$/,""));Z(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const gi=e=>(t,n=Lt)=>{(!hr||e==="sp")&&If(e,(...r)=>t(...r),n)},Of=gi("bm"),Sf=gi("m"),wf=gi("um"),Lf=Symbol.for("v-ndc"),Ei=e=>e?Jf(e)?Qf(e):Ei(e.parent):null,dn=Ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?ir(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?ir(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?ir(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?ir(e.refs):e.refs,$parent:e=>Ei(e.parent),$root:e=>Ei(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Rf(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,di(e.update)}),$nextTick:e=>e.n||(e.n=_f.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?xf.bind(e):at}),Af=e=>e==="_"||e==="$",yi=(e,t)=>e!==Ue&&!e.__isScriptSetup&&ie(e,t),Df={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:o,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const S=s[t];if(S!==void 0)switch(S){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(yi(r,t))return s[t]=1,r[t];if(i!==Ue&&ie(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ie(c,t))return s[t]=3,a[t];if(n!==Ue&&ie(n,t))return s[t]=4,n[t];(!__VUE_OPTIONS_API__||Cf)&&(s[t]=0)}}const _=dn[t];let f,m;if(_)return t==="$attrs"?(me(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&me(e,"get",t),_(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&ie(n,t))return s[t]=4,n[t];if(m=l.config.globalProperties,ie(m,t))return m[t];process.env.NODE_ENV!=="production"&&$e&&(!Me(t)||t.indexOf("__v")!==0)&&(i!==Ue&&Af(t[0])&&ie(i,t)?Z(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===$e&&Z(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return yi(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&ie(i,t)?(Z(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Ue&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)?(process.env.NODE_ENV!=="production"&&Z(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Z(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(a,t,{enumerable:!0,configurable:!0,value:n}):a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let o;return!!n[s]||e!==Ue&&ie(e,s)||yi(t,s)||(o=a[0])&&ie(o,s)||ie(r,s)||ie(dn,s)||ie(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Df.ownKeys=e=>(Z("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function eo(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cf=!0;function Rf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t);let l;return o?l=o:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>ur(l,c,s,!0)),ur(l,t,s)),ge(t)&&a.set(t,l),l}function ur(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&ur(e,a,n,!0),i&&i.forEach(s=>ur(e,s,n,!0));for(const s in t)if(r&&s==="expose")process.env.NODE_ENV!=="production"&&Z('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Tf[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Tf={data:to,props:ro,emits:ro,methods:mn,computed:mn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:mn,directives:mn,watch:Mf,provide:to,inject:Pf};function to(e,t){return t?e?function(){return Ae(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Pf(e,t){return mn(no(e),no(t))}function no(e){if(z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function mn(e,t){return e?Ae(Object.create(null),e,t):t}function ro(e,t){return e?z(e)&&z(t)?[...new Set([...e,...t])]:Ae(Object.create(null),eo(e),eo(t!=null?t:{})):t}function Mf(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=Ee(e[r],t[r]);return n}function Ff(){return{app:null,config:{isNativeTag:hu,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let io=null;function ao(e,t,n=!1){const r=Lt||$e;if(r||io){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:io._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Z(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Z("inject() can only be used inside setup() or functional components.")}const Vf={},so=e=>Object.getPrototypeOf(e)===Vf,kf=e=>e.__isTeleport,oo=Hf,Uf=Symbol.for("v-scx"),$f=()=>{{const e=ao(Uf);return e||process.env.NODE_ENV!=="production"&&Z("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},fr={};function vi(e,t,n){return process.env.NODE_ENV!=="production"&&!ae(t)&&Z("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),lo(e,t,n)}function lo(e,t,{immediate:n,deep:r,flush:i,once:a,onTrack:s,onTrigger:o}=Ue){if(t&&a){const y=t;t=(...C)=>{y(...C),N()}}process.env.NODE_ENV!=="production"&&r!==void 0&&typeof r=="number"&&Z('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&Z('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Z('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Z('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=y=>{Z("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=Lt,_=y=>r===!0?y:wt(y,r===!1?1:void 0);let f,m=!1,S=!1;if(be(e)?(f=()=>e.value,m=Ge(e)):Wt(e)?(f=()=>_(e),m=!0):z(e)?(S=!0,m=e.some(y=>Wt(y)||Ge(y)),f=()=>e.map(y=>{if(be(y))return y.value;if(Wt(y))return _(y);if(ae(y))return Ot(y,c,2);process.env.NODE_ENV!=="production"&&l(y)})):ae(e)?t?f=()=>Ot(e,c,2):f=()=>(L&&L(),un(e,c,3,[v])):(f=at,process.env.NODE_ENV!=="production"&&l(e)),t&&r){const y=f;f=()=>wt(y())}let L,v=y=>{L=E.onStop=()=>{Ot(y,c,4),L=E.onStop=void 0}},D;if(hr)if(v=at,t?n&&un(t,c,3,[f(),S?[]:void 0,v]):f(),i==="sync"){const y=$f();D=y.__watcherHandles||(y.__watcherHandles=[])}else return at;let g=S?new Array(e.length).fill(fr):fr;const O=()=>{if(!(!E.active||!E.dirty))if(t){const y=E.run();(r||m||(S?y.some((C,T)=>st(C,g[T])):st(y,g)))&&(L&&L(),un(t,c,3,[y,g===fr?void 0:S&&g[0]===fr?[]:g,v]),g=y)}else E.run()};O.allowRecurse=!!t;let h;i==="sync"?h=O:i==="post"?h=()=>oo(O,c&&c.suspense):(O.pre=!0,c&&(O.id=c.uid),h=()=>di(O));const E=new vs(f,at,h),w=Pu(),N=()=>{E.stop(),w&&Eu(w.effects,E)};return process.env.NODE_ENV!=="production"&&(E.onTrack=s,E.onTrigger=o),t?n?O():g=E.run():i==="post"?oo(E.run.bind(E),c&&c.suspense):E.run(),D&&D.push(N),N}function xf(e,t,n){const r=this.proxy,i=Me(e)?e.includes(".")?Wf(r,e):()=>r[e]:e.bind(r,r);let a;ae(t)?a=t:(a=t.handler,n=t);const s=_o(this),o=lo(i,a.bind(r),n);return s(),o}function Wf(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function wt(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,be(e))wt(e.value,t,n);else if(z(e))for(let r=0;r<e.length;r++)wt(e[r],t,n);else if(vu(e)||xt(e))e.forEach(r=>{wt(r,t,n)});else if(Iu(e)){for(const r in e)wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wt(e[r],t,n)}return e}function q_(){}const Bf=e=>e.__isSuspense;function Hf(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):Xs(e)}const dr=Symbol.for("v-fgt"),co=Symbol.for("v-txt"),pf=Symbol.for("v-cmt");let jt=null;function bi(e){return e?e.__v_isVNode===!0:!1}const jf=(...e)=>fo(...e),uo=({key:e})=>e!=null?e:null,mr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Me(e)||be(e)||ae(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function qf(e,t=null,n=null,r=0,i=null,a=e===dr?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&uo(t),ref:t&&mr(t),scopeId:Nf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$e};return o?(Ni(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Me(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&Z("VNode created with invalid key (NaN). VNode type:",l.type),!s&&jt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&jt.push(l),l}const qt=process.env.NODE_ENV!=="production"?jf:fo;function fo(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Lf)&&(process.env.NODE_ENV!=="production"&&!e&&Z(`Invalid vnode type when creating vnode: ${e}.`),e=pf),bi(e)){const o=_r(e,t,!0);return n&&Ni(o,n),!a&&jt&&(o.shapeFlag&6?jt[jt.indexOf(e)]=o:jt.push(o)),o.patchFlag=-2,o}if(Eo(e)&&(e=e.__vccOpts),t){t=Kf(t);let{class:o,style:l}=t;o&&!Me(o)&&(t.class=Jr(o)),ge(l)&&(ai(l)&&!z(l)&&(l=Ae({},l)),t.style=Xr(l))}const s=Me(e)?1:Bf(e)?128:kf(e)?64:ge(e)?4:ae(e)?2:0;return process.env.NODE_ENV!=="production"&&s&4&&ai(e)&&(e=W(e),Z("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
37
- Component that was made reactive: `,e)),qf(e,t,n,r,i,s,a,!0)}function Kf(e){return e?ai(e)||so(e)?Ae({},e):e:null}function _r(e,t,n=!1,r=!1){const{props:i,ref:a,patchFlag:s,children:o,transition:l}=e,c=t?Xf(i||{},t):i,_={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&uo(c),ref:t&&t.ref?n&&a?z(a)?a.concat(mr(t)):[a,mr(t)]:mr(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&z(o)?o.map(mo):o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dr?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_r(e.ssContent),ssFallback:e.ssFallback&&_r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ys(_,l.clone(_)),_}function mo(e){const t=_r(e);return z(e.children)&&(t.children=e.children.map(mo)),t}function Gf(e=" ",t=0){return qt(co,null,e,t)}function Ni(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ni(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!so(t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[Gf(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xf(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Jr([t.class,r.class]));else if(i==="style")t.style=Xr([t.style,r.style]);else if(gu(i)){const a=t[i],s=r[i];s&&a!==s&&!(z(a)&&a.includes(s))&&(t[i]=a?[].concat(a,s):s)}else i!==""&&(t[i]=r[i])}return t}Ff();let Lt=null;const Kt=()=>Lt||$e;let Ii;{const e=ys(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),a=>{i.length>1?i.forEach(s=>s(a)):i[0](a)}};Ii=t("__VUE_INSTANCE_SETTERS__",n=>Lt=n),t("__VUE_SSR_SETTERS__",n=>hr=n)}const _o=e=>{const t=Lt;return Ii(e),e.scope.on(),()=>{e.scope.off(),Ii(t)}};function Jf(e){return e.vnode.shapeFlag&4}let hr=!1;process.env.NODE_ENV;function Qf(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(af(Zu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dn)return dn[n](e)},has(t,n){return n in t||n in dn}})):e.proxy}const zf=/(?:^|[-_])(\w)/g,Zf=e=>e.replace(zf,t=>t.toUpperCase()).replace(/[-_]/g,"");function ho(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function go(e,t,n=!1){let r=ho(t);if(!r&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){const i=a=>{for(const s in a)if(a[s]===t)return s};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?Zf(r):n?"App":"Anonymous"}function Eo(e){return ae(e)&&"__vccOpts"in e}const xe=(e,t)=>{const n=ef(e,t,hr);if(process.env.NODE_ENV!=="production"){const r=Kt();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function yo(e,t,n){const r=arguments.length;return r===2?ge(t)&&!z(t)?bi(t)?qt(e,null,[t]):qt(e,t):qt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bi(n)&&(n=[n]),qt(e,t,n))}function Yf(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){return ge(f)?f.__isVue?["div",e,"VueInstance"]:be(f)?["div",{},["span",e,_(f)],"<",o(f.value),">"]:Wt(f)?["div",{},["span",e,Ge(f)?"ShallowReactive":"Reactive"],"<",o(f),`>${Ke(f)?" (readonly)":""}`]:Ke(f)?["div",{},["span",e,Ge(f)?"ShallowReadonly":"Readonly"],"<",o(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...a(f.$)]}};function a(f){const m=[];f.type.props&&f.props&&m.push(s("props",W(f.props))),f.setupState!==Ue&&m.push(s("setup",f.setupState)),f.data!==Ue&&m.push(s("data",W(f.data)));const S=l(f,"computed");S&&m.push(s("computed",S));const L=l(f,"inject");return L&&m.push(s("injected",L)),m.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),m}function s(f,m){return m=Ae({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(S=>["div",{},["span",r,S+": "],o(m[S],!1)])]]:["span",{}]}function o(f,m=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",r,f]:ge(f)?["object",{object:m?W(f):f}]:["span",n,String(f)]}function l(f,m){const S=f.type;if(ae(S))return;const L={};for(const v in f.ctx)c(S,v,m)&&(L[v]=f.ctx[v]);return L}function c(f,m,S){const L=f[S];if(z(L)&&L.includes(m)||ge(L)&&m in L||f.extends&&c(f.extends,m,S)||f.mixins&&f.mixins.some(v=>c(v,m,S)))return!0}function _(f){return Ge(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
35
+ `,...uf(i)),console.warn(...a)}cn(),oi=!1}function cf(){let e=Ot[Ot.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function uf(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
36
+ `],...ff(n))}),t}function ff({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${Eo(e.component,e.type,r)}`,a=">"+n;return e.props?[i,...df(e.props),a]:[i+a]}function df(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Ks(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Ks(e,t,n){return Pe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:be(t)?(t=Ks(e,W(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=W(t),n?t:[`${e}=`,t])}const li={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function St(e,t,n,r){try{return r?e(...r):e()}catch(i){ci(i,t,n)}}function fn(e,t,n,r){if(ae(e)){const i=St(e,t,n,r);return i&&Nu(i)&&i.catch(a=>{ci(a,t,n)}),i}if(z(e)){const i=[];for(let a=0;a<e.length;a++)i.push(fn(e[a],t,n,r));return i}else process.env.NODE_ENV!=="production"&&Z(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ci(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const s=t.proxy,o=process.env.NODE_ENV!=="production"?li[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let _=0;_<c.length;_++)if(c[_](e,s,o)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){ln(),St(l,null,10,[e,s,o]),cn();return}}mf(e,n,i,r)}function mf(e,t,n,r=!0){if(process.env.NODE_ENV!=="production"){const i=li[t];if(n&&of(n),Z(`Unhandled error${i?` during execution of ${i}`:""}`),n&&lf(),r)throw e;console.error(e)}else console.error(e)}let or=!1,ui=!1;const Fe=[];let dt=0;const Ht=[];let mt=null,wt=0;const Gs=Promise.resolve();let fi=null;const _f=100;function hf(e){const t=fi||Gs;return e?t.then(this?e.bind(this):e):t}function gf(e){let t=dt+1,n=Fe.length;for(;t<n;){const r=t+n>>>1,i=Fe[r],a=dn(i);a<e||a===e&&i.pre?t=r+1:n=r}return t}function di(e){(!Fe.length||!Fe.includes(e,or&&e.allowRecurse?dt+1:dt))&&(e.id==null?Fe.push(e):Fe.splice(gf(e.id),0,e),Xs())}function Xs(){!or&&!ui&&(ui=!0,fi=Gs.then(Qs))}function Js(e){z(e)?Ht.push(...e):(!mt||!mt.includes(e,e.allowRecurse?wt+1:wt))&&Ht.push(e),Xs()}function Ef(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,r)=>dn(n)-dn(r));if(Ht.length=0,mt){mt.push(...t);return}for(mt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),wt=0;wt<mt.length;wt++){const n=mt[wt];process.env.NODE_ENV!=="production"&&zs(e,n)||n.active!==!1&&n()}mt=null,wt=0}}const dn=e=>e.id==null?1/0:e.id,yf=(e,t)=>{const n=dn(e)-dn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qs(e){ui=!1,or=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),Fe.sort(yf);const t=process.env.NODE_ENV!=="production"?n=>zs(e,n):st;try{for(dt=0;dt<Fe.length;dt++){const n=Fe[dt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;St(n,n.i,n.i?15:14)}}}finally{dt=0,Fe.length=0,Ef(e),or=!1,fi=null,(Fe.length||Ht.length)&&Qs(e)}}function zs(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>_f){const r=t.i,i=r&&go(r.type);return ci(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const mi=new Map;process.env.NODE_ENV!=="production"&&(vs().__VUE_HMR_RUNTIME__={createRecord:_i(vf),rerender:_i(bf),reload:_i(Nf)});const lr=new Map;function vf(e,t){return lr.has(e)?!1:(lr.set(e,{initialDef:cr(t),instances:new Set}),!0)}function cr(e){return yo(e)?e.__vccOpts:e}function bf(e,t){const n=lr.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,cr(r.type).render=t),r.renderCache=[],r.effect.dirty=!0,r.update()}))}function Nf(e,t){const n=lr.get(e);if(!n)return;t=cr(t),Zs(n.initialDef,t);const r=[...n.instances];for(let i=0;i<r.length;i++){const a=r[i],s=cr(a.type);let o=mi.get(s);o||(s!==n.initialDef&&Zs(s,t),mi.set(s,o=new Set)),o.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(o.add(a),a.ceReload(t.styles),o.delete(a)):a.parent?(a.parent.effect.dirty=!0,di(()=>{a.parent.update(),o.delete(a)})):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Js(()=>{mi.clear()})}function Zs(e,t){Le(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function _i(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let pt,ur=[];function Ys(e,t){var n,r;pt=e,pt?(pt.enabled=!0,ur.forEach(({event:i,args:a})=>pt.emit(i,...a)),ur=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Ys(a,t)}),setTimeout(()=>{pt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ur=[])},3e3)):ur=[]}let $e=null,If=null;function eo(e,t){e.shapeFlag&6&&e.component?eo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function hi(e,t){return ae(e)?(()=>Le({name:e.name},t,{setup:e}))():e}function Of(e,t,n=At,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...s)=>{ln();const o=ho(n),l=fn(t,n,e,s);return o(),cn(),l});return r?i.unshift(a):i.push(a),a}else if(process.env.NODE_ENV!=="production"){const i=Su(li[e].replace(/ hook$/,""));Z(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const gi=e=>(t,n=At)=>{(!gr||e==="sp")&&Of(e,(...r)=>t(...r),n)},Sf=gi("bm"),wf=gi("m"),Lf=gi("um"),Af=Symbol.for("v-ndc"),Ei=e=>e?Qf(e)?zf(e):Ei(e.parent):null,mn=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?ar(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?ar(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?ar(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?ar(e.refs):e.refs,$parent:e=>Ei(e.parent),$root:e=>Ei(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Tf(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,di(e.update)}),$nextTick:e=>e.n||(e.n=hf.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Wf.bind(e):st}),Df=e=>e==="_"||e==="$",yi=(e,t)=>e!==Ue&&!e.__isScriptSetup&&ie(e,t),Cf={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:o,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const S=s[t];if(S!==void 0)switch(S){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(yi(r,t))return s[t]=1,r[t];if(i!==Ue&&ie(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ie(c,t))return s[t]=3,a[t];if(n!==Ue&&ie(n,t))return s[t]=4,n[t];(!__VUE_OPTIONS_API__||Rf)&&(s[t]=0)}}const _=mn[t];let f,m;if(_)return t==="$attrs"?(me(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&me(e,"get",t),_(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&ie(n,t))return s[t]=4,n[t];if(m=l.config.globalProperties,ie(m,t))return m[t];process.env.NODE_ENV!=="production"&&$e&&(!Pe(t)||t.indexOf("__v")!==0)&&(i!==Ue&&Df(t[0])&&ie(i,t)?Z(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===$e&&Z(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return yi(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&ie(i,t)?(Z(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Ue&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)?(process.env.NODE_ENV!=="production"&&Z(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Z(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(a,t,{enumerable:!0,configurable:!0,value:n}):a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let o;return!!n[s]||e!==Ue&&ie(e,s)||yi(t,s)||(o=a[0])&&ie(o,s)||ie(r,s)||ie(mn,s)||ie(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Cf.ownKeys=e=>(Z("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function to(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rf=!0;function Tf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t);let l;return o?l=o:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>fr(l,c,s,!0)),fr(l,t,s)),ge(t)&&a.set(t,l),l}function fr(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&fr(e,a,n,!0),i&&i.forEach(s=>fr(e,s,n,!0));for(const s in t)if(r&&s==="expose")process.env.NODE_ENV!=="production"&&Z('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Pf[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Pf={data:no,props:io,emits:io,methods:_n,computed:_n,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:_n,directives:_n,watch:Ff,provide:no,inject:Mf};function no(e,t){return t?e?function(){return Le(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Mf(e,t){return _n(ro(e),ro(t))}function ro(e){if(z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function _n(e,t){return e?Le(Object.create(null),e,t):t}function io(e,t){return e?z(e)&&z(t)?[...new Set([...e,...t])]:Le(Object.create(null),to(e),to(t!=null?t:{})):t}function Ff(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=Ee(e[r],t[r]);return n}function Vf(){return{app:null,config:{isNativeTag:gu,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ao=null;function so(e,t,n=!1){const r=At||$e;if(r||ao){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ao._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Z(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Z("inject() can only be used inside setup() or functional components.")}const kf={},oo=e=>Object.getPrototypeOf(e)===kf,Uf=e=>e.__isTeleport,lo=pf,$f=Symbol.for("v-scx"),xf=()=>{{const e=so($f);return e||process.env.NODE_ENV!=="production"&&Z("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},dr={};function vi(e,t,n){return process.env.NODE_ENV!=="production"&&!ae(t)&&Z("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),co(e,t,n)}function co(e,t,{immediate:n,deep:r,flush:i,once:a,onTrack:s,onTrigger:o}=Ue){if(t&&a){const y=t;t=(...C)=>{y(...C),N()}}process.env.NODE_ENV!=="production"&&r!==void 0&&typeof r=="number"&&Z('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&Z('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Z('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Z('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=y=>{Z("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=At,_=y=>r===!0?y:Lt(y,r===!1?1:void 0);let f,m=!1,S=!1;if(be(e)?(f=()=>e.value,m=Ge(e)):Wt(e)?(f=()=>_(e),m=!0):z(e)?(S=!0,m=e.some(y=>Wt(y)||Ge(y)),f=()=>e.map(y=>{if(be(y))return y.value;if(Wt(y))return _(y);if(ae(y))return St(y,c,2);process.env.NODE_ENV!=="production"&&l(y)})):ae(e)?t?f=()=>St(e,c,2):f=()=>(L&&L(),fn(e,c,3,[v])):(f=st,process.env.NODE_ENV!=="production"&&l(e)),t&&r){const y=f;f=()=>Lt(y())}let L,v=y=>{L=E.onStop=()=>{St(y,c,4),L=E.onStop=void 0}},D;if(gr)if(v=st,t?n&&fn(t,c,3,[f(),S?[]:void 0,v]):f(),i==="sync"){const y=xf();D=y.__watcherHandles||(y.__watcherHandles=[])}else return st;let g=S?new Array(e.length).fill(dr):dr;const O=()=>{if(!(!E.active||!E.dirty))if(t){const y=E.run();(r||m||(S?y.some((C,T)=>ot(C,g[T])):ot(y,g)))&&(L&&L(),fn(t,c,3,[y,g===dr?void 0:S&&g[0]===dr?[]:g,v]),g=y)}else E.run()};O.allowRecurse=!!t;let h;i==="sync"?h=O:i==="post"?h=()=>lo(O,c&&c.suspense):(O.pre=!0,c&&(O.id=c.uid),h=()=>di(O));const E=new bs(f,st,h),w=Mu(),N=()=>{E.stop(),w&&yu(w.effects,E)};return process.env.NODE_ENV!=="production"&&(E.onTrack=s,E.onTrigger=o),t?n?O():g=E.run():i==="post"?lo(E.run.bind(E),c&&c.suspense):E.run(),D&&D.push(N),N}function Wf(e,t,n){const r=this.proxy,i=Pe(e)?e.includes(".")?Bf(r,e):()=>r[e]:e.bind(r,r);let a;ae(t)?a=t:(a=t.handler,n=t);const s=ho(this),o=co(i,a.bind(r),n);return s(),o}function Bf(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Lt(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,be(e))Lt(e.value,t,n);else if(z(e))for(let r=0;r<e.length;r++)Lt(e[r],t,n);else if(bu(e)||xt(e))e.forEach(r=>{Lt(r,t,n)});else if(Ou(e)){for(const r in e)Lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Lt(e[r],t,n)}return e}function K_(){}const Hf=e=>e.__isSuspense;function pf(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):Js(e)}const mr=Symbol.for("v-fgt"),uo=Symbol.for("v-txt"),jf=Symbol.for("v-cmt");let jt=null;function bi(e){return e?e.__v_isVNode===!0:!1}const qf=(...e)=>mo(...e),fo=({key:e})=>e!=null?e:null,_r=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pe(e)||be(e)||ae(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function Kf(e,t=null,n=null,r=0,i=null,a=e===mr?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fo(t),ref:t&&_r(t),scopeId:If,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$e};return o?(Ni(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Pe(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&Z("VNode created with invalid key (NaN). VNode type:",l.type),!s&&jt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&jt.push(l),l}const qt=process.env.NODE_ENV!=="production"?qf:mo;function mo(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Af)&&(process.env.NODE_ENV!=="production"&&!e&&Z(`Invalid vnode type when creating vnode: ${e}.`),e=jf),bi(e)){const o=hr(e,t,!0);return n&&Ni(o,n),!a&&jt&&(o.shapeFlag&6?jt[jt.indexOf(e)]=o:jt.push(o)),o.patchFlag=-2,o}if(yo(e)&&(e=e.__vccOpts),t){t=Gf(t);let{class:o,style:l}=t;o&&!Pe(o)&&(t.class=Jr(o)),ge(l)&&(ai(l)&&!z(l)&&(l=Le({},l)),t.style=Xr(l))}const s=Pe(e)?1:Hf(e)?128:Uf(e)?64:ge(e)?4:ae(e)?2:0;return process.env.NODE_ENV!=="production"&&s&4&&ai(e)&&(e=W(e),Z("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
37
+ Component that was made reactive: `,e)),Kf(e,t,n,r,i,s,a,!0)}function Gf(e){return e?ai(e)||oo(e)?Le({},e):e:null}function hr(e,t,n=!1,r=!1){const{props:i,ref:a,patchFlag:s,children:o,transition:l}=e,c=t?Jf(i||{},t):i,_={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fo(c),ref:t&&t.ref?n&&a?z(a)?a.concat(_r(t)):[a,_r(t)]:_r(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&z(o)?o.map(_o):o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==mr?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&eo(_,l.clone(_)),_}function _o(e){const t=hr(e);return z(e.children)&&(t.children=e.children.map(_o)),t}function Xf(e=" ",t=0){return qt(uo,null,e,t)}function Ni(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ni(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!oo(t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[Xf(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jf(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Jr([t.class,r.class]));else if(i==="style")t.style=Xr([t.style,r.style]);else if(Eu(i)){const a=t[i],s=r[i];s&&a!==s&&!(z(a)&&a.includes(s))&&(t[i]=a?[].concat(a,s):s)}else i!==""&&(t[i]=r[i])}return t}Vf();let At=null;const Kt=()=>At||$e;let Ii;{const e=vs(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),a=>{i.length>1?i.forEach(s=>s(a)):i[0](a)}};Ii=t("__VUE_INSTANCE_SETTERS__",n=>At=n),t("__VUE_SSR_SETTERS__",n=>gr=n)}const ho=e=>{const t=At;return Ii(e),e.scope.on(),()=>{e.scope.off(),Ii(t)}};function Qf(e){return e.vnode.shapeFlag&4}let gr=!1;process.env.NODE_ENV;function zf(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(sf(Yu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}})):e.proxy}const Zf=/(?:^|[-_])(\w)/g,Yf=e=>e.replace(Zf,t=>t.toUpperCase()).replace(/[-_]/g,"");function go(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Eo(e,t,n=!1){let r=go(t);if(!r&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){const i=a=>{for(const s in a)if(a[s]===t)return s};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?Yf(r):n?"App":"Anonymous"}function yo(e){return ae(e)&&"__vccOpts"in e}const xe=(e,t)=>{const n=tf(e,t,gr);if(process.env.NODE_ENV!=="production"){const r=Kt();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function vo(e,t,n){const r=arguments.length;return r===2?ge(t)&&!z(t)?bi(t)?qt(e,null,[t]):qt(e,t):qt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bi(n)&&(n=[n]),qt(e,t,n))}function ed(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){return ge(f)?f.__isVue?["div",e,"VueInstance"]:be(f)?["div",{},["span",e,_(f)],"<",o(f.value),">"]:Wt(f)?["div",{},["span",e,Ge(f)?"ShallowReactive":"Reactive"],"<",o(f),`>${Ke(f)?" (readonly)":""}`]:Ke(f)?["div",{},["span",e,Ge(f)?"ShallowReadonly":"Readonly"],"<",o(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...a(f.$)]}};function a(f){const m=[];f.type.props&&f.props&&m.push(s("props",W(f.props))),f.setupState!==Ue&&m.push(s("setup",f.setupState)),f.data!==Ue&&m.push(s("data",W(f.data)));const S=l(f,"computed");S&&m.push(s("computed",S));const L=l(f,"inject");return L&&m.push(s("injected",L)),m.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),m}function s(f,m){return m=Le({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(S=>["div",{},["span",r,S+": "],o(m[S],!1)])]]:["span",{}]}function o(f,m=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",r,f]:ge(f)?["object",{object:m?W(f):f}]:["span",n,String(f)]}function l(f,m){const S=f.type;if(ae(S))return;const L={};for(const v in f.ctx)c(S,v,m)&&(L[v]=f.ctx[v]);return L}function c(f,m,S){const L=f[S];if(z(L)&&L.includes(m)||ge(L)&&m in L||f.extends&&c(f.extends,m,S)||f.mixins&&f.mixins.some(v=>c(v,m,S)))return!0}function _(f){return Ge(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
38
38
  * vue v3.4.35
39
39
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
40
40
  * @license MIT
41
- **/function ed(){Yf()}process.env.NODE_ENV!=="production"&&ed();function td(){return vo().__VUE_DEVTOOLS_GLOBAL_HOOK__}function vo(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const nd=typeof Proxy=="function",rd="devtools-plugin:setup",id="plugin:settings:set";let Gt,Oi;function ad(){var e;return Gt!==void 0||(typeof window!="undefined"&&window.performance?(Gt=!0,Oi=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(Gt=!0,Oi=globalThis.perf_hooks.performance):Gt=!1),Gt}function sd(){return ad()?Oi.now():Date.now()}class od{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const o=t.settings[s];r[s]=o.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const s=localStorage.getItem(i),o=JSON.parse(s);Object.assign(a,o)}catch(s){}this.fallbacks={getSettings(){return a},setSettings(s){try{localStorage.setItem(i,JSON.stringify(s))}catch(o){}a=s},now(){return sd()}},n&&n.on(id,(s,o)=>{s===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(s,o)=>this.target?this.target.on[o]:(...l)=>{this.onQueue.push({method:o,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...l)=>(this.targetQueue.push({method:o,args:l,resolve:()=>{}}),this.fallbacks[o](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:o,args:l,resolve:c})})})}setRealTarget(t){return Ye(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function ld(e,t){const n=e,r=vo(),i=td(),a=nd&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))i.emit(rd,e,t);else{const s=a?new od(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
41
+ **/function td(){ed()}process.env.NODE_ENV!=="production"&&td();function nd(){return bo().__VUE_DEVTOOLS_GLOBAL_HOOK__}function bo(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const rd=typeof Proxy=="function",id="devtools-plugin:setup",ad="plugin:settings:set";let Gt,Oi;function sd(){var e;return Gt!==void 0||(typeof window!="undefined"&&window.performance?(Gt=!0,Oi=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(Gt=!0,Oi=globalThis.perf_hooks.performance):Gt=!1),Gt}function od(){return sd()?Oi.now():Date.now()}class ld{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const o=t.settings[s];r[s]=o.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const s=localStorage.getItem(i),o=JSON.parse(s);Object.assign(a,o)}catch(s){}this.fallbacks={getSettings(){return a},setSettings(s){try{localStorage.setItem(i,JSON.stringify(s))}catch(o){}a=s},now(){return od()}},n&&n.on(ad,(s,o)=>{s===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(s,o)=>this.target?this.target.on[o]:(...l)=>{this.onQueue.push({method:o,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...l)=>(this.targetQueue.push({method:o,args:l,resolve:()=>{}}),this.fallbacks[o](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:o,args:l,resolve:c})})})}setRealTarget(t){return Ye(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function cd(e,t){const n=e,r=bo(),i=nd(),a=rd&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))i.emit(id,e,t);else{const s=a?new ld(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
42
42
  * vue-i18n v9.13.1
43
43
  * (c) 2024 kazuya kawaguchi
44
44
  * Released under the MIT License.
45
- */const cd="9.13.1";function ud(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1)}const bo=he.__EXTEND_POINT__,Xe=pn(bo),Y={FALLBACK_TO_ROOT:bo,NOT_SUPPORTED_PRESERVE:Xe(),NOT_SUPPORTED_FORMATTER:Xe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Xe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Xe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Xe(),NOT_FOUND_PARENT_SCOPE:Xe(),IGNORE_OBJ_FLATTEN:Xe(),NOTICE_DROP_ALLOW_COMPOSITION:Xe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Xe()},fd={[Y.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Y.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Y.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Y.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Y.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Y.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Y.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Y.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Ne(e,...t){return nn(fd[e],...t)}const No=de.__EXTEND_POINT__,Ie=pn(No),H={UNEXPECTED_RETURN_TYPE:No,INVALID_ARGUMENT:Ie(),MUST_BE_CALL_SETUP_TOP:Ie(),NOT_INSTALLED:Ie(),NOT_AVAILABLE_IN_LEGACY_MODE:Ie(),REQUIRED_VALUE:Ie(),INVALID_VALUE:Ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ie(),NOT_INSTALLED_WITH_PROVIDE:Ie(),UNEXPECTED_ERROR:Ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ie(),BRIDGE_SUPPORT_VUE_2_ONLY:Ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ie(),__EXTEND_POINT__:Ie()};function ue(e,...t){return Ft(e,null,process.env.NODE_ENV!=="production"?{messages:dd,args:t}:void 0)}const dd={[H.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[H.INVALID_ARGUMENT]:"Invalid argument",[H.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[H.NOT_INSTALLED]:"Need to install with `app.use` function",[H.UNEXPECTED_ERROR]:"Unexpected error",[H.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[H.REQUIRED_VALUE]:"Required in value: {0}",[H.INVALID_VALUE]:"Invalid value",[H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[H.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[H.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[H.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Si=Te("__translateVNode"),wi=Te("__datetimeParts"),Li=Te("__numberParts"),At=Te("__enableEmitter"),_n=Te("__disableEmitter"),Io=Te("__setPluralRules");Te("__intlifyMeta");const Oo=Te("__injectWithOption"),Ai=Te("__dispose");function hn(e){if(!p(e))return e;for(const t in e)if(!!Hn(e,t))if(!t.includes("."))p(e[t])&&hn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,a=!1;for(let s=0;s<r;s++){if(n[s]in i||(i[n[s]]={}),!p(i[n[s]])){process.env.NODE_ENV!=="production"&&ce(Ne(Y.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}i=i[n[s]]}a||(i[n[r]]=e[t],delete e[t]),p(i[n[r]])&&hn(i[n[r]])}return e}function gr(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,s=U(n)?n:Q(r)?{}:{[e]:{}};if(Q(r)&&r.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:l,resource:c}=o;l?(s[l]=s[l]||{},qn(c,s[l])):qn(c,s)}else M(o)&&qn(JSON.parse(o),s)}),i==null&&a)for(const o in s)Hn(s,o)&&hn(s[o]);return s}function So(e){return e.type}function wo(e,t,n){let r=p(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=gr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(p(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(p(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Lo(e){return qt(co,null,e,0)}const Ao="__INTLIFY_META__",Do=()=>[],md=()=>!1;let Co=0;function Ro(e){return(t,n,r,i)=>e(n,r,Kt()||void 0,i)}const _d=()=>{const e=Kt();let t=null;return e&&(t=So(e)[Ao])?{[Ao]:t}:null};function Di(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,a=e.flatJson,s=Re?Bt:ps,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&Da(Ne(Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=$(e.inheritLocale)?e.inheritLocale:!0;const c=s(n&&l?n.locale.value:M(e.locale)?e.locale:Ut),_=s(n&&l?n.fallbackLocale.value:M(e.fallbackLocale)||Q(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(gr(c.value,e)),m=s(U(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),S=s(U(e.numberFormats)?e.numberFormats:{[c.value]:{}});let L=n?n.missingWarn:$(e.missingWarn)||tt(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:$(e.fallbackWarn)||tt(e.fallbackWarn)?e.fallbackWarn:!0,D=n?n.fallbackRoot:$(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,O=X(e.missing)?e.missing:null,h=X(e.missing)?Ro(e.missing):null,E=X(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const y=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&Ga(null);const b={version:cd,locale:c.value,fallbackLocale:_.value,messages:f.value,modifiers:y,pluralRules:C,missing:h===null?void 0:h,missingWarn:L,fallbackWarn:v,fallbackFormat:g,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:w,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=m.value,b.numberFormats=S.value,b.__datetimeFormatters=U(T)?T.__datetimeFormatters:void 0,b.__numberFormatters=U(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(b.__v_emitter=U(T)?T.__v_emitter:void 0);const R=ru(b);return i&&Ga(R),R})(),an(T,c.value,_.value);function ve(){return[c.value,_.value,f.value,m.value,S.value]}const x=xe({get:()=>c.value,set:b=>{c.value=b,T.locale=c.value}}),se=xe({get:()=>_.value,set:b=>{_.value=b,T.fallbackLocale=_.value,an(T,c.value,b)}}),De=xe(()=>f.value),On=xe(()=>m.value),He=xe(()=>S.value);function Sn(){return X(E)?E:null}function wn(b){E=b,T.postTranslation=b}function Ln(){return O}function An(b){b!==null&&(h=Ro(b)),O=b,T.missing=h}function Dn(b,R){return b!=="translate"||!R.resolvedMessage}const Ce=(b,R,K,ne,ht,Dr)=>{ve();let Yt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&qa(_d()),i||(T.fallbackContext=n?nu():void 0),Yt=b(T)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&qa(null),i||(T.fallbackContext=void 0)}if(K!=="translate exists"&&oe(Yt)&&Yt===Xn||K==="translate exists"&&!Yt){const[Rt,U_]=R();if(process.env.NODE_ENV!=="production"&&n&&M(Rt)&&Dn(K,U_)&&(D&&(Qn(v,Rt)||Ja(L,Rt))&&ce(Ne(Y.FALLBACK_TO_ROOT,{key:Rt,type:K})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ll}=T;Ll&&D&&Ll.emit("fallback",{type:K,key:Rt,to:"global",groupId:`${K}:${Rt}`})}return n&&D?ne(n):ht(Rt)}else{if(Dr(Yt))return Yt;throw ue(H.UNEXPECTED_RETURN_TYPE)}};function Qt(...b){return Ce(R=>Reflect.apply(rs,null,[R,...b]),()=>jr(...b),"translate",R=>Reflect.apply(R.t,R,[...b]),R=>R,R=>M(R))}function zt(...b){const[R,K,ne]=b;if(ne&&!p(ne))throw ue(H.INVALID_ARGUMENT);return Qt(R,K,le({resolvedMessage:!0},ne||{}))}function Cn(...b){return Ce(R=>Reflect.apply(ls,null,[R,...b]),()=>qr(...b),"datetime format",R=>Reflect.apply(R.d,R,[...b]),()=>Jn,R=>M(R))}function Rn(...b){return Ce(R=>Reflect.apply(fs,null,[R,...b]),()=>Kr(...b),"number format",R=>Reflect.apply(R.n,R,[...b]),()=>Jn,R=>M(R))}function Tn(b){return b.map(R=>M(R)||oe(R)||$(R)?Lo(String(R)):R)}const Pn={normalize:Tn,interpolate:b=>b,type:"vnode"};function Zt(...b){return Ce(R=>{let K;const ne=R;try{ne.processor=Pn,K=Reflect.apply(rs,null,[ne,...b])}finally{ne.processor=null}return K},()=>jr(...b),"translate",R=>R[Si](...b),R=>[Lo(R)],R=>Q(R))}function Mn(...b){return Ce(R=>Reflect.apply(fs,null,[R,...b]),()=>Kr(...b),"number format",R=>R[Li](...b),Do,R=>M(R)||Q(R))}function Fn(...b){return Ce(R=>Reflect.apply(ls,null,[R,...b]),()=>qr(...b),"datetime format",R=>R[wi](...b),Do,R=>M(R)||Q(R))}function Vn(b){C=b,T.pluralRules=C}function P(b,R){return Ce(()=>{if(!b)return!1;const K=M(R)?R:c.value,ne=Ct(K),ht=T.messageResolver(ne,b);return o?ht!=null:it(ht)||Le(ht)||M(ht)},()=>[b],"translate exists",K=>Reflect.apply(K.te,K,[b,R]),md,K=>$(K))}function q(b){let R=null;const K=Ua(T,_.value,c.value);for(let ne=0;ne<K.length;ne++){const ht=f.value[K[ne]]||{},Dr=T.messageResolver(ht,b);if(Dr!=null){R=Dr;break}}return R}function kn(b){const R=q(b);return R!=null?R:n?n.tm(b)||{}:{}}function Ct(b){return f.value[b]||{}}function Un(b,R){if(a){const K={[b]:R};for(const ne in K)Hn(K,ne)&&hn(K[ne]);R=K[b]}f.value[b]=R,T.messages=f.value}function da(b,R){f.value[b]=f.value[b]||{};const K={[b]:R};if(a)for(const ne in K)Hn(K,ne)&&hn(K[ne]);R=K[b],qn(R,f.value[b]),T.messages=f.value}function u(b){return m.value[b]||{}}function d(b,R){m.value[b]=R,T.datetimeFormats=m.value,us(T,b,R)}function A(b,R){m.value[b]=le(m.value[b]||{},R),T.datetimeFormats=m.value,us(T,b,R)}function F(b){return S.value[b]||{}}function ee(b,R){S.value[b]=R,T.numberFormats=S.value,ms(T,b,R)}function J(b,R){S.value[b]=le(S.value[b]||{},R),T.numberFormats=S.value,ms(T,b,R)}Co++,n&&Re&&(vi(n.locale,b=>{l&&(c.value=b,T.locale=b,an(T,c.value,_.value))}),vi(n.fallbackLocale,b=>{l&&(_.value=b,T.fallbackLocale=b,an(T,c.value,_.value))}));const G={id:Co,locale:x,fallbackLocale:se,get inheritLocale(){return l},set inheritLocale(b){l=b,b&&n&&(c.value=n.locale.value,_.value=n.fallbackLocale.value,an(T,c.value,_.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:De,get modifiers(){return y},get pluralRules(){return C||{}},get isGlobal(){return i},get missingWarn(){return L},set missingWarn(b){L=b,T.missingWarn=L},get fallbackWarn(){return v},set fallbackWarn(b){v=b,T.fallbackWarn=v},get fallbackRoot(){return D},set fallbackRoot(b){D=b},get fallbackFormat(){return g},set fallbackFormat(b){g=b,T.fallbackFormat=g},get warnHtmlMessage(){return w},set warnHtmlMessage(b){w=b,T.warnHtmlMessage=b},get escapeParameter(){return N},set escapeParameter(b){N=b,T.escapeParameter=b},t:Qt,getLocaleMessage:Ct,setLocaleMessage:Un,mergeLocaleMessage:da,getPostTranslationHandler:Sn,setPostTranslationHandler:wn,getMissingHandler:Ln,setMissingHandler:An,[Io]:Vn};return G.datetimeFormats=On,G.numberFormats=He,G.rt=zt,G.te=P,G.tm=kn,G.d=Cn,G.n=Rn,G.getDateTimeFormat=u,G.setDateTimeFormat=d,G.mergeDateTimeFormat=A,G.getNumberFormat=F,G.setNumberFormat=ee,G.mergeNumberFormat=J,G[Oo]=r,G[Si]=Zt,G[wi]=Fn,G[Li]=Mn,process.env.NODE_ENV!=="production"&&(G[At]=b=>{T.__v_emitter=b},G[_n]=()=>{T.__v_emitter=void 0}),G}function hd(e){const t=M(e.locale)?e.locale:Ut,n=M(e.fallbackLocale)||Q(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=X(e.missing)?e.missing:void 0,i=$(e.silentTranslationWarn)||tt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=$(e.silentFallbackWarn)||tt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=$(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,l=U(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,_=X(e.postTranslation)?e.postTranslation:void 0,f=M(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,S=$(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let L=e.messages;if(U(e.sharedMessages)){const N=e.sharedMessages;L=Object.keys(N).reduce((C,T)=>{const j=C[T]||(C[T]={});return le(j,N[T]),C},L||{})}const{__i18n:v,__root:D,__injectWithOption:g}=e,O=e.datetimeFormats,h=e.numberFormats,E=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:L,flatJson:E,datetimeFormats:O,numberFormats:h,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:s,fallbackFormat:o,modifiers:l,pluralRules:c,postTranslation:_,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:S,translateExistCompatible:w,__i18n:v,__root:D,__injectWithOption:g}}function Ci(e={},t){{const n=Di(hd(e)),{__extender:r}=e,i={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return $(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=$(a)?!a:a},get silentFallbackWarn(){return $(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=$(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[s,o,l]=a,c={};let _=null,f=null;if(!M(s))throw ue(H.INVALID_ARGUMENT);const m=s;return M(o)?c.locale=o:Q(o)?_=o:U(o)&&(f=o),Q(l)?_=l:U(l)&&(f=l),Reflect.apply(n.t,n,[m,_||f||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[s,o,l]=a,c={plural:1};let _=null,f=null;if(!M(s))throw ue(H.INVALID_ARGUMENT);const m=s;return M(o)?c.locale=o:oe(o)?c.plural=o:Q(o)?_=o:U(o)&&(f=o),M(l)?c.locale=l:Q(l)?_=l:U(l)&&(f=l),Reflect.apply(n.t,n,[m,_||f||{},c])},te(a,s){return n.te(a,s)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,s){n.setLocaleMessage(a,s)},mergeLocaleMessage(a,s){n.mergeLocaleMessage(a,s)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,s){n.setDateTimeFormat(a,s)},mergeDateTimeFormat(a,s){n.mergeDateTimeFormat(a,s)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,s){n.setNumberFormat(a,s)},mergeNumberFormat(a,s){n.mergeNumberFormat(a,s)},getChoiceIndex(a,s){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return i.__extender=r,process.env.NODE_ENV!=="production"&&(i.__enableEmitter=a=>{const s=n;s[At]&&s[At](a)},i.__disableEmitter=()=>{const a=n;a[_n]&&a[_n]()}),i}}const Ri={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function gd({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===dr?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function To(e){return dr}const Ti=hi({name:"i18n-t",props:le({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>oe(e)||!isNaN(e)}},Ri),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=M(e.plural)?+e.plural:e.plural);const o=gd(t,a),l=i[Si](e.keypath,o,s),c=le({},r),_=M(e.tag)||p(e.tag)?e.tag:To();return yo(_,c,l)}}});function Ed(e){return Q(e)&&!M(e[0])}function Po(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const s={part:!0};let o={};e.locale&&(s.locale=e.locale),M(e.format)?s.key=e.format:p(e.format)&&(M(e.format.key)&&(s.key=e.format.key),o=Object.keys(e.format).reduce((m,S)=>n.includes(S)?le({},m,{[S]:e.format[S]}):m,{}));const l=r(e.value,s,o);let c=[s.key];Q(l)?c=l.map((m,S)=>{const L=i[m.type],v=L?L({[m.type]:m.value,index:S,parts:l}):[m.value];return Ed(v)&&(v[0].key=`${m.type}-${S}`),v}):M(l)&&(c=[l]);const _=le({},a),f=M(e.tag)||p(e.tag)?e.tag:To();return yo(f,_,c)}}const Mo=hi({name:"i18n-n",props:le({value:{type:Number,required:!0},format:{type:[String,Object]}},Ri),setup(e,t){const n=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return Po(e,t,ds,(...r)=>n[Li](...r))}}),Fo=hi({name:"i18n-d",props:le({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ri),setup(e,t){const n=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return Po(e,t,cs,(...r)=>n[wi](...r))}});function yd(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function vd(e){const t=s=>{const{instance:o,modifiers:l,value:c}=s;if(!o||!o.$)throw ue(H.UNEXPECTED_ERROR);const _=yd(e,o.$);process.env.NODE_ENV!=="production"&&l.preserve&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE));const f=Vo(c);return[Reflect.apply(_.t,_,[...ko(f)]),_]};return{created:(s,o)=>{const[l,c]=t(o);Re&&e.global===c&&(s.__i18nWatcher=vi(c.locale,()=>{o.instance&&o.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Re&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:o})=>{if(s.__composer){const l=s.__composer,c=Vo(o);s.textContent=Reflect.apply(l.t,l,[...ko(c)])}},getSSRProps:s=>{const[o]=t(s);return{textContent:o}}}}function Vo(e){if(M(e))return{path:e};if(U(e)){if(!("path"in e))throw ue(H.REQUIRED_VALUE,"path");return e}else throw ue(H.INVALID_VALUE)}function ko(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,s={},o=r||{};return M(n)&&(s.locale=n),oe(i)&&(s.plural=i),oe(a)&&(s.plural=a),[t,o,s]}function bd(e,t,...n){const r=U(n[0])?n[0]:{},i=!!r.useI18nComponentName,a=$(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&i&&ce(Ne(Y.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ti.name})),a&&([i?"i18n":Ti.name,"I18nT"].forEach(s=>e.component(s,Ti)),[Mo.name,"I18nN"].forEach(s=>e.component(s,Mo)),[Fo.name,"I18nD"].forEach(s=>e.component(s,Fo))),e.directive("t",vd(t))}const Pi={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},Nd={["vue-i18n-resource-inspector"]:"Search for scopes ..."},Id={["vue-i18n-timeline"]:16764185},Uo="vue-i18n: composer properties";let Mi;function Od(e,t){return Ye(this,null,function*(){return new Promise((n,r)=>{try{ld({id:"vue-devtools-plugin-vue-i18n",label:Pi["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Uo],app:e},i=>{Mi=i,i.on.visitComponentTree(({componentInstance:s,treeNode:o})=>{Sd(s,o,t)}),i.on.inspectComponent(({componentInstance:s,instanceData:o})=>{s.vnode.el&&s.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?s.vnode.el.__VUE_I18N__!==t.global.__composer&&xo(o,s.vnode.el.__VUE_I18N__):xo(o,s.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:Pi["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Nd["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Cd(s,t)});const a=new Map;i.on.getInspectorState(s=>Ye(this,null,function*(){if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),Td(s,t),s.nodeId==="global"){if(!a.has(s.app)){const[o]=yield i.getComponentInstances(s.app);a.set(s.app,o)}i.highlightElement(a.get(s.app))}else{const o=Rd(s.nodeId,t);o&&i.highlightElement(o)}})),i.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Md(s,t)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:Pi["vue-i18n-timeline"],color:Id["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})})}function $o(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Sd(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const i={label:`i18n (${$o(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(i)}}function xo(e,t){const n=Uo;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Fi(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Fi(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];X(r)&&"source"in r?t[n]=Dd(r):it(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:p(r)?t[n]=Fi(r):t[n]=r}),t}const wd={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function Ld(e){return e.replace(/[<>"&]/g,Ad)}function Ad(e){return wd[e]||e}function Dd(e){const t=e.source?`("${Ld(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function Cd(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,i]of t.__instances){const a=t.mode==="composition"?i:i.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${$o(r)} Scope`})}}function Rd(e,t){let n=null;if(e!=="global"){for(const[r,i]of t.__instances.entries())if(i.id.toString()===e){n=r;break}}return n}function Wo(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Td(e,t){const n=Wo(e.nodeId,t);return n&&(e.state=Pd(n)),null}function Pd(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const i="Locale messages info",a=[{type:i,key:"messages",editable:!1,value:Fi(e.messages.value)}];t[i]=a;{const s="Datetime formats info",o=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=o;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=c}return t}function gn(e,t){if(Mi){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Mi.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Md(e,t){const n=Wo(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&M(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(M(e.state.value)||Q(e.state.value)||p(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&$(e.state.value)&&(n.inheritLocale=e.state.value)}}function Fd(e,t,n){return{beforeCreate(){const r=Kt();if(!r)throw ue(H.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const a=i.i18n;if(i.__i18n&&(a.__i18n=i.__i18n),a.__root=t,this===this.$root)this.$i18n=Bo(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Ci(a);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Bo(e,i);else{this.$i18n=Ci({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&wo(t,i,i),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,s)=>this.$i18n.te(a,s),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const i=this.__v_emitter=Ur();r.__enableEmitter&&r.__enableEmitter(i),i.on("*",gn)}},unmounted(){const r=Kt();if(!r)throw ue(H.UNEXPECTED_ERROR);const i=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",gn),delete this.__v_emitter),this.$i18n&&(i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Bo(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Io](t.pluralizationRules||e.pluralizationRules);const n=gr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Vd=Te("global-vue-i18n");function kd(e={},t){const n=__VUE_I18N_LEGACY_API__&&$(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=$(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[s,o]=Ud(e,n),l=Te(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&i&&ce(Ne(Y.NOTICE_DROP_ALLOW_COMPOSITION));function c(m){return a.get(m)||null}function _(m,S){a.set(m,S)}function f(m){a.delete(m)}{let S;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},install(L,...v){return Ye(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(L.__VUE_I18N__=m),L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,m),U(v[0])){const O=v[0];m.__composerExtend=O.__composerExtend,m.__vueI18nExtend=O.__vueI18nExtend}let D=null;!n&&r&&(D=Kd(L,m.global)),__VUE_I18N_FULL_INSTALL__&&bd(L,m,...v),__VUE_I18N_LEGACY_API__&&n&&L.mixin(Fd(o,o.__composer,m));const g=L.unmount;if(L.unmount=()=>{D&&D(),m.dispose(),g()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield Od(L,m)))throw ue(H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const h=Ur();if(n){const E=o;E.__enableEmitter&&E.__enableEmitter(h)}else{const E=o;E[At]&&E[At](h)}h.on("*",gn)}})},get global(){return o},dispose(){s.stop()},__instances:a,__getInstance:c,__setInstance:_,__deleteInstance:f};return m}}function Vi(e={}){const t=Kt();if(t==null)throw ue(H.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ue(H.NOT_INSTALLED);const n=$d(t),r=Wd(n),i=So(t),a=xd(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ue(H.NOT_AVAILABLE_IN_LEGACY_MODE);return jd(t,a,r,e)}if(a==="global")return wo(r,e,i),r;if(a==="parent"){let l=Bd(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_FOUND_PARENT_SCOPE)),l=r),l}const s=n;let o=s.__getInstance(t);if(o==null){const l=le({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),o=Di(l),s.__composerExtend&&(o[Ai]=s.__composerExtend(o)),pd(s,t,o),s.__setInstance(t,o)}return o}function Ud(e,t,n){const r=Ru();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Ci(e)):r.run(()=>Di(e));if(i==null)throw ue(H.UNEXPECTED_ERROR);return[r,i]}}function $d(e){{const t=ao(e.isCE?Vd:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ue(e.isCE?H.NOT_INSTALLED_WITH_PROVIDE:H.UNEXPECTED_ERROR);return t}}function xd(e,t){return Bn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Wd(e){return e.mode==="composition"?e.global:e.global.__composer}function Bd(e,t,n=!1){let r=null;const i=t.root;let a=Hd(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const o=s.__getInstance(a);o!=null&&(r=o.__composer,n&&r&&!r[Oo]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function Hd(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pd(e,t,n){let r=null;Sf(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Ur();const i=n;i[At]&&i[At](r),r.on("*",gn)}},t),wf(()=>{const i=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",gn),i[_n]&&i[_n](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=i[Ai];a&&(a(),delete i[Ai])},t)}function jd(e,t,n,r={}){const i=t==="local",a=ps(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ue(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=$(r.inheritLocale)?r.inheritLocale:!M(r.locale),o=Bt(!i||s?n.locale.value:M(r.locale)?r.locale:Ut),l=Bt(!i||s?n.fallbackLocale.value:M(r.fallbackLocale)||Q(r.fallbackLocale)||U(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),c=Bt(gr(o.value,r)),_=Bt(U(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),f=Bt(U(r.numberFormats)?r.numberFormats:{[o.value]:{}}),m=i?n.missingWarn:$(r.missingWarn)||tt(r.missingWarn)?r.missingWarn:!0,S=i?n.fallbackWarn:$(r.fallbackWarn)||tt(r.fallbackWarn)?r.fallbackWarn:!0,L=i?n.fallbackRoot:$(r.fallbackRoot)?r.fallbackRoot:!0,v=!!r.fallbackFormat,D=X(r.missing)?r.missing:null,g=X(r.postTranslation)?r.postTranslation:null,O=i?n.warnHtmlMessage:$(r.warnHtmlMessage)?r.warnHtmlMessage:!0,h=!!r.escapeParameter,E=i?n.modifiers:U(r.modifiers)?r.modifiers:{},w=r.pluralRules||i&&n.pluralRules;function N(){return[o.value,l.value,c.value,_.value,f.value]}const y=xe({get:()=>a.value?a.value.locale.value:o.value,set:P=>{a.value&&(a.value.locale.value=P),o.value=P}}),C=xe({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:P=>{a.value&&(a.value.fallbackLocale.value=P),l.value=P}}),T=xe(()=>a.value?a.value.messages.value:c.value),j=xe(()=>_.value),ve=xe(()=>f.value);function x(){return a.value?a.value.getPostTranslationHandler():g}function se(P){a.value&&a.value.setPostTranslationHandler(P)}function De(){return a.value?a.value.getMissingHandler():D}function On(P){a.value&&a.value.setMissingHandler(P)}function He(P){return N(),P()}function Sn(...P){return a.value?He(()=>Reflect.apply(a.value.t,null,[...P])):He(()=>"")}function wn(...P){return a.value?Reflect.apply(a.value.rt,null,[...P]):""}function Ln(...P){return a.value?He(()=>Reflect.apply(a.value.d,null,[...P])):He(()=>"")}function An(...P){return a.value?He(()=>Reflect.apply(a.value.n,null,[...P])):He(()=>"")}function Dn(P){return a.value?a.value.tm(P):{}}function Ce(P,q){return a.value?a.value.te(P,q):!1}function Qt(P){return a.value?a.value.getLocaleMessage(P):{}}function zt(P,q){a.value&&(a.value.setLocaleMessage(P,q),c.value[P]=q)}function Cn(P,q){a.value&&a.value.mergeLocaleMessage(P,q)}function Rn(P){return a.value?a.value.getDateTimeFormat(P):{}}function Tn(P,q){a.value&&(a.value.setDateTimeFormat(P,q),_.value[P]=q)}function Ar(P,q){a.value&&a.value.mergeDateTimeFormat(P,q)}function Pn(P){return a.value?a.value.getNumberFormat(P):{}}function Zt(P,q){a.value&&(a.value.setNumberFormat(P,q),f.value[P]=q)}function Mn(P,q){a.value&&a.value.mergeNumberFormat(P,q)}const Fn={get id(){return a.value?a.value.id:-1},locale:y,fallbackLocale:C,messages:T,datetimeFormats:j,numberFormats:ve,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(P){a.value&&(a.value.inheritLocale=P)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:w},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(P){a.value&&(a.value.missingWarn=P)},get fallbackWarn(){return a.value?a.value.fallbackWarn:S},set fallbackWarn(P){a.value&&(a.value.missingWarn=P)},get fallbackRoot(){return a.value?a.value.fallbackRoot:L},set fallbackRoot(P){a.value&&(a.value.fallbackRoot=P)},get fallbackFormat(){return a.value?a.value.fallbackFormat:v},set fallbackFormat(P){a.value&&(a.value.fallbackFormat=P)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:O},set warnHtmlMessage(P){a.value&&(a.value.warnHtmlMessage=P)},get escapeParameter(){return a.value?a.value.escapeParameter:h},set escapeParameter(P){a.value&&(a.value.escapeParameter=P)},t:Sn,getPostTranslationHandler:x,setPostTranslationHandler:se,getMissingHandler:De,setMissingHandler:On,rt:wn,d:Ln,n:An,tm:Dn,te:Ce,getLocaleMessage:Qt,setLocaleMessage:zt,mergeLocaleMessage:Cn,getDateTimeFormat:Rn,setDateTimeFormat:Tn,mergeDateTimeFormat:Ar,getNumberFormat:Pn,setNumberFormat:Zt,mergeNumberFormat:Mn};function Vn(P){P.locale.value=o.value,P.fallbackLocale.value=l.value,Object.keys(c.value).forEach(q=>{P.mergeLocaleMessage(q,c.value[q])}),Object.keys(_.value).forEach(q=>{P.mergeDateTimeFormat(q,_.value[q])}),Object.keys(f.value).forEach(q=>{P.mergeNumberFormat(q,f.value[q])}),P.escapeParameter=h,P.fallbackFormat=v,P.fallbackRoot=L,P.fallbackWarn=S,P.missingWarn=m,P.warnHtmlMessage=O}return Of(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ue(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const P=a.value=e.proxy.$i18n.__composer;t==="global"?(o.value=P.locale.value,l.value=P.fallbackLocale.value,c.value=P.messages.value,_.value=P.datetimeFormats.value,f.value=P.numberFormats.value):i&&Vn(P)}),Fn}const qd=["locale","fallbackLocale","availableLocales"],Ho=["t","rt","d","n","tm","te"];function Kd(e,t){const n=Object.create(null);return qd.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a)throw ue(H.UNEXPECTED_ERROR);const s=be(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,i,s)}),e.config.globalProperties.$i18n=n,Ho.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a||!a.value)throw ue(H.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,a)}),()=>{delete e.config.globalProperties.$i18n,Ho.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}if(ud(),__INTLIFY_JIT_COMPILATION__?Ba(lu):Ba(ou),Yc(Mc),eu(Ua),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,Hc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(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 Xd(e,t,n){return t&&po(e.prototype,t),n&&po(e,n),e}function Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(){function e(){Gd(this,e)}return Xd(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(n,r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Cr;return kd({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){this.$i18n.global.setLocaleMessage(n,r)}}]),e}();Jd(k,"$i18n",k.resetI18n());function Qd(e,t,n){var r=t.replace(/\[(\d)]/g,function(a,s){return"."+s}).split("."),i=!1;return r.reduce(function(a,s,o,l){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,s)){Mr("Can not set ".concat(t,"'s ").concat(s," property in current %o, Because there is no ").concat(s," property on the %o"),a,a);return}return o===l.length-1&&!Object.is(c[s],n)&&(c[s]=n,i=!0),c[s]}},e),i}var zd=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Zd={exports:{}};(function(e){(function(t){var n=function(g,O,h){if(!c(O)||f(O)||m(O)||S(O)||l(O))return O;var E,w=0,N=0;if(_(O))for(E=[],N=O.length;w<N;w++)E.push(n(g,O[w],h));else{E={};for(var y in O)Object.prototype.hasOwnProperty.call(O,y)&&(E[g(y,h)]=n(g,O[y],h))}return E},r=function(g,O){O=O||{};var h=O.separator||"_",E=O.split||/(?=[A-Z])/;return g.split(E).join(h)},i=function(g){return L(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(O,h){return h?h.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},a=function(g){var O=i(g);return O.substr(0,1).toUpperCase()+O.substr(1)},s=function(g,O){return r(g,O).toLowerCase()},o=Object.prototype.toString,l=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},_=function(g){return o.call(g)=="[object Array]"},f=function(g){return o.call(g)=="[object Date]"},m=function(g){return o.call(g)=="[object RegExp]"},S=function(g){return o.call(g)=="[object Boolean]"},L=function(g){return g=g-0,g===g},v=function(g,O){var h=O&&"process"in O?O.process:O;return typeof h!="function"?g:function(E,w){return h(E,g,w)}},D={camelize:i,decamelize:s,pascalize:a,depascalize:s,camelizeKeys:function(g,O){return n(v(i,O),g)},decamelizeKeys:function(g,O){return n(v(s,O),g,O)},pascalizeKeys:function(g,O){return n(v(a,O),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(zd)})(Zd);var jo={};Object.defineProperty(jo,"__esModule",{value:!0});function ki(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ki(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ki(r)}return t}}var Yd=jo.default=ki;function em(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Je(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":em(e))==="object"?Yd(e):e}function tm(e){return Object.prototype.toString.call(e)==="[object Object]"}function nm(e){return Array.isArray(e)}function rm(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function Ui(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function im(e){if(Array.isArray(e))return Ui(e)}function qo(e,t,n,r,i,a,s){try{var o=e[a](s),l=o.value}catch(c){n(c);return}o.done?t(l):Promise.resolve(l).then(r,i)}function am(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(l){qo(a,r,i,s,o,"next",l)}function o(l){qo(a,r,i,s,o,"throw",l)}s(void 0)})}}function sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(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 om(e,t,n){return t&&Ko(e.prototype,t),n&&Ko(e,n),e}function Go(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $i(e){return im(e)||lm(e)||um(e)||cm()}function um(e,t){if(!!e){if(typeof e=="string")return Ui(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ui(e,t)}}function fm(e,t){var n,r,i,a,s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(_){return l([c,_])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,r=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){s.label=c[1];break}if(c[0]===6&&s.label<i[1]){s.label=i[1],i=c;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(c);break}i[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(_){c=[6,_],r=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var dm=function(){function e(){sm(this,e),Go(this,"_events",new Map),Go(this,"debug",!1)}return om(e,[{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var s=this;return am(function(){var o,l,c,_,f,m,S,L,v,D,g,O;return fm(this,function(h){switch(h.label){case 0:if(o=s._events.get(n),l=[],!o)return[3,10];c=o.slice(),_=!0,f=!1,m=void 0,h.label=1;case 1:h.trys.push([1,8,9,10]),S=c[Symbol.iterator](),h.label=2;case 2:if(_=(L=S.next()).done)return[3,7];if(v=L.value,!o.includes(v))return[3,6];h.label=3;case 3:return h.trys.push([3,5,,6]),s.debug&&ba.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat($i(i))),[4,v.apply(null,$i(i))];case 4:return D=h.sent(),s.debug&&ba.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat($i(i),[D])),l.push(D),D===!1?[3,7]:[3,6];case 5:return g=h.sent(),Wl(String(g)+":"+String(g.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return O=h.sent(),f=!0,m=O,[3,10];case 9:try{!_&&S.return!=null&&S.return()}finally{if(f)throw m}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var i;(i=this._events.get(n))===null||i===void 0||i.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var i=this._events.get(n),a=i==null?void 0:i.indexOf(r);i==null||i.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xo(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 _m(e,t,n){return t&&Xo(e.prototype,t),n&&Xo(e,n),e}function hm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gm=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Em=function(){function e(){mm(this,e)}return _m(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(i){return r.includes(i.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],i=n.eventKeys;r=r.concat(e.events.filter(function(s){return i.includes(s.key)}));var a=n.customEvents.map(function(s){var o=s.key;return s.namespace!==void 0&&s.namespace!==null&&s.namespace!==""&&(o=s.namespace+":"+s.key),{key:o,code:s.key,name:s.name}});return r=r.concat(a),r}}]),e}();hm(Em,"events",gm);function Er(e,t){var n;(n=Object.getOwnPropertyDescriptors(e)[t])!=null&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function xi(e,t,n){n!=="Runtime"&&(e.parent=t,Er(e,"parent"))}function Jo(e,t,n){e.forEach(r=>{xi(r,t,n)})}const Qo=Symbol("targetKey");function zo(e){var t;return(t=e[Qo])!=null?t:e}function Zo(e,t,n){return Jo(e,t,n),new Proxy(e,{get(r,i,...a){return i===Qo?r:Reflect.get(r,i,...a)},set(r,i,a,...s){if(nm(e)&&i==="length"&&a===e.length)return!0;const o=Reflect.set(r,i,a,...s);return tm(a)&&xi(a,t,n),o}})}function mt(e,t,n,r,i){const a=r!=null?r:e;let s=Zo(zo(n!=null?n:[]),a,i);Object.defineProperty(e,t,{get(){return s},set(o){s=Zo(zo(o),a,i)},enumerable:!0})}const Yo=[],Wi=class{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}static staticGetRules(e,t){const n=Wi.staticControlsRuntimeRules.get(e);let r=[];if(n){const i=new n(t);r=Array.from(i)}return r}registerControlConfig(e,t){return this.controlConfigMap.set(e,t),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e,t){const{Designer:n,Runtime:r,Property:i}=e;(!n||!r||!n.__is_control__||!r.__is_control__)&&Vr(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(s=>s.Designer.controlType===n.controlType);return a>-1&&(Mr(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),i.mode=t,this}getControls(){return this._controls}register(e){e.__is_control__||Vr(`${e.name} is not a Control`);const t=this._controls.findIndex(n=>n.controlType===e.controlType);return t>-1&&(Mr(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(t,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===pe.LAYOUT}isFormControl(e){return e.controlType===pe.FORM}isListControl(e){return e.controlType===pe.LIST}isColumnControl(e){return e.controlType===pe.COLUMN}createControl(e,t){if(Array.isArray(e))return e.map(r=>this.createControl(r,t));if(e.children&&(e.children=e.children.map(r=>this.createControl(r,t))),this.isListControl(e)){const r=e.props;r.headers&&(r.headers=r.headers.map(i=>this.createControl(i,t)))}const n=this.getControlFormType(e.type);if(n){let r=e;if(typeof t=="function"){const a=t(r);a&&(r=a)}let i;return n.mode==="Runtime"?(i=r,i.fieldType=n.controlFieldType,this._setParentPrototypeToSchema(i,this)):i=new n(r),i}else Vr(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}resetInstanceParent(e,t){delete e.parent,Object.defineProperty(e,"parent",{configurable:!0,get(){return t}}),Er(e,"parent")}_setParentPrototypeToSchema(e,t){t._type==="Runtime"&&(Object.defineProperty(e,"parent",{configurable:!0,get(){const n=e.id,r=t._controlParentIdMap,i=t.instanceMap;if(!r||!i)return;const a=r[n],s=i[n];if(!a&&!s)return;const o=s.findIndex(_=>_==e),l=i[a]||[];let c;return l.length!==s.length?c=l[0]:c=l[o],c}}),Er(e,"parent"))}createControlInstance(e,t){const n=this.getControlFormType(e);if(n)return new n(t)}getControlFormType(e){return this._controls.find(t=>t.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(t=>{this.register(t[e]),Wi.staticControlsRuntimeRules.set(t.Runtime.controlType,t.Property.RuntimeRules),t.Property.mode=e})}};let En=Wi;En.staticControlsRuntimeRules=new Map,En.staticControls=Yo,En.staticRegisteredTypes=new Set(Yo.map(e=>e.Designer.controlType)),En.staticRegisteredConfigs=new Map;class We{constructor(t){var n,r,i;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:"",this.aliasCode=t==null?void 0:t.aliasCode}}class Bi{constructor(t){var n,r;this.minWidth=(n=t==null?void 0:t.minWidth)!=null?n:150,this.maxWidth=t==null?void 0:t.maxWidth,this.flex=(r=t==null?void 0:t.flex)!=null?r:1}}class Hi{constructor(t){var n,r,i,a;this.rowHeightType=(n=t==null?void 0:t.rowHeightType)!=null?n:"fixed",this.minRows=(r=t==null?void 0:t.minRows)!=null?r:4,this.maxRows=(i=t==null?void 0:t.maxRows)!=null?i:20,this.fiexdRow=(a=t==null?void 0:t.fiexdRow)!=null?a:4}}class ym{constructor(t){this.pc=new Hi(t==null?void 0:t.pc),this.mobile=new Hi(t==null?void 0:t.mobile)}}class yr extends Bi{constructor(t){var n,r;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:240,this.widthType=(r=t==null?void 0:t.widthType)!=null?r:"auto"}}class vm{constructor(t){this.pc=new yr(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new yr(t==null?void 0:t.mobile):new yr({width:130,minWidth:180})}}class bm{constructor(t){var n,r;this.type=(n=t==null?void 0:t.type)!=null?n:"firstThree",this.customOptions=(r=t==null?void 0:t.customOptions)!=null?r:[]}}class vr{constructor(t){var n,r,i;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.formKey=(r=t==null?void 0:t.formKey)!=null?r:"",this.appId=(i=t==null?void 0:t.appId)!=null?i:""}}class Nm extends vr{constructor(t){var n;super(t),this.primaryControlId=(n=t==null?void 0:t.primaryControlId)!=null?n:""}}class el{constructor(t){var n,r;this.fieldCode=(n=t==null?void 0:t.fieldCode)!=null?n:"",this.dataCode=(r=t==null?void 0:t.dataCode)!=null?r:""}}class Im{constructor(t){var n,r,i,a;this.appId=(n=t==null?void 0:t.appId)!=null?n:"",this.formKey=(r=t==null?void 0:t.formKey)!=null?r:"",this.headers=(a=(i=t==null?void 0:t.headers)==null?void 0:i.map(s=>new el(s)))!=null?a:[]}}class tl{constructor(t){var n,r,i;this.fieldName=(n=t==null?void 0:t.fieldName)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:Oe.VARCHAR}}class nl extends vr{constructor(t){var n,r,i,a;super(t),this.title=(n=t==null?void 0:t.title)!=null?n:"",this.svcCode=(r=t==null?void 0:t.svcCode)!=null?r:"",this.isOpenFilter=(i=t==null?void 0:t.isOpenFilter)!=null?i:!1,this.filters=(a=t==null?void 0:t.filters)!=null?a:[]}}class Om{constructor(t){var n,r,i,a;this.type="sublist-page",this.formBind=new vr(t==null?void 0:t.formBind),this.displayFields=(r=(n=t==null?void 0:t.displayFields)==null?void 0:n.map(s=>new tl(s)))!=null?r:[],this.sublists=(a=(i=t==null?void 0:t.sublists)==null?void 0:i.map(s=>new nl(s)))!=null?a:[]}}class rl{constructor(t){this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode}}class pi{constructor(t){var n,r,i;this.type=(n=t==null?void 0:t.type)!=null?n:"custom",this.value=(r=t==null?void 0:t.value)!=null?r:[],this.displayBos=(i=t==null?void 0:t.displayBos)!=null?i:[]}}class Xt{constructor(t){var n,r,i,a;this.type="conditions",this.id=(n=t==null?void 0:t.id)!=null?n:et(),this.ruleId=(r=t==null?void 0:t.ruleId)!=null?r:new Date().valueOf(),this.level=(i=t==null?void 0:t.level)!=null?i:0,this.value=(a=t==null?void 0:t.value)!=null?a:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(s=>{var o,l;if(s.children!==void 0){const c=new Xt(s);(o=this.children)==null||o.push(c)}else{const c=new yn(s);(l=this.children)==null||l.push(c)}}))}}class yn{constructor(t){var n,r,i,a,s;this.type="condition",this.id=(n=t==null?void 0:t.id)!=null?n:et(),this.ruleId=(r=t==null?void 0:t.ruleId)!=null?r:new Date().valueOf(),this.symbol=(i=t==null?void 0:t.symbol)!=null?i:"",this.checked=(a=t==null?void 0:t.checked)!=null?a:!1,this.describe=(s=t==null?void 0:t.describe)!=null?s:"",this.leftVariableBo=new rl(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new pi(t==null?void 0:t.rightVariableBo)}}class Sm{constructor(t){var n,r;this.aliasCode=(n=t==null?void 0:t.aliasCode)!=null?n:"",this.datasourceBind=new br(t==null?void 0:t.datasourceBind),this.relationFields=(r=t==null?void 0:t.relationFields)!=null?r:[]}}class il{constructor(t){var n,r,i,a;this.controlId=(n=t==null?void 0:t.controlId)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:"",this.propName=(a=t==null?void 0:t.propName)!=null?a:""}}class ji{constructor(t){var n,r;this.type=(n=t==null?void 0:t.type)!=null?n:"FIELD",this.value=(r=t==null?void 0:t.value)!=null?r:"",this.fieldType=t==null?void 0:t.fieldType}}class wm{constructor(t){var n,r;this.title=(n=t==null?void 0:t.title)!=null?n:"",this.displayBoList=(r=t==null?void 0:t.displayBoList)!=null?r:[]}}class qi{constructor(t){var n,r;this.columnName=(n=t.columnName)!=null?n:"",this.desc=(r=t.desc)!=null?r:!1}}class al{constructor(t){var n,r,i;this.code=(n=t.code)!=null?n:"",this.value=(r=t.value)!=null?r:"",this.field_type=(i=t.field_type)!=null?i:Oe.ANY}}class Lm{constructor(t){var n,r,i,a,s,o,l;this.id=(n=t.id)!=null?n:"",this.limit=(r=t.limit)!=null?r:20,this.formKey=(i=t.formKey)!=null?i:"",this.orders=(s=(a=t.orders)==null?void 0:a.map(c=>new qi(c)))!=null?s:[],this.dataSet=(l=(o=t.dataSet)==null?void 0:o.map(c=>new al(c)))!=null?l:[]}}function Ki(e){var t,n,r,i,a,s;this.filters=(n=(t=e==null?void 0:e.filters)==null?void 0:t.map(o=>o.children!==void 0?new Xt(o):new yn(o)))!=null?n:[],this.viewFilters=(i=(r=e==null?void 0:e.viewFilters)==null?void 0:r.map(o=>o.children!==void 0?new Xt(o):new yn(o)))!=null?i:[],this.orders=(s=(a=e==null?void 0:e.orders)==null?void 0:a.map(o=>new qi(o)))!=null?s:[]}class br{constructor(t){var n,r,i,a,s,o,l;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(r=t==null?void 0:t.appId)!=null?r:"",this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!=null?i:"",this.displayBoList=[],this.isOpenViewFilters=(a=t==null?void 0:t.isOpenViewFilters)!=null?a:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(c=>{var _;(_=this.displayBoList)==null||_.push(new ji(c))})),this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!=null?s:"",this.showOrder=(o=t==null?void 0:t.showOrder)!=null?o:!0,this.svcCode=(l=t==null?void 0:t.svcCode)!=null?l:"",Ki.call(this,t)}}class Am{constructor(t){var n,r;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.displayBoList=(r=t==null?void 0:t.displayBoList)!=null?r:[]}}class Dm{constructor(t){var n,r,i,a,s,o,l,c,_,f;this.code=(n=t==null?void 0:t.code)!=null?n:"view",this.color=(r=t==null?void 0:t.color)!=null?r:"primary",this.command=(i=t==null?void 0:t.command)!=null?i:"view",this.confirmMessage=(a=t==null?void 0:t.confirmMessage)!=null?a:void 0,this.defaultState=(s=t==null?void 0:t.defaultState)!=null?s:"default",this.formKey=(o=t==null?void 0:t.formKey)!=null?o:void 0,this.formType=t==null?void 0:t.formType,this.icon=(l=t==null?void 0:t.icon)!=null?l:"iconliulan1",this.needConfirm=(c=t==null?void 0:t.needConfirm)!=null?c:!1,this.openType=(_=t==null?void 0:t.openType)!=null?_:"modal",this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!=null?f:!0}}class Gi{constructor(t){var n,r,i,a;this.name=(n=t==null?void 0:t.name)!=null?n:"",this.key=(r=t==null?void 0:t.key)!=null?r:"",this.value=(a=(i=t==null?void 0:t.value)==null?void 0:i.map(s=>new ji(s)))!=null?a:[]}}class sl extends br{constructor(t){var n,r;super(t),this.attributes=(r=(n=t==null?void 0:t.attributes)==null?void 0:n.map(i=>new Gi(i)))!=null?r:[]}}class Cm extends br{constructor(t){var n,r,i;super(t),this.attributes=(r=(n=t==null?void 0:t.attributes)==null?void 0:n.map(a=>new Gi(a)))!=null?r:[],this.formCode=(i=t==null?void 0:t.formCode)!=null?i:""}}class Rm extends sl{constructor(t){var n;super(t),this.rootNode=new pi(t==null?void 0:t.rootNode),this.filterCode=(n=t==null?void 0:t.filterCode)!=null?n:""}}class ol{constructor(t){var n,r,i,a;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(r=t==null?void 0:t.appId)!=null?r:"",this.fillList=(a=(i=t==null?void 0:t.fillList)==null?void 0:i.map(s=>new il(s)))!=null?a:[]}}class Tm extends ol{constructor(t){super(t),Ki.call(this,t)}}class Pm extends ol{constructor(t){var n,r;super(t),this.mode=(n=t==null?void 0:t.mode)!=null?n:"current",this.multiple=(r=t==null?void 0:t.multiple)!=null?r:!1}}class Mm{constructor(t){var n,r,i;this.zh=(n=t==null?void 0:t.zh)!=null?n:"",this.en=(r=t==null?void 0:t.en)!=null?r:"",this.ja=(i=t==null?void 0:t.ja)!=null?i:""}}class Fm{constructor(t){var n,r,i;this.stencilName=(n=t==null?void 0:t.stencilName)!=null?n:"",this.expression=(r=t==null?void 0:t.expression)!=null?r:"",this.errMessage=(i=t==null?void 0:t.errMessage)!=null?i:""}}class Xi{constructor(t){var n,r,i;this.id=(n=t==null?void 0:t.id)!=null?n:et(8),this.label=(r=t==null?void 0:t.label)!=null?r:"",this.value=(i=t==null?void 0:t.value)!=null?i:this.label}}class ll extends Xi{constructor(t){var n,r;super(t),this.image=(n=t==null?void 0:t.image)!=null?n:"",this.type=(r=t==null?void 0:t.type)!=null?r:"src"}}function Vm(e){var t;return(t=e==null?void 0:e.map(n=>new Xi(n)))!=null?t:[]}function km(e){var t;return(t=e==null?void 0:e.map(n=>new ll(n)))!=null?t:[]}class Nr{}class Um extends Nr{constructor(t){super(),this.amount=new We(t==null?void 0:t.amount),this.currency=new We(t==null?void 0:t.currency)}}class $m{constructor(t){var n,r;this.amount=(n=t==null?void 0:t.amount)!=null?n:"",this.currency=(r=t==null?void 0:t.currency)!=null?r:Ji.CNY}}class xm extends Nr{constructor(t){super(),this.min=new We(t==null?void 0:t.min),this.max=new We(t==null?void 0:t.max)}}class Wm{constructor(t){var n,r;this.min=(n=t==null?void 0:t.min)!=null?n:"",this.max=(r=t==null?void 0:t.max)!=null?r:""}}class Bm{constructor(t){var n,r,i,a,s,o;this.city=(n=t==null?void 0:t.city)!=null?n:"",this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!=null?r:"",this.district=(i=t==null?void 0:t.district)!=null?i:"",this.districtDisplay=(a=t==null?void 0:t.districtDisplay)!=null?a:"",this.province=(s=t==null?void 0:t.province)!=null?s:"",this.provinceDisplay=(o=t==null?void 0:t.provinceDisplay)!=null?o:""}}class Hm extends Nr{constructor(t){super(),this.result=new We(t==null?void 0:t.result),this.unit=new We(t==null?void 0:t.unit)}}class pm{constructor(t){var n,r;this.result=(n=t==null?void 0:t.result)!=null?n:0,this.unit=(r=t==null?void 0:t.unit)!=null?r:""}}var Ji=(e=>(e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP",e))(Ji||{}),cl=(e=>(e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e))(cl||{}),Qi=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e))(Qi||{});class jm{constructor(t){var n,r,i,a,s,o;this.isShow=(n=t==null?void 0:t.isShow)!=null?n:!0,this.content=(r=t==null?void 0:t.content)!=null?r:"",this.formKey=(i=t==null?void 0:t.formKey)!=null?i:"",this.openType=(a=t==null?void 0:t.openType)!=null?a:"modal",this.type=(s=t==null?void 0:t.type)!=null?s:"",this.priorityProcess=(o=t==null?void 0:t.priorityProcess)!=null?o:!1}}class qm{constructor(t){var n,r,i,a;this.id=(n=t==null?void 0:t.id)!=null?n:et(8),this.title=(r=t==null?void 0:t.title)!=null?r:"",this.headers=(a=(i=t==null?void 0:t.headers)==null?void 0:i.map(s=>new el(s)))!=null?a:[],Ki.call(this,t)}}class Km{constructor(t){var n,r;this.key=(n=t.key)!=null?n:et(8),this.caption=(r=t.caption)!=null?r:""}}class ul{constructor(t){var n,r,i,a;this.width=(n=t==null?void 0:t.width)!=null?n:"",this.height=(r=t==null?void 0:t.height)!=null?r:"",this.widthConfig=(i=t==null?void 0:t.widthConfig)!=null?i:"fill",this.heightConfig=(a=t==null?void 0:t.heightConfig)!=null?a:"fill"}}class Gm{constructor(t){var n,r;this.optCode=(n=t==null?void 0:t.optCode)!=null?n:"",this.optType=(r=t==null?void 0:t.optType)!=null?r:""}}class fl{constructor(t){var n,r,i,a,s,o;this.id=(n=t==null?void 0:t.id)!=null?n:et(),this.name=(r=t==null?void 0:t.name)!=null?r:"",this.filters=(a=(i=t==null?void 0:t.filters)==null?void 0:i.map(l=>l.children!==void 0?new Xt(l):new yn(l)))!=null?a:[],this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(o=(s=t==null?void 0:t.settings)==null?void 0:s.map(l=>new dl(l)))!=null?o:[]:[],this.script=t==null?void 0:t.script}}class dl{constructor(t){var n,r,i,a;this.type=(n=t.type)!=null?n:"background",this.fieldCodes=(r=t.fieldCodes)!=null?r:[],this.color=(i=t.color)!=null?i:"theme",this.scope=(a=t.scope)!=null?a:"row"}}class Xm{constructor(t){var n,r,i,a;this.type=(n=t==null?void 0:t.type)!=null?n:"none",this.interval=(r=t==null?void 0:t.interval)!=null?r:{color:""},this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(a=(i=t==null?void 0:t.rules)==null?void 0:i.map(s=>new fl(s)))!=null?a:[]:[]}}class Ir{constructor(t){this.isHide={type:"boolean"}}}class zi extends Array{constructor(t){super()}}class Qe{constructor(t,n=""){var r,i;this.isHide=(r=t==null?void 0:t.isHide)!=null?r:!1,this.style=new ul(t==null?void 0:t.style),this.caption=(i=t==null?void 0:t.caption)!=null?i:n}}Qe.Rules=Ir,Qe.RuntimeRules=zi;function Be(){return Be=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},Be.apply(this,arguments)}function Jm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function Or(e,t){return Or=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Or(e,t)}function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Sr(e,t,n){return Qm()?Sr=Reflect.construct:Sr=function(i,a,s){var o=[null];o.push.apply(o,a);var l=Function.bind.apply(i,o),c=new l;return s&&Or(c,s.prototype),c},Sr.apply(null,arguments)}function zm(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yi(e){var t=typeof Map=="function"?new Map:void 0;return Yi=function(r){if(r===null||!zm(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Sr(r,arguments,Zi(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Or(i,r)},Yi(e)}var Zm=/%[sdj%]/g,ml=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ml=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function ea(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function we(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],a=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var s=String(i).replace(Zm,function(o){if(o==="%%")return"%";if(r>=a)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(l){return"[Circular]"}break;default:return o}});return s}return i}function Ym(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function fe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ym(t)&&typeof e=="string"&&!e)}function e_(e,t,n){var r=[],i=0,a=e.length;function s(o){r.push.apply(r,o),i++,i===a&&n(r)}e.forEach(function(o){t(o,s)})}function _l(e,t,n){var r=0,i=e.length;function a(s){if(s&&s.length){n(s);return}var o=r;r=r+1,o<i?t(e[o],a):n([])}a([])}function t_(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var hl=function(e){Jm(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(Yi(Error));function n_(e,t,n,r){if(t.first){var i=new Promise(function(f,m){var S=function(D){return r(D),D.length?m(new hl(D,ea(D))):f()},L=t_(e);_l(L,n,S)});return i.catch(function(f){return f}),i}var a=t.firstFields||[];a===!0&&(a=Object.keys(e));var s=Object.keys(e),o=s.length,l=0,c=[],_=new Promise(function(f,m){var S=function(v){if(c.push.apply(c,v),l++,l===o)return r(c),c.length?m(new hl(c,ea(c))):f()};s.length||(r(c),f()),s.forEach(function(L){var v=e[L];a.indexOf(L)!==-1?_l(v,n,S):e_(v,n,S)})});return _.catch(function(f){return f}),_}function gl(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function El(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Be(Be({},e[n]),r):e[n]=r}}return e}function yl(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||fe(t,a||e.type))&&r.push(we(i.messages.required,e.fullField))}function r_(e,t,n,r,i){(/^\s+$/.test(t)||t==="")&&r.push(we(i.messages.whitespace,e.fullField))}var ta={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},vn={integer:function(t){return vn.number(t)&&parseInt(t,10)===t},float:function(t){return vn.number(t)&&!vn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!vn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(ta.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ta.url)},hex:function(t){return typeof t=="string"&&!!t.match(ta.hex)}};function i_(e,t,n,r,i){if(e.required&&t===void 0){yl(e,t,n,r,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;a.indexOf(s)>-1?vn[s](t)||r.push(we(i.messages.types[s],e.fullField,e.type)):s&&typeof t!==e.type&&r.push(we(i.messages.types[s],e.fullField,e.type))}function a_(e,t,n,r,i){var a=typeof e.len=="number",s=typeof e.min=="number",o=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,_=null,f=typeof t=="number",m=typeof t=="string",S=Array.isArray(t);if(f?_="number":m?_="string":S&&(_="array"),!_)return!1;S&&(c=t.length),m&&(c=t.replace(l,"_").length),a?c!==e.len&&r.push(we(i.messages[_].len,e.fullField,e.len)):s&&!o&&c<e.min?r.push(we(i.messages[_].min,e.fullField,e.min)):o&&!s&&c>e.max?r.push(we(i.messages[_].max,e.fullField,e.max)):s&&o&&(c<e.min||c>e.max)&&r.push(we(i.messages[_].range,e.fullField,e.min,e.max))}var Jt="enum";function s_(e,t,n,r,i){e[Jt]=Array.isArray(e[Jt])?e[Jt]:[],e[Jt].indexOf(t)===-1&&r.push(we(i.messages[Jt],e.fullField,e[Jt].join(", ")))}function o_(e,t,n,r,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(we(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||r.push(we(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:yl,whitespace:r_,type:i_,range:a_,enum:s_,pattern:o_};function l_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"string")&&!e.required)return n();B.required(e,t,r,a,i,"string"),fe(t,"string")||(B.type(e,t,r,a,i),B.range(e,t,r,a,i),B.pattern(e,t,r,a,i),e.whitespace===!0&&B.whitespace(e,t,r,a,i))}n(a)}function c_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}function u_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(t===""&&(t=void 0),fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function f_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}function d_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),fe(t)||B.type(e,t,r,a,i)}n(a)}function m_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function __(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function h_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(t==null&&!e.required)return n();B.required(e,t,r,a,i,"array"),t!=null&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function g_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}var E_="enum";function y_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B[E_](e,t,r,a,i)}n(a)}function v_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"string")&&!e.required)return n();B.required(e,t,r,a,i),fe(t,"string")||B.pattern(e,t,r,a,i)}n(a)}function b_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"date")&&!e.required)return n();if(B.required(e,t,r,a,i),!fe(t,"date")){var o;t instanceof Date?o=t:o=new Date(t),B.type(e,o,r,a,i),o&&B.range(e,o.getTime(),r,a,i)}}n(a)}function N_(e,t,n,r,i){var a=[],s=Array.isArray(t)?"array":typeof t;B.required(e,t,r,a,i,s),n(a)}function na(e,t,n,r,i){var a=e.type,s=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(fe(t,a)&&!e.required)return n();B.required(e,t,r,s,i,a),fe(t,a)||B.type(e,t,r,s,i)}n(s)}function I_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i)}n(a)}var bn={string:l_,method:c_,number:u_,boolean:f_,regexp:d_,integer:m_,float:__,array:h_,object:g_,enum:y_,pattern:v_,date:b_,url:na,hex:na,email:na,required:N_,any:I_};function ra(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ia=ra();function _t(e){this.rules=null,this._messages=ia,this.define(e)}_t.prototype={messages:function(t){return t&&(this._messages=El(ra(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var i=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var a=t,s=n,o=r;if(typeof s=="function"&&(o=s,s={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function l(v){var D,g=[],O={};function h(E){if(Array.isArray(E)){var w;g=(w=g).concat.apply(w,E)}else g.push(E)}for(D=0;D<v.length;D++)h(v[D]);g.length?O=ea(g):(g=null,O=null),o(g,O)}if(s.messages){var c=this.messages();c===ia&&(c=ra()),El(c,s.messages),s.messages=c}else s.messages=this.messages();var _,f,m={},S=s.keys||Object.keys(this.rules);S.forEach(function(v){_=i.rules[v],f=a[v],_.forEach(function(D){var g=D;typeof g.transform=="function"&&(a===t&&(a=Be({},a)),f=a[v]=g.transform(f)),typeof g=="function"?g={validator:g}:g=Be({},g),g.validator=i.getValidationMethod(g),g.field=v,g.fullField=g.fullField||v,g.type=i.getType(g),g.validator&&(m[v]=m[v]||[],m[v].push({rule:g,value:f,source:a,field:v}))})});var L={};return n_(m,s,function(v,D){var g=v.rule,O=(g.type==="object"||g.type==="array")&&(typeof g.fields=="object"||typeof g.defaultField=="object");O=O&&(g.required||!g.required&&v.value),g.field=v.field;function h(N,y){return Be(Be({},y),{},{fullField:g.fullField+"."+N})}function E(N){N===void 0&&(N=[]);var y=N;if(Array.isArray(y)||(y=[y]),!s.suppressWarning&&y.length&&_t.warning("async-validator:",y),y.length&&g.message!==void 0&&(y=[].concat(g.message)),y=y.map(gl(g)),s.first&&y.length)return L[g.field]=1,D(y);if(!O)D(y);else{if(g.required&&!v.value)return g.message!==void 0?y=[].concat(g.message).map(gl(g)):s.error&&(y=[s.error(g,we(s.messages.required,g.field))]),D(y);var C={};if(g.defaultField)for(var T in v.value)v.value.hasOwnProperty(T)&&(C[T]=g.defaultField);C=Be(Be({},C),v.rule.fields);for(var j in C)if(C.hasOwnProperty(j)){var ve=Array.isArray(C[j])?C[j]:[C[j]];C[j]=ve.map(h.bind(null,j))}var x=new _t(C);x.messages(s.messages),v.rule.options&&(v.rule.options.messages=s.messages,v.rule.options.error=s.error),x.validate(v.value,v.rule.options||s,function(se){var De=[];y&&y.length&&De.push.apply(De,y),se&&se.length&&De.push.apply(De,se),D(De.length?De:null)})}}var w;g.asyncValidator?w=g.asyncValidator(g,v.value,E,v.source,s):g.validator&&(w=g.validator(g,v.value,E,v.source,s),w===!0?E():w===!1?E(g.message||g.field+" fails"):w instanceof Array?E(w):w instanceof Error&&E(w.message)),w&&w.then&&w.then(function(){return E()},function(N){return E(N)})},function(v){l(v)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!bn.hasOwnProperty(t.type))throw new Error(we("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?bn.required:bn[this.getType(t)]||!1}},_t.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");bn[t]=n},_t.warning=ml,_t.messages=ia,_t.validators=bn;const O_={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function vl(e,t={}){const n=new _t(e);return n.messages(Object.assign(O_,t)),n}const bl=new dm;class ye{constructor(t){var m,S,L,v;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Il,this.removeSetting=Nl,this._callControlHooks("preInstance",t);const{controlName:n,controlIcon:r,controlType:i,controlFieldType:a,controlEventKeys:s,controlCustomEvents:o,name:l,setting:c,slots:_,slotPosition:f}=new.target;n&&r&&i||Na(`The ${l} controlName,controlIcon,controlType is not define`),this.id=(m=t==null?void 0:t.id)!=null?m:et(10),this.name=n,this.icon=r,this.type=(S=t==null?void 0:t.type)!=null?S:i,this.props=new Qe(t==null?void 0:t.props,new.target.controlName),this.controlType=(L=t==null?void 0:t.controlType)!=null?L:"base",this.setting=Je(c),this.fieldType=(v=t==null?void 0:t.fieldType)!=null?v:a,this.eventKeys=Je(s),this.customEvents=Je(o),this.slots=Je(_),this.slotPosition=Je(f),Promise.resolve().then(()=>{this._callControlHooks("postInstance",t)})}get rules(){const t=this.props.constructor.Rules;return t?new t(this.props):{}}_callControlHooks(...t){const[n,...r]=t;return bl.emit(n,this,...r)}preUpdate(t,n){this._callControlHooks("preUpdateProps",t,n)}postUpdate(t,n){this._callControlHooks("postUpdateProps",t,n)}updateProps(t,n){this.preUpdate(t,n),Qd(this.props,t,n),this.postUpdate(t,n)}preValidate(){return Ye(this,null,function*(){const t=Ze({},this.rules),n=yield this._callControlHooks("preValidate",t),r=n[n.length-1];return r===!1?void 0:r})}validate(t,n){return Ye(this,null,function*(){const r=yield this.preValidate(),i=r!==void 0?r:Ze({},this.rules);Array.isArray(n)&&n.forEach(s=>{i.hasOwnProperty(s)&&delete i[s]});const a=vl(i,t);try{return yield a.validate(this.props),!0}catch(s){throw s.control||(s.control=this),s}})}toDataBindModel(t=null){const n=this.fieldType,r=this.id,i=this.type,{dataBind:a,datasourceBind:s,optionConfig:o,caption:l,required:c,maxLength:_,options:f,encrypted:m,encryptedMode:S}=this.props;if(!n&&!a&&!s)return;const L={parentId:t,fieldType:n,controlId:r,caption:l,type:i,props:{}};switch(a&&(L.dataBind=a),o){case"datasource":case void 0:s&&(L.datasourceBind=s);break;case"custom":L.props.options=f;break}return c!==void 0&&(L.required=c),_!==void 0&&(L.maxLength=_),m!==void 0&&(L.encrypted=m),S!==void 0&&(L.encryptedMode=S),L}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(t,n){t==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}ye.mode="Designer",ye.controlName="\u63A7\u4EF6",ye.controlIcon="icon",ye.controlType="control",ye.controlEventKeys=[],ye.controlCustomEvents=[],ye.setting=[],ye.__is_control__=!0,ye.removeSettingItem=Nl,ye.updateSettingItem=Il;function Nl(e){(Array.isArray(e)?e:[e]).forEach(n=>{var a,s,o;const r=typeof n!="string",i=(a=this.setting)==null?void 0:a.findIndex(l=>l.key===(r?n.key:n));i!==-1&&(r?this.setting[i].showItems=(s=this.setting[i].showItems)==null?void 0:s.filter(l=>!n.hideItems.includes(l)):this.setting.splice(i,1),r&&!((o=this.setting[i].showItems)!=null&&o.length)&&this.setting.splice(i,1))})}function Il(e,t){(typeof e=="string"?[e]:e).forEach(r=>{var a;const i=this.setting.find(s=>s.key===r);i&&(typeof t=="boolean"?i.visible=t:typeof t=="object"&&(((a=t.type)!=null?a:"replace")==="replace"?i.showItems=t.showItems:i.showItems.push(...t.showItems)))})}class ze{constructor(t){var s,o,l,c,_;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:r,name:i,controlCustomEvents:a}=new.target;n||Na(`The ${i} controlType is not define`),this.id=(s=t==null?void 0:t.id)!=null?s:et(10),this.type=(o=t==null?void 0:t.type)!=null?o:n,this.props=new Qe(t==null?void 0:t.props),this.customEvents=a,this.controlType=(l=t==null?void 0:t.controlType)!=null?l:"base",this.fieldType=(c=t==null?void 0:t.fieldType)!=null?c:r,this.pageStatus=(_=t==null?void 0:t.pageStatus)!=null?_:Qi.UNKNOWN}get rules(){const t=this.props.constructor.RuntimeRules;if(t){const n=new t(this.props);return Array.from(n)}return[]}}ze.mode="Runtime",ze.controlType="control",ze.__is_control__=!0,ze.controlCustomEvents=[];function aa(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:k.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:k.getMessage("pleaseEnterValue")}}}},{type:"array",validator(t,n,r){n.length===0&&r(k.getMessage("optionIsRequired")),r()}},{type:"array",validator(t,n,r){const i=n.map(s=>s.value),a=rm(i);i.length!==a.length?r(k.getMessage("optionIdIsRepeat")):r()},message:k.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",validator(t,n,r){n.length===0&&r(k.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:k.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:k.getMessage("isNotBoolean")}}}}]}}])}function S_(e,t,n=!1){this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:k.getMessage("isNotString")},key:{type:"string",required:!0,message:k.getMessage("isNotString")},value:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",validator(r,i,a){i.length===0&&a(k.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:k.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:k.getMessage("isNotBoolean")}}}}]}}]}function Ol(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}class sa extends Ir{constructor(t){super(t),this.dataBind={},this.caption={type:"string",required:!0,message:k.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:k.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")}};if(Ol(t.dataBind))this.dataBind={type:"object",required:!0,fields:Je(n),message:k.getMessage("pleaseEnterFieldCode")};else{let r={type:"object",required:!0,fields:{},message:k.getMessage("pleaseEnterFieldCode")};Object.keys(t.dataBind).forEach(i=>{r.fields[i]={type:"object",required:!0,fields:Je(n),message:k.getMessage("pleaseEnterFieldCode")}}),this.dataBind=r}t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Sl extends zi{constructor(t){super(t);const n=t.isHide?!1:t.required;n&&this.push({type:"string",required:n,message:t.requiredMessage!==""?t.requiredMessage:k.getMessage("runtimeRequired",{caption:t.caption})})}}class Nn extends Qe{constructor(t){var n,r,i,a,s,o,l,c,_,f;super(t),this.caption=(n=t==null?void 0:t.caption)!=null?n:"",this.isHideCaption=(r=t==null?void 0:t.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(i=t==null?void 0:t.isShowCaptionTip)!=null?i:!1,this.captionTip=(a=t==null?void 0:t.captionTip)!=null?a:"",this.defaultState=(s=t==null?void 0:t.defaultState)!=null?s:"default",this.labelPosition=(o=t==null?void 0:t.labelPosition)!=null?o:"top",this.placeholder=(l=t==null?void 0:t.placeholder)!=null?l:"",this.required=(c=t==null?void 0:t.required)!=null?c:!1,this.requiredMessage=(_=t==null?void 0:t.requiredMessage)!=null?_:"",this.dataBind=new We(t==null?void 0:t.dataBind),this.defaultValue=(f=t==null?void 0:t.defaultValue)!=null?f:""}}Nn.Rules=sa,Nn.RuntimeRules=Sl;class w_ extends sa{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource"],message:k.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:k.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")}],aa.call(this,t)}}class wl extends ye{constructor(t){super(t),this.controlType="form",this.props=new Nn(t==null?void 0:t.props)}}wl.controlEventKeys=["on_change","on_focus","on_blur"];class L_ extends ze{constructor(t){super(t),this.controlType="form",this.props=new Nn(t==null?void 0:t.props)}}class In extends Qe{constructor(t){super(t)}}const A_=1e4;class Dt extends ye{constructor(t){super(t),this.controlType="layout";const{excludes:n,childrenMaxLength:r}=new.target;this.props=new In(t==null?void 0:t.props),mt(this,"children",t==null?void 0:t.children,void 0,"Designer"),this.excludes=Je(n),this.childrenMaxLength=r}judgeExcludesChildren(t){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t)}judgeJoinChildren(t){const n=this.judgeExcludesChildren(t);return n&&this.childrenMaxLength>this.children.length}validate(t,n){return Ye(this,null,function*(){return yield ma(Dt.prototype,this,"validate").call(this,t,n),yield Promise.all(this.children.map(r=>r.validate(t,n))),!0})}toDataBindModel(t=null){const n=super.toDataBindModel(),r=n?[n]:[];return this.children.reduce((i,a)=>{const s=a.toDataBindModel(t);if(Array.isArray(s)){const o=s.filter(l=>!!l);return[...i,...o]}return s&&i.push(s),i},r)}toSchema(){const t=super.toSchema(),n=this.children.map(r=>r.toSchema());return Tt(Ze({},t),{children:n})}}Dt.excludes=!1,Dt.childrenMaxLength=A_;class oa extends ze{constructor(t){super(t),this.controlType="layout",this.props=new In(t==null?void 0:t.props),mt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class la extends Qe{constructor(t,n,r){var i,a,s,o;super(n),mt(this,"headers",n==null?void 0:n.headers,t,r),mt(this,"footers",n==null?void 0:n.footers,t),this.pageIndex=(i=n==null?void 0:n.pageIndex)!=null?i:1,this.pageSize=(a=n==null?void 0:n.pageSize)!=null?a:20,this.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!=null?s:[20],this.totalCount=(o=n==null?void 0:n.totalCount)!=null?o:0}}class wr extends ye{constructor(t){super(t),this.controlType="list",this.props=new la(this,t==null?void 0:t.props,"Designer")}validate(t,n){return Ye(this,null,function*(){return yield ma(wr.prototype,this,"validate").call(this,t),yield Promise.all(this.props.headers.map(r=>r.validate(t,n))),!0})}toDataBindModel(){const t=super.toDataBindModel(),n=t?[t]:[],r=this.id;return this.props.headers.reduce((i,a)=>{const s=a.toDataBindModel(r);if(Array.isArray(s)){const o=s.filter(l=>!!l);return[...i,...o]}return s&&i.push(s),i},n)}toSchema(){const t=super.toSchema(),n=this.props.headers.map(r=>r.toSchema());return Tt(Ze({},t),{props:Tt(Ze({},this.props),{headers:n})})}}wr.controlFieldType=Oe.LIST;class D_ extends ze{constructor(t){super(t),this.controlType="list",this.props=new la(this,t==null?void 0:t.props,"Runtime"),mt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}get length(){return this.children.length}}class ca extends Ir{constructor(t){super(t),this.caption={type:"string",required:!0,message:k.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:k.getMessage("pleaseEnterColumnWidth")},this.width.required=t.widthType==="px"}}class Lr extends Qe{constructor(t){var n,r,i,a,s;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:150,this.widthType=(t==null?void 0:t.widthType)||"auto",this.caption=(r=t==null?void 0:t.caption)!=null?r:"",this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"none",this.autoWidth=new Bi(t==null?void 0:t.autoWidth),this.dataBind=new We(t==null?void 0:t.dataBind),this.sort=(a=t==null?void 0:t.sort)!=null?a:!0,this.align=t==null?void 0:t.align,this.colSpan=t==null?void 0:t.colSpan,this.autoHeight=(s=t==null?void 0:t.autoHeight)!=null?s:!1}}Lr.Rules=ca;class C_ extends ca{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:k.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:k.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")}],aa.call(this,t)}}class R_ extends ye{constructor(t){super(t),this.controlType="column",this.props=new Lr(t==null?void 0:t.props),mt(this,"children",t==null?void 0:t.children,void 0,"Designer")}toSchema(){const t=super.toSchema();return Tt(Ze({},t),{children:this.children?this.children.map(n=>n.toSchema()):[]})}}class T_ extends ze{constructor(t){super(t),this.controlType="column",this.props=new Lr(t==null?void 0:t.props),mt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class ua extends In{constructor(t){super(t),this.dataBind=new We(t==null?void 0:t.dataBind)}}class P_ extends Dt{constructor(t){super(t),this.controlType="search",this.props=new ua(t==null?void 0:t.props)}}class M_ extends oa{constructor(t){super(t),this.controlType="search",this.props=new ua(t==null?void 0:t.props)}}class fa extends In{constructor(t){super(t)}}class F_ extends Dt{constructor(t){super(t),this.controlType="wrap",this.props=new fa(t==null?void 0:t.props)}}class V_ extends oa{constructor(t){super(t),this.controlType="wrap",this.props=new fa(t==null?void 0:t.props)}}function k_(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:k.getMessage("pleaseEnterForm")}}}])}I.AMOUNT_TYPE=Ji,I.AddressValue=Bm,I.AmountDataBind=Um,I.AmountValue=$m,I.AutoWidth=Bi,I.BaseControlProperty=Nn,I.BaseControlPropertyRules=sa,I.BaseControlPropertyRuntimeRules=Sl,I.BaseStyle=ul,I.COMMON_SETTING_TYPE=cl,I.CalcDataBind=Hm,I.CalcValue=pm,I.ColumnControlProperty=Lr,I.ColumnControlPropertyRules=ca,I.ColumnOptionAndDataSourcePropertyRules=C_,I.CustomAttributeItem=Gi,I.CustomPermissionItem=Km,I.DataBind=We,I.DataSourceBind=br,I.DataSourceDataSetValue=al,I.DataSourceOrderItem=qi,I.DataSourceParamItem=Lm,I.DataStorageDoc=bm,I.DesignerColumnControl=R_,I.DesignerControl=ye,I.DesignerFormControl=wl,I.DesignerLayoutControl=Dt,I.DesignerListControl=wr,I.DesignerSearchControl=P_,I.DesignerWrapControl=F_,I.DisplayBoListItem=ji,I.FieldBindItem=tl,I.FieldFilterCondition=yn,I.FieldFilterConditions=Xt,I.FillBackBind=Pm,I.FillPayloadBind=Tm,I.FormBind=vr,I.FormSelectBind=Nm,I.ImageOptionSetting=ll,I.JoinRelation=Sm,I.Language=Mm,I.LayoutControlProperty=In,I.LeftVariable=rl,I.LinkOperationOption=Dm,I.ListBind=Im,I.ListControlProperty=la,I.MetaAutoWidth=vm,I.MetaRowHeight=ym,I.MetaWidth=yr,I.MultistageFillingItem=il,I.ObjectDataBind=Nr,I.OperationItem=jm,I.OptObject=Gm,I.OptionAndDataSourcePropertyRules=w_,I.OptionDisplayConfigItem=wm,I.OptionSetting=Xi,I.OrganizationDataSourceBind=Cm,I.PAGE_STATUS=Qi,I.Property=Qe,I.PropertyRules=Ir,I.PropertyRuntimeRules=zi,I.RangeDataBind=xm,I.RangeDateValue=Wm,I.RegisterControls=En,I.RegularRules=Fm,I.RightVariable=pi,I.RowHeight=Hi,I.RowStyle=Xm,I.RowStyleRule=fl,I.RowStyleSettings=dl,I.RuntimeColumnControl=T_,I.RuntimeControl=ze,I.RuntimeFormControl=L_,I.RuntimeLayoutControl=oa,I.RuntimeListControl=D_,I.RuntimeSearchControl=M_,I.RuntimeWrapControl=V_,I.SearchControlProperty=ua,I.SelectedContentConfig=Am,I.SubListItem=nl,I.SubListPageConfig=Om,I.SuperDataSourceBind=sl,I.TreeDataSourceBind=Rm,I.ViewOperationItem=qm,I.WrapControlProperty=fa,I.controlHooksEmitter=bl,I.createValidator=vl,I.defineArrayParent=Jo,I.defineControlArrayToProperty=mt,I.defineParent=xi,I.initImageOptions=km,I.initLinkOperationRules=k_,I.initOptionAndDataSourceRules=aa,I.initOptions=Vm,I.initSuperDataSourceRules=S_,I.isDataBind=Ol,I.setPropertyDontEnum=Er,Object.defineProperty(I,"__esModule",{value:!0})});
45
+ */const ud="9.13.1";function fd(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(je().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1)}const No=he.__EXTEND_POINT__,Xe=jn(No),Y={FALLBACK_TO_ROOT:No,NOT_SUPPORTED_PRESERVE:Xe(),NOT_SUPPORTED_FORMATTER:Xe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Xe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Xe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Xe(),NOT_FOUND_PARENT_SCOPE:Xe(),IGNORE_OBJ_FLATTEN:Xe(),NOTICE_DROP_ALLOW_COMPOSITION:Xe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Xe()},dd={[Y.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Y.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Y.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Y.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Y.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Y.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Y.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Y.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Ne(e,...t){return rn(dd[e],...t)}const Io=de.__EXTEND_POINT__,Ie=jn(Io),H={UNEXPECTED_RETURN_TYPE:Io,INVALID_ARGUMENT:Ie(),MUST_BE_CALL_SETUP_TOP:Ie(),NOT_INSTALLED:Ie(),NOT_AVAILABLE_IN_LEGACY_MODE:Ie(),REQUIRED_VALUE:Ie(),INVALID_VALUE:Ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ie(),NOT_INSTALLED_WITH_PROVIDE:Ie(),UNEXPECTED_ERROR:Ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ie(),BRIDGE_SUPPORT_VUE_2_ONLY:Ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ie(),__EXTEND_POINT__:Ie()};function ue(e,...t){return Ft(e,null,process.env.NODE_ENV!=="production"?{messages:md,args:t}:void 0)}const md={[H.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[H.INVALID_ARGUMENT]:"Invalid argument",[H.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[H.NOT_INSTALLED]:"Need to install with `app.use` function",[H.UNEXPECTED_ERROR]:"Unexpected error",[H.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[H.REQUIRED_VALUE]:"Required in value: {0}",[H.INVALID_VALUE]:"Invalid value",[H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[H.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[H.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[H.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Si=Re("__translateVNode"),wi=Re("__datetimeParts"),Li=Re("__numberParts"),Dt=Re("__enableEmitter"),hn=Re("__disableEmitter"),Oo=Re("__setPluralRules");Re("__intlifyMeta");const So=Re("__injectWithOption"),Ai=Re("__dispose");function gn(e){if(!p(e))return e;for(const t in e)if(!!pn(e,t))if(!t.includes("."))p(e[t])&&gn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,a=!1;for(let s=0;s<r;s++){if(n[s]in i||(i[n[s]]={}),!p(i[n[s]])){process.env.NODE_ENV!=="production"&&ce(Ne(Y.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}i=i[n[s]]}a||(i[n[r]]=e[t],delete e[t]),p(i[n[r]])&&gn(i[n[r]])}return e}function Er(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,s=U(n)?n:Q(r)?{}:{[e]:{}};if(Q(r)&&r.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:l,resource:c}=o;l?(s[l]=s[l]||{},Kn(c,s[l])):Kn(c,s)}else M(o)&&Kn(JSON.parse(o),s)}),i==null&&a)for(const o in s)pn(s,o)&&gn(s[o]);return s}function wo(e){return e.type}function Lo(e,t,n){let r=p(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Er(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(p(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(p(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Ao(e){return qt(uo,null,e,0)}const Do="__INTLIFY_META__",Co=()=>[],_d=()=>!1;let Ro=0;function To(e){return(t,n,r,i)=>e(n,r,Kt()||void 0,i)}const hd=()=>{const e=Kt();let t=null;return e&&(t=wo(e)[Do])?{[Do]:t}:null};function Di(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,a=e.flatJson,s=Ce?Bt:js,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&Ca(Ne(Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=$(e.inheritLocale)?e.inheritLocale:!0;const c=s(n&&l?n.locale.value:M(e.locale)?e.locale:Ut),_=s(n&&l?n.fallbackLocale.value:M(e.fallbackLocale)||Q(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(Er(c.value,e)),m=s(U(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),S=s(U(e.numberFormats)?e.numberFormats:{[c.value]:{}});let L=n?n.missingWarn:$(e.missingWarn)||nt(e.missingWarn)?e.missingWarn:!0,v=n?n.fallbackWarn:$(e.fallbackWarn)||nt(e.fallbackWarn)?e.fallbackWarn:!0,D=n?n.fallbackRoot:$(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,O=X(e.missing)?e.missing:null,h=X(e.missing)?To(e.missing):null,E=X(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const y=n?n.modifiers:U(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&Xa(null);const b={version:ud,locale:c.value,fallbackLocale:_.value,messages:f.value,modifiers:y,pluralRules:C,missing:h===null?void 0:h,missingWarn:L,fallbackWarn:v,fallbackFormat:g,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:w,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=m.value,b.numberFormats=S.value,b.__datetimeFormatters=U(T)?T.__datetimeFormatters:void 0,b.__numberFormatters=U(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(b.__v_emitter=U(T)?T.__v_emitter:void 0);const R=iu(b);return i&&Xa(R),R})(),sn(T,c.value,_.value);function ve(){return[c.value,_.value,f.value,m.value,S.value]}const x=xe({get:()=>c.value,set:b=>{c.value=b,T.locale=c.value}}),se=xe({get:()=>_.value,set:b=>{_.value=b,T.fallbackLocale=_.value,sn(T,c.value,b)}}),Ae=xe(()=>f.value),Sn=xe(()=>m.value),He=xe(()=>S.value);function wn(){return X(E)?E:null}function Ln(b){E=b,T.postTranslation=b}function An(){return O}function Dn(b){b!==null&&(h=To(b)),O=b,T.missing=h}function Cn(b,R){return b!=="translate"||!R.resolvedMessage}const De=(b,R,K,ne,gt,Cr)=>{ve();let Yt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ka(hd()),i||(T.fallbackContext=n?ru():void 0),Yt=b(T)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ka(null),i||(T.fallbackContext=void 0)}if(K!=="translate exists"&&oe(Yt)&&Yt===Jn||K==="translate exists"&&!Yt){const[Tt,$_]=R();if(process.env.NODE_ENV!=="production"&&n&&M(Tt)&&Cn(K,$_)&&(D&&(zn(v,Tt)||Qa(L,Tt))&&ce(Ne(Y.FALLBACK_TO_ROOT,{key:Tt,type:K})),process.env.NODE_ENV!=="production")){const{__v_emitter:Al}=T;Al&&D&&Al.emit("fallback",{type:K,key:Tt,to:"global",groupId:`${K}:${Tt}`})}return n&&D?ne(n):gt(Tt)}else{if(Cr(Yt))return Yt;throw ue(H.UNEXPECTED_RETURN_TYPE)}};function Qt(...b){return De(R=>Reflect.apply(is,null,[R,...b]),()=>jr(...b),"translate",R=>Reflect.apply(R.t,R,[...b]),R=>R,R=>M(R))}function zt(...b){const[R,K,ne]=b;if(ne&&!p(ne))throw ue(H.INVALID_ARGUMENT);return Qt(R,K,le({resolvedMessage:!0},ne||{}))}function Rn(...b){return De(R=>Reflect.apply(cs,null,[R,...b]),()=>qr(...b),"datetime format",R=>Reflect.apply(R.d,R,[...b]),()=>Qn,R=>M(R))}function Tn(...b){return De(R=>Reflect.apply(ds,null,[R,...b]),()=>Kr(...b),"number format",R=>Reflect.apply(R.n,R,[...b]),()=>Qn,R=>M(R))}function Pn(b){return b.map(R=>M(R)||oe(R)||$(R)?Ao(String(R)):R)}const Mn={normalize:Pn,interpolate:b=>b,type:"vnode"};function Zt(...b){return De(R=>{let K;const ne=R;try{ne.processor=Mn,K=Reflect.apply(is,null,[ne,...b])}finally{ne.processor=null}return K},()=>jr(...b),"translate",R=>R[Si](...b),R=>[Ao(R)],R=>Q(R))}function Fn(...b){return De(R=>Reflect.apply(ds,null,[R,...b]),()=>Kr(...b),"number format",R=>R[Li](...b),Co,R=>M(R)||Q(R))}function Vn(...b){return De(R=>Reflect.apply(cs,null,[R,...b]),()=>qr(...b),"datetime format",R=>R[wi](...b),Co,R=>M(R)||Q(R))}function kn(b){C=b,T.pluralRules=C}function P(b,R){return De(()=>{if(!b)return!1;const K=M(R)?R:c.value,ne=Rt(K),gt=T.messageResolver(ne,b);return o?gt!=null:at(gt)||we(gt)||M(gt)},()=>[b],"translate exists",K=>Reflect.apply(K.te,K,[b,R]),_d,K=>$(K))}function q(b){let R=null;const K=$a(T,_.value,c.value);for(let ne=0;ne<K.length;ne++){const gt=f.value[K[ne]]||{},Cr=T.messageResolver(gt,b);if(Cr!=null){R=Cr;break}}return R}function Un(b){const R=q(b);return R!=null?R:n?n.tm(b)||{}:{}}function Rt(b){return f.value[b]||{}}function $n(b,R){if(a){const K={[b]:R};for(const ne in K)pn(K,ne)&&gn(K[ne]);R=K[b]}f.value[b]=R,T.messages=f.value}function da(b,R){f.value[b]=f.value[b]||{};const K={[b]:R};if(a)for(const ne in K)pn(K,ne)&&gn(K[ne]);R=K[b],Kn(R,f.value[b]),T.messages=f.value}function u(b){return m.value[b]||{}}function d(b,R){m.value[b]=R,T.datetimeFormats=m.value,fs(T,b,R)}function A(b,R){m.value[b]=le(m.value[b]||{},R),T.datetimeFormats=m.value,fs(T,b,R)}function F(b){return S.value[b]||{}}function ee(b,R){S.value[b]=R,T.numberFormats=S.value,_s(T,b,R)}function J(b,R){S.value[b]=le(S.value[b]||{},R),T.numberFormats=S.value,_s(T,b,R)}Ro++,n&&Ce&&(vi(n.locale,b=>{l&&(c.value=b,T.locale=b,sn(T,c.value,_.value))}),vi(n.fallbackLocale,b=>{l&&(_.value=b,T.fallbackLocale=b,sn(T,c.value,_.value))}));const G={id:Ro,locale:x,fallbackLocale:se,get inheritLocale(){return l},set inheritLocale(b){l=b,b&&n&&(c.value=n.locale.value,_.value=n.fallbackLocale.value,sn(T,c.value,_.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Ae,get modifiers(){return y},get pluralRules(){return C||{}},get isGlobal(){return i},get missingWarn(){return L},set missingWarn(b){L=b,T.missingWarn=L},get fallbackWarn(){return v},set fallbackWarn(b){v=b,T.fallbackWarn=v},get fallbackRoot(){return D},set fallbackRoot(b){D=b},get fallbackFormat(){return g},set fallbackFormat(b){g=b,T.fallbackFormat=g},get warnHtmlMessage(){return w},set warnHtmlMessage(b){w=b,T.warnHtmlMessage=b},get escapeParameter(){return N},set escapeParameter(b){N=b,T.escapeParameter=b},t:Qt,getLocaleMessage:Rt,setLocaleMessage:$n,mergeLocaleMessage:da,getPostTranslationHandler:wn,setPostTranslationHandler:Ln,getMissingHandler:An,setMissingHandler:Dn,[Oo]:kn};return G.datetimeFormats=Sn,G.numberFormats=He,G.rt=zt,G.te=P,G.tm=Un,G.d=Rn,G.n=Tn,G.getDateTimeFormat=u,G.setDateTimeFormat=d,G.mergeDateTimeFormat=A,G.getNumberFormat=F,G.setNumberFormat=ee,G.mergeNumberFormat=J,G[So]=r,G[Si]=Zt,G[wi]=Vn,G[Li]=Fn,process.env.NODE_ENV!=="production"&&(G[Dt]=b=>{T.__v_emitter=b},G[hn]=()=>{T.__v_emitter=void 0}),G}function gd(e){const t=M(e.locale)?e.locale:Ut,n=M(e.fallbackLocale)||Q(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=X(e.missing)?e.missing:void 0,i=$(e.silentTranslationWarn)||nt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=$(e.silentFallbackWarn)||nt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=$(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,l=U(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,_=X(e.postTranslation)?e.postTranslation:void 0,f=M(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,S=$(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let L=e.messages;if(U(e.sharedMessages)){const N=e.sharedMessages;L=Object.keys(N).reduce((C,T)=>{const j=C[T]||(C[T]={});return le(j,N[T]),C},L||{})}const{__i18n:v,__root:D,__injectWithOption:g}=e,O=e.datetimeFormats,h=e.numberFormats,E=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:L,flatJson:E,datetimeFormats:O,numberFormats:h,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:s,fallbackFormat:o,modifiers:l,pluralRules:c,postTranslation:_,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:S,translateExistCompatible:w,__i18n:v,__root:D,__injectWithOption:g}}function Ci(e={},t){{const n=Di(gd(e)),{__extender:r}=e,i={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return $(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=$(a)?!a:a},get silentFallbackWarn(){return $(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=$(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[s,o,l]=a,c={};let _=null,f=null;if(!M(s))throw ue(H.INVALID_ARGUMENT);const m=s;return M(o)?c.locale=o:Q(o)?_=o:U(o)&&(f=o),Q(l)?_=l:U(l)&&(f=l),Reflect.apply(n.t,n,[m,_||f||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[s,o,l]=a,c={plural:1};let _=null,f=null;if(!M(s))throw ue(H.INVALID_ARGUMENT);const m=s;return M(o)?c.locale=o:oe(o)?c.plural=o:Q(o)?_=o:U(o)&&(f=o),M(l)?c.locale=l:Q(l)?_=l:U(l)&&(f=l),Reflect.apply(n.t,n,[m,_||f||{},c])},te(a,s){return n.te(a,s)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,s){n.setLocaleMessage(a,s)},mergeLocaleMessage(a,s){n.mergeLocaleMessage(a,s)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,s){n.setDateTimeFormat(a,s)},mergeDateTimeFormat(a,s){n.mergeDateTimeFormat(a,s)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,s){n.setNumberFormat(a,s)},mergeNumberFormat(a,s){n.mergeNumberFormat(a,s)},getChoiceIndex(a,s){return process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return i.__extender=r,process.env.NODE_ENV!=="production"&&(i.__enableEmitter=a=>{const s=n;s[Dt]&&s[Dt](a)},i.__disableEmitter=()=>{const a=n;a[hn]&&a[hn]()}),i}}const Ri={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ed({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===mr?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Po(e){return mr}const Ti=hi({name:"i18n-t",props:le({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>oe(e)||!isNaN(e)}},Ri),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=M(e.plural)?+e.plural:e.plural);const o=Ed(t,a),l=i[Si](e.keypath,o,s),c=le({},r),_=M(e.tag)||p(e.tag)?e.tag:Po();return vo(_,c,l)}}});function yd(e){return Q(e)&&!M(e[0])}function Mo(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const s={part:!0};let o={};e.locale&&(s.locale=e.locale),M(e.format)?s.key=e.format:p(e.format)&&(M(e.format.key)&&(s.key=e.format.key),o=Object.keys(e.format).reduce((m,S)=>n.includes(S)?le({},m,{[S]:e.format[S]}):m,{}));const l=r(e.value,s,o);let c=[s.key];Q(l)?c=l.map((m,S)=>{const L=i[m.type],v=L?L({[m.type]:m.value,index:S,parts:l}):[m.value];return yd(v)&&(v[0].key=`${m.type}-${S}`),v}):M(l)&&(c=[l]);const _=le({},a),f=M(e.tag)||p(e.tag)?e.tag:Po();return vo(f,_,c)}}const Fo=hi({name:"i18n-n",props:le({value:{type:Number,required:!0},format:{type:[String,Object]}},Ri),setup(e,t){const n=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return Mo(e,t,ms,(...r)=>n[Li](...r))}}),Vo=hi({name:"i18n-d",props:le({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ri),setup(e,t){const n=e.i18n||Vi({useScope:e.scope,__useComponent:!0});return Mo(e,t,us,(...r)=>n[wi](...r))}});function vd(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function bd(e){const t=s=>{const{instance:o,modifiers:l,value:c}=s;if(!o||!o.$)throw ue(H.UNEXPECTED_ERROR);const _=vd(e,o.$);process.env.NODE_ENV!=="production"&&l.preserve&&ce(Ne(Y.NOT_SUPPORTED_PRESERVE));const f=ko(c);return[Reflect.apply(_.t,_,[...Uo(f)]),_]};return{created:(s,o)=>{const[l,c]=t(o);Ce&&e.global===c&&(s.__i18nWatcher=vi(c.locale,()=>{o.instance&&o.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{Ce&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:o})=>{if(s.__composer){const l=s.__composer,c=ko(o);s.textContent=Reflect.apply(l.t,l,[...Uo(c)])}},getSSRProps:s=>{const[o]=t(s);return{textContent:o}}}}function ko(e){if(M(e))return{path:e};if(U(e)){if(!("path"in e))throw ue(H.REQUIRED_VALUE,"path");return e}else throw ue(H.INVALID_VALUE)}function Uo(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,s={},o=r||{};return M(n)&&(s.locale=n),oe(i)&&(s.plural=i),oe(a)&&(s.plural=a),[t,o,s]}function Nd(e,t,...n){const r=U(n[0])?n[0]:{},i=!!r.useI18nComponentName,a=$(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&i&&ce(Ne(Y.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ti.name})),a&&([i?"i18n":Ti.name,"I18nT"].forEach(s=>e.component(s,Ti)),[Fo.name,"I18nN"].forEach(s=>e.component(s,Fo)),[Vo.name,"I18nD"].forEach(s=>e.component(s,Vo))),e.directive("t",bd(t))}const Pi={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},Id={["vue-i18n-resource-inspector"]:"Search for scopes ..."},Od={["vue-i18n-timeline"]:16764185},$o="vue-i18n: composer properties";let Mi;function Sd(e,t){return Ye(this,null,function*(){return new Promise((n,r)=>{try{cd({id:"vue-devtools-plugin-vue-i18n",label:Pi["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[$o],app:e},i=>{Mi=i,i.on.visitComponentTree(({componentInstance:s,treeNode:o})=>{wd(s,o,t)}),i.on.inspectComponent(({componentInstance:s,instanceData:o})=>{s.vnode.el&&s.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?s.vnode.el.__VUE_I18N__!==t.global.__composer&&Wo(o,s.vnode.el.__VUE_I18N__):Wo(o,s.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:Pi["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Id["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Rd(s,t)});const a=new Map;i.on.getInspectorState(s=>Ye(this,null,function*(){if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),Pd(s,t),s.nodeId==="global"){if(!a.has(s.app)){const[o]=yield i.getComponentInstances(s.app);a.set(s.app,o)}i.highlightElement(a.get(s.app))}else{const o=Td(s.nodeId,t);o&&i.highlightElement(o)}})),i.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Fd(s,t)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:Pi["vue-i18n-timeline"],color:Od["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})})}function xo(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function wd(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const i={label:`i18n (${xo(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(i)}}function Wo(e,t){const n=$o;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Fi(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Fi(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];X(r)&&"source"in r?t[n]=Cd(r):at(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:p(r)?t[n]=Fi(r):t[n]=r}),t}const Ld={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function Ad(e){return e.replace(/[<>"&]/g,Dd)}function Dd(e){return Ld[e]||e}function Cd(e){const t=e.source?`("${Ad(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function Rd(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,i]of t.__instances){const a=t.mode==="composition"?i:i.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${xo(r)} Scope`})}}function Td(e,t){let n=null;if(e!=="global"){for(const[r,i]of t.__instances.entries())if(i.id.toString()===e){n=r;break}}return n}function Bo(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Pd(e,t){const n=Bo(e.nodeId,t);return n&&(e.state=Md(n)),null}function Md(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const i="Locale messages info",a=[{type:i,key:"messages",editable:!1,value:Fi(e.messages.value)}];t[i]=a;{const s="Datetime formats info",o=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=o;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=c}return t}function En(e,t){if(Mi){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Mi.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Fd(e,t){const n=Bo(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&M(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(M(e.state.value)||Q(e.state.value)||p(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&$(e.state.value)&&(n.inheritLocale=e.state.value)}}function Vd(e,t,n){return{beforeCreate(){const r=Kt();if(!r)throw ue(H.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const a=i.i18n;if(i.__i18n&&(a.__i18n=i.__i18n),a.__root=t,this===this.$root)this.$i18n=Ho(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Ci(a);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Ho(e,i);else{this.$i18n=Ci({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Lo(t,i,i),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,s)=>this.$i18n.te(a,s),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const i=this.__v_emitter=Ur();r.__enableEmitter&&r.__enableEmitter(i),i.on("*",En)}},unmounted(){const r=Kt();if(!r)throw ue(H.UNEXPECTED_ERROR);const i=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",En),delete this.__v_emitter),this.$i18n&&(i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Ho(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Oo](t.pluralizationRules||e.pluralizationRules);const n=Er(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const kd=Re("global-vue-i18n");function Ud(e={},t){const n=__VUE_I18N_LEGACY_API__&&$(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=$(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[s,o]=$d(e,n),l=Re(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&i&&ce(Ne(Y.NOTICE_DROP_ALLOW_COMPOSITION));function c(m){return a.get(m)||null}function _(m,S){a.set(m,S)}function f(m){a.delete(m)}{let S;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},install(L,...v){return Ye(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(L.__VUE_I18N__=m),L.__VUE_I18N_SYMBOL__=l,L.provide(L.__VUE_I18N_SYMBOL__,m),U(v[0])){const O=v[0];m.__composerExtend=O.__composerExtend,m.__vueI18nExtend=O.__vueI18nExtend}let D=null;!n&&r&&(D=Gd(L,m.global)),__VUE_I18N_FULL_INSTALL__&&Nd(L,m,...v),__VUE_I18N_LEGACY_API__&&n&&L.mixin(Vd(o,o.__composer,m));const g=L.unmount;if(L.unmount=()=>{D&&D(),m.dispose(),g()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield Sd(L,m)))throw ue(H.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const h=Ur();if(n){const E=o;E.__enableEmitter&&E.__enableEmitter(h)}else{const E=o;E[Dt]&&E[Dt](h)}h.on("*",En)}})},get global(){return o},dispose(){s.stop()},__instances:a,__getInstance:c,__setInstance:_,__deleteInstance:f};return m}}function Vi(e={}){const t=Kt();if(t==null)throw ue(H.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ue(H.NOT_INSTALLED);const n=xd(t),r=Bd(n),i=wo(t),a=Wd(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ue(H.NOT_AVAILABLE_IN_LEGACY_MODE);return qd(t,a,r,e)}if(a==="global")return Lo(r,e,i),r;if(a==="parent"){let l=Hd(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&ce(Ne(Y.NOT_FOUND_PARENT_SCOPE)),l=r),l}const s=n;let o=s.__getInstance(t);if(o==null){const l=le({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),o=Di(l),s.__composerExtend&&(o[Ai]=s.__composerExtend(o)),jd(s,t,o),s.__setInstance(t,o)}return o}function $d(e,t,n){const r=Tu();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Ci(e)):r.run(()=>Di(e));if(i==null)throw ue(H.UNEXPECTED_ERROR);return[r,i]}}function xd(e){{const t=so(e.isCE?kd:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ue(e.isCE?H.NOT_INSTALLED_WITH_PROVIDE:H.UNEXPECTED_ERROR);return t}}function Wd(e,t){return Hn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Bd(e){return e.mode==="composition"?e.global:e.global.__composer}function Hd(e,t,n=!1){let r=null;const i=t.root;let a=pd(t,n);for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const o=s.__getInstance(a);o!=null&&(r=o.__composer,n&&r&&!r[So]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function pd(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function jd(e,t,n){let r=null;wf(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Ur();const i=n;i[Dt]&&i[Dt](r),r.on("*",En)}},t),Lf(()=>{const i=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",En),i[hn]&&i[hn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=i[Ai];a&&(a(),delete i[Ai])},t)}function qd(e,t,n,r={}){const i=t==="local",a=js(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ue(H.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=$(r.inheritLocale)?r.inheritLocale:!M(r.locale),o=Bt(!i||s?n.locale.value:M(r.locale)?r.locale:Ut),l=Bt(!i||s?n.fallbackLocale.value:M(r.fallbackLocale)||Q(r.fallbackLocale)||U(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),c=Bt(Er(o.value,r)),_=Bt(U(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),f=Bt(U(r.numberFormats)?r.numberFormats:{[o.value]:{}}),m=i?n.missingWarn:$(r.missingWarn)||nt(r.missingWarn)?r.missingWarn:!0,S=i?n.fallbackWarn:$(r.fallbackWarn)||nt(r.fallbackWarn)?r.fallbackWarn:!0,L=i?n.fallbackRoot:$(r.fallbackRoot)?r.fallbackRoot:!0,v=!!r.fallbackFormat,D=X(r.missing)?r.missing:null,g=X(r.postTranslation)?r.postTranslation:null,O=i?n.warnHtmlMessage:$(r.warnHtmlMessage)?r.warnHtmlMessage:!0,h=!!r.escapeParameter,E=i?n.modifiers:U(r.modifiers)?r.modifiers:{},w=r.pluralRules||i&&n.pluralRules;function N(){return[o.value,l.value,c.value,_.value,f.value]}const y=xe({get:()=>a.value?a.value.locale.value:o.value,set:P=>{a.value&&(a.value.locale.value=P),o.value=P}}),C=xe({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:P=>{a.value&&(a.value.fallbackLocale.value=P),l.value=P}}),T=xe(()=>a.value?a.value.messages.value:c.value),j=xe(()=>_.value),ve=xe(()=>f.value);function x(){return a.value?a.value.getPostTranslationHandler():g}function se(P){a.value&&a.value.setPostTranslationHandler(P)}function Ae(){return a.value?a.value.getMissingHandler():D}function Sn(P){a.value&&a.value.setMissingHandler(P)}function He(P){return N(),P()}function wn(...P){return a.value?He(()=>Reflect.apply(a.value.t,null,[...P])):He(()=>"")}function Ln(...P){return a.value?Reflect.apply(a.value.rt,null,[...P]):""}function An(...P){return a.value?He(()=>Reflect.apply(a.value.d,null,[...P])):He(()=>"")}function Dn(...P){return a.value?He(()=>Reflect.apply(a.value.n,null,[...P])):He(()=>"")}function Cn(P){return a.value?a.value.tm(P):{}}function De(P,q){return a.value?a.value.te(P,q):!1}function Qt(P){return a.value?a.value.getLocaleMessage(P):{}}function zt(P,q){a.value&&(a.value.setLocaleMessage(P,q),c.value[P]=q)}function Rn(P,q){a.value&&a.value.mergeLocaleMessage(P,q)}function Tn(P){return a.value?a.value.getDateTimeFormat(P):{}}function Pn(P,q){a.value&&(a.value.setDateTimeFormat(P,q),_.value[P]=q)}function Dr(P,q){a.value&&a.value.mergeDateTimeFormat(P,q)}function Mn(P){return a.value?a.value.getNumberFormat(P):{}}function Zt(P,q){a.value&&(a.value.setNumberFormat(P,q),f.value[P]=q)}function Fn(P,q){a.value&&a.value.mergeNumberFormat(P,q)}const Vn={get id(){return a.value?a.value.id:-1},locale:y,fallbackLocale:C,messages:T,datetimeFormats:j,numberFormats:ve,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(P){a.value&&(a.value.inheritLocale=P)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:E},get pluralRules(){return a.value?a.value.pluralRules:w},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(P){a.value&&(a.value.missingWarn=P)},get fallbackWarn(){return a.value?a.value.fallbackWarn:S},set fallbackWarn(P){a.value&&(a.value.missingWarn=P)},get fallbackRoot(){return a.value?a.value.fallbackRoot:L},set fallbackRoot(P){a.value&&(a.value.fallbackRoot=P)},get fallbackFormat(){return a.value?a.value.fallbackFormat:v},set fallbackFormat(P){a.value&&(a.value.fallbackFormat=P)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:O},set warnHtmlMessage(P){a.value&&(a.value.warnHtmlMessage=P)},get escapeParameter(){return a.value?a.value.escapeParameter:h},set escapeParameter(P){a.value&&(a.value.escapeParameter=P)},t:wn,getPostTranslationHandler:x,setPostTranslationHandler:se,getMissingHandler:Ae,setMissingHandler:Sn,rt:Ln,d:An,n:Dn,tm:Cn,te:De,getLocaleMessage:Qt,setLocaleMessage:zt,mergeLocaleMessage:Rn,getDateTimeFormat:Tn,setDateTimeFormat:Pn,mergeDateTimeFormat:Dr,getNumberFormat:Mn,setNumberFormat:Zt,mergeNumberFormat:Fn};function kn(P){P.locale.value=o.value,P.fallbackLocale.value=l.value,Object.keys(c.value).forEach(q=>{P.mergeLocaleMessage(q,c.value[q])}),Object.keys(_.value).forEach(q=>{P.mergeDateTimeFormat(q,_.value[q])}),Object.keys(f.value).forEach(q=>{P.mergeNumberFormat(q,f.value[q])}),P.escapeParameter=h,P.fallbackFormat=v,P.fallbackRoot=L,P.fallbackWarn=S,P.missingWarn=m,P.warnHtmlMessage=O}return Sf(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ue(H.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const P=a.value=e.proxy.$i18n.__composer;t==="global"?(o.value=P.locale.value,l.value=P.fallbackLocale.value,c.value=P.messages.value,_.value=P.datetimeFormats.value,f.value=P.numberFormats.value):i&&kn(P)}),Vn}const Kd=["locale","fallbackLocale","availableLocales"],po=["t","rt","d","n","tm","te"];function Gd(e,t){const n=Object.create(null);return Kd.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a)throw ue(H.UNEXPECTED_ERROR);const s=be(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,i,s)}),e.config.globalProperties.$i18n=n,po.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a||!a.value)throw ue(H.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,a)}),()=>{delete e.config.globalProperties.$i18n,po.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}if(fd(),__INTLIFY_JIT_COMPILATION__?Ha(cu):Ha(lu),eu(Fc),tu($a),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,pc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function Xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jo(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 Jd(e,t,n){return t&&jo(e.prototype,t),n&&jo(e,n),e}function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(){function e(){Xd(this,e)}return Jd(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(n,r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xn;return Ud({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){this.$i18n.global.setLocaleMessage(n,r)}}]),e}();Qd(k,"$i18n",k.resetI18n());function zd(e,t,n){var r=t.replace(/\[(\d)]/g,function(a,s){return"."+s}).split("."),i=!1;return r.reduce(function(a,s,o,l){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,s)){Mr("Can not set ".concat(t,"'s ").concat(s," property in current %o, Because there is no ").concat(s," property on the %o"),a,a);return}return o===l.length-1&&!Object.is(c[s],n)&&(c[s]=n,i=!0),c[s]}},e),i}var Zd=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yd={exports:{}};(function(e){(function(t){var n=function(g,O,h){if(!c(O)||f(O)||m(O)||S(O)||l(O))return O;var E,w=0,N=0;if(_(O))for(E=[],N=O.length;w<N;w++)E.push(n(g,O[w],h));else{E={};for(var y in O)Object.prototype.hasOwnProperty.call(O,y)&&(E[g(y,h)]=n(g,O[y],h))}return E},r=function(g,O){O=O||{};var h=O.separator||"_",E=O.split||/(?=[A-Z])/;return g.split(E).join(h)},i=function(g){return L(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(O,h){return h?h.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},a=function(g){var O=i(g);return O.substr(0,1).toUpperCase()+O.substr(1)},s=function(g,O){return r(g,O).toLowerCase()},o=Object.prototype.toString,l=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},_=function(g){return o.call(g)=="[object Array]"},f=function(g){return o.call(g)=="[object Date]"},m=function(g){return o.call(g)=="[object RegExp]"},S=function(g){return o.call(g)=="[object Boolean]"},L=function(g){return g=g-0,g===g},v=function(g,O){var h=O&&"process"in O?O.process:O;return typeof h!="function"?g:function(E,w){return h(E,g,w)}},D={camelize:i,decamelize:s,pascalize:a,depascalize:s,camelizeKeys:function(g,O){return n(v(i,O),g)},decamelizeKeys:function(g,O){return n(v(s,O),g,O)},pascalizeKeys:function(g,O){return n(v(a,O),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(Zd)})(Yd);var qo={};Object.defineProperty(qo,"__esModule",{value:!0});function ki(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ki(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ki(r)}return t}}var em=qo.default=ki;function tm(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Je(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":tm(e))==="object"?em(e):e}function nm(e){return Object.prototype.toString.call(e)==="[object Object]"}function rm(e){return Array.isArray(e)}function im(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function Ui(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function am(e){if(Array.isArray(e))return Ui(e)}function Ko(e,t,n,r,i,a,s){try{var o=e[a](s),l=o.value}catch(c){n(c);return}o.done?t(l):Promise.resolve(l).then(r,i)}function sm(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(l){Ko(a,r,i,s,o,"next",l)}function o(l){Ko(a,r,i,s,o,"throw",l)}s(void 0)})}}function om(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Go(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 lm(e,t,n){return t&&Go(e.prototype,t),n&&Go(e,n),e}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cm(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function um(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $i(e){return am(e)||cm(e)||fm(e)||um()}function fm(e,t){if(!!e){if(typeof e=="string")return Ui(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ui(e,t)}}function dm(e,t){var n,r,i,a,s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(_){return l([c,_])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,r=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){s.label=c[1];break}if(c[0]===6&&s.label<i[1]){s.label=i[1],i=c;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(c);break}i[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(_){c=[6,_],r=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var mm=function(){function e(){om(this,e),Xo(this,"_events",new Map),Xo(this,"debug",!1)}return lm(e,[{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var s=this;return sm(function(){var o,l,c,_,f,m,S,L,v,D,g,O;return dm(this,function(h){switch(h.label){case 0:if(o=s._events.get(n),l=[],!o)return[3,10];c=o.slice(),_=!0,f=!1,m=void 0,h.label=1;case 1:h.trys.push([1,8,9,10]),S=c[Symbol.iterator](),h.label=2;case 2:if(_=(L=S.next()).done)return[3,7];if(v=L.value,!o.includes(v))return[3,6];h.label=3;case 3:return h.trys.push([3,5,,6]),s.debug&&Na.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat($i(i))),[4,v.apply(null,$i(i))];case 4:return D=h.sent(),s.debug&&Na.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat($i(i),[D])),l.push(D),D===!1?[3,7]:[3,6];case 5:return g=h.sent(),Bl(String(g)+":"+String(g.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return O=h.sent(),f=!0,m=O,[3,10];case 9:try{!_&&S.return!=null&&S.return()}finally{if(f)throw m}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var i;(i=this._events.get(n))===null||i===void 0||i.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var i=this._events.get(n),a=i==null?void 0:i.indexOf(r);i==null||i.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function _m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jo(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 hm(e,t,n){return t&&Jo(e.prototype,t),n&&Jo(e,n),e}function gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Em=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],ym=function(){function e(){_m(this,e)}return hm(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(i){return r.includes(i.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],i=n.eventKeys;r=r.concat(e.events.filter(function(s){return i.includes(s.key)}));var a=n.customEvents.map(function(s){var o=s.key;return s.namespace!==void 0&&s.namespace!==null&&s.namespace!==""&&(o=s.namespace+":"+s.key),{key:o,code:s.key,name:s.name}});return r=r.concat(a),r}}]),e}();gm(ym,"events",Em);function yr(e,t){var n;(n=Object.getOwnPropertyDescriptors(e)[t])!=null&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function xi(e,t,n){n!=="Runtime"&&(e.parent=t,yr(e,"parent"))}function Qo(e,t,n){e.forEach(r=>{xi(r,t,n)})}const zo=Symbol("targetKey");function Zo(e){var t;return(t=e[zo])!=null?t:e}function Yo(e,t,n){return Qo(e,t,n),new Proxy(e,{get(r,i,...a){return i===zo?r:Reflect.get(r,i,...a)},set(r,i,a,...s){if(rm(e)&&i==="length"&&a===e.length)return!0;const o=Reflect.set(r,i,a,...s);return nm(a)&&xi(a,t,n),o}})}function _t(e,t,n,r,i){const a=r!=null?r:e;let s=Yo(Zo(n!=null?n:[]),a,i);Object.defineProperty(e,t,{get(){return s},set(o){s=Yo(Zo(o),a,i)},enumerable:!0})}const el=[],Wi=class{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}static staticGetRules(e,t){const n=Wi.staticControlsRuntimeRules.get(e);let r=[];if(n){const i=new n(t);r=Array.from(i)}return r}registerControlConfig(e,t){return this.controlConfigMap.set(e,t),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e,t){const{Designer:n,Runtime:r,Property:i}=e;(!n||!r||!n.__is_control__||!r.__is_control__)&&Vr(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(s=>s.Designer.controlType===n.controlType);return a>-1&&(Mr(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),i.mode=t,this}getControls(){return this._controls}register(e){e.__is_control__||Vr(`${e.name} is not a Control`);const t=this._controls.findIndex(n=>n.controlType===e.controlType);return t>-1&&(Mr(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(t,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===et.LAYOUT}isFormControl(e){return e.controlType===et.FORM}isListControl(e){return e.controlType===et.LIST}isColumnControl(e){return e.controlType===et.COLUMN}createControl(e,t){if(Array.isArray(e))return e.map(r=>this.createControl(r,t));if(e.children&&(e.children=e.children.map(r=>this.createControl(r,t))),this.isListControl(e)){const r=e.props;r.headers&&(r.headers=r.headers.map(i=>this.createControl(i,t)))}const n=this.getControlFormType(e.type);if(n){let r=e;if(typeof t=="function"){const a=t(r);a&&(r=a)}let i;return n.mode==="Runtime"?(i=r,i.fieldType=n.controlFieldType,this._setParentPrototypeToSchema(i,this)):i=new n(r),i}else Vr(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}resetInstanceParent(e,t){delete e.parent,Object.defineProperty(e,"parent",{configurable:!0,get(){return t}}),yr(e,"parent")}_setParentPrototypeToSchema(e,t){t._type==="Runtime"&&(Object.defineProperty(e,"parent",{configurable:!0,get(){const n=e.id,r=t._controlParentIdMap,i=t.instanceMap;if(!r||!i)return;const a=r[n],s=i[n];if(!a&&!s)return;const o=s.findIndex(_=>_==e),l=i[a]||[];let c;return l.length!==s.length?c=l[0]:c=l[o],c}}),yr(e,"parent"))}createControlInstance(e,t){const n=this.getControlFormType(e);if(n)return new n(t)}getControlFormType(e){return this._controls.find(t=>t.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(t=>{this.register(t[e]),Wi.staticControlsRuntimeRules.set(t.Runtime.controlType,t.Property.RuntimeRules),t.Property.mode=e})}};let yn=Wi;yn.staticControlsRuntimeRules=new Map,yn.staticControls=el,yn.staticRegisteredTypes=new Set(el.map(e=>e.Designer.controlType)),yn.staticRegisteredConfigs=new Map;class We{constructor(t){var n,r,i;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:"",this.aliasCode=t==null?void 0:t.aliasCode}}class Bi{constructor(t){var n,r;this.minWidth=(n=t==null?void 0:t.minWidth)!=null?n:150,this.maxWidth=t==null?void 0:t.maxWidth,this.flex=(r=t==null?void 0:t.flex)!=null?r:1}}class Hi{constructor(t){var n,r,i,a;this.rowHeightType=(n=t==null?void 0:t.rowHeightType)!=null?n:"fixed",this.minRows=(r=t==null?void 0:t.minRows)!=null?r:4,this.maxRows=(i=t==null?void 0:t.maxRows)!=null?i:20,this.fiexdRow=(a=t==null?void 0:t.fiexdRow)!=null?a:4}}class vm{constructor(t){this.pc=new Hi(t==null?void 0:t.pc),this.mobile=new Hi(t==null?void 0:t.mobile)}}class vr extends Bi{constructor(t){var n,r;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:240,this.widthType=(r=t==null?void 0:t.widthType)!=null?r:"auto"}}class bm{constructor(t){this.pc=new vr(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new vr(t==null?void 0:t.mobile):new vr({width:130,minWidth:180})}}class Nm{constructor(t){var n,r;this.type=(n=t==null?void 0:t.type)!=null?n:"firstThree",this.customOptions=(r=t==null?void 0:t.customOptions)!=null?r:[]}}class br{constructor(t){var n,r,i;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.formKey=(r=t==null?void 0:t.formKey)!=null?r:"",this.appId=(i=t==null?void 0:t.appId)!=null?i:""}}class Im extends br{constructor(t){var n;super(t),this.primaryControlId=(n=t==null?void 0:t.primaryControlId)!=null?n:""}}class tl{constructor(t){var n,r;this.fieldCode=(n=t==null?void 0:t.fieldCode)!=null?n:"",this.dataCode=(r=t==null?void 0:t.dataCode)!=null?r:""}}class Om{constructor(t){var n,r,i,a;this.appId=(n=t==null?void 0:t.appId)!=null?n:"",this.formKey=(r=t==null?void 0:t.formKey)!=null?r:"",this.headers=(a=(i=t==null?void 0:t.headers)==null?void 0:i.map(s=>new tl(s)))!=null?a:[]}}class nl{constructor(t){var n,r,i;this.fieldName=(n=t==null?void 0:t.fieldName)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:pe.VARCHAR}}class rl extends br{constructor(t){var n,r,i,a;super(t),this.title=(n=t==null?void 0:t.title)!=null?n:"",this.svcCode=(r=t==null?void 0:t.svcCode)!=null?r:"",this.isOpenFilter=(i=t==null?void 0:t.isOpenFilter)!=null?i:!1,this.filters=(a=t==null?void 0:t.filters)!=null?a:[]}}class Sm{constructor(t){var n,r,i,a;this.type="sublist-page",this.formBind=new br(t==null?void 0:t.formBind),this.displayFields=(r=(n=t==null?void 0:t.displayFields)==null?void 0:n.map(s=>new nl(s)))!=null?r:[],this.sublists=(a=(i=t==null?void 0:t.sublists)==null?void 0:i.map(s=>new rl(s)))!=null?a:[]}}class il{constructor(t){this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode}}class pi{constructor(t){var n,r,i;this.type=(n=t==null?void 0:t.type)!=null?n:"custom",this.value=(r=t==null?void 0:t.value)!=null?r:[],this.displayBos=(i=t==null?void 0:t.displayBos)!=null?i:[]}}class Xt{constructor(t){var n,r,i,a;this.type="conditions",this.id=(n=t==null?void 0:t.id)!=null?n:tt(),this.ruleId=(r=t==null?void 0:t.ruleId)!=null?r:new Date().valueOf(),this.level=(i=t==null?void 0:t.level)!=null?i:0,this.value=(a=t==null?void 0:t.value)!=null?a:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(s=>{var o,l;if(s.children!==void 0){const c=new Xt(s);(o=this.children)==null||o.push(c)}else{const c=new vn(s);(l=this.children)==null||l.push(c)}}))}}class vn{constructor(t){var n,r,i,a,s;this.type="condition",this.id=(n=t==null?void 0:t.id)!=null?n:tt(),this.ruleId=(r=t==null?void 0:t.ruleId)!=null?r:new Date().valueOf(),this.symbol=(i=t==null?void 0:t.symbol)!=null?i:"",this.checked=(a=t==null?void 0:t.checked)!=null?a:!1,this.describe=(s=t==null?void 0:t.describe)!=null?s:"",this.leftVariableBo=new il(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new pi(t==null?void 0:t.rightVariableBo)}}class wm{constructor(t){var n,r;this.aliasCode=(n=t==null?void 0:t.aliasCode)!=null?n:"",this.datasourceBind=new Nr(t==null?void 0:t.datasourceBind),this.relationFields=(r=t==null?void 0:t.relationFields)!=null?r:[]}}class al{constructor(t){var n,r,i,a;this.controlId=(n=t==null?void 0:t.controlId)!=null?n:"",this.fieldCode=(r=t==null?void 0:t.fieldCode)!=null?r:"",this.fieldType=(i=t==null?void 0:t.fieldType)!=null?i:"",this.propName=(a=t==null?void 0:t.propName)!=null?a:""}}class ji{constructor(t){var n,r;this.type=(n=t==null?void 0:t.type)!=null?n:"FIELD",this.value=(r=t==null?void 0:t.value)!=null?r:"",this.fieldType=t==null?void 0:t.fieldType}}class Lm{constructor(t){var n,r;this.title=(n=t==null?void 0:t.title)!=null?n:"",this.displayBoList=(r=t==null?void 0:t.displayBoList)!=null?r:[]}}class qi{constructor(t){var n,r;this.columnName=(n=t.columnName)!=null?n:"",this.desc=(r=t.desc)!=null?r:!1}}class sl{constructor(t){var n,r,i;this.code=(n=t.code)!=null?n:"",this.value=(r=t.value)!=null?r:"",this.field_type=(i=t.field_type)!=null?i:pe.ANY}}class Am{constructor(t){var n,r,i,a,s,o,l;this.id=(n=t.id)!=null?n:"",this.limit=(r=t.limit)!=null?r:20,this.formKey=(i=t.formKey)!=null?i:"",this.orders=(s=(a=t.orders)==null?void 0:a.map(c=>new qi(c)))!=null?s:[],this.dataSet=(l=(o=t.dataSet)==null?void 0:o.map(c=>new sl(c)))!=null?l:[]}}function Ki(e){var t,n,r,i,a,s;this.filters=(n=(t=e==null?void 0:e.filters)==null?void 0:t.map(o=>o.children!==void 0?new Xt(o):new vn(o)))!=null?n:[],this.viewFilters=(i=(r=e==null?void 0:e.viewFilters)==null?void 0:r.map(o=>o.children!==void 0?new Xt(o):new vn(o)))!=null?i:[],this.orders=(s=(a=e==null?void 0:e.orders)==null?void 0:a.map(o=>new qi(o)))!=null?s:[]}class Nr{constructor(t){var n,r,i,a,s,o,l;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(r=t==null?void 0:t.appId)!=null?r:"",this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!=null?i:"",this.displayBoList=[],this.isOpenViewFilters=(a=t==null?void 0:t.isOpenViewFilters)!=null?a:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(c=>{var _;(_=this.displayBoList)==null||_.push(new ji(c))})),this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!=null?s:"",this.showOrder=(o=t==null?void 0:t.showOrder)!=null?o:!0,this.svcCode=(l=t==null?void 0:t.svcCode)!=null?l:"",Ki.call(this,t)}}class Dm{constructor(t){var n,r;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.displayBoList=(r=t==null?void 0:t.displayBoList)!=null?r:[]}}class Cm{constructor(t){var n,r,i,a,s,o,l,c,_,f;this.code=(n=t==null?void 0:t.code)!=null?n:"view",this.color=(r=t==null?void 0:t.color)!=null?r:"primary",this.command=(i=t==null?void 0:t.command)!=null?i:"view",this.confirmMessage=(a=t==null?void 0:t.confirmMessage)!=null?a:void 0,this.defaultState=(s=t==null?void 0:t.defaultState)!=null?s:"default",this.formKey=(o=t==null?void 0:t.formKey)!=null?o:void 0,this.formType=t==null?void 0:t.formType,this.icon=(l=t==null?void 0:t.icon)!=null?l:"iconliulan1",this.needConfirm=(c=t==null?void 0:t.needConfirm)!=null?c:!1,this.openType=(_=t==null?void 0:t.openType)!=null?_:"modal",this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!=null?f:!0}}class Gi{constructor(t){var n,r,i,a;this.name=(n=t==null?void 0:t.name)!=null?n:"",this.key=(r=t==null?void 0:t.key)!=null?r:"",this.value=(a=(i=t==null?void 0:t.value)==null?void 0:i.map(s=>new ji(s)))!=null?a:[]}}class ol extends Nr{constructor(t){var n,r;super(t),this.attributes=(r=(n=t==null?void 0:t.attributes)==null?void 0:n.map(i=>new Gi(i)))!=null?r:[]}}class Rm extends Nr{constructor(t){var n,r,i;super(t),this.attributes=(r=(n=t==null?void 0:t.attributes)==null?void 0:n.map(a=>new Gi(a)))!=null?r:[],this.formCode=(i=t==null?void 0:t.formCode)!=null?i:""}}class Tm extends ol{constructor(t){var n;super(t),this.rootNode=new pi(t==null?void 0:t.rootNode),this.filterCode=(n=t==null?void 0:t.filterCode)!=null?n:""}}class ll{constructor(t){var n,r,i,a;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(r=t==null?void 0:t.appId)!=null?r:"",this.fillList=(a=(i=t==null?void 0:t.fillList)==null?void 0:i.map(s=>new al(s)))!=null?a:[]}}class Pm extends ll{constructor(t){super(t),Ki.call(this,t)}}class Mm extends ll{constructor(t){var n,r;super(t),this.mode=(n=t==null?void 0:t.mode)!=null?n:"current",this.multiple=(r=t==null?void 0:t.multiple)!=null?r:!1}}class Fm{constructor(t){var n,r,i;this.zh=(n=t==null?void 0:t.zh)!=null?n:"",this.en=(r=t==null?void 0:t.en)!=null?r:"",this.ja=(i=t==null?void 0:t.ja)!=null?i:""}}class Vm{constructor(t){var n,r,i;this.stencilName=(n=t==null?void 0:t.stencilName)!=null?n:"",this.expression=(r=t==null?void 0:t.expression)!=null?r:"",this.errMessage=(i=t==null?void 0:t.errMessage)!=null?i:""}}class Xi{constructor(t){var n,r,i;this.id=(n=t==null?void 0:t.id)!=null?n:tt(8),this.label=(r=t==null?void 0:t.label)!=null?r:"",this.value=(i=t==null?void 0:t.value)!=null?i:this.label}}class cl extends Xi{constructor(t){var n,r;super(t),this.image=(n=t==null?void 0:t.image)!=null?n:"",this.type=(r=t==null?void 0:t.type)!=null?r:"src"}}function km(e){var t;return(t=e==null?void 0:e.map(n=>new Xi(n)))!=null?t:[]}function Um(e){var t;return(t=e==null?void 0:e.map(n=>new cl(n)))!=null?t:[]}class Ir{}class $m extends Ir{constructor(t){super(),this.amount=new We(t==null?void 0:t.amount),this.currency=new We(t==null?void 0:t.currency)}}class xm{constructor(t){var n,r;this.amount=(n=t==null?void 0:t.amount)!=null?n:"",this.currency=(r=t==null?void 0:t.currency)!=null?r:Ji.CNY}}class Wm extends Ir{constructor(t){super(),this.min=new We(t==null?void 0:t.min),this.max=new We(t==null?void 0:t.max)}}class Bm{constructor(t){var n,r;this.min=(n=t==null?void 0:t.min)!=null?n:"",this.max=(r=t==null?void 0:t.max)!=null?r:""}}class Hm{constructor(t){var n,r,i,a,s,o;this.city=(n=t==null?void 0:t.city)!=null?n:"",this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!=null?r:"",this.district=(i=t==null?void 0:t.district)!=null?i:"",this.districtDisplay=(a=t==null?void 0:t.districtDisplay)!=null?a:"",this.province=(s=t==null?void 0:t.province)!=null?s:"",this.provinceDisplay=(o=t==null?void 0:t.provinceDisplay)!=null?o:""}}class pm extends Ir{constructor(t){super(),this.result=new We(t==null?void 0:t.result),this.unit=new We(t==null?void 0:t.unit)}}class jm{constructor(t){var n,r;this.result=(n=t==null?void 0:t.result)!=null?n:0,this.unit=(r=t==null?void 0:t.unit)!=null?r:""}}var Ji=(e=>(e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP",e))(Ji||{}),ul=(e=>(e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e))(ul||{}),Qi=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e))(Qi||{});class qm{constructor(t){var n,r,i,a,s,o;this.isShow=(n=t==null?void 0:t.isShow)!=null?n:!0,this.content=(r=t==null?void 0:t.content)!=null?r:"",this.formKey=(i=t==null?void 0:t.formKey)!=null?i:"",this.openType=(a=t==null?void 0:t.openType)!=null?a:"modal",this.type=(s=t==null?void 0:t.type)!=null?s:"",this.priorityProcess=(o=t==null?void 0:t.priorityProcess)!=null?o:!1}}class Km{constructor(t){var n,r,i,a;this.id=(n=t==null?void 0:t.id)!=null?n:tt(8),this.title=(r=t==null?void 0:t.title)!=null?r:"",this.headers=(a=(i=t==null?void 0:t.headers)==null?void 0:i.map(s=>new tl(s)))!=null?a:[],Ki.call(this,t)}}class Gm{constructor(t){var n,r;this.key=(n=t.key)!=null?n:tt(8),this.caption=(r=t.caption)!=null?r:""}}class fl{constructor(t){var n,r,i,a;this.width=(n=t==null?void 0:t.width)!=null?n:"",this.height=(r=t==null?void 0:t.height)!=null?r:"",this.widthConfig=(i=t==null?void 0:t.widthConfig)!=null?i:"fill",this.heightConfig=(a=t==null?void 0:t.heightConfig)!=null?a:"fill"}}class Xm{constructor(t){var n,r;this.optCode=(n=t==null?void 0:t.optCode)!=null?n:"",this.optType=(r=t==null?void 0:t.optType)!=null?r:""}}class dl{constructor(t){var n,r,i,a,s,o;this.id=(n=t==null?void 0:t.id)!=null?n:tt(),this.name=(r=t==null?void 0:t.name)!=null?r:"",this.filters=(a=(i=t==null?void 0:t.filters)==null?void 0:i.map(l=>l.children!==void 0?new Xt(l):new vn(l)))!=null?a:[],this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(o=(s=t==null?void 0:t.settings)==null?void 0:s.map(l=>new ml(l)))!=null?o:[]:[],this.script=t==null?void 0:t.script}}class ml{constructor(t){var n,r,i,a;this.type=(n=t.type)!=null?n:"background",this.fieldCodes=(r=t.fieldCodes)!=null?r:[],this.color=(i=t.color)!=null?i:"theme",this.scope=(a=t.scope)!=null?a:"row"}}class Jm{constructor(t){var n,r,i,a;this.type=(n=t==null?void 0:t.type)!=null?n:"none",this.interval=(r=t==null?void 0:t.interval)!=null?r:{color:""},this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(a=(i=t==null?void 0:t.rules)==null?void 0:i.map(s=>new dl(s)))!=null?a:[]:[]}}class Or{constructor(t){this.isHide={type:"boolean"}}}class zi extends Array{constructor(t){super()}}class Qe{constructor(t,n=""){var r,i;this.isHide=(r=t==null?void 0:t.isHide)!=null?r:!1,this.style=new fl(t==null?void 0:t.style),this.caption=(i=t==null?void 0:t.caption)!=null?i:n}}Qe.Rules=Or,Qe.RuntimeRules=zi;function Be(){return Be=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},Be.apply(this,arguments)}function Qm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function Sr(e,t){return Sr=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Sr(e,t)}function zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function wr(e,t,n){return zm()?wr=Reflect.construct:wr=function(i,a,s){var o=[null];o.push.apply(o,a);var l=Function.bind.apply(i,o),c=new l;return s&&Sr(c,s.prototype),c},wr.apply(null,arguments)}function Zm(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yi(e){var t=typeof Map=="function"?new Map:void 0;return Yi=function(r){if(r===null||!Zm(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return wr(r,arguments,Zi(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Sr(i,r)},Yi(e)}var Ym=/%[sdj%]/g,_l=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(_l=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function ea(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],a=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var s=String(i).replace(Ym,function(o){if(o==="%%")return"%";if(r>=a)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(l){return"[Circular]"}break;default:return o}});return s}return i}function e_(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function fe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||e_(t)&&typeof e=="string"&&!e)}function t_(e,t,n){var r=[],i=0,a=e.length;function s(o){r.push.apply(r,o),i++,i===a&&n(r)}e.forEach(function(o){t(o,s)})}function hl(e,t,n){var r=0,i=e.length;function a(s){if(s&&s.length){n(s);return}var o=r;r=r+1,o<i?t(e[o],a):n([])}a([])}function n_(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var gl=function(e){Qm(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(Yi(Error));function r_(e,t,n,r){if(t.first){var i=new Promise(function(f,m){var S=function(D){return r(D),D.length?m(new gl(D,ea(D))):f()},L=n_(e);hl(L,n,S)});return i.catch(function(f){return f}),i}var a=t.firstFields||[];a===!0&&(a=Object.keys(e));var s=Object.keys(e),o=s.length,l=0,c=[],_=new Promise(function(f,m){var S=function(v){if(c.push.apply(c,v),l++,l===o)return r(c),c.length?m(new gl(c,ea(c))):f()};s.length||(r(c),f()),s.forEach(function(L){var v=e[L];a.indexOf(L)!==-1?hl(v,n,S):t_(v,n,S)})});return _.catch(function(f){return f}),_}function El(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function yl(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Be(Be({},e[n]),r):e[n]=r}}return e}function vl(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||fe(t,a||e.type))&&r.push(Se(i.messages.required,e.fullField))}function i_(e,t,n,r,i){(/^\s+$/.test(t)||t==="")&&r.push(Se(i.messages.whitespace,e.fullField))}var ta={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bn={integer:function(t){return bn.number(t)&&parseInt(t,10)===t},float:function(t){return bn.number(t)&&!bn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!bn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(ta.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ta.url)},hex:function(t){return typeof t=="string"&&!!t.match(ta.hex)}};function a_(e,t,n,r,i){if(e.required&&t===void 0){vl(e,t,n,r,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;a.indexOf(s)>-1?bn[s](t)||r.push(Se(i.messages.types[s],e.fullField,e.type)):s&&typeof t!==e.type&&r.push(Se(i.messages.types[s],e.fullField,e.type))}function s_(e,t,n,r,i){var a=typeof e.len=="number",s=typeof e.min=="number",o=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,_=null,f=typeof t=="number",m=typeof t=="string",S=Array.isArray(t);if(f?_="number":m?_="string":S&&(_="array"),!_)return!1;S&&(c=t.length),m&&(c=t.replace(l,"_").length),a?c!==e.len&&r.push(Se(i.messages[_].len,e.fullField,e.len)):s&&!o&&c<e.min?r.push(Se(i.messages[_].min,e.fullField,e.min)):o&&!s&&c>e.max?r.push(Se(i.messages[_].max,e.fullField,e.max)):s&&o&&(c<e.min||c>e.max)&&r.push(Se(i.messages[_].range,e.fullField,e.min,e.max))}var Jt="enum";function o_(e,t,n,r,i){e[Jt]=Array.isArray(e[Jt])?e[Jt]:[],e[Jt].indexOf(t)===-1&&r.push(Se(i.messages[Jt],e.fullField,e[Jt].join(", ")))}function l_(e,t,n,r,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Se(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||r.push(Se(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:vl,whitespace:i_,type:a_,range:s_,enum:o_,pattern:l_};function c_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"string")&&!e.required)return n();B.required(e,t,r,a,i,"string"),fe(t,"string")||(B.type(e,t,r,a,i),B.range(e,t,r,a,i),B.pattern(e,t,r,a,i),e.whitespace===!0&&B.whitespace(e,t,r,a,i))}n(a)}function u_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}function f_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(t===""&&(t=void 0),fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function d_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}function m_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),fe(t)||B.type(e,t,r,a,i)}n(a)}function __(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function h_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function g_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(t==null&&!e.required)return n();B.required(e,t,r,a,i,"array"),t!=null&&(B.type(e,t,r,a,i),B.range(e,t,r,a,i))}n(a)}function E_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B.type(e,t,r,a,i)}n(a)}var y_="enum";function v_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i),t!==void 0&&B[y_](e,t,r,a,i)}n(a)}function b_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"string")&&!e.required)return n();B.required(e,t,r,a,i),fe(t,"string")||B.pattern(e,t,r,a,i)}n(a)}function N_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t,"date")&&!e.required)return n();if(B.required(e,t,r,a,i),!fe(t,"date")){var o;t instanceof Date?o=t:o=new Date(t),B.type(e,o,r,a,i),o&&B.range(e,o.getTime(),r,a,i)}}n(a)}function I_(e,t,n,r,i){var a=[],s=Array.isArray(t)?"array":typeof t;B.required(e,t,r,a,i,s),n(a)}function na(e,t,n,r,i){var a=e.type,s=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(fe(t,a)&&!e.required)return n();B.required(e,t,r,s,i,a),fe(t,a)||B.type(e,t,r,s,i)}n(s)}function O_(e,t,n,r,i){var a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(fe(t)&&!e.required)return n();B.required(e,t,r,a,i)}n(a)}var Nn={string:c_,method:u_,number:f_,boolean:d_,regexp:m_,integer:__,float:h_,array:g_,object:E_,enum:v_,pattern:b_,date:N_,url:na,hex:na,email:na,required:I_,any:O_};function ra(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ia=ra();function ht(e){this.rules=null,this._messages=ia,this.define(e)}ht.prototype={messages:function(t){return t&&(this._messages=yl(ra(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var i=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var a=t,s=n,o=r;if(typeof s=="function"&&(o=s,s={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function l(v){var D,g=[],O={};function h(E){if(Array.isArray(E)){var w;g=(w=g).concat.apply(w,E)}else g.push(E)}for(D=0;D<v.length;D++)h(v[D]);g.length?O=ea(g):(g=null,O=null),o(g,O)}if(s.messages){var c=this.messages();c===ia&&(c=ra()),yl(c,s.messages),s.messages=c}else s.messages=this.messages();var _,f,m={},S=s.keys||Object.keys(this.rules);S.forEach(function(v){_=i.rules[v],f=a[v],_.forEach(function(D){var g=D;typeof g.transform=="function"&&(a===t&&(a=Be({},a)),f=a[v]=g.transform(f)),typeof g=="function"?g={validator:g}:g=Be({},g),g.validator=i.getValidationMethod(g),g.field=v,g.fullField=g.fullField||v,g.type=i.getType(g),g.validator&&(m[v]=m[v]||[],m[v].push({rule:g,value:f,source:a,field:v}))})});var L={};return r_(m,s,function(v,D){var g=v.rule,O=(g.type==="object"||g.type==="array")&&(typeof g.fields=="object"||typeof g.defaultField=="object");O=O&&(g.required||!g.required&&v.value),g.field=v.field;function h(N,y){return Be(Be({},y),{},{fullField:g.fullField+"."+N})}function E(N){N===void 0&&(N=[]);var y=N;if(Array.isArray(y)||(y=[y]),!s.suppressWarning&&y.length&&ht.warning("async-validator:",y),y.length&&g.message!==void 0&&(y=[].concat(g.message)),y=y.map(El(g)),s.first&&y.length)return L[g.field]=1,D(y);if(!O)D(y);else{if(g.required&&!v.value)return g.message!==void 0?y=[].concat(g.message).map(El(g)):s.error&&(y=[s.error(g,Se(s.messages.required,g.field))]),D(y);var C={};if(g.defaultField)for(var T in v.value)v.value.hasOwnProperty(T)&&(C[T]=g.defaultField);C=Be(Be({},C),v.rule.fields);for(var j in C)if(C.hasOwnProperty(j)){var ve=Array.isArray(C[j])?C[j]:[C[j]];C[j]=ve.map(h.bind(null,j))}var x=new ht(C);x.messages(s.messages),v.rule.options&&(v.rule.options.messages=s.messages,v.rule.options.error=s.error),x.validate(v.value,v.rule.options||s,function(se){var Ae=[];y&&y.length&&Ae.push.apply(Ae,y),se&&se.length&&Ae.push.apply(Ae,se),D(Ae.length?Ae:null)})}}var w;g.asyncValidator?w=g.asyncValidator(g,v.value,E,v.source,s):g.validator&&(w=g.validator(g,v.value,E,v.source,s),w===!0?E():w===!1?E(g.message||g.field+" fails"):w instanceof Array?E(w):w instanceof Error&&E(w.message)),w&&w.then&&w.then(function(){return E()},function(N){return E(N)})},function(v){l(v)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Nn.hasOwnProperty(t.type))throw new Error(Se("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Nn.required:Nn[this.getType(t)]||!1}},ht.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Nn[t]=n},ht.warning=_l,ht.messages=ia,ht.validators=Nn;const S_={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function bl(e,t={}){const n=new ht(e);return n.messages(Object.assign(S_,t)),n}const Nl=new mm;class ye{constructor(t){var m,S,L,v;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ol,this.removeSetting=Il,this._callControlHooks("preInstance",t);const{controlName:n,controlIcon:r,controlType:i,controlFieldType:a,controlEventKeys:s,controlCustomEvents:o,name:l,setting:c,slots:_,slotPosition:f}=new.target;n&&r&&i||Ia(`The ${l} controlName,controlIcon,controlType is not define`),this.id=(m=t==null?void 0:t.id)!=null?m:tt(10),this.name=n,this.icon=r,this.type=(S=t==null?void 0:t.type)!=null?S:i,this.props=new Qe(t==null?void 0:t.props,new.target.controlName),this.controlType=(L=t==null?void 0:t.controlType)!=null?L:"base",this.setting=Je(c),this.fieldType=(v=t==null?void 0:t.fieldType)!=null?v:a,this.eventKeys=Je(s),this.customEvents=Je(o),this.slots=Je(_),this.slotPosition=Je(f),Promise.resolve().then(()=>{this._callControlHooks("postInstance",t)})}get rules(){const t=this.props.constructor.Rules;return t?new t(this.props):{}}_callControlHooks(...t){const[n,...r]=t;return Nl.emit(n,this,...r)}preUpdate(t,n){this._callControlHooks("preUpdateProps",t,n)}postUpdate(t,n){this._callControlHooks("postUpdateProps",t,n)}updateProps(t,n){this.preUpdate(t,n),zd(this.props,t,n),this.postUpdate(t,n)}preValidate(){return Ye(this,null,function*(){const t=Ze({},this.rules),n=yield this._callControlHooks("preValidate",t),r=n[n.length-1];return r===!1?void 0:r})}validate(t,n){return Ye(this,null,function*(){const r=yield this.preValidate(),i=r!==void 0?r:Ze({},this.rules);Array.isArray(n)&&n.forEach(s=>{i.hasOwnProperty(s)&&delete i[s]});const a=bl(i,t);try{return yield a.validate(this.props),!0}catch(s){throw s.control||(s.control=this),s}})}toDataBindModel(t=null){const n=this.fieldType,r=this.id,i=this.type,{dataBind:a,datasourceBind:s,optionConfig:o,caption:l,required:c,maxLength:_,options:f,encrypted:m,encryptedMode:S}=this.props;if(!n&&!a&&!s)return;const L={parentId:t,fieldType:n,controlId:r,caption:l,type:i,props:{}};switch(a&&(L.dataBind=a),o){case"datasource":case void 0:s&&(L.datasourceBind=s);break;case"custom":L.props.options=f;break}return c!==void 0&&(L.required=c),_!==void 0&&(L.maxLength=_),m!==void 0&&(L.encrypted=m),S!==void 0&&(L.encryptedMode=S),L}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(t,n){t==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}ye.mode="Designer",ye.controlName="\u63A7\u4EF6",ye.controlIcon="icon",ye.controlType="control",ye.controlEventKeys=[],ye.controlCustomEvents=[],ye.setting=[],ye.__is_control__=!0,ye.removeSettingItem=Il,ye.updateSettingItem=Ol;function Il(e){(Array.isArray(e)?e:[e]).forEach(n=>{var a,s,o;const r=typeof n!="string",i=(a=this.setting)==null?void 0:a.findIndex(l=>l.key===(r?n.key:n));i!==-1&&(r?this.setting[i].showItems=(s=this.setting[i].showItems)==null?void 0:s.filter(l=>!n.hideItems.includes(l)):this.setting.splice(i,1),r&&!((o=this.setting[i].showItems)!=null&&o.length)&&this.setting.splice(i,1))})}function Ol(e,t){(typeof e=="string"?[e]:e).forEach(r=>{var a;const i=this.setting.find(s=>s.key===r);i&&(typeof t=="boolean"?i.visible=t:typeof t=="object"&&(((a=t.type)!=null?a:"replace")==="replace"?i.showItems=t.showItems:i.showItems.push(...t.showItems)))})}class ze{constructor(t){var s,o,l,c,_;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:r,name:i,controlCustomEvents:a}=new.target;n||Ia(`The ${i} controlType is not define`),this.id=(s=t==null?void 0:t.id)!=null?s:tt(10),this.type=(o=t==null?void 0:t.type)!=null?o:n,this.props=new Qe(t==null?void 0:t.props),this.customEvents=a,this.controlType=(l=t==null?void 0:t.controlType)!=null?l:"base",this.fieldType=(c=t==null?void 0:t.fieldType)!=null?c:r,this.pageStatus=(_=t==null?void 0:t.pageStatus)!=null?_:Qi.UNKNOWN}get rules(){const t=this.props.constructor.RuntimeRules;if(t){const n=new t(this.props);return Array.from(n)}return[]}}ze.mode="Runtime",ze.controlType="control",ze.__is_control__=!0,ze.controlCustomEvents=[];function aa(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:k.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:k.getMessage("pleaseEnterValue")}}}},{type:"array",validator(t,n,r){n.length===0&&r(k.getMessage("optionIsRequired")),r()}},{type:"array",validator(t,n,r){const i=n.map(s=>s.value),a=im(i);i.length!==a.length?r(k.getMessage("optionIdIsRepeat")):r()},message:k.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",validator(t,n,r){n.length===0&&r(k.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:k.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:k.getMessage("isNotBoolean")}}}}]}}])}function w_(e,t,n=!1){this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:k.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:k.getMessage("isNotString")},key:{type:"string",required:!0,message:k.getMessage("isNotString")},value:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",validator(r,i,a){i.length===0&&a(k.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:k.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:k.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:k.getMessage("isNotBoolean")}}}}]}}]}function Sl(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}class sa extends Or{constructor(t){super(t),this.dataBind={},this.caption={type:"string",required:!0,message:k.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:k.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:k.getMessage("pleaseEnterFieldCode")}};if(Sl(t.dataBind))this.dataBind={type:"object",required:!0,fields:Je(n),message:k.getMessage("pleaseEnterFieldCode")};else{let r={type:"object",required:!0,fields:{},message:k.getMessage("pleaseEnterFieldCode")};Object.keys(t.dataBind).forEach(i=>{r.fields[i]={type:"object",required:!0,fields:Je(n),message:k.getMessage("pleaseEnterFieldCode")}}),this.dataBind=r}t.isShowCaptionTip&&(this.captionTip.required=!0)}}class wl extends zi{constructor(t){super(t);const n=t.isHide?!1:t.required;n&&this.push({type:"string",required:n,message:t.requiredMessage!==""?t.requiredMessage:k.getMessage("runtimeRequired",{caption:t.caption})})}}class In extends Qe{constructor(t){var n,r,i,a,s,o,l,c,_,f;super(t),this.caption=(n=t==null?void 0:t.caption)!=null?n:"",this.isHideCaption=(r=t==null?void 0:t.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(i=t==null?void 0:t.isShowCaptionTip)!=null?i:!1,this.captionTip=(a=t==null?void 0:t.captionTip)!=null?a:"",this.defaultState=(s=t==null?void 0:t.defaultState)!=null?s:"default",this.labelPosition=(o=t==null?void 0:t.labelPosition)!=null?o:"top",this.placeholder=(l=t==null?void 0:t.placeholder)!=null?l:"",this.required=(c=t==null?void 0:t.required)!=null?c:!1,this.requiredMessage=(_=t==null?void 0:t.requiredMessage)!=null?_:"",this.dataBind=new We(t==null?void 0:t.dataBind),this.defaultValue=(f=t==null?void 0:t.defaultValue)!=null?f:""}}In.Rules=sa,In.RuntimeRules=wl;class L_ extends sa{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource"],message:k.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:k.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")}],aa.call(this,t)}}class Ll extends ye{constructor(t){super(t),this.controlType="form",this.props=new In(t==null?void 0:t.props)}}Ll.controlEventKeys=["on_change","on_focus","on_blur"];class A_ extends ze{constructor(t){super(t),this.controlType="form",this.props=new In(t==null?void 0:t.props)}}class On extends Qe{constructor(t){super(t)}}const D_=1e4;class Ct extends ye{constructor(t){super(t),this.controlType="layout";const{excludes:n,childrenMaxLength:r}=new.target;this.props=new On(t==null?void 0:t.props),_t(this,"children",t==null?void 0:t.children,void 0,"Designer"),this.excludes=Je(n),this.childrenMaxLength=r}judgeExcludesChildren(t){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t)}judgeJoinChildren(t){const n=this.judgeExcludesChildren(t);return n&&this.childrenMaxLength>this.children.length}validate(t,n){return Ye(this,null,function*(){return yield ma(Ct.prototype,this,"validate").call(this,t,n),yield Promise.all(this.children.map(r=>r.validate(t,n))),!0})}toDataBindModel(t=null){const n=super.toDataBindModel(),r=n?[n]:[];return this.children.reduce((i,a)=>{const s=a.toDataBindModel(t);if(Array.isArray(s)){const o=s.filter(l=>!!l);return[...i,...o]}return s&&i.push(s),i},r)}toSchema(){const t=super.toSchema(),n=this.children.map(r=>r.toSchema());return Pt(Ze({},t),{children:n})}}Ct.excludes=!1,Ct.childrenMaxLength=D_;class oa extends ze{constructor(t){super(t),this.controlType="layout",this.props=new On(t==null?void 0:t.props),_t(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class la extends Qe{constructor(t,n,r){var i,a,s,o;super(n),_t(this,"headers",n==null?void 0:n.headers,t,r),_t(this,"footers",n==null?void 0:n.footers,t),this.pageIndex=(i=n==null?void 0:n.pageIndex)!=null?i:1,this.pageSize=(a=n==null?void 0:n.pageSize)!=null?a:20,this.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!=null?s:[20],this.totalCount=(o=n==null?void 0:n.totalCount)!=null?o:0}}class Lr extends ye{constructor(t){super(t),this.controlType="list",this.props=new la(this,t==null?void 0:t.props,"Designer")}validate(t,n){return Ye(this,null,function*(){return yield ma(Lr.prototype,this,"validate").call(this,t),yield Promise.all(this.props.headers.map(r=>r.validate(t,n))),!0})}toDataBindModel(){const t=super.toDataBindModel(),n=t?[t]:[],r=this.id;return this.props.headers.reduce((i,a)=>{const s=a.toDataBindModel(r);if(Array.isArray(s)){const o=s.filter(l=>!!l);return[...i,...o]}return s&&i.push(s),i},n)}toSchema(){const t=super.toSchema(),n=this.props.headers.map(r=>r.toSchema());return Pt(Ze({},t),{props:Pt(Ze({},this.props),{headers:n})})}}Lr.controlFieldType=pe.LIST;class C_ extends ze{constructor(t){super(t),this.controlType="list",this.props=new la(this,t==null?void 0:t.props,"Runtime"),_t(this,"children",t==null?void 0:t.children,void 0,"Runtime")}get length(){return this.children.length}}class ca extends Or{constructor(t){super(t),this.caption={type:"string",required:!0,message:k.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:k.getMessage("pleaseEnterColumnWidth")},this.width.required=t.widthType==="px"}}class Ar extends Qe{constructor(t){var n,r,i,a,s;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:150,this.widthType=(t==null?void 0:t.widthType)||"auto",this.caption=(r=t==null?void 0:t.caption)!=null?r:"",this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"none",this.autoWidth=new Bi(t==null?void 0:t.autoWidth),this.dataBind=new We(t==null?void 0:t.dataBind),this.sort=(a=t==null?void 0:t.sort)!=null?a:!0,this.align=t==null?void 0:t.align,this.colSpan=t==null?void 0:t.colSpan,this.autoHeight=(s=t==null?void 0:t.autoHeight)!=null?s:!1}}Ar.Rules=ca;class R_ extends ca{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:k.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:k.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:k.getMessage("isNotObject")}],aa.call(this,t)}}class T_ extends ye{constructor(t){super(t),this.controlType="column",this.props=new Ar(t==null?void 0:t.props),_t(this,"children",t==null?void 0:t.children,void 0,"Designer")}toSchema(){const t=super.toSchema();return Pt(Ze({},t),{children:this.children?this.children.map(n=>n.toSchema()):[]})}}class P_ extends ze{constructor(t){super(t),this.controlType="column",this.props=new Ar(t==null?void 0:t.props),_t(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class ua extends On{constructor(t){super(t),this.dataBind=new We(t==null?void 0:t.dataBind)}}class M_ extends Ct{constructor(t){super(t),this.controlType="search",this.props=new ua(t==null?void 0:t.props)}}class F_ extends oa{constructor(t){super(t),this.controlType="search",this.props=new ua(t==null?void 0:t.props)}}class fa extends On{constructor(t){super(t)}}class V_ extends Ct{constructor(t){super(t),this.controlType="wrap",this.props=new fa(t==null?void 0:t.props)}}class k_ extends oa{constructor(t){super(t),this.controlType="wrap",this.props=new fa(t==null?void 0:t.props)}}function U_(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:k.getMessage("pleaseEnterForm")}}}])}I.AMOUNT_TYPE=Ji,I.AddressValue=Hm,I.AmountDataBind=$m,I.AmountValue=xm,I.AutoWidth=Bi,I.BaseControlProperty=In,I.BaseControlPropertyRules=sa,I.BaseControlPropertyRuntimeRules=wl,I.BaseStyle=fl,I.COMMON_SETTING_TYPE=ul,I.CalcDataBind=pm,I.CalcValue=jm,I.ColumnControlProperty=Ar,I.ColumnControlPropertyRules=ca,I.ColumnOptionAndDataSourcePropertyRules=R_,I.CustomAttributeItem=Gi,I.CustomPermissionItem=Gm,I.DataBind=We,I.DataSourceBind=Nr,I.DataSourceDataSetValue=sl,I.DataSourceOrderItem=qi,I.DataSourceParamItem=Am,I.DataStorageDoc=Nm,I.DesignerColumnControl=T_,I.DesignerControl=ye,I.DesignerFormControl=Ll,I.DesignerLayoutControl=Ct,I.DesignerListControl=Lr,I.DesignerSearchControl=M_,I.DesignerWrapControl=V_,I.DisplayBoListItem=ji,I.FieldBindItem=nl,I.FieldFilterCondition=vn,I.FieldFilterConditions=Xt,I.FillBackBind=Mm,I.FillPayloadBind=Pm,I.FormBind=br,I.FormSelectBind=Im,I.ImageOptionSetting=cl,I.JoinRelation=wm,I.Language=Fm,I.LayoutControlProperty=On,I.LeftVariable=il,I.LinkOperationOption=Cm,I.ListBind=Om,I.ListControlProperty=la,I.MetaAutoWidth=bm,I.MetaRowHeight=vm,I.MetaWidth=vr,I.MultistageFillingItem=al,I.ObjectDataBind=Ir,I.OperationItem=qm,I.OptObject=Xm,I.OptionAndDataSourcePropertyRules=L_,I.OptionDisplayConfigItem=Lm,I.OptionSetting=Xi,I.OrganizationDataSourceBind=Rm,I.PAGE_STATUS=Qi,I.Property=Qe,I.PropertyRules=Or,I.PropertyRuntimeRules=zi,I.RangeDataBind=Wm,I.RangeDateValue=Bm,I.RegisterControls=yn,I.RegularRules=Vm,I.RightVariable=pi,I.RowHeight=Hi,I.RowStyle=Jm,I.RowStyleRule=dl,I.RowStyleSettings=ml,I.RuntimeColumnControl=P_,I.RuntimeControl=ze,I.RuntimeFormControl=A_,I.RuntimeLayoutControl=oa,I.RuntimeListControl=C_,I.RuntimeSearchControl=F_,I.RuntimeWrapControl=k_,I.SearchControlProperty=ua,I.SelectedContentConfig=Dm,I.SubListItem=rl,I.SubListPageConfig=Sm,I.SuperDataSourceBind=ol,I.TreeDataSourceBind=Tm,I.ViewOperationItem=Km,I.WrapControlProperty=fa,I.controlHooksEmitter=Nl,I.createValidator=bl,I.defineArrayParent=Qo,I.defineControlArrayToProperty=_t,I.defineParent=xi,I.initImageOptions=Um,I.initLinkOperationRules=U_,I.initOptionAndDataSourceRules=aa,I.initOptions=km,I.initSuperDataSourceRules=w_,I.isDataBind=Sl,I.setPropertyDontEnum=yr,Object.defineProperty(I,"__esModule",{value:!0})});