@pisell/private-materials 3.0.127 → 3.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/preview.js +2 -2
  6. package/build/lowcode/render/default/view.js +8 -8
  7. package/build/lowcode/view.js +4 -4
  8. package/es/components/booking/components/TabProduct/index.js +63 -60
  9. package/es/components/booking/components/customSelect/index.d.ts +1 -1
  10. package/es/components/booking/forms/forms.d.ts +2 -2
  11. package/es/components/booking/forms/forms.js +61 -58
  12. package/es/components/booking/info/client/index.d.ts +4 -4
  13. package/es/components/booking/info/client/index.js +94 -90
  14. package/es/components/booking/info/clientVariant/vertical/index.js +5 -4
  15. package/es/components/booking/info/index.js +1 -1
  16. package/es/components/booking/info/pet/index.d.ts +3 -3
  17. package/es/components/booking/info/pet/index.js +135 -131
  18. package/es/components/booking/info/service/addService/index.js +47 -45
  19. package/es/components/booking/info/service/addTimeModal/index.d.ts +2 -2
  20. package/es/components/booking/info/service/addTimeModal/index.js +218 -225
  21. package/es/components/booking/info/service/editService/index.js +194 -192
  22. package/es/components/booking/info/service/index.d.ts +2 -2
  23. package/es/components/booking/info/service/index.js +1 -1
  24. package/es/components/eftposPay/store/index.d.ts +4 -4
  25. package/lib/components/booking/components/TabProduct/index.js +61 -58
  26. package/lib/components/booking/components/customSelect/index.d.ts +1 -1
  27. package/lib/components/booking/forms/forms.d.ts +2 -2
  28. package/lib/components/booking/forms/forms.js +90 -75
  29. package/lib/components/booking/info/client/index.d.ts +4 -4
  30. package/lib/components/booking/info/client/index.js +59 -48
  31. package/lib/components/booking/info/clientVariant/vertical/index.js +5 -4
  32. package/lib/components/booking/info/index.js +1 -1
  33. package/lib/components/booking/info/pet/index.d.ts +3 -3
  34. package/lib/components/booking/info/pet/index.js +113 -84
  35. package/lib/components/booking/info/service/addService/index.js +112 -99
  36. package/lib/components/booking/info/service/addTimeModal/index.d.ts +2 -2
  37. package/lib/components/booking/info/service/addTimeModal/index.js +154 -127
  38. package/lib/components/booking/info/service/editService/index.js +196 -171
  39. package/lib/components/booking/info/service/index.d.ts +2 -2
  40. package/lib/components/booking/info/service/index.js +1 -1
  41. package/lib/components/eftposPay/store/index.d.ts +4 -4
  42. package/package.json +4 -4
@@ -10,7 +10,7 @@ o.version="2.29.4",i(Kn),o.fn=di,o.min=er,o.max=tr,o.now=nr,o.utc=m,o.unix=li,o.
10
10
  Copyright (c) 2018 Jed Watson.
11
11
  Licensed under the MIT License (MIT), see
12
12
  http://jedwatson.github.io/classnames
13
- */!function(){"use strict";var n={}.hasOwnProperty,i="[native code]";function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(o=function(){return a}.apply(t,r=[]))||(e.exports=o)}()},function(e,t,n){var r=n(816);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(t,n){t.exports=e},function(e,t,n){(function(e,r){var o;
13
+ */!function(){"use strict";var n={}.hasOwnProperty,i="[native code]";function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(o=function(){return a}.apply(t,r=[]))||(e.exports=o)}()},,function(e,t,n){var r=n(816);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(t,n){t.exports=e},function(e,t,n){(function(e,r){var o;
14
14
  /**
15
15
  * @license
16
16
  * Lodash <https://lodash.com/>
@@ -301,4 +301,4 @@ var t;return e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6
301
301
  object-assign
302
302
  (c) Sindre Sorhus
303
303
  @license MIT
304
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc"),t;if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},r=0;r<10;r++)n["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}e.exports=s()?Object.assign:function(e,t){for(var n,s=a(e),u,c=1;c<arguments.length;c++){for(var d in n=Object(arguments[c]))o.call(n,d)&&(s[d]=n[d]);if(r){u=r(n);for(var l=0;l<u.length;l++)i.call(n,u[l])&&(s[u[l]]=n[u[l]])}}return s}},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=function(){},o,i,a;function s(e,t,n,r,o){var i,a,s,u}s.resetWarningCache=function(){0},e.exports=s},function(e,t,n){function r(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let t,n=null,i,a;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date),i=o-(t||o);n.diff=i,n.prev=t,n.curr=o,t=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,o)=>{if("%%"===t)return"%";a++;const i=r.formatters[o];if("function"==typeof i){const r=e[a];t=i.call(n,r),e.splice(a,1),a--}return t}),r.formatArgs.call(n,e);const u=undefined;(n.log||r.log).apply(n,e)}return s.namespace=e,s.useColors=r.useColors(),s.color=r.selectColor(e),s.extend=o,s.destroy=r.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==n?n:(i!==r.namespaces&&(i=r.namespaces,a=r.enabled(e)),a),set:e=>{n=e}}),"function"==typeof r.init&&r.init(s),s}function o(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function i(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.slice(1)+"$")):r.names.push(new RegExp("^"+e+"$")))}function a(){const e=[...r.names.map(u),...r.skips.map(u).map(e=>"-"+e)].join(",");return r.enable(""),e}function s(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1}function u(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function c(e){return e instanceof Error?e.stack||e.message:e}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.debug=r,r.default=r,r.coerce=c,r.disable=a,r.enable=i,r.enabled=s,r.humanize=n(881),r.destroy=d,Object.keys(e).forEach(t=>{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}e.exports=r},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o,a=7*i,s=365.25*i;function u(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var u=parseFloat(t[1]),c;switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*a;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*o;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function c(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}function d(e){var t=Math.abs(e);return t>=i?l(e,t,i,"day"):t>=o?l(e,t,o,"hour"):t>=r?l(e,t,r,"minute"):t>=n?l(e,t,n,"second"):e+" ms"}function l(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return u(e);if("number"===n&&isFinite(e))return t.long?d(e):c(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.default={momentLocale:"zh-cn",Timeline:{expand:"\u5c55\u5f00",fold:"\u6536\u8d77"},Balloon:{close:"\u5173\u95ed"},Card:{expand:"\u5c55\u5f00",fold:"\u6536\u8d77"},Calendar:{today:"\u4eca\u5929",now:"\u6b64\u523b",ok:"\u786e\u5b9a",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",prevYear:"\u4e0a\u4e00\u5e74",nextYear:"\u4e0b\u4e00\u5e74",prevMonth:"\u4e0a\u4e2a\u6708",nextMonth:"\u4e0b\u4e2a\u6708",prevDecade:"\u4e0a\u5341\u5e74",nextDecade:"\u540e\u5341\u5e74",yearSelectAriaLabel:"\u9009\u62e9\u5e74\u4efd",monthSelectAriaLabel:"\u9009\u62e9\u6708\u4efd"},DatePicker:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",datetimePlaceholder:"\u8bf7\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",now:"\u6b64\u523b",selectTime:"\u9009\u62e9\u65f6\u95f4",selectDate:"\u9009\u62e9\u65e5\u671f",ok:"\u786e\u5b9a",clear:"\u6e05\u9664",startPlaceholder:"\u8d77\u59cb\u65e5\u671f",endPlaceholder:"\u7ed3\u675f\u65e5\u671f",hour:"\u65f6",minute:"\u5206",second:"\u79d2"},Dialog:{close:"\u5173\u95ed",ok:"\u786e\u5b9a",cancel:"\u53d6\u6d88"},Drawer:{close:"\u5173\u95ed"},Message:{closeAriaLabel:"\u5173\u95ed"},Pagination:{prev:"\u4e0a\u4e00\u9875",next:"\u4e0b\u4e00\u9875",goTo:"\u5230\u7b2c",page:"\u9875",go:"\u786e\u5b9a",total:"\u7b2c{current}\u9875\uff0c\u5171{total}\u9875",labelPrev:"\u4e0a\u4e00\u9875\uff0c\u5f53\u524d\u7b2c{current}\u9875",labelNext:"\u4e0b\u4e00\u9875\uff0c\u5f53\u524d\u7b2c{current}\u9875",inputAriaLabel:"\u8bf7\u8f93\u5165\u8df3\u8f6c\u5230\u7b2c\u51e0\u9875",selectAriaLabel:"\u8bf7\u9009\u62e9\u6bcf\u9875\u663e\u793a\u51e0\u6761",pageSize:"\u6bcf\u9875\u663e\u793a\uff1a"},Input:{clear:"\u6e05\u9664"},List:{empty:"\u6ca1\u6709\u6570\u636e"},Select:{selectPlaceholder:"\u8bf7\u9009\u62e9",autoCompletePlaceholder:"\u8bf7\u8f93\u5165",notFoundContent:"\u65e0\u9009\u9879",maxTagPlaceholder:"\u5df2\u9009\u62e9 {selected}/{total} \u9879",selectAll:"\u5168\u9009"},TreeSelect:{maxTagPlaceholder:"\u5df2\u9009\u62e9 {selected}/{total} \u9879",shortMaxTagPlaceholder:"\u5df2\u9009\u62e9 {selected} \u9879"},Table:{empty:"\u6ca1\u6709\u6570\u636e",ok:"\u786e\u8ba4",reset:"\u91cd\u7f6e",asc:"\u5347\u5e8f",desc:"\u964d\u5e8f",expanded:"\u5df2\u5c55\u5f00",folded:"\u5df2\u6298\u53e0",filter:"\u7b5b\u9009",selectAll:"\u5168\u9009"},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",clear:"\u6e05\u9664",hour:"\u65f6",minute:"\u5206",second:"\u79d2",ok:"\u786e\u5b9a"},Transfer:{items:"\u9879",item:"\u9879",moveAll:"\u79fb\u52a8\u5168\u90e8",searchPlaceholder:"\u8bf7\u8f93\u5165",moveToLeft:"\u64a4\u9500\u9009\u4e2d\u5143\u7d20",moveToRight:"\u63d0\u4ea4\u9009\u4e2d\u5143\u7d20"},Upload:{card:{cancel:"\u53d6\u6d88",addPhoto:"\u4e0a\u4f20\u56fe\u7247",download:"\u4e0b\u8f7d",delete:"\u5220\u9664"},drag:{text:"\u70b9\u51fb\u6216\u8005\u62d6\u52a8\u6587\u4ef6\u5230\u865a\u7ebf\u6846\u5185\u4e0a\u4f20",hint:"\u652f\u6301 docx, xls, PDF, rar, zip, PNG, JPG \u7b49\u7c7b\u578b\u7684\u6587\u4ef6"},upload:{delete:"\u5220\u9664"}},Search:{buttonText:"\u641c\u7d22"},Tag:{delete:"\u5220\u9664"},Rating:{description:"\u8bc4\u5206\u9009\u9879"},Switch:{on:"\u5df2\u6253\u5f00",off:"\u5df2\u5173\u95ed"},Tab:{closeAriaLabel:"\u5173\u95ed"},Form:{Validate:{default:"%s \u6821\u9a8c\u5931\u8d25",required:"%s \u662f\u5fc5\u586b\u5b57\u6bb5",format:{number:"%s \u4e0d\u662f\u5408\u6cd5\u7684\u6570\u5b57",email:"%s \u4e0d\u662f\u5408\u6cd5\u7684 email \u5730\u5740",url:"%s \u4e0d\u662f\u5408\u6cd5\u7684 URL \u5730\u5740",tel:"%s \u4e0d\u662f\u5408\u6cd5\u7684\u7535\u8bdd\u53f7\u7801"},number:{length:"%s \u957f\u5ea6\u5fc5\u987b\u662f %s",min:"%s \u4e0d\u5f97\u5c0f\u4e8e %s",max:"%s \u4e0d\u5f97\u5927\u4e8e %s",minLength:"%s \u5b57\u6bb5\u5b57\u7b26\u957f\u5ea6\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u5b57\u6bb5\u5b57\u7b26\u957f\u5ea6\u4e0d\u5f97\u8d85\u8fc7 %s"},string:{length:"%s \u957f\u5ea6\u5fc5\u987b\u662f %s",min:"%s \u4e0d\u5f97\u5c0f\u4e8e %s",max:"%s \u4e0d\u5f97\u5927\u4e8e %s",minLength:"%s \u957f\u5ea6\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u957f\u5ea6\u4e0d\u5f97\u8d85\u8fc7 %s"},array:{length:"%s \u4e2a\u6570\u5fc5\u987b\u662f %s",minLength:"%s \u4e2a\u6570\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u4e2a\u6570\u4e0d\u5f97\u8d85\u8fc7 %s"},pattern:"%s \u6570\u503c %s \u4e0d\u5339\u914d\u6b63\u5219 %s"}}},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r){e.removeEventListener&&e.removeEventListener(t,n,r||!1)}function o(e,t,n,o){return e.addEventListener&&e.addEventListener(t,n,o||!1),{off:function i(){return r(e,t,n,o)}}}function i(e,t,n,i){return o(e,t,(function o(){for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];n.apply(this,s),r(e,t,o,i)}),i)}t.__esModule=!0,t.on=o,t.once=i,t.off=r},function(e,t,n){"use strict";t.__esModule=!0,t.prevent=t.noop=void 0,t.makeChain=c,t.bindCtx=d,t.promiseCall=l,t.invoke=f,t.renderNode=_,t.checkDate=h,t.checkRangeDate=m;var r=n(90),o,i=a(n(238));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.noop=function e(){},u=t.prevent=function e(){return!1};function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?t[0]:function e(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=0,a=t.length;i<a;i++)t[i]&&t[i].apply&&t[i].apply(this,r)}}function d(e,t,n){"string"==typeof t&&(t=[t]),n=n||e,t.forEach((function(t){n[t]=n[t].bind(e)}))}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;return(0,r.isPromise)(e)?e.then((function(e){return t(e),e})).catch((function(e){n(e)})):!1!==e?t(e):n(e)}function f(e,t,n){var r=e&&t in e?e[t]:void 0;return r&&r.apply(void 0,n)}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=void 0!==e?e:t;return n&&!Array.isArray(n)&&(n=[n]),"function"==typeof r?r.apply(void 0,n):r}function h(e){return void 0===e&&(e=null),(e=(0,i.default)(e)).isValid()?e:null}function m(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=Array.isArray(e)?[0,1].map((function(t){return h(e[t])})):[null,null],i=o[0],a=o[1],s=Array.isArray(n)?n:[n,n],u=s[0],c=s[1];return r&&i&&a&&i.isAfter(a)?!u&&c||!u&&!u&&1===t?[null,a]:[i,null]:[i,a]}},function(e,t,n){"use strict";t.__esModule=!0,t.flex=t.transition=t.animation=void 0;var r=n(444),o=n(90),i={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",animation:"animationend"},a={WebkitTransition:"webkitTransitionEnd",OTransition:"oTransitionEnd",transition:"transitionend"};function s(e){if(!r.hasDOM)return!1;var t=document.createElement("div"),n=!1;return(0,o.each)(e,(function(e,r){if(void 0!==t.style[r])return n={end:e},!1})),n}function u(e){if(!r.hasDOM)return!1;var t=document.createElement("div"),n=!1;return(0,o.each)(e,(function(e,r){return(0,o.each)(e,(function(e){try{t.style[r]=e,n=n||t.style[r]===e}catch(e){}return!n})),!n})),n}var c=t.animation=s(i),d=t.transition=s(a),l=t.flex=u({display:["flex","-webkit-flex","-moz-flex","-ms-flexbox"]})},function(e,t,n){"use strict";t.__esModule=!0,t.getFocusNodeList=c,t.saveLastFocusNode=l,t.clearLastFocusNode=f,t.backLastFocusNode=_,t.limitTabRange=h;var r,o=a(n(448)),i=n(90);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){for(;e;){var t,n=e.nodeName;if("BODY"===n||"HTML"===n)break;if("none"===e.style.display||"hidden"===e.style.visibility)return!1;e=e.parentNode}return!0}function u(e){var t=e.nodeName.toLowerCase(),n=parseInt(e.getAttribute("tabindex"),10),r=!isNaN(n)&&n>-1;return!!s(e)&&("input"===t?!e.disabled&&"hidden"!==e.type:["select","textarea","button"].indexOf(t)>-1?!e.disabled:"a"===t&&e.getAttribute("href")||r)}function c(e){var t=[],n=e.querySelectorAll("*");return(0,i.each)(n,(function(e){if(u(e)){var n=e.getAttribute("data-auto-focus")?"unshift":"push";t[n](e)}})),u(e)&&t.unshift(e),t}var d=null;function l(){d=document.activeElement}function f(){d=null}function _(){if(d)try{d.focus()}catch(e){}}function h(e,t){if(t.keyCode===o.default.TAB){var n=c(e),r=n.length-1,i=n.indexOf(document.activeElement);if(i>-1){var a=i+(t.shiftKey?-1:1);a<0&&(a=r),a>r&&(a=0),n[a].focus(),t.preventDefault()}}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(64));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e6,n=Math.ceil(Math.random()*t);return e?s(e)+"-"+n:n.toString(10)}function s(e){return e?("object"===(void 0===e?"undefined":(0,o.default)(e))?e=JSON.stringify(e):"string"!=typeof e&&(e=String(e)),e.replace(/['"]/gm,"").replace(/[\s'"]/gm,"-")):""}t.randomId=a,t.escapeForId=s},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(e=e||"")+(r++).toString(36)};var r=Date.now();e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r="accept acceptCharset accessKey action allowFullScreen allowTransparency\nalt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\ncharSet checked classID className colSpan cols content contentEditable contextMenu\ncontrols coords crossOrigin data dateTime default defer dir disabled download draggable\nencType form formAction formEncType formMethod formNoValidate formTarget frameBorder\nheaders height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\nis keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\nmediaGroup method min minLength multiple muted name noValidate nonce open\noptimum pattern placeholder poster preload radioGroup readOnly rel required\nreversed role rowSpan rows sandbox scope scoped scrolling seamless selected\nshape size sizes span spellCheck src srcDoc srcLang srcSet start step style\nsummary tabIndex target title type useMap value width wmode wrap".replace(/\s+/g," ").replace(/\t|\n|\r/g,"").split(" "),o="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError".replace(/\s+/g," ").replace(/\t|\n|\r/g,"").split(" "),i=["data-","aria-"];t.default=function(e){var t={},n=function n(a){(r.indexOf(a)>-1||o.indexOf(a)>-1||i.map((function(e){return new RegExp("^"+e)})).some((function(e){return a.replace(e,"")!==a})))&&(t[a]=e[a])};for(var a in e)n(a);return t},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=Y(n(237)),i,a=Y(n(56)),s,u=Y(n(75)),c,d=Y(n(76)),l,f=Y(n(50));t.initLocales=O,t.setLanguage=E,t.setLocale=H,t.setDirection=P,t.getLocale=A,t.getLanguage=C,t.getDirection=N,t.config=R;var _,h=Y(n(0)),m,p=Y(n(28)),y,v=Y(n(304)),g=n(443),M,b=Y(n(442)),L,w=Y(n(449));function Y(e){return e&&e.__esModule?e:{default:e}}var k=g.obj.shallowEqual;function D(e){return e.displayName||e.name||"Component"}var T=void 0,S="zh-cn",x={},j=void 0;function O(e){T=e,e&&(x=e[S],"boolean"!=typeof j&&(j=x&&x.rtl))}function E(e){T&&(S=e,x=T[e],"boolean"!=typeof j&&(j=x&&x.rtl))}function H(e){x=(0,f.default)({},T?T[S]:{},e),"boolean"!=typeof j&&(j=x&&x.rtl)}function P(e){j="rtl"===e}function A(){return x}function C(){return S}function N(){return j}function R(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g.obj.isClassComponent(e)&&void 0===e.prototype.shouldComponentUpdate&&(e.prototype.shouldComponentUpdate=function e(t,n){return!this.props.pure||(!k(this.props,t)||!k(this.state,n))});var i=(n=t=function(t){function n(e,r){(0,a.default)(this,n);var o=(0,u.default)(this,t.call(this,e,r));return o._getInstance=o._getInstance.bind(o),o._deprecated=o._deprecated.bind(o),o}return(0,d.default)(n,t),n.prototype._getInstance=function e(t){var n=this;this._instance=t,this._instance&&r.exportNames&&r.exportNames.forEach((function(e){var t=n._instance[e];n[e]="function"==typeof t?t.bind(n._instance):t}))},n.prototype._deprecated=function e(){!1!==this.context.nextWarning&&g.log.deprecated.apply(g.log,arguments)},n.prototype.getInstance=function e(){return this._instance},n.prototype.render=function t(){var n=this.props,i=n.prefix,a=n.locale,s=n.defaultPropsConfig,u=n.pure,c=n.rtl,d=n.device,l=n.popupContainer,_=n.errorBoundary,m=(0,o.default)(n,["prefix","locale","defaultPropsConfig","pure","rtl","device","popupContainer","errorBoundary"]),p=this.context,y=p.nextPrefix,v=p.nextLocale,M=void 0===v?{}:v,L=p.nextDefaultPropsConfig,Y=void 0===L?{}:L,k=p.nextPure,T=p.nextRtl,S=p.nextDevice,O=p.nextPopupContainer,E=p.nextErrorBoundary,H=r.componentName||D(e),P=(0,b.default)({prefix:i,locale:a,defaultPropsConfig:s,pure:u,device:d,popupContainer:l,rtl:c,errorBoundary:_},{nextPrefix:y,nextLocale:(0,f.default)({},x,M),nextDefaultPropsConfig:Y,nextPure:k,nextDevice:S,nextPopupContainer:O,nextRtl:"boolean"==typeof T?T:!0===j||void 0,nextErrorBoundary:E},H),A=["prefix","locale","pure","rtl","device","popupContainer"].reduce((function(e,t){return void 0!==P[t]&&(e[t]=P[t]),e}),{});"pure"in A&&A.pure&&g.log.warning("pure of ConfigProvider is deprecated, use Function Component or React.PureComponent"),"popupContainer"in A&&void 0===this.props.container&&["Overlay","Popup"].indexOf(H)>-1&&(A.container=A.popupContainer,delete A.popupContainer);var C=r.transform?r.transform(m,this._deprecated):m,N=h.default.createElement(e,(0,f.default)({},P.defaultPropsConfig[H],C,A,{ref:this._getInstance})),R=P.errorBoundary,F=R.open,I=(0,o.default)(R,["open"]);return F?h.default.createElement(w.default,I,N):N},n}(h.default.Component),t.propTypes=(0,f.default)({},e.propTypes||{},{prefix:p.default.string,locale:p.default.object,defaultPropsConfig:p.default.object,pure:p.default.bool,rtl:p.default.bool,device:p.default.oneOf(["tablet","desktop","phone"]),popupContainer:p.default.any,errorBoundary:p.default.oneOfType([p.default.bool,p.default.object])}),t.contextTypes=(0,f.default)({},e.contextTypes||{},{nextPrefix:p.default.string,nextLocale:p.default.object,nextDefaultPropsConfig:p.default.object,nextPure:p.default.bool,nextRtl:p.default.bool,nextWarning:p.default.bool,nextDevice:p.default.oneOf(["tablet","desktop","phone"]),nextPopupContainer:p.default.any,nextErrorBoundary:p.default.oneOfType([p.default.bool,p.default.object])}),n);return i.displayName="ConfigedComponent",i.displayName="Config("+D(e)+")",(0,v.default)(i,e),i}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(28));function i(e){return e&&e.__esModule?e:{default:e}}var a=function e(t,n){var r={};for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o],a;r[n(o,i)]=i}return r},s=function e(t){return t.replace(/^(next)([A-Z])/,(function(e,t,n){return n.toLowerCase()}))},u=function e(t){return a(t,s)},c=function e(t,n){var r=t.children;return"function"==typeof r?r(u(n)):null};c.propTypes={children:o.default.func},c.contextTypes={nextPrefix:o.default.string,nextLocale:o.default.object,nextPure:o.default.bool,newRtl:o.default.bool,nextWarning:o.default.bool,nextDevice:o.default.oneOf(["tablet","desktop","phone"]),nextPopupContainer:o.default.any},t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(56));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){(0,o.default)(this,e),this._root=null,this._store=new Map}return e.prototype.empty=function e(){return 0===this._store.size},e.prototype.has=function e(t){return this._store.has(t)},e.prototype.get=function e(t,n){var r=this.has(t)?this._store.get(t):this.root();return null==r?n:r},e.prototype.add=function e(t,n){this.empty()&&(this._root=t),this._store.set(t,n)},e.prototype.update=function e(t,n){this.has(t)&&this._store.set(t,n)},e.prototype.remove=function e(t){if(this._store.delete(t),t===this._root){var n,r=this._store.keys().next().value;this._root=r}},e.prototype.clear=function e(){this._store.clear()},e.prototype.root=function e(){return this._store.get(this._root)},e}();t.default=a,e.exports=t.default},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(155),o=n.n(r),i=n(0),a=n.n(i),s=n(460),u=n(10),c=n.n(u),d=function(e){return e.React="react",e.Rax="rax",e}({}),l,f=new(function(){function e(){this.runtime=void 0,this.builtinModules=["Component","PureComponent","createElement","createContext","forwardRef","findDOMNode"],this.env=void 0,this.renderers=void 0,this.configProvider=void 0,this.initRuntime()}var t=e.prototype;return t.initRuntime=function e(){var t=function(){function e(){this.state=void 0,this.props=void 0,this.refs=void 0,this.context=void 0}var t=e.prototype;return t.setState=function e(){},t.forceUpdate=function e(){},t.render=function e(){},e}(),n=function(){function e(){this.state=void 0,this.props=void 0,this.refs=void 0,this.context=void 0}var t=e.prototype;return t.setState=function e(){},t.forceUpdate=function e(){},t.render=function e(){},e}(),r=function e(){},o=function e(){},i=function e(){},a=function e(){};this.runtime={Component:t,PureComponent:n,createElement:r,createContext:o,forwardRef:i,findDOMNode:a}},t.setRuntime=function e(t){this.isValidRuntime(t)&&(this.runtime=t)},t.isValidRuntime=function e(t){return"object"==typeof t&&!Array.isArray(t)&&this.builtinModules.every((function(e){var n=!!t[e];if(!n)throw new Error("runtime is invalid, module '"+e+"' does not exist");return n}))},t.getRuntime=function e(){return this.runtime},t.setEnv=function e(t){this.env=t},t.isReact=function e(){return this.env===d.React},t.isRax=function e(){return this.env===d.Rax},t.setRenderers=function e(t){this.renderers=t},t.getRenderers=function e(){return this.renderers||{}},t.setConfigProvider=function e(t){this.configProvider=t},t.getConfigProvider=function e(){return this.configProvider},e}());function _(){var e,t=f.getRuntime().createContext,n=window.__appContext;return n||(n=t({}),window.__appContext=n),n}var h=n(18),m=n.n(h),p=n(24),y=n.n(p),v=n(6),g=n.n(v),M=n(96),b=n.n(M),L=n(25),w=n.n(L),Y=n(8),k=n.n(Y),D=n(9),T=n.n(D),S=n(461),x=n(7);function j(e){return/\.css(\?.*)?$/.test(e)}function O(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=function(){return t},e}function E(e){var t=document.createElement("script");t.text=e,document.head.appendChild(t),document.head.removeChild(t)}function H(e){var t=document.createElement("script");t.onload=r,t.onerror=r;var n=O();function r(e){t.onload=null,t.onerror=null,"load"===e.type?n.resolve():n.reject()}return t.src=e,t.async=!1,document.head.appendChild(t),n.promise()}function P(e){var t;return new Function(e)()}function A(e,t){try{return new Function(e,t)}catch(e){return console.warn("Caught error, Cant init func"),null}}function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=N(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F(e){return e&&e.type}function I(e){return e&&e.type===x.AssetType.Bundle}function W(e,t){return e?{type:x.AssetType.Bundle,assets:e,level:t}:null}function B(e,t,n,r){return t?{type:e,content:t,level:n,id:r}:null}function U(e,t){return t.packages&&(e.packages=[].concat(e.packages||[],t.packages)),t.components&&(e.components=[].concat(e.components||[],t.components)),z(e,t,"componentList"),z(e,t,"bizComponentList"),e}function z(e,t,n){var r;t[n]&&(e[n]&&(null===(r=t[n])||void 0===r||r.map((function(t){var r,o,i=!1;return null===(r=e[n])||void 0===r||r.map((function(e){return e.title===t.title&&(e.children=e.children.concat(t.children),i=!0),e})),!i&&(null===(o=e[n])||void 0===o||o.push(t)),t}))))}var V=function(){function e(e,t){var n;if(this.lastContent=void 0,this.lastUrl=void 0,this.placeholder=void 0,this.level=void 0,this.id=void 0,this.level=e,t&&(this.id=t),t&&(n=document.head.querySelector('style[data-id="'+t+'"]')),!n){n=document.createTextNode("");var r=document.head.querySelector('meta[level="'+e+'"]');r?document.head.insertBefore(n,r):document.head.appendChild(n)}this.placeholder=n}var t=e.prototype;return t.applyText=function e(t){if(this.lastContent!==t){this.lastContent=t,this.lastUrl=void 0;var n=document.createElement("style");n.setAttribute("type","text/css"),this.id&&n.setAttribute("data-id",this.id),n.appendChild(document.createTextNode(t)),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n}},t.applyUrl=function e(t){if(this.lastUrl!==t){this.lastContent=void 0,this.lastUrl=t;var n=document.createElement("link");n.onload=o,n.onerror=o;var r=O();return n.href=t,n.rel="stylesheet",this.id&&n.setAttribute("data-id",this.id),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n,r.promise()}function o(e){n.onload=null,n.onerror=null,"load"===e.type?r.resolve():r.reject()}},e}();function G(e,t,n,r){for(var o=C(n),i;!(i=o()).done;){var a;J(e,t,i.value,r)}}function J(e,t,n,r){if(n){if(Array.isArray(n))return G(e,t,n,r);if(I(n))return n.assets?void(Array.isArray(n.assets)?G(e,t,n.assets,n.level||r):J(e,t,n.assets,n.level||r)):void 0;F(n)||(n=B(j(n)?x.AssetType.CSSUrl:x.AssetType.JSUrl,n,r));var o=n.level||r;o&&null!=x.AssetLevel[o]||(o=x.AssetLevel.App),n.level=o,n.type===x.AssetType.CSSUrl||n.type==x.AssetType.CSSText?t[o].push(n):e[o].push(n)}}var $=function(){function e(){this.stylePoints=new Map}var t=e.prototype;return t.load=function(){var e=m()(k.a.mark((function e(t){var n=this,r,o,i,a;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:return r={},o={},x.AssetLevels.forEach((function(e){r[e]=[],o[e]=[]})),J(o,r,t),i=r[x.AssetLevel.Environment].concat(r[x.AssetLevel.Library],r[x.AssetLevel.Theme],r[x.AssetLevel.Runtime],r[x.AssetLevel.App]),a=o[x.AssetLevel.Environment].concat(o[x.AssetLevel.Library],o[x.AssetLevel.Theme],o[x.AssetLevel.Runtime],o[x.AssetLevel.App]),s.next=8,Promise.all(i.map((function(e){var t=e.content,r=e.level,o=e.type,i=e.id;return n.loadStyle(t,r,o===x.AssetType.CSSUrl,i)})));case 8:return s.next=10,Promise.all(a.map((function(e){var t=e.content,r=e.type;return n.loadScript(t,r===x.AssetType.JSUrl)})));case 10:case"end":return s.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),t.loadStyle=function e(t,n,r,o){var i;if(t)return o?(i=this.stylePoints.get(o))||(i=new V(n,o),this.stylePoints.set(o,i)):i=new V(n),r?i.applyUrl(t):i.applyText(t)},t.loadScript=function e(t,n){if(t)return n?H(t):E(t)},t.loadAsyncLibrary=function(){var e=m()(k.a.mark((function e(t){var n,r,o,i;return k.a.wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:for(i in n=[],r=[],o=[],t)t[i].async&&(n.push(window[t[i].library]),r.push(t[i].library),o.push(t[i]));return a.next=6,Promise.all(n).then((function(e){e.length>0&&e.map((function(e,t){var n=o[t],i=n.exportMode,a=n.exportSourceLibrary,s=n.library;return window[r[t]]="functionCall"!==i||null!=a&&a!==s?e:e(),e}))}));case 6:case"end":return a.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),e}();function q(e){return null!==e&&"object"==typeof e}function K(e){return q(e)&&"i18n"===e.type}function Z(e){if(!q(e))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function X(e){var t=typeof e,n;if(null==e)n=e;else if(Array.isArray(e))n=e.map((function(e){return X(e)}));else if("object"===t&&Z(e))for(var r in n={},e)e.hasOwnProperty(r)&&(n[r]=X(e[r]));else n=e;return n}var Q=["$$typeof","render","defaultProps","props","length","prototype","name","caller","callee","arguments"];function ee(e,t){var n;return Object.keys(t).filter((function(e){return!Q.includes(e)})).forEach((function(n){e[n]=t[n]})),e}var te=["children"],ne="function"==typeof Symbol&&Symbol.for,re=ne?Symbol.for("react.forward_ref"):60112,oe=ne?Symbol.for("react.memo"):60115;function ie(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function ae(e){var t;return(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||e.$$typeof&&e.$$typeof===re}function se(e){return(null==e?void 0:e.$$typeof)&&(null==e?void 0:e.$$typeof)===re}function ue(e){return(null==e?void 0:e.$$typeof)&&e.$$typeof===oe}function ce(e){return!!e&&Boolean(ie(e)||"function"==typeof e||se(e)||ue(e))}function de(e){var t=function(t){function n(){return t.apply(this,arguments)||this}var r;return c()(n,t),n.prototype.render=function t(){var n=this.props,r=n.children,o=y()(n,te);return Object(i.createElement)(e,o,r)},n}(i.Component);return(t=ee(t,e)).displayName=e.displayName,t}function le(e,t){return Object(i.isValidElement)(e)?t?Object(i.cloneElement)(e,t):e:ce(e)?Object(i.createElement)(e,t):e}var fe=n(97),_e=n.n(fe);function he(e){return e&&e.__esModule}var me=/^(https?:)\/\//i;function pe(e,t){return e?(he(e)&&(e=e.default),"string"==typeof e?me.test(e)?React.createElement("img",g()({src:e},t)):React.createElement(_e.a,g()({type:e},t)):Object(i.isValidElement)(e)?Object(i.cloneElement)(e,g()({},t)):ce(e)?Object(i.createElement)(e,g()({},t)):React.createElement(_e.a,g()({},e,t))):null}var ye=n(875);function ve(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ge(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ge(e,t){if(e){if("string"==typeof e)return Me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Me(e,t):void 0}}function Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var be,Le=new(function(){function e(){this.states=new Set}var t=e.prototype;return t.setDragging=function e(t){t?this.addState("dragging"):this.removeState("dragging")},t.setXResizing=function e(t){t?this.addState("x-resizing"):this.removeState("x-resizing")},t.setYResizing=function e(t){t?this.addState("y-resizing"):this.removeState("y-resizing")},t.setCopy=function e(t){t?this.addState("copy"):this.removeState("copy")},t.isCopy=function e(){return this.states.has("copy")},t.release=function e(){for(var t=ve(this.states),n;!(n=t()).done;){var r=n.value;this.removeState(r)}},t.addState=function e(t){this.states.has(t)||(this.states.add(t),document.documentElement.classList.add("lc-cursor-"+t))},t.removeState=function e(t){this.states.has(t)&&(this.states.delete(t),document.documentElement.classList.remove("lc-cursor-"+t))},e}());function we(e){return void 0!==Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__}var Ye=Object.prototype.hasOwnProperty;function ke(e,t){return e&&Ye.call(e,t)}function De(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function Te(e){var t=e.target;return!!t&&(!(!t.form&&!/^(INPUT|SELECT|TEXTAREA)$/.test(t.tagName))||!!(t instanceof HTMLElement&&/write/.test(window.getComputedStyle(t).getPropertyValue("-webkit-user-modify"))))}function Se(e){return"function"==typeof e}var xe=!0,je=function e(t){return xe?null:(t.preventDefault(),t.stopPropagation(),!1)};function Oe(e){xe=e}function Ee(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}function He(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!ke(t,n[o])||e[n[o]]!==t[n[o]])return!1;return!0}document.addEventListener("selectstart",je,!0),document.addEventListener("dragstart",je,!0);var Pe=["fill","size","viewBox","style","children"],Ae={xsmall:8,small:12,medium:16,large:20,xlarge:30};function Ce(e){var t=e.fill,n=e.size,r=void 0===n?"medium":n,o=e.viewBox,i=e.style,a=e.children,s=y()(e,Pe);return Ae.hasOwnProperty(r)&&(r=Ae[r]),React.createElement("svg",g()({fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:r,height:r,viewBox:o},s,{style:g()({color:t},i)}),a)}var Ne=Date.now();function Re(e){return void 0===e&&(e=""),""+e+(Ne++).toString(36).toLowerCase()}function Fe(e){return e&&"object"==typeof e}function Ie(e){return e&&(Object(i.isValidElement)(e)||ce(e))}function We(e){return"string"==typeof e}function Be(e){return e&&"function"==typeof e&&!ie(e)}function Ue(e){return e&&"i18n"===e.type}function ze(e){return e&&"JSBlock"===e.type}function Ve(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function Ge(e){return e&&"JSExpression"===e.type&&"function"===e.extType}function Je(e){return"object"==typeof e&&e&&"JSFunction"===e.type||Ge(e)}function $e(e){return e&&"JSSlot"===e.type}function qe(e){return"package"in e}function Ke(e){return!qe(e)}function Ze(e){return e&&e.componentName&&!e.isNode}function Xe(e){return e&&e.componentsTree}function Qe(e){return e&&"object"==typeof e&&"componentName"in e&&!Ie(e)}function et(e){return Z(e)&&!Ue(e)}function tt(e){return e&&e.type===x.IPublicEnumDragObjectType.NodeData}function nt(e){return e&&e.type===x.IPublicEnumDragObjectType.Node}function rt(e){return e&&e.type!==x.IPublicEnumDragObjectType.NodeData&&e.type!==x.IPublicEnumDragObjectType.Node}function ot(e){return e&&e.type===x.IPublicTypeLocationDetailType.Children}function it(e){return e&&e.isNode}function at(e){return e&&e.target&&e.detail}function st(e){return e&&e.isSettingField}function ut(e){return"object"==typeof e&&"Component"===e.componentName}function ct(e){return e&&e.componentsTree&&e.componentsTree.length&&ut(e.componentsTree[0])}function dt(e){return"string"!=typeof e?e:window[e]||lt(e)}function lt(e){if(["a","img","div","span","svg"].includes(e))return Object(i.forwardRef)((function(t,n){return Object(i.createElement)(e,g()({ref:n},t),t.children)}))}function ft(e,t){var n=t.length;if(n<1||!e)return e;for(var r=0,o;r<n;){var i=t[r],a=void 0;try{o=e[i]||o}catch(e){a=e,o=null}if(0===r&&null==o&&"default"===i){if(a)return 1===n?e:null;o=e}else if(null==o)return null;e=o,r++}return o}function _t(e,t,n){if(!n)return dt(t);var r=n.exportName||n.componentName||t,o,i=dt(e[n.package]||r),a=n.exportName&&n.subName?n.subName.split("."):[];return n.destructuring?a.unshift(r):he(i)&&a.unshift("default"),ft(i,a)}function ht(e){return!!q(e)&&Object.keys(e).some((function(t){return ce(e[t])}))}function mt(e,t,n){var r={};return Object.keys(t).forEach((function(o){var i=t[o];i&&(ct(i)||ut(i))?ut(i)?r[o]=n({version:"",componentsMap:[],componentsTree:[i]}):r[o]=n(i):ce(i)?(ae(i)||(i=de(i)),r[o]=i):ht(i)?r[o]=i:(i=_t(e,o,i))&&(!ae(i)&&ce(i)&&(i=de(i)),r[o]=i)})),r}function pt(e,t){var n={};return t&&t.forEach((function(t){var r;if(e[null==t||null===(r=t.npm)||void 0===r?void 0:r.package]){var o=dt(e[null==t?void 0:t.npm.package]);null!=o&&o.destructuring?Object.keys(o).forEach((function(e){"destructuring"!==e&&(n[e]=o[e])})):t.name&&(n[t.name]=o)}})),n}var yt=n(51),vt=n.n(yt),gt=null;vt.a.defaultMaxListeners=100;var Mt=function(e){function t(t){var n;return n=e.call(this)||this,gt=w()(n),Object.assign(w()(n),t),n}c()(t,e);var n=t.prototype;return n.get=function e(t){return this[t]},n.set=function e(t,n){var r=this;"string"==typeof t?this[t]=n:"object"==typeof t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))},n.batchOn=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.on(e,n)}))},n.batchOnce=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.once(e,n)}))},n.batchOff=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.off(e,n)}))},t}(vt.a);Mt.getInstance=function(){return gt||(gt=new Mt),gt};var bt=n(16);function Lt(e){return e&&"variable"===e.type}function wt(e,t){var n,r=null==e||null===(n=e.options)||void 0===n?void 0:n.configure;return!!Array.isArray(r)&&r.some((function(e){var n,r;return e.name===t&&"I18nSetter"===(null==e||null===(n=e.setter)||void 0===n||null===(r=n.type)||void 0===r?void 0:r.displayName)}))}function Yt(e,t){var n;return void 0===t&&(t="zh-CN"),K(e)?e:((n={type:"i18n",use:t})[t]=e,n)}function kt(e){return"string"==typeof e}function Dt(e,t){var n=200;return new Promise((function(n,r){setTimeout((function(){var o=Object(bt.get)(e,t);if(o)return n(o);r()}),200)})).catch((function(){return Dt(e,t)}))}function Tt(e,t){var n=Object(bt.get)(e,t);return n?Promise.resolve(n):Dt(e,t)}function St(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every((function(e){return t.includes(e)})))}function xt(e){var t;return!(null==e||null===(t=e.getMetadata().configure)||void 0===t||!t.advanced)}function jt(e,t){return void 0===t&&(t=2e3),setTimeout(e,t)}var Ot=["render","serilize","save","clone","init","upgrade"];function Et(e){return"number"==typeof e?(console.warn("stage \u76f4\u63a5\u6307\u5b9a\u4e3a\u6570\u5b57\u7684\u4f7f\u7528\u65b9\u5f0f\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5c06\u5728\u4e0b\u4e00\u7248\u672c\u79fb\u9664\uff0c\u8bf7\u76f4\u63a5\u4f7f\u7528 IPublicEnumTransformStage.Render|Serilize|Save|Clone|Init|Upgrade"),Ot[e-1]):e}function Ht(e,t,n){if(!e)throw new Error("Invariant failed: "+t+(n?" in '"+n+"'":""))}function Pt(e,t,n){e&&console.warn("Deprecation: "+t+(n?", use "+n+" instead.":""))}function At(e){return e&&e.test&&e.exec&&e.compile}function Ct(e,t){return!1!==e&&(e||t)}function Nt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Rt(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Rt(e,t){if(e){if("string"==typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ft(e,t):void 0}}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function It(e){if("object"==typeof e&&null!==e)return e.type&&e.source&&e.compiled}function Wt(e){return e.type&&"actionRef"===e.type}function Bt(e){if(!e)return e;if(Array.isArray(e))return e.map((function(e){return Bt(e)}));if(!Z(e))return e;var t,n,r;if(ze(e))return"Slot"===e.value.componentName?{type:"JSSlot",title:null===(t=e.value.props)||void 0===t?void 0:t.slotTitle,name:null===(n=e.value.props)||void 0===n?void 0:n.slotName,value:Bt(e.value.children),params:null===(r=e.value.props)||void 0===r?void 0:r.slotParams}:e.value;if(Lt(e))return{type:"JSExpression",value:e.variable,mock:e.value};if(It(e))return{type:"JSExpression",value:e.compiled,extType:"function"};if(Wt(e))return{type:"JSExpression",value:e.id+".bind(this)"};var o={};return Object.keys(e).forEach((function(t){/^__slot__/.test(t)&&!0===e[t]||(o[t]=Bt(e[t]))})),o}function Ut(e,t){var n;if(e.id===t)return e;var r=e.children,o=e.props;if(Array.isArray(r))for(var i=Nt(r),a;!(a=i()).done;){var s;if(n=Ut(a.value,t))return n}return Z(o)&&(n=zt(o,t))?n:void 0}function zt(e,t){for(var n,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];if($e(s)){if(Array.isArray(s.value))for(var u=Nt(s.value),c;!(c=u()).done;){var d;if(n=Ut(c.value,t))return n}if(n=Ut(s.value,t))return n}else if(Z(s)&&(n=zt(s,t)))return n}}function Vt(e,t){var n=g()({},e);return Array.isArray(t)||(t=[t]),t.reduce((function(e,t){if(t.type===x.ActivityType.MODIFIED){var n=Ut(e,t.payload.schema.id);if(!n)return e;Object.assign(n,t.payload.schema)}else if(t.type===x.ActivityType.ADDED){var r=t.payload,o=r.location,i=r.schema,a=o.parent,s=Ut(e,a.nodeId);s&&(Array.isArray(s.children)?s.children.splice(a.index,0,i):s.children||(s.children=[i]))}else if(t.type===x.ActivityType.DELETED){var u,c,d=t.payload.location.parent,l=Ut(e,d.nodeId);l&&Array.isArray(l.children)&&l.children.splice(d.index,1)}return e}),n)}var Gt=function e(t,n){if(t)return n(t)?t:e(t.parent,n)};function Jt(e,t){var n,r,o,i=null===(n=e.componentMeta)||void 0===n||null===(r=n.advanced)||void 0===r||null===(o=r.callbacks)||void 0===o?void 0:o.onClickHook,a;return"function"!=typeof i||i(t,e)}var $t={debug:-1,log:0,info:0,warn:1,error:2},qt=["#daa569","#00ffff","#385e0f","#7fffd4","#00c957","#b0e0e6","#4169e1","#6a5acd","#87ceeb","#ffff00","#e3cf57","#ff9912","#eb8e55","#ffe384","#40e0d0","#a39480","#d2691e","#ff7d40","#f0e68c","#bc8f8f","#c76114","#734a12","#5e2612","#0000ff","#3d59ab","#1e90ff","#03a89e","#33a1c9","#a020f0","#a066d3","#da70d6","#dda0dd","#688e23","#2e8b57"],Kt={debug:"#666666",log:"#bbbbbb",info:"#ffffff",warn:"#bbbbbb",error:"#bbbbbb"},Zt={debug:"debug",log:"log",info:"info",warn:"warn",error:"error"},Xt={debug:console.log,log:console.log,info:console.log,warn:console.warn,error:console.error},Qt={},en=function e(t,n,r,o){void 0===n&&(n="warn");var i=$t[n]<=$t[t],a="*"===o||r.indexOf(o)>-1;return i&&a},tn=function e(t,n){return function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Xt[t].apply(console,rn(r,n,t))}},nn=function e(t){if(!Qt[t]){var n=qt[Object.keys(Qt).length%qt.length];Qt[t]=n}return Qt[t]},rn=function e(t,n,r){var o=nn(n),i=Kt[r],a=t[0],s="%c["+n+"]%c["+Zt[r]+"]:";a.forEach((function(e){q(e)?s+="%o":s+="%s"}));var u=[s,"color: "+o,"color: "+i];return u=u.concat(a)},on=function e(t,n){if(!t)return{level:n.level,bizName:n.bizName};if(t.indexOf(":")>-1){var r=t.split(":");return{level:r[0],bizName:r[1]||"*"}}return{level:t,bizName:"*"}},an={level:"warn",bizName:"*"},sn=function(){function e(e){this.bizName=void 0,this.targetBizName=void 0,this.targetLevel=void 0,e=g()({},an,e);var t=location||{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(t.href)||[])[1],r=on(n,e);this.bizName=e.bizName,this.targetBizName=r.bizName,this.targetLevel=r.level}var t=e.prototype;return t.debug=function e(){if(en("debug",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("debug",this.bizName)(n)}},t.log=function e(){if(en("log",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("log",this.bizName)(n)}},t.info=function e(){if(en("info",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("info",this.bizName)(n)}},t.warn=function e(){if(en("warn",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("warn",this.bizName)(n)}},t.error=function e(){if(en("error",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("error",this.bizName)(n)}},e}();function un(e){return new sn(e)}var cn=4;function dn(e,t){return!!e.shaken||(e.target!==t.target||Math.pow(e.clientY-t.clientY,2)+Math.pow(e.clientX-t.clientX,2)>4)}function ln(e){if(!e)return!1;var t=e.split(":");return t.length>1&&t[0].length>0}var fn=["hover","focus","active","visited"],_n=/[A-Z]/g,hn=/[-\s]+(.)?/g,mn=/([^:]*):\s?(.*)/i;function pn(e){var t=0,n=0,r=[];return e.split("").forEach((function(o,i){"{"===o&&t++,"}"===o&&(1===t&&(r.push(e.substring(n,i+1)),n=i+1),t--)})),r}function yn(e){return"[object String]"==={}.toString.call(e)}function vn(e){return e.replace(_n,(function(e){return"-"+e})).toLowerCase()}function gn(e){return e.replace(hn,(function(e,t){return t?t.toUpperCase():""}))}function Mn(e){var t=[];return Object.keys(e).forEach((function(n){t.push(" "+n+": "+e[n]+";")})),t.join("\n")}function bn(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?bn(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[gn(t)]=e[t]})),n}function Ln(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Ln(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[vn(t)]=e[t]})),n}function wn(e){if(!e)return":root {\n\n}";if(e.default){var t=[];return Object.keys(e).forEach((function(n){if("extra"!==n){var r=fn.indexOf(n)>-1?":":"";t.push(":root"+("default"===n?"":""+r+n)+" {\n"+Mn(Ln(e[n]))+"\n}\n")}else Array.isArray(e.extra)&&t.push(e.extra.join("\n"))})),t.join("\n")}return":root {\n"+Mn(Ln(e))+"\n}\n"}function Yn(e){if(!e)return{};var t={},n;return pn(e).forEach((function(e){if(e.startsWith(":root")){var n=/:root:?(.*)?{(.*)/gi.exec(e.replace(/[\r\n]+/gi,"").trim());if(n){var r;n[1]&&n[1].trim()&&Object(bt.some)(fn,(function(e){return 0===n[1].indexOf(e)}))?r=n[1].trim():n[1]&&n[1].trim()&&(r=n[1]);var o={};n[2].split(";").reduce((function(e,t){return t.indexOf("base64")>-1?e[e.length-1]+=";"+t:e.push(t),e}),[]).forEach((function(e){if(e&&mn.test(e)){var t=e.match(mn),n=null==t?void 0:t[1],r=null==t?void 0:t[2];n&&r&&(o[n.trim()]=r.trim())}})),t[r||"default"]=o}}else t.extra=t.extra||[],t.extra.push(e.trim())})),t}function kn(e){try{return yn(e)?bn(Yn(e).default):e.default?bn(Ln(e.default)):bn(Ln(e))}catch(e){}return{}}var Dn=n(171),Tn,Sn=new function e(){var t=this;this.emitter=new vt.a,this.executeTransaction=function(e,n){void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.emit("["+n+"]startTransaction"),Object(Dn.a)(e),t.emitter.emit("["+n+"]endTransaction")},this.onStartTransaction=function(e,n){return void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.on("["+n+"]startTransaction",e),function(){t.emitter.off("["+n+"]startTransaction",e)}},this.onEndTransaction=function(e,n){return void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.on("["+n+"]endTransaction",e),function(){t.emitter.off("["+n+"]endTransaction",e)}}};function xn(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.createElement;return(e=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){return r("div",this.props)},t}(n)).displayName="Div",e.version="0.0.0",e}var jn=n(28),On=n.n(jn),En=n(876);function Hn(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.createElement;return(e=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){var t=this.props,n=t.children,o=t.cell,i=t.title,a=t.label,s=t.text,u=t.__componentName,c=n;return o&&"function"==typeof o&&(c=o()),r("div",{className:"visual-dom"},r("div",{className:"panel-container"},[r("span",{className:"title"},i||a||s||u),r("div",{className:"content"},c)]))},t}(n)).displayName="VisualDom",e.propTypes={children:On.a.oneOfType([On.a.element,On.a.arrayOf(On.a.element)])},e.defaultProps={children:null},e}var Pn=new sn({level:"warn",bizName:"renderer"}),An=n(2),Cn,Nn,Rn;function Fn(e){return e.type===Nn.literal}function In(e){return e.type===Nn.argument}function Wn(e){return e.type===Nn.number}function Bn(e){return e.type===Nn.date}function Un(e){return e.type===Nn.time}function zn(e){return e.type===Nn.select}function Vn(e){return e.type===Nn.plural}function Gn(e){return e.type===Nn.pound}function Jn(e){return e.type===Nn.tag}function $n(e){return!(!e||"object"!=typeof e||e.type!==Rn.number)}function qn(e){return!(!e||"object"!=typeof e||e.type!==Rn.dateTime)}function Kn(e){return{type:Nn.literal,value:e}}function Zn(e,t){return{type:Nn.number,value:e,style:t}}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Cn||(Cn={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(Nn||(Nn={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Rn||(Rn={}));var Xn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/,er=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function tr(e){var t={};return e.replace(er,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var nr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rr(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t,n=[],r=0,o=e.split(nr).filter((function(e){return e.length>0}));r<o.length;r++){var i,a=o[r].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),c=0,d=u;c<d.length;c++){var l;if(0===d[c].length)throw new Error("Invalid number skeleton")}n.push({stem:s,options:u})}return n}function or(e){return e.replace(/^(.*?)-/,"")}var ir=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ar=/^(@+)?(\+|#+)?[rs]?$/g,sr=/(\*)(0+)|(#+)(0+)|(0+)/g,ur=/^(0+)$/;function cr(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ar,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function dr(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function lr(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ur.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function fr(e){var t={},n=dr(e);return n||t}function _r(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=or(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Object(An.__assign)(Object(An.__assign)({},e),fr(t))}),{}));continue;case"engineering":t=Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Object(An.__assign)(Object(An.__assign)({},e),fr(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(sr,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(ur.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(ir.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(ir,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=Object(An.__assign)(Object(An.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Object(An.__assign)(Object(An.__assign)({},t),cr(i)))}else if(ar.test(o.stem))t=Object(An.__assign)(Object(An.__assign)({},t),cr(o.stem));else{var a=dr(o.stem);a&&(t=Object(An.__assign)(Object(An.__assign)({},t),a));var s=lr(o.stem);s&&(t=Object(An.__assign)(Object(An.__assign)({},t),s))}}return t}var hr={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]},mr;function pr(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),u="a",c=yr(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===o?"H":o}return n}function yr(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r,o;return"root"!==n&&(r=e.maximize().region),(hr[r||""]||hr[n||""]||hr["".concat(n,"-001")]||hr["001"])[0]}var vr=new RegExp("^".concat(Xn.source,"*")),gr=new RegExp("".concat(Xn.source,"*$"));function Mr(e,t){return{start:e,end:t}}var br=!!String.prototype.startsWith,Lr=!!String.fromCodePoint,wr=!!Object.fromEntries,Yr=!!String.prototype.codePointAt,kr=!!String.prototype.trimStart,Dr=!!String.prototype.trimEnd,Tr,Sr=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xr=!0;try{var jr;xr="a"===(null===(mr=Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===mr?void 0:mr[0])}catch(e){xr=!1}var Or=br?function e(t,n,r){return t.startsWith(n,r)}:function e(t,n,r){return t.slice(r,r+n.length)===n},Er=Lr?String.fromCodePoint:function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",o=t.length,i=0,a;o>i;){if((a=t[i++])>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(55296+((a-=65536)>>10),a%1024+56320)}return r},Hr=wr?Object.fromEntries:function e(t){for(var n={},r=0,o=t;r<o.length;r++){var i=o[r],a=i[0],s=i[1];n[a]=s}return n},Pr=Yr?function e(t,n){return t.codePointAt(n)}:function e(t,n){var r=t.length;if(!(n<0||n>=r)){var o=t.charCodeAt(n),i;return o<55296||o>56319||n+1===r||(i=t.charCodeAt(n+1))<56320||i>57343?o:i-56320+(o-55296<<10)+65536}},Ar=kr?function e(t){return t.trimStart()}:function e(t){return t.replace(vr,"")},Cr=Dr?function e(t){return t.trimEnd()}:function e(t){return t.replace(gr,"")},Nr;function Rr(e,t){return new RegExp(e,t)}if(xr){var Fr=Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nr=function e(t,n){var r,o;return Fr.lastIndex=n,null!==(r=Fr.exec(t)[1])&&void 0!==r?r:""}}else Nr=function e(t,n){for(var r=[];;){var o=Pr(t,n);if(void 0===o||zr(o)||Vr(o))break;r.push(o),n+=o>=65536?2:1}return Er.apply(void 0,r)};var Ir=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){var i;if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Cn.UNMATCHED_CLOSING_TAG,Mr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Wr(this.peek()||0)){var i;if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:Nn.pound,location:Mr(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Nn.literal,value:"<".concat(r,"/>"),location:Mr(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wr(this.char()))return this.error(Cn.INVALID_TAG,Mr(a,this.clonePosition()));var s=this.clonePosition(),u;return r!==this.parseTagName()?this.error(Cn.UNMATCHED_CLOSING_TAG,Mr(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Nn.tag,value:r,children:i,location:Mr(n,this.clonePosition())},err:null}:this.error(Cn.INVALID_TAG,Mr(a,this.clonePosition())))}return this.error(Cn.UNCLOSED_TAG,Mr(n,this.clonePosition()))}return this.error(Cn.INVALID_TAG,Mr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Ur(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=Mr(n,this.clonePosition());return{val:{type:Nn.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&Br(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Er.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Er(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Cn.EMPTY_ARGUMENT,Mr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Cn.MALFORMED_ARGUMENT,Mr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Nn.argument,value:r,location:Mr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Cn.MALFORMED_ARGUMENT,Mr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nr(this.message,t),r=t+n.length,o,i;return this.bumpTo(r),{value:n,location:Mr(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Cn.EXPECT_ARGUMENT_TYPE,Mr(i,s));case"number":case"date":case"time":this.bumpSpace();var u=null,c;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),l,f,_;if((l=this.parseSimpleArgStyleIfPossible()).err)return l;if(0===(f=Cr(l.val)).length)return this.error(Cn.EXPECT_ARGUMENT_STYLE,Mr(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Mr(d,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var h=Mr(r,this.clonePosition());if(u&&Or(null==u?void 0:u.style,"::",0)){var m=Ar(u.style.slice(2)),l;if("number"===a)return(l=this.parseNumberSkeletonFromString(m,u.styleLocation)).err?l:{val:{type:Nn.number,value:n,location:h,style:l.val},err:null};if(0===m.length)return this.error(Cn.EXPECT_DATE_TIME_SKELETON,h);var p=m;this.locale&&(p=pr(m,this.locale));var f={type:Rn.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?tr(p):{}},y;return{val:{type:"date"===a?Nn.date:Nn.time,value:n,location:h,style:f},err:null}}return{val:{type:"number"===a?Nn.number:"date"===a?Nn.date:Nn.time,value:n,location:h,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Cn.EXPECT_SELECT_ARGUMENT_OPTIONS,Mr(v,Object(An.__assign)({},v)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),M=0;if("select"!==a&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(Cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mr(this.clonePosition(),this.clonePosition()));var l;if(this.bumpSpace(),(l=this.tryParseDecimalInteger(Cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Cn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return l;this.bumpSpace(),g=this.parseIdentifierIfPossible(),M=l.val}var b=this.tryParsePluralOrSelectOptions(e,a,t,g),c;if(b.err)return b;if((c=this.tryParseArgumentClose(r)).err)return c;var L=Mr(r,this.clonePosition());return"select"===a?{val:{type:Nn.select,value:n,options:Hr(b.val),location:L},err:null}:{val:{type:Nn.plural,value:n,options:Hr(b.val),offset:M,pluralType:"plural"===a?"cardinal":"ordinal",location:L},err:null};default:return this.error(Cn.INVALID_ARGUMENT_TYPE,Mr(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){var n;switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Cn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mr(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=rr(e)}catch(e){return this.error(Cn.INVALID_NUMBER_SKELETON,t)}return{val:{type:Rn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_r(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,i=!1,a=[],s=new Set,u=r.value,c=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Cn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;c=Mr(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}if(s.has(u))return this.error("select"===t?Cn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Cn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Cn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Mr(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,t,n);if(_.err)return _;var h=this.tryParseArgumentClose(f);if(h.err)return h;a.push([u,{value:_.val,location:Mr(f,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?Cn.EXPECT_SELECT_ARGUMENT_SELECTOR:Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Cn.MISSING_OTHER_CLAUSE,Mr(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=Mr(r,this.clonePosition());return o?Sr(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Pr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Or(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Wr(e){return e>=97&&e<=122||e>=65&&e<=90}function Br(e){return Wr(e)||47===e}function Ur(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function zr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Vr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Gr(e){e.forEach((function(e){if(delete e.location,zn(e)||Vn(e))for(var t in e.options)delete e.options[t].location,Gr(e.options[t].value);else Wn(e)&&$n(e.style)||(Bn(e)||Un(e))&&qn(e.style)?delete e.style.location:Jn(e)&&Gr(e.children)}))}function Jr(e,t){void 0===t&&(t={}),t=Object(An.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ir(e,t).parse();if(n.err){var r=SyntaxError(Cn[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Gr(n.val),n.val}function $r(e,t){var n=t&&t.cache?t.cache:oo,r=t&&t.serializer?t.serializer:no,o;return(t&&t.strategy?t.strategy:Qr)(e,{cache:n,serializer:r})}function qr(e){return null==e||"number"==typeof e||"boolean"==typeof e}function Kr(e,t,n,r){var o=qr(r)?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function Zr(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function Xr(e,t,n,r,o){return n.bind(t,e,r,o)}function Qr(e,t){var n;return Xr(e,this,1===e.length?Kr:Zr,t.cache.create(),t.serializer)}function eo(e,t){return Xr(e,this,Zr,t.cache.create(),t.serializer)}function to(e,t){return Xr(e,this,Kr,t.cache.create(),t.serializer)}var no=function(){return JSON.stringify(arguments)};function ro(){this.cache=Object.create(null)}ro.prototype.get=function(e){return this.cache[e]},ro.prototype.set=function(e,t){this.cache[e]=t};var oo={create:function e(){return new ro}},io={variadic:eo,monadic:to},ao;!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ao||(ao={}));var so=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Object(An.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),uo=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ao.INVALID_VALUE,o)||this}return Object(An.__extends)(t,e),t}(so),co=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),ao.INVALID_VALUE,r)||this}return Object(An.__extends)(t,e),t}(so),lo=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),ao.MISSING_VALUE,n)||this}return Object(An.__extends)(t,e),t}(so),fo;function _o(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===fo.literal&&t.type===fo.literal?n.value+=t.value:e.push(t),e}),[])}function ho(e){return"function"==typeof e}function mo(e,t,n,r,o,i,a){if(1===e.length&&Fn(e[0]))return[{type:fo.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var d=c[u];if(Fn(d))s.push({type:fo.literal,value:d.value});else if(Gn(d))"number"==typeof i&&s.push({type:fo.literal,value:n.getNumberFormat(t).format(i)});else{var l=d.value;if(!o||!(l in o))throw new lo(l,a);var f=o[l];if(In(d))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?fo.literal:fo.object,value:f});else if(Bn(d)){var _="string"==typeof d.style?r.date[d.style]:qn(d.style)?d.style.parsedOptions:void 0;s.push({type:fo.literal,value:n.getDateTimeFormat(t,_).format(f)})}else if(Un(d)){var _="string"==typeof d.style?r.time[d.style]:qn(d.style)?d.style.parsedOptions:r.time.medium;s.push({type:fo.literal,value:n.getDateTimeFormat(t,_).format(f)})}else if(Wn(d)){var _;(_="string"==typeof d.style?r.number[d.style]:$n(d.style)?d.style.parsedOptions:void 0)&&_.scale&&(f*=_.scale||1),s.push({type:fo.literal,value:n.getNumberFormat(t,_).format(f)})}else{if(Jn(d)){var h=d.children,m=d.value,p=o[m];if(!ho(p))throw new co(m,"function",a);var y,v=p(mo(h,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map((function(e){return{type:"string"==typeof e?fo.literal:fo.object,value:e}})))}if(zn(d)){var g;if(!(g=d.options[f]||d.options.other))throw new uo(d.value,f,Object.keys(d.options),a);s.push.apply(s,mo(g.value,t,n,r,o))}else if(Vn(d)){var g;if(!(g=d.options["=".concat(f)])){if(!Intl.PluralRules)throw new so('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ao.MISSING_INTL_API,a);var M=n.getPluralRules(t,{type:d.pluralType}).select(f-(d.offset||0));g=d.options[M]||d.options.other}if(!g)throw new uo(d.value,f,Object.keys(d.options),a);s.push.apply(s,mo(g.value,t,n,r,o,f-(d.offset||0)))}else;}}}return _o(s)}function po(e,t){return t?Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},e||{}),t||{}),Object.keys(e).reduce((function(n,r){return n[r]=Object(An.__assign)(Object(An.__assign)({},e[r]),t[r]||{}),n}),{})):e}function yo(e,t){return t?Object.keys(e).reduce((function(n,r){return n[r]=po(e[r],t[r]),n}),Object(An.__assign)({},e)):e}function vo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function go(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.number),strategy:io.variadic}),getDateTimeFormat:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.dateTime),strategy:io.variadic}),getPluralRules:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.pluralRules),strategy:io.variadic})}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(fo||(fo={}));var Mo,bo=function(){function e(t,n,r,o){var i=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=i.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===fo.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return mo(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=yo(e.formats,r),this.formatters=o&&o.formatters||go(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=Jr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Lo=n(462),wo=n(77),Yo=n(241),ko=n.n(Yo),Do=n(463),To=n.n(Do);window.sdkVersion=Lo.version;var So=To()(wo.isElement,!0),xo={JSEXPRESSION:"JSExpression",JSFUNCTION:"JSFunction",JSSLOT:"JSSlot",JSBLOCK:"JSBlock",I18N:"i18n"};function jo(e){if(Object(bt.isEmpty)(e))return!1;if("Leaf"===e.componentName||"Slot"===e.componentName)return!0;if(Array.isArray(e))return e.every((function(e){return jo(e)}));var t=function t(n){return!!n&&(!!Ve(n)||"object"==typeof e.props&&!Array.isArray(n))};return!(!e.componentName||!t(e.props))}function Oo(e){return!!jo(e)&&["Page","Block","Component"].includes(e.componentName)}function Eo(){try{return window.parent!==window&&window.parent.location.host===window.location.host}catch(e){return!1}}function Ho(e){var t;if(e)return("lce-"+e.replace(/([A-Z])/g,"-$1").toLowerCase()).split("-").filter((function(e){return!!e})).join("-")}function Po(e){return!!e&&("object"==typeof e&&!Array.isArray(e)&&[xo.JSSLOT,xo.JSBLOCK].includes(e.type))}function Ao(e,t,n){if(void 0===n&&(n={}),Array.isArray(e))return n;if(Object(bt.isEmpty)(e)||"object"!=typeof e)return n;var r=t.split(".").reduce((function(e,t){return e&&e[t]}),e);return void 0===r?n:r}function Co(e,t,n,r){return void 0===t&&(t={}),void 0===n&&(n="zh-CN"),void 0===r&&(r={}),r&&r[n]&&r[n][e]?new bo(r[n][e],n).format(t):"";var o}function No(e){var t,n,r,o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.forward_ref"):60112;return(null==e?void 0:e.$$typeof)===o||(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||(null==e||null===(n=e.prototype)||void 0===n?void 0:n.setState)||e._forwardRef}function Ro(e,t,n){if(void 0===n&&(n=!0),Object(bt.isEmpty)(e)||!Array.isArray(e))return{};var r={};return e.forEach((function(e){var o=e[t];void 0!==e[t]&&(r[o]&&!n||(r[o]=e))})),r}function Fo(e,t,n,r){var o,i=n;if("string"==typeof n&&(i=new Function('"use strict"; const PropTypes = arguments[0]; return '+n)(So)),!i||"function"!=typeof i)return console.warn("checkPropTypes should have a function type rule argument"),!0;var a=i(((o={})[t]=e,o),t,r,"prop",null,ko.a);return a&&console.warn(a),!a}function Io(e){return"string"!=typeof e?e:Eo()&&window.parent.__newFunc?window.parent.__newFunc('"use strict"; return '+e)():new Function('"use strict"; return '+e)()}function Wo(e,t,n){var r,o,i,a;void 0===n&&(n=!1),"object"==typeof e&&void 0===t?(r=e.str,o=e.self,i=e.thisRequired,a=e.logScope):(r=e,o=t,i=n);try{var s=['"use strict";',"var __self = arguments[0];"],u,c;return s.push("return "),u=(u=(r.value||"").trim()).replace(/this(\W|$)/g,(function(e,t){return"__self"+t})),u=s.join("\n")+u,Eo()&&window.parent.__newFunc?window.parent.__newFunc(u)(o):new Function("$scope","with("+(i?"{}":"$scope || {}")+") { "+u+" }")(o)}catch(e){var d,l;return void Pn.error((a||"")+" parseExpression.error",e,r,null!==(d=null===(l=o)||void 0===l?void 0:l.__self)&&void 0!==d?d:o)}}function Bo(e,t){return Wo(e,t,!0)}function Uo(e){return e&&zo(e)&&0!==e.length?e[0].toUpperCase()+e.slice(1):e}function zo(e){return"[object String]"==={}.toString.call(e)}function Vo(e){return!(!e||Array.isArray(e))&&("object"==typeof e&&"variable"===(null==e?void 0:e.type))}function Go(e,t){return Wo({type:xo.JSEXPRESSION,value:"this.i18n('"+e.key+"')"},t)}function Jo(e,t,n){!e||Array.isArray(e)||zo(e)||"object"!=typeof e||Object.keys(e).forEach((function(r){return t.call(n,e[r],r)}))}function $o(e,t,n){if(void 0===n&&(n={}),Ve(e))return Wo({str:e,self:t,thisRequired:n.thisRequiredInJSE,logScope:n.logScope});if(Ue(e))return Go(e,t);if("string"==typeof e)return e.trim();if(Array.isArray(e))return e.map((function(e){return $o(e,t,n)}));if("function"==typeof e)return e.bind(t);if("object"==typeof e){if(!e)return e;var r={};return Jo(e,(function(e,o){o.startsWith("__")||(r[o]=$o(e,t,n))})),r}return e}function qo(e){var t=[];return Jo(e,(function(e,n){null!=e&&""!==e&&("object"==typeof e?t.push(n+"="+encodeURIComponent(JSON.stringify(e))):t.push(n+"="+encodeURIComponent(e)))})),t.join("&")}var Ko="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ko&&Ko,Zo="URLSearchParams"in Ko,Xo="Symbol"in Ko&&"iterator"in Symbol,Qo="FileReader"in Ko&&"Blob"in Ko&&function(){try{return new Blob,!0}catch(e){return!1}}(),ei="FormData"in Ko,ti="ArrayBuffer"in Ko;function ni(e){return e&&DataView.prototype.isPrototypeOf(e)}if(ti)var ri=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],oi=ArrayBuffer.isView||function(e){return e&&ri.indexOf(Object.prototype.toString.call(e))>-1};function ii(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ai(e){return"string"!=typeof e&&(e=String(e)),e}function si(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Xo&&(t[Symbol.iterator]=function(){return t}),t}function ui(e){this.map={},e instanceof ui?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ci(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function di(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function li(e){var t=new FileReader,n=di(t);return t.readAsArrayBuffer(e),n}function fi(e){var t=new FileReader,n=di(t);return t.readAsText(e),n}function _i(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function hi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function mi(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Qo&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ei&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Zo&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ti&&Qo&&ni(e)?(this._bodyArrayBuffer=hi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ti&&(ArrayBuffer.prototype.isPrototypeOf(e)||oi(e))?this._bodyArrayBuffer=hi(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Zo&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Qo&&(this.blob=function(){var e=ci(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ci(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(li)}),this.text=function(){var e=ci(this);if(e)return e;if(this._bodyBlob)return fi(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_i(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ei&&(this.formData=function(){return this.text().then(gi)}),this.json=function(){return this.text().then(JSON.parse)},this}ui.prototype.append=function(e,t){e=ii(e),t=ai(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ui.prototype.delete=function(e){delete this.map[ii(e)]},ui.prototype.get=function(e){return e=ii(e),this.has(e)?this.map[e]:null},ui.prototype.has=function(e){return this.map.hasOwnProperty(ii(e))},ui.prototype.set=function(e,t){this.map[ii(e)]=ai(t)},ui.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ui.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),si(e)},ui.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),si(e)},ui.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),si(e)},Xo&&(ui.prototype[Symbol.iterator]=ui.prototype.entries);var pi=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function yi(e){var t=e.toUpperCase();return pi.indexOf(t)>-1?t:e}function vi(e,t){if(!(this instanceof vi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof vi){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ui(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ui(t.headers)),this.method=yi(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function gi(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function Mi(e){var t=new ui,n;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function bi(e,t){if(!(this instanceof bi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ui(t.headers),this.url=t.url||"",this._initBody(e)}vi.prototype.clone=function(){return new vi(this,{body:this._bodyInit})},mi.call(vi.prototype),mi.call(bi.prototype),bi.prototype.clone=function(){return new bi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ui(this.headers),url:this.url})},bi.error=function(){var e=new bi(null,{status:0,statusText:""});return e.type="error",e};var Li=[301,302,303,307,308];bi.redirect=function(e,t){if(-1===Li.indexOf(t))throw new RangeError("Invalid status code");return new bi(null,{status:t,headers:{location:e}})};var wi=Ko.DOMException;try{new wi}catch(e){(wi=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),wi.prototype.constructor=wi}function Yi(e,t){return new Promise((function(n,r){var o=new vi(e,t);if(o.signal&&o.signal.aborted)return r(new wi("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}function s(e){try{return""===e&&Ko.location.href?Ko.location.href:e}catch(t){return e}}i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:Mi(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;setTimeout((function(){n(new bi(t,e))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new wi("Aborted","AbortError"))}),0)},i.open(o.method,s(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(Qo?i.responseType="blob":ti&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ui?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,ai(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Yi.polyfill=!0,Ko.fetch||(Ko.fetch=Yi,Ko.Headers=ui,Ko.Request=vi,Ko.Response=bi);var ki=n(464),Di=n.n(ki);function Ti(e,t){var n=qo(t);return n?e.indexOf("?")>0?e+"&"+n:e+"?"+n:e}function Si(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r={});var o=g()({Accept:"application/json"},n),i;return ji(Ti(e,t),"GET",null,o,r)}function xi(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r={});var o=g()({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},n),i;return ji(e,"POST",o["Content-Type"].indexOf("application/json")>-1||Array.isArray(t)?JSON.stringify(t):qo(t),o,r)}function ji(e,t,n,r,o){void 0===t&&(t="GET"),void 0===r&&(r={}),void 0===o&&(o={});var i=r||{},a=n;return"PUT"!==t&&"DELETE"!==t||(i=g()({Accept:"application/json","Content-Type":"application/json"},i),a=JSON.stringify(a||{})),new Promise((function(n,r){o.timeout&&setTimeout((function(){r(new Error("timeout"))}),o.timeout),fetch(e,g()({method:t,credentials:"include",headers:i,body:a},o)).then((function(e){switch(e.status){case 200:case 201:case 202:return e.json();case 204:return"DELETE"===t?{success:!0}:{__success:!1,code:e.status};case 400:case 401:case 403:case 404:case 406:case 410:case 422:case 500:return e.json().then((function(t){return{__success:!1,code:e.status,data:t}})).catch((function(){return{__success:!1,code:e.status}}))}return null})).then((function(e){e?!1!==e.__success?n(e):(delete e.__success,r(e)):r(e)})).catch((function(e){r(e)}))}))}function Oi(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),new Promise((function(r,o){var i=g()({timeout:5e3},n),a=Ti(e,t);Di()(a,i).then((function(e){e.json()})).then((function(e){e?r(e):o()})).catch((function(e){o(e)}))}))}var Ei=["uri","url","method","headers","params"],Hi=["headers"],Pi="init",Ai="loading",Ci="loaded",Ni="error";function Ri(e,t){var n=t.uri,r=t.url,o=t.method,i=void 0===o?"GET":o,a=t.headers,s=t.params,u=y()(t,Ei);if(u=u||{},"jsonp"===e)return Oi(n,s,u);if("fetch"===e)switch(i.toUpperCase()){case"GET":return Si(n,s,a,u);case"POST":return xi(n,s,a,u);default:return ji(n,i,s,a,u)}Pn.log("Engine default dataSource does not support type:["+e+"] dataSource request!",t)}var Fi=function(){function e(e,t,n,r){this.host=void 0,this.config=void 0,this.parser=void 0,this.ajaxList=void 0,this.ajaxMap=void 0,this.dataSourceMap=void 0,this.appHelper=void 0,this.host=e,this.config=t||{},this.parser=r,this.ajaxList=(null==t?void 0:t.list)||[],this.ajaxMap=Ro(this.ajaxList,"id"),this.dataSourceMap=this.generateDataSourceMap(),this.appHelper=n}var t=e.prototype;return t.updateConfig=function e(t){var n,r=this;void 0===t&&(t={}),this.config=t,this.ajaxList=(null===(n=t)||void 0===n?void 0:n.list)||[];var o=Ro(this.ajaxList,"id");return Object.keys(this.ajaxMap).forEach((function(e){o[e]||delete r.dataSourceMap[e]})),this.ajaxMap=o,this.ajaxList.forEach((function(e){r.dataSourceMap[e.id]||(r.dataSourceMap[e.id]={status:Pi,load:function t(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.getDataSource.apply(r,[e.id].concat(o))}})})),this.dataSourceMap},t.generateDataSourceMap=function e(){var t=this,n={};return this.ajaxList.forEach((function(e){n[e.id]={status:Pi,load:function n(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t.getDataSource.apply(t,[e.id].concat(o))}}})),n},t.updateDataSourceMap=function e(t,n,r){this.dataSourceMap[t].error=r||void 0,this.dataSourceMap[t].data=n,this.dataSourceMap[t].status=r?Ni:Ci},t.getInitDataSourseConfigs=function e(){var t=this,n;return this.parser(this.ajaxList).filter((function(e){return!0===e.isInit&&(t.dataSourceMap[e.id].status=Ai,!0)}))},t.getInitData=function e(){var t=this,n=this.getInitDataSourseConfigs();return this.asyncDataHandler(n).then((function(e){var n=t.config.dataHandler;return t.handleData(null,n,e,null)}))},t.getDataSource=function e(t,n,r,o){var i=this.parser(this.ajaxMap[t]),a=i.options||{},s=o,u=r;"function"==typeof r&&(s=r,u={});var c=u||{},d=c.headers,l=y()(c,Hi);if(i)return this.asyncDataHandler([g()({},i,{options:g()({},a,{params:Array.isArray(a.params)||Array.isArray(n)?n||a.params:g()({},a.params,n),headers:g()({},a.headers,d)},l)})]).then((function(e){try{s&&s(e&&e[t])}catch(e){console.error("load\u8bf7\u6c42\u56de\u8c03\u51fd\u6570\u62a5\u9519",e)}return e&&e[t]})).catch((function(e){try{s&&s(null,e)}catch(e){console.error("load\u8bf7\u6c42\u56de\u8c03\u51fd\u6570\u62a5\u9519",e)}return e}));console.warn("getDataSource API named "+t+" not exist")},t.asyncDataHandler=function e(t){var n=this;return new Promise((function(e,r){var o=[];t.forEach((function(e){var t=e.id,n=e.type;t&&n&&"legao"!==n&&o.push(e)})),0===o.length&&e({});var i={};Promise.all(o.map((function(e){return new Promise((function(t){var r=e.type,o=e.id,a=e.dataHandler,s=e.options,u=function e(r,s){i[o]=n.handleData(o,a,r,s),n.updateDataSourceMap(o,i[o],s),t({})},c=function e(t,n){var r;null===(r=Ri(t,n))||void 0===r||r.then((function(e){u(e,void 0)})).catch((function(e){u(void 0,e)}))};n.dataSourceMap[o].status=Ai,c(r,s)}))}))).then((function(){e(i)})).catch((function(e){r(e)}))}))},t.handleData=function e(t,n,r,o){var i=n;if(Je(n)&&(i=Io(n.value)),!i||"function"!=typeof i)return r;try{return i.call(this.host,r,o)}catch(e){t?console.error("["+t+"]\u5355\u4e2a\u8bf7\u6c42\u6570\u636e\u5904\u7406\u51fd\u6570\u8fd0\u884c\u51fa\u9519",e):console.error("\u8bf7\u6c42\u6570\u636e\u5904\u7406\u51fd\u6570\u8fd0\u884c\u51fa\u9519",e)}},e}();function Ii(e){var t=f.getRuntime(),n=t.createElement,r=t.Component,o=t.forwardRef,i=function(t){function r(){return t.apply(this,arguments)||this}var o;return c()(r,t),r.prototype.render=function t(){return n(e,this.props)},r}(r);return i.displayName=e.displayName,ee(o((function(e,t){return n(i,g()({},e,{forwardRef:t}))})),e)}var Wi=["visible"],Bi=["forwardedRef"],Ui=function(e){return e.All="All",e.ChildChanged="ChildChanged",e.PropsChanged="PropsChanged",e.VisibleChanged="VisibleChanged",e.MinimalRenderUnit="MinimalRenderUnit",e}(Ui||{}),zi=function e(t,n){this.documentId=t,this.device=n,this.component=new Map,this.state=new Map,this.event=new Map,this.ref=new Map},Vi;function Gi(e){var t,n,r,o,i,a=e.schema,s=e.__debug,u=e.container,c=e.getNode,d=null==c?void 0:c(a.id);if(d&&(null===(t=Vi.event.get(a.id))||void 0===t||!t.clear)&&d!==Vi.event.get(a.id)){null===(n=Vi.event.get(a.id))||void 0===n||n.dispose.forEach((function(e){return e&&e()}));var l=Object(bt.debounce)((function(){u.rerender()}),20);Vi.event.set(a.id,{clear:!1,leaf:d,dispose:[null==d||null===(r=d.onPropChange)||void 0===r?void 0:r.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onPropsChange make rerender"),l())})),null==d||null===(o=d.onChildrenChange)||void 0===o?void 0:o.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onChildrenChange make rerender"),l())})),null==d||null===(i=d.onVisibleChange)||void 0===i?void 0:i.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onVisibleChange make rerender"),l())}))]})}}function Ji(e){var t,n,r;null!==(t=Vi.event.get(e))&&void 0!==t&&t.clear||(null===(n=Vi.event.get(e))||void 0===n||null===(r=n.dispose)||void 0===r||r.forEach((function(e){return e&&e()})),Vi.event.set(e,{clear:!0,dispose:[]}))}function $i(e,t){var n,r,o,i,a,s,u,d,l,_=t.schema,h=t.baseRenderer,m=t.componentInfo,p=t.scope,v=h.__debug,M=h.__getComponentProps,L=h.__getSchemaChildrenVirtualDom,w=h.__parseData,Y=h.context.engine,k=null===(n=h.props)||void 0===n?void 0:n.__host,D=null!==(r=null===(o=h.props)||void 0===o?void 0:o.documentId)&&void 0!==r?r:"",T=null!==(i=null===(a=h.props)||void 0===a?void 0:a.device)&&void 0!==i?i:"",S=null===(s=h.props)||void 0===s?void 0:s.getNode,j=null===(u=h.props)||void 0===u?void 0:u.__container,O=null===(d=h.props)||void 0===d?void 0:d.setSchemaChangedSymbol,E=null==k||null===(l=k.designer)||void 0===l?void 0:l.editor,H=f.getRuntime(),P=H.forwardRef,A=H.createElement,C=H.Component,N=_.id,R;(!Vi||D&&D!==Vi.documentId||T&&T!==Vi.device)&&(null===(R=Vi)||void 0===R||R.event.forEach((function(e){var t;null===(t=e.dispose)||void 0===t||t.forEach((function(e){return e&&e()}))})),Vi=new zi(D,T));if(ce(e)||console.error(_.componentName+" component may be has errors: ",e),Gi({schema:_,__debug:v,container:j,getNode:S}),D&&Vi.component.has(N))return Vi.component.get(N);var F=function(t){function n(n,r){var o;(o=t.call(this,n,r)||this).recordInfo={},o.curEventLeaf=void 0,o.disposeFunctions=[],o.__component_tag="leafWrapper",o.renderUnitInfo=void 0,o.makeUnitRenderDebounced=Object(bt.debounce)((function(){var t,n,r;o.beforeRender(Ui.MinimalRenderUnit);var i=null===(t=o.leaf)||void 0===t||null===(n=t.export)||void 0===n?void 0:n.call(t,x.IPublicEnumTransformStage.Render);if(i){var a=M(i,p,e,m),s,u={nodeProps:a,nodeChildren:L(i,p,e),childrenInState:!0};"children"in a&&(u.nodeChildren=a.children),v((null===(r=o.leaf)||void 0===r?void 0:r.componentName)+"("+o.props.componentId+") MinimalRenderUnit Render!"),o.setState(u)}}),20),o.recordTime=function(){var e,t,n,r,i;if(o.recordInfo.startTime){var a=Date.now(),s=null==k||null===(e=k.designer)||void 0===e||null===(t=e.currentDocument)||void 0===t||null===(n=t.getNodeCount)||void 0===n?void 0:n.call(t),u=(null===(r=o.recordInfo.node)||void 0===r?void 0:r.componentName)||(null===(i=o.leaf)||void 0===i?void 0:i.componentName)||"UnknownComponent";null==E||E.eventBus.emit(x.GlobalEvent.Node.Rerender,{componentName:u,time:a-o.recordInfo.startTime,type:o.recordInfo.type,nodeCount:s}),o.recordInfo.startTime=null}},o.makeUnitRender=function(){o.makeUnitRenderDebounced()},v(_.componentName+"["+o.props.componentId+"] leaf render in SimulatorRendererView"),Ji(N),o.curEventLeaf=o.leaf,Vi.ref.set(N,{makeUnitRender:o.makeUnitRender});var i=Vi.state.get(N);return i&&i.__tag===n.__tag||(i=o.getDefaultState(n)),o.state=i,o}c()(n,t);var r=n.prototype;return r.componentDidUpdate=function e(){this.recordTime()},r.componentDidMount=function e(){var t=this.leaf;this.initOnPropsChangeEvent(t),this.initOnChildrenChangeEvent(t),this.initOnVisibleChangeEvent(t),this.recordTime()},r.getDefaultState=function e(t){var n,r,o=t.__inner__||(null===(n=this.leaf)||void 0===n||null===(r=n.export)||void 0===r?void 0:r.call(n,x.IPublicEnumTransformStage.Render))||{},i=o.hidden,a=void 0!==i&&i,s=o.condition,u;return{nodeChildren:null,childrenInState:!1,visible:!a,condition:null==w?void 0:w(void 0===s||s,p),nodeCacheProps:{},nodeProps:{}}},r.setState=function e(n){Vi.state.set(N,g()({},this.state,n,{__tag:this.props.__tag})),t.prototype.setState.call(this,n)},r.beforeRender=function e(t,n){this.recordInfo.startTime=Date.now(),this.recordInfo.type=t,this.recordInfo.node=n,null==O||O(!0)},r.judgeMiniUnitRender=function e(){var t;this.renderUnitInfo||this.getRenderUnitInfo();var n=this.renderUnitInfo||{singleRender:!0};if(!n.singleRender){var r=Vi.ref.get(n.minimalUnitId);if(!r)return v("Cant find minimalRenderUnit ref! This make rerender!"),void(null==j||j.rerender());v((null===(t=this.leaf)||void 0===t?void 0:t.componentName)+"("+this.props.componentId+") need render, make its minimalRenderUnit "+n.minimalUnitName+"("+n.minimalUnitId+")"),r.makeUnitRender()}},r.getRenderUnitInfo=function e(t){if(void 0===t&&(t=this.leaf),t&&"function"==typeof t.isRoot){var n,r,o,i;if(t.isRootNode&&(this.renderUnitInfo=g()({singleRender:!0},this.renderUnitInfo||{})),t.componentMeta.isMinimalRenderUnit&&(this.renderUnitInfo={minimalUnitId:t.id,minimalUnitName:t.componentName,singleRender:!1}),t.hasLoop())this.renderUnitInfo={minimalUnitId:null===(n=t)||void 0===n||null===(r=n.parent)||void 0===r?void 0:r.id,minimalUnitName:null===(o=t)||void 0===o||null===(i=o.parent)||void 0===i?void 0:i.componentName,singleRender:!1};t.parent&&this.getRenderUnitInfo(t.parent)}},r.componentWillReceiveProps=function e(t){var n=t.componentId;if(t.__tag===this.props.__tag)return null;var r=null==S?void 0:S(n);r&&this.curEventLeaf&&r!==this.curEventLeaf&&(this.disposeFunctions.forEach((function(e){return e()})),this.disposeFunctions=[],this.initOnChildrenChangeEvent(r),this.initOnPropsChangeEvent(r),this.initOnVisibleChangeEvent(r),this.curEventLeaf=r);var o=this.getDefaultState(t),i=o.visible,a=y()(o,Wi);this.setState(a)},r.initOnPropsChangeEvent=function t(n){var r=this,o,i;void 0===n&&(n=this.leaf);var a=Object(bt.debounce)((function(t){var o,i,a=t.key,s=t.newValue,u=void 0===s?null:s,c=n;if("___condition___"===a){var d,l,f=((null===(d=r.leaf)||void 0===d?void 0:d.export(x.IPublicEnumTransformStage.Render))||{}).condition,_=void 0===f||f,h=null==w?void 0:w(_,p);return v("key is ___condition___, change condition value to ["+_+"]"),void r.setState({condition:h})}if("___loop___"===a)return v("key is ___loop___, render a page!"),null==j||j.rerender(),void Vi.component.delete(N);r.beforeRender(Ui.PropsChanged);var y,g=r.state.nodeCacheProps,b=M(null==c||null===(o=c.export)||void 0===o?void 0:o.call(c,x.IPublicEnumTransformStage.Render),p,e,m);a&&!(a in b)&&a in r.props&&(g[a]=u),v((null===(i=n)||void 0===i?void 0:i.componentName)+"["+r.props.componentId+"] component trigger onPropsChange!",b,g,a,u),r.setState("children"in b?{nodeChildren:b.children,nodeProps:b,childrenInState:!0,nodeCacheProps:g}:{nodeProps:b,nodeCacheProps:g}),r.judgeMiniUnitRender()})),s=null===(o=n)||void 0===o||null===(i=o.onPropChange)||void 0===i?void 0:i.call(o,(function(e){r.autoRepaintNode&&a(e)}));s&&this.disposeFunctions.push(s)},r.initOnVisibleChangeEvent=function e(t){var n,r,o=this;void 0===t&&(t=this.leaf);var i=null===(n=t)||void 0===n||null===(r=n.onVisibleChange)||void 0===r?void 0:r.call(n,(function(e){var n;o.autoRepaintNode&&o.state.visible!==e&&(v((null===(n=t)||void 0===n?void 0:n.componentName)+"["+o.props.componentId+"] component trigger onVisibleChange("+e+") event"),o.beforeRender(Ui.VisibleChanged),o.setState({visible:e}),o.judgeMiniUnitRender())}));i&&this.disposeFunctions.push(i)},r.initOnChildrenChangeEvent=function t(n){var r,o,i=this;void 0===n&&(n=this.leaf);var a=null===(r=n)||void 0===r||null===(o=r.onChildrenChange)||void 0===o?void 0:o.call(r,(function(t){var r,o;if(i.autoRepaintNode){var a=t||{},s=a.type,u=a.node;i.beforeRender(Ui.ChildChanged+"-"+s,u);var c=L(null===(r=n)||void 0===r||null===(o=r.export)||void 0===o?void 0:o.call(r,x.IPublicEnumTransformStage.Render),p,e);v(_.componentName+"["+i.props.componentId+"] component trigger onChildrenChange event",c),i.setState({nodeChildren:c,childrenInState:!0}),i.judgeMiniUnitRender()}}));a&&this.disposeFunctions.push(a)},r.componentWillUnmount=function e(){this.disposeFunctions.forEach((function(e){return e()}))},r.render=function t(){if(!this.state.visible||!this.state.condition)return null;var n=this.props,r=n.forwardedRef,o=y()(n,Bi),i=g()({},o,this.state.nodeCacheProps||{},this.state.nodeProps||{},{children:[],__id:this.props.componentId,ref:r});return delete i.__inner__,Y.createElement(e,i,this.hasChildren?this.children:null)},b()(n,[{key:"autoRepaintNode",get:function e(){return null==j?void 0:j.autoRepaintNode}},{key:"hasChildren",get:function e(){var t=this.props.children;return this.state.childrenInState&&(t=this.state.nodeChildren),Array.isArray(t)?Boolean(t&&t.length):Boolean(t)}},{key:"children",get:function e(){return this.state.childrenInState?this.state.nodeChildren:this.props.children&&!Array.isArray(this.props.children)?[this.props.children]:this.props.children&&this.props.children.length?this.props.children:[]}},{key:"leaf",get:function e(){var t;if(null===(t=this.props._leaf)||void 0===t||!t.isMock)return null==S?void 0:S(N)}}]),n}(C);F.displayName=_.componentName;var I=P((function(e,t){return A(F,g()({},e,{forwardedRef:t}))}));return(I=ee(I,e)).displayName=e.displayName,Vi.component.set(N,I),I}function qi(e,t){return!!Ve(e)||!!Array.isArray(e)&&(!t||e.length>0)}var Ki=["ref"];function Zi(e,t,n,r,o){if(e&&jo(t)&&n){var i,a=Ao(t,"lifeCycles",{})[n];if(a)if((Ve(a)||Je(a))&&(a=o?Bo(a,e):Wo(a,e)),"function"==typeof a)try{return a.apply(e,r)}catch(e){console.error("["+t.componentName+"]\u751f\u547d\u5468\u671f"+n+"\u51fa\u9519",e)}else console.error("\u751f\u547d\u5468\u671f"+n+"\u7c7b\u578b\u4e0d\u7b26",a)}}function Xi(e){if(e){if(!e.props)return e.children;if(!e.children)return e.props.children;if(!e.props.children)return e.children;var t=[].concat(e.children);return Array.isArray(e.props.children)?t=t.concat(e.props.children):t.push(e.props.children),t}}function Qi(){var e,t,n=f.getRenderers().BaseRenderer;if(n)return n;var r=f.getRuntime(),o=r.Component,i=r.createElement,a=xn(),s=Hn(),u=_(),d={EXTEND:"extend",BORDER:"border",PREVIEW:"preview"},l=["Dialog","Overlay","Animate","ConfigProvider"],h="item",p="index",v=0;return(e=function(e){function t(t,n){var r,o;return(o=e.call(this,t,n)||this).appHelper=void 0,o.i18n=void 0,o.getLocale=void 0,o.setLocale=void 0,o.dataSourceMap={},o.__namespace="base",o.__compScopes={},o.__instanceMap={},o.__dataHelper=void 0,o.__customMethodsList=[],o.__parseExpression=void 0,o.__ref=void 0,o.__styleElement=void 0,o.reloadDataSource=function(){return new Promise((function(e,t){if(o.__debug("reload data source"),!o.__dataHelper)return e({});o.__dataHelper.getInitData().then((function(t){if(Object(bt.isEmpty)(t))return o.forceUpdate(),e({});o.setState(t,e)})).catch((function(e){t(e)}))}))},o.__executeLifeCycleMethod=function(e,t){Zi(w()(o),o.props.__schema,e,t,o.props.thisRequiredInJSE)},o._getComponentView=function(e){var t=o.props.__components;if(t)return t[e]},o.__bindCustomMethods=function(e){var t=e.__schema,n=Object.keys(t.methods||{})||[];(o.__customMethodsList||[]).forEach((function(e){n.includes(e)||delete o[e]})),o.__customMethodsList=n,Jo(t.methods,(function(e,t){var n=e;(Ve(n)||Je(n))&&(n=o.__parseExpression(n,w()(o))),"function"==typeof n?o[t]=n.bind(w()(o)):console.error("custom method "+t+" can not be parsed to a valid function",n)}))},o.__generateCtx=function(e){var t=o.context,n=t.pageContext,r=t.compContext,i;Jo(g()({page:n,component:r},e),(function(e,t){o[t]=e}))},o.__parseData=function(e,t){var n=o.props,r=n.__ctx,i=n.thisRequiredInJSE,a=n.componentName;return $o(e,t||r||w()(o),{thisRequiredInJSE:i,logScope:a})},o.__initDataSource=function(e){var t;if(e){var n,r={list:[]},i=(e.__schema||{}).dataSource||r,a;if(!(null===(t=e.__appHelper)||void 0===t||!t.requestHandlersMap))o.__dataHelper={updateConfig:function t(n){var r=Object(S.create)(null!=n?n:{},w()(o),e.__appHelper.requestHandlersMap?{requestHandlersMap:e.__appHelper.requestHandlersMap}:void 0),i=r.dataSourceMap,a=r.reloadDataSource;return o.reloadDataSource=function(){return new Promise((function(e){o.__debug("reload data source"),a().then((function(){e({})}))}))},i}},o.dataSourceMap=o.__dataHelper.updateConfig(i);else{var s=e.__appHelper;o.__dataHelper=new Fi(w()(o),i,s,(function(e){return o.__parseData(e)})),o.dataSourceMap=o.__dataHelper.dataSourceMap,o.reloadDataSource=function(){return new Promise((function(e,t){if(o.__debug("reload data source"),!o.__dataHelper)return e({});o.__dataHelper.getInitData().then((function(t){if(Object(bt.isEmpty)(t))return e({});o.setState(t,e)})).catch((function(e){t(e)}))}))}}}},o.__initI18nAPIs=function(){o.i18n=function(e,t){void 0===t&&(t={});var n=o.props,r,i;return Co(e,t,n.locale,n.messages)},o.getLocale=function(){return o.props.locale},o.setLocale=function(e){var t,n,r,i=null===(t=o.appHelper)||void 0===t||null===(n=t.utils)||void 0===n||null===(r=n.i18n)||void 0===r?void 0:r.setLocale;if(i&&"function"==typeof i)return i(e);console.warn("initI18nAPIs Failed, i18n only works when appHelper.utils.i18n.setLocale() exists")}},o.__writeCss=function(e){var t=Ao(e.__schema,"css","");o.__debug("create this.styleElement with css",t);var n=o.__styleElement,r;o.__styleElement||((n=document.createElement("style")).type="text/css",n.setAttribute("from","style-sheet"),(document.head||document.getElementsByTagName("head")[0]).appendChild(n),o.__styleElement=n,o.__debug("this.styleElement is created",o.__styleElement));n.innerHTML!==t&&(n.innerHTML=t)},o.__render=function(){var e=o.props.__schema;o.__executeLifeCycleMethod("render"),o.__writeCss(o.props);var t=o.context.engine,n;t&&(t.props.onCompGetCtx(e,w()(o)),o.__designModeIsDesign&&(o.__bindCustomMethods(o.props),o.dataSourceMap=null===(n=o.__dataHelper)||void 0===n?void 0:n.updateConfig(e.dataSource)))},o.__getRef=function(e){var t,n=o.context.engine,r=o.props.__schema;e&&(null==n||null===(t=n.props)||void 0===t||t.onCompGetRef(r,e)),o.__ref=e},o.__createDom=function(){var e=o.props,t=e.__schema,n=e.__ctx,r=e.__components,i=void 0===r?{}:r,a={};a.__proto__=n||w()(o);var s=Xi(t),u=i[t.componentName];u||o.__debug(t.componentName+" is invalid!");var c={schema:t,Comp:o.__getHOCWrappedComponent(u,t,a)};return o.__createVirtualDom(s,a,c)},o.__createVirtualDom=function(e,t,n,r){if(void 0===r&&(r=""),!e)return null;var u=t,c=e,f,_=(o.context||{}).engine;if(!_)return o.__debug("this.context.engine is invalid!"),null;try{var h,m,p,M,b,L,Y=o.props||{},k=Y.__appHelper,D=Y.__components,T=void 0===D?{}:D;if(Ve(c))return o.__parseExpression(c,u);if(Ue(c))return Go(c,u);if(Po(c))return o.__createVirtualDom(c.value,u,n);if("string"==typeof c)return c;if("number"==typeof c||"boolean"==typeof c)return String(c);if(Array.isArray(c))return 1===c.length?o.__createVirtualDom(c[0],u,n):c.map((function(e,t){var r;return o.__createVirtualDom(e,u,n,null!=e&&null!==(r=e.__ctx)&&void 0!==r&&r.lceKey?"":String(t))}));if(c.$$typeof)return c;var S=Xi(c);if(!c.componentName)return void Pn.error("The componentName in the schema is invalid, please check the schema: ",c);if("Fragment"===c.componentName&&S){var x=Ve(S)?o.__parseExpression(S,u):S;return o.__createVirtualDom(x,u,n)}if("Text"===c.componentName&&"string"==typeof(null===(h=c.props)||void 0===h?void 0:h.text)){var j,O=null===(j=c.props)||void 0===j?void 0:j.text;(c=g()({},c)).children=[O]}if(!jo(c))return null;var E=T[c.componentName]||(null===(m=o.props.__container)||void 0===m||null===(p=m.components)||void 0===p?void 0:p[c.componentName]),H=Oo(c)?{__schema:c,__appHelper:k,__components:T}:{},P;if(!E)return console.error(c.componentName+" component is not found in components list! component list is:",T||(null===(P=o.props.__container)||void 0===P?void 0:P.components)),_.createElement(_.getNotFoundComponent(),{componentName:c.componentName,componentId:c.id,enableStrictNotFoundMode:_.props.enableStrictNotFoundMode,ref:function e(t){var n;t&&(null===(n=_.props)||void 0===n||n.onCompGetRef(c,t))}},o.__getSchemaChildrenVirtualDom(c,u,E));if(null!=c.loop){var A=o.__parseData(c.loop,u),C;if(qi(A,o.__designModeIsDesign))return o.__createLoopVirtualDom(g()({},c,{loop:A}),u,n,r)}var N=null==c.condition||o.__parseData(c.condition,u),R=o.__designModeIsDesign;if(!N&&!R)return null;var F="";if(E.generateScope){var I,W=o.__parseExpression(null===(I=c.props)||void 0===I?void 0:I.key,u);W?F=W:c.__ctx?F=c.__ctx.lceKey+(void 0!==r?"_"+r:""):(c.__ctx={lceKey:"lce"+ ++v},F=c.__ctx.lceKey),o.__compScopes[F]||(o.__compScopes[F]=E.generateScope(w()(o),c))}if(F&&o.__compScopes[F]){var B=g()({},o.__compScopes[F]);B.__proto__=u,u=B}null!==(M=_.props)&&void 0!==M&&M.designMode&&(H.__designMode=_.props.designMode),o.__designModeIsDesign&&(H.__tag=Math.random());var U={},z=o.__getComponentProps(c,u,E,g()({},U,{props:Ro(U.props,"name")}))||{};if(o.__componentHOCs.forEach((function(e){E=e(E,{schema:c,componentInfo:U,baseRenderer:w()(o),scope:u})})),No(E)||(E=Ii(E),T[c.componentName]=E),H.ref=function(e){var t;o.$(z.fieldId||z.ref,e);var n=z.ref;n&&"string"==typeof n&&(o[n]=e),e&&(null===(t=_.props)||void 0===t||t.onCompGetRef(c,e))},F&&o.__compScopes[F]&&(z.__scope=o.__compScopes[F]),null!==(b=c)&&void 0!==b&&null!==(L=b.__ctx)&&void 0!==L&&L.lceKey){var V;if(!Oo(c))null===(V=_.props)||void 0===V||V.onCompGetCtx(c,u);z.key=z.key||c.__ctx.lceKey+"_"+(c.__ctx.idx||0)+"_"+(void 0!==r?r:"")}else"number"!=typeof r&&"string"!=typeof r||z.key||(z.key=r);z.__id=c.id,z.key||(z.key=z.__id);var G=o.__getSchemaChildrenVirtualDom(c,u,E),J=function e(t){return _.createElement(E,t,G)};if(_&&[d.EXTEND,d.BORDER].includes(_.props.designMode)){if(l.includes(c.componentName)){var $=H.ref,q=y()(H,Ki);return i(a,{ref:$,__designMode:_.props.designMode},J(g()({},z,q)))}if(null!=U&&U.parentRule){var K=U.parentRule.split(","),Z=n.schema,X=void 0===Z?{componentName:""}:Z,Q=n.Comp;K.includes(X.componentName)&&Q===T[X.componentName]?z.__disableDesignMode=!0:(z.__componentName=c.componentName,E=s)}}return J(g()({},z,H,{__inner__:{hidden:c.hidden,condition:N}}))}catch(e){return _.createElement(_.getFaultComponent(),{error:e,schema:c,self:u,parentInfo:n,idx:r})}},o.__getSchemaChildrenVirtualDom=function(e,t,n){var r=Xi(e),i=[];return r&&(Array.isArray(r)||(r=[r]),r.forEach((function(r){var a=o.__createVirtualDom(Ve(r)?o.__parseExpression(r,t):r,t,{schema:e,Comp:n});i.push(a)}))),i&&i.length>0?i:null},o.__getComponentProps=function(e,t,n,r){return e&&o.__parseProps(null==e?void 0:e.props,t,"",{schema:e,Comp:n,componentInfo:g()({},r||{},{props:Ro((r||{}).props,"name")})})||{}},o.__createLoopVirtualDom=function(e,t,n,r){if(Oo(e))return console.warn("file type not support Loop"),null;if(!Array.isArray(e.loop))return null;var i=e.loopArgs&&e.loopArgs[0]||"item",a=e.loopArgs&&e.loopArgs[1]||"index",s;return e.loop.map((function(s,u){var c,d,l,f=((c={})[i]=s,c[a]=u,c);return f.__proto__=t,o.__createVirtualDom(g()({},e,{loop:void 0,props:g()({},e.props,{key:Ve(null===(d=e.props)||void 0===d?void 0:d.key)?null===(l=e.props)||void 0===l?void 0:l.key:null})}),f,n,r?r+"_"+u:u)}))},o.__parseProps=function(e,t,n,r){var i,a=e,s=r.schema,u=r.Comp,c=r.componentInfo,d=void 0===c?{}:c,l=Ao(d.props,n),f=null==l||null===(i=l.extra)||void 0===i?void 0:i.propType,_=function e(t){return f?Fo(t,n,f,d.name)?t:void 0:t},h=function e(n,r){if(Object(bt.isEmpty)(r)){var i=o.__createVirtualDom(n,t,{schema:s,Comp:u});return _(i)}return _((function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a={};return Array.isArray(r)&&r.length&&r.forEach((function(e,t){"string"==typeof e?a[e]=o[t]:e&&"object"==typeof e&&(a[e.name]=o[t])})),a.__proto__=t,t.__createVirtualDom(n,a,{schema:s,Comp:u})}))};if(Ve(a)&&!jo(a=o.__parseExpression(a,t))&&!Po(a))return _(a);var m=function e(t){return t[t.use||o.getLocale&&o.getLocale()||"zh-CN"]};if(Ue(a)){var p=m(a);if(!p)return Go(a,t);a=p}if(Vo(a)&&Ue(a=a.value)&&(a=m(a)),Je(a)&&(a=Io(a.value)),Po(a)){var y=a,v=y.params,g=y.value;if(!jo(g)||Object(bt.isEmpty)(g))return;return h(g,v)}if(jo(a)){var M,b,L,w,Y,k=!("ReactNode"!==(null==l?void 0:l.type)||"function"!==(null==l||null===(M=l.props)||void 0===M?void 0:M.type)),D=!!("Mixin"===(null==l?void 0:l.type)&&(null==l||null===(b=l.props)||void 0===b||null===(L=b.types)||void 0===L?void 0:L.indexOf("ReactNode"))>-1&&"function"===(null==l||null===(w=l.props)||void 0===w||null===(Y=w.reactNodeProps)||void 0===Y?void 0:Y.type)),T=null,S;if(k)T=null==l||null===(S=l.props)||void 0===S?void 0:S.params;else if(D){var x,j;T=null==l||null===(x=l.props)||void 0===x||null===(j=x.reactNodeProps)||void 0===j?void 0:j.params}return h(a,T)}if(Array.isArray(a))return _(a.map((function(e,i){return o.__parseProps(e,t,n?n+"."+i:""+i,r)})));if("function"==typeof a)return _(a.bind(t));if(a&&"object"==typeof a){if(a.$$typeof)return _(a);var O={};return Jo(a,(function(e,i){i.startsWith("__")?O[i]=e:O[i]=o.__parseProps(e,t,n?n+"."+i:i,r)})),_(O)}return _("string"==typeof a?a.trim():a)},o.__debug=function(){Pn.debug.apply(Pn,arguments)},o.__renderContextProvider=function(e,t){return i(u.Provider,{value:g()({},o.context,{blockContext:w()(o)},e||{}),children:t||o.__createDom()})},o.__renderContextConsumer=function(e){return i(u.Consumer,{},e)},o.__checkSchema=function(e,t){var n;void 0===t&&(t=[]);var r=t;"string"==typeof r&&(r=[r]);var i,a=[Uo(o.__namespace)].concat(r);return!jo(e)||!a.includes(null!==(n=null==e?void 0:e.componentName)&&void 0!==n?n:"")},o.context=n,o.__parseExpression=function(e,n){return Wo({str:e,self:n,thisRequired:null==t?void 0:t.thisRequiredInJSE,logScope:t.componentName})},o.__beforeInit(t),o.__init(t),o.__afterInit(t),o.__debug("constructor - "+(null==t||null===(r=t.__schema)||void 0===r?void 0:r.fileName)),o}c()(t,e);var n=t.prototype;return n.__beforeInit=function e(t){},n.__init=function e(t){this.appHelper=t.__appHelper,this.__compScopes={},this.__instanceMap={},this.__bindCustomMethods(t),this.__initI18nAPIs()},n.__afterInit=function e(t){},t.getDerivedStateFromProps=function e(t,n){return Zi(this,null==t?void 0:t.__schema,"getDerivedStateFromProps",[t,n],t.thisRequiredInJSE)},n.getSnapshotBeforeUpdate=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("getSnapshotBeforeUpdate",o),this.__debug("getSnapshotBeforeUpdate - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 3:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidMount=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(this.reloadDataSource(),r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("componentDidMount",o),this.__debug("componentDidMount - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 4:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){var t,n,r,o=arguments;return k.a.wrap((function e(i){for(;;)switch(i.prev=i.next){case 0:for(t=o.length,n=new Array(t),r=0;r<t;r++)n[r]=o[r];this.__executeLifeCycleMethod("componentDidUpdate",n),this.__debug("componentDidUpdate - "+this.props.__schema.fileName);case 3:case"end":return i.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("componentWillUnmount",o),this.__debug("componentWillUnmount - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 3:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function(){var e=m()(k.a.mark((function e(){var t,n,r,o=arguments;return k.a.wrap((function e(i){for(;;)switch(i.prev=i.next){case 0:for(t=o.length,n=new Array(t),r=0;r<t;r++)n[r]=o[r];this.__executeLifeCycleMethod("componentDidCatch",n),console.warn(n);case 3:case"end":return i.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.shouldComponentUpdate=function e(){var t,n,r,o;return null===(t=(n=this.props).getSchemaChangedSymbol)||void 0===t||!t.call(n)||null===(r=this.props.__container)||void 0===r||!r.rerender||(null===(o=this.props.__container)||void 0===o||o.rerender(),!1)},n.forceUpdate=function t(){this.shouldComponentUpdate()&&e.prototype.forceUpdate.call(this)},n.$=function e(t,n){return this.__instanceMap=this.__instanceMap||{},t&&"string"==typeof t?(n&&(this.__instanceMap[t]=n),this.__instanceMap[t]):this.__instanceMap},n.__getHOCWrappedComponent=function e(t,n,r){var o=this,i=t;return this.__componentHOCs.forEach((function(e){i=e(i||a,{schema:n,componentInfo:{},baseRenderer:o,scope:r})})),i},n.__renderComp=function e(t,n){var r=t,o=this.props,i=o.__schema,a=o.__ctx,s={};s.__proto__=a||this,r=this.__getHOCWrappedComponent(r,i,s);var u=this.__parseProps(null==i?void 0:i.props,s,"",{schema:i,Comp:r,componentInfo:{}}),c=u.className,d={},l,f=(this.context||{}).engine;if(!f)return null;this.__designModeIsDesign&&(d.__tag=Math.random());var _=f.createElement(r,g()({},u,this.props,{ref:this.__getRef,className:T()(Ho(null==i?void 0:i.fileName),c,this.props.className),__id:null==i?void 0:i.id},d),this.__createDom());return this.__renderContextProvider(n,_)},n.__renderContent=function e(t){var n=this.props.__schema,r=this.__parseData(n.props),o=T()("lce-"+this.__namespace,Ho(n.fileName),r.className,this.props.className),a=g()({},r.style||{},"object"==typeof this.props.style?this.props.style:{}),s=this.props.id||r.id;return i("div",{ref:this.__getRef,className:o,id:s,style:a},t)},n.render=function e(){return null},b()(t,[{key:"__componentHOCs",get:function e(){return this.__designModeIsDesign?[$i]:[]}},{key:"__designModeIsDesign",get:function e(){var t,n,r=(this.context||{}).engine;return"design"===(null==r||null===(t=r.props)||void 0===t?void 0:t.designMode)}},{key:"requestHandlersMap",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.requestHandlersMap}},{key:"utils",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.utils}},{key:"constants",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.constants}},{key:"history",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.history}},{key:"location",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.location}},{key:"match",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.match}}]),t}(o)).displayName="BaseRenderer",e.defaultProps={__schema:{}},e.contextType=u,e}var ea=un({level:"warn",bizName:"renderer-core:page"});function ta(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="page",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({page:this});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];this.__executeLifeCycleMethod("constructor",[t].concat(o))},n.componentDidUpdate=function(){var t=m()(k.a.mark((function t(n,r,o){var i,a,s;return k.a.wrap((function t(u){for(;;)switch(u.prev=u.next){case 0:a=this.props.__ctx,JSON.stringify(n.__schema.state)!=JSON.stringify(this.props.__schema.state)&&(s=this.__parseData(this.props.__schema.state,a),this.setState(s)),null===(i=e.prototype.componentDidUpdate)||void 0===i||i.call(this,n,r,o);case 3:case"end":return u.stop()}}),t,this)})));function n(e,n,r){return t.apply(this,arguments)}return n}(),n.setState=function t(n,r){ea.info("page set state",n),e.prototype.setState.call(this,n,r)},n.render=function e(){var n=this.props,r=n.__schema,o=n.__components;if(this.__checkSchema(r))return"\u9875\u9762schema\u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+r.fileName),this.__bindCustomMethods(this.props),this.__initDataSource(this.props),this.__generateCtx({page:this}),this.__render();var i=o.Page;return i?this.__renderComp(i,{pageContext:this}):this.__renderContent(this.__renderContextProvider({pageContext:this}))},t}(Qi())).displayName="PageRenderer",e}function na(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="component",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({component:this});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t),this.__executeLifeCycleMethod("constructor",arguments)},n.render=function e(){var n,r=this.props,o=r.__schema,i=r.__components;if(this.__checkSchema(o))return"\u81ea\u5b9a\u4e49\u7ec4\u4ef6 schema \u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+o.fileName),this.__generateCtx({component:this}),this.__render();var a=this.__parseData(null===(n=o.props)||void 0===n?void 0:n.noContainer);if(this.__bindCustomMethods(this.props),a)return this.__renderContextProvider({compContext:this});var s=null==i?void 0:i[null==o?void 0:o.componentName];return s?this.__renderComp(s,this.__renderContextProvider({compContext:this})):this.__renderContent(this.__renderContextProvider({compContext:this}))},n.getComponentName=function e(){var t;return null===(t=this.props)||void 0===t?void 0:t.componentName},n.componentDidMount=function e(){this.__debug("componentDidMount - "+this.getComponentName())},n.getSnapshotBeforeUpdate=function e(){this.__debug("getSnapshotBeforeUpdate - "+this.getComponentName())},n.componentDidUpdate=function e(){this.__debug("componentDidUpdate - "+this.getComponentName())},n.componentWillUnmount=function e(){this.__debug("componentWillUnmount - "+this.getComponentName())},n.componentDidCatch=function e(){this.__debug("componentDidCatch - "+this.getComponentName())},t}(Qi())).displayName="CompRenderer",e}function ra(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="block",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t),this.__executeLifeCycleMethod("constructor",Array.prototype.slice.call(arguments))},n.render=function e(){var n=this.props,r=n.__schema,o=n.__components;if(this.__checkSchema(r,"Div"))return"\u533a\u5757 schema \u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+(null==r?void 0:r.fileName)),this.__generateCtx({}),this.__render();var i=o.Block;return i?this.__renderComp(i,{}):this.__renderContent(this.__renderContextProvider())},t}(Qi())).displayName="BlockRenderer",e}function oa(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="addon",t.addonKey=void 0,t.appHelper=void 0,t.open=void 0,t.close=void 0,t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){var n;this.__generateCtx({component:this});var r=t.__schema||{};if(this.state=this.__parseData(r.state||{}),Object(bt.isEmpty)(t.config)||null===(n=t.config)||void 0===n||!n.addonKey)return console.warn("lce addon has wrong config"),void this.setState({__hasError:!0});this.addonKey=t.config.addonKey,this.appHelper.addons=this.appHelper.addons||{},this.appHelper.addons[this.addonKey]=this,this.__initDataSource(t),this.open=this.open||function(){},this.close=this.close||function(){},this.__executeLifeCycleMethod("constructor",Array.prototype.slice.call(arguments))},n.componentWillUnmount=function(){var t=m()(k.a.mark((function t(){var n,r,o=arguments;return k.a.wrap((function t(i){for(;;)switch(i.prev=i.next){case 0:null===(n=e.prototype.componentWillUnmount)||void 0===n||n.apply(this,Array.prototype.slice.call(o)),(r=this.props.config||{})&&this.appHelper.addons&&delete this.appHelper.addons[r.addonKey];case 3:case"end":return i.stop()}}),t,this)})));function n(){return t.apply(this,arguments)}return n}(),n.render=function e(){var n=this.props.__schema;return this.__checkSchema(n)?"\u63d2\u4ef6 schema \u7ed3\u6784\u5f02\u5e38\uff01":(this.__debug(t.displayName+" render - "+n.fileName),this.__generateCtx({component:this}),this.__render(),this.__renderContent(this.__renderContextProvider({compContext:this})))},b()(t,[{key:"utils",get:function e(){var t,n=(this.context.config||{}).utils,r=void 0===n?{}:n;return g()({},this.appHelper.utils,r)}}]),t}(Qi())).displayName="AddonRenderer",e.propTypes={config:On.a.object,__schema:On.a.object},e.defaultProps={config:{},__schema:{}},e}function ia(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="temp",t.cacheSetState=void 0,t}c()(t,e);var n=t.prototype;return n.__init=function e(){this.state={},this.cacheSetState={}},n.componentDidMount=function(){var e=m()(k.a.mark((function e(){var t=this,n,r;return k.a.wrap((function e(o){for(;;)switch(o.prev=o.next){case 0:if(n=this.props.__ctx){o.next=3;break}return o.abrupt("return");case 3:r=n.setState,this.cacheSetState=r,n.setState=function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];r.call.apply(r,[n].concat(o)),setTimeout((function(){return t.forceUpdate()}),0)},this.__debug("componentDidMount - "+this.props.__schema.fileName);case 7:case"end":return o.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){return k.a.wrap((function e(t){for(;;)switch(t.prev=t.next){case 0:this.__debug("componentDidUpdate - "+this.props.__schema.fileName);case 1:case"end":return t.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t;return k.a.wrap((function e(n){for(;;)switch(n.prev=n.next){case 0:if((t=this.props.__ctx)&&this.cacheSetState){n.next=3;break}return n.abrupt("return");case 3:t.setState=this.cacheSetState,delete this.cacheSetState,this.__debug("componentWillUnmount - "+this.props.__schema.fileName);case 6:case"end":return n.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function(){var e=m()(k.a.mark((function e(t){return k.a.wrap((function e(n){for(;;)switch(n.prev=n.next){case 0:console.warn(t),this.__debug("componentDidCatch - "+this.props.__schema.fileName);case 2:case"end":return n.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),n.render=function e(){var n=this.props,r=n.__schema,o=n.__ctx;return this.__checkSchema(r)?"\u4e0b\u94bb\u7f16\u8f91 schema \u7ed3\u6784\u5f02\u5e38\uff01":(this.__debug(t.displayName+" render - "+(null==r?void 0:r.fileName)),this.__renderContent(this.__renderContextProvider({__ctx:o})))},t}(Qi())).displayName="TempRenderer",e}var aa=n(465),sa=n.n(aa);function ua(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.Component,o=t.createElement,i=t.findDOMNode,a=f.getRenderers(),s=Qi(),u=_(),d=xn(),l=f.getConfigProvider()||d,h=sa()("renderer:entry"),p=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){var t;return Pn.error("%c"+(this.props.componentName||"")+" \u7ec4\u4ef6\u6e32\u67d3\u5f02\u5e38, \u5f02\u5e38\u539f\u56e0: "+((null===(t=this.props.error)||void 0===t?void 0:t.message)||this.props.error||"\u672a\u77e5"),"color: #ff0000;"),o(d,{style:{width:"100%",height:"50px",lineHeight:"50px",textAlign:"center",fontSize:"15px",color:"#ff0000",border:"2px solid #ff0000"}},(this.props.componentName||"")+" \u7ec4\u4ef6\u6e32\u67d3\u5f02\u5e38\uff0c\u8bf7\u67e5\u770b\u63a7\u5236\u53f0\u65e5\u5fd7")},t}(n),y=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){return this.props.enableStrictNotFoundMode?(this.props.componentName||"")+" Component Not Found":o(d,this.props,this.props.children||(this.props.componentName||"")+" Component Not Found")},t}(n);return(e=function(e){function t(t,n){var r,o;return(o=e.call(this,t,n)||this).state={},o.__ref=void 0,o.__getRef=function(e){var t,n;(o.__ref=e,e)&&(null===(t=(n=o.props).onCompGetRef)||void 0===t||t.call(n,o.props.schema,e))},o.state={},h("entry.constructor - "+(null==t||null===(r=t.schema)||void 0===r?void 0:r.componentName)),o}c()(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=m()(k.a.mark((function e(){return k.a.wrap((function e(t){for(;;)switch(t.prev=t.next){case 0:h("entry.componentDidMount - "+(this.props.schema&&this.props.schema.componentName));case 1:case"end":return t.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){var t,n;return k.a.wrap((function e(r){for(;;)switch(r.prev=r.next){case 0:h("entry.componentDidUpdate - "+(null===(t=this.props)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.componentName));case 1:case"end":return r.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t,n;return k.a.wrap((function e(r){for(;;)switch(r.prev=r.next){case 0:h("entry.componentWillUnmount - "+(null===(t=this.props)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.componentName));case 1:case"end":return r.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function e(t){this.state.engineRenderError=!0,this.state.error=t},n.shouldComponentUpdate=function e(t){return!t.suspended},n.isValidComponent=function e(t){return t},n.patchDidCatch=function e(t){if(this.isValidComponent(t)&&!t.patchedCatch&&t.prototype){t.patchedCatch=!0;var n=t.prototype.componentDidCatch;t.prototype.componentDidCatch=function e(t,r){this.setState({engineRenderError:!0,error:t}),n&&"function"==typeof n&&n.call(this,t,r)};var r=this,o=t.prototype.render;t.prototype.render=function(){return this.state&&this.state.engineRenderError?(this.state.engineRenderError=!1,r.createElement(r.getFaultComponent(),g()({},this.props,{error:this.state.error}))):o.call(this)};var i=t.prototype.shouldComponentUpdate;t.prototype.shouldComponentUpdate=function(e,t){return!(!t||!t.engineRenderError)||(!i||i.call(this,e,t))}}},n.createElement=function e(t,n,r){return this.patchDidCatch(t),(this.props.customCreateElement||o)(t,n,r)},n.getNotFoundComponent=function e(){return this.props.notFoundComponent||y},n.getFaultComponent=function e(){var t=this.props,n=t.faultComponent,r=t.faultComponentMap,o=t.schema,i;return r?r[o.componentName]||n||p:n||p},n.getComp=function e(){var t=this.props,n=t.schema,r=t.components,o=n.componentName,i,u=g()({},a,r)[o]||a[o+"Renderer"];return u&&u.prototype&&(u.prototype instanceof s||(u=a[o+"Renderer"])),u},n.render=function e(){var t=this.props,n=t.schema,r=t.designMode,i=t.appHelper,s=t.components;if(Object(bt.isEmpty)(n))return null;if("Div"!==n.componentName&&!Oo(n))return Pn.error("The root component name needs to be one of Page\u3001Block\u3001Component, please check the schema: ",n),"\u6a21\u578b\u7ed3\u6784\u5f02\u5e38";h("entry.render");var c=g()({},a,s),d=this.getComp();return this.state&&this.state.engineRenderError?o(this.getFaultComponent(),g()({},this.props,{error:this.state.error})):d?o(u.Provider,{value:{appHelper:i,components:c,engine:this}},o(l,{device:this.props.device,locale:this.props.locale},o(d,g()({key:n.__ctx&&n.__ctx.lceKey+"_"+(n.__ctx.idx||"0"),ref:this.__getRef,__appHelper:i,__components:c,__schema:n,__designMode:r},this.props)))):null},t}(r)).displayName="Renderer",e.defaultProps={appHelper:void 0,components:{},designMode:"",suspended:!1,schema:{},onCompGetRef:function e(){},onCompGetCtx:function e(){},thisRequiredInJSE:!0},e.findDOMNode=i,e}var ca=n(466),da=n.n(ca);function la(){var e;return function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).props=void 0,r.context=void 0,r.setState=void 0,r.forceUpdate=void 0,r.refs=void 0,r}var n;return c()(t,e),t.prototype.isValidComponent=function e(t){var n;return(null==t||null===(n=t.prototype)||void 0===n?void 0:n.isReactComponent)||(null==t?void 0:t.prototype)instanceof i.Component},t}(ua())}window.React=a.a,window.ReactDom=o.a,f.setRuntime({Component:i.Component,PureComponent:i.PureComponent,createContext:i.createContext,createElement:i.createElement,forwardRef:i.forwardRef,findDOMNode:o.a.findDOMNode}),f.setRenderers({PageRenderer:ta(),ComponentRenderer:na(),BlockRenderer:ra(),AddonRenderer:oa(),TempRenderer:ia(),DivRenderer:ra()}),f.setConfigProvider(da.a);var fa=la(),_a=n(168),ha,ma;!function(e){e.ADDED="added",e.DELETED="deleted",e.MODIFIED="modified",e.COMPOSITE="composite"}(ha||(ha={})),function(e){e[e.Environment=1]="Environment",e[e.Library=2]="Library",e[e.Theme=3]="Theme",e[e.Runtime=4]="Runtime",e[e.Components=5]="Components",e[e.App=6]="App"}(ma||(ma={}));var pa=[ma.Environment,ma.Library,ma.Theme,ma.Runtime,ma.Components,ma.App],ya;!function(e){e.JSUrl="jsUrl",e.CSSUrl="cssUrl",e.CSSText="cssText",e.JSText="jsText",e.Bundle="bundle"}(ya||(ya={}));var va="node.prop.change",ga="node.innerProp.change",Ma="node.edit.rerender.time",ba,La;!function(e){e.Children="Children",e.Prop="Prop"}(ba||(ba={})),function(e){e.Children="Children",e.Prop="Prop"}(La||(La={}));var wa=function e(){this.type=void 0,this.data=void 0,this.nodes=void 0},Ya,ka,Da,Ta,Sa,xa,ja,Oa,Ea;function Ha(e){return e&&"object"==typeof e}function Pa(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function Aa(e){return e&&(Pa(e)||"function"==typeof e)}function Ca(e){return e&&(Object(i.isValidElement)(e)||Aa(e))}function Na(e){return"string"==typeof e}function Ra(e){return e&&"function"==typeof e&&!Pa(e)}function Fa(e){return e&&"i18n"===e.type}function Ia(e){return e&&"JSBlock"===e.type}function Wa(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function Ba(e){return"object"==typeof e&&e&&"JSFunction"===e.type}function Ua(e){return e&&"JSSlot"===e.type}function za(e){return"package"in e}function Va(e){return!za(e)}function Ga(e){return e&&e.componentName}function Ja(e){if("object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function $a(e){return e&&e.componentsTree}function qa(e){return e&&"object"==typeof e&&"componentName"in e&&!Ca(e)}function Ka(e){return Ja(e)&&!Fa(e)}function Za(e){return/\.css(\?.*)?$/.test(e)}function Xa(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=function(){return t},e}function Qa(e){var t=document.createElement("script");t.text=e,document.head.appendChild(t),document.head.removeChild(t)}function es(e){var t=document.createElement("script");t.onload=r,t.onerror=r;var n=Xa();function r(e){t.onload=null,t.onerror=null,"load"===e.type?n.resolve():n.reject()}return t.src=e,t.async=!1,document.head.appendChild(t),n.promise()}function ts(e){var t;return new Function(e)()}function ns(e,t){try{return new Function(e,t)}catch(e){return console.warn("Caught error, Cant init func"),null}}function rs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=os(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function os(e,t){if(e){if("string"==typeof e)return is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?is(e,t):void 0}}function is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function as(e){return e&&e.type}function ss(e){return e&&e.type===ya.Bundle}function us(e,t){return e?{type:ya.Bundle,assets:e,level:t}:null}function cs(e,t,n,r){return t?{type:e,content:t,level:n,id:r}:null}function ds(e,t){return t.packages&&(e.packages=[].concat(e.packages||[],t.packages)),t.components&&(e.components=[].concat(e.components||[],t.components)),ls(e,t,"componentList"),ls(e,t,"bizComponentList"),e}function ls(e,t,n){var r;t[n]&&(e[n]&&(null===(r=t[n])||void 0===r||r.map((function(t){var r,o,i=!1;return null===(r=e[n])||void 0===r||r.map((function(e){return e.title===t.title&&(e.children=e.children.concat(t.children),i=!0),e})),!i&&(null===(o=e[n])||void 0===o||o.push(t)),t}))))}Ya||(Ya={}),function(e){e[e.REPAINT=0]="REPAINT"}(ka||(ka={})),function(e){e[e.REPAINT=0]="REPAINT"}(Da||(Da={})),function(e){e.Render="render",e.Serilize="serilize",e.Save="save",e.Clone="clone",e.Init="init",e.Upgrade="upgrade"}(Ta||(Ta={})),function(e){e.Render="render",e.Serilize="serilize",e.Save="save",e.Clone="clone",e.Init="init",e.Upgrade="upgrade"}(Sa||(Sa={})),function(e){e.Node="node",e.NodeData="nodedata"}(xa||(xa={})),function(e){e.Node="node",e.NodeData="nodedata"}(ja||(ja={})),function(e){e.SET_VALUE="SET_VALUE",e.SUB_VALUE_CHANGE="SUB_VALUE_CHANGE"}(Oa||(Oa={})),function(e){e.SET_VALUE="SET_VALUE",e.SUB_VALUE_CHANGE="SUB_VALUE_CHANGE"}(Ea||(Ea={}));var fs=function(){function e(e,t){var n;if(this.lastContent=void 0,this.lastUrl=void 0,this.placeholder=void 0,this.level=void 0,this.id=void 0,this.level=e,t&&(this.id=t),t&&(n=document.head.querySelector('style[data-id="'+t+'"]')),!n){n=document.createTextNode("");var r=document.head.querySelector('meta[level="'+e+'"]');r?document.head.insertBefore(n,r):document.head.appendChild(n)}this.placeholder=n}var t=e.prototype;return t.applyText=function e(t){if(this.lastContent!==t){this.lastContent=t,this.lastUrl=void 0;var n=document.createElement("style");n.setAttribute("type","text/css"),this.id&&n.setAttribute("data-id",this.id),n.appendChild(document.createTextNode(t)),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n}},t.applyUrl=function e(t){if(this.lastUrl!==t){this.lastContent=void 0,this.lastUrl=t;var n=document.createElement("link");n.onload=o,n.onerror=o;var r=Xa();return n.href=t,n.rel="stylesheet",this.id&&n.setAttribute("data-id",this.id),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n,r.promise()}function o(e){n.onload=null,n.onerror=null,"load"===e.type?r.resolve():r.reject()}},e}();function _s(e,t,n,r){for(var o=rs(n),i;!(i=o()).done;){var a;hs(e,t,i.value,r)}}function hs(e,t,n,r){if(n){if(Array.isArray(n))return _s(e,t,n,r);if(ss(n))return n.assets?void(Array.isArray(n.assets)?_s(e,t,n.assets,n.level||r):hs(e,t,n.assets,n.level||r)):void 0;as(n)||(n=cs(Za(n)?ya.CSSUrl:ya.JSUrl,n,r));var o=n.level||r;o&&null!=ma[o]||(o=ma.App),n.level=o,n.type===ya.CSSUrl||n.type==ya.CSSText?t[o].push(n):e[o].push(n)}}var ms=function(){function e(){this.stylePoints=new Map}var t=e.prototype;return t.load=function(){var e=m()(k.a.mark((function e(t){var n=this,r,o,i,a;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:return r={},o={},pa.forEach((function(e){r[e]=[],o[e]=[]})),hs(o,r,t),i=r[ma.Environment].concat(r[ma.Library],r[ma.Theme],r[ma.Runtime],r[ma.App]),a=o[ma.Environment].concat(o[ma.Library],o[ma.Theme],o[ma.Runtime],o[ma.App]),s.next=8,Promise.all(i.map((function(e){var t=e.content,r=e.level,o=e.type,i=e.id;return n.loadStyle(t,r,o===ya.CSSUrl,i)})));case 8:return s.next=10,Promise.all(a.map((function(e){var t=e.content,r=e.type;return n.loadScript(t,r===ya.JSUrl)})));case 10:case"end":return s.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),t.loadStyle=function e(t,n,r,o){var i;if(t)return o?(i=this.stylePoints.get(o))||(i=new fs(n,o),this.stylePoints.set(o,i)):i=new fs(n),r?i.applyUrl(t):i.applyText(t)},t.loadScript=function e(t,n){if(t)return n?es(t):Qa(t)},t.loadAsyncLibrary=function(){var e=m()(k.a.mark((function e(t){var n,r,o,i;return k.a.wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:for(i in n=[],r=[],o=[],t)t[i].async&&(n.push(window[t[i].library]),r.push(t[i].library),o.push(t[i]));return a.next=6,Promise.all(n).then((function(e){e.length>0&&e.map((function(e,t){var n=o[t],i=n.exportMode,a=n.exportSourceLibrary,s=n.library;return window[r[t]]="functionCall"!==i||null!=a&&a!==s?e:e(),e}))}));case 6:case"end":return a.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),e}();function ps(e){return null!==e&&"object"==typeof e}function ys(e){return ps(e)&&"i18n"===e.type}function vs(e){if(!ps(e))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function gs(e){var t=typeof e,n;if(null==e)n=e;else if(Array.isArray(e))n=e.map((function(e){return gs(e)}));else if("object"===t&&vs(e))for(var r in n={},e)e.hasOwnProperty(r)&&(n[r]=gs(e[r]));else n=e;return n}var Ms=["$$typeof","render","defaultProps","props","length","prototype","name","caller","callee","arguments"];function bs(e,t){var n;return Object.keys(t).filter((function(e){return!Ms.includes(e)})).forEach((function(n){e[n]=t[n]})),e}var Ls=["children"],ws,Ys="function"==typeof Symbol&&Symbol.for?Symbol.for("react.forward_ref"):60112;function ks(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function Ds(e){var t;return(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||e.$$typeof&&e.$$typeof===Ys}function Ts(e){return(null==e?void 0:e.$$typeof)&&(null==e?void 0:e.$$typeof)===Ys}function Ss(e){return e&&(ks(e)||"function"==typeof e||Ts(e))}function xs(e){var t=function(t){function n(){return t.apply(this,arguments)||this}var r;return c()(n,t),n.prototype.render=function t(){var n=this.props,r=n.children,o=y()(n,Ls);return Object(i.createElement)(e,o,r)},n}(i.Component);return(t=bs(t,e)).displayName=e.displayName,t}function js(e,t){return Object(i.isValidElement)(e)?t?Object(i.cloneElement)(e,t):e:Ss(e)?Object(i.createElement)(e,t):e}function Os(e){return e&&e.__esModule}var Es=/^(https?:)\/\//i;function Hs(e,t){return e?(Os(e)&&(e=e.default),"string"==typeof e?Es.test(e)?React.createElement("img",g()({src:e},t)):React.createElement(_e.a,g()({type:e},t)):Object(i.isValidElement)(e)?Object(i.cloneElement)(e,g()({},t)):Ss(e)?Object(i.createElement)(e,g()({},t)):React.createElement(_e.a,g()({},e,t))):null}var Ps=n(893);function As(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Cs(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cs(e,t){if(e){if("string"==typeof e)return Ns(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ns(e,t):void 0}}function Ns(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Rs,Fs=new(function(){function e(){this.states=new Set}var t=e.prototype;return t.setDragging=function e(t){t?this.addState("dragging"):this.removeState("dragging")},t.setXResizing=function e(t){t?this.addState("x-resizing"):this.removeState("x-resizing")},t.setYResizing=function e(t){t?this.addState("y-resizing"):this.removeState("y-resizing")},t.setCopy=function e(t){t?this.addState("copy"):this.removeState("copy")},t.isCopy=function e(){return this.states.has("copy")},t.release=function e(){for(var t=As(this.states),n;!(n=t()).done;){var r=n.value;this.removeState(r)}},t.addState=function e(t){this.states.has(t)||(this.states.add(t),document.documentElement.classList.add("lc-cursor-"+t))},t.removeState=function e(t){this.states.has(t)&&(this.states.delete(t),document.documentElement.classList.remove("lc-cursor-"+t))},e}());function Is(e){return void 0!==Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__}var Ws=Object.prototype.hasOwnProperty;function Bs(e,t){return e&&Ws.call(e,t)}function Us(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function zs(e){var t=e.target;return!!t&&(!(!t.form&&!/^(INPUT|SELECT|TEXTAREA)$/.test(t.tagName))||!!(t instanceof HTMLElement&&/write/.test(window.getComputedStyle(t).getPropertyValue("-webkit-user-modify"))))}function Vs(e){return"function"==typeof e}var Gs=!0,Js=function e(t){return Gs?null:(t.preventDefault(),t.stopPropagation(),!1)};function $s(e){Gs=e}function qs(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}function Ks(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Bs(t,n[o])||e[n[o]]!==t[n[o]])return!1;return!0}document.addEventListener("selectstart",Js,!0),document.addEventListener("dragstart",Js,!0);var Zs=["fill","size","viewBox","style","children"],Xs={xsmall:8,small:12,medium:16,large:20,xlarge:30};function Qs(e){var t=e.fill,n=e.size,r=void 0===n?"medium":n,o=e.viewBox,i=e.style,a=e.children,s=y()(e,Zs);return Xs.hasOwnProperty(r)&&(r=Xs[r]),React.createElement("svg",g()({fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:r,height:r,viewBox:o},s,{style:g()({color:t},i)}),a)}var eu=Date.now();function tu(e){return void 0===e&&(e=""),""+e+(eu++).toString(36).toLowerCase()}function nu(e){return e&&"object"==typeof e}function ru(e){return e&&(Object(i.isValidElement)(e)||Ss(e))}function ou(e){return"string"==typeof e}function iu(e){return e&&"function"==typeof e&&!ks(e)}function au(e){return e&&"i18n"===e.type}function su(e){return e&&"JSBlock"===e.type}function uu(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function cu(e){return e&&"JSExpression"===e.type&&"function"===e.extType}function du(e){return"object"==typeof e&&e&&"JSFunction"===e.type||cu(e)}function lu(e){return e&&"JSSlot"===e.type}function fu(e){return"package"in e}function _u(e){return!fu(e)}function hu(e){return e&&e.componentName&&!e.isNode}function mu(e){return e&&e.componentsTree}function pu(e){return e&&"object"==typeof e&&"componentName"in e&&!ru(e)}function yu(e){return vs(e)&&!au(e)}function vu(e){return e&&e.type===xa.NodeData}function gu(e){return e&&e.type===xa.Node}function Mu(e){return e&&e.type!==xa.NodeData&&e.type!==xa.Node}function bu(e){return e&&e.type===ba.Children}function Lu(e){return e&&e.isNode}function wu(e){return e&&e.target&&e.detail}function Yu(e){return e&&e.isSettingField}function ku(e){return"object"==typeof e&&"Component"===e.componentName}function Du(e){return e&&e.componentsTree&&e.componentsTree.length&&ku(e.componentsTree[0])}function Tu(e){return"string"!=typeof e?e:window[e]||Su(e)}function Su(e){if(["a","img","div","span","svg"].includes(e))return Object(i.forwardRef)((function(t,n){return Object(i.createElement)(e,g()({ref:n},t),t.children)}))}function xu(e,t){var n=t.length;if(n<1||!e)return e;for(var r=0,o;r<n;){var i=t[r],a=void 0;try{o=e[i]||o}catch(e){a=e,o=null}if(0===r&&null==o&&"default"===i){if(a)return 1===n?e:null;o=e}else if(null==o)return null;e=o,r++}return o}function ju(e,t,n){if(!n)return Tu(t);var r=n.exportName||n.componentName||t,o,i=Tu(e[n.package]||r),a=n.exportName&&n.subName?n.subName.split("."):[];return n.destructuring?a.unshift(r):Os(i)&&a.unshift("default"),xu(i,a)}function Ou(e){return!!ps(e)&&Object.keys(e).some((function(t){return Ss(e[t])}))}function Eu(e,t,n){var r={};return Object.keys(t).forEach((function(o){var i=t[o];i&&(Du(i)||ku(i))?ku(i)?r[o]=n({version:"",componentsMap:[],componentsTree:[i]}):r[o]=n(i):Ss(i)?(Ds(i)||(i=xs(i)),r[o]=i):Ou(i)?r[o]=i:(i=ju(e,o,i))&&(!Ds(i)&&Ss(i)&&(i=xs(i)),r[o]=i)})),r}function Hu(e,t){var n={};return t&&t.forEach((function(t){var r;if(e[null==t||null===(r=t.npm)||void 0===r?void 0:r.package]){var o=Tu(e[null==t?void 0:t.npm.package]);null!=o&&o.destructuring?Object.keys(o).forEach((function(e){"destructuring"!==e&&(n[e]=o[e])})):t.name&&(n[t.name]=o)}})),n}var Pu=null;vt.a.defaultMaxListeners=100;var Au=function(e){function t(t){var n;return n=e.call(this)||this,Pu=w()(n),Object.assign(w()(n),t),n}c()(t,e);var n=t.prototype;return n.get=function e(t){return this[t]},n.set=function e(t,n){var r=this;"string"==typeof t?this[t]=n:"object"==typeof t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))},n.batchOn=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.on(e,n)}))},n.batchOnce=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.once(e,n)}))},n.batchOff=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.off(e,n)}))},t}(vt.a);function Cu(e){return e&&"variable"===e.type}function Nu(e,t){var n,r=null==e||null===(n=e.options)||void 0===n?void 0:n.configure;return!!Array.isArray(r)&&r.some((function(e){var n,r;return e.name===t&&"I18nSetter"===(null==e||null===(n=e.setter)||void 0===n||null===(r=n.type)||void 0===r?void 0:r.displayName)}))}function Ru(e,t){var n;return void 0===t&&(t="zh-CN"),ys(e)?e:((n={type:"i18n",use:t})[t]=e,n)}function Fu(e){return"string"==typeof e}function Iu(e,t){var n=200;return new Promise((function(n,r){setTimeout((function(){var o=Object(bt.get)(e,t);if(o)return n(o);r()}),200)})).catch((function(){return Iu(e,t)}))}function Wu(e,t){var n=Object(bt.get)(e,t);return n?Promise.resolve(n):Iu(e,t)}function Bu(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every((function(e){return t.includes(e)})))}function Uu(e){var t;return!(null==e||null===(t=e.getMetadata().configure)||void 0===t||!t.advanced)}function zu(e,t){return void 0===t&&(t=2e3),setTimeout(e,t)}Au.getInstance=function(){return Pu||(Pu=new Au),Pu};var Vu=["render","serilize","save","clone","init","upgrade"];function Gu(e){return"number"==typeof e?(console.warn("stage \u76f4\u63a5\u6307\u5b9a\u4e3a\u6570\u5b57\u7684\u4f7f\u7528\u65b9\u5f0f\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5c06\u5728\u4e0b\u4e00\u7248\u672c\u79fb\u9664\uff0c\u8bf7\u76f4\u63a5\u4f7f\u7528 IPublicEnumTransformStage.Render|Serilize|Save|Clone|Init|Upgrade"),Vu[e-1]):e}function Ju(e,t,n){if(!e)throw new Error("Invariant failed: "+t+(n?" in '"+n+"'":""))}function $u(e,t,n){e&&console.warn("Deprecation: "+t+(n?", use "+n+" instead.":""))}function qu(e){return e&&e.test&&e.exec&&e.compile}function Ku(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Zu(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zu(e,t){if(e){if("string"==typeof e)return Xu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xu(e,t):void 0}}function Xu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qu(e){if("object"==typeof e&&null!==e)return e.type&&e.source&&e.compiled}function ec(e){return e.type&&"actionRef"===e.type}function tc(e){if(!e)return e;if(Array.isArray(e))return e.map((function(e){return tc(e)}));if(!vs(e))return e;var t,n,r;if(su(e))return"Slot"===e.value.componentName?{type:"JSSlot",title:null===(t=e.value.props)||void 0===t?void 0:t.slotTitle,name:null===(n=e.value.props)||void 0===n?void 0:n.slotName,value:tc(e.value.children),params:null===(r=e.value.props)||void 0===r?void 0:r.slotParams}:e.value;if(Cu(e))return{type:"JSExpression",value:e.variable,mock:e.value};if(Qu(e))return{type:"JSExpression",value:e.compiled,extType:"function"};if(ec(e))return{type:"JSExpression",value:e.id+".bind(this)"};var o={};return Object.keys(e).forEach((function(t){/^__slot__/.test(t)&&!0===e[t]||(o[t]=tc(e[t]))})),o}function nc(e,t){var n;if(e.id===t)return e;var r=e.children,o=e.props;if(Array.isArray(r))for(var i=Ku(r),a;!(a=i()).done;){var s;if(n=nc(a.value,t))return n}return vs(o)&&(n=rc(o,t))?n:void 0}function rc(e,t){for(var n,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];if(lu(s)){if(Array.isArray(s.value))for(var u=Ku(s.value),c;!(c=u()).done;){var d;if(n=nc(c.value,t))return n}if(n=nc(s.value,t))return n}else if(vs(s)&&(n=rc(s,t)))return n}}function oc(e,t){var n=g()({},e);return Array.isArray(t)||(t=[t]),t.reduce((function(e,t){if(t.type===ha.MODIFIED){var n=nc(e,t.payload.schema.id);if(!n)return e;Object.assign(n,t.payload.schema)}else if(t.type===ha.ADDED){var r=t.payload,o=r.location,i=r.schema,a=o.parent,s=nc(e,a.nodeId);s&&(Array.isArray(s.children)?s.children.splice(a.index,0,i):s.children||(s.children=[i]))}else if(t.type===ha.DELETED){var u,c,d=t.payload.location.parent,l=nc(e,d.nodeId);l&&Array.isArray(l.children)&&l.children.splice(d.index,1)}return e}),n)}var ic=function e(t,n){if(t)return n(t)?t:e(t.parent,n)};function ac(e,t){var n,r,o,i=null===(n=e.componentMeta)||void 0===n||null===(r=n.advanced)||void 0===r||null===(o=r.callbacks)||void 0===o?void 0:o.onClickHook,a;return"function"!=typeof i||i(t,e)}var sc={debug:-1,log:0,info:0,warn:1,error:2},uc=["#daa569","#00ffff","#385e0f","#7fffd4","#00c957","#b0e0e6","#4169e1","#6a5acd","#87ceeb","#ffff00","#e3cf57","#ff9912","#eb8e55","#ffe384","#40e0d0","#a39480","#d2691e","#ff7d40","#f0e68c","#bc8f8f","#c76114","#734a12","#5e2612","#0000ff","#3d59ab","#1e90ff","#03a89e","#33a1c9","#a020f0","#a066d3","#da70d6","#dda0dd","#688e23","#2e8b57"],cc={debug:"#666666",log:"#bbbbbb",info:"#ffffff",warn:"#bbbbbb",error:"#bbbbbb"},dc={debug:"debug",log:"log",info:"info",warn:"warn",error:"error"},lc={debug:console.log,log:console.log,info:console.log,warn:console.warn,error:console.error},fc={},_c=function e(t,n,r,o){void 0===n&&(n="warn");var i=sc[n]<=sc[t],a="*"===o||r.indexOf(o)>-1;return i&&a},hc=function e(t,n){return function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return lc[t].apply(console,pc(r,n,t))}},mc=function e(t){if(!fc[t]){var n=uc[Object.keys(fc).length%uc.length];fc[t]=n}return fc[t]},pc=function e(t,n,r){var o=mc(n),i=cc[r],a=t[0],s="%c["+n+"]%c["+dc[r]+"]:";a.forEach((function(e){ps(e)?s+="%o":s+="%s"}));var u=[s,"color: "+o,"color: "+i];return u=u.concat(a)},yc=function e(t,n){if(!t)return{level:n.level,bizName:n.bizName};if(t.indexOf(":")>-1){var r=t.split(":");return{level:r[0],bizName:r[1]||"*"}}return{level:t,bizName:"*"}},vc={level:"warn",bizName:"*"},gc=function(){function e(e){this.bizName=void 0,this.targetBizName=void 0,this.targetLevel=void 0,e=g()({},vc,e);var t=location||{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(t.href)||[])[1],r=yc(n,e);this.bizName=e.bizName,this.targetBizName=r.bizName,this.targetLevel=r.level}var t=e.prototype;return t.debug=function e(){if(_c("debug",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("debug",this.bizName)(n)}},t.log=function e(){if(_c("log",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("log",this.bizName)(n)}},t.info=function e(){if(_c("info",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("info",this.bizName)(n)}},t.warn=function e(){if(_c("warn",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("warn",this.bizName)(n)}},t.error=function e(){if(_c("error",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("error",this.bizName)(n)}},e}();function Mc(e){return new gc(e)}var bc=4;function Lc(e,t){return!!e.shaken||(e.target!==t.target||Math.pow(e.clientY-t.clientY,2)+Math.pow(e.clientX-t.clientX,2)>4)}function wc(e){if(!e)return!1;var t=e.split(":");return t.length>1&&t[0].length>0}var Yc=["hover","focus","active","visited"],kc=/[A-Z]/g,Dc=/[-\s]+(.)?/g,Tc=/([^:]*):\s?(.*)/i;function Sc(e){var t=0,n=0,r=[];return e.split("").forEach((function(o,i){"{"===o&&t++,"}"===o&&(1===t&&(r.push(e.substring(n,i+1)),n=i+1),t--)})),r}function xc(e){return"[object String]"==={}.toString.call(e)}function jc(e){return e.replace(kc,(function(e){return"-"+e})).toLowerCase()}function Oc(e){return e.replace(Dc,(function(e,t){return t?t.toUpperCase():""}))}function Ec(e){var t=[];return Object.keys(e).forEach((function(n){t.push(" "+n+": "+e[n]+";")})),t.join("\n")}function Hc(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Hc(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[Oc(t)]=e[t]})),n}function Pc(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Pc(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[jc(t)]=e[t]})),n}function Ac(e){if(!e)return":root {\n\n}";if(e.default){var t=[];return Object.keys(e).forEach((function(n){if("extra"!==n){var r=Yc.indexOf(n)>-1?":":"";t.push(":root"+("default"===n?"":""+r+n)+" {\n"+Ec(Pc(e[n]))+"\n}\n")}else Array.isArray(e.extra)&&t.push(e.extra.join("\n"))})),t.join("\n")}return":root {\n"+Ec(Pc(e))+"\n}\n"}function Cc(e){if(!e)return{};var t={},n;return Sc(e).forEach((function(e){if(e.startsWith(":root")){var n=/:root:?(.*)?{(.*)/gi.exec(e.replace(/[\r\n]+/gi,"").trim());if(n){var r;n[1]&&n[1].trim()&&Object(bt.some)(Yc,(function(e){return 0===n[1].indexOf(e)}))?r=n[1].trim():n[1]&&n[1].trim()&&(r=n[1]);var o={};n[2].split(";").reduce((function(e,t){return t.indexOf("base64")>-1?e[e.length-1]+=";"+t:e.push(t),e}),[]).forEach((function(e){if(e&&Tc.test(e)){var t=e.match(Tc),n=null==t?void 0:t[1],r=null==t?void 0:t[2];n&&r&&(o[n.trim()]=r.trim())}})),t[r||"default"]=o}}else t.extra=t.extra||[],t.extra.push(e.trim())})),t}function Nc(e){try{return xc(e)?Hc(Cc(e).default):e.default?Hc(Pc(e.default)):Hc(Pc(e))}catch(e){}return{}}var Rc,Fc=new function e(){var t=this;this.emitter=new vt.a,this.executeTransaction=function(e,n){void 0===n&&(n=ka.REPAINT),t.emitter.emit("["+n+"]startTransaction"),Object(Dn.a)(e),t.emitter.emit("["+n+"]endTransaction")},this.onStartTransaction=function(e,n){return void 0===n&&(n=ka.REPAINT),t.emitter.on("["+n+"]startTransaction",e),function(){t.emitter.off("["+n+"]startTransaction",e)}},this.onEndTransaction=function(e,n){return void 0===n&&(n=ka.REPAINT),t.emitter.on("["+n+"]endTransaction",e),function(){t.emitter.off("["+n+"]endTransaction",e)}}};function Ic(e){return(Ic="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wc(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wc=function t(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function e(t,n,r){return t[n]=r}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),s=new k(o||[]);return r(a,"_invoke",{value:b(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function _(){}function h(){}var m={};u(m,i,(function(){return this}));var p=Object.getPrototypeOf,y=p&&p(p(D([])));y&&y!==t&&n.call(y,i)&&(m=y);var v=h.prototype=f.prototype=Object.create(m);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function o(r,i,a,s){var u=d(e[r],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==Ic(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function e(n,r){function a(){return new t((function(e,t){o(n,r,e,t)}))}return i=i?i.then(a,a):a()}})}function b(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function D(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return _.prototype=h,r(v,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:_,configurable:!0}),_.displayName=u(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,u(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(M.prototype),u(M.prototype,a,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new M(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),u(v,s,"Generator"),u(v,i,(function(){return this})),u(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=D,k.prototype={constructor:k,reset:function e(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Y),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function e(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function e(t){if(this.done)throw t;var r=this;function o(e,n){return s.type="throw",s.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function e(t,r){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=r,a?(this.method="next",this.next=a.finallyLoc,l):this.complete(s)},complete:function e(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),l},finish:function e(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),Y(r),l}},catch:function e(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var i=o.arg;Y(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function e(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Bc(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function Uc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Bc(i,r,o,a,s,"next",e)}function s(e){Bc(i,r,o,a,s,"throw",e)}a(void 0)}))}}function zc(e,t){return qc(e)||$c(e,t)||Gc(e,t)||Vc()}function Vc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gc(e,t){if(e){if("string"==typeof e)return Jc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jc(e,t):void 0}}function Jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $c(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function qc(e){if(Array.isArray(e))return e}var Kc,Zc=new URLSearchParams(window.location.search).get("platform")||"default",Xc=function e(){var t,n=zc(Object(i.useState)({}),2),r=n[0],o=n[1];function u(){return c.apply(this,arguments)}function c(){return(c=Uc(Wc().mark((function e(){var t,n,r,i,a,s,u,c,d,l,f;return Wc().wrap((function e(_){for(;;)switch(_.prev=_.next){case 0:return t=JSON.parse(window.localStorage.getItem("packages")),n=JSON.parse(window.localStorage.getItem("projectSchema")),r=n.componentsMap,i=n.componentsTree,a={},r.forEach((function(e){a[e.componentName]=e})),s=i[0],u={},c=[],t.forEach((function(e){var t=e.package,n=e.library,r=e.urls,o=e.renderUrls,i=e.advancedUrls;u[t]=n,i&&i[Zc]?c.push(i[Zc]):o?c.push(o):r&&c.push(r)})),d=[us(c,ma.Library)],l=new ms,_.prev=11,_.next=14,l.load(c);case 14:_.next=19;break;case 16:_.prev=16,_.t0=_.catch(11),console.warn("[LowcodePreview] load resources failed: ",_.t0);case 19:f=Eu(u,a),o({schema:s,components:f});case 21:case"end":return _.stop()}}),e,null,[[11,16]])})))).apply(this,arguments)}var d=r.schema,l=r.components;return d&&l?a.a.createElement("div",{className:"lowcode-plugin-sample-preview"},a.a.createElement(fa,{className:"lowcode-plugin-sample-preview-content",schema:d,components:l})):(u(),a.a.createElement(s.Loading,{fullScreen:!0}))};o.a.render(a.a.createElement(Xc,null),document.getElementById("ice-container"))}])}));
304
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc"),t;if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},r=0;r<10;r++)n["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}e.exports=s()?Object.assign:function(e,t){for(var n,s=a(e),u,c=1;c<arguments.length;c++){for(var d in n=Object(arguments[c]))o.call(n,d)&&(s[d]=n[d]);if(r){u=r(n);for(var l=0;l<u.length;l++)i.call(n,u[l])&&(s[u[l]]=n[u[l]])}}return s}},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=function(){},o,i,a;function s(e,t,n,r,o){var i,a,s,u}s.resetWarningCache=function(){0},e.exports=s},function(e,t,n){function r(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let t,n=null,i,a;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date),i=o-(t||o);n.diff=i,n.prev=t,n.curr=o,t=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,o)=>{if("%%"===t)return"%";a++;const i=r.formatters[o];if("function"==typeof i){const r=e[a];t=i.call(n,r),e.splice(a,1),a--}return t}),r.formatArgs.call(n,e);const u=undefined;(n.log||r.log).apply(n,e)}return s.namespace=e,s.useColors=r.useColors(),s.color=r.selectColor(e),s.extend=o,s.destroy=r.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==n?n:(i!==r.namespaces&&(i=r.namespaces,a=r.enabled(e)),a),set:e=>{n=e}}),"function"==typeof r.init&&r.init(s),s}function o(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function i(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.slice(1)+"$")):r.names.push(new RegExp("^"+e+"$")))}function a(){const e=[...r.names.map(u),...r.skips.map(u).map(e=>"-"+e)].join(",");return r.enable(""),e}function s(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1}function u(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function c(e){return e instanceof Error?e.stack||e.message:e}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.debug=r,r.default=r,r.coerce=c,r.disable=a,r.enable=i,r.enabled=s,r.humanize=n(881),r.destroy=d,Object.keys(e).forEach(t=>{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}e.exports=r},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o,a=7*i,s=365.25*i;function u(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var u=parseFloat(t[1]),c;switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*a;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*o;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function c(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}function d(e){var t=Math.abs(e);return t>=i?l(e,t,i,"day"):t>=o?l(e,t,o,"hour"):t>=r?l(e,t,r,"minute"):t>=n?l(e,t,n,"second"):e+" ms"}function l(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return u(e);if("number"===n&&isFinite(e))return t.long?d(e):c(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.default={momentLocale:"zh-cn",Timeline:{expand:"\u5c55\u5f00",fold:"\u6536\u8d77"},Balloon:{close:"\u5173\u95ed"},Card:{expand:"\u5c55\u5f00",fold:"\u6536\u8d77"},Calendar:{today:"\u4eca\u5929",now:"\u6b64\u523b",ok:"\u786e\u5b9a",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",prevYear:"\u4e0a\u4e00\u5e74",nextYear:"\u4e0b\u4e00\u5e74",prevMonth:"\u4e0a\u4e2a\u6708",nextMonth:"\u4e0b\u4e2a\u6708",prevDecade:"\u4e0a\u5341\u5e74",nextDecade:"\u540e\u5341\u5e74",yearSelectAriaLabel:"\u9009\u62e9\u5e74\u4efd",monthSelectAriaLabel:"\u9009\u62e9\u6708\u4efd"},DatePicker:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",datetimePlaceholder:"\u8bf7\u9009\u62e9\u65e5\u671f\u548c\u65f6\u95f4",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",now:"\u6b64\u523b",selectTime:"\u9009\u62e9\u65f6\u95f4",selectDate:"\u9009\u62e9\u65e5\u671f",ok:"\u786e\u5b9a",clear:"\u6e05\u9664",startPlaceholder:"\u8d77\u59cb\u65e5\u671f",endPlaceholder:"\u7ed3\u675f\u65e5\u671f",hour:"\u65f6",minute:"\u5206",second:"\u79d2"},Dialog:{close:"\u5173\u95ed",ok:"\u786e\u5b9a",cancel:"\u53d6\u6d88"},Drawer:{close:"\u5173\u95ed"},Message:{closeAriaLabel:"\u5173\u95ed"},Pagination:{prev:"\u4e0a\u4e00\u9875",next:"\u4e0b\u4e00\u9875",goTo:"\u5230\u7b2c",page:"\u9875",go:"\u786e\u5b9a",total:"\u7b2c{current}\u9875\uff0c\u5171{total}\u9875",labelPrev:"\u4e0a\u4e00\u9875\uff0c\u5f53\u524d\u7b2c{current}\u9875",labelNext:"\u4e0b\u4e00\u9875\uff0c\u5f53\u524d\u7b2c{current}\u9875",inputAriaLabel:"\u8bf7\u8f93\u5165\u8df3\u8f6c\u5230\u7b2c\u51e0\u9875",selectAriaLabel:"\u8bf7\u9009\u62e9\u6bcf\u9875\u663e\u793a\u51e0\u6761",pageSize:"\u6bcf\u9875\u663e\u793a\uff1a"},Input:{clear:"\u6e05\u9664"},List:{empty:"\u6ca1\u6709\u6570\u636e"},Select:{selectPlaceholder:"\u8bf7\u9009\u62e9",autoCompletePlaceholder:"\u8bf7\u8f93\u5165",notFoundContent:"\u65e0\u9009\u9879",maxTagPlaceholder:"\u5df2\u9009\u62e9 {selected}/{total} \u9879",selectAll:"\u5168\u9009"},TreeSelect:{maxTagPlaceholder:"\u5df2\u9009\u62e9 {selected}/{total} \u9879",shortMaxTagPlaceholder:"\u5df2\u9009\u62e9 {selected} \u9879"},Table:{empty:"\u6ca1\u6709\u6570\u636e",ok:"\u786e\u8ba4",reset:"\u91cd\u7f6e",asc:"\u5347\u5e8f",desc:"\u964d\u5e8f",expanded:"\u5df2\u5c55\u5f00",folded:"\u5df2\u6298\u53e0",filter:"\u7b5b\u9009",selectAll:"\u5168\u9009"},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",clear:"\u6e05\u9664",hour:"\u65f6",minute:"\u5206",second:"\u79d2",ok:"\u786e\u5b9a"},Transfer:{items:"\u9879",item:"\u9879",moveAll:"\u79fb\u52a8\u5168\u90e8",searchPlaceholder:"\u8bf7\u8f93\u5165",moveToLeft:"\u64a4\u9500\u9009\u4e2d\u5143\u7d20",moveToRight:"\u63d0\u4ea4\u9009\u4e2d\u5143\u7d20"},Upload:{card:{cancel:"\u53d6\u6d88",addPhoto:"\u4e0a\u4f20\u56fe\u7247",download:"\u4e0b\u8f7d",delete:"\u5220\u9664"},drag:{text:"\u70b9\u51fb\u6216\u8005\u62d6\u52a8\u6587\u4ef6\u5230\u865a\u7ebf\u6846\u5185\u4e0a\u4f20",hint:"\u652f\u6301 docx, xls, PDF, rar, zip, PNG, JPG \u7b49\u7c7b\u578b\u7684\u6587\u4ef6"},upload:{delete:"\u5220\u9664"}},Search:{buttonText:"\u641c\u7d22"},Tag:{delete:"\u5220\u9664"},Rating:{description:"\u8bc4\u5206\u9009\u9879"},Switch:{on:"\u5df2\u6253\u5f00",off:"\u5df2\u5173\u95ed"},Tab:{closeAriaLabel:"\u5173\u95ed"},Form:{Validate:{default:"%s \u6821\u9a8c\u5931\u8d25",required:"%s \u662f\u5fc5\u586b\u5b57\u6bb5",format:{number:"%s \u4e0d\u662f\u5408\u6cd5\u7684\u6570\u5b57",email:"%s \u4e0d\u662f\u5408\u6cd5\u7684 email \u5730\u5740",url:"%s \u4e0d\u662f\u5408\u6cd5\u7684 URL \u5730\u5740",tel:"%s \u4e0d\u662f\u5408\u6cd5\u7684\u7535\u8bdd\u53f7\u7801"},number:{length:"%s \u957f\u5ea6\u5fc5\u987b\u662f %s",min:"%s \u4e0d\u5f97\u5c0f\u4e8e %s",max:"%s \u4e0d\u5f97\u5927\u4e8e %s",minLength:"%s \u5b57\u6bb5\u5b57\u7b26\u957f\u5ea6\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u5b57\u6bb5\u5b57\u7b26\u957f\u5ea6\u4e0d\u5f97\u8d85\u8fc7 %s"},string:{length:"%s \u957f\u5ea6\u5fc5\u987b\u662f %s",min:"%s \u4e0d\u5f97\u5c0f\u4e8e %s",max:"%s \u4e0d\u5f97\u5927\u4e8e %s",minLength:"%s \u957f\u5ea6\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u957f\u5ea6\u4e0d\u5f97\u8d85\u8fc7 %s"},array:{length:"%s \u4e2a\u6570\u5fc5\u987b\u662f %s",minLength:"%s \u4e2a\u6570\u4e0d\u5f97\u5c11\u4e8e %s",maxLength:"%s \u4e2a\u6570\u4e0d\u5f97\u8d85\u8fc7 %s"},pattern:"%s \u6570\u503c %s \u4e0d\u5339\u914d\u6b63\u5219 %s"}}},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r){e.removeEventListener&&e.removeEventListener(t,n,r||!1)}function o(e,t,n,o){return e.addEventListener&&e.addEventListener(t,n,o||!1),{off:function i(){return r(e,t,n,o)}}}function i(e,t,n,i){return o(e,t,(function o(){for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];n.apply(this,s),r(e,t,o,i)}),i)}t.__esModule=!0,t.on=o,t.once=i,t.off=r},function(e,t,n){"use strict";t.__esModule=!0,t.prevent=t.noop=void 0,t.makeChain=c,t.bindCtx=d,t.promiseCall=l,t.invoke=f,t.renderNode=_,t.checkDate=h,t.checkRangeDate=m;var r=n(90),o,i=a(n(238));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.noop=function e(){},u=t.prevent=function e(){return!1};function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?t[0]:function e(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=0,a=t.length;i<a;i++)t[i]&&t[i].apply&&t[i].apply(this,r)}}function d(e,t,n){"string"==typeof t&&(t=[t]),n=n||e,t.forEach((function(t){n[t]=n[t].bind(e)}))}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;return(0,r.isPromise)(e)?e.then((function(e){return t(e),e})).catch((function(e){n(e)})):!1!==e?t(e):n(e)}function f(e,t,n){var r=e&&t in e?e[t]:void 0;return r&&r.apply(void 0,n)}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=void 0!==e?e:t;return n&&!Array.isArray(n)&&(n=[n]),"function"==typeof r?r.apply(void 0,n):r}function h(e){return void 0===e&&(e=null),(e=(0,i.default)(e)).isValid()?e:null}function m(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=Array.isArray(e)?[0,1].map((function(t){return h(e[t])})):[null,null],i=o[0],a=o[1],s=Array.isArray(n)?n:[n,n],u=s[0],c=s[1];return r&&i&&a&&i.isAfter(a)?!u&&c||!u&&!u&&1===t?[null,a]:[i,null]:[i,a]}},function(e,t,n){"use strict";t.__esModule=!0,t.flex=t.transition=t.animation=void 0;var r=n(444),o=n(90),i={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",animation:"animationend"},a={WebkitTransition:"webkitTransitionEnd",OTransition:"oTransitionEnd",transition:"transitionend"};function s(e){if(!r.hasDOM)return!1;var t=document.createElement("div"),n=!1;return(0,o.each)(e,(function(e,r){if(void 0!==t.style[r])return n={end:e},!1})),n}function u(e){if(!r.hasDOM)return!1;var t=document.createElement("div"),n=!1;return(0,o.each)(e,(function(e,r){return(0,o.each)(e,(function(e){try{t.style[r]=e,n=n||t.style[r]===e}catch(e){}return!n})),!n})),n}var c=t.animation=s(i),d=t.transition=s(a),l=t.flex=u({display:["flex","-webkit-flex","-moz-flex","-ms-flexbox"]})},function(e,t,n){"use strict";t.__esModule=!0,t.getFocusNodeList=c,t.saveLastFocusNode=l,t.clearLastFocusNode=f,t.backLastFocusNode=_,t.limitTabRange=h;var r,o=a(n(448)),i=n(90);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){for(;e;){var t,n=e.nodeName;if("BODY"===n||"HTML"===n)break;if("none"===e.style.display||"hidden"===e.style.visibility)return!1;e=e.parentNode}return!0}function u(e){var t=e.nodeName.toLowerCase(),n=parseInt(e.getAttribute("tabindex"),10),r=!isNaN(n)&&n>-1;return!!s(e)&&("input"===t?!e.disabled&&"hidden"!==e.type:["select","textarea","button"].indexOf(t)>-1?!e.disabled:"a"===t&&e.getAttribute("href")||r)}function c(e){var t=[],n=e.querySelectorAll("*");return(0,i.each)(n,(function(e){if(u(e)){var n=e.getAttribute("data-auto-focus")?"unshift":"push";t[n](e)}})),u(e)&&t.unshift(e),t}var d=null;function l(){d=document.activeElement}function f(){d=null}function _(){if(d)try{d.focus()}catch(e){}}function h(e,t){if(t.keyCode===o.default.TAB){var n=c(e),r=n.length-1,i=n.indexOf(document.activeElement);if(i>-1){var a=i+(t.shiftKey?-1:1);a<0&&(a=r),a>r&&(a=0),n[a].focus(),t.preventDefault()}}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(64));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e6,n=Math.ceil(Math.random()*t);return e?s(e)+"-"+n:n.toString(10)}function s(e){return e?("object"===(void 0===e?"undefined":(0,o.default)(e))?e=JSON.stringify(e):"string"!=typeof e&&(e=String(e)),e.replace(/['"]/gm,"").replace(/[\s'"]/gm,"-")):""}t.randomId=a,t.escapeForId=s},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(e=e||"")+(r++).toString(36)};var r=Date.now();e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r="accept acceptCharset accessKey action allowFullScreen allowTransparency\nalt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\ncharSet checked classID className colSpan cols content contentEditable contextMenu\ncontrols coords crossOrigin data dateTime default defer dir disabled download draggable\nencType form formAction formEncType formMethod formNoValidate formTarget frameBorder\nheaders height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\nis keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\nmediaGroup method min minLength multiple muted name noValidate nonce open\noptimum pattern placeholder poster preload radioGroup readOnly rel required\nreversed role rowSpan rows sandbox scope scoped scrolling seamless selected\nshape size sizes span spellCheck src srcDoc srcLang srcSet start step style\nsummary tabIndex target title type useMap value width wmode wrap".replace(/\s+/g," ").replace(/\t|\n|\r/g,"").split(" "),o="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError".replace(/\s+/g," ").replace(/\t|\n|\r/g,"").split(" "),i=["data-","aria-"];t.default=function(e){var t={},n=function n(a){(r.indexOf(a)>-1||o.indexOf(a)>-1||i.map((function(e){return new RegExp("^"+e)})).some((function(e){return a.replace(e,"")!==a})))&&(t[a]=e[a])};for(var a in e)n(a);return t},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=Y(n(237)),i,a=Y(n(56)),s,u=Y(n(75)),c,d=Y(n(76)),l,f=Y(n(50));t.initLocales=O,t.setLanguage=E,t.setLocale=H,t.setDirection=P,t.getLocale=A,t.getLanguage=C,t.getDirection=N,t.config=R;var _,h=Y(n(0)),m,p=Y(n(28)),y,v=Y(n(304)),g=n(443),M,b=Y(n(442)),L,w=Y(n(449));function Y(e){return e&&e.__esModule?e:{default:e}}var k=g.obj.shallowEqual;function D(e){return e.displayName||e.name||"Component"}var T=void 0,S="zh-cn",x={},j=void 0;function O(e){T=e,e&&(x=e[S],"boolean"!=typeof j&&(j=x&&x.rtl))}function E(e){T&&(S=e,x=T[e],"boolean"!=typeof j&&(j=x&&x.rtl))}function H(e){x=(0,f.default)({},T?T[S]:{},e),"boolean"!=typeof j&&(j=x&&x.rtl)}function P(e){j="rtl"===e}function A(){return x}function C(){return S}function N(){return j}function R(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g.obj.isClassComponent(e)&&void 0===e.prototype.shouldComponentUpdate&&(e.prototype.shouldComponentUpdate=function e(t,n){return!this.props.pure||(!k(this.props,t)||!k(this.state,n))});var i=(n=t=function(t){function n(e,r){(0,a.default)(this,n);var o=(0,u.default)(this,t.call(this,e,r));return o._getInstance=o._getInstance.bind(o),o._deprecated=o._deprecated.bind(o),o}return(0,d.default)(n,t),n.prototype._getInstance=function e(t){var n=this;this._instance=t,this._instance&&r.exportNames&&r.exportNames.forEach((function(e){var t=n._instance[e];n[e]="function"==typeof t?t.bind(n._instance):t}))},n.prototype._deprecated=function e(){!1!==this.context.nextWarning&&g.log.deprecated.apply(g.log,arguments)},n.prototype.getInstance=function e(){return this._instance},n.prototype.render=function t(){var n=this.props,i=n.prefix,a=n.locale,s=n.defaultPropsConfig,u=n.pure,c=n.rtl,d=n.device,l=n.popupContainer,_=n.errorBoundary,m=(0,o.default)(n,["prefix","locale","defaultPropsConfig","pure","rtl","device","popupContainer","errorBoundary"]),p=this.context,y=p.nextPrefix,v=p.nextLocale,M=void 0===v?{}:v,L=p.nextDefaultPropsConfig,Y=void 0===L?{}:L,k=p.nextPure,T=p.nextRtl,S=p.nextDevice,O=p.nextPopupContainer,E=p.nextErrorBoundary,H=r.componentName||D(e),P=(0,b.default)({prefix:i,locale:a,defaultPropsConfig:s,pure:u,device:d,popupContainer:l,rtl:c,errorBoundary:_},{nextPrefix:y,nextLocale:(0,f.default)({},x,M),nextDefaultPropsConfig:Y,nextPure:k,nextDevice:S,nextPopupContainer:O,nextRtl:"boolean"==typeof T?T:!0===j||void 0,nextErrorBoundary:E},H),A=["prefix","locale","pure","rtl","device","popupContainer"].reduce((function(e,t){return void 0!==P[t]&&(e[t]=P[t]),e}),{});"pure"in A&&A.pure&&g.log.warning("pure of ConfigProvider is deprecated, use Function Component or React.PureComponent"),"popupContainer"in A&&void 0===this.props.container&&["Overlay","Popup"].indexOf(H)>-1&&(A.container=A.popupContainer,delete A.popupContainer);var C=r.transform?r.transform(m,this._deprecated):m,N=h.default.createElement(e,(0,f.default)({},P.defaultPropsConfig[H],C,A,{ref:this._getInstance})),R=P.errorBoundary,F=R.open,I=(0,o.default)(R,["open"]);return F?h.default.createElement(w.default,I,N):N},n}(h.default.Component),t.propTypes=(0,f.default)({},e.propTypes||{},{prefix:p.default.string,locale:p.default.object,defaultPropsConfig:p.default.object,pure:p.default.bool,rtl:p.default.bool,device:p.default.oneOf(["tablet","desktop","phone"]),popupContainer:p.default.any,errorBoundary:p.default.oneOfType([p.default.bool,p.default.object])}),t.contextTypes=(0,f.default)({},e.contextTypes||{},{nextPrefix:p.default.string,nextLocale:p.default.object,nextDefaultPropsConfig:p.default.object,nextPure:p.default.bool,nextRtl:p.default.bool,nextWarning:p.default.bool,nextDevice:p.default.oneOf(["tablet","desktop","phone"]),nextPopupContainer:p.default.any,nextErrorBoundary:p.default.oneOfType([p.default.bool,p.default.object])}),n);return i.displayName="ConfigedComponent",i.displayName="Config("+D(e)+")",(0,v.default)(i,e),i}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(28));function i(e){return e&&e.__esModule?e:{default:e}}var a=function e(t,n){var r={};for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o],a;r[n(o,i)]=i}return r},s=function e(t){return t.replace(/^(next)([A-Z])/,(function(e,t,n){return n.toLowerCase()}))},u=function e(t){return a(t,s)},c=function e(t,n){var r=t.children;return"function"==typeof r?r(u(n)):null};c.propTypes={children:o.default.func},c.contextTypes={nextPrefix:o.default.string,nextLocale:o.default.object,nextPure:o.default.bool,newRtl:o.default.bool,nextWarning:o.default.bool,nextDevice:o.default.oneOf(["tablet","desktop","phone"]),nextPopupContainer:o.default.any},t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=i(n(56));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){(0,o.default)(this,e),this._root=null,this._store=new Map}return e.prototype.empty=function e(){return 0===this._store.size},e.prototype.has=function e(t){return this._store.has(t)},e.prototype.get=function e(t,n){var r=this.has(t)?this._store.get(t):this.root();return null==r?n:r},e.prototype.add=function e(t,n){this.empty()&&(this._root=t),this._store.set(t,n)},e.prototype.update=function e(t,n){this.has(t)&&this._store.set(t,n)},e.prototype.remove=function e(t){if(this._store.delete(t),t===this._root){var n,r=this._store.keys().next().value;this._root=r}},e.prototype.clear=function e(){this._store.clear()},e.prototype.root=function e(){return this._store.get(this._root)},e}();t.default=a,e.exports=t.default},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(155),o=n.n(r),i=n(0),a=n.n(i),s=n(460),u=n(11),c=n.n(u),d=function(e){return e.React="react",e.Rax="rax",e}({}),l,f=new(function(){function e(){this.runtime=void 0,this.builtinModules=["Component","PureComponent","createElement","createContext","forwardRef","findDOMNode"],this.env=void 0,this.renderers=void 0,this.configProvider=void 0,this.initRuntime()}var t=e.prototype;return t.initRuntime=function e(){var t=function(){function e(){this.state=void 0,this.props=void 0,this.refs=void 0,this.context=void 0}var t=e.prototype;return t.setState=function e(){},t.forceUpdate=function e(){},t.render=function e(){},e}(),n=function(){function e(){this.state=void 0,this.props=void 0,this.refs=void 0,this.context=void 0}var t=e.prototype;return t.setState=function e(){},t.forceUpdate=function e(){},t.render=function e(){},e}(),r=function e(){},o=function e(){},i=function e(){},a=function e(){};this.runtime={Component:t,PureComponent:n,createElement:r,createContext:o,forwardRef:i,findDOMNode:a}},t.setRuntime=function e(t){this.isValidRuntime(t)&&(this.runtime=t)},t.isValidRuntime=function e(t){return"object"==typeof t&&!Array.isArray(t)&&this.builtinModules.every((function(e){var n=!!t[e];if(!n)throw new Error("runtime is invalid, module '"+e+"' does not exist");return n}))},t.getRuntime=function e(){return this.runtime},t.setEnv=function e(t){this.env=t},t.isReact=function e(){return this.env===d.React},t.isRax=function e(){return this.env===d.Rax},t.setRenderers=function e(t){this.renderers=t},t.getRenderers=function e(){return this.renderers||{}},t.setConfigProvider=function e(t){this.configProvider=t},t.getConfigProvider=function e(){return this.configProvider},e}());function _(){var e,t=f.getRuntime().createContext,n=window.__appContext;return n||(n=t({}),window.__appContext=n),n}var h=n(18),m=n.n(h),p=n(24),y=n.n(p),v=n(6),g=n.n(v),M=n(96),b=n.n(M),L=n(25),w=n.n(L),Y=n(8),k=n.n(Y),D=n(9),T=n.n(D),S=n(461),x=n(7);function j(e){return/\.css(\?.*)?$/.test(e)}function O(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=function(){return t},e}function E(e){var t=document.createElement("script");t.text=e,document.head.appendChild(t),document.head.removeChild(t)}function H(e){var t=document.createElement("script");t.onload=r,t.onerror=r;var n=O();function r(e){t.onload=null,t.onerror=null,"load"===e.type?n.resolve():n.reject()}return t.src=e,t.async=!1,document.head.appendChild(t),n.promise()}function P(e){var t;return new Function(e)()}function A(e,t){try{return new Function(e,t)}catch(e){return console.warn("Caught error, Cant init func"),null}}function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=N(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F(e){return e&&e.type}function I(e){return e&&e.type===x.AssetType.Bundle}function W(e,t){return e?{type:x.AssetType.Bundle,assets:e,level:t}:null}function B(e,t,n,r){return t?{type:e,content:t,level:n,id:r}:null}function U(e,t){return t.packages&&(e.packages=[].concat(e.packages||[],t.packages)),t.components&&(e.components=[].concat(e.components||[],t.components)),z(e,t,"componentList"),z(e,t,"bizComponentList"),e}function z(e,t,n){var r;t[n]&&(e[n]&&(null===(r=t[n])||void 0===r||r.map((function(t){var r,o,i=!1;return null===(r=e[n])||void 0===r||r.map((function(e){return e.title===t.title&&(e.children=e.children.concat(t.children),i=!0),e})),!i&&(null===(o=e[n])||void 0===o||o.push(t)),t}))))}var V=function(){function e(e,t){var n;if(this.lastContent=void 0,this.lastUrl=void 0,this.placeholder=void 0,this.level=void 0,this.id=void 0,this.level=e,t&&(this.id=t),t&&(n=document.head.querySelector('style[data-id="'+t+'"]')),!n){n=document.createTextNode("");var r=document.head.querySelector('meta[level="'+e+'"]');r?document.head.insertBefore(n,r):document.head.appendChild(n)}this.placeholder=n}var t=e.prototype;return t.applyText=function e(t){if(this.lastContent!==t){this.lastContent=t,this.lastUrl=void 0;var n=document.createElement("style");n.setAttribute("type","text/css"),this.id&&n.setAttribute("data-id",this.id),n.appendChild(document.createTextNode(t)),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n}},t.applyUrl=function e(t){if(this.lastUrl!==t){this.lastContent=void 0,this.lastUrl=t;var n=document.createElement("link");n.onload=o,n.onerror=o;var r=O();return n.href=t,n.rel="stylesheet",this.id&&n.setAttribute("data-id",this.id),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n,r.promise()}function o(e){n.onload=null,n.onerror=null,"load"===e.type?r.resolve():r.reject()}},e}();function G(e,t,n,r){for(var o=C(n),i;!(i=o()).done;){var a;J(e,t,i.value,r)}}function J(e,t,n,r){if(n){if(Array.isArray(n))return G(e,t,n,r);if(I(n))return n.assets?void(Array.isArray(n.assets)?G(e,t,n.assets,n.level||r):J(e,t,n.assets,n.level||r)):void 0;F(n)||(n=B(j(n)?x.AssetType.CSSUrl:x.AssetType.JSUrl,n,r));var o=n.level||r;o&&null!=x.AssetLevel[o]||(o=x.AssetLevel.App),n.level=o,n.type===x.AssetType.CSSUrl||n.type==x.AssetType.CSSText?t[o].push(n):e[o].push(n)}}var $=function(){function e(){this.stylePoints=new Map}var t=e.prototype;return t.load=function(){var e=m()(k.a.mark((function e(t){var n=this,r,o,i,a;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:return r={},o={},x.AssetLevels.forEach((function(e){r[e]=[],o[e]=[]})),J(o,r,t),i=r[x.AssetLevel.Environment].concat(r[x.AssetLevel.Library],r[x.AssetLevel.Theme],r[x.AssetLevel.Runtime],r[x.AssetLevel.App]),a=o[x.AssetLevel.Environment].concat(o[x.AssetLevel.Library],o[x.AssetLevel.Theme],o[x.AssetLevel.Runtime],o[x.AssetLevel.App]),s.next=8,Promise.all(i.map((function(e){var t=e.content,r=e.level,o=e.type,i=e.id;return n.loadStyle(t,r,o===x.AssetType.CSSUrl,i)})));case 8:return s.next=10,Promise.all(a.map((function(e){var t=e.content,r=e.type;return n.loadScript(t,r===x.AssetType.JSUrl)})));case 10:case"end":return s.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),t.loadStyle=function e(t,n,r,o){var i;if(t)return o?(i=this.stylePoints.get(o))||(i=new V(n,o),this.stylePoints.set(o,i)):i=new V(n),r?i.applyUrl(t):i.applyText(t)},t.loadScript=function e(t,n){if(t)return n?H(t):E(t)},t.loadAsyncLibrary=function(){var e=m()(k.a.mark((function e(t){var n,r,o,i;return k.a.wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:for(i in n=[],r=[],o=[],t)t[i].async&&(n.push(window[t[i].library]),r.push(t[i].library),o.push(t[i]));return a.next=6,Promise.all(n).then((function(e){e.length>0&&e.map((function(e,t){var n=o[t],i=n.exportMode,a=n.exportSourceLibrary,s=n.library;return window[r[t]]="functionCall"!==i||null!=a&&a!==s?e:e(),e}))}));case 6:case"end":return a.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),e}();function q(e){return null!==e&&"object"==typeof e}function K(e){return q(e)&&"i18n"===e.type}function Z(e){if(!q(e))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function X(e){var t=typeof e,n;if(null==e)n=e;else if(Array.isArray(e))n=e.map((function(e){return X(e)}));else if("object"===t&&Z(e))for(var r in n={},e)e.hasOwnProperty(r)&&(n[r]=X(e[r]));else n=e;return n}var Q=["$$typeof","render","defaultProps","props","length","prototype","name","caller","callee","arguments"];function ee(e,t){var n;return Object.keys(t).filter((function(e){return!Q.includes(e)})).forEach((function(n){e[n]=t[n]})),e}var te=["children"],ne="function"==typeof Symbol&&Symbol.for,re=ne?Symbol.for("react.forward_ref"):60112,oe=ne?Symbol.for("react.memo"):60115;function ie(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function ae(e){var t;return(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||e.$$typeof&&e.$$typeof===re}function se(e){return(null==e?void 0:e.$$typeof)&&(null==e?void 0:e.$$typeof)===re}function ue(e){return(null==e?void 0:e.$$typeof)&&e.$$typeof===oe}function ce(e){return!!e&&Boolean(ie(e)||"function"==typeof e||se(e)||ue(e))}function de(e){var t=function(t){function n(){return t.apply(this,arguments)||this}var r;return c()(n,t),n.prototype.render=function t(){var n=this.props,r=n.children,o=y()(n,te);return Object(i.createElement)(e,o,r)},n}(i.Component);return(t=ee(t,e)).displayName=e.displayName,t}function le(e,t){return Object(i.isValidElement)(e)?t?Object(i.cloneElement)(e,t):e:ce(e)?Object(i.createElement)(e,t):e}var fe=n(97),_e=n.n(fe);function he(e){return e&&e.__esModule}var me=/^(https?:)\/\//i;function pe(e,t){return e?(he(e)&&(e=e.default),"string"==typeof e?me.test(e)?React.createElement("img",g()({src:e},t)):React.createElement(_e.a,g()({type:e},t)):Object(i.isValidElement)(e)?Object(i.cloneElement)(e,g()({},t)):ce(e)?Object(i.createElement)(e,g()({},t)):React.createElement(_e.a,g()({},e,t))):null}var ye=n(875);function ve(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ge(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ge(e,t){if(e){if("string"==typeof e)return Me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Me(e,t):void 0}}function Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var be,Le=new(function(){function e(){this.states=new Set}var t=e.prototype;return t.setDragging=function e(t){t?this.addState("dragging"):this.removeState("dragging")},t.setXResizing=function e(t){t?this.addState("x-resizing"):this.removeState("x-resizing")},t.setYResizing=function e(t){t?this.addState("y-resizing"):this.removeState("y-resizing")},t.setCopy=function e(t){t?this.addState("copy"):this.removeState("copy")},t.isCopy=function e(){return this.states.has("copy")},t.release=function e(){for(var t=ve(this.states),n;!(n=t()).done;){var r=n.value;this.removeState(r)}},t.addState=function e(t){this.states.has(t)||(this.states.add(t),document.documentElement.classList.add("lc-cursor-"+t))},t.removeState=function e(t){this.states.has(t)&&(this.states.delete(t),document.documentElement.classList.remove("lc-cursor-"+t))},e}());function we(e){return void 0!==Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__}var Ye=Object.prototype.hasOwnProperty;function ke(e,t){return e&&Ye.call(e,t)}function De(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function Te(e){var t=e.target;return!!t&&(!(!t.form&&!/^(INPUT|SELECT|TEXTAREA)$/.test(t.tagName))||!!(t instanceof HTMLElement&&/write/.test(window.getComputedStyle(t).getPropertyValue("-webkit-user-modify"))))}function Se(e){return"function"==typeof e}var xe=!0,je=function e(t){return xe?null:(t.preventDefault(),t.stopPropagation(),!1)};function Oe(e){xe=e}function Ee(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}function He(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!ke(t,n[o])||e[n[o]]!==t[n[o]])return!1;return!0}document.addEventListener("selectstart",je,!0),document.addEventListener("dragstart",je,!0);var Pe=["fill","size","viewBox","style","children"],Ae={xsmall:8,small:12,medium:16,large:20,xlarge:30};function Ce(e){var t=e.fill,n=e.size,r=void 0===n?"medium":n,o=e.viewBox,i=e.style,a=e.children,s=y()(e,Pe);return Ae.hasOwnProperty(r)&&(r=Ae[r]),React.createElement("svg",g()({fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:r,height:r,viewBox:o},s,{style:g()({color:t},i)}),a)}var Ne=Date.now();function Re(e){return void 0===e&&(e=""),""+e+(Ne++).toString(36).toLowerCase()}function Fe(e){return e&&"object"==typeof e}function Ie(e){return e&&(Object(i.isValidElement)(e)||ce(e))}function We(e){return"string"==typeof e}function Be(e){return e&&"function"==typeof e&&!ie(e)}function Ue(e){return e&&"i18n"===e.type}function ze(e){return e&&"JSBlock"===e.type}function Ve(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function Ge(e){return e&&"JSExpression"===e.type&&"function"===e.extType}function Je(e){return"object"==typeof e&&e&&"JSFunction"===e.type||Ge(e)}function $e(e){return e&&"JSSlot"===e.type}function qe(e){return"package"in e}function Ke(e){return!qe(e)}function Ze(e){return e&&e.componentName&&!e.isNode}function Xe(e){return e&&e.componentsTree}function Qe(e){return e&&"object"==typeof e&&"componentName"in e&&!Ie(e)}function et(e){return Z(e)&&!Ue(e)}function tt(e){return e&&e.type===x.IPublicEnumDragObjectType.NodeData}function nt(e){return e&&e.type===x.IPublicEnumDragObjectType.Node}function rt(e){return e&&e.type!==x.IPublicEnumDragObjectType.NodeData&&e.type!==x.IPublicEnumDragObjectType.Node}function ot(e){return e&&e.type===x.IPublicTypeLocationDetailType.Children}function it(e){return e&&e.isNode}function at(e){return e&&e.target&&e.detail}function st(e){return e&&e.isSettingField}function ut(e){return"object"==typeof e&&"Component"===e.componentName}function ct(e){return e&&e.componentsTree&&e.componentsTree.length&&ut(e.componentsTree[0])}function dt(e){return"string"!=typeof e?e:window[e]||lt(e)}function lt(e){if(["a","img","div","span","svg"].includes(e))return Object(i.forwardRef)((function(t,n){return Object(i.createElement)(e,g()({ref:n},t),t.children)}))}function ft(e,t){var n=t.length;if(n<1||!e)return e;for(var r=0,o;r<n;){var i=t[r],a=void 0;try{o=e[i]||o}catch(e){a=e,o=null}if(0===r&&null==o&&"default"===i){if(a)return 1===n?e:null;o=e}else if(null==o)return null;e=o,r++}return o}function _t(e,t,n){if(!n)return dt(t);var r=n.exportName||n.componentName||t,o,i=dt(e[n.package]||r),a=n.exportName&&n.subName?n.subName.split("."):[];return n.destructuring?a.unshift(r):he(i)&&a.unshift("default"),ft(i,a)}function ht(e){return!!q(e)&&Object.keys(e).some((function(t){return ce(e[t])}))}function mt(e,t,n){var r={};return Object.keys(t).forEach((function(o){var i=t[o];i&&(ct(i)||ut(i))?ut(i)?r[o]=n({version:"",componentsMap:[],componentsTree:[i]}):r[o]=n(i):ce(i)?(ae(i)||(i=de(i)),r[o]=i):ht(i)?r[o]=i:(i=_t(e,o,i))&&(!ae(i)&&ce(i)&&(i=de(i)),r[o]=i)})),r}function pt(e,t){var n={};return t&&t.forEach((function(t){var r;if(e[null==t||null===(r=t.npm)||void 0===r?void 0:r.package]){var o=dt(e[null==t?void 0:t.npm.package]);null!=o&&o.destructuring?Object.keys(o).forEach((function(e){"destructuring"!==e&&(n[e]=o[e])})):t.name&&(n[t.name]=o)}})),n}var yt=n(51),vt=n.n(yt),gt=null;vt.a.defaultMaxListeners=100;var Mt=function(e){function t(t){var n;return n=e.call(this)||this,gt=w()(n),Object.assign(w()(n),t),n}c()(t,e);var n=t.prototype;return n.get=function e(t){return this[t]},n.set=function e(t,n){var r=this;"string"==typeof t?this[t]=n:"object"==typeof t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))},n.batchOn=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.on(e,n)}))},n.batchOnce=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.once(e,n)}))},n.batchOff=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.off(e,n)}))},t}(vt.a);Mt.getInstance=function(){return gt||(gt=new Mt),gt};var bt=n(16);function Lt(e){return e&&"variable"===e.type}function wt(e,t){var n,r=null==e||null===(n=e.options)||void 0===n?void 0:n.configure;return!!Array.isArray(r)&&r.some((function(e){var n,r;return e.name===t&&"I18nSetter"===(null==e||null===(n=e.setter)||void 0===n||null===(r=n.type)||void 0===r?void 0:r.displayName)}))}function Yt(e,t){var n;return void 0===t&&(t="zh-CN"),K(e)?e:((n={type:"i18n",use:t})[t]=e,n)}function kt(e){return"string"==typeof e}function Dt(e,t){var n=200;return new Promise((function(n,r){setTimeout((function(){var o=Object(bt.get)(e,t);if(o)return n(o);r()}),200)})).catch((function(){return Dt(e,t)}))}function Tt(e,t){var n=Object(bt.get)(e,t);return n?Promise.resolve(n):Dt(e,t)}function St(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every((function(e){return t.includes(e)})))}function xt(e){var t;return!(null==e||null===(t=e.getMetadata().configure)||void 0===t||!t.advanced)}function jt(e,t){return void 0===t&&(t=2e3),setTimeout(e,t)}var Ot=["render","serilize","save","clone","init","upgrade"];function Et(e){return"number"==typeof e?(console.warn("stage \u76f4\u63a5\u6307\u5b9a\u4e3a\u6570\u5b57\u7684\u4f7f\u7528\u65b9\u5f0f\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5c06\u5728\u4e0b\u4e00\u7248\u672c\u79fb\u9664\uff0c\u8bf7\u76f4\u63a5\u4f7f\u7528 IPublicEnumTransformStage.Render|Serilize|Save|Clone|Init|Upgrade"),Ot[e-1]):e}function Ht(e,t,n){if(!e)throw new Error("Invariant failed: "+t+(n?" in '"+n+"'":""))}function Pt(e,t,n){e&&console.warn("Deprecation: "+t+(n?", use "+n+" instead.":""))}function At(e){return e&&e.test&&e.exec&&e.compile}function Ct(e,t){return!1!==e&&(e||t)}function Nt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Rt(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Rt(e,t){if(e){if("string"==typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ft(e,t):void 0}}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function It(e){if("object"==typeof e&&null!==e)return e.type&&e.source&&e.compiled}function Wt(e){return e.type&&"actionRef"===e.type}function Bt(e){if(!e)return e;if(Array.isArray(e))return e.map((function(e){return Bt(e)}));if(!Z(e))return e;var t,n,r;if(ze(e))return"Slot"===e.value.componentName?{type:"JSSlot",title:null===(t=e.value.props)||void 0===t?void 0:t.slotTitle,name:null===(n=e.value.props)||void 0===n?void 0:n.slotName,value:Bt(e.value.children),params:null===(r=e.value.props)||void 0===r?void 0:r.slotParams}:e.value;if(Lt(e))return{type:"JSExpression",value:e.variable,mock:e.value};if(It(e))return{type:"JSExpression",value:e.compiled,extType:"function"};if(Wt(e))return{type:"JSExpression",value:e.id+".bind(this)"};var o={};return Object.keys(e).forEach((function(t){/^__slot__/.test(t)&&!0===e[t]||(o[t]=Bt(e[t]))})),o}function Ut(e,t){var n;if(e.id===t)return e;var r=e.children,o=e.props;if(Array.isArray(r))for(var i=Nt(r),a;!(a=i()).done;){var s;if(n=Ut(a.value,t))return n}return Z(o)&&(n=zt(o,t))?n:void 0}function zt(e,t){for(var n,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];if($e(s)){if(Array.isArray(s.value))for(var u=Nt(s.value),c;!(c=u()).done;){var d;if(n=Ut(c.value,t))return n}if(n=Ut(s.value,t))return n}else if(Z(s)&&(n=zt(s,t)))return n}}function Vt(e,t){var n=g()({},e);return Array.isArray(t)||(t=[t]),t.reduce((function(e,t){if(t.type===x.ActivityType.MODIFIED){var n=Ut(e,t.payload.schema.id);if(!n)return e;Object.assign(n,t.payload.schema)}else if(t.type===x.ActivityType.ADDED){var r=t.payload,o=r.location,i=r.schema,a=o.parent,s=Ut(e,a.nodeId);s&&(Array.isArray(s.children)?s.children.splice(a.index,0,i):s.children||(s.children=[i]))}else if(t.type===x.ActivityType.DELETED){var u,c,d=t.payload.location.parent,l=Ut(e,d.nodeId);l&&Array.isArray(l.children)&&l.children.splice(d.index,1)}return e}),n)}var Gt=function e(t,n){if(t)return n(t)?t:e(t.parent,n)};function Jt(e,t){var n,r,o,i=null===(n=e.componentMeta)||void 0===n||null===(r=n.advanced)||void 0===r||null===(o=r.callbacks)||void 0===o?void 0:o.onClickHook,a;return"function"!=typeof i||i(t,e)}var $t={debug:-1,log:0,info:0,warn:1,error:2},qt=["#daa569","#00ffff","#385e0f","#7fffd4","#00c957","#b0e0e6","#4169e1","#6a5acd","#87ceeb","#ffff00","#e3cf57","#ff9912","#eb8e55","#ffe384","#40e0d0","#a39480","#d2691e","#ff7d40","#f0e68c","#bc8f8f","#c76114","#734a12","#5e2612","#0000ff","#3d59ab","#1e90ff","#03a89e","#33a1c9","#a020f0","#a066d3","#da70d6","#dda0dd","#688e23","#2e8b57"],Kt={debug:"#666666",log:"#bbbbbb",info:"#ffffff",warn:"#bbbbbb",error:"#bbbbbb"},Zt={debug:"debug",log:"log",info:"info",warn:"warn",error:"error"},Xt={debug:console.log,log:console.log,info:console.log,warn:console.warn,error:console.error},Qt={},en=function e(t,n,r,o){void 0===n&&(n="warn");var i=$t[n]<=$t[t],a="*"===o||r.indexOf(o)>-1;return i&&a},tn=function e(t,n){return function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Xt[t].apply(console,rn(r,n,t))}},nn=function e(t){if(!Qt[t]){var n=qt[Object.keys(Qt).length%qt.length];Qt[t]=n}return Qt[t]},rn=function e(t,n,r){var o=nn(n),i=Kt[r],a=t[0],s="%c["+n+"]%c["+Zt[r]+"]:";a.forEach((function(e){q(e)?s+="%o":s+="%s"}));var u=[s,"color: "+o,"color: "+i];return u=u.concat(a)},on=function e(t,n){if(!t)return{level:n.level,bizName:n.bizName};if(t.indexOf(":")>-1){var r=t.split(":");return{level:r[0],bizName:r[1]||"*"}}return{level:t,bizName:"*"}},an={level:"warn",bizName:"*"},sn=function(){function e(e){this.bizName=void 0,this.targetBizName=void 0,this.targetLevel=void 0,e=g()({},an,e);var t=location||{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(t.href)||[])[1],r=on(n,e);this.bizName=e.bizName,this.targetBizName=r.bizName,this.targetLevel=r.level}var t=e.prototype;return t.debug=function e(){if(en("debug",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("debug",this.bizName)(n)}},t.log=function e(){if(en("log",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("log",this.bizName)(n)}},t.info=function e(){if(en("info",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("info",this.bizName)(n)}},t.warn=function e(){if(en("warn",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("warn",this.bizName)(n)}},t.error=function e(){if(en("error",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tn("error",this.bizName)(n)}},e}();function un(e){return new sn(e)}var cn=4;function dn(e,t){return!!e.shaken||(e.target!==t.target||Math.pow(e.clientY-t.clientY,2)+Math.pow(e.clientX-t.clientX,2)>4)}function ln(e){if(!e)return!1;var t=e.split(":");return t.length>1&&t[0].length>0}var fn=["hover","focus","active","visited"],_n=/[A-Z]/g,hn=/[-\s]+(.)?/g,mn=/([^:]*):\s?(.*)/i;function pn(e){var t=0,n=0,r=[];return e.split("").forEach((function(o,i){"{"===o&&t++,"}"===o&&(1===t&&(r.push(e.substring(n,i+1)),n=i+1),t--)})),r}function yn(e){return"[object String]"==={}.toString.call(e)}function vn(e){return e.replace(_n,(function(e){return"-"+e})).toLowerCase()}function gn(e){return e.replace(hn,(function(e,t){return t?t.toUpperCase():""}))}function Mn(e){var t=[];return Object.keys(e).forEach((function(n){t.push(" "+n+": "+e[n]+";")})),t.join("\n")}function bn(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?bn(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[gn(t)]=e[t]})),n}function Ln(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Ln(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[vn(t)]=e[t]})),n}function wn(e){if(!e)return":root {\n\n}";if(e.default){var t=[];return Object.keys(e).forEach((function(n){if("extra"!==n){var r=fn.indexOf(n)>-1?":":"";t.push(":root"+("default"===n?"":""+r+n)+" {\n"+Mn(Ln(e[n]))+"\n}\n")}else Array.isArray(e.extra)&&t.push(e.extra.join("\n"))})),t.join("\n")}return":root {\n"+Mn(Ln(e))+"\n}\n"}function Yn(e){if(!e)return{};var t={},n;return pn(e).forEach((function(e){if(e.startsWith(":root")){var n=/:root:?(.*)?{(.*)/gi.exec(e.replace(/[\r\n]+/gi,"").trim());if(n){var r;n[1]&&n[1].trim()&&Object(bt.some)(fn,(function(e){return 0===n[1].indexOf(e)}))?r=n[1].trim():n[1]&&n[1].trim()&&(r=n[1]);var o={};n[2].split(";").reduce((function(e,t){return t.indexOf("base64")>-1?e[e.length-1]+=";"+t:e.push(t),e}),[]).forEach((function(e){if(e&&mn.test(e)){var t=e.match(mn),n=null==t?void 0:t[1],r=null==t?void 0:t[2];n&&r&&(o[n.trim()]=r.trim())}})),t[r||"default"]=o}}else t.extra=t.extra||[],t.extra.push(e.trim())})),t}function kn(e){try{return yn(e)?bn(Yn(e).default):e.default?bn(Ln(e.default)):bn(Ln(e))}catch(e){}return{}}var Dn=n(171),Tn,Sn=new function e(){var t=this;this.emitter=new vt.a,this.executeTransaction=function(e,n){void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.emit("["+n+"]startTransaction"),Object(Dn.a)(e),t.emitter.emit("["+n+"]endTransaction")},this.onStartTransaction=function(e,n){return void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.on("["+n+"]startTransaction",e),function(){t.emitter.off("["+n+"]startTransaction",e)}},this.onEndTransaction=function(e,n){return void 0===n&&(n=x.IPublicEnumTransitionType.REPAINT),t.emitter.on("["+n+"]endTransaction",e),function(){t.emitter.off("["+n+"]endTransaction",e)}}};function xn(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.createElement;return(e=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){return r("div",this.props)},t}(n)).displayName="Div",e.version="0.0.0",e}var jn=n(28),On=n.n(jn),En=n(876);function Hn(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.createElement;return(e=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){var t=this.props,n=t.children,o=t.cell,i=t.title,a=t.label,s=t.text,u=t.__componentName,c=n;return o&&"function"==typeof o&&(c=o()),r("div",{className:"visual-dom"},r("div",{className:"panel-container"},[r("span",{className:"title"},i||a||s||u),r("div",{className:"content"},c)]))},t}(n)).displayName="VisualDom",e.propTypes={children:On.a.oneOfType([On.a.element,On.a.arrayOf(On.a.element)])},e.defaultProps={children:null},e}var Pn=new sn({level:"warn",bizName:"renderer"}),An=n(2),Cn,Nn,Rn;function Fn(e){return e.type===Nn.literal}function In(e){return e.type===Nn.argument}function Wn(e){return e.type===Nn.number}function Bn(e){return e.type===Nn.date}function Un(e){return e.type===Nn.time}function zn(e){return e.type===Nn.select}function Vn(e){return e.type===Nn.plural}function Gn(e){return e.type===Nn.pound}function Jn(e){return e.type===Nn.tag}function $n(e){return!(!e||"object"!=typeof e||e.type!==Rn.number)}function qn(e){return!(!e||"object"!=typeof e||e.type!==Rn.dateTime)}function Kn(e){return{type:Nn.literal,value:e}}function Zn(e,t){return{type:Nn.number,value:e,style:t}}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Cn||(Cn={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(Nn||(Nn={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Rn||(Rn={}));var Xn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/,er=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function tr(e){var t={};return e.replace(er,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var nr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rr(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t,n=[],r=0,o=e.split(nr).filter((function(e){return e.length>0}));r<o.length;r++){var i,a=o[r].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),c=0,d=u;c<d.length;c++){var l;if(0===d[c].length)throw new Error("Invalid number skeleton")}n.push({stem:s,options:u})}return n}function or(e){return e.replace(/^(.*?)-/,"")}var ir=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ar=/^(@+)?(\+|#+)?[rs]?$/g,sr=/(\*)(0+)|(#+)(0+)|(0+)/g,ur=/^(0+)$/;function cr(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ar,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function dr(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function lr(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ur.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function fr(e){var t={},n=dr(e);return n||t}function _r(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=or(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Object(An.__assign)(Object(An.__assign)({},e),fr(t))}),{}));continue;case"engineering":t=Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Object(An.__assign)(Object(An.__assign)({},e),fr(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(sr,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(ur.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(ir.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(ir,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=Object(An.__assign)(Object(An.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Object(An.__assign)(Object(An.__assign)({},t),cr(i)))}else if(ar.test(o.stem))t=Object(An.__assign)(Object(An.__assign)({},t),cr(o.stem));else{var a=dr(o.stem);a&&(t=Object(An.__assign)(Object(An.__assign)({},t),a));var s=lr(o.stem);s&&(t=Object(An.__assign)(Object(An.__assign)({},t),s))}}return t}var hr={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]},mr;function pr(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),u="a",c=yr(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===o?"H":o}return n}function yr(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r,o;return"root"!==n&&(r=e.maximize().region),(hr[r||""]||hr[n||""]||hr["".concat(n,"-001")]||hr["001"])[0]}var vr=new RegExp("^".concat(Xn.source,"*")),gr=new RegExp("".concat(Xn.source,"*$"));function Mr(e,t){return{start:e,end:t}}var br=!!String.prototype.startsWith,Lr=!!String.fromCodePoint,wr=!!Object.fromEntries,Yr=!!String.prototype.codePointAt,kr=!!String.prototype.trimStart,Dr=!!String.prototype.trimEnd,Tr,Sr=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xr=!0;try{var jr;xr="a"===(null===(mr=Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===mr?void 0:mr[0])}catch(e){xr=!1}var Or=br?function e(t,n,r){return t.startsWith(n,r)}:function e(t,n,r){return t.slice(r,r+n.length)===n},Er=Lr?String.fromCodePoint:function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",o=t.length,i=0,a;o>i;){if((a=t[i++])>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(55296+((a-=65536)>>10),a%1024+56320)}return r},Hr=wr?Object.fromEntries:function e(t){for(var n={},r=0,o=t;r<o.length;r++){var i=o[r],a=i[0],s=i[1];n[a]=s}return n},Pr=Yr?function e(t,n){return t.codePointAt(n)}:function e(t,n){var r=t.length;if(!(n<0||n>=r)){var o=t.charCodeAt(n),i;return o<55296||o>56319||n+1===r||(i=t.charCodeAt(n+1))<56320||i>57343?o:i-56320+(o-55296<<10)+65536}},Ar=kr?function e(t){return t.trimStart()}:function e(t){return t.replace(vr,"")},Cr=Dr?function e(t){return t.trimEnd()}:function e(t){return t.replace(gr,"")},Nr;function Rr(e,t){return new RegExp(e,t)}if(xr){var Fr=Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nr=function e(t,n){var r,o;return Fr.lastIndex=n,null!==(r=Fr.exec(t)[1])&&void 0!==r?r:""}}else Nr=function e(t,n){for(var r=[];;){var o=Pr(t,n);if(void 0===o||zr(o)||Vr(o))break;r.push(o),n+=o>=65536?2:1}return Er.apply(void 0,r)};var Ir=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){var i;if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Cn.UNMATCHED_CLOSING_TAG,Mr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Wr(this.peek()||0)){var i;if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:Nn.pound,location:Mr(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Nn.literal,value:"<".concat(r,"/>"),location:Mr(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wr(this.char()))return this.error(Cn.INVALID_TAG,Mr(a,this.clonePosition()));var s=this.clonePosition(),u;return r!==this.parseTagName()?this.error(Cn.UNMATCHED_CLOSING_TAG,Mr(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Nn.tag,value:r,children:i,location:Mr(n,this.clonePosition())},err:null}:this.error(Cn.INVALID_TAG,Mr(a,this.clonePosition())))}return this.error(Cn.UNCLOSED_TAG,Mr(n,this.clonePosition()))}return this.error(Cn.INVALID_TAG,Mr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Ur(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=Mr(n,this.clonePosition());return{val:{type:Nn.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&Br(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Er.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Er(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Cn.EMPTY_ARGUMENT,Mr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Cn.MALFORMED_ARGUMENT,Mr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Nn.argument,value:r,location:Mr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Cn.MALFORMED_ARGUMENT,Mr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Nr(this.message,t),r=t+n.length,o,i;return this.bumpTo(r),{value:n,location:Mr(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Cn.EXPECT_ARGUMENT_TYPE,Mr(i,s));case"number":case"date":case"time":this.bumpSpace();var u=null,c;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),l,f,_;if((l=this.parseSimpleArgStyleIfPossible()).err)return l;if(0===(f=Cr(l.val)).length)return this.error(Cn.EXPECT_ARGUMENT_STYLE,Mr(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Mr(d,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var h=Mr(r,this.clonePosition());if(u&&Or(null==u?void 0:u.style,"::",0)){var m=Ar(u.style.slice(2)),l;if("number"===a)return(l=this.parseNumberSkeletonFromString(m,u.styleLocation)).err?l:{val:{type:Nn.number,value:n,location:h,style:l.val},err:null};if(0===m.length)return this.error(Cn.EXPECT_DATE_TIME_SKELETON,h);var p=m;this.locale&&(p=pr(m,this.locale));var f={type:Rn.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?tr(p):{}},y;return{val:{type:"date"===a?Nn.date:Nn.time,value:n,location:h,style:f},err:null}}return{val:{type:"number"===a?Nn.number:"date"===a?Nn.date:Nn.time,value:n,location:h,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Cn.EXPECT_SELECT_ARGUMENT_OPTIONS,Mr(v,Object(An.__assign)({},v)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),M=0;if("select"!==a&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(Cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mr(this.clonePosition(),this.clonePosition()));var l;if(this.bumpSpace(),(l=this.tryParseDecimalInteger(Cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Cn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return l;this.bumpSpace(),g=this.parseIdentifierIfPossible(),M=l.val}var b=this.tryParsePluralOrSelectOptions(e,a,t,g),c;if(b.err)return b;if((c=this.tryParseArgumentClose(r)).err)return c;var L=Mr(r,this.clonePosition());return"select"===a?{val:{type:Nn.select,value:n,options:Hr(b.val),location:L},err:null}:{val:{type:Nn.plural,value:n,options:Hr(b.val),offset:M,pluralType:"plural"===a?"cardinal":"ordinal",location:L},err:null};default:return this.error(Cn.INVALID_ARGUMENT_TYPE,Mr(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Cn.EXPECT_ARGUMENT_CLOSING_BRACE,Mr(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){var n;switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Cn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mr(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=rr(e)}catch(e){return this.error(Cn.INVALID_NUMBER_SKELETON,t)}return{val:{type:Rn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_r(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,i=!1,a=[],s=new Set,u=r.value,c=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Cn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;c=Mr(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}if(s.has(u))return this.error("select"===t?Cn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Cn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Cn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Mr(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,t,n);if(_.err)return _;var h=this.tryParseArgumentClose(f);if(h.err)return h;a.push([u,{value:_.val,location:Mr(f,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?Cn.EXPECT_SELECT_ARGUMENT_SELECTOR:Cn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Cn.MISSING_OTHER_CLAUSE,Mr(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=Mr(r,this.clonePosition());return o?Sr(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Pr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Or(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Wr(e){return e>=97&&e<=122||e>=65&&e<=90}function Br(e){return Wr(e)||47===e}function Ur(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function zr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Vr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Gr(e){e.forEach((function(e){if(delete e.location,zn(e)||Vn(e))for(var t in e.options)delete e.options[t].location,Gr(e.options[t].value);else Wn(e)&&$n(e.style)||(Bn(e)||Un(e))&&qn(e.style)?delete e.style.location:Jn(e)&&Gr(e.children)}))}function Jr(e,t){void 0===t&&(t={}),t=Object(An.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ir(e,t).parse();if(n.err){var r=SyntaxError(Cn[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Gr(n.val),n.val}function $r(e,t){var n=t&&t.cache?t.cache:oo,r=t&&t.serializer?t.serializer:no,o;return(t&&t.strategy?t.strategy:Qr)(e,{cache:n,serializer:r})}function qr(e){return null==e||"number"==typeof e||"boolean"==typeof e}function Kr(e,t,n,r){var o=qr(r)?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function Zr(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function Xr(e,t,n,r,o){return n.bind(t,e,r,o)}function Qr(e,t){var n;return Xr(e,this,1===e.length?Kr:Zr,t.cache.create(),t.serializer)}function eo(e,t){return Xr(e,this,Zr,t.cache.create(),t.serializer)}function to(e,t){return Xr(e,this,Kr,t.cache.create(),t.serializer)}var no=function(){return JSON.stringify(arguments)};function ro(){this.cache=Object.create(null)}ro.prototype.get=function(e){return this.cache[e]},ro.prototype.set=function(e,t){this.cache[e]=t};var oo={create:function e(){return new ro}},io={variadic:eo,monadic:to},ao;!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ao||(ao={}));var so=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Object(An.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),uo=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ao.INVALID_VALUE,o)||this}return Object(An.__extends)(t,e),t}(so),co=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),ao.INVALID_VALUE,r)||this}return Object(An.__extends)(t,e),t}(so),lo=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),ao.MISSING_VALUE,n)||this}return Object(An.__extends)(t,e),t}(so),fo;function _o(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===fo.literal&&t.type===fo.literal?n.value+=t.value:e.push(t),e}),[])}function ho(e){return"function"==typeof e}function mo(e,t,n,r,o,i,a){if(1===e.length&&Fn(e[0]))return[{type:fo.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var d=c[u];if(Fn(d))s.push({type:fo.literal,value:d.value});else if(Gn(d))"number"==typeof i&&s.push({type:fo.literal,value:n.getNumberFormat(t).format(i)});else{var l=d.value;if(!o||!(l in o))throw new lo(l,a);var f=o[l];if(In(d))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?fo.literal:fo.object,value:f});else if(Bn(d)){var _="string"==typeof d.style?r.date[d.style]:qn(d.style)?d.style.parsedOptions:void 0;s.push({type:fo.literal,value:n.getDateTimeFormat(t,_).format(f)})}else if(Un(d)){var _="string"==typeof d.style?r.time[d.style]:qn(d.style)?d.style.parsedOptions:r.time.medium;s.push({type:fo.literal,value:n.getDateTimeFormat(t,_).format(f)})}else if(Wn(d)){var _;(_="string"==typeof d.style?r.number[d.style]:$n(d.style)?d.style.parsedOptions:void 0)&&_.scale&&(f*=_.scale||1),s.push({type:fo.literal,value:n.getNumberFormat(t,_).format(f)})}else{if(Jn(d)){var h=d.children,m=d.value,p=o[m];if(!ho(p))throw new co(m,"function",a);var y,v=p(mo(h,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map((function(e){return{type:"string"==typeof e?fo.literal:fo.object,value:e}})))}if(zn(d)){var g;if(!(g=d.options[f]||d.options.other))throw new uo(d.value,f,Object.keys(d.options),a);s.push.apply(s,mo(g.value,t,n,r,o))}else if(Vn(d)){var g;if(!(g=d.options["=".concat(f)])){if(!Intl.PluralRules)throw new so('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ao.MISSING_INTL_API,a);var M=n.getPluralRules(t,{type:d.pluralType}).select(f-(d.offset||0));g=d.options[M]||d.options.other}if(!g)throw new uo(d.value,f,Object.keys(d.options),a);s.push.apply(s,mo(g.value,t,n,r,o,f-(d.offset||0)))}else;}}}return _o(s)}function po(e,t){return t?Object(An.__assign)(Object(An.__assign)(Object(An.__assign)({},e||{}),t||{}),Object.keys(e).reduce((function(n,r){return n[r]=Object(An.__assign)(Object(An.__assign)({},e[r]),t[r]||{}),n}),{})):e}function yo(e,t){return t?Object.keys(e).reduce((function(n,r){return n[r]=po(e[r],t[r]),n}),Object(An.__assign)({},e)):e}function vo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function go(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.number),strategy:io.variadic}),getDateTimeFormat:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.dateTime),strategy:io.variadic}),getPluralRules:$r((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Object(An.__spreadArray)([void 0],t,!1)))}),{cache:vo(e.pluralRules),strategy:io.variadic})}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(fo||(fo={}));var Mo,bo=function(){function e(t,n,r,o){var i=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=i.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===fo.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return mo(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=yo(e.formats,r),this.formatters=o&&o.formatters||go(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=Jr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Lo=n(462),wo=n(77),Yo=n(241),ko=n.n(Yo),Do=n(463),To=n.n(Do);window.sdkVersion=Lo.version;var So=To()(wo.isElement,!0),xo={JSEXPRESSION:"JSExpression",JSFUNCTION:"JSFunction",JSSLOT:"JSSlot",JSBLOCK:"JSBlock",I18N:"i18n"};function jo(e){if(Object(bt.isEmpty)(e))return!1;if("Leaf"===e.componentName||"Slot"===e.componentName)return!0;if(Array.isArray(e))return e.every((function(e){return jo(e)}));var t=function t(n){return!!n&&(!!Ve(n)||"object"==typeof e.props&&!Array.isArray(n))};return!(!e.componentName||!t(e.props))}function Oo(e){return!!jo(e)&&["Page","Block","Component"].includes(e.componentName)}function Eo(){try{return window.parent!==window&&window.parent.location.host===window.location.host}catch(e){return!1}}function Ho(e){var t;if(e)return("lce-"+e.replace(/([A-Z])/g,"-$1").toLowerCase()).split("-").filter((function(e){return!!e})).join("-")}function Po(e){return!!e&&("object"==typeof e&&!Array.isArray(e)&&[xo.JSSLOT,xo.JSBLOCK].includes(e.type))}function Ao(e,t,n){if(void 0===n&&(n={}),Array.isArray(e))return n;if(Object(bt.isEmpty)(e)||"object"!=typeof e)return n;var r=t.split(".").reduce((function(e,t){return e&&e[t]}),e);return void 0===r?n:r}function Co(e,t,n,r){return void 0===t&&(t={}),void 0===n&&(n="zh-CN"),void 0===r&&(r={}),r&&r[n]&&r[n][e]?new bo(r[n][e],n).format(t):"";var o}function No(e){var t,n,r,o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.forward_ref"):60112;return(null==e?void 0:e.$$typeof)===o||(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||(null==e||null===(n=e.prototype)||void 0===n?void 0:n.setState)||e._forwardRef}function Ro(e,t,n){if(void 0===n&&(n=!0),Object(bt.isEmpty)(e)||!Array.isArray(e))return{};var r={};return e.forEach((function(e){var o=e[t];void 0!==e[t]&&(r[o]&&!n||(r[o]=e))})),r}function Fo(e,t,n,r){var o,i=n;if("string"==typeof n&&(i=new Function('"use strict"; const PropTypes = arguments[0]; return '+n)(So)),!i||"function"!=typeof i)return console.warn("checkPropTypes should have a function type rule argument"),!0;var a=i(((o={})[t]=e,o),t,r,"prop",null,ko.a);return a&&console.warn(a),!a}function Io(e){return"string"!=typeof e?e:Eo()&&window.parent.__newFunc?window.parent.__newFunc('"use strict"; return '+e)():new Function('"use strict"; return '+e)()}function Wo(e,t,n){var r,o,i,a;void 0===n&&(n=!1),"object"==typeof e&&void 0===t?(r=e.str,o=e.self,i=e.thisRequired,a=e.logScope):(r=e,o=t,i=n);try{var s=['"use strict";',"var __self = arguments[0];"],u,c;return s.push("return "),u=(u=(r.value||"").trim()).replace(/this(\W|$)/g,(function(e,t){return"__self"+t})),u=s.join("\n")+u,Eo()&&window.parent.__newFunc?window.parent.__newFunc(u)(o):new Function("$scope","with("+(i?"{}":"$scope || {}")+") { "+u+" }")(o)}catch(e){var d,l;return void Pn.error((a||"")+" parseExpression.error",e,r,null!==(d=null===(l=o)||void 0===l?void 0:l.__self)&&void 0!==d?d:o)}}function Bo(e,t){return Wo(e,t,!0)}function Uo(e){return e&&zo(e)&&0!==e.length?e[0].toUpperCase()+e.slice(1):e}function zo(e){return"[object String]"==={}.toString.call(e)}function Vo(e){return!(!e||Array.isArray(e))&&("object"==typeof e&&"variable"===(null==e?void 0:e.type))}function Go(e,t){return Wo({type:xo.JSEXPRESSION,value:"this.i18n('"+e.key+"')"},t)}function Jo(e,t,n){!e||Array.isArray(e)||zo(e)||"object"!=typeof e||Object.keys(e).forEach((function(r){return t.call(n,e[r],r)}))}function $o(e,t,n){if(void 0===n&&(n={}),Ve(e))return Wo({str:e,self:t,thisRequired:n.thisRequiredInJSE,logScope:n.logScope});if(Ue(e))return Go(e,t);if("string"==typeof e)return e.trim();if(Array.isArray(e))return e.map((function(e){return $o(e,t,n)}));if("function"==typeof e)return e.bind(t);if("object"==typeof e){if(!e)return e;var r={};return Jo(e,(function(e,o){o.startsWith("__")||(r[o]=$o(e,t,n))})),r}return e}function qo(e){var t=[];return Jo(e,(function(e,n){null!=e&&""!==e&&("object"==typeof e?t.push(n+"="+encodeURIComponent(JSON.stringify(e))):t.push(n+"="+encodeURIComponent(e)))})),t.join("&")}var Ko="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ko&&Ko,Zo="URLSearchParams"in Ko,Xo="Symbol"in Ko&&"iterator"in Symbol,Qo="FileReader"in Ko&&"Blob"in Ko&&function(){try{return new Blob,!0}catch(e){return!1}}(),ei="FormData"in Ko,ti="ArrayBuffer"in Ko;function ni(e){return e&&DataView.prototype.isPrototypeOf(e)}if(ti)var ri=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],oi=ArrayBuffer.isView||function(e){return e&&ri.indexOf(Object.prototype.toString.call(e))>-1};function ii(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ai(e){return"string"!=typeof e&&(e=String(e)),e}function si(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Xo&&(t[Symbol.iterator]=function(){return t}),t}function ui(e){this.map={},e instanceof ui?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ci(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function di(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function li(e){var t=new FileReader,n=di(t);return t.readAsArrayBuffer(e),n}function fi(e){var t=new FileReader,n=di(t);return t.readAsText(e),n}function _i(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function hi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function mi(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Qo&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ei&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Zo&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ti&&Qo&&ni(e)?(this._bodyArrayBuffer=hi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ti&&(ArrayBuffer.prototype.isPrototypeOf(e)||oi(e))?this._bodyArrayBuffer=hi(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Zo&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Qo&&(this.blob=function(){var e=ci(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ci(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(li)}),this.text=function(){var e=ci(this);if(e)return e;if(this._bodyBlob)return fi(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_i(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ei&&(this.formData=function(){return this.text().then(gi)}),this.json=function(){return this.text().then(JSON.parse)},this}ui.prototype.append=function(e,t){e=ii(e),t=ai(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ui.prototype.delete=function(e){delete this.map[ii(e)]},ui.prototype.get=function(e){return e=ii(e),this.has(e)?this.map[e]:null},ui.prototype.has=function(e){return this.map.hasOwnProperty(ii(e))},ui.prototype.set=function(e,t){this.map[ii(e)]=ai(t)},ui.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ui.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),si(e)},ui.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),si(e)},ui.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),si(e)},Xo&&(ui.prototype[Symbol.iterator]=ui.prototype.entries);var pi=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function yi(e){var t=e.toUpperCase();return pi.indexOf(t)>-1?t:e}function vi(e,t){if(!(this instanceof vi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof vi){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ui(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ui(t.headers)),this.method=yi(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function gi(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function Mi(e){var t=new ui,n;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function bi(e,t){if(!(this instanceof bi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ui(t.headers),this.url=t.url||"",this._initBody(e)}vi.prototype.clone=function(){return new vi(this,{body:this._bodyInit})},mi.call(vi.prototype),mi.call(bi.prototype),bi.prototype.clone=function(){return new bi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ui(this.headers),url:this.url})},bi.error=function(){var e=new bi(null,{status:0,statusText:""});return e.type="error",e};var Li=[301,302,303,307,308];bi.redirect=function(e,t){if(-1===Li.indexOf(t))throw new RangeError("Invalid status code");return new bi(null,{status:t,headers:{location:e}})};var wi=Ko.DOMException;try{new wi}catch(e){(wi=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),wi.prototype.constructor=wi}function Yi(e,t){return new Promise((function(n,r){var o=new vi(e,t);if(o.signal&&o.signal.aborted)return r(new wi("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}function s(e){try{return""===e&&Ko.location.href?Ko.location.href:e}catch(t){return e}}i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:Mi(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;setTimeout((function(){n(new bi(t,e))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new wi("Aborted","AbortError"))}),0)},i.open(o.method,s(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(Qo?i.responseType="blob":ti&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ui?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,ai(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Yi.polyfill=!0,Ko.fetch||(Ko.fetch=Yi,Ko.Headers=ui,Ko.Request=vi,Ko.Response=bi);var ki=n(464),Di=n.n(ki);function Ti(e,t){var n=qo(t);return n?e.indexOf("?")>0?e+"&"+n:e+"?"+n:e}function Si(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r={});var o=g()({Accept:"application/json"},n),i;return ji(Ti(e,t),"GET",null,o,r)}function xi(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r={});var o=g()({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},n),i;return ji(e,"POST",o["Content-Type"].indexOf("application/json")>-1||Array.isArray(t)?JSON.stringify(t):qo(t),o,r)}function ji(e,t,n,r,o){void 0===t&&(t="GET"),void 0===r&&(r={}),void 0===o&&(o={});var i=r||{},a=n;return"PUT"!==t&&"DELETE"!==t||(i=g()({Accept:"application/json","Content-Type":"application/json"},i),a=JSON.stringify(a||{})),new Promise((function(n,r){o.timeout&&setTimeout((function(){r(new Error("timeout"))}),o.timeout),fetch(e,g()({method:t,credentials:"include",headers:i,body:a},o)).then((function(e){switch(e.status){case 200:case 201:case 202:return e.json();case 204:return"DELETE"===t?{success:!0}:{__success:!1,code:e.status};case 400:case 401:case 403:case 404:case 406:case 410:case 422:case 500:return e.json().then((function(t){return{__success:!1,code:e.status,data:t}})).catch((function(){return{__success:!1,code:e.status}}))}return null})).then((function(e){e?!1!==e.__success?n(e):(delete e.__success,r(e)):r(e)})).catch((function(e){r(e)}))}))}function Oi(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),new Promise((function(r,o){var i=g()({timeout:5e3},n),a=Ti(e,t);Di()(a,i).then((function(e){e.json()})).then((function(e){e?r(e):o()})).catch((function(e){o(e)}))}))}var Ei=["uri","url","method","headers","params"],Hi=["headers"],Pi="init",Ai="loading",Ci="loaded",Ni="error";function Ri(e,t){var n=t.uri,r=t.url,o=t.method,i=void 0===o?"GET":o,a=t.headers,s=t.params,u=y()(t,Ei);if(u=u||{},"jsonp"===e)return Oi(n,s,u);if("fetch"===e)switch(i.toUpperCase()){case"GET":return Si(n,s,a,u);case"POST":return xi(n,s,a,u);default:return ji(n,i,s,a,u)}Pn.log("Engine default dataSource does not support type:["+e+"] dataSource request!",t)}var Fi=function(){function e(e,t,n,r){this.host=void 0,this.config=void 0,this.parser=void 0,this.ajaxList=void 0,this.ajaxMap=void 0,this.dataSourceMap=void 0,this.appHelper=void 0,this.host=e,this.config=t||{},this.parser=r,this.ajaxList=(null==t?void 0:t.list)||[],this.ajaxMap=Ro(this.ajaxList,"id"),this.dataSourceMap=this.generateDataSourceMap(),this.appHelper=n}var t=e.prototype;return t.updateConfig=function e(t){var n,r=this;void 0===t&&(t={}),this.config=t,this.ajaxList=(null===(n=t)||void 0===n?void 0:n.list)||[];var o=Ro(this.ajaxList,"id");return Object.keys(this.ajaxMap).forEach((function(e){o[e]||delete r.dataSourceMap[e]})),this.ajaxMap=o,this.ajaxList.forEach((function(e){r.dataSourceMap[e.id]||(r.dataSourceMap[e.id]={status:Pi,load:function t(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.getDataSource.apply(r,[e.id].concat(o))}})})),this.dataSourceMap},t.generateDataSourceMap=function e(){var t=this,n={};return this.ajaxList.forEach((function(e){n[e.id]={status:Pi,load:function n(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t.getDataSource.apply(t,[e.id].concat(o))}}})),n},t.updateDataSourceMap=function e(t,n,r){this.dataSourceMap[t].error=r||void 0,this.dataSourceMap[t].data=n,this.dataSourceMap[t].status=r?Ni:Ci},t.getInitDataSourseConfigs=function e(){var t=this,n;return this.parser(this.ajaxList).filter((function(e){return!0===e.isInit&&(t.dataSourceMap[e.id].status=Ai,!0)}))},t.getInitData=function e(){var t=this,n=this.getInitDataSourseConfigs();return this.asyncDataHandler(n).then((function(e){var n=t.config.dataHandler;return t.handleData(null,n,e,null)}))},t.getDataSource=function e(t,n,r,o){var i=this.parser(this.ajaxMap[t]),a=i.options||{},s=o,u=r;"function"==typeof r&&(s=r,u={});var c=u||{},d=c.headers,l=y()(c,Hi);if(i)return this.asyncDataHandler([g()({},i,{options:g()({},a,{params:Array.isArray(a.params)||Array.isArray(n)?n||a.params:g()({},a.params,n),headers:g()({},a.headers,d)},l)})]).then((function(e){try{s&&s(e&&e[t])}catch(e){console.error("load\u8bf7\u6c42\u56de\u8c03\u51fd\u6570\u62a5\u9519",e)}return e&&e[t]})).catch((function(e){try{s&&s(null,e)}catch(e){console.error("load\u8bf7\u6c42\u56de\u8c03\u51fd\u6570\u62a5\u9519",e)}return e}));console.warn("getDataSource API named "+t+" not exist")},t.asyncDataHandler=function e(t){var n=this;return new Promise((function(e,r){var o=[];t.forEach((function(e){var t=e.id,n=e.type;t&&n&&"legao"!==n&&o.push(e)})),0===o.length&&e({});var i={};Promise.all(o.map((function(e){return new Promise((function(t){var r=e.type,o=e.id,a=e.dataHandler,s=e.options,u=function e(r,s){i[o]=n.handleData(o,a,r,s),n.updateDataSourceMap(o,i[o],s),t({})},c=function e(t,n){var r;null===(r=Ri(t,n))||void 0===r||r.then((function(e){u(e,void 0)})).catch((function(e){u(void 0,e)}))};n.dataSourceMap[o].status=Ai,c(r,s)}))}))).then((function(){e(i)})).catch((function(e){r(e)}))}))},t.handleData=function e(t,n,r,o){var i=n;if(Je(n)&&(i=Io(n.value)),!i||"function"!=typeof i)return r;try{return i.call(this.host,r,o)}catch(e){t?console.error("["+t+"]\u5355\u4e2a\u8bf7\u6c42\u6570\u636e\u5904\u7406\u51fd\u6570\u8fd0\u884c\u51fa\u9519",e):console.error("\u8bf7\u6c42\u6570\u636e\u5904\u7406\u51fd\u6570\u8fd0\u884c\u51fa\u9519",e)}},e}();function Ii(e){var t=f.getRuntime(),n=t.createElement,r=t.Component,o=t.forwardRef,i=function(t){function r(){return t.apply(this,arguments)||this}var o;return c()(r,t),r.prototype.render=function t(){return n(e,this.props)},r}(r);return i.displayName=e.displayName,ee(o((function(e,t){return n(i,g()({},e,{forwardRef:t}))})),e)}var Wi=["visible"],Bi=["forwardedRef"],Ui=function(e){return e.All="All",e.ChildChanged="ChildChanged",e.PropsChanged="PropsChanged",e.VisibleChanged="VisibleChanged",e.MinimalRenderUnit="MinimalRenderUnit",e}(Ui||{}),zi=function e(t,n){this.documentId=t,this.device=n,this.component=new Map,this.state=new Map,this.event=new Map,this.ref=new Map},Vi;function Gi(e){var t,n,r,o,i,a=e.schema,s=e.__debug,u=e.container,c=e.getNode,d=null==c?void 0:c(a.id);if(d&&(null===(t=Vi.event.get(a.id))||void 0===t||!t.clear)&&d!==Vi.event.get(a.id)){null===(n=Vi.event.get(a.id))||void 0===n||n.dispose.forEach((function(e){return e&&e()}));var l=Object(bt.debounce)((function(){u.rerender()}),20);Vi.event.set(a.id,{clear:!1,leaf:d,dispose:[null==d||null===(r=d.onPropChange)||void 0===r?void 0:r.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onPropsChange make rerender"),l())})),null==d||null===(o=d.onChildrenChange)||void 0===o?void 0:o.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onChildrenChange make rerender"),l())})),null==d||null===(i=d.onVisibleChange)||void 0===i?void 0:i.call(d,(function(){u.autoRepaintNode&&(s(a.componentName+"["+a.id+"] leaf not render in SimulatorRendererView, leaf onVisibleChange make rerender"),l())}))]})}}function Ji(e){var t,n,r;null!==(t=Vi.event.get(e))&&void 0!==t&&t.clear||(null===(n=Vi.event.get(e))||void 0===n||null===(r=n.dispose)||void 0===r||r.forEach((function(e){return e&&e()})),Vi.event.set(e,{clear:!0,dispose:[]}))}function $i(e,t){var n,r,o,i,a,s,u,d,l,_=t.schema,h=t.baseRenderer,m=t.componentInfo,p=t.scope,v=h.__debug,M=h.__getComponentProps,L=h.__getSchemaChildrenVirtualDom,w=h.__parseData,Y=h.context.engine,k=null===(n=h.props)||void 0===n?void 0:n.__host,D=null!==(r=null===(o=h.props)||void 0===o?void 0:o.documentId)&&void 0!==r?r:"",T=null!==(i=null===(a=h.props)||void 0===a?void 0:a.device)&&void 0!==i?i:"",S=null===(s=h.props)||void 0===s?void 0:s.getNode,j=null===(u=h.props)||void 0===u?void 0:u.__container,O=null===(d=h.props)||void 0===d?void 0:d.setSchemaChangedSymbol,E=null==k||null===(l=k.designer)||void 0===l?void 0:l.editor,H=f.getRuntime(),P=H.forwardRef,A=H.createElement,C=H.Component,N=_.id,R;(!Vi||D&&D!==Vi.documentId||T&&T!==Vi.device)&&(null===(R=Vi)||void 0===R||R.event.forEach((function(e){var t;null===(t=e.dispose)||void 0===t||t.forEach((function(e){return e&&e()}))})),Vi=new zi(D,T));if(ce(e)||console.error(_.componentName+" component may be has errors: ",e),Gi({schema:_,__debug:v,container:j,getNode:S}),D&&Vi.component.has(N))return Vi.component.get(N);var F=function(t){function n(n,r){var o;(o=t.call(this,n,r)||this).recordInfo={},o.curEventLeaf=void 0,o.disposeFunctions=[],o.__component_tag="leafWrapper",o.renderUnitInfo=void 0,o.makeUnitRenderDebounced=Object(bt.debounce)((function(){var t,n,r;o.beforeRender(Ui.MinimalRenderUnit);var i=null===(t=o.leaf)||void 0===t||null===(n=t.export)||void 0===n?void 0:n.call(t,x.IPublicEnumTransformStage.Render);if(i){var a=M(i,p,e,m),s,u={nodeProps:a,nodeChildren:L(i,p,e),childrenInState:!0};"children"in a&&(u.nodeChildren=a.children),v((null===(r=o.leaf)||void 0===r?void 0:r.componentName)+"("+o.props.componentId+") MinimalRenderUnit Render!"),o.setState(u)}}),20),o.recordTime=function(){var e,t,n,r,i;if(o.recordInfo.startTime){var a=Date.now(),s=null==k||null===(e=k.designer)||void 0===e||null===(t=e.currentDocument)||void 0===t||null===(n=t.getNodeCount)||void 0===n?void 0:n.call(t),u=(null===(r=o.recordInfo.node)||void 0===r?void 0:r.componentName)||(null===(i=o.leaf)||void 0===i?void 0:i.componentName)||"UnknownComponent";null==E||E.eventBus.emit(x.GlobalEvent.Node.Rerender,{componentName:u,time:a-o.recordInfo.startTime,type:o.recordInfo.type,nodeCount:s}),o.recordInfo.startTime=null}},o.makeUnitRender=function(){o.makeUnitRenderDebounced()},v(_.componentName+"["+o.props.componentId+"] leaf render in SimulatorRendererView"),Ji(N),o.curEventLeaf=o.leaf,Vi.ref.set(N,{makeUnitRender:o.makeUnitRender});var i=Vi.state.get(N);return i&&i.__tag===n.__tag||(i=o.getDefaultState(n)),o.state=i,o}c()(n,t);var r=n.prototype;return r.componentDidUpdate=function e(){this.recordTime()},r.componentDidMount=function e(){var t=this.leaf;this.initOnPropsChangeEvent(t),this.initOnChildrenChangeEvent(t),this.initOnVisibleChangeEvent(t),this.recordTime()},r.getDefaultState=function e(t){var n,r,o=t.__inner__||(null===(n=this.leaf)||void 0===n||null===(r=n.export)||void 0===r?void 0:r.call(n,x.IPublicEnumTransformStage.Render))||{},i=o.hidden,a=void 0!==i&&i,s=o.condition,u;return{nodeChildren:null,childrenInState:!1,visible:!a,condition:null==w?void 0:w(void 0===s||s,p),nodeCacheProps:{},nodeProps:{}}},r.setState=function e(n){Vi.state.set(N,g()({},this.state,n,{__tag:this.props.__tag})),t.prototype.setState.call(this,n)},r.beforeRender=function e(t,n){this.recordInfo.startTime=Date.now(),this.recordInfo.type=t,this.recordInfo.node=n,null==O||O(!0)},r.judgeMiniUnitRender=function e(){var t;this.renderUnitInfo||this.getRenderUnitInfo();var n=this.renderUnitInfo||{singleRender:!0};if(!n.singleRender){var r=Vi.ref.get(n.minimalUnitId);if(!r)return v("Cant find minimalRenderUnit ref! This make rerender!"),void(null==j||j.rerender());v((null===(t=this.leaf)||void 0===t?void 0:t.componentName)+"("+this.props.componentId+") need render, make its minimalRenderUnit "+n.minimalUnitName+"("+n.minimalUnitId+")"),r.makeUnitRender()}},r.getRenderUnitInfo=function e(t){if(void 0===t&&(t=this.leaf),t&&"function"==typeof t.isRoot){var n,r,o,i;if(t.isRootNode&&(this.renderUnitInfo=g()({singleRender:!0},this.renderUnitInfo||{})),t.componentMeta.isMinimalRenderUnit&&(this.renderUnitInfo={minimalUnitId:t.id,minimalUnitName:t.componentName,singleRender:!1}),t.hasLoop())this.renderUnitInfo={minimalUnitId:null===(n=t)||void 0===n||null===(r=n.parent)||void 0===r?void 0:r.id,minimalUnitName:null===(o=t)||void 0===o||null===(i=o.parent)||void 0===i?void 0:i.componentName,singleRender:!1};t.parent&&this.getRenderUnitInfo(t.parent)}},r.componentWillReceiveProps=function e(t){var n=t.componentId;if(t.__tag===this.props.__tag)return null;var r=null==S?void 0:S(n);r&&this.curEventLeaf&&r!==this.curEventLeaf&&(this.disposeFunctions.forEach((function(e){return e()})),this.disposeFunctions=[],this.initOnChildrenChangeEvent(r),this.initOnPropsChangeEvent(r),this.initOnVisibleChangeEvent(r),this.curEventLeaf=r);var o=this.getDefaultState(t),i=o.visible,a=y()(o,Wi);this.setState(a)},r.initOnPropsChangeEvent=function t(n){var r=this,o,i;void 0===n&&(n=this.leaf);var a=Object(bt.debounce)((function(t){var o,i,a=t.key,s=t.newValue,u=void 0===s?null:s,c=n;if("___condition___"===a){var d,l,f=((null===(d=r.leaf)||void 0===d?void 0:d.export(x.IPublicEnumTransformStage.Render))||{}).condition,_=void 0===f||f,h=null==w?void 0:w(_,p);return v("key is ___condition___, change condition value to ["+_+"]"),void r.setState({condition:h})}if("___loop___"===a)return v("key is ___loop___, render a page!"),null==j||j.rerender(),void Vi.component.delete(N);r.beforeRender(Ui.PropsChanged);var y,g=r.state.nodeCacheProps,b=M(null==c||null===(o=c.export)||void 0===o?void 0:o.call(c,x.IPublicEnumTransformStage.Render),p,e,m);a&&!(a in b)&&a in r.props&&(g[a]=u),v((null===(i=n)||void 0===i?void 0:i.componentName)+"["+r.props.componentId+"] component trigger onPropsChange!",b,g,a,u),r.setState("children"in b?{nodeChildren:b.children,nodeProps:b,childrenInState:!0,nodeCacheProps:g}:{nodeProps:b,nodeCacheProps:g}),r.judgeMiniUnitRender()})),s=null===(o=n)||void 0===o||null===(i=o.onPropChange)||void 0===i?void 0:i.call(o,(function(e){r.autoRepaintNode&&a(e)}));s&&this.disposeFunctions.push(s)},r.initOnVisibleChangeEvent=function e(t){var n,r,o=this;void 0===t&&(t=this.leaf);var i=null===(n=t)||void 0===n||null===(r=n.onVisibleChange)||void 0===r?void 0:r.call(n,(function(e){var n;o.autoRepaintNode&&o.state.visible!==e&&(v((null===(n=t)||void 0===n?void 0:n.componentName)+"["+o.props.componentId+"] component trigger onVisibleChange("+e+") event"),o.beforeRender(Ui.VisibleChanged),o.setState({visible:e}),o.judgeMiniUnitRender())}));i&&this.disposeFunctions.push(i)},r.initOnChildrenChangeEvent=function t(n){var r,o,i=this;void 0===n&&(n=this.leaf);var a=null===(r=n)||void 0===r||null===(o=r.onChildrenChange)||void 0===o?void 0:o.call(r,(function(t){var r,o;if(i.autoRepaintNode){var a=t||{},s=a.type,u=a.node;i.beforeRender(Ui.ChildChanged+"-"+s,u);var c=L(null===(r=n)||void 0===r||null===(o=r.export)||void 0===o?void 0:o.call(r,x.IPublicEnumTransformStage.Render),p,e);v(_.componentName+"["+i.props.componentId+"] component trigger onChildrenChange event",c),i.setState({nodeChildren:c,childrenInState:!0}),i.judgeMiniUnitRender()}}));a&&this.disposeFunctions.push(a)},r.componentWillUnmount=function e(){this.disposeFunctions.forEach((function(e){return e()}))},r.render=function t(){if(!this.state.visible||!this.state.condition)return null;var n=this.props,r=n.forwardedRef,o=y()(n,Bi),i=g()({},o,this.state.nodeCacheProps||{},this.state.nodeProps||{},{children:[],__id:this.props.componentId,ref:r});return delete i.__inner__,Y.createElement(e,i,this.hasChildren?this.children:null)},b()(n,[{key:"autoRepaintNode",get:function e(){return null==j?void 0:j.autoRepaintNode}},{key:"hasChildren",get:function e(){var t=this.props.children;return this.state.childrenInState&&(t=this.state.nodeChildren),Array.isArray(t)?Boolean(t&&t.length):Boolean(t)}},{key:"children",get:function e(){return this.state.childrenInState?this.state.nodeChildren:this.props.children&&!Array.isArray(this.props.children)?[this.props.children]:this.props.children&&this.props.children.length?this.props.children:[]}},{key:"leaf",get:function e(){var t;if(null===(t=this.props._leaf)||void 0===t||!t.isMock)return null==S?void 0:S(N)}}]),n}(C);F.displayName=_.componentName;var I=P((function(e,t){return A(F,g()({},e,{forwardedRef:t}))}));return(I=ee(I,e)).displayName=e.displayName,Vi.component.set(N,I),I}function qi(e,t){return!!Ve(e)||!!Array.isArray(e)&&(!t||e.length>0)}var Ki=["ref"];function Zi(e,t,n,r,o){if(e&&jo(t)&&n){var i,a=Ao(t,"lifeCycles",{})[n];if(a)if((Ve(a)||Je(a))&&(a=o?Bo(a,e):Wo(a,e)),"function"==typeof a)try{return a.apply(e,r)}catch(e){console.error("["+t.componentName+"]\u751f\u547d\u5468\u671f"+n+"\u51fa\u9519",e)}else console.error("\u751f\u547d\u5468\u671f"+n+"\u7c7b\u578b\u4e0d\u7b26",a)}}function Xi(e){if(e){if(!e.props)return e.children;if(!e.children)return e.props.children;if(!e.props.children)return e.children;var t=[].concat(e.children);return Array.isArray(e.props.children)?t=t.concat(e.props.children):t.push(e.props.children),t}}function Qi(){var e,t,n=f.getRenderers().BaseRenderer;if(n)return n;var r=f.getRuntime(),o=r.Component,i=r.createElement,a=xn(),s=Hn(),u=_(),d={EXTEND:"extend",BORDER:"border",PREVIEW:"preview"},l=["Dialog","Overlay","Animate","ConfigProvider"],h="item",p="index",v=0;return(e=function(e){function t(t,n){var r,o;return(o=e.call(this,t,n)||this).appHelper=void 0,o.i18n=void 0,o.getLocale=void 0,o.setLocale=void 0,o.dataSourceMap={},o.__namespace="base",o.__compScopes={},o.__instanceMap={},o.__dataHelper=void 0,o.__customMethodsList=[],o.__parseExpression=void 0,o.__ref=void 0,o.__styleElement=void 0,o.reloadDataSource=function(){return new Promise((function(e,t){if(o.__debug("reload data source"),!o.__dataHelper)return e({});o.__dataHelper.getInitData().then((function(t){if(Object(bt.isEmpty)(t))return o.forceUpdate(),e({});o.setState(t,e)})).catch((function(e){t(e)}))}))},o.__executeLifeCycleMethod=function(e,t){Zi(w()(o),o.props.__schema,e,t,o.props.thisRequiredInJSE)},o._getComponentView=function(e){var t=o.props.__components;if(t)return t[e]},o.__bindCustomMethods=function(e){var t=e.__schema,n=Object.keys(t.methods||{})||[];(o.__customMethodsList||[]).forEach((function(e){n.includes(e)||delete o[e]})),o.__customMethodsList=n,Jo(t.methods,(function(e,t){var n=e;(Ve(n)||Je(n))&&(n=o.__parseExpression(n,w()(o))),"function"==typeof n?o[t]=n.bind(w()(o)):console.error("custom method "+t+" can not be parsed to a valid function",n)}))},o.__generateCtx=function(e){var t=o.context,n=t.pageContext,r=t.compContext,i;Jo(g()({page:n,component:r},e),(function(e,t){o[t]=e}))},o.__parseData=function(e,t){var n=o.props,r=n.__ctx,i=n.thisRequiredInJSE,a=n.componentName;return $o(e,t||r||w()(o),{thisRequiredInJSE:i,logScope:a})},o.__initDataSource=function(e){var t;if(e){var n,r={list:[]},i=(e.__schema||{}).dataSource||r,a;if(!(null===(t=e.__appHelper)||void 0===t||!t.requestHandlersMap))o.__dataHelper={updateConfig:function t(n){var r=Object(S.create)(null!=n?n:{},w()(o),e.__appHelper.requestHandlersMap?{requestHandlersMap:e.__appHelper.requestHandlersMap}:void 0),i=r.dataSourceMap,a=r.reloadDataSource;return o.reloadDataSource=function(){return new Promise((function(e){o.__debug("reload data source"),a().then((function(){e({})}))}))},i}},o.dataSourceMap=o.__dataHelper.updateConfig(i);else{var s=e.__appHelper;o.__dataHelper=new Fi(w()(o),i,s,(function(e){return o.__parseData(e)})),o.dataSourceMap=o.__dataHelper.dataSourceMap,o.reloadDataSource=function(){return new Promise((function(e,t){if(o.__debug("reload data source"),!o.__dataHelper)return e({});o.__dataHelper.getInitData().then((function(t){if(Object(bt.isEmpty)(t))return e({});o.setState(t,e)})).catch((function(e){t(e)}))}))}}}},o.__initI18nAPIs=function(){o.i18n=function(e,t){void 0===t&&(t={});var n=o.props,r,i;return Co(e,t,n.locale,n.messages)},o.getLocale=function(){return o.props.locale},o.setLocale=function(e){var t,n,r,i=null===(t=o.appHelper)||void 0===t||null===(n=t.utils)||void 0===n||null===(r=n.i18n)||void 0===r?void 0:r.setLocale;if(i&&"function"==typeof i)return i(e);console.warn("initI18nAPIs Failed, i18n only works when appHelper.utils.i18n.setLocale() exists")}},o.__writeCss=function(e){var t=Ao(e.__schema,"css","");o.__debug("create this.styleElement with css",t);var n=o.__styleElement,r;o.__styleElement||((n=document.createElement("style")).type="text/css",n.setAttribute("from","style-sheet"),(document.head||document.getElementsByTagName("head")[0]).appendChild(n),o.__styleElement=n,o.__debug("this.styleElement is created",o.__styleElement));n.innerHTML!==t&&(n.innerHTML=t)},o.__render=function(){var e=o.props.__schema;o.__executeLifeCycleMethod("render"),o.__writeCss(o.props);var t=o.context.engine,n;t&&(t.props.onCompGetCtx(e,w()(o)),o.__designModeIsDesign&&(o.__bindCustomMethods(o.props),o.dataSourceMap=null===(n=o.__dataHelper)||void 0===n?void 0:n.updateConfig(e.dataSource)))},o.__getRef=function(e){var t,n=o.context.engine,r=o.props.__schema;e&&(null==n||null===(t=n.props)||void 0===t||t.onCompGetRef(r,e)),o.__ref=e},o.__createDom=function(){var e=o.props,t=e.__schema,n=e.__ctx,r=e.__components,i=void 0===r?{}:r,a={};a.__proto__=n||w()(o);var s=Xi(t),u=i[t.componentName];u||o.__debug(t.componentName+" is invalid!");var c={schema:t,Comp:o.__getHOCWrappedComponent(u,t,a)};return o.__createVirtualDom(s,a,c)},o.__createVirtualDom=function(e,t,n,r){if(void 0===r&&(r=""),!e)return null;var u=t,c=e,f,_=(o.context||{}).engine;if(!_)return o.__debug("this.context.engine is invalid!"),null;try{var h,m,p,M,b,L,Y=o.props||{},k=Y.__appHelper,D=Y.__components,T=void 0===D?{}:D;if(Ve(c))return o.__parseExpression(c,u);if(Ue(c))return Go(c,u);if(Po(c))return o.__createVirtualDom(c.value,u,n);if("string"==typeof c)return c;if("number"==typeof c||"boolean"==typeof c)return String(c);if(Array.isArray(c))return 1===c.length?o.__createVirtualDom(c[0],u,n):c.map((function(e,t){var r;return o.__createVirtualDom(e,u,n,null!=e&&null!==(r=e.__ctx)&&void 0!==r&&r.lceKey?"":String(t))}));if(c.$$typeof)return c;var S=Xi(c);if(!c.componentName)return void Pn.error("The componentName in the schema is invalid, please check the schema: ",c);if("Fragment"===c.componentName&&S){var x=Ve(S)?o.__parseExpression(S,u):S;return o.__createVirtualDom(x,u,n)}if("Text"===c.componentName&&"string"==typeof(null===(h=c.props)||void 0===h?void 0:h.text)){var j,O=null===(j=c.props)||void 0===j?void 0:j.text;(c=g()({},c)).children=[O]}if(!jo(c))return null;var E=T[c.componentName]||(null===(m=o.props.__container)||void 0===m||null===(p=m.components)||void 0===p?void 0:p[c.componentName]),H=Oo(c)?{__schema:c,__appHelper:k,__components:T}:{},P;if(!E)return console.error(c.componentName+" component is not found in components list! component list is:",T||(null===(P=o.props.__container)||void 0===P?void 0:P.components)),_.createElement(_.getNotFoundComponent(),{componentName:c.componentName,componentId:c.id,enableStrictNotFoundMode:_.props.enableStrictNotFoundMode,ref:function e(t){var n;t&&(null===(n=_.props)||void 0===n||n.onCompGetRef(c,t))}},o.__getSchemaChildrenVirtualDom(c,u,E));if(null!=c.loop){var A=o.__parseData(c.loop,u),C;if(qi(A,o.__designModeIsDesign))return o.__createLoopVirtualDom(g()({},c,{loop:A}),u,n,r)}var N=null==c.condition||o.__parseData(c.condition,u),R=o.__designModeIsDesign;if(!N&&!R)return null;var F="";if(E.generateScope){var I,W=o.__parseExpression(null===(I=c.props)||void 0===I?void 0:I.key,u);W?F=W:c.__ctx?F=c.__ctx.lceKey+(void 0!==r?"_"+r:""):(c.__ctx={lceKey:"lce"+ ++v},F=c.__ctx.lceKey),o.__compScopes[F]||(o.__compScopes[F]=E.generateScope(w()(o),c))}if(F&&o.__compScopes[F]){var B=g()({},o.__compScopes[F]);B.__proto__=u,u=B}null!==(M=_.props)&&void 0!==M&&M.designMode&&(H.__designMode=_.props.designMode),o.__designModeIsDesign&&(H.__tag=Math.random());var U={},z=o.__getComponentProps(c,u,E,g()({},U,{props:Ro(U.props,"name")}))||{};if(o.__componentHOCs.forEach((function(e){E=e(E,{schema:c,componentInfo:U,baseRenderer:w()(o),scope:u})})),No(E)||(E=Ii(E),T[c.componentName]=E),H.ref=function(e){var t;o.$(z.fieldId||z.ref,e);var n=z.ref;n&&"string"==typeof n&&(o[n]=e),e&&(null===(t=_.props)||void 0===t||t.onCompGetRef(c,e))},F&&o.__compScopes[F]&&(z.__scope=o.__compScopes[F]),null!==(b=c)&&void 0!==b&&null!==(L=b.__ctx)&&void 0!==L&&L.lceKey){var V;if(!Oo(c))null===(V=_.props)||void 0===V||V.onCompGetCtx(c,u);z.key=z.key||c.__ctx.lceKey+"_"+(c.__ctx.idx||0)+"_"+(void 0!==r?r:"")}else"number"!=typeof r&&"string"!=typeof r||z.key||(z.key=r);z.__id=c.id,z.key||(z.key=z.__id);var G=o.__getSchemaChildrenVirtualDom(c,u,E),J=function e(t){return _.createElement(E,t,G)};if(_&&[d.EXTEND,d.BORDER].includes(_.props.designMode)){if(l.includes(c.componentName)){var $=H.ref,q=y()(H,Ki);return i(a,{ref:$,__designMode:_.props.designMode},J(g()({},z,q)))}if(null!=U&&U.parentRule){var K=U.parentRule.split(","),Z=n.schema,X=void 0===Z?{componentName:""}:Z,Q=n.Comp;K.includes(X.componentName)&&Q===T[X.componentName]?z.__disableDesignMode=!0:(z.__componentName=c.componentName,E=s)}}return J(g()({},z,H,{__inner__:{hidden:c.hidden,condition:N}}))}catch(e){return _.createElement(_.getFaultComponent(),{error:e,schema:c,self:u,parentInfo:n,idx:r})}},o.__getSchemaChildrenVirtualDom=function(e,t,n){var r=Xi(e),i=[];return r&&(Array.isArray(r)||(r=[r]),r.forEach((function(r){var a=o.__createVirtualDom(Ve(r)?o.__parseExpression(r,t):r,t,{schema:e,Comp:n});i.push(a)}))),i&&i.length>0?i:null},o.__getComponentProps=function(e,t,n,r){return e&&o.__parseProps(null==e?void 0:e.props,t,"",{schema:e,Comp:n,componentInfo:g()({},r||{},{props:Ro((r||{}).props,"name")})})||{}},o.__createLoopVirtualDom=function(e,t,n,r){if(Oo(e))return console.warn("file type not support Loop"),null;if(!Array.isArray(e.loop))return null;var i=e.loopArgs&&e.loopArgs[0]||"item",a=e.loopArgs&&e.loopArgs[1]||"index",s;return e.loop.map((function(s,u){var c,d,l,f=((c={})[i]=s,c[a]=u,c);return f.__proto__=t,o.__createVirtualDom(g()({},e,{loop:void 0,props:g()({},e.props,{key:Ve(null===(d=e.props)||void 0===d?void 0:d.key)?null===(l=e.props)||void 0===l?void 0:l.key:null})}),f,n,r?r+"_"+u:u)}))},o.__parseProps=function(e,t,n,r){var i,a=e,s=r.schema,u=r.Comp,c=r.componentInfo,d=void 0===c?{}:c,l=Ao(d.props,n),f=null==l||null===(i=l.extra)||void 0===i?void 0:i.propType,_=function e(t){return f?Fo(t,n,f,d.name)?t:void 0:t},h=function e(n,r){if(Object(bt.isEmpty)(r)){var i=o.__createVirtualDom(n,t,{schema:s,Comp:u});return _(i)}return _((function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a={};return Array.isArray(r)&&r.length&&r.forEach((function(e,t){"string"==typeof e?a[e]=o[t]:e&&"object"==typeof e&&(a[e.name]=o[t])})),a.__proto__=t,t.__createVirtualDom(n,a,{schema:s,Comp:u})}))};if(Ve(a)&&!jo(a=o.__parseExpression(a,t))&&!Po(a))return _(a);var m=function e(t){return t[t.use||o.getLocale&&o.getLocale()||"zh-CN"]};if(Ue(a)){var p=m(a);if(!p)return Go(a,t);a=p}if(Vo(a)&&Ue(a=a.value)&&(a=m(a)),Je(a)&&(a=Io(a.value)),Po(a)){var y=a,v=y.params,g=y.value;if(!jo(g)||Object(bt.isEmpty)(g))return;return h(g,v)}if(jo(a)){var M,b,L,w,Y,k=!("ReactNode"!==(null==l?void 0:l.type)||"function"!==(null==l||null===(M=l.props)||void 0===M?void 0:M.type)),D=!!("Mixin"===(null==l?void 0:l.type)&&(null==l||null===(b=l.props)||void 0===b||null===(L=b.types)||void 0===L?void 0:L.indexOf("ReactNode"))>-1&&"function"===(null==l||null===(w=l.props)||void 0===w||null===(Y=w.reactNodeProps)||void 0===Y?void 0:Y.type)),T=null,S;if(k)T=null==l||null===(S=l.props)||void 0===S?void 0:S.params;else if(D){var x,j;T=null==l||null===(x=l.props)||void 0===x||null===(j=x.reactNodeProps)||void 0===j?void 0:j.params}return h(a,T)}if(Array.isArray(a))return _(a.map((function(e,i){return o.__parseProps(e,t,n?n+"."+i:""+i,r)})));if("function"==typeof a)return _(a.bind(t));if(a&&"object"==typeof a){if(a.$$typeof)return _(a);var O={};return Jo(a,(function(e,i){i.startsWith("__")?O[i]=e:O[i]=o.__parseProps(e,t,n?n+"."+i:i,r)})),_(O)}return _("string"==typeof a?a.trim():a)},o.__debug=function(){Pn.debug.apply(Pn,arguments)},o.__renderContextProvider=function(e,t){return i(u.Provider,{value:g()({},o.context,{blockContext:w()(o)},e||{}),children:t||o.__createDom()})},o.__renderContextConsumer=function(e){return i(u.Consumer,{},e)},o.__checkSchema=function(e,t){var n;void 0===t&&(t=[]);var r=t;"string"==typeof r&&(r=[r]);var i,a=[Uo(o.__namespace)].concat(r);return!jo(e)||!a.includes(null!==(n=null==e?void 0:e.componentName)&&void 0!==n?n:"")},o.context=n,o.__parseExpression=function(e,n){return Wo({str:e,self:n,thisRequired:null==t?void 0:t.thisRequiredInJSE,logScope:t.componentName})},o.__beforeInit(t),o.__init(t),o.__afterInit(t),o.__debug("constructor - "+(null==t||null===(r=t.__schema)||void 0===r?void 0:r.fileName)),o}c()(t,e);var n=t.prototype;return n.__beforeInit=function e(t){},n.__init=function e(t){this.appHelper=t.__appHelper,this.__compScopes={},this.__instanceMap={},this.__bindCustomMethods(t),this.__initI18nAPIs()},n.__afterInit=function e(t){},t.getDerivedStateFromProps=function e(t,n){return Zi(this,null==t?void 0:t.__schema,"getDerivedStateFromProps",[t,n],t.thisRequiredInJSE)},n.getSnapshotBeforeUpdate=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("getSnapshotBeforeUpdate",o),this.__debug("getSnapshotBeforeUpdate - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 3:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidMount=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(this.reloadDataSource(),r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("componentDidMount",o),this.__debug("componentDidMount - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 4:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){var t,n,r,o=arguments;return k.a.wrap((function e(i){for(;;)switch(i.prev=i.next){case 0:for(t=o.length,n=new Array(t),r=0;r<t;r++)n[r]=o[r];this.__executeLifeCycleMethod("componentDidUpdate",n),this.__debug("componentDidUpdate - "+this.props.__schema.fileName);case 3:case"end":return i.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t,n,r,o,i,a=arguments;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:for(r=a.length,o=new Array(r),i=0;i<r;i++)o[i]=a[i];this.__executeLifeCycleMethod("componentWillUnmount",o),this.__debug("componentWillUnmount - "+(null===(t=this.props)||void 0===t||null===(n=t.__schema)||void 0===n?void 0:n.fileName));case 3:case"end":return s.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function(){var e=m()(k.a.mark((function e(){var t,n,r,o=arguments;return k.a.wrap((function e(i){for(;;)switch(i.prev=i.next){case 0:for(t=o.length,n=new Array(t),r=0;r<t;r++)n[r]=o[r];this.__executeLifeCycleMethod("componentDidCatch",n),console.warn(n);case 3:case"end":return i.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.shouldComponentUpdate=function e(){var t,n,r,o;return null===(t=(n=this.props).getSchemaChangedSymbol)||void 0===t||!t.call(n)||null===(r=this.props.__container)||void 0===r||!r.rerender||(null===(o=this.props.__container)||void 0===o||o.rerender(),!1)},n.forceUpdate=function t(){this.shouldComponentUpdate()&&e.prototype.forceUpdate.call(this)},n.$=function e(t,n){return this.__instanceMap=this.__instanceMap||{},t&&"string"==typeof t?(n&&(this.__instanceMap[t]=n),this.__instanceMap[t]):this.__instanceMap},n.__getHOCWrappedComponent=function e(t,n,r){var o=this,i=t;return this.__componentHOCs.forEach((function(e){i=e(i||a,{schema:n,componentInfo:{},baseRenderer:o,scope:r})})),i},n.__renderComp=function e(t,n){var r=t,o=this.props,i=o.__schema,a=o.__ctx,s={};s.__proto__=a||this,r=this.__getHOCWrappedComponent(r,i,s);var u=this.__parseProps(null==i?void 0:i.props,s,"",{schema:i,Comp:r,componentInfo:{}}),c=u.className,d={},l,f=(this.context||{}).engine;if(!f)return null;this.__designModeIsDesign&&(d.__tag=Math.random());var _=f.createElement(r,g()({},u,this.props,{ref:this.__getRef,className:T()(Ho(null==i?void 0:i.fileName),c,this.props.className),__id:null==i?void 0:i.id},d),this.__createDom());return this.__renderContextProvider(n,_)},n.__renderContent=function e(t){var n=this.props.__schema,r=this.__parseData(n.props),o=T()("lce-"+this.__namespace,Ho(n.fileName),r.className,this.props.className),a=g()({},r.style||{},"object"==typeof this.props.style?this.props.style:{}),s=this.props.id||r.id;return i("div",{ref:this.__getRef,className:o,id:s,style:a},t)},n.render=function e(){return null},b()(t,[{key:"__componentHOCs",get:function e(){return this.__designModeIsDesign?[$i]:[]}},{key:"__designModeIsDesign",get:function e(){var t,n,r=(this.context||{}).engine;return"design"===(null==r||null===(t=r.props)||void 0===t?void 0:t.designMode)}},{key:"requestHandlersMap",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.requestHandlersMap}},{key:"utils",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.utils}},{key:"constants",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.constants}},{key:"history",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.history}},{key:"location",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.location}},{key:"match",get:function e(){var t;return null===(t=this.appHelper)||void 0===t?void 0:t.match}}]),t}(o)).displayName="BaseRenderer",e.defaultProps={__schema:{}},e.contextType=u,e}var ea=un({level:"warn",bizName:"renderer-core:page"});function ta(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="page",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({page:this});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];this.__executeLifeCycleMethod("constructor",[t].concat(o))},n.componentDidUpdate=function(){var t=m()(k.a.mark((function t(n,r,o){var i,a,s;return k.a.wrap((function t(u){for(;;)switch(u.prev=u.next){case 0:a=this.props.__ctx,JSON.stringify(n.__schema.state)!=JSON.stringify(this.props.__schema.state)&&(s=this.__parseData(this.props.__schema.state,a),this.setState(s)),null===(i=e.prototype.componentDidUpdate)||void 0===i||i.call(this,n,r,o);case 3:case"end":return u.stop()}}),t,this)})));function n(e,n,r){return t.apply(this,arguments)}return n}(),n.setState=function t(n,r){ea.info("page set state",n),e.prototype.setState.call(this,n,r)},n.render=function e(){var n=this.props,r=n.__schema,o=n.__components;if(this.__checkSchema(r))return"\u9875\u9762schema\u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+r.fileName),this.__bindCustomMethods(this.props),this.__initDataSource(this.props),this.__generateCtx({page:this}),this.__render();var i=o.Page;return i?this.__renderComp(i,{pageContext:this}):this.__renderContent(this.__renderContextProvider({pageContext:this}))},t}(Qi())).displayName="PageRenderer",e}function na(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="component",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({component:this});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t),this.__executeLifeCycleMethod("constructor",arguments)},n.render=function e(){var n,r=this.props,o=r.__schema,i=r.__components;if(this.__checkSchema(o))return"\u81ea\u5b9a\u4e49\u7ec4\u4ef6 schema \u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+o.fileName),this.__generateCtx({component:this}),this.__render();var a=this.__parseData(null===(n=o.props)||void 0===n?void 0:n.noContainer);if(this.__bindCustomMethods(this.props),a)return this.__renderContextProvider({compContext:this});var s=null==i?void 0:i[null==o?void 0:o.componentName];return s?this.__renderComp(s,this.__renderContextProvider({compContext:this})):this.__renderContent(this.__renderContextProvider({compContext:this}))},n.getComponentName=function e(){var t;return null===(t=this.props)||void 0===t?void 0:t.componentName},n.componentDidMount=function e(){this.__debug("componentDidMount - "+this.getComponentName())},n.getSnapshotBeforeUpdate=function e(){this.__debug("getSnapshotBeforeUpdate - "+this.getComponentName())},n.componentDidUpdate=function e(){this.__debug("componentDidUpdate - "+this.getComponentName())},n.componentWillUnmount=function e(){this.__debug("componentWillUnmount - "+this.getComponentName())},n.componentDidCatch=function e(){this.__debug("componentDidCatch - "+this.getComponentName())},t}(Qi())).displayName="CompRenderer",e}function ra(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="block",t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){this.__generateCtx({});var n=t.__schema||{};this.state=this.__parseData(n.state||{}),this.__initDataSource(t),this.__executeLifeCycleMethod("constructor",Array.prototype.slice.call(arguments))},n.render=function e(){var n=this.props,r=n.__schema,o=n.__components;if(this.__checkSchema(r,"Div"))return"\u533a\u5757 schema \u7ed3\u6784\u5f02\u5e38\uff01";this.__debug(t.displayName+" render - "+(null==r?void 0:r.fileName)),this.__generateCtx({}),this.__render();var i=o.Block;return i?this.__renderComp(i,{}):this.__renderContent(this.__renderContextProvider())},t}(Qi())).displayName="BlockRenderer",e}function oa(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="addon",t.addonKey=void 0,t.appHelper=void 0,t.open=void 0,t.close=void 0,t}c()(t,e);var n=t.prototype;return n.__afterInit=function e(t){var n;this.__generateCtx({component:this});var r=t.__schema||{};if(this.state=this.__parseData(r.state||{}),Object(bt.isEmpty)(t.config)||null===(n=t.config)||void 0===n||!n.addonKey)return console.warn("lce addon has wrong config"),void this.setState({__hasError:!0});this.addonKey=t.config.addonKey,this.appHelper.addons=this.appHelper.addons||{},this.appHelper.addons[this.addonKey]=this,this.__initDataSource(t),this.open=this.open||function(){},this.close=this.close||function(){},this.__executeLifeCycleMethod("constructor",Array.prototype.slice.call(arguments))},n.componentWillUnmount=function(){var t=m()(k.a.mark((function t(){var n,r,o=arguments;return k.a.wrap((function t(i){for(;;)switch(i.prev=i.next){case 0:null===(n=e.prototype.componentWillUnmount)||void 0===n||n.apply(this,Array.prototype.slice.call(o)),(r=this.props.config||{})&&this.appHelper.addons&&delete this.appHelper.addons[r.addonKey];case 3:case"end":return i.stop()}}),t,this)})));function n(){return t.apply(this,arguments)}return n}(),n.render=function e(){var n=this.props.__schema;return this.__checkSchema(n)?"\u63d2\u4ef6 schema \u7ed3\u6784\u5f02\u5e38\uff01":(this.__debug(t.displayName+" render - "+n.fileName),this.__generateCtx({component:this}),this.__render(),this.__renderContent(this.__renderContextProvider({compContext:this})))},b()(t,[{key:"utils",get:function e(){var t,n=(this.context.config||{}).utils,r=void 0===n?{}:n;return g()({},this.appHelper.utils,r)}}]),t}(Qi())).displayName="AddonRenderer",e.propTypes={config:On.a.object,__schema:On.a.object},e.defaultProps={config:{},__schema:{}},e}function ia(){var e,t;return(e=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).__namespace="temp",t.cacheSetState=void 0,t}c()(t,e);var n=t.prototype;return n.__init=function e(){this.state={},this.cacheSetState={}},n.componentDidMount=function(){var e=m()(k.a.mark((function e(){var t=this,n,r;return k.a.wrap((function e(o){for(;;)switch(o.prev=o.next){case 0:if(n=this.props.__ctx){o.next=3;break}return o.abrupt("return");case 3:r=n.setState,this.cacheSetState=r,n.setState=function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];r.call.apply(r,[n].concat(o)),setTimeout((function(){return t.forceUpdate()}),0)},this.__debug("componentDidMount - "+this.props.__schema.fileName);case 7:case"end":return o.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){return k.a.wrap((function e(t){for(;;)switch(t.prev=t.next){case 0:this.__debug("componentDidUpdate - "+this.props.__schema.fileName);case 1:case"end":return t.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t;return k.a.wrap((function e(n){for(;;)switch(n.prev=n.next){case 0:if((t=this.props.__ctx)&&this.cacheSetState){n.next=3;break}return n.abrupt("return");case 3:t.setState=this.cacheSetState,delete this.cacheSetState,this.__debug("componentWillUnmount - "+this.props.__schema.fileName);case 6:case"end":return n.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function(){var e=m()(k.a.mark((function e(t){return k.a.wrap((function e(n){for(;;)switch(n.prev=n.next){case 0:console.warn(t),this.__debug("componentDidCatch - "+this.props.__schema.fileName);case 2:case"end":return n.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),n.render=function e(){var n=this.props,r=n.__schema,o=n.__ctx;return this.__checkSchema(r)?"\u4e0b\u94bb\u7f16\u8f91 schema \u7ed3\u6784\u5f02\u5e38\uff01":(this.__debug(t.displayName+" render - "+(null==r?void 0:r.fileName)),this.__renderContent(this.__renderContextProvider({__ctx:o})))},t}(Qi())).displayName="TempRenderer",e}var aa=n(465),sa=n.n(aa);function ua(){var e,t=f.getRuntime(),n=t.PureComponent,r=t.Component,o=t.createElement,i=t.findDOMNode,a=f.getRenderers(),s=Qi(),u=_(),d=xn(),l=f.getConfigProvider()||d,h=sa()("renderer:entry"),p=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){var t;return Pn.error("%c"+(this.props.componentName||"")+" \u7ec4\u4ef6\u6e32\u67d3\u5f02\u5e38, \u5f02\u5e38\u539f\u56e0: "+((null===(t=this.props.error)||void 0===t?void 0:t.message)||this.props.error||"\u672a\u77e5"),"color: #ff0000;"),o(d,{style:{width:"100%",height:"50px",lineHeight:"50px",textAlign:"center",fontSize:"15px",color:"#ff0000",border:"2px solid #ff0000"}},(this.props.componentName||"")+" \u7ec4\u4ef6\u6e32\u67d3\u5f02\u5e38\uff0c\u8bf7\u67e5\u770b\u63a7\u5236\u53f0\u65e5\u5fd7")},t}(n),y=function(e){function t(){return e.apply(this,arguments)||this}var n;return c()(t,e),t.prototype.render=function e(){return this.props.enableStrictNotFoundMode?(this.props.componentName||"")+" Component Not Found":o(d,this.props,this.props.children||(this.props.componentName||"")+" Component Not Found")},t}(n);return(e=function(e){function t(t,n){var r,o;return(o=e.call(this,t,n)||this).state={},o.__ref=void 0,o.__getRef=function(e){var t,n;(o.__ref=e,e)&&(null===(t=(n=o.props).onCompGetRef)||void 0===t||t.call(n,o.props.schema,e))},o.state={},h("entry.constructor - "+(null==t||null===(r=t.schema)||void 0===r?void 0:r.componentName)),o}c()(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=m()(k.a.mark((function e(){return k.a.wrap((function e(t){for(;;)switch(t.prev=t.next){case 0:h("entry.componentDidMount - "+(this.props.schema&&this.props.schema.componentName));case 1:case"end":return t.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidUpdate=function(){var e=m()(k.a.mark((function e(){var t,n;return k.a.wrap((function e(r){for(;;)switch(r.prev=r.next){case 0:h("entry.componentDidUpdate - "+(null===(t=this.props)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.componentName));case 1:case"end":return r.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentWillUnmount=function(){var e=m()(k.a.mark((function e(){var t,n;return k.a.wrap((function e(r){for(;;)switch(r.prev=r.next){case 0:h("entry.componentWillUnmount - "+(null===(t=this.props)||void 0===t||null===(n=t.schema)||void 0===n?void 0:n.componentName));case 1:case"end":return r.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),n.componentDidCatch=function e(t){this.state.engineRenderError=!0,this.state.error=t},n.shouldComponentUpdate=function e(t){return!t.suspended},n.isValidComponent=function e(t){return t},n.patchDidCatch=function e(t){if(this.isValidComponent(t)&&!t.patchedCatch&&t.prototype){t.patchedCatch=!0;var n=t.prototype.componentDidCatch;t.prototype.componentDidCatch=function e(t,r){this.setState({engineRenderError:!0,error:t}),n&&"function"==typeof n&&n.call(this,t,r)};var r=this,o=t.prototype.render;t.prototype.render=function(){return this.state&&this.state.engineRenderError?(this.state.engineRenderError=!1,r.createElement(r.getFaultComponent(),g()({},this.props,{error:this.state.error}))):o.call(this)};var i=t.prototype.shouldComponentUpdate;t.prototype.shouldComponentUpdate=function(e,t){return!(!t||!t.engineRenderError)||(!i||i.call(this,e,t))}}},n.createElement=function e(t,n,r){return this.patchDidCatch(t),(this.props.customCreateElement||o)(t,n,r)},n.getNotFoundComponent=function e(){return this.props.notFoundComponent||y},n.getFaultComponent=function e(){var t=this.props,n=t.faultComponent,r=t.faultComponentMap,o=t.schema,i;return r?r[o.componentName]||n||p:n||p},n.getComp=function e(){var t=this.props,n=t.schema,r=t.components,o=n.componentName,i,u=g()({},a,r)[o]||a[o+"Renderer"];return u&&u.prototype&&(u.prototype instanceof s||(u=a[o+"Renderer"])),u},n.render=function e(){var t=this.props,n=t.schema,r=t.designMode,i=t.appHelper,s=t.components;if(Object(bt.isEmpty)(n))return null;if("Div"!==n.componentName&&!Oo(n))return Pn.error("The root component name needs to be one of Page\u3001Block\u3001Component, please check the schema: ",n),"\u6a21\u578b\u7ed3\u6784\u5f02\u5e38";h("entry.render");var c=g()({},a,s),d=this.getComp();return this.state&&this.state.engineRenderError?o(this.getFaultComponent(),g()({},this.props,{error:this.state.error})):d?o(u.Provider,{value:{appHelper:i,components:c,engine:this}},o(l,{device:this.props.device,locale:this.props.locale},o(d,g()({key:n.__ctx&&n.__ctx.lceKey+"_"+(n.__ctx.idx||"0"),ref:this.__getRef,__appHelper:i,__components:c,__schema:n,__designMode:r},this.props)))):null},t}(r)).displayName="Renderer",e.defaultProps={appHelper:void 0,components:{},designMode:"",suspended:!1,schema:{},onCompGetRef:function e(){},onCompGetCtx:function e(){},thisRequiredInJSE:!0},e.findDOMNode=i,e}var ca=n(466),da=n.n(ca);function la(){var e;return function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).props=void 0,r.context=void 0,r.setState=void 0,r.forceUpdate=void 0,r.refs=void 0,r}var n;return c()(t,e),t.prototype.isValidComponent=function e(t){var n;return(null==t||null===(n=t.prototype)||void 0===n?void 0:n.isReactComponent)||(null==t?void 0:t.prototype)instanceof i.Component},t}(ua())}window.React=a.a,window.ReactDom=o.a,f.setRuntime({Component:i.Component,PureComponent:i.PureComponent,createContext:i.createContext,createElement:i.createElement,forwardRef:i.forwardRef,findDOMNode:o.a.findDOMNode}),f.setRenderers({PageRenderer:ta(),ComponentRenderer:na(),BlockRenderer:ra(),AddonRenderer:oa(),TempRenderer:ia(),DivRenderer:ra()}),f.setConfigProvider(da.a);var fa=la(),_a=n(168),ha,ma;!function(e){e.ADDED="added",e.DELETED="deleted",e.MODIFIED="modified",e.COMPOSITE="composite"}(ha||(ha={})),function(e){e[e.Environment=1]="Environment",e[e.Library=2]="Library",e[e.Theme=3]="Theme",e[e.Runtime=4]="Runtime",e[e.Components=5]="Components",e[e.App=6]="App"}(ma||(ma={}));var pa=[ma.Environment,ma.Library,ma.Theme,ma.Runtime,ma.Components,ma.App],ya;!function(e){e.JSUrl="jsUrl",e.CSSUrl="cssUrl",e.CSSText="cssText",e.JSText="jsText",e.Bundle="bundle"}(ya||(ya={}));var va="node.prop.change",ga="node.innerProp.change",Ma="node.edit.rerender.time",ba,La;!function(e){e.Children="Children",e.Prop="Prop"}(ba||(ba={})),function(e){e.Children="Children",e.Prop="Prop"}(La||(La={}));var wa=function e(){this.type=void 0,this.data=void 0,this.nodes=void 0},Ya,ka,Da,Ta,Sa,xa,ja,Oa,Ea;function Ha(e){return e&&"object"==typeof e}function Pa(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function Aa(e){return e&&(Pa(e)||"function"==typeof e)}function Ca(e){return e&&(Object(i.isValidElement)(e)||Aa(e))}function Na(e){return"string"==typeof e}function Ra(e){return e&&"function"==typeof e&&!Pa(e)}function Fa(e){return e&&"i18n"===e.type}function Ia(e){return e&&"JSBlock"===e.type}function Wa(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function Ba(e){return"object"==typeof e&&e&&"JSFunction"===e.type}function Ua(e){return e&&"JSSlot"===e.type}function za(e){return"package"in e}function Va(e){return!za(e)}function Ga(e){return e&&e.componentName}function Ja(e){if("object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function $a(e){return e&&e.componentsTree}function qa(e){return e&&"object"==typeof e&&"componentName"in e&&!Ca(e)}function Ka(e){return Ja(e)&&!Fa(e)}function Za(e){return/\.css(\?.*)?$/.test(e)}function Xa(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=function(){return t},e}function Qa(e){var t=document.createElement("script");t.text=e,document.head.appendChild(t),document.head.removeChild(t)}function es(e){var t=document.createElement("script");t.onload=r,t.onerror=r;var n=Xa();function r(e){t.onload=null,t.onerror=null,"load"===e.type?n.resolve():n.reject()}return t.src=e,t.async=!1,document.head.appendChild(t),n.promise()}function ts(e){var t;return new Function(e)()}function ns(e,t){try{return new Function(e,t)}catch(e){return console.warn("Caught error, Cant init func"),null}}function rs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=os(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function os(e,t){if(e){if("string"==typeof e)return is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?is(e,t):void 0}}function is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function as(e){return e&&e.type}function ss(e){return e&&e.type===ya.Bundle}function us(e,t){return e?{type:ya.Bundle,assets:e,level:t}:null}function cs(e,t,n,r){return t?{type:e,content:t,level:n,id:r}:null}function ds(e,t){return t.packages&&(e.packages=[].concat(e.packages||[],t.packages)),t.components&&(e.components=[].concat(e.components||[],t.components)),ls(e,t,"componentList"),ls(e,t,"bizComponentList"),e}function ls(e,t,n){var r;t[n]&&(e[n]&&(null===(r=t[n])||void 0===r||r.map((function(t){var r,o,i=!1;return null===(r=e[n])||void 0===r||r.map((function(e){return e.title===t.title&&(e.children=e.children.concat(t.children),i=!0),e})),!i&&(null===(o=e[n])||void 0===o||o.push(t)),t}))))}Ya||(Ya={}),function(e){e[e.REPAINT=0]="REPAINT"}(ka||(ka={})),function(e){e[e.REPAINT=0]="REPAINT"}(Da||(Da={})),function(e){e.Render="render",e.Serilize="serilize",e.Save="save",e.Clone="clone",e.Init="init",e.Upgrade="upgrade"}(Ta||(Ta={})),function(e){e.Render="render",e.Serilize="serilize",e.Save="save",e.Clone="clone",e.Init="init",e.Upgrade="upgrade"}(Sa||(Sa={})),function(e){e.Node="node",e.NodeData="nodedata"}(xa||(xa={})),function(e){e.Node="node",e.NodeData="nodedata"}(ja||(ja={})),function(e){e.SET_VALUE="SET_VALUE",e.SUB_VALUE_CHANGE="SUB_VALUE_CHANGE"}(Oa||(Oa={})),function(e){e.SET_VALUE="SET_VALUE",e.SUB_VALUE_CHANGE="SUB_VALUE_CHANGE"}(Ea||(Ea={}));var fs=function(){function e(e,t){var n;if(this.lastContent=void 0,this.lastUrl=void 0,this.placeholder=void 0,this.level=void 0,this.id=void 0,this.level=e,t&&(this.id=t),t&&(n=document.head.querySelector('style[data-id="'+t+'"]')),!n){n=document.createTextNode("");var r=document.head.querySelector('meta[level="'+e+'"]');r?document.head.insertBefore(n,r):document.head.appendChild(n)}this.placeholder=n}var t=e.prototype;return t.applyText=function e(t){if(this.lastContent!==t){this.lastContent=t,this.lastUrl=void 0;var n=document.createElement("style");n.setAttribute("type","text/css"),this.id&&n.setAttribute("data-id",this.id),n.appendChild(document.createTextNode(t)),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n}},t.applyUrl=function e(t){if(this.lastUrl!==t){this.lastContent=void 0,this.lastUrl=t;var n=document.createElement("link");n.onload=o,n.onerror=o;var r=Xa();return n.href=t,n.rel="stylesheet",this.id&&n.setAttribute("data-id",this.id),document.head.insertBefore(n,this.placeholder.parentNode===document.head?this.placeholder.nextSibling:null),document.head.removeChild(this.placeholder),this.placeholder=n,r.promise()}function o(e){n.onload=null,n.onerror=null,"load"===e.type?r.resolve():r.reject()}},e}();function _s(e,t,n,r){for(var o=rs(n),i;!(i=o()).done;){var a;hs(e,t,i.value,r)}}function hs(e,t,n,r){if(n){if(Array.isArray(n))return _s(e,t,n,r);if(ss(n))return n.assets?void(Array.isArray(n.assets)?_s(e,t,n.assets,n.level||r):hs(e,t,n.assets,n.level||r)):void 0;as(n)||(n=cs(Za(n)?ya.CSSUrl:ya.JSUrl,n,r));var o=n.level||r;o&&null!=ma[o]||(o=ma.App),n.level=o,n.type===ya.CSSUrl||n.type==ya.CSSText?t[o].push(n):e[o].push(n)}}var ms=function(){function e(){this.stylePoints=new Map}var t=e.prototype;return t.load=function(){var e=m()(k.a.mark((function e(t){var n=this,r,o,i,a;return k.a.wrap((function e(s){for(;;)switch(s.prev=s.next){case 0:return r={},o={},pa.forEach((function(e){r[e]=[],o[e]=[]})),hs(o,r,t),i=r[ma.Environment].concat(r[ma.Library],r[ma.Theme],r[ma.Runtime],r[ma.App]),a=o[ma.Environment].concat(o[ma.Library],o[ma.Theme],o[ma.Runtime],o[ma.App]),s.next=8,Promise.all(i.map((function(e){var t=e.content,r=e.level,o=e.type,i=e.id;return n.loadStyle(t,r,o===ya.CSSUrl,i)})));case 8:return s.next=10,Promise.all(a.map((function(e){var t=e.content,r=e.type;return n.loadScript(t,r===ya.JSUrl)})));case 10:case"end":return s.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),t.loadStyle=function e(t,n,r,o){var i;if(t)return o?(i=this.stylePoints.get(o))||(i=new fs(n,o),this.stylePoints.set(o,i)):i=new fs(n),r?i.applyUrl(t):i.applyText(t)},t.loadScript=function e(t,n){if(t)return n?es(t):Qa(t)},t.loadAsyncLibrary=function(){var e=m()(k.a.mark((function e(t){var n,r,o,i;return k.a.wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:for(i in n=[],r=[],o=[],t)t[i].async&&(n.push(window[t[i].library]),r.push(t[i].library),o.push(t[i]));return a.next=6,Promise.all(n).then((function(e){e.length>0&&e.map((function(e,t){var n=o[t],i=n.exportMode,a=n.exportSourceLibrary,s=n.library;return window[r[t]]="functionCall"!==i||null!=a&&a!==s?e:e(),e}))}));case 6:case"end":return a.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}(),e}();function ps(e){return null!==e&&"object"==typeof e}function ys(e){return ps(e)&&"i18n"===e.type}function vs(e){if(!ps(e))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||null===Object.getPrototypeOf(t)}function gs(e){var t=typeof e,n;if(null==e)n=e;else if(Array.isArray(e))n=e.map((function(e){return gs(e)}));else if("object"===t&&vs(e))for(var r in n={},e)e.hasOwnProperty(r)&&(n[r]=gs(e[r]));else n=e;return n}var Ms=["$$typeof","render","defaultProps","props","length","prototype","name","caller","callee","arguments"];function bs(e,t){var n;return Object.keys(t).filter((function(e){return!Ms.includes(e)})).forEach((function(n){e[n]=t[n]})),e}var Ls=["children"],ws,Ys="function"==typeof Symbol&&Symbol.for?Symbol.for("react.forward_ref"):60112;function ks(e){return e&&e.prototype&&(e.prototype.isReactComponent||e.prototype instanceof i.Component)}function Ds(e){var t;return(null==e||null===(t=e.prototype)||void 0===t?void 0:t.isReactComponent)||e.$$typeof&&e.$$typeof===Ys}function Ts(e){return(null==e?void 0:e.$$typeof)&&(null==e?void 0:e.$$typeof)===Ys}function Ss(e){return e&&(ks(e)||"function"==typeof e||Ts(e))}function xs(e){var t=function(t){function n(){return t.apply(this,arguments)||this}var r;return c()(n,t),n.prototype.render=function t(){var n=this.props,r=n.children,o=y()(n,Ls);return Object(i.createElement)(e,o,r)},n}(i.Component);return(t=bs(t,e)).displayName=e.displayName,t}function js(e,t){return Object(i.isValidElement)(e)?t?Object(i.cloneElement)(e,t):e:Ss(e)?Object(i.createElement)(e,t):e}function Os(e){return e&&e.__esModule}var Es=/^(https?:)\/\//i;function Hs(e,t){return e?(Os(e)&&(e=e.default),"string"==typeof e?Es.test(e)?React.createElement("img",g()({src:e},t)):React.createElement(_e.a,g()({type:e},t)):Object(i.isValidElement)(e)?Object(i.cloneElement)(e,g()({},t)):Ss(e)?Object(i.createElement)(e,g()({},t)):React.createElement(_e.a,g()({},e,t))):null}var Ps=n(893);function As(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Cs(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cs(e,t){if(e){if("string"==typeof e)return Ns(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ns(e,t):void 0}}function Ns(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Rs,Fs=new(function(){function e(){this.states=new Set}var t=e.prototype;return t.setDragging=function e(t){t?this.addState("dragging"):this.removeState("dragging")},t.setXResizing=function e(t){t?this.addState("x-resizing"):this.removeState("x-resizing")},t.setYResizing=function e(t){t?this.addState("y-resizing"):this.removeState("y-resizing")},t.setCopy=function e(t){t?this.addState("copy"):this.removeState("copy")},t.isCopy=function e(){return this.states.has("copy")},t.release=function e(){for(var t=As(this.states),n;!(n=t()).done;){var r=n.value;this.removeState(r)}},t.addState=function e(t){this.states.has(t)||(this.states.add(t),document.documentElement.classList.add("lc-cursor-"+t))},t.removeState=function e(t){this.states.has(t)&&(this.states.delete(t),document.documentElement.classList.remove("lc-cursor-"+t))},e}());function Is(e){return void 0!==Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__}var Ws=Object.prototype.hasOwnProperty;function Bs(e,t){return e&&Ws.call(e,t)}function Us(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function zs(e){var t=e.target;return!!t&&(!(!t.form&&!/^(INPUT|SELECT|TEXTAREA)$/.test(t.tagName))||!!(t instanceof HTMLElement&&/write/.test(window.getComputedStyle(t).getPropertyValue("-webkit-user-modify"))))}function Vs(e){return"function"==typeof e}var Gs=!0,Js=function e(t){return Gs?null:(t.preventDefault(),t.stopPropagation(),!1)};function $s(e){Gs=e}function qs(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t}function Ks(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Bs(t,n[o])||e[n[o]]!==t[n[o]])return!1;return!0}document.addEventListener("selectstart",Js,!0),document.addEventListener("dragstart",Js,!0);var Zs=["fill","size","viewBox","style","children"],Xs={xsmall:8,small:12,medium:16,large:20,xlarge:30};function Qs(e){var t=e.fill,n=e.size,r=void 0===n?"medium":n,o=e.viewBox,i=e.style,a=e.children,s=y()(e,Zs);return Xs.hasOwnProperty(r)&&(r=Xs[r]),React.createElement("svg",g()({fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:r,height:r,viewBox:o},s,{style:g()({color:t},i)}),a)}var eu=Date.now();function tu(e){return void 0===e&&(e=""),""+e+(eu++).toString(36).toLowerCase()}function nu(e){return e&&"object"==typeof e}function ru(e){return e&&(Object(i.isValidElement)(e)||Ss(e))}function ou(e){return"string"==typeof e}function iu(e){return e&&"function"==typeof e&&!ks(e)}function au(e){return e&&"i18n"===e.type}function su(e){return e&&"JSBlock"===e.type}function uu(e){return e&&"JSExpression"===e.type&&"function"!==e.extType}function cu(e){return e&&"JSExpression"===e.type&&"function"===e.extType}function du(e){return"object"==typeof e&&e&&"JSFunction"===e.type||cu(e)}function lu(e){return e&&"JSSlot"===e.type}function fu(e){return"package"in e}function _u(e){return!fu(e)}function hu(e){return e&&e.componentName&&!e.isNode}function mu(e){return e&&e.componentsTree}function pu(e){return e&&"object"==typeof e&&"componentName"in e&&!ru(e)}function yu(e){return vs(e)&&!au(e)}function vu(e){return e&&e.type===xa.NodeData}function gu(e){return e&&e.type===xa.Node}function Mu(e){return e&&e.type!==xa.NodeData&&e.type!==xa.Node}function bu(e){return e&&e.type===ba.Children}function Lu(e){return e&&e.isNode}function wu(e){return e&&e.target&&e.detail}function Yu(e){return e&&e.isSettingField}function ku(e){return"object"==typeof e&&"Component"===e.componentName}function Du(e){return e&&e.componentsTree&&e.componentsTree.length&&ku(e.componentsTree[0])}function Tu(e){return"string"!=typeof e?e:window[e]||Su(e)}function Su(e){if(["a","img","div","span","svg"].includes(e))return Object(i.forwardRef)((function(t,n){return Object(i.createElement)(e,g()({ref:n},t),t.children)}))}function xu(e,t){var n=t.length;if(n<1||!e)return e;for(var r=0,o;r<n;){var i=t[r],a=void 0;try{o=e[i]||o}catch(e){a=e,o=null}if(0===r&&null==o&&"default"===i){if(a)return 1===n?e:null;o=e}else if(null==o)return null;e=o,r++}return o}function ju(e,t,n){if(!n)return Tu(t);var r=n.exportName||n.componentName||t,o,i=Tu(e[n.package]||r),a=n.exportName&&n.subName?n.subName.split("."):[];return n.destructuring?a.unshift(r):Os(i)&&a.unshift("default"),xu(i,a)}function Ou(e){return!!ps(e)&&Object.keys(e).some((function(t){return Ss(e[t])}))}function Eu(e,t,n){var r={};return Object.keys(t).forEach((function(o){var i=t[o];i&&(Du(i)||ku(i))?ku(i)?r[o]=n({version:"",componentsMap:[],componentsTree:[i]}):r[o]=n(i):Ss(i)?(Ds(i)||(i=xs(i)),r[o]=i):Ou(i)?r[o]=i:(i=ju(e,o,i))&&(!Ds(i)&&Ss(i)&&(i=xs(i)),r[o]=i)})),r}function Hu(e,t){var n={};return t&&t.forEach((function(t){var r;if(e[null==t||null===(r=t.npm)||void 0===r?void 0:r.package]){var o=Tu(e[null==t?void 0:t.npm.package]);null!=o&&o.destructuring?Object.keys(o).forEach((function(e){"destructuring"!==e&&(n[e]=o[e])})):t.name&&(n[t.name]=o)}})),n}var Pu=null;vt.a.defaultMaxListeners=100;var Au=function(e){function t(t){var n;return n=e.call(this)||this,Pu=w()(n),Object.assign(w()(n),t),n}c()(t,e);var n=t.prototype;return n.get=function e(t){return this[t]},n.set=function e(t,n){var r=this;"string"==typeof t?this[t]=n:"object"==typeof t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))},n.batchOn=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.on(e,n)}))},n.batchOnce=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.once(e,n)}))},n.batchOff=function e(t,n){var r=this;Array.isArray(t)&&t.forEach((function(e){return r.off(e,n)}))},t}(vt.a);function Cu(e){return e&&"variable"===e.type}function Nu(e,t){var n,r=null==e||null===(n=e.options)||void 0===n?void 0:n.configure;return!!Array.isArray(r)&&r.some((function(e){var n,r;return e.name===t&&"I18nSetter"===(null==e||null===(n=e.setter)||void 0===n||null===(r=n.type)||void 0===r?void 0:r.displayName)}))}function Ru(e,t){var n;return void 0===t&&(t="zh-CN"),ys(e)?e:((n={type:"i18n",use:t})[t]=e,n)}function Fu(e){return"string"==typeof e}function Iu(e,t){var n=200;return new Promise((function(n,r){setTimeout((function(){var o=Object(bt.get)(e,t);if(o)return n(o);r()}),200)})).catch((function(){return Iu(e,t)}))}function Wu(e,t){var n=Object(bt.get)(e,t);return n?Promise.resolve(n):Iu(e,t)}function Bu(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&(e.length===t.length&&e.every((function(e){return t.includes(e)})))}function Uu(e){var t;return!(null==e||null===(t=e.getMetadata().configure)||void 0===t||!t.advanced)}function zu(e,t){return void 0===t&&(t=2e3),setTimeout(e,t)}Au.getInstance=function(){return Pu||(Pu=new Au),Pu};var Vu=["render","serilize","save","clone","init","upgrade"];function Gu(e){return"number"==typeof e?(console.warn("stage \u76f4\u63a5\u6307\u5b9a\u4e3a\u6570\u5b57\u7684\u4f7f\u7528\u65b9\u5f0f\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5c06\u5728\u4e0b\u4e00\u7248\u672c\u79fb\u9664\uff0c\u8bf7\u76f4\u63a5\u4f7f\u7528 IPublicEnumTransformStage.Render|Serilize|Save|Clone|Init|Upgrade"),Vu[e-1]):e}function Ju(e,t,n){if(!e)throw new Error("Invariant failed: "+t+(n?" in '"+n+"'":""))}function $u(e,t,n){e&&console.warn("Deprecation: "+t+(n?", use "+n+" instead.":""))}function qu(e){return e&&e.test&&e.exec&&e.compile}function Ku(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Zu(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zu(e,t){if(e){if("string"==typeof e)return Xu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xu(e,t):void 0}}function Xu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qu(e){if("object"==typeof e&&null!==e)return e.type&&e.source&&e.compiled}function ec(e){return e.type&&"actionRef"===e.type}function tc(e){if(!e)return e;if(Array.isArray(e))return e.map((function(e){return tc(e)}));if(!vs(e))return e;var t,n,r;if(su(e))return"Slot"===e.value.componentName?{type:"JSSlot",title:null===(t=e.value.props)||void 0===t?void 0:t.slotTitle,name:null===(n=e.value.props)||void 0===n?void 0:n.slotName,value:tc(e.value.children),params:null===(r=e.value.props)||void 0===r?void 0:r.slotParams}:e.value;if(Cu(e))return{type:"JSExpression",value:e.variable,mock:e.value};if(Qu(e))return{type:"JSExpression",value:e.compiled,extType:"function"};if(ec(e))return{type:"JSExpression",value:e.id+".bind(this)"};var o={};return Object.keys(e).forEach((function(t){/^__slot__/.test(t)&&!0===e[t]||(o[t]=tc(e[t]))})),o}function nc(e,t){var n;if(e.id===t)return e;var r=e.children,o=e.props;if(Array.isArray(r))for(var i=Ku(r),a;!(a=i()).done;){var s;if(n=nc(a.value,t))return n}return vs(o)&&(n=rc(o,t))?n:void 0}function rc(e,t){for(var n,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];if(lu(s)){if(Array.isArray(s.value))for(var u=Ku(s.value),c;!(c=u()).done;){var d;if(n=nc(c.value,t))return n}if(n=nc(s.value,t))return n}else if(vs(s)&&(n=rc(s,t)))return n}}function oc(e,t){var n=g()({},e);return Array.isArray(t)||(t=[t]),t.reduce((function(e,t){if(t.type===ha.MODIFIED){var n=nc(e,t.payload.schema.id);if(!n)return e;Object.assign(n,t.payload.schema)}else if(t.type===ha.ADDED){var r=t.payload,o=r.location,i=r.schema,a=o.parent,s=nc(e,a.nodeId);s&&(Array.isArray(s.children)?s.children.splice(a.index,0,i):s.children||(s.children=[i]))}else if(t.type===ha.DELETED){var u,c,d=t.payload.location.parent,l=nc(e,d.nodeId);l&&Array.isArray(l.children)&&l.children.splice(d.index,1)}return e}),n)}var ic=function e(t,n){if(t)return n(t)?t:e(t.parent,n)};function ac(e,t){var n,r,o,i=null===(n=e.componentMeta)||void 0===n||null===(r=n.advanced)||void 0===r||null===(o=r.callbacks)||void 0===o?void 0:o.onClickHook,a;return"function"!=typeof i||i(t,e)}var sc={debug:-1,log:0,info:0,warn:1,error:2},uc=["#daa569","#00ffff","#385e0f","#7fffd4","#00c957","#b0e0e6","#4169e1","#6a5acd","#87ceeb","#ffff00","#e3cf57","#ff9912","#eb8e55","#ffe384","#40e0d0","#a39480","#d2691e","#ff7d40","#f0e68c","#bc8f8f","#c76114","#734a12","#5e2612","#0000ff","#3d59ab","#1e90ff","#03a89e","#33a1c9","#a020f0","#a066d3","#da70d6","#dda0dd","#688e23","#2e8b57"],cc={debug:"#666666",log:"#bbbbbb",info:"#ffffff",warn:"#bbbbbb",error:"#bbbbbb"},dc={debug:"debug",log:"log",info:"info",warn:"warn",error:"error"},lc={debug:console.log,log:console.log,info:console.log,warn:console.warn,error:console.error},fc={},_c=function e(t,n,r,o){void 0===n&&(n="warn");var i=sc[n]<=sc[t],a="*"===o||r.indexOf(o)>-1;return i&&a},hc=function e(t,n){return function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return lc[t].apply(console,pc(r,n,t))}},mc=function e(t){if(!fc[t]){var n=uc[Object.keys(fc).length%uc.length];fc[t]=n}return fc[t]},pc=function e(t,n,r){var o=mc(n),i=cc[r],a=t[0],s="%c["+n+"]%c["+dc[r]+"]:";a.forEach((function(e){ps(e)?s+="%o":s+="%s"}));var u=[s,"color: "+o,"color: "+i];return u=u.concat(a)},yc=function e(t,n){if(!t)return{level:n.level,bizName:n.bizName};if(t.indexOf(":")>-1){var r=t.split(":");return{level:r[0],bizName:r[1]||"*"}}return{level:t,bizName:"*"}},vc={level:"warn",bizName:"*"},gc=function(){function e(e){this.bizName=void 0,this.targetBizName=void 0,this.targetLevel=void 0,e=g()({},vc,e);var t=location||{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(t.href)||[])[1],r=yc(n,e);this.bizName=e.bizName,this.targetBizName=r.bizName,this.targetLevel=r.level}var t=e.prototype;return t.debug=function e(){if(_c("debug",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("debug",this.bizName)(n)}},t.log=function e(){if(_c("log",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("log",this.bizName)(n)}},t.info=function e(){if(_c("info",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("info",this.bizName)(n)}},t.warn=function e(){if(_c("warn",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("warn",this.bizName)(n)}},t.error=function e(){if(_c("error",this.targetLevel,this.bizName,this.targetBizName)){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hc("error",this.bizName)(n)}},e}();function Mc(e){return new gc(e)}var bc=4;function Lc(e,t){return!!e.shaken||(e.target!==t.target||Math.pow(e.clientY-t.clientY,2)+Math.pow(e.clientX-t.clientX,2)>4)}function wc(e){if(!e)return!1;var t=e.split(":");return t.length>1&&t[0].length>0}var Yc=["hover","focus","active","visited"],kc=/[A-Z]/g,Dc=/[-\s]+(.)?/g,Tc=/([^:]*):\s?(.*)/i;function Sc(e){var t=0,n=0,r=[];return e.split("").forEach((function(o,i){"{"===o&&t++,"}"===o&&(1===t&&(r.push(e.substring(n,i+1)),n=i+1),t--)})),r}function xc(e){return"[object String]"==={}.toString.call(e)}function jc(e){return e.replace(kc,(function(e){return"-"+e})).toLowerCase()}function Oc(e){return e.replace(Dc,(function(e,t){return t?t.toUpperCase():""}))}function Ec(e){var t=[];return Object.keys(e).forEach((function(n){t.push(" "+n+": "+e[n]+";")})),t.join("\n")}function Hc(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Hc(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[Oc(t)]=e[t]})),n}function Pc(e){if(!e)return{};if(e.default){var t={};return Object.keys(e).forEach((function(n){t[n]="extra"!==n?Pc(e[n]):e[n]})),t}var n={};return Object.keys(e).forEach((function(t){n[jc(t)]=e[t]})),n}function Ac(e){if(!e)return":root {\n\n}";if(e.default){var t=[];return Object.keys(e).forEach((function(n){if("extra"!==n){var r=Yc.indexOf(n)>-1?":":"";t.push(":root"+("default"===n?"":""+r+n)+" {\n"+Ec(Pc(e[n]))+"\n}\n")}else Array.isArray(e.extra)&&t.push(e.extra.join("\n"))})),t.join("\n")}return":root {\n"+Ec(Pc(e))+"\n}\n"}function Cc(e){if(!e)return{};var t={},n;return Sc(e).forEach((function(e){if(e.startsWith(":root")){var n=/:root:?(.*)?{(.*)/gi.exec(e.replace(/[\r\n]+/gi,"").trim());if(n){var r;n[1]&&n[1].trim()&&Object(bt.some)(Yc,(function(e){return 0===n[1].indexOf(e)}))?r=n[1].trim():n[1]&&n[1].trim()&&(r=n[1]);var o={};n[2].split(";").reduce((function(e,t){return t.indexOf("base64")>-1?e[e.length-1]+=";"+t:e.push(t),e}),[]).forEach((function(e){if(e&&Tc.test(e)){var t=e.match(Tc),n=null==t?void 0:t[1],r=null==t?void 0:t[2];n&&r&&(o[n.trim()]=r.trim())}})),t[r||"default"]=o}}else t.extra=t.extra||[],t.extra.push(e.trim())})),t}function Nc(e){try{return xc(e)?Hc(Cc(e).default):e.default?Hc(Pc(e.default)):Hc(Pc(e))}catch(e){}return{}}var Rc,Fc=new function e(){var t=this;this.emitter=new vt.a,this.executeTransaction=function(e,n){void 0===n&&(n=ka.REPAINT),t.emitter.emit("["+n+"]startTransaction"),Object(Dn.a)(e),t.emitter.emit("["+n+"]endTransaction")},this.onStartTransaction=function(e,n){return void 0===n&&(n=ka.REPAINT),t.emitter.on("["+n+"]startTransaction",e),function(){t.emitter.off("["+n+"]startTransaction",e)}},this.onEndTransaction=function(e,n){return void 0===n&&(n=ka.REPAINT),t.emitter.on("["+n+"]endTransaction",e),function(){t.emitter.off("["+n+"]endTransaction",e)}}};function Ic(e){return(Ic="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wc(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wc=function t(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function e(t,n,r){return t[n]=r}}function c(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),s=new k(o||[]);return r(a,"_invoke",{value:b(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function _(){}function h(){}var m={};u(m,i,(function(){return this}));var p=Object.getPrototypeOf,y=p&&p(p(D([])));y&&y!==t&&n.call(y,i)&&(m=y);var v=h.prototype=f.prototype=Object.create(m);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function o(r,i,a,s){var u=d(e[r],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==Ic(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function e(n,r){function a(){return new t((function(e,t){o(n,r,e,t)}))}return i=i?i.then(a,a):a()}})}function b(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Y(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function D(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return _.prototype=h,r(v,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:_,configurable:!0}),_.displayName=u(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,u(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(M.prototype),u(M.prototype,a,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new M(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),u(v,s,"Generator"),u(v,i,(function(){return this})),u(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=D,k.prototype={constructor:k,reset:function e(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Y),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function e(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function e(t){if(this.done)throw t;var r=this;function o(e,n){return s.type="throw",s.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function e(t,r){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=r,a?(this.method="next",this.next=a.finallyLoc,l):this.complete(s)},complete:function e(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),l},finish:function e(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),Y(r),l}},catch:function e(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var i=o.arg;Y(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function e(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Bc(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function Uc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Bc(i,r,o,a,s,"next",e)}function s(e){Bc(i,r,o,a,s,"throw",e)}a(void 0)}))}}function zc(e,t){return qc(e)||$c(e,t)||Gc(e,t)||Vc()}function Vc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gc(e,t){if(e){if("string"==typeof e)return Jc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jc(e,t):void 0}}function Jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $c(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function qc(e){if(Array.isArray(e))return e}var Kc,Zc=new URLSearchParams(window.location.search).get("platform")||"default",Xc=function e(){var t,n=zc(Object(i.useState)({}),2),r=n[0],o=n[1];function u(){return c.apply(this,arguments)}function c(){return(c=Uc(Wc().mark((function e(){var t,n,r,i,a,s,u,c,d,l,f;return Wc().wrap((function e(_){for(;;)switch(_.prev=_.next){case 0:return t=JSON.parse(window.localStorage.getItem("packages")),n=JSON.parse(window.localStorage.getItem("projectSchema")),r=n.componentsMap,i=n.componentsTree,a={},r.forEach((function(e){a[e.componentName]=e})),s=i[0],u={},c=[],t.forEach((function(e){var t=e.package,n=e.library,r=e.urls,o=e.renderUrls,i=e.advancedUrls;u[t]=n,i&&i[Zc]?c.push(i[Zc]):o?c.push(o):r&&c.push(r)})),d=[us(c,ma.Library)],l=new ms,_.prev=11,_.next=14,l.load(c);case 14:_.next=19;break;case 16:_.prev=16,_.t0=_.catch(11),console.warn("[LowcodePreview] load resources failed: ",_.t0);case 19:f=Eu(u,a),o({schema:s,components:f});case 21:case"end":return _.stop()}}),e,null,[[11,16]])})))).apply(this,arguments)}var d=r.schema,l=r.components;return d&&l?a.a.createElement("div",{className:"lowcode-plugin-sample-preview"},a.a.createElement(fa,{className:"lowcode-plugin-sample-preview-content",schema:d,components:l})):(u(),a.a.createElement(s.Loading,{fullScreen:!0}))};o.a.render(a.a.createElement(Xc,null),document.getElementById("ice-container"))}])}));