template-designer 0.8.1 → 0.8.2

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.
@@ -7088,9 +7088,9 @@ const fb = /* @__PURE__ */ Mt(lb, [["render", ub]]), Gg = [
7088
7088
  ], zg = Gg.flatMap((e) => e.components);
7089
7089
  async function hb(e) {
7090
7090
  try {
7091
- return (await mm(/* @__PURE__ */ Object.assign({ "./props/lodop.js": () => import("./lodop-187d5141.mjs"), "./props/rfid.js": () => import("./rfid-4cc5c807.mjs") }), `./props/${e}.js`)).default;
7091
+ return (await mm(/* @__PURE__ */ Object.assign({ "./props/lodop.js": () => import("./lodop-aa0544aa.mjs"), "./props/rfid.js": () => import("./rfid-8dd6205b.mjs") }), `./props/${e}.js`)).default;
7092
7092
  } catch {
7093
- return console.warn(`配置文件 ./props/${e}.js 不存在,使用默认配置`), (await import("./lodop-187d5141.mjs")).default;
7093
+ return console.warn(`配置文件 ./props/${e}.js 不存在,使用默认配置`), (await import("./lodop-aa0544aa.mjs")).default;
7094
7094
  }
7095
7095
  }
7096
7096
  function db(e = {}, A = {}) {
@@ -22801,7 +22801,7 @@ function(e) {
22801
22801
  */
22802
22802
  function(e) {
22803
22803
  function A() {
22804
- return (de.canvg ? Promise.resolve(de.canvg) : import("./index.es-0bbc7215.mjs")).catch(function(t) {
22804
+ return (de.canvg ? Promise.resolve(de.canvg) : import("./index.es-df6da6f3.mjs")).catch(function(t) {
22805
22805
  return Promise.reject(new Error("Could not load canvg: " + t));
22806
22806
  }).then(function(t) {
22807
22807
  return t.default ? t.default : t;
@@ -1,4 +1,4 @@
1
- import { c as Qe, _ as Ha, g as Lo } from "./index-b4e450fa.mjs";
1
+ import { c as Qe, _ as Ha, g as Lo } from "./index-019d8361.mjs";
2
2
  import "vue";
3
3
  var ht = function(a) {
4
4
  return a && a.Math === Math && a;
@@ -1,4 +1,4 @@
1
- import { R as e } from "./index-b4e450fa.mjs";
1
+ import { R as e } from "./index-019d8361.mjs";
2
2
  import "vue";
3
3
  const t = {
4
4
  text: {
@@ -61,13 +61,13 @@ const t = {
61
61
  label: "模板显示",
62
62
  type: "select",
63
63
  options: [
64
- { label: "字段名称", value: "fieldName" },
65
- { label: "测试数据", value: "text" }
64
+ { label: "测试数据", value: "text" },
65
+ { label: "字段名称", value: "fieldName" }
66
66
  ],
67
67
  default: "text",
68
68
  // 默认显示测试数据
69
69
  layout: "half",
70
- desc: "控制模板中显示的内容:字段名称显示字段名,测试数据显示测试值"
70
+ desc: "控制模板中显示的内容:字段名称显示字段名,测试数据显示测试值,仅用于模板展示,不会影响实际打印"
71
71
  },
72
72
  {
73
73
  prop: "FontName",
@@ -1,4 +1,4 @@
1
- import { R as e } from "./index-b4e450fa.mjs";
1
+ import { R as e } from "./index-019d8361.mjs";
2
2
  import "vue";
3
3
  const t = {
4
4
  text: {
@@ -1,4 +1,4 @@
1
- import { T as t, a as m, r as o } from "./index-b4e450fa.mjs";
1
+ import { T as t, a as m, r as o } from "./index-019d8361.mjs";
2
2
  import "vue";
3
3
  export {
4
4
  t as default,
@@ -311,7 +311,7 @@ end`};e.events.push(["putFont",function(a){(function(i){var o=i.font,s=i.out,l=i
311
311
  `,r!==1){const U=document.createElement("div");for(U.style.cssText=`
312
312
  width: ${s}mm; height: ${l}mm; position: relative;
313
313
  transform: scale(${r}); transform-origin: top left;
314
- `;C.firstChild;)U.appendChild(C.firstChild);C.appendChild(U)}return C.outerHTML}finally{if(!(i&&window[w])){try{f&&f.unmount&&f.unmount()}catch{}g&&g.parentNode&&g.parentNode.removeChild(g)}}}Ro.install=t=>{t.component(Ro.name||"TemplateDesigner",Ro)};const zy=Object.freeze(Object.defineProperty({__proto__:null,default:{text:{width:20,height:2.8,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"Title",label:"标题",default:"",layout:"full",desc:"用于文本开头固定文案的打印,不需要则不填。示例:如果填写“价格:”,则打印时内容为“价格:【字段对应值】”"},{prop:"FieldName",label:"字段名称",type:"select",multiple:!0,optionsKey:"fields",default:"",layout:"full"},{prop:"FieldConnector",label:"字段连接符",type:"text",default:"",layout:"half",desc:"当选择多个字段时,用于连接字段之间的分隔符,如:-、|、空格等,默认使用空格"},{prop:"EndMark",label:"结束符",default:"",layout:"half",desc:'用于文本结尾固定文案的打印,不需要则不填。示例:如果填写"元",则打印时内容为"【字段对应值】元"'},{prop:"Text",label:"测试数据(展示使用,无实际意义)",default:"测试文本",layout:"full"},{prop:"TemplateDisplay",label:"模板显示",type:"select",options:[{label:"字段名称",value:"fieldName"},{label:"测试数据",value:"text"}],default:"text",layout:"half",desc:"控制模板中显示的内容:字段名称显示字段名,测试数据显示测试值"},{prop:"FontName",label:"字体名称",type:"select",desc:"注意:选择的字体需要计算机中安装有对应字体才有效",options:[{label:"黑体",value:"黑体",cssValue:"SimHei"},{label:"楷体",value:"楷体",cssValue:"KaiTi"},{label:"宋体",value:"宋体",cssValue:"SimSun"},{label:"隶书",value:"隶书",cssValue:"LiSu"},{label:"缅语Arial",value:"Arial",cssValue:"Arial"},{label:"缅语Segoe UI",value:"Segoe UI",cssValue:"Segoe UI"}],default:"黑体",layout:"half"},{prop:"FontSize",label:"字体大小",type:"number",min:1,max:100,default:8,layout:"half"},{prop:"FontColor",label:"字体颜色",type:"color",hide:!0,default:"#000000",layout:"half"},{prop:"Bold",label:"字体加粗",type:"select",options:[{label:"加粗",value:1},{label:"不加粗",value:0}],default:0,layout:"half"},{prop:"Italic",label:"是否斜体",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,layout:"half"},{prop:"Underline",label:"下划线",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,hide:!0},{prop:"Alignment",label:"对齐方式",type:"select",options:[{label:"居左",value:1},{label:"居中",value:2},{label:"居右",value:3}],default:2},{prop:"TextWrap",label:"文本换行",type:"select",desc:"可预知的内容尽量不换行,避免因为换行导致打印效果不佳",options:[{label:"换行",value:1},{label:"不换行",value:2}],default:2},{prop:"HOrient",label:"水平锁定",type:"select",options:[{label:"无",value:0},{label:"左边距锁定",value:1},{label:"右边距锁定",value:2},{label:"水平居中",value:3}],hide:!0,default:0},{prop:"VOrient",label:"垂直锁定",type:"select",options:[{label:"无",value:0},{label:"上边距锁定",value:1},{label:"下边距锁定",value:2},{label:"垂直居中",value:3}],hide:!0,default:0},{prop:"PenWidth",label:"线宽",type:"number",min:0,hide:!0,default:0},{prop:"PenStyle",label:"线型",type:"select",hide:!0,options:[{label:"实线",value:0},{label:"破折线",value:1},{label:"点线",value:2},{label:"点划线",value:3},{label:"双点划线",value:4}],default:0},{prop:"Stretch",label:"缩放模式",type:"select",options:[{label:"扩展",value:1},{label:"缩放",value:2}],hide:!0,default:1},{prop:"PreviewOnly",label:"仅预览",type:"select",hide:!0,options:[{label:"是",value:1},{label:"否",value:0}],default:0},{prop:"ReadOnly",label:"只读",type:"select",hide:!0,options:[{label:"是",value:1},{label:"否",value:0}],default:0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},barcode:{width:20,height:6,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"注:<br/>1、条码宽度需要根据实际打印数据的长短来适当设置;如果打印数据较长,条码宽度较短,条码打印出来会识别困难或无法识别。<br/>2、如果标签尺寸较小,就需要控制打印数据的长度,确保在有限的宽度打印出来能够正常识别。",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"goods_sn",layout:"full"},{prop:"BarcodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"1234567890"},{prop:"CodeType",label:"条码类型",type:"select",options:[{label:"CODE128",value:"128Auto",compValue:"CODE128"},{label:"CODE39",value:"Code39",compValue:"CODE39"},{label:"EAN13",value:"EAN13",compValue:"EAN13"}],hide:!0,default:"128Auto"},{prop:"AlignJustify",label:"对齐方式",type:"select",options:[{label:"两端对齐",value:0},{label:"左",value:1},{label:"中",value:2},{label:"右",value:3}],hide:!0,default:0},{prop:"LineColor",label:"条形码颜色",type:"color",hide:!0,default:"#000000"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},qrcode:{width:10,height:10,rotation:0,lockAspectRatio:!0,allowRotation:!1,desc:"",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"",layout:"full"},{prop:"QRCodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"FB-1234567890"},{prop:"QRCodeVersion",label:"二维码版本",type:"number",min:1,max:40,hide:!0,default:7},{prop:"QRCodeErrorLevel",label:"纠错级别",type:"select",options:[{label:"L (7%)",value:"L"},{label:"M (15%)",value:"M"},{label:"Q (25%)",value:"Q"},{label:"H (30%)",value:"H"}],hide:!0,default:"H"},{prop:"QRCodeEncodeMode",label:"编码模式",type:"select",options:[{label:"数字",value:"N"},{label:"二进制或汉语",value:"B"},{label:"英文字母",value:"A"}],hide:!0,default:"B"},{prop:"QRCodeForeground",label:"前景色",type:"color",hide:!0,default:"#000000"},{prop:"QRCodeBackground",label:"背景景色",type:"color",hide:!0,default:"transparent"}]},image:{width:12,height:12,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"ImageSrc",label:"图片地址",type:"file",accept:"image/*",default:""},{prop:"ScaleMode",label:"图片缩放",type:"select",options:[{label:"原始尺寸",value:1},{label:"居中裁剪",value:2},{label:"填充",value:3}],default:1},{prop:"IsPrint",label:"是否打印",type:"select",options:[{label:"是",value:!0},{label:"否",value:!1}],default:!0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},rectangle:{width:15,height:10,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"LineWidth",type:"select",label:"线宽",default:"0.5",options:[{label:"默认",value:"0.5"},{label:"1px",value:"1"},{label:"2px",value:"2"},{label:"3px",value:"3"},{label:"4px",value:"4"},{label:"5px",value:"5"},{label:"6px",value:"6"},{label:"7px",value:"7"},{label:"8px",value:"8"},{label:"9px",value:"9"},{label:"10px",value:"10"}]},{prop:"LineStyle",type:"select",label:"样式",default:1,options:[{label:"实线",value:1},{label:"虚线",value:2}]},{prop:"BorderRadius",type:"number",label:"圆角",default:0,min:0,step:1,hide:!0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half",hide:!0}]},line:{width:15,height:.5,rotation:0,lockAspectRatio:!1,allowRotation:!1,x1:0,y1:0,x2:15,y2:0,desc:"",propertyPanel:[{prop:"LineWidth",type:"select",label:"线宽",default:"0.5",options:[{label:"默认",value:"0.5"},{label:"1px",value:"1"},{label:"2px",value:"2"},{label:"3px",value:"3"},{label:"4px",value:"4"},{label:"5px",value:"5"},{label:"6px",value:"6"},{label:"7px",value:"7"},{label:"8px",value:"8"},{label:"9px",value:"9"},{label:"10px",value:"10"}]},{prop:"LineStyle",type:"select",label:"样式",default:1,options:[{label:"实线",value:1},{label:"虚线",value:2}]},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]}}},Symbol.toStringTag,{value:"Module"})),oP=Object.freeze(Object.defineProperty({__proto__:null,default:{text:{x:0,y:0,width:20,height:2.8,rotation:0,allowRotation:!1,Title:"",FieldName:"",Text:"测试文本",FontName:"黑体",FontSize:8,FontColor:"#000000",Bold:0,Italic:0,Underline:0,Alignment:2,TextWrap:1,HOrient:0,VOrient:0,PenWidth:0,PenStyle:0,Stretch:1,PreviewOnly:0,ReadOnly:0,desc:"",propertyPanel:[{prop:"Title",label:"标题",default:"",layout:"full",desc:"设置文本组件的标题内容,用于显示在组件上"},{prop:"FieldName",label:"字段名称",type:"select",multiple:!0,optionsKey:"fields",default:"",layout:"full"},{prop:"FieldConnector",label:"字段连接符",type:"text",default:"",layout:"full",desc:"当选择多个字段时,用于连接字段之间的分隔符,如:-、|、空格等,默认使用空格"},{prop:"Text",label:"测试数据(展示使用,无实际意义)",default:"测试文本",layout:"full"},{prop:"FontName",label:"字体名称",type:"select",desc:"注意:选择的字体需要计算机中安装有对应字体才有效",options:[{label:"黑体",value:"黑体",cssValue:"SimHei"},{label:"楷体",value:"楷体",cssValue:"KaiTi"},{label:"宋体",value:"宋体",cssValue:"SimSun"},{label:"隶书",value:"隶书",cssValue:"LiSu"}],default:"黑体",layout:"half"},{prop:"FontSize",label:"字体大小",type:"number",min:1,max:100,default:8,layout:"half"},{prop:"FontColor",label:"字体颜色",type:"color",hide:!0,default:"#000000",layout:"half"},{prop:"Bold",label:"字体加粗",type:"select",options:[{label:"加粗",value:1},{label:"不加粗",value:0}],default:0,layout:"half"},{prop:"Italic",label:"是否斜体",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,layout:"half"},{prop:"Alignment",label:"对齐方式",type:"select",options:[{label:"居左",value:1},{label:"居中",value:2},{label:"居右",value:3}],default:2,layout:"half"},{prop:"TextWrap",label:"文本换行",type:"select",options:[{label:"换行",value:1},{label:"不换行",value:2}],default:2,hide:!0,layout:"half"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},barcode:{x:0,y:0,width:20,height:6,rotation:0,allowRotation:!1,FieldName:"goodsSn",BarcodeValue:"1234567890",CodeType:"128Auto",AlignJustify:0,LineColor:"#000000",desc:"注:<br/>1、条码宽度需要根据实际打印数据的长短来适当设置;如果打印数据较长,条码宽度较短,条码打印出来会识别困难或无法识别。<br/>2、如果标签尺寸较小,就需要控制打印数据的长度,确保在有限的宽度打印出来能够正常识别。",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"goods_sn",layout:"full"},{prop:"BarcodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"1234567890"},{prop:"CodeType",label:"条码类型",type:"select",options:[{label:"CODE128",value:"128Auto",compValue:"CODE128"},{label:"CODE39",value:"Code39",compValue:"CODE39"},{label:"EAN13",value:"EAN13",compValue:"EAN13"}],hide:!0,default:"128Auto"},{prop:"AlignJustify",label:"对齐方式",type:"select",options:[{label:"两端对齐",value:0},{label:"左",value:1},{label:"中",value:2},{label:"右",value:3}],hide:!0,default:0},{prop:"LineColor",label:"条形码颜色",type:"color",hide:!0,default:"#000000"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},qrcode:{x:0,y:0,width:10,height:10,rotation:0,allowRotation:!1,FieldName:"",QRCodeValue:"FB-GOLD",QRCodeVersion:7,QRCodeErrorLevel:"Q",QRCodeEncodeMode:"B",QRCodeForeground:"#000000",QRCodeBackground:"transparent",lockAspectRatio:!0,desc:"",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"",layout:"full"},{prop:"QRCodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"FB-1234567890"},{prop:"QRCodeVersion",label:"二维码版本",type:"number",min:1,max:40,hide:!0,default:7},{prop:"QRCodeErrorLevel",label:"纠错级别",type:"select",options:[{label:"L (7%)",value:"L"},{label:"M (15%)",value:"M"},{label:"Q (25%)",value:"Q"},{label:"H (30%)",value:"H"}],hide:!0,default:"Q"},{prop:"QRCodeEncodeMode",label:"编码模式",type:"select",options:[{label:"数字",value:"N"},{label:"二进制或汉语",value:"B"},{label:"英文字母",value:"A"}],hide:!0,default:"B"},{prop:"QRCodeForeground",label:"前景色",type:"color",hide:!0,default:"#000000"},{prop:"QRCodeBackground",label:"背景景色",type:"color",hide:!0,default:"transparent"}]},image:{width:12,height:12,rotation:0,allowRotation:!1,lockAspectRatio:!1,desc:"",propertyPanel:[{prop:"ImageSrc",label:"图片地址",type:"file",accept:"image/*",default:""},{prop:"ScaleMode",label:"图片缩放",type:"select",options:[{label:"原始尺寸",value:1},{label:"居中裁剪",value:2},{label:"填充",value:3}],default:1},{prop:"IsPrint",label:"是否打印",type:"select",options:[{label:"是",value:!0},{label:"否",value:!1}],default:!1},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]}}},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */function Oa(t){"@babel/helpers - typeof";return Oa=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},Oa(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},Vp(t,e)}function sP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tf(t,e,A){return sP()?tf=Reflect.construct:tf=function(n,a,i){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(n,o),l=new s;return i&&Vp(l,i.prototype),l},tf.apply(null,arguments)}function Bn(t){return lP(t)||cP(t)||uP(t)||fP()}function lP(t){if(Array.isArray(t))return Mp(t)}function cP(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uP(t,e){if(t){if(typeof t=="string")return Mp(t,e);var A=Object.prototype.toString.call(t).slice(8,-1);if(A==="Object"&&t.constructor&&(A=t.constructor.name),A==="Map"||A==="Set")return Array.from(t);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return Mp(t,e)}}function Mp(t,e){(e==null||e>t.length)&&(e=t.length);for(var A=0,r=new Array(e);A<e;A++)r[A]=t[A];return r}function fP(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
314
+ `;C.firstChild;)U.appendChild(C.firstChild);C.appendChild(U)}return C.outerHTML}finally{if(!(i&&window[w])){try{f&&f.unmount&&f.unmount()}catch{}g&&g.parentNode&&g.parentNode.removeChild(g)}}}Ro.install=t=>{t.component(Ro.name||"TemplateDesigner",Ro)};const zy=Object.freeze(Object.defineProperty({__proto__:null,default:{text:{width:20,height:2.8,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"Title",label:"标题",default:"",layout:"full",desc:"用于文本开头固定文案的打印,不需要则不填。示例:如果填写“价格:”,则打印时内容为“价格:【字段对应值】”"},{prop:"FieldName",label:"字段名称",type:"select",multiple:!0,optionsKey:"fields",default:"",layout:"full"},{prop:"FieldConnector",label:"字段连接符",type:"text",default:"",layout:"half",desc:"当选择多个字段时,用于连接字段之间的分隔符,如:-、|、空格等,默认使用空格"},{prop:"EndMark",label:"结束符",default:"",layout:"half",desc:'用于文本结尾固定文案的打印,不需要则不填。示例:如果填写"元",则打印时内容为"【字段对应值】元"'},{prop:"Text",label:"测试数据(展示使用,无实际意义)",default:"测试文本",layout:"full"},{prop:"TemplateDisplay",label:"模板显示",type:"select",options:[{label:"测试数据",value:"text"},{label:"字段名称",value:"fieldName"}],default:"text",layout:"half",desc:"控制模板中显示的内容:字段名称显示字段名,测试数据显示测试值,仅用于模板展示,不会影响实际打印"},{prop:"FontName",label:"字体名称",type:"select",desc:"注意:选择的字体需要计算机中安装有对应字体才有效",options:[{label:"黑体",value:"黑体",cssValue:"SimHei"},{label:"楷体",value:"楷体",cssValue:"KaiTi"},{label:"宋体",value:"宋体",cssValue:"SimSun"},{label:"隶书",value:"隶书",cssValue:"LiSu"},{label:"缅语Arial",value:"Arial",cssValue:"Arial"},{label:"缅语Segoe UI",value:"Segoe UI",cssValue:"Segoe UI"}],default:"黑体",layout:"half"},{prop:"FontSize",label:"字体大小",type:"number",min:1,max:100,default:8,layout:"half"},{prop:"FontColor",label:"字体颜色",type:"color",hide:!0,default:"#000000",layout:"half"},{prop:"Bold",label:"字体加粗",type:"select",options:[{label:"加粗",value:1},{label:"不加粗",value:0}],default:0,layout:"half"},{prop:"Italic",label:"是否斜体",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,layout:"half"},{prop:"Underline",label:"下划线",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,hide:!0},{prop:"Alignment",label:"对齐方式",type:"select",options:[{label:"居左",value:1},{label:"居中",value:2},{label:"居右",value:3}],default:2},{prop:"TextWrap",label:"文本换行",type:"select",desc:"可预知的内容尽量不换行,避免因为换行导致打印效果不佳",options:[{label:"换行",value:1},{label:"不换行",value:2}],default:2},{prop:"HOrient",label:"水平锁定",type:"select",options:[{label:"无",value:0},{label:"左边距锁定",value:1},{label:"右边距锁定",value:2},{label:"水平居中",value:3}],hide:!0,default:0},{prop:"VOrient",label:"垂直锁定",type:"select",options:[{label:"无",value:0},{label:"上边距锁定",value:1},{label:"下边距锁定",value:2},{label:"垂直居中",value:3}],hide:!0,default:0},{prop:"PenWidth",label:"线宽",type:"number",min:0,hide:!0,default:0},{prop:"PenStyle",label:"线型",type:"select",hide:!0,options:[{label:"实线",value:0},{label:"破折线",value:1},{label:"点线",value:2},{label:"点划线",value:3},{label:"双点划线",value:4}],default:0},{prop:"Stretch",label:"缩放模式",type:"select",options:[{label:"扩展",value:1},{label:"缩放",value:2}],hide:!0,default:1},{prop:"PreviewOnly",label:"仅预览",type:"select",hide:!0,options:[{label:"是",value:1},{label:"否",value:0}],default:0},{prop:"ReadOnly",label:"只读",type:"select",hide:!0,options:[{label:"是",value:1},{label:"否",value:0}],default:0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},barcode:{width:20,height:6,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"注:<br/>1、条码宽度需要根据实际打印数据的长短来适当设置;如果打印数据较长,条码宽度较短,条码打印出来会识别困难或无法识别。<br/>2、如果标签尺寸较小,就需要控制打印数据的长度,确保在有限的宽度打印出来能够正常识别。",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"goods_sn",layout:"full"},{prop:"BarcodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"1234567890"},{prop:"CodeType",label:"条码类型",type:"select",options:[{label:"CODE128",value:"128Auto",compValue:"CODE128"},{label:"CODE39",value:"Code39",compValue:"CODE39"},{label:"EAN13",value:"EAN13",compValue:"EAN13"}],hide:!0,default:"128Auto"},{prop:"AlignJustify",label:"对齐方式",type:"select",options:[{label:"两端对齐",value:0},{label:"左",value:1},{label:"中",value:2},{label:"右",value:3}],hide:!0,default:0},{prop:"LineColor",label:"条形码颜色",type:"color",hide:!0,default:"#000000"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},qrcode:{width:10,height:10,rotation:0,lockAspectRatio:!0,allowRotation:!1,desc:"",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"",layout:"full"},{prop:"QRCodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"FB-1234567890"},{prop:"QRCodeVersion",label:"二维码版本",type:"number",min:1,max:40,hide:!0,default:7},{prop:"QRCodeErrorLevel",label:"纠错级别",type:"select",options:[{label:"L (7%)",value:"L"},{label:"M (15%)",value:"M"},{label:"Q (25%)",value:"Q"},{label:"H (30%)",value:"H"}],hide:!0,default:"H"},{prop:"QRCodeEncodeMode",label:"编码模式",type:"select",options:[{label:"数字",value:"N"},{label:"二进制或汉语",value:"B"},{label:"英文字母",value:"A"}],hide:!0,default:"B"},{prop:"QRCodeForeground",label:"前景色",type:"color",hide:!0,default:"#000000"},{prop:"QRCodeBackground",label:"背景景色",type:"color",hide:!0,default:"transparent"}]},image:{width:12,height:12,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"ImageSrc",label:"图片地址",type:"file",accept:"image/*",default:""},{prop:"ScaleMode",label:"图片缩放",type:"select",options:[{label:"原始尺寸",value:1},{label:"居中裁剪",value:2},{label:"填充",value:3}],default:1},{prop:"IsPrint",label:"是否打印",type:"select",options:[{label:"是",value:!0},{label:"否",value:!1}],default:!0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},rectangle:{width:15,height:10,rotation:0,lockAspectRatio:!1,allowRotation:!1,desc:"",propertyPanel:[{prop:"LineWidth",type:"select",label:"线宽",default:"0.5",options:[{label:"默认",value:"0.5"},{label:"1px",value:"1"},{label:"2px",value:"2"},{label:"3px",value:"3"},{label:"4px",value:"4"},{label:"5px",value:"5"},{label:"6px",value:"6"},{label:"7px",value:"7"},{label:"8px",value:"8"},{label:"9px",value:"9"},{label:"10px",value:"10"}]},{prop:"LineStyle",type:"select",label:"样式",default:1,options:[{label:"实线",value:1},{label:"虚线",value:2}]},{prop:"BorderRadius",type:"number",label:"圆角",default:0,min:0,step:1,hide:!0},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half",hide:!0}]},line:{width:15,height:.5,rotation:0,lockAspectRatio:!1,allowRotation:!1,x1:0,y1:0,x2:15,y2:0,desc:"",propertyPanel:[{prop:"LineWidth",type:"select",label:"线宽",default:"0.5",options:[{label:"默认",value:"0.5"},{label:"1px",value:"1"},{label:"2px",value:"2"},{label:"3px",value:"3"},{label:"4px",value:"4"},{label:"5px",value:"5"},{label:"6px",value:"6"},{label:"7px",value:"7"},{label:"8px",value:"8"},{label:"9px",value:"9"},{label:"10px",value:"10"}]},{prop:"LineStyle",type:"select",label:"样式",default:1,options:[{label:"实线",value:1},{label:"虚线",value:2}]},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]}}},Symbol.toStringTag,{value:"Module"})),oP=Object.freeze(Object.defineProperty({__proto__:null,default:{text:{x:0,y:0,width:20,height:2.8,rotation:0,allowRotation:!1,Title:"",FieldName:"",Text:"测试文本",FontName:"黑体",FontSize:8,FontColor:"#000000",Bold:0,Italic:0,Underline:0,Alignment:2,TextWrap:1,HOrient:0,VOrient:0,PenWidth:0,PenStyle:0,Stretch:1,PreviewOnly:0,ReadOnly:0,desc:"",propertyPanel:[{prop:"Title",label:"标题",default:"",layout:"full",desc:"设置文本组件的标题内容,用于显示在组件上"},{prop:"FieldName",label:"字段名称",type:"select",multiple:!0,optionsKey:"fields",default:"",layout:"full"},{prop:"FieldConnector",label:"字段连接符",type:"text",default:"",layout:"full",desc:"当选择多个字段时,用于连接字段之间的分隔符,如:-、|、空格等,默认使用空格"},{prop:"Text",label:"测试数据(展示使用,无实际意义)",default:"测试文本",layout:"full"},{prop:"FontName",label:"字体名称",type:"select",desc:"注意:选择的字体需要计算机中安装有对应字体才有效",options:[{label:"黑体",value:"黑体",cssValue:"SimHei"},{label:"楷体",value:"楷体",cssValue:"KaiTi"},{label:"宋体",value:"宋体",cssValue:"SimSun"},{label:"隶书",value:"隶书",cssValue:"LiSu"}],default:"黑体",layout:"half"},{prop:"FontSize",label:"字体大小",type:"number",min:1,max:100,default:8,layout:"half"},{prop:"FontColor",label:"字体颜色",type:"color",hide:!0,default:"#000000",layout:"half"},{prop:"Bold",label:"字体加粗",type:"select",options:[{label:"加粗",value:1},{label:"不加粗",value:0}],default:0,layout:"half"},{prop:"Italic",label:"是否斜体",type:"select",options:[{label:"是",value:1},{label:"否",value:0}],default:0,layout:"half"},{prop:"Alignment",label:"对齐方式",type:"select",options:[{label:"居左",value:1},{label:"居中",value:2},{label:"居右",value:3}],default:2,layout:"half"},{prop:"TextWrap",label:"文本换行",type:"select",options:[{label:"换行",value:1},{label:"不换行",value:2}],default:2,hide:!0,layout:"half"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},barcode:{x:0,y:0,width:20,height:6,rotation:0,allowRotation:!1,FieldName:"goodsSn",BarcodeValue:"1234567890",CodeType:"128Auto",AlignJustify:0,LineColor:"#000000",desc:"注:<br/>1、条码宽度需要根据实际打印数据的长短来适当设置;如果打印数据较长,条码宽度较短,条码打印出来会识别困难或无法识别。<br/>2、如果标签尺寸较小,就需要控制打印数据的长度,确保在有限的宽度打印出来能够正常识别。",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"goods_sn",layout:"full"},{prop:"BarcodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"1234567890"},{prop:"CodeType",label:"条码类型",type:"select",options:[{label:"CODE128",value:"128Auto",compValue:"CODE128"},{label:"CODE39",value:"Code39",compValue:"CODE39"},{label:"EAN13",value:"EAN13",compValue:"EAN13"}],hide:!0,default:"128Auto"},{prop:"AlignJustify",label:"对齐方式",type:"select",options:[{label:"两端对齐",value:0},{label:"左",value:1},{label:"中",value:2},{label:"右",value:3}],hide:!0,default:0},{prop:"LineColor",label:"条形码颜色",type:"color",hide:!0,default:"#000000"},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]},qrcode:{x:0,y:0,width:10,height:10,rotation:0,allowRotation:!1,FieldName:"",QRCodeValue:"FB-GOLD",QRCodeVersion:7,QRCodeErrorLevel:"Q",QRCodeEncodeMode:"B",QRCodeForeground:"#000000",QRCodeBackground:"transparent",lockAspectRatio:!0,desc:"",propertyPanel:[{prop:"FieldName",label:"字段名称",type:"select",optionsKey:"fields",default:"",layout:"full"},{prop:"QRCodeValue",label:"测试数据(展示使用,无实际意义)",type:"text",default:"FB-1234567890"},{prop:"QRCodeVersion",label:"二维码版本",type:"number",min:1,max:40,hide:!0,default:7},{prop:"QRCodeErrorLevel",label:"纠错级别",type:"select",options:[{label:"L (7%)",value:"L"},{label:"M (15%)",value:"M"},{label:"Q (25%)",value:"Q"},{label:"H (30%)",value:"H"}],hide:!0,default:"Q"},{prop:"QRCodeEncodeMode",label:"编码模式",type:"select",options:[{label:"数字",value:"N"},{label:"二进制或汉语",value:"B"},{label:"英文字母",value:"A"}],hide:!0,default:"B"},{prop:"QRCodeForeground",label:"前景色",type:"color",hide:!0,default:"#000000"},{prop:"QRCodeBackground",label:"背景景色",type:"color",hide:!0,default:"transparent"}]},image:{width:12,height:12,rotation:0,allowRotation:!1,lockAspectRatio:!1,desc:"",propertyPanel:[{prop:"ImageSrc",label:"图片地址",type:"file",accept:"image/*",default:""},{prop:"ScaleMode",label:"图片缩放",type:"select",options:[{label:"原始尺寸",value:1},{label:"居中裁剪",value:2},{label:"填充",value:3}],default:1},{prop:"IsPrint",label:"是否打印",type:"select",options:[{label:"是",value:!0},{label:"否",value:!1}],default:!1},{prop:"rotation",label:"旋转角度",type:"select",options:ba,default:0,layout:"half"}]}}},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */function Oa(t){"@babel/helpers - typeof";return Oa=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},Oa(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},Vp(t,e)}function sP(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tf(t,e,A){return sP()?tf=Reflect.construct:tf=function(n,a,i){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(n,o),l=new s;return i&&Vp(l,i.prototype),l},tf.apply(null,arguments)}function Bn(t){return lP(t)||cP(t)||uP(t)||fP()}function lP(t){if(Array.isArray(t))return Mp(t)}function cP(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uP(t,e){if(t){if(typeof t=="string")return Mp(t,e);var A=Object.prototype.toString.call(t).slice(8,-1);if(A==="Object"&&t.constructor&&(A=t.constructor.name),A==="Map"||A==="Set")return Array.from(t);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return Mp(t,e)}}function Mp(t,e){(e==null||e>t.length)&&(e=t.length);for(var A=0,r=new Array(e);A<e;A++)r[A]=t[A];return r}function fP(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
315
315
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var hP=Object.hasOwnProperty,Yy=Object.setPrototypeOf,dP=Object.isFrozen,pP=Object.getPrototypeOf,gP=Object.getOwnPropertyDescriptor,Br=Object.freeze,en=Object.seal,mP=Object.create,Xy=typeof Reflect<"u"&&Reflect,Af=Xy.apply,Lp=Xy.construct;Af||(Af=function(e,A,r){return e.apply(A,r)}),Br||(Br=function(e){return e}),en||(en=function(e){return e}),Lp||(Lp=function(e,A){return tf(e,Bn(A))});var vP=tn(Array.prototype.forEach),qy=tn(Array.prototype.pop),Bl=tn(Array.prototype.push),rf=tn(String.prototype.toLowerCase),Op=tn(String.prototype.toString),$y=tn(String.prototype.match),wn=tn(String.prototype.replace),BP=tn(String.prototype.indexOf),wP=tn(String.prototype.trim),er=tn(RegExp.prototype.test),kp=yP(TypeError);function tn(t){return function(e){for(var A=arguments.length,r=new Array(A>1?A-1:0),n=1;n<A;n++)r[n-1]=arguments[n];return Af(t,e,r)}}function yP(t){return function(){for(var e=arguments.length,A=new Array(e),r=0;r<e;r++)A[r]=arguments[r];return Lp(t,A)}}function xt(t,e,A){var r;A=(r=A)!==null&&r!==void 0?r:rf,Yy&&Yy(t,null);for(var n=e.length;n--;){var a=e[n];if(typeof a=="string"){var i=A(a);i!==a&&(dP(e)||(e[n]=i),a=i)}t[a]=!0}return t}function Ci(t){var e=mP(null),A;for(A in t)Af(hP,t,[A])===!0&&(e[A]=t[A]);return e}function nf(t,e){for(;t!==null;){var A=gP(t,e);if(A){if(A.get)return tn(A.get);if(typeof A.value=="function")return tn(A.value)}t=pP(t)}function r(n){return console.warn("fallback value for",n),null}return r}var e5=Br(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Hp=Br(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Dp=Br(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),bP=Br(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Pp=Br(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),CP=Br(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),t5=Br(["#text"]),A5=Br(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Wp=Br(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),r5=Br(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),af=Br(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),EP=en(/\{\{[\w\W]*|[\w\W]*\}\}/gm),UP=en(/<%[\w\W]*|[\w\W]*%>/gm),FP=en(/\${[\w\W]*}/gm),NP=en(/^data-[\-\w.\u00B7-\uFFFF]+$/),QP=en(/^aria-[\-\w]+$/),SP=en(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),TP=en(/^(?:\w+script|data):/i),xP=en(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),RP=en(/^html$/i),IP=en(/^[a-z][.\w]*(-[.\w]+)+$/i),VP=function(){return typeof window>"u"?null:window},MP=function(e,A){if(Oa(e)!=="object"||typeof e.createPolicy!="function")return null;var r=null,n="data-tt-policy-suffix";A.currentScript&&A.currentScript.hasAttribute(n)&&(r=A.currentScript.getAttribute(n));var a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:function(o){return o},createScriptURL:function(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function n5(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:VP(),e=function(oe){return n5(oe)};if(e.version="2.5.8",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var A=t.document,r=t.document,n=t.DocumentFragment,a=t.HTMLTemplateElement,i=t.Node,o=t.Element,s=t.NodeFilter,l=t.NamedNodeMap,u=l===void 0?t.NamedNodeMap||t.MozNamedAttrMap:l,d=t.HTMLFormElement,g=t.DOMParser,f=t.trustedTypes,w=o.prototype,v=nf(w,"cloneNode"),C=nf(w,"nextSibling"),B=nf(w,"childNodes"),y=nf(w,"parentNode");if(typeof a=="function"){var U=r.createElement("template");U.content&&U.content.ownerDocument&&(r=U.content.ownerDocument)}var Q=MP(f,A),R=Q?Q.createHTML(""):"",V=r,I=V.implementation,L=V.createNodeIterator,D=V.createDocumentFragment,P=V.getElementsByTagName,S=A.importNode,F={};try{F=Ci(r).documentMode?r.documentMode:{}}catch{}var O={};e.isSupported=typeof y=="function"&&I&&I.createHTMLDocument!==void 0&&F!==9;var W=EP,j=UP,z=FP,q=NP,Y=QP,Ae=TP,ee=xP,ce=IP,N=SP,H=null,J=xt({},[].concat(Bn(e5),Bn(Hp),Bn(Dp),Bn(Pp),Bn(t5))),G=null,ne=xt({},[].concat(Bn(A5),Bn(Wp),Bn(r5),Bn(af))),ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),he=null,ve=null,Le=!0,xe=!0,De=!1,Re=!0,Pe=!1,me=!0,X=!1,ut=!1,Ke=!1,Fe=!1,Se=!1,ke=!1,Oe=!0,We=!1,qe="user-content-",ot=!0,rt=!1,ft={},dt=null,tt=xt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),pt=null,He=xt({},["audio","video","img","source","image","track"]),Mt=null,Et=xt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),gA="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",Tt="http://www.w3.org/1999/xhtml",AA=Tt,Qt=!1,_A=null,Dt=xt({},[gA,Ut,Tt],Op),oA,Jt=["application/xhtml+xml","text/html"],re="text/html",te,Be=null,At=r.createElement("form"),it=function(oe){return oe instanceof RegExp||oe instanceof Function},ze=function(oe){Be&&Be===oe||((!oe||Oa(oe)!=="object")&&(oe={}),oe=Ci(oe),oA=Jt.indexOf(oe.PARSER_MEDIA_TYPE)===-1?oA=re:oA=oe.PARSER_MEDIA_TYPE,te=oA==="application/xhtml+xml"?Op:rf,H="ALLOWED_TAGS"in oe?xt({},oe.ALLOWED_TAGS,te):J,G="ALLOWED_ATTR"in oe?xt({},oe.ALLOWED_ATTR,te):ne,_A="ALLOWED_NAMESPACES"in oe?xt({},oe.ALLOWED_NAMESPACES,Op):Dt,Mt="ADD_URI_SAFE_ATTR"in oe?xt(Ci(Et),oe.ADD_URI_SAFE_ATTR,te):Et,pt="ADD_DATA_URI_TAGS"in oe?xt(Ci(He),oe.ADD_DATA_URI_TAGS,te):He,dt="FORBID_CONTENTS"in oe?xt({},oe.FORBID_CONTENTS,te):tt,he="FORBID_TAGS"in oe?xt({},oe.FORBID_TAGS,te):{},ve="FORBID_ATTR"in oe?xt({},oe.FORBID_ATTR,te):{},ft="USE_PROFILES"in oe?oe.USE_PROFILES:!1,Le=oe.ALLOW_ARIA_ATTR!==!1,xe=oe.ALLOW_DATA_ATTR!==!1,De=oe.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=oe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Pe=oe.SAFE_FOR_TEMPLATES||!1,me=oe.SAFE_FOR_XML!==!1,X=oe.WHOLE_DOCUMENT||!1,Fe=oe.RETURN_DOM||!1,Se=oe.RETURN_DOM_FRAGMENT||!1,ke=oe.RETURN_TRUSTED_TYPE||!1,Ke=oe.FORCE_BODY||!1,Oe=oe.SANITIZE_DOM!==!1,We=oe.SANITIZE_NAMED_PROPS||!1,ot=oe.KEEP_CONTENT!==!1,rt=oe.IN_PLACE||!1,N=oe.ALLOWED_URI_REGEXP||N,AA=oe.NAMESPACE||Tt,ae=oe.CUSTOM_ELEMENT_HANDLING||{},oe.CUSTOM_ELEMENT_HANDLING&&it(oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ae.tagNameCheck=oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&it(oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ae.attributeNameCheck=oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&typeof oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ae.allowCustomizedBuiltInElements=oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(xe=!1),Se&&(Fe=!0),ft&&(H=xt({},Bn(t5)),G=[],ft.html===!0&&(xt(H,e5),xt(G,A5)),ft.svg===!0&&(xt(H,Hp),xt(G,Wp),xt(G,af)),ft.svgFilters===!0&&(xt(H,Dp),xt(G,Wp),xt(G,af)),ft.mathMl===!0&&(xt(H,Pp),xt(G,r5),xt(G,af))),oe.ADD_TAGS&&(H===J&&(H=Ci(H)),xt(H,oe.ADD_TAGS,te)),oe.ADD_ATTR&&(G===ne&&(G=Ci(G)),xt(G,oe.ADD_ATTR,te)),oe.ADD_URI_SAFE_ATTR&&xt(Mt,oe.ADD_URI_SAFE_ATTR,te),oe.FORBID_CONTENTS&&(dt===tt&&(dt=Ci(dt)),xt(dt,oe.FORBID_CONTENTS,te)),ot&&(H["#text"]=!0),X&&xt(H,["html","head","body"]),H.table&&(xt(H,["tbody"]),delete he.tbody),Br&&Br(oe),Be=oe)},lt=xt({},["mi","mo","mn","ms","mtext"]),Qe=xt({},["annotation-xml"]),vt=xt({},["title","style","font","a","script"]),je=xt({},Hp);xt(je,Dp),xt(je,bP);var we=xt({},Pp);xt(we,CP);var Bt=function(oe){var Ie=y(oe);(!Ie||!Ie.tagName)&&(Ie={namespaceURI:AA,tagName:"template"});var _e=rf(oe.tagName),Rt=rf(Ie.tagName);return _A[oe.namespaceURI]?oe.namespaceURI===Ut?Ie.namespaceURI===Tt?_e==="svg":Ie.namespaceURI===gA?_e==="svg"&&(Rt==="annotation-xml"||lt[Rt]):!!je[_e]:oe.namespaceURI===gA?Ie.namespaceURI===Tt?_e==="math":Ie.namespaceURI===Ut?_e==="math"&&Qe[Rt]:!!we[_e]:oe.namespaceURI===Tt?Ie.namespaceURI===Ut&&!Qe[Rt]||Ie.namespaceURI===gA&&!lt[Rt]?!1:!we[_e]&&(vt[_e]||!je[_e]):!!(oA==="application/xhtml+xml"&&_A[oe.namespaceURI]):!1},Ye=function(oe){Bl(e.removed,{element:oe});try{oe.parentNode.removeChild(oe)}catch{try{oe.outerHTML=R}catch{oe.remove()}}},Ft=function(oe,Ie){try{Bl(e.removed,{attribute:Ie.getAttributeNode(oe),from:Ie})}catch{Bl(e.removed,{attribute:null,from:Ie})}if(Ie.removeAttribute(oe),oe==="is"&&!G[oe])if(Fe||Se)try{Ye(Ie)}catch{}else try{Ie.setAttribute(oe,"")}catch{}},Pt=function(oe){var Ie,_e;if(Ke)oe="<remove></remove>"+oe;else{var Rt=$y(oe,/^[\r\n\t ]+/);_e=Rt&&Rt[0]}oA==="application/xhtml+xml"&&AA===Tt&&(oe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+oe+"</body></html>");var EA=Q?Q.createHTML(oe):oe;if(AA===Tt)try{Ie=new g().parseFromString(EA,oA)}catch{}if(!Ie||!Ie.documentElement){Ie=I.createDocument(AA,"template",null);try{Ie.documentElement.innerHTML=Qt?R:EA}catch{}}var lA=Ie.body||Ie.documentElement;return oe&&_e&&lA.insertBefore(r.createTextNode(_e),lA.childNodes[0]||null),AA===Tt?P.call(Ie,X?"html":"body")[0]:X?Ie.documentElement:lA},Ht=function(oe){return L.call(oe.ownerDocument||oe,oe,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null,!1)},Wt=function(oe){return oe instanceof d&&(typeof oe.nodeName!="string"||typeof oe.textContent!="string"||typeof oe.removeChild!="function"||!(oe.attributes instanceof u)||typeof oe.removeAttribute!="function"||typeof oe.setAttribute!="function"||typeof oe.namespaceURI!="string"||typeof oe.insertBefore!="function"||typeof oe.hasChildNodes!="function")},$t=function(oe){return Oa(i)==="object"?oe instanceof i:oe&&Oa(oe)==="object"&&typeof oe.nodeType=="number"&&typeof oe.nodeName=="string"},sA=function(oe,Ie,_e){O[oe]&&vP(O[oe],function(Rt){Rt.call(e,Ie,_e,Be)})},dr=function(oe){var Ie;if(sA("beforeSanitizeElements",oe,null),Wt(oe)||er(/[\u0080-\uFFFF]/,oe.nodeName))return Ye(oe),!0;var _e=te(oe.nodeName);if(sA("uponSanitizeElement",oe,{tagName:_e,allowedTags:H}),oe.hasChildNodes()&&!$t(oe.firstElementChild)&&(!$t(oe.content)||!$t(oe.content.firstElementChild))&&er(/<[/\w]/g,oe.innerHTML)&&er(/<[/\w]/g,oe.textContent)||_e==="select"&&er(/<template/i,oe.innerHTML)||oe.nodeType===7||me&&oe.nodeType===8&&er(/<[/\w]/g,oe.data))return Ye(oe),!0;if(!H[_e]||he[_e]){if(!he[_e]&&bA(_e)&&(ae.tagNameCheck instanceof RegExp&&er(ae.tagNameCheck,_e)||ae.tagNameCheck instanceof Function&&ae.tagNameCheck(_e)))return!1;if(ot&&!dt[_e]){var Rt=y(oe)||oe.parentNode,EA=B(oe)||oe.childNodes;if(EA&&Rt)for(var lA=EA.length,hA=lA-1;hA>=0;--hA){var xr=v(EA[hA],!0);xr.__removalCount=(oe.__removalCount||0)+1,Rt.insertBefore(xr,C(oe))}}return Ye(oe),!0}return oe instanceof o&&!Bt(oe)||(_e==="noscript"||_e==="noembed"||_e==="noframes")&&er(/<\/no(script|embed|frames)/i,oe.innerHTML)?(Ye(oe),!0):(Pe&&oe.nodeType===3&&(Ie=oe.textContent,Ie=wn(Ie,W," "),Ie=wn(Ie,j," "),Ie=wn(Ie,z," "),oe.textContent!==Ie&&(Bl(e.removed,{element:oe.cloneNode()}),oe.textContent=Ie)),sA("afterSanitizeElements",oe,null),!1)},Yt=function(oe,Ie,_e){if(Oe&&(Ie==="id"||Ie==="name")&&(_e in r||_e in At))return!1;if(!(xe&&!ve[Ie]&&er(q,Ie))){if(!(Le&&er(Y,Ie))){if(!G[Ie]||ve[Ie]){if(!(bA(oe)&&(ae.tagNameCheck instanceof RegExp&&er(ae.tagNameCheck,oe)||ae.tagNameCheck instanceof Function&&ae.tagNameCheck(oe))&&(ae.attributeNameCheck instanceof RegExp&&er(ae.attributeNameCheck,Ie)||ae.attributeNameCheck instanceof Function&&ae.attributeNameCheck(Ie))||Ie==="is"&&ae.allowCustomizedBuiltInElements&&(ae.tagNameCheck instanceof RegExp&&er(ae.tagNameCheck,_e)||ae.tagNameCheck instanceof Function&&ae.tagNameCheck(_e))))return!1}else if(!Mt[Ie]){if(!er(N,wn(_e,ee,""))){if(!((Ie==="src"||Ie==="xlink:href"||Ie==="href")&&oe!=="script"&&BP(_e,"data:")===0&&pt[oe])){if(!(De&&!er(Ae,wn(_e,ee,"")))){if(_e)return!1}}}}}}return!0},bA=function(oe){return oe!=="annotation-xml"&&$y(oe,ce)},CA=function(oe){var Ie,_e,Rt,EA;sA("beforeSanitizeAttributes",oe,null);var lA=oe.attributes;if(!(!lA||Wt(oe))){var hA={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G};for(EA=lA.length;EA--;){Ie=lA[EA];var xr=Ie,cA=xr.name,Oi=xr.namespaceURI;if(_e=cA==="value"?Ie.value:wP(Ie.value),Rt=te(cA),hA.attrName=Rt,hA.attrValue=_e,hA.keepAttr=!0,hA.forceKeepAttr=void 0,sA("uponSanitizeAttribute",oe,hA),_e=hA.attrValue,!hA.forceKeepAttr&&(Ft(cA,oe),!!hA.keepAttr)){if(!Re&&er(/\/>/i,_e)){Ft(cA,oe);continue}Pe&&(_e=wn(_e,W," "),_e=wn(_e,j," "),_e=wn(_e,z," "));var ki=te(oe.nodeName);if(Yt(ki,Rt,_e)){if(We&&(Rt==="id"||Rt==="name")&&(Ft(cA,oe),_e=qe+_e),me&&er(/((--!?|])>)|<\/(style|title)/i,_e)){Ft(cA,oe);continue}if(Q&&Oa(f)==="object"&&typeof f.getAttributeType=="function"&&!Oi)switch(f.getAttributeType(ki,Rt)){case"TrustedHTML":{_e=Q.createHTML(_e);break}case"TrustedScriptURL":{_e=Q.createScriptURL(_e);break}}try{Oi?oe.setAttributeNS(Oi,cA,_e):oe.setAttribute(cA,_e),Wt(oe)?Ye(oe):qy(e.removed)}catch{}}}}sA("afterSanitizeAttributes",oe,null)}},_r=function nt(oe){var Ie,_e=Ht(oe);for(sA("beforeSanitizeShadowDOM",oe,null);Ie=_e.nextNode();)sA("uponSanitizeShadowNode",Ie,null),dr(Ie),CA(Ie),Ie.content instanceof n&&nt(Ie.content);sA("afterSanitizeShadowDOM",oe,null)};return e.sanitize=function(nt){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ie,_e,Rt,EA,lA;if(Qt=!nt,Qt&&(nt="<!-->"),typeof nt!="string"&&!$t(nt))if(typeof nt.toString=="function"){if(nt=nt.toString(),typeof nt!="string")throw kp("dirty is not a string, aborting")}else throw kp("toString is not a function");if(!e.isSupported){if(Oa(t.toStaticHTML)==="object"||typeof t.toStaticHTML=="function"){if(typeof nt=="string")return t.toStaticHTML(nt);if($t(nt))return t.toStaticHTML(nt.outerHTML)}return nt}if(ut||ze(oe),e.removed=[],typeof nt=="string"&&(rt=!1),rt){if(nt.nodeName){var hA=te(nt.nodeName);if(!H[hA]||he[hA])throw kp("root node is forbidden and cannot be sanitized in-place")}}else if(nt instanceof i)Ie=Pt("<!---->"),_e=Ie.ownerDocument.importNode(nt,!0),_e.nodeType===1&&_e.nodeName==="BODY"||_e.nodeName==="HTML"?Ie=_e:Ie.appendChild(_e);else{if(!Fe&&!Pe&&!X&&nt.indexOf("<")===-1)return Q&&ke?Q.createHTML(nt):nt;if(Ie=Pt(nt),!Ie)return Fe?null:ke?R:""}Ie&&Ke&&Ye(Ie.firstChild);for(var xr=Ht(rt?nt:Ie);Rt=xr.nextNode();)Rt.nodeType===3&&Rt===EA||(dr(Rt),CA(Rt),Rt.content instanceof n&&_r(Rt.content),EA=Rt);if(EA=null,rt)return nt;if(Fe){if(Se)for(lA=D.call(Ie.ownerDocument);Ie.firstChild;)lA.appendChild(Ie.firstChild);else lA=Ie;return(G.shadowroot||G.shadowrootmod)&&(lA=S.call(A,lA,!0)),lA}var cA=X?Ie.outerHTML:Ie.innerHTML;return X&&H["!doctype"]&&Ie.ownerDocument&&Ie.ownerDocument.doctype&&Ie.ownerDocument.doctype.name&&er(RP,Ie.ownerDocument.doctype.name)&&(cA="<!DOCTYPE "+Ie.ownerDocument.doctype.name+`>
316
316
  `+cA),Pe&&(cA=wn(cA,W," "),cA=wn(cA,j," "),cA=wn(cA,z," ")),Q&&ke?Q.createHTML(cA):cA},e.setConfig=function(nt){ze(nt),ut=!0},e.clearConfig=function(){Be=null,ut=!1},e.isValidAttribute=function(nt,oe,Ie){Be||ze({});var _e=te(nt),Rt=te(oe);return Yt(_e,Rt,Ie)},e.addHook=function(nt,oe){typeof oe=="function"&&(O[nt]=O[nt]||[],Bl(O[nt],oe))},e.removeHook=function(nt){if(O[nt])return qy(O[nt])},e.removeHooks=function(nt){O[nt]&&(O[nt]=[])},e.removeAllHooks=function(){O={}},e}var LP=n5();const OP=Object.freeze(Object.defineProperty({__proto__:null,default:LP},Symbol.toStringTag,{value:"Module"}));var wl=function(t){return t&&t.Math===Math&&t},fA=wl(typeof globalThis=="object"&&globalThis)||wl(typeof window=="object"&&window)||wl(typeof self=="object"&&self)||wl(typeof qi=="object"&&qi)||wl(typeof qi=="object"&&qi)||function(){return this}()||Function("return this")(),yl={},BA=function(t){try{return!!t()}catch{return!0}},kP=BA,yn=!kP(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),HP=BA,of=!HP(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),DP=of,sf=Function.prototype.call,tr=DP?sf.bind(sf):function(){return sf.apply(sf,arguments)},a5={},i5={}.propertyIsEnumerable,o5=Object.getOwnPropertyDescriptor,PP=o5&&!i5.call({1:2},1);a5.f=PP?function(e){var A=o5(this,e);return!!A&&A.enumerable}:i5;var _p=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},s5=of,l5=Function.prototype,Zp=l5.call,WP=s5&&l5.bind.bind(Zp,Zp),wA=s5?WP:function(t){return function(){return Zp.apply(t,arguments)}},c5=wA,_P=c5({}.toString),ZP=c5("".slice),Ei=function(t){return ZP(_P(t),8,-1)},jP=wA,JP=BA,KP=Ei,jp=Object,GP=jP("".split),u5=JP(function(){return!jp("z").propertyIsEnumerable(0)})?function(t){return KP(t)==="String"?GP(t,""):jp(t)}:jp,lf=function(t){return t==null},zP=lf,YP=TypeError,bn=function(t){if(zP(t))throw new YP("Can't call method on "+t);return t},XP=u5,qP=bn,bl=function(t){return XP(qP(t))},Jp=typeof document=="object"&&document.all,RA=typeof Jp>"u"&&Jp!==void 0?function(t){return typeof t=="function"||t===Jp}:function(t){return typeof t=="function"},$P=RA,Sr=function(t){return typeof t=="object"?t!==null:$P(t)},Kp=fA,eW=RA,tW=function(t){return eW(t)?t:void 0},Ui=function(t,e){return arguments.length<2?tW(Kp[t]):Kp[t]&&Kp[t][e]},AW=wA,cf=AW({}.isPrototypeOf),rW=fA,f5=rW.navigator,h5=f5&&f5.userAgent,Cl=h5?String(h5):"",d5=fA,Gp=Cl,p5=d5.process,g5=d5.Deno,m5=p5&&p5.versions||g5&&g5.version,v5=m5&&m5.v8,Cn,uf;v5&&(Cn=v5.split("."),uf=Cn[0]>0&&Cn[0]<4?1:+(Cn[0]+Cn[1])),!uf&&Gp&&(Cn=Gp.match(/Edge\/(\d+)/),(!Cn||Cn[1]>=74)&&(Cn=Gp.match(/Chrome\/(\d+)/),Cn&&(uf=+Cn[1])));var zp=uf,B5=zp,nW=BA,aW=fA,iW=aW.String,w5=!!Object.getOwnPropertySymbols&&!nW(function(){var t=Symbol("symbol detection");return!iW(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&B5&&B5<41}),oW=w5,y5=oW&&!Symbol.sham&&typeof Symbol.iterator=="symbol",sW=Ui,lW=RA,cW=cf,uW=y5,fW=Object,b5=uW?function(t){return typeof t=="symbol"}:function(t){var e=sW("Symbol");return lW(e)&&cW(e.prototype,fW(t))},hW=String,ff=function(t){try{return hW(t)}catch{return"Object"}},dW=RA,pW=ff,gW=TypeError,ea=function(t){if(dW(t))return t;throw new gW(pW(t)+" is not a function")},mW=ea,vW=lf,Wo=function(t,e){var A=t[e];return vW(A)?void 0:mW(A)},Yp=tr,Xp=RA,qp=Sr,BW=TypeError,wW=function(t,e){var A,r;if(e==="string"&&Xp(A=t.toString)&&!qp(r=Yp(A,t))||Xp(A=t.valueOf)&&!qp(r=Yp(A,t))||e!=="string"&&Xp(A=t.toString)&&!qp(r=Yp(A,t)))return r;throw new BW("Can't convert object to primitive value")},C5={exports:{}},E5=fA,yW=Object.defineProperty,$p=function(t,e){try{yW(E5,t,{value:e,configurable:!0,writable:!0})}catch{E5[t]=e}return e},bW=fA,CW=$p,U5="__core-js_shared__",F5=C5.exports=bW[U5]||CW(U5,{});(F5.versions||(F5.versions=[])).push({version:"3.45.1",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"});var e1=C5.exports,N5=e1,t1=function(t,e){return N5[t]||(N5[t]=e||{})},EW=bn,UW=Object,hf=function(t){return UW(EW(t))},FW=wA,NW=hf,QW=FW({}.hasOwnProperty),En=Object.hasOwn||function(e,A){return QW(NW(e),A)},SW=wA,TW=0,xW=Math.random(),RW=SW(1.1.toString),Q5=function(t){return"Symbol("+(t===void 0?"":t)+")_"+RW(++TW+xW,36)},IW=fA,VW=t1,S5=En,MW=Q5,LW=w5,OW=y5,_o=IW.Symbol,A1=VW("wks"),kW=OW?_o.for||_o:_o&&_o.withoutSetter||MW,GA=function(t){return S5(A1,t)||(A1[t]=LW&&S5(_o,t)?_o[t]:kW("Symbol."+t)),A1[t]},HW=tr,T5=Sr,x5=b5,DW=Wo,PW=wW,WW=GA,_W=TypeError,ZW=WW("toPrimitive"),jW=function(t,e){if(!T5(t)||x5(t))return t;var A=DW(t,ZW),r;if(A){if(e===void 0&&(e="default"),r=HW(A,t,e),!T5(r)||x5(r))return r;throw new _W("Can't convert object to primitive value")}return e===void 0&&(e="number"),PW(t,e)},JW=jW,KW=b5,R5=function(t){var e=JW(t,"string");return KW(e)?e:e+""},GW=fA,I5=Sr,r1=GW.document,zW=I5(r1)&&I5(r1.createElement),df=function(t){return zW?r1.createElement(t):{}},YW=yn,XW=BA,qW=df,V5=!YW&&!XW(function(){return Object.defineProperty(qW("div"),"a",{get:function(){return 7}}).a!==7}),$W=yn,e_=tr,t_=a5,A_=_p,r_=bl,n_=R5,a_=En,i_=V5,M5=Object.getOwnPropertyDescriptor;yl.f=$W?M5:function(e,A){if(e=r_(e),A=n_(A),i_)try{return M5(e,A)}catch{}if(a_(e,A))return A_(!e_(t_.f,e,A),e[A])};var ta={},o_=yn,s_=BA,L5=o_&&s_(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),l_=Sr,c_=String,u_=TypeError,wr=function(t){if(l_(t))return t;throw new u_(c_(t)+" is not an object")},f_=yn,h_=V5,d_=L5,pf=wr,O5=R5,p_=TypeError,n1=Object.defineProperty,g_=Object.getOwnPropertyDescriptor,a1="enumerable",i1="configurable",o1="writable";ta.f=f_?d_?function(e,A,r){if(pf(e),A=O5(A),pf(r),typeof e=="function"&&A==="prototype"&&"value"in r&&o1 in r&&!r[o1]){var n=g_(e,A);n&&n[o1]&&(e[A]=r.value,r={configurable:i1 in r?r[i1]:n[i1],enumerable:a1 in r?r[a1]:n[a1],writable:!1})}return n1(e,A,r)}:n1:function(e,A,r){if(pf(e),A=O5(A),pf(r),h_)try{return n1(e,A,r)}catch{}if("get"in r||"set"in r)throw new p_("Accessors not supported");return"value"in r&&(e[A]=r.value),e};var m_=yn,v_=ta,B_=_p,El=m_?function(t,e,A){return v_.f(t,e,B_(1,A))}:function(t,e,A){return t[e]=A,t},k5={exports:{}},s1=yn,w_=En,H5=Function.prototype,y_=s1&&Object.getOwnPropertyDescriptor,l1=w_(H5,"name"),b_=l1&&(function(){}).name==="something",C_=l1&&(!s1||s1&&y_(H5,"name").configurable),gf={EXISTS:l1,PROPER:b_,CONFIGURABLE:C_},E_=wA,U_=RA,c1=e1,F_=E_(Function.toString);U_(c1.inspectSource)||(c1.inspectSource=function(t){return F_(t)});var u1=c1.inspectSource,N_=fA,Q_=RA,D5=N_.WeakMap,S_=Q_(D5)&&/native code/.test(String(D5)),T_=t1,x_=Q5,P5=T_("keys"),f1=function(t){return P5[t]||(P5[t]=x_(t))},h1={},R_=S_,W5=fA,I_=Sr,V_=El,d1=En,p1=e1,M_=f1,L_=h1,_5="Object already initialized",g1=W5.TypeError,O_=W5.WeakMap,mf,Ul,vf,k_=function(t){return vf(t)?Ul(t):mf(t,{})},H_=function(t){return function(e){var A;if(!I_(e)||(A=Ul(e)).type!==t)throw new g1("Incompatible receiver, "+t+" required");return A}};if(R_||p1.state){var Pn=p1.state||(p1.state=new O_);Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,mf=function(t,e){if(Pn.has(t))throw new g1(_5);return e.facade=t,Pn.set(t,e),e},Ul=function(t){return Pn.get(t)||{}},vf=function(t){return Pn.has(t)}}else{var Zo=M_("state");L_[Zo]=!0,mf=function(t,e){if(d1(t,Zo))throw new g1(_5);return e.facade=t,V_(t,Zo,e),e},Ul=function(t){return d1(t,Zo)?t[Zo]:{}},vf=function(t){return d1(t,Zo)}}var Bf={set:mf,get:Ul,has:vf,enforce:k_,getterFor:H_},m1=wA,D_=BA,P_=RA,wf=En,v1=yn,W_=gf.CONFIGURABLE,__=u1,Z5=Bf,Z_=Z5.enforce,j_=Z5.get,j5=String,yf=Object.defineProperty,J_=m1("".slice),K_=m1("".replace),G_=m1([].join),z_=v1&&!D_(function(){return yf(function(){},"length",{value:8}).length!==8}),Y_=String(String).split("String"),X_=k5.exports=function(t,e,A){J_(j5(e),0,7)==="Symbol("&&(e="["+K_(j5(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(e="get "+e),A&&A.setter&&(e="set "+e),(!wf(t,"name")||W_&&t.name!==e)&&(v1?yf(t,"name",{value:e,configurable:!0}):t.name=e),z_&&A&&wf(A,"arity")&&t.length!==A.arity&&yf(t,"length",{value:A.arity});try{A&&wf(A,"constructor")&&A.constructor?v1&&yf(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=Z_(t);return wf(r,"source")||(r.source=G_(Y_,typeof e=="string"?e:"")),t};Function.prototype.toString=X_(function(){return P_(this)&&j_(this).source||__(this)},"toString");var J5=k5.exports,q_=RA,$_=ta,e7=J5,t7=$p,Fi=function(t,e,A,r){r||(r={});var n=r.enumerable,a=r.name!==void 0?r.name:e;if(q_(A)&&e7(A,a,r),r.global)n?t[e]=A:t7(e,A);else{try{r.unsafe?t[e]&&(n=!0):delete t[e]}catch{}n?t[e]=A:$_.f(t,e,{value:A,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},K5={},A7=Math.ceil,r7=Math.floor,n7=Math.trunc||function(e){var A=+e;return(A>0?r7:A7)(A)},a7=n7,bf=function(t){var e=+t;return e!==e||e===0?0:a7(e)},i7=bf,o7=Math.max,s7=Math.min,l7=function(t,e){var A=i7(t);return A<0?o7(A+e,0):s7(A,e)},c7=bf,u7=Math.min,jo=function(t){var e=c7(t);return e>0?u7(e,9007199254740991):0},f7=jo,B1=function(t){return f7(t.length)},h7=bl,d7=l7,p7=B1,G5=function(t){return function(e,A,r){var n=h7(e),a=p7(n);if(a===0)return!t&&-1;var i=d7(r,a),o;if(t&&A!==A){for(;a>i;)if(o=n[i++],o!==o)return!0}else for(;a>i;i++)if((t||i in n)&&n[i]===A)return t||i||0;return!t&&-1}},z5={includes:G5(!0),indexOf:G5(!1)},g7=wA,w1=En,m7=bl,v7=z5.indexOf,B7=h1,Y5=g7([].push),X5=function(t,e){var A=m7(t),r=0,n=[],a;for(a in A)!w1(B7,a)&&w1(A,a)&&Y5(n,a);for(;e.length>r;)w1(A,a=e[r++])&&(~v7(n,a)||Y5(n,a));return n},y1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],w7=X5,y7=y1,b7=y7.concat("length","prototype");K5.f=Object.getOwnPropertyNames||function(e){return w7(e,b7)};var q5={};q5.f=Object.getOwnPropertySymbols;var C7=Ui,E7=wA,U7=K5,F7=q5,N7=wr,Q7=E7([].concat),S7=C7("Reflect","ownKeys")||function(e){var A=U7.f(N7(e)),r=F7.f;return r?Q7(A,r(e)):A},$5=En,T7=S7,x7=yl,R7=ta,I7=function(t,e,A){for(var r=T7(e),n=R7.f,a=x7.f,i=0;i<r.length;i++){var o=r[i];!$5(t,o)&&!(A&&$5(A,o))&&n(t,o,a(e,o))}},V7=BA,M7=RA,L7=/#|\.prototype\./,Fl=function(t,e){var A=k7[O7(t)];return A===D7?!0:A===H7?!1:M7(e)?V7(e):!!e},O7=Fl.normalize=function(t){return String(t).replace(L7,".").toLowerCase()},k7=Fl.data={},H7=Fl.NATIVE="N",D7=Fl.POLYFILL="P",eb=Fl,Cf=fA,P7=yl.f,W7=El,_7=Fi,Z7=$p,j7=I7,J7=eb,yr=function(t,e){var A=t.target,r=t.global,n=t.stat,a,i,o,s,l,u;if(r?i=Cf:n?i=Cf[A]||Z7(A,{}):i=Cf[A]&&Cf[A].prototype,i)for(o in e){if(l=e[o],t.dontCallGetSet?(u=P7(i,o),s=u&&u.value):s=i[o],a=J7(r?o:A+(n?".":"#")+o,t.forced),!a&&s!==void 0){if(typeof l==typeof s)continue;j7(l,s)}(t.sham||s&&s.sham)&&W7(l,"sham",!0),_7(i,o,l,t)}},Nl=fA,K7=Cl,G7=Ei,Ef=function(t){return K7.slice(0,t.length)===t},tb=function(){return Ef("Bun/")?"BUN":Ef("Cloudflare-Workers")?"CLOUDFLARE":Ef("Deno/")?"DENO":Ef("Node.js/")?"NODE":Nl.Bun&&typeof Bun.version=="string"?"BUN":Nl.Deno&&typeof Deno.version=="object"?"DENO":G7(Nl.process)==="process"?"NODE":Nl.window&&Nl.document?"BROWSER":"REST"}(),z7=tb,Uf=z7==="NODE",Y7=fA,X7=Y7,q7=wA,$7=ea,eZ=function(t,e,A){try{return q7($7(Object.getOwnPropertyDescriptor(t,e)[A]))}catch{}},tZ=Sr,AZ=function(t){return tZ(t)||t===null},rZ=AZ,nZ=String,aZ=TypeError,iZ=function(t){if(rZ(t))return t;throw new aZ("Can't set "+nZ(t)+" as a prototype")},oZ=eZ,sZ=Sr,lZ=bn,cZ=iZ,Ab=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},A;try{A=oZ(Object.prototype,"__proto__","set"),A(e,[]),t=e instanceof Array}catch{}return function(n,a){return lZ(n),cZ(a),sZ(n)&&(t?A(n,a):n.__proto__=a),n}}():void 0),uZ=ta.f,fZ=En,hZ=GA,rb=hZ("toStringTag"),Ff=function(t,e,A){t&&!A&&(t=t.prototype),t&&!fZ(t,rb)&&uZ(t,rb,{configurable:!0,value:e})},nb=J5,dZ=ta,pZ=function(t,e,A){return A.get&&nb(A.get,e,{getter:!0}),A.set&&nb(A.set,e,{setter:!0}),dZ.f(t,e,A)},gZ=Ui,mZ=pZ,vZ=GA,BZ=yn,ab=vZ("species"),wZ=function(t){var e=gZ(t);BZ&&e&&!e[ab]&&mZ(e,ab,{configurable:!0,get:function(){return this}})},yZ=cf,bZ=TypeError,CZ=function(t,e){if(yZ(e,t))return t;throw new bZ("Incorrect invocation")},EZ=GA,UZ=EZ("toStringTag"),ib={};ib[UZ]="z";var FZ=String(ib)==="[object z]",NZ=FZ,QZ=RA,Nf=Ei,SZ=GA,TZ=SZ("toStringTag"),xZ=Object,RZ=Nf(function(){return arguments}())==="Arguments",IZ=function(t,e){try{return t[e]}catch{}},b1=NZ?Nf:function(t){var e,A,r;return t===void 0?"Undefined":t===null?"Null":typeof(A=IZ(e=xZ(t),TZ))=="string"?A:RZ?Nf(e):(r=Nf(e))==="Object"&&QZ(e.callee)?"Arguments":r},VZ=wA,MZ=BA,ob=RA,LZ=b1,OZ=Ui,kZ=u1,sb=function(){},lb=OZ("Reflect","construct"),C1=/^\s*(?:class|function)\b/,HZ=VZ(C1.exec),DZ=!C1.test(sb),Ql=function(e){if(!ob(e))return!1;try{return lb(sb,[],e),!0}catch{return!1}},cb=function(e){if(!ob(e))return!1;switch(LZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return DZ||!!HZ(C1,kZ(e))}catch{return!0}};cb.sham=!0;var PZ=!lb||MZ(function(){var t;return Ql(Ql.call)||!Ql(Object)||!Ql(function(){t=!0})||t})?cb:Ql,WZ=PZ,_Z=ff,ZZ=TypeError,jZ=function(t){if(WZ(t))return t;throw new ZZ(_Z(t)+" is not a constructor")},ub=wr,JZ=jZ,KZ=lf,GZ=GA,zZ=GZ("species"),fb=function(t,e){var A=ub(t).constructor,r;return A===void 0||KZ(r=ub(A)[zZ])?e:JZ(r)},YZ=of,hb=Function.prototype,db=hb.apply,pb=hb.call,gb=typeof Reflect=="object"&&Reflect.apply||(YZ?pb.bind(db):function(){return pb.apply(db,arguments)}),XZ=Ei,qZ=wA,Qf=function(t){if(XZ(t)==="Function")return qZ(t)},mb=Qf,$Z=ea,e9=of,t9=mb(mb.bind),E1=function(t,e){return $Z(t),e===void 0?t:e9?t9(t,e):function(){return t.apply(e,arguments)}},A9=Ui,vb=A9("document","documentElement"),r9=wA,n9=r9([].slice),a9=TypeError,i9=function(t,e){if(t<e)throw new a9("Not enough arguments");return t},o9=Cl,Bb=/(?:ipad|iphone|ipod).*applewebkit/i.test(o9),Wr=fA,s9=gb,l9=E1,wb=RA,c9=En,yb=BA,bb=vb,u9=n9,Cb=df,f9=i9,h9=Bb,d9=Uf,U1=Wr.setImmediate,F1=Wr.clearImmediate,p9=Wr.process,N1=Wr.Dispatch,g9=Wr.Function,Eb=Wr.MessageChannel,m9=Wr.String,Q1=0,Sl={},Ub="onreadystatechange",Tl,Ni,S1,T1;yb(function(){Tl=Wr.location});var x1=function(t){if(c9(Sl,t)){var e=Sl[t];delete Sl[t],e()}},R1=function(t){return function(){x1(t)}},Fb=function(t){x1(t.data)},Nb=function(t){Wr.postMessage(m9(t),Tl.protocol+"//"+Tl.host)};(!U1||!F1)&&(U1=function(e){f9(arguments.length,1);var A=wb(e)?e:g9(e),r=u9(arguments,1);return Sl[++Q1]=function(){s9(A,void 0,r)},Ni(Q1),Q1},F1=function(e){delete Sl[e]},d9?Ni=function(t){p9.nextTick(R1(t))}:N1&&N1.now?Ni=function(t){N1.now(R1(t))}:Eb&&!h9?(S1=new Eb,T1=S1.port2,S1.port1.onmessage=Fb,Ni=l9(T1.postMessage,T1)):Wr.addEventListener&&wb(Wr.postMessage)&&!Wr.importScripts&&Tl&&Tl.protocol!=="file:"&&!yb(Nb)?(Ni=Nb,Wr.addEventListener("message",Fb,!1)):Ub in Cb("script")?Ni=function(t){bb.appendChild(Cb("script"))[Ub]=function(){bb.removeChild(this),x1(t)}}:Ni=function(t){setTimeout(R1(t),0)});var Qb={set:U1,clear:F1},Sb=fA,v9=yn,B9=Object.getOwnPropertyDescriptor,w9=function(t){if(!v9)return Sb[t];var e=B9(Sb,t);return e&&e.value},Tb=function(){this.head=null,this.tail=null};Tb.prototype={add:function(t){var e={item:t,next:null},A=this.tail;A?A.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return e===null&&(this.tail=null),t.item}}};var xb=Tb,y9=Cl,b9=/ipad|iphone|ipod/i.test(y9)&&typeof Pebble<"u",C9=Cl,E9=/web0s(?!.*chrome)/i.test(C9),Jo=fA,U9=w9,Rb=E1,I1=Qb.set,F9=xb,N9=Bb,Q9=b9,S9=E9,V1=Uf,Ib=Jo.MutationObserver||Jo.WebKitMutationObserver,Vb=Jo.document,Mb=Jo.process,Sf=Jo.Promise,M1=U9("queueMicrotask"),Ko,L1,O1,Tf,Lb;if(!M1){var xf=new F9,Rf=function(){var t,e;for(V1&&(t=Mb.domain)&&t.exit();e=xf.get();)try{e()}catch(A){throw xf.head&&Ko(),A}t&&t.enter()};!N9&&!V1&&!S9&&Ib&&Vb?(L1=!0,O1=Vb.createTextNode(""),new Ib(Rf).observe(O1,{characterData:!0}),Ko=function(){O1.data=L1=!L1}):!Q9&&Sf&&Sf.resolve?(Tf=Sf.resolve(void 0),Tf.constructor=Sf,Lb=Rb(Tf.then,Tf),Ko=function(){Lb(Rf)}):V1?Ko=function(){Mb.nextTick(Rf)}:(I1=Rb(I1,Jo),Ko=function(){I1(Rf)}),M1=function(t){xf.head||Ko(),xf.add(t)}}var T9=M1,x9=function(t,e){try{arguments.length===1?console.error(t):console.error(t,e)}catch{}},k1=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},R9=fA,If=R9.Promise,I9=fA,xl=If,V9=RA,M9=eb,L9=u1,O9=GA,Ob=tb,H1=zp;xl&&xl.prototype;var k9=O9("species"),D1=!1,kb=V9(I9.PromiseRejectionEvent),H9=M9("Promise",function(){var t=L9(xl),e=t!==String(xl);if(!e&&H1===66)return!0;if(!H1||H1<51||!/native code/.test(t)){var A=new xl(function(a){a(1)}),r=function(a){a(function(){},function(){})},n=A.constructor={};if(n[k9]=r,D1=A.then(function(){})instanceof r,!D1)return!0}return!e&&(Ob==="BROWSER"||Ob==="DENO")&&!kb}),Rl={CONSTRUCTOR:H9,REJECTION_EVENT:kb,SUBCLASSING:D1},Go={},Hb=ea,D9=TypeError,P9=function(t){var e,A;this.promise=new t(function(r,n){if(e!==void 0||A!==void 0)throw new D9("Bad Promise constructor");e=r,A=n}),this.resolve=Hb(e),this.reject=Hb(A)};Go.f=function(t){return new P9(t)};var W9=yr,Vf=Uf,ka=fA,_9=X7,zo=tr,Db=Fi,Pb=Ab,Z9=Ff,j9=wZ,J9=ea,Mf=RA,K9=Sr,G9=CZ,z9=fb,Wb=Qb.set,P1=T9,Y9=x9,X9=k1,q9=xb,_b=Bf,Lf=If,W1=Rl,Zb=Go,Of="Promise",jb=W1.CONSTRUCTOR,$9=W1.REJECTION_EVENT,ej=W1.SUBCLASSING,_1=_b.getterFor(Of),tj=_b.set,Yo=Lf&&Lf.prototype,Qi=Lf,kf=Yo,Jb=ka.TypeError,Z1=ka.document,j1=ka.process,J1=Zb.f,Aj=J1,rj=!!(Z1&&Z1.createEvent&&ka.dispatchEvent),Kb="unhandledrejection",nj="rejectionhandled",Gb=0,zb=1,aj=2,K1=1,Yb=2,Hf,Xb,qb,$b,eC=function(t){var e;return K9(t)&&Mf(e=t.then)?e:!1},tC=function(t,e){var A=e.value,r=e.state===zb,n=r?t.ok:t.fail,a=t.resolve,i=t.reject,o=t.domain,s,l,u;try{n?(r||(e.rejection===Yb&&oj(e),e.rejection=K1),n===!0?s=A:(o&&o.enter(),s=n(A),o&&(o.exit(),u=!0)),s===t.promise?i(new Jb("Promise-chain cycle")):(l=eC(s))?zo(l,s,a,i):a(s)):i(A)}catch(d){o&&!u&&o.exit(),i(d)}},AC=function(t,e){t.notified||(t.notified=!0,P1(function(){for(var A=t.reactions,r;r=A.get();)tC(r,t);t.notified=!1,e&&!t.rejection&&ij(t)}))},rC=function(t,e,A){var r,n;rj?(r=Z1.createEvent("Event"),r.promise=e,r.reason=A,r.initEvent(t,!1,!0),ka.dispatchEvent(r)):r={promise:e,reason:A},!$9&&(n=ka["on"+t])?n(r):t===Kb&&Y9("Unhandled promise rejection",A)},ij=function(t){zo(Wb,ka,function(){var e=t.facade,A=t.value,r=nC(t),n;if(r&&(n=X9(function(){Vf?j1.emit("unhandledRejection",A,e):rC(Kb,e,A)}),t.rejection=Vf||nC(t)?Yb:K1,n.error))throw n.value})},nC=function(t){return t.rejection!==K1&&!t.parent},oj=function(t){zo(Wb,ka,function(){var e=t.facade;Vf?j1.emit("rejectionHandled",e):rC(nj,e,t.value)})},Xo=function(t,e,A){return function(r){t(e,r,A)}},qo=function(t,e,A){t.done||(t.done=!0,A&&(t=A),t.value=e,t.state=aj,AC(t,!0))},G1=function(t,e,A){if(!t.done){t.done=!0,A&&(t=A);try{if(t.facade===e)throw new Jb("Promise can't be resolved itself");var r=eC(e);r?P1(function(){var n={done:!1};try{zo(r,e,Xo(G1,n,t),Xo(qo,n,t))}catch(a){qo(n,a,t)}}):(t.value=e,t.state=zb,AC(t,!1))}catch(n){qo({done:!1},n,t)}}};if(jb&&(Qi=function(e){G9(this,kf),J9(e),zo(Hf,this);var A=_1(this);try{e(Xo(G1,A),Xo(qo,A))}catch(r){qo(A,r)}},kf=Qi.prototype,Hf=function(e){tj(this,{type:Of,done:!1,notified:!1,parent:!1,reactions:new q9,rejection:!1,state:Gb,value:null})},Hf.prototype=Db(kf,"then",function(e,A){var r=_1(this),n=J1(z9(this,Qi));return r.parent=!0,n.ok=Mf(e)?e:!0,n.fail=Mf(A)&&A,n.domain=Vf?j1.domain:void 0,r.state===Gb?r.reactions.add(n):P1(function(){tC(n,r)}),n.promise}),Xb=function(){var t=new Hf,e=_1(t);this.promise=t,this.resolve=Xo(G1,e),this.reject=Xo(qo,e)},Zb.f=J1=function(t){return t===Qi||t===qb?new Xb(t):Aj(t)},Mf(Lf)&&Yo!==Object.prototype)){$b=Yo.then,ej||Db(Yo,"then",function(e,A){var r=this;return new Qi(function(n,a){zo($b,r,n,a)}).then(e,A)},{unsafe:!0});try{delete Yo.constructor}catch{}Pb&&Pb(Yo,kf)}W9({global:!0,constructor:!0,wrap:!0,forced:jb},{Promise:Qi}),qb=_9.Promise,Z9(Qi,Of,!1),j9(Of);var Il={},sj=GA,lj=Il,cj=sj("iterator"),uj=Array.prototype,fj=function(t){return t!==void 0&&(lj.Array===t||uj[cj]===t)},hj=b1,aC=Wo,dj=lf,pj=Il,gj=GA,mj=gj("iterator"),iC=function(t){if(!dj(t))return aC(t,mj)||aC(t,"@@iterator")||pj[hj(t)]},vj=tr,Bj=ea,wj=wr,yj=ff,bj=iC,Cj=TypeError,Ej=function(t,e){var A=arguments.length<2?bj(t):e;if(Bj(A))return wj(vj(A,t));throw new Cj(yj(t)+" is not iterable")},Uj=tr,oC=wr,Fj=Wo,Nj=function(t,e,A){var r,n;oC(t);try{if(r=Fj(t,"return"),!r){if(e==="throw")throw A;return A}r=Uj(r,t)}catch(a){n=!0,r=a}if(e==="throw")throw A;if(n)throw r;return oC(r),A},Qj=E1,Sj=tr,Tj=wr,xj=ff,Rj=fj,Ij=B1,sC=cf,Vj=Ej,Mj=iC,lC=Nj,Lj=TypeError,Df=function(t,e){this.stopped=t,this.result=e},cC=Df.prototype,uC=function(t,e,A){var r=A&&A.that,n=!!(A&&A.AS_ENTRIES),a=!!(A&&A.IS_RECORD),i=!!(A&&A.IS_ITERATOR),o=!!(A&&A.INTERRUPTED),s=Qj(e,r),l,u,d,g,f,w,v,C=function(y){return l&&lC(l,"normal"),new Df(!0,y)},B=function(y){return n?(Tj(y),o?s(y[0],y[1],C):s(y[0],y[1])):o?s(y,C):s(y)};if(a)l=t.iterator;else if(i)l=t;else{if(u=Mj(t),!u)throw new Lj(xj(t)+" is not iterable");if(Rj(u)){for(d=0,g=Ij(t);g>d;d++)if(f=B(t[d]),f&&sC(cC,f))return f;return new Df(!1)}l=Vj(t,u)}for(w=a?t.next:l.next;!(v=Sj(w,l)).done;){try{f=B(v.value)}catch(y){lC(l,"throw",y)}if(typeof f=="object"&&f&&sC(cC,f))return f}return new Df(!1)},Oj=GA,fC=Oj("iterator"),hC=!1;try{var kj=0,dC={next:function(){return{done:!!kj++}},return:function(){hC=!0}};dC[fC]=function(){return this},Array.from(dC,function(){throw 2})}catch{}var Hj=function(t,e){try{if(!e&&!hC)return!1}catch{return!1}var A=!1;try{var r={};r[fC]=function(){return{next:function(){return{done:A=!0}}}},t(r)}catch{}return A},Dj=If,Pj=Hj,Wj=Rl.CONSTRUCTOR,pC=Wj||!Pj(function(t){Dj.all(t).then(void 0,function(){})}),_j=yr,Zj=tr,jj=ea,Jj=Go,Kj=k1,Gj=uC,zj=pC;_j({target:"Promise",stat:!0,forced:zj},{all:function(e){var A=this,r=Jj.f(A),n=r.resolve,a=r.reject,i=Kj(function(){var o=jj(A.resolve),s=[],l=0,u=1;Gj(e,function(d){var g=l++,f=!1;u++,Zj(o,A,d).then(function(w){f||(f=!0,s[g]=w,--u||n(s))},a)}),--u||n(s)});return i.error&&a(i.value),r.promise}});var Yj=yr,Xj=Rl.CONSTRUCTOR,z1=If,qj=Ui,$j=RA,eJ=Fi,gC=z1&&z1.prototype;if(Yj({target:"Promise",proto:!0,forced:Xj,real:!0},{catch:function(t){return this.then(void 0,t)}}),$j(z1)){var mC=qj("Promise").prototype.catch;gC.catch!==mC&&eJ(gC,"catch",mC,{unsafe:!0})}var tJ=yr,AJ=tr,rJ=ea,nJ=Go,aJ=k1,iJ=uC,oJ=pC;tJ({target:"Promise",stat:!0,forced:oJ},{race:function(e){var A=this,r=nJ.f(A),n=r.reject,a=aJ(function(){var i=rJ(A.resolve);iJ(e,function(o){AJ(i,A,o).then(r.resolve,n)})});return a.error&&n(a.value),r.promise}});var sJ=yr,lJ=Go,cJ=Rl.CONSTRUCTOR;sJ({target:"Promise",stat:!0,forced:cJ},{reject:function(e){var A=lJ.f(this),r=A.reject;return r(e),A.promise}});var uJ=wr,fJ=Sr,hJ=Go,dJ=function(t,e){if(uJ(t),fJ(e)&&e.constructor===t)return e;var A=hJ.f(t),r=A.resolve;return r(e),A.promise},pJ=yr,gJ=Ui,mJ=Rl.CONSTRUCTOR,vJ=dJ;gJ("Promise"),pJ({target:"Promise",stat:!0,forced:mJ},{resolve:function(e){return vJ(this,e)}});function vC(t,e,A,r,n,a,i){try{var o=t[a](i),s=o.value}catch(l){return void A(l)}o.done?e(s):Promise.resolve(s).then(r,n)}function Aa(t){return function(){var e=this,A=arguments;return new Promise(function(r,n){var a=t.apply(e,A);function i(s){vC(a,r,n,i,o,"next",s)}function o(s){vC(a,r,n,i,o,"throw",s)}i(void 0)})}}var BJ=b1,wJ=String,Wn=function(t){if(BJ(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return wJ(t)},yJ=wr,BC=function(){var t=yJ(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Y1=BA,bJ=fA,X1=bJ.RegExp,q1=Y1(function(){var t=X1("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),CJ=q1||Y1(function(){return!X1("a","y").sticky}),EJ=q1||Y1(function(){var t=X1("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),wC={BROKEN_CARET:EJ,MISSED_STICKY:CJ,UNSUPPORTED_Y:q1},yC={},UJ=X5,FJ=y1,NJ=Object.keys||function(e){return UJ(e,FJ)},QJ=yn,SJ=L5,TJ=ta,xJ=wr,RJ=bl,IJ=NJ;yC.f=QJ&&!SJ?Object.defineProperties:function(e,A){xJ(e);for(var r=RJ(A),n=IJ(A),a=n.length,i=0,o;a>i;)TJ.f(e,o=n[i++],r[o]);return e};var VJ=wr,MJ=yC,bC=y1,LJ=h1,OJ=vb,kJ=df,HJ=f1,CC=">",EC="<",$1="prototype",eg="script",UC=HJ("IE_PROTO"),tg=function(){},FC=function(t){return EC+eg+CC+t+EC+"/"+eg+CC},NC=function(t){t.write(FC("")),t.close();var e=t.parentWindow.Object;return t=null,e},DJ=function(){var t=kJ("iframe"),e="java"+eg+":",A;return t.style.display="none",OJ.appendChild(t),t.src=String(e),A=t.contentWindow.document,A.open(),A.write(FC("document.F=Object")),A.close(),A.F},Pf,Wf=function(){try{Pf=new ActiveXObject("htmlfile")}catch{}Wf=typeof document<"u"?document.domain&&Pf?NC(Pf):DJ():NC(Pf);for(var t=bC.length;t--;)delete Wf[$1][bC[t]];return Wf()};LJ[UC]=!0;var Ag=Object.create||function(e,A){var r;return e!==null?(tg[$1]=VJ(e),r=new tg,tg[$1]=null,r[UC]=e):r=Wf(),A===void 0?r:MJ.f(r,A)},PJ=BA,WJ=fA,_J=WJ.RegExp,ZJ=PJ(function(){var t=_J(".","s");return!(t.dotAll&&t.test(`
317
317
  `)&&t.flags==="s")}),jJ=BA,JJ=fA,KJ=JJ.RegExp,GJ=jJ(function(){var t=KJ("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),$o=tr,_f=wA,zJ=Wn,YJ=BC,XJ=wC,qJ=t1,$J=Ag,eK=Bf.get,tK=ZJ,AK=GJ,rK=qJ("native-string-replace",String.prototype.replace),Zf=RegExp.prototype.exec,rg=Zf,nK=_f("".charAt),aK=_f("".indexOf),iK=_f("".replace),ng=_f("".slice),ag=function(){var t=/a/,e=/b*/g;return $o(Zf,t,"a"),$o(Zf,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),QC=XJ.BROKEN_CARET,ig=/()??/.exec("")[1]!==void 0,oK=ag||ig||QC||tK||AK;oK&&(rg=function(e){var A=this,r=eK(A),n=zJ(e),a=r.raw,i,o,s,l,u,d,g;if(a)return a.lastIndex=A.lastIndex,i=$o(rg,a,n),A.lastIndex=a.lastIndex,i;var f=r.groups,w=QC&&A.sticky,v=$o(YJ,A),C=A.source,B=0,y=n;if(w&&(v=iK(v,"y",""),aK(v,"g")===-1&&(v+="g"),y=ng(n,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&nK(n,A.lastIndex-1)!==`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "template-designer",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "模板拖拽设计器组件库",
5
5
  "main": "dist/template-designer.umd.js",
6
6
  "module": "dist/template-designer.esm.js",