;/*!examples/mod.js*/ /** @license amis v6.11.0 * * Copyright Baidu * * This source code is licensed under the Apache license found in the * LICENSE file in the root directory of this source tree. */ !function(e){var t,n,r,a=window.amis||{},i="";if(document.currentScript&&document.currentScript.src)i=document.currentScript.src.replace(/\/[^\/]*$/,"");else try{throw new Error}catch(e){i=null===(t=/((?:https?|file):.*?)\n/.test(e.stack)&&RegExp.$1)||void 0===t?void 0:t.replace(/\/[^\/]*$/,"")}if(a["sdk@6.11.0BasePath"]=i,!a.require){a.sdkBasePath=i;var o=document.getElementsByTagName("head")[0],s={},c={},u={},l={},p={},f={},d=function(e,t,r){for(var a=[],i=0,c=e.length;i=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e,t){return function(r,n){t(r,n,e)}},f=function(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var c,u=n.kind,f="getter"===u?"get":"setter"===u?"set":"value",s=!t&&e?n.static?e:e.prototype:null,l=t||(s?Object.getOwnPropertyDescriptor(s,n.name):{}),p=!1,y=r.length-1;y>=0;y--){var d={};for(var b in n)d[b]="access"===b?{}:n[b];for(var b in n.access)d.access[b]=n.access[b];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var h=(0,r[y])("accessor"===u?{get:l.get,set:l.set}:l[f],d);if("accessor"===u){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(c=a(h.get))&&(l.get=c),(c=a(h.set))&&(l.set=c),(c=a(h.init))&&o.unshift(c)}else(c=a(h))&&("field"===u?o.unshift(c):l[f]=c)}s&&Object.defineProperty(s,n.name,l),p=!0},s=function(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},_=function(){for(var e=[],t=0;t1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof g?Promise.resolve(r.value.v).then(u,f):s(i[0][2],r)}catch(e){s(i[0][3],e)}var r}function u(e){c("next",e)}function f(e){c("throw",e)}function s(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}},P=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:g(e[n](t)),done:!1}:o?o(t):t}:o}},S=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof v?v(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},E=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)};x=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o=n(e),i=0;i0&&r[0]<4?1:+(r[0]+r[1])),!t&&n&&(!(r=n.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=n.match(/Chrome\/(\d+)/))&&(t=+r[1]),i.exports=t})); ;/*!node_modules/core-js/internals/symbol-constructor-detection.js*/ amis.define("08f6fa8",(function(e,t,n,o){"use strict";var r=e("832d889"),i=e("704ee76"),s=e("72f4382").String;n.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})); ;/*!node_modules/core-js/internals/use-symbol-as-uid.js*/ amis.define("fd2b9eb",(function(e,o,t,f){"use strict";var s=e("08f6fa8");t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})); ;/*!node_modules/core-js/internals/is-symbol.js*/ amis.define("d232762",(function(t,e,n,o){"use strict";var r=t("2077e3a"),b=t("ddba698"),f=t("cbb4af7"),a=t("fd2b9eb"),c=Object;n.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return b(e)&&f(e.prototype,c(t))}})); ;/*!node_modules/core-js/internals/try-to-string.js*/ amis.define("2390b34",(function(t,r,n,e){"use strict";var c=String;n.exports=function(t){try{return c(t)}catch(t){return"Object"}}})); ;/*!node_modules/core-js/internals/a-callable.js*/ amis.define("1e7b6d7",(function(n,r,t,e){"use strict";var i=n("ddba698"),o=n("2390b34"),f=TypeError;t.exports=function(n){if(i(n))return n;throw new f(o(n)+" is not a function")}})); ;/*!node_modules/core-js/internals/get-method.js*/ amis.define("7386991",(function(e,i,n,r){"use strict";var t=e("1e7b6d7"),c=e("63230c1");n.exports=function(e,i){var n=e[i];return c(n)?void 0:t(n)}})); ;/*!node_modules/core-js/internals/ordinary-to-primitive.js*/ amis.define("c3fc485",(function(r,t,e,i){"use strict";var n=r("134cbe3"),o=r("ddba698"),c=r("8102827"),f=TypeError;e.exports=function(r,t){var e,i;if("string"===t&&o(e=r.toString)&&!c(i=n(e,r)))return i;if(o(e=r.valueOf)&&!c(i=n(e,r)))return i;if("string"!==t&&o(e=r.toString)&&!c(i=n(e,r)))return i;throw new f("Can't convert object to primitive value")}})); ;/*!node_modules/core-js/internals/is-pure.js*/ amis.define("d854d95",(function(e,i,s,t){"use strict";s.exports=!1})); ;/*!node_modules/core-js/internals/define-global-property.js*/ amis.define("31bd3c3",(function(e,t,r,c){"use strict";var i=e("72f4382"),n=Object.defineProperty;r.exports=function(e,t){try{n(i,e,{value:t,configurable:!0,writable:!0})}catch(r){i[e]=t}return t}})); ;/*!node_modules/core-js/internals/shared-store.js*/ amis.define("ebaf74b",(function(o,s,e,r){"use strict";var i=o("d854d95"),c=o("72f4382"),t=o("31bd3c3"),u="__core-js_shared__",b=e.exports=c[u]||t(u,{});(b.versions||(b.versions=[])).push({version:"3.40.0",mode:i?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})})); ;/*!node_modules/core-js/internals/shared.js*/ amis.define("88e1eda",(function(e,n,t,i){"use strict";var r=e("ebaf74b");t.exports=function(e,n){return r[e]||(r[e]=n||{})}})); ;/*!node_modules/core-js/internals/to-object.js*/ amis.define("0172bde",(function(e,t,n,i){"use strict";var r=e("7572564"),c=Object;n.exports=function(e){return c(r(e))}})); ;/*!node_modules/core-js/internals/has-own-property.js*/ amis.define("1ab35f2",(function(e,n,t,r){"use strict";var s=e("e225e03"),a=e("0172bde"),i=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,n){return i(a(e),n)}})); ;/*!node_modules/core-js/internals/uid.js*/ amis.define("61401cb",(function(t,n,e,i){"use strict";var o=t("e225e03"),r=0,a=Math.random(),c=o(1..toString);e.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++r+a,36)}})); ;/*!node_modules/core-js/internals/well-known-symbol.js*/ amis.define("ae3952e",(function(e,t,f,o){"use strict";var r=e("72f4382"),a=e("88e1eda"),b=e("1ab35f2"),i=e("61401cb"),n=e("08f6fa8"),s=e("fd2b9eb"),u=r.Symbol,c=a("wks"),d=s?u.for||u:u&&u.withoutSetter||i;f.exports=function(e){return b(c,e)||(c[e]=n&&b(u,e)?u[e]:d("Symbol."+e)),c[e]}})); ;/*!node_modules/core-js/internals/to-primitive.js*/ amis.define("227317a",(function(e,r,t,i){"use strict";var n=e("134cbe3"),o=e("8102827"),u=e("d232762"),a=e("7386991"),c=e("c3fc485"),f=e("ae3952e"),v=TypeError,d=f("toPrimitive");t.exports=function(e,r){if(!o(e)||u(e))return e;var t,i=a(e,d);if(i){if(void 0===r&&(r="default"),t=n(i,e,r),!o(t)||u(t))return t;throw new v("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(e,r)}})); ;/*!node_modules/core-js/internals/to-property-key.js*/ amis.define("b2c8e64",(function(n,r,t,e){"use strict";var i=n("227317a"),s=n("d232762");t.exports=function(n){var r=i(n,"string");return s(r)?r:r+""}})); ;/*!node_modules/core-js/internals/document-create-element.js*/ amis.define("a7b0817",(function(e,t,n,r){"use strict";var c=e("72f4382"),a=e("8102827"),i=c.document,u=a(i)&&a(i.createElement);n.exports=function(e){return u?i.createElement(e):{}}})); ;/*!node_modules/core-js/internals/ie8-dom-define.js*/ amis.define("af71271",(function(e,t,n,r){"use strict";var i=e("7683f86"),f=e("704ee76"),a=e("a7b0817");n.exports=!i&&!f((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})); ;/*!node_modules/core-js/internals/object-get-own-property-descriptor.js*/ amis.define("8fd1242",(function(e,f,t,r){"use strict";var c=e("7683f86"),i=e("134cbe3"),n=e("34295f5"),a=e("a8d8953"),u=e("d6e0395"),b=e("b2c8e64"),d=e("1ab35f2"),o=e("af71271"),s=Object.getOwnPropertyDescriptor;f.f=c?s:function(e,f){if(e=u(e),f=b(f),o)try{return s(e,f)}catch(e){}if(d(e,f))return a(!i(n.f,e,f),e[f])}})); ;/*!node_modules/core-js/internals/v8-prototype-define-bug.js*/ amis.define("80a515d",(function(e,t,r,n){"use strict";var o=e("7683f86"),i=e("704ee76");r.exports=o&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})); ;/*!node_modules/core-js/internals/an-object.js*/ amis.define("1a4d3fb",(function(n,r,t,e){"use strict";var i=n("8102827"),o=String,f=TypeError;t.exports=function(n){if(i(n))return n;throw new f(o(n)+" is not an object")}})); ;/*!node_modules/core-js/internals/object-define-property.js*/ amis.define("9cad349",(function(e,r,n,t){"use strict";var i=e("7683f86"),a=e("af71271"),u=e("80a515d"),o=e("1a4d3fb"),c=e("b2c8e64"),f=TypeError,b=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",s="configurable",w="writable";r.f=i?u?function(e,r,n){if(o(e),r=c(r),o(n),"function"==typeof e&&"prototype"===r&&"value"in n&&w in n&&!n.writable){var t=l(e,r);t&&t.writable&&(e[r]=n.value,n={configurable:s in n?n.configurable:t.configurable,enumerable:p in n?n.enumerable:t.enumerable,writable:!1})}return b(e,r,n)}:b:function(e,r,n){if(o(e),r=c(r),o(n),a)try{return b(e,r,n)}catch(e){}if("get"in n||"set"in n)throw new f("Accessors not supported");return"value"in n&&(e[r]=n.value),e}})); ;/*!node_modules/core-js/internals/create-non-enumerable-property.js*/ amis.define("b5fdf7b",(function(n,f,t,r){"use strict";var e=n("7683f86"),i=n("9cad349"),u=n("a8d8953");t.exports=e?function(n,f,t){return i.f(n,f,u(1,t))}:function(n,f,t){return n[f]=t,n}})); ;/*!node_modules/core-js/internals/function-name.js*/ amis.define("92a7c18",(function(e,n,t,o){"use strict";var i=e("7683f86"),r=e("1ab35f2"),a=Function.prototype,c=i&&Object.getOwnPropertyDescriptor,f=r(a,"name"),s=f&&"something"===function(){}.name,m=f&&(!i||i&&c(a,"name").configurable);t.exports={EXISTS:f,PROPER:s,CONFIGURABLE:m}})); ;/*!node_modules/core-js/internals/inspect-source.js*/ amis.define("0036535",(function(e,n,t,c){"use strict";var i=e("e225e03"),r=e("ddba698"),o=e("ebaf74b"),u=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return u(e)}),t.exports=o.inspectSource})); ;/*!node_modules/core-js/internals/weak-map-basic-detection.js*/ amis.define("7858e6f",(function(e,t,a,i){"use strict";var n=e("72f4382"),s=e("ddba698"),d=n.WeakMap;a.exports=s(d)&&/native code/.test(String(d))})); ;/*!node_modules/core-js/internals/shared-key.js*/ amis.define("bf751df",(function(e,n,t,f){"use strict";var i=e("88e1eda"),r=e("61401cb"),s=i("keys");t.exports=function(e){return s[e]||(s[e]=r(e))}})); ;/*!node_modules/core-js/internals/hidden-keys.js*/ amis.define("df9231d",(function(e,i,s,t){"use strict";s.exports={}})); ;/*!node_modules/core-js/internals/internal-state.js*/ amis.define("e5ede34",(function(e,t,r,n){"use strict";var f,a,i,u=e("7858e6f"),o=e("72f4382"),s=e("8102827"),c=e("b5fdf7b"),d=e("1ab35f2"),b=e("ebaf74b"),h=e("bf751df"),w=e("df9231d"),g="Object already initialized",p=o.TypeError,v=o.WeakMap;if(u||b.state){var l=b.state||(b.state=new v);l.get=l.get,l.has=l.has,l.set=l.set,f=function(e,t){if(l.has(e))throw new p(g);return t.facade=e,l.set(e,t),t},a=function(e){return l.get(e)||{}},i=function(e){return l.has(e)}}else{var y=h("state");w[y]=!0,f=function(e,t){if(d(e,y))throw new p(g);return t.facade=e,c(e,y,t),t},a=function(e){return d(e,y)?e[y]:{}},i=function(e){return d(e,y)}}r.exports={set:f,get:a,has:i,enforce:function(e){return i(e)?a(e):f(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=a(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}})); ;/*!node_modules/core-js/internals/make-built-in.js*/ amis.define("36d52cc",(function(t,e,r,n){"use strict";var o=t("e225e03"),i=t("704ee76"),c=t("ddba698"),a=t("1ab35f2"),u=t("7683f86"),s=t("92a7c18").CONFIGURABLE,g=t("0036535"),l=t("e5ede34"),p=l.enforce,f=l.get,y=String,h=Object.defineProperty,S=o("".slice),b=o("".replace),d=o([].join),m=u&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),v=String(String).split("String"),j=r.exports=function(t,e,r){"Symbol("===S(y(e),0,7)&&(e="["+b(y(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=p(t);return a(n,"source")||(n.source=d(v,"string"==typeof e?e:"")),t};Function.prototype.toString=j((function(){return c(this)&&f(this).source||g(this)}),"toString")})); ;/*!node_modules/core-js/internals/define-built-in.js*/ amis.define("781ca91",(function(e,a,n,r){"use strict";var c=e("ddba698"),i=e("9cad349"),l=e("36d52cc"),t=e("31bd3c3");n.exports=function(e,a,n,r){r||(r={});var u=r.enumerable,b=void 0!==r.name?r.name:a;if(c(n)&&l(n,b,r),r.global)u?e[a]=n:t(a,n);else{try{r.unsafe?e[a]&&(u=!0):delete e[a]}catch(e){}u?e[a]=n:i.f(e,a,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e}})); ;/*!node_modules/core-js/internals/math-trunc.js*/ amis.define("bd98ca0",(function(t,r,a,n){"use strict";var c=Math.ceil,e=Math.floor;a.exports=Math.trunc||function(t){var r=+t;return(r>0?e:c)(r)}})); ;/*!node_modules/core-js/internals/to-integer-or-infinity.js*/ amis.define("b897608",(function(n,r,t,e){"use strict";var i=n("bd98ca0");t.exports=function(n){var r=+n;return r!=r||0===r?0:i(r)}})); ;/*!node_modules/core-js/internals/to-absolute-index.js*/ amis.define("4a4db0b",(function(t,a,n,i){"use strict";var r=t("b897608"),e=Math.max,s=Math.min;n.exports=function(t,a){var n=r(t);return n<0?e(n+a,0):s(n,a)}})); ;/*!node_modules/core-js/internals/to-length.js*/ amis.define("b267d65",(function(n,t,i,r){"use strict";var e=n("b897608"),a=Math.min;i.exports=function(n){var t=e(n);return t>0?a(t,9007199254740991):0}})); ;/*!node_modules/core-js/internals/length-of-array-like.js*/ amis.define("e3ecfa8",(function(e,n,t,i){"use strict";var r=e("b267d65");t.exports=function(e){return r(e.length)}})); ;/*!node_modules/core-js/internals/array-includes.js*/ amis.define("5501418",(function(r,e,n,i){"use strict";var f=r("d6e0395"),t=r("4a4db0b"),u=r("e3ecfa8"),a=function(r){return function(e,n,i){var a=f(e),c=u(a);if(0===c)return!r&&-1;var o,s=t(i,c);if(r&&n!=n){for(;c>s;)if((o=a[s++])!=o)return!0}else for(;c>s;s++)if((r||s in a)&&a[s]===n)return r||s||0;return!r&&-1}};n.exports={includes:a(!0),indexOf:a(!1)}})); ;/*!node_modules/core-js/internals/object-keys-internal.js*/ amis.define("b09e7be",(function(e,n,f,r){"use strict";var i=e("e225e03"),t=e("1ab35f2"),d=e("d6e0395"),o=e("5501418").indexOf,s=e("df9231d"),u=i([].push);f.exports=function(e,n){var f,r=d(e),i=0,a=[];for(f in r)!t(s,f)&&t(r,f)&&u(a,f);for(;n.length>i;)t(r,f=n[i++])&&(~o(a,f)||u(a,f));return a}})); ;/*!node_modules/core-js/internals/enum-bug-keys.js*/ amis.define("40c51a8",(function(t,r,e,o){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})); ;/*!node_modules/core-js/internals/object-get-own-property-names.js*/ amis.define("d8d54de",(function(e,t,n,c){"use strict";var r=e("b09e7be"),o=e("40c51a8").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}})); ;/*!node_modules/core-js/internals/object-get-own-property-symbols.js*/ amis.define("63f5afa",(function(e,t,f,i){"use strict";t.f=Object.getOwnPropertySymbols})); ;/*!node_modules/core-js/internals/own-keys.js*/ amis.define("760fca9",(function(e,f,a,n){"use strict";var t=e("2077e3a"),c=e("e225e03"),r=e("d8d54de"),d=e("63f5afa"),i=e("1a4d3fb"),o=c([].concat);a.exports=t("Reflect","ownKeys")||function(e){var f=r.f(i(e)),a=d.f;return a?o(f,a(e)):f}})); ;/*!node_modules/core-js/internals/copy-constructor-properties.js*/ amis.define("59bb93e",(function(f,a,e,n){"use strict";var r=f("1ab35f2"),t=f("760fca9"),c=f("8fd1242"),i=f("9cad349");e.exports=function(f,a,e){for(var n=t(a),o=i.f,s=c.f,b=0;bR;R++)if((h||R in y)&&(x=I(w=y[R],R,j),e))if(r)k[R]=x;else if(x)switch(e){case 3:return!0;case 5:return w;case 6:return R;case 2:o(k,w)}else switch(e){case 4:return!1;case 7:o(k,w)}return d?-1:i||t?t:k}};c.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}})); ;/*!node_modules/core-js/internals/object-keys.js*/ amis.define("636d868",(function(e,t,n,c){"use strict";var i=e("b09e7be"),r=e("40c51a8");n.exports=Object.keys||function(e){return i(e,r)}})); ;/*!node_modules/core-js/internals/object-define-properties.js*/ amis.define("1466569",(function(e,f,n,r){"use strict";var t=e("7683f86"),d=e("80a515d"),i=e("9cad349"),a=e("1a4d3fb"),c=e("d6e0395"),o=e("636d868");f.f=t&&!d?Object.defineProperties:function(e,f){a(e);for(var n,r=c(f),t=o(f),d=t.length,s=0;d>s;)i.f(e,n=t[s++],r[n]);return e}})); ;/*!node_modules/core-js/internals/html.js*/ amis.define("2bfbf54",(function(e,t,n,c){"use strict";var f=e("2077e3a");n.exports=f("document","documentElement")})); ;/*!node_modules/core-js/internals/object-create.js*/ amis.define("4fed969",(function(t,e,n,r){"use strict";var o,c=t("1a4d3fb"),i=t("1466569"),d=t("40c51a8"),f=t("df9231d"),u=t("2bfbf54"),a=t("a7b0817"),p=t("bf751df"),l=p("IE_PROTO"),s=function(){},b=function(t){return"