hlrender 0.0.141 → 0.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_pdf-cdb84afc.js → _pdf-632c7cc5.js} +10 -10
- package/{_txt-6e540baf.js → _txt-ca6362c2.js} +10 -10
- package/{_unsupport-2b9e5fba.js → _unsupport-9ca749cd.js} +1 -1
- package/{affix-widget-a737c7ee.js → affix-widget-3991908f.js} +15 -15
- package/{alert-widget-8b1a3cb2.js → alert-widget-af9fee8e.js} +15 -15
- package/{anchor-widget-fce9d845.js → anchor-widget-c46752a1.js} +12 -12
- package/{auto-complete-widget-657217e2.js → auto-complete-widget-78c13cf4.js} +15 -15
- package/{avatar-widget-ce107740.js → avatar-widget-2792306a.js} +15 -15
- package/{backtop-widget-61864890.js → backtop-widget-1ae22555.js} +15 -15
- package/{badge-widget-5b52c593.js → badge-widget-e08a6988.js} +15 -15
- package/{barcode-widget-a80a8770.js → barcode-widget-90490444.js} +12 -12
- package/{baseImp-df7b65ff.js → baseImp-2703fc95.js} +5 -5
- package/{breadcrumb-widget-160657a9.js → breadcrumb-widget-4f9650a1.js} +12 -12
- package/{button-widget-64411af8.js → button-widget-6fd4cf6f.js} +15 -15
- package/{cache-widget-2e4b6c83.js → cache-widget-e0564ce1.js} +14 -14
- package/{card-widget-8ecd62ba.js → card-widget-4b049c2f.js} +13 -13
- package/{carousel-widget-87f91572.js → carousel-widget-001788b9.js} +13 -13
- package/{cascader-widget-1b26fd91.js → cascader-widget-426b4c4b.js} +14 -14
- package/{chart-widget-e60614e5.js → chart-widget-fdda9017.js} +12 -12
- package/{checkbox-widget-0d017343.js → checkbox-widget-56e95707.js} +14 -14
- package/{collapse-widget-d220a6ac.js → collapse-widget-5088e3f2.js} +13 -13
- package/{color-picker-widget-15a31ec7.js → color-picker-widget-f5df0ea0.js} +14 -14
- package/{cont-cell-widget-a084ba96.js → cont-cell-widget-9a5cc300.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-116cf90b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5ec2b82.js} +5 -5
- package/{cont-widget-885866dd.js → cont-widget-e65b466d.js} +5 -5
- package/{content-wrapper-e9cd3fef.js → content-wrapper-136079e7.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-52d323bd.js → content-wrapper.vue_vue_type_script_setup_true_lang-8fdd2d4a.js} +3 -3
- package/{date-picker-range-widget-b271beb9.js → date-picker-range-widget-cd5eaff6.js} +14 -14
- package/{date-picker-widget-076d1b61.js → date-picker-widget-f3e3940d.js} +14 -14
- package/default-slot-widget-a2dd2f78.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5f96bf33.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9cc563fb.js} +7 -7
- package/{descriptions-widget-90666a0c.js → descriptions-widget-7bf1787d.js} +13 -13
- package/{dialog-9acc103b.js → dialog-1af96257.js} +2 -2
- package/{dialog-widget-83153edb.js → dialog-widget-36ba595d.js} +14 -14
- package/{divider-widget-a5380f12.js → divider-widget-860298df.js} +15 -15
- package/{drag-wrapper-a41e4e4a.js → drag-wrapper-5634520c.js} +6 -6
- package/{drawer-widget-74538cc8.js → drawer-widget-8cbf7896.js} +14 -14
- package/{dropdown-widget-608c187a.js → dropdown-widget-1fac0aba.js} +13 -13
- package/{empty-widget-39271da6.js → empty-widget-65ae0cd1.js} +15 -15
- package/{enum-type-f3133577.js → enum-type-5a9b17ba.js} +8 -6
- package/{enum-type-58e23005.js → enum-type-673fa7d4.js} +1 -1
- package/{expression-8b6f7687.js → expression-e4a50cfb.js} +1 -1
- package/feedback-widget-34515aef.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7674faf7.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-99bcb28f.js} +5 -5
- package/{fieldobj-a02ef2e2.js → fieldobj-6e5012ec.js} +1 -1
- package/{file-upload-widget-1c4b110f.js → file-upload-widget-79330e0c.js} +19 -19
- package/{form-item-wrapper-eaf885e6.js → form-item-wrapper-7de5f9bf.js} +10 -10
- package/{form-widget-cfe94be7.js → form-widget-372d26c9.js} +10 -10
- package/{grid-col-widget-93e33bd4.js → grid-col-widget-7cf70e0e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-309d2f9f.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4cd8815d.js} +5 -5
- package/{grid-widget-3f8162fa.js → grid-widget-36b93b4e.js} +5 -5
- package/{html-text-widget-1a035241.js → html-text-widget-1546e6a1.js} +13 -13
- package/{icon-widget-8ea10b7a.js → icon-widget-06f949c0.js} +12 -12
- package/{iframe-widget-fdcbd295.js → iframe-widget-60d647a7.js} +12 -12
- package/{image-widget-c0853c91.js → image-widget-f13e9b8e.js} +12 -12
- package/{index-979d8892.js → index-4a277f99.js} +12 -4
- package/{index-f78fbbeb.js → index-650ca7fd.js} +3 -3
- package/{index-da0d157b.js → index-e9b4d9d2.js} +1 -1
- package/{input-number-widget-fb864728.js → input-number-widget-951ff536.js} +14 -14
- package/{input-widget-fe3825ca.js → input-widget-b99fea74.js} +15 -15
- package/{label-wrapper-36b48c7a.js → label-wrapper-75db1768.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-74566ee5.js → label-wrapper.vue_vue_type_style_index_0_lang-6a29d13c.js} +3 -3
- package/{link-widget-eebc899d.js → link-widget-042ef4db.js} +15 -15
- package/{ltable-col-widget-40a9d9e8.js → ltable-col-widget-bad649f0.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-e620be2a.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7c0f1711.js} +9 -9
- package/{ltable-widget-15f7b5cf.js → ltable-widget-2b6391b9.js} +5 -5
- package/{menu-widget-dc8d5780.js → menu-widget-5ec66905.js} +13 -13
- package/{model-widget-89008e97.js → model-widget-06551d1f.js} +12 -12
- package/{multirow-58ad99da.js → multirow-bcc05494.js} +5 -5
- package/{multirow-widget-7f405b12.js → multirow-widget-efe6e574.js} +14 -14
- package/package.json +1 -1
- package/{pagination-widget-32535ab0.js → pagination-widget-c508e708.js} +12 -12
- package/{picture-upload-widget-ff26df6b.js → picture-upload-widget-81891cf7.js} +15 -15
- package/{progress-widget-030ea367.js → progress-widget-fd47099b.js} +13 -13
- package/{propresult-c5aa6107.js → propresult-4971027e.js} +1 -1
- package/{qrcode-widget-9378df8d.js → qrcode-widget-c17ec257.js} +12 -12
- package/{radio-widget-707d3022.js → radio-widget-392e9bbc.js} +14 -14
- package/{range-widget-40a76c41.js → range-widget-e7ade627.js} +15 -15
- package/{rate-widget-02971bac.js → rate-widget-830c89da.js} +14 -14
- package/render.es.js +31 -31
- package/render.umd.js +14 -14
- package/{result-widget-715ac70b.js → result-widget-80615278.js} +13 -13
- package/{rich-editor-widget-e3d8355c.js → rich-editor-widget-f832226c.js} +14 -14
- package/{router-widget-dcb8c262.js → router-widget-c30f9b01.js} +12 -12
- package/{select-widget-2b05e4ad.js → select-widget-cbee9efc.js} +14 -14
- package/{sfc-923fe44b.js → sfc-0d63d078.js} +7 -7
- package/{sfcview-00af6113.js → sfcview-e5437f48.js} +6 -6
- package/{share-field-400ac785.js → share-field-102c0951.js} +7 -7
- package/{share-file-f88746ee.js → share-file-d85c66e8.js} +5 -5
- package/{slider-widget-db50317c.js → slider-widget-9f698439.js} +14 -14
- package/{slot-6c074606.js → slot-aa6fccb9.js} +3 -3
- package/{static-text-widget-905c9384.js → static-text-widget-8421ed25.js} +13 -13
- package/{steps-widget-ee105d50.js → steps-widget-7a66fcd7.js} +12 -12
- package/{subMenu-widget-b0d22b12.js → subMenu-widget-bda117c2.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-287e6546.js → subMenu-widget.vue_vue_type_script_setup_true_lang-c1c3e40e.js} +3 -3
- package/{switch-widget-ec49af95.js → switch-widget-6d6a5038.js} +14 -14
- package/{tab-pane-widget-8f0736df.js → tab-pane-widget-5caf99eb.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-aab8112c.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-96320b54.js} +5 -5
- package/{table-col-widget-b8122cb3.js → table-col-widget-e4d98331.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8ceae49b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2edb9587.js} +5 -5
- package/{table-widget-fed98a7b.js → table-widget-1e49129c.js} +14 -14
- package/{tabs-widget-6b989952.js → tabs-widget-0a51e1c1.js} +7 -7
- package/{tag-widget-c025c651.js → tag-widget-2372a2ea.js} +15 -15
- package/{text-widget-468b9ac4.js → text-widget-1a3d558e.js} +15 -15
- package/{textarea-widget-3cc28caf.js → textarea-widget-7e06da83.js} +14 -14
- package/{time-picker-range-widget-af4def18.js → time-picker-range-widget-d50eca1d.js} +14 -14
- package/{time-picker-widget-19168f19.js → time-picker-widget-a44c8f18.js} +14 -14
- package/{time-select-widget-c435dca1.js → time-select-widget-80906d38.js} +14 -14
- package/{tmpl-widget-3f31c5c4.js → tmpl-widget-8fe837a0.js} +13 -13
- package/{tree-select-widget-84f7cd8f.js → tree-select-widget-21947182.js} +14 -14
- package/{tree-widget-e5add9ae.js → tree-widget-9266ebd3.js} +12 -12
- package/{verifycode-widget-5c78d538.js → verifycode-widget-35dba865.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb6e938b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b3a3064b.js} +6 -6
- package/{wrapper-widget-59375ab9.js → wrapper-widget-a8c4e3dd.js} +6 -6
- package/default-slot-widget-16b715d3.js +0 -26
- package/feedback-widget-65b2ee5e.js +0 -26
package/render.umd.js
CHANGED
|
@@ -5,9 +5,9 @@ urlParams:url参数;
|
|
|
5
5
|
compParams:render渲染器调用的外部参数;
|
|
6
6
|
schemaParams:远程(如getOneSchemaData)调用传入的参数;
|
|
7
7
|
vars:页面设置中的全局变量`,method:"方法",params:"参数",loadType:"加载方式",protocal:"参数类型",paramName:"参数名",paramValue:"参数值",minCheck:"最少选择数",maxCheck:"最多选择数",shouldFetch:"是否发送",shouldFetchHint:"每次调用的请求前会执行该语句,可以是变量并支持 ${a} 变量表达式。",dataFetch:"数据处理",fitFetch:"返回适配",willFetch:"发送前处理",didFetch:"完成回调",errorFetch:"错误处理",timeout:"超时时长(ms)",maxContentLength:"最大响应量",maxBodyLength:"最大请求量",responseType:"响应类型",data:"数据",defaultTime:"默认时间",panelChange:"面板改变",calendarChange:"日期更改",slotable:"启动插槽",stripe:"斑马纹",showHeader:"显示表头",highlightCurrentRow:"高亮当前行",currentRowKey:"当前行key",rowClassName:"行类",rowStyle:"行样式",cellStyle:"格样式",headerRowClassName:"表头行类",headerRowStyle:"表头行样式",headerCellClassName:"头格类",headerCellStyle:"头格样式",rowKey:"行数据Key",emptyText:"空数据提示",defaultExpandAll:"默认展开行",expandRowKeys:"展开行属性",defaultSort:"排序列属性",defaultSortHint:"默认的排序列的prop和顺序",tooltipEffect:"提示效果",tooltipOptions:"提示选项",showSummary:"表尾合计",sumText:"摘要列文本",summaryMethod:"合计计算",spanMethod:"合并行列",selectOnIndeterminate:"表头多选",indent:"树节点缩进",tableLoad:"表数据加载",load:"数据加载",treeProps:"嵌套配置",tableLayout:"表布局方式",tableLayoutHint:"设置表格单元、行和列的布局方式",scrollbarAlwaysOn:"显示滚动条",scrollbarAlwaysOnHint:"总是显示滚动条",showOverflowTooltip:"溢出提示",flexible:"主轴自适应",beforeTableRender:"数据源格式化",selectAll:"勾选全选",selectionChange:"选择项变化",cellMouseEnter:"进入单元格",cellMouseLeave:"离开单元格",cellClick:"单元格点击",cellDblclick:"单元格双击",cellContextmenu:"单元格右击",rowClick:"行点击",rowContextmenu:"行右击",rowDblclick:"行双击",headerClick:"列表头点击",headerContextmenu:"列表头右击",sortChange:"表排序变化",filterChange:"列筛选变化",currentChange:"当前行变化",headerDragend:"拖动表头",expandChange:"行缩展",default:"default插槽",append:"append插槽",empty:"empty插槽",index:"自定义索引",columnKey:"列Key",prop:"字段名称",fixed:"固定左列",renderHeader:"标题渲染",sortable:"可排序",sortMethod:"排序方法",sortBy:"排序属性",sortOrders:"排序轮转",resizable:"拖动变宽",headerAlign:"表头对齐",selectable:"行可选",reserveSelection:"刷新保留",reserveSelectionHelp:"数据刷新后是否保留选项",filters:"可过滤",filterPlacement:"过滤框定位",filterClassName:"过滤框类",filterMultiple:"过滤项多选",filterMultipleHelp:"数据过滤的选项是否多选",filteredValue:"选中过滤项",filteredValueHelp:"选中的数据过滤项",dataFilter:"数据过滤",dataSort:"数据排序",dataSlot:"数据模板",tableRowTitle:"行设置",tableCellTitle:"列设置",tableSumTitle:"合计设置",tablePagerTitle:"分页设置",tableTreeTitle:"树形表设置",actionInner:"内置动作",actionJS:"页面JS",actionURL:"打开URL",actionCode:"自定义方法",actionOpenDialog:"打开弹窗",actionCloseDialog:"关闭弹窗",actionShowWidget:"显示组件",actionHideWidget:"隐藏组件",actionEnableWidget:"启用组件",actionDisableWidget:"禁用组件",actionRequiredWidget:"必填组件",actionNoRequiredWidget:"非必填组件",actionResetWidget:"重置组件",actionSendSchema:"请求数据源",actionSaveFormData:"保存表单数据",titleText:"标题",fullscreen:"全屏",top:"上边距",modal:"遮罩层",modalClass:"遮罩类名",appendToBody:"插入body",appendTo:"挂载元素",lockScroll:"滚动锁定",openDelay:"打开延时",closeDelay:"关闭延时",closeOnClickModal:"点击关闭",showClose:"显示关闭",beforeClose:"关闭前回调",draggable:"启用拖拽",overflow:"可拖出可视",destroyOnClose:"关闭销毁",closeIcon:"关闭图标",headerAriaLevel:"ariaLevel",slotHeader:"头部模版",slotTitle:"标题模版",slotFooter:"底部模版",open:"打开回调",opened:"打开结束",close:"关闭回调",closed:"关闭结束",openAutoFocus:"聚焦回调",closeAutoFocus:"失焦回调",size:"尺寸",withHeader:"显示顶栏",pagePrev:"上一页",pagePager:"当前页",pageNext:"下一页",pageJumper:"跳转",pageRight:"往右",pageTotal:"总页数",pageinationSize:"分页大小",background:"页按钮背景",pageSize:"页条目数",defaultPageSize:"页默认条目",total:"总条目数",pageCount:"总页数",pagerCount:"页码按钮数",currentPage:"当前页数",defaultCurrentPage:"默认当前页",layout:"组件布局",pageSizes:"页条目数",paginationPopperClass:"页条目类",prevText:"上一页文字",prevIcon:"上一页图标",nextText:"下一页文字",nextIcon:"下一页图标",allowPage:"支持分页",hideOnSinglePage:"单页隐藏",sizeChange:"页条目改变",paginationCurrentChange:"当前页改变",paginationChange:"页改变",prevClick:"上一页点击",nextClick:"下一页点击",disabled:"禁用",readonly:"只读",labelSuffix:"标签后缀",hideRequiredAsterisk:"隐藏红星",requireAsteriskPosition:"星号位置",statusIcon:"校验图标",validateOnRuleChange:"改变触验证",scrollToError:"滚至首项",scrollToErrorHelp:"当校验失败时,滚动到第一个错误表单项",scrollIntoViewOptions:"滚动配置",scrollIntoViewOptionsHelp:"当校验有失败结果时,滚动到第一个失败的表单项目",percentage:"百分比",progressType:"类型",strokeWidth:"条宽度",textInside:"内置文字",status:"当前状态",progressIndeterminate:"动画进度",duration:"流动速度",progressColor:"背景色",progressWidth:"画布宽度",strokeLinecap:"两端形状",striped:"增加条纹",stripedFlow:"条纹流动",ariaLabel:"无障碍标签",rowspan:"行跨度",colspan:"列跨度",formInline:"行内表单",minRowNum:"最少行数",maxRowNum:"最多行数",showMode:"排列模式",verticalPosition:"垂直位置",hidden:"隐藏",layoutType:"布局类型",justify:"水平排列",flexAlign:"垂直排列",responseEncoding:"响应编码",showDetail:"显示明细",showBorder:"显示表格线",addRow:"添加行",deleteRow:"删除行",slotSetting:"插槽设置",affixChange:"状态改变",scroll:"滚动事件",valueType:"数值类型",switchValueTypeTitle:"值设置",unlinkPanels:"取消联动",dialogCloseSetting:"开关设置",cascaderMultipleSetting:"多选设置",cascaderFilterSetting:"筛选设置",cascaderEmptySetting:"空值设置",fileUploadSetting:"上传设置",dataFn:"上传参数",remoteMethod:"加载数据",fnTip:"数值提示",startTime:"开始时间",endTime:"结束时间",minTime:"最小时间",maxTime:"最大时间",container:"容器",bound:"触发位偏移",marker:"显示标记",nodeKey:"唯一标识",props:"配置选项",renderAfterExpand:"展开后渲染",renderContent:"节点渲染",highlightCurrent:"高亮选中",expandOnClickNode:"点击收缩",checkOnClickNode:"点击选中",autoExpandParent:"自开父节点",showCheckbox:"允许选中",filterNodeMethod:"允许筛选",allowDrag:"允许拖拽",allowDrop:"允许放置",nodeClick:"节点点击",nodeContextmenu:"节点右键",checkChange:"复选节点",check:"选中节点",treeCurrentChange:"选中变化",nodeExpand:"节点展开",nodeCollapse:"节点关闭",nodeDragStart:"开始拖拽",nodeDragEnter:"拖拽进入",nodeDragLeave:"拖拽离开",isopen:"默认展开",nodeDragOver:"拖拽时",nodeDragEnd:"拖拽结束",nodeDrop:"拖拽成功",propSetting:"配置属性",treeSetting:"【树形设计】",selectSetting:"【下拉框设计】",divider:"",children:"子节点",class:"自定义类",valueProp:"选项值名",labelProp:"选项标签名",disabledProp:"选项禁用名",leafProp:"选项叶节点",childrenProp:"选项子节点",compName:"组件类型",relateOptionItems:"关联选项设置",appendOnClick:"允许导入",showSaveButton:"允许保存",showAddButton:"允许添加",save:"点击保存时",add:"点击新增时",labelKey:"标签字段",contentKey:"内容字段",relatedIds:"关联组件",linkTarget:"打开方式",newDataSource:"新增数据源",editDataSource:"编辑数据源",loadDataWhenInit:"自动渲染",alwaysShow:"空数据时显示",horizontalAlign:"水平对齐",verticalAlign:"垂直对齐",formDataLoaded:"远程数据获取后",needFormAdd:"新增表单方法",dataSource:"数据源",chartOption:"图表配置",withQuery:"当前页参数",windowTatget:"新页面",dialogType:"操作按钮",setQueryFn:"设置url参数",encodeQuery:"url编码",windowModal:"窗口形式",selectOnlyOneGroup:"单组选择",showLimit:"显示条数限制",onlyOneAddButton:"单添加按钮",allowAdd:"支持添加",allowDelete:"支持删除",allowDefaultAdd:"默认添加",allowDefaultAddHelp:"空数据时,默认添加最少行数",addRecordText:"添加标签",deleteRecordText:"删除标签",sortUpText:"向上标签",sortDownText:"向下标签",showGroup:"分组形式",unitText:"单位",renderMode:"渲染形式",onLoaded:"页面加载后",onReceive:"接收消息",splitText:"分隔符",addButtonText:"添加提示",saveButtonText:"保存提示",operateData:"保存参数",selectOptionName:"选项列表键名",selectTextName:"文本列表键名",selectLabelName:"文本键名",selectValueKey:"值键名",selectLabelKey:"显示键名",selectIsDefaultKey:"默认标识键名",dataLoadCompleted:"数据加载完",progressCompleted:"进度完成时",completeSec:"完成延迟(s)",noData:"空数据提示",beforeFetch:"表单请求前",afterFetch:"请求后结果",beforeFetchHelp:"表单请求前优化请求数据源的参数,并将设置的结果返回",afterFetchHelp:`数据源返回的输出,如表主键等内容,可设置回显至当前表单
|
|
8
|
-
(如不设置该函数,默认按照输出回显)`,dataFormat:"数据格式化",rowDataFormat:"行数据格式化",windowTarget:"目标窗口",schemaParamName:"数据标识符",schemaParamNameHelp:"用于将表单数据data组装为{[数据标识符]:data},作为全局变量的schemaParams的参数",includeMaxValue:"包含最大值",includeMinValue:"包含最小值",rangeValidate:"范围校验",withAttachData:"附加回传",withAttachDataTitle:"附加回传设置",stateHelp:"custom:普通\rreadonly:只读\rdisabled:禁用\rhidden:隐藏",hashRouter:"哈希动态路由",allItemAsValue:"选中值对象",allItemAsValueHelp:"是=选中选项时,输出的值为对象\r否=选中选项时,输出的值为valueKey对应值",fileList:"文件列表",accept:"文件类型",onChange:"文件状态改变",onExceed:"数量超限时",onProgress:"文件上传时",onPreview:"文件预览时",onSuccess:"上传成功时",onError:"上传失败时",onRemove:"文件移除时",getHeader:"上传消息头",getData:"上传附加参数",dataName:"文件字段名",beforeRemove:"移除前",onBuildUrl:"文件url设置",isUploadSuccess:"上传结果核验",slotTrigger:"触发模板",slotTip:"提示模板",slotFile:"文件详情",listType:"列表类型",sizeDef:"自定义尺寸",httpRequest:"自定义请求",allowPreview:"支持预览",allowDownload:"支持下载",allowRemove:"支持删除",onDownload:"文件下载时",copyEntireRow:"复制整行",copyEntireCol:"复制整列",css:"样式设计",widgetCss:"组件css样式",lineColor:"线条颜色",lineWidth:"线条宽度",lineHeight:"线条高度",codeFormat:"编码格式",displayValue:"显示值",identifyCodeLen:"目标长度",identifyCodes:"验证码字符库",fontSizeMin:"最小字号",fontSizeMax:"最大字号",backgroundColorMin:"最小背景色值",backgroundColorMax:"最大背景色值",colorMin:"最小字体颜色值",colorMax:"最大字体颜色值",lineColorMin:"最小线条颜色值",lineColorMax:"最大线条颜色值",dotColorMin:"最小点颜色值",dotColorMax:"最大点颜色值",imgContentWidth:"图形宽度",imgContentHeight:"图形高度"},expression:{helpers_custom:"常用函数",helpers_string:"文本函数",helpers_time:"时间函数",helpers_logical:"逻辑函数",helpers_math:"数学函数",helpers_collection:"集合函数",helpers_other:"其他函数",helpers_medical:"医疗函数",comment:"说明",useMethod:"用法",allFields:"字段列表",allFormulas:"函数列表",formulaFunction:"请从左侧面板选择字段和函数,或输入函数"},enum:{rtl:"右->左",ltr:"左->右",ttb:"上->下",btt:"下->上",prev:"上一页",pager:"当前页",next:"下一页",jumper:"跳转",right:"向右",total:"总页数",inlineLayout:"内联",blockLayout:"行布局",flexLayout:"弹性布局",inline:"行内",block:"块",leftAlign:"居左",centerAlign:"居中",rightAlign:"居右",topAlign:"顶部",numberValidator:"数字",letterValidator:"字母",letterAndNumberValidator:"数字字母",mobilePhoneValidator:"手机号码",emailValidator:"邮箱",urlValidator:"网址",noChineseValidator:"非中文字符",chineseValidator:"仅中文字符",noBlankStartValidator:"非空白字符开头",noBlankEndValidator:"非空白字符结尾",noBlankStartEndValidator:"非空白字符开头结尾",letterStartNumberIncludedValidator:"以字母开头包含数字",ChinaIdcardValidator:"中国大陆身份证号",weakPasswordValidator:"弱度密码",mediumPasswordValidator:"中度密码",strongPasswordValidator:"强度密码",topPosition:"顶部",leftPosition:"左边",defaultPosition:"默认",rightPosition:"右边",frontPosition:"前置",rearPosition:"后置",horizontalPosition:"水平",verticalPosition:"垂直",both:"均可",none:"无",defaultButton:"常规",plainButton:"朴素",roundButton:"圆角",circleButton:"圆形",linkButton:"链接",textButton:"文字",custom:"普通",readonly:"只读",disabled:"禁用",hidden:"隐藏",schemaVariable:"变量",schemaRemote:"远程",schemaUrlParam:"URL参数",schemaConfigParam:"组件参数",auto:"自动",async:"异步",manual:"手动",tablecolumntype_default:"默认",tablecolumntype_selection:"选项",tablecolumntype_index:"索引",tablecolumntype_expand:"展开",size_none:"常规",size_small:"较小",size_default:"默认",size_large:"较大",start:"靠左",end:"靠右",spaceAround:"分散对齐",spaceBetween:"两端对齐",spaceEvenly:"均匀分布",middle:"居中",center:"居中",left:"左部",rightPart:"右部",top:"顶部",topStart:"顶部左侧",topEnd:"顶部右侧",bottom:"底部",bottomStart:"底部左侧",bottomEnd:"底部右侧",line:"线形",circle:"圆形",dashboard:"仪表盘",success:"成功",exception:"异常",warning:"警告",info:"信息",error:"错误",danger:"高危",primary:"定制",default:"常规",underline:"下划线",butt:"无",round:"半圆形",square:"正方形",row_line:"平铺方式",row_table:"表格方式",process_wait:"等待",process_process:"进行中",process_finish:"已完成",process_error:"错误",process_success:"成功",dark:"深色",light:"亮色",plain:"常规",min:"最小值",max:"最大值",singletext:"单行文本",textarea:"多行文本",password:"密码",number:"数字",card:"卡片",borderCard:"边框卡片",click:"点击",hover:"鼠标悬浮",never:"从不",always:"总是",outside:"外部",fixed:"固定",datetime:"日期时间",date:"日期",dates:"多日期",year:"年",month:"月",week:"周",day:"日",daterange:"日期范围",datetimerange:"日期时间范围",monthrange:"月范围",empty:"空",fill:"填充",contain:"包含",cover:"覆盖",scaleDown:"缩减",eager:"立即加载",lazy:"懒加载",contextmenu:"右键",button:"常规",submit:"提交",reset:"重置",dashed:"虚线",dotted:"点线",solid:"实线",inherit:"继承",initial:"默认值",unset:"unset",double:"双线",SubMenu:"子菜单",MenuItem:"菜单项",MenuItemGroup:"菜单分组项",booleanType:"布尔型",stringType:"字符串型",numberType:"数值型",targetBlank:"打开新的页面",targetSelf:"在当前页面打开",windowTop:"顶层窗体",windowSelf:"本级窗体",windowParent:"父窗体",window:"浏览器自带窗口",modal:"模态窗口",closeIframe:"直接关闭",cancelIframe:"取消(通知子页面)",saveIframe:"保存(通知子页面)",normal:"常规",iframe:"网页",TextCheckMode_json:"json",TextCheckMode_text:"text",alertSuccess:"成功",alertWarning:"警告",alertInfo:"信息",alertError:"错误",pictureCard:"图片卡片",picture:"缩略图",text:"文本",MicrosoftYaHei:"微软雅黑",SimSun:"宋体",NSimSun:"新宋体",SimHei:"黑体",KaiTi:"楷体",FangSong:"仿宋",LiSu:"隶书",YouYuan:"幼圆",STXihei:"华文细黑",STKaiti:"华文楷体",STSong:"华文宋体",STFangsong:"华文仿宋",serif:"衬线字体",sansSerif:"无衬线字体",monospace:"等宽字体",cursive:"手写体/草书体",fantasy:"装饰/艺术字体",Arial:"Arial",Helvetica:"赫尔维提卡体",TimesNewRoman:"Times New Roman",Georgia:"乔治亚体",Verdana:"维达纳体",CourierNew:"新快递体",Impact:"冲击体",ComicSansMS:"漫画体",TrebuchetMS:"特粗体",Palatino:"帕拉提诺体",defaultState:"默认状态"},helper:{CONCATENATE_func:"将多个字符串拼接合成一个文本字符串",LEFT_func:"获取从左指定字符",GETCHECKEDNAME_func:"获取首个已选的选项名称",GETCHECKEDNAME_return:"选项名称",GETCHECKEDNAME_items:"选项列表",GETCHECKEDNAME_itemName:"选项字段名",GETCHECKEDNAMES_func:"获取所有已选的选项名称",GETCHECKEDNAMES_return:"选项名称",GETCHECKEDNAMES_items:"选项列表",GETCHECKEDNAMES_itemName:"选项字段名",array:"数组",array1:"数组1",array2:"数组2",index:"索引",INTERSECTIONSET_func:"获取两个数组的交集",INTERSECTIONSET_return:"交集数组字符串",UNIONSET_func:"获取两个数组的并集",UNIONSET_return:"并集数组字符串",DIFFERENCESET_func:"获取两个数组的差集",DIFFERENCESET_return:"差集数组字符串",SUBSET_func:"判断数组1是否是数组2的子集",SUBSET_return:"是否子集",ARRAYLEN_func:"获取数组长度",ARRAYLEN_return:"数组长度",ARRAYGET_func:"获取数组中第index个值",ARRAYGET_return:"数组中指定索引值",LARGE_func:"获取数组中第index个最大值",LARGE_return:"数组中第index个最大值",SMALL_func:"获取数组中第index个最小值",SMALL_return:"数组中第index个最小值",ARRAY_func:"根据参数值列表生成数组",ARRAY_return:"参数值列表组成的数组",v1:"数值1",v2:"数值2",EQ_func:"比较两个值是否相等,支持数字、日期",EQ_return:"是否相等",NE_func:"比较两个值是否不相等,支持数字、日期",NE_return:"是否不相等",LT_func:"判断值1是否小于值2,支持数字、日期",LT_return:"是否小于",GT_func:"判断值1是否大于值2,支持数字、日期",GT_return:"是否大于",LTE_func:"判断值1是否小于等于值2,支持数字、日期",LTE_return:"是否小于等于",GTE_func:"判断值1是否大于等于值2,支持数字、日期",GTE_return:"是否大于等于",logical_args:"逻辑表达式1,逻辑表达式2,...",logical_arg:"逻辑表达式",AND_func:"获取多逻辑表达式是否同时成立",AND_return:"是否同时成立",OR_func:"获取多逻辑表达式是否有一个成立",OR_return:"是否有一个成立",NOT_func:"获取逻辑表达式的否定",NOT_return:"布尔值的否定",XOR_func:"获取多个逻辑表达式的异或比较",XOR_return:"所有逻辑表达式的异或值",TRUE_func:"获取布尔值true",TRUE_return:"布尔值true",FALSE_func:"获取布尔值false",FALSE_return:"布尔值false",IF_func:"判断一个条件能否满足;如果满足返回一个值,如果不满足则返回另外一个值",IF_return:"逻辑判断后的真值或假值",IF_trueValue:"结果为true的返回值",IF_falseValue:"结果为false的返回值",numArgs:"数值列表",numArray:"数值数组",numArray1:"数值数组1",numArray2:"数值数组2",num:"值",num_digits:"指定位数",significance:"舍入倍数",decimals:"小数位数",ADDNUM_func:"获取多数值总和,要求数组内全部为非空",ADD_func:"获取多数值总和,数组内空值将转换为0",ADD_return:"参数总和值",SUM_func:"获取数值数组总和",SUM_return:"参数总和值",AVERAGE_func:"获取所有数值总和平均值",AVERAGE_return:"参数总和平均值",MAX_func:"获取所有数值的最大值",MAX_return:"所有数值最大值",MIN_func:"获取所有数值的最小值",MIN_return:"所有数值最小值",ABS_func:"获取数值的绝对值",ABS_return:"数值的绝对值",ROUND_func:"获取数值的四舍五入指定位数",ROUND_return:"数值的四舍五入指定位数",CEILING_func:"获取数值的向上舍入倍数",CEILING_return:"数值的向上舍入倍数",FLOOR_func:"获取数值的向下舍入倍数",FLOOR_return:"数值的向下舍入倍数",INT_func:"获取数值的向下取整的数",INT_return:"整数值",log_base:"底数值",LOG_func:"获取对数",LOG_return:"对数值",power_num:"指数值",power_base:"基数值",POWER_func:"获取乘幂",POWER_return:"数字乘幂",FIXED_func:"获取舍入指定位数",FIXED_return:"指定小数位数的数值",SQRT_func:"获取正数的平方根",SQRT_return:"正数的平方根",SUMPRODUCT_func:"获取两个数组对应索引的数值乘积之和",SUMPRODUCT_return:"两个数组项乘积之和",NUMBERCOMPARE_func:"判断两个数值是否相等",NUMBERCOMPARE_return:"是否相等",value:"内容",pattern:"格式",NUMBERFORMATE_func:"获取数值格式化",NUMBERFORMATE_return:"格式化后内容",lastMenstrualPeriod:"末次月经",dateOfPrenatal:"预产期",currentTime:"当前时间",PREGNANTWEEKDAY_mode:"week或day",PREGNANTWEEKDAY_func:"获取孕周或孕天",PREGNANTWEEKDAY_return:"孕周或孕天",PREGNANTWEEK_func:"获取孕周",PREGNANTWEEK_return:"孕周",PREGNANTDAY_func:"获取孕天",PREGNANTDAY_return:"孕天",STOPMENSTRUALWEEK_func:"获取停经周数",STOPMENSTRUALWEEK_return:"停经周数",STOPMENSTRUALDAY_func:"获取停经天数",STOPMENSTRUALDAY_return:"停经天数",stringArray:"字符串数组",format:"字符串格式【变量以{0}形式出现】",text1:"文本1",text2:"文本2",text:"文本",orgText:"原始文本",num_chars:"文本长度",separator:"分隔符",CONCATENATE_fun:"将多个字符串拼接合成一个文本字符串",CONCATENATE_return:"拼接后字符串",LEFT_fun:"获取从左指定字符",LEFT_return:"指定字符串",RIGHT_func:"获取从右指定字符",RIGHT_return:"指定字符串",MID_func:"截取文本",MID_return:"指定字符串",MID_start_index:"开始截取的位置",LEN_func:"获取字符串长度",LEN_return:"指定字符串",LOWER_func:"转换为小写字母",LOWER_return:"文本的小写字母格式",UPPER_func:"转换为大写字母",UPPER_return:"文本的大写字母格式",REPLACE_func:"替换文本",REPLACE_return:"替换后的文本值",REPLACE_start_index:"开始替换位置",REPLACE_num_chars:"替换字符数",REPLACE_new_text:"替换的新文本",REPT_func:"重复文本",REPT_return:"替换后的文本值",number_times:"重复次数",SEARCH_func:"获取指定字符串的位置",SEARCH_return:"查找字符串的位置索引",SEARCH_within_text:"查找的文本",SEARCH_start_num:"开始查找位置",TEXT_func:"获取数据格式化",TEXT_return:"格式化文本",VALUE_func:"将文本转换数字",VALUE_return:"转化后的数值",SPLIT_limit:"分割结果最大数",SPLIT_func:"分割文本",SPLIT_return:"转化后的数值",TRIM_func:"删除收尾空格",TRIM_return:"收尾不带有空格的文本值",UUID_func:"获取唯一识别字符串",UUID_return:"随机字符串",ISNULL_func:"判断值是否为null",ISNULL_return:"是否null",ISEMPTY_func:"判断值是否为空判断",ISEMPTY_return:"是否为空",PINYIN_func:"获取文本的全拼音",PINYIN_return:"文本全拼音,中文转拼音,其余不变",PINYINHEADCHAR_func:"获取文本拼音首字母大写",PINYINHEADCHAR_return:"文本拼音首字母,中文转拼音,其余不变",PRINT_func:"原样显示文本",PRINT_return:"文本",STRINGCOMPARE_func:"比较文本是否一致",STRINGCOMPARE_return:"是否一致",DATE_func:"将时间戳转换为日期对象",DATE_return:"日期对象",DATE_date:"时间戳",DATEFORMAT_func:"日期格式化",DATEFORMAT_return:"日期的文本格式",TIMESTAMP_func:"获取对应日期对象的时间戳",TIMESTAMP_return:"日期对象时间戳",TIMESTAMP_date:"日期对象",hour:"小时",minute:"分钟",second:"秒数",TIME_func:"获取时间十进制",TIME_return:"时间十进制数值,如12:00:00返回0.5天",TODAY_func:"获取客户端当天日期",TODAY_return:"客户端当天日期对象",NOW_func:"获取客户端当天时间",NOW_return:"客户端当天时间对象",YEAR_func:"获取日期年份",YEAR_return:"日期年份",MONTH_func:"获取日期月份",MONTH_return:"日期月份",date:"指定日期",date1:"日期1",date2:"日期2",diff_type:"间隔单位(year,month,day,hour,minute,second,week)",DAY_func:"获取日期天数",DAY_return:"日期天数",HOUR_func:"获取日期小时",HOUR_return:"日期小时",MINUTE_func:"获取日期分钟",MINUTE_return:"日期分钟",SECOND_func:"获取日期秒数",SECOND_return:"日期秒数",DATEADD_func:"指定加/减时间",DATEADD_return:"加/减时间后的日期时间",DATEADD_date:"初始日期",DATEADD_delta_num:"加减的时间",DATEADD_delta_type:"加减的时间单位(year,month,day,hour,minute,second,week)",DATEDIFF_func:"两个日期之间的间隔",DATEDIFF_return:"日期间隔",DATEDIFFPART_func:"两个日期之间的间隔部分值",DATEDIFFPART_return:"日期间隔部分值",DAYS360_func:"按一年360计算两个日期相差间隔",DAYS360_return:"日期相差间隔",DAYBEGIN_func:"获取一天中日期零点",DAYBEGIN_return:"日期零点",DAYEND_func:"获取一天中日期最大值",DAYEND_return:"日期最大值",YEARBEGIN_func:"获取当年首天",YEARBEGIN_return:"当年首天",YEAREND_func:"获取当年最后一天",YEAREND_return:"当年最后一天",WEEKNUM_func:"获取当前日期周数",WEEKNUM_return:"当前日期的周数",WEEKNUM_return_type:"1表示周日为每周第一天,2表示周一为每周第一天",ISOWEEKNUM_func:"获取以周日为每周第一天的当前日期周数",ISOWEEKNUM_return:"当前日期的周数",ASSIGN_func:"多个object对象合并成一个object",ASSIGN_return:"object对象数组",ASSIGN_args:"object对象",TOJSON_func:"将对象转换为json字符串",TOJSON_return:"json字符串",TOJSON_args:"json对象",FROMJSON_func:"文本转json对象",FROMJSON_return:"json对象",FROMJSON_args:"json字符串",GETAGEBYBIRTH_func:"出生日期计算年龄",GETAGEBYBIRTH_return:"年龄",birthday:"出生日期",idcard:"中国身份证号",ISVALIDIDCARD_func:"判断证件号是否为中国居民身份证号",ISVALIDIDCARD_return:"判断结果",GETBIRTHDAY_func:"中国身份证号获取出生日期",GETBIRTHDAY_return:"出生日期",GETAGE_func:"中国身份证号获取年龄",GETAGE_return:"年龄",GETSEXCODE_func:"中国身份证号获取性别",GETSEXCODE_return:"性别代码",GETSEXNAME_func:"中国身份证号获取性别",GETSEXNAME_return:"性别名称",GETPROVINCE_func:"中国身份证号获取省份编码",GETPROVINCE_return:"省份编码",GETPROVINCENAME_func:"中国身份证号获取省份名称",GETPROVINCENAME_return:"省份名称",REPLACESTRING_func:"替换指定范围字符串为统一的字符",REPLACESTRING_return:"替换后的结果",indexStart:"开始索引",indexEnd:"结束索引",replacement:"替换后的文本",PRODUCT_func:"获取数组内数值乘积",PRODUCT_return:"乘积",DIVISION_func:"获取两个数相除的结果",DIVISION_return:"商",divisor:"被除数",dividend:"除数"},var:{rowScope:`组件绑定的属性值(目前仅支持【模板】、【数据表格】组件,
|
|
9
|
-
用于每行内的组件读取当前行数据如rowScope.row.column_name),可先用console.log(schema.rowScope)查看数据项`},style:{width:"宽度",height:"高度",marginTop:"外边距-上部",marginLeft:"外边距-左部",marginRight:"外边距-右部",marginBottom:"外边距-底部",paddingTop:"内边距-上部",paddingLeft:"内边距-左部",paddingRight:"内边距-右部",paddingBottom:"内边距-底部",borderLeft:"左边框",borderRight:"右边框",borderTop:"上边框",borderBottom:"下边框",borderWidth:"线宽",borderStyle:"线形",borderColor:"颜色",borderRadiusBottomRight:"右下角",borderRadiusTopRight:"右上角",borderRadiusBottomLeft:"左下角",borderRadiusTopLeft:"左上角",borderRadiusAll:"全部",display:"显示类型",textAlign:"对齐",fontFamily:"字体名称",fontSize:"字体大小",fontWeight:"字重",fontStyle:"字样",textDecoration:"修饰",color:"填充色",lineHeight:"行间距",backgroundColor:"背景色",backgroundImage:"背景图",opacity:"透明度",cursor:"鼠标手势",boxShadowColor:"阴影颜色",boxShadowBlur:"模糊半径",boxShadowSpread:"阴影扩展半径",boxShadowHShadow:"阴影水平偏移",boxShadowVShadow:"阴影垂直偏移",container:"布局",wordFont:"字体",background:"背景",effect:"效果",border:"边框",marginPadding:"边距",state:"状态",codeEdit:"源代码编辑"}}},EY={render:{hint:{prompt:"提示",confirm:"确定",cancel:"取消",selectPlaceholder:"请选择",timePlaceholder:"选择时间",startTimePlaceholder:"起始时间",endTimePlaceholder:"截止时间",datePlaceholder:"选择日期",startDatePlaceholder:"起始日期",endDatePlaceholder:"截止日期",blankCellContent:"--",uploadError:"上传错误: ",uploadExceed:"最大上传数量(${uploadLimit})已超出.",unsupportedFileType:"不支持格式: ",fileSizeExceed:"文件大小已超出: ",refNotFound:"组件未找到: ",fieldRequired:"必填",invalidNumber:"数据格式错误",selectFile:" 选择文件",downloadFile:"下载",removeFile:"移除",validationFailed:"表单数据校验失败",numberFailed:"包含非数字字符",letterFailed:"包含非字母字符",letterAndNumberFailed:"只能输入字母或数字",mobilePhoneFailed:"手机号码格式有误",noBlankStartFailed:"不允许空白字符开头",noBlankEndFailed:"不允许空白字符结尾",noBlankStartEndFailed:"不允许以空白字符开头结尾",letterStartNumberIncludedFailed:"必须以字母开头,可包含数字",noChineseFailed:"不可输入中文字符",chineseFailed:"只能输入中文字符",emailFailed:"邮箱格式有误",urlFailed:"URL格式有误",chinaIdcardFailed:"身份证格式有误",invalidFailed:"非法值",weakPasswordFailed:"仅字母或数字,至少6位",mediumPasswordFailed:"字母+数字,至少8位",strongPasswordFailed:"大小写+数字+特殊符号,至少10位"}}},wY={extension:{}},Zc={get(t){return localStorage.getItem(t)},set(t,e){typeof e=="object"?localStorage.setItem(t,Jr(e)):localStorage.setItem(t,String(e))},remove(t){localStorage.removeItem(t)}},SY={"zh-CN":{custionLocale:{},...bY,...xY,...EY,...wY}},HD="v_form_locale",GD=function(){return{lang:Zc.get(HD)||"zh-CN"}},CY=function(t){Fg.setLang(t),Zc.set(HD,t)},WD=()=>{let t=GD();CY(t==null?void 0:t.lang)},Fg=AY({locale:GD(),messages:SY});function AY(t){return{messages:t.messages,locale:t.locale,$st(e,n=!0,...r){e=e==null?void 0:e.trim();let a=this.messages[this.locale.lang];const o=tE(a,e);return typeof o=="function"?o(...r):o!==null?o:n?e:""},$st2(e,n){let r=this.messages[this.locale.lang];const a=tE(r,e);return a!==null?a:this.$st(n)},setLang(e){this.locale.lang=e}}}const TY=function(t){return Fg.$st(t)},te={i18nt(t,e=!0){return t?Fg.$st(t,e):""},i18n2t(t,e){return Fg.$st2(t,e)}};var Ge=(t=>(t.string="string",t.number="number",t.bigint="bigint",t.boolean="boolean",t.symbol="symbol",t.undefined="undefined",t.object="object",t.function="function",t.array="array",t.any="any",t.date="date",t))(Ge||{}),Vl=(t=>(t.typescript="typescript",t.javascript="javascript",t.css="css",t.html="html",t.json="json",t.sql="sql",t.text="text",t))(Vl||{}),Ni=(t=>(t.sysVar="sysVar",t.sysFunc="sysFunc",t.sysData="sysData",t.schema="schema",t))(Ni||{});class Ze{constructor(e,n,r=!1){z(this,"label","");z(this,"value","");z(this,"isdefalut",!1);this.label=n,this.value=e,this.isdefalut=r}}var xe=(t=>(t.event="event",t.hook="hook",t.prop="prop",t.slot="slot",t.icon="icon",t.targetEvent="targetEvent",t.placer="placer",t.placerHook="placerHook",t.singleOption="singleOption",t.dataObject="dataObject",t.datasource="datasource",t.variable="variable",t.formula="formula",t.schemaData="schemaData",t))(xe||{}),et=(t=>(t.none="",t.page="page",t.cache="cache",t.input="input",t.textarea="textarea",t.number="input-number",t.range="range",t.radio="radio",t.checkbox="checkbox",t.select="select",t.timePicker="time-picker",t.timePickerRange="time-picker-range",t.datePicker="date-picker",t.datePickerRange="date-picker-range",t.autoComplete="auto-complete",t.pictureUpload="picture-upload",t.fileUpload="file-upload",t.richEditor="rich-editor",t.rate="rate",t.slider="slider",t.divider="divider",t.switch="switch",t.colorPicker="color-picker",t.button="button",t.icon="icon",t.cascader="cascader",t.multirow="multirow",t.tmpl="tmpl",t.htmlText="html-text",t.staticText="static-text",t.text="text",t.link="link",t.tag="tag",t.tabs="tabs",t.card="card",t.grid="grid",t.gridCol="grid-col",t.cont="cont",t.contCell="cont-cell",t.table="ltable",t.tableCol="ltable-col",t.tableRow="ltable-row",t.tabPane="tab-pane",t.eltable="table",t.eltableCol="table-col",t.dialog="dialog",t.drawer="drawer",t.avatar="avatar",t.badge="badge",t.affix="affix",t.backtop="backtop",t.router="router",t.empty="empty",t.image="image",t.result="result",t.carousel="carousel",t.dropdown="dropdown",t.progress="progress",t.collapse="collapse",t.descriptions="descriptions",t.breadcrumb="breadcrumb",t.menu="menu",t.steps="steps",t.pagination="pagination",t.form="form",t.anchor="anchor",t.alert="alert",t.tree="tree",t.treeSelect="tree-select",t.timeSelect="time-select",t.model="model",t.chart="chart",t.iframe="iframe",t.wrapper="wrapper",t.address="address",t.barcode="barcode",t.qrcode="qrcode",t.verifycode="verifycode",t.modalDialog="modalDialog",t.saveFormTarget="saveFormTarget",t.targetDatasource="targetDatasource",t))(et||{}),Mi=(t=>(t.setHidden="setHidden",t.setDisabled="setDisabled",t.setReadonly="setReadonly",t.setRequired="setRequired",t.setLabel="setLabel",t.resetField="resetField",t.getValue="getValue",t.setValue="setValue",t.getField="getField",t.getCheckedItems="getCheckedItems",t.getMousePos="getMousePos",t.setMousePos="setMousePos",t.insertOnMousePos="insertOnMousePos",t))(Mi||{}),Ms=(t=>(t.actionURL="actionURL",t.actionCode="actionCode",t.actionSendSchema="actionSendSchema",t.actionHideWidget="actionHideWidget",t.actionShowWidget="actionShowWidget",t.actionOpenDialog="actionOpenDialog",t.actionCloseDialog="actionCloseDialog",t.actionEnableWidget="actionEnableWidget",t.actionDisableWidget="actionDisableWidget",t.actionSaveFormData="actionSaveFormData",t))(Ms||{}),Bu=(t=>(t.normal="normal",t.field="field",t.container="container",t))(Bu||{}),Qc=(t=>(t.front="front",t.rear="rear",t))(Qc||{});new Ze("front",te.i18nt("designer.enum.frontPosition")),new Ze("rear",te.i18nt("designer.enum.rearPosition")),new Ze("label-left-align",te.i18nt("designer.enum.leftAlign")),new Ze("label-center-align",te.i18nt("designer.enum.centerAlign")),new Ze("label-right-align",te.i18nt("designer.enum.rightAlign")),new Ze("label-top-align",te.i18nt("designer.enum.topAlign"));var bo=(t=>(t.none="",t.default="default",t.large="large",t.small="small",t))(bo||{});new Ze("default",te.i18nt("designer.enum.size_default")),new Ze("large",te.i18nt("designer.enum.size_large")),new Ze("small",te.i18nt("designer.enum.size_small")),new Ze("",te.i18nt("designer.enum.size_none"),!0),new Ze("default",te.i18nt("designer.enum.size_default")),new Ze("large",te.i18nt("designer.enum.size_large")),new Ze("small",te.i18nt("designer.enum.size_small"));var oE=(t=>(t.dark="dark",t.light="light",t.plain="plain",t))(oE||{});new Ze("dark",te.i18nt("designer.enum.dark")),new Ze("light",te.i18nt("designer.enum.light")),new Ze("plain",te.i18nt("designer.enum.plain"));var Up=(t=>(t.dark="dark",t.light="light",t))(Up||{});new Ze("dark",te.i18nt("designer.enum.dark")),new Ze("light",te.i18nt("designer.enum.light"));var Fs=(t=>(t.inline="inline-block",t.block="block",t.flex="flex",t))(Fs||{});new Ze("block",te.i18nt("designer.enum.blockLayout")),new Ze("inline-block",te.i18nt("designer.enum.inlineLayout")),new Ze("flex",te.i18nt("designer.enum.flexLayout")),new Ze("block",te.i18nt("designer.enum.block")),new Ze("inline-block",te.i18nt("designer.enum.inline"));var KD=(t=>(t.success="success",t.warning="warning",t.error="error",t.info="info",t))(KD||{});new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("error",te.i18nt("designer.enum.error")),new Ze("info",te.i18nt("designer.enum.info"));var Lg=(t=>(t.primary="primary",t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(Lg||{});new Ze("primary",te.i18nt("designer.enum.primary")),new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var sE=(t=>(t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(sE||{});new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var lE=(t=>(t.default="",t.primary="primary",t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(lE||{});new Ze("",te.i18nt("designer.enum.default")),new Ze("primary",te.i18nt("designer.enum.primary")),new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var Hp=(t=>(t.top="top",t.topStart="top-start",t.topEnd="top-end",t.bottom="bottom",t.bottomStart="bottom-start",t.bottomEnd="bottom-end",t))(Hp||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("top-start",te.i18nt("designer.enum.topStart")),new Ze("top-end",te.i18nt("designer.enum.topEnd")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("bottom-start",te.i18nt("designer.enum.bottomStart")),new Ze("bottom-end",te.i18nt("designer.enum.bottomEnd"));var a0=(t=>(t.line="line",t.circle="circle",t.dashboard="dashboard",t))(a0||{});new Ze("line",te.i18nt("designer.enum.line")),new Ze("circle",te.i18nt("designer.enum.circle")),new Ze("dashboard",te.i18nt("designer.enum.dashboard"));var XD=(t=>(t.none="",t.success="success",t.exception="exception",t.warning="warning",t))(XD||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("exception",te.i18nt("designer.enum.exception")),new Ze("warning",te.i18nt("designer.enum.warning"));var YD=(t=>(t.butt="butt",t.round="round",t.square="square",t))(YD||{});new Ze("butt",te.i18nt("designer.enum.butt")),new Ze("round",te.i18nt("designer.enum.round")),new Ze("square",te.i18nt("designer.enum.square"));var Ls=(t=>(t.horizontal="horizontal",t.vertical="vertical",t))(Ls||{});new Ze("horizontal",te.i18nt("designer.enum.horizontalPosition")),new Ze("vertical",te.i18nt("designer.enum.verticalPosition"));var Iu=(t=>(t.none="",t.left="left",t.center="center",t.right="right",t))(Iu||{});new Ze("left",te.i18nt("designer.enum.leftAlign")),new Ze("center",te.i18nt("designer.enum.centerAlign")),new Ze("right",te.i18nt("designer.enum.rightAlign"));var JD=(t=>(t.left="left",t.right="right",t))(JD||{});new Ze("left",te.i18nt("designer.enum.leftPosition")),new Ze("right",te.i18nt("designer.enum.rightPosition"));var ZD=(t=>(t.top="top",t.bottom="bottom",t))(ZD||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("bottom",te.i18nt("designer.enum.bottom"));var QD=(t=>(t.top="top",t.right="right",t.bottom="bottom",t.left="left",t))(QD||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("right",te.i18nt("designer.enum.rightPart")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("left",te.i18nt("designer.enum.left")),new Ze("top",te.i18nt("designer.enum.top")),new Ze("right",te.i18nt("designer.enum.rightPart")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("left",te.i18nt("designer.enum.left"));var qD=(t=>(t.circle="circle",t.square="square",t))(qD||{});new Ze("circle",te.i18nt("designer.enum.circle")),new Ze("square",te.i18nt("designer.enum.square"));var uE=(t=>(t.wait="wait",t.process="process",t.finish="finish",t.error="error",t.success="success",t))(uE||{});new Ze("wait",te.i18nt("designer.enum.process_wait")),new Ze("process",te.i18nt("designer.enum.process_process")),new Ze("finish",te.i18nt("designer.enum.process_finish")),new Ze("error",te.i18nt("designer.enum.process_error")),new Ze("success",te.i18nt("designer.enum.process_success"));var $D=(t=>(t.none="none",t.both="both",t.horizontal="horizontal",t.vertical="vertical",t))($D||{});new Ze("none",te.i18nt("designer.enum.none")),new Ze("both",te.i18nt("designer.enum.both")),new Ze("horizontal",te.i18nt("designer.enum.horizontalPosition")),new Ze("vertical",te.i18nt("designer.enum.verticalPosition"));var e5=(t=>(t.min="min",t.max="max",t))(e5||{});new Ze("min",te.i18nt("designer.enum.min")),new Ze("max",te.i18nt("designer.enum.max"));var t5=(t=>(t.text="text",t.password="password",t.number="number",t.textarea="textarea",t))(t5||{});new Ze("text",te.i18nt("designer.enum.singletext")),new Ze("password",te.i18nt("designer.enum.password")),new Ze("number",te.i18nt("designer.enum.number")),new Ze("textarea",te.i18nt("designer.enum.textarea")),new Ze("text",te.i18nt("designer.enum.singletext")),new Ze("password",te.i18nt("designer.enum.password"));var cE=(t=>(t.none="",t.card="card",t.borderCard="border-card",t))(cE||{});new Ze("",te.i18nt("designer.enum.default")),new Ze("card",te.i18nt("designer.enum.card")),new Ze("border-card",te.i18nt("designer.enum.borderCard"));var n5=(t=>(t.hover="hover",t.never="never",t.always="always",t))(n5||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("never",te.i18nt("designer.enum.never")),new Ze("always",te.i18nt("designer.enum.always"));var r5=(t=>(t.none="",t.right="right",t))(r5||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("right",te.i18nt("designer.enum.rightPart"));var i5=(t=>(t.fixed="fixed",t.auto="auto",t))(i5||{});new Ze("fixed",te.i18nt("designer.enum.fixed")),new Ze("auto",te.i18nt("designer.enum.auto"));var _r=(t=>(t.number="number",t.letter="letter",t.letterAndNumber="letterAndNumber",t.letterStartNumberIncluded="letterStartNumberIncluded",t.mobilePhone="mobilePhone",t.email="email",t.url="url",t.noChinese="noChinese",t.chinese="chinese",t.noBlankStart="noBlankStart",t.noBlankEnd="noBlankEnd",t.noBlankStartEnd="noBlankStartEnd",t.chinaIdcard="chinaIdcard",t.required="required",t.weakPassword="weakPassword",t.mediumPassword="mediumPassword",t.strongPassword="strongPassword",t))(_r||{});new Ze("number",te.i18nt("designer.enum.numberValidator")),new Ze("letter",te.i18nt("designer.enum.letterValidator")),new Ze("letterAndNumber",te.i18nt("designer.enum.letterAndNumberValidator")),new Ze("letterStartNumberIncluded",te.i18nt("designer.enum.letterStartNumberIncludedValidator")),new Ze("chinaIdcard",te.i18nt("designer.enum.ChinaIdcardValidator")),new Ze("mobilePhone",te.i18nt("designer.enum.mobilePhoneValidator")),new Ze("email",te.i18nt("designer.enum.emailValidator")),new Ze("url",te.i18nt("designer.enum.urlValidator")),new Ze("noChinese",te.i18nt("designer.enum.noChineseValidator")),new Ze("chinese",te.i18nt("designer.enum.chineseValidator")),new Ze("noBlankStart",te.i18nt("designer.enum.noBlankStartValidator")),new Ze("noBlankEnd",te.i18nt("designer.enum.noBlankEndValidator")),new Ze("noBlankStartEnd",te.i18nt("designer.enum.noBlankStartEndValidator")),new Ze("weakPassword",te.i18nt("designer.enum.weakPasswordValidator")),new Ze("mediumPassword",te.i18nt("designer.enum.mediumPasswordValidator")),new Ze("strongPassword",te.i18nt("designer.enum.strongPasswordValidator"));var a5=(t=>(t.left="left",t.right="right",t.top="top",t))(a5||{});new Ze("left",te.i18nt("designer.enum.leftPosition")),new Ze("right",te.i18nt("designer.enum.rightPosition")),new Ze("top",te.i18nt("designer.enum.topPosition"));var o5=(t=>(t.default="default",t.plain="plain",t.round="round",t.circle="circle",t.link="link",t.text="text",t))(o5||{});new Ze("default",te.i18nt("designer.enum.defaultButton")),new Ze("plain",te.i18nt("designer.enum.plainButton")),new Ze("round",te.i18nt("designer.enum.roundButton")),new Ze("circle",te.i18nt("designer.enum.circleButton")),new Ze("link",te.i18nt("designer.enum.linkButton")),new Ze("text",te.i18nt("designer.enum.textButton"));var zl=(t=>(t.custom="custom",t.readonly="readonly",t.disabled="disabled",t.hidden="hidden",t))(zl||{});new Ze("custom",te.i18nt("designer.enum.custom")),new Ze("readonly",te.i18nt("designer.enum.readonly")),new Ze("disabled",te.i18nt("designer.enum.disabled")),new Ze("hidden",te.i18nt("designer.enum.hidden"));var s5=(t=>(t.default="default",t.selection="selection",t.index="index",t.expand="expand",t))(s5||{});new Ze("default",te.i18nt("designer.enum.tablecolumntype_default"),!0),new Ze("selection",te.i18nt("designer.enum.tablecolumntype_selection")),new Ze("index",te.i18nt("designer.enum.tablecolumntype_index")),new Ze("expand",te.i18nt("designer.enum.tablecolumntype_expand"));var l5=(t=>(t.rtl="rtl",t.ltr="ltr",t.ttb="ttb",t.btt="btt",t))(l5||{});new Ze("rtl",te.i18nt("designer.enum.rtl")),new Ze("ltr",te.i18nt("designer.enum.ltr")),new Ze("ttb",te.i18nt("designer.enum.ttb")),new Ze("btt",te.i18nt("designer.enum.btt")),new Ze("prev",te.i18nt("designer.enum.prev")),new Ze("pager",te.i18nt("designer.enum.pager")),new Ze("next",te.i18nt("designer.enum.next")),new Ze("jumper",te.i18nt("designer.enum.jumper")),new Ze("->",te.i18nt("designer.enum.right")),new Ze("total",te.i18nt("designer.enum.total"));var Rg=(t=>(t.line="line",t.table="table",t))(Rg||{});new Ze("line",te.i18nt("designer.enum.row_line")),new Ze("table",te.i18nt("designer.enum.row_table"));var u5=(t=>(t.start="start",t.end="end",t.center="center",t.spaceAround="space-around",t.spaceBetween="space-between",t.spaceEvenly="space-evenly",t))(u5||{});new Ze("start",te.i18nt("designer.enum.start")),new Ze("end",te.i18nt("designer.enum.end")),new Ze("center",te.i18nt("designer.enum.center")),new Ze("space-around",te.i18nt("designer.enum.spaceAround")),new Ze("space-between",te.i18nt("designer.enum.spaceBetween")),new Ze("space-evenly",te.i18nt("designer.enum.spaceEvenly"));var c5=(t=>(t.top="top",t.middle="middle",t.bottom="bottom",t))(c5||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("middle",te.i18nt("designer.enum.middle")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("--hl-align-left",te.i18nt("designer.enum.left")),new Ze("--hl-align-center",te.i18nt("designer.enum.center")),new Ze("--hl-align-right",te.i18nt("designer.enum.right")),new Ze("--hl-align-top",te.i18nt("designer.enum.top")),new Ze("--hl-align-middle",te.i18nt("designer.enum.middle")),new Ze("--hl-align-bottom",te.i18nt("designer.enum.bottom"));var qc=(t=>(t.URI="URI",t.VALUE="VALUE",t.REMOTE="REMOTE",t.CONFIG="CONFIG",t))(qc||{});new Ze("URI",te.i18nt("designer.enum.schemaUrlParam")),new Ze("CONFIG",te.i18nt("designer.enum.schemaConfigParam")),new Ze("VALUE",te.i18nt("designer.enum.schemaVariable"),!0),new Ze("REMOTE",te.i18nt("designer.enum.schemaRemote")),new Ze("auto",te.i18nt("designer.enum.auto")),new Ze("manual",te.i18nt("designer.enum.manual")),new Ze("async",te.i18nt("designer.enum.async"));var fE=(t=>(t.datetime="datetime",t.date="date",t.dates="dates",t.year="year",t.month="month",t.week="week",t))(fE||{});new Ze("year",te.i18nt("designer.enum.year")),new Ze("month",te.i18nt("designer.enum.month")),new Ze("date",te.i18nt("designer.enum.day")),new Ze("week",te.i18nt("designer.enum.week")),new Ze("dates",te.i18nt("designer.enum.dates")),new Ze("datetime",te.i18nt("designer.enum.datetime"));var f5=(t=>(t.daterange="daterange",t.datetimerange="datetimerange",t.monthrange="monthrange",t))(f5||{});new Ze("daterange",te.i18nt("designer.enum.daterange")),new Ze("datetimerange",te.i18nt("designer.enum.datetimerange")),new Ze("monthrange",te.i18nt("designer.enum.monthrange"));var jg=(t=>(t.hover="hover",t.click="click",t))(jg||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("click",te.i18nt("designer.enum.click"));var p5=(t=>(t.outside="outside",t.none="",t))(p5||{});new Ze("outside",te.i18nt("designer.enum.outside")),new Ze("",te.i18nt("designer.enum.none"));var h5=(t=>(t.always="always",t.hover="hover",t.none="",t))(h5||{});new Ze("always",te.i18nt("designer.enum.always")),new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("",te.i18nt("designer.enum.none"));var d5=(t=>(t.card="card",t.none="",t))(d5||{});new Ze("card",te.i18nt("designer.enum.card")),new Ze("",te.i18nt("designer.enum.none"));var pE=(t=>(t.empty="",t.fill="fill",t.contain="contain",t.cover="cover",t.scaleDown="scale-down",t.none="none",t))(pE||{});new Ze("",te.i18nt("designer.enum.empty")),new Ze("fill",te.i18nt("designer.enum.fill")),new Ze("contain",te.i18nt("designer.enum.contain")),new Ze("cover",te.i18nt("designer.enum.cover")),new Ze("scale-down",te.i18nt("designer.enum.scaleDown")),new Ze("none",te.i18nt("designer.enum.none"));var v5=(t=>(t.eager="eager",t.lazy="lazy",t))(v5||{});new Ze("eager",te.i18nt("designer.enum.eager")),new Ze("lazy",te.i18nt("designer.enum.lazy"));var m5=(t=>(t.success="success",t.warning="warning",t.info="info",t.error="error",t))(m5||{});new Ze("success",te.i18nt("designer.enum.alertSuccess")),new Ze("warning",te.i18nt("designer.enum.alertWarning")),new Ze("info",te.i18nt("designer.enum.alertInfo")),new Ze("error",te.i18nt("designer.enum.alertError"));var g5=(t=>(t.hover="hover",t.click="click",t.contextmenu="contextmenu",t))(g5||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("click",te.i18nt("designer.enum.click")),new Ze("contextmenu",te.i18nt("designer.enum.contextmenu")),new Ze("button",te.i18nt("designer.enum.button")),new Ze("submit",te.i18nt("designer.enum.submit")),new Ze("reset",te.i18nt("designer.enum.reset"));var y5=(t=>(t.none="none",t.hidden="hidden",t.dashed="dashed",t.dotted="dotted",t.solid="solid",t.inherit="inherit",t.initial="initial",t.unset="unset",t.double="double",t))(y5||{});new Ze("none",te.i18nt("designer.enum.none")),new Ze("hidden",te.i18nt("designer.enum.hidden")),new Ze("dashed",te.i18nt("designer.enum.dashed")),new Ze("dotted",te.i18nt("designer.enum.dotted")),new Ze("solid",te.i18nt("designer.enum.solid")),new Ze("inherit",te.i18nt("designer.enum.inherit")),new Ze("initial",te.i18nt("designer.enum.initial")),new Ze("unset",te.i18nt("designer.enum.unset")),new Ze("double",te.i18nt("designer.enum.double"));var Ul=(t=>(t.None="",t.SubMenu="SubMenu",t.MenuItem="MenuItem",t.MenuItemGroup="MenuItemGroup",t))(Ul||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("SubMenu",te.i18nt("designer.enum.SubMenu")),new Ze("MenuItem",te.i18nt("designer.enum.MenuItem")),new Ze("MenuItemGroup",te.i18nt("designer.enum.MenuItemGroup")),new Ze(Ge.boolean,te.i18nt("designer.enum.booleanType")),new Ze(Ge.number,te.i18nt("designer.enum.numberType")),new Ze(Ge.string,te.i18nt("designer.enum.stringType"));var _5=(t=>(t.default="default",t.underline="underline",t))(_5||{});new Ze("default",te.i18nt("designer.enum.default")),new Ze("underline",te.i18nt("designer.enum.underline"));var b5=(t=>(t.blank="_blank",t.self="_self",t))(b5||{});new Ze("_blank",te.i18nt("designer.enum.targetBlank")),new Ze("_self",te.i18nt("designer.enum.targetSelf")),new Ze("normal",te.i18nt("designer.enum.normal")),new Ze("iframe",te.i18nt("designer.enum.iframe"));var x5=(t=>(t.PC="PC",t.Pad="Pad",t.H5="H5",t))(x5||{}),hE=(t=>(t.date1="YYYY-MM-DD",t.date2="YYYY/MM/DD",t.date3="YYYY年MM月DD日",t.date4="YYYY-MM-DD HH:mm:ss",t.date5="YYYY-MM-DD hh:mm:ss",t))(hE||{}),E5=(t=>(t.time1="HH:mm:ss",t.time2="HH时mm分ss秒",t.time3="hh:mm:ss",t))(E5||{}),w5=(t=>(t.hsl="hsl",t.hsv="hsv",t.hex="hex",t.rgb="rgb",t))(w5||{}),Hl=(t=>(t.aside="aside",t.header="header",t.footer="footer",t.main="main",t.container="container",t))(Hl||{}),S5=(t=>(t.docx="docx",t.xlsx="xlsx",t.pptx="pptx",t.pdf="pdf",t.zip="zip",t.rar="rar",t.jpg="jpg",t.jpeg="jpeg",t.png="png",t.gif="gif",t))(S5||{}),Vg=(t=>(t.p100="%",t.px="px",t.em="em",t.auto="auto",t))(Vg||{}),C5=(t=>(t.jpg="jpg",t.jpeg="jpeg",t.png="png",t.gif="gif",t))(C5||{}),A5=(t=>(t.jsonp="JSONP",t.get="GET",t.post="POST",t))(A5||{}),Gp=(t=>(t.pictureCard="picture-card",t.picture="picture",t.text="text",t))(Gp||{});new Ze("picture",te.i18nt("designer.enum.picture")),new Ze("text",te.i18nt("designer.enum.text"));var zg=(t=>(t.preview="preview",t.download="download",t))(zg||{});new Ze("picture-card",te.i18nt("designer.enum.pictureCard")),new Ze("picture",te.i18nt("designer.enum.picture"));var T5=(t=>(t.window="window",t.modal="modal",t))(T5||{});new Ze("window",te.i18nt("designer.enum.window")),new Ze("modal",te.i18nt("designer.enum.modal"));var Ug=(t=>(t.self="self",t.top="top",t.parent="parent",t))(Ug||{});new Ze("top",te.i18nt("designer.enum.windowTop")),new Ze("self",te.i18nt("designer.enum.windowSelf")),new Ze("parent",te.i18nt("designer.enum.windowParent"));var Hg=(t=>(t.close="close",t.cancel="cancel",t.save="save",t))(Hg||{});new Ze("close",te.i18nt("designer.enum.closeIframe")),new Ze("cancel",te.i18nt("designer.enum.cancelIframe")),new Ze("save",te.i18nt("designer.enum.saveIframe")),new Ze("Microsoft YaHei",te.i18nt("designer.enum.MicrosoftYaHei")),new Ze("SimSun",te.i18nt("designer.enum.SimSun")),new Ze("NSimSun",te.i18nt("designer.enum.NSimSun")),new Ze("SimHei",te.i18nt("designer.enum.SimHei")),new Ze("KaiTi",te.i18nt("designer.enum.KaiTi")),new Ze("FangSong",te.i18nt("designer.enum.FangSong")),new Ze("LiSu",te.i18nt("designer.enum.LiSu")),new Ze("YouYuan",te.i18nt("designer.enum.YouYuan")),new Ze("STXihei",te.i18nt("designer.enum.STXihei")),new Ze("STKaiti",te.i18nt("designer.enum.STKaiti")),new Ze("STSong",te.i18nt("designer.enum.STSong")),new Ze("STFangsong",te.i18nt("designer.enum.STFangsong")),new Ze("serif",te.i18nt("designer.enum.serif")),new Ze("sans-serif",te.i18nt("designer.enum.sansSerif")),new Ze("monospace",te.i18nt("designer.enum.monospace")),new Ze("cursive",te.i18nt("designer.enum.cursive")),new Ze("fantasy",te.i18nt("designer.enum.fantasy")),new Ze("Arial",te.i18nt("designer.enum.Arial")),new Ze("Helvetica",te.i18nt("designer.enum.Helvetica")),new Ze("Times New Roman",te.i18nt("designer.enum.TimesNewRoman")),new Ze("Georgia",te.i18nt("designer.enum.Georgia")),new Ze("Verdana",te.i18nt("designer.enum.Verdana")),new Ze("Courier New",te.i18nt("designer.enum.CourierNew")),new Ze("Impact",te.i18nt("designer.enum.Impact")),new Ze("Comic Sans MS",te.i18nt("designer.enum.ComicSansMS")),new Ze("Trebuchet MS",te.i18nt("designer.enum.TrebuchetMS")),new Ze("Palatino",te.i18nt("designer.enum.Palatino")),new Ze("default",te.i18nt("designer.enum.defaultState")),new Ze("hover",":hover"),new Ze("focus",":focus"),new Ze("active",":active");var D5=(t=>(t.CODE128="CODE128",t.CODE128A="CODE128A",t.CODE128B="CODE128B",t.CODE128C="CODE128C",t.CODE39="CODE39",t.EAN13="EAN13",t.EAN8="EAN8",t.EAN5="EAN5",t.EAN2="EAN2",t.UPC="UPC",t.ITF14="ITF14",t.ITF="ITF",t.MSI="MSI",t.MSI10="MSI10",t.MSI11="MSI11",t.MSI1010="MSI1010",t.MSI1110="MSI1110",t.pharmacode="pharmacode",t))(D5||{});const DY=(t,e,n=":")=>e?t?[t,e].join(n):e:"",P5=(t,e="")=>{var n=t==null?void 0:t.filter(r=>!!r);return!n||n.length<=0?"":n.join(e)},Gg=(t,e)=>t.split("").filter(n=>n===e).length,O5=(t,e)=>{if(!t)return"";var n=String(t);if(!e)return n;if(n&&!/^[\d\.]+$/g.test(n))return"";var r="",a="",o=e==null?void 0:e.lastIndexOf(".");o==-1?r=e:(r=e==null?void 0:e.substring(0,o),a=e==null?void 0:e.substring(o+1,e==null?void 0:e.length));var i="",u="",s=n.lastIndexOf(".");if(s==-1)var i=n;else var i=n.substring(0,s),u=n.substring(s+1,n.length);for(var l=new Array,c=r.indexOf("#,###"),f=1,h=i.length,d=h;d>0;d--)l.unshift(i.charAt(d-1)),c!=-1&&f%3==0&&f!=h&&l.unshift(","),f++;o!=-1&&l.push(".");for(var d=0;d<a.length;d++)a.charAt(d)&&u.charAt(d)?l.push(u.charAt(d)):l.push("0");return l.join("")},PY=t=>t==null?void 0:t.replace(/[\r\n]+/g,""),$c=(t,e,n,r,a)=>{r||(r=i=>!!PY(i));const o=a?`
|
|
10
|
-
`:"";return r(t)?`${e||""}${o}${t||""}${o}${n||""}`:t||""},OY=(t,e,n,r)=>{if(t==null||t==="")return e;{let a=String(t);const o=a.substring(0,n),i=a.substring(r||n);return a=`${o}${e}${i}`,a}},kY=(t,...e)=>t.replace(/{(\d+)}/g,(n,r)=>typeof e[r]<"u"?e[r]:n),Gl=(t,e,n)=>!xi(t)||!e?t||"":t==null?void 0:t.replace(new RegExp(e,"gi"),n),Wg="#";function BY(){return{variableExp:/#\{《const》:《([^》]+)》\}#/g,variableWithNameExp:r=>new RegExp("#{《const》:《"+r+"》}#.([0-9A-Za-z_]+)","gi"),buildVariable:r=>`${Wg}{《const》:《${r}》}${Wg}`}}function k5(){return{variableExp:/#\{《field》:《([^》]+)》\}#/g,buildVariable:n=>`${Wg}{《field》:《${n}》}${Wg}`}}function IY(){var t='"',e="@#@";return{addTextPrefix:o=>{var i,u;return $2(o)?o:xi(o)&&!((i=String(o))!=null&&i.startsWith(t))&&!((u=String(o))!=null&&u.endsWith(t))?`${t}${e}${o}${e}${t}`:o},removeTextPrefix:o=>xi(o)?Gl(Gl(o,`${t}${e}`,""),`${e}${t}`,""):o,removeTextPrefixSimple:o=>xi(o)?Gl(o,`${e}`,""):o}}function Nu(){const{addTextPrefix:t}=IY(),{variableExp:e,buildVariable:n}=k5(),r=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){return Aa(f)&&(f!=null&&f[d])?f==null?void 0:f[d]:d}):c,a=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){var v=d,m=f[v];return lr(m)?t(" "):t(m)}):c,o=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){var v=d,m=f[v];return!Wi(v)&&!Wi(m)?n(m):h}):c,i=(c,f,h,d=e)=>xi(c)?c==null?void 0:c.replace(d,function(v,m){var y;var p=m,g=(y=Sr(f))!=null&&y.includes(p)?f==null?void 0:f[p]:null;return Wi(p)?v:h?h(p,g):Wi(g)?null:g}):c;return{transFormula:r,calcFormula:a,getFormulaFields:c=>{if(!c||Is(c))return[];for(var f=null,h=[];(f=e.exec(c))!==null;)h.push(f==null?void 0:f[1]);return h},updateFomulaName:(c,f,h)=>{if(lr(c))return c;let d=Jr(c);return d!=null&&d.includes(f)?(d=o(d,{[f]:h}),Rr(d)):c},updateFomula:(c,f,h,d=e)=>{var v=i(c,f,h,d);return v}}}const B5=(t,e)=>{var n=[];return Object.entries(t).forEach(([r,a])=>{(!e||e.includes(a))&&n.push(new Ze(r,a))}),n},NY=(t,e)=>{var n={};return Object.entries(t).forEach(([r,a])=>{(!e||e.includes(a))&&(n[r]=a||"")}),n};function dE(t,e){var n=NY(t,e);return Object.values(n)}class at{constructor(e){z(this,"enable",!1);e&&Zn(this,e)}}class br extends at{constructor(n){super(n);z(this,"type",Ge.any);n&&Zn(this,n)}}class MY{constructor(e){z(this,"action","");z(this,"options",{});z(this,"content",{});e&&Zn(this,e)}}class I5{constructor(e,n){z(this,"complexType",xe.formula);z(this,"complexValue","");this.complexType=e,this.complexValue=n||""}}var N5;const o0=typeof window<"u",M5=()=>{};o0&&((N5=window==null?void 0:window.navigator)!=null&&N5.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function FY(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function LY(t){return t}o0&&window.document,o0&&window.navigator,o0&&window.location;function vE(t,e,n){const{immediate:r=!0,delay:a=0,onError:o=M5,onSuccess:i=M5,resetOnExecute:u=!0,shallow:s=!0,throwError:l}=n??{},c=s?_.shallowRef(e):_.ref(e),f=_.ref(!1),h=_.ref(!1),d=_.ref(void 0);async function v(m=0,...p){u&&(c.value=e),d.value=void 0,f.value=!1,h.value=!0,m>0&&await FY(m);const g=typeof t=="function"?t(...p):t;try{const y=await g;c.value=y,f.value=!0,i(y)}catch(y){if(d.value=y,o(y),l)throw d}finally{h.value=!1}return c.value}return r&&v(a),{state:c,isReady:f,isLoading:h,error:d,execute:v}}const mE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gE="__vueuse_ssr_handlers__";mE[gE]=mE[gE]||{},mE[gE];var F5;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(F5||(F5={}));var RY=Object.defineProperty,L5=Object.getOwnPropertySymbols,jY=Object.prototype.hasOwnProperty,VY=Object.prototype.propertyIsEnumerable,R5=(t,e,n)=>e in t?RY(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zY=(t,e)=>{for(var n in e||(e={}))jY.call(e,n)&&R5(t,n,e[n]);if(L5)for(var n of L5(e))VY.call(e,n)&&R5(t,n,e[n]);return t};zY({linear:LY},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});var j5=/^function(\s*)(?<name>[^\(]+)(\s*)\((?<param>[^\)]+)\)(\s*)\{(?<body>((.|\s)*))\}(\s*)$/;const UY=t=>t?j5.test(t):!1,HY=t=>{if(t){var e=yE(t);if(e)try{return new Function(e==null?void 0:e.params.join(","),e==null?void 0:e.body)}catch(n){Ii.error("stringToFunc",n)}}},yE=t=>{var n,r,a;if(t){var e=j5.exec(t);if(e&&(e==null?void 0:e.length)>0)try{let o=((n=e.groups)==null?void 0:n.name)||"",i=((r=e.groups)==null?void 0:r.param)||"",u=((a=e.groups)==null?void 0:a.body)||"";return{params:GY(i),body:u}}catch(o){Ii.error("getFuncSplit",o)}}},GY=t=>{var e=WY(t);return e.map(n=>n.key)},WY=t=>{var u,s;let e=null;for(var n=/(?<key>([^:]+)):(\s*)(?<value>[^,]+),?/g,r=!0,a="",o="",i=[];e=n.exec(t);){let l=((u=e==null?void 0:e.groups)==null?void 0:u.key)||"";(s=e==null?void 0:e.groups)!=null&&s.value;let c=e==null?void 0:e[0];o+=c;let f=Gg(o,"{")==Gg(o,"}")&&Gg(o,"(")==Gg(o,")");r&&(a=l),f&&(o=o.replace(a+":",""),o.endsWith(",")?o=o.substring(0,o.length-1).trim():o=o.trim(),i.push({key:a,value:o}),o="",a=""),r=f}return i},Wp=(t,e)=>{if(t)try{var n=e?Object.values(e):[];return t.call(t,...n)}catch(r){Ii.error("callFunc",r)}},KY=(t,e)=>{var n=[];e&&(n=Object.keys(e),Object.values(e));let r=new Function(n.join(","),t);if(r)return Wp(r,e)},XY=(t,e)=>{let n=HY(t);if(n)return Wp(n,e)},ll=(t,e)=>{if(t)return UY(t)?XY(t,e):KY(t,e)},V5=t=>{if(t){var e=t;return e=e==null?void 0:e.trim(),e!=null&&e.startsWith("${")&&(e!=null&&e.endsWith("}"))?(e=e==null?void 0:e.substring(2,(e==null?void 0:e.length)-1),e=`return ${e}`):e=`${e}`,`${e}`}},YY=(t,e)=>{let n=V5(t);var r=e?Sr(e):[];return n=`function(${r.join(",")}){${n}}`,new Function("return "+n)},_E=(t,e)=>{var o;var n=YY(t,e),r=e?(o=Object.entries(e))==null?void 0:o.map(([i,u])=>_.isRef(u)?u.value:u):[];try{var a=n==null?void 0:n();if(a!=null){if(r!=null)return a==null?void 0:a(...r);a==null||a()}else Ii.info("evalExpression","function is empty",{expression:t,data:e})}catch(i){Ii.error("evalExpression",i,{expression:t,data:e});return}},JY=(t,e)=>{const n=/\"\$\{([^\}]+)\}\"/g;if(!(t==null||!xi(t))){var r=t==null?void 0:t.replace(n,function(a,o,i){var u=a,s=u.substring(1,u.length-1),l=_E(s,e);return lr(l)?'""':Uo(l)?Jr(l):`"${l}"`});return r}},ZY=(t,e)=>{const n=/\$\{([^\}]+)\}/g;if(!(t==null||!xi(t))){var r=t==null?void 0:t.replace(n,function(a,o,i){var u=a,s=_E(u,e);return lr(s)?"":s});return r}},QY=(t,e)=>{const n=/\$\{([^\}]+)\}/g;if(!(t==null||!xi(t)))return t==null?void 0:t.replace(n,function(r,a,o,i){return"${"+(e?e(a):a)+"}"})},ul=(t,e)=>{var n=JY(t,e),r=ZY(n,e);return r};var Xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function z5(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){if(this instanceof r){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(e,a);return new o}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}var Ei={},qY={get exports(){return Ei},set exports(t){Ei=t}};(function(t,e){(function(r,a){t.exports=a()})(Xn,function(){return function(n){var r={};function a(o){if(r[o])return r[o].exports;var i=r[o]={exports:{},id:o,loaded:!1};return n[o].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}return a.m=n,a.c=r,a.p="",a(0)}([function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(1),i=a(3),u=a(8),s=a(15);function l(v,m,p){var g=null,y=function(C,D){p&&p(C,D),g&&g.visit(C,D)},x=typeof p=="function"?y:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var E=typeof m.attachComment=="boolean"&&m.attachComment;(b||E)&&(g=new o.CommentHandler,g.attach=E,m.comment=!0,x=y)}var w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module");var S;m&&typeof m.jsx=="boolean"&&m.jsx?S=new i.JSXParser(v,m,x):S=new u.Parser(v,m,x);var A=w?S.parseModule():S.parseScript(),P=A;return b&&g&&(P.comments=g.comments),S.config.tokens&&(P.tokens=S.tokens),S.config.tolerant&&(P.errors=S.errorHandler.errors),P}r.parse=l;function c(v,m,p){var g=m||{};return g.sourceType="module",l(v,g,p)}r.parseModule=c;function f(v,m,p){var g=m||{};return g.sourceType="script",l(v,g,p)}r.parseScript=f;function h(v,m,p){var g=new s.Tokenizer(v,m),y;y=[];try{for(;;){var x=g.getNextToken();if(!x)break;p&&(x=p(x)),y.push(x)}}catch(b){g.errorHandler.tolerate(b)}return g.errorHandler.tolerant&&(y.errors=g.errors()),y}r.tokenize=h;var d=a(2);r.Syntax=d.Syntax,r.version="4.0.1"},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(2),i=function(){function u(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return u.prototype.insertInnerComments=function(s,l){if(s.type===o.Syntax.BlockStatement&&s.body.length===0){for(var c=[],f=this.leading.length-1;f>=0;--f){var h=this.leading[f];l.end.offset>=h.start&&(c.unshift(h.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}c.length&&(s.innerComments=c)}},u.prototype.findTrailingComments=function(s){var l=[];if(this.trailing.length>0){for(var c=this.trailing.length-1;c>=0;--c){var f=this.trailing[c];f.start>=s.end.offset&&l.unshift(f.comment)}return this.trailing.length=0,l}var h=this.stack[this.stack.length-1];if(h&&h.node.trailingComments){var d=h.node.trailingComments[0];d&&d.range[0]>=s.end.offset&&(l=h.node.trailingComments,delete h.node.trailingComments)}return l},u.prototype.findLeadingComments=function(s){for(var l=[],c;this.stack.length>0;){var f=this.stack[this.stack.length-1];if(f&&f.start>=s.start.offset)c=f.node,this.stack.pop();else break}if(c){for(var h=c.leadingComments?c.leadingComments.length:0,d=h-1;d>=0;--d){var v=c.leadingComments[d];v.range[1]<=s.start.offset&&(l.unshift(v),c.leadingComments.splice(d,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,l}for(var d=this.leading.length-1;d>=0;--d){var f=this.leading[d];f.start<=s.start.offset&&(l.unshift(f.comment),this.leading.splice(d,1))}return l},u.prototype.visitNode=function(s,l){if(!(s.type===o.Syntax.Program&&s.body.length>0)){this.insertInnerComments(s,l);var c=this.findTrailingComments(l),f=this.findLeadingComments(l);f.length>0&&(s.leadingComments=f),c.length>0&&(s.trailingComments=c),this.stack.push({node:s,start:l.start.offset})}},u.prototype.visitComment=function(s,l){var c=s.type[0]==="L"?"Line":"Block",f={type:c,value:s.value};if(s.range&&(f.range=s.range),s.loc&&(f.loc=s.loc),this.comments.push(f),this.attach){var h={comment:{type:c,value:s.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};s.loc&&(h.comment.loc=s.loc),s.type=c,this.leading.push(h),this.trailing.push(h)}},u.prototype.visit=function(s,l){s.type==="LineComment"?this.visitComment(s,l):s.type==="BlockComment"?this.visitComment(s,l):this.attach&&this.visitNode(s,l)},u}();r.CommentHandler=i},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(n,r,a){var o=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,g){p.__proto__=g}||function(p,g){for(var y in g)g.hasOwnProperty(y)&&(p[y]=g[y])};return function(p,g){m(p,g);function y(){this.constructor=p}p.prototype=g===null?Object.create(g):(y.prototype=g.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(4),u=a(5),s=a(6),l=a(7),c=a(8),f=a(13),h=a(14);f.TokenName[100]="JSXIdentifier",f.TokenName[101]="JSXText";function d(m){var p;switch(m.type){case s.JSXSyntax.JSXIdentifier:var g=m;p=g.name;break;case s.JSXSyntax.JSXNamespacedName:var y=m;p=d(y.namespace)+":"+d(y.name);break;case s.JSXSyntax.JSXMemberExpression:var x=m;p=d(x.object)+"."+d(x.property);break}return p}var v=function(m){o(p,m);function p(g,y,x){return m.call(this,g,y,x)||this}return p.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():m.prototype.parsePrimaryExpression.call(this)},p.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},p.prototype.finishJSX=function(){this.nextToken()},p.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},p.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},p.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},p.prototype.scanXHTMLEntity=function(g){for(var y="&",x=!0,b=!1,E=!1,w=!1;!this.scanner.eof()&&x&&!b;){var S=this.scanner.source[this.scanner.index];if(S===g)break;if(b=S===";",y+=S,++this.scanner.index,!b)switch(y.length){case 2:E=S==="#";break;case 3:E&&(w=S==="x",x=w||i.Character.isDecimalDigit(S.charCodeAt(0)),E=E&&!w);break;default:x=x&&!(E&&!i.Character.isDecimalDigit(S.charCodeAt(0))),x=x&&!(w&&!i.Character.isHexDigit(S.charCodeAt(0)));break}}if(x&&b&&y.length>2){var A=y.substr(1,y.length-2);E&&A.length>1?y=String.fromCharCode(parseInt(A.substr(1),10)):w&&A.length>2?y=String.fromCharCode(parseInt("0"+A.substr(1),16)):!E&&!w&&h.XHTMLEntities[A]&&(y=h.XHTMLEntities[A])}return y},p.prototype.lexJSX=function(){var g=this.scanner.source.charCodeAt(this.scanner.index);if(g===60||g===62||g===47||g===58||g===61||g===123||g===125){var y=this.scanner.source[this.scanner.index++];return{type:7,value:y,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(g===34||g===39){for(var x=this.scanner.index,b=this.scanner.source[this.scanner.index++],E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index++];if(w===b)break;w==="&"?E+=this.scanXHTMLEntity(b):E+=w}return{type:8,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}if(g===46){var S=this.scanner.source.charCodeAt(this.scanner.index+1),A=this.scanner.source.charCodeAt(this.scanner.index+2),y=S===46&&A===46?"...":".",x=this.scanner.index;return this.scanner.index+=y.length,{type:7,value:y,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}if(g===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(g)&&g!==92){var x=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var w=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(w)&&w!==92)++this.scanner.index;else if(w===45)++this.scanner.index;else break}var P=this.scanner.source.slice(x,this.scanner.index);return{type:100,value:P,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}return this.scanner.lex()},p.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var g=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(g)),g},p.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var g=this.scanner.index,y="";!this.scanner.eof();){var x=this.scanner.source[this.scanner.index];if(x==="{"||x==="<")break;++this.scanner.index,y+=x,i.Character.isLineTerminator(x.charCodeAt(0))&&(++this.scanner.lineNumber,x==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
8
|
+
(如不设置该函数,默认按照输出回显)`,dataFormat:"数据格式化",rowDataFormat:"行数据格式化",windowTarget:"目标窗口",schemaParamName:"数据标识符",schemaParamNameHelp:"用于将表单数据data组装为{[数据标识符]:data},作为全局变量的schemaParams的参数",includeMaxValue:"包含最大值",includeMinValue:"包含最小值",rangeValidate:"范围校验",withAttachData:"附加回传",withAttachDataTitle:"附加回传设置",stateHelp:"custom:普通\rreadonly:只读\rdisabled:禁用\rhidden:隐藏",hashRouter:"哈希动态路由",allItemAsValue:"选中值对象",allItemAsValueHelp:"是=选中选项时,输出的值为对象\r否=选中选项时,输出的值为valueKey对应值",fileList:"文件列表",accept:"文件类型",onChange:"文件状态改变",onExceed:"数量超限时",onProgress:"文件上传时",onPreview:"文件预览时",onSuccess:"上传成功时",onError:"上传失败时",onRemove:"文件移除时",getHeader:"上传消息头",getData:"上传附加参数",dataName:"文件字段名",beforeRemove:"移除前",onBuildUrl:"文件url设置",isUploadSuccess:"上传结果核验",slotTrigger:"触发模板",slotTip:"提示模板",slotFile:"文件详情",listType:"列表类型",sizeDef:"自定义尺寸",httpRequest:"自定义请求",allowPreview:"支持预览",allowDownload:"支持下载",allowRemove:"支持删除",onDownload:"文件下载时",copyEntireRow:"复制整行",copyEntireCol:"复制整列",css:"样式设计",widgetCss:"组件css样式",lineColor:"线条颜色",lineWidth:"线条宽度",lineHeight:"线条高度",codeFormat:"编码格式",displayValue:"显示值",identifyCodeLen:"目标长度",identifyCodes:"验证码字符库",fontSizeMin:"最小字号",fontSizeMax:"最大字号",backgroundColorMin:"最小背景色值",backgroundColorMax:"最大背景色值",colorMin:"最小字体颜色值",colorMax:"最大字体颜色值",lineColorMin:"最小线条颜色值",lineColorMax:"最大线条颜色值",dotColorMin:"最小点颜色值",dotColorMax:"最大点颜色值",imgContentWidth:"图形宽度",imgContentHeight:"图形高度",keydown:"按键时",keyup:"按键后"},expression:{helpers_custom:"常用函数",helpers_string:"文本函数",helpers_time:"时间函数",helpers_logical:"逻辑函数",helpers_math:"数学函数",helpers_collection:"集合函数",helpers_other:"其他函数",helpers_medical:"医疗函数",comment:"说明",useMethod:"用法",allFields:"字段列表",allFormulas:"函数列表",formulaFunction:"请从左侧面板选择字段和函数,或输入函数"},enum:{rtl:"右->左",ltr:"左->右",ttb:"上->下",btt:"下->上",prev:"上一页",pager:"当前页",next:"下一页",jumper:"跳转",right:"向右",total:"总页数",inlineLayout:"内联",blockLayout:"行布局",flexLayout:"弹性布局",inline:"行内",block:"块",leftAlign:"居左",centerAlign:"居中",rightAlign:"居右",topAlign:"顶部",numberValidator:"数字",letterValidator:"字母",letterAndNumberValidator:"数字字母",mobilePhoneValidator:"手机号码",emailValidator:"邮箱",urlValidator:"网址",noChineseValidator:"非中文字符",chineseValidator:"仅中文字符",noBlankStartValidator:"非空白字符开头",noBlankEndValidator:"非空白字符结尾",noBlankStartEndValidator:"非空白字符开头结尾",letterStartNumberIncludedValidator:"以字母开头包含数字",ChinaIdcardValidator:"中国大陆身份证号",weakPasswordValidator:"弱度密码",mediumPasswordValidator:"中度密码",strongPasswordValidator:"强度密码",topPosition:"顶部",leftPosition:"左边",defaultPosition:"默认",rightPosition:"右边",frontPosition:"前置",rearPosition:"后置",horizontalPosition:"水平",verticalPosition:"垂直",both:"均可",none:"无",defaultButton:"常规",plainButton:"朴素",roundButton:"圆角",circleButton:"圆形",linkButton:"链接",textButton:"文字",custom:"普通",readonly:"只读",disabled:"禁用",hidden:"隐藏",schemaVariable:"变量",schemaRemote:"远程",schemaUrlParam:"URL参数",schemaConfigParam:"组件参数",auto:"自动",async:"异步",manual:"手动",tablecolumntype_default:"默认",tablecolumntype_selection:"选项",tablecolumntype_index:"索引",tablecolumntype_expand:"展开",size_none:"常规",size_small:"较小",size_default:"默认",size_large:"较大",start:"靠左",end:"靠右",spaceAround:"分散对齐",spaceBetween:"两端对齐",spaceEvenly:"均匀分布",middle:"居中",center:"居中",left:"左部",rightPart:"右部",top:"顶部",topStart:"顶部左侧",topEnd:"顶部右侧",bottom:"底部",bottomStart:"底部左侧",bottomEnd:"底部右侧",line:"线形",circle:"圆形",dashboard:"仪表盘",success:"成功",exception:"异常",warning:"警告",info:"信息",error:"错误",danger:"高危",primary:"定制",default:"常规",underline:"下划线",butt:"无",round:"半圆形",square:"正方形",row_line:"平铺方式",row_table:"表格方式",process_wait:"等待",process_process:"进行中",process_finish:"已完成",process_error:"错误",process_success:"成功",dark:"深色",light:"亮色",plain:"常规",min:"最小值",max:"最大值",singletext:"单行文本",textarea:"多行文本",password:"密码",number:"数字",card:"卡片",borderCard:"边框卡片",click:"点击",hover:"鼠标悬浮",never:"从不",always:"总是",outside:"外部",fixed:"固定",datetime:"日期时间",date:"日期",dates:"多日期",year:"年",month:"月",week:"周",day:"日",daterange:"日期范围",datetimerange:"日期时间范围",monthrange:"月范围",empty:"空",fill:"填充",contain:"包含",cover:"覆盖",scaleDown:"缩减",eager:"立即加载",lazy:"懒加载",contextmenu:"右键",button:"常规",submit:"提交",reset:"重置",dashed:"虚线",dotted:"点线",solid:"实线",inherit:"继承",initial:"默认值",unset:"unset",double:"双线",SubMenu:"子菜单",MenuItem:"菜单项",MenuItemGroup:"菜单分组项",booleanType:"布尔型",stringType:"字符串型",numberType:"数值型",targetBlank:"打开新的页面",targetSelf:"在当前页面打开",windowTop:"顶层窗体",windowSelf:"本级窗体",windowParent:"父窗体",window:"浏览器自带窗口",modal:"模态窗口",closeIframe:"直接关闭",cancelIframe:"取消(通知子页面)",saveIframe:"保存(通知子页面)",normal:"常规",iframe:"网页",TextCheckMode_json:"json",TextCheckMode_text:"text",alertSuccess:"成功",alertWarning:"警告",alertInfo:"信息",alertError:"错误",pictureCard:"图片卡片",picture:"缩略图",text:"文本",MicrosoftYaHei:"微软雅黑",SimSun:"宋体",NSimSun:"新宋体",SimHei:"黑体",KaiTi:"楷体",FangSong:"仿宋",LiSu:"隶书",YouYuan:"幼圆",STXihei:"华文细黑",STKaiti:"华文楷体",STSong:"华文宋体",STFangsong:"华文仿宋",serif:"衬线字体",sansSerif:"无衬线字体",monospace:"等宽字体",cursive:"手写体/草书体",fantasy:"装饰/艺术字体",Arial:"Arial",Helvetica:"赫尔维提卡体",TimesNewRoman:"Times New Roman",Georgia:"乔治亚体",Verdana:"维达纳体",CourierNew:"新快递体",Impact:"冲击体",ComicSansMS:"漫画体",TrebuchetMS:"特粗体",Palatino:"帕拉提诺体",defaultState:"默认状态"},helper:{CONCATENATE_func:"将多个字符串拼接合成一个文本字符串",LEFT_func:"获取从左指定字符",GETCHECKEDNAME_func:"获取首个已选的选项名称",GETCHECKEDNAME_return:"选项名称",GETCHECKEDNAME_items:"选项列表",GETCHECKEDNAME_itemName:"选项字段名",GETCHECKEDNAMES_func:"获取所有已选的选项名称",GETCHECKEDNAMES_return:"选项名称",GETCHECKEDNAMES_items:"选项列表",GETCHECKEDNAMES_itemName:"选项字段名",array:"数组",array1:"数组1",array2:"数组2",index:"索引",INTERSECTIONSET_func:"获取两个数组的交集",INTERSECTIONSET_return:"交集数组字符串",UNIONSET_func:"获取两个数组的并集",UNIONSET_return:"并集数组字符串",DIFFERENCESET_func:"获取两个数组的差集",DIFFERENCESET_return:"差集数组字符串",SUBSET_func:"判断数组1是否是数组2的子集",SUBSET_return:"是否子集",ARRAYLEN_func:"获取数组长度",ARRAYLEN_return:"数组长度",ARRAYGET_func:"获取数组中第index个值",ARRAYGET_return:"数组中指定索引值",LARGE_func:"获取数组中第index个最大值",LARGE_return:"数组中第index个最大值",SMALL_func:"获取数组中第index个最小值",SMALL_return:"数组中第index个最小值",ARRAY_func:"根据参数值列表生成数组",ARRAY_return:"参数值列表组成的数组",v1:"数值1",v2:"数值2",EQ_func:"比较两个值是否相等,支持数字、日期",EQ_return:"是否相等",NE_func:"比较两个值是否不相等,支持数字、日期",NE_return:"是否不相等",LT_func:"判断值1是否小于值2,支持数字、日期",LT_return:"是否小于",GT_func:"判断值1是否大于值2,支持数字、日期",GT_return:"是否大于",LTE_func:"判断值1是否小于等于值2,支持数字、日期",LTE_return:"是否小于等于",GTE_func:"判断值1是否大于等于值2,支持数字、日期",GTE_return:"是否大于等于",logical_args:"逻辑表达式1,逻辑表达式2,...",logical_arg:"逻辑表达式",AND_func:"获取多逻辑表达式是否同时成立",AND_return:"是否同时成立",OR_func:"获取多逻辑表达式是否有一个成立",OR_return:"是否有一个成立",NOT_func:"获取逻辑表达式的否定",NOT_return:"布尔值的否定",XOR_func:"获取多个逻辑表达式的异或比较",XOR_return:"所有逻辑表达式的异或值",TRUE_func:"获取布尔值true",TRUE_return:"布尔值true",FALSE_func:"获取布尔值false",FALSE_return:"布尔值false",IF_func:"判断一个条件能否满足;如果满足返回一个值,如果不满足则返回另外一个值",IF_return:"逻辑判断后的真值或假值",IF_trueValue:"结果为true的返回值",IF_falseValue:"结果为false的返回值",numArgs:"数值列表",numArray:"数值数组",numArray1:"数值数组1",numArray2:"数值数组2",num:"值",num_digits:"指定位数",significance:"舍入倍数",decimals:"小数位数",ADDNUM_func:"获取多数值总和,要求数组内全部为非空",ADD_func:"获取多数值总和,数组内空值将转换为0",ADD_return:"参数总和值",SUM_func:"获取数值数组总和",SUM_return:"参数总和值",AVERAGE_func:"获取所有数值总和平均值",AVERAGE_return:"参数总和平均值",MAX_func:"获取所有数值的最大值",MAX_return:"所有数值最大值",MIN_func:"获取所有数值的最小值",MIN_return:"所有数值最小值",ABS_func:"获取数值的绝对值",ABS_return:"数值的绝对值",ROUND_func:"获取数值的四舍五入指定位数",ROUND_return:"数值的四舍五入指定位数",CEILING_func:"获取数值的向上舍入倍数",CEILING_return:"数值的向上舍入倍数",FLOOR_func:"获取数值的向下舍入倍数",FLOOR_return:"数值的向下舍入倍数",INT_func:"获取数值的向下取整的数",INT_return:"整数值",log_base:"底数值",LOG_func:"获取对数",LOG_return:"对数值",power_num:"指数值",power_base:"基数值",POWER_func:"获取乘幂",POWER_return:"数字乘幂",FIXED_func:"获取舍入指定位数",FIXED_return:"指定小数位数的数值",SQRT_func:"获取正数的平方根",SQRT_return:"正数的平方根",SUMPRODUCT_func:"获取两个数组对应索引的数值乘积之和",SUMPRODUCT_return:"两个数组项乘积之和",NUMBERCOMPARE_func:"判断两个数值是否相等",NUMBERCOMPARE_return:"是否相等",value:"内容",pattern:"格式",NUMBERFORMATE_func:"获取数值格式化",NUMBERFORMATE_return:"格式化后内容",lastMenstrualPeriod:"末次月经",dateOfPrenatal:"预产期",currentTime:"当前时间",PREGNANTWEEKDAY_mode:"week或day",PREGNANTWEEKDAY_func:"获取孕周或孕天",PREGNANTWEEKDAY_return:"孕周或孕天",PREGNANTWEEK_func:"获取孕周",PREGNANTWEEK_return:"孕周",PREGNANTDAY_func:"获取孕天",PREGNANTDAY_return:"孕天",STOPMENSTRUALWEEK_func:"获取停经周数",STOPMENSTRUALWEEK_return:"停经周数",STOPMENSTRUALDAY_func:"获取停经天数",STOPMENSTRUALDAY_return:"停经天数",stringArray:"字符串数组",format:"字符串格式【变量以{0}形式出现】",text1:"文本1",text2:"文本2",text:"文本",orgText:"原始文本",num_chars:"文本长度",separator:"分隔符",CONCATENATE_fun:"将多个字符串拼接合成一个文本字符串",CONCATENATE_return:"拼接后字符串",LEFT_fun:"获取从左指定字符",LEFT_return:"指定字符串",RIGHT_func:"获取从右指定字符",RIGHT_return:"指定字符串",MID_func:"截取文本",MID_return:"指定字符串",MID_start_index:"开始截取的位置",LEN_func:"获取字符串长度",LEN_return:"指定字符串",LOWER_func:"转换为小写字母",LOWER_return:"文本的小写字母格式",UPPER_func:"转换为大写字母",UPPER_return:"文本的大写字母格式",REPLACE_func:"替换文本",REPLACE_return:"替换后的文本值",REPLACE_start_index:"开始替换位置",REPLACE_num_chars:"替换字符数",REPLACE_new_text:"替换的新文本",REPT_func:"重复文本",REPT_return:"替换后的文本值",number_times:"重复次数",SEARCH_func:"获取指定字符串的位置",SEARCH_return:"查找字符串的位置索引",SEARCH_within_text:"查找的文本",SEARCH_start_num:"开始查找位置",TEXT_func:"获取数据格式化",TEXT_return:"格式化文本",VALUE_func:"将文本转换数字",VALUE_return:"转化后的数值",SPLIT_limit:"分割结果最大数",SPLIT_func:"分割文本",SPLIT_return:"转化后的数值",TRIM_func:"删除收尾空格",TRIM_return:"收尾不带有空格的文本值",UUID_func:"获取唯一识别字符串",UUID_return:"随机字符串",ISNULL_func:"判断值是否为null",ISNULL_return:"是否null",ISEMPTY_func:"判断值是否为空判断",ISEMPTY_return:"是否为空",PINYIN_func:"获取文本的全拼音",PINYIN_return:"文本全拼音,中文转拼音,其余不变",PINYINHEADCHAR_func:"获取文本拼音首字母大写",PINYINHEADCHAR_return:"文本拼音首字母,中文转拼音,其余不变",PRINT_func:"原样显示文本",PRINT_return:"文本",STRINGCOMPARE_func:"比较文本是否一致",STRINGCOMPARE_return:"是否一致",DATE_func:"将时间戳转换为日期对象",DATE_return:"日期对象",DATE_date:"时间戳",DATEFORMAT_func:"日期格式化",DATEFORMAT_return:"日期的文本格式",TIMESTAMP_func:"获取对应日期对象的时间戳",TIMESTAMP_return:"日期对象时间戳",TIMESTAMP_date:"日期对象",hour:"小时",minute:"分钟",second:"秒数",TIME_func:"获取时间十进制",TIME_return:"时间十进制数值,如12:00:00返回0.5天",TODAY_func:"获取客户端当天日期",TODAY_return:"客户端当天日期对象",NOW_func:"获取客户端当天时间",NOW_return:"客户端当天时间对象",YEAR_func:"获取日期年份",YEAR_return:"日期年份",MONTH_func:"获取日期月份",MONTH_return:"日期月份",date:"指定日期",date1:"日期1",date2:"日期2",diff_type:"间隔单位(year,month,day,hour,minute,second,week)",DAY_func:"获取日期天数",DAY_return:"日期天数",HOUR_func:"获取日期小时",HOUR_return:"日期小时",MINUTE_func:"获取日期分钟",MINUTE_return:"日期分钟",SECOND_func:"获取日期秒数",SECOND_return:"日期秒数",DATEADD_func:"指定加/减时间",DATEADD_return:"加/减时间后的日期时间",DATEADD_date:"初始日期",DATEADD_delta_num:"加减的时间",DATEADD_delta_type:"加减的时间单位(year,month,day,hour,minute,second,week)",DATEDIFF_func:"两个日期之间的间隔",DATEDIFF_return:"日期间隔",DATEDIFFPART_func:"两个日期之间的间隔部分值",DATEDIFFPART_return:"日期间隔部分值",DAYS360_func:"按一年360计算两个日期相差间隔",DAYS360_return:"日期相差间隔",DAYBEGIN_func:"获取一天中日期零点",DAYBEGIN_return:"日期零点",DAYEND_func:"获取一天中日期最大值",DAYEND_return:"日期最大值",YEARBEGIN_func:"获取当年首天",YEARBEGIN_return:"当年首天",YEAREND_func:"获取当年最后一天",YEAREND_return:"当年最后一天",WEEKNUM_func:"获取当前日期周数",WEEKNUM_return:"当前日期的周数",WEEKNUM_return_type:"1表示周日为每周第一天,2表示周一为每周第一天",ISOWEEKNUM_func:"获取以周日为每周第一天的当前日期周数",ISOWEEKNUM_return:"当前日期的周数",ASSIGN_func:"多个object对象合并成一个object",ASSIGN_return:"object对象数组",ASSIGN_args:"object对象",TOJSON_func:"将对象转换为json字符串",TOJSON_return:"json字符串",TOJSON_args:"json对象",FROMJSON_func:"文本转json对象",FROMJSON_return:"json对象",FROMJSON_args:"json字符串",GETAGEBYBIRTH_func:"出生日期计算年龄",GETAGEBYBIRTH_return:"年龄",birthday:"出生日期",idcard:"中国身份证号",ISVALIDIDCARD_func:"判断证件号是否为中国居民身份证号",ISVALIDIDCARD_return:"判断结果",GETBIRTHDAY_func:"中国身份证号获取出生日期",GETBIRTHDAY_return:"出生日期",GETAGE_func:"中国身份证号获取年龄",GETAGE_return:"年龄",GETSEXCODE_func:"中国身份证号获取性别",GETSEXCODE_return:"性别代码",GETSEXNAME_func:"中国身份证号获取性别",GETSEXNAME_return:"性别名称",GETPROVINCE_func:"中国身份证号获取省份编码",GETPROVINCE_return:"省份编码",GETPROVINCENAME_func:"中国身份证号获取省份名称",GETPROVINCENAME_return:"省份名称",REPLACESTRING_func:"替换指定范围字符串为统一的字符",REPLACESTRING_return:"替换后的结果",indexStart:"开始索引",indexEnd:"结束索引",replacement:"替换后的文本",PRODUCT_func:"获取数组内数值乘积",PRODUCT_return:"乘积",DIVISION_func:"获取两个数相除的结果",DIVISION_return:"商",divisor:"被除数",dividend:"除数"},var:{rowScope:`组件绑定的属性值(目前仅支持【模板】、【数据表格】组件,
|
|
9
|
+
用于每行内的组件读取当前行数据如rowScope.row.column_name),可先用console.log(schema.rowScope)查看数据项`},style:{width:"宽度",height:"高度",marginTop:"外边距-上部",marginLeft:"外边距-左部",marginRight:"外边距-右部",marginBottom:"外边距-底部",paddingTop:"内边距-上部",paddingLeft:"内边距-左部",paddingRight:"内边距-右部",paddingBottom:"内边距-底部",borderLeft:"左边框",borderRight:"右边框",borderTop:"上边框",borderBottom:"下边框",borderWidth:"线宽",borderStyle:"线形",borderColor:"颜色",borderRadiusBottomRight:"右下角",borderRadiusTopRight:"右上角",borderRadiusBottomLeft:"左下角",borderRadiusTopLeft:"左上角",borderRadiusAll:"全部",display:"显示类型",textAlign:"对齐",fontFamily:"字体名称",fontSize:"字体大小",fontWeight:"字重",fontStyle:"字样",textDecoration:"修饰",color:"填充色",lineHeight:"行间距",backgroundColor:"背景色",backgroundImage:"背景图",opacity:"透明度",cursor:"鼠标手势",boxShadowColor:"阴影颜色",boxShadowBlur:"模糊半径",boxShadowSpread:"阴影扩展半径",boxShadowHShadow:"阴影水平偏移",boxShadowVShadow:"阴影垂直偏移",container:"布局",wordFont:"字体",background:"背景",effect:"效果",border:"边框",marginPadding:"边距",state:"状态",codeEdit:"源代码编辑"}}},EY={render:{hint:{prompt:"提示",confirm:"确定",cancel:"取消",selectPlaceholder:"请选择",timePlaceholder:"选择时间",startTimePlaceholder:"起始时间",endTimePlaceholder:"截止时间",datePlaceholder:"选择日期",startDatePlaceholder:"起始日期",endDatePlaceholder:"截止日期",blankCellContent:"--",uploadError:"上传错误: ",uploadExceed:"最大上传数量(${uploadLimit})已超出.",unsupportedFileType:"不支持格式: ",fileSizeExceed:"文件大小已超出: ",refNotFound:"组件未找到: ",fieldRequired:"必填",invalidNumber:"数据格式错误",selectFile:" 选择文件",downloadFile:"下载",removeFile:"移除",validationFailed:"表单数据校验失败",numberFailed:"包含非数字字符",letterFailed:"包含非字母字符",letterAndNumberFailed:"只能输入字母或数字",mobilePhoneFailed:"手机号码格式有误",noBlankStartFailed:"不允许空白字符开头",noBlankEndFailed:"不允许空白字符结尾",noBlankStartEndFailed:"不允许以空白字符开头结尾",letterStartNumberIncludedFailed:"必须以字母开头,可包含数字",noChineseFailed:"不可输入中文字符",chineseFailed:"只能输入中文字符",emailFailed:"邮箱格式有误",urlFailed:"URL格式有误",chinaIdcardFailed:"身份证格式有误",invalidFailed:"非法值",weakPasswordFailed:"仅字母或数字,至少6位",mediumPasswordFailed:"字母+数字,至少8位",strongPasswordFailed:"大小写+数字+特殊符号,至少10位"}}},wY={extension:{}},Zc={get(t){return localStorage.getItem(t)},set(t,e){typeof e=="object"?localStorage.setItem(t,Jr(e)):localStorage.setItem(t,String(e))},remove(t){localStorage.removeItem(t)}},SY={"zh-CN":{custionLocale:{},...bY,...xY,...EY,...wY}},HD="v_form_locale",GD=function(){return{lang:Zc.get(HD)||"zh-CN"}},CY=function(t){Fg.setLang(t),Zc.set(HD,t)},WD=()=>{let t=GD();CY(t==null?void 0:t.lang)},Fg=AY({locale:GD(),messages:SY});function AY(t){return{messages:t.messages,locale:t.locale,$st(e,n=!0,...r){e=e==null?void 0:e.trim();let a=this.messages[this.locale.lang];const o=tE(a,e);return typeof o=="function"?o(...r):o!==null?o:n?e:""},$st2(e,n){let r=this.messages[this.locale.lang];const a=tE(r,e);return a!==null?a:this.$st(n)},setLang(e){this.locale.lang=e}}}const TY=function(t){return Fg.$st(t)},te={i18nt(t,e=!0){return t?Fg.$st(t,e):""},i18n2t(t,e){return Fg.$st2(t,e)}};var Ge=(t=>(t.string="string",t.number="number",t.bigint="bigint",t.boolean="boolean",t.symbol="symbol",t.undefined="undefined",t.object="object",t.function="function",t.array="array",t.any="any",t.date="date",t))(Ge||{}),Vl=(t=>(t.typescript="typescript",t.javascript="javascript",t.css="css",t.html="html",t.json="json",t.sql="sql",t.text="text",t))(Vl||{}),Ni=(t=>(t.sysVar="sysVar",t.sysFunc="sysFunc",t.sysData="sysData",t.schema="schema",t))(Ni||{});class Ze{constructor(e,n,r=!1){z(this,"label","");z(this,"value","");z(this,"isdefalut",!1);this.label=n,this.value=e,this.isdefalut=r}}var be=(t=>(t.event="event",t.hook="hook",t.prop="prop",t.slot="slot",t.icon="icon",t.targetEvent="targetEvent",t.placer="placer",t.placerHook="placerHook",t.singleOption="singleOption",t.dataObject="dataObject",t.datasource="datasource",t.variable="variable",t.formula="formula",t.schemaData="schemaData",t))(be||{}),et=(t=>(t.none="",t.page="page",t.cache="cache",t.input="input",t.textarea="textarea",t.number="input-number",t.range="range",t.radio="radio",t.checkbox="checkbox",t.select="select",t.timePicker="time-picker",t.timePickerRange="time-picker-range",t.datePicker="date-picker",t.datePickerRange="date-picker-range",t.autoComplete="auto-complete",t.pictureUpload="picture-upload",t.fileUpload="file-upload",t.richEditor="rich-editor",t.rate="rate",t.slider="slider",t.divider="divider",t.switch="switch",t.colorPicker="color-picker",t.button="button",t.icon="icon",t.cascader="cascader",t.multirow="multirow",t.tmpl="tmpl",t.htmlText="html-text",t.staticText="static-text",t.text="text",t.link="link",t.tag="tag",t.tabs="tabs",t.card="card",t.grid="grid",t.gridCol="grid-col",t.cont="cont",t.contCell="cont-cell",t.table="ltable",t.tableCol="ltable-col",t.tableRow="ltable-row",t.tabPane="tab-pane",t.eltable="table",t.eltableCol="table-col",t.dialog="dialog",t.drawer="drawer",t.avatar="avatar",t.badge="badge",t.affix="affix",t.backtop="backtop",t.router="router",t.empty="empty",t.image="image",t.result="result",t.carousel="carousel",t.dropdown="dropdown",t.progress="progress",t.collapse="collapse",t.descriptions="descriptions",t.breadcrumb="breadcrumb",t.menu="menu",t.steps="steps",t.pagination="pagination",t.form="form",t.anchor="anchor",t.alert="alert",t.tree="tree",t.treeSelect="tree-select",t.timeSelect="time-select",t.model="model",t.chart="chart",t.iframe="iframe",t.wrapper="wrapper",t.address="address",t.barcode="barcode",t.qrcode="qrcode",t.verifycode="verifycode",t.modalDialog="modalDialog",t.saveFormTarget="saveFormTarget",t.targetDatasource="targetDatasource",t))(et||{}),Mi=(t=>(t.setHidden="setHidden",t.setDisabled="setDisabled",t.setReadonly="setReadonly",t.setRequired="setRequired",t.setLabel="setLabel",t.resetField="resetField",t.getValue="getValue",t.setValue="setValue",t.getField="getField",t.getCheckedItems="getCheckedItems",t.getMousePos="getMousePos",t.setMousePos="setMousePos",t.insertOnMousePos="insertOnMousePos",t))(Mi||{}),Ms=(t=>(t.actionURL="actionURL",t.actionCode="actionCode",t.actionSendSchema="actionSendSchema",t.actionHideWidget="actionHideWidget",t.actionShowWidget="actionShowWidget",t.actionOpenDialog="actionOpenDialog",t.actionCloseDialog="actionCloseDialog",t.actionEnableWidget="actionEnableWidget",t.actionDisableWidget="actionDisableWidget",t.actionSaveFormData="actionSaveFormData",t))(Ms||{}),Bu=(t=>(t.normal="normal",t.field="field",t.container="container",t))(Bu||{}),Qc=(t=>(t.front="front",t.rear="rear",t))(Qc||{});new Ze("front",te.i18nt("designer.enum.frontPosition")),new Ze("rear",te.i18nt("designer.enum.rearPosition")),new Ze("label-left-align",te.i18nt("designer.enum.leftAlign")),new Ze("label-center-align",te.i18nt("designer.enum.centerAlign")),new Ze("label-right-align",te.i18nt("designer.enum.rightAlign")),new Ze("label-top-align",te.i18nt("designer.enum.topAlign"));var bo=(t=>(t.none="",t.default="default",t.large="large",t.small="small",t))(bo||{});new Ze("default",te.i18nt("designer.enum.size_default")),new Ze("large",te.i18nt("designer.enum.size_large")),new Ze("small",te.i18nt("designer.enum.size_small")),new Ze("",te.i18nt("designer.enum.size_none"),!0),new Ze("default",te.i18nt("designer.enum.size_default")),new Ze("large",te.i18nt("designer.enum.size_large")),new Ze("small",te.i18nt("designer.enum.size_small"));var oE=(t=>(t.dark="dark",t.light="light",t.plain="plain",t))(oE||{});new Ze("dark",te.i18nt("designer.enum.dark")),new Ze("light",te.i18nt("designer.enum.light")),new Ze("plain",te.i18nt("designer.enum.plain"));var Up=(t=>(t.dark="dark",t.light="light",t))(Up||{});new Ze("dark",te.i18nt("designer.enum.dark")),new Ze("light",te.i18nt("designer.enum.light"));var Fs=(t=>(t.inline="inline-block",t.block="block",t.flex="flex",t))(Fs||{});new Ze("block",te.i18nt("designer.enum.blockLayout")),new Ze("inline-block",te.i18nt("designer.enum.inlineLayout")),new Ze("flex",te.i18nt("designer.enum.flexLayout")),new Ze("block",te.i18nt("designer.enum.block")),new Ze("inline-block",te.i18nt("designer.enum.inline"));var KD=(t=>(t.success="success",t.warning="warning",t.error="error",t.info="info",t))(KD||{});new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("error",te.i18nt("designer.enum.error")),new Ze("info",te.i18nt("designer.enum.info"));var Lg=(t=>(t.primary="primary",t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(Lg||{});new Ze("primary",te.i18nt("designer.enum.primary")),new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var sE=(t=>(t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(sE||{});new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var lE=(t=>(t.default="",t.primary="primary",t.success="success",t.warning="warning",t.danger="danger",t.info="info",t))(lE||{});new Ze("",te.i18nt("designer.enum.default")),new Ze("primary",te.i18nt("designer.enum.primary")),new Ze("info",te.i18nt("designer.enum.info")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("warning",te.i18nt("designer.enum.warning")),new Ze("danger",te.i18nt("designer.enum.danger"));var Hp=(t=>(t.top="top",t.topStart="top-start",t.topEnd="top-end",t.bottom="bottom",t.bottomStart="bottom-start",t.bottomEnd="bottom-end",t))(Hp||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("top-start",te.i18nt("designer.enum.topStart")),new Ze("top-end",te.i18nt("designer.enum.topEnd")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("bottom-start",te.i18nt("designer.enum.bottomStart")),new Ze("bottom-end",te.i18nt("designer.enum.bottomEnd"));var a0=(t=>(t.line="line",t.circle="circle",t.dashboard="dashboard",t))(a0||{});new Ze("line",te.i18nt("designer.enum.line")),new Ze("circle",te.i18nt("designer.enum.circle")),new Ze("dashboard",te.i18nt("designer.enum.dashboard"));var XD=(t=>(t.none="",t.success="success",t.exception="exception",t.warning="warning",t))(XD||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("success",te.i18nt("designer.enum.success")),new Ze("exception",te.i18nt("designer.enum.exception")),new Ze("warning",te.i18nt("designer.enum.warning"));var YD=(t=>(t.butt="butt",t.round="round",t.square="square",t))(YD||{});new Ze("butt",te.i18nt("designer.enum.butt")),new Ze("round",te.i18nt("designer.enum.round")),new Ze("square",te.i18nt("designer.enum.square"));var Ls=(t=>(t.horizontal="horizontal",t.vertical="vertical",t))(Ls||{});new Ze("horizontal",te.i18nt("designer.enum.horizontalPosition")),new Ze("vertical",te.i18nt("designer.enum.verticalPosition"));var Iu=(t=>(t.none="",t.left="left",t.center="center",t.right="right",t))(Iu||{});new Ze("left",te.i18nt("designer.enum.leftAlign")),new Ze("center",te.i18nt("designer.enum.centerAlign")),new Ze("right",te.i18nt("designer.enum.rightAlign"));var JD=(t=>(t.left="left",t.right="right",t))(JD||{});new Ze("left",te.i18nt("designer.enum.leftPosition")),new Ze("right",te.i18nt("designer.enum.rightPosition"));var ZD=(t=>(t.top="top",t.bottom="bottom",t))(ZD||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("bottom",te.i18nt("designer.enum.bottom"));var QD=(t=>(t.top="top",t.right="right",t.bottom="bottom",t.left="left",t))(QD||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("right",te.i18nt("designer.enum.rightPart")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("left",te.i18nt("designer.enum.left")),new Ze("top",te.i18nt("designer.enum.top")),new Ze("right",te.i18nt("designer.enum.rightPart")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("left",te.i18nt("designer.enum.left"));var qD=(t=>(t.circle="circle",t.square="square",t))(qD||{});new Ze("circle",te.i18nt("designer.enum.circle")),new Ze("square",te.i18nt("designer.enum.square"));var uE=(t=>(t.wait="wait",t.process="process",t.finish="finish",t.error="error",t.success="success",t))(uE||{});new Ze("wait",te.i18nt("designer.enum.process_wait")),new Ze("process",te.i18nt("designer.enum.process_process")),new Ze("finish",te.i18nt("designer.enum.process_finish")),new Ze("error",te.i18nt("designer.enum.process_error")),new Ze("success",te.i18nt("designer.enum.process_success"));var $D=(t=>(t.none="none",t.both="both",t.horizontal="horizontal",t.vertical="vertical",t))($D||{});new Ze("none",te.i18nt("designer.enum.none")),new Ze("both",te.i18nt("designer.enum.both")),new Ze("horizontal",te.i18nt("designer.enum.horizontalPosition")),new Ze("vertical",te.i18nt("designer.enum.verticalPosition"));var e5=(t=>(t.min="min",t.max="max",t))(e5||{});new Ze("min",te.i18nt("designer.enum.min")),new Ze("max",te.i18nt("designer.enum.max"));var t5=(t=>(t.text="text",t.password="password",t.number="number",t.textarea="textarea",t))(t5||{});new Ze("text",te.i18nt("designer.enum.singletext")),new Ze("password",te.i18nt("designer.enum.password")),new Ze("number",te.i18nt("designer.enum.number")),new Ze("textarea",te.i18nt("designer.enum.textarea")),new Ze("text",te.i18nt("designer.enum.singletext")),new Ze("password",te.i18nt("designer.enum.password"));var cE=(t=>(t.none="",t.card="card",t.borderCard="border-card",t))(cE||{});new Ze("",te.i18nt("designer.enum.default")),new Ze("card",te.i18nt("designer.enum.card")),new Ze("border-card",te.i18nt("designer.enum.borderCard"));var n5=(t=>(t.hover="hover",t.never="never",t.always="always",t))(n5||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("never",te.i18nt("designer.enum.never")),new Ze("always",te.i18nt("designer.enum.always"));var r5=(t=>(t.none="",t.right="right",t))(r5||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("right",te.i18nt("designer.enum.rightPart"));var i5=(t=>(t.fixed="fixed",t.auto="auto",t))(i5||{});new Ze("fixed",te.i18nt("designer.enum.fixed")),new Ze("auto",te.i18nt("designer.enum.auto"));var _r=(t=>(t.number="number",t.letter="letter",t.letterAndNumber="letterAndNumber",t.letterStartNumberIncluded="letterStartNumberIncluded",t.mobilePhone="mobilePhone",t.email="email",t.url="url",t.noChinese="noChinese",t.chinese="chinese",t.noBlankStart="noBlankStart",t.noBlankEnd="noBlankEnd",t.noBlankStartEnd="noBlankStartEnd",t.chinaIdcard="chinaIdcard",t.required="required",t.weakPassword="weakPassword",t.mediumPassword="mediumPassword",t.strongPassword="strongPassword",t))(_r||{});new Ze("number",te.i18nt("designer.enum.numberValidator")),new Ze("letter",te.i18nt("designer.enum.letterValidator")),new Ze("letterAndNumber",te.i18nt("designer.enum.letterAndNumberValidator")),new Ze("letterStartNumberIncluded",te.i18nt("designer.enum.letterStartNumberIncludedValidator")),new Ze("chinaIdcard",te.i18nt("designer.enum.ChinaIdcardValidator")),new Ze("mobilePhone",te.i18nt("designer.enum.mobilePhoneValidator")),new Ze("email",te.i18nt("designer.enum.emailValidator")),new Ze("url",te.i18nt("designer.enum.urlValidator")),new Ze("noChinese",te.i18nt("designer.enum.noChineseValidator")),new Ze("chinese",te.i18nt("designer.enum.chineseValidator")),new Ze("noBlankStart",te.i18nt("designer.enum.noBlankStartValidator")),new Ze("noBlankEnd",te.i18nt("designer.enum.noBlankEndValidator")),new Ze("noBlankStartEnd",te.i18nt("designer.enum.noBlankStartEndValidator")),new Ze("weakPassword",te.i18nt("designer.enum.weakPasswordValidator")),new Ze("mediumPassword",te.i18nt("designer.enum.mediumPasswordValidator")),new Ze("strongPassword",te.i18nt("designer.enum.strongPasswordValidator"));var a5=(t=>(t.left="left",t.right="right",t.top="top",t))(a5||{});new Ze("left",te.i18nt("designer.enum.leftPosition")),new Ze("right",te.i18nt("designer.enum.rightPosition")),new Ze("top",te.i18nt("designer.enum.topPosition"));var o5=(t=>(t.default="default",t.plain="plain",t.round="round",t.circle="circle",t.link="link",t.text="text",t))(o5||{});new Ze("default",te.i18nt("designer.enum.defaultButton")),new Ze("plain",te.i18nt("designer.enum.plainButton")),new Ze("round",te.i18nt("designer.enum.roundButton")),new Ze("circle",te.i18nt("designer.enum.circleButton")),new Ze("link",te.i18nt("designer.enum.linkButton")),new Ze("text",te.i18nt("designer.enum.textButton"));var zl=(t=>(t.custom="custom",t.readonly="readonly",t.disabled="disabled",t.hidden="hidden",t))(zl||{});new Ze("custom",te.i18nt("designer.enum.custom")),new Ze("readonly",te.i18nt("designer.enum.readonly")),new Ze("disabled",te.i18nt("designer.enum.disabled")),new Ze("hidden",te.i18nt("designer.enum.hidden"));var s5=(t=>(t.default="default",t.selection="selection",t.index="index",t.expand="expand",t))(s5||{});new Ze("default",te.i18nt("designer.enum.tablecolumntype_default"),!0),new Ze("selection",te.i18nt("designer.enum.tablecolumntype_selection")),new Ze("index",te.i18nt("designer.enum.tablecolumntype_index")),new Ze("expand",te.i18nt("designer.enum.tablecolumntype_expand"));var l5=(t=>(t.rtl="rtl",t.ltr="ltr",t.ttb="ttb",t.btt="btt",t))(l5||{});new Ze("rtl",te.i18nt("designer.enum.rtl")),new Ze("ltr",te.i18nt("designer.enum.ltr")),new Ze("ttb",te.i18nt("designer.enum.ttb")),new Ze("btt",te.i18nt("designer.enum.btt")),new Ze("prev",te.i18nt("designer.enum.prev")),new Ze("pager",te.i18nt("designer.enum.pager")),new Ze("next",te.i18nt("designer.enum.next")),new Ze("jumper",te.i18nt("designer.enum.jumper")),new Ze("->",te.i18nt("designer.enum.right")),new Ze("total",te.i18nt("designer.enum.total"));var Rg=(t=>(t.line="line",t.table="table",t))(Rg||{});new Ze("line",te.i18nt("designer.enum.row_line")),new Ze("table",te.i18nt("designer.enum.row_table"));var u5=(t=>(t.start="start",t.end="end",t.center="center",t.spaceAround="space-around",t.spaceBetween="space-between",t.spaceEvenly="space-evenly",t))(u5||{});new Ze("start",te.i18nt("designer.enum.start")),new Ze("end",te.i18nt("designer.enum.end")),new Ze("center",te.i18nt("designer.enum.center")),new Ze("space-around",te.i18nt("designer.enum.spaceAround")),new Ze("space-between",te.i18nt("designer.enum.spaceBetween")),new Ze("space-evenly",te.i18nt("designer.enum.spaceEvenly"));var c5=(t=>(t.top="top",t.middle="middle",t.bottom="bottom",t))(c5||{});new Ze("top",te.i18nt("designer.enum.top")),new Ze("middle",te.i18nt("designer.enum.middle")),new Ze("bottom",te.i18nt("designer.enum.bottom")),new Ze("--hl-align-left",te.i18nt("designer.enum.left")),new Ze("--hl-align-center",te.i18nt("designer.enum.center")),new Ze("--hl-align-right",te.i18nt("designer.enum.right")),new Ze("--hl-align-top",te.i18nt("designer.enum.top")),new Ze("--hl-align-middle",te.i18nt("designer.enum.middle")),new Ze("--hl-align-bottom",te.i18nt("designer.enum.bottom"));var qc=(t=>(t.URI="URI",t.VALUE="VALUE",t.REMOTE="REMOTE",t.CONFIG="CONFIG",t))(qc||{});new Ze("URI",te.i18nt("designer.enum.schemaUrlParam")),new Ze("CONFIG",te.i18nt("designer.enum.schemaConfigParam")),new Ze("VALUE",te.i18nt("designer.enum.schemaVariable"),!0),new Ze("REMOTE",te.i18nt("designer.enum.schemaRemote")),new Ze("auto",te.i18nt("designer.enum.auto")),new Ze("manual",te.i18nt("designer.enum.manual")),new Ze("async",te.i18nt("designer.enum.async"));var fE=(t=>(t.datetime="datetime",t.date="date",t.dates="dates",t.year="year",t.month="month",t.week="week",t))(fE||{});new Ze("year",te.i18nt("designer.enum.year")),new Ze("month",te.i18nt("designer.enum.month")),new Ze("date",te.i18nt("designer.enum.day")),new Ze("week",te.i18nt("designer.enum.week")),new Ze("dates",te.i18nt("designer.enum.dates")),new Ze("datetime",te.i18nt("designer.enum.datetime"));var f5=(t=>(t.daterange="daterange",t.datetimerange="datetimerange",t.monthrange="monthrange",t))(f5||{});new Ze("daterange",te.i18nt("designer.enum.daterange")),new Ze("datetimerange",te.i18nt("designer.enum.datetimerange")),new Ze("monthrange",te.i18nt("designer.enum.monthrange"));var jg=(t=>(t.hover="hover",t.click="click",t))(jg||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("click",te.i18nt("designer.enum.click"));var p5=(t=>(t.outside="outside",t.none="",t))(p5||{});new Ze("outside",te.i18nt("designer.enum.outside")),new Ze("",te.i18nt("designer.enum.none"));var h5=(t=>(t.always="always",t.hover="hover",t.none="",t))(h5||{});new Ze("always",te.i18nt("designer.enum.always")),new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("",te.i18nt("designer.enum.none"));var d5=(t=>(t.card="card",t.none="",t))(d5||{});new Ze("card",te.i18nt("designer.enum.card")),new Ze("",te.i18nt("designer.enum.none"));var pE=(t=>(t.empty="",t.fill="fill",t.contain="contain",t.cover="cover",t.scaleDown="scale-down",t.none="none",t))(pE||{});new Ze("",te.i18nt("designer.enum.empty")),new Ze("fill",te.i18nt("designer.enum.fill")),new Ze("contain",te.i18nt("designer.enum.contain")),new Ze("cover",te.i18nt("designer.enum.cover")),new Ze("scale-down",te.i18nt("designer.enum.scaleDown")),new Ze("none",te.i18nt("designer.enum.none"));var v5=(t=>(t.eager="eager",t.lazy="lazy",t))(v5||{});new Ze("eager",te.i18nt("designer.enum.eager")),new Ze("lazy",te.i18nt("designer.enum.lazy"));var m5=(t=>(t.success="success",t.warning="warning",t.info="info",t.error="error",t))(m5||{});new Ze("success",te.i18nt("designer.enum.alertSuccess")),new Ze("warning",te.i18nt("designer.enum.alertWarning")),new Ze("info",te.i18nt("designer.enum.alertInfo")),new Ze("error",te.i18nt("designer.enum.alertError"));var g5=(t=>(t.hover="hover",t.click="click",t.contextmenu="contextmenu",t))(g5||{});new Ze("hover",te.i18nt("designer.enum.hover")),new Ze("click",te.i18nt("designer.enum.click")),new Ze("contextmenu",te.i18nt("designer.enum.contextmenu")),new Ze("button",te.i18nt("designer.enum.button")),new Ze("submit",te.i18nt("designer.enum.submit")),new Ze("reset",te.i18nt("designer.enum.reset"));var y5=(t=>(t.none="none",t.hidden="hidden",t.dashed="dashed",t.dotted="dotted",t.solid="solid",t.inherit="inherit",t.initial="initial",t.unset="unset",t.double="double",t))(y5||{});new Ze("none",te.i18nt("designer.enum.none")),new Ze("hidden",te.i18nt("designer.enum.hidden")),new Ze("dashed",te.i18nt("designer.enum.dashed")),new Ze("dotted",te.i18nt("designer.enum.dotted")),new Ze("solid",te.i18nt("designer.enum.solid")),new Ze("inherit",te.i18nt("designer.enum.inherit")),new Ze("initial",te.i18nt("designer.enum.initial")),new Ze("unset",te.i18nt("designer.enum.unset")),new Ze("double",te.i18nt("designer.enum.double"));var Ul=(t=>(t.None="",t.SubMenu="SubMenu",t.MenuItem="MenuItem",t.MenuItemGroup="MenuItemGroup",t))(Ul||{});new Ze("",te.i18nt("designer.enum.none")),new Ze("SubMenu",te.i18nt("designer.enum.SubMenu")),new Ze("MenuItem",te.i18nt("designer.enum.MenuItem")),new Ze("MenuItemGroup",te.i18nt("designer.enum.MenuItemGroup")),new Ze(Ge.boolean,te.i18nt("designer.enum.booleanType")),new Ze(Ge.number,te.i18nt("designer.enum.numberType")),new Ze(Ge.string,te.i18nt("designer.enum.stringType"));var _5=(t=>(t.default="default",t.underline="underline",t))(_5||{});new Ze("default",te.i18nt("designer.enum.default")),new Ze("underline",te.i18nt("designer.enum.underline"));var b5=(t=>(t.blank="_blank",t.self="_self",t))(b5||{});new Ze("_blank",te.i18nt("designer.enum.targetBlank")),new Ze("_self",te.i18nt("designer.enum.targetSelf")),new Ze("normal",te.i18nt("designer.enum.normal")),new Ze("iframe",te.i18nt("designer.enum.iframe"));var x5=(t=>(t.PC="PC",t.Pad="Pad",t.H5="H5",t))(x5||{}),hE=(t=>(t.date1="YYYY-MM-DD",t.date2="YYYY/MM/DD",t.date3="YYYY年MM月DD日",t.date4="YYYY-MM-DD HH:mm:ss",t.date5="YYYY-MM-DD hh:mm:ss",t))(hE||{}),E5=(t=>(t.time1="HH:mm:ss",t.time2="HH时mm分ss秒",t.time3="hh:mm:ss",t))(E5||{}),w5=(t=>(t.hsl="hsl",t.hsv="hsv",t.hex="hex",t.rgb="rgb",t))(w5||{}),Hl=(t=>(t.aside="aside",t.header="header",t.footer="footer",t.main="main",t.container="container",t))(Hl||{}),S5=(t=>(t.docx="docx",t.xlsx="xlsx",t.pptx="pptx",t.pdf="pdf",t.zip="zip",t.rar="rar",t.jpg="jpg",t.jpeg="jpeg",t.png="png",t.gif="gif",t))(S5||{}),Vg=(t=>(t.p100="%",t.px="px",t.em="em",t.auto="auto",t))(Vg||{}),C5=(t=>(t.jpg="jpg",t.jpeg="jpeg",t.png="png",t.gif="gif",t))(C5||{}),A5=(t=>(t.jsonp="JSONP",t.get="GET",t.post="POST",t))(A5||{}),Gp=(t=>(t.pictureCard="picture-card",t.picture="picture",t.text="text",t))(Gp||{});new Ze("picture",te.i18nt("designer.enum.picture")),new Ze("text",te.i18nt("designer.enum.text"));var zg=(t=>(t.preview="preview",t.download="download",t))(zg||{});new Ze("picture-card",te.i18nt("designer.enum.pictureCard")),new Ze("picture",te.i18nt("designer.enum.picture"));var T5=(t=>(t.window="window",t.modal="modal",t))(T5||{});new Ze("window",te.i18nt("designer.enum.window")),new Ze("modal",te.i18nt("designer.enum.modal"));var Ug=(t=>(t.self="self",t.top="top",t.parent="parent",t))(Ug||{});new Ze("top",te.i18nt("designer.enum.windowTop")),new Ze("self",te.i18nt("designer.enum.windowSelf")),new Ze("parent",te.i18nt("designer.enum.windowParent"));var Hg=(t=>(t.close="close",t.cancel="cancel",t.save="save",t))(Hg||{});new Ze("close",te.i18nt("designer.enum.closeIframe")),new Ze("cancel",te.i18nt("designer.enum.cancelIframe")),new Ze("save",te.i18nt("designer.enum.saveIframe")),new Ze("Microsoft YaHei",te.i18nt("designer.enum.MicrosoftYaHei")),new Ze("SimSun",te.i18nt("designer.enum.SimSun")),new Ze("NSimSun",te.i18nt("designer.enum.NSimSun")),new Ze("SimHei",te.i18nt("designer.enum.SimHei")),new Ze("KaiTi",te.i18nt("designer.enum.KaiTi")),new Ze("FangSong",te.i18nt("designer.enum.FangSong")),new Ze("LiSu",te.i18nt("designer.enum.LiSu")),new Ze("YouYuan",te.i18nt("designer.enum.YouYuan")),new Ze("STXihei",te.i18nt("designer.enum.STXihei")),new Ze("STKaiti",te.i18nt("designer.enum.STKaiti")),new Ze("STSong",te.i18nt("designer.enum.STSong")),new Ze("STFangsong",te.i18nt("designer.enum.STFangsong")),new Ze("serif",te.i18nt("designer.enum.serif")),new Ze("sans-serif",te.i18nt("designer.enum.sansSerif")),new Ze("monospace",te.i18nt("designer.enum.monospace")),new Ze("cursive",te.i18nt("designer.enum.cursive")),new Ze("fantasy",te.i18nt("designer.enum.fantasy")),new Ze("Arial",te.i18nt("designer.enum.Arial")),new Ze("Helvetica",te.i18nt("designer.enum.Helvetica")),new Ze("Times New Roman",te.i18nt("designer.enum.TimesNewRoman")),new Ze("Georgia",te.i18nt("designer.enum.Georgia")),new Ze("Verdana",te.i18nt("designer.enum.Verdana")),new Ze("Courier New",te.i18nt("designer.enum.CourierNew")),new Ze("Impact",te.i18nt("designer.enum.Impact")),new Ze("Comic Sans MS",te.i18nt("designer.enum.ComicSansMS")),new Ze("Trebuchet MS",te.i18nt("designer.enum.TrebuchetMS")),new Ze("Palatino",te.i18nt("designer.enum.Palatino")),new Ze("default",te.i18nt("designer.enum.defaultState")),new Ze("hover",":hover"),new Ze("focus",":focus"),new Ze("active",":active");var D5=(t=>(t.CODE128="CODE128",t.CODE128A="CODE128A",t.CODE128B="CODE128B",t.CODE128C="CODE128C",t.CODE39="CODE39",t.EAN13="EAN13",t.EAN8="EAN8",t.EAN5="EAN5",t.EAN2="EAN2",t.UPC="UPC",t.ITF14="ITF14",t.ITF="ITF",t.MSI="MSI",t.MSI10="MSI10",t.MSI11="MSI11",t.MSI1010="MSI1010",t.MSI1110="MSI1110",t.pharmacode="pharmacode",t))(D5||{});const DY=(t,e,n=":")=>e?t?[t,e].join(n):e:"",P5=(t,e="")=>{var n=t==null?void 0:t.filter(r=>!!r);return!n||n.length<=0?"":n.join(e)},Gg=(t,e)=>t.split("").filter(n=>n===e).length,O5=(t,e)=>{if(!t)return"";var n=String(t);if(!e)return n;if(n&&!/^[\d\.]+$/g.test(n))return"";var r="",a="",o=e==null?void 0:e.lastIndexOf(".");o==-1?r=e:(r=e==null?void 0:e.substring(0,o),a=e==null?void 0:e.substring(o+1,e==null?void 0:e.length));var i="",u="",s=n.lastIndexOf(".");if(s==-1)var i=n;else var i=n.substring(0,s),u=n.substring(s+1,n.length);for(var l=new Array,c=r.indexOf("#,###"),f=1,h=i.length,d=h;d>0;d--)l.unshift(i.charAt(d-1)),c!=-1&&f%3==0&&f!=h&&l.unshift(","),f++;o!=-1&&l.push(".");for(var d=0;d<a.length;d++)a.charAt(d)&&u.charAt(d)?l.push(u.charAt(d)):l.push("0");return l.join("")},PY=t=>t==null?void 0:t.replace(/[\r\n]+/g,""),$c=(t,e,n,r,a)=>{r||(r=i=>!!PY(i));const o=a?`
|
|
10
|
+
`:"";return r(t)?`${e||""}${o}${t||""}${o}${n||""}`:t||""},OY=(t,e,n,r)=>{if(t==null||t==="")return e;{let a=String(t);const o=a.substring(0,n),i=a.substring(r||n);return a=`${o}${e}${i}`,a}},kY=(t,...e)=>t.replace(/{(\d+)}/g,(n,r)=>typeof e[r]<"u"?e[r]:n),Gl=(t,e,n)=>!xi(t)||!e?t||"":t==null?void 0:t.replace(new RegExp(e,"gi"),n),Wg="#";function BY(){return{variableExp:/#\{《const》:《([^》]+)》\}#/g,variableWithNameExp:r=>new RegExp("#{《const》:《"+r+"》}#.([0-9A-Za-z_]+)","gi"),buildVariable:r=>`${Wg}{《const》:《${r}》}${Wg}`}}function k5(){return{variableExp:/#\{《field》:《([^》]+)》\}#/g,buildVariable:n=>`${Wg}{《field》:《${n}》}${Wg}`}}function IY(){var t='"',e="@#@";return{addTextPrefix:o=>{var i,u;return $2(o)?o:xi(o)&&!((i=String(o))!=null&&i.startsWith(t))&&!((u=String(o))!=null&&u.endsWith(t))?`${t}${e}${o}${e}${t}`:o},removeTextPrefix:o=>xi(o)?Gl(Gl(o,`${t}${e}`,""),`${e}${t}`,""):o,removeTextPrefixSimple:o=>xi(o)?Gl(o,`${e}`,""):o}}function Nu(){const{addTextPrefix:t}=IY(),{variableExp:e,buildVariable:n}=k5(),r=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){return Aa(f)&&(f!=null&&f[d])?f==null?void 0:f[d]:d}):c,a=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){var v=d,m=f[v];return lr(m)?t(" "):t(m)}):c,o=(c,f)=>xi(c)?c==null?void 0:c.replace(e,function(h,d){var v=d,m=f[v];return!Wi(v)&&!Wi(m)?n(m):h}):c,i=(c,f,h,d=e)=>xi(c)?c==null?void 0:c.replace(d,function(v,m){var y;var p=m,g=(y=Sr(f))!=null&&y.includes(p)?f==null?void 0:f[p]:null;return Wi(p)?v:h?h(p,g):Wi(g)?null:g}):c;return{transFormula:r,calcFormula:a,getFormulaFields:c=>{if(!c||Is(c))return[];for(var f=null,h=[];(f=e.exec(c))!==null;)h.push(f==null?void 0:f[1]);return h},updateFomulaName:(c,f,h)=>{if(lr(c))return c;let d=Jr(c);return d!=null&&d.includes(f)?(d=o(d,{[f]:h}),Rr(d)):c},updateFomula:(c,f,h,d=e)=>{var v=i(c,f,h,d);return v}}}const B5=(t,e)=>{var n=[];return Object.entries(t).forEach(([r,a])=>{(!e||e.includes(a))&&n.push(new Ze(r,a))}),n},NY=(t,e)=>{var n={};return Object.entries(t).forEach(([r,a])=>{(!e||e.includes(a))&&(n[r]=a||"")}),n};function dE(t,e){var n=NY(t,e);return Object.values(n)}class at{constructor(e){z(this,"enable",!1);e&&Zn(this,e)}}class br extends at{constructor(n){super(n);z(this,"type",Ge.any);n&&Zn(this,n)}}class MY{constructor(e){z(this,"action","");z(this,"options",{});z(this,"content",{});e&&Zn(this,e)}}class I5{constructor(e,n){z(this,"complexType",be.formula);z(this,"complexValue","");this.complexType=e,this.complexValue=n||""}}var N5;const o0=typeof window<"u",M5=()=>{};o0&&((N5=window==null?void 0:window.navigator)!=null&&N5.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function FY(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function LY(t){return t}o0&&window.document,o0&&window.navigator,o0&&window.location;function vE(t,e,n){const{immediate:r=!0,delay:a=0,onError:o=M5,onSuccess:i=M5,resetOnExecute:u=!0,shallow:s=!0,throwError:l}=n??{},c=s?_.shallowRef(e):_.ref(e),f=_.ref(!1),h=_.ref(!1),d=_.ref(void 0);async function v(m=0,...p){u&&(c.value=e),d.value=void 0,f.value=!1,h.value=!0,m>0&&await FY(m);const g=typeof t=="function"?t(...p):t;try{const y=await g;c.value=y,f.value=!0,i(y)}catch(y){if(d.value=y,o(y),l)throw d}finally{h.value=!1}return c.value}return r&&v(a),{state:c,isReady:f,isLoading:h,error:d,execute:v}}const mE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gE="__vueuse_ssr_handlers__";mE[gE]=mE[gE]||{},mE[gE];var F5;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(F5||(F5={}));var RY=Object.defineProperty,L5=Object.getOwnPropertySymbols,jY=Object.prototype.hasOwnProperty,VY=Object.prototype.propertyIsEnumerable,R5=(t,e,n)=>e in t?RY(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zY=(t,e)=>{for(var n in e||(e={}))jY.call(e,n)&&R5(t,n,e[n]);if(L5)for(var n of L5(e))VY.call(e,n)&&R5(t,n,e[n]);return t};zY({linear:LY},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});var j5=/^function(\s*)(?<name>[^\(]+)(\s*)\((?<param>[^\)]+)\)(\s*)\{(?<body>((.|\s)*))\}(\s*)$/;const UY=t=>t?j5.test(t):!1,HY=t=>{if(t){var e=yE(t);if(e)try{return new Function(e==null?void 0:e.params.join(","),e==null?void 0:e.body)}catch(n){Ii.error("stringToFunc",n)}}},yE=t=>{var n,r,a;if(t){var e=j5.exec(t);if(e&&(e==null?void 0:e.length)>0)try{let o=((n=e.groups)==null?void 0:n.name)||"",i=((r=e.groups)==null?void 0:r.param)||"",u=((a=e.groups)==null?void 0:a.body)||"";return{params:GY(i),body:u}}catch(o){Ii.error("getFuncSplit",o)}}},GY=t=>{var e=WY(t);return e.map(n=>n.key)},WY=t=>{var u,s;let e=null;for(var n=/(?<key>([^:]+)):(\s*)(?<value>[^,]+),?/g,r=!0,a="",o="",i=[];e=n.exec(t);){let l=((u=e==null?void 0:e.groups)==null?void 0:u.key)||"";(s=e==null?void 0:e.groups)!=null&&s.value;let c=e==null?void 0:e[0];o+=c;let f=Gg(o,"{")==Gg(o,"}")&&Gg(o,"(")==Gg(o,")");r&&(a=l),f&&(o=o.replace(a+":",""),o.endsWith(",")?o=o.substring(0,o.length-1).trim():o=o.trim(),i.push({key:a,value:o}),o="",a=""),r=f}return i},Wp=(t,e)=>{if(t)try{var n=e?Object.values(e):[];return t.call(t,...n)}catch(r){Ii.error("callFunc",r)}},KY=(t,e)=>{var n=[];e&&(n=Object.keys(e),Object.values(e));let r=new Function(n.join(","),t);if(r)return Wp(r,e)},XY=(t,e)=>{let n=HY(t);if(n)return Wp(n,e)},ll=(t,e)=>{if(t)return UY(t)?XY(t,e):KY(t,e)},V5=t=>{if(t){var e=t;return e=e==null?void 0:e.trim(),e!=null&&e.startsWith("${")&&(e!=null&&e.endsWith("}"))?(e=e==null?void 0:e.substring(2,(e==null?void 0:e.length)-1),e=`return ${e}`):e=`${e}`,`${e}`}},YY=(t,e)=>{let n=V5(t);var r=e?Sr(e):[];return n=`function(${r.join(",")}){${n}}`,new Function("return "+n)},_E=(t,e)=>{var o;var n=YY(t,e),r=e?(o=Object.entries(e))==null?void 0:o.map(([i,u])=>_.isRef(u)?u.value:u):[];try{var a=n==null?void 0:n();if(a!=null){if(r!=null)return a==null?void 0:a(...r);a==null||a()}else Ii.info("evalExpression","function is empty",{expression:t,data:e})}catch(i){Ii.error("evalExpression",i,{expression:t,data:e});return}},JY=(t,e)=>{const n=/\"\$\{([^\}]+)\}\"/g;if(!(t==null||!xi(t))){var r=t==null?void 0:t.replace(n,function(a,o,i){var u=a,s=u.substring(1,u.length-1),l=_E(s,e);return lr(l)?'""':Uo(l)?Jr(l):`"${l}"`});return r}},ZY=(t,e)=>{const n=/\$\{([^\}]+)\}/g;if(!(t==null||!xi(t))){var r=t==null?void 0:t.replace(n,function(a,o,i){var u=a,s=_E(u,e);return lr(s)?"":s});return r}},QY=(t,e)=>{const n=/\$\{([^\}]+)\}/g;if(!(t==null||!xi(t)))return t==null?void 0:t.replace(n,function(r,a,o,i){return"${"+(e?e(a):a)+"}"})},ul=(t,e)=>{var n=JY(t,e),r=ZY(n,e);return r};var Xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function z5(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){if(this instanceof r){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(e,a);return new o}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}var Ei={},qY={get exports(){return Ei},set exports(t){Ei=t}};(function(t,e){(function(r,a){t.exports=a()})(Xn,function(){return function(n){var r={};function a(o){if(r[o])return r[o].exports;var i=r[o]={exports:{},id:o,loaded:!1};return n[o].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}return a.m=n,a.c=r,a.p="",a(0)}([function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(1),i=a(3),u=a(8),s=a(15);function l(v,m,p){var g=null,y=function(C,D){p&&p(C,D),g&&g.visit(C,D)},x=typeof p=="function"?y:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var E=typeof m.attachComment=="boolean"&&m.attachComment;(b||E)&&(g=new o.CommentHandler,g.attach=E,m.comment=!0,x=y)}var w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module");var S;m&&typeof m.jsx=="boolean"&&m.jsx?S=new i.JSXParser(v,m,x):S=new u.Parser(v,m,x);var A=w?S.parseModule():S.parseScript(),P=A;return b&&g&&(P.comments=g.comments),S.config.tokens&&(P.tokens=S.tokens),S.config.tolerant&&(P.errors=S.errorHandler.errors),P}r.parse=l;function c(v,m,p){var g=m||{};return g.sourceType="module",l(v,g,p)}r.parseModule=c;function f(v,m,p){var g=m||{};return g.sourceType="script",l(v,g,p)}r.parseScript=f;function h(v,m,p){var g=new s.Tokenizer(v,m),y;y=[];try{for(;;){var x=g.getNextToken();if(!x)break;p&&(x=p(x)),y.push(x)}}catch(b){g.errorHandler.tolerate(b)}return g.errorHandler.tolerant&&(y.errors=g.errors()),y}r.tokenize=h;var d=a(2);r.Syntax=d.Syntax,r.version="4.0.1"},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(2),i=function(){function u(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return u.prototype.insertInnerComments=function(s,l){if(s.type===o.Syntax.BlockStatement&&s.body.length===0){for(var c=[],f=this.leading.length-1;f>=0;--f){var h=this.leading[f];l.end.offset>=h.start&&(c.unshift(h.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}c.length&&(s.innerComments=c)}},u.prototype.findTrailingComments=function(s){var l=[];if(this.trailing.length>0){for(var c=this.trailing.length-1;c>=0;--c){var f=this.trailing[c];f.start>=s.end.offset&&l.unshift(f.comment)}return this.trailing.length=0,l}var h=this.stack[this.stack.length-1];if(h&&h.node.trailingComments){var d=h.node.trailingComments[0];d&&d.range[0]>=s.end.offset&&(l=h.node.trailingComments,delete h.node.trailingComments)}return l},u.prototype.findLeadingComments=function(s){for(var l=[],c;this.stack.length>0;){var f=this.stack[this.stack.length-1];if(f&&f.start>=s.start.offset)c=f.node,this.stack.pop();else break}if(c){for(var h=c.leadingComments?c.leadingComments.length:0,d=h-1;d>=0;--d){var v=c.leadingComments[d];v.range[1]<=s.start.offset&&(l.unshift(v),c.leadingComments.splice(d,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,l}for(var d=this.leading.length-1;d>=0;--d){var f=this.leading[d];f.start<=s.start.offset&&(l.unshift(f.comment),this.leading.splice(d,1))}return l},u.prototype.visitNode=function(s,l){if(!(s.type===o.Syntax.Program&&s.body.length>0)){this.insertInnerComments(s,l);var c=this.findTrailingComments(l),f=this.findLeadingComments(l);f.length>0&&(s.leadingComments=f),c.length>0&&(s.trailingComments=c),this.stack.push({node:s,start:l.start.offset})}},u.prototype.visitComment=function(s,l){var c=s.type[0]==="L"?"Line":"Block",f={type:c,value:s.value};if(s.range&&(f.range=s.range),s.loc&&(f.loc=s.loc),this.comments.push(f),this.attach){var h={comment:{type:c,value:s.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};s.loc&&(h.comment.loc=s.loc),s.type=c,this.leading.push(h),this.trailing.push(h)}},u.prototype.visit=function(s,l){s.type==="LineComment"?this.visitComment(s,l):s.type==="BlockComment"?this.visitComment(s,l):this.attach&&this.visitNode(s,l)},u}();r.CommentHandler=i},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(n,r,a){var o=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,g){p.__proto__=g}||function(p,g){for(var y in g)g.hasOwnProperty(y)&&(p[y]=g[y])};return function(p,g){m(p,g);function y(){this.constructor=p}p.prototype=g===null?Object.create(g):(y.prototype=g.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var i=a(4),u=a(5),s=a(6),l=a(7),c=a(8),f=a(13),h=a(14);f.TokenName[100]="JSXIdentifier",f.TokenName[101]="JSXText";function d(m){var p;switch(m.type){case s.JSXSyntax.JSXIdentifier:var g=m;p=g.name;break;case s.JSXSyntax.JSXNamespacedName:var y=m;p=d(y.namespace)+":"+d(y.name);break;case s.JSXSyntax.JSXMemberExpression:var x=m;p=d(x.object)+"."+d(x.property);break}return p}var v=function(m){o(p,m);function p(g,y,x){return m.call(this,g,y,x)||this}return p.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():m.prototype.parsePrimaryExpression.call(this)},p.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},p.prototype.finishJSX=function(){this.nextToken()},p.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},p.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},p.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},p.prototype.scanXHTMLEntity=function(g){for(var y="&",x=!0,b=!1,E=!1,w=!1;!this.scanner.eof()&&x&&!b;){var S=this.scanner.source[this.scanner.index];if(S===g)break;if(b=S===";",y+=S,++this.scanner.index,!b)switch(y.length){case 2:E=S==="#";break;case 3:E&&(w=S==="x",x=w||i.Character.isDecimalDigit(S.charCodeAt(0)),E=E&&!w);break;default:x=x&&!(E&&!i.Character.isDecimalDigit(S.charCodeAt(0))),x=x&&!(w&&!i.Character.isHexDigit(S.charCodeAt(0)));break}}if(x&&b&&y.length>2){var A=y.substr(1,y.length-2);E&&A.length>1?y=String.fromCharCode(parseInt(A.substr(1),10)):w&&A.length>2?y=String.fromCharCode(parseInt("0"+A.substr(1),16)):!E&&!w&&h.XHTMLEntities[A]&&(y=h.XHTMLEntities[A])}return y},p.prototype.lexJSX=function(){var g=this.scanner.source.charCodeAt(this.scanner.index);if(g===60||g===62||g===47||g===58||g===61||g===123||g===125){var y=this.scanner.source[this.scanner.index++];return{type:7,value:y,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(g===34||g===39){for(var x=this.scanner.index,b=this.scanner.source[this.scanner.index++],E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index++];if(w===b)break;w==="&"?E+=this.scanXHTMLEntity(b):E+=w}return{type:8,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}if(g===46){var S=this.scanner.source.charCodeAt(this.scanner.index+1),A=this.scanner.source.charCodeAt(this.scanner.index+2),y=S===46&&A===46?"...":".",x=this.scanner.index;return this.scanner.index+=y.length,{type:7,value:y,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}if(g===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(g)&&g!==92){var x=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var w=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(w)&&w!==92)++this.scanner.index;else if(w===45)++this.scanner.index;else break}var P=this.scanner.source.slice(x,this.scanner.index);return{type:100,value:P,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index}}return this.scanner.lex()},p.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var g=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(g)),g},p.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var g=this.scanner.index,y="";!this.scanner.eof();){var x=this.scanner.source[this.scanner.index];if(x==="{"||x==="<")break;++this.scanner.index,y+=x,i.Character.isLineTerminator(x.charCodeAt(0))&&(++this.scanner.lineNumber,x==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
11
11
|
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var b={type:101,value:y,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:g,end:this.scanner.index};return y.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(b)),b},p.prototype.peekJSXToken=function(){var g=this.scanner.saveState();this.scanner.scanComments();var y=this.lexJSX();return this.scanner.restoreState(g),y},p.prototype.expectJSX=function(g){var y=this.nextJSXToken();(y.type!==7||y.value!==g)&&this.throwUnexpectedToken(y)},p.prototype.matchJSX=function(g){var y=this.peekJSXToken();return y.type===7&&y.value===g},p.prototype.parseJSXIdentifier=function(){var g=this.createJSXNode(),y=this.nextJSXToken();return y.type!==100&&this.throwUnexpectedToken(y),this.finalize(g,new u.JSXIdentifier(y.value))},p.prototype.parseJSXElementName=function(){var g=this.createJSXNode(),y=this.parseJSXIdentifier();if(this.matchJSX(":")){var x=y;this.expectJSX(":");var b=this.parseJSXIdentifier();y=this.finalize(g,new u.JSXNamespacedName(x,b))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var E=y;this.expectJSX(".");var w=this.parseJSXIdentifier();y=this.finalize(g,new u.JSXMemberExpression(E,w))}return y},p.prototype.parseJSXAttributeName=function(){var g=this.createJSXNode(),y,x=this.parseJSXIdentifier();if(this.matchJSX(":")){var b=x;this.expectJSX(":");var E=this.parseJSXIdentifier();y=this.finalize(g,new u.JSXNamespacedName(b,E))}else y=x;return y},p.prototype.parseJSXStringLiteralAttribute=function(){var g=this.createJSXNode(),y=this.nextJSXToken();y.type!==8&&this.throwUnexpectedToken(y);var x=this.getTokenRaw(y);return this.finalize(g,new l.Literal(y.value,x))},p.prototype.parseJSXExpressionAttribute=function(){var g=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var y=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(g,new u.JSXExpressionContainer(y))},p.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},p.prototype.parseJSXNameValueAttribute=function(){var g=this.createJSXNode(),y=this.parseJSXAttributeName(),x=null;return this.matchJSX("=")&&(this.expectJSX("="),x=this.parseJSXAttributeValue()),this.finalize(g,new u.JSXAttribute(y,x))},p.prototype.parseJSXSpreadAttribute=function(){var g=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var y=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(g,new u.JSXSpreadAttribute(y))},p.prototype.parseJSXAttributes=function(){for(var g=[];!this.matchJSX("/")&&!this.matchJSX(">");){var y=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();g.push(y)}return g},p.prototype.parseJSXOpeningElement=function(){var g=this.createJSXNode();this.expectJSX("<");var y=this.parseJSXElementName(),x=this.parseJSXAttributes(),b=this.matchJSX("/");return b&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(g,new u.JSXOpeningElement(y,b,x))},p.prototype.parseJSXBoundaryElement=function(){var g=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var y=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(g,new u.JSXClosingElement(y))}var x=this.parseJSXElementName(),b=this.parseJSXAttributes(),E=this.matchJSX("/");return E&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(g,new u.JSXOpeningElement(x,E,b))},p.prototype.parseJSXEmptyExpression=function(){var g=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(g,new u.JSXEmptyExpression)},p.prototype.parseJSXExpressionContainer=function(){var g=this.createJSXNode();this.expectJSX("{");var y;return this.matchJSX("}")?(y=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),y=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(g,new u.JSXExpressionContainer(y))},p.prototype.parseJSXChildren=function(){for(var g=[];!this.scanner.eof();){var y=this.createJSXChildNode(),x=this.nextJSXText();if(x.start<x.end){var b=this.getTokenRaw(x),E=this.finalize(y,new u.JSXText(x.value,b));g.push(E)}if(this.scanner.source[this.scanner.index]==="{"){var w=this.parseJSXExpressionContainer();g.push(w)}else break}return g},p.prototype.parseComplexJSXElement=function(g){for(var y=[];!this.scanner.eof();){g.children=g.children.concat(this.parseJSXChildren());var x=this.createJSXChildNode(),b=this.parseJSXBoundaryElement();if(b.type===s.JSXSyntax.JSXOpeningElement){var E=b;if(E.selfClosing){var w=this.finalize(x,new u.JSXElement(E,[],null));g.children.push(w)}else y.push(g),g={node:x,opening:E,closing:null,children:[]}}if(b.type===s.JSXSyntax.JSXClosingElement){g.closing=b;var S=d(g.opening.name),A=d(g.closing.name);if(S!==A&&this.tolerateError("Expected corresponding JSX closing tag for %0",S),y.length>0){var w=this.finalize(g.node,new u.JSXElement(g.opening,g.children,g.closing));g=y[y.length-1],g.children.push(w),y.pop()}else break}}return g},p.prototype.parseJSXElement=function(){var g=this.createJSXNode(),y=this.parseJSXOpeningElement(),x=[],b=null;if(!y.selfClosing){var E=this.parseComplexJSXElement({node:g,opening:y,closing:b,children:x});x=E.children,b=E.closing}return this.finalize(g,new u.JSXElement(y,x,b))},p.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var g=this.parseJSXElement();return this.finishJSX(),g},p.prototype.isStartOfExpression=function(){return m.prototype.isStartOfExpression.call(this)||this.match("<")},p}(c.Parser);r.JSXParser=v},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var a={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};r.Character={fromCodePoint:function(o){return o<65536?String.fromCharCode(o):String.fromCharCode(55296+(o-65536>>10))+String.fromCharCode(56320+(o-65536&1023))},isWhiteSpace:function(o){return o===32||o===9||o===11||o===12||o===160||o>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(o)>=0},isLineTerminator:function(o){return o===10||o===13||o===8232||o===8233},isIdentifierStart:function(o){return o===36||o===95||o>=65&&o<=90||o>=97&&o<=122||o===92||o>=128&&a.NonAsciiIdentifierStart.test(r.Character.fromCodePoint(o))},isIdentifierPart:function(o){return o===36||o===95||o>=65&&o<=90||o>=97&&o<=122||o>=48&&o<=57||o===92||o>=128&&a.NonAsciiIdentifierPart.test(r.Character.fromCodePoint(o))},isDecimalDigit:function(o){return o>=48&&o<=57},isHexDigit:function(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102},isOctalDigit:function(o){return o>=48&&o<=55}}},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(6),i=function(){function g(y){this.type=o.JSXSyntax.JSXClosingElement,this.name=y}return g}();r.JSXClosingElement=i;var u=function(){function g(y,x,b){this.type=o.JSXSyntax.JSXElement,this.openingElement=y,this.children=x,this.closingElement=b}return g}();r.JSXElement=u;var s=function(){function g(){this.type=o.JSXSyntax.JSXEmptyExpression}return g}();r.JSXEmptyExpression=s;var l=function(){function g(y){this.type=o.JSXSyntax.JSXExpressionContainer,this.expression=y}return g}();r.JSXExpressionContainer=l;var c=function(){function g(y){this.type=o.JSXSyntax.JSXIdentifier,this.name=y}return g}();r.JSXIdentifier=c;var f=function(){function g(y,x){this.type=o.JSXSyntax.JSXMemberExpression,this.object=y,this.property=x}return g}();r.JSXMemberExpression=f;var h=function(){function g(y,x){this.type=o.JSXSyntax.JSXAttribute,this.name=y,this.value=x}return g}();r.JSXAttribute=h;var d=function(){function g(y,x){this.type=o.JSXSyntax.JSXNamespacedName,this.namespace=y,this.name=x}return g}();r.JSXNamespacedName=d;var v=function(){function g(y,x,b){this.type=o.JSXSyntax.JSXOpeningElement,this.name=y,this.selfClosing=x,this.attributes=b}return g}();r.JSXOpeningElement=v;var m=function(){function g(y){this.type=o.JSXSyntax.JSXSpreadAttribute,this.argument=y}return g}();r.JSXSpreadAttribute=m;var p=function(){function g(y,x){this.type=o.JSXSyntax.JSXText,this.value=y,this.raw=x}return g}();r.JSXText=p},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(2),i=function(){function it(ut){this.type=o.Syntax.ArrayExpression,this.elements=ut}return it}();r.ArrayExpression=i;var u=function(){function it(ut){this.type=o.Syntax.ArrayPattern,this.elements=ut}return it}();r.ArrayPattern=u;var s=function(){function it(ut,ne,Ie){this.type=o.Syntax.ArrowFunctionExpression,this.id=null,this.params=ut,this.body=ne,this.generator=!1,this.expression=Ie,this.async=!1}return it}();r.ArrowFunctionExpression=s;var l=function(){function it(ut,ne,Ie){this.type=o.Syntax.AssignmentExpression,this.operator=ut,this.left=ne,this.right=Ie}return it}();r.AssignmentExpression=l;var c=function(){function it(ut,ne){this.type=o.Syntax.AssignmentPattern,this.left=ut,this.right=ne}return it}();r.AssignmentPattern=c;var f=function(){function it(ut,ne,Ie){this.type=o.Syntax.ArrowFunctionExpression,this.id=null,this.params=ut,this.body=ne,this.generator=!1,this.expression=Ie,this.async=!0}return it}();r.AsyncArrowFunctionExpression=f;var h=function(){function it(ut,ne,Ie){this.type=o.Syntax.FunctionDeclaration,this.id=ut,this.params=ne,this.body=Ie,this.generator=!1,this.expression=!1,this.async=!0}return it}();r.AsyncFunctionDeclaration=h;var d=function(){function it(ut,ne,Ie){this.type=o.Syntax.FunctionExpression,this.id=ut,this.params=ne,this.body=Ie,this.generator=!1,this.expression=!1,this.async=!0}return it}();r.AsyncFunctionExpression=d;var v=function(){function it(ut){this.type=o.Syntax.AwaitExpression,this.argument=ut}return it}();r.AwaitExpression=v;var m=function(){function it(ut,ne,Ie){var Pe=ut==="||"||ut==="&&";this.type=Pe?o.Syntax.LogicalExpression:o.Syntax.BinaryExpression,this.operator=ut,this.left=ne,this.right=Ie}return it}();r.BinaryExpression=m;var p=function(){function it(ut){this.type=o.Syntax.BlockStatement,this.body=ut}return it}();r.BlockStatement=p;var g=function(){function it(ut){this.type=o.Syntax.BreakStatement,this.label=ut}return it}();r.BreakStatement=g;var y=function(){function it(ut,ne){this.type=o.Syntax.CallExpression,this.callee=ut,this.arguments=ne}return it}();r.CallExpression=y;var x=function(){function it(ut,ne){this.type=o.Syntax.CatchClause,this.param=ut,this.body=ne}return it}();r.CatchClause=x;var b=function(){function it(ut){this.type=o.Syntax.ClassBody,this.body=ut}return it}();r.ClassBody=b;var E=function(){function it(ut,ne,Ie){this.type=o.Syntax.ClassDeclaration,this.id=ut,this.superClass=ne,this.body=Ie}return it}();r.ClassDeclaration=E;var w=function(){function it(ut,ne,Ie){this.type=o.Syntax.ClassExpression,this.id=ut,this.superClass=ne,this.body=Ie}return it}();r.ClassExpression=w;var S=function(){function it(ut,ne){this.type=o.Syntax.MemberExpression,this.computed=!0,this.object=ut,this.property=ne}return it}();r.ComputedMemberExpression=S;var A=function(){function it(ut,ne,Ie){this.type=o.Syntax.ConditionalExpression,this.test=ut,this.consequent=ne,this.alternate=Ie}return it}();r.ConditionalExpression=A;var P=function(){function it(ut){this.type=o.Syntax.ContinueStatement,this.label=ut}return it}();r.ContinueStatement=P;var C=function(){function it(){this.type=o.Syntax.DebuggerStatement}return it}();r.DebuggerStatement=C;var D=function(){function it(ut,ne){this.type=o.Syntax.ExpressionStatement,this.expression=ut,this.directive=ne}return it}();r.Directive=D;var O=function(){function it(ut,ne){this.type=o.Syntax.DoWhileStatement,this.body=ut,this.test=ne}return it}();r.DoWhileStatement=O;var k=function(){function it(){this.type=o.Syntax.EmptyStatement}return it}();r.EmptyStatement=k;var B=function(){function it(ut){this.type=o.Syntax.ExportAllDeclaration,this.source=ut}return it}();r.ExportAllDeclaration=B;var N=function(){function it(ut){this.type=o.Syntax.ExportDefaultDeclaration,this.declaration=ut}return it}();r.ExportDefaultDeclaration=N;var M=function(){function it(ut,ne,Ie){this.type=o.Syntax.ExportNamedDeclaration,this.declaration=ut,this.specifiers=ne,this.source=Ie}return it}();r.ExportNamedDeclaration=M;var j=function(){function it(ut,ne){this.type=o.Syntax.ExportSpecifier,this.exported=ne,this.local=ut}return it}();r.ExportSpecifier=j;var F=function(){function it(ut){this.type=o.Syntax.ExpressionStatement,this.expression=ut}return it}();r.ExpressionStatement=F;var R=function(){function it(ut,ne,Ie){this.type=o.Syntax.ForInStatement,this.left=ut,this.right=ne,this.body=Ie,this.each=!1}return it}();r.ForInStatement=R;var G=function(){function it(ut,ne,Ie){this.type=o.Syntax.ForOfStatement,this.left=ut,this.right=ne,this.body=Ie}return it}();r.ForOfStatement=G;var L=function(){function it(ut,ne,Ie,Pe){this.type=o.Syntax.ForStatement,this.init=ut,this.test=ne,this.update=Ie,this.body=Pe}return it}();r.ForStatement=L;var V=function(){function it(ut,ne,Ie,Pe){this.type=o.Syntax.FunctionDeclaration,this.id=ut,this.params=ne,this.body=Ie,this.generator=Pe,this.expression=!1,this.async=!1}return it}();r.FunctionDeclaration=V;var K=function(){function it(ut,ne,Ie,Pe){this.type=o.Syntax.FunctionExpression,this.id=ut,this.params=ne,this.body=Ie,this.generator=Pe,this.expression=!1,this.async=!1}return it}();r.FunctionExpression=K;var Y=function(){function it(ut){this.type=o.Syntax.Identifier,this.name=ut}return it}();r.Identifier=Y;var J=function(){function it(ut,ne,Ie){this.type=o.Syntax.IfStatement,this.test=ut,this.consequent=ne,this.alternate=Ie}return it}();r.IfStatement=J;var Q=function(){function it(ut,ne){this.type=o.Syntax.ImportDeclaration,this.specifiers=ut,this.source=ne}return it}();r.ImportDeclaration=Q;var ce=function(){function it(ut){this.type=o.Syntax.ImportDefaultSpecifier,this.local=ut}return it}();r.ImportDefaultSpecifier=ce;var se=function(){function it(ut){this.type=o.Syntax.ImportNamespaceSpecifier,this.local=ut}return it}();r.ImportNamespaceSpecifier=se;var oe=function(){function it(ut,ne){this.type=o.Syntax.ImportSpecifier,this.local=ut,this.imported=ne}return it}();r.ImportSpecifier=oe;var ae=function(){function it(ut,ne){this.type=o.Syntax.LabeledStatement,this.label=ut,this.body=ne}return it}();r.LabeledStatement=ae;var ge=function(){function it(ut,ne){this.type=o.Syntax.Literal,this.value=ut,this.raw=ne}return it}();r.Literal=ge;var X=function(){function it(ut,ne){this.type=o.Syntax.MetaProperty,this.meta=ut,this.property=ne}return it}();r.MetaProperty=X;var q=function(){function it(ut,ne,Ie,Pe,Fe){this.type=o.Syntax.MethodDefinition,this.key=ut,this.computed=ne,this.value=Ie,this.kind=Pe,this.static=Fe}return it}();r.MethodDefinition=q;var re=function(){function it(ut){this.type=o.Syntax.Program,this.body=ut,this.sourceType="module"}return it}();r.Module=re;var he=function(){function it(ut,ne){this.type=o.Syntax.NewExpression,this.callee=ut,this.arguments=ne}return it}();r.NewExpression=he;var de=function(){function it(ut){this.type=o.Syntax.ObjectExpression,this.properties=ut}return it}();r.ObjectExpression=de;var _e=function(){function it(ut){this.type=o.Syntax.ObjectPattern,this.properties=ut}return it}();r.ObjectPattern=_e;var pe=function(){function it(ut,ne,Ie,Pe,Fe,He){this.type=o.Syntax.Property,this.key=ne,this.computed=Ie,this.value=Pe,this.kind=ut,this.method=Fe,this.shorthand=He}return it}();r.Property=pe;var me=function(){function it(ut,ne,Ie,Pe){this.type=o.Syntax.Literal,this.value=ut,this.raw=ne,this.regex={pattern:Ie,flags:Pe}}return it}();r.RegexLiteral=me;var Se=function(){function it(ut){this.type=o.Syntax.RestElement,this.argument=ut}return it}();r.RestElement=Se;var Ee=function(){function it(ut){this.type=o.Syntax.ReturnStatement,this.argument=ut}return it}();r.ReturnStatement=Ee;var Te=function(){function it(ut){this.type=o.Syntax.Program,this.body=ut,this.sourceType="script"}return it}();r.Script=Te;var Z=function(){function it(ut){this.type=o.Syntax.SequenceExpression,this.expressions=ut}return it}();r.SequenceExpression=Z;var W=function(){function it(ut){this.type=o.Syntax.SpreadElement,this.argument=ut}return it}();r.SpreadElement=W;var $=function(){function it(ut,ne){this.type=o.Syntax.MemberExpression,this.computed=!1,this.object=ut,this.property=ne}return it}();r.StaticMemberExpression=$;var ue=function(){function it(){this.type=o.Syntax.Super}return it}();r.Super=ue;var Ce=function(){function it(ut,ne){this.type=o.Syntax.SwitchCase,this.test=ut,this.consequent=ne}return it}();r.SwitchCase=Ce;var ke=function(){function it(ut,ne){this.type=o.Syntax.SwitchStatement,this.discriminant=ut,this.cases=ne}return it}();r.SwitchStatement=ke;var Ne=function(){function it(ut,ne){this.type=o.Syntax.TaggedTemplateExpression,this.tag=ut,this.quasi=ne}return it}();r.TaggedTemplateExpression=Ne;var Me=function(){function it(ut,ne){this.type=o.Syntax.TemplateElement,this.value=ut,this.tail=ne}return it}();r.TemplateElement=Me;var Ue=function(){function it(ut,ne){this.type=o.Syntax.TemplateLiteral,this.quasis=ut,this.expressions=ne}return it}();r.TemplateLiteral=Ue;var Ve=function(){function it(){this.type=o.Syntax.ThisExpression}return it}();r.ThisExpression=Ve;var We=function(){function it(ut){this.type=o.Syntax.ThrowStatement,this.argument=ut}return it}();r.ThrowStatement=We;var rt=function(){function it(ut,ne,Ie){this.type=o.Syntax.TryStatement,this.block=ut,this.handler=ne,this.finalizer=Ie}return it}();r.TryStatement=rt;var At=function(){function it(ut,ne){this.type=o.Syntax.UnaryExpression,this.operator=ut,this.argument=ne,this.prefix=!0}return it}();r.UnaryExpression=At;var bt=function(){function it(ut,ne,Ie){this.type=o.Syntax.UpdateExpression,this.operator=ut,this.argument=ne,this.prefix=Ie}return it}();r.UpdateExpression=bt;var kt=function(){function it(ut,ne){this.type=o.Syntax.VariableDeclaration,this.declarations=ut,this.kind=ne}return it}();r.VariableDeclaration=kt;var Et=function(){function it(ut,ne){this.type=o.Syntax.VariableDeclarator,this.id=ut,this.init=ne}return it}();r.VariableDeclarator=Et;var Dt=function(){function it(ut,ne){this.type=o.Syntax.WhileStatement,this.test=ut,this.body=ne}return it}();r.WhileStatement=Dt;var pt=function(){function it(ut,ne){this.type=o.Syntax.WithStatement,this.object=ut,this.body=ne}return it}();r.WithStatement=pt;var En=function(){function it(ut,ne){this.type=o.Syntax.YieldExpression,this.argument=ut,this.delegate=ne}return it}();r.YieldExpression=En},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(9),i=a(10),u=a(11),s=a(7),l=a(12),c=a(2),f=a(13),h="ArrowParameterPlaceHolder",d=function(){function v(m,p,g){p===void 0&&(p={}),this.config={range:typeof p.range=="boolean"&&p.range,loc:typeof p.loc=="boolean"&&p.loc,source:null,tokens:typeof p.tokens=="boolean"&&p.tokens,comment:typeof p.comment=="boolean"&&p.comment,tolerant:typeof p.tolerant=="boolean"&&p.tolerant},this.config.loc&&p.source&&p.source!==null&&(this.config.source=String(p.source)),this.delegate=g,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(m,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return v.prototype.throwError=function(m){var p=Array.prototype.slice.call(arguments,1),g=m.replace(/%(\d)/g,function(E,w){return o.assert(w<p.length,"Message reference must be in range"),p[w]}),y=this.lastMarker.index,x=this.lastMarker.line,b=this.lastMarker.column+1;throw this.errorHandler.createError(y,x,b,g)},v.prototype.tolerateError=function(m){var p=Array.prototype.slice.call(arguments,1),g=m.replace(/%(\d)/g,function(E,w){return o.assert(w<p.length,"Message reference must be in range"),p[w]}),y=this.lastMarker.index,x=this.scanner.lineNumber,b=this.lastMarker.column+1;this.errorHandler.tolerateError(y,x,b,g)},v.prototype.unexpectedTokenError=function(m,p){var g=p||u.Messages.UnexpectedToken,y;if(m?(p||(g=m.type===2?u.Messages.UnexpectedEOS:m.type===3?u.Messages.UnexpectedIdentifier:m.type===6?u.Messages.UnexpectedNumber:m.type===8?u.Messages.UnexpectedString:m.type===10?u.Messages.UnexpectedTemplate:u.Messages.UnexpectedToken,m.type===4&&(this.scanner.isFutureReservedWord(m.value)?g=u.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(m.value)&&(g=u.Messages.StrictReservedWord))),y=m.value):y="ILLEGAL",g=g.replace("%0",y),m&&typeof m.lineNumber=="number"){var x=m.start,b=m.lineNumber,E=this.lastMarker.index-this.lastMarker.column,w=m.start-E+1;return this.errorHandler.createError(x,b,w,g)}else{var x=this.lastMarker.index,b=this.lastMarker.line,w=this.lastMarker.column+1;return this.errorHandler.createError(x,b,w,g)}},v.prototype.throwUnexpectedToken=function(m,p){throw this.unexpectedTokenError(m,p)},v.prototype.tolerateUnexpectedToken=function(m,p){this.errorHandler.tolerate(this.unexpectedTokenError(m,p))},v.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var m=this.scanner.scanComments();if(m.length>0&&this.delegate)for(var p=0;p<m.length;++p){var g=m[p],y=void 0;y={type:g.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(g.slice[0],g.slice[1])},this.config.range&&(y.range=g.range),this.config.loc&&(y.loc=g.loc);var x={start:{line:g.loc.start.line,column:g.loc.start.column,offset:g.range[0]},end:{line:g.loc.end.line,column:g.loc.end.column,offset:g.range[1]}};this.delegate(y,x)}}},v.prototype.getTokenRaw=function(m){return this.scanner.source.slice(m.start,m.end)},v.prototype.convertToken=function(m){var p={type:f.TokenName[m.type],value:this.getTokenRaw(m)};if(this.config.range&&(p.range=[m.start,m.end]),this.config.loc&&(p.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),m.type===9){var g=m.pattern,y=m.flags;p.regex={pattern:g,flags:y}}return p},v.prototype.nextToken=function(){var m=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var p=this.scanner.lex();return this.hasLineTerminator=m.lineNumber!==p.lineNumber,p&&this.context.strict&&p.type===3&&this.scanner.isStrictModeReservedWord(p.value)&&(p.type=4),this.lookahead=p,this.config.tokens&&p.type!==2&&this.tokens.push(this.convertToken(p)),m},v.prototype.nextRegexToken=function(){this.collectComments();var m=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(m))),this.lookahead=m,this.nextToken(),m},v.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},v.prototype.startNode=function(m,p){p===void 0&&(p=0);var g=m.start-m.lineStart,y=m.lineNumber;return g<0&&(g+=p,y--),{index:m.start,line:y,column:g}},v.prototype.finalize=function(m,p){if(this.config.range&&(p.range=[m.index,this.lastMarker.index]),this.config.loc&&(p.loc={start:{line:m.line,column:m.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(p.loc.source=this.config.source)),this.delegate){var g={start:{line:m.line,column:m.column,offset:m.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(p,g)}return p},v.prototype.expect=function(m){var p=this.nextToken();(p.type!==7||p.value!==m)&&this.throwUnexpectedToken(p)},v.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var m=this.lookahead;m.type===7&&m.value===","?this.nextToken():m.type===7&&m.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(m)):this.tolerateUnexpectedToken(m,u.Messages.UnexpectedToken)}else this.expect(",")},v.prototype.expectKeyword=function(m){var p=this.nextToken();(p.type!==4||p.value!==m)&&this.throwUnexpectedToken(p)},v.prototype.match=function(m){return this.lookahead.type===7&&this.lookahead.value===m},v.prototype.matchKeyword=function(m){return this.lookahead.type===4&&this.lookahead.value===m},v.prototype.matchContextualKeyword=function(m){return this.lookahead.type===3&&this.lookahead.value===m},v.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var m=this.lookahead.value;return m==="="||m==="*="||m==="**="||m==="/="||m==="%="||m==="+="||m==="-="||m==="<<="||m===">>="||m===">>>="||m==="&="||m==="^="||m==="|="},v.prototype.isolateCoverGrammar=function(m){var p=this.context.isBindingElement,g=this.context.isAssignmentTarget,y=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=m.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=p,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=y,x},v.prototype.inheritCoverGrammar=function(m){var p=this.context.isBindingElement,g=this.context.isAssignmentTarget,y=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=m.call(this);return this.context.isBindingElement=this.context.isBindingElement&&p,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=y||this.context.firstCoverInitializedNameError,x},v.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},v.prototype.parsePrimaryExpression=function(){var m=this.createNode(),p,g,y;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),p=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(m,new s.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,u.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,g=this.nextToken(),y=this.getTokenRaw(g),p=this.finalize(m,new s.Literal(g.value,y));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,g=this.nextToken(),y=this.getTokenRaw(g),p=this.finalize(m,new s.Literal(g.value==="true",y));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,g=this.nextToken(),y=this.getTokenRaw(g),p=this.finalize(m,new s.Literal(null,y));break;case 10:p=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,p=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":p=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":p=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,g=this.nextRegexToken(),y=this.getTokenRaw(g),p=this.finalize(m,new s.RegexLiteral(g.regex,y,g.pattern,g.flags));break;default:p=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?p=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?p=this.finalize(m,new s.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?p=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),p=this.finalize(m,new s.ThisExpression)):this.matchKeyword("class")?p=this.parseClassExpression():p=this.throwUnexpectedToken(this.nextToken()));break;default:p=this.throwUnexpectedToken(this.nextToken())}return p},v.prototype.parseSpreadElement=function(){var m=this.createNode();this.expect("...");var p=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(m,new s.SpreadElement(p))},v.prototype.parseArrayInitializer=function(){var m=this.createNode(),p=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),p.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),p.push(g)}else p.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(m,new s.ArrayExpression(p))},v.prototype.parsePropertyMethod=function(m){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var p=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=m.simple;var y=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&m.firstRestricted&&this.tolerateUnexpectedToken(m.firstRestricted,m.message),this.context.strict&&m.stricted&&this.tolerateUnexpectedToken(m.stricted,m.message),this.context.strict=p,this.context.allowStrictDirective=g,y},v.prototype.parsePropertyMethodFunction=function(){var m=!1,p=this.createNode(),g=this.context.allowYield;this.context.allowYield=!0;var y=this.parseFormalParameters(),x=this.parsePropertyMethod(y);return this.context.allowYield=g,this.finalize(p,new s.FunctionExpression(null,y.params,x,m))},v.prototype.parsePropertyMethodAsyncFunction=function(){var m=this.createNode(),p=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var y=this.parseFormalParameters(),x=this.parsePropertyMethod(y);return this.context.allowYield=p,this.context.await=g,this.finalize(m,new s.AsyncFunctionExpression(null,y.params,x))},v.prototype.parseObjectPropertyKey=function(){var m=this.createNode(),p=this.nextToken(),g;switch(p.type){case 8:case 6:this.context.strict&&p.octal&&this.tolerateUnexpectedToken(p,u.Messages.StrictOctalLiteral);var y=this.getTokenRaw(p);g=this.finalize(m,new s.Literal(p.value,y));break;case 3:case 1:case 5:case 4:g=this.finalize(m,new s.Identifier(p.value));break;case 7:p.value==="["?(g=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):g=this.throwUnexpectedToken(p);break;default:g=this.throwUnexpectedToken(p)}return g},v.prototype.isPropertyKey=function(m,p){return m.type===c.Syntax.Identifier&&m.name===p||m.type===c.Syntax.Literal&&m.value===p},v.prototype.parseObjectProperty=function(m){var p=this.createNode(),g=this.lookahead,y,x=null,b=null,E=!1,w=!1,S=!1,A=!1;if(g.type===3){var P=g.value;this.nextToken(),E=this.match("["),A=!this.hasLineTerminator&&P==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),x=A?this.parseObjectPropertyKey():this.finalize(p,new s.Identifier(P))}else this.match("*")?this.nextToken():(E=this.match("["),x=this.parseObjectPropertyKey());var C=this.qualifiedPropertyName(this.lookahead);if(g.type===3&&!A&&g.value==="get"&&C)y="get",E=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(g.type===3&&!A&&g.value==="set"&&C)y="set",E=this.match("["),x=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(g.type===7&&g.value==="*"&&C)y="init",E=this.match("["),x=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),w=!0;else if(x||this.throwUnexpectedToken(this.lookahead),y="init",this.match(":")&&!A)!E&&this.isPropertyKey(x,"__proto__")&&(m.value&&this.tolerateError(u.Messages.DuplicateProtoProperty),m.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),w=!0;else if(g.type===3){var P=this.finalize(p,new s.Identifier(g.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),S=!0;var D=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(p,new s.AssignmentPattern(P,D))}else S=!0,b=P}else this.throwUnexpectedToken(this.nextToken());return this.finalize(p,new s.Property(y,x,E,b,w,S))},v.prototype.parseObjectInitializer=function(){var m=this.createNode();this.expect("{");for(var p=[],g={value:!1};!this.match("}");)p.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(m,new s.ObjectExpression(p))},v.prototype.parseTemplateHead=function(){o.assert(this.lookahead.head,"Template literal must start with a template head");var m=this.createNode(),p=this.nextToken(),g=p.value,y=p.cooked;return this.finalize(m,new s.TemplateElement({raw:g,cooked:y},p.tail))},v.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var m=this.createNode(),p=this.nextToken(),g=p.value,y=p.cooked;return this.finalize(m,new s.TemplateElement({raw:g,cooked:y},p.tail))},v.prototype.parseTemplateLiteral=function(){var m=this.createNode(),p=[],g=[],y=this.parseTemplateHead();for(g.push(y);!y.tail;)p.push(this.parseExpression()),y=this.parseTemplateElement(),g.push(y);return this.finalize(m,new s.TemplateLiteral(g,p))},v.prototype.reinterpretExpressionAsPattern=function(m){switch(m.type){case c.Syntax.Identifier:case c.Syntax.MemberExpression:case c.Syntax.RestElement:case c.Syntax.AssignmentPattern:break;case c.Syntax.SpreadElement:m.type=c.Syntax.RestElement,this.reinterpretExpressionAsPattern(m.argument);break;case c.Syntax.ArrayExpression:m.type=c.Syntax.ArrayPattern;for(var p=0;p<m.elements.length;p++)m.elements[p]!==null&&this.reinterpretExpressionAsPattern(m.elements[p]);break;case c.Syntax.ObjectExpression:m.type=c.Syntax.ObjectPattern;for(var p=0;p<m.properties.length;p++)this.reinterpretExpressionAsPattern(m.properties[p].value);break;case c.Syntax.AssignmentExpression:m.type=c.Syntax.AssignmentPattern,delete m.operator,this.reinterpretExpressionAsPattern(m.left);break}},v.prototype.parseGroupExpression=function(){var m;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),m={type:h,params:[],async:!1};else{var p=this.lookahead,g=[];if(this.match("..."))m=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),m={type:h,params:[m],async:!1};else{var y=!1;if(this.context.isBindingElement=!0,m=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(m);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<x.length;b++)this.reinterpretExpressionAsPattern(x[b]);y=!0,m={type:h,params:x,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),x.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var b=0;b<x.length;b++)this.reinterpretExpressionAsPattern(x[b]);y=!0,m={type:h,params:x,async:!1}}else x.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(y)break}y||(m=this.finalize(this.startNode(p),new s.SequenceExpression(x)))}if(!y){if(this.expect(")"),this.match("=>")&&(m.type===c.Syntax.Identifier&&m.name==="yield"&&(y=!0,m={type:h,params:[m],async:!1}),!y)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),m.type===c.Syntax.SequenceExpression)for(var b=0;b<m.expressions.length;b++)this.reinterpretExpressionAsPattern(m.expressions[b]);else this.reinterpretExpressionAsPattern(m);var E=m.type===c.Syntax.SequenceExpression?m.expressions:[m];m={type:h,params:E,async:!1}}this.context.isBindingElement=!1}}}return m},v.prototype.parseArguments=function(){this.expect("(");var m=[];if(!this.match(")"))for(;;){var p=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(m.push(p),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),m},v.prototype.isIdentifierName=function(m){return m.type===3||m.type===4||m.type===1||m.type===5},v.prototype.parseIdentifierName=function(){var m=this.createNode(),p=this.nextToken();return this.isIdentifierName(p)||this.throwUnexpectedToken(p),this.finalize(m,new s.Identifier(p.value))},v.prototype.parseNewExpression=function(){var m=this.createNode(),p=this.parseIdentifierName();o.assert(p.name==="new","New expression must start with `new`");var g;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var y=this.parseIdentifierName();g=new s.MetaProperty(p,y)}else this.throwUnexpectedToken(this.lookahead);else{var x=this.isolateCoverGrammar(this.parseLeftHandSideExpression),b=this.match("(")?this.parseArguments():[];g=new s.NewExpression(x,b),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(m,g)},v.prototype.parseAsyncArgument=function(){var m=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,m},v.prototype.parseAsyncArguments=function(){this.expect("(");var m=[];if(!this.match(")"))for(;;){var p=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(m.push(p),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),m},v.prototype.parseLeftHandSideExpressionAllowCall=function(){var m=this.lookahead,p=this.matchContextualKeyword("async"),g=this.context.allowIn;this.context.allowIn=!0;var y;for(this.matchKeyword("super")&&this.context.inFunctionBody?(y=this.createNode(),this.nextToken(),y=this.finalize(y,new s.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):y=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var x=this.parseIdentifierName();y=this.finalize(this.startNode(m),new s.StaticMemberExpression(y,x))}else if(this.match("(")){var b=p&&m.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var E=b?this.parseAsyncArguments():this.parseArguments();if(y=this.finalize(this.startNode(m),new s.CallExpression(y,E)),b&&this.match("=>")){for(var w=0;w<E.length;++w)this.reinterpretExpressionAsPattern(E[w]);y={type:h,params:E,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var x=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),y=this.finalize(this.startNode(m),new s.ComputedMemberExpression(y,x))}else if(this.lookahead.type===10&&this.lookahead.head){var S=this.parseTemplateLiteral();y=this.finalize(this.startNode(m),new s.TaggedTemplateExpression(y,S))}else break;return this.context.allowIn=g,y},v.prototype.parseSuper=function(){var m=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(m,new s.Super)},v.prototype.parseLeftHandSideExpression=function(){o.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var m=this.startNode(this.lookahead),p=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var g=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),p=this.finalize(m,new s.ComputedMemberExpression(p,g))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var g=this.parseIdentifierName();p=this.finalize(m,new s.StaticMemberExpression(p,g))}else if(this.lookahead.type===10&&this.lookahead.head){var y=this.parseTemplateLiteral();p=this.finalize(m,new s.TaggedTemplateExpression(p,y))}else break;return p},v.prototype.parseUpdateExpression=function(){var m,p=this.lookahead;if(this.match("++")||this.match("--")){var g=this.startNode(p),y=this.nextToken();m=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&m.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(m.name)&&this.tolerateError(u.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(u.Messages.InvalidLHSInAssignment);var x=!0;m=this.finalize(g,new s.UpdateExpression(y.value,m,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(m=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&m.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(m.name)&&this.tolerateError(u.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(u.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var b=this.nextToken().value,x=!1;m=this.finalize(this.startNode(p),new s.UpdateExpression(b,m,x))}return m},v.prototype.parseAwaitExpression=function(){var m=this.createNode();this.nextToken();var p=this.parseUnaryExpression();return this.finalize(m,new s.AwaitExpression(p))},v.prototype.parseUnaryExpression=function(){var m;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var p=this.startNode(this.lookahead),g=this.nextToken();m=this.inheritCoverGrammar(this.parseUnaryExpression),m=this.finalize(p,new s.UnaryExpression(g.value,m)),this.context.strict&&m.operator==="delete"&&m.argument.type===c.Syntax.Identifier&&this.tolerateError(u.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?m=this.parseAwaitExpression():m=this.parseUpdateExpression();return m},v.prototype.parseExponentiationExpression=function(){var m=this.lookahead,p=this.inheritCoverGrammar(this.parseUnaryExpression);if(p.type!==c.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var g=p,y=this.isolateCoverGrammar(this.parseExponentiationExpression);p=this.finalize(this.startNode(m),new s.BinaryExpression("**",g,y))}return p},v.prototype.binaryPrecedence=function(m){var p=m.value,g;return m.type===7?g=this.operatorPrecedence[p]||0:m.type===4?g=p==="instanceof"||this.context.allowIn&&p==="in"?7:0:g=0,g},v.prototype.parseBinaryExpression=function(){var m=this.lookahead,p=this.inheritCoverGrammar(this.parseExponentiationExpression),g=this.lookahead,y=this.binaryPrecedence(g);if(y>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[m,this.lookahead],b=p,E=this.isolateCoverGrammar(this.parseExponentiationExpression),w=[b,g.value,E],S=[y];y=this.binaryPrecedence(this.lookahead),!(y<=0);){for(;w.length>2&&y<=S[S.length-1];){E=w.pop();var A=w.pop();S.pop(),b=w.pop(),x.pop();var P=this.startNode(x[x.length-1]);w.push(this.finalize(P,new s.BinaryExpression(A,b,E)))}w.push(this.nextToken().value),S.push(y),x.push(this.lookahead),w.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var C=w.length-1;p=w[C];for(var D=x.pop();C>1;){var O=x.pop(),k=D&&D.lineStart,P=this.startNode(O,k),A=w[C-1];p=this.finalize(P,new s.BinaryExpression(A,w[C-2],p)),C-=2,D=O}}return p},v.prototype.parseConditionalExpression=function(){var m=this.lookahead,p=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var y=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);p=this.finalize(this.startNode(m),new s.ConditionalExpression(p,y,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return p},v.prototype.checkPatternParam=function(m,p){switch(p.type){case c.Syntax.Identifier:this.validateParam(m,p,p.name);break;case c.Syntax.RestElement:this.checkPatternParam(m,p.argument);break;case c.Syntax.AssignmentPattern:this.checkPatternParam(m,p.left);break;case c.Syntax.ArrayPattern:for(var g=0;g<p.elements.length;g++)p.elements[g]!==null&&this.checkPatternParam(m,p.elements[g]);break;case c.Syntax.ObjectPattern:for(var g=0;g<p.properties.length;g++)this.checkPatternParam(m,p.properties[g].value);break}m.simple=m.simple&&p instanceof s.Identifier},v.prototype.reinterpretAsCoverFormalsList=function(m){var p=[m],g,y=!1;switch(m.type){case c.Syntax.Identifier:break;case h:p=m.params,y=m.async;break;default:return null}g={simple:!0,paramSet:{}};for(var x=0;x<p.length;++x){var b=p[x];b.type===c.Syntax.AssignmentPattern?b.right.type===c.Syntax.YieldExpression&&(b.right.argument&&this.throwUnexpectedToken(this.lookahead),b.right.type=c.Syntax.Identifier,b.right.name="yield",delete b.right.argument,delete b.right.delegate):y&&b.type===c.Syntax.Identifier&&b.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(g,b),p[x]=b}if(this.context.strict||!this.context.allowYield)for(var x=0;x<p.length;++x){var b=p[x];b.type===c.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(g.message===u.Messages.StrictParamDupe){var E=this.context.strict?g.stricted:g.firstRestricted;this.throwUnexpectedToken(E,g.message)}return{simple:g.simple,params:p,stricted:g.stricted,firstRestricted:g.firstRestricted,message:g.message}},v.prototype.parseAssignmentExpression=function(){var m;if(!this.context.allowYield&&this.matchKeyword("yield"))m=this.parseYieldExpression();else{var p=this.lookahead,g=p;if(m=this.parseConditionalExpression(),g.type===3&&g.lineNumber===this.lookahead.lineNumber&&g.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var y=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(y),m={type:h,params:[y],async:!0}}if(m.type===h||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=m.async,b=this.reinterpretAsCoverFormalsList(m);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var E=this.context.strict,w=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var S=this.context.allowYield,A=this.context.await;this.context.allowYield=!0,this.context.await=x;var P=this.startNode(p);this.expect("=>");var C=void 0;if(this.match("{")){var D=this.context.allowIn;this.context.allowIn=!0,C=this.parseFunctionSourceElements(),this.context.allowIn=D}else C=this.isolateCoverGrammar(this.parseAssignmentExpression);var O=C.type!==c.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),m=x?this.finalize(P,new s.AsyncArrowFunctionExpression(b.params,C,O)):this.finalize(P,new s.ArrowFunctionExpression(b.params,C,O)),this.context.strict=E,this.context.allowStrictDirective=w,this.context.allowYield=S,this.context.await=A}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(u.Messages.InvalidLHSInAssignment),this.context.strict&&m.type===c.Syntax.Identifier){var k=m;this.scanner.isRestrictedWord(k.name)&&this.tolerateUnexpectedToken(g,u.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(k.name)&&this.tolerateUnexpectedToken(g,u.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(m):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),g=this.nextToken();var B=g.value,N=this.isolateCoverGrammar(this.parseAssignmentExpression);m=this.finalize(this.startNode(p),new s.AssignmentExpression(B,m,N)),this.context.firstCoverInitializedNameError=null}}return m},v.prototype.parseExpression=function(){var m=this.lookahead,p=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(p);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));p=this.finalize(this.startNode(m),new s.SequenceExpression(g))}return p},v.prototype.parseStatementListItem=function(){var m;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,u.Messages.IllegalExportDeclaration),m=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,u.Messages.IllegalImportDeclaration),m=this.parseImportDeclaration();break;case"const":m=this.parseLexicalDeclaration({inFor:!1});break;case"function":m=this.parseFunctionDeclaration();break;case"class":m=this.parseClassDeclaration();break;case"let":m=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:m=this.parseStatement();break}else m=this.parseStatement();return m},v.prototype.parseBlock=function(){var m=this.createNode();this.expect("{");for(var p=[];!this.match("}");)p.push(this.parseStatementListItem());return this.expect("}"),this.finalize(m,new s.BlockStatement(p))},v.prototype.parseLexicalBinding=function(m,p){var g=this.createNode(),y=[],x=this.parsePattern(y,m);this.context.strict&&x.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(u.Messages.StrictVarName);var b=null;return m==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(u.Messages.DeclarationMissingInitializer,"const")):(!p.inFor&&x.type!==c.Syntax.Identifier||this.match("="))&&(this.expect("="),b=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new s.VariableDeclarator(x,b))},v.prototype.parseBindingList=function(m,p){for(var g=[this.parseLexicalBinding(m,p)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(m,p));return g},v.prototype.isLexicalDeclaration=function(){var m=this.scanner.saveState();this.scanner.scanComments();var p=this.scanner.lex();return this.scanner.restoreState(m),p.type===3||p.type===7&&p.value==="["||p.type===7&&p.value==="{"||p.type===4&&p.value==="let"||p.type===4&&p.value==="yield"},v.prototype.parseLexicalDeclaration=function(m){var p=this.createNode(),g=this.nextToken().value;o.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var y=this.parseBindingList(g,m);return this.consumeSemicolon(),this.finalize(p,new s.VariableDeclaration(y,g))},v.prototype.parseBindingRestElement=function(m,p){var g=this.createNode();this.expect("...");var y=this.parsePattern(m,p);return this.finalize(g,new s.RestElement(y))},v.prototype.parseArrayPattern=function(m,p){var g=this.createNode();this.expect("[");for(var y=[];!this.match("]");)if(this.match(","))this.nextToken(),y.push(null);else{if(this.match("...")){y.push(this.parseBindingRestElement(m,p));break}else y.push(this.parsePatternWithDefault(m,p));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new s.ArrayPattern(y))},v.prototype.parsePropertyPattern=function(m,p){var g=this.createNode(),y=!1,x=!1,b=!1,E,w;if(this.lookahead.type===3){var S=this.lookahead;E=this.parseVariableIdentifier();var A=this.finalize(g,new s.Identifier(S.value));if(this.match("=")){m.push(S),x=!0,this.nextToken();var P=this.parseAssignmentExpression();w=this.finalize(this.startNode(S),new s.AssignmentPattern(A,P))}else this.match(":")?(this.expect(":"),w=this.parsePatternWithDefault(m,p)):(m.push(S),x=!0,w=A)}else y=this.match("["),E=this.parseObjectPropertyKey(),this.expect(":"),w=this.parsePatternWithDefault(m,p);return this.finalize(g,new s.Property("init",E,y,w,b,x))},v.prototype.parseObjectPattern=function(m,p){var g=this.createNode(),y=[];for(this.expect("{");!this.match("}");)y.push(this.parsePropertyPattern(m,p)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new s.ObjectPattern(y))},v.prototype.parsePattern=function(m,p){var g;return this.match("[")?g=this.parseArrayPattern(m,p):this.match("{")?g=this.parseObjectPattern(m,p):(this.matchKeyword("let")&&(p==="const"||p==="let")&&this.tolerateUnexpectedToken(this.lookahead,u.Messages.LetInLexicalBinding),m.push(this.lookahead),g=this.parseVariableIdentifier(p)),g},v.prototype.parsePatternWithDefault=function(m,p){var g=this.lookahead,y=this.parsePattern(m,p);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,y=this.finalize(this.startNode(g),new s.AssignmentPattern(y,b))}return y},v.prototype.parseVariableIdentifier=function(m){var p=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,u.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,u.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||m!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(p,new s.Identifier(g.value))},v.prototype.parseVariableDeclaration=function(m){var p=this.createNode(),g=[],y=this.parsePattern(g,"var");this.context.strict&&y.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(y.name)&&this.tolerateError(u.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):y.type!==c.Syntax.Identifier&&!m.inFor&&this.expect("="),this.finalize(p,new s.VariableDeclarator(y,x))},v.prototype.parseVariableDeclarationList=function(m){var p={inFor:m.inFor},g=[];for(g.push(this.parseVariableDeclaration(p));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(p));return g},v.prototype.parseVariableStatement=function(){var m=this.createNode();this.expectKeyword("var");var p=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(m,new s.VariableDeclaration(p,"var"))},v.prototype.parseEmptyStatement=function(){var m=this.createNode();return this.expect(";"),this.finalize(m,new s.EmptyStatement)},v.prototype.parseExpressionStatement=function(){var m=this.createNode(),p=this.parseExpression();return this.consumeSemicolon(),this.finalize(m,new s.ExpressionStatement(p))},v.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(u.Messages.StrictFunction),this.parseStatement()},v.prototype.parseIfStatement=function(){var m=this.createNode(),p,g=null;this.expectKeyword("if"),this.expect("(");var y=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),p=this.finalize(this.createNode(),new s.EmptyStatement)):(this.expect(")"),p=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(m,new s.IfStatement(y,p,g))},v.prototype.parseDoWhileStatement=function(){var m=this.createNode();this.expectKeyword("do");var p=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=p,this.expectKeyword("while"),this.expect("(");var y=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(m,new s.DoWhileStatement(g,y))},v.prototype.parseWhileStatement=function(){var m=this.createNode(),p;this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),p=this.finalize(this.createNode(),new s.EmptyStatement);else{this.expect(")");var y=this.context.inIteration;this.context.inIteration=!0,p=this.parseStatement(),this.context.inIteration=y}return this.finalize(m,new s.WhileStatement(g,p))},v.prototype.parseForStatement=function(){var m=null,p=null,g=null,y=!0,x,b,E=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){m=this.createNode(),this.nextToken();var w=this.context.allowIn;this.context.allowIn=!1;var S=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=w,S.length===1&&this.matchKeyword("in")){var A=S[0];A.init&&(A.id.type===c.Syntax.ArrayPattern||A.id.type===c.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(u.Messages.ForInOfLoopInitializer,"for-in"),m=this.finalize(m,new s.VariableDeclaration(S,"var")),this.nextToken(),x=m,b=this.parseExpression(),m=null}else S.length===1&&S[0].init===null&&this.matchContextualKeyword("of")?(m=this.finalize(m,new s.VariableDeclaration(S,"var")),this.nextToken(),x=m,b=this.parseAssignmentExpression(),m=null,y=!1):(m=this.finalize(m,new s.VariableDeclaration(S,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){m=this.createNode();var P=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")m=this.finalize(m,new s.Identifier(P)),this.nextToken(),x=m,b=this.parseExpression(),m=null;else{var w=this.context.allowIn;this.context.allowIn=!1;var S=this.parseBindingList(P,{inFor:!0});this.context.allowIn=w,S.length===1&&S[0].init===null&&this.matchKeyword("in")?(m=this.finalize(m,new s.VariableDeclaration(S,P)),this.nextToken(),x=m,b=this.parseExpression(),m=null):S.length===1&&S[0].init===null&&this.matchContextualKeyword("of")?(m=this.finalize(m,new s.VariableDeclaration(S,P)),this.nextToken(),x=m,b=this.parseAssignmentExpression(),m=null,y=!1):(this.consumeSemicolon(),m=this.finalize(m,new s.VariableDeclaration(S,P)))}}else{var C=this.lookahead,w=this.context.allowIn;if(this.context.allowIn=!1,m=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=w,this.matchKeyword("in"))(!this.context.isAssignmentTarget||m.type===c.Syntax.AssignmentExpression)&&this.tolerateError(u.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(m),x=m,b=this.parseExpression(),m=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||m.type===c.Syntax.AssignmentExpression)&&this.tolerateError(u.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(m),x=m,b=this.parseAssignmentExpression(),m=null,y=!1;else{if(this.match(",")){for(var D=[m];this.match(",");)this.nextToken(),D.push(this.isolateCoverGrammar(this.parseAssignmentExpression));m=this.finalize(this.startNode(C),new s.SequenceExpression(D))}this.expect(";")}}typeof x>"u"&&(this.match(";")||(p=this.parseExpression()),this.expect(";"),this.match(")")||(g=this.parseExpression()));var O;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),O=this.finalize(this.createNode(),new s.EmptyStatement);else{this.expect(")");var k=this.context.inIteration;this.context.inIteration=!0,O=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=k}return typeof x>"u"?this.finalize(E,new s.ForStatement(m,p,g,O)):y?this.finalize(E,new s.ForInStatement(x,b,O)):this.finalize(E,new s.ForOfStatement(x,b,O))},v.prototype.parseContinueStatement=function(){var m=this.createNode();this.expectKeyword("continue");var p=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();p=g;var y="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,y)||this.throwError(u.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),p===null&&!this.context.inIteration&&this.throwError(u.Messages.IllegalContinue),this.finalize(m,new s.ContinueStatement(p))},v.prototype.parseBreakStatement=function(){var m=this.createNode();this.expectKeyword("break");var p=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),y="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,y)||this.throwError(u.Messages.UnknownLabel,g.name),p=g}return this.consumeSemicolon(),p===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(u.Messages.IllegalBreak),this.finalize(m,new s.BreakStatement(p))},v.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(u.Messages.IllegalReturn);var m=this.createNode();this.expectKeyword("return");var p=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,g=p?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(m,new s.ReturnStatement(g))},v.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(u.Messages.StrictModeWith);var m=this.createNode(),p;this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),p=this.finalize(this.createNode(),new s.EmptyStatement)):(this.expect(")"),p=this.parseStatement()),this.finalize(m,new s.WithStatement(g,p))},v.prototype.parseSwitchCase=function(){var m=this.createNode(),p;this.matchKeyword("default")?(this.nextToken(),p=null):(this.expectKeyword("case"),p=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(m,new s.SwitchCase(p,g))},v.prototype.parseSwitchStatement=function(){var m=this.createNode();this.expectKeyword("switch"),this.expect("(");var p=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var y=[],x=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(x&&this.throwError(u.Messages.MultipleDefaultsInSwitch),x=!0),y.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(m,new s.SwitchStatement(p,y))},v.prototype.parseLabelledStatement=function(){var m=this.createNode(),p=this.parseExpression(),g;if(p.type===c.Syntax.Identifier&&this.match(":")){this.nextToken();var y=p,x="$"+y.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(u.Messages.Redeclaration,"Label",y.name),this.context.labelSet[x]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var E=this.lookahead,w=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(E,u.Messages.StrictFunction):w.generator&&this.tolerateUnexpectedToken(E,u.Messages.GeneratorInLegacyContext),b=w}else b=this.parseStatement();delete this.context.labelSet[x],g=new s.LabeledStatement(y,b)}else this.consumeSemicolon(),g=new s.ExpressionStatement(p);return this.finalize(m,g)},v.prototype.parseThrowStatement=function(){var m=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(u.Messages.NewlineAfterThrow);var p=this.parseExpression();return this.consumeSemicolon(),this.finalize(m,new s.ThrowStatement(p))},v.prototype.parseCatchClause=function(){var m=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var p=[],g=this.parsePattern(p),y={},x=0;x<p.length;x++){var b="$"+p[x].value;Object.prototype.hasOwnProperty.call(y,b)&&this.tolerateError(u.Messages.DuplicateBinding,p[x].value),y[b]=!0}this.context.strict&&g.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(u.Messages.StrictCatchVariable),this.expect(")");var E=this.parseBlock();return this.finalize(m,new s.CatchClause(g,E))},v.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},v.prototype.parseTryStatement=function(){var m=this.createNode();this.expectKeyword("try");var p=this.parseBlock(),g=this.matchKeyword("catch")?this.parseCatchClause():null,y=this.matchKeyword("finally")?this.parseFinallyClause():null;return!g&&!y&&this.throwError(u.Messages.NoCatchOrFinally),this.finalize(m,new s.TryStatement(p,g,y))},v.prototype.parseDebuggerStatement=function(){var m=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(m,new s.DebuggerStatement)},v.prototype.parseStatement=function(){var m;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:m=this.parseExpressionStatement();break;case 7:var p=this.lookahead.value;p==="{"?m=this.parseBlock():p==="("?m=this.parseExpressionStatement():p===";"?m=this.parseEmptyStatement():m=this.parseExpressionStatement();break;case 3:m=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":m=this.parseBreakStatement();break;case"continue":m=this.parseContinueStatement();break;case"debugger":m=this.parseDebuggerStatement();break;case"do":m=this.parseDoWhileStatement();break;case"for":m=this.parseForStatement();break;case"function":m=this.parseFunctionDeclaration();break;case"if":m=this.parseIfStatement();break;case"return":m=this.parseReturnStatement();break;case"switch":m=this.parseSwitchStatement();break;case"throw":m=this.parseThrowStatement();break;case"try":m=this.parseTryStatement();break;case"var":m=this.parseVariableStatement();break;case"while":m=this.parseWhileStatement();break;case"with":m=this.parseWithStatement();break;default:m=this.parseExpressionStatement();break}break;default:m=this.throwUnexpectedToken(this.lookahead)}return m},v.prototype.parseFunctionSourceElements=function(){var m=this.createNode();this.expect("{");var p=this.parseDirectivePrologues(),g=this.context.labelSet,y=this.context.inIteration,x=this.context.inSwitch,b=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)p.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=g,this.context.inIteration=y,this.context.inSwitch=x,this.context.inFunctionBody=b,this.finalize(m,new s.BlockStatement(p))},v.prototype.validateParam=function(m,p,g){var y="$"+g;this.context.strict?(this.scanner.isRestrictedWord(g)&&(m.stricted=p,m.message=u.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(m.paramSet,y)&&(m.stricted=p,m.message=u.Messages.StrictParamDupe)):m.firstRestricted||(this.scanner.isRestrictedWord(g)?(m.firstRestricted=p,m.message=u.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(g)?(m.firstRestricted=p,m.message=u.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(m.paramSet,y)&&(m.stricted=p,m.message=u.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(m.paramSet,y,{value:!0,enumerable:!0,writable:!0,configurable:!0}):m.paramSet[y]=!0},v.prototype.parseRestElement=function(m){var p=this.createNode();this.expect("...");var g=this.parsePattern(m);return this.match("=")&&this.throwError(u.Messages.DefaultRestParameter),this.match(")")||this.throwError(u.Messages.ParameterAfterRestParameter),this.finalize(p,new s.RestElement(g))},v.prototype.parseFormalParameter=function(m){for(var p=[],g=this.match("...")?this.parseRestElement(p):this.parsePatternWithDefault(p),y=0;y<p.length;y++)this.validateParam(m,p[y],p[y].value);m.simple=m.simple&&g instanceof s.Identifier,m.params.push(g)},v.prototype.parseFormalParameters=function(m){var p;if(p={simple:!0,params:[],firstRestricted:m},this.expect("("),!this.match(")"))for(p.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(p),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:p.simple,params:p.params,stricted:p.stricted,firstRestricted:p.firstRestricted,message:p.message}},v.prototype.matchAsyncFunction=function(){var m=this.matchContextualKeyword("async");if(m){var p=this.scanner.saveState();this.scanner.scanComments();var g=this.scanner.lex();this.scanner.restoreState(p),m=p.lineNumber===g.lineNumber&&g.type===4&&g.value==="function"}return m},v.prototype.parseFunctionDeclaration=function(m){var p=this.createNode(),g=this.matchContextualKeyword("async");g&&this.nextToken(),this.expectKeyword("function");var y=g?!1:this.match("*");y&&this.nextToken();var x,b=null,E=null;if(!m||!this.match("(")){var w=this.lookahead;b=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(w.value)&&this.tolerateUnexpectedToken(w,u.Messages.StrictFunctionName):this.scanner.isRestrictedWord(w.value)?(E=w,x=u.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(E=w,x=u.Messages.StrictReservedWord)}var S=this.context.await,A=this.context.allowYield;this.context.await=g,this.context.allowYield=!y;var P=this.parseFormalParameters(E),C=P.params,D=P.stricted;E=P.firstRestricted,P.message&&(x=P.message);var O=this.context.strict,k=this.context.allowStrictDirective;this.context.allowStrictDirective=P.simple;var B=this.parseFunctionSourceElements();return this.context.strict&&E&&this.throwUnexpectedToken(E,x),this.context.strict&&D&&this.tolerateUnexpectedToken(D,x),this.context.strict=O,this.context.allowStrictDirective=k,this.context.await=S,this.context.allowYield=A,g?this.finalize(p,new s.AsyncFunctionDeclaration(b,C,B)):this.finalize(p,new s.FunctionDeclaration(b,C,B,y))},v.prototype.parseFunctionExpression=function(){var m=this.createNode(),p=this.matchContextualKeyword("async");p&&this.nextToken(),this.expectKeyword("function");var g=p?!1:this.match("*");g&&this.nextToken();var y,x=null,b,E=this.context.await,w=this.context.allowYield;if(this.context.await=p,this.context.allowYield=!g,!this.match("(")){var S=this.lookahead;x=!this.context.strict&&!g&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(S.value)&&this.tolerateUnexpectedToken(S,u.Messages.StrictFunctionName):this.scanner.isRestrictedWord(S.value)?(b=S,y=u.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(S.value)&&(b=S,y=u.Messages.StrictReservedWord)}var A=this.parseFormalParameters(b),P=A.params,C=A.stricted;b=A.firstRestricted,A.message&&(y=A.message);var D=this.context.strict,O=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var k=this.parseFunctionSourceElements();return this.context.strict&&b&&this.throwUnexpectedToken(b,y),this.context.strict&&C&&this.tolerateUnexpectedToken(C,y),this.context.strict=D,this.context.allowStrictDirective=O,this.context.await=E,this.context.allowYield=w,p?this.finalize(m,new s.AsyncFunctionExpression(x,P,k)):this.finalize(m,new s.FunctionExpression(x,P,k,g))},v.prototype.parseDirective=function(){var m=this.lookahead,p=this.createNode(),g=this.parseExpression(),y=g.type===c.Syntax.Literal?this.getTokenRaw(m).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(p,y?new s.Directive(g,y):new s.ExpressionStatement(g))},v.prototype.parseDirectivePrologues=function(){for(var m=null,p=[];;){var g=this.lookahead;if(g.type!==8)break;var y=this.parseDirective();p.push(y);var x=y.directive;if(typeof x!="string")break;x==="use strict"?(this.context.strict=!0,m&&this.tolerateUnexpectedToken(m,u.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(g,u.Messages.IllegalLanguageModeDirective)):!m&&g.octal&&(m=g)}return p},v.prototype.qualifiedPropertyName=function(m){switch(m.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return m.value==="["}return!1},v.prototype.parseGetterMethod=function(){var m=this.createNode(),p=!1,g=this.context.allowYield;this.context.allowYield=!p;var y=this.parseFormalParameters();y.params.length>0&&this.tolerateError(u.Messages.BadGetterArity);var x=this.parsePropertyMethod(y);return this.context.allowYield=g,this.finalize(m,new s.FunctionExpression(null,y.params,x,p))},v.prototype.parseSetterMethod=function(){var m=this.createNode(),p=!1,g=this.context.allowYield;this.context.allowYield=!p;var y=this.parseFormalParameters();y.params.length!==1?this.tolerateError(u.Messages.BadSetterArity):y.params[0]instanceof s.RestElement&&this.tolerateError(u.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(y);return this.context.allowYield=g,this.finalize(m,new s.FunctionExpression(null,y.params,x,p))},v.prototype.parseGeneratorMethod=function(){var m=this.createNode(),p=!0,g=this.context.allowYield;this.context.allowYield=!0;var y=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(y);return this.context.allowYield=g,this.finalize(m,new s.FunctionExpression(null,y.params,x,p))},v.prototype.isStartOfExpression=function(){var m=!0,p=this.lookahead.value;switch(this.lookahead.type){case 7:m=p==="["||p==="("||p==="{"||p==="+"||p==="-"||p==="!"||p==="~"||p==="++"||p==="--"||p==="/"||p==="/=";break;case 4:m=p==="class"||p==="delete"||p==="function"||p==="let"||p==="new"||p==="super"||p==="this"||p==="typeof"||p==="void"||p==="yield";break}return m},v.prototype.parseYieldExpression=function(){var m=this.createNode();this.expectKeyword("yield");var p=null,g=!1;if(!this.hasLineTerminator){var y=this.context.allowYield;this.context.allowYield=!1,g=this.match("*"),g?(this.nextToken(),p=this.parseAssignmentExpression()):this.isStartOfExpression()&&(p=this.parseAssignmentExpression()),this.context.allowYield=y}return this.finalize(m,new s.YieldExpression(p,g))},v.prototype.parseClassElement=function(m){var p=this.lookahead,g=this.createNode(),y="",x=null,b=null,E=!1,w=!1,S=!1,A=!1;if(this.match("*"))this.nextToken();else{E=this.match("["),x=this.parseObjectPropertyKey();var P=x;if(P.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(p=this.lookahead,S=!0,E=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),p.type===3&&!this.hasLineTerminator&&p.value==="async"){var C=this.lookahead.value;C!==":"&&C!=="("&&C!=="*"&&(A=!0,p=this.lookahead,x=this.parseObjectPropertyKey(),p.type===3&&p.value==="constructor"&&this.tolerateUnexpectedToken(p,u.Messages.ConstructorIsAsync))}}var D=this.qualifiedPropertyName(this.lookahead);return p.type===3?p.value==="get"&&D?(y="get",E=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):p.value==="set"&&D&&(y="set",E=this.match("["),x=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):p.type===7&&p.value==="*"&&D&&(y="init",E=this.match("["),x=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),w=!0),!y&&x&&this.match("(")&&(y="init",b=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),w=!0),y||this.throwUnexpectedToken(this.lookahead),y==="init"&&(y="method"),E||(S&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(p,u.Messages.StaticPrototype),!S&&this.isPropertyKey(x,"constructor")&&((y!=="method"||!w||b&&b.generator)&&this.throwUnexpectedToken(p,u.Messages.ConstructorSpecialMethod),m.value?this.throwUnexpectedToken(p,u.Messages.DuplicateConstructor):m.value=!0,y="constructor")),this.finalize(g,new s.MethodDefinition(x,E,b,y,S))},v.prototype.parseClassElementList=function(){var m=[],p={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():m.push(this.parseClassElement(p));return this.expect("}"),m},v.prototype.parseClassBody=function(){var m=this.createNode(),p=this.parseClassElementList();return this.finalize(m,new s.ClassBody(p))},v.prototype.parseClassDeclaration=function(m){var p=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var y=m&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(p,new s.ClassDeclaration(y,x,b))},v.prototype.parseClassExpression=function(){var m=this.createNode(),p=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,y=null;this.matchKeyword("extends")&&(this.nextToken(),y=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=p,this.finalize(m,new s.ClassExpression(g,y,x))},v.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var m=this.createNode(),p=this.parseDirectivePrologues();this.lookahead.type!==2;)p.push(this.parseStatementListItem());return this.finalize(m,new s.Module(p))},v.prototype.parseScript=function(){for(var m=this.createNode(),p=this.parseDirectivePrologues();this.lookahead.type!==2;)p.push(this.parseStatementListItem());return this.finalize(m,new s.Script(p))},v.prototype.parseModuleSpecifier=function(){var m=this.createNode();this.lookahead.type!==8&&this.throwError(u.Messages.InvalidModuleSpecifier);var p=this.nextToken(),g=this.getTokenRaw(p);return this.finalize(m,new s.Literal(p.value,g))},v.prototype.parseImportSpecifier=function(){var m=this.createNode(),p,g;return this.lookahead.type===3?(p=this.parseVariableIdentifier(),g=p,this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseVariableIdentifier())):(p=this.parseIdentifierName(),g=p,this.matchContextualKeyword("as")?(this.nextToken(),g=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(m,new s.ImportSpecifier(g,p))},v.prototype.parseNamedImports=function(){this.expect("{");for(var m=[];!this.match("}");)m.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),m},v.prototype.parseImportDefaultSpecifier=function(){var m=this.createNode(),p=this.parseIdentifierName();return this.finalize(m,new s.ImportDefaultSpecifier(p))},v.prototype.parseImportNamespaceSpecifier=function(){var m=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(u.Messages.NoAsAfterImportNamespace),this.nextToken();var p=this.parseIdentifierName();return this.finalize(m,new s.ImportNamespaceSpecifier(p))},v.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(u.Messages.IllegalImportDeclaration);var m=this.createNode();this.expectKeyword("import");var p,g=[];if(this.lookahead.type===8)p=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var y=this.lookahead.value?u.Messages.UnexpectedToken:u.Messages.MissingFromClause;this.throwError(y,this.lookahead.value)}this.nextToken(),p=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(m,new s.ImportDeclaration(g,p))},v.prototype.parseExportSpecifier=function(){var m=this.createNode(),p=this.parseIdentifierName(),g=p;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(m,new s.ExportSpecifier(p,g))},v.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(u.Messages.IllegalExportDeclaration);var m=this.createNode();this.expectKeyword("export");var p;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);p=this.finalize(m,new s.ExportDefaultDeclaration(g))}else if(this.matchKeyword("class")){var g=this.parseClassDeclaration(!0);p=this.finalize(m,new s.ExportDefaultDeclaration(g))}else if(this.matchContextualKeyword("async")){var g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();p=this.finalize(m,new s.ExportDefaultDeclaration(g))}else{this.matchContextualKeyword("from")&&this.throwError(u.Messages.UnexpectedToken,this.lookahead.value);var g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),p=this.finalize(m,new s.ExportDefaultDeclaration(g))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var y=this.lookahead.value?u.Messages.UnexpectedToken:u.Messages.MissingFromClause;this.throwError(y,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),p=this.finalize(m,new s.ExportAllDeclaration(x))}else if(this.lookahead.type===4){var g=void 0;switch(this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}p=this.finalize(m,new s.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction()){var g=this.parseFunctionDeclaration();p=this.finalize(m,new s.ExportNamedDeclaration(g,[],null))}else{var b=[],E=null,w=!1;for(this.expect("{");!this.match("}");)w=w||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),E=this.parseModuleSpecifier(),this.consumeSemicolon();else if(w){var y=this.lookahead.value?u.Messages.UnexpectedToken:u.Messages.MissingFromClause;this.throwError(y,this.lookahead.value)}else this.consumeSemicolon();p=this.finalize(m,new s.ExportNamedDeclaration(null,b,E))}return p},v}();r.Parser=d},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});function a(o,i){if(!o)throw new Error("ASSERT: "+i)}r.assert=a},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function o(){this.errors=[],this.tolerant=!1}return o.prototype.recordError=function(i){this.errors.push(i)},o.prototype.tolerate=function(i){if(this.tolerant)this.recordError(i);else throw i},o.prototype.constructError=function(i,u){var s=new Error(i);try{throw s}catch(l){Object.create&&Object.defineProperty&&(s=Object.create(l),Object.defineProperty(s,"column",{value:u}))}return s},o.prototype.createError=function(i,u,s,l){var c="Line "+u+": "+l,f=this.constructError(c,s);return f.index=i,f.lineNumber=u,f.description=l,f},o.prototype.throwError=function(i,u,s,l){throw this.createError(i,u,s,l)},o.prototype.tolerateError=function(i,u,s,l){var c=this.createError(i,u,s,l);if(this.tolerant)this.recordError(c);else throw c},o}();r.ErrorHandler=a},function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(n,r,a){Object.defineProperty(r,"__esModule",{value:!0});var o=a(9),i=a(4),u=a(11);function s(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function l(f){return"01234567".indexOf(f)}var c=function(){function f(h,d){this.source=h,this.errorHandler=d,this.trackComment=!1,this.isModule=!1,this.length=h.length,this.index=0,this.lineNumber=h.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(h){this.index=h.index,this.lineNumber=h.lineNumber,this.lineStart=h.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(h){return h===void 0&&(h=u.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,h)},f.prototype.tolerateUnexpectedToken=function(h){h===void 0&&(h=u.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,h)},f.prototype.skipSingleLineComment=function(h){var d=[],v,m;for(this.trackComment&&(d=[],v=this.index-h,m={start:{line:this.lineNumber,column:this.index-this.lineStart-h},end:{}});!this.eof();){var p=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(p)){if(this.trackComment){m.end={line:this.lineNumber,column:this.index-this.lineStart-1};var g={multiLine:!1,slice:[v+h,this.index-1],range:[v,this.index-1],loc:m};d.push(g)}return p===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,d}}if(this.trackComment){m.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!1,slice:[v+h,this.index],range:[v,this.index],loc:m};d.push(g)}return d},f.prototype.skipMultiLineComment=function(){var h=[],d,v;for(this.trackComment&&(h=[],d=this.index-2,v={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var m=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(m))m===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(m===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){v.end={line:this.lineNumber,column:this.index-this.lineStart};var p={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:v};h.push(p)}return h}++this.index}else++this.index}if(this.trackComment){v.end={line:this.lineNumber,column:this.index-this.lineStart};var p={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:v};h.push(p)}return this.tolerateUnexpectedToken(),h},f.prototype.scanComments=function(){var h;this.trackComment&&(h=[]);for(var d=this.index===0;!this.eof();){var v=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(v))++this.index;else if(i.Character.isLineTerminator(v))++this.index,v===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,d=!0;else if(v===47)if(v=this.source.charCodeAt(this.index+1),v===47){this.index+=2;var m=this.skipSingleLineComment(2);this.trackComment&&(h=h.concat(m)),d=!0}else if(v===42){this.index+=2;var m=this.skipMultiLineComment();this.trackComment&&(h=h.concat(m))}else break;else if(d&&v===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var m=this.skipSingleLineComment(3);this.trackComment&&(h=h.concat(m))}else break;else if(v===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var m=this.skipSingleLineComment(4);this.trackComment&&(h=h.concat(m))}else break;else break}return h},f.prototype.isFutureReservedWord=function(h){switch(h){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(h){switch(h){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(h){return h==="eval"||h==="arguments"},f.prototype.isKeyword=function(h){switch(h.length){case 2:return h==="if"||h==="in"||h==="do";case 3:return h==="var"||h==="for"||h==="new"||h==="try"||h==="let";case 4:return h==="this"||h==="else"||h==="case"||h==="void"||h==="with"||h==="enum";case 5:return h==="while"||h==="break"||h==="catch"||h==="throw"||h==="const"||h==="yield"||h==="class"||h==="super";case 6:return h==="return"||h==="typeof"||h==="delete"||h==="switch"||h==="export"||h==="import";case 7:return h==="default"||h==="finally"||h==="extends";case 8:return h==="function"||h==="continue"||h==="debugger";case 10:return h==="instanceof";default:return!1}},f.prototype.codePointAt=function(h){var d=this.source.charCodeAt(h);if(d>=55296&&d<=56319){var v=this.source.charCodeAt(h+1);if(v>=56320&&v<=57343){var m=d;d=(m-55296)*1024+v-56320+65536}}return d},f.prototype.scanHexEscape=function(h){for(var d=h==="u"?4:2,v=0,m=0;m<d;++m)if(!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index)))v=v*16+s(this.source[this.index++]);else return null;return String.fromCharCode(v)},f.prototype.scanUnicodeCodePointEscape=function(){var h=this.source[this.index],d=0;for(h==="}"&&this.throwUnexpectedToken();!this.eof()&&(h=this.source[this.index++],!!i.Character.isHexDigit(h.charCodeAt(0)));)d=d*16+s(h);return(d>1114111||h!=="}")&&this.throwUnexpectedToken(),i.Character.fromCodePoint(d)},f.prototype.getIdentifier=function(){for(var h=this.index++;!this.eof();){var d=this.source.charCodeAt(this.index);if(d===92)return this.index=h,this.getComplexIdentifier();if(d>=55296&&d<57343)return this.index=h,this.getComplexIdentifier();if(i.Character.isIdentifierPart(d))++this.index;else break}return this.source.slice(h,this.index)},f.prototype.getComplexIdentifier=function(){var h=this.codePointAt(this.index),d=i.Character.fromCodePoint(h);this.index+=d.length;var v;for(h===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"),(v===null||v==="\\"||!i.Character.isIdentifierStart(v.charCodeAt(0)))&&this.throwUnexpectedToken()),d=v);!this.eof()&&(h=this.codePointAt(this.index),!!i.Character.isIdentifierPart(h));)v=i.Character.fromCodePoint(h),d+=v,this.index+=v.length,h===92&&(d=d.substr(0,d.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"),(v===null||v==="\\"||!i.Character.isIdentifierPart(v.charCodeAt(0)))&&this.throwUnexpectedToken()),d+=v);return d},f.prototype.octalToDecimal=function(h){var d=h!=="0",v=l(h);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(d=!0,v=v*8+l(this.source[this.index++]),"0123".indexOf(h)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(v=v*8+l(this.source[this.index++]))),{code:v,octal:d}},f.prototype.scanIdentifier=function(){var h,d=this.index,v=this.source.charCodeAt(d)===92?this.getComplexIdentifier():this.getIdentifier();if(v.length===1?h=3:this.isKeyword(v)?h=4:v==="null"?h=5:v==="true"||v==="false"?h=1:h=3,h!==3&&d+v.length!==this.index){var m=this.index;this.index=d,this.tolerateUnexpectedToken(u.Messages.InvalidEscapedReservedWord),this.index=m}return{type:h,value:v,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanPunctuator=function(){var h=this.index,d=this.source[this.index];switch(d){case"(":case"{":d==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,d="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:d=this.source.substr(this.index,4),d===">>>="?this.index+=4:(d=d.substr(0,3),d==="==="||d==="!=="||d===">>>"||d==="<<="||d===">>="||d==="**="?this.index+=3:(d=d.substr(0,2),d==="&&"||d==="||"||d==="=="||d==="!="||d==="+="||d==="-="||d==="*="||d==="/="||d==="++"||d==="--"||d==="<<"||d===">>"||d==="&="||d==="|="||d==="^="||d==="%="||d==="<="||d===">="||d==="=>"||d==="**"?this.index+=2:(d=this.source[this.index],"<>=!+-*%&|^/".indexOf(d)>=0&&++this.index)))}return this.index===h&&this.throwUnexpectedToken(),{type:7,value:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},f.prototype.scanHexLiteral=function(h){for(var d="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];return d.length===0&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+d,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},f.prototype.scanBinaryLiteral=function(h){for(var d="",v;!this.eof()&&(v=this.source[this.index],!(v!=="0"&&v!=="1"));)d+=this.source[this.index++];return d.length===0&&this.throwUnexpectedToken(),this.eof()||(v=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(v)||i.Character.isDecimalDigit(v))&&this.throwUnexpectedToken()),{type:6,value:parseInt(d,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},f.prototype.scanOctalLiteral=function(h,d){var v="",m=!1;for(i.Character.isOctalDigit(h.charCodeAt(0))?(m=!0,v="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)v+=this.source[this.index++];return!m&&v.length===0&&this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(v,8),octal:m,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var h=this.index+1;h<this.length;++h){var d=this.source[h];if(d==="8"||d==="9")return!1;if(!i.Character.isOctalDigit(d.charCodeAt(0)))return!0}return!0},f.prototype.scanNumericLiteral=function(){var h=this.index,d=this.source[h];o.assert(i.Character.isDecimalDigit(d.charCodeAt(0))||d===".","Numeric literal must start with a decimal digit or a decimal point");var v="";if(d!=="."){if(v=this.source[this.index++],d=this.source[this.index],v==="0"){if(d==="x"||d==="X")return++this.index,this.scanHexLiteral(h);if(d==="b"||d==="B")return++this.index,this.scanBinaryLiteral(h);if(d==="o"||d==="O")return this.scanOctalLiteral(d,h);if(d&&i.Character.isOctalDigit(d.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(d,h)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)v+=this.source[this.index++];d=this.source[this.index]}if(d==="."){for(v+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)v+=this.source[this.index++];d=this.source[this.index]}if(d==="e"||d==="E")if(v+=this.source[this.index++],d=this.source[this.index],(d==="+"||d==="-")&&(v+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)v+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(v),lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},f.prototype.scanStringLiteral=function(){var h=this.index,d=this.source[h];o.assert(d==="'"||d==='"',"String literal must starts with a quote"),++this.index;for(var v=!1,m="";!this.eof();){var p=this.source[this.index++];if(p===d){d="";break}else if(p==="\\")if(p=this.source[this.index++],!p||!i.Character.isLineTerminator(p.charCodeAt(0)))switch(p){case"u":if(this.source[this.index]==="{")++this.index,m+=this.scanUnicodeCodePointEscape();else{var g=this.scanHexEscape(p);g===null&&this.throwUnexpectedToken(),m+=g}break;case"x":var y=this.scanHexEscape(p);y===null&&this.throwUnexpectedToken(u.Messages.InvalidHexEscapeSequence),m+=y;break;case"n":m+=`
|
|
12
12
|
`;break;case"r":m+="\r";break;case"t":m+=" ";break;case"b":m+="\b";break;case"f":m+="\f";break;case"v":m+="\v";break;case"8":case"9":m+=p,this.tolerateUnexpectedToken();break;default:if(p&&i.Character.isOctalDigit(p.charCodeAt(0))){var x=this.octalToDecimal(p);v=x.octal||v,m+=String.fromCharCode(x.code)}else m+=p;break}else++this.lineNumber,p==="\r"&&this.source[this.index]===`
|
|
13
13
|
`&&++this.index,this.lineStart=this.index;else{if(i.Character.isLineTerminator(p.charCodeAt(0)))break;m+=p}}return d!==""&&(this.index=h,this.throwUnexpectedToken()),{type:8,value:m,octal:v,lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},f.prototype.scanTemplate=function(){var h="",d=!1,v=this.index,m=this.source[v]==="`",p=!1,g=2;for(++this.index;!this.eof();){var y=this.source[this.index++];if(y==="`"){g=1,p=!0,d=!0;break}else if(y==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,d=!0;break}h+=y}else if(y==="\\")if(y=this.source[this.index++],i.Character.isLineTerminator(y.charCodeAt(0)))++this.lineNumber,y==="\r"&&this.source[this.index]===`
|
|
@@ -65,8 +65,8 @@ Expecting `+D.join(", ")+", got '"+(this.terminals_[x]||x)+"'":O="Parse error on
|
|
|
65
65
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
66
66
|
* derived from CryptoJS.mode.CTR
|
|
67
67
|
* Jan Hruby jhruby.web@gmail.com
|
|
68
|
-
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(u){if((u>>24&255)===255){var s=u>>16&255,l=u>>8&255,c=u&255;s===255?(s=0,l===255?(l=0,c===255?c=0:++c):++l):++s,u=0,u+=s<<16,u+=l<<8,u+=c}else u+=1<<24;return u}function o(u){return(u[0]=a(u[0]))===0&&(u[1]=a(u[1])),u}var i=r.Encryptor=r.extend({processBlock:function(u,s){var l=this._cipher,c=l.blockSize,f=this._iv,h=this._counter;f&&(h=this._counter=f.slice(0),this._iv=void 0),o(h);var d=h.slice(0);l.encryptBlock(d,0);for(var v=0;v<c;v++)u[s+v]^=d[v]}});return r.Decryptor=i,r}(),n.mode.CTRGladman})}(ete)),i1}var a1={},nte={get exports(){return a1},set exports(t){a1=t}},Ok;function rte(){return Ok||(Ok=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(o,i){var u=this._cipher,s=u.blockSize,l=this._iv,c=this._keystream;l&&(c=this._keystream=l.slice(0),this._iv=void 0),u.encryptBlock(c,0);for(var f=0;f<s;f++)o[i+f]^=c[f]}});return r.Decryptor=a,r}(),n.mode.OFB})}(nte)),a1}var o1={},ite={get exports(){return o1},set exports(t){o1=t}},kk;function ate(){return kk||(kk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,o){this._cipher.encryptBlock(a,o)}}),r.Decryptor=r.extend({processBlock:function(a,o){this._cipher.decryptBlock(a,o)}}),r}(),n.mode.ECB})}(ite)),o1}var s1={},ote={get exports(){return s1},set exports(t){s1=t}},Bk;function ste(){return Bk||(Bk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.AnsiX923={pad:function(r,a){var o=r.sigBytes,i=a*4,u=i-o%i,s=o+u-1;r.clamp(),r.words[s>>>2]|=u<<24-s%4*8,r.sigBytes+=u},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(ote)),s1}var l1={},lte={get exports(){return l1},set exports(t){l1=t}},Ik;function ute(){return Ik||(Ik=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.Iso10126={pad:function(r,a){var o=a*4,i=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(lte)),l1}var u1={},cte={get exports(){return u1},set exports(t){u1=t}},Nk;function fte(){return Nk||(Nk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(cte)),u1}var c1={},pte={get exports(){return c1},set exports(t){c1=t}},Mk;function hte(){return Mk||(Mk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.ZeroPadding={pad:function(r,a){var o=a*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var a=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(a[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(pte)),c1}var f1={},dte={get exports(){return f1},set exports(t){f1=t}},Fk;function vte(){return Fk||(Fk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(dte)),f1}var p1={},mte={get exports(){return p1},set exports(t){p1=t}},Lk;function gte(){return Lk||(Lk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return function(r){var a=n,o=a.lib,i=o.CipherParams,u=a.enc,s=u.Hex,l=a.format;l.Hex={stringify:function(c){return c.ciphertext.toString(s)},parse:function(c){var f=s.parse(c);return i.create({ciphertext:f})}}}(),n.format.Hex})}(mte)),p1}var h1={},yte={get exports(){return h1},set exports(t){h1=t}},Rk;function _te(){return Rk||(Rk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo,u=[],s=[],l=[],c=[],f=[],h=[],d=[],v=[],m=[],p=[];(function(){for(var x=[],b=0;b<256;b++)b<128?x[b]=b<<1:x[b]=b<<1^283;for(var E=0,w=0,b=0;b<256;b++){var S=w^w<<1^w<<2^w<<3^w<<4;S=S>>>8^S&255^99,u[E]=S,s[S]=E;var A=x[E],P=x[A],C=x[P],D=x[S]*257^S*16843008;l[E]=D<<24|D>>>8,c[E]=D<<16|D>>>16,f[E]=D<<8|D>>>24,h[E]=D;var D=C*16843009^P*65537^A*257^E*16843008;d[S]=D<<24|D>>>8,v[S]=D<<16|D>>>16,m[S]=D<<8|D>>>24,p[S]=D,E?(E=A^x[x[x[C^A]]],w^=x[x[w]]):E=w=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=o.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var b=this._keyPriorReset=this._key,E=b.words,w=b.sigBytes/4,S=this._nRounds=w+6,A=(S+1)*4,P=this._keySchedule=[],C=0;C<A;C++)C<w?P[C]=E[C]:(x=P[C-1],C%w?w>6&&C%w==4&&(x=u[x>>>24]<<24|u[x>>>16&255]<<16|u[x>>>8&255]<<8|u[x&255]):(x=x<<8|x>>>24,x=u[x>>>24]<<24|u[x>>>16&255]<<16|u[x>>>8&255]<<8|u[x&255],x^=g[C/w|0]<<24),P[C]=P[C-w]^x);for(var D=this._invKeySchedule=[],O=0;O<A;O++){var C=A-O;if(O%4)var x=P[C];else var x=P[C-4];O<4||C<=4?D[O]=x:D[O]=d[u[x>>>24]]^v[u[x>>>16&255]]^m[u[x>>>8&255]]^p[u[x&255]]}}},encryptBlock:function(x,b){this._doCryptBlock(x,b,this._keySchedule,l,c,f,h,u)},decryptBlock:function(x,b){var E=x[b+1];x[b+1]=x[b+3],x[b+3]=E,this._doCryptBlock(x,b,this._invKeySchedule,d,v,m,p,s);var E=x[b+1];x[b+1]=x[b+3],x[b+3]=E},_doCryptBlock:function(x,b,E,w,S,A,P,C){for(var D=this._nRounds,O=x[b]^E[0],k=x[b+1]^E[1],B=x[b+2]^E[2],N=x[b+3]^E[3],M=4,j=1;j<D;j++){var F=w[O>>>24]^S[k>>>16&255]^A[B>>>8&255]^P[N&255]^E[M++],R=w[k>>>24]^S[B>>>16&255]^A[N>>>8&255]^P[O&255]^E[M++],G=w[B>>>24]^S[N>>>16&255]^A[O>>>8&255]^P[k&255]^E[M++],L=w[N>>>24]^S[O>>>16&255]^A[k>>>8&255]^P[B&255]^E[M++];O=F,k=R,B=G,N=L}var F=(C[O>>>24]<<24|C[k>>>16&255]<<16|C[B>>>8&255]<<8|C[N&255])^E[M++],R=(C[k>>>24]<<24|C[B>>>16&255]<<16|C[N>>>8&255]<<8|C[O&255])^E[M++],G=(C[B>>>24]<<24|C[N>>>16&255]<<16|C[O>>>8&255]<<8|C[k&255])^E[M++],L=(C[N>>>24]<<24|C[O>>>16&255]<<16|C[k>>>8&255]<<8|C[B&255])^E[M++];x[b]=F,x[b+1]=R,x[b+2]=G,x[b+3]=L},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(yte)),h1}var d1={},bte={get exports(){return d1},set exports(t){d1=t}},jk;function xte(){return jk||(jk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.BlockCipher,u=r.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=u.DES=i.extend({_doReset:function(){for(var g=this._key,y=g.words,x=[],b=0;b<56;b++){var E=s[b]-1;x[b]=y[E>>>5]>>>31-E%32&1}for(var w=this._subKeys=[],S=0;S<16;S++){for(var A=w[S]=[],P=c[S],b=0;b<24;b++)A[b/6|0]|=x[(l[b]-1+P)%28]<<31-b%6,A[4+(b/6|0)]|=x[28+(l[b+24]-1+P)%28]<<31-b%6;A[0]=A[0]<<1|A[0]>>>31;for(var b=1;b<7;b++)A[b]=A[b]>>>(b-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var C=this._invSubKeys=[],b=0;b<16;b++)C[b]=w[15-b]},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._subKeys)},decryptBlock:function(g,y){this._doCryptBlock(g,y,this._invSubKeys)},_doCryptBlock:function(g,y,x){this._lBlock=g[y],this._rBlock=g[y+1],v.call(this,4,252645135),v.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),v.call(this,1,1431655765);for(var b=0;b<16;b++){for(var E=x[b],w=this._lBlock,S=this._rBlock,A=0,P=0;P<8;P++)A|=f[P][((S^E[P])&h[P])>>>0];this._lBlock=S,this._rBlock=w^A}var C=this._lBlock;this._lBlock=this._rBlock,this._rBlock=C,v.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),g[y]=this._lBlock,g[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(g,y){var x=(this._lBlock>>>g^this._rBlock)&y;this._rBlock^=x,this._lBlock^=x<<g}function m(g,y){var x=(this._rBlock>>>g^this._lBlock)&y;this._lBlock^=x,this._rBlock^=x<<g}r.DES=i._createHelper(d);var p=u.TripleDES=i.extend({_doReset:function(){var g=this._key,y=g.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=y.slice(0,2),b=y.length<4?y.slice(0,2):y.slice(2,4),E=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=d.createEncryptor(o.create(x)),this._des2=d.createEncryptor(o.create(b)),this._des3=d.createEncryptor(o.create(E))},encryptBlock:function(g,y){this._des1.encryptBlock(g,y),this._des2.decryptBlock(g,y),this._des3.encryptBlock(g,y)},decryptBlock:function(g,y){this._des3.decryptBlock(g,y),this._des2.encryptBlock(g,y),this._des1.decryptBlock(g,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=i._createHelper(p)}(),n.TripleDES})}(bte)),d1}var v1={},Ete={get exports(){return v1},set exports(t){v1=t}},Vk;function wte(){return Vk||(Vk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=i.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,h=c.sigBytes,d=this._S=[],v=0;v<256;v++)d[v]=v;for(var v=0,m=0;v<256;v++){var p=v%h,g=f[p>>>2]>>>24-p%4*8&255;m=(m+d[v]+g)%256;var y=d[v];d[v]=d[m],d[m]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var c=this._S,f=this._i,h=this._j,d=0,v=0;v<4;v++){f=(f+1)%256,h=(h+c[f])%256;var m=c[f];c[f]=c[h],c[h]=m,d|=c[(c[f]+c[h])%256]<<24-v*8}return this._i=f,this._j=h,d}r.RC4=o._createHelper(u);var l=i.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)s.call(this)}});r.RC4Drop=o._createHelper(l)}(),n.RC4})}(Ete)),v1}var m1={},Ste={get exports(){return m1},set exports(t){m1=t}},zk;function Cte(){return zk||(zk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.Rabbit=o.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],p=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)p[v]^=m[v+4&7];if(d){var g=d.words,y=g[0],x=g[1],b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=b>>>16|E&4294901760,S=E<<16|b&65535;p[0]^=b,p[1]^=w,p[2]^=E,p[3]^=S,p[4]^=b,p[5]^=w,p[6]^=E,p[7]^=S;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,x=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^x}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(Ste)),m1}var g1={},Ate={get exports(){return g1},set exports(t){g1=t}},Uk;function Tte(){return Uk||(Uk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.RabbitLegacy=o.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],m=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)m[p]^=v[p+4&7];if(d){var g=d.words,y=g[0],x=g[1],b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=b>>>16|E&4294901760,S=E<<16|b&65535;m[0]^=b,m[1]^=w,m[2]^=E,m[3]^=S,m[4]^=b,m[5]^=w,m[6]^=E,m[7]^=S;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,x=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^x}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(Ate)),g1}var y1={},Dte={get exports(){return y1},set exports(t){y1=t}},Hk;function Pte(){return Hk||(Hk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo;const u=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(p,g){let y=g>>24&255,x=g>>16&255,b=g>>8&255,E=g&255,w=p.sbox[0][y]+p.sbox[1][x];return w=w^p.sbox[2][b],w=w+p.sbox[3][E],w}function h(p,g,y){let x=g,b=y,E;for(let w=0;w<u;++w)x=x^p.pbox[w],b=f(p,x)^b,E=x,x=b,b=E;return E=x,x=b,b=E,b=b^p.pbox[u],x=x^p.pbox[u+1],{left:x,right:b}}function d(p,g,y){let x=g,b=y,E;for(let w=u+1;w>1;--w)x=x^p.pbox[w],b=f(p,x)^b,E=x,x=b,b=E;return E=x,x=b,b=E,b=b^p.pbox[1],x=x^p.pbox[0],{left:x,right:b}}function v(p,g,y){for(let S=0;S<4;S++){p.sbox[S]=[];for(let A=0;A<256;A++)p.sbox[S][A]=l[S][A]}let x=0;for(let S=0;S<u+2;S++)p.pbox[S]=s[S]^g[x],x++,x>=y&&(x=0);let b=0,E=0,w=0;for(let S=0;S<u+2;S+=2)w=h(p,b,E),b=w.left,E=w.right,p.pbox[S]=b,p.pbox[S+1]=E;for(let S=0;S<4;S++)for(let A=0;A<256;A+=2)w=h(p,b,E),b=w.left,E=w.right,p.sbox[S][A]=b,p.sbox[S][A+1]=E;return!0}var m=i.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,g=p.words,y=p.sigBytes/4;v(c,g,y)}},encryptBlock:function(p,g){var y=h(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},decryptBlock:function(p,g){var y=d(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(Dte)),y1}(function(t,e){(function(n,r,a){t.exports=r(Cr(),jy(),Tee(),Pee(),sf(),Bee(),lf(),vk(),vw(),Lee(),_k(),Vee(),Uee(),Gee(),mw(),Xee(),Uu(),ta(),Qee(),$ee(),tte(),rte(),ate(),ste(),ute(),fte(),hte(),vte(),gte(),_te(),xte(),wte(),Cte(),Tte(),Pte())})(Xn,function(n){return n})})(Eee);const Jo=dw;function Gk(t,e,n,r,a){const o=a.parse(t),i={iv:e,mode:n,padding:r};return{encrypt:(l,c)=>{const f=a.parse(l),h=Jo.AES.encrypt(f,o,i);return c?Jo.enc.Hex.stringify(h==null?void 0:h.ciphertext):h.toString()},decrypt:(l,c)=>{if(c){const f={ciphertext:Jo.enc.Hex.parse(l)},h=Jo.AES.decrypt(f,o,i);return h==null?void 0:h.toString(a)}else return Jo.AES.decrypt(l,o,i)}}}function Ote(t,e){var n=Gk(t,e,Jo.mode.CBC,Jo.pad.Pkcs7,Jo.enc.Utf8);return n}function kte(t,e){var n=Gk(t,e,Jo.mode.ECB,Jo.pad.Pkcs7,Jo.enc.Utf8);return n}const{openWindow:Bte}=RE(),{sendToIframe:Ite,sendToParent:Nte,receive:Mte,sendToIframeByName:Fte,send:Lte}=PP();function uf(t){return{instance:t==null?void 0:t.instance,compParams:t==null?void 0:t.compParams,util:{url:Kl,cookie:K5,localStorage:Zc,service:HQ,sysFunc:{...Wk,idCardInfo:Xl,uniqueBy:mY,sortBy:vY,groupBy:VD,pageBy:zD},window:{openWindow:Bte,findUp:xo.findUp,findDown:xo.findDown,find:xo.find,findByIframeId:xo.findByIframeId,findTop:xo.findTop},message:{send:Lte,sendToIframe:Ite,sendToParent:Nte,sendToIframeByName:Fte,receive:Mte},tip:{ElMessage:di.ElMessage,ElMessageBox:di.ElMessageBox,ElNotification:di.ElNotification},json:{fromJson:Rr,toJson:Jr},security:{CryptoJS:Jo,SM:{SMWithTraceKey:iq,SM2:h0,SM4:VE,SecInner:py},AES:{CBC_Pkcs7:Ote,ECB_Pkcs7:kte}}}}}const Wk=yee();zr.rowScope+"",te.i18nt("designer.var.rowScope");const gw=function(t){return{[_r.number]:/^[-+]?(\d+\.\d+|\d+|\.\d+)$/,[_r.letter]:/^[A-Za-z]+$/,[_r.letterAndNumber]:/^[A-Za-z0-9]+$/,[_r.letterStartNumberIncluded]:/^[A-Za-z]+[A-Za-z\d]*$/,[_r.mobilePhone]:/^[1][3-9][0-9]{9}$/,[_r.email]:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,[_r.url]:/^(https?|ftp):\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$/,[_r.noBlankStart]:/^[^\s].*$/,[_r.noBlankEnd]:/^.*[^\s]$/,[_r.noBlankStartEnd]:/^[^\s].*[^\s]$/,[_r.weakPassword]:/^[A-Za-z\d]{6,}$/,[_r.mediumPassword]:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/,[_r.strongPassword]:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{10,}$/,[_r.noChinese]:/^[^\u4e00-\u9fa5]+$/,[_r.chinese]:/^[\u4e00-\u9fa5]+$/,[_r.chinaIdcard]:Xl.isValid,[_r.required]:n=>n!=null&&n!==""&&(!Array.isArray(n)||n.length>0)}[t]},Rte=(t,e,n)=>{var r=new Error(e);return r.rule=t,r.force=n,r},Kk=(t,e,n,r,a)=>{t?n():n(Rte(e,r,a))},_1=function(t,e,n,r,a,o){if($2(t)){r();return}let i=a,u=!0;oY(t)?u=t==null?void 0:t(n):u=new RegExp(t).test(n),Kk(u,e,r,i,o)},Pa=function(t,e,n,r,a,o){if(lr(n)){r();return}if(Array.isArray(n)&&n.length<=0){r();return}_1(gw(t),e,n,r,a,o)},ih={number(t,e,n,r){Pa(_r.number,t,e,n,te.i18nt("render.hint.numberFailed"),r)},letter(t,e,n,r){Pa(_r.letter,t,e,n,te.i18nt("render.hint.letterFailed"),r)},letterAndNumber(t,e,n,r){Pa(_r.letterAndNumber,t,e,n,te.i18nt("render.hint.letterAndNumberFailed"),r)},mobilePhone(t,e,n,r){Pa(_r.mobilePhone,t,e,n,te.i18nt("render.hint.mobilePhoneFailed"),r)},noBlankStart(t,e,n,r){Pa(_r.noBlankStart,t,e,n,te.i18nt("render.hint.noBlankStartFailed"),r)},noBlankEnd(t,e,n,r){Pa(_r.noBlankEnd,t,e,n,te.i18nt("render.hint.noBlankEndFailed"),r)},noBlankStartEnd(t,e,n,r){Pa(_r.noBlankStartEnd,t,e,n,te.i18nt("render.hint.noBlankStartEndFailed"),r)},letterStartNumberIncluded(t,e,n,r){Pa(_r.letterStartNumberIncluded,t,e,n,te.i18nt("render.hint.letterStartNumberIncludedFailed"),r)},noChinese(t,e,n,r){Pa(_r.noChinese,t,e,n,te.i18nt("render.hint.noChineseFailed"),r)},chinese(t,e,n,r){Pa(_r.chinese,t,e,n,te.i18nt("render.hint.chineseFailed"),r)},email(t,e,n,r){Pa(_r.email,t,e,n,te.i18nt("render.hint.emailFailed"),r)},url(t,e,n,r){Pa(_r.url,t,e,n,te.i18nt("render.hint.urlFailed"),r)},chinaIdcard(t,e,n,r){Pa(_r.chinaIdcard,t,e,n,te.i18nt("render.hint.chinaIdcardFailed"),r)},weakPassword(t,e,n,r){Pa(_r.weakPassword,t,e,n,te.i18nt("render.hint.weakPasswordFailed"),r)},mediumPassword(t,e,n,r){Pa(_r.mediumPassword,t,e,n,te.i18nt("render.hint.mediumPasswordFailed"),r)},strongPassword(t,e,n,r){Pa(_r.strongPassword,t,e,n,te.i18nt("render.hint.strongPasswordFailed"),r)},required(t,e,n,r,a){let o=a||te.i18nt("render.hint.fieldRequired");_1(gw(_r.required),t,e,n,o,r)},regExp(t,e,n,r,a,o){return _1(o,t,e,n,a||"invalid value",r)},range(t,e,n,r,a,o){return _1(o,t,e,n,a||"invalid value",r)}};function Zo(t,e,n,r){const a=e==null?void 0:e.designState,o=e,i=W=>t?lt.getOptions(t,W,!0)!=null:!1,u=(W,$=!1)=>t?lt.getOptions(t,W,$,!a,o):null,s=(W,$)=>{if(t)return lt.setOptions(t,W,$)},l=(W,$)=>{ea(t==null?void 0:t.options,W)&&s(W,$)},c=W=>{const $=lt.getOrgOption(t,W);return m($)},f=(W,$,ue=!1)=>{var Ne;const Ce=(Ne=t==null?void 0:t.options)==null?void 0:Ne[W];var ke=ue?ye.getValue(Ce,!1,!a,{...o,schemaParams:$}):c(W);return ke},h=(W,$,ue,Ce)=>{if(!$)return;ue==null||ue();const ke=Sr(E.value).includes($)?E:Sr(S.value).includes($)?S:null;if(W&&ke)_.watch(()=>{var Ne;return(Ne=ke==null?void 0:ke.value)==null?void 0:Ne[$]},(Ne,Me)=>{Ce==null||Ce(Ne,Me)},{immediate:!0});else{const Ne=u($);_.isRef(Ne)?_.watch(Ne,(Me,Ue)=>{Ce==null||Ce(Me,Ue)},{immediate:!0}):Ce==null||Ce(Ne,null)}},d=(W,$)=>{t&<.setEnable(t,W,$)},v=(W,$,ue)=>VQ(W,$,ue,e),m=W=>{var $=ye.getType(W),ue=ye.getValue(W,!1,!a,o);switch($){case xe.dataObject:{const Ce=lt.getOptions(W,"type");if(xi(ue)&&Ce){if([Ge.array,Ge.object].includes(Ce))return ue==null||ue===""?null:Rr(String(ue||""));if([Ge.bigint,Ge.number].includes(Ce))return ku(ue)}return ue}case xe.slot:return EP(ue);case xe.icon:{const{instance:Ce}=Ha(r);return Ce?oO(ue,Ce):ue}case xe.event:case xe.placerHook:case xe.hook:{if(lr(ue)||ue===""||a)break;return(...ke)=>{let Ne={};var Me=1;ke==null||ke.map(rt=>Ne["args"+Me++]=rt);const{instance:Ue}=Ha(r||(o==null?void 0:o.instance)),Ve=uf({instance:Ue,compParams:o==null?void 0:o.globalConfig});Ne[pn.externalArgs]=Ve;const We=ue;return We!=null&&We.type?v(We,Ne,Ue):ll(ue,Ne)}}default:return ue}},p=(W,$,ue)=>{var Ce=ye.getOptions(W),ke={};return ke.slotName=(Ce==null?void 0:Ce.slotName)||$,(W==null?void 0:W.widgetList)===void 0?ke.widgetList=[]:ke.widgetList=W==null?void 0:W.widgetList,ke.default=ue?_.shallowRef(ue):null,Object.assign(W,ke)},g=(W,$=!1,ue)=>{var ke;var Ce={};return!t||!t.options||(ke=Object.entries(t==null?void 0:t.options))==null||ke.forEach(([Ne,Me])=>{if(!(ue&&!(ue!=null&&ue(Ne)))){var Ue=ye.getOrgType(Me);if(W.includes(Ue)){var Ve=$?ye.getValue(Me,!1,!a,o):c(Ne);Ue===xe.slot?Ce[Ne]=p(Me,Ne,Ve):Wi(Ve)||(Ce[Ne]=Ve)}else Ue||[xe.prop].some(We=>W.includes(We))&&(Ce[Ne]=Me)}}),Ce},y=W=>{const $=W==null?void 0:W.type;var ue=[];return $&&(ue=[],W.formItemFlag&&(ue=ue.concat(["name","defaultValue"]))),ue},x=W=>{const $=u(Kt.state);$!=null&&_.isRef($)&&(W.readonly=_.computed(()=>jl($)===zl.readonly),W.disabled=_.computed(()=>{var ue=!i(zl.readonly),Ce=jl($)===zl.disabled,ke=jl($)===zl.readonly;return ue?Ce:Ce||ke}),W.hidden=_.computed(()=>jl($)===zl.hidden),W.custom=_.computed(()=>jl($)===zl.custom))},b=()=>{var W=y(t)||[],$=g([xe.icon,xe.hook,xe.variable,xe.prop,xe.dataObject],!1,ue=>{var Ce=!(n!=null&&n.fn_attr)||(n==null?void 0:n.fn_attr(ue)),ke=!W.includes(ue);return ke&&Ce});return x($),_.reactive($)},E=n!=null&&n.s_attr?_.computed(()=>b()):_.ref(),w=()=>{var W=g([xe.placer,xe.placerHook]);return _.reactive(W)},S=n!=null&&n.s_extendAttr?_.computed(()=>w()):_.ref(),A=n!=null&&n.s_events?_.computed(()=>g([xe.event])):_.ref(),P=n!=null&&n.s_fieldName?_.computed({get:()=>u(Kt.name),set:W=>{s(Kt.name,W)}}):_.ref(),C=(W=!1)=>{var $=u(pn.defaultValue,!0);return ea(t==null?void 0:t.options,pn.defaultValue)&&(!W||$!=null)},D=()=>{const W=()=>{let Me=u(pn.defaultValue),Ue=u(pn.defaultTime);return new Promise(Ve=>{Ta(Me).then(We=>{Ta(Ue).then(rt=>{if(!We)Ve(null);else{var At=NQ(It(We),It(rt));Ve(At==null?void 0:At.map(bt=>Vs(bt)))}})})})},$=()=>{let Me=u(pn.defaultValue),Ue=u(pn.defaultTime);return new Promise(Ve=>{Ta(Me).then(We=>{Ta(Ue).then(rt=>{if(!We)Ve(null);else{var At=nO(It(We),It(rt));Ve(Vs(At))}})})})},ue=()=>{let Me=u(pn.defaultValue);return new Promise(Ue=>{Ta(Me).then(Ve=>{if(!Ve)Ue(null);else{var We=eh(Ve);if(!We){Ue(null);return}Ue(Vs(We))}})})},Ce=()=>{let Me=u(pn.defaultValue);return new Promise(Ue=>{Ta(Me).then(Ve=>{if(!Ve)Ue(null);else{var We=m0(It(Ve));if(!We){Ue(null);return}var rt=We==null?void 0:We.map(At=>Vs(At));Ue(rt)}})})},ke=(Me,Ue,Ve,We="isdefault",rt="value")=>{var At,bt,kt;return(Ue||Array.isArray(Ve))&&((At=It(Ve))==null?void 0:At.length)<=0?(bt=Me==null?void 0:Me.filter(Et=>Et==null?void 0:Et[We]))==null?void 0:bt.map(Et=>Et==null?void 0:Et[rt]):(Ue===!1||lr(Ue)||!Array.isArray(Ve))&&lr(Ve)?(kt=Me==null?void 0:Me.find(Et=>Et==null?void 0:Et[We]))==null?void 0:kt[rt]:Ve};return{datePickerRangeDefaultValue:W,datePickerDefaultValue:$,timePickerDefaultValue:ue,timeRangePickerDefaultValue:Ce,optionWidgetDefaultValue:()=>new Promise(Me=>{let Ue=u(pn.defaultValue);Ta(Ue).then(Ve=>{const We=u(pn.multiple);Ta(We).then(rt=>{const At=u(pn.valueKey);Ta(At).then(bt=>{const kt=u(pn.isdefaultKey);Ta(kt).then(Et=>{Ta(R).then(Dt=>{const pt=ke(Dt,rt,Ve,Et,bt);Me(pt)})})})})})})}},O=()=>{if(!C())return;const W=D();return(t==null?void 0:t.type)===et.datePickerRange?W.datePickerRangeDefaultValue():(t==null?void 0:t.type)===et.datePicker?W.datePickerDefaultValue():(t==null?void 0:t.type)===et.timePicker?W.timePickerDefaultValue():(t==null?void 0:t.type)===et.timePickerRange?W.timeRangePickerDefaultValue():ea(t==null?void 0:t.options,Kt.optionItems)?W.optionWidgetDefaultValue():u(pn.defaultValue)},k=n!=null&&n.s_slots?_.computed(()=>{var W=g([xe.slot]);return Object.values(W)}):_.ref(),B=n!=null&&n.s_slots?_.computed(()=>{var W=g([xe.slot],!0);return Object.values(W)}):_.ref(),N=W=>{var $=Kt.optionItems;const ue=lt.getOrgOption(t,$);ye.isComplexValue(ue)||s($,UD(W))},M=W=>{if(ea(E.value,W)){var $=E.value[W];return _.isRef($)?$:_.computed(()=>j(E.value[W]))}else if(ea(S.value,W)){var ue=S.value[W];return _.isRef(ue)?ue:_.computed(()=>j(S.value[W]))}else{var Ce=u(W);return _.isRef(Ce)?Ce:_.computed(()=>j(u(W)))}},j=W=>{if(W==null)return W;if(_.isRef(W))return jl(W);var $=Un(W);return rE($,(ue,Ce,ke)=>{ye.needCalcValue(ke)&&(ue[Ce]=ye.getValue(ke,!0,!a,o))}),$===void 0?null:_.reactive($)},F=()=>!!ea(t==null?void 0:t.options,Kt.optionItems);let R=null;n!=null&&n.s_optionItems&&F()&&(R=M(Kt.optionItems));const G=W=>!!W.isdefault,L=W=>V(W,R==null?void 0:R.value),V=(W,$)=>{if(!Array.isArray($))return;let ue=[];return jD($,"children",Ce=>W(Ce),Ce=>{ue.push(Ce)}),ue},K=n!=null&&n.s_optionItems?_.computed(()=>L(G)):_.ref(),Y=n!=null&&n.s_optionItems?_.computed(()=>{var W,$;if(Array.isArray(R==null?void 0:R.value)){const ue=(W=K==null?void 0:K.value)==null?void 0:W.length;return ue?($=K==null?void 0:K.value)==null?void 0:$[ue-1]:void 0}}):_.ref(),J=n!=null&&n.s_optionItems?_.computed(()=>{var W;if(Array.isArray(R==null?void 0:R.value)){const $=(W=R==null?void 0:R.value)==null?void 0:W.findIndex(ue=>G(ue));return!isNaN($)&&$>-1?$:0}return 0}):_.ref(0),Q=(W,$)=>{const ue=jl(u(pn.valueKey,!1));return V(Ce=>{var ke=Ur(W,!0);return ke==null?void 0:ke.includes(Ce==null?void 0:Ce[ue])},$||(R==null?void 0:R.value))},ce=W=>u(pn.multiple,!1)||W,se=(W,$)=>{var ke;const ue=jl(u(pn.labelKey,!1)),Ce=(ke=Q(W))==null?void 0:ke.map(Ne=>Ne==null?void 0:Ne[ue]);return ce($)?Ce:Ce==null?void 0:Ce[0]},oe=(W,$)=>{var ke;const ue=jl(u(pn.valueKey,!1)),Ce=(ke=Q(W))==null?void 0:ke.map(Ne=>Ne==null?void 0:Ne[ue]);return ce($)?Ce:Ce==null?void 0:Ce[0]},ae=(W,$)=>{var ue;return(ue=Ur(se(W,$),!0))==null?void 0:ue.join(",")},ge=[],X=()=>{t!=null&&t.formItemFlag&&ge.splice(0,ge.length)},q=W=>{var $=u("required",!0);const ue=It($==null?void 0:$.options);if(ue!=null&&ue.enable)return{name:"required",label:W,required:!0,validator:(Ce,ke,Ne)=>{var Me=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});ih[_r.required](Ce,ke,Ne,ue==null?void 0:ue.forceMatch,Me)}}},re=W=>{var $=u("rangeValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable))return;let{minValue:Ce,maxValue:ke,includeMaxValue:Ne,includeMinValue:Me}=ue,Ue="range";var Ve=rt=>{if(lr(rt))return!0;const At=parseFloat(rt),bt=parseFloat(Ce),kt=parseFloat(ke),Et=()=>isNaN(bt)||lr(Ce)||(Me?At>=bt:At>bt),Dt=()=>isNaN(kt)||lr(ke)||(Ne?At<=kt:At<kt);return isNaN(At)||Et()&&Dt()};const We=(rt,At,bt,kt)=>{var Et="";const Dt=!lr(rt)&&(rt+"").trim()!="",pt=!lr(bt)&&(bt+"").trim()!="",En="值",it=(Ie,Pe,Fe,He)=>{const ft="<",wt=">",Bt="=";return He?Fe?`${wt}${Ie?Bt:""} ${Pe}`:`${ft}${Ie?Bt:""} ${Pe}`:Fe?`${Pe} ${wt}${Ie?Bt:""}`:`${Pe} ${ft}${Ie?Bt:""}`};if(Dt&&pt){var ut=it(At,rt,!1,!1),ne=it(kt,bt,!1,!0);Et=`${ut} ${En} ${ne}`}else Dt&&!pt?Et=`${En} ${it(At,rt,!0,!0)}`:!Dt&&pt&&(Et=`${En} ${it(At,bt,!1,!0)}`);return Et};return{name:Ue,label:W,trigger:[],validator:(rt,At,bt)=>{var kt=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});ih[Ue](rt,At,bt,ue==null?void 0:ue.forceMatch,kt||We(Ce,Me,ke,Ne),Ve)}}},he=W=>{var $=u("expValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable))return;let Ce=ue==null?void 0:ue.expression,ke=Ce;if(ke){var Ne=ih[ke],Me=!!Ne;return Me||(ke="regExp"),{name:ke,label:W,trigger:[],validator:(Ue,Ve,We)=>{var rt=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});Me?ih[ke](Ue,Ve,We,ue==null?void 0:ue.forceMatch,rt):ih[ke](Ue,Ve,We,ue==null?void 0:ue.forceMatch,rt,Ce)}}}},de=W=>{var $=u("fnValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable)||!ue.func)return;const{instance:Ce}=Ha(r),ke=ue==null?void 0:ue.errorMsg;return{name:"userDefine",label:W,trigger:[],validator:(Ne,Me,Ue)=>{ll(ue.func,{rule:Ne,value:Me,callback:Ve=>{Kk(!Ve,Ne,Ue,ke,ue==null?void 0:ue.forceMatch)},errorMsg:ke,ctx:Ce})}}},_e=()=>{if(t!=null&&t.formItemFlag&&!u("hidden")){X();var W=u("label"),$=[q(W),he(W),de(W),re(W)];return $==null||$.forEach(ue=>{ue&&ge.push(ue)}),me(),ge}},pe=()=>{ge&&ge.forEach(W=>{Se(W)})},me=()=>{ge&&ge.forEach(W=>{Ee(W)})},Se=W=>{W.trigger&&W.trigger.splice(0,W.trigger.length)},Ee=W=>{W.trigger&&(W.trigger.push("blur"),W.name!=="required"&&W.trigger.push("change"))};return{attrs:E,extendAttrs:S,events:A,slots:k,originSlots:B,computedDefaultValue:O,fieldName:P,hasDefaultValue:C,isOptionWidget:F,optionItems:R,activeOptionItems:K,activeOptionItem:Y,activeOptionItemIndex:J,filterOptionItems:L,getCheckedOptionLabels:se,getCheckedOptionValues:oe,getCheckedOptionItems:Q,getCheckedOptionText:ae,setOptionItems:N,setFieldEnable:d,setWidgetOption:l,getWidgetOption:c,getWidgetOptionByPropValue:m,hasFieldOptions:i,getFieldOptions:u,setFieldOptions:s,rules:ge,buildRules:_e,clearRules:X,disableChangeRule:Se,disableChangeValidate:pe,enableChangeRule:Ee,enableChangeValidate:me,addCssClass:W=>{var $=u("customClass");$?$.push(W):$=[W],s("customClass",$)},removeCssClass:W=>{var $=u("customClass");if(!$)return;let ue=-1;$.map((Ce,ke)=>{Ce===W&&(ue=ke)}),ue>-1&&($.splice(ue,1),s("customClass",$))},singleOption:f,watchOption:h}}function jte(t,e){const{getWidgetOptionByPropValue:n}=Zo({name:t.name,options:t},e),r=(m,p)=>{var g=Rr(ul(Jr(m),p));if(g)return _Z(g)},a=m=>r(t.headers,m),o=m=>r(t.params,m),i=m=>ul(t.url,m),u=()=>({timeout:t.timeout,withCredentials:t.withCredentials,maxBodyLength:t.maxBodyLength,maxContentLength:t.maxContentLength,responseType:t.responseType,responseEncoding:t.responseEncoding,method:t.method}),s=(m,p)=>{m&&m.interceptors.request.use(function(g){var y=g,x=v(t.willFetch,p,[g]);return x.result&&(y=x.data),y},function(g){return Promise.reject(g)})},l=(m,p)=>{m&&m.interceptors.response.use(function(g){var y=g,x=v(t.fitFetch,p,[g]);return x.result&&(y=x.data),y},function(g){var y=g,x=v(t.errorFetch,p,[g]);return x.result&&(y=x.data),Promise.reject(y)})},c=m=>{var p=ul(t.shouldFetch,m);return Is(t.shouldFetch)||p+""=="true"||p+""=="1"},f=m=>{if(t.data==null||t.data===void 0)return"";var p=Uo(t.data);return p?Rr(ul(Jr(t.data),m)):ul(t.data+"",m)},h=m=>{if(!c(m))return;const p=IE.create(u());return s(p,m),l(p,m),new Promise((g,y)=>{const x=i(m),b=f(m),E=a(m),w=o(m);if(!x)return;const S={url:x,data:b,headers:E,params:w};p.request(S).then(A=>{let P=A;var C=v(t.didFetch,m,[A]);C.result&&(P=C.data),g(P)}).catch(A=>{Ii.error("request",A,S),y(A)})})},d=m=>!!ye.getValue(m),v=(m,p,g)=>{let y={result:!1,data:null};if(d(m)){y.result=!0;const x=n(m);y.data=x({data:p},...g)}return y};return{req:h}}function b1(t){const e=t==null?void 0:t.pageConfig,n=()=>{var d;return It((d=e==null?void 0:e.schema)==null?void 0:d.value)},r=(d,v,m)=>{var p=ye.getEnable(m==null?void 0:m[d]),g=ye.getEnable(v==null?void 0:v[d]);return!g&&p&&v&&(v[d]=m==null?void 0:m[d]),v},a=(d,v)=>{let m=Un(d);["didFetch","willFetch","errorFetch","fitFetch"].forEach(g=>{m=r(g,m,e)});const{req:p}=jte(m,t);return p(v)},o=()=>{let d={};const v=py.decryptFromUrl(window.location.href);d=Object.assign(d,{[zr.urlParams]:v});const m=t==null?void 0:t.globalConfig;return d=Object.assign(d,{[zr.compParams]:m}),d},i=d=>{var p,g;let v={};v=Object.assign(v,{schemaParams:d}),Object.assign(v,o()),v=Object.assign(v,{cookies:K5.getAll()});var m={};return(g=(p=n==null?void 0:n())==null?void 0:p.filter(y=>y.protocal===qc.VALUE))==null||g.forEach(y=>{m=Object.assign(m,{[y.name]:ul(String(y==null?void 0:y.initialData),v)})}),v=Object.assign(v,{vars:m}),v},u=d=>{var v;return(v=n==null?void 0:n())==null?void 0:v.find(m=>m.name===d)},s=(d,v)=>{var m={};return d==null||d.forEach(p=>{p&&(m[p]=l(p,v))}),m},l=(d,v)=>{if(!d)return;const m=o(),p=m[zr.urlParams],g=m[zr.compParams];if(d==zr.urlParams)return p;if(d==zr.compParams)return g;const y=u(d),x=y==null?void 0:y.protocal,b=i(v);let E=null;switch(x){case qc.VALUE:E=ul(String(y==null?void 0:y.initialData),b),_Y(E)&&(E=Rr(E));break;case qc.REMOTE:E=y?a(y,b):null;break}return E},c=(d,v)=>{var m=l(d,v);return nE(m)?m:new Promise((p,g)=>{p(m)})},f=(d,v,m)=>new Promise((p,g)=>{const y=d==null?void 0:d.length;let x=0;var b=d==null?void 0:d.map(w=>c(w,v));let E=0;Promise.all(b.map(w=>w.then(S=>{var D;x++;var A=Math.round(x/y*100);const P=d[E++],C=(D=u(P))==null?void 0:D.description;return m==null||m(A,S,E,P,C),S}))).then(w=>{m==null||m(100,w,E,"completedAll","completedAll"),p(w)})});return{loadSchemaData:n,remoteReadSchemaData:s,readSchemaData:l,findSchema:u,getSchemaDataObject:(d,v,m)=>new Promise((p,g)=>{f(d,v,m).then(y=>{var x={};y.forEach(b=>{x=Zn(x,b,!0)}),p(x)})}),getOneSchemaData:c,getSchemaDatas:f}}const x1=(t,e=!1,n=" ")=>t==null?void 0:t.map(r=>F0(r,e)).join(n),Xk=(t,e)=>e?`(FROMJSON '${t}')`:t,F0=(t,e=!1)=>{var n;return(t==null?void 0:t.type)===Ei.Syntax.Literal?t.raw:(t==null?void 0:t.type)===Ei.Syntax.Identifier?t.name:t.type===Ei.Syntax.ExpressionStatement?F0(t.expression,void 0):(t==null?void 0:t.type)===Ei.Syntax.CallExpression?`(${(n=t.callee)==null?void 0:n.name} ${x1(t.arguments,!0)})`:(t==null?void 0:t.type)===Ei.Syntax.UnaryExpression?`${t.operator}${F0(t==null?void 0:t.argument)}`:(t==null?void 0:t.type)===Ei.Syntax.ObjectExpression?Xk(`{${x1(t==null?void 0:t.properties,e,",")}}`,e):(t==null?void 0:t.type)===Ei.Syntax.ArrayExpression?Xk(`[${x1(t.elements,e,",")}]`,e):(t==null?void 0:t.type)===Ei.Syntax.Property?`${F0(t==null?void 0:t.key)}:${F0(t==null?void 0:t.value)}`:""};function yw(){var t=["GETCHECKEDNAMES","GETCHECKEDNAME"];return{specialFuncNames:t,matchSpecialNode:r=>t.some(a=>r==null?void 0:r.includes(a)),specialNode:(r,a)=>{var o,i,u,s,l,c,f,h;if(r.type===Ei.Syntax.CallExpression){let d=Un(r.arguments);if(t.includes((o=r.callee)==null?void 0:o.name)){const v=(i=r.arguments)==null?void 0:i[0];(a==null?void 0:a[`${v.name}${zo.checkedOptions}`])!=null&&(d[0].name=`${v.name}${zo.checkedOptions}`)}if(t.includes((s=(u=r.callee)==null?void 0:u.property)==null?void 0:s.name)){const v=(l=r.arguments)==null?void 0:l[0];let m=`${(c=v==null?void 0:v.property)==null?void 0:c.name}${zo.checkedOptions}`,p=(f=v==null?void 0:v.object)==null?void 0:f.name;p?((h=a==null?void 0:a[p])==null?void 0:h[m])!=null&&(d[0].property.name=m):(a==null?void 0:a[m])!=null&&(d[0].property.name=m)}r.arguments=d}return r}}}const Vte=t=>{var e=U5(t),n=x1(e.body);n.startsWith("(")&&(n=n.substring(1)),n.endsWith(")")&&(n=n.substring(0,n.length-1));var r=eJ(e.body);return{expression:n,funcname:r}},zte=Object.freeze(Object.defineProperty({__proto__:null,getScriptResult:(t,e)=>new Promise((n,r)=>{if(!t||Is(t)){n(null);return}const a=u=>{var s=nJ(u);if(!(s!=null&&s.some(c=>!ea(e,c)))){s==null||s.forEach(c=>{e[c]===void 0&&(e[c]=null)});var l=Vte(u);return _ee(`{{${l.expression}}}`,e,l.funcname)}},{specialNode:o,matchSpecialNode:i}=yw();if(i(t)){const{init:u,replaceVariableName:s}=G5();u().then(l=>{t=s(l,t,o,e),n(a(t))})}else n(a(t))}),useSpecialNode:yw},Symbol.toStringTag,{value:"Module"})),_w=t=>typeof(t==null?void 0:t.value)=="boolean"?!1:null,bw=(t,e)=>{let n={};if(!Aa(t))return n;var r=e==null?void 0:e.instance;return rE(i0(t),(a,o,i)=>{var l,c,f,h;const u=(c=(l=r==null?void 0:r.exposed)==null?void 0:l.findRefByName)==null?void 0:c.call(l,o);if(!u)return;const s=(h=(f=u==null?void 0:u.exposed)==null?void 0:f.getField)==null?void 0:h.call(f);s&&s.id&&(n[s.id]=o)}),n},xw=t=>{var a,o,i,u,s;var e=t==null?void 0:t.instance,n=((o=(a=e==null?void 0:e.exposed)==null?void 0:a.getRowScope)==null?void 0:o.call(a))||((i=e==null?void 0:e.provides)==null?void 0:i.rowScope);const r=Object.assign({},(s=(u=e==null?void 0:e.exposed)==null?void 0:u.getFormData)==null?void 0:s.call(u),t==null?void 0:t.formData);return{[Ni.sysVar]:{[zr.rowScope]:n},[Ni.sysData]:r}},Ute=(t,e,n)=>{const{remoteReadSchemaData:r}=b1(n);var a=V5(t),o=H5(a),i=o.filter(c=>[Ni.schema.toString()].includes(c.root)),u=i==null?void 0:i.map(c=>{var f,h;return(h=(f=c==null?void 0:c.properties)==null?void 0:f[0])==null?void 0:h.toString()});let s=null;e&&(s=Rr(e));var l=r(u,s||{});return l},Ew=(t,e,n,r)=>{var s;if(!t)return"";let a=t;const{updateFomula:o}=Nu(),{variableWithNameExp:i}=BY();if(r){var u=e==null?void 0:e[Ni.sysData];u&&(a=o(a,n||{},(l,c)=>Wi(c)?null:`${(u==null?void 0:u[c])||""}`)),(s=Sr(e==null?void 0:e[Ni.sysVar]))==null||s.forEach(l=>{var c;u=(c=e==null?void 0:e[Ni.sysVar])==null?void 0:c[l],u&&(a=o(a,u,(f,h)=>Wi(h)?null:h,i("sysVar."+l)))})}else return a=o(a,n||{},(l,c)=>c?`${Ni.sysData}.${c}`:(e||(e={}),e[Ni.sysData]||(e[Ni.sysData]={}),e[Ni.sysData][l]===void 0&&(e[Ni.sysData][l]=null),`${Ni.sysData}.${l}`)),a;return a},Hte=(t,e)=>{if(ye.isFormula(t)){const{transFormula:i}=Nu(),s=xw(e)[Ni.sysData];let l=bw(s,e);var n=It(t),r=It(n==null?void 0:n.value),a=i(r==null?void 0:r.complexValue,l),o=Wte(a,s);return It(o)}},Yk=(t,e)=>{const n=xw(e);let r=bw(n[Ni.sysData],e);var a=Ew(t==null?void 0:t.expr,n,r,!1),o=Ew(t==null?void 0:t.params,n,r,!0);const i=Ute(a,o,e);var u={[Ni.sysFunc]:Wk,[Ni.schema]:i,...n};const s=[Ni.schema];var l=It(Gte(a,u,s));return l},Gte=(t,e,n)=>{if(Is(t))return;const{state:r}=vE(async()=>{var m;var{specialNode:a,matchSpecialNode:o}=yw(),{init:i,replaceVariableName:u}=G5(),s=t;if(o(t)){var l=await i();s=QY(t,p=>u(l,p,a,e))}if(e&&n&&((n==null?void 0:n.length)||0)>0)for(var c=0;c<n.length;c++){var f=n==null?void 0:n[c],h=e==null?void 0:e[f];if(Aa(h)){var d=(m=Sr(h))==null?void 0:m.some(p=>nE(h[p]));if(d){var v=await iE(h);e[f]=v}}}return _E(s,e)},null);return r},Wte=(t,e)=>{const{state:n}=vE(async()=>{const r=await Promise.resolve().then(()=>zte);var a=await(r==null?void 0:r.getScriptResult(t,e||{}));return a},null,{immediate:!0});return n},Kte=(t,e)=>{if(ye.isVariable(t)){var n=ye.getVariable(t);return Yk(n,e)}},Xte=(t,e)=>{if(ye.isSchemaData(t)){var n=ye.getSchemaData(t);return Yk(n,e)}},Yte=(t,e=!1,n)=>{var r=It(t),a=r==null?void 0:r.value,o=It(a);return ye.isVariable(t)&&!(o!=null&&o.complexType)?e?Kte(t,n):t==null?void 0:t.value:ye.isFormula(t)?e?Hte(t,n):_w():ye.isSchemaData(t)?e?Xte(t,n):_w():It(a)},Jte=(t,e=!1,n=!1,r)=>{if(!ye.isComplex(t))return t;if(!e&&!ye.getEnable(t))return _w();var a=It(t),o=a==null?void 0:a.value;return!ye.isVariable(t)&&o===null?null:It(Yte(t,n,r))},Zte=(t,e)=>{const n=xw(e);let r=bw(n[Ni.sysData],e);return Ew(t,n,r,!0)};class ye{constructor(e,n,r,a,o){z(this,"type",xe.prop);z(this,"propType");z(this,"value","");z(this,"variable");z(this,"options");this.type=e,n!==void 0&&(this.value=n),r!==void 0&&(this.options=r),a!==void 0&&(this.variable=a),o!==void 0&&Zn(this,o)}static get(e,n){if(n)return e==null?void 0:e[n]}static set(e,n,r){n&&e&&(e[n]=r)}static isComplex(e){const n=this.getType(e);return dE(xe).includes(n);//!!hasConfig(prop, 'type');
|
|
69
|
-
}static hasComplexValue(e){return!!ea(e,"value")}static isComplexValue(e){var n;return ye.hasComplexValue(e)&&!!((n=It(e==null?void 0:e.value))!=null&&n.complexType)}static buildVariablePropValue(e,n){return{type:xe.variable,variable:{expr:"${"+e+"}",params:n}}}static getOrgType(e){var r;var n=(r=this.getOptions(e))==null?void 0:r.origin;return n?this.getType(n):this.getType(e)}static getType(e){var n;return(n=It(e))==null?void 0:n.type}static getOptions(e){var n;return(n=It(e))==null?void 0:n.options}static needCalcValue(e){return this.isFormula(e)||this.isVariable(e)||this.isSchemaData(e)}static isComplexType(e,n){return this.isComplex(e)&&this.getType(e)===n}static isSchemaData(e){var n;return this.hasComplexValue(e)&&((n=It(e==null?void 0:e.value))==null?void 0:n.complexType)===xe.schemaData}static clearSchemaData(e){var r;var n=Un(e);return this.isComplex(e)?(r=It(n))==null?void 0:r.value:n}static setSchemaData(e,n){var r=Un(e),a=new I5(xe.schemaData,n);return this.isComplex(r)?r=a:r=new ye(xe.prop,a),r}static getSchemaData(e){var r;var n=It(e);return(r=It(n==null?void 0:n.value))==null?void 0:r.complexValue}static isFormula(e){var n;return this.hasComplexValue(e)&&((n=It(e==null?void 0:e.value))==null?void 0:n.complexType)===xe.formula}static setFormula(e,n){var r=Un(e),a=new I5(xe.formula,n);return this.isComplex(r)?r=a:r=new ye(xe.prop,a),r}static getFormula(e){var n;return(n=It(e==null?void 0:e.value))==null?void 0:n.complexValue}static getFormulaRelatedField(e){const{getFormulaFields:n}=Nu();return n(Jr(It(e)))}static isVariable(e){var n;return this.isComplex(e)&&((n=It(e))==null?void 0:n.type)===xe.variable}static clearVariable(e){var r;var n=Un(e);if(this.isComplex(e)){const a=It(n),o=(r=a.options)==null?void 0:r.origin;return this.isComplex(o)?(It(o).value=a==null?void 0:a.value,o):a==null?void 0:a.value}return n}static setVariable(e,n){var r=Un(e);if(this.isComplex(r)){let a=r==null?void 0:r.options;return r.type!==xe.variable&&(a=Object.assign(a||{},{origin:Un(r)})),new ye(xe.variable,r==null?void 0:r.value,a,n)}else return new ye(xe.variable,r||null,r==null?void 0:r.options,n)}static getVariable(e){var n;return(n=It(e))==null?void 0:n.variable}static getValue(e,n=!1,r=!1,a){return Jte(e,n,r,a)}static setValue(e,n,r){if(!e||!n)return!1;var a=this.get(e,n);const o=this.getType(a);if(!this.isComplex(a))this.set(e,n,r);else{let i=r;o===xe.dataObject&&xi(i)&&(i=Rr(r)),It(a).value=i}return!0}static getEnable(e){var r;if(!this.isComplex(e))return!1;var n=this.getOptions(e);return ea(n,"enable")?(r=It(n))==null?void 0:r.enable:!0}static setEnable(e,n,r){var a=this.get(e,n);if(this.isComplex(a)){var o=It(a);return o.options===void 0&&(o.options={}),o.options.enable=r,!0}return!1}}class L0{static getKeys(){var e=new this;return Sr(e)}}class E1 extends L0{constructor(){super(...arguments);z(this,"name","")}}class ww extends L0{constructor(){super(...arguments);z(this,"isdefault",!1)}}class w1 extends E1{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"auto"));z(this,"ctrlHeight",new ye(xe.placer,"auto"));z(this,"customClass",new ye(xe.placer,[]));z(this,"componentWrapperClass",new ye(xe.placer,[]));z(this,"displayLayout",new ye(xe.placer,Fs.block));z(this,"css",new ye(xe.placer,""));z(this,"created",new ye(xe.event,void 0,new at));z(this,"mounted",new ye(xe.event,void 0,new at))}}class Fi extends w1{constructor(){super(...arguments);z(this,"hidden",new ye(xe.placer,!1))}}class ah extends Fi{constructor(){super(...arguments);z(this,"content",new ye(xe.placer,""))}}class Hs extends ah{constructor(){super(...arguments);z(this,"slotable",new ye(xe.placer,!1));z(this,"default",new ye(xe.slot,void 0,new Ln))}}class Qte extends Fi{constructor(){super(...arguments);z(this,"slotable",new ye(xe.placer,!1));z(this,"default",new ye(xe.slot,void 0,new Ln))}}class S1 extends at{constructor(n){super(n);z(this,"forceMatch",!0);z(this,"errorMsg","");Zn(this,n)}}class qte extends S1{constructor(n){super(n);z(this,"expression","");Zn(this,n)}}class $te extends S1{constructor(n){super(n);z(this,"func","");Zn(this,n)}}class ene extends S1{constructor(n){super(n);z(this,"minValue",null);z(this,"includeMinValue",!1);z(this,"maxValue",null);z(this,"includeMaxValue",!1);Zn(this,n)}}class Ln extends at{constructor(n){super(n);z(this,"allowDrag",!1);z(this,"slotName");Zn(this,n)}}class Vn{constructor(){z(this,"widgetList",[])}}class oh extends Fi{constructor(){super(...arguments);z(this,"label",new ye(xe.placer,""));z(this,"defaultValue",null);z(this,"state",new ye(xe.placer,zl.custom));z(this,"readonly",!1);z(this,"disabled",!1);z(this,"size","");z(this,"tabindex","");z(this,"labelHidden",new ye(xe.placer,!1));z(this,"labelAlign",new ye(xe.placer,""));z(this,"labelWidth",new ye(xe.placer,""));z(this,"labelIconClass",new ye(xe.icon));z(this,"labelIconPosition",new ye(xe.placer,Qc.rear));z(this,"labelTooltip",new ye(xe.placer,""));z(this,"change",new ye(xe.event,void 0,new at));z(this,"focus",new ye(xe.event,void 0,new at));z(this,"blur",new ye(xe.event,void 0,new at));z(this,"click",new ye(xe.event,void 0,new at));z(this,"validateEvent",!0);z(this,"required",new ye(xe.placer,!0,new S1));z(this,"expValidate",new ye(xe.placer,void 0,new qte));z(this,"rangeValidate",new ye(xe.placer,void 0,new ene));z(this,"fnValidate",new ye(xe.placer,void 0,new $te))}}class Qo extends oh{constructor(){super(...arguments);z(this,"placeholder","")}}class wo extends ww{constructor(){super(...arguments);z(this,"label","");z(this,"value","")}}class Sw extends wo{constructor(){super(...arguments);z(this,"children",[])}}class Jk extends Sw{constructor(){super(...arguments);z(this,"isopen",!1)}}const kg=class{constructor(){z(this,"type",et.none);z(this,"icon","");z(this,"id","");z(this,"options",{});z(this,"category",Bu.normal);z(this,"init",(e=!0)=>{var n,r;this.id||(this.id=Cw.newId((n=this.type)==null?void 0:n.toString())),this.icon||(this.icon=Cw.getIcon((r=this.type)==null?void 0:r.toString(),e&&this.category!=Bu.container))})}static newId(e){return((e==null?void 0:e.replace(/-/g,""))||"")+zs()}static getIcon(e,n=!0){return"@widget-"+(e||"")+(n?"-field":"")}};let lt=kg;z(lt,"isContainer",e=>e.category===Bu.container),z(lt,"getWidgetTypeName",e=>e?te.i18n2t(`designer.widgetLabel.${e}`,`extension.widgetLabel.${e}`):""),z(lt,"getWidgetName",e=>{var n;return e.type?((n=e.type)==null?void 0:n.trim())+"-widget":""}),z(lt,"getName",e=>kg.getOrgOption(e,Kt.name)),z(lt,"setName",(e,n)=>{kg.setOptions(e,Kt.name,n)}),z(lt,"getOrgOption",(e,n)=>{var r;return(r=e==null?void 0:e.options)==null?void 0:r[n]}),z(lt,"setOrgOption",(e,n,r)=>{!e||!e.options||(e.options[n]=r)}),z(lt,"getOptions",(e,n,r=!1,a=!1,o)=>{var i=kg.getOrgOption(e,n);if(r)return i;var u=ye.getValue(i,!1,a,o);if(u!==null)return u}),z(lt,"setOptions",(e,n,r)=>{ye.setValue(e==null?void 0:e.options,n,r)}),z(lt,"setEnable",(e,n,r)=>{ye.setEnable(e==null?void 0:e.options,n,r)});class Cw extends lt{constructor(){super();z(this,"dynamicItemFlag",!1);z(this,"formItemFlag",!1);z(this,"options",{});this.formItemFlag=!0}}class Dn extends Cw{constructor(e,n,r=!1,a){super(),a!=null&&a.autoWidth&&ea(n,Kt.ctrlWidth)&&(n.ctrlWidth=new ye(xe.placer,Vg.auto)),a!=null&&a.inlineLayout&&ea(n,Kt.displayLayout)&&(n.displayLayout=new ye(xe.placer,Fs.inline)),Wi(a==null?void 0:a.dynamicItemFlag)||(this.dynamicItemFlag=a==null?void 0:a.dynamicItemFlag),this.formItemFlag=r,this.type=e,this.options=n,Object.entries(n).map(([o,i])=>{var u;ye.getType(i)===xe.slot&&((u=ye.getOptions(i))!=null&&u.allowDrag)&&(i.widgetList=[])}),this.init(r)}}function tne(){let t=new Map;const e=r=>{var a=lt.getWidgetName(r),o=null;return a&&(lt.isContainer(r)?o=_.defineAsyncComponent(()=>FD(Object.assign({"./container-widget/cont-cell-widget.vue":()=>Promise.resolve().then(()=>KB),"./container-widget/cont-widget.vue":()=>Promise.resolve().then(()=>XB),"./container-widget/form-widget.vue":()=>Promise.resolve().then(()=>YB),"./container-widget/grid-col-widget.vue":()=>Promise.resolve().then(()=>ZB),"./container-widget/grid-widget.vue":()=>Promise.resolve().then(()=>QB),"./container-widget/ltable-col-widget.vue":()=>Promise.resolve().then(()=>$B),"./container-widget/ltable-widget.vue":()=>Promise.resolve().then(()=>e9),"./container-widget/tab-pane-widget.vue":()=>Promise.resolve().then(()=>n9),"./container-widget/tabs-widget.vue":()=>Promise.resolve().then(()=>r9),"./container-widget/wrapper-widget.vue":()=>Promise.resolve().then(()=>i9)}),`./container-widget/${a}.vue`)):o=_.defineAsyncComponent(()=>FD(Object.assign({"./field-widget/affix-widget.vue":()=>Promise.resolve().then(()=>lme),"./field-widget/alert-widget.vue":()=>Promise.resolve().then(()=>fme),"./field-widget/anchor-link-widget.vue":()=>Promise.resolve().then(()=>pme),"./field-widget/anchor-widget.vue":()=>Promise.resolve().then(()=>vme),"./field-widget/auto-complete-widget.vue":()=>Promise.resolve().then(()=>wme),"./field-widget/avatar-widget.vue":()=>Promise.resolve().then(()=>Ame),"./field-widget/backtop-widget.vue":()=>Promise.resolve().then(()=>Pme),"./field-widget/badge-widget.vue":()=>Promise.resolve().then(()=>Bme),"./field-widget/barcode-widget.vue":()=>Promise.resolve().then(()=>Lxe),"./field-widget/breadcrumb-widget.vue":()=>Promise.resolve().then(()=>zxe),"./field-widget/button-widget.vue":()=>Promise.resolve().then(()=>Gxe),"./field-widget/cache-widget.vue":()=>Promise.resolve().then(()=>Xxe),"./field-widget/card-widget.vue":()=>Promise.resolve().then(()=>Zxe),"./field-widget/carousel-widget.vue":()=>Promise.resolve().then(()=>$xe),"./field-widget/cascader-widget.vue":()=>Promise.resolve().then(()=>n2e),"./field-widget/chart-widget.vue":()=>Promise.resolve().then(()=>a2e),"./field-widget/checkbox-widget.vue":()=>Promise.resolve().then(()=>l2e),"./field-widget/collapse-widget.vue":()=>Promise.resolve().then(()=>f2e),"./field-widget/color-picker-widget.vue":()=>Promise.resolve().then(()=>d2e),"./field-widget/content-wrapper.vue":()=>Promise.resolve().then(()=>rme),"./field-widget/date-picker-range-widget.vue":()=>Promise.resolve().then(()=>g2e),"./field-widget/date-picker-widget.vue":()=>Promise.resolve().then(()=>b2e),"./field-widget/default-slot-widget.vue":()=>Promise.resolve().then(()=>ame),"./field-widget/descriptions-widget.vue":()=>Promise.resolve().then(()=>S2e),"./field-widget/dialog-widget.vue":()=>Promise.resolve().then(()=>D2e),"./field-widget/divider-widget.vue":()=>Promise.resolve().then(()=>k2e),"./field-widget/drawer-widget.vue":()=>Promise.resolve().then(()=>I2e),"./field-widget/dropdown-widget.vue":()=>Promise.resolve().then(()=>L2e),"./field-widget/empty-widget.vue":()=>Promise.resolve().then(()=>V2e),"./field-widget/feedback-widget.vue":()=>Promise.resolve().then(()=>A2e),"./field-widget/file-upload-widget.vue":()=>Promise.resolve().then(()=>uEe),"./field-widget/form-item-wrapper.vue":()=>Promise.resolve().then(()=>bme),"./field-widget/html-text-widget.vue":()=>Promise.resolve().then(()=>pEe),"./field-widget/icon-widget.vue":()=>Promise.resolve().then(()=>vEe),"./field-widget/iframe-widget.vue":()=>Promise.resolve().then(()=>bEe),"./field-widget/image-widget.vue":()=>Promise.resolve().then(()=>wEe),"./field-widget/input-number-widget.vue":()=>Promise.resolve().then(()=>DEe),"./field-widget/input-widget.vue":()=>Promise.resolve().then(()=>kEe),"./field-widget/label-wrapper.vue":()=>Promise.resolve().then(()=>gme),"./field-widget/link-widget.vue":()=>Promise.resolve().then(()=>NEe),"./field-widget/menu-widget.vue":()=>Promise.resolve().then(()=>REe),"./field-widget/model-widget.vue":()=>Promise.resolve().then(()=>UEe),"./field-widget/multirow-widget.vue":()=>Promise.resolve().then(()=>fwe),"./field-widget/pagination-widget.vue":()=>Promise.resolve().then(()=>dwe),"./field-widget/picture-upload-widget.vue":()=>Promise.resolve().then(()=>Swe),"./field-widget/progress-widget.vue":()=>Promise.resolve().then(()=>Owe),"./field-widget/qrcode-widget.vue":()=>Promise.resolve().then(()=>wSe),"./field-widget/radio-widget.vue":()=>Promise.resolve().then(()=>ASe),"./field-widget/range-widget.vue":()=>Promise.resolve().then(()=>ISe),"./field-widget/rate-widget.vue":()=>Promise.resolve().then(()=>FSe),"./field-widget/result-widget.vue":()=>Promise.resolve().then(()=>jSe),"./field-widget/rich-editor-widget.vue":()=>Promise.resolve().then(()=>USe),"./field-widget/router-widget.vue":()=>Promise.resolve().then(()=>KSe),"./field-widget/select-widget.vue":()=>Promise.resolve().then(()=>ZSe),"./field-widget/slider-widget.vue":()=>Promise.resolve().then(()=>$Se),"./field-widget/static-text-widget.vue":()=>Promise.resolve().then(()=>n4e),"./field-widget/steps-widget.vue":()=>Promise.resolve().then(()=>s4e),"./field-widget/subMenu-widget.vue":()=>Promise.resolve().then(()=>MEe),"./field-widget/switch-widget.vue":()=>Promise.resolve().then(()=>c4e),"./field-widget/table-col-widget.vue":()=>Promise.resolve().then(()=>f4e),"./field-widget/table-widget.vue":()=>Promise.resolve().then(()=>v4e),"./field-widget/tag-widget.vue":()=>Promise.resolve().then(()=>y4e),"./field-widget/text-widget.vue":()=>Promise.resolve().then(()=>x4e),"./field-widget/textarea-widget.vue":()=>Promise.resolve().then(()=>S4e),"./field-widget/time-picker-range-widget.vue":()=>Promise.resolve().then(()=>T4e),"./field-widget/time-picker-widget.vue":()=>Promise.resolve().then(()=>O4e),"./field-widget/time-select-widget.vue":()=>Promise.resolve().then(()=>I4e),"./field-widget/tmpl-widget.vue":()=>Promise.resolve().then(()=>F4e),"./field-widget/tree-select-widget.vue":()=>Promise.resolve().then(()=>j4e),"./field-widget/tree-widget.vue":()=>Promise.resolve().then(()=>U4e),"./field-widget/verifycode-widget.vue":()=>Promise.resolve().then(()=>Z4e),"./field-widget/vertical-progress-widget.vue":()=>Promise.resolve().then(()=>Twe)}),`./field-widget/${a}.vue`))),o};return{components:r=>{var a=lt.getWidgetName(r);if(t.has(a))return t.get(a);var o=e(r);return t.set(a,o),o}}}function nne(t){return t=t||Object.create(null),{on:function(n,r){(t[n]||(t[n]=[])).push(r)},off:function(n,r){t[n]&&t[n].splice(t[n].indexOf(r)>>>0,1)},emit:function(n,r){(t[n]||[]).map(function(a){a(r)}),(t["*"]||[]).map(function(a){a(n,r)})}}}const Aw=new nne,Zk={$on:Aw.on,$off:Aw.off,$emit:Aw.emit};function Qk(t){var e={index:-1,maxStep:20,steps:[]};t&&!(t!=null&&t.historyData)&&(t.historyData=e);const n=_.reactive((t==null?void 0:t.historyData)||e),r=`widget__list__backup__${t==null?void 0:t.key}`,a=`form__config__backup__${t==null?void 0:t.key}`,o=_.computed({get:()=>(n.index<0&&(n.index=0),n.steps[n.index]),set:y=>{n.index<0&&(n.index=0),n.steps[n.index]=y}}),i=()=>{const y=o==null?void 0:o.value;t.version=iO(),t.widgetList=Un(y==null?void 0:y.widgetList),t.pageConfig=Un(y==null?void 0:y.pageConfig)},u=y=>{const x=o;x.value=Un({detail:y,widgetList:t.widgetList,pageConfig:t.pageConfig})},s=()=>{g(),n.index=n.index+1,u("initHistory")},l=()=>{t.historyData=e},c=y=>{var x;n.index==n.maxStep-1?(x=n.steps)==null||x.shift():n.index=n.index+1,f(y),n.index<n.steps.length-1&&(n.steps=n.steps.slice(0,n.index+1))},f=y=>{u(y),p()},h=()=>{n.index!==0&&n.index--,i()},d=()=>{var y;n.index!==((y=n.steps)==null?void 0:y.length)-1&&n.index++,i()},v=()=>{var y;return n.index>0&&((y=n.steps)==null?void 0:y.length)>0},m=()=>{var y;return n.index<((y=n.steps)==null?void 0:y.length)-1},p=()=>{Zc.set(r,t.widgetList),Zc.set(a,t.pageConfig)},g=()=>{let y=Zc.get(r);y&&Zn(t.widgetList,Rr(y));let x=Zc.get(a);x&&Zn(t.pageConfig,Rr(x))};return{clearHistoryData:l,initHistoryData:s,emitHistoryChange:c,saveCurrentHistoryStep:f,undoHistoryStep:h,redoHistoryStep:d,undoEnabled:v,redoEnabled:m,saveFormContentToStorage:p,loadFormContentFromStorage:g}}class rne extends Fi{constructor(){super(...arguments);z(this,"labelHidden",new ye(xe.placer,!1));z(this,"label",new ye(xe.placer,""));z(this,"defaultValue",null);z(this,"state",new ye(xe.placer,zl.custom));z(this,"readonly",!1);z(this,"disabled",!1);z(this,"change",new ye(xe.event,void 0,new at))}}class ine extends Qo{constructor(){super(...arguments);z(this,"type",t5.text);z(this,"minlength",0);z(this,"maxlength",1e4);z(this,"prefixIcon",new ye(xe.icon));z(this,"suffixIcon",new ye(xe.icon));z(this,"clearable",!0);z(this,"showPassword",!1);z(this,"showWordLimit",!1);z(this,"formatter",new ye(xe.hook,void 0,new at));z(this,"parser",new ye(xe.hook,void 0,new at));z(this,"input",new ye(xe.event,void 0,new at));z(this,"clear",new ye(xe.event,void 0,new at));z(this,"slotable",new ye(xe.placer,!1));z(this,"prepend",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"append",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class ane extends Qo{constructor(){super(...arguments);z(this,"resize",$D.none);z(this,"rows",3);z(this,"minlength",0);z(this,"maxlength",1e4);z(this,"showWordLimit",!1);z(this,"autosize",!1);z(this,"input",new ye(xe.event,void 0,new at))}}class one extends Qo{constructor(){super(...arguments);z(this,"defaultValue",null);z(this,"min",0);z(this,"max",1e4);z(this,"precision",0);z(this,"step",1);z(this,"stepStrictly",!1);z(this,"controls",!0);z(this,"controlsPosition",r5.none);z(this,"valueOnClear",e5.min);z(this,"unitText",new ye(xe.placer,""));z(this,"input",new ye(xe.event,void 0,new at))}}class sne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"select",new ye(xe.event,void 0,new at));z(this,"fetchSuggestions",new ye(xe.hook,void 0,new at));z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"valueKey","value");z(this,"debounce",300);z(this,"placement",Hp.bottomStart);z(this,"triggerOnFocus",!1);z(this,"selectWhenUnmatched",!1);z(this,"hideLoading",!1);z(this,"popperClass","");z(this,"popperAppendToBody",!1);z(this,"teleported",!1);z(this,"highlightFirstItem",!1);z(this,"fitInputWidth",!1);z(this,"slotable",new ye(xe.placer,!1));z(this,"prefix",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"suffix",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"prepend",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"append",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class lne extends oh{constructor(){super(...arguments);z(this,"displayStyle",new ye(xe.placer,Fs.inline));z(this,"buttonStyle",!1);z(this,"textColor","");z(this,"fill","");z(this,"border",!1);z(this,"valueKey",new ye(xe.placer,"value"));z(this,"labelKey",new ye(xe.placer,"label"));z(this,"isDefaultKey",new ye(xe.placer,"isdefault"));z(this,"withAttachData",new ye(xe.placer,!0));z(this,"textName",new ye(xe.placer,""));z(this,"optionName",new ye(xe.placer,""));z(this,"labelName",new ye(xe.placer,""));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(xe.placer,void 0))}}class qk extends wo{constructor(){super(...arguments);z(this,"border",!1);z(this,"disabled",!1)}}class une extends oh{constructor(){super(...arguments);z(this,"defaultValue",[]);z(this,"min",0);z(this,"max",1e3);z(this,"displayStyle",new ye(xe.placer,Fs.inline));z(this,"buttonStyle",!1);z(this,"border",!1);z(this,"textColor","#ffffff");z(this,"fill","#409EFF");z(this,"tag","div");z(this,"valueKey",new ye(xe.placer,"value"));z(this,"labelKey",new ye(xe.placer,"label"));z(this,"isDefaultKey",new ye(xe.placer,"isdefault"));z(this,"withAttachData",new ye(xe.placer,!0));z(this,"textName",new ye(xe.placer,""));z(this,"optionName",new ye(xe.placer,""));z(this,"labelName",new ye(xe.placer,""));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(xe.placer,[]))}}class $k extends wo{constructor(){super(...arguments);z(this,"border",!1);z(this,"disabled",!1)}}class eB extends Qo{constructor(){super(...arguments);z(this,"defaultFirstOption",!1);z(this,"noDataText","");z(this,"allowCreate",!1);z(this,"automaticDropdown",!1);z(this,"showGroup",new ye(xe.placer,!1));z(this,"teleported",!0);z(this,"persistent",!0);z(this,"fitInputWidth",!1);z(this,"clearable",!0);z(this,"clearIcon",new ye(xe.icon,"CircleClose"));z(this,"suffixTransition",!0);z(this,"suffixIcon",new ye(xe.icon,"ArrowDown"));z(this,"tagType",sE.info);z(this,"placement",Hp.bottomStart);z(this,"effect",Up.light);z(this,"multiple",!1);z(this,"multipleLimit",0);z(this,"collapseTags",!1);z(this,"collapseTagsTooltip",!1);z(this,"maxCollapseTags",1);z(this,"selectOnlyOneGroup",new ye(xe.placer,!1));z(this,"filterable",!1);z(this,"reserveKeyword",!0);z(this,"remote",!1);z(this,"remoteShowSuffix",!1);z(this,"loadingText","");z(this,"noMatchText","");z(this,"filterMethod",new ye(xe.hook,void 0,new at));z(this,"remoteMethod",new ye(xe.hook,void 0,new at));z(this,"popperClass","");z(this,"popperOptions",{});z(this,"slotable",new ye(xe.placer,!1));z(this,"visibleChange",new ye(xe.event,void 0,new at));z(this,"removeTag",new ye(xe.event,void 0,new at));z(this,"clear",new ye(xe.event,void 0,new at));z(this,"optionDefault",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"prefix",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(xe.placer,void 0));z(this,"valueKey",new ye(xe.placer,"value"));z(this,"labelKey",new ye(xe.placer,"label"));z(this,"isDefaultKey",new ye(xe.placer,"isdefault"));z(this,"allItemAsValue",new ye(xe.placer,!1));z(this,"withAttachData",new ye(xe.placer,!0));z(this,"textName",new ye(xe.placer,""));z(this,"optionName",new ye(xe.placer,""));z(this,"labelName",new ye(xe.placer,""))}}class tB extends Qo{constructor(){super(...arguments);z(this,"format",E5.time1);z(this,"prefixIcon",new ye(xe.icon,"Clock"));z(this,"clearIcon",new ye(xe.icon,"CircleClose"));z(this,"clearable",!0);z(this,"editable",!1);z(this,"isRange",!1);z(this,"arrowControl",!1);z(this,"popperClass","");z(this,"teleported",!0);z(this,"disabledHours",new ye(xe.hook,void 0,new at));z(this,"disabledMinutes",new ye(xe.hook,void 0,new at));z(this,"disabledSeconds",new ye(xe.hook,void 0,new at));z(this,"visibleChange",new ye(xe.event,void 0,new at))}}class cne extends tB{constructor(){super(...arguments);z(this,"placeholder","")}}class fne extends tB{constructor(){super(...arguments);z(this,"rangeSeparator","-");z(this,"startPlaceholder","");z(this,"endPlaceholder","");z(this,"isRange",!0)}}class nB extends Qo{constructor(){super(...arguments);z(this,"editable",!0);z(this,"clearable",!0);z(this,"defaultValue",null);z(this,"defaultTime",null);z(this,"format",hE.date1);z(this,"valueFormat",hE.date1);z(this,"prefixIcon",new ye(xe.icon));z(this,"clearIcon",new ye(xe.icon));z(this,"disabledDate",new ye(xe.hook,void 0,new at));z(this,"shortcuts",new ye(xe.hook));z(this,"cellClassName",new ye(xe.hook,void 0,new at));z(this,"teleported",!0);z(this,"popperClass","");z(this,"popperOptions",{});z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"visibleChange",new ye(xe.event,void 0,new at));z(this,"panelChange",new ye(xe.event,void 0,new at));z(this,"calendarChange",new ye(xe.event,void 0,new at))}}class pne extends nB{constructor(){super(...arguments);z(this,"placeholder","");z(this,"type",fE.date)}}class hne extends nB{constructor(){super(...arguments);z(this,"type",f5.daterange);z(this,"defaultValue",null);z(this,"defaultTime",null);z(this,"unlinkPanels",!1);z(this,"startPlaceholder","");z(this,"endPlaceholder","");z(this,"rangeSeparator","-")}}class dne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"effect",Up.light);z(this,"prefixIcon",new ye(xe.icon,"Clock"));z(this,"clearIcon",new ye(xe.icon,"CircleClose"));z(this,"start","09:00");z(this,"end","18:00");z(this,"step","00:30");z(this,"minTime","");z(this,"maxTime","");z(this,"format","HH:mm");z(this,"emptyValues",new ye(xe.dataObject,null,new br({type:Ge.array,enable:!0})));z(this,"valueOnClear",new ye(xe.hook,void 0,new at));z(this,"clear",new ye(xe.event,void 0,new at))}}class vne extends Qo{constructor(){super(...arguments);z(this,"width","40px");z(this,"inlinePrompt",!1);z(this,"activeIcon",new ye(xe.icon));z(this,"inactiveIcon",new ye(xe.icon));z(this,"activeActionIcon",new ye(xe.icon));z(this,"inactiveActionIcon",new ye(xe.icon));z(this,"activeText","");z(this,"inactiveText","");z(this,"valueType",new ye(xe.placer,Ge.boolean));z(this,"activeValue",!0);z(this,"inactiveValue",!1);z(this,"beforeChange",new ye(xe.hook,void 0,new at))}}class mne extends oh{constructor(){super(...arguments);z(this,"max",5);z(this,"lowThreshold",2);z(this,"highThreshold",4);z(this,"allowHalf",!0);z(this,"showText",!0);z(this,"showScore",!0)}}class gne extends Qte{constructor(){super(...arguments);z(this,"percentage",0);z(this,"duration",3);z(this,"width",126);z(this,"strokeWidth",6);z(this,"type",a0.line);z(this,"status",XD.none);z(this,"strokeLinecap",YD.round);z(this,"color",new ye(xe.hook,void 0,new at));z(this,"trackColor",new ye(xe.hook,void 0,new at));z(this,"format",new ye(xe.hook,void 0,new at));z(this,"textInside",!1);z(this,"indeterminate",!1);z(this,"showText",!0);z(this,"striped",!1);z(this,"stripedFlow",!1);z(this,"direction",new ye(xe.placer,Ls.horizontal));z(this,"completeSec",new ye(xe.placer,0));z(this,"completed",new ye(xe.placerHook,void 0,new at))}}class yne extends oh{constructor(){super(...arguments);z(this,"colorFormat",w5.rgb);z(this,"showAlpha",!1);z(this,"popperClass","");z(this,"predefine",new ye(xe.dataObject,[],new br({type:Ge.array,enable:!0})))}}class _ne extends Qo{constructor(){super(...arguments);z(this,"min",0);z(this,"max",100);z(this,"step",10);z(this,"debounce",0);z(this,"showStops",!0);z(this,"vertical",!1);z(this,"height","");z(this,"range",!1);z(this,"marks",new ye(xe.dataObject,{},new br({type:Ge.object,enable:!0})));z(this,"showInput",!1);z(this,"showInputControls",!0);z(this,"inputSize",bo.default);z(this,"showTooltip",!0);z(this,"placement",Hp.top);z(this,"formatTooltip",new ye(xe.hook,void 0,new at));z(this,"tooltipClass","")}}class rB extends oh{constructor(){super(...arguments);z(this,"fileList",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"accept",new ye(xe.placer,[],new br({type:Ge.array,enable:!0})));z(this,"listType",Gp.text);z(this,"limit",3);z(this,"fileMaxSize",new ye(xe.placer,5));z(this,"multiple",!1);z(this,"showFileList",!0);z(this,"autoUpload",!0);z(this,"drag",!1);z(this,"action","");z(this,"dataName",new ye(xe.placer,"file"));z(this,"method",A5.post);z(this,"uploadTip",new ye(xe.placer,""));z(this,"uploadTriggerTip",new ye(xe.placer,""));z(this,"submitUploadTip",new ye(xe.placer,""));z(this,"getHeader",new ye(xe.placerHook,void 0,new at));z(this,"getData",new ye(xe.placerHook,void 0,new at));z(this,"withCredentials",!1);z(this,"httpRequest",new ye(xe.hook,void 0,new at));z(this,"beforeUpload",new ye(xe.hook,void 0,new at));z(this,"beforeRemove",new ye(xe.hook,void 0,new at));z(this,"onChange",new ye(xe.hook,void 0,new at));z(this,"onExceed",new ye(xe.hook,void 0,new at));z(this,"onProgress",new ye(xe.hook,void 0,new at));z(this,"onPreview",new ye(xe.hook,void 0,new at));z(this,"onSuccess",new ye(xe.hook,void 0,new at));z(this,"onError",new ye(xe.hook,void 0,new at));z(this,"onRemove",new ye(xe.hook,void 0,new at));z(this,"isUploadSuccess",new ye(xe.placerHook,void 0,new at));z(this,"onBuildUrl",new ye(xe.placerHook,void 0,new at));z(this,"allowPreview",new ye(xe.placerHook,void 0,new at));z(this,"allowDownload",new ye(xe.placerHook,void 0,new at));z(this,"onDownload",new ye(xe.placerHook,void 0,new at));z(this,"allowDelete",new ye(xe.placerHook,void 0,new at));z(this,"slotable",new ye(xe.placer,!1));z(this,"trigger",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"tip",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"file",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn))}}class bne{constructor(){let e=new rB;ye.setValue(e,"accept",dE(C5)),ye.setValue(e,"listType",Gp.pictureCard);const n=["file","drag"];return n==null||n.forEach(r=>delete e[r]),e}}class xne{constructor(){let e=new rB;return ye.setValue(e,"accept",dE(S5)),e}}class Ene extends Qo{}class wne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"checkStrictly",new ye(xe.placer,!1));z(this,"showAllLevels",!0);z(this,"emitPath",new ye(xe.placer,!0));z(this,"separator"," / ");z(this,"debounce",300);z(this,"hoverThreshold",new ye(xe.placer,500));z(this,"expandTrigger",new ye(xe.placer,jg.click));z(this,"tagType",sE.info);z(this,"tagEffect",oE.light);z(this,"lazy",new ye(xe.placer,!1));z(this,"lazyLoad",new ye(xe.placerHook,void 0,new at));z(this,"filterable",!1);z(this,"filterMethod",new ye(xe.hook,void 0,new at));z(this,"beforeFilter",new ye(xe.hook,void 0,new at));z(this,"multiple",new ye(xe.placer,!1));z(this,"collapseTags",!1);z(this,"collapseTagsTooltip",!1);z(this,"maxCollapseTags",1);z(this,"emptyValues",new ye(xe.dataObject,null,new br({type:Ge.array,enable:!0})));z(this,"valueOnClear",new ye(xe.hook,void 0,new at));z(this,"popperClass","");z(this,"teleported",!0);z(this,"persistent",!0);z(this,"valueProp",new ye(xe.placer,"value"));z(this,"labelProp",new ye(xe.placer,"label"));z(this,"childrenProp",new ye(xe.placer,"children"));z(this,"disabledProp",new ye(xe.placer,"disabled"));z(this,"leafProp",new ye(xe.placer,"leaf"));z(this,"withAttachData",new ye(xe.placer,!0));z(this,"textName",new ye(xe.placer,""));z(this,"optionName",new ye(xe.placer,""));z(this,"labelName",new ye(xe.placer,""));z(this,"visibleChange",new ye(xe.event,void 0,new at));z(this,"removeTag",new ye(xe.event,void 0,new at));z(this,"expandChange",new ye(xe.event,void 0,new at));z(this,"clear",new ye(xe.event,void 0,new at));z(this,"empty",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"optionDefault",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(xe.placer,void 0))}}class iB extends Fi{constructor(){super(...arguments);z(this,"renderAfterExpand",!0);z(this,"highlightCurrent",!1);z(this,"defaultExpandAll",!1);z(this,"expandOnClickNode",!0);z(this,"checkOnClickNode",!1);z(this,"autoExpandParent",!0);z(this,"showCheckbox",!1);z(this,"checkStrictly",!1);z(this,"accordion",!1);z(this,"draggable",!1);z(this,"lazy",!1);z(this,"load",new ye(xe.hook,void 0,new at));z(this,"filterNodeMethod",new ye(xe.hook,void 0,new at));z(this,"renderContent",new ye(xe.hook,void 0,new at));z(this,"allowDrag",new ye(xe.hook,void 0,new at));z(this,"allowDrop",new ye(xe.hook,void 0,new at));z(this,"empty",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"optionDefault",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"nodeClick",new ye(xe.event,void 0,new at));z(this,"nodeContextmenu",new ye(xe.event,void 0,new at));z(this,"checkChange",new ye(xe.event,void 0,new at));z(this,"check",new ye(xe.event,void 0,new at));z(this,"currentChange",new ye(xe.event,void 0,new at));z(this,"nodeExpand",new ye(xe.event,void 0,new at));z(this,"nodeCollapse",new ye(xe.event,void 0,new at));z(this,"nodeDragStart",new ye(xe.event,void 0,new at));z(this,"nodeDragEnter",new ye(xe.event,void 0,new at));z(this,"nodeDragLeave",new ye(xe.event,void 0,new at));z(this,"nodeDragOver",new ye(xe.event,void 0,new at));z(this,"nodeDragEnd",new ye(xe.event,void 0,new at));z(this,"nodeDrop",new ye(xe.event,void 0,new at));z(this,"indent",18);z(this,"icon",new ye(xe.icon,""));z(this,"emptyText","");z(this,"labelProp",new ye(xe.placerHook,void 0,new at));z(this,"childrenProp",new ye(xe.placerHook,void 0,new at));z(this,"disabledProp",new ye(xe.placerHook,void 0,new at));z(this,"isLeafProp",new ye(xe.placerHook,void 0,new at));z(this,"classProp",new ye(xe.placer,void 0,new at));z(this,"nodeKey","value");z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class Sne extends ah{}class Cne extends ah{}class Ane extends Hs{constructor(){super(...arguments);z(this,"label",new ye(xe.placer,""));z(this,"type",lE.default);z(this,"size",bo.default);z(this,"tag","span");z(this,"truncated",!1)}}class Tne extends Hs{constructor(){super(...arguments);z(this,"type",bo.default);z(this,"underline",!0);z(this,"disabled",!1);z(this,"href","");z(this,"target",b5.blank);z(this,"prefixIcon",new ye(xe.placer,""));z(this,"suffixIcon",new ye(xe.placer,""));z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn))}}class Dne extends Hs{constructor(){super(...arguments);z(this,"type",Lg.primary);z(this,"size",bo.default);z(this,"effect",oE.light);z(this,"color","");z(this,"round",!1);z(this,"closable",!1);z(this,"disableTransitions",!1);z(this,"hit",!1);z(this,"click",new ye(xe.event,void 0,new at));z(this,"close",new ye(xe.event,void 0,new at))}}class Pne extends Hs{constructor(){super(...arguments);z(this,"size",bo.default);z(this,"disabled",!1);z(this,"type",lE.default);z(this,"buttonType",o5.default);z(this,"text",!1);z(this,"plain",!1);z(this,"round",!1);z(this,"circle",!1);z(this,"link",!1);z(this,"icon",new ye(xe.icon));z(this,"bg",!1);z(this,"loading",!1);z(this,"loadingIcon",new ye(xe.icon,"Loading"));z(this,"autofocus",!1);z(this,"autoInsertSpace",!1);z(this,"color","");z(this,"dark",!1);z(this,"tag","button");z(this,"click",new ye(xe.event,new MY,new at));z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn))}}class One extends Hs{constructor(){super(...arguments);z(this,"direction",Ls.horizontal);z(this,"contentPosition",Iu.center);z(this,"borderStyle",y5.solid)}}class kne extends Fi{constructor(){super(...arguments);z(this,"chartOption",new ye(xe.hook,void 0,new at));z(this,"dataSource",new ye(xe.dataObject,null,new br({type:Ge.array,enable:!0})))}}class Bne extends Hs{constructor(){super(...arguments);z(this,"target","");z(this,"offset",0);z(this,"position",ZD.top);z(this,"zIndex",100);z(this,"change",new ye(xe.event,void 0,new at));z(this,"scroll",new ye(xe.event,void 0,new at))}}class Ine extends ah{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"200px"));z(this,"displayLayout",new ye(xe.placer,Fs.inline));z(this,"format",new ye(xe.placer,D5.CODE128));z(this,"lineWidth",new ye(xe.placer,2));z(this,"lineHeight",new ye(xe.placer,100));z(this,"lineColor",new ye(xe.placer,"black"));z(this,"displayValue",new ye(xe.placer,!0))}}class Nne extends ah{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"200px"))}}class Mne extends ah{constructor(){super(...arguments);z(this,"displayLayout",new ye(xe.placer,Fs.inline));z(this,"identifyCodeLen",new ye(xe.placer,4));z(this,"content",new ye(xe.placer,"1234567890abcdefjhijklinopqrsduvwxyz"));z(this,"fontSizeMin",25);z(this,"fontSizeMax",35);z(this,"backgroundColorMin",255);z(this,"backgroundColorMax",255);z(this,"colorMin",0);z(this,"colorMax",160);z(this,"lineColorMin",40);z(this,"lineColorMax",180);z(this,"dotColorMin",0);z(this,"dotColorMax",255);z(this,"contentWidth",112);z(this,"contentHeight",40)}}class Fne extends Fi{constructor(){super(...arguments);z(this,"sizeDef",new ye(xe.placer,""));z(this,"color","");z(this,"size",0);z(this,"icon",new ye(xe.icon,"Apple"))}}class Lne extends Hs{constructor(){super(...arguments);z(this,"image","");z(this,"imageSize");z(this,"description","")}}class Rne extends Hs{constructor(){super(...arguments);z(this,"value","");z(this,"max",99);z(this,"isDot",!1);z(this,"hidden",new ye(xe.placer,!1));z(this,"type",Lg.danger)}}class jne extends Hs{constructor(){super(...arguments);z(this,"type",Lg.primary);z(this,"size",bo.default);z(this,"maxHeight");z(this,"showTimeout",250);z(this,"hideTimeout",150);z(this,"placement",Hp.bottom);z(this,"trigger",g5.hover);z(this,"splitButton",!1);z(this,"disabled",!1);z(this,"hideOnClick",!0);z(this,"tabindex",0);z(this,"slotable",new ye(xe.placer,!1));z(this,"popperClass","menu");z(this,"popperOptions",{});z(this,"teleported",!0);z(this,"click",new ye(xe.event,void 0,new at));z(this,"command",new ye(xe.event,void 0,new at));z(this,"visibleChange",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class aB extends wo{constructor(){super(...arguments);z(this,"command","");z(this,"icon",new ye(xe.icon));z(this,"disabled",!1);z(this,"divided",!1)}}class Vne extends Hs{constructor(){super(...arguments);z(this,"size",bo.default);z(this,"shape",qD.circle);z(this,"src","");z(this,"fit",pE.cover);z(this,"icon",new ye(xe.icon));z(this,"error",new ye(xe.event,void 0,new at))}}class zne extends Fi{constructor(){super(...arguments);z(this,"icon",KD.info);z(this,"title",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"subTitle",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"extra",new ye(xe.slot,void 0,new Ln,void 0,new Vn))}}class Une extends Hs{constructor(){super(...arguments);z(this,"target","");z(this,"visibilityHeight",200);z(this,"right",40);z(this,"bottom",40);z(this,"click",new ye(xe.event,void 0,new at))}}class Hne extends Fi{constructor(){super(...arguments);z(this,"container","");z(this,"offset",0);z(this,"bound",15);z(this,"duration",300);z(this,"type",_5.default);z(this,"direction",Ls.vertical);z(this,"marker",!0);z(this,"change",new ye(xe.event,void 0,new at));z(this,"click",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class oB extends ww{constructor(){super(...arguments);z(this,"title","");z(this,"href","");z(this,"children")}}class Gne extends Fi{constructor(){super(...arguments);z(this,"height","");z(this,"initialIndex",0);z(this,"indicatorPosition",p5.none);z(this,"trigger",jg.hover);z(this,"arrow",h5.hover);z(this,"type",d5.none);z(this,"direction",Ls.horizontal);z(this,"loop",!0);z(this,"autoplay",!0);z(this,"pauseOnHover",!0);z(this,"interval",3e3);z(this,"change",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class sB extends wo{constructor(){super(...arguments);z(this,"slotContent",new ye(xe.slot,void 0,new Ln({slotName:"content"}),void 0,new Vn))}}class Wne extends Fi{constructor(){super(...arguments);z(this,"accordion",!1);z(this,"change",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class lB extends ww{constructor(){super(...arguments);z(this,"title","");z(this,"content","");z(this,"slotTitle",new ye(xe.slot,void 0,new Ln({slotName:"title"}),void 0,new Vn));z(this,"slotContent",new ye(xe.slot,void 0,new Ln({slotName:"content"}),void 0,new Vn));z(this,"disabled",!1)}}class Kne extends Fi{constructor(){super(...arguments);z(this,"border",!1);z(this,"column",3);z(this,"direction",Ls.horizontal);z(this,"size",bo.default);z(this,"title","");z(this,"extra","");z(this,"slotable",new ye(xe.placer,!1));z(this,"slotTitle",new ye(xe.slot,void 0,new Ln({allowDrag:!0,slotName:"title"}),void 0,new Vn));z(this,"slotExtra",new ye(xe.slot,void 0,new Ln({allowDrag:!0,slotName:"extra"}),void 0,new Vn));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class uB extends wo{constructor(){super(...arguments);z(this,"content",new ye(xe.placer,""));z(this,"span",1);z(this,"width","");z(this,"minWidth","");z(this,"align",Iu.left);z(this,"labelAlign",Iu.left);z(this,"className","");z(this,"labelClassName","")}}class Xne extends Fi{constructor(){super(...arguments);z(this,"width",new ye(xe.placer,""));z(this,"height",new ye(xe.placer,""));z(this,"src","");z(this,"fit",pE.empty);z(this,"loading",v5.eager);z(this,"hideOnClickModal",!1);z(this,"lazy",!1);z(this,"closeOnPressEscape",!0);z(this,"previewTeleported",!1);z(this,"infinite",!0);z(this,"scrollContainer","");z(this,"referrerpolicy","");z(this,"previewSrcList",new ye(xe.dataObject,[],new br({type:Ge.array,enable:!0})));z(this,"zIndex",999999);z(this,"initialIndex",0);z(this,"zoomRate",1.2);z(this,"placeholder",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"slotError",new ye(xe.slot,void 0,new Ln({slotName:"error"}),void 0,new Vn));z(this,"viewer",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"load",new ye(xe.event,void 0,new at));z(this,"error",new ye(xe.event,void 0,new at));z(this,"switch",new ye(xe.event,void 0,new at));z(this,"close",new ye(xe.event,void 0,new at));z(this,"show",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class Yne extends Fi{constructor(){super(...arguments);z(this,"separator","");z(this,"separatorIcon",new ye(xe.icon));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class cB extends wo{constructor(){super(...arguments);z(this,"to","");z(this,"replace",!1);z(this,"useRouter",!1)}}class Jne extends Fi{constructor(){super(...arguments);z(this,"uniqueOpened",!1);z(this,"router",!1);z(this,"collapseTransition",!0);z(this,"collapse",!1);z(this,"ellipsis",!1);z(this,"ellipsisIcon","");z(this,"backgroundColor","#ffffff");z(this,"textColor","#303133");z(this,"activeTextColor","#409EFF");z(this,"mode",Ls.vertical);z(this,"menuTrigger",jg.hover);z(this,"popperEffect",Up.dark);z(this,"closeOnClickOutside",!1);z(this,"popperClass","");z(this,"showTimeout",0);z(this,"hideTimeout",0);z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class fB extends wo{constructor(){super(...arguments);z(this,"disabled",!1);z(this,"icon","");z(this,"route","");z(this,"click",new ye(xe.event,void 0,new at));z(this,"menuItemType",Ul.None);z(this,"showTimeout",0);z(this,"hideTimeout",0);z(this,"popperOffset",0);z(this,"expandCloseIcon","");z(this,"expandOpenIcon","");z(this,"collapseCloseIcon","");z(this,"collapseOpenIcon","");z(this,"popperClass","");z(this,"teleported",!0);z(this,"children")}}class Zne extends Fi{constructor(){super(...arguments);z(this,"label");z(this,"displayLayout",new ye(xe.placer,Fs.inline))}}class Qne extends Fi{constructor(){super(...arguments);z(this,"direction",Ls.horizontal);z(this,"space","");z(this,"processStatus",uE.process);z(this,"finishStatus",uE.finish);z(this,"alignCenter",!1);z(this,"simple",!1);z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class pB extends wo{constructor(){super(...arguments);z(this,"description","");z(this,"icon","");z(this,"status","")}}class qne extends Fi{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"100%"));z(this,"data",new ye(xe.singleOption,null));z(this,"height","200px");z(this,"maxHeight","200px");z(this,"emptyText","");z(this,"size",bo.default);z(this,"defaultSort",new ye(xe.dataObject,{},new br({type:Ge.array,enable:!1})));z(this,"tableLayout",i5.fixed);z(this,"stripe",!1);z(this,"border",!1);z(this,"fit",!0);z(this,"showHeader",!0);z(this,"scrollbarAlwaysOn",!1);z(this,"flexible",!1);z(this,"beforeTableRender",new ye(xe.placerHook,void 0,new at));z(this,"highlightCurrentRow",!1);z(this,"currentRowKey","");z(this,"rowClassName",new ye(xe.hook,void 0,new at));z(this,"rowStyle",new ye(xe.hook,void 0,new at));z(this,"headerRowClassName",new ye(xe.hook,void 0,new at));z(this,"headerRowStyle",new ye(xe.hook,void 0,new at));z(this,"rowKey",new ye(xe.hook,void 0,new at));z(this,"expandRowKeys",new ye(xe.dataObject,[],new br({type:Ge.array,enable:!1})));z(this,"cellClassName",new ye(xe.hook,void 0,new at));z(this,"cellStyle",new ye(xe.hook,void 0,new at));z(this,"headerCellClassName",new ye(xe.hook,void 0,new at));z(this,"headerCellStyle",new ye(xe.hook,void 0,new at));z(this,"defaultExpandAll",!1);z(this,"showSummary",!1);z(this,"selectOnIndeterminate",!0);z(this,"sumText","Sum");z(this,"summaryMethod",new ye(xe.hook,void 0,new at));z(this,"spanMethod",new ye(xe.hook,void 0,new at));z(this,"treeProps",new ye(xe.dataObject,{},new br({type:Ge.object,enable:!1})));z(this,"indent",16);z(this,"lazy",!1);z(this,"load",new ye(xe.hook,void 0,new at));z(this,"showOverflowTooltip",!1);z(this,"tooltipEffect",Up.dark);z(this,"tooltipOptions",null);z(this,"allowPage",new ye(xe.placer,!1));z(this,"pageSize",new ye(xe.placer,10));z(this,"pageSizes",new ye(xe.placer,[10,20,30,40,50,100]));z(this,"hideOnSinglePage",new ye(xe.placer,!1));z(this,"layout",new ye(xe.placer,["prev","pager","next","jumper","->","total"]));z(this,"select",new ye(xe.event,void 0,new at));z(this,"selectAll",new ye(xe.event,void 0,new at));z(this,"selectionChange",new ye(xe.event,void 0,new at));z(this,"cellMouseEnter",new ye(xe.event,void 0,new at));z(this,"cellMouseLeave",new ye(xe.event,void 0,new at));z(this,"cellClick",new ye(xe.event,void 0,new at));z(this,"cellDblclick",new ye(xe.event,void 0,new at));z(this,"cellContextmenu",new ye(xe.event,void 0,new at));z(this,"rowClick",new ye(xe.event,void 0,new at));z(this,"rowContextmenu",new ye(xe.event,void 0,new at));z(this,"rowDblclick",new ye(xe.event,void 0,new at));z(this,"headerClick",new ye(xe.event,void 0,new at));z(this,"headerContextmenu",new ye(xe.event,void 0,new at));z(this,"sortChange",new ye(xe.event,void 0,new at));z(this,"filterChange",new ye(xe.event,void 0,new at));z(this,"currentChange",new ye(xe.event,void 0,new at));z(this,"headerDragend",new ye(xe.event,void 0,new at));z(this,"expandChange",new ye(xe.event,void 0,new at));z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"append",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"empty",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class hB extends L0{constructor(){super(...arguments);z(this,"type",s5.default);z(this,"index",new ye(xe.hook,void 0,new at));z(this,"label","");z(this,"prop","");z(this,"width","");z(this,"minWidth","");z(this,"fixed",!1);z(this,"resizable",!0);z(this,"showOverflowTooltip",!1);z(this,"reserveSelection",!1);z(this,"renderHeader",new ye(xe.hook,void 0,new at));z(this,"formatter",new ye(xe.hook,void 0,new at));z(this,"selectable",new ye(xe.hook,void 0,new at));z(this,"align",Iu.left);z(this,"headerAlign",Iu.left);z(this,"className","");z(this,"labelClassName","");z(this,"sortable",!1);z(this,"sortOrders",new ye(xe.dataObject,["ascending","descending",null],new br({type:Ge.array})));z(this,"sortMethod",new ye(xe.hook,void 0,new at));z(this,"sortBy",new ye(xe.hook,void 0,new at));z(this,"filters",new ye(xe.dataObject,void 0,new br({type:Ge.object})));z(this,"filteredValue",new ye(xe.dataObject,void 0,new br({type:Ge.array,enable:!0})));z(this,"filterMethod",new ye(xe.hook,void 0,new at));z(this,"filterMultiple",!0);z(this,"filterPlacement",Hp.top);z(this,"filterClassName","");z(this,"columnKey","");z(this,"header",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"default",{widgetList:[],...new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn)});z(this,"slotable",new ye(xe.placer,!1));z(this,"uuid",new ye(xe.placer,zs()))}}class R0 extends E1{constructor(){super(...arguments);z(this,"customClass",new ye(xe.placer,[]));z(this,"displayLayout",new ye(xe.placer,Fs.block))}}class Hu extends R0{constructor(){super(...arguments);z(this,"componentWrapperClass",new ye(xe.placer,[]))}}class $ne extends R0{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"colHeight",new ye(xe.placer,""));z(this,"gutter",0);z(this,"justify",u5.start);z(this,"align",c5.middle);z(this,"tag","div");z(this,"cols",new ye(xe.placer,[]))}}class dB extends Hu{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"responsive",!1);z(this,"span",12);z(this,"xs",12);z(this,"sm",12);z(this,"md",12);z(this,"lg",12);z(this,"xl",12);z(this,"offset",0);z(this,"push",0);z(this,"pull",0);z(this,"tag","div");z(this,"horizontalAlign",new ye(xe.placer,""))}}class ere extends R0{constructor(){super(...arguments);z(this,"hidden",!1)}}class tre extends Hu{constructor(){super(...arguments);z(this,"cellWidth","");z(this,"cellHeight","");z(this,"colspan",0);z(this,"rowspan",0)}}class nre extends Hu{constructor(){super(...arguments);z(this,"label","");z(this,"title","");z(this,"defaultValue",!1);z(this,"width","50%");z(this,"fullscreen",!1);z(this,"top","");z(this,"modal",!0);z(this,"modalClass","");z(this,"lockScroll",!0);z(this,"draggable",!1);z(this,"overflow",!1);z(this,"center",!1);z(this,"alignCenter",!1);z(this,"closeOnClickModal",!0);z(this,"closeOnPressEscape",!0);z(this,"showClose",!0);z(this,"destroyOnClose",!1);z(this,"openDelay",0);z(this,"closeDelay",0);z(this,"closeIcon",new ye(xe.icon,"Close"));z(this,"beforeClose",new ye(xe.hook,void 0,new at));z(this,"appendToBody",!1);z(this,"appendTo","body");z(this,"zIndex",1e4);z(this,"header",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"footer",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"open",new ye(xe.event,void 0,new at));z(this,"opened",new ye(xe.event,void 0,new at));z(this,"close",new ye(xe.event,void 0,new at));z(this,"closed",new ye(xe.event,void 0,new at));z(this,"openAutoFocus",new ye(xe.event,void 0,new at));z(this,"closeAutoFocus",new ye(xe.event,void 0,new at))}}class rre extends Hu{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"100%"));z(this,"title","title");z(this,"type",m5.info);z(this,"description","description");z(this,"closable",!0);z(this,"center",!1);z(this,"closeText","");z(this,"showIcon",!1);z(this,"slotable",new ye(xe.placer,!1));z(this,"effect",Up.light);z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"titleSlot",new ye(xe.slot,void 0,new Ln({allowDrag:!0,slotName:"title"}),void 0,new Vn));z(this,"close",new ye(xe.event,void 0,new at))}}class ire extends Hu{constructor(){super(...arguments);z(this,"label","");z(this,"title","");z(this,"defaultValue",!1);z(this,"size","30%");z(this,"modal",!0);z(this,"modalClass","");z(this,"appendToBody",!1);z(this,"lockScroll",!0);z(this,"withHeader",!0);z(this,"showClose",!0);z(this,"closeOnClickModal",!0);z(this,"closeOnPressEscape",!0);z(this,"destroyOnClose",!1);z(this,"beforeClose",new ye(xe.hook,void 0,new at));z(this,"direction",l5.rtl);z(this,"openDelay",0);z(this,"closeDelay",0);z(this,"zIndex",1e4);z(this,"header",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"footer",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"open",new ye(xe.event,void 0,new at));z(this,"opened",new ye(xe.event,void 0,new at));z(this,"close",new ye(xe.event,void 0,new at));z(this,"closed",new ye(xe.event,void 0,new at));z(this,"openAutoFocus",new ye(xe.event,void 0,new at));z(this,"closeAutoFocus",new ye(xe.event,void 0,new at))}}class are extends Fi{constructor(){super(...arguments);z(this,"background",!1);z(this,"hideOnSinglePage",!1);z(this,"size",bo.default);z(this,"defaultPageSize",10);z(this,"pagerCount",7);z(this,"defaultCurrentPage",1);z(this,"layout",new ye(xe.dataObject,["prev","pager","next","jumper","->","total"]));z(this,"pageSizes",new ye(xe.dataObject,[10,20,30,40,50,100],new br({type:Ge.array,enable:!0})));z(this,"popperClass","");z(this,"prevText","");z(this,"nextText","");z(this,"prevIcon",new ye(xe.icon,"ArrowLeft"));z(this,"nextIcon",new ye(xe.icon,"ArrowRight"));z(this,"disabled",!1);z(this,"teleported",!0);z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"sizeChange",new ye(xe.event,void 0,new at));z(this,"currentChange",new ye(xe.event,void 0,new at));z(this,"change",new ye(xe.event,void 0,new at));z(this,"prevClick",new ye(xe.event,void 0,new at));z(this,"nextClick",new ye(xe.event,void 0,new at))}}class ore extends Hu{constructor(){super(...arguments);z(this,"newDataSource",new ye(xe.singleOption,null,new br({type:Ge.object,enable:!0})));z(this,"editDataSource",new ye(xe.singleOption,null,new br({type:Ge.object,enable:!0})));z(this,"loadDataWhenInit",new ye(xe.placer,!1));z(this,"showLoading",new ye(xe.placer,!1));z(this,"loadingText",new ye(xe.placer,""));z(this,"inline",!1);z(this,"disabled",!1);z(this,"labelAlign",new ye(xe.placer,""));z(this,"labelPosition",a5.right);z(this,"labelWidth","");z(this,"labelSuffix","");z(this,"statusIcon",!1);z(this,"hideRequiredAsterisk",!1);z(this,"requireAsteriskPosition",JD.left);z(this,"showMessage",!0);z(this,"inlineMessage",!1);z(this,"validateOnRuleChange",!0);z(this,"scrollToError",!1);z(this,"scrollIntoViewOptions",new ye(xe.dataObject,void 0,new br({type:Ge.object,enable:!0})));z(this,"size",bo.default);z(this,"customClass",new ye(xe.placer,[]));z(this,"validate",new ye(xe.event,void 0,new at));z(this,"default",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"modelName",new ye(xe.placer,"formData"));z(this,"refName",new ye(xe.placer,"vForm"));z(this,"rulesName",new ye(xe.placer,"rules"));z(this,"formCreated",new ye(xe.event,void 0,new at));z(this,"formMounted",new ye(xe.event,void 0,new at));z(this,"formDataChange",new ye(xe.event,void 0,new at));z(this,"formDataLoaded",new ye(xe.placerHook,void 0,new at));z(this,"needFormAdd",new ye(xe.placerHook,void 0,new at))}}class sre extends R0{constructor(){super(...arguments);z(this,"cols",new ye(xe.placer,[]))}}class lre extends R0{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"closable",!1);z(this,"addable",!1);z(this,"editable",!1);z(this,"stretch",!1);z(this,"showLoading",new ye(xe.placer,!1));z(this,"loadingText",new ye(xe.placer,""));z(this,"type",cE.borderCard);z(this,"tabPosition",QD.top);z(this,"beforeLeave",new ye(xe.hook,void 0,new at));z(this,"tabs",new ye(xe.placer,void 0,new at));z(this,"tabChange",new ye(xe.event,void 0,new at));z(this,"tabClick",new ye(xe.event,void 0,new at));z(this,"tabAdd",new ye(xe.event,void 0,new at));z(this,"edit",new ye(xe.event,void 0,new at));z(this,"tabRemove",new ye(xe.event,void 0,new at));z(this,"created",new ye(xe.event,void 0,new at));z(this,"mounted",new ye(xe.event,void 0,new at))}}class Tw extends Hu{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"label","");z(this,"disabled",!1);z(this,"lazy",!1);z(this,"isdefault",!1)}}class ure extends Hu{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(xe.placer,"100%"));z(this,"hidden",!1);z(this,"slotable",new ye(xe.placer,!1));z(this,"label",new ye(xe.placer,"card"));z(this,"folded",new ye(xe.placer,!1));z(this,"showFold",new ye(xe.placer,!1));z(this,"shadow",n5.always);z(this,"bodyStyle",new ye(xe.placer,void 0,new at));z(this,"header",new ye(xe.slot,void 0,new Ln,void 0,new Vn));z(this,"default",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class cre extends w1{constructor(){super(...arguments);z(this,"label",new ye(xe.placer,""));z(this,"hidden",!1);z(this,"minRowNum",1);z(this,"maxRowNum",50);z(this,"showMode",Rg.line);z(this,"addRecordText","");z(this,"deleteRecordText","");z(this,"sortUpText","");z(this,"sortDownText","");z(this,"showHeader",!0);z(this,"showDetail",!1);z(this,"onlyOneAddButton",!1);z(this,"showBorder",!0);z(this,"showLimit",!1);z(this,"sortable",!1);z(this,"allowAdd",!0);z(this,"allowDelete",!0);z(this,"allowDefaultAdd",!1);z(this,"row",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"detail",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"addRow",new ye(xe.event,void 0,new at));z(this,"deleteRow",new ye(xe.event,void 0,new at));z(this,"change",new ye(xe.event,void 0,new at));z(this,"click",new ye(xe.event,void 0,new at));z(this,"dataFormat",new ye(xe.hook,void 0,new at));z(this,"rowDataFormat",new ye(xe.hook,void 0,new at))}}class fre extends w1{constructor(){super(...arguments);z(this,"label",new ye(xe.placer,""));z(this,"data",new ye(xe.singleOption,null));z(this,"alwaysShow",!1);z(this,"hidden",!1);z(this,"showLoading",!1);z(this,"loadingText","");z(this,"loadDataWhenInit",new ye(xe.placer,!1));z(this,"noData","");z(this,"completed",new ye(xe.event,void 0,new at));z(this,"row",new ye(xe.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"click",new ye(xe.event,void 0,new at))}}class pre extends E1{constructor(){super(...arguments);z(this,"label","");z(this,"compName",et.tag);z(this,"appendOnClick",!0);z(this,"showSaveButton",!0);z(this,"showAddButton",!0);z(this,"labelKey","label");z(this,"contentKey","value");z(this,"relatedIds",new ye(xe.dataObject,[],new br({type:Ge.array,enable:!0})));z(this,"addButtonText","");z(this,"saveButtonText","");z(this,"operateData",new ye(xe.dataObject,{},new br({type:Ge.object,enable:!0})));z(this,"hidden",!1);z(this,"click",new ye(xe.event,void 0,new at));z(this,"save",new ye(xe.event,void 0,new at));z(this,"add",new ye(xe.event,void 0,new at));z(this,"optionItems",new ye(xe.singleOption,[],new br({type:Ge.array,enable:!0})))}}class vB extends E1{constructor(){super(...arguments);z(this,"label");z(this,"value")}}class hre extends Fi{constructor(){super(...arguments);z(this,"src","");z(this,"withQuery",new ye(xe.placer,!1));z(this,"hashRouter",new ye(xe.placer,!1));z(this,"onLoaded",new ye(xe.event,void 0,new at))}}const Oa={autoWidth:!0,inlineLayout:!0},mB=[new Dn(et.text,new Ane,!1,Oa),new Dn(et.link,new Tne,!1,Oa),new Dn(et.button,new Pne,!1,Oa),new Dn(et.tag,new Dne,!1,Oa),new Dn(et.icon,new Fne,!1,Oa)];class cf extends lt{constructor(){super(),this.category=Bu.container}}class Dw extends lt{constructor(){super();z(this,"widgetList",[]);this.category=Bu.container}}class dre extends cf{constructor(){super();z(this,"cols",[]);this.type=et.cont,this.options=new sre,this.init(!1)}}class Pw extends L0{constructor(){super(...arguments);z(this,"direction",Ls.vertical);z(this,"partName",new ye(xe.placer,Hl.container));z(this,"cellWidth",new ye(xe.placer,""));z(this,"cellHeight",new ye(xe.placer,""));z(this,"customClass",new ye(xe.placer,[]));z(this,"componentWrapperClass",new ye(xe.placer,[]));z(this,"children",[]);z(this,"widgetList",[])}}class vre extends cf{constructor(){super();z(this,"cols",[]);this.type=et.grid,this.options=new $ne,this.init(!1)}}class mre extends Dw{constructor(){super();z(this,"internal",!0);this.type=et.gridCol,this.options=new dB,this.init(!1)}}class gre extends cf{constructor(){super();z(this,"rows",[]);this.type=et.table,this.options=new ere,this.init(!1)}}class yre extends cf{constructor(){super();z(this,"internal",!0);z(this,"cols",[]);this.type=et.tableRow,this.init(!1)}}class _re extends Dw{constructor(){super();z(this,"internal",!0);z(this,"merged",!1);this.type=et.tableCol,this.options=new tre,this.init(!1)}}class bre extends cf{constructor(){super();z(this,"displayType",cE.borderCard);z(this,"tabs",[]);this.type=et.tabs,this.options=new lre,this.init(!1)}}class xre extends Dw{constructor(){super();z(this,"internal",!0);this.type=et.tabPane,this.options=new Tw,this.init(!1)}}class Ere extends cf{constructor(){super();z(this,"slots",[]);z(this,"widgetList",[]);this.type=et.form,this.options=new ore,this.init(!1)}}class wre extends cf{constructor(){super();z(this,"widgetList",[]);this.type=et.wrapper,this.options=new Sre,this.init(!1)}}class Sre extends w1{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"disabled",!1);z(this,"lazy",!1);z(this,"showLoading",new ye(xe.placer,!1));z(this,"loadingText",new ye(xe.placer,""))}}class Cre extends Fi{constructor(){super(...arguments);z(this,"label","");z(this,"labelHidden",new ye(xe.placer,!1));z(this,"labelAlign",new ye(xe.placer,""));z(this,"labelWidth",new ye(xe.placer,""));z(this,"labelIconClass",new ye(xe.icon));z(this,"labelIconPosition",new ye(xe.placer,Qc.rear));z(this,"labelTooltip",new ye(xe.placer,""))}}class Are extends Cre{constructor(){super(...arguments);z(this,"splitText","-");z(this,"unitText","");z(this,"left",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"right",new ye(xe.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}const gB=[new vre,new mre,new gre,new yre,new _re,new dre,new wre],yB=[new Ere,new Dn(et.input,new ine,!0),new Dn(et.textarea,new ane,!0),new Dn(et.number,new one,!0),new Dn(et.radio,new lne,!0),new Dn(et.checkbox,new une,!0),new Dn(et.autoComplete,new sne,!0),new Dn(et.select,new eB,!0),new Dn(et.cascader,new wne,!0),new Dn(et.treeSelect,{treeDivider:"",...new iB,selectDivider:"",...new eB},!0),new Dn(et.switch,new vne,!0),new Dn(et.timeSelect,new dne,!0),new Dn(et.timePicker,new cne,!0),new Dn(et.timePickerRange,new fne,!0),new Dn(et.datePicker,new pne,!0),new Dn(et.datePickerRange,new hne,!0),new Dn(et.pictureUpload,new bne,!0),new Dn(et.fileUpload,new xne,!0),new Dn(et.rate,new mne,!0),new Dn(et.colorPicker,new yne,!0),new Dn(et.slider,new _ne,!0),new Dn(et.richEditor,new Ene,!0),new Dn(et.cache,new rne,!0)],_B=[new Dn(et.multirow,new cre,!0,{dynamicItemFlag:!0}),new Dn(et.tmpl,new fre,!1,{dynamicItemFlag:!0}),new Dn(et.model,new pre,!1),new Dn(et.range,new Are,!1)],bB=[],xB=[new Dn(et.avatar,new Vne,!1,Oa),new Dn(et.badge,new Rne,!1,Oa),new Dn(et.empty,new Lne,!1),new Dn(et.result,new zne,!1),new Dn(et.card,new ure,!1),new Dn(et.collapse,new Wne,!1),new Dn(et.descriptions,new Kne,!1),new Dn(et.carousel,new Gne,!1),new Dn(et.image,new Xne,!1,Oa),new Dn(et.eltable,new qne,!1),new Dn(et.pagination,new are,!1),new Dn(et.progress,new gne,!1,Oa),new Dn(et.tree,new iB,!1),new Dn(et.barcode,new Ine,!1),new Dn(et.qrcode,new Nne,!1),new Dn(et.verifycode,new Mne,!1)],EB=[new Dn(et.router,new Zne,!1,Oa),new bre,new xre,new Dn(et.steps,new Qne,!1),new Dn(et.dropdown,new jne,!1,Oa),new Dn(et.menu,new Jne,!1),new Dn(et.breadcrumb,new Yne,!1),new Dn(et.affix,new Bne,!1,Oa),new Dn(et.backtop,new Une,!1,Oa),new Dn(et.anchor,new Hne,!1,Oa)],wB=[new Dn(et.dialog,new nre,!1),new Dn(et.drawer,new ire,!1),new Dn(et.alert,new rre,!1)],SB=[new Dn(et.staticText,new Sne,!1,Oa),new Dn(et.htmlText,new Cne,!1,Oa),new Dn(et.divider,new One,!1),new Dn(et.chart,new kne,!1),new Dn(et.iframe,new hre,!1)],Tre=[...gB,...mB,...yB,...bB,..._B,...xB,...wB,...EB,...SB],Dre={containers:gB,basicFields:mB,formFields:yB,systemFields:bB,advancedFields:_B,dataFields:xB,navFields:EB,feedBackFields:wB,otherFields:SB,allWidgets:Tre},ff=(t,e)=>{var r;if(!t||!e)return!1;let n=Gu(t==null?void 0:t.type);return!n||!(n!=null&&n.options)?!1:((r=Sr(n==null?void 0:n.options))==null?void 0:r.indexOf(e))>-1},Gu=t=>{var e;return(e=Dre.allWidgets)==null?void 0:e.find(n=>n.type===t)},Pre=t=>{const e=t.id;if(!e)return null;const n=lt.getName(t);return{id:e,name:n}},qo=(t,e,n)=>{if(!t)return It(t);var r=t==null?void 0:t.id,a=t.type+zs(),o=a;n&&(o=n(r,a));const i=Pre(t);return Ore(t,o,e),i&&(e!=null&&e.recordSource)&&Zn(t,{_source:i}),It(t)},Ore=(t,e,n)=>(ea(t,Kt.id)&&(t.id=e),t.options=kre(t.options,e,n),t),kre=(t,e,n)=>(ea(t,Kt.name)&&(n==null?void 0:n.newName)!=!1&&(t.name=Gl(e,"-","")),ea(t,Kt.label)&&!(t!=null&&t.label)&&(n==null?void 0:n.newLabel)!=!1&&(t.label=Gl(e,"-","")),t),CB=t=>{const e="id@";return{idClass:`${e}${t==null?void 0:t.id}`,getIdByIdClass:o=>o==null?void 0:o.substring(e.length),isIdClass:o=>o==null?void 0:o.startsWith(e)}};var AB={},Bre={get exports(){return AB},set exports(t){AB=t}};/*! jsonpath 1.1.1 */(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,a,o){function i(l,c){if(!a[l]){if(!r[l]){var f=typeof M0=="function"&&M0;if(!c&&f)return f(l,!0);if(u)return u(l,!0);var h=new Error("Cannot find module '"+l+"'");throw h.code="MODULE_NOT_FOUND",h}var d=a[l]={exports:{}};r[l][0].call(d.exports,function(v){var m=r[l][1][v];return i(m||v)},d,d.exports,n,r,a,o)}return a[l].exports}for(var u=typeof M0=="function"&&M0,s=0;s<o.length;s++)i(o[s]);return i}({"./aesprim":[function(n,r,a){(function(o,i){i(typeof a<"u"?a:o.esprima={})})(this,function(o){var i,u,s,l,c,f,h,d,v,m,p,g,y,x,b,E,w,S;i={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},u={},u[i.BooleanLiteral]="Boolean",u[i.EOF]="<end>",u[i.Identifier]="Identifier",u[i.Keyword]="Keyword",u[i.NullLiteral]="Null",u[i.NumericLiteral]="Numeric",u[i.Punctuator]="Punctuator",u[i.StringLiteral]="String",u[i.RegularExpression]="RegularExpression",s=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],l={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},f={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},h={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function A(le,fe){if(!le)throw new Error("ASSERT: "+fe)}function P(le){return le>=48&&le<=57}function C(le){return"0123456789abcdefABCDEF".indexOf(le)>=0}function D(le){return"01234567".indexOf(le)>=0}function O(le){return le===32||le===9||le===11||le===12||le===160||le>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(le)>=0}function k(le){return le===10||le===13||le===8232||le===8233}function B(le){return le==64||le===36||le===95||le>=65&&le<=90||le>=97&&le<=122||le===92||le>=128&&h.NonAsciiIdentifierStart.test(String.fromCharCode(le))}function N(le){return le===36||le===95||le>=65&&le<=90||le>=97&&le<=122||le>=48&&le<=57||le===92||le>=128&&h.NonAsciiIdentifierPart.test(String.fromCharCode(le))}function M(le){switch(le){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function j(le){switch(le){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function F(le){return le==="eval"||le==="arguments"}function R(le){if(m&&j(le))return!0;switch(le.length){case 2:return le==="if"||le==="in"||le==="do";case 3:return le==="var"||le==="for"||le==="new"||le==="try"||le==="let";case 4:return le==="this"||le==="else"||le==="case"||le==="void"||le==="with"||le==="enum";case 5:return le==="while"||le==="break"||le==="catch"||le==="throw"||le==="const"||le==="yield"||le==="class"||le==="super";case 6:return le==="return"||le==="typeof"||le==="delete"||le==="switch"||le==="export"||le==="import";case 7:return le==="default"||le==="finally"||le==="extends";case 8:return le==="function"||le==="continue"||le==="debugger";case 10:return le==="instanceof";default:return!1}}function G(le,fe,Le,Ye,ct){var xt;A(typeof Le=="number","Comment must have valid position"),!(w.lastCommentStart>=Le)&&(w.lastCommentStart=Le,xt={type:le,value:fe},S.range&&(xt.range=[Le,Ye]),S.loc&&(xt.loc=ct),S.comments.push(xt),S.attachComment&&(S.leadingComments.push(xt),S.trailingComments.push(xt)))}function L(le){var fe,Le,Ye,ct;for(fe=p-le,Le={start:{line:g,column:p-y-le}};p<x;)if(Ye=v.charCodeAt(p),++p,k(Ye)){S.comments&&(ct=v.slice(fe+le,p-1),Le.end={line:g,column:p-y-1},G("Line",ct,fe,p-1,Le)),Ye===13&&v.charCodeAt(p)===10&&++p,++g,y=p;return}S.comments&&(ct=v.slice(fe+le,p),Le.end={line:g,column:p-y},G("Line",ct,fe,p,Le))}function V(){var le,fe,Le,Ye;for(S.comments&&(le=p-2,fe={start:{line:g,column:p-y-2}});p<x;)if(Le=v.charCodeAt(p),k(Le))Le===13&&v.charCodeAt(p+1)===10&&++p,++g,++p,y=p,p>=x&&Ce({},f.UnexpectedToken,"ILLEGAL");else if(Le===42){if(v.charCodeAt(p+1)===47){++p,++p,S.comments&&(Ye=v.slice(le+2,p-2),fe.end={line:g,column:p-y},G("Block",Ye,le,p,fe));return}++p}else++p;Ce({},f.UnexpectedToken,"ILLEGAL")}function K(){var le,fe;for(fe=p===0;p<x;)if(le=v.charCodeAt(p),O(le))++p;else if(k(le))++p,le===13&&v.charCodeAt(p)===10&&++p,++g,y=p,fe=!0;else if(le===47)if(le=v.charCodeAt(p+1),le===47)++p,++p,L(2),fe=!0;else if(le===42)++p,++p,V();else break;else if(fe&&le===45)if(v.charCodeAt(p+1)===45&&v.charCodeAt(p+2)===62)p+=3,L(3);else break;else if(le===60)if(v.slice(p+1,p+4)==="!--")++p,++p,++p,++p,L(4);else break;else break}function Y(le){var fe,Le,Ye,ct=0;for(Le=le==="u"?4:2,fe=0;fe<Le;++fe)if(p<x&&C(v[p]))Ye=v[p++],ct=ct*16+"0123456789abcdef".indexOf(Ye.toLowerCase());else return"";return String.fromCharCode(ct)}function J(){var le,fe;for(le=v.charCodeAt(p++),fe=String.fromCharCode(le),le===92&&(v.charCodeAt(p)!==117&&Ce({},f.UnexpectedToken,"ILLEGAL"),++p,le=Y("u"),(!le||le==="\\"||!B(le.charCodeAt(0)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),fe=le);p<x&&(le=v.charCodeAt(p),!!N(le));)++p,fe+=String.fromCharCode(le),le===92&&(fe=fe.substr(0,fe.length-1),v.charCodeAt(p)!==117&&Ce({},f.UnexpectedToken,"ILLEGAL"),++p,le=Y("u"),(!le||le==="\\"||!N(le.charCodeAt(0)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),fe+=le);return fe}function Q(){var le,fe;for(le=p++;p<x;){if(fe=v.charCodeAt(p),fe===92)return p=le,J();if(N(fe))++p;else break}return v.slice(le,p)}function ce(){var le,fe,Le;return le=p,fe=v.charCodeAt(p)===92?J():Q(),fe.length===1?Le=i.Identifier:R(fe)?Le=i.Keyword:fe==="null"?Le=i.NullLiteral:fe==="true"||fe==="false"?Le=i.BooleanLiteral:Le=i.Identifier,{type:Le,value:fe,lineNumber:g,lineStart:y,start:le,end:p}}function se(){var le=p,fe=v.charCodeAt(p),Le,Ye=v[p],ct,xt,we;switch(fe){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++p,S.tokenize&&(fe===40?S.openParenToken=S.tokens.length:fe===123&&(S.openCurlyToken=S.tokens.length)),{type:i.Punctuator,value:String.fromCharCode(fe),lineNumber:g,lineStart:y,start:le,end:p};default:if(Le=v.charCodeAt(p+1),Le===61)switch(fe){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return p+=2,{type:i.Punctuator,value:String.fromCharCode(fe)+String.fromCharCode(Le),lineNumber:g,lineStart:y,start:le,end:p};case 33:case 61:return p+=2,v.charCodeAt(p)===61&&++p,{type:i.Punctuator,value:v.slice(le,p),lineNumber:g,lineStart:y,start:le,end:p}}}if(we=v.substr(p,4),we===">>>=")return p+=4,{type:i.Punctuator,value:we,lineNumber:g,lineStart:y,start:le,end:p};if(xt=we.substr(0,3),xt===">>>"||xt==="<<="||xt===">>=")return p+=3,{type:i.Punctuator,value:xt,lineNumber:g,lineStart:y,start:le,end:p};if(ct=xt.substr(0,2),Ye===ct[1]&&"+-<>&|".indexOf(Ye)>=0||ct==="=>")return p+=2,{type:i.Punctuator,value:ct,lineNumber:g,lineStart:y,start:le,end:p};if("<>=!+-*%&|^/".indexOf(Ye)>=0)return++p,{type:i.Punctuator,value:Ye,lineNumber:g,lineStart:y,start:le,end:p};Ce({},f.UnexpectedToken,"ILLEGAL")}function oe(le){for(var fe="";p<x&&C(v[p]);)fe+=v[p++];return fe.length===0&&Ce({},f.UnexpectedToken,"ILLEGAL"),B(v.charCodeAt(p))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt("0x"+fe,16),lineNumber:g,lineStart:y,start:le,end:p}}function ae(le){for(var fe="0"+v[p++];p<x&&D(v[p]);)fe+=v[p++];return(B(v.charCodeAt(p))||P(v.charCodeAt(p)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt(fe,8),octal:!0,lineNumber:g,lineStart:y,start:le,end:p}}function ge(){var le,fe,Le;if(Le=v[p],A(P(Le.charCodeAt(0))||Le===".","Numeric literal must start with a decimal digit or a decimal point"),fe=p,le="",Le!=="."){if(le=v[p++],Le=v[p],le==="0"){if(Le==="x"||Le==="X")return++p,oe(fe);if(D(Le))return ae(fe);Le&&P(Le.charCodeAt(0))&&Ce({},f.UnexpectedToken,"ILLEGAL")}for(;P(v.charCodeAt(p));)le+=v[p++];Le=v[p]}if(Le==="."){for(le+=v[p++];P(v.charCodeAt(p));)le+=v[p++];Le=v[p]}if(Le==="e"||Le==="E")if(le+=v[p++],Le=v[p],(Le==="+"||Le==="-")&&(le+=v[p++]),P(v.charCodeAt(p)))for(;P(v.charCodeAt(p));)le+=v[p++];else Ce({},f.UnexpectedToken,"ILLEGAL");return B(v.charCodeAt(p))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseFloat(le),lineNumber:g,lineStart:y,start:fe,end:p}}function X(){var le="",fe,Le,Ye,ct,xt,we,Oe=!1,ze,tt;for(ze=g,tt=y,fe=v[p],A(fe==="'"||fe==='"',"String literal must starts with a quote"),Le=p,++p;p<x;)if(Ye=v[p++],Ye===fe){fe="";break}else if(Ye==="\\")if(Ye=v[p++],!Ye||!k(Ye.charCodeAt(0)))switch(Ye){case"u":case"x":we=p,xt=Y(Ye),xt?le+=xt:(p=we,le+=Ye);break;case"n":le+=`
|
|
68
|
+
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(u){if((u>>24&255)===255){var s=u>>16&255,l=u>>8&255,c=u&255;s===255?(s=0,l===255?(l=0,c===255?c=0:++c):++l):++s,u=0,u+=s<<16,u+=l<<8,u+=c}else u+=1<<24;return u}function o(u){return(u[0]=a(u[0]))===0&&(u[1]=a(u[1])),u}var i=r.Encryptor=r.extend({processBlock:function(u,s){var l=this._cipher,c=l.blockSize,f=this._iv,h=this._counter;f&&(h=this._counter=f.slice(0),this._iv=void 0),o(h);var d=h.slice(0);l.encryptBlock(d,0);for(var v=0;v<c;v++)u[s+v]^=d[v]}});return r.Decryptor=i,r}(),n.mode.CTRGladman})}(ete)),i1}var a1={},nte={get exports(){return a1},set exports(t){a1=t}},Ok;function rte(){return Ok||(Ok=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(o,i){var u=this._cipher,s=u.blockSize,l=this._iv,c=this._keystream;l&&(c=this._keystream=l.slice(0),this._iv=void 0),u.encryptBlock(c,0);for(var f=0;f<s;f++)o[i+f]^=c[f]}});return r.Decryptor=a,r}(),n.mode.OFB})}(nte)),a1}var o1={},ite={get exports(){return o1},set exports(t){o1=t}},kk;function ate(){return kk||(kk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,o){this._cipher.encryptBlock(a,o)}}),r.Decryptor=r.extend({processBlock:function(a,o){this._cipher.decryptBlock(a,o)}}),r}(),n.mode.ECB})}(ite)),o1}var s1={},ote={get exports(){return s1},set exports(t){s1=t}},Bk;function ste(){return Bk||(Bk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.AnsiX923={pad:function(r,a){var o=r.sigBytes,i=a*4,u=i-o%i,s=o+u-1;r.clamp(),r.words[s>>>2]|=u<<24-s%4*8,r.sigBytes+=u},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(ote)),s1}var l1={},lte={get exports(){return l1},set exports(t){l1=t}},Ik;function ute(){return Ik||(Ik=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.Iso10126={pad:function(r,a){var o=a*4,i=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(lte)),l1}var u1={},cte={get exports(){return u1},set exports(t){u1=t}},Nk;function fte(){return Nk||(Nk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(cte)),u1}var c1={},pte={get exports(){return c1},set exports(t){c1=t}},Mk;function hte(){return Mk||(Mk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.ZeroPadding={pad:function(r,a){var o=a*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var a=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(a[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(pte)),c1}var f1={},dte={get exports(){return f1},set exports(t){f1=t}},Fk;function vte(){return Fk||(Fk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(dte)),f1}var p1={},mte={get exports(){return p1},set exports(t){p1=t}},Lk;function gte(){return Lk||(Lk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),ta())})(Xn,function(n){return function(r){var a=n,o=a.lib,i=o.CipherParams,u=a.enc,s=u.Hex,l=a.format;l.Hex={stringify:function(c){return c.ciphertext.toString(s)},parse:function(c){var f=s.parse(c);return i.create({ciphertext:f})}}}(),n.format.Hex})}(mte)),p1}var h1={},yte={get exports(){return h1},set exports(t){h1=t}},Rk;function _te(){return Rk||(Rk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo,u=[],s=[],l=[],c=[],f=[],h=[],d=[],v=[],m=[],p=[];(function(){for(var x=[],b=0;b<256;b++)b<128?x[b]=b<<1:x[b]=b<<1^283;for(var E=0,w=0,b=0;b<256;b++){var S=w^w<<1^w<<2^w<<3^w<<4;S=S>>>8^S&255^99,u[E]=S,s[S]=E;var A=x[E],P=x[A],C=x[P],D=x[S]*257^S*16843008;l[E]=D<<24|D>>>8,c[E]=D<<16|D>>>16,f[E]=D<<8|D>>>24,h[E]=D;var D=C*16843009^P*65537^A*257^E*16843008;d[S]=D<<24|D>>>8,v[S]=D<<16|D>>>16,m[S]=D<<8|D>>>24,p[S]=D,E?(E=A^x[x[x[C^A]]],w^=x[x[w]]):E=w=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=o.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var b=this._keyPriorReset=this._key,E=b.words,w=b.sigBytes/4,S=this._nRounds=w+6,A=(S+1)*4,P=this._keySchedule=[],C=0;C<A;C++)C<w?P[C]=E[C]:(x=P[C-1],C%w?w>6&&C%w==4&&(x=u[x>>>24]<<24|u[x>>>16&255]<<16|u[x>>>8&255]<<8|u[x&255]):(x=x<<8|x>>>24,x=u[x>>>24]<<24|u[x>>>16&255]<<16|u[x>>>8&255]<<8|u[x&255],x^=g[C/w|0]<<24),P[C]=P[C-w]^x);for(var D=this._invKeySchedule=[],O=0;O<A;O++){var C=A-O;if(O%4)var x=P[C];else var x=P[C-4];O<4||C<=4?D[O]=x:D[O]=d[u[x>>>24]]^v[u[x>>>16&255]]^m[u[x>>>8&255]]^p[u[x&255]]}}},encryptBlock:function(x,b){this._doCryptBlock(x,b,this._keySchedule,l,c,f,h,u)},decryptBlock:function(x,b){var E=x[b+1];x[b+1]=x[b+3],x[b+3]=E,this._doCryptBlock(x,b,this._invKeySchedule,d,v,m,p,s);var E=x[b+1];x[b+1]=x[b+3],x[b+3]=E},_doCryptBlock:function(x,b,E,w,S,A,P,C){for(var D=this._nRounds,O=x[b]^E[0],k=x[b+1]^E[1],B=x[b+2]^E[2],N=x[b+3]^E[3],M=4,j=1;j<D;j++){var F=w[O>>>24]^S[k>>>16&255]^A[B>>>8&255]^P[N&255]^E[M++],R=w[k>>>24]^S[B>>>16&255]^A[N>>>8&255]^P[O&255]^E[M++],G=w[B>>>24]^S[N>>>16&255]^A[O>>>8&255]^P[k&255]^E[M++],L=w[N>>>24]^S[O>>>16&255]^A[k>>>8&255]^P[B&255]^E[M++];O=F,k=R,B=G,N=L}var F=(C[O>>>24]<<24|C[k>>>16&255]<<16|C[B>>>8&255]<<8|C[N&255])^E[M++],R=(C[k>>>24]<<24|C[B>>>16&255]<<16|C[N>>>8&255]<<8|C[O&255])^E[M++],G=(C[B>>>24]<<24|C[N>>>16&255]<<16|C[O>>>8&255]<<8|C[k&255])^E[M++],L=(C[N>>>24]<<24|C[O>>>16&255]<<16|C[k>>>8&255]<<8|C[B&255])^E[M++];x[b]=F,x[b+1]=R,x[b+2]=G,x[b+3]=L},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(yte)),h1}var d1={},bte={get exports(){return d1},set exports(t){d1=t}},jk;function xte(){return jk||(jk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,i=a.BlockCipher,u=r.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=u.DES=i.extend({_doReset:function(){for(var g=this._key,y=g.words,x=[],b=0;b<56;b++){var E=s[b]-1;x[b]=y[E>>>5]>>>31-E%32&1}for(var w=this._subKeys=[],S=0;S<16;S++){for(var A=w[S]=[],P=c[S],b=0;b<24;b++)A[b/6|0]|=x[(l[b]-1+P)%28]<<31-b%6,A[4+(b/6|0)]|=x[28+(l[b+24]-1+P)%28]<<31-b%6;A[0]=A[0]<<1|A[0]>>>31;for(var b=1;b<7;b++)A[b]=A[b]>>>(b-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var C=this._invSubKeys=[],b=0;b<16;b++)C[b]=w[15-b]},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._subKeys)},decryptBlock:function(g,y){this._doCryptBlock(g,y,this._invSubKeys)},_doCryptBlock:function(g,y,x){this._lBlock=g[y],this._rBlock=g[y+1],v.call(this,4,252645135),v.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),v.call(this,1,1431655765);for(var b=0;b<16;b++){for(var E=x[b],w=this._lBlock,S=this._rBlock,A=0,P=0;P<8;P++)A|=f[P][((S^E[P])&h[P])>>>0];this._lBlock=S,this._rBlock=w^A}var C=this._lBlock;this._lBlock=this._rBlock,this._rBlock=C,v.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),g[y]=this._lBlock,g[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(g,y){var x=(this._lBlock>>>g^this._rBlock)&y;this._rBlock^=x,this._lBlock^=x<<g}function m(g,y){var x=(this._rBlock>>>g^this._lBlock)&y;this._lBlock^=x,this._rBlock^=x<<g}r.DES=i._createHelper(d);var p=u.TripleDES=i.extend({_doReset:function(){var g=this._key,y=g.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=y.slice(0,2),b=y.length<4?y.slice(0,2):y.slice(2,4),E=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=d.createEncryptor(o.create(x)),this._des2=d.createEncryptor(o.create(b)),this._des3=d.createEncryptor(o.create(E))},encryptBlock:function(g,y){this._des1.encryptBlock(g,y),this._des2.decryptBlock(g,y),this._des3.encryptBlock(g,y)},decryptBlock:function(g,y){this._des3.decryptBlock(g,y),this._des2.encryptBlock(g,y),this._des1.decryptBlock(g,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=i._createHelper(p)}(),n.TripleDES})}(bte)),d1}var v1={},Ete={get exports(){return v1},set exports(t){v1=t}},Vk;function wte(){return Vk||(Vk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=i.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,h=c.sigBytes,d=this._S=[],v=0;v<256;v++)d[v]=v;for(var v=0,m=0;v<256;v++){var p=v%h,g=f[p>>>2]>>>24-p%4*8&255;m=(m+d[v]+g)%256;var y=d[v];d[v]=d[m],d[m]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var c=this._S,f=this._i,h=this._j,d=0,v=0;v<4;v++){f=(f+1)%256,h=(h+c[f])%256;var m=c[f];c[f]=c[h],c[h]=m,d|=c[(c[f]+c[h])%256]<<24-v*8}return this._i=f,this._j=h,d}r.RC4=o._createHelper(u);var l=i.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)s.call(this)}});r.RC4Drop=o._createHelper(l)}(),n.RC4})}(Ete)),v1}var m1={},Ste={get exports(){return m1},set exports(t){m1=t}},zk;function Cte(){return zk||(zk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.Rabbit=o.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],p=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)p[v]^=m[v+4&7];if(d){var g=d.words,y=g[0],x=g[1],b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=b>>>16|E&4294901760,S=E<<16|b&65535;p[0]^=b,p[1]^=w,p[2]^=E,p[3]^=S,p[4]^=b,p[5]^=w,p[6]^=E,p[7]^=S;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,x=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^x}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(Ste)),m1}var g1={},Ate={get exports(){return g1},set exports(t){g1=t}},Uk;function Tte(){return Uk||(Uk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.StreamCipher,i=r.algo,u=[],s=[],l=[],c=i.RabbitLegacy=o.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],m=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)m[p]^=v[p+4&7];if(d){var g=d.words,y=g[0],x=g[1],b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=b>>>16|E&4294901760,S=E<<16|b&65535;m[0]^=b,m[1]^=w,m[2]^=E,m[3]^=S,m[4]^=b,m[5]^=w,m[6]^=E,m[7]^=S;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),u[0]=v[0]^v[5]>>>16^v[3]<<16,u[1]=v[2]^v[7]>>>16^v[5]<<16,u[2]=v[4]^v[1]>>>16^v[7]<<16,u[3]=v[6]^v[3]>>>16^v[1]<<16;for(var m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360,h[d+m]^=u[m]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)s[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<s[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<s[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<s[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<s[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<s[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<s[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<s[6]>>>0?1:0)|0,this._b=d[7]>>>0<s[7]>>>0?1:0;for(var v=0;v<8;v++){var m=h[v]+d[v],p=m&65535,g=m>>>16,y=((p*p>>>17)+p*g>>>15)+g*g,x=((m&4294901760)*m|0)+((m&65535)*m|0);l[v]=y^x}h[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,h[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,h[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,h[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,h[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,h[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,h[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,h[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(Ate)),g1}var y1={},Dte={get exports(){return y1},set exports(t){y1=t}},Hk;function Pte(){return Hk||(Hk=1,function(t,e){(function(n,r,a){t.exports=r(Cr(),sf(),lf(),Uu(),ta())})(Xn,function(n){return function(){var r=n,a=r.lib,o=a.BlockCipher,i=r.algo;const u=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(p,g){let y=g>>24&255,x=g>>16&255,b=g>>8&255,E=g&255,w=p.sbox[0][y]+p.sbox[1][x];return w=w^p.sbox[2][b],w=w+p.sbox[3][E],w}function h(p,g,y){let x=g,b=y,E;for(let w=0;w<u;++w)x=x^p.pbox[w],b=f(p,x)^b,E=x,x=b,b=E;return E=x,x=b,b=E,b=b^p.pbox[u],x=x^p.pbox[u+1],{left:x,right:b}}function d(p,g,y){let x=g,b=y,E;for(let w=u+1;w>1;--w)x=x^p.pbox[w],b=f(p,x)^b,E=x,x=b,b=E;return E=x,x=b,b=E,b=b^p.pbox[1],x=x^p.pbox[0],{left:x,right:b}}function v(p,g,y){for(let S=0;S<4;S++){p.sbox[S]=[];for(let A=0;A<256;A++)p.sbox[S][A]=l[S][A]}let x=0;for(let S=0;S<u+2;S++)p.pbox[S]=s[S]^g[x],x++,x>=y&&(x=0);let b=0,E=0,w=0;for(let S=0;S<u+2;S+=2)w=h(p,b,E),b=w.left,E=w.right,p.pbox[S]=b,p.pbox[S+1]=E;for(let S=0;S<4;S++)for(let A=0;A<256;A+=2)w=h(p,b,E),b=w.left,E=w.right,p.sbox[S][A]=b,p.sbox[S][A+1]=E;return!0}var m=i.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,g=p.words,y=p.sigBytes/4;v(c,g,y)}},encryptBlock:function(p,g){var y=h(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},decryptBlock:function(p,g){var y=d(c,p[g],p[g+1]);p[g]=y.left,p[g+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(Dte)),y1}(function(t,e){(function(n,r,a){t.exports=r(Cr(),jy(),Tee(),Pee(),sf(),Bee(),lf(),vk(),vw(),Lee(),_k(),Vee(),Uee(),Gee(),mw(),Xee(),Uu(),ta(),Qee(),$ee(),tte(),rte(),ate(),ste(),ute(),fte(),hte(),vte(),gte(),_te(),xte(),wte(),Cte(),Tte(),Pte())})(Xn,function(n){return n})})(Eee);const Jo=dw;function Gk(t,e,n,r,a){const o=a.parse(t),i={iv:e,mode:n,padding:r};return{encrypt:(l,c)=>{const f=a.parse(l),h=Jo.AES.encrypt(f,o,i);return c?Jo.enc.Hex.stringify(h==null?void 0:h.ciphertext):h.toString()},decrypt:(l,c)=>{if(c){const f={ciphertext:Jo.enc.Hex.parse(l)},h=Jo.AES.decrypt(f,o,i);return h==null?void 0:h.toString(a)}else return Jo.AES.decrypt(l,o,i)}}}function Ote(t,e){var n=Gk(t,e,Jo.mode.CBC,Jo.pad.Pkcs7,Jo.enc.Utf8);return n}function kte(t,e){var n=Gk(t,e,Jo.mode.ECB,Jo.pad.Pkcs7,Jo.enc.Utf8);return n}const{openWindow:Bte}=RE(),{sendToIframe:Ite,sendToParent:Nte,receive:Mte,sendToIframeByName:Fte,send:Lte}=PP();function uf(t){return{instance:t==null?void 0:t.instance,compParams:t==null?void 0:t.compParams,util:{url:Kl,cookie:K5,localStorage:Zc,service:HQ,sysFunc:{...Wk,idCardInfo:Xl,uniqueBy:mY,sortBy:vY,groupBy:VD,pageBy:zD},window:{openWindow:Bte,findUp:xo.findUp,findDown:xo.findDown,find:xo.find,findByIframeId:xo.findByIframeId,findTop:xo.findTop},message:{send:Lte,sendToIframe:Ite,sendToParent:Nte,sendToIframeByName:Fte,receive:Mte},tip:{ElMessage:di.ElMessage,ElMessageBox:di.ElMessageBox,ElNotification:di.ElNotification},json:{fromJson:Rr,toJson:Jr},security:{CryptoJS:Jo,SM:{SMWithTraceKey:iq,SM2:h0,SM4:VE,SecInner:py},AES:{CBC_Pkcs7:Ote,ECB_Pkcs7:kte}}}}}const Wk=yee();zr.rowScope+"",te.i18nt("designer.var.rowScope");const gw=function(t){return{[_r.number]:/^[-+]?(\d+\.\d+|\d+|\.\d+)$/,[_r.letter]:/^[A-Za-z]+$/,[_r.letterAndNumber]:/^[A-Za-z0-9]+$/,[_r.letterStartNumberIncluded]:/^[A-Za-z]+[A-Za-z\d]*$/,[_r.mobilePhone]:/^[1][3-9][0-9]{9}$/,[_r.email]:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,[_r.url]:/^(https?|ftp):\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$/,[_r.noBlankStart]:/^[^\s].*$/,[_r.noBlankEnd]:/^.*[^\s]$/,[_r.noBlankStartEnd]:/^[^\s].*[^\s]$/,[_r.weakPassword]:/^[A-Za-z\d]{6,}$/,[_r.mediumPassword]:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/,[_r.strongPassword]:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{10,}$/,[_r.noChinese]:/^[^\u4e00-\u9fa5]+$/,[_r.chinese]:/^[\u4e00-\u9fa5]+$/,[_r.chinaIdcard]:Xl.isValid,[_r.required]:n=>n!=null&&n!==""&&(!Array.isArray(n)||n.length>0)}[t]},Rte=(t,e,n)=>{var r=new Error(e);return r.rule=t,r.force=n,r},Kk=(t,e,n,r,a)=>{t?n():n(Rte(e,r,a))},_1=function(t,e,n,r,a,o){if($2(t)){r();return}let i=a,u=!0;oY(t)?u=t==null?void 0:t(n):u=new RegExp(t).test(n),Kk(u,e,r,i,o)},Pa=function(t,e,n,r,a,o){if(lr(n)){r();return}if(Array.isArray(n)&&n.length<=0){r();return}_1(gw(t),e,n,r,a,o)},ih={number(t,e,n,r){Pa(_r.number,t,e,n,te.i18nt("render.hint.numberFailed"),r)},letter(t,e,n,r){Pa(_r.letter,t,e,n,te.i18nt("render.hint.letterFailed"),r)},letterAndNumber(t,e,n,r){Pa(_r.letterAndNumber,t,e,n,te.i18nt("render.hint.letterAndNumberFailed"),r)},mobilePhone(t,e,n,r){Pa(_r.mobilePhone,t,e,n,te.i18nt("render.hint.mobilePhoneFailed"),r)},noBlankStart(t,e,n,r){Pa(_r.noBlankStart,t,e,n,te.i18nt("render.hint.noBlankStartFailed"),r)},noBlankEnd(t,e,n,r){Pa(_r.noBlankEnd,t,e,n,te.i18nt("render.hint.noBlankEndFailed"),r)},noBlankStartEnd(t,e,n,r){Pa(_r.noBlankStartEnd,t,e,n,te.i18nt("render.hint.noBlankStartEndFailed"),r)},letterStartNumberIncluded(t,e,n,r){Pa(_r.letterStartNumberIncluded,t,e,n,te.i18nt("render.hint.letterStartNumberIncludedFailed"),r)},noChinese(t,e,n,r){Pa(_r.noChinese,t,e,n,te.i18nt("render.hint.noChineseFailed"),r)},chinese(t,e,n,r){Pa(_r.chinese,t,e,n,te.i18nt("render.hint.chineseFailed"),r)},email(t,e,n,r){Pa(_r.email,t,e,n,te.i18nt("render.hint.emailFailed"),r)},url(t,e,n,r){Pa(_r.url,t,e,n,te.i18nt("render.hint.urlFailed"),r)},chinaIdcard(t,e,n,r){Pa(_r.chinaIdcard,t,e,n,te.i18nt("render.hint.chinaIdcardFailed"),r)},weakPassword(t,e,n,r){Pa(_r.weakPassword,t,e,n,te.i18nt("render.hint.weakPasswordFailed"),r)},mediumPassword(t,e,n,r){Pa(_r.mediumPassword,t,e,n,te.i18nt("render.hint.mediumPasswordFailed"),r)},strongPassword(t,e,n,r){Pa(_r.strongPassword,t,e,n,te.i18nt("render.hint.strongPasswordFailed"),r)},required(t,e,n,r,a){let o=a||te.i18nt("render.hint.fieldRequired");_1(gw(_r.required),t,e,n,o,r)},regExp(t,e,n,r,a,o){return _1(o,t,e,n,a||"invalid value",r)},range(t,e,n,r,a,o){return _1(o,t,e,n,a||"invalid value",r)}};function Zo(t,e,n,r){const a=e==null?void 0:e.designState,o=e,i=W=>t?lt.getOptions(t,W,!0)!=null:!1,u=(W,$=!1)=>t?lt.getOptions(t,W,$,!a,o):null,s=(W,$)=>{if(t)return lt.setOptions(t,W,$)},l=(W,$)=>{ea(t==null?void 0:t.options,W)&&s(W,$)},c=W=>{const $=lt.getOrgOption(t,W);return m($)},f=(W,$,ue=!1)=>{var Ne;const Ce=(Ne=t==null?void 0:t.options)==null?void 0:Ne[W];var ke=ue?ye.getValue(Ce,!1,!a,{...o,schemaParams:$}):c(W);return ke},h=(W,$,ue,Ce)=>{if(!$)return;ue==null||ue();const ke=Sr(E.value).includes($)?E:Sr(S.value).includes($)?S:null;if(W&&ke)_.watch(()=>{var Ne;return(Ne=ke==null?void 0:ke.value)==null?void 0:Ne[$]},(Ne,Me)=>{Ce==null||Ce(Ne,Me)},{immediate:!0});else{const Ne=u($);_.isRef(Ne)?_.watch(Ne,(Me,Ue)=>{Ce==null||Ce(Me,Ue)},{immediate:!0}):Ce==null||Ce(Ne,null)}},d=(W,$)=>{t&<.setEnable(t,W,$)},v=(W,$,ue)=>VQ(W,$,ue,e),m=W=>{var $=ye.getType(W),ue=ye.getValue(W,!1,!a,o);switch($){case be.dataObject:{const Ce=lt.getOptions(W,"type");if(xi(ue)&&Ce){if([Ge.array,Ge.object].includes(Ce))return ue==null||ue===""?null:Rr(String(ue||""));if([Ge.bigint,Ge.number].includes(Ce))return ku(ue)}return ue}case be.slot:return EP(ue);case be.icon:{const{instance:Ce}=Ha(r);return Ce?oO(ue,Ce):ue}case be.event:case be.placerHook:case be.hook:{if(lr(ue)||ue===""||a)break;return(...ke)=>{let Ne={};var Me=1;ke==null||ke.map(rt=>Ne["args"+Me++]=rt);const{instance:Ue}=Ha(r||(o==null?void 0:o.instance)),Ve=uf({instance:Ue,compParams:o==null?void 0:o.globalConfig});Ne[pn.externalArgs]=Ve;const We=ue;return We!=null&&We.type?v(We,Ne,Ue):ll(ue,Ne)}}default:return ue}},p=(W,$,ue)=>{var Ce=ye.getOptions(W),ke={};return ke.slotName=(Ce==null?void 0:Ce.slotName)||$,(W==null?void 0:W.widgetList)===void 0?ke.widgetList=[]:ke.widgetList=W==null?void 0:W.widgetList,ke.default=ue?_.shallowRef(ue):null,Object.assign(W,ke)},g=(W,$=!1,ue)=>{var ke;var Ce={};return!t||!t.options||(ke=Object.entries(t==null?void 0:t.options))==null||ke.forEach(([Ne,Me])=>{if(!(ue&&!(ue!=null&&ue(Ne)))){var Ue=ye.getOrgType(Me);if(W.includes(Ue)){var Ve=$?ye.getValue(Me,!1,!a,o):c(Ne);Ue===be.slot?Ce[Ne]=p(Me,Ne,Ve):Wi(Ve)||(Ce[Ne]=Ve)}else Ue||[be.prop].some(We=>W.includes(We))&&(Ce[Ne]=Me)}}),Ce},y=W=>{const $=W==null?void 0:W.type;var ue=[];return $&&(ue=[],W.formItemFlag&&(ue=ue.concat(["name","defaultValue"]))),ue},x=W=>{const $=u(Kt.state);$!=null&&_.isRef($)&&(W.readonly=_.computed(()=>jl($)===zl.readonly),W.disabled=_.computed(()=>{var ue=!i(zl.readonly),Ce=jl($)===zl.disabled,ke=jl($)===zl.readonly;return ue?Ce:Ce||ke}),W.hidden=_.computed(()=>jl($)===zl.hidden),W.custom=_.computed(()=>jl($)===zl.custom))},b=()=>{var W=y(t)||[],$=g([be.icon,be.hook,be.variable,be.prop,be.dataObject],!1,ue=>{var Ce=!(n!=null&&n.fn_attr)||(n==null?void 0:n.fn_attr(ue)),ke=!W.includes(ue);return ke&&Ce});return x($),_.reactive($)},E=n!=null&&n.s_attr?_.computed(()=>b()):_.ref(),w=()=>{var W=g([be.placer,be.placerHook]);return _.reactive(W)},S=n!=null&&n.s_extendAttr?_.computed(()=>w()):_.ref(),A=n!=null&&n.s_events?_.computed(()=>g([be.event])):_.ref(),P=n!=null&&n.s_fieldName?_.computed({get:()=>u(Kt.name),set:W=>{s(Kt.name,W)}}):_.ref(),C=(W=!1)=>{var $=u(pn.defaultValue,!0);return ea(t==null?void 0:t.options,pn.defaultValue)&&(!W||$!=null)},D=()=>{const W=()=>{let Me=u(pn.defaultValue),Ue=u(pn.defaultTime);return new Promise(Ve=>{Ta(Me).then(We=>{Ta(Ue).then(rt=>{if(!We)Ve(null);else{var At=NQ(It(We),It(rt));Ve(At==null?void 0:At.map(bt=>Vs(bt)))}})})})},$=()=>{let Me=u(pn.defaultValue),Ue=u(pn.defaultTime);return new Promise(Ve=>{Ta(Me).then(We=>{Ta(Ue).then(rt=>{if(!We)Ve(null);else{var At=nO(It(We),It(rt));Ve(Vs(At))}})})})},ue=()=>{let Me=u(pn.defaultValue);return new Promise(Ue=>{Ta(Me).then(Ve=>{if(!Ve)Ue(null);else{var We=eh(Ve);if(!We){Ue(null);return}Ue(Vs(We))}})})},Ce=()=>{let Me=u(pn.defaultValue);return new Promise(Ue=>{Ta(Me).then(Ve=>{if(!Ve)Ue(null);else{var We=m0(It(Ve));if(!We){Ue(null);return}var rt=We==null?void 0:We.map(At=>Vs(At));Ue(rt)}})})},ke=(Me,Ue,Ve,We="isdefault",rt="value")=>{var At,bt,kt;return(Ue||Array.isArray(Ve))&&((At=It(Ve))==null?void 0:At.length)<=0?(bt=Me==null?void 0:Me.filter(Et=>Et==null?void 0:Et[We]))==null?void 0:bt.map(Et=>Et==null?void 0:Et[rt]):(Ue===!1||lr(Ue)||!Array.isArray(Ve))&&lr(Ve)?(kt=Me==null?void 0:Me.find(Et=>Et==null?void 0:Et[We]))==null?void 0:kt[rt]:Ve};return{datePickerRangeDefaultValue:W,datePickerDefaultValue:$,timePickerDefaultValue:ue,timeRangePickerDefaultValue:Ce,optionWidgetDefaultValue:()=>new Promise(Me=>{let Ue=u(pn.defaultValue);Ta(Ue).then(Ve=>{const We=u(pn.multiple);Ta(We).then(rt=>{const At=u(pn.valueKey);Ta(At).then(bt=>{const kt=u(pn.isdefaultKey);Ta(kt).then(Et=>{Ta(R).then(Dt=>{const pt=ke(Dt,rt,Ve,Et,bt);Me(pt)})})})})})})}},O=()=>{if(!C())return;const W=D();return(t==null?void 0:t.type)===et.datePickerRange?W.datePickerRangeDefaultValue():(t==null?void 0:t.type)===et.datePicker?W.datePickerDefaultValue():(t==null?void 0:t.type)===et.timePicker?W.timePickerDefaultValue():(t==null?void 0:t.type)===et.timePickerRange?W.timeRangePickerDefaultValue():ea(t==null?void 0:t.options,Kt.optionItems)?W.optionWidgetDefaultValue():u(pn.defaultValue)},k=n!=null&&n.s_slots?_.computed(()=>{var W=g([be.slot]);return Object.values(W)}):_.ref(),B=n!=null&&n.s_slots?_.computed(()=>{var W=g([be.slot],!0);return Object.values(W)}):_.ref(),N=W=>{var $=Kt.optionItems;const ue=lt.getOrgOption(t,$);ye.isComplexValue(ue)||s($,UD(W))},M=W=>{if(ea(E.value,W)){var $=E.value[W];return _.isRef($)?$:_.computed(()=>j(E.value[W]))}else if(ea(S.value,W)){var ue=S.value[W];return _.isRef(ue)?ue:_.computed(()=>j(S.value[W]))}else{var Ce=u(W);return _.isRef(Ce)?Ce:_.computed(()=>j(u(W)))}},j=W=>{if(W==null)return W;if(_.isRef(W))return jl(W);var $=Un(W);return rE($,(ue,Ce,ke)=>{ye.needCalcValue(ke)&&(ue[Ce]=ye.getValue(ke,!0,!a,o))}),$===void 0?null:_.reactive($)},F=()=>!!ea(t==null?void 0:t.options,Kt.optionItems);let R=null;n!=null&&n.s_optionItems&&F()&&(R=M(Kt.optionItems));const G=W=>!!W.isdefault,L=W=>V(W,R==null?void 0:R.value),V=(W,$)=>{if(!Array.isArray($))return;let ue=[];return jD($,"children",Ce=>W(Ce),Ce=>{ue.push(Ce)}),ue},K=n!=null&&n.s_optionItems?_.computed(()=>L(G)):_.ref(),Y=n!=null&&n.s_optionItems?_.computed(()=>{var W,$;if(Array.isArray(R==null?void 0:R.value)){const ue=(W=K==null?void 0:K.value)==null?void 0:W.length;return ue?($=K==null?void 0:K.value)==null?void 0:$[ue-1]:void 0}}):_.ref(),J=n!=null&&n.s_optionItems?_.computed(()=>{var W;if(Array.isArray(R==null?void 0:R.value)){const $=(W=R==null?void 0:R.value)==null?void 0:W.findIndex(ue=>G(ue));return!isNaN($)&&$>-1?$:0}return 0}):_.ref(0),Q=(W,$)=>{const ue=jl(u(pn.valueKey,!1));return V(Ce=>{var ke=Ur(W,!0);return ke==null?void 0:ke.includes(Ce==null?void 0:Ce[ue])},$||(R==null?void 0:R.value))},ce=W=>u(pn.multiple,!1)||W,se=(W,$)=>{var ke;const ue=jl(u(pn.labelKey,!1)),Ce=(ke=Q(W))==null?void 0:ke.map(Ne=>Ne==null?void 0:Ne[ue]);return ce($)?Ce:Ce==null?void 0:Ce[0]},oe=(W,$)=>{var ke;const ue=jl(u(pn.valueKey,!1)),Ce=(ke=Q(W))==null?void 0:ke.map(Ne=>Ne==null?void 0:Ne[ue]);return ce($)?Ce:Ce==null?void 0:Ce[0]},ae=(W,$)=>{var ue;return(ue=Ur(se(W,$),!0))==null?void 0:ue.join(",")},ge=[],X=()=>{t!=null&&t.formItemFlag&&ge.splice(0,ge.length)},q=W=>{var $=u("required",!0);const ue=It($==null?void 0:$.options);if(ue!=null&&ue.enable)return{name:"required",label:W,required:!0,validator:(Ce,ke,Ne)=>{var Me=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});ih[_r.required](Ce,ke,Ne,ue==null?void 0:ue.forceMatch,Me)}}},re=W=>{var $=u("rangeValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable))return;let{minValue:Ce,maxValue:ke,includeMaxValue:Ne,includeMinValue:Me}=ue,Ue="range";var Ve=rt=>{if(lr(rt))return!0;const At=parseFloat(rt),bt=parseFloat(Ce),kt=parseFloat(ke),Et=()=>isNaN(bt)||lr(Ce)||(Me?At>=bt:At>bt),Dt=()=>isNaN(kt)||lr(ke)||(Ne?At<=kt:At<kt);return isNaN(At)||Et()&&Dt()};const We=(rt,At,bt,kt)=>{var Et="";const Dt=!lr(rt)&&(rt+"").trim()!="",pt=!lr(bt)&&(bt+"").trim()!="",En="值",it=(Ie,Pe,Fe,He)=>{const ft="<",wt=">",Bt="=";return He?Fe?`${wt}${Ie?Bt:""} ${Pe}`:`${ft}${Ie?Bt:""} ${Pe}`:Fe?`${Pe} ${wt}${Ie?Bt:""}`:`${Pe} ${ft}${Ie?Bt:""}`};if(Dt&&pt){var ut=it(At,rt,!1,!1),ne=it(kt,bt,!1,!0);Et=`${ut} ${En} ${ne}`}else Dt&&!pt?Et=`${En} ${it(At,rt,!0,!0)}`:!Dt&&pt&&(Et=`${En} ${it(At,bt,!1,!0)}`);return Et};return{name:Ue,label:W,trigger:[],validator:(rt,At,bt)=>{var kt=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});ih[Ue](rt,At,bt,ue==null?void 0:ue.forceMatch,kt||We(Ce,Me,ke,Ne),Ve)}}},he=W=>{var $=u("expValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable))return;let Ce=ue==null?void 0:ue.expression,ke=Ce;if(ke){var Ne=ih[ke],Me=!!Ne;return Me||(ke="regExp"),{name:ke,label:W,trigger:[],validator:(Ue,Ve,We)=>{var rt=ul(ue==null?void 0:ue.errorMsg,{...ue,label:W});Me?ih[ke](Ue,Ve,We,ue==null?void 0:ue.forceMatch,rt):ih[ke](Ue,Ve,We,ue==null?void 0:ue.forceMatch,rt,Ce)}}}},de=W=>{var $=u("fnValidate",!0);const ue=It($==null?void 0:$.options);if(!(ue!=null&&ue.enable)||!ue.func)return;const{instance:Ce}=Ha(r),ke=ue==null?void 0:ue.errorMsg;return{name:"userDefine",label:W,trigger:[],validator:(Ne,Me,Ue)=>{ll(ue.func,{rule:Ne,value:Me,callback:Ve=>{Kk(!Ve,Ne,Ue,ke,ue==null?void 0:ue.forceMatch)},errorMsg:ke,ctx:Ce})}}},_e=()=>{if(t!=null&&t.formItemFlag&&!u("hidden")){X();var W=u("label"),$=[q(W),he(W),de(W),re(W)];return $==null||$.forEach(ue=>{ue&&ge.push(ue)}),me(),ge}},pe=()=>{ge&&ge.forEach(W=>{Se(W)})},me=()=>{ge&&ge.forEach(W=>{Ee(W)})},Se=W=>{W.trigger&&W.trigger.splice(0,W.trigger.length)},Ee=W=>{W.trigger&&(W.trigger.push("blur"),W.name!=="required"&&W.trigger.push("change"))};return{attrs:E,extendAttrs:S,events:A,slots:k,originSlots:B,computedDefaultValue:O,fieldName:P,hasDefaultValue:C,isOptionWidget:F,optionItems:R,activeOptionItems:K,activeOptionItem:Y,activeOptionItemIndex:J,filterOptionItems:L,getCheckedOptionLabels:se,getCheckedOptionValues:oe,getCheckedOptionItems:Q,getCheckedOptionText:ae,setOptionItems:N,setFieldEnable:d,setWidgetOption:l,getWidgetOption:c,getWidgetOptionByPropValue:m,hasFieldOptions:i,getFieldOptions:u,setFieldOptions:s,rules:ge,buildRules:_e,clearRules:X,disableChangeRule:Se,disableChangeValidate:pe,enableChangeRule:Ee,enableChangeValidate:me,addCssClass:W=>{var $=u("customClass");$?$.push(W):$=[W],s("customClass",$)},removeCssClass:W=>{var $=u("customClass");if(!$)return;let ue=-1;$.map((Ce,ke)=>{Ce===W&&(ue=ke)}),ue>-1&&($.splice(ue,1),s("customClass",$))},singleOption:f,watchOption:h}}function jte(t,e){const{getWidgetOptionByPropValue:n}=Zo({name:t.name,options:t},e),r=(m,p)=>{var g=Rr(ul(Jr(m),p));if(g)return _Z(g)},a=m=>r(t.headers,m),o=m=>r(t.params,m),i=m=>ul(t.url,m),u=()=>({timeout:t.timeout,withCredentials:t.withCredentials,maxBodyLength:t.maxBodyLength,maxContentLength:t.maxContentLength,responseType:t.responseType,responseEncoding:t.responseEncoding,method:t.method}),s=(m,p)=>{m&&m.interceptors.request.use(function(g){var y=g,x=v(t.willFetch,p,[g]);return x.result&&(y=x.data),y},function(g){return Promise.reject(g)})},l=(m,p)=>{m&&m.interceptors.response.use(function(g){var y=g,x=v(t.fitFetch,p,[g]);return x.result&&(y=x.data),y},function(g){var y=g,x=v(t.errorFetch,p,[g]);return x.result&&(y=x.data),Promise.reject(y)})},c=m=>{var p=ul(t.shouldFetch,m);return Is(t.shouldFetch)||p+""=="true"||p+""=="1"},f=m=>{if(t.data==null||t.data===void 0)return"";var p=Uo(t.data);return p?Rr(ul(Jr(t.data),m)):ul(t.data+"",m)},h=m=>{if(!c(m))return;const p=IE.create(u());return s(p,m),l(p,m),new Promise((g,y)=>{const x=i(m),b=f(m),E=a(m),w=o(m);if(!x)return;const S={url:x,data:b,headers:E,params:w};p.request(S).then(A=>{let P=A;var C=v(t.didFetch,m,[A]);C.result&&(P=C.data),g(P)}).catch(A=>{Ii.error("request",A,S),y(A)})})},d=m=>!!ye.getValue(m),v=(m,p,g)=>{let y={result:!1,data:null};if(d(m)){y.result=!0;const x=n(m);y.data=x({data:p},...g)}return y};return{req:h}}function b1(t){const e=t==null?void 0:t.pageConfig,n=()=>{var d;return It((d=e==null?void 0:e.schema)==null?void 0:d.value)},r=(d,v,m)=>{var p=ye.getEnable(m==null?void 0:m[d]),g=ye.getEnable(v==null?void 0:v[d]);return!g&&p&&v&&(v[d]=m==null?void 0:m[d]),v},a=(d,v)=>{let m=Un(d);["didFetch","willFetch","errorFetch","fitFetch"].forEach(g=>{m=r(g,m,e)});const{req:p}=jte(m,t);return p(v)},o=()=>{let d={};const v=py.decryptFromUrl(window.location.href);d=Object.assign(d,{[zr.urlParams]:v});const m=t==null?void 0:t.globalConfig;return d=Object.assign(d,{[zr.compParams]:m}),d},i=d=>{var p,g;let v={};v=Object.assign(v,{schemaParams:d}),Object.assign(v,o()),v=Object.assign(v,{cookies:K5.getAll()});var m={};return(g=(p=n==null?void 0:n())==null?void 0:p.filter(y=>y.protocal===qc.VALUE))==null||g.forEach(y=>{m=Object.assign(m,{[y.name]:ul(String(y==null?void 0:y.initialData),v)})}),v=Object.assign(v,{vars:m}),v},u=d=>{var v;return(v=n==null?void 0:n())==null?void 0:v.find(m=>m.name===d)},s=(d,v)=>{var m={};return d==null||d.forEach(p=>{p&&(m[p]=l(p,v))}),m},l=(d,v)=>{if(!d)return;const m=o(),p=m[zr.urlParams],g=m[zr.compParams];if(d==zr.urlParams)return p;if(d==zr.compParams)return g;const y=u(d),x=y==null?void 0:y.protocal,b=i(v);let E=null;switch(x){case qc.VALUE:E=ul(String(y==null?void 0:y.initialData),b),_Y(E)&&(E=Rr(E));break;case qc.REMOTE:E=y?a(y,b):null;break}return E},c=(d,v)=>{var m=l(d,v);return nE(m)?m:new Promise((p,g)=>{p(m)})},f=(d,v,m)=>new Promise((p,g)=>{const y=d==null?void 0:d.length;let x=0;var b=d==null?void 0:d.map(w=>c(w,v));let E=0;Promise.all(b.map(w=>w.then(S=>{var D;x++;var A=Math.round(x/y*100);const P=d[E++],C=(D=u(P))==null?void 0:D.description;return m==null||m(A,S,E,P,C),S}))).then(w=>{m==null||m(100,w,E,"completedAll","completedAll"),p(w)})});return{loadSchemaData:n,remoteReadSchemaData:s,readSchemaData:l,findSchema:u,getSchemaDataObject:(d,v,m)=>new Promise((p,g)=>{f(d,v,m).then(y=>{var x={};y.forEach(b=>{x=Zn(x,b,!0)}),p(x)})}),getOneSchemaData:c,getSchemaDatas:f}}const x1=(t,e=!1,n=" ")=>t==null?void 0:t.map(r=>F0(r,e)).join(n),Xk=(t,e)=>e?`(FROMJSON '${t}')`:t,F0=(t,e=!1)=>{var n;return(t==null?void 0:t.type)===Ei.Syntax.Literal?t.raw:(t==null?void 0:t.type)===Ei.Syntax.Identifier?t.name:t.type===Ei.Syntax.ExpressionStatement?F0(t.expression,void 0):(t==null?void 0:t.type)===Ei.Syntax.CallExpression?`(${(n=t.callee)==null?void 0:n.name} ${x1(t.arguments,!0)})`:(t==null?void 0:t.type)===Ei.Syntax.UnaryExpression?`${t.operator}${F0(t==null?void 0:t.argument)}`:(t==null?void 0:t.type)===Ei.Syntax.ObjectExpression?Xk(`{${x1(t==null?void 0:t.properties,e,",")}}`,e):(t==null?void 0:t.type)===Ei.Syntax.ArrayExpression?Xk(`[${x1(t.elements,e,",")}]`,e):(t==null?void 0:t.type)===Ei.Syntax.Property?`${F0(t==null?void 0:t.key)}:${F0(t==null?void 0:t.value)}`:""};function yw(){var t=["GETCHECKEDNAMES","GETCHECKEDNAME"];return{specialFuncNames:t,matchSpecialNode:r=>t.some(a=>r==null?void 0:r.includes(a)),specialNode:(r,a)=>{var o,i,u,s,l,c,f,h;if(r.type===Ei.Syntax.CallExpression){let d=Un(r.arguments);if(t.includes((o=r.callee)==null?void 0:o.name)){const v=(i=r.arguments)==null?void 0:i[0];(a==null?void 0:a[`${v.name}${zo.checkedOptions}`])!=null&&(d[0].name=`${v.name}${zo.checkedOptions}`)}if(t.includes((s=(u=r.callee)==null?void 0:u.property)==null?void 0:s.name)){const v=(l=r.arguments)==null?void 0:l[0];let m=`${(c=v==null?void 0:v.property)==null?void 0:c.name}${zo.checkedOptions}`,p=(f=v==null?void 0:v.object)==null?void 0:f.name;p?((h=a==null?void 0:a[p])==null?void 0:h[m])!=null&&(d[0].property.name=m):(a==null?void 0:a[m])!=null&&(d[0].property.name=m)}r.arguments=d}return r}}}const Vte=t=>{var e=U5(t),n=x1(e.body);n.startsWith("(")&&(n=n.substring(1)),n.endsWith(")")&&(n=n.substring(0,n.length-1));var r=eJ(e.body);return{expression:n,funcname:r}},zte=Object.freeze(Object.defineProperty({__proto__:null,getScriptResult:(t,e)=>new Promise((n,r)=>{if(!t||Is(t)){n(null);return}const a=u=>{var s=nJ(u);if(!(s!=null&&s.some(c=>!ea(e,c)))){s==null||s.forEach(c=>{e[c]===void 0&&(e[c]=null)});var l=Vte(u);return _ee(`{{${l.expression}}}`,e,l.funcname)}},{specialNode:o,matchSpecialNode:i}=yw();if(i(t)){const{init:u,replaceVariableName:s}=G5();u().then(l=>{t=s(l,t,o,e),n(a(t))})}else n(a(t))}),useSpecialNode:yw},Symbol.toStringTag,{value:"Module"})),_w=t=>typeof(t==null?void 0:t.value)=="boolean"?!1:null,bw=(t,e)=>{let n={};if(!Aa(t))return n;var r=e==null?void 0:e.instance;return rE(i0(t),(a,o,i)=>{var l,c,f,h;const u=(c=(l=r==null?void 0:r.exposed)==null?void 0:l.findRefByName)==null?void 0:c.call(l,o);if(!u)return;const s=(h=(f=u==null?void 0:u.exposed)==null?void 0:f.getField)==null?void 0:h.call(f);s&&s.id&&(n[s.id]=o)}),n},xw=t=>{var a,o,i,u,s;var e=t==null?void 0:t.instance,n=((o=(a=e==null?void 0:e.exposed)==null?void 0:a.getRowScope)==null?void 0:o.call(a))||((i=e==null?void 0:e.provides)==null?void 0:i.rowScope);const r=Object.assign({},(s=(u=e==null?void 0:e.exposed)==null?void 0:u.getFormData)==null?void 0:s.call(u),t==null?void 0:t.formData);return{[Ni.sysVar]:{[zr.rowScope]:n},[Ni.sysData]:r}},Ute=(t,e,n)=>{const{remoteReadSchemaData:r}=b1(n);var a=V5(t),o=H5(a),i=o.filter(c=>[Ni.schema.toString()].includes(c.root)),u=i==null?void 0:i.map(c=>{var f,h;return(h=(f=c==null?void 0:c.properties)==null?void 0:f[0])==null?void 0:h.toString()});let s=null;e&&(s=Rr(e));var l=r(u,s||{});return l},Ew=(t,e,n,r)=>{var s;if(!t)return"";let a=t;const{updateFomula:o}=Nu(),{variableWithNameExp:i}=BY();if(r){var u=e==null?void 0:e[Ni.sysData];u&&(a=o(a,n||{},(l,c)=>Wi(c)?null:`${(u==null?void 0:u[c])||""}`)),(s=Sr(e==null?void 0:e[Ni.sysVar]))==null||s.forEach(l=>{var c;u=(c=e==null?void 0:e[Ni.sysVar])==null?void 0:c[l],u&&(a=o(a,u,(f,h)=>Wi(h)?null:h,i("sysVar."+l)))})}else return a=o(a,n||{},(l,c)=>c?`${Ni.sysData}.${c}`:(e||(e={}),e[Ni.sysData]||(e[Ni.sysData]={}),e[Ni.sysData][l]===void 0&&(e[Ni.sysData][l]=null),`${Ni.sysData}.${l}`)),a;return a},Hte=(t,e)=>{if(ye.isFormula(t)){const{transFormula:i}=Nu(),s=xw(e)[Ni.sysData];let l=bw(s,e);var n=It(t),r=It(n==null?void 0:n.value),a=i(r==null?void 0:r.complexValue,l),o=Wte(a,s);return It(o)}},Yk=(t,e)=>{const n=xw(e);let r=bw(n[Ni.sysData],e);var a=Ew(t==null?void 0:t.expr,n,r,!1),o=Ew(t==null?void 0:t.params,n,r,!0);const i=Ute(a,o,e);var u={[Ni.sysFunc]:Wk,[Ni.schema]:i,...n};const s=[Ni.schema];var l=It(Gte(a,u,s));return l},Gte=(t,e,n)=>{if(Is(t))return;const{state:r}=vE(async()=>{var m;var{specialNode:a,matchSpecialNode:o}=yw(),{init:i,replaceVariableName:u}=G5(),s=t;if(o(t)){var l=await i();s=QY(t,p=>u(l,p,a,e))}if(e&&n&&((n==null?void 0:n.length)||0)>0)for(var c=0;c<n.length;c++){var f=n==null?void 0:n[c],h=e==null?void 0:e[f];if(Aa(h)){var d=(m=Sr(h))==null?void 0:m.some(p=>nE(h[p]));if(d){var v=await iE(h);e[f]=v}}}return _E(s,e)},null);return r},Wte=(t,e)=>{const{state:n}=vE(async()=>{const r=await Promise.resolve().then(()=>zte);var a=await(r==null?void 0:r.getScriptResult(t,e||{}));return a},null,{immediate:!0});return n},Kte=(t,e)=>{if(ye.isVariable(t)){var n=ye.getVariable(t);return Yk(n,e)}},Xte=(t,e)=>{if(ye.isSchemaData(t)){var n=ye.getSchemaData(t);return Yk(n,e)}},Yte=(t,e=!1,n)=>{var r=It(t),a=r==null?void 0:r.value,o=It(a);return ye.isVariable(t)&&!(o!=null&&o.complexType)?e?Kte(t,n):t==null?void 0:t.value:ye.isFormula(t)?e?Hte(t,n):_w():ye.isSchemaData(t)?e?Xte(t,n):_w():It(a)},Jte=(t,e=!1,n=!1,r)=>{if(!ye.isComplex(t))return t;if(!e&&!ye.getEnable(t))return _w();var a=It(t),o=a==null?void 0:a.value;return!ye.isVariable(t)&&o===null?null:It(Yte(t,n,r))},Zte=(t,e)=>{const n=xw(e);let r=bw(n[Ni.sysData],e);return Ew(t,n,r,!0)};class ye{constructor(e,n,r,a,o){z(this,"type",be.prop);z(this,"propType");z(this,"value","");z(this,"variable");z(this,"options");this.type=e,n!==void 0&&(this.value=n),r!==void 0&&(this.options=r),a!==void 0&&(this.variable=a),o!==void 0&&Zn(this,o)}static get(e,n){if(n)return e==null?void 0:e[n]}static set(e,n,r){n&&e&&(e[n]=r)}static isComplex(e){const n=this.getType(e);return dE(be).includes(n);//!!hasConfig(prop, 'type');
|
|
69
|
+
}static hasComplexValue(e){return!!ea(e,"value")}static isComplexValue(e){var n;return ye.hasComplexValue(e)&&!!((n=It(e==null?void 0:e.value))!=null&&n.complexType)}static buildVariablePropValue(e,n){return{type:be.variable,variable:{expr:"${"+e+"}",params:n}}}static getOrgType(e){var r;var n=(r=this.getOptions(e))==null?void 0:r.origin;return n?this.getType(n):this.getType(e)}static getType(e){var n;return(n=It(e))==null?void 0:n.type}static getOptions(e){var n;return(n=It(e))==null?void 0:n.options}static needCalcValue(e){return this.isFormula(e)||this.isVariable(e)||this.isSchemaData(e)}static isComplexType(e,n){return this.isComplex(e)&&this.getType(e)===n}static isSchemaData(e){var n;return this.hasComplexValue(e)&&((n=It(e==null?void 0:e.value))==null?void 0:n.complexType)===be.schemaData}static clearSchemaData(e){var r;var n=Un(e);return this.isComplex(e)?(r=It(n))==null?void 0:r.value:n}static setSchemaData(e,n){var r=Un(e),a=new I5(be.schemaData,n);return this.isComplex(r)?r=a:r=new ye(be.prop,a),r}static getSchemaData(e){var r;var n=It(e);return(r=It(n==null?void 0:n.value))==null?void 0:r.complexValue}static isFormula(e){var n;return this.hasComplexValue(e)&&((n=It(e==null?void 0:e.value))==null?void 0:n.complexType)===be.formula}static setFormula(e,n){var r=Un(e),a=new I5(be.formula,n);return this.isComplex(r)?r=a:r=new ye(be.prop,a),r}static getFormula(e){var n;return(n=It(e==null?void 0:e.value))==null?void 0:n.complexValue}static getFormulaRelatedField(e){const{getFormulaFields:n}=Nu();return n(Jr(It(e)))}static isVariable(e){var n;return this.isComplex(e)&&((n=It(e))==null?void 0:n.type)===be.variable}static clearVariable(e){var r;var n=Un(e);if(this.isComplex(e)){const a=It(n),o=(r=a.options)==null?void 0:r.origin;return this.isComplex(o)?(It(o).value=a==null?void 0:a.value,o):a==null?void 0:a.value}return n}static setVariable(e,n){var r=Un(e);if(this.isComplex(r)){let a=r==null?void 0:r.options;return r.type!==be.variable&&(a=Object.assign(a||{},{origin:Un(r)})),new ye(be.variable,r==null?void 0:r.value,a,n)}else return new ye(be.variable,r||null,r==null?void 0:r.options,n)}static getVariable(e){var n;return(n=It(e))==null?void 0:n.variable}static getValue(e,n=!1,r=!1,a){return Jte(e,n,r,a)}static setValue(e,n,r){if(!e||!n)return!1;var a=this.get(e,n);const o=this.getType(a);if(!this.isComplex(a))this.set(e,n,r);else{let i=r;o===be.dataObject&&xi(i)&&(i=Rr(r)),It(a).value=i}return!0}static getEnable(e){var r;if(!this.isComplex(e))return!1;var n=this.getOptions(e);return ea(n,"enable")?(r=It(n))==null?void 0:r.enable:!0}static setEnable(e,n,r){var a=this.get(e,n);if(this.isComplex(a)){var o=It(a);return o.options===void 0&&(o.options={}),o.options.enable=r,!0}return!1}}class L0{static getKeys(){var e=new this;return Sr(e)}}class E1 extends L0{constructor(){super(...arguments);z(this,"name","")}}class ww extends L0{constructor(){super(...arguments);z(this,"isdefault",!1)}}class w1 extends E1{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"auto"));z(this,"ctrlHeight",new ye(be.placer,"auto"));z(this,"customClass",new ye(be.placer,[]));z(this,"componentWrapperClass",new ye(be.placer,[]));z(this,"displayLayout",new ye(be.placer,Fs.block));z(this,"css",new ye(be.placer,""));z(this,"created",new ye(be.event,void 0,new at));z(this,"mounted",new ye(be.event,void 0,new at))}}class Fi extends w1{constructor(){super(...arguments);z(this,"hidden",new ye(be.placer,!1))}}class ah extends Fi{constructor(){super(...arguments);z(this,"content",new ye(be.placer,""))}}class Hs extends ah{constructor(){super(...arguments);z(this,"slotable",new ye(be.placer,!1));z(this,"default",new ye(be.slot,void 0,new Ln))}}class Qte extends Fi{constructor(){super(...arguments);z(this,"slotable",new ye(be.placer,!1));z(this,"default",new ye(be.slot,void 0,new Ln))}}class S1 extends at{constructor(n){super(n);z(this,"forceMatch",!0);z(this,"errorMsg","");Zn(this,n)}}class qte extends S1{constructor(n){super(n);z(this,"expression","");Zn(this,n)}}class $te extends S1{constructor(n){super(n);z(this,"func","");Zn(this,n)}}class ene extends S1{constructor(n){super(n);z(this,"minValue",null);z(this,"includeMinValue",!1);z(this,"maxValue",null);z(this,"includeMaxValue",!1);Zn(this,n)}}class Ln extends at{constructor(n){super(n);z(this,"allowDrag",!1);z(this,"slotName");Zn(this,n)}}class Vn{constructor(){z(this,"widgetList",[])}}class oh extends Fi{constructor(){super(...arguments);z(this,"label",new ye(be.placer,""));z(this,"defaultValue",null);z(this,"state",new ye(be.placer,zl.custom));z(this,"readonly",!1);z(this,"disabled",!1);z(this,"size","");z(this,"tabindex","");z(this,"labelHidden",new ye(be.placer,!1));z(this,"labelAlign",new ye(be.placer,""));z(this,"labelWidth",new ye(be.placer,""));z(this,"labelIconClass",new ye(be.icon));z(this,"labelIconPosition",new ye(be.placer,Qc.rear));z(this,"labelTooltip",new ye(be.placer,""));z(this,"change",new ye(be.event,void 0,new at));z(this,"focus",new ye(be.event,void 0,new at));z(this,"blur",new ye(be.event,void 0,new at));z(this,"click",new ye(be.event,void 0,new at));z(this,"validateEvent",!0);z(this,"required",new ye(be.placer,!0,new S1));z(this,"expValidate",new ye(be.placer,void 0,new qte));z(this,"rangeValidate",new ye(be.placer,void 0,new ene));z(this,"fnValidate",new ye(be.placer,void 0,new $te))}}class Qo extends oh{constructor(){super(...arguments);z(this,"placeholder","")}}class wo extends ww{constructor(){super(...arguments);z(this,"label","");z(this,"value","")}}class Sw extends wo{constructor(){super(...arguments);z(this,"children",[])}}class Jk extends Sw{constructor(){super(...arguments);z(this,"isopen",!1)}}const kg=class{constructor(){z(this,"type",et.none);z(this,"icon","");z(this,"id","");z(this,"options",{});z(this,"category",Bu.normal);z(this,"init",(e=!0)=>{var n,r;this.id||(this.id=Cw.newId((n=this.type)==null?void 0:n.toString())),this.icon||(this.icon=Cw.getIcon((r=this.type)==null?void 0:r.toString(),e&&this.category!=Bu.container))})}static newId(e){return((e==null?void 0:e.replace(/-/g,""))||"")+zs()}static getIcon(e,n=!0){return"@widget-"+(e||"")+(n?"-field":"")}};let lt=kg;z(lt,"isContainer",e=>e.category===Bu.container),z(lt,"getWidgetTypeName",e=>e?te.i18n2t(`designer.widgetLabel.${e}`,`extension.widgetLabel.${e}`):""),z(lt,"getWidgetName",e=>{var n;return e.type?((n=e.type)==null?void 0:n.trim())+"-widget":""}),z(lt,"getName",e=>kg.getOrgOption(e,Kt.name)),z(lt,"setName",(e,n)=>{kg.setOptions(e,Kt.name,n)}),z(lt,"getOrgOption",(e,n)=>{var r;return(r=e==null?void 0:e.options)==null?void 0:r[n]}),z(lt,"setOrgOption",(e,n,r)=>{!e||!e.options||(e.options[n]=r)}),z(lt,"getOptions",(e,n,r=!1,a=!1,o)=>{var i=kg.getOrgOption(e,n);if(r)return i;var u=ye.getValue(i,!1,a,o);if(u!==null)return u}),z(lt,"setOptions",(e,n,r)=>{ye.setValue(e==null?void 0:e.options,n,r)}),z(lt,"setEnable",(e,n,r)=>{ye.setEnable(e==null?void 0:e.options,n,r)});class Cw extends lt{constructor(){super();z(this,"dynamicItemFlag",!1);z(this,"formItemFlag",!1);z(this,"options",{});this.formItemFlag=!0}}class Dn extends Cw{constructor(e,n,r=!1,a){super(),a!=null&&a.autoWidth&&ea(n,Kt.ctrlWidth)&&(n.ctrlWidth=new ye(be.placer,Vg.auto)),a!=null&&a.inlineLayout&&ea(n,Kt.displayLayout)&&(n.displayLayout=new ye(be.placer,Fs.inline)),Wi(a==null?void 0:a.dynamicItemFlag)||(this.dynamicItemFlag=a==null?void 0:a.dynamicItemFlag),this.formItemFlag=r,this.type=e,this.options=n,Object.entries(n).map(([o,i])=>{var u;ye.getType(i)===be.slot&&((u=ye.getOptions(i))!=null&&u.allowDrag)&&(i.widgetList=[])}),this.init(r)}}function tne(){let t=new Map;const e=r=>{var a=lt.getWidgetName(r),o=null;return a&&(lt.isContainer(r)?o=_.defineAsyncComponent(()=>FD(Object.assign({"./container-widget/cont-cell-widget.vue":()=>Promise.resolve().then(()=>KB),"./container-widget/cont-widget.vue":()=>Promise.resolve().then(()=>XB),"./container-widget/form-widget.vue":()=>Promise.resolve().then(()=>YB),"./container-widget/grid-col-widget.vue":()=>Promise.resolve().then(()=>ZB),"./container-widget/grid-widget.vue":()=>Promise.resolve().then(()=>QB),"./container-widget/ltable-col-widget.vue":()=>Promise.resolve().then(()=>$B),"./container-widget/ltable-widget.vue":()=>Promise.resolve().then(()=>e9),"./container-widget/tab-pane-widget.vue":()=>Promise.resolve().then(()=>n9),"./container-widget/tabs-widget.vue":()=>Promise.resolve().then(()=>r9),"./container-widget/wrapper-widget.vue":()=>Promise.resolve().then(()=>i9)}),`./container-widget/${a}.vue`)):o=_.defineAsyncComponent(()=>FD(Object.assign({"./field-widget/affix-widget.vue":()=>Promise.resolve().then(()=>lme),"./field-widget/alert-widget.vue":()=>Promise.resolve().then(()=>fme),"./field-widget/anchor-link-widget.vue":()=>Promise.resolve().then(()=>pme),"./field-widget/anchor-widget.vue":()=>Promise.resolve().then(()=>vme),"./field-widget/auto-complete-widget.vue":()=>Promise.resolve().then(()=>wme),"./field-widget/avatar-widget.vue":()=>Promise.resolve().then(()=>Ame),"./field-widget/backtop-widget.vue":()=>Promise.resolve().then(()=>Pme),"./field-widget/badge-widget.vue":()=>Promise.resolve().then(()=>Bme),"./field-widget/barcode-widget.vue":()=>Promise.resolve().then(()=>Lxe),"./field-widget/breadcrumb-widget.vue":()=>Promise.resolve().then(()=>zxe),"./field-widget/button-widget.vue":()=>Promise.resolve().then(()=>Gxe),"./field-widget/cache-widget.vue":()=>Promise.resolve().then(()=>Xxe),"./field-widget/card-widget.vue":()=>Promise.resolve().then(()=>Zxe),"./field-widget/carousel-widget.vue":()=>Promise.resolve().then(()=>$xe),"./field-widget/cascader-widget.vue":()=>Promise.resolve().then(()=>n2e),"./field-widget/chart-widget.vue":()=>Promise.resolve().then(()=>a2e),"./field-widget/checkbox-widget.vue":()=>Promise.resolve().then(()=>l2e),"./field-widget/collapse-widget.vue":()=>Promise.resolve().then(()=>f2e),"./field-widget/color-picker-widget.vue":()=>Promise.resolve().then(()=>d2e),"./field-widget/content-wrapper.vue":()=>Promise.resolve().then(()=>rme),"./field-widget/date-picker-range-widget.vue":()=>Promise.resolve().then(()=>g2e),"./field-widget/date-picker-widget.vue":()=>Promise.resolve().then(()=>b2e),"./field-widget/default-slot-widget.vue":()=>Promise.resolve().then(()=>ame),"./field-widget/descriptions-widget.vue":()=>Promise.resolve().then(()=>S2e),"./field-widget/dialog-widget.vue":()=>Promise.resolve().then(()=>D2e),"./field-widget/divider-widget.vue":()=>Promise.resolve().then(()=>k2e),"./field-widget/drawer-widget.vue":()=>Promise.resolve().then(()=>I2e),"./field-widget/dropdown-widget.vue":()=>Promise.resolve().then(()=>L2e),"./field-widget/empty-widget.vue":()=>Promise.resolve().then(()=>V2e),"./field-widget/feedback-widget.vue":()=>Promise.resolve().then(()=>A2e),"./field-widget/file-upload-widget.vue":()=>Promise.resolve().then(()=>uEe),"./field-widget/form-item-wrapper.vue":()=>Promise.resolve().then(()=>bme),"./field-widget/html-text-widget.vue":()=>Promise.resolve().then(()=>pEe),"./field-widget/icon-widget.vue":()=>Promise.resolve().then(()=>vEe),"./field-widget/iframe-widget.vue":()=>Promise.resolve().then(()=>bEe),"./field-widget/image-widget.vue":()=>Promise.resolve().then(()=>wEe),"./field-widget/input-number-widget.vue":()=>Promise.resolve().then(()=>DEe),"./field-widget/input-widget.vue":()=>Promise.resolve().then(()=>kEe),"./field-widget/label-wrapper.vue":()=>Promise.resolve().then(()=>gme),"./field-widget/link-widget.vue":()=>Promise.resolve().then(()=>NEe),"./field-widget/menu-widget.vue":()=>Promise.resolve().then(()=>REe),"./field-widget/model-widget.vue":()=>Promise.resolve().then(()=>UEe),"./field-widget/multirow-widget.vue":()=>Promise.resolve().then(()=>fwe),"./field-widget/pagination-widget.vue":()=>Promise.resolve().then(()=>dwe),"./field-widget/picture-upload-widget.vue":()=>Promise.resolve().then(()=>Swe),"./field-widget/progress-widget.vue":()=>Promise.resolve().then(()=>Owe),"./field-widget/qrcode-widget.vue":()=>Promise.resolve().then(()=>wSe),"./field-widget/radio-widget.vue":()=>Promise.resolve().then(()=>ASe),"./field-widget/range-widget.vue":()=>Promise.resolve().then(()=>ISe),"./field-widget/rate-widget.vue":()=>Promise.resolve().then(()=>FSe),"./field-widget/result-widget.vue":()=>Promise.resolve().then(()=>jSe),"./field-widget/rich-editor-widget.vue":()=>Promise.resolve().then(()=>USe),"./field-widget/router-widget.vue":()=>Promise.resolve().then(()=>KSe),"./field-widget/select-widget.vue":()=>Promise.resolve().then(()=>ZSe),"./field-widget/slider-widget.vue":()=>Promise.resolve().then(()=>$Se),"./field-widget/static-text-widget.vue":()=>Promise.resolve().then(()=>n4e),"./field-widget/steps-widget.vue":()=>Promise.resolve().then(()=>s4e),"./field-widget/subMenu-widget.vue":()=>Promise.resolve().then(()=>MEe),"./field-widget/switch-widget.vue":()=>Promise.resolve().then(()=>c4e),"./field-widget/table-col-widget.vue":()=>Promise.resolve().then(()=>f4e),"./field-widget/table-widget.vue":()=>Promise.resolve().then(()=>v4e),"./field-widget/tag-widget.vue":()=>Promise.resolve().then(()=>y4e),"./field-widget/text-widget.vue":()=>Promise.resolve().then(()=>x4e),"./field-widget/textarea-widget.vue":()=>Promise.resolve().then(()=>S4e),"./field-widget/time-picker-range-widget.vue":()=>Promise.resolve().then(()=>T4e),"./field-widget/time-picker-widget.vue":()=>Promise.resolve().then(()=>O4e),"./field-widget/time-select-widget.vue":()=>Promise.resolve().then(()=>I4e),"./field-widget/tmpl-widget.vue":()=>Promise.resolve().then(()=>F4e),"./field-widget/tree-select-widget.vue":()=>Promise.resolve().then(()=>j4e),"./field-widget/tree-widget.vue":()=>Promise.resolve().then(()=>U4e),"./field-widget/verifycode-widget.vue":()=>Promise.resolve().then(()=>Z4e),"./field-widget/vertical-progress-widget.vue":()=>Promise.resolve().then(()=>Twe)}),`./field-widget/${a}.vue`))),o};return{components:r=>{var a=lt.getWidgetName(r);if(t.has(a))return t.get(a);var o=e(r);return t.set(a,o),o}}}function nne(t){return t=t||Object.create(null),{on:function(n,r){(t[n]||(t[n]=[])).push(r)},off:function(n,r){t[n]&&t[n].splice(t[n].indexOf(r)>>>0,1)},emit:function(n,r){(t[n]||[]).map(function(a){a(r)}),(t["*"]||[]).map(function(a){a(n,r)})}}}const Aw=new nne,Zk={$on:Aw.on,$off:Aw.off,$emit:Aw.emit};function Qk(t){var e={index:-1,maxStep:20,steps:[]};t&&!(t!=null&&t.historyData)&&(t.historyData=e);const n=_.reactive((t==null?void 0:t.historyData)||e),r=`widget__list__backup__${t==null?void 0:t.key}`,a=`form__config__backup__${t==null?void 0:t.key}`,o=_.computed({get:()=>(n.index<0&&(n.index=0),n.steps[n.index]),set:y=>{n.index<0&&(n.index=0),n.steps[n.index]=y}}),i=()=>{const y=o==null?void 0:o.value;t.version=iO(),t.widgetList=Un(y==null?void 0:y.widgetList),t.pageConfig=Un(y==null?void 0:y.pageConfig)},u=y=>{const x=o;x.value=Un({detail:y,widgetList:t.widgetList,pageConfig:t.pageConfig})},s=()=>{g(),n.index=n.index+1,u("initHistory")},l=()=>{t.historyData=e},c=y=>{var x;n.index==n.maxStep-1?(x=n.steps)==null||x.shift():n.index=n.index+1,f(y),n.index<n.steps.length-1&&(n.steps=n.steps.slice(0,n.index+1))},f=y=>{u(y),p()},h=()=>{n.index!==0&&n.index--,i()},d=()=>{var y;n.index!==((y=n.steps)==null?void 0:y.length)-1&&n.index++,i()},v=()=>{var y;return n.index>0&&((y=n.steps)==null?void 0:y.length)>0},m=()=>{var y;return n.index<((y=n.steps)==null?void 0:y.length)-1},p=()=>{Zc.set(r,t.widgetList),Zc.set(a,t.pageConfig)},g=()=>{let y=Zc.get(r);y&&Zn(t.widgetList,Rr(y));let x=Zc.get(a);x&&Zn(t.pageConfig,Rr(x))};return{clearHistoryData:l,initHistoryData:s,emitHistoryChange:c,saveCurrentHistoryStep:f,undoHistoryStep:h,redoHistoryStep:d,undoEnabled:v,redoEnabled:m,saveFormContentToStorage:p,loadFormContentFromStorage:g}}class rne extends Fi{constructor(){super(...arguments);z(this,"labelHidden",new ye(be.placer,!1));z(this,"label",new ye(be.placer,""));z(this,"defaultValue",null);z(this,"state",new ye(be.placer,zl.custom));z(this,"readonly",!1);z(this,"disabled",!1);z(this,"change",new ye(be.event,void 0,new at))}}class ine extends Qo{constructor(){super(...arguments);z(this,"type",t5.text);z(this,"minlength",0);z(this,"maxlength",1e4);z(this,"prefixIcon",new ye(be.icon));z(this,"suffixIcon",new ye(be.icon));z(this,"clearable",!0);z(this,"showPassword",!1);z(this,"showWordLimit",!1);z(this,"formatter",new ye(be.hook,void 0,new at));z(this,"parser",new ye(be.hook,void 0,new at));z(this,"input",new ye(be.event,void 0,new at));z(this,"clear",new ye(be.event,void 0,new at));z(this,"keydown",new ye(be.event,void 0,new at));z(this,"keyup",new ye(be.event,void 0,new at));z(this,"slotable",new ye(be.placer,!1));z(this,"prepend",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"append",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class ane extends Qo{constructor(){super(...arguments);z(this,"resize",$D.none);z(this,"rows",3);z(this,"minlength",0);z(this,"maxlength",1e4);z(this,"showWordLimit",!1);z(this,"autosize",!1);z(this,"input",new ye(be.event,void 0,new at))}}class one extends Qo{constructor(){super(...arguments);z(this,"defaultValue",null);z(this,"min",0);z(this,"max",1e4);z(this,"precision",0);z(this,"step",1);z(this,"stepStrictly",!1);z(this,"controls",!0);z(this,"controlsPosition",r5.none);z(this,"valueOnClear",e5.min);z(this,"unitText",new ye(be.placer,""));z(this,"input",new ye(be.event,void 0,new at))}}class sne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"select",new ye(be.event,void 0,new at));z(this,"fetchSuggestions",new ye(be.hook,void 0,new at));z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"valueKey","value");z(this,"debounce",300);z(this,"placement",Hp.bottomStart);z(this,"triggerOnFocus",!1);z(this,"selectWhenUnmatched",!1);z(this,"hideLoading",!1);z(this,"popperClass","");z(this,"popperAppendToBody",!1);z(this,"teleported",!1);z(this,"highlightFirstItem",!1);z(this,"fitInputWidth",!1);z(this,"slotable",new ye(be.placer,!1));z(this,"prefix",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"suffix",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"prepend",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"append",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class lne extends oh{constructor(){super(...arguments);z(this,"displayStyle",new ye(be.placer,Fs.inline));z(this,"buttonStyle",!1);z(this,"textColor","");z(this,"fill","");z(this,"border",!1);z(this,"valueKey",new ye(be.placer,"value"));z(this,"labelKey",new ye(be.placer,"label"));z(this,"isDefaultKey",new ye(be.placer,"isdefault"));z(this,"withAttachData",new ye(be.placer,!0));z(this,"textName",new ye(be.placer,""));z(this,"optionName",new ye(be.placer,""));z(this,"labelName",new ye(be.placer,""));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(be.placer,void 0))}}class qk extends wo{constructor(){super(...arguments);z(this,"border",!1);z(this,"disabled",!1)}}class une extends oh{constructor(){super(...arguments);z(this,"defaultValue",[]);z(this,"min",0);z(this,"max",1e3);z(this,"displayStyle",new ye(be.placer,Fs.inline));z(this,"buttonStyle",!1);z(this,"border",!1);z(this,"textColor","#ffffff");z(this,"fill","#409EFF");z(this,"tag","div");z(this,"valueKey",new ye(be.placer,"value"));z(this,"labelKey",new ye(be.placer,"label"));z(this,"isDefaultKey",new ye(be.placer,"isdefault"));z(this,"withAttachData",new ye(be.placer,!0));z(this,"textName",new ye(be.placer,""));z(this,"optionName",new ye(be.placer,""));z(this,"labelName",new ye(be.placer,""));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(be.placer,[]))}}class $k extends wo{constructor(){super(...arguments);z(this,"border",!1);z(this,"disabled",!1)}}class eB extends Qo{constructor(){super(...arguments);z(this,"defaultFirstOption",!1);z(this,"noDataText","");z(this,"allowCreate",!1);z(this,"automaticDropdown",!1);z(this,"showGroup",new ye(be.placer,!1));z(this,"teleported",!0);z(this,"persistent",!0);z(this,"fitInputWidth",!1);z(this,"clearable",!0);z(this,"clearIcon",new ye(be.icon,"CircleClose"));z(this,"suffixTransition",!0);z(this,"suffixIcon",new ye(be.icon,"ArrowDown"));z(this,"tagType",sE.info);z(this,"placement",Hp.bottomStart);z(this,"effect",Up.light);z(this,"multiple",!1);z(this,"multipleLimit",0);z(this,"collapseTags",!1);z(this,"collapseTagsTooltip",!1);z(this,"maxCollapseTags",1);z(this,"selectOnlyOneGroup",new ye(be.placer,!1));z(this,"filterable",!1);z(this,"reserveKeyword",!0);z(this,"remote",!1);z(this,"remoteShowSuffix",!1);z(this,"loadingText","");z(this,"noMatchText","");z(this,"filterMethod",new ye(be.hook,void 0,new at));z(this,"remoteMethod",new ye(be.hook,void 0,new at));z(this,"popperClass","");z(this,"popperOptions",{});z(this,"slotable",new ye(be.placer,!1));z(this,"visibleChange",new ye(be.event,void 0,new at));z(this,"removeTag",new ye(be.event,void 0,new at));z(this,"clear",new ye(be.event,void 0,new at));z(this,"optionDefault",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"prefix",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(be.placer,void 0));z(this,"valueKey",new ye(be.placer,"value"));z(this,"labelKey",new ye(be.placer,"label"));z(this,"isDefaultKey",new ye(be.placer,"isdefault"));z(this,"allItemAsValue",new ye(be.placer,!1));z(this,"withAttachData",new ye(be.placer,!0));z(this,"textName",new ye(be.placer,""));z(this,"optionName",new ye(be.placer,""));z(this,"labelName",new ye(be.placer,""))}}class tB extends Qo{constructor(){super(...arguments);z(this,"format",E5.time1);z(this,"prefixIcon",new ye(be.icon,"Clock"));z(this,"clearIcon",new ye(be.icon,"CircleClose"));z(this,"clearable",!0);z(this,"editable",!1);z(this,"isRange",!1);z(this,"arrowControl",!1);z(this,"popperClass","");z(this,"teleported",!0);z(this,"disabledHours",new ye(be.hook,void 0,new at));z(this,"disabledMinutes",new ye(be.hook,void 0,new at));z(this,"disabledSeconds",new ye(be.hook,void 0,new at));z(this,"visibleChange",new ye(be.event,void 0,new at))}}class cne extends tB{constructor(){super(...arguments);z(this,"placeholder","")}}class fne extends tB{constructor(){super(...arguments);z(this,"rangeSeparator","-");z(this,"startPlaceholder","");z(this,"endPlaceholder","");z(this,"isRange",!0)}}class nB extends Qo{constructor(){super(...arguments);z(this,"editable",!0);z(this,"clearable",!0);z(this,"defaultValue",null);z(this,"defaultTime",null);z(this,"format",hE.date1);z(this,"valueFormat",hE.date1);z(this,"prefixIcon",new ye(be.icon));z(this,"clearIcon",new ye(be.icon));z(this,"disabledDate",new ye(be.hook,void 0,new at));z(this,"shortcuts",new ye(be.hook));z(this,"cellClassName",new ye(be.hook,void 0,new at));z(this,"teleported",!0);z(this,"popperClass","");z(this,"popperOptions",{});z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"visibleChange",new ye(be.event,void 0,new at));z(this,"panelChange",new ye(be.event,void 0,new at));z(this,"calendarChange",new ye(be.event,void 0,new at))}}class pne extends nB{constructor(){super(...arguments);z(this,"placeholder","");z(this,"type",fE.date)}}class hne extends nB{constructor(){super(...arguments);z(this,"type",f5.daterange);z(this,"defaultValue",null);z(this,"defaultTime",null);z(this,"unlinkPanels",!1);z(this,"startPlaceholder","");z(this,"endPlaceholder","");z(this,"rangeSeparator","-")}}class dne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"effect",Up.light);z(this,"prefixIcon",new ye(be.icon,"Clock"));z(this,"clearIcon",new ye(be.icon,"CircleClose"));z(this,"start","09:00");z(this,"end","18:00");z(this,"step","00:30");z(this,"minTime","");z(this,"maxTime","");z(this,"format","HH:mm");z(this,"emptyValues",new ye(be.dataObject,null,new br({type:Ge.array,enable:!0})));z(this,"valueOnClear",new ye(be.hook,void 0,new at));z(this,"clear",new ye(be.event,void 0,new at))}}class vne extends Qo{constructor(){super(...arguments);z(this,"width","40px");z(this,"inlinePrompt",!1);z(this,"activeIcon",new ye(be.icon));z(this,"inactiveIcon",new ye(be.icon));z(this,"activeActionIcon",new ye(be.icon));z(this,"inactiveActionIcon",new ye(be.icon));z(this,"activeText","");z(this,"inactiveText","");z(this,"valueType",new ye(be.placer,Ge.boolean));z(this,"activeValue",!0);z(this,"inactiveValue",!1);z(this,"beforeChange",new ye(be.hook,void 0,new at))}}class mne extends oh{constructor(){super(...arguments);z(this,"max",5);z(this,"lowThreshold",2);z(this,"highThreshold",4);z(this,"allowHalf",!0);z(this,"showText",!0);z(this,"showScore",!0)}}class gne extends Qte{constructor(){super(...arguments);z(this,"percentage",0);z(this,"duration",3);z(this,"width",126);z(this,"strokeWidth",6);z(this,"type",a0.line);z(this,"status",XD.none);z(this,"strokeLinecap",YD.round);z(this,"color",new ye(be.hook,void 0,new at));z(this,"trackColor",new ye(be.hook,void 0,new at));z(this,"format",new ye(be.hook,void 0,new at));z(this,"textInside",!1);z(this,"indeterminate",!1);z(this,"showText",!0);z(this,"striped",!1);z(this,"stripedFlow",!1);z(this,"direction",new ye(be.placer,Ls.horizontal));z(this,"completeSec",new ye(be.placer,0));z(this,"completed",new ye(be.placerHook,void 0,new at))}}class yne extends oh{constructor(){super(...arguments);z(this,"colorFormat",w5.rgb);z(this,"showAlpha",!1);z(this,"popperClass","");z(this,"predefine",new ye(be.dataObject,[],new br({type:Ge.array,enable:!0})))}}class _ne extends Qo{constructor(){super(...arguments);z(this,"min",0);z(this,"max",100);z(this,"step",10);z(this,"debounce",0);z(this,"showStops",!0);z(this,"vertical",!1);z(this,"height","");z(this,"range",!1);z(this,"marks",new ye(be.dataObject,{},new br({type:Ge.object,enable:!0})));z(this,"showInput",!1);z(this,"showInputControls",!0);z(this,"inputSize",bo.default);z(this,"showTooltip",!0);z(this,"placement",Hp.top);z(this,"formatTooltip",new ye(be.hook,void 0,new at));z(this,"tooltipClass","")}}class rB extends oh{constructor(){super(...arguments);z(this,"fileList",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"accept",new ye(be.placer,[],new br({type:Ge.array,enable:!0})));z(this,"listType",Gp.text);z(this,"limit",3);z(this,"fileMaxSize",new ye(be.placer,5));z(this,"multiple",!1);z(this,"showFileList",!0);z(this,"autoUpload",!0);z(this,"drag",!1);z(this,"action","");z(this,"dataName",new ye(be.placer,"file"));z(this,"method",A5.post);z(this,"uploadTip",new ye(be.placer,""));z(this,"uploadTriggerTip",new ye(be.placer,""));z(this,"submitUploadTip",new ye(be.placer,""));z(this,"getHeader",new ye(be.placerHook,void 0,new at));z(this,"getData",new ye(be.placerHook,void 0,new at));z(this,"withCredentials",!1);z(this,"httpRequest",new ye(be.hook,void 0,new at));z(this,"beforeUpload",new ye(be.hook,void 0,new at));z(this,"beforeRemove",new ye(be.hook,void 0,new at));z(this,"onChange",new ye(be.hook,void 0,new at));z(this,"onExceed",new ye(be.hook,void 0,new at));z(this,"onProgress",new ye(be.hook,void 0,new at));z(this,"onPreview",new ye(be.hook,void 0,new at));z(this,"onSuccess",new ye(be.hook,void 0,new at));z(this,"onError",new ye(be.hook,void 0,new at));z(this,"onRemove",new ye(be.hook,void 0,new at));z(this,"isUploadSuccess",new ye(be.placerHook,void 0,new at));z(this,"onBuildUrl",new ye(be.placerHook,void 0,new at));z(this,"allowPreview",new ye(be.placerHook,void 0,new at));z(this,"allowDownload",new ye(be.placerHook,void 0,new at));z(this,"onDownload",new ye(be.placerHook,void 0,new at));z(this,"allowDelete",new ye(be.placerHook,void 0,new at));z(this,"slotable",new ye(be.placer,!1));z(this,"trigger",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"tip",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn));z(this,"file",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!1}),void 0,new Vn))}}class bne{constructor(){let e=new rB;ye.setValue(e,"accept",dE(C5)),ye.setValue(e,"listType",Gp.pictureCard);const n=["file","drag"];return n==null||n.forEach(r=>delete e[r]),e}}class xne{constructor(){let e=new rB;return ye.setValue(e,"accept",dE(S5)),e}}class Ene extends Qo{}class wne extends Qo{constructor(){super(...arguments);z(this,"clearable",!0);z(this,"checkStrictly",new ye(be.placer,!1));z(this,"showAllLevels",!0);z(this,"emitPath",new ye(be.placer,!0));z(this,"separator"," / ");z(this,"debounce",300);z(this,"hoverThreshold",new ye(be.placer,500));z(this,"expandTrigger",new ye(be.placer,jg.click));z(this,"tagType",sE.info);z(this,"tagEffect",oE.light);z(this,"lazy",new ye(be.placer,!1));z(this,"lazyLoad",new ye(be.placerHook,void 0,new at));z(this,"filterable",!1);z(this,"filterMethod",new ye(be.hook,void 0,new at));z(this,"beforeFilter",new ye(be.hook,void 0,new at));z(this,"multiple",new ye(be.placer,!1));z(this,"collapseTags",!1);z(this,"collapseTagsTooltip",!1);z(this,"maxCollapseTags",1);z(this,"emptyValues",new ye(be.dataObject,null,new br({type:Ge.array,enable:!0})));z(this,"valueOnClear",new ye(be.hook,void 0,new at));z(this,"popperClass","");z(this,"teleported",!0);z(this,"persistent",!0);z(this,"valueProp",new ye(be.placer,"value"));z(this,"labelProp",new ye(be.placer,"label"));z(this,"childrenProp",new ye(be.placer,"children"));z(this,"disabledProp",new ye(be.placer,"disabled"));z(this,"leafProp",new ye(be.placer,"leaf"));z(this,"withAttachData",new ye(be.placer,!0));z(this,"textName",new ye(be.placer,""));z(this,"optionName",new ye(be.placer,""));z(this,"labelName",new ye(be.placer,""));z(this,"visibleChange",new ye(be.event,void 0,new at));z(this,"removeTag",new ye(be.event,void 0,new at));z(this,"expandChange",new ye(be.event,void 0,new at));z(this,"clear",new ye(be.event,void 0,new at));z(this,"empty",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"optionDefault",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})));z(this,"relate",new ye(be.placer,void 0))}}class iB extends Fi{constructor(){super(...arguments);z(this,"renderAfterExpand",!0);z(this,"highlightCurrent",!1);z(this,"defaultExpandAll",!1);z(this,"expandOnClickNode",!0);z(this,"checkOnClickNode",!1);z(this,"autoExpandParent",!0);z(this,"showCheckbox",!1);z(this,"checkStrictly",!1);z(this,"accordion",!1);z(this,"draggable",!1);z(this,"lazy",!1);z(this,"load",new ye(be.hook,void 0,new at));z(this,"filterNodeMethod",new ye(be.hook,void 0,new at));z(this,"renderContent",new ye(be.hook,void 0,new at));z(this,"allowDrag",new ye(be.hook,void 0,new at));z(this,"allowDrop",new ye(be.hook,void 0,new at));z(this,"empty",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"optionDefault",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"nodeClick",new ye(be.event,void 0,new at));z(this,"nodeContextmenu",new ye(be.event,void 0,new at));z(this,"checkChange",new ye(be.event,void 0,new at));z(this,"check",new ye(be.event,void 0,new at));z(this,"currentChange",new ye(be.event,void 0,new at));z(this,"nodeExpand",new ye(be.event,void 0,new at));z(this,"nodeCollapse",new ye(be.event,void 0,new at));z(this,"nodeDragStart",new ye(be.event,void 0,new at));z(this,"nodeDragEnter",new ye(be.event,void 0,new at));z(this,"nodeDragLeave",new ye(be.event,void 0,new at));z(this,"nodeDragOver",new ye(be.event,void 0,new at));z(this,"nodeDragEnd",new ye(be.event,void 0,new at));z(this,"nodeDrop",new ye(be.event,void 0,new at));z(this,"indent",18);z(this,"icon",new ye(be.icon,""));z(this,"emptyText","");z(this,"labelProp",new ye(be.placerHook,void 0,new at));z(this,"childrenProp",new ye(be.placerHook,void 0,new at));z(this,"disabledProp",new ye(be.placerHook,void 0,new at));z(this,"isLeafProp",new ye(be.placerHook,void 0,new at));z(this,"classProp",new ye(be.placer,void 0,new at));z(this,"nodeKey","value");z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class Sne extends ah{}class Cne extends ah{}class Ane extends Hs{constructor(){super(...arguments);z(this,"label",new ye(be.placer,""));z(this,"type",lE.default);z(this,"size",bo.default);z(this,"tag","span");z(this,"truncated",!1)}}class Tne extends Hs{constructor(){super(...arguments);z(this,"type",bo.default);z(this,"underline",!0);z(this,"disabled",!1);z(this,"href","");z(this,"target",b5.blank);z(this,"prefixIcon",new ye(be.placer,""));z(this,"suffixIcon",new ye(be.placer,""));z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn))}}class Dne extends Hs{constructor(){super(...arguments);z(this,"type",Lg.primary);z(this,"size",bo.default);z(this,"effect",oE.light);z(this,"color","");z(this,"round",!1);z(this,"closable",!1);z(this,"disableTransitions",!1);z(this,"hit",!1);z(this,"click",new ye(be.event,void 0,new at));z(this,"close",new ye(be.event,void 0,new at))}}class Pne extends Hs{constructor(){super(...arguments);z(this,"size",bo.default);z(this,"disabled",!1);z(this,"type",lE.default);z(this,"buttonType",o5.default);z(this,"text",!1);z(this,"plain",!1);z(this,"round",!1);z(this,"circle",!1);z(this,"link",!1);z(this,"icon",new ye(be.icon));z(this,"bg",!1);z(this,"loading",!1);z(this,"loadingIcon",new ye(be.icon,"Loading"));z(this,"autofocus",!1);z(this,"autoInsertSpace",!1);z(this,"color","");z(this,"dark",!1);z(this,"tag","button");z(this,"click",new ye(be.event,new MY,new at));z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn))}}class One extends Hs{constructor(){super(...arguments);z(this,"direction",Ls.horizontal);z(this,"contentPosition",Iu.center);z(this,"borderStyle",y5.solid)}}class kne extends Fi{constructor(){super(...arguments);z(this,"chartOption",new ye(be.hook,void 0,new at));z(this,"dataSource",new ye(be.dataObject,null,new br({type:Ge.array,enable:!0})))}}class Bne extends Hs{constructor(){super(...arguments);z(this,"target","");z(this,"offset",0);z(this,"position",ZD.top);z(this,"zIndex",100);z(this,"change",new ye(be.event,void 0,new at));z(this,"scroll",new ye(be.event,void 0,new at))}}class Ine extends ah{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"200px"));z(this,"displayLayout",new ye(be.placer,Fs.inline));z(this,"format",new ye(be.placer,D5.CODE128));z(this,"lineWidth",new ye(be.placer,2));z(this,"lineHeight",new ye(be.placer,100));z(this,"lineColor",new ye(be.placer,"black"));z(this,"displayValue",new ye(be.placer,!0))}}class Nne extends ah{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"200px"))}}class Mne extends ah{constructor(){super(...arguments);z(this,"displayLayout",new ye(be.placer,Fs.inline));z(this,"identifyCodeLen",new ye(be.placer,4));z(this,"content",new ye(be.placer,"1234567890abcdefjhijklinopqrsduvwxyz"));z(this,"fontSizeMin",25);z(this,"fontSizeMax",35);z(this,"backgroundColorMin",255);z(this,"backgroundColorMax",255);z(this,"colorMin",0);z(this,"colorMax",160);z(this,"lineColorMin",40);z(this,"lineColorMax",180);z(this,"dotColorMin",0);z(this,"dotColorMax",255);z(this,"contentWidth",112);z(this,"contentHeight",40)}}class Fne extends Fi{constructor(){super(...arguments);z(this,"sizeDef",new ye(be.placer,""));z(this,"color","");z(this,"size",0);z(this,"icon",new ye(be.icon,"Apple"))}}class Lne extends Hs{constructor(){super(...arguments);z(this,"image","");z(this,"imageSize");z(this,"description","")}}class Rne extends Hs{constructor(){super(...arguments);z(this,"value","");z(this,"max",99);z(this,"isDot",!1);z(this,"hidden",new ye(be.placer,!1));z(this,"type",Lg.danger)}}class jne extends Hs{constructor(){super(...arguments);z(this,"type",Lg.primary);z(this,"size",bo.default);z(this,"maxHeight");z(this,"showTimeout",250);z(this,"hideTimeout",150);z(this,"placement",Hp.bottom);z(this,"trigger",g5.hover);z(this,"splitButton",!1);z(this,"disabled",!1);z(this,"hideOnClick",!0);z(this,"tabindex",0);z(this,"slotable",new ye(be.placer,!1));z(this,"popperClass","menu");z(this,"popperOptions",{});z(this,"teleported",!0);z(this,"click",new ye(be.event,void 0,new at));z(this,"command",new ye(be.event,void 0,new at));z(this,"visibleChange",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class aB extends wo{constructor(){super(...arguments);z(this,"command","");z(this,"icon",new ye(be.icon));z(this,"disabled",!1);z(this,"divided",!1)}}class Vne extends Hs{constructor(){super(...arguments);z(this,"size",bo.default);z(this,"shape",qD.circle);z(this,"src","");z(this,"fit",pE.cover);z(this,"icon",new ye(be.icon));z(this,"error",new ye(be.event,void 0,new at))}}class zne extends Fi{constructor(){super(...arguments);z(this,"icon",KD.info);z(this,"title",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"subTitle",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"extra",new ye(be.slot,void 0,new Ln,void 0,new Vn))}}class Une extends Hs{constructor(){super(...arguments);z(this,"target","");z(this,"visibilityHeight",200);z(this,"right",40);z(this,"bottom",40);z(this,"click",new ye(be.event,void 0,new at))}}class Hne extends Fi{constructor(){super(...arguments);z(this,"container","");z(this,"offset",0);z(this,"bound",15);z(this,"duration",300);z(this,"type",_5.default);z(this,"direction",Ls.vertical);z(this,"marker",!0);z(this,"change",new ye(be.event,void 0,new at));z(this,"click",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class oB extends ww{constructor(){super(...arguments);z(this,"title","");z(this,"href","");z(this,"children")}}class Gne extends Fi{constructor(){super(...arguments);z(this,"height","");z(this,"initialIndex",0);z(this,"indicatorPosition",p5.none);z(this,"trigger",jg.hover);z(this,"arrow",h5.hover);z(this,"type",d5.none);z(this,"direction",Ls.horizontal);z(this,"loop",!0);z(this,"autoplay",!0);z(this,"pauseOnHover",!0);z(this,"interval",3e3);z(this,"change",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class sB extends wo{constructor(){super(...arguments);z(this,"slotContent",new ye(be.slot,void 0,new Ln({slotName:"content"}),void 0,new Vn))}}class Wne extends Fi{constructor(){super(...arguments);z(this,"accordion",!1);z(this,"change",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class lB extends ww{constructor(){super(...arguments);z(this,"title","");z(this,"content","");z(this,"slotTitle",new ye(be.slot,void 0,new Ln({slotName:"title"}),void 0,new Vn));z(this,"slotContent",new ye(be.slot,void 0,new Ln({slotName:"content"}),void 0,new Vn));z(this,"disabled",!1)}}class Kne extends Fi{constructor(){super(...arguments);z(this,"border",!1);z(this,"column",3);z(this,"direction",Ls.horizontal);z(this,"size",bo.default);z(this,"title","");z(this,"extra","");z(this,"slotable",new ye(be.placer,!1));z(this,"slotTitle",new ye(be.slot,void 0,new Ln({allowDrag:!0,slotName:"title"}),void 0,new Vn));z(this,"slotExtra",new ye(be.slot,void 0,new Ln({allowDrag:!0,slotName:"extra"}),void 0,new Vn));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class uB extends wo{constructor(){super(...arguments);z(this,"content",new ye(be.placer,""));z(this,"span",1);z(this,"width","");z(this,"minWidth","");z(this,"align",Iu.left);z(this,"labelAlign",Iu.left);z(this,"className","");z(this,"labelClassName","")}}class Xne extends Fi{constructor(){super(...arguments);z(this,"width",new ye(be.placer,""));z(this,"height",new ye(be.placer,""));z(this,"src","");z(this,"fit",pE.empty);z(this,"loading",v5.eager);z(this,"hideOnClickModal",!1);z(this,"lazy",!1);z(this,"closeOnPressEscape",!0);z(this,"previewTeleported",!1);z(this,"infinite",!0);z(this,"scrollContainer","");z(this,"referrerpolicy","");z(this,"previewSrcList",new ye(be.dataObject,[],new br({type:Ge.array,enable:!0})));z(this,"zIndex",999999);z(this,"initialIndex",0);z(this,"zoomRate",1.2);z(this,"placeholder",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"slotError",new ye(be.slot,void 0,new Ln({slotName:"error"}),void 0,new Vn));z(this,"viewer",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"load",new ye(be.event,void 0,new at));z(this,"error",new ye(be.event,void 0,new at));z(this,"switch",new ye(be.event,void 0,new at));z(this,"close",new ye(be.event,void 0,new at));z(this,"show",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class Yne extends Fi{constructor(){super(...arguments);z(this,"separator","");z(this,"separatorIcon",new ye(be.icon));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class cB extends wo{constructor(){super(...arguments);z(this,"to","");z(this,"replace",!1);z(this,"useRouter",!1)}}class Jne extends Fi{constructor(){super(...arguments);z(this,"uniqueOpened",!1);z(this,"router",!1);z(this,"collapseTransition",!0);z(this,"collapse",!1);z(this,"ellipsis",!1);z(this,"ellipsisIcon","");z(this,"backgroundColor","#ffffff");z(this,"textColor","#303133");z(this,"activeTextColor","#409EFF");z(this,"mode",Ls.vertical);z(this,"menuTrigger",jg.hover);z(this,"popperEffect",Up.dark);z(this,"closeOnClickOutside",!1);z(this,"popperClass","");z(this,"showTimeout",0);z(this,"hideTimeout",0);z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class fB extends wo{constructor(){super(...arguments);z(this,"disabled",!1);z(this,"icon","");z(this,"route","");z(this,"click",new ye(be.event,void 0,new at));z(this,"menuItemType",Ul.None);z(this,"showTimeout",0);z(this,"hideTimeout",0);z(this,"popperOffset",0);z(this,"expandCloseIcon","");z(this,"expandOpenIcon","");z(this,"collapseCloseIcon","");z(this,"collapseOpenIcon","");z(this,"popperClass","");z(this,"teleported",!0);z(this,"children")}}class Zne extends Fi{constructor(){super(...arguments);z(this,"label");z(this,"displayLayout",new ye(be.placer,Fs.inline))}}class Qne extends Fi{constructor(){super(...arguments);z(this,"direction",Ls.horizontal);z(this,"space","");z(this,"processStatus",uE.process);z(this,"finishStatus",uE.finish);z(this,"alignCenter",!1);z(this,"simple",!1);z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class pB extends wo{constructor(){super(...arguments);z(this,"description","");z(this,"icon","");z(this,"status","")}}class qne extends Fi{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"100%"));z(this,"data",new ye(be.singleOption,null));z(this,"height","200px");z(this,"maxHeight","200px");z(this,"emptyText","");z(this,"size",bo.default);z(this,"defaultSort",new ye(be.dataObject,{},new br({type:Ge.array,enable:!1})));z(this,"tableLayout",i5.fixed);z(this,"stripe",!1);z(this,"border",!1);z(this,"fit",!0);z(this,"showHeader",!0);z(this,"scrollbarAlwaysOn",!1);z(this,"flexible",!1);z(this,"beforeTableRender",new ye(be.placerHook,void 0,new at));z(this,"highlightCurrentRow",!1);z(this,"currentRowKey","");z(this,"rowClassName",new ye(be.hook,void 0,new at));z(this,"rowStyle",new ye(be.hook,void 0,new at));z(this,"headerRowClassName",new ye(be.hook,void 0,new at));z(this,"headerRowStyle",new ye(be.hook,void 0,new at));z(this,"rowKey",new ye(be.hook,void 0,new at));z(this,"expandRowKeys",new ye(be.dataObject,[],new br({type:Ge.array,enable:!1})));z(this,"cellClassName",new ye(be.hook,void 0,new at));z(this,"cellStyle",new ye(be.hook,void 0,new at));z(this,"headerCellClassName",new ye(be.hook,void 0,new at));z(this,"headerCellStyle",new ye(be.hook,void 0,new at));z(this,"defaultExpandAll",!1);z(this,"showSummary",!1);z(this,"selectOnIndeterminate",!0);z(this,"sumText","Sum");z(this,"summaryMethod",new ye(be.hook,void 0,new at));z(this,"spanMethod",new ye(be.hook,void 0,new at));z(this,"treeProps",new ye(be.dataObject,{},new br({type:Ge.object,enable:!1})));z(this,"indent",16);z(this,"lazy",!1);z(this,"load",new ye(be.hook,void 0,new at));z(this,"showOverflowTooltip",!1);z(this,"tooltipEffect",Up.dark);z(this,"tooltipOptions",null);z(this,"allowPage",new ye(be.placer,!1));z(this,"pageSize",new ye(be.placer,10));z(this,"pageSizes",new ye(be.placer,[10,20,30,40,50,100]));z(this,"hideOnSinglePage",new ye(be.placer,!1));z(this,"layout",new ye(be.placer,["prev","pager","next","jumper","->","total"]));z(this,"select",new ye(be.event,void 0,new at));z(this,"selectAll",new ye(be.event,void 0,new at));z(this,"selectionChange",new ye(be.event,void 0,new at));z(this,"cellMouseEnter",new ye(be.event,void 0,new at));z(this,"cellMouseLeave",new ye(be.event,void 0,new at));z(this,"cellClick",new ye(be.event,void 0,new at));z(this,"cellDblclick",new ye(be.event,void 0,new at));z(this,"cellContextmenu",new ye(be.event,void 0,new at));z(this,"rowClick",new ye(be.event,void 0,new at));z(this,"rowContextmenu",new ye(be.event,void 0,new at));z(this,"rowDblclick",new ye(be.event,void 0,new at));z(this,"headerClick",new ye(be.event,void 0,new at));z(this,"headerContextmenu",new ye(be.event,void 0,new at));z(this,"sortChange",new ye(be.event,void 0,new at));z(this,"filterChange",new ye(be.event,void 0,new at));z(this,"currentChange",new ye(be.event,void 0,new at));z(this,"headerDragend",new ye(be.event,void 0,new at));z(this,"expandChange",new ye(be.event,void 0,new at));z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"append",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"empty",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class hB extends L0{constructor(){super(...arguments);z(this,"type",s5.default);z(this,"index",new ye(be.hook,void 0,new at));z(this,"label","");z(this,"prop","");z(this,"width","");z(this,"minWidth","");z(this,"fixed",!1);z(this,"resizable",!0);z(this,"showOverflowTooltip",!1);z(this,"reserveSelection",!1);z(this,"renderHeader",new ye(be.hook,void 0,new at));z(this,"formatter",new ye(be.hook,void 0,new at));z(this,"selectable",new ye(be.hook,void 0,new at));z(this,"align",Iu.left);z(this,"headerAlign",Iu.left);z(this,"className","");z(this,"labelClassName","");z(this,"sortable",!1);z(this,"sortOrders",new ye(be.dataObject,["ascending","descending",null],new br({type:Ge.array})));z(this,"sortMethod",new ye(be.hook,void 0,new at));z(this,"sortBy",new ye(be.hook,void 0,new at));z(this,"filters",new ye(be.dataObject,void 0,new br({type:Ge.object})));z(this,"filteredValue",new ye(be.dataObject,void 0,new br({type:Ge.array,enable:!0})));z(this,"filterMethod",new ye(be.hook,void 0,new at));z(this,"filterMultiple",!0);z(this,"filterPlacement",Hp.top);z(this,"filterClassName","");z(this,"columnKey","");z(this,"header",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"default",{widgetList:[],...new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn)});z(this,"slotable",new ye(be.placer,!1));z(this,"uuid",new ye(be.placer,zs()))}}class R0 extends E1{constructor(){super(...arguments);z(this,"customClass",new ye(be.placer,[]));z(this,"displayLayout",new ye(be.placer,Fs.block))}}class Hu extends R0{constructor(){super(...arguments);z(this,"componentWrapperClass",new ye(be.placer,[]))}}class $ne extends R0{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"colHeight",new ye(be.placer,""));z(this,"gutter",0);z(this,"justify",u5.start);z(this,"align",c5.middle);z(this,"tag","div");z(this,"cols",new ye(be.placer,[]))}}class dB extends Hu{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"responsive",!1);z(this,"span",12);z(this,"xs",12);z(this,"sm",12);z(this,"md",12);z(this,"lg",12);z(this,"xl",12);z(this,"offset",0);z(this,"push",0);z(this,"pull",0);z(this,"tag","div");z(this,"horizontalAlign",new ye(be.placer,""))}}class ere extends R0{constructor(){super(...arguments);z(this,"hidden",!1)}}class tre extends Hu{constructor(){super(...arguments);z(this,"cellWidth","");z(this,"cellHeight","");z(this,"colspan",0);z(this,"rowspan",0)}}class nre extends Hu{constructor(){super(...arguments);z(this,"label","");z(this,"title","");z(this,"defaultValue",!1);z(this,"width","50%");z(this,"fullscreen",!1);z(this,"top","");z(this,"modal",!0);z(this,"modalClass","");z(this,"lockScroll",!0);z(this,"draggable",!1);z(this,"overflow",!1);z(this,"center",!1);z(this,"alignCenter",!1);z(this,"closeOnClickModal",!0);z(this,"closeOnPressEscape",!0);z(this,"showClose",!0);z(this,"destroyOnClose",!1);z(this,"openDelay",0);z(this,"closeDelay",0);z(this,"closeIcon",new ye(be.icon,"Close"));z(this,"beforeClose",new ye(be.hook,void 0,new at));z(this,"appendToBody",!1);z(this,"appendTo","body");z(this,"zIndex",1e4);z(this,"header",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"footer",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"open",new ye(be.event,void 0,new at));z(this,"opened",new ye(be.event,void 0,new at));z(this,"close",new ye(be.event,void 0,new at));z(this,"closed",new ye(be.event,void 0,new at));z(this,"openAutoFocus",new ye(be.event,void 0,new at));z(this,"closeAutoFocus",new ye(be.event,void 0,new at))}}class rre extends Hu{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"100%"));z(this,"title","title");z(this,"type",m5.info);z(this,"description","description");z(this,"closable",!0);z(this,"center",!1);z(this,"closeText","");z(this,"showIcon",!1);z(this,"slotable",new ye(be.placer,!1));z(this,"effect",Up.light);z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"titleSlot",new ye(be.slot,void 0,new Ln({allowDrag:!0,slotName:"title"}),void 0,new Vn));z(this,"close",new ye(be.event,void 0,new at))}}class ire extends Hu{constructor(){super(...arguments);z(this,"label","");z(this,"title","");z(this,"defaultValue",!1);z(this,"size","30%");z(this,"modal",!0);z(this,"modalClass","");z(this,"appendToBody",!1);z(this,"lockScroll",!0);z(this,"withHeader",!0);z(this,"showClose",!0);z(this,"closeOnClickModal",!0);z(this,"closeOnPressEscape",!0);z(this,"destroyOnClose",!1);z(this,"beforeClose",new ye(be.hook,void 0,new at));z(this,"direction",l5.rtl);z(this,"openDelay",0);z(this,"closeDelay",0);z(this,"zIndex",1e4);z(this,"header",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"footer",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"open",new ye(be.event,void 0,new at));z(this,"opened",new ye(be.event,void 0,new at));z(this,"close",new ye(be.event,void 0,new at));z(this,"closed",new ye(be.event,void 0,new at));z(this,"openAutoFocus",new ye(be.event,void 0,new at));z(this,"closeAutoFocus",new ye(be.event,void 0,new at))}}class are extends Fi{constructor(){super(...arguments);z(this,"background",!1);z(this,"hideOnSinglePage",!1);z(this,"size",bo.default);z(this,"defaultPageSize",10);z(this,"pagerCount",7);z(this,"defaultCurrentPage",1);z(this,"layout",new ye(be.dataObject,["prev","pager","next","jumper","->","total"]));z(this,"pageSizes",new ye(be.dataObject,[10,20,30,40,50,100],new br({type:Ge.array,enable:!0})));z(this,"popperClass","");z(this,"prevText","");z(this,"nextText","");z(this,"prevIcon",new ye(be.icon,"ArrowLeft"));z(this,"nextIcon",new ye(be.icon,"ArrowRight"));z(this,"disabled",!1);z(this,"teleported",!0);z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"sizeChange",new ye(be.event,void 0,new at));z(this,"currentChange",new ye(be.event,void 0,new at));z(this,"change",new ye(be.event,void 0,new at));z(this,"prevClick",new ye(be.event,void 0,new at));z(this,"nextClick",new ye(be.event,void 0,new at))}}class ore extends Hu{constructor(){super(...arguments);z(this,"newDataSource",new ye(be.singleOption,null,new br({type:Ge.object,enable:!0})));z(this,"editDataSource",new ye(be.singleOption,null,new br({type:Ge.object,enable:!0})));z(this,"loadDataWhenInit",new ye(be.placer,!1));z(this,"showLoading",new ye(be.placer,!1));z(this,"loadingText",new ye(be.placer,""));z(this,"inline",!1);z(this,"disabled",!1);z(this,"labelAlign",new ye(be.placer,""));z(this,"labelPosition",a5.right);z(this,"labelWidth","");z(this,"labelSuffix","");z(this,"statusIcon",!1);z(this,"hideRequiredAsterisk",!1);z(this,"requireAsteriskPosition",JD.left);z(this,"showMessage",!0);z(this,"inlineMessage",!1);z(this,"validateOnRuleChange",!0);z(this,"scrollToError",!1);z(this,"scrollIntoViewOptions",new ye(be.dataObject,void 0,new br({type:Ge.object,enable:!0})));z(this,"size",bo.default);z(this,"customClass",new ye(be.placer,[]));z(this,"validate",new ye(be.event,void 0,new at));z(this,"default",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"modelName",new ye(be.placer,"formData"));z(this,"refName",new ye(be.placer,"vForm"));z(this,"rulesName",new ye(be.placer,"rules"));z(this,"formCreated",new ye(be.event,void 0,new at));z(this,"formMounted",new ye(be.event,void 0,new at));z(this,"formDataChange",new ye(be.event,void 0,new at));z(this,"formDataLoaded",new ye(be.placerHook,void 0,new at));z(this,"needFormAdd",new ye(be.placerHook,void 0,new at))}}class sre extends R0{constructor(){super(...arguments);z(this,"cols",new ye(be.placer,[]))}}class lre extends R0{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"closable",!1);z(this,"addable",!1);z(this,"editable",!1);z(this,"stretch",!1);z(this,"showLoading",new ye(be.placer,!1));z(this,"loadingText",new ye(be.placer,""));z(this,"type",cE.borderCard);z(this,"tabPosition",QD.top);z(this,"beforeLeave",new ye(be.hook,void 0,new at));z(this,"tabs",new ye(be.placer,void 0,new at));z(this,"tabChange",new ye(be.event,void 0,new at));z(this,"tabClick",new ye(be.event,void 0,new at));z(this,"tabAdd",new ye(be.event,void 0,new at));z(this,"edit",new ye(be.event,void 0,new at));z(this,"tabRemove",new ye(be.event,void 0,new at));z(this,"created",new ye(be.event,void 0,new at));z(this,"mounted",new ye(be.event,void 0,new at))}}class Tw extends Hu{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"label","");z(this,"disabled",!1);z(this,"lazy",!1);z(this,"isdefault",!1)}}class ure extends Hu{constructor(){super(...arguments);z(this,"ctrlWidth",new ye(be.placer,"100%"));z(this,"hidden",!1);z(this,"slotable",new ye(be.placer,!1));z(this,"label",new ye(be.placer,"card"));z(this,"folded",new ye(be.placer,!1));z(this,"showFold",new ye(be.placer,!1));z(this,"shadow",n5.always);z(this,"bodyStyle",new ye(be.placer,void 0,new at));z(this,"header",new ye(be.slot,void 0,new Ln,void 0,new Vn));z(this,"default",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}class cre extends w1{constructor(){super(...arguments);z(this,"label",new ye(be.placer,""));z(this,"hidden",!1);z(this,"minRowNum",1);z(this,"maxRowNum",50);z(this,"showMode",Rg.line);z(this,"addRecordText","");z(this,"deleteRecordText","");z(this,"sortUpText","");z(this,"sortDownText","");z(this,"showHeader",!0);z(this,"showDetail",!1);z(this,"onlyOneAddButton",!1);z(this,"showBorder",!0);z(this,"showLimit",!1);z(this,"sortable",!1);z(this,"allowAdd",!0);z(this,"allowDelete",!0);z(this,"allowDefaultAdd",!1);z(this,"row",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"detail",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"addRow",new ye(be.event,void 0,new at));z(this,"deleteRow",new ye(be.event,void 0,new at));z(this,"change",new ye(be.event,void 0,new at));z(this,"click",new ye(be.event,void 0,new at));z(this,"dataFormat",new ye(be.hook,void 0,new at));z(this,"rowDataFormat",new ye(be.hook,void 0,new at))}}class fre extends w1{constructor(){super(...arguments);z(this,"label",new ye(be.placer,""));z(this,"data",new ye(be.singleOption,null));z(this,"alwaysShow",!1);z(this,"hidden",!1);z(this,"showLoading",!1);z(this,"loadingText","");z(this,"loadDataWhenInit",new ye(be.placer,!1));z(this,"noData","");z(this,"completed",new ye(be.event,void 0,new at));z(this,"row",new ye(be.slot,void 0,new Ln({allowDrag:!0,enable:!0}),void 0,new Vn));z(this,"click",new ye(be.event,void 0,new at))}}class pre extends E1{constructor(){super(...arguments);z(this,"label","");z(this,"compName",et.tag);z(this,"appendOnClick",!0);z(this,"showSaveButton",!0);z(this,"showAddButton",!0);z(this,"labelKey","label");z(this,"contentKey","value");z(this,"relatedIds",new ye(be.dataObject,[],new br({type:Ge.array,enable:!0})));z(this,"addButtonText","");z(this,"saveButtonText","");z(this,"operateData",new ye(be.dataObject,{},new br({type:Ge.object,enable:!0})));z(this,"hidden",!1);z(this,"click",new ye(be.event,void 0,new at));z(this,"save",new ye(be.event,void 0,new at));z(this,"add",new ye(be.event,void 0,new at));z(this,"optionItems",new ye(be.singleOption,[],new br({type:Ge.array,enable:!0})))}}class vB extends E1{constructor(){super(...arguments);z(this,"label");z(this,"value")}}class hre extends Fi{constructor(){super(...arguments);z(this,"src","");z(this,"withQuery",new ye(be.placer,!1));z(this,"hashRouter",new ye(be.placer,!1));z(this,"onLoaded",new ye(be.event,void 0,new at))}}const Oa={autoWidth:!0,inlineLayout:!0},mB=[new Dn(et.text,new Ane,!1,Oa),new Dn(et.link,new Tne,!1,Oa),new Dn(et.button,new Pne,!1,Oa),new Dn(et.tag,new Dne,!1,Oa),new Dn(et.icon,new Fne,!1,Oa)];class cf extends lt{constructor(){super(),this.category=Bu.container}}class Dw extends lt{constructor(){super();z(this,"widgetList",[]);this.category=Bu.container}}class dre extends cf{constructor(){super();z(this,"cols",[]);this.type=et.cont,this.options=new sre,this.init(!1)}}class Pw extends L0{constructor(){super(...arguments);z(this,"direction",Ls.vertical);z(this,"partName",new ye(be.placer,Hl.container));z(this,"cellWidth",new ye(be.placer,""));z(this,"cellHeight",new ye(be.placer,""));z(this,"customClass",new ye(be.placer,[]));z(this,"componentWrapperClass",new ye(be.placer,[]));z(this,"children",[]);z(this,"widgetList",[])}}class vre extends cf{constructor(){super();z(this,"cols",[]);this.type=et.grid,this.options=new $ne,this.init(!1)}}class mre extends Dw{constructor(){super();z(this,"internal",!0);this.type=et.gridCol,this.options=new dB,this.init(!1)}}class gre extends cf{constructor(){super();z(this,"rows",[]);this.type=et.table,this.options=new ere,this.init(!1)}}class yre extends cf{constructor(){super();z(this,"internal",!0);z(this,"cols",[]);this.type=et.tableRow,this.init(!1)}}class _re extends Dw{constructor(){super();z(this,"internal",!0);z(this,"merged",!1);this.type=et.tableCol,this.options=new tre,this.init(!1)}}class bre extends cf{constructor(){super();z(this,"displayType",cE.borderCard);z(this,"tabs",[]);this.type=et.tabs,this.options=new lre,this.init(!1)}}class xre extends Dw{constructor(){super();z(this,"internal",!0);this.type=et.tabPane,this.options=new Tw,this.init(!1)}}class Ere extends cf{constructor(){super();z(this,"slots",[]);z(this,"widgetList",[]);this.type=et.form,this.options=new ore,this.init(!1)}}class wre extends cf{constructor(){super();z(this,"widgetList",[]);this.type=et.wrapper,this.options=new Sre,this.init(!1)}}class Sre extends w1{constructor(){super(...arguments);z(this,"hidden",!1);z(this,"disabled",!1);z(this,"lazy",!1);z(this,"showLoading",new ye(be.placer,!1));z(this,"loadingText",new ye(be.placer,""))}}class Cre extends Fi{constructor(){super(...arguments);z(this,"label","");z(this,"labelHidden",new ye(be.placer,!1));z(this,"labelAlign",new ye(be.placer,""));z(this,"labelWidth",new ye(be.placer,""));z(this,"labelIconClass",new ye(be.icon));z(this,"labelIconPosition",new ye(be.placer,Qc.rear));z(this,"labelTooltip",new ye(be.placer,""))}}class Are extends Cre{constructor(){super(...arguments);z(this,"splitText","-");z(this,"unitText","");z(this,"left",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn));z(this,"right",new ye(be.slot,void 0,new Ln({allowDrag:!0}),void 0,new Vn))}}const gB=[new vre,new mre,new gre,new yre,new _re,new dre,new wre],yB=[new Ere,new Dn(et.input,new ine,!0),new Dn(et.textarea,new ane,!0),new Dn(et.number,new one,!0),new Dn(et.radio,new lne,!0),new Dn(et.checkbox,new une,!0),new Dn(et.autoComplete,new sne,!0),new Dn(et.select,new eB,!0),new Dn(et.cascader,new wne,!0),new Dn(et.treeSelect,{treeDivider:"",...new iB,selectDivider:"",...new eB},!0),new Dn(et.switch,new vne,!0),new Dn(et.timeSelect,new dne,!0),new Dn(et.timePicker,new cne,!0),new Dn(et.timePickerRange,new fne,!0),new Dn(et.datePicker,new pne,!0),new Dn(et.datePickerRange,new hne,!0),new Dn(et.pictureUpload,new bne,!0),new Dn(et.fileUpload,new xne,!0),new Dn(et.rate,new mne,!0),new Dn(et.colorPicker,new yne,!0),new Dn(et.slider,new _ne,!0),new Dn(et.richEditor,new Ene,!0),new Dn(et.cache,new rne,!0)],_B=[new Dn(et.multirow,new cre,!0,{dynamicItemFlag:!0}),new Dn(et.tmpl,new fre,!1,{dynamicItemFlag:!0}),new Dn(et.model,new pre,!1),new Dn(et.range,new Are,!1)],bB=[],xB=[new Dn(et.avatar,new Vne,!1,Oa),new Dn(et.badge,new Rne,!1,Oa),new Dn(et.empty,new Lne,!1),new Dn(et.result,new zne,!1),new Dn(et.card,new ure,!1),new Dn(et.collapse,new Wne,!1),new Dn(et.descriptions,new Kne,!1),new Dn(et.carousel,new Gne,!1),new Dn(et.image,new Xne,!1,Oa),new Dn(et.eltable,new qne,!1),new Dn(et.pagination,new are,!1),new Dn(et.progress,new gne,!1,Oa),new Dn(et.tree,new iB,!1),new Dn(et.barcode,new Ine,!1),new Dn(et.qrcode,new Nne,!1),new Dn(et.verifycode,new Mne,!1)],EB=[new Dn(et.router,new Zne,!1,Oa),new bre,new xre,new Dn(et.steps,new Qne,!1),new Dn(et.dropdown,new jne,!1,Oa),new Dn(et.menu,new Jne,!1),new Dn(et.breadcrumb,new Yne,!1),new Dn(et.affix,new Bne,!1,Oa),new Dn(et.backtop,new Une,!1,Oa),new Dn(et.anchor,new Hne,!1,Oa)],wB=[new Dn(et.dialog,new nre,!1),new Dn(et.drawer,new ire,!1),new Dn(et.alert,new rre,!1)],SB=[new Dn(et.staticText,new Sne,!1,Oa),new Dn(et.htmlText,new Cne,!1,Oa),new Dn(et.divider,new One,!1),new Dn(et.chart,new kne,!1),new Dn(et.iframe,new hre,!1)],Tre=[...gB,...mB,...yB,...bB,..._B,...xB,...wB,...EB,...SB],Dre={containers:gB,basicFields:mB,formFields:yB,systemFields:bB,advancedFields:_B,dataFields:xB,navFields:EB,feedBackFields:wB,otherFields:SB,allWidgets:Tre},ff=(t,e)=>{var r;if(!t||!e)return!1;let n=Gu(t==null?void 0:t.type);return!n||!(n!=null&&n.options)?!1:((r=Sr(n==null?void 0:n.options))==null?void 0:r.indexOf(e))>-1},Gu=t=>{var e;return(e=Dre.allWidgets)==null?void 0:e.find(n=>n.type===t)},Pre=t=>{const e=t.id;if(!e)return null;const n=lt.getName(t);return{id:e,name:n}},qo=(t,e,n)=>{if(!t)return It(t);var r=t==null?void 0:t.id,a=t.type+zs(),o=a;n&&(o=n(r,a));const i=Pre(t);return Ore(t,o,e),i&&(e!=null&&e.recordSource)&&Zn(t,{_source:i}),It(t)},Ore=(t,e,n)=>(ea(t,Kt.id)&&(t.id=e),t.options=kre(t.options,e,n),t),kre=(t,e,n)=>(ea(t,Kt.name)&&(n==null?void 0:n.newName)!=!1&&(t.name=Gl(e,"-","")),ea(t,Kt.label)&&!(t!=null&&t.label)&&(n==null?void 0:n.newLabel)!=!1&&(t.label=Gl(e,"-","")),t),CB=t=>{const e="id@";return{idClass:`${e}${t==null?void 0:t.id}`,getIdByIdClass:o=>o==null?void 0:o.substring(e.length),isIdClass:o=>o==null?void 0:o.startsWith(e)}};var AB={},Bre={get exports(){return AB},set exports(t){AB=t}};/*! jsonpath 1.1.1 */(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,a,o){function i(l,c){if(!a[l]){if(!r[l]){var f=typeof M0=="function"&&M0;if(!c&&f)return f(l,!0);if(u)return u(l,!0);var h=new Error("Cannot find module '"+l+"'");throw h.code="MODULE_NOT_FOUND",h}var d=a[l]={exports:{}};r[l][0].call(d.exports,function(v){var m=r[l][1][v];return i(m||v)},d,d.exports,n,r,a,o)}return a[l].exports}for(var u=typeof M0=="function"&&M0,s=0;s<o.length;s++)i(o[s]);return i}({"./aesprim":[function(n,r,a){(function(o,i){i(typeof a<"u"?a:o.esprima={})})(this,function(o){var i,u,s,l,c,f,h,d,v,m,p,g,y,x,b,E,w,S;i={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},u={},u[i.BooleanLiteral]="Boolean",u[i.EOF]="<end>",u[i.Identifier]="Identifier",u[i.Keyword]="Keyword",u[i.NullLiteral]="Null",u[i.NumericLiteral]="Numeric",u[i.Punctuator]="Punctuator",u[i.StringLiteral]="String",u[i.RegularExpression]="RegularExpression",s=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],l={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},f={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},h={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function A(le,fe){if(!le)throw new Error("ASSERT: "+fe)}function P(le){return le>=48&&le<=57}function C(le){return"0123456789abcdefABCDEF".indexOf(le)>=0}function D(le){return"01234567".indexOf(le)>=0}function O(le){return le===32||le===9||le===11||le===12||le===160||le>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(le)>=0}function k(le){return le===10||le===13||le===8232||le===8233}function B(le){return le==64||le===36||le===95||le>=65&&le<=90||le>=97&&le<=122||le===92||le>=128&&h.NonAsciiIdentifierStart.test(String.fromCharCode(le))}function N(le){return le===36||le===95||le>=65&&le<=90||le>=97&&le<=122||le>=48&&le<=57||le===92||le>=128&&h.NonAsciiIdentifierPart.test(String.fromCharCode(le))}function M(le){switch(le){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function j(le){switch(le){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function F(le){return le==="eval"||le==="arguments"}function R(le){if(m&&j(le))return!0;switch(le.length){case 2:return le==="if"||le==="in"||le==="do";case 3:return le==="var"||le==="for"||le==="new"||le==="try"||le==="let";case 4:return le==="this"||le==="else"||le==="case"||le==="void"||le==="with"||le==="enum";case 5:return le==="while"||le==="break"||le==="catch"||le==="throw"||le==="const"||le==="yield"||le==="class"||le==="super";case 6:return le==="return"||le==="typeof"||le==="delete"||le==="switch"||le==="export"||le==="import";case 7:return le==="default"||le==="finally"||le==="extends";case 8:return le==="function"||le==="continue"||le==="debugger";case 10:return le==="instanceof";default:return!1}}function G(le,fe,Le,Ye,ct){var xt;A(typeof Le=="number","Comment must have valid position"),!(w.lastCommentStart>=Le)&&(w.lastCommentStart=Le,xt={type:le,value:fe},S.range&&(xt.range=[Le,Ye]),S.loc&&(xt.loc=ct),S.comments.push(xt),S.attachComment&&(S.leadingComments.push(xt),S.trailingComments.push(xt)))}function L(le){var fe,Le,Ye,ct;for(fe=p-le,Le={start:{line:g,column:p-y-le}};p<x;)if(Ye=v.charCodeAt(p),++p,k(Ye)){S.comments&&(ct=v.slice(fe+le,p-1),Le.end={line:g,column:p-y-1},G("Line",ct,fe,p-1,Le)),Ye===13&&v.charCodeAt(p)===10&&++p,++g,y=p;return}S.comments&&(ct=v.slice(fe+le,p),Le.end={line:g,column:p-y},G("Line",ct,fe,p,Le))}function V(){var le,fe,Le,Ye;for(S.comments&&(le=p-2,fe={start:{line:g,column:p-y-2}});p<x;)if(Le=v.charCodeAt(p),k(Le))Le===13&&v.charCodeAt(p+1)===10&&++p,++g,++p,y=p,p>=x&&Ce({},f.UnexpectedToken,"ILLEGAL");else if(Le===42){if(v.charCodeAt(p+1)===47){++p,++p,S.comments&&(Ye=v.slice(le+2,p-2),fe.end={line:g,column:p-y},G("Block",Ye,le,p,fe));return}++p}else++p;Ce({},f.UnexpectedToken,"ILLEGAL")}function K(){var le,fe;for(fe=p===0;p<x;)if(le=v.charCodeAt(p),O(le))++p;else if(k(le))++p,le===13&&v.charCodeAt(p)===10&&++p,++g,y=p,fe=!0;else if(le===47)if(le=v.charCodeAt(p+1),le===47)++p,++p,L(2),fe=!0;else if(le===42)++p,++p,V();else break;else if(fe&&le===45)if(v.charCodeAt(p+1)===45&&v.charCodeAt(p+2)===62)p+=3,L(3);else break;else if(le===60)if(v.slice(p+1,p+4)==="!--")++p,++p,++p,++p,L(4);else break;else break}function Y(le){var fe,Le,Ye,ct=0;for(Le=le==="u"?4:2,fe=0;fe<Le;++fe)if(p<x&&C(v[p]))Ye=v[p++],ct=ct*16+"0123456789abcdef".indexOf(Ye.toLowerCase());else return"";return String.fromCharCode(ct)}function J(){var le,fe;for(le=v.charCodeAt(p++),fe=String.fromCharCode(le),le===92&&(v.charCodeAt(p)!==117&&Ce({},f.UnexpectedToken,"ILLEGAL"),++p,le=Y("u"),(!le||le==="\\"||!B(le.charCodeAt(0)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),fe=le);p<x&&(le=v.charCodeAt(p),!!N(le));)++p,fe+=String.fromCharCode(le),le===92&&(fe=fe.substr(0,fe.length-1),v.charCodeAt(p)!==117&&Ce({},f.UnexpectedToken,"ILLEGAL"),++p,le=Y("u"),(!le||le==="\\"||!N(le.charCodeAt(0)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),fe+=le);return fe}function Q(){var le,fe;for(le=p++;p<x;){if(fe=v.charCodeAt(p),fe===92)return p=le,J();if(N(fe))++p;else break}return v.slice(le,p)}function ce(){var le,fe,Le;return le=p,fe=v.charCodeAt(p)===92?J():Q(),fe.length===1?Le=i.Identifier:R(fe)?Le=i.Keyword:fe==="null"?Le=i.NullLiteral:fe==="true"||fe==="false"?Le=i.BooleanLiteral:Le=i.Identifier,{type:Le,value:fe,lineNumber:g,lineStart:y,start:le,end:p}}function se(){var le=p,fe=v.charCodeAt(p),Le,Ye=v[p],ct,xt,we;switch(fe){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++p,S.tokenize&&(fe===40?S.openParenToken=S.tokens.length:fe===123&&(S.openCurlyToken=S.tokens.length)),{type:i.Punctuator,value:String.fromCharCode(fe),lineNumber:g,lineStart:y,start:le,end:p};default:if(Le=v.charCodeAt(p+1),Le===61)switch(fe){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return p+=2,{type:i.Punctuator,value:String.fromCharCode(fe)+String.fromCharCode(Le),lineNumber:g,lineStart:y,start:le,end:p};case 33:case 61:return p+=2,v.charCodeAt(p)===61&&++p,{type:i.Punctuator,value:v.slice(le,p),lineNumber:g,lineStart:y,start:le,end:p}}}if(we=v.substr(p,4),we===">>>=")return p+=4,{type:i.Punctuator,value:we,lineNumber:g,lineStart:y,start:le,end:p};if(xt=we.substr(0,3),xt===">>>"||xt==="<<="||xt===">>=")return p+=3,{type:i.Punctuator,value:xt,lineNumber:g,lineStart:y,start:le,end:p};if(ct=xt.substr(0,2),Ye===ct[1]&&"+-<>&|".indexOf(Ye)>=0||ct==="=>")return p+=2,{type:i.Punctuator,value:ct,lineNumber:g,lineStart:y,start:le,end:p};if("<>=!+-*%&|^/".indexOf(Ye)>=0)return++p,{type:i.Punctuator,value:Ye,lineNumber:g,lineStart:y,start:le,end:p};Ce({},f.UnexpectedToken,"ILLEGAL")}function oe(le){for(var fe="";p<x&&C(v[p]);)fe+=v[p++];return fe.length===0&&Ce({},f.UnexpectedToken,"ILLEGAL"),B(v.charCodeAt(p))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt("0x"+fe,16),lineNumber:g,lineStart:y,start:le,end:p}}function ae(le){for(var fe="0"+v[p++];p<x&&D(v[p]);)fe+=v[p++];return(B(v.charCodeAt(p))||P(v.charCodeAt(p)))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseInt(fe,8),octal:!0,lineNumber:g,lineStart:y,start:le,end:p}}function ge(){var le,fe,Le;if(Le=v[p],A(P(Le.charCodeAt(0))||Le===".","Numeric literal must start with a decimal digit or a decimal point"),fe=p,le="",Le!=="."){if(le=v[p++],Le=v[p],le==="0"){if(Le==="x"||Le==="X")return++p,oe(fe);if(D(Le))return ae(fe);Le&&P(Le.charCodeAt(0))&&Ce({},f.UnexpectedToken,"ILLEGAL")}for(;P(v.charCodeAt(p));)le+=v[p++];Le=v[p]}if(Le==="."){for(le+=v[p++];P(v.charCodeAt(p));)le+=v[p++];Le=v[p]}if(Le==="e"||Le==="E")if(le+=v[p++],Le=v[p],(Le==="+"||Le==="-")&&(le+=v[p++]),P(v.charCodeAt(p)))for(;P(v.charCodeAt(p));)le+=v[p++];else Ce({},f.UnexpectedToken,"ILLEGAL");return B(v.charCodeAt(p))&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.NumericLiteral,value:parseFloat(le),lineNumber:g,lineStart:y,start:fe,end:p}}function X(){var le="",fe,Le,Ye,ct,xt,we,Oe=!1,ze,tt;for(ze=g,tt=y,fe=v[p],A(fe==="'"||fe==='"',"String literal must starts with a quote"),Le=p,++p;p<x;)if(Ye=v[p++],Ye===fe){fe="";break}else if(Ye==="\\")if(Ye=v[p++],!Ye||!k(Ye.charCodeAt(0)))switch(Ye){case"u":case"x":we=p,xt=Y(Ye),xt?le+=xt:(p=we,le+=Ye);break;case"n":le+=`
|
|
70
70
|
`;break;case"r":le+="\r";break;case"t":le+=" ";break;case"b":le+="\b";break;case"f":le+="\f";break;case"v":le+="\v";break;default:D(Ye)?(ct="01234567".indexOf(Ye),ct!==0&&(Oe=!0),p<x&&D(v[p])&&(Oe=!0,ct=ct*8+"01234567".indexOf(v[p++]),"0123".indexOf(Ye)>=0&&p<x&&D(v[p])&&(ct=ct*8+"01234567".indexOf(v[p++]))),le+=String.fromCharCode(ct)):le+=Ye;break}else++g,Ye==="\r"&&v[p]===`
|
|
71
71
|
`&&++p,y=p;else{if(k(Ye.charCodeAt(0)))break;le+=Ye}return fe!==""&&Ce({},f.UnexpectedToken,"ILLEGAL"),{type:i.StringLiteral,value:le,octal:Oe,startLineNumber:ze,startLineStart:tt,lineNumber:g,lineStart:y,start:Le,end:p}}function q(le,fe){var Le;try{Le=new RegExp(le,fe)}catch{Ce({},f.InvalidRegExp)}return Le}function re(){var le,fe,Le,Ye,ct;for(le=v[p],A(le==="/","Regular expression literal must start with a slash"),fe=v[p++],Le=!1,Ye=!1;p<x;)if(le=v[p++],fe+=le,le==="\\")le=v[p++],k(le.charCodeAt(0))&&Ce({},f.UnterminatedRegExp),fe+=le;else if(k(le.charCodeAt(0)))Ce({},f.UnterminatedRegExp);else if(Le)le==="]"&&(Le=!1);else if(le==="/"){Ye=!0;break}else le==="["&&(Le=!0);return Ye||Ce({},f.UnterminatedRegExp),ct=fe.substr(1,fe.length-2),{value:ct,literal:fe}}function he(){var le,fe,Le,Ye;for(fe="",Le="";p<x&&(le=v[p],!!N(le.charCodeAt(0)));)if(++p,le==="\\"&&p<x)if(le=v[p],le==="u"){if(++p,Ye=p,le=Y("u"),le)for(Le+=le,fe+="\\u";Ye<p;++Ye)fe+=v[Ye];else p=Ye,Le+="u",fe+="\\u";ke({},f.UnexpectedToken,"ILLEGAL")}else fe+="\\",ke({},f.UnexpectedToken,"ILLEGAL");else Le+=le,fe+=le;return{value:Le,literal:fe}}function de(){var le,fe,Le,Ye;return E=null,K(),le=p,fe=re(),Le=he(),Ye=q(fe.value,Le.value),S.tokenize?{type:i.RegularExpression,value:Ye,lineNumber:g,lineStart:y,start:le,end:p}:{literal:fe.literal+Le.literal,value:Ye,start:le,end:p}}function _e(){var le,fe,Le,Ye;return K(),le=p,fe={start:{line:g,column:p-y}},Le=de(),fe.end={line:g,column:p-y},S.tokenize||(S.tokens.length>0&&(Ye=S.tokens[S.tokens.length-1],Ye.range[0]===le&&Ye.type==="Punctuator"&&(Ye.value==="/"||Ye.value==="/=")&&S.tokens.pop()),S.tokens.push({type:"RegularExpression",value:Le.literal,range:[le,p],loc:fe})),Le}function pe(le){return le.type===i.Identifier||le.type===i.Keyword||le.type===i.BooleanLiteral||le.type===i.NullLiteral}function me(){var le,fe;if(le=S.tokens[S.tokens.length-1],!le)return _e();if(le.type==="Punctuator"){if(le.value==="]")return se();if(le.value===")")return fe=S.tokens[S.openParenToken-1],fe&&fe.type==="Keyword"&&(fe.value==="if"||fe.value==="while"||fe.value==="for"||fe.value==="with")?_e():se();if(le.value==="}"){if(S.tokens[S.openCurlyToken-3]&&S.tokens[S.openCurlyToken-3].type==="Keyword"){if(fe=S.tokens[S.openCurlyToken-4],!fe)return se()}else if(S.tokens[S.openCurlyToken-4]&&S.tokens[S.openCurlyToken-4].type==="Keyword"){if(fe=S.tokens[S.openCurlyToken-5],!fe)return _e()}else return se();return s.indexOf(fe.value)>=0?se():_e()}return _e()}return le.type==="Keyword"?_e():se()}function Se(){var le;return K(),p>=x?{type:i.EOF,lineNumber:g,lineStart:y,start:p,end:p}:(le=v.charCodeAt(p),B(le)?ce():le===40||le===41||le===59?se():le===39||le===34?X():le===46?P(v.charCodeAt(p+1))?ge():se():P(le)?ge():S.tokenize&&le===47?me():se())}function Ee(){var le,fe,Le;return K(),le={start:{line:g,column:p-y}},fe=Se(),le.end={line:g,column:p-y},fe.type!==i.EOF&&(Le=v.slice(fe.start,fe.end),S.tokens.push({type:u[fe.type],value:Le,range:[fe.start,fe.end],loc:le})),fe}function Te(){var le;return le=E,p=le.end,g=le.lineNumber,y=le.lineStart,E=typeof S.tokens<"u"?Ee():Se(),p=le.end,g=le.lineNumber,y=le.lineStart,le}function Z(){var le,fe,Le;le=p,fe=g,Le=y,E=typeof S.tokens<"u"?Ee():Se(),p=le,g=fe,y=Le}function W(le,fe){this.line=le,this.column=fe}function $(le,fe,Le,Ye){this.start=new W(le,fe),this.end=new W(Le,Ye)}d={name:"SyntaxTree",processComment:function(le){var fe,Le;if(!(le.type===l.Program&&le.body.length>0)){for(S.trailingComments.length>0?S.trailingComments[0].range[0]>=le.range[1]?(Le=S.trailingComments,S.trailingComments=[]):S.trailingComments.length=0:S.bottomRightStack.length>0&&S.bottomRightStack[S.bottomRightStack.length-1].trailingComments&&S.bottomRightStack[S.bottomRightStack.length-1].trailingComments[0].range[0]>=le.range[1]&&(Le=S.bottomRightStack[S.bottomRightStack.length-1].trailingComments,delete S.bottomRightStack[S.bottomRightStack.length-1].trailingComments);S.bottomRightStack.length>0&&S.bottomRightStack[S.bottomRightStack.length-1].range[0]>=le.range[0];)fe=S.bottomRightStack.pop();fe?fe.leadingComments&&fe.leadingComments[fe.leadingComments.length-1].range[1]<=le.range[0]&&(le.leadingComments=fe.leadingComments,delete fe.leadingComments):S.leadingComments.length>0&&S.leadingComments[S.leadingComments.length-1].range[1]<=le.range[0]&&(le.leadingComments=S.leadingComments,S.leadingComments=[]),Le&&(le.trailingComments=Le),S.bottomRightStack.push(le)}},markEnd:function(le,fe){return S.range&&(le.range=[fe.start,p]),S.loc&&(le.loc=new $(fe.startLineNumber===void 0?fe.lineNumber:fe.startLineNumber,fe.start-(fe.startLineStart===void 0?fe.lineStart:fe.startLineStart),g,p-y),this.postProcess(le)),S.attachComment&&this.processComment(le),le},postProcess:function(le){return S.source&&(le.loc.source=S.source),le},createArrayExpression:function(le){return{type:l.ArrayExpression,elements:le}},createAssignmentExpression:function(le,fe,Le){return{type:l.AssignmentExpression,operator:le,left:fe,right:Le}},createBinaryExpression:function(le,fe,Le){var Ye=le==="||"||le==="&&"?l.LogicalExpression:l.BinaryExpression;return{type:Ye,operator:le,left:fe,right:Le}},createBlockStatement:function(le){return{type:l.BlockStatement,body:le}},createBreakStatement:function(le){return{type:l.BreakStatement,label:le}},createCallExpression:function(le,fe){return{type:l.CallExpression,callee:le,arguments:fe}},createCatchClause:function(le,fe){return{type:l.CatchClause,param:le,body:fe}},createConditionalExpression:function(le,fe,Le){return{type:l.ConditionalExpression,test:le,consequent:fe,alternate:Le}},createContinueStatement:function(le){return{type:l.ContinueStatement,label:le}},createDebuggerStatement:function(){return{type:l.DebuggerStatement}},createDoWhileStatement:function(le,fe){return{type:l.DoWhileStatement,body:le,test:fe}},createEmptyStatement:function(){return{type:l.EmptyStatement}},createExpressionStatement:function(le){return{type:l.ExpressionStatement,expression:le}},createForStatement:function(le,fe,Le,Ye){return{type:l.ForStatement,init:le,test:fe,update:Le,body:Ye}},createForInStatement:function(le,fe,Le){return{type:l.ForInStatement,left:le,right:fe,body:Le,each:!1}},createFunctionDeclaration:function(le,fe,Le,Ye){return{type:l.FunctionDeclaration,id:le,params:fe,defaults:Le,body:Ye,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(le,fe,Le,Ye){return{type:l.FunctionExpression,id:le,params:fe,defaults:Le,body:Ye,rest:null,generator:!1,expression:!1}},createIdentifier:function(le){return{type:l.Identifier,name:le}},createIfStatement:function(le,fe,Le){return{type:l.IfStatement,test:le,consequent:fe,alternate:Le}},createLabeledStatement:function(le,fe){return{type:l.LabeledStatement,label:le,body:fe}},createLiteral:function(le){return{type:l.Literal,value:le.value,raw:v.slice(le.start,le.end)}},createMemberExpression:function(le,fe,Le){return{type:l.MemberExpression,computed:le==="[",object:fe,property:Le}},createNewExpression:function(le,fe){return{type:l.NewExpression,callee:le,arguments:fe}},createObjectExpression:function(le){return{type:l.ObjectExpression,properties:le}},createPostfixExpression:function(le,fe){return{type:l.UpdateExpression,operator:le,argument:fe,prefix:!1}},createProgram:function(le){return{type:l.Program,body:le}},createProperty:function(le,fe,Le){return{type:l.Property,key:fe,value:Le,kind:le}},createReturnStatement:function(le){return{type:l.ReturnStatement,argument:le}},createSequenceExpression:function(le){return{type:l.SequenceExpression,expressions:le}},createSwitchCase:function(le,fe){return{type:l.SwitchCase,test:le,consequent:fe}},createSwitchStatement:function(le,fe){return{type:l.SwitchStatement,discriminant:le,cases:fe}},createThisExpression:function(){return{type:l.ThisExpression}},createThrowStatement:function(le){return{type:l.ThrowStatement,argument:le}},createTryStatement:function(le,fe,Le,Ye){return{type:l.TryStatement,block:le,guardedHandlers:fe,handlers:Le,finalizer:Ye}},createUnaryExpression:function(le,fe){return le==="++"||le==="--"?{type:l.UpdateExpression,operator:le,argument:fe,prefix:!0}:{type:l.UnaryExpression,operator:le,argument:fe,prefix:!0}},createVariableDeclaration:function(le,fe){return{type:l.VariableDeclaration,declarations:le,kind:fe}},createVariableDeclarator:function(le,fe){return{type:l.VariableDeclarator,id:le,init:fe}},createWhileStatement:function(le,fe){return{type:l.WhileStatement,test:le,body:fe}},createWithStatement:function(le,fe){return{type:l.WithStatement,object:le,body:fe}}};function ue(){var le,fe,Le,Ye;return le=p,fe=g,Le=y,K(),Ye=g!==fe,p=le,g=fe,y=Le,Ye}function Ce(le,fe){var Le,Ye=Array.prototype.slice.call(arguments,2),ct=fe.replace(/%(\d)/g,function(xt,we){return A(we<Ye.length,"Message reference must be in range"),Ye[we]});throw typeof le.lineNumber=="number"?(Le=new Error("Line "+le.lineNumber+": "+ct),Le.index=le.start,Le.lineNumber=le.lineNumber,Le.column=le.start-y+1):(Le=new Error("Line "+g+": "+ct),Le.index=p,Le.lineNumber=g,Le.column=p-y+1),Le.description=ct,Le}function ke(){try{Ce.apply(null,arguments)}catch(le){if(S.errors)S.errors.push(le);else throw le}}function Ne(le){if(le.type===i.EOF&&Ce(le,f.UnexpectedEOS),le.type===i.NumericLiteral&&Ce(le,f.UnexpectedNumber),le.type===i.StringLiteral&&Ce(le,f.UnexpectedString),le.type===i.Identifier&&Ce(le,f.UnexpectedIdentifier),le.type===i.Keyword){if(M(le.value))Ce(le,f.UnexpectedReserved);else if(m&&j(le.value)){ke(le,f.StrictReservedWord);return}Ce(le,f.UnexpectedToken,le.value)}Ce(le,f.UnexpectedToken,le.value)}function Me(le){var fe=Te();(fe.type!==i.Punctuator||fe.value!==le)&&Ne(fe)}function Ue(le){var fe=Te();(fe.type!==i.Keyword||fe.value!==le)&&Ne(fe)}function Ve(le){return E.type===i.Punctuator&&E.value===le}function We(le){return E.type===i.Keyword&&E.value===le}function rt(){var le;return E.type!==i.Punctuator?!1:(le=E.value,le==="="||le==="*="||le==="/="||le==="%="||le==="+="||le==="-="||le==="<<="||le===">>="||le===">>>="||le==="&="||le==="^="||le==="|=")}function At(){var le;if(v.charCodeAt(p)===59||Ve(";")){Te();return}le=g,K(),g===le&&E.type!==i.EOF&&!Ve("}")&&Ne(E)}function bt(le){return le.type===l.Identifier||le.type===l.MemberExpression}function kt(){var le=[],fe;for(fe=E,Me("[");!Ve("]");)Ve(",")?(Te(),le.push(null)):(le.push(Fr()),Ve("]")||Me(","));return Te(),b.markEnd(b.createArrayExpression(le),fe)}function Et(le,fe){var Le,Ye,ct;return Le=m,ct=E,Ye=Gt(),fe&&m&&F(le[0].name)&&ke(fe,f.StrictParamName),m=Le,b.markEnd(b.createFunctionExpression(null,le,[],Ye),ct)}function Dt(){var le,fe;return fe=E,le=Te(),le.type===i.StringLiteral||le.type===i.NumericLiteral?(m&&le.octal&&ke(le,f.StrictOctalLiteral),b.markEnd(b.createLiteral(le),fe)):b.markEnd(b.createIdentifier(le.value),fe)}function pt(){var le,fe,Le,Ye,ct,xt;if(le=E,xt=E,le.type===i.Identifier)return Le=Dt(),le.value==="get"&&!Ve(":")?(fe=Dt(),Me("("),Me(")"),Ye=Et([]),b.markEnd(b.createProperty("get",fe,Ye),xt)):le.value==="set"&&!Ve(":")?(fe=Dt(),Me("("),le=E,le.type!==i.Identifier?(Me(")"),ke(le,f.UnexpectedToken,le.value),Ye=Et([])):(ct=[zi()],Me(")"),Ye=Et(ct,le)),b.markEnd(b.createProperty("set",fe,Ye),xt)):(Me(":"),Ye=Fr(),b.markEnd(b.createProperty("init",Le,Ye),xt));if(le.type===i.EOF||le.type===i.Punctuator)Ne(le);else return fe=Dt(),Me(":"),Ye=Fr(),b.markEnd(b.createProperty("init",fe,Ye),xt)}function En(){var le=[],fe,Le,Ye,ct,xt={},we=String,Oe;for(Oe=E,Me("{");!Ve("}");)fe=pt(),fe.key.type===l.Identifier?Le=fe.key.name:Le=we(fe.key.value),ct=fe.kind==="init"?c.Data:fe.kind==="get"?c.Get:c.Set,Ye="$"+Le,Object.prototype.hasOwnProperty.call(xt,Ye)?(xt[Ye]===c.Data?m&&ct===c.Data?ke({},f.StrictDuplicateProperty):ct!==c.Data&&ke({},f.AccessorDataProperty):ct===c.Data?ke({},f.AccessorDataProperty):xt[Ye]&ct&&ke({},f.AccessorGetSet),xt[Ye]|=ct):xt[Ye]=ct,le.push(fe),Ve("}")||Me(",");return Me("}"),b.markEnd(b.createObjectExpression(le),Oe)}function it(){var le;return Me("("),le=Tr(),Me(")"),le}function ut(){var le,fe,Le,Ye;if(Ve("("))return it();if(Ve("["))return kt();if(Ve("{"))return En();if(le=E.type,Ye=E,le===i.Identifier)Le=b.createIdentifier(Te().value);else if(le===i.StringLiteral||le===i.NumericLiteral)m&&E.octal&&ke(E,f.StrictOctalLiteral),Le=b.createLiteral(Te());else if(le===i.Keyword){if(We("function"))return Hn();We("this")?(Te(),Le=b.createThisExpression()):Ne(Te())}else le===i.BooleanLiteral?(fe=Te(),fe.value=fe.value==="true",Le=b.createLiteral(fe)):le===i.NullLiteral?(fe=Te(),fe.value=null,Le=b.createLiteral(fe)):Ve("/")||Ve("/=")?(typeof S.tokens<"u"?Le=b.createLiteral(_e()):Le=b.createLiteral(de()),Z()):Ne(Te());return b.markEnd(Le,Ye)}function ne(){var le=[];if(Me("("),!Ve(")"))for(;p<x&&(le.push(Fr()),!Ve(")"));)Me(",");return Me(")"),le}function Ie(){var le,fe;return fe=E,le=Te(),pe(le)||Ne(le),b.markEnd(b.createIdentifier(le.value),fe)}function Pe(){return Me("."),Ie()}function Fe(){var le;return Me("["),le=Tr(),Me("]"),le}function He(){var le,fe,Le;return Le=E,Ue("new"),le=wt(),fe=Ve("(")?ne():[],b.markEnd(b.createNewExpression(le,fe),Le)}function ft(){var le,fe,Le,Ye,ct;for(ct=E,le=w.allowIn,w.allowIn=!0,fe=We("new")?He():ut(),w.allowIn=le;;){if(Ve("."))Ye=Pe(),fe=b.createMemberExpression(".",fe,Ye);else if(Ve("("))Le=ne(),fe=b.createCallExpression(fe,Le);else if(Ve("["))Ye=Fe(),fe=b.createMemberExpression("[",fe,Ye);else break;b.markEnd(fe,ct)}return fe}function wt(){var le,fe,Le,Ye;for(Ye=E,le=w.allowIn,fe=We("new")?He():ut(),w.allowIn=le;Ve(".")||Ve("[");)Ve("[")?(Le=Fe(),fe=b.createMemberExpression("[",fe,Le)):(Le=Pe(),fe=b.createMemberExpression(".",fe,Le)),b.markEnd(fe,Ye);return fe}function Bt(){var le,fe,Le=E;return le=ft(),E.type===i.Punctuator&&(Ve("++")||Ve("--"))&&!ue()&&(m&&le.type===l.Identifier&&F(le.name)&&ke({},f.StrictLHSPostfix),bt(le)||ke({},f.InvalidLHSInAssignment),fe=Te(),le=b.markEnd(b.createPostfixExpression(fe.value,le),Le)),le}function Xt(){var le,fe,Le;return E.type!==i.Punctuator&&E.type!==i.Keyword?fe=Bt():Ve("++")||Ve("--")?(Le=E,le=Te(),fe=Xt(),m&&fe.type===l.Identifier&&F(fe.name)&&ke({},f.StrictLHSPrefix),bt(fe)||ke({},f.InvalidLHSInAssignment),fe=b.createUnaryExpression(le.value,fe),fe=b.markEnd(fe,Le)):Ve("+")||Ve("-")||Ve("~")||Ve("!")?(Le=E,le=Te(),fe=Xt(),fe=b.createUnaryExpression(le.value,fe),fe=b.markEnd(fe,Le)):We("delete")||We("void")||We("typeof")?(Le=E,le=Te(),fe=Xt(),fe=b.createUnaryExpression(le.value,fe),fe=b.markEnd(fe,Le),m&&fe.operator==="delete"&&fe.argument.type===l.Identifier&&ke({},f.StrictDelete)):fe=Bt(),fe}function wn(le,fe){var Le=0;if(le.type!==i.Punctuator&&le.type!==i.Keyword)return 0;switch(le.value){case"||":Le=1;break;case"&&":Le=2;break;case"|":Le=3;break;case"^":Le=4;break;case"&":Le=5;break;case"==":case"!=":case"===":case"!==":Le=6;break;case"<":case">":case"<=":case">=":case"instanceof":Le=7;break;case"in":Le=fe?7:0;break;case"<<":case">>":case">>>":Le=8;break;case"+":case"-":Le=9;break;case"*":case"/":case"%":Le=11;break}return Le}function vr(){var le,fe,Le,Ye,ct,xt,we,Oe,ze,tt;if(le=E,ze=Xt(),Ye=E,ct=wn(Ye,w.allowIn),ct===0)return ze;for(Ye.prec=ct,Te(),fe=[le,E],we=Xt(),xt=[ze,Ye,we];(ct=wn(E,w.allowIn))>0;){for(;xt.length>2&&ct<=xt[xt.length-2].prec;)we=xt.pop(),Oe=xt.pop().value,ze=xt.pop(),Le=b.createBinaryExpression(Oe,ze,we),fe.pop(),le=fe[fe.length-1],b.markEnd(Le,le),xt.push(Le);Ye=Te(),Ye.prec=ct,xt.push(Ye),fe.push(E),Le=Xt(),xt.push(Le)}for(tt=xt.length-1,Le=xt[tt],fe.pop();tt>1;)Le=b.createBinaryExpression(xt[tt-1].value,xt[tt-2],Le),tt-=2,le=fe.pop(),b.markEnd(Le,le);return Le}function $r(){var le,fe,Le,Ye,ct;return ct=E,le=vr(),Ve("?")&&(Te(),fe=w.allowIn,w.allowIn=!0,Le=Fr(),w.allowIn=fe,Me(":"),Ye=Fr(),le=b.createConditionalExpression(le,Le,Ye),b.markEnd(le,ct)),le}function Fr(){var le,fe,Le,Ye,ct;return le=E,ct=E,Ye=fe=$r(),rt()&&(bt(fe)||ke({},f.InvalidLHSInAssignment),m&&fe.type===l.Identifier&&F(fe.name)&&ke(le,f.StrictLHSAssignment),le=Te(),Le=Fr(),Ye=b.markEnd(b.createAssignmentExpression(le.value,fe,Le),ct)),Ye}function Tr(){var le,fe=E;if(le=Fr(),Ve(",")){for(le=b.createSequenceExpression([le]);p<x&&Ve(",");)Te(),le.expressions.push(Fr());b.markEnd(le,fe)}return le}function sa(){for(var le=[],fe;p<x&&!(Ve("}")||(fe=gr(),typeof fe>"u"));)le.push(fe);return le}function Dr(){var le,fe;return fe=E,Me("{"),le=sa(),Me("}"),b.markEnd(b.createBlockStatement(le),fe)}function zi(){var le,fe;return fe=E,le=Te(),le.type!==i.Identifier&&Ne(le),b.markEnd(b.createIdentifier(le.value),fe)}function za(le){var fe=null,Le,Ye;return Ye=E,Le=zi(),m&&F(Le.name)&&ke({},f.StrictVarName),le==="const"?(Me("="),fe=Fr()):Ve("=")&&(Te(),fe=Fr()),b.markEnd(b.createVariableDeclarator(Le,fe),Ye)}function ei(le){var fe=[];do{if(fe.push(za(le)),!Ve(","))break;Te()}while(p<x);return fe}function ao(){var le;return Ue("var"),le=ei(),At(),b.createVariableDeclaration(le,"var")}function Ro(le){var fe,Le;return Le=E,Ue(le),fe=ei(le),At(),b.markEnd(b.createVariableDeclaration(fe,le),Le)}function Ua(){return Me(";"),b.createEmptyStatement()}function ks(){var le=Tr();return At(),b.createExpressionStatement(le)}function ht(){var le,fe,Le;return Ue("if"),Me("("),le=Tr(),Me(")"),fe=dn(),We("else")?(Te(),Le=dn()):Le=null,b.createIfStatement(le,fe,Le)}function T(){var le,fe,Le;return Ue("do"),Le=w.inIteration,w.inIteration=!0,le=dn(),w.inIteration=Le,Ue("while"),Me("("),fe=Tr(),Me(")"),Ve(";")&&Te(),b.createDoWhileStatement(le,fe)}function I(){var le,fe,Le;return Ue("while"),Me("("),le=Tr(),Me(")"),Le=w.inIteration,w.inIteration=!0,fe=dn(),w.inIteration=Le,b.createWhileStatement(le,fe)}function U(){var le,fe,Le;return Le=E,le=Te(),fe=ei(),b.markEnd(b.createVariableDeclaration(fe,le.value),Le)}function H(){var le,fe,Le,Ye,ct,xt,we;return le=fe=Le=null,Ue("for"),Me("("),Ve(";")?Te():(We("var")||We("let")?(w.allowIn=!1,le=U(),w.allowIn=!0,le.declarations.length===1&&We("in")&&(Te(),Ye=le,ct=Tr(),le=null)):(w.allowIn=!1,le=Tr(),w.allowIn=!0,We("in")&&(bt(le)||ke({},f.InvalidLHSInForIn),Te(),Ye=le,ct=Tr(),le=null)),typeof Ye>"u"&&Me(";")),typeof Ye>"u"&&(Ve(";")||(fe=Tr()),Me(";"),Ve(")")||(Le=Tr())),Me(")"),we=w.inIteration,w.inIteration=!0,xt=dn(),w.inIteration=we,typeof Ye>"u"?b.createForStatement(le,fe,Le,xt):b.createForInStatement(Ye,ct,xt)}function ee(){var le=null,fe;return Ue("continue"),v.charCodeAt(p)===59?(Te(),w.inIteration||Ce({},f.IllegalContinue),b.createContinueStatement(null)):ue()?(w.inIteration||Ce({},f.IllegalContinue),b.createContinueStatement(null)):(E.type===i.Identifier&&(le=zi(),fe="$"+le.name,Object.prototype.hasOwnProperty.call(w.labelSet,fe)||Ce({},f.UnknownLabel,le.name)),At(),le===null&&!w.inIteration&&Ce({},f.IllegalContinue),b.createContinueStatement(le))}function ve(){var le=null,fe;return Ue("break"),v.charCodeAt(p)===59?(Te(),w.inIteration||w.inSwitch||Ce({},f.IllegalBreak),b.createBreakStatement(null)):ue()?(w.inIteration||w.inSwitch||Ce({},f.IllegalBreak),b.createBreakStatement(null)):(E.type===i.Identifier&&(le=zi(),fe="$"+le.name,Object.prototype.hasOwnProperty.call(w.labelSet,fe)||Ce({},f.UnknownLabel,le.name)),At(),le===null&&!(w.inIteration||w.inSwitch)&&Ce({},f.IllegalBreak),b.createBreakStatement(le))}function De(){var le=null;return Ue("return"),w.inFunctionBody||ke({},f.IllegalReturn),v.charCodeAt(p)===32&&B(v.charCodeAt(p+1))?(le=Tr(),At(),b.createReturnStatement(le)):ue()?b.createReturnStatement(null):(Ve(";")||!Ve("}")&&E.type!==i.EOF&&(le=Tr()),At(),b.createReturnStatement(le))}function je(){var le,fe;return m&&(K(),ke({},f.StrictModeWith)),Ue("with"),Me("("),le=Tr(),Me(")"),fe=dn(),b.createWithStatement(le,fe)}function Qe(){var le,fe=[],Le,Ye;for(Ye=E,We("default")?(Te(),le=null):(Ue("case"),le=Tr()),Me(":");p<x&&!(Ve("}")||We("default")||We("case"));)Le=dn(),fe.push(Le);return b.markEnd(b.createSwitchCase(le,fe),Ye)}function nt(){var le,fe,Le,Ye,ct;if(Ue("switch"),Me("("),le=Tr(),Me(")"),Me("{"),fe=[],Ve("}"))return Te(),b.createSwitchStatement(le,fe);for(Ye=w.inSwitch,w.inSwitch=!0,ct=!1;p<x&&!Ve("}");)Le=Qe(),Le.test===null&&(ct&&Ce({},f.MultipleDefaultsInSwitch),ct=!0),fe.push(Le);return w.inSwitch=Ye,Me("}"),b.createSwitchStatement(le,fe)}function gt(){var le;return Ue("throw"),ue()&&Ce({},f.NewlineAfterThrow),le=Tr(),At(),b.createThrowStatement(le)}function dt(){var le,fe,Le;return Le=E,Ue("catch"),Me("("),Ve(")")&&Ne(E),le=zi(),m&&F(le.name)&&ke({},f.StrictCatchVariable),Me(")"),fe=Dr(),b.markEnd(b.createCatchClause(le,fe),Le)}function Tt(){var le,fe=[],Le=null;return Ue("try"),le=Dr(),We("catch")&&fe.push(dt()),We("finally")&&(Te(),Le=Dr()),fe.length===0&&!Le&&Ce({},f.NoCatchOrFinally),b.createTryStatement(le,[],fe,Le)}function nn(){return Ue("debugger"),At(),b.createDebuggerStatement()}function dn(){var le=E.type,fe,Le,Ye,ct;if(le===i.EOF&&Ne(E),le===i.Punctuator&&E.value==="{")return Dr();if(ct=E,le===i.Punctuator)switch(E.value){case";":return b.markEnd(Ua(),ct);case"(":return b.markEnd(ks(),ct)}if(le===i.Keyword)switch(E.value){case"break":return b.markEnd(ve(),ct);case"continue":return b.markEnd(ee(),ct);case"debugger":return b.markEnd(nn(),ct);case"do":return b.markEnd(T(),ct);case"for":return b.markEnd(H(),ct);case"function":return b.markEnd(yn(),ct);case"if":return b.markEnd(ht(),ct);case"return":return b.markEnd(De(),ct);case"switch":return b.markEnd(nt(),ct);case"throw":return b.markEnd(gt(),ct);case"try":return b.markEnd(Tt(),ct);case"var":return b.markEnd(ao(),ct);case"while":return b.markEnd(I(),ct);case"with":return b.markEnd(je(),ct)}return fe=Tr(),fe.type===l.Identifier&&Ve(":")?(Te(),Ye="$"+fe.name,Object.prototype.hasOwnProperty.call(w.labelSet,Ye)&&Ce({},f.Redeclaration,"Label",fe.name),w.labelSet[Ye]=!0,Le=dn(),delete w.labelSet[Ye],b.markEnd(b.createLabeledStatement(fe,Le),ct)):(At(),b.markEnd(b.createExpressionStatement(fe),ct))}function Gt(){var le,fe=[],Le,Ye,ct,xt,we,Oe,ze,tt;for(tt=E,Me("{");p<x&&!(E.type!==i.StringLiteral||(Le=E,le=gr(),fe.push(le),le.expression.type!==l.Literal));)Ye=v.slice(Le.start+1,Le.end-1),Ye==="use strict"?(m=!0,ct&&ke(ct,f.StrictOctalLiteral)):!ct&&Le.octal&&(ct=Le);for(xt=w.labelSet,we=w.inIteration,Oe=w.inSwitch,ze=w.inFunctionBody,w.labelSet={},w.inIteration=!1,w.inSwitch=!1,w.inFunctionBody=!0;p<x&&!(Ve("}")||(le=gr(),typeof le>"u"));)fe.push(le);return Me("}"),w.labelSet=xt,w.inIteration=we,w.inSwitch=Oe,w.inFunctionBody=ze,b.markEnd(b.createBlockStatement(fe),tt)}function Wt(le){var fe,Le=[],Ye,ct,xt,we,Oe;if(Me("("),!Ve(")"))for(xt={};p<x&&(Ye=E,fe=zi(),we="$"+Ye.value,m?(F(Ye.value)&&(ct=Ye,Oe=f.StrictParamName),Object.prototype.hasOwnProperty.call(xt,we)&&(ct=Ye,Oe=f.StrictParamDupe)):le||(F(Ye.value)?(le=Ye,Oe=f.StrictParamName):j(Ye.value)?(le=Ye,Oe=f.StrictReservedWord):Object.prototype.hasOwnProperty.call(xt,we)&&(le=Ye,Oe=f.StrictParamDupe)),Le.push(fe),xt[we]=!0,!Ve(")"));)Me(",");return Me(")"),{params:Le,stricted:ct,firstRestricted:le,message:Oe}}function yn(){var le,fe=[],Le,Ye,ct,xt,we,Oe,ze,tt;return tt=E,Ue("function"),Ye=E,le=zi(),m?F(Ye.value)&&ke(Ye,f.StrictFunctionName):F(Ye.value)?(we=Ye,Oe=f.StrictFunctionName):j(Ye.value)&&(we=Ye,Oe=f.StrictReservedWord),xt=Wt(we),fe=xt.params,ct=xt.stricted,we=xt.firstRestricted,xt.message&&(Oe=xt.message),ze=m,Le=Gt(),m&&we&&Ce(we,Oe),m&&ct&&ke(ct,Oe),m=ze,b.markEnd(b.createFunctionDeclaration(le,fe,[],Le),tt)}function Hn(){var le,fe=null,Le,Ye,ct,xt,we=[],Oe,ze,tt;return tt=E,Ue("function"),Ve("(")||(le=E,fe=zi(),m?F(le.value)&&ke(le,f.StrictFunctionName):F(le.value)?(Ye=le,ct=f.StrictFunctionName):j(le.value)&&(Ye=le,ct=f.StrictReservedWord)),xt=Wt(Ye),we=xt.params,Le=xt.stricted,Ye=xt.firstRestricted,xt.message&&(ct=xt.message),ze=m,Oe=Gt(),m&&Ye&&Ce(Ye,ct),m&&Le&&ke(Le,ct),m=ze,b.markEnd(b.createFunctionExpression(fe,we,[],Oe),tt)}function gr(){if(E.type===i.Keyword)switch(E.value){case"const":case"let":return Ro(E.value);case"function":return yn();default:return dn()}if(E.type!==i.EOF)return dn()}function mr(){for(var le,fe=[],Le,Ye,ct;p<x&&(Le=E,!(Le.type!==i.StringLiteral||(le=gr(),fe.push(le),le.expression.type!==l.Literal)));)Ye=v.slice(Le.start+1,Le.end-1),Ye==="use strict"?(m=!0,ct&&ke(ct,f.StrictOctalLiteral)):!ct&&Le.octal&&(ct=Le);for(;p<x&&(le=gr(),!(typeof le>"u"));)fe.push(le);return fe}function ti(){var le,fe;return K(),Z(),fe=E,m=!1,le=mr(),b.markEnd(b.createProgram(le),fe)}function ai(){var le,fe,Le,Ye=[];for(le=0;le<S.tokens.length;++le)fe=S.tokens[le],Le={type:fe.type,value:fe.value},S.range&&(Le.range=fe.range),S.loc&&(Le.loc=fe.loc),Ye.push(Le);S.tokens=Ye}function la(le,fe){var Le,Ye,ct;Le=String,typeof le!="string"&&!(le instanceof String)&&(le=Le(le)),b=d,v=le,p=0,g=v.length>0?1:0,y=0,x=v.length,E=null,w={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},S={},fe=fe||{},fe.tokens=!0,S.tokens=[],S.tokenize=!0,S.openParenToken=-1,S.openCurlyToken=-1,S.range=typeof fe.range=="boolean"&&fe.range,S.loc=typeof fe.loc=="boolean"&&fe.loc,typeof fe.comment=="boolean"&&fe.comment&&(S.comments=[]),typeof fe.tolerant=="boolean"&&fe.tolerant&&(S.errors=[]);try{if(Z(),E.type===i.EOF)return S.tokens;for(Ye=Te();E.type!==i.EOF;)try{Ye=Te()}catch(xt){if(Ye=E,S.errors){S.errors.push(xt);break}else throw xt}ai(),ct=S.tokens,typeof S.comments<"u"&&(ct.comments=S.comments),typeof S.errors<"u"&&(ct.errors=S.errors)}catch(xt){throw xt}finally{S={}}return ct}function oi(le,fe){var Le,Ye;Ye=String,typeof le!="string"&&!(le instanceof String)&&(le=Ye(le)),b=d,v=le,p=0,g=v.length>0?1:0,y=0,x=v.length,E=null,w={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},S={},typeof fe<"u"&&(S.range=typeof fe.range=="boolean"&&fe.range,S.loc=typeof fe.loc=="boolean"&&fe.loc,S.attachComment=typeof fe.attachComment=="boolean"&&fe.attachComment,S.loc&&fe.source!==null&&fe.source!==void 0&&(S.source=Ye(fe.source)),typeof fe.tokens=="boolean"&&fe.tokens&&(S.tokens=[]),typeof fe.comment=="boolean"&&fe.comment&&(S.comments=[]),typeof fe.tolerant=="boolean"&&fe.tolerant&&(S.errors=[]),S.attachComment&&(S.range=!0,S.comments=[],S.bottomRightStack=[],S.trailingComments=[],S.leadingComments=[]));try{Le=ti(),typeof S.comments<"u"&&(Le.comments=S.comments),typeof S.tokens<"u"&&(ai(),Le.tokens=S.tokens),typeof S.errors<"u"&&(Le.errors=S.errors)}catch(ct){throw ct}finally{S={}}return Le}o.version="1.2.2",o.tokenize=la,o.parse=oi,o.Syntax=function(){var le,fe={};typeof Object.create=="function"&&(fe=Object.create(null));for(le in l)l.hasOwnProperty(le)&&(fe[le]=l[le]);return typeof Object.freeze=="function"&&Object.freeze(fe),fe}()})},{}],1:[function(n,r,a){(function(o){var i=function(){var u={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(h,d,v,m,p,g,y){m.ast||(m.ast=s,s.initialize());var x=g.length-1;switch(p){case 1:return m.ast.set({expression:{type:"root",value:g[x]}}),m.ast.unshift(),m.ast.yield();case 2:return m.ast.set({expression:{type:"root",value:g[x-1]}}),m.ast.unshift(),m.ast.yield();case 3:return m.ast.unshift(),m.ast.yield();case 4:return m.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),m.ast.unshift(),m.ast.yield();case 5:break;case 6:break;case 7:m.ast.set({operation:"member"}),m.ast.push();break;case 8:m.ast.set({operation:"subscript"}),m.ast.push();break;case 9:m.ast.set({scope:"child"});break;case 10:m.ast.set({scope:"descendant"});break;case 11:break;case 12:m.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:m.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:m.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:m.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:m.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:m.ast.set({scope:"child"});break;case 20:m.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?m.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},m.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},m.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},m.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},m.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},m.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},m.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(h,d){if(d.recoverable)this.trace(h);else throw new Error(h)},parse:function(h){var d=this,v=[0],m=[null],p=[],g=this.table,y="",x=0,b=0,E=2,w=1,S=p.slice.call(arguments,1);this.lexer.setInput(h),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var A=this.lexer.yylloc;p.push(A);var P=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function C(){var L;return L=d.lexer.lex()||w,typeof L!="number"&&(L=d.symbols_[L]||L),L}for(var D,O,k,B,N={},M,j,F,R;;){if(O=v[v.length-1],this.defaultActions[O]?k=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=C()),k=g[O]&&g[O][D]),typeof k>"u"||!k.length||!k[0]){var G="";R=[];for(M in g[O])this.terminals_[M]&&M>E&&R.push("'"+this.terminals_[M]+"'");this.lexer.showPosition?G="Parse error on line "+(x+1)+`:
|
|
72
72
|
`+this.lexer.showPosition()+`
|
|
@@ -87,7 +87,7 @@ Expecting `+R.join(", ")+", got '"+(this.terminals_[D]||D)+"'":G="Parse error on
|
|
|
87
87
|
`)+" "+J[1]:J[0]+Y+" "+K.join(", ")+" "+J[1]}function b(K){return Array.isArray(K)}a.isArray=b;function E(K){return typeof K=="boolean"}a.isBoolean=E;function w(K){return K===null}a.isNull=w;function S(K){return K==null}a.isNullOrUndefined=S;function A(K){return typeof K=="number"}a.isNumber=A;function P(K){return typeof K=="string"}a.isString=P;function C(K){return typeof K=="symbol"}a.isSymbol=C;function D(K){return K===void 0}a.isUndefined=D;function O(K){return k(K)&&F(K)==="[object RegExp]"}a.isRegExp=O;function k(K){return typeof K=="object"&&K!==null}a.isObject=k;function B(K){return k(K)&&F(K)==="[object Date]"}a.isDate=B;function N(K){return k(K)&&(F(K)==="[object Error]"||K instanceof Error)}a.isError=N;function M(K){return typeof K=="function"}a.isFunction=M;function j(K){return K===null||typeof K=="boolean"||typeof K=="number"||typeof K=="string"||typeof K=="symbol"||typeof K>"u"}a.isPrimitive=j,a.isBuffer=n("./support/isBuffer");function F(K){return Object.prototype.toString.call(K)}function R(K){return K<10?"0"+K.toString(10):K.toString(10)}var G=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var K=new Date,Y=[R(K.getHours()),R(K.getMinutes()),R(K.getSeconds())].join(":");return[K.getDate(),G[K.getMonth()],Y].join(" ")}a.log=function(){console.log("%s - %s",L(),a.format.apply(a,arguments))},a.inherits=n("inherits"),a._extend=function(K,Y){if(!Y||!k(Y))return K;for(var J=Object.keys(Y),Q=J.length;Q--;)K[J[Q]]=Y[J[Q]];return K};function V(K,Y){return Object.prototype.hasOwnProperty.call(K,Y)}}).call(this,n("_process"),typeof Xn<"u"?Xn:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(n,r,a){},{}],13:[function(n,r,a){(function(o){function i(c,f){for(var h=0,d=c.length-1;d>=0;d--){var v=c[d];v==="."?c.splice(d,1):v===".."?(c.splice(d,1),h++):h&&(c.splice(d,1),h--)}if(f)for(;h--;h)c.unshift("..");return c}a.resolve=function(){for(var c="",f=!1,h=arguments.length-1;h>=-1&&!f;h--){var d=h>=0?arguments[h]:o.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;c=d+"/"+c,f=d.charAt(0)==="/"}return c=i(s(c.split("/"),function(v){return!!v}),!f).join("/"),(f?"/":"")+c||"."},a.normalize=function(c){var f=a.isAbsolute(c),h=l(c,-1)==="/";return c=i(s(c.split("/"),function(d){return!!d}),!f).join("/"),!c&&!f&&(c="."),c&&h&&(c+="/"),(f?"/":"")+c},a.isAbsolute=function(c){return c.charAt(0)==="/"},a.join=function(){var c=Array.prototype.slice.call(arguments,0);return a.normalize(s(c,function(f,h){if(typeof f!="string")throw new TypeError("Arguments to path.join must be strings");return f}).join("/"))},a.relative=function(c,f){c=a.resolve(c).substr(1),f=a.resolve(f).substr(1);function h(x){for(var b=0;b<x.length&&x[b]==="";b++);for(var E=x.length-1;E>=0&&x[E]==="";E--);return b>E?[]:x.slice(b,E-b+1)}for(var d=h(c.split("/")),v=h(f.split("/")),m=Math.min(d.length,v.length),p=m,g=0;g<m;g++)if(d[g]!==v[g]){p=g;break}for(var y=[],g=p;g<d.length;g++)y.push("..");return y=y.concat(v.slice(p)),y.join("/")},a.sep="/",a.delimiter=":",a.dirname=function(c){if(typeof c!="string"&&(c=c+""),c.length===0)return".";for(var f=c.charCodeAt(0),h=f===47,d=-1,v=!0,m=c.length-1;m>=1;--m)if(f=c.charCodeAt(m),f===47){if(!v){d=m;break}}else v=!1;return d===-1?h?"/":".":h&&d===1?"/":c.slice(0,d)};function u(c){typeof c!="string"&&(c=c+"");var f=0,h=-1,d=!0,v;for(v=c.length-1;v>=0;--v)if(c.charCodeAt(v)===47){if(!d){f=v+1;break}}else h===-1&&(d=!1,h=v+1);return h===-1?"":c.slice(f,h)}a.basename=function(c,f){var h=u(c);return f&&h.substr(-1*f.length)===f&&(h=h.substr(0,h.length-f.length)),h},a.extname=function(c){typeof c!="string"&&(c=c+"");for(var f=-1,h=0,d=-1,v=!0,m=0,p=c.length-1;p>=0;--p){var g=c.charCodeAt(p);if(g===47){if(!v){h=p+1;break}continue}d===-1&&(v=!1,d=p+1),g===46?f===-1?f=p:m!==1&&(m=1):f!==-1&&(m=-1)}return f===-1||d===-1||m===0||m===1&&f===d-1&&f===h+1?"":c.slice(f,d)};function s(c,f){if(c.filter)return c.filter(f);for(var h=[],d=0;d<c.length;d++)f(c[d],d,c)&&h.push(c[d]);return h}var l="ab".substr(-1)==="b"?function(c,f,h){return c.substr(f,h)}:function(c,f,h){return f<0&&(f=c.length+f),c.substr(f,h)}}).call(this,n("_process"))},{_process:14}],14:[function(n,r,a){var o=r.exports={},i,u;function s(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?i=setTimeout:i=s}catch{i=s}try{typeof clearTimeout=="function"?u=clearTimeout:u=l}catch{u=l}})();function c(b){if(i===setTimeout)return setTimeout(b,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(b,0);try{return i(b,0)}catch{try{return i.call(null,b,0)}catch{return i.call(this,b,0)}}}function f(b){if(u===clearTimeout)return clearTimeout(b);if((u===l||!u)&&clearTimeout)return u=clearTimeout,clearTimeout(b);try{return u(b)}catch{try{return u.call(null,b)}catch{return u.call(this,b)}}}var h=[],d=!1,v,m=-1;function p(){!d||!v||(d=!1,v.length?h=v.concat(h):m=-1,h.length&&g())}function g(){if(!d){var b=c(p);d=!0;for(var E=h.length;E;){for(v=h,h=[];++m<E;)v&&v[m].run();m=-1,E=h.length}v=null,d=!1,f(b)}}o.nextTick=function(b){var E=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)E[w-1]=arguments[w];h.push(new y(b,E)),h.length===1&&!d&&c(g)};function y(b,E){this.fun=b,this.array=E}y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={};function x(){}o.on=x,o.addListener=x,o.once=x,o.off=x,o.removeListener=x,o.removeAllListeners=x,o.emit=x,o.prependListener=x,o.prependOnceListener=x,o.listeners=function(b){return[]},o.binding=function(b){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(b){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],15:[function(n,r,a){var o=n("escodegen").generate;r.exports=function(i,u){u||(u={});var s={},l=function c(f,h){if(f.type==="Literal")return f.value;if(f.type==="UnaryExpression"){var d=c(f.argument);return f.operator==="+"?+d:f.operator==="-"?-d:f.operator==="~"?~d:f.operator==="!"?!d:s}else if(f.type==="ArrayExpression"){for(var v=[],m=0,p=f.elements.length;m<p;m++){var g=c(f.elements[m]);if(g===s)return s;v.push(g)}return v}else if(f.type==="ObjectExpression"){for(var y={},m=0;m<f.properties.length;m++){var x=f.properties[m],b=x.value===null?x.value:c(x.value);if(b===s)return s;y[x.key.value||x.key.name]=b}return y}else if(f.type==="BinaryExpression"||f.type==="LogicalExpression"){var p=c(f.left);if(p===s)return s;var E=c(f.right);if(E===s)return s;var w=f.operator;return w==="=="?p==E:w==="==="?p===E:w==="!="?p!=E:w==="!=="?p!==E:w==="+"?p+E:w==="-"?p-E:w==="*"?p*E:w==="/"?p/E:w==="%"?p%E:w==="<"?p<E:w==="<="?p<=E:w===">"?p>E:w===">="?p>=E:w==="|"?p|E:w==="&"?p&E:w==="^"?p^E:w==="&&"?p&&E:w==="||"?p||E:s}else{if(f.type==="Identifier")return{}.hasOwnProperty.call(u,f.name)?u[f.name]:s;if(f.type==="ThisExpression")return{}.hasOwnProperty.call(u,"this")?u.this:s;if(f.type==="CallExpression"){var S=c(f.callee);if(S===s||typeof S!="function")return s;var A=f.callee.object?c(f.callee.object):s;A===s&&(A=null);for(var P=[],m=0,p=f.arguments.length;m<p;m++){var g=c(f.arguments[m]);if(g===s)return s;P.push(g)}return S.apply(A,P)}else if(f.type==="MemberExpression"){var y=c(f.object);if(y===s||typeof y=="function")return s;if(f.property.type==="Identifier")return y[f.property.name];var x=c(f.property);return x===s?s:y[x]}else if(f.type==="ConditionalExpression"){var d=c(f.test);return d===s?s:c(d?f.consequent:f.alternate)}else if(f.type==="ExpressionStatement"){var d=c(f.expression);return d===s?s:d}else{if(f.type==="ReturnStatement")return c(f.argument);if(f.type==="FunctionExpression"){var C=f.body.body,D={};Object.keys(u).forEach(function(G){D[G]=u[G]});for(var m=0;m<f.params.length;m++){var O=f.params[m];if(O.type=="Identifier")u[O.name]=null;else return s}for(var m in C)if(c(C[m])===s)return s;u=D;var k=Object.keys(u),B=k.map(function(G){return u[G]});return Function(k.join(", "),"return "+o(f)).apply(null,B)}else if(f.type==="TemplateLiteral"){for(var N="",m=0;m<f.expressions.length;m++)N+=c(f.quasis[m]),N+=c(f.expressions[m]);return N+=c(f.quasis[m]),N}else if(f.type==="TaggedTemplateExpression"){var M=c(f.tag),j=f.quasi,F=j.quasis.map(c),R=j.expressions.map(c);return M.apply(null,[F].concat(R))}else return f.type==="TemplateElement"?f.value.cooked:s}}}(i);return l===s?void 0:l}},{escodegen:12}],jsonpath:[function(n,r,a){r.exports=n("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})})(Bre);function Ire(t,e,n){return e=j0(e),Vre(t,Ow()?Reflect.construct(e,n||[],j0(t).constructor):e.apply(t,n))}function TB(t,e,n){if(Ow())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var a=new(t.bind.apply(t,r));return n&&V0(a,n.prototype),a}function Ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ow=function(){return!!t})()}function DB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Nre(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?DB(Object(n),!0).forEach(function(r){Fre(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):DB(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Mre(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function PB(t){var e=Mre(t,"string");return typeof e=="symbol"?e:e+""}function $o(t){return $o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$o(t)}function sh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,PB(r.key),r)}}function lh(t,e,n){return e&&OB(t.prototype,e),n&&OB(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Fre(t,e,n){return e=PB(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&V0(t,e)}function j0(t){return j0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},j0(t)}function V0(t,e){return V0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},V0(t,e)}function Rre(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch{return typeof t=="function"}}function kw(t){var e=typeof Map=="function"?new Map:void 0;return kw=function(r){if(r===null||!Rre(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,a)}function a(){return TB(r,arguments,j0(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),V0(a,r)},kw(t)}function jre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vre(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jre(t)}function Bw(t){return zre(t)||Ure(t)||kB(t)||Hre()}function zre(t){if(Array.isArray(t))return Iw(t)}function Ure(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kB(t,e){if(t){if(typeof t=="string")return Iw(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iw(t,e)}}function Iw(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Hre(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
88
88
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gre(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=kB(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
89
89
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,u;return{s:function(){n=n.call(t)},n:function(){var s=n.next();return o=s.done,s},e:function(s){i=!0,u=s},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(i)throw u}}}}var Wre=function(){function t(){sh(this,t)}return lh(t,[{key:"add",value:function(n,r,a){if(typeof arguments[0]!="string")for(var o in arguments[0])this.add(o,arguments[0][o],arguments[1]);else(Array.isArray(n)?n:[n]).forEach(function(i){this[i]=this[i]||[],r&&this[i][a?"unshift":"push"](r)},this)}},{key:"run",value:function(n,r){this[n]=this[n]||[],this[n].forEach(function(a){a.call(r&&r.context?r.context:r,r)})}}])}(),Kre=function(){function t(e){sh(this,t),this.jsep=e,this.registered={}}return lh(t,[{key:"register",value:function(){for(var n=this,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];a.forEach(function(i){if($o(i)!=="object"||!i.name||!i.init)throw new Error("Invalid JSEP plugin format");n.registered[i.name]||(i.init(n.jsep),n.registered[i.name]=i)})}}])}(),es=function(){function t(e){sh(this,t),this.expr=e,this.index=0}return lh(t,[{key:"char",get:function(){return this.expr.charAt(this.index)}},{key:"code",get:function(){return this.expr.charCodeAt(this.index)}},{key:"throwError",value:function(n){var r=new Error(n+" at character "+this.index);throw r.index=this.index,r.description=n,r}},{key:"runHook",value:function(n,r){if(t.hooks[n]){var a={context:this,node:r};return t.hooks.run(n,a),a.node}return r}},{key:"searchHook",value:function(n){if(t.hooks[n]){var r={context:this};return t.hooks[n].find(function(a){return a.call(r.context,r),r.node}),r.node}}},{key:"gobbleSpaces",value:function(){for(var n=this.code;n===t.SPACE_CODE||n===t.TAB_CODE||n===t.LF_CODE||n===t.CR_CODE;)n=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}},{key:"parse",value:function(){this.runHook("before-all");var n=this.gobbleExpressions(),r=n.length===1?n[0]:{type:t.COMPOUND,body:n};return this.runHook("after-all",r)}},{key:"gobbleExpressions",value:function(n){for(var r=[],a,o;this.index<this.expr.length;)if(a=this.code,a===t.SEMCOL_CODE||a===t.COMMA_CODE)this.index++;else if(o=this.gobbleExpression())r.push(o);else if(this.index<this.expr.length){if(a===n)break;this.throwError('Unexpected "'+this.char+'"')}return r}},{key:"gobbleExpression",value:function(){var n=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",n)}},{key:"gobbleBinaryOp",value:function(){this.gobbleSpaces();for(var n=this.expr.substr(this.index,t.max_binop_len),r=n.length;r>0;){if(t.binary_ops.hasOwnProperty(n)&&(!t.isIdentifierStart(this.code)||this.index+n.length<this.expr.length&&!t.isIdentifierPart(this.expr.charCodeAt(this.index+n.length))))return this.index+=r,n;n=n.substr(0,--r)}return!1}},{key:"gobbleBinaryExpression",value:function(){var n,r,a,o,i,u,s,l,c;if(u=this.gobbleToken(),!u||(r=this.gobbleBinaryOp(),!r))return u;for(i={value:r,prec:t.binaryPrecedence(r),right_a:t.right_associative.has(r)},s=this.gobbleToken(),s||this.throwError("Expected expression after "+r),o=[u,i,s];r=this.gobbleBinaryOp();){if(a=t.binaryPrecedence(r),a===0){this.index-=r.length;break}i={value:r,prec:a,right_a:t.right_associative.has(r)},c=r;for(var f=function(d){return i.right_a&&d.right_a?a>d.prec:a<=d.prec};o.length>2&&f(o[o.length-2]);)s=o.pop(),r=o.pop().value,u=o.pop(),n={type:t.BINARY_EXP,operator:r,left:u,right:s},o.push(n);n=this.gobbleToken(),n||this.throwError("Expected expression after "+c),o.push(i,n)}for(l=o.length-1,n=o[l];l>1;)n={type:t.BINARY_EXP,operator:o[l-1].value,left:o[l-2],right:n},l-=2;return n}},{key:"gobbleToken",value:function(){var n,r,a,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"),o)return this.runHook("after-token",o);if(n=this.code,t.isDecimalDigit(n)||n===t.PERIOD_CODE)return this.gobbleNumericLiteral();if(n===t.SQUOTE_CODE||n===t.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(n===t.OBRACK_CODE)o=this.gobbleArray();else{for(r=this.expr.substr(this.index,t.max_unop_len),a=r.length;a>0;){if(t.unary_ops.hasOwnProperty(r)&&(!t.isIdentifierStart(this.code)||this.index+r.length<this.expr.length&&!t.isIdentifierPart(this.expr.charCodeAt(this.index+r.length)))){this.index+=a;var i=this.gobbleToken();return i||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:t.UNARY_EXP,operator:r,argument:i,prefix:!0})}r=r.substr(0,--a)}t.isIdentifierStart(n)?(o=this.gobbleIdentifier(),t.literals.hasOwnProperty(o.name)?o={type:t.LITERAL,value:t.literals[o.name],raw:o.name}:o.name===t.this_str&&(o={type:t.THIS_EXP})):n===t.OPAREN_CODE&&(o=this.gobbleGroup())}return o?(o=this.gobbleTokenProperty(o),this.runHook("after-token",o)):this.runHook("after-token",!1)}},{key:"gobbleTokenProperty",value:function(n){this.gobbleSpaces();for(var r=this.code;r===t.PERIOD_CODE||r===t.OBRACK_CODE||r===t.OPAREN_CODE||r===t.QUMARK_CODE;){var a=void 0;if(r===t.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==t.PERIOD_CODE)break;a=!0,this.index+=2,this.gobbleSpaces(),r=this.code}this.index++,r===t.OBRACK_CODE?(n={type:t.MEMBER_EXP,computed:!0,object:n,property:this.gobbleExpression()},this.gobbleSpaces(),r=this.code,r!==t.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):r===t.OPAREN_CODE?n={type:t.CALL_EXP,arguments:this.gobbleArguments(t.CPAREN_CODE),callee:n}:(r===t.PERIOD_CODE||a)&&(a&&this.index--,this.gobbleSpaces(),n={type:t.MEMBER_EXP,computed:!1,object:n,property:this.gobbleIdentifier()}),a&&(n.optional=!0),this.gobbleSpaces(),r=this.code}return n}},{key:"gobbleNumericLiteral",value:function(){for(var n="",r,a;t.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if(this.code===t.PERIOD_CODE)for(n+=this.expr.charAt(this.index++);t.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if(r=this.char,r==="e"||r==="E"){for(n+=this.expr.charAt(this.index++),r=this.char,(r==="+"||r==="-")&&(n+=this.expr.charAt(this.index++));t.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);t.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+n+this.char+")")}return a=this.code,t.isIdentifierStart(a)?this.throwError("Variable names cannot start with a number ("+n+this.char+")"):(a===t.PERIOD_CODE||n.length===1&&n.charCodeAt(0)===t.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:t.LITERAL,value:parseFloat(n),raw:n}}},{key:"gobbleStringLiteral",value:function(){for(var n="",r=this.index,a=this.expr.charAt(this.index++),o=!1;this.index<this.expr.length;){var i=this.expr.charAt(this.index++);if(i===a){o=!0;break}else if(i==="\\")switch(i=this.expr.charAt(this.index++),i){case"n":n+=`
|
|
90
|
-
`;break;case"r":n+="\r";break;case"t":n+=" ";break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;default:n+=i}else n+=i}return o||this.throwError('Unclosed quote after "'+n+'"'),{type:t.LITERAL,value:n,raw:this.expr.substring(r,this.index)}}},{key:"gobbleIdentifier",value:function(){var n=this.code,r=this.index;for(t.isIdentifierStart(n)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(n=this.code,t.isIdentifierPart(n));)this.index++;return{type:t.IDENTIFIER,name:this.expr.slice(r,this.index)}}},{key:"gobbleArguments",value:function(n){for(var r=[],a=!1,o=0;this.index<this.expr.length;){this.gobbleSpaces();var i=this.code;if(i===n){a=!0,this.index++,n===t.CPAREN_CODE&&o&&o>=r.length&&this.throwError("Unexpected token "+String.fromCharCode(n));break}else if(i===t.COMMA_CODE){if(this.index++,o++,o!==r.length){if(n===t.CPAREN_CODE)this.throwError("Unexpected token ,");else if(n===t.CBRACK_CODE)for(var u=r.length;u<o;u++)r.push(null)}}else if(r.length!==o&&o!==0)this.throwError("Expected comma");else{var s=this.gobbleExpression();(!s||s.type===t.COMPOUND)&&this.throwError("Expected comma"),r.push(s)}}return a||this.throwError("Expected "+String.fromCharCode(n)),r}},{key:"gobbleGroup",value:function(){this.index++;var n=this.gobbleExpressions(t.CPAREN_CODE);if(this.code===t.CPAREN_CODE)return this.index++,n.length===1?n[0]:n.length?{type:t.SEQUENCE_EXP,expressions:n}:!1;this.throwError("Unclosed (")}},{key:"gobbleArray",value:function(){return this.index++,{type:t.ARRAY_EXP,elements:this.gobbleArguments(t.CBRACK_CODE)}}}],[{key:"version",get:function(){return"1.3.8"}},{key:"toString",value:function(){return"JavaScript Expression Parser (JSEP) v"+t.version}},{key:"addUnaryOp",value:function(n){return t.max_unop_len=Math.max(n.length,t.max_unop_len),t.unary_ops[n]=1,t}},{key:"addBinaryOp",value:function(n,r,a){return t.max_binop_len=Math.max(n.length,t.max_binop_len),t.binary_ops[n]=r,a?t.right_associative.add(n):t.right_associative.delete(n),t}},{key:"addIdentifierChar",value:function(n){return t.additional_identifier_chars.add(n),t}},{key:"addLiteral",value:function(n,r){return t.literals[n]=r,t}},{key:"removeUnaryOp",value:function(n){return delete t.unary_ops[n],n.length===t.max_unop_len&&(t.max_unop_len=t.getMaxKeyLen(t.unary_ops)),t}},{key:"removeAllUnaryOps",value:function(){return t.unary_ops={},t.max_unop_len=0,t}},{key:"removeIdentifierChar",value:function(n){return t.additional_identifier_chars.delete(n),t}},{key:"removeBinaryOp",value:function(n){return delete t.binary_ops[n],n.length===t.max_binop_len&&(t.max_binop_len=t.getMaxKeyLen(t.binary_ops)),t.right_associative.delete(n),t}},{key:"removeAllBinaryOps",value:function(){return t.binary_ops={},t.max_binop_len=0,t}},{key:"removeLiteral",value:function(n){return delete t.literals[n],t}},{key:"removeAllLiterals",value:function(){return t.literals={},t}},{key:"parse",value:function(n){return new t(n).parse()}},{key:"getMaxKeyLen",value:function(n){return Math.max.apply(Math,[0].concat(Bw(Object.keys(n).map(function(r){return r.length}))))}},{key:"isDecimalDigit",value:function(n){return n>=48&&n<=57}},{key:"binaryPrecedence",value:function(n){return t.binary_ops[n]||0}},{key:"isIdentifierStart",value:function(n){return n>=65&&n<=90||n>=97&&n<=122||n>=128&&!t.binary_ops[String.fromCharCode(n)]||t.additional_identifier_chars.has(String.fromCharCode(n))}},{key:"isIdentifierPart",value:function(n){return t.isIdentifierStart(n)||t.isDecimalDigit(n)}}])}(),Xre=new Wre;Object.assign(es,{hooks:Xre,plugins:new Kre(es),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},right_associative:new Set,additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),es.max_unop_len=es.getMaxKeyLen(es.unary_ops),es.max_binop_len=es.getMaxKeyLen(es.binary_ops);var uh=function(e){return new es(e).parse()},Yre=Object.getOwnPropertyNames(es);Yre.forEach(function(t){uh[t]===void 0&&t!=="prototype"&&(uh[t]=es[t])}),uh.Jsep=es;var Jre="ConditionalExpression",Zre={name:"ternary",init:function(e){e.hooks.add("after-expression",function(r){if(r.node&&this.code===e.QUMARK_CODE){this.index++;var a=r.node,o=this.gobbleExpression();if(o||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var i=this.gobbleExpression();if(i||this.throwError("Expected expression"),r.node={type:Jre,test:a,consequent:o,alternate:i},a.operator&&e.binary_ops[a.operator]<=.9){for(var u=a;u.right.operator&&e.binary_ops[u.right.operator]<=.9;)u=u.right;r.node.test=u.right,u.right=r.node,r.node=a}}else this.throwError("Expected :")}})}};uh.plugins.register(Zre);var BB=47,Qre=92,qre={name:"regex",init:function(e){e.hooks.add("gobble-token",function(r){if(this.code===BB){for(var a=++this.index,o=!1;this.index<this.expr.length;){if(this.code===BB&&!o){for(var i=this.expr.slice(a,this.index),u="";++this.index<this.expr.length;){var s=this.code;if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57)u+=this.char;else break}var l=void 0;try{l=new RegExp(i,u)}catch(c){this.throwError(c.message)}return r.node={type:e.LITERAL,value:l,raw:this.expr.slice(a-1,this.index)},r.node=this.gobbleTokenProperty(r.node),r.node}this.code===e.OBRACK_CODE?o=!0:o&&this.code===e.CBRACK_CODE&&(o=!1),this.index+=this.code===Qre?2:1}this.throwError("Unclosed Regex")}})}},Nw=43,$re=45,ch={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|="]),updateOperators:[Nw,$re],assignmentPrecedence:.9,init:function(e){var n=[e.IDENTIFIER,e.MEMBER_EXP];ch.assignmentOperators.forEach(function(a){return e.addBinaryOp(a,ch.assignmentPrecedence,!0)}),e.hooks.add("gobble-token",function(o){var i=this,u=this.code;ch.updateOperators.some(function(s){return s===u&&s===i.expr.charCodeAt(i.index+1)})&&(this.index+=2,o.node={type:"UpdateExpression",operator:u===Nw?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!o.node.argument||!n.includes(o.node.argument.type))&&this.throwError("Unexpected ".concat(o.node.operator)))}),e.hooks.add("after-token",function(o){var i=this;if(o.node){var u=this.code;ch.updateOperators.some(function(s){return s===u&&s===i.expr.charCodeAt(i.index+1)})&&(n.includes(o.node.type)||this.throwError("Unexpected ".concat(o.node.operator)),this.index+=2,o.node={type:"UpdateExpression",operator:u===Nw?"++":"--",argument:o.node,prefix:!1})}}),e.hooks.add("after-expression",function(o){o.node&&r(o.node)});function r(a){ch.assignmentOperators.has(a.operator)?(a.type="AssignmentExpression",r(a.left),r(a.right)):a.operator||Object.values(a).forEach(function(o){o&&$o(o)==="object"&&r(o)})}}},Ka=Object.prototype.hasOwnProperty;function Wu(t,e){return t=t.slice(),t.push(e),t}function Mw(t,e){return e=e.slice(),e.unshift(t),e}var eie=function(t){function e(n){var r;return sh(this,e),r=Ire(this,e,['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)']),r.avoidNew=!0,r.value=n,r.name="NewError",r}return Lre(e,t),lh(e)}(kw(Error));function Br(t,e,n,r,a){if(!(this instanceof Br))try{return new Br(t,e,n,r,a)}catch(s){if(!s.avoidNew)throw s;return s.value}typeof t=="string"&&(a=r,r=n,n=e,e=t,t=null);var o=t&&$o(t)==="object";if(t=t||{},this.json=t.json||n,this.path=t.path||e,this.resultType=t.resultType||"value",this.flatten=t.flatten||!1,this.wrap=Ka.call(t,"wrap")?t.wrap:!0,this.sandbox=t.sandbox||{},this.eval=t.eval===void 0?"safe":t.eval,this.ignoreEvalErrors=typeof t.ignoreEvalErrors>"u"?!1:t.ignoreEvalErrors,this.parent=t.parent||null,this.parentProperty=t.parentProperty||null,this.callback=t.callback||r||null,this.otherTypeCallback=t.otherTypeCallback||a||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},t.autostart!==!1){var i={path:o?t.path:e};o?"json"in t&&(i.json=t.json):i.json=n;var u=this.evaluate(i);if(!u||$o(u)!=="object")throw new eie(u);return u}}Br.prototype.evaluate=function(t,e,n,r){var a=this,o=this.parent,i=this.parentProperty,u=this.flatten,s=this.wrap;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=r||this.otherTypeCallback,e=e||this.json,t=t||this.path,t&&$o(t)==="object"&&!Array.isArray(t)){if(!t.path&&t.path!=="")throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Ka.call(t,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');var l=t;e=l.json,u=Ka.call(t,"flatten")?t.flatten:u,this.currResultType=Ka.call(t,"resultType")?t.resultType:this.currResultType,this.currSandbox=Ka.call(t,"sandbox")?t.sandbox:this.currSandbox,s=Ka.call(t,"wrap")?t.wrap:s,this.currEval=Ka.call(t,"eval")?t.eval:this.currEval,n=Ka.call(t,"callback")?t.callback:n,this.currOtherTypeCallback=Ka.call(t,"otherTypeCallback")?t.otherTypeCallback:this.currOtherTypeCallback,o=Ka.call(t,"parent")?t.parent:o,i=Ka.call(t,"parentProperty")?t.parentProperty:i,t=t.path}if(o=o||null,i=i||null,Array.isArray(t)&&(t=Br.toPathString(t)),!(!t&&t!==""||!e)){var c=Br.toPathArray(t);c[0]==="$"&&c.length>1&&c.shift(),this._hasParentSelector=null;var f=this._trace(c,e,["$"],o,i,n).filter(function(h){return h&&!h.isParentSelector});return f.length?!s&&f.length===1&&!f[0].hasArrExpr?this._getPreferredOutput(f[0]):f.reduce(function(h,d){var v=a._getPreferredOutput(d);return u&&Array.isArray(v)?h=h.concat(v):h.push(v),h},[]):s?[]:void 0}},Br.prototype._getPreferredOutput=function(t){var e=this.currResultType;switch(e){case"all":{var n=Array.isArray(t.path)?t.path:Br.toPathArray(t.path);return t.pointer=Br.toPointer(n),t.path=typeof t.path=="string"?t.path:Br.toPathString(t.path),t}case"value":case"parent":case"parentProperty":return t[e];case"path":return Br.toPathString(t[e]);case"pointer":return Br.toPointer(t.path);default:throw new TypeError("Unknown result type")}},Br.prototype._handleCallback=function(t,e,n){if(e){var r=this._getPreferredOutput(t);t.path=typeof t.path=="string"?t.path:Br.toPathString(t.path),e(r,n,t)}},Br.prototype._trace=function(t,e,n,r,a,o,i,u){var s=this,l;if(!t.length)return l={path:n,value:e,parent:r,parentProperty:a,hasArrExpr:i},this._handleCallback(l,o,"value"),l;var c=t[0],f=t.slice(1),h=[];function d(O){Array.isArray(O)?O.forEach(function(k){h.push(k)}):h.push(O)}if((typeof c!="string"||u)&&e&&Ka.call(e,c))d(this._trace(f,e[c],Wu(n,c),e,c,o,i));else if(c==="*")this._walk(e,function(O){d(s._trace(f,e[O],Wu(n,O),e,O,o,!0,!0))});else if(c==="..")d(this._trace(f,e,n,r,a,o,i)),this._walk(e,function(O){$o(e[O])==="object"&&d(s._trace(t.slice(),e[O],Wu(n,O),e,O,o,!0))});else{if(c==="^")return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:f,isParentSelector:!0};if(c==="~")return l={path:Wu(n,c),value:a,parent:r,parentProperty:null},this._handleCallback(l,o,"property"),l;if(c==="$")d(this._trace(f,e,n,null,null,o,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(c))d(this._slice(c,f,e,n,r,a,o));else if(c.indexOf("?(")===0){if(this.currEval===!1)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");var v=c.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),m=/@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])?((?:[\0->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))(?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\)\])['\]]/g.exec(v);m?this._walk(e,function(O){var k=[m[2]],B=m[1]?e[O][m[1]]:e[O],N=s._trace(k,B,n,r,a,o,!0);N.length>0&&d(s._trace(f,e[O],Wu(n,O),e,O,o,!0))}):this._walk(e,function(O){s._eval(v,e[O],O,n,r,a)&&d(s._trace(f,e[O],Wu(n,O),e,O,o,!0))})}else if(c[0]==="("){if(this.currEval===!1)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(Mw(this._eval(c,e,n[n.length-1],n.slice(0,-1),r,a),f),e,n,r,a,o,i))}else if(c[0]==="@"){var p=!1,g=c.slice(1,-2);switch(g){case"scalar":(!e||!["object","function"].includes($o(e)))&&(p=!0);break;case"boolean":case"string":case"undefined":case"function":$o(e)===g&&(p=!0);break;case"integer":Number.isFinite(e)&&!(e%1)&&(p=!0);break;case"number":Number.isFinite(e)&&(p=!0);break;case"nonFinite":typeof e=="number"&&!Number.isFinite(e)&&(p=!0);break;case"object":e&&$o(e)===g&&(p=!0);break;case"array":Array.isArray(e)&&(p=!0);break;case"other":p=this.currOtherTypeCallback(e,n,r,a);break;case"null":e===null&&(p=!0);break;default:throw new TypeError("Unknown value type "+g)}if(p)return l={path:n,value:e,parent:r,parentProperty:a},this._handleCallback(l,o,"value"),l}else if(c[0]==="`"&&e&&Ka.call(e,c.slice(1))){var y=c.slice(1);d(this._trace(f,e[y],Wu(n,y),e,y,o,i,!0))}else if(c.includes(",")){var x=c.split(","),b=Gre(x),E;try{for(b.s();!(E=b.n()).done;){var w=E.value;d(this._trace(Mw(w,f),e,n,r,a,o,!0))}}catch(O){b.e(O)}finally{b.f()}}else!u&&e&&Ka.call(e,c)&&d(this._trace(f,e[c],Wu(n,c),e,c,o,i,!0))}if(this._hasParentSelector)for(var S=0;S<h.length;S++){var A=h[S];if(A&&A.isParentSelector){var P=this._trace(A.expr,e,A.path,r,a,o,i);if(Array.isArray(P)){h[S]=P[0];for(var C=P.length,D=1;D<C;D++)S++,h.splice(S,0,P[D])}else h[S]=P}}return h},Br.prototype._walk=function(t,e){if(Array.isArray(t))for(var n=t.length,r=0;r<n;r++)e(r);else t&&$o(t)==="object"&&Object.keys(t).forEach(function(a){e(a)})},Br.prototype._slice=function(t,e,n,r,a,o,i){if(Array.isArray(n)){var u=n.length,s=t.split(":"),l=s[2]&&Number.parseInt(s[2])||1,c=s[0]&&Number.parseInt(s[0])||0,f=s[1]&&Number.parseInt(s[1])||u;c=c<0?Math.max(0,c+u):Math.min(u,c),f=f<0?Math.max(0,f+u):Math.min(u,f);for(var h=[],d=c;d<f;d+=l){var v=this._trace(Mw(d,e),n,r,a,o,i,!0);v.forEach(function(m){h.push(m)})}return h}},Br.prototype._eval=function(t,e,n,r,a,o){var i=this;this.currSandbox._$_parentProperty=o,this.currSandbox._$_parent=a,this.currSandbox._$_property=n,this.currSandbox._$_root=this.json,this.currSandbox._$_v=e;var u=t.includes("@path");u&&(this.currSandbox._$_path=Br.toPathString(r.concat([n])));var s=this.currEval+"Script:"+t;if(!Br.cache[s]){var l=t.replace(/@parentProperty/g,"_$_parentProperty").replace(/@parent/g,"_$_parent").replace(/@property/g,"_$_property").replace(/@root/g,"_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1");if(u&&(l=l.replace(/@path/g,"_$_path")),this.currEval==="safe"||this.currEval===!0||this.currEval===void 0)Br.cache[s]=new this.safeVm.Script(l);else if(this.currEval==="native")Br.cache[s]=new this.vm.Script(l);else if(typeof this.currEval=="function"&&this.currEval.prototype&&Ka.call(this.currEval.prototype,"runInNewContext")){var c=this.currEval;Br.cache[s]=new c(l)}else if(typeof this.currEval=="function")Br.cache[s]={runInNewContext:function(h){return i.currEval(l,h)}};else throw new TypeError('Unknown "eval" property "'.concat(this.currEval,'"'))}try{return Br.cache[s].runInNewContext(this.currSandbox)}catch(f){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+f.message+": "+t)}},Br.cache={},Br.toPathString=function(t){for(var e=t,n=e.length,r="$",a=1;a<n;a++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[a])||(r+=/^[\*0-9]+$/.test(e[a])?"["+e[a]+"]":"['"+e[a]+"']");return r},Br.toPointer=function(t){for(var e=t,n=e.length,r="",a=1;a<n;a++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[a])||(r+="/"+e[a].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},Br.toPathArray=function(t){var e=Br.cache;if(e[t])return e[t].concat();var n=[],r=t.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]](?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\])/g,function(o,i){return"[#"+(n.push(i)-1)+"]"}).replace(/\[["']((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)["']\]/g,function(o,i){return"['"+i.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(o,i){return";"+i.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,""),a=r.split(";").map(function(o){var i=o.match(/#([0-9]+)/);return!i||!i[1]?o:n[i[1]]});return e[t]=a,e[t].concat()};var tie=function(e,n,r){for(var a=e.length,o=0;o<a;o++){var i=e[o];r(i)&&n.push(e.splice(o--,1)[0])}};uh.plugins.register(qre,ch);var Xr={evalAst:function(e,n){switch(e.type){case"BinaryExpression":case"LogicalExpression":return Xr.evalBinaryExpression(e,n);case"Compound":return Xr.evalCompound(e,n);case"ConditionalExpression":return Xr.evalConditionalExpression(e,n);case"Identifier":return Xr.evalIdentifier(e,n);case"Literal":return Xr.evalLiteral(e,n);case"MemberExpression":return Xr.evalMemberExpression(e,n);case"UnaryExpression":return Xr.evalUnaryExpression(e,n);case"ArrayExpression":return Xr.evalArrayExpression(e,n);case"CallExpression":return Xr.evalCallExpression(e,n);case"AssignmentExpression":return Xr.evalAssignmentExpression(e,n);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression:function(e,n){var r={"||":function(o,i){return o||i()},"&&":function(o,i){return o&&i()},"|":function(o,i){return o|i()},"^":function(o,i){return o^i()},"&":function(o,i){return o&i()},"==":function(o,i){return o==i()},"!=":function(o,i){return o!=i()},"===":function(o,i){return o===i()},"!==":function(o,i){return o!==i()},"<":function(o,i){return o<i()},">":function(o,i){return o>i()},"<=":function(o,i){return o<=i()},">=":function(o,i){return o>=i()},"<<":function(o,i){return o<<i()},">>":function(o,i){return o>>i()},">>>":function(o,i){return o>>>i()},"+":function(o,i){return o+i()},"-":function(o,i){return o-i()},"*":function(o,i){return o*i()},"/":function(o,i){return o/i()},"%":function(o,i){return o%i()}}[e.operator](Xr.evalAst(e.left,n),function(){return Xr.evalAst(e.right,n)});return r},evalCompound:function(e,n){for(var r,a=0;a<e.body.length;a++){e.body[a].type==="Identifier"&&["var","let","const"].includes(e.body[a].name)&&e.body[a+1]&&e.body[a+1].type==="AssignmentExpression"&&(a+=1);var o=e.body[a];r=Xr.evalAst(o,n)}return r},evalConditionalExpression:function(e,n){return Xr.evalAst(e.test,n)?Xr.evalAst(e.consequent,n):Xr.evalAst(e.alternate,n)},evalIdentifier:function(e,n){if(e.name in n)return n[e.name];throw ReferenceError("".concat(e.name," is not defined"))},evalLiteral:function(e){return e.value},evalMemberExpression:function(e,n){var r=e.computed?Xr.evalAst(e.property):e.property.name,a=Xr.evalAst(e.object,n),o=a[r];return typeof o=="function"?o.bind(a):o},evalUnaryExpression:function(e,n){var r={"-":function(o){return-Xr.evalAst(o,n)},"!":function(o){return!Xr.evalAst(o,n)},"~":function(o){return~Xr.evalAst(o,n)},"+":function(o){return+Xr.evalAst(o,n)}}[e.operator](e.argument);return r},evalArrayExpression:function(e,n){return e.elements.map(function(r){return Xr.evalAst(r,n)})},evalCallExpression:function(e,n){var r=e.arguments.map(function(o){return Xr.evalAst(o,n)}),a=Xr.evalAst(e.callee,n);return a.apply(void 0,Bw(r))},evalAssignmentExpression:function(e,n){if(e.left.type!=="Identifier")throw SyntaxError("Invalid left-hand side in assignment");var r=e.left.name,a=Xr.evalAst(e.right,n);return n[r]=a,n[r]}},nie=function(){function t(e){sh(this,t),this.code=e,this.ast=uh(this.code)}return lh(t,[{key:"runInNewContext",value:function(n){var r=Nre({},n);return Xr.evalAst(this.ast,r)}}])}(),rie=function(){function t(e){sh(this,t),this.code=e}return lh(t,[{key:"runInNewContext",value:function(n){var r=this.code,a=Object.keys(n),o=[];tie(a,o,function(c){return typeof n[c]=="function"});var i=a.map(function(c){return n[c]}),u=o.reduce(function(c,f){var h=n[f].toString();return/function/.test(h)||(h="function "+h),"var "+f+"="+h+";"+c},"");r=u+r,!/(["'])use strict\1/.test(r)&&!a.includes("arguments")&&(r="var arguments = undefined;"+r),r=r.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"");var s=r.lastIndexOf(";"),l=s>-1?r.slice(0,s+1)+" return "+r.slice(s+1):" return "+r;return TB(Function,a.concat([l])).apply(void 0,Bw(i))}}])}();Br.prototype.vm={Script:rie},Br.prototype.safeVm={Script:nie};const z0=(t,e)=>{if(!e||!t)return null;var n=Br({json:e,path:t});return n},IB=t=>{var e=[];if(!t)return e;var n=z0("$..widgetList[*]",t);return t.type==et.tabs?(e=t.tabs,e=[...n,...e]):t.type==et.grid&&(e=z0("$..cols[*]",t),e=[...n,...e]),e=[...n],e==null?void 0:e.filter(r=>!!(r!=null&&r.type))},Ku=(t,e,n,r)=>{t==null||t.forEach(a=>{a&&(e==null||e.push(a),!(r!=null&&r(a))&&NB(a,e,n,r))})},NB=(t,e,n,r)=>{var a,o,i,u,s,l,c;if(t.type===et.tabs)(a=t.tabs)==null||a.forEach(f=>{e==null||e.push(f),Ku(f.widgetList,e,n,r)});else if(t.type===et.table)(o=t.rows)==null||o.forEach(f=>{var h;e==null||e.push(f),(h=f==null?void 0:f.cols)==null||h.forEach(d=>{e==null||e.push(d),Ku(d.widgetList,e,n,r)})});else if(t.type===et.grid)(i=t.cols)==null||i.forEach(f=>{e==null||e.push(f),Ku(f.widgetList,e,n,r)});else if(t.type===et.cont){const f=h=>{var d;Ku(h.widgetList,e,n,r),(d=h==null?void 0:h.children)==null||d.map(v=>{f(v)})};(u=t.cols)==null||u.forEach(h=>{f(h)})}else if(((s=t.widgetList)==null?void 0:s.length)>0&&Ku(t.widgetList,e,n,r),!n){const f=(c=(l=Sr(t.options))==null?void 0:l.filter(h=>{var d;return((d=t.options[h])==null?void 0:d.type)===xe.slot}))==null?void 0:c.map(h=>t.options[h]);f==null||f.forEach(h=>{Ku(h==null?void 0:h.widgetList,e,n,r)})}},fh=(t,e,n)=>{let r=[];return C1(t,o=>{r.push(o)},e,n),r},C1=(t,e,n,r)=>{if(!t)return;const a=[];Ku(t,a,r),a==null||a.forEach(o=>{n?n(o)&&e(o):e(o)})},iie=(t,e)=>{if(!t)return;const n=fh(t,r=>!!(r!=null&&r.formItemFlag),!0);return n==null||n.forEach(r=>e==null?void 0:e(r)),n},aie=(t,e)=>{if(!e||(t==null?void 0:t.length)<=0)return;const n=fh(t,a=>(a==null?void 0:a.id)===e);return n==null?void 0:n[0]},MB=(t,e)=>fh(t,n=>(n==null?void 0:n.type)===e),oie=(t,e)=>{var a;if(!t)return[];let n=[],r=o=>{o&&(n.find(i=>(i==null?void 0:i.name)===lt.getName(o))||n.push({type:o.type,name:lt.getName(o),field:o}))};return e?(a=z0("$..*[?(@property === 'formItemFlag' && @ === true)]^",t))==null||a.forEach(o=>{r(o)}):iie(t,r),n},Ql=(t,e,n,r=!1,a)=>{var l,c,f,h,d,v,m,p,g;if(!t)return;let o={id:t.id,type:t.type,label:lt.getOptions(t,"label")||lt.getOptions(t,"name")||t.type,widget:r?t:null,parent:e,children:[],matched:!a||(a==null?void 0:a(t))};if(n==null||n.push(o),t.category===void 0)return;if(o.children=[],t.type===et.grid)(l=t==null?void 0:t.cols)==null||l.map(y=>{var b,E;let x={id:y.id,type:y.type,label:lt.getOptions(y,"name")||y.id||y.type,children:[],parent:o,widget:r?y:null};(b=o.children)==null||b.push(x),(E=y.widgetList)==null||E.map(w=>{Ql(w,x,x.children,r,a)})});else if(t.type===et.cont){const y=x=>{var b,E;(b=x.widgetList)==null||b.map(w=>{Ql(w,o,o.children,r,a)}),(E=x==null?void 0:x.children)==null||E.map(w=>y(w))};(c=t==null?void 0:t.cols)==null||c.map(x=>{y(x)})}else if(t.type===et.table)(f=t==null?void 0:t.rows)==null||f.map(y=>{var b,E;let x={id:y.id,type:et.tableRow,label:et.tableRow,selectable:!1,children:[],parent:o,widget:r?y:null};(b=y==null?void 0:y.cols)==null||b.map(w=>{var P;if(w.merged)return;let S=x.children,A={id:w.id,type:et.tableCol,label:et.tableCol,children:[],parent:x,widget:r?w:null};(P=w.widgetList)==null||P.map(C=>{Ql(C,A,A.children,r,a)}),S==null||S.push(A)}),(E=o.children)==null||E.push(x)});else if(t.type===et.tabs)(h=t==null?void 0:t.tabs)==null||h.map(y=>{var b,E;let x={id:y.id,type:y.type,label:lt.getOptions(y,"label")||y.type,children:[],parent:o,widget:r?y:null};(b=o.children)==null||b.push(x),(E=y==null?void 0:y.widgetList)==null||E.map(w=>{Ql(w,x,x.children,r,a)})});else if(t.type===et.eltable){var i=z0("$..widgetList[*]",(d=t.options)==null?void 0:d.optionItems.value);(i==null?void 0:i.length)>0&&(i==null||i.map(y=>{Ql(y,o,o.children,r,a)}))}else t.category===Bu.container&&((v=t==null?void 0:t.widgetList)==null?void 0:v.length)>0&&((m=t==null?void 0:t.widgetList)==null||m.map(y=>{Ql(y,o,o.children,r,a)}));const u=lt.getOptions(t,Kt.widgetList);u&&(u==null||u.map(y=>{Ql(y,o,o.children,r,a)}));const s=(g=(p=Sr(t.options))==null?void 0:p.filter(y=>{var x;return((x=t.options[y])==null?void 0:x.type)===xe.slot}))==null?void 0:g.map(y=>t.options[y]);s==null||s.forEach(y=>{var x,b,E;if(((x=y==null?void 0:y.widgetList)==null?void 0:x.length)>0){let w={id:y.slotName+zs(),type:y.type,label:y.slotName||y.type,children:[],parent:o,widget:r?y:null,selectable:!1};(b=o.children)==null||b.push(w),(E=y==null?void 0:y.widgetList)==null||E.map(S=>{Ql(S,w,w.children,r,a)})}})},FB=(t,e=!1,n)=>{const r=[];let a={label:et.page,id:et.page,type:et.page};return t==null||t.forEach(o=>{Ql(o,a,r,e,n)}),Zn(a,{children:r}),[a]},LB=(t,e,n)=>{!t||t.length<=0||t.forEach(r=>{r.id===e?n==null||n(r):LB(r==null?void 0:r.children,e,n)})},RB=(t,e)=>{let n=null;return LB(t,e,r=>{n=r}),n},Fw=(t,e)=>{const n=RB(t,e);let r=[];const a=o=>{o&&(r.push(o),o!=null&&o.parent&&a(o==null?void 0:o.parent))};return a(n),r},ph=(t,e,n)=>{const r=Un(t);return qo(r,e,n),C1([r],a=>{qo(a,e,n)}),r},hh=(t,e,n,r=!1,a)=>{if(!e||(e==null?void 0:e.length)<=0||!n||!t)return;let o=null;for(var i=0;i<(e==null?void 0:e.length);i++){const u=e==null?void 0:e[i];if(u.id&&(o=lt.getOptions(u.widget,n,r,!(a!=null&&a.designState)),o))break}return o},sie=(t,e,n,r)=>{var u;const a=z0("$..widgetList[?(@.id==='"+t+"')]^",Un(n)),o=(u=a==null?void 0:a[0])==null?void 0:u.find(s=>{var l;return((l=s==null?void 0:s._source)==null?void 0:l.name)===e}),i=o==null?void 0:o.id;return r==null?void 0:r(i)};function jB(){const t=k=>lt.getOptions(k,"rowspan")||1,e=k=>lt.getOptions(k,"colspan")||1,n=(k,B)=>{lt.setOptions(k,"rowspan",B)},r=(k,B)=>{lt.setOptions(k,"colspan",B)},a=(k,B,N)=>{let M=Un(k.rows[B]);return A(M),k.rows.splice(N,0,M),!0},o=(k,B)=>(k.rows.forEach(N=>{let M=P();N.cols.splice(B,0,M)}),!0),i=k=>{let B=k.rows.length;return a(k,B-1,B),!0},u=k=>{let B=k.rows[0].cols.length;return o(k,B),!0},s=(k,B,N,M,j)=>{let F=j?B:B+1;if(!j){let G=F,L=!1;for(;G<k.rows.length;)if(k.rows[G].cols[M].merged)G++;else{F=G,L=!0;break}L&&(F=k.rows.length)}a(k,N,F);let R=0;for(;F<k.rows.length-1&&R<k.rows[0].cols.length;){const G=k.rows[F+1].cols[R];if(G.merged){let V=k.rows,K={},Y=0;for(let J=F;J>=0;J--)if(!V[J].cols[R].merged&&t(V[J].cols[R])>1){Y=J,K=V[J].cols[R];break}if(K.options){let J=t(K)+1;f(k.rows,Y,R,e(K),J),R+=e(K)}else R+=1}else R+=e(G)}return!0},l=(k,B,N,M)=>{let j=M?B:B+1;if(!M){let R=j,G=!1;for(;R<k.rows[N].cols.length;){if(k.rows[N].cols[R].merged)R++;else{j=R,G=!0;break}G||(j=k.rows[N].cols.length)}}o(k,j);let F=0;for(;j<k.rows[0].cols.length-1&&F<k.rows.length;){const R=k.rows[F].cols[j+1];if(R.merged){let L=k.rows[F].cols,V={},K=null;for(let Y=j;Y>=0;Y--)if(!L[Y].merged&&e(L[Y])>1){K=Y,V=L[Y];break}if(V.options){let Y=e(V)+1;c(k.rows,F,K,Y,t(V)),F+=t(V)}else F+=1}else F+=t(R)}return!0},c=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++){if(F===B&&R===N){r(k[F].cols[R],M);continue}k[F].cols[R].merged=!0,r(k[F].cols[R],M),k[F].cols[R].widgetList=[]}},f=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++){if(F===B&&R===N){n(k[F].cols[R],j);continue}k[F].cols[R].merged=!0,n(k[F].cols[R],j),k[F].cols[R].widgetList=[]}},h=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++)k[F].cols[R].merged=!1,n(k[F].cols[R],1),r(k[F].cols[R],1)},d=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++)k[F].cols[R].merged=!1,n(k[F].cols[R],1),r(k[F].cols[R],1)},v=(k,B,N,M)=>{let j=lt.getOptions(k[N].cols[0],"rowspan"),F=!1;for(let G=1;G<k[N].cols.length;G++)if(t(k[N].cols[G])!==j){F=!0;break}if(F)return Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow")),!1;let R=B.filter(G=>!G.merged&&!!G.widgetList&&G.widgetList.length>0);return R&&R.length>0&&R[0].id!==B[0].id&&(!B[0].widgetList||B[0].widgetList.length<=0)&&(B[0].widgetList=Un(R[0].widgetList)),c(k,N,0,B.length,t(B[M])),!0},m=(k,B,N,M,j)=>{let F=M?B:B+t(j),R=M?B-1:B;if(M){let L=R;for(;L>=0;)if(k[L].cols[N].merged)L--;else{R=L;break}}k[F].cols[N].widgetList&&k[F].cols[N].widgetList.length>0&&(!k[R].cols[N].widgetList||k[R].cols[N].widgetList.length===0)&&(k[R].cols[N].widgetList=Un(k[F].cols[N].widgetList));let G=t(k[F].cols[N])*1+t(k[R].cols[N])*1;return f(k,R,N,e(j),G),!0},p=(k,B,N,M)=>{let j=lt.getOptions(k[0].cols[M],"colspan"),F=!1;for(let L=1;L<k.length;L++)if(e(k[L].cols[M])!==j){F=!0;break}if(F)return Wr.info(te.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")),!1;let R=[];k.forEach(L=>{let V=L.cols[M];!V.merged&&V.widgetList&&V.widgetList.length>0&&R.push(V)});let G=k[0].cols[M];return R&&R.length>0&&R[0].id!==G.id&&(!G.widgetList||G.widgetList.length<=0)&&(G.widgetList=Un(R[0].widgetList)),f(k,0,M,e(G),k.length),!0},g=(k,B,N,M,j,F)=>{let R=j?M:M+(lt.getOptions(B[M],"colspan")||1),G=j?M-1:M;if(j){let V=G;for(;V>=0;)if(k[N].cols[V].merged)V--;else{G=V;break}}B[R].widgetList&&B[R].widgetList.length>0&&(!B[G].widgetList||B[G].widgetList.length===0)&&(B[G].widgetList=Un(B[R].widgetList));let L=e(B[R])*1+e(B[G])*1;return c(k,N,G,L,t(F)),!0},y=(k,B,N,M,j)=>(h(k,B,N,M,j),!0),x=(k,B,N,M,j)=>(d(k,B,N,M,j),!0),b=(k,B)=>{let N=!0;if(k.forEach(F=>{e(F.cols[0])!==k[0].cols.length&&(N=!1)}),N)return Wr.info(te.i18nt("designer.hint.lastColCannotBeDeleted")),!1;let M=e(k[0].cols[B]),j=!1;for(let F=1;F<k.length;F++)if(e(k[F].cols[B])!==M){j=!0;break}return j?(Wr.info(te.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(k.forEach(F=>{F.cols.splice(B,M)}),!0)},E=(k,B)=>{let N=!0;if(k[0].cols.forEach(F=>{t(F)!==k.length&&(N=!1)}),N)return Wr.info(te.i18nt("designer.hint.lastRowCannotBeDeleted")),!1;let M=t(k[B].cols[0]),j=!1;for(let F=1;F<k[B].cols.length;F++)if(t(k[B].cols[F])!==M){j=!0;break}return j?(Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1):(k.splice(B,M),!0)},w=(k,B)=>{var R;let N=t(k[B].cols[0]),M=!1;for(let G=1;G<k[B].cols.length;G++)if(t(k[B].cols[G])!==N){M=!0;break}if(M)return Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1;let j=Un(k[B]);var F=(R=j==null?void 0:j.cols)==null?void 0:R.map(G=>ph(G,{recordSource:!1}));return j.cols=F,k.splice(B+1,0,j),!0},S=(k,B)=>{let N=e(k[0].cols[B]),M=!1;for(let j=1;j<k.length;j++)if(e(k[j].cols[B])!==N){M=!0;break}return M?(Wr.info(te.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(k.forEach(j=>{let F=Un(j.cols[B]);F=ph(F,{recordSource:!1}),j.cols.splice(B+1,0,F)}),!0)},A=k=>{let B=k||{cols:[]};return B=qo({...B,type:et.tableRow,id:""}),B.merged=!1,k?B.cols.forEach(N=>{P(N)}):B.cols.push(P()),B},P=k=>{let B=k||Un(Gu(et.tableCol));return qo(B),B.merged=!1,r(B,1),n(B,1),B.widgetList.length=0,B},C=k=>{let B=k||Un(Gu(et.table));return qo(B),B};return{appendTableRow:i,appendTableCol:u,insertTableRow:s,insertTableCol:l,mergeTableWholeRow:v,mergeTableRow:m,mergeTableCol:g,mergeTableWholeCol:p,undoMergeTableCol:y,undoMergeTableRow:x,deleteTableWholeCol:b,deleteTableWholeRow:E,copyTableWholeRow:w,copyTableWholeCol:S,initTableRow:A,initTable:C,initCloneTable:k=>{let B=C();return It(k).rows.forEach(N=>{let M=It(Un(N));qo(M),M.cols.forEach(j=>{qo(j),j.widgetList=[]}),It(B).rows.push(M)}),B},isTable:k=>(k==null?void 0:k.type)===et.table}}function VB(){const t=()=>{let l=It(Un(Gu(et.tabs)));return l=qo(l),l},e=(l,c)=>{let f=It(Un(Gu(et.tabPane)));var h=qo(f);return l&<.setOptions(h,Kt.label,l),c!==void 0&<.setOptions(h,Kt.isdefault,c),h},n=l=>{var f;let c=t();return(f=It(l).tabs)==null||f.forEach(h=>{var v;let d=r(h);(v=It(c).tabs)==null||v.push(d)}),c},r=l=>{var c=Un(l);return qo(c),lt.setOptions(c,Kt.isdefault,!1),c.widgetList=[],c};return{initTab:t,initCloneTab:n,initTabPane:e,initCloneTabPane:r,addTabPaneOfTabs:(l,c)=>{let f=l==null?void 0:l.tabs;return f||(f=[]),c=c||e(),c&&f.push(c),!0},deleteTabPaneOfTabs:(l,c)=>{var f;if(((f=l.tabs)==null?void 0:f.length)===1){Wr.info(te.i18nt("designer.hint.lastPaneCannotBeDeleted"));return}return l.tabs.splice(c,1),!0},findTabPaneOfTabs:(l,c)=>{var f;return(f=l.tabs)==null?void 0:f.findIndex(h=>lt.getName(h)===c)},getActiveTab:l=>{var f,h;let c=(f=l==null?void 0:l.tabs)==null?void 0:f[0];return(h=l==null?void 0:l.tabs)==null||h.forEach(d=>{lt.getOptions(d,Kt.isdefault)&&(c=d)}),c},isTabs:l=>(l==null?void 0:l.type)===et.tabs}}function lie(){const t=()=>{let u=It(Un(Gu(et.grid)));return u=qo(u),u},e=()=>{let u=It(Un(Gu(et.gridCol)));return u=qo(u),u},n=u=>{let s=Un(u);return ph(s)};return{initGrid:t,initCloneGrid:u=>{var l;let s=t();return(l=It(u).cols)==null||l.forEach(c=>{let f=n(c);It(s).cols.push(f)}),s},initGridCol:e,initCloneGridCol:n,deleteColOfGrid:(u,s)=>(u&&u.cols&&u.cols.splice(s,1),!0),addNewColOfGrid:u=>{const s=u.cols;let l=e();if(s&&s.length>0){let c=0;s.forEach(f=>{c+=lt.getOptions(f,"span")||0}),c>=24||lt.setOptions(l,"span",24-c>12?12:24-c),u.cols.push(l)}else u.cols=[l];return!0},isGrid:u=>(u==null?void 0:u.type)===et.grid}}function uie(){return{initCloneContCell:a=>{let o=Un(a);return ph(o)},initContCell:(a=Hl.main,o)=>{let i=new Pw;return Zn(i,o),i.partName=new ye(xe.placer,a),i},initCont:()=>{let a=Un(Gu(et.cont));return a.id=a.type+zs(),lt.setName(a,a.id),a},isCont:a=>(a==null?void 0:a.type)===et.cont}}class cie{constructor(){z(this,"size",bo.default);z(this,"layoutType",x5.PC);z(this,"jsonVersion",Ng.pageJsonVersion);z(this,"customClass",new ye(xe.placer,[]));z(this,"componentWrapperClass",new ye(xe.placer,[]));z(this,"pageCreated",new ye(xe.event,void 0,new at));z(this,"pageMounted",new ye(xe.event,void 0,new at));z(this,"cssCode",new ye(xe.placer,void 0,new at));z(this,"functions",new ye(xe.placer,void 0,new at));z(this,"willFetch",new ye(xe.hook,void 0,new at));z(this,"fitFetch",new ye(xe.hook,void 0,new at));z(this,"errorFetch",new ye(xe.hook,void 0,new at));z(this,"didFetch",new ye(xe.hook,void 0,new at));z(this,"schema",new ye(xe.dataObject,[{protocal:qc.URI,name:zr.urlParams,description:te.i18nt("designer.hint.varibaleURL"),isReadonly:!0},{protocal:qc.CONFIG,name:zr.compParams,description:te.i18nt("designer.hint.varibaleConfig"),isReadonly:!0}]))}}class fXe extends L0{constructor(){super(...arguments);z(this,"protocal",qc.VALUE);z(this,"name","");z(this,"description","");z(this,"isReadonly",!1)}}const fie=t=>{if(!t)return null;switch(t){case et.anchor:return oB.getKeys();case et.breadcrumb:return cB.getKeys();case et.radio:return qk.getKeys();case et.select:return wo.getKeys();case et.checkbox:return $k.getKeys();case et.image:return wo.getKeys();case et.steps:return pB.getKeys();case et.carousel:return sB.getKeys();case et.collapse:return lB.getKeys();case et.descriptions:return uB.getKeys();case et.dropdown:return aB.getKeys();case et.cascader:return Sw.getKeys();case et.tree:case et.treeSelect:return Jk.getKeys();case et.menu:return fB.getKeys();case et.tabs:return Tw.getKeys();case et.grid:return dB.getKeys();case et.cont:return Pw.getKeys();case et.eltable:return hB.getKeys();case et.model:return vB.getKeys();default:return null}},pie=t=>{if(!t)return null;var e=null;switch(t){case et.anchor:e=new oB,e.title="title";break;case et.breadcrumb:e=new cB;break;case et.radio:e=new qk;break;case et.select:e=new wo;break;case et.checkbox:e=new $k;break;case et.image:e=new wo;break;case et.steps:e=new pB;break;case et.carousel:e=new sB;break;case et.collapse:e=new lB;break;case et.descriptions:e=new uB;break;case et.dropdown:e=new aB;break;case et.tree:case et.treeSelect:e=new Jk;break;case et.cascader:e=new Sw;break;case et.menu:e=new fB;break;case et.cont:e=new Pw;break;case et.tabs:e=new Tw;break;case et.eltable:e=new hB;break;case et.model:e=new vB;break;default:e=null}return e},hie=t=>{if(!t)return null;var e=fie(t);return e?die(e,1,t):null},die=(t,e,n)=>{var r={};if(!t||(t==null?void 0:t.length)<=0)return r;if(n){var a=pie(n);if(a)r=a;else return r}else t==null||t.forEach(o=>{r[o]||(r[o]=null)});return t!=null&&t.includes(Kt.value)&&(r[Kt.value]=String(e)),t!=null&&t.includes(Kt.label)&&(r[Kt.label]=Kt.option+" "+e),t!=null&&t.includes(Kt.children)&&(r[Kt.children]=[]),t!=null&&t.includes(Kt.name)&&(r[Kt.name]=Kt.option+e),r};function Lw(t,e){return{widgetTree:_.computed(()=>_.reactive(FB(t,e)))}}function Rw(t,e){const n=_.computed(()=>{var u;const i=Fw(t,e==null?void 0:e.id);return(i==null?void 0:i.length)<=0&&(e!=null&&e._source)?Fw(t,(u=e==null?void 0:e._source)==null?void 0:u.id):i}),r=_.computed(()=>{var i;return(i=n.value)==null?void 0:i.map(u=>({id:u==null?void 0:u.id,selectable:u.selectable,label:lt.getWidgetTypeName(It(u.type))})).filter(u=>u.id!==(e==null?void 0:e.id))}),{parentForm:a,parentFormId:o}=zB(n.value);return{widgetTree:t,parentForm:a,parentFormId:o,parentTree:r,pathNodes:n}}const zB=t=>{const e=_.computed(()=>{var r;return(r=t==null?void 0:t.find(a=>a.type===et.form))==null?void 0:r.widget}),n=_.computed(()=>{var r;return(r=e==null?void 0:e.value)==null?void 0:r.id});return{parentForm:e,parentFormId:n}};function vie(t,e){const{widget:n}=t,{parentFormId:r}=zB(e),a=_.computed(()=>{var f,h,d;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.size,!1,t)||((d=(h=t==null?void 0:t.designer)==null?void 0:h.pageConfig)==null?void 0:d.size))}),o=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.displayLayout,!1,t))}),i=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelAlign,!1,t))}),u=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelWidth,!1,t))}),s=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelHidden,!1,t))}),l=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelSuffix,!1,t))}),c=_.computed(()=>(n==null?void 0:n.formItemFlag)&&!!r.value);return{displayLayout:o,size:a,labelWidth:u,labelAlign:i,labelSuffix:l,labelHidden:s,formItemFlag:c}}function A1(t){const e=Qk(t),{initHistoryData:n,clearHistoryData:r,emitHistoryChange:a,saveCurrentHistoryStep:o,saveFormContentToStorage:i}=e,{initGridCol:u,isGrid:s}=lie(),{initContCell:l,isCont:c}=uie(),{initTabPane:f,getActiveTab:h,isTabs:d}=VB(),{initTableRow:v,isTable:m}=jB(),p=new cie,g=(Ee=!0)=>{t.widgetList=[],t.pageConfig=Un(p),Ee||n()},y=Ee=>{var Z,W;let Te=t.widgetList.length===0;(W=t.widgetList)==null||W.splice(0,(Z=t.widgetList)==null?void 0:Z.length),t.pageConfig=p,F(),r(),Ee||(Te?o("clearDesigner"):a("clearDesigner"))},x=Ee=>{t.pageWidget=Ee},b=Ee=>aie(t.widgetList,Ee),E=(Ee,Te)=>{Ee&&a(Te)},w=()=>({widgetList:[],pageConfig:i0(p)}),S=()=>({widgetList:i0(t.widgetList),pageConfig:i0(t.pageConfig)}),A=Ee=>{let Te=!1;return y(),Ee&&Ee.widgetList&&(t.widgetList=Ee.widgetList,Te=!0),Ee&&Ee.pageConfig&&(Zn(t.pageConfig,Ee.pageConfig),Te=!0),Te&&B(Ng.pageJsonImported,[]),Te},P=Ee=>{t&&(t.cssClassList=Ee)},C=()=>t==null?void 0:t.cssClassList,D=Ee=>{ye.getValue(t.pageConfig.cssCode)===""&&Ee&&ye.setValue(t.pageConfig,"cssCode",Ee)},O=(Ee=!1,Te)=>FB(t.widgetList,Ee,Te),k=()=>{var Ee=O(!1,$=>!!($!=null&&$.formItemFlag));const Te=($,ue)=>{[et.page,et.form,xe.slot,et.grid,et.gridCol,et.table,et.tableRow,et.tableCol,et.card,et.wrapper,et.cont,et.contCell].includes(ue==null?void 0:ue.type)||ue!=null&&ue.label&&($==null||$.push((ue==null?void 0:ue.label)||"")),ue!=null&&ue.parent&&Te($,ue.parent)};let Z=[];const W=$=>{$==null||$.forEach(ue=>{if(ue.matched){const Ce=[];Te(Ce,ue),ue.label=Ce.reverse().join(".");const ke=Object.assign({},ue);delete ke.children,delete ke.parent,Z.push(ke)}W(ue.children)})};return W(Ee),Z},B=(Ee,Te)=>{Zk.$emit(Ee,Te)},N=(Ee,Te)=>{Zk.$on(Ee,Z=>Te(Z))},M=(Ee,Te,Z)=>{Ee&&(Z&&ea(Ee.options,"label")?lt.setOptions(Ee,"label",Z):Z&&ea(Ee.options,"content")&<.setOptions(Ee,"content",Z))},j=Ee=>{if(!Ee){F();return}t.selectedWidget=Ee},F=()=>{t.selectedWidget=void 0},R=(Ee,Te,Z)=>{const W=Ee==null?void 0:Ee.newIndex,$=Te==null?void 0:Te[W];$&&j($),a(`drag add ${$==null?void 0:$.id}`),Z==null||Z(Te)},G=(Ee,Te)=>{},L=(Ee,Te,Z)=>{a("drag update"),Z==null||Z(Te)},V=(Ee,Te,Z)=>{a("drag remove"),Z==null||Z(Te)},K=Ee=>!0,Y=Ee=>{var W,$;let Te=It(Un(Ee));if(!Te)return null;if(Te.id=lt.newId(Te.type),ff(Te,Kt.name)&<.setOptions(Te,Kt.name,Te.id),ff(Te,Kt.label)&<.setOptions(Te,Kt.label,lt.getOptions(Te,"label")||((W=Te.type)==null?void 0:W.toLowerCase())),ff(Te,Kt.content)&<.setOptions(Te,Kt.content,lt.getOptions(Te,"content")||(($=Te.type)==null?void 0:$.toLowerCase())),ff(Te,Kt.optionItems)&&(Te==null?void 0:Te.type)!==et.image){var Z=ye.getValue(lt.getOrgOption(Te,Kt.optionItems));Z==null||Z.splice(1,0,hie(Te.type)),ye.setValue(Te==null?void 0:Te.options,Kt.optionItems,Z)}return Te},J=Ee=>{var W,$,ue;let Te=Y(Ee);if(!Te)return;let Z=t.widgetList;t.selectedWidget&&(d(t.selectedWidget)?Z=(W=h(It(t.selectedWidget)))==null?void 0:W.widgetList:($=It(t.selectedWidget))!=null&&$.widgetList&&(Z=(ue=t.selectedWidget)==null?void 0:ue.widgetList)),Z==null||Z.push(Te),j(Te),a(`addFieldByDbClick ${Ee==null?void 0:Ee.id}`)},Q=(Ee,Te)=>{var Z=X(Ee,Te);if(Ee){if(Z===0){Wr.info(te.i18nt("designer.hint.moveUpFirstChildHint"));return}let W=Ee[Z];Ee.splice(Z,1),Ee.splice(Z-1,0,W)}a(`moveUpWidget ${Te==null?void 0:Te.id}`)},ce=(Ee,Te)=>{var Z=X(Ee,Te);if(Ee){if(Z===Ee.length-1){Wr.info(te.i18nt("designer.hint.moveDownLastChildHint"));return}let W=Ee[Z];Ee.splice(Z,1),Ee.splice(Z+1,0,W)}a(`moveDownWidget ${Te==null?void 0:Te.id}`)},se=Ee=>{var W,$,ue,Ce,ke,Ne,Me,Ue,Ve,We;let Te=null,Z=Un(Ee);if(s(Ee))Te=It(Z),(W=Te.cols)==null||W.push(u()),($=Te.cols)==null||$.push(u());else if(c(Ee)){Te=It(Z);const rt=l(Hl.container);(ue=rt.children)==null||ue.push(l(Hl.header));let At=l(Hl.container,{direction:Ls.horizontal});(Ce=At.children)==null||Ce.push(l(Hl.aside,{cellWidth:new ye(xe.placer,"20%")})),(ke=At.children)==null||ke.push(l(Hl.main,{cellWidth:new ye(xe.placer,"80%")})),(Ne=rt.children)==null||Ne.push(At),(Me=rt.children)==null||Me.push(l(Hl.footer)),(Ue=Te.cols)==null||Ue.push(rt)}else m(Ee)?(Te=It(Z),(Ve=Te.rows)==null||Ve.push(v())):d(Ee)?(Te=It(Z),(We=Te.tabs)==null||We.push(f(void 0,!0))):Te=It(Z);return Te.id=lt.newId(Te.type),lt.setName(Te,Te.id),Te},oe=Ee=>{let Te=se(Ee);t.widgetList.push(Te),j(Te),a(`addContainerByDbClick ${Ee==null?void 0:Ee.id}`)},ae=(Ee,Te)=>{var Z=null;if(Ee){Z=ph(Ee,{recordSource:!1});var W=X(Te,Ee);return Te==null||Te.splice(W+1,0,Z),j(Z),a(`cloneWidget ${Ee==null?void 0:Ee.id}`),Z}},ge=(Ee,Te,Z)=>{var W=X(Z,Ee);if(Z){let $=null;Z.length===1?Te&&($=Te):Z.length===1+W?$=Z[W-1]:$=Z[W+1],_.nextTick(()=>{Z.splice(W,1),j($),a(`removeWidget ${Ee==null?void 0:Ee.id}`)})}},X=(Ee,Te)=>!Te||!Ee?-1:Ee==null?void 0:Ee.indexOf(Te),q=(Ee,Te,Z)=>{t&&(j(Ee),B(pn.fieldSelected,Te))},re=Ee=>{Ee?j(Ee):F()},he=Ee=>{var $;const{widgetTree:Te}=Lw(t.widgetList,!0),{pathNodes:Z}=Rw(Te.value,Ee);return($=Z.value)==null?void 0:$[1].widget},de=Ee=>{var $,ue,Ce;const{widgetTree:Te}=Lw(t.widgetList,!0),{pathNodes:Z}=Rw(Te.value,Ee);return((Ce=(ue=($=Z.value)==null?void 0:$[1])==null?void 0:ue.widget)==null?void 0:Ce.widgetList)||t.widgetList};return{...e,initDesigner:g,clearDesigner:y,registerPageWidget:x,setSelected:j,clearSelected:F,updateSelectedWidgetLabel:M,copyNewFieldWidget:Y,copyNewContainerWidget:se,addContainerByDbClick:oe,addFieldByDbClick:J,selectWidget:q,removeSelectedWidget:()=>{const Ee=t.selectedWidget;if(!Ee)return!1;if(Ee!=null&&Ee.internal)return Wr.info(te.i18nt("designer.hint.currentNodeCannotBeSelected")),!1;const Te=he(Ee),Z=de(Ee);return ge(Ee,Te,Z),!0},cloneSelectedWidget:()=>{var Ee;if((Ee=t.selectedWidget)!=null&&Ee.internal){Wr.info(te.i18nt("designer.hint.currentNodeCannotBeSelected"));return}return t.selectedWidget},pasteSelectedWidget:Ee=>{const Te=t.selectedWidget,Z=de(Te);return ae(Ee,Z),!0},selectParentWidget:re,moveUpWidget:Q,moveDownWidget:ce,cloneWidget:ae,removeWidget:ge,checkWidgetMove:K,onWidgetDragAdd:R,onWidgetDragEnd:G,onWidgetDragUpdate:L,onWidgetDragRemove:V,setCssClassList:P,getCssClassList:C,getImportTemplate:w,emitEvent:B,handleEvent:N,loadPageJson:A,getPageJson:S,loadPresetCssCode:D,getNodeTree:O,findTreeNode:RB,findWidgetById:b,findToRootFromNode:Fw,buildFormItemList:k,emitHistoryChangeAfter:E,watchPropAndSaveHistory:Ee=>{Ee&&_.watch(()=>{var Te;return(Te=t==null?void 0:t.selectedWidget)==null?void 0:Te[Ee]},Te=>{i()},{deep:!0})}}}class pl{constructor(){z(this,"formRefList",{});z(this,"globalRefList",{});z(this,"globalDataModel",{});z(this,"globalFormName","");z(this,"rowScope",{});z(this,"globalConfig",{})}static globalInject(){const e=new pl;return e.formRefList=_.inject(zr.refList,{}),e.globalRefList=_.inject(zr.allRefList,{}),e.globalDataModel=_.inject(zr.globalModel,{}),e.rowScope=_.inject(zr.rowScope,{}),e.globalFormName=_.inject(zr.globalForm,""),e.globalConfig=_.inject(zr.globalConfig,{}),e}static globalProvide(e){if((e==null?void 0:e.globalDataModel)!==void 0){const n=(e==null?void 0:e.globalDataModel)||{};_.provide(zr.globalModel,n)}if((e==null?void 0:e.rowScope)!==void 0){const n=(e==null?void 0:e.rowScope)||{};_.provide(zr.rowScope,n)}if((e==null?void 0:e.globalRefList)!==void 0){const n=(e==null?void 0:e.globalRefList)||{};_.provide(zr.allRefList,n)}if((e==null?void 0:e.formRefList)!==void 0){const n=(e==null?void 0:e.formRefList)||{};_.provide(zr.refList,n)}if((e==null?void 0:e.globalFormName)!==void 0){const n=(e==null?void 0:e.globalFormName)||"";_.provide(zr.globalForm,n)}if((e==null?void 0:e.globalConfig)!==void 0){const n=(e==null?void 0:e.globalConfig)||"";_.provide(zr.globalConfig,n)}}}function hl(t){const e=(g,y=!1)=>lt.getOptions(t==null?void 0:t.widget,g,y,!(t!=null&&t.designState)),n=_.computed(()=>e(Kt.ctrlWidth)||"auto"),r=_.computed(()=>e(Kt.ctrlHeight)||"auto"),a=_.computed(()=>e(Kt.displayLayout)),o=_.computed(()=>{var g=e(Kt.customClass);return Array.isArray(g)?g==null?void 0:g.join(" "):g}),i=_.computed(()=>{var g=e(Kt.componentWrapperClass);return Array.isArray(g)?g==null?void 0:g.join(" "):g}),u=_.computed(()=>{var g,y;return(y=It((g=e(Kt.required,!0))==null?void 0:g.options))==null?void 0:y.enable}),s=_.computed(()=>e(Kt.hidden)),l=_.computed(()=>e(Kt.labelTooltip)),c=_.computed(()=>e(Kt.labelIconClass)),f=_.computed(()=>e(Kt.labelIconPosition)),h=_.computed(()=>e(Kt.labelHidden)),d=_.computed(()=>e(Kt.label)),v=_.computed(()=>e(Kt.labelWidth)),m=_.computed(()=>e(Kt.labelAlign));return{attrs:_.computed(()=>({required:u.value,label:d.value,labelHidden:h.value,labelAlign:m.value,labelIconClass:c.value,labelIconPosition:f.value,labelTooltip:l.value,labelWidth:v.value,ctrlWidth:n.value})),labelAlign:m,labelHidden:h,labelIconClass:c,labelIconPosition:f,labelTooltip:l,labelWidth:v,label:d,displayLayout:a,hidden:s,ctrlWidth:n,ctrlHeight:r,customClass:o,componentWrapperClass:i}}const mie=_.defineComponent({__name:"comp-wrapper",props:{...Bi,componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null}},setup(t){const e=t;_.useCssVars(i=>({"3181642b":_.unref(n),"3647b13c":_.unref(r),"09837c9c":_.unref(a)}));const{ctrlWidth:n,ctrlHeight:r,displayLayout:a,hidden:o}=hl(e);return(i,u)=>t.componentName?(_.openBlock(),_.createBlock(_.resolveDynamicComponent(t.componentName),_.mergeProps({key:0,class:[t.componentClass,"comp__1"]},t.componentAttrs),{default:_.withCtx(()=>[_.renderSlot(i.$slots,"default",{},void 0,!0)]),_:3},16,["class"])):_.renderSlot(i.$slots,"default",_.mergeProps({key:1,class:[t.componentClass,"comp__1"]},t.componentAttrs),void 0,!0)}}),pXe="",na=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},UB=na(mie,[["__scopeId","data-v-556cd573"]]),gie={key:0,class:"tipBase tipTopLeft"},yie={key:1,class:"tipBase tipContent"},_ie=_.defineComponent({__name:"drag-wrapper",props:{...Bi,widgetList:{type:Array,default:[]},dragClass:{type:String,default:""},propName:{type:String,default:Kt.widgetList},title:{type:String,default:""},model:{type:Object,default:null},provideModel:{type:Boolean,default:!1},refList:{type:Object,default:null},widgetTree:{type:Object,default:null},dragTip:{type:String,default:te.i18nt("designer.hint.draggableArea")},dragTag:{type:String,default:"div"},componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null},componentStyle:{type:Object,default:null},rowScope:{type:Object,default:null}},emits:["update"],setup(t,{emit:e}){const n=t,{components:r}=tne(),{checkWidgetMove:a,onWidgetDragAdd:o,onWidgetDragUpdate:i,onWidgetDragEnd:u,onWidgetDragRemove:s}=A1(n.designer),l=f=>{e("update",f)},c=_.computed({get:()=>n.widget?tE(n.widget,n.propName):n.widgetList,set:f=>{n.widget?Ho(n.widget,n.propName,f):e("update",f)}});return(Aa(n.model)||n.provideModel)&&pl.globalProvide({globalDataModel:n==null?void 0:n.model}),n.refList&&pl.globalProvide({formRefList:n.refList}),Aa(n.rowScope)&&Aa(n.rowScope)&&pl.globalProvide({rowScope:n.rowScope}),(f,h)=>{const d=_.resolveComponent("draggable");return f.designState===!0?(_.openBlock(),_.createBlock(d,_.mergeProps({key:0,list:_.unref(c),"item-key":"id",group:"dragGroup",class:[t.dragClass,"containerDraggable full-height"],tag:t.dragTag},{chosenClass:"chosen",ghostClass:"ghost",animation:200},{"component-data":{name:"fade"},handle:".drag-handler",onEnd:h[0]||(h[0]=v=>_.unref(u)(v,_.unref(c))),onRemove:h[1]||(h[1]=v=>_.unref(s)(v,_.unref(c),l)),onAdd:h[2]||(h[2]=v=>_.unref(o)(v,_.unref(c),l)),onUpdate:h[3]||(h[3]=v=>_.unref(i)(v,_.unref(c),l)),move:_.unref(a)}),{header:_.withCtx(()=>[_.renderSlot(f.$slots,"header",{},void 0,!0)]),item:_.withCtx(({element:v,index:m})=>[_.createVNode(UB,_.mergeProps({widget:v,designer:f.designer,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget,class:t.componentClass},t.componentAttrs,{style:t.componentStyle,componentName:t.componentName}),{default:_.withCtx(()=>[(_.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(r)(v)),{designer:f.designer,widget:v,key:v.id,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","class","style","componentName"])]),footer:_.withCtx(()=>[_.renderSlot(f.$slots,"footer",{},void 0,!0),_.renderSlot(f.$slots,"tip",{},()=>{var v,m;return[((v=_.unref(c))==null?void 0:v.length)<=0&&t.title?(_.openBlock(),_.createElementBlock("div",gie,_.toDisplayString(t.title),1)):_.createCommentVNode("",!0),((m=_.unref(c))==null?void 0:m.length)<=0&&t.dragTip?(_.openBlock(),_.createElementBlock("div",yie,_.toDisplayString(t.dragTip),1)):_.createCommentVNode("",!0)]},!0)]),_:3},16,["list","class","tag","move"])):(_.openBlock(!0),_.createElementBlock(_.Fragment,{key:1},_.renderList(_.unref(c),(v,m)=>(_.openBlock(),_.createBlock(UB,_.mergeProps({key:v.id,widget:v,designer:f.designer,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget,componentName:t.componentName,class:t.componentClass},t.componentAttrs,{style:t.componentStyle}),{default:_.withCtx(()=>[(_.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(r)(v)),{designer:f.designer,widget:v,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","class","style"]))),128))}}}),hXe="",Ar=na(_ie,[["__scopeId","data-v-42621552"]]);function T1(){const t={},e=(a,o)=>{var i,u,s,l;return a?!!((i=a==null?void 0:a.proxy)!=null&&i.$options&&((s=(u=a==null?void 0:a.proxy)==null?void 0:u.$options)==null?void 0:s.componentName)===o||a!=null&&a.exposed&&((l=a==null?void 0:a.exposed)==null?void 0:l.componentName)===o):!1},n=(a,o,i)=>{a&&Sr(a).forEach(u=>{e(a[u],o)&&(i==null||i(a[u]))})},r=(a,o,i)=>{a&&(e(a,o)?i==null||i(a):r(a.parent,o,i))};return{emit$(a,o){t[a]&&t[a].forEach(i=>{i(o)})},on$(a,o){t[a]=t[a]||[],t[a].push(o)},off$(a,o){if(t[a]){if(lr(o)){t[a].length=0;return}for(let i=0;i<t[a].length;i++)if(t[a][i]===o){t[a].splice(i,1);break}}},dispatch(a,o,i,u){if(!a)return;let s=u.parent||u.root;r(s,a,l=>{var c;l&&(l.exposed.emit$&&l.exposed.emit$(o,i),l!=null&&l.proxy&&((c=l==null?void 0:l.proxy)==null||c.$emit(o,i)))})},broadcast(a,o,i,u,s=[]){s==null||s.forEach(l=>{n(u[l],a,c=>{c.emit$&&c.emit$.call(c,o,i)})})}}}function bie(){return{onMountedOrActivated:n=>{let r=!1;_.onMounted(()=>{n(),_.nextTick(()=>{r=!0})}),_.onActivated(()=>{r&&n()})},onCompErrorCaptured:()=>{_.onErrorCaptured(n=>(Ii.error("onCompErrorCaptured",n),!1))}}}function jw(t,e){const{getWidgetOption:n,getWidgetOptionByPropValue:r}=Zo(t,e),a=i=>n(i);return{existFunc:a,handleFunc:(i,u)=>{if(xi(i)){var s=a(String(i));return Wp(s,u)}else{var s=r(It(i));return Wp(s,u)}}}}class U0{constructor(e){z(this,"refList",{});e&&(this.refList=e)}initRefList(){this.refList||(this.refList={})}getWidgetRef(e){if(e)return this.initRefList(),this.refList[e]}setWidgetRef(e,n){e&&(this.initRefList(),this.refList[e]=n)}removeWidgetRef(e){e&&this.refList&&delete this.refList[e.toString()]}}const Vw="",zw="_",HB=(t,e)=>lr(e)?t||"":`${Vw}${t}${zw}${e}`,Xu=t=>{if(t!=null&&t.includes(zw)){var e=t.split(zw);const n=e==null?void 0:e[0].substring(Vw.length),r=t.substring(Vw.length+n.length+1);return{id:n,groupName:r}}return{id:t}};var H0=(t=>(t[t.None=0]="None",t[t.Inner2Inner=1]="Inner2Inner",t[t.Inner2Outer=2]="Inner2Outer",t[t.Outer2Inner=3]="Outer2Inner",t[t.Outer2Outer=4]="Outer2Outer",t[t.DiffInner=5]="DiffInner",t))(H0||{});const xie=(t,e)=>{const n=Xu(t),r=n==null?void 0:n.groupName,a=Xu(e),o=a==null?void 0:a.groupName;return!r&&!o?4:r&&!o?2:r&&o?r!==o?5:1:!r&&o?3:0};function Yu(t){t||(t={});const e=new U0(t),{instance:n}=Ha(),r=d=>e.getWidgetRef(d==null?void 0:d.toString()),a=(d,v,m)=>{var p=[],g=[];let y=r(d);return y&&p.push(y),p==null||p.forEach(x=>{var b=i(x,v,m);b&&g.push(b)}),g},o=(d,v)=>{var m;return(m=d==null?void 0:d.exposed)==null?void 0:m[v.toString()]},i=(d,v,m)=>{var p=o(d,v);if(p){var g=[];return m&&(g=Object.values(m)),p(...g)}},u=(d,v,m)=>{var p=[];if(d){var g=It(Ur(d,!0));g==null||g.forEach(y=>{var x=a(y,v,m);lr(x)||p.push(x)})}return Array.isArray(d)?p:p==null?void 0:p[0]},s=(d,v)=>{let m=Sr(t);u(m,d,v)},l=(d,v)=>{var b,E,w;const m=(E=(b=v||n)==null?void 0:b.exposed)==null?void 0:E.getField();var p=Xu(m==null?void 0:m.id);const g=S=>(S==null?void 0:S.id)===d,y=S=>{var P;var A=Xu(S==null?void 0:S.id);return(p==null?void 0:p.groupName)===(A==null?void 0:A.groupName)&&((A==null?void 0:A.id)===d||((P=S==null?void 0:S._source)==null?void 0:P.id)===d)},x=(w=Sr(e.refList))==null?void 0:w.find(S=>{var P,C;try{const D=(C=(P=e.refList[S])==null?void 0:P.exposed)==null?void 0:C.getField();var A=g(D);return!A&&(p!=null&&p.groupName)&&(A=y(D)),A}catch{return!1}});if(x)return r(x)},c=d=>{if(d){let v=d;e==null||e.setWidgetRef(v,n)}},f=d=>{if(d){let v=d;e==null||e.removeWidgetRef(v)}};return{findWidgetAndCall:a,getWidgetRef:r,callWidgetsExposed:u,callRefFunc:i,existRefFunc:o,setAllRefList:s,findRefById:l,findRefByName:r,changeRegisterToRefList:(d,v)=>{d&&(c(d),f(v))},registerToRefList:c,unregisterFromRefList:f}}const ra=(t,e=!0,n)=>{if(n!=null&&n===!1)return[];const r=Uw(t);return e||(t==null?void 0:t.length)<=0?r:r==null?void 0:r.filter(a=>{var o;return!!(a!=null&&a.widgetList)&&((o=a==null?void 0:a.widgetList)==null?void 0:o.length)>0||!!a.default||(a==null?void 0:a.slotName)===Vo.default})},ha=(t,e)=>t==null?void 0:t.find(n=>(n==null?void 0:n.slotName)===e),Uw=t=>It(t);function Hw(t,e){const n=e==null?void 0:e.pageConfig,r=e==null?void 0:e.formData,a=_.reactive({});Zn(a,r);var{instance:o}=Ha();const i=()=>{var c=oie(t);c==null||c.forEach(f=>{const{computedDefaultValue:h,fieldName:d,hasDefaultValue:v}=Zo(f.field,e,{s_fieldName:!0},o);d.value&&v()&&Ta(h()).then(m=>{Zn(a,{[d.value]:m})})})},u=()=>{Mg(a)};return{formModel:a,pageConfig:n,widgetList:t,initData:i,setData:(c,f=!0)=>{f&&u(),Zn(a,c)},getData:()=>UD(a),clearData:u}}function D1(){const t=(o,i)=>ph(o,{newName:!0,recordSource:!0},(u,s)=>HB(u||s,i)),e=(o,i,u)=>{var h,d;Wi(u)&&(u=`${(h=g0())==null?void 0:h.substring(0,5)}_${!Wi(i==null?void 0:i.$index)&&(i==null?void 0:i.$index)>=0?i==null?void 0:i.$index:""}`);var s=ra(o,!0);let l=s==null?void 0:s.map(v=>t(v,u));const c=a(l),{updateFomulaName:f}=Nu();return(d=Sr(c))==null||d.forEach(v=>{const m=c[v],p=m==null?void 0:m.name;l=f(l,p,v)}),{widget:l,id:u,key:zs(),data:i}},n=(o,i)=>{if(o||(o=[]),i&&(o==null?void 0:o.length)<i){const l=i-(o==null?void 0:o.length);for(var u=0;u<l;u++){var s={};o==null||o.push(s)}}return o},r=(o,i,u,s)=>{if(Array.isArray(i))return i=n(i,u),i==null?void 0:i.map((l,c)=>{const f=s?s(l,c):l;return e(o,f,c+"")})},a=(o,i)=>{let u={};return o&&C1(o,s=>{const l=lt.getName(s),c=()=>{l&&(u[l]=s==null?void 0:s._source)};i?i(s)&&c():c()}),u};return{newSlot:e,reflectTargetWithSourceOne:a,getSlotFromData:r,getMinRowData:n,parseGroupId:Xu,formatGroupId:HB}}function Gw(t){const e=t==null?void 0:t.fieldName,n=t==null?void 0:t.setValue,r=_.reactive({}),a=_.reactive([]),{newSlot:o,reflectTargetWithSourceOne:i,getSlotFromData:u,getMinRowData:s}=D1(),l=(w,S)=>{var C;let A={};const P=i(S);return(C=Sr(w))==null||C.map(D=>{var k,B,N;const O=(k=P==null?void 0:P[D])==null?void 0:k.name;O&&(A[O]=w==null?void 0:w[D],(N=(B=Sr(w))==null?void 0:B.filter(M=>M.startsWith(D+"_")))==null||N.forEach(M=>{A[M==null?void 0:M.replace(D,O)]=w==null?void 0:w[M]}))}),A},c=(w,S)=>{var C,D;let A={};if(Aa(w)){const O=i(S,k=>!!(k!=null&&k.formItemFlag));(C=Sr(O))==null||C.map(k=>{var B;k&&(A[k]=w==null?void 0:w[(B=O==null?void 0:O[k])==null?void 0:B.name])})}else{var P={pageConfig:(D=t==null?void 0:t.designer)==null?void 0:D.pageConfig,formData:A,designState:t==null?void 0:t.designState};const{formModel:O,initData:k}=Hw(S,P);k(),Zn(A,O)}return A},f=(w,S)=>{const A=c(S,w.widget);return Zn(r,A),A},h=w=>{var S;(S=Sr(r))==null||S.forEach(A=>{const P=Xu(A);(P==null?void 0:P.groupName)==w.id&&delete r[A]})},d=()=>a==null?void 0:a.map(S=>l(r,S==null?void 0:S.widget)),v=(w,S)=>{Mg(r);const A=S(w);return A==null||A.forEach(P=>{const C=c(P==null?void 0:P.data,P==null?void 0:P.widget);Zn(r,C)}),a.splice(0,a.length),A&&A.length>0&&a.push(...A),a},m=w=>{var A;var S=hl({...t,widget:w});return(A=S.attrs)==null?void 0:A.value},p=(w,S,A)=>sie(w,S,a,A),{off$:g,on$:y,emit$:x}=T1(),b=()=>{g(pn.fieldChange),y(pn.fieldChange,w=>{var S;n==null||n(d()),(S=t==null?void 0:t.fieldChanged)==null||S.call(t)})};return(()=>{const w=e;pl.globalProvide({globalFormName:w,globalDataModel:r}),b()})(),{getSlotFromData:u,getMinRowData:s,fromModel:c,toModel:l,newSlot:o,getWidgetOption:m,newFieldModelFromSlot:f,removeFieldModelFromSlot:h,getValue:d,setValue:v,findWidgetByNameWithSibId:p,emit$:x,formModel:r,rowsData:a}}const Eie=(t,e,n,r)=>{const a=new U0(t),{callRefFunc:o}=Yu(t),{parseGroupId:i}=D1();if(!t||t.length<=0||!e)return;const u=()=>{var y,x;return(x=(y=Sr(t))==null?void 0:y.map(b=>o(t==null?void 0:t[b],Mi.getField)))==null?void 0:x.filter(b=>!!b)},s=y=>{var w;const x=(w=u())==null?void 0:w.find(S=>(S==null?void 0:S.id)===y);if(!x)return;const b=lt.getName(x),E=a.getWidgetRef(b);if(E)return{ref:E,name:b,id:x==null?void 0:x.id}},l=(y,x)=>{if(!Aa(x))return;const b=lt.getName(y),E=a.getWidgetRef(b);if(E){const w=lt.getOptions(y,pn.defaultValue,!1,!(n!=null&&n.designState),{...n,formData:x});if(Aa(w))if(_.isRef(w)){let S=_.watch(()=>w.value,A=>{S==null||S(),o(E,Mi.setValue,{newValue:A})})}else o(E,Mi.setValue,{newValue:w})}},c=(y,x)=>{const b=s(y);if(!b)return;const E=b.name,w=o(b.ref,Mi.getValue),S=o(b.ref,Mi.getCheckedItems),A={};return A[E]=w,w!==void 0&&!Wi(S)&&!x&&(A[`${E}${zo.checkedOptions}`]=S),A},f=(y,x)=>{var E;var b=[];if((E=u())==null||E.forEach(w=>{if(!w)return;const S=w==null?void 0:w.id;var A=S===y;const P=i(S),C=(P==null?void 0:P.id)===y,D=(P==null?void 0:P.groupName)===x;return A||C&&(D||!x)?(b.push(w),!0):!1}),!(!b||b.length<=0))return b==null?void 0:b.map(w=>{var S;return{id:w==null?void 0:w.id,name:(S=w==null?void 0:w._source)==null?void 0:S.name,source:w==null?void 0:w._source}})},h=(y,x)=>{var b=[];if(!y||(y==null?void 0:y.length)<=0)return b;const E=i(e),w=E==null?void 0:E.groupName;return x===H0.Inner2Outer?y==null||y.forEach(S=>{var A=f(S);A&&(A==null?void 0:A.length)>0&&b.push(...A)}):y==null||y.forEach(S=>{var A=f(S,w);A&&(A==null?void 0:A.length)>0&&b.push(...A)}),b},d=(y,x)=>{let b={};if(!y||y.length<=0)return b;if(x===H0.Inner2Outer){var E=VD(y,w=>{var S;return(S=w.source)==null?void 0:S.id});E==null||E.forEach(w=>{var P;const S=w.group[0],A=[];(P=w==null?void 0:w.children)==null||P.forEach(C=>{const D=c(C==null?void 0:C.id,!0);if(Aa(D)){var O=Object.values(It(D));A.push(...O)}}),S&&(b=Object.assign(b,{[S]:A}))})}else y.forEach(w=>{const S=c(w==null?void 0:w.id);Aa(S)&&(b=Object.assign(b,S))});return b},v=y=>{var x={};return y==null||y.forEach(b=>{var E;b!=null&&b.source&&(b!=null&&b.id)&&(x[(E=b==null?void 0:b.source)==null?void 0:E.id]=b==null?void 0:b.id)}),x},m=(y,x,b)=>{if(b===H0.Inner2Inner){const A=i0(x),{updateFomula:P}=Nu(),{buildVariable:C}=k5();var E=v(y);if(Aa(E)){var w=lt.getOrgOption(x,pn.defaultValue),S=P(Jr(w),E,(D,O)=>{var k=E[D];return lr(k)?C(D):C(k)});return lt.setOrgOption(A,pn.defaultValue,Rr(S)),A}}return x},p=y=>{const x=y==null?void 0:y.id;var b=lt.getOrgOption(y,pn.defaultValue);if(b==null)return;const E=xie(e,x);if(E===H0.DiffInner)return;var w=ye.getFormulaRelatedField(b);if(!w||w.length<=0)return;var S=h(w,E);if(!(S!=null&&S.some(P=>P.id===e)))return;const A=d(S,E);l(m(S,y,E),A)};(()=>{var y;(y=u())==null||y.forEach(x=>{p(x)})})()},wie=(t,e,n,r,a)=>{var h;if(a||!Aa(n))return;const{parseGroupId:o}=D1();var i=o(e),u=i==null?void 0:i.groupName;const{callRefFunc:s}=Yu(t),l=(d,v)=>{var b,E,w;const m=(E=(b=Sr(t))==null?void 0:b.map(S=>s(t==null?void 0:t[S],Mi.getField)))==null?void 0:E.filter(S=>!!S),p=(w=fh(m,S=>{var A=o(S==null?void 0:S.id);return(!u||(A==null?void 0:A.groupName)===u)&&(A==null?void 0:A.id)===d}))==null?void 0:w[0];if(!p)return;const g=lt.getName(p),x=new U0(t).getWidgetRef(g);x&&(v==null||v(x))},c=Ur(r==null?void 0:r.newValue,!0),f=(h=Sr(n))==null?void 0:h.filter(d=>c==null?void 0:c.includes(d));!f||f.length<=0||f==null||f.forEach(d=>{var m,p;const v=(m=n==null?void 0:n[d])==null?void 0:m.result;(p=Sr(v))==null||p.forEach(g=>{var x;const y=v==null?void 0:v[g];(x=y==null?void 0:y.ids)==null||x.forEach(b=>{l(b,E=>{s(E,y==null?void 0:y.event,y==null?void 0:y.args)})})})})};function GB(t,e){var n;return(n=t==null?void 0:t.classList)!=null&&n.contains(e)?t:t!=null&&t.parentElement?GB(t==null?void 0:t.parentElement,e):null}function Sie(){const t=l=>{if(l)return l!=null&&l.ref?l==null?void 0:l.ref:l},e=l=>{var c,f;try{(f=(c=t(l))==null?void 0:c.focus)==null||f.call(c)}catch(h){Ii.error("focus",h,l)}},n=l=>{var c,f;try{(f=(c=t(l))==null?void 0:c.blur)==null||f.call(c)}catch(h){Ii.error("blur",h,l)}},r=l=>{var c;return(c=t(l))==null?void 0:c.selectionStart},a=l=>{var c;return(c=t(l))==null?void 0:c.selectionEnd},o=(l,c)=>{var f;return(f=t(l))==null?void 0:f.setSelectionRange(c,c)},i=(l,c)=>{e(l),o(l,c)};return{getSelectionStart:r,getSelectionEnd:a,setSelectionStart:o,blur:n,focus:e,setMousePos:i,getMousePos:l=>r(l),insertOnMousePos:(l,c,f)=>{const h=r(l),d=a(l),v=OY(f,c,h,d);return _.nextTick(()=>{i(l,h+(c==null?void 0:c.length))}),v}}}const WB=t=>{var n;const{getFormulaFields:e}=Nu();return((n=e(Jr(t)))==null?void 0:n.length)>0},pf=t=>{const e=t.type;//![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
|
|
90
|
+
`;break;case"r":n+="\r";break;case"t":n+=" ";break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;default:n+=i}else n+=i}return o||this.throwError('Unclosed quote after "'+n+'"'),{type:t.LITERAL,value:n,raw:this.expr.substring(r,this.index)}}},{key:"gobbleIdentifier",value:function(){var n=this.code,r=this.index;for(t.isIdentifierStart(n)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(n=this.code,t.isIdentifierPart(n));)this.index++;return{type:t.IDENTIFIER,name:this.expr.slice(r,this.index)}}},{key:"gobbleArguments",value:function(n){for(var r=[],a=!1,o=0;this.index<this.expr.length;){this.gobbleSpaces();var i=this.code;if(i===n){a=!0,this.index++,n===t.CPAREN_CODE&&o&&o>=r.length&&this.throwError("Unexpected token "+String.fromCharCode(n));break}else if(i===t.COMMA_CODE){if(this.index++,o++,o!==r.length){if(n===t.CPAREN_CODE)this.throwError("Unexpected token ,");else if(n===t.CBRACK_CODE)for(var u=r.length;u<o;u++)r.push(null)}}else if(r.length!==o&&o!==0)this.throwError("Expected comma");else{var s=this.gobbleExpression();(!s||s.type===t.COMPOUND)&&this.throwError("Expected comma"),r.push(s)}}return a||this.throwError("Expected "+String.fromCharCode(n)),r}},{key:"gobbleGroup",value:function(){this.index++;var n=this.gobbleExpressions(t.CPAREN_CODE);if(this.code===t.CPAREN_CODE)return this.index++,n.length===1?n[0]:n.length?{type:t.SEQUENCE_EXP,expressions:n}:!1;this.throwError("Unclosed (")}},{key:"gobbleArray",value:function(){return this.index++,{type:t.ARRAY_EXP,elements:this.gobbleArguments(t.CBRACK_CODE)}}}],[{key:"version",get:function(){return"1.3.8"}},{key:"toString",value:function(){return"JavaScript Expression Parser (JSEP) v"+t.version}},{key:"addUnaryOp",value:function(n){return t.max_unop_len=Math.max(n.length,t.max_unop_len),t.unary_ops[n]=1,t}},{key:"addBinaryOp",value:function(n,r,a){return t.max_binop_len=Math.max(n.length,t.max_binop_len),t.binary_ops[n]=r,a?t.right_associative.add(n):t.right_associative.delete(n),t}},{key:"addIdentifierChar",value:function(n){return t.additional_identifier_chars.add(n),t}},{key:"addLiteral",value:function(n,r){return t.literals[n]=r,t}},{key:"removeUnaryOp",value:function(n){return delete t.unary_ops[n],n.length===t.max_unop_len&&(t.max_unop_len=t.getMaxKeyLen(t.unary_ops)),t}},{key:"removeAllUnaryOps",value:function(){return t.unary_ops={},t.max_unop_len=0,t}},{key:"removeIdentifierChar",value:function(n){return t.additional_identifier_chars.delete(n),t}},{key:"removeBinaryOp",value:function(n){return delete t.binary_ops[n],n.length===t.max_binop_len&&(t.max_binop_len=t.getMaxKeyLen(t.binary_ops)),t.right_associative.delete(n),t}},{key:"removeAllBinaryOps",value:function(){return t.binary_ops={},t.max_binop_len=0,t}},{key:"removeLiteral",value:function(n){return delete t.literals[n],t}},{key:"removeAllLiterals",value:function(){return t.literals={},t}},{key:"parse",value:function(n){return new t(n).parse()}},{key:"getMaxKeyLen",value:function(n){return Math.max.apply(Math,[0].concat(Bw(Object.keys(n).map(function(r){return r.length}))))}},{key:"isDecimalDigit",value:function(n){return n>=48&&n<=57}},{key:"binaryPrecedence",value:function(n){return t.binary_ops[n]||0}},{key:"isIdentifierStart",value:function(n){return n>=65&&n<=90||n>=97&&n<=122||n>=128&&!t.binary_ops[String.fromCharCode(n)]||t.additional_identifier_chars.has(String.fromCharCode(n))}},{key:"isIdentifierPart",value:function(n){return t.isIdentifierStart(n)||t.isDecimalDigit(n)}}])}(),Xre=new Wre;Object.assign(es,{hooks:Xre,plugins:new Kre(es),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},right_associative:new Set,additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),es.max_unop_len=es.getMaxKeyLen(es.unary_ops),es.max_binop_len=es.getMaxKeyLen(es.binary_ops);var uh=function(e){return new es(e).parse()},Yre=Object.getOwnPropertyNames(es);Yre.forEach(function(t){uh[t]===void 0&&t!=="prototype"&&(uh[t]=es[t])}),uh.Jsep=es;var Jre="ConditionalExpression",Zre={name:"ternary",init:function(e){e.hooks.add("after-expression",function(r){if(r.node&&this.code===e.QUMARK_CODE){this.index++;var a=r.node,o=this.gobbleExpression();if(o||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var i=this.gobbleExpression();if(i||this.throwError("Expected expression"),r.node={type:Jre,test:a,consequent:o,alternate:i},a.operator&&e.binary_ops[a.operator]<=.9){for(var u=a;u.right.operator&&e.binary_ops[u.right.operator]<=.9;)u=u.right;r.node.test=u.right,u.right=r.node,r.node=a}}else this.throwError("Expected :")}})}};uh.plugins.register(Zre);var BB=47,Qre=92,qre={name:"regex",init:function(e){e.hooks.add("gobble-token",function(r){if(this.code===BB){for(var a=++this.index,o=!1;this.index<this.expr.length;){if(this.code===BB&&!o){for(var i=this.expr.slice(a,this.index),u="";++this.index<this.expr.length;){var s=this.code;if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57)u+=this.char;else break}var l=void 0;try{l=new RegExp(i,u)}catch(c){this.throwError(c.message)}return r.node={type:e.LITERAL,value:l,raw:this.expr.slice(a-1,this.index)},r.node=this.gobbleTokenProperty(r.node),r.node}this.code===e.OBRACK_CODE?o=!0:o&&this.code===e.CBRACK_CODE&&(o=!1),this.index+=this.code===Qre?2:1}this.throwError("Unclosed Regex")}})}},Nw=43,$re=45,ch={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|="]),updateOperators:[Nw,$re],assignmentPrecedence:.9,init:function(e){var n=[e.IDENTIFIER,e.MEMBER_EXP];ch.assignmentOperators.forEach(function(a){return e.addBinaryOp(a,ch.assignmentPrecedence,!0)}),e.hooks.add("gobble-token",function(o){var i=this,u=this.code;ch.updateOperators.some(function(s){return s===u&&s===i.expr.charCodeAt(i.index+1)})&&(this.index+=2,o.node={type:"UpdateExpression",operator:u===Nw?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!o.node.argument||!n.includes(o.node.argument.type))&&this.throwError("Unexpected ".concat(o.node.operator)))}),e.hooks.add("after-token",function(o){var i=this;if(o.node){var u=this.code;ch.updateOperators.some(function(s){return s===u&&s===i.expr.charCodeAt(i.index+1)})&&(n.includes(o.node.type)||this.throwError("Unexpected ".concat(o.node.operator)),this.index+=2,o.node={type:"UpdateExpression",operator:u===Nw?"++":"--",argument:o.node,prefix:!1})}}),e.hooks.add("after-expression",function(o){o.node&&r(o.node)});function r(a){ch.assignmentOperators.has(a.operator)?(a.type="AssignmentExpression",r(a.left),r(a.right)):a.operator||Object.values(a).forEach(function(o){o&&$o(o)==="object"&&r(o)})}}},Ka=Object.prototype.hasOwnProperty;function Wu(t,e){return t=t.slice(),t.push(e),t}function Mw(t,e){return e=e.slice(),e.unshift(t),e}var eie=function(t){function e(n){var r;return sh(this,e),r=Ire(this,e,['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)']),r.avoidNew=!0,r.value=n,r.name="NewError",r}return Lre(e,t),lh(e)}(kw(Error));function Br(t,e,n,r,a){if(!(this instanceof Br))try{return new Br(t,e,n,r,a)}catch(s){if(!s.avoidNew)throw s;return s.value}typeof t=="string"&&(a=r,r=n,n=e,e=t,t=null);var o=t&&$o(t)==="object";if(t=t||{},this.json=t.json||n,this.path=t.path||e,this.resultType=t.resultType||"value",this.flatten=t.flatten||!1,this.wrap=Ka.call(t,"wrap")?t.wrap:!0,this.sandbox=t.sandbox||{},this.eval=t.eval===void 0?"safe":t.eval,this.ignoreEvalErrors=typeof t.ignoreEvalErrors>"u"?!1:t.ignoreEvalErrors,this.parent=t.parent||null,this.parentProperty=t.parentProperty||null,this.callback=t.callback||r||null,this.otherTypeCallback=t.otherTypeCallback||a||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},t.autostart!==!1){var i={path:o?t.path:e};o?"json"in t&&(i.json=t.json):i.json=n;var u=this.evaluate(i);if(!u||$o(u)!=="object")throw new eie(u);return u}}Br.prototype.evaluate=function(t,e,n,r){var a=this,o=this.parent,i=this.parentProperty,u=this.flatten,s=this.wrap;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=r||this.otherTypeCallback,e=e||this.json,t=t||this.path,t&&$o(t)==="object"&&!Array.isArray(t)){if(!t.path&&t.path!=="")throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Ka.call(t,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');var l=t;e=l.json,u=Ka.call(t,"flatten")?t.flatten:u,this.currResultType=Ka.call(t,"resultType")?t.resultType:this.currResultType,this.currSandbox=Ka.call(t,"sandbox")?t.sandbox:this.currSandbox,s=Ka.call(t,"wrap")?t.wrap:s,this.currEval=Ka.call(t,"eval")?t.eval:this.currEval,n=Ka.call(t,"callback")?t.callback:n,this.currOtherTypeCallback=Ka.call(t,"otherTypeCallback")?t.otherTypeCallback:this.currOtherTypeCallback,o=Ka.call(t,"parent")?t.parent:o,i=Ka.call(t,"parentProperty")?t.parentProperty:i,t=t.path}if(o=o||null,i=i||null,Array.isArray(t)&&(t=Br.toPathString(t)),!(!t&&t!==""||!e)){var c=Br.toPathArray(t);c[0]==="$"&&c.length>1&&c.shift(),this._hasParentSelector=null;var f=this._trace(c,e,["$"],o,i,n).filter(function(h){return h&&!h.isParentSelector});return f.length?!s&&f.length===1&&!f[0].hasArrExpr?this._getPreferredOutput(f[0]):f.reduce(function(h,d){var v=a._getPreferredOutput(d);return u&&Array.isArray(v)?h=h.concat(v):h.push(v),h},[]):s?[]:void 0}},Br.prototype._getPreferredOutput=function(t){var e=this.currResultType;switch(e){case"all":{var n=Array.isArray(t.path)?t.path:Br.toPathArray(t.path);return t.pointer=Br.toPointer(n),t.path=typeof t.path=="string"?t.path:Br.toPathString(t.path),t}case"value":case"parent":case"parentProperty":return t[e];case"path":return Br.toPathString(t[e]);case"pointer":return Br.toPointer(t.path);default:throw new TypeError("Unknown result type")}},Br.prototype._handleCallback=function(t,e,n){if(e){var r=this._getPreferredOutput(t);t.path=typeof t.path=="string"?t.path:Br.toPathString(t.path),e(r,n,t)}},Br.prototype._trace=function(t,e,n,r,a,o,i,u){var s=this,l;if(!t.length)return l={path:n,value:e,parent:r,parentProperty:a,hasArrExpr:i},this._handleCallback(l,o,"value"),l;var c=t[0],f=t.slice(1),h=[];function d(O){Array.isArray(O)?O.forEach(function(k){h.push(k)}):h.push(O)}if((typeof c!="string"||u)&&e&&Ka.call(e,c))d(this._trace(f,e[c],Wu(n,c),e,c,o,i));else if(c==="*")this._walk(e,function(O){d(s._trace(f,e[O],Wu(n,O),e,O,o,!0,!0))});else if(c==="..")d(this._trace(f,e,n,r,a,o,i)),this._walk(e,function(O){$o(e[O])==="object"&&d(s._trace(t.slice(),e[O],Wu(n,O),e,O,o,!0))});else{if(c==="^")return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:f,isParentSelector:!0};if(c==="~")return l={path:Wu(n,c),value:a,parent:r,parentProperty:null},this._handleCallback(l,o,"property"),l;if(c==="$")d(this._trace(f,e,n,null,null,o,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(c))d(this._slice(c,f,e,n,r,a,o));else if(c.indexOf("?(")===0){if(this.currEval===!1)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");var v=c.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),m=/@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])?((?:[\0->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))(?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\)\])['\]]/g.exec(v);m?this._walk(e,function(O){var k=[m[2]],B=m[1]?e[O][m[1]]:e[O],N=s._trace(k,B,n,r,a,o,!0);N.length>0&&d(s._trace(f,e[O],Wu(n,O),e,O,o,!0))}):this._walk(e,function(O){s._eval(v,e[O],O,n,r,a)&&d(s._trace(f,e[O],Wu(n,O),e,O,o,!0))})}else if(c[0]==="("){if(this.currEval===!1)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(Mw(this._eval(c,e,n[n.length-1],n.slice(0,-1),r,a),f),e,n,r,a,o,i))}else if(c[0]==="@"){var p=!1,g=c.slice(1,-2);switch(g){case"scalar":(!e||!["object","function"].includes($o(e)))&&(p=!0);break;case"boolean":case"string":case"undefined":case"function":$o(e)===g&&(p=!0);break;case"integer":Number.isFinite(e)&&!(e%1)&&(p=!0);break;case"number":Number.isFinite(e)&&(p=!0);break;case"nonFinite":typeof e=="number"&&!Number.isFinite(e)&&(p=!0);break;case"object":e&&$o(e)===g&&(p=!0);break;case"array":Array.isArray(e)&&(p=!0);break;case"other":p=this.currOtherTypeCallback(e,n,r,a);break;case"null":e===null&&(p=!0);break;default:throw new TypeError("Unknown value type "+g)}if(p)return l={path:n,value:e,parent:r,parentProperty:a},this._handleCallback(l,o,"value"),l}else if(c[0]==="`"&&e&&Ka.call(e,c.slice(1))){var y=c.slice(1);d(this._trace(f,e[y],Wu(n,y),e,y,o,i,!0))}else if(c.includes(",")){var x=c.split(","),b=Gre(x),E;try{for(b.s();!(E=b.n()).done;){var w=E.value;d(this._trace(Mw(w,f),e,n,r,a,o,!0))}}catch(O){b.e(O)}finally{b.f()}}else!u&&e&&Ka.call(e,c)&&d(this._trace(f,e[c],Wu(n,c),e,c,o,i,!0))}if(this._hasParentSelector)for(var S=0;S<h.length;S++){var A=h[S];if(A&&A.isParentSelector){var P=this._trace(A.expr,e,A.path,r,a,o,i);if(Array.isArray(P)){h[S]=P[0];for(var C=P.length,D=1;D<C;D++)S++,h.splice(S,0,P[D])}else h[S]=P}}return h},Br.prototype._walk=function(t,e){if(Array.isArray(t))for(var n=t.length,r=0;r<n;r++)e(r);else t&&$o(t)==="object"&&Object.keys(t).forEach(function(a){e(a)})},Br.prototype._slice=function(t,e,n,r,a,o,i){if(Array.isArray(n)){var u=n.length,s=t.split(":"),l=s[2]&&Number.parseInt(s[2])||1,c=s[0]&&Number.parseInt(s[0])||0,f=s[1]&&Number.parseInt(s[1])||u;c=c<0?Math.max(0,c+u):Math.min(u,c),f=f<0?Math.max(0,f+u):Math.min(u,f);for(var h=[],d=c;d<f;d+=l){var v=this._trace(Mw(d,e),n,r,a,o,i,!0);v.forEach(function(m){h.push(m)})}return h}},Br.prototype._eval=function(t,e,n,r,a,o){var i=this;this.currSandbox._$_parentProperty=o,this.currSandbox._$_parent=a,this.currSandbox._$_property=n,this.currSandbox._$_root=this.json,this.currSandbox._$_v=e;var u=t.includes("@path");u&&(this.currSandbox._$_path=Br.toPathString(r.concat([n])));var s=this.currEval+"Script:"+t;if(!Br.cache[s]){var l=t.replace(/@parentProperty/g,"_$_parentProperty").replace(/@parent/g,"_$_parent").replace(/@property/g,"_$_property").replace(/@root/g,"_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1");if(u&&(l=l.replace(/@path/g,"_$_path")),this.currEval==="safe"||this.currEval===!0||this.currEval===void 0)Br.cache[s]=new this.safeVm.Script(l);else if(this.currEval==="native")Br.cache[s]=new this.vm.Script(l);else if(typeof this.currEval=="function"&&this.currEval.prototype&&Ka.call(this.currEval.prototype,"runInNewContext")){var c=this.currEval;Br.cache[s]=new c(l)}else if(typeof this.currEval=="function")Br.cache[s]={runInNewContext:function(h){return i.currEval(l,h)}};else throw new TypeError('Unknown "eval" property "'.concat(this.currEval,'"'))}try{return Br.cache[s].runInNewContext(this.currSandbox)}catch(f){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+f.message+": "+t)}},Br.cache={},Br.toPathString=function(t){for(var e=t,n=e.length,r="$",a=1;a<n;a++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[a])||(r+=/^[\*0-9]+$/.test(e[a])?"["+e[a]+"]":"['"+e[a]+"']");return r},Br.toPointer=function(t){for(var e=t,n=e.length,r="",a=1;a<n;a++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[a])||(r+="/"+e[a].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},Br.toPathArray=function(t){var e=Br.cache;if(e[t])return e[t].concat();var n=[],r=t.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]](?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\])/g,function(o,i){return"[#"+(n.push(i)-1)+"]"}).replace(/\[["']((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)["']\]/g,function(o,i){return"['"+i.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(o,i){return";"+i.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,""),a=r.split(";").map(function(o){var i=o.match(/#([0-9]+)/);return!i||!i[1]?o:n[i[1]]});return e[t]=a,e[t].concat()};var tie=function(e,n,r){for(var a=e.length,o=0;o<a;o++){var i=e[o];r(i)&&n.push(e.splice(o--,1)[0])}};uh.plugins.register(qre,ch);var Xr={evalAst:function(e,n){switch(e.type){case"BinaryExpression":case"LogicalExpression":return Xr.evalBinaryExpression(e,n);case"Compound":return Xr.evalCompound(e,n);case"ConditionalExpression":return Xr.evalConditionalExpression(e,n);case"Identifier":return Xr.evalIdentifier(e,n);case"Literal":return Xr.evalLiteral(e,n);case"MemberExpression":return Xr.evalMemberExpression(e,n);case"UnaryExpression":return Xr.evalUnaryExpression(e,n);case"ArrayExpression":return Xr.evalArrayExpression(e,n);case"CallExpression":return Xr.evalCallExpression(e,n);case"AssignmentExpression":return Xr.evalAssignmentExpression(e,n);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression:function(e,n){var r={"||":function(o,i){return o||i()},"&&":function(o,i){return o&&i()},"|":function(o,i){return o|i()},"^":function(o,i){return o^i()},"&":function(o,i){return o&i()},"==":function(o,i){return o==i()},"!=":function(o,i){return o!=i()},"===":function(o,i){return o===i()},"!==":function(o,i){return o!==i()},"<":function(o,i){return o<i()},">":function(o,i){return o>i()},"<=":function(o,i){return o<=i()},">=":function(o,i){return o>=i()},"<<":function(o,i){return o<<i()},">>":function(o,i){return o>>i()},">>>":function(o,i){return o>>>i()},"+":function(o,i){return o+i()},"-":function(o,i){return o-i()},"*":function(o,i){return o*i()},"/":function(o,i){return o/i()},"%":function(o,i){return o%i()}}[e.operator](Xr.evalAst(e.left,n),function(){return Xr.evalAst(e.right,n)});return r},evalCompound:function(e,n){for(var r,a=0;a<e.body.length;a++){e.body[a].type==="Identifier"&&["var","let","const"].includes(e.body[a].name)&&e.body[a+1]&&e.body[a+1].type==="AssignmentExpression"&&(a+=1);var o=e.body[a];r=Xr.evalAst(o,n)}return r},evalConditionalExpression:function(e,n){return Xr.evalAst(e.test,n)?Xr.evalAst(e.consequent,n):Xr.evalAst(e.alternate,n)},evalIdentifier:function(e,n){if(e.name in n)return n[e.name];throw ReferenceError("".concat(e.name," is not defined"))},evalLiteral:function(e){return e.value},evalMemberExpression:function(e,n){var r=e.computed?Xr.evalAst(e.property):e.property.name,a=Xr.evalAst(e.object,n),o=a[r];return typeof o=="function"?o.bind(a):o},evalUnaryExpression:function(e,n){var r={"-":function(o){return-Xr.evalAst(o,n)},"!":function(o){return!Xr.evalAst(o,n)},"~":function(o){return~Xr.evalAst(o,n)},"+":function(o){return+Xr.evalAst(o,n)}}[e.operator](e.argument);return r},evalArrayExpression:function(e,n){return e.elements.map(function(r){return Xr.evalAst(r,n)})},evalCallExpression:function(e,n){var r=e.arguments.map(function(o){return Xr.evalAst(o,n)}),a=Xr.evalAst(e.callee,n);return a.apply(void 0,Bw(r))},evalAssignmentExpression:function(e,n){if(e.left.type!=="Identifier")throw SyntaxError("Invalid left-hand side in assignment");var r=e.left.name,a=Xr.evalAst(e.right,n);return n[r]=a,n[r]}},nie=function(){function t(e){sh(this,t),this.code=e,this.ast=uh(this.code)}return lh(t,[{key:"runInNewContext",value:function(n){var r=Nre({},n);return Xr.evalAst(this.ast,r)}}])}(),rie=function(){function t(e){sh(this,t),this.code=e}return lh(t,[{key:"runInNewContext",value:function(n){var r=this.code,a=Object.keys(n),o=[];tie(a,o,function(c){return typeof n[c]=="function"});var i=a.map(function(c){return n[c]}),u=o.reduce(function(c,f){var h=n[f].toString();return/function/.test(h)||(h="function "+h),"var "+f+"="+h+";"+c},"");r=u+r,!/(["'])use strict\1/.test(r)&&!a.includes("arguments")&&(r="var arguments = undefined;"+r),r=r.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"");var s=r.lastIndexOf(";"),l=s>-1?r.slice(0,s+1)+" return "+r.slice(s+1):" return "+r;return TB(Function,a.concat([l])).apply(void 0,Bw(i))}}])}();Br.prototype.vm={Script:rie},Br.prototype.safeVm={Script:nie};const z0=(t,e)=>{if(!e||!t)return null;var n=Br({json:e,path:t});return n},IB=t=>{var e=[];if(!t)return e;var n=z0("$..widgetList[*]",t);return t.type==et.tabs?(e=t.tabs,e=[...n,...e]):t.type==et.grid&&(e=z0("$..cols[*]",t),e=[...n,...e]),e=[...n],e==null?void 0:e.filter(r=>!!(r!=null&&r.type))},Ku=(t,e,n,r)=>{t==null||t.forEach(a=>{a&&(e==null||e.push(a),!(r!=null&&r(a))&&NB(a,e,n,r))})},NB=(t,e,n,r)=>{var a,o,i,u,s,l,c;if(t.type===et.tabs)(a=t.tabs)==null||a.forEach(f=>{e==null||e.push(f),Ku(f.widgetList,e,n,r)});else if(t.type===et.table)(o=t.rows)==null||o.forEach(f=>{var h;e==null||e.push(f),(h=f==null?void 0:f.cols)==null||h.forEach(d=>{e==null||e.push(d),Ku(d.widgetList,e,n,r)})});else if(t.type===et.grid)(i=t.cols)==null||i.forEach(f=>{e==null||e.push(f),Ku(f.widgetList,e,n,r)});else if(t.type===et.cont){const f=h=>{var d;Ku(h.widgetList,e,n,r),(d=h==null?void 0:h.children)==null||d.map(v=>{f(v)})};(u=t.cols)==null||u.forEach(h=>{f(h)})}else if(((s=t.widgetList)==null?void 0:s.length)>0&&Ku(t.widgetList,e,n,r),!n){const f=(c=(l=Sr(t.options))==null?void 0:l.filter(h=>{var d;return((d=t.options[h])==null?void 0:d.type)===be.slot}))==null?void 0:c.map(h=>t.options[h]);f==null||f.forEach(h=>{Ku(h==null?void 0:h.widgetList,e,n,r)})}},fh=(t,e,n)=>{let r=[];return C1(t,o=>{r.push(o)},e,n),r},C1=(t,e,n,r)=>{if(!t)return;const a=[];Ku(t,a,r),a==null||a.forEach(o=>{n?n(o)&&e(o):e(o)})},iie=(t,e)=>{if(!t)return;const n=fh(t,r=>!!(r!=null&&r.formItemFlag),!0);return n==null||n.forEach(r=>e==null?void 0:e(r)),n},aie=(t,e)=>{if(!e||(t==null?void 0:t.length)<=0)return;const n=fh(t,a=>(a==null?void 0:a.id)===e);return n==null?void 0:n[0]},MB=(t,e)=>fh(t,n=>(n==null?void 0:n.type)===e),oie=(t,e)=>{var a;if(!t)return[];let n=[],r=o=>{o&&(n.find(i=>(i==null?void 0:i.name)===lt.getName(o))||n.push({type:o.type,name:lt.getName(o),field:o}))};return e?(a=z0("$..*[?(@property === 'formItemFlag' && @ === true)]^",t))==null||a.forEach(o=>{r(o)}):iie(t,r),n},Ql=(t,e,n,r=!1,a)=>{var l,c,f,h,d,v,m,p,g;if(!t)return;let o={id:t.id,type:t.type,label:lt.getOptions(t,"label")||lt.getOptions(t,"name")||t.type,widget:r?t:null,parent:e,children:[],matched:!a||(a==null?void 0:a(t))};if(n==null||n.push(o),t.category===void 0)return;if(o.children=[],t.type===et.grid)(l=t==null?void 0:t.cols)==null||l.map(y=>{var b,E;let x={id:y.id,type:y.type,label:lt.getOptions(y,"name")||y.id||y.type,children:[],parent:o,widget:r?y:null};(b=o.children)==null||b.push(x),(E=y.widgetList)==null||E.map(w=>{Ql(w,x,x.children,r,a)})});else if(t.type===et.cont){const y=x=>{var b,E;(b=x.widgetList)==null||b.map(w=>{Ql(w,o,o.children,r,a)}),(E=x==null?void 0:x.children)==null||E.map(w=>y(w))};(c=t==null?void 0:t.cols)==null||c.map(x=>{y(x)})}else if(t.type===et.table)(f=t==null?void 0:t.rows)==null||f.map(y=>{var b,E;let x={id:y.id,type:et.tableRow,label:et.tableRow,selectable:!1,children:[],parent:o,widget:r?y:null};(b=y==null?void 0:y.cols)==null||b.map(w=>{var P;if(w.merged)return;let S=x.children,A={id:w.id,type:et.tableCol,label:et.tableCol,children:[],parent:x,widget:r?w:null};(P=w.widgetList)==null||P.map(C=>{Ql(C,A,A.children,r,a)}),S==null||S.push(A)}),(E=o.children)==null||E.push(x)});else if(t.type===et.tabs)(h=t==null?void 0:t.tabs)==null||h.map(y=>{var b,E;let x={id:y.id,type:y.type,label:lt.getOptions(y,"label")||y.type,children:[],parent:o,widget:r?y:null};(b=o.children)==null||b.push(x),(E=y==null?void 0:y.widgetList)==null||E.map(w=>{Ql(w,x,x.children,r,a)})});else if(t.type===et.eltable){var i=z0("$..widgetList[*]",(d=t.options)==null?void 0:d.optionItems.value);(i==null?void 0:i.length)>0&&(i==null||i.map(y=>{Ql(y,o,o.children,r,a)}))}else t.category===Bu.container&&((v=t==null?void 0:t.widgetList)==null?void 0:v.length)>0&&((m=t==null?void 0:t.widgetList)==null||m.map(y=>{Ql(y,o,o.children,r,a)}));const u=lt.getOptions(t,Kt.widgetList);u&&(u==null||u.map(y=>{Ql(y,o,o.children,r,a)}));const s=(g=(p=Sr(t.options))==null?void 0:p.filter(y=>{var x;return((x=t.options[y])==null?void 0:x.type)===be.slot}))==null?void 0:g.map(y=>t.options[y]);s==null||s.forEach(y=>{var x,b,E;if(((x=y==null?void 0:y.widgetList)==null?void 0:x.length)>0){let w={id:y.slotName+zs(),type:y.type,label:y.slotName||y.type,children:[],parent:o,widget:r?y:null,selectable:!1};(b=o.children)==null||b.push(w),(E=y==null?void 0:y.widgetList)==null||E.map(S=>{Ql(S,w,w.children,r,a)})}})},FB=(t,e=!1,n)=>{const r=[];let a={label:et.page,id:et.page,type:et.page};return t==null||t.forEach(o=>{Ql(o,a,r,e,n)}),Zn(a,{children:r}),[a]},LB=(t,e,n)=>{!t||t.length<=0||t.forEach(r=>{r.id===e?n==null||n(r):LB(r==null?void 0:r.children,e,n)})},RB=(t,e)=>{let n=null;return LB(t,e,r=>{n=r}),n},Fw=(t,e)=>{const n=RB(t,e);let r=[];const a=o=>{o&&(r.push(o),o!=null&&o.parent&&a(o==null?void 0:o.parent))};return a(n),r},ph=(t,e,n)=>{const r=Un(t);return qo(r,e,n),C1([r],a=>{qo(a,e,n)}),r},hh=(t,e,n,r=!1,a)=>{if(!e||(e==null?void 0:e.length)<=0||!n||!t)return;let o=null;for(var i=0;i<(e==null?void 0:e.length);i++){const u=e==null?void 0:e[i];if(u.id&&(o=lt.getOptions(u.widget,n,r,!(a!=null&&a.designState)),o))break}return o},sie=(t,e,n,r)=>{var u;const a=z0("$..widgetList[?(@.id==='"+t+"')]^",Un(n)),o=(u=a==null?void 0:a[0])==null?void 0:u.find(s=>{var l;return((l=s==null?void 0:s._source)==null?void 0:l.name)===e}),i=o==null?void 0:o.id;return r==null?void 0:r(i)};function jB(){const t=k=>lt.getOptions(k,"rowspan")||1,e=k=>lt.getOptions(k,"colspan")||1,n=(k,B)=>{lt.setOptions(k,"rowspan",B)},r=(k,B)=>{lt.setOptions(k,"colspan",B)},a=(k,B,N)=>{let M=Un(k.rows[B]);return A(M),k.rows.splice(N,0,M),!0},o=(k,B)=>(k.rows.forEach(N=>{let M=P();N.cols.splice(B,0,M)}),!0),i=k=>{let B=k.rows.length;return a(k,B-1,B),!0},u=k=>{let B=k.rows[0].cols.length;return o(k,B),!0},s=(k,B,N,M,j)=>{let F=j?B:B+1;if(!j){let G=F,L=!1;for(;G<k.rows.length;)if(k.rows[G].cols[M].merged)G++;else{F=G,L=!0;break}L&&(F=k.rows.length)}a(k,N,F);let R=0;for(;F<k.rows.length-1&&R<k.rows[0].cols.length;){const G=k.rows[F+1].cols[R];if(G.merged){let V=k.rows,K={},Y=0;for(let J=F;J>=0;J--)if(!V[J].cols[R].merged&&t(V[J].cols[R])>1){Y=J,K=V[J].cols[R];break}if(K.options){let J=t(K)+1;f(k.rows,Y,R,e(K),J),R+=e(K)}else R+=1}else R+=e(G)}return!0},l=(k,B,N,M)=>{let j=M?B:B+1;if(!M){let R=j,G=!1;for(;R<k.rows[N].cols.length;){if(k.rows[N].cols[R].merged)R++;else{j=R,G=!0;break}G||(j=k.rows[N].cols.length)}}o(k,j);let F=0;for(;j<k.rows[0].cols.length-1&&F<k.rows.length;){const R=k.rows[F].cols[j+1];if(R.merged){let L=k.rows[F].cols,V={},K=null;for(let Y=j;Y>=0;Y--)if(!L[Y].merged&&e(L[Y])>1){K=Y,V=L[Y];break}if(V.options){let Y=e(V)+1;c(k.rows,F,K,Y,t(V)),F+=t(V)}else F+=1}else F+=t(R)}return!0},c=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++){if(F===B&&R===N){r(k[F].cols[R],M);continue}k[F].cols[R].merged=!0,r(k[F].cols[R],M),k[F].cols[R].widgetList=[]}},f=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++){if(F===B&&R===N){n(k[F].cols[R],j);continue}k[F].cols[R].merged=!0,n(k[F].cols[R],j),k[F].cols[R].widgetList=[]}},h=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++)k[F].cols[R].merged=!1,n(k[F].cols[R],1),r(k[F].cols[R],1)},d=(k,B,N,M,j)=>{for(let F=B;F<B+j;F++)for(let R=N;R<N+M;R++)k[F].cols[R].merged=!1,n(k[F].cols[R],1),r(k[F].cols[R],1)},v=(k,B,N,M)=>{let j=lt.getOptions(k[N].cols[0],"rowspan"),F=!1;for(let G=1;G<k[N].cols.length;G++)if(t(k[N].cols[G])!==j){F=!0;break}if(F)return Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow")),!1;let R=B.filter(G=>!G.merged&&!!G.widgetList&&G.widgetList.length>0);return R&&R.length>0&&R[0].id!==B[0].id&&(!B[0].widgetList||B[0].widgetList.length<=0)&&(B[0].widgetList=Un(R[0].widgetList)),c(k,N,0,B.length,t(B[M])),!0},m=(k,B,N,M,j)=>{let F=M?B:B+t(j),R=M?B-1:B;if(M){let L=R;for(;L>=0;)if(k[L].cols[N].merged)L--;else{R=L;break}}k[F].cols[N].widgetList&&k[F].cols[N].widgetList.length>0&&(!k[R].cols[N].widgetList||k[R].cols[N].widgetList.length===0)&&(k[R].cols[N].widgetList=Un(k[F].cols[N].widgetList));let G=t(k[F].cols[N])*1+t(k[R].cols[N])*1;return f(k,R,N,e(j),G),!0},p=(k,B,N,M)=>{let j=lt.getOptions(k[0].cols[M],"colspan"),F=!1;for(let L=1;L<k.length;L++)if(e(k[L].cols[M])!==j){F=!0;break}if(F)return Wr.info(te.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")),!1;let R=[];k.forEach(L=>{let V=L.cols[M];!V.merged&&V.widgetList&&V.widgetList.length>0&&R.push(V)});let G=k[0].cols[M];return R&&R.length>0&&R[0].id!==G.id&&(!G.widgetList||G.widgetList.length<=0)&&(G.widgetList=Un(R[0].widgetList)),f(k,0,M,e(G),k.length),!0},g=(k,B,N,M,j,F)=>{let R=j?M:M+(lt.getOptions(B[M],"colspan")||1),G=j?M-1:M;if(j){let V=G;for(;V>=0;)if(k[N].cols[V].merged)V--;else{G=V;break}}B[R].widgetList&&B[R].widgetList.length>0&&(!B[G].widgetList||B[G].widgetList.length===0)&&(B[G].widgetList=Un(B[R].widgetList));let L=e(B[R])*1+e(B[G])*1;return c(k,N,G,L,t(F)),!0},y=(k,B,N,M,j)=>(h(k,B,N,M,j),!0),x=(k,B,N,M,j)=>(d(k,B,N,M,j),!0),b=(k,B)=>{let N=!0;if(k.forEach(F=>{e(F.cols[0])!==k[0].cols.length&&(N=!1)}),N)return Wr.info(te.i18nt("designer.hint.lastColCannotBeDeleted")),!1;let M=e(k[0].cols[B]),j=!1;for(let F=1;F<k.length;F++)if(e(k[F].cols[B])!==M){j=!0;break}return j?(Wr.info(te.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(k.forEach(F=>{F.cols.splice(B,M)}),!0)},E=(k,B)=>{let N=!0;if(k[0].cols.forEach(F=>{t(F)!==k.length&&(N=!1)}),N)return Wr.info(te.i18nt("designer.hint.lastRowCannotBeDeleted")),!1;let M=t(k[B].cols[0]),j=!1;for(let F=1;F<k[B].cols.length;F++)if(t(k[B].cols[F])!==M){j=!0;break}return j?(Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1):(k.splice(B,M),!0)},w=(k,B)=>{var R;let N=t(k[B].cols[0]),M=!1;for(let G=1;G<k[B].cols.length;G++)if(t(k[B].cols[G])!==N){M=!0;break}if(M)return Wr.info(te.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1;let j=Un(k[B]);var F=(R=j==null?void 0:j.cols)==null?void 0:R.map(G=>ph(G,{recordSource:!1}));return j.cols=F,k.splice(B+1,0,j),!0},S=(k,B)=>{let N=e(k[0].cols[B]),M=!1;for(let j=1;j<k.length;j++)if(e(k[j].cols[B])!==N){M=!0;break}return M?(Wr.info(te.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(k.forEach(j=>{let F=Un(j.cols[B]);F=ph(F,{recordSource:!1}),j.cols.splice(B+1,0,F)}),!0)},A=k=>{let B=k||{cols:[]};return B=qo({...B,type:et.tableRow,id:""}),B.merged=!1,k?B.cols.forEach(N=>{P(N)}):B.cols.push(P()),B},P=k=>{let B=k||Un(Gu(et.tableCol));return qo(B),B.merged=!1,r(B,1),n(B,1),B.widgetList.length=0,B},C=k=>{let B=k||Un(Gu(et.table));return qo(B),B};return{appendTableRow:i,appendTableCol:u,insertTableRow:s,insertTableCol:l,mergeTableWholeRow:v,mergeTableRow:m,mergeTableCol:g,mergeTableWholeCol:p,undoMergeTableCol:y,undoMergeTableRow:x,deleteTableWholeCol:b,deleteTableWholeRow:E,copyTableWholeRow:w,copyTableWholeCol:S,initTableRow:A,initTable:C,initCloneTable:k=>{let B=C();return It(k).rows.forEach(N=>{let M=It(Un(N));qo(M),M.cols.forEach(j=>{qo(j),j.widgetList=[]}),It(B).rows.push(M)}),B},isTable:k=>(k==null?void 0:k.type)===et.table}}function VB(){const t=()=>{let l=It(Un(Gu(et.tabs)));return l=qo(l),l},e=(l,c)=>{let f=It(Un(Gu(et.tabPane)));var h=qo(f);return l&<.setOptions(h,Kt.label,l),c!==void 0&<.setOptions(h,Kt.isdefault,c),h},n=l=>{var f;let c=t();return(f=It(l).tabs)==null||f.forEach(h=>{var v;let d=r(h);(v=It(c).tabs)==null||v.push(d)}),c},r=l=>{var c=Un(l);return qo(c),lt.setOptions(c,Kt.isdefault,!1),c.widgetList=[],c};return{initTab:t,initCloneTab:n,initTabPane:e,initCloneTabPane:r,addTabPaneOfTabs:(l,c)=>{let f=l==null?void 0:l.tabs;return f||(f=[]),c=c||e(),c&&f.push(c),!0},deleteTabPaneOfTabs:(l,c)=>{var f;if(((f=l.tabs)==null?void 0:f.length)===1){Wr.info(te.i18nt("designer.hint.lastPaneCannotBeDeleted"));return}return l.tabs.splice(c,1),!0},findTabPaneOfTabs:(l,c)=>{var f;return(f=l.tabs)==null?void 0:f.findIndex(h=>lt.getName(h)===c)},getActiveTab:l=>{var f,h;let c=(f=l==null?void 0:l.tabs)==null?void 0:f[0];return(h=l==null?void 0:l.tabs)==null||h.forEach(d=>{lt.getOptions(d,Kt.isdefault)&&(c=d)}),c},isTabs:l=>(l==null?void 0:l.type)===et.tabs}}function lie(){const t=()=>{let u=It(Un(Gu(et.grid)));return u=qo(u),u},e=()=>{let u=It(Un(Gu(et.gridCol)));return u=qo(u),u},n=u=>{let s=Un(u);return ph(s)};return{initGrid:t,initCloneGrid:u=>{var l;let s=t();return(l=It(u).cols)==null||l.forEach(c=>{let f=n(c);It(s).cols.push(f)}),s},initGridCol:e,initCloneGridCol:n,deleteColOfGrid:(u,s)=>(u&&u.cols&&u.cols.splice(s,1),!0),addNewColOfGrid:u=>{const s=u.cols;let l=e();if(s&&s.length>0){let c=0;s.forEach(f=>{c+=lt.getOptions(f,"span")||0}),c>=24||lt.setOptions(l,"span",24-c>12?12:24-c),u.cols.push(l)}else u.cols=[l];return!0},isGrid:u=>(u==null?void 0:u.type)===et.grid}}function uie(){return{initCloneContCell:a=>{let o=Un(a);return ph(o)},initContCell:(a=Hl.main,o)=>{let i=new Pw;return Zn(i,o),i.partName=new ye(be.placer,a),i},initCont:()=>{let a=Un(Gu(et.cont));return a.id=a.type+zs(),lt.setName(a,a.id),a},isCont:a=>(a==null?void 0:a.type)===et.cont}}class cie{constructor(){z(this,"size",bo.default);z(this,"layoutType",x5.PC);z(this,"jsonVersion",Ng.pageJsonVersion);z(this,"customClass",new ye(be.placer,[]));z(this,"componentWrapperClass",new ye(be.placer,[]));z(this,"pageCreated",new ye(be.event,void 0,new at));z(this,"pageMounted",new ye(be.event,void 0,new at));z(this,"cssCode",new ye(be.placer,void 0,new at));z(this,"functions",new ye(be.placer,void 0,new at));z(this,"willFetch",new ye(be.hook,void 0,new at));z(this,"fitFetch",new ye(be.hook,void 0,new at));z(this,"errorFetch",new ye(be.hook,void 0,new at));z(this,"didFetch",new ye(be.hook,void 0,new at));z(this,"schema",new ye(be.dataObject,[{protocal:qc.URI,name:zr.urlParams,description:te.i18nt("designer.hint.varibaleURL"),isReadonly:!0},{protocal:qc.CONFIG,name:zr.compParams,description:te.i18nt("designer.hint.varibaleConfig"),isReadonly:!0}]))}}class fXe extends L0{constructor(){super(...arguments);z(this,"protocal",qc.VALUE);z(this,"name","");z(this,"description","");z(this,"isReadonly",!1)}}const fie=t=>{if(!t)return null;switch(t){case et.anchor:return oB.getKeys();case et.breadcrumb:return cB.getKeys();case et.radio:return qk.getKeys();case et.select:return wo.getKeys();case et.checkbox:return $k.getKeys();case et.image:return wo.getKeys();case et.steps:return pB.getKeys();case et.carousel:return sB.getKeys();case et.collapse:return lB.getKeys();case et.descriptions:return uB.getKeys();case et.dropdown:return aB.getKeys();case et.cascader:return Sw.getKeys();case et.tree:case et.treeSelect:return Jk.getKeys();case et.menu:return fB.getKeys();case et.tabs:return Tw.getKeys();case et.grid:return dB.getKeys();case et.cont:return Pw.getKeys();case et.eltable:return hB.getKeys();case et.model:return vB.getKeys();default:return null}},pie=t=>{if(!t)return null;var e=null;switch(t){case et.anchor:e=new oB,e.title="title";break;case et.breadcrumb:e=new cB;break;case et.radio:e=new qk;break;case et.select:e=new wo;break;case et.checkbox:e=new $k;break;case et.image:e=new wo;break;case et.steps:e=new pB;break;case et.carousel:e=new sB;break;case et.collapse:e=new lB;break;case et.descriptions:e=new uB;break;case et.dropdown:e=new aB;break;case et.tree:case et.treeSelect:e=new Jk;break;case et.cascader:e=new Sw;break;case et.menu:e=new fB;break;case et.cont:e=new Pw;break;case et.tabs:e=new Tw;break;case et.eltable:e=new hB;break;case et.model:e=new vB;break;default:e=null}return e},hie=t=>{if(!t)return null;var e=fie(t);return e?die(e,1,t):null},die=(t,e,n)=>{var r={};if(!t||(t==null?void 0:t.length)<=0)return r;if(n){var a=pie(n);if(a)r=a;else return r}else t==null||t.forEach(o=>{r[o]||(r[o]=null)});return t!=null&&t.includes(Kt.value)&&(r[Kt.value]=String(e)),t!=null&&t.includes(Kt.label)&&(r[Kt.label]=Kt.option+" "+e),t!=null&&t.includes(Kt.children)&&(r[Kt.children]=[]),t!=null&&t.includes(Kt.name)&&(r[Kt.name]=Kt.option+e),r};function Lw(t,e){return{widgetTree:_.computed(()=>_.reactive(FB(t,e)))}}function Rw(t,e){const n=_.computed(()=>{var u;const i=Fw(t,e==null?void 0:e.id);return(i==null?void 0:i.length)<=0&&(e!=null&&e._source)?Fw(t,(u=e==null?void 0:e._source)==null?void 0:u.id):i}),r=_.computed(()=>{var i;return(i=n.value)==null?void 0:i.map(u=>({id:u==null?void 0:u.id,selectable:u.selectable,label:lt.getWidgetTypeName(It(u.type))})).filter(u=>u.id!==(e==null?void 0:e.id))}),{parentForm:a,parentFormId:o}=zB(n.value);return{widgetTree:t,parentForm:a,parentFormId:o,parentTree:r,pathNodes:n}}const zB=t=>{const e=_.computed(()=>{var r;return(r=t==null?void 0:t.find(a=>a.type===et.form))==null?void 0:r.widget}),n=_.computed(()=>{var r;return(r=e==null?void 0:e.value)==null?void 0:r.id});return{parentForm:e,parentFormId:n}};function vie(t,e){const{widget:n}=t,{parentFormId:r}=zB(e),a=_.computed(()=>{var f,h,d;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.size,!1,t)||((d=(h=t==null?void 0:t.designer)==null?void 0:h.pageConfig)==null?void 0:d.size))}),o=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.displayLayout,!1,t))}),i=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelAlign,!1,t))}),u=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelWidth,!1,t))}),s=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelHidden,!1,t))}),l=_.computed(()=>{var f;return It(hh((f=t.designer)==null?void 0:f.widgetList,e,Kt.labelSuffix,!1,t))}),c=_.computed(()=>(n==null?void 0:n.formItemFlag)&&!!r.value);return{displayLayout:o,size:a,labelWidth:u,labelAlign:i,labelSuffix:l,labelHidden:s,formItemFlag:c}}function A1(t){const e=Qk(t),{initHistoryData:n,clearHistoryData:r,emitHistoryChange:a,saveCurrentHistoryStep:o,saveFormContentToStorage:i}=e,{initGridCol:u,isGrid:s}=lie(),{initContCell:l,isCont:c}=uie(),{initTabPane:f,getActiveTab:h,isTabs:d}=VB(),{initTableRow:v,isTable:m}=jB(),p=new cie,g=(Ee=!0)=>{t.widgetList=[],t.pageConfig=Un(p),Ee||n()},y=Ee=>{var Z,W;let Te=t.widgetList.length===0;(W=t.widgetList)==null||W.splice(0,(Z=t.widgetList)==null?void 0:Z.length),t.pageConfig=p,F(),r(),Ee||(Te?o("clearDesigner"):a("clearDesigner"))},x=Ee=>{t.pageWidget=Ee},b=Ee=>aie(t.widgetList,Ee),E=(Ee,Te)=>{Ee&&a(Te)},w=()=>({widgetList:[],pageConfig:i0(p)}),S=()=>({widgetList:i0(t.widgetList),pageConfig:i0(t.pageConfig)}),A=Ee=>{let Te=!1;return y(),Ee&&Ee.widgetList&&(t.widgetList=Ee.widgetList,Te=!0),Ee&&Ee.pageConfig&&(Zn(t.pageConfig,Ee.pageConfig),Te=!0),Te&&B(Ng.pageJsonImported,[]),Te},P=Ee=>{t&&(t.cssClassList=Ee)},C=()=>t==null?void 0:t.cssClassList,D=Ee=>{ye.getValue(t.pageConfig.cssCode)===""&&Ee&&ye.setValue(t.pageConfig,"cssCode",Ee)},O=(Ee=!1,Te)=>FB(t.widgetList,Ee,Te),k=()=>{var Ee=O(!1,$=>!!($!=null&&$.formItemFlag));const Te=($,ue)=>{[et.page,et.form,be.slot,et.grid,et.gridCol,et.table,et.tableRow,et.tableCol,et.card,et.wrapper,et.cont,et.contCell].includes(ue==null?void 0:ue.type)||ue!=null&&ue.label&&($==null||$.push((ue==null?void 0:ue.label)||"")),ue!=null&&ue.parent&&Te($,ue.parent)};let Z=[];const W=$=>{$==null||$.forEach(ue=>{if(ue.matched){const Ce=[];Te(Ce,ue),ue.label=Ce.reverse().join(".");const ke=Object.assign({},ue);delete ke.children,delete ke.parent,Z.push(ke)}W(ue.children)})};return W(Ee),Z},B=(Ee,Te)=>{Zk.$emit(Ee,Te)},N=(Ee,Te)=>{Zk.$on(Ee,Z=>Te(Z))},M=(Ee,Te,Z)=>{Ee&&(Z&&ea(Ee.options,"label")?lt.setOptions(Ee,"label",Z):Z&&ea(Ee.options,"content")&<.setOptions(Ee,"content",Z))},j=Ee=>{if(!Ee){F();return}t.selectedWidget=Ee},F=()=>{t.selectedWidget=void 0},R=(Ee,Te,Z)=>{const W=Ee==null?void 0:Ee.newIndex,$=Te==null?void 0:Te[W];$&&j($),a(`drag add ${$==null?void 0:$.id}`),Z==null||Z(Te)},G=(Ee,Te)=>{},L=(Ee,Te,Z)=>{a("drag update"),Z==null||Z(Te)},V=(Ee,Te,Z)=>{a("drag remove"),Z==null||Z(Te)},K=Ee=>!0,Y=Ee=>{var W,$;let Te=It(Un(Ee));if(!Te)return null;if(Te.id=lt.newId(Te.type),ff(Te,Kt.name)&<.setOptions(Te,Kt.name,Te.id),ff(Te,Kt.label)&<.setOptions(Te,Kt.label,lt.getOptions(Te,"label")||((W=Te.type)==null?void 0:W.toLowerCase())),ff(Te,Kt.content)&<.setOptions(Te,Kt.content,lt.getOptions(Te,"content")||(($=Te.type)==null?void 0:$.toLowerCase())),ff(Te,Kt.optionItems)&&(Te==null?void 0:Te.type)!==et.image){var Z=ye.getValue(lt.getOrgOption(Te,Kt.optionItems));Z==null||Z.splice(1,0,hie(Te.type)),ye.setValue(Te==null?void 0:Te.options,Kt.optionItems,Z)}return Te},J=Ee=>{var W,$,ue;let Te=Y(Ee);if(!Te)return;let Z=t.widgetList;t.selectedWidget&&(d(t.selectedWidget)?Z=(W=h(It(t.selectedWidget)))==null?void 0:W.widgetList:($=It(t.selectedWidget))!=null&&$.widgetList&&(Z=(ue=t.selectedWidget)==null?void 0:ue.widgetList)),Z==null||Z.push(Te),j(Te),a(`addFieldByDbClick ${Ee==null?void 0:Ee.id}`)},Q=(Ee,Te)=>{var Z=X(Ee,Te);if(Ee){if(Z===0){Wr.info(te.i18nt("designer.hint.moveUpFirstChildHint"));return}let W=Ee[Z];Ee.splice(Z,1),Ee.splice(Z-1,0,W)}a(`moveUpWidget ${Te==null?void 0:Te.id}`)},ce=(Ee,Te)=>{var Z=X(Ee,Te);if(Ee){if(Z===Ee.length-1){Wr.info(te.i18nt("designer.hint.moveDownLastChildHint"));return}let W=Ee[Z];Ee.splice(Z,1),Ee.splice(Z+1,0,W)}a(`moveDownWidget ${Te==null?void 0:Te.id}`)},se=Ee=>{var W,$,ue,Ce,ke,Ne,Me,Ue,Ve,We;let Te=null,Z=Un(Ee);if(s(Ee))Te=It(Z),(W=Te.cols)==null||W.push(u()),($=Te.cols)==null||$.push(u());else if(c(Ee)){Te=It(Z);const rt=l(Hl.container);(ue=rt.children)==null||ue.push(l(Hl.header));let At=l(Hl.container,{direction:Ls.horizontal});(Ce=At.children)==null||Ce.push(l(Hl.aside,{cellWidth:new ye(be.placer,"20%")})),(ke=At.children)==null||ke.push(l(Hl.main,{cellWidth:new ye(be.placer,"80%")})),(Ne=rt.children)==null||Ne.push(At),(Me=rt.children)==null||Me.push(l(Hl.footer)),(Ue=Te.cols)==null||Ue.push(rt)}else m(Ee)?(Te=It(Z),(Ve=Te.rows)==null||Ve.push(v())):d(Ee)?(Te=It(Z),(We=Te.tabs)==null||We.push(f(void 0,!0))):Te=It(Z);return Te.id=lt.newId(Te.type),lt.setName(Te,Te.id),Te},oe=Ee=>{let Te=se(Ee);t.widgetList.push(Te),j(Te),a(`addContainerByDbClick ${Ee==null?void 0:Ee.id}`)},ae=(Ee,Te)=>{var Z=null;if(Ee){Z=ph(Ee,{recordSource:!1});var W=X(Te,Ee);return Te==null||Te.splice(W+1,0,Z),j(Z),a(`cloneWidget ${Ee==null?void 0:Ee.id}`),Z}},ge=(Ee,Te,Z)=>{var W=X(Z,Ee);if(Z){let $=null;Z.length===1?Te&&($=Te):Z.length===1+W?$=Z[W-1]:$=Z[W+1],_.nextTick(()=>{Z.splice(W,1),j($),a(`removeWidget ${Ee==null?void 0:Ee.id}`)})}},X=(Ee,Te)=>!Te||!Ee?-1:Ee==null?void 0:Ee.indexOf(Te),q=(Ee,Te,Z)=>{t&&(j(Ee),B(pn.fieldSelected,Te))},re=Ee=>{Ee?j(Ee):F()},he=Ee=>{var $;const{widgetTree:Te}=Lw(t.widgetList,!0),{pathNodes:Z}=Rw(Te.value,Ee);return($=Z.value)==null?void 0:$[1].widget},de=Ee=>{var $,ue,Ce;const{widgetTree:Te}=Lw(t.widgetList,!0),{pathNodes:Z}=Rw(Te.value,Ee);return((Ce=(ue=($=Z.value)==null?void 0:$[1])==null?void 0:ue.widget)==null?void 0:Ce.widgetList)||t.widgetList};return{...e,initDesigner:g,clearDesigner:y,registerPageWidget:x,setSelected:j,clearSelected:F,updateSelectedWidgetLabel:M,copyNewFieldWidget:Y,copyNewContainerWidget:se,addContainerByDbClick:oe,addFieldByDbClick:J,selectWidget:q,removeSelectedWidget:()=>{const Ee=t.selectedWidget;if(!Ee)return!1;if(Ee!=null&&Ee.internal)return Wr.info(te.i18nt("designer.hint.currentNodeCannotBeSelected")),!1;const Te=he(Ee),Z=de(Ee);return ge(Ee,Te,Z),!0},cloneSelectedWidget:()=>{var Ee;if((Ee=t.selectedWidget)!=null&&Ee.internal){Wr.info(te.i18nt("designer.hint.currentNodeCannotBeSelected"));return}return t.selectedWidget},pasteSelectedWidget:Ee=>{const Te=t.selectedWidget,Z=de(Te);return ae(Ee,Z),!0},selectParentWidget:re,moveUpWidget:Q,moveDownWidget:ce,cloneWidget:ae,removeWidget:ge,checkWidgetMove:K,onWidgetDragAdd:R,onWidgetDragEnd:G,onWidgetDragUpdate:L,onWidgetDragRemove:V,setCssClassList:P,getCssClassList:C,getImportTemplate:w,emitEvent:B,handleEvent:N,loadPageJson:A,getPageJson:S,loadPresetCssCode:D,getNodeTree:O,findTreeNode:RB,findWidgetById:b,findToRootFromNode:Fw,buildFormItemList:k,emitHistoryChangeAfter:E,watchPropAndSaveHistory:Ee=>{Ee&&_.watch(()=>{var Te;return(Te=t==null?void 0:t.selectedWidget)==null?void 0:Te[Ee]},Te=>{i()},{deep:!0})}}}class pl{constructor(){z(this,"formRefList",{});z(this,"globalRefList",{});z(this,"globalDataModel",{});z(this,"globalFormName","");z(this,"rowScope",{});z(this,"globalConfig",{})}static globalInject(){const e=new pl;return e.formRefList=_.inject(zr.refList,{}),e.globalRefList=_.inject(zr.allRefList,{}),e.globalDataModel=_.inject(zr.globalModel,{}),e.rowScope=_.inject(zr.rowScope,{}),e.globalFormName=_.inject(zr.globalForm,""),e.globalConfig=_.inject(zr.globalConfig,{}),e}static globalProvide(e){if((e==null?void 0:e.globalDataModel)!==void 0){const n=(e==null?void 0:e.globalDataModel)||{};_.provide(zr.globalModel,n)}if((e==null?void 0:e.rowScope)!==void 0){const n=(e==null?void 0:e.rowScope)||{};_.provide(zr.rowScope,n)}if((e==null?void 0:e.globalRefList)!==void 0){const n=(e==null?void 0:e.globalRefList)||{};_.provide(zr.allRefList,n)}if((e==null?void 0:e.formRefList)!==void 0){const n=(e==null?void 0:e.formRefList)||{};_.provide(zr.refList,n)}if((e==null?void 0:e.globalFormName)!==void 0){const n=(e==null?void 0:e.globalFormName)||"";_.provide(zr.globalForm,n)}if((e==null?void 0:e.globalConfig)!==void 0){const n=(e==null?void 0:e.globalConfig)||"";_.provide(zr.globalConfig,n)}}}function hl(t){const e=(g,y=!1)=>lt.getOptions(t==null?void 0:t.widget,g,y,!(t!=null&&t.designState)),n=_.computed(()=>e(Kt.ctrlWidth)||"auto"),r=_.computed(()=>e(Kt.ctrlHeight)||"auto"),a=_.computed(()=>e(Kt.displayLayout)),o=_.computed(()=>{var g=e(Kt.customClass);return Array.isArray(g)?g==null?void 0:g.join(" "):g}),i=_.computed(()=>{var g=e(Kt.componentWrapperClass);return Array.isArray(g)?g==null?void 0:g.join(" "):g}),u=_.computed(()=>{var g,y;return(y=It((g=e(Kt.required,!0))==null?void 0:g.options))==null?void 0:y.enable}),s=_.computed(()=>e(Kt.hidden)),l=_.computed(()=>e(Kt.labelTooltip)),c=_.computed(()=>e(Kt.labelIconClass)),f=_.computed(()=>e(Kt.labelIconPosition)),h=_.computed(()=>e(Kt.labelHidden)),d=_.computed(()=>e(Kt.label)),v=_.computed(()=>e(Kt.labelWidth)),m=_.computed(()=>e(Kt.labelAlign));return{attrs:_.computed(()=>({required:u.value,label:d.value,labelHidden:h.value,labelAlign:m.value,labelIconClass:c.value,labelIconPosition:f.value,labelTooltip:l.value,labelWidth:v.value,ctrlWidth:n.value})),labelAlign:m,labelHidden:h,labelIconClass:c,labelIconPosition:f,labelTooltip:l,labelWidth:v,label:d,displayLayout:a,hidden:s,ctrlWidth:n,ctrlHeight:r,customClass:o,componentWrapperClass:i}}const mie=_.defineComponent({__name:"comp-wrapper",props:{...Bi,componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null}},setup(t){const e=t;_.useCssVars(i=>({"3181642b":_.unref(n),"3647b13c":_.unref(r),"09837c9c":_.unref(a)}));const{ctrlWidth:n,ctrlHeight:r,displayLayout:a,hidden:o}=hl(e);return(i,u)=>t.componentName?(_.openBlock(),_.createBlock(_.resolveDynamicComponent(t.componentName),_.mergeProps({key:0,class:[t.componentClass,"comp__1"]},t.componentAttrs),{default:_.withCtx(()=>[_.renderSlot(i.$slots,"default",{},void 0,!0)]),_:3},16,["class"])):_.renderSlot(i.$slots,"default",_.mergeProps({key:1,class:[t.componentClass,"comp__1"]},t.componentAttrs),void 0,!0)}}),pXe="",na=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},UB=na(mie,[["__scopeId","data-v-556cd573"]]),gie={key:0,class:"tipBase tipTopLeft"},yie={key:1,class:"tipBase tipContent"},_ie=_.defineComponent({__name:"drag-wrapper",props:{...Bi,widgetList:{type:Array,default:[]},dragClass:{type:String,default:""},propName:{type:String,default:Kt.widgetList},title:{type:String,default:""},model:{type:Object,default:null},provideModel:{type:Boolean,default:!1},refList:{type:Object,default:null},widgetTree:{type:Object,default:null},dragTip:{type:String,default:te.i18nt("designer.hint.draggableArea")},dragTag:{type:String,default:"div"},componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null},componentStyle:{type:Object,default:null},rowScope:{type:Object,default:null}},emits:["update"],setup(t,{emit:e}){const n=t,{components:r}=tne(),{checkWidgetMove:a,onWidgetDragAdd:o,onWidgetDragUpdate:i,onWidgetDragEnd:u,onWidgetDragRemove:s}=A1(n.designer),l=f=>{e("update",f)},c=_.computed({get:()=>n.widget?tE(n.widget,n.propName):n.widgetList,set:f=>{n.widget?Ho(n.widget,n.propName,f):e("update",f)}});return(Aa(n.model)||n.provideModel)&&pl.globalProvide({globalDataModel:n==null?void 0:n.model}),n.refList&&pl.globalProvide({formRefList:n.refList}),Aa(n.rowScope)&&Aa(n.rowScope)&&pl.globalProvide({rowScope:n.rowScope}),(f,h)=>{const d=_.resolveComponent("draggable");return f.designState===!0?(_.openBlock(),_.createBlock(d,_.mergeProps({key:0,list:_.unref(c),"item-key":"id",group:"dragGroup",class:[t.dragClass,"containerDraggable full-height"],tag:t.dragTag},{chosenClass:"chosen",ghostClass:"ghost",animation:200},{"component-data":{name:"fade"},handle:".drag-handler",onEnd:h[0]||(h[0]=v=>_.unref(u)(v,_.unref(c))),onRemove:h[1]||(h[1]=v=>_.unref(s)(v,_.unref(c),l)),onAdd:h[2]||(h[2]=v=>_.unref(o)(v,_.unref(c),l)),onUpdate:h[3]||(h[3]=v=>_.unref(i)(v,_.unref(c),l)),move:_.unref(a)}),{header:_.withCtx(()=>[_.renderSlot(f.$slots,"header",{},void 0,!0)]),item:_.withCtx(({element:v,index:m})=>[_.createVNode(UB,_.mergeProps({widget:v,designer:f.designer,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget,class:t.componentClass},t.componentAttrs,{style:t.componentStyle,componentName:t.componentName}),{default:_.withCtx(()=>[(_.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(r)(v)),{designer:f.designer,widget:v,key:v.id,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","class","style","componentName"])]),footer:_.withCtx(()=>[_.renderSlot(f.$slots,"footer",{},void 0,!0),_.renderSlot(f.$slots,"tip",{},()=>{var v,m;return[((v=_.unref(c))==null?void 0:v.length)<=0&&t.title?(_.openBlock(),_.createElementBlock("div",gie,_.toDisplayString(t.title),1)):_.createCommentVNode("",!0),((m=_.unref(c))==null?void 0:m.length)<=0&&t.dragTip?(_.openBlock(),_.createElementBlock("div",yie,_.toDisplayString(t.dragTip),1)):_.createCommentVNode("",!0)]},!0)]),_:3},16,["list","class","tag","move"])):(_.openBlock(!0),_.createElementBlock(_.Fragment,{key:1},_.renderList(_.unref(c),(v,m)=>(_.openBlock(),_.createBlock(UB,_.mergeProps({key:v.id,widget:v,designer:f.designer,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget,componentName:t.componentName,class:t.componentClass},t.componentAttrs,{style:t.componentStyle}),{default:_.withCtx(()=>[(_.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(r)(v)),{designer:f.designer,widget:v,"design-state":f.designState,"parent-list":_.unref(c),"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","class","style"]))),128))}}}),hXe="",Ar=na(_ie,[["__scopeId","data-v-42621552"]]);function T1(){const t={},e=(a,o)=>{var i,u,s,l;return a?!!((i=a==null?void 0:a.proxy)!=null&&i.$options&&((s=(u=a==null?void 0:a.proxy)==null?void 0:u.$options)==null?void 0:s.componentName)===o||a!=null&&a.exposed&&((l=a==null?void 0:a.exposed)==null?void 0:l.componentName)===o):!1},n=(a,o,i)=>{a&&Sr(a).forEach(u=>{e(a[u],o)&&(i==null||i(a[u]))})},r=(a,o,i)=>{a&&(e(a,o)?i==null||i(a):r(a.parent,o,i))};return{emit$(a,o){t[a]&&t[a].forEach(i=>{i(o)})},on$(a,o){t[a]=t[a]||[],t[a].push(o)},off$(a,o){if(t[a]){if(lr(o)){t[a].length=0;return}for(let i=0;i<t[a].length;i++)if(t[a][i]===o){t[a].splice(i,1);break}}},dispatch(a,o,i,u){if(!a)return;let s=u.parent||u.root;r(s,a,l=>{var c;l&&(l.exposed.emit$&&l.exposed.emit$(o,i),l!=null&&l.proxy&&((c=l==null?void 0:l.proxy)==null||c.$emit(o,i)))})},broadcast(a,o,i,u,s=[]){s==null||s.forEach(l=>{n(u[l],a,c=>{c.emit$&&c.emit$.call(c,o,i)})})}}}function bie(){return{onMountedOrActivated:n=>{let r=!1;_.onMounted(()=>{n(),_.nextTick(()=>{r=!0})}),_.onActivated(()=>{r&&n()})},onCompErrorCaptured:()=>{_.onErrorCaptured(n=>(Ii.error("onCompErrorCaptured",n),!1))}}}function jw(t,e){const{getWidgetOption:n,getWidgetOptionByPropValue:r}=Zo(t,e),a=i=>n(i);return{existFunc:a,handleFunc:(i,u)=>{if(xi(i)){var s=a(String(i));return Wp(s,u)}else{var s=r(It(i));return Wp(s,u)}}}}class U0{constructor(e){z(this,"refList",{});e&&(this.refList=e)}initRefList(){this.refList||(this.refList={})}getWidgetRef(e){if(e)return this.initRefList(),this.refList[e]}setWidgetRef(e,n){e&&(this.initRefList(),this.refList[e]=n)}removeWidgetRef(e){e&&this.refList&&delete this.refList[e.toString()]}}const Vw="",zw="_",HB=(t,e)=>lr(e)?t||"":`${Vw}${t}${zw}${e}`,Xu=t=>{if(t!=null&&t.includes(zw)){var e=t.split(zw);const n=e==null?void 0:e[0].substring(Vw.length),r=t.substring(Vw.length+n.length+1);return{id:n,groupName:r}}return{id:t}};var H0=(t=>(t[t.None=0]="None",t[t.Inner2Inner=1]="Inner2Inner",t[t.Inner2Outer=2]="Inner2Outer",t[t.Outer2Inner=3]="Outer2Inner",t[t.Outer2Outer=4]="Outer2Outer",t[t.DiffInner=5]="DiffInner",t))(H0||{});const xie=(t,e)=>{const n=Xu(t),r=n==null?void 0:n.groupName,a=Xu(e),o=a==null?void 0:a.groupName;return!r&&!o?4:r&&!o?2:r&&o?r!==o?5:1:!r&&o?3:0};function Yu(t){t||(t={});const e=new U0(t),{instance:n}=Ha(),r=d=>e.getWidgetRef(d==null?void 0:d.toString()),a=(d,v,m)=>{var p=[],g=[];let y=r(d);return y&&p.push(y),p==null||p.forEach(x=>{var b=i(x,v,m);b&&g.push(b)}),g},o=(d,v)=>{var m;return(m=d==null?void 0:d.exposed)==null?void 0:m[v.toString()]},i=(d,v,m)=>{var p=o(d,v);if(p){var g=[];return m&&(g=Object.values(m)),p(...g)}},u=(d,v,m)=>{var p=[];if(d){var g=It(Ur(d,!0));g==null||g.forEach(y=>{var x=a(y,v,m);lr(x)||p.push(x)})}return Array.isArray(d)?p:p==null?void 0:p[0]},s=(d,v)=>{let m=Sr(t);u(m,d,v)},l=(d,v)=>{var b,E,w;const m=(E=(b=v||n)==null?void 0:b.exposed)==null?void 0:E.getField();var p=Xu(m==null?void 0:m.id);const g=S=>(S==null?void 0:S.id)===d,y=S=>{var P;var A=Xu(S==null?void 0:S.id);return(p==null?void 0:p.groupName)===(A==null?void 0:A.groupName)&&((A==null?void 0:A.id)===d||((P=S==null?void 0:S._source)==null?void 0:P.id)===d)},x=(w=Sr(e.refList))==null?void 0:w.find(S=>{var P,C;try{const D=(C=(P=e.refList[S])==null?void 0:P.exposed)==null?void 0:C.getField();var A=g(D);return!A&&(p!=null&&p.groupName)&&(A=y(D)),A}catch{return!1}});if(x)return r(x)},c=d=>{if(d){let v=d;e==null||e.setWidgetRef(v,n)}},f=d=>{if(d){let v=d;e==null||e.removeWidgetRef(v)}};return{findWidgetAndCall:a,getWidgetRef:r,callWidgetsExposed:u,callRefFunc:i,existRefFunc:o,setAllRefList:s,findRefById:l,findRefByName:r,changeRegisterToRefList:(d,v)=>{d&&(c(d),f(v))},registerToRefList:c,unregisterFromRefList:f}}const ra=(t,e=!0,n)=>{if(n!=null&&n===!1)return[];const r=Uw(t);return e||(t==null?void 0:t.length)<=0?r:r==null?void 0:r.filter(a=>{var o;return!!(a!=null&&a.widgetList)&&((o=a==null?void 0:a.widgetList)==null?void 0:o.length)>0||!!a.default||(a==null?void 0:a.slotName)===Vo.default})},ha=(t,e)=>t==null?void 0:t.find(n=>(n==null?void 0:n.slotName)===e),Uw=t=>It(t);function Hw(t,e){const n=e==null?void 0:e.pageConfig,r=e==null?void 0:e.formData,a=_.reactive({});Zn(a,r);var{instance:o}=Ha();const i=()=>{var c=oie(t);c==null||c.forEach(f=>{const{computedDefaultValue:h,fieldName:d,hasDefaultValue:v}=Zo(f.field,e,{s_fieldName:!0},o);d.value&&v()&&Ta(h()).then(m=>{Zn(a,{[d.value]:m})})})},u=()=>{Mg(a)};return{formModel:a,pageConfig:n,widgetList:t,initData:i,setData:(c,f=!0)=>{f&&u(),Zn(a,c)},getData:()=>UD(a),clearData:u}}function D1(){const t=(o,i)=>ph(o,{newName:!0,recordSource:!0},(u,s)=>HB(u||s,i)),e=(o,i,u)=>{var h,d;Wi(u)&&(u=`${(h=g0())==null?void 0:h.substring(0,5)}_${!Wi(i==null?void 0:i.$index)&&(i==null?void 0:i.$index)>=0?i==null?void 0:i.$index:""}`);var s=ra(o,!0);let l=s==null?void 0:s.map(v=>t(v,u));const c=a(l),{updateFomulaName:f}=Nu();return(d=Sr(c))==null||d.forEach(v=>{const m=c[v],p=m==null?void 0:m.name;l=f(l,p,v)}),{widget:l,id:u,key:zs(),data:i}},n=(o,i)=>{if(o||(o=[]),i&&(o==null?void 0:o.length)<i){const l=i-(o==null?void 0:o.length);for(var u=0;u<l;u++){var s={};o==null||o.push(s)}}return o},r=(o,i,u,s)=>{if(Array.isArray(i))return i=n(i,u),i==null?void 0:i.map((l,c)=>{const f=s?s(l,c):l;return e(o,f,c+"")})},a=(o,i)=>{let u={};return o&&C1(o,s=>{const l=lt.getName(s),c=()=>{l&&(u[l]=s==null?void 0:s._source)};i?i(s)&&c():c()}),u};return{newSlot:e,reflectTargetWithSourceOne:a,getSlotFromData:r,getMinRowData:n,parseGroupId:Xu,formatGroupId:HB}}function Gw(t){const e=t==null?void 0:t.fieldName,n=t==null?void 0:t.setValue,r=_.reactive({}),a=_.reactive([]),{newSlot:o,reflectTargetWithSourceOne:i,getSlotFromData:u,getMinRowData:s}=D1(),l=(w,S)=>{var C;let A={};const P=i(S);return(C=Sr(w))==null||C.map(D=>{var k,B,N;const O=(k=P==null?void 0:P[D])==null?void 0:k.name;O&&(A[O]=w==null?void 0:w[D],(N=(B=Sr(w))==null?void 0:B.filter(M=>M.startsWith(D+"_")))==null||N.forEach(M=>{A[M==null?void 0:M.replace(D,O)]=w==null?void 0:w[M]}))}),A},c=(w,S)=>{var C,D;let A={};if(Aa(w)){const O=i(S,k=>!!(k!=null&&k.formItemFlag));(C=Sr(O))==null||C.map(k=>{var B;k&&(A[k]=w==null?void 0:w[(B=O==null?void 0:O[k])==null?void 0:B.name])})}else{var P={pageConfig:(D=t==null?void 0:t.designer)==null?void 0:D.pageConfig,formData:A,designState:t==null?void 0:t.designState};const{formModel:O,initData:k}=Hw(S,P);k(),Zn(A,O)}return A},f=(w,S)=>{const A=c(S,w.widget);return Zn(r,A),A},h=w=>{var S;(S=Sr(r))==null||S.forEach(A=>{const P=Xu(A);(P==null?void 0:P.groupName)==w.id&&delete r[A]})},d=()=>a==null?void 0:a.map(S=>l(r,S==null?void 0:S.widget)),v=(w,S)=>{Mg(r);const A=S(w);return A==null||A.forEach(P=>{const C=c(P==null?void 0:P.data,P==null?void 0:P.widget);Zn(r,C)}),a.splice(0,a.length),A&&A.length>0&&a.push(...A),a},m=w=>{var A;var S=hl({...t,widget:w});return(A=S.attrs)==null?void 0:A.value},p=(w,S,A)=>sie(w,S,a,A),{off$:g,on$:y,emit$:x}=T1(),b=()=>{g(pn.fieldChange),y(pn.fieldChange,w=>{var S;n==null||n(d()),(S=t==null?void 0:t.fieldChanged)==null||S.call(t)})};return(()=>{const w=e;pl.globalProvide({globalFormName:w,globalDataModel:r}),b()})(),{getSlotFromData:u,getMinRowData:s,fromModel:c,toModel:l,newSlot:o,getWidgetOption:m,newFieldModelFromSlot:f,removeFieldModelFromSlot:h,getValue:d,setValue:v,findWidgetByNameWithSibId:p,emit$:x,formModel:r,rowsData:a}}const Eie=(t,e,n,r)=>{const a=new U0(t),{callRefFunc:o}=Yu(t),{parseGroupId:i}=D1();if(!t||t.length<=0||!e)return;const u=()=>{var y,x;return(x=(y=Sr(t))==null?void 0:y.map(b=>o(t==null?void 0:t[b],Mi.getField)))==null?void 0:x.filter(b=>!!b)},s=y=>{var w;const x=(w=u())==null?void 0:w.find(S=>(S==null?void 0:S.id)===y);if(!x)return;const b=lt.getName(x),E=a.getWidgetRef(b);if(E)return{ref:E,name:b,id:x==null?void 0:x.id}},l=(y,x)=>{if(!Aa(x))return;const b=lt.getName(y),E=a.getWidgetRef(b);if(E){const w=lt.getOptions(y,pn.defaultValue,!1,!(n!=null&&n.designState),{...n,formData:x});if(Aa(w))if(_.isRef(w)){let S=_.watch(()=>w.value,A=>{S==null||S(),o(E,Mi.setValue,{newValue:A})})}else o(E,Mi.setValue,{newValue:w})}},c=(y,x)=>{const b=s(y);if(!b)return;const E=b.name,w=o(b.ref,Mi.getValue),S=o(b.ref,Mi.getCheckedItems),A={};return A[E]=w,w!==void 0&&!Wi(S)&&!x&&(A[`${E}${zo.checkedOptions}`]=S),A},f=(y,x)=>{var E;var b=[];if((E=u())==null||E.forEach(w=>{if(!w)return;const S=w==null?void 0:w.id;var A=S===y;const P=i(S),C=(P==null?void 0:P.id)===y,D=(P==null?void 0:P.groupName)===x;return A||C&&(D||!x)?(b.push(w),!0):!1}),!(!b||b.length<=0))return b==null?void 0:b.map(w=>{var S;return{id:w==null?void 0:w.id,name:(S=w==null?void 0:w._source)==null?void 0:S.name,source:w==null?void 0:w._source}})},h=(y,x)=>{var b=[];if(!y||(y==null?void 0:y.length)<=0)return b;const E=i(e),w=E==null?void 0:E.groupName;return x===H0.Inner2Outer?y==null||y.forEach(S=>{var A=f(S);A&&(A==null?void 0:A.length)>0&&b.push(...A)}):y==null||y.forEach(S=>{var A=f(S,w);A&&(A==null?void 0:A.length)>0&&b.push(...A)}),b},d=(y,x)=>{let b={};if(!y||y.length<=0)return b;if(x===H0.Inner2Outer){var E=VD(y,w=>{var S;return(S=w.source)==null?void 0:S.id});E==null||E.forEach(w=>{var P;const S=w.group[0],A=[];(P=w==null?void 0:w.children)==null||P.forEach(C=>{const D=c(C==null?void 0:C.id,!0);if(Aa(D)){var O=Object.values(It(D));A.push(...O)}}),S&&(b=Object.assign(b,{[S]:A}))})}else y.forEach(w=>{const S=c(w==null?void 0:w.id);Aa(S)&&(b=Object.assign(b,S))});return b},v=y=>{var x={};return y==null||y.forEach(b=>{var E;b!=null&&b.source&&(b!=null&&b.id)&&(x[(E=b==null?void 0:b.source)==null?void 0:E.id]=b==null?void 0:b.id)}),x},m=(y,x,b)=>{if(b===H0.Inner2Inner){const A=i0(x),{updateFomula:P}=Nu(),{buildVariable:C}=k5();var E=v(y);if(Aa(E)){var w=lt.getOrgOption(x,pn.defaultValue),S=P(Jr(w),E,(D,O)=>{var k=E[D];return lr(k)?C(D):C(k)});return lt.setOrgOption(A,pn.defaultValue,Rr(S)),A}}return x},p=y=>{const x=y==null?void 0:y.id;var b=lt.getOrgOption(y,pn.defaultValue);if(b==null)return;const E=xie(e,x);if(E===H0.DiffInner)return;var w=ye.getFormulaRelatedField(b);if(!w||w.length<=0)return;var S=h(w,E);if(!(S!=null&&S.some(P=>P.id===e)))return;const A=d(S,E);l(m(S,y,E),A)};(()=>{var y;(y=u())==null||y.forEach(x=>{p(x)})})()},wie=(t,e,n,r,a)=>{var h;if(a||!Aa(n))return;const{parseGroupId:o}=D1();var i=o(e),u=i==null?void 0:i.groupName;const{callRefFunc:s}=Yu(t),l=(d,v)=>{var b,E,w;const m=(E=(b=Sr(t))==null?void 0:b.map(S=>s(t==null?void 0:t[S],Mi.getField)))==null?void 0:E.filter(S=>!!S),p=(w=fh(m,S=>{var A=o(S==null?void 0:S.id);return(!u||(A==null?void 0:A.groupName)===u)&&(A==null?void 0:A.id)===d}))==null?void 0:w[0];if(!p)return;const g=lt.getName(p),x=new U0(t).getWidgetRef(g);x&&(v==null||v(x))},c=Ur(r==null?void 0:r.newValue,!0),f=(h=Sr(n))==null?void 0:h.filter(d=>c==null?void 0:c.includes(d));!f||f.length<=0||f==null||f.forEach(d=>{var m,p;const v=(m=n==null?void 0:n[d])==null?void 0:m.result;(p=Sr(v))==null||p.forEach(g=>{var x;const y=v==null?void 0:v[g];(x=y==null?void 0:y.ids)==null||x.forEach(b=>{l(b,E=>{s(E,y==null?void 0:y.event,y==null?void 0:y.args)})})})})};function GB(t,e){var n;return(n=t==null?void 0:t.classList)!=null&&n.contains(e)?t:t!=null&&t.parentElement?GB(t==null?void 0:t.parentElement,e):null}function Sie(){const t=l=>{if(l)return l!=null&&l.ref?l==null?void 0:l.ref:l},e=l=>{var c,f;try{(f=(c=t(l))==null?void 0:c.focus)==null||f.call(c)}catch(h){Ii.error("focus",h,l)}},n=l=>{var c,f;try{(f=(c=t(l))==null?void 0:c.blur)==null||f.call(c)}catch(h){Ii.error("blur",h,l)}},r=l=>{var c;return(c=t(l))==null?void 0:c.selectionStart},a=l=>{var c;return(c=t(l))==null?void 0:c.selectionEnd},o=(l,c)=>{var f;return(f=t(l))==null?void 0:f.setSelectionRange(c,c)},i=(l,c)=>{e(l),o(l,c)};return{getSelectionStart:r,getSelectionEnd:a,setSelectionStart:o,blur:n,focus:e,setMousePos:i,getMousePos:l=>r(l),insertOnMousePos:(l,c,f)=>{const h=r(l),d=a(l),v=OY(f,c,h,d);return _.nextTick(()=>{i(l,h+(c==null?void 0:c.length))}),v}}}const WB=t=>{var n;const{getFormulaFields:e}=Nu();return((n=e(Jr(t)))==null?void 0:n.length)>0},pf=t=>{const e=t.type;//![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
|
|
91
91
|
return t.formItemFlag||[et.form,et.dialog].includes(e)},Ww=t=>{const e=t.type;return[et.treeSelect,et.cascader,et.select,et.checkbox,et.radio].includes(e)};function vn(t){const e=t==null?void 0:t.designState,n=(t==null?void 0:t.created)!=!1,r=t==null?void 0:t.exResetField,a=t==null?void 0:t.extInitFieldModel,o=t==null?void 0:t.exposedWholeInstance,i=t==null?void 0:t.widget,u=t==null?void 0:t.designer,s=u==null?void 0:u.pageConfig,{formRefList:l,globalRefList:c,globalConfig:f,globalFormName:h,globalDataModel:d,rowScope:v}=pl.globalInject();let m=_.reactive(d||{});const p=Yu(c),g=Yu(l),{instance:y}=Ha(),x=()=>Un(m),b=()=>v,E=()=>i,w={designState:e,pageConfig:s,formData:!e&&WB(i)?m:{},globalConfig:f},S={instance:y,...w},A=b1(S),P={exposed:{getFormData:!e&&WB(i)?x:null,findRefByName:p.getWidgetRef,fieldEditor:()=>Et.value,getField:E,getRowScope:b,getOneSchemaData:A==null?void 0:A.getOneSchemaData,getSchemaDataObject:A==null?void 0:A.getSchemaDataObject,getSchemaDatas:A==null?void 0:A.getSchemaDatas}},C={instance:o?y:P,...w},{on$:D,dispatch:O,emit$:k}=T1(),{onCompErrorCaptured:B}=bie(),{existFunc:N}=jw({options:i==null?void 0:i.options},C),{isIdClass:M,getIdByIdClass:j}=CB(i),{getOneSchemaData:F,getSchemaDataObject:R,getSchemaDatas:G}=b1(C),L=Sie(),V=(t==null?void 0:t.shareProp)||{s_attr:!0,s_extendAttr:!0,s_events:!0,s_slots:!0,s_fieldName:!0,s_optionItems:!0},{attrs:K,extendAttrs:Y,events:J,slots:Q,rules:ce,fieldName:se,buildRules:oe,clearRules:ae,disableChangeValidate:ge,enableChangeValidate:X,optionItems:q,filterOptionItems:re,getCheckedOptionText:he,getCheckedOptionValues:de,getCheckedOptionLabels:_e,getCheckedOptionItems:pe,activeOptionItems:me,activeOptionItem:Se,activeOptionItemIndex:Ee,setOptionItems:Te,isOptionWidget:Z,setWidgetOption:W,getWidgetOption:$,setFieldEnable:ue,hasFieldOptions:Ce,getFieldOptions:ke,setFieldOptions:Ne,computedDefaultValue:Me,hasDefaultValue:Ue,singleOption:Ve,watchOption:We,addCssClass:rt,removeCssClass:At}=Zo(i,C,V,y);let bt=null,kt=_.ref();const Et=_.ref(),Dt=()=>se.value,pt=()=>`${i==null?void 0:i.id}-${iO()}`,En=_.ref(pt()),it=()=>{En.value=pt()},ut=_.computed({get:()=>{if(xi(kt.value)){var fe=Number(kt.value);return isNaN(fe)?void 0:(kt.value=fe,fe)}return kt.value},set:fe=>{kt.value=fe}}),ne=_.computed({get:()=>{if(xi(kt.value)){var fe=Rr(kt.value);Uo(fe)&&(kt.value=fe)}return kt.value},set:fe=>{kt.value=fe}}),Ie=fe=>{var Ye,ct;var Le=(ct=(Ye=p.getWidgetRef(se.value))==null?void 0:Ye.exposed)==null?void 0:ct.loadOptionItems;if(Le!==void 0){Le==null||Le(fe);return}Te(fe)},Pe=fe=>{var Le,Ye,ct;return(ct=(Ye=(Le=p.getWidgetRef(se.value))==null?void 0:Le.exposed)==null?void 0:Ye.getCheckedItems)==null?void 0:ct.call(Ye,fe)},Fe=fe=>{var Le,Ye,ct;return(ct=(Ye=(Le=p.getWidgetRef(se.value))==null?void 0:Le.exposed)==null?void 0:Ye.getCheckedLabels)==null?void 0:ct.call(Ye,fe)},He=fe=>{var Le,Ye,ct;return(ct=(Ye=(Le=p.getWidgetRef(se.value))==null?void 0:Le.exposed)==null?void 0:Ye.getCheckedText)==null?void 0:ct.call(Ye,fe)},ft=()=>{var we;if(!Z())return;const fe=(we=Y.value)==null?void 0:we.withAttachData;if(!Ww(i)||fe===!1)return;const Le=kt.value,Ye=Fe(Le),ct=He(Le);var xt=Un(Pe(Le));wt(Ye,xt,ct)},wt=(fe,Le,Ye)=>{var ct={};if(fe!=null){let xt=ke("textName",!1);[`${se.value}${zo.optionText}`,xt].forEach(we=>{we&&ct[we]===void 0&&(ct[we]=fe)})}if(Le!=null&&Jr(Le)!==Jr(kt.value)){let xt=ke("optionName",!1);[`${se.value}${zo.checkedOptions}`,xt].forEach(we=>{we&&ct[we]===void 0&&(ct[we]=Le)})}if(Ye!=null){let xt=ke("labelName",!1);fe!=Ye&&[`${se.value}${zo.optionLabelName}`,xt].forEach(we=>{we&&ct[we]===void 0&&(ct[we]=Ye)})}Xt(Un(ct))},Bt=fe=>{if(pf(i)){var Le={[se.value]:fe};Xt(Le)}},Xt=fe=>{Zn(m,fe)},wn=fe=>{e||Bt(fe)},vr=fe=>ke(fe,!1),$r=()=>{var fe=_.toRefs(m);kt=ye.get(fe,se.value)},Fr=fe=>{bt=Un(fe)},Tr=fe=>{e||a&&a(fe)},sa=()=>{Ue()&&Ta(Me()).then(fe=>{Bt(fe),$r()})},Dr=(fe,Le)=>{if(!pf(i))return;k(pn.fieldValueChanged,{newValue:fe,oldValue:Le});const Ye={fieldId:i.id,fieldName:se.value,newValue:fe,oldValue:Le};O(h,pn.fieldChange,Ye,y)},zi=fe=>N(fe),za=(fe,Le)=>Wp($(fe),Le),ei=fe=>{wn(fe),dn(),za(pn.onInput,{value:fe})},ao=(fe,Le)=>{var Ye,ct,xt;return(xt=(ct=(Ye=p.getWidgetRef(se.value))==null?void 0:Ye.exposed)==null?void 0:ct.handleBeforeChange)==null?void 0:xt.call(ct,fe,Le)},Ro=(...fe)=>{var xt,we,Oe;let Ye=((xt=fe==null?void 0:fe[0])==null?void 0:xt.target)!=null?(Oe=(we=fe==null?void 0:fe[0])==null?void 0:we.target)==null?void 0:Oe.value:fe==null?void 0:fe[0];Ye=Un(Ye);var ct=ao(Ye,bt);ct!=null?wn(ct):wn(Ye),Dr(Ye,bt),dn(),Fr(Ye)},Ua=(fe=!0)=>{W(Kt.readonly,fe)},ks=(fe=!0)=>{W(Kt.disabled,fe)},ht=(fe=!0)=>{W(Kt.hidden,fe),fe?yn():Wt()},T=(fe=!0)=>{ue(Kt.required,fe),Wt()},I=fe=>{W(Kt.label,fe)},U=()=>kt==null?void 0:kt.value,H=fe=>{kt.value=fe},ee=fe=>{let Le=Un(U());if(H(fe),!pf(i))return;const Ye=U();Le!==Ye&&(wn(Ye),Dr(fe,Le))},ve=()=>{Ue()?Ta(Me()).then(fe=>{Bt(fe)}):Bt(null),r==null||r()},De=fe=>{const Le=U(),Ye=L.insertOnMousePos(Et.value,fe,Le);ee(Ye)},je=(fe,Le)=>{_.watch(()=>kt==null?void 0:kt.value,(Ye,ct)=>{fe==null||fe({id:i.id,name:se.value,newValue:Ye,oldValue:ct})},Le)},Qe=fe=>{var we;fe.preventDefault();const Le=Oe=>{var tt;const ze=(tt=Array.from(Oe.classList))==null?void 0:tt.find(Pt=>M(Pt));return ze?j(ze):""},Ye=document.activeElement;if(!Ye)return;const ct=document.getElementsByClassName(Q2.formItemTarget);for(var xt=0;xt<ct.length;xt++){const Oe=ct[xt],ze=GB(Ye,Q2.formItemTarget);if(!ze)continue;const tt=Le(Oe),Pt=Le(ze);if(tt===Pt){if(xt===ct.length-1)return;const Rt=ct[xt+1],en=Le(Rt),ln=p.findRefById(en,y);try{(we=ln==null?void 0:ln.exposed)==null||we.focus()}catch(Or){Ii.error("handleEnter",Or)}}}};let nt=()=>{var Oe;let fe={componentName:se.value,refList:l,allRefList:c,fieldEditor:()=>Et.value,changeRegisterToRefList:(ze,tt)=>{p.changeRegisterToRefList(ze,tt),g.changeRegisterToRefList(ze,tt)},getField:E,getFormData:x,getValue:U,setValue:H,emit$:k,findRefByName:p.getWidgetRef,findRefById:p.findRefById,callRefFunc:p.callRefFunc,getWidgetOption:$,setWidgetOption:W,refreshKey:it,getRowScope:b,getOneSchemaData:F,getSchemaDatas:G,getSchemaDataObject:R,addCssClass:rt,removeCssClass:At},Le={resetField:ve,getValue:U,setValue:ee,refreshDefaultValue:sa,insertOnMousePos:De,disableChangeValidate:ge,enableChangeValidate:X,focus:()=>{L.focus(Et.value)},blur:()=>{L.blur(Et.value)},getMousePos:()=>{L.getMousePos(Et.value)},setMousePos:ze=>{L.setMousePos(Et.value,ze)}},Ye={loadOptionItems:Ie,getCheckedItems:Pe,getCheckedLabels:Fe},ct={[Kt.required]:{name:Mi.setRequired,fn:T},[Kt.label]:{name:Mi.setLabel,fn:I},[Kt.hidden]:{name:Mi.setHidden,fn:ht},[Kt.disabled]:{name:Mi.setDisabled,fn:ks},[Kt.readonly]:{name:Mi.setReadonly,fn:Ua}},xt={};(Oe=Sr(ct))==null||Oe.forEach(ze=>{if(ff(i,ze)){const tt=ct[ze];xt[tt.name]=tt.fn}});var we=Zn(fe,xt);return pf(i)&&(we=Zn(we,Le)),Ww(i)&&(we=Zn(we,Ye)),we};const gt=_.computed(()=>({attrs:K.value,extendAttrs:Y.value,events:J.value,slots:Q.value,fieldKey:En.value,fieldEditor:Et.value,fieldName:se.value})),dt=fe=>{t.designState&&t.designer&&_.watch(()=>{var Le;return(Le=t==null?void 0:t.widget)==null?void 0:Le[fe]},(Le,Ye)=>{const{emitHistoryChange:ct}=Qk(t.designer);ct(`edit ${se.value}.${fe},newValue:${Le},oldValue:${Ye}`)},{deep:!0})},Tt=(fe,Le,Ye)=>{const ct=_.ref(),xt=vr(fe),we=Oe=>{Le&&(ct.value=Le(Oe||xt))};return _.isRef(xt)?_.watch(xt,Oe=>{we(Oe),Ye&&Ye(Oe)}):we(xt),ct},nn=()=>{!pf(i)||e||je(fe=>{Eie(c,i==null?void 0:i.id,C),wie(c,i==null?void 0:i.id,lt.getOptions(i,Kt.relate),fe),ft(),setTimeout(()=>{ft(),Tr(fe==null?void 0:fe.newValue)},1e3)},{immediate:!0})},dn=()=>{const fe={propName:se.value};O(h,pn.fieldValidation,fe,y)},Gt=()=>{const fe={fieldId:i.id,fieldName:se.value,rules:ce};O(h,pn.fieldRuleChange,fe,y)},Wt=()=>{if(!pf(i))return;const fe=oe();return Gt(),fe},yn=()=>{ae(),Gt()},Hn=()=>{ff(i,"change")&&(J.value.change=Ro),ff(i,"input")&&(J.value.input=ei),D(zp.setFormData,fe=>{ee(fe[se.value])}),D(pn.fieldValueChanged,fe=>{za(pn.onChange,{value:fe==null?void 0:fe.newValue,oldValue:fe==null?void 0:fe.oldValue})})},gr=()=>{let fe=se.value;pf(i)?((!ea(m,fe)||m[fe]===void 0)&&(Bt(null),Ue()&&Ta(Me()).then(Le=>{Le==null?Bt(null):Bt(Le)})),$r()):Ue()&&Ta(Me()).then(Le=>{ee(Le)}),Fr(U())},mr=()=>{Ww(i)&&_.watch(()=>q==null?void 0:q.value,(fe,Le)=>{ft()},{immediate:!0})},ti=()=>{We(!0,Kt.css,void 0,fe=>{le()})},ai=()=>{const fe=_.inject(zr.isRenderComplete);if(fe!=null&&fe.value){mr(),nn();return}fe!=null&&_.watch(()=>fe==null?void 0:fe.value,Le=>{Le&&(mr(),nn())},{immediate:!0})},la=()=>{var fe,Le;if(n)try{gr(),Wt(),Hn(),p.registerToRefList(se.value),g.registerToRefList(se.value),(Le=(fe=J==null?void 0:J.value)==null?void 0:fe.created)==null||Le.call(fe),B()}catch(Ye){Ii.error("create",Ye)}},oi=()=>{n&&(_.onMounted(()=>{var fe,Le;try{le(),ti(),ai(),(Le=(fe=J==null?void 0:J.value)==null?void 0:fe.mounted)==null||Le.call(fe)}catch(Ye){console.log("mounted",i,Ye)}}),_.onBeforeUnmount(()=>{p.unregisterFromRefList(se.value),g.unregisterFromRefList(se.value)}))},le=()=>{const fe=i==null?void 0:i.id,Le=$(Kt.css);if(Le){const Ye=Gl(Le,":root",`.${fe}`);ak(Ye,void 0,fe)}};return la(),oi(),{exposed:nt(),fieldModel:kt,objFieldModel:ne,numFieldModel:ut,fieldEditor:Et,fieldKey:En,field:i,instance:y,attrs:K,extendAttrs:Y,slots:Q,events:J,rules:ce,fieldObj:gt,getValue:U,setValue:H,pageConfig:s,formModel:m,fieldName:se,propResultOpt:C,optionItems:q,activeOptionItems:me,activeOptionItem:Se,activeOptionItemIndex:Ee,refreshOptionField:ft,filterOptionItems:re,setOptionItems:Te,getCheckedItems:Pe,getCheckedOptionItems:(fe,Le)=>pe(fe||kt.value,Le),getCheckedOptionLabels:(fe,Le)=>_e(fe||kt.value,Le),getCheckedOptionValues:(fe,Le)=>de(fe||kt.value,Le),getCheckedOptionText:(fe,Le)=>he(fe||kt.value,Le),refreshKey:it,watchKeyValue:Tt,watchPropAndSaveHistoryStep:dt,existEvent:zi,handleEvent:za,handleEnter:Qe,getPropName:Dt,emitFieldDataChange:Dr,syncUpdateFormModel:wn,getWidgetRef:p.getWidgetRef,clearRules:yn,buildRules:Wt,getFieldOptionModel:vr,getFieldOptions:ke,hasFieldOptions:Ce,setFieldOptions:Ne,getWidgetOption:$,singleOption:Ve,watchOption:We,mergeOptionToFormModel:wt}}const Cie=_.defineComponent({componentName:un.ContainerWidget}),Kw=_.defineComponent({...Cie,__name:"cont-cell-widget",props:{...Bi},setup(t,{expose:e}){const n=t,r=_.computed(()=>{var u;return`el-${ye.getValue((u=n.widget)==null?void 0:u.partName)}`}),{customClass:a,componentWrapperClass:o}=hl({widget:{options:n.widget}}),{exposed:i}=vn(n);return e({...i}),(u,s)=>{var l,c,f;return _.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(r)),{class:_.normalizeClass(["content-cell",_.unref(a)]),direction:(l=u.widget)==null?void 0:l.direction,style:_.normalizeStyle({width:_.unref(ye).getValue((c=u.widget)==null?void 0:c.cellWidth),height:_.unref(ye).getValue((f=u.widget)==null?void 0:f.cellHeight),zIndex:1e3})},{default:_.withCtx(()=>[_.renderSlot(u.$slots,"default",{},()=>{var h,d,v,m,p;return[((d=(h=u.widget)==null?void 0:h.children)==null?void 0:d.length)<=0?(_.openBlock(),_.createBlock(Ar,{key:0,widgetList:(v=u.widget)==null?void 0:v.widgetList,designState:u.designState,designer:u.designer,dragClass:"dragSize2",parentWidget:u.widget,parentList:(m=u.widget)==null?void 0:m.widgetList,"component-class":_.unref(o)},null,8,["widgetList","designState","designer","parentWidget","parentList","component-class"])):_.createCommentVNode("",!0),(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList((p=u.widget)==null?void 0:p.children,(g,y)=>{var x;return _.openBlock(),_.createBlock(Kw,{key:g.id,widget:g,designer:u.designer,"design-state":u.designState,"parent-list":(x=u.widget)==null?void 0:x.children,"parent-widget":u.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]})]),_:3},8,["direction","class","style"])}}}),KB=Object.freeze(Object.defineProperty({__proto__:null,default:Kw},Symbol.toStringTag,{value:"Module"})),Aie=["width","height","color"],Tie=["xlink:href"],Die={key:0,slot:"title"},Pie=_.defineComponent({__name:"index",props:{prefix:{default:"icon"},dir:{default:"svg"},name:null,color:null,size:null,width:{default:"16"},height:{default:"16"},className:null,title:{default:""}},setup(t){var f,h;const e=t,n=e.size||e.width,r=e.size||e.height,a=e.size||e.width,o=e.name,i=_.computed(()=>{var d="svg-icon";return e.className?d+" "+e.className:d}),u=_.ref(),s=_.computed(()=>`#${e.prefix}-${e.dir}-${u.value}`);let l=_.shallowRef();const c=xi(o)&&((f=String(o))==null?void 0:f.startsWith("@"));return c?u.value=(h=String(o))==null?void 0:h.substring(1):_.watch(()=>e.name,d=>{if(_.isRef(e.name))l.value=d;else{const{instance:v}=Ha();l=oO(d,v)}},{immediate:!0}),(d,v)=>{const m=_.resolveComponent("el-icon");return _.unref(c)?(_.openBlock(),_.createElementBlock("svg",{key:0,class:_.normalizeClass(_.unref(i)),width:_.unref(n),height:_.unref(r),color:e.color},[_.createElementVNode("use",{"xlink:href":_.unref(s)},null,8,Tie),t.title?(_.openBlock(),_.createElementBlock("title",Die,_.toDisplayString(t.title),1)):_.createCommentVNode("",!0)],10,Aie)):(_.openBlock(),_.createBlock(m,{key:1,size:_.unref(a)},{default:_.withCtx(()=>[(_.openBlock(),_.createBlock(_.resolveDynamicComponent(_.unref(l)),{color:(e==null?void 0:e.color)||"black",key:t.name},null,8,["color"]))]),_:1},8,["size"]))}}}),dXe="",mi=na(Pie,[["__scopeId","data-v-eee47a33"]]),Oie={key:0},kie={class:"clWhite"},Bie={class:"clWhite"},Iie=["title"],Nie=["title"],Mie=["title"],Fie=["title"],Lie=_.defineComponent({__name:"drag-handler",props:{...Bi,parentTree:{type:Object,default:null},hidden:{type:Boolean,default:!1},simple:{type:Boolean}},setup(t){const e=t,{setSelected:n,findWidgetById:r,removeWidget:a,moveDownWidget:o,moveUpWidget:i,cloneWidget:u}=A1(e.designer),s=l=>{const c=l==null?void 0:l.id;if(l.selectable===!1)Wr.info(te.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const f=r(c);n(f)}};return(l,c)=>{var m,p;const f=_.resolveComponent("el-dropdown-item"),h=_.resolveComponent("el-dropdown-menu"),d=_.resolveComponent("el-dropdown"),v=_.resolveComponent("el-divider");return _.openBlock(),_.createElementBlock(_.Fragment,null,[t.hidden===!0?(_.openBlock(),_.createElementBlock("i",Oie,[_.createVNode(mi,{name:"@el-hide"})])):_.createCommentVNode("",!0),t.simple?(_.openBlock(),_.createBlock(d,{key:1,onCommand:s},_.createSlots({default:_.withCtx(()=>[_.createElementVNode("span",kie,[_.createVNode(mi,{name:"@el-arrow-down"})])]),_:2},[((m=t.parentTree)==null?void 0:m.length)>0?{name:"dropdown",fn:_.withCtx(()=>[_.createVNode(h,null,{default:_.withCtx(()=>[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList(t.parentTree,(g,y)=>(_.openBlock(),_.createBlock(f,{command:g},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(g==null?void 0:g.label),1)]),_:2},1032,["command"]))),256)),_.createVNode(f,{divided:"",onClick:c[0]||(c[0]=_.withModifiers(g=>_.unref(u)(l.widget,l.parentList),["stop"]))},{default:_.withCtx(()=>[_.createVNode(mi,{name:"@el-clone"}),_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.cloneWidget")),1)]),_:1}),_.createVNode(f,{onClick:c[1]||(c[1]=_.withModifiers(g=>_.unref(a)(l.widget,l.parentWidget,l.parentList),["stop"]))},{default:_.withCtx(()=>[_.createVNode(mi,{name:"@el-delete"}),_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.remove")),1)]),_:1}),l.parentList&&l.parentList.length>1?(_.openBlock(),_.createBlock(f,{key:0,onClick:c[2]||(c[2]=_.withModifiers(g=>_.unref(i)(l.parentList,l.widget),["stop"]))},{default:_.withCtx(()=>[_.createVNode(mi,{name:"@el-move-up"}),_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.moveUpWidget")),1)]),_:1})):_.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(_.openBlock(),_.createBlock(f,{key:1,onClick:c[3]||(c[3]=_.withModifiers(g=>_.unref(o)(l.parentList,l.widget),["stop"]))},{default:_.withCtx(()=>[_.createVNode(mi,{name:"@el-move-down"}),_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.moveDownWidget")),1)]),_:1})):_.createCommentVNode("",!0),l.$slots.default?(_.openBlock(),_.createBlock(f,{key:2,divied:""},{default:_.withCtx(()=>[_.renderSlot(l.$slots,"default")]),_:3})):_.createCommentVNode("",!0)]),_:3})]),key:"0"}:void 0]),1024)):(_.openBlock(),_.createElementBlock(_.Fragment,{key:2},[_.createVNode(d,{onCommand:s},_.createSlots({default:_.withCtx(()=>{var g,y;return[_.createElementVNode("span",Bie,[_.createTextVNode(_.toDisplayString(_.unref(te).i18n2t(`designer.widgetLabel.${(g=l.widget)==null?void 0:g.type}`,`extension.widgetLabel.${(y=l.widget)==null?void 0:y.type}`))+" ",1),_.createVNode(mi,{name:"@el-arrow-down",class:"el-icon--right"})])]}),_:2},[((p=t.parentTree)==null?void 0:p.length)>0?{name:"dropdown",fn:_.withCtx(()=>[_.createVNode(h,null,{default:_.withCtx(()=>[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList(t.parentTree,(g,y)=>(_.openBlock(),_.createBlock(f,{command:g},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(g==null?void 0:g.label),1)]),_:2},1032,["command"]))),256))]),_:1})]),key:"0"}:void 0]),1024),_.createVNode(v,{direction:"vertical","border-style":"dashed",color:"white"}),_.renderSlot(l.$slots,"default"),l.parentList&&l.parentList.length>1?(_.openBlock(),_.createElementBlock("i",{key:0,title:_.unref(te).i18nt("designer.hint.moveUpWidget"),onClick:c[4]||(c[4]=_.withModifiers(g=>_.unref(i)(l.parentList,l.widget),["stop"]))},[_.createVNode(mi,{name:"@el-move-up"})],8,Iie)):_.createCommentVNode("",!0),l.parentList&&l.parentList.length>1?(_.openBlock(),_.createElementBlock("i",{key:1,title:_.unref(te).i18nt("designer.hint.moveDownWidget"),onClick:c[5]||(c[5]=_.withModifiers(g=>_.unref(o)(l.parentList,l.widget),["stop"]))},[_.createVNode(mi,{name:"@el-move-down"})],8,Nie)):_.createCommentVNode("",!0),_.createElementVNode("i",{title:_.unref(te).i18nt("designer.hint.cloneWidget"),onClick:c[6]||(c[6]=_.withModifiers(g=>_.unref(u)(l.widget,l.parentList),["stop"]))},[_.createVNode(mi,{name:"@el-clone"})],8,Mie),_.createElementVNode("i",{title:_.unref(te).i18nt("designer.hint.remove"),onClick:c[7]||(c[7]=_.withModifiers(g=>_.unref(a)(l.widget,l.parentWidget,l.parentList),["stop"]))},[_.createVNode(mi,{name:"@el-delete"})],8,Fie)],64))],64)}}}),vXe="";function P1(t){return{getAttrProp:n=>{var o,i,u,s,l,c;var r=(u=(i=(o=t==null?void 0:t.propOptions)==null?void 0:o.fieldObj)==null?void 0:i.attrs)==null?void 0:u[n],a=(c=(l=(s=t==null?void 0:t.propOptions)==null?void 0:s.fieldObj)==null?void 0:l.extendAttrs)==null?void 0:c[n];return Wi(r)?a:r}}}const pr=_.defineComponent({__name:"widget-wrapper",props:{...tY},setup(t){var P;const e=t,{selectWidget:n}=A1(e.designer),{widgetTree:r}=Lw((P=e.designer)==null?void 0:P.widgetList,!0),{pathNodes:a,parentTree:o}=Rw(r.value,e.widget),{size:i,displayLayout:u,labelAlign:s,labelWidth:l,formItemFlag:c,labelSuffix:f,labelHidden:h}=vie(e,It(a.value)),{idClass:d}=CB(e.widget),{getAttrProp:v}=P1(e),m=_.computed(()=>v==null?void 0:v("hidden")),p=_.computed(()=>v==null?void 0:v("labelWidth")),g=C=>C&&!["div","span"].includes(C),y=_.computed(()=>{var C,D;return(C=e.widget)!=null&&C.type?[et.grid,et.gridCol,et.wrapper].includes((D=e.widget)==null?void 0:D.type):!1}),x=_.computed(()=>{const C=v==null?void 0:v("width"),D=v==null?void 0:v("ctrlWidth"),O=v==null?void 0:v("customClass"),k=v==null?void 0:v("componentWrapperClass");let B={};return p.value!=Vg.auto&&p.value&&(B.labelWidth=p.value),{size:i.value,labelAlign:s.value,labelWidth:l.value,formItemFlag:c.value,formItemAttr:B,ctrlWidth:D,displayStyle:u.value,labelSuffix:f.value||"",injectStyle:{},injectClass:[Ou(O),C?"":"full-width",d,A.value],componentWrapperClass:Ou(k)}}),b=_.computed(()=>{var C,D,O;return!!e.designer&&((C=e.widget)==null?void 0:C.id)===((O=(D=e.designer)==null?void 0:D.selectedWidget)==null?void 0:O.id)}),E=_.ref(),w=_.ref(),S=_.computed(()=>{var C,D;if(E.value&&w.value&&b.value)return((C=E.value)==null?void 0:C.offsetWidth)>((D=w.value)==null?void 0:D.offsetWidth)}),A=_.computed(()=>{var C;return(C=e.widget)==null?void 0:C.id});return(C,D)=>{var O,k,B,N,M,j;return C.designState?(_.openBlock(),_.createBlock(_.resolveDynamicComponent(C.componentName),_.mergeProps({key:0,class:["field-wrapper",[_.unref(b)?"selected":""," drag-handler",C.propOptions.class,C.showWrapperComponent?_.unref(x).injectClass:null]],style:C.propOptions.style,onClick:D[0]||(D[0]=_.withModifiers(F=>_.unref(n)(C.widget,C.parentWidget,C.parentList),["stop"])),ref_key:"wrapperRef",ref:w,tabindex:0},g(C.componentName)?(k=(O=C.propOptions)==null?void 0:O.fieldObj)==null?void 0:k.attrs:{}),{default:_.withCtx(()=>{var F,R,G;return[_.renderSlot(C.$slots,"default",{data:_.unref(x)}),((R=(F=C.designer)==null?void 0:F.selectedWidget)==null?void 0:R.id)===((G=C.widget)==null?void 0:G.id)?(_.openBlock(),_.createElementBlock("div",{key:0,class:"action",ref_key:"dragHandlerRef",ref:E},[_.createVNode(Lie,{simple:_.unref(S),"design-state":C.designState,designer:C.designer,widget:C.widget,"parent-widget":C.parentWidget,"parent-list":C.parentList,parentTree:_.unref(o),hidden:_.unref(m)},{default:_.withCtx(()=>[_.renderSlot(C.$slots,"drag")]),_:3},8,["simple","design-state","designer","widget","parent-widget","parent-list","parentTree","hidden"])],512)):_.createCommentVNode("",!0)]}),_:3},16,["class","style"])):!_.unref(m)||_.unref(y)?(_.openBlock(),_.createElementBlock(_.Fragment,{key:1},[C.showWrapperComponent?(_.openBlock(),_.createBlock(_.resolveDynamicComponent(C.componentName),_.mergeProps({key:0},g(C.componentName)?(N=(B=C.propOptions)==null?void 0:B.fieldObj)==null?void 0:N.attrs:{},_.toHandlers(g(C.componentName)?(j=(M=C.propOptions)==null?void 0:M.fieldObj)==null?void 0:j.events:{}),{class:["_id_BycomponentName",[..._.unref(x).injectClass,C.propOptions.class,_.unref(m)&&_.unref(y)?"hlhidden":""]],style:{..._.unref(x).injectStyle,...C.propOptions.style}}),{default:_.withCtx(()=>[_.renderSlot(C.$slots,"default",_.mergeProps({data:_.unref(x)},C.$props))]),_:3},16,["class","style"])):_.renderSlot(C.$slots,"default",_.mergeProps({key:1,data:_.unref(x)},C.$props))],64)):_.createCommentVNode("",!0)}}}),Rie=_.defineComponent({componentName:un.ContainerWidget}),jie=_.defineComponent({...Rie,__name:"cont-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{watchPropAndSaveHistoryStep:r,fieldObj:a,exposed:o}=vn(n),{customClass:i}=hl({widget:n.widget});return r(Kt.cols),e({...o}),(u,s)=>(_.openBlock(),_.createBlock(pr,_.mergeProps(u.$props,{showWrapperComponent:!0,"prop-options":{fieldObj:_.unref(a),class:[_.unref(i)]}}),{default:_.withCtx(()=>{var l;return[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList((l=u.widget)==null?void 0:l.cols,(c,f)=>{var h;return _.openBlock(),_.createBlock(Kw,{key:c.id,widget:c,designer:u.designer,"design-state":u.designState,"parent-list":(h=u.widget)==null?void 0:h.cols,"parent-widget":u.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:1},16,["prop-options"]))}}),mXe="",XB=Object.freeze(Object.defineProperty({__proto__:null,default:jie},Symbol.toStringTag,{value:"Module"}));function Vie(t){const e=t.widget,n=t.designer,r=n==null?void 0:n.pageConfig,a=t==null?void 0:t.widgetList,o=_.ref({}),i={},{fieldModel:u,fieldName:s,fieldEditor:l,attrs:c,events:f,hasFieldOptions:h,exposed:d,fieldObj:v,watchOption:m,propResultOpt:p,extendAttrs:g}=vn(t),{off$:y,on$:x,emit$:b,broadcast:E}=T1();var{instance:w}=Ha();const{setAllRefList:S}=Yu(o.value),A={designState:t==null?void 0:t.designState,pageConfig:r,globalConfig:p==null?void 0:p.globalConfig},{formModel:P,setData:C,getData:D,clearData:O}=Hw(a,{...A}),{handleFunc:k}=jw({options:r},A),B=_.reactive({}),N=()=>{y(pn.fieldChange),x(pn.fieldChange,de=>{J(de==null?void 0:de.fieldName,de==null?void 0:de.newValue,de==null?void 0:de.oldValue),d==null||d.setValue(P),K(de==null?void 0:de.fieldName,de==null?void 0:de.newValue,de==null?void 0:de.oldValue)})},M=()=>{y(pn.fieldValidation),x(pn.fieldValidation,de=>{var _e;(_e=l.value)==null||_e.validateField(de==null?void 0:de.propName)})},j=()=>{y(pn.fieldRuleChange),x(pn.fieldRuleChange,de=>{var pe;var _e=(pe=de==null?void 0:de.rules)==null?void 0:pe.map(me=>({required:me.required,message:me.message,trigger:me.trigger,validator:me.validator}));Object.assign(B,{[de==null?void 0:de.fieldName]:_e}),c.value.rules=B})},F=_.ref(!1),R=_.reactive({}),G=_.reactive({}),L=de=>{Mg(G),Zn(G,de)},V=()=>({change_info:Un(R),before_info:Un(G),flag:F.value}),K=(de,_e,pe)=>{F.value=!0,de&&Zn(R,{[de]:{oldValue:pe,newValue:_e}})},Y=()=>{F.value=!1,Mg(R),L(D())},J=(de,_e,pe)=>{k(f.value.formDataChange,{field:{fieldName:de,newValue:_e,oldValue:pe},formModel:P})},Q=()=>{k(f.value.formCreated)},ce=()=>{k(f.value.formMounted)},se=()=>{j(),N(),M(),Q()},oe=de=>{var _e;(_e=l.value)==null||_e.clearValidate(de)},ae=()=>{S(Mi.resetField),_.nextTick(()=>{oe()})},ge=(de,_e)=>{let pe=[];for(let Ee in de){var me=de[Ee],Se=me==null?void 0:me.filter(Te=>(Te==null?void 0:Te.force)===_e);Se==null||Se.forEach(Te=>{var W;const Z=(W=Te==null?void 0:Te.rule)==null?void 0:W.label;Te.message&&pe.push(DY(Z?"【"+Z+"】":"",Te.message,":"))})}return RD(pe)},X=(de,_e)=>{var pe={};return fh(_e,me=>{var Se=lt.getName(me),Ee=ea(de,Se);return Ee&&(pe[Se]=de[Se]),Ee},!1),pe},q=(de=!0)=>{var Se,Ee,Te;let _e=D(),pe=function(){},me=new Promise(function(Z,W){pe=function($,ue){(ue?W:Z)({data:$,isSuccess:!ue,message:ue})}});return!((Se=l.value)!=null&&Se.validate)||!de?(pe(_e),me):((Te=(Ee=l.value)==null?void 0:Ee.validate)==null||Te.call(Ee,(Z,W)=>{if(Z)pe(_e);else{var $=ge(W,!0);if($&&$.length>0){pe(_e,$);return}var ue=ge(W,!1);if(ue&&ue.length>0){ue.push(te.i18nt("designer.hint.continue")),aO.multiple(ue).then(Ce=>{pe(_e)});return}}}),me)},re=(de,_e=!0)=>{if(!e)return;var pe=X(de,[e]);C(pe,_e);const me=["refList","widgetRefList"];E(un.ContainerWidget,zp.setFormData,de,w,me),E(un.FieldWidget,zp.setFormData,de,w,me)},he=de=>new Promise((_e,pe)=>{const me=(W,$)=>{var Ce,ke,Ne;let ue=(Ce=g.value)!=null&&Ce.formDataLoaded?(Ne=(ke=g.value)==null?void 0:ke.formDataLoaded)==null?void 0:Ne.call(ke,D(),W):W;Aa(ue)?re(ue,!$):ue={},L(ue),_e(ue)},Se=()=>{m(de,Kt.newDataSource,void 0,(W,$)=>{me(W,!0)})},Ee=()=>{m(de,Kt.editDataSource,void 0,(W,$)=>{var Ce,ke;if(((ke=(Ce=g.value)==null?void 0:Ce.needFormAdd)==null?void 0:ke.call(Ce,W))&&Z){Se();return}me(W,!1)})},Te=h(Kt.editDataSource),Z=h(Kt.newDataSource);Te?Ee():Z&&Se()});return se(),_.onMounted(()=>{WD(),ce()}),{widgetRefList:o,allWidgetRefList:i,fieldEditor:l,formModel:P,pageConfig:r,widgetList:a,fieldModel:u,fieldName:s,attrs:c,extendAttrs:g,events:f,rules:B,loadData:he,clearData:O,exposed:{...d,setValue:re,getValue:q,resetField:ae,clearData:O,loadData:he,getData:D,clearChangeRecord:Y,getChangeRecord:V,emit$:b},fieldObj:v}}const zie=_.defineComponent({componentName:un.ContainerWidget}),Uie=_.defineComponent({...zie,__name:"form-widget",props:{...Bi},setup(t,{expose:e}){var v;const n=t,{exposed:r,formModel:a,fieldEditor:o,attrs:i,events:u,widgetRefList:s,extendAttrs:l,fieldName:c,fieldObj:f,loadData:h}=Vie({...n,widgetList:(v=n==null?void 0:n.widget)==null?void 0:v.widgetList}),d=c.value;return pl.globalProvide({globalFormName:d,globalDataModel:a}),_.onMounted(()=>{var m;(m=l.value)!=null&&m.loadDataWhenInit&&!n.designState&&h(!0).then(p=>{}).catch(p=>{}).finally(()=>{r.clearChangeRecord()})}),e({...r}),(m,p)=>{const g=_.resolveComponent("el-form"),y=_.resolveDirective("loading");return _.openBlock(),_.createBlock(pr,_.mergeProps(m.$props,{"prop-options":{fieldObj:_.unref(f)}}),{default:_.withCtx(({data:x})=>{var b,E;return[_.withDirectives((_.openBlock(),_.createBlock(g,_.mergeProps({ref_key:"fieldEditor",ref:o,model:_.unref(a)},_.unref(i),_.toHandlers(_.unref(u)),{class:x.injectClass,key:(b=_.unref(f))==null?void 0:b.fieldKey,"element-loading-text":_.unref(l).loadingText}),{default:_.withCtx(()=>[_.createVNode(Ar,_.mergeProps(m.$props,{dragClass:"formDrag",model:_.unref(a),provideModel:!0,"component-class":x.componentWrapperClass,refList:_.unref(s)}),null,16,["model","component-class","refList"])]),_:2},1040,["model","class","element-loading-text"])),[[y,(E=_.unref(l))==null?void 0:E.showLoading]])]}),_:1},16,["prop-options"])}}}),gXe="",YB=Object.freeze(Object.defineProperty({__proto__:null,default:na(Uie,[["__scopeId","data-v-b0372f7b"]])},Symbol.toStringTag,{value:"Module"})),Hie=_.defineComponent({componentName:un.ContainerWidget}),JB=_.defineComponent({...Hie,__name:"grid-col-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{attrs:r,fieldObj:a,extendAttrs:o,exposed:i}=vn(n),u=_.computed(()=>n.propOptions.colHeight?{height:n.propOptions.colHeight}:{}),{componentWrapperClass:s}=hl({widget:n.widget}),l=_.computed(()=>(Object.keys(r.value).forEach(c=>{var d,v;var f=["xs","sm","md","lg","xl"],h=["span"];!((d=r.value)!=null&&d.responsive)&&f.includes(c)&&delete r.value[c],(v=r.value)!=null&&v.responsive&&h.includes(c)&&delete r.value[c]}),_.reactive(r.value)));return e({...i}),(c,f)=>{var h,d,v;return _.openBlock(),_.createBlock(pr,_.mergeProps(c.$props,{showWrapperComponent:!0,"component-name":"el-col",key:(h=c.widget)==null?void 0:h.id,"prop-options":{fieldObj:{..._.unref(a),attrs:_.unref(l)},class:["content-cell","nopadding","nomargin",(d=_.unref(o))==null?void 0:d.horizontalAlign,(v=_.unref(o))==null?void 0:v.verticalAlign],style:_.unref(u)}}),{default:_.withCtx(()=>[_.createVNode(Ar,_.mergeProps(c.$props,{dragClass:"dragSize1","component-class":_.unref(s)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),ZB=Object.freeze(Object.defineProperty({__proto__:null,default:JB},Symbol.toStringTag,{value:"Module"})),Gie=_.defineComponent({componentName:un.ContainerWidget}),Wie=_.defineComponent({...Gie,__name:"grid-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{extendAttrs:r,watchPropAndSaveHistoryStep:a,fieldObj:o,exposed:i}=vn(n),{customClass:u}=hl({widget:n.widget});return a(Kt.cols),e({...i}),(s,l)=>{var c;return _.openBlock(),_.createBlock(pr,_.mergeProps(s.$props,{"component-name":"el-row",key:(c=s.widget)==null?void 0:c.id,showWrapperComponent:!0,"prop-options":{fieldObj:_.unref(o),class:["nopadding","nomargin",_.unref(u)]}}),{default:_.withCtx(()=>[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList(s.widget.cols,(f,h)=>(_.openBlock(),_.createBlock(JB,{key:f.id,widget:f,designer:s.designer,"design-state":s.designState,"parent-list":s.widget.cols,"parent-widget":s.widget,"prop-options":{colHeight:_.unref(r).colHeight}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))),128))]),_:1},16,["prop-options"])}}}),QB=Object.freeze(Object.defineProperty({__proto__:null,default:Wie},Symbol.toStringTag,{value:"Module"})),Kie=["title"],Xie=_.defineComponent({componentName:un.ContainerWidget}),qB=_.defineComponent({...Xie,__name:"ltable-col-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{insertTableRow:r,insertTableCol:a,mergeTableWholeRow:o,mergeTableRow:i,mergeTableCol:u,mergeTableWholeCol:s,undoMergeTableCol:l,undoMergeTableRow:c,deleteTableWholeCol:f,deleteTableWholeRow:h,copyTableWholeRow:d,copyTableWholeCol:v}=jB(),{emitHistoryChangeAfter:m}=A1(n.designer),{attrs:p,fieldObj:g,exposed:y}=vn(n),x=_.computed(()=>p.value.rowspan),b=_.computed(()=>p.value.colspan),E=_.computed(()=>p.value.cellWidth),w=_.computed(()=>p.value.cellHeight),S=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.colIndex)||0}),A=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.colArray)||[]}),P=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.rowIndex)||0}),C=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.rowArray)||[]}),D=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.colLength)||0}),O=_.computed(()=>{var Se,Ee;return((Ee=(Se=n.propOptions)==null?void 0:Se.colAttrs)==null?void 0:Ee.rowLength)||0}),{componentWrapperClass:k}=hl({widget:n.widget}),B=_.computed(()=>S.value<=0||lt.getOptions(A.value[S.value-1],"rowspan")!=x.value),N=_.computed(()=>{let Se=S.value+(b.value||0);return S.value>=D.value-1||Se>D.value-1||lt.getOptions(A.value[Se],"rowspan")!==x.value}),M=_.computed(()=>D.value<=1||D.value===b.value),j=_.computed(()=>P.value<=0||lt.getOptions(C.value[P.value-1].cols[S.value],"colspan")!==b.value),F=_.computed(()=>{let Se=P.value+(x.value||0);return P.value>=O.value-1||Se>O.value-1||lt.getOptions(C.value[Se].cols[S.value],"colspan")!==b.value}),R=_.computed(()=>O.value<=1||O.value===x.value),G=_.computed(()=>{var Se;return((Se=It(n.widget))==null?void 0:Se.merged)||(x.value||1)<=1}),L=_.computed(()=>{var Se;return((Se=It(n.widget))==null?void 0:Se.merged)||(x.value||1)<=1}),V=_.computed(()=>D.value===1||b.value===D.value),K=_.computed(()=>O.value===1||x.value===O.value),Y=()=>{var Se;m(a(It(n.parentWidget),S.value,P.value,!0),`insertLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},J=()=>{var Se;m(a(It(n.parentWidget),S.value,P.value,!1),`insertRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},Q=()=>{var Se;m(r(It(n.parentWidget),P.value,P.value,S.value,!0),`insertAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},ce=()=>{var Se;m(r(It(n.parentWidget),P.value,P.value,S.value,!1),`insertBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},se=()=>{var Se;m(u(C.value,A.value,P.value,S.value,!0,n.widget),`mergeLeftCol ${(Se=n.widget)==null?void 0:Se.id}`)},oe=()=>{var Se;m(u(C.value,A.value,P.value,S.value,!1,n.widget),`mergeRightCol ${(Se=n.widget)==null?void 0:Se.id}`)},ae=()=>{var Se;m(o(C.value,A.value,P.value,S.value),`mergeWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},ge=()=>{var Se;m(i(C.value,P.value,S.value,!0,n.widget),`mergeAboveRow ${(Se=n.widget)==null?void 0:Se.id}`)},X=()=>{var Se;m(i(C.value,P.value,S.value,!1,n.widget),`mergeBelowRow ${(Se=n.widget)==null?void 0:Se.id}`)},q=()=>{var Se;m(s(C.value,A.value,P.value,S.value),`mergeWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},re=()=>{var Se;m(l(C.value,P.value,S.value,b.value,x.value),`undoMergeCol ${(Se=n.widget)==null?void 0:Se.id}`)},he=()=>{var Se;m(c(C.value,P.value,S.value,b.value,x.value),`undoMergeRow ${(Se=n.widget)==null?void 0:Se.id}`)},de=()=>{var Se;m(f(C.value,S.value),`deleteWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},_e=()=>{var Se;m(h(C.value,P.value),`deleteWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)},pe=()=>{var Se;m(v(C.value,S.value),`copyWholeCol ${(Se=n.widget)==null?void 0:Se.id}`)},me=()=>{var Se;m(d(C.value,P.value),`copyWholeRow ${(Se=n.widget)==null?void 0:Se.id}`)};return e({...y}),(Se,Ee)=>{const Te=_.resolveComponent("el-dropdown-item"),Z=_.resolveComponent("el-dropdown-menu"),W=_.resolveComponent("el-dropdown");return _.openBlock(),_.createBlock(pr,_.mergeProps(Se.$props,{"show-wrapper-component":!0,"component-name":"td","prop-options":{class:"table-cell",style:{width:_.unref(E)+"!important"||"",height:_.unref(w)+"!important"||""},fieldObj:{..._.unref(g),colspan:_.unref(b).value||1,rowspan:_.unref(x).value||1}}}),{drag:_.withCtx(()=>[_.createVNode(W,{trigger:"click",size:"small"},{dropdown:_.withCtx(()=>[_.createVNode(Z,null,{default:_.withCtx(()=>[_.createVNode(Te,{onClick:Ee[0]||(Ee[0]=$=>Y())},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),_.createVNode(Te,{onClick:Ee[1]||(Ee[1]=$=>J())},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),_.createVNode(Te,{onClick:Ee[2]||(Ee[2]=$=>Q())},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.insertRowAbove")),1)]),_:1}),_.createVNode(Te,{onClick:Ee[3]||(Ee[3]=$=>ce())},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.insertRowBelow")),1)]),_:1}),_.createVNode(Te,{onClick:Ee[4]||(Ee[4]=$=>se()),disabled:_.unref(B),divided:""},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[5]||(Ee[5]=$=>oe()),disabled:_.unref(N)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[6]||(Ee[6]=$=>ae()),disabled:_.unref(M)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[7]||(Ee[7]=$=>ge()),disabled:_.unref(j),divided:""},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[8]||(Ee[8]=$=>X()),disabled:_.unref(F)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[9]||(Ee[9]=$=>q()),disabled:_.unref(R)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[10]||(Ee[10]=$=>he()),disabled:_.unref(L),divided:""},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[11]||(Ee[11]=$=>re()),disabled:_.unref(G)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[12]||(Ee[12]=$=>de()),disabled:_.unref(V),divided:""},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[13]||(Ee[13]=$=>_e()),disabled:_.unref(K)},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"]),_.createVNode(Te,{onClick:Ee[14]||(Ee[14]=$=>pe()),divided:""},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.copyEntireCol")),1)]),_:1}),_.createVNode(Te,{onClick:Ee[15]||(Ee[15]=$=>me())},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.setting.copyEntireRow")),1)]),_:1})]),_:1})]),default:_.withCtx(()=>[_.createElementVNode("i",{title:_.unref(te).i18nt("designer.hint.cellSetting")},[_.createVNode(mi,{name:"@el-menu"})],8,Kie)]),_:1})]),default:_.withCtx(()=>[_.createVNode(Ar,_.mergeProps(Se.$props,{"component-class":_.unref(k)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),$B=Object.freeze(Object.defineProperty({__proto__:null,default:qB},Symbol.toStringTag,{value:"Module"})),Yie=["element-loading-text"],Jie=_.defineComponent({componentName:un.ContainerWidget}),Zie=_.defineComponent({...Jie,__name:"ltable-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{extendAttrs:r,fieldObj:a,exposed:o}=vn(n),{customClass:i}=hl({widget:n.widget});return e({...o}),(u,s)=>{const l=_.resolveDirective("loading");return _.openBlock(),_.createBlock(pr,_.mergeProps(u.$props,{"prop-options":{fieldObj:_.unref(a)}}),{default:_.withCtx(()=>{var c,f,h;return[(_.openBlock(),_.createElementBlock("div",{key:(c=u.widget)==null?void 0:c.id,class:_.normalizeClass(["table-container",_.unref(i)])},[_.withDirectives((_.openBlock(),_.createElementBlock("table",{class:"table-layout","element-loading-text":_.unref(r).loadingText},[_.createElementVNode("tbody",null,[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList((f=u.widget)==null?void 0:f.rows,(d,v)=>(_.openBlock(),_.createElementBlock("tr",{key:d.id},[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList(d.cols,(m,p)=>{var g,y;return _.openBlock(),_.createElementBlock(_.Fragment,null,[m.merged?_.createCommentVNode("",!0):(_.openBlock(),_.createBlock(qB,{widget:m,designer:u.designer,"design-state":u.designState,key:m.id,"parent-list":d.cols,"parent-widget":u.widget,"prop-options":{colAttrs:{rowIndex:v,rowLength:(g=u.widget)==null?void 0:g.rows.length,rowArray:(y=u.widget)==null?void 0:y.rows,colIndex:p,colLength:d.cols.length,colArray:d.cols}}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))],64)}),256))]))),128))])],8,Yie)),[[l,(h=_.unref(r))==null?void 0:h.showLoading]])],2))]}),_:1},16,["prop-options"])}}}),_Xe="",e9=Object.freeze(Object.defineProperty({__proto__:null,default:na(Zie,[["__scopeId","data-v-b4d3bf11"]])},Symbol.toStringTag,{value:"Module"})),Qie=_.defineComponent({componentName:un.ContainerWidget}),t9=_.defineComponent({...Qie,__name:"tab-pane-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{attrs:r,exposed:a,fieldObj:o}=vn(n),{componentWrapperClass:i,customClass:u}=hl({widget:n.widget});return e({...a}),(s,l)=>{var c;return _.openBlock(),_.createBlock(pr,_.mergeProps(s.$props,{"show-wrapper-component":!0,"component-name":"el-tab-pane",key:(c=s.widget)==null?void 0:c.id,"prop-options":{fieldObj:_.unref(o),class:["content-cell",_.unref(u)]}}),{default:_.withCtx(()=>[_.createVNode(Ar,_.mergeProps(s.$props,{dragClass:"dragSize","component-class":_.unref(i)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),n9=Object.freeze(Object.defineProperty({__proto__:null,default:t9},Symbol.toStringTag,{value:"Module"})),qie=_.defineComponent({componentName:un.ContainerWidget}),$ie=_.defineComponent({...qie,__name:"tabs-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{fieldKey:r,fieldObj:a,attrs:o,extendAttrs:i,events:u,exposed:s,watchPropAndSaveHistoryStep:l}=vn(n),{addTabPaneOfTabs:c,initTabPane:f,getActiveTab:h,deleteTabPaneOfTabs:d,findTabPaneOfTabs:v}=VB(),m=_.computed(()=>{const S=h(It(n.widget));if(S)return lt.getName(S)}),p=_.ref(),g=_.computed({get:()=>p.value||m.value,set:S=>{p.value=S}}),y=()=>g.value,x=S=>{g.value=S},b=S=>{var A=v(It(n.widget),S);Wi(A)||d(It(n.widget),A)},E=S=>{c(It(n.widget),f(S))},w=()=>{g.value=It(m.value),s.refreshKey()};return l(Kt.tabs),e({...s,tabAdd:E,tabRemove:b,getValue:y,setValue:x,refresh:w}),(S,A)=>{const P=_.resolveComponent("el-tabs"),C=_.resolveDirective("loading");return _.openBlock(),_.createBlock(pr,_.mergeProps(S.$props,{"prop-options":{fieldObj:_.unref(a)}}),{default:_.withCtx(({data:D})=>{var O;return[_.withDirectives((_.openBlock(),_.createBlock(P,_.mergeProps({key:_.unref(r)},_.unref(o),_.toHandlers(_.unref(u)),{modelValue:_.unref(g),"onUpdate:modelValue":A[0]||(A[0]=k=>_.isRef(g)?g.value=k:null),class:D.injectClass,style:{...D.injectStyle,width:D.ctrlWidth},"element-loading-text":_.unref(i).loadingText}),{default:_.withCtx(()=>{var k;return[(_.openBlock(!0),_.createElementBlock(_.Fragment,null,_.renderList((k=S.widget)==null?void 0:k.tabs,(B,N)=>{var M;return _.openBlock(),_.createBlock(t9,{key:_.unref(lt).getName(B),widget:B,designer:S.designer,"design-state":S.designState,"parent-list":(M=S.widget)==null?void 0:M.tabs,"parent-widget":S.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:2},1040,["modelValue","class","style","element-loading-text"])),[[C,(O=_.unref(i))==null?void 0:O.showLoading]])]}),_:1},16,["prop-options"])}}}),r9=Object.freeze(Object.defineProperty({__proto__:null,default:$ie},Symbol.toStringTag,{value:"Module"}));function eae(t){const e=_.ref({}),{componentWrapperClass:n,customClass:r}=hl({widget:t.widget}),{exposed:a,attrs:o,extendAttrs:i,fieldKey:u,fieldObj:s}=vn(t),{setAllRefList:l}=Yu(e.value),c=(v=!1)=>{l(Mi.setDisabled,{flag:v})},f=(v=!1)=>{var m;(m=a==null?void 0:a.setHidden)==null||m.call(a,v)},h=()=>{l(Mi.resetField)};return(v=>{_.watch(()=>{var m;return(m=o.value)==null?void 0:m[v]},m=>{m!=null&&v==="disabled"&&c(m)},{immediate:!0})})("disabled"),{extendAttrs:i,attrs:o,exposed:{...a,setDisabled:c,setHidden:f,resetField:h},componentWrapperClass:n,customClass:r,fieldKey:u,fieldObj:s,widgetRefList:e}}const tae=["element-loading-text"],nae=_.defineComponent({componentName:un.ContainerWidget}),rae=_.defineComponent({...nae,__name:"wrapper-widget",props:{...Bi},setup(t,{expose:e}){const n=t,{attrs:r,extendAttrs:a,exposed:o,customClass:i,componentWrapperClass:u,fieldObj:s,fieldKey:l,widgetRefList:c}=eae(n);return e({...o}),(f,h)=>{const d=_.resolveDirective("loading");return _.openBlock(),_.createBlock(pr,_.mergeProps(f.$props,{"prop-options":{fieldObj:_.unref(s),class:[_.unref(i),_.unref(u)]},"component-name":"div","show-wrapper-component":!0}),{default:_.withCtx(({data:v})=>{var m,p,g;return[f.designState||!((m=_.unref(r))!=null&&m.hidden)||!((p=_.unref(r))!=null&&p.lazy)?_.withDirectives((_.openBlock(),_.createElementBlock("div",{ref:"fieldEditor",class:_.normalizeClass([...v.injectClass]),key:_.unref(l),"element-loading-text":_.unref(a).loadingText},[_.createVNode(Ar,_.mergeProps(f.$props,{dragClass:"dragSize","component-class":v.componentWrapperClass,refList:_.unref(c)}),null,16,["component-class","refList"])],10,tae)),[[d,(g=_.unref(a))==null?void 0:g.showLoading]]):_.createCommentVNode("",!0)]}),_:1},16,["prop-options"])}}}),i9=Object.freeze(Object.defineProperty({__proto__:null,default:rae},Symbol.toStringTag,{value:"Module"}));function a9(t){let e=new Map;for(const n in t){let r=t==null?void 0:t[n],a=r==null?void 0:r.default,o=(a==null?void 0:a.name)||(a==null?void 0:a.__name);e[o]=a}return e}function o9(){return a9(Object.assign({"../cont-cell-widget.vue":KB,"../cont-widget.vue":XB,"../form-widget.vue":YB,"../grid-col-widget.vue":ZB,"../grid-widget.vue":QB,"../ltable-col-widget.vue":$B,"../ltable-widget.vue":e9,"../tab-pane-widget.vue":n9,"../tabs-widget.vue":r9,"../wrapper-widget.vue":i9}))}const iae={install:(t,e)=>{const n=o9();for(const r in Object.keys(n))t.component(r,n[r])}},aae={install:(t,e)=>{const n=o9();for(const r in Object.keys(n))t.component(r,n[r])}},oae={style:{width:"99%",height:"99%",margin:"0 auto"}},sae=["src","id"],lae={class:"dialog-footer"},uae=_.defineComponent({__name:"index",props:{...IZ},emits:["ok","cancel","close"],setup(t,{emit:e}){const n=_.ref(!0),r=_.ref(),a=_.ref(!0),o=()=>{a.value=!1};return(i,u)=>{const s=_.resolveComponent("el-button"),l=_.resolveComponent("el-dialog"),c=_.resolveDirective("loading");return _.openBlock(),_.createBlock(l,{modelValue:n.value,"onUpdate:modelValue":u[3]||(u[3]=f=>n.value=f),class:"--hl-dialog1",fullscreen:i.fullscreen,title:i.title,width:i.width,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!0,top:"15vh",style:_.normalizeStyle({height:i.height})},{footer:_.withCtx(()=>{var f,h,d;return[_.createElementVNode("span",lae,[(f=i.dialogType)!=null&&f.includes(_.unref(Hg).close)?(_.openBlock(),_.createBlock(s,{key:0,onClick:u[0]||(u[0]=v=>{e("close",{})}),size:"large"},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.close")),1)]),_:1})):_.createCommentVNode("",!0),(h=i.dialogType)!=null&&h.includes(_.unref(Hg).cancel)?(_.openBlock(),_.createBlock(s,{key:1,onClick:u[1]||(u[1]=v=>{e("cancel",{iframeRef:r.value})}),size:"large"},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.close")),1)]),_:1})):_.createCommentVNode("",!0),(d=i.dialogType)!=null&&d.includes(_.unref(Hg).save)?(_.openBlock(),_.createBlock(s,{key:2,type:"primary",onClick:u[2]||(u[2]=v=>{e("ok",{iframeRef:r.value})}),size:"large"},{default:_.withCtx(()=>[_.createTextVNode(_.toDisplayString(_.unref(te).i18nt("designer.hint.confirm")),1)]),_:1})):_.createCommentVNode("",!0)])]}),default:_.withCtx(()=>[_.withDirectives((_.openBlock(),_.createElementBlock("div",oae,[_.createElementVNode("iframe",{frameborder:"0",ref_key:"iframeRef",ref:r,style:{width:"100%",height:"100%"},src:i.url,onLoad:o,id:_.unref(g0)()},null,40,sae)])),[[c,a.value]])]),_:1},8,["modelValue","fullscreen","title","width","style"])}}}),wXe="",s9=Object.freeze(Object.defineProperty({__proto__:null,default:uae},Symbol.toStringTag,{value:"Module"}));function cae(){return a9(Object.assign({"./index.vue":s9}))}const fae={install:(t,e)=>{const n=cae();t.use(OZ);for(const r in Object.keys(n))t.component(r,n[r])}};function pae(t,e,n,r){const a={r:255,g:255,b:255};return{r:Math.round(t*(1-r)+a.r*r),g:Math.round(e*(1-r)+a.g*r),b:Math.round(n*(1-r)+a.b*r)}}function hae(t,e,n,r=!1,a=5){const o=[];for(let i=0;i<a;i++){const u=pae(t,e,n,i*.1);o.push(u)}return o}function dae(t,e=!1,n=5){const r=mae(t),a=hae(r.r,r.g,r.b,e,n);return a==null?void 0:a.map(o=>vae(o.r,o.g,o.b))}function vae(t,e,n){const r=a=>{const o=a.toString(16);return o.length===1?"0"+o:o};return`#${r(t)}${r(e)}${r(n)}`}function mae(t){t=t.replace(/^#/,""),t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);const e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:e&255}}function gae(t,e){return{cssWithPrimaryColor:_.computed(()=>{var o,i;const r=(e==null?void 0:e.themeColor)||MD.color1;var a={themeColor:r};return(o=dae(r,!1,10))==null||o.forEach((u,s)=>{a["themeColor-"+s]=u}),!lr(t)&&xi(t)&&((i=Sr(a))==null||i.forEach(u=>{var s=`var\\(--${u}\\)`;t=Gl(t,s,a[u])})),t})}}function yae(t){var{addWindowName:e,addWindowHook:n}=RE();e(),n("openModalAsync",r=>{DP(t==null?void 0:t.instance,r)}),n("ElMessage",di.ElMessage),n("ElMessageBox",di.ElMessageBox),n("ElNotification",di.ElNotification)}function _ae(t){const e=t.designer,n=e==null?void 0:e.pageConfig,r=_.ref(e==null?void 0:e.widgetList),a=t==null?void 0:t.designState,o=t==null?void 0:t.pageData,i=t==null?void 0:t.renderConfig,u={},s={},{off$:l,on$:c,emit$:f}=T1();var{instance:h,proxy:d}=Ha();const v={instance:h,designState:a,formData:o,pageConfig:n,globalConfig:i},{handleFunc:m}=jw({options:n},v),{callWidgetsExposed:p}=Yu(s),{formModel:g,setData:y,getData:x,clearData:b}=Hw(r.value,v),E=new U0(u),w=new U0(s),{findRefByName:S}=Yu(s),{getOneSchemaData:A,getSchemaDataObject:P,getSchemaDatas:C}=b1(v);let O=(()=>"vfRender"+zs())();const k=()=>{m(n==null?void 0:n.pageCreated)},B=()=>{m(n==null?void 0:n.pageMounted)},N=()=>{if(!n)return;const oe=ye.getValue(n.cssCode,!1,!0);if(oe){const{cssWithPrimaryColor:ge}=gae(oe,{themeColor:(i==null?void 0:i.themeColor)||""});ak(ge.value,a?"":O)}const ae=ye.getValue(n.functions,!1,!0);ae&&dee(ae,a?O:"")},M=(oe=!0)=>{oe&&N(),F(),k(),ce(),se()},j=Ng.page,F=()=>{E.setWidgetRef(j,h),w.setWidgetRef(j,h)},R=oe=>p(oe,Mi.getValue),G=(oe,ae)=>p(oe,Mi.setValue,ae),L=(oe,ae=!0)=>{p(oe,Mi.setDisabled,{flag:ae})},V=oe=>{L(oe,!1)},K=(oe,ae=!0)=>{p(oe,Mi.setHidden,{flag:ae})},Y=oe=>{K(oe,!1)},J=oe=>{if(oe){var ae=Rr(oe);if(ae){if(!ae.pageConfig||!ae.widgetList)return"Invalid pageat of page json.";Zn(t.pageConfig,ae),N(),_.nextTick(()=>{M(!1),B()})}else return"Set page json failed."}},Q=(oe,ae,ge)=>{d==null||d.$emit(zp.formChange,oe,ae,ge,g)},ce=()=>{l(pn.fieldChange),c(pn.fieldChange,oe=>{Q(oe==null?void 0:oe.fieldName,oe==null?void 0:oe.newValue,oe==null?void 0:oe.oldValue)})},se=()=>{l(pn.fieldValidation),c(pn.fieldValidation,oe=>{})};return M(),_.onMounted(()=>{b(),WD(),B(),yae({instance:h})}),_.onUnmounted(()=>{b()}),{formModel:g,pageConfig:n,widgetList:r,widgetRefList:u,allWidgetRefList:s,exposed:{findRefByName:S,setPageJson:J,hideWidgets:K,showWidgets:Y,disableWidgets:L,enableWidgets:V,getFieldValue:R,setFieldValue:G,setData:y,getData:x,clearData:b,getOneSchemaData:A,getSchemaDataObject:P,getSchemaDatas:C,emit$:f}}}function bae(){const t={},e=(a,o,i)=>{t[a]={opt:o,doEvent:i}},n=(a,o)=>{var u,s;const i=t==null?void 0:t[a==null?void 0:a.toLocaleLowerCase()];if(((u=i==null?void 0:i.opt)==null?void 0:u.ctrlKey)===(o==null?void 0:o.ctrlKey))return(s=i==null?void 0:i.doEvent)==null?void 0:s.call(i)};return{bindKey:e,runEvent:a=>{const o=a.ctrlKey||a.metaKey,i=a.key;n(i,{ctrlKey:o})}}}function xae(t){const{bindKey:e,runEvent:n}=bae(),r=()=>{e("enter",{ctrlKey:!1},u),e("arrowleft",{ctrlKey:!0},s)},a=l=>(r(),n(l)),o="input,select,textarea",i=["textarea"],u=()=>{var d,v;var l=t.querySelectorAll(o);const c=document.activeElement,f=(d=c==null?void 0:c.nodeName)==null?void 0:d.toLocaleLowerCase();if(!f||i.includes(f))return!1;for(var h=0;h<l.length;h++){const m=l[h];if(m==c)return h==l.length-1?!1:((v=l[h+1])==null||v.focus(),!0);m==null||m.blur()}return!1},s=l=>{var d,v;var c=t.querySelectorAll(o);const f=document.activeElement;(d=f==null?void 0:f.nodeName)==null||d.toLocaleLowerCase();for(var h=0;h<c.length;h++){const m=c[h];if(m==f)return h==0?!1:((v=c[h-1])==null||v.focus(),!0);m==null||m.blur()}return!1};return{addKeyBoardEvent:a}}const Eae=["element-loading-text","onKeyup"],wae=_.defineComponent({componentName:un.VFormRender,name:un.VFormRender}),Sae=_.defineComponent({...wae,props:{...Bi,pageData:{type:Object},renderConfig:{type:Object}},setup(t,{expose:e,emit:n}){const r=t,{formModel:a,exposed:o,widgetList:i,pageConfig:u,allWidgetRefList:s}=_ae(r),l=_.computed(()=>{var g,y;return ye.getValue((y=(g=r.designer)==null?void 0:g.pageConfig)==null?void 0:y.layoutType)}),c=_.computed(()=>It(Ur(ye.getValue(u==null?void 0:u.customClass),!0))),f=_.computed(()=>{var g;return(g=ye.getValue(u==null?void 0:u.componentWrapperClass))==null?void 0:g.join(" ")}),h=_.ref(!1),d={};pl.globalProvide({formRefList:d,globalRefList:s,globalDataModel:a,globalFormName:un.VFormRender}),_.provide(zr.globalConfig,r.renderConfig),_.provide(zr.isRenderComplete,h);const v=_.ref(),m=g=>{const{addKeyBoardEvent:y}=xae(v.value);y(g)},p=()=>{h.value=!0,n(zp.renderComplete)};return e({...o,componentName:un.VFormRender}),(g,y)=>{const x=_.resolveDirective("loading");return _.withDirectives((_.openBlock(),_.createElementBlock("div",{"element-loading-text":_.unref(te).i18nt("designer.hint.loading"),class:_.normalizeClass([..._.unref(c),_.unref(l)+"-layout",{loadingLayout:!h.value}]),tabindex:"0",ref_key:"taregtWrapperRef",ref:v,onKeyup:[_.withKeys(m,["enter"]),_.withKeys(m,["left"])]},[_.renderSlot(g.$slots,"header",{},void 0,!0),_.renderSlot(g.$slots,"default",{},()=>[(_.openBlock(),_.createBlock(_.Suspense,{onResolve:p},{default:_.withCtx(()=>[_.createVNode(Ar,{designer:g.designer,"widget-list":_.unref(i),model:_.unref(a),"design-state":!1,"component-class":_.unref(f)},null,8,["designer","widget-list","model","component-class"])]),_:1}))],!0),_.renderSlot(g.$slots,"footer",{},void 0,!0)],42,Eae)),[[x,!h.value]])}}}),CXe="",l9=na(Sae,[["__scopeId","data-v-8dba8409"]]);var Xw={},Cae={get exports(){return Xw},set exports(t){Xw=t}};/**!
|
|
92
92
|
* Sortable 1.14.0
|
|
93
93
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -2487,8 +2487,8 @@ export default /*#__PURE__*/ Object.assign(__default__, {${Bs}
|
|
|
2487
2487
|
export default {${Bs}
|
|
2488
2488
|
${ln?"async ":""}setup(${Pu}) {
|
|
2489
2489
|
${Y2}`),Sn.appendRight(ki,"}"));return gr.size>0&&Sn.prepend(`import { ${[...gr].map(st=>`${st} as _${st}`).join(", ")} } from 'vue'
|
|
2490
|
-
`),Sn.trim(),Object.assign(Object.assign({},De),{bindings:yn,content:Sn.toString(),map:Sn.generateMap({source:Qe,hires:!0,includeContent:!0}),scriptAst:Du,scriptSetupAst:Yc})},i.b=function(H){return function(ee){const{filename:ve,id:De,scoped:je=!1,trim:Qe=!0,isProd:nt=!1,modules:gt=!1,modulesOptions:dt={},preprocessLang:Tt,postcssOptions:nn,postcssPlugins:dn}=ee,Gt=Tt&&Dt[Tt],Wt=Gt&&function(xt,we){return we(xt.source,xt.inMap||xt.map,Object.assign({filename:xt.filename},xt.preprocessOptions),xt.preprocessCustomRequire)}(ee,Gt),yn=Wt?Wt.map:ee.inMap||ee.map,Hn=Wt?Wt.code:ee.source,gr=De.replace(/^data-v-/,""),mr=`data-v-${gr}`,ti=(dn||[]).slice();let ai;if(ti.unshift(G({id:gr,isProd:nt})),Qe&&ti.push(Ne()),je&&ti.push(Ve(mr)),gt){if(!ee.isAsync)throw new Error("[@vue/compiler-sfc] `modules` option can only be used with compileStyleAsync().");ti.push(u(310)(Object.assign(Object.assign({},dt),{getJSON:(xt,we)=>{ai=we}})))}const la=Object.assign(Object.assign({},nn),{to:ve,from:ve});let oi,le,fe;yn&&(la.map={inline:!1,annotation:!1,prev:yn});const Le=new Set(Wt?Wt.dependencies:[]);Le.delete(ve);const Ye=[];Wt&&Wt.errors.length&&Ye.push(...Wt.errors);const ct=xt=>(xt.forEach(we=>{we.type==="dependency"&&Le.add(we.file)}),Le);try{if(oi=k(ti).process(Hn,la),ee.isAsync)return oi.then(xt=>({code:xt.css||"",map:xt.map&&xt.map.toJSON(),errors:Ye,modules:ai,rawResult:xt,dependencies:ct(xt.messages)})).catch(xt=>({code:"",map:void 0,errors:[...Ye,xt],rawResult:void 0,dependencies:Le}));ct(oi.messages),le=oi.css,fe=oi.map}catch(xt){Ye.push(xt)}return{code:le||"",map:fe&&fe.toJSON(),errors:Ye,rawResult:oi,dependencies:Le}}(Object.assign(Object.assign({},H),{isAsync:!0}))},i.c=Ce,i.d=function(H,{sourceMap:ee=!0,filename:ve="anonymous.vue",sourceRoot:De="",pad:je=!1,compiler:Qe=P}={}){const nt=H+ee+ve+De+je+Qe.parse,gt=J.get(nt);if(gt)return gt;const dt={filename:ve,source:H,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1},Tt=[];if(Qe.parse(H,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:Gt,props:Wt},yn)=>!yn&&Gt!=="template"||Gt==="template"&&Wt.some(Hn=>Hn.type===6&&Hn.name==="lang"&&Hn.value&&Hn.value.content&&Hn.value.content!=="html")?2:0,onError:Gt=>{Tt.push(Gt)}}).children.forEach(Gt=>{if(Gt.type===1&&(Gt.children.length||function(Wt){return Wt.props.some(yn=>yn.type===6&&yn.name==="src")}(Gt)||Gt.tag==="template"))switch(Gt.tag){case"template":if(dt.template)Tt.push(Q(Gt));else{const gr=dt.template=ce(Gt,H,!1);if(gr.ast=Gt,gr.attrs.functional){const mr=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");mr.loc=Gt.props.find(ti=>ti.name==="functional").loc,Tt.push(mr)}}break;case"script":const Wt=ce(Gt,H,je),yn=!!Wt.attrs.setup;if(yn&&!dt.scriptSetup){dt.scriptSetup=Wt;break}if(!yn&&!dt.script){dt.script=Wt;break}Tt.push(Q(Gt,yn));break;case"style":const Hn=ce(Gt,H,je);Hn.attrs.vars&&Tt.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),dt.styles.push(Hn);break;default:dt.customBlocks.push(ce(Gt,H,je))}}),dt.scriptSetup&&(dt.scriptSetup.src&&(Tt.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),dt.scriptSetup=null),dt.script&&dt.script.src&&(Tt.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),dt.script=null)),ee){const Gt=Wt=>{Wt&&!Wt.src&&(Wt.map=ge(ve,H,Wt.content,De,je&&Wt.type!=="template"?0:Wt.loc.start.line-1))};Gt(dt.template),Gt(dt.script),dt.styles.forEach(Gt),dt.customBlocks.forEach(Gt)}dt.cssVars=function(Gt){const Wt=[];return Gt.styles.forEach(yn=>{let Hn;for(;Hn=j.exec(yn.content);)Wt.push(Hn[1]||Hn[2]||Hn[3])}),Wt}(dt),dt.cssVars.length&&Y("v-bind() CSS variable injection",231);const nn=/(?:::v-|:)slotted\(/;dt.slotted=dt.styles.some(Gt=>Gt.scoped&&nn.test(Gt.content));const dn={descriptor:dt,errors:Tt};return J.set(nt,dn),dn}},(o,i,u)=>{o.exports=u(314)},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0});var s=u(83),l=u(508),c=u(27),f=u(95);function h(ie){throw ie}function d(ie){}function v(ie,be,Be,Re){const Ke=(Be||m)[ie]+(Re||""),Xe=new SyntaxError(String(Ke));return Xe.code=ie,Xe.loc=be,Xe}const m={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null cahracter.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",26:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",27:"v-if/v-else-if is missing expression.",28:"v-if/else branches must use unique keys.",29:"v-else/v-else-if has no adjacent v-if.",30:"v-for is missing expression.",31:"v-for has invalid expression.",32:"<template v-for> key should be placed on the <template> tag.",33:"v-bind is missing expression.",34:"v-on is missing expression.",35:"Unexpected custom directive on <slot> outlet.",36:"Mixed v-slot usage on both the component and nested <template>.When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",37:"Duplicate slot names found. ",38:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",39:"v-slot can only be used on components or <template> tags.",40:"v-model is missing expression.",41:"v-model value must be a valid JavaScript member expression.",42:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",43:"Error parsing JavaScript expression: ",44:"<KeepAlive> expects exactly one child component.",45:'"prefixIdentifiers" option is not supported in this build of compiler.',46:"ES module mode is not supported in this build of compiler.",47:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',48:'"scopeId" option is only supported in module mode.',49:""},p=Symbol(""),g=Symbol(""),y=Symbol(""),x=Symbol(""),b=Symbol(""),E=Symbol(""),w=Symbol(""),S=Symbol(""),A=Symbol(""),P=Symbol(""),C=Symbol(""),D=Symbol(""),O=Symbol(""),k=Symbol(""),B=Symbol(""),N=Symbol(""),M=Symbol(""),j=Symbol(""),F=Symbol(""),R=Symbol(""),G=Symbol(""),L=Symbol(""),V=Symbol(""),K=Symbol(""),Y=Symbol(""),J=Symbol(""),Q=Symbol(""),ce=Symbol(""),se=Symbol(""),oe=Symbol(""),ae=Symbol(""),ge=Symbol(""),X={[p]:"Fragment",[g]:"Teleport",[y]:"Suspense",[x]:"KeepAlive",[b]:"BaseTransition",[E]:"openBlock",[w]:"createBlock",[S]:"createVNode",[A]:"createCommentVNode",[P]:"createTextVNode",[C]:"createStaticVNode",[D]:"resolveComponent",[O]:"resolveDynamicComponent",[k]:"resolveDirective",[B]:"resolveFilter",[N]:"withDirectives",[M]:"renderList",[j]:"renderSlot",[F]:"createSlots",[R]:"toDisplayString",[G]:"mergeProps",[L]:"toHandlers",[V]:"camelize",[K]:"capitalize",[Y]:"toHandlerKey",[J]:"setBlockTracking",[Q]:"pushScopeId",[ce]:"popScopeId",[se]:"withScopeId",[oe]:"withCtx",[ae]:"unref",[ge]:"isRef"},q={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function re(ie,be=q){return{type:0,children:ie,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:be}}function he(ie,be,Be,Re,Ke,Xe,Je,qe=!1,$e=!1,yt=q){return ie&&(qe?(ie.helper(E),ie.helper(w)):ie.helper(S),Je&&ie.helper(N)),{type:13,tag:be,props:Be,children:Re,patchFlag:Ke,dynamicProps:Xe,directives:Je,isBlock:qe,disableTracking:$e,loc:yt}}function de(ie,be=q){return{type:17,loc:be,elements:ie}}function _e(ie,be=q){return{type:15,loc:be,properties:ie}}function pe(ie,be){return{type:16,loc:q,key:s.isString(ie)?me(ie,!0):ie,value:be}}function me(ie,be,Be=q,Re=0){return{type:4,loc:Be,content:ie,isStatic:be,constType:be?3:Re}}function Se(ie,be=q){return{type:8,loc:be,children:ie}}function Ee(ie,be=[],Be=q){return{type:14,loc:Be,callee:ie,arguments:be}}function Te(ie,be,Be=!1,Re=!1,Ke=q){return{type:18,params:ie,returns:be,newline:Be,isSlot:Re,loc:Ke}}function Z(ie,be,Be,Re=!0){return{type:19,test:ie,consequent:be,alternate:Be,newline:Re,loc:q}}function W(ie,be,Be=!1){return{type:20,index:ie,value:be,isVNode:Be,loc:q}}const $=ie=>ie.type===4&&ie.isStatic,ue=(ie,be)=>ie===be||ie===s.hyphenate(be);function Ce(ie){return ue(ie,"Teleport")?g:ue(ie,"Suspense")?y:ue(ie,"KeepAlive")?x:ue(ie,"BaseTransition")?b:void 0}const ke=/^\d|[^\$\w]/,Ne=ie=>!ke.test(ie),Me=/[A-Za-z_$\xA0-\uFFFF]/,Ue=/[\.\w$\xA0-\uFFFF]/,Ve=/\s+[.[]\s*|\s*[.[]\s+/g,We=ie=>{ie=ie.trim().replace(Ve,Xe=>Xe.trim());let be=0,Be=0,Re=0,Ke=null;for(let Xe=0;Xe<ie.length;Xe++){const Je=ie.charAt(Xe);switch(be){case 0:if(Je==="[")Be=be,be=1,Re++;else if(!(Xe===0?Me:Ue).test(Je))return!1;break;case 1:Je==="'"||Je==='"'||Je==="`"?(Be=be,be=2,Ke=Je):Je==="["?Re++:Je==="]"&&(--Re||(be=Be));break;case 2:Je===Ke&&(be=Be,Ke=null)}}return!Re};function rt(ie,be,Be){const Re={source:ie.source.substr(be,Be),start:At(ie.start,ie.source,be),end:ie.end};return Be!=null&&(Re.end=At(ie.start,ie.source,be+Be)),Re}function At(ie,be,Be=be.length){return bt(s.extend({},ie),be,Be)}function bt(ie,be,Be=be.length){let Re=0,Ke=-1;for(let Xe=0;Xe<Be;Xe++)be.charCodeAt(Xe)===10&&(Re++,Ke=Xe);return ie.offset+=Be,ie.line+=Re,ie.column=Ke===-1?ie.column+Be:Be-Ke,ie}function kt(ie,be,Be=!1){for(let Re=0;Re<ie.props.length;Re++){const Ke=ie.props[Re];if(Ke.type===7&&(Be||Ke.exp)&&(s.isString(be)?Ke.name===be:be.test(Ke.name)))return Ke}}function Et(ie,be,Be=!1,Re=!1){for(let Ke=0;Ke<ie.props.length;Ke++){const Xe=ie.props[Ke];if(Xe.type===6){if(Be)continue;if(Xe.name===be&&(Xe.value||Re))return Xe}else if(Xe.name==="bind"&&(Xe.exp||Re)&&Dt(Xe.arg,be))return Xe}}function Dt(ie,be){return!(!ie||!$(ie)||ie.content!==be)}function pt(ie){return ie.type===5||ie.type===2}function En(ie){return ie.type===7&&ie.name==="slot"}function it(ie){return ie.type===1&&ie.tagType===3}function ut(ie){return ie.type===1&&ie.tagType===2}function ne(ie,be,Be){let Re;const Ke=ie.type===13?ie.props:ie.arguments[2];if(Ke==null||s.isString(Ke))Re=_e([be]);else if(Ke.type===14){const Xe=Ke.arguments[0];s.isString(Xe)||Xe.type!==15?Ke.callee===L?Re=Ee(Be.helper(G),[_e([be]),Ke]):Ke.arguments.unshift(_e([be])):Xe.properties.unshift(be),!Re&&(Re=Ke)}else if(Ke.type===15){let Xe=!1;if(be.key.type===4){const Je=be.key.content;Xe=Ke.properties.some(qe=>qe.key.type===4&&qe.key.content===Je)}Xe||Ke.properties.unshift(be),Re=Ke}else Re=Ee(Be.helper(G),[_e([be]),Ke]);ie.type===13?ie.props=Re:ie.arguments[2]=Re}function Ie(ie,be){return`_${be}_${ie.replace(/[^\w]/g,"_")}`}function Pe(ie,be){if(!ie||Object.keys(be).length===0)return!1;switch(ie.type){case 1:for(let Be=0;Be<ie.props.length;Be++){const Re=ie.props[Be];if(Re.type===7&&(Pe(Re.arg,be)||Pe(Re.exp,be)))return!0}return ie.children.some(Be=>Pe(Be,be));case 11:return!!Pe(ie.source,be)||ie.children.some(Be=>Pe(Be,be));case 9:return ie.branches.some(Be=>Pe(Be,be));case 10:return!!Pe(ie.condition,be)||ie.children.some(Be=>Pe(Be,be));case 4:return!ie.isStatic&&Ne(ie.content)&&!!be[ie.content];case 8:return ie.children.some(Be=>s.isObject(Be)&&Pe(Be,be));case 5:case 12:return Pe(ie.content,be);case 2:case 3:default:return!1}}const Fe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:ie=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${ie}.sync\` should be changed to \`v-model:${ie}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function He(ie,be){const Be=be.options?be.options.compatConfig:be.compatConfig,Re=Be&&Be[ie];return ie==="MODE"?Re||3:Re}function ft(ie,be){const Be=He("MODE",be),Re=He(ie,be);return Be===3?Re===!0:Re!==!1}function wt(ie,be,Be,...Re){return ft(ie,be)}const Bt=/&(gt|lt|amp|apos|quot);/g,Xt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},wn={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:s.NO,isPreTag:s.NO,isCustomElement:s.NO,decodeEntities:ie=>ie.replace(Bt,(be,Be)=>Xt[Be]),onError:h,onWarn:d,comments:!1};function vr(ie,be={}){const Be=function(Ke,Xe){const Je=s.extend({},wn);for(const qe in Xe)Je[qe]=Xe[qe]||wn[qe];return{options:Je,column:1,line:1,offset:0,originalSource:Ke,source:Ke,inPre:!1,inVPre:!1,onWarn:Je.onWarn}}(ie,be),Re=T(Be);return re($r(Be,0,[]),I(Be,Re))}function $r(ie,be,Be){const Re=U(Be),Ke=Re?Re.ns:0,Xe=[];for(;!Qe(ie,be,Be);){const qe=ie.source;let $e;if(be===0||be===1){if(!ie.inVPre&&H(qe,ie.options.delimiters[0]))$e=Ua(ie,be);else if(be===0&&qe[0]==="<")if(qe.length===1)je(ie,5,1);else if(qe[1]==="!")H(qe,"<!--")?$e=sa(ie):H(qe,"<!DOCTYPE")?$e=Dr(ie):H(qe,"<![CDATA[")?Ke!==0?$e=Tr(ie,Be):(je(ie,1),$e=Dr(ie)):(je(ie,11),$e=Dr(ie));else if(qe[1]==="/")if(qe.length===2)je(ie,5,2);else{if(qe[2]===">"){je(ie,14,2),ee(ie,3);continue}if(/[a-z]/i.test(qe[2])){je(ie,23),ei(ie,1,Re);continue}je(ie,12,2),$e=Dr(ie)}else/[a-z]/i.test(qe[1])?($e=zi(ie,Be),ft("COMPILER_NATIVE_TEMPLATE",ie)&&$e&&$e.tag==="template"&&!$e.props.some(yt=>yt.type===7&&za(yt.name))&&($e=$e.children)):qe[1]==="?"?(je(ie,21,1),$e=Dr(ie)):je(ie,12,1)}if($e||($e=ks(ie,be)),s.isArray($e))for(let yt=0;yt<$e.length;yt++)Fr(Xe,$e[yt]);else Fr(Xe,$e)}let Je=!1;if(be!==2&&be!==1){const qe=ie.options.whitespace==="preserve";for(let $e=0;$e<Xe.length;$e++){const yt=Xe[$e];if(!ie.inPre&&yt.type===2)if(/[^\t\r\n\f ]/.test(yt.content))qe||(yt.content=yt.content.replace(/[\t\r\n\f ]+/g," "));else{const Mt=Xe[$e-1],Ot=Xe[$e+1];!Mt||!Ot||!qe&&(Mt.type===3||Ot.type===3||Mt.type===1&&Ot.type===1&&/[\r\n]/.test(yt.content))?(Je=!0,Xe[$e]=null):yt.content=" "}yt.type!==3||ie.options.comments||(Je=!0,Xe[$e]=null)}if(ie.inPre&&Re&&ie.options.isPreTag(Re.tag)){const $e=Xe[0];$e&&$e.type===2&&($e.content=$e.content.replace(/^\r?\n/,""))}}return Je?Xe.filter(Boolean):Xe}function Fr(ie,be){if(be.type===2){const Be=U(ie);if(Be&&Be.type===2&&Be.loc.end.offset===be.loc.start.offset)return Be.content+=be.content,Be.loc.end=be.loc.end,void(Be.loc.source+=be.loc.source)}ie.push(be)}function Tr(ie,be){ee(ie,9);const Be=$r(ie,3,be);return ie.source.length===0?je(ie,6):ee(ie,3),Be}function sa(ie){const be=T(ie);let Be;const Re=/--(\!)?>/.exec(ie.source);if(Re){Re.index<=3&&je(ie,0),Re[1]&&je(ie,10),Be=ie.source.slice(4,Re.index);const Ke=ie.source.slice(0,Re.index);let Xe=1,Je=0;for(;(Je=Ke.indexOf("<!--",Xe))!==-1;)ee(ie,Je-Xe+1),Je+4<Ke.length&&je(ie,16),Xe=Je+1;ee(ie,Re.index+Re[0].length-Xe+1)}else Be=ie.source.slice(4),ee(ie,ie.source.length),je(ie,7);return{type:3,content:Be,loc:I(ie,be)}}function Dr(ie){const be=T(ie),Be=ie.source[1]==="?"?1:2;let Re;const Ke=ie.source.indexOf(">");return Ke===-1?(Re=ie.source.slice(Be),ee(ie,ie.source.length)):(Re=ie.source.slice(Be,Ke),ee(ie,Ke+1)),{type:3,content:Re,loc:I(ie,be)}}function zi(ie,be){const Be=ie.inPre,Re=ie.inVPre,Ke=U(be),Xe=ei(ie,0,Ke),Je=ie.inPre&&!Be,qe=ie.inVPre&&!Re;if(Xe.isSelfClosing||ie.options.isVoidTag(Xe.tag))return ie.options.isPreTag(Xe.tag)&&(ie.inPre=!1),Xe;be.push(Xe);const $e=ie.options.getTextMode(Xe,Ke),yt=$r(ie,$e,be);be.pop();{const Mt=Xe.props.find(Ot=>Ot.type===6&&Ot.name==="inline-template");if(Mt&&wt("COMPILER_INLINE_TEMPLATE",ie,Mt.loc)){const Ot=I(ie,Xe.loc.end);Mt.value={type:2,content:Ot.source,loc:Ot}}}if(Xe.children=yt,nt(ie.source,Xe.tag))ei(ie,1,Ke);else if(je(ie,24,0,Xe.loc.start),ie.source.length===0&&Xe.tag.toLowerCase()==="script"){const Mt=yt[0];Mt&&H(Mt.loc.source,"<!--")&&je(ie,8)}return Xe.loc=I(ie,Xe.loc.start),Je&&(ie.inPre=!1),qe&&(ie.inVPre=!1),Xe}const za=s.makeMap("if,else,else-if,for,slot");function ei(ie,be,Be){const Re=T(ie),Ke=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(ie.source),Xe=Ke[1],Je=ie.options.getNamespace(Xe,Be);ee(ie,Ke[0].length),ve(ie);const qe=T(ie),$e=ie.source;ie.options.isPreTag(Xe)&&(ie.inPre=!0);let yt=ao(ie,be);be===0&&!ie.inVPre&&yt.some(Qt=>Qt.type===7&&Qt.name==="pre")&&(ie.inVPre=!0,s.extend(ie,qe),ie.source=$e,yt=ao(ie,be).filter(Qt=>Qt.name!=="v-pre"));let Mt=!1;if(ie.source.length===0?je(ie,9):(Mt=H(ie.source,"/>"),be===1&&Mt&&je(ie,4),ee(ie,Mt?2:1)),be===1)return;let Ot=0;return ie.inVPre||(Xe==="slot"?Ot=2:Xe==="template"?yt.some(Qt=>Qt.type===7&&za(Qt.name))&&(Ot=3):function(Qt,_n,xn){const fn=xn.options;if(fn.isCustomElement(Qt))return!1;if(Qt==="component"||/^[A-Z]/.test(Qt)||Ce(Qt)||fn.isBuiltInComponent&&fn.isBuiltInComponent(Qt)||fn.isNativeTag&&!fn.isNativeTag(Qt))return!0;for(let Ft=0;Ft<_n.length;Ft++){const $t=_n[Ft];if($t.type===6){if($t.name==="is"&&$t.value&&($t.value.content.startsWith("vue:")||wt("COMPILER_IS_ON_ELEMENT",xn,$t.loc)))return!0}else if($t.name==="is"||$t.name==="bind"&&Dt($t.arg,"is")&&wt("COMPILER_IS_ON_ELEMENT",xn,$t.loc))return!0}}(Xe,yt,ie)&&(Ot=1)),{type:1,ns:Je,tag:Xe,tagType:Ot,props:yt,isSelfClosing:Mt,children:[],loc:I(ie,Re),codegenNode:void 0}}function ao(ie,be){const Be=[],Re=new Set;for(;ie.source.length>0&&!H(ie.source,">")&&!H(ie.source,"/>");){if(H(ie.source,"/")){je(ie,22),ee(ie,1),ve(ie);continue}be===1&&je(ie,3);const Ke=Ro(ie,Re);be===0&&Be.push(Ke),/^[^\t\r\n\f />]/.test(ie.source)&&je(ie,15),ve(ie)}return Be}function Ro(ie,be){const Be=T(ie),Re=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(ie.source)[0];be.has(Re)&&je(ie,2),be.add(Re),Re[0]==="="&&je(ie,19);{const Je=/["'<]/g;let qe;for(;qe=Je.exec(Re);)je(ie,17,qe.index)}let Ke;ee(ie,Re.length),/^[\t\r\n\f ]*=/.test(ie.source)&&(ve(ie),ee(ie,1),ve(ie),Ke=function(Je){const qe=T(Je);let $e;const yt=Je.source[0],Mt=yt==='"'||yt==="'";if(Mt){ee(Je,1);const Ot=Je.source.indexOf(yt);Ot===-1?$e=ht(Je,Je.source.length,4):($e=ht(Je,Ot,4),ee(Je,1))}else{const Ot=/^[^\t\r\n\f >]+/.exec(Je.source);if(!Ot)return;const Qt=/["'<=`]/g;let _n;for(;_n=Qt.exec(Ot[0]);)je(Je,18,_n.index);$e=ht(Je,Ot[0].length,4)}return{content:$e,isQuoted:Mt,loc:I(Je,qe)}}(ie),Ke||je(ie,13));const Xe=I(ie,Be);if(!ie.inVPre&&/^(v-|:|@|#)/.test(Re)){const Je=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(Re);let qe,$e=Je[1]||(H(Re,":")?"bind":H(Re,"@")?"on":"slot");if(Je[2]){const Mt=$e==="slot",Ot=Re.lastIndexOf(Je[2]),Qt=I(ie,De(ie,Be,Ot),De(ie,Be,Ot+Je[2].length+(Mt&&Je[3]||"").length));let _n=Je[2],xn=!0;_n.startsWith("[")?(xn=!1,_n.endsWith("]")||je(ie,26),_n=_n.substr(1,_n.length-2)):Mt&&(_n+=Je[3]||""),qe={type:4,content:_n,isStatic:xn,constType:xn?3:0,loc:Qt}}if(Ke&&Ke.isQuoted){const Mt=Ke.loc;Mt.start.offset++,Mt.start.column++,Mt.end=At(Mt.start,Ke.content),Mt.source=Mt.source.slice(1,-1)}const yt=Je[3]?Je[3].substr(1).split("."):[];return $e==="bind"&&qe&&yt.includes("sync")&&wt("COMPILER_V_BIND_SYNC",ie,0,qe.loc.source)&&($e="model",yt.splice(yt.indexOf("sync"),1)),{type:7,name:$e,exp:Ke&&{type:4,content:Ke.content,isStatic:!1,constType:0,loc:Ke.loc},arg:qe,modifiers:yt,loc:Xe}}return{type:6,name:Re,value:Ke&&{type:2,content:Ke.content,loc:Ke.loc},loc:Xe}}function Ua(ie,be){const[Be,Re]=ie.options.delimiters,Ke=ie.source.indexOf(Re,Be.length);if(Ke===-1)return void je(ie,25);const Xe=T(ie);ee(ie,Be.length);const Je=T(ie),qe=T(ie),$e=Ke-Be.length,yt=ie.source.slice(0,$e),Mt=ht(ie,$e,be),Ot=Mt.trim(),Qt=Mt.indexOf(Ot);return Qt>0&&bt(Je,yt,Qt),bt(qe,yt,$e-(Mt.length-Ot.length-Qt)),ee(ie,Re.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:Ot,loc:I(ie,Je,qe)},loc:I(ie,Xe)}}function ks(ie,be){const Be=["<",ie.options.delimiters[0]];be===3&&Be.push("]]>");let Re=ie.source.length;for(let Xe=0;Xe<Be.length;Xe++){const Je=ie.source.indexOf(Be[Xe],1);Je!==-1&&Re>Je&&(Re=Je)}const Ke=T(ie);return{type:2,content:ht(ie,Re,be),loc:I(ie,Ke)}}function ht(ie,be,Be){const Re=ie.source.slice(0,be);return ee(ie,be),Be===2||Be===3||Re.indexOf("&")===-1?Re:ie.options.decodeEntities(Re,Be===4)}function T(ie){const{column:be,line:Be,offset:Re}=ie;return{column:be,line:Be,offset:Re}}function I(ie,be,Be){return{start:be,end:Be=Be||T(ie),source:ie.originalSource.slice(be.offset,Be.offset)}}function U(ie){return ie[ie.length-1]}function H(ie,be){return ie.startsWith(be)}function ee(ie,be){const{source:Be}=ie;bt(ie,Be,be),ie.source=Be.slice(be)}function ve(ie){const be=/^[\t\r\n\f ]+/.exec(ie.source);be&&ee(ie,be[0].length)}function De(ie,be,Be){return At(be,ie.originalSource.slice(be.offset,Be),Be)}function je(ie,be,Be,Re=T(ie)){Be&&(Re.offset+=Be,Re.column+=Be),ie.options.onError(v(be,{start:Re,end:Re,source:""}))}function Qe(ie,be,Be){const Re=ie.source;switch(be){case 0:if(H(Re,"</")){for(let Ke=Be.length-1;Ke>=0;--Ke)if(nt(Re,Be[Ke].tag))return!0}break;case 1:case 2:{const Ke=U(Be);if(Ke&&nt(Re,Ke.tag))return!0;break}case 3:if(H(Re,"]]>"))return!0}return!Re}function nt(ie,be){return H(ie,"</")&&ie.substr(2,be.length).toLowerCase()===be.toLowerCase()&&/[\t\r\n\f />]/.test(ie[2+be.length]||">")}function gt(ie,be){Tt(ie,be,dt(ie,ie.children[0]))}function dt(ie,be){const{children:Be}=ie;return Be.length===1&&be.type===1&&!ut(be)}function Tt(ie,be,Be=!1){let Re=!1,Ke=!0;const{children:Xe}=ie;for(let Je=0;Je<Xe.length;Je++){const qe=Xe[Je];if(qe.type===1&&qe.tagType===0){const $e=Be?0:nn(qe,be);if($e>0){if($e<3&&(Ke=!1),$e>=2){qe.codegenNode.patchFlag="-1",qe.codegenNode=be.hoist(qe.codegenNode),Re=!0;continue}}else{const yt=qe.codegenNode;if(yt.type===13){const Mt=Wt(yt);if((!Mt||Mt===512||Mt===1)&&dn(qe,be)>=2){const Ot=Gt(qe);Ot&&(yt.props=be.hoist(Ot))}}}}else if(qe.type===12){const $e=nn(qe.content,be);$e>0&&($e<3&&(Ke=!1),$e>=2&&(qe.codegenNode=be.hoist(qe.codegenNode),Re=!0))}if(qe.type===1){const $e=qe.tagType===1;$e&&be.scopes.vSlot++,Tt(qe,be),$e&&be.scopes.vSlot--}else if(qe.type===11)Tt(qe,be,qe.children.length===1);else if(qe.type===9)for(let $e=0;$e<qe.branches.length;$e++)Tt(qe.branches[$e],be,qe.branches[$e].children.length===1)}Ke&&Re&&be.transformHoist&&be.transformHoist(Xe,be,ie)}function nn(ie,be){const{constantCache:Be}=be;switch(ie.type){case 1:if(ie.tagType!==0)return 0;const Re=Be.get(ie);if(Re!==void 0)return Re;const Ke=ie.codegenNode;if(Ke.type!==13)return 0;if(Wt(Ke))return Be.set(ie,0),0;{let Je=3;const qe=dn(ie,be);if(qe===0)return Be.set(ie,0),0;qe<Je&&(Je=qe);for(let $e=0;$e<ie.children.length;$e++){const yt=nn(ie.children[$e],be);if(yt===0)return Be.set(ie,0),0;yt<Je&&(Je=yt)}if(Je>1)for(let $e=0;$e<ie.props.length;$e++){const yt=ie.props[$e];if(yt.type===7&&yt.name==="bind"&&yt.exp){const Mt=nn(yt.exp,be);if(Mt===0)return Be.set(ie,0),0;Mt<Je&&(Je=Mt)}}return Ke.isBlock&&(be.removeHelper(E),be.removeHelper(w),Ke.isBlock=!1,be.helper(S)),Be.set(ie,Je),Je}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return nn(ie.content,be);case 4:return ie.constType;case 8:let Xe=3;for(let Je=0;Je<ie.children.length;Je++){const qe=ie.children[Je];if(s.isString(qe)||s.isSymbol(qe))continue;const $e=nn(qe,be);if($e===0)return 0;$e<Xe&&(Xe=$e)}return Xe;default:return 0}}function dn(ie,be){let Be=3;const Re=Gt(ie);if(Re&&Re.type===15){const{properties:Ke}=Re;for(let Xe=0;Xe<Ke.length;Xe++){const{key:Je,value:qe}=Ke[Xe],$e=nn(Je,be);if($e===0)return $e;if($e<Be&&(Be=$e),qe.type!==4)return 0;const yt=nn(qe,be);if(yt===0)return yt;yt<Be&&(Be=yt)}}return Be}function Gt(ie){const be=ie.codegenNode;if(be.type===13)return be.props}function Wt(ie){const be=ie.patchFlag;return be?parseInt(be,10):void 0}function yn(ie,{filename:be="",prefixIdentifiers:Be=!1,hoistStatic:Re=!1,cacheHandlers:Ke=!1,nodeTransforms:Xe=[],directiveTransforms:Je={},transformHoist:qe=null,isBuiltInComponent:$e=s.NOOP,isCustomElement:yt=s.NOOP,expressionPlugins:Mt=[],scopeId:Ot=null,slotted:Qt=!0,ssr:_n=!1,ssrCssVars:xn="",bindingMetadata:fn=s.EMPTY_OBJ,inline:Ft=!1,isTS:$t=!1,onError:er=h,onWarn:on=d,compatConfig:Gn}){const sr=be.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),An={selfName:sr&&s.capitalize(s.camelize(sr[1])),prefixIdentifiers:Be,hoistStatic:Re,cacheHandlers:Ke,nodeTransforms:Xe,directiveTransforms:Je,transformHoist:qe,isBuiltInComponent:$e,isCustomElement:yt,expressionPlugins:Mt,scopeId:Ot,slotted:Qt,ssr:_n,ssrCssVars:xn,bindingMetadata:fn,inline:Ft,isTS:$t,onError:er,onWarn:on,compatConfig:Gn,root:ie,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:ie,childIndex:0,helper(In){const kr=An.helpers.get(In)||0;return An.helpers.set(In,kr+1),In},removeHelper(In){const kr=An.helpers.get(In);if(kr){const ca=kr-1;ca?An.helpers.set(In,ca):An.helpers.delete(In)}},helperString:In=>`_${X[An.helper(In)]}`,replaceNode(In){An.parent.children[An.childIndex]=An.currentNode=In},removeNode(In){const kr=An.parent.children,ca=In?kr.indexOf(In):An.currentNode?An.childIndex:-1;In&&In!==An.currentNode?An.childIndex>ca&&(An.childIndex--,An.onNodeRemoved()):(An.currentNode=null,An.onNodeRemoved()),An.parent.children.splice(ca,1)},onNodeRemoved:()=>{},addIdentifiers(In){s.isString(In)?cr(In):In.identifiers?In.identifiers.forEach(cr):In.type===4&&cr(In.content)},removeIdentifiers(In){s.isString(In)?Lr(In):In.identifiers?In.identifiers.forEach(Lr):In.type===4&&Lr(In.content)},hoist(In){An.hoists.push(In);const kr=me(`_hoisted_${An.hoists.length}`,!1,In.loc,2);return kr.hoisted=In,kr},cache:(In,kr=!1)=>W(++An.cached,In,kr)};function cr(In){const{identifiers:kr}=An;kr[In]===void 0&&(kr[In]=0),kr[In]++}function Lr(In){An.identifiers[In]--}return An.filters=new Set,An}function Hn(ie,be){const Be=yn(ie,be);gr(ie,Be),be.hoistStatic&>(ie,Be),be.ssr||function(Re,Ke){const{helper:Xe,removeHelper:Je}=Ke,{children:qe}=Re;if(qe.length===1){const $e=qe[0];if(dt(Re,$e)&&$e.codegenNode){const yt=$e.codegenNode;yt.type===13&&(yt.isBlock||(Je(S),yt.isBlock=!0,Xe(E),Xe(w))),Re.codegenNode=yt}else Re.codegenNode=$e}else if(qe.length>1){let $e=64;s.PatchFlagNames[64],Re.codegenNode=he(Ke,Xe(p),void 0,Re.children,$e+"",void 0,void 0,!0)}}(ie,Be),ie.helpers=[...Be.helpers.keys()],ie.components=[...Be.components],ie.directives=[...Be.directives],ie.imports=Be.imports,ie.hoists=Be.hoists,ie.temps=Be.temps,ie.cached=Be.cached,ie.filters=[...Be.filters]}function gr(ie,be){be.currentNode=ie;const{nodeTransforms:Be}=be,Re=[];for(let Xe=0;Xe<Be.length;Xe++){const Je=Be[Xe](ie,be);if(Je&&(s.isArray(Je)?Re.push(...Je):Re.push(Je)),!be.currentNode)return;ie=be.currentNode}switch(ie.type){case 3:be.ssr||be.helper(A);break;case 5:be.ssr||be.helper(R);break;case 9:for(let Xe=0;Xe<ie.branches.length;Xe++)gr(ie.branches[Xe],be);break;case 10:case 11:case 1:case 0:(function(Xe,Je){let qe=0;const $e=()=>{qe--};for(;qe<Xe.children.length;qe++){const yt=Xe.children[qe];s.isString(yt)||(Je.parent=Xe,Je.childIndex=qe,Je.onNodeRemoved=$e,gr(yt,Je))}})(ie,be)}be.currentNode=ie;let Ke=Re.length;for(;Ke--;)Re[Ke]()}function mr(ie,be){const Be=s.isString(ie)?Re=>Re===ie:Re=>ie.test(Re);return(Re,Ke)=>{if(Re.type===1){const{props:Xe}=Re;if(Re.tagType===3&&Xe.some(En))return;const Je=[];for(let qe=0;qe<Xe.length;qe++){const $e=Xe[qe];if($e.type===7&&Be($e.name)){Xe.splice(qe,1),qe--;const yt=be(Re,$e,Ke);yt&&Je.push(yt)}}return Je}}}const ti="/*#__PURE__*/";function ai(ie,{mode:be="function",prefixIdentifiers:Be=be==="module",sourceMap:Re=!1,filename:Ke="template.vue.html",scopeId:Xe=null,optimizeImports:Je=!1,runtimeGlobalName:qe="Vue",runtimeModuleName:$e="vue",ssr:yt=!1,isTS:Mt=!1}){const Ot={mode:be,prefixIdentifiers:Be,sourceMap:Re,filename:Ke,scopeId:Xe,optimizeImports:Je,runtimeGlobalName:qe,runtimeModuleName:$e,ssr:yt,isTS:Mt,source:ie.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:xn=>`_${X[xn]}`,push(xn,fn){if(Ot.code+=xn,Ot.map){if(fn){let Ft;if(fn.type===4&&!fn.isStatic){const $t=fn.content.replace(/^_ctx\./,"");$t!==fn.content&&Ne($t)&&(Ft=$t)}_n(fn.loc.start,Ft)}bt(Ot,xn),fn&&fn.loc!==q&&_n(fn.loc.end)}},indent(){Qt(++Ot.indentLevel)},deindent(xn=!1){xn?--Ot.indentLevel:Qt(--Ot.indentLevel)},newline(){Qt(Ot.indentLevel)}};function Qt(xn){Ot.push(`
|
|
2491
|
-
`+" ".repeat(xn))}function _n(xn,fn){Ot.map.addMapping({name:fn,source:Ot.filename,original:{line:xn.line,column:xn.column-1},generated:{line:Ot.line,column:Ot.column-1}})}return Re&&(Ot.map=new l.SourceMapGenerator,Ot.map.setSourceContent(Ke,Ot.source)),Ot}function la(ie,
|
|
2490
|
+
`),Sn.trim(),Object.assign(Object.assign({},De),{bindings:yn,content:Sn.toString(),map:Sn.generateMap({source:Qe,hires:!0,includeContent:!0}),scriptAst:Du,scriptSetupAst:Yc})},i.b=function(H){return function(ee){const{filename:ve,id:De,scoped:je=!1,trim:Qe=!0,isProd:nt=!1,modules:gt=!1,modulesOptions:dt={},preprocessLang:Tt,postcssOptions:nn,postcssPlugins:dn}=ee,Gt=Tt&&Dt[Tt],Wt=Gt&&function(xt,we){return we(xt.source,xt.inMap||xt.map,Object.assign({filename:xt.filename},xt.preprocessOptions),xt.preprocessCustomRequire)}(ee,Gt),yn=Wt?Wt.map:ee.inMap||ee.map,Hn=Wt?Wt.code:ee.source,gr=De.replace(/^data-v-/,""),mr=`data-v-${gr}`,ti=(dn||[]).slice();let ai;if(ti.unshift(G({id:gr,isProd:nt})),Qe&&ti.push(Ne()),je&&ti.push(Ve(mr)),gt){if(!ee.isAsync)throw new Error("[@vue/compiler-sfc] `modules` option can only be used with compileStyleAsync().");ti.push(u(310)(Object.assign(Object.assign({},dt),{getJSON:(xt,we)=>{ai=we}})))}const la=Object.assign(Object.assign({},nn),{to:ve,from:ve});let oi,le,fe;yn&&(la.map={inline:!1,annotation:!1,prev:yn});const Le=new Set(Wt?Wt.dependencies:[]);Le.delete(ve);const Ye=[];Wt&&Wt.errors.length&&Ye.push(...Wt.errors);const ct=xt=>(xt.forEach(we=>{we.type==="dependency"&&Le.add(we.file)}),Le);try{if(oi=k(ti).process(Hn,la),ee.isAsync)return oi.then(xt=>({code:xt.css||"",map:xt.map&&xt.map.toJSON(),errors:Ye,modules:ai,rawResult:xt,dependencies:ct(xt.messages)})).catch(xt=>({code:"",map:void 0,errors:[...Ye,xt],rawResult:void 0,dependencies:Le}));ct(oi.messages),le=oi.css,fe=oi.map}catch(xt){Ye.push(xt)}return{code:le||"",map:fe&&fe.toJSON(),errors:Ye,rawResult:oi,dependencies:Le}}(Object.assign(Object.assign({},H),{isAsync:!0}))},i.c=Ce,i.d=function(H,{sourceMap:ee=!0,filename:ve="anonymous.vue",sourceRoot:De="",pad:je=!1,compiler:Qe=P}={}){const nt=H+ee+ve+De+je+Qe.parse,gt=J.get(nt);if(gt)return gt;const dt={filename:ve,source:H,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1},Tt=[];if(Qe.parse(H,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:Gt,props:Wt},yn)=>!yn&&Gt!=="template"||Gt==="template"&&Wt.some(Hn=>Hn.type===6&&Hn.name==="lang"&&Hn.value&&Hn.value.content&&Hn.value.content!=="html")?2:0,onError:Gt=>{Tt.push(Gt)}}).children.forEach(Gt=>{if(Gt.type===1&&(Gt.children.length||function(Wt){return Wt.props.some(yn=>yn.type===6&&yn.name==="src")}(Gt)||Gt.tag==="template"))switch(Gt.tag){case"template":if(dt.template)Tt.push(Q(Gt));else{const gr=dt.template=ce(Gt,H,!1);if(gr.ast=Gt,gr.attrs.functional){const mr=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");mr.loc=Gt.props.find(ti=>ti.name==="functional").loc,Tt.push(mr)}}break;case"script":const Wt=ce(Gt,H,je),yn=!!Wt.attrs.setup;if(yn&&!dt.scriptSetup){dt.scriptSetup=Wt;break}if(!yn&&!dt.script){dt.script=Wt;break}Tt.push(Q(Gt,yn));break;case"style":const Hn=ce(Gt,H,je);Hn.attrs.vars&&Tt.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),dt.styles.push(Hn);break;default:dt.customBlocks.push(ce(Gt,H,je))}}),dt.scriptSetup&&(dt.scriptSetup.src&&(Tt.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),dt.scriptSetup=null),dt.script&&dt.script.src&&(Tt.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),dt.script=null)),ee){const Gt=Wt=>{Wt&&!Wt.src&&(Wt.map=ge(ve,H,Wt.content,De,je&&Wt.type!=="template"?0:Wt.loc.start.line-1))};Gt(dt.template),Gt(dt.script),dt.styles.forEach(Gt),dt.customBlocks.forEach(Gt)}dt.cssVars=function(Gt){const Wt=[];return Gt.styles.forEach(yn=>{let Hn;for(;Hn=j.exec(yn.content);)Wt.push(Hn[1]||Hn[2]||Hn[3])}),Wt}(dt),dt.cssVars.length&&Y("v-bind() CSS variable injection",231);const nn=/(?:::v-|:)slotted\(/;dt.slotted=dt.styles.some(Gt=>Gt.scoped&&nn.test(Gt.content));const dn={descriptor:dt,errors:Tt};return J.set(nt,dn),dn}},(o,i,u)=>{o.exports=u(314)},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0});var s=u(83),l=u(508),c=u(27),f=u(95);function h(ie){throw ie}function d(ie){}function v(ie,xe,Be,Re){const Ke=(Be||m)[ie]+(Re||""),Xe=new SyntaxError(String(Ke));return Xe.code=ie,Xe.loc=xe,Xe}const m={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null cahracter.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",26:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",27:"v-if/v-else-if is missing expression.",28:"v-if/else branches must use unique keys.",29:"v-else/v-else-if has no adjacent v-if.",30:"v-for is missing expression.",31:"v-for has invalid expression.",32:"<template v-for> key should be placed on the <template> tag.",33:"v-bind is missing expression.",34:"v-on is missing expression.",35:"Unexpected custom directive on <slot> outlet.",36:"Mixed v-slot usage on both the component and nested <template>.When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",37:"Duplicate slot names found. ",38:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",39:"v-slot can only be used on components or <template> tags.",40:"v-model is missing expression.",41:"v-model value must be a valid JavaScript member expression.",42:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",43:"Error parsing JavaScript expression: ",44:"<KeepAlive> expects exactly one child component.",45:'"prefixIdentifiers" option is not supported in this build of compiler.',46:"ES module mode is not supported in this build of compiler.",47:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',48:'"scopeId" option is only supported in module mode.',49:""},p=Symbol(""),g=Symbol(""),y=Symbol(""),x=Symbol(""),b=Symbol(""),E=Symbol(""),w=Symbol(""),S=Symbol(""),A=Symbol(""),P=Symbol(""),C=Symbol(""),D=Symbol(""),O=Symbol(""),k=Symbol(""),B=Symbol(""),N=Symbol(""),M=Symbol(""),j=Symbol(""),F=Symbol(""),R=Symbol(""),G=Symbol(""),L=Symbol(""),V=Symbol(""),K=Symbol(""),Y=Symbol(""),J=Symbol(""),Q=Symbol(""),ce=Symbol(""),se=Symbol(""),oe=Symbol(""),ae=Symbol(""),ge=Symbol(""),X={[p]:"Fragment",[g]:"Teleport",[y]:"Suspense",[x]:"KeepAlive",[b]:"BaseTransition",[E]:"openBlock",[w]:"createBlock",[S]:"createVNode",[A]:"createCommentVNode",[P]:"createTextVNode",[C]:"createStaticVNode",[D]:"resolveComponent",[O]:"resolveDynamicComponent",[k]:"resolveDirective",[B]:"resolveFilter",[N]:"withDirectives",[M]:"renderList",[j]:"renderSlot",[F]:"createSlots",[R]:"toDisplayString",[G]:"mergeProps",[L]:"toHandlers",[V]:"camelize",[K]:"capitalize",[Y]:"toHandlerKey",[J]:"setBlockTracking",[Q]:"pushScopeId",[ce]:"popScopeId",[se]:"withScopeId",[oe]:"withCtx",[ae]:"unref",[ge]:"isRef"},q={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function re(ie,xe=q){return{type:0,children:ie,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:xe}}function he(ie,xe,Be,Re,Ke,Xe,Je,qe=!1,$e=!1,yt=q){return ie&&(qe?(ie.helper(E),ie.helper(w)):ie.helper(S),Je&&ie.helper(N)),{type:13,tag:xe,props:Be,children:Re,patchFlag:Ke,dynamicProps:Xe,directives:Je,isBlock:qe,disableTracking:$e,loc:yt}}function de(ie,xe=q){return{type:17,loc:xe,elements:ie}}function _e(ie,xe=q){return{type:15,loc:xe,properties:ie}}function pe(ie,xe){return{type:16,loc:q,key:s.isString(ie)?me(ie,!0):ie,value:xe}}function me(ie,xe,Be=q,Re=0){return{type:4,loc:Be,content:ie,isStatic:xe,constType:xe?3:Re}}function Se(ie,xe=q){return{type:8,loc:xe,children:ie}}function Ee(ie,xe=[],Be=q){return{type:14,loc:Be,callee:ie,arguments:xe}}function Te(ie,xe,Be=!1,Re=!1,Ke=q){return{type:18,params:ie,returns:xe,newline:Be,isSlot:Re,loc:Ke}}function Z(ie,xe,Be,Re=!0){return{type:19,test:ie,consequent:xe,alternate:Be,newline:Re,loc:q}}function W(ie,xe,Be=!1){return{type:20,index:ie,value:xe,isVNode:Be,loc:q}}const $=ie=>ie.type===4&&ie.isStatic,ue=(ie,xe)=>ie===xe||ie===s.hyphenate(xe);function Ce(ie){return ue(ie,"Teleport")?g:ue(ie,"Suspense")?y:ue(ie,"KeepAlive")?x:ue(ie,"BaseTransition")?b:void 0}const ke=/^\d|[^\$\w]/,Ne=ie=>!ke.test(ie),Me=/[A-Za-z_$\xA0-\uFFFF]/,Ue=/[\.\w$\xA0-\uFFFF]/,Ve=/\s+[.[]\s*|\s*[.[]\s+/g,We=ie=>{ie=ie.trim().replace(Ve,Xe=>Xe.trim());let xe=0,Be=0,Re=0,Ke=null;for(let Xe=0;Xe<ie.length;Xe++){const Je=ie.charAt(Xe);switch(xe){case 0:if(Je==="[")Be=xe,xe=1,Re++;else if(!(Xe===0?Me:Ue).test(Je))return!1;break;case 1:Je==="'"||Je==='"'||Je==="`"?(Be=xe,xe=2,Ke=Je):Je==="["?Re++:Je==="]"&&(--Re||(xe=Be));break;case 2:Je===Ke&&(xe=Be,Ke=null)}}return!Re};function rt(ie,xe,Be){const Re={source:ie.source.substr(xe,Be),start:At(ie.start,ie.source,xe),end:ie.end};return Be!=null&&(Re.end=At(ie.start,ie.source,xe+Be)),Re}function At(ie,xe,Be=xe.length){return bt(s.extend({},ie),xe,Be)}function bt(ie,xe,Be=xe.length){let Re=0,Ke=-1;for(let Xe=0;Xe<Be;Xe++)xe.charCodeAt(Xe)===10&&(Re++,Ke=Xe);return ie.offset+=Be,ie.line+=Re,ie.column=Ke===-1?ie.column+Be:Be-Ke,ie}function kt(ie,xe,Be=!1){for(let Re=0;Re<ie.props.length;Re++){const Ke=ie.props[Re];if(Ke.type===7&&(Be||Ke.exp)&&(s.isString(xe)?Ke.name===xe:xe.test(Ke.name)))return Ke}}function Et(ie,xe,Be=!1,Re=!1){for(let Ke=0;Ke<ie.props.length;Ke++){const Xe=ie.props[Ke];if(Xe.type===6){if(Be)continue;if(Xe.name===xe&&(Xe.value||Re))return Xe}else if(Xe.name==="bind"&&(Xe.exp||Re)&&Dt(Xe.arg,xe))return Xe}}function Dt(ie,xe){return!(!ie||!$(ie)||ie.content!==xe)}function pt(ie){return ie.type===5||ie.type===2}function En(ie){return ie.type===7&&ie.name==="slot"}function it(ie){return ie.type===1&&ie.tagType===3}function ut(ie){return ie.type===1&&ie.tagType===2}function ne(ie,xe,Be){let Re;const Ke=ie.type===13?ie.props:ie.arguments[2];if(Ke==null||s.isString(Ke))Re=_e([xe]);else if(Ke.type===14){const Xe=Ke.arguments[0];s.isString(Xe)||Xe.type!==15?Ke.callee===L?Re=Ee(Be.helper(G),[_e([xe]),Ke]):Ke.arguments.unshift(_e([xe])):Xe.properties.unshift(xe),!Re&&(Re=Ke)}else if(Ke.type===15){let Xe=!1;if(xe.key.type===4){const Je=xe.key.content;Xe=Ke.properties.some(qe=>qe.key.type===4&&qe.key.content===Je)}Xe||Ke.properties.unshift(xe),Re=Ke}else Re=Ee(Be.helper(G),[_e([xe]),Ke]);ie.type===13?ie.props=Re:ie.arguments[2]=Re}function Ie(ie,xe){return`_${xe}_${ie.replace(/[^\w]/g,"_")}`}function Pe(ie,xe){if(!ie||Object.keys(xe).length===0)return!1;switch(ie.type){case 1:for(let Be=0;Be<ie.props.length;Be++){const Re=ie.props[Be];if(Re.type===7&&(Pe(Re.arg,xe)||Pe(Re.exp,xe)))return!0}return ie.children.some(Be=>Pe(Be,xe));case 11:return!!Pe(ie.source,xe)||ie.children.some(Be=>Pe(Be,xe));case 9:return ie.branches.some(Be=>Pe(Be,xe));case 10:return!!Pe(ie.condition,xe)||ie.children.some(Be=>Pe(Be,xe));case 4:return!ie.isStatic&&Ne(ie.content)&&!!xe[ie.content];case 8:return ie.children.some(Be=>s.isObject(Be)&&Pe(Be,xe));case 5:case 12:return Pe(ie.content,xe);case 2:case 3:default:return!1}}const Fe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:ie=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${ie}.sync\` should be changed to \`v-model:${ie}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function He(ie,xe){const Be=xe.options?xe.options.compatConfig:xe.compatConfig,Re=Be&&Be[ie];return ie==="MODE"?Re||3:Re}function ft(ie,xe){const Be=He("MODE",xe),Re=He(ie,xe);return Be===3?Re===!0:Re!==!1}function wt(ie,xe,Be,...Re){return ft(ie,xe)}const Bt=/&(gt|lt|amp|apos|quot);/g,Xt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},wn={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:s.NO,isPreTag:s.NO,isCustomElement:s.NO,decodeEntities:ie=>ie.replace(Bt,(xe,Be)=>Xt[Be]),onError:h,onWarn:d,comments:!1};function vr(ie,xe={}){const Be=function(Ke,Xe){const Je=s.extend({},wn);for(const qe in Xe)Je[qe]=Xe[qe]||wn[qe];return{options:Je,column:1,line:1,offset:0,originalSource:Ke,source:Ke,inPre:!1,inVPre:!1,onWarn:Je.onWarn}}(ie,xe),Re=T(Be);return re($r(Be,0,[]),I(Be,Re))}function $r(ie,xe,Be){const Re=U(Be),Ke=Re?Re.ns:0,Xe=[];for(;!Qe(ie,xe,Be);){const qe=ie.source;let $e;if(xe===0||xe===1){if(!ie.inVPre&&H(qe,ie.options.delimiters[0]))$e=Ua(ie,xe);else if(xe===0&&qe[0]==="<")if(qe.length===1)je(ie,5,1);else if(qe[1]==="!")H(qe,"<!--")?$e=sa(ie):H(qe,"<!DOCTYPE")?$e=Dr(ie):H(qe,"<![CDATA[")?Ke!==0?$e=Tr(ie,Be):(je(ie,1),$e=Dr(ie)):(je(ie,11),$e=Dr(ie));else if(qe[1]==="/")if(qe.length===2)je(ie,5,2);else{if(qe[2]===">"){je(ie,14,2),ee(ie,3);continue}if(/[a-z]/i.test(qe[2])){je(ie,23),ei(ie,1,Re);continue}je(ie,12,2),$e=Dr(ie)}else/[a-z]/i.test(qe[1])?($e=zi(ie,Be),ft("COMPILER_NATIVE_TEMPLATE",ie)&&$e&&$e.tag==="template"&&!$e.props.some(yt=>yt.type===7&&za(yt.name))&&($e=$e.children)):qe[1]==="?"?(je(ie,21,1),$e=Dr(ie)):je(ie,12,1)}if($e||($e=ks(ie,xe)),s.isArray($e))for(let yt=0;yt<$e.length;yt++)Fr(Xe,$e[yt]);else Fr(Xe,$e)}let Je=!1;if(xe!==2&&xe!==1){const qe=ie.options.whitespace==="preserve";for(let $e=0;$e<Xe.length;$e++){const yt=Xe[$e];if(!ie.inPre&&yt.type===2)if(/[^\t\r\n\f ]/.test(yt.content))qe||(yt.content=yt.content.replace(/[\t\r\n\f ]+/g," "));else{const Mt=Xe[$e-1],Ot=Xe[$e+1];!Mt||!Ot||!qe&&(Mt.type===3||Ot.type===3||Mt.type===1&&Ot.type===1&&/[\r\n]/.test(yt.content))?(Je=!0,Xe[$e]=null):yt.content=" "}yt.type!==3||ie.options.comments||(Je=!0,Xe[$e]=null)}if(ie.inPre&&Re&&ie.options.isPreTag(Re.tag)){const $e=Xe[0];$e&&$e.type===2&&($e.content=$e.content.replace(/^\r?\n/,""))}}return Je?Xe.filter(Boolean):Xe}function Fr(ie,xe){if(xe.type===2){const Be=U(ie);if(Be&&Be.type===2&&Be.loc.end.offset===xe.loc.start.offset)return Be.content+=xe.content,Be.loc.end=xe.loc.end,void(Be.loc.source+=xe.loc.source)}ie.push(xe)}function Tr(ie,xe){ee(ie,9);const Be=$r(ie,3,xe);return ie.source.length===0?je(ie,6):ee(ie,3),Be}function sa(ie){const xe=T(ie);let Be;const Re=/--(\!)?>/.exec(ie.source);if(Re){Re.index<=3&&je(ie,0),Re[1]&&je(ie,10),Be=ie.source.slice(4,Re.index);const Ke=ie.source.slice(0,Re.index);let Xe=1,Je=0;for(;(Je=Ke.indexOf("<!--",Xe))!==-1;)ee(ie,Je-Xe+1),Je+4<Ke.length&&je(ie,16),Xe=Je+1;ee(ie,Re.index+Re[0].length-Xe+1)}else Be=ie.source.slice(4),ee(ie,ie.source.length),je(ie,7);return{type:3,content:Be,loc:I(ie,xe)}}function Dr(ie){const xe=T(ie),Be=ie.source[1]==="?"?1:2;let Re;const Ke=ie.source.indexOf(">");return Ke===-1?(Re=ie.source.slice(Be),ee(ie,ie.source.length)):(Re=ie.source.slice(Be,Ke),ee(ie,Ke+1)),{type:3,content:Re,loc:I(ie,xe)}}function zi(ie,xe){const Be=ie.inPre,Re=ie.inVPre,Ke=U(xe),Xe=ei(ie,0,Ke),Je=ie.inPre&&!Be,qe=ie.inVPre&&!Re;if(Xe.isSelfClosing||ie.options.isVoidTag(Xe.tag))return ie.options.isPreTag(Xe.tag)&&(ie.inPre=!1),Xe;xe.push(Xe);const $e=ie.options.getTextMode(Xe,Ke),yt=$r(ie,$e,xe);xe.pop();{const Mt=Xe.props.find(Ot=>Ot.type===6&&Ot.name==="inline-template");if(Mt&&wt("COMPILER_INLINE_TEMPLATE",ie,Mt.loc)){const Ot=I(ie,Xe.loc.end);Mt.value={type:2,content:Ot.source,loc:Ot}}}if(Xe.children=yt,nt(ie.source,Xe.tag))ei(ie,1,Ke);else if(je(ie,24,0,Xe.loc.start),ie.source.length===0&&Xe.tag.toLowerCase()==="script"){const Mt=yt[0];Mt&&H(Mt.loc.source,"<!--")&&je(ie,8)}return Xe.loc=I(ie,Xe.loc.start),Je&&(ie.inPre=!1),qe&&(ie.inVPre=!1),Xe}const za=s.makeMap("if,else,else-if,for,slot");function ei(ie,xe,Be){const Re=T(ie),Ke=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(ie.source),Xe=Ke[1],Je=ie.options.getNamespace(Xe,Be);ee(ie,Ke[0].length),ve(ie);const qe=T(ie),$e=ie.source;ie.options.isPreTag(Xe)&&(ie.inPre=!0);let yt=ao(ie,xe);xe===0&&!ie.inVPre&&yt.some(Qt=>Qt.type===7&&Qt.name==="pre")&&(ie.inVPre=!0,s.extend(ie,qe),ie.source=$e,yt=ao(ie,xe).filter(Qt=>Qt.name!=="v-pre"));let Mt=!1;if(ie.source.length===0?je(ie,9):(Mt=H(ie.source,"/>"),xe===1&&Mt&&je(ie,4),ee(ie,Mt?2:1)),xe===1)return;let Ot=0;return ie.inVPre||(Xe==="slot"?Ot=2:Xe==="template"?yt.some(Qt=>Qt.type===7&&za(Qt.name))&&(Ot=3):function(Qt,_n,xn){const fn=xn.options;if(fn.isCustomElement(Qt))return!1;if(Qt==="component"||/^[A-Z]/.test(Qt)||Ce(Qt)||fn.isBuiltInComponent&&fn.isBuiltInComponent(Qt)||fn.isNativeTag&&!fn.isNativeTag(Qt))return!0;for(let Ft=0;Ft<_n.length;Ft++){const $t=_n[Ft];if($t.type===6){if($t.name==="is"&&$t.value&&($t.value.content.startsWith("vue:")||wt("COMPILER_IS_ON_ELEMENT",xn,$t.loc)))return!0}else if($t.name==="is"||$t.name==="bind"&&Dt($t.arg,"is")&&wt("COMPILER_IS_ON_ELEMENT",xn,$t.loc))return!0}}(Xe,yt,ie)&&(Ot=1)),{type:1,ns:Je,tag:Xe,tagType:Ot,props:yt,isSelfClosing:Mt,children:[],loc:I(ie,Re),codegenNode:void 0}}function ao(ie,xe){const Be=[],Re=new Set;for(;ie.source.length>0&&!H(ie.source,">")&&!H(ie.source,"/>");){if(H(ie.source,"/")){je(ie,22),ee(ie,1),ve(ie);continue}xe===1&&je(ie,3);const Ke=Ro(ie,Re);xe===0&&Be.push(Ke),/^[^\t\r\n\f />]/.test(ie.source)&&je(ie,15),ve(ie)}return Be}function Ro(ie,xe){const Be=T(ie),Re=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(ie.source)[0];xe.has(Re)&&je(ie,2),xe.add(Re),Re[0]==="="&&je(ie,19);{const Je=/["'<]/g;let qe;for(;qe=Je.exec(Re);)je(ie,17,qe.index)}let Ke;ee(ie,Re.length),/^[\t\r\n\f ]*=/.test(ie.source)&&(ve(ie),ee(ie,1),ve(ie),Ke=function(Je){const qe=T(Je);let $e;const yt=Je.source[0],Mt=yt==='"'||yt==="'";if(Mt){ee(Je,1);const Ot=Je.source.indexOf(yt);Ot===-1?$e=ht(Je,Je.source.length,4):($e=ht(Je,Ot,4),ee(Je,1))}else{const Ot=/^[^\t\r\n\f >]+/.exec(Je.source);if(!Ot)return;const Qt=/["'<=`]/g;let _n;for(;_n=Qt.exec(Ot[0]);)je(Je,18,_n.index);$e=ht(Je,Ot[0].length,4)}return{content:$e,isQuoted:Mt,loc:I(Je,qe)}}(ie),Ke||je(ie,13));const Xe=I(ie,Be);if(!ie.inVPre&&/^(v-|:|@|#)/.test(Re)){const Je=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(Re);let qe,$e=Je[1]||(H(Re,":")?"bind":H(Re,"@")?"on":"slot");if(Je[2]){const Mt=$e==="slot",Ot=Re.lastIndexOf(Je[2]),Qt=I(ie,De(ie,Be,Ot),De(ie,Be,Ot+Je[2].length+(Mt&&Je[3]||"").length));let _n=Je[2],xn=!0;_n.startsWith("[")?(xn=!1,_n.endsWith("]")||je(ie,26),_n=_n.substr(1,_n.length-2)):Mt&&(_n+=Je[3]||""),qe={type:4,content:_n,isStatic:xn,constType:xn?3:0,loc:Qt}}if(Ke&&Ke.isQuoted){const Mt=Ke.loc;Mt.start.offset++,Mt.start.column++,Mt.end=At(Mt.start,Ke.content),Mt.source=Mt.source.slice(1,-1)}const yt=Je[3]?Je[3].substr(1).split("."):[];return $e==="bind"&&qe&&yt.includes("sync")&&wt("COMPILER_V_BIND_SYNC",ie,0,qe.loc.source)&&($e="model",yt.splice(yt.indexOf("sync"),1)),{type:7,name:$e,exp:Ke&&{type:4,content:Ke.content,isStatic:!1,constType:0,loc:Ke.loc},arg:qe,modifiers:yt,loc:Xe}}return{type:6,name:Re,value:Ke&&{type:2,content:Ke.content,loc:Ke.loc},loc:Xe}}function Ua(ie,xe){const[Be,Re]=ie.options.delimiters,Ke=ie.source.indexOf(Re,Be.length);if(Ke===-1)return void je(ie,25);const Xe=T(ie);ee(ie,Be.length);const Je=T(ie),qe=T(ie),$e=Ke-Be.length,yt=ie.source.slice(0,$e),Mt=ht(ie,$e,xe),Ot=Mt.trim(),Qt=Mt.indexOf(Ot);return Qt>0&&bt(Je,yt,Qt),bt(qe,yt,$e-(Mt.length-Ot.length-Qt)),ee(ie,Re.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:Ot,loc:I(ie,Je,qe)},loc:I(ie,Xe)}}function ks(ie,xe){const Be=["<",ie.options.delimiters[0]];xe===3&&Be.push("]]>");let Re=ie.source.length;for(let Xe=0;Xe<Be.length;Xe++){const Je=ie.source.indexOf(Be[Xe],1);Je!==-1&&Re>Je&&(Re=Je)}const Ke=T(ie);return{type:2,content:ht(ie,Re,xe),loc:I(ie,Ke)}}function ht(ie,xe,Be){const Re=ie.source.slice(0,xe);return ee(ie,xe),Be===2||Be===3||Re.indexOf("&")===-1?Re:ie.options.decodeEntities(Re,Be===4)}function T(ie){const{column:xe,line:Be,offset:Re}=ie;return{column:xe,line:Be,offset:Re}}function I(ie,xe,Be){return{start:xe,end:Be=Be||T(ie),source:ie.originalSource.slice(xe.offset,Be.offset)}}function U(ie){return ie[ie.length-1]}function H(ie,xe){return ie.startsWith(xe)}function ee(ie,xe){const{source:Be}=ie;bt(ie,Be,xe),ie.source=Be.slice(xe)}function ve(ie){const xe=/^[\t\r\n\f ]+/.exec(ie.source);xe&&ee(ie,xe[0].length)}function De(ie,xe,Be){return At(xe,ie.originalSource.slice(xe.offset,Be),Be)}function je(ie,xe,Be,Re=T(ie)){Be&&(Re.offset+=Be,Re.column+=Be),ie.options.onError(v(xe,{start:Re,end:Re,source:""}))}function Qe(ie,xe,Be){const Re=ie.source;switch(xe){case 0:if(H(Re,"</")){for(let Ke=Be.length-1;Ke>=0;--Ke)if(nt(Re,Be[Ke].tag))return!0}break;case 1:case 2:{const Ke=U(Be);if(Ke&&nt(Re,Ke.tag))return!0;break}case 3:if(H(Re,"]]>"))return!0}return!Re}function nt(ie,xe){return H(ie,"</")&&ie.substr(2,xe.length).toLowerCase()===xe.toLowerCase()&&/[\t\r\n\f />]/.test(ie[2+xe.length]||">")}function gt(ie,xe){Tt(ie,xe,dt(ie,ie.children[0]))}function dt(ie,xe){const{children:Be}=ie;return Be.length===1&&xe.type===1&&!ut(xe)}function Tt(ie,xe,Be=!1){let Re=!1,Ke=!0;const{children:Xe}=ie;for(let Je=0;Je<Xe.length;Je++){const qe=Xe[Je];if(qe.type===1&&qe.tagType===0){const $e=Be?0:nn(qe,xe);if($e>0){if($e<3&&(Ke=!1),$e>=2){qe.codegenNode.patchFlag="-1",qe.codegenNode=xe.hoist(qe.codegenNode),Re=!0;continue}}else{const yt=qe.codegenNode;if(yt.type===13){const Mt=Wt(yt);if((!Mt||Mt===512||Mt===1)&&dn(qe,xe)>=2){const Ot=Gt(qe);Ot&&(yt.props=xe.hoist(Ot))}}}}else if(qe.type===12){const $e=nn(qe.content,xe);$e>0&&($e<3&&(Ke=!1),$e>=2&&(qe.codegenNode=xe.hoist(qe.codegenNode),Re=!0))}if(qe.type===1){const $e=qe.tagType===1;$e&&xe.scopes.vSlot++,Tt(qe,xe),$e&&xe.scopes.vSlot--}else if(qe.type===11)Tt(qe,xe,qe.children.length===1);else if(qe.type===9)for(let $e=0;$e<qe.branches.length;$e++)Tt(qe.branches[$e],xe,qe.branches[$e].children.length===1)}Ke&&Re&&xe.transformHoist&&xe.transformHoist(Xe,xe,ie)}function nn(ie,xe){const{constantCache:Be}=xe;switch(ie.type){case 1:if(ie.tagType!==0)return 0;const Re=Be.get(ie);if(Re!==void 0)return Re;const Ke=ie.codegenNode;if(Ke.type!==13)return 0;if(Wt(Ke))return Be.set(ie,0),0;{let Je=3;const qe=dn(ie,xe);if(qe===0)return Be.set(ie,0),0;qe<Je&&(Je=qe);for(let $e=0;$e<ie.children.length;$e++){const yt=nn(ie.children[$e],xe);if(yt===0)return Be.set(ie,0),0;yt<Je&&(Je=yt)}if(Je>1)for(let $e=0;$e<ie.props.length;$e++){const yt=ie.props[$e];if(yt.type===7&&yt.name==="bind"&&yt.exp){const Mt=nn(yt.exp,xe);if(Mt===0)return Be.set(ie,0),0;Mt<Je&&(Je=Mt)}}return Ke.isBlock&&(xe.removeHelper(E),xe.removeHelper(w),Ke.isBlock=!1,xe.helper(S)),Be.set(ie,Je),Je}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return nn(ie.content,xe);case 4:return ie.constType;case 8:let Xe=3;for(let Je=0;Je<ie.children.length;Je++){const qe=ie.children[Je];if(s.isString(qe)||s.isSymbol(qe))continue;const $e=nn(qe,xe);if($e===0)return 0;$e<Xe&&(Xe=$e)}return Xe;default:return 0}}function dn(ie,xe){let Be=3;const Re=Gt(ie);if(Re&&Re.type===15){const{properties:Ke}=Re;for(let Xe=0;Xe<Ke.length;Xe++){const{key:Je,value:qe}=Ke[Xe],$e=nn(Je,xe);if($e===0)return $e;if($e<Be&&(Be=$e),qe.type!==4)return 0;const yt=nn(qe,xe);if(yt===0)return yt;yt<Be&&(Be=yt)}}return Be}function Gt(ie){const xe=ie.codegenNode;if(xe.type===13)return xe.props}function Wt(ie){const xe=ie.patchFlag;return xe?parseInt(xe,10):void 0}function yn(ie,{filename:xe="",prefixIdentifiers:Be=!1,hoistStatic:Re=!1,cacheHandlers:Ke=!1,nodeTransforms:Xe=[],directiveTransforms:Je={},transformHoist:qe=null,isBuiltInComponent:$e=s.NOOP,isCustomElement:yt=s.NOOP,expressionPlugins:Mt=[],scopeId:Ot=null,slotted:Qt=!0,ssr:_n=!1,ssrCssVars:xn="",bindingMetadata:fn=s.EMPTY_OBJ,inline:Ft=!1,isTS:$t=!1,onError:er=h,onWarn:on=d,compatConfig:Gn}){const sr=xe.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),An={selfName:sr&&s.capitalize(s.camelize(sr[1])),prefixIdentifiers:Be,hoistStatic:Re,cacheHandlers:Ke,nodeTransforms:Xe,directiveTransforms:Je,transformHoist:qe,isBuiltInComponent:$e,isCustomElement:yt,expressionPlugins:Mt,scopeId:Ot,slotted:Qt,ssr:_n,ssrCssVars:xn,bindingMetadata:fn,inline:Ft,isTS:$t,onError:er,onWarn:on,compatConfig:Gn,root:ie,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:ie,childIndex:0,helper(In){const kr=An.helpers.get(In)||0;return An.helpers.set(In,kr+1),In},removeHelper(In){const kr=An.helpers.get(In);if(kr){const ca=kr-1;ca?An.helpers.set(In,ca):An.helpers.delete(In)}},helperString:In=>`_${X[An.helper(In)]}`,replaceNode(In){An.parent.children[An.childIndex]=An.currentNode=In},removeNode(In){const kr=An.parent.children,ca=In?kr.indexOf(In):An.currentNode?An.childIndex:-1;In&&In!==An.currentNode?An.childIndex>ca&&(An.childIndex--,An.onNodeRemoved()):(An.currentNode=null,An.onNodeRemoved()),An.parent.children.splice(ca,1)},onNodeRemoved:()=>{},addIdentifiers(In){s.isString(In)?cr(In):In.identifiers?In.identifiers.forEach(cr):In.type===4&&cr(In.content)},removeIdentifiers(In){s.isString(In)?Lr(In):In.identifiers?In.identifiers.forEach(Lr):In.type===4&&Lr(In.content)},hoist(In){An.hoists.push(In);const kr=me(`_hoisted_${An.hoists.length}`,!1,In.loc,2);return kr.hoisted=In,kr},cache:(In,kr=!1)=>W(++An.cached,In,kr)};function cr(In){const{identifiers:kr}=An;kr[In]===void 0&&(kr[In]=0),kr[In]++}function Lr(In){An.identifiers[In]--}return An.filters=new Set,An}function Hn(ie,xe){const Be=yn(ie,xe);gr(ie,Be),xe.hoistStatic&>(ie,Be),xe.ssr||function(Re,Ke){const{helper:Xe,removeHelper:Je}=Ke,{children:qe}=Re;if(qe.length===1){const $e=qe[0];if(dt(Re,$e)&&$e.codegenNode){const yt=$e.codegenNode;yt.type===13&&(yt.isBlock||(Je(S),yt.isBlock=!0,Xe(E),Xe(w))),Re.codegenNode=yt}else Re.codegenNode=$e}else if(qe.length>1){let $e=64;s.PatchFlagNames[64],Re.codegenNode=he(Ke,Xe(p),void 0,Re.children,$e+"",void 0,void 0,!0)}}(ie,Be),ie.helpers=[...Be.helpers.keys()],ie.components=[...Be.components],ie.directives=[...Be.directives],ie.imports=Be.imports,ie.hoists=Be.hoists,ie.temps=Be.temps,ie.cached=Be.cached,ie.filters=[...Be.filters]}function gr(ie,xe){xe.currentNode=ie;const{nodeTransforms:Be}=xe,Re=[];for(let Xe=0;Xe<Be.length;Xe++){const Je=Be[Xe](ie,xe);if(Je&&(s.isArray(Je)?Re.push(...Je):Re.push(Je)),!xe.currentNode)return;ie=xe.currentNode}switch(ie.type){case 3:xe.ssr||xe.helper(A);break;case 5:xe.ssr||xe.helper(R);break;case 9:for(let Xe=0;Xe<ie.branches.length;Xe++)gr(ie.branches[Xe],xe);break;case 10:case 11:case 1:case 0:(function(Xe,Je){let qe=0;const $e=()=>{qe--};for(;qe<Xe.children.length;qe++){const yt=Xe.children[qe];s.isString(yt)||(Je.parent=Xe,Je.childIndex=qe,Je.onNodeRemoved=$e,gr(yt,Je))}})(ie,xe)}xe.currentNode=ie;let Ke=Re.length;for(;Ke--;)Re[Ke]()}function mr(ie,xe){const Be=s.isString(ie)?Re=>Re===ie:Re=>ie.test(Re);return(Re,Ke)=>{if(Re.type===1){const{props:Xe}=Re;if(Re.tagType===3&&Xe.some(En))return;const Je=[];for(let qe=0;qe<Xe.length;qe++){const $e=Xe[qe];if($e.type===7&&Be($e.name)){Xe.splice(qe,1),qe--;const yt=xe(Re,$e,Ke);yt&&Je.push(yt)}}return Je}}}const ti="/*#__PURE__*/";function ai(ie,{mode:xe="function",prefixIdentifiers:Be=xe==="module",sourceMap:Re=!1,filename:Ke="template.vue.html",scopeId:Xe=null,optimizeImports:Je=!1,runtimeGlobalName:qe="Vue",runtimeModuleName:$e="vue",ssr:yt=!1,isTS:Mt=!1}){const Ot={mode:xe,prefixIdentifiers:Be,sourceMap:Re,filename:Ke,scopeId:Xe,optimizeImports:Je,runtimeGlobalName:qe,runtimeModuleName:$e,ssr:yt,isTS:Mt,source:ie.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:xn=>`_${X[xn]}`,push(xn,fn){if(Ot.code+=xn,Ot.map){if(fn){let Ft;if(fn.type===4&&!fn.isStatic){const $t=fn.content.replace(/^_ctx\./,"");$t!==fn.content&&Ne($t)&&(Ft=$t)}_n(fn.loc.start,Ft)}bt(Ot,xn),fn&&fn.loc!==q&&_n(fn.loc.end)}},indent(){Qt(++Ot.indentLevel)},deindent(xn=!1){xn?--Ot.indentLevel:Qt(--Ot.indentLevel)},newline(){Qt(Ot.indentLevel)}};function Qt(xn){Ot.push(`
|
|
2491
|
+
`+" ".repeat(xn))}function _n(xn,fn){Ot.map.addMapping({name:fn,source:Ot.filename,original:{line:xn.line,column:xn.column-1},generated:{line:Ot.line,column:Ot.column-1}})}return Re&&(Ot.map=new l.SourceMapGenerator,Ot.map.setSourceContent(Ke,Ot.source)),Ot}function la(ie,xe={}){const Be=ai(ie,xe);xe.onContextCreated&&xe.onContextCreated(Be);const{mode:Re,push:Ke,prefixIdentifiers:Xe,indent:Je,deindent:qe,newline:$e,scopeId:yt,ssr:Mt}=Be,Ot=ie.helpers.length>0,Qt=!Xe&&Re!=="module",_n=yt!=null&&Re==="module",xn=!!xe.inline,fn=xn?ai(ie,xe):Be;Re==="module"?function(on,Gn,sr,An){const{push:cr,newline:Lr,optimizeImports:In,runtimeModuleName:kr,scopeId:ca,helper:fa}=Gn;sr&&(on.helpers.push(se),on.hoists.length&&on.helpers.push(Q,ce)),on.helpers.length&&(In?(cr(`import { ${on.helpers.map(hi=>X[hi]).join(", ")} } from ${JSON.stringify(kr)}
|
|
2492
2492
|
`),cr(`
|
|
2493
2493
|
// Binding optimization for webpack code-split
|
|
2494
2494
|
const ${on.helpers.map(hi=>`_${X[hi]} = ${X[hi]}`).join(", ")}
|
|
@@ -2498,14 +2498,14 @@ const ${on.helpers.map(hi=>`_${X[hi]} = ${X[hi]}`).join(", ")}
|
|
|
2498
2498
|
`):(cr(`const _Vue = ${ca}
|
|
2499
2499
|
`),on.hoists.length&&cr(`const { ${[S,A,P,C].filter(hi=>on.helpers.includes(hi)).map(fa).join(", ")} } = _Vue
|
|
2500
2500
|
`))),on.ssrHelpers&&on.ssrHelpers.length&&cr(`const { ${on.ssrHelpers.map(fa).join(", ")} } = require("@vue/server-renderer")
|
|
2501
|
-
`),le(on.hoists,Gn),Lr(),cr("return ")}(ie,fn);const Ft=Mt?"ssrRender":"render",$t=Mt?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];
|
|
2501
|
+
`),le(on.hoists,Gn),Lr(),cr("return ")}(ie,fn);const Ft=Mt?"ssrRender":"render",$t=Mt?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];xe.bindingMetadata&&!xe.inline&&$t.push("$props","$setup","$data","$options");const er=xe.isTS?$t.map(on=>`${on}: any`).join(","):$t.join(", ");if(_n&&!xn&&Ke(`const ${Ft} = /*#__PURE__*/_withId(`),Ke(xn||_n?`(${er}) => {`:`function ${Ft}(${er}) {`),Je(),Qt&&(Ke("with (_ctx) {"),Je(),Ot&&(Ke(`const { ${ie.helpers.map(on=>`${X[on]}: _${X[on]}`).join(", ")} } = _Vue`),Ke(`
|
|
2502
2502
|
`),$e())),ie.components.length&&(oi(ie.components,"component",Be),(ie.directives.length||ie.temps>0)&&$e()),ie.directives.length&&(oi(ie.directives,"directive",Be),ie.temps>0&&$e()),ie.filters&&ie.filters.length&&($e(),oi(ie.filters,"filter",Be),$e()),ie.temps>0){Ke("let ");for(let on=0;on<ie.temps;on++)Ke(`${on>0?", ":""}_temp${on}`)}return(ie.components.length||ie.directives.length||ie.temps)&&(Ke(`
|
|
2503
|
-
`),$e()),Mt||Ke("return "),ie.codegenNode?Ye(ie.codegenNode,Be):Ke("null"),Qt&&(qe(),Ke("}")),qe(),Ke("}"),_n&&!xn&&Ke(")"),{ast:ie,code:Be.code,preamble:xn?fn.code:"",map:Be.map?Be.map.toJSON():void 0}}function oi(ie,
|
|
2504
|
-
`:""} ? ${Ft}.value ${Lr} ${In} : ${Ft}`}if(sr){er.start=$t.start,er.end=$t.end;const{prefix:cr,operator:Lr}=$t,In=cr?Lr:"",kr=cr?"":Lr;return`${
|
|
2505
|
-
`:""} ? ${In}${Ft}.value${kr} : ${In}${Ft}${kr}`}return An?Ft:`${be.helperString(ae)}(${Ft})`}if(on==="props")return`__props.${Ft}`}else{if(on&&on.startsWith("setup"))return`$setup.${Ft}`;if(on)return`$${on}.${Ft}`}return`_ctx.${Ft}`},qe=ie.content,$e=qe.indexOf("(")>-1||qe.indexOf(".")>0;if(Ne(qe)){const Ft=be.identifiers[qe],$t=s.isGloballyWhitelisted(qe),er=ze(qe);return Be||Ft||$t||er?Ft||(ie.constType=er?3:2):(Xe[ie.content]==="setup-const"&&(ie.constType=1),ie.content=Je(qe)),ie}let yt;const Mt=Re?` ${qe} `:`(${qe})${Be?"=>{}":""}`;try{yt=c.parse(Mt,{plugins:[...be.expressionPlugins,...s.babelParserDefaultPlugins]}).program}catch(Ft){return be.onError(v(43,ie.loc,void 0,Ft.message)),ie}const Ot=[],Qt=Object.create(be.identifiers),_n=[];f.walk(yt,{enter(Ft,$t){if($t&&_n.push($t),Ft.type==="Identifier"){if(!(er=>Ot.some(on=>on.start===er.start))(Ft)){if(Ft.name.startsWith("_filter_"))return;const er=function(on,Gn,sr){return(Gn.type==="VariableDeclarator"||Gn.type==="ClassDeclaration")&&Gn.id===on||Rt(Gn)&&(Gn.id===on||Gn.params.includes(on))?!1:!ln(on,Gn)&&!(Gn.type==="ArrayPattern"&&!Or(Gn,sr))&&!!(Gn.type!=="MemberExpression"&&Gn.type!=="OptionalMemberExpression"||Gn.property!==on||Gn.computed)&&on.name!=="arguments"&&!s.isGloballyWhitelisted(on.name)&&on.name!=="require"}(Ft,$t,_n);!Qt[Ft.name]&&er?(en($t)&&$t.shorthand&&(Ft.prefix=`${Ft.name}: `),Ft.name=Je(Ft.name,$t,Ft),Ot.push(Ft)):ln(Ft,$t)||(er&&Qt[Ft.name]||$e||(Ft.isConstant=!0),Ot.push(Ft))}}else Rt(Ft)&&Ft.params.forEach(er=>f.walk(er,{enter(on,Gn){if(!(on.type!=="Identifier"||ln(on,Gn)||Gn&&Gn.type==="AssignmentPattern"&&Gn.right===on)){const{name:sr}=on;if(Ft.scopeIds&&Ft.scopeIds.has(sr))return;sr in Qt?Qt[sr]++:Qt[sr]=1,(Ft.scopeIds||(Ft.scopeIds=new Set)).add(sr)}}}))},leave(Ft,$t){$t&&_n.pop(),Ft!==yt.body[0].expression&&Ft.scopeIds&&Ft.scopeIds.forEach(er=>{Qt[er]--,Qt[er]===0&&delete Qt[er]})}});const xn=[];let fn;return Ot.sort((Ft,$t)=>Ft.start-$t.start),Ot.forEach((Ft,$t)=>{const er=Ft.start-1,on=Ft.end-1,Gn=Ot[$t-1],sr=qe.slice(Gn?Gn.end-1:0,er);(sr.length||Ft.prefix)&&xn.push(sr+(Ft.prefix||""));const An=qe.slice(er,on);xn.push(me(Ft.name,!1,{source:An,start:At(ie.loc.start,An,er),end:At(ie.loc.start,An,on)},Ft.isConstant?3:0)),$t===Ot.length-1&&on<qe.length&&xn.push(qe.slice(on))}),xn.length?fn=Se(xn,ie.loc):(fn=ie,fn.constType=$e?0:3),fn.identifiers=Object.keys(Qt),fn}const Rt=ie=>/Function(?:Expression|Declaration)$|Method$/.test(ie.type),en=ie=>ie&&(ie.type==="ObjectProperty"||ie.type==="ObjectMethod")&&!ie.computed,ln=(ie,be)=>en(be)&&be.key===ie;function Or(ie,be){if(ie&&(ie.type==="ObjectProperty"||ie.type==="ArrayPattern")){let Be=be.length;for(;Be--;){const Re=be[Be];if(Re.type==="AssignmentExpression")return!0;if(Re.type!=="ObjectProperty"&&!Re.type.endsWith("Pattern"))break}}return!1}function si(ie){return s.isString(ie)?ie:ie.type===4?ie.content:ie.children.map(si).join("")}const wa=mr(/^(if|else|else-if)$/,(ie,be,Be)=>qi(ie,be,Be,(Re,Ke,Xe)=>{const Je=Be.parent.children;let qe=Je.indexOf(Re),$e=0;for(;qe-->=0;){const yt=Je[qe];yt&&yt.type===9&&($e+=yt.branches.length)}return()=>{Xe?Re.codegenNode=Cn(Ke,$e,Be):function(yt){for(;;)if(yt.type===19){if(yt.alternate.type!==19)return yt;yt=yt.alternate}else yt.type===20&&(yt=yt.value)}(Re.codegenNode).alternate=Cn(Ke,$e+Re.branches.length-1,Be)}}));function qi(ie,be,Be,Re){if(!(be.name==="else"||be.exp&&be.exp.content.trim())){const Ke=be.exp?be.exp.loc:ie.loc;Be.onError(v(27,be.loc)),be.exp=me("true",!1,Ke)}if(Be.prefixIdentifiers&&be.exp&&(be.exp=Pt(be.exp,Be)),be.name==="if"){const Ke=Sn(ie,be),Xe={type:9,loc:ie.loc,branches:[Ke]};if(Be.replaceNode(Xe),Re)return Re(Xe,Ke,!0)}else{const Ke=Be.parent.children;let Xe=Ke.indexOf(ie);for(;Xe-->=-1;){const Je=Ke[Xe];if(!Je||Je.type!==2||Je.content.trim().length){if(Je&&Je.type===9){Be.removeNode();const qe=Sn(ie,be);{const yt=qe.userKey;yt&&Je.branches.forEach(({userKey:Mt})=>{bi(Mt,yt)&&Be.onError(v(28,qe.userKey.loc))})}Je.branches.push(qe);const $e=Re&&Re(Je,qe,!1);gr(qe,Be),$e&&$e(),Be.currentNode=null}else Be.onError(v(29,ie.loc));break}Be.removeNode(Je)}}}function Sn(ie,be){return{type:10,loc:ie.loc,condition:be.name==="else"?void 0:be.exp,children:ie.tagType!==3||kt(ie,"for")?[ie]:ie.children,userKey:Et(ie,"key")}}function Cn(ie,be,Be){return ie.condition?Z(ie.condition,ki(ie,be,Be),Ee(Be.helper(A),['""',"true"])):ki(ie,be,Be)}function ki(ie,be,Be){const{helper:Re,removeHelper:Ke}=Be,Xe=pe("key",me(`${be}`,!1,q,2)),{children:Je}=ie,qe=Je[0];if(Je.length!==1||qe.type!==1){if(Je.length===1&&qe.type===11){const $e=qe.codegenNode;return ne($e,Xe,Be),$e}{let $e=64;return s.PatchFlagNames[64],he(Be,Re(p),_e([Xe]),Je,$e+"",void 0,void 0,!0,!1,ie.loc)}}{const $e=qe.codegenNode;return $e.type!==13||$e.isBlock||(Ke(S),$e.isBlock=!0,Re(E),Re(w)),ne($e,Xe,Be),$e}}function bi(ie,be){if(!ie||ie.type!==be.type)return!1;if(ie.type===6){if(ie.value.content!==be.value.content)return!1}else{const Be=ie.exp,Re=be.exp;if(Be.type!==Re.type||Be.type!==4||Be.isStatic!==Re.isStatic||Be.content!==Re.content)return!1}return!0}const Tu=mr("for",(ie,be,Be)=>{const{helper:Re,removeHelper:Ke}=Be;return $i(ie,be,Be,Xe=>{const Je=Ee(Re(M),[Xe.source]),qe=Et(ie,"key"),$e=qe?pe("key",qe.type===6?me(qe.value.content,!0):qe.exp):null;Be.prefixIdentifiers&&$e&&($e.value=Pt($e.value,Be));const yt=Xe.source.type===4&&Xe.source.constType>0,Mt=yt?64:qe?128:256;return Xe.codegenNode=he(Be,Re(p),void 0,Je,Mt+"",void 0,void 0,!0,!yt,ie.loc),()=>{let Ot;const Qt=it(ie),{children:_n}=Xe;Qt&&ie.children.some(Ft=>{if(Ft.type===1){const $t=Et(Ft,"key");if($t)return Be.onError(v(32,$t.loc)),!0}});const xn=_n.length!==1||_n[0].type!==1,fn=ut(ie)?ie:Qt&&ie.children.length===1&&ut(ie.children[0])?ie.children[0]:null;fn?(Ot=fn.codegenNode,Qt&&$e&&ne(Ot,$e,Be)):xn?Ot=he(Be,Re(p),$e?_e([$e]):void 0,ie.children,"64",void 0,void 0,!0):(Ot=_n[0].codegenNode,Qt&&$e&&ne(Ot,$e,Be),Ot.isBlock!==!yt&&(Ot.isBlock?(Ke(E),Ke(w)):Ke(S)),Ot.isBlock=!yt,Ot.isBlock?(Re(E),Re(w)):Re(S)),Je.arguments.push(Te(qd(Xe.parseResult),Ot,!0))}})});function $i(ie,be,Be,Re){if(!be.exp)return void Be.onError(v(30,be.loc));const Ke=Rp(be.exp,Be);if(!Ke)return void Be.onError(v(31,be.loc));const{addIdentifiers:Xe,removeIdentifiers:Je,scopes:qe}=Be,{source:$e,value:yt,key:Mt,index:Ot}=Ke,Qt={type:11,loc:be.loc,source:$e,valueAlias:yt,keyAlias:Mt,objectIndexAlias:Ot,parseResult:Ke,children:it(ie)?ie.children:[ie]};Be.replaceNode(Qt),qe.vFor++,Be.prefixIdentifiers&&(yt&&Xe(yt),Mt&&Xe(Mt),Ot&&Xe(Ot));const _n=Re&&Re(Qt);return()=>{qe.vFor--,Be.prefixIdentifiers&&(yt&&Je(yt),Mt&&Je(Mt),Ot&&Je(Ot)),_n&&_n()}}const Wc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ua=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,W2=/^\(|\)$/g;function Rp(ie,be){const Be=ie.loc,Re=ie.content,Ke=Re.match(Wc);if(!Ke)return;const[,Xe,Je]=Ke,qe={source:jp(Be,Je.trim(),Re.indexOf(Je,Xe.length)),value:void 0,key:void 0,index:void 0};be.prefixIdentifiers&&(qe.source=Pt(qe.source,be));let $e=Xe.trim().replace(W2,"").trim();const yt=Xe.indexOf($e),Mt=$e.match(ua);if(Mt){$e=$e.replace(ua,"").trim();const Ot=Mt[1].trim();let Qt;if(Ot&&(Qt=Re.indexOf(Ot,yt+$e.length),qe.key=jp(Be,Ot,Qt),be.prefixIdentifiers&&(qe.key=Pt(qe.key,be,!0))),Mt[2]){const _n=Mt[2].trim();_n&&(qe.index=jp(Be,_n,Re.indexOf(_n,qe.key?Qt+Ot.length:yt+$e.length)),be.prefixIdentifiers&&(qe.index=Pt(qe.index,be,!0)))}}return $e&&(qe.value=jp(Be,$e,yt),be.prefixIdentifiers&&(qe.value=Pt(qe.value,be,!0))),qe}function jp(ie,be,Be){return me(be,!1,rt(ie,Be,be.length))}function qd({value:ie,key:be,index:Be}){const Re=[];return ie&&Re.push(ie),be&&(ie||Re.push(me("_",!1)),Re.push(be)),Be&&(be||(ie||Re.push(me("_",!1)),Re.push(me("__",!1))),Re.push(Be)),Re}const Bg=me("undefined",!1),K2=(ie,be)=>{if(ie.type===1&&(ie.tagType===1||ie.tagType===3)){const Be=kt(ie,"slot");if(Be){const Re=Be.exp;return be.prefixIdentifiers&&Re&&be.addIdentifiers(Re),be.scopes.vSlot++,()=>{be.prefixIdentifiers&&Re&&be.removeIdentifiers(Re),be.scopes.vSlot--}}}},$d=(ie,be)=>{let Be;if(it(ie)&&ie.props.some(En)&&(Be=kt(ie,"for"))){const Re=Be.parseResult=Rp(Be.exp,be);if(Re){const{value:Ke,key:Xe,index:Je}=Re,{addIdentifiers:qe,removeIdentifiers:$e}=be;return Ke&&qe(Ke),Xe&&qe(Xe),Je&&qe(Je),()=>{Ke&&$e(Ke),Xe&&$e(Xe),Je&&$e(Je)}}}},X2=(ie,be,Be)=>Te(ie,be,!1,!0,be.length?be[0].loc:Be);function Vp(ie,be,Be=X2){be.helper(oe);const{children:Re,loc:Ke}=ie,Xe=[],Je=[];let qe=be.scopes.vSlot>0||be.scopes.vFor>0;!be.ssr&&be.prefixIdentifiers&&(qe=Pe(ie,be.identifiers));const $e=kt(ie,"slot",!0);if($e){const{arg:fn,exp:Ft}=$e;fn&&!$(fn)&&(qe=!0),Xe.push(pe(fn||me("default",!0),Be(Ft,Re,Ke)))}let yt=!1,Mt=!1;const Ot=[],Qt=new Set;for(let fn=0;fn<Re.length;fn++){const Ft=Re[fn];let $t;if(!it(Ft)||!($t=kt(Ft,"slot",!0))){Ft.type!==3&&Ot.push(Ft);continue}if($e){be.onError(v(36,$t.loc));break}yt=!0;const{children:er,loc:on}=Ft,{arg:Gn=me("default",!0),exp:sr,loc:An}=$t;let cr;$(Gn)?cr=Gn?Gn.content:"default":qe=!0;const Lr=Be(sr,er,on);let In,kr,ca;if(In=kt(Ft,"if"))qe=!0,Je.push(Z(In.exp,Kc(Gn,Lr),Bg));else if(kr=kt(Ft,/^else(-if)?$/,!0)){let fa,hi=fn;for(;hi--&&(fa=Re[hi],fa.type===3););if(fa&&it(fa)&&kt(fa,"if")){Re.splice(fn,1),fn--;let jo=Je[Je.length-1];for(;jo.alternate.type===19;)jo=jo.alternate;jo.alternate=kr.exp?Z(kr.exp,Kc(Gn,Lr),Bg):Kc(Gn,Lr)}else be.onError(v(29,kr.loc))}else if(ca=kt(Ft,"for")){qe=!0;const fa=ca.parseResult||Rp(ca.exp,be);fa?Je.push(Ee(be.helper(M),[fa.source,Te(qd(fa),Kc(Gn,Lr),!0)])):be.onError(v(31,ca.loc))}else{if(cr){if(Qt.has(cr)){be.onError(v(37,An));continue}Qt.add(cr),cr==="default"&&(Mt=!0)}Xe.push(pe(Gn,Lr))}}if(!$e){const fn=(Ft,$t)=>{const er=Be(Ft,$t,Ke);return be.compatConfig&&(er.isNonScopedSlot=!0),pe("default",er)};yt?Ot.length&&Ot.some(Ft=>Du(Ft))&&(Mt?be.onError(v(38,Ot[0].loc)):Xe.push(fn(void 0,Ot))):Xe.push(fn(void 0,Re))}const _n=qe?2:Xc(ie.children)?3:1;let xn=_e(Xe.concat(pe("_",me(_n+"",!1))),Ke);return Je.length&&(xn=Ee(be.helper(F),[xn,de(Je)])),{slots:xn,hasDynamicSlots:qe}}function Kc(ie,be){return _e([pe("name",ie),pe("fn",be)])}function Xc(ie){for(let be=0;be<ie.length;be++){const Be=ie[be];switch(Be.type){case 1:if(Be.tagType===2||Be.tagType===0&&Xc(Be.children))return!0;break;case 9:if(Xc(Be.branches))return!0;break;case 10:case 11:if(Xc(Be.children))return!0}}return!1}function Du(ie){return ie.type!==2&&ie.type!==12||(ie.type===2?!!ie.content.trim():Du(ie.content))}const Yc=new WeakMap,Pu=(ie,be)=>function(){if((ie=be.currentNode).type!==1||ie.tagType!==0&&ie.tagType!==1)return;const{tag:Be,props:Re}=ie,Ke=ie.tagType===1;let Xe,Je,qe,$e,yt,Mt,Ot=Ke?e0(ie,be):`"${Be}"`,Qt=0,_n=s.isObject(Ot)&&Ot.callee===O||Ot===g||Ot===y||!Ke&&(Be==="svg"||Be==="foreignObject"||Et(ie,"key",!0));if(Re.length>0){const xn=Bs(ie,be);Xe=xn.props,Qt=xn.patchFlag,yt=xn.dynamicPropNames;const fn=xn.directives;Mt=fn&&fn.length?de(fn.map(Ft=>function($t,er){const on=[],Gn=Yc.get($t);if(Gn)on.push(er.helperString(Gn));else{const An=Jc("v-"+$t.name,er);An?on.push(An):(er.helper(k),er.directives.add($t.name),on.push(Ie($t.name,"directive")))}const{loc:sr}=$t;if($t.exp&&on.push($t.exp),$t.arg&&($t.exp||on.push("void 0"),on.push($t.arg)),Object.keys($t.modifiers).length){$t.arg||($t.exp||on.push("void 0"),on.push("void 0"));const An=me("true",!1,sr);on.push(_e($t.modifiers.map(cr=>pe(cr,An)),sr))}return de(on,$t.loc)}(Ft,be))):void 0}if(ie.children.length>0)if(Ot===x&&(_n=!0,Qt|=1024),Ke&&Ot!==g&&Ot!==x){const{slots:xn,hasDynamicSlots:fn}=Vp(ie,be);Je=xn,fn&&(Qt|=1024)}else if(ie.children.length===1&&Ot!==g){const xn=ie.children[0],fn=xn.type,Ft=fn===5||fn===8;Ft&&nn(xn,be)===0&&(Qt|=1),Je=Ft||fn===2?xn:ie.children}else Je=ie.children;Qt!==0&&(qe=String(Qt),yt&&yt.length&&($e=function(xn){let fn="[";for(let Ft=0,$t=xn.length;Ft<$t;Ft++)fn+=JSON.stringify(xn[Ft]),Ft<$t-1&&(fn+=", ");return fn+"]"}(yt))),ie.codegenNode=he(be,Ot,Xe,Je,qe,$e,Mt,!!_n,!1,ie.loc)};function e0(ie,be,Be=!1){let{tag:Re}=ie;const Ke=st(Re),Xe=Et(ie,"is");if(Xe)if(Ke||ft("COMPILER_IS_ON_ELEMENT",be)){const $e=Xe.type===6?Xe.value&&me(Xe.value.content,!0):Xe.exp;if($e)return Ee(be.helper(O),[$e])}else Xe.type===6&&Xe.value.content.startsWith("vue:")&&(Re=Xe.value.content.slice(4));const Je=!Ke&&kt(ie,"is");if(Je&&Je.exp)return Ee(be.helper(O),[Je.exp]);const qe=Ce(Re)||be.isBuiltInComponent(Re);if(qe)return Be||be.helper(qe),qe;{const $e=Jc(Re,be);if($e)return $e}return be.selfName&&s.capitalize(s.camelize(Re))===be.selfName?(be.helper(D),be.components.add(Re+"__self"),Ie(Re,"component")):(be.helper(D),be.components.add(Re),Ie(Re,"component"))}function Jc(ie,be){const Be=be.bindingMetadata;if(!Be||Be.__isScriptSetup===!1)return;const Re=s.camelize(ie),Ke=s.capitalize(Re),Xe=$e=>Be[ie]===$e?ie:Be[Re]===$e?Re:Be[Ke]===$e?Ke:void 0,Je=Xe("setup-const");if(Je)return be.inline?Je:`$setup[${JSON.stringify(Je)}]`;const qe=Xe("setup-let")||Xe("setup-ref")||Xe("setup-maybe-ref");return qe?be.inline?`${be.helperString(ae)}(${qe})`:`$setup[${JSON.stringify(qe)}]`:void 0}function Bs(ie,be,Be=ie.props,Re=!1){const{tag:Ke,loc:Xe}=ie,Je=ie.tagType===1;let qe=[];const $e=[],yt=[];let Mt=0,Ot=!1,Qt=!1,_n=!1,xn=!1,fn=!1,Ft=!1;const $t=[],er=({key:Gn,value:sr})=>{if($(Gn)){const An=Gn.content,cr=s.isOn(An);if(Je||!cr||An.toLowerCase()==="onclick"||An==="onUpdate:modelValue"||s.isReservedProp(An)||(xn=!0),cr&&s.isReservedProp(An)&&(Ft=!0),sr.type===20||(sr.type===4||sr.type===8)&&nn(sr,be)>0)return;An==="ref"?Ot=!0:An!=="class"||Je?An!=="style"||Je?An==="key"||$t.includes(An)||$t.push(An):_n=!0:Qt=!0}else fn=!0};for(let Gn=0;Gn<Be.length;Gn++){const sr=Be[Gn];if(sr.type===6){const{loc:An,name:cr,value:Lr}=sr;let In=!0;if(cr==="ref"&&(Ot=!0,be.inline&&(In=!1)),cr==="is"&&(st(Ke)||Lr&&Lr.content.startsWith("vue:")||ft("COMPILER_IS_ON_ELEMENT",be)))continue;qe.push(pe(me(cr,!0,rt(An,0,cr.length)),me(Lr?Lr.content:"",In,Lr?Lr.loc:An)))}else{const{name:An,arg:cr,exp:Lr,loc:In}=sr,kr=An==="bind",ca=An==="on";if(An==="slot"){Je||be.onError(v(39,In));continue}if(An==="once"||An==="is"||kr&&Dt(cr,"is")&&(st(Ke)||ft("COMPILER_IS_ON_ELEMENT",be))||ca&&Re)continue;if(!cr&&(kr||ca)){if(fn=!0,Lr)if(qe.length&&($e.push(_e(t0(qe),Xe)),qe=[]),kr){if(ft("COMPILER_V_BIND_OBJECT_ORDER",be)){$e.unshift(Lr);continue}$e.push(Lr)}else $e.push({type:14,loc:In,callee:be.helper(L),arguments:[Lr]});else be.onError(v(kr?33:34,In));continue}const fa=be.directiveTransforms[An];if(fa){const{props:hi,needRuntime:jo}=fa(sr,ie,be);!Re&&hi.forEach(er),qe.push(...hi),jo&&(yt.push(sr),s.isSymbol(jo)&&Yc.set(sr,jo))}else yt.push(sr)}sr.type===6&&sr.name==="ref"&&be.scopes.vFor>0&&wt("COMPILER_V_FOR_REF",be,sr.loc)&&qe.push(pe(me("refInFor",!0),me("true",!1)))}let on;return $e.length?(qe.length&&$e.push(_e(t0(qe),Xe)),on=$e.length>1?Ee(be.helper(G),$e,Xe):$e[0]):qe.length&&(on=_e(t0(qe),Xe)),fn?Mt|=16:(Qt&&(Mt|=2),_n&&(Mt|=4),$t.length&&(Mt|=8),xn&&(Mt|=32)),Mt!==0&&Mt!==32||!(Ot||Ft||yt.length>0)||(Mt|=512),{props:on,directives:yt,patchFlag:Mt,dynamicPropNames:$t}}function t0(ie){const be=new Map,Be=[];for(let Re=0;Re<ie.length;Re++){const Ke=ie[Re];if(Ke.key.type===8||!Ke.key.isStatic){Be.push(Ke);continue}const Xe=Ke.key.content,Je=be.get(Xe);Je?(Xe==="style"||Xe==="class"||Xe.startsWith("on"))&&Y2(Je,Ke):(be.set(Xe,Ke),Be.push(Ke))}return Be}function Y2(ie,be){ie.value.type===17?ie.value.elements.push(be.value):ie.value=de([ie.value,be.value],ie.loc)}function st(ie){return ie[0].toLowerCase()+ie.slice(1)==="component"}const tn=/-(\w)/g,Zt=(ie=>{const be=Object.create(null);return Be=>be[Be]||(be[Be]=(Re=>Re.replace(tn,(Ke,Xe)=>Xe?Xe.toUpperCase():""))(Be))})(),rn=(ie,be)=>{if(ut(ie)){const{children:Be,loc:Re}=ie,{slotName:Ke,slotProps:Xe}=kn(ie,be),Je=[be.prefixIdentifiers?"_ctx.$slots":"$slots",Ke];Xe&&Je.push(Xe),Be.length&&(Xe||Je.push("{}"),Je.push(Te([],Be,!1,!1,Re))),be.scopeId&&!be.slotted&&(Xe||Je.push("{}"),Be.length||Je.push("undefined"),Je.push("true")),ie.codegenNode=Ee(be.helper(j),Je,Re)}};function kn(ie,be){let Be,Re='"default"';const Ke=[];for(let Xe=0;Xe<ie.props.length;Xe++){const Je=ie.props[Xe];Je.type===6?Je.value&&(Je.name==="name"?Re=JSON.stringify(Je.value.content):(Je.name=Zt(Je.name),Ke.push(Je))):Je.name==="bind"&&Dt(Je.arg,"name")?Je.exp&&(Re=Je.exp):(Je.name==="bind"&&Je.arg&&$(Je.arg)&&(Je.arg.content=Zt(Je.arg.content)),Ke.push(Je))}if(Ke.length>0){const{props:Xe,directives:Je}=Bs(ie,be,Ke);Be=Xe,Je.length&&be.onError(v(35,Je[0].loc))}return{slotName:Re,slotProps:Be}}const qn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,yr=(ie,be,Be,Re)=>{const{loc:Ke,modifiers:Xe,arg:Je}=ie;let qe;if(ie.exp||Xe.length||Be.onError(v(34,Ke)),Je.type===4)if(Je.isStatic){const Ot=Je.content;qe=me(s.toHandlerKey(s.camelize(Ot)),!0,Je.loc)}else qe=Se([`${Be.helperString(Y)}(`,Je,")"]);else qe=Je,qe.children.unshift(`${Be.helperString(Y)}(`),qe.children.push(")");let $e=ie.exp;$e&&!$e.content.trim()&&($e=void 0);let yt=Be.cacheHandlers&&!$e;if($e){const Ot=We($e.content),Qt=!(Ot||qn.test($e.content)),_n=$e.content.includes(";");Be.prefixIdentifiers&&(Qt&&Be.addIdentifiers("$event"),$e=ie.exp=Pt($e,Be,!1,_n),Qt&&Be.removeIdentifiers("$event"),yt=Be.cacheHandlers&&!($e.type===4&&$e.constType>0)&&!(Ot&&be.tagType===1)&&!Pe($e,Be.identifiers),yt&&Ot&&($e.type===4?$e.content=`${$e.content} && ${$e.content}(...args)`:$e.children=[...$e.children," && ",...$e.children,"(...args)"])),(Qt||yt&&Ot)&&($e=Se([`${Qt?Be.isTS?"($event: any)":"$event":(Be.isTS?`
|
|
2503
|
+
`),$e()),Mt||Ke("return "),ie.codegenNode?Ye(ie.codegenNode,Be):Ke("null"),Qt&&(qe(),Ke("}")),qe(),Ke("}"),_n&&!xn&&Ke(")"),{ast:ie,code:Be.code,preamble:xn?fn.code:"",map:Be.map?Be.map.toJSON():void 0}}function oi(ie,xe,{helper:Be,push:Re,newline:Ke,isTS:Xe}){const Je=Be(xe==="filter"?B:xe==="component"?D:k);for(let qe=0;qe<ie.length;qe++){let $e=ie[qe];const yt=$e.endsWith("__self");yt&&($e=$e.slice(0,-6)),Re(`const ${Ie($e,xe)} = ${Je}(${JSON.stringify($e)}${yt?", true":""})${Xe?"!":""}`),qe<ie.length-1&&Ke()}}function le(ie,xe){if(!ie.length)return;xe.pure=!0;const{push:Be,newline:Re,helper:Ke,scopeId:Xe,mode:Je}=xe,qe=Xe!=null&&Je!=="function";Re(),qe&&(Be(`${Ke(Q)}("${Xe}")`),Re()),ie.forEach(($e,yt)=>{$e&&(Be(`const _hoisted_${yt+1} = `),Ye($e,xe),Re())}),qe&&(Be(`${Ke(ce)}()`),Re()),xe.pure=!1}function fe(ie,xe){const Be=ie.length>3||ie.some(Re=>s.isArray(Re)||!function(Ke){return s.isString(Ke)||Ke.type===4||Ke.type===2||Ke.type===5||Ke.type===8}(Re));xe.push("["),Be&&xe.indent(),Le(ie,xe,Be),Be&&xe.deindent(),xe.push("]")}function Le(ie,xe,Be=!1,Re=!0){const{push:Ke,newline:Xe}=xe;for(let Je=0;Je<ie.length;Je++){const qe=ie[Je];s.isString(qe)?Ke(qe):s.isArray(qe)?fe(qe,xe):Ye(qe,xe),Je<ie.length-1&&(Be?(Re&&Ke(","),Xe()):Re&&Ke(", "))}}function Ye(ie,xe){if(s.isString(ie))xe.push(ie);else if(s.isSymbol(ie))xe.push(xe.helper(ie));else switch(ie.type){case 1:case 9:case 11:Ye(ie.codegenNode,xe);break;case 2:(function(Be,Re){Re.push(JSON.stringify(Be.content),Be)})(ie,xe);break;case 4:ct(ie,xe);break;case 5:(function(Be,Re){const{push:Ke,helper:Xe,pure:Je}=Re;Je&&Ke(ti),Ke(`${Xe(R)}(`),Ye(Be.content,Re),Ke(")")})(ie,xe);break;case 12:Ye(ie.codegenNode,xe);break;case 8:xt(ie,xe);break;case 3:(function(Be,Re){const{push:Ke,helper:Xe,pure:Je}=Re;Je&&Ke(ti),Ke(`${Xe(A)}(${JSON.stringify(Be.content)})`,Be)})(ie,xe);break;case 13:(function(Be,Re){const{push:Ke,helper:Xe,pure:Je}=Re,{tag:qe,props:$e,children:yt,patchFlag:Mt,dynamicProps:Ot,directives:Qt,isBlock:_n,disableTracking:xn}=Be;Qt&&Ke(Xe(N)+"("),_n&&Ke(`(${Xe(E)}(${xn?"true":""}), `),Je&&Ke(ti),Ke(Xe(_n?w:S)+"(",Be),Le(function(fn){let Ft=fn.length;for(;Ft--&&fn[Ft]==null;);return fn.slice(0,Ft+1).map($t=>$t||"null")}([qe,$e,yt,Mt,Ot]),Re),Ke(")"),_n&&Ke(")"),Qt&&(Ke(", "),Ye(Qt,Re),Ke(")"))})(ie,xe);break;case 14:(function(Be,Re){const{push:Ke,helper:Xe,pure:Je}=Re,qe=s.isString(Be.callee)?Be.callee:Xe(Be.callee);Je&&Ke(ti),Ke(qe+"(",Be),Le(Be.arguments,Re),Ke(")")})(ie,xe);break;case 15:(function(Be,Re){const{push:Ke,indent:Xe,deindent:Je,newline:qe}=Re,{properties:$e}=Be;if(!$e.length)return void Ke("{}",Be);const yt=$e.length>1||$e.some(Mt=>Mt.value.type!==4);Ke(yt?"{":"{ "),yt&&Xe();for(let Mt=0;Mt<$e.length;Mt++){const{key:Ot,value:Qt}=$e[Mt];we(Ot,Re),Ke(": "),Ye(Qt,Re),Mt<$e.length-1&&(Ke(","),qe())}yt&&Je(),Ke(yt?"}":" }")})(ie,xe);break;case 17:(function(Be,Re){fe(Be.elements,Re)})(ie,xe);break;case 18:(function(Be,Re){const{push:Ke,indent:Xe,deindent:Je,scopeId:qe,mode:$e}=Re,{params:yt,returns:Mt,body:Ot,newline:Qt,isSlot:_n}=Be;_n&&Ke(_n&&qe!=null&&$e!=="function"?"_withId(":`_${X[oe]}(`),Ke("(",Be),s.isArray(yt)?Le(yt,Re):yt&&Ye(yt,Re),Ke(") => "),(Qt||Ot)&&(Ke("{"),Xe()),Mt?(Qt&&Ke("return "),s.isArray(Mt)?fe(Mt,Re):Ye(Mt,Re)):Ot&&Ye(Ot,Re),(Qt||Ot)&&(Je(),Ke("}")),_n&&(Be.isNonScopedSlot&&Ke(", undefined, true"),Ke(")"))})(ie,xe);break;case 19:(function(Be,Re){const{test:Ke,consequent:Xe,alternate:Je,newline:qe}=Be,{push:$e,indent:yt,deindent:Mt,newline:Ot}=Re;if(Ke.type===4){const _n=!Ne(Ke.content);_n&&$e("("),ct(Ke,Re),_n&&$e(")")}else $e("("),Ye(Ke,Re),$e(")");qe&&yt(),Re.indentLevel++,qe||$e(" "),$e("? "),Ye(Xe,Re),Re.indentLevel--,qe&&Ot(),qe||$e(" "),$e(": ");const Qt=Je.type===19;Qt||Re.indentLevel++,Ye(Je,Re),Qt||Re.indentLevel--,qe&&Mt(!0)})(ie,xe);break;case 20:(function(Be,Re){const{push:Ke,helper:Xe,indent:Je,deindent:qe,newline:$e}=Re;Ke(`_cache[${Be.index}] || (`),Be.isVNode&&(Je(),Ke(`${Xe(J)}(-1),`),$e()),Ke(`_cache[${Be.index}] = `),Ye(Be.value,Re),Be.isVNode&&(Ke(","),$e(),Ke(`${Xe(J)}(1),`),$e(),Ke(`_cache[${Be.index}]`),qe()),Ke(")")})(ie,xe);break;case 21:Le(ie.body,xe,!0,!1);break;case 22:(function(Be,Re){const{push:Ke,indent:Xe,deindent:Je}=Re;Ke("`");const qe=Be.elements.length,$e=qe>3;for(let yt=0;yt<qe;yt++){const Mt=Be.elements[yt];s.isString(Mt)?Ke(Mt.replace(/(`|\$|\\)/g,"\\$1")):(Ke("${"),$e&&Xe(),Ye(Mt,Re),$e&&Je(),Ke("}"))}Ke("`")})(ie,xe);break;case 23:Oe(ie,xe);break;case 24:(function(Be,Re){Ye(Be.left,Re),Re.push(" = "),Ye(Be.right,Re)})(ie,xe);break;case 25:(function(Be,Re){Re.push("("),Le(Be.expressions,Re),Re.push(")")})(ie,xe);break;case 26:(function({returns:Be},Re){Re.push("return "),s.isArray(Be)?fe(Be,Re):Ye(Be,Re)})(ie,xe)}}function ct(ie,xe){const{content:Be,isStatic:Re}=ie;xe.push(Re?JSON.stringify(Be):Be,ie)}function xt(ie,xe){for(let Be=0;Be<ie.children.length;Be++){const Re=ie.children[Be];s.isString(Re)?xe.push(Re):Ye(Re,xe)}}function we(ie,xe){const{push:Be}=xe;ie.type===8?(Be("["),xt(ie,xe),Be("]")):ie.isStatic?Be(Ne(ie.content)?ie.content:JSON.stringify(ie.content),ie):Be(`[${ie.content}]`,ie)}function Oe(ie,xe){const{push:Be,indent:Re,deindent:Ke}=xe,{test:Xe,consequent:Je,alternate:qe}=ie;Be("if ("),Ye(Xe,xe),Be(") {"),Re(),Ye(Je,xe),Ke(),Be("}"),qe&&(Be(" else "),qe.type===23?Oe(qe,xe):(Be("{"),Re(),Ye(qe,xe),Ke(),Be("}")))}const ze=s.makeMap("true,false,null,this"),tt=(ie,xe)=>{if(ie.type===5)ie.content=Pt(ie.content,xe);else if(ie.type===1)for(let Be=0;Be<ie.props.length;Be++){const Re=ie.props[Be];if(Re.type===7&&Re.name!=="for"){const Ke=Re.exp,Xe=Re.arg;!Ke||Ke.type!==4||Re.name==="on"&&Xe||(Re.exp=Pt(Ke,xe,Re.name==="slot")),Xe&&Xe.type===4&&!Xe.isStatic&&(Re.arg=Pt(Xe,xe))}}};function Pt(ie,xe,Be=!1,Re=!1){if(!xe.prefixIdentifiers||!ie.content.trim())return ie;const{inline:Ke,bindingMetadata:Xe}=xe,Je=(Ft,$t,er)=>{const on=s.hasOwn(Xe,Ft)&&Xe[Ft];if(Ke){const Gn=$t&&$t.type==="AssignmentExpression"&&$t.left===er,sr=$t&&$t.type==="UpdateExpression"&&$t.argument===er,An=$t&&Or($t,_n);if(on==="setup-const")return Ft;if(on==="setup-ref")return`${Ft}.value`;if(on==="setup-maybe-ref")return Gn||sr||An?`${Ft}.value`:`${xe.helperString(ae)}(${Ft})`;if(on==="setup-let"){if(Gn){const{right:cr,operator:Lr}=$t,In=si(Pt(me(qe.slice(cr.start-1,cr.end-1),!1),xe));return`${xe.helperString(ge)}(${Ft})${xe.isTS?` //@ts-ignore
|
|
2504
|
+
`:""} ? ${Ft}.value ${Lr} ${In} : ${Ft}`}if(sr){er.start=$t.start,er.end=$t.end;const{prefix:cr,operator:Lr}=$t,In=cr?Lr:"",kr=cr?"":Lr;return`${xe.helperString(ge)}(${Ft})${xe.isTS?` //@ts-ignore
|
|
2505
|
+
`:""} ? ${In}${Ft}.value${kr} : ${In}${Ft}${kr}`}return An?Ft:`${xe.helperString(ae)}(${Ft})`}if(on==="props")return`__props.${Ft}`}else{if(on&&on.startsWith("setup"))return`$setup.${Ft}`;if(on)return`$${on}.${Ft}`}return`_ctx.${Ft}`},qe=ie.content,$e=qe.indexOf("(")>-1||qe.indexOf(".")>0;if(Ne(qe)){const Ft=xe.identifiers[qe],$t=s.isGloballyWhitelisted(qe),er=ze(qe);return Be||Ft||$t||er?Ft||(ie.constType=er?3:2):(Xe[ie.content]==="setup-const"&&(ie.constType=1),ie.content=Je(qe)),ie}let yt;const Mt=Re?` ${qe} `:`(${qe})${Be?"=>{}":""}`;try{yt=c.parse(Mt,{plugins:[...xe.expressionPlugins,...s.babelParserDefaultPlugins]}).program}catch(Ft){return xe.onError(v(43,ie.loc,void 0,Ft.message)),ie}const Ot=[],Qt=Object.create(xe.identifiers),_n=[];f.walk(yt,{enter(Ft,$t){if($t&&_n.push($t),Ft.type==="Identifier"){if(!(er=>Ot.some(on=>on.start===er.start))(Ft)){if(Ft.name.startsWith("_filter_"))return;const er=function(on,Gn,sr){return(Gn.type==="VariableDeclarator"||Gn.type==="ClassDeclaration")&&Gn.id===on||Rt(Gn)&&(Gn.id===on||Gn.params.includes(on))?!1:!ln(on,Gn)&&!(Gn.type==="ArrayPattern"&&!Or(Gn,sr))&&!!(Gn.type!=="MemberExpression"&&Gn.type!=="OptionalMemberExpression"||Gn.property!==on||Gn.computed)&&on.name!=="arguments"&&!s.isGloballyWhitelisted(on.name)&&on.name!=="require"}(Ft,$t,_n);!Qt[Ft.name]&&er?(en($t)&&$t.shorthand&&(Ft.prefix=`${Ft.name}: `),Ft.name=Je(Ft.name,$t,Ft),Ot.push(Ft)):ln(Ft,$t)||(er&&Qt[Ft.name]||$e||(Ft.isConstant=!0),Ot.push(Ft))}}else Rt(Ft)&&Ft.params.forEach(er=>f.walk(er,{enter(on,Gn){if(!(on.type!=="Identifier"||ln(on,Gn)||Gn&&Gn.type==="AssignmentPattern"&&Gn.right===on)){const{name:sr}=on;if(Ft.scopeIds&&Ft.scopeIds.has(sr))return;sr in Qt?Qt[sr]++:Qt[sr]=1,(Ft.scopeIds||(Ft.scopeIds=new Set)).add(sr)}}}))},leave(Ft,$t){$t&&_n.pop(),Ft!==yt.body[0].expression&&Ft.scopeIds&&Ft.scopeIds.forEach(er=>{Qt[er]--,Qt[er]===0&&delete Qt[er]})}});const xn=[];let fn;return Ot.sort((Ft,$t)=>Ft.start-$t.start),Ot.forEach((Ft,$t)=>{const er=Ft.start-1,on=Ft.end-1,Gn=Ot[$t-1],sr=qe.slice(Gn?Gn.end-1:0,er);(sr.length||Ft.prefix)&&xn.push(sr+(Ft.prefix||""));const An=qe.slice(er,on);xn.push(me(Ft.name,!1,{source:An,start:At(ie.loc.start,An,er),end:At(ie.loc.start,An,on)},Ft.isConstant?3:0)),$t===Ot.length-1&&on<qe.length&&xn.push(qe.slice(on))}),xn.length?fn=Se(xn,ie.loc):(fn=ie,fn.constType=$e?0:3),fn.identifiers=Object.keys(Qt),fn}const Rt=ie=>/Function(?:Expression|Declaration)$|Method$/.test(ie.type),en=ie=>ie&&(ie.type==="ObjectProperty"||ie.type==="ObjectMethod")&&!ie.computed,ln=(ie,xe)=>en(xe)&&xe.key===ie;function Or(ie,xe){if(ie&&(ie.type==="ObjectProperty"||ie.type==="ArrayPattern")){let Be=xe.length;for(;Be--;){const Re=xe[Be];if(Re.type==="AssignmentExpression")return!0;if(Re.type!=="ObjectProperty"&&!Re.type.endsWith("Pattern"))break}}return!1}function si(ie){return s.isString(ie)?ie:ie.type===4?ie.content:ie.children.map(si).join("")}const wa=mr(/^(if|else|else-if)$/,(ie,xe,Be)=>qi(ie,xe,Be,(Re,Ke,Xe)=>{const Je=Be.parent.children;let qe=Je.indexOf(Re),$e=0;for(;qe-->=0;){const yt=Je[qe];yt&&yt.type===9&&($e+=yt.branches.length)}return()=>{Xe?Re.codegenNode=Cn(Ke,$e,Be):function(yt){for(;;)if(yt.type===19){if(yt.alternate.type!==19)return yt;yt=yt.alternate}else yt.type===20&&(yt=yt.value)}(Re.codegenNode).alternate=Cn(Ke,$e+Re.branches.length-1,Be)}}));function qi(ie,xe,Be,Re){if(!(xe.name==="else"||xe.exp&&xe.exp.content.trim())){const Ke=xe.exp?xe.exp.loc:ie.loc;Be.onError(v(27,xe.loc)),xe.exp=me("true",!1,Ke)}if(Be.prefixIdentifiers&&xe.exp&&(xe.exp=Pt(xe.exp,Be)),xe.name==="if"){const Ke=Sn(ie,xe),Xe={type:9,loc:ie.loc,branches:[Ke]};if(Be.replaceNode(Xe),Re)return Re(Xe,Ke,!0)}else{const Ke=Be.parent.children;let Xe=Ke.indexOf(ie);for(;Xe-->=-1;){const Je=Ke[Xe];if(!Je||Je.type!==2||Je.content.trim().length){if(Je&&Je.type===9){Be.removeNode();const qe=Sn(ie,xe);{const yt=qe.userKey;yt&&Je.branches.forEach(({userKey:Mt})=>{bi(Mt,yt)&&Be.onError(v(28,qe.userKey.loc))})}Je.branches.push(qe);const $e=Re&&Re(Je,qe,!1);gr(qe,Be),$e&&$e(),Be.currentNode=null}else Be.onError(v(29,ie.loc));break}Be.removeNode(Je)}}}function Sn(ie,xe){return{type:10,loc:ie.loc,condition:xe.name==="else"?void 0:xe.exp,children:ie.tagType!==3||kt(ie,"for")?[ie]:ie.children,userKey:Et(ie,"key")}}function Cn(ie,xe,Be){return ie.condition?Z(ie.condition,ki(ie,xe,Be),Ee(Be.helper(A),['""',"true"])):ki(ie,xe,Be)}function ki(ie,xe,Be){const{helper:Re,removeHelper:Ke}=Be,Xe=pe("key",me(`${xe}`,!1,q,2)),{children:Je}=ie,qe=Je[0];if(Je.length!==1||qe.type!==1){if(Je.length===1&&qe.type===11){const $e=qe.codegenNode;return ne($e,Xe,Be),$e}{let $e=64;return s.PatchFlagNames[64],he(Be,Re(p),_e([Xe]),Je,$e+"",void 0,void 0,!0,!1,ie.loc)}}{const $e=qe.codegenNode;return $e.type!==13||$e.isBlock||(Ke(S),$e.isBlock=!0,Re(E),Re(w)),ne($e,Xe,Be),$e}}function bi(ie,xe){if(!ie||ie.type!==xe.type)return!1;if(ie.type===6){if(ie.value.content!==xe.value.content)return!1}else{const Be=ie.exp,Re=xe.exp;if(Be.type!==Re.type||Be.type!==4||Be.isStatic!==Re.isStatic||Be.content!==Re.content)return!1}return!0}const Tu=mr("for",(ie,xe,Be)=>{const{helper:Re,removeHelper:Ke}=Be;return $i(ie,xe,Be,Xe=>{const Je=Ee(Re(M),[Xe.source]),qe=Et(ie,"key"),$e=qe?pe("key",qe.type===6?me(qe.value.content,!0):qe.exp):null;Be.prefixIdentifiers&&$e&&($e.value=Pt($e.value,Be));const yt=Xe.source.type===4&&Xe.source.constType>0,Mt=yt?64:qe?128:256;return Xe.codegenNode=he(Be,Re(p),void 0,Je,Mt+"",void 0,void 0,!0,!yt,ie.loc),()=>{let Ot;const Qt=it(ie),{children:_n}=Xe;Qt&&ie.children.some(Ft=>{if(Ft.type===1){const $t=Et(Ft,"key");if($t)return Be.onError(v(32,$t.loc)),!0}});const xn=_n.length!==1||_n[0].type!==1,fn=ut(ie)?ie:Qt&&ie.children.length===1&&ut(ie.children[0])?ie.children[0]:null;fn?(Ot=fn.codegenNode,Qt&&$e&&ne(Ot,$e,Be)):xn?Ot=he(Be,Re(p),$e?_e([$e]):void 0,ie.children,"64",void 0,void 0,!0):(Ot=_n[0].codegenNode,Qt&&$e&&ne(Ot,$e,Be),Ot.isBlock!==!yt&&(Ot.isBlock?(Ke(E),Ke(w)):Ke(S)),Ot.isBlock=!yt,Ot.isBlock?(Re(E),Re(w)):Re(S)),Je.arguments.push(Te(qd(Xe.parseResult),Ot,!0))}})});function $i(ie,xe,Be,Re){if(!xe.exp)return void Be.onError(v(30,xe.loc));const Ke=Rp(xe.exp,Be);if(!Ke)return void Be.onError(v(31,xe.loc));const{addIdentifiers:Xe,removeIdentifiers:Je,scopes:qe}=Be,{source:$e,value:yt,key:Mt,index:Ot}=Ke,Qt={type:11,loc:xe.loc,source:$e,valueAlias:yt,keyAlias:Mt,objectIndexAlias:Ot,parseResult:Ke,children:it(ie)?ie.children:[ie]};Be.replaceNode(Qt),qe.vFor++,Be.prefixIdentifiers&&(yt&&Xe(yt),Mt&&Xe(Mt),Ot&&Xe(Ot));const _n=Re&&Re(Qt);return()=>{qe.vFor--,Be.prefixIdentifiers&&(yt&&Je(yt),Mt&&Je(Mt),Ot&&Je(Ot)),_n&&_n()}}const Wc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ua=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,W2=/^\(|\)$/g;function Rp(ie,xe){const Be=ie.loc,Re=ie.content,Ke=Re.match(Wc);if(!Ke)return;const[,Xe,Je]=Ke,qe={source:jp(Be,Je.trim(),Re.indexOf(Je,Xe.length)),value:void 0,key:void 0,index:void 0};xe.prefixIdentifiers&&(qe.source=Pt(qe.source,xe));let $e=Xe.trim().replace(W2,"").trim();const yt=Xe.indexOf($e),Mt=$e.match(ua);if(Mt){$e=$e.replace(ua,"").trim();const Ot=Mt[1].trim();let Qt;if(Ot&&(Qt=Re.indexOf(Ot,yt+$e.length),qe.key=jp(Be,Ot,Qt),xe.prefixIdentifiers&&(qe.key=Pt(qe.key,xe,!0))),Mt[2]){const _n=Mt[2].trim();_n&&(qe.index=jp(Be,_n,Re.indexOf(_n,qe.key?Qt+Ot.length:yt+$e.length)),xe.prefixIdentifiers&&(qe.index=Pt(qe.index,xe,!0)))}}return $e&&(qe.value=jp(Be,$e,yt),xe.prefixIdentifiers&&(qe.value=Pt(qe.value,xe,!0))),qe}function jp(ie,xe,Be){return me(xe,!1,rt(ie,Be,xe.length))}function qd({value:ie,key:xe,index:Be}){const Re=[];return ie&&Re.push(ie),xe&&(ie||Re.push(me("_",!1)),Re.push(xe)),Be&&(xe||(ie||Re.push(me("_",!1)),Re.push(me("__",!1))),Re.push(Be)),Re}const Bg=me("undefined",!1),K2=(ie,xe)=>{if(ie.type===1&&(ie.tagType===1||ie.tagType===3)){const Be=kt(ie,"slot");if(Be){const Re=Be.exp;return xe.prefixIdentifiers&&Re&&xe.addIdentifiers(Re),xe.scopes.vSlot++,()=>{xe.prefixIdentifiers&&Re&&xe.removeIdentifiers(Re),xe.scopes.vSlot--}}}},$d=(ie,xe)=>{let Be;if(it(ie)&&ie.props.some(En)&&(Be=kt(ie,"for"))){const Re=Be.parseResult=Rp(Be.exp,xe);if(Re){const{value:Ke,key:Xe,index:Je}=Re,{addIdentifiers:qe,removeIdentifiers:$e}=xe;return Ke&&qe(Ke),Xe&&qe(Xe),Je&&qe(Je),()=>{Ke&&$e(Ke),Xe&&$e(Xe),Je&&$e(Je)}}}},X2=(ie,xe,Be)=>Te(ie,xe,!1,!0,xe.length?xe[0].loc:Be);function Vp(ie,xe,Be=X2){xe.helper(oe);const{children:Re,loc:Ke}=ie,Xe=[],Je=[];let qe=xe.scopes.vSlot>0||xe.scopes.vFor>0;!xe.ssr&&xe.prefixIdentifiers&&(qe=Pe(ie,xe.identifiers));const $e=kt(ie,"slot",!0);if($e){const{arg:fn,exp:Ft}=$e;fn&&!$(fn)&&(qe=!0),Xe.push(pe(fn||me("default",!0),Be(Ft,Re,Ke)))}let yt=!1,Mt=!1;const Ot=[],Qt=new Set;for(let fn=0;fn<Re.length;fn++){const Ft=Re[fn];let $t;if(!it(Ft)||!($t=kt(Ft,"slot",!0))){Ft.type!==3&&Ot.push(Ft);continue}if($e){xe.onError(v(36,$t.loc));break}yt=!0;const{children:er,loc:on}=Ft,{arg:Gn=me("default",!0),exp:sr,loc:An}=$t;let cr;$(Gn)?cr=Gn?Gn.content:"default":qe=!0;const Lr=Be(sr,er,on);let In,kr,ca;if(In=kt(Ft,"if"))qe=!0,Je.push(Z(In.exp,Kc(Gn,Lr),Bg));else if(kr=kt(Ft,/^else(-if)?$/,!0)){let fa,hi=fn;for(;hi--&&(fa=Re[hi],fa.type===3););if(fa&&it(fa)&&kt(fa,"if")){Re.splice(fn,1),fn--;let jo=Je[Je.length-1];for(;jo.alternate.type===19;)jo=jo.alternate;jo.alternate=kr.exp?Z(kr.exp,Kc(Gn,Lr),Bg):Kc(Gn,Lr)}else xe.onError(v(29,kr.loc))}else if(ca=kt(Ft,"for")){qe=!0;const fa=ca.parseResult||Rp(ca.exp,xe);fa?Je.push(Ee(xe.helper(M),[fa.source,Te(qd(fa),Kc(Gn,Lr),!0)])):xe.onError(v(31,ca.loc))}else{if(cr){if(Qt.has(cr)){xe.onError(v(37,An));continue}Qt.add(cr),cr==="default"&&(Mt=!0)}Xe.push(pe(Gn,Lr))}}if(!$e){const fn=(Ft,$t)=>{const er=Be(Ft,$t,Ke);return xe.compatConfig&&(er.isNonScopedSlot=!0),pe("default",er)};yt?Ot.length&&Ot.some(Ft=>Du(Ft))&&(Mt?xe.onError(v(38,Ot[0].loc)):Xe.push(fn(void 0,Ot))):Xe.push(fn(void 0,Re))}const _n=qe?2:Xc(ie.children)?3:1;let xn=_e(Xe.concat(pe("_",me(_n+"",!1))),Ke);return Je.length&&(xn=Ee(xe.helper(F),[xn,de(Je)])),{slots:xn,hasDynamicSlots:qe}}function Kc(ie,xe){return _e([pe("name",ie),pe("fn",xe)])}function Xc(ie){for(let xe=0;xe<ie.length;xe++){const Be=ie[xe];switch(Be.type){case 1:if(Be.tagType===2||Be.tagType===0&&Xc(Be.children))return!0;break;case 9:if(Xc(Be.branches))return!0;break;case 10:case 11:if(Xc(Be.children))return!0}}return!1}function Du(ie){return ie.type!==2&&ie.type!==12||(ie.type===2?!!ie.content.trim():Du(ie.content))}const Yc=new WeakMap,Pu=(ie,xe)=>function(){if((ie=xe.currentNode).type!==1||ie.tagType!==0&&ie.tagType!==1)return;const{tag:Be,props:Re}=ie,Ke=ie.tagType===1;let Xe,Je,qe,$e,yt,Mt,Ot=Ke?e0(ie,xe):`"${Be}"`,Qt=0,_n=s.isObject(Ot)&&Ot.callee===O||Ot===g||Ot===y||!Ke&&(Be==="svg"||Be==="foreignObject"||Et(ie,"key",!0));if(Re.length>0){const xn=Bs(ie,xe);Xe=xn.props,Qt=xn.patchFlag,yt=xn.dynamicPropNames;const fn=xn.directives;Mt=fn&&fn.length?de(fn.map(Ft=>function($t,er){const on=[],Gn=Yc.get($t);if(Gn)on.push(er.helperString(Gn));else{const An=Jc("v-"+$t.name,er);An?on.push(An):(er.helper(k),er.directives.add($t.name),on.push(Ie($t.name,"directive")))}const{loc:sr}=$t;if($t.exp&&on.push($t.exp),$t.arg&&($t.exp||on.push("void 0"),on.push($t.arg)),Object.keys($t.modifiers).length){$t.arg||($t.exp||on.push("void 0"),on.push("void 0"));const An=me("true",!1,sr);on.push(_e($t.modifiers.map(cr=>pe(cr,An)),sr))}return de(on,$t.loc)}(Ft,xe))):void 0}if(ie.children.length>0)if(Ot===x&&(_n=!0,Qt|=1024),Ke&&Ot!==g&&Ot!==x){const{slots:xn,hasDynamicSlots:fn}=Vp(ie,xe);Je=xn,fn&&(Qt|=1024)}else if(ie.children.length===1&&Ot!==g){const xn=ie.children[0],fn=xn.type,Ft=fn===5||fn===8;Ft&&nn(xn,xe)===0&&(Qt|=1),Je=Ft||fn===2?xn:ie.children}else Je=ie.children;Qt!==0&&(qe=String(Qt),yt&&yt.length&&($e=function(xn){let fn="[";for(let Ft=0,$t=xn.length;Ft<$t;Ft++)fn+=JSON.stringify(xn[Ft]),Ft<$t-1&&(fn+=", ");return fn+"]"}(yt))),ie.codegenNode=he(xe,Ot,Xe,Je,qe,$e,Mt,!!_n,!1,ie.loc)};function e0(ie,xe,Be=!1){let{tag:Re}=ie;const Ke=st(Re),Xe=Et(ie,"is");if(Xe)if(Ke||ft("COMPILER_IS_ON_ELEMENT",xe)){const $e=Xe.type===6?Xe.value&&me(Xe.value.content,!0):Xe.exp;if($e)return Ee(xe.helper(O),[$e])}else Xe.type===6&&Xe.value.content.startsWith("vue:")&&(Re=Xe.value.content.slice(4));const Je=!Ke&&kt(ie,"is");if(Je&&Je.exp)return Ee(xe.helper(O),[Je.exp]);const qe=Ce(Re)||xe.isBuiltInComponent(Re);if(qe)return Be||xe.helper(qe),qe;{const $e=Jc(Re,xe);if($e)return $e}return xe.selfName&&s.capitalize(s.camelize(Re))===xe.selfName?(xe.helper(D),xe.components.add(Re+"__self"),Ie(Re,"component")):(xe.helper(D),xe.components.add(Re),Ie(Re,"component"))}function Jc(ie,xe){const Be=xe.bindingMetadata;if(!Be||Be.__isScriptSetup===!1)return;const Re=s.camelize(ie),Ke=s.capitalize(Re),Xe=$e=>Be[ie]===$e?ie:Be[Re]===$e?Re:Be[Ke]===$e?Ke:void 0,Je=Xe("setup-const");if(Je)return xe.inline?Je:`$setup[${JSON.stringify(Je)}]`;const qe=Xe("setup-let")||Xe("setup-ref")||Xe("setup-maybe-ref");return qe?xe.inline?`${xe.helperString(ae)}(${qe})`:`$setup[${JSON.stringify(qe)}]`:void 0}function Bs(ie,xe,Be=ie.props,Re=!1){const{tag:Ke,loc:Xe}=ie,Je=ie.tagType===1;let qe=[];const $e=[],yt=[];let Mt=0,Ot=!1,Qt=!1,_n=!1,xn=!1,fn=!1,Ft=!1;const $t=[],er=({key:Gn,value:sr})=>{if($(Gn)){const An=Gn.content,cr=s.isOn(An);if(Je||!cr||An.toLowerCase()==="onclick"||An==="onUpdate:modelValue"||s.isReservedProp(An)||(xn=!0),cr&&s.isReservedProp(An)&&(Ft=!0),sr.type===20||(sr.type===4||sr.type===8)&&nn(sr,xe)>0)return;An==="ref"?Ot=!0:An!=="class"||Je?An!=="style"||Je?An==="key"||$t.includes(An)||$t.push(An):_n=!0:Qt=!0}else fn=!0};for(let Gn=0;Gn<Be.length;Gn++){const sr=Be[Gn];if(sr.type===6){const{loc:An,name:cr,value:Lr}=sr;let In=!0;if(cr==="ref"&&(Ot=!0,xe.inline&&(In=!1)),cr==="is"&&(st(Ke)||Lr&&Lr.content.startsWith("vue:")||ft("COMPILER_IS_ON_ELEMENT",xe)))continue;qe.push(pe(me(cr,!0,rt(An,0,cr.length)),me(Lr?Lr.content:"",In,Lr?Lr.loc:An)))}else{const{name:An,arg:cr,exp:Lr,loc:In}=sr,kr=An==="bind",ca=An==="on";if(An==="slot"){Je||xe.onError(v(39,In));continue}if(An==="once"||An==="is"||kr&&Dt(cr,"is")&&(st(Ke)||ft("COMPILER_IS_ON_ELEMENT",xe))||ca&&Re)continue;if(!cr&&(kr||ca)){if(fn=!0,Lr)if(qe.length&&($e.push(_e(t0(qe),Xe)),qe=[]),kr){if(ft("COMPILER_V_BIND_OBJECT_ORDER",xe)){$e.unshift(Lr);continue}$e.push(Lr)}else $e.push({type:14,loc:In,callee:xe.helper(L),arguments:[Lr]});else xe.onError(v(kr?33:34,In));continue}const fa=xe.directiveTransforms[An];if(fa){const{props:hi,needRuntime:jo}=fa(sr,ie,xe);!Re&&hi.forEach(er),qe.push(...hi),jo&&(yt.push(sr),s.isSymbol(jo)&&Yc.set(sr,jo))}else yt.push(sr)}sr.type===6&&sr.name==="ref"&&xe.scopes.vFor>0&&wt("COMPILER_V_FOR_REF",xe,sr.loc)&&qe.push(pe(me("refInFor",!0),me("true",!1)))}let on;return $e.length?(qe.length&&$e.push(_e(t0(qe),Xe)),on=$e.length>1?Ee(xe.helper(G),$e,Xe):$e[0]):qe.length&&(on=_e(t0(qe),Xe)),fn?Mt|=16:(Qt&&(Mt|=2),_n&&(Mt|=4),$t.length&&(Mt|=8),xn&&(Mt|=32)),Mt!==0&&Mt!==32||!(Ot||Ft||yt.length>0)||(Mt|=512),{props:on,directives:yt,patchFlag:Mt,dynamicPropNames:$t}}function t0(ie){const xe=new Map,Be=[];for(let Re=0;Re<ie.length;Re++){const Ke=ie[Re];if(Ke.key.type===8||!Ke.key.isStatic){Be.push(Ke);continue}const Xe=Ke.key.content,Je=xe.get(Xe);Je?(Xe==="style"||Xe==="class"||Xe.startsWith("on"))&&Y2(Je,Ke):(xe.set(Xe,Ke),Be.push(Ke))}return Be}function Y2(ie,xe){ie.value.type===17?ie.value.elements.push(xe.value):ie.value=de([ie.value,xe.value],ie.loc)}function st(ie){return ie[0].toLowerCase()+ie.slice(1)==="component"}const tn=/-(\w)/g,Zt=(ie=>{const xe=Object.create(null);return Be=>xe[Be]||(xe[Be]=(Re=>Re.replace(tn,(Ke,Xe)=>Xe?Xe.toUpperCase():""))(Be))})(),rn=(ie,xe)=>{if(ut(ie)){const{children:Be,loc:Re}=ie,{slotName:Ke,slotProps:Xe}=kn(ie,xe),Je=[xe.prefixIdentifiers?"_ctx.$slots":"$slots",Ke];Xe&&Je.push(Xe),Be.length&&(Xe||Je.push("{}"),Je.push(Te([],Be,!1,!1,Re))),xe.scopeId&&!xe.slotted&&(Xe||Je.push("{}"),Be.length||Je.push("undefined"),Je.push("true")),ie.codegenNode=Ee(xe.helper(j),Je,Re)}};function kn(ie,xe){let Be,Re='"default"';const Ke=[];for(let Xe=0;Xe<ie.props.length;Xe++){const Je=ie.props[Xe];Je.type===6?Je.value&&(Je.name==="name"?Re=JSON.stringify(Je.value.content):(Je.name=Zt(Je.name),Ke.push(Je))):Je.name==="bind"&&Dt(Je.arg,"name")?Je.exp&&(Re=Je.exp):(Je.name==="bind"&&Je.arg&&$(Je.arg)&&(Je.arg.content=Zt(Je.arg.content)),Ke.push(Je))}if(Ke.length>0){const{props:Xe,directives:Je}=Bs(ie,xe,Ke);Be=Xe,Je.length&&xe.onError(v(35,Je[0].loc))}return{slotName:Re,slotProps:Be}}const qn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,yr=(ie,xe,Be,Re)=>{const{loc:Ke,modifiers:Xe,arg:Je}=ie;let qe;if(ie.exp||Xe.length||Be.onError(v(34,Ke)),Je.type===4)if(Je.isStatic){const Ot=Je.content;qe=me(s.toHandlerKey(s.camelize(Ot)),!0,Je.loc)}else qe=Se([`${Be.helperString(Y)}(`,Je,")"]);else qe=Je,qe.children.unshift(`${Be.helperString(Y)}(`),qe.children.push(")");let $e=ie.exp;$e&&!$e.content.trim()&&($e=void 0);let yt=Be.cacheHandlers&&!$e;if($e){const Ot=We($e.content),Qt=!(Ot||qn.test($e.content)),_n=$e.content.includes(";");Be.prefixIdentifiers&&(Qt&&Be.addIdentifiers("$event"),$e=ie.exp=Pt($e,Be,!1,_n),Qt&&Be.removeIdentifiers("$event"),yt=Be.cacheHandlers&&!($e.type===4&&$e.constType>0)&&!(Ot&&xe.tagType===1)&&!Pe($e,Be.identifiers),yt&&Ot&&($e.type===4?$e.content=`${$e.content} && ${$e.content}(...args)`:$e.children=[...$e.children," && ",...$e.children,"(...args)"])),(Qt||yt&&Ot)&&($e=Se([`${Qt?Be.isTS?"($event: any)":"$event":(Be.isTS?`
|
|
2506
2506
|
//@ts-ignore
|
|
2507
|
-
`:"")+"(...args)"} => ${_n?"{":"("}`,$e,_n?"}":")"]))}let Mt={props:[pe(qe,$e||me("() => {}",!1,Ke))]};return Re&&(Mt=Re(Mt)),yt&&(Mt.props[0].value=Be.cache(Mt.props[0].value)),Mt},Gi=(ie,
|
|
2508
|
-
Details: ${Xe}`:""}`,qe=new SyntaxError(Je);qe.code=ie,Be&&(qe.loc=Be),
|
|
2507
|
+
`:"")+"(...args)"} => ${_n?"{":"("}`,$e,_n?"}":")"]))}let Mt={props:[pe(qe,$e||me("() => {}",!1,Ke))]};return Re&&(Mt=Re(Mt)),yt&&(Mt.props[0].value=Be.cache(Mt.props[0].value)),Mt},Gi=(ie,xe,Be)=>{const{exp:Re,modifiers:Ke,loc:Xe}=ie,Je=ie.arg;return Je.type!==4?(Je.children.unshift("("),Je.children.push(') || ""')):Je.isStatic||(Je.content=`${Je.content} || ""`),Ke.includes("camel")&&(Je.type===4?Je.isStatic?Je.content=s.camelize(Je.content):Je.content=`${Be.helperString(V)}(${Je.content})`:(Je.children.unshift(`${Be.helperString(V)}(`),Je.children.push(")"))),!Re||Re.type===4&&!Re.content.trim()?(Be.onError(v(33,Xe)),{props:[pe(Je,me("",!0,Xe))]}):{props:[pe(Je,Re)]}},pi=(ie,xe)=>{if(ie.type===0||ie.type===1||ie.type===11||ie.type===10)return()=>{const Be=ie.children;let Re,Ke=!1;for(let Xe=0;Xe<Be.length;Xe++){const Je=Be[Xe];if(pt(Je)){Ke=!0;for(let qe=Xe+1;qe<Be.length;qe++){const $e=Be[qe];if(!pt($e)){Re=void 0;break}Re||(Re=Be[Xe]={type:8,loc:Je.loc,children:[Je]}),Re.children.push(" + ",$e),Be.splice(qe,1),qe--}}}if(Ke&&(Be.length!==1||ie.type!==0&&(ie.type!==1||ie.tagType!==0||ie.props.find(Xe=>Xe.type===7&&!xe.directiveTransforms[Xe.name])||ie.tag==="template")))for(let Xe=0;Xe<Be.length;Xe++){const Je=Be[Xe];if(pt(Je)||Je.type===8){const qe=[];Je.type===2&&Je.content===" "||qe.push(Je),xe.ssr||nn(Je,xe)!==0||qe.push("1"),Be[Xe]={type:12,content:Je,loc:Je.loc,codegenNode:Ee(xe.helper(P),qe)}}}}},Sa=new WeakSet,oo=(ie,xe)=>{if(ie.type===1&&kt(ie,"once",!0))return Sa.has(ie)?void 0:(Sa.add(ie),xe.helper(J),()=>{const Be=xe.currentNode;Be.codegenNode&&(Be.codegenNode=xe.cache(Be.codegenNode,!0))})},n0=(ie,xe,Be)=>{const{exp:Re,arg:Ke}=ie;if(!Re)return Be.onError(v(40,ie.loc)),J2();const Xe=Re.loc.source,Je=Re.type===4?Re.content:Xe,qe=Be.bindingMetadata[Xe],$e=Be.inline&&qe&&qe!=="setup-const";if(!Je.trim()||!We(Je)&&!$e)return Be.onError(v(41,Re.loc)),J2();if(Be.prefixIdentifiers&&Ne(Je)&&Be.identifiers[Je])return Be.onError(v(42,Re.loc)),J2();const yt=Ke||me("modelValue",!0),Mt=Ke?$(Ke)?`onUpdate:${Ke.content}`:Se(['"onUpdate:" + ',Ke]):"onUpdate:modelValue";let Ot;const Qt=Be.isTS?"($event: any)":"$event";if($e)if(qe==="setup-ref")Ot=Se([`${Qt} => (`,me(Xe,!1,Re.loc),".value = $event)"]);else{const xn=qe==="setup-let"?`${Xe} = $event`:"null";Ot=Se([`${Qt} => (${Be.helperString(ge)}(${Xe}) ? `,me(Xe,!1,Re.loc),`.value = $event : ${xn})`])}else Ot=Se([`${Qt} => (`,Re," = $event)"]);const _n=[pe(yt,ie.exp),pe(Mt,Ot)];if(Be.prefixIdentifiers&&Be.cacheHandlers&&!Pe(Re,Be.identifiers)&&(_n[1].value=Be.cache(_n[1].value)),ie.modifiers.length&&xe.tagType===1){const xn=ie.modifiers.map(Ft=>(Ne(Ft)?Ft:JSON.stringify(Ft))+": true").join(", "),fn=Ke?$(Ke)?`${Ke.content}Modifiers`:Se([Ke,' + "Modifiers"']):"modelModifiers";_n.push(pe(fn,me(`{ ${xn} }`,!1,ie.loc,2)))}return J2(_n)};function J2(ie=[]){return{props:ie}}const RKe=/[\w).+\-_$\]]/,jKe=(ie,xe)=>{ft("COMPILER_FILTER",xe)&&(ie.type===5&&Z2(ie.content,xe),ie.type===1&&ie.props.forEach(Be=>{Be.type===7&&Be.name!=="for"&&Be.exp&&Z2(Be.exp,xe)}))};function Z2(ie,xe){if(ie.type===4)JX(ie,xe);else for(let Be=0;Be<ie.children.length;Be++){const Re=ie.children[Be];typeof Re=="object"&&(Re.type===4?JX(Re,xe):Re.type===8?Z2(ie,xe):Re.type===5&&Z2(Re.content,xe))}}function JX(ie,xe){const Be=ie.content;let Re,Ke,Xe,Je,qe=!1,$e=!1,yt=!1,Mt=!1,Ot=0,Qt=0,_n=0,xn=0,fn=[];for(Xe=0;Xe<Be.length;Xe++)if(Ke=Re,Re=Be.charCodeAt(Xe),qe)Re===39&&Ke!==92&&(qe=!1);else if($e)Re===34&&Ke!==92&&($e=!1);else if(yt)Re===96&&Ke!==92&&(yt=!1);else if(Mt)Re===47&&Ke!==92&&(Mt=!1);else if(Re!==124||Be.charCodeAt(Xe+1)===124||Be.charCodeAt(Xe-1)===124||Ot||Qt||_n){switch(Re){case 34:$e=!0;break;case 39:qe=!0;break;case 96:yt=!0;break;case 40:_n++;break;case 41:_n--;break;case 91:Qt++;break;case 93:Qt--;break;case 123:Ot++;break;case 125:Ot--}if(Re===47){let $t,er=Xe-1;for(;er>=0&&($t=Be.charAt(er),$t===" ");er--);$t&&RKe.test($t)||(Mt=!0)}}else Je===void 0?(xn=Xe+1,Je=Be.slice(0,Xe).trim()):Ft();function Ft(){fn.push(Be.slice(xn,Xe).trim()),xn=Xe+1}if(Je===void 0?Je=Be.slice(0,Xe).trim():xn!==0&&Ft(),fn.length){for(Xe=0;Xe<fn.length;Xe++)Je=VKe(Je,fn[Xe],xe);ie.content=Je}}function VKe(ie,xe,Be){Be.helper(B);const Re=xe.indexOf("(");if(Re<0)return Be.filters.add(xe),`${Ie(xe,"filter")}(${ie})`;{const Ke=xe.slice(0,Re),Xe=xe.slice(Re+1);return Be.filters.add(Ke),`${Ie(Ke,"filter")}(${ie}${Xe!==")"?","+Xe:Xe}`}}function ZX(ie){return[[oo,wa,Tu,jKe,...ie?[$d,tt]:[],rn,Pu,K2,pi],{on:yr,bind:Gi,model:n0}]}i.generateCodeFrame=s.generateCodeFrame,i.BASE_TRANSITION=b,i.CAMELIZE=V,i.CAPITALIZE=K,i.CREATE_BLOCK=w,i.CREATE_COMMENT=A,i.CREATE_SLOTS=F,i.CREATE_STATIC=C,i.CREATE_TEXT=P,i.CREATE_VNODE=S,i.FRAGMENT=p,i.IS_REF=ge,i.KEEP_ALIVE=x,i.MERGE_PROPS=G,i.OPEN_BLOCK=E,i.POP_SCOPE_ID=ce,i.PUSH_SCOPE_ID=Q,i.RENDER_LIST=M,i.RENDER_SLOT=j,i.RESOLVE_COMPONENT=D,i.RESOLVE_DIRECTIVE=k,i.RESOLVE_DYNAMIC_COMPONENT=O,i.RESOLVE_FILTER=B,i.SET_BLOCK_TRACKING=J,i.SUSPENSE=y,i.TELEPORT=g,i.TO_DISPLAY_STRING=R,i.TO_HANDLERS=L,i.TO_HANDLER_KEY=Y,i.UNREF=ae,i.WITH_CTX=oe,i.WITH_DIRECTIVES=N,i.WITH_SCOPE_ID=se,i.advancePositionWithClone=At,i.advancePositionWithMutation=bt,i.assert=function(ie,xe){if(!ie)throw new Error(xe||"unexpected compiler condition")},i.baseCompile=function(ie,xe={}){const Be=xe.onError||h,Re=xe.mode==="module",Ke=xe.prefixIdentifiers===!0||Re;!Ke&&xe.cacheHandlers&&Be(v(47)),xe.scopeId&&!Re&&Be(v(48));const Xe=s.isString(ie)?vr(ie,xe):ie,[Je,qe]=ZX(Ke);return Hn(Xe,s.extend({},xe,{prefixIdentifiers:Ke,nodeTransforms:[...Je,...xe.nodeTransforms||[]],directiveTransforms:s.extend({},qe,xe.directiveTransforms||{})})),la(Xe,s.extend({},xe,{prefixIdentifiers:Ke}))},i.baseParse=vr,i.buildProps=Bs,i.buildSlots=Vp,i.checkCompatEnabled=wt,i.createArrayExpression=de,i.createAssignmentExpression=function(ie,xe){return{type:24,left:ie,right:xe,loc:q}},i.createBlockStatement=function(ie){return{type:21,body:ie,loc:q}},i.createCacheExpression=W,i.createCallExpression=Ee,i.createCompilerError=v,i.createCompoundExpression=Se,i.createConditionalExpression=Z,i.createForLoopParams=qd,i.createFunctionExpression=Te,i.createIfStatement=function(ie,xe,Be){return{type:23,test:ie,consequent:xe,alternate:Be,loc:q}},i.createInterpolation=function(ie,xe){return{type:5,loc:xe,content:s.isString(ie)?me(ie,!1,xe):ie}},i.createObjectExpression=_e,i.createObjectProperty=pe,i.createReturnStatement=function(ie){return{type:26,returns:ie,loc:q}},i.createRoot=re,i.createSequenceExpression=function(ie){return{type:25,expressions:ie,loc:q}},i.createSimpleExpression=me,i.createStructuralDirectiveTransform=mr,i.createTemplateLiteral=function(ie){return{type:22,elements:ie,loc:q}},i.createTransformContext=yn,i.createVNodeCall=he,i.findDir=kt,i.findProp=Et,i.generate=la,i.getBaseTransformPreset=ZX,i.getInnerRange=rt,i.hasDynamicKeyVBind=function(ie){return ie.props.some(xe=>!(xe.type!==7||xe.name!=="bind"||xe.arg&&xe.arg.type===4&&xe.arg.isStatic))},i.hasScopeRef=Pe,i.helperNameMap=X,i.injectProp=ne,i.isBindKey=Dt,i.isBuiltInType=ue,i.isCoreComponent=Ce,i.isMemberExpression=We,i.isSimpleIdentifier=Ne,i.isSlotOutlet=ut,i.isStaticExp=$,i.isTemplateNode=it,i.isText=pt,i.isVSlot=En,i.locStub=q,i.noopDirectiveTransform=()=>({props:[]}),i.processExpression=Pt,i.processFor=$i,i.processIf=qi,i.processSlotOutlet=kn,i.registerRuntimeHelpers=function(ie){Object.getOwnPropertySymbols(ie).forEach(xe=>{X[xe]=ie[xe]})},i.resolveComponentType=e0,i.toValidAssetId=Ie,i.trackSlotScopes=K2,i.trackVForSlotScopes=$d,i.transform=Hn,i.transformBind=Gi,i.transformElement=Pu,i.transformExpression=tt,i.transformModel=n0,i.transformOn=yr,i.traverseNode=gr,i.warnDeprecation=function(ie,xe,Be,...Re){if(He(ie,xe)==="suppress-warning")return;const{message:Ke,link:Xe}=Fe[ie],Je=`(deprecation ${ie}) ${typeof Ke=="function"?Ke(...Re):Ke}${Xe?`
|
|
2508
|
+
Details: ${Xe}`:""}`,qe=new SyntaxError(Je);qe.code=ie,Be&&(qe.loc=Be),xe.onWarn(qe)}},(o,i,u)=>{function s(re,he){const de=Object.create(null),_e=re.split(",");for(let pe=0;pe<_e.length;pe++)de[_e[pe]]=!0;return he?pe=>!!de[pe.toLowerCase()]:pe=>!!de[pe]}Object.defineProperty(i,"__esModule",{value:!0});const l={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},c=s("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),f="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",h=s(f),d=s(f+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),v=/[>/="'\u0009\u000a\u000c\u0020]/,m={},p=s("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),g=s("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),y=/;(?![^(]*\))/g,x=/:(.+)/;function b(re){const he={};return re.split(y).forEach(de=>{if(de){const _e=de.split(x);_e.length>1&&(he[_e[0].trim()]=_e[1].trim())}}),he}const E=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),w=s("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),S=s("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),A=/["'&<>]/,P=/^-?>|<!--|-->|--!>|<!-$/g;function C(re,he){if(re===he)return!0;let de=F(re),_e=F(he);if(de||_e)return!(!de||!_e)&&re.getTime()===he.getTime();if(de=N(re),_e=N(he),de||_e)return!(!de||!_e)&&function(pe,me){if(pe.length!==me.length)return!1;let Se=!0;for(let Ee=0;Se&&Ee<pe.length;Ee++)Se=C(pe[Ee],me[Ee]);return Se}(re,he);if(de=L(re),_e=L(he),de||_e){if(!de||!_e||Object.keys(re).length!==Object.keys(he).length)return!1;for(const pe in re){const me=re.hasOwnProperty(pe),Se=he.hasOwnProperty(pe);if(me&&!Se||!me&&Se||!C(re[pe],he[pe]))return!1}}return String(re)===String(he)}const D=(re,he)=>M(he)?{[`Map(${he.size})`]:[...he.entries()].reduce((de,[_e,pe])=>(de[`${_e} =>`]=pe,de),{})}:j(he)?{[`Set(${he.size})`]:[...he.values()]}:!L(he)||N(he)||Y(he)?he:String(he),O=/^on[^a-z]/,k=Object.assign,B=Object.prototype.hasOwnProperty,N=Array.isArray,M=re=>K(re)==="[object Map]",j=re=>K(re)==="[object Set]",F=re=>re instanceof Date,R=re=>typeof re=="function",G=re=>typeof re=="string",L=re=>re!==null&&typeof re=="object",V=Object.prototype.toString,K=re=>V.call(re),Y=re=>K(re)==="[object Object]",J=s(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Q=re=>{const he=Object.create(null);return de=>he[de]||(he[de]=re(de))},ce=/-(\w)/g,se=Q(re=>re.replace(ce,(he,de)=>de?de.toUpperCase():"")),oe=/\B([A-Z])/g,ae=Q(re=>re.replace(oe,"-$1").toLowerCase()),ge=Q(re=>re.charAt(0).toUpperCase()+re.slice(1)),X=Q(re=>re?`on${ge(re)}`:"");let q;i.EMPTY_ARR=[],i.EMPTY_OBJ={},i.NO=()=>!1,i.NOOP=()=>{},i.PatchFlagNames=l,i.babelParserDefaultPlugins=["bigInt","optionalChaining","nullishCoalescingOperator"],i.camelize=se,i.capitalize=ge,i.def=(re,he,de)=>{Object.defineProperty(re,he,{configurable:!0,enumerable:!1,value:de})},i.escapeHtml=function(re){const he=""+re,de=A.exec(he);if(!de)return he;let _e,pe,me="",Se=0;for(pe=de.index;pe<he.length;pe++){switch(he.charCodeAt(pe)){case 34:_e=""";break;case 38:_e="&";break;case 39:_e="'";break;case 60:_e="<";break;case 62:_e=">";break;default:continue}Se!==pe&&(me+=he.substring(Se,pe)),Se=pe+1,me+=_e}return Se!==pe?me+he.substring(Se,pe):me},i.escapeHtmlComment=function(re){return re.replace(P,"")},i.extend=k,i.generateCodeFrame=function(re,he=0,de=re.length){const _e=re.split(/\r?\n/);let pe=0;const me=[];for(let Se=0;Se<_e.length;Se++)if(pe+=_e[Se].length+1,pe>=he){for(let Ee=Se-2;Ee<=Se+2||de>pe;Ee++){if(Ee<0||Ee>=_e.length)continue;const Te=Ee+1;me.push(`${Te}${" ".repeat(Math.max(3-String(Te).length,0))}| ${_e[Ee]}`);const Z=_e[Ee].length;if(Ee===Se){const W=he-(pe-Z)+1,$=Math.max(1,de>pe?Z-W:de-he);me.push(" | "+" ".repeat(W)+"^".repeat($))}else if(Ee>Se){if(de>pe){const W=Math.max(Math.min(de-pe,Z),1);me.push(" | "+"^".repeat(W))}pe+=Z+1}}break}return me.join(`
|
|
2509
2509
|
`)},i.getGlobalThis=()=>q||(q=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:u.g!==void 0?u.g:{}),i.hasChanged=(re,he)=>re!==he&&(re==re||he==he),i.hasOwn=(re,he)=>B.call(re,he),i.hyphenate=ae,i.invokeArrayFns=(re,he)=>{for(let de=0;de<re.length;de++)re[de](he)},i.isArray=N,i.isBooleanAttr=d,i.isDate=F,i.isFunction=R,i.isGloballyWhitelisted=c,i.isHTMLTag=E,i.isIntegerKey=re=>G(re)&&re!=="NaN"&&re[0]!=="-"&&""+parseInt(re,10)===re,i.isKnownAttr=g,i.isMap=M,i.isModelListener=re=>re.startsWith("onUpdate:"),i.isNoUnitNumericStyleProp=p,i.isObject=L,i.isOn=re=>O.test(re),i.isPlainObject=Y,i.isPromise=re=>L(re)&&R(re.then)&&R(re.catch),i.isReservedProp=J,i.isSSRSafeAttrName=function(re){if(m.hasOwnProperty(re))return m[re];const he=v.test(re);return m[re]=!he},i.isSVGTag=w,i.isSet=j,i.isSpecialBooleanAttr=h,i.isString=G,i.isSymbol=re=>typeof re=="symbol",i.isVoidTag=S,i.looseEqual=C,i.looseIndexOf=function(re,he){return re.findIndex(de=>C(de,he))},i.makeMap=s,i.normalizeClass=function re(he){let de="";if(G(he))de=he;else if(N(he))for(let _e=0;_e<he.length;_e++){const pe=re(he[_e]);pe&&(de+=pe+" ")}else if(L(he))for(const _e in he)he[_e]&&(de+=_e+" ");return de.trim()},i.normalizeStyle=function re(he){if(N(he)){const de={};for(let _e=0;_e<he.length;_e++){const pe=he[_e],me=re(G(pe)?b(pe):pe);if(me)for(const Se in me)de[Se]=me[Se]}return de}if(L(he))return he},i.objectToString=V,i.parseStringStyle=b,i.propsToAttrMap={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},i.remove=(re,he)=>{const de=re.indexOf(he);de>-1&&re.splice(de,1)},i.slotFlagsText={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},i.stringifyStyle=function(re){let he="";if(!re)return he;for(const de in re){const _e=re[de],pe=de.startsWith("--")?de:ae(de);(G(_e)||typeof _e=="number"&&p(pe))&&(he+=`${pe}:${_e};`)}return he},i.toDisplayString=re=>re==null?"":L(re)?JSON.stringify(re,D,2):String(re),i.toHandlerKey=X,i.toNumber=re=>{const he=parseFloat(re);return isNaN(he)?re:he},i.toRawType=re=>K(re).slice(8,-1),i.toTypeString=K},()=>{},()=>{},(o,i,u)=>{var s=u(168),l=u(307);function c(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=A,i.resolve=function(P,C){return A(P,!1,!0).resolve(C)},i.resolveObject=function(P,C){return P?A(P,!1,!0).resolveObject(C):C},i.format=function(P){return l.isString(P)&&(P=A(P)),P instanceof c?P.format():c.prototype.format.call(P)},i.Url=c;var f=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,v=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
2510
2510
|
`," "]),m=["'"].concat(v),p=["%","/","?",";","#"].concat(m),g=["/","?","#"],y=/^[+a-z0-9A-Z_-]{0,63}$/,x=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},S=u(511);function A(P,C,D){if(P&&l.isObject(P)&&P instanceof c)return P;var O=new c;return O.parse(P,C,D),O}c.prototype.parse=function(P,C,D){if(!l.isString(P))throw new TypeError("Parameter 'url' must be a string, not "+typeof P);var O=P.indexOf("?"),k=O!==-1&&O<P.indexOf("#")?"?":"#",B=P.split(k);B[0]=B[0].replace(/\\/g,"/");var N=P=B.join(k);if(N=N.trim(),!D&&P.split("#").length===1){var M=d.exec(N);if(M)return this.path=N,this.href=N,this.pathname=M[1],M[2]?(this.search=M[2],this.query=C?S.parse(this.search.substr(1)):this.search.substr(1)):C&&(this.search="",this.query={}),this}var j=f.exec(N);if(j){var F=(j=j[0]).toLowerCase();this.protocol=F,N=N.substr(j.length)}if(D||j||N.match(/^\/\/[^@\/]+@[^@\/]+/)){var R=N.substr(0,2)==="//";!R||j&&E[j]||(N=N.substr(2),this.slashes=!0)}if(!E[j]&&(R||j&&!w[j])){for(var G,L,V=-1,K=0;K<g.length;K++)(Y=N.indexOf(g[K]))!==-1&&(V===-1||Y<V)&&(V=Y);for((L=V===-1?N.lastIndexOf("@"):N.lastIndexOf("@",V))!==-1&&(G=N.slice(0,L),N=N.slice(L+1),this.auth=decodeURIComponent(G)),V=-1,K=0;K<p.length;K++){var Y;(Y=N.indexOf(p[K]))!==-1&&(V===-1||Y<V)&&(V=Y)}V===-1&&(V=N.length),this.host=N.slice(0,V),N=N.slice(V),this.parseHost(),this.hostname=this.hostname||"";var J=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!J)for(var Q=this.hostname.split(/\./),ce=(K=0,Q.length);K<ce;K++){var se=Q[K];if(se&&!se.match(y)){for(var oe="",ae=0,ge=se.length;ae<ge;ae++)se.charCodeAt(ae)>127?oe+="x":oe+=se[ae];if(!oe.match(y)){var X=Q.slice(0,K),q=Q.slice(K+1),re=se.match(x);re&&(X.push(re[1]),q.unshift(re[2])),q.length&&(N="/"+q.join(".")+N),this.hostname=X.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),J||(this.hostname=s.toASCII(this.hostname));var he=this.port?":"+this.port:"",de=this.hostname||"";this.host=de+he,this.href+=this.host,J&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),N[0]!=="/"&&(N="/"+N))}if(!b[F])for(K=0,ce=m.length;K<ce;K++){var _e=m[K];if(N.indexOf(_e)!==-1){var pe=encodeURIComponent(_e);pe===_e&&(pe=escape(_e)),N=N.split(_e).join(pe)}}var me=N.indexOf("#");me!==-1&&(this.hash=N.substr(me),N=N.slice(0,me));var Se=N.indexOf("?");if(Se!==-1?(this.search=N.substr(Se),this.query=N.substr(Se+1),C&&(this.query=S.parse(this.query)),N=N.slice(0,Se)):C&&(this.search="",this.query={}),N&&(this.pathname=N),w[F]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){he=this.pathname||"";var Ee=this.search||"";this.path=he+Ee}return this.href=this.format(),this},c.prototype.format=function(){var P=this.auth||"";P&&(P=(P=encodeURIComponent(P)).replace(/%3A/i,":"),P+="@");var C=this.protocol||"",D=this.pathname||"",O=this.hash||"",k=!1,B="";this.host?k=P+this.host:this.hostname&&(k=P+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(k+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(B=S.stringify(this.query));var N=this.search||B&&"?"+B||"";return C&&C.substr(-1)!==":"&&(C+=":"),this.slashes||(!C||w[C])&&k!==!1?(k="//"+(k||""),D&&D.charAt(0)!=="/"&&(D="/"+D)):k||(k=""),O&&O.charAt(0)!=="#"&&(O="#"+O),N&&N.charAt(0)!=="?"&&(N="?"+N),C+k+(D=D.replace(/[?#]/g,function(M){return encodeURIComponent(M)}))+(N=N.replace("#","%23"))+O},c.prototype.resolve=function(P){return this.resolveObject(A(P,!1,!0)).format()},c.prototype.resolveObject=function(P){if(l.isString(P)){var C=new c;C.parse(P,!1,!0),P=C}for(var D=new c,O=Object.keys(this),k=0;k<O.length;k++){var B=O[k];D[B]=this[B]}if(D.hash=P.hash,P.href==="")return D.href=D.format(),D;if(P.slashes&&!P.protocol){for(var N=Object.keys(P),M=0;M<N.length;M++){var j=N[M];j!=="protocol"&&(D[j]=P[j])}return w[D.protocol]&&D.hostname&&!D.pathname&&(D.path=D.pathname="/"),D.href=D.format(),D}if(P.protocol&&P.protocol!==D.protocol){if(!w[P.protocol]){for(var F=Object.keys(P),R=0;R<F.length;R++){var G=F[R];D[G]=P[G]}return D.href=D.format(),D}if(D.protocol=P.protocol,P.host||E[P.protocol])D.pathname=P.pathname;else{for(var L=(P.pathname||"").split("/");L.length&&!(P.host=L.shift()););P.host||(P.host=""),P.hostname||(P.hostname=""),L[0]!==""&&L.unshift(""),L.length<2&&L.unshift(""),D.pathname=L.join("/")}if(D.search=P.search,D.query=P.query,D.host=P.host||"",D.auth=P.auth,D.hostname=P.hostname||P.host,D.port=P.port,D.pathname||D.search){var V=D.pathname||"",K=D.search||"";D.path=V+K}return D.slashes=D.slashes||P.slashes,D.href=D.format(),D}var Y=D.pathname&&D.pathname.charAt(0)==="/",J=P.host||P.pathname&&P.pathname.charAt(0)==="/",Q=J||Y||D.host&&P.pathname,ce=Q,se=D.pathname&&D.pathname.split("/")||[],oe=(L=P.pathname&&P.pathname.split("/")||[],D.protocol&&!w[D.protocol]);if(oe&&(D.hostname="",D.port=null,D.host&&(se[0]===""?se[0]=D.host:se.unshift(D.host)),D.host="",P.protocol&&(P.hostname=null,P.port=null,P.host&&(L[0]===""?L[0]=P.host:L.unshift(P.host)),P.host=null),Q=Q&&(L[0]===""||se[0]==="")),J)D.host=P.host||P.host===""?P.host:D.host,D.hostname=P.hostname||P.hostname===""?P.hostname:D.hostname,D.search=P.search,D.query=P.query,se=L;else if(L.length)se||(se=[]),se.pop(),se=se.concat(L),D.search=P.search,D.query=P.query;else if(!l.isNullOrUndefined(P.search))return oe&&(D.hostname=D.host=se.shift(),(re=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@"))&&(D.auth=re.shift(),D.host=D.hostname=re.shift())),D.search=P.search,D.query=P.query,l.isNull(D.pathname)&&l.isNull(D.search)||(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.href=D.format(),D;if(!se.length)return D.pathname=null,D.search?D.path="/"+D.search:D.path=null,D.href=D.format(),D;for(var ae=se.slice(-1)[0],ge=(D.host||P.host||se.length>1)&&(ae==="."||ae==="..")||ae==="",X=0,q=se.length;q>=0;q--)(ae=se[q])==="."?se.splice(q,1):ae===".."?(se.splice(q,1),X++):X&&(se.splice(q,1),X--);if(!Q&&!ce)for(;X--;X)se.unshift("..");!Q||se[0]===""||se[0]&&se[0].charAt(0)==="/"||se.unshift(""),ge&&se.join("/").substr(-1)!=="/"&&se.push("");var re,he=se[0]===""||se[0]&&se[0].charAt(0)==="/";return oe&&(D.hostname=D.host=he?"":se.length?se.shift():"",(re=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@"))&&(D.auth=re.shift(),D.host=D.hostname=re.shift())),(Q=Q||D.host&&se.length)&&!he&&se.unshift(""),se.length?D.pathname=se.join("/"):(D.pathname=null,D.path=null),l.isNull(D.pathname)&&l.isNull(D.search)||(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.auth=P.auth||D.auth,D.slashes=D.slashes||P.slashes,D.href=D.format(),D},c.prototype.parseHost=function(){var P=this.host,C=h.exec(P);C&&((C=C[0])!==":"&&(this.port=C.substr(1)),P=P.substr(0,P.length-C.length)),P&&(this.hostname=P)}},(o,i,u)=>{i.decode=i.parse=u(317),i.encode=i.stringify=u(318)},()=>{},()=>{},()=>{},(o,i,u)=>{i.__esModule=!0,i.default=function(x){var b,E,w,S,A,P,C,D,O,k,B,N,M=[],j=x.css.valueOf(),F=j.length,R=-1,G=1,L=0,V=0;function K(Y,J){if(!x.safe)throw x.error("Unclosed "+Y,G,L-R,L);D=(j+=J).length-1}for(;L<F;){switch((b=j.charCodeAt(L))===c.newline&&(R=L,G+=1),b){case c.space:case c.tab:case c.newline:case c.cr:case c.feed:D=L;do D+=1,(b=j.charCodeAt(D))===c.newline&&(R=D,G+=1);while(b===c.space||b===c.newline||b===c.tab||b===c.cr||b===c.feed);N=c.space,w=G,E=D-R-1,V=D;break;case c.plus:case c.greaterThan:case c.tilde:case c.pipe:D=L;do D+=1,b=j.charCodeAt(D);while(b===c.plus||b===c.greaterThan||b===c.tilde||b===c.pipe);N=c.combinator,w=G,E=L-R,V=D;break;case c.asterisk:case c.ampersand:case c.bang:case c.comma:case c.equals:case c.dollar:case c.caret:case c.openSquare:case c.closeSquare:case c.colon:case c.semicolon:case c.openParenthesis:case c.closeParenthesis:N=b,w=G,E=L-R,V=(D=L)+1;break;case c.singleQuote:case c.doubleQuote:B=b===c.singleQuote?"'":'"',D=L;do for(S=!1,(D=j.indexOf(B,D+1))===-1&&K("quote",B),A=D;j.charCodeAt(A-1)===c.backslash;)A-=1,S=!S;while(S);N=c.str,w=G,E=L-R,V=D+1;break;default:b===c.slash&&j.charCodeAt(L+1)===c.asterisk?((D=j.indexOf("*/",L+2)+1)===0&&K("comment","*/"),(P=(C=j.slice(L,D+1).split(`
|
|
2511
2511
|
`)).length-1)>0?(O=G+P,k=D-C[P].length):(O=G,k=R),N=c.comment,G=O,w=O,E=D-k):b===c.slash?(N=b,w=G,E=L-R,V=(D=L)+1):(D=g(j,L),N=c.word,w=G,E=D-R),V=D+1}M.push([N,G,L-R,w,E,L,V]),k&&(R=k,k=null),L=V}return M},i.FIELDS=void 0;var s,l,c=function(x){if(x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var b=f();if(b&&b.has(x))return b.get(x);var E={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in x)if(Object.prototype.hasOwnProperty.call(x,S)){var A=w?Object.getOwnPropertyDescriptor(x,S):null;A&&(A.get||A.set)?Object.defineProperty(E,S,A):E[S]=x[S]}return E.default=x,b&&b.set(x,E),E}(u(328));function f(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return f=function(){return x},x}for(var h=((s={})[c.tab]=!0,s[c.newline]=!0,s[c.cr]=!0,s[c.feed]=!0,s),d=((l={})[c.space]=!0,l[c.tab]=!0,l[c.newline]=!0,l[c.cr]=!0,l[c.feed]=!0,l[c.ampersand]=!0,l[c.asterisk]=!0,l[c.bang]=!0,l[c.comma]=!0,l[c.colon]=!0,l[c.semicolon]=!0,l[c.openParenthesis]=!0,l[c.closeParenthesis]=!0,l[c.openSquare]=!0,l[c.closeSquare]=!0,l[c.singleQuote]=!0,l[c.doubleQuote]=!0,l[c.plus]=!0,l[c.pipe]=!0,l[c.tilde]=!0,l[c.greaterThan]=!0,l[c.equals]=!0,l[c.dollar]=!0,l[c.caret]=!0,l[c.slash]=!0,l),v={},m="0123456789abcdefABCDEF",p=0;p<m.length;p++)v[m.charCodeAt(p)]=!0;function g(x,b){var E,w=b;do{if(E=x.charCodeAt(w),d[E])return w-1;E===c.backslash?w=y(x,w)+1:w++}while(w<x.length);return w-1}function y(x,b){var E=b,w=x.charCodeAt(E+1);if(!h[w])if(v[w]){var S=0;do E++,S++,w=x.charCodeAt(E+1);while(v[w]&&S<6);S<6&&w===c.space&&E++}else E++;return E}i.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}},(o,i,u)=>{i.__esModule=!0,i.universal=i.tag=i.string=i.selector=i.root=i.pseudo=i.nesting=i.id=i.comment=i.combinator=i.className=i.attribute=void 0;var s=b(u(326)),l=b(u(100)),c=b(u(107)),f=b(u(101)),h=b(u(102)),d=b(u(108)),v=b(u(105)),m=b(u(97)),p=b(u(99)),g=b(u(104)),y=b(u(103)),x=b(u(106));function b(E){return E&&E.__esModule?E:{default:E}}i.attribute=function(E){return new s.default(E)},i.className=function(E){return new l.default(E)},i.combinator=function(E){return new c.default(E)},i.comment=function(E){return new f.default(E)},i.id=function(E){return new h.default(E)},i.nesting=function(E){return new d.default(E)},i.pseudo=function(E){return new v.default(E)},i.root=function(E){return new m.default(E)},i.selector=function(E){return new p.default(E)},i.string=function(E){return new g.default(E)},i.tag=function(E){return new y.default(E)},i.universal=function(E){return new x.default(E)}},(o,i,u)=>{i.__esModule=!0,i.isNode=f,i.isPseudoElement=P,i.isPseudoClass=function(C){return x(C)&&!P(C)},i.isContainer=function(C){return!(!f(C)||!C.walk)},i.isNamespace=function(C){return d(C)||S(C)},i.isUniversal=i.isTag=i.isString=i.isSelector=i.isRoot=i.isPseudo=i.isNesting=i.isIdentifier=i.isComment=i.isCombinator=i.isClassName=i.isAttribute=void 0;var s,l=u(5),c=((s={})[l.ATTRIBUTE]=!0,s[l.CLASS]=!0,s[l.COMBINATOR]=!0,s[l.COMMENT]=!0,s[l.ID]=!0,s[l.NESTING]=!0,s[l.PSEUDO]=!0,s[l.ROOT]=!0,s[l.SELECTOR]=!0,s[l.STRING]=!0,s[l.TAG]=!0,s[l.UNIVERSAL]=!0,s);function f(C){return typeof C=="object"&&c[C.type]}function h(C,D){return f(D)&&D.type===C}var d=h.bind(null,l.ATTRIBUTE);i.isAttribute=d;var v=h.bind(null,l.CLASS);i.isClassName=v;var m=h.bind(null,l.COMBINATOR);i.isCombinator=m;var p=h.bind(null,l.COMMENT);i.isComment=p;var g=h.bind(null,l.ID);i.isIdentifier=g;var y=h.bind(null,l.NESTING);i.isNesting=y;var x=h.bind(null,l.PSEUDO);i.isPseudo=x;var b=h.bind(null,l.ROOT);i.isRoot=b;var E=h.bind(null,l.SELECTOR);i.isSelector=E;var w=h.bind(null,l.STRING);i.isString=w;var S=h.bind(null,l.TAG);i.isTag=S;var A=h.bind(null,l.UNIVERSAL);function P(C){return x(C)&&C.value&&(C.value.startsWith("::")||C.value.toLowerCase()===":before"||C.value.toLowerCase()===":after")}i.isUniversal=A},()=>{},()=>{},()=>{},(o,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.replaceAll=s;var u=/[$#]?[\w-\.]+/g;function s(l,c){for(var f=void 0;f=u.exec(c);){var h=l[f[0]];h&&(c=c.slice(0,f.index)+h+c.slice(u.lastIndex),u.lastIndex-=f[0].length-h.length)}return c}i.default=function(l,c){l.walkDecls(function(f){return f.value=s(c,f.value)}),l.walkAtRules("media",function(f){return f.params=s(c,f.params)})}},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0});var s=h(u(84)),l=h(u(523)),c=h(u(8)),f=h(u(332));function h(m){return m&&m.__esModule?m:{default:m}}class d{constructor(p){this.plugins=p||d.defaultPlugins}load(p,g,y,x){let b=new f.default(x,y);return(0,s.default)(this.plugins.concat([b.plugin()])).process(p,{from:"/"+g}).then(E=>({injectableSource:E.css,exportTokens:b.exportTokens}))}}const v=(m,p)=>m.length<p.length?m<p.substring(0,m.length)?-1:1:m.length>p.length?m.substring(0,p.length)<=p?-1:1:m<p?-1:1;i.default=class{constructor(m,p){this.root=m,this.sources={},this.traces={},this.importNr=0,this.core=new d(p),this.tokensByFile={}}fetch(m,p,g){let y=m.replace(/^["']|["']$/g,""),x=g||String.fromCharCode(this.importNr++);return new Promise((b,E)=>{let w=c.default.dirname(p),S=c.default.resolve(w,y),A=c.default.resolve(c.default.join(this.root,w),y);if(y[0]!=="."&&y[0]!=="/")try{A=u(524).resolve(y)}catch{}const P=this.tokensByFile[A];if(P)return b(P);l.default.readFile(A,"utf-8",(C,D)=>{C&&E(C),this.core.load(D,S,x,this.fetch.bind(this)).then(({injectableSource:O,exportTokens:k})=>{this.sources[A]=O,this.traces[x]=A,this.tokensByFile[A]=k,b(k)},E)})})}get finalSource(){const m=this.traces,p=this.sources;let g=new Set;return Object.keys(m).sort(v).map(y=>{const x=m[y];return g.has(x)?null:(g.add(x),p[x])}).join("")}}},()=>{},o=>{function i(u){var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}i.keys=()=>[],i.resolve=i,i.id=524,o.exports=i},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(c,f,h){const d=h.indexOf(`.${c}`),v=h.substr(0,d).split(/[\r\n]/).length;return`_${c}_${(0,l.default)(h).toString(36).substr(0,5)}_${v}`};var s,l=(s=u(333))&&s.__esModule?s:{default:s}},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(l,c){return new Promise((f,h)=>{(0,s.writeFile)(`${l}.json`,JSON.stringify(c),d=>d?h(d):f(c))})};var s=u(527)},()=>{},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.behaviours=void 0,i.getDefaultPlugins=function({behaviour:v,generateScopedName:m,exportGlobals:p}){const g=(0,c.default)({generateScopedName:m,exportGlobals:p});return{[d.LOCAL]:[f.default,s.default,l.default,g],[d.GLOBAL]:[f.default,l.default,g]}[v]},i.isValidBehaviour=function(v){return Object.keys(d).map(m=>d[m]).indexOf(v)>-1};var s=h(u(334)),l=h(u(344)),c=h(u(529)),f=h(u(530));function h(v){return v&&v.__esModule?v:{default:v}}const d=i.behaviours={LOCAL:"local",GLOBAL:"global"}},()=>{},()=>{},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=(0,u(4).declare)(l=>(l.assertVersion(7),{name:"syntax-jsx",manipulateOptions(c,f){f.plugins.some(h=>(Array.isArray(h)?h[0]:h)==="typescript")||f.plugins.push("jsx")}}));i.default=s},(o,i,u)=>{o.exports=u(533)},o=>{o.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')},(o,i,u)=>{o.exports=u(535)},o=>{o.exports=JSON.parse('["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]')},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=(0,u(4).declare)(l=>(l.assertVersion(7),{name:"syntax-class-static-block",manipulateOptions(c,f){f.plugins.push("classStaticBlock")}}));i.default=s},(o,i,u)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.buildPrivateNamesMap=function(N){const M=new Map;for(const j of N){const F=j.isPrivate(),R=!j.isProperty(),G=!j.node.static;if(F){const{name:L}=j.node.key.id,V=M.has(L)?M.get(L):{id:j.scope.generateUidIdentifier(L),static:!G,method:R};j.node.kind==="get"?V.getId=j.scope.generateUidIdentifier(`get_${L}`):j.node.kind==="set"?V.setId=j.scope.generateUidIdentifier(`set_${L}`):j.node.kind==="method"&&(V.methodId=j.scope.generateUidIdentifier(L)),M.set(L,V)}}return M},i.buildPrivateNamesNodes=function(N,M,j){const F=[];for(const[R,G]of N){const{static:L,method:V,getId:K,setId:Y}=G,J=K||Y,Q=s.types.cloneNode(G.id);let ce;M?ce=s.types.callExpression(j.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(R)]):L||(ce=s.types.newExpression(s.types.identifier(!V||J?"WeakMap":"WeakSet"),[])),ce&&((0,h.default)(ce),F.push(s.template.statement.ast`var ${Q} = ${ce}`))}return F},i.transformPrivateNamesUsage=function(N,M,j,{privateFieldsAsProperties:F,noDocumentAll:R},G){if(!j.size)return;const L=M.get("body"),V=F?y:g;(0,c.default)(L,m,Object.assign({privateNamesMap:j,classRef:N,file:G},V,{noDocumentAll:R})),L.traverse(p,{privateNamesMap:j,classRef:N,file:G,privateFieldsAsProperties:F})},i.buildFieldsInitNodes=function(N,M,j,F,R,G,L,V,K){let Y,J=!1;const Q=[],ce=[],se=[],oe=s.types.isIdentifier(M)?()=>M:()=>(Y!=null||(Y=j[0].scope.generateUidIdentifierBasedOnNode(M)),Y);for(const ae of j){d.assertFieldTransformed(ae);const ge=ae.node.static,X=!ge,q=ae.isPrivate(),re=!q,he=ae.isProperty(),de=!he,_e=ae.isStaticBlock==null?void 0:ae.isStaticBlock();if(ge||de&&q||_e){const pe=B(ae,N,oe,R,_e,V,K);J=J||pe}switch(!0){case _e:Q.push(s.template.statement.ast`(() => ${s.types.blockStatement(ae.node.body)})()`);break;case(ge&&q&&he&&L):J=!0,Q.push(x(s.types.cloneNode(N),ae,F));break;case(ge&&q&&he&&!L):J=!0,Q.push(E(ae,F));break;case(ge&&re&&he&&G):J=!0,Q.push(A(s.types.cloneNode(N),ae));break;case(ge&&re&&he&&!G):J=!0,Q.push(P(s.types.cloneNode(N),ae,R));break;case(X&&q&&he&&L):ce.push(x(s.types.thisExpression(),ae,F));break;case(X&&q&&he&&!L):ce.push(b(s.types.thisExpression(),ae,F));break;case(X&&q&&de&&L):ce.unshift(w(s.types.thisExpression(),ae,F)),se.push(D(ae,F,L));break;case(X&&q&&de&&!L):ce.unshift(S(s.types.thisExpression(),ae,F)),se.push(D(ae,F,L));break;case(ge&&q&&de&&!L):J=!0,Q.unshift(E(ae,F)),se.push(D(ae,F,L));break;case(ge&&q&&de&&L):J=!0,Q.unshift(C(s.types.cloneNode(N),ae,0,F)),se.push(D(ae,F,L));break;case(X&&re&&he&&G):ce.push(A(s.types.thisExpression(),ae));break;case(X&&re&&he&&!G):ce.push(P(s.types.thisExpression(),ae,R));break;default:throw new Error("Unreachable.")}}return{staticNodes:Q.filter(Boolean),instanceNodes:ce.filter(Boolean),pureStaticNodes:se.filter(Boolean),wrapClass(ae){for(const ge of j)ge.remove();return Y&&(ae.scope.push({id:s.types.cloneNode(Y)}),ae.set("superClass",s.types.assignmentExpression("=",Y,ae.node.superClass))),J&&(ae.isClassExpression()?(ae.scope.push({id:N}),ae.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(N),ae.node))):ae.node.id||(ae.node.id=N)),ae}}};var s=u(9),l=u(70),c=u(258),f=u(259),h=u(347),d=u(538);function v(N){const M=Object.assign({},N,{Class(F){const{privateNamesMap:R}=this,G=F.get("body.body"),L=new Map(R),V=[];for(const K of G){if(!K.isPrivate())continue;const{name:Y}=K.node.key.id;L.delete(Y),V.push(Y)}V.length&&(F.get("body").traverse(j,Object.assign({},this,{redeclared:V})),F.traverse(M,Object.assign({},this,{privateNamesMap:L})),F.skipKey("body"))}}),j=s.traverse.visitors.merge([Object.assign({},N),l.environmentVisitor]);return M}const m=v({PrivateName(N,{noDocumentAll:M}){const{privateNamesMap:j,redeclared:F}=this,{node:R,parentPath:G}=N;if(!G.isMemberExpression({property:R})&&!G.isOptionalMemberExpression({property:R}))return;const{name:L}=R.id;j.has(L)&&(F&&F.includes(L)||this.handle(G,M))}}),p=v({BinaryExpression(N){const{operator:M,left:j,right:F}=N.node;if(M!=="in"||!N.get("left").isPrivateName())return;const{privateFieldsAsProperties:R,privateNamesMap:G,redeclared:L}=this,{name:V}=j.id;if(!G.has(V)||L&&L.includes(V))return;if(R){const{id:J}=G.get(V);return void N.replaceWith(s.template.expression.ast`
|