;/*!examples/mod.js*/ /** @license amis v6.10.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.10.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 h in n)d[h]="access"===h?{}:n[h];for(var h in n.access)d.access[h]=n.access[h];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var b=(0,r[y])("accessor"===u?{get:l.get,set:l.set}:l[f],d);if("accessor"===u){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(c=a(b.get))&&(l.get=c),(c=a(b.set))&&(l.set=c),(c=a(b.init))&&o.unshift(c)}else(c=a(b))&&("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&&o[0]<4?1:+(o[0]+o[1])),!r&&c&&(!(o=c.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=c.match(/Chrome\/(\d+)/))&&(r=+o[1]),a.exports=r})); ;/*!node_modules/core-js/internals/symbol-constructor-detection.js*/ amis.define("57115fa",(function(t,e,n,o){"use strict";var c=t("55ac720"),r=t("bc2c0d8"),a=t("6ae9957").String;n.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&c&&c<41}))})); ;/*!node_modules/core-js/internals/use-symbol-as-uid.js*/ amis.define("e587690",(function(e,o,t,s){"use strict";var a=e("57115fa");t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})); ;/*!node_modules/core-js/internals/is-symbol.js*/ amis.define("53339f0",(function(t,e,n,o){"use strict";var r=t("ad39fc7"),f=t("9086775"),c=t("bfd30e8"),i=t("e587690"),u=Object;n.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return f(e)&&c(e.prototype,u(t))}})); ;/*!node_modules/core-js/internals/try-to-string.js*/ amis.define("56849f3",(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("190af5e",(function(n,r,t,e){"use strict";var i=n("9086775"),f=n("56849f3"),o=TypeError;t.exports=function(n){if(i(n))return n;throw new o(f(n)+" is not a function")}})); ;/*!node_modules/core-js/internals/get-method.js*/ amis.define("cfda09e",(function(e,i,n,r){"use strict";var t=e("190af5e"),a=e("b13e5e5");n.exports=function(e,i){var n=e[i];return a(n)?void 0:t(n)}})); ;/*!node_modules/core-js/internals/ordinary-to-primitive.js*/ amis.define("699e9ba",(function(r,t,e,i){"use strict";var n=r("8b91de5"),o=r("9086775"),f=r("3e4f2b0"),u=TypeError;e.exports=function(r,t){var e,i;if("string"===t&&o(e=r.toString)&&!f(i=n(e,r)))return i;if(o(e=r.valueOf)&&!f(i=n(e,r)))return i;if("string"!==t&&o(e=r.toString)&&!f(i=n(e,r)))return i;throw new u("Can't convert object to primitive value")}})); ;/*!node_modules/core-js/internals/is-pure.js*/ amis.define("0dafd85",(function(e,i,s,t){"use strict";s.exports=!1})); ;/*!node_modules/core-js/internals/define-global-property.js*/ amis.define("6a6ea5e",(function(e,t,r,a){"use strict";var i=e("6ae9957"),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("80f812c",(function(e,o,s,r){"use strict";var i=e("0dafd85"),c=e("6ae9957"),t=e("6a6ea5e"),a="__core-js_shared__",u=s.exports=c[a]||t(a,{});(u.versions||(u.versions=[])).push({version:"3.39.0",mode:i?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})})); ;/*!node_modules/core-js/internals/shared.js*/ amis.define("3fcd597",(function(n,t,c,e){"use strict";var f=n("80f812c");c.exports=function(n,t){return f[n]||(f[n]=t||{})}})); ;/*!node_modules/core-js/internals/to-object.js*/ amis.define("23a57ab",(function(e,t,n,a){"use strict";var i=e("f9a4e34"),r=Object;n.exports=function(e){return r(i(e))}})); ;/*!node_modules/core-js/internals/has-own-property.js*/ amis.define("041a4a6",(function(a,e,n,t){"use strict";var r=a("b9a7aed"),s=a("23a57ab"),i=r({}.hasOwnProperty);n.exports=Object.hasOwn||function(a,e){return i(s(a),e)}})); ;/*!node_modules/core-js/internals/uid.js*/ amis.define("dd8d541",(function(t,n,d,i){"use strict";var o=t("b9a7aed"),r=0,a=Math.random(),e=o(1..toString);d.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+a,36)}})); ;/*!node_modules/core-js/internals/well-known-symbol.js*/ amis.define("bf39246",(function(t,e,f,o){"use strict";var r=t("6ae9957"),a=t("3fcd597"),i=t("041a4a6"),n=t("dd8d541"),d=t("57115fa"),s=t("e587690"),u=r.Symbol,c=a("wks"),b=s?u.for||u:u&&u.withoutSetter||n;f.exports=function(t){return i(c,t)||(c[t]=d&&i(u,t)?u[t]:b("Symbol."+t)),c[t]}})); ;/*!node_modules/core-js/internals/to-primitive.js*/ amis.define("ec245a7",(function(e,r,t,i){"use strict";var n=e("8b91de5"),f=e("3e4f2b0"),o=e("53339f0"),a=e("cfda09e"),u=e("699e9ba"),v=e("bf39246"),c=TypeError,b=v("toPrimitive");t.exports=function(e,r){if(!f(e)||o(e))return e;var t,i=a(e,b);if(i){if(void 0===r&&(r="default"),t=n(i,e,r),!f(t)||o(t))return t;throw new c("Can't convert object to primitive value")}return void 0===r&&(r="number"),u(e,r)}})); ;/*!node_modules/core-js/internals/to-property-key.js*/ amis.define("d5499c7",(function(n,r,t,e){"use strict";var i=n("ec245a7"),c=n("53339f0");t.exports=function(n){var r=i(n,"string");return c(r)?r:r+""}})); ;/*!node_modules/core-js/internals/document-create-element.js*/ amis.define("4465587",(function(e,t,n,r){"use strict";var c=e("6ae9957"),a=e("3e4f2b0"),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("8be87ee",(function(e,t,n,r){"use strict";var i=e("37791ef"),c=e("bc2c0d8"),f=e("4465587");n.exports=!i&&!c((function(){return 7!==Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a}))})); ;/*!node_modules/core-js/internals/object-get-own-property-descriptor.js*/ amis.define("ce21667",(function(e,t,r,c){"use strict";var f=e("37791ef"),i=e("8b91de5"),n=e("3f67574"),d=e("27c845d"),a=e("1d9312d"),u=e("d5499c7"),o=e("041a4a6"),s=e("8be87ee"),b=Object.getOwnPropertyDescriptor;t.f=f?b:function(e,t){if(e=a(e),t=u(t),s)try{return b(e,t)}catch(e){}if(o(e,t))return d(!i(n.f,e,t),e[t])}})); ;/*!node_modules/core-js/internals/v8-prototype-define-bug.js*/ amis.define("5db01b2",(function(e,t,r,n){"use strict";var o=e("37791ef"),i=e("bc2c0d8");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("e6ad810",(function(e,n,r,t){"use strict";var i=e("3e4f2b0"),o=String,f=TypeError;r.exports=function(e){if(i(e))return e;throw new f(o(e)+" is not an object")}})); ;/*!node_modules/core-js/internals/object-define-property.js*/ amis.define("aa4f748",(function(e,r,n,t){"use strict";var i=e("37791ef"),a=e("8be87ee"),u=e("5db01b2"),o=e("e6ad810"),b=e("d5499c7"),c=TypeError,f=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",s="configurable",w="writable";r.f=i?u?function(e,r,n){if(o(e),r=b(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 f(e,r,n)}:f:function(e,r,n){if(o(e),r=b(r),o(n),a)try{return f(e,r,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[r]=n.value),e}})); ;/*!node_modules/core-js/internals/create-non-enumerable-property.js*/ amis.define("bf8dff4",(function(f,n,t,e){"use strict";var r=f("37791ef"),i=f("aa4f748"),u=f("27c845d");t.exports=r?function(f,n,t){return i.f(f,n,u(1,t))}:function(f,n,t){return f[n]=t,f}})); ;/*!node_modules/core-js/internals/function-name.js*/ amis.define("bc3cdd8",(function(e,n,t,o){"use strict";var c=e("37791ef"),i=e("041a4a6"),r=Function.prototype,a=c&&Object.getOwnPropertyDescriptor,s=i(r,"name"),f=s&&"something"===function(){}.name,m=s&&(!c||c&&a(r,"name").configurable);t.exports={EXISTS:s,PROPER:f,CONFIGURABLE:m}})); ;/*!node_modules/core-js/internals/inspect-source.js*/ amis.define("23f45ad",(function(e,n,t,c){"use strict";var i=e("b9a7aed"),r=e("9086775"),o=e("80f812c"),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("d4ba853",(function(e,t,a,i){"use strict";var n=e("6ae9957"),s=e("9086775"),r=n.WeakMap;a.exports=s(r)&&/native code/.test(String(r))})); ;/*!node_modules/core-js/internals/shared-key.js*/ amis.define("e4f8189",(function(e,n,t,d){"use strict";var f=e("3fcd597"),i=e("dd8d541"),r=f("keys");t.exports=function(e){return r[e]||(r[e]=i(e))}})); ;/*!node_modules/core-js/internals/hidden-keys.js*/ amis.define("1001561",(function(e,i,s,t){"use strict";s.exports={}})); ;/*!node_modules/core-js/internals/internal-state.js*/ amis.define("aa7fd46",(function(e,t,r,n){"use strict";var a,f,i,u=e("d4ba853"),c=e("6ae9957"),o=e("3e4f2b0"),s=e("bf8dff4"),d=e("041a4a6"),h=e("80f812c"),w=e("e4f8189"),b=e("1001561"),g="Object already initialized",p=c.TypeError,v=c.WeakMap;if(u||h.state){var l=h.state||(h.state=new v);l.get=l.get,l.has=l.has,l.set=l.set,a=function(e,t){if(l.has(e))throw new p(g);return t.facade=e,l.set(e,t),t},f=function(e){return l.get(e)||{}},i=function(e){return l.has(e)}}else{var y=w("state");b[y]=!0,a=function(e,t){if(d(e,y))throw new p(g);return t.facade=e,s(e,y,t),t},f=function(e){return d(e,y)?e[y]:{}},i=function(e){return d(e,y)}}r.exports={set:a,get:f,has:i,enforce:function(e){return i(e)?f(e):a(e,{})},getterFor:function(e){return function(t){var r;if(!o(t)||(r=f(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}})); ;/*!node_modules/core-js/internals/make-built-in.js*/ amis.define("b1da747",(function(t,e,r,n){"use strict";var o=t("b9a7aed"),i=t("bc2c0d8"),a=t("9086775"),c=t("041a4a6"),u=t("37791ef"),s=t("bc3cdd8").CONFIGURABLE,g=t("23f45ad"),l=t("aa7fd46"),f=l.enforce,p=l.get,y=String,d=Object.defineProperty,b=o("".slice),h=o("".replace),S=o([].join),m=u&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),j=r.exports=function(t,e,r){"Symbol("===b(y(e),0,7)&&(e="["+h(y(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(u?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&c(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&c(r,"constructor")&&r.constructor?u&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return c(n,"source")||(n.source=S(v,"string"==typeof e?e:"")),t};Function.prototype.toString=j((function(){return a(this)&&p(this).source||g(this)}),"toString")})); ;/*!node_modules/core-js/internals/define-built-in.js*/ amis.define("3a1a5c7",(function(e,a,n,r){"use strict";var i=e("9086775"),l=e("aa4f748"),t=e("b1da747"),u=e("6a6ea5e");n.exports=function(e,a,n,r){r||(r={});var f=r.enumerable,o=void 0!==r.name?r.name:a;if(i(n)&&t(n,o,r),r.global)f?e[a]=n:u(a,n);else{try{r.unsafe?e[a]&&(f=!0):delete e[a]}catch(e){}f?e[a]=n:l.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("b39c4ce",(function(t,r,c,e){"use strict";var n=Math.ceil,a=Math.floor;c.exports=Math.trunc||function(t){var r=+t;return(r>0?a:n)(r)}})); ;/*!node_modules/core-js/internals/to-integer-or-infinity.js*/ amis.define("1b0b46f",(function(e,n,r,t){"use strict";var c=e("b39c4ce");r.exports=function(e){var n=+e;return n!=n||0===n?0:c(n)}})); ;/*!node_modules/core-js/internals/to-absolute-index.js*/ amis.define("5ffd12e",(function(t,n,a,e){"use strict";var f=t("1b0b46f"),i=Math.max,r=Math.min;a.exports=function(t,n){var a=f(t);return a<0?i(a+n,0):r(a,n)}})); ;/*!node_modules/core-js/internals/to-length.js*/ amis.define("5c823c9",(function(n,t,i,r){"use strict";var c=n("1b0b46f"),e=Math.min;i.exports=function(n){var t=c(n);return t>0?e(t,9007199254740991):0}})); ;/*!node_modules/core-js/internals/length-of-array-like.js*/ amis.define("f73b171",(function(n,t,e,c){"use strict";var i=n("5c823c9");e.exports=function(n){return i(n.length)}})); ;/*!node_modules/core-js/internals/array-includes.js*/ amis.define("5c22628",(function(r,n,e,f){"use strict";var i=r("1d9312d"),t=r("5ffd12e"),u=r("f73b171"),c=function(r){return function(n,e,f){var c=i(n),d=u(c);if(0===d)return!r&&-1;var o,s=t(f,d);if(r&&e!=e){for(;d>s;)if((o=c[s++])!=o)return!0}else for(;d>s;s++)if((r||s in c)&&c[s]===e)return r||s||0;return!r&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}})); ;/*!node_modules/core-js/internals/object-keys-internal.js*/ amis.define("35d412f",(function(n,e,r,a){"use strict";var f=n("b9a7aed"),i=n("041a4a6"),t=n("1d9312d"),d=n("5c22628").indexOf,o=n("1001561"),s=f([].push);r.exports=function(n,e){var r,a=t(n),f=0,u=[];for(r in a)!i(o,r)&&i(a,r)&&s(u,r);for(;e.length>f;)i(a,r=e[f++])&&(~d(u,r)||s(u,r));return u}})); ;/*!node_modules/core-js/internals/enum-bug-keys.js*/ amis.define("f99bfd1",(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("af8eeca",(function(e,t,n,f){"use strict";var c=e("35d412f"),r=e("f99bfd1").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return c(e,r)}})); ;/*!node_modules/core-js/internals/object-get-own-property-symbols.js*/ amis.define("a93b445",(function(e,t,i,n){"use strict";t.f=Object.getOwnPropertySymbols})); ;/*!node_modules/core-js/internals/own-keys.js*/ amis.define("5576ed3",(function(e,a,c,f){"use strict";var n=e("ad39fc7"),t=e("b9a7aed"),r=e("af8eeca"),d=e("a93b445"),i=e("e6ad810"),o=t([].concat);c.exports=n("Reflect","ownKeys")||function(e){var a=r.f(i(e)),c=d.f;return c?o(a,c(e)):a}})); ;/*!node_modules/core-js/internals/copy-constructor-properties.js*/ amis.define("071462b",(function(a,e,f,n){"use strict";var r=a("041a4a6"),t=a("5576ed3"),i=a("ce21667"),c=a("aa4f748");f.exports=function(a,e,f){for(var n=t(e),o=c.f,s=i.f,u=0;uR;R++)if((v||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:f||n?n:k}};a.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("aba99f6",(function(e,f,t,n){"use strict";var i=e("35d412f"),r=e("f99bfd1");t.exports=Object.keys||function(e){return i(e,r)}})); ;/*!node_modules/core-js/internals/object-define-properties.js*/ amis.define("6546207",(function(e,f,a,n){"use strict";var r=e("37791ef"),t=e("5db01b2"),i=e("aa4f748"),d=e("e6ad810"),b=e("1d9312d"),c=e("aba99f6");f.f=r&&!t?Object.defineProperties:function(e,f){d(e);for(var a,n=b(f),r=c(f),t=r.length,o=0;t>o;)i.f(e,a=r[o++],n[a]);return e}})); ;/*!node_modules/core-js/internals/html.js*/ amis.define("47a7dcc",(function(e,c,t,n){"use strict";var d=e("ad39fc7");t.exports=d("document","documentElement")})); ;/*!node_modules/core-js/internals/object-create.js*/ amis.define("71fb6b9",(function(e,t,n,r){"use strict";var c,o=e("e6ad810"),i=e("6546207"),u=e("f99bfd1"),d=e("1001561"),a=e("47a7dcc"),f=e("4465587"),p=e("e4f8189"),l=p("IE_PROTO"),s=function(){},m=function(e){return"