Files

16 lines
2.5 MiB
Plaintext

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CozeWebSDKmain=t():e.CozeWebSDKmain=t()}(self,function(){return function(){var e,t,n,r,i,o,a,s={39019:function(e,t,n){e=n.nmd(e),!function(r,i){if("object"==typeof t)e.exports=i(n("11532"),n("54432"));else if("function"==typeof define&&define.amd)define(["react","react-dom"],i);else{var o="object"==typeof t?i(n("11532"),n("54432")):i(r.React,r.ReactDOM);for(var a in o)("object"==typeof t?t:r)[a]=o[a]}}(self,function(r,i){return function(){var o,a,s,l,u,c={619:function(e){function t(e){return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=619,e.exports=t},989:function(){},471:function(){},443:function(){},554:function(){},465:function(e,t,n){var r,i,o=n(974).default;r=function(){"use strict";function e(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}}).apply(this,arguments)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,void 0);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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}var d,p,h=function(){function t(){e(this,t),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(t,[{key:"addEventListener",value:function(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}},{key:"removeEventListener",value:function(e,t){if(e in this.listeners){for(var n=this.listeners[e],r=0,i=n.length;r<i;r++)if(n[r].callback===t)return void n.splice(r,1)}}},{key:"dispatchEvent",value:function(e){var t=this;if(e.type in this.listeners){for(var n,r=this.listeners[e.type].slice(),i=0,o=r.length;i<o;i++)(function(){n=r[i];try{n.callback.call(t,e)}catch(e){Promise.resolve().then(function(){throw e})}n.options&&n.options.once&&t.removeEventListener(e.type,n.callback)})();return!e.defaultPrevented}}}]),t}(),f=function(t){(function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,t);var n,u,d=(n=p,u=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=i(n);return e=u?Reflect.construct(t,arguments,i(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return s(e)}(this,e)});function p(){var t;return e(this,p),(t=d.call(this)).listeners||h.call(s(t)),Object.defineProperty(s(t),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(s(t),"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(s(t),"reason",{value:void 0,writable:!0,configurable:!0}),t}return r(p,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),l(i(p.prototype),"dispatchEvent",this).call(this,e)}},{key:"throwIfAborted",value:function(){var e=this.aborted,t=this.reason;if(e)throw void 0===t?"Aborted":t}}],[{key:"timeout",value:function(e){var t=new g;return setTimeout(function(){return t.abort(new DOMException("This signal is timeout in ".concat(e,"ms"),"TimeoutError"))},e),t.signal}},{key:"any",value:function(e){var t=new g;function n(){t.abort(this.reason),function(){var t,r=c(e);try{for(r.s();!(t=r.n()).done;)t.value.removeEventListener("abort",n)}catch(e){r.e(e)}finally{r.f()}}()}var r,i=c(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.aborted){t.abort(o.reason);break}o.addEventListener("abort",n)}}catch(e){i.e(e)}finally{i.f()}return t.signal}}]),p}(h),g=function(){function t(){e(this,t),Object.defineProperty(this,"signal",{value:new f,writable:!0,configurable:!0})}return r(t,[{key:"abort",value:function(e){try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}var t,n=e;if(void 0===n){if("undefined"==typeof document)(n=Error("This operation was aborted")).name="AbortError";else try{(n=new DOMException("signal is aborted without reason")).name="AbortError"}catch(e){(n=Error("This operation was aborted")).name="AbortError"}}this.signal.reason=n,this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),t}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(g.prototype[Symbol.toStringTag]="AbortController",f.prototype[Symbol.toStringTag]="AbortSignal"),((p=d="undefined"!=typeof self?self:n.g).__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),0):("function"!=typeof p.Request||p.Request.prototype.hasOwnProperty("signal"))&&p.AbortController)||(d.AbortController=g,d.AbortSignal=f)},void 0===(i=r.call(t,n,t,e))||(e.exports=i)},593:function(e,t){"use strict";t.iI=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(e,t,r){for(var i,o=[],a=t;a<r;a+=3)o.push(n[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o=0;o<64;++o)n[o]=i[o],r[i.charCodeAt(o)]=o;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},637:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},496:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},868:function(e){"use strict";e.exports=function(e){return e[1]}},11:function(e){"use strict";e.exports=i,e.exports.isMobile=i,e.exports.default=i;var t=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/CrOS/,r=/android|ipad|playbook|silk/i;function i(e){e||(e={});var i=e.ua;if(i||"undefined"==typeof navigator||(i=navigator.userAgent),i&&i.headers&&"string"==typeof i.headers["user-agent"]&&(i=i.headers["user-agent"]),"string"!=typeof i)return!1;var o=t.test(i)&&!n.test(i)||!!e.tablet&&r.test(i);return!o&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==i.indexOf("Macintosh")&&-1!==i.indexOf("Safari")&&(o=!0),o}},394:function(e,t,n){e=n.nmd(e);var r,i=n(974).default;(function(){"use strict";var o={function:!0,object:!0},a=o["undefined"==typeof window?"undefined":i(window)]&&window||this,s=o[i(t)]&&t,l=o[i(e)]&&e&&!e.nodeType&&e,u=s&&l&&"object"==(void 0===n.g?"undefined":i(n.g))&&n.g;u&&(u.global===u||u.window===u||u.self===u)&&(a=u);var c=9007199254740991,d=/\bOpera/,p=Object.prototype,h=p.hasOwnProperty,f=p.toString;function g(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function m(e){return e=w(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:g(e)}function _(e,t){for(var n in e)h.call(e,n)&&t(e[n],n,e)}function v(e){return null==e?g(e):f.call(e).slice(8,-1)}function b(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function y(e,t){var n=null;return function(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=c)for(;++n<r;)t(e[n],n,e);else _(e,t)}(e,function(r,i){n=t(n,r,i,e)}),n}function w(e){return String(e).replace(/^ +| +$/g,"")}var S=function e(t){var n,r,o,s=a,l=t&&"object"==i(t)&&"String"!=v(t);l&&(s=t,t=null);var u=s.navigator||{},c=u.userAgent||"";t||(t=c);var p,h,g=l?!!u.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(f.toString()),S="Object",A=l&&s.java?"JavaPackage":v(s.java),T=/\bJava/.test(A)&&s.java,x=T&&v(s.environment)==(l?S:"Environment"),k=s.document||{},M=s.operamini||s.opera,P=d.test(P=l&&M?M["[[Class]]"]:v(M))?P:M=null,I=t,E=[],C=null,O=t==c,D=O&&M&&"function"==typeof M.version&&M.version(),L=y([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],function(e,n){return e||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(t)&&(n.label||n)}),B=y(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"],function(e,n){return e||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(t)&&(n.label||n)}),N=U([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),R=y({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}},function(e,n,r){return e||(n[N]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(N)]||RegExp("\\b"+b(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r}),j=y(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "],function(e,n){var r,i,o,a,s=n.pattern||b(n);return!e&&(e=RegExp("\\b"+s+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(r=e,i=s,o=n.label||n,a={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"},i&&o&&/^Win/i.test(r)&&!/^Windows Phone /i.test(r)&&(a=a[/[\d.]+$/.exec(r)])&&(r="Windows "+a),r=String(r),i&&o&&(r=r.replace(RegExp(i,"i"),o)),e=m(r.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])),e});function U(e){return y(e,function(e,n){var r=n.pattern||b(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=m(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e})}function z(e){return y(e,function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null})}if(L&&(L=[L]),/\bAndroid\b/.test(j)&&!N&&(p=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(t))&&(N=w(p[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),R&&!N?N=U([R]):R&&N&&(N=N.replace(RegExp("^("+b(R)+")[-_.\\s]","i"),R+" ").replace(RegExp("^("+b(R)+")[-_.]?(\\w)","i"),R+" $2")),(p=/\bGoogle TV\b/.exec(N))&&(N=p[0]),/\bSimulator\b/i.test(t)&&(N=(N?N+" ":"")+"Simulator"),"Opera Mini"==B&&/\bOPiOS\b/.test(t)&&E.push("running in Turbo/Uncompressed mode"),"IE"==B&&/\blike iPhone OS\b/.test(t)?(R=(p=e(t.replace(/like iPhone OS/,""))).manufacturer,N=p.product):/^iP/.test(N)?(B||(B="Safari"),j="iOS"+((p=/ OS ([\d_]+)/i.exec(t))?" "+p[1].replace(/_/g,"."):"")):"Konqueror"==B&&/^Linux\b/i.test(j)?j="Kubuntu":R&&"Google"!=R&&(/Chrome/.test(B)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(N))||/\bAndroid\b/.test(j)&&/^Chrome/.test(B)&&/\bVersion\//i.test(t)?(B="Android Browser",j=/\bAndroid\b/.test(j)?j:"Android"):"Silk"==B?(/\bMobi/i.test(t)||(j="Android",E.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&E.unshift("accelerated")):"UC Browser"==B&&/\bUCWEB\b/.test(t)?E.push("speed mode"):"PaleMoon"==B&&(p=/\bFirefox\/([\d.]+)\b/.exec(t))?E.push("identifying as Firefox "+p[1]):"Firefox"==B&&(p=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(j||(j="Firefox OS"),N||(N=p[1])):!B||(p=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(B))?(B&&!N&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(p+"/")+8))&&(B=null),(p=N||R||j)&&(N||R||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(j))&&(B=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(j)?j:p)+" Browser")):"Electron"==B&&(p=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&E.push("Chromium "+p),D||(D=z(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",b(B),"(?:Firefox|Minefield|NetFront)"])),(p=("iCab"==L&&parseFloat(D)>3?"WebKit":/\bOpera\b/.test(B)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(L)&&"WebKit"||!L&&/\bMSIE\b/i.test(t)&&("Mac OS"==j?"Tasman":"Trident")||"WebKit"==L&&/\bPlayStation\b(?! Vita\b)/i.test(B)&&"NetFront")&&(L=[p]),"IE"==B&&(p=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(B+=" Mobile",j="Windows Phone "+(/\+$/.test(p)?p:p+".x"),E.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(B="IE Mobile",j="Windows Phone 8.x",E.unshift("desktop mode"),D||(D=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=B&&"Trident"==L&&(p=/\brv:([\d.]+)/.exec(t))&&(B&&E.push("identifying as "+B+(D?" "+D:"")),B="IE",D=p[1]),O){;if(r="global",o=null!=(n=s)?i(n[r]):"number",/^(?:boolean|number|string|undefined)$/.test(o)||"object"==o&&!n[r])v(p=s.runtime)==(l?S:"ScriptBridgingProxyObject")?(B="Adobe AIR",j=p.flash.system.Capabilities.os):v(p=s.phantom)==(l?S:"RuntimeObject")?(B="PhantomJS",D=(p=p.version||null)&&p.major+"."+p.minor+"."+p.patch):"number"==typeof k.documentMode&&(p=/\bTrident\/(\d+)/i.exec(t))?(D=[D,k.documentMode],(p=+p[1]+4)!=D[1]&&(E.push("IE "+D[1]+" mode"),L&&(L[1]=""),D[1]=p),D="IE"==B?String(D[1].toFixed(1)):D[0]):"number"==typeof k.documentMode&&/^(?:Chrome|Firefox)\b/.test(B)&&(E.push("masking as "+B+" "+D),B="IE",D="11.0",L=["Trident"],j="Windows");else if(T&&(I=(p=T.lang.System).getProperty("os.arch"),j=j||p.getProperty("os.name")+" "+p.getProperty("os.version")),x){try{D=s.require("ringo/engine").version.join("."),B="RingoJS"}catch(e){(p=s.system)&&p.global.system==s.system&&(B="Narwhal",j||(j=p[0].os||null))}B||(B="Rhino")}else"object"==i(s.process)&&!s.process.browser&&(p=s.process)&&("object"==i(p.versions)&&("string"==typeof p.versions.electron?(E.push("Node "+p.versions.node),B="Electron",D=p.versions.electron):"string"==typeof p.versions.nw&&(E.push("Chromium "+D,"Node "+p.versions.node),B="NW.js",D=p.versions.nw)),B||(B="Node.js",I=p.arch,j=p.platform,D=(D=/[\d.]+/.exec(p.version))?D[0]:null));j=j&&m(j)}if(D&&(p=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(D)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(O&&u.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(C=/b/i.test(p)?"beta":"alpha",D=D.replace(RegExp(p+"\\+?$"),"")+("beta"==C?T?"b":"尾":T?"a":"伪")+(/\d+\+?/.exec(p)||"")),"Fennec"==B||"Firefox"==B&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(j))B="Firefox Mobile";else if("Maxthon"==B&&D)D=D.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(N))"Xbox 360"==N&&(j=null),"Xbox 360"==N&&/\bIEMobile\b/.test(t)&&E.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(B)&&(!B||N||/Browser|Mobi/.test(B))||"Windows CE"!=j&&!/Mobi/i.test(t)){if("IE"==B&&O)try{null===s.external&&E.unshift("platform preview")}catch(e){E.unshift("embedded")}else(/\bBlackBerry\b/.test(N)||/\bBB10\b/.test(t))&&(p=(RegExp(N.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||D)?(j=((p=[p,/BB10/.test(t)])[1]?(N=null,R="BlackBerry"):"Device Software")+" "+p[0],D=null):this!=_&&"Wii"!=N&&(O&&M||/Opera/.test(B)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==B&&/\bOS X (?:\d+\.){2,}/.test(j)||"IE"==B&&(j&&!/^Win/.test(j)&&D>5.5||/\bWindows XP\b/.test(j)&&D>8||8==D&&!/\bTrident\b/.test(t)))&&!d.test(p=e.call(_,t.replace(d,"")+";"))&&p.name&&(p="ing as "+p.name+((p=p.version)?" "+p:""),d.test(B)?(/\bIE\b/.test(p)&&"Mac OS"==j&&(j=null),p="identify"+p):(p="mask"+p,B=P?m(P.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(p)&&(j=null),O||(D=null)),L=["Presto"],E.push(p))}else B+=" Mobile";(p=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(p=[parseFloat(p.replace(/\.(\d)$/,".0$1")),p],"Safari"==B&&"+"==p[1].slice(-1)?(B="WebKit Nightly",C="alpha",D=p[1].slice(0,-1)):D!=p[1]&&D!=(p[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(D=null),p[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(t)||0)[1],537.36==p[0]&&537.36==p[2]&&parseFloat(p[1])>=28&&"WebKit"==L&&(L=["Blink"]),O&&(g||p[1])?(L&&(L[1]="like Chrome"),p=p[1]||((p=p[0])<530?1:p<532?2:p<532.05?3:p<533?4:p<534.03?5:p<534.07?6:p<534.1?7:p<534.13?8:p<534.16?9:p<534.24?10:p<534.3?11:p<535.01?12:p<535.02?"13+":p<535.07?15:p<535.11?16:p<535.19?17:p<536.05?18:p<536.1?19:p<537.01?20:p<537.11?"21+":p<537.13?23:p<537.18?24:p<537.24?25:p<537.36?26:"Blink"!=L?"27":"28")):(L&&(L[1]="like Safari"),p=(p=p[0])<400?1:p<500?2:p<526?3:p<533?4:p<534?"4+":p<535?5:p<537?6:p<538?7:p<601?8:p<602?9:p<604?10:p<606?11:p<608?12:"12"),L&&(L[1]+=" "+(p+="number"==typeof p?".x":/[.+]/.test(p)?"":"+")),"Safari"==B&&(!D||parseInt(D)>45)?D=p:"Chrome"==B&&/\bHeadlessChrome/i.test(t)&&E.unshift("headless")),"Opera"==B&&(p=/\bzbov|zvav$/.exec(j))?(B+=" ",E.unshift("desktop mode"),"zvav"==p?(B+="Mini",D=null):B+="Mobile",j=j.replace(RegExp(" *"+p+"$"),"")):"Safari"==B&&/\bChrome\b/.exec(L&&L[1])?(E.unshift("desktop mode"),B="Chrome Mobile",D=null,/\bOS X\b/.test(j)?(R="Apple",j="iOS 4.3+"):j=null):/\bSRWare Iron\b/.test(B)&&!D&&(D=z("Chrome")),D&&0==D.indexOf(p=/[\d.]+$/.exec(j))&&t.indexOf("/"+p+"-")>-1&&(j=w(j.replace(p,""))),j&&-1!=j.indexOf(B)&&!RegExp(B+" OS").test(j)&&(j=j.replace(RegExp(" *"+b(B)+" *"),"")),L&&!/\b(?:Avant|Nook)\b/.test(B)&&(/Browser|Lunascape|Maxthon/.test(B)||"Safari"!=B&&/^iOS/.test(j)&&/\bSafari\b/.test(L[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(B)&&L[1])&&(p=L[L.length-1])&&E.push(p),E.length&&(E=["("+E.join("; ")+")"]),R&&N&&0>N.indexOf(R)&&E.push("on "+R),N&&E.push((/^on /.test(E[E.length-1])?"":"on ")+N),j&&(h=(p=/ ([\d.+]+)$/.exec(j))&&"/"==j.charAt(j.length-p[0].length-1),j={architecture:32,family:p&&!h?j.replace(p[0],""):j,version:p?p[1]:null,toString:function(){var e=this.version;return this.family+(e&&!h?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(p=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(I))&&!/\bi686\b/i.test(I)?(j&&(j.architecture=64,j.family=j.family.replace(RegExp(" *"+p),"")),B&&(/\bWOW64\b/i.test(t)||O&&/\w(?:86|32)$/.test(u.cpuClass||u.platform)&&!/\bWin64; x64\b/i.test(t))&&E.unshift("32-bit")):j&&/^OS X/.test(j.family)&&"Chrome"==B&&parseFloat(D)>=39&&(j.architecture=64),t||(t=null);var F={};return F.description=t,F.layout=L&&L[0],F.manufacturer=R,F.name=B,F.prerelease=C,F.product=N,F.ua=t,F.version=B&&D,F.os=j||{architecture:null,family:null,version:null,toString:function(){return"null"}},F.parse=e,F.toString=function(){return this.description||""},F.version&&E.unshift(D),F.name&&E.unshift(B),j&&B&&(j!=String(j).split(" ")[0]||j!=B.split(" ")[0]&&!N)&&E.push(N?"("+j+")":"on "+j),E.length&&(F.description=E.join(" ")),F}();"object"==i(n.amdO)&&n.amdO?(a.platform=S,void 0===(r=(function(){return S}).call(t,n,t,e))||(e.exports=r)):s&&l?_(S,function(e,t){s[t]=e}):a.platform=S}).call(this)},824:function(e,t,n){"use strict";var r=n(33);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},790:function(e,t,n){"use strict";var r=n(12),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},382:function(e,t,n){"use strict";e.exports=n(790)},936:function(e,t,n){"use strict";var r=n(12),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},155:function(e,t,n){"use strict";var r=n(12),i=n(91),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var h=a(e,(d=u(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&p.hasValue){var t=p.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return l(function(){p.hasValue=!0,p.value=h},[h]),c(h),h}},91:function(e,t,n){"use strict";e.exports=n(936)},521:function(e,t,n){"use strict";e.exports=n(155)},862:function(e){"use strict";e.exports=function(){throw Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},544:function(e,t,n){"use strict";var r=n(868),i=n.n(r),o=n(637),a=n.n(o),s=n(496),l=n.n(s),u=new URL(n(839),n.b),c=a()(i()),d=l()(u);c.push([e.id,".taro-app-wrap{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0;padding:0;font-family:-apple-system-font,Helvetica Neue,sans-serif;line-height:1.6}.taro-app-wrap *{margin:0;padding:0}.taro-app-wrap a{-webkit-tap-highlight-color:transparent;text-decoration:none}.taro-app-wrap a img{border:0}.taro-app-wrap input{text-overflow:clip;text-align:inherit;white-space:nowrap;height:1.4rem;display:block;overflow:hidden}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url("+d+')format("truetype")}[class^=weui-icon-],[class*=\\ weui-icon-]{vertical-align:middle;font:14px/1 weui;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;display:inline-block}[class^=weui-icon-]:before,[class*=\\ weui-icon-]:before{margin-left:.2em;margin-right:.2em;display:inline-block}[class^=weui-icon_]:before,[class*=\\ weui-icon_]:before{margin:0}.weui-check__label{-webkit-tap-highlight-color:transparent}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999em}.weui-cells_radio .weui-cell__ft{padding-left:.35em}.weui-cells_radio .weui-check+.weui-icon-checked{min-width:16px}.weui-cells_radio .weui-check:checked+.weui-icon-checked:before{content:"瞑";color:#09bb07;font-size:16px;display:block}.weui-cells_checkbox .weui-cell__hd{padding-right:.35em}.weui-cells_checkbox .weui-icon-checked:before{content:"瞑";color:#c9c9c9;font-size:23px;display:block}.weui-cells_checkbox .weui-check:checked+.weui-icon-checked:before{content:"瞑";color:#09bb07}',""]),t.A=c},179:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},o=[],a=0;a<e.length;a++){var s=e[a],l=r.base?s[0]+r.base:s[0],u=i[l]||0,c="".concat(l," ").concat(u);i[l]=u+1;var d=n(c),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(p,r);r.byIndex=a,t.splice(a,0,{identifier:c,updater:h,references:1})}o.push(c)}return o}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},447:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},435:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},920:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,i,o,a,s,l;r=t,i=e,a="",(o=n).supports&&(a+="@supports (".concat(o.supports,") {")),o.media&&(a+="@media ".concat(o.media," {")),(s=void 0!==o.layer)&&(a+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),a+=o.css,s&&(a+="}"),o.media&&(a+="}"),o.supports&&(a+="}"),(l=o.sourceMap)&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),i.styleTagTransform(a,r,i.options)},remove:function(){!function(e){if(null!==e.parentNode)e.parentNode.removeChild(e)}(t)}}}},708:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},839:function(e){"use strict";e.exports="data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQMPROtAAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW4AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACbZbxtfDzz1AAsD6AAAAADUm2dvAAAAANSbZ2///wAAA+kD6gAAAAgAAgAAAAAAAAABAAAAEgBJAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPqAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+j//wPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AAAABAAQAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAANwAAAAAAAAAEQAA6gEAAOoBAAAAAQAA6gIAAOoCAAAAAgAA6gMAAOoDAAAAAwAA6gQAAOoEAAAABAAA6gUAAOoFAAAABQAA6gYAAOoGAAAABgAA6gcAAOoHAAAABwAA6ggAAOoIAAAACAAA6gkAAOoJAAAACQAA6goAAOoKAAAACgAA6gsAAOoLAAAACwAA6gwAAOoMAAAADAAA6g0AAOoNAAAADQAA6g4AAOoOAAAADgAA6g8AAOoPAAAADwAA6hAAAOoQAAAAEAAA6hEAAOoRAAAAEQAAAAAARgCMANIBJAF4AcQCMgJgAqgC/ANIA6YD/gROBKAE9AVaAAAAAgAAAAADrwOtABQAKQAAASIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAfV4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NlteA608O2Rn8GdjOzw8O2Nn8GdkOzz8rzc1W17bXlw1Nzc1XF7bXls1NwAAAAACAAAAAAOzA7MAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTBwYiLwEmNjsBETQ2OwEyFhURMzIWAe52Z2Q7PT07ZGd2fGpmOz4+O2ZpIXYOKA52Dg0XXQsHJgcLXRcNA7M+O2ZqfHZnZDs9PTtkZ3Z9aWY7Pv3wmhISmhIaARcICwsI/ukaAAMAAAAAA+UD5QAXACMALAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAxQrASI1AzQ7ATIHJyImNDYyFhQGAe6Ecm9BRERBb3KEiXZxQkREQnF1aQIxAwgCQgMBIxIZGSQZGQPkREJxdomEcm9BRERBb3KEinVxQkT9HQICAWICAjEZIxkZIxkAAAAAAgAAAAADsQPkABkALgAAAQYHBgc2BREUFxYXFhc2NzY3NjURJBcmJyYTAQYvASY/ATYyHwEWNjclNjIfARYB9VVVQk+v/tFHPmxebGxdbT1I/tGvT0JVo/7VBASKAwMSAQUBcQEFAgESAgUBEQQD4xMYEhk3YP6sjnVlSD8cHD9IZXWOAVRgNxkSGP62/tkDA48EBBkCAVYCAQHlAQIQBAAAAAADAAAAAAOxA+QAGwAqADMAAAEGBwYHBgcGNxEUFxYXFhc2NzY3NjURJBcmJyYHMzIWFQMUBisBIicDNDYTIiY0NjIWFAYB9UFBODssO38gRz5sXmxsXW09SP7YqFBBVW80BAYMAwImBQELBh4PFhYeFRUD5A8SDhIOEikK/q2PdWRJPh0dPklkdY8BU141GRIY/AYE/sYCAwUBOgQG/kAVHxUVHxUAAAACAAAAAAPkA+QAFwAtAAABIgcGBwYVFBcWFxYzMjc2NzY1NCcmJyYTAQYiLwEmPwE2Mh8BFjI3ATYyHwEWAe6Ecm9BQ0NCbnODiXVxQkREQnF1kf6gAQUBowMDFgEFAYUCBQEBQwIFARUEA+NEQnF1iYNzbkJDQ0FvcoSJdXFCRP6j/qUBAagEBR4CAWYBAQENAgIVBAAAAAQAAAAAA68DrQAUACkAPwBDAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYDIicmJyY0NzY3NjIXFhcWFAcGBwYTBQ4BLwEmBg8BBhYfARYyNwE+ASYiFzAfAQH1eGdkOzw8O2Rn8GZkOzw8O2RmeG5eWzY3NzZbXtteWzY3NzZbXmn+9gYSBmAGDwUDBQEGfQUQBgElBQELEBUBAQOtPDtkZ/BnYzs8PDtjZ/BnZDs8/K83NVte215cNTc3NVxe215bNTcCJt0FAQVJBQIGBAcRBoAGBQEhBQ8LBAEBAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAIAAAAAA+UD5gAXACwAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMHBi8BJicmNRM0NjsBMhYVExceAQHvhHJvQUNDQm5zg4l1cUJEREJxdVcQAwT6AwIEEAMCKwIDDsUCAQPlREJxdYmDc25CQ0NBb3KEiXVxQkT9VhwEAncCAgMGAXoCAwMC/q2FAgQAAAQAAAAAA68DrQADABgALQAzAAABMB8BAyIHBgcGFBcWFxYyNzY3NjQnJicmAyInJicmNDc2NzYyFxYXFhQHBgcGAyMVMzUjAuUBAfJ4Z2Q7PDw7ZGfwZmQ7PDw7ZGZ4bl5bNjc3Nlte215bNjc3NltemyT92QKDAQEBLDw7ZGfwZ2M7PDw7Y2fwZ2Q7PPyvNzVbXtteXDU3NzVcXtteWzU3AjH9JAAAAAMAAAAAA+QD5AAXACcAMAAAASIHBgcGFRQXFhcWMzI3Njc2NTQnJicmAzMyFhUDFAYrASImNQM0NhMiJjQ2MhYUBgHuhHJvQUNDQm5zg4l1cUJEREJxdZ42BAYMAwInAwMMBh8PFhYeFhYD40RCcXWJg3NuQkNDQW9yhIl1cUJE/vYGBf7AAgMDAgFABQb+NhYfFhYfFgAABAAAAAADwAPAAAgAEgAoAD0AAAEyNjQmIgYUFhcjFTMRIxUzNSMDIgcGBwYVFBYXFjMyNzY3NjU0Jy4BAyInJicmNDc2NzYyFxYXFhQHBgcGAfQYISEwISFRjzk5yTorhG5rPT99am+DdmhlPD4+PMyFbV5bNTc3NVte2l5bNTc3NVteAqAiLyIiLyI5Hf7EHBwCsT89a26Ed8w8Pj48ZWh2g29qffyjNzVbXtpeWzU3NzVbXtpeWzU3AAADAAAAAAOoA6gACwAgADUAAAEHJwcXBxc3FzcnNwMiBwYHBhQXFhcWMjc2NzY0JyYnJgMiJyYnJjQ3Njc2MhcWFxYUBwYHBgKOmpocmpocmpocmpq2dmZiOjs7OmJm7GZiOjs7OmJmdmtdWTQ2NjRZXdZdWTQ2NjRZXQKqmpocmpocmpocmpoBGTs6YmbsZmI6Ozs6YmbsZmI6O/zCNjRZXdZdWTQ2NjRZXdZdWTQ2AAMAAAAAA+kD6gAaAC8AMAAAAQYHBiMiJyYnJjQ3Njc2MhcWFxYVFAcGBwEHATI3Njc2NCcmJyYiBwYHBhQXFhcWMwKONUBCR21dWjU3NzVaXdpdWzU2GBcrASM5/eBXS0grKysrSEuuSkkqLCwqSUpXASMrFxg2NVtd2l1aNTc3NVpdbUdCQDX+3jkBGSsrSEuuSkkqLCwqSUquS0grKwAC//8AAAPoA+gAFAAwAAABIgcGBwYQFxYXFiA3Njc2ECcmJyYTFg4BIi8BBwYuATQ/AScmPgEWHwE3Nh4BBg8BAfSIdHFDRERDcXQBEHRxQ0REQ3F0SQoBFBsKoqgKGxMKqKIKARQbCqKoChsUAQqoA+hEQ3F0/vB0cUNERENxdAEQdHFDRP1jChsTCqiiCgEUGwqiqAobFAEKqKIKARQbCqIAAAIAAAAAA+QD5AAXADQAAAEiBwYHBhUUFxYXFjMyNzY3NjU0JyYnJhMUBiMFFxYUDwEGLwEuAT8BNh8BFhQPAQUyFh0BAe6Ecm9BQ0NCbnODiXVxQkREQnF1fwQC/pGDAQEVAwTsAgEC7AQEFAIBhAFwAgMD40RCcXWJg3NuQkNDQW9yhIl1cUJE/fYCAwuVAgQCFAQE0AIFAtEEBBQCBQGVCwMDJwAAAAUAAAAAA9QD0wAjACcANwBHAEgAAAERFAYjISImNREjIiY9ATQ2MyE1NDYzITIWHQEhMhYdARQGIyERIREHIgYVERQWOwEyNjURNCYjISIGFREUFjsBMjY1ETQmKwEDeyYb/XYbJkMJDQ0JAQYZEgEvExkBBgkNDQn9CQJc0QkNDQktCQ0NCf7sCQ0NCS0JDQ0JLQMi/TQbJiYbAswMCiwJDS4SGRkSLg0JLAoM/UwCtGsNCf5NCQ0NCQGzCQ0NCf5NCQ0NCQGzCQ0AAAAAEADGAAEAAAAAAAEABAAAAAEAAAAAAAIABwAEAAEAAAAAAAMABAALAAEAAAAAAAQABAAPAAEAAAAAAAUACwATAAEAAAAAAAYABAAeAAEAAAAAAAoAKwAiAAEAAAAAAAsAEwBNAAMAAQQJAAEACABgAAMAAQQJAAIADgBoAAMAAQQJAAMACAB2AAMAAQQJAAQACAB+AAMAAQQJAAUAFgCGAAMAAQQJAAYACACcAAMAAQQJAAoAVgCkAAMAAQQJAAsAJgD6d2V1aVJlZ3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA"},12:function(e){"use strict";e.exports=r},33:function(e){"use strict";e.exports=i},106:function(){},786:function(){},982:function(){},75:function(){},974:function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},660:function(e,t,n){var r,i=n(974).default;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!==i(e))return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=s(t,n));return t}(n)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):"object"===i(n.amdO)&&n.amdO?void 0===(r=(function(){return a}).apply(t,[]))||(e.exports=r):window.classNames=a}()},237:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:function(){return r}})},153:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:function(){return r}})},515:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(237),i=n(153),o=n(772);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,i.A)(e)||(0,o.A)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},772:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(237);function i(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=({}).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)?(0,r.A)(e,t):void 0}}}},d={};function p(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={id:e,loaded:!1,exports:{}};return c[e].call(n.exports,n,n.exports,p),n.loaded=!0,n.exports}p.m=c,p.amdO={},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,{a:t}),t},p.d=function(e,t){for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce(function(t,n){return p.f[n](e,t),t},[]))},p.u=function(e){return"chunk/"+e+".js"},p.miniCssF=function(e){},p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l={},u="@coze/chat-sdk:",p.l=function(e,t,n,r){if(l[e])l[e].push(t);else{if(void 0!==n)for(var i,o,a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var c=a[s];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==u+n){i=c;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",u+n),i.src=e),l[e]=[t];var d=function(t,n){i.onerror=i.onload=null,clearTimeout(h);var r=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),o&&document.head.appendChild(i)}},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},p.p="/",p.b=document.baseURI||self.location.href,o={601:0},p.f.j=function(e,t){var n=p.o(o,e)?o[e]:void 0;if(0!==n){if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=o[e]=[t,r]});t.push(n[2]=r);var i=p.p+p.u(e),a=Error();p.l(i,function(t){if(p.o(o,e)&&(0!==(n=o[e])&&(o[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,n[1](a)}},"chunk-"+e,e)}}},a=function(e,t){var n,r,i=t[0],a=t[1],s=t[2],l=0;if(i.some(function(e){return 0!==o[e]})){for(n in a)p.o(a,n)&&(p.m[n]=a[n]);s&&s(p)}for(e&&e(t);l<i.length;l++)r=i[l],p.o(o,r)&&o[r]&&o[r][0](),o[r]=0},(s=self.webpackJsonp_coze_chat_sdk=self.webpackJsonp_coze_chat_sdk||[]).forEach(a.bind(null,0)),s.push=a.bind(null,s.push.bind(s)),p.nc=void 0;var h={};return function(){"use strict";p.r(h),p.d(h,{default:function(){return bU}});var r,i,o,a,s,l,u,c,d,f,g,m,_,v,b,y,w,S={};p.r(S),p.d(S,{logInterceptor:function(){return n9},timeoutInterceptor:function(){return n8}});var A={};p.r(A),p.d(A,{hasBrowserEnv:function(){return aN},hasStandardBrowserEnv:function(){return aj},hasStandardBrowserWebWorkerEnv:function(){return aU},navigator:function(){return aR},origin:function(){return az}});var T={};p.r(T),p.d(T,{attentionMarkers:function(){return hJ},contentInitial:function(){return hV},disable:function(){return h0},document:function(){return hH},flow:function(){return hY},flowInitial:function(){return hQ},insideSpan:function(){return hX},string:function(){return h$},text:function(){return hK}});var x=p(179),k=p.n(x),M=p(920),P=p.n(M),I=p(435),E=p.n(I),C=p(447),O=p.n(C),D=p(708),L=p.n(D),B=p(544),N={};function R(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function j(e){return(j="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 U(e){var t=function(e,t){if("object"!=j(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=j(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==j(t)?t:t+""}function z(e,t,n){return(t=U(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach(function(t){z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}N.styleTagTransform=L(),N.setAttributes=E(),N.insert=function(e){var t=document.querySelector("head");if(t){var n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e}},N.domAPI=P(),N.insertStyleElement=O(),k()(B.A,N),B.A&&B.A.locals&&B.A.locals;var q=p(660),W=p.n(q),Z=p(12),H=p.n(Z),V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.dangerouslySetInnerHTML,r=e.style;return"string"!=typeof r&&(t.style=r),Object.assign(Object.assign({},t),{dangerouslySetInnerHTML:n})};function Q(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,U(r.key),r)}}function $(e,t,n){return t&&Y(e.prototype,t),n&&Y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(X=function(){return!!e})()}function J(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e,t,n){return t=K(t),function(e,t){if(t&&("object"==j(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return J(e)}(e,X()?Reflect.construct(t,n||[],K(e).constructor):t.apply(e,n))}function et(e,t){return(et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function en(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&et(e,t)}function er(){er=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=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){return e[t]=n}}function c(t,n,r,o){var a=Object.create((n&&n.prototype instanceof m?n:m).prototype);return i(a,"_invoke",{value:function(t,n,r){var i=p;return function(o,a){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=function t(n,r){var i=r.method,o=n.iterator[i];if(o===e)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),g;var a=d(o,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,g)}(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===p)throw i=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=h;var u=d(t,n,r);if("normal"===u.type){if(i=r.done?f:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=f,r.method="throw",r.arg=u.arg)}}}(t,r,new M(o||[]))}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",h="executing",f="completed",g={};function m(){}function _(){}function v(){}var b={};u(b,a,function(){return this});var y=Object.getPrototypeOf,w=y&&y(y(P([])));w&&w!==n&&r.call(w,a)&&(b=w);var S=v.prototype=m.prototype=Object.create(b);function A(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function T(e,t){var n;i(this,"_invoke",{value:function(i,o){function a(){return new t(function(n,a){(function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==j(c)&&r.call(c,"__await")?t.resolve(c.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return n("throw",e,a,s)})}s(l.arg)})(i,o,n,a)})}return n=n?n.then(a,a):a()}})}function x(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw TypeError(j(t)+" is not iterable")}return _.prototype=v,i(S,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:_,configurable:!0}),_.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},A(T.prototype),u(T.prototype,s,function(){return this}),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},A(S),u(S,l,"Generator"),u(S,a,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),t.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}},t.values=P,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function ei(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function eo(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){ei(o,r,i,a,s,"next",e)}function s(e){ei(o,r,i,a,s,"throw",e)}a(void 0)})}}function ea(e){if(Array.isArray(e))return e}var es=p(772);function el(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eu(e,t){return ea(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||(0,es.A)(e,t)||el()}var ec,ed,ep,eh,ef=p(515),eg=0,em=!1,e_=!1,ev=!1,eb=!1,ey=0,ew=!1,eS=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(){}},eA=function(e,t){return function(){}},eT="s-id",ex="sty-id",ek="c-id",eM="http://www.w3.org/1999/xlink",eP={},eI=function(e){return"object"===(e=j(e))||"function"===e};var eE=function(e,t){for(var n=null,r=null,i=null,o=!1,a=!1,s=[],l=function(t){for(var r=0;r<t.length;r++)Array.isArray(n=t[r])?l(n):null!=n&&"boolean"!=typeof n&&((o="function"!=typeof e&&!eI(n))&&(n=String(n)),o&&a?s[s.length-1].$text$+=n:s.push(o?eC(null,n):n),a=o)},u=arguments.length,c=Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];if(l(c),t&&(t.key&&(r=t.key),t.name&&(i=t.name),1)){var p=t.className||t.class;p&&(t.class="object"!==j(p)?p:Object.keys(p).filter(function(e){return p[e]}).join(" "))}if("function"==typeof e)return e(null===t?{}:t,s,eL);var h=eC(e,null);return h.$attrs$=t,s.length>0&&(h.$children$=s),h.$key$=r,h.$name$=i,h},eC=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},eO={},eD=function(e){return e&&e.$tag$===eO},eL={forEach:function(e,t){return e.map(eB).forEach(t)},map:function(e,t){return e.map(eB).map(t).map(eN)}},eB=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}},eN=function(e){if("function"==typeof e.vtag){var t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),eE.apply(void 0,[e.vtag,t].concat((0,ef.A)(e.vchildren||[])))}var n=eC(e.vtag,e.vtext);return n.$attrs$=e.vattrs,n.$children$=e.vchildren,n.$key$=e.vkey,n.$name$=e.vname,n},eR=function(e){var t=Object.keys(e),n=t.indexOf("value");if(-1!==n){var r=t.indexOf("type"),i=t.indexOf("min"),o=t.indexOf("max"),a=t.indexOf("step");(n<r||n<i||n<o||n<a)&&tR('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}},ej=function(e,t,n,r,i,o,a){var s,l,u,c;if(1===o.nodeType){for((s=o.getAttribute(ek))&&((l=s.split("."))[0]!==a&&"0"!==l[0]||(u={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(u),o.removeAttribute(ek),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,e=u,r&&"0"===u.$depth$&&(r[u.$index$]=u.$elm$))),c=o.childNodes.length-1;c>=0;c--)ej(e,t,n,r,i,o.childNodes[c],a);if(o.shadowRoot)for(c=o.shadowRoot.childNodes.length-1;c>=0;c--)ej(e,t,n,r,i,o.shadowRoot.childNodes[c],a)}else if(8===o.nodeType)(l=o.nodeValue.split("."))[1]!==a&&"0"!==l[1]||(s=l[0],u={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===s?(u.$elm$=o.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,t.push(u),o.remove(),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,r&&"0"===u.$depth$&&(r[u.$index$]=u.$elm$))):u.$hostId$!==a||("s"===s?(u.$tag$="slot",l[5]?o["s-sn"]=u.$name$=l[5]:o["s-sn"]="",o["s-sr"]=!0,r&&(u.$elm$=tq.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),o.parentNode.insertBefore(u.$elm$,o),o.remove(),"0"===u.$depth$&&(r[u.$index$]=u.$elm$)),n.push(u),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u):"r"!==s||(r?o.remove():(i["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.$tag$){var d=eC(null,o.textContent);d.$elm$=o,d.$index$="0",e.$children$=[d]}},eU=function(e,t){if(1===e.nodeType){for(var n=0;n<e.childNodes.length;n++)eU(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)eU(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){var r=e.nodeValue.split(".");"o"===r[0]&&(t.set(r[1]+"."+r[2],e),e.nodeValue="",e["s-en"]=r[3])}},ez=function(e){return tF.map(function(t){return t(e)}).find(function(e){return!!e})},eF=function(e,t,n){var r,i=(r=e,r);return{emit:function(e){return eG(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},eG=function(e,t,n){var r=tZ.ce(t,n);return e.dispatchEvent(r),r},eq=new WeakMap,eW=function(e,t,n){var r=tz.get(e);tQ&&n?"string"==typeof(r=r||new CSSStyleSheet)?r=t:r.replaceSync(t):r=t,tz.set(e,r)},eZ=function(e,t,n,r){var i,o=eV(t,n),a=tz.get(o);if(e=11===e.nodeType?e:tq,a){if("string"==typeof a){e=e.head||e;var s,l=eq.get(e);if(l||eq.set(e,l=new Set),!l.has(o)){(s=tq.createElement("style")).innerHTML=a;var u,c,d,p,h=null!==(i=tZ.$nonce$)&&void 0!==i?i:null!==(p=null===(d=null===(c=tq.head)||void 0===c?void 0:c.querySelector('meta[name="csp-nonce"]'))||void 0===d?void 0:d.getAttribute("content"))&&void 0!==p?p:void 0;null!=h&&s.setAttribute("nonce",h),e.insertBefore(s,e.querySelector("link"));l&&l.add(o)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[].concat((0,ef.A)(e.adoptedStyleSheets),[a]))}return o},eH=function(e){var t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=eS("attachStyles",t.$tagName$),o=eZ(tH&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);!(10&r)||(n["s-sc"]=o,n.classList.add(o+"-h"),2&r&&n.classList.add(o+"-s")),i()},eV=function(e,t){return"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$)},eQ=function(e,t,n,r,i,o){if(n!==r){var a=tD(e,t),s=t.toLowerCase();if("class"!==t){if("style"!==t){if("key"!==t){if("ref"!==t){if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){var l=eI(r);if((a||l&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{var u=null==r?"":r;"list"===t?a=!1:null!=n&&e[t]==u||(e[t]=u)}}catch(e){}var c=!1;s===(s=s.replace(/^xlink\:?/,""))||(t=s,c=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(eM,t):e.removeAttribute(t)):(!a||4&o||i)&&!l&&(r=!0===r?"":r,c?e.setAttributeNS(eM,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):tD(tG,s)?s.slice(2):s[2]+t.slice(3),n&&tZ.rel(e,t,n,!1),r&&tZ.ael(e,t,r,!1)}else r&&r(e)}else;}else{for(var d in n)r&&null!=r[d]||(d.includes("-")?e.style.removeProperty(d):e.style[d]="");for(var p in r)n&&r[p]===n[p]||(p.includes("-")?e.style.setProperty(p,r[p]):e.style[p]=r[p])}}else{var h=e.classList,f=e$(n),g=e$(r);h.remove.apply(h,(0,ef.A)(f.filter(function(e){return e&&!g.includes(e)}))),h.add.apply(h,(0,ef.A)(g.filter(function(e){return e&&!f.includes(e)})))}}},eY=/\s/,e$=function(e){return e?e.split(eY):[]},eK=function(e,t,n,r){var i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||eP,a=t.$attrs$||eP;for(r in o)r in a||eQ(i,r,o[r],void 0,n,t.$flags$);for(r in a)eQ(i,r,o[r],a[r],n,t.$flags$)},eX=function(e,t,n,r){var i,o,a,s=t.$children$[n],l=0;if(em||(ev=!0,"slot"!==s.$tag$||(ec&&r.classList.add(ec+"-s"),s.$flags$|=s.$children$?2:1)),null===s.$text$){if(1&s.$flags$)i=s.$elm$=tq.createTextNode("");else{if(eb||(eb="svg"===s.$tag$),i=s.$elm$=tq.createElementNS(eb?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&s.$flags$?"slot-fb":s.$tag$),eb&&"foreignObject"===s.$tag$&&(eb=!1),eK(null,s,eb),null==ec||i["s-si"]===ec||i.classList.add(i["s-si"]=ec),s.$children$)for(l=0;l<s.$children$.length;++l)(o=eX(e,s,l,i))&&i.appendChild(o);"svg"===s.$tag$?eb=!1:"foreignObject"!==i.tagName||(eb=!0)}}else i=s.$elm$=tq.createTextNode(s.$text$);return i["s-hn"]=ep,3&s.$flags$&&(i["s-sr"]=!0,i["s-cr"]=ed,i["s-sn"]=s.$name$||"",(a=e&&e.$children$&&e.$children$[n])&&a.$tag$===s.$tag$&&e.$elm$&&eJ(e.$elm$,!1)),i},eJ=function(e,t){tZ.$flags$|=1;for(var n=e.childNodes,r=n.length-1;r>=0;r--){var i=n[r];i["s-hn"]!==ep&&i["s-ol"]&&(e5(i).insertBefore(i,e3(i)),i["s-ol"].remove(),i["s-ol"]=void 0,ev=!0),t&&eJ(i,t)}tZ.$flags$&=-2},e0=function(e,t,n,r,i,o){var a,s=(0,e["s-cr"]&&e["s-cr"].parentNode||e);for(0,s.shadowRoot&&s.tagName===ep&&(s=s.shadowRoot);i<=o;++i)r[i]&&(a=eX(null,n,i,e))&&(r[i].$elm$=a,s.insertBefore(a,e3(t)))},e1=function(e,t,n,r,i){for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,tn(r),e_=!0,i["s-ol"]?i["s-ol"].remove():eJ(i,!0),i.remove())},e2=function(e,t,n,r){for(var i,o,a=0,s=0,l=0,u=0,c=t.length-1,d=t[0],p=t[c],h=r.length-1,f=r[0],g=r[h];a<=c&&s<=h;)if(null==d)d=t[++a];else if(null==p)p=t[--c];else if(null==f)f=r[++s];else if(null==g)g=r[--h];else if(e4(d,f))e6(d,f),d=t[++a],f=r[++s];else if(e4(p,g))e6(p,g),p=t[--c],g=r[--h];else if(e4(d,g))"slot"!==d.$tag$&&"slot"!==g.$tag$||eJ(d.$elm$.parentNode,!1),e6(d,g),e.insertBefore(d.$elm$,p.$elm$.nextSibling),d=t[++a],g=r[--h];else if(e4(p,f))"slot"!==d.$tag$&&"slot"!==g.$tag$||eJ(p.$elm$.parentNode,!1),e6(p,f),e.insertBefore(p.$elm$,d.$elm$),p=t[--c],f=r[++s];else{l=-1;for(u=a;u<=c;++u)if(t[u]&&null!==t[u].$key$&&t[u].$key$===f.$key$){l=u;break}l>=0?(o=t[l]).$tag$!==f.$tag$?i=eX(t&&t[s],n,l,e):(e6(o,f),t[l]=void 0,i=o.$elm$):i=eX(t&&t[s],n,s,e),f=r[++s],i&&e5(d.$elm$).insertBefore(i,e3(d.$elm$))}a>c?e0(e,null==r[h+1]?null:r[h+1].$elm$,n,r,s,h):s>h&&e1(t,a,c)},e4=function(e,t){return e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$)},e3=function(e){return e&&e["s-ol"]||e},e5=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},e6=function(e,t){var n,r=t.$elm$=e.$elm$,i=e.$children$,o=t.$children$,a=t.$tag$,s=t.$text$;null!==s?(n=r["s-cr"])?n.parentNode.textContent=s:e.$text$===s||(r.data=s):(eb="svg"===a||"foreignObject"!==a&&eb,"slot"!==a&&eK(e,t,eb),null!==i&&null!==o?e2(r,i,t,o):null!==o?(null===e.$text$||(r.textContent=""),e0(r,null,t,o,0,o.length-1)):null===i||e1(i,0,i.length-1),eb&&"svg"===a&&(eb=!1))},e8=function(e){var t,n,r,i,o,a,s=e.childNodes;for(n=0,r=s.length;n<r;n++)if(1===(t=s[n]).nodeType){if(t["s-sr"]){for(o=t["s-sn"],t.hidden=!1,i=0;i<r;i++)if(a=s[i].nodeType,s[i]["s-hn"]!==t["s-hn"]||""!==o){if(1===a&&o===s[i].getAttribute("slot")){t.hidden=!0;break}}else if(1===a||3===a&&""!==s[i].textContent.trim()){t.hidden=!0;break}}e8(t)}},e9=[],e7=function(e){for(var t,n,r,i,o,a,s=0,l=e.childNodes,u=l.length;s<u;s++){if((t=l[s])["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=t["s-sn"],a=r.length-1;a>=0;a--)(n=r[a])["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(te(n,i)?(o=e9.find(function(e){return e.$nodeToRelocate$===n}),e_=!0,n["s-sn"]=n["s-sn"]||i,o?o.$slotRefNode$=t:e9.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&e9.map(function(e){te(e.$nodeToRelocate$,n["s-sn"])&&(o=e9.find(function(e){return e.$nodeToRelocate$===n}))&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$)})):e9.some(function(e){return e.$nodeToRelocate$===n})||e9.push({$nodeToRelocate$:n}));1===t.nodeType&&e7(t)}},te=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},tn=function(e){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(tn)},tr=function(e,t){var n,r,i,o,a,s,l=e.$hostElement$,u=e.$cmpMeta$,c=e.$vnode$||eC(null,null),d=eD(t)?t:eE(null,null,t);ep=l.tagName;u.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},u.$attrsToReflect$.map(function(e){var t=eu(e,2),n=t[0],r=t[1];return d.$attrs$[r]=l[n]})),d.$tag$=null,d.$flags$|=4,e.$vnode$=d,d.$elm$=c.$elm$=(0,l.shadowRoot||l),ec=l["s-sc"],ed=l["s-cr"],em=tH&&!!(1&u.$flags$),e_=!1,e6(c,d);if(tZ.$flags$|=1,ev){e7(d.$elm$);for(var p=0;p<e9.length;p++)(r=(n=e9[p]).$nodeToRelocate$)["s-ol"]||((i=tq.createTextNode(""))["s-nr"]=r,r.parentNode.insertBefore(r["s-ol"]=i,r));for(p=0;p<e9.length;p++)if(r=(n=e9[p]).$nodeToRelocate$,n.$slotRefNode$){for(o=n.$slotRefNode$.parentNode,a=n.$slotRefNode$.nextSibling,i=r["s-ol"];i=i.previousSibling;)if((s=i["s-nr"])&&s["s-sn"]===r["s-sn"]&&o===s.parentNode&&(!(s=s.nextSibling)||!s["s-nr"])){a=s;break}(a||o===r.parentNode)&&r.nextSibling===a||r===a||(!r["s-hn"]&&r["s-ol"]&&(r["s-hn"]=r["s-ol"].parentNode.nodeName),o.insertBefore(r,a))}else 1===r.nodeType&&(r.hidden=!0)}e_&&e8(d.$elm$),tZ.$flags$&=-2,e9.length=0},ti=function(e){return tq.createComment("<slot".concat(e.$name$?' name="'+e.$name$+'"':"","> (host=").concat(ep.toLowerCase(),")"))},to=function(e){return tq.createComment("org-location for "+(e.localName?"<".concat(e.localName,"> (host=").concat(e["s-hn"],")"):"[".concat(e.textContent,"]")))},ta=function(e,t){},ts=function(e,t){e.$flags$|=16;ta(e,e.$ancestorComponent$);var n=function(){return tl(e,t)};return t2(n)},tl=function(e,t){var n,r=e.$hostElement$,i=eS("scheduleUpdate",e.$cmpMeta$.$tagName$),o=r;return t?(tg(r,"componentWillLoad"),n=th(o,"componentWillLoad")):(tg(r,"componentWillUpdate"),n=th(o,"componentWillUpdate")),tg(r,"componentWillRender"),n=tf(n,function(){return th(o,"componentWillRender")}),i(),tf(n,function(){return tu(e,o,t)})},tu=(nz=eo(er().mark(function e(t,n,r){var i,o,a,s,l,u;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=t.$hostElement$,o=eS("update",t.$cmpMeta$.$tagName$),a=i["s-rc"],r&&eH(t),s=eS("render",t.$cmpMeta$.$tagName$);e.next=11;break;case 9:e.next=12;break;case 11:tc(t,n,i);case 12:var l;s(),o(),td(t);case 19:case"end":return e.stop()}},e)})),function(e,t,n){return nz.apply(this,arguments)}),tc=function(e,t,n){try{t=(0,t.render&&t.render()),e.$flags$&=-17,e.$flags$|=2;tr(e,t)}catch(t){tL(t,e.$hostElement$)}return null},td=function(e){var t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=eS("postUpdate",t),i=n,o=e.$ancestorComponent$;th(i,"componentDidRender"),tg(n,"componentDidRender"),64&e.$flags$?(th(i,"componentDidUpdate"),tg(n,"componentDidUpdate"),r()):(e.$flags$|=64,th(i,"componentDidLoad"),tg(n,"componentDidLoad"),r())},tp=function(e){tm(tq.documentElement),t1(function(){return eG(tG,"appload",{detail:{namespace:"app"}})})},th=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(e){tL(e)}},tf=function(e,t){return e&&e.then?e.then(t):t()},tg=function(e,t){},tm=function(e){return e.classList.add("hydrated")},t_=function(e){var t=e.children;if(null!=t)for(var n=0,r=t.length;n<r;n++){var i=t[n];"function"==typeof i.connectedCallback&&i.connectedCallback(),t_(i)}},tv=function(e,t,n,r){var i,o,a=tC(e),s=e,l=a.$instanceValues$.get(t),u=a.$flags$,c=s;i=n,o=r.$members$[t][0],n=null==i||eI(i)?i:4&o?"false"!==i&&(""===i||!!i):2&o?parseFloat(i):1&o?String(i):i;var d=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!d&&(a.$instanceValues$.set(t,n),!0)){if(0,r.$watchers$&&128&u){var p=r.$watchers$[t];p&&p.map(function(e){try{c[e](n,l,t)}catch(e){tL(e,s)}})}if(2==(18&u)){if(0,c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,l,t))return;ts(a,!1)}}},tb=function(e,t,n){if(0,t.$members$){0,e.watchers&&(t.$watchers$=e.watchers);var r=Object.entries(t.$members$),i=e.prototype;r.map(function(e){var n=eu(e,2),r=n[0],o=eu(n[1],1)[0];(31&o||32&o)&&Object.defineProperty(i,r,{get:function(){var e,t;return e=this,t=r,tC(e).$instanceValues$.get(t)},set:function(e){var n;tv(this,r,e,t)},configurable:!0,enumerable:!0})}),!0;var o=new Map;i.attributeChangedCallback=function(e,t,n){var r=this;tZ.jmp(function(){var t=o.get(e);if(r.hasOwnProperty(t))n=r[t],delete r[t];else if(i.hasOwnProperty(t)&&"number"==typeof r[t]&&r[t]==n)return;r[t]=(null!==n||"boolean"!=typeof r[t])&&n})},e.observedAttributes=r.filter(function(e){var t=eu(e,2);return t[0],15&t[1][0]}).map(function(e){var n=eu(e,2),r=n[0],i=n[1],a=i[1]||r;return o.set(a,r),512&i[0]&&t.$attrsToReflect$.push([r,a]),a})}return e},ty=(nF=eo(er().mark(function e(t,n,r,i,o){var a,s,l,u,c,d,p;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(32&n.$flags$){e.next=37;break}e.next=22;break;case 8:o=e.sent,a();case 10:e.next=12;break;case 12:o.isProxied||(r.$watchers$=o.watchers,tb(o,r,2),o.isProxied=!0),s=eS("createInstance",r.$tagName$),n.$flags$|=8;try{new o(n)}catch(e){tL(e)}n.$flags$&=-9,n.$flags$|=128,s(),tw(n.$lazyInstance$),e.next=25;break;case 22:o=t.constructor,n.$flags$|=32,customElements.whenDefined(r.$tagName$).then(function(){return n.$flags$|=128});case 25:if(!o.style||(l=o.style,"string"==typeof l||(l=l[n.$modeName$=ez(t)]),u=eV(r,n.$modeName$),tz.has(u))){e.next=37;break}c=eS("registerStyles",r.$tagName$);e.next=35;break;case 34:l=e.sent;case 35:eW(u,l,!!(1&r.$flags$)),c();case 37:d=n.$ancestorComponent$,p=function(){return ts(n,!0)},p();case 40:case"end":return e.stop()}},e)})),function(e,t,n,r,i){return nF.apply(this,arguments)}),tw=function(e){},tS=function(e){if(!(1&tZ.$flags$)){var t,n,r,i,o,a,s,l,u,c,d,p,h=tC(e),f=h.$cmpMeta$,g=eS("connectedCallback",f.$tagName$);if(1&h.$flags$)tk(e,h,f.$listeners$,!1),tw(h.$lazyInstance$);else{;h.$flags$|=1;p||!(12&f.$flags$)||tA(e);f.$members$&&Object.entries(f.$members$).map(function(t){var n=eu(t,2),r=n[0];if(31&eu(n[1],1)[0]&&e.hasOwnProperty(r)){var i=e[r];delete e[r],e[r]=i}}),ty(e,h,f)}g()}},tA=function(e){var t=e["s-cr"]=tq.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},tT=function(e){if(!(1&tZ.$flags$)){var t=tC(e),n=e;0,t.$rmListeners$&&(t.$rmListeners$.map(function(e){return e()}),t.$rmListeners$=void 0)}},tx=function(e,t){var n={$flags$:t[0],$tagName$:t[1]};n.$members$=t[2],n.$listeners$=t[3],n.$watchers$=e.$watchers$,n.$attrsToReflect$=[],tH||!(1&n.$flags$)||(n.$flags$|=8);var r=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost:function(){tO(this,n)},connectedCallback:function(){tS(this),r&&r.call(this)},disconnectedCallback:function(){tT(this),i&&i.call(this)},__attachShadow:function(){tH?this.attachShadow({mode:"open",delegatesFocus:!!(16&n.$flags$)}):this.shadowRoot=this}}),e.is=n.$tagName$,tb(e,n,3)},tk=function(e,t,n,r){n&&n.map(function(n){var r=eu(n,3),i=r[0],o=r[1],a=r[2],s=tP(e,i),l=tM(t,a),u=tI(i);tZ.ael(s,o,l,u),(t.$rmListeners$=t.$rmListeners$||[]).push(function(){return tZ.rel(s,o,l,u)})})},tM=function(e,t){return function(n){try{e.$hostElement$[t](n)}catch(e){tL(e)}}},tP=function(e,t){return 4&t?tq:8&t?tG:16&t?tq.body:e},tI=function(e){return tV?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e)},tE=new WeakMap,tC=function(e){return tE.get(e)},tO=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return tk(e,n,t.$listeners$,!1),tE.set(e,n)},tD=function(e,t){return t in e},tL=function(e,t){return(eh||console.error)(e,t)},tB=["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],tN=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).error.apply(e,tB.concat(n))},tR=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).warn.apply(e,tB.concat(n))},tj=new Map,tU=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_"),i=e.$lazyBundleId$,o=tj.get(i);return o?o[r]:p(619)("./".concat(i,".entry.js").concat("")).then(function(e){return tj.set(i,e),e[r]},tL)},tz=new Map,tF=[],tG="undefined"!=typeof window?window:{},tq=tG.document||{head:{}},tW=tG.HTMLElement||$(function e(){Q(this,e)}),tZ={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}},tH=true,tV=function(){var e=!1;try{tq.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(e){}return e}(),tQ=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1}(),tY=[],t$=[],tK=[],tX=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){tL(e)}e.length=0},tJ=function(e,t){for(var n=0,r=0;n<e.length&&(r=performance.now())<t;)try{e[n++](r)}catch(e){tL(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},t0=function(){var e;tX(tY);tX(t$),(ew=tY.length>0)&&tZ.raf(t0)},t1=function(e){var t;return Promise.resolve(void 0).then(e)},t2=(nG=t$,nq=!0,function(e){nG.push(e),ew||(ew=!0,nq&&4&tZ.$flags$?t1(t0):tZ.raf(t0))});var t4=(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!==j(e))return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var o in e)t.call(e,o)&&e[o]&&(i=r(i,o));return i}(o)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(nZ={path:void 0,exports:{},require:function(e,t){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},nZ.exports),nZ.exports),t3=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.onSubmit=eF(e,"tarobuttonsubmit",7),e.onReset=eF(e,"tarobuttonreset",7),e.disabled=void 0,e.hoverClass="button-hover",e.type="",e.hoverStartTime=20,e.hoverStayTime=70,e.size=void 0,e.plain=void 0,e.loading=!1,e.formType=null,e.hover=!1,e.touch=!1,e}return en(t,e),$(t,[{key:"onClick",value:function(e){this.disabled&&e.stopPropagation()}},{key:"onTouchStart",value:function(){var e=this;this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout(function(){e.touch&&(e.hover=!0)},this.hoverStartTime))}},{key:"onTouchEnd",value:function(){var e=this;this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout(function(){e.touch||(e.hover=!1)},this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}},{key:"render",value:function(){var e=this.disabled,t=this.hoverClass,n=this.type,r=this.size,i=this.plain,o=this.loading,a=this.hover;return eE(eO,{class:t4(z({},"".concat(t),a&&!e)),type:n,plain:i,loading:o,size:r,disabled:e},o&&eE("i",{class:"weui-loading"}),eE("slot",null))}},{key:"el",get:function(){return this}}],[{key:"style",get:function(){return".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;-webkit-transform:scale(.5);transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}"}}])}(tW),[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[513,"form-type"],hover:[32],touch:[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]),t5=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.onLoad=eF(e,"load",7),e.onError=eF(e,"error",7),e.src=void 0,e.mode="scaleToFill",e.lazyLoad=!1,e.nativeProps={},e.aspectFillMode="width",e.didLoad=!1,e}return en(t,e),$(t,[{key:"componentDidLoad",value:function(){var e=this;if(this.lazyLoad){var t=new IntersectionObserver(function(n){n[n.length-1].isIntersecting&&(t.unobserve(e.imgRef),e.didLoad=!0)},{rootMargin:"300px 0px"});t.observe(this.imgRef)}}},{key:"imageOnLoad",value:function(){var e=this.imgRef,t=e.width,n=e.height,r=e.naturalWidth,i=e.naturalHeight;this.onLoad.emit({width:t,height:n}),this.aspectFillMode=r>i?"width":"height"}},{key:"imageOnError",value:function(e){this.onError.emit(e)}},{key:"render",value:function(){var e=this,t=this.src,n=this.lazyLoad,r=this.aspectFillMode,i=this.imageOnLoad,o=this.imageOnError,a=this.nativeProps,s=this.didLoad,l=this.mode||"scaleToFill",u=t4({"taro-img__widthfix":"widthFix"===l}),c=t4("taro-img__mode-".concat(l.toLowerCase().replace(/\s/g,"")),z({},"taro-img__mode-aspectfill--".concat(void 0===r?"width":r),"aspectFill"===l));return eE(eO,{class:u},t?eE("img",Object.assign({ref:function(t){return e.imgRef=t},class:c,src:void 0!==n&&n&&!s?void 0:t,onLoad:i.bind(this),onError:o.bind(this)},a)):"")}}],[{key:"style",get:function(){return'img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}'}}])}(tW),[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32],didLoad:[32]}]);function t6(e,t,n){if("search"===t&&(e="search"),n&&(e="password"),void 0===e)return"text";if(!e)throw Error("unexpected type");return"digit"===e&&(e="number"),e}function t8(e){return null!=e?e:""}var t9=tx(function(e){var t;function n(){var e;return Q(this,n),(e=ee(this,n)).__registerHost(),e.onInput=eF(e,"input",7),e.onPaste=eF(e,"paste",7),e.onFocus=eF(e,"focus",7),e.onBlur=eF(e,"blur",7),e.onConfirm=eF(e,"confirm",7),e.onChange=eF(e,"change",7),e.onKeyDown=eF(e,"keydown",7),e.isOnComposition=!1,e.isOnPaste=!1,e.onInputExcuted=!1,e.handleInput=function(t){t.stopPropagation();var n=e.type,r=e.maxlength,i=e.confirmType,o=e.password;if(!e.isOnComposition&&!e.onInputExcuted){var a=t.target.value,s=t6(n,i,o);e.onInputExcuted=!0,"number"===s&&a&&r>-1&&r<=a.length&&(a=a.substring(0,r),t.target.value=a),e.value=a,e.onInput.emit({value:a,cursor:a.length}),e.onInputExcuted=!1}},e.handlePaste=function(t){t.stopPropagation(),e.isOnPaste=!0,e.onPaste.emit({value:t.target.value})},e.handleFocus=function(t){t.stopPropagation(),e.onInputExcuted=!1,e.onFocus.emit({value:t.target.value})},e.handleBlur=function(t){t.stopPropagation(),e.onBlur.emit({value:t.target.value})},e.handleChange=function(t){t.stopPropagation(),e.onChange.emit({value:t.target.value}),e.isOnPaste&&(e.isOnPaste=!1,e.value=t.target.value,e.onInput.emit({value:t.target.value,cursor:t.target.value.length}))},e.handleKeyDown=function(t){t.stopPropagation();var n=t.target.value,r=t.keyCode||t.code;e.onInputExcuted=!1,e.onKeyDown.emit({value:n,cursor:n.length,keyCode:r}),13===r&&e.onConfirm.emit({value:n})},e.handleComposition=function(t){t.stopPropagation(),t.target instanceof HTMLInputElement&&("compositionend"===t.type?(e.isOnComposition=!1,e.value=t.target.value,e.onInput.emit({value:t.target.value,cursor:t.target.value.length})):e.isOnComposition=!0)},e.handleBeforeInput=function(t){if(t.data){var n=t.data&&/[0-9]/.test(t.data);"number"!==e.type||n||t.preventDefault(),"digit"!==e.type||n||("."!==t.data||"."===t.data&&t.target.value.indexOf(".")>-1)&&t.preventDefault()}},e.value="",e.type=void 0,e.password=!1,e.placeholder=void 0,e.disabled=!1,e.maxlength=140,e.autoFocus=!1,e.confirmType="done",e.name=void 0,e.nativeProps={},e}return en(n,e),$(n,[{key:"focus",value:(t=eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.inputRef.focus();case 1:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"watchAutoFocus",value:function(e,t){var n;!t&&e&&(null===(n=this.inputRef)||void 0===n||n.focus())}},{key:"watchValue",value:function(e){var t=t8(e);this.inputRef.value!==t&&(this.inputRef.value=t)}},{key:"componentDidLoad",value:function(){var e,t,n,r,i,o=this;"file"===this.type?(this.fileListener=function(){o.onInput.emit()},null===(e=this.inputRef)||void 0===e||e.addEventListener("change",this.fileListener)):(null===(t=this.inputRef)||void 0===t||t.addEventListener("compositionstart",this.handleComposition),null===(n=this.inputRef)||void 0===n||n.addEventListener("compositionend",this.handleComposition),null===(r=this.inputRef)||void 0===r||r.addEventListener("beforeinput",this.handleBeforeInput),null===(i=this.inputRef)||void 0===i||i.addEventListener("textInput",this.handleBeforeInput))}},{key:"disconnectedCallback",value:function(){var e,t,n,r,i;"file"===this.type?null===(e=this.inputRef)||void 0===e||e.removeEventListener("change",this.fileListener):(null===(t=this.inputRef)||void 0===t||t.removeEventListener("compositionstart",this.handleComposition),null===(n=this.inputRef)||void 0===n||n.removeEventListener("compositionend",this.handleComposition),null===(r=this.inputRef)||void 0===r||r.removeEventListener("beforeinput",this.handleBeforeInput),null===(i=this.inputRef)||void 0===i||i.removeEventListener("textInput",this.handleBeforeInput))}},{key:"render",value:function(){var e=this,t=this.value,n=this.type,r=this.password,i=this.placeholder,o=this.autoFocus,a=this.disabled,s=this.maxlength,l=this.confirmType,u=this.name,c=this.nativeProps;return eE("input",Object.assign({ref:function(t){e.inputRef=t,o&&t&&t.focus()},class:"weui-input",type:t6(n,l,r),placeholder:i,autoFocus:o,disabled:a,maxlength:s,name:u,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},c,{value:t8(t)}))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}},{key:"style",get:function(){return".weui-input{-webkit-appearance:none;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;width:100%;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}"}}])}(tW),[0,"taro-input-core",{value:[1025],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16],focus:[64]}]),t7=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.renderNode=function(t){if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g,"\xa0");if("name"in t&&t.name){var n=t.name,r=t.attrs,i=t.children,o={},a=[];if(r&&"object"===j(r))for(var s in r)(function(){var e=r[s];if("style"===s&&"string"==typeof e){var t=e.split(";").map(function(e){return e.trim()}).filter(function(e){return e}),n={};return t.forEach(function(e){if(e){var t=/(.+): *(.+)/g.exec(e);if(t){var r=eu(t,3),i=r[1],o=r[2];n[i.replace(/-([a-z])/g,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})]=o}}}),Object.keys(n).length&&(o.style=n)}o[s]=e})();return i&&i.length&&(a=i.map(function(t){return e.renderNode(t)})),eE(n,o,a)}return null},e.nodes=void 0,e.selectable=!1,e.userSelect=!1,e.space=void 0,e}return en(t,e),$(t,[{key:"render",value:function(){var e=this.nodes,t=this.renderNode;return Array.isArray(e)?eE(eO,null,e.map(function(e){return t(e)})):eE(eO,{innerHTML:e})}}],[{key:"style",get:function(){return"taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}"}}])}(tW),[0,"taro-rich-text-core",{nodes:[1],selectable:[1028],userSelect:[1028,"user-select"],space:[1]}]);function ne(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2?arguments[2]:void 0;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=r||this;clearTimeout(t),t=setTimeout(function(){e.apply(s,o)},n)}}function nt(e){var t;null===(t=null==e?void 0:e.childNodes)||void 0===t||t.forEach(function(e){e.nodeType===document.COMMENT_NODE&&e["s-cn"]&&(e["s-cn"]=!1),e.nodeType!==document.COMMENT_NODE&&e["s-sr"]&&(e["s-sr"]=!1)})}function nn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3?arguments[3]:void 0;if(e!==t&&"number"==typeof e){var i=t-e,o=Date.now(),a=t>=e;!function s(){e=i*(Date.now()-o)/n+e,a&&e>=t||!a&&t>=e?r(t):(r(e),requestAnimationFrame(s))}()}}var nr=tx(function(e){var t,n;function r(){var e;return Q(this,r),(e=ee(this,r)).__registerHost(),e.onScroll=eF(e,"scroll",3),e.onScrollToUpper=eF(e,"scrolltoupper",3),e.onScrollToLower=eF(e,"scrolltolower",3),e._scrollLeft=0,e._scrollTop=0,e.upperAndLower=ne(function(){var t=e.el,n=t.offsetWidth,r=t.offsetHeight,i=t.scrollLeft,o=t.scrollTop,a=t.scrollHeight,s=t.scrollWidth,l=Number(e.lowerThreshold),u=Number(e.upperThreshold);!isNaN(l)&&(e.scrollY&&r+o+l>=a||e.scrollX&&n+i+l>=s)&&e.onScrollToLower.emit({direction:e.scrollX?"right":e.scrollY?"bottom":""}),!isNaN(u)&&(e.scrollY&&o<=u||e.scrollX&&i<=u)&&e.onScrollToUpper.emit({direction:e.scrollX?"left":e.scrollY?"top":""})},200),e.scrollX=!1,e.scrollY=!1,e.upperThreshold=50,e.lowerThreshold=50,e.mpScrollTop=void 0,e.mpScrollLeft=void 0,e.mpScrollIntoView=void 0,e.mpScrollIntoViewAlignment=void 0,e.animated=!1,e}return en(r,e),$(r,[{key:"watchScrollLeft",value:function(e){var t=Number(e),n=this.animated;this.mpScrollToMethod({left:t,animated:n})}},{key:"watchScrollTop",value:function(e){var t=Number(e),n=this.animated;this.mpScrollToMethod({top:t,animated:n})}},{key:"watchScrollIntoView",value:function(e){this.mpScrollIntoViewMethod(e)}},{key:"handleScroll",value:function(e){var t;if(!(e instanceof CustomEvent)){e.stopPropagation(),null===(t=e.stopImmediatePropagation)||void 0===t||t.call(e);var n=this.el,r=n.scrollLeft,i=n.scrollTop,o=n.scrollHeight,a=n.scrollWidth;this._scrollLeft=r,this._scrollTop=i,this.upperAndLower(),this.onScroll.emit({scrollLeft:r,scrollTop:i,scrollHeight:o,scrollWidth:a})}}},{key:"handleTouchMove",value:function(e){e instanceof CustomEvent||e.stopPropagation()}},{key:"mpScrollToMethod",value:(n=eo(er().mark(function e(t){var n,r,i,o,a,s=this;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.top,r=t.left,i=t.duration,a=void 0!==(o=t.animated)&&o,this.scrollY&&"number"==typeof n&&!isNaN(n)&&n!==this._scrollTop&&(a?nn(this._scrollTop,n,i,function(e){return s.el.scrollTop=e}):this.el.scrollTop=n,this._scrollTop=n),this.scrollX&&"number"==typeof r&&!isNaN(r)&&r!==this._scrollLeft&&(a?nn(this._scrollLeft,r,i,function(e){return s.el.scrollLeft=e}):this.el.scrollLeft=r,this._scrollLeft=r);case 3:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"mpScrollIntoViewMethod",value:(t=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:"string"==typeof t&&t&&(null===(n=document.querySelector("#".concat(t)))||void 0===n||n.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY&&this.mpScrollIntoViewAlignment||"center",inline:this.scrollX&&this.mpScrollIntoViewAlignment||"start"}));case 1:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"componentDidLoad",value:function(){var e=Number(this.mpScrollTop),t=Number(this.mpScrollLeft),n=this.animated;this.mpScrollToMethod({top:e,left:t,animated:n})}},{key:"componentDidRender",value:function(){nt(this.el)}},{key:"render",value:function(){return eE(eO,{class:t4({"taro-scroll-view__scroll-x":this.scrollX,"taro-scroll-view__scroll-y":this.scrollY})},eE("slot",null))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}},{key:"style",get:function(){return"taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}"}}])}(tW),[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[520,"scroll-top"],mpScrollLeft:[520,"scroll-left"],mpScrollIntoView:[513,"scroll-into-view"],mpScrollIntoViewAlignment:[1,"scroll-into-view-alignment"],animated:[4,"scroll-with-animation"],mpScrollToMethod:[64],mpScrollIntoViewMethod:[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]),ni=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.selectable=!1,e.userSelect=!1,e.space=void 0,e.numberOfLines=void 0,e}return en(t,e),$(t,[{key:"render",value:function(){var e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),eE(eO,{style:e},eE("slot",null))}}],[{key:"style",get:function(){return"taro-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}"}}])}(tW),[4,"taro-text-core",{selectable:[1028],userSelect:[1028,"user-select"],space:[1025],numberOfLines:[2,"number-of-lines"]}]);function no(e){return null!=e?e:""}var na=tx(function(e){var t;function n(){var e;return Q(this,n),(e=ee(this,n)).__registerHost(),e.onInput=eF(e,"input",7),e.onFocus=eF(e,"focus",7),e.onBlur=eF(e,"blur",7),e.onConfirm=eF(e,"confirm",7),e.onChange=eF(e,"change",7),e.onLineChange=eF(e,"linechange",7),e.onKeyDown=eF(e,"keydown",7),e.handleInput=function(t){t.stopPropagation(),e.handleLineChange();var n=t.target.value||"";e.value=n,e.onInput.emit({value:n,cursor:n.length})},e.handleFocus=function(t){t.stopPropagation(),e.onFocus.emit({value:t.target.value})},e.handleBlur=function(t){t.stopPropagation(),e.onBlur.emit({value:t.target.value})},e.handleChange=function(t){t.stopPropagation(),e.onChange.emit({value:t.target.value})},e.handleLineChange=function(){var t=e.getNumberOfLines();t!==e.line&&(e.line=t,e.onLineChange.emit({height:e.textareaRef.clientHeight,lineCount:e.line}))},e.handleKeyDown=function(t){t.stopPropagation();var n=t.target.value,r=t.keyCode||t.code;e.onKeyDown.emit({value:n,cursor:n.length,keyCode:r}),13===r&&e.onConfirm.emit({value:n})},e.calculateContentHeight=function(e,t){var n=e.style.height,r=e.offsetHeight,i=e.scrollHeight,o=e.style.overflow,a=e.style.minHeight||null;if(!(r>=i))return i;if(e.style.minHeight=0,e.style.height=r+t+"px",e.style.overflow="hidden",i<e.scrollHeight){for(;e.offsetHeight>=e.scrollHeight;)e.style.height=(r-=t)+"px";for(;e.offsetHeight<e.scrollHeight;)e.style.height=r+++"px";return e.style.height=n,e.style.overflow=o,e.style.minHeight=a,r}},e.getNumberOfLines=function(){var t=e.textareaRef,n=parseInt((window.getComputedStyle?window.getComputedStyle(t):t.style).lineHeight,10);return Math.floor(e.calculateContentHeight(t,n)/n)},e.value="",e.placeholder=void 0,e.disabled=!1,e.maxlength=140,e.autoFocus=!1,e.autoHeight=!1,e.name=void 0,e.nativeProps={},e.line=1,e}return en(n,e),$(n,[{key:"watchAutoFocus",value:function(e,t){var n;!t&&e&&(null===(n=this.textareaRef)||void 0===n||n.focus())}},{key:"watchValue",value:function(e){var t=no(e);this.textareaRef.value!==t&&(this.textareaRef.value=t)}},{key:"focus",value:(t=eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.textareaRef.focus();case 1:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this,t=this.value,n=this.placeholder,r=this.disabled,i=this.maxlength,o=this.autoFocus,a=this.autoHeight,s=this.name,l=this.nativeProps,u=this.handleInput,c=this.handleFocus,d=this.handleBlur,p=this.handleChange,h={};return a&&(h.rows=this.line),eE("textarea",Object.assign({ref:function(t){t&&(e.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea ".concat(a?"auto-height":""),value:no(t),placeholder:n,name:s,disabled:r,maxlength:i,autofocus:o,onInput:u,onFocus:c,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},l,h))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}},{key:"style",get:function(){return"taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}"}}])}(tW),[0,"taro-textarea-core",{value:[1025],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32],focus:[64]}]),ns=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.onLongPress=eF(e,"longpress",7),e.startTime=0,e.animation=void 0,e.hoverClass=void 0,e.hoverStartTime=50,e.hoverStayTime=400,e.hover=!1,e.touch=!1,e}return en(t,e),$(t,[{key:"onTouchStart",value:function(){var e=this;this.hoverClass&&(this.touch=!0,setTimeout(function(){e.touch&&(e.hover=!0)},this.hoverStartTime)),this.timeoutEvent=setTimeout(function(){e.onLongPress.emit()},350),this.startTime=Date.now()}},{key:"onTouchMove",value:function(){clearTimeout(this.timeoutEvent)}},{key:"onTouchEnd",value:function(){var e=this;Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout(function(){e.touch||(e.hover=!1)},this.hoverStayTime))}},{key:"componentDidRender",value:function(){nt(this.el)}},{key:"render",value:function(){var e=t4(z({},"".concat(this.hoverClass),this.hover)),t={};return this.animation&&(t.animation=this.animation,t["data-animation"]=this.animation),eE(eO,Object.assign({class:e},t),eE("slot",null))}},{key:"el",get:function(){return this}}],[{key:"style",get:function(){return"taro-view-core{display:block}"}}])}(tW),[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]);"function"==typeof SuppressedError&&SuppressedError;var nl=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){var n,r;n=t,r=e,"function"==typeof n?n(r):null!=n&&(n.current=r)})}},nu=function(e){return e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())})},nc=p(33),nd=function(e){var t=new Map;return e.forEach(function(e){return t.set(e,e)}),t};function np(e){return e.tagName.replace(/^TARO-/,"").replace(/-CORE$/,"")}function nh(e){var t=np(e);return["INPUT","TEXTAREA","SLIDER","PICKER"].includes(t)?"value":"SWITCH"===t?"checked":null}var nf=function(e,t,n){var r=e.__events||(e.__events={}),i=r[t];if(n){if(i){if(i.fn===n)return;e.removeEventListener(t,i)}var o=r[t]=function(t){var r=this;(0,nc.unstable_batchedUpdates)(function(){return n.call(r,t)}),function(e){var t=nh(e);if(t){(0,nc.flushSync)(function(){});var n,r,i=(r=Object.keys(n=e).find(function(e){return e.includes("__reactProps")}))?n[r]:null;(null==i?void 0:i.hasOwnProperty(t))&&i[t]!==e[t]&&(e[t]=i[t],e.setAttribute(t,i[t]))}}(e)};o.fn=n,e.addEventListener(t,o)}else i&&e.removeEventListener(t,i)},ng=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Element){Object.keys(n).forEach(function(n){!["style","children","ref","class","className","forwardedRef"].includes(n)&&!t.hasOwnProperty(n)&&(/^on([A-Z].*)/.test(n)?nf(e,n.substring(2).toLowerCase()):(e[n]=null,e.removeAttribute(nu(n))))}),e.className=(r=e.classList,i=t,o=n,a=i.className||i.class,s=o.className||o.class,l=nd(r),u=nd(a?a.split(" "):[]),c=nd(s?s.split(" "):[]),d=[],l.forEach(function(e){u.has(e)?(d.push(e),u.delete(e)):c.has(e)||d.push(e)}),u.forEach(function(e){return d.push(e)}),d.join(" ")),Object.keys(t).forEach(function(n){!("style"===n&&"string"!=typeof t[n]||["children","ref","class","className","forwardedRef"].includes(n))&&(/^on([A-Z].*)/.test(n)?nf(e,n.substring(2).toLowerCase(),t[n]):(e[n]=t[n],"string"===j(t[n])&&e.setAttribute(nu(n),t[n])))});var r,i,o,a,s,l,u,c,d,p=nh(e);if(p&&t.hasOwnProperty(p)){var h=["INPUT","TEXTAREA"].includes(np(e))?"input":"change";e.__events||(e.__events={}),e.__events.hasOwnProperty(h)||nf(e,h,function(){})}}};var nm=function(e,t,n,r){void 0!==r&&r();var i,o,a,s=e.toLowerCase().split("-").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(""),l=function(t){function r(e){var t;return Q(this,r),(t=ee(this,r,[e])).setComponentElRef=function(e){t.componentEl=e},t}return en(r,t),$(r,[{key:"componentDidMount",value:function(){(function(e,t){var n=nh(e);if(n){var r="default"+n.charAt(0).toUpperCase()+n.slice(1);!t.hasOwnProperty(n)&&t.hasOwnProperty(r)&&(e[n]=t[r],e.setAttribute(n,t[r]))}})(this.componentEl,this.props),this.componentDidUpdate(this.props)}},{key:"componentDidUpdate",value:function(e){ng(this.componentEl,this.props,e)}},{key:"render",value:function(){var t=this.props,r=t.children,i=t.forwardedRef,o=(t.className,t.ref,t.style,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["children","forwardedRef","className","ref","style"])),a=Object.keys(o).reduce(function(e,t){var n=o[t];return 0===t.indexOf("on")&&t[2]===t[2].toUpperCase()?t.substring(2).toLowerCase():["string","boolean","number"].includes(j(n))&&(e[nu(t)]=n),e},{});n&&(a=n(this.props,a));var s=Object.assign(Object.assign({},a),{ref:nl(i,this.setComponentElRef)});return(0,Z.createElement)(e,s,r)}}],[{key:"displayName",get:function(){return s}}])}(H().Component);return t&&(l.contextType=t),i=l,o=s,(a=function(e,t){return H().createElement(i,Object.assign({},e,{forwardedRef:t}))}).displayName=o,H().forwardRef(a)},n_=nm("taro-button-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-button-core"].forEach(function(e){"taro-button-core"===e&&(customElements.get(e)||customElements.define(e,t3))})}),nv=nm("taro-image-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-image-core"].forEach(function(e){"taro-image-core"===e&&(customElements.get(e)||customElements.define(e,t5))})}),nb=nm("taro-input-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-input-core"].forEach(function(e){"taro-input-core"===e&&(customElements.get(e)||customElements.define(e,t9))})}),ny=nm("taro-rich-text-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-rich-text-core"].forEach(function(e){"taro-rich-text-core"===e&&(customElements.get(e)||customElements.define(e,t7))})}),nw=nm("taro-scroll-view-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-scroll-view-core"].forEach(function(e){"taro-scroll-view-core"===e&&(customElements.get(e)||customElements.define(e,nr))})}),nS=nm("taro-text-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-text-core"].forEach(function(e){"taro-text-core"===e&&(customElements.get(e)||customElements.define(e,ni))})}),nA=nm("taro-textarea-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-textarea-core"].forEach(function(e){"taro-textarea-core"===e&&(customElements.get(e)||customElements.define(e,na))})}),nT=nm("taro-view-core",void 0,V,function(){"undefined"!=typeof customElements&&["taro-view-core"].forEach(function(e){"taro-view-core"===e&&(customElements.get(e)||customElements.define(e,ns))})}),nx=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("object"===j(e))return e;try{return JSON.parse(String(e))}catch(e){return t}},nk=((nH={}).Bot="bot",nH.App="App",nH),nM=((nV={}).FrameClick="frame-click",nV.ChatToastShow="chat-toast-show",nV.KeyDown="key-down-event",nV.KeyUp="key-up-event",nV.TriggerFocus="trigger-focus",nV.FrameFocus="frame-focus",nV.FrameBlur="frame-blur",nV.ChatModalShow="chat-modal-show",nV.ChatSlotToBottom="chat-slot-to-bottom",nV.ChatSlotScrollToAnchorBottom="chat-slot-scroll-to-anchor-bottom",nV.ChatSlotRemoveAnchorBottom="chat-slot-remove-anchor-bottom",nV),nP=((nQ={}).IMAGE="image",nQ.PDF="pdf",nQ.DOCX="docx",nQ.EXCEL="excel",nQ.CSV="csv",nQ.AUDIO="audio",nQ.VIDEO="video",nQ.TXT="txt",nQ.PPT="ppt",nQ.ZIP="zip",nQ.CODE="code",nQ.DEFAULT_UNKNOWN="default_unknown",nQ),nI=(p(443),p(554),p(471),p(989),(nY={}).ReceiveMessage="receiveMessage",nY.ReceiveComplete="receiveComplete",nY.RequireAction="RequireAction",nY.Close="close",nY),nE=((n$={}).TEXT="text",n$.FILE="file",n$.AUDIO="audio",n$),nC=((nK={}).EN="en",nK.ZH_CN="zh-CN",nK),nO=[{fileType:nP.IMAGE,accept:[".jpg",".jpeg",".png",".gif",".bmp",".webp"],typeStart:"image/"},{fileType:nP.AUDIO,accept:[".mp3",".wav",".aac",".flac",".ogg",".wma",".alac",".mid",".midi",".ac3",".dsd"],typeStart:"audio/"},{fileType:nP.PDF,accept:[".pdf"]},{fileType:nP.DOCX,accept:[".docx",".doc"]},{fileType:nP.EXCEL,accept:[".xls",".xlsx"]},{fileType:nP.CSV,accept:[".csv"]},{fileType:nP.CODE,accept:[".py",".java",".c",".cpp",".js",".html",".css"]},{fileType:nP.VIDEO,accept:[".mp4",".avi",".mov",".wmv",".flv",".mkv"],typeStart:"audio/"},{fileType:nP.TXT,accept:[".txt"]},{fileType:nP.PPT,accept:[".ppt",".pptx"]}],nD=function(e){var t=e.type,n=e.name,r=nO.find(function(e){var r=e.accept,i=e.typeStart;return i?t.startsWith(i):r?r.some(function(e){return n.endsWith(e)}):void 0});return r?r.fileType:nP.DEFAULT_UNKNOWN},nL=Date.now()+Math.ceil(1e5*Math.random()),nB=function(){return"".concat(nL++)},nN={app:null,router:null,page:null},nR={window:window,document:document},nj=function(){function e(t){var n;Q(this,e),this.callbacks=null!==(n=null==t?void 0:t.callbacks)&&void 0!==n?n:{}}return $(e,[{key:"on",value:function(t,n,r){var i,o,a;if(!n)return this;a="symbol"===j(t)?[t]:t.split(e.eventSplitter),this.callbacks||(this.callbacks={});for(var s=this.callbacks;i=a.shift();){var l=s[i],u=l?l.tail:{};u.next=o={},u.context=r,u.callback=n,s[i]={tail:o,next:l?l.next:u}}return this}},{key:"once",value:function(e,t,n){var r=this,i=function(){for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];t.apply(r,a),r.off(e,i,n)};return this.on(e,i,n),this}},{key:"off",value:function(t,n,r){var i,o,a;if(!(o=this.callbacks))return this;if(!(t||n||r))return delete this.callbacks,this;for(a="symbol"===j(t)?[t]:t?t.split(e.eventSplitter):Object.keys(o);i=a.shift();){var s=o[i];if(delete o[i],s&&(n||r))for(var l=s.tail;(s=s.next)!==l;){var u=s.callback,c=s.context;(n&&u!==n||r&&c!==r)&&this.on(i,u,c)}}return this}},{key:"trigger",value:function(t){var n,r,i,o;if(!(i=this.callbacks))return this;o="symbol"===j(t)?[t]:t.split(e.eventSplitter);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];for(;n=o.shift();)if(r=i[n])for(var u=r.tail;(r=r.next)!==u;)r.callback.apply(r.context||this,s);return this}}])}();function nU(e){return"function"==typeof e}nj.eventSplitter=",";var nz,nF,nG,nq,nW,nZ,nH,nV,nQ,nY,n$,nK,nX,nJ=Array.isArray;(iy=nX||(nX={}))[iy.SINGLE=0]="SINGLE",iy[iy.MULTI=1]="MULTI",iy[iy.WATERFALL=2]="WATERFALL";var n0={app:["onLaunch","onShow","onHide"],page:["onLoad","onUnload","onReady","onShow","onHide",["onPullDownRefresh","onReachBottom","onPageScroll","onResize","defer:onTabItemTap","onTitleClick","onOptionMenuClick","onPopMenuClick","onPullIntercept","onAddToFavorites"],["onShareAppMessage","onShareTimeline"]],component:["attached","detached"]};function n1(e,t){return{type:e,initial:t||null}}var n2=new(function(e){function t(e,n){var r;for(var i in Q(this,t),(r=ee(this,t,[n])).hooks=e,e){var o=e[i].initial;nU(o)&&r.on(i,o)}return r}return en(t,e),$(t,[{key:"tapOneOrMany",value:function(e,t){var n=this;(nU(t)?[t]:t).forEach(function(t){return n.on(e,t)})}},{key:"tap",value:function(e,t){var n=this.hooks[e],r=n.type,i=n.initial;r===nX.SINGLE?(this.off(e),this.on(e,nU(t)?t:t[t.length-1])):(i&&this.off(e,i),this.tapOneOrMany(e,t))}},{key:"call",value:function(e){var t,n=this.hooks[e];if(n){var r=n.type,i=this.callbacks;if(i){var o=i[e];if(o){for(var a=o.tail,s=o.next,l=arguments.length,u=Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];for(var d,p=u;s!==a;)d=null===(t=s.callback)||void 0===t?void 0:t.apply(s.context||this,p),r===nX.WATERFALL&&(p=[d]),s=s.next;return d}}}}},{key:"isExist",value:function(e){var t;return!!(null===(t=this.callbacks)||void 0===t?void 0:t[e])}}])}(nj))({getMiniLifecycle:n1(nX.SINGLE,function(e){return e}),getMiniLifecycleImpl:n1(nX.SINGLE,function(){return this.call("getMiniLifecycle",n0)}),getLifecycle:n1(nX.SINGLE,function(e,t){return e[t]}),modifyRecursiveComponentConfig:n1(nX.SINGLE,function(e){return e}),getPathIndex:n1(nX.SINGLE,function(e){return"[".concat(e,"]")}),getEventCenter:n1(nX.SINGLE,function(e){return new e}),isBubbleEvents:n1(nX.SINGLE,function(e){return new Set(["touchstart","touchmove","touchcancel","touchend","touchforcechange","tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend"]).has(e)}),getSpecialNodes:n1(nX.SINGLE,function(){return["view","text","image"]}),onRemoveAttribute:n1(nX.SINGLE),batchedEventUpdates:n1(nX.SINGLE),mergePageInstance:n1(nX.SINGLE),modifyPageObject:n1(nX.SINGLE),createPullDownComponent:n1(nX.SINGLE),getDOMNode:n1(nX.SINGLE),modifyHydrateData:n1(nX.SINGLE),transferHydrateData:n1(nX.SINGLE),modifySetAttrPayload:n1(nX.SINGLE),modifyRmAttrPayload:n1(nX.SINGLE),onAddEvent:n1(nX.SINGLE),proxyToRaw:n1(nX.SINGLE,function(e){return e}),modifyMpEvent:n1(nX.MULTI),modifyMpEventImpl:n1(nX.SINGLE,function(e){try{this.call("modifyMpEvent",e)}catch(e){console.warn("[Taro modifyMpEvent hook Error]: "+(null==e?void 0:e.message))}}),injectNewStyleProperties:n1(nX.SINGLE),modifyTaroEvent:n1(nX.MULTI),dispatchTaroEvent:n1(nX.SINGLE,function(e,t){t.dispatchEvent(e)}),dispatchTaroEventFinish:n1(nX.MULTI),modifyTaroEventReturn:n1(nX.SINGLE,function(){}),modifyDispatchEvent:n1(nX.MULTI),initNativeApi:n1(nX.MULTI),patchElement:n1(nX.MULTI),modifyAddEventListener:n1(nX.SINGLE),modifyRemoveEventListener:n1(nX.SINGLE),getMemoryLevel:n1(nX.SINGLE)}),n4=n2.call("getEventCenter",nj),n3={WEAPP:"WEAPP",SWAN:"SWAN",ALIPAY:"ALIPAY",TT:"TT",QQ:"QQ",JD:"JD",WEB:"WEB",RN:"RN",HARMONY:"HARMONY",QUICKAPP:"QUICKAPP",HARMONYHYBRID:"HARMONYHYBRID"},n5=function(){function e(t,n,r){Q(this,e),this.index=r||0,this.requestParams=t||{},this.interceptors=n||[]}return $(e,[{key:"proceed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.requestParams=e,this.index>=this.interceptors.length)throw Error("chain 鍙傛暟閿欒, 璇峰嬁鐩存帴淇敼 request.chain");var t=this._getNextInterceptor()(this._getNextChain()),n=t.catch(function(e){return Promise.reject(e)});return Object.keys(t).forEach(function(e){return nU(t[e])&&(n[e]=t[e])}),n}},{key:"_getNextInterceptor",value:function(){return this.interceptors[this.index]}},{key:"_getNextChain",value:function(){return new e(this.requestParams,this.interceptors,this.index+1)}}])}(),n6=$(function e(t){Q(this,e),this.taroInterceptor=t,this.chain=new n5},[{key:"request",value:function(e){var t=this.chain,n=this.taroInterceptor;return t.interceptors=t.interceptors.filter(function(e){return e!==n}).concat(n),t.proceed(Object.assign({},e))}},{key:"addInterceptor",value:function(e){this.chain.interceptors.push(e)}},{key:"cleanInterceptors",value:function(){this.chain=new n5}}]);function n8(e){var t,n=e.requestParams,r=new Promise(function(r,i){var o=setTimeout(function(){clearTimeout(o),i(Error("缃戠粶閾炬帴瓒呮椂,璇风◢鍚庡啀璇曪紒"))},n&&n.timeout||6e4);(t=e.proceed(n)).then(function(e){o&&(clearTimeout(o),r(e))}).catch(function(e){o&&clearTimeout(o),i(e)})});return void 0!==t&&nU(t.abort)&&(r.abort=t.abort),r}function n9(e){var t=e.requestParams,n=t.method,r=t.data,i=t.url;console.log("http ".concat(n||"GET"," --\x3e ").concat(i," data: "),r);var o=e.proceed(t),a=o.then(function(e){return console.log("http <-- ".concat(i," result:"),e),e});return nU(o.abort)&&(a.abort=o.abort),a}var n7={640:1.17,750:1,828:.905};function re(e){return function(t){var n=t.designWidth,r=t.deviceRatio,i=t.baseFontSize,o=t.targetUnit,a=t.unitPrecision;e.config=e.config||{},e.config.designWidth=void 0===n?750:n,e.config.deviceRatio=void 0===r?n7:r,e.config.baseFontSize=void 0===i?20:i,e.config.targetUnit=void 0===o?"rpx":o,e.config.unitPrecision=void 0===a?5:a}}var rt={Behavior:function(e){return e},getEnv:function(){return n3.WEB},ENV_TYPE:n3,Link:n6,interceptors:S,Current:nN,getCurrentInstance:function(){return nN},options:{prerender:!0,debug:!1},nextTick:function(e,t){var n=Date.now(),r=nN.router,i=function(){setTimeout(function(){t?e.call(t):e()},1)};if(null===r)return i();var o=r.$taroPath;!function e(){var t,r,a,s=nR.document.getElementById(o);(null==s?void 0:s.pendingUpdate)?null!==(a=null===(r=null===(t=s.firstChild)||void 0===t?void 0:t.componentOnReady)||void 0===r?void 0:r.call(t).then(function(){i()}))&&void 0!==a||i():Date.now()-n>100?i():setTimeout(function(){return e()},20)}()},eventCenter:n4,Events:nj,getInitPxTransform:re,interceptorify:function(e){return new n6(function(t){return e(t.requestParams)})}};rt.initPxTransform=re(rt),rt.preload=(iw=nN,function(e,t){var n;iw.preloadData=null!==(n=e)&&"object"===j(n)?e:z({},e,t)}),rt.pxTransform=(iS=rt,function(e){var t=iS.config||{},n=t.baseFontSize,r=t.deviceRatio||n7,i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return nU(t.designWidth)?t.designWidth(e):t.designWidth||750}(e);if(!(i in r))throw Error("deviceRatio 閰嶇疆涓笉瀛樺湪 ".concat(i," 鐨勮缃紒"));var o=t.targetUnit||"rpx",a=t.unitPrecision||5,s=~~e,l=1/r[i];switch(o){case"rem":l*=2*n;break;case"px":l*=2}var u=s/l;return a>=0&&a<=100&&(u=Number(u.toFixed(a))),u+o});var rn=nR.window,rr=rn.location,ri=(rn.history,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/"===e.charAt(0)?e:"/"+e}),ro=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)||e===t}(e,t)?e:e.substring(t.length)},ra=$(function e(t){var n=t.name,r=t.success,i=t.fail,o=t.complete;Q(this,e),this.isHandlerError=!1,this.methodName=n,this.__success=r,this.__fail=i,this.__complete=o,this.isHandlerError=nU(this.__complete)||nU(this.__fail)},[{key:"success",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.errMsg||(e.errMsg="".concat(this.methodName,":ok")),nU(this.__success)&&this.__success(e),nU(this.__complete)&&this.__complete(e);var n=t.resolve;return(void 0===n?Promise.resolve.bind(Promise):n)(e)}},{key:"fail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.errMsg?e.errMsg="".concat(this.methodName,":fail ").concat(e.errMsg):e.errMsg="".concat(this.methodName,":fail"),nU(this.__fail)&&this.__fail(e),nU(this.__complete)&&this.__complete(e);var n=t.resolve,r=void 0===n?Promise.resolve.bind(Promise):n,i=t.reject,o=void 0===i?Promise.reject.bind(Promise):i;return this.isHandlerError?r(e):o(e)}}]),rs=$(function e(){var t=this;Q(this,e),this.callbacks=[],this.add=function(e){e&&t.callbacks.push(e)},this.remove=function(e){if(e){var n=-1;t.callbacks.forEach(function(t,r){t===e&&(n=r)}),n>-1&&t.callbacks.splice(n,1)}else t.callbacks=[]},this.count=function(){return t.callbacks.length},this.trigger=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.callbacks.forEach(function(e){if(nU(e))e.apply(void 0,n);else{var t=e.callback,r=e.ctx;nU(t)&&t.call.apply(t,[r].concat(n))}})},this.clear=function(){t.callbacks=[]}});function rl(e){return e&&"object"===j(e)?{flag:!0}:{flag:!1,msg:ru({correct:"Object",wrong:e})}}function ru(e){var t,n=e.name,r=void 0===n?"":n,i=e.para,o=e.correct,a=e.wrong,s=e.level,l=("string"!=typeof(t=null===a?"Null":j(a))||(t=t.replace(/^./,function(e){return e.toUpperCase()})),t);return"".concat(r?"".concat(r,":fail "):"","parameter ").concat(void 0===s?"error":s,": ").concat(i?"parameter.".concat(i):"parameter"," should be ").concat(o," instead of ").concat(l)}function rc(e){var t="";for(var n in e)t+="".concat(n,": ").concat(e[n],";");return t.indexOf("display: flex;")>=0&&(t+="display: -webkit-box;display: -webkit-flex;"),t=(t=t.replace(/transform:(.+?);/g,function(e,t){return"".concat(e,"-webkit-transform:").concat(t,";")})).replace(/flex-direction:(.+?);/g,function(e,t){return"".concat(e,"-webkit-flex-direction:").concat(t,";")})}function rd(e,t){e.style.webkitTransform=t,e.style.transform=t}function rp(e){return e?Object.keys(e).map(function(t){return"".concat(encodeURIComponent(t),"=").concat("object"===j(e[t])?encodeURIComponent(JSON.stringify(e[t])):encodeURIComponent(e[t]))}).join("&"):""}function rh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.success,r=t.fail,i=t.complete,o=new ra({name:e,success:n,fail:r,complete:i}),a="鏆傛椂涓嶆敮鎸 API",s=arguments.length,l=Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return rt.eventCenter.trigger("__taroNotSupport",{name:e,args:[t].concat(l),type:"method",category:"temporarily"}),console.warn(a),o.success({errMsg:a})}}function rf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.success,r=t.fail,i=t.complete,o=new ra({name:e,success:n,fail:r,complete:i}),a="涓嶆敮鎸 API",s=arguments.length,l=Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return rt.eventCenter.trigger("__taroNotSupport",{name:e,args:[t].concat(l),type:"method",category:"permanently"}),console.warn(a),o.success({errMsg:a})}}function rg(){var e,t,n,r,i,o,a=window.__taroAppConfig||{},s=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",t="hash"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hash")?rr.hash.slice(1).split("?")[0]:rr.pathname;return ri(ro(t,e))}(null===(e=a.router)||void 0===e?void 0:e.mode,null===(t=a.router)||void 0===t?void 0:t.basename),l=function(){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=ri(ro(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t)),o=(null===(e=Object.entries(n).find(function(e){return eu(e,1)[0]===i}))||void 0===e?void 0:e[1])||i;return r||("string"==typeof o?o:o[0])||t}(null===(r=null===(n=a.routes)||void 0===n?void 0:n[0])||void 0===r?void 0:r.path,null===(i=a.router)||void 0===i?void 0:i.basename,null===(o=a.router)||void 0===o?void 0:o.customRoutes,a.entryPagePath);return"".concat("/"===s?l:s,"?stamp=1")}function rm(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,es.A)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function r_(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var rv={top:"top",bottom:"bottom",middle:"middle",normal:"alphabetic",hanging:"hanging",alphabetic:"alphabetic",ideographic:"ideographic"},rb=$(function e(t,n){Q(this,e),this.actions=[],this.canvas=t,this.ctx=n},[{key:"ctx",get:function(){return this.__raw__||{}},set:function(e){this.__raw__=e}},{key:"emptyActions",value:function(){this.actions.length=0}},{key:"enqueueActions",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.actions.push({func:e,args:n})}},{key:"fillStyle",get:function(){return this.ctx.fillStyle},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.fillStyle=e})}},{key:"font",get:function(){return this.ctx.font},set:function(e){this.ctx.font=e}},{key:"globalAlpha",get:function(){return this.ctx.globalAlpha},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.globalAlpha=e})}},{key:"globalCompositeOperation",get:function(){return this.ctx.globalCompositeOperation},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.globalCompositeOperation=e})}},{key:"lineCap",get:function(){return this.ctx.lineCap},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.lineCap=e})}},{key:"lineDashOffset",get:function(){return this.ctx.lineDashOffset},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.lineDashOffset=e})}},{key:"lineJoin",get:function(){return this.ctx.lineJoin},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.lineJoin=e})}},{key:"lineWidth",get:function(){return this.ctx.lineWidth},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.lineWidth=e})}},{key:"miterLimit",get:function(){return this.ctx.miterLimit},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.miterLimit=e})}},{key:"shadowBlur",get:function(){return this.ctx.shadowBlur},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.shadowBlur=e})}},{key:"shadowColor",get:function(){return this.ctx.shadowColor},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.shadowColor=e})}},{key:"shadowOffsetX",get:function(){return this.ctx.shadowOffsetX},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.shadowOffsetX=e})}},{key:"shadowOffsetY",get:function(){return this.ctx.shadowOffsetY},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.shadowOffsetY=e})}},{key:"strokeStyle",get:function(){return this.ctx.strokeStyle},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.strokeStyle=e})}},{key:"textAlign",get:function(){return this.ctx.textAlign},set:function(e){this.ctx.textAlign=e}},{key:"textBaseline",get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}},{key:"direction",get:function(){return this.ctx.direction},set:function(e){this.ctx.direction=e}},{key:"imageSmoothingEnabled",get:function(){return this.ctx.imageSmoothingEnabled},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.imageSmoothingEnabled=e})}},{key:"imageSmoothingQuality",get:function(){return this.ctx.imageSmoothingQuality},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.imageSmoothingQuality=e})}},{key:"filter",get:function(){return this.ctx.filter},set:function(e){var t=this;this.enqueueActions(function(){t.ctx.filter=e})}},{key:"arc",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.arc].concat(t))}},{key:"arcTo",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.arcTo].concat(t))}},{key:"beginPath",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.beginPath].concat(t))}},{key:"bezierCurveTo",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.bezierCurveTo].concat(t))}},{key:"clearRect",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.clearRect].concat(t))}},{key:"clip",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.clip].concat(t))}},{key:"closePath",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.closePath].concat(t))}},{key:"createPattern",value:function(e,t){var n=this;if("string"==typeof e){var r=new Image;return r.src=e,new Promise(function(e,i){r.onload=function(){e(n.ctx.createPattern(r,t))},r.onerror=i})}return this.ctx.createPattern(e,t)}},{key:"draw",value:function(e,t){return r_(this,void 0,void 0,er().mark(function n(){var r,i,o,a,s;return er().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:n.prev=0,e||this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),r=rm(this.actions),n.prev=3,r.s();case 5:if((i=r.n()).done){n.next=11;break}return a=(o=i.value).func,s=o.args,n.next=9,a.apply(this.ctx,s);case 9:n.next=5;break;case 11:n.next=16;break;case 13:n.prev=13,n.t0=n.catch(3),r.e(n.t0);case 16:return n.prev=16,r.f(),n.finish(16);case 19:this.emptyActions(),t&&t(),n.next=26;break;case 23:throw n.prev=23,n.t1=n.catch(0),{errMsg:n.t1.message};case 26:case"end":return n.stop()}},n,this,[[0,23],[3,13,16,19]])}))}},{key:"drawImage",value:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.enqueueActions(function(){var n;if("string"==typeof e){var i=new Image;return i.src=e,new Promise(function(e,n){i.onload=function(){var n;(n=t.ctx).drawImage.apply(n,[i].concat(r)),e()},i.onerror=n})}(n=t.ctx).drawImage.apply(n,[e].concat(r))})}},{key:"fill",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.fill].concat(t))}},{key:"fillRect",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.fillRect].concat(t))}},{key:"fillText",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.fillText].concat(t))}},{key:"lineTo",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.lineTo].concat(t))}},{key:"moveTo",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.moveTo].concat(t))}},{key:"quadraticCurveTo",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.quadraticCurveTo].concat(t))}},{key:"rect",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.rect].concat(t))}},{key:"reset",value:function(){return this.ctx.reset()}},{key:"restore",value:function(){return this.ctx.restore()}},{key:"rotate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.rotate].concat(t))}},{key:"save",value:function(){return this.ctx.save()}},{key:"scale",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.scale].concat(t))}},{key:"setFillStyle",value:function(e){var t=this;this.enqueueActions(function(){t.ctx.fillStyle=e})}},{key:"setFontSize",value:function(e){var t=this.font.split(/\s/),n=t.findIndex(function(e){return/^\d+px$/.test(e)});-1!==n&&(t[n]="".concat(e,"px"),this.font=t.join(" "))}},{key:"setGlobalAlpha",value:function(e){this.globalAlpha=e}},{key:"setLineCap",value:function(e){this.lineCap=e}},{key:"setLineDash",value:function(e,t){var n=this;this.enqueueActions(function(){n.ctx.setLineDash(e),n.ctx.lineDashOffset=t})}},{key:"setLineJoin",value:function(e){this.lineJoin=e}},{key:"setLineWidth",value:function(e){this.lineWidth=e}},{key:"setMiterLimit",value:function(e){this.miterLimit=e}},{key:"setShadow",value:function(e,t,n,r){var i=this;this.enqueueActions(function(){i.ctx.shadowOffsetX=e,i.ctx.shadowOffsetY=t,i.ctx.shadowColor=r,i.ctx.shadowBlur=n})}},{key:"setStrokeStyle",value:function(e){var t=this;this.enqueueActions(function(){t.ctx.strokeStyle=e})}},{key:"setTextAlign",value:function(e){this.textAlign=e}},{key:"setTextBaseline",value:function(e){this.textBaseline=rv[e]||"alphabetic"}},{key:"setTransform",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.setTransform].concat(t))}},{key:"stroke",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.stroke].concat(t))}},{key:"strokeRect",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.strokeRect].concat(t))}},{key:"strokeText",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.strokeText].concat(t))}},{key:"transform",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.transform].concat(t))}},{key:"translate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.enqueueActions.apply(this,[this.ctx.translate].concat(t))}},{key:"measureText",value:function(e){return this.ctx.measureText(e)}},{key:"createCircularGradient",value:function(e,t,n){return this.ctx.createRadialGradient(e,t,0,e,t,n)}},{key:"createLinearGradient",value:function(e,t,n,r){return this.ctx.createLinearGradient(e,t,n,r)}}]),ry=$(function e(t,n,r){Q(this,e),this._component=n._component,this._selector=t,this._selectorQuery=n,this._single=r},[{key:"context",value:function(e){var t=this._selector,n=this._component,r=this._single,i=this._selectorQuery;return i._push(t,n,r,{context:!0},e),i}},{key:"node",value:function(e){var t=this._selector,n=this._component,r=this._single,i=this._selectorQuery;return i._push(t,n,r,{nodeCanvasType:!0,node:!0},e),i}},{key:"boundingClientRect",value:function(e){var t=this._selector,n=this._component,r=this._single,i=this._selectorQuery;return i._push(t,n,r,{id:!0,dataset:!0,rect:!0,size:!0},e),i}},{key:"scrollOffset",value:function(e){var t=this._selector,n=this._component,r=this._single,i=this._selectorQuery;return i._push(t,n,r,{id:!0,dataset:!0,scrollOffset:!0},e),i}},{key:"fields",value:function(e,t){var n=this._selector,r=this._component,i=this._single,o=this._selectorQuery,a=e.id,s=e.dataset,l=e.rect,u=e.size,c=e.scrollOffset,d=e.context,p=e.node,h=e.properties,f=e.computedStyle;return o._push(n,r,i,{id:a,dataset:s,rect:l,size:u,scrollOffset:c,context:d,node:p,nodeCanvasType:p,properties:void 0===h?[]:h,computedStyle:void 0===f?[]:f},t),o}}]);function rw(e,t,n){if(!t)return null;var r=".taro_page"===n,i=e.id,o=e.dataset,a=e.rect,s=e.size,l=e.scrollOffset,u=e.properties,c=void 0===u?[]:u,d=e.computedStyle,p=void 0===d?[]:d,h=e.nodeCanvasType,f=e.node,g=e.context,m={};if(h&&f){var _=t.tagName;if(m.node={id:t.id,$taroElement:t},/^taro-canvas-core/i.test(_)){var v=t.type||"";m.nodeCanvasType=v;var b=t.getElementsByTagName("canvas")[0];/^(2d|webgl)/i.test(v)&&b?m.node=b:m.node=null}else/^taro-scroll-view-core/i.test(_)?(m.nodeCanvasType="",m.node=t,t.scrollTo=t.mpScrollToMethod,t.scrollIntoView=t.mpScrollIntoViewMethod):(m.nodeCanvasType="",m.node=t);return m}if(!g){if(i&&(m.id=t.id),o&&(m.dataset=Object.assign({},t.dataset)),a||s){var y=t.getBoundingClientRect(),w=y.left,S=y.right,A=y.top,T=y.bottom,x=y.width,k=y.height;a&&(r?(m.left=0,m.right=0,m.top=0,m.bottom=0):(m.left=w,m.right=S,m.top=A,m.bottom=T)),s&&(r?(m.width=t.clientWidth,m.height=t.clientHeight):(m.width=x,m.height=k))}if(l&&(m.scrollLeft=t.scrollLeft,m.scrollTop=t.scrollTop),c.length&&c.forEach(function(e){var n=t.getAttribute(e);n&&(m[e]=n)}),p.length){var M=window.getComputedStyle(t);p.forEach(function(e){var t=M.getPropertyValue(e)||M[e];t&&(m[e]=t)})}return m}var P=t.tagName;if(/^taro-video-core/i.test(P))return{context:t};if(/^taro-canvas-core/i.test(P)){var I=t.type||"2d",E=null==t?void 0:t.querySelector("canvas"),C=null==E?void 0:E.getContext(I);return{context:new rb(E,C)}}/^taro-live-player-core/i.test(P)?console.error("鏆傛椂涓嶆敮鎸侀€氳繃 NodesRef.context 鑾峰彇 LivePlayerContext"):/^taro-editor-core/i.test(P)?console.error("鏆傛椂涓嶆敮鎸侀€氳繃 NodesRef.context 鑾峰彇 EditorContext"):/^taro-map-core/i.test(P)&&console.error("鏆傛椂涓嶆敮鎸侀€氳繃 NodesRef.context 鑾峰彇 MapContext")}var rS=$(function e(){Q(this,e),this._defaultWebviewId=null,this._webviewId=null,this._queue=[],this._queueCb=[],this._component},[{key:"in",value:function(e){return this._component=e,this}},{key:"select",value:function(e){return"string"==typeof e&&(e=e.replace(">>>",">")),new ry(e,this,!0)}},{key:"selectAll",value:function(e){return"string"==typeof e&&(e=e.replace(">>>",">")),new ry(e,this,!1)}},{key:"selectViewport",value:function(){return new ry(".taro_page",this,!0)}},{key:"exec",value:function(e){var t=this;return rt.nextTick(function(){var n,r,i;n=t._queue,r=function(n){var r=t._queueCb;n.forEach(function(e,n){var i=r[n];nU(i)&&i.call(t,e)}),nU(e)&&e.call(t,n)},i=[],n.forEach(function(e){var t,n=e.selector,r=e.single,o=e.fields,a=e.component,s=null!==a&&function(e){if(e&&n2.isExist("getDOMNode"))return n2.call("getDOMNode",e);var t=nN.page,n=null==t?void 0:t.path;if(null==n)throw Error("娌℃湁鎵惧埌宸茬粡鍔犺浇浜嗙殑椤甸潰锛岃鍦ㄩ〉闈㈠姞杞藉畬鎴愬悗浣跨敤姝 API銆");var r=document.getElementById(n);if(null==r)throw Error("鍦ㄥ凡鍔犺浇椤甸潰涓病鏈夋壘鍒板搴旂殑瀹瑰櫒鍏冪礌銆");return r}(a)||document,l=!1;if(s!==document){var u=null===(t=s.parentNode)||void 0===t?void 0:t.querySelectorAll(n);if(u){for(var c=0,d=u.length;c<d;++c)if(s===u[c]){l=!0;break}}}if(r){var p=!0===l?s:s.querySelector(n);i.push(rw(o,p,n))}else{var h=s.querySelectorAll(n),f=[];!0===l&&f.push(s);for(var g=0,m=h.length;g<m;++g)f.push(h[g]);i.push(f.map(function(e){return rw(o,e)}))}}),r(i)}),this}},{key:"_push",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this._queue.push({component:t,selector:e,single:n,fields:r}),this._queueCb.push(i)}}]),rA=function(){return new rS},rT=function(e){return new Promise(function(t){var n;null==rA||null===(n=rA())||void 0===n||null===(n=n.select(e))||void 0===n||n.boundingClientRect(function(e){if(!e)return t([]),[];t(nJ(e)?e:[e])}).exec()})};function rx(){return(rx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=K(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function rk(e,t,n,r){var i=rx(K(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof i?function(e){return i.apply(n,e)}:i}var rM="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==p.g&&p.g||{},rP="URLSearchParams"in rM,rI="Symbol"in rM&&"iterator"in Symbol,rE="FileReader"in rM&&"Blob"in rM&&function(){try{return new Blob,!0}catch(e){return!1}}(),rC="FormData"in rM,rO="ArrayBuffer"in rM;if(rO)var rD=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],rL=ArrayBuffer.isView||function(e){return e&&rD.indexOf(Object.prototype.toString.call(e))>-1};function rB(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function rN(e){return"string"!=typeof e&&(e=String(e)),e}function rR(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return rI&&(t[Symbol.iterator]=function(){return t}),t}function rj(e){this.map={},e instanceof rj?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function rU(e){if(!e._noBody)return e.bodyUsed?Promise.reject(TypeError("Already read")):void(e.bodyUsed=!0)}function rz(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function rF(e){var t=new FileReader,n=rz(t);return t.readAsArrayBuffer(e),n}function rG(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function rq(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:rE&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:rC&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:rP&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():rO&&rE&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=rG(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):rO&&(ArrayBuffer.prototype.isPrototypeOf(e)||rL(e))?this._bodyArrayBuffer=rG(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):rP&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},rE&&(this.blob=function(){var e=rU(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 Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return rU(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(rE)return this.blob().then(rF);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=rU(this);if(o)return o;if(this._bodyBlob){;return e=this._bodyBlob,n=rz(t=new FileReader),i=(r=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?r[1]:"utf-8",t.readAsText(e,i),n}if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},rC&&(this.formData=function(){return this.text().then(rH)}),this.json=function(){return this.text().then(JSON.parse)},this}rj.prototype.append=function(e,t){e=rB(e),t=rN(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},rj.prototype.delete=function(e){delete this.map[rB(e)]},rj.prototype.get=function(e){return e=rB(e),this.has(e)?this.map[e]:null},rj.prototype.has=function(e){return this.map.hasOwnProperty(rB(e))},rj.prototype.set=function(e,t){this.map[rB(e)]=rN(t)},rj.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},rj.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),rR(e)},rj.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),rR(e)},rj.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),rR(e)},rI&&(rj.prototype[Symbol.iterator]=rj.prototype.entries);var rW=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function rZ(e,t){if(!(this instanceof rZ))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof rZ){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new rj(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=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 rj(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),rW.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in rM)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function rH(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function rV(e,t){if(!(this instanceof rV))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new rj(t.headers),this.url=t.url||"",this._initBody(e)}rZ.prototype.clone=function(){return new rZ(this,{body:this._bodyInit})},rq.call(rZ.prototype),rq.call(rV.prototype),rV.prototype.clone=function(){return new rV(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new rj(this.headers),url:this.url})},rV.error=function(){var e=new rV(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var rQ=[301,302,303,307,308];rV.redirect=function(e,t){if(-1===rQ.indexOf(t))throw RangeError("Invalid status code");return new rV(null,{status:t,headers:{location:e}})};var rY=rM.DOMException;try{new rY}catch(e){(rY=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),rY.prototype.constructor=rY}function r$(e,t){return new Promise(function(n,r){var i=new rZ(e,t);if(i.signal&&i.signal.aborted)return r(new rY("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new rj,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 i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===i.url.indexOf("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout(function(){n(new rV(a,r))},0)},o.onerror=function(){setTimeout(function(){r(TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){r(TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){r(new rY("Aborted","AbortError"))},0)},o.open(i.method,function(e){try{return""===e&&rM.location.href?rM.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(rE?o.responseType="blob":rO&&(o.responseType="arraybuffer")),t&&"object"===j(t.headers)&&!(t.headers instanceof rj||rM.Headers&&t.headers instanceof rM.Headers)){var s=[];Object.getOwnPropertyNames(t.headers).forEach(function(e){s.push(rB(e)),o.setRequestHeader(e,rN(t.headers[e]))}),i.headers.forEach(function(e,t){-1===s.indexOf(t)&&o.setRequestHeader(t,e)})}else i.headers.forEach(function(e,t){o.setRequestHeader(t,e)});i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}r$.polyfill=!0,rM.fetch||(rM.fetch=r$,rM.Headers=rj,rM.Request=rZ,rM.Response=rV),p(465);var rK=Object.getOwnPropertySymbols,rX=Object.prototype.hasOwnProperty,rJ=Object.prototype.propertyIsEnumerable,r0=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?function(e,t){for(var n,r,i=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))rX.call(n,a)&&(i[a]=n[a]);if(rK){r=rK(n);for(var s=0;s<r.length;s++)rJ.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i}:Object.assign,r1=encodeURIComponent;function r2(e){return"function"==typeof e}var r4=("undefined"!=typeof window?window:p.g).localStorage,r3={disabled:!1,set:function(e,t){return void 0===t?r3.remove(e):(r4.setItem(e,r3.serialize(t)),t)},get:function(e,t){var n=r3.deserialize(r4.getItem(e));return void 0===n?t:n},remove:function(e){r4.removeItem(e)},clear:function(){r4.clear()},has:function(e){return void 0!==r3.get(e)},forEach:function(e){for(var t=0;t<r4.length;t++){var n=r4.key(t);e(n,r3.get(n))}},getAll:function(){var e={};return r3.forEach(function(t,n){e[t]=n}),e},serialize:function(e){return JSON.stringify(e)},deserialize:function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}}};try{var r5="__store__";r3.set(r5,r5),r3.get(r5)!==r5&&(r3.disabled=!0),r3.remove(r5)}catch(e){r3.disabled=!0}r3.enabled=!r3.disabled;var r6="function"==typeof Symbol&&"symbol"===j(Symbol.iterator)?function(e){return j(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":j(e)},r8="undefined"!=typeof window?window:p.g,r9="Promise"in r8&&r6(r2(Promise)),r7=function(){},ie=encodeURIComponent,it=r8.document,ir=it?it.head||it.getElementsByTagName("head")[0]:null,ii={timeout:2e3,retryTimes:2,backup:null,params:{},jsonp:"callback",name:null,cache:!1,useStore:!1,storeCheck:null,storeSign:null,storeCheckKey:null,dataCheck:null,charset:"UTF-8"},io=(new Date).getTime();function ia(e,t){var n;return t="string"==typeof t?t:(n=t)?Object.keys(n).map(function(e){return e+"="+r1(n[e])}).join("&"):"",e=(e+=(~e.indexOf("?")?"&":"?")+t).replace("?&","?")}function is(e,t,n){var r,i,o,a,s,l,u,c,d=t.originalUrl,p=t.charset,h=(r=e,i=t.jsonp,r||(r=window.location.href),(o=RegExp("[?&]"+(i=i.replace(/[[]]/g,"\\$&"))+"(=([^&#]*)|&|#|$)").exec(r))?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null),f="?"!==h&&h||t.name||"__jsonp"+io++,g=arguments[3]||null;h?"?"===h&&(a=e,s=t.jsonp,l=ie(f),u=RegExp("([?&])"+s+"=.*?(&|$)","i"),c=-1!==a.indexOf("?")?"&":"?",e=a.match(u)?a.replace(u,"$1"+s+"="+l+"$2"):a+c+s+"="+l):e+=("&"===e.split("").pop()?"":"&")+t.jsonp+"="+ie(f),t.cache||(e+=("&"===e.split("").pop()?"":"&")+"_="+(new Date).getTime()),clearTimeout(r8["timer_"+f]);var m=r8[f];r8[f]=function(e){if(m&&m(e),b(f),g&&(e.__$$backupCall=g),t.dataCheck){if(!1!==t.dataCheck(e))return iu({useStore:t.useStore,storeKey:d,data:e}),n(null,e);!1===ic(d,t,n)&&n(Error("Data check error, and no fallback"))}else iu({useStore:t.useStore,storeKey:d,data:e}),n(null,e)};var _=function(e){var t=e.url,n=e.charset;if(it){var r=it.createElement("script");return r.type="text/javascript",n&&(r.charset=n),r.src=t,ir.appendChild(r),r}}({url:e,charset:p}),v=null!=t.timeout?t.timeout:2e3;function b(e){_.parentNode&&_.parentNode.removeChild(_),r8[e]=r7,clearTimeout(r8["timer_"+e])}r8["timer_"+f]=setTimeout(function(){return b(f),"number"==typeof t.retryTimes&&t.retryTimes>0?(t.retryTimes--,is(d,t,n)):!1===ic(d,t,n)?n(Error("Timeout and no data return")):void 0},v)}function il(e,t,n){return!!(e&&t&&n)&&e[t]&&e[t]===n}function iu(e){var t=e.useStore,n=e.storeKey,r=e.data;(t=!!t&&r3.enabled)&&r3.set(n,r)}function ic(e,t,n){var r=t.backup;if(r){if("string"==typeof r)return delete t.backup,is(ia(r,t.params),t,n,{backup:r});if(Array.isArray(r)&&r.length){var i=r.shift();return is(ia(i,t.params),t,n,{backup:i})}}var o=function(e){var t=e.useStore,n=e.storeKey,r=e.dataCheck;if(t=!!t&&r3.enabled){var i=r3.get(n);if(!r||i&&r&&!1!==r(i))return i}return null}({useStore:t.useStore,storeKey:e,dataCheck:t.dataCheck});return!!o&&(n(null,o),!0)}var id=function e(t,n,r){if(r2(t)?(r=t,n={}):t&&"object"===(void 0===t?"undefined":r6(t))&&(r=n,t=(n=t||{}).url),r2(n)&&(r=n,n={}),n||(n={}),n=r0({},ii,n),t=t||n.url,r=r||r7,!t||"string"!=typeof t)return r(Error("Param url is needed!")),!e.promiseClose&&r9?new Promise(function(e,t){return t(Error("Param url is needed!"))}):void 0;var i=ia(t,n.params),o=function(e){var t=e.useStore,n=e.storeKey,r=e.storeCheck,i=e.storeCheckKey,o=e.storeSign,a=e.dataCheck;if(t=!!t&&r3.enabled){var s=r3.get(n);if((r=r||il)(s,i,o)&&(!a||s&&a&&!1!==a(s)))return s}return null}({useStore:n.useStore,storeKey:i,storeCheck:n.storeCheck,storeCheckKey:n.storeCheckKey,storeSign:n.storeSign,dataCheck:n.dataCheck});return o?(r(null,o),!e.promiseClose&&r9?new Promise(function(e){return e(o)}):void 0):(n.originalUrl=i,!e.promiseClose&&r9?new Promise(function(e,t){is(i,n,function(n,i){if(n)return r(n),t(n);r(null,i),e(i)})}):void is(i,n,r))},ip=new rt.Link(function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.success,n=e.complete,r=e.fail,i={},o={},a=e.cache,s=e.credentials,l=e.data,u=e.dataType,c=e.header,d=void 0===c?{}:c,p=e.jsonp,h=e.method,f=e.mode,g=e.responseType,m=e.signal,_=e.timeout,v=e.url,b=void 0===v?"":v,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["cache","credentials","data","dataType","header","jsonp","method","mode","responseType","signal","timeout","url"]);if("number"!=typeof _&&(_=6e4),Object.assign(i,y),p)return i.params=l,i.cache=y.jsonpCache,i.timeout=_,"string"==typeof p&&(i.name=p),id(b,i).then(function(e){return o.statusCode=200,o.data=e,nU(t)&&t(o),nU(n)&&n(o),o}).catch(function(e){return nU(r)&&r(e),nU(n)&&n(o),Promise.reject(e)});i.method=void 0===h?"GET":h;var w=i.method.toUpperCase();if(i.cache=void 0===a?"default":a,"GET"===w||"HEAD"===w)b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return(t="string"==typeof t?t:rp(t))&&(e+=(~e.indexOf("?")?"&":"?")+t),e.replace("?&","?")}(b,l);else if(["[object Array]","[object Object]"].indexOf(Object.prototype.toString.call(l))>=0){var S=Object.keys(d).find(function(e){return"content-type"===e.toLowerCase()});S||(d["Content-Type"]="application/json");var A=d[S||"Content-Type"];A.indexOf("application/json")>=0?i.body=JSON.stringify(l):A.indexOf("application/x-www-form-urlencoded")>=0?i.body=rp(l):i.body=l}else i.body=l;d&&(i.headers=d),f&&(i.mode=f);var T=null,x=null;m?i.signal=m:(x=new window.AbortController,i.signal=x.signal,T=setTimeout(function(){x&&x.abort()},_)),i.credentials=s;var k=fetch(b,i).then(function(e){if(T&&(clearTimeout(T),T=null),x&&(x=null),!e)throw{ok:!1};o.statusCode=e.status,o.header={};var t,n=rm(e.headers.keys());try{for(n.s();!(t=n.n()).done;){var r=t.value;o.header[r]=e.headers.get(r)}}catch(e){n.e(e)}finally{n.f()}return"arraybuffer"===g?e.arrayBuffer():204===o.statusCode||"json"!==u&&void 0!==u?"text"===g||"text"===u?e.text():Promise.resolve(null):e.json().catch(function(){return null})}).then(function(e){return o.data=e,nU(t)&&t(o),nU(n)&&n(o),o}).catch(function(e){return T&&(clearTimeout(T),T=null),x&&(x=null),nU(r)&&r(e),nU(n)&&n(o),e.statusCode=o.statusCode,e.errMsg=e.message,Promise.reject(e)});return!k.abort&&x&&(k.abort=function(e){x&&(e&&e(),x.abort(),T&&(clearTimeout(T),T=null))}),k}(e.requestParams)}),ih=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=void 0===r?"":r,o=t[1],a=void 0===o?{}:o;return"string"==typeof i?a.url=i:Object.assign(a,i),ip.request(a)},ig=(ip.addInterceptor.bind(ip),ip.cleanInterceptors.bind(ip),{});Object.prototype.hasOwnProperty,(new Date).getTime().toString();var im=function(){for(var e=[],t=65;t<=90;t++)e.push(t);for(var n=97;n<=122;n++)e.push(n);var r=e.length-1,i=[0,0];return function(){var t=i.map(function(t){return e[t]}),n=String.fromCharCode.apply(String,(0,ef.A)(t)),o=i.length-1;for(i[o]++;i[o]>r;){if(i[o]=0,(o-=1)<0){i.push(0);break}i[o]++}return n}},i_=new Map;im();var iv=nR.document,ib={PageContext:ig,R:ig},iy,iw,iS,iA,iT=function(e){return function(t){var n=ib.R,r=ib.PageContext,i=n.useContext(r)||"taro-app",o=n.useRef(),a=n.useRef(t);a.current!==t&&(a.current=t),n.useLayoutEffect(function(){var t,n,r,s=o.current=(t=i,i_.get(t)),l=!1;s||(l=!0,o.current=Object.create(null),s=o.current);var u=function(){return a.current.apply(a,arguments)};return nU(s[e])?s[e]=[s[e],u]:s[e]=[].concat((0,ef.A)(s[e]||[]),[u]),l&&(n=s,r=i,n2.call("mergePageInstance",i_.get(r),n),i_.set(r,n)),function(){var t=o.current;if(t){var n=t[e];n===u?t[e]=void 0:nJ(n)&&(t[e]=n.filter(function(e){return e!==u})),o.current=void 0}}},[])}},ix=iT("componentDidHide"),ik=iT("componentDidShow"),iM=iT("onError"),iP=iT("onUnhandledRejection"),iI=iT("onLaunch"),iE=iT("onPageNotFound"),iC=iT("onLoad"),iO=iT("onPageScroll"),iD=iT("onPullDownRefresh"),iL=iT("onPullIntercept"),iB=iT("onReachBottom"),iN=iT("onResize"),iR=iT("onUnload"),ij=iT("onAddToFavorites"),iU=iT("onOptionMenuClick"),iz=iT("onSaveExitState"),iF=iT("onShareAppMessage"),iG=iT("onShareTimeline"),iq=iT("onTitleClick"),iW=iT("onReady"),iZ=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=ib.R;return e?nN.router:t.useMemo(function(){return nN.router},[])},iH=iT("onTabItemTap"),iV=function(){},iQ=Object.freeze({__proto__:null,useAddToFavorites:ij,useDidHide:ix,useDidShow:ik,useError:iM,useLaunch:iI,useLoad:iC,useOptionMenuClick:iU,usePageNotFound:iE,usePageScroll:iO,usePullDownRefresh:iD,usePullIntercept:iL,useReachBottom:iB,useReady:iW,useResize:iN,useRouter:iZ,useSaveExitState:iz,useScope:iV,useShareAppMessage:iF,useShareTimeline:iG,useTabItemTap:iH,useTitleClick:iq,useUnhandledRejection:iP,useUnload:iR});im();im(),n2.tap("initNativeApi",function(e){for(var t in iQ)e[t]=iQ[t]});"function"==typeof SuppressedError&&SuppressedError;var iY,i$,iK=new(function(e){function t(){var e;return Q(this,t),(e=ee(this,t,arguments)).exeList=[],e}return en(t,e),$(t,[{key:"on",value:function(e,n){var r=this;return rk(t,"on",this,3)([e,n,this]),this.exeList=this.exeList.reduce(function(n,i){return i.eventName===e?rk(t,"trigger",r,3)([i.eventName,i.data]):n.push(i),n},[]),this}},{key:"emit",value:function(e,t){iX.trigger(e,t)}}])}(nj)),iX=new(function(e){function t(){return Q(this,t),ee(this,t,arguments)}return en(t,e),$(t,[{key:"emit",value:function(e,t){iK.off(e),iK.exeList.push({eventName:e,data:t})}},{key:"addEvents",value:function(e){var t=this;e&&"object"===j(e)&&Object.keys(e).forEach(function(n){t.off(n),t.on(n,e[n],t)})}}])}(nj));(ou=i$||(i$={})).Pop="POP",ou.Push="PUSH",ou.Replace="REPLACE";var iJ=new($(function e(){Q(this,e),this.stacks=[],this.backDelta=0,this.tabs={},this.methodName=""},[{key:"delta",get:function(){return this.backDelta},set:function(e){e>0?this.backDelta=e:this.backDelta>0?--this.backDelta:this.backDelta=0}},{key:"method",get:function(){return this.methodName},set:function(e){this.methodName=e}},{key:"length",get:function(){return this.stacks.length}},{key:"last",get:function(){return this.stacks[this.length-1]}},{key:"get",value:function(){return this.stacks}},{key:"getItem",value:function(e){return this.stacks[e]}},{key:"getLastIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,ef.A)(this.stacks).reverse().findIndex(function(n,r){var i;return r>=t&&(null===(i=n.path)||void 0===i?void 0:i.replace(/\?.*/g,""))===e})}},{key:"getDelta",value:function(e){if(this.backDelta>=1)return this.backDelta;var t=this.getLastIndex(e);return t>0?t:1}},{key:"getPrevIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getLastIndex(e,t);return n<0?-1:this.length-1-n}},{key:"pop",value:function(){return this.stacks.pop()}},{key:"push",value:function(e){return this.stacks.push(e)}},{key:"getTabs",value:function(){return this.tabs}},{key:"pushTab",value:function(e){this.tabs[e]=this.last,this.pop()}},{key:"popTab",value:function(e){this.push(this.tabs[e]),delete this.tabs[e]}},{key:"removeTab",value:function(e){delete this.tabs[e]}}])),i0=new($(function e(){var t=this;Q(this,e),this.conf=[],this.getConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.conf.filter(function(t){return t.includes(e)})[0]},this.getOrigin=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(null===(e=t.getConfig(n))||void 0===e?void 0:e[0])||n},this.getAlias=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(null===(e=t.getConfig(n))||void 0===e?void 0:e[1])||n},this.getAll=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.conf.filter(function(t){return t.includes(e)}).reduceRight(function(e,t){return e.unshift(t[1]),e},[])}},[{key:"set",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=function(n){var r,i=t[n];(n=ri(n),"string"==typeof i)?e.conf.push([n,ri(i)]):(null==i?void 0:i.length)>0&&(r=e.conf).push.apply(r,(0,ef.A)(i.map(function(e){return[n,ri(e)]})))};for(var r in t)n(r)}}]));function i1(e,t){var n,r,i,o;return n=this,r=void 0,i=void 0,o=er().mark(function n(){return er().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(n,r){iJ.method=t;var i=e.success,o=e.complete,a=e.fail,s=iY.listen(function(){var r={errMsg:"".concat(t,":ok")};"navigateTo"===t&&(r.eventChannel=iX,iX.addEvents(e.events)),null==i||i(r),null==o||o(r),n(r),s()});try{if("url"in e){var l=function(e){var t,n=function(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}(e.url);if(null===(t=n.pathname)||void 0===t?void 0:t.includes("./")){var r=i0.getOrigin(iY.location.pathname).split("/");r.pop(),n.pathname.split("/").forEach(function(e){"."!==e&&(".."===e?r.pop():r.push(e))}),n.pathname=r.join("/")}return n.pathname=ri(n.pathname),n.pathname=i0.getAlias(ri(n.pathname)),n.pathname=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/".replace(/\/$/,"")+"/"+e.replace(/^\//,"")}(n.pathname),n.search||(n.search=""),n}(e),u={timestamp:Date.now()};"navigateTo"===t?iY.push(l,u):"redirectTo"===t||"switchTab"===t?iY.replace(l,u):"reLaunch"===t&&(iJ.delta=iJ.length,iY.replace(l,u))}else"navigateBack"===t&&(iJ.delta=e.delta,iJ.length>e.delta?iY.go(-e.delta):iY.go(1-iJ.length))}catch(e){var c={errMsg:"".concat(t,":fail ").concat(e.message||e)};return null==a||a(c),null==o||o(c),a||o?n(c):r(c)}}));case 1:case"end":return n.stop()}},n)}),new(i||(i=Promise))(function(e,t){function a(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(a,s)}l((o=o.apply(n,r||[])).next())})}var i2=rt.getCurrentInstance,i4=rt.nextTick,i3=rt.Behavior,i5=rt.getEnv,i6=rt.ENV_TYPE,i8=rt.Link,i9=rt.interceptors,i7=rt.interceptorify,oe=rt.Current,ot=rt.options,on=rt.eventCenter,or=rt.Events,oi={Behavior:i3,getEnv:i5,ENV_TYPE:i6,Link:i8,interceptors:i9,interceptorify:i7,Current:oe,getCurrentInstance:i2,options:ot,nextTick:i4,eventCenter:on,Events:or,preload:rt.preload,history:iY,navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{delta:1};return(!e.delta||e.delta<1)&&(e.delta=1),i1(e,"navigateBack")},navigateTo:function(e){return i1(e,"navigateTo")},reLaunch:function(e){return i1(e,"reLaunch")},redirectTo:function(e){return i1(e,"redirectTo")},getCurrentPages:function(){return iJ.get().map(function(e){var t;return Object.assign(Object.assign({},e),{route:(null===(t=e.path)||void 0===t?void 0:t.replace(/\?.*/g,""))||""})})},switchTab:function(e){return i1(e,"switchTab")}},oo=rf("requirePlugin");function oa(){return(null==this?void 0:this.pxTransformConfig)?this.pxTransformConfig:oi.config||(oi.config={})}var os={640:1.17,750:1,828:.905},ol=function(e){var t=e.designWidth,n=e.deviceRatio,r=void 0===n?os:n,i=e.baseFontSize,o=e.unitPrecision,a=e.targetUnit,s=oa.call(this);s.designWidth=void 0===t?750:t,s.deviceRatio=r,s.baseFontSize=void 0===i?20:i,s.targetUnit=void 0===a?"rem":a,s.unitPrecision=void 0===o?5:o};oi.requirePlugin=oo,oi.getApp=function(){return rt.getCurrentInstance().app},oi.pxTransform=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=oa.call(this),n=t.baseFontSize||20,r=t.deviceRatio||os,i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return nU(t.designWidth)?t.designWidth(e):t.designWidth}(e);if(!(i in t.deviceRatio))throw Error("deviceRatio 閰嶇疆涓笉瀛樺湪 ".concat(i," 鐨勮缃紒"));var o=t.targetUnit||"rem",a=t.unitPrecision||5,s=~~e,l=1/r[i];switch(o){case"vw":l=i/100;break;case"px":l*=2;break;default:l*=2*n}var u=s/l;return a>=0&&a<=100&&(u=Number(u.toFixed(a))),u+o},oi.initPxTransform=ol,oi.canIUseWebp=function(){return 0===document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")},oi.getAppInfo=function(){return{platform:"web",taroVersion:"4.0.7",designWidth:oa.call(this).designWidth}},oi.useAddToFavorites=ij,oi.useDidHide=ix,oi.useDidShow=ik,oi.useError=iM,oi.useLaunch=iI,oi.useLoad=iC,oi.useOptionMenuClick=iU,oi.usePageNotFound=iE,oi.usePageScroll=iO,oi.usePullDownRefresh=iD,oi.usePullIntercept=iL,oi.useReachBottom=iB,oi.useReady=iW,oi.useResize=iN,oi.useRouter=iZ,oi.useSaveExitState=iz,oi.useShareAppMessage=iF,oi.useShareTimeline=iG,oi.useTabItemTap=iH,oi.useTitleClick=iq,oi.useScope=iV,oi.useUnhandledRejection=iP,oi.useUnload=iR;var ou,oc,od,op,oh=Symbol("eventJsonDataType"),of=((oc={}).ERROR="error",oc.CLOSE="close",oc.OPEN="open",oc.MESSAGE="message",oc),og=$(function e(t){var n=t.url,r=t.method,i=t.header,o=t.data;Q(this,e),z(this,"url",void 0),z(this,"method",void 0),z(this,"header",void 0),z(this,"data",void 0),z(this,"isClosed",!1),z(this,"event",new or),this.url=n,this.method=void 0===r?"GET":r,this.header=void 0===i?{}:i,this.data=o},[{key:"sendMessage",value:function(){this._sendMessage()}},{key:"_sendMessage",value:function(){throw new lJ(-1,"not implemented")}},{key:"close",value:function(){return!this.isClosed&&(this.isClosed=!0,this.event.trigger(of.CLOSE),this.event.off(),!0)}},{key:"onError",value:function(e){this.event.on(of.ERROR,function(t){e(new lJ(-1,t.errMsg))})}},{key:"onClose",value:function(e){this.event.on(of.CLOSE,e)}},{key:"onMessage",value:function(e){this.event.on(of.MESSAGE,e)}},{key:"onOpen",value:function(e){this.event.on(of.OPEN,e)}}]),om=$(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"release";Q(this,e),z(this,"prefix",void 0),z(this,"level",void 0),this.prefix=t,this.level=n},[{key:"setLoglevel",value:function(e){e&&(this.level=e)}},{key:"seDebug",value:function(){this.level="debug"}},{key:"isDebug",value:function(){return"debug"===this.level}},{key:"debug",value:function(){var e;if("debug"===this.level){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,[this.prefix,"[debug]"].concat(n,["\n"]))}}},{key:"info",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).info.apply(e,[this.prefix,"[info]"].concat(n,["\n"]))}},{key:"warn",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).warn.apply(e,[this.prefix,"[warn]"].concat(n,["\n"]))}},{key:"error",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).error.apply(e,[this.prefix,"[error]"].concat(n,["\n"]))}}]),o_=new om("[coze-mini-sdk]"),ov=$(function e(){Q(this,e)},[{key:"encode",value:function(e){for(var t=[],n=e.length,r=0;r<n;){var i=e.codePointAt(r),o=0,a=0;for(i<=127?(o=0,a=0):i<=2047?(o=6,a=192):i<=65535?(o=12,a=224):i<=2097151&&(o=18,a=240),t.push(a|i>>o),o-=6;o>=0;)t.push(128|i>>o&63),o-=6;r+=i>=65536?2:1}return t}}]),ob=$(function e(){Q(this,e)},[{key:"decode",value:function(e){for(var t="",n=0;n<e.length;){var r=e[n],i=0,o=0;if(r<=127?(i=0,o=255&r):r<=223?(i=1,o=31&r):r<=239?(i=2,o=15&r):r<=244&&(i=3,o=7&r),e.length-n-i>0)for(var a=0;a<i;)o=o<<6|63&(r=e[n+a+1]),a+=1;else o=65533,i=e.length-n;t+=String.fromCodePoint(o),n+=i+1}return t}}]),oy=null!==(od=(globalThis||window).TextDecoder)&&void 0!==od?od:ob,ow=null!==(op=(globalThis||window).TextEncoder)&&void 0!==op?op:ov,oS=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return z(e=ee(this,t,[].concat(r)),"task",void 0),z(e,"offTaskHandler",void 0),z(e,"chunkedData",""),z(e,"dataType","unknown"),e}return en(t,e),$(t,[{key:"_sendMessage",value:function(){var e=this;this.task=ih({url:this.url,method:this.method,header:this.header,data:this.data,enableChunked:!0,enableCookie:!0,timeout:6e5,fail:function(t){e.event.trigger(of.ERROR,t)},complete:function(){e.close()}});var t=this.onHeadersReceived(),n=this.onChunkReceived();this.offTaskHandler=function(){t(),n()}}},{key:"close",value:function(){var e,n;return!!rk(t,"close",this,3)([])&&(null===(e=this.task)||void 0===e||e.abort(),null===(n=this.offTaskHandler)||void 0===n||n.call(this),!0)}},{key:"getDataType",value:function(e){var t=Object.entries(e).find(function(e){return"content-type"===eu(e,1)[0].toLowerCase()})||[],n=eu(t,2)[1]||"";return null!=n&&n.includes("text/event-stream")?"stream":null!=n&&n.includes("application/json")?"json":"unknown"}},{key:"onHeadersReceived",value:function(){var e,t=this,n=function(e){t.dataType=t.getDataType(e.header),t.event.trigger(of.OPEN,e.header),o_.debug("onHeadersReceived",e.header)};return null===(e=this.task)||void 0===e||e.onHeadersReceived(n),function(){var e;null===(e=t.task)||void 0===e||e.offHeadersReceived(n)}}},{key:"onChunkReceived",value:function(){var e,t=this,n=function(e){var n=new Uint8Array(e.data),r=new oy("utf-8").decode(n);if(o_.debug("onChunkReceived raw data",r),o_.debug("onChunkReceived data type",t.dataType),"json"!==t.dataType){if(t.chunkedData+=r,"\n\n"===r.slice(-2)){var i=t.unpackData(t.chunkedData);i.map(function(e){t.event.trigger(of.MESSAGE,e)}),t.chunkedData="",o_.debug("onChunkReceived messageEvents",i)}else o_.debug("onChunkReceived messageEvents is not complete")}else t.event.trigger(of.MESSAGE,{event:oh,data:r})};return null===(e=this.task)||void 0===e||e.onChunkReceived(n),function(){var e;null===(e=t.task)||void 0===e||e.offChunkReceived(n)}}},{key:"unpackData",value:function(e){for(var t=e.split("\n"),n=[],r=0;r<t.length-1;){if(t[r].startsWith("event:")&&t[r+1].startsWith("data:")){var i=t[r].slice(6).trim(),o=t[r+1].slice(5).trim();n.push({event:i,data:o}),r+=2}r++}return n}}])}(og),oA=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return z(e=ee(this,t,[].concat(r)),"ttClient",void 0),e}return en(t,e),$(t,[{key:"close",value:function(){var e;return!!rk(t,"close",this,3)([])&&(null===(e=this.ttClient)||void 0===e||e.close(),!0)}},{key:"_sendMessage",value:function(){var e=this;this.ttClient=tt.createEventSource({url:this.url,method:this.method,header:this.header,timeout:6e5,data:this.data}),o_.debug("TTEventSource init",{url:this.url,method:this.method,header:this.header,data:this.data}),this.ttClient.onOpen(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o_.debug("TTEventSource onOpen",n),e.event.trigger(of.OPEN,{})}),this.ttClient.onClose(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o_.debug("TTEventSource onClose",n),e.close()}),this.ttClient.onError(function(t){o_.debug("TTEventSource onError",t),e.event.trigger(of.ERROR,new lJ(-1,t))}),this.ttClient.onMessage(function(t){o_.debug("TTEventSource onMessage",t),e.event.trigger(of.MESSAGE,t)})}}])}(og);function oT(e,t){this.v=e,this.k=t}function ox(e){return new oT(e,0)}function ok(e){return function(){return new oM(e.apply(this,arguments))}}function oM(e){var t,n;function r(t,n){try{var o=e[t](n),a=o.value,s=a instanceof oT;Promise.resolve(s?a.v:a).then(function(n){if(s){var l="return"===t?"return":"next";if(!a.k||n.done)return r(l,n);n=e[l](n).value}i(o.done?"return":"normal",n)},function(e){r("throw",e)})}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(o,a){var s={key:e,arg:i,resolve:o,reject:a,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}oM.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},oM.prototype.next=function(e){return this._invoke("next",e)},oM.prototype.throw=function(e){return this._invoke("throw",e)},oM.prototype.return=function(e){return this._invoke("return",e)};var oP=i5(),oI=oP===i6.WEB,oE=oP===i6.WEAPP,oC=oP===i6.TT,oO=!oI,oD=oI&&/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent);function oL(){return(oL=ok(er().mark(function e(t){var n,r,i,o,a,s,l,u,c,d,p,h,f;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:f=function(){var e=function(){var e=void 0,t=void 0,n=new Promise(function(n,r){e=n,t=r});return{resolve:e,reject:t,promise:n}}(),t=e.resolve,n=e.reject;r=e.promise,i=t,o=n},n=oC?new oA(t):new oS(t),r=void 0,i=void 0,o=void 0,a=!1,s=[],n.onMessage(function(e){var t;s.push(e),null===(t=i)||void 0===t||t(void 0)}),n.onClose(function(){var e;null===(e=i)||void 0===e||e(void 0),a=!0}),n.onError(function(e){var t;null===(t=o)||void 0===t||t(e),a=!0}),n.sendMessage(),f(),l=!1;case 13:return e.next=15,ox(r);case 15:u=!1,c=s.splice(0),f(),d=rm(c),e.prev=19,d.s();case 21:if((p=d.n()).done){e.next=30;break}if(!(h=p.value)){e.next=28;break}return l=!0,u=!0,e.next=28,h;case 28:e.next=21;break;case 30:e.next=35;break;case 32:e.prev=32,e.t0=e.catch(19),d.e(e.t0);case 35:return e.prev=35,d.f(),e.finish(35);case 38:if(!a||u){e.next=45;break}if(!l){e.next=44;break}return e.next=42,{data:"[DONE]",event:"done"};case 42:e.next=45;break;case 44:throw Error("EventSourceRequest has been closed");case 45:if(!a){e.next=13;break}case 46:case"end":return e.stop()}},e,null,[[19,32,35,38]])}))).apply(this,arguments)}function oB(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new oN(t.call(e));n="@@asyncIterator",r="@@iterator"}throw TypeError("Object is not async iterable")}function oN(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(oN=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new oN(e)}function oR(e,t){return function(){return e.apply(t,arguments)}}var oj,oU=Object.prototype.toString,oz=Object.getPrototypeOf,oF=(oj=Object.create(null),function(e){var t=oU.call(e);return oj[t]||(oj[t]=t.slice(8,-1).toLowerCase())}),oG=function(e){return e=e.toLowerCase(),function(t){return oF(t)===e}},oq=function(e){return function(t){return j(t)===e}},oW=Array.isArray,oZ=oq("undefined"),oH=oG("ArrayBuffer"),oV=oq("string"),oQ=oq("function"),oY=oq("number"),o$=function(e){return null!==e&&"object"===j(e)},oK=function(e){if("object"!==oF(e))return!1;var t=oz(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},oX=oG("Date"),oJ=oG("File"),o0=oG("Blob"),o1=oG("FileList"),o2=oG("URLSearchParams"),o4=eu(["ReadableStream","Request","Response","Headers"].map(oG),4),o3=o4[0],o5=o4[1],o6=o4[2],o8=o4[3];function o9(e,t){var n,r,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys;if(null!=e){if("object"!==j(e)&&(e=[e]),oW(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var o,a=void 0!==i&&i?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;for(n=0;n<s;n++)o=a[n],t.call(null,e[o],o,e)}}}function o7(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),i=r.length;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}var ae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,at=function(e){return!oZ(e)&&e!==ae},an,ar,ai=(an="undefined"!=typeof Uint8Array&&oz(Uint8Array),function(e){return an&&e instanceof an}),ao=oG("HTMLFormElement"),aa=(ar=Object.prototype.hasOwnProperty,function(e,t){return ar.call(e,t)}),as=oG("RegExp"),al=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};o9(n,function(n,i){var o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},au="abcdefghijklmnopqrstuvwxyz",ac="0123456789",ad={DIGIT:ac,ALPHA:au,ALPHA_DIGIT:au+au.toUpperCase()+ac},ap,ah,af,ag,am=oG("AsyncFunction"),a_=(ap="function"==typeof setImmediate,ah=oQ(ae.postMessage),ap?setImmediate:ah?(af="axios@".concat(Math.random()),ag=[],ae.addEventListener("message",function(e){var t=e.source,n=e.data;t===ae&&n===af&&ag.length&&ag.shift()()},!1),function(e){ag.push(e),ae.postMessage(af,"*")}):function(e){return setTimeout(e)}),av="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ae):"undefined"!=typeof process&&process.nextTick||a_,ab={isArray:oW,isArrayBuffer:oH,isBuffer:function(e){return null!==e&&!oZ(e)&&null!==e.constructor&&!oZ(e.constructor)&&oQ(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||oQ(e.append)&&("formdata"===(t=oF(e))||"object"===t&&oQ(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&oH(e.buffer)},isString:oV,isNumber:oY,isBoolean:function(e){return!0===e||!1===e},isObject:o$,isPlainObject:oK,isReadableStream:o3,isRequest:o5,isResponse:o6,isHeaders:o8,isUndefined:oZ,isDate:oX,isFile:oJ,isBlob:o0,isRegExp:as,isFunction:oQ,isStream:function(e){return o$(e)&&oQ(e.pipe)},isURLSearchParams:o2,isTypedArray:ai,isFileList:o1,forEach:o9,merge:function e(){for(var t=(at(this)&&this||{}).caseless,n={},r=function(r,i){var o=t&&o7(n,i)||i;oK(n[o])&&oK(r)?n[o]=e(n[o],r):oK(r)?n[o]=e({},r):oW(r)?n[o]=r.slice():n[o]=r},i=0,o=arguments.length;i<o;i++)arguments[i]&&o9(arguments[i],r);return n},extend:function(e,t,n){return o9(t,function(t,r){n&&oQ(t)?e[r]=oR(t,n):e[r]=t},{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&oz(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:oF,kindOfTest:oG,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return -1!==r&&r===n},toArray:function(e){if(!e)return null;if(oW(e))return e;var t=e.length;if(!oY(t))return null;for(var n=Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:ao,hasOwnProperty:aa,hasOwnProp:aa,reduceDescriptors:al,freezeMethods:function(e){al(e,function(t,n){if(oQ(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;oQ(e[n])&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:function(e,t){var n={},r=function(e){e.forEach(function(e){n[e]=!0})};return r(oW(e)?e:String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n})},noop:function(){},toFiniteNumber:function(e,t){return null!=e&&Number.isFinite(e=+e)?e:t},findKey:o7,global:ae,isContextDefined:at,ALPHABET:ad,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ad.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&oQ(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=Array(10),n=function(e,r){if(o$(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;var i=oW(e)?[]:{};return o9(e,function(e,t){var o=n(e,r+1);oZ(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:am,isThenable:function(e){return e&&(o$(e)||oQ(e))&&oQ(e.then)&&oQ(e.catch)},setImmediate:a_,asap:av};function ay(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}ab.inherits(ay,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ab.toJSONObject(this.config),code:this.code,status:this.status}}});var aw=ay.prototype,aS={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(function(e){aS[e]={value:e}}),Object.defineProperties(ay,aS),Object.defineProperty(aw,"isAxiosError",{value:!0}),ay.from=function(e,t,n,r,i,o){var a=Object.create(aw);return ab.toFlatObject(e,a,function(e){return e!==Error.prototype},function(e){return"isAxiosError"!==e}),ay.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};function aA(e){return ab.isPlainObject(e)||ab.isArray(e)}function aT(e){return ab.endsWith(e,"[]")?e.slice(0,-2):e}function ax(e,t,n){return e?e.concat(t).map(function(e,t){return e=aT(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}var ak=ab.toFlatObject(ab,{},null,function(e){return/^is[A-Z]/.test(e)}),aM=function(e,t,n){if(!ab.isObject(e))throw TypeError("target must be an object");t=t||new FormData;var r=(n=ab.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ab.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ab.isSpecCompliantForm(t);if(!ab.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ab.isDate(e))return e.toISOString();if(!s&&ab.isBlob(e))throw new ay("Blob is not supported. Use a Buffer instead.");return ab.isArrayBuffer(e)||ab.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){var s,u=e;if(e&&!i&&"object"===j(e)){if(ab.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{;if(ab.isArray(e)&&(s=e,ab.isArray(s)&&!s.some(aA))||(ab.isFileList(e)||ab.endsWith(n,"[]"))&&(u=ab.toArray(e)))return n=aT(n),u.forEach(function(e,r){ab.isUndefined(e)||null===e||t.append(!0===a?ax([n],r,o):null===a?n:n+"[]",l(e))}),!1}}return!!aA(e)||(t.append(ax(i,n,o),l(e)),!1)}var c=[],d=Object.assign(ak,{defaultVisitor:u,convertValue:l,isVisitable:aA});if(!ab.isObject(e))throw TypeError("data must be an object");return function e(n,r){if(!ab.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),ab.forEach(n,function(n,o){!0===(!(ab.isUndefined(n)||null===n)&&i.call(t,n,ab.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])}),c.pop()}}(e),t};function aP(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function aI(e,t){this._pairs=[],e&&aM(e,this,t)}var aE=aI.prototype;aE.append=function(e,t){this._pairs.push([e,t])},aE.toString=function(e){var t=e?function(t){return e.call(this,t,aP)}:aP;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};function aC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function aO(e,t,n){if(!t)return e;var r,i=n&&n.encode||aC,o=n&&n.serialize;if(r=o?o(t,n):ab.isURLSearchParams(t)?t.toString():new aI(t,n).toString(i)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var aD=$(function e(){Q(this,e),this.handlers=[]},[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){ab.forEach(this.handlers,function(t){null!==t&&e(t)})}}]),aL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},aB={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:aI,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},aN="undefined"!=typeof window&&"undefined"!=typeof document,aR="object"===("undefined"==typeof navigator?"undefined":j(navigator))&&navigator||void 0,aj=aN&&(!aR||0>["ReactNative","NativeScript","NS"].indexOf(aR.product)),aU="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,az=aN&&window.location.href||"http://localhost",aF=G(G({},A),aB),aG=function(e){if(ab.isFormData(e)&&ab.isFunction(e.entries)){var t={};return ab.forEachEntry(e,function(e,n){var r;(function e(t,n,r,i){var o=t[i++];if("__proto__"===o)return!0;var a=Number.isFinite(+o),s=i>=t.length;return o=!o&&ab.isArray(r)?r.length:o,s?ab.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n:(r[o]&&ab.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&ab.isArray(r[o])&&(r[o]=function(e){var t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o]))),!a})((r=e,ab.matchAll(/\w+|\[(\w*)]/g,r).map(function(e){return"[]"===e[0]?"":e[1]||e[0]})),n,t,0)}),t}return null},aq={transitional:aL,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var n,r,i,o=t.getContentType()||"",a=o.indexOf("application/json")>-1,s=ab.isObject(e);if(s&&ab.isHTMLForm(e)&&(e=new FormData(e)),ab.isFormData(e))return a?JSON.stringify(aG(e)):e;if(ab.isArrayBuffer(e)||ab.isBuffer(e)||ab.isStream(e)||ab.isFile(e)||ab.isBlob(e)||ab.isReadableStream(e))return e;if(ab.isArrayBufferView(e))return e.buffer;if(ab.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1){;return(n=e,r=this.formSerializer,aM(n,new aF.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return aF.isNode&&ab.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},r))).toString()}if((i=ab.isFileList(e))||o.indexOf("multipart/form-data")>-1){var l=this.env&&this.env.FormData;return aM(i?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||a?(t.setContentType("application/json",!1),function(e,t,n){if(ab.isString(e))try{return(0,JSON.parse)(e),ab.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||aq.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ab.isResponse(e)||ab.isReadableStream(e))return e;if(e&&ab.isString(e)&&(n&&!this.responseType||r)){var i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw ay.from(e,ay.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:aF.classes.FormData,Blob:aF.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ab.forEach(["delete","get","head","post","put","patch"],function(e){aq.headers[e]={}});var aW=ab.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aZ=Symbol("internals");function aH(e){return e&&String(e).trim().toLowerCase()}function aV(e){return!1===e||null==e?e:ab.isArray(e)?e.map(aV):String(e)}function aQ(e,t,n,r,i){return ab.isFunction(r)?r.call(this,t,n):(i&&(t=n),ab.isString(t)?ab.isString(r)?-1!==t.indexOf(r):ab.isRegExp(r)?r.test(t):void 0:void 0)}var aY=$(function e(t){Q(this,e),t&&this.set(t)},[{key:"set",value:function(e,t,n){var r=this;function i(e,t,n){var i=aH(t);if(!i)throw Error("header name must be a non-empty string");var o=ab.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=aV(e))}var o=function(e,t){return ab.forEach(e,function(e,n){return i(e,n,t)})};if(ab.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{if(ab.isString(e)&&(e=e.trim())&&(a=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(a.trim()))){;o((d={},(s=e)&&s.split("\n").forEach(function(e){c=e.indexOf(":"),l=e.substring(0,c).trim().toLowerCase(),u=e.substring(c+1).trim(),!l||d[l]&&aW[l]||("set-cookie"===l?d[l]?d[l].push(u):d[l]=[u]:d[l]=d[l]?d[l]+", "+u:u)}),d),t)}else if(ab.isHeaders(e)){var a,s,l,u,c,d,p,h=rm(e.entries());try{for(h.s();!(p=h.n()).done;){var f=eu(p.value,2),g=f[0];i(f[1],g,n)}}catch(e){h.e(e)}finally{h.f()}}else null!=e&&i(t,e,n)}return this}},{key:"get",value:function(e,t){if(e=aH(e)){var n=ab.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(ab.isFunction(t))return t.call(this,r,n);if(ab.isRegExp(t))return t.exec(r);throw TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=aH(e)){var n=ab.findKey(this,e);return!(!n||void 0===this[n]||t&&!aQ(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function i(e){if(e=aH(e)){var i=ab.findKey(n,e);i&&(!t||aQ(0,n[i],i,t))&&(delete n[i],r=!0)}}return ab.isArray(e)?e.forEach(i):i(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var i=t[n];e&&!aQ(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return ab.forEach(this,function(r,i){var o=ab.findKey(n,i);if(o)return t[o]=aV(r),void delete t[i];var a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}):String(i).trim();a!==i&&delete t[i],t[a]=aV(r),n[a]=!0}),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return ab.forEach(this,function(n,r){null!=n&&!1!==n&&(t[r]=e&&ab.isArray(n)?n.join(", "):n)}),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map(function(e){var t=eu(e,2);return t[0]+": "+t[1]}).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach(function(e){return t.set(e)}),t}},{key:"accessor",value:function(e){var t=(this[aZ]=this[aZ]={accessors:{}}).accessors,n=this.prototype;function r(e){var r,i,o,a=aH(e);t[a]||(r=n,i=e,o=ab.toCamelCase(" "+i),["get","set","has"].forEach(function(e){Object.defineProperty(r,e+o,{value:function(t,n,r){return this[e].call(this,i,t,n,r)},configurable:!0})}),t[a]=!0)}return ab.isArray(e)?e.forEach(r):r(e),this}}]);aY.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ab.reduceDescriptors(aY.prototype,function(e,t){var n=e.value,r=t[0].toUpperCase()+t.slice(1);return{get:function(){return n},set:function(e){this[r]=e}}}),ab.freezeMethods(aY);function a$(e,t){var n=this||aq,r=t||n,i=aY.from(r.headers),o=r.data;return ab.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function aK(e){return!(!e||!e.__CANCEL__)}function aX(e,t,n){ay.call(this,null==e?"canceled":e,ay.ERR_CANCELED,t,n),this.name="CanceledError"}ab.inherits(aX,ay,{__CANCEL__:!0});function aJ(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ay("Request failed with status code "+n.status,[ay.ERR_BAD_REQUEST,ay.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var a0=function(e,t){var n,r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){var l=Date.now(),u=i[a];n||(n=l),r[o]=s,i[o]=l;for(var c=a,d=0;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),!(l-n<t)){var p=u&&l-u;return p?Math.round(1e3*d/p):void 0}}},a1=function(e,t){var n,r,i=0,o=1e3/t,a=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){for(var e=Date.now(),t=e-i,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];t>=o?a(l,e):(n=l,r||(r=setTimeout(function(){r=null,a(n)},o-t)))},function(){return n&&a(n)}]},a2=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0,i=a0(50,250);return a1(function(n){var o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,l=i(s);r=o,e(z({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a},t?"download":"upload",!0))},n)},a4=function(e,t){var n=null!=e;return[function(r){return t[0]({lengthComputable:n,total:e,loaded:r})},t[1]]},a3=function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return ab.asap(function(){return e.apply(void 0,n)})}},a5=p(153),a6=aF.hasStandardBrowserEnv?function(){var e,t=aF.navigator&&/(msie|trident)/i.test(aF.navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=ab.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},a8=aF.hasStandardBrowserEnv?{write:function(e,t,n,r,i,o){var a=[e+"="+encodeURIComponent(t)];ab.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ab.isString(r)&&a.push("path="+r),ab.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function a9(e,t){var n,r,i;return e&&(n=t,!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n))?(r=e,(i=t)?r.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):r):t}var a7=function(e){return e instanceof aY?G({},e):e};function se(e,t){t=t||{};var n={};function r(e,t,n){return ab.isPlainObject(e)&&ab.isPlainObject(t)?ab.merge.call({caseless:n},e,t):ab.isPlainObject(t)?ab.merge({},t):ab.isArray(t)?t.slice():t}function i(e,t,n){return ab.isUndefined(t)?ab.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!ab.isUndefined(t))return r(void 0,t)}function a(e,t){return ab.isUndefined(t)?ab.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}var l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:function(e,t){return i(a7(e),a7(t),!0)}};return ab.forEach(Object.keys(Object.assign({},e,t)),function(r){var o=l[r]||i,a=o(e[r],t[r],r);ab.isUndefined(a)&&o!==s||(n[r]=a)}),n}var st=function(e){var t,n=se({},e),r=n.data,i=n.withXSRFToken,o=n.xsrfHeaderName,a=n.xsrfCookieName,s=n.headers,l=n.auth;if(n.headers=s=aY.from(s),n.url=aO(a9(n.baseURL,n.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ab.isFormData(r)){if(aF.hasStandardBrowserEnv||aF.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){var u,c=ea(u=t?t.split(";").map(function(e){return e.trim()}).filter(Boolean):[])||(0,a5.A)(u)||(0,es.A)(u)||el(),d=c[0],p=c.slice(1);s.setContentType([d||"multipart/form-data"].concat((0,ef.A)(p)).join("; "))}}if(aF.hasStandardBrowserEnv&&(i&&ab.isFunction(i)&&(i=i(n)),i||!1!==i&&a6(n.url))){var h=o&&a&&a8.read(a);h&&s.set(o,h)}return n},sn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){var r,i,o,a,s,l,u,c=st(e),d=c.data,p=aY.from(c.headers).normalize(),h=c.responseType,f=c.onUploadProgress,g=c.onDownloadProgress;function m(){l&&l(),u&&u(),c.cancelToken&&c.cancelToken.unsubscribe(o),c.signal&&c.signal.removeEventListener("abort",o)}var _=new XMLHttpRequest;function v(){if(_){var r=aY.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders());aJ(function(e){t(e),m()},function(e){n(e),m()},{data:h&&"text"!==h&&"json"!==h?_.response:_.responseText,status:_.status,statusText:_.statusText,headers:r,config:e,request:_}),_=null}}if(_.open(c.method.toUpperCase(),c.url,!0),_.timeout=c.timeout,"onloadend"in _?_.onloadend=v:_.onreadystatechange=function(){_&&4===_.readyState&&(0!==_.status||_.responseURL&&0===_.responseURL.indexOf("file:"))&&setTimeout(v)},_.onabort=function(){_&&(n(new ay("Request aborted",ay.ECONNABORTED,e,_)),_=null)},_.onerror=function(){n(new ay("Network Error",ay.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){var t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",r=c.transitional||aL;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),n(new ay(t,r.clarifyTimeoutError?ay.ETIMEDOUT:ay.ECONNABORTED,e,_)),_=null},void 0===d&&p.setContentType(null),"setRequestHeader"in _&&ab.forEach(p.toJSON(),function(e,t){_.setRequestHeader(t,e)}),ab.isUndefined(c.withCredentials)||(_.withCredentials=!!c.withCredentials),h&&"json"!==h&&(_.responseType=c.responseType),g){var b=eu(a2(g,!0),2);s=b[0],u=b[1],_.addEventListener("progress",s)}if(f&&_.upload){var y=eu(a2(f),2);a=y[0],l=y[1],_.upload.addEventListener("progress",a),_.upload.addEventListener("loadend",l)}(c.cancelToken||c.signal)&&(o=function(t){_&&(n(!t||t.type?new aX(null,e,_):t),_.abort(),_=null)},c.cancelToken&&c.cancelToken.subscribe(o),c.signal&&(c.signal.aborted?o():c.signal.addEventListener("abort",o)));var w=(r=c.url,(i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r))&&i[1]||"");w&&-1===aF.protocols.indexOf(w)?n(new ay("Unsupported protocol "+w+":",ay.ERR_BAD_REQUEST,e)):_.send(d||null)})},sr=function(e,t){var n=(e=e?e.filter(Boolean):[]).length;if(t||n){var r,i=new AbortController,o=function(e){if(!r){r=!0,s();var t=e instanceof Error?e:this.reason;i.abort(t instanceof ay?t:new aX(t instanceof Error?t.message:t))}},a=t&&setTimeout(function(){a=null,o(new ay("timeout ".concat(t," of ms exceeded"),ay.ETIMEDOUT))},t),s=function(){e&&(a&&clearTimeout(a),a=null,e.forEach(function(e){e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(function(e){return e.addEventListener("abort",o)});var l=i.signal;return l.unsubscribe=function(){return ab.asap(s)},l}};function si(e){var t={},n=!1;function r(t,r){return n=!0,{done:!1,value:new oT(r=new Promise(function(n){n(e[t](r))}),1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return n?(n=!1,e):r("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(n)throw n=!1,e;return r("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return n?(n=!1,e):r("return",e)}),t}var so,sa,ss,sl,su,sc=er().mark(function e(t,n){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.byteLength,n&&!(r<n)){e.next=5;break}return e.next=4,t;case 4:return e.abrupt("return");case 5:i=0;case 6:if(!(i<r)){e.next=13;break}return o=i+n,e.next=10,t.slice(i,o);case 10:i=o,e.next=6;break;case 13:case"end":return e.stop()}},e)}),sd=(so=ok(er().mark(function e(t,n){var r,i,o,a,s,l;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=!1,i=!1,e.prev=2,a=oB(sp(t));case 4:return e.next=6,ox(a.next());case 6:if(!(r=!(s=e.sent).done)){e.next=12;break}return l=s.value,e.delegateYield(si(oB(sc(l,n))),"t0",9);case 9:r=!1,e.next=4;break;case 12:e.next=18;break;case 14:e.prev=14,e.t1=e.catch(2),i=!0,o=e.t1;case 18:if(e.prev=18,e.prev=19,!r||null==a.return){e.next=23;break}return e.next=23,ox(a.return());case 23:if(e.prev=23,!i){e.next=26;break}throw o;case 26:return e.finish(23);case 27:return e.finish(18);case 28:case"end":return e.stop()}},e,null,[[2,14,18,28],[19,,23,27]])})),function(e,t){return so.apply(this,arguments)}),sp=(sa=ok(er().mark(function e(t){var n,r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[Symbol.asyncIterator]){e.next=3;break}return e.delegateYield(si(oB(t)),"t0",2);case 2:return e.abrupt("return");case 3:n=t.getReader(),e.prev=4;case 5:return e.next=7,ox(n.read());case 7:if(i=(r=e.sent).done,o=r.value,!i){e.next=12;break}return e.abrupt("break",16);case 12:return e.next=14,o;case 14:e.next=5;break;case 16:return e.prev=16,e.next=19,ox(n.cancel());case 19:return e.finish(16);case 20:case"end":return e.stop()}},e,null,[[4,,16,20]])})),function(e){return sa.apply(this,arguments)}),sh=function(e,t,n,r){var i,o=sd(e,t),a=0,s=function(e){i||(i=!0,r&&r(e))};return new ReadableStream({pull:function(e){return eo(er().mark(function t(){var r,i,l,u;return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.next();case 3:if(i=(r=t.sent).done,l=r.value,!i){t.next=10;break}return s(),e.close(),t.abrupt("return");case 10:u=l.byteLength,n&&n(a+=u),e.enqueue(new Uint8Array(l)),t.next=19;break;case 15:throw t.prev=15,t.t0=t.catch(0),s(t.t0),t.t0;case 19:case"end":return t.stop()}},t,null,[[0,15]])}))()},cancel:function(e){return s(e),o.return()}},{highWaterMark:2})},sf="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,sg=sf&&"function"==typeof ReadableStream,sm=sf&&("function"==typeof TextEncoder?(sl=new TextEncoder,function(e){return sl.encode(e)}):(ss=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Uint8Array,e.next=3,new Response(t).arrayBuffer();case 3:return e.t1=e.sent,e.abrupt("return",new e.t0(e.t1));case 5:case"end":return e.stop()}},e)})),function(e){return ss.apply(this,arguments)})),s_=function(e){try{for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e.apply(void 0,n)}catch(e){return!1}},sv=sg&&s_(function(){var e=!1,t=new Request(aF.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),sb=sg&&s_(function(){return ab.isReadableStream(new Response("").body)}),sy={stream:sb&&function(e){return e.body}};sf&&(su=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(function(e){sy[e]||(sy[e]=ab.isFunction(su[e])?function(t){return t[e]()}:function(t,n){throw new ay("Response type '".concat(e,"' is not supported"),ay.ERR_NOT_SUPPORT,n)})}));var sw=(uJ=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}return e.abrupt("return",0);case 2:if(!ab.isBlob(t)){e.next=4;break}return e.abrupt("return",t.size);case 4:if(!ab.isSpecCompliantForm(t)){e.next=9;break}return n=new Request(aF.origin,{method:"POST",body:t}),e.next=8,n.arrayBuffer();case 8:case 15:return e.abrupt("return",e.sent.byteLength);case 9:if(!ab.isArrayBufferView(t)&&!ab.isArrayBuffer(t)){e.next=11;break}return e.abrupt("return",t.byteLength);case 11:if(ab.isURLSearchParams(t)&&(t+=""),!ab.isString(t)){e.next=16;break}return e.next=15,sm(t);case 16:case"end":return e.stop()}},e)})),function(e){return uJ.apply(this,arguments)}),sS=(u0=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=ab.toFiniteNumber(t.getContentLength()),e.abrupt("return",null==r?sw(n):r);case 2:case"end":return e.stop()}},e)})),function(e,t){return u0.apply(this,arguments)}),sA={http:null,xhr:sn,fetch:sf&&(u1=eo(er().mark(function e(t){var n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=st(t)).url,i=n.method,o=n.data,a=n.signal,s=n.cancelToken,l=n.timeout,u=n.onDownloadProgress,c=n.onUploadProgress,d=n.responseType,p=n.headers,f=void 0===(h=n.withCredentials)?"same-origin":h,g=n.fetchOptions,d=d?(d+"").toLowerCase():"text",v=(m=sr([a,s&&s.toAbortSignal()],l))&&m.unsubscribe&&function(){m.unsubscribe()},e.prev=4,e.t0=c&&sv&&"get"!==i&&"head"!==i,!e.t0){e.next=11;break}return e.next=9,sS(p,o);case 9:e.t1=b=e.sent,e.t0=0!==e.t1;case 11:if(!e.t0){e.next=15;break}y=new Request(r,{method:"POST",body:o,duplex:"half"}),ab.isFormData(o)&&(w=y.headers.get("content-type"))&&p.setContentType(w),y.body&&(A=(S=eu(a4(b,a2(a3(c))),2))[0],T=S[1],o=sh(y.body,65536,A,T));case 15:return ab.isString(f)||(f=f?"include":"omit"),x="credentials"in Request.prototype,_=new Request(r,G(G({},g),{},{signal:m,method:i.toUpperCase(),headers:p.normalize().toJSON(),body:o,duplex:"half",credentials:x?f:void 0})),e.next=20,fetch(_);case 20:return k=e.sent,M=sb&&("stream"===d||"response"===d),sb&&(u||M&&v)&&(P={},["status","statusText","headers"].forEach(function(e){P[e]=k[e]}),I=ab.toFiniteNumber(k.headers.get("content-length")),C=(E=eu(u&&a4(I,a2(a3(u),!0))||[],2))[0],O=E[1],k=new Response(sh(k.body,65536,C,function(){O&&O(),v&&v()}),P)),d=d||"text",e.next=26,sy[ab.findKey(sy,d)||"text"](k,t);case 26:return D=e.sent,!M&&v&&v(),e.next=30,new Promise(function(e,n){aJ(e,n,{data:D,headers:aY.from(k.headers),status:k.status,statusText:k.statusText,config:t,request:_})});case 30:return e.abrupt("return",e.sent);case 33:if(e.prev=33,e.t2=e.catch(4),v&&v(),!e.t2||"TypeError"!==e.t2.name||!/fetch/i.test(e.t2.message)){e.next=38;break}throw Object.assign(new ay("Network Error",ay.ERR_NETWORK,t,_),{cause:e.t2.cause||e.t2});case 38:throw ay.from(e.t2,e.t2&&e.t2.code,t,_);case 39:case"end":return e.stop()}},e,null,[[4,33]])})),function(e){return u1.apply(this,arguments)})};ab.forEach(sA,function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var sT=function(e){return"- ".concat(e)},sx=function(e){for(var t,n,r=(e=ab.isArray(e)?e:[e]).length,i={},o=0;o<r;o++){var a,s=void 0;if(n=t=e[o],a=t,!ab.isFunction(a)&&null!==a&&!1!==a&&void 0===(n=sA[(s=String(t)).toLowerCase()]))throw new ay("Unknown adapter '".concat(s,"'"));if(n)break;i[s||"#"+o]=n}if(!n){var l=Object.entries(i).map(function(e){var t=eu(e,2),n=t[0],r=t[1];return"adapter ".concat(n," ")+(!1===r?"is not supported by the environment":"is not available in the build")});throw new ay("There is no suitable adapter to dispatch the request "+(r?l.length>1?"since :\n"+l.map(sT).join("\n"):" "+sT(l[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function sk(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new aX(null,e)}function sM(e){return sk(e),e.headers=aY.from(e.headers),e.data=a$.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sx(e.adapter||aq.adapter)(e).then(function(t){return sk(e),t.data=a$.call(e,e.transformResponse,t),t.headers=aY.from(t.headers),t},function(t){return aK(t)||(sk(e),t&&t.response&&(t.response.data=a$.call(e,e.transformResponse,t.response),t.response.headers=aY.from(t.response.headers))),Promise.reject(t)})}var sP={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){sP[e]=function(n){return j(n)===e||"a"+(t<1?"n ":" ")+e}});var sI={};sP.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,o){if(!1===e)throw new ay(r(i," has been removed"+(t?" in "+t:"")),ay.ERR_DEPRECATED);return t&&!sI[i]&&(sI[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var sE={assertOptions:function(e,t,n){if("object"!==j(e))throw new ay("options must be an object",ay.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new ay("option "+o+" must be "+l,ay.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ay("Unknown option "+o,ay.ERR_BAD_OPTION)}},validators:sP},sC=sE.validators,sO=$(function e(t){Q(this,e),this.defaults=t,this.interceptors={request:new aD,response:new aD}},[{key:"request",value:(u2=eo(er().mark(function e(t,n){var r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._request(t,n);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),e.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(r={}):r=Error(),i=r.stack?r.stack.replace(/^.+\n/,""):"";try{e.t0.stack?i&&!String(e.t0.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(e.t0.stack+="\n"+i):e.t0.stack=i}catch(e){}}throw e.t0;case 10:case"end":return e.stop()}},e,this,[[0,6]])})),function(e,t){return u2.apply(this,arguments)})},{key:"_request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=se(this.defaults,t),r=n.transitional,i=n.paramsSerializer,o=n.headers;void 0!==r&&sE.assertOptions(r,{silentJSONParsing:sC.transitional(sC.boolean),forcedJSONParsing:sC.transitional(sC.boolean),clarifyTimeoutError:sC.transitional(sC.boolean)},!1),null!=i&&(ab.isFunction(i)?t.paramsSerializer={serialize:i}:sE.assertOptions(i,{encode:sC.function,serialize:sC.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=o&&ab.merge(o.common,o[t.method]);o&&ab.forEach(["delete","get","head","post","put","patch","common"],function(e){delete o[e]}),t.headers=aY.concat(a,o);var s=[],l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});var u,c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});var d,p=0;if(!l){var h=[sM.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),d=h.length,u=Promise.resolve(t);p<d;)u=u.then(h[p++],h[p++]);return u}d=s.length;var f=t;for(p=0;p<d;){var g=s[p++],m=s[p++];try{f=g(f)}catch(e){m.call(this,e);break}}try{u=sM.call(this,f)}catch(e){return Promise.reject(e)}for(p=0,d=c.length;p<d;)u=u.then(c[p++],c[p++]);return u}},{key:"getUri",value:function(e){return aO(a9((e=se(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]);ab.forEach(["delete","get","head","options"],function(e){sO.prototype[e]=function(t,n){return this.request(se(n||{},{method:e,url:t,data:(n||{}).data}))}}),ab.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(se(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}sO.prototype[e]=t(),sO.prototype[e+"Form"]=t(!0)});var sD=function(){function e(t){if(Q(this,e),"function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){n=e});var n,r=this;this.promise.then(function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t(function(e,t,i){r.reason||(r.reason=new aX(e,t,i),n(r.reason))})}return $(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"toAbortSignal",value:function(){var e=this,t=new AbortController,n=function(e){t.abort(e)};return this.subscribe(n),t.signal.unsubscribe=function(){return e.unsubscribe(n)},t.signal}}],[{key:"source",value:function(){var t;return{token:new e(function(e){t=e}),cancel:t}}}])}(),sL={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sL).forEach(function(e){var t=eu(e,2),n=t[0];sL[t[1]]=n});var sB=function e(t){var n=new sO(t),r=oR(sO.prototype.request,n);return ab.extend(r,sO.prototype,n,{allOwnKeys:!0}),ab.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(se(t,n))},r}(aq);sB.Axios=sO,sB.CanceledError=aX,sB.CancelToken=sD,sB.isCancel=aK,sB.VERSION="1.7.7",sB.toFormData=aM,sB.AxiosError=ay,sB.Cancel=sB.CanceledError,sB.all=function(e){return Promise.all(e)},sB.spread=function(e){return function(t){return e.apply(null,t)}},sB.isAxiosError=function(e){return ab.isObject(e)&&!0===e.isAxiosError},sB.mergeConfig=se,sB.AxiosHeaders=aY,sB.formToJSON=function(e){return aG(ab.isHTMLForm(e)?new FormData(e):e)},sB.getAdapter=sx,sB.HttpStatusCode=sL,sB.default=sB;var sN=function(e){var t,n,r,i=e.url,o=e.filePath,a=e.formData,s=void 0===a?{}:a,l=e.name,u=e.header,c=e.timeout,d=e.fileName,p=e.withCredentials,h=void 0===p||p,f=e.success,g=e.error,m="uploadFile",_=new XMLHttpRequest,v=new FormData,b={headersReceived:new rs,progressUpdate:new rs};for(r in _.open("POST",i),_.withCredentials=!!h,function(e,t){var n;for(n in t)e.setRequestHeader(n,t[n])}(_,u),s)v.append(r,s[r]);_.upload.onprogress=function(e){var t=e.loaded,n=e.total;b.progressUpdate.trigger({progress:Math.round(t/n*100),totalBytesSent:t,totalBytesExpectedToSend:n})},_.onreadystatechange=function(){2===_.readyState&&b.headersReceived.trigger({header:_.getAllResponseHeaders()})},_.onload=function(){var e=_.status;clearTimeout(n),f({errMsg:"".concat(m,":ok"),statusCode:e,data:_.responseText||_.response})},_.onabort=function(){clearTimeout(n),g({errMsg:"".concat(m,":fail abort")})},_.onerror=function(e){clearTimeout(n),g({errMsg:"".concat(m,":fail ").concat(e.message)})};var y=function(){clearTimeout(n),_.abort()};return(t=o,new Promise(function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType="blob",r.withCredentials=!0,r.onload=function(){200===this.status?e(this.response):n({status:this.status})},r.send()})).then(function(e){d||(d="string"!=typeof e&&e.name),v.append(l,e,d||"file-".concat(Date.now())),_.send(v),n=setTimeout(function(){_.onabort=null,_.onload=null,_.upload.onprogress=null,_.onreadystatechange=null,_.onerror=null,y(),g({errMsg:"".concat(m,":fail timeout")})},c||6e4)}).catch(function(e){g({errMsg:"".concat(m,":fail ").concat(e.message)})}),{abort:y,onHeadersReceived:b.headersReceived.add,offHeadersReceived:b.headersReceived.remove,onProgressUpdate:b.progressUpdate.add,offProgressUpdate:b.progressUpdate.remove}},sR=function(e){var t,n=e.url,r=e.filePath,i=e.name,o=e.header,a=e.formData,s=e.timeout,l=e.fileName,u=e.withCredentials,c=e.success,d=e.fail,p=e.complete,h=new Promise(function(e,h){t=sN({url:n,header:o,name:i,filePath:r,formData:a,timeout:s,fileName:l,withCredentials:u,success:function(t){c&&c(t),p&&p(t),e(t)},error:function(e){d&&d(e),p&&p(e),h(e)}})});h.headersReceive=t.onHeadersReceived.bind(t),h.progress=t.onProgressUpdate.bind(t);var f={};return Object.keys(t).forEach(function(e){f[e]={get:function(){return"function"==typeof t[e]?t[e].bind(t):t[e]}}}),Object.defineProperties(h,f)};function sj(e){var t="function"==typeof Map?new Map:void 0;return(sj=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(X())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&et(i,n.prototype),i}(e,arguments,K(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),et(n,e)})(e)}sB.Axios,sB.AxiosError,sB.CanceledError,sB.isCancel,sB.CancelToken,sB.VERSION,sB.all,sB.Cancel,sB.isAxiosError,sB.spread;var sU=sB.toFormData,sz=(sB.AxiosHeaders,sB.HttpStatusCode,sB.formToJSON,sB.getAdapter,sB.mergeConfig,p(862)),sF=function(e,t){return(sF=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function sG(e,t){function n(){this.constructor=e}sF(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var sq=function(e,t){this.target=t,this.type=e},sW=function(e){function t(t,n){var r=e.call(this,"error",n)||this;return r.message=t.message,r.error=t,r}return sG(t,e),t}(sq),sZ=function(e){function t(t,n,r){void 0===t&&(t=1e3),void 0===n&&(n="");var i=e.call(this,"close",r)||this;return i.wasClean=!0,i.code=t,i.reason=n,i}return sG(t,e),t}(sq),sH=function(){if("undefined"!=typeof WebSocket)return WebSocket},sV={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+4e3*Math.random(),minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},sQ=function(){function e(e,t,n){var r=this;void 0===n&&(n={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(e){r._debug("open event");var t=r._options.minUptime,n=void 0===t?sV.minUptime:t;clearTimeout(r._connectTimeout),r._uptimeTimeout=setTimeout(function(){return r._acceptOpen()},n),r._ws.binaryType=r._binaryType,r._messageQueue.forEach(function(e){return r._ws.send(e)}),r._messageQueue=[],r.onopen&&r.onopen(e),r._listeners.open.forEach(function(t){return r._callEventListener(e,t)})},this._handleMessage=function(e){r._debug("message event"),r.onmessage&&r.onmessage(e),r._listeners.message.forEach(function(t){return r._callEventListener(e,t)})},this._handleError=function(e){r._debug("error event",e.message),r._disconnect(void 0,"TIMEOUT"===e.message?"timeout":void 0),r.onerror&&r.onerror(e),r._debug("exec error listeners"),r._listeners.error.forEach(function(t){return r._callEventListener(e,t)}),r._connect()},this._handleClose=function(e){r._debug("close event"),r._clearTimeouts(),r._shouldReconnect&&r._connect(),r.onclose&&r.onclose(e),r._listeners.close.forEach(function(t){return r._callEventListener(e,t)})},this._url=e,this._protocols=t,this._options=n,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){return this._messageQueue.reduce(function(e,t){return"string"==typeof t?e+=t.length:t instanceof Blob?e+=t.size:e+=t.byteLength,e},0)+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(e,t){void 0===e&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),this._ws?this._ws.readyState!==this.CLOSED?this._ws.close(e,t):this._debug("close: already closed"):this._debug("close enqueued: no ws instance")},e.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,this._ws&&this._ws.readyState!==this.CLOSED&&this._disconnect(e,t),this._connect()},e.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,n=void 0===t?sV.maxEnqueuedMessages:t;this._messageQueue.length<n&&(this._debug("enqueue",e),this._messageQueue.push(e))}},e.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},e.prototype.dispatchEvent=function(e){var t,n,r=this._listeners[e.type];if(r)try{for(var i,o,a,s=(i=r,o="function"==typeof Symbol&&i[Symbol.iterator],a=0,o?o.call(i):{next:function(){return i&&a>=i.length&&(i=void 0),{value:i&&i[a++],done:!i}}}),l=s.next();!l.done;l=s.next()){var u=l.value;this._callEventListener(e,u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListener=function(e,t){this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(function(e){return e!==t}))},e.prototype._debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._options.debug&&console.log.apply(console,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}(arguments[t]));return e}(["RWS>"],e))},e.prototype._getNextDelay=function(){var e=this._options,t=e.reconnectionDelayGrowFactor,n=void 0===t?sV.reconnectionDelayGrowFactor:t,r=e.minReconnectionDelay,i=void 0===r?sV.minReconnectionDelay:r,o=e.maxReconnectionDelay,a=void 0===o?sV.maxReconnectionDelay:o,s=0;return this._retryCount>0&&(s=i*Math.pow(n,this._retryCount-1))>a&&(s=a),this._debug("next delay",s),s},e.prototype._wait=function(){var e=this;return new Promise(function(t){setTimeout(t,e._getNextDelay())})},e.prototype._getNextUrl=function(e){if("string"==typeof e)return Promise.resolve(e);if("function"==typeof e){var t=e();if("string"==typeof t)return Promise.resolve(t);if(t.then)return t}throw Error("Invalid URL")},e.prototype._connect=function(){var e=this;if(!this._connectLock&&this._shouldReconnect){this._connectLock=!0;var t,n=this._options,r=n.maxRetries,i=void 0===r?sV.maxRetries:r,o=n.connectionTimeout,a=void 0===o?sV.connectionTimeout:o,s=n.WebSocket,l=void 0===s?sH():s;if(this._retryCount>=i)this._debug("max retries reached",this._retryCount,">=",i);else{;if(this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),!(void 0!==(t=l)&&t&&2===t.CLOSING))throw Error("No valid WebSocket class provided");this._wait().then(function(){return e._getNextUrl(e._url)}).then(function(t){e._closeCalled||(e._debug("connect",{url:t,protocols:e._protocols}),e._ws=e._protocols?new l(t,e._protocols):new l(t),e._ws.binaryType=e._binaryType,e._connectLock=!1,e._addListeners(),e._connectTimeout=setTimeout(function(){return e._handleTimeout()},a))})}}},e.prototype._handleTimeout=function(){this._debug("timeout event"),this._handleError(new sW(Error("TIMEOUT"),this))},e.prototype._disconnect=function(e,t){if(void 0===e&&(e=1e3),this._clearTimeouts(),this._ws){this._removeListeners();try{this._ws.close(e,t),this._handleClose(new sZ(e,t,this))}catch(e){}}},e.prototype._acceptOpen=function(){this._debug("accept open"),this._retryCount=0},e.prototype._callEventListener=function(e,t){"handleEvent"in t?t.handleEvent(e):t(e)},e.prototype._removeListeners=function(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))},e.prototype._addListeners=function(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))},e.prototype._clearTimeouts=function(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)},e}(),sY=p(75),s$=p(982),sK=(p(106),p(786),["conversation_id"]),sX=["conversation_id"],sJ=["conversation_id"],s0=["conversation_id","chat_id"],s1=$(function e(t){Q(this,e),this._client=t}),s2=function(e){var t,n,r,i,o;function a(){return Q(this,a),ee(this,a,arguments)}return en(a,e),$(a,[{key:"create",value:(o=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/bot/create",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return o.apply(this,arguments)})},{key:"update",value:(i=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/bot/update",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"list",value:(r=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/space/published_bots_list",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"publish",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/bot/publish",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"retrieve",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/bot/get_online_info",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1);function s4(){return"undefined"!=typeof window}function s3(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){if(void 0===t)return e||{};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(function(e){if("object"!=j(e)||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}(t[n])&&!Array.isArray(t[n])?e[n]=s3(e[n]||{},t[n]):e[n]=t[n]);return e},{})}var s5=function(e){function t(){return Q(this,t),ee(this,t,arguments)}return en(t,e),$(t)}(sj(Error)),s6=function(e){function t(e,n,r,i){var o,a,s;return Q(this,t),(o=ee(this,t,["".concat(t.makeMessage(e,n,r,i))])).status=e,o.headers=i,o.logid=(null==n||null===(a=n.detail)||void 0===a?void 0:a.logid)||(null==i?void 0:i["x-tt-logid"]),o.code=null==n?void 0:n.code,o.msg=null==n?void 0:n.msg,o.detail=null==n||null===(s=n.error)||void 0===s?void 0:s.detail,o.rawError=n,o}return en(t,e),$(t,null,[{key:"makeMessage",value:function(e,t,n,r){if(!t&&n)return n;if(t){var i=[],o=t.code,a=t.msg,s=t.error;o&&i.push("code: ".concat(o)),a&&i.push("msg: ".concat(a)),(null==s?void 0:s.detail)&&a!==s.detail&&i.push("detail: ".concat(s.detail));var l=(null==s?void 0:s.logid)||(null==r?void 0:r["x-tt-logid"]);return l&&i.push("logid: ".concat(l)),i.join(", ")}return e?"http status code: ".concat(e," (no body)"):"(no status code or body)"}},{key:"generate",value:function(e,n,r,i){return e?400===e||4e3===(null==n?void 0:n.code)?new s7(e,n,r,i):401===e||4100===(null==n?void 0:n.code)?new le(e,n,r,i):403===e||4101===(null==n?void 0:n.code)?new lt(e,n,r,i):404===e||4200===(null==n?void 0:n.code)?new ln(e,n,r,i):429===e||4013===(null==n?void 0:n.code)?new li(e,n,r,i):408===e?new lr(e,n,r,i):502===e?new la(e,n,r,i):e>=500?new lo(e,n,r,i):new t(e,n,r,i):new s8({cause:ls(n)})}}])}(s5),s8=function(e){function t(e){var n,r=e.message;return e.cause,Q(this,t),(n=ee(this,t,[void 0,void 0,r||"Connection error.",void 0])).status=void 0,n}return en(t,e),$(t)}(s6),s9=function(e){function t(e){var n;return Q(this,t),(n=ee(this,t,[void 0,void 0,e||"Request was aborted.",void 0])).name="UserAbortError",n.status=void 0,n}return en(t,e),$(t)}(s6),s7=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="BadRequestError",e.status=400,e}return en(t,e),$(t)}(s6),le=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="AuthenticationError",e.status=401,e}return en(t,e),$(t)}(s6),lt=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="PermissionDeniedError",e.status=403,e}return en(t,e),$(t)}(s6),ln=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="NotFoundError",e.status=404,e}return en(t,e),$(t)}(s6),lr=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="TimeoutError",e.status=408,e}return en(t,e),$(t)}(s6),li=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="RateLimitError",e.status=429,e}return en(t,e),$(t)}(s6),lo=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="InternalServerError",e.status=500,e}return en(t,e),$(t)}(s6),la=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).name="GatewayError",e.status=502,e}return en(t,e),$(t)}(s6),ls=function(e){return e instanceof Error?e:Error(e)},ll=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"list",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v3/chat/message/list?conversation_id=".concat(t,"&chat_id=").concat(n),e.next=3,this._client.get(i,void 0,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})}])}(s1),lu=function(){return(Math.random()*(new Date).getTime()).toString()},lc=function(e){return null==e?void 0:e.map(function(e){return G(G({},e),{},{content:"object"==j(e.content)?JSON.stringify(e.content):e.content})})},ld=function(e){var t,n,r,i;function o(){var e;Q(this,o);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=ee(this,o,[].concat(n))).messages=new ll(e._client),e}return en(o,e),$(o,[{key:"create",value:(i=eo(er().mark(function e(t,n){var r,i,o,a,s;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.user_id||(t.user_id=lu()),r=t.conversation_id,i=R(t,sK),o="/v3/chat".concat(r?"?conversation_id=".concat(r):""),a=G(G({},i),{},{additional_messages:lc(t.additional_messages),stream:!1}),e.next=6,this._client.post(o,a,!1,n);case 6:return s=e.sent,e.abrupt("return",s.data);case 8:case"end":return e.stop()}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"createAndPoll",value:(r=eo(er().mark(function e(t,n){var r,i,o,a,s,l,u,c,d;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.user_id||(t.user_id=lu()),r=t.conversation_id,i=R(t,sX),o="/v3/chat".concat(r?"?conversation_id=".concat(r):""),a=G(G({},i),{},{additional_messages:lc(t.additional_messages),stream:!1}),e.next=6,this._client.post(o,a,!1,n);case 6:l=(s=e.sent).data.id,u=s.data.conversation_id;case 9:return e.next=12,new Promise(function(e){setTimeout(e,100)});case 12:return e.next=14,this.retrieve(u,l);case 14:if("completed"!==(c=e.sent).status&&"failed"!==c.status&&"requires_action"!==c.status){e.next=17;break}return e.abrupt("break",19);case 17:e.next=9;break;case 19:return e.next=21,this.messages.list(u,l);case 21:return d=e.sent,e.abrupt("return",{chat:c,messages:d});case 23:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"stream",value:function(e,t){var n=this;return ok(er().mark(function r(){var i,o,a,s,l,u,c,d,p,h,f,g,m;return er().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.user_id||(e.user_id=lu()),i=e.conversation_id,o=R(e,sJ),a="/v3/chat".concat(i?"?conversation_id=".concat(i):""),s=G(G({},o),{},{additional_messages:lc(e.additional_messages),stream:!0}),r.next=6,ox(n._client.post(a,s,!0,t));case 6:l=r.sent,u=!1,c=!1,r.prev=9,p=oB(l);case 11:return r.next=13,ox(p.next());case 13:if(!(u=!(h=r.sent).done)){r.next=33;break}if("done"!==(f=h.value).event){r.next=21;break}return g={event:f.event,data:"[DONE]"},r.next=19,g;case 19:case 25:r.next=30;break;case 21:return r.prev=21,m={event:f.event,data:JSON.parse(f.data)},r.next=25,m;case 27:throw r.prev=27,r.t0=r.catch(21),new s5("Could not parse message into JSON:".concat(f.data));case 30:u=!1,r.next=11;break;case 33:r.next=39;break;case 35:r.prev=35,r.t1=r.catch(9),c=!0,d=r.t1;case 39:if(r.prev=39,r.prev=40,!u||null==p.return){r.next=44;break}return r.next=44,ox(p.return());case 44:if(r.prev=44,!c){r.next=47;break}throw d;case 47:return r.finish(44);case 48:return r.finish(39);case 49:case"end":return r.stop()}},r,null,[[9,35,39,49],[21,27],[40,,44,48]])}))()}},{key:"retrieve",value:(n=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v3/chat/retrieve?conversation_id=".concat(t,"&chat_id=").concat(n),e.next=3,this._client.post(i,void 0,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"cancel",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i={conversation_id:t,chat_id:n},e.next=4,this._client.post("/v3/chat/cancel",i,!1,r);case 4:return o=e.sent,e.abrupt("return",o.data);case 6:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})},{key:"submitToolOutputs",value:function(e,t){var n=this;return ok(er().mark(function r(){var i,o,a,s,l,u,c,d,p,h,f,g,m;return er().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(e.conversation_id,e.chat_id,i=R(e,s0),o="/v3/chat/submit_tool_outputs?conversation_id=".concat(e.conversation_id,"&chat_id=").concat(e.chat_id),a=G({},i),!1!==e.stream){r.next=8;break}return r.next=6,ox(n._client.post(o,a,!1,t));case 6:return s=r.sent,r.abrupt("return",s.data);case 8:return r.next=10,ox(n._client.post(o,a,!0,t));case 10:l=r.sent,u=!1,c=!1,r.prev=13,p=oB(l);case 15:return r.next=17,ox(p.next());case 17:if(!(u=!(h=r.sent).done)){r.next=37;break}if("done"!==(f=h.value).event){r.next=25;break}return g={event:f.event,data:"[DONE]"},r.next=23,g;case 23:case 29:r.next=34;break;case 25:return r.prev=25,m={event:f.event,data:JSON.parse(f.data)},r.next=29,m;case 31:throw r.prev=31,r.t0=r.catch(25),new s5("Could not parse message into JSON:".concat(f.data));case 34:u=!1,r.next=15;break;case 37:r.next=43;break;case 39:r.prev=39,r.t1=r.catch(13),c=!0,d=r.t1;case 43:if(r.prev=43,r.prev=44,!u||null==p.return){r.next=48;break}return r.next=48,ox(p.return());case 48:if(r.prev=48,!c){r.next=51;break}throw d;case 51:return r.finish(48);case 52:return r.finish(43);case 53:case"end":return r.stop()}},r,null,[[13,39,43,53],[25,31],[44,,48,52]])}))()}}])}(s1),lp=((u4={}).CONVERSATION_CHAT_CREATED="conversation.chat.created",u4.CONVERSATION_CHAT_IN_PROGRESS="conversation.chat.in_progress",u4.CONVERSATION_CHAT_COMPLETED="conversation.chat.completed",u4.CONVERSATION_CHAT_FAILED="conversation.chat.failed",u4.CONVERSATION_CHAT_REQUIRES_ACTION="conversation.chat.requires_action",u4.CONVERSATION_MESSAGE_DELTA="conversation.message.delta",u4.CONVERSATION_MESSAGE_COMPLETED="conversation.message.completed",u4.CONVERSATION_AUDIO_DELTA="conversation.audio.delta",u4.DONE="done",u4.ERROR="error",u4),lh=((u3={}).User="user",u3.Assistant="assistant",u3),lf=function(e){var t,n,r,i,o;function a(){return Q(this,a),ee(this,a,arguments)}return en(a,e),$(a,[{key:"create",value:(o=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/conversation/message/create?conversation_id=".concat(t),e.next=3,this._client.post(i,n,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t,n){return o.apply(this,arguments)})},{key:"update",value:(i=eo(er().mark(function e(t,n,r,i){var o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o="/v1/conversation/message/modify?conversation_id=".concat(t,"&message_id=").concat(n),e.next=3,this._client.post(o,r,!1,i);case 3:return a=e.sent,e.abrupt("return",a.message);case 5:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return i.apply(this,arguments)})},{key:"retrieve",value:(r=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/conversation/message/retrieve?conversation_id=".concat(t,"&message_id=").concat(n),e.next=3,this._client.get(i,null,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"list",value:(n=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/conversation/message/list?conversation_id=".concat(t),e.next=3,this._client.post(i,n,!1,r);case 3:return o=e.sent,e.abrupt("return",o);case 5:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"delete",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/conversation/message/delete?conversation_id=".concat(t,"&message_id=").concat(n),e.next=3,this._client.post(i,void 0,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})}])}(s1),lg=function(e){var t,n,r,i;function o(){var e;Q(this,o);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=ee(this,o,[].concat(n))).messages=new lf(e._client),e}return en(o,e),$(o,[{key:"create",value:(i=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/conversation/create",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"retrieve",value:(r=eo(er().mark(function e(t,n){var r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/v1/conversation/retrieve?conversation_id=".concat(t),e.next=3,this._client.get(r,null,!1,n);case 3:return i=e.sent,e.abrupt("return",i.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"list",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/conversations",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"clear",value:(t=eo(er().mark(function e(t,n){var r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/v1/conversations/".concat(t,"/clear"),e.next=3,this._client.post(r,null,!1,n);case 3:return i=e.sent,e.abrupt("return",i.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lm=function(e){var t,n;function r(){return Q(this,r),ee(this,r,arguments)}return en(r,e),$(r,[{key:"upload",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/files/upload",sU(t),!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"retrieve",value:(t=eo(er().mark(function e(t,n){var r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/v1/files/retrieve?file_id=".concat(t),e.next=3,this._client.get(r,null,!1,n);case 3:return i=e.sent,e.abrupt("return",i.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),l_=function(e){var t,n;function r(){return Q(this,r),ee(this,r,arguments)}return en(r,e),$(r,[{key:"create",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/workflow/run",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"stream",value:function(e,t){var n=this;return ok(er().mark(function r(){var i,o,a,s,l,u,c;return er().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,ox(n._client.post("/v1/workflow/stream_run",e,!0,t));case 3:i=r.sent,o=!1,a=!1,r.prev=6,l=oB(i);case 8:return r.next=10,ox(l.next());case 10:if(!(o=!(u=r.sent).done)){r.next=28;break}if(c=u.value,r.prev=12,"Done"!==c.event){r.next=18;break}return r.next=16,new lv(Number(c.id),"Done");case 16:r.next=20;break;case 18:return r.next=20,new lv(Number(c.id),c.event,JSON.parse(c.data));case 20:r.next=25;break;case 22:throw r.prev=22,r.t0=r.catch(12),new s5("Could not parse message into JSON:".concat(c.data));case 25:o=!1,r.next=8;break;case 28:r.next=34;break;case 30:r.prev=30,r.t1=r.catch(6),a=!0,s=r.t1;case 34:if(r.prev=34,r.prev=35,!o||null==l.return){r.next=39;break}return r.next=39,ox(l.return());case 39:if(r.prev=39,!a){r.next=42;break}throw s;case 42:return r.finish(39);case 43:return r.finish(34);case 44:case"end":return r.stop()}},r,null,[[6,30,34,44],[12,22],[35,,39,43]])}))()}},{key:"resume",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/workflow/stream_resume",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lv=$(function e(t,n,r){Q(this,e),this.id=t,this.event=n,this.data=r}),lb=function(e){function t(){return Q(this,t),ee(this,t,arguments)}return en(t,e),$(t,[{key:"stream",value:function(e,t){var n=this;return ok(er().mark(function r(){var i,o,a,s,l,u,c,d,p,h;return er().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=G(G({},e),{},{additional_messages:lc(e.additional_messages)}),r.next=4,ox(n._client.post("/v1/workflows/chat",i,!0,t));case 4:o=r.sent,a=!1,s=!1,r.prev=7,u=oB(o);case 9:return r.next=11,ox(u.next());case 11:if(!(a=!(c=r.sent).done)){r.next=31;break}if((d=c.value).event!==lp.DONE){r.next=19;break}return p={event:d.event,data:"[DONE]"},r.next=17,p;case 17:case 23:r.next=28;break;case 19:return r.prev=19,h={event:d.event,data:JSON.parse(d.data)},r.next=23,h;case 25:throw r.prev=25,r.t0=r.catch(19),new s5("Could not parse message into JSON:".concat(d.data));case 28:a=!1,r.next=9;break;case 31:r.next=37;break;case 33:r.prev=33,r.t1=r.catch(7),s=!0,l=r.t1;case 37:if(r.prev=37,r.prev=38,!a||null==u.return){r.next=42;break}return r.next=42,ox(u.return());case 42:if(r.prev=42,!s){r.next=45;break}throw l;case 45:return r.finish(42);case 46:return r.finish(37);case 47:case"end":return r.stop()}},r,null,[[7,33,37,47],[19,25],[38,,42,46]])}))()}}])}(s1),ly=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).runs=new l_(e._client),e.chat=new lb(e._client),e}return en(t,e),$(t)}(s1),lw=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"list",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/workspaces",t,!1,n);case 3:return r=e.sent,e.abrupt("return",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return JSON.parse(e)}catch(e){return t}}(r,r).data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lS={"agw-js-conv":"str"},lA=function(e){var t,n,r;function i(){return Q(this,i),ee(this,i,arguments)}return en(i,e),$(i,[{key:"list",value:function(e,t){return this._client.get("/open_api/knowledge/document/list",e,!1,s3(t,{headers:lS}))}},{key:"create",value:(r=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/create",t,!1,s3(n,{headers:lS}));case 3:return r=e.sent,e.abrupt("return",r.document_infos);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(n=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/delete",t,!1,s3(n,{headers:lS}));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"update",value:(t=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/update",t,!1,s3(n,{headers:lS}));case 3:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lT=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).documents=new lA(e._client),e}return en(t,e),$(t)}(s1),lx={"agw-js-conv":"str"},lk=function(e){var t,n,r,i;function o(){return Q(this,o),ee(this,o,arguments)}return en(o,e),$(o,[{key:"list",value:(i=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/open_api/knowledge/document/list",t,!1,s3(n,{headers:lx}));case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"create",value:(r=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/create",t,!1,s3(n,{headers:lx}));case 3:return r=e.sent,e.abrupt("return",r.document_infos);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"delete",value:(n=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/delete",t,!1,s3(n,{headers:lx}));case 3:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"update",value:(t=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/open_api/knowledge/document/update",t,!1,s3(n,{headers:lx}));case 3:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lM=function(e){var t,n;function r(){return Q(this,r),ee(this,r,arguments)}return en(r,e),$(r,[{key:"update",value:(n=eo(er().mark(function e(t,n,r,i){var o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o="/v1/datasets/".concat(t,"/images/").concat(n),e.next=3,this._client.put(o,r,!1,i);case 3:case"end":return e.stop()}},e,this)})),function(e,t,r,i){return n.apply(this,arguments)})},{key:"list",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/datasets/".concat(t,"/images"),e.next=3,this._client.get(i,n,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})}])}(s1),lP=function(e){var t,n,r,i,o;function a(){var e;Q(this,a);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=ee(this,a,[].concat(n))).documents=new lk(e._client),e.images=new lM(e._client),e}return en(a,e),$(a,[{key:"create",value:(o=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/datasets",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return o.apply(this,arguments)})},{key:"list",value:(i=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/datasets",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return i.apply(this,arguments)})},{key:"update",value:(r=eo(er().mark(function e(t,n,r){var i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/datasets/".concat(t),e.next=3,this._client.put(i,n,!1,r);case 3:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"delete",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/v1/datasets/".concat(t),e.next=3,this._client.delete(r,!1,n);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"process",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/datasets/".concat(t,"/process"),e.next=3,this._client.post(i,n,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})}])}(s1),lI=function(e){var t,n;function r(){return Q(this,r),ee(this,r,arguments)}return en(r,e),$(r,[{key:"clone",value:(n=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/audio/voices/clone",sU(t),!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"list",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.get("/v1/audio/voices",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lE=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/audio/transcriptions",sU(t),!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lC=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/audio/speech",G(G({},t),{},{sample_rate:t.sample_rate||24e3}),!1,s3(n,{responseType:"arraybuffer"}));case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lO=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.post("/v1/audio/rooms",t,!1,n);case 3:return r=e.sent,e.abrupt("return",r.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lD=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).rooms=new lO(e._client),e.voices=new lI(e._client),e.speech=new lC(e._client),e.transcriptions=new lE(e._client),e}return en(t,e),$(t)}(s1),lL=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"duplicate",value:(t=eo(er().mark(function e(t,n,r){var i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v1/templates/".concat(t,"/duplicate"),e.next=3,this._client.post(i,n,!1,r);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})}])}(s1),lB=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/v1/chat?bot_id=".concat(t),e.next=3,this._client.makeWebsocket(r,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}(s1),lN=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.makeWebsocket("/v1/audio/transcriptions",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})}])}(s1),lR=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"create",value:(t=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._client.makeWebsocket("/v1/audio/speech",t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})}])}(s1),lj=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).speech=new lR(e._client),e.transcriptions=new lN(e._client),e}return en(t,e),$(t)}(s1),lU=((u5={}).CLIENT_ERROR="client_error",u5.CLOSED="closed",u5.ERROR="error",u5.INPUT_TEXT_BUFFER_APPEND="input_text_buffer.append",u5.INPUT_TEXT_BUFFER_COMPLETE="input_text_buffer.complete",u5.SPEECH_UPDATE="speech.update",u5.SPEECH_UPDATED="speech.updated",u5.SPEECH_CREATED="speech.created",u5.INPUT_TEXT_BUFFER_COMPLETED="input_text_buffer.completed",u5.SPEECH_AUDIO_UPDATE="speech.audio.update",u5.SPEECH_AUDIO_COMPLETED="speech.audio.completed",u5.INPUT_AUDIO_BUFFER_APPEND="input_audio_buffer.append",u5.INPUT_AUDIO_BUFFER_COMPLETE="input_audio_buffer.complete",u5.TRANSCRIPTIONS_UPDATE="transcriptions.update",u5.INPUT_AUDIO_BUFFER_CLEAR="input_audio_buffer.clear",u5.TRANSCRIPTIONS_CREATED="transcriptions.created",u5.INPUT_AUDIO_BUFFER_COMPLETED="input_audio_buffer.completed",u5.TRANSCRIPTIONS_MESSAGE_UPDATE="transcriptions.message.update",u5.TRANSCRIPTIONS_MESSAGE_COMPLETED="transcriptions.message.completed",u5.INPUT_AUDIO_BUFFER_CLEARED="input_audio_buffer.cleared",u5.TRANSCRIPTIONS_UPDATED="transcriptions.updated",u5.CHAT_UPDATE="chat.update",u5.CONVERSATION_CHAT_SUBMIT_TOOL_OUTPUTS="conversation.chat.submit_tool_outputs",u5.CHAT_CREATED="chat.created",u5.CHAT_UPDATED="chat.updated",u5.CONVERSATION_CHAT_CREATED="conversation.chat.created",u5.CONVERSATION_MESSAGE_CREATE="conversation.message.create",u5.CONVERSATION_CLEAR="conversation.clear",u5.CONVERSATION_CHAT_IN_PROGRESS="conversation.chat.in_progress",u5.CONVERSATION_MESSAGE_DELTA="conversation.message.delta",u5.CONVERSATION_CHAT_REQUIRES_ACTION="conversation.chat.requires_action",u5.CONVERSATION_MESSAGE_COMPLETED="conversation.message.completed",u5.CONVERSATION_AUDIO_DELTA="conversation.audio.delta",u5.CONVERSATION_AUDIO_COMPLETED="conversation.audio.completed",u5.CONVERSATION_CHAT_COMPLETED="conversation.chat.completed",u5.CONVERSATION_CHAT_FAILED="conversation.chat.failed",u5.CONVERSATION_CLEARED="conversation.cleared",u5),lz=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).audio=new lj(e._client),e.chat=new lB(e._client),e}return en(t,e),$(t)}(s1),lF=$(function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q(this,e),this.onmessage=null,this.onopen=null,this.onclose=null,this.onerror=null;var i=t.includes("?")?"&":"?",o=(r.headers||{}).authorization;this.rws=new sQ("".concat(t).concat(i,"authorization=").concat(o),[],G({WebSocket:s4()?window.WebSocket:function(e){function t(e,n){return Q(this,t),ee(this,t,[e,n,{headers:r.headers}])}return en(t,e),$(t)}(sz)},r)),this.rws.addEventListener("message",function(e){try{var t,r=JSON.parse(e.data);null===(t=n.onmessage)||void 0===t||t.call(n,r,e)}catch(e){console.error("WebSocketAPI onmessage error",e)}}),this.rws.addEventListener("open",function(e){var t;null===(t=n.onopen)||void 0===t||t.call(n,e)}),this.rws.addEventListener("close",function(e){var t;null===(t=n.onclose)||void 0===t||t.call(n,e)}),this.rws.addEventListener("error",function(e){var t,r,i,o,a,s,l,u=null===(i=e.target)||void 0===i||null===(r=i._req)||void 0===r||null===(t=r.res)||void 0===t?void 0:t.statusCode,c=(null===(s=e.target)||void 0===s||null===(a=s._req)||void 0===a||null===(o=a.res)||void 0===o?void 0:o.rawHeaders)||[],d=c.findIndex(function(e){return"X-Tt-Logid"===e}),p=-1!==d?c[d+1]:void 0,h={id:"0",event_type:lU.ERROR,data:{code:-1,msg:"WebSocket error"},detail:{logid:p}};401===u?(h.data.code=401,h.data.msg="Unauthorized"):403===u?(h.data.code=403,h.data.msg="Forbidden"):(h.data.code=500,h.data.msg=String(null==e?void 0:e.error)||"WebSocket error"),null===(l=n.onerror)||void 0===l||l.call(n,h,e)})},[{key:"readyState",get:function(){return this.rws.readyState}},{key:"send",value:function(e){return this.rws.send(JSON.stringify(e))}},{key:"close",value:function(e,t){return this.rws.close(e,t)}},{key:"reconnect",value:function(e,t){return this.rws.reconnect(e,t)}},{key:"addEventListener",value:function(e,t){this.rws.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.rws.removeEventListener(e,t)}}]),lG=JSON.parse('{"name":"@coze/api","version":"1.0.20","description":"Official Coze Node.js SDK for seamless AI integration into your applications | 鎵e瓙瀹樻柟 Node.js SDK锛屽姪鎮ㄨ交鏉鹃泦鎴 AI 鑳藉姏鍒板簲鐢ㄤ腑","keywords":["coze","ai","nodejs","sdk","chatbot","typescript"],"homepage":"https://github.com/coze-dev/coze-js/tree/main/packages/coze-js","bugs":{"url":"https://github.com/coze-dev/coze-js/issues"},"repository":{"type":"git","url":"https://github.com/coze-dev/coze-js.git","directory":"packages/coze-js"},"license":"MIT","author":"Leeight <leeight@gmail.com>","type":"module","exports":{".":"./src/index.ts"},"main":"src/index.ts","module":"src/index.ts","browser":{"crypto":false,"os":false,"jsonwebtoken":false,"node-fetch":false},"types":"src/index.ts","files":["dist","LICENSE","README.md","README.zh-CN.md"],"scripts":{"build":"rslib build","format":"prettier --write .","lint":"eslint ./ --cache --quiet","start":"rslib build -w","test":"vitest","test:cov":"vitest --coverage --run"},"dependencies":{"jsonwebtoken":"^9.0.2","node-fetch":"^2.x","reconnecting-websocket":"^4.4.0","ws":"^8.11.0"},"devDependencies":{"@coze-infra/eslint-config":"workspace:*","@coze-infra/ts-config":"workspace:*","@coze-infra/vitest-config":"workspace:*","@rslib/core":"0.0.18","@swc/core":"^1.3.14","@types/jsonwebtoken":"^9.0.0","@types/node":"^20","@types/node-fetch":"^2.x","@types/uuid":"^9.0.1","@types/whatwg-fetch":"^0.0.33","@types/ws":"^8.5.1","@vitest/coverage-v8":"~2.1.4","axios":"^1.7.7","typescript":"^5.5.3","vitest":"~2.1.4"},"peerDependencies":{"axios":"^1.7.1"},"cozePublishConfig":{"exports":{".":{"require":"./dist/cjs/index.cjs","import":"./dist/esm/index.js","types":"./dist/types/index.d.ts"}},"main":"dist/cjs/index.cjs","module":"dist/esm/index.js","types":"dist/types/index.d.ts"}}').version,lq=function(){var e=process.version.slice(1),t=process.platform,n=t.toLowerCase(),r=sY.release();if("darwin"===t){n="macos";try{var i=sY.release().split(".");if(i.length>=2){var o=parseInt(i[0],10);!isNaN(o)&&o>=9&&(r="10.".concat(o-9,".").concat(i[1]))}}catch(e){}}else"win32"===t?(n="windows",r=sY.release()):"linux"===t&&(n="linux",r=sY.release());return{osName:n,osVersion:r,nodeVersion:e}},lW=function(){var e=lq(),t=e.nodeVersion,n=e.osName,r=e.osVersion;return"coze-js/".concat(lG," node/").concat(t," ").concat(n,"/").concat(r).toLowerCase()},lZ=function(){var e=lq(),t=e.osVersion;return JSON.stringify({version:lG,lang:"node",lang_version:e.nodeVersion,os_name:e.osName,os_version:t})},lH=function(){var e,t,n,r,i,o={name:"unknown",version:"unknown"},a={name:"unknown",version:"unknown"},s=navigator.userAgent;if(s.indexOf("Windows")>-1){a.name="windows";var l,u=(null===(l=s.match(/Windows NT ([0-9.]+)/))||void 0===l?void 0:l[1])||"unknown";a.version=u}else s.indexOf("Mac OS X")>-1?(a.name="macos",a.version=((null===(e=s.match(/Mac OS X ([0-9_]+)/))||void 0===e?void 0:e[1])||"unknown").replace(/_/g,".")):s.indexOf("Linux")>-1&&(a.name="linux",a.version=(null===(t=s.match(/Linux ([0-9.]+)/))||void 0===t?void 0:t[1])||"unknown");return s.indexOf("Chrome")>-1?(o.name="chrome",o.version=(null===(i=s.match(/Chrome\/([0-9.]+)/))||void 0===i?void 0:i[1])||"unknown"):s.indexOf("Firefox")>-1?(o.name="firefox",o.version=(null===(n=s.match(/Firefox\/([0-9.]+)/))||void 0===n?void 0:n[1])||"unknown"):s.indexOf("Safari")>-1&&(o.name="safari",o.version=(null===(r=s.match(/Version\/([0-9.]+)/))||void 0===r?void 0:r[1])||"unknown"),JSON.stringify({version:lG,browser:o.name,browser_version:o.version,os_name:a.name,os_version:a.version})},lV=function(e){var t,n,r,i;return e.isAxiosError||e.code&&e.message?"ECONNABORTED"===e.code&&e.message.includes("timeout")||"ETIMEDOUT"===e.code?new lr(408,void 0,"Request timed out: ".concat(e.message),null===(t=e.response)||void 0===t?void 0:t.headers):"ERR_CANCELED"===e.code?new s9(e.message):s6.generate((null===(n=e.response)||void 0===n?void 0:n.status)||500,null===(r=e.response)||void 0===r?void 0:r.data,e.message,null===(i=e.response)||void 0===i?void 0:i.headers):new s5("Unexpected error: ".concat(e.message))},lQ=(u6=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s$(t.url,G({body:t.data},t));case 2:return n=e.sent,e.abrupt("return",G({data:n.body},n));case 4:case"end":return e.stop()}},e)})),function(e){return u6.apply(this,arguments)});function lY(){return(lY=eo(er().mark(function e(t){var n,r,i,o,a=arguments;return er().wrap(function(e){for(var s;;)switch(e.prev=e.next){case 0:if(r=(n=a.length>1&&void 0!==a[1]?a[1]:{}).axiosInstance||sB,!n.isStreaming||!(null==(s=r)?void 0:s.Axios)||(i=r.VERSION||sB.VERSION)&&!(0>l$(i,"1.7.1"))){e.next=6;break}throw new s5("Streaming requests require axios version 1.7.1 or higher. Please upgrade your axios version.");case 6:return e.next=8,r(G({url:t,responseType:n.isStreaming?"stream":"json",adapter:n.isStreaming?s4()||l$(process.version.slice(1),"18.0.0")>=0?"fetch":lQ:void 0},n)).catch(function(e){throw lV(e)});case 8:return o=e.sent,e.abrupt("return",{stream:function(){return ok(er().mark(function e(){var t,n,r,i,a,s,l,u,c,d,p,h,f,g;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,n=(t=o.data)[Symbol.asyncIterator]?t[Symbol.asyncIterator]():t.getReader(),r=new TextDecoder,i={},a="";case 6:return e.next=9,ox(n.next?n.next():n.read());case 9:if(l=(s=e.sent).done,u=s.value,!l){e.next=19;break}if(!a){e.next=18;break}return i.event="error",i.data=a,e.next=18,i;case 18:return e.abrupt("break",38);case 19:a+=r.decode(u,{stream:!0}),c=a.split("\n"),d=0;case 22:if(!(d<c.length-1)){e.next=35;break}if(-1===(h=(p=c[d]).indexOf(":"))||(f=p.substring(0,h).trim(),g=p.substring(h+1).trim(),i[f]=g,"data"!==f)){e.next=32;break}return e.next=32,i;case 32:d++,e.next=22;break;case 35:a=c[c.length-1],e.next=6;break;case 38:e.next=43;break;case 40:e.prev=40,e.t0=e.catch(0),lV(e.t0);case 43:case"end":return e.stop()}},e,null,[[0,40]])}))()},json:function(){return o.data},response:o});case 10:case"end":return e.stop()}},e)}))).apply(this,arguments)}function l$(e,t){for(var n=e.split(".").map(Number),r=t.split(".").map(Number),i=0;i<3;i++){var o=n[i]||0,a=r[i]||0;if(o>a)return 1;if(o<a)return -1}return 0}var lK=$(function e(t){var n;if(Q(this,e),this._config=t,this.baseURL=t.baseURL||"https://api.coze.com",this.baseWsURL=t.baseWsURL||"wss://ws.coze.com",this.token=t.token,this.axiosOptions=t.axiosOptions||{},this.axiosInstance=t.axiosInstance,this.debug=t.debug||!1,this.allowPersonalAccessTokenInBrowser=t.allowPersonalAccessTokenInBrowser||!1,this.headers=t.headers,s4()&&"function"!=typeof this.token&&(null==(n=this.token)?void 0:n.startsWith("pat_"))&&!this.allowPersonalAccessTokenInBrowser)throw new s5("Browser environments do not support authentication using Personal Access Token (PAT) by default.\nas it may expose secret API keys. \n\nPlease use OAuth2.0 authentication mechanism. see:\nhttps://www.coze.com/docs/developer_guides/oauth_apps?_lang=en \n\nIf you need to force use, please set the `allowPersonalAccessTokenInBrowser` option to `true`. \n\ne.g new CozeAPI({ token, allowPersonalAccessTokenInBrowser: true });\n\n")},[{key:"getToken",value:(ci=eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof this.token){e.next=4;break}return e.next=3,this.token();case 3:return e.abrupt("return",e.sent);case 4:return e.abrupt("return",this.token);case 5:case"end":return e.stop()}},e,this)})),function(){return ci.apply(this,arguments)})},{key:"buildOptions",value:(cr=eo(er().mark(function e(t,n,r){var i,o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getToken();case 2:return i=e.sent,o={authorization:"Bearer ".concat(i)},s4()?o["X-Coze-Client-User-Agent"]=lH():(o["User-Agent"]=lW(),o["X-Coze-Client-User-Agent"]=lZ()),(a=s3(this.axiosOptions,r,{headers:o},{headers:this.headers||{}})).method=t,a.data=n,e.abrupt("return",a);case 9:case"end":return e.stop()}},e,this)})),function(e,t,n){return cr.apply(this,arguments)})},{key:"buildWebsocketOptions",value:(cn=eo(er().mark(function e(t){var n,r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getToken();case 2:return n=e.sent,r={authorization:"Bearer ".concat(n)},s4()?r["X-Coze-Client-User-Agent"]=lH():(r["User-Agent"]=lW(),r["X-Coze-Client-User-Agent"]=lZ()),o=s3({debug:null!==(i=this._config.debug)&&void 0!==i&&i},this._config.websocketOptions,t,{headers:r},{headers:this.headers||{}}),e.abrupt("return",o);case 7:case"end":return e.stop()}},e,this)})),function(e){return cn.apply(this,arguments)})},{key:"makeRequest",value:(ct=eo(er().mark(function e(t,n,r,i,o){var a,s,l,u,c,d,p,h,f,g,m,_,v,b;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(this.baseURL).concat(t),e.next=3,this.buildOptions(n,r,o);case 3:return(s=e.sent).isStreaming=i,s.axiosInstance=this.axiosInstance,this.debugLog(null==o?void 0:o.debug,"--- request url: ".concat(a)),this.debugLog(null==o?void 0:o.debug,"--- request options:",s),e.next=10,function(e){return lY.apply(this,arguments)}(a,s);case 10:if(u=(l=e.sent).response,c=l.stream,d=l.json,this.debugLog(null==o?void 0:o.debug,"--- response status: ".concat(u.status)),this.debugLog(null==o?void 0:o.debug,"--- response headers: ",u.headers),h=(null!==(p=u.headers)&&void 0!==p?p:u.header)["content-type"],!i){e.next=26;break}if(!h||!h.includes("application/json")){e.next=25;break}return e.next=21,d();case 21:if(g=(f=e.sent).code,m=f.msg,0===g||void 0===g){e.next=25;break}throw s6.generate(u.status,f,m,u.headers);case 25:return e.abrupt("return",c());case 26:if(h&&h.includes("application/json")){e.next=30;break}return e.next=29,u.data;case 29:return e.abrupt("return",e.sent);case 30:return e.next=32,d();case 32:if(v=(_=e.sent).code,b=_.msg,0===v||void 0===v){e.next=36;break}throw s6.generate(u.status,_,b,u.headers);case 36:return e.abrupt("return",_);case 37:case"end":return e.stop()}},e,this)})),function(e,t,n,r,i){return ct.apply(this,arguments)})},{key:"post",value:(ce=eo(er().mark(function e(t,n){var r,i,o=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>2&&void 0!==o[2]&&o[2],i=o.length>3?o[3]:void 0,e.abrupt("return",this.makeRequest(t,"POST",n,r,i));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return ce.apply(this,arguments)})},{key:"get",value:(co=eo(er().mark(function e(t,n,r,i){var o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=Object.entries(n||{}).map(function(e){var t=eu(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(r)}).join("&"),e.abrupt("return",this.makeRequest(o?"".concat(t).concat(t.includes("?")?"&":"?").concat(o):t,"GET",void 0,r,i));case 2:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return co.apply(this,arguments)})},{key:"put",value:(u7=eo(er().mark(function e(t,n,r,i){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.makeRequest(t,"PUT",n,r,i));case 1:case"end":return e.stop()}},e,this)})),function(e,t,n,r){return u7.apply(this,arguments)})},{key:"delete",value:(u9=eo(er().mark(function e(t,n,r){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.makeRequest(t,"DELETE",void 0,n,r));case 1:case"end":return e.stop()}},e,this)})),function(e,t,n){return u9.apply(this,arguments)})},{key:"makeWebsocket",value:(u8=eo(er().mark(function e(t,n){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="".concat(this.baseWsURL).concat(t),e.next=3,this.buildWebsocketOptions(n);case 3:return i=e.sent,this.debugLog(null==n?void 0:n.debug,"--- websocket url: ".concat(r)),this.debugLog(null==n?void 0:n.debug,"--- websocket options:",i),o=new lF(r,i),e.abrupt("return",o);case 8:case"end":return e.stop()}},e,this)})),function(e,t){return u8.apply(this,arguments)})},{key:"getConfig",value:function(){return this._config}},{key:"debugLog",value:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(this.debug||t)&&(e=console).debug.apply(e,r)}}]);lK.APIError=s6,lK.BadRequestError=s7,lK.AuthenticationError=le,lK.PermissionDeniedError=lt,lK.NotFoundError=ln,lK.RateLimitError=li,lK.InternalServerError=lo,lK.GatewayError=la,lK.TimeoutError=lr,lK.UserAbortError=s9;var lX=function(e){function t(){var e;Q(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=ee(this,t,[].concat(r))).bots=new s2(J(e)),e.chat=new ld(J(e)),e.conversations=new lg(J(e)),e.files=new lm(J(e)),e.knowledge=new lT(J(e)),e.datasets=new lP(J(e)),e.workflows=new ly(J(e)),e.workspaces=new lw(J(e)),e.audio=new lD(J(e)),e.templates=new lL(J(e)),e.websockets=new lz(J(e)),e}return en(t,e),$(t)}(lK),lJ=function(e){function t(e,n){var r;return Q(this,t),z(r=ee(this,t,[n]),"code",void 0),z(r,"msg",void 0),r.code=e,r.msg=n,r}return en(t,e),$(t,[{key:"getErrorMessageByI18n",value:function(e,t,n){return e.t("miniChatError_".concat(this.code),t,n||this.msg)}}])}(sj(Error)),l0=function(e){return new lJ((null==e?void 0:e.code)||-1,(null==e?void 0:e.msg)||(null==e?void 0:e.message)||(null==e?void 0:e.stack)||"unknown error")},l1=((ca={})[ca.Unknown=-1]="Unknown",ca[ca.Audio_Permission_Denied=1e3]="Audio_Permission_Denied",ca[ca.Audio_Translation_NoContent=1001]="Audio_Translation_NoContent",ca[ca.Custom_Conversation_Create_Error=1002]="Custom_Conversation_Create_Error",ca[ca.Custom_GetMessageList_Error=10003]="Custom_GetMessageList_Error",ca[ca.SDK_API_OVERDUE_PAYMENT=4011]="SDK_API_OVERDUE_PAYMENT",ca[ca.SDK_API_APP_UnPublished=4015]="SDK_API_APP_UnPublished",ca),l2=function(e){var t=e.url,n=e.method,r=e.data,i=e.headers,o=nU(i.toJSON)?i.toJSON():i;o["Content-Type"]=o["Content-Type"]||"application/json",o_.debug("taroAdapter:",e);var a="arraybuffer"===e.responseType?"arraybuffer":"text";return new Promise(function(i,s){ih({url:t,method:(null!=n?n:"GET").toUpperCase(),data:r,header:o,responseType:a,timeout:6e5,success:function(t){i({data:t.data,status:t.statusCode,statusText:t.errMsg,headers:t.header,config:e})},fail:function(e){s(e)}})})},l4=["onRefreshToken","axiosOptions"],l3=((cs=l3||{})[cs.ERROR_FORBIDDEN=401]="ERROR_FORBIDDEN",cs[cs.ERROR_INVALID_TOKEN=4100]="ERROR_INVALID_TOKEN",cs[cs.ERROR_TOKEN_FORBIDDEN=4101]="ERROR_TOKEN_FORBIDDEN",cs[cs.ERROR_TOKEN_FAILED=700012006]="ERROR_TOKEN_FAILED",cs),l5=function(e){var t,n;function r(e){var t,n=e.onRefreshToken,i=e.axiosOptions,o=R(e,l4);return Q(this,r),z(t=ee(this,r,[G(G({},o),{},{axiosOptions:G(G({},i||{}),{},{timeout:6e5,validateStatus:function(){return!0}})})]),"onRefreshToken",void 0),z(t,"refreshTokenPromise",void 0),t.onRefreshToken=n,t.axiosInstance=sB.create({adapter:oI?void 0:l2}),t.useAuthError(),t.mixTaroUpload(),t}return en(r,e),$(r,[{key:"useAuthError",value:function(){var e,t,n=this;this.useResponseInterceptors((e=eo(er().mark(function e(t){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=((null==t?void 0:t.data)||{}).code,!n.isAuthErrorCode(r||t.status)){e.next=12;break}return o_.error("request auth error :",r||t.status),i=n.getTokenFromHeaderAuth(String(t.config.headers.getAuthorization()||"")),e.next=6,n.refreshToken(i);case 6:if(!(o=e.sent)){e.next=12;break}return t.config.headers.Authorization="Bearer ".concat(o),e.next=11,sB.request(t.config);case 11:return e.abrupt("return",e.sent);case 12:if(!(t.status<200||t.status>400)){e.next=15;break}throw o_.error("request error:",t),Error(t.statusText);case 15:return e.abrupt("return",t);case 16:case"end":return e.stop()}},e)})),function(t){return e.apply(this,arguments)}),(t=eo(er().mark(function e(t){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=((null==t?void 0:t.data)||{}).code,!n.isAuthErrorCode(r||t.status)){e.next=11;break}return i=n.getTokenFromHeaderAuth(String(t.config.headers.getAuthorization()||"")),e.next=5,n.refreshToken(i);case 5:if(!(o=e.sent)){e.next=11;break}return t.config.headers.Authorization="Bearer ".concat(o),e.next=10,sB.request(t.config);case 10:return e.abrupt("return",e.sent);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}))}},{key:"isAuthErrorCode",value:function(e){return[l3.ERROR_FORBIDDEN,l3.ERROR_INVALID_TOKEN,l3.ERROR_TOKEN_FORBIDDEN,l3.ERROR_TOKEN_FAILED].includes(e)}},{key:"getTokenFromHeaderAuth",value:function(e){return e.replace(/^\s*Bearer\s*/,"").replace(/\s+$/,"")}},{key:"refreshToken",value:(n=eo(er().mark(function e(t){var n,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.refreshTokenPromise){e.next=2;break}return e.abrupt("return",this.refreshTokenPromise);case 2:if(t===this.token){e.next=4;break}return e.abrupt("return",this.token);case 4:return this.refreshTokenPromise=null===(n=this.onRefreshToken)||void 0===n?void 0:n.call(this,this.token),e.next=7,this.refreshTokenPromise;case 7:return r=e.sent,this.refreshTokenPromise=void 0,this.token=r||"",e.abrupt("return",this.token);case 11:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"useResponseInterceptors",value:function(e,t){this.getAxiosInstance().interceptors.response.use(e,t)}},{key:"useRequestInterceptors",value:function(e){this.getAxiosInstance().interceptors.request.use(e)}},{key:"getAxiosInstance",value:function(){return this.axiosInstance}},{key:"makeRequest",value:function(e,t,n,i,o){if(oI||!i)try{return rk(r,"makeRequest",this,3)([e,t,n,i,o])}catch(e){console.log("makeRequestError:",e)}return this.requestMiniSse({apiUrl:e,method:t,body:n,options:o})}},{key:"requestMiniSse",value:function(e){var t=this,n=e.apiUrl,r=e.method,i=e.body,o=e.options,a=e.retryNum,s=void 0===a?0:a;return ok(er().mark(function e(){var a,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:u=function(){var e=eo(er().mark(function e(){var a,l,u=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=u.length>0&&void 0!==u[0]?u[0]:-1,l=u.length>1&&void 0!==u[1]?u[1]:"unknown error",0!==s){e.next=8;break}return e.next=5,t.refreshToken(c);case 5:return e.abrupt("return",t.requestMiniSse({apiUrl:n,method:r,body:i,options:o,retryNum:s+1}));case 8:throw new lJ(a,l);case 9:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),c=t.token,d=function(e){return oL.apply(this,arguments)}(G({url:"".concat(null!==(a=t.baseURL)&&void 0!==a?a:"","/").concat(n),method:r,data:i,header:G(G(G({},(null===(l=t.axiosOptions)||void 0===l?void 0:l.headers)||{}),(null==o?void 0:o.headers)||{}),{},{Authorization:"Bearer ".concat(t.token)})},o||{})),p=0,h=!1,f=!1,e.prev=7,m=oB(d);case 9:return e.next=11,ox(m.next());case 11:if(!(h=!(_=e.sent).done)){e.next=27;break}if((null==(v=_.value)?void 0:v.event)!==oh){e.next=20;break}if(w=void 0===(y=(b=v.data||{}).code)?-1:y,A=void 0===(S=b.msg)?"unknown error":S,!t.isAuthErrorCode(w)){e.next=19;break}return e.next=18,ox(u(w,A));case 18:return e.abrupt("return",e.sent);case 19:throw new lJ(w||0,A);case 20:if(!v){e.next=24;break}return p++,e.next=24,v;case 24:h=!1,e.next=9;break;case 27:e.next=33;break;case 29:e.prev=29,e.t0=e.catch(7),f=!0,g=e.t0;case 33:if(e.prev=33,e.prev=34,!h||null==m.return){e.next=38;break}return e.next=38,ox(m.return());case 38:if(e.prev=38,!f){e.next=41;break}throw g;case 41:return e.finish(38);case 42:return e.finish(33);case 43:if(0!==p){e.next=51;break}if(!oC){e.next=50;break}return e.next=47,ox(u());case 47:return e.abrupt("return",e.sent);case 50:throw new lJ(-1,"unknown error");case 51:case"end":return e.stop()}},e,null,[[7,29,33,43],[34,,38,42]])}))()}},{key:"mixTaroUpload",value:function(){var e=this;oI||(this.files.upload=function(t,n){return e._uploadFile({params:t,options:n,urlPath:"/v1/files/upload"})}),this.audio.transcriptions=function(t,n){return o_.debug("translation params",t),e._uploadFile({params:t,options:n,urlPath:"/v1/audio/transcriptions"})}}},{key:"_uploadFile",value:(t=eo(er().mark(function e(t){var n,r,i,o,a,s,l,u,c,d,p,h,f,g,m;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.params,i=t.options,a=void 0===(o=t.retryNum)?0:o,s=t.urlPath,l="".concat(null!==(n=this.baseURL)&&void 0!==n?n:"").concat(s),u=this.token,e.prev=3,e.next=6,sR({url:l,filePath:r.file.filePath,name:"file",fileName:r.file.fileName,withCredentials:!1,header:G(G(G({},(null===(c=this.axiosOptions)||void 0===c?void 0:c.headers)||{}),(null==i?void 0:i.headers)||{}),{},{Authorization:"Bearer ".concat(this.token)}),timeout:null==i?void 0:i.timeout});case 6:if(f=void 0===(h=(p=nx((d=e.sent).data)||{code:-1}).code)?-1:h,g=p.data,o_.debug("_uploadFile:",{code:f,data:g}),0===f&&g){e.next=17;break}if(!this.isAuthErrorCode(f||d.statusCode)||0===a){e.next=16;break}return e.next=13,this.refreshToken(u);case 13:return e.next=15,this._uploadFile({params:r,options:i,retryNum:a+1,urlPath:s});case 15:return e.abrupt("return",e.sent);case 16:throw new lJ(f||-1,"upload file failed");case 17:return e.abrupt("return",g);case 20:throw e.prev=20,e.t0=e.catch(3),m=l0(e.t0),o_.error("upload file error",e.t0),m;case 25:case"end":return e.stop()}},e,this,[[3,20]])})),function(e){return t.apply(this,arguments)})}])}(lX),l6=function(){},l8=$(function e(){Q(this,e),this.options={alertText:"",itemList:[],itemColor:"#000000",success:l6,fail:l6,complete:l6},this.style={maskStyle:{position:"fixed","z-index":"1000",top:"0",right:"0",left:"0",bottom:"0",background:"rgba(0,0,0,0.6)"},actionSheetStyle:{"z-index":"4999",position:"fixed",left:"0",bottom:"0","-webkit-transform":"translate(0, 100%)",transform:"translate(0, 100%)",width:"100%","line-height":"1.6",background:"#EFEFF4","-webkit-transition":"-webkit-transform .3s",transition:"transform .3s","border-radius":"15px 15px 0 0"},menuStyle:{"background-color":"#FCFCFD","border-radius":"15px 15px 0 0"},cellStyle:{position:"relative",padding:"10px 0","text-align":"center","font-size":"18px"},titleStyle:{position:"relative",padding:"10px 0","text-align":"center","font-size":"16px",color:"rgba(0,0,0,0.8)",display:"none"},cancelStyle:{"margin-top":"6px",padding:"10px 0","text-align":"center","font-size":"18px",color:"#000000","background-color":"#FCFCFD"}},this.lastConfig={}},[{key:"create",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n){var r=e.style,i=r.maskStyle,o=r.actionSheetStyle,a=r.menuStyle,s=r.cellStyle,l=r.titleStyle,u=r.cancelStyle,c=Object.assign(Object.assign({},e.options),t);e.lastConfig=c,e.el=document.createElement("div"),e.el.className="taro__actionSheet",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear",e.mask=document.createElement("div"),e.mask.setAttribute("style",rc(i)),e.actionSheet=document.createElement("div"),e.actionSheet.setAttribute("style",rc(o)),e.menu=document.createElement("div"),e.menu.setAttribute("style",rc(Object.assign(Object.assign({},a),{color:c.itemColor}))),e.cells=c.itemList.map(function(t,r){var i=document.createElement("div");return i.className="taro-actionsheet__cell",i.setAttribute("style",rc(s)),i.textContent=t,i.dataset.tapIndex="".concat(r),i.onclick=function(t){e.hide();var r=t.currentTarget;n(Number(null==r?void 0:r.dataset.tapIndex)||0)},i}),e.title=document.createElement("div"),e.title.setAttribute("style",rc(l)),e.title.className="taro-actionsheet__cell",e.title.textContent=c.alertText,e.title.style.display=c.alertText?"block":"none",e.cancel=document.createElement("div"),e.cancel.setAttribute("style",rc(u)),e.cancel.textContent="鍙栨秷",e.menu.appendChild(e.title),e.cells.forEach(function(t){return e.menu.appendChild(t)}),e.actionSheet.appendChild(e.menu),e.actionSheet.appendChild(e.cancel),e.el.appendChild(e.mask),e.el.appendChild(e.actionSheet);var d=function(){e.hide(),n("cancel")};e.mask.onclick=d,e.cancel.onclick=d,document.body.appendChild(e.el),setTimeout(function(){e.el.style.opacity="1",rd(e.actionSheet,"translate(0, 0)")},0)})}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n){var r=Object.assign(Object.assign({},e.options),t);e.lastConfig=r,e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer),r.itemColor&&(e.menu.style.color=r.itemColor);var i=e.style.cellStyle;r.itemList.forEach(function(t,r){var o;e.cells[r]?o=e.cells[r]:((o=document.createElement("div")).className="taro-actionsheet__cell",o.setAttribute("style",rc(i)),o.dataset.tapIndex="".concat(r),e.cells.push(o),e.menu.appendChild(o)),o.textContent=t,o.onclick=function(t){e.hide();var r=t.currentTarget;n(Number(null==r?void 0:r.dataset.tapIndex)||0)}});var o=e.cells.length,a=r.itemList.length;if(o>a){for(var s=a;s<o;s++)e.menu.removeChild(e.cells[s]);e.cells.splice(a)}e.title.textContent=r.alertText,e.title.style.display=r.alertText?"block":"none";var l=function(){e.hide(),n("cancel")};e.mask.onclick=l,e.cancel.onclick=l,e.el.style.display="block",setTimeout(function(){e.el.style.opacity="1",rd(e.actionSheet,"translate(0, 0)")},0)})}},{key:"hide",value:function(){var e=this;this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.hideOpacityTimer=setTimeout(function(){e.el.style.opacity="0",rd(e.actionSheet,"translate(0, 100%)"),e.hideDisplayTimer=setTimeout(function(){e.el.style.display="none"},200)},0)}}]),l9=$(function e(){Q(this,e),this.options={title:"",content:"",showCancel:!0,cancelText:"鍙栨秷",cancelColor:"#000000",confirmText:"纭畾",confirmColor:"#3CC51F"},this.style={maskStyle:{position:"fixed","z-index":"1000",top:"0",right:"0",left:"0",bottom:"0",background:"rgba(0,0,0,0.6)"},modalStyle:{"z-index":"4999",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%","max-width":"300px","border-radius":"3px","text-align":"center","line-height":"1.6",overflow:"hidden",background:"#FFFFFF"},titleStyle:{padding:"20px 24px 9px","font-size":"18px"},textStyle:{padding:"0 24px 12px","min-height":"40px","font-size":"15px","line-height":"1.3",color:"#808080","word-wrap":"break-word","word-break":"break-all"},footStyle:{position:"relative","line-height":"48px","font-size":"18px",display:"flex"},btnStyle:{position:"relative","-webkit-box-flex":"1","-webkit-flex":"1",flex:"1"}}},[{key:"create",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n){var r,i,o=e.style,a=o.maskStyle,s=o.modalStyle,l=o.titleStyle,u=o.textStyle,c=o.footStyle,d=o.btnStyle,p=Object.assign(Object.assign({},e.options),t);e.el=document.createElement("div"),e.el.className="taro__modal",e.el.style.opacity="0",e.el.style.transition="opacity 0.2s linear";var h=function(e){e.stopPropagation(),e.preventDefault()},f=document.createElement("div");f.className="taro-modal__mask",f.setAttribute("style",rc(a)),f.ontouchmove=h;var g=document.createElement("div");g.className="taro-modal__content",g.setAttribute("style",rc(s)),g.ontouchmove=h;var m=p.title?l:Object.assign(Object.assign({},l),{display:"none"});e.title=document.createElement("div"),e.title.className="taro-modal__title",e.title.setAttribute("style",rc(m)),e.title.textContent=p.title;var _=p.title?u:Object.assign(Object.assign({},u),{padding:"40px 20px 26px",color:"#353535"});e.text=document.createElement("div"),e.text.className="taro-modal__text",e.text.setAttribute("style",rc(_)),e.text.textContent=p.content;var v=document.createElement("div");v.className="taro-modal__foot",v.setAttribute("style",rc(c));var b=Object.assign(Object.assign({},d),{color:p.cancelColor,display:p.showCancel?"block":"none"});e.cancel=document.createElement("div"),e.cancel.className="taro-model__btn taro-model__cancel",e.cancel.setAttribute("style",rc(b)),e.cancel.textContent=p.cancelText,e.cancel.onclick=function(){e.hide(),n("cancel")},e.confirm=document.createElement("div"),e.confirm.className="taro-model__btn taro-model__confirm",e.confirm.setAttribute("style",rc(d)),e.confirm.style.color=p.confirmColor,e.confirm.textContent=p.confirmText,e.confirm.onclick=function(){e.hide(),n("confirm")},v.appendChild(e.cancel),v.appendChild(e.confirm),g.appendChild(e.title),g.appendChild(e.text),g.appendChild(v),e.el.appendChild(f),e.el.appendChild(g),document.body.appendChild(e.el),setTimeout(function(){e.el.style.opacity="1"},0),e.currentPath=null!==(i=null===(r=nN.page)||void 0===r?void 0:r.path)&&void 0!==i?i:rg()})}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n){var r,i,o=Object.assign(Object.assign({},e.options),t);e.hideOpacityTimer&&clearTimeout(e.hideOpacityTimer),e.hideDisplayTimer&&clearTimeout(e.hideDisplayTimer);var a=e.style.textStyle;if(o.title)e.title.textContent=o.title,e.title.style.display="block",e.text.setAttribute("style",rc(a));else{e.title.textContent="",e.title.style.display="none";var s=Object.assign(Object.assign({},a),{padding:"40px 20px 26px",color:"#353535"});e.text.setAttribute("style",rc(s))}e.text.textContent=o.content||"",e.cancel.style.display=o.showCancel?"block":"none",e.cancel.textContent=o.cancelText||"",e.cancel.style.color=o.cancelColor||"",e.confirm.textContent=o.confirmText||"",e.confirm.style.color=o.confirmColor||"",e.cancel.onclick=function(){e.hide(),n("cancel")},e.confirm.onclick=function(){e.hide(),n("confirm")},e.el.style.display="block",setTimeout(function(){e.el.style.opacity="1"},0),e.currentPath=null!==(i=null===(r=nN.page)||void 0===r?void 0:r.path)&&void 0!==i?i:rg()})}},{key:"hide",value:function(){var e=this;this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout(function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout(function(){e.el.style.display="none"},200)},0)}}]),l7=$(function e(){Q(this,e),this.options={title:"",icon:"none",image:"",duration:1500,mask:!1},this.style={maskStyle:{position:"fixed","z-index":"1000",top:"0",right:"0",left:"0",bottom:"0"},toastStyle:{"z-index":"5000","box-sizing":"border-box",display:"flex","flex-direction":"column","justify-content":"center","-webkit-justify-content":"center",position:"fixed",top:"50%",left:"50%","min-width":"120px","max-width":"200px","min-height":"120px",padding:"15px",transform:"translate(-50%, -50%)","border-radius":"5px","text-align":"center","line-height":"1.6",color:"#FFFFFF",background:"rgba(17, 17, 17, 0.7)"},successStyle:{margin:"6px auto",width:"38px",height:"38px",background:"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTQ4OTYzMjA0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQzNDgiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMjE5Ljk1MiA1MTIuNTc2bDIxMC40MzIgMjEwLjQzMi00NS4yNDggNDUuMjU2LTIxMC40MzItMjEwLjQzMnoiIHAtaWQ9IjQzNDkiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNNzk5LjY3MiAyNjIuMjY0bDQ1LjI1NiA0NS4yNTYtNDYwLjQ2NCA0NjAuNDY0LTQ1LjI1Ni00NS4yNTZ6IiBwLWlkPSI0MzUwIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},errrorStyle:{margin:"6px auto",width:"38px",height:"38px",background:"transparent url(data:image/svg+xml;base64,PHN2ZyB0PSIxNjM5NTUxMDU1MTgzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE0MDc2IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNTggNjQgNjQgMjY0LjU4IDY0IDUxMnMyMDAuNTggNDQ4IDQ0OCA0NDggNDQ4LTIwMC41OCA0NDgtNDQ4Uzc1OS40MiA2NCA1MTIgNjR6IG0wIDc1MmEzNiAzNiAwIDEgMSAzNi0zNiAzNiAzNiAwIDAgMS0zNiAzNnogbTUxLjgzLTU1MS45NUw1NDggNjM2YTM2IDM2IDAgMCAxLTcyIDBsLTE1LjgzLTM3MS45NWMtMC4xLTEuMzMtMC4xNy0yLjY4LTAuMTctNC4wNWE1MiA1MiAwIDAgMSAxMDQgMGMwIDEuMzctMC4wNyAyLjcyLTAuMTcgNC4wNXoiIHAtaWQ9IjE0MDc3IiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PC9zdmc+) no-repeat","background-size":"100%"},loadingStyle:{margin:"6px auto",width:"38px",height:"38px","-webkit-animation":"taroLoading 1s steps(12, end) infinite",animation:"taroLoading 1s steps(12, end) infinite",background:"transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat","background-size":"100%"},imageStyle:{margin:"6px auto",width:"40px",height:"40px",background:"transparent no-repeat","background-size":"100%"},textStyle:{margin:"0","font-size":"16px"}}},[{key:"create",value:function(){var e,t,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",o=this.style,a=o.maskStyle,s=o.toastStyle,l=o.successStyle,u=o.errrorStyle,c=o.loadingStyle,d=o.imageStyle,p=o.textStyle,h=Object.assign(Object.assign(Object.assign({},this.options),r),{_type:i});if(this.el=document.createElement("div"),this.el.className="taro__toast",this.el.style.opacity="0",this.el.style.transition="opacity 0.1s linear",this.el.ontouchmove=function(e){e.stopPropagation(),e.preventDefault()},this.mask=document.createElement("div"),this.mask.setAttribute("style",rc(a)),this.mask.style.display=h.mask?"block":"none",this.icon=document.createElement("p"),h.image)this.icon.setAttribute("style",rc(Object.assign(Object.assign({},d),{"background-image":"url(".concat(h.image,")")})));else{var f="loading"===h.icon?c:"error"===h.icon?u:l;this.icon.setAttribute("style",rc(Object.assign(Object.assign({},f),"none"===h.icon?{display:"none"}:{})))}return this.toast=document.createElement("div"),this.toast.setAttribute("style",rc(Object.assign(Object.assign({},s),"none"===h.icon?{"min-height":"0",padding:"10px 15px"}:{}))),this.title=document.createElement("p"),this.title.setAttribute("style",rc(p)),this.title.textContent=h.title,this.toast.appendChild(this.icon),this.toast.appendChild(this.title),this.el.appendChild(this.mask),this.el.appendChild(this.toast),document.body.appendChild(this.el),setTimeout(function(){n.el.style.opacity="1"},0),this.type=h._type,h.duration>=0&&this.hide(h.duration,this.type),this.currentPath=null!==(t=null===(e=nN.page)||void 0===e?void 0:e.path)&&void 0!==t?t:rg(),""}},{key:"show",value:function(){var e,t,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toast",o=Object.assign(Object.assign(Object.assign({},this.options),r),{_type:i});this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.title.textContent=o.title||"",this.mask.style.display=o.mask?"block":"none";var a=this.style,s=a.toastStyle,l=a.successStyle,u=a.errrorStyle,c=a.loadingStyle,d=a.imageStyle;if(o.image)this.icon.setAttribute("style",rc(Object.assign(Object.assign({},d),{"background-image":"url(".concat(o.image,")")})));else if(!o.image&&o.icon){var p="loading"===o.icon?c:"error"===o.icon?u:l;this.icon.setAttribute("style",rc(Object.assign(Object.assign({},p),"none"===o.icon?{display:"none"}:{})))}return this.toast.setAttribute("style",rc(Object.assign(Object.assign({},s),"none"===o.icon?{"min-height":"0",padding:"10px 15px"}:{}))),this.el.style.display="block",setTimeout(function(){n.el.style.opacity="1"},0),this.type=o._type,o.duration>=0&&this.hide(o.duration,this.type),this.currentPath=null!==(t=null===(e=nN.page)||void 0===e?void 0:e.path)&&void 0!==t?t:rg(),""}},{key:"hide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n&&n!==this.type||(this.hideOpacityTimer&&clearTimeout(this.hideOpacityTimer),this.hideDisplayTimer&&clearTimeout(this.hideDisplayTimer),this.currentPath=null,this.hideOpacityTimer=setTimeout(function(){e.el.style.opacity="0",e.hideDisplayTimer=setTimeout(function(){e.el.style.display="none"},100)},t))}}]),ue="default";function ut(e){if("ready"!==ue){var t=e.createElement("style");t.textContent='@font-face{font-weight:normal;font-style:normal;font-family:"taro";src:url("data:application/x-font-ttf;charset=utf-8;base64, AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJWs0t/AAABfAAAAFZjbWFwqVgGvgAAAeAAAAGGZ2x5Zph7qG0AAANwAAAAdGhlYWQRFoGhAAAA4AAAADZoaGVhCCsD7AAAALwAAAAkaG10eAg0AAAAAAHUAAAADGxvY2EADAA6AAADaAAAAAhtYXhwAQ4AJAAAARgAAAAgbmFtZYrphEEAAAPkAAACVXBvc3S3shtSAAAGPAAAADUAAQAAA+gAAABaA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAAMAAQAAAAEAAADih+FfDzz1AAsD6AAAAADXB57LAAAAANcHnssAAP/sA+gDOgAAAAgAAgAAAAAAAAABAAAAAwAYAAEAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQK8AZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAAHjqCAPoAAAAWgPoABQAAAABAAAAAAAAA+gAAABkAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAV4AAQAAAAAAWAADAAEAAAAsAAMACgAAAV4ABAAsAAAABgAEAAEAAgB46gj//wAAAHjqCP//AAAAAAABAAYABgAAAAEAAgAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAKAAAAAAAAAACAAAAeAAAAHgAAAABAADqCAAA6ggAAAACAAAAAAAAAAwAOgABAAD/7AAyABQAAgAANzMVFB4UKAAAAAABAAAAAAO7AzoAFwAAEy4BPwE+AR8BFjY3ATYWFycWFAcBBiInPQoGBwUHGgzLDCELAh0LHwsNCgr9uQoeCgGzCyEOCw0HCZMJAQoBvgkCCg0LHQv9sQsKAAAAAAAAEgDeAAEAAAAAAAAAHQAAAAEAAAAAAAEABAAdAAEAAAAAAAIABwAhAAEAAAAAAAMABAAoAAEAAAAAAAQABAAsAAEAAAAAAAUACwAwAAEAAAAAAAYABAA7AAEAAAAAAAoAKwA/AAEAAAAAAAsAEwBqAAMAAQQJAAAAOgB9AAMAAQQJAAEACAC3AAMAAQQJAAIADgC/AAMAAQQJAAMACADNAAMAAQQJAAQACADVAAMAAQQJAAUAFgDdAAMAAQQJAAYACADzAAMAAQQJAAoAVgD7AAMAAQQJAAsAJgFRCiAgQ3JlYXRlZCBieSBmb250LWNhcnJpZXIKICB3ZXVpUmVndWxhcndldWl3ZXVpVmVyc2lvbiAxLjB3ZXVpR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgAgACAAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGYAbwBuAHQALQBjAGEAcgByAGkAZQByAAoAIAAgAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwECAQMBBAABeAd1bmlFQTA4AAAAAAA=") format("truetype");}@-webkit-keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}@keyframes taroLoading{0%{-webkit-transform:rotate3d(0, 0, 1, 0deg);}100%{-webkit-transform:rotate3d(0, 0, 1, 360deg);transform:rotate3d(0, 0, 1, 360deg);}}.taro-modal__foot:after {content: "";position: absolute;left: 0;top: 0;right: 0;height: 1px;border-top: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);} .taro-model__btn:active {background-color: #EEEEEE}.taro-model__btn:not(:first-child):after {content: "";position: absolute;left: 0;top: 0;width: 1px;bottom: 0;border-left: 1px solid #D5D5D6;color: #D5D5D6;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleX(0.5);transform: scaleX(0.5);}.taro-actionsheet__cell:not(:last-child):after {content: "";position: absolute;left: 0;bottom: 0;right: 0;height: 1px;border-top: 1px solid #e5e5e5;color: #e5e5e5;-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}',e.querySelector("head").appendChild(t),ue="ready"}}var un=new l7,ur=new l9,ui=new l8,uo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{title:""};ut(document);var t=e=Object.assign({title:"",icon:"success",image:"",duration:1500,mask:!1},e),n=new ra({name:"showToast",success:t.success,fail:t.fail,complete:t.complete});if("string"!=typeof e.title)return n.fail({errMsg:ru({para:"title",correct:"String",wrong:e.title})});if("number"!=typeof e.duration)return n.fail({errMsg:ru({para:"duration",correct:"Number",wrong:e.duration})});e.image&&"string"!=typeof e.image&&(e.image=""),e.mask=!!e.mask;var r="";return r=un.el?un.show(e,"toast"):un.create(e,"toast"),n.success({errMsg:r})},ua=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r_(void 0,[].concat(t),void 0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{itemList:[]},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"showActionSheet";return er().mark(function n(){var r,i,o,a,s,l;return er().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(ut(document),i=(r=e=Object.assign({itemColor:"#000000",itemList:[]},e)).success,o=r.fail,a=new ra({name:t,success:i,fail:o,complete:r.complete}),Array.isArray(e.itemList)){n.next=6;break}return n.abrupt("return",a.fail({errMsg:ru({para:"itemList",correct:"Array",wrong:e.itemList})}));case 6:if(!(e.itemList.length<1)){n.next=8;break}return n.abrupt("return",a.fail({errMsg:"parameter error: parameter.itemList should have at least 1 item"}));case 8:if(!(e.itemList.length>6)){n.next=10;break}return n.abrupt("return",a.fail({errMsg:"parameter error: parameter.itemList should not be large than 6"}));case 10:s=0;case 11:if(!(s<e.itemList.length)){n.next=17;break}if("string"==typeof e.itemList[s]){n.next=14;break}return n.abrupt("return",a.fail({errMsg:ru({para:"itemList[".concat(s,"]"),correct:"String",wrong:e.itemList[s]})}));case 14:s++,n.next=11;break;case 17:if("string"==typeof e.itemColor){n.next=19;break}return n.abrupt("return",a.fail({errMsg:ru({para:"itemColor",correct:"String",wrong:e.itemColor})}));case 19:if(l="",ui.el){n.next=26;break}return n.next=23,ui.create(e);case 23:l=n.sent,n.next=29;break;case 26:return n.next=28,ui.show(e);case 28:l=n.sent;case 29:if("string"!=typeof l){n.next=33;break}return n.abrupt("return",a.fail({errMsg:l}));case 33:return n.abrupt("return",a.success({tapIndex:l}));case 34:case"end":return n.stop()}},n)})()})};rt.eventCenter.on("__afterTaroRouterChange",function(){var e,t;un.currentPath&&un.currentPath!==(null===(e=nN.page)||void 0===e?void 0:e.path)&&(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,n=new ra({name:"hideToast",success:e.success,fail:e.fail,complete:e.complete});un.el&&un.hide(0,void 0!==t&&t?"toast":""),n.success()}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.noConflict,n=new ra({name:"hideLoading",success:e.success,fail:e.fail,complete:e.complete});un.el&&un.hide(0,void 0!==t&&t?"loading":""),n.success()}()),ur.currentPath&&ur.currentPath!==(null===(t=nN.page)||void 0===t?void 0:t.path)&&ur.el&&ur.hide()});var us=function(e,t){t?t.trigger(nM.ChatToastShow,e):"string"==typeof(null==e?void 0:e.content)&&uo({title:e.content,icon:e.icon,duration:e.duration||6e3})},ul=p(593),uu={FRAMEWORK:"react",TARO_ENV:"h5",TARO_PLATFORM:"web",TARO_VERSION:"4.0.7"};var uc=function(e){try{var t,n=(t=(new ow).encode(e),(0,ul.iI)(t));return"data:image/svg+xml;base64,".concat(n)}catch(e){return o_.error("getSvgBase64 Error",e),""}},ud=rh("getRecorderManager"),up=rh("getSetting"),uh=rh("authorize"),uf=((cl={}).START="start",cl.PAUSE="pause",cl.RESUME="resume",cl.STOP="stop",cl.ERROR="error",cl.INTERRUPT="interrupt",cl.VOLUME="volume",cl),ug=$(function e(){Q(this,e),z(this,"event",new or),z(this,"isStop",!1)},[{key:"emit",value:function(e,t){this.event.trigger(e,t)}},{key:"on",value:function(e,t){this.event.on(e,t)}},{key:"off",value:function(e,t){this.event.off(e,t)}},{key:"isStopped",value:function(){return this.isStop}}]),um=function(e){var t;function n(){var e;Q(this,n);for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return z(e=ee(this,n,[].concat(r)),"options",{}),z(e,"format",void 0),z(e,"fileName",void 0),e}return en(n,e),$(n,[{key:"start",value:(t=eo(er().mark(function e(t){var r,i,o,a,s,l,u,c,d,p,h,f;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStop){e.next=2;break}throw new lJ(-1,"recorder is stop");case 2:return o_.debug("TaroRedorManager start instance stopFlag",null===(r=n.curInstance)||void 0===r?void 0:r.isStop),null!==(i=n.curInstance)&&void 0!==i&&i.isStop||null===(o=n.curInstance)||void 0===o||o.stop(),n.curInstance=this,o_.debug("TaroRedorManager start instance recorder",n.recorder),n.recorder||(n.recorder=ud(),this.registerEvent()),this.format=oC?"wav":"mp3",this.fileName="recorder_".concat(Date.now(),".").concat(this.format),this.options=t,l=void 0===(s=(a=this.options).sampleRate)?8e3:s,c=void 0===(u=a.numberOfChannels)?1:u,e.prev=11,e.next=14,this.checkPermission();case 14:if(!this.isStop){e.next=18;break}return null===(p=n.curInstance)||void 0===p||p.emit(uf.STOP,{duration:0,tempFilePath:"",fileSize:0}),null===(h=n.recorder)||void 0===h||h.stop(),e.abrupt("return");case 18:n.recorder.start({numberOfChannels:c,sampleRate:l,format:this.format,frameSize:2}),null==(f=null===(d=n.curInstance)||void 0===d?void 0:d.genGetVolumeFunc())||f(),e.next=27;break;case 23:e.prev=23,e.t0=e.catch(11),o_.error("TaroRecorderManager start error",e.t0),this.emitError(new lJ(l1.Audio_Permission_Denied,"Permission Denied"));case 27:case"end":return e.stop()}},e,this,[[11,23]])})),function(e){return t.apply(this,arguments)})},{key:"checkPermission",value:function(){return new Promise(function(e,t){up({success:function(n){o_.debug("TaroRecorderManager getSetting",n),!0!==n.authSetting["scope.record"]?oC?e(!0):uh({scope:"scope.record",success:function(){o_.debug("TaroRecorderManager authorize scope.record true"),e(!0)},fail:function(e){o_.error("TaroRecorderManager authorize scope.record false",e),t(Error("TaroRecorderManager authorize scope.record false"))}}):(o_.debug("TaroRecorderManager getSetting scope.record true"),e(!0))},fail:function(){o_.debug("TaroRecorderManager getSetting fails"),e(!0)}})})}},{key:"registerEvent",value:function(){var e,t,r,i,o,a,s,l=this;null===(e=n.recorder)||void 0===e||e.onStart(function(){var e;null===(e=n.curInstance)||void 0===e||e.emit(uf.START,{})}),null===(t=n.recorder)||void 0===t||t.onPause(function(){var e;null===(e=n.curInstance)||void 0===e||e.emit(uf.PAUSE,{})}),null===(r=n.recorder)||void 0===r||r.onResume(function(){var e;null===(e=n.curInstance)||void 0===e||e.emit(uf.RESUME,{})}),null===(i=n.recorder)||void 0===i||i.onStop(function(e){var t;null===(t=n.curInstance)||void 0===t||t.emit(uf.STOP,{duration:e.duration,tempFilePath:e.tempFilePath,fileSize:e.fileSize,fileName:l.fileName})}),null===(o=n.recorder)||void 0===o||null===(a=o.onInterruptionBegin)||void 0===a||a.call(o,function(){var e;o_.debug("TaroRecorderManager onInterruptionBegin"),null===(e=n.curInstance)||void 0===e||e.emit(uf.INTERRUPT,{})}),null===(s=n.recorder)||void 0===s||s.onError(function(e){var t,r;o_.error("TaroRecorderManager onError",e),null===(t=n.curInstance)||void 0===t||t.emitError(new lJ(null!=e&&null!==(r=e.errMsg)&&void 0!==r&&r.includes("deny")?l1.Audio_Permission_Denied:-1,e.errMsg))})}},{key:"genGetVolumeFunc",value:function(){var e=this,t=function(){if(e.isStop)e.emit(uf.VOLUME,{volume:0});else{var n=.5*Math.random();e.emit(uf.VOLUME,{volume:n<.002?0:n}),setTimeout(function(){t()},100)}};return t}},{key:"emitError",value:function(e){this.emit(uf.ERROR,e)}},{key:"stop",value:function(){if(this.isStop)o_.warn("recorder has been stopped");else{this.isStop=!0;try{var e;null===(e=n.recorder)||void 0===e||e.stop()}catch(e){this.emitError(new lJ(-1,"unknown error"))}}}},{key:"pause",value:function(){var e;this.isStop?o_.warn("recorder has been stopped"):null===(e=n.recorder)||void 0===e||e.pause()}},{key:"resume",value:function(){var e;this.isStop?o_.warn("recorder has been stopped"):null===(e=n.recorder)||void 0===e||e.resume()}},{key:"destroy",value:function(){this.stop(),this.event.off()}}])}(ug);function u_(e,t,n){for(var r=0;r<e.length;++r)t[n+r]=e.charCodeAt(r)}function uv(e,t,n){e=Math.floor(e),t[n+0]=255&e,t[n+1]=e>>8&255}function ub(e,t,n){e=Math.floor(e),t[n+0]=255&e,t[n+1]=e>>8&255,t[n+2]=e>>16&255,t[n+3]=e>>24&255}z(um,"recorder",null),z(um,"curInstance",void 0);var uy=function(e){var t;function n(){return Q(this,n),ee(this,n,arguments)}return en(n,e),$(n,[{key:"start",value:(t=eo(er().mark(function e(t){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStop){e.next=2;break}throw new lJ(-1,"recorder is stop");case 2:return o_.debug("H5RedorManagerInstance start instance stopFlag",null===(r=n.curInstance)||void 0===r?void 0:r.isStop),null!==(i=n.curInstance)&&void 0!==i&&i.isStop||null===(o=n.curInstance)||void 0===o||o.stop(),n.curInstance=this,e.next=7,rk(n,"start",this,3)([t]);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})}])}(function(e){var t,n,r;function i(){var e;Q(this,i);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return z(e=ee(this,i,[].concat(n)),"options",{}),z(e,"stream",null),z(e,"tempFile",""),z(e,"size",0),z(e,"duration",0),z(e,"wavBlob",void 0),z(e,"isSendCompleted",!1),z(e,"inputLBuffer",[]),z(e,"inputRBuffer",[]),z(e,"audioContext",void 0),z(e,"audioSource",void 0),z(e,"analyser",void 0),z(e,"processor",void 0),e}return en(i,e),$(i,[{key:"getUserMedia",value:function(){var e=this;return new Promise(function(t,n){var r=e.options,i=r.sampleRate,o=r.numberOfChannels,a=!1;navigator.mediaDevices.getUserMedia({audio:{sampleRate:void 0===i?48e3:i,channelCount:void 0===o?1:o}}).then(function(n){o_.debug("H5RecorderManager getUserMedia success",n),a?e.stopStream(n):t(n),a=!0}).catch(function(e){a=!0,o_.debug("H5RecorderManager getUserMedia catch",e),n(e)}),setTimeout(function(){a=!0,n(Error("getUserMedia timeout"))},3e3)})}},{key:"start",value:(r=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.options=t,this.options.numberOfChannels=t.numberOfChannels||1,this.options.sampleRate=t.sampleRate||48e3,this.size=0,this.inputLBuffer=[],this.inputRBuffer=[],this.stream=null,this.isSendCompleted=!1,e.prev=8,e.next=11,this.getUserMedia();case 11:if(this.stream=e.sent,o_.debug("H5RecorderManager stream get success",this.isStop,this.stream),!this.isStop){e.next=18;break}return o_.warn("H5RecorderManager is stopped before it's started"),this.stopStream(),this.emitStop(),e.abrupt("return");case 18:this.startRecord(),e.next=26;break;case 21:e.prev=21,e.t0=e.catch(8),o_.error("H5RecorderManager getUserMedia error",e.t0),this.emitError(new lJ(l1.Audio_Permission_Denied,"getUserMedia error")),this.stop();case 26:case"end":return e.stop()}},e,this,[[8,21]])})),function(e){return r.apply(this,arguments)})},{key:"startRecord",value:function(){if(!this.stream)throw Error("stream is null");var e=this.options.numberOfChannels;this.audioContext=new(window.AudioContext||window.webkitAudioContext),this.audioSource=this.audioContext.createMediaStreamSource(this.stream),this.analyser=this.audioContext.createAnalyser(),this.analyser.fftSize=128;var t=(this.audioContext.createScriptProcessor||this.audioContext.createJavaScriptNode).call(this.audioContext,4096,e,e);this.processor=t,this.audioSource.connect(this.analyser),this.audioSource.connect(t),t.connect(this.audioContext.destination),this._registerVolume(),this.listenAudioProcess()}},{key:"listenAudioProcess",value:function(){var e=this;if(!this.processor)throw Error("stream is null");this.processor.onaudioprocess=function(t){var n=t.inputBuffer.getChannelData(0);if(e.inputLBuffer.push(new Float32Array(n)),e.size+=n.length,2===e.options.numberOfChannels){var r=t.inputBuffer.getChannelData(1);e.size+=r.length,e.inputRBuffer.push(new Float32Array(t.inputBuffer.getChannelData(1)))}}}},{key:"stopMedia",value:(n=eo(er().mark(function e(){var t,n,r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.stream&&0!==this.size){e.next=2;break}return e.abrupt("return");case 2:return null===(t=this.audioSource)||void 0===t||t.disconnect(),null===(n=this.analyser)||void 0===n||n.disconnect(),null===(r=this.processor)||void 0===r||r.disconnect(),null===(i=this.audioContext)||void 0===i||i.close(),this.stopStream(),o=this.genAudioBuffer(),this.duration=1e3*o.duration,e.next=11,function(e,t){var n=e.length,r=e.numberOfChannels,i=e.sampleRate,o=t?32:16,a=i*r*o/8,s=r*o/8,l=n*r*(o/8),u=new Uint8Array(44+l),c=28+(8+l);return u_("RIFF",u,0),ub(c,u,4),u_("WAVE",u,8),u_("fmt ",u,12),ub(16,u,16),uv(t?3:1,u,20),uv(r,u,22),ub(i,u,24),ub(a,u,28),uv(s,u,32),ub(o,u,34),u_("data",u,36),ub(l,u,40),function(e,t,n,r){var i,o,a,s,l=0,u=0,c=e.length,d=e.numberOfChannels;for(l=0;l<c;++l)for(u=0;u<d;++u)if(i=e.getChannelData(u),16===r)(o=32768*i[l])<-32768?o=-32768:o>32767&&(o=32767),uv(o,t,n),n+=2;else{if(32!==r)return void console.log("Invalid bit depth for PCM encoding.");a=i[l],s=void 0,new Float32Array(s=new ArrayBuffer(4))[0]=a,ub(o=0|new Uint32Array(s)[0],t,n),n+=4}}(e,u,44,o),new Blob([u],{type:"audio/wave"})}(o,!1);case 11:this.wavBlob=e.sent,this.tempFile=URL.createObjectURL(this.wavBlob),this.emitStop();case 14:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"flat",value:function(e,t){for(var n=new Float32Array(e),r=0,i=0;i<t.length;i++)n.set(t[i],r),r+=t[i].length;return n}},{key:"genAudioBuffer",value:function(){var e,t=new AudioBuffer({length:this.size,sampleRate:(null===(e=this.audioContext)||void 0===e?void 0:e.sampleRate)||48e3,numberOfChannels:this.options.numberOfChannels||1}),n=2===this.options.numberOfChannels?this.size/2:this.size,r=this.flat(n,this.inputLBuffer);if(t.copyToChannel(r,0,0),2===this.options.numberOfChannels){var i=this.flat(n,this.inputRBuffer);t.copyToChannel(i,1,0)}return t}},{key:"_registerVolume",value:function(){var e=this;if(!this.analyser)return function(){return 0};var t=new Uint8Array(this.analyser.frequencyBinCount).slice(0,64),n=function(){var r;if(e.isStop)e.emit(uf.VOLUME,{volume:0});else{null===(r=e.analyser)||void 0===r||r.getByteFrequencyData(t);for(var i=0,o=0;o<t.length;o++)i+=Math.abs(t[o])*Math.abs(t[o]);var a=i/t.length/255/255;e.emit(uf.VOLUME,{volume:a<.002?0:a}),setTimeout(function(){n()},100)}};n()}},{key:"emitStop",value:function(){this.isSendCompleted||(this.isSendCompleted=!0,this.emit(uf.STOP,{duration:this.duration||0,tempFilePath:this.tempFile,fileSize:this.size,content:this.wavBlob,fileName:"recorder_".concat(Date.now(),".wav")}))}},{key:"emitError",value:function(e){this.isSendCompleted||(this.isSendCompleted=!0,this.emit(uf.ERROR,e))}},{key:"destroy",value:function(){this.stop(),this.event.off()}},{key:"stop",value:(t=eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStop){e.next=3;break}return o_.warn("recorder has been stopped"),e.abrupt("return");case 3:return o_.debug("H5RecorderManager stop"),this.isStop=!0,e.prev=5,e.next=8,this.stopMedia();case 8:this.event.off(),this.stream=null,this.audioContext=void 0,this.audioSource=void 0,this.analyser=void 0,this.processor=void 0,this.wavBlob=void 0,this.inputLBuffer=[],this.inputRBuffer=[],e.next=22;break;case 19:e.prev=19,e.t0=e.catch(5),this.emitError(new lJ(-1,"unknown error"));case 22:case"end":return e.stop()}},e,this,[[5,19]])})),function(){return t.apply(this,arguments)})},{key:"stopStream",value:function(e){var t;null===(t=e||this.stream)||void 0===t||t.getTracks().forEach(function(e){o_.debug("H5RecorderManager , stopStream",e),e.stop()})}},{key:"pause",value:function(){this.isStop&&o_.error("recorder has been stopped")}},{key:"resume",value:function(){this.isStop&&o_.error("recorder has been stopped")}}])}(ug));z(uy,"curInstance",void 0);var uw=rh("getFileSystemManager"),uS=$(function e(){var t=this;Q(this,e),this.__startTime=0,this.__isFirstPlay=!0,this.play=function(){var e;return null===(e=t.Instance)||void 0===e?void 0:e.play()},this.pause=function(){var e;return null===(e=t.Instance)||void 0===e?void 0:e.pause()},this.stop=function(){t.pause(),t.seek(0),t.stopStack.trigger()},this.seek=function(e){t.Instance&&(t.Instance.currentTime=e)},this.destroy=function(){t.stop(),t.Instance&&(t.Instance=void 0)},this.onCanplay=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("canplay",n)},this.onPlay=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("play",n)},this.onPause=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("pause",n)},this.onStop=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return t.stopStack.add(e)},this.onEnded=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("ended",n)},this.onTimeUpdate=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("timeupdate",n)},this.onError=function(e){return t.errorStack.add(e)},this.onWaiting=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("waiting",n)},this.onSeeking=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("seeking",n)},this.onSeeked=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.addEventListener("seeked",n)},this.offCanplay=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("canplay",n)},this.offPlay=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("play",n)},this.offPause=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("pause",n)},this.offStop=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return t.stopStack.remove(e)},this.offEnded=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("ended",n)},this.offTimeUpdate=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("timeupdate",n)},this.offError=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return t.errorStack.remove(e)},this.offWaiting=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("waiting",n)},this.offSeeking=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("seeking",n)},this.offSeeked=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return null===(e=t.Instance)||void 0===e?void 0:e.removeEventListener("seeked",n)},this.Instance=new Audio,this.errorStack=new rs,this.stopStack=new rs,this.Instance.onerror=this.errorStack.trigger,rt.eventCenter.on("__taroRouterChange",function(){t.stop()}),this.onPlay(function(){t.__isFirstPlay&&(t.__isFirstPlay=!1,t.seek(t.startTime))})},[{key:"autoplay",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.autoplay)||!1},set:function(e){this.setProperty("autoplay",e)}},{key:"buffered",get:function(){var e=this.Instance||{},t=e.currentTime,n=void 0===t?0:t,r=e.buffered;if(r){for(var i=0;i<r.length;i++)if(r.start(i)<=n&&r.end(i)>=n)return r.end(i)}return 0}},{key:"currentTime",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.currentTime)||0},set:function(e){this.seek(e)}},{key:"duration",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.duration)||0}},{key:"loop",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.loop)||!1},set:function(e){this.setProperty("loop",e)}},{key:"paused",get:function(){var e,t;return null===(t=null===(e=this.Instance)||void 0===e?void 0:e.paused)||void 0===t||t}},{key:"src",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.src)||""},set:function(e){this.setProperty("src",e)}},{key:"volume",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.volume)||0},set:function(e){this.setProperty("volume",e)}},{key:"playbackRate",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.playbackRate)||0},set:function(e){this.setProperty("playbackRate",e)}},{key:"obeyMuteSwitch",get:function(){return!0},set:function(e){rf("InnerAudioContext.obeyMuteSwitch")()}},{key:"startTime",get:function(){return this.__startTime||0},set:function(e){this.__startTime=e}},{key:"referrerPolicy",get:function(){var e;return(null===(e=this.Instance)||void 0===e?void 0:e.getAttribute("referrerpolicy"))||"origin"},set:function(e){var t;null===(t=this.Instance)||void 0===t||t.setAttribute("referrerpolicy",e)}},{key:"setProperty",value:function(e,t){this.Instance&&(this.Instance[e]=t)}}]),uA=((cu={}).STOP="stop",cu.PLAY="play",cu),uT=1e3,ux=function(){var e,t;function n(){Q(this,n),z(this,"isStop",!0),z(this,"audioContext",void 0),z(this,"event",new or),z(this,"audioPrm",null),z(this,"filePath","")}return $(n,[{key:"playText",value:(t=eo(er().mark(function e(t,r){var i,o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return null!==(i=n.instance)&&void 0!==i&&i.isStop||null===(o=n.instance)||void 0===o||o.stop(),this.audioPrm||(this.audioPrm=r(t)),this.isStop=!1,n.instance=this,e.prev=4,e.next=7,this.audioPrm;case 7:if(a=e.sent,!this.isStop){e.next=10;break}return e.abrupt("return");case 10:this.playData(a),e.next=18;break;case 13:throw e.prev=13,e.t0=e.catch(4),this.audioPrm=null,o_.error("PlayAudio Get audio speech error",e.t0),new lJ(-1,"Get Speech Failed");case 18:case"end":return e.stop()}},e,this,[[4,13]])})),function(e,n){return t.apply(this,arguments)})},{key:"playData",value:function(e){var t="";if(oI){var n=new Blob([e],{type:"audio/wav"});t=URL.createObjectURL(n)}else t="".concat(uu.USER_DATA_PATH,"/tempFile").concat(uT++,".wav"),this.filePath=t,uw().writeFileSync(t,e,"binary");o_.debug("playData:",t),this.play(t)}},{key:"play",value:(e=eo(er().mark(function e(t){var r=this;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.instance=this,this.audioContext=new uS,this.audioContext.src=t,oI||(this.audioContext.obeyMuteSwitch=!1),o_.debug("audioContext",t),this.audioContext.onPlay(function(){o_.debug("audioContext onPlay"),r.event.trigger(uA.PLAY)}),this.audioContext.onPause(function(){r.stop()}),this.audioContext.onError(function(e){o_.error("audioContext onError",e),r.emitStopEvent(!0),r.stop()}),this.audioContext.onEnded(function(){o_.debug("audioContext onEnded"),r.stop()}),this.audioContext.onStop(function(){r.unregister(),o_.debug("audioContext onStop")}),e.prev=10,e.next=13,this.audioContext.play();case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),o_.error("audioContext play error",e.t0);case 18:o_.debug("audioContext",t);case 19:case"end":return e.stop()}},e,this,[[10,15]])})),function(t){return e.apply(this,arguments)})},{key:"stop",value:function(){if(o_.debug("audioContext stop1",this.isStop),!this.isStop){try{var e;this.emitStopEvent(),null===(e=this.audioContext)||void 0===e||e.stop(),this.unregister(),this.isStop=!0}catch(e){this.emitStopEvent(!0)}this.removeAudio()}}},{key:"removeAudio",value:function(){try{oI||uw().unlinkSync(this.filePath||"")}catch(e){o_.error("removeAudio error",e)}}},{key:"on",value:function(e,t){this.event.on(e,t)}},{key:"emitStopEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o_.debug("audioContext emitStopEvent",this.isStop),this.isStop||this.event.trigger(uA.STOP,{isError:e})}},{key:"unregister",value:function(){var e,t,n,r;null===(e=this.audioContext)||void 0===e||e.offPlay(),null===(t=this.audioContext)||void 0===t||t.offError(),null===(n=this.audioContext)||void 0===n||n.offEnded(),null===(r=this.audioContext)||void 0===r||r.offPause(),this.event.off()}}],[{key:"stopNow",value:function(){var e;null===(e=n.instance)||void 0===e||e.stop()}}])}();z(ux,"instance",void 0);var uk=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("string"==typeof e){var n={};n="symbol"===j(t)?{data:""}:{data:t},localStorage.setItem(e,JSON.stringify(n))}else console.error(ru({name:"setStorage",correct:"String",wrong:e}))},uM="taro_clipboard";document.addEventListener("copy",function(){var e;(function(e){var t=rl(e);if(!t.flag){var n={errMsg:"setStorage:fail ".concat(t.msg)};return console.error(n.errMsg),Promise.reject(n)}var r=e.key,i=e.data,o=new ra({name:"setStorage",success:e.success,fail:e.fail,complete:e.complete});return"string"!=typeof r?o.fail({errMsg:ru({para:"key",correct:"String",wrong:r})}):(uk(r,i),o.success())})({key:uM,data:null===(e=window.getSelection())||void 0===e?void 0:e.toString()}).catch(function(e){console.error(e)})});var uP=function(e){return r_(void 0,[e],void 0,function(e){var t=e.data,n=e.success,r=e.fail,i=e.complete;return er().mark(function e(){var o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=new ra({name:"setClipboardData",success:n,fail:r,complete:i}),e.prev=1,uk(uM,t),!nU(document.execCommand)){e.next=17;break}(a=document.createElement("textarea")).readOnly=!0,a.value=t,a.style.position="absolute",a.style.width="100px",a.style.left="-10000px",document.body.appendChild(a),a.select(),a.setSelectionRange(0,a.value.length),document.execCommand("copy"),document.body.removeChild(a),e.next=18;break;case 17:throw Error("Unsupported Function: 'document.execCommand'.");case 18:return uo({title:"鍐呭宸插鍒",icon:"none",duration:1500}),e.abrupt("return",o.success());case 22:return e.prev=22,e.t0=e.catch(1),e.abrupt("return",o.fail({errMsg:e.t0.message}));case 25:case"end":return e.stop()}},e,null,[[1,22]])})()})},uI=(cc=eo(er().mark(function e(t){var n,r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.success,i=t.fail,!oI){e.next=12;break}return e.prev=2,e.next=5,navigator.clipboard.writeText(n);case 5:return null==r||r(!0),e.abrupt("return");case 9:e.prev=9,e.t0=e.catch(2),o_.warn("setClipboardData fail");case 12:return e.next=14,uP({data:n,success:function(){null==r||r(!1)},fail:function(e){null==i||i(e,!1)}});case 14:case"end":return e.stop()}},e,null,[[2,9]])})),function(e){return cc.apply(this,arguments)}),uE=function(e,t){var n="",r=e||"https://lf3-static.bytednsdoc.com/obj/eden-cn/rkzild_lgvj/ljhwZthlaukjlkulzlp/";try{return"".concat((null==r?void 0:r.replace(/\/+$/,""))||"","/").concat(null==t?void 0:t.replace(/^\.?\/+/,""))}catch(n){console.error("Invalid URL:",n,e,t)}return n||(n=""),n},uC=p(382),uO=z(z({},nC.EN,{simple:{noAnswer:"No answer",chatFooterTip:"Powered by Coze",sendFailed:"Send Failed",chatInputPlaceholder:"Send Message",retryBtn:"retry",messageListLoading:"loading...",chooseImage:"picture",chooseCamera:"camera",chooseImageError:"upload failed",messageTypeUnSupport:"The message is not unsupported.",defaultHeaderTitle:"Coze Bot",copyCode:"Copy",copyText:"Copy",copySuccess:"Copy success",copyFailed:"Copy failed",clearContextDivide:"Context cleared",clearContextFailed:"Clear context failed",clearMessageFailed:"Clear message failed",playVoice:"Play voice",permissionMkfTitle:"Turn on microphone permission",permissionMkfDesc:"Unable to use the voice interaction function, please reauthorize the microphone permission",permissionMkfBtnIKnown:"I know",audioInputPcText:"Hold down here or the space to speak",audioInputMobileText:"Hold on and talk",audioInputTooltipTouching:"Slide up to cancel the input and let go",audioInputTooltipCancel:"Release your hand to cancel the send",audioInputErrorUnDetectContent:"No content was detected",audioInputErrorRecord:"Recording has failed, please try again",unFocusInputText:"Click to activate input",audioInputTooltipSend:"Release to send",audioInputDisabledText:"Sending...",playVoiceFail:"Play voice failed",sendMessageUploadFailed:"Failed to upload file",sendMessageTranslationAudioFailed:"Failed to identify content",sendMessageTranslationAudioNone:"The content is not recognized",submit:"Submit",chatflowNodeInputPlaceholder:"Please enter content",taskMessageMyChoice:"My Choice:",miniChatError_1001:"The content is not recognized",miniChatError_1002:"Failed to create conversation",miniChatError_1003:"Failed to get message list",miniChatError_4000:"Request parameter error",miniChatError_4001:"The specified conversation does not exist",miniChatError_4002:"The specified conversation does not exist",miniChatError_4003:"The parameter passed to the meta_data field exceeds the field limit",miniChatError_4004:"The parameter passed to the additional_messages field exceeds the field limit",miniChatError_4005:"The specified message does not exist",miniChatError_4006:"The specified message does not exist",miniChatError_4008:"The daily use of the Bot has exceeded the limit",miniChatError_4009:"The current number of users is too high",miniChatError_4010:"The prompt token number of the previous question exceeds the model limit.",miniChatError_4011:"Insufficient balance of Coze Tokens in the current account.",miniChatError_4012:"Invalid model",miniChatError_4013:"Model's request rate limit exceeded. Please reduce your request frequency or try again later. If you need higher limits, consider upgrading your plan or contacting Coze support for expansion options.",miniChatError_4014:"The Bot cannot answer this question",miniChatError_4015:"The Bot is not published",miniChatError_4016:"There is already a running conversation in the current session, please wait for the conversation to complete before initiating a new conversation",miniChatError_4019:"The account has an overdue payment, please recharge immediately.",miniChatError_4020:"You have exceeded the model RPM limit. Please try again later or contact Coze for an upgrade.",miniChatError_4027:"Your account has an overdue payment, please recharge immediately.",miniChatError_4028:"Insufficient coze credits balance, please wait for the quota refresh or upgrade to paid version.",miniChatError_4100:"The personal access token (PAT) is incorrect",miniChatError_4101:"The personal access token currently used does not have permission to access the resource",miniChatError_4300:"The file to be uploaded is empty",miniChatError_4301:"Only one file can be uploaded at a time",miniChatError_4302:"The file size to be uploaded exceeds the interface limit",miniChatError_4303:"The file format is not supported",miniChatError_4304:"File issues",miniChatError_5000:"Internal server error",miniChatError_6006:"Workflow code node execution timeout: The node in the workflow has exceeded its max execution time one minute. ",miniChatError_700012006:"The personal access token (PAT) is incorrect",miniChatError_788788103:"Your account has an outstanding balance. Please top up your balance on Volcengine."},special:{chatInitRetry:function(e){return(0,uC.jsxs)(uC.Fragment,{children:["Start error,",null==e?void 0:e.retry]})},messageListRetry:function(e){return(0,uC.jsxs)(uC.Fragment,{children:["Get message history error,",null==e?void 0:e.retry]})},copyLinkSuccess:function(e){return"Copy link: ".concat(null==e?void 0:e.url)},audioInputTooltipTick:function(e){return(0,uC.jsxs)(uC.Fragment,{children:[null==e?void 0:e.duration," automatically end recording after and sending"]})}}}),nC.ZH_CN,{simple:{noAnswer:"娌℃湁鍥炵瓟",chatFooterTip:"鐢辨墸瀛愭彁渚",sendFailed:"鍙戦€佸け璐",chatInputPlaceholder:"鍙戦€佹秷鎭",retryBtn:"閲嶈瘯",messageListLoading:"鍔犺浇涓...",chooseImage:"鐓х墖",chooseCamera:"鎷嶇収",chooseImageError:"涓婁紶澶辫触",messageTypeUnSupport:"涓嶆敮鎸佹敮鎸佽娑堟伅鏍煎紡",defaultHeaderTitle:"鎵e瓙鏅鸿兘浣",copyCode:"澶嶅埗",copyText:"澶嶅埗",submit:"鎻愪氦",copySuccess:"澶嶅埗鎴愬姛",copyFailed:"澶嶅埗澶辫触",clearContextDivide:"娓呯┖涓婁笅鏂",clearContextFailed:"娓呯┖涓婁笅鏂囧け璐",clearMessageFailed:"娓呯┖娑堟伅澶辫触",playVoice:"鎾斁璇煶",permissionMkfTitle:"寮€鍚害鍏嬮鏉冮檺",permissionMkfDesc:"鏃犳硶浣跨敤璇煶浜や簰鍔熻兘锛岃閲嶆柊鎺堟潈楹﹀厠椋庢潈闄",permissionMkfBtnIKnown:"鎴戠煡閬撲簡",audioInputPcText:"鎸変綇姝ゅ鎴栫┖鏍艰璇",audioInputMobileText:"鎸変綇璇磋瘽",audioInputTooltipTouching:"涓婃粦鍙栨秷杈撳叆锛屾澗鎵嬪彂閫",audioInputTooltipSend:"鏉炬墜鍙戦€",audioInputTooltipCancel:"鏉炬墜鍙栨秷鍙戦€",audioInputErrorUnDetectContent:"鏈娴嬪埌鍐呭",audioInputErrorRecord:"褰曢煶澶辫触锛岃閲嶈瘯",audioInputDisabledText:"娑堟伅鍙戦€佷腑...",unFocusInputText:"鐐瑰嚮褰撳墠瀵硅瘽鍖烘縺娲昏緭鍏ユ",playVoiceFail:"鎾斁澶辫触",sendMessageUploadFailed:"涓婁紶鏂囦欢澶辫触",sendMessageTranslationAudioFailed:"璇嗗埆鍐呭澶辫触",sendMessageTranslationAudioNone:"鏈瘑鍒埌鍐呭",chatflowNodeInputPlaceholder:"璇疯緭鍏ュ唴瀹",taskMessageMyChoice:"鎴戠殑閫夋嫨鏄細",miniChatError_1001:"鏈瘑鍒埌鍐呭",miniChatError_1002:"浼氳瘽鍒涘缓澶辫触",miniChatError_1003:"鑾峰彇娑堟伅鍒楄〃澶辫触",miniChatError_4000:"璇锋眰鍙傛暟閿欒",miniChatError_4001:"鎸囧畾瀵硅瘽涓嶅瓨鍦",miniChatError_4002:"鎸囧畾瀵硅瘽涓嶅瓨鍦",miniChatError_4003:"meta_data 瀛楁鐨勪紶鍙傝秴鍑哄瓧娈甸檺鍒",miniChatError_4004:"additional_messages 瀛楁鐨勪紶鍙傝秴鍑哄瓧娈甸檺鍒",miniChatError_4005:"鎸囧畾娑堟伅涓嶅瓨鍦",miniChatError_4006:"鎸囧畾娑堟伅涓嶅瓨鍦",miniChatError_4008:"褰撴棩 Bot 浣跨敤娆℃暟瓒呰繃闄愬埗",miniChatError_4009:"褰撳墠浣跨敤浜烘暟杩囧",miniChatError_4010:"鍓嶉棶棰樿姹傜殑 prompt token 鏁伴噺瓒呰繃妯″瀷涓婇檺",miniChatError_4011:"褰撳墠璐︽埛鐨 Coze Token 浣欓涓嶈冻",miniChatError_4012:"鏃犳晥妯″瀷",miniChatError_4013:"妯″瀷鐨勫苟鍙戝凡瓒呴檺銆傝鍑忓皯璇锋眰棰戠巼鎴栫◢鍚庨噸璇曘€傝嫢闇€瑕佹洿楂樺苟鍙戦噺锛屽彲鑰冭檻鍗囩骇鎮ㄧ殑璁″垝鎴栬仈绯绘墸瀛愭墿瀹",miniChatError_4014:"Bot 鏃犳硶鍥炵瓟姝ら棶棰",miniChatError_4015:"姝 Bot 鏈彂甯",miniChatError_4016:"褰撳墠浼氳瘽涓凡鏈夎繍琛屼腑鐨勫璇濓紝璇风瓑寰呭璇濆畬鎴愬悗鍐嶅彂璧锋柊鐨勫璇",miniChatError_4019:"鎵e瓙涓撲笟鐗堣处鍙峰凡娆犺垂",miniChatError_4020:"鎮ㄥ凡瓒呰繃妯″瀷骞跺彂涓婇檺锛岃绋嶅悗灏濊瘯鎴栬仈绯绘墸瀛愭墿瀹",miniChatError_4027:"涓撲笟鐗堣处鎴峰凡娆犺垂锛岃绔嬪嵆鍏呭€",miniChatError_4028:"璧勬簮鐐逛綑棰濅笉瓒筹紝璇风瓑寰呴搴﹀埛鏂版垨鍗囩骇鍒颁笓涓氱増",miniChatError_4100:"涓汉璁块棶浠ょ墝锛圥AT锛変笉姝g‘",miniChatError_4101:"褰撳墠浣跨敤鐨勪釜浜鸿闂护鐗屾病鏈夋潈闄愯闂璧勬簮",miniChatError_4300:"寰呬笂浼犵殑鏂囦欢涓虹┖",miniChatError_4301:"姣忔璋冪敤涓婁紶鏂囦欢鎺ュ彛锛屽彧鑳戒笂浼犱竴涓枃浠",miniChatError_4302:"寰呬笂浼犵殑鏂囦欢澶у皬瓒呭嚭鎺ュ彛闄愬埗",miniChatError_4303:"鏂囦欢鏍煎紡闂锛屾殏涓嶆敮鎸佷笂浼犳绫诲瀷鐨勬枃浠",miniChatError_4304:"鏂囦欢鏁呴殰绛夐棶棰",miniChatError_5000:"鏈嶅姟绔唴閮ㄩ敊璇",miniChatError_6006:"code鑺傜偣瓒呮椂",miniChatError_700012006:"涓汉璁块棶浠ょ墝锛圥AT锛変笉姝g‘",miniChatError_788788103:"鎮ㄧ殑璐︽埛宸蹭骇鐢熸瑺璐癸紝璇峰墠寰€鐏北鍏呭€"},special:{chatInitRetry:function(e){return(0,uC.jsxs)(uC.Fragment,{children:["鍚姩閬囧埌闂锛",null==e?void 0:e.retry]})},messageListRetry:function(e){return(0,uC.jsxs)(uC.Fragment,{children:["鑾峰彇鍘嗗彶鏁版嵁澶辫触锛",null==e?void 0:e.retry]})},copyLinkSuccess:function(e){return"澶嶅埗閾炬帴: ".concat(null==e?void 0:e.url)},audioInputTooltipTick:function(e){return(0,uC.jsxs)(uC.Fragment,{children:[null==e?void 0:e.duration," 鍚庤嚜鍔ㄧ粨鏉熷綍鍒跺苟鍙戦€"]})}}}),uD=$(function e(t){Q(this,e),z(this,"language",void 0),this.language=t},[{key:"t",value:function(e,t,n){var r=uO[this.language]||uO[nC.EN];return r.simple[e]?r.simple[e]:r.special[e]?r.special[e](t):n||""}}]),uL=function(){return(0,uC.jsx)(nT,{className:"index-module__break___V44S_"})},uB=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Invalid chat frame context",r=(0,Z.useContext)(e);if(!Object.keys(t=r).map(function(e){return t[e]}).reduce(function(e,t){return e&&null!==t},!0))throw Error(n);return r},uN=function(e,t){var n=(0,Z.useRef)(!1);(0,Z.useEffect)(function(){if(n.current)return e();n.current=!0},t)},uR=function(e){var t=(0,Z.useRef)(e);return t.current=e,(0,Z.useCallback)(function(){return t.current.apply(t,arguments)},[])},uj=(0,Z.createContext)({}),uU=function(e){var t=e.markdown,n=e.children,r=e.onImageClick,i=e.i18n,o=e.logger,a=e.selectable,s=e.taskDisabled,l=e.enableHtmlTags,u=e.enableCodeBy4Space,c=e.onTaskChangeHandle,d=e.eventCallbacks,p=e.imgClassName,h=e.imgStyle,f=uR(function(){return t||""}),g=(0,Z.useMemo)(function(){return{onImageClick:r,i18n:i,logger:o,selectable:a,taskDisabled:s,enableHtmlTags:l,enableCodeBy4Space:u,onTaskChangeHandle:c,getMarkdown:f,eventCallbacks:d,imgClassName:p,imgStyle:h}},[r,i,o,a,s,l,u,c,f,d,p,h]);return(0,uC.jsx)(uj.Provider,{value:g,children:n})},uz=function(){return(0,Z.useContext)(uj)},uF=function(){return(uz()||{}).i18n},uG=function(){return(uz()||{}).selectable},uq=function(){return(uz()||{}).taskDisabled},uW=function(e){var t=e.node,n=e.className,r=(0,Z.useMemo)(function(){return t.value.split("\n")},[t.value]),i=uG();return(0,uC.jsx)(uC.Fragment,{children:r.map(function(e,t){return(0,uC.jsxs)(Z.Fragment,{children:[e?(0,uC.jsx)(nS,{selectable:i,className:W()("index-module__text___ikOpp","index-module__important___MBOGO",n),children:e}):null,t!==r.length-1?(0,uC.jsx)(uL,{}):null]},t)})})},uZ=function(e){var t=e.node;return(0,uC.jsx)(nT,{className:"index-module__strong___oVHn7",children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},uH=function(e){var t=e.node,n=uF(),r=uz().eventCallbacks,i=t.url&&"#"!==t.url;return(0,uC.jsx)(nT,{onClick:function(e){if(i){if(null!=r&&r.onLinkClick)return void r.onLinkClick(e,{url:t.url});oI?window.open(t.url):uP({data:t.url,fail:function(){uo({title:(null==n?void 0:n.t("copyFailed"))||"",icon:"error"})}})}},className:W()("index-module__link___gK03x",z({},"index-module__invalid___xccgD",!i)),children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},uV=function(e){var t=e.node,n=uG();return(0,uC.jsx)(nS,{selectable:n,space:"nbsp",className:"index-module__inline-code___w2RwE",children:t.value})},uQ=function(){return(0,uC.jsx)(nS,{className:"index-module__indicator___4Ksm1"})};function uY(e){return null!==e&&"object"===j(e)&&"constructor"in e&&e.constructor===Object}function u$(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(n){void 0===e[n]?e[n]=t[n]:uY(t[n])&&uY(e[n])&&Object.keys(t[n]).length>0&&u$(e[n],t[n])})}var uK={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function uX(){var e="undefined"!=typeof document?document:{};return u$(e,uK),e}var uJ,u0,u1,u2,u4,u3,u5,u6,u8,u9,u7,ce,ct,cn,cr,ci,co,ca,cs,cl,cu,cc,cd,cp,ch,cf={document:uK,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function cg(){var e="undefined"!=typeof window?window:{};return u$(e,cf),e}function cm(e){return void 0===e&&(e=""),e.trim().split(" ").filter(function(e){return!!e.trim()})}function c_(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function cv(){return Date.now()}function cb(e,t){void 0===t&&(t="x");var n,r,i,o,a,s,l=cg(),u=(n=e,(i=cg()).getComputedStyle&&(r=i.getComputedStyle(n,null)),!r&&n.currentStyle&&(r=n.currentStyle),r||(r=n.style),r);return l.WebKitCSSMatrix?((a=u.transform||u.webkitTransform).split(",").length>6&&(a=a.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new l.WebKitCSSMatrix("none"===a?"":a)):o=(s=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(a=l.WebKitCSSMatrix?s.m41:16===o.length?parseFloat(o[12]):parseFloat(o[4])),"y"===t&&(a=l.WebKitCSSMatrix?s.m42:16===o.length?parseFloat(o[13]):parseFloat(o[5])),a||0}function cy(e){return"object"===j(e)&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function cw(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r,i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&(r=i,"undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType))for(var o=Object.keys(Object(i)).filter(function(e){return 0>t.indexOf(e)}),a=0,s=o.length;a<s;a+=1){var l=o[a],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(cy(e[l])&&cy(i[l])?i[l].__swiper__?e[l]=i[l]:cw(e[l],i[l]):!cy(e[l])&&cy(i[l])?(e[l]={},i[l].__swiper__?e[l]=i[l]:cw(e[l],i[l])):e[l]=i[l])}}return e}function cS(e,t,n){e.style.setProperty(t,n)}function cA(e){var t,n=e.swiper,r=e.targetPosition,i=e.side,o=cg(),a=-n.translate,s=null,l=n.params.speed;n.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(n.cssModeFrameID);var u=r>a?"next":"prev",c=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t},d=function(){t=(new Date).getTime(),null===s&&(s=t);var e=a+(.5-Math.cos(Math.max(Math.min((t-s)/l,1),0)*Math.PI)/2)*(r-a);if(c(e,r)&&(e=r),n.wrapperEl.scrollTo(z({},i,e)),c(e,r))return n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(function(){n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo(z({},i,e))}),void o.cancelAnimationFrame(n.cssModeFrameID);n.cssModeFrameID=o.requestAnimationFrame(d)};d()}function cT(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function cx(e,t){return void 0===t&&(t=""),(0,ef.A)(e.children).filter(function(e){return e.matches(t)})}function ck(e){try{return void console.warn(e)}catch(e){}}function cM(e,t){void 0===t&&(t=[]);var n,r=document.createElement(e);return(n=r.classList).add.apply(n,(0,ef.A)(Array.isArray(t)?t:cm(t))),r}function cP(e){var t=cg(),n=uX(),r=e.getBoundingClientRect(),i=n.body,o=e.clientTop||i.clientTop||0,a=e.clientLeft||i.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:r.top+s-o,left:r.left+l-a}}function cI(e,t){return cg().getComputedStyle(e,null).getPropertyValue(t)}function cE(e){var t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function cC(e,t){for(var n=[],r=e.parentElement;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function cO(e,t){t&&e.addEventListener("transitionend",function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))})}function cD(e,t,n){var r=cg();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function cL(e){return(Array.isArray(e)?e:[e]).filter(function(e){return!!e})}function cB(){var e,t;return cd||(e=cg(),cd={smoothScroll:(t=uX()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}),cd}function cN(e){var t,n,r,i,o,a,s,l,u,c,d,p,h,f;return void 0===e&&(e={}),cp||(n=(void 0===(t=e)?{}:t).userAgent,r=cB(),o=(i=cg()).navigator.platform,a=n||i.navigator.userAgent,s={ios:!1,android:!1},l=i.screen.width,u=i.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/),d=a.match(/(iPad).*OS\s([\d_]+)/),p=a.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="MacIntel"===o,!d&&f&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(l,"x").concat(u))>=0&&((d=a.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),f=!1),c&&"Win32"!==o&&(s.os="android",s.android=!0),(d||h||p)&&(s.os="ios",s.ios=!0),cp=s),cp}var cR=function(e,t,n){t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},cj=function(e,t){if(e&&!e.destroyed&&e.params){var n=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(n){var r=n.querySelector(".".concat(e.params.lazyPreloaderClass));!r&&e.isElement&&(n.shadowRoot?r=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame(function(){n.shadowRoot&&(r=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)))&&r.remove()})),r&&r.remove()}}},cU=function(e,t){if(e.slides[t]){var n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")}},cz=function(e){if(e&&!e.destroyed&&e.params){var t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(n&&t&&!(t<0)){t=Math.min(t,n);var r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){var o=[i-t];return o.push.apply(o,(0,ef.A)(Array.from({length:t}).map(function(e,t){return i+r+t}))),void e.slides.forEach(function(t,n){o.includes(t.column)&&cU(e,n)})}var a=i+r-1;if(e.params.rewind||e.params.loop)for(var s=i-t;s<=a+t;s+=1){var l=(s%n+n)%n;(l<i||l>a)&&cU(e,l)}else for(var u=Math.max(i-t,0);u<=Math.min(a+t,n-1);u+=1)u!==i&&(u>a||u<i)&&cU(e,u)}}};function cF(e){var t=e.swiper,n=e.runCallbacks,r=e.direction,i=e.step,o=t.activeIndex,a=t.previousIndex,s=r;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit("transition".concat(i)),n&&o!==a){if("reset"===s)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===s?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}function cG(e,t,n){var r=cg(),i=e.params,o=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return!o||!(n<=a||n>=r.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function cq(e){var t=uX(),n=e;n.originalEvent&&(n=n.originalEvent);var r=this.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"!==n.type){var i=this.params,o=this.touches;if(this.enabled&&(i.simulateTouch||"mouse"!==n.pointerType)&&(!this.animating||!i.preventInteractionOnTransition)){!this.animating&&i.cssMode&&i.loop&&this.loopFix();var a=n.target;if(("wrapper"!==i.touchEventsTarget||this.wrapperEl.contains(a))&&!("which"in n&&3===n.which||"button"in n&&n.button>0||r.isTouched&&r.isMoved)){var s=!!i.noSwipingClass&&""!==i.noSwipingClass,l=n.composedPath?n.composedPath():n.path;s&&n.target&&n.target.shadowRoot&&l&&(a=l[0]);var u=i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass),c=!(!n.target||!n.target.shadowRoot);if(i.noSwiping&&(c?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===uX()||n===cg())return null;n.assignedSlot&&(n=n.assignedSlot);var r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(u,a):a.closest(u)))this.allowClick=!0;else if(!i.swipeHandler||a.closest(i.swipeHandler)){o.currentX=n.pageX,o.currentY=n.pageY;var d=o.currentX,p=o.currentY;if(cG(this,n,d)){Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=p,r.touchStartTime=cv(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);var h=!0;a.matches(r.focusableElements)&&(h=!1,"SELECT"===a.nodeName&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a&&t.activeElement.blur();var f=h&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||f)&&!a.isContentEditable&&n.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",n)}}}}}else cG(this,n,n.targetTouches[0].pageX)}function cW(e){var t=uX(),n=this.touchEventsData,r=this.params,i=this.touches,o=this.rtlTranslate;if(this.enabled&&(r.simulateTouch||"mouse"!==e.pointerType)){var a,s=e;if(s.originalEvent&&(s=s.originalEvent),"pointermove"===s.type&&(null!==n.touchId||s.pointerId!==n.pointerId))return;if("touchmove"===s.type){if(!(a=(0,ef.A)(s.changedTouches).filter(function(e){return e.identifier===n.touchId})[0])||a.identifier!==n.touchId)return}else a=s;if(n.isTouched){var l,u=a.pageX,c=a.pageY;if(s.preventedByNestedSwiper)return i.startX=u,void(i.startY=c);if(!this.allowTouchMove)return s.target.matches(n.focusableElements)||(this.allowClick=!1),void(n.isTouched&&(Object.assign(i,{startX:u,startY:c,currentX:u,currentY:c}),n.touchStartTime=cv()));if(r.touchReleaseOnEdges&&!r.loop){if(this.isVertical()){if(c<i.startY&&this.translate<=this.maxTranslate()||c>i.startY&&this.translate>=this.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<i.startX&&this.translate<=this.maxTranslate()||u>i.startX&&this.translate>=this.minTranslate())return}if(t.activeElement&&s.target===t.activeElement&&s.target.matches(n.focusableElements))return n.isMoved=!0,void(this.allowClick=!1);n.allowTouchCallbacks&&this.emit("touchMove",s),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=u,i.currentY=c;var d=i.currentX-i.startX,p=i.currentY-i.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))<this.params.threshold)){if(void 0===n.isScrolling&&(this.isHorizontal()&&i.currentY===i.startY||this.isVertical()&&i.currentX===i.startX?n.isScrolling=!1:d*d+p*p>=25&&(l=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,n.isScrolling=this.isHorizontal()?l>r.touchAngle:90-l>r.touchAngle)),n.isScrolling&&this.emit("touchMoveOpposite",s),void 0===n.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){this.allowClick=!1,!r.cssMode&&s.cancelable&&s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation();var h=this.isHorizontal()?d:p,f=this.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;r.oneWayMovement&&(h=Math.abs(h)*(o?1:-1),f=Math.abs(f)*(o?1:-1)),i.diff=h,h*=r.touchRatio,o&&(h=-h,f=-f);var g=this.touchesDirection;this.swipeDirection=h>0?"prev":"next",this.touchesDirection=f>0?"prev":"next";var m=this.params.loop&&!r.cssMode,_="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!n.isMoved){if(m&&_&&this.loopFix({direction:this.swipeDirection}),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){var v=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(v)}n.allowMomentumBounce=!1,r.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",s)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&g!==this.touchesDirection&&m&&_&&Math.abs(h)>=1)return Object.assign(i,{startX:u,startY:c,currentX:u,currentY:c,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);this.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=h+n.startTranslate;var b=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),h>0?(m&&_&&n.allowThresholdMove&&n.currentTranslate>(r.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>this.minTranslate()&&(b=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+n.startTranslate+h,y)))):h<0&&(m&&_&&n.allowThresholdMove&&n.currentTranslate<(r.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===r.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslate<this.maxTranslate()&&(b=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-n.startTranslate-h,y)))),b&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),this.allowSlidePrev||this.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(h)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,void(i.diff=this.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&this.freeMode||r.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}}}else n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",s)}}function cZ(e){var t,n=this,r=n.touchEventsData,i=e;if(i.originalEvent&&(i=i.originalEvent),"touchend"===i.type||"touchcancel"===i.type){if(!(t=(0,ef.A)(i.changedTouches).filter(function(e){return e.identifier===r.touchId})[0])||t.identifier!==r.touchId)return}else{if(null!==r.touchId||i.pointerId!==r.pointerId)return;t=i}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)||["pointercancel","contextmenu"].includes(i.type)&&(n.browser.isSafari||n.browser.isWebView)){r.pointerId=null,r.touchId=null;var o=n.params,a=n.touches,s=n.rtlTranslate,l=n.slidesGrid;if(n.enabled&&(o.simulateTouch||"mouse"!==i.pointerType)){if(r.allowTouchCallbacks&&n.emit("touchEnd",i),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&o.grabCursor&&n.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);o.grabCursor&&r.isMoved&&r.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);var u,c=cv(),d=c-r.touchStartTime;if(n.allowClick){var p=i.path||i.composedPath&&i.composedPath();n.updateClickedSlide(p&&p[0]||i.target,p),n.emit("tap click",i),d<300&&c-r.lastClickTime<300&&n.emit("doubleTap doubleClick",i)}if(r.lastClickTime=cv(),c_(function(){n.destroyed||(n.allowClick=!0)}),!r.isTouched||!r.isMoved||!n.swipeDirection||0===a.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,u=o.followFinger?s?n.translate:-n.translate:-r.currentTranslate,!o.cssMode){if(o.freeMode&&o.freeMode.enabled)n.freeMode.onTouchEnd({currentPos:u});else{for(var h=u>=-n.maxTranslate()&&!n.params.loop,f=0,g=n.slidesSizesGrid[0],m=0;m<l.length;m+=m<o.slidesPerGroupSkip?1:o.slidesPerGroup){var _=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[m+_]?(h||u>=l[m]&&u<l[m+_])&&(f=m,g=l[m+_]-l[m]):(h||u>=l[m])&&(f=m,g=l[l.length-1]-l[l.length-2])}var v=null,b=null;o.rewind&&(n.isBeginning?b=o.virtual&&o.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(v=0));var y=(u-l[f])/g,w=f<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(d>o.longSwipesMs){if(!o.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&(y>=o.longSwipesRatio?n.slideTo(o.rewind&&n.isEnd?v:f+w):n.slideTo(f)),"prev"===n.swipeDirection&&(y>1-o.longSwipesRatio?n.slideTo(f+w):null!==b&&y<0&&Math.abs(y)>o.longSwipesRatio?n.slideTo(b):n.slideTo(f))}else{if(!o.shortSwipes)return void n.slideTo(n.activeIndex);n.navigation&&(i.target===n.navigation.nextEl||i.target===n.navigation.prevEl)?i.target===n.navigation.nextEl?n.slideTo(f+w):n.slideTo(f):("next"===n.swipeDirection&&n.slideTo(null!==v?v:f+w),"prev"===n.swipeDirection&&n.slideTo(null!==b?b:f))}}}}}}function cH(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,o=e.snapGrid,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(function(){e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function cV(e){this.enabled&&(this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function cQ(){var e=this.wrapperEl,t=this.rtlTranslate;if(this.enabled){this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}}function cY(e){cj(this,e.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}function c$(){this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}var cK=function(e,t){var n=uX(),r=e.params,i=e.el,o=e.wrapperEl,a=e.device,s=!!r.nested,l="on"===t?"addEventListener":"removeEventListener";n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",cH,!0):e[t]("observerUpdate",cH,!0),i[l]("load",e.onLoad,{capture:!0})},cX=function(e,t){return e.grid&&t.grid&&t.grid.rows>1},cJ={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1},c0={eventsEmitter:{on:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;var i=n?"unshift":"push";return e.split(" ").forEach(function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny:function(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e?this:(0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this)},offAny:function(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;var t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off:function(e,t){var n=this;return!n.eventsListeners||n.destroyed||n.eventsListeners&&e.split(" ").forEach(function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(function(r,i){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return"string"==typeof o[0]||Array.isArray(o[0])?(e=o[0],t=o.slice(1,o.length),n=r):(e=o[0].events,t=o[0].data,n=o[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(function(r){r.apply(n,[e].concat((0,ef.A)(t)))}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(function(e){e.apply(n,t)})}),r}},update:{updateSize:function(){var e,t,n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(cI(n,"padding-left")||0,10)-parseInt(cI(n,"padding-right")||0,10),t=t-parseInt(cI(n,"padding-top")||0,10)-parseInt(cI(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}var n=e.params,r=e.wrapperEl,i=e.slidesEl,o=e.size,a=e.rtlTranslate,s=e.wrongRTL,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=cx(i,".".concat(e.params.slideClass,", swiper-slide")),d=l?e.virtual.slides.length:c.length,p=[],h=[],f=[],g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));var m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(e));var _=e.snapGrid.length,v=e.slidesGrid.length,b=n.spaceBetween,y=-g,w=0,S=0;if(void 0!==o){"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*o:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,c.forEach(function(e){a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(cS(r,"--swiper-centered-offset-before",""),cS(r,"--swiper-centered-offset-after",""));var A,T=n.grid&&n.grid.rows>1&&e.grid;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();for(var x="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(function(e){return void 0!==n.breakpoints[e].slidesPerView}).length>0,k=0;k<d;k+=1){A=0;var M=void 0;if(c[k]&&(M=c[k]),T&&e.grid.updateSlide(k,M,c),!c[k]||"none"!==cI(M,"display")){if("auto"===n.slidesPerView){x&&(c[k].style[e.getDirectionLabel("width")]="");var P=getComputedStyle(M),I=M.style.transform,E=M.style.webkitTransform;if(I&&(M.style.transform="none"),E&&(M.style.webkitTransform="none"),n.roundLengths)A=e.isHorizontal()?cD(M,"width",!0):cD(M,"height",!0);else{var C=t(P,"width"),O=t(P,"padding-left"),D=t(P,"padding-right"),L=t(P,"margin-left"),B=t(P,"margin-right"),N=P.getPropertyValue("box-sizing");if(N&&"border-box"===N)A=C+L+B;else{var R=M,j=R.clientWidth;A=C+O+D+L+B+(R.offsetWidth-j)}}I&&(M.style.transform=I),E&&(M.style.webkitTransform=E),n.roundLengths&&(A=Math.floor(A))}else A=(o-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(A=Math.floor(A)),c[k]&&(c[k].style[e.getDirectionLabel("width")]="".concat(A,"px"));c[k]&&(c[k].swiperSlideSize=A),f.push(A),n.centeredSlides?(y=y+A/2+w/2+b,0===w&&0!==k&&(y=y-o/2-b),0===k&&(y=y-o/2-b),.001>Math.abs(y)&&(y=0),n.roundLengths&&(y=Math.floor(y)),S%n.slidesPerGroup==0&&p.push(y),h.push(y)):(n.roundLengths&&(y=Math.floor(y)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&p.push(y),h.push(y),y=y+A+b),e.virtualSize+=A+b,w=A,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,a&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width="".concat(e.virtualSize+b,"px")),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+b,"px")),T&&e.grid.updateWrapperSize(A,p),!n.centeredSlides){for(var U=[],z=0;z<p.length;z+=1){var F=p[z];n.roundLengths&&(F=Math.floor(F)),p[z]<=e.virtualSize-o&&U.push(F)}p=U,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(l&&n.loop){var G=f[0]+b;if(n.slidesPerGroup>1)for(var q=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),W=G*n.slidesPerGroup,Z=0;Z<q;Z+=1)p.push(p[p.length-1]+W);for(var H=0;H<e.virtual.slidesBefore+e.virtual.slidesAfter;H+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+G),h.push(h[h.length-1]+G),e.virtualSize+=G}if(0===p.length&&(p=[0]),0!==b){var V=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");c.filter(function(e,t){return!(n.cssMode&&!n.loop)||t!==c.length-1}).forEach(function(e){e.style[V]="".concat(b,"px")})}if(n.centeredSlides&&n.centeredSlidesBounds){var Q=0;f.forEach(function(e){Q+=e+(b||0)});var Y=(Q-=b)-o;p=p.map(function(e){return e<=0?-g:e>Y?Y+m:e})}if(n.centerInsufficientSlides){var $=0;if(f.forEach(function(e){$+=e+(b||0)}),($-=b)<o){var K=(o-$)/2;p.forEach(function(e,t){p[t]=e-K}),h.forEach(function(e,t){h[t]=e+K})}}if(Object.assign(e,{slides:c,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){cS(r,"--swiper-centered-offset-before","".concat(-p[0],"px")),cS(r,"--swiper-centered-offset-after","".concat(e.size/2-f[f.length-1]/2,"px"));var X=-e.snapGrid[0],J=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(function(e){return e+X}),e.slidesGrid=e.slidesGrid.map(function(e){return e+J})}if(d!==u&&e.emit("slidesLengthChange"),p.length!==_&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==v&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){var ee="".concat(n.containerModifierClass,"backface-hidden"),et=e.el.classList.contains(ee);d<=n.maxBackfaceHiddenSlides?et||e.el.classList.add(ee):et&&e.el.classList.remove(ee)}}},updateAutoHeight:function(e){var t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,o=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);var a=function(e){return i?n.slides[n.getSlideIndexByData(e)]:n.slides[e]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1){if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(function(e){r.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length&&!i)break;r.push(a(s))}}else r.push(a(n.activeIndex));for(t=0;t<r.length;t+=1)if(void 0!==r[t]){var l=r[t].offsetHeight;o=l>o?l:o}(o||0===o)&&(n.wrapperEl.style.height="".concat(o,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0,n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.slides,r=this.rtlTranslate,i=this.snapGrid;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-e;r&&(o=e),n.forEach(function(e){e.classList.remove(t.slideVisibleClass,t.slideFullyVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];var a=t.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(var s=0;s<n.length;s+=1){var l=n[s],u=l.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(u-=n[0].swiperSlideOffset);var c=(o+(t.centeredSlides?this.minTranslate():0)-u)/(l.swiperSlideSize+a),d=(o-i[0]+(t.centeredSlides?this.minTranslate():0)-u)/(l.swiperSlideSize+a),p=-(o-u),h=p+this.slidesSizesGrid[s],f=p>=0&&p<=this.size-this.slidesSizesGrid[s];(p>=0&&p<this.size-1||h>1&&h<=this.size||p<=0&&h>=this.size)&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(s),n[s].classList.add(t.slideVisibleClass)),f&&n[s].classList.add(t.slideFullyVisibleClass),l.progress=r?-c:c,l.originalProgress=r?-d:d}}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var n=this.params,r=this.maxTranslate()-this.minTranslate(),i=this.progress,o=this.isBeginning,a=this.isEnd,s=this.progressLoop,l=o,u=a;if(0===r)i=0,o=!0,a=!0;else{i=(e-this.minTranslate())/r;var c=1>Math.abs(e-this.minTranslate()),d=1>Math.abs(e-this.maxTranslate());o=c||i<=0,a=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){var p=this.getSlideIndexByData(0),h=this.getSlideIndexByData(this.slides.length-1),f=this.slidesGrid[p],g=this.slidesGrid[h],m=this.slidesGrid[this.slidesGrid.length-1],_=Math.abs(e);(s=_>=f?(_-f)/m:(_+m-g)/m)>1&&(s-=1)}Object.assign(this,{progress:i,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&this.updateSlidesProgress(e),o&&!l&&this.emit("reachBeginning toEdge"),a&&!u&&this.emit("reachEnd toEdge"),(l&&!o||u&&!a)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){var e,t,n,r=this.slides,i=this.params,o=this.slidesEl,a=this.activeIndex,s=this.virtual&&i.virtual.enabled,l=this.grid&&i.grid&&i.grid.rows>1,u=function(e){return cx(o,".".concat(i.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(s){if(i.loop){var c=a-this.virtual.slidesBefore;c<0&&(c=this.virtual.slides.length+c),c>=this.virtual.slides.length&&(c-=this.virtual.slides.length),e=u('[data-swiper-slide-index="'.concat(c,'"]'))}else e=u('[data-swiper-slide-index="'.concat(a,'"]'))}else l?(e=r.filter(function(e){return e.column===a})[0],n=r.filter(function(e){return e.column===a+1})[0],t=r.filter(function(e){return e.column===a-1})[0]):e=r[a];e&&(l||(n=function(e,t){for(var n=[];e.nextElementSibling;){var r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(e,".".concat(i.slideClass,", swiper-slide"))[0],i.loop&&!n&&(n=r[0]),t=function(e,t){for(var n=[];e.previousElementSibling;){var r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(e,".".concat(i.slideClass,", swiper-slide"))[0],i.loop)),r.forEach(function(r){cR(r,r===e,i.slideActiveClass),cR(r,r===n,i.slideNextClass),cR(r,r===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,i=n.snapGrid,o=n.params,a=n.activeIndex,s=n.realIndex,l=n.snapIndex,u=e,c=function(e){var t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===u&&(u=function(e){for(var t,n=e.slidesGrid,r=e.params,i=e.rtlTranslate?e.translate:-e.translate,o=0;o<n.length;o+=1)void 0!==n[o+1]?i>=n[o]&&i<n[o+1]-(n[o+1]-n[o])/2?t=o:i>=n[o]&&i<n[o+1]&&(t=o+1):i>=n[o]&&(t=o);return r.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),i.indexOf(r)>=0)t=i.indexOf(r);else{var d=Math.min(o.slidesPerGroupSkip,u);t=d+Math.floor((u-d)/o.slidesPerGroup)}if(t>=i.length&&(t=i.length-1),u!==a||n.params.loop){if(u===a&&n.params.loop&&n.virtual&&n.params.virtual.enabled)n.realIndex=c(u);else{var p,h=n.grid&&o.grid&&o.grid.rows>1;if(n.virtual&&o.virtual.enabled&&o.loop)p=c(u);else if(h){var f=n.slides.filter(function(e){return e.column===u})[0],g=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(n.slides.indexOf(f),0)),p=Math.floor(g/o.grid.rows)}else if(n.slides[u]){var m=n.slides[u].getAttribute("data-swiper-slide-index");p=m?parseInt(m,10):u}else p=u;Object.assign(n,{previousSnapIndex:l,snapIndex:t,previousRealIndex:s,realIndex:p,previousIndex:a,activeIndex:u}),n.initialized&&cz(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(s!==p&&n.emit("realIndexChange"),n.emit("slideChange"))}}else t!==l&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e,t){var n=this.params,r=e.closest(".".concat(n.slideClass,", swiper-slide"));!r&&this.isElement&&t&&t.length>1&&t.includes(e)&&(0,ef.A)(t.slice(t.indexOf(e)+1,t.length)).forEach(function(e){!r&&e.matches&&e.matches(".".concat(n.slideClass,", swiper-slide"))&&(r=e)});var i,o=!1;if(r){for(var a=0;a<this.slides.length;a+=1)if(this.slides[a]===r){o=!0,i=a;break}}if(!r||!o)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i,n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,r=this.translate,i=this.wrapperEl;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;var o=cb(i,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){var n=this.rtlTranslate,r=this.params,i=this.wrapperEl,o=this.progress,a=0,s=0;this.isHorizontal()?a=n?-e:e:s=e,r.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s,r.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-s:r.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),i.style.transform="translate3d(".concat(a,"px, ").concat(s,"px, ").concat(0,"px)"));var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);var o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var l,u=o.minTranslate(),c=o.maxTranslate();if(l=r&&e>u?u:r&&e<c?c:e,o.updateProgress(l),a.cssMode){var d=o.isHorizontal();if(0===t)s[d?"scrollLeft":"scrollTop"]=-l;else{if(!o.support.smoothScroll)return cA({swiper:o,targetPosition:-l,side:d?"left":"top"}),!0;s.scrollTo(z(z({},d?"left":"top",-l),"behavior","smooth"))}return!0}return 0===t?(o.setTransition(0),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration="".concat(e,"ms"),this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this.params;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),cF({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this.params;this.animating=!1,n.cssMode||(this.setTransition(0),cF({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));var o=this,a=e;a<0&&(a=0);var s=o.params,l=o.snapGrid,u=o.slidesGrid,c=o.previousIndex,d=o.activeIndex,p=o.rtlTranslate,h=o.wrapperEl;if(!o.enabled&&!r&&!i||o.destroyed||o.animating&&s.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);var f=Math.min(o.params.slidesPerGroupSkip,a),g=f+Math.floor((a-f)/o.params.slidesPerGroup);g>=l.length&&(g=l.length-1);var m,_=-l[g];if(s.normalizeSlideIndex)for(var v=0;v<u.length;v+=1){var b=-Math.floor(100*_),y=Math.floor(100*u[v]),w=Math.floor(100*u[v+1]);void 0!==u[v+1]?b>=y&&b<w-(w-y)/2?a=v:b>=y&&b<w&&(a=v+1):b>=y&&(a=v)}if(o.initialized&&a!==d&&(!o.allowSlideNext&&(p?_>o.translate&&_>o.minTranslate():_<o.translate&&_<o.minTranslate())||!o.allowSlidePrev&&_>o.translate&&_>o.maxTranslate()&&(d||0)!==a))return!1;if(a!==(c||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(_),m=a>d?"next":a<d?"prev":"reset",p&&-_===o.translate||!p&&_===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(_),"reset"!==m&&(o.transitionStart(n,m),o.transitionEnd(n,m)),!1;if(s.cssMode){var S=o.isHorizontal(),A=p?_:-_;if(0===t){var T=o.virtual&&o.params.virtual.enabled;T&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),T&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(function(){h[S?"scrollLeft":"scrollTop"]=A})):h[S?"scrollLeft":"scrollTop"]=A,T&&requestAnimationFrame(function(){o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return cA({swiper:o,targetPosition:A,side:S?"left":"top"}),!0;h.scrollTo(z(z({},S?"left":"top",A),"behavior","smooth"))}return!0}return o.setTransition(t),o.setTranslate(_),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,m),0===t?o.transitionEnd(n,m):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,m))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));var i=this;if(!i.destroyed){void 0===t&&(t=i.params.speed);var o=i.grid&&i.params.grid&&i.params.grid.rows>1,a=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{if(o){var s,l=a*i.params.grid.rows;s=i.slides.filter(function(e){return 1*e.getAttribute("data-swiper-slide-index")===l})[0].column}else s=i.getSlideIndexByData(a);var u=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,c=i.params.centeredSlides,d=i.params.slidesPerView;"auto"===d?d=i.slidesPerViewDynamic():(d=Math.ceil(parseFloat(i.params.slidesPerView,10)),c&&d%2==0&&(d+=1));var p=u-s<d;if(c&&(p=p||s<Math.ceil(d/2)),r&&c&&"auto"!==i.params.slidesPerView&&!o&&(p=!1),p){var h=c?s<i.activeIndex?"prev":"next":s-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:h,slideTo:!0,activeSlideIndex:"next"===h?s+1:s-u+1,slideRealIndex:"next"===h?i.realIndex:void 0})}if(o){var f=a*i.params.grid.rows;a=i.slides.filter(function(e){return 1*e.getAttribute("data-swiper-slide-index")===f})[0].column}else a=i.getSlideIndexByData(a)}}return requestAnimationFrame(function(){i.slideTo(a,t,n,r)}),i}},slideNext:function(e,t,n){void 0===t&&(t=!0);var r=this,i=r.enabled,o=r.params,a=r.animating;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);var s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));var l=r.activeIndex<o.slidesPerGroupSkip?1:s,u=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!u&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame(function(){r.slideTo(r.activeIndex+l,e,t,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);var r=this,i=r.params,o=r.snapGrid,a=r.slidesGrid,s=r.rtlTranslate,l=r.enabled,u=r.animating;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);var c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p,h=d(s?r.translate:-r.translate),f=o.map(function(e){return d(e)}),g=o[f.indexOf(h)-1];void 0===g&&i.cssMode&&(o.forEach(function(e,t){h>=e&&(p=t)}),void 0!==p&&(g=o[p>0?p-1:p]));var m=0;if(void 0!==g&&((m=a.indexOf(g))<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-r.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&r.isBeginning){var _=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(_,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(function(){r.slideTo(m,e,t,n)}),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===t&&(t=!0),void 0===r&&(r=.5);if(!this.destroyed){void 0===e&&(e=this.params.speed);var i=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,i),a=o+Math.floor((i-o)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[a]){var l=this.snapGrid[a];s-l>(this.snapGrid[a+1]-l)*r&&(i+=this.params.slidesPerGroup)}else{var u=this.snapGrid[a-1];s-u<=(this.snapGrid[a]-u)*r&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,n)}},slideToClickedSlide:function(){var e=this;if(!e.destroyed){var t,n=e.params,r=e.slidesEl,i="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView,o=e.clickedIndex,a=e.isElement?"swiper-slide":".".concat(n.slideClass);if(n.loop){if(e.animating)return;t=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?o<e.loopedSlides-i/2||o>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),o=e.getSlideIndex(cx(r,"".concat(a,'[data-swiper-slide-index="').concat(t,'"]'))[0]),c_(function(){e.slideTo(o)})):e.slideTo(o):o>e.slides.length-i?(e.loopFix(),o=e.getSlideIndex(cx(r,"".concat(a,'[data-swiper-slide-index="').concat(t,'"]'))[0]),c_(function(){e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}}},loop:{loopCreate:function(e){var t=this,n=t.params,r=t.slidesEl;if(!(!n.loop||t.virtual&&t.params.virtual.enabled)){var i=function(){cx(r,".".concat(n.slideClass,", swiper-slide")).forEach(function(e,t){e.setAttribute("data-swiper-slide-index",t)})},o=t.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(o?n.grid.rows:1),s=t.slides.length%a!=0,l=o&&t.slides.length%n.grid.rows!=0,u=function(e){for(var r=0;r<e;r+=1){var i=t.isElement?cM("swiper-slide",[n.slideBlankClass]):cM("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(i)}};s?n.loopAddBlankSlides?(u(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()):ck("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):l&&(n.loopAddBlankSlides?(u(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()):ck("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),i(),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})}},loopFix:function(e){var t=void 0===e?{}:e,n=t.slideRealIndex,r=t.slideTo,i=void 0===r||r,o=t.direction,a=t.setTranslate,s=t.activeSlideIndex,l=t.byController,u=t.byMousewheel,c=this;if(c.params.loop){c.emit("beforeLoopFix");var d=c.slides,p=c.allowSlidePrev,h=c.allowSlideNext,f=c.slidesEl,g=c.params,m=g.centeredSlides;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&g.virtual.enabled)return i&&(g.centeredSlides||0!==c.snapIndex?g.centeredSlides&&c.snapIndex<g.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=p,c.allowSlideNext=h,void c.emit("loopFix");var _=g.slidesPerView;"auto"===_?_=c.slidesPerViewDynamic():(_=Math.ceil(parseFloat(g.slidesPerView,10)),m&&_%2==0&&(_+=1));var v=g.slidesPerGroupAuto?_:g.slidesPerGroup,b=v;b%v!=0&&(b+=v-b%v),b+=g.loopAdditionalSlides,c.loopedSlides=b;var y=c.grid&&g.grid&&g.grid.rows>1;d.length<_+b?ck("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&"row"===g.grid.fill&&ck("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");var w=[],S=[],A=c.activeIndex;void 0===s?s=c.getSlideIndex(d.filter(function(e){return e.classList.contains(g.slideActiveClass)})[0]):A=s;var T="next"===o||!o,x="prev"===o||!o,k=0,M=0,P=y?Math.ceil(d.length/g.grid.rows):d.length,I=(y?d[s].column:s)+(m&&void 0===a?-_/2+.5:0);if(I<b){k=Math.max(b-I,v);for(var E=0;E<b-I;E+=1){var C=E-Math.floor(E/P)*P;if(y)for(var O=P-C-1,D=d.length-1;D>=0;D-=1)d[D].column===O&&w.push(D);else w.push(P-C-1)}}else if(I+_>P-b){M=Math.max(I-(P-2*b),v);for(var L=0;L<M;L+=1)(function(){var e=L-Math.floor(L/P)*P;y?d.forEach(function(t,n){t.column===e&&S.push(n)}):S.push(e)})()}if(c.__preventObserver__=!0,requestAnimationFrame(function(){c.__preventObserver__=!1}),x&&w.forEach(function(e){d[e].swiperLoopMoveDOM=!0,f.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),T&&S.forEach(function(e){d[e].swiperLoopMoveDOM=!0,f.append(d[e]),d[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===g.slidesPerView?c.updateSlides():y&&(w.length>0&&x||S.length>0&&T)&&c.slides.forEach(function(e,t){c.grid.updateSlide(t,e,c.slides)}),g.watchSlidesProgress&&c.updateSlidesOffset(),i){if(w.length>0&&x){if(void 0===n){var B=c.slidesGrid[A],N=c.slidesGrid[A+k]-B;u?c.setTranslate(c.translate-N):(c.slideTo(A+Math.ceil(k),0,!1,!0),a&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-N,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-N))}else if(a){var R=y?w.length/g.grid.rows:w.length;c.slideTo(c.activeIndex+R,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(S.length>0&&T){if(void 0===n){var j=c.slidesGrid[A],U=c.slidesGrid[A-M]-j;u?c.setTranslate(c.translate-U):(c.slideTo(A-M,0,!1,!0),a&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-U,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-U))}else{var z=y?S.length/g.grid.rows:S.length;c.slideTo(c.activeIndex-z,0,!1,!0)}}}if(c.allowSlidePrev=p,c.allowSlideNext=h,c.controller&&c.controller.control&&!l){var F={slideRealIndex:n,direction:o,setTranslate:a,activeSlideIndex:s,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(function(e){!e.destroyed&&e.params.loop&&e.loopFix(G(G({},F),{},{slideTo:e.params.slidesPerView===g.slidesPerView&&i}))}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix(G(G({},F),{},{slideTo:c.controller.control.params.slidesPerView===g.slidesPerView&&i}))}c.emit("loopFix")}},loopDestroy:function(){var e=this.params,t=this.slidesEl;if(!(!e.loop||this.virtual&&this.params.virtual.enabled)){this.recalcSlides();var n=[];this.slides.forEach(function(e){n[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(function(e){e.removeAttribute("data-swiper-slide-index")}),n.forEach(function(e){t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(function(){t.__preventObserver__=!1})}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(function(){e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this.params;this.onTouchStart=cq.bind(this),this.onTouchMove=cW.bind(this),this.onTouchEnd=cZ.bind(this),this.onDocumentTouchStart=c$.bind(this),e.cssMode&&(this.onScroll=cQ.bind(this)),this.onClick=cV.bind(this),this.onLoad=cY.bind(this),cK(this,"on")},detachEvents:function(){cK(this,"off")}},breakpoints:{setBreakpoint:function(){var e=this,t=e.realIndex,n=e.initialized,r=e.params,i=e.el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(a&&e.currentBreakpoint!==a){var s=(a in o?o[a]:void 0)||e.originalParams,l=cX(e,r),u=cX(e,s),c=e.params.grabCursor,d=s.grabCursor,p=r.enabled;l&&!u?(i.classList.remove("".concat(r.containerModifierClass,"grid"),"".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&u&&(i.classList.add("".concat(r.containerModifierClass,"grid")),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===r.grid.fill)&&i.classList.add("".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()),c&&!d?e.unsetGrabCursor():!c&&d&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(function(t){if(void 0!==s[t]){var n=r[t]&&r[t].enabled,i=s[t]&&s[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}});var h=s.direction&&s.direction!==r.direction,f=r.loop&&(s.slidesPerView!==r.slidesPerView||h),g=r.loop;h&&n&&e.changeDirection(),cw(e.params,s);var m=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!m?e.disable():!p&&m&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",s),n&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&_?(e.loopCreate(t),e.updateSlides()):g&&!_&&e.loopDestroy()),e.emit("breakpoint",s)}}},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var r=!1,i=cg(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map(function(e){return"string"==typeof e&&0===e.indexOf("@")?{value:o*parseFloat(e.substr(1)),point:e}:{value:e,point:e}});a.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<a.length;s+=1){var l=a[s],u=l.point,c=l.value;"window"===t?i.matchMedia("(min-width: ".concat(c,"px)")).matches&&(r=u):c<=n.clientWidth&&(r=u)}return r||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked,t=this.params,n=t.slidesOffsetBefore;if(n){var r=this.slides.length-1,i=this.slidesGrid[r]+this.slidesSizesGrid[r]+2*n;this.isLocked=this.size>i}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t,n,r,i=this.classNames,o=this.params,a=this.rtl,s=this.el,l=this.device,u=(e=["initialized",o.direction,{"free-mode":this.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:a},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&"column"===o.grid.fill},{android:l.android},{ios:l.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],t=o.containerModifierClass,n=[],e.forEach(function(e){"object"===j(e)?Object.keys(e).forEach(function(r){e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n);i.push.apply(i,(0,ef.A)(u)),(r=s.classList).add.apply(r,(0,ef.A)(i)),this.emitContainerClasses()},removeClasses:function(){var e,t=this.el,n=this.classNames;(e=t.classList).remove.apply(e,(0,ef.A)(n)),this.emitContainerClasses()}}},c1={},c2=function(){function e(){Q(this,e);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?s=n[0]:(a=n[0],s=n[1]),s||(s={}),s=cw({},s),a&&!s.el&&(s.el=a);var i=uX();if(s.el&&"string"==typeof s.el&&i.querySelectorAll(s.el).length>1){var o=[];return i.querySelectorAll(s.el).forEach(function(t){var n=cw({},s,{el:t});o.push(new e(n))}),o}var a,s,l,u=this;u.__swiper__=!0,u.support=cB(),u.device=cN({userAgent:s.userAgent}),u.browser=(ch||(ch=function(){var e=cg(),t=cN(),n=!1;function r(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){var i=String(e.navigator.userAgent);if(i.includes("Version/")){var o=eu(i.split("Version/")[1].split(" ")[0].split(".").map(function(e){return Number(e)}),2),a=o[0],s=o[1];n=a<16||16===a&&s<2}}var l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),u=r();return{isSafari:n||u,needPerspectiveFix:n,need3dFix:u||l&&t.ios,isWebView:l}}()),ch),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=(0,ef.A)(u.__modules__),s.modules&&Array.isArray(s.modules)&&(l=u.modules).push.apply(l,(0,ef.A)(s.modules));var c={};u.modules.forEach(function(e){var t,n;e({params:s,swiper:u,extendParams:(t=s,n=c,function(e){void 0===e&&(e={});var r=Object.keys(e)[0],i=e[r];"object"===j(i)&&null!==i&&(!0===t[r]&&(t[r]={enabled:!0}),"navigation"===r&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),r in t&&"enabled"in i&&("object"!==j(t[r])||"enabled"in t[r]||(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}))),cw(n,e)}),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})});var d=cw({},cJ,c);return u.params=cw({},d,c1,s),u.originalParams=cw({},u.params),u.passedParams=cw({},s),u.params&&u.params.on&&Object.keys(u.params.on).forEach(function(e){u.on(e,u.params.on[e])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:a,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment:function(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}return $(e,[{key:"getDirectionLabel",value:function(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}},{key:"getSlideIndex",value:function(e){var t=this.slidesEl,n=this.params,r=cE(cx(t,".".concat(n.slideClass,", swiper-slide"))[0]);return cE(e)-r}},{key:"getSlideIndexByData",value:function(e){return this.getSlideIndex(this.slides.filter(function(t){return 1*t.getAttribute("data-swiper-slide-index")===e})[0])}},{key:"recalcSlides",value:function(){var e=this.slidesEl,t=this.params;this.slides=cx(e,".".concat(t.slideClass,", swiper-slide"))}},{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}},{key:"setProgress",value:function(e,t){e=Math.min(Math.max(e,0),1);var n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach(function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var n=this.params,r=this.slides,i=this.slidesGrid,o=this.slidesSizesGrid,a=this.size,s=this.activeIndex,l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){for(var u,c=r[s]?Math.ceil(r[s].swiperSlideSize):0,d=s+1;d<r.length;d+=1)r[d]&&!u&&(l+=1,(c+=Math.ceil(r[d].swiperSlideSize))>a&&(u=!0));for(var p=s-1;p>=0;p-=1)r[p]&&!u&&(l+=1,(c+=r[p].swiperSlideSize)>a&&(u=!0))}else if("current"===e)for(var h=s+1;h<r.length;h+=1)(t?i[h]+o[h]-i[s]<a:i[h]-i[s]<a)&&(l+=1);else for(var f=s-1;f>=0;f-=1)i[s]-i[f]<a&&(l+=1);return l}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t,n=e.snapGrid,r=e.params;if(r.breakpoints&&e.setBreakpoint(),(0,ef.A)(e.el.querySelectorAll('[loading="lazy"]')).forEach(function(t){t.complete&&cj(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){var i=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;t=e.slideTo(i.length-1,0,!1,!0)}else t=e.slideTo(e.activeIndex,0,!1,!0);t||o()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function o(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e,t){void 0===t&&(t=!0);var n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove("".concat(this.params.containerModifierClass).concat(n)),this.el.classList.add("".concat(this.params.containerModifierClass).concat(e)),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(function(t){"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}},{key:"changeLanguageDirection",value:function(e){this.rtl&&"rtl"===e||!this.rtl&&"ltr"===e||(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add("".concat(this.params.containerModifierClass,"rtl")),this.el.dir="rtl"):(this.el.classList.remove("".concat(this.params.containerModifierClass,"rtl")),this.el.dir="ltr"),this.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);var r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):cx(n,r())[0];return!i&&t.params.createElements&&(i=cM("div",t.params.wrapperClass),n.append(i),cx(n,".".concat(t.params.slideClass)).forEach(function(e){i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===cI(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===cI(n,"direction")),wrongRTL:"-webkit-box"===cI(i,"display")}),!0}},{key:"init",value:function(e){var t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();var n=(0,ef.A)(t.el.querySelectorAll('[loading="lazy"]'));return t.isElement&&n.push.apply(n,(0,ef.A)(t.hostEl.querySelectorAll('[loading="lazy"]'))),n.forEach(function(e){e.complete?cj(t,e):e.addEventListener("load",function(e){cj(t,e.target)})}),cz(t),t.initialized=!0,cz(t),t.emit("init"),t.emit("afterInit"),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,r=n.params,i=n.el,o=n.wrapperEl,a=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttribute("style"),o.removeAttribute("style"),a&&a.length&&a.forEach(function(e){e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.el.swiper=null,function(e){Object.keys(e).forEach(function(t){try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){cw(c1,e)}},{key:"extendedDefaults",get:function(){return c1}},{key:"defaults",get:function(){return cJ}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var n=e.prototype.__modules__;"function"==typeof t&&0>n.indexOf(t)&&n.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?t.forEach(function(t){return e.installModule(t)}):e.installModule(t),e}}])}();function c4(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(function(i){if(!n[i]&&!0===n.auto){var o=cx(e.el,".".concat(r[i]))[0];o||((o=cM("div",r[i])).className=r[i],e.el.append(o)),n[i]=o,t[i]=o}}),n}function c3(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,"."))}function c5(e){var t=this.params,n=this.slidesEl;t.loop&&this.loopDestroy();var r=function(e){if("string"==typeof e){var t=document.createElement("div");t.innerHTML=e,n.append(t.children[0]),t.innerHTML=""}else n.append(e)};if("object"===j(e)&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&r(e[i]);else r(e);this.recalcSlides(),t.loop&&this.loopCreate(),t.observer&&!this.isElement||this.update()}function c6(e){var t=this.params,n=this.activeIndex,r=this.slidesEl;t.loop&&this.loopDestroy();var i=n+1,o=function(e){if("string"==typeof e){var t=document.createElement("div");t.innerHTML=e,r.prepend(t.children[0]),t.innerHTML=""}else r.prepend(e)};if("object"===j(e)&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&o(e[a]);i=n+e.length}else o(e);this.recalcSlides(),t.loop&&this.loopCreate(),t.observer&&!this.isElement||this.update(),this.slideTo(i,0,!1)}function c8(e,t){var n=this.params,r=this.activeIndex,i=this.slidesEl,o=r;n.loop&&(o-=this.loopedSlides,this.loopDestroy(),this.recalcSlides());var a=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=a)this.appendSlide(t);else{for(var s=o>e?o+1:o,l=[],u=a-1;u>=e;u-=1){var c=this.slides[u];c.remove(),l.unshift(c)}if("object"===j(t)&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&i.append(t[d]);s=o>e?o+t.length:o}else i.append(t);for(var p=0;p<l.length;p+=1)i.append(l[p]);this.recalcSlides(),n.loop&&this.loopCreate(),n.observer&&!this.isElement||this.update(),n.loop?this.slideTo(s+this.loopedSlides,0,!1):this.slideTo(s,0,!1)}}function c9(e){var t=this.params,n=this.activeIndex;t.loop&&(n-=this.loopedSlides,this.loopDestroy());var r,i=n;if("object"===j(e)&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],this.slides[r]&&this.slides[r].remove(),r<i&&(i-=1);i=Math.max(i,0)}else r=e,this.slides[r]&&this.slides[r].remove(),r<i&&(i-=1),i=Math.max(i,0);this.recalcSlides(),t.loop&&this.loopCreate(),t.observer&&!this.isElement||this.update(),t.loop?this.slideTo(i+this.loopedSlides,0,!1):this.slideTo(i,0,!1)}function c7(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}function de(e){var t,n=e.effect,r=e.swiper,i=e.on,o=e.setTranslate,a=e.setTransition,s=e.overwriteParams,l=e.perspective,u=e.recreateShadows,c=e.getEffectParams;i("beforeInit",function(){if(r.params.effect===n){r.classNames.push("".concat(r.params.containerModifierClass).concat(n)),l&&l()&&r.classNames.push("".concat(r.params.containerModifierClass,"3d"));var e=s?s():{};Object.assign(r.params,e),Object.assign(r.originalParams,e)}}),i("setTranslate",function(){r.params.effect===n&&o()}),i("setTransition",function(e,t){r.params.effect===n&&a(t)}),i("transitionEnd",function(){r.params.effect===n&&u&&c&&c().slideShadows&&(r.slides.forEach(function(e){e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(function(e){return e.remove()})}),u())}),i("virtualUpdate",function(){r.params.effect===n&&(r.slides.length||(t=!0),requestAnimationFrame(function(){t&&r.slides&&r.slides.length&&(o(),t=!1)}))})}function dt(e,t){var n=cT(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function dn(e){var t=e.swiper,n=e.duration,r=e.transformElements,i=e.allSlides,o=t.activeIndex;if(t.params.virtualTranslate&&0!==n){var a=!1;(i?r:r.filter(function(e){var n,r=e.classList.contains("swiper-slide-transform")?(n=e).parentElement?n.parentElement:t.slides.filter(function(e){return e.shadowRoot&&e.shadowRoot===n.parentNode})[0]:e;return t.getSlideIndex(r)===o})).forEach(function(e){cO(e,function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;var e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}})})}}function dr(e,t,n){var r="swiper-slide-shadow".concat(n?"-".concat(n):"").concat(e?" swiper-slide-shadow-".concat(e):""),i=cT(t),o=i.querySelector(".".concat(r.split(" ").join(".")));return o||(o=cM("div",r.split(" ")),i.append(o)),o}Object.keys(c0).forEach(function(e){Object.keys(c0[e]).forEach(function(t){c2.prototype[t]=c0[e][t]})}),c2.use([function(e){var t=e.swiper,n=e.on,r=e.emit,i=cg(),o=null,a=null,s=function(){t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",function(){t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver(function(e){a=i.requestAnimationFrame(function(){var n=t.width,r=t.height,i=n,o=r;e.forEach(function(e){var n=e.contentBoxSize,r=e.contentRect,a=e.target;a&&a!==t.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)}),i===n&&o===r||s()})})).observe(t.el):(i.addEventListener("resize",s),i.addEventListener("orientationchange",l))}),n("destroy",function(){a&&i.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",l)})},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit,o=[],a=cg(),s=function(e,n){void 0===n&&(n={});var r=new(a.MutationObserver||a.WebkitMutationObserver)(function(e){if(!t.__preventObserver__){if(1!==e.length){var n=function(){i("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)}else i("observerUpdate",e[0])}});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),o.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",function(){if(t.params.observer){if(t.params.observeParents)for(var e=cC(t.hostEl),n=0;n<e.length;n+=1)s(e[n]);s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}}),r("destroy",function(){o.forEach(function(e){e.disconnect()}),o.splice(0,o.length)})}]);var di=[function(e){var t,n=e.swiper,r=e.extendParams,i=e.on,o=e.emit;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});var a=uX();n.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};var s=a.createElement("div");function l(e,t){var r,i=n.params.virtual;return i.cache&&n.virtual.cache[t]?n.virtual.cache[t]:(i.renderSlide?"string"==typeof(r=i.renderSlide.call(n,e,t))&&(s.innerHTML=r,r=s.children[0]):r=n.isElement?cM("swiper-slide"):cM("div",n.params.slideClass),r.setAttribute("data-swiper-slide-index",t),i.renderSlide||(r.innerHTML=e),i.cache&&(n.virtual.cache[t]=r),r)}function u(e,t){var r=n.params,i=r.slidesPerView,a=r.slidesPerGroup,s=r.centeredSlides,u=r.loop,c=r.initialSlide;if(!(t&&!u&&c>0)){var d=n.params.virtual,p=d.addSlidesBefore,h=d.addSlidesAfter,f=n.virtual,g=f.from,m=f.to,_=f.slides,v=f.slidesGrid,b=f.offset;n.params.cssMode||n.updateActiveIndex();var y,w,S,A=n.activeIndex||0;y=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",s?(w=Math.floor(i/2)+a+h,S=Math.floor(i/2)+a+p):(w=i+(a-1)+h,S=(u?i:a)+p);var T=A-S,x=A+w;u||(T=Math.max(T,0),x=Math.min(x,_.length-1));var k=(n.slidesGrid[T]||0)-(n.slidesGrid[0]||0);if(u&&A>=S?(T-=S,s||(k+=n.slidesGrid[0])):u&&A<S&&(T=-S,s&&(k+=n.slidesGrid[0])),Object.assign(n.virtual,{from:T,to:x,offset:k,slidesGrid:n.slidesGrid,slidesBefore:S,slidesAfter:w}),g===T&&m===x&&!e)return n.slidesGrid!==v&&k!==b&&n.slides.forEach(function(e){e.style[y]="".concat(k-Math.abs(n.cssOverflowAdjustment()),"px")}),n.updateProgress(),void o("virtualUpdate");if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:k,from:T,to:x,slides:function(){for(var e=[],t=T;t<=x;t+=1)e.push(_[t]);return e}()}),void(n.params.virtual.renderExternalUpdate?R():o("virtualUpdate"));var M=[],P=[],I=function(e){var t=e;return e<0?t=_.length+e:t>=_.length&&(t-=_.length),t};if(e)n.slides.filter(function(e){return e.matches(".".concat(n.params.slideClass,", swiper-slide"))}).forEach(function(e){e.remove()});else for(var E=g;E<=m;E+=1)(function(){if(E<T||E>x){var e=I(E);n.slides.filter(function(t){return t.matches(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(e,'"], swiper-slide[data-swiper-slide-index="').concat(e,'"]'))}).forEach(function(e){e.remove()})}})();for(var C=u?-_.length:0,O=u?2*_.length:_.length,D=C;D<O;D+=1)if(D>=T&&D<=x){var L=I(D);void 0===m||e?P.push(L):(D>m&&P.push(L),D<g&&M.push(L))}if(P.forEach(function(e){n.slidesEl.append(l(_[e],e))}),u)for(var B=M.length-1;B>=0;B-=1){var N=M[B];n.slidesEl.prepend(l(_[N],N))}else M.sort(function(e,t){return t-e}),M.forEach(function(e){n.slidesEl.prepend(l(_[e],e))});cx(n.slidesEl,".swiper-slide, swiper-slide").forEach(function(e){e.style[y]="".concat(k-Math.abs(n.cssOverflowAdjustment()),"px")}),R()}function R(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),o("virtualUpdate")}}i("beforeInit",function(){if(n.params.virtual.enabled){var e;if(void 0===n.passedParams.virtual.slides){var t=(0,ef.A)(n.slidesEl.children).filter(function(e){return e.matches(".".concat(n.params.slideClass,", swiper-slide"))});t&&t.length&&(n.virtual.slides=(0,ef.A)(t),e=!0,t.forEach(function(e,t){e.setAttribute("data-swiper-slide-index",t),n.virtual.cache[t]=e,e.remove()}))}e||(n.virtual.slides=n.params.virtual.slides),n.classNames.push("".concat(n.params.containerModifierClass,"virtual")),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,u(!1,!0)}}),i("setTranslate",function(){n.params.virtual.enabled&&(n.params.cssMode&&!n._immediateVirtual?(clearTimeout(t),t=setTimeout(function(){u()},100)):u())}),i("init update resize",function(){n.params.virtual.enabled&&n.params.cssMode&&cS(n.wrapperEl,"--swiper-virtual-size","".concat(n.virtualSize,"px"))}),Object.assign(n.virtual,{appendSlide:function(e){if("object"===j(e)&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.push(e[t]);else n.virtual.slides.push(e);u(!0)},prependSlide:function(e){var t=n.activeIndex,r=t+1,i=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&n.virtual.slides.unshift(e[o]);r=t+e.length,i=e.length}else n.virtual.slides.unshift(e);if(n.params.virtual.cache){var a=n.virtual.cache,s={};Object.keys(a).forEach(function(e){var t=a[e],n=t.getAttribute("data-swiper-slide-index");n&&t.setAttribute("data-swiper-slide-index",parseInt(n,10)+i),s[parseInt(e,10)+i]=t}),n.virtual.cache=s}u(!0),n.slideTo(r,0)},removeSlide:function(e){if(null!=e){var t=n.activeIndex;if(Array.isArray(e))for(var r=e.length-1;r>=0;r-=1)n.params.virtual.cache&&(delete n.virtual.cache[e[r]],Object.keys(n.virtual.cache).forEach(function(t){t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e[r],1),e[r]<t&&(t-=1),t=Math.max(t,0);else n.params.virtual.cache&&(delete n.virtual.cache[e],Object.keys(n.virtual.cache).forEach(function(t){t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);u(!0),n.slideTo(t,0)}},removeAllSlides:function(){n.virtual.slides=[],n.params.virtual.cache&&(n.virtual.cache={}),u(!0),n.slideTo(0,0)},update:u})},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit,o=uX(),a=cg();function s(e){if(t.enabled){var n=t.rtlTranslate,r=e;r.originalEvent&&(r=r.originalEvent);var s=r.keyCode||r.charCode,l=t.params.keyboard.pageUpDown,u=l&&33===s,c=l&&34===s,d=37===s,p=39===s,h=38===s,f=40===s;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&f||c)||!t.allowSlidePrev&&(t.isHorizontal()&&d||t.isVertical()&&h||u))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(u||c||d||p||h||f)){var g=!1;if(cC(t.el,".".concat(t.params.slideClass,", swiper-slide")).length>0&&0===cC(t.el,".".concat(t.params.slideActiveClass)).length)return;var m=t.el,_=m.clientWidth,v=m.clientHeight,b=a.innerWidth,y=a.innerHeight,w=cP(m);n&&(w.left-=m.scrollLeft);for(var S=[[w.left,w.top],[w.left+_,w.top],[w.left,w.top+v],[w.left+_,w.top+v]],A=0;A<S.length;A+=1){var T=S[A];if(T[0]>=0&&T[0]<=b&&T[1]>=0&&T[1]<=y){if(0===T[0]&&0===T[1])continue;g=!0}}if(!g)return}t.isHorizontal()?((u||c||d||p)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((c||p)&&!n||(u||d)&&n)&&t.slideNext(),((u||d)&&!n||(c||p)&&n)&&t.slidePrev()):((u||c||h||f)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(c||f)&&t.slideNext(),(u||h)&&t.slidePrev()),i("keyPress",s)}}}function l(){t.keyboard.enabled||(o.addEventListener("keydown",s),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(o.removeEventListener("keydown",s),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",function(){t.params.keyboard.enabled&&l()}),r("destroy",function(){t.keyboard.enabled&&u()}),Object.assign(t.keyboard,{enable:l,disable:u})},function(e){var t,n=e.swiper,r=e.extendParams,i=e.on,o=e.emit,a=cg();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),n.mousewheel={enabled:!1};var s,l=cv(),u=[];function c(){n.enabled&&(n.mouseEntered=!0)}function d(){n.enabled&&(n.mouseEntered=!1)}function p(e){return!(n.params.mousewheel.thresholdDelta&&e.delta<n.params.mousewheel.thresholdDelta)&&!(n.params.mousewheel.thresholdTime&&cv()-l<n.params.mousewheel.thresholdTime)&&(e.delta>=6&&cv()-l<60||(e.direction<0?n.isEnd&&!n.params.loop||n.animating||(n.slideNext(),o("scroll",e.raw)):n.isBeginning&&!n.params.loop||n.animating||(n.slidePrev(),o("scroll",e.raw)),l=(new a.Date).getTime(),!1))}function h(e){var r=e;if(n.enabled&&!e.target.closest(".".concat(n.params.mousewheel.noMousewheelClass))){var i,a,l,c,d,h=n.params.mousewheel;n.params.cssMode&&r.preventDefault();var f=n.el;"container"!==n.params.mousewheel.eventsTarget&&(f=document.querySelector(n.params.mousewheel.eventsTarget));var g=f&&f.contains(r.target);if(!n.mouseEntered&&!g&&!h.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);var m=0,_=n.rtlTranslate?-1:1,v=(a=0,l=0,c=0,d=0,"detail"in(i=r)&&(l=i.detail),"wheelDelta"in i&&(l=-i.wheelDelta/120),"wheelDeltaY"in i&&(l=-i.wheelDeltaY/120),"wheelDeltaX"in i&&(a=-i.wheelDeltaX/120),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(a=l,l=0),c=10*a,d=10*l,"deltaY"in i&&(d=i.deltaY),"deltaX"in i&&(c=i.deltaX),i.shiftKey&&!c&&(c=d,d=0),(c||d)&&i.deltaMode&&(1===i.deltaMode?(c*=40,d*=40):(c*=800,d*=800)),c&&!a&&(a=c<1?-1:1),d&&!l&&(l=d<1?-1:1),{spinX:a,spinY:l,pixelX:c,pixelY:d});if(h.forceToAxis){if(n.isHorizontal()){if(!(Math.abs(v.pixelX)>Math.abs(v.pixelY)))return!0;m=-v.pixelX*_}else{if(!(Math.abs(v.pixelY)>Math.abs(v.pixelX)))return!0;m=-v.pixelY}}else m=Math.abs(v.pixelX)>Math.abs(v.pixelY)?-v.pixelX*_:-v.pixelY;if(0===m)return!0;h.invert&&(m=-m);var b=n.getTranslate()+m*h.sensitivity;if(b>=n.minTranslate()&&(b=n.minTranslate()),b<=n.maxTranslate()&&(b=n.maxTranslate()),(n.params.loop||!(b===n.minTranslate()||b===n.maxTranslate()))&&n.params.nested&&r.stopPropagation(),n.params.freeMode&&n.params.freeMode.enabled){var y={time:cv(),delta:Math.abs(m),direction:Math.sign(m)},w=s&&y.time<s.time+500&&y.delta<=s.delta&&y.direction===s.direction;if(!w){s=void 0;var S=n.getTranslate()+m*h.sensitivity,A=n.isBeginning,T=n.isEnd;if(S>=n.minTranslate()&&(S=n.minTranslate()),S<=n.maxTranslate()&&(S=n.maxTranslate()),n.setTransition(0),n.setTranslate(S),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!A&&n.isBeginning||!T&&n.isEnd)&&n.updateSlidesClasses(),n.params.loop&&n.loopFix({direction:y.direction<0?"next":"prev",byMousewheel:!0}),n.params.freeMode.sticky){clearTimeout(t),t=void 0,u.length>=15&&u.shift();var x=u.length?u[u.length-1]:void 0,k=u[0];if(u.push(y),x&&(y.delta>x.delta||y.direction!==x.direction))u.splice(0);else if(u.length>=15&&y.time-k.time<500&&k.delta-y.delta>=1&&y.delta<=6){var M=m>0?.8:.2;s=y,u.splice(0),t=c_(function(){n.slideToClosest(n.params.speed,!0,void 0,M)},0)}t||(t=c_(function(){s=y,u.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(w||o("scroll",r),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),h.releaseOnEdges&&(S===n.minTranslate()||S===n.maxTranslate()))return!0}}else{var P={time:cv(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();var I=u.length?u[u.length-1]:void 0;if(u.push(P),I?(P.direction!==I.direction||P.delta>I.delta||P.time>I.time+150)&&p(P):p(P),function(e){var t=n.params.mousewheel;if(e.direction<0){if(n.isEnd&&!n.params.loop&&t.releaseOnEdges)return!0}else if(n.isBeginning&&!n.params.loop&&t.releaseOnEdges)return!0;return!1}(P))return!0}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1}}function f(e){var t=n.el;"container"!==n.params.mousewheel.eventsTarget&&(t=document.querySelector(n.params.mousewheel.eventsTarget)),t[e]("mouseenter",c),t[e]("mouseleave",d),t[e]("wheel",h)}function g(){return n.params.cssMode?(n.wrapperEl.removeEventListener("wheel",h),!0):!n.mousewheel.enabled&&(f("addEventListener"),n.mousewheel.enabled=!0,!0)}function m(){return n.params.cssMode?(n.wrapperEl.addEventListener(event,h),!0):!!n.mousewheel.enabled&&(f("removeEventListener"),n.mousewheel.enabled=!1,!0)}i("init",function(){!n.params.mousewheel.enabled&&n.params.cssMode&&m(),n.params.mousewheel.enabled&&g()}),i("destroy",function(){n.params.cssMode&&g(),n.mousewheel.enabled&&m()}),Object.assign(n.mousewheel,{enable:g,disable:m})},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit;function o(e){var n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e))?n:(e&&("string"==typeof e&&(n=(0,ef.A)(document.querySelectorAll(e))),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function a(e,n){var r=t.params.navigation;(e=cL(e)).forEach(function(e){var i;e&&((i=e.classList)[n?"add":"remove"].apply(i,(0,ef.A)(r.disabledClass.split(" "))),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))})}function s(){var e=t.navigation,n=e.nextEl,r=e.prevEl;if(t.params.loop)return a(r,!1),void a(n,!1);a(r,t.isBeginning&&!t.params.rewind),a(n,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function c(){var e=t.params.navigation;if(t.params.navigation=c4(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var n=o(e.nextEl),r=o(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:r}),n=cL(n),r=cL(r);var i=function(n,r){var i;n&&n.addEventListener("click","next"===r?u:l),!t.enabled&&n&&(i=n.classList).add.apply(i,(0,ef.A)(e.lockClass.split(" ")))};n.forEach(function(e){return i(e,"next")}),r.forEach(function(e){return i(e,"prev")})}}function d(){var e=t.navigation,n=e.nextEl,r=e.prevEl;n=cL(n),r=cL(r);var i=function(e,n){var r;e.removeEventListener("click","next"===n?u:l),(r=e.classList).remove.apply(r,(0,ef.A)(t.params.navigation.disabledClass.split(" ")))};n.forEach(function(e){return i(e,"next")}),r.forEach(function(e){return i(e,"prev")})}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},r("init",function(){!1===t.params.navigation.enabled?p():(c(),s())}),r("toEdge fromEdge lock unlock",function(){s()}),r("destroy",function(){d()}),r("enable disable",function(){var e=t.navigation,n=e.nextEl,r=e.prevEl;n=cL(n),r=cL(r),t.enabled?s():[].concat((0,ef.A)(n),(0,ef.A)(r)).filter(function(e){return!!e}).forEach(function(e){return e.classList.add(t.params.navigation.lockClass)})}),r("click",function(e,n){var r,o=t.navigation,a=o.nextEl,s=o.prevEl;a=cL(a),s=cL(s);var l=n.target;if(t.params.navigation.hideOnClick&&!s.includes(l)&&!a.includes(l)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;a.length?r=a[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(r=s[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===r?"navigationShow":"navigationHide"),[].concat((0,ef.A)(a),(0,ef.A)(s)).filter(function(e){return!!e}).forEach(function(e){return e.classList.toggle(t.params.navigation.hiddenClass)})}});var p=function(){var e;(e=t.el.classList).add.apply(e,(0,ef.A)(t.params.navigation.navigationDisabledClass.split(" "))),d()};Object.assign(t.navigation,{enable:function(){var e;(e=t.el.classList).remove.apply(e,(0,ef.A)(t.params.navigation.navigationDisabledClass.split(" "))),c(),s()},disable:p,update:s,init:c,destroy:d})},function(e){var t,n=e.swiper,r=e.extendParams,i=e.on,o=e.emit,a="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(a,"-bullet"),bulletActiveClass:"".concat(a,"-bullet-active"),modifierClass:"".concat(a,"-"),currentClass:"".concat(a,"-current"),totalClass:"".concat(a,"-total"),hiddenClass:"".concat(a,"-hidden"),progressbarFillClass:"".concat(a,"-progressbar-fill"),progressbarOppositeClass:"".concat(a,"-progressbar-opposite"),clickableClass:"".concat(a,"-clickable"),lockClass:"".concat(a,"-lock"),horizontalClass:"".concat(a,"-horizontal"),verticalClass:"".concat(a,"-vertical"),paginationDisabledClass:"".concat(a,"-disabled")}}),n.pagination={el:null,bullets:[]};var s=0;function l(){return!n.params.pagination.el||!n.pagination.el||Array.isArray(n.pagination.el)&&0===n.pagination.el.length}function u(e,t){var r=n.params.pagination.bulletActiveClass;e&&(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&(e.classList.add("".concat(r,"-").concat(t)),(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&e.classList.add("".concat(r,"-").concat(t,"-").concat(t)))}function c(e){var t=e.target.closest(c3(n.params.pagination.bulletClass));if(t){e.preventDefault();var r=cE(t)*n.params.slidesPerGroup;if(n.params.loop){if(n.realIndex===r)return;n.slideToLoop(r)}else n.slideTo(r)}}function d(){var e=n.rtl,r=n.params.pagination;if(!l()){var i,a,c=n.pagination.el;c=cL(c);var d=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,p=n.params.loop?Math.ceil(d/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(a=n.previousRealIndex||0,i=n.params.slidesPerGroup>1?Math.floor(n.realIndex/n.params.slidesPerGroup):n.realIndex):void 0!==n.snapIndex?(i=n.snapIndex,a=n.previousSnapIndex):(a=n.previousIndex||0,i=n.activeIndex||0),"bullets"===r.type&&n.pagination.bullets&&n.pagination.bullets.length>0){var h,f,g,m=n.pagination.bullets;if(r.dynamicBullets&&(t=cD(m[0],n.isHorizontal()?"width":"height",!0),c.forEach(function(e){e.style[n.isHorizontal()?"width":"height"]="".concat(t*(r.dynamicMainBullets+4),"px")}),r.dynamicMainBullets>1&&void 0!==a&&((s+=i-(a||0))>r.dynamicMainBullets-1?s=r.dynamicMainBullets-1:s<0&&(s=0)),g=((f=(h=Math.max(i-s,0))+(Math.min(m.length,r.dynamicMainBullets)-1))+h)/2),m.forEach(function(e){var t,n=(0,ef.A)(["","-next","-next-next","-prev","-prev-prev","-main"].map(function(e){return"".concat(r.bulletActiveClass).concat(e)})).map(function(e){return"string"==typeof e&&e.includes(" ")?e.split(" "):e}).flat();(t=e.classList).remove.apply(t,(0,ef.A)(n))}),c.length>1)m.forEach(function(e){var t,o,a=cE(e);a===i?(o=e.classList).add.apply(o,(0,ef.A)(r.bulletActiveClass.split(" "))):n.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(a>=h&&a<=f&&(t=e.classList).add.apply(t,(0,ef.A)("".concat(r.bulletActiveClass,"-main").split(" "))),a===h&&u(e,"prev"),a===f&&u(e,"next"))});else{var _,v=m[i];if(v&&(_=v.classList).add.apply(_,(0,ef.A)(r.bulletActiveClass.split(" "))),n.isElement&&m.forEach(function(e,t){e.setAttribute("part",t===i?"bullet-active":"bullet")}),r.dynamicBullets){for(var b,y=m[h],w=m[f],S=h;S<=f;S+=1)m[S]&&(b=m[S].classList).add.apply(b,(0,ef.A)("".concat(r.bulletActiveClass,"-main").split(" ")));u(y,"prev"),u(w,"next")}}if(r.dynamicBullets){var A=Math.min(m.length,r.dynamicMainBullets+4),T=(t*A-t)/2-g*t,x=e?"right":"left";m.forEach(function(e){e.style[n.isHorizontal()?x:"top"]="".concat(T,"px")})}}c.forEach(function(e,t){if("fraction"===r.type&&(e.querySelectorAll(c3(r.currentClass)).forEach(function(e){e.textContent=r.formatFractionCurrent(i+1)}),e.querySelectorAll(c3(r.totalClass)).forEach(function(e){e.textContent=r.formatFractionTotal(p)})),"progressbar"===r.type){a=r.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";var a,s=(i+1)/p,l=1,u=1;"horizontal"===a?l=s:u=s,e.querySelectorAll(c3(r.progressbarFillClass)).forEach(function(e){e.style.transform="translate3d(0,0,0) scaleX(".concat(l,") scaleY(").concat(u,")"),e.style.transitionDuration="".concat(n.params.speed,"ms")})}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(n,i+1,p),0===t&&o("paginationRender",e)):(0===t&&o("paginationRender",e),o("paginationUpdate",e)),n.params.watchOverflow&&n.enabled&&e.classList[n.isLocked?"add":"remove"](r.lockClass)})}}function p(){var e=n.params.pagination;if(!l()){var t=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.grid&&n.params.grid.rows>1?n.slides.length/Math.ceil(n.params.grid.rows):n.slides.length,r=n.pagination.el;r=cL(r);var i="";if("bullets"===e.type){var a=n.params.loop?Math.ceil(t/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&a>t&&(a=t);for(var s=0;s<a;s+=1)e.renderBullet?i+=e.renderBullet.call(n,s,e.bulletClass):i+="<".concat(e.bulletElement," ").concat(n.isElement?'part="bullet"':"",' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">")}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(n,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>')),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(n,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>')),n.pagination.bullets=[],r.forEach(function(t){var r;"custom"!==e.type&&(t.innerHTML=i||""),"bullets"===e.type&&(r=n.pagination.bullets).push.apply(r,(0,ef.A)(t.querySelectorAll(c3(e.bulletClass))))}),"custom"!==e.type&&o("paginationRender",r[0])}}function h(){n.params.pagination=c4(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});var e,t=n.params.pagination;t.el&&("string"==typeof t.el&&n.isElement&&(e=n.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=(0,ef.A)(document.querySelectorAll(t.el))),e||(e=t.el),e&&0!==e.length&&(n.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=(0,ef.A)(n.el.querySelectorAll(t.el))).length>1&&(e=e.filter(function(e){return cC(e,".swiper")[0]===n.el})[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(n.pagination,{el:e}),(e=cL(e)).forEach(function(e){var r;"bullets"===t.type&&t.clickable&&(r=e.classList).add.apply(r,(0,ef.A)((t.clickableClass||"").split(" "))),e.classList.add(t.modifierClass+t.type),e.classList.add(n.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add("".concat(t.modifierClass).concat(t.type,"-dynamic")),s=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",c),n.enabled||e.classList.add(t.lockClass)})))}function f(){var e=n.params.pagination;if(!l()){var t=n.pagination.el;t&&(t=cL(t)).forEach(function(t){var r;t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(n.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&((r=t.classList).remove.apply(r,(0,ef.A)((e.clickableClass||"").split(" "))),t.removeEventListener("click",c))}),n.pagination.bullets&&n.pagination.bullets.forEach(function(t){var n;return(n=t.classList).remove.apply(n,(0,ef.A)(e.bulletActiveClass.split(" ")))})}}i("changeDirection",function(){if(n.pagination&&n.pagination.el){var e=n.params.pagination,t=n.pagination.el;(t=cL(t)).forEach(function(t){t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(n.isHorizontal()?e.horizontalClass:e.verticalClass)})}}),i("init",function(){!1===n.params.pagination.enabled?g():(h(),p(),d())}),i("activeIndexChange",function(){void 0===n.snapIndex&&d()}),i("snapIndexChange",function(){d()}),i("snapGridLengthChange",function(){p(),d()}),i("destroy",function(){f()}),i("enable disable",function(){var e=n.pagination.el;e&&(e=cL(e)).forEach(function(e){return e.classList[n.enabled?"remove":"add"](n.params.pagination.lockClass)})}),i("lock unlock",function(){d()}),i("click",function(e,t){var r=t.target,i=cL(n.pagination.el);if(n.params.pagination.el&&n.params.pagination.hideOnClick&&i&&i.length>0&&!r.classList.contains(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&r===n.navigation.nextEl||n.navigation.prevEl&&r===n.navigation.prevEl))return;o(!0===i[0].classList.contains(n.params.pagination.hiddenClass)?"paginationShow":"paginationHide"),i.forEach(function(e){return e.classList.toggle(n.params.pagination.hiddenClass)})}});var g=function(){n.el.classList.add(n.params.pagination.paginationDisabledClass);var e=n.pagination.el;e&&(e=cL(e)).forEach(function(e){return e.classList.add(n.params.pagination.paginationDisabledClass)}),f()};Object.assign(n.pagination,{enable:function(){n.el.classList.remove(n.params.pagination.paginationDisabledClass);var e=n.pagination.el;e&&(e=cL(e)).forEach(function(e){return e.classList.remove(n.params.pagination.paginationDisabledClass)}),h(),p(),d()},disable:g,render:p,update:d,init:h,destroy:f})},function(e){var t,n,r,i,o=e.swiper,a=e.extendParams,s=e.on,l=e.emit,u=uX(),c=!1,d=null,p=null;function h(){if(o.params.scrollbar.el&&o.scrollbar.el){var e=o.scrollbar,t=o.rtlTranslate,i=e.dragEl,a=e.el,s=o.params.scrollbar,l=o.params.loop?o.progressLoop:o.progress,u=n,c=(r-n)*l;t?(c=-c)>0?(u=n-c,c=0):-c+n>r&&(u=r+c):c<0?(u=n+c,c=0):c+n>r&&(u=r-c),o.isHorizontal()?(i.style.transform="translate3d(".concat(c,"px, 0, 0)"),i.style.width="".concat(u,"px")):(i.style.transform="translate3d(0px, ".concat(c,"px, 0)"),i.style.height="".concat(u,"px")),s.hide&&(clearTimeout(d),a.style.opacity=1,d=setTimeout(function(){a.style.opacity=0,a.style.transitionDuration="400ms"},1e3))}}function f(){if(o.params.scrollbar.el&&o.scrollbar.el){var e=o.scrollbar,t=e.dragEl,a=e.el;t.style.width="",t.style.height="",r=o.isHorizontal()?a.offsetWidth:a.offsetHeight,i=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),n="auto"===o.params.scrollbar.dragSize?r*i:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t.style.width="".concat(n,"px"):t.style.height="".concat(n,"px"),a.style.display=i>=1?"none":"",o.params.scrollbar.hide&&(a.style.opacity=0),o.params.watchOverflow&&o.enabled&&e.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}}function g(e){return o.isHorizontal()?e.clientX:e.clientY}function m(e){var i,a=o.scrollbar,s=o.rtlTranslate,l=a.el;i=Math.max(Math.min(i=(g(e)-cP(l)[o.isHorizontal()?"left":"top"]-(null!==t?t:n/2))/(r-n),1),0),s&&(i=1-i);var u=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*i;o.updateProgress(u),o.setTranslate(u),o.updateActiveIndex(),o.updateSlidesClasses()}function _(e){var n=o.params.scrollbar,r=o.scrollbar,i=o.wrapperEl,a=r.el,s=r.dragEl;c=!0,t=e.target===s?g(e)-e.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.style.transitionDuration="100ms",s.style.transitionDuration="100ms",m(e),clearTimeout(p),a.style.transitionDuration="0ms",n.hide&&(a.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",e)}function v(e){var t=o.scrollbar,n=o.wrapperEl,r=t.el,i=t.dragEl;c&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,m(e),n.style.transitionDuration="0ms",r.style.transitionDuration="0ms",i.style.transitionDuration="0ms",l("scrollbarDragMove",e))}function b(e){var t=o.params.scrollbar,n=o.scrollbar,r=o.wrapperEl,i=n.el;c&&(c=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),t.hide&&(clearTimeout(p),p=c_(function(){i.style.opacity=0,i.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",e),t.snapOnRelease&&o.slideToClosest())}function y(e){var t=o.scrollbar,n=o.params,r=t.el;if(r){var i=!!n.passiveListeners&&{passive:!1,capture:!1},a=!!n.passiveListeners&&{passive:!0,capture:!1};if(r){var s="on"===e?"addEventListener":"removeEventListener";r[s]("pointerdown",_,i),u[s]("pointermove",v,i),u[s]("pointerup",b,a)}}}function w(){var e,t,n,r=o.scrollbar,i=o.el;o.params.scrollbar=c4(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"});var a=o.params.scrollbar;if(a.el){if("string"==typeof a.el&&o.isElement&&(e=o.el.querySelector(a.el)),e||"string"!=typeof a.el)e||(e=a.el);else if(!(e=u.querySelectorAll(a.el)).length)return;o.params.uniqueNavElements&&"string"==typeof a.el&&e.length>1&&1===i.querySelectorAll(a.el).length&&(e=i.querySelector(a.el)),e.length>0&&(e=e[0]),e.classList.add(o.isHorizontal()?a.horizontalClass:a.verticalClass),e&&((t=e.querySelector(c3(o.params.scrollbar.dragClass)))||(t=cM("div",o.params.scrollbar.dragClass),e.append(t))),Object.assign(r,{el:e,dragEl:t}),a.draggable&&o.params.scrollbar.el&&o.scrollbar.el&&y("on"),e&&(n=e.classList)[o.enabled?"remove":"add"].apply(n,(0,ef.A)(cm(o.params.scrollbar.lockClass)))}}function S(){var e,t=o.params.scrollbar,n=o.scrollbar.el;n&&(e=n.classList).remove.apply(e,(0,ef.A)(cm(o.isHorizontal()?t.horizontalClass:t.verticalClass))),o.params.scrollbar.el&&o.scrollbar.el&&y("off")}a({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},s("changeDirection",function(){if(o.scrollbar&&o.scrollbar.el){var e=o.params.scrollbar,t=o.scrollbar.el;(t=cL(t)).forEach(function(t){t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(o.isHorizontal()?e.horizontalClass:e.verticalClass)})}}),s("init",function(){!1===o.params.scrollbar.enabled?A():(w(),f(),h())}),s("update resize observerUpdate lock unlock changeDirection",function(){f()}),s("setTranslate",function(){h()}),s("setTransition",function(e,t){var n;n=t,o.params.scrollbar.el&&o.scrollbar.el&&(o.scrollbar.dragEl.style.transitionDuration="".concat(n,"ms"))}),s("enable disable",function(){var e,t=o.scrollbar.el;t&&(e=t.classList)[o.enabled?"remove":"add"].apply(e,(0,ef.A)(cm(o.params.scrollbar.lockClass)))}),s("destroy",function(){S()});var A=function(){var e,t;(e=o.el.classList).add.apply(e,(0,ef.A)(cm(o.params.scrollbar.scrollbarDisabledClass))),o.scrollbar.el&&(t=o.scrollbar.el.classList).add.apply(t,(0,ef.A)(cm(o.params.scrollbar.scrollbarDisabledClass))),S()};Object.assign(o.scrollbar,{enable:function(){var e,t;(e=o.el.classList).remove.apply(e,(0,ef.A)(cm(o.params.scrollbar.scrollbarDisabledClass))),o.scrollbar.el&&(t=o.scrollbar.el.classList).remove.apply(t,(0,ef.A)(cm(o.params.scrollbar.scrollbarDisabledClass))),w(),f(),h()},disable:A,updateSize:f,setTranslate:h,init:w,destroy:S})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({parallax:{enabled:!1}});var i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=function(e,n){var r=t.rtl?-1:1,i=e.getAttribute("data-swiper-parallax")||"0",o=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y"),s=e.getAttribute("data-swiper-parallax-scale"),l=e.getAttribute("data-swiper-parallax-opacity"),u=e.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):t.isHorizontal()?(o=i,a="0"):(a=i,o="0"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*n*r,"%"):"".concat(o*n*r,"px"),a=a.indexOf("%")>=0?"".concat(parseInt(a,10)*n,"%"):"".concat(a*n,"px"),null!=l){var c=l-(l-1)*(1-Math.abs(n));e.style.opacity=c}var d="translate3d(".concat(o,", ").concat(a,", 0px)");if(null!=s){var p=s-(s-1)*(1-Math.abs(n));d+=" scale(".concat(p,")")}u&&null!=u&&(d+=" rotate(".concat(-(u*n*1),"deg)")),e.style.transform=d},a=function(){var e=t.el,n=t.slides,r=t.progress,a=t.snapGrid,s=(t.isElement,cx(e,i));t.isElement&&s.push.apply(s,(0,ef.A)(cx(t.hostEl,i))),s.forEach(function(e){o(e,r)}),n.forEach(function(e,n){var s=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(s+=Math.ceil(n/2)-r*(a.length-1)),s=Math.min(Math.max(s,-1),1),e.querySelectorAll("".concat(i,", [data-swiper-parallax-rotate]")).forEach(function(e){o(e,s)})})};r("beforeInit",function(){t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),r("init",function(){t.params.parallax.enabled&&a()}),r("setTranslate",function(){t.params.parallax.enabled&&a()}),r("setTransition",function(e,n){var r,o,a,s;t.params.parallax.enabled&&(void 0===(r=n)&&(r=t.params.speed),o=t.el,a=t.hostEl,s=(0,ef.A)(o.querySelectorAll(i)),t.isElement&&s.push.apply(s,(0,ef.A)(a.querySelectorAll(i))),s.forEach(function(e){var t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||r;0===r&&(t=0),e.style.transitionDuration="".concat(t,"ms")}))})},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit,o=cg();n({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};var a,s,l=1,u=!1,c=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},p={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},f=1;function g(){if(c.length<2)return 1;var e=c[0].pageX,t=c[0].pageY;return Math.sqrt(Math.pow(c[1].pageX-e,2)+Math.pow(c[1].pageY-t,2))}function m(){var e=t.params.zoom,n=d.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;return e.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth?Math.min(d.imageEl.naturalWidth/d.imageEl.offsetWidth,n):n}function _(e){var n=t.isElement?"swiper-slide":".".concat(t.params.slideClass);return!!e.target.matches(n)||t.slides.filter(function(t){return t.contains(e.target)}).length>0}function v(e){if("mouse"===e.pointerType&&c.splice(0,c.length),_(e)){var n=t.params.zoom;if(a=!1,s=!1,c.push(e),!(c.length<2)){if(a=!0,d.scaleStart=g(),!d.slideEl){d.slideEl=e.target.closest(".".concat(t.params.slideClass,", swiper-slide")),d.slideEl||(d.slideEl=t.slides[t.activeIndex]);var r=d.slideEl.querySelector(".".concat(n.containerClass));if(r&&(r=r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=r,d.imageWrapEl=r?cC(d.imageEl,".".concat(n.containerClass))[0]:void 0,!d.imageWrapEl)return void(d.imageEl=void 0);d.maxRatio=m()}if(d.imageEl){var i=eu(function(){if(c.length<2)return{x:null,y:null};var e=d.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-e.x-o.scrollX)/l,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-e.y-o.scrollY)/l]}(),2),p=i[0],h=i[1];d.originX=p,d.originY=h,d.imageEl.style.transitionDuration="0ms"}u=!0}}}function b(e){if(_(e)){var n=t.params.zoom,r=t.zoom,i=c.findIndex(function(t){return t.pointerId===e.pointerId});i>=0&&(c[i]=e),c.length<2||(s=!0,d.scaleMove=g(),d.imageEl&&(r.scale=d.scaleMove/d.scaleStart*l,r.scale>d.maxRatio&&(r.scale=d.maxRatio-1+Math.pow(r.scale-d.maxRatio+1,.5)),r.scale<n.minRatio&&(r.scale=n.minRatio+1-Math.pow(n.minRatio-r.scale+1,.5)),d.imageEl.style.transform="translate3d(0,0,0) scale(".concat(r.scale,")")))}}function y(e){if(_(e)&&("mouse"!==e.pointerType||"pointerout"!==e.type)){var n=t.params.zoom,r=t.zoom,i=c.findIndex(function(t){return t.pointerId===e.pointerId});i>=0&&c.splice(i,1),a&&s&&(a=!1,s=!1,d.imageEl&&(r.scale=Math.max(Math.min(r.scale,d.maxRatio),n.minRatio),d.imageEl.style.transitionDuration="".concat(t.params.speed,"ms"),d.imageEl.style.transform="translate3d(0,0,0) scale(".concat(r.scale,")"),l=r.scale,u=!1,r.scale>1&&d.slideEl?d.slideEl.classList.add("".concat(n.zoomedSlideClass)):r.scale<=1&&d.slideEl&&d.slideEl.classList.remove("".concat(n.zoomedSlideClass)),1===r.scale&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}}function w(e){if(_(e)&&(n=e,r=".".concat(t.params.zoom.containerClass),n.target.matches(r)||(0,ef.A)(t.hostEl.querySelectorAll(r)).filter(function(e){return e.contains(n.target)}).length>0)){var n,r,i=t.zoom;if(d.imageEl&&p.isTouched&&d.slideEl){p.isMoved||(p.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,p.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,p.startX=cb(d.imageWrapEl,"x")||0,p.startY=cb(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");var o=p.width*i.scale,a=p.height*i.scale;if(!(o<d.slideWidth&&a<d.slideHeight)){if(p.minX=Math.min(d.slideWidth/2-o/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-a/2,0),p.maxY=-p.minY,p.touchesCurrent.x=c.length>0?c[0].pageX:e.pageX,p.touchesCurrent.y=c.length>0?c[0].pageY:e.pageY,Math.max(Math.abs(p.touchesCurrent.x-p.touchesStart.x),Math.abs(p.touchesCurrent.y-p.touchesStart.y))>5&&(t.allowClick=!1),!p.isMoved&&!u&&(t.isHorizontal()&&(Math.floor(p.minX)===Math.floor(p.startX)&&p.touchesCurrent.x<p.touchesStart.x||Math.floor(p.maxX)===Math.floor(p.startX)&&p.touchesCurrent.x>p.touchesStart.x)||!t.isHorizontal()&&(Math.floor(p.minY)===Math.floor(p.startY)&&p.touchesCurrent.y<p.touchesStart.y||Math.floor(p.maxY)===Math.floor(p.startY)&&p.touchesCurrent.y>p.touchesStart.y)))return void(p.isTouched=!1);e.cancelable&&e.preventDefault(),e.stopPropagation(),p.isMoved=!0;var s=(i.scale-l)/(d.maxRatio-t.params.zoom.minRatio),f=d.originX,g=d.originY;p.currentX=p.touchesCurrent.x-p.touchesStart.x+p.startX+s*(p.width-2*f),p.currentY=p.touchesCurrent.y-p.touchesStart.y+p.startY+s*(p.height-2*g),p.currentX<p.minX&&(p.currentX=p.minX+1-Math.pow(p.minX-p.currentX+1,.8)),p.currentX>p.maxX&&(p.currentX=p.maxX-1+Math.pow(p.currentX-p.maxX+1,.8)),p.currentY<p.minY&&(p.currentY=p.minY+1-Math.pow(p.minY-p.currentY+1,.8)),p.currentY>p.maxY&&(p.currentY=p.maxY-1+Math.pow(p.currentY-p.maxY+1,.8)),h.prevPositionX||(h.prevPositionX=p.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=p.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(p.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(p.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,2>Math.abs(p.touchesCurrent.x-h.prevPositionX)&&(h.x=0),2>Math.abs(p.touchesCurrent.y-h.prevPositionY)&&(h.y=0),h.prevPositionX=p.touchesCurrent.x,h.prevPositionY=p.touchesCurrent.y,h.prevTime=Date.now(),d.imageWrapEl.style.transform="translate3d(".concat(p.currentX,"px, ").concat(p.currentY,"px,0)")}}}}function S(){var e=t.zoom;d.slideEl&&t.activeIndex!==t.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove("".concat(t.params.zoom.zoomedSlideClass)),e.scale=1,l=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function A(e){var n=t.zoom,r=t.params.zoom;if(!d.slideEl){e&&e.target&&(d.slideEl=e.target.closest(".".concat(t.params.slideClass,", swiper-slide"))),d.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?d.slideEl=cx(t.slidesEl,".".concat(t.params.slideActiveClass))[0]:d.slideEl=t.slides[t.activeIndex]);var i=d.slideEl.querySelector(".".concat(r.containerClass));i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=i,d.imageWrapEl=i?cC(d.imageEl,".".concat(r.containerClass))[0]:void 0}if(d.imageEl&&d.imageWrapEl){t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),d.slideEl.classList.add("".concat(r.zoomedSlideClass)),void 0===p.touchesStart.x&&e?(a=e.pageX,s=e.pageY):(a=p.touchesStart.x,s=p.touchesStart.y);var a,s,u,c,h,f,g,_,v,b,y,w,S,A,T,x,k="number"==typeof e?e:null;1===l&&k&&(a=void 0,s=void 0);var M=m();n.scale=k||M,l=k||M,!e||1===l&&k?(h=0,f=0):(T=d.slideEl.offsetWidth,x=d.slideEl.offsetHeight,u=cP(d.slideEl).left+o.scrollX+T/2-a,c=cP(d.slideEl).top+o.scrollY+x/2-s,g=d.imageEl.offsetWidth||d.imageEl.clientWidth,_=d.imageEl.offsetHeight||d.imageEl.clientHeight,v=g*n.scale,b=_*n.scale,S=-(y=Math.min(T/2-v/2,0)),A=-(w=Math.min(x/2-b/2,0)),(h=u*n.scale)<y&&(h=y),h>S&&(h=S),(f=c*n.scale)<w&&(f=w),f>A&&(f=A)),k&&1===n.scale&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(".concat(h,"px, ").concat(f,"px,0)"),d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(".concat(n.scale,")")}}function T(){var e=t.zoom,n=t.params.zoom;if(!d.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?d.slideEl=cx(t.slidesEl,".".concat(t.params.slideActiveClass))[0]:d.slideEl=t.slides[t.activeIndex];var r=d.slideEl.querySelector(".".concat(n.containerClass));r&&(r=r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=r,d.imageWrapEl=r?cC(d.imageEl,".".concat(n.containerClass))[0]:void 0}d.imageEl&&d.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove("".concat(n.zoomedSlideClass)),d.slideEl=void 0,d.originX=0,d.originY=0)}function x(e){var n=t.zoom;n.scale&&1!==n.scale?T():A(e)}function k(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function M(){var e=t.zoom;if(!e.enabled){e.enabled=!0;var n=k(),r=n.passiveListener,i=n.activeListenerWithCapture;t.wrapperEl.addEventListener("pointerdown",v,r),t.wrapperEl.addEventListener("pointermove",b,i),["pointerup","pointercancel","pointerout"].forEach(function(e){t.wrapperEl.addEventListener(e,y,r)}),t.wrapperEl.addEventListener("pointermove",w,i)}}function P(){var e=t.zoom;if(e.enabled){e.enabled=!1;var n=k(),r=n.passiveListener,i=n.activeListenerWithCapture;t.wrapperEl.removeEventListener("pointerdown",v,r),t.wrapperEl.removeEventListener("pointermove",b,i),["pointerup","pointercancel","pointerout"].forEach(function(e){t.wrapperEl.removeEventListener(e,y,r)}),t.wrapperEl.removeEventListener("pointermove",w,i)}}Object.defineProperty(t.zoom,"scale",{get:function(){return f},set:function(e){f!==e&&i("zoomChange",e,d.imageEl,d.slideEl),f=e}}),r("init",function(){t.params.zoom.enabled&&M()}),r("destroy",function(){P()}),r("touchStart",function(e,n){t.zoom.enabled&&function(e){var n=t.device;if(d.imageEl&&!p.isTouched){n.android&&e.cancelable&&e.preventDefault(),p.isTouched=!0;var r=c.length>0?c[0]:e;p.touchesStart.x=r.pageX,p.touchesStart.y=r.pageY}}(n)}),r("touchEnd",function(e,n){t.zoom.enabled&&function(){var e=t.zoom;if(d.imageEl){if(!p.isTouched||!p.isMoved)return p.isTouched=!1,void(p.isMoved=!1);p.isTouched=!1,p.isMoved=!1;var n=300,r=300,i=h.x*n,o=p.currentX+i,a=h.y*r,s=p.currentY+a;0!==h.x&&(n=Math.abs((o-p.currentX)/h.x)),0!==h.y&&(r=Math.abs((s-p.currentY)/h.y));var l=Math.max(n,r);p.currentX=o,p.currentY=s;var u=p.width*e.scale,c=p.height*e.scale;p.minX=Math.min(d.slideWidth/2-u/2,0),p.maxX=-p.minX,p.minY=Math.min(d.slideHeight/2-c/2,0),p.maxY=-p.minY,p.currentX=Math.max(Math.min(p.currentX,p.maxX),p.minX),p.currentY=Math.max(Math.min(p.currentY,p.maxY),p.minY),d.imageWrapEl.style.transitionDuration="".concat(l,"ms"),d.imageWrapEl.style.transform="translate3d(".concat(p.currentX,"px, ").concat(p.currentY,"px,0)")}}()}),r("doubleTap",function(e,n){!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&x(n)}),r("transitionEnd",function(){t.zoom.enabled&&t.params.zoom.enabled&&S()}),r("slideChange",function(){t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&S()}),Object.assign(t.zoom,{enable:M,disable:P,in:A,out:T,toggle:x})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;function i(e,t){var n,r,i,o,a,s=function(e,t){for(r=-1,n=e.length;n-r>1;)e[i=n+r>>1]<=t?r=i:n=i;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=(a=s(this.x,e))-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this}function o(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},r("beforeInit",function(){if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){var e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){var n=function(r){t.controller.control=r.detail[0],t.update(),e.removeEventListener("init",n)};e.addEventListener("init",n)}}else t.controller.control=t.params.controller.control}),r("update",function(){o()}),r("resize",function(){o()}),r("observerUpdate",function(){o()}),r("setTranslate",function(e,n,r){t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(n,r)}),r("setTransition",function(e,n,r){t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(n,r)}),Object.assign(t.controller,{setTranslate:function(e,n){var r,o,a=t.controller.control,s=t.constructor;function l(e){if(!e.destroyed){var n,a=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(n=e,t.controller.spline=t.params.loop?new i(t.slidesGrid,n.slidesGrid):new i(t.snapGrid,n.snapGrid),o=-t.controller.spline.interpolate(-a)),o&&"container"!==t.params.controller.by||(!Number.isNaN(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()))&&Number.isFinite(r)||(r=1),o=(a-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,t),e.updateActiveIndex(),e.updateSlidesClasses()}}if(Array.isArray(a))for(var u=0;u<a.length;u+=1)a[u]!==n&&a[u]instanceof s&&l(a[u]);else a instanceof s&&n!==a&&l(a)},setTransition:function(e,n){var r,i=t.constructor,o=t.controller.control;function a(n){n.destroyed||(n.setTransition(e,t),0!==e&&(n.transitionStart(),n.params.autoHeight&&c_(function(){n.updateAutoHeight()}),cO(n.wrapperEl,function(){o&&n.transitionEnd()})))}if(Array.isArray(o))for(r=0;r<o.length;r+=1)o[r]!==n&&o[r]instanceof i&&a(o[r]);else o instanceof i&&n!==o&&a(o)}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};var i,o,a=null,s=(new Date).getTime();function l(e){var t=a;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}function u(e){(e=cL(e)).forEach(function(e){e.setAttribute("tabIndex","0")})}function c(e){(e=cL(e)).forEach(function(e){e.setAttribute("tabIndex","-1")})}function d(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("role",t)})}function p(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("aria-label",t)})}function f(e){(e=cL(e)).forEach(function(e){e.setAttribute("aria-disabled",!0)})}function g(e){(e=cL(e)).forEach(function(e){e.setAttribute("aria-disabled",!1)})}function m(e){if(13===e.keyCode||32===e.keyCode){var n=t.params.a11y,r=e.target;if(!t.pagination||!t.pagination.el||r!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(c3(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){var i=cL(t.navigation.prevEl);cL(t.navigation.nextEl).includes(r)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?l(n.lastSlideMessage):l(n.nextSlideMessage)),i.includes(r)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?l(n.firstSlideMessage):l(n.prevSlideMessage))}t.pagination&&r.matches(c3(t.params.pagination.bulletClass))&&r.click()}}}function _(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function v(){return _()&&t.params.pagination.clickable}var b=function(e,t,n){u(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",m)),h(e,n),function(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("aria-controls",t)})}(e,t)},y=function(e){o&&o!==e.target&&!o.contains(e.target)&&(i=!0),t.a11y.clicked=!0},w=function(){i=!1,requestAnimationFrame(function(){requestAnimationFrame(function(){t.destroyed||(t.a11y.clicked=!1)})})},S=function(e){s=(new Date).getTime()},A=function(e){if(!(t.a11y.clicked||(new Date).getTime()-s<100)){var n=e.target.closest(".".concat(t.params.slideClass,", swiper-slide"));if(n&&t.slides.includes(n)){o=n;var r=t.slides.indexOf(n)===t.activeIndex,a=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);r||a||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(function(){i||(t.slideTo(t.slides.indexOf(n),0),i=!1)}))}}},T=function(){var e=t.params.a11y;e.itemRoleDescriptionMessage&&p(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);var n=t.slides.length;e.slideLabelMessage&&t.slides.forEach(function(r,i){var o=t.params.loop?parseInt(r.getAttribute("data-swiper-slide-index"),10):i;h(r,e.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,n))})},x=function(){var e,n=t.params.a11y;t.el.append(a);var r=t.el;n.containerRoleDescriptionMessage&&p(r,n.containerRoleDescriptionMessage),n.containerMessage&&h(r,n.containerMessage);var i=t.wrapperEl,o=n.id||i.getAttribute("id")||"swiper-wrapper-".concat((e=16,"x".repeat(e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)}))),s=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";(function(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("id",t)})})(i,o),function(e,t){(e=cL(e)).forEach(function(e){e.setAttribute("aria-live",t)})}(i,s),T();var l=t.navigation?t.navigation:{},u=l.nextEl,c=l.prevEl;u=cL(u),c=cL(c),u&&u.forEach(function(e){return b(e,o,n.nextSlideMessage)}),c&&c.forEach(function(e){return b(e,o,n.prevSlideMessage)}),v()&&cL(t.pagination.el).forEach(function(e){e.addEventListener("keydown",m)}),uX().addEventListener("visibilitychange",S),t.el.addEventListener("focus",A,!0),t.el.addEventListener("focus",A,!0),t.el.addEventListener("pointerdown",y,!0),t.el.addEventListener("pointerup",w,!0)};r("beforeInit",function(){(a=cM("span",t.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true")}),r("afterInit",function(){t.params.a11y.enabled&&x()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",function(){t.params.a11y.enabled&&T()}),r("fromEdge toEdge afterInit lock unlock",function(){t.params.a11y.enabled&&function(){if(!t.params.loop&&!t.params.rewind&&t.navigation){var e=t.navigation,n=e.nextEl,r=e.prevEl;r&&(t.isBeginning?(f(r),c(r)):(g(r),u(r))),n&&(t.isEnd?(f(n),c(n)):(g(n),u(n)))}}()}),r("paginationUpdate",function(){var e;t.params.a11y.enabled&&(e=t.params.a11y,_()&&t.pagination.bullets.forEach(function(n){t.params.pagination.clickable&&(u(n),t.params.pagination.renderBullet||(d(n,"button"),h(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,cE(n)+1)))),n.matches(c3(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")}))}),r("destroy",function(){var e,n,r;t.params.a11y.enabled&&(a&&a.remove(),n=(e=t.navigation?t.navigation:{}).nextEl,r=e.prevEl,n=cL(n),r=cL(r),n&&n.forEach(function(e){return e.removeEventListener("keydown",m)}),r&&r.forEach(function(e){return e.removeEventListener("keydown",m)}),v()&&cL(t.pagination.el).forEach(function(e){e.removeEventListener("keydown",m)}),uX().removeEventListener("visibilitychange",S),t.el.removeEventListener("focus",A,!0),t.el.removeEventListener("pointerdown",y,!0),t.el.removeEventListener("pointerup",w,!0))})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});var i=!1,o={},a=function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},s=function(e){var t=cg(),n=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),r=n.length;return{key:n[r-2],value:n[r-1]}},l=function(e,n){var r=cg();if(i&&t.params.history.enabled){o=t.params.url?new URL(t.params.url):r.location;var o,s=a((t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector('[data-swiper-slide-index="'.concat(n,'"]')):t.slides[n]).getAttribute("data-history"));if(t.params.history.root.length>0){var l=t.params.history.root;"/"===l[l.length-1]&&(l=l.slice(0,l.length-1)),s="".concat(l,"/").concat(e?"".concat(e,"/"):"").concat(s)}else o.pathname.includes(e)||(s="".concat(e?"".concat(e,"/"):"").concat(s));t.params.history.keepQuery&&(s+=o.search);var u=r.history.state;u&&u.value===s||(t.params.history.replaceState?r.history.replaceState({value:s},null,s):r.history.pushState({value:s},null,s))}},u=function(e,n,r){if(n)for(var i=0,o=t.slides.length;i<o;i+=1){var s=t.slides[i];if(a(s.getAttribute("data-history"))===n){var l=t.getSlideIndex(s);t.slideTo(l,e,r)}}else t.slideTo(0,e,r)},c=function(){o=s(t.params.url),u(t.params.speed,o.value,!1)};r("init",function(){t.params.history.enabled&&function(){var e=cg();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,((o=s(t.params.url)).key||o.value)&&u(0,o.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",c)}}()}),r("destroy",function(){var e;t.params.history.enabled&&(e=cg(),t.params.history.replaceState||e.removeEventListener("popstate",c))}),r("transitionEnd _freeModeNoMomentumRelease",function(){i&&l(t.params.history.key,t.activeIndex)}),r("slideChange",function(){i&&t.params.cssMode&&l(t.params.history.key,t.activeIndex)})},function(e){var t=e.swiper,n=e.extendParams,r=e.emit,i=e.on,o=!1,a=uX(),s=cg();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex:function(e,n){if(t.virtual&&t.params.virtual.enabled){var r=t.slides.filter(function(e){return e.getAttribute("data-hash")===n})[0];return r?parseInt(r.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(cx(t.slidesEl,".".concat(t.params.slideClass,'[data-hash="').concat(n,'"], swiper-slide[data-hash="').concat(n,'"]'))[0])}}});var l=function(){r("hashChange");var e=a.location.hash.replace("#",""),n=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector('[data-swiper-slide-index="'.concat(t.activeIndex,'"]')):t.slides[t.activeIndex];if(e!==(n?n.getAttribute("data-hash"):"")){var i=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===i||Number.isNaN(i))return;t.slideTo(i)}},u=function(){if(o&&t.params.hashNavigation.enabled){var e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector('[data-swiper-slide-index="'.concat(t.activeIndex,'"]')):t.slides[t.activeIndex],n=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&s.history&&s.history.replaceState?s.history.replaceState(null,null,"#".concat(n)||0):a.location.hash=n||"",r("hashSet")}};i("init",function(){t.params.hashNavigation.enabled&&function(){if(!(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)){o=!0;var e=a.location.hash.replace("#","");if(e){var n=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(n||0,0,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&s.addEventListener("hashchange",l)}}()}),i("destroy",function(){t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&s.removeEventListener("hashchange",l)}),i("transitionEnd _freeModeNoMomentumRelease",function(){o&&u()}),i("slideChange",function(){o&&t.params.cssMode&&u()})},function(e){var t,n,r=e.swiper,i=e.extendParams,o=e.on,a=e.emit,s=e.params;r.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});var l,u,c,d,p,h,f,g,m=s&&s.autoplay?s.autoplay.delay:3e3,_=s&&s.autoplay?s.autoplay.delay:3e3,v=(new Date).getTime();function b(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",b),g||x())}var y=function(){if(!r.destroyed&&r.autoplay.running){r.autoplay.paused?u=!0:u&&(_=l,u=!1);var e=r.autoplay.paused?l:v+_-(new Date).getTime();r.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/m),n=requestAnimationFrame(function(){y()})}},w=function(e){if(!r.destroyed&&r.autoplay.running){cancelAnimationFrame(n),y();var i=void 0===e?r.params.autoplay.delay:e;m=r.params.autoplay.delay,_=r.params.autoplay.delay;var o=function(){var e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.filter(function(e){return e.classList.contains("swiper-slide-active")})[0]:r.slides[r.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)}();!Number.isNaN(o)&&o>0&&void 0===e&&(i=o,m=o,_=o),l=i;var s=r.params.speed,u=function(){r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(s,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,s,!0,!0),a("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(s,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,s,!0,!0),a("autoplay")),r.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame(function(){w()})))};return i>0?(clearTimeout(t),t=setTimeout(function(){u()},i)):requestAnimationFrame(function(){u()}),i}},S=function(){v=(new Date).getTime(),r.autoplay.running=!0,w(),a("autoplayStart")},A=function(){r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),a("autoplayStop")},T=function(e,n){if(!r.destroyed&&r.autoplay.running){clearTimeout(t),e||(f=!0);var i=function(){a("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",b):x()};if(r.autoplay.paused=!0,n)return h&&(l=r.params.autoplay.delay),h=!1,void i();l=(l||r.params.autoplay.delay)-((new Date).getTime()-v),r.isEnd&&l<0&&!r.params.loop||(l<0&&(l=0),i())}},x=function(){r.isEnd&&l<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(v=(new Date).getTime(),f?(f=!1,w(l)):w(),r.autoplay.paused=!1,a("autoplayResume"))},k=function(){if(!r.destroyed&&r.autoplay.running){var e=uX();"hidden"===e.visibilityState&&(f=!0,T(!0)),"visible"===e.visibilityState&&x()}},M=function(e){"mouse"===e.pointerType&&(f=!0,g=!0,r.animating||r.autoplay.paused||T(!0))},P=function(e){"mouse"===e.pointerType&&(g=!1,r.autoplay.paused&&x())};o("init",function(){r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",M),r.el.addEventListener("pointerleave",P)),uX().addEventListener("visibilitychange",k),S())}),o("destroy",function(){r.el.removeEventListener("pointerenter",M),r.el.removeEventListener("pointerleave",P),uX().removeEventListener("visibilitychange",k),r.autoplay.running&&A()}),o("_freeModeStaticRelease",function(){(d||f)&&x()}),o("_freeModeNoMomentumRelease",function(){r.params.autoplay.disableOnInteraction?A():T(!0,!0)}),o("beforeTransitionStart",function(e,t,n){!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?T(!0,!0):A())}),o("sliderFirstMove",function(){!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?A():(c=!0,d=!1,f=!1,p=setTimeout(function(){f=!0,d=!0,T(!0)},200)))}),o("touchEnd",function(){if(!r.destroyed&&r.autoplay.running&&c){if(clearTimeout(p),clearTimeout(t),r.params.autoplay.disableOnInteraction)return d=!1,void(c=!1);d&&r.params.cssMode&&x(),d=!1,c=!1}}),o("slideChange",function(){!r.destroyed&&r.autoplay.running&&(h=!0)}),Object.assign(r.autoplay,{start:S,stop:A,pause:T,resume:x})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});var i=!1,o=!1;function a(){var e=t.thumbs.swiper;if(e&&!e.destroyed){var n,r=e.clickedIndex,i=e.clickedSlide;(!i||!i.classList.contains(t.params.thumbs.slideThumbActiveClass))&&null!=r&&(n=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):r,t.params.loop?t.slideToLoop(n):t.slideTo(n))}}function s(){var e=t.params.thumbs;if(i)return!1;i=!0;var n=t.constructor;if(e.swiper instanceof n)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(cy(e.swiper)){var r=Object.assign({},e.swiper);Object.assign(r,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new n(r),o=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",a),!0}function l(e){var n=t.thumbs.swiper;if(n&&!n.destroyed){var r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,i=1,o=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),n.slides.forEach(function(e){return e.classList.remove(o)}),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(var a=0;a<i;a+=1)cx(n.slidesEl,'[data-swiper-slide-index="'.concat(t.realIndex+a,'"]')).forEach(function(e){e.classList.add(o)});else for(var s=0;s<i;s+=1)n.slides[t.realIndex+s]&&n.slides[t.realIndex+s].classList.add(o);var l=t.params.thumbs.autoScrollOffset,u=l&&!n.params.loop;if(t.realIndex!==n.realIndex||u){var c,d,p=n.activeIndex;if(n.params.loop){var h=n.slides.filter(function(e){return e.getAttribute("data-swiper-slide-index")==="".concat(t.realIndex)})[0];c=n.slides.indexOf(h),d=t.activeIndex>t.previousIndex?"next":"prev"}else d=(c=t.realIndex)>t.previousIndex?"next":"prev";u&&(c+="next"===d?l:-1*l),n.visibleSlidesIndexes&&0>n.visibleSlidesIndexes.indexOf(c)&&(n.params.centeredSlides?c=c>p?c-Math.floor(r/2)+1:c+Math.floor(r/2)-1:c>p&&n.params.slidesPerGroup,n.slideTo(c,e?0:void 0))}}}t.thumbs={swiper:null},r("beforeInit",function(){var e=t.params.thumbs;if(e&&e.swiper){if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){var n=uX(),r=function(){t.destroyed||function(){var r="string"==typeof e.swiper?n.querySelector(e.swiper):e.swiper;if(r&&r.swiper)e.swiper=r.swiper,s(),l(!0);else if(r){var i=function(n){e.swiper=n.detail[0],r.removeEventListener("init",i),s(),l(!0),e.swiper.update(),t.update()};r.addEventListener("init",i)}return r}()||requestAnimationFrame(r)};requestAnimationFrame(r)}else s(),l(!0)}}),r("slideChange update resize observerUpdate",function(){l()}),r("setTransition",function(e,n){var r=t.thumbs.swiper;r&&!r.destroyed&&r.setTransition(n)}),r("beforeDestroy",function(){var e=t.thumbs.swiper;e&&!e.destroyed&&o&&e.destroy()}),Object.assign(t.thumbs,{init:s,update:l})},function(e){var t=e.swiper,n=e.extendParams,r=e.emit,i=e.once;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(!t.params.cssMode){var e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}},onTouchMove:function(){if(!t.params.cssMode){var e=t.touchEventsData,n=t.touches;0===e.velocities.length&&e.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:cv()})}},onTouchEnd:function(e){var n=e.currentPos;if(!t.params.cssMode){var o=t.params,a=t.wrapperEl,s=t.rtlTranslate,l=t.snapGrid,u=t.touchEventsData,c=cv()-u.touchStartTime;if(n<-t.minTranslate())t.slideTo(t.activeIndex);else if(n>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(o.freeMode.momentum){if(u.velocities.length>1){var d=u.velocities.pop(),p=u.velocities.pop(),h=d.position-p.position,f=d.time-p.time;t.velocity=h/f,t.velocity/=2,Math.abs(t.velocity)<o.freeMode.minimumVelocity&&(t.velocity=0),(f>150||cv()-d.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=o.freeMode.momentumVelocityRatio,u.velocities.length=0;var g=1e3*o.freeMode.momentumRatio,m=t.velocity*g,_=t.translate+m;s&&(_=-_);var v,b,y=!1,w=20*Math.abs(t.velocity)*o.freeMode.momentumBounceRatio;if(_<t.maxTranslate())o.freeMode.momentumBounce?(_+t.maxTranslate()<-w&&(_=t.maxTranslate()-w),v=t.maxTranslate(),y=!0,u.allowMomentumBounce=!0):_=t.maxTranslate(),o.loop&&o.centeredSlides&&(b=!0);else if(_>t.minTranslate())o.freeMode.momentumBounce?(_-t.minTranslate()>w&&(_=t.minTranslate()+w),v=t.minTranslate(),y=!0,u.allowMomentumBounce=!0):_=t.minTranslate(),o.loop&&o.centeredSlides&&(b=!0);else if(o.freeMode.sticky){for(var S,A=0;A<l.length;A+=1)if(l[A]>-_){S=A;break}_=-(_=Math.abs(l[S]-_)<Math.abs(l[S-1]-_)||"next"===t.swipeDirection?l[S]:l[S-1])}if(b&&i("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(g=s?Math.abs((-_-t.translate)/t.velocity):Math.abs((_-t.translate)/t.velocity),o.freeMode.sticky){var T=Math.abs((s?-_:_)-t.translate),x=t.slidesSizesGrid[t.activeIndex];g=T<x?o.speed:T<2*x?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode.momentumBounce&&y?(t.updateProgress(v),t.setTransition(g),t.setTranslate(_),t.transitionStart(!0,t.swipeDirection),t.animating=!0,cO(a,function(){t&&!t.destroyed&&u.allowMomentumBounce&&(r("momentumBounce"),t.setTransition(o.speed),setTimeout(function(){t.setTranslate(v),cO(a,function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(r("_freeModeNoMomentumRelease"),t.updateProgress(_),t.setTransition(g),t.setTranslate(_),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,cO(a,function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(_),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(o.freeMode.sticky)return void t.slideToClosest();o.freeMode&&r("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||c>=o.longSwipesMs)&&(r("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}}})},function(e){var t,n,r,i,o=e.swiper,a=e.extendParams,s=e.on;a({grid:{rows:1,fill:"column"}});var l=function(){var e=o.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*o.size:"string"==typeof e&&(e=parseFloat(e)),e};s("init",function(){i=o.params.grid&&o.params.grid.rows>1}),s("update",function(){var e=o.params,t=o.el,n=e.grid&&e.grid.rows>1;i&&!n?(t.classList.remove("".concat(e.containerModifierClass,"grid"),"".concat(e.containerModifierClass,"grid-column")),r=1,o.emitContainerClasses()):!i&&n&&(t.classList.add("".concat(e.containerModifierClass,"grid")),"column"===e.grid.fill&&t.classList.add("".concat(e.containerModifierClass,"grid-column")),o.emitContainerClasses()),i=n}),o.grid={initSlides:function(e){var i=o.params.slidesPerView,a=o.params.grid,s=a.rows,l=a.fill,u=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:e.length;r=Math.floor(u/s),t=Math.floor(u/s)===u/s?u:Math.ceil(u/s)*s,"auto"!==i&&"row"===l&&(t=Math.max(t,i*s)),n=t/s},unsetSlides:function(){o.slides&&o.slides.forEach(function(e){e.swiperSlideGridSet&&(e.style.height="",e.style[o.getDirectionLabel("margin-top")]="")})},updateSlide:function(e,i,a){var s,u,c,d=o.params.slidesPerGroup,p=l(),h=o.params.grid,f=h.rows,g=h.fill,m=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:a.length;if("row"===g&&d>1){var _=Math.floor(e/(d*f)),v=e-f*d*_,b=0===_?d:Math.min(Math.ceil((m-_*f*d)/f),d);s=(u=v-(c=Math.floor(v/b))*b+_*d)+c*t/f,i.style.order=s}else"column"===g?(c=e-(u=Math.floor(e/f))*f,(u>r||u===r&&c===f-1)&&(c+=1)>=f&&(c=0,u+=1)):u=e-(c=Math.floor(e/n))*n;i.row=c,i.column=u,i.style.height="calc((100% - ".concat((f-1)*p,"px) / ").concat(f,")"),i.style[o.getDirectionLabel("margin-top")]=0!==c?p&&"".concat(p,"px"):"",i.swiperSlideGridSet=!0},updateWrapperSize:function(e,n){var r=o.params,i=r.centeredSlides,a=r.roundLengths,s=l(),u=o.params.grid.rows;if(o.virtualSize=(e+s)*t,o.virtualSize=Math.ceil(o.virtualSize/u)-s,o.params.cssMode||(o.wrapperEl.style[o.getDirectionLabel("width")]="".concat(o.virtualSize+s,"px")),i){for(var c=[],d=0;d<n.length;d+=1){var p=n[d];a&&(p=Math.floor(p)),n[d]<o.virtualSize+n[0]&&c.push(p)}n.splice(0,n.length),n.push.apply(n,c)}}}},function(e){var t=e.swiper;Object.assign(t,{appendSlide:c5.bind(t),prependSlide:c6.bind(t),addSlide:c8.bind(t),removeSlide:c9.bind(t),removeAllSlides:c7.bind(t)})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({fadeEffect:{crossFade:!1}}),de({effect:"fade",swiper:t,on:r,setTranslate:function(){for(var e=t.slides,n=(t.params.fadeEffect,0);n<e.length;n+=1){var r=t.slides[n],i=-r.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);var o=0;t.isHorizontal()||(o=i,i=0);var a=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(r.progress),0):1+Math.min(Math.max(r.progress,-1),0),s=dt(0,r);s.style.opacity=a,s.style.transform="translate3d(".concat(i,"px, ").concat(o,"px, 0px)")}},setTransition:function(e){var n=t.slides.map(function(e){return cT(e)});n.forEach(function(t){t.style.transitionDuration="".concat(e,"ms")}),dn({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode}}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});var i=function(e,t,n){var r=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");r||(r=cM("div","swiper-slide-shadow-cube swiper-slide-shadow-".concat(n?"left":"top").split(" ")),e.append(r)),i||(i=cM("div","swiper-slide-shadow-cube swiper-slide-shadow-".concat(n?"right":"bottom").split(" ")),e.append(i)),r&&(r.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};de({effect:"cube",swiper:t,on:r,setTranslate:function(){var e,n=t.el,r=t.wrapperEl,o=t.slides,a=t.width,s=t.height,l=t.rtlTranslate,u=t.size,c=t.browser,d=t.params.cubeEffect,p=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled,f=0;d.shadow&&(p?((e=t.wrapperEl.querySelector(".swiper-cube-shadow"))||(e=cM("div","swiper-cube-shadow"),t.wrapperEl.append(e)),e.style.height="".concat(a,"px")):(e=n.querySelector(".swiper-cube-shadow"))||(e=cM("div","swiper-cube-shadow"),n.append(e)));for(var g=0;g<o.length;g+=1){var m=o[g],_=g;h&&(_=parseInt(m.getAttribute("data-swiper-slide-index"),10));var v=90*_,b=Math.floor(v/360);l&&(b=Math.floor(-(v=-v)/360));var y=Math.max(Math.min(m.progress,1),-1),w=0,S=0,A=0;_%4==0?(w=-(4*b)*u,A=0):(_-1)%4==0?(w=0,A=-(4*b)*u):(_-2)%4==0?(w=u+4*b*u,A=u):(_-3)%4==0&&(w=-u,A=3*u+4*u*b),l&&(w=-w),p||(S=w,w=0);var T="rotateX(".concat(p?0:-v,"deg) rotateY(").concat(p?v:0,"deg) translate3d(").concat(w,"px, ").concat(S,"px, ").concat(A,"px)");y<=1&&y>-1&&(f=90*_+90*y,l&&(f=-(90*_)-90*y),t.browser&&t.browser.need3dFix&&Math.abs(f)/90%2==1&&(f+=.001)),m.style.transform=T,d.slideShadows&&i(m,y,p)}if(r.style.transformOrigin="50% 50% -".concat(u/2,"px"),r.style["-webkit-transform-origin"]="50% 50% -".concat(u/2,"px"),d.shadow){if(p)e.style.transform="translate3d(0px, ".concat(a/2+d.shadowOffset,"px, ").concat(-a/2,"px) rotateX(89.99deg) rotateZ(0deg) scale(").concat(d.shadowScale,")");else{var x=Math.abs(f)-90*Math.floor(Math.abs(f)/90),k=1.5-(Math.sin(2*x*Math.PI/360)/2+Math.cos(2*x*Math.PI/360)/2),M=d.shadowScale,P=d.shadowScale/k,I=d.shadowOffset;e.style.transform="scale3d(".concat(M,", 1, ").concat(P,") translate3d(0px, ").concat(s/2+I,"px, ").concat(-s/2/P,"px) rotateX(-89.99deg)")}}var E=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-u/2:0;r.style.transform="translate3d(0px,0,".concat(E,"px) rotateX(").concat(t.isHorizontal()?0:f,"deg) rotateY(").concat(t.isHorizontal()?-f:0,"deg)"),r.style.setProperty("--swiper-cube-translate-z","".concat(E,"px"))},setTransition:function(e){var n=t.el;if(t.slides.forEach(function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(function(t){t.style.transitionDuration="".concat(e,"ms")})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){var r=n.querySelector(".swiper-cube-shadow");r&&(r.style.transitionDuration="".concat(e,"ms"))}},recreateShadows:function(){var e=t.isHorizontal();t.slides.forEach(function(t){var n=Math.max(Math.min(t.progress,1),-1);i(t,n,e)})},getEffectParams:function(){return t.params.cubeEffect},perspective:function(){return!0},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({flipEffect:{slideShadows:!0,limitRotation:!0}});var i=function(e,n){var r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");r||(r=dr("flip",e,t.isHorizontal()?"left":"top")),i||(i=dr("flip",e,t.isHorizontal()?"right":"bottom")),r&&(r.style.opacity=Math.max(-n,0)),i&&(i.style.opacity=Math.max(n,0))};de({effect:"flip",swiper:t,on:r,setTranslate:function(){for(var e=t.slides,n=t.rtlTranslate,r=t.params.flipEffect,o=0;o<e.length;o+=1){var a=e[o],s=a.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(a.progress,1),-1));var l=a.swiperSlideOffset,u=-180*s,c=0,d=t.params.cssMode?-l-t.translate:-l,p=0;t.isHorizontal()?n&&(u=-u):(p=d,d=0,c=-u,u=0),t.browser&&t.browser.need3dFix&&(Math.abs(u)/90%2==1&&(u+=.001),Math.abs(c)/90%2==1&&(c+=.001)),a.style.zIndex=-Math.abs(Math.round(s))+e.length,r.slideShadows&&i(a,s);var h="translate3d(".concat(d,"px, ").concat(p,"px, 0px) rotateX(").concat(c,"deg) rotateY(").concat(u,"deg)");dt(0,a).style.transform=h}},setTransition:function(e){var n=t.slides.map(function(e){return cT(e)});n.forEach(function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(function(t){t.style.transitionDuration="".concat(e,"ms")})}),dn({swiper:t,duration:e,transformElements:n})},recreateShadows:function(){t.params.flipEffect,t.slides.forEach(function(e){var n=e.progress;t.params.flipEffect.limitRotation&&(n=Math.max(Math.min(e.progress,1),-1)),i(e,n)})},getEffectParams:function(){return t.params.flipEffect},perspective:function(){return!0},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode}}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),de({effect:"coverflow",swiper:t,on:r,setTranslate:function(){for(var e=t.width,n=t.height,r=t.slides,i=t.slidesSizesGrid,o=t.params.coverflowEffect,a=t.isHorizontal(),s=t.translate,l=a?e/2-s:n/2-s,u=a?o.rotate:-o.rotate,c=o.depth,d=0,p=r.length;d<p;d+=1){var h=r[d],f=i[d],g=(l-h.swiperSlideOffset-f/2)/f,m="function"==typeof o.modifier?o.modifier(g):g*o.modifier,_=a?u*m:0,v=a?0:u*m,b=-c*Math.abs(m),y=o.stretch;"string"==typeof y&&-1!==y.indexOf("%")&&(y=parseFloat(o.stretch)/100*f);var w=a?0:y*m,S=a?y*m:0,A=1-(1-o.scale)*Math.abs(m);.001>Math.abs(S)&&(S=0),.001>Math.abs(w)&&(w=0),.001>Math.abs(b)&&(b=0),.001>Math.abs(_)&&(_=0),.001>Math.abs(v)&&(v=0),.001>Math.abs(A)&&(A=0),t.browser&&t.browser.need3dFix&&(Math.abs(_)/90%2==1&&(_+=.001),Math.abs(v)/90%2==1&&(v+=.001));var T="translate3d(".concat(S,"px,").concat(w,"px,").concat(b,"px) rotateX(").concat(v,"deg) rotateY(").concat(_,"deg) scale(").concat(A,")");if(dt(0,h).style.transform=T,h.style.zIndex=1-Math.abs(Math.round(m)),o.slideShadows){var x=a?h.querySelector(".swiper-slide-shadow-left"):h.querySelector(".swiper-slide-shadow-top"),k=a?h.querySelector(".swiper-slide-shadow-right"):h.querySelector(".swiper-slide-shadow-bottom");x||(x=dr("coverflow",h,a?"left":"top")),k||(k=dr("coverflow",h,a?"right":"bottom")),x&&(x.style.opacity=m>0?m:0),k&&(k.style.opacity=-m>0?-m:0)}}},setTransition:function(e){t.slides.map(function(e){return cT(e)}).forEach(function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(function(t){t.style.transitionDuration="".concat(e,"ms")})})},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0}}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}}),de({effect:"creative",swiper:t,on:r,setTranslate:function(){var e=t.slides,n=t.wrapperEl,r=t.slidesSizesGrid,i=t.params.creativeEffect,o=i.progressMultiplier,a=t.params.centeredSlides;if(a){var s=r[0]/2-t.params.slidesOffsetBefore||0;n.style.transform="translateX(calc(50% - ".concat(s,"px))")}for(var l=0;l<e.length;l+=1)(function(){var n=e[l],r=n.progress,s=Math.min(Math.max(n.progress,-i.limitProgress),i.limitProgress),u=s;a||(u=Math.min(Math.max(n.originalProgress,-i.limitProgress),i.limitProgress));var c=n.swiperSlideOffset,d=[t.params.cssMode?-c-t.translate:-c,0,0],p=[0,0,0],h=!1;t.isHorizontal()||(d[1]=d[0],d[0]=0);var f={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};s<0?(f=i.next,h=!0):s>0&&(f=i.prev,h=!0),d.forEach(function(e,t){var n;d[t]="calc(".concat(e,"px + (").concat("string"==typeof(n=f.translate[t])?n:"".concat(n,"px")," * ").concat(Math.abs(s*o),"))")}),p.forEach(function(e,n){var r=f.rotate[n]*Math.abs(s*o);t.browser&&t.browser.need3dFix&&Math.abs(r)/90%2==1&&(r+=.001),p[n]=r}),n.style.zIndex=-Math.abs(Math.round(r))+e.length;var g=d.join(", "),m="rotateX(".concat(p[0],"deg) rotateY(").concat(p[1],"deg) rotateZ(").concat(p[2],"deg)"),_="scale(".concat(u<0?1+(1-f.scale)*u*o:1-(1-f.scale)*u*o,")"),v=u<0?1+(1-f.opacity)*u*o:1-(1-f.opacity)*u*o,b="translate3d(".concat(g,") ").concat(m," ").concat(_);if(h&&f.shadow||!h){var y=n.querySelector(".swiper-slide-shadow");if(!y&&f.shadow&&(y=dr("creative",n)),y){var w=i.shadowPerProgress?1/i.limitProgress*s:s;y.style.opacity=Math.min(Math.max(Math.abs(w),0),1)}}var S=dt(0,n);S.style.transform=b,S.style.opacity=v,f.origin&&(S.style.transformOrigin=f.origin)})()},setTransition:function(e){var n=t.slides.map(function(e){return cT(e)});n.forEach(function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow").forEach(function(t){t.style.transitionDuration="".concat(e,"ms")})}),dn({swiper:t,duration:e,transformElements:n,allSlides:!0})},perspective:function(){return t.params.creativeEffect.perspective},overwriteParams:function(){return{watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode}}})},function(e){var t=e.swiper,n=e.extendParams,r=e.on;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),de({effect:"cards",swiper:t,on:r,setTranslate:function(){for(var e=t.slides,n=t.activeIndex,r=t.rtlTranslate,i=t.params.cardsEffect,o=t.touchEventsData,a=o.startTranslate,s=o.isTouched,l=r?-t.translate:t.translate,u=0;u<e.length;u+=1){var c=e[u],d=c.progress,p=Math.min(Math.max(d,-4),4),h=c.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform="translateX(".concat(t.minTranslate(),"px)")),t.params.centeredSlides&&t.params.cssMode&&(h-=e[0].swiperSlideOffset);var f=t.params.cssMode?-h-t.translate:-h,g=0,m=-100*Math.abs(p),_=1,v=-i.perSlideRotate*p,b=i.perSlideOffset-.75*Math.abs(p),y=t.virtual&&t.params.virtual.enabled?t.virtual.from+u:u,w=(y===n||y===n-1)&&p>0&&p<1&&(s||t.params.cssMode)&&l<a,S=(y===n||y===n+1)&&p<0&&p>-1&&(s||t.params.cssMode)&&l>a;if(w||S){var A=Math.pow(1-Math.abs((Math.abs(p)-.5)/.5),.5);v+=-28*p*A,_+=-.5*A,b+=96*A,g="".concat(-25*A*Math.abs(p),"%")}if(f=p<0?"calc(".concat(f,"px ").concat(r?"-":"+"," (").concat(b*Math.abs(p),"%))"):p>0?"calc(".concat(f,"px ").concat(r?"-":"+"," (-").concat(b*Math.abs(p),"%))"):"".concat(f,"px"),!t.isHorizontal()){var T=g;g=f,f=T}var x="".concat(p<0?1+(1-_)*p:1-(1-_)*p),k="\n translate3d(".concat(f,", ").concat(g,", ").concat(m,"px)\n rotateZ(").concat(i.rotate?r?-v:v:0,"deg)\n scale(").concat(x,")\n ");if(i.slideShadows){var M=c.querySelector(".swiper-slide-shadow");M||(M=dr("cards",c)),M&&(M.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(d))+e.length,dt(0,c).style.transform=k}},setTransition:function(e){var n=t.slides.map(function(e){return cT(e)});n.forEach(function(t){t.style.transitionDuration="".concat(e,"ms"),t.querySelectorAll(".swiper-slide-shadow").forEach(function(t){t.style.transitionDuration="".concat(e,"ms")})}),dn({swiper:t,duration:e,transformElements:n})},perspective:function(){return!0},overwriteParams:function(){return{watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode}}})}];c2.use(di);var da,ds,dl,du,dc,dd=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},dp=function(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},dh=0,df=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.onChange=eF(e,"change",7),e.onAnimationFinish=eF(e,"animationfinish",7),da.set(e,dh++),ds.set(e,""),dl.set(e,!1),du.set(e,!1),dc.set(e,0),e.handleSwiperSizeDebounce=ne(function(){e.swiper&&e.isWillLoadCalled&&(e.circular?dd(e,du,"f")&&(e.reset(),dp(e,du,!1,"f"),dp(e,dl,!1,"f")):(e.swiper.update(),dp(e,dl,!1,"f")))},50),e.reset=function(){dp(e,dl,!0,"f"),dp(e,dc,e.swiper.realIndex,"f"),e.swiper.destroy(),e.handleInit(!0),dp(e,dl,!1,"f")},e.getSlidersList=function(){return e.el.querySelectorAll("taro-swiper-item-core:not(.swiper-slide-duplicate)")||[]},e.getNeedFixLoop=function(){var t=e.parseMargin().filter(Boolean).length>0;return e.circular&&t},e.parseMargin=function(){var t=eu(/^(\d+)px/.exec(e.previousMargin)||[],2)[1],n=eu(/^(\d+)px/.exec(e.nextMargin)||[],2)[1];return[parseInt(t)||0,parseInt(n)||0]},e.swiperWrapper=void 0,e.swiper=void 0,e.isWillLoadCalled=!1,e.indicatorDots=!1,e.indicatorColor="rgba(0, 0, 0, .3)",e.indicatorActiveColor="#000000",e.autoplay=!1,e.current=0,e.currentItemId="",e.interval=5e3,e.duration=500,e.circular=!1,e.vertical=!1,e.previousMargin="0px",e.nextMargin="0px",e.displayMultipleItems=1,e.full=!1,e.zoom=!1,e.effectsProps={},e.observer=void 0,e}return en(t,e),$(t,[{key:"watchCurrent",value:function(e){if(!this.currentItemId&&this.isWillLoadCalled&&this.swiper){var t=parseInt(e,10);isNaN(t)||t===this.swiper.realIndex||(dp(this,ds,"","f"),this.circular?(this.swiper.slideToLoop(t),this.autoplay&&this.swiper.autoplay.pause(),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(t))}}},{key:"watchCurrentItemId",value:function(e){var t=this;if(this.swiperWrapper&&this.isWillLoadCalled){var n=0;this.getSlidersList().forEach(function(r,i){r.getAttribute("item-id")===e&&(n=t.circular?Number(r.getAttribute("data-swiper-slide-index")):i)}),n!==this.swiper.realIndex&&(dp(this,ds,"","f"),this.circular?(this.swiper.slideToLoop(n),this.swiper.loopFix(),this.autoplay&&this.swiper.autoplay.start()):this.swiper.slideTo(n))}}},{key:"watchAutoplay",value:function(e){if(this.isWillLoadCalled&&this.swiper){var t=this.swiper.autoplay;if(t){if(t.running===e)return;e?(this.swiper.params&&"object"===j(this.swiper.params.autoplay)&&(!0===this.swiper.params.autoplay.disableOnInteraction&&(this.swiper.params.autoplay.disableOnInteraction=!1),this.swiper.params.autoplay.delay=this.interval),t.start()):t.stop()}}}},{key:"watchDuration",value:function(e){this.swiper&&this.isWillLoadCalled&&(this.swiper.params.speed=e)}},{key:"watchInterval",value:function(e){this.swiper&&this.isWillLoadCalled&&"object"===j(this.swiper.params.autoplay)&&(this.swiper.params.autoplay.delay=e)}},{key:"watchSwiperWrapper",value:function(e){var t=this;if(this.isWillLoadCalled&&this.swiper&&e){var n=function(){dp(t,du,!0,"f"),t.swiper.loopDestroy(),t.swiper.params.loop=!1};this.el.appendChild=function(r){return dp(t,dl,!0,"f"),!dd(t,du,"f")&&t.circular&&n(),e.appendChild(r)},this.el.insertBefore=function(r,i){return dp(t,dl,!0,"f"),!dd(t,du,"f")&&t.circular&&n(),e.insertBefore(r,i)},this.el.replaceChild=function(r,i){return dp(t,dl,!0,"f"),!dd(t,du,"f")&&t.circular&&n(),e.replaceChild(r,i)},this.el.removeChild=function(r){return dp(t,dl,!0,"f"),!dd(t,du,"f")&&t.circular&&n(),e.removeChild(r)}}}},{key:"watchCircular",value:function(){this.swiper&&this.isWillLoadCalled&&this.reset()}},{key:"watchDisplayMultipleItems",value:function(){this.swiper&&this.isWillLoadCalled&&this.reset()}},{key:"componentWillLoad",value:function(){this.isWillLoadCalled=!0}},{key:"componentDidLoad",value:function(){this.handleInit(),this.swiper&&this.swiperWrapper&&(this.observer=new MutationObserver(this.handleSwiperSizeDebounce),this.observer.observe(this.swiperWrapper,{childList:!0}))}},{key:"disconnectedCallback",value:function(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}},{key:"handleInit",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.autoplay,r=this.circular,i=this.current,o=this.currentItemId,a=this.displayMultipleItems,s=this.duration,l=this.interval,u=this.effectsProps,c=this.vertical,d=i;if(t)d=dd(this,dc,"f");else if(o){var p=0;this.getSlidersList().forEach(function(e,t){e.itemId&&e.itemId===o&&(p=t)}),d=p}var h=this.getLoopAdditionalSlides(),f=1===a&&this.getNeedFixLoop(),g=this,m=Object.assign(Object.assign({pagination:{el:".taro-swiper-".concat(dd(this,da,"f")," > .swiper-container > .swiper-pagination")},direction:c?"vertical":"horizontal",loop:r,slidesPerView:1===a?"auto":a,initialSlide:d,loopAdditionalSlides:h,speed:s,observeParents:!0,observer:!0,centeredSlides:f,zoom:this.zoom,nested:!0},u),{on:{changeTransitionEnd:function(e){if(!dd(g,dl,"f")&&dd(g,dc,"f")!==this.realIndex){dp(g,dc,this.realIndex,"f"),g.getNeedFixLoop()&&e.loopFix(),g.autoplay&&e.autoplay.start();var t=g.getCurrentItemId(e);g.onAnimationFinish.emit({current:this.realIndex,source:dd(g,ds,"f"),currentItemId:t}),dp(g,ds,"autoplay","f")}},touchMove:function(){dp(g,ds,"touch","f")},slideChange:function(e){if(!dd(g,dl,"f")&&dd(g,dc,"f")!==this.realIndex){var t=g.getCurrentItemId(e);g.onChange.emit({current:this.realIndex,source:dd(g,ds,"f"),currentItemId:t})}},init:function(e){g.getNeedFixLoop()&&e.loopFix(),g.autoplay&&e.autoplay.start()},touchEnd:function(e){dp(g,ds,"touch","f"),g.autoplay&&e.autoplay.start()},touchStart:function(e){dp(g,ds,"touch","f"),g.autoplay&&e.autoplay.pause()},autoplay:function(e){e.animating=!1,dp(g,ds,"autoplay","f")}}});if(n&&(m.autoplay={delay:l,disableOnInteraction:!1}),this.swiper=new c2(".taro-swiper-".concat(dd(this,da,"f")," > .swiper-container"),m),this.getNeedFixLoop()){var _=this.swiper.minTranslate.bind(this.swiper),v=this.swiper.maxTranslate.bind(this.swiper);f&&this.getSlidersList().length<4?(this.swiper.minTranslate=function(){return _()+e.parseMargin()[1]},this.swiper.maxTranslate=function(){return v()-e.parseMargin()[0]}):(this.swiper.minTranslate=function(){return _()-e.parseMargin()[0]},this.swiper.maxTranslate=function(){return v()+e.parseMargin()[1]})}this.swiperWrapper=this.swiper.wrapperEl}},{key:"getLoopAdditionalSlides",value:function(){var e=this.getSlidersList().length;return this.el&&this.getNeedFixLoop()&&!(e<5)?e<=7?1:2:0}},{key:"getCurrentItemId",value:function(e){return e.slides[e.activeIndex].getAttribute("item-id")}},{key:"render",value:function(){var e=this.vertical,t=this.indicatorDots,n=this.indicatorColor,r=this.indicatorActiveColor,i=eu(this.parseMargin(),2),o=i[0],a=i[1],s=["overflow: visible;",e?"margin-top: ".concat(o,"px; margin-bottom: ").concat(a,"px;"):"margin-right: ".concat(a,"px; margin-left: ").concat(o,"px;"),this.full?"height: 100%;":""],l={overflow:"hidden"};return this.full&&(l.height="100%"),eE(eO,{class:"taro-swiper-".concat(dd(this,da,"f")),style:l},eE("div",{class:"swiper-container"},eE("style",{type:"text/css"},"\n .taro-swiper-".concat(dd(this,da,"f")," > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ").concat(n," }\n .taro-swiper-").concat(dd(this,da,"f")," > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ").concat(r," }\n .taro-swiper-").concat(dd(this,da,"f")," > .swiper-container { ").concat(s.join("")," }\n .taro-swiper-").concat(dd(this,da,"f")," > .swiper-container > .swiper-pagination { ").concat([t?"opacity: 1;":"display: none;","font-size: 0;"].join("")," }\n ")),eE("div",{class:"swiper-wrapper"},eE("slot",null)),eE("div",{class:"swiper-pagination"})))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{current:["watchCurrent"],currentItemId:["watchCurrentItemId"],autoplay:["watchAutoplay"],duration:["watchDuration"],interval:["watchInterval"],swiperWrapper:["watchSwiperWrapper"],circular:["watchCircular"],displayMultipleItems:["watchDisplayMultipleItems"]}}},{key:"style",get:function(){return"@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px,0,0);transform:translate3d(0px,0,0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top, right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom, left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-webkit-transform-origin:center;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;-webkit-transform:translate3d(0px,-50%,0);transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s transform,.2s top;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s left;transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s transform,.2s right;transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;-ms-touch-action:none;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;-ms-touch-action:none;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;-webkit-transition-property:opacity,height,-webkit-transform;transition-property:opacity,height,-webkit-transform;transition-property:transform,opacity,height;transition-property:transform,opacity,height,-webkit-transform}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}taro-swiper-core{height:150px;display:block}taro-swiper-core .swiper-container{height:100%;position:relative;overflow:visible}"}}])}(tW),[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],currentItemId:[1,"current-item-id"],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],zoom:[4],effectsProps:[16],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32]}]);da=new WeakMap,ds=new WeakMap,dl=new WeakMap,du=new WeakMap,dc=new WeakMap;var dg=function(){"undefined"!=typeof customElements&&["taro-swiper-core"].forEach(function(e){"taro-swiper-core"===e&&(customElements.get(e)||customElements.define(e,df))})},dm=tx(function(e){function t(){var e;return Q(this,t),(e=ee(this,t)).__registerHost(),e.itemId=void 0,e}return en(t,e),$(t,[{key:"connectedCallback",value:function(){this.el.className=t4(this.el.className,"swiper-slide")}},{key:"componentDidRender",value:function(){nt(this.el)}},{key:"render",value:function(){return eE(eO,{"item-id":this.itemId},eE("slot",null))}},{key:"el",get:function(){return this}}])}(tW),[4,"taro-swiper-item-core",{itemId:[1,"item-id"]}]),d_,dv=function(){"undefined"!=typeof customElements&&["taro-swiper-item-core"].forEach(function(e){"taro-swiper-item-core"===e&&(customElements.get(e)||customElements.define(e,dm))})},db=function(e){return r_(void 0,void 0,void 0,er().mark(function t(){var n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v;return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=function(e,t){return new Promise(function(n){var r=document.createElement("taro-swiper-item-core");r.style.cssText="display:flex;align-items:start;justify-content:center;overflow-y:scroll;";var i=new Image;i.style.maxWidth="100%",i.src=e;var o=document.createElement("div");o.classList.add("swiper-zoom-container"),o.style.cssText="display:flex;align-items:center;justify-content:center;max-width:100%;min-height:100%;",o.appendChild(i),r.appendChild(o),n(r),nU(t)&&i.addEventListener("error",function(e){t({errMsg:e.message})})})},dg(),dv(),(r=rl(e)).flag){t.next=8;break}return console.error((i={errMsg:"previewImage:fail ".concat(r.msg)}).errMsg),t.abrupt("return",Promise.reject(i));case 8:return a=void 0===(o=e.urls)?[]:o,l=void 0===(s=e.current)?"":s,u=e.success,c=e.fail,d=new ra({name:"previewImage",success:u,fail:c,complete:e.complete}),p=document.createElement("div"),h=function(){n4.off("__taroRouterChange",h),p.remove()},n4.on("__taroRouterChange",h),p.classList.add("preview-image"),p.style.cssText="position:fixed;top:0;left:0;z-index:1050;width:100%;height:100%;overflow:hidden;outline:0;background-color:#111;",p.addEventListener("click",h),(f=document.createElement("taro-swiper-core")).full=!0,f.zoom=!0,g=[],t.prev=20,t.next=23,Promise.all(a.map(function(e){return n(e,c)}));case 23:g=t.sent,t.next=29;break;case 26:return t.prev=26,t.t0=t.catch(20),t.abrupt("return",d.fail({errMsg:t.t0}));case 29:for(m=0;m<g.length;m++)_=g[m],f.appendChild(_);return v="number"==typeof l?l:a.indexOf(l),f.current=v,p.appendChild(f),document.body.appendChild(p),t.abrupt("return",d.success());case 35:case"end":return t.stop()}},t,null,[[20,26]])}))},dy=function(e){var t=e.node,n=uz(),r=n.onImageClick,i=n.eventCallbacks,o=n.imgClassName,a=n.imgStyle,s=eu((0,Z.useState)(t.url),2),l=s[0],u=s[1];return(0,Z.useEffect)(function(){u(t.url)},[t]),(0,uC.jsx)(nv,{src:l,mode:"aspectFill",className:W()("index-module__image___etUul",z({},"index-module__image-error___SBhMy",!l),o),onError:function(){u("")},style:a,onClick:function(){t.url&&(null!=i&&i.onImageClick?i.onImageClick({url:t.url}):r?null==r||r({url:t.url}):db({urls:[t.url],current:t.url,enableShowPhotoDownload:!0}))}})},dw=(0,Z.memo)(function(e){var t=e.node,n=(uz()||{}).enableHtmlTags;return(0,uC.jsx)(uC.Fragment,{children:n?(0,uC.jsx)(ny,{nodes:"".concat(t.value)}):(0,uC.jsx)(uW,{node:t})})}),dS=function(e){var t=e.node;return(0,uC.jsx)(nT,{className:"index-module__emphasis___M3dc2",children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},dA=function(e){var t=e.node;return(0,uC.jsx)(nT,{className:"index-module__delete___i2va_",children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},dT=["break","delete","emphasis","footnoteReference","html","image","imageReference","inlineCode","link","linkReference","strong","text","indicator"],dx=function(e){var t=e.node;return(0,uC.jsxs)(uC.Fragment,{children:["break"===t.type&&(0,uC.jsx)(uL,{}),"delete"===t.type&&(0,uC.jsx)(dA,{node:t}),"emphasis"===t.type&&(0,uC.jsx)(dS,{node:t}),"footnoteReference"===t.type&&null,"html"===t.type&&(0,uC.jsx)(dw,{node:t}),"image"===t.type&&(0,uC.jsx)(dy,{node:t}),"imageReference"===t.type&&null,"inlineCode"===t.type&&(0,uC.jsx)(uV,{node:t}),"link"===t.type&&(0,uC.jsx)(uH,{node:t}),"linkReference"===t.type&&null,"strong"===t.type&&(0,uC.jsx)(uZ,{node:t}),"text"===t.type&&(0,uC.jsx)(uW,{node:t}),"indicator"===t.type&&(0,uC.jsx)(uQ,{node:t})]})},dk=function(){return(0,uC.jsx)(nT,{className:"index-module__break___SsSEr"})},dM=function(e){var t=e.node;return(0,uC.jsx)(nT,{className:"index-module__table-wrapper___mlo5x",children:(0,uC.jsx)(nT,{className:"index-module__table___NiIpq",children:t.children.map(function(e,t){return(0,uC.jsx)(nT,{className:W()("index-module__table-row___xcdwq",z({},"index-module__table-header___laEZx",0===t)),children:e.children.map(function(e,n){return(0,uC.jsx)(nT,{className:"index-module__table-cell___h5XXF",children:e.children.map(function(e,r){return(0,uC.jsx)(dx,{node:e},"row-".concat(t,"-cell-").concat(n,"-content-").concat(r))})},"row-".concat(t,"-cell-").concat(n))})},"row-".concat(t))})})})},dP=function(e){var t=e.node;return(0,uC.jsx)(nT,{children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},dI=function(e){var t=e.node;return(0,uC.jsx)(nT,{children:t.children.map(function(e,t){return(0,uC.jsx)(pd,{node:e,isParagraphNeedMargin:!1},t)})})},dE=["className","children","gap","vertical","flex1","horizontalCenter","verticalCenter","onClick","width100","height100","style"],dC=function(e){var t=e.className,n=e.children,r=e.gap,i=e.vertical,o=e.flex1,a=e.horizontalCenter,s=e.verticalCenter,l=e.onClick,u=e.width100,c=e.height100,d=e.style,p=R(e,dE);return(0,uC.jsx)(nT,G(G({},p),{},{className:W()("index-module__spacing___YhX7p",z({},"index-module__horizontal-center___g61bc",a),t),style:G({gap:r,flexDirection:i?"column":"row",justifyContent:a?"center":void 0,alignItems:s?"center":void 0,flex:o?1:void 0,width:u?"100%":void 0,height:c?"100%":void 0},d),onClick:l,children:n}))},dO=function(e){var t=e.disabled,n=e.className,r=e.children;return(0,uC.jsx)(nT,{className:W()("index-module__container___FFAkF",n,z({},"index-module__disabled___gYJ9M",t)),children:r})},dD={radio:"index-module__radio___SbFRY",checked:"index-module__checked___j8pq8","checked-circle":"index-module__checked-circle___EoZq2"},dL=function(e){var t=e.checked,n=e.onChange,r=e.disabled,i=e.children,o=e.className,a=function(){if(r)return null;null==n||n(!t)};return(0,uC.jsx)(dO,{disabled:r,children:(0,uC.jsxs)(dC,{className:W()(dD.box,o),gap:8,onClick:a,children:[(0,uC.jsx)(nT,{onClick:a,className:W()(dD.radio,z({},dD.checked,t)),children:(0,uC.jsx)(nT,{className:dD["checked-circle"]})}),(0,uC.jsx)(nT,{style:{flex:1},children:i})]})})},dB={dark:{fill:"rgba(78, 64, 229, 1)",fillOpacity:"1.0"},light:{fill:"#060709",fillOpacity:"0.5"}},dN={dark:{fill:"#202945",fillOpacity:"0.62"},light:{fill:"#FFF",fillOpacity:"1.0"},"gray-bold":{fill:"#1C1D23",fillOpacity:"1"}},dR={dark:{fill:"#060709",fillOpacity:"0.8"},light:{fill:"#FFF",fillOpacity:"1.0"}},dj=["src","className"],dU=["className"],dz=["type"],dF=function(e){var t=e.src,n=e.className,r=R(e,dj);return(0,uC.jsx)(nv,G(G({},r),{},{src:t,svg:!0,className:W()("index-module__svg___aht22",n)}))},dG=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZwogIHdpZHRoPSIzNiIKICBoZWlnaHQ9IjM2IgogIHZpZXdCb3g9IjAgMCAzNiAzNiIKICB2ZXJzaW9uPSIxLjEiCiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIGFyaWEtaGlkZGVuPSJ0cnVlIgogIGRhdGEtaWNvbj0ic3BpbiIKPgogIDxkZWZzPgogICAgPGxpbmVhckdyYWRpZW50CiAgICAgIHgxPSIwJSIKICAgICAgeTE9IjEwMCUiCiAgICAgIHgyPSIxMDAlIgogICAgICB5Mj0iMTAwJSIKICAgICAgaWQ9ImxpbmVhckdyYWRpZW50LTE3IgogICAgPgogICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEU0MEU1IiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgPHN0b3AKICAgICAgICBzdG9wLWNvbG9yPSIjNEU0MEU1IgogICAgICAgIHN0b3Atb3BhY2l0eT0iMC41MCIKICAgICAgICBvZmZzZXQ9IjM5Ljk0MzA2OTglIgogICAgICA+PC9zdG9wPgogICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEU0MEU1IiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxnIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3QKICAgICAgZmlsbC1vcGFjaXR5PSIwLjAxIgogICAgICBmaWxsPSJub25lIgogICAgICB4PSIwIgogICAgICB5PSIwIgogICAgICB3aWR0aD0iMzYiCiAgICAgIGhlaWdodD0iMzYiCiAgICA+PC9yZWN0PgogICAgPHBhdGgKICAgICAgZD0iTTM0LDE4IEMzNCw5LjE2MzQ0NCAyNi44MzY1NTYsMiAxOCwyIEMxMS42NTk3MjMzLDIgNi4xODA3ODgwNSw1LjY4Nzg0MTM1IDMuNTkxMjIzMjUsMTEuMDM1NDk1MSIKICAgICAgc3Ryb2tlPSJ1cmwoI2xpbmVhckdyYWRpZW50LTE3KSIKICAgICAgc3Ryb2tlLXdpZHRoPSI0IgogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiCiAgICA+PC9wYXRoPgogIDwvZz4KPC9zdmc+Cg=="}))},dq=function(e){var t,n=(t="light"===e.theme?dR.light:dR.dark,(0,Z.useMemo)(function(){var e;return uc((e=t,'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n<path d="M7.50033 1.66667V5L3.33366 5C2.41318 5 1.66699 5.74619 1.66699 6.66667V17.5C1.66699 18.4205 2.41318 19.1667 3.33366 19.1667H16.667C17.5875 19.1667 18.3337 18.4205 18.3337 17.5V6.66667C18.3337 5.74619 17.5875 5 16.667 5L12.5003 5V1.66667C12.5003 0.746192 11.7541 0 10.8337 0H9.16699C8.24652 0 7.50033 0.746192 7.50033 1.66667ZM10.8337 1.66667V6.66667H16.667V10H3.33366V6.66667H9.16699V1.66667H10.8337ZM3.33366 11.6667H16.667V17.5H7.50033V15C7.50033 14.5398 7.12723 14.1667 6.66699 14.1667C6.20676 14.1667 5.83366 14.5398 5.83366 15V17.5H3.33366L3.33366 11.6667Z" fill="'.concat(e.fill,'" fill-opacity="').concat(e.fillOpacity,'"/>\n</svg>')))},[t]));return(0,uC.jsx)(dF,G(G({},e),{},{src:n}))},dW=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbi1pY29uIGljb24taWNvbi1jb3pfY2hhdF9wbHVzIHRleHQteHhsIiB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Ik02Ljk0MDI1IDE5LjU5MTZMNi4yMzYwNyAyMUgxMS4xMjQxQzExLjQ0NDIgMjEuNzMyNyAxMS44NzggMjIuNDA0NCAxMi40MDMyIDIyLjk5MjdDMTIuMjY5NCAyMi45OTc2IDEyLjEzNSAyMyAxMiAyM0g0LjYxODAzQzMuODc0NjUgMjMgMy4zOTExNiAyMi4yMTc3IDMuNzIzNjEgMjEuNTUyOEw0LjQ4NDA1IDIwLjAzMTlDMi4zMzk5IDE4LjAyNDcgMSAxNS4xNjg4IDEgMTJDMSA1LjkyNDg3IDUuOTI0ODcgMSAxMiAxQzE4LjA3NTEgMSAyMyA1LjkyNDg3IDIzIDEyQzIzIDEyLjEzNSAyMi45OTc2IDEyLjI2OTQgMjIuOTkyNyAxMi40MDMyQzIyLjM5MjcgMTEuODY3NSAyMS43MDU5IDExLjQyNjkgMjAuOTU2MSAxMS4xMDVDMjAuNTA2OCA2LjU1NDYzIDE2LjY2ODUgMyAxMiAzQzcuMDI5NDQgMyAzIDcuMDI5NDQgMyAxMkMzIDE0LjU5MjggNC4wOTM3OSAxNi45MjY5IDUuODUwODggMTguNTcxOEw2Ljk0MDI1IDE5LjU5MTZaIiBmaWxsPSIjMDYwNzA5IiBmaWxsLW9wYWNpdHk9IjAuOCI+PC9wYXRoPgogIDxwYXRoIGQ9Ik04IDhDNy40NDc3MiA4IDcgOC40NDc3MiA3IDkgNyA5LjU1MjI5IDcuNDQ3NzIgMTAgOCAxMEgxNUMxNS41NTIzIDEwIDE2IDkuNTUyMjkgMTYgOSAxNiA4LjQ0NzcyIDE1LjU1MjMgOCAxNSA4SDh6TTcgMTNDNyAxMi40NDc3IDcuNDQ3NzIgMTIgOCAxMkgxMUMxMS41NTIzIDEyIDEyIDEyLjQ0NzcgMTIgMTMgMTIgMTMuNTUyMyAxMS41NTIzIDE0IDExIDE0SDhDNy40NDc3MiAxNCA3IDEzLjU1MjMgNyAxM3pNMTkgMjJDMTkgMjIuNTUyMyAxOC41NTIzIDIzIDE4IDIzIDE3LjQ0NzcgMjMgMTcgMjIuNTUyMyAxNyAyMlYxOUgxNEMxMy40NDc3IDE5IDEzIDE4LjU1MjMgMTMgMTggMTMgMTcuNDQ3NyAxMy40NDc3IDE3IDE0IDE3SDE3VjE0QzE3IDEzLjQ0NzcgMTcuNDQ3NyAxMyAxOCAxMyAxOC41NTIzIDEzIDE5IDEzLjQ0NzcgMTkgMTRWMTdIMjJDMjIuNTUyMyAxNyAyMyAxNy40NDc3IDIzIDE4IDIzIDE4LjU1MjMgMjIuNTUyMyAxOSAyMiAxOUwxOSAxOVYyMnoiIGZpbGw9IiMwNjA3MDkiIGZpbGwtb3BhY2l0eT0iMC44Ij48L3BhdGg+Cjwvc3ZnPgo="}))},dZ=function(e){var t,n=(t="light"===e.theme?dB.light:dB.dark,(0,Z.useMemo)(function(){var e;return uc((e=t,'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n<path d="M17.8466 11.0966C18.2468 10.8785 18.4972 10.4593 18.4972 10.0003C18.4972 9.54132 18.2468 9.12405 17.8466 8.90593L3.33322 1.04799C2.9463 0.837464 2.4892 0.846947 2.10987 1.07265C1.73053 1.29836 1.50293 1.69856 1.50293 2.14238L3.10421 8.39673L9.91228 9.39337C10.3025 9.39337 10.6178 9.66459 10.6178 10.0003C10.6178 10.336 10.3025 10.6072 9.91228 10.6072C6.07554 11.1697 3.80709 11.4996 3.10692 11.5971L1.50293 17.8582C1.50293 18.3021 1.73053 18.7023 2.10987 18.9299C2.4892 19.1556 2.9463 19.1651 3.33322 18.9545L17.8466 11.0966Z" fill="'.concat(e.fill,'" fill-opacity="').concat(e.fillOpacity,'"/>\n</svg>\n')))},[t]));return(0,uC.jsx)(dF,G(G({},e),{},{src:n}))},dH=function(e){var t=e.className,n=R(e,dU);return(0,uC.jsx)(dF,G(G({},n),{},{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTkuMTY2ODMgNi42NjczMlY5LjE2NzMySDYuNjY2ODNDNi4yMDY1OSA5LjE2NzMyIDUuODMzNSA5LjU0MDQxIDUuODMzNSAxMC4wMDA3QzUuODMzNSAxMC40NjA5IDYuMjA2NTkgMTAuODM0IDYuNjY2ODMgMTAuODM0SDkuMTY2ODNWMTMuMzM0QzkuMTY2ODMgMTMuNzk0MiA5LjUzOTkyIDE0LjE2NzMgMTAuMDAwMiAxNC4xNjczQzEwLjQ2MDQgMTQuMTY3MyAxMC44MzM1IDEzLjc5NDIgMTAuODMzNSAxMy4zMzRWMTAuODM0SDEzLjMzMzVDMTMuNzkzNyAxMC44MzQgMTQuMTY2OCAxMC40NjA5IDE0LjE2NjggMTAuMDAwN0MxNC4xNjY4IDkuNTQwNDEgMTMuNzkzNyA5LjE2NzMyIDEzLjMzMzUgOS4xNjczMkgxMC44MzM1VjYuNjY3MzJDMTAuODMzNSA2LjIwNzA4IDEwLjQ2MDQgNS44MzM5OCAxMC4wMDAyIDUuODMzOThDOS41Mzk5MiA1LjgzMzk4IDkuMTY2ODMgNi4yMDcwOCA5LjE2NjgzIDYuNjY3MzJaIiBmaWxsPSIjMDYwNzA5IiBmaWxsLW9wYWNpdHk9IjAuOCIvPgo8L3N2Zz4K",className:W()("index-module__circle___EAQoe",t)}))},dV=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KPGNpcmNsZSBjeD0iOC4wMDAzMyIgY3k9IjcuOTk5MzUiIHI9IjcuMzMzMzMiIGZpbGw9IiNGRjgxMUEiLz4KPHBhdGggZD0iTTcuOTk5NjcgNC42NjYwMkM3LjYzMTQ4IDQuNjY2MDIgNy4zMzMwMSA0Ljk2NDQ5IDcuMzMzMDEgNS4zMzI2OFY4LjY2NjAyQzcuMzMzMDEgOS4wMzQyMSA3LjYzMTQ4IDkuMzMyNjggNy45OTk2NyA5LjMzMjY4QzguMzY3ODYgOS4zMzI2OCA4LjY2NjM0IDkuMDM0MjEgOC42NjYzNCA4LjY2NjAyVjUuMzMyNjhDOC42NjYzNCA0Ljk2NDQ5IDguMzY3ODYgNC42NjYwMiA3Ljk5OTY3IDQuNjY2MDJaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNy45OTk2NyAxMS4zMzI3QzguMzY3ODYgMTEuMzMyNyA4LjY2NjM0IDExLjAzNDIgOC42NjYzNCAxMC42NjZDOC42NjYzNCAxMC4yOTc4IDguMzY3ODYgOS45OTkzNSA3Ljk5OTY3IDkuOTk5MzVDNy42MzE0OCA5Ljk5OTM1IDcuMzMzMDEgMTAuMjk3OCA3LjMzMzAxIDEwLjY2NkM3LjMzMzAxIDExLjAzNDIgNy42MzE0OCAxMS4zMzI3IDcuOTk5NjcgMTEuMzMyN1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="}))},dQ=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJyZ2IoMjU1LCA2OCwgMzApIiBkPSJNMTIgMjFhOSA5IDAgMSAxIDAtMTggOSA5IDAgMCAxIDAgMThabTAgMmM2LjA3NSAwIDExLTQuOTI1IDExLTExUzE4LjA3NSAxIDEyIDEgMSA1LjkyNSAxIDEyczQuOTI1IDExIDExIDExWiI+PC9wYXRoPjxwYXRoIGZpbGw9InJnYigyNTUsIDY4LCAzMCkiIGQ9Ik0xMiA3YTEgMSAwIDAgMC0xIDF2NWExIDEgMCAxIDAgMiAwVjhhMSAxIDAgMCAwLTEtMVpNMTIgMTVhMSAxIDAgMSAwIDAgMiAxIDEgMCAwIDAgMC0yWiI+PC9wYXRoPjwvc3ZnPgo="}))},dY=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjFlbSIgaGVpZ2h0PSIxZW0iIGZvY3VzYWJsZT0iZmFsc2UiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBkPSJNMTcuNjYgMTkuNzhhMS41IDEuNSAwIDAgMCAyLjEyLTIuMTJMMTQuMTIgMTJsNS42Ni01LjY2YTEuNSAxLjUgMCAwIDAtMi4xMi0yLjEyTDEyIDkuODggNi4zNCA0LjIyYTEuNSAxLjUgMCAxIDAtMi4xMiAyLjEyTDkuODggMTJsLTUuNjYgNS42NmExLjUgMS41IDAgMCAwIDIuMTIgMi4xMkwxMiAxNC4xMmw1LjY2IDUuNjZaIiBmaWxsPSJyZ2JhKDI4LCAzMSwgMzUsIDAuOCkiPjwvcGF0aD48L3N2Zz4K"}))},d$=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+CiAgPHBhdGgKICAgIGQ9J00xMi4yMDcgNC43OTNhMSAxIDAgMCAxIDAgMS40MTRsLTUgNWExIDEgMCAwIDEtMS40MTQgMGwtMi0yYTEgMSAwIDAgMSAxLjQxNC0xLjQxNEw2LjUgOS4wODZsNC4yOTMtNC4yOTNhMSAxIDAgMCAxIDEuNDE0IDB6JyAvPgo8L3N2Zz4K"}))},dK=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJyZ2JhKDYsIDcsIDksIDAuOCkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTExLjg3OTggMS41MDcxN0MxMS42NjUzIDEuNTMyOTkgMTEuNDU3NiAxLjYyODIyIDExLjI5MjkgMS43OTI4Nkw0LjIyMTg1IDguODYzOTNDMy44MzEzMiA5LjI1NDQ2IDMuODMxMzIgOS44ODc2MiA0LjIyMTg1IDEwLjI3ODFDNC42MTIzNyAxMC42Njg3IDUuMjQ1NTQgMTAuNjY4NyA1LjYzNjA2IDEwLjI3ODFMMTEgNC45MTQxNkwxMSAyMS41QzExIDIyLjA1MjMgMTEuNDQ3OCAyMi41IDEyIDIyLjVDMTIuNTUyMyAyMi41IDEzIDIyLjA1MjMgMTMgMjEuNUwxMyA0LjkxNDE4TDE4LjM2NCAxMC4yNzgxQzE4Ljc1NDUgMTAuNjY4NyAxOS4zODc3IDEwLjY2ODcgMTkuNzc4MiAxMC4yNzgxQzIwLjE2ODggOS44ODc2MiAyMC4xNjg4IDkuMjU0NDYgMTkuNzc4MiA4Ljg2MzkzTDEyLjcwNzIgMS43OTI4NkMxMi41NjA3IDEuNjQ2NDEgMTIuMzgwMSAxLjU1NDg4IDEyLjE5MSAxLjUxODI4QzEyLjA4ODQgMS40OTg0MiAxMS45ODM0IDEuNDk0NzIgMTEuODc5OCAxLjUwNzE3WiI+PC9wYXRoPgo8L3N2Zz4K"}))},dX=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE2IDE3IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTcuOTk5MzUgMTQuMjAyNUMxMS4zMTMgMTQuMjAyNSAxMy45OTk0IDExLjUxNjEgMTMuOTk5NCA4LjIwMjQ3QzEzLjk5OTQgNC44ODg4MSAxMS4zMTMgMi4yMDI0NyA3Ljk5OTM1IDIuMjAyNDdDNC42ODU2OCAyLjIwMjQ3IDEuOTk5MzUgNC44ODg4MSAxLjk5OTM1IDguMjAyNDdDMS45OTkzNSAxMS41MTYxIDQuNjg1NjggMTQuMjAyNSA3Ljk5OTM1IDE0LjIwMjVaTTcuOTk5MzUgMTUuNTM1OEMzLjk0OTM1IDE1LjUzNTggMC42NjYwMTYgMTIuMjUyNSAwLjY2NjAxNiA4LjIwMjQ3QzAuNjY2MDE2IDQuMTUyNDcgMy45NDkzNSAwLjg2OTE0MSA3Ljk5OTM1IDAuODY5MTQxQzEyLjA0OTQgMC44NjkxNDEgMTUuMzMyNyA0LjE1MjQ3IDE1LjMzMjcgOC4yMDI0N0MxNS4zMzI3IDEyLjI1MjUgMTIuMDQ5NCAxNS41MzU4IDcuOTk5MzUgMTUuNTM1OFpNNy4zMzI2OSAxMC41MzU4VjcuODY5MTRDNi45NjQ1IDcuODY5MTQgNi42NjYwMiA3LjU3MDY2IDYuNjY2MDIgNy4yMDI0N0M2LjY2NjAyIDYuODM0MjggNi45NjQ1IDYuNTM1ODEgNy4zMzI2OCA2LjUzNTgxSDguMDAxNzZDOC4zNjkwMSA2LjUzNTgxIDguNjY3MTMgNi44MzI4MiA4LjY2NzY5IDcuMjAwMDdDOC42NjkzNyA4LjMxMTk3IDguNjY2MDIgOS40MjM5MiA4LjY2NjAyIDEwLjUzNThIOC45OTkzNUM5LjM2NzU0IDEwLjUzNTggOS42NjYwMiAxMC44MzQzIDkuNjY2MDIgMTEuMjAyNUM5LjY2NjAyIDExLjU3MDcgOS4zNjc1NCAxMS44NjkxIDguOTk5MzUgMTEuODY5MUg2Ljk5OTM1QzYuNjMxMTYgMTEuODY5MSA2LjMzMjY4IDExLjU3MDcgNi4zMzI2OCAxMS4yMDI1QzYuMzMyNjggMTAuODM0MyA2LjYzMTE2IDEwLjUzNTggNi45OTkzNSAxMC41MzU4SDcuMzMyNjlaTTcuOTk5MzUgNS44NjkxNEM3LjYzMTE2IDUuODY5MTQgNy4zMzI2OSA1LjU3MDY2IDcuMzMyNjkgNS4yMDI0N0M3LjMzMjY5IDQuODM0MjggNy42MzExNiA0LjUzNTgxIDcuOTk5MzUgNC41MzU4MUM4LjM2NzU0IDQuNTM1ODEgOC42NjYwMiA0LjgzNDI4IDguNjY2MDIgNS4yMDI0N0M4LjY2NjAyIDUuNTcwNjYgOC4zNjc1NCA1Ljg2OTE0IDcuOTk5MzUgNS44NjkxNFoiIGZpbGw9IiMyMDI5NDUiIGZpbGwtb3BhY2l0eT0iMC42MiIgc3R5bGU9ImZpbGw6IzIwMjk0NTtmaWxsOmNvbG9yKGRpc3BsYXktcDMgMC4xMjU1IDAuMTYwOCAwLjI3MDYpO2ZpbGwtb3BhY2l0eTowLjYyOyIvPgo8L3N2Zz4K"}))},dJ=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHGSURBVHgB7ZY9TgJREMdnHhs0JAsWK4lcYBFb7Gyks9HOxgvIBez0AhbGChtLG2PFAeAC1Oi7ACa6JiIJxQo7zuMjLiuPD9lVE/kVwP7f5s1/l5l5A7Dkv4PDH0krd8RXRQQyIUIIsIVIN82n+5K6jqkP07L3BeIpu1mBiBnEyMcT6YbbfpZGXxR5CLgEogqEhwlIWQTMfBpBFbNsBO8kgkocumeOI1sQIpZlm++AFxx526+L4I0d8M7DDq5Qe3q8d1D/YqDtyAZERMuREqYZ+GmMSYup9GaRPLEhoFN9dWR1Vt2/BwrvcVhycxlYs7Z2ibxjRP7nIFZgaWdWfQRSa/aD36gfoXfWqRFQLx+4cZTn0UfjY8MFkPo4GgaVsLeoPo1fT8KlAW0OJCw7YyBe+/v3d1BJGKfuoa67at8AH5PmosEVfLxnOnz66da1b0C1zZSVK3FpLWSCH6Kh6wETDSiaTv0KIubvVQFPRzZEhEpsmGZAoDhRwwOEjNrT4L2D+rgcyLsYu02u5yQQvkFIuEiFcQNvzwCBV+O58GAoYj/zMzzHQVRwddXUd28qdtsvcjWR5gfGbNSTcX/gxcuWU7+DJUuYDxAJvNy3JtpkAAAAAElFTkSuQmCC"}))},d0=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTggMC42NjYwMTZDNi4xNTkwNSAwLjY2NjAxNiA0LjY2NjY3IDIuMTU4NCA0LjY2NjY3IDMuOTk5MzVWNy4zMzI2OEM0LjY2NjY3IDkuMTczNjMgNi4xNTkwNSAxMC42NjYgOCAxMC42NjZDOS44NDA5NSAxMC42NjYgMTEuMzMzMyA5LjE3MzYzIDExLjMzMzMgNy4zMzI2OFYzLjk5OTM1QzExLjMzMzMgMi4xNTg0IDkuODQwOTUgMC42NjYwMTYgOCAwLjY2NjAxNlpNMTAgNy4zMzI2OEMxMCA4LjQzNzI1IDkuMTA0NTcgOS4zMzI2OCA4IDkuMzMyNjhDNi44OTU0MyA5LjMzMjY4IDYgOC40MzcyNSA2IDcuMzMyNjhWMy45OTkzNUM2IDIuODk0NzggNi44OTU0MyAxLjk5OTM1IDggMS45OTkzNUM5LjEwNDU3IDEuOTk5MzUgMTAgMi44OTQ3OCAxMCAzLjk5OTM1VjcuMzMyNjhaIiBmaWxsPSIjMEYxNTI4IiBmaWxsLW9wYWNpdHk9IjAuODIiIHN0eWxlPSJmaWxsOiMwRjE1Mjg7ZmlsbDpjb2xvcihkaXNwbGF5LXAzIDAuMDU4OCAwLjA4MjQgMC4xNTY5KTtmaWxsLW9wYWNpdHk6MC44MjsiLz4KPHBhdGggZD0iTTEzLjMzMzMgNS45OTkzNUMxMi45NjUxIDUuOTk5MzUgMTIuNjY2NyA2LjI5NzgzIDEyLjY2NjcgNi42NjYwMlY3LjMzMjY4QzEyLjY2NjcgOS45MTAwMSAxMC41NzczIDExLjk5OTMgOCAxMS45OTkzQzUuNDIyNjcgMTEuOTk5MyAzLjMzMzMzIDkuOTEwMDEgMy4zMzMzMyA3LjMzMjY4VjYuNjY2MDJDMy4zMzMzMyA2LjI5NzgzIDMuMDM0ODYgNS45OTkzNSAyLjY2NjY3IDUuOTk5MzVDMi4yOTg0OCA1Ljk5OTM1IDIgNi4yOTc4MyAyIDYuNjY2MDJWNy4zMzI2OEMyIDEwLjQyMTEgNC4zMzMzNyAxMi45NjQ0IDcuMzMzMzMgMTMuMjk2MVYxNC45OTkzQzcuMzMzMzMgMTUuMzY3NSA3LjYzMTgxIDE1LjY2NiA4IDE1LjY2NkM4LjM2ODE5IDE1LjY2NiA4LjY2NjY3IDE1LjM2NzUgOC42NjY2NyAxNC45OTkzVjEzLjI5NjFDMTEuNjY2NiAxMi45NjQ0IDE0IDEwLjQyMTEgMTQgNy4zMzI2OFY2LjY2NjAyQzE0IDYuMjk3ODMgMTMuNzAxNSA1Ljk5OTM1IDEzLjMzMzMgNS45OTkzNVoiIGZpbGw9IiMwRjE1MjgiIGZpbGwtb3BhY2l0eT0iMC44MiIgc3R5bGU9ImZpbGw6IzBGMTUyODtmaWxsOmNvbG9yKGRpc3BsYXktcDMgMC4wNTg4IDAuMDgyNCAwLjE1NjkpO2ZpbGwtb3BhY2l0eTowLjgyOyIvPgo8L3N2Zz4K"}))},d1=function(e){var t,n,r=(n=(t=e).theme&&dN[t.theme]||dN.dark,(0,Z.useMemo)(function(){var e;return uc((e=n,'<svg class="icon-icon icon-icon-coz_copy !coz-fg-images-white w-[14px] h-[14px]" width="1em" height="1em" viewBox="0 0 24 24" fill="'.concat(e.fill,'" fill-opacity="').concat(e.fillOpacity,'" xmlns="http://www.w3.org/2000/svg"><path d="M9 3C9 2.44772 9.44772 2 10 2H20C20.5523 2 21 2.44772 21 3V15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15V4H10C9.44771 4 9 3.55228 9 3Z"></path><path d="M5 6C3.89543 6 3 6.89543 3 8V20C3 21.1046 3.89543 22 5 22H15C16.1046 22 17 21.1046 17 20V8C17 6.89543 16.1046 6 15 6H5ZM5 8H15V20H5L5 8Z"></path></svg>')))},[n]));return(0,uC.jsx)(dF,G(G({},e),{},{src:r}))},d2=function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABYlAAAWJQFJUiTwAAABaWlDQ1BEaXNwbGF5IFAzAAB4nHWQvUvDUBTFT6tS0DqIDh0cMolD1NIKdnFoKxRFMFQFq1OafgltfCQpUnETVyn4H1jBWXCwiFRwcXAQRAcR3Zw6KbhoeN6XVNoi3sfl/Ticc7lcwBtQGSv2AijplpFMxKS11Lrke4OHnlOqZrKooiwK/v276/PR9d5PiFlNu3YQ2U9cl84ul3aeAlN//V3Vn8maGv3f1EGNGRbgkYmVbYsJ3iUeMWgp4qrgvMvHgtMunzuelWSc+JZY0gpqhrhJLKc79HwHl4plrbWD2N6f1VeXxRzqUcxhEyYYilBRgQQF4X/8044/ji1yV2BQLo8CLMpESRETssTz0KFhEjJxCEHqkLhz634PrfvJbW3vFZhtcM4v2tpCAzidoZPV29p4BBgaAG7qTDVUR+qh9uZywPsJMJgChu8os2HmwiF3e38M6Hvh/GMM8B0CdpXzryPO7RqFn4Er/QcXKWq8MSlPPgAAAeRJREFUeAHtll1OwkAQx2eqiY/im5+J3oBU3y2cAE8AnEA4gXgC9ATADbiA0AtI1hNAooiPPCvOOEuhlELpBySayP+BLsvO/H/s7HYX4L8LIaG6aSu1twN5SZFjhrR0pSY/KelTBtH9kbJ7YXkSAXxcWrffjBWPaVD6ehhIbIC+ma0BcCFGSM8gzgRBGBBD72a2OmfO0EPikhhcnHTa+El8QGLGzA1P2DkZ2NYlW5Yz8gy8mVYBAWuuN0Pji7l0oezh0vFpq4QGVmdG2DzutG4SA/TNTFce504QSzL7JixGIAoC4ULr2TlTtu0dE6kEr1eWNTV3ph3KUeJOlV2fK4eBOf+YaGuAwHKbiI0o22uqHYaKa8ZwDUkAkCf/XreJmhBDE1jlBM/yxALwSqZVxY2RMrxMmqm1ATatLcAWYAvw6wC7/o6Bmb1DxOHh89NjWPD4jCDM7RI/xHk9BwLohHJiVfRZKxeP9EmnVQwKHFxaeSKs6zYZsC+PIiTQXAlGI3lny2nnfOOCc/sJMGfHfJyEwIaEmgPQlwuDObMKwm9OgPrO14CEWliEupZ+CFkTedfQZ37WaVVgDS3dBYsQi9qEeSBAGMSmzFcCBEFs0jwUwAshO9Nm4HISc4mty4fS8LDVX9MPdjr0K80PF3gAAAAASUVORK5CYII="}))},d4=(z(z(z(z(z(z(z(z(z(z(d_={},nP.AUDIO,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiMwMEJGNDAiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTAuMDU1NyAxOS41QzkuNDQ0NjEgMTkuNSA4LjkyMTQ2IDE5LjI4MjQgOC40ODYyNyAxOC44NDcyQzguMDUxMDkgMTguNDEyIDcuODMzNSAxNy44ODg5IDcuODMzNSAxNy4yNzc4QzcuODMzNSAxNi42NjY3IDguMDUxMDkgMTYuMTQzNSA4LjQ4NjI3IDE1LjcwODNDOC45MjE0NiAxNS4yNzMxIDkuNDQ0NjEgMTUuMDU1NiAxMC4wNTU3IDE1LjA1NTZDMTAuMjY4NyAxNS4wNTU2IDEwLjQ2NTQgMTUuMDgxIDEwLjY0NiAxNS4xMzE5QzEwLjgyNjYgMTUuMTgyOSAxMS4wMDAyIDE1LjI1OTMgMTEuMTY2OCAxNS4zNjExVjEwLjc1QzExLjE2NjggMTAuMDU5NiAxMS43MjY1IDkuNSAxMi40MTY4IDkuNUgxNS4zMzM1VjExLjE2NjdIMTIuOTAyOUMxMi41NTc4IDExLjE2NjcgMTIuMjc3OSAxMS40NDY1IDEyLjI3NzkgMTEuNzkxN1YxNy4yNzc4QzEyLjI3NzkgMTcuODg4OSAxMi4wNjAzIDE4LjQxMiAxMS42MjUyIDE4Ljg0NzJDMTEuMTkgMTkuMjgyNCAxMC42NjY4IDE5LjUgMTAuMDU1NyAxOS41WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="),nP.VIDEO,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNNi40NDQ4MiAxMC42MTA3QzYuNDQ0ODIgMTAuMTUwNCA2LjgxNzkyIDkuNzc3MzQgNy4yNzgxNiA5Ljc3NzM0SDEzLjExMTVDMTMuNTcxNyA5Ljc3NzM0IDEzLjk0NDggMTAuMTUwNCAxMy45NDQ4IDEwLjYxMDdWMTEuNjAwM0wxNS4yMDI5IDEwLjg5MjZDMTUuNzU4NCAxMC41ODAxIDE2LjQ0NDggMTAuOTgxNSAxNi40NDQ4IDExLjYxODlWMTUuNDM1OEMxNi40NDQ4IDE2LjA3MzIgMTUuNzU4NCAxNi40NzQ2IDE1LjIwMjkgMTYuMTYyMUwxMy45NDQ4IDE1LjQ1NDRWMTYuNDQ0QzEzLjk0NDggMTYuOTA0MiAxMy41NzE3IDE3LjI3NzMgMTMuMTExNSAxNy4yNzczSDcuMjc4MTZDNi44MTc5MiAxNy4yNzczIDYuNDQ0ODIgMTYuOTA0MiA2LjQ0NDgyIDE2LjQ0NFYxMC42MTA3Wk04Ljk0NDgyIDEzLjExMDdDOS40MDUwNiAxMy4xMTA3IDkuNzc4MTYgMTIuNzM3NiA5Ljc3ODE2IDEyLjI3NzNDOS43NzgxNiAxMS44MTcxIDkuNDA1MDYgMTEuNDQ0IDguOTQ0ODIgMTEuNDQ0QzguNDg0NTkgMTEuNDQ0IDguMTExNDkgMTEuODE3MSA4LjExMTQ5IDEyLjI3NzNDOC4xMTE0OSAxMi43Mzc2IDguNDg0NTkgMTMuMTEwNyA4Ljk0NDgyIDEzLjExMDdaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"),nP.ZIP,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTUuODA5MSA5LjIyMjY2QzE2LjE1OTggOS4yMjI2NiAxNi40NDQxIDkuNTAyNDggMTYuNDQ0MSA5Ljg0NzY2VjE4LjU5NzdDMTYuNDQ0MSAxOC45NDI4IDE2LjE1OTggMTkuMjIyNyAxNS44MDkxIDE5LjIyMjdIOC4xOTAxQzcuODM5NDQgMTkuMjIyNyA3LjU1NTE4IDE4Ljk0MjggNy41NTUxOCAxOC41OTc3VjkuODQ3NjZDNy41NTUxOCA5LjUwMjQ4IDcuODM5NDQgOS4yMjI2NiA4LjE5MDEgOS4yMjI2NkgxNS44MDkxWk0xMy4yNjk1IDE2LjA5NzdIMTAuNzI5OFYxOC4yODUySDEzLjI2OTVWMTYuMDk3N1pNMTIuNjM0NSAxNi43MjI3VjE3LjQ0NTlIMTEuMzY0N1YxNi43MjI3SDEyLjYzNDVaTTEzLjI5ODcgMTEuNzIyN0gxMS45OTk2VjEyLjk3MjdIMTAuNzI5OFYxNC4yMjI3SDExLjk5OTZWMTUuNDcyN0gxMy4yOTg3VjE0LjIyMjdIMTIuMDI4OVYxMi45NzI3SDEzLjI5ODdWMTEuNzIyN1pNMTEuOTk5NiAxMC40NzI3SDEwLjcyOThWMTEuNzIyN0gxMS45OTk2VjEwLjQ3MjdaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"),nP.PDF,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiNGRjI2MzgiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTguMTY3NyAxNS45NDU4QzE3Ljg5MTkgMTUuNjIyOSAxNy4zMjY0IDE1LjQ2NiAxNi40Mzg5IDE1LjQ2NkMxNS45MjMgMTUuNDY2IDE1LjIxMjMgMTUuNDc4OSAxNC40OTgxIDE1LjU4NDlDMTIuNTQ3NCAxNC4xNzg2IDEyLjA5MDIgMTIuNjY3OSAxMi4wOTAyIDEyLjY2NzlDMTIuMDkwMiAxMi42Njc5IDEyLjQyMzMgMTEuODMxNiAxMi40NDQ1IDEwLjQ2NTdDMTIuNDU3OCA5LjYwMjIgMTIuMzIxIDguOTU4MjIgMTEuOTcxOSA4LjY4MTM3QzExLjgyMzEgOC41NjM0NSAxMS42MDcyIDguNDY0ODQgMTEuMzg5OCA4LjQ2NDg0QzExLjIyMDIgOC40NjQ4NCAxMS4wNjEzIDguNTEzOTcgMTAuOTMxMiA4LjYwNzlDOS45MTcwNSA5LjMzOTU2IDExLjAyNDIgMTIuNzg4OCAxMS4wNTM5IDEyLjg4MDZDMTAuNTc1MyAxNC4wNDE5IDkuOTcyNDIgMTUuMjcyMyA5LjM1MTkzIDE2LjM1MzNDOS4xNTAzMSAxNi43MDQ2IDkuMTUwMzEgMTYuNzExMyA5LjAxNDg5IDE2Ljg3MDhDOS4wMTQ4OSAxNi44NzA4IDcuMjM5NyAxNy43NTEyIDYuNDA3MjggMTguNzI3NEM1LjkzNjk2IDE5LjI3ODkgNS45MjE3IDE5LjY1NzYgNS45NDY2NiAxOS45NDE0QzUuOTg2OTEgMjAuMjgxOCA2LjQyMDc3IDIwLjU4NjEgNi44NTc1NSAyMC41ODYxQzYuODc1NjcgMjAuNTg2MSA2Ljg5MzkgMjAuNTg1NSA2LjkxMTc1IDIwLjU4NDRDNy4zNTU2NiAyMC41NTc0IDcuODQ5NDMgMjAuNDM1MyA4LjM5ODkgMTkuOTE1NUM4Ljc5NjY3IDE5LjUzOTIgOS4yNDM5OSAxOC41MTc0IDkuODE5MDQgMTcuNTE3NUMxMS40Njg5IDE3LjA1NDggMTIuOTIwOSAxNi43MjUyIDE0LjEzNzcgMTYuNTM3MkMxNS4wMzAxIDE3LjAxMDcgMTYuMzU3NyAxNy41NDY5IDE3LjI2MTUgMTcuNTQ2OUMxNy41NjQ2IDE3LjU0NjkgMTcuODA4NSAxNy40ODYgMTcuOTg2MyAxNy4zNjU4QzE4LjE5OSAxNy4yMjIxIDE4LjI4OTQgMTcuMDQyOSAxOC4zNDU1IDE2LjcxMTNDMTguNDAxNyAxNi4zNzk3IDE4LjMyMzUgMTYuMTI4MyAxOC4xNjc3IDE1Ljk0NThaTTE2LjIyOCAxNi40NjQ5QzE3LjA1MiAxNi40NjQ5IDE3LjQ5ODEgMTYuNjEwMiAxNy43MjczIDE2LjczMjJDMTcuNzk4IDE2Ljc2OTggMTcuODQ5NCAxNi44MDYxIDE3Ljg4NTkgMTYuODM2NEMxNy44MjEzIDE2Ljg4NjUgMTcuNjk0MyAxNi45NDk3IDE3LjQ2NDcgMTYuOTQ5N0MxNy4wODQgMTYuOTQ5NyAxNi41ODQzIDE2Ljc4ODQgMTUuOTc0OSAxNi40NjkyQzE2LjA2MTYgMTYuNDY2MyAxNi4xNDYgMTYuNDY0OSAxNi4yMjggMTYuNDY0OVpNMTEuNDk1NSA5LjE5NTU3TDExLjQ5NjkgOS4xOTIxNEMxMS42MjU1IDkuMjg2ODkgMTEuNjg1NiA5Ljk1MjI2IDExLjY3MzUgMTAuMzM4MUMxMS42NTczIDEwLjg1NTggMTEuNjUzNSAxMS4wNTU5IDExLjU4ODUgMTEuMzc0QzExLjQxMjMgMTAuNzEwOCAxMS4zOTk4IDkuNTE4ODIgMTEuNDk1NSA5LjE5NTU3Wk0xMS41MzYxIDE0LjA0MDZDMTEuOTM4IDE0LjcwMjYgMTIuNDQ3NiAxNS4zNzMgMTMuMDIxOSAxNS44ODQ5QzExLjkwMTEgMTYuMTI1MSAxMC45NzA0IDE2LjM0NTYgMTAuMzAwOCAxNi41OEMxMS4wMTg2IDE1LjMzNjkgMTEuNDg5IDE0LjE2MzggMTEuNTM2MSAxNC4wNDA2Wk03LjAxMDYxIDE5LjY0OTRDNy4xMTIwMyAxOS40OTk0IDcuMzg5MTIgMTkuMjA4NyA4LjA5MTgyIDE4LjY0NjZDNy43MTQ2OSAxOS41MTU0IDcuMjkxMTUgMTkuNjQ5NCA2Ljg5NzQxIDE5Ljg1ODhDNi45MjcxMyAxOS43ODk5IDYuOTY0NTIgMTkuNzE3NiA3LjAxMDYxIDE5LjY0OTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"),nP.DOCX,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTIuMDA0OCAxMi4yNzc1TDEwLjM2NjQgMTguMzQwM0MxMC4zNDY1IDE4LjQxMzkgMTAuMjc5OCAxOC40NjUgMTAuMjAzNiAxOC40NjVIOS4yMzg1OUM5LjE2MzEzIDE4LjQ2NSA5LjA5Njg0IDE4LjQxNDkgOS4wNzYyOCAxOC4zNDIzTDYuODU0NTcgMTAuNDk3OUM2LjgyOTE4IDEwLjQwODIgNi44ODEyNyAxMC4zMTUgNi45NzA5MSAxMC4yODk2QzYuOTg1ODcgMTAuMjg1NCA3LjAwMTM0IDEwLjI4MzIgNy4wMTY4OSAxMC4yODMySDcuOTg0NjNDOC4wNjE1NCAxMC4yODMyIDguMTI4NzEgMTAuMzM1MiA4LjE0Nzk2IDEwLjQwOTdMOS43Mjg5NCAxNi41MjQ1TDExLjM3MDcgMTAuNDA4MkMxMS4zOTA1IDEwLjMzNDQgMTEuNDU3NCAxMC4yODMyIDExLjUzMzcgMTAuMjgzMkgxMi40NzY3QzEyLjU1MzEgMTAuMjgzMiAxMi42MiAxMC4zMzQ2IDEyLjYzOTcgMTAuNDA4NEwxNC4yNzEgMTYuNTIzTDE1Ljg1MTUgMTAuNDA5N0MxNS44NzA4IDEwLjMzNTIgMTUuOTM4IDEwLjI4MzIgMTYuMDE0OSAxMC4yODMySDE2Ljk4MjZDMTcuMDc1OCAxMC4yODMyIDE3LjE1MTMgMTAuMzU4NyAxNy4xNTEzIDEwLjQ1MTlDMTcuMTUxMyAxMC40Njc0IDE3LjE0OTIgMTAuNDgyOSAxNy4xNDQ5IDEwLjQ5NzlMMTQuOTIzMiAxOC4zNDIzQzE0LjkwMjcgMTguNDE0OSAxNC44MzY0IDE4LjQ2NSAxNC43NjA5IDE4LjQ2NUgxMy43OTZDMTMuNzE5NyAxOC40NjUgMTMuNjUyOCAxOC40MTM4IDEzLjYzMzEgMTguMzQwMUwxMi4wMDQ4IDEyLjI3NzVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"),nP.EXCEL,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiMwMEJGNDAiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNOC4xNjI4NCA5LjY3NTc4SDkuMzc2MDFDOS40Mjk3OSA5LjY3NTc4IDkuNDgwMTQgOS43MDIyMSA5LjUxMDY5IDkuNzQ2NDhMMTEuODQyNCAxMy4xMjU1TDE0LjE4NjUgOS43NDYxNUMxNC4yMTcxIDkuNzAyMDcgMTQuMjY3MyA5LjY3NTc4IDE0LjMyMSA5LjY3NTc4SDE1LjUzMzlDMTUuNjI0MyA5LjY3NTc4IDE1LjY5NzYgOS43NDkwNCAxNS42OTc2IDkuODM5NDJDMTUuNjk3NiA5Ljg3MzQ3IDE1LjY4NjkgOS45MDY2OCAxNS42NjcyIDkuOTM0NDFMMTIuNjMwNiAxNC4xOTRMMTUuOTA4OCAxOC44MTE0QzE1Ljk2MTEgMTguODg1IDE1Ljk0MzggMTguOTg3MiAxNS44NzAxIDE5LjAzOTVDMTUuODQyNCAxOS4wNTkyIDE1LjgwOTMgMTkuMDY5NyAxNS43NzUzIDE5LjA2OTdIMTQuNTYyM0MxNC41MDg2IDE5LjA2OTcgMTQuNDU4MyAxOS4wNDM0IDE0LjQyNzcgMTguOTk5MkwxMS44NDI0IDE1LjI2MjZMOS4yNjk0OCAxOC45OTg5QzkuMjM4OTQgMTkuMDQzMiA5LjE4ODU1IDE5LjA2OTcgOS4xMzQ3MSAxOS4wNjk3SDcuOTIxNDVDNy44MzEwNyAxOS4wNjk3IDcuNzU3ODEgMTguOTk2NSA3Ljc1NzgxIDE4LjkwNjFDNy43NTc4MSAxOC44NzIzIDcuNzY4MjUgMTguODM5NCA3Ljc4NzY4IDE4LjgxMThMMTEuMDQxNSAxNC4xOTRMOC4wMjkyMyA5LjkzMzg5QzcuOTc3MDUgOS44NjAxIDcuOTk0NTcgOS43NTc5OCA4LjA2ODM3IDkuNzA1ODFDOC4wOTU5OSA5LjY4NjI3IDguMTI5IDkuNjc1NzggOC4xNjI4NCA5LjY3NTc4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="),nP.CSV,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTIuMDg1MyAxMC4yODEyQzEzLjA4NzkgMTAuMjgxMiAxMy45MTE1IDEwLjYwNzYgMTQuNTU2IDExLjE2ODVDMTQuODY5MyAxMS40Mzg4IDE1LjE0MDkgMTEuOTEwNiAxNS4zMzMgMTIuMzExNUMxNS40OTc5IDEyLjY1NTYgMTUuMjM1OSAxMy4wMjk3IDE0Ljg1NDQgMTMuMDI5N0gxNC42NDEzQzE0LjQ0MTEgMTMuMDI5NyAxNC4yNTY5IDEyLjkyMTUgMTQuMTQ2MiAxMi43NTQ3QzEzLjk5MTQgMTIuNTIxNSAxMy43NTI0IDEyLjE5OTEgMTMuNTE3NiAxMi4wMzE5QzEzLjEzNTYgMTEuNzUxNSAxMi42NDYzIDExLjYwMzUgMTIuMDQ5NSAxMS42MDM1QzExLjE1NDMgMTEuNjAzNSAxMC40ODU5IDExLjk0MjcgMTAuMDMyMyAxMi42MDU2QzkuNjE0NTQgMTMuMTkyIDkuMzU2OTcgMTMuOTk3NSA5LjM1Njk3IDE1LjA0MjlDOS4zNTY5NyAxNi4xMTM3IDkuNjE0NTQgMTYuOTUyOSAxMC4wMjA0IDE3LjUyNjZDMTAuNDYyIDE4LjEzODUgMTEuMTU0MyAxOC41MTE5IDEyLjA4NTMgMTguNTExOUMxMi42OTQgMTguNTExOSAxMy4xOTUzIDE4LjI5MTUgMTMuNTc3MyAxNy45ODU1QzEzLjgxNDggMTcuNzg0MSAxNC4wMjc3IDE3LjQwMzIgMTQuMTYzNSAxNy4xMjE4QzE0LjI2MzQgMTYuOTE0OCAxNC40Njg5IDE2Ljc3MyAxNC42OTg3IDE2Ljc3M0gxNC45NDc2QzE1LjMxMTYgMTYuNzczIDE1LjU3MiAxNy4xMTYyIDE1LjQ0MTYgMTcuNDU2QzE1LjI1MzggMTcuOTQ1MyAxNC45NTMxIDE4LjU3NiAxNC41NTYgMTguOTE4MUMxMy44NDYxIDE5LjUyOTggMTMuMjgxMiAxOS43NzIzIDEyLjA4NTMgMTkuODA0NUMxMC43MTE5IDE5Ljg0MTUgOS42MTQ1NCAxOS4yODU5IDguOTIyMjYgMTguMzQyNUM4LjMxMzUzIDE3LjUyNjYgOC4wMTUxNCAxNi40MzAyIDguMDE1MTQgMTUuMDUzM0M4LjAxNTE0IDEzLjcwMiA4LjMyNTQ3IDEyLjU5MjkgOC45NTgwNyAxMS43NTE1QzkuNjc0MjIgMTAuNzgyNiAxMC43MjQ2IDEwLjI4MTIgMTIuMDg1MyAxMC4yODEyWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="),nP.PPT,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiNGRjdBMEQiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTAuMjAzIDE5LjIxNzdWMTUuMjMyOEgxMi4wOTM5QzEyLjU0ODQgMTUuMjMyOCAxMy4wMDA2IDE1LjE5MjggMTMuNDUwNCAxNS4xMTNDMTMuOTA4NiAxNS4wMzE2IDE0LjMxOTggMTQuODg4NyAxNC42ODM0IDE0LjY4MzlDMTUuMDUzNCAxNC40NzU1IDE1LjM1NTEgMTQuMTkwMSAxNS41ODcxIDEzLjgyOTZDMTUuODIyNiAxMy40NjM1IDE1LjkzODkgMTMuMDA0NSAxNS45Mzg5IDEyLjQ1NTJDMTUuOTM4OSAxMi4wOTMyIDE1Ljg5MDIgMTEuNzQ2MiAxNS43OTI1IDExLjQxNDdDMTUuNjkxOSAxMS4wNzMyIDE1LjUxNDIgMTAuNzcwNyAxNS4yNjA2IDEwLjUwOTFDMTUuMDA1OSAxMC4yNDY0IDE0LjY2MzYgMTAuMDQyMSAxNC4yMzU3IDkuODk1MTdDMTMuODExOCA5Ljc0OTYgMTMuMjgwNSA5LjY3NzczIDEyLjY0MDggOS42Nzc3M0g5LjEyNjI0QzkuMDM5NTMgOS42Nzc3MyA4Ljk2OTI0IDkuNzQ4MDIgOC45NjkyNCA5LjgzNDczVjE5LjIxNzdDOC45NjkyNCAxOS4zMDQ0IDkuMDM5NTMgMTkuMzc0NyA5LjEyNjI0IDE5LjM3NDdIMTAuMDQ2QzEwLjEzMjcgMTkuMzc0NyAxMC4yMDMgMTkuMzA0NCAxMC4yMDMgMTkuMjE3N1pNMTMuMjQyMyAxNC4wODIxQzEyLjkxMzMgMTQuMTMyOCAxMi41MzkzIDE0LjE1ODMgMTIuMTIwNiAxNC4xNTgzSDEwLjIwM1YxMC43NTIySDEyLjM4NzRDMTMuMjE2NyAxMC43NTIyIDEzLjgxMTkgMTAuODk1OSAxNC4xNzM5IDExLjE3MzlDMTQuNTI4IDExLjQ0NTggMTQuNzA1MSAxMS44NDYyIDE0LjcwNTEgMTIuMzkwMUMxNC43MDUxIDEyLjc2NjMgMTQuNjQ1NSAxMy4wNjU1IDE0LjUyOTUgMTMuMjg4MkMxNC40MTM5IDEzLjUwOTkgMTQuMjUyIDEzLjY4MzQgMTQuMDQxOCAxMy44MTEyQzEzLjgyNTggMTMuOTQyNSAxMy41NTk2IDE0LjAzMzIgMTMuMjQyMyAxNC4wODIxWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="),nP.TXT,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTIuNjA2MSAxMC41ODUyVjE4LjkxODVDMTIuNjA2MSAxOS4wMDIyIDEyLjUzODMgMTkuMDcgMTIuNDU0NiAxOS4wN0gxMS41NDU1QzExLjQ2MTggMTkuMDcgMTEuMzk0IDE5LjAwMjIgMTEuMzk0IDE4LjkxODVWMTAuNTg1Mkg3LjYwNjFDNy41MjI0MyAxMC41ODUyIDcuNDU0NTkgMTAuNTE3MyA3LjQ1NDU5IDEwLjQzMzdWOS41MjQ1NkM3LjQ1NDU5IDkuNDQwODggNy41MjI0MyA5LjM3MzA1IDcuNjA2MSA5LjM3MzA1SDE2LjM5NEMxNi40Nzc3IDkuMzczMDUgMTYuNTQ1NSA5LjQ0MDg4IDE2LjU0NTUgOS41MjQ1NlYxMC40MzM3QzE2LjU0NTUgMTAuNTE3MyAxNi40Nzc3IDEwLjU4NTIgMTYuMzk0IDEwLjU4NTJIMTIuNjA2MVoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="),nP.CODE,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM0MDgwRkYiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTAuMTA3IDExLjQxODJMNy4yOTkxNSAxNC4zNzM2TDEwLjEwNyAxNy4zMjlDMTAuMjA3NyAxNy40MzUxIDEwLjIwNTkgMTcuNjA1MiAxMC4xMDMgMTcuNzA5TDEwLjEwMTkgMTcuNzEwMUw5LjcyNDY0IDE4LjA4NkM5LjYyMTUxIDE4LjE4ODcgOS40NTcxOCAxOC4xODY0IDkuMzU2ODMgMTguMDgwOEw2LjAxMzM4IDE0LjU2MTZDNS45MTQxNiAxNC40NTcxIDUuOTE0MTYgMTQuMjkwMiA2LjAxMzM4IDE0LjE4NTdMOS4zNTY4MyAxMC42NjY1QzkuNDU3MTggMTAuNTYwOSA5LjYyMTUxIDEwLjU1ODYgOS43MjQ2NCAxMC42NjEzTDEwLjEwMTkgMTEuMDM3MkMxMC4yMDU0IDExLjE0MDMgMTAuMjA4MiAxMS4zMTA1IDEwLjEwOCAxMS40MTcxTDEwLjEwNyAxMS40MTgyWk0xNi43OTcxIDE0LjM3MzZMMTQuMTg5OSAxMS40MTgyQzE0LjA5NjMgMTEuMzEyMiAxNC4wOTggMTEuMTQyMSAxNC4xOTM2IDExLjAzODNMMTQuMTk0NiAxMS4wMzcyTDE0LjU0NDkgMTAuNjYxM0MxNC42NDA3IDEwLjU1ODYgMTQuNzkzMyAxMC41NjA5IDE0Ljg4NjQgMTAuNjY2NUwxNy45OTExIDE0LjE4NTdDMTguMDgzMiAxNC4yOTAyIDE4LjA4MzIgMTQuNDU3MSAxNy45OTExIDE0LjU2MTZMMTQuODg2NCAxOC4wODA4QzE0Ljc5MzMgMTguMTg2NCAxNC42NDA3IDE4LjE4ODcgMTQuNTQ0OSAxOC4wODZMMTQuMTk0NiAxNy43MTAxQzE0LjA5ODQgMTcuNjA2OSAxNC4wOTU5IDE3LjQzNjggMTQuMTg4OSAxNy4zMzAyTDE0LjE4OTkgMTcuMzI5TDE2Ljc5NzEgMTQuMzczNlpNMTIuNjk4IDguNzY5MjdMMTMuMjQ0NCA4LjgyNzg4QzEzLjM5MzYgOC44NDM4NyAxMy41MDA2IDguOTY5MDQgMTMuNDgzMyA5LjEwNzQzTDEyLjE3OSAxOS40NTM3QzEyLjE2MTUgMTkuNTkxOSAxMi4wMjY3IDE5LjY5MSAxMS44Nzc2IDE5LjY3NUwxMS4zMzEyIDE5LjYxNjRDMTEuMTgyIDE5LjYwMDQgMTEuMDc1MSAxOS40NzUyIDExLjA5MjMgMTkuMzM2OEwxMi4zOTY3IDguOTkwNTVDMTIuNDE0MSA4Ljg1MjMxIDEyLjU0OSA4Ljc1MzI5IDEyLjY5OCA4Ljc2OTI3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="),z(d_,nP.DEFAULT_UNKNOWN,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTIgNC44QzIgMy4xMTk4NCAyIDIuMjc5NzYgMi4zMjY5OCAxLjYzODAzQzIuNjE0NiAxLjA3MzU0IDMuMDczNTQgMC42MTQ2MDEgMy42MzgwMyAwLjMyNjk4QzQuMjc5NzYgMCA1LjExOTg0IDAgNi44IDBIMTMuMzQ1MUMxNC4wNzg5IDAgMTQuNDQ1OCAwIDE0Ljc5MSAwLjA4Mjg5MDJDMTUuMDk3MSAwLjE1NjM4IDE1LjM4OTggMC4yNzc1OTMgMTUuNjU4MiAwLjQ0MjA3OUMxNS45NjA5IDAuNjI3NjA1IDE2LjIyMDQgMC44ODcwMzIgMTYuNzM5MiAxLjQwNTg5TDIwLjU5NDEgNS4yNjA3OEMyMS4xMTMgNS43Nzk2MyAyMS4zNzI0IDYuMDM5MDYgMjEuNTU3OSA2LjM0MTgxQzIxLjcyMjQgNi42MTAyMyAyMS44NDM2IDYuOTAyODYgMjEuOTE3MSA3LjIwODk3QzIyIDcuNTU0MjMgMjIgNy45MjExMiAyMiA4LjY1NDg5VjE5LjJDMjIgMjAuODgwMiAyMiAyMS43MjAyIDIxLjY3MyAyMi4zNjJDMjEuMzg1NCAyMi45MjY1IDIwLjkyNjUgMjMuMzg1NCAyMC4zNjIgMjMuNjczQzE5LjcyMDIgMjQgMTguODgwMiAyNCAxNy4yIDI0SDYuOEM1LjExOTg0IDI0IDQuMjc5NzYgMjQgMy42MzgwMyAyMy42NzNDMy4wNzM1NCAyMy4zODU0IDIuNjE0NiAyMi45MjY1IDIuMzI2OTggMjIuMzYyQzIgMjEuNzIwMiAyIDIwLjg4MDIgMiAxOS4yVjQuOFoiIGZpbGw9IiM4MDgwODAiLz4KPHBhdGggZD0iTTE1LjMzMzUgMS4xNTg4MkMxNS4zMzM1IDAuNzk1MzMzIDE1LjMzMzUgMC42MTM1ODggMTUuNDA1NCAwLjUyOTQzQzE1LjQ2NzcgMC40NTY0MDcgMTUuNTYxMyAwLjQxNzY1NCAxNS42NTcgMC40MjUxODlDMTUuNzY3NCAwLjQzMzg3MiAxNS44OTU5IDAuNTYyMzg1IDE2LjE1MjkgMC44MTk0MTFMMjEuMTgwOCA1Ljg0NzI2QzIxLjQzNzggNi4xMDQyOCAyMS41NjYzIDYuMjMyNzkgMjEuNTc1IDYuMzQzMTNDMjEuNTgyNSA2LjQzODg2IDIxLjU0MzggNi41MzI0MiAyMS40NzA3IDYuNTk0NzlDMjEuMzg2NiA2LjY2NjY3IDIxLjIwNDggNi42NjY2NyAyMC44NDEzIDYuNjY2NjdIMjAuMTMzNUMxOC40NTMzIDYuNjY2NjcgMTcuNjEzMyA2LjY2NjY3IDE2Ljk3MTUgNi4zMzk2OUMxNi40MDcgNi4wNTIwNyAxNS45NDgxIDUuNTkzMTIgMTUuNjYwNSA1LjAyODY0QzE1LjMzMzUgNC4zODY5IDE1LjMzMzUgMy41NDY4MiAxNS4zMzM1IDEuODY2NjdWMS4xNTg4MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8cGF0aCBkPSJNMTQuNTQyMiA5LjYyNzEyQzEzLjkzNTkgOS4wNTI2NSAxMy4xNCA4Ljc2NzU4IDEyLjE1MDMgOC43Njc1OEMxMS4wMzg2IDguNzY3NTggMTAuMTY3MyA5LjEyNDAzIDkuNTM2IDkuODQ5OThDOS4wMDEyNSAxMC40NzM5IDguNzEzMTYgMTEuMDcxOCA4LjY3MTk2IDEyLjAxNDVDOC42NzA5OSAxMi4wMzY2IDguNjcwMTYgMTIuMDc3NSA4LjY2OTQ2IDEyLjEyNDZDOC42NjcyIDEyLjI3ODYgOC43OTIxMyAxMi40MDM5IDguOTQ2MTQgMTIuNDAzOUg5LjYwMjg2QzkuNzU1NjEgMTIuNDAzOSA5Ljg3OTM0IDEyLjI4MDYgOS44ODE4NSAxMi4xMjc5QzkuODgyNjEgMTIuMDgxOSA5Ljg4MzUxIDEyLjA0MjIgOS44ODQ1NiAxMi4wMjFDOS45MTY4MyAxMS4zNjk4IDEwLjA4NjcgMTEuMDI5MSAxMC4zODk5IDEwLjY1MDFDMTAuNzcyNiAxMC4xMzk5IDExLjMzNDEgOS44ODg3OSAxMi4xMDQ5IDkuODg4NzlDMTIuNzkyNyA5Ljg4ODc5IDEzLjMwODQgMTAuMDY0MiAxMy42NjQ0IDEwLjQyMDJDMTQuMDAzNyAxMC43NzM3IDE0LjE4MDYgMTEuMjU0OSAxNC4xODA2IDExLjg1ODVDMTQuMTgwNiAxMi4yNzA1IDE0LjAzMTMgMTIuNjYzIDEzLjcyNzcgMTMuMDUzM0MxMy42MzEgMTMuMTc0MiAxMy40OTE3IDEzLjMxOCAxMy4wNDMyIDEzLjc2NjVDMTIuMzM0NyAxNC4zODYgMTEuODk3MSAxNC44OSAxMS42NjU5IDE1LjM4NTNDMTEuNDc1OCAxNS43NjUzIDExLjM3OSAxNi4xOTczIDExLjM3OSAxNi42NjE1VjE2Ljk3NDZDMTEuMzc5IDE3LjEyODEgMTEuNTAzMyAxNy4yNTI0IDExLjY1NjcgMTcuMjUyNEgxMi4zMjg0QzEyLjQ4MTkgMTcuMjUyNCAxMi42MDYyIDE3LjEyODEgMTIuNjA2MiAxNi45NzQ2VjE2LjY2MTVDMTIuNjA2MiAxNi4yNjgxIDEyLjcwMzEgMTUuOTE1MiAxMi45MDM4IDE1LjU3MTJDMTMuMDU0MSAxNS4zMTU3IDEzLjI0NyAxNS4xMTU0IDEzLjU4MzQgMTQuODIxQzE0LjI1OCAxNC4yMTA3IDE0LjYzMjIgMTMuODQ3MiAxNC43OTk4IDEzLjYzMzlDMTUuMjAyNCAxMy4xMDI1IDE1LjQwNzkgMTIuNDk0IDE1LjQwNzkgMTEuODI4MkMxNS40MDc5IDEwLjkwOTQgMTUuMTE5NSAxMC4xNzIzIDE0LjU0MjIgOS42MjcxMlpNMTEuNjcxOSAxOC40NjQ1QzExLjUxODUgMTguNDY0NSAxMS4zOTQxIDE4LjU4ODkgMTEuMzk0MSAxOC43NDIzVjE5LjM5ODlDMTEuMzk0MSAxOS41NTIzIDExLjUxODUgMTkuNjc2NyAxMS42NzE5IDE5LjY3NjdIMTIuMzI4NEMxMi40ODE5IDE5LjY3NjcgMTIuNjA2MiAxOS41NTIzIDEyLjYwNjIgMTkuMzk4OVYxOC43NDIzQzEyLjYwNjIgMTguNTg4OSAxMi40ODE5IDE4LjQ2NDUgMTIuMzI4NCAxOC40NjQ1SDExLjY3MTlaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K")),d3=function(e){var t=e.type,n=R(e,dz);return(0,uC.jsx)(dF,G(G({},n),{},{src:d4[t]}))},d5={checkbox:"index-module__checkbox___SPIRR",checked:"index-module__checked___PpIM1"},d6=function(e){var t=e.checked,n=e.onChange,r=e.disabled,i=e.className,o=e.children;return(0,uC.jsx)(dO,{disabled:r,children:(0,uC.jsxs)(dC,{className:W()(d5.box,i),gap:8,onClick:function(){if(r)return null;null==n||n(!t)},children:[(0,uC.jsx)(nT,{className:W()(d5.checkbox,z({},d5.checked,t)),children:t?(0,uC.jsx)(d$,{}):null}),(0,uC.jsx)(nT,{style:{flex:1},children:o})]})})},d8=["className","width","height","children"],d9=function(e){var t=e.className,n=e.width,r=e.height,i=e.children,o=R(e,d8);return(0,uC.jsx)(nT,G(G({className:W()("index-module__wrapper___ZoVnN",t),style:{width:n,height:r}},o),{},{children:i}))},d7=function(e){return e.map(function(e){return"delete"===e.type||"emphasis"===e.type||"link"===e.type||"strong"===e.type?d7(e.children):"text"===e.type||"inlineCode"===e.type||"html"===e.type?e.value:""}).filter(function(e){return!!e}).join(",")},pe={list:"index-module__list___XmgwV","list-item":"index-module__list-item___uZ7mo",dot:"index-module__dot___tRGPF","order-list":"index-module__order-list___vT66X","task-item":"index-module__task-item___M9Z54"},pt=1e3,pn=function(e){var t=e.node,n=(0,Z.useMemo)(function(){return pt++},[]),r=po(t,n),i=(uz()||{}).logger,o=uq(),a=(uz()||{}).onTaskChangeHandle,s=eu((0,Z.useState)([]),2),l=s[0],u=s[1];(0,Z.useEffect)(function(){u(r)},[r]);var c=uR(function(e,t){l.map(function(n){e&&t.radio&&n.taskInfo.radio&&(n.taskInfo.checked=!1),t.id===n.taskInfo.id&&(n.taskInfo.checked=e)}),u((0,ef.A)(l))});return(0,Z.useEffect)(function(){if(l.some(function(e){return e.isTask})&&!o){var e=l.map(function(e){return e.taskInfo.checked&&e.taskInfo.value?e.taskInfo.value:""}).filter(function(e){return!!e});null==a||a({id:"task_list_".concat(n),index:n,values:e}),null==i||i.debug("taskChange:",e,n)}},[l,o]),(0,uC.jsx)(nT,{className:pe.list,children:l.map(function(e,t){return(0,uC.jsx)(pr,{listItemInfo:e,onChange:c,children:(0,uC.jsx)(nT,{className:pe.content,children:(0,uC.jsx)(dI,{node:e.node})})},t)})})},pr=function(e){var t=e.listItemInfo,n=e.children,r=e.onChange;return(0,uC.jsx)(uC.Fragment,{children:t.isTask?(0,uC.jsx)(pi,{nodeInfo:t,onChange:r,children:n}):(0,uC.jsxs)(dC,{className:W()(pe["list-item"],z({},pe["order-list"],t.isOrder)),gap:6,width100:!0,children:[(0,uC.jsx)(d9,{width:21,height:22,children:t.isOrder?(0,uC.jsxs)(nS,{children:[t.orderNo,"."]}):(0,uC.jsx)(nT,{className:pe.dot})}),(0,uC.jsx)(nT,{style:{flex:1,overflow:"hidden"},children:n})]})})},pi=function(e){var t=e.nodeInfo,n=e.children,r=e.onChange,i=uR(function(e){null==r||r(e,t.taskInfo)}),o=uq();return(0,uC.jsx)(uC.Fragment,{children:t.taskInfo.radio?(0,uC.jsx)(dL,{checked:t.taskInfo.checked,className:pe["task-item"],onChange:i,disabled:o,children:n}):(0,uC.jsx)(d6,{checked:t.taskInfo.checked,className:pe["task-item"],onChange:i,disabled:o,children:n})})},po=function(e,t){var n=!1;return(0,Z.useMemo)(function(){return e.children.map(function(r,i){var o,a,s,l,u,c=r.data||{},d={id:"list_prefix_".concat(t,"_").concat(i),checkbox:!0===(s=r.checked)||!1===s,radio:!!c.radio,checked:null!==(a=r.checked)&&void 0!==a?a:c.checked,value:""},p=!(!d.checkbox&&!d.radio);return d.value=p&&"paragraph"===(null===(l=r.children)||void 0===l?void 0:l[0].type)&&"paragraph"===(o=null===(u=r.children)||void 0===u?void 0:u[0]).type?d7(o.children):"",d.radio&&d.checked&&(n&&(d.checked=!1),n=!0),{isTask:p,node:r,isOrder:!!e.ordered,orderNo:i+1,taskInfo:d}})},[e])},pa={"heading-1":"index-module__heading-1___JtmiA","heading-2":"index-module__heading-2___cZc1_","heading-3":"index-module__heading-3___i_MfG"},ps=function(e){var t=e.node,n=t.depth>3?3:t.depth;return(0,uC.jsx)(nT,{className:pa["heading-".concat(n)],children:t.children.map(function(e,t){return(0,uC.jsx)(dx,{node:e},t)})})},pl=function(e){var t,n,r,i=e.node,o=uF(),a=null!=i&&null!==(n=i.children)&&void 0!==n&&n.length?null==i?void 0:i.children:[{type:"text",value:i.value}],s=(uz()||{}).enableCodeBy4Space,l=(null==(t=(uz()||{}).getMarkdown)?void 0:t())||"",u=(0,Z.useMemo)(function(){if(s)return!0;var e,t,n,r=(null===(e=i.position)||void 0===e?void 0:e.start.offset)||0;return!(null!==(t=i.position)&&void 0!==t&&t.start.offset||0===(null===(n=i.position)||void 0===n?void 0:n.start.offset))||" "!==l.substring(r,r+4)},[s,l,null===(r=i.position)||void 0===r?void 0:r.start.offset]);return(0,uC.jsxs)(nT,{className:W()("index-module__code-container___oH4Nm",z({},"index-module__code___yuytR",u)),children:[(0,uC.jsxs)(nT,{className:"index-module__header___tuk1Q",children:[(0,uC.jsx)(nT,{className:"index-module__lang___XBHYB",children:i.lang}),(0,uC.jsx)(nT,{className:"index-module__copy___utkxU",onClick:function(){uI({data:i.value,fail:function(){uo({title:(null==o?void 0:o.t("copyFailed"))||"",icon:"error"})},success:function(e){e&&uo({title:(null==o?void 0:o.t("copySuccess"))||"",icon:"success"})}})},children:null==o?void 0:o.t("copyCode")})]}),(0,uC.jsx)(nT,{className:"index-module__content___xhdDD",children:null==a?void 0:a.map(function(e,t){return(0,uC.jsxs)(Z.Fragment,{children:["text"===e.type&&(0,uC.jsx)(uW,{node:e,className:"index-module__text___OLoKB"}),"indicator"===e.type&&(0,uC.jsx)(uQ,{node:e})]},t)})})]})},pu=function(e){var t=e.node;return(0,uC.jsx)(nT,{className:"index-module__blockquote___opsoc",children:t.children.map(function(e){return(0,uC.jsx)(pd,{node:e})})})},pc=["code","heading","paragraph","blockquote","list","listItem","table","thematicBreak"],pd=function(e){var t=e.node,n=e.isParagraphNeedMargin;return(0,uC.jsxs)(nT,{children:["html"===t.type&&(0,uC.jsx)(dw,{node:t}),"code"===t.type&&(0,uC.jsx)(pl,{node:t}),"heading"===t.type&&(0,uC.jsx)(ps,{node:t}),"paragraph"===t.type&&(0,uC.jsx)(dP,{node:t,isNeedMargin:void 0===n||n}),"blockquote"===t.type&&(0,uC.jsx)(pu,{node:t}),"list"===t.type&&(0,uC.jsx)(pn,{node:t}),"listItem"===t.type&&(0,uC.jsx)(dI,{node:t}),"table"===t.type&&(0,uC.jsx)(dM,{node:t}),"thematicBreak"===t.type&&(0,uC.jsx)(dk,{})]})},pp=function(e){var t=e.root,n=e.theme,r=e.className,i=e.style;return(0,uC.jsx)(nT,{style:i,className:W()("index-module__root___R_KQi","md-stream",{dark:"dark"!==(void 0===n?"light":n)},r),children:null==t?void 0:t.children.map(function(e,t){return(0,uC.jsxs)(Z.Fragment,{children:[pc.includes(e.type)&&(0,uC.jsx)(pd,{node:e}),dT.includes(e.type)&&(0,uC.jsx)(dx,{node:e}),"tableCell"===e.type&&null,"tableRow"===e.type&&null,"yaml"===e.type&&null]},t)})})},ph=function(e,t){var n=null;return t.find(function(t){return n=t.exec(e)}),n},pf=function(e,t,n){var r;if(!(null==(r=e)||!r.children)){var i,o,a=pf(null==e?void 0:e.children[(null==e||null===(i=e.children)||void 0===i?void 0:i.length)-1],e,n);return(o=e.children).splice.apply(o,[-1,1].concat((0,ef.A)(a))),0===e.children.length?[]:[e]}return n(e,t)},pg=function(e){var t=void 0;return pf(e,void 0,function(e,n){return e?(t="link"===(null==n?void 0:n.type)?n:e,[e]):[]}),t},pm=pP(/[A-Za-z]/),p_=pP(/[\dA-Za-z]/),pv=pP(/[#-'*+\--9=?A-Z^-~]/);function pb(e){return null!==e&&(e<32||127===e)}var py=pP(/\d/),pw=pP(/[\dA-Fa-f]/),pS=pP(/[!-/:-@[-`{-~]/);function pA(e){return null!==e&&e<-2}function pT(e){return null!==e&&(e<0||32===e)}function px(e){return -2===e||-1===e||32===e}var pk=pP(/(?:[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F])|(?:[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDD00-\uDEB3\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF])/),pM=pP(/\s/);function pP(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function pI(e,t,n,r){var i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return px(r)?(e.enter(n),function r(a){return px(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}var pE={name:"radiolistCheck",tokenize:function(e,t,n){var r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("radioListCheck"),e.enter("radioListCheckMarker"),e.consume(t),e.exit("radioListCheckMarker"),i):n(t)};function i(t){return pT(t)?(e.enter("radioListCheckValueUnchecked"),e.consume(t),e.exit("radioListCheckValueUnchecked"),o):88===t||120===t?(e.enter("radioListCheckValueChecked"),e.consume(t),e.exit("radioListCheckValueChecked"),o):n(t)}function o(t){return 41===t?(e.enter("radioListCheckMarker"),e.consume(t),e.exit("radioListCheckMarker"),e.exit("radioListCheck"),a):n(t)}function a(r){return pA(r)?t(r):px(r)?e.check({tokenize:pC},t,n)(r):n(r)}}};function pC(e,t,n){return pI(e,function(e){return null===e?n(e):t(e)},"whitespace")}var pO={name:"tasklistCheck",tokenize:function(e,t,n){var r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return pT(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return pA(r)?t(r):px(r)?e.check({tokenize:pD},t,n)(r):n(r)}}};function pD(e,t,n){return pI(e,function(e){return null===e?n(e):t(e)},"whitespace")}var pL=$(function e(){Q(this,e),this.map=[]},[{key:"add",value:function(e,t,n){!function(e,t,n,r){var i,o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void(i=e.map[o][2]).push.apply(i,(0,ef.A)(r));o+=1}e.map.push([t,n,r])}}(this,e,t,n)}},{key:"consume",value:function(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0!==this.map.length){for(var t=this.map.length,n=[];t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;for(var r=n.pop();r;){var i,o=rm(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;e.push(a)}}catch(e){o.e(e)}finally{o.f()}r=n.pop()}this.map.length=0}}}]);function pB(e,t,n){var r,i=this,o=0,a=0;return function(e){for(var t=i.events.length-1;t>-1;){var r=i.events[t][1].type;if("lineEnding"!==r&&"linePrefix"!==r)break;t--}var o=t>-1?i.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?b:s;return a===b&&i.parser.lazy[i.now().line]?n(e):a(e)};function s(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)?l(n):(r=!0,a+=1,l(n))}function l(t){return null===t?n(t):pA(t)?a>1?(a=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):px(t)?pI(e,l,"whitespace")(t):(a+=1,r&&(r=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||pT(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(t):(e.enter("tableDelimiterRow"),r=!1,px(t)?pI(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):function(e){return n(e)}(t)}function h(t){return px(t)?pI(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||pA(t)?_(t):function(e){return n(e)}(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),m):(e.exit("tableDelimiterFiller"),m(n))}(t)):function(e){return n(e)}(t)}function m(t){return px(t)?pI(e,_,"whitespace")(t):_(t)}function _(i){return 124===i?p(i):(null===i||pA(i))&&r&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):function(e){return n(e)}(i)}function v(e){return n(e)}function b(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||pA(n)?(e.exit("tableRow"),t(n)):px(n)?pI(e,y,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||pT(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?S:w)}function S(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function pN(e,t){for(var n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,d=0,p=new pL;++o<e.length;){var h=e[o],f=h[1];"enter"===h[0]?"tableHead"===f.type?(c=!1,0!==d&&(pj(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,i=void 0,l=[0,0,0,0],u=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(a=!1,0===u[2]&&(0!==l[1]&&(u[0]=u[1],i=pR(p,t,l,s,void 0,i),l=[0,0,0,0]),u[2]=o)):"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(u[0]=u[1],i=pR(p,t,l,s,void 0,i)),u=[(l=u)[1],o,0,0])):"tableHead"===f.type?(c=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,0!==l[1]?(u[0]=u[1],i=pR(p,t,l,s,o,i)):0!==u[1]&&(i=pR(p,t,u,s,o,i)),s=0):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(u[3]=o)}for(0!==d&&pj(p,t,d,n,r),p.consume(t.events),o=-1;++o<t.events.length;){var g=t.events[o];"enter"===g[0]&&"table"===g[1].type&&(g[1]._align=function(e,t){for(var n=!1,r=[];t<e.length;){var i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){var o=r.length-1;r[o]="left"===r[o]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function pR(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},pU(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));var a=pU(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){var s=pU(t.events,n[2]),l=pU(t.events,n[3]),u={type:"tableContent",start:Object.assign({},s),end:Object.assign({},l)};if(e.add(n[2],0,[["enter",u,t]]),2!==r){var c=t.events[n[2]],d=t.events[n[3]];if(c[1].end=Object.assign({},d[1].end),c[1].type="chunkText",c[1].contentType="text",n[3]>n[2]+1){var p=n[2]+1,h=n[3]-n[2]-1;e.add(p,h,[])}}e.add(n[3]+1,0,[["exit",u,t]])}return void 0!==i&&(o.end=Object.assign({},pU(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function pj(e,t,n,r,i){var o=[],a=pU(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function pU(e,t){var n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}function pz(e,t,n,r){var i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice.apply(e,(0,ef.A)(i));else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice.apply(e,(0,ef.A)(i)),a+=1e4,t+=1e4}function pF(e,t){return e.length>0?(pz(e,e.length,0,t),e):t}function pG(e){return null===e||pT(e)||pM(e)?1:pk(e)?2:void 0}function pq(e,t,n){for(var r=[],i=-1;++i<e.length;){var o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function pW(e){var t=this.stack[this.stack.length-2];t.type,t.data=G(G({},t.data||{}),{},{radio:!0,checked:"radioListCheckValueChecked"===e.type})}function pZ(e){var t,n=this.stack[this.stack.length-2];if(n&&"listItem"===n.type&&"boolean"==typeof(null===(t=n.data)||void 0===t?void 0:t.checked)){var r=this.stack[this.stack.length-1];r.type;var i=r.children[0];if(i&&"text"===i.type){for(var o,a=n.children,s=-1;++s<a.length;){var l=a[s];if("paragraph"===l.type){o=l;break}}o===r&&(i.value=i.value.slice(1),0===i.value.length?r.children.shift():r.position&&i.position&&"number"==typeof i.position.start.offset&&(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function pH(e){var t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function pV(e){var t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){var n=this.stack[this.stack.length-1];n.type;var r=n.children[0];if(r&&"text"===r.type){for(var i,o=t.children,a=-1;++a<o.length;){var s=o[a];if("paragraph"===s.type){i=s;break}}i===n&&(r.value=r.value.slice(1),0===r.value.length?n.children.shift():n.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function pQ(e){var t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function pY(e){this.exit(e),this.data.inTable=void 0}function p$(e){this.enter({type:"tableRow",children:[]},e)}function pK(e){this.exit(e)}function pX(e){this.enter({type:"tableCell",children:[]},e)}function pJ(e){var t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,p0));var n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function p0(e,t){return"|"===t?t:e}function p1(e){this.enter({type:"delete",children:[]},e)}function p2(e){this.exit(e)}var p4={};function p3(e,t,n){var r;if((r=e)&&"object"===j(r)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return p5(e.children,t,n)}return Array.isArray(e)?p5(e,t,n):""}function p5(e,t,n){for(var r=[],i=-1;++i<e.length;)r[i]=p3(e[i],t,n);return r.join("")}var p6=$(function e(t){Q(this,e),this.left=t?(0,ef.A)(t):[],this.right=[]},[{key:"get",value:function(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}},{key:"length",get:function(){return this.left.length+this.right.length}},{key:"shift",value:function(){return this.setCursor(0),this.right.pop()}},{key:"slice",value:function(e,t){var n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}},{key:"splice",value:function(e,t,n){this.setCursor(Math.trunc(e));var r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&p8(this.left,n),r.reverse()}},{key:"pop",value:function(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}},{key:"push",value:function(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}},{key:"pushMany",value:function(e){this.setCursor(Number.POSITIVE_INFINITY),p8(this.left,e)}},{key:"unshift",value:function(e){this.setCursor(0),this.right.push(e)}},{key:"unshiftMany",value:function(e){this.setCursor(0),p8(this.right,e.reverse())}},{key:"setCursor",value:function(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length)){if(e<this.left.length){var t=this.left.splice(e,Number.POSITIVE_INFINITY);p8(this.right,t.reverse())}else{var n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);p8(this.left,n.reverse())}}}}]);function p8(e,t){var n=0;if(t.length<1e4)e.push.apply(e,(0,ef.A)(t));else for(;n<t.length;)e.push.apply(e,(0,ef.A)(t.slice(n,n+1e4))),n+=1e4}function p9(e){for(var t,n,r,i,o,a,s,l={},u=-1,c=new p6(e);++u<c.length;){for(;(u in l);)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){for(var n,r,i=e.get(t)[1],o=e.get(t)[2],a=t-1,s=[],l=i._tokenizer||o.parser[i.contentType](i.start),u=l.events,c=[],d={},p=-1,h=i,f=0,g=0,m=[g];h;){for(;e.get(++a)[1]!==h;);s.push(a),h._tokenizer||(n=o.sliceStream(h),h.next||n.push(null),r&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(g=p+1,m.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):m.pop(),p=m.length;p--;){var _=u.slice(m[p],m[p+1]),v=s.pop();c.push([v,v+_.length-1]),e.splice(v,2,_)}for(c.reverse(),p=-1;++p<c.length;)d[f+c[p][0]]=f+c[p][1],f+=c[p][1]-c[p][0]-1;return d}(c,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"!==i[1].type)break;n&&(t[1].end=G({},c.get(n)[1].start),(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return pz(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}var p7={}.hasOwnProperty,he={tokenize:function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pI(e,n,"linePrefix"))},function(t){return e.enter("paragraph"),r(t)});return n;function r(n){var i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(n){return null===n?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(n)):pA(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),t)}(n)}}},ht={tokenize:function(e){var t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){var n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(a++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,t&&_();for(var n,r=i.events.length,o=r;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}m(a);for(var l=r;l<i.events.length;)i.events[l][1].end=G({},n),l++;return pz(i.events,o+1,0,i.events.slice(r)),i.events.length=l,u(e)}return s(e)}function u(n){if(a===o.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(hn,c,d)(n)}function c(e){return t&&_(),m(a),p(e)}function d(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,f(e)}function p(t){return i.containerState={},e.attempt(hn,h,f)(t)}function h(e){return a++,o.push([i.currentConstruct,i.containerState]),p(e)}function f(r){return null===r?(t&&_(),m(0),void e.consume(r)):(t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){return null===n?(g(e.exit("chunkFlow"),!0),m(0),void e.consume(n)):pA(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(n),t)}(r))}function g(e,o){var s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){for(var l=t.events.length;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;for(var u,c,d=i.events.length,p=d;p--;)if("exit"===i.events[p][0]&&"chunkFlow"===i.events[p][1].type){if(u){c=i.events[p][1].end;break}u=!0}for(m(a),l=d;l<i.events.length;)i.events[l][1].end=G({},c),l++;pz(i.events,p+1,0,i.events.slice(d)),i.events.length=l}}function m(t){for(var n=o.length;n-- >t;){var r=o[n];i.containerState=r[1],r[0].exit.call(i,e)}o.length=t}function _(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},hn={tokenize:function(e,t,n){return pI(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},hr={partial:!0,tokenize:function(e,t,n){return function(t){return px(t)?pI(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||pA(e)?t(e):n(e)}}},hi={resolve:function(e){return p9(e),e},tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):pA(t)?e.check(ho,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},ho={partial:!0,tokenize:function(e,t,n){var r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pI(e,i,"linePrefix")};function i(i){if(null===i||pA(i))return n(i);var o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},ha={tokenize:function(e){var t=this,n=e.attempt(hr,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,pI(e,e.attempt(this.parser.constructs.flow,r,e.attempt(hi,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},hs={resolveAll:hd()},hl=hc("string"),hu=hc("text");function hc(e){return{resolveAll:hd("text"===e?hp:void 0),tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;var t=r[e],i=-1;if(t)for(;++i<t.length;){var o=t[i];if(!o.previous||o.previous.call(n,n.previous))return!0}return!1}}}}function hd(e){return function(t,n){for(var r,i=-1;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function hp(e,t){for(var n=0;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){for(var r=e[n-1][1],i=t.sliceStream(r),o=i.length,a=-1,s=0,l=void 0;o--;){var u=i[o];if("string"==typeof u){for(a=u.length;32===u.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===u)l=!0,s++;else if(-1!==u){o++;break}}if(s){var c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:r.start._bufferIndex+a,_index:r.start._index+o,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:G({},r.end)};r.end=G({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}var hh={name:"thematicBreak",tokenize:function(e,t,n){var r,i=0;return function(t){var n;return e.enter("thematicBreak"),r=n=t,o(n)};function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),px(n)?pI(e,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||pA(a))?(e.exit("thematicBreak"),t(a)):n(a)}}},hf={continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(hr,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pI(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!px(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(hm,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,pI(e,e.attempt(hf,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){var r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){var i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:py(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(hh,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return py(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(hr,r.interrupt?n:l,e.attempt(hg,c,u))}function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return px(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},hg={partial:!0,tokenize:function(e,t,n){var r=this;return pI(e,function(e){var i=r.events[r.events.length-1];return!px(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},hm={partial:!0,tokenize:function(e,t,n){var r=this;return pI(e,function(e){var i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},h_={continuation:{tokenize:function(e,t,n){var r=this;return function(t){return px(t)?pI(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(h_,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){var r=this;return function(t){if(62===t){var o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return px(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function hv(e,t,n,r,i,o,a,s,l){var u=l||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||pb(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||pA(t)?n(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return c||null!==i&&41!==i&&!pT(i)?c<u&&40===i?(e.consume(i),c++,f):41===i?(e.consume(i),c--,f):null===i||32===i||40===i||pb(i)?n(i):(e.consume(i),92===i?g:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function g(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function hb(e,t,n,r,i,o){var a,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return l>999||null===d||91===d||93===d&&!a||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):pA(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||pA(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!px(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function hy(e,t,n,r,i,o){var a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):pA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pI(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||pA(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function hw(e,t){var n;return function r(i){return pA(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):px(i)?pI(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function hS(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var hA={partial:!0,tokenize:function(e,t,n){return function(t){return pT(t)?hw(e,r)(t):n(t)};function r(t){return hy(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return px(t)?pI(e,o,"whitespace")(t):o(t)}function o(e){return null===e||pA(e)?t(e):n(e)}}},hT={name:"codeIndented",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("codeIndented"),pI(e,i,"linePrefix",5)(t)};function i(e){var t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):pA(t)?e.attempt(hx,o,a)(t):(e.enter("codeFlowValue"),function t(n){return null===n||pA(n)?(e.exit("codeFlowValue"),o(n)):(e.consume(n),t)}(t))}function a(n){return e.exit("codeIndented"),t(n)}}},hx={partial:!0,tokenize:function(e,t,n){var r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):pA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):pI(e,o,"linePrefix",5)(t)}function o(e){var o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):pA(e)?i(e):n(e)}}},hk={name:"setextUnderline",resolveTo:function(e,t){for(var n,r,i,o=e.length;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);var a={type:"setextHeading",start:G({},e[r][1].start),end:G({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=G({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){var r,i=this;return function(t){for(var a,s,l=i.events.length;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||s)){;return e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),px(n)?pI(e,o,"lineSuffix")(n):o(n))}(a)}return n(t)};function o(r){return null===r||pA(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},hM=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],hP=["pre","script","style","textarea"],hI={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(hr,t,n)}}},hE={partial:!0,tokenize:function(e,t,n){var r=this;return function(t){return pA(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},hC={partial:!0,tokenize:function(e,t,n){var r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},hO={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){var r,i=this,o={partial:!0,tokenize:function(e,t,n){var o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),px(t)?pI(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=s?(e.exit("codeFencedFenceSequence"),px(i)?pI(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||pA(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,s=0;return function(t){var o,u;return o=t,a=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),px(i)?pI(e,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||pA(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(hC,c,f)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||pA(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):px(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pI(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||pA(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||pA(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return a>0&&px(t)?pI(e,h,"linePrefix",a+1)(t):h(t)}function h(t){return null===t||pA(t)?e.check(hC,c,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||pA(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}}},hD=document.createElement("i");function hL(e){var t="&"+e+";";hD.innerHTML=t;var n=hD.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}var hB={name:"characterReference",tokenize:function(e,t,n){var r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=p_,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=pw,u):(e.enter("characterReferenceValue"),r=7,i=py,u(t))}function u(s){if(59===s&&a){var l=e.exit("characterReferenceValue");return i!==p_||hL(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<r?(e.consume(s),u):n(s)}}},hN={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return pS(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},hR={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),pI(e,t,"linePrefix")}}},hj={name:"labelEnd",resolveAll:function(e){for(var t=-1,n=[];++t<e.length;){var r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){var i="labelImage"===r.type?4:2;r.type="data",t+=i}}return e.length!==n.length&&pz(e,0,e.length,n),e},resolveTo:function(e,t){for(var n,r,i,o,a=e.length,s=0;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);var l={type:"labelLink"===e[r][1].type?"link":"image",start:G({},e[r][1].start),end:G({},e[e.length-1][1].end)},u={type:"label",start:G({},e[r][1].start),end:G({},e[i][1].end)},c={type:"labelText",start:G({},e[r+s+2][1].end),end:G({},e[i-2][1].start)};return o=pF(o=[["enter",l,t],["enter",u,t]],e.slice(r+1,r+s+3)),o=pF(o,[["enter",c,t]]),o=pF(o,pq(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=pF(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=pF(o,e.slice(i+1)),o=pF(o,[["exit",l,t]]),pz(e,r,e.length,o),e},tokenize:function(e,t,n){for(var r,i,o=this,a=o.events.length;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(hS(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(hU,u,i?u:c)(t):91===t?e.attempt(hz,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(hF,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},hU={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return pT(t)?hw(e,i)(t):i(t)}function i(t){return 41===t?u(t):hv(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return pT(t)?hw(e,s)(t):u(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?hy(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return pT(t)?hw(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},hz={tokenize:function(e,t,n){var r=this;return function(t){return hb.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(hS(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},hF={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},hG={name:"labelStartImage",resolveAll:hj.resolveAll,tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},hq={name:"attention",resolveAll:function(e,t){for(var n,r,i,o,a,s,l,u,c=-1;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;var d=G({},e[n][1].end),p=G({},e[c][1].start);hW(d,-s),hW(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:G({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:G({},e[c][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:G({},e[n][1].end),end:G({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:G({},o.start),end:G({},a.end)},e[n][1].end=G({},o.start),e[c][1].start=G({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=pF(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=pF(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=pF(l,pq(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=pF(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=pF(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,pz(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){var n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=pG(i);return function(a){return n=a,e.enter("attentionSequence"),function a(s){if(s===n)return e.consume(s),a;var l=e.exit("attentionSequence"),u=pG(s),c=!u||2===u&&o||r.includes(s),d=!o||2===o&&u||r.includes(i);return l._open=!!(42===n?c:c&&(o||!d)),l._close=!!(42===n?d:d&&(u||!c)),t(s)}(a)}}};function hW(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var hZ={name:"labelStartLink",resolveAll:hj.resolveAll,tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var hH=(z(z(z(z(z(z(z(z(z(z(fy={},42,hf),43,hf),45,hf),48,hf),49,hf),50,hf),51,hf),52,hf),53,hf),54,hf),z(z(z(z(fy,55,hf),56,hf),57,hf),62,h_)),hV=z({},91,{name:"definition",tokenize:function(e,t,n){var r,i=this;return function(t){var r;return e.enter("definition"),r=t,hb.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return r=hS(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return pT(t)?hw(e,s)(t):s(t)}function s(t){return hv(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(hA,u,u)(t)}function u(t){return px(t)?pI(e,c,"whitespace")(t):c(t)}function c(o){return null===o||pA(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}),hQ=z(z(z({},-2,hT),-1,hT),32,hT),hY=z(z(z(z(z(z(z(z({},35,{name:"headingAtx",resolve:function(e,t){var n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&pz(e,o,i-o+1,[["enter",n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},t],["enter",r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},t],["exit",r,t],["exit",n,t]]),e},tokenize:function(e,t,n){var r=0;return function(t){var o;return e.enter("atxHeading"),o=t,e.enter("atxHeadingSequence"),function t(o){return 35===o&&r++<6?(e.consume(o),t):null===o||pT(o)?(e.exit("atxHeadingSequence"),i(o)):n(o)}(o)};function i(n){return 35===n?(e.enter("atxHeadingSequence"),function t(n){return 35===n?(e.consume(n),t):(e.exit("atxHeadingSequence"),i(n))}(n)):null===n||pA(n)?(e.exit("atxHeading"),t(n)):px(n)?pI(e,i,"whitespace")(n):(e.enter("atxHeadingText"),function t(n){return null===n||35===n||pT(n)?(e.exit("atxHeadingText"),i(n)):(e.consume(n),t)}(n))}}}),42,hh),45,[hk,hh]),60,{concrete:!0,name:"htmlFlow",resolveTo:function(e){for(var t=e.length;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){var r,i,o,a,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),r=3,l.interrupt?t:O):pm(a)?(e.consume(a),o=String.fromCharCode(a),f):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,p):pm(i)?(e.consume(i),r=4,l.interrupt?t:O):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:O):n(r)}function p(r){return r==="CDATA[".charCodeAt(a++)?(e.consume(r),6===a?l.interrupt?t:T:p):n(r)}function h(t){return pm(t)?(e.consume(t),o=String.fromCharCode(t),f):n(t)}function f(a){if(null===a||47===a||62===a||pT(a)){var s=47===a,u=o.toLowerCase();return s||i||!hP.includes(u)?hM.includes(o.toLowerCase())?(r=6,s?(e.consume(a),g):l.interrupt?t(a):T(a)):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?function t(n){return px(n)?(e.consume(n),t):S(n)}(a):m(a)):(r=1,l.interrupt?t(a):T(a))}return 45===a||p_(a)?(e.consume(a),o+=String.fromCharCode(a),f):n(a)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:T):n(r)}function m(t){return 47===t?(e.consume(t),S):58===t||95===t||pm(t)?(e.consume(t),_):px(t)?(e.consume(t),m):S(t)}function _(t){return 45===t||46===t||58===t||95===t||p_(t)?(e.consume(t),_):v(t)}function v(t){return 61===t?(e.consume(t),b):px(t)?(e.consume(t),v):m(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,y):px(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||pT(n)?v(n):(e.consume(n),t)}(t)}function y(t){return t===s?(e.consume(t),s=null,w):null===t||pA(t)?n(t):(e.consume(t),y)}function w(e){return 47===e||62===e||px(e)?m(e):n(e)}function S(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||pA(t)?T(t):px(t)?(e.consume(t),A):n(t)}function T(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),C):pA(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(hI,L,x)(t)):null===t||pA(t)?(e.exit("htmlFlowData"),x(t)):(e.consume(t),T)}function x(t){return e.check(hE,k,L)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||pA(t)?x(t):(e.enter("htmlFlowData"),T(t))}function P(t){return 45===t?(e.consume(t),O):T(t)}function I(t){return 47===t?(e.consume(t),o="",E):T(t)}function E(t){if(62===t){var n=o.toLowerCase();return hP.includes(n)?(e.consume(t),D):T(t)}return pm(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),E):T(t)}function C(t){return 93===t?(e.consume(t),O):T(t)}function O(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),O):T(t)}function D(t){return null===t||pA(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(n){return e.exit("htmlFlow"),t(n)}}}),61,hk),95,hh),96,hO),126,hO),h$=z(z({},38,hB),92,hN),hK=(z(z(z(z(z(z(z(z(z(z(fw={},-5,hR),-4,hR),-3,hR),33,hG),38,hB),42,hq),60,[{name:"autolink",tokenize:function(e,t,n){var r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return pm(t)?(e.consume(t),o):64===t?n(t):s(t)}function o(t){return 43===t||45===t||46===t||p_(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||p_(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||pb(r)?n(r):(e.consume(r),a)}function s(t){return 64===t?(e.consume(t),l):pv(t)?(e.consume(t),s):n(t)}function l(e){return p_(e)?u(e):n(e)}function u(i){return 46===i?(e.consume(i),r=0,l):62===i?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(i){if((45===i||p_(i))&&r++<63){var o=45===i?t:u;return e.consume(i),o}return n(i)}(i)}}},{name:"htmlText",tokenize:function(e,t,n){var r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),y):63===t?(e.consume(t),v):pm(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,h):pm(t)?(e.consume(t),_):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):pA(t)?(o=c,E(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),p):c(t)}function p(e){return 62===e?I(e):45===e?d(e):c(e)}function h(t){return t==="CDATA[".charCodeAt(i++)?(e.consume(t),6===i?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),g):pA(t)?(o=f,E(t)):(e.consume(t),f)}function g(t){return 93===t?(e.consume(t),m):f(t)}function m(t){return 62===t?I(t):93===t?(e.consume(t),m):f(t)}function _(t){return null===t||62===t?I(t):pA(t)?(o=_,E(t)):(e.consume(t),_)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):pA(t)?(o=v,E(t)):(e.consume(t),v)}function b(e){return 62===e?I(e):v(e)}function y(t){return pm(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||p_(t)?(e.consume(t),w):function t(n){return pA(n)?(o=t,E(n)):px(n)?(e.consume(n),t):I(n)}(t)}function S(t){return 45===t||p_(t)?(e.consume(t),S):47===t||62===t||pT(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),I):58===t||95===t||pm(t)?(e.consume(t),T):pA(t)?(o=A,E(t)):px(t)?(e.consume(t),A):I(t)}function T(t){return 45===t||46===t||58===t||95===t||p_(t)?(e.consume(t),T):function t(n){return 61===n?(e.consume(n),x):pA(n)?(o=t,E(n)):px(n)?(e.consume(n),t):A(n)}(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):pA(t)?(o=x,E(t)):px(t)?(e.consume(t),x):(e.consume(t),M)}function k(t){return t===r?(e.consume(t),r=void 0,P):null===t?n(t):pA(t)?(o=k,E(t)):(e.consume(t),k)}function M(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||pT(t)?A(t):(e.consume(t),M)}function P(e){return 47===e||62===e||pT(e)?A(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function E(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return px(t)?pI(e,O,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),o(t)}}}]),91,hZ),92,[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return pA(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},hN]),93,hj),z(z(fw,95,hq),96,{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){var t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[3][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){var r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),a):96===l?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",s(a))}(l)):pA(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||pA(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),s)}}})),hX={null:[hq,hs]},hJ={null:[42,95]},h0={null:[]},h1=/[\0\t\n\r]/g;function h2(e,t){var n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"锟":String.fromCodePoint(n)}var h4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function h3(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){var r=n.charCodeAt(1),i=120===r||88===r;return h2(n.slice(i?2:1),i?16:10)}return hL(n)||e}function h5(e){return e&&"object"===j(e)?"position"in e||"type"in e?h8(e.position):"start"in e||"end"in e?h8(e):"line"in e||"column"in e?h6(e):"":""}function h6(e){return h9(e&&e.line)+":"+h9(e&&e.column)}function h8(e){return h6(e&&e.start)+"-"+h6(e&&e.end)}function h9(e){return e&&"number"==typeof e?e:1}var h7={}.hasOwnProperty;function fe(e,t,n){var r,i,o,a;return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(_),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(m,i),htmlFlowData:u,htmlText:r(m,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(_),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){var t=this.stack[this.stack.length-1];if(!t.depth){var n=this.sliceSerialize(e).length;t.depth=n}},autolink:a(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){var t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=h2(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=hL(n),this.stack[this.stack.length-1].value+=t},characterReference:function(e){this.stack.pop().position.end=ft(e.end)},codeFenced:a(function(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){var e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){var e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:a(function(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:a(),definitionDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=hS(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(d),hardBreakTrailing:a(d),htmlFlow:a(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:a(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:a(function(){var e=this.stack[this.stack.length-1];if(this.data.inReference){var t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){var r=e.children;n.children=r}else n.alt=t},labelText:function(e){var t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(h4,h3),n.identifier=hS(t).toLowerCase()},lineEnding:function(e){var n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=ft(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),c.call(this,e))},link:a(function(){var e=this.stack[this.stack.length-1];if(this.data.inReference){var t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=hS(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};(function e(t,n){for(var r=-1;++r<n.length;){var i=n[r];Array.isArray(i)?e(t,i):function(e,t){var n;for(n in t)if(h7.call(t,n))switch(n){case"canContainEols":var r,i=t[n];i&&(r=e[n]).push.apply(r,(0,ef.A)(i));break;case"transforms":var o,a=t[n];a&&(o=e[n]).push.apply(o,(0,ef.A)(a));break;case"enter":case"exit":var s=t[n];s&&Object.assign(e[n],s)}}(t,i)}})(t,(e||{}).mdastExtensions||[]);var n={};return function(e){for(var r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:o,exit:s,buffer:i,resume:l,data:n},u=[],c=-1;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){for(var r,i,o,a,s=t-1,l=-1,u=!1;++s<=n;){var c=e[s];switch(c[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===c[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===c[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===c[0]&&"listItemPrefix"===c[1].type||-1===l&&"exit"===c[0]&&("listUnordered"===c[1].type||"listOrdered"===c[1].type)){if(r){var d=s;for(i=void 0;d--;){var p=e[d];if("lineEnding"===p[1].type||"lineEndingBlank"===p[1].type){if("exit"===p[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),p[1].type="lineEnding",i=d}else if("linePrefix"!==p[1].type&&"blockQuotePrefix"!==p[1].type&&"blockQuotePrefixWhitespace"!==p[1].type&&"blockQuoteMarker"!==p[1].type&&"listItemIndent"!==p[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:c[1].end),e.splice(i||s,0,["exit",r,c[2]]),s++,n++}if("listItemPrefix"===c[1].type){var h={type:"listItem",_spread:!1,start:Object.assign({},c[1].start),end:void 0};r=h,e.splice(s,0,["enter",h,c[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){var d=t[e[c][0]];h7.call(d,e[c][1].type)&&d[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},a),e[c][1])}if(a.tokenStack.length>0){var p=a.tokenStack[a.tokenStack.length-1];(p[1]||fn).call(a,void 0,p[0])}for(r.position={start:ft(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ft(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:ft(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){var n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw Error("Cannot close `"+e.type+"` ("+h5({start:e.start,end:e.end})+"): it鈥檚 not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||fn).call(this,e,r[0])),n.position.end=ft(e.end)}function l(){var e,t,n;return e=this.stack.pop(),p3(e,"boolean"!=typeof(n=p4).includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function u(e){var t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n=function(){return{type:"text",value:""}}()).position={start:ft(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ft(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function m(){return{type:"html",value:""}}function _(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!p9(e););return e}((function(e){var t={constructs:function(e){for(var t={},n=-1;++n<e.length;)(function(e,t){var n;for(n in t){var r=(p7.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],o=void 0;if(i)for(o in i){p7.call(r,o)||(r[o]=[]);var a=i[o];(function(e,t){for(var n=-1,r=[];++n<t.length;)("after"===t[n].add?e:r).push(t[n]);pz(e,0,0,r)})(r[o],Array.isArray(a)?a:a?[a]:[])}}})(t,e[n]);return t}([T].concat((0,ef.A)((e||{}).extensions||[]))),content:n(he),defined:[],document:n(ht),flow:n(ha),lazy:{},string:n(hl),text:n(hu)};return t;function n(e){return function(n){return function(e,t,n){var r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],s=[],l={attempt:g(function(e,t){m(e,t.from)}),check:g(f),consume:function(e){pA(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){var n=t||{};return n.type=e,n.start=p(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){var t=s.pop();return t.end=p(),u.events.push(["exit",t,u]),t},interrupt:g(f,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,_()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){for(var n,r=-1,i=[];++r<e.length;){var o=e[r],a=void 0;if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(a=pF(a,e),function(){for(var e;r._index<a.length;){var t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)(function(e){c=c(e)})(t.charCodeAt(r._bufferIndex));else(function(e){c=c(e)})(t)}}(),null!==a[a.length-1])?[]:(m(t,0),u.events=pq(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){var s=n[0];"string"==typeof s?n[0]=s.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function p(){var e=r;return{_bufferIndex:e._bufferIndex,_index:e._index,line:e.line,column:e.column,offset:e.offset}}function h(e){c=c(e)}function f(e,t){t.restore()}function g(e,t){return function(n,i,o){var a,c,d,h,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(f=n,function(e){var t=null!==e&&f[e],n=null!==e&&f.null;return g([].concat((0,ef.A)(Array.isArray(t)?t:t?[t]:[]),(0,ef.A)(Array.isArray(n)?n:n?[n]:[])))(e)});function g(e){return a=e,c=0,0===e.length?o:m(e[c])}function m(e){return function(n){var i,o,a,c,f;return(i=p(),o=u.previous,a=u.currentConstruct,c=u.events.length,f=Array.from(s),h={from:c,restore:function(){r=i,u.previous=o,u.currentConstruct=a,u.events.length=c,s=f,_()}},d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,v,b)(n)}}function v(t){return e(d,h),i}function b(e){return h.restore(),++c<a.length?m(a[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&pz(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function _(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((i=1,o="",a=!0,function(e,t,n){var s,l,u,c,d,p=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),u=0,o="",a&&(65279===e.charCodeAt(0)&&u++,a=void 0);u<e.length;){if(h1.lastIndex=u,c=(s=h1.exec(e))&&void 0!==s.index?s.index:e.length,d=e.charCodeAt(c),!s){o=e.slice(u);break}if(10===d&&u===c&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),u<c&&(p.push(e.slice(u,c)),i+=c-u),d){case 0:p.push(65533),i++;break;case 9:for(l=4*Math.ceil(i/4),p.push(-2);i++<l;)p.push(-1);break;case 10:p.push(-4),i=1;break;default:r=!0,i=1}u=c+1}return n&&(r&&p.push(-5),o&&p.push(o),p.push(null)),p})(e,t,!0))))}function ft(e){return{line:e.line,column:e.column,offset:e.offset}}function fn(e,t){throw e?Error("Cannot close `"+e.type+"` ("+h5({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+h5({start:t.start,end:t.end})+") is open"):Error("Cannot close document, a token (`"+t.type+"`, "+h5({start:t.start,end:t.end})+") is still open")}var fr=function(e,t){return e===t||e!=e&&t!=t},fi=function(e,t){for(var n=e.length;n--;)if(fr(e[n][0],t))return n;return -1},fo=Array.prototype.splice;function fa(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fa.prototype.clear=function(){this.__data__=[],this.size=0},fa.prototype.delete=function(e){var t=this.__data__,n=fi(t,e);return!(n<0)&&(n==t.length-1?t.pop():fo.call(t,n,1),--this.size,!0)},fa.prototype.get=function(e){var t=this.__data__,n=fi(t,e);return n<0?void 0:t[n][1]},fa.prototype.has=function(e){return fi(this.__data__,e)>-1},fa.prototype.set=function(e,t){var n=this.__data__,r=fi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var fs="object"==(void 0===n.g?"undefined":j(n.g))&&n.g&&n.g.Object===Object&&n.g,fl="object"==("undefined"==typeof self?"undefined":j(self))&&self&&self.Object===Object&&self,fu=fs||fl||Function("return this")(),fc=fu.Symbol,fd=Object.prototype,fp=fd.hasOwnProperty,fh=fd.toString,ff=fc?fc.toStringTag:void 0,fg=function(e){var t=fp.call(e,ff),n=e[ff];try{e[ff]=void 0;var r=!0}catch(e){}var i=fh.call(e);return r&&(t?e[ff]=n:delete e[ff]),i},fm=Object.prototype.toString,f_=fc?fc.toStringTag:void 0,fv=function(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":f_&&f_ in Object(e)?fg(e):(t=e,fm.call(t))},fb=function(e){var t=j(e);return null!=e&&("object"==t||"function"==t)},fy,fw,fS,fA=function(e){if(!fb(e))return!1;var t=fv(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},fT=fu["__core-js_shared__"],fx=(fS=/[^.]+$/.exec(fT&&fT.keys&&fT.keys.IE_PROTO||""))?"Symbol(src)_1."+fS:"",fk=Function.prototype.toString,fM=function(e){if(null!=e){try{return fk.call(e)}catch(e){}try{return e+""}catch(e){}}return""},fP=/^\[object .+?Constructor\]$/,fI=Object.prototype,fE=Function.prototype.toString,fC=fI.hasOwnProperty,fO=RegExp("^"+fE.call(fC).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fD=function(e){var t;return!(!fb(e)||(t=e,fx&&fx in t))&&(fA(e)?fO:fP).test(fM(e))},fL=function(e,t){var n,r,i=(n=e,r=t,null==n?void 0:n[r]);return fD(i)?i:void 0},fB=fL(fu,"Map"),fN=fL(Object,"create"),fR=Object.prototype.hasOwnProperty,fj=Object.prototype.hasOwnProperty;function fU(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fU.prototype.clear=function(){this.__data__=fN?fN(null):{},this.size=0},fU.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},fU.prototype.get=function(e){var t=this.__data__;if(fN){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return fR.call(t,e)?t[e]:void 0},fU.prototype.has=function(e){var t=this.__data__;return fN?void 0!==t[e]:fj.call(t,e)},fU.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=fN&&void 0===t?"__lodash_hash_undefined__":t,this};var fz=function(e){var t=j(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},fF=function(e,t){var n=e.__data__;return fz(t)?n["string"==typeof t?"string":"hash"]:n.map};function fG(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}fG.prototype.clear=function(){this.size=0,this.__data__={hash:new fU,map:new(fB||fa),string:new fU}},fG.prototype.delete=function(e){var t=fF(this,e).delete(e);return this.size-=t?1:0,t},fG.prototype.get=function(e){return fF(this,e).get(e)},fG.prototype.has=function(e){return fF(this,e).has(e)},fG.prototype.set=function(e,t){var n=fF(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function fq(e){var t=this.__data__=new fa(e);this.size=t.size}fq.prototype.clear=function(){this.__data__=new fa,this.size=0},fq.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},fq.prototype.get=function(e){return this.__data__.get(e)},fq.prototype.has=function(e){return this.__data__.has(e)},fq.prototype.set=function(e,t){var n=this.__data__;if(n instanceof fa){var r=n.__data__;if(!fB||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fG(r)}return n.set(e,t),this.size=n.size,this};var fW=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},fZ=function(){try{var e=fL(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),fH=function(e,t,n){"__proto__"==t&&fZ?fZ(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},fV=Object.prototype.hasOwnProperty,fQ=function(e,t,n){var r=e[t];fV.call(e,t)&&fr(r,n)&&(void 0!==n||t in e)||fH(e,t,n)},fY=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?fH(n,s,l):fQ(n,s,l)}return n},f$=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},fK=function(e){return null!=e&&"object"==j(e)},fX=function(e){return fK(e)&&"[object Arguments]"==fv(e)},fJ=Object.prototype,f0=fJ.hasOwnProperty,f1=fJ.propertyIsEnumerable,f2=fX(function(){return arguments}())?fX:function(e){return fK(e)&&f0.call(e,"callee")&&!f1.call(e,"callee")},f4=Array.isArray,f3="object"==(void 0===t?"undefined":j(t))&&t&&!t.nodeType&&t,f5=f3&&"object"==j(e)&&e&&!e.nodeType&&e,f6=f5&&f5.exports===f3?fu.Buffer:void 0,f8=(f6?f6.isBuffer:void 0)||function(){return!1},f9=/^(?:0|[1-9]\d*)$/,f7=function(e,t){var n=j(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&f9.test(e))&&e>-1&&e%1==0&&e<t},ge=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},gt={};gt["[object Float32Array]"]=gt["[object Float64Array]"]=gt["[object Int8Array]"]=gt["[object Int16Array]"]=gt["[object Int32Array]"]=gt["[object Uint8Array]"]=gt["[object Uint8ClampedArray]"]=gt["[object Uint16Array]"]=gt["[object Uint32Array]"]=!0,gt["[object Arguments]"]=gt["[object Array]"]=gt["[object ArrayBuffer]"]=gt["[object Boolean]"]=gt["[object DataView]"]=gt["[object Date]"]=gt["[object Error]"]=gt["[object Function]"]=gt["[object Map]"]=gt["[object Number]"]=gt["[object Object]"]=gt["[object RegExp]"]=gt["[object Set]"]=gt["[object String]"]=gt["[object WeakMap]"]=!1;var gn=function(e){return function(t){return e(t)}},gr="object"==(void 0===t?"undefined":j(t))&&t&&!t.nodeType&&t,gi=gr&&"object"==j(e)&&e&&!e.nodeType&&e,go=gi&&gi.exports===gr&&fs.process,ga=function(){try{return gi&&gi.require&&gi.require("util").types||go&&go.binding&&go.binding("util")}catch(e){}}(),gs=ga&&ga.isTypedArray,gl=gs?gn(gs):function(e){return fK(e)&&ge(e.length)&&!!gt[fv(e)]},gu=Object.prototype.hasOwnProperty,gc=function(e,t){var n=f4(e),r=!n&&f2(e),i=!n&&!r&&f8(e),o=!n&&!r&&!i&&gl(e),a=n||r||i||o,s=a?f$(e.length,String):[],l=s.length;for(var u in e)!t&&!gu.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||f7(u,l))||s.push(u);return s},gd=Object.prototype,gp=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||gd)},gh=function(e,t){return function(n){return e(t(n))}},gf=gh(Object.keys,Object),gg=Object.prototype.hasOwnProperty,gm=function(e){if(!gp(e))return gf(e);var t=[];for(var n in Object(e))gg.call(e,n)&&"constructor"!=n&&t.push(n);return t},g_=function(e){return null!=e&&ge(e.length)&&!fA(e)},gv=function(e){return g_(e)?gc(e):gm(e)},gb=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},gy=Object.prototype.hasOwnProperty,gw=function(e){if(!fb(e))return gb(e);var t=gp(e),n=[];for(var r in e)("constructor"!=r||!t&&gy.call(e,r))&&n.push(r);return n},gS=function(e){return g_(e)?gc(e,!0):gw(e)},gA="object"==(void 0===t?"undefined":j(t))&&t&&!t.nodeType&&t,gT=gA&&"object"==j(e)&&e&&!e.nodeType&&e,gx=gT&&gT.exports===gA?fu.Buffer:void 0,gk=gx?gx.allocUnsafe:void 0,gM=function(e,t){if(t)return e.slice();var n=e.length,r=gk?gk(n):new e.constructor(n);return e.copy(r),r},gP=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},gI=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},gE=function(){return[]},gC=Object.prototype.propertyIsEnumerable,gO=Object.getOwnPropertySymbols,gD=gO?function(e){return null==e?[]:gI(gO(e=Object(e)),function(t){return gC.call(e,t)})}:gE,gL=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},gB=gh(Object.getPrototypeOf,Object),gN=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)gL(t,gD(e)),e=gB(e);return t}:gE,gR=function(e,t,n){var r=t(e);return f4(e)?r:gL(r,n(e))},gj=fL(fu,"DataView"),gU=fL(fu,"Promise"),gz=fL(fu,"Set"),gF=fL(fu,"WeakMap"),gG="[object Map]",gq="[object Promise]",gW="[object Set]",gZ="[object WeakMap]",gH="[object DataView]",gV=fM(gj),gQ=fM(fB),gY=fM(gU),g$=fM(gz),gK=fM(gF),gX=fv;(gj&&gX(new gj(new ArrayBuffer(1)))!=gH||fB&&gX(new fB)!=gG||gU&&gX(gU.resolve())!=gq||gz&&gX(new gz)!=gW||gF&&gX(new gF)!=gZ)&&(gX=function(e){var t=fv(e),n="[object Object]"==t?e.constructor:void 0,r=n?fM(n):"";if(r)switch(r){case gV:return gH;case gQ:return gG;case gY:return gq;case g$:return gW;case gK:return gZ}return t});var gJ=gX,g0=Object.prototype.hasOwnProperty,g1=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&g0.call(e,"index")&&(n.index=e.index,n.input=e.input),n},g2=fu.Uint8Array,g4=function(e){var t=new e.constructor(e.byteLength);return new g2(t).set(new g2(e)),t},g3=function(e,t){var n=t?g4(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},g5=/\w*$/,g6=function(e){var t=new e.constructor(e.source,g5.exec(e));return t.lastIndex=e.lastIndex,t},g8=fc?fc.prototype:void 0,g9=g8?g8.valueOf:void 0,g7=function(e,t){var n=t?g4(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},me=function(e,t,n){var r,i=e.constructor;switch(t){case"[object ArrayBuffer]":return g4(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return g3(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return g7(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return g6(e);case"[object Symbol]":;return r=e,g9?Object(g9.call(r)):{}}},mt=Object.create,mn=function(){function e(){}return function(t){if(!fb(t))return{};if(mt)return mt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),mr=ga&&ga.isMap,mi=mr?gn(mr):function(e){return fK(e)&&"[object Map]"==gJ(e)},mo=ga&&ga.isSet,ma=mo?gn(mo):function(e){return fK(e)&&"[object Set]"==gJ(e)},ms="[object Arguments]",ml="[object Function]",mu="[object Object]",mc={};mc[ms]=mc["[object Array]"]=mc["[object ArrayBuffer]"]=mc["[object DataView]"]=mc["[object Boolean]"]=mc["[object Date]"]=mc["[object Float32Array]"]=mc["[object Float64Array]"]=mc["[object Int8Array]"]=mc["[object Int16Array]"]=mc["[object Int32Array]"]=mc["[object Map]"]=mc["[object Number]"]=mc[mu]=mc["[object RegExp]"]=mc["[object Set]"]=mc["[object String]"]=mc["[object Symbol]"]=mc["[object Uint8Array]"]=mc["[object Uint8ClampedArray]"]=mc["[object Uint16Array]"]=mc["[object Uint32Array]"]=!0,mc["[object Error]"]=mc[ml]=mc["[object WeakMap]"]=!1;var md=function e(t,n,r,i,o,a){var s,l=1&n,u=2&n,c=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!fb(t))return t;var d=f4(t);if(d){if(s=g1(t),!l)return gP(t,s)}else{var p,h,f,g,m,_,v,b,y,w=gJ(t),S=w==ml||"[object GeneratorFunction]"==w;if(f8(t))return gM(t,l);if(w==mu||w==ms||S&&!o){;if(s=u||S?{}:"function"!=typeof(p=t).constructor||gp(p)?{}:mn(gB(p)),!l){;return u?(g=t,m=(h=s,f=t,h&&fY(f,gS(f),h)),fY(g,gN(g),m)):(b=t,y=(_=s,v=t,_&&fY(v,gv(v),_)),fY(b,gD(b),y))}}else{if(!mc[w])return o?t:{};s=me(t,w,l)}}a||(a=new fq);var A=a.get(t);if(A)return A;a.set(t,s),ma(t)?t.forEach(function(i){s.add(e(i,n,r,i,t,a))}):mi(t)&&t.forEach(function(i,o){s.set(o,e(i,n,r,o,t,a))});var T=d?void 0:(c?u?function(e){return gR(e,gS,gN)}:function(e){return gR(e,gv,gD)}:u?gS:gv)(t);return fW(T||t,function(i,o){T&&(i=t[o=i]),fQ(s,o,e(i,n,r,o,t,a))}),s},mp=function(e){return md(e,5)};function mh(){mh=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=RegExp(e,r);return t.set(o,i||t.get(e)),et(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce(function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var o=0;void 0===e[i[o]]&&o+1<i.length;)o++;t[n]=e[i[o]]}return t},Object.create(null))}return en(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=r(n,this);var i=n.indices;i&&(i.groups=r(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)}))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,function(){var e=arguments;return"object"!=j(e[e.length-1])&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)})}return e[Symbol.replace].call(this,n,i)},mh.apply(this,arguments)}var mf=[mh(/\[([^\]\n]+)$/,{text:1}),mh(/\[([^\]\n]+)\]$/,{text:1}),mh(/\[([^\]\n]+)\]\([^\)\n]*$/,{text:1})],mg=[/\[$/],mm=[/!$/],m_=[mh(/!\[([^\]\n]*)$/,{text:1}),mh(/!\[([^\]\n]+)\]$/,{text:1}),mh(/!\[([^\]\n]+)\]\([^\)\n]*$/,{text:1}),mh(/!\[([^\]\n]+)\]\([^\)\n]*$/,{text:1})],mv=function(e){pf(e,void 0,function(e){if(!e)return[];if("text"===e.type){var t,n=[],r=ph(e.value,mm),i=ph(e.value,m_),o=i||r;if(o)return n.push({type:"text",value:e.value.slice(0,o.index)}),i&&n.push({type:"image",url:"",alt:(null===(t=i.groups)||void 0===t?void 0:t.text)||"image"}),n}return[e]}),pf(e,void 0,function(e){if(!e)return[];if("text"===e.type){var t,n=[],r=ph(e.value,mg),i=ph(e.value,mf),o=i||r;if(o)return n.push({type:"text",value:e.value.slice(0,o.index)}),i&&n.push({type:"link",title:null,url:"#",children:[{type:"text",value:(null===(t=i.groups)||void 0===t?void 0:t.text)||""}]}),n}return[e]})},mb={type:"indicator"};var my=[(r=({singleTilde:!1}).singleTilde,i={name:"strikethrough",tokenize:function(e,t,n){var i=this.previous,o=this.events,a=0;return function(s){return 126===i&&"characterEscape"!==o[o.length-1][1].type?n(s):(e.enter("strikethroughSequenceTemporary"),function o(s){var l=pG(i);if(126===s)return a>1?n(s):(e.consume(s),a++,o);if(a<2&&!r)return n(s);var u=e.exit("strikethroughSequenceTemporary"),c=pG(s);return u._open=!c||2===c&&!!l,u._close=!l||2===l&&!!c,t(s)}(s))}},resolveAll:function(e,t){for(var n=-1;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){for(var r=n;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";var i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&pz(a,a.length,0,pq(s,e.slice(r+1,n),t)),pz(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),pz(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==r&&(r=!0),{text:z({},126,i),insideSpan:{null:[i]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:pB,resolveAll:pN}}},{text:z({},91,pO)},{text:z({},40,pE)}],mw=[{canContainEols:["delete"],enter:{strikethrough:p1},exit:{strikethrough:p2}},{enter:{table:pQ,tableData:pX,tableHeader:pX,tableRow:p$},exit:{codeText:pJ,table:pY,tableData:pK,tableHeader:pK,tableRow:pK}},{exit:{taskListCheckValueChecked:pH,taskListCheckValueUnchecked:pH,paragraph:pV}},{exit:{radioListCheckValueChecked:pW,radioListCheckValueUnchecked:pW,paragraph:pZ}}],mS=function(e){var t,n,r,i=e.oldMarkdown,o=e.newMarkdown,a=e.lastAstRoot,s=e.isShowIndicator,l=(null==a||null===(t=a.children)||void 0===t||null===(t=t[(null==a||null===(n=a.children)||void 0===n?void 0:n.length)-2])||void 0===t||null===(t=t.position)||void 0===t?void 0:t.start.offset)||0;if(""===i||null==a||!a.position||(null==a?void 0:a.children.length)<2||l<20||!o.startsWith(i))r=fe(o,{extensions:my,mdastExtensions:mw});else{var u,c=fe(o.slice(l),{extensions:my,mdastExtensions:mw}).children;c.map(function(e){var t;null!==(t=e.position)&&void 0!==t&&t.start&&(e.position.start.offset=e.position.start.offset||0,e.position.start.offset+=l,e.position.end.offset=e.position.end.offset||0,e.position.end.offset+=l)}),(u=a.children).splice.apply(u,[-2,2].concat((0,ef.A)(c))),r=a}var d=mp(r);mv(d);var p=mp(d);return s&&pf(p,void 0,function(e){return e?"code"===(null==e?void 0:e.type)?(e.children=[{type:"text",value:e.value},mb],[e]):[e,mb]:[mb]}),[r,d,p]},mA=function(e){var t=e.markdown,n=e.onAstChange,r=e.isShowIndicator,i=void 0!==r&&r,o=e.theme,a=e.className,s=e.style,l=(0,Z.useRef)(""),u=(0,Z.useRef)(),c=(0,Z.useMemo)(function(){var e=eu(mS({oldMarkdown:l.current,newMarkdown:t,lastAstRoot:u.current,isShowIndicator:i}),3),r=e[0],o=e[1],a=e[2];return u.current=r,l.current=t,null==n||n(o),a},[t,i,n]);return(0,uC.jsx)(pp,{className:a,style:s,root:c,theme:o})},mT=(0,Z.memo)(function(e){var t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N=e.theme,R=e.markdown,j=e.isSmooth,U=e.isFinish,z=e.interval,F=e.onMarkdownEnd,G=e.onRenderMarkdownChange,q=e.onImageClick,W=e.onTaskChange,H=e.language,V=e.debug,Q=e.selectable,Y=e.className,$=e.style,K=e.imgClassName,X=e.imgStyle,J=e.taskDisabled,ee=e.enableHtmlTags,et=void 0!==ee&&ee,en=e.enableCodeBy4Space,er=e.eventCallbacks,ei=(n=(t={isSmooth:j,interval:void 0===z?50:z,markdown:R,isFinish:U}).isSmooth,r=t.interval,i=t.markdown,o=t.isFinish,a=(0,Z.useRef)(""),s=(0,Z.useRef)(n),l=(0,Z.useRef)(r),u=(0,Z.useRef)(0),d=(c=eu((0,Z.useState)(n?"":i),2))[0],p=c[1],h=n&&(d.length<a.current.length||!o),f=(0,Z.useMemo)(function(){return!i.startsWith(a.current)||!n},[i,n]),a.current=i,l.current=r,s.current=n,g=(0,Z.useCallback)(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(u.current<a.current.length){;u.current+=t||1,p(null===(e=a.current)||void 0===e?void 0:e.slice(0,u.current))}},[]),(0,Z.useEffect)(function(){var e;if(u.current=0,u.current=0,n){var t=function(){e=setTimeout(function(){g(2),t()},l.current)};t()}else p(a.current);return function(){clearTimeout(e)}},[n,f&&i]),{isShowIndicator:h,showMarkdown:d,showMoreByte:g}),eo=ei.showMarkdown,ea=ei.isShowIndicator,es=ei.showMoreByte,el=(0,Z.useMemo)(function(){return new uD(H||nC.ZH_CN)},[]),ec=(0,Z.useMemo)(function(){var e=new om;return V&&e.seDebug(),e},[]);_=(m={showMarkdown:eo,markdown:R,isFinish:U,onMarkdownEnd:F,onRenderMarkdownChange:G}).showMarkdown,v=m.markdown,b=m.isFinish,y=m.onMarkdownEnd,w=m.onRenderMarkdownChange,(0,Z.useEffect)(function(){_===v&&b&&(null==y||y())},[_,v,b]),(0,Z.useEffect)(function(){null==w||w(_)},[_]);var ed=(A=(S={isSmooth:j,markdown:R,showMoreByte:es,showMarkdownIndex:eo.length,enableHtmlTags:et}).isSmooth,T=S.markdown,x=S.showMoreByte,k=S.showMarkdownIndex,M=S.enableHtmlTags,P=(0,Z.useRef)(T),I=(0,Z.useRef)(k),E=(0,Z.useRef)(A),C=(0,Z.useRef)(x),{onAstChange:uR(function(e){if(E.current){var t=pg(e);if("image"===(null==t?void 0:t.type)||"link"===(null==t?void 0:t.type)){var n=P.current.indexOf(")",I.current),r=P.current.indexOf("\n",I.current);-1===r||n<r?n>-1&&C.current(n-I.current+1):C.current(r-I.current+1)}else if("html"===(null==t?void 0:t.type)&&M){var i=P.current.indexOf("\n",I.current);i>-1?C.current(i-I.current+1):C.current(P.current.length-I.current)}}})}).onAstChange,ep=(D=(O={onTaskChange:W,logger:ec}).onTaskChange,L=O.logger,B=(0,Z.useRef)({}),{onTaskChangeHandle:uR(function(e){B.current[e.id]=e;var t=Object.values(B.current).sort(function(e,t){return e.index-t.index}).map(function(e){return{taskName:e.id,taskValue:e.values}});null==D||D({taskList:t}),null==L||L.debug("useTaskChangeHandle onTaskChange values:",t)})}).onTaskChangeHandle;return(0,uC.jsx)(uU,{markdown:R,onTaskChangeHandle:ep,onImageClick:q,i18n:el,eventCallbacks:er,logger:ec,selectable:void 0===Q||Q,taskDisabled:!U||J,enableHtmlTags:et,enableCodeBy4Space:void 0!==en&&en,imgClassName:K,imgStyle:X,children:(0,uC.jsx)(mA,{theme:void 0===N?"light":N,markdown:eo,isShowIndicator:ea,onAstChange:ed,className:Y,style:$})})},function(e,t){return Object.keys(e).length===Object.keys(t).length&&!Object.keys(e).find(function(n){return e[n]!==t[n]})}),mx=function(e){var t=e.className,n=e.children,r=e.isNeedBorder,i=e.isActive,o=e.canClick,a=e.onClick;return(0,uC.jsx)(nT,{className:W()("index-module__bubble___NMa7J",t,z(z(z({},"index-module__active___vMdDg",void 0!==i&&i),"index-module__can-click___UkBHO",void 0!==o&&o),"index-module__is-need-border___UkdKI",void 0===r||r)),onClick:a,children:n})},mk={bubble:"index-module__bubble___k20ev","bubble-text":"index-module__bubble-text___abeDB",small:"index-module__small___Ew3uG",large:"index-module__large___hrnV6"},mM=["className","text","size","space","enter","selectable"],mP=function(e){var t=e.className,n=e.text,r=e.size,i=void 0===r?"medium":r,o=(e.space,e.enter),a=e.selectable,s=void 0===a||a,l=R(e,mM),u=(0,Z.useMemo)(function(){return o?n.split("\n"):[n]},[n]);return(0,uC.jsx)(mx,G(G({},l),{},{className:W()(t,mk.bubble),children:null==u?void 0:u.map(function(e,t){return(0,uC.jsx)(nS,{className:W()(mk["bubble-text"],z({},mk[i||""],!0)),selectable:s,children:e},t)})}))},mI={container:"index-module__container___ByL0s",large:"index-module__large___or0rV",svg:"index-module__svg___WBIm1",small:"index-module__small___uNLyv",text:"index-module__text___ANBoR","animation-rotate":"index-module__animation-rotate___Tj1wt"},mE=function(e){var t=e.className,n=e.text,r=e.textClassName,i=e.svgClassName,o=e.size;return(0,uC.jsxs)(nT,{className:W()(mI.container,t,z({},mI[o||"medium"],!0)),children:[(0,uC.jsx)(dG,{className:W()(mI.svg,i)}),n?(0,uC.jsx)(nS,{className:W()(mI.text,r),children:n}):null]})},mC=function(){return(0,uC.jsx)(nT,{className:"index-module__container___SmJoW"})},mO=function(e){function t(e){var n;return Q(this,t),z(n=ee(this,t,[e]),"state",{hasError:!1}),n.state={hasError:!1},n}return en(t,e),$(t,[{key:"render",value:function(){return this.state.hasError?(0,uC.jsx)(uC.Fragment,{children:this.props.fallbackNode}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return o_.error("ErrorBoundary",e),{hasError:!0}}}])}(Z.Component),mD=function(e){var t=e.className,n=e.src,r=e.children;return(0,uC.jsx)(nS,{className:W()("index-module__link___tsOM_",t),onClick:function(){oI?window.open(n):oi.navigateTo({url:n})},children:r})},mL=function(e){var t=e.className,n=e.children,r=e.onClick;return(0,uC.jsx)(nT,{className:W()("index-module__button___KxAYv",t),onClick:r,children:n})},mB={container:"index-module__container___Y28q4",content:"index-module__content___FxMEm",icon:"index-module__icon___WFfDs",success:"index-module__success___tyxFD",error:"index-module__error___KDidJ"},mN={success:function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjFlbSIgaGVpZ2h0PSIxZW0iIGZvY3VzYWJsZT0iZmFsc2UiIGFyaWEtaGlkZGVuPSJ0cnVlIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDIzYTExIDExIDAgMSAwIDAtMjIgMTEgMTEgMCAwIDAgMCAyMlptNS44OC0xMy4xOC02LjIgNy42YTEuNSAxLjUgMCAwIDEtMi4zNyAwbC0zLjUtNGExLjUgMS41IDAgMSAxIDIuMzctMS44NGwyLjMgMi40NkwxNS41IDhhMS41IDEuNSAwIDEgMSAyLjM4IDEuODJaIiBmaWxsPSJyZ2IoNTksIDE3OSwgNzApIj48L3BhdGg+PC9zdmc+Cg=="}))},error:function(e){return(0,uC.jsx)(dF,G(G({},e),{},{src:"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjFlbSIgaGVpZ2h0PSIxZW0iIGZvY3VzYWJsZT0iZmFsc2UiIGFyaWEtaGlkZGVuPSJ0cnVlIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzIDEyYTExIDExIDAgMSAxLTIyIDAgMTEgMTEgMCAwIDEgMjIgMFptLTkuNSA1LjVhMS41IDEuNSAwIDEgMC0zIDAgMS41IDEuNSAwIDAgMCAzIDBaTTEyIDVhMS45IDEuOSAwIDAgMC0xLjg5IDJsLjMgNS41YTEuNTkgMS41OSAwIDAgMCAzLjE3IDBsLjMtNS41Yy4wNy0xLjA5LS44LTItMS44OC0yWiIgZmlsbD0icmdiKDI0OSwgNTcsIDMyKSI+PC9wYXRoPgo8L3N2Zz4K"}))},none:null},mR=function(e){var t=e.children,n=e.onClose,r=e.className,i=e.icon,o=void 0===i?"none":i,a=e.isNeedClose,s=mN[o];return(0,uC.jsxs)(dC,{verticalCenter:!0,horizontalCenter:!0,className:W()(mB.container,z({},mB[o],o),r),gap:12,children:[s?(0,uC.jsx)(s,{className:mB.icon}):null,(0,uC.jsx)(nT,{className:mB.content,children:t}),void 0===a||a?(0,uC.jsx)(dY,{onClick:n}):null]})},mj=function(e){var t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O=e.className,D=e.onTouching,L=e.onEnd,B=e.onOutside,N=e.children,R=(r=(t={onTouching:D,onOutside:B,onEnd:L,frameEventTarget:e.frameEventTarget,isPcMode:e.isPcMode,disabled:e.disabled}).onTouching,i=t.onOutside,o=t.onEnd,a=t.frameEventTarget,s=t.isPcMode,l=t.disabled,u=(0,Z.useRef)(null),d=(c=eu((0,Z.useState)(!1),2))[0],p=c[1],f=(h=eu((0,Z.useState)(!1),2))[0],g=h[1],m=(0,Z.useRef)(),_=(0,Z.useRef)(),v=uR(function(e){g(e),null==i||i(e)}),b=uR((n=eo(er().mark(function e(t){var n,r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(p(!0),g(!1),!oI){e.next=7;break}(r=null===(n=u.current)||void 0===n?void 0:n.getBoundingClientRect())&&(m.current=r),e.next=14;break;case 7:if(!t){e.next=14;break}return e.next=10,rT("#".concat(t.currentTarget.id));case 10:(i=eu(e.sent,1)[0])&&(m.current=i);case 14:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})),y=uR(function(e){var t=e.clientY,n=(m.current||{}).top,r=!1;return void 0!==n&&t<n&&(r=!0),r}),w=uR(function(e){var t=y(e);return v(t),t}),S=uR(function(e){o_.debug("[useAudioRecord]onTouchStart",e),_.current||l||(_.current="touch",b(e))}),A=uR(function(e){o_.debug("[useAudioRecord]onTouchMove",e),"touch"!==_.current||l||d&&w({clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY})}),T=uR(function(){o_.debug("[useAudioRecord]onTouchEnd",_.current,d),"touch"!==_.current||l||d&&p(!1)}),x=uR(function(e){o_.debug("[useAudioRecord]onTouchCancel",e),p(!1),g(!1)}),k=uR(function(e){o_.debug("onMouseDown",e),null==e||e.stopPropagation(),_.current||l||(_.current="mouse",b())}),M=uR(function(e){"mouse"!==_.current||l||d&&w({clientX:e.clientX,clientY:e.clientY})}),P=uR(function(e){o_.info("onMouseDown 222",e,d),"mouse"!==_.current||l||d&&p(!1)}),I=uR(function(e){o_.debug("[audio] onKeyDown",e),"Space"===e.code&&!_.current&&!l&&(_.current="keyboard",p(!0),g(!1))}),E=uR(function(e){o_.debug("[audio] onKeyUp",e),!l&&"Space"===e.code&&"keyboard"===_.current&&d&&p(!1)}),C=uR(function(e){oI?(u.current&&(u.current.removeEventListener("mousedown",k),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",P),s&&a&&(a.on(nM.KeyDown,I),a.on(nM.KeyUp,E))),e&&(u.current=e,u.current.addEventListener("mousedown",k),document.addEventListener("mousemove",M),document.addEventListener("mouseup",P),s&&a&&(a.on(nM.KeyDown,I),a.on(nM.KeyUp,E)))):u.current=e}),(0,Z.useEffect)(function(){return function(){var e,t,n;oI&&(null===(e=u.current)||void 0===e||e.removeEventListener("mousedown",k),null===(t=document)||void 0===t||t.removeEventListener("mousemove",M),null===(n=document)||void 0===n||n.removeEventListener("mouseup",P),a&&(a.off(nM.KeyDown,I),a.off(nM.KeyDown,E)))}},[]),uN(function(){o_.debug("[useAudioRecord]isTouching",d),d&&(null==r||r(_.current))},[d]),uN(function(){null==i||i(f)},[f]),uN(function(){o_.info("[useAudioRecord]onEnd",d),d||(_.current=void 0,null==o||o())},[d]),uN(function(){d&&p(!1)},[l]),{onInitRefForAudioRecord:C,onTouchStart:S,onTouchMove:A,onTouchEnd:T,onTouchCancel:x,isTouching:d,isOutside:f}),j=R.onInitRefForAudioRecord,U=R.onTouchStart,z=R.onTouchMove,F=R.onTouchEnd,G=R.onTouchCancel;return(0,uC.jsx)(n_,{className:W()("index-module__container___mSJvM",O,"coze-audio-input-button"),ref:j,onTouchStart:U,onTouchMove:z,onTouchEnd:F,onTouchCancel:G,children:N})},mU={container:"index-module__container___k10xK",bar:"index-module__bar___pgYde"},mz={large:41,medium:29,small:4},mF=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.volumeNumber,i=e.type,o=void 0===i?"default":i,a=e.className,s=Math.max(Math.min(void 0===r?0:r,100),0),l=mz[n]||29,u=function(e,t){if(t<=0)return Array(e).fill(12);var n=Array(e).fill(0).map(function(n,r){var i,o,a,s,l,u,c;return i=r,o=e,a=t,l=2,u=-2,c=2,(s=i/o)<1/6?(l=1+3*s*6,u=.1+(Number(-.8)-.1)*s*6,c=.3+.3*s*6):s<2/6?(l=4+-2*(s-1/6)*6,u=.8*(s-1/6)*6-.8,c=.6+0*(s-1/6)*6):s<.5?(l=2+6*(s-2/6)*6,u=0+(Number(-1.6)-0)*(s-2/6)*6,c=.6+.6*(s-2/6)*6):s<4/6?(l=8+-6*(s-.5)*6,u=1.6*(s-.5)*6-1.6,c=1.2+-.6*(s-.5)*6):s<5/6?(l=2+2*(s-4/6)*6,u=0+(Number(-.8)-0)*(s-4/6)*6,c=.6+0*(s-4/6)*6):s<1&&(l=4+-3*(s-5/6)*6,u=.9*(s-5/6)*6-.8,c=.1+-.3*(s-5/6)*6),l+a*(Math.random()*(c-u)+u)*(20-l)}),r=Math.min.apply(Math,(0,ef.A)(n)),i=Math.max.apply(Math,(0,ef.A)(n)),o=i-r;return n.map(function(e){return 12+(e-r)/(i-r)*Math.min(12,o)})}(l,s);return(0,uC.jsx)(dC,{gap:3,verticalCenter:!0,horizontalCenter:!0,width100:!0,className:W()(mU.container,a),children:u.map(function(e,t){return(0,uC.jsx)(nT,{className:W()(mU["audio-wave-".concat(t)],mU[o],mU.bar,mU[n]),style:{backgroundColor:function(e,t,n){var r="#FFF";switch(n){case"primary":var i=0,o=0,a=0,s=0,l=e/t;l<.2?(i=.2+.8*l/.2,o=83,a=71,s=255):l<.8?(i=1,o=Math.round(83+94*(l-.2)/.6),a=Math.round(71+-34*(l-.2)/.6),s=Math.round(255+-14*(l-.2)/.6)):(i=1-.8*(l-.8)/.2,o=177,a=37,s=241),r="rgba(".concat(o,", ").concat(a,", ").concat(s,", ").concat(i.toFixed(2),")");break;case"warning":r="#FF0030";break;default:var u=e/t;r="rgba(255, 255, 255, ".concat((u<.2?.2+.8*u/.2:u<.8?1-(1-.9)*(u-.2)/.6:.9-.7*(u-.8)/.2).toFixed(2),")")}return r}(t,l,o),height:e}},"".concat(o,"_").concat(t))})})},mG={audioPlay:"index-module__audioPlay___i1gjg",playing:"index-module__playing___LtMyo","icons-blue":"index-module__icons-blue___GYHuJ",light:"index-module__light___hL8vL","icons-white":"index-module__icons-white___vZL5y","gray-bold":"index-module__gray-bold___AL2yX"},mq=function(e){var t=e.isPlaying,n=e.onClick,r=e.theme;return(0,uC.jsx)(nT,{className:W()(mG.audioPlay,z(z({},mG.playing,t),mG[void 0===r?"dark":r],!0)),onClick:n})},mW={tooltip:"index-module__tooltip___qm5BV",content:"index-module__content___jZ79F",top:"index-module__top___iM7mu",click:"index-module__click___XsSUd",show:"index-module__show___NwjF3",hover:"index-module__hover___XwAk2"},mZ=1e3,mH=new or,mV="click_tooltip",mQ=function(e){var t=e.children,n=e.content,r=e.type,i=void 0===r?"hover":r,o=e.isActive,a=e.direction,s=void 0===a?"bottom":a,l=eu((0,Z.useState)(!1),2),u=l[0],c=l[1],d=(0,Z.useMemo)(function(){return"tooltip_".concat(nB(),"_").concat(mZ++)},[]);return(0,Z.useEffect)(function(){var e=function(){c(!1)},t=function(e){e.id!==d&&c(!1)};return oI&&document.addEventListener("click",e),mH.on(mV,t),on.on(nM.FrameClick,e),function(){oI&&document.removeEventListener("click",e),mH.off(mV,t),on.off(nM.FrameClick,e)}},[]),(0,uC.jsxs)(nT,{id:d,className:W()(mW.tooltip,z(z(z({},mW.hover,"hover"===i&&o),mW.click,"hover"!==i&&o),mW[s],!!mW[s])),onLongPress:function(){o&&(c(!0),mH.trigger(mV,{id:d}))},onClick:function(e){o&&(e.stopPropagation(),c(!0),mH.trigger(mV,{id:d}))},children:[t,o?(0,uC.jsx)(nT,{className:W()(mW.content,z({},mW.show,u)),children:n}):null]})},mY={container:"index-module__container___dtoSg",border:"index-module__border___dIkvN","square-hover-btn":"index-module__square-hover-btn___Vc9BG",hover:"index-module__hover___wD0kZ",bold:"index-module__bold___KTh20",large:"index-module__large___auahl",small:"index-module__small___sZDJG"},m$=function(e){var t=e.type,n=e.children,r=e.onClick,i=e.className,o=e.border,a=e.hoverTheme,s=e.size,l=e.bgColor;return(0,uC.jsx)(d9,{onClick:function(){null==r||r()},className:W()(mY.container,i,mY[void 0===t?"circle-btn":t],mY[void 0===s?"medium":s],mY[void 0===a?"hover":a],z(z({},mY.border,"none"!==o),mY.bold,"bold"===l)),children:n})},mK=p(394),mX=p.n(mK),mJ=function(){var e,t,n,r,i={pixelRatio:window.devicePixelRatio,screenWidth:window.screen.width,screenHeight:window.screen.height,windowWidth:document.documentElement.clientWidth,windowHeight:document.documentElement.clientHeight,statusBarHeight:NaN,safeArea:{bottom:0,height:0,left:0,right:0,top:0,width:0}},o={bluetoothEnabled:!1,locationEnabled:!1,wifiEnabled:!1,deviceOrientation:window.screen.width>=window.screen.height?"landscape":"portrait"},a={abi:"",deviceAbi:"",benchmarkLevel:-1,brand:mX().manufacturer||"unknown",model:mX().product||"unknown",system:(null===(e=mX().os)||void 0===e?void 0:e.toString())||"unknown",platform:(null===(t=mX().os)||void 0===t?void 0:t.family)||"unknown",CPUType:""},s=(r=!1,(null===(n=window.matchMedia)||void 0===n?void 0:n.call(window,"(prefers-color-scheme: dark)").matches)&&(r=!0),{SDKVersion:"",enableDebug:!1,language:navigator.language,version:"",theme:r?"dark":"light"}),l="not determined",u="not determined",c="not determined",d=!1,p="not determined",h="not determined",f="not determined",g="not determined",m="not determined",_="not determined";return delete a.abi,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i),o),a),s),{fontSizeSetting:NaN,albumAuthorized:"authorized"===l,cameraAuthorized:"authorized"===u,locationAuthorized:"authorized"===c,microphoneAuthorized:"authorized"===p,notificationAuthorized:"authorized"===h,notificationAlertAuthorized:"authorized"===f,notificationBadgeAuthorized:"authorized"===g,notificationSoundAuthorized:"authorized"===m,phoneCalendarAuthorized:"authorized"===_,locationReducedAccuracy:d,environment:""})},m0=["id","children","isLoadMore","checkArrowDownVisible","lowerThreshold","onScrollToLower"],m1=["className","isNeedHelper","children"],m2=(0,Z.memo)(nw),m4=(0,Z.memo)((0,Z.forwardRef)(function(e,t){var n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,j=e.id,U=e.children,F=e.isLoadMore,q=e.checkArrowDownVisible,H=e.lowerThreshold,V=e.onScrollToLower,Q=R(e,m0),Y=(r=(n=eu((0,Z.useState)(0),2))[0],i=n[1],o=(0,Z.useRef)(void 0),a=(0,Z.useRef)(null),s=uR(function(e){i(oI?0-Math.abs(e):Math.abs(e))}),l=uR(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;o.current&&clearTimeout(o.current),t<=0?s(e):o.current=setTimeout(function(){s(e)},t)}),u=uR(function(){0!==r?l(0):(l(1),l(0,200))}),c=uR(function(e){a.current=e}),(0,Z.useEffect)(function(){return function(){o.current&&clearTimeout(o.current)}},[]),o_.debug("useScrollTop",{scrollTop:r}),{scrollTop:r,scrollToTop:s,delayToSetScroll:l,scrollToAnchorBottom:u,onInitScrollEl:c,refScrollEl:a}),$=Y.scrollTop,K=Y.delayToSetScroll,X=Y.scrollToAnchorBottom,J=Y.onInitScrollEl,ee=Y.refScrollEl,et=(0,Z.useRef)(!1),en=(p=(d={refAnchorBottom:et,refScrollEl:ee}).refAnchorBottom,h=d.refScrollEl,f=(0,Z.useMemo)(function(){var e=mJ().platform;return oD&&!["ios","android"].includes(e.toLowerCase())},[]),m=(g=eu((0,Z.useState)(),2))[0],_=g[1],v=(0,Z.useRef)([]),o_.info("useSafariAnchorHack isNeedHack: ",f),b=uR(function(e){_(e)}),y=uR(function(){var e,t=null==m?void 0:m.getElementsByClassName("chat-group-for-query");if(t&&0!==t.length){var n=t[t.length-1],r={groupId:n.getAttribute("data-group-id"),height:n.offsetHeight||0,scrollTop:(null==h||null===(e=h.current)||void 0===e?void 0:e.scrollTop)||0};if(null!=r&&r.groupId&&null!=r&&r.height)return r}}),w=uR(function(){if(f&&null!=p&&p.current){var e=y();if(e){var t=v.current.filter(function(t){return t.groupId!==e.groupId});t.unshift(e),t.splice(5),v.current=t}}}),(0,Z.useEffect)(function(){if(f)try{if(m){var e=m.offsetHeight,t=new ResizeObserver(function(){var t,n=e,r=m.offsetHeight;if(e=r,null!=p&&p.current&&r!==n&&0!==(null==h||null===(t=h.current)||void 0===t?void 0:t.scrollTop)){var i,o=y(),a=v.current.find(function(e){return e.groupId===(null==o?void 0:o.groupId)});if(!a||5>Math.abs(Math.abs(o.height-a.height)-Math.abs(o.scrollTop-a.scrollTop)))return;null==h||null===(i=h.current)||void 0===i||i.scrollBy(0,n-r)}});return t.observe(m),function(){t.disconnect()}}}catch(e){o_.error("useSafariAnchorHack useEffect err: ",e)}},[m]),{onInitViewEl:b,onCollectScrollInfo:w}),er=en.onInitViewEl,ei=(A=(S={refScrollEl:ee,scrollToAnchorBottom:X,onCollectScrollInfoInSafari:en.onCollectScrollInfo,checkArrowDownVisible:q,onScrollToLower:V,lowerThreshold:H,reCheckToLower:uR(function(){eo.current>100&&K(eo.current-.5)})}).scrollToAnchorBottom,T=S.onCollectScrollInfoInSafari,x=S.checkArrowDownVisible,k=S.onScrollToLower,M=S.reCheckToLower,P=S.lowerThreshold,I=S.refScrollEl,E=(0,Z.useRef)(1),C=(0,Z.useRef)(0),O=Math.max(null!=P?P:100,10),D=uR(function(e){E.current=Math.abs(e),oI&&e>0&&(null==A||A())}),L=uR(function(e){C.current&&(clearTimeout(C.current),C.current=0),null==k||k(e),C.current=setTimeout(function(){C.current=0,null==M||M()},1500)}),B=uR(function(e){var t=e.detail.scrollTop;null==D||D(t),null==T||T(),null==x||x(t),N()&&(null==L||L(e))}),N=uR(function(){var e,t,n=Number(null===(e=I.current)||void 0===e?void 0:e.offsetHeight),r=Number(null===(t=I.current)||void 0===t?void 0:t.scrollHeight);return r>0&&n>0&&E.current>0&&r-E.current-n<O}),{refScrollNow:E,onScrollToLowerHandle:oI?void 0:L,lowerThreshold:O,refScrollEl:I,onScrollHandle:B}),eo=ei.refScrollNow,ea=ei.onScrollToLowerHandle,es=ei.lowerThreshold,el=ei.onScrollHandle;(0,Z.useLayoutEffect)(function(){F&&K(eo.current+2)},[F]),(0,Z.useImperativeHandle)(t,function(){return{scrollToBottom:function(){o_.debug("ScrollView, scrollToBottom",{scrollTop:$}),X()},scrollToAnchorBottom:function(){o_.debug("ScrollView, scrollToAnchorBottom",{scrollTop:$}),et.current=!0,X()},removeAnchorBottom:function(){o_.debug("ScrollView, removeAnchorBottom",{currentTop:eo.current,scrollTop:$}),et.current=!1,0===eo.current&&0===$&&K(1,50)}}},[$]);var ec=(0,Z.useMemo)(function(){return(0,uC.jsx)(nT,{className:W()("index-module__children___CyGrD"),ref:er,children:U})},[U]);return(0,uC.jsx)(m2,G(G({},Q),{},{id:j,ref:J,scrollTop:$,lowerThreshold:es,onScrollToLower:ea,reverse:!1,showScrollbar:!1,enhanced:!0,className:W()("index-module__scroll___oz4rR",z({},"index-module__scroll-web___nSbZo",oI)),onScroll:el,children:ec}))})),m3=(0,Z.forwardRef)(function(e,t){var n,r,i,o,a,s=e.className,l=e.isNeedHelper,u=e.children,c=R(e,m1),d=(n=l,i=(r=eu((0,Z.useState)(!1),2))[0],o=r[1],a=(0,Z.useCallback)(function(e){n&&(Math.abs(e)>500?o(!0):o(!1))},[n]),{arrowDownVisible:i,setArrowDownVisible:o,checkArrowDownVisible:a}),p=d.arrowDownVisible,h=d.checkArrowDownVisible,f=d.setArrowDownVisible,g=(0,Z.useRef)(null);return(0,Z.useImperativeHandle)(t,function(){return{scrollToBottom:function(){var e;null===(e=g.current)||void 0===e||e.scrollToBottom()},scrollToAnchorBottom:function(){var e;null===(e=g.current)||void 0===e||e.scrollToAnchorBottom()},removeAnchorBottom:function(){var e;null===(e=g.current)||void 0===e||e.removeAnchorBottom()}}},[]),(0,uC.jsxs)(nT,{className:W()("index-module__container___jHsxj",s),children:[(0,uC.jsx)(m4,G(G({},c),{},{checkArrowDownVisible:h,ref:g,children:u})),(0,uC.jsx)(m$,{type:"circle-btn",size:"large",className:W()("index-module__arrow-down___d4CCK",z({},"index-module__arrow-down--show___F5DAN",p)),onClick:function(){var e;o_.debug("ScrollView, arrowDownVisible, onClick",g.current),g.current&&(null==g||null===(e=g.current)||void 0===e||e.scrollToBottom(),f(!1))},children:(0,uC.jsx)(dK,{})})]})}),m5=["children"],m6=(0,Z.createContext)({chat:null,auth:null,user:null,children:null,setting:null}),m8=function(e){var t=e.children,n=R(e,m5);return(0,uC.jsx)(m6.Provider,{value:n,children:t})},m9=function(){return uB(m6)},m7=p(521),_e=Z.useDebugValue,_t=m7.useSyncExternalStoreWithSelector,_n=function(e){return e};function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_n,n=arguments.length>2?arguments[2]:void 0,r=_t(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return _e(r),r}function _i(e,t){if(Object.is(e,t))return!0;if("object"!==j(e)||null===e||"object"!==j(t)||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;var n,r=rm(e);try{for(r.s();!(n=r.n()).done;){var i=eu(n.value,2),o=i[0],a=i[1];if(!Object.is(a,t.get(o)))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;var s,l=rm(e);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(!t.has(u))return!1}}catch(e){l.e(e)}finally{l.f()}return!0}var c=Object.keys(e);if(c.length!==Object.keys(t).length)return!1;for(var d=0;d<c.length;d++){var p=c[d];if(!Object.prototype.hasOwnProperty.call(t,p)||!Object.is(e[p],t[p]))return!1}return!0}var _o=function(e){var t,n=new Set,r=function(e,r){var i="function"==typeof e?e(t):e;if(!Object.is(i,t)){var o=t;t=(null!=r?r:"object"!==j(i)||null===i)?i:Object.assign({},t,i),n.forEach(function(e){return e(t,o)})}},i=function(){return t},o={setState:r,getState:i,getInitialState:function(){return a},subscribe:function(e){return n.add(e),function(){return n.delete(e)}},destroy:function(){console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,i,o);return o},_a=Z.useDebugValue,_s=m7.useSyncExternalStoreWithSelector,_l=!1,_u=function(e){return e},_c=function(e){"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");var t,n="function"==typeof e?(t=e)?_o(t):_o:e,r=function(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_u,n=arguments.length>2?arguments[2]:void 0;n&&!_l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),_l=!0);var r=_s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return _a(r),r}(n,e,t)};return Object.assign(r,n),r},_d=function(e){return e?_c(e):_c},_p=function(){var e=m9(),t=_j(function(e){return{setChatError:e.setError,setChatInfo:e.setChatInfo,setChatIsLoading:e.setIsLoading,setCustomChatInfo:e.setCustomChatInfo,isLoadingChatInfo:e.isLoading,error:e.error}}),n=t.setChatError,r=t.setChatInfo,i=t.setChatIsLoading,o=t.error,a=_U(function(e){return e.setConversationDetail}),s=_R(function(e){return e.chatService}),l=eu((0,Z.useState)(0),2),u=l[0],c=l[1];return(0,Z.useEffect)(function(){if(null!=(t=e)&&null!==(o=t.setting)&&void 0!==o&&o.apiBaseUrl?(null!=t&&null!==(l=t.setting)&&void 0!==l&&l.cdnBaseUrlPath||o_.warn("Setting's cdnBaseUrlPath is not provided; The chat will show a crash image"),null!=t&&null!==(u=t.chat)&&void 0!==u&&u.appId)?null!=t&&null!==(c=t.auth)&&void 0!==c&&c.token?(null!=t&&null!==(d=t.auth)&&void 0!==d&&d.onRefreshToken||o_.warn("onRefreshToken is not provided; The chat will not be able to refresh the token"),null!=t&&null!==(p=t.user)&&void 0!==p&&!!p.id&&null!=t&&null!==(h=t.user)&&void 0!==h&&!!h.name&&null!=t&&null!==(f=t.user)&&void 0!==f&&!!f.avatar||(o_.warn("User's property (id, name, avatar) is empty; The chat will show a default user"),!0)):(o_.error("Token must be provided"),!1):(o_.error("Chat's appId must be provided"),!1):(o_.error("Setting's apiBaseUrl must be provided"),!1)){var t,o,l,u,c,d,p,h,f,g=!1;return n(null),i(!0),eo(er().mark(function e(){var t,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([s.getAppInfo(),function(e){return _h.apply(this,arguments)}(s)]);case 3:i=(t=eu(e.sent,2))[0],o=t[1],g||(a(o,o.messages),r(i)),e.next=15;break;case 10:e.prev=10,e.t0=e.catch(0),o_.error("get chat info error",e.t0),n(l0(e.t0));case 15:case"end":return e.stop()}},e,null,[[0,10]])}))(),function(){g=!0}}n(new lJ(-1,"params error"))},[u,s]),{retryChatInit:function(){o&&c(u+1)}}};function _h(){return(_h=eo(er().mark(function e(t){var n,r,i,o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="",r="",e.prev=2,e.next=5,t.getOrCreateConversationId();case 5:n=(i=e.sent).conversationId,r=i.sectionId,e.next=15;break;case 10:throw e.prev=10,e.t0=e.catch(2),o_.error("Get Message Error",e.t0),new lJ((o=l0(e.t0)).code||l1.Custom_Conversation_Create_Error,o.msg||"Conversation Create Error");case 15:return e.prev=15,e.next=18,t.getMessageList({conversationId:n});case 18:return a=e.sent,e.abrupt("return",G({id:n,sectionId:r},a));case 22:throw e.prev=22,e.t1=e.catch(15),new lJ(l1.Custom_GetMessageList_Error,"Get MessageList Error");case 25:case"end":return e.stop()}},e,null,[[2,10],[15,22]])}))).apply(this,arguments)}var _f=["messages","error"],_g=function(){var e=_U(function(e){return{setNewConversationId:e.setNewConversationId,setSectionId:e.setSectionId}}),t=e.setNewConversationId,n=e.setSectionId,r=_G(),i=_j(function(e){return e.id}),o=_z(function(e){return{setIsDeleting:e.setIsDeleting,getOpDisabledState:e.getOpDisabledState}}),a=o.getOpDisabledState,s=o.setIsDeleting,l=_W(function(e){return e.event}),u=_R(function(e){return e.chatService});return{clearMessage:(0,Z.useCallback)(eo(er().mark(function e(){var i,o,c;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!a().clearMessage){e.next=3;break}return e.abrupt("return");case 3:return s(!0),e.prev=4,e.next=7,u.createNewConversation();case 7:o=(i=e.sent).conversationId,c=i.sectionId,t(o),n(c),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),us({content:r.t("clearMessageFailed"),icon:"error"},l);case 17:s(!1);case 18:case"end":return e.stop()}},e,null,[[4,14]])})),[i,l])}},_m=function(e){var t,n;function r(){var e;Q(this,r);for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return z(e=ee(this,r,[].concat(n)),"chatStream",void 0),e}return en(r,e),$(r,[{key:"sendMessage",value:(n=eo(er().mark(function e(t,n){var r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o_.debug("asyncChat start sendMessage: ",t),this._checkTimeout(),e.next=5,this.chatService.asyncChat({bot_id:this.botId,user_id:this.userId,additional_messages:[].concat((0,ef.A)(n||[]),[t]),conversation_id:this.conversationId,connector_id:this.connectorId,suggestPromoteInfo:null===(r=this.chatInfo)||void 0===r?void 0:r.suggestPromoteInfo});case 5:i=e.sent,o_.debug("asyncChat sendMessage stream: ",i),this.chatStream=i,this.pollAnswer(),e.next=16;break;case 11:e.prev=11,e.t0=e.catch(0),o_.error("asyncChat sendMessage error",e.t0),this.sendErrorEvent(new lJ(-1,this.i18n.t("sendFailed"))),this.close();case 16:case"end":return e.stop()}},e,this,[[0,11]])})),function(e,t){return n.apply(this,arguments)})},{key:"pollAnswer",value:(t=eo(er().mark(function e(){var t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.chatStream){e.next=4;break}return o_.error("asyncChat pollAnswer","chatStream is undefined"),this.sendErrorEvent(new lJ(-1,this.i18n.t("sendFailed"))),e.abrupt("return");case 4:o_.debug("asyncChat pollAnswer awaiting start"),t=[],n=null,this._checkTimeout(),e.prev=8,r=!1,i=!1,e.prev=11,a=oB(this.chatStream);case 13:return e.next=15,a.next();case 15:if(!(r=!(s=e.sent).done)){e.next=75;break}if(l=s.value,o_.debug("asyncChat pollAnswer awaiting start2",l),this._checkTimeout(),this.isAbort){e.next=71;break}u=l.event,c=l.data,e.t0=u,e.next=e.t0===lp.CONVERSATION_CHAT_CREATED?24:e.t0===lp.CONVERSATION_MESSAGE_DELTA?33:e.t0===lp.CONVERSATION_MESSAGE_COMPLETED?41:e.t0===lp.CONVERSATION_CHAT_REQUIRES_ACTION?55:e.t0===lp.ERROR?58:e.t0===lp.CONVERSATION_CHAT_FAILED?62:e.t0===lp.DONE?65:68;break;case 24:return p=(d=nx(l.data)||{}).id,h=d.section_id,this.messageSended.chat_id=p||"",this.messageSended.section_id=h,this.messageSended.extData={executeId:null==c?void 0:c.execute_id},this.messageSended=G({},this.messageSended),this.messageList=[this.messageSended].concat((0,ef.A)(t||[])),this.sendProcessEvent(),e.abrupt("break",69);case 33:if(f=nx(c)){e.next=36;break}return e.abrupt("break",69);case 36:return n?(n.content=n.content||"",n.content+=f.content||"",n.content&&n.reasoning_content||(n.reasoning_content=n.reasoning_content||"",n.reasoning_content+=f.reasoning_content||"")):n=f,n.isComplete=!1,this.messageList=[this.messageSended].concat((0,ef.A)(t||[]),[n]),this.sendProcessEvent(),e.abrupt("break",69);case 41:if(g=nx(c),!n){e.next=48;break}n.isComplete=!0,t.push(n),n=null,e.next=52;break;case 48:if(g){e.next=50;break}return e.abrupt("break",69);case 50:g.isComplete=!0,t.push(g);case 52:return this.messageList=[this.messageSended].concat((0,ef.A)(t||[])),this.sendProcessEvent(),e.abrupt("break",69);case 55:return m=nx(c),this.sendRequireActionEvent(m),e.abrupt("break",69);case 58:return _=nx(c),this.chatService.handleErrorCode(_.code||-1),this.sendErrorEvent(new lJ(_.code||-1,_.msg||this.i18n.t("sendFailed"))),e.abrupt("return");case 62:return y=nx(c),this.sendErrorEvent(new lJ((null===(v=y.last_error)||void 0===v?void 0:v.code)||-1,(null===(b=y.last_error)||void 0===b?void 0:b.msg)||this.i18n.t("sendFailed"))),e.abrupt("return");case 65:return this.messageList=[this.messageSended].concat((0,ef.A)(t||[])),this.sendCompleteEvent(),e.abrupt("return");case 68:return e.abrupt("break",69);case 69:e.next=72;break;case 71:return e.abrupt("return");case 72:r=!1,e.next=13;break;case 75:e.next=81;break;case 77:e.prev=77,e.t1=e.catch(11),i=!0,o=e.t1;case 81:if(e.prev=81,e.prev=82,!r||null==a.return){e.next=86;break}return e.next=86,a.return();case 86:if(e.prev=86,!i){e.next=89;break}throw o;case 89:return e.finish(86);case 90:return e.finish(81);case 91:e.next=98;break;case 93:return e.prev=93,e.t2=e.catch(8),o_.error("asyncChat pollAnswer error",e.t2),this.sendErrorEvent(new lJ(-1,this.i18n.t("sendFailed"))),e.abrupt("return");case 98:case"end":return e.stop()}},e,this,[[8,93],[11,77,81,91],[82,,86,90]])})),function(){return t.apply(this,arguments)})}])}(function(e){var t,n,r,i,o;function a(){return Q(this,a),ee(this,a,arguments)}return en(a,e),$(a,[{key:"sendTextMessage",value:function(e,t){var n={role:lh.User,content:e,content_type:"text"};this.sendStartMessage(n),this.sendMessage(n,t)}},{key:"sendFileMessage",value:(o=eo(er().mark(function e(t,n){var r,i,o,a=this;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.map(function(e){return a.packFileObject(e)}).filter(function(e){return!!e}),i={role:lh.User,content:r,content_type:"object_string"},this.sendStartMessage(i),e.next=5,this.uploadFile(t);case 5:if(o=e.sent){e.next=9;break}return this.sendErrorEvent(new lJ(-1,this.i18n.t("sendMessageUploadFailed"))),e.abrupt("return");case 9:this.messageSended.content=JSON.stringify(o),i.content=JSON.stringify(o.map(function(e){return{type:e.type,file_id:e.file_id}})),this.sendMessage(i,n);case 12:case"end":return e.stop()}},e,this)})),function(e,t){return o.apply(this,arguments)})},{key:"sendAudioMessage",value:(i=eo(er().mark(function e(t,n){var r,i,o,a,s;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o_.info("sendAudioMessage audio",t),r={role:lh.User,content:"",content_type:"text"},this.sendStartMessage(G(G({},r),{},{content:"",isAudioTranslatingToText:!0})),e.prev=3,e.next=6,this.translateAudioToText(t);case 6:i=e.sent,o_.debug("sendAudioMessage content",i),r.content=i,this.sendStartMessage(G(G({},r),{},{isAudioTranslatingToText:!1})),this.sendMessage(r,n),e.next=22;break;case 13:return e.prev=13,e.t0=e.catch(3),o_.error("sendAudioMessage",{error:e.t0}),s=null==(a=l0(e.t0))||null===(o=a.getErrorMessageByI18n)||void 0===o?void 0:o.call(a,this.i18n,{},this.i18n.t("sendMessageTranslationAudioFailed")),this.messageSended.isAudioTranslatingToText=!1,this.messageSended.content=s,this.sendErrorEvent(a),e.abrupt("return");case 22:case"end":return e.stop()}},e,this,[[3,13]])})),function(e,t){return i.apply(this,arguments)})},{key:"translateAudioToText",value:(r=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.chatService.translation({file:{filePath:t.tempFilePath,fileName:t.fileName}});case 2:if((n=e.sent).text){e.next=5;break}throw new lJ(l1.Audio_Translation_NoContent,this.i18n.t("sendMessageTranslationAudioNone"));case 5:return e.abrupt("return",n.text);case 6:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"uploadFile",value:(n=eo(er().mark(function e(t){var n,r,i=this;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],r=!1,e.prev=2,e.next=5,Promise.all(t.map(function(){var e=eo(er().mark(function e(t){var r,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=i.packFileObject(t))){e.next=7;break}return e.next=4,i.chatService.upload({file:t.file});case 4:o=e.sent,r.file_id=o.id,n.push(r);case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),r=!0;case 10:return e.abrupt("return",r?null:n);case 11:case"end":return e.stop()}},e,null,[[2,7]])})),function(e){return n.apply(this,arguments)})},{key:"getObjectStringType",value:function(e){return e===nP.IMAGE?"image":"file"}},{key:"packFileObject",value:function(e){switch(this.getObjectStringType(e.type)){case"image":return{type:"image",file_url:e.tempFilePath,file_info:e};case"file":return{type:"file",name:e.file.name,size:e.file.size,file_url:e.tempFilePath,file_info:e};default:return null}}},{key:"sendRawMessage",value:(t=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.messageSended.rawMessage=t,e.t0=t.type,e.next=e.t0===nE.TEXT?4:e.t0===nE.FILE?7:e.t0===nE.AUDIO?10:13;break;case 4:return e.next=6,this.sendTextMessage(t.data,n);case 6:case 9:case 12:return e.abrupt("return",e.sent);case 7:return e.next=9,this.sendFileMessage(t.data,n);case 10:return e.next=12,this.sendAudioMessage(t.data,n);case 13:throw new lJ(-1,"unknown message type");case 14:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}])}($(function e(t){var n=t.conversationId,r=t.botId,i=t.chatService,o=t.userId,a=t.connectorId,s=t.sectionId,l=t.chatInfo,u=t.i18n;Q(this,e),z(this,"botId",void 0),z(this,"userId",void 0),z(this,"conversationId",void 0),z(this,"sectionId",void 0),z(this,"timeoutId",void 0),z(this,"chatId",void 0),z(this,"connectorId",void 0),z(this,"isAbort",void 0),z(this,"chatService",void 0),z(this,"event",void 0),z(this,"messageSended",void 0),z(this,"messageList",void 0),z(this,"chatInfo",void 0),z(this,"i18n",void 0),this.botId=r,this.conversationId=n,this.chatInfo=l,this.isAbort=!1,this.chatService=i,this.event=new or,this.messageList=[],this.userId=o,this.chatId="",this.connectorId=a,this.sectionId=s,this.i18n=u,this.messageSended={id:"",role:lh.User,conversation_id:this.conversationId,section_id:this.sectionId,bot_id:this.botId,chat_id:"",localId:nB(),meta_data:{},content:"",content_type:"text",created_at:Date.now(),updated_at:Date.now(),type:"question"}},[{key:"sendMessage",value:function(e,t){throw Error("Un implement sendMessage")}},{key:"on",value:function(e,t){this.event.on(e,t)}},{key:"off",value:function(e,t){this.event.off(e,t)}},{key:"emit",value:function(e,t){e===nI.ReceiveComplete?this.close(t):this.event.trigger(e,t)}},{key:"close",value:function(e){if(this._clearTimeout(),this.isAbort)return!1;var t=e||{messages:this.messageList,status:"complete"};return this.isAbort=!0,this.event.trigger(nI.ReceiveComplete,t),this.event.trigger(nI.Close,t),this.event.off(),!0}},{key:"break",value:function(){this.close()}},{key:"sendStartMessage",value:function(e){this.packMessage(e),this.sendProcessEvent()}},{key:"packMessage",value:function(e){this.messageSended=G(G({},this.messageSended),{content:e.content,content_type:e.content_type,isAudioTranslatingToText:e.isAudioTranslatingToText}),this.messageList=[this.messageSended]}},{key:"sendBreakEvent",value:function(){this.emit(nI.ReceiveComplete,{status:"break",messages:this.messageList})}},{key:"sendProcessEvent",value:function(){o_.debug("[dev] in_process",this.messageList[this.messageList.length-1].content),this.emit(nI.ReceiveMessage,{status:"in_process",messages:this.messageList})}},{key:"sendRequireActionEvent",value:function(e){this.emit(nI.RequireAction,{status:"action",messages:this.messageList,event:e})}},{key:"sendCompleteEvent",value:function(){this.emit(nI.ReceiveComplete,{status:"complete",messages:this.messageList})}},{key:"sendErrorEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new lJ(-1,"瀵硅瘽澶辫触");this.emit(nI.ReceiveComplete,{status:"error",messages:this.messageList,error:e})}},{key:"_checkTimeout",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21e4;this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout(function(){o_.error("send message timeout"),e.sendErrorEvent(new lJ(-1,"timeout"))},t)}},{key:"_clearTimeout",value:function(){this.timeoutId&&clearTimeout(this.timeoutId)}}]))),__=oI||oC||oE,_v=function(e){if(!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:__))throw o_.error("not support sync send message"),Error("not support sync send message");return new _m(e)},_b=function(){var e,t,n,r,i=_U(function(e){return{setSendMessageService:e.setSendMessageService,conversationId:e.id,sectionId:e.sectionId,popLastErrorChatGroup:e.popLastErrorChatGroup}}),o=i.setSendMessageService,a=i.conversationId,s=i.sectionId,l=i.popLastErrorChatGroup,u=_G(),c=_F(function(e){return e.info}),d=_j(function(e){return e.id}),p=_z(function(e){return{setIsDeleting:e.setIsDeleting,getOpDisabledState:e.getOpDisabledState}}),h=p.getOpDisabledState,f=p.setIsDeleting,g=_j(function(e){return e.info}),m=_Z(function(e){return e.setTaskList}),_=_R(function(e){return{connectorId:e.connectorId,chatService:e.chatService}}),v=_.connectorId,b=_.chatService,y=_W(function(e){return e.event}),w=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t||null===(t=t.message)||void 0===t?void 0:t.onRequiresAction}),S=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t||null===(t=t.input)||void 0===t?void 0:t.checkCanSendMessage}),A=uR((e=eo(er().mark(function e(t,n){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!h().clearMessage){e.next=3;break}return e.abrupt("return");case 3:if(d&&a){e.next=5;break}return e.abrupt("return");case 5:if(!S){e.next=11;break}return e.next=8,S(t);case 8:if(e.t0=e.sent,!1!==e.t0){e.next=11;break}return e.abrupt("return",!1);case 11:m({taskList:[]}),f(!0),(r=_v({botId:d,chatService:b,conversationId:a,userId:(null==c?void 0:c.id)||"",connectorId:v,sectionId:s,chatInfo:g||void 0,i18n:u})).on(nI.RequireAction,function(e){null==w||w({extra:{requireAction:e.event}})}),r.on(nI.Close,function(){f(!1)}),r.on(nI.ReceiveComplete,function(e){var t;e.error&&us({content:(null===(t=e.error)||void 0===t?void 0:t.getErrorMessageByI18n(u,{}))||u.t("sendFailed"),icon:"error",duration:2e3},y)}),o(r),r.sendRawMessage(t,n);case 19:case"end":return e.stop()}},e)})),function(t,n){return e.apply(this,arguments)})),T=(0,Z.useCallback)((t=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({type:nE.TEXT,data:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),[A]),x=(0,Z.useCallback)((n=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({type:nE.FILE,data:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)}),[A]),k=(0,Z.useCallback)((r=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({type:nE.AUDIO,data:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)}),[A]),M=(0,Z.useCallback)(eo(er().mark(function e(){var t,n,r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(n=l())||null===(t=n.query)||void 0===t||!t.rawMessage){e.next=5;break}return e.next=4,A(null==n||null===(r=n.query)||void 0===r?void 0:r.rawMessage);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e)})),[A]);return{sendMessage:A,sendTextMessage:T,sendFileMessage:x,sendAudioMessage:k,reSendLastErrorMessage:M}},_y=function(){var e=_U(function(e){return{conversationId:e.id,setSectionId:e.setSectionId}}),t=e.conversationId,n=e.setSectionId,r=_z(function(e){return{setIsClearingContext:e.setIsClearingContext,getOpDisabledState:e.getOpDisabledState}}),i=r.getOpDisabledState,o=r.setIsClearingContext,a=_W(function(e){return e.event}),s=_W(function(e){return e.event}),l=_R(function(e){return e.chatService}),u=_G();return{clearContext:(0,Z.useCallback)(eo(er().mark(function e(){var r;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=i().clearContext,t){e.next=4;break}return o_.error("clearContext, conversationId is empty"),e.abrupt("return");case 4:if(!r){e.next=6;break}return e.abrupt("return");case 6:return o(!0),s.trigger(nM.ChatSlotScrollToAnchorBottom),e.prev=8,e.next=11,l.createNewSection(t);case 11:n(e.sent.sectionId),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(8),us({content:u.t("clearContextFailed"),icon:"error"},a);case 19:s.trigger(nM.ChatSlotRemoveAnchorBottom),o(!1);case 21:case"end":return e.stop()}},e,null,[[8,16]])})),[t,a])}},_w=$(function e(t){var n=t.apiClient,r=t.connectorId,i=t.appId,o=t.chatType;Q(this,e),z(this,"apiClient",void 0),z(this,"connectorId",void 0),z(this,"appId",void 0),z(this,"chatType",void 0),this.apiClient=n,this.connectorId=r||"999",this.appId=i,this.chatType=o},[{key:"createNewConversation",value:(f=eo(er().mark(function e(){var t,n,r,i;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.apiClient.conversations.create({bot_id:this.appId,connector_id:this.connectorId});case 2:return n=(t=e.sent).id,i=void 0===(r=t.last_section_id)?"":r,e.abrupt("return",{conversationId:n,sectionId:i});case 7:case"end":return e.stop()}},e,this)})),function(){return f.apply(this,arguments)})},{key:"createNewSection",value:(d=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.apiClient.conversations.clear(t||"");case 2:return n=e.sent.id,e.abrupt("return",{sectionId:n});case 5:case"end":return e.stop()}},e,this)})),function(e){return d.apply(this,arguments)})},{key:"getAppInfo",value:(c=eo(er().mark(function e(){var t,n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.apiClient.bots.retrieve({bot_id:this.appId,connector_id:this.connectorId});case 3:return t=e.sent,e.abrupt("return",G({appId:this.appId,type:this.chatType},t));case 7:throw e.prev=7,e.t0=e.catch(0),new lJ((n=e.t0).code||-1,n.message);case 11:case"end":return e.stop()}},e,this,[[0,7]])})),function(){return c.apply(this,arguments)})},{key:"getOrCreateConversationId",value:(u=eo(er().mark(function e(){var t,n,r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.apiClient.get("/v1/conversations",{bot_id:this.appId,connector_id:this.connectorId,page_num:1,page_size:1});case 2:if(i=(r=(null==(n=e.sent.data)||null===(t=n.conversations)||void 0===t?void 0:t[0])||{}).id,o=r.last_section_id,i){e.next=9;break}return e.next=8,this.createNewConversation();case 8:return e.abrupt("return",e.sent);case 9:return e.abrupt("return",{conversationId:i,sectionId:o});case 10:case"end":return e.stop()}},e,this)})),function(){return u.apply(this,arguments)})},{key:"getMessageList",value:(l=eo(er().mark(function e(t){var n,r,i,o,a,s;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(e){var t=e.first_id;return{prevCursorId:e.last_id,nextCursorId:t,prevHasMore:e.has_more,nextHasMore:!1,messages:e.data.reverse()}},n=t.conversationId,r=t.prevCursorId,o=void 0===(i=t.limit)?20:i,e.prev=2,e.next=5,this.apiClient.conversations.messages.list(n,{after_id:r||void 0,limit:o});case 5:return a=e.sent,e.abrupt("return",s(a));case 9:return e.prev=9,e.t0=e.catch(2),o_.error("Get Message Error",e.t0),e.abrupt("return",{prevCursorId:void 0,nextCursorId:void 0,prevHasMore:!1,nextHasMore:!1,messages:[],error:new lJ(-1,"Get Message Error")});case 13:case"end":return e.stop()}},e,this,[[2,9]])})),function(e){return l.apply(this,arguments)})},{key:"asyncChat",value:function(e,t){return this.apiClient.chat.stream(e,t)}},{key:"upload",value:function(e,t){return this.apiClient.files.upload(e,t)}},{key:"translation",value:(s=eo(er().mark(function e(t,n){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.apiClient.audio.transcriptions(t,n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return s.apply(this,arguments)})},{key:"audioSpeech",value:(a=eo(er().mark(function e(t){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.apiClient.audio.speech.create(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"handleErrorCode",value:(o=eo(er().mark(function e(t){var n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=this.apiClient).isAuthErrorCode(t)){e.next=5;break}return e.next=4,n.refreshToken(n.token);case 4:return e.abrupt("return",e.sent);case 5:return e.abrupt("return","");case 6:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)})}]),_S=function(e){return Object.fromEntries(Object.entries({name:e.name,description:e.description,icon_url:e.icon_url,onboarding_info:e.onboarding_info,bgInfo:e.bgInfo,voiceInfo:e.voiceInfo,suggestPromoteInfo:e.suggestPromoteInfo}).filter(function(e){var t=eu(e,2);return t[0],!!t[1]}))},_A=function(e,t){var n,r,i,o,a,s,l,u,c,d=(null===(n=t.onboarding_info)||void 0===n||null===(n=n.suggested_questions)||void 0===n?void 0:n.filter(function(e){return!!e}))||[];return G(G(G({},e),t),{},{onboarding_info:{display_all_suggestions:null!==(r=null===(i=t.onboarding_info)||void 0===i?void 0:i.display_all_suggestions)&&void 0!==r?r:null===(o=e.onboarding_info)||void 0===o?void 0:o.display_all_suggestions,prologue:null!==(a=t.onboarding_info)&&void 0!==a&&a.prologue?null===(s=t.onboarding_info)||void 0===s?void 0:s.prologue:null===(l=e.onboarding_info)||void 0===l?void 0:l.prologue,suggested_questions:null===(u=null!=d&&d.length?d:null===(c=e.onboarding_info)||void 0===c?void 0:c.suggested_questions)||void 0===u?void 0:u.filter(function(e){return!!e})}})},_T=function(){var e=m9(),t=(0,Z.useMemo)(function(){var t,n,r;return r=_S(n=({chat:e.chat}).chat),_d()(function(e){return{id:n.appId,type:n.type,info:null,isLoading:!0,error:null,setIsLoading:function(t){e({isLoading:t,error:null})},setChatInfo:function(n){t=n,o_.debug("setChatInfo",{initInfo:n,customChatInfo:r}),e({error:null,isLoading:!1,info:_A(t,r)})},setCustomChatInfo:function(n){r=_S(n),t&&(o_.debug("setCustomChatInfo",{oldInfo:t,customChatInfo:r}),e({info:_A(t,r)}))},setError:function(t){e({isLoading:!1,error:t})}}})},[]);return uN(function(){o_.debug("useCreateChatInfoStore update chat props: ",e.chat),t.getState().setCustomChatInfo(e.chat)},[e.chat]),t},_x=function(e){var t=[];return e.map(function(e){var n=nB(),r=e.chat_id,i=e.type;if(t.length>0){var o=t[t.length-1],a=o.chatId;if("question"!==i&&a&&a===r)return void o.respMessages.push(e)}"question"!==i?t.push({id:n,chatId:r,respMessages:[e],sectionId:e.section_id}):t.push({id:n,chatId:r,query:e,respMessages:[],sectionId:e.section_id})}),t},_k=function(e,t){var n=e[e.length-1],r=t[0];return null!=r&&r.query||!r||(null==n?void 0:n.chatId)!==(null==r?void 0:r.chatId)&&null!=n&&n.chatId||(n.chatId=null==r?void 0:r.chatId,t.shift(),n.respMessages=[].concat((0,ef.A)(n.respMessages),(0,ef.A)(r.respMessages)),e[e.length-1]=G({},n)),[].concat((0,ef.A)(e),(0,ef.A)(t))},_M={id:"",sectionId:"",chatMessageGroups:[],prevCursorId:"",prevHasMore:!1,prevError:void 0,nextCursorId:"",nextHasMore:!1,nextError:void 0,sendMessageService:void 0,inProcessChatMessageGroup:void 0,isUnshiftingMessageFlag:!1},_P=function(){var e,t=m9(),n=(0,Z.useMemo)(function(){var e,n;return n=null==(e=t.eventCallbacks)?void 0:e.message,_d()(function(e,t){var r=function(){e(G({},_M)),t().closeSendMessage()};return G(G({},_M),{},{setEventCallbacksAboutMessage:function(e){n=e},setConversationDetail:function(t,n){r(),e(G(G({},t),{},{chatMessageGroups:_x(n)}))},setNewConversationId:function(t){r(),e({id:t})},setSectionId:function(t){e({sectionId:t})},pushMessageList:function(n){e({chatMessageGroups:_k(t().chatMessageGroups,_x(n))})},unshiftMessageList:function(n,r){var i,o,a=t().chatMessageGroups;if(n!==t().id)return null;!a[0]||null!=a&&null!==(i=a[0])&&void 0!==i&&i.query||(o=a.shift());var s=_k(_x(r),o?[o]:[]);e({isUnshiftingMessageFlag:!0,chatMessageGroups:[].concat((0,ef.A)(s),(0,ef.A)(a))})},setPrevInfo:function(t,n){e({prevError:void 0,prevHasMore:t,prevCursorId:n})},setNextInfo:function(t,n){e({nextError:void 0,nextHasMore:t,nextCursorId:n})},isShowOnBoarding:function(){var e=t(),n=e.chatMessageGroups,r=e.inProcessChatMessageGroup;return 0===n.length&&!r},clearUnshiftingMessageFlg:function(t){e({scrollTop:t,isUnshiftingMessageFlag:!1})},setPrevError:function(t){e({prevError:t})},setNextError:function(t){e({nextError:t})},setSendMessageService:function(r){e({sendMessageService:r});var i=nB();r.on(nI.ReceiveMessage,function(t){var n=_x(t.messages)[0];o_.debug("[dev] ReceiveMessage",t.messages[t.messages.length-1].content),n.id=i,n.isAWaiting=!0,e({inProcessChatMessageGroup:n})}),r.on(nI.ReceiveComplete,function(r){var o,a,s=r.messages,l=r.error;e({inProcessChatMessageGroup:void 0});var u=t().chatMessageGroups,c=r.messages;1===s.length&&l&&(c=[G(G({},s[0]),{},{error:l})]);var d=_x(c)[0];d.id=i,d.sectionId,d.sectionId?t().setSectionId(d.sectionId||""):d.sectionId=t().sectionId,null===(o=n)||void 0===o||null===(a=o.afterMessageReceivedFinish)||void 0===a||a.call(o,{extra:{processChatMessageGroup:d}}),e({chatMessageGroups:_k(u,[d])})}),r.on(nI.Close,function(){e({inProcessChatMessageGroup:void 0,sendMessageService:void 0})})},closeSendMessage:function(){var e=t().sendMessageService;null==e||e.close()},popLastErrorChatGroup:function(){var n,r,i=t().chatMessageGroups;if(null!==(n=i[i.length-1])&&void 0!==n&&null!==(n=n.query)&&void 0!==n&&n.error&&null!==(r=i[i.length-1])&&void 0!==r&&null!==(r=r.query)&&void 0!==r&&r.rawMessage){var o=i.pop();return e({chatMessageGroups:i}),o||null}return null}})})},[]);return uN(function(){var e;n.getState().setEventCallbacksAboutMessage(null==t||null===(e=t.eventCallbacks)||void 0===e?void 0:e.message)},[null==t||null===(e=t.eventCallbacks)||void 0===e?void 0:e.message]),n},_I=function(){var e,t=m9(),n=(0,Z.useMemo)(function(){var e,n;return n=({isReadonly:null===(e=t.ui)||void 0===e?void 0:e.isReadonly}).isReadonly,_d()(function(e,t){var r=function(e){return function(){var n=e.apply(void 0,arguments);return t().setOpDisabledState(),n}};return{isReadonly:n||!1,isDeleting:!1,isSendingMsg:!1,isClearingContext:!1,isAudioRecording:!1,disableState:{clearMessage:n||!1,clearContext:n||!1,input:n||!1},setIsReadonly:r(function(t){e({isReadonly:t})}),setIsAudioRecording:r(function(t){e({isAudioRecording:t})}),setIsDeleting:r(function(t){e({isDeleting:t})}),setIsSendingMsg:r(function(t){e({isSendingMsg:t})}),setIsClearingContext:r(function(t){e({isClearingContext:t})}),setOpDisabledState:function(){e({disableState:t().getOpDisabledState()})},getOpDisabledState:function(){var e=t(),n=e.isDeleting,r=e.isSendingMsg,i=e.isClearingContext,o=e.isReadonly,a=n||r||i;return{clearMessage:o||a,input:o||a,clearContext:o||a}}}})},[]);return uN(function(){var e;n.getState().setIsReadonly(!(null===(e=t.ui)||void 0===e||!e.isReadonly))},[null===(e=t.ui)||void 0===e?void 0:e.isReadonly]),n},_E=function(){var e=m9(),t=(0,Z.useMemo)(function(){var t,n;return n={id:(null==(t=({user:null==e?void 0:e.user}).user)?void 0:t.id)||nB()},_d()(function(e){return{info:G(G({},n),t),setUserInfo:function(t){e({info:G(G({},n),t||{})})}}})},[]);return uN(function(){t.getState().setUserInfo(e.user),o_.debug("useCreateUserInfoStore in userUpdateEffect",e.user)},[e]),t},_C=function(){var e=m9(),t=(0,Z.useMemo)(function(){var t;return t=e,o_.debug("createChatPropsStore",t),_d()(function(e){return G(G({},t),{},{setChatProps:function(t){e(G({},t))}})})},[]);return uN(function(){t.getState().setChatProps(e),o_.debug("useCreateChatPropsStore props Change",e)},[e]),t},_O=function(){var e=(0,Z.useMemo)(function(){return _d()(function(e,t){return{event:new or,getEvent:function(){return t().event}}})},[]);return(0,Z.useEffect)(function(){return function(){e.getState().event.off()}},[]),e},_D=((g=_D||{})[g.ApiClientStore=0]="ApiClientStore",g[g.ChatInfoStore=1]="ChatInfoStore",g[g.ConversationStore=2]="ConversationStore",g[g.ChatStatusStore=3]="ChatStatusStore",g[g.UserInfoStore=4]="UserInfoStore",g[g.I18n=5]="I18n",g[g.ChatPropsStore=6]="ChatPropsStore",g[g.UiEvent=7]="UiEvent",g[g.ChatInputStore=8]="ChatInputStore",g),_L=(0,Z.createContext)(z(z(z(z(z(z(z(z(z({},_D.ApiClientStore,null),_D.ChatInfoStore,null),_D.ConversationStore,null),_D.ChatStatusStore,null),_D.UserInfoStore,null),_D.I18n,null),_D.ChatPropsStore,null),_D.UiEvent,null),_D.ChatInputStore,null)),_B=(_L.Provider,function(e){var t=e.children,n=m9(),r=n.auth,i=n.chat,o=n.setting;o_.setLoglevel(null==o?void 0:o.logLevel);var a=(0,Z.useMemo)(function(){var e,t,n,a,s,l,u,c,d,p,h,f,g,m,_;return t=(e={auth:r,setting:o,chat:i}).auth,n=e.setting,a=e.chat,s=t.token,l=t.onRefreshToken,c=void 0===(u=t.connectorId)?"999":u,p=(d=n||{}).apiBaseUrl,h=d.requestHeader,f=d.onGetCustomChatService,m={apiClient:g=new l5({token:s,allowPersonalAccessTokenInBrowser:!0,baseURL:p,axiosOptions:{headers:G({},void 0===h?{}:h)},debug:o_.isDebug(),onRefreshToken:l}),connectorId:c,appId:a.appId,chatType:a.type},_=(null==f?void 0:f(m))||new _w(m),_d()(function(e,t){return{connectorId:c,apiClient:g,chatService:_,getSetting:function(){return n}}})},[]),s=_T(),l=_P(),u=_I(),c=_E(),d=_C(),p=_O(),h=(0,Z.useMemo)(function(){return _d()(function(e){return{taskList:[],setInputValue:function(e){o_.error("setInputValue is not implemented",e)},initSetInputValueFunc:function(t){e({setInputValue:t})},setTaskList:function(t){e({taskList:(null==t?void 0:t.taskList)||[]})}}})},[]),f=(0,Z.useMemo)(function(){return(null==o?void 0:o.i18n)||new uD((null==o?void 0:o.language)||nC.ZH_CN)},[]),g=(0,Z.useMemo)(function(){return z(z(z(z(z(z(z(z(z({},_D.ApiClientStore,a),_D.ChatInfoStore,s),_D.ConversationStore,l),_D.ChatStatusStore,u),_D.UserInfoStore,c),_D.I18n,f),_D.ChatPropsStore,d),_D.UiEvent,p),_D.ChatInputStore,h)},[]);return o_.debug("ChatFramework props:",n),(0,uC.jsx)(_L.Provider,{value:g,children:t})}),_N=function(){return uB(_L)},_R=function(e){return _r(_N()[_D.ApiClientStore],e,_i)},_j=function(e){return _r(_N()[_D.ChatInfoStore],e,_i)},_U=function(e){return _r(_N()[_D.ConversationStore],e,_i)},_z=function(e){return _r(_N()[_D.ChatStatusStore],e,_i)},_F=function(e){return _r(_N()[_D.UserInfoStore],e,_i)},_G=function(){return _N()[_D.I18n]},_q=function(e){return _r(_N()[_D.ChatPropsStore],e,_i)},_W=function(e){return _r(_N()[_D.UiEvent],e,_i)},_Z=function(e){return _r(_N()[_D.ChatInputStore],e,_i)},_H=["children"],_V=function(e){var t=e.children,n=R(e,_H);return(0,uC.jsx)(m8,G(G({},n),{},{children:(0,uC.jsx)(_B,{children:t})}))},_Q=function(){var e=_q(function(e){return e.chat.bgInfo}),t=_j(function(e){var t;return null===(t=e.info)||void 0===t?void 0:t.bgInfo});return e||t},_Y=function(){var e=_Q();return null!=e&&e.pc&&null!=e&&e.mobile?"bg-theme":"light"},_$=function(){return"mobile"==("mobile"===_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.layout})?"mobile":"pc")},_K=function(){var e=_j(function(e){return{isLoading:e.isLoading,error:e.error}}),t=e.isLoading,n=e.error;return!1===t&&!n},_X=function(){var e=_q(function(e){var t,n;return o_.debug("ChatSlot useChatPropsStore...",null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t||null===(t=t.base)||void 0===t?void 0:t.maxWidth),null===(n=e.ui)||void 0===n||null===(n=n.chatSlot)||void 0===n||null===(n=n.base)||void 0===n?void 0:n.maxWidth});if(e){var t=Number(e);if(t)return Math.max(300,t)}},_J=((m={}).Text="text",m.Voice="voice",m),_0=function(){return _q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t||null===(t=t.input)||void 0===t?void 0:t.isNeedAudio})||!1},_1=function(){for(var e,t,n,r=_j(function(e){var t;return null===(t=e.info)||void 0===t?void 0:t.voiceInfo}),i=_G().language===nC.ZH_CN?["zh","en"]:["en","zh"],o=0;o<i.length;o++)null!=r&&null!==(e=r.voiceConfigMap)&&void 0!==e&&null!==(e=e[i[o]])&&void 0!==e&&e.voice_id&&(n=null==r||null===(t=r.voiceConfigMap)||void 0===t||null===(t=t[i[o]])||void 0===t?void 0:t.voice_id);return o_.debug("useVoiceId voiceInfo:",r,n),n},_2=function(){var e=_j(function(e){var t;return null===(t=e.info)||void 0===t?void 0:t.voiceInfo}),t=_1();return o_.debug("useIsNeedAudioInput info:",{voiceId:t,isNeedTextToAudio:t&&!(null==e||!e.isTextToVoiceEnable)||!1}),t&&!(null==e||!e.isTextToVoiceEnable)||!1},_4=function(e){var t=e.errorText;return(0,uC.jsxs)(dC,{gap:4,horizontalCenter:!0,children:[(0,uC.jsx)(dV,{}),(0,uC.jsx)(nS,{className:"index-module__text___PgILC",children:t})]})},_3=function(e){var t=e.onClick,n=e.retryText;return(0,uC.jsx)(nS,{onClick:t,className:"index-module__retry___LJ9KD",children:n})},_5=function(e){var t=eu((0,Z.useState)(e.src),2),n=t[0],r=t[1];return uN(function(){r(e.src)},[e.src]),(0,uC.jsx)(nv,G(G({onError:function(){o_.error("CImage onError",e.src),r("")}},e),{},{src:n,className:W()(e.className,z({},"index-module__image-error___WfR7_",!n))}))},_6=function(e){var t=e.suggestions,n=e.onClickSuggestion,r=e.isVertical,i=e.isDisplayAll;return(0,uC.jsx)(dC,{gap:8,vertical:void 0===r||r,className:W()("index-module__suggestion-list___TVqVz"),children:t.slice(0,void 0!==i&&i?t.length:3).map(function(e,t){return(0,uC.jsx)(mP,{className:"index-module__suggestion___jB3n6",text:e,canClick:!1,selectable:!1,onClick:function(){null==n||n(e)}},t)})})},_8=function(e){var t=e.content,n=e.isComplete,r=void 0===n||n,i=e.onImageClick,o=e.taskDisabled,a=e.onTaskChange,s=e.className,l=eu((0,Z.useState)(!r),2),u=l[0],c=l[1],d=_G(),p=uR(function(){!1!==u&&c(!1)});return uN(function(){p()},[r]),(0,uC.jsx)(mT,{className:s,markdown:t,isSmooth:u,isFinish:r,onMarkdownEnd:p,theme:"light",onImageClick:i,onTaskChange:a,taskDisabled:o,language:d.language,debug:o_.isDebug()})},_9=function(e){var t=e.reasoningContent,n=e.content,r=e.isComplete,i=void 0===r||r,o=e.className,a=e.onImageClick,s=e.taskDisabled,l=e.onTaskChange,u=(0,Z.useMemo)(function(){return t?t.trim().replace(/^/gm,"> "):""},[t]);return(0,uC.jsxs)(mx,{isNeedBorder:!1,className:W()("index-module__markdown___QDXQh",o),children:[u?(0,uC.jsx)(_8,{onImageClick:a,taskDisabled:!0,className:"index-module__reason____DntH",isComplete:i||!!n,content:u}):null,!u||n?(0,uC.jsx)(_8,{isComplete:i,onImageClick:a,onTaskChange:l,taskDisabled:s,content:n}):null]})},_7=function(e){var t,n,r,i,o=e.chat,a=e.user,s=e.onClickSuggestion,l=e.onImageClick,u=_q(function(e){var t;return null===(t=e.setting)||void 0===t?void 0:t.cdnBaseUrlPath}),c=(0,Z.useMemo)(function(){var e,t=((null==o||null===(e=o.onboarding_info)||void 0===e?void 0:e.prologue)||"").replaceAll("{{user_name}}",(null==a?void 0:a.name)||"");return"\n"!==t?t:""},[null==o||null===(t=o.onboarding_info)||void 0===t?void 0:t.prologue]),d=!(c||null!=o&&null!==(n=o.onboarding_info)&&void 0!==n&&null!==(n=n.suggested_questions)&&void 0!==n&&n.length),p=_$();return o_.debug("OnBoarding props",c,o),(0,uC.jsxs)(nT,{className:W()("index-module__container___B89_T",z({},"index-module__vertical-center___WsKLz",d)),children:[(0,uC.jsxs)(nT,{className:"index-module__info-container___frTpR",children:[(0,uC.jsx)(_5,{src:(null==o?void 0:o.icon_url)||uE(u,"assets/imgs/coze-logo.png"),className:"index-module__app-avatar___QfDDx",mode:"aspectFill"}),(0,uC.jsx)(nS,{className:"index-module__chat-name___B7ksu",overflow:"ellipsis",numberOfLines:1,maxLines:1,children:(null==o?void 0:o.name)||""}),(0,uC.jsx)(mO,{fallbackNode:(0,uC.jsx)(uC.Fragment,{}),children:c?(0,uC.jsx)(_9,{content:c,isComplete:!0,className:"index-module__prologue___OU8J6",onImageClick:l}):null})]}),(0,uC.jsx)(_6,{suggestions:(null==o||null===(r=o.onboarding_info)||void 0===r?void 0:r.suggested_questions)||[],onClickSuggestion:s,isDisplayAll:null==o||null===(i=o.onboarding_info)||void 0===i?void 0:i.display_all_suggestions,isVertical:p})]})},ve=p(11),vt=function(e){var t=e.children,n=e.accept,r=e.onChooseFile,i=e.frameEventTarget,o=(0,Z.useRef)(null);return(0,uC.jsxs)(nT,{className:"index-module__container___wPi7Z",children:[oI&&(0,uC.jsx)("input",{type:"file",multiple:!1,accept:n,autoComplete:"off",tabIndex:-1,className:"index-module__input___RqbAW",onChange:function(e){var t=e.target.files;if(r&&t&&t.length>0){var n,i=[],o=rm(t);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=nD(a);i.push({from:"H5_Input_Chooser",type:s,size:a.size,file:a,tempFilePath:URL.createObjectURL(a)})}}catch(e){o.e(e)}finally{o.f()}null==r||r(i)}e.target.value=""},ref:o}),(0,uC.jsx)(nT,{onClick:function(){var e,t;if(oI)o.current&&(null===(e=o.current)||void 0===e||null===(t=e.click)||void 0===t||t.call(e));else try{!function(e){r_(this,arguments,void 0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"chooseMedia";return er().mark(function n(){var r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k;return er().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.8,i=document.createElement("canvas");if(t>256||n>256){var o=t/n;o>1?n=(t=256)/o:t=(n=256)*o}i.height=t,i.width=n;var a=i.getContext("2d");return null==a||a.drawImage(e,0,0,i.width,i.height),i.toDataURL("image/jpeg",r)},x=function(e){var t={tempFilePath:URL.createObjectURL(e),size:e.size,duration:0,height:0,width:0,thumbTempFilePath:"",fileType:e.type,originalFileObj:e};if(/^video\//.test(t.fileType)){var n=document.createElement("video"),r=new FileReader;return n.crossOrigin="Anonymous",n.preload="metadata",n.src=t.tempFilePath,new Promise(function(e,i){r.onload=function(e){var n;t.tempFilePath=null===(n=e.target)||void 0===n?void 0:n.result},r.onerror=function(e){return i(e)},r.readAsDataURL(t.originalFileObj),n.onloadedmetadata=function(){t.duration=n.duration,t.height=n.videoHeight,t.width=n.videoWidth},n.oncanplay=function(){t.thumbTempFilePath=k(n,t.height,t.width,.8),e(t)},n.onerror=function(e){return i(e)}})}var i=new Image;return i.crossOrigin="Anonymous",i.src=t.tempFilePath,new Promise(function(e,n){i.complete?(t.height=i.height,t.width=i.width,t.thumbTempFilePath=k(i,t.height,t.width,.8),e(t)):(i.onload=function(){t.height=i.height,t.width=i.width,t.thumbTempFilePath=k(i,t.height,t.width,.8),e(t)},i.onerror=function(e){return n(e)})})},(i=rl(e)).flag){n.next=7;break}return o={errMsg:"".concat(t,":fail ").concat(i.msg)},console.error(o.errMsg),n.abrupt("return",Promise.reject(o));case 7:if(a=e.count,s=void 0===a?9:a,l=e.mediaId,u=void 0===l?"taroChooseMedia":l,c=e.mediaType,d=void 0===c?["image","video"]:c,p=e.sourceType,h=void 0===p?["album","camera"]:p,f=e.camera,g=void 0===f?"back":f,m=e.success,_=e.fail,v=e.complete,b=new ra({name:t,success:m,fail:_,complete:v}),y=d.length<1||d.indexOf("image")>-1,w=d.length<1||d.indexOf("video")>-1,S={tempFiles:[],type:y&&w?"mix":y?"image":"video"},!s||"number"==typeof s){n.next=15;break}return S.errMsg=ru({para:"count",correct:"Number",wrong:s}),n.abrupt("return",b.fail(S));case 15:if((A=document.getElementById(u))||((A=document.createElement("input")).setAttribute("type","file"),A.setAttribute("id",u),A.setAttribute("style","position: fixed; top: -4000px; left: -3000px; z-index: -300;")),s>1?A.setAttribute("multiple","multiple"):A.removeAttribute("multiple"),!(0,ve.isMobile)()||!(h.length>1||h.length<1)){n.next=31;break}return n.prev=20,n.next=23,ua({itemList:["鎷嶆憚","浠庣浉鍐岄€夋嫨"]},t);case 23:T=n.sent.tapIndex,h.splice(0,h.length,0===T?"camera":"album"),n.next=31;break;case 28:return n.prev=28,n.t0=n.catch(20),n.abrupt("return",b.fail({errMsg:null===(r=n.t0.errMsg)||void 0===r?void 0:r.replace("^.*:fail ","")}));case 31:return h.includes("camera")?A.setAttribute("capture","front"===g?"user":"environment"):A.removeAttribute("capture"),"image"===S.type?A.setAttribute("accept","image/*"):"video"===S.type?A.setAttribute("accept","video/*"):A.setAttribute("accept","image/*, video/*"),n.abrupt("return",new Promise(function(e,t){A&&(document.body.appendChild(A),A.onchange=function(n){return r_(this,void 0,void 0,er().mark(function r(){var i,o,a,s=this;return er().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(i=n.target)){r.next=6;break}return o=i.files||[],a=(0,ef.A)(o),r.next=6,Promise.all(a.map(function(e){return r_(s,void 0,void 0,er().mark(function t(){var n;return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,null!==(n=S.tempFiles)&&void 0!==n){t.next=5;break}t.next=10;break;case 5:return t.t0=n,t.next=8,x(e);case 8:t.t1=t.sent,t.t0.push.call(t.t0,t.t1);case 10:t.next=15;break;case 12:t.prev=12,t.t2=t.catch(0),console.error(t.t2);case 15:case"end":return t.stop()}},t,null,[[0,12]])}))}));case 6:b.success(S,{resolve:e,reject:t}),i.value="";case 8:case"end":return r.stop()}},r)}))},A.onabort=function(){return b.fail({errMsg:"abort"},{resolve:e,reject:t})},A.oncancel=function(){return b.fail({errMsg:"cancel"},{resolve:e,reject:t})},A.onerror=function(n){return b.fail({errMsg:n.toString()},{resolve:e,reject:t})},A.click())}).finally(function(){A&&document.body.removeChild(A)}));case 34:case"end":return n.stop()}},n,null,[[20,28]])})()})}({count:1,mediaType:["image"],sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){o_.debug("chooseMedia success:",e);var t=e.tempFiles.map(function(e){return{from:"Taro_Image_Chooser",type:"image"===e.fileType||"image"===e.mediaType?nP.IMAGE:nP.VIDEO,size:e.size,tempFilePath:e.tempFilePath,file:{filePath:e.tempFilePath}}});null==r||r(t)},fail:function(e){o_.error("chooseMedia fail:",e),e.errMsg.includes("cancel")||us({content:"閫夋嫨鏂囦欢澶辫触: ".concat(e.errMsg),icon:"error"},i)}})}catch(e){o_.error("chooseMedia error:",e)}},children:t})]})},vn=function(e){var t=e.onSendFileMessage,n=e.frameEventTarget,r=e.disabled;return(0,uC.jsx)(dO,{disabled:r,children:(0,uC.jsx)(vt,{accept:".doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.numbers,.csv,.jpg,.jpg2,.jpeg,.png,.gif,.webp,.heic,.heif,.bmp,.pcd,.tiff,.wav,.mp3,.flac,.m4a,.aac,.ogg,.wma,.midi,.mp4,.avi,.mov,.3gp,.3gpp,.flv,.webm,.wmv,.rmvb,.m4v,.mkv,.rar,.zip,.7z,.gz,.gzip,.bz2,.cpp,.py,.java,.c,image/*",onChooseFile:function(e){null==t||t(e)},frameEventTarget:n,children:(0,uC.jsx)(m$,{hoverTheme:"hover",type:"circle-btn",border:"none",children:(0,uC.jsx)(dH,{className:"index-module__file-btn___k_cy5"})})})})},vr="index-module__placeholder___I3qGL",vi=["onSendTextMessage","onInputChange","placeholder"],vo=function(e){var t=e.onSendTextMessage,n=e.onInputChange,r=e.placeholder,i=R(e,vi),o=eu((0,Z.useState)(0),2),a=o[0],s=o[1],l=i.value,u=i.id,c=uR(function(e){return"".concat(20*Math.max(1,e),"px")}),d=uR(function(e){if(n(e),oI){var t=f();if(t){t.style.height="0px";var r=Math.floor((Number(null==t?void 0:t.scrollHeight)||0)/20);t.style.height="inherit",s(r)}}}),p=va({inputId:void 0===u?"":u,onSendTextMessage:t,handleInputChange:d}),h=p.onInputInit,f=p.getInputElInWeb;return(0,Z.useEffect)(function(){l||s(0)},[l]),(0,uC.jsx)(nT,{className:"index-module__input-padding-container___Bbhmi",children:(0,uC.jsxs)(nT,{className:"index-module__input-container___RsQeD",children:[(0,uC.jsx)(nT,{className:W()(vr,z({},"index-module__placeholder-hidden___xI9D0",!!l||!oO)),children:r}),(0,uC.jsx)(nA,G({className:"index-module__input___rkkoF",maxlength:-1,ref:h,showConfirmBar:!0,controlled:!0,cursorSpacing:20,placeholder:oO?void 0:r,placeholderClass:vr,style:{height:c(a)},onConfirm:function(){oO&&t()},onInput:function(e){console.log("onInputKeyDown: onInput ",e.detail.value),d(e.detail.value)},onLineChange:function(e){o_.debug("ChatInput onLineChange:",e),oI||s(e.detail.lineCount)}},i))]})})},va=function(e){var t=e.inputId,n=e.onSendTextMessage,r=e.handleInputChange,i=(0,Z.useRef)(),o=(0,Z.useRef)(!1),a=uR(function(){var e;return oI?null===(e=document.getElementById(t))||void 0===e?void 0:e.querySelector("textarea"):void 0}),s=uR(function(e){if(!o.current&&"Enter"===e.code){if(e.ctrlKey||e.metaKey||e.altKey){var t=e.target,i=null==t?void 0:t.selectionStart,a=null==t?void 0:t.selectionEnd,s=null==t?void 0:t.value;if(void 0!==i&&void 0!==a&&void 0!==s){e.preventDefault(),e.stopPropagation();var l=s.substring(0,i),u=s.substring(a);console.log("onInputKeyDown: start ",t.value),t.value="".concat(l,"\n").concat(u),t.selectionStart=i+1,t.selectionEnd=i+1,console.log("onInputKeyDown: end ",t.value),r(t.value)}}else e.shiftKey||(e.stopPropagation(),e.preventDefault(),n())}}),l=uR(function(){o.current=!0}),u=uR(function(){o.current=!1}),c=uR(function(){if(oI){var e=a();i.current=e,null==e||e.removeEventListener("compositionstart",l),null==e||e.removeEventListener("compositionend",u),null==e||e.removeEventListener("keydown",s),null==e||e.addEventListener("keydown",s),null==e||e.addEventListener("compositionstart",l),null==e||e.addEventListener("compositionend",u)}});return(0,Z.useEffect)(function(){if(oI)return function(){var e,t,n;null===(e=i.current)||void 0===e||e.removeEventListener("compositionstart",l),null===(t=i.current)||void 0===t||t.removeEventListener("compositionend",u),null===(n=i.current)||void 0===n||n.removeEventListener("keydown",s),i.current=void 0}},[]),{onInputInit:c,getInputElInWeb:a}},vs=function(e){var t=e.circleDiameter,n=void 0===t?4:t,r=e.circleColor,i=e.boxHeight,o=e.boxWidth,a=e.className;return(0,uC.jsx)(d9,{width:void 0===o?26:o,height:void 0===i?16:i,className:a,children:(0,uC.jsx)(nT,{style:{width:n,height:n,backgroundColor:void 0===r?"currentColor":r,borderRadius:n}})})},vl=function(e){var t=e.taskMessage||{},n=t.isShow,r=t.options,i=_G();return n?(0,uC.jsx)(nT,{className:"index-module__task-message-container___M9NGi",children:(0,uC.jsxs)(nT,{className:"index-module__content___T9j1r",children:[(0,uC.jsx)(nT,{children:i.t("taskMessageMyChoice")}),(0,uC.jsx)(nT,{children:(void 0===r?[]:r).map(function(e,t){return(0,uC.jsxs)(dC,{children:[(0,uC.jsx)(vs,{boxHeight:20,boxWidth:20}),(0,uC.jsx)(nS,{children:e})]},t)})})]})}):null},vu=function(e){var t=e.disabled,n=e.onClick;return(0,uC.jsx)(dO,{disabled:t,children:(0,uC.jsx)(m$,{hoverTheme:"hover",onClick:n,type:"circle-btn",border:"none",children:(0,uC.jsx)(dZ,{className:"index-module__send-btn___SL66C",theme:"dark"})})})},vc=function(e){var t=e.inputDisabled,n=e.onSendBtnClick,r=e.hasTextToSend,i=e.inputType,o=e.isNeedAudio,a=e.onKeyboardClick,s=e.onMicrophoneClick,l=e.focused;o_.debug("SendSwitchBtn",o);var u=o&&i===_J.Voice,c=!o||i===_J.Text&&!!r,d=o&&i===_J.Text&&!r;return(0,uC.jsxs)(uC.Fragment,{children:[u?(0,uC.jsx)(m$,{onClick:a,hoverTheme:"hover",type:"circle-btn",border:"none",children:(0,uC.jsx)(dJ,{className:"index-module__keyboard-icon___LXr74"})}):null,d?(0,uC.jsx)(m$,{onClick:s,hoverTheme:"hover",type:"circle-btn",border:"none",children:(0,uC.jsx)(d0,{className:"index-module__microphone-icon___Fw_1e"})}):null,c?(0,uC.jsx)(vu,{disabled:t||!r,onClick:n,focused:l}):null]})},vd=function(e,t){var n,r,i,o,a,s,l,u,c,d,p=(n=e,i=!1,o=(r=t).inputType,a=r.setInputType,s=r.isRecording,l=n.taskList,c=void 0!==(u=n.isNeedTaskMessage)&&u,(d=(0,Z.useMemo)(function(){var e=[];return null==l||l.map(function(t){e.push.apply(e,(0,ef.A)(t.taskValue||[]))}),e.filter(function(e){return!!e})},[l])).length>0&&o===_J.Text&&c&&(i=!0),uN(function(){!s&&o!==_J.Text&&c&&(null==a||a(_J.Text))},[l]),{isShowTaskMessage:i,taskOptions:d}),h=p.isShowTaskMessage;return{taskMessage:{isShow:h,options:p.taskOptions},isShowMultiModeMessage:h}},vp=rh("onKeyboardHeightChange"),vh=function(e){try{return window.navigator.vibrate(e)}catch(e){console.warn("褰撳墠娴忚鍣ㄤ笉鏀寔 vibrate銆")}},vf=function(e){var t=e.hideModal,n=_G(),r=_q(function(e){var t;return null===(t=e.setting)||void 0===t?void 0:t.cdnBaseUrlPath});return(0,uC.jsxs)(nT,{className:"index-module__container___SfRYH",children:[(0,uC.jsxs)(dC,{gap:4,verticalCenter:!0,children:[(0,uC.jsx)(nS,{className:"index-module__title___kZRIq",children:n.t("permissionMkfTitle")}),(0,uC.jsx)(dX,{})]}),(0,uC.jsx)(nS,{className:"index-module__desc___UNFu0",children:n.t("permissionMkfDesc")}),(0,uC.jsx)(nv,{preview:"false",mode:"widthFix",className:"index-module__img___z3iqh",src:uE(r,"assets/imgs/mkf-deny.png")}),(0,uC.jsx)(nT,{className:"index-module__btn-container___RgDEt",children:(0,uC.jsx)(mL,{onClick:t,className:"index-module__btn___ibo4u",children:n.t("permissionMkfBtnIKnown")})})]})},vg={container:"index-module__container___kgGPm",text:"index-module__text___PED4_",focused:"index-module__focused___KIJ2K",touching:"index-module__touching___OarQg",outside:"index-module__outside___n2r5q",audio:"index-module__audio___cG9YB",primary:"index-module__primary___Amf4k","tips-container":"index-module__tips-container___FiYRN","left-duration":"index-module__left-duration___o_A5i","outside-tips":"index-module__outside-tips___DyUTp","tips-text":"index-module__tips-text___Nc334"},vm=function(e){var t=e.isTouching,n=e.isOutside,r=e.leftDuration,i=e.triggerType,o=_G(),a="",s="touching-tips";return t&&(s="touching-tips",a="keyboard"===i?o.t("audioInputTooltipSend"):o.t("audioInputTooltipTouching")),r&&r<=10&&(s="time-limit-tips",a=o.t("audioInputTooltipTick",{duration:(0,uC.jsxs)(nS,{className:vg["left-duration"],children:[r," 藵"]})})),t&&n&&(s="outside-tips",a=o.t("audioInputTooltipCancel")),a?(0,uC.jsxs)(dC,{verticalCenter:!0,horizontalCenter:!0,gap:4,className:W()(vg["tips-container"],z({},vg[s],!0)),children:["outside-tips"===s?(0,uC.jsx)(d2,{}):null,(0,uC.jsx)(nS,{className:vg["tips-text"],overflow:"ellipsis",numberOfLines:1,maxLines:1,children:a})]}):null},v_=function(e){var t=e.onSendAudioMessage,n=e.type,r=void 0===n?"primary":n,i=e.frameEventTarget,o=e.isPcMode,a=e.disabled,s=e.focused,l=e.onAudioRecording,u=eu((0,Z.useState)(!1),2),c=u[0],d=u[1],p=eu((0,Z.useState)(!1),2),h=p[0],f=p[1],g=(0,Z.useRef)(!1),m=(0,Z.useRef)(),_=eu((0,Z.useState)(),2),v=_[0],b=_[1],y=eu((0,Z.useState)(0),2),w=y[0],S=y[1],A=eu((0,Z.useState)(50),2),T=A[0],x=A[1],k=(0,Z.useRef)(),M=_G();g.current=h,o_.debug("AudioInput start",g.current),uN(function(){null==l||l(c)},[c]);var P=(0,Z.useCallback)(function(e){b(e),d(!0),m.current&&m.current.destroy(),ux.stopNow();var n=!1;m.current=oI?(o_.debug("get H5 recorder manager"),new uy):(o_.debug("get taro recorder manager"),new um),o_.debug("onMouseDown onTouching"),k.current=function(){clearTimeout(a),g.current&&(n=!0),d(!1),f(!1)},m.current.on(uf.STOP,function(e){var r,o;o_.debug("AudioInput stop triggered",e,g.current),n||g.current||!e.duration||(e.duration<1e3?us({content:M.t("audioInputErrorUnDetectContent"),icon:"error"},i):null==t||t(e)),null===(r=k.current)||void 0===r||r.call(k),null===(o=m.current)||void 0===o||o.destroy()}),m.current.on(uf.PAUSE,function(){var e;n=!0,null===(e=m.current)||void 0===e||e.stop(),S(0)}),m.current.on(uf.INTERRUPT,function(){var e;n=!0,null===(e=m.current)||void 0===e||e.stop()}),m.current.on(uf.ERROR,function(e){var t,r,o,a;n=!0,o_.error("AudioInput onError",e,e.code),e.code===l1.Audio_Permission_Denied?(o={isNeedMask:!0,renderModal:function(e){return(0,uC.jsx)(vf,{hideModal:e})}},(a=i)?a.trigger(nM.ChatModalShow,o):o_.warn("showModal targetEventCenter is undefined")):us({content:M.t("audioInputErrorRecord"),icon:"error"},i),null===(t=k.current)||void 0===t||t.call(k),null===(r=m.current)||void 0===r||r.destroy()}),m.current.on(uf.VOLUME,function(e){o_.debug("AudioInput_volume",e),S(e.volume)}),o_.debug("AudioInput register Event End"),m.current.start({numberOfChannels:1});var r=Date.now(),o=!1,a=0;(function e(){a=setTimeout(function(){var t,n,i=Math.ceil((Date.now()-r)/1e3);if(o_.debug("AudioInput duration",i),i>40){if(x(50-i),i>=50)return null===(t=m.current)||void 0===t||t.stop(),void(null===(n=k.current)||void 0===n||n.call(k));if(!o){try{!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.success,n=e.fail,r=e.complete,i=new ra({name:"vibrateLong",success:t,fail:n,complete:r});vh(400)?i.success():i.fail({errMsg:"style is not support"})}()}catch(e){o_.error("AudioInput vibrateLong error",e)}o=!0}}e()},500)})(),x(50),d(!0)},[]);(0,Z.useEffect)(function(){return function(){var e;null===(e=m.current)||void 0===e||e.destroy()}},[]);var I="default"===r?"default":h?"warning":"primary",E=s||!o,C=a?M.t("audioInputDisabledText"):E?o?M.t("audioInputPcText"):M.t("audioInputMobileText"):o?M.t("unFocusInputText"):M.t("audioInputMobileText");return(0,uC.jsxs)(nT,{className:W()(vg.container,z(z(z(z({},vg.touching,c&&!a),vg.outside,h&&!a),vg[r],!0),vg.focused,E&&!a)),children:[(0,uC.jsx)(vm,{isTouching:c,isOutside:h,leftDuration:T,triggerType:v}),(0,uC.jsxs)(mj,{onTouching:P,onOutside:function(e){o_.debug("AudioInput OutSide touch",e),f(e)},onEnd:function(){var e,t;o_.debug("AudioInput recording onEnd"),null===(e=m.current)||void 0===e||e.stop(),null===(t=k.current)||void 0===t||t.call(k)},frameEventTarget:i,isPcMode:o,className:vg.audio,disabled:a,children:[(0,uC.jsx)(nS,{overflow:"ellipsis",numberOfLines:1,maxLines:1,userSelect:!1,className:vg.text,children:C}),c?(0,uC.jsx)(mF,{type:I,size:"medium",volumeNumber:5*w,className:vg.wave}):null]})]})},vv=1e3,vb=(0,Z.forwardRef)(function(e,t){var n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B=e.isNeedUpload,N=e.disabled,R=void 0!==N&&N,j=e.inputAdjustDefault,U=e.onSendFileMessage,F=e.onSendAudioMessage,G=e.isNeedAudio,q=e.placeholder,H=e.frameEventTarget,V=e.isPcMode,Q=e.defaultInputType,Y=void 0===Q?_J.Text:Q,$=(0,Z.useMemo)(function(){return"chat-input-".concat(nB(),"-").concat(vv++)},[]),K=eu((0,Z.useState)(Y),2),X=K[0],J=K[1],ee=(n=e,r={inputType:X},i=n.onAudioRecording,o=n.frameEventTarget,a=r.inputType,l=(s=eu((0,Z.useState)(!1),2))[0],u=s[1],c=a===_J.Voice&&l,p=(d=eu((0,Z.useState)(!1),2))[0],h=d[1],f=uR(function(e){h(e),null==i||i(e)}),(0,Z.useEffect)(function(){if(o_.debug("useAudioMessageHandle listen focus and blur",{isWeb:oI,frameEventTarget:o}),oI&&o){var e=function(){o_.debug("useAudioMessageHandle focus in"),u(!0)},t=function(){o_.debug("useAudioMessageHandle blur in"),u(!1)};return o.on(nM.FrameFocus,e),o.on(nM.FrameBlur,t),o.trigger(nM.TriggerFocus),function(){o.off(nM.FrameFocus,e),o.off(nM.FrameBlur,t)}}},[]),{isRecording:p,isRealAudioInputFocusing:c,onRecording:f}),et=ee.onRecording,en=ee.isRecording,ei=ee.isRealAudioInputFocusing,ea=vd(e,{inputType:X,setInputType:J,isRecording:en}),es=ea.taskMessage,el=ea.isShowMultiModeMessage,ec=(g=e,m={inputId:$,taskMessage:es},_=_G(),v=g.defaultValue,b=g.onSendTextMessage,y=g.disabled,w=m.inputId,S=m.taskMessage,T=(A=eu((0,Z.useState)(!1),2))[0],x=A[1],M=(k=eu((0,Z.useState)(v),2))[0],P=k[1],I=(0,Z.useMemo)(function(){var e;if(null!=S&&S.isShow&&(null==S||null===(e=S.options)||void 0===e?void 0:e.length)>0){var t=null==S?void 0:S.options.map(function(e){return e.trim()}).join("; ");return"".concat(_.t("taskMessageMyChoice")).concat(t,"\n").concat(M||"")}return M},[S,M]),E=uR(function(){var e;x(!1),oI&&(null===(e=document.getElementById(w))||void 0===e||null===(e=e.querySelector("textarea"))||void 0===e||e.blur())}),C=uR(function(e){P(""),e&&E(),setTimeout(function(){P(""),e&&E()},50)}),uN(function(){void 0!==v&&P(v)},[v]),O=uR(eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o_.debug("useTextInputHandle onSendTextMessage:",{inputValue:M,toSendInputValue:I,disabled:y}),!I||y){e.next=8;break}return e.next=4,null==b?void 0:b(I);case 4:if(e.t0=e.sent,!1!==e.t0){e.next=7;break}return e.abrupt("return");case 7:C(!oI);case 8:case"end":return e.stop()}},e)}))),{focused:T,clearInput:C,setFocused:x,inputValue:M,setInputValue:P,toSendInputValue:I,onSendTextMessage:O}),ed=ec.inputValue,ep=ec.setInputValue,eh=ec.focused,ef=ec.setFocused,eg=ec.toSendInputValue,em=ec.onSendTextMessage,e_=(D=e.onKeyBoardHeightChange,L=uR(function(e){oE&&(null==D||D(e))}),oi.useDidHide(function(){null==L||L(0)}),(0,Z.useEffect)(function(){var e;oE&&(null==oi||null===(e=vp)||void 0===e||e.call(oi,function(e){0!==e.height?null==L||L(e.height):null==L||L(0)}))},[]),{onKeyBoardHeightChange:L}).onKeyBoardHeightChange;return(0,Z.useImperativeHandle)(t,function(){return{setInputValue:ep}},[]),o_.debug("ChatInput focused",{focused:eh,inputType:X}),(0,uC.jsx)(dO,{className:"index-module__container___HvNwi",children:(0,uC.jsxs)(nT,{className:W()("index-module__chat-input-container___QQSpe",z(z(z({},"index-module__focused___HdeNo",eh||ei),"index-module__audio-recording___MzNdP",en),"index-module__multi-mode-message___kr9gm",el)),children:[el?(0,uC.jsx)(uC.Fragment,{children:(0,uC.jsx)(vl,{taskMessage:es})}):null,(0,uC.jsxs)(dC,{className:"index-module__chat-input-content___oGXAs",children:[X===_J.Voice?(0,uC.jsx)(v_,{onSendAudioMessage:F,type:V?"primary":"default",frameEventTarget:H,isPcMode:V,disabled:R,focused:eh||ei,onAudioRecording:et}):(0,uC.jsx)(vo,{id:$,focus:eh,placeholder:void 0===q?"Send Message":q,adjustPosition:void 0===j||j,value:ed,onSendTextMessage:em,onInputChange:function(e){ep(e)},onFocus:function(e){null==e_||e_(e.detail.height),ef(!0)},onBlur:function(){null==e_||e_(0),o_.debug("ChatInput onBlur"),ef(!1)}}),(0,uC.jsxs)(dC,{verticalCenter:!0,horizontalCenter:!0,className:"index-module__op-container___u5ZYg",children:[B?(0,uC.jsxs)(uC.Fragment,{children:[(0,uC.jsx)(vn,{onSendFileMessage:U,frameEventTarget:H,disabled:R}),(0,uC.jsx)(nT,{className:"index-module__divider___SuwSM"})]}):null,(0,uC.jsx)(vc,{inputDisabled:R,hasTextToSend:!!eg,inputType:X,isNeedAudio:void 0!==G&&G,focused:eh,onSendBtnClick:function(){em()},onKeyboardClick:function(){ef(!1),J(_J.Text),setTimeout(function(){var e;ef(!0),oI&&(null===(e=document.getElementById($))||void 0===e||null===(e=e.querySelector("textarea"))||void 0===e||e.focus())},100)},onMicrophoneClick:function(){J(_J.Voice),ef(!1)}})]})]})]})})}),vy="index-module__text___Q_UAb",vw="index-module__question-text___RR04n",vS=function(e){var t=e.content,n=e.isLoadingText;return(0,uC.jsx)(uC.Fragment,{children:n?(0,uC.jsx)(mx,{className:W()(vw,vy),isNeedBorder:!1,children:(0,uC.jsx)(mC,{})}):(0,uC.jsx)(mP,{text:t,enter:!0,space:!0,className:W()(vw,vy),isNeedBorder:!1})})},vA=function(e){var t=e.url,n=e.onImageClick,r=eu((0,Z.useState)(),2),i=r[0],o=r[1];return(0,uC.jsx)(nT,{children:(0,uC.jsx)(nv,{src:t,mode:"widthFix",className:"index-module__image___QJzjz",style:{width:i},onClick:function(){n?null==n||n({url:t}):db({urls:[t],current:t,enableShowPhotoDownload:!0})},onLoad:function(e){oI||o(e.detail.width||200)}})})},vT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAALRQTFRFxcXKxcXMysrKycnMxsbMxcXOysrPyMjPxcXNxsbPxsbOxsbMxsbPxcXMxsbNxsbNx8fNxcXNx8fPxcXNxsbPxsbLxsbNxsbMv7/PxMTNx8fOx8fLx8fPxcXLxsbNxsbOxcXNx8fPz8/PxsbNAAAAx8fPy8vRzc3U2dne1tbb0NDWy8vSysrR0dHXx8fOzMzS3Nzg2dnd29vfzc3T29vg1NTZ19fc2trfycnPzs7V3d3hxsbNMdct9wAAACV0Uk5TMLAwUM/PMI+QUM+Qb5CvkGBgQICPcO9QEHC/QH+AcL/vIBDfAAS5/6EAAAJySURBVFjD1ZjZltowDIbdbfayDRACJMQ2nXY67BBi7Pd/r3qAchLHUuwMveh/SXQ+ZNmSLZEpLHYT3jY4V1r8YXIbdhDbKQEp4SRRpiZt6gfSFAVo0nYHsXGiEPExdQJVYE4oB1CHKwfx+woQ6ypHdRkGolw5i1MY1EmUh/oBBHpSnortoLHy1tgGelI1FJdBgaqlkQmiST1QnxZBjKua4qwA6qra6uZB97DdW5pJuU63VWE6gcCFib08KxP44gh6gmY7edHqBbJ6/gsCM0zkOJoE+dRnZxDoUCYL2mMuESRCW2loibikQW3oj1ITlCKZokFD6PPaBGXgjfAOouABkSWBpkyD2tcAxRoErszcNCl/KXhtZAqfffdg630jHRi0NEE/YdsbEiKJvXfctPcgkTvkq9jkOTuBmDbJEKs1sxxpN8MsP5GvaNUSl53bC7xQkqoau031Ac/SZVXFJepK+r9Ai+2hoLcFBoKCvZjvy0m7PgjfXdvupFXZwW7/jTSsv88lqLk9/e0pcpCIfttTJETPs02rH9ak/ezrkN2lERkkleXDlO1+s5faDQ5a2Utt6FL1q+6AlgYNrgGi9gvSG3S8IC1r8wa1jqDyvm08Qfz8Gnn23P5X0z46g0ouCdSl0m1ybG+OT7+SS+IVxpRvgejyhhzwj9RGnnvVjj4CCvIP9u/1OY+Fl//gWi1E7aYmoWabVTNMX8qNX68Op2drRSN/TmRvjnv1/THa9cAr4sno3w8Q9HlyPpmPrGLIErgNWUYO86OoEpVEzGkQRXGUDQPO2FrgY3cSM79hHbWwEoiCgY75FzeHD6fxIW80Y8IQ2z+l8y842LtdxwAAAABJRU5ErkJggg==",vx={avatar:"index-module__avatar____dBFO",medium:"index-module__medium___Q0NpQ",large:"index-module__large___bUcFb"},vk=function(e){var t=e.className,n=e.src,r=e.size,i=eu((0,Z.useState)(!1),2),o=i[0],a=i[1];return(0,Z.useEffect)(function(){a(!1)},[n]),(0,uC.jsx)(_5,{src:o?vT:n,className:W()(vx.avatar,t,z({},vx[(void 0===r?"medium":r)||""],!0)),onError:function(){return!o&&a(!0)},mode:"aspectFill"})},vM={content:"index-module__content____XWPE",txt:"index-module__txt___weWYQ"},vP=function(e){var t,n=e.children,r=e.senderInfo,i=e.className,o=e.messageWrapperConf,a=e.isQuery,s=e.chatGroup,l=(0,Z.useMemo)(function(){var e,t;return null==o||null===(e=o.senderName)||void 0===e||null===(t=e.renderRightSlot)||void 0===t?void 0:t.call(e,{isQuery:a,chatGroup:s})},[a,s,null==o||null===(t=o.senderName)||void 0===t?void 0:t.renderRightSlot]);return(0,uC.jsxs)(dC,{gap:12,className:i,children:[(0,uC.jsx)(nT,{children:(0,uC.jsx)(vk,{src:(null==r?void 0:r.avatar)||vT,size:"medium"})}),(0,uC.jsxs)(dC,{vertical:!0,flex1:!0,gap:5,className:vM.content,children:[null!=r&&r.name||l?(0,uC.jsxs)(dC,{className:vM["sender-name-container"],width100:!0,verticalCenter:!0,gap:8,children:[null!=r&&r.name?(0,uC.jsx)(nS,{numberOfLines:1,overflow:"ellipsis",maxLines:1,className:vM.txt,children:null==r?void 0:r.name}):null,l]}):null,n]})]})},vI=function(e){if("card"===e.content_type){var t,n=nx(e.content),r=null==n||null===(t=n.x_properties)||void 0===t?void 0:t.workflow_card_info;if(r){var i=nx(r);if("QUESTION"===(null==i?void 0:i.card_type)&&null!=i&&i.question_card_data||"INPUT"===(null==i?void 0:i.card_type)&&null!=i&&i.input_card_data)return i}}},vE=function(e){var t,n=e.filename,r=e.size,i=(0,Z.useMemo)(function(){var e,t;return e=n,(t=nO.find(function(t){return t.accept.some(function(t){return e.endsWith(t)})}))?t.fileType:nP.DEFAULT_UNKNOWN},[n]);return(0,uC.jsx)(nT,{className:"index-module__file___TV_F2",children:(0,uC.jsxs)(mx,{className:"index-module__container___jGe6V",children:[(0,uC.jsx)(d3,{type:i,className:"index-module__svg___l4vUi"}),(0,uC.jsxs)(dC,{vertical:!0,gap:0,flex1:!0,children:[(0,uC.jsx)(nS,{className:"index-module__txt___AbU7P",maxLines:1,numberOfLines:1,overflow:"ellipsis",children:n}),(0,uC.jsx)(nS,{className:"index-module__size___HJ25m",maxLines:1,numberOfLines:1,overflow:"ellipsis",children:(t=r)<1024?"".concat(t,"B"):t<1048576?"".concat((t/1024).toFixed(2),"KB"):"".concat((t/1048576).toFixed(2),"MB")})]})]})})},vC={"input-node":"index-module__input-node___GuU9B",btn:"index-module__btn___Lmvxu","input-node-input":"index-module__input-node-input___emNKV",disabled:"index-module__disabled___ZlRQZ","switch-node":"index-module__switch-node___gO_mh","switch-node-text":"index-module__switch-node-text___h4yug","switch-node-switch-item":"index-module__switch-node-switch-item___Lp8kV"},vO=function(e){var t,n=e.data,r=e.sendTextMessage,i=e.disabled,o=eu((0,Z.useState)({}),2),a=o[0],s=o[1],l=eu((0,Z.useState)(!1),2),u=l[0],c=l[1],d=i||u,p=_G();return(0,uC.jsxs)(dC,{className:W()(vC["input-node"],z({},vC.disabled,d)),gap:12,vertical:!0,children:[null==n||null===(t=n.input_card_data)||void 0===t?void 0:t.map(function(e,t){return(0,uC.jsxs)(dC,{gap:6,vertical:!0,children:[(0,uC.jsx)(nS,{className:vC["input-node-text"],overflow:"ellipsis",numberOfLines:1,children:null==e?void 0:e.name}),(0,uC.jsx)(nb,{className:vC["input-node-input"],maxlength:-1,disabled:i||u,placeholder:p.t("chatflowNodeInputPlaceholder"),onInput:function(t){s(G(G({},a),{},z({},e.name,t.detail.value||"")))}})]},t)}),(0,uC.jsx)(mL,{className:vC.btn,onClick:function(){var e;d||(c(!0),null==r||r((null==n||null===(e=n.input_card_data)||void 0===e?void 0:e.map(function(e){return"".concat(e.name,":").concat(a[e.name]||"")}).join("\n"))||""))},children:p.t("submit")})]})},vD=function(e){var t,n,r=e.data,i=e.disabled,o=e.sendTextMessage,a=eu((0,Z.useState)(!1),2),s=a[0],l=a[1];return(0,uC.jsxs)(nT,{className:W()(vC["switch-node"],z({},vC.disabled,i||s)),children:[(0,uC.jsx)(nS,{className:vC["switch-node-text"],children:null==r||null===(t=r.question_card_data)||void 0===t?void 0:t.Title}),(0,uC.jsx)(dC,{vertical:!0,gap:6,children:null==r||null===(n=r.question_card_data)||void 0===n||null===(n=n.Options)||void 0===n?void 0:n.map(function(e,t){return(0,uC.jsx)(nT,{className:vC["switch-node-switch-item"],onClick:function(){i||(l(!0),null==o||o(e.name))},children:(0,uC.jsx)(nS,{className:vC["switch-node-switch-item-text"],children:e.name})},t)})})]})},vL=function(e){var t=e.message,n=e.sendTextMessage,r=e.disabled,i=(0,Z.useMemo)(function(){return vI(t)},[t]);return i?(0,uC.jsxs)(uC.Fragment,{children:["INPUT"===i.card_type?(0,uC.jsx)(vO,{data:i,sendTextMessage:n,disabled:r}):null,"QUESTION"===i.card_type?(0,uC.jsx)(vD,{data:i,sendTextMessage:n,disabled:r}):null]}):null},vB=function(e){var t=e.message,n=e.isAWaiting,r=_G();return(0,uC.jsxs)(mO,{fallbackNode:n?(0,uC.jsx)(uC.Fragment,{}):(0,uC.jsx)(vS,{content:r.t("noAnswer")}),children:["text"===t.content_type?(0,uC.jsx)(vN,G({},e)):null,"object_string"===t.content_type?(0,uC.jsx)(vR,G({},e)):null,"card"===t.content_type?(0,uC.jsx)(vj,G({},e)):null]})},vN=function(e){var t=e.message,n=e.isAWaiting,r=e.onImageClick,i=e.onTaskChange,o=e.messageUiConfigMap,a=e.isLastMessage,s=((null==o?void 0:o.text)||{}).renderMessage;return"text"!==t.content_type?null:(0,uC.jsx)(uC.Fragment,{children:(null==s?void 0:s(e))||(0,uC.jsx)(uC.Fragment,{children:"question"===t.type?(0,uC.jsx)(vS,{content:t.content,isLoadingText:t.isAudioTranslatingToText}):(0,uC.jsx)(_9,{reasoningContent:t.reasoning_content,content:t.content,isComplete:!n||t.isComplete,onImageClick:r,onTaskChange:i,taskDisabled:!a})})})},vR=function(e){var t,n=e.message,r=e.onImageClick,i=e.messageUiConfigMap,o=e.onTaskChange,a=e.isLastMessage,s=_G(),l=((null==i?void 0:i.text)||{}).renderMessage;return"object_string"!==n.content_type?null:(0,uC.jsx)(uC.Fragment,{children:(null==l?void 0:l(e))||(null===(t=nx(n.content,[]))||void 0===t?void 0:t.map(function(e,t){switch(e.type){case"text":return(0,uC.jsx)(uC.Fragment,{children:"question"===n.type?(0,uC.jsx)(vS,{content:e.text,isLoadingText:n.isAudioTranslatingToText}):(0,uC.jsx)(_9,{content:e.text,isComplete:!0,onImageClick:r,onTaskChange:o,taskDisabled:!a})});case"file":return(0,uC.jsx)(vE,{filename:e.name||"",size:e.size||0},"".concat(e.type,"_").concat(t));case"image":return(0,uC.jsx)(vA,{url:e.file_url,onImageClick:r},"".concat(e.type,"_").concat(t));default:return(0,uC.jsx)(vS,{content:s.t("messageTypeUnSupport")},"".concat(e.type,"_").concat(t))}}))})},vj=function(e){var t=e.message,n=e.messageUiConfigMap,r=e.sendTextMessage,i=e.isLastMessage,o=e.isReadOnly,a=((null==n?void 0:n.card)||{}).renderMessage,s=((null==n?void 0:n.chatflow_node)||{}).renderMessage,l=vI(t);return"card"!==t.content_type?null:(0,uC.jsx)(uC.Fragment,{children:l?(null==s?void 0:s(e))||(0,uC.jsx)(vL,{message:t,sendTextMessage:r,disabled:!i||o}):(null==a?void 0:a(e))||null})},vU=function(){return(0,uC.jsx)(mx,{isNeedBorder:!1,className:"index-module__waiting___XMj3z",children:(0,uC.jsx)(mC,{})})},vz=function(){var e=eu((0,Z.useState)(),2),t=e[0],n=e[1],r=_W(function(e){return e.event});return(0,Z.useEffect)(function(){r.on(nM.ChatToastShow,function(e){n(e)})},[r]),(0,Z.useEffect)(function(){var e=setTimeout(function(){n(void 0)},Math.max(Math.min(1e4,(null==t?void 0:t.duration)||6e3),3e3));return function(){clearTimeout(e)}},[t]),t&&t.content?(0,uC.jsx)(nT,{className:"index-module__chat-toast___jgmow",children:(0,uC.jsx)(mR,{className:"index-module__container___v220l",icon:t.icon,isNeedClose:!1,children:t.content})}):null},vF=function(e){var t=e.onScrollToUpper,n=_G(),r=_U(function(e){return{prevError:e.prevError,prevHasMore:e.prevHasMore}}),i=r.prevError,o=r.prevHasMore;return(0,uC.jsx)(uC.Fragment,{children:i?(0,uC.jsx)(_4,{errorText:n.t("messageListRetry",{retry:(0,uC.jsx)(_3,{retryText:n.t("retryBtn"),onClick:function(){null==t||t()}})})}):o?(0,uC.jsx)(mE,{text:n.t("messageListLoading"),className:"index-module__loading___fiUx7",size:"small"}):null})},vG=function(e){var t,n,r,i,o,a,s,l,u,c,d,p,h=e.children,f=(0,Z.useRef)(null),g=(t=(0,Z.useRef)(!1),n=(0,Z.useRef)(Date.now()),i=(r=_U(function(e){return{conversationId:e.id,unshiftMessageList:e.unshiftMessageList,prevError:e.prevError,prevHasMore:e.prevHasMore,prevCursorId:e.prevCursorId,setPrevInfo:e.setPrevInfo,setPrevError:e.setPrevError}})).conversationId,o=r.unshiftMessageList,a=r.prevError,s=r.prevHasMore,l=r.prevCursorId,u=r.setPrevInfo,c=r.setPrevError,d=_R(function(e){return e.chatService}),p=(0,Z.useCallback)(eo(er().mark(function e(){var r,a,s,p;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.current&&i){e.next=2;break}return e.abrupt("return");case 2:if(o_.debug("onScrollToUpper currentTime",{currentTime:n.current,time:Date.now()-n.current}),!(Date.now()-n.current<1500)){e.next=5;break}return e.abrupt("return");case 5:return t.current=!0,e.next=8,d.getMessageList({conversationId:i||"",prevCursorId:l});case 8:a=(r=e.sent).messages,s=r.error,p=R(r,_f),o(i,a),s?c(s):u(p.prevHasMore||!1,p.prevCursorId||""),n.current=Date.now(),t.current=!1;case 16:case"end":return e.stop()}},e)})),[l,d,i,o]),{prevError:a,isNeedPrevLoadMore:s,upperThreshold:100,onScrollToUpper:s?p:void 0}),m=g.upperThreshold,_=g.onScrollToUpper,v=_U(function(e){return{isUnshiftingMessageFlag:e.isUnshiftingMessageFlag,clearUnshiftingMessageFlg:e.clearUnshiftingMessageFlg}}),b=v.isUnshiftingMessageFlag,y=v.clearUnshiftingMessageFlg,w=_U(function(e){return!!e.inProcessChatMessageGroup}),S=_W(function(e){return e.event});(0,Z.useEffect)(function(){b&&y()},[b]);var A=(0,Z.useMemo)(function(){return(0,uC.jsxs)(uC.Fragment,{children:[(0,uC.jsx)(vF,{onScrollToUpper:_}),h]})},[h,_]);return(0,Z.useEffect)(function(){S.on(nM.ChatSlotToBottom,function(){var e;null===(e=f.current)||void 0===e||e.scrollToBottom()}),S.on(nM.ChatSlotScrollToAnchorBottom,function(){var e;null===(e=f.current)||void 0===e||e.scrollToAnchorBottom()}),S.on(nM.ChatSlotRemoveAnchorBottom,function(){var e;null===(e=f.current)||void 0===e||e.removeAnchorBottom()})},[]),uN(function(){var e,t;w?null===(e=f.current)||void 0===e||e.scrollToAnchorBottom():null===(t=f.current)||void 0===t||t.removeAnchorBottom()},[w]),o_.debug("ScrollView props isUnshiftingMessageFlag",{isUnshiftingMessageFlag:b}),(0,uC.jsx)(m3,{ref:f,className:W()("index-module__scroll-container___gau2D"),scrollY:!0,isLoadMore:b,lowerThreshold:m,onScrollToLower:_,isNeedHelper:!0,children:A})},vq=function(e){var t=e.type,n=e.svgTheme,r=_g().clearMessage,i=_z(function(e){return e.disableState}).clearMessage,o=_U(function(e){return{sectionId:e.sectionId,chatMessageGroups:e.chatMessageGroups}}).chatMessageGroups.length>0;return(0,uC.jsx)(dO,{disabled:i||!o,children:(0,uC.jsx)(m$,{onClick:r,type:void 0===t?"circle-btn":t,hoverTheme:"light"===n?"none":"hover",bgColor:"bold",children:(0,uC.jsx)(dq,{theme:n})})})},vW=function(e){var t=e.type,n=e.svgTheme,r=_y().clearContext,i=_z(function(e){return e.disableState}).clearContext,o=_U(function(e){return{sectionId:e.sectionId,chatMessageGroups:e.chatMessageGroups}}),a=o.sectionId,s=o.chatMessageGroups,l=(0,Z.useMemo)(function(){var e,t;return 0!==s.length&&(!a||null===(e=s[s.length-1])||void 0===e||!e.sectionId||a===(null===(t=s[s.length-1])||void 0===t?void 0:t.sectionId))&&!0},[a,s]);return(0,uC.jsx)(dO,{disabled:i||!l,children:(0,uC.jsx)(m$,{onClick:r,type:void 0===t?"circle-btn":t,hoverTheme:"light"===n?"none":"hover",bgColor:"bold",children:(0,uC.jsx)(dW,{theme:n})})})},vZ=function(e){var t,n,r=_q(function(e){return e.ui}),i=Object.assign({isNeed:!0,position:"inputLeft",SlotComponent:vW},(null==r||null===(t=r.chatSlot)||void 0===t?void 0:t.clearContext)||{}),o=_Y(),a=Object.assign({isNeed:!0,position:"headerRight",SlotComponent:vq},(null==r||null===(n=r.chatSlot)||void 0===n?void 0:n.clearMessage)||{});return o_.debug("useCommandSlot",{clearContextConfig:i,clearMessageConfig:a,position:e,ui:r}),[i,a].filter(function(t){return t.isNeed&&t.position===e}).map(function(e){var t=e.position,n=e.SlotComponent;return"headerRight"===t?(0,uC.jsx)(n,{type:"square-hover-btn",svgTheme:"bg-theme"===o?"light":"dark"}):(0,uC.jsx)(n,{svgTheme:"dark"})})},vH=1,vV=function(){var e,t,n,r,i,o,a,s,l,u,c,d,p=_G(),h=(0,Z.useRef)(null),f=_b(),g=f.sendTextMessage,m=f.sendFileMessage,_=f.sendAudioMessage,v=_z(function(e){return e.disableState}).input,b=_q(function(e){return e.ui}),y=_z(function(e){return e.setIsAudioRecording}),w=_z(function(e){return e.isAudioRecording}),S=_Z(function(e){return e.taskList}),A=_0(),T=(e=_j(function(e){var t;return null===(t=e.info)||void 0===t||null===(t=t.inputMode)||void 0===t?void 0:t.default}),t=_0(),2===e&&t?_J.Voice:_J.Text),x=null==b||null===(c=b.chatSlot)||void 0===c?void 0:c.input,k=null==b||null===(d=b.chatSlot)||void 0===d?void 0:d.uploadBtn,M=null==x?void 0:x.renderChatInputTopSlot,P=(0,Z.useMemo)(function(){return"chatInput_".concat(nB(),"_").concat(vH++)},[]),I=(n=P,o=(i=eu((0,Z.useState)(0),2))[0],a=i[1],l=!0!==(s=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.isMiniCustomHeader})),u=(0,Z.useCallback)((r=eo(er().mark(function e(t){var r,i,o;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=2;break}return e.abrupt("return");case 2:if(0!==t){e.next=5;break}return a(0),e.abrupt("return");case 5:return e.next=7,new Promise(function(e){var t;null==rA||null===(t=rA())||void 0===t||null===(t=t.selectViewport())||void 0===t||t.boundingClientRect(function(t){if(!t)return[];e(nJ(t)?t:[t])}).exec()});case 7:return r=eu(e.sent,1)[0],e.next=12,rT("#".concat(n));case 12:i=eu(e.sent,1)[0],t>(o=r.height-i.bottom)&&a(t-o);case 17:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)}),[n]),o_.info("Chat Input's inputAdjust value:",{inputAdjustDefault:l,isMiniCustomHeader:s}),{changeInputLocation:u,bottomOffset:o,inputAdjustDefault:l}),E=I.changeInputLocation,C=I.bottomOffset,O=I.inputAdjustDefault,D=_W(function(e){return e.event}),L=vZ("inputLeft"),B=_$(),N=uR(function(e){y(e)}),R=_Z(function(e){return e.initSetInputValueFunc});return(0,Z.useEffect)(function(){R(function(e){var t;null===(t=h.current)||void 0===t||t.setInputValue(e)})},[]),o_.info("ChatInput input info",{isNeedAudio:A,inputType:T}),o_.debug("ChatInput configInfo:",x,S),!1===(null==x?void 0:x.isNeed)?null:(0,uC.jsxs)(nT,{className:W()("index-module__container___gVDAl",z({},"index-module__recording-audio___y6wVx",w)),id:P,style:{bottom:"".concat(C,"px")},onTouchStart:function(e){e.stopPropagation()},children:[(0,uC.jsx)(nT,{className:"index-module__slot-container___JGyfP",children:null==M?void 0:M()}),(0,uC.jsxs)(dC,{gap:0,verticalCenter:!0,width100:!0,style:{overflow:"visible",paddingTop:10},children:[L.length?(0,uC.jsx)(dC,{gap:12,verticalCenter:!0,style:{overflow:"visible",width:w?0:46*L.length},className:"index-module__command-container___tTP9h",children:L.map(function(e,t){return(0,uC.jsx)(Z.Fragment,{children:e},t)})}):null,(0,uC.jsx)(nT,{className:"index-module__input-container___Q3qBp",style:{maxWidth:w?"100%":"calc(100% - ".concat(46*L.length,"px)")},children:(0,uC.jsx)(vb,{ref:h,isNeedUpload:!1!==(null==k?void 0:k.isNeed),isNeedTaskMessage:null==x?void 0:x.isNeedTaskMessage,disabled:v,defaultValue:null==x?void 0:x.defaultText,defaultInputType:T,taskList:S,isNeedAudio:A||!1,placeholder:(null==x?void 0:x.placeholder)||p.t("chatInputPlaceholder"),onSendTextMessage:g,onSendFileMessage:m,onSendAudioMessage:_,onKeyBoardHeightChange:E,inputAdjustDefault:O,frameEventTarget:D,isPcMode:!B,onAudioRecording:N})})]})]})},vQ=function(e){var t=e.messages,n=_b().sendTextMessage;return(0,uC.jsx)(_6,{suggestions:t.map(function(e){return e.content}),onClickSuggestion:n})},vY=function(e){var t=e.text,n=e.isShowText,r=e.svgTheme,i=e.isNeedHover,o=e.className,a=_W(function(e){return e.event}),s=_G();return(0,uC.jsx)(dO,{className:W()("index-module__container___zZqQg",o),children:(0,uC.jsxs)(dC,{width100:!0,onClick:function(e){e.stopPropagation(),on.trigger(nM.FrameClick),uI({data:t,success:function(e){e&&us({content:s.t("copySuccess"),icon:"success"},a)},fail:function(){us({content:s.t("copyFailed"),icon:"error"},a)}})},gap:8,children:[(0,uC.jsx)(m$,{size:"small",type:"square-hover-btn",hoverTheme:i?"hover":"none",children:(0,uC.jsx)(d1,{theme:r})}),n?(0,uC.jsx)(nS,{className:"index-module__text___nVCNS",numberOfLines:1,maxLines:1,overflow:"ellipsis",children:s.t("copyText")}):null]})})},v$="index-module__container___kPXif",vK=function(e){var t=e.isPlaying,n=e.isLoading,r=e.svgTheme;return n?(0,uC.jsx)(mE,{size:"small"}):(0,uC.jsx)(mq,{isPlaying:t,theme:r})},vX=function(e){var t,n,r=e.text,i=e.isShowText,o=e.svgTheme,a=e.isNeedHover,s=e.className,l=eu((0,Z.useState)(!1),2),u=l[0],c=l[1],d=eu((0,Z.useState)(!1),2),p=d[0],h=d[1],f=(0,Z.useRef)(null),g=(t=_R(function(e){return{chatService:e.chatService}}).chatService,n=_1(),{audioSpeech:(0,Z.useCallback)(function(e){return t.audioSpeech({input:e,voice_id:n||"",response_format:"wav",sampling_rate:8e3})},[t,n])}).audioSpeech,m=(0,Z.useRef)(!1),_=_G(),v=_W(function(e){return e.event}),b=_z(function(e){return e.isAudioRecording});m.current=u;var y=uR(function(){us({content:_.t("playVoiceFail"),icon:"error"},v)});return(0,Z.useEffect)(function(){if(u)return eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,h(!0),f.current||(f.current=new ux),f.current.on(uA.STOP,function(e){o_.debug("CommandAudio Stop Audio Play",e),e.isError&&y(),c(!1)}),e.next=6,f.current.playText(r,g);case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),y(),c(!1);case 12:h(!1);case 13:case"end":return e.stop()}},e,null,[[0,8]])}))(),function(){var e;null===(e=f.current)||void 0===e||e.stop(),h(!1),c(!1)}},[u]),r?(0,uC.jsx)(dO,{disabled:b,className:W()(v$,s),children:(0,uC.jsxs)(dC,{className:v$,width100:!0,onClick:function(){c(!u)},gap:8,children:[(0,uC.jsx)(m$,{size:"small",type:"square-hover-btn",hoverTheme:a?"hover":"none",children:(0,uC.jsx)(vK,{isLoading:p,isPlaying:u,svgTheme:o})}),i?(0,uC.jsx)(nS,{className:"index-module__text___B2GCf",numberOfLines:1,maxLines:1,overflow:"ellipsis",children:_.t("playVoice")}):null]})}):null},vJ=function(e){var t=e.children,n=e.message,r=e.isActive,i=_$(),o=i?(0,uC.jsx)(v1,{message:n}):(0,uC.jsx)(v0,{message:n});return(0,uC.jsx)(mQ,{content:o,type:i?"longtap":"hover",isActive:"text"===n.content_type&&r&&""!==n.content,direction:i?"top":"bottom",children:t})},v0=function(e){var t=e.message,n=_2();return(0,uC.jsxs)(dC,{className:"index-module__pc-content___tx1dk",gap:4,children:[n?(0,uC.jsx)(v2,{width:24,children:(0,uC.jsx)(vX,{text:t.content,svgTheme:"gray-bold",isNeedHover:!0})}):null,(0,uC.jsx)(v2,{width:24,children:(0,uC.jsx)(vY,{text:t.content,svgTheme:"gray-bold",isNeedHover:!0})})]})},v1=function(e){var t=e.message,n=_2();return(0,uC.jsxs)(dC,{className:"index-module__mobile-content___bCd_S",vertical:!0,children:[n?(0,uC.jsx)(v2,{width:100,children:(0,uC.jsx)(vX,{text:t.content,svgTheme:"gray-bold",isShowText:!0,isNeedHover:!0})}):null,(0,uC.jsx)(v2,{width:100,children:(0,uC.jsx)(vY,{text:t.content,svgTheme:"gray-bold",isShowText:!0,isNeedHover:!0})})]})},v2=function(e){var t=e.children,n=e.width;return(0,uC.jsx)(nT,{style:{width:n||24,height:24},children:t})},v4=function(e){var t=e.messages,n=e.isAWaiting,r=e.isShowSuggestion,i=e.isLastMessage,o=e.chatGroup,a=_j(function(e){return e.info}),s=_q(function(e){var t;return null===(t=e.setting)||void 0===t?void 0:t.cdnBaseUrlPath}),l=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t?void 0:t.message}),u=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t?void 0:t.messageWrapper}),c=(0,Z.useMemo)(function(){return t.filter(function(e){var t,n,r,i,o,a;return t=e,n=l,a=vI(t)?"chatflow_node":t.content_type,"answer"===t.type&&(null!=n&&null!==(r=n[a])&&void 0!==r&&r.isSupportMessage?null==n||null===(i=n[a])||void 0===i||null===(o=i.isSupportMessage)||void 0===o?void 0:o.call(i,t):!(!t.content&&!t.reasoning_content||!["object_string","text","chatflow_node"].includes(a)))})},[t]),d=(0,Z.useMemo)(function(){return t.filter(function(e){return"follow_up"===e.type&&e.content}).slice(0,3)},[t]);return n||0!==c.length||0!==d.length?(0,uC.jsx)(vP,{className:"index-module__resp-container___KZdMS",senderInfo:{name:(null==a?void 0:a.name)||"",avatar:(null==a?void 0:a.icon_url)||uE(s,"assets/imgs/coze-logo.png"),id:(null==a?void 0:a.appId)||""},chatGroup:o,isQuery:!1,messageWrapperConf:u,children:(0,uC.jsx)(v3,{isAWaiting:n,isShowSuggestion:r,followUpMessages:d,answerMessages:c,isLastMessage:i})}):null},v3=function(e){var t=e.answerMessages,n=e.followUpMessages,r=e.isAWaiting,i=e.isShowSuggestion,o=e.isLastMessage,a=_2(),s=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t?void 0:t.onImageClick}),l=_Z(function(e){return e.setTaskList}),u=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t?void 0:t.message}),c=_G(),d=_Y(),p=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.isReadonly}),h=_b().sendTextMessage,f=uR(function(e){l(e),o_.debug("RespMessageListContent Task Select",e)}),g="light"===d?"dark":"light",m=t.filter(function(e){return"text"===e.content_type}).map(function(e){return e.content}).join(""),_=r&&!t.some(function(e){return!e.isComplete});return r&&0===t.length&&0===n.length?(0,uC.jsx)(vU,{}):(0,uC.jsxs)(dC,{className:"index-module__resp___rLn4z",vertical:!0,gap:8,children:[t.length>0?(0,uC.jsxs)(uC.Fragment,{children:[(0,uC.jsx)(dC,{vertical:!0,className:"index-module__answer___u1DiN",gap:8,children:t.map(function(e,i){return(0,uC.jsx)(vJ,{message:e,isActive:!o&&!p,children:(0,uC.jsx)(vB,{message:e,onImageClick:s,sendTextMessage:h,i18n:c,isLastMessage:o,isReadOnly:p,isAWaiting:0===n.length&&t.length-1===i&&r&&!e.isComplete,onTaskChange:f,messageUiConfigMap:u})},e.id||"noId_".concat(i))})}),o&&!r&&m?(0,uC.jsxs)(dC,{gap:4,verticalCenter:!0,children:[a?(0,uC.jsx)(vX,{text:m,svgTheme:g,isNeedHover:"dark"===g}):null,(0,uC.jsx)(vY,{text:m,svgTheme:g,isNeedHover:"dark"===g})]}):null]}):null,n.length>0&&i?(0,uC.jsx)(vQ,{messages:n}):null,_?(0,uC.jsx)(vU,{}):null]})},v5="index-module__state-slot___q4UZG",v6=(0,Z.memo)(function(e){var t=e.message,n=e.isAWaiting,r=e.hasRespMessage,i=e.isLastMessage,o=void 0!==i&&i,a=e.chatGroup,s=_F(function(e){return e.info}),l=_b().reSendLastErrorMessage,u=t.error&&!r,c=!u&&void 0!==n&&n&&!t.chat_id,d=_b().sendTextMessage,p=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t?void 0:t.onImageClick}),h=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.chatSlot)||void 0===t?void 0:t.messageWrapper});return(0,uC.jsx)(vP,{senderInfo:s||void 0,className:"index-module__query-container___VoPoo",isQuery:!0,chatGroup:a,messageWrapperConf:h,children:(0,uC.jsxs)(nT,{className:"index-module__query-message___mYIv4",children:[(0,uC.jsx)(vJ,{message:t,isActive:!t.isAudioTranslatingToText,children:(0,uC.jsx)(vB,{message:t,onImageClick:p,sendTextMessage:d})}),c?(0,uC.jsx)(mE,{className:v5,size:"small"}):null,u?(0,uC.jsx)(dQ,{className:W()(v5,z({},"index-module__disable___FmMZJ",!o)),onClick:function(){return o&&(null==l?void 0:l())}}):null]})})}),v8=(0,Z.memo)(function(e){var t,n=e.chatGroup,r=e.isProcessing,i=void 0!==r&&r,o=e.isLastMessage,a=void 0!==o&&o,s=e.isShowSuggestion;return(0,uC.jsxs)(dC,{vertical:!0,gap:16,className:W()("index-module__chat-group___6SLY7","chat-group-for-query"),"data-groupId":n.id,children:[n.query?(0,uC.jsx)(v6,{message:n.query,isAWaiting:i||!1,hasRespMessage:!!n.respMessages.length,isLastMessage:a,chatGroup:n}):null,(0,uC.jsx)(v4,{messages:n.respMessages,isLastMessage:a,isAWaiting:i&&!(null===(t=n.query)||void 0===t||!t.chat_id),isShowSuggestion:void 0!==s&&s,chatGroup:n})]})}),v9="index-module__divide-line___bC4dm",v7=function(e){var t=e.chatMessageGroupNow,n=e.chatMessageGroupNext,r=_U(function(e){return{hasInProcessChatMessageGroup:!!e.inProcessChatMessageGroup,sectionId:e.sectionId}}),i=r.hasInProcessChatMessageGroup,o=r.sectionId,a=(0,Z.useMemo)(function(){if(n){if(n.sectionId!==t.sectionId)return!0}else if(t.sectionId!==o)return!0;return!1},[t,n,o]),s=(0,Z.useMemo)(function(){return!(!a||i||n)},[a,i,n,o]),l=(null==n?void 0:n.sectionId)||o;return a?(0,uC.jsx)(be,{isShowDivide:a,isShowSuggestion:s,nextSectionId:l}):null},be=function(e){var t,n,r,i,o,a,s,l,u,c,d=e.isShowDivide,p=e.isShowSuggestion,h=(t=e.nextSectionId,i=_j(function(e){return{chatInfo:e.info}}).chatInfo,o=_U(function(e){return{conversationId:e.id}}).conversationId,a=_F(function(e){return{userInfo:e.info}}).userInfo,s=(0,Z.useCallback)(function(e,n){return{id:"",conversation_id:o||"",section_id:t||"",bot_id:(null==i?void 0:i.appId)||"",chat_id:"",role:lh.Assistant,type:e,localId:nB(),meta_data:{},content_type:"text",created_at:0,updated_at:0,content:n}},[o,t,i]),l=(0,Z.useMemo)(function(){return nB()},[]),u=(0,Z.useMemo)(function(){var e,t;return[s("answer",((null==i||null===(e=i.onboarding_info)||void 0===e?void 0:e.prologue)||"").replaceAll("{{user_name}}",(null==a?void 0:a.name)||""))].concat((0,ef.A)(((null==i||null===(t=i.onboarding_info)||void 0===t?void 0:t.suggested_questions)||[]).map(function(e){return s("follow_up",e)})))},[i,o,s,a]),c=(0,Z.useMemo)(function(){return{id:l,chatId:"",respMessages:u,sectionId:t,isPrologue:!0}},[u,l,t]),null!=i&&null!==(n=i.onboarding_info)&&void 0!==n&&n.prologue&&"\n"!==(null==i||null===(r=i.onboarding_info)||void 0===r?void 0:r.prologue)?c:null),f=_G();return(0,uC.jsxs)(nT,{children:[d?(0,uC.jsxs)(dC,{gap:20,className:"index-module__divide-container___YHN6_",verticalCenter:!0,horizontalCenter:!0,children:[(0,uC.jsx)(nT,{className:v9}),(0,uC.jsx)(nS,{children:f.t("clearContextDivide")}),(0,uC.jsx)(nT,{className:v9})]}):null,h?(0,uC.jsx)(v8,{chatGroup:h,isShowSuggestion:p}):null]})},bt=function(){var e=_U(function(e){return{isShowOnBoarding:e.isShowOnBoarding,chatMessageGroups:e.chatMessageGroups,inProcessChatMessageGroup:e.inProcessChatMessageGroup,prevHasMore:e.prevHasMore}}),t=e.isShowOnBoarding,n=e.prevHasMore;return t()||n?null:(0,uC.jsx)(be,{isShowDivide:!1,isShowSuggestion:!1})},bn=function(e){var t=e.chatMessageGroups,n=e.className,r=_U(function(e){return{hasInProcessChatMessageGroup:!!e.inProcessChatMessageGroup,sectionId:e.sectionId}}),i=r.hasInProcessChatMessageGroup,o=r.sectionId;return(0,uC.jsx)(nT,{className:W()("index-module__chat-group___wh61L",n),children:t.map(function(e,n){return(0,uC.jsxs)(Z.Fragment,{children:[(0,uC.jsx)(v8,{chatGroup:e,isLastMessage:n===t.length-1&&!i,isShowSuggestion:n===t.length-1&&!i&&o===e.sectionId}),(0,uC.jsx)(v7,{chatMessageGroupNow:e,chatMessageGroupNext:t[n+1]})]},e.id)})})},br=function(){var e=_U(function(e){return{inProcessChatMessageGroup:e.inProcessChatMessageGroup}}).inProcessChatMessageGroup;return e?(0,uC.jsx)(v8,{chatGroup:e,isLastMessage:!0,isProcessing:!0,isShowSuggestion:!0}):null},bi=function(){var e=_U(function(e){return{chatMessageGroups:e.chatMessageGroups}}).chatMessageGroups,t=_$();return(0,uC.jsxs)(nT,{className:W()("index-module__container___Dizhf",z({},"index-module__mobile___S2mXb",t)),children:[(0,uC.jsx)(bt,{}),(0,uC.jsx)(bn,{chatMessageGroups:e}),(0,uC.jsx)(br,{})]})},bo=(0,Z.memo)(function(){var e=_j(function(e){return{chatInfo:e.info}}).chatInfo,t=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t?void 0:t.onImageClick}),n=_b().sendTextMessage,r=_F(function(e){return e.info}),i=_U(function(e){return{isShowOnBoarding:e.isShowOnBoarding,chatMessageGroups:e.chatMessageGroups,inProcessChatMessageGroup:e.inProcessChatMessageGroup}}).isShowOnBoarding;return o_.debug("ChatOnBoarding:",e,i()),i()?(0,uC.jsx)(_7,{user:r||void 0,chat:e||void 0,onImageClick:t,onClickSuggestion:function(e){null==n||n(e)}}):null}),ba=(0,Z.memo)(function(e){var t=e.className,n=_X(),r=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.chatSlotClassName});o_.debug("ChatSlot maxWidth",n);var i=(0,Z.useMemo)(function(){return(0,uC.jsxs)(uC.Fragment,{children:[(0,uC.jsx)(bo,{}),(0,uC.jsx)(bi,{})]})},[]);return(0,uC.jsxs)(nT,{className:W()("index-module__slot___fk_Pq",r,t),style:{maxWidth:n},children:[(0,uC.jsx)(vG,{children:i}),(0,uC.jsx)(vV,{})]})}),bs=function(e){var t=e.children,n=e.onHide,r=e.isNeedMask,i=eu((0,Z.useState)(!0),2),o=i[0],a=i[1];return o?(0,uC.jsxs)(nT,{className:"index-module__modal-container___Uu7Dd",children:[void 0===r||r?(0,uC.jsx)(nT,{className:"index-module__mask___mWeS3",onClick:function(){a(!0),n()}}):null,(0,uC.jsx)(nT,{className:"index-module__modal___p1pXe",children:t})]}):null},bl=1e3,bu=function(){var e=eu((0,Z.useState)(),2),t=e[0],n=e[1],r=(0,Z.useMemo)(function(){return"modal_".concat(bl++)},[t]),i=_W(function(e){return e.event});(0,Z.useEffect)(function(){i.on(nM.ChatModalShow,function(e){n(e)})},[i]);var o=(0,Z.useCallback)(function(){n(void 0)},[]);return t&&t.renderModal?(0,uC.jsx)(bs,{onHide:o,children:t.renderModal(o)},r):null},bc="index-module__loading___fN4Om",bd=function(){var e=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.loading)||void 0===t?void 0:t.renderLoading}),t=_X();return e?(0,uC.jsx)(nT,{className:bc,children:e()}):(0,uC.jsx)(nT,{className:bc,style:{maxWidth:t},children:(0,uC.jsx)(dC,{horizontalCenter:!0,flex1:!0,verticalCenter:!0,children:(0,uC.jsx)(mE,{})})})},bp=function(){var e,t=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.header}),n=_G(),r=_q(function(e){var t;return null===(t=e.setting)||void 0===t?void 0:t.cdnBaseUrlPath}),i=vZ("headerRight");return!1===(null==t?void 0:t.isNeed)?null:(0,uC.jsxs)(dC,{verticalCenter:!0,className:"index-module__container___cJUaG",gap:8,children:[(0,uC.jsx)(_5,{src:(null==t?void 0:t.icon)||uE(r,"assets/imgs/coze-logo.png"),className:"index-module__app-avatar___hyFSu",mode:"aspectFill"}),(0,uC.jsx)(nS,{className:"index-module__title___vpNk1",overflow:"ellipsis",numberOfLines:1,children:(null==t?void 0:t.title)||n.t("defaultHeaderTitle")}),i.map(function(e,t){return(0,uC.jsx)(Z.Fragment,{children:e},t)}),null==t||null===(e=t.renderRightSlot)||void 0===e?void 0:e.call(t)]})},bh=function(){var e=_G(),t=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.footer}),n=(0,Z.useMemo)(function(){var n,r,i,o;return null!=t&&t.expressionText?(n=null==t?void 0:t.expressionText,r=null==t?void 0:t.linkvars,i=[],o="{{{link}}}",n.replace(/\{\{\s*(\w+)\s*\}\}/g,function(e,t){var n=(null==r?void 0:r[t])||{},a=n.link,s=n.text;return a&&s?i.push((0,uC.jsx)(mD,{src:a,children:s})):i.push(s||""),o}).split(o).map(function(e,t){return(0,uC.jsxs)(nS,{children:[e,i[t]]},"text_link_".concat(t))})):e.t("chatFooterTip")},[null==t?void 0:t.expressionText,null==t?void 0:t.linkvars]);return!1===(null==t?void 0:t.isNeed)?null:(0,uC.jsx)(d9,{className:W()("index-module__container___fY4Uo",null==t?void 0:t.containerClassName),children:(0,uC.jsx)(nS,{className:W()("index-module__footer___vpltC",null==t?void 0:t.textClassName),numberOfLines:1,overflow:"ellipsis",children:n})})},bf={pc:{width:486,height:346},mobile:{width:248,height:346}};var bg=1e3,bm=function(e){var t,n,r,i,o,a,s,l,u=(0,Z.useMemo)(function(){return"chatbg_id_".concat(nB(),"_").concat(bg++)},[]),c=(t=u,r=(n=eu((0,Z.useState)(function(){return{width:0,height:0}}),2))[0],i=n[1],o=uR(function(){if(oI){var e=document.getElementById(t);if(e)return{width:e.clientWidth,height:e.clientHeight}}else rT("#".concat(t)).then(function(e){var t;null!=e&&null!==(t=e[0])&&void 0!==t&&t.width&&i({width:e[0].width,height:e[0].height})})}),(0,Z.useEffect)(function(){o()},[t]),(0,Z.useEffect)(function(){if(oI){var e=document.getElementById(t);if(e){var n=new ResizeObserver(function(e){e.forEach(function(e){var t=e.target;i({width:t.clientWidth,height:t.clientHeight})})});return n.observe(e),function(){n.disconnect()}}}},[t]),G(G({},r),{},{reInitSize:o})),d=c.width,p=c.height,h=c.reInitSize,f=(a=d,s=p,a&&s&&a/s<=bf[l="mobile"].width/bf[l].height?"mobile":"pc"),g=e[f];if(!g||null==g||!g.imgUrl)return null;var m=g.themeColor,_=void 0===m?"transparent":m,v=g.imgUrl,b=g.canvasPosition,y=g.gradientPosition,w=!b.width||!b.height,S=function(e,t){if(/^((#[0-9A-Fa-f]{3})|(#[0-9A-Fa-f]{6}))$/.test(e)&&(4===(n=e).length&&(n=n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),r=parseInt((n=n.slice(1)).slice(0,2),16),i=parseInt(n.slice(2,4),16),o=parseInt(n.slice(4),16),e="rgb(".concat(r,",").concat(i,",").concat(o,")")),!/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/.test(e))return e;var n,r,i,o,a=e.slice(5,-1).split(",");return a.push("0.95"),"rgba(".concat(a.join(","),")")}(_,.95),A=bf[f],T=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.left,i=void 0===r?0:r,o=t.width,a=void 0===o?0:o;return a&&n?{left:i/n,right:(n-a-i)/n}:e}(y,b,A.width),x=T.left,k=void 0===x?0:x,M=T.right,P=void 0===M?0:M,I=A.width/A.height*p;return o_.debug("ChatBackground",d,p),(0,uC.jsxs)(nT,{id:u,className:"index-module__bg-image___rzLYf",style:{backgroundColor:_},ref:h,children:[(0,uC.jsx)(nT,{className:"index-module__mask___W9gfL"}),(0,uC.jsxs)(nT,{className:"index-module__img-container___mtas7",style:{width:w?"100%":I,maxWidth:w?"100":I},children:[(0,uC.jsx)(b_,{position:k,direction:"left",background:"linear-gradient(90deg, ".concat(_," 10%, ").concat(S," 28%, transparent 92.4%)"),isShow:!w}),v?(0,uC.jsx)(nv,{src:v,mode:w?"aspectFill":"heightFix",className:"index-module__img___idKr8",style:w?{left:"50%",width:"100%",height:"100%",transform:"translateX(-50%)"}:{height:"".concat(b.height/A.height*100,"%"),left:"".concat(k?100*k:-(2*P*100),"%"),top:"".concat(b.top/A.height*100,"%")}}):null,(0,uC.jsx)(b_,{position:P,direction:"right",isShow:!w,background:"linear-gradient(90deg, transparent 10% , ".concat(S," 72%, ").concat(_," 92%)")})]})]})},b_=function(e){var t=e.position,n=void 0===t?0:t,r=e.background,i=e.direction,o=e.isShow;return void 0===o||o?(0,uC.jsx)(nT,{className:"index-module__gradient___ycdrX",style:z(z(z(z({},i,"".concat(100*(n>0?n:0)-.1,"%")),"width","10%"),"background",r),"opacity",1)}):null},bv=function(e){var t=e.retryChatInit,n=_G(),r=_j(function(e){return e.error});return(0,uC.jsx)(nT,{className:"index-module__container___Nbryq",children:(0,uC.jsx)(dC,{horizontalCenter:!0,flex1:!0,verticalCenter:!0,className:"index-module__content___egTf0",children:(0,uC.jsxs)(dC,{vertical:!0,verticalCenter:!0,horizontalCenter:!0,gap:16,children:[(0,uC.jsxs)(dC,{className:"index-module__error-img___qqI0g",gap:4,vertical:!0,horizontalCenter:!0,verticalCenter:!0,children:[(0,uC.jsx)(nT,{className:"index-module__error-img-warn-1___QPWEY"}),(0,uC.jsx)(nT,{className:"index-module__error-img-warn-dot___q7X1F"})]}),(0,uC.jsx)(nS,{className:"index-module__error-txt___hRXlE",children:null==r?void 0:r.getErrorMessageByI18n(n,void 0,n.t("chatInitRetry"))}),(0,uC.jsx)(mL,{onClick:t,children:n.t("retryBtn")})]})})})},bb=function(e){var t=e.retryChatInit,n=_q(function(e){var t;return null===(t=e.ui)||void 0===t||null===(t=t.error)||void 0===t?void 0:t.renderError}),r=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t?void 0:t.onInitRetry})||t;return n?(0,uC.jsx)(uC.Fragment,{children:n(void 0,r)}):(0,uC.jsx)(bv,{retryChatInit:r})},by=["children"],bw=function(e){var t=e.children,n=_j(function(e){return{isLoading:e.isLoading,error:e.error}}),r=n.isLoading,i=n.error;o_.info("in chat frame init",{isLoading:r,error:i});var o=_p().retryChatInit;return i?(0,uC.jsx)(bb,{retryChatInit:o}):r?(0,uC.jsx)(bd,{}):(0,uC.jsx)(uC.Fragment,{children:t})},bS=1e3,bA=function(e){var t,n,r=e.children,i=_Q(),o=(0,Z.useMemo)(function(){return"chat_frame_".concat(nB(),"_").concat(bS++)},[]),a=_$(),s=_Y(),l=_q(function(e){var t;return null===(t=e.eventCallbacks)||void 0===t?void 0:t.onThemeChange}),u=_q(function(e){var t;return null===(t=e.ui)||void 0===t?void 0:t.frameworkClassName}),c="bg-theme"===s;return t=o,n=_W(function(e){return e.event}),(0,Z.useEffect)(function(){if(oI&&t){var e=document.getElementById(t),r=!1;if(e){var i=function(e){o_.debug("Frame Target keydown"),n.trigger(nM.KeyDown,{chatFrameId:t,code:e.code})},o=function(e){o_.debug("Frame Target keyup",e),n.trigger(nM.KeyUp,{chatFrameId:t,code:e.code})},a=function(){o_.debug("Frame Target focus"),r=!0,n.trigger(nM.FrameFocus,{chatFrameId:t})},s=function(){o_.debug("Frame Target blur"),r=!1,n.trigger(nM.FrameBlur,{chatFrameId:t})},l=function(){e.focus(),r&&(null==a||a())};return e.addEventListener("keydown",i),e.addEventListener("keyup",o),e.addEventListener("focus",a),e.addEventListener("blur",s),n.on(nM.TriggerFocus,l),e.setAttribute("tabindex","0"),setTimeout(function(){e.focus()},1e3),function(){e.removeEventListener("keydown",i),e.removeEventListener("keyup",o),e.removeEventListener("focus",a),e.removeEventListener("blur",s),n.off(nM.TriggerFocus,l)}}}},[t]),(0,Z.useEffect)(function(){null==l||l(s)},[s]),(0,uC.jsxs)(dC,{vertical:!0,className:W()("index-module__container___hwGLP","light-theme chat-root",{"bg-theme":c,"bg-mobile":a},u),onClick:function(){on.trigger(nM.FrameClick)},id:o,children:[c?(0,uC.jsx)(bm,G({},i)):null,(0,uC.jsx)(bp,{}),(0,uC.jsx)(nT,{className:"index-module__chat___dStqg",children:(0,uC.jsx)(bw,{children:r||(0,uC.jsx)(ba,{})})}),(0,uC.jsx)(bh,{}),(0,uC.jsx)(vz,{}),(0,uC.jsx)(bu,{})]})},bT=function(e){var t=e.children,n=R(e,by);return o_.info("SdkVersion: 0.1.10-beta.1"),(0,uC.jsx)(_V,G(G({},n),{},{children:(0,uC.jsx)(bA,{children:t})}))},bx=(_=eo(er().mark(function e(t){var n,r,i,o,a;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=null===(n=t.auth)||void 0===n?void 0:n.token,a=null===(r=t.auth)||void 0===r?void 0:r.refreshToken,"internal"!==(null===(i=t.auth)||void 0===i?void 0:i.type)){e.next=10;break}return e.next=5,bk();case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0="";case 8:o=e.t0,a=bk;case 10:return e.abrupt("return",{token:o,refreshToken:a});case 11:case"end":return e.stop()}},e)})),function(e){return _.apply(this,arguments)});function bk(){return bM.apply(this,arguments)}function bM(){return(bM=eo(er().mark(function e(){var t,n;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ih({url:"/api/permission_api/coze_web_app/impersonate_coze_user",method:"POST",dataType:"json",timeout:3e4,data:{}});case 3:return n=e.sent,e.abrupt("return",null===(t=n.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.access_token);case 7:return e.prev=7,e.t0=e.catch(0),o_.error("getTokenInternal error",e.t0),e.abrupt("return","");case 11:case"end":return e.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}var bP=function(e){var t=e.project||{},n=t.mode,r=t.connectorId;return"websdk"===n?"999":"draft"===n?"10000010":r||""},bI=function(e){var t;if(null!=e&&null!==(t=e.areaUi)&&void 0!==t&&null!==(t=t.input)&&void 0!==t&&t.renderChatInputTopSlot)return function(t,n){var r,i;return(0,uC.jsxs)(dC,{width100:!0,height100:!0,vertical:!0,children:[(0,uC.jsx)(dC,{width100:!0,height100:!0,flex1:!0,children:(0,uC.jsx)(bv,{retryChatInit:n})}),null==e||null===(r=e.areaUi)||void 0===r||null===(r=r.input)||void 0===r||null===(i=r.renderChatInputTopSlot)||void 0===i?void 0:i.call(r)]})}},bE=function(e){var t,n,r,i,o,a,s,l,u;return null!==(t=e.areaUi)&&void 0!==t&&t.bgInfo&&null!==(n=e.areaUi)&&void 0!==n&&null!==(n=n.bgInfo)&&void 0!==n&&n.imgUrl&&(u={imgUrl:e.areaUi.bgInfo.imgUrl,themeColor:e.areaUi.bgInfo.themeColor,gradientPosition:{left:0,right:0},canvasPosition:{width:0,height:0,left:0,top:0}}),{name:null==e||null===(r=e.project)||void 0===r?void 0:r.name,icon_url:null==e||null===(i=e.project)||void 0===i?void 0:i.iconUrl,onboarding_info:{prologue:(null==e||null===(o=e.project)||void 0===o||null===(o=o.onBoarding)||void 0===o?void 0:o.prologue)||"",suggested_questions:(null==e||null===(a=e.project)||void 0===a||null===(a=a.onBoarding)||void 0===a?void 0:a.suggestions)||[]},description:null===(s=e.project)||void 0===s?void 0:s.desc,suggestPromoteInfo:null===(l=e.project)||void 0===l?void 0:l.suggestPromoteInfo,bgInfo:u?{pc:u,mobile:u}:void 0}},bC=function(e){var t,n,r,i,o,a;if(null!=e&&e.origin_image_url)return{canvasPosition:{height:(null===(t=e.canvas_position)||void 0===t?void 0:t.height)||0,left:(null===(n=e.canvas_position)||void 0===n?void 0:n.left)||0,top:(null===(r=e.canvas_position)||void 0===r?void 0:r.top)||0,width:(null===(i=e.canvas_position)||void 0===i?void 0:i.width)||0},gradientPosition:{left:(null===(o=e.gradient_position)||void 0===o?void 0:o.left)||0,right:(null===(a=e.gradient_position)||void 0===a?void 0:a.right)||0},imgUrl:e.origin_image_url||"",themeColor:e.theme_color||""}},bO=function(e,t,n){var r,i,o,a,s,l,u,c,d,p,h,f,g=e||{},m=g.icon_url,_=g.name,v={name:void 0===_?"":_,icon_url:m,description:"",create_time:0,update_time:0,version:"",onboarding_info:{prologue:"",suggested_questions:[]}};return v.name=(null==t?void 0:t.name)||v.name||(null==n||null===(r=n.project)||void 0===r?void 0:r.defaultName),v.icon_url=(null==t||null===(i=t.avatar)||void 0===i?void 0:i.image_url)||v.icon_url||(null==n?void 0:n.project.defaultIconUrl),v.onboarding_info={prologue:(null==t||null===(o=t.onboarding_info)||void 0===o?void 0:o.prologue)||"",display_all_suggestions:null==t||null===(a=t.onboarding_info)||void 0===a?void 0:a.display_all_suggestions,suggested_questions:(null==t||null===(s=t.onboarding_info)||void 0===s||null===(s=s.suggested_questions)||void 0===s?void 0:s.filter(function(e){return!!e}))||[]},v.suggestPromoteInfo=null!=t&&t.suggest_reply_info?{suggestReplyMode:null==t||null===(l=t.suggest_reply_info)||void 0===l?void 0:l.suggest_reply_mode,customizedSuggestPrompt:null==t||null===(u=t.suggest_reply_info)||void 0===u?void 0:u.customized_suggest_prompt}:void 0,v.bgInfo={pc:bC(null==t||null===(c=t.background_image_info)||void 0===c?void 0:c.web_background_image),mobile:bC(null==t||null===(d=t.background_image_info)||void 0===d?void 0:d.mobile_background_image)},v.voiceInfo={isTextToVoiceEnable:null==t||null===(p=t.audio_config)||void 0===p?void 0:p.is_text_to_voice_enable,voiceConfigMap:null==t||null===(h=t.audio_config)||void 0===h?void 0:h.voice_config_map},v.inputMode={default:null==t||null===(f=t.user_input_config)||void 0===f?void 0:f.default_input_mode},v},bD=function(e){var t,n,r;function i(e,t){var n;return Q(this,i),z(n=ee(this,i,[e]),"chatFlowProps",void 0),n.chatFlowProps=t,n}return en(i,e),$(i,[{key:"updateChatFlowProps",value:function(e){this.chatFlowProps=e}},{key:"createNewConversation",value:(r=eo(er().mark(function e(){return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._createNewConversation(!1));case 1:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"getAppInfo",value:(n=eo(er().mark(function e(){var t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return p=bP(this.chatFlowProps),h="websdk"===(null===(t=this.chatFlowProps)||void 0===t||null===(t=t.project)||void 0===t?void 0:t.mode),e.next=4,Promise.allSettled([h?null===(n=this.apiClient)||void 0===n?void 0:n.get("/v1/apps/".concat(null===(r=this.chatFlowProps)||void 0===r||null===(r=r.project)||void 0===r?void 0:r.id,"?connector_id=").concat(p)):null,null!==(i=this.chatFlowProps)&&void 0!==i&&null!==(i=i.workflow)&&void 0!==i&&i.id?null===(o=this.apiClient)||void 0===o?void 0:o.get("/v1/workflows/".concat(null===(a=this.chatFlowProps)||void 0===a||null===(a=a.workflow)||void 0===a?void 0:a.id,"?").concat(["connector_id=".concat(p),"is_debug=".concat("draft"===(null===(s=this.chatFlowProps)||void 0===s||null===(s=s.project)||void 0===s?void 0:s.mode)?"true":""),"caller=".concat((null===(l=this.chatFlowProps)||void 0===l||null===(l=l.project)||void 0===l?void 0:l.caller)||"")].join("&"))):null]);case 4:if(g=(f=eu(e.sent,2))[0],m=f[1],_="fulfilled"===(null==g?void 0:g.status)?null==g||null===(u=g.value)||void 0===u?void 0:u.data:void 0,v="fulfilled"===(null==m?void 0:m.status)?null==m||null===(c=m.value)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.role:void 0,o_.debug("Get Workflow Info: ",{appRes:g,workflowRes:m}),!h||_){e.next=13;break}throw new lJ(l1.SDK_API_APP_UnPublished,"The app is not published");case 13:return b=bO(_,v),null!==(d=this.chatFlowProps)&&void 0!==d&&null!==(d=d.workflow)&&void 0!==d&&d.id&&!b.icon_url&&(b.icon_url=uE(null===(y=this.chatFlowProps.setting)||void 0===y?void 0:y.cdnBaseUrlPath,"assets/imgs/chatflow-logo.png")),o_.debug("Get Workflow Info(Combine):",b),e.abrupt("return",G({appId:this.appId,type:this.chatType},b));case 17:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"getOrCreateConversationId",value:function(){return this._createNewConversation(!0)}},{key:"_createNewConversation",value:(t=eo(er().mark(function e(){var t,n,r,i,o,a,s,l,u,c,d,p,h,f=arguments;return er().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=f.length>0&&void 0!==f[0]&&f[0],"bot"!==(null===(t=this.chatFlowProps)||void 0===t||null===(t=t.project)||void 0===t?void 0:t.type)){e.next=11;break}return e.next=4,this.apiClient.conversations.create({connector_id:this.connectorId});case 4:return i=(r=e.sent).id,a=void 0===(o=r.last_section_id)?"":o,e.abrupt("return",{conversationId:i,sectionId:a});case 11:return e.next=13,this.apiClient.conversations.create({app_id:this.appId,conversation_name:null===(s=this.chatFlowProps)||void 0===s||null===(s=s.project)||void 0===s?void 0:s.conversationName,get_or_create:n,workflow_id:null===(l=this.chatFlowProps)||void 0===l||null===(l=l.workflow)||void 0===l?void 0:l.id,draft_mode:"draft"===(null===(u=this.chatFlowProps)||void 0===u||null===(u=u.project)||void 0===u?void 0:u.mode),connector_id:bP(this.chatFlowProps)});case 13:return d=(c=e.sent).id,h=void 0===(p=c.last_section_id)?"":p,e.abrupt("return",{conversationId:d,sectionId:h});case 18:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"asyncChat",value:function(e,t){var n,r,i,o,a,s,l,u,c,d,p,h={};h.additional_messages=e.additional_messages||[],h.connector_id=e.connector_id,h.conversation_id=e.conversation_id,h.workflow_id=null===(n=this.chatFlowProps)||void 0===n||null===(n=n.workflow)||void 0===n?void 0:n.id,h.parameters=null===(r=this.chatFlowProps)||void 0===r||null===(r=r.workflow)||void 0===r?void 0:r.parameters,h.execute_mode="draft"===(null===(i=this.chatFlowProps)||void 0===i||null===(i=i.project)||void 0===i?void 0:i.mode)?"DEBUG":void 0,h.app_id="app"===(null===(o=this.chatFlowProps)||void 0===o||null===(o=o.project)||void 0===o?void 0:o.type)?null===(a=this.chatFlowProps)||void 0===a||null===(a=a.project)||void 0===a?void 0:a.id:void 0,h.bot_id="bot"===(null===(s=this.chatFlowProps)||void 0===s||null===(s=s.project)||void 0===s?void 0:s.type)?null===(l=this.chatFlowProps)||void 0===l||null===(l=l.project)||void 0===l?void 0:l.id:void 0,h.connector_id=bP(this.chatFlowProps),h.ext={_caller:null===(u=this.chatFlowProps)||void 0===u||null===(u=u.project)||void 0===u?void 0:u.caller},h.suggest_reply_info=e.suggestPromoteInfo?{suggest_reply_mode:null===(c=e.suggestPromoteInfo)||void 0===c?void 0:c.suggestReplyMode,customized_suggest_prompt:null===(d=e.suggestPromoteInfo)||void 0===d?void 0:d.customizedSuggestPrompt}:void 0;var f=t||{};return f.headers=G(G({},(null==t?void 0:t.headers)||{}),(null===(p=this.chatFlowProps)||void 0===p||null===(p=p.workflow)||void 0===p?void 0:p.header)||{}),this.apiClient.workflows.chat.stream(h,f)}}])}(_w),bL=function(e){var t,n,r=e.project,i=e.userInfo,o=eu((0,Z.useState)(!1),2),a=o[0],s=o[1],l=eu((0,Z.useState)(),2),u=l[0],c=l[1],d=(0,Z.useRef)();null===(t=d.current)||void 0===t||t.updateChatFlowProps(e);var p=(0,Z.useMemo)(function(){var t,n,o,a,l,u,c,p,h,f,g,m,_,v,b,y;return{chat:G({appId:null==r?void 0:r.id,type:"app"===(null==r?void 0:r.type)?nk.App:nk.Bot},bE(e)),user:i,ui:{layout:(null===(t=e.areaUi)||void 0===t?void 0:t.layout)||"pc",isMiniCustomHeader:null==e||null===(n=e.areaUi)||void 0===n?void 0:n.isMiniCustomHeader,isReadonly:null==e||null===(o=e.areaUi)||void 0===o?void 0:o.isDisabled,header:G({isNeed:!1},(null==e||null===(a=e.areaUi)||void 0===a?void 0:a.header)||{}),footer:G({containerClassName:"websdk"!==(null===(l=e.project)||void 0===l?void 0:l.mode)?"index-module__footer-container___L_9Kc":void 0},null==e||null===(u=e.areaUi)||void 0===u?void 0:u.footer),loading:{renderLoading:null==e||null===(c=e.areaUi)||void 0===c?void 0:c.renderLoading},error:{renderError:bI(e)},chatSlot:{base:{maxWidth:600},input:null==e||null===(p=e.areaUi)||void 0===p?void 0:p.input,clearContext:null==e||null===(h=e.areaUi)||void 0===h?void 0:h.clearContext,clearMessage:null==e||null===(f=e.areaUi)||void 0===f?void 0:f.clearMessage,uploadBtn:null==e||null===(g=e.areaUi)||void 0===g?void 0:g.uploadBtn,message:null==e||null===(m=e.areaUi)||void 0===m?void 0:m.message,messageWrapper:null==e||null===(_=e.areaUi)||void 0===_?void 0:_.messageWrapper}},eventCallbacks:{onImageClick:null==e||null===(v=e.eventCallbacks)||void 0===v?void 0:v.onImageClick,onInitRetry:function(){s(!1)},onThemeChange:null==e||null===(b=e.eventCallbacks)||void 0===b?void 0:b.onThemeChange,message:null==e||null===(y=e.eventCallbacks)||void 0===y?void 0:y.message},setting:G(G({},(null==e?void 0:e.setting)||{}),{},{onGetCustomChatService:function(t){return d.current=new bD(t,e),d.current}})}},[e]);return(0,Z.useEffect)(function(){var t,n,r,i,o;a||("bot"===(null==(t=e)||null===(n=t.project)||void 0===n?void 0:n.type)?"draft"!==(null==t||null===(r=t.project)||void 0===r?void 0:r.mode)&&o_.error("mode must be draft when project type is bot"):"internal"!==(null==t||null===(i=t.auth)||void 0===i?void 0:i.type)&&(null!=t&&null!==(o=t.auth)&&void 0!==o&&o.token||o_.error("token is required when auth type is not internal")),eo(er().mark(function t(){var n,r;return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bx(e);case 2:r=(n=t.sent).token,c({token:r,onRefreshToken:n.refreshToken,connectorId:bP(e)}),s(!0);case 7:case"end":return t.stop()}},t)}))())},[a]),uN(function(){o_.info("useInitChat reRender"),s(!1)},[null==r?void 0:r.id,null==r?void 0:r.type,null==r?void 0:r.conversationName,null==r?void 0:r.mode,null==e||null===(n=e.workflow)||void 0===n?void 0:n.id]),{hasReady:a,chatProps:Object.assign(p,{auth:u})}},bB=["auth"],bN=function(e){var t,n,r=_U(function(e){return e.inProcessChatMessageGroup}),i=null==r||null===(t=r.query)||void 0===t||null===(t=t.extData)||void 0===t?void 0:t.executeId,o=null==e||null===(n=e.eventCallbacks)||void 0===n?void 0:n.onGetChatFlowExecuteId;uN(function(){o_.debug("ChatFlow excuteId",i),i&&o&&o(i)},[i]);var a=_K();return(0,Z.useEffect)(function(){var t,n;a&&(null==e||null===(t=e.eventCallbacks)||void 0===t||null===(n=t.onInitSuccess)||void 0===n||n.call(t))},[a]),(0,uC.jsx)(uC.Fragment,{children:e.children||(0,uC.jsx)(ba,{className:W()(z({},"index-module__chat-slot-websdk___vRkjf","websdk"===e.project.mode))})})},bR={MdStream:mT,ChatFlowFramework:function(e){o_.setLoglevel(null==e||null===(t=e.setting)||void 0===t?void 0:t.logLevel);var t,n,r,i,o,a=bL(e),s=a.chatProps,l=a.hasReady,u=e||{},c=u.auth,d=R(u,bB);return o_.info("ChatFlow props",{props:d,hasReady:l,auth:{type:null==c?void 0:c.type,token:"".concat(null==c||null===(n=c.token)||void 0===n?void 0:n.slice(0,5),"*******").concat(null==c||null===(r=c.token)||void 0===r?void 0:r.slice(-5,5))}}),null!=s&&s.auth&&l?(0,uC.jsx)(nT,{style:e.style,className:"index-module__chatflow___Vibyy",children:(0,uC.jsx)(bT,G(G({},s),{},{auth:s.auth,children:(0,uC.jsx)(bN,G({},e))}))}):(0,uC.jsx)(d9,{className:"index-module__loading___rDodM",children:null!==(i=e.areaUi)&&void 0!==i&&i.renderLoading?null===(o=e.areaUi)||void 0===o?void 0:o.renderLoading():(0,uC.jsx)(mE,{})})},ChatFramework:bT,ChatSlot:ba,useChatInfoStore:_j,ChatService:_w,Logger:om,Language:nC,ChatType:nk,RawMessageType:nE,useInitSuccess:_K,useSendMessage:_b,useClearContext:_y,useClearMessage:_g,useApiClientStore:_R,useConversationStore:_U,useChatInputStore:_Z,useChatStatusStore:_z,useUiEventStore:_W,UIEventType:nM},bj=p(824);bR.config={},bR.pxTransformConfig={},Object.assign(bR.config,{}),ol.call(bR,{designWidth:375,deviceRatio:{375:2,640:1.17,750:1,828:.905},baseFontSize:20,unitPrecision:void 0,targetUnit:void 0}),bR.config;var bU=(v=bR,b=Z,y=bj,ib.R=b,b.createElement,w=y,n2.tap("getLifecycle",function(e,t){return e[t=t.replace(/^on(Show|Hide)$/,"componentDid$1")]}),n2.tap("modifyMpEvent",function(e){Object.defineProperty(e,"type",{value:e.type.replace(/-/g,"")})}),n2.tap("batchedEventUpdates",function(e){null==w||w.unstable_batchedUpdates(e)}),n2.tap("mergePageInstance",function(e,t){e&&t&&("constructor"in e||Object.keys(e).forEach(function(n){var r,i=e[n],o=nJ(r=t[n])?r:r?[r]:[];t[n]=o.concat(i)}))}),n2.tap("createPullDownComponent",function(e,t,n,r){var i,o,a,s,l=(i=n,s=(o=e).prototype,!(null===(a=o.displayName)||void 0===a?void 0:a.includes("Connect"))&&(nU(o.render)||!!(null==s?void 0:s.isReactComponent)||s instanceof i.Component));return n.forwardRef(function(t,n){return iA(r||"taro-pull-to-refresh-core",null,iA(e,Object.assign(Object.assign({},Object.assign({},t)),l?{ref:n}:{forwardedRef:n,reactReduxForwardedRef:n})))})}),n2.tap("getDOMNode",function(e){if(!e)return iv;if(e instanceof HTMLElement)return e;if(e.$taroPath){var t=iv.getElementById(e.$taroPath);return null!=t?t:iv}}),v)}(),h}()})},15133:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});let r="semi"},67102:function(e,t,n){"use strict";var r=n("91196"),i=n.n(r),o=n("98602");class a{static get cssClasses(){return{}}static get strings(){return{}}static get numbers(){return{}}static get defaultAdapter(){return{getProp:i(),getProps:i(),getState:i(),getStates:i(),setState:i(),getContext:i(),getContexts:i(),getCache:i(),setCache:i(),getCaches:i(),stopPropagation:i(),persistEvent:i()}}constructor(e){this._adapter=Object.assign(Object.assign({},a.defaultAdapter),e)}getProp(e){return this._adapter.getProp(e)}getProps(){return this._adapter.getProps()}getState(e){return this._adapter.getState(e)}getStates(){return this._adapter.getStates()}setState(e,t){return this._adapter.setState(Object.assign({},e),t)}getContext(e){return this._adapter.getContext(e)}getContexts(){return this._adapter.getContexts()}getCaches(){return this._adapter.getCaches()}getCache(e){return this._adapter.getCache(e)}setCache(e,t){return e&&this._adapter.setCache(e,t)}stopPropagation(e){this._adapter.stopPropagation(e)}_isControlledComponent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"value",t=this.getProps();return e in t}_isInProps(e){return e in this.getProps()}init(e){}destroy(){}log(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,o.Z)(e,...n)}_persistEvent(e){this._adapter.persistEvent(e)}}t.Z=a},12855:function(e,t,n){"use strict";n.d(t,{UX:function(){return i},j2:function(){return o}});var r=n("15133");let i={PREFIX:`${r.T}-button`},o={sizes:["default","small","large"],iconPositions:["left","right"],htmlTypes:["button","reset","submit"],btnTypes:["primary","secondary","tertiary","warning","danger"],themes:["solid","borderless","light","outline"],DEFAULT_ICON_SIZE:"default",DEFAULT_ICON_POSITION:"left"}},93230:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n("15133");let i={PREFIX:`${r.T}`}},58379:function(e,t,n){"use strict";n.d(t,{j2:function(){return r}}),n("15133").T;let r={SIZE:["extra-small","small","default","large","extra-large","custom"],ICON_PREFIX:"semi-icon-"}},62497:function(e,t,n){"use strict";n.d(t,{K:function(){return o},U:function(){return i}});var r=n("15133");let i={PREFIX:`${r.T}-image`},o={DEFAULT_Z_INDEX:1070}},77151:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("67102");class i extends r.Z{constructor(){super(...arguments),this.changeSliderValue=e=>{let{zoom:t,step:n,min:r,max:i}=this.getProps(),o="plus"===e?t+n:t-n;o>i?o=i:o<r&&(o=r),this.handleValueChange(o)},this.handleValueChange=e=>{let{onZoomIn:t,onZoomOut:n,zoom:r}=this.getProps();e>r?t(Number((e/100).toFixed(2))):n(Number((e/100).toFixed(2)))},this.handleRatioClick=()=>{let{ratio:e,onAdjustRatio:t}=this.getProps();t("adaptation"===e?"realSize":"adaptation")},this.handleRotate=e=>{let{onRotate:t}=this.getProps();t&&t(e)}}}},43021:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("67102");class i extends r.Z{constructor(){super(...arguments),this.handleVisibleChange=e=>{let{visible:t,onVisibleChange:n}=this.getProps();!(t in this.getProps())&&this.setState({visible:e}),n&&n(e)},this.handleCurrentIndexChange=e=>{let{currentIndex:t,onChange:n}=this.getProps();!(t in this.getProps())&&this.setState({currentIndex:e}),n&&n(e)}}}},73705:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("67102");class i extends r.Z{constructor(e){var t;super(Object.assign({},e)),t=this,this.startMouseClientPosition={x:0,y:0},this.originImageWidth=null,this.originImageHeight=null,this.containerWidth=0,this.containerHeight=0,this._isImageVertical=()=>this.getProp("rotation")%180!=0,this._getContainerBoundingRectSize=()=>{let e=this._adapter.getContainer();e&&(this.containerWidth=e.clientWidth,this.containerHeight=e.clientHeight)},this._getAdaptationZoom=()=>{let e=1;if(this._adapter.getContainer()&&this.originImageWidth&&this.originImageHeight){let{rotation:t}=this.getProps(),{width:n,height:r}=this.calcBoundingRectSize(this.originImageWidth,this.originImageHeight,t),i=this.containerWidth-80;e=Number(Math.min(i/n,(this.containerHeight-80)/r).toFixed(2))}return e},this._getInitialZoom=()=>{let{ratio:e}=this.getProps(),t=1;return"adaptation"===e&&(t=this._getAdaptationZoom()),t},this.setLoading=e=>{this._adapter.setLoading(e)},this.handleWindowResize=()=>{this._getContainerBoundingRectSize(),this.initializeImage()},this.handleLoad=e=>{if(e.target){let{naturalWidth:t,naturalHeight:n}=e.target;this.originImageHeight=n,this.originImageWidth=t,this.setState({loading:!1}),this.initializeImage(!1)}let{src:t,onLoad:n}=this.getProps();n&&n(t)},this.handleError=e=>{let{onError:t,src:n}=this.getProps();this.setState({loading:!1}),t&&t(n)},this.handleRatioChange=()=>{this.initializeImage()},this.initializeImageZoom=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],{currZoom:n}=t.getStates(),{onZoom:r}=t.getProps(),i=t._getInitialZoom();n!==i?r(i,e):t.changeZoom(i)},this.initializeTranslate=()=>{this.setState({translate:{x:0,y:0}})},this.initializeImage=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];t.initializeImageZoom(e),t.initializeTranslate()},this.handleRightClickImage=e=>{let{disableDownload:t}=this.getProps();return!t||(e.preventDefault(),e.stopPropagation(),!1)},this.getCanDragDirection=(e,t)=>{let n=e>this.containerWidth;return{canDragVertical:t>this.containerHeight,canDragHorizontal:n}},this.changeZoom=(e,t)=>{let n=this._adapter.getImage(),{currZoom:r,translate:i,width:o,height:a}=this.getStates(),{rotation:s}=this.getProps(),l=e/(r||1),u=Math.floor(this.originImageWidth*e),c=Math.floor(this.originImageHeight*e),d=Math.floor(i.x*l),p=Math.floor(i.y*l),h=this.calcBoundingRectSize(o,a,s),f={width:h.width*l,height:h.height*l};if(t&&n&&t.target===n){let n=s%360;switch(n<0&&(n=360+n),n){case 0:d=(t.offsetX-.5*o)*(1-e/r)+i.x,p=(t.offsetY-.5*a)*(1-e/r)+i.y;break;case 90:d=(.5*a-t.offsetY)*(1-e/r)+i.x,p=(t.offsetX-.5*o)*(1-e/r)+i.y;break;case 180:d=(.5*o-t.offsetX)*(1-e/r)+i.x,p=(.5*a-t.offsetY)*(1-e/r)+i.y;break;case 270:d=(t.offsetY-.5*a)*(1-e/r)+i.x,p=(.5*o-t.offsetX)*(1-e/r)+i.y}}let g=this.getSafeTranslate(f.width,f.height,d,p);if(this.setState({translate:g,width:u,height:c,currZoom:e}),n){let{canDragVertical:e,canDragHorizontal:t}=this.getCanDragDirection(f.width,f.height);this._adapter.setImageCursor(e||t)}},this.getExtremeTranslate=(e,t)=>({x:(e-this.containerWidth)/2,y:(t-this.containerHeight)/2}),this.getSafeTranslate=(e,t,n,r)=>{let{x:i,y:o}=this.getExtremeTranslate(e,t),{canDragVertical:a,canDragHorizontal:s}=this.getCanDragDirection(e,t),l=0,u=0;return s&&(l=n>0?Math.min(n,i):Math.max(n,-i)),a&&(u=r>0?Math.min(r,o):Math.max(r,-o)),{x:l,y:u}},this.handleImageMove=e=>{1===e.buttons&&this.moveImage(e)},this.moveImage=e=>{let{clientX:t,clientY:n}=e,{width:r,height:i,translate:o}=this.getStates(),{rotation:a}=this.getProps(),s=this.calcBoundingRectSize(r,i,a),{canDragVertical:l,canDragHorizontal:u}=this.getCanDragDirection(s.width,s.height);if(l||u){let e=u?o.x+t-this.startMouseClientPosition.x:o.x,r=l?o.y+n-this.startMouseClientPosition.y:o.y,i=this.getSafeTranslate(s.width,s.height,e,r);this.setState({translate:i}),this.startMouseClientPosition={x:t,y:n}}},this.handleImageMouseDown=e=>{this.startMouseClientPosition={x:e.clientX,y:e.clientY}},this.calcBoundingRectMouseOffset=e=>{let{width:t,height:n,offset:r,rotation:i=0}=e,o=i%360,a=0,s=0;switch(o=o>=0?o:360+o){case 0:a=r.x,s=r.y;break;case 90:a=n-r.y,s=r.x;break;case 180:a=t-r.x,s=n-r.y;break;case 270:a=r.y,s=t-r.x}return{x:a,y:s}}}init(){this._getContainerBoundingRectSize()}calcBoundingRectSize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=n*Math.PI/180,i=Math.abs(Math.sin(r)),o=Math.abs(Math.cos(r));return{width:e*o+t*i,height:e*i+t*o}}}},88187:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n("15543"),i=n.n(r),o=n("33984"),a=n.n(o),s=n("60644"),l=n("67102"),u=n("52491"),c=n("38762");let d=["icon","footer"];class p extends l.Z{constructor(e){var t;super(Object.assign({},e)),t=this,this._timer=null,this._startMouseDown={x:0,y:0},this.handleViewVisibleChange=()=>{let{viewerVisible:e}=this.getStates();e&&(this.setState({viewerVisible:!1}),this.clearTimer())},this.handleMouseMove=e=>{this._persistEvent(e),this.mouseMoveHandler(e)},this.mouseMoveHandler=i()(e=>{let{viewerVisible:t}=this.getStates();this._adapter.isValidTarget(e)?(!t&&this.setState({viewerVisible:!0}),this.updateTimer()):this.clearTimer()},50),this.updateTimer=()=>{let{viewerVisibleDelay:e}=this.getProps();this.clearTimer(),this._timer=setTimeout(this.handleViewVisibleChange,e)},this.clearTimer=()=>{this._timer&&(clearTimeout(this._timer),this._timer=null)},this.handleWheel=e=>{this.onWheel(e),(0,s.Jt)(e)},this.onWheel=e=>{let t;let{zoomStep:n,maxZoom:r,minZoom:i}=this.getProps(),{zoom:o}=this.getStates();e.deltaY<0?o+n<=r&&(t=Number((o+n).toFixed(2))):e.deltaY>0&&o-n>=i&&(t=Number((o-n).toFixed(2))),!a()(t)&&this.handleZoomImage(t,!0,e)},this.handleMouseUp=e=>{let{maskClosable:t}=this.getProps(),n=!(0,c.zW)(e,d),{clientX:r,clientY:i}=e,{x:o,y:a}=this._startMouseDown;(Math.abs(r-o)>5||Math.abs(a-i)>5)&&(n=!1),n&&t&&this._adapter.notifyVisibleChange(!1)},this.handleMouseDown=e=>{let{clientX:t,clientY:n}=e;this._startMouseDown={x:t,y:n}},this.handleKeyDown=e=>{let{closeOnEsc:t}=this.getProps();if(t&&e.keyCode===u.ZP.ESC){e.stopPropagation(),this._adapter.notifyVisibleChange(!1),this._adapter.notifyClose();return}},this.handleSwitchImage=e=>{let t="prev"===e?-1:1,{imgSrc:n,currentIndex:r}=this.getStates(),i=n.length,o=(r+t+i)%i;"currentIndex"in this.getProps()?this._adapter.getIsInGroup()&&this._adapter.getContext("setCurrentIndex")(o):this.setState({currentIndex:o}),this._adapter.notifyChange(o,e),this.setState({direction:e,rotation:0})},this.handleDownload=()=>{let{currentIndex:e,imgSrc:t}=this.getStates(),n=this._adapter.getSetDownloadFunc(),r=t[e],i=n?n(r):r.slice(r.lastIndexOf("/")+1).split("?")[0];(0,c.GN)(r,i,this._adapter.notifyDownloadError),this._adapter.notifyDownload(r,e)},this.handlePreviewClose=e=>{this._adapter.notifyVisibleChange(!1),this._adapter.notifyClose(),(0,s.Jt)(e)},this.handleAdjustRatio=e=>{this.setState({ratio:e}),this._adapter.notifyRatioChange(e)},this.handleRotateImage=e=>{let{rotation:t}=this.getStates(),n=t+("left"===e?-90:90);this.setState({rotation:n}),this._adapter.notifyRotateChange(n)},this.handleZoomImage=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2?arguments[2]:void 0,{zoom:i}=t.getStates();i!==e&&(n&&t._adapter.notifyZoom(e,e>i),t._adapter.changeImageZoom(e,r),t.setState({zoom:e}))},this.preloadGapImage=()=>{let{preLoad:e,preLoadGap:t,infinite:n,currentIndex:r}=this.getProps(),{imgSrc:i}=this.getStates();if(!e||"number"!=typeof t||t<1)return;let o=(0,c.fQ)(i,r,t,n);if(0===o.length)return;let a=new Image,s=0;function l(e){++s<o.length&&(a.src=o[s])}a.onload=e=>{this.setLoadSuccessStatus(a.src),l(e)},a.onerror=l,a.src=o[0]},this.preloadSingleImage=()=>{let{preLoad:e,preLoadGap:t,infinite:n}=this.getProps(),{imgSrc:r,currentIndex:i,direction:o,imgLoadStatus:a}=this.getStates();if(!e||"number"!=typeof t||t<1)return;let s=i+("prev"===o?-1:1)*t;if(s<0||s>=r.length){if(!n)return;s=(s+r.length)%r.length}if(!a[s]){let e=new Image;e.onload=e=>{this.setLoadSuccessStatus(r[s])},e.src=r[s]}},this.setLoadSuccessStatus=e=>{let{imgLoadStatus:t}=this.getStates(),n=Object.assign({},t);n[e]=!0,this.setState({imgLoadStatus:n})},this.onImageLoad=e=>{let{preloadAfterVisibleChange:t}=this.getStates();this.setLoadSuccessStatus(e),t?(this.preloadGapImage(),this.setState({preloadAfterVisibleChange:!1})):this.preloadSingleImage()}}beforeShow(){this._adapter.registerKeyDownListener(),this._adapter.disabledBodyScroll(),this.updateTimer()}afterHide(){this._adapter.unregisterKeyDownListener(),this._adapter.enabledBodyScroll(),this.clearTimer()}}},38762:function(e,t,n){"use strict";n.d(t,{GN:function(){return i},fQ:function(){return a},zW:function(){return r}});let r=(e,t)=>{let n=null==e?void 0:e.composedPath();return null==n?void 0:n.slice(0,n.length-4).some(e=>!!e.className&&"string"==typeof e.className&&t.some(t=>e.className.includes(t)))},i=(e,t,n)=>{var r,i,o,a;return r=void 0,i=void 0,o=void 0,a=function*(){try{let r=yield fetch(e);if(r.ok){let e=yield r.blob(),n=URL.createObjectURL(e),i=document.createElement("a");i.href=n,i.download=t,i.click(),URL.revokeObjectURL(n),i.remove()}else n(e)}catch(t){n(e)}},new(o||(o=Promise))(function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(n,s)}l((a=a.apply(r,i||[])).next())})},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=e.length,i=t.length;return Array(r<=i?r:i).fill(0).forEach((r,i)=>{n.push(t[i]),n.push(e[i])}),r>i?n=n.concat(e.slice(i,r)):r<i&&(n=n.concat(t.slice(r,i))),n},a=(e,t,n,r)=>{let i=t-n,a=t+n,s=e.length,l=[],u=[];return n>=Math.floor(s/2)?r?(l=e.concat(e).slice(i+s<0?0:i+s,t+s),u=e.concat(e).slice(t+1,a+1<2*s?a+1:2*s)):(l=e.slice(0,t),u=e.slice(t+1,s)):r?(l=e.concat(e).slice(i+s,t+s),u=e.concat(e).slice(t+1,a+1)):i>=0&&a<s?(l=e.slice(i,t),u=e.slice(t+1,a+1)):i<0?(l=e.slice(0,t),u=e.slice(t+1,2*n+1)):(u=e.slice(t+1,s),l=e.slice(s-2*n-1,t)),Array.from(new Set(o(l.reverse(),u)))}},21937:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n("15133");let i={PREFIX:`${r.T}-slider`,DISABLED:`${r.T}-slider-disabled`,VERTICAL:`${r.T}-slider-vertical`,TRACK:`${r.T}-slider-track`,DOTS:`${r.T}-slider-dots`,MARKS:`${r.T}-slider-marks`,HANDLE:`${r.T}-slider-handle`,HANDLE_DOT:`${r.T}-slider-handle-dot`}},23433:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("67102"),i=n("69355"),o=n("14288"),a=n("60644");class s extends r.Z{constructor(e){var t;super(Object.assign(Object.assign({},s.defaultAdapter),e)),t=this,this.getMinAndMaxPercent=e=>{let{range:t,min:n,max:r}=this._adapter.getProps(),i=t?(e[0]-n)/(r-n):(e-n)/(r-n),o=t?(e[1]-n)/(r-n):1;return{min:this._checkValidity(i),max:this._checkValidity(o)}},this._checkValidity=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e>n?n:e<t?t:e},this.computeHandleVisibleVal=(e,t,n)=>{let r;let{focusPos:i,currentValue:o}=this._adapter.getStates(),a={min:!1,max:!1};return r=t?{min:t(n?this.outPutValue(o[0]):this.outPutValue(o)),max:n?t(this.outPutValue(o[1])):null}:{min:n?this.outPutValue(o[0]):this.outPutValue(o),max:n?this.outPutValue(o[1]):null},e?(a.min=!0,a.max=!0):void 0===e&&t&&("min"===i?a.min=!0:"max"===i&&(a.max=!0)),{tipVisible:a,tipChildren:r}},this.valueFormatIsCorrect=e=>Array.isArray(e)?"number"==typeof e[0]&&"number"==typeof e[0]:"number"==typeof e,this.handleMousePos=(e,t)=>{let n=this._adapter.getParentRect(),r=this._adapter.getScrollParentVal(),i=n?n.left:0,o=n?n.top:0;return{x:e-i+r.scrollLeft,y:t-o+r.scrollTop}},this.getScrollParent=e=>{let t=/(auto|scroll)/,n=(e,t)=>window.getComputedStyle(e,null).getPropertyValue(t),r=e=>t.test(n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")),i=e=>e&&e!==document.body&&e instanceof Element?r(e)?e:i(e.parentNode):document.body;return i(e)},this.checkMeetMinMax=e=>{let t,n;let{vertical:r,verticalReverse:i,range:o}=this._adapter.getProps(),a=this._adapter.getState("currentValue");this.transValueToPos(a);let{sliderX:s,sliderY:l,sliderWidth:u,sliderHeight:c}=this._adapter.getSliderLengths(),{chooseMovePos:d,isDrag:p}=this._adapter.getStates();return t=r&&i?l+(r?c:u):r?l:s,n=r&&i?l:r?l+c:s+u,r&&i?e>=t?e=t:e<=n&&(e=n):e<=t?e=t:e>=n&&(e=n),e},this.transPosToValue=(e,t)=>{let n,r;let i=this.checkMeetMinMax(e),{min:o,max:a,currentValue:s}=this._adapter.getStates(),{range:l,vertical:u,step:c,verticalReverse:d}=this._adapter.getProps(),{sliderX:p,sliderY:h,sliderWidth:f,sliderHeight:g}=this._adapter.getSliderLengths(),m=u?h:p,_=u?g:f;return(n=u&&d?(m+_-i)/_*(a-o)+o:(i-m)/_*(a-o)+o,r=l?t?s[0]:s[1]:s,1!==c&&(n=Math.round(n/c)*c),l&&n!==r)?t?[n,s[1]]:[s[0],n]:!l&&n!==r&&n},this.transValueToPos=e=>{let{min:t,max:n}=this._adapter.getStates(),{vertical:r,range:i,verticalReverse:o}=this._adapter.getProps(),{sliderX:a,sliderY:s,sliderWidth:l,sliderHeight:u}=this._adapter.getSliderLengths(),c=r?s:a,d=r?u:l;return i?[(e[0]-t)*d/(n-t)+c,(e[1]-t)*d/(n-t)+c]:(e-t)*d/(n-t)+c},this.isMarkActive=e=>{let{min:t,max:n,range:r,included:i}=this._adapter.getProps(),o=this._adapter.getState("currentValue");return"number"==typeof(e/1)&&!!(e>=t)&&!!(e<=n)&&(r?(e>o[1]||e<o[0])&&i?"unActive":"active":e<=o&&i?"active":"unActive")},this.outPutValue=e=>{let t=e=>{var t,n;return/^\d+(\.\d+)?$/.test(String(e))?null!==(n=null===(t=e.toString().split(".")[1])||void 0===t?void 0:t.length)&&void 0!==n?n:0:0},n=this._adapter.getProp("step"),r=(()=>{let e=Math.pow(10,t(n));return t=>Math.round(t*e)/e})();if(!Array.isArray(e))return r(e);{let t=r(e[0]),n=r(e[1]);return t>n?"min"===this.getState("focusPos")?[n,n]:[t,t]:[t,n]}},this.handleDisabledChange=e=>{this._adapter.updateDisabled(e)},this.checkAndUpdateIsInRenderTreeState=()=>this._adapter.checkAndUpdateIsInRenderTreeState(),this.calculateOutputValue=(e,t)=>{let n=this.transPosToValue(e,t);if(!1!==n)return this.outPutValue(n)},this.handleValueChange=(e,t)=>{let{min:n,max:r}=this._adapter.getStates(),i=null,o={};this.valueFormatIsCorrect(t)?(Array.isArray(e)&&Array.isArray(t)&&(i=Object.assign(o,{currentValue:t=[t[0]<n?n:t[0],t[1]>r?r:t[1]]})),"number"==typeof e&&"number"==typeof t&&(i=Object.assign(o,{currentValue:t=t>r?r:t<n?n:t}))):i=o,i&&this._adapter.transNewPropsToState(i)},this.onHandleDown=(e,t)=>{this._adapter.onHandleDown(e);let n=this._adapter.getState("disabled"),{vertical:r}=this._adapter.getProps(),{dragging:i}=this._adapter.getOverallVars();if(n)return!1;this._adapter.setStateVal("isDrag",!0),this._adapter.setStateVal("chooseMovePos",t),"min"===t?this._adapter.setDragging([!0,i[1]]):this._adapter.setDragging([i[0],!0]);let o=this.handleMousePos(e.clientX,e.clientY),a=r?o.y:o.x;if(this._adapter.isEventFromHandle(e)){let t=this._getHandleCenterPosition(r,e.target);this._dragOffset=a-t,a=t}else this._dragOffset=0;return!0},this.onHandleMove=e=>{this._adapter.setEventDefault(e);let{disabled:t,chooseMovePos:n}=this._adapter.getStates(),{vertical:r}=this._adapter.getProps(),{dragging:i}=this._adapter.getOverallVars();if(t)return!1;this.onHandleEnter(n);let o=this.handleMousePos(e.clientX,e.clientY),a=r?o.y:o.x;if(a-=this._dragOffset,"min"===n&&i[0]||"max"===n&&i[1]){let e=this.calculateOutputValue(a,"min"===n);if(void 0===e)return!1;this._adapter.notifyChange(e),this._adapter.onHandleMove(a,"min"===n,void 0,!1,e)}return!0},this.onHandleTouchStart=(e,t)=>{let n=this._adapter.getMinHandleEl(),r=this._adapter.getMaxHandleEl();if(e.target===n||e.target===r){(0,a.Jt)(e);let n=(0,i.Z)(e.touches[0],e);this.onHandleDown(n,t)}},this.onHandleTouchMove=e=>{let t=this._adapter.getMinHandleEl(),n=this._adapter.getMaxHandleEl();if(e.target===t||e.target===n){let t=(0,i.Z)(e.touches[0],e);this.onHandleMove(t)}},this.onHandleEnter=e=>{let{disabled:t,focusPos:n}=this._adapter.getStates();!t&&!n&&e!==n&&this._adapter.onHandleEnter(e)},this.onHandleLeave=()=>{let e=this._adapter.getState("disabled"),t=this._adapter.getState("isDrag");!e&&!t&&this._adapter.onHandleLeave()},this.onHandleUp=e=>{this._adapter.onHandleUpBefore(e);let{disabled:t,chooseMovePos:n}=this._adapter.getStates(),{dragging:r}=this._adapter.getOverallVars();return!t&&("min"===n?this._adapter.setDragging([!1,r[1]]):this._adapter.setDragging([r[0],!1]),this._adapter.setStateVal("isDrag",!1),this._adapter.onHandleLeave(),this._adapter.onHandleUpAfter(),!0)},this._handleValueDecreaseWithKeyBoard=(e,t)=>{let{min:n,currentValue:r}=this.getStates(),{range:i}=this.getProps();if("min"===t){if(i){let t=r[0]-e;return[t=t<n?n:t,r[1]]}{let t=r-e;return t=t<n?n:t}}{let t=r[1]-e;return t=t<r[0]?r[0]:t,[r[0],t]}},this._handleValueIncreaseWithKeyBoard=(e,t)=>{let{max:n,currentValue:r}=this.getStates(),{range:i}=this.getProps();if("min"===t){if(i){let t=r[0]+e;return[t=t>r[1]?r[1]:t,r[1]]}{let t=r+e;return t=t>n?n:t}}{let t=r[1]+e;return t=t>n?n:t,[r[0],t]}},this._handleHomeKey=e=>{let{min:t,currentValue:n}=this.getStates(),{range:r}=this.getProps();return"min"!==e?[n[0],n[0]]:r?[t,n[1]]:t},this._handleEndKey=e=>{let{max:t,currentValue:n}=this.getStates(),{range:r}=this.getProps();return"min"!==e?[n[0],t]:r?[n[1],n[1]]:t},this.handleKeyDown=(e,t)=>{let n;let{min:r,max:i,currentValue:o}=this.getStates(),{step:s,range:l}=this.getProps();switch(e.key){case"ArrowLeft":case"ArrowDown":n=this._handleValueDecreaseWithKeyBoard(s,t);break;case"ArrowRight":case"ArrowUp":n=this._handleValueIncreaseWithKeyBoard(s,t);break;case"PageUp":n=this._handleValueIncreaseWithKeyBoard(10*s,t);break;case"PageDown":n=this._handleValueDecreaseWithKeyBoard(10*s,t);break;case"Home":n=this._handleHomeKey(t);break;case"End":n=this._handleEndKey(t)}if(["ArrowLeft","ArrowDown","ArrowRight","ArrowUp","PageUp","PageDown","Home","End"].includes(e.key)){let t=!0;(t=Array.isArray(o)?!(o[0]===n[0]&&o[1]===n[1]):o!==n)&&(this._adapter.updateCurrentValue(n),this._adapter.notifyChange(n)),(0,a.Jt)(e)}},this._noTooltip=()=>{let{tipFormatter:e,tooltipVisible:t}=this.getProps();return null===e||!1===t},this.onFocus=(e,t)=>{if(this._noTooltip())return;(0,a.Jt)(e);let{target:n}=e;try{n.matches(":focus-visible")&&("min"===t?this._adapter.setStateVal("firstDotFocusVisible",!0):this._adapter.setStateVal("secondDotFocusVisible",!0))}catch(e){(0,o.Z)(!0,"Warning: [Semi Slider] The current browser does not support the focus-visible")}},this.onBlur=(e,t)=>{if(this._noTooltip())return;let{firstDotFocusVisible:n,secondDotFocusVisible:r}=this.getStates();"min"===t?n&&this._adapter.setStateVal("firstDotFocusVisible",!1):r&&this._adapter.setStateVal("secondDotFocusVisible",!1)},this.handleWrapClick=e=>{let{disabled:t,isDrag:n}=this._adapter.getStates();if(n||t||this._adapter.isEventFromHandle(e))return;let{vertical:r}=this.getProps(),i=this.handleMousePos(e.clientX,e.clientY),o=r?i.y:i.x,a=this.checkWhichHandle(o),s=this.calculateOutputValue(o,a);if(void 0!==s)this._adapter.notifyChange(s),!this._isControlledComponent()&&this.setHandlePos(o,a,!0,s)},this.setHandlePos=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;t._adapter.onHandleMove(e,n,()=>t._adapter.onHandleUpAfter(),r,i)},this.checkWhichHandle=e=>{let{vertical:t,verticalReverse:n}=this.getProps(),{currentValue:r}=this._adapter.getStates(),i=this.transValueToPos(r),o=!0;return Array.isArray(i)&&(e>i[1]||Math.abs(e-i[0])>Math.abs(e-i[1]))&&(o=!1),t&&n&&(o=!o),o},this.handleWrapperEnter=()=>{this._adapter.setStateVal("showBoundary",!0)},this.handleWrapperLeave=()=>{this._adapter.setStateVal("showBoundary",!1)}}init(){this._checkCurrentValue(),this._dragOffset=0}_checkCurrentValue(){let e;let{currentValue:t,min:n,max:r}=this.getStates();Array.isArray(t)?((e=[])[0]=this._checkValidity(t[0],n,r),e[1]=this._checkValidity(t[1],n,r)):e=this._checkValidity(t,n,r),this._adapter.updateCurrentValue(e)}destroy(){this._adapter.unSubscribeEventListener()}_getHandleCenterPosition(e,t){let n=t.getBoundingClientRect(),{x:r,y:i}=this.handleMousePos(n.left+.5*n.width,n.top+.5*n.height);return e?i:r}}},83996:function(e,t,n){"use strict";n.d(t,{UX:function(){return i},j2:function(){return o}});var r=n("15133");let i={PREFIX:`${r.T}-spin`},o={SIZE:["small","middle","large"]}},96888:function(e,t,n){"use strict";var r=n("67102");class i extends r.Z{static get spinDefaultAdapter(){return{getProp:()=>void 0,setLoading:e=>void 0}}constructor(e){super(Object.assign(Object.assign({},i.spinDefaultAdapter),e))}updateLoadingIfNeedDelay(){let{spinning:e,delay:t}=this._adapter.getProps(),{delay:n}=this._adapter.getStates();if(n){let n=this;this._timer=setTimeout(()=>{n._adapter.setState({loading:e,delay:0})},t)}}destroy(){this._timer&&(clearTimeout(this._timer),this._timer=null)}}t.Z=i},8235:function(e,t,n){"use strict";n.d(t,{KT:function(){return s},UX:function(){return o},j2:function(){return a}});var r=n("15133");let i=`${r.T}-toast`,o={PREFIX:i,WRAPPER:`${i}-wrapper`,LIST:`${i}-list`},a={types:["warning","success","info","error","default"],themes:["normal","light"],directions:["ltr","rtl"]},s={duration:3}},16472:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("79121"),i=n.n(r),o=n("67102");class a extends o.Z{constructor(e){super(Object.assign(Object.assign({},a.defaultAdapter),e)),this._timer=null,this._id=null}init(){this.startCloseTimer_(),this._id=this._adapter.getProp("id")}destroy(){this.clearCloseTimer_()}startCloseTimer_(){let e=this._adapter.getProp("duration");e&&i()(e)&&(this._timer=setTimeout(()=>{this.close()},1e3*e))}close(e){e&&e.stopPropagation(),this._adapter.notifyWrapperToRemove(this._id),this._adapter.notifyClose()}clearCloseTimer_(){this._timer&&(clearTimeout(this._timer),this._timer=null)}restartCloseTimer(){this.clearCloseTimer_(),this.startCloseTimer_()}}},67818:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("67102");class i extends r.Z{constructor(e){super(Object.assign(Object.assign({},i.defaultAdapter),e)),this.handleMouseInSideChange=e=>{this._adapter.handleMouseInSideChange(e)},this.getInputWrapperRect=()=>this._adapter.getInputWrapperRect()}hasToast(e){return this._adapter.getState("list").map(e=>{let{id:t}=e;return t}).includes(e)}addToast(e){let t=this._adapter.getState("list");t.push(e),this._adapter.updateToast(t,[],[])}updateToast(e,t){let n=this._adapter.getState("list"),r=(n=n.map(n=>n.id===e?Object.assign(Object.assign({},n),t):n)).filter(t=>t.id===e);this._adapter.updateToast(n,[],r)}removeToast(e){let t=this._adapter.getState("list"),n=[];t=t.filter(t=>t.id!==e||(n.push(t),!1)),this._adapter.updateToast(t,n,[])}destroyAll(){let e=this._adapter.getState("list");e.length>0&&this._adapter.updateToast([],e,[])}}},34386:function(e,t,n){"use strict";n.d(t,{KT:function(){return a},UX:function(){return i},j2:function(){return o}});var r=n("15133");let i={PREFIX:`${r.T}-tooltip`},o={POSITION_SET:["top","topLeft","topRight","left","leftTop","leftBottom","right","rightTop","rightBottom","bottom","bottomLeft","bottomRight","leftTopOver","rightTopOver","leftBottomOver","rightBottomOver"],TRIGGER_SET:["hover","focus","click","custom","contextMenu"],STATUS_DISABLED:"disabled",STATUS_LOADING:"loading"},a={ARROW_BOUNDING:{offsetX:0,offsetY:2,width:24,height:7},DEFAULT_Z_INDEX:1060,MOUSE_ENTER_DELAY:50,MOUSE_LEAVE_DELAY:50,SPACING:8,MARGIN:0}},58811:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n("33186"),i=n.n(r),o=n("65952"),a=n.n(o),s=n("67102"),l=n("60644");let u={TOP:/top/i,RIGHT:/right/i,BOTTOM:/bottom/i,LEFT:/left/i},c={left:0,top:0,height:0,width:0,scrollLeft:0,scrollTop:0};class d extends s.Z{constructor(e){var t;super(Object.assign({},e)),t=this,this.removePortal=()=>{this._adapter.removePortal()},this.setDisplayNone=(e,t)=>{this._adapter.setDisplayNone(e,t)},this.updateStateIfCursorOnTrigger=e=>{var t,n;if(null===(t=null==e?void 0:e.matches)||void 0===t?void 0:t.call(e,":hover")){let e=this._adapter.getEventName(),t=this.getState("triggerEventSet");null===(n=t[e.mouseEnter])||void 0===n||n.call(t)}},this.onResize=()=>{this.getState("visible")&&this.calcPosition()},this.delayShow=()=>{let e=this.getProp("mouseEnterDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.show(),this.clearDelayTimer()},e):this.show()},this.show=()=>{if(this._adapter.getAnimatingState())return;let e=this.getProp("content"),t=this.getProp("trigger"),n=this.getProp("clickTriggerToHide"),{visible:r,displayNone:i}=this.getStates();if(i&&this.setDisplayNone(!1),!r){if(this.clearDelayTimer(),this._adapter.on("portalInserted",()=>{this.calcPosition()}),"hover"===t){let e=()=>{var n;let r=this._adapter.getTriggerDOM();t&&!(null===(n=null==r?void 0:r.matches)||void 0===n?void 0:n.call(r,":hover"))&&this.hide(),this._adapter.off("portalInserted",e)};this._adapter.on("portalInserted",e)}this._adapter.on("positionUpdated",()=>{this._togglePortalVisible(!0)}),this._adapter.insertPortal(e,{left:-9999,top:-9999}),"custom"===t&&this._adapter.registerClickOutsideHandler(()=>{}),("click"===t||n||"contextMenu"===t)&&this._adapter.registerClickOutsideHandler(this.hide),this._bindScrollEvent(),this._bindResizeEvent()}},this.calcPosition=function(e,n,r){let o=!(arguments.length>3)||void 0===arguments[3]||arguments[3];e=(i()(e)?t._adapter.getTriggerBounding():e)||Object.assign({},c),r=(i()(r)?t._adapter.getPopupContainerRect():r)||Object.assign({},c),n=(i()(n)?t._adapter.getWrapperBounding():n)||Object.assign({},c);let a=t.calcPosStyle({triggerRect:e,wrapperRect:n,containerRect:r}),s=t.getProp("position");if(t.getProp("autoAdjustOverflow")){let{position:i,isHeightOverFlow:o,isWidthOverFlow:l}=t.adjustPosIfNeed(s,a,e,n,r);(s!==i||o||l)&&(s=i,a=t.calcPosStyle({triggerRect:e,wrapperRect:n,containerRect:r,position:s,spacing:null,isOverFlow:[o,l]}))}return o&&t._mounted&&t._adapter.setPosition(Object.assign(Object.assign({},a),{position:s})),a},this.delayHide=()=>{let e=this.getProp("mouseLeaveDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.hide(),this.clearDelayTimer()},e):this.hide()},this.hide=()=>{this.clearDelayTimer(),this._togglePortalVisible(!1),this._adapter.off("portalInserted"),this._adapter.off("positionUpdated")},this.handleContainerKeydown=e=>{let{guardFocus:t,closeOnEsc:n}=this.getProps();switch(e&&e.key){case"Escape":n&&this._handleEscKeyDown(e);break;case"Tab":if(t){let t=this._adapter.getContainer(),n=this._adapter.getFocusableElements(t);n.length&&(e.shiftKey?this._handleContainerShiftTabKeyDown(n,e):this._handleContainerTabKeyDown(n,e))}}},this._timer=null}init(){let{wrapperId:e}=this.getProps();this._mounted=!0,this._bindEvent(),this._shouldShow(),this._initContainerPosition(),!e&&this._adapter.setId()}destroy(){this._mounted=!1,this.unBindEvent()}_bindEvent(){let e=this.getProp("trigger"),{triggerEventSet:t,portalEventSet:n}=this._generateEvent(e);this._bindTriggerEvent(t),this._bindPortalEvent(n),this._bindResizeEvent()}unBindEvent(){this._adapter.unregisterClickOutsideHandler(),this.unBindResizeEvent(),this.unBindScrollEvent(),clearTimeout(this._timer)}_bindTriggerEvent(e){this._adapter.registerTriggerEvent(e)}_bindPortalEvent(e){this._adapter.registerPortalEvent(e)}_bindResizeEvent(){this._adapter.registerResizeHandler(this.onResize)}unBindResizeEvent(){this._adapter.unregisterResizeHandler(this.onResize)}_adjustPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"reverse",r=arguments.length>3?arguments[3]:void 0;switch(n){case"reverse":default:return this._reversePos(e,t);case"expand":return this._expandPos(e,r);case"reduce":return this._reducePos(e)}}_reversePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){if(u.TOP.test(e))return e.replace("top","bottom").replace("Top","Bottom");if(u.BOTTOM.test(e))return e.replace("bottom","top").replace("Bottom","Top")}else if(u.LEFT.test(e))return e.replace("left","right").replace("Left","Right");else if(u.RIGHT.test(e))return e.replace("right","left").replace("Right","Left");return e}_expandPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.concat(t)}_reducePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["Top","Bottom","Left","Right"].find(t=>e.endsWith(t));return t?e.replace(t,""):e}clearDelayTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_generateEvent(e){let t=this._adapter.getEventName(),n={[t.keydown]:e=>{this._handleTriggerKeydown(e)}},r={};switch(e){case"focus":n[t.focus]=()=>{this.delayShow()},n[t.blur]=()=>{this.delayHide()},r=n;break;case"click":n[t.click]=()=>{this.show()},r={};break;case"hover":n[t.mouseEnter]=()=>{this.setCache("isClickToHide",!1),this.delayShow()},n[t.mouseLeave]=()=>{this.delayHide()},n[t.focus]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayShow()},n[t.blur]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayHide()},r=Object.assign({},n),this.getProp("clickToHide")&&(r[t.click]=()=>{this.setCache("isClickToHide",!0),this.hide()},r[t.mouseEnter]=()=>{!this.getCache("isClickToHide")&&this.delayShow()});break;case"custom":break;case"contextMenu":n[t.contextMenu]=e=>{e.preventDefault(),this.show()}}return{triggerEventSet:n,portalEventSet:r}}_shouldShow(){this.getProp("visible")&&this.show()}_togglePortalVisible(e){let t=this.getState("visible"),n=this.getState("isInsert");(t!==e||n!==e)&&this._adapter.togglePortalVisible(e,()=>{e&&this._adapter.setInitialFocus(),this._adapter.notifyVisibleChange(e)})}_roundPixel(e){return"number"==typeof e?Math.round(e):e}calcTransformOrigin(e,t,n,r){if(e&&t&&null!=n&&null!=r){if(this.getProp("transformFromCenter")){if(["topLeft","bottomLeft"].includes(e))return`${this._roundPixel(t.width/2)}px ${-(100*r)}%`;if(["topRight","bottomRight"].includes(e))return`calc(100% - ${this._roundPixel(t.width/2)}px) ${-(100*r)}%`;if(["leftTop","rightTop"].includes(e))return`${-(100*n)}% ${this._roundPixel(t.height/2)}px`;if(["leftBottom","rightBottom"].includes(e))return`${-(100*n)}% calc(100% - ${this._roundPixel(t.height/2)}px)`}return`${-(100*n)}% ${-(100*r)}%`}return null}calcPosStyle(e){var t;let n,r;let{spacing:o,isOverFlow:s}=e,{innerWidth:l}=window,u=(i()(e.triggerRect)?e.triggerRect:this._adapter.getTriggerBounding())||Object.assign({},c),d=(i()(e.containerRect)?e.containerRect:this._adapter.getPopupContainerRect())||Object.assign({},c),p=(i()(e.wrapperRect)?e.wrapperRect:this._adapter.getWrapperBounding())||Object.assign({},c),h=null!=e.position?e.position:this.getProp("position"),f=null!=o?o:this.getProp("spacing"),{arrowPointAtCenter:g,showArrow:m,arrowBounding:_}=this.getProps(),v=m&&g,b=f,y=0;if("number"!=typeof f){let e=h.includes("top")||h.includes("bottom");b=e?f.y:f.x,y=e?f.x:f.y}let w=a()(_,"width",24),S=a()(_,"width",24),A=a()(_,"offsetY",0),T=0,x=0,k=u.left+u.width/2,M=u.top+u.height/2,P=6+w/2,I=6+S/2,E=p.height-d.height,C=p.width-d.width,O=E>0?E:0,D=C>0?C:0,L=s&&s[0],B=s&&s[1],N=k-d.left<d.right-k,R=M-d.top<d.bottom-M,j=p.width>l,U=Math.abs((null==p?void 0:p.width)-(null===(t=this._adapter.getContainer())||void 0===t?void 0:t.clientWidth))>1;switch(U&&(b=b*p.width/this._adapter.getContainer().clientWidth),h){case"top":n=B?N?d.left+p.width/2:d.right-p.width/2+D:k+y,r=L?d.bottom+O:u.top-b,T=-.5,x=-1;break;case"topLeft":n=B?j?d.left:d.right-p.width:v?k-P+y:u.left+y,r=L?d.bottom+O:u.top-b,x=-1;break;case"topRight":n=B?d.right+D:v?k+P+y:u.right+y,r=L?d.bottom+O:u.top-b,x=-1,T=-1;break;case"left":n=B?d.right+D-b+P:u.left-b,r=L?R?d.top+p.height/2:d.bottom-p.height/2+O:M+y,T=-1,x=-.5;break;case"leftTop":n=B?d.right+D-b+P:u.left-b,r=L?d.top:v?M-I+y:u.top+y,T=-1;break;case"leftBottom":n=B?d.right+D-b+P:u.left-b,r=L?d.bottom+O:v?M+I+y:u.bottom+y,T=-1,x=-1;break;case"bottom":n=B?N?d.left+p.width/2:d.right-p.width/2+D:k+y,r=L?d.top+I-b:u.top+u.height+b,T=-.5;break;case"bottomLeft":n=B?j?d.left:d.right-p.width:v?k-P+y:u.left+y,r=L?d.top+I-b:u.top+u.height+b;break;case"bottomRight":n=B?d.right+D:v?k+P+y:u.right+y,r=L?d.top+I-b:u.top+u.height+b,T=-1;break;case"right":n=B?d.left-b+P:u.right+b,r=L?R?d.top+p.height/2:d.bottom-p.height/2+O:M+y,x=-.5;break;case"rightTop":n=B?d.left-b+P:u.right+b,r=L?d.top:v?M-I+y:u.top+y;break;case"rightBottom":n=B?d.left-b+P:u.right+b,r=L?d.bottom+O:v?M+I+y:u.bottom+y,x=-1;break;case"leftTopOver":n=u.left-b,r=u.top-b;break;case"rightTopOver":n=u.right+b,r=u.top-b,T=-1;break;case"leftBottomOver":n=u.left-b,r=u.bottom+b,x=-1;break;case"rightBottomOver":n=u.right+b,r=u.bottom+b,T=-1,x=-1}let z=this.calcTransformOrigin(h,u,T,x),F=this._adapter.containerIsBody();if(n-=d.left,r-=d.top,U&&(n/=p.width/this._adapter.getContainer().clientWidth),U&&(r/=p.height/this._adapter.getContainer().clientHeight),F&&!this._adapter.containerIsRelativeOrAbsolute()){let e=this._adapter.getDocumentElementBounding();n+=d.left-e.left,r+=d.top-e.top}n=F?n:n+d.scrollLeft,r=F?r:r+d.scrollTop;let G=u.height;if(this.getProp("showArrow")&&!g&&G<=(S/2+A)*2){let e=G/2-(A+S/2);(h.includes("Top")||h.includes("Bottom"))&&!h.includes("Over")&&(r=h.includes("Top")?r+e:r-e)}let q={left:this._roundPixel(n),top:this._roundPixel(r)},W="";return null!=T&&(W+=`translateX(${100*T}%) `,Object.defineProperty(q,"translateX",{enumerable:!1,value:T})),null!=x&&(W+=`translateY(${100*x}%) `,Object.defineProperty(q,"translateY",{enumerable:!1,value:x})),null!=z&&(q.transformOrigin=z),W&&(q.transform=W),q}isLR(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("left")||e.includes("right")}isTB(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("top")||e.includes("bottom")}isReverse(e,t,n){return e<n&&t>n}isOverFlow(e,t,n){return e<n&&t<n}isHalfOverFlow(e,t,n){return e<n||t<n}isHalfAllEnough(e,t,n){return e>=n||t>=n}getReverse(e,t,n,r){return e&&r||n}adjustPosIfNeed(e,t,n,r,i){let{innerWidth:o,innerHeight:a}=window,{margin:s}=this.getProps(),l="number"==typeof s?s:s.marginLeft,u="number"==typeof s?s:s.marginTop,c="number"==typeof s?s:s.marginRight,d="number"==typeof s?s:s.marginBottom,p=!1,h=!1,f=this.getProp("spacing"),g=f,m=0;if("number"!=typeof f){let t=e.includes("top")||e.includes("bottom");g=t?f.y:f.x,m=t?f.x:f.y}if(r.width>0&&r.height>0){let t=n.left,s=n.right,f=n.top,_=n.bottom,v=o-t,b=a-f,y=o-s,w=a-_,S=r.width>n.width,A=r.height>n.height,T=f-u<r.height+g&&w-d>r.height+g,x=t-l<r.width+g&&y-c>r.width+g,k=w-d<r.height+g&&f-u>r.height+g,M=y-c<r.width+g&&t-l>r.width+g;b-d<r.height+g&&r.height,_-u<r.height+g&&r.height;let P=b<r.height+m&&_>r.height+m,I=_<r.height+m&&b>r.height+m,E=v<r.width+m&&s>r.width+m,C=s<r.width+m&&v>r.width+m,O=b<r.height+g&&_>r.height+g,D=_<r.height+g&&b>r.height+g,L=v<r.width&&s>r.width,B=s<r.width&&v>r.width,N=f-i.top,R=t-i.left,j=N+n.height,U=R+n.width,z=i.bottom-_,F=i.right-s,G=z+n.height,q=F+n.width,W=this.isReverse(N-u,z-d,r.height+g),Z=this.isReverse(R-l,F-c,r.width+g),H=this.isReverse(z-d,N-u,r.height+g),V=this.isReverse(F-c,R-l,r.width+g);this.isReverse(G-d,j-u,r.height+g),this.isReverse(j-u,G-d,r.height+g);let Q=this.isReverse(G,j,r.height+m),Y=this.isReverse(j,G,r.height+m),$=this.isReverse(q,U,r.width+m),K=this.isReverse(U,q,r.width+m),X=n.height/2,J=n.width/2,ee=this.isOverFlow(f-u,w-d,r.height+g),et=this.isOverFlow(t-l,y-c,r.width+g),en=this.isOverFlow(_-u,b-d,r.height+g),er=this.isOverFlow(s-l,v-c,r.width+g),ei=this.isHalfOverFlow(_-X,b-X,(r.height+m)/2),eo=this.isHalfOverFlow(s-J,v-J,(r.width+m)/2),ea=this.isHalfAllEnough(_-X,b-X,(r.height+m)/2),es=this.isHalfAllEnough(s-J,v-J,(r.width+m)/2),el=this.isOverFlow(N-u,z-d,r.height+g),eu=this.isOverFlow(R-l,F-c,r.width+g),ec=this.isOverFlow(j-u,G-d,r.height+g),ed=this.isOverFlow(U-l,q-c,r.width+g),ep=this.isHalfOverFlow(j-X,G-X,(r.height+m)/2),eh=this.isHalfOverFlow(U-J,q-J,(r.width+m)/2),ef=this.isHalfAllEnough(j-X,G-X,(r.height+m)/2),eg=this.isHalfAllEnough(U-J,q-J,(r.width+m)/2),em=this.getReverse(ee,el,T,W),e_=this.getReverse(et,eu,x,Z),ev=this.getReverse(ee,el,k,H),eb=this.getReverse(et,eu,M,V),ey=this.getReverse(en,ec,P,Q),ew=this.getReverse(en,ec,I,Y),eS=this.getReverse(er,ed,E,$),eA=this.getReverse(er,ed,C,K),eT=ei&&ep,ex=eo&&eh;switch(e){case"top":em&&(e=this._adjustPos(e,!0)),ex&&(eS||eA)&&(e=this._adjustPos(e,!0,"expand",eS?"Right":"Left"));break;case"topLeft":em&&(e=this._adjustPos(e,!0)),eS&&S&&(e=this._adjustPos(e)),h&&(es||eg)&&(e=this._adjustPos(e,!0,"reduce"));break;case"topRight":em&&(e=this._adjustPos(e,!0)),eA&&S&&(e=this._adjustPos(e)),h&&(es||eg)&&(e=this._adjustPos(e,!0,"reduce"));break;case"left":e_&&(e=this._adjustPos(e)),eT&&(ey||ew)&&(e=this._adjustPos(e,!1,"expand",ey?"Bottom":"Top"));break;case"leftTop":e_&&(e=this._adjustPos(e)),ey&&A&&(e=this._adjustPos(e,!0)),p&&(ea||ef)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftBottom":e_&&(e=this._adjustPos(e)),ew&&A&&(e=this._adjustPos(e,!0)),p&&(ea||ef)&&(e=this._adjustPos(e,!1,"reduce"));break;case"bottom":ev&&(e=this._adjustPos(e,!0)),ex&&(eS||eA)&&(e=this._adjustPos(e,!0,"expand",eS?"Right":"Left"));break;case"bottomLeft":ev&&(e=this._adjustPos(e,!0)),eS&&S&&(e=this._adjustPos(e)),h&&(es||eg)&&(e=this._adjustPos(e,!0,"reduce"));break;case"bottomRight":ev&&(e=this._adjustPos(e,!0)),eA&&S&&(e=this._adjustPos(e)),h&&(es||eg)&&(e=this._adjustPos(e,!0,"reduce"));break;case"right":eb&&(e=this._adjustPos(e)),eT&&(ey||ew)&&(e=this._adjustPos(e,!1,"expand",ey?"Bottom":"Top"));break;case"rightTop":eb&&(e=this._adjustPos(e)),ey&&A&&(e=this._adjustPos(e,!0)),p&&(ea||ef)&&(e=this._adjustPos(e,!1,"reduce"));break;case"rightBottom":eb&&(e=this._adjustPos(e)),ew&&A&&(e=this._adjustPos(e,!0)),p&&(ea||ef)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftTopOver":O&&(e=this._adjustPos(e,!0)),L&&(e=this._adjustPos(e));break;case"leftBottomOver":D&&(e=this._adjustPos(e,!0)),L&&(e=this._adjustPos(e));break;case"rightTopOver":O&&(e=this._adjustPos(e,!0)),B&&(e=this._adjustPos(e));break;case"rightBottomOver":D&&(e=this._adjustPos(e,!0)),B&&(e=this._adjustPos(e))}this.isTB(e)&&(p=ee&&el,h="top"===e||"bottom"===e?eo&&eh||s<0||y<0:er&&ed||s<0||y<0),this.isLR(e)&&(h=et&&eu,p="left"===e||"right"===e?ei&&ep||f<0||b<0:en&&ec||f<0||b<0)}return{position:e,isHeightOverFlow:p,isWidthOverFlow:h}}_bindScrollEvent(){this._adapter.registerScrollHandler(()=>this.calcPosition())}unBindScrollEvent(){this._adapter.unregisterScrollHandler()}_initContainerPosition(){this._adapter.updateContainerPosition()}_handleTriggerKeydown(e){let{closeOnEsc:t,disableArrowKeyDown:n}=this.getProps(),r=this._adapter.getContainer(),i=this._adapter.getFocusableElements(r),o=i.length;switch(e&&e.key){case"Escape":(0,l.Jt)(e),t&&this._handleEscKeyDown(e);break;case"ArrowUp":!n&&o&&this._handleTriggerArrowUpKeydown(i,e);break;case"ArrowDown":!n&&o&&this._handleTriggerArrowDownKeydown(i,e)}}focusTrigger(){let{trigger:e,returnFocusOnClose:t,preventScroll:n}=this.getProps();if(t&&"custom"!==e){let e=this._adapter.getTriggerNode();e&&"focus"in e&&e.focus({preventScroll:n})}}_handleEscKeyDown(e){let{trigger:t}=this.getProps();"custom"!==t&&(this.focusTrigger(),this.hide()),this._adapter.notifyEscKeydown(e)}_handleContainerTabKeyDown(e,t){let{preventScroll:n}=this.getProps(),r=this._adapter.getActiveElement();e[e.length-1]===r&&(e[0].focus({preventScroll:n}),t.preventDefault())}_handleContainerShiftTabKeyDown(e,t){let{preventScroll:n}=this.getProps(),r=this._adapter.getActiveElement();e[0]===r&&(e[e.length-1].focus({preventScroll:n}),t.preventDefault())}_handleTriggerArrowDownKeydown(e,t){let{preventScroll:n}=this.getProps();e[0].focus({preventScroll:n}),t.preventDefault()}_handleTriggerArrowUpKeydown(e,t){let{preventScroll:n}=this.getProps();e[e.length-1].focus({preventScroll:n}),t.preventDefault()}}},17198:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("49195");class i{constructor(){this._eventMap=new Map}on(e,t){return e&&"function"==typeof t&&(this._eventMap.has(e)||this._eventMap.set(e,[]),this._eventMap.get(e).push(t)),this}once(e,t){var n=this;if(e&&"function"==typeof t){let r=function(){t(...arguments),n.off(e,r)};this.on(e,r)}}off(e,t){if(e){if("function"==typeof t){let n=this._eventMap.get(e);if(Array.isArray(n)&&n.length){let e=-1;for(;(e=n.findIndex(e=>e===t))>-1;)n.splice(e,1)}}else(0,r.Z)(t)&&this._eventMap.delete(e)}return this}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!this._eventMap.has(e)&&([...this._eventMap.get(e)].forEach(e=>e(...n)),!0)}}},60644:function(e,t,n){"use strict";function r(e){e.stopPropagation(),e.preventDefault()}n.d(t,{Jt:function(){return r}}),n("65952")},2087:function(e,t,n){"use strict";function r(e){if(e&&"object"==typeof e)return"function"==typeof e.toJSON?e.toJSON():["left","top","right","bottom","width","height"].reduce((t,n)=>(t[n]=e[n],t),{})}n.d(t,{I3:function(){return r}})},33869:function(e,t,n){"use strict";function r(){}n.d(t,{Z:function(){return r}})},58925:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((t,n)=>("data-"===n.substr(0,5)&&(t[n]=e[n]),t),{})}n.d(t,{Z:function(){return r}})},49135:function(e,t,n){"use strict";function r(e){try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}n.d(t,{Z:function(){return r}})},49195:function(e,t,n){"use strict";function r(e){return null==e}n.d(t,{Z:function(){return r}})},52491:function(e,t){"use strict";t.ZP={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229}},98602:function(e,t,n){"use strict";var r=n("65952"),i=n.n(r);t.Z=function(e){if("development"===i()(process,"env.NODE_ENV")){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.log(e,...n)}}},69355:function(e,t,n){"use strict";var r=n("14288");t.Z=(e,t)=>globalThis.Touch&&e instanceof Touch?(["stopPropagation","preventDefault"].forEach(n=>{let i=t[n];i&&("function"==typeof i&&(i=function(){return t[n](...arguments)}),e[n]?(0,r.Z)(!0,`"The key ${n}" exist in Touch.`):e[n]=i)}),e):e},22863:function(e,t,n){"use strict";function r(e){return`${e}-${new Date().getTime()}-${Math.random()}`}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{prefix:t="",length:n=7}=e,r="0123456789abcdefghijklmnopqrstuvwxyz",i=r.length,o="";for(let e=0;e<n;e++){let e=Math.floor(Math.random()*i);o+=r.charAt(e)}return t?`${t}-${o}`:o}n.d(t,{Ms:function(){return i},ZP:function(){return r}})},14288:function(e,t,n){"use strict";function r(e,t){e&&console.warn(`Warning: ${t}`)}n.d(t,{Z:function(){return r}})},19798:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n("11532"),i=n("27546"),o=n("23763"),a=n.n(o);n("52530");var s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let l=r.forwardRef((e,t)=>{let{svg:n,spin:o=!1,rotate:l,style:u,className:c,prefixCls:d=i.T,type:p,size:h="default"}=e,f=s(e,["svg","spin","rotate","style","className","prefixCls","type","size"]),g=a()(`${d}-icon`,{[`${d}-icon-extra-small`]:"extra-small"===h,[`${d}-icon-small`]:"small"===h,[`${d}-icon-default`]:"default"===h,[`${d}-icon-large`]:"large"===h,[`${d}-icon-extra-large`]:"extra-large"===h,[`${d}-icon-spinning`]:!0===o,[`${d}-icon-${p}`]:!!p},c),m={};return Number.isSafeInteger(l)&&(m.transform=`rotate(${l}deg)`),Object.assign(m,u),r.createElement("span",Object.assign({role:"img",ref:t,"aria-label":p,className:g,style:m},f),n)});l.elementType="Icon";let u=(e,t)=>{let n=r.forwardRef((n,i)=>r.createElement(l,Object.assign({svg:r.createElement(e),type:t,ref:i},n)));return n.elementType="Icon",n}},27546:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});let r="semi"},49645:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 12a11 11 0 1 1-22 0 11 11 0 0 1 22 0Zm-9.5 5.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM12 5a1.9 1.9 0 0 0-1.89 2l.3 5.5a1.59 1.59 0 0 0 3.17 0l.3-5.5c.07-1.09-.8-2-1.88-2Z",fill:"currentColor"}))},"alert_circle");t.Z=o},71968:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m10.23 2.4-8.7 16.67A2 2 0 0 0 3.3 22h17.4a2 2 0 0 0 1.77-2.93L13.77 2.4a2 2 0 0 0-3.54 0ZM13.14 14a1.15 1.15 0 0 1-2.28 0l-.58-4.03a1.73 1.73 0 1 1 3.44 0l-.58 4.03Zm.36 4.49a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",fill:"currentColor"}))},"alert_triangle");t.Z=o},47560:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 12c0 .83-.67 1.5-1.5 1.5H6.12l6.44 6.44a1.5 1.5 0 0 1-2.12 2.12l-9-9a1.5 1.5 0 0 1 0-2.12l9-9a1.5 1.5 0 0 1 2.12 2.12L6.12 10.5H21.5c.83 0 1.5.67 1.5 1.5Z",fill:"currentColor"}))},"arrow_left");t.Z=o},12234:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12c0-.83.67-1.5 1.5-1.5h15.38l-6.44-6.44a1.5 1.5 0 0 1 2.12-2.12l9 9a1.5 1.5 0 0 1 0 2.12l-9 9a1.5 1.5 0 0 1-2.12-2.12l6.44-6.44H2.5A1.5 1.5 0 0 1 1 12Z",fill:"currentColor"}))},"arrow_right");t.Z=o},89071:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.28 4.24a1.5 1.5 0 0 1 0 2.12l-5.66 5.66 5.66 5.65a1.5 1.5 0 1 1-2.12 2.13l-6.72-6.72a1.5 1.5 0 0 1 0-2.12l6.72-6.72a1.5 1.5 0 0 1 2.12 0Z",fill:"currentColor"}))},"chevron_left");t.Z=o},93292:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.44 19.8a1.5 1.5 0 0 1 0-2.13l5.66-5.65-5.66-5.66a1.5 1.5 0 1 1 2.12-2.12l6.72 6.72a1.5 1.5 0 0 1 0 2.12L9.56 19.8a1.5 1.5 0 0 1-2.12 0Z",fill:"currentColor"}))},"chevron_right");t.Z=o},591:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{d:"M17.66 19.78a1.5 1.5 0 0 0 2.12-2.12L14.12 12l5.66-5.66a1.5 1.5 0 0 0-2.12-2.12L12 9.88 6.34 4.22a1.5 1.5 0 1 0-2.12 2.12L9.88 12l-5.66 5.66a1.5 1.5 0 0 0 2.12 2.12L12 14.12l5.66 5.66Z",fill:"currentColor"}))},"close");t.Z=o},34161:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.84 8.06A6.5 6.5 0 1 0 5.18 11 4.5 4.5 0 0 0 5.5 20H17a6 6 0 0 0 .84-11.94Zm-6.16 9.67a.5.5 0 0 0 .64 0l5.15-4.29a.25.25 0 0 0-.16-.44H14V9.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V13H6.7c-.24 0-.35.3-.17.44l5.15 4.3Z",fill:"currentColor"}))},"download");t.Z=o},82272:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm2-16a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-5 3.75c0-.41.34-.75.75-.75h2.75a1 1 0 0 1 1 1v5.5h.75a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h.75v-5h-.75a.75.75 0 0 1-.75-.75Z",fill:"currentColor"}))},"info_circle");t.Z=o},92069:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{d:"M2 12c0-.83.67-1.5 1.5-1.5h17a1.5 1.5 0 0 1 0 3h-17A1.5 1.5 0 0 1 2 12Z",fill:"currentColor"}))},"minus");t.Z=o},32433:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{d:"M20.5 13.5a1.5 1.5 0 0 0 0-3h-7v-7a1.5 1.5 0 0 0-3 0v7h-7a1.5 1.5 0 0 0 0 3h7v7a1.5 1.5 0 0 0 3 0v-7h7Z",fill:"currentColor"}))},"plus");t.Z=o},14635:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 6c0-1.1.9-2 2-2h18a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V6Zm20 0H3v12h18V6ZM5 9a1 1 0 0 1 1-1h1.5a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-5H6a1 1 0 0 1-1-1Zm11-1a1 1 0 1 0 0 2h.5v5a1 1 0 1 0 2 0V9a1 1 0 0 0-1-1H16Zm-3 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",fill:"currentColor"}))},"real_size_stroked");t.Z=o},68197:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{d:"M14.2 2.2A1 1 0 0 0 12.8.8l-2.5 2.5a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 1 0 1.4-1.4l-.79-.8H16a5 5 0 0 1 5 5v2a1 1 0 1 0 2 0v-2a7 7 0 0 0-7-7h-2.59l.8-.8Z",fill:"currentColor"}),r.createElement("path",{d:"M3 10c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10Z",fill:"currentColor"}))},"rotate");t.Z=o},97886:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm5.88-13.18-6.2 7.6a1.5 1.5 0 0 1-2.37 0l-3.5-4a1.5 1.5 0 1 1 2.37-1.84l2.3 2.46L15.5 8a1.5 1.5 0 1 1 2.38 1.82Z",fill:"currentColor"}))},"tick_circle");t.Z=o},68201:function(e,t,n){"use strict";var r=n("11532"),i=n("19798");let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V4h-5a1 1 0 0 1-1-1Zm-4 18a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-6a1 1 0 1 1 2 0v5h5a1 1 0 0 1 1 1ZM2 9a1 1 0 0 0 2 0V4h5a1 1 0 1 0 0-2H3a1 1 0 0 0-1 1v6Zm19 5a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 1 1 0-2h5v-5a1 1 0 0 1 1-1ZM8.5 7.5a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1h-7Zm1 7v-5h5v5h-5Z",fill:"currentColor"}))},"window_adaption_stroked");t.Z=o},69580:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("11532"),i=n("98602"),o=n("58925");let{hasOwnProperty:a}=Object.prototype;class s extends r.Component{constructor(e){super(e),this.isControlled=e=>!!(e&&this.props&&"object"==typeof this.props&&a.call(this.props,e)),this.setStateAsync=e=>new Promise(t=>{this.setState(e,t)}),this.cache={},this.foundation=null}componentDidMount(){this.foundation&&"function"==typeof this.foundation.init&&this.foundation.init()}componentWillUnmount(){this.foundation&&"function"==typeof this.foundation.destroy&&this.foundation.destroy(),this.cache={}}get adapter(){return{getContext:e=>{if(this.context&&e)return this.context[e]},getContexts:()=>this.context,getProp:e=>this.props[e],getProps:()=>this.props,getState:e=>this.state[e],getStates:()=>this.state,setState:(e,t)=>this.setState(Object.assign({},e),t),getCache:e=>e&&this.cache[e],getCaches:()=>this.cache,setCache:(e,t)=>e&&(this.cache[e]=t),stopPropagation:e=>{try{e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()}catch(e){}},persistEvent:e=>{e&&e.persist&&"function"==typeof e.persist&&e.persist()}}}log(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,i.Z)(e,...n)}getDataAttr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return(0,o.Z)(e)}}s.propTypes={},s.defaultProps={}},87726:function(e,t,n){"use strict";var r=n("35309"),i=n.n(r),o=n("11532");class a extends o.Component{constructor(e){super(e),this.handleAnimationStart=()=>{var e,t;null===(t=(e=this.props).onAnimationStart)||void 0===t||t.call(e)},this.handleAnimationEnd=()=>{this.setState({currentClassName:this.props.endClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!1},()=>{var e,t;null===(t=(e=this.props).onAnimationEnd)||void 0===t||t.call(e,!1)})},this.state={currentClassName:this.props.startClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!0}}componentDidMount(){var e,t,n,r;null===(t=(e=this.props).onAnimationStart)||void 0===t||t.call(e),!this.props.motion&&(null===(r=(n=this.props).onAnimationEnd)||void 0===r||r.call(n,!1),this.setState({isAnimating:!1}))}componentDidUpdate(e,t,n){let r=Object.keys(this.props).filter(t=>!i()(this.props[t],e[t]));r.includes("animationState"),(r.includes("startClassName")||r.includes("replayKey")||r.includes("motion"))&&this.setState({currentClassName:this.props.startClassName,extraStyle:{animationFillMode:this.props.fillMode},isAnimating:!0},()=>{var e,t,n,r;null===(t=(e=this.props).onAnimationStart)||void 0===t||t.call(e),!this.props.motion&&(null===(r=(n=this.props).onAnimationEnd)||void 0===r||r.call(n,this.state.isAnimating),this.setState({isAnimating:!1}))})}render(){var e;return this.props.motion?this.props.children({animationClassName:null!==(e=this.state.currentClassName)&&void 0!==e?e:"",animationStyle:this.state.extraStyle,animationEventsNeedBind:{onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},isAnimating:this.state.isAnimating}):this.props.children({animationClassName:"",animationStyle:{},animationEventsNeedBind:{},isAnimating:this.state.isAnimating})}}a.defaultProps={motion:!0,replayKey:""},t.Z=a},84976:function(e,t,n){"use strict";var r=n("11532"),i=n("54432"),o=n("15133"),a=n("94001"),s=n.n(a),l=n("23763"),u=n.n(l),c=n("56457");n("90165");let d=()=>document.body;class p extends r.PureComponent{constructor(e,t){var n;super(e),n=this,this.initContainer=function(e){var t,r;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{let r;if(!n.el||!(null===(t=n.state)||void 0===t?void 0:t.container)||!Array.from(n.state.container.childNodes).includes(n.el)){n.el=document.createElement("div");let t=(n.props.getPopupContainer||e.getPopupContainer||d)();return t.appendChild(n.el),n.addStyle(n.props.style),n.addClass(n.props.prefixCls,e,n.props.className),r=t}}catch(e){if(!i)throw e}return null===(r=n.state)||void 0===r?void 0:r.container},this.addStyle=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.el)for(let t of Object.keys(e))n.el.style[t]=e[t]},this.addClass=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.context,{direction:r}=t;for(var i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];let s=u()(e,...o,{[`${e}-rtl`]:"rtl"===r});n.el&&(n.el.className=s)},this.state={container:this.initContainer(t,!0)}}componentDidMount(){let e=this.initContainer(this.context);e!==this.state.container&&this.setState({container:e})}componentDidUpdate(e){let{didUpdate:t}=this.props;t&&t(e)}componentWillUnmount(){let{container:e}=this.state;e&&e.removeChild(this.el)}render(){let{state:e,props:t}=this;return e.container?(0,i.createPortal)(t.children,this.el):null}}p.contextType=c.Z,p.defaultProps={prefixCls:`${o.T}-portal`},p.propTypes={children:s().node,prefixCls:s().string,getPopupContainer:s().func,className:s().string,didUpdate:s().func},t.Z=p},40987:function(e,t,n){"use strict";n.d(t,{GO:function(){return p},GW:function(){return f},ID:function(){return c},Tq:function(){return function e(t,n){return l(this,void 0,void 0,function*(){if(0===n){yield t();return}yield new Promise(r=>{setTimeout(()=>l(this,void 0,void 0,function*(){yield e(t,n-1),r()}),0)})})}},UW:function(){return u},np:function(){return h},vY:function(){return d}});var r=n("65952"),i=n.n(r);n("99938"),n("27197");var o=n("11532"),a=n("49135"),s=n("80509"),l=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function u(e,t){e&&"function"==typeof e.stopPropagation&&e.stopPropagation(),!t&&e.nativeEvent&&"function"==typeof e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}let c=e=>o.isValidElement(e)&&"Icon"===i()(e.type,"elementType");function d(){return document?document.activeElement:null}function p(e){if(!(0,a.Z)(e))return[];let t="input:not([disabled]):not([tabindex='-1']),textarea:not([disabled]):not([tabindex='-1']),button:not([disabled]):not([tabindex='-1']),a[href]:not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),area[href]:not([tabindex='-1']),iframe:not([tabindex='-1']),object:not([tabindex='-1']),*[tabindex]:not([tabindex='-1']),*[contenteditable]:not([tabindex='-1'])";return Array.from(e.querySelectorAll(t))}function h(){return globalThis&&"[object Window]"===Object.prototype.toString.call(globalThis)?window.innerWidth-document.documentElement.clientWidth:0}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=()=>{var t,n;return(null===(n=null===(t=null===s.Z||void 0===s.Z?void 0:s.Z.config)||void 0===t?void 0:t.overrideDefaultProps)||void 0===n?void 0:n[e])||{}};return new Proxy(Object.assign({},t),{get(e,t,r){let i=n();return t in i?i[t]:Reflect.get(e,t,r)},set:(e,t,n,r)=>Reflect.set(e,t,n,r),ownKeys(){let e=n();return Array.from(new Set([...Reflect.ownKeys(t),...Object.keys(e)]))},getOwnPropertyDescriptor(e,t){let r=n();return t in r?Reflect.getOwnPropertyDescriptor(r,t):Reflect.getOwnPropertyDescriptor(e,t)}})}},80509:function(e,t){"use strict";t.Z=new class e{constructor(){this.config={}}}},76404:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n("94389"),i=n.n(r),o=n("11532"),a=n("23763"),s=n.n(a),l=n("94001"),u=n.n(l),c=n("12855");n("14120");var d=n("33869"),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let h=c.j2.sizes,{htmlTypes:f,btnTypes:g}=c.j2;class m extends o.PureComponent{render(){let e=this.props,{children:t,block:n,htmlType:r,loading:a,circle:l,className:u,style:c,disabled:d,size:h,theme:f,type:g,prefixCls:m,iconPosition:_}=e,v=p(e,["children","block","htmlType","loading","circle","className","style","disabled","size","theme","type","prefixCls","iconPosition"]),b=Object.assign(Object.assign({disabled:d},i()(v,["x-semi-children-alias"])),{className:s()(m,{[`${m}-${g}`]:!d&&g,[`${m}-disabled`]:d,[`${m}-size-large`]:"large"===h,[`${m}-size-small`]:"small"===h,[`${m}-light`]:"light"===f,[`${m}-block`]:n,[`${m}-circle`]:l,[`${m}-borderless`]:"borderless"===f,[`${m}-outline`]:"outline"===f,[`${m}-${g}-disabled`]:d&&g},u),type:r,"aria-disabled":d}),y={};return!(u&&u.includes("-with-icon"))&&(y["x-semi-prop"]=this.props["x-semi-children-alias"]||"children"),o.createElement("button",Object.assign({},b,{onClick:this.props.onClick,onMouseDown:this.props.onMouseDown,style:c}),o.createElement("span",Object.assign({className:s()(`${m}-content`,this.props.contentClassName),onClick:e=>d&&e.stopPropagation()},y),t))}}m.defaultProps={disabled:!1,size:"default",type:"primary",theme:"light",block:!1,htmlType:"button",onMouseDown:d.Z,onClick:d.Z,onMouseEnter:d.Z,onMouseLeave:d.Z,prefixCls:c.UX.PREFIX},m.propTypes={children:u().node,disabled:u().bool,prefixCls:u().string,style:u().object,size:u().oneOf(h),type:u().oneOf(g),block:u().bool,onClick:u().func,onMouseDown:u().func,circle:u().bool,loading:u().bool,htmlType:u().oneOf(f),theme:u().oneOf(c.j2.themes),className:u().string,onMouseEnter:u().func,onMouseLeave:u().func,"aria-label":u().string,contentClassName:u().string}},56457:function(e,t,n){"use strict";let r=n("11532").createContext({});t.Z=r},50122:function(e,t,n){"use strict";var r=n("11532"),i=n("23763"),o=n.n(i),a=n("93230");n("16510");var s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let l=a.U.PREFIX;t.Z=e=>{let{layout:t="horizontal",dashed:n,align:i="center",className:a,margin:u,style:c,children:d}=e,p=s(e,["layout","dashed","align","className","margin","style","children"]),h=o()(`${l}-divider`,a,{[`${l}-divider-horizontal`]:"horizontal"===t,[`${l}-divider-vertical`]:"vertical"===t,[`${l}-divider-dashed`]:!!n,[`${l}-divider-with-text`]:d&&"horizontal"===t,[`${l}-divider-with-text-${i}`]:d&&"horizontal"===t}),f={};return void 0!==u&&("vertical"===t?f={marginLeft:u,marginRight:u}:"horizontal"===t&&(f={marginTop:u,marginBottom:u})),r.createElement("div",Object.assign({},p,{className:h,style:Object.assign(Object.assign({},f),c)}),d&&"horizontal"===t?"string"==typeof d?r.createElement("span",{className:`${l}-divider_inner-text`,"x-semi-prop":"children"},d):d:null)}},66117:function(e,t,n){"use strict";var r=n("91196"),i=n.n(r),o=n("11532"),a=n("23763"),s=n.n(a),l=n("94001"),u=n.n(l),c=n("12855"),d=n("58379"),p=n("76404"),h=n("16743");n("84654");var f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let g=d.j2.SIZE;class m extends o.PureComponent{render(){let e=this.props,{children:t,iconPosition:n,iconSize:r,iconStyle:i,style:a,icon:l,noHorizontalPadding:u,theme:c,className:d,prefixCls:g,loading:m}=e,_=f(e,["children","iconPosition","iconSize","iconStyle","style","icon","noHorizontalPadding","theme","className","prefixCls","loading"]),v=Object.assign({},a);Array.isArray(u)?(u.includes("left")&&(v.paddingLeft=0),u.includes("right")&&(v.paddingRight=0)):!0===u?(v.paddingLeft=0,v.paddingRight=0):"string"==typeof u&&("left"===u&&(v.paddingLeft=0),"right"===u&&(v.paddingRight=0));let b=null,y=null;m&&!_.disabled?y=o.createElement(h.Z,null):o.isValidElement(l)&&(y=l);let w=s()({[`${g}-content-left`]:"right"===n,[`${g}-content-right`]:"left"===n}),S=this.props["x-semi-children-alias"]||"children",A=null!=t?o.createElement("span",{className:w,"x-semi-prop":S},t):null;b="left"===n?o.createElement(o.Fragment,null,y,A):o.createElement(o.Fragment,null,A,y);let T=s()(d,`${g}-with-icon`,{[`${g}-with-icon-only`]:null==A||""===A,[`${g}-loading`]:m});return o.createElement(p.Z,Object.assign({},_,{className:T,theme:c,style:v}),b)}}m.defaultProps={iconPosition:c.j2.DEFAULT_ICON_POSITION,prefixCls:c.UX.PREFIX,loading:!1,noHorizontalPadding:!1,onMouseEnter:i(),onMouseLeave:i()},m.elementType="IconButton",m.propTypes={iconStyle:u().object,style:u().object,loading:u().bool,prefixCls:u().string,icon:u().oneOfType([u().object,u().string,u().node]),iconSize:u().oneOf(g),noHorizontalPadding:u().oneOfType([u().bool,u().string,u().array]),children:u().node,theme:u().string,iconPosition:u().oneOf(c.j2.iconPositions),className:u().string,onMouseEnter:u().func,onMouseLeave:u().func},t.Z=m},79879:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n("94389"),i=n.n(r),o=n("35309"),a=n.n(o),s=n("22255"),l=n.n(s),u=n("11532"),c=n("79284"),d=n("69580"),p=n("94001"),h=n.n(p),f=n("89894"),g=n("43021"),m=n("22863"),_=n("62497");n("49707");var v=n("23763"),b=n.n(v),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let w=_.U.PREFIX;class S extends d.Z{get adapter(){return Object.assign({},super.adapter)}constructor(e){super(e),this.observerImages=()=>{this.previewObserver?this.previewObserver.disconnect():this.previewObserver=new IntersectionObserver(e=>{e.forEach(e=>{var t;let n=null===(t=e.target.dataset)||void 0===t?void 0:t.src;e.isIntersecting&&n&&(e.target.src=n,e.target.removeAttribute("data-src"),this.previewObserver.unobserve(e.target))})},{root:document.querySelector(`#${this.previewGroupId}`),rootMargin:this.props.lazyLoadMargin}),document.querySelectorAll(`.${w}-img`).forEach(e=>this.previewObserver.observe(e))},this.handleVisibleChange=e=>{this.foundation.handleVisibleChange(e)},this.handleCurrentIndexChange=e=>{this.foundation.handleCurrentIndexChange(e)},this.loopImageIndex=()=>{let{children:e}=this.props,t=0,n=[],r=[],i=e=>u.Children.map(e,e=>{var o;if(e&&e.props&&e.type&&e.type.isSemiImage){let{src:i,preview:a,alt:s}=e.props;if(a){let s=l()(a)&&null!==(o=a.src)&&void 0!==o?o:i;return n.push(s),r.push(null==a?void 0:a.previewTitle),u.cloneElement(e,{imageID:t++})}return e}return e&&e.props&&e.props.children?u.cloneElement(e,{children:i(e.props.children)}):e});return{srcListInChildren:n,newChildren:i(e),titles:r}},this.state={currentIndex:e.currentIndex||e.defaultCurrentIndex||0,visible:e.visible||e.currentDefaultVisible||!1},this.foundation=new g.Z(this.adapter),this.previewGroupId=(0,m.Ms)({prefix:"semi-image-preview-group",length:4}),this.previewRef=u.createRef()}componentDidMount(){this.props.lazyLoad&&this.observerImages()}componentDidUpdate(e){if(this.props.lazyLoad){let t=u.Children.toArray(e.children).map(e=>(0,u.isValidElement)(e)?e.key:null),n=u.Children.toArray(this.props.children).map(e=>(0,u.isValidElement)(e)?e.key:null);!a()(t,n)&&this.observerImages()}}static getDerivedStateFromProps(e,t){let n={};return"currentIndex"in e&&e.currentIndex!==t.currentIndex&&(n.currentIndex=e.currentIndex),"visible"in e&&e.visible!==t.visible&&(n.visible=e.visible),n}componentWillUnmount(){this.previewObserver&&(this.previewObserver.disconnect(),this.previewObserver=null)}render(){let e=this.props,{src:t,className:n,style:r,lazyLoad:o,setDownloadName:a}=e,s=y(e,["src","className","style","lazyLoad","setDownloadName"]),l=Object.assign(Object.assign({},i()(s,["previewCls","previewStyle"])),{className:null==s?void 0:s.previewCls,style:null==s?void 0:s.previewStyle}),{currentIndex:d,visible:p}=this.state,{srcListInChildren:h,newChildren:g,titles:m}=this.loopImageIndex(),_=[...Array.isArray(t)?t:"string"==typeof t?[t]:[],...h];return u.createElement(c.X.Provider,{value:{isGroup:!0,previewSrc:_,titles:m,currentIndex:d,visible:p,lazyLoad:o,previewObserver:this.previewObserver,setCurrentIndex:this.handleCurrentIndexChange,handleVisibleChange:this.handleVisibleChange,setDownloadName:a}},u.createElement("div",{id:this.previewGroupId,style:r,className:b()(`${w}-preview-group`,n)},g),u.createElement(f.Z,Object.assign({},l,{ref:this.previewRef,src:_,currentIndex:d,visible:p,onVisibleChange:this.handleVisibleChange})))}}S.propTypes={style:h().object,className:h().string,visible:h().bool,src:h().oneOfType([h().string,h().array]),currentIndex:h().number,defaultCurrentIndex:h().number,defaultVisible:h().bool,maskClosable:h().bool,closable:h().bool,zoomStep:h().number,infinite:h().bool,showTooltip:h().bool,closeOnEsc:h().bool,prevTip:h().string,nextTip:h().string,zoomInTip:h().string,zoomOutTip:h().string,downloadTip:h().string,adaptiveTip:h().string,originTip:h().string,lazyLoad:h().bool,lazyLoadMargin:h().string,preLoad:h().bool,preLoadGap:h().number,previewCls:h().string,previewStyle:h().object,disableDownload:h().bool,zIndex:h().number,renderHeader:h().func,renderPreviewMenu:h().func,getPopupContainer:h().func,onVisibleChange:h().func,onChange:h().func,onClose:h().func,onZoomIn:h().func,onZoomOut:h().func,onPrev:h().func,onNext:h().func,onDownload:h().func,onRotateLeft:h().func,onRatioChange:h().func},S.defaultProps={src:[],lazyLoad:!0,lazyLoadMargin:"0px 100px 100px 0px",closable:!0}},79284:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r=(0,n("11532").createContext)({})},12597:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n("15543"),i=n.n(r),o=n("11532"),a=n("69580"),s=n("89071"),l=n("93292"),u=n("92069"),c=n("32433"),d=n("14635"),p=n("68201"),h=n("68197"),f=n("34161"),g=n("94001"),m=n.n(g),_=n("59214"),v=n("50122"),b=n("7556"),y=n("62497"),w=n("23763"),S=n.n(w),A=n("77151"),T=n("15274");y.U.PREFIX;let x=`${y.U.PREFIX}-preview-footer`;class k extends a.Z{get adapter(){return Object.assign({},super.adapter)}constructor(e){super(e),this.changeSliderValue=e=>{this.foundation.changeSliderValue(e)},this.handleMinusClick=()=>{this.changeSliderValue("minus")},this.handlePlusClick=()=>{this.changeSliderValue("plus")},this.handleRotateLeft=()=>{this.foundation.handleRotate("left")},this.handleRotateRight=()=>{this.foundation.handleRotate("right")},this.handleSlideChange=i()(e=>{this.foundation.handleValueChange(e)},50),this.handleRatioClick=()=>{this.foundation.handleRatioClick()},this.customRenderViewMenu=()=>{let{min:e,max:t,step:n,curPage:r,totalNum:i,ratio:o,zoom:a,disabledPrev:s,disabledNext:l,disableDownload:u,onNext:c,onPrev:d,onDownload:p,renderPreviewMenu:h}=this.props;return h({min:e,max:t,step:n,curPage:r,totalNum:i,ratio:o,zoom:a,disabledPrev:s,disabledNext:l,disableDownload:u,onNext:c,onPrev:d,onDownload:p,onRotateLeft:this.handleRotateLeft,onRotateRight:this.handleRotateRight,disabledZoomIn:a===t,disabledZoomOut:a===e,onRatioClick:this.handleRatioClick,onZoomIn:this.handlePlusClick,onZoomOut:this.handleMinusClick,menuItems:this.getMenu()})},this.getFinalIconElement=(e,t,n)=>{let{showTooltip:r,zIndex:i}=this.props;return r?o.createElement(_.Z,{content:t,key:`tooltip-${n}`,zIndex:i+1},e):e},this.getLocalTextByKey=e=>o.createElement(T.Z,{componentName:"Image"},t=>t[e]),this.getIconChevronLeft=()=>{let{disabledPrev:e,onPrev:t,prevTip:n}=this.props,r=o.createElement(s.Z,{key:"chevron-left",size:"large",className:e?`${x}-disabled`:"",onClick:e?void 0:t}),i=null!=n?n:this.getLocalTextByKey("prevTip");return this.getFinalIconElement(r,i,"chevron-left")},this.getIconChevronRight=()=>{let{disabledNext:e,onNext:t,nextTip:n}=this.props,r=o.createElement(l.Z,{key:"chevron-right",size:"large",className:e?`${x}-disabled`:"",onClick:e?void 0:t}),i=null!=n?n:this.getLocalTextByKey("nextTip");return this.getFinalIconElement(r,i,"chevron-right")},this.getIconMinus=()=>{let{zoomOutTip:e,zoom:t,min:n}=this.props,r=t===n,i=o.createElement(u.Z,{key:"minus",size:"large",onClick:r?void 0:this.handleMinusClick,className:r?`${x}-disabled`:""}),a=null!=e?e:this.getLocalTextByKey("zoomOutTip");return this.getFinalIconElement(i,a,"minus")},this.getIconPlus=()=>{let{zoomInTip:e,zoom:t,max:n}=this.props,r=t===n,i=o.createElement(c.Z,{key:"plus",size:"large",onClick:r?void 0:this.handlePlusClick,className:r?`${x}-disabled`:""}),a=null!=e?e:this.getLocalTextByKey("zoomInTip");return this.getFinalIconElement(i,a,"plus")},this.getIconRatio=()=>{let e;let{ratio:t,originTip:n,adaptiveTip:r}=this.props,i={key:"ratio",size:"large",className:S()(`${x}-gap`),onClick:this.handleRatioClick},a="adaptation"===t?o.createElement(d.Z,Object.assign({},i)):o.createElement(p.Z,Object.assign({},i));return e="adaptation"===t?null!=n?n:this.getLocalTextByKey("originTip"):null!=r?r:this.getLocalTextByKey("adaptiveTip"),this.getFinalIconElement(a,e,"ratio")},this.getIconRotate=()=>{let{rotateTip:e}=this.props,t=o.createElement(h.Z,{key:"rotate",size:"large",onClick:this.handleRotateLeft}),n=null!=e?e:this.getLocalTextByKey("rotateTip");return this.getFinalIconElement(t,n,"rotate")},this.getIconDownload=()=>{let{downloadTip:e,onDownload:t,disableDownload:n}=this.props,r=o.createElement(f.Z,{key:"download",size:"large",onClick:n?void 0:t,className:S()(`${x}-gap`,{[`${x}-disabled`]:n})}),i=null!=e?e:this.getLocalTextByKey("downloadTip");return this.getFinalIconElement(r,i,"download")},this.getNumberInfo=()=>{let{curPage:e,totalNum:t}=this.props;return o.createElement("div",{className:`${x}-page`,key:"info"},e,"/",t)},this.getSlider=()=>{let{zoom:e,min:t,max:n,step:r,showTooltip:i}=this.props;return o.createElement(b.Z,{key:"slider",value:e,min:t,max:n,step:r,tipFormatter:e=>`${e}%`,tooltipVisible:!!i&&void 0,onChange:this.handleSlideChange})},this.getMenu=()=>[this.getIconChevronLeft(),this.getNumberInfo(),this.getIconChevronRight(),this.getIconMinus(),this.getSlider(),this.getIconPlus(),this.getIconRatio(),this.getIconRotate(),this.getIconDownload()],this.getFooterMenu=()=>{let e=this.getMenu();return e.splice(3,0,o.createElement(v.Z,{layout:"vertical",key:"divider-first"})),e.splice(8,0,o.createElement(v.Z,{layout:"vertical",key:"divider-second"})),e},this.foundation=new A.Z(this.adapter)}render(){let{className:e,renderPreviewMenu:t,forwardRef:n}=this.props,r=S()(x,`${x}-wrapper`,e,{[`${x}-content`]:!t});return o.createElement("section",{className:r,ref:n},t?this.customRenderViewMenu():this.getFooterMenu())}}k.propTypes={curPage:m().number,totalNum:m().number,disabledPrev:m().bool,disabledNext:m().bool,disableDownload:m().bool,className:m().string,zoom:m().number,ratio:m().string,prevTip:m().string,nextTip:m().string,zoomInTip:m().string,zoomOutTip:m().string,rotateTip:m().string,downloadTip:m().string,adaptiveTip:m().string,originTip:m().string,showTooltip:m().bool,onZoomIn:m().func,onZoomOut:m().func,onPrev:m().func,onNext:m().func,onAdjustRatio:m().func,onRotateLeft:m().func,onDownload:m().func},k.defaultProps={min:10,max:500,step:10,showTooltip:!1,disableDownload:!1}},98822:function(e,t,n){"use strict";var r=n("11532"),i=n("591"),o=n("62497"),a=n("23763"),s=n.n(a),l=n("79284");let u=`${o.U.PREFIX}-preview-header`,c=(0,r.forwardRef)((e,t)=>{let{onClose:n,titleStyle:o,className:a,renderHeader:c,closable:d}=e;return r.createElement(l.X.Consumer,null,e=>{let l,{currentIndex:p,titles:h}=e;return h&&"number"==typeof p&&(l=h[p]),r.createElement("section",{ref:t,className:s()(u,a)},r.createElement("section",{className:`${u}-title`,style:o},c?c(l):l),d&&r.createElement("section",{className:`${u}-close`,onMouseUp:n},r.createElement(i.Z,null)))})});t.Z=c},39905:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n("11532"),i=n("69580"),o=n("62497"),a=n("94001"),s=n.n(a),l=n("21278"),u=n("73705");let c=o.U.PREFIX,d=`${c}-preview-image`;class p extends i.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{getContainer:()=>this.containerRef.current,getImage:()=>this.imageRef.current,setLoading:e=>{this.setState({loading:e})},setImageCursor:e=>{this.imageRef.current.style.cursor=e?"grab":"default"}})}constructor(e){super(e),this.onWindowResize=()=>{this.foundation.handleWindowResize()},this.handleRightClickImage=e=>{this.foundation.handleRightClickImage(e)},this.handleLoad=e=>{this.foundation.handleLoad(e)},this.handleError=e=>{this.foundation.handleError(e)},this.handleImageMove=e=>{this.foundation.handleImageMove(e)},this.handleMouseDown=e=>{this.foundation.handleImageMouseDown(e)},this.state={width:0,height:0,loading:!0,translate:{x:0,y:0},currZoom:this.props.zoom},this.containerRef=r.createRef(),this.imageRef=r.createRef(),this.foundation=new u.Z(this.adapter)}componentDidMount(){this.foundation.init(),window.addEventListener("resize",this.onWindowResize)}componentWillUnmount(){window.removeEventListener("resize",this.onWindowResize)}componentDidUpdate(e,t){let n="zoom"in this.props&&this.props.zoom!==this.state.currZoom,r=this.props.src&&this.props.src!==e.src;r&&this.foundation.setLoading(!0),!n&&!r&&e&&("ratio"in this.props&&this.props.ratio!==e.ratio&&this.foundation.handleRatioChange(),"rotation"in this.props&&this.props.rotation!==e.rotation&&this.onWindowResize())}render(){let{src:e,rotation:t,crossOrigin:n}=this.props,{loading:i,width:o,height:a,translate:s}=this.state,u={position:"absolute",visibility:i?"hidden":"visible",transform:`translate(${s.x}px, ${s.y}px) rotate(${t}deg)`,width:o,height:a};return r.createElement("div",{className:`${d}`,ref:this.containerRef},r.createElement("img",{ref:this.imageRef,src:e,alt:"previewImag",className:`${d}-img`,key:e,onMouseMove:this.handleImageMove,onMouseDown:this.handleMouseDown,onContextMenu:this.handleRightClickImage,onDragStart:e=>e.preventDefault(),onLoad:this.handleLoad,onError:this.handleError,style:u,crossOrigin:n}),i&&r.createElement(l.Z,{size:"large",wrapperClassName:`${d}-spin`}))}}p.propTypes={src:s().string,rotation:s().number,style:s().object,zoom:s().number,ratio:s().string,disableDownload:s().bool,clickZoom:s().number,setRatio:s().func,onZoom:s().func,onLoad:s().func,onError:s().func},p.defaultProps={zoom:void 0}},89894:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n("66351"),i=n.n(r),o=n("35309"),a=n.n(o),s=n("11532"),l=n("69580"),u=n("94001"),c=n.n(u),d=n("62497"),p=n("23763"),h=n.n(p),f=n("84976"),g=n("47560"),m=n("12234"),_=n("98822"),v=n("12597"),b=n("39905"),y=n("88187"),w=n("79284"),S=n("40987");let A=d.U.PREFIX;class T extends l.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{getIsInGroup:()=>this.isInGroup(),disabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;this.bodyOverflow=document.body.style.overflow||"",!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow="hidden",document.body.style.width=`calc(${this.originBodyWidth||"100%"} - ${this.scrollBarWidth}px)`)},enabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow,document.body.style.width=this.originBodyWidth)},notifyChange:(e,t)=>{let{onChange:n,onPrev:r,onNext:o}=this.props;i()(n)&&n(e),"prev"===t?r&&r(e):o&&o(e)},notifyZoom:(e,t)=>{let{onZoomIn:n,onZoomOut:r}=this.props;t?i()(n)&&n(e):i()(r)&&r(e)},notifyClose:()=>{let{onClose:e}=this.props;i()(e)&&e()},notifyVisibleChange:e=>{let{onVisibleChange:t}=this.props;i()(t)&&t(e)},notifyRatioChange:e=>{let{onRatioChange:t}=this.props;i()(t)&&t(e)},notifyRotateChange:e=>{let{onRotateLeft:t}=this.props;i()(t)&&t(e)},notifyDownload:(e,t)=>{let{onDownload:n}=this.props;i()(n)&&n(e,t)},notifyDownloadError:e=>{let{onDownloadError:t}=this.props;i()(t)&&t(e)},registerKeyDownListener:()=>{window&&window.addEventListener("keydown",this.handleKeyDown)},unregisterKeyDownListener:()=>{window&&window.removeEventListener("keydown",this.handleKeyDown)},getSetDownloadFunc:()=>{var e,t;return null!==(t=null===(e=this.context)||void 0===e?void 0:e.setDownloadName)&&void 0!==t?t:this.props.setDownloadName},isValidTarget:e=>{let t=this.headerRef&&this.headerRef.current,n=this.footerRef&&this.footerRef.current,r=this.leftIconRef&&this.leftIconRef.current,i=this.rightIconRef&&this.rightIconRef.current,o=e.target;return!(t&&t.contains(o)||n&&n.contains(o)||r&&r.contains(o)||i&&i.contains(o))&&!0},changeImageZoom:function(){var t;(null===(t=e.imageRef)||void 0===t?void 0:t.current)&&e.imageRef.current.foundation.changeZoom(...arguments)}})}constructor(e){var t;super(e),t=this,this.viewVisibleChange=()=>{this.foundation.handleViewVisibleChange()},this.handleSwitchImage=e=>{this.foundation.handleSwitchImage(e)},this.handleDownload=()=>{this.foundation.handleDownload()},this.handlePreviewClose=e=>{this.foundation.handlePreviewClose(e)},this.handleAdjustRatio=e=>{this.foundation.handleAdjustRatio(e)},this.handleRotateImage=e=>{this.foundation.handleRotateImage(e)},this.handleZoomImage=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t.foundation.handleZoomImage(e,n)},this.handleMouseUp=e=>{this.foundation.handleMouseUp(e.nativeEvent)},this.handleMouseMove=e=>{this.foundation.handleMouseMove(e)},this.handleKeyDown=e=>{this.foundation.handleKeyDown(e)},this.onImageError=()=>{this.foundation.preloadSingleImage()},this.onImageLoad=e=>{this.foundation.onImageLoad(e)},this.handleMouseDown=e=>{this.foundation.handleMouseDown(e)},this.handleWheel=e=>{this.foundation.handleWheel(e)},this.registryImageWrapRef=e=>{this.imageWrapRef&&this.imageWrapRef.removeEventListener("wheel",this.handleWheel),e&&e.addEventListener("wheel",this.handleWheel,{passive:!1}),this.imageWrapRef=e},this.state={imgSrc:[],imgLoadStatus:new Map,zoom:.1,currentIndex:0,ratio:"adaptation",rotation:0,viewerVisible:!0,visible:!1,preloadAfterVisibleChange:!0,direction:""},this.foundation=new y.Z(this.adapter),this.bodyOverflow="",this.originBodyWidth="100%",this.scrollBarWidth=0,this.imageWrapRef=null,this.imageRef=s.createRef(),this.headerRef=s.createRef(),this.footerRef=s.createRef(),this.leftIconRef=s.createRef(),this.rightIconRef=s.createRef()}static getDerivedStateFromProps(e,t){let n={},r=[];return e.visible&&(r=Array.isArray(e.src)?e.src:[e.src]),!a()(r,t.imgSrc)&&(n.imgSrc=r),e.visible!==t.visible&&(n.visible=e.visible,e.visible&&(n.preloadAfterVisibleChange=!0,n.viewerVisible=!0,n.rotation=0,n.ratio="adaptation")),"currentIndex"in e&&e.currentIndex!==t.currentIndex&&(n.currentIndex=e.currentIndex,n.ratio="adaptation"),n}componentDidMount(){this.scrollBarWidth=(0,S.np)(),this.originBodyWidth=document.body.style.width,this.props.visible&&this.foundation.beforeShow()}componentDidUpdate(e,t){e.src!==this.props.src&&this.foundation.updateTimer(),!e.visible&&this.props.visible&&this.foundation.beforeShow(),e.visible&&!this.props.visible&&this.foundation.afterHide()}componentWillUnmount(){this.foundation.clearTimer()}isInGroup(){return!!(this.context&&this.context.isGroup)}render(){let{getPopupContainer:e,closable:t,zIndex:n,visible:r,className:i,style:o,infinite:a,zoomStep:l,crossOrigin:u,prevTip:c,nextTip:d,zoomInTip:p,zoomOutTip:y,rotateTip:w,downloadTip:S,adaptiveTip:T,originTip:x,showTooltip:k,disableDownload:M,renderPreviewMenu:P,renderHeader:I}=this.props,{currentIndex:E,imgSrc:C,zoom:O,ratio:D,rotation:L,viewerVisible:B}=this.state,N={zIndex:n};e&&(N={zIndex:n,position:"static"});let R=`${A}-preview`,j=h()(R,{[`${A}-hide`]:!r,[`${R}-popup`]:e},i),U=B?"":`${R}-hide`,z=C.length,F=1!==z&&(a||0!==E),G=1!==z&&(a||E!==z-1);return r&&s.createElement(f.Z,{getPopupContainer:e,style:N},s.createElement("div",{className:j,style:o,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.registryImageWrapRef,onMouseMove:this.handleMouseMove},s.createElement(_.Z,{ref:this.headerRef,className:h()(U),onClose:this.handlePreviewClose,renderHeader:I,closable:t}),s.createElement(b.Z,{ref:this.imageRef,src:C[E],onZoom:this.handleZoomImage,disableDownload:M,setRatio:this.handleAdjustRatio,zoom:O,ratio:D,rotation:L,crossOrigin:u,onError:this.onImageError,onLoad:this.onImageLoad}),F&&s.createElement("div",{ref:this.leftIconRef,className:h()(`${R}-icon`,`${R}-prev`,U),onClick:()=>this.handleSwitchImage("prev")},s.createElement(g.Z,{size:"large"})),G&&s.createElement("div",{ref:this.rightIconRef,className:h()(`${R}-icon`,`${R}-next`,U),onClick:()=>this.handleSwitchImage("next")},s.createElement(m.Z,{size:"large"})),s.createElement(v.Z,{forwardRef:this.footerRef,className:U,totalNum:z,curPage:E+1,disabledPrev:!F,disabledNext:!G,zoom:100*O,step:100*l,showTooltip:k,ratio:D,prevTip:c,nextTip:d,zIndex:n,zoomInTip:p,zoomOutTip:y,rotateTip:w,downloadTip:S,disableDownload:M,adaptiveTip:T,originTip:x,onPrev:()=>this.handleSwitchImage("prev"),onNext:()=>this.handleSwitchImage("next"),onZoomIn:this.handleZoomImage,onZoomOut:this.handleZoomImage,onDownload:this.handleDownload,onRotate:this.handleRotateImage,onAdjustRatio:this.handleAdjustRatio,renderPreviewMenu:P})))}}T.contextType=w.X,T.propTypes={style:c().object,className:c().string,visible:c().bool,src:c().oneOfType([c().string,c().array]),currentIndex:c().number,defaultCurrentIndex:c().number,defaultVisible:c().bool,maskClosable:c().bool,closable:c().bool,zoomStep:c().number,infinite:c().bool,showTooltip:c().bool,closeOnEsc:c().bool,prevTip:c().string,nextTip:c().string,zoomInTip:c().string,zoomOutTip:c().string,downloadTip:c().string,adaptiveTip:c().string,originTip:c().string,lazyLoad:c().bool,preLoad:c().bool,preLoadGap:c().number,disableDownload:c().bool,viewerVisibleDelay:c().number,zIndex:c().number,maxZoom:c().number,minZoom:c().number,renderHeader:c().func,renderPreviewMenu:c().func,getPopupContainer:c().func,onVisibleChange:c().func,onChange:c().func,onClose:c().func,onZoomIn:c().func,onZoomOut:c().func,onPrev:c().func,onNext:c().func,onDownload:c().func,onRatioChange:c().func,onRotateLeft:c().func},T.defaultProps={showTooltip:!1,zoomStep:.1,infinite:!1,closeOnEsc:!0,lazyLoad:!1,preLoad:!0,preLoadGap:2,zIndex:d.K.DEFAULT_Z_INDEX,maskClosable:!0,viewerVisibleDelay:1e4,maxZoom:5,minZoom:.1}},24833:function(e,t,n){"use strict";n.d(t,{FN:function(){return r.Z},eT:function(){return i.Z}}),n("7969");var r=n("12954"),i=n("79879")},72160:function(e,t,n){"use strict";let r=n("11532").createContext(null);t.Z=r},15274:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n("65952"),i=n.n(r),o=n("11532"),a=n("94001"),s=n.n(a),l=n("72160"),u=n("56457"),c=n("89551");class d extends o.Component{renderChildren(e,t){let{componentName:n}=this.props,r=e;!(null==e?void 0:e.code)&&(r=c.Z);let o=i()(c.Z,"dateFnsLocale"),a=i()(r,"dateFnsLocale",o);return t(r[n],r.code,a)}render(){let{children:e}=this.props;return o.createElement(u.Z.Consumer,null,t=>{let{locale:n}=t;return o.createElement(l.Z.Consumer,null,t=>this.renderChildren(n||t,e))})}}d.propTypes={componentName:s().string.isRequired,children:s().any},d.defaultProps={componentName:""}},89551:function(e,t,n){"use strict";let r={code:"zh-CN",dateFnsLocale:n("67113").Z,Pagination:{pageSize:"姣忛〉鏉℃暟锛${pageSize}",total:"鎬婚〉鏁帮細${total}",jumpTo:"璺宠嚦",page:"椤"},Modal:{confirm:"纭畾",cancel:"鍙栨秷"},Tabs:{more:"鏇村"},TimePicker:{placeholder:{time:"璇烽€夋嫨鏃堕棿",timeRange:"璇烽€夋嫨鏃堕棿鑼冨洿"},begin:"寮€濮嬫椂闂",end:"缁撴潫鏃堕棿",hour:"鏃",minute:"鍒",second:"绉",AM:"涓婂崍",PM:"涓嬪崍"},DatePicker:{placeholder:{date:"璇烽€夋嫨鏃ユ湡",dateTime:"璇烽€夋嫨鏃ユ湡鍙婃椂闂",dateRange:["寮€濮嬫棩鏈","缁撴潫鏃ユ湡"],dateTimeRange:["寮€濮嬫棩鏈","缁撴潫鏃ユ湡"],monthRange:["寮€濮嬫湀浠","缁撴潫鏈堜唤"]},presets:"蹇嵎閫夋嫨",footer:{confirm:"纭畾",cancel:"鍙栨秷"},selectDate:"杩斿洖閫夋嫨鏃ユ湡",selectTime:"閫夋嫨鏃堕棿",year:"骞",month:"鏈",day:"鏃",monthText:"${year}骞 ${month}",months:{1:"1鏈",2:"2鏈",3:"3鏈",4:"4鏈",5:"5鏈",6:"6鏈",7:"7鏈",8:"8鏈",9:"9鏈",10:"10鏈",11:"11鏈",12:"12鏈"},fullMonths:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},weeks:{Mon:"涓€",Tue:"浜",Wed:"涓",Thu:"鍥",Fri:"浜",Sat:"鍏",Sun:"鏃"},localeFormatToken:{FORMAT_SWITCH_DATE:"yyyy-MM-dd"}},Navigation:{collapseText:"鏀惰捣渚ц竟鏍",expandText:"灞曞紑渚ц竟鏍"},Popconfirm:{confirm:"纭畾",cancel:"鍙栨秷"},Table:{emptyText:"鏆傛棤鏁版嵁",pageText:"鏄剧ず绗 ${currentStart} 鏉-绗 ${currentEnd} 鏉★紝鍏 ${total} 鏉",descend:"鐐瑰嚮闄嶅簭",ascend:"鐐瑰嚮鍗囧簭",cancelSort:"鍙栨秷鎺掑簭"},Select:{emptyText:"鏆傛棤鏁版嵁",createText:"鍒涘缓"},Cascader:{emptyText:"鏆傛棤鏁版嵁"},Tree:{emptyText:"鏆傛棤鏁版嵁",searchPlaceholder:"鎼滅储"},List:{emptyText:"鏆傛棤鏁版嵁"},Calendar:{allDay:"鍏ㄥぉ",AM:"涓婂崍${time}鏃",PM:"涓嬪崍${time}鏃",datestring:"鏃",remaining:"杩樻湁${remained}椤"},Upload:{mainText:"鐐瑰嚮涓婁紶鏂囦欢鎴栨嫋鎷芥枃浠跺埌杩欓噷",illegalTips:"涓嶆敮鎸佹绫诲瀷鏂囦欢",legalTips:"鏉炬墜寮€濮嬩笂浼",retry:"閲嶈瘯",replace:"鏇挎崲鏂囦欢",clear:"娓呯┖",selectedFiles:"宸查€夋嫨鏂囦欢",illegalSize:"鏂囦欢灏哄涓嶅悎娉",fail:"涓婁紶澶辫触"},TreeSelect:{searchPlaceholder:"鎼滅储"},Typography:{copy:"澶嶅埗",copied:"澶嶅埗鎴愬姛",expand:"灞曞紑",collapse:"鏀惰捣"},Transfer:{emptyLeft:"鏆傛棤鏁版嵁",emptySearch:"鏃犳悳绱㈢粨鏋",emptyRight:"鏆傛棤鍐呭锛屽彲浠庡乏渚у嬀閫",placeholder:"鎼滅储",clear:"娓呯┖",selectAll:"鍏ㄩ€",clearSelectAll:"鍙栨秷鍏ㄩ€",total:"鎬讳釜鏁帮細${total}",selected:"宸查€変釜鏁帮細${total}"},Form:{optional:"锛堝彲閫夛級"},Image:{preview:"棰勮",loading:"鍔犺浇涓",loadError:"鍔犺浇澶辫触",prevTip:"涓婁竴寮",nextTip:"涓嬩竴寮",zoomInTip:"鏀惧ぇ",zoomOutTip:"缂╁皬",rotateTip:"鏃嬭浆",downloadTip:"涓嬭浇",adaptiveTip:"閫傚簲椤甸潰",originTip:"鍘熷灏哄"},Chat:{deleteConfirm:"纭鍒犻櫎璇ヤ細璇濆悧锛",clearContext:"涓婁笅鏂囧凡娓呴櫎",copySuccess:"澶嶅埗鎴愬姛",stop:"鍋滄",copy:"澶嶅埗",copied:"澶嶅埗鎴愬姛",dropAreaText:"灏嗘枃浠舵斁鍒拌繖閲"}};t.Z=r},7556:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n("91196"),i=n.n(r),o=n("35309"),a=n.n(o),s=n("11532"),l=n("54432"),u=n("94001"),c=n.n(u),d=n("23763"),p=n.n(d),h=n("21937"),f=n("69580"),g=n("23433"),m=n("59214");n("23729");var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let v=h.U.PREFIX;class b extends f.Z{constructor(e){super(e),this.renderHandle=()=>{var e,t,n,r,i;let{vertical:o,range:a,tooltipVisible:l,tipFormatter:u,"aria-label":c,"aria-labelledby":d,"aria-valuetext":f,getAriaValueText:g,disabled:_}=this.props,{chooseMovePos:v,isDrag:b,isInRenderTree:y,firstDotFocusVisible:w,secondDotFocusVisible:S}=this.state,A=o?"top":"left",T=this.foundation.getMinAndMaxPercent(this.state.currentValue),x=T.min,k=T.max,{tipVisible:M,tipChildren:P}=this.foundation.computeHandleVisibleVal(l&&y,u,a),I=p()(h.U.HANDLE,{[`${h.U.HANDLE}-clicked`]:"min"===v&&b}),E=p()(h.U.HANDLE,{[`${h.U.HANDLE}-clicked`]:"max"===v&&b}),{min:C,max:O,currentValue:D}=this.state,L={"aria-label":null!=c?c:_?"Disabled Slider":void 0,"aria-labelledby":d,"aria-disabled":_};o&&Object.assign(L,{"aria-orientation":"vertical"});let B=this.props.handleDot;return a?s.createElement(s.Fragment,null,s.createElement(m.Z,{content:P.min,position:"top",trigger:"custom",rePosKey:x,visible:y&&(M.min||w),className:`${h.U.HANDLE}-tooltip`},s.createElement("span",Object.assign({ref:this.minHanleEl,className:I,style:{[A]:`${100*x}%`,zIndex:"min"===v?2:1},onMouseDown:e=>{this.foundation.onHandleDown(e,"min")},onMouseEnter:()=>{this.foundation.onHandleEnter("min")},onTouchStart:e=>{this.foundation.onHandleTouchStart(e,"min")},onMouseLeave:()=>{this.foundation.onHandleLeave()},onKeyUp:e=>{this.foundation.onHandleUp(e)},onTouchEnd:e=>{this.foundation.onHandleUp(e)},onKeyDown:e=>{this.foundation.handleKeyDown(e,"min")},onFocus:e=>{this.foundation.onFocus(e,"min")},onBlur:e=>{this.foundation.onBlur(e,"min")},role:"slider",tabIndex:_?-1:0},L,{"aria-valuetext":g?g(D[0],0):f,"aria-valuenow":D[0],"aria-valuemax":D[1],"aria-valuemin":C}),(null==B?void 0:B[0])&&s.createElement("div",{className:h.U.HANDLE_DOT,style:Object.assign(Object.assign({},(null===(e=B[0])||void 0===e?void 0:e.size)?{width:B[0].size,height:B[0].size}:{}),(null===(t=B[0])||void 0===t?void 0:t.color)?{backgroundColor:B[0].color}:{})}))),s.createElement(m.Z,{content:P.max,position:"top",trigger:"custom",rePosKey:k,visible:y&&(M.max||S),className:`${h.U.HANDLE}-tooltip`},s.createElement("span",Object.assign({ref:this.maxHanleEl,className:E,style:{[A]:`${100*k}%`,zIndex:"max"===v?2:1},onMouseDown:e=>{this.foundation.onHandleDown(e,"max")},onMouseEnter:()=>{this.foundation.onHandleEnter("max")},onMouseLeave:()=>{this.foundation.onHandleLeave()},onKeyUp:e=>{this.foundation.onHandleUp(e)},onTouchStart:e=>{this.foundation.onHandleTouchStart(e,"max")},onTouchEnd:e=>{this.foundation.onHandleUp(e)},onKeyDown:e=>{this.foundation.handleKeyDown(e,"max")},onFocus:e=>{this.foundation.onFocus(e,"max")},onBlur:e=>{this.foundation.onBlur(e,"max")},role:"slider",tabIndex:_?-1:0},L,{"aria-valuetext":g?g(D[1],1):f,"aria-valuenow":D[1],"aria-valuemax":O,"aria-valuemin":D[0]}),(null===(n=this.props.handleDot)||void 0===n?void 0:n[1])&&s.createElement("div",{className:h.U.HANDLE_DOT,style:Object.assign(Object.assign({},(null===(r=this.props.handleDot[1])||void 0===r?void 0:r.size)?{width:this.props.handleDot[1].size,height:this.props.handleDot[1].size}:{}),(null===(i=this.props.handleDot[1])||void 0===i?void 0:i.color)?{backgroundColor:this.props.handleDot[1].color}:{})})))):s.createElement(m.Z,{content:P.min,showArrow:this.props.showArrow,position:"top",trigger:"custom",rePosKey:x,visible:y&&(M.min||w),className:`${h.U.HANDLE}-tooltip`},s.createElement("span",Object.assign({onMouseOver:this.foundation.checkAndUpdateIsInRenderTreeState,ref:this.minHanleEl,className:I,style:{[A]:`${100*x}%`,zIndex:"min"===v&&b?2:1},onMouseDown:e=>{this.foundation.onHandleDown(e,"min")},onMouseEnter:()=>{this.foundation.onHandleEnter("min")},onTouchStart:e=>{this.foundation.onHandleTouchStart(e,"min")},onMouseLeave:()=>{this.foundation.onHandleLeave()},onKeyUp:e=>{this.foundation.onHandleUp(e)},onTouchEnd:e=>{this.foundation.onHandleUp(e)},onKeyDown:e=>{this.foundation.handleKeyDown(e,"min")},onFocus:e=>{this.foundation.onFocus(e,"min")},onBlur:e=>{this.foundation.onBlur(e,"min")},role:"slider","aria-valuetext":g?g(D,0):f,tabIndex:_?-1:0},L,{"aria-valuenow":D,"aria-valuemax":O,"aria-valuemin":C}),B&&s.createElement("div",{className:h.U.HANDLE_DOT,style:Object.assign(Object.assign({},(null==B?void 0:B.size)?{width:B.size,height:B.size}:{}),(null==B?void 0:B.color)?{backgroundColor:B.color}:{})})))},this.renderTrack=()=>{let{range:e,included:t,vertical:n}=this.props,r=this.foundation.getMinAndMaxPercent(this.state.currentValue),i=r.min,o=r.max,a=n?{height:e?`${100*Math.abs(o-i)}%`:`${100*i}%`,top:e?`${100*Math.min(i,o)}%`:0}:{width:e?`${100*Math.abs(o-i)}%`:`${100*i}%`,left:e?`${100*Math.min(i,o)}%`:0};return a=t?a:{},s.createElement("div",{className:h.U.TRACK,style:a,onClick:this.foundation.handleWrapClick})},this.renderStepDot=()=>{let{min:e,max:t,vertical:n,marks:r}=this.props,i=n?"top":"left";return r&&Object.keys(r).length>0?s.createElement("div",{className:h.U.DOTS},Object.keys(r).map(n=>{let o=this.foundation.isMarkActive(Number(n)),a=p()(`${v}-dot`,{[`${v}-dot-active`]:"active"===this.foundation.isMarkActive(Number(n))}),l=(Number(n)-e)/(t-e),u=s.createElement("span",{key:n,onClick:this.foundation.handleWrapClick,className:a,style:{[i]:`calc(${100*l}% - 2px)`}});return o?this.props.tooltipOnMark?s.createElement(m.Z,{content:r[n]},u):u:null})):null},this.renderLabel=()=>{if(!this.props.showMarkLabel)return null;let{min:e,max:t,vertical:n,marks:r,verticalReverse:i}=this.props,o=n?"top":"left";return r&&Object.keys(r).length>0?s.createElement("div",{className:h.U.MARKS+(n&&i?"-reverse":"")},Object.keys(r).map(a=>{let l=this.foundation.isMarkActive(Number(a)),u=(Number(a)-e)/(t-e);return l?s.createElement("span",{key:a,className:p()(`${v}-mark${n&&i?"-reverse":""}`),style:{[o]:`${100*u}%`},onClick:this.foundation.handleWrapClick},r[a]):null})):null},this._getAriaValueText=(e,t)=>{let{getAriaValueText:n}=this.props;return n?n(e,t):e};let{value:t}=this.props;!t&&(t=this.props.defaultValue),this.state={currentValue:t||(this.props.range?[0,0]:0),min:this.props.min||0,max:this.props.max||0,focusPos:"",onChange:this.props.onChange,disabled:this.props.disabled||!1,chooseMovePos:"",isDrag:!1,clickValue:0,showBoundary:!1,isInRenderTree:!0,firstDotFocusVisible:!1,secondDotFocusVisible:!1},this.sliderEl=s.createRef(),this.minHanleEl=s.createRef(),this.maxHanleEl=s.createRef(),this.dragging=[!1,!1],this.foundation=new g.Z(this.adapter),this.eventListenerSet=new Set,this.handleDownEventListenerSet=new Set}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{getSliderLengths:()=>{var e;if(this.sliderEl&&this.sliderEl.current){let t=this.sliderEl.current.getBoundingClientRect(),n=null===(e=this.sliderEl.current.offsetParent)||void 0===e?void 0:e.getBoundingClientRect(),r={x:n?t.left-n.left:this.sliderEl.current.offsetLeft,y:n?t.top-n.top:this.sliderEl.current.offsetTop};return{sliderX:r.x,sliderY:r.y,sliderWidth:t.width,sliderHeight:t.height}}return{sliderX:0,sliderY:0,sliderWidth:0,sliderHeight:0}},getParentRect:()=>{let e=this.sliderEl&&this.sliderEl.current&&this.sliderEl.current.offsetParent;if(e)return e.getBoundingClientRect()},getScrollParentVal:()=>{let e=this.foundation.getScrollParent(this.sliderEl.current);return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}},isEventFromHandle:e=>{let t=[this.minHanleEl,this.maxHanleEl],n=!1;return t.forEach(t=>{if(!t)return;let r=t&&t.current,i=l.findDOMNode(r);i&&i.contains(e.target)&&(n=!0)}),n},getOverallVars:()=>({dragging:this.dragging}),updateDisabled:e=>{this.setState({disabled:e})},transNewPropsToState(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i();this.setState(e,t)},notifyChange:e=>{this.props.onChange(Array.isArray(e)?[...e].sort((e,t)=>e-t):e)},setDragging:e=>{this.dragging=e},updateCurrentValue:e=>{let{currentValue:t}=this.state;e!==t&&this.setState({currentValue:e})},setOverallVars:(e,t)=>{this[e]=t},getMinHandleEl:()=>this.minHanleEl.current,getMaxHandleEl:()=>this.maxHanleEl.current,onHandleDown:e=>{this.handleDownEventListenerSet.add(this._addEventListener(document.body,"mousemove",this.foundation.onHandleMove,!1)),this.handleDownEventListenerSet.add(this._addEventListener(window,"mouseup",this.foundation.onHandleUp,!1)),this.handleDownEventListenerSet.add(this._addEventListener(document.body,"touchmove",this.foundation.onHandleTouchMove,!1))},onHandleMove:function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i(),o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0;if(!e.foundation.checkAndUpdateIsInRenderTreeState())return;let{value:l}=e.props,u=s;if(void 0===u){let r=e.foundation.transPosToValue(t,n);if(!1===r)return;u=e.foundation.outPutValue(r)}let{currentValue:c}=e.state;if(!a()(e.foundation.outPutValue(c),u)){if(!o&&e.foundation.valueFormatIsCorrect(l))return!1;e.setState({currentValue:u},r)}},setEventDefault:e=>{e.stopPropagation(),e.preventDefault()},setStateVal:(e,t)=>{this.setState({[e]:t})},checkAndUpdateIsInRenderTreeState:()=>{var e;let t=!!(e=this.sliderEl.current)&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length);return t!==this.state.isInRenderTree&&this.setState({isInRenderTree:t}),t},onHandleEnter:e=>{this.setState({focusPos:e})},onHandleLeave:()=>{this.setState({focusPos:""})},onHandleUpBefore:e=>{var t,n;null===(n=(t=this.props).onMouseUp)||void 0===n||n.call(t,e),e.stopPropagation(),e.preventDefault(),Array.from(this.handleDownEventListenerSet).forEach(e=>e()),this.handleDownEventListenerSet.clear()},onHandleUpAfter:()=>{let{currentValue:e}=this.state,t=this.foundation.outPutValue(e);this.props.onAfterChange(t)},unSubscribeEventListener:()=>{Array.from(this.eventListenerSet).forEach(e=>e())}})}componentDidMount(){this.foundation.init()}componentDidUpdate(e,t){let n=!a()(this.props.value,e.value);if(this.props.disabled!==e.disabled&&this.foundation.handleDisabledChange(this.props.disabled),n){let e=this.props.value,t=this.state.currentValue;this.foundation.handleValueChange(t,e),this.props.onAfterChange(this.props.value)}}componentWillUnmount(){this.foundation.destroy()}render(){let{disabled:e,currentValue:t,min:n,max:r}=this.state,i=this.props,{vertical:o,verticalReverse:a,style:l,railStyle:u,range:c,className:d}=i,f=_(i,["vertical","verticalReverse","style","railStyle","range","className"]),g=p()(`${v}-wrapper`,{[`${v}-disabled`]:e,[`${h.U.VERTICAL}-wrapper`]:o,[`${v}-reverse`]:o&&a},d),m=p()(`${v}-boundary`,{[`${v}-boundary-show`]:this.props.showBoundary&&this.state.showBoundary}),b=p()({[`${v}`]:!o,[h.U.VERTICAL]:o}),y=Array.isArray(t)?[...t].sort():t,w=c?`Range: ${this._getAriaValueText(y[0],0)} to ${this._getAriaValueText(y[1],1)}`:void 0,S=s.createElement("div",Object.assign({className:g,style:l,ref:this.sliderEl,"aria-label":w,onMouseEnter:()=>this.foundation.handleWrapperEnter(),onMouseLeave:()=>this.foundation.handleWrapperLeave()},this.getDataAttr(f)),s.createElement("div",{className:`${v}-rail`,onClick:this.foundation.handleWrapClick,style:u}),this.renderTrack(),this.renderStepDot(),s.createElement("div",null,this.renderHandle()),this.renderLabel(),s.createElement("div",{className:m},s.createElement("span",{className:`${v}-boundary-min`},n),s.createElement("span",{className:`${v}-boundary-max`},r)));return o?S:s.createElement("div",{className:b},S)}_addEventListener(e,t,n){if(!e.addEventListener)return i();{for(var r=arguments.length,o=Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];e.addEventListener(t,n,...o);let i=()=>{null==e||e.removeEventListener(t,n),Promise.resolve().then(()=>{this.eventListenerSet.delete(i)})};return this.eventListenerSet.add(i),i}}}b.propTypes={defaultValue:c().oneOfType([c().number,c().array]),disabled:c().bool,showMarkLabel:c().bool,included:c().bool,marks:c().object,max:c().number,min:c().number,range:c().bool,step:c().number,tipFormatter:c().func,value:c().oneOfType([c().number,c().array]),vertical:c().bool,onAfterChange:c().func,onChange:c().func,onMouseUp:c().func,tooltipOnMark:c().bool,tooltipVisible:c().bool,showArrow:c().bool,style:c().object,className:c().string,showBoundary:c().bool,railStyle:c().object,verticalReverse:c().bool,getAriaValueText:c().func,handleDot:c().oneOfType([c().shape({size:c().string,color:c().string}),c().arrayOf(c().shape({size:c().string,color:c().string}))])},b.defaultProps={disabled:!1,showMarkLabel:!0,tooltipOnMark:!1,included:!0,max:100,min:0,range:!1,showArrow:!0,step:1,tipFormatter:e=>e,vertical:!1,showBoundary:!1,onAfterChange:e=>{},onChange:e=>{},verticalReverse:!1}},16743:function(e,t,n){"use strict";var r=n("11532"),i=n("49195"),o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let a=-1;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{id:t,className:n}=e,s=o(e,["id","className"]),l=t;(0,i.Z)(l)&&(l=++a);let u=`linearGradient-${l}`;return r.createElement("svg",Object.assign({},s,{className:n,width:"48",height:"48",viewBox:"0 0 36 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,"data-icon":"spin"}),r.createElement("defs",null,r.createElement("linearGradient",{x1:"0%",y1:"100%",x2:"100%",y2:"100%",id:u},r.createElement("stop",{stopColor:"currentColor",stopOpacity:"0",offset:"0%"}),r.createElement("stop",{stopColor:"currentColor",stopOpacity:"0.50",offset:"39.9430698%"}),r.createElement("stop",{stopColor:"currentColor",offset:"100%"}))),r.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.createElement("rect",{fillOpacity:"0.01",fill:"none",x:"0",y:"0",width:"36",height:"36"}),r.createElement("path",{d:"M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951",stroke:`url(#${u})`,strokeWidth:"4",strokeLinecap:"round"})))}},21278:function(e,t,n){"use strict";var r=n("11532"),i=n("94001"),o=n.n(i),a=n("23763"),s=n.n(a),l=n("69580"),u=n("83996"),c=n("96888"),d=n("16743");n("50288");var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let h=u.UX.PREFIX;class f extends l.Z{constructor(e){super(e),this.foundation=new c.Z(this.adapter),this.state={delay:e.delay,loading:!0}}static getDerivedStateFromProps(e){return e.delay?!1===e.spinning?{delay:0,loading:!1}:{delay:e.delay}:{loading:e.spinning}}get adapter(){return Object.assign(Object.assign({},super.adapter),{setLoading:e=>{this.setState({loading:e})}})}componentWillUnmount(){this.foundation.destroy()}renderSpin(){let{indicator:e,tip:t}=this.props,{loading:n}=this.state;return n?r.createElement("div",{className:`${h}-wrapper`},e?r.createElement("div",{className:`${h}-animate`,"x-semi-prop":"indicator"},e):r.createElement(d.Z,null),t?r.createElement("div",{"x-semi-prop":"tip"},t):null):null}render(){this.foundation.updateLoadingIfNeedDelay();let e=this.props,{children:t,style:n,wrapperClassName:i,childStyle:o,size:a}=e,l=p(e,["children","style","wrapperClassName","childStyle","size"]),{loading:u}=this.state,c=s()(h,i,{[`${h}-${a}`]:a,[`${h}-block`]:t,[`${h}-hidden`]:!u});return r.createElement("div",Object.assign({className:c,style:n},this.getDataAttr(l)),this.renderSpin(),r.createElement("div",{className:`${h}-children`,style:o,"x-semi-prop":"children"},t))}}f.propTypes={size:o().oneOf(u.j2.SIZE),spinning:o().bool,children:o().node,indicator:o().node,delay:o().number,tip:o().node,wrapperClassName:o().string,childStyle:o().object,style:o().object},f.defaultProps={size:"middle",spinning:!0,children:null,indicator:null,delay:0},t.Z=f},12954:function(e,t,n){"use strict";var r=n("11532"),i=n("54432"),o=n("94001"),a=n.n(o),s=n("67818"),l=n("8235"),u=n("69580"),c=n("72742");n("85668");var d=n("22863"),p=n("70175"),h=n("87726"),f=n("23763"),g=n.n(f);let m=()=>{var e;return(e=class e extends u.Z{constructor(e){super(e),this.stack=!1,this.innerWrapperRef=r.createRef(),this.handleMouseEnter=e=>{this.stack&&this.foundation.handleMouseInSideChange(!0)},this.handleMouseLeave=e=>{var t;this.stack&&(null===(t=this.foundation.getInputWrapperRect())||void 0===t?void 0:t.height)&&this.foundation.handleMouseInSideChange(!1)},this.state={list:[],removedItems:[],updatedItems:[],mouseInSide:!1},this.foundation=new s.Z(this.adapter)}get adapter(){return Object.assign(Object.assign({},super.adapter),{updateToast:(e,t,n)=>{this.setState({list:e,removedItems:t,updatedItems:n})},handleMouseInSideChange:e=>{this.setState({mouseInSide:e})},getInputWrapperRect:()=>{var e;return null===(e=this.innerWrapperRef.current)||void 0===e?void 0:e.getBoundingClientRect()}})}static create(t){var n;let o=null!==(n=t.id)&&void 0!==n?n:(0,d.ZP)("toast");if(e.ref){let n=document.querySelector(`#${this.wrapperId}`);["top","left","bottom","right"].map(e=>{e in t&&(n.style[e]="number"==typeof t[e]?`${t[e]}px`:t[e])}),!!t.stack!==e.ref.stack&&(e.ref.stack=!!t.stack),e.ref.has(o)?e.ref.update(o,Object.assign(Object.assign({},t),{id:o})):e.ref.add(Object.assign(Object.assign({},t),{id:o}))}else{let n=document.createElement("div");!this.wrapperId&&(this.wrapperId=(0,d.ZP)("toast-wrapper").slice(0,26)),n.className=l.UX.WRAPPER,n.id=this.wrapperId,n.style.zIndex=String("number"==typeof t.zIndex?t.zIndex:e.defaultOpts.zIndex),["top","left","bottom","right"].map(r=>{if(r in e.defaultOpts||r in t){let i=t[r]?t[r]:e.defaultOpts[r];n.style[r]="number"==typeof i?`${i}px`:i}}),e.defaultOpts.getPopupContainer?e.defaultOpts.getPopupContainer().appendChild(n):document.body.appendChild(n),i.render(r.createElement(e,{ref:t=>e.ref=t}),n,()=>{e.ref.add(Object.assign(Object.assign({},t),{id:o})),e.ref.stack=!!t.stack})}return o}static close(t){e.ref&&e.ref.remove(t)}static destroyAll(){if(e.ref){e.ref.destroyAll();let t=document.querySelector(`#${this.wrapperId}`);i.unmountComponentAtNode(t),t&&t.parentNode.removeChild(t),e.ref=null,this.wrapperId=null}}static getWrapperId(){return this.wrapperId}static info(t){return"string"==typeof t&&(t={content:t}),this.create(Object.assign(Object.assign(Object.assign({},e.defaultOpts),t),{type:"info"}))}static warning(t){return"string"==typeof t&&(t={content:t}),this.create(Object.assign(Object.assign(Object.assign({},e.defaultOpts),t),{type:"warning"}))}static error(t){return"string"==typeof t&&(t={content:t}),this.create(Object.assign(Object.assign(Object.assign({},e.defaultOpts),t),{type:"error"}))}static success(t){return"string"==typeof t&&(t={content:t}),this.create(Object.assign(Object.assign(Object.assign({},e.defaultOpts),t),{type:"success"}))}static config(t){["top","left","bottom","right"].forEach(n=>{n in t&&(e.defaultOpts[n]=t[n])}),"string"==typeof t.theme&&l.j2.themes.includes(t.theme)&&(e.defaultOpts.theme=t.theme),"number"==typeof t.zIndex&&(e.defaultOpts.zIndex=t.zIndex),"number"==typeof t.duration&&(e.defaultOpts.duration=t.duration),"function"==typeof t.getPopupContainer&&(e.defaultOpts.getPopupContainer=t.getPopupContainer)}has(e){return this.foundation.hasToast(e)}add(e){return this.foundation.addToast(e)}update(e,t){return this.foundation.updateToast(e,t)}remove(e){return this.foundation.removeToast(e)}destroyAll(){return this.foundation.destroyAll()}render(){let{list:e}=this.state,{removedItems:t,updatedItems:n}=this.state;e=Array.from(new Set([...e,...t]));let i=n.map(e=>{let{id:t}=e;return t}),o=e=>{var t;(null===(t=null==e?void 0:e.foundation)||void 0===t?void 0:t._id)&&i.includes(e.foundation._id)&&e.foundation.restartCloseTimer()};return r.createElement(r.Fragment,null,r.createElement("div",{className:g()({[`${l.UX.PREFIX}-innerWrapper`]:!0,[`${l.UX.PREFIX}-innerWrapper-hover`]:this.state.mouseInSide}),ref:this.innerWrapperRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e.map((n,i)=>{let a=void 0!==t.find(e=>e.id===n.id);return r.createElement(h.Z,{key:n.id,motion:n.motion,animationState:a?"leave":"enter",startClassName:a?`${l.UX.PREFIX}-animation-hide`:`${l.UX.PREFIX}-animation-show`},t=>{let{animationClassName:s,animationEventsNeedBind:l,isAnimating:u}=t;return a&&!u?null:r.createElement(c.Z,Object.assign({},n,{stack:this.stack,stackExpanded:this.state.mouseInSide,positionInList:{length:e.length,index:i},className:g()({[n.className]:!!n.className,[s]:!0})},l,{style:Object.assign({},n.style),close:e=>this.remove(e),ref:o}))})})))}}).defaultOpts={motion:!0,zIndex:1010,content:""},e.propTypes={content:a().node,duration:a().number,onClose:a().func,icon:a().node,direction:a().oneOf(l.j2.directions),stack:a().bool},e.defaultProps={},e};t.Z=(class e{static create(e){let t=m();return t.useToast=p.Z,e&&t.config(e),t}}).create()},72742:function(e,t,n){"use strict";var r=n("91196"),i=n.n(r),o=n("11532"),a=n("23763"),s=n.n(a),l=n("94001"),u=n.n(l),c=n("56457"),d=n("16472"),p=n("8235"),h=n("69580"),f=n("66117"),g=n("71968"),m=n("97886"),_=n("82272"),v=n("49645"),b=n("591"),y=n("40987");let w=p.UX.PREFIX;class S extends h.Z{constructor(e){super(e),this.toastEle=o.createRef(),this.clearCloseTimer=()=>{this.foundation.clearCloseTimer_()},this.startCloseTimer=()=>{this.foundation.startCloseTimer_()},this.restartCloseTimer=()=>{this.foundation.restartCloseTimer()},this.state={},this.foundation=new d.Z(this.adapter)}get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyWrapperToRemove:e=>{this.props.close(e)},notifyClose:()=>{this.props.onClose()}})}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}close(e){this.foundation.close(e)}renderIcon(){let{type:e,icon:t}=this.props,n={warning:o.createElement(g.Z,null),success:o.createElement(m.Z,null),info:o.createElement(_.Z,null),error:o.createElement(v.Z,null)}[e],r="large",i=s()(`${w}-icon`,`${w}-icon-${e}`);return t?(0,y.ID)(t)?o.cloneElement(t,{size:r,className:`${w}-icon`}):t:e&&n?o.cloneElement(n,{size:r,className:i}):null}render(){let{content:e,type:t,theme:n,showClose:r,textMaxWidth:i,className:a,style:l}=this.props,u=this.props.direction||this.context.direction,c=s()(w,a,{[`${w}-${t}`]:!0,[`${w}-${n}`]:"light"===n,[`${w}-rtl`]:"rtl"===u}),d={};d.maxWidth=i;let p=this.props.positionInList?this.props.positionInList.length-this.props.positionInList.index-1:0,h=o.createElement("div",{ref:this.toastEle,role:"alert","aria-label":`${t||"default"} type`,className:c,style:Object.assign(Object.assign({},l),{transform:`translate3d(0,0,${-10*p}px)`}),onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onAnimationStart:this.props.onAnimationStart,onAnimationEnd:this.props.onAnimationEnd},o.createElement("div",{className:`${w}-content`},this.renderIcon(),o.createElement("span",{className:`${w}-content-text`,style:d,"x-semi-prop":"content"},e),r&&o.createElement("div",{className:`${w}-close-button`},o.createElement(f.Z,{onClick:e=>this.close(e),type:"tertiary",icon:o.createElement(b.Z,{"x-semi-prop":"icon"}),theme:"borderless",size:"small"}))));if(!this.props.stack)return h;{let e=this.props.stackExpanded&&this.toastEle.current&&getComputedStyle(this.toastEle.current).height||0;return o.createElement("div",{className:`${w}-zero-height-wrapper`,style:{height:e}},h)}}}S.contextType=c.Z,S.propTypes={onClose:u().func,content:u().node,close:u().func,duration:u().number,theme:u().oneOf(p.j2.themes),type:u().oneOf(p.j2.types),textMaxWidth:u().oneOfType([u().string,u().number]),style:u().object,className:u().string,showClose:u().bool,stack:u().bool,stackExpanded:u().bool,icon:u().node,direction:u().oneOf(p.j2.directions)},S.__SemiComponentName__="Toast",S.defaultProps=(0,y.GW)(S.__SemiComponentName__,{onClose:i(),content:"",close:i(),duration:p.KT.duration,textMaxWidth:450,showClose:!0,stack:!1,stackExpanded:!1,theme:"normal"}),t.Z=S},27418:function(e,t,n){"use strict";var r=n("11532"),i=n("72742"),o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.Z=r.forwardRef((e,t)=>{var{afterClose:n}=e,a=o(e,["afterClose"]);let[s,l]=(0,r.useState)(!0);return r.useImperativeHandle(t,()=>({close:()=>{l(!1)}})),(0,r.useEffect)(()=>{!s&&n(a.id)},[s]),s?r.createElement(i.Z,Object.assign({},a,{close:()=>{l(!1)}})):null})},70175:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n("91196"),i=n.n(r),o=n("11532"),a=n("22863"),s=n("27418");let l={motion:!0,zIndex:1010,duration:3};function u(){let[e,t]=function(){let[e,t]=o.useState([]);return[e,function(e,n){return t(t=>[{element:e,config:n},...t]),e=>{t(t=>t.filter(t=>{let{config:n}=t;return n.id!==e}))}}]}(),n=(0,o.useRef)(new Map),r=e=>{let r;let l=(0,a.ZP)("semi_toast_"),u=Object.assign(Object.assign({},e),{id:l});return r=t(o.createElement(s.Z,Object.assign({},u,{key:l,afterClose:e=>r(e),ref:e=>{var t;n.current.set(l,{close:null!==(t=null==e?void 0:e.close)&&void 0!==t?t:i()})}})),Object.assign({},u)),l},u=e=>{var t;let{close:r}=null!==(t=n.current.get(e))&&void 0!==t?t:{};null==r||r()};return[{success:e=>r(Object.assign(Object.assign(Object.assign({},l),e),{type:"success"})),info:e=>r(Object.assign(Object.assign(Object.assign({},l),e),{type:"info"})),error:e=>r(Object.assign(Object.assign(Object.assign({},l),e),{type:"error"})),warning:e=>r(Object.assign(Object.assign(Object.assign({},l),e),{type:"warning"})),open:e=>r(Object.assign(Object.assign(Object.assign({},l),e),{type:"default"})),close:e=>u(e)},o.createElement(o.Fragment,null,Array.isArray(e)&&e.length?o.createElement(o.Fragment,null,e.map(e=>e.element)):null)]}},3793:function(e,t,n){"use strict";var r=n("94001"),i=n.n(r);t.Z=i().shape({offsetX:i().number,offsetY:i().number,width:i().number,height:i().number})},90624:function(e,t,n){"use strict";var r=n("11532"),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.Z=e=>{let{className:t,style:n}=e,o=i(e,["className","style"]);return r.createElement("svg",Object.assign({"aria-hidden":!0,className:t,style:n},o,{width:"24",height:"7",viewBox:"0 0 24 7",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),r.createElement("path",{d:"M24 0V1C20 1 18.5 2 16.5 4C14.5 6 14 7 12 7C10 7 9.5 6 7.5 4C5.5 2 4 1 0 1V0H24Z"}))}},73525:function(e,t,n){"use strict";var r=n("11532"),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.Z=e=>{let{className:t,style:n}=e,o=i(e,["className","style"]);return r.createElement("svg",Object.assign({"aria-hidden":!0,className:t,style:n},o,{width:"7",height:"24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"}),r.createElement("path",{d:"M0 0L1 0C1 4, 2 5.5, 4 7.5S7,10 7,12S6 14.5, 4 16.5S1,20 1,24L0 24L0 0z"}))}},59214:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n("35309"),i=n.n(r),o=n("66351"),a=n.n(o),s=n("33186"),l=n.n(s),u=n("35545"),c=n.n(u),d=n("94389"),p=n.n(d),h=n("65952"),f=n.n(h),g=n("91196"),m=n.n(g),_=n("15543"),v=n.n(_),b=n("11532"),y=n("54432"),w=n("23763"),S=n.n(w),A=n("94001"),T=n.n(A),x=n("15133"),k=n("14288"),M=n("17198"),P=n("2087"),I=n("58811"),E=n("34386"),C=n("22863");n("90873");var O=n("69580"),D=n("49135"),L=n("40987"),B=n("84976"),N=n("56457"),R=n("90624"),j=n("73525"),U=n("3793"),z=n("87726"),F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let G=E.UX.PREFIX,q=E.j2.POSITION_SET,W=E.j2.TRIGGER_SET,Z=["flex","block","table","flow-root","grid"],H=()=>document.body;class V extends O.Z{constructor(e){super(e),this.isAnimating=!1,this.setContainerEl=e=>this.containerEl={current:e},this.isSpecial=e=>{if((0,D.Z)(e))return!!e.disabled;if((0,b.isValidElement)(e)){if(f()(e,"props.disabled"))return E.j2.STATUS_DISABLED;let t=f()(e,"props.loading"),n=!l()(e)&&!l()(e.type)&&("Button"===f()(e,"type.elementType")||"IconButton"===f()(e,"type.elementType"));if(t&&n)return E.j2.STATUS_LOADING}return!1},this.didLeave=()=>{this.props.keepDOM?this.foundation.setDisplayNone(!0):this.foundation.removePortal(),this.foundation.unBindEvent()},this.renderIcon=()=>{let{placement:e}=this.state,{showArrow:t,prefixCls:n,style:r}=this.props,i=null,o=S()([`${n}-icon-arrow`]),a=f()(r,"backgroundColor"),s=(null==e?void 0:e.includes("left"))||(null==e?void 0:e.includes("right"))?b.createElement(j.Z,null):b.createElement(R.Z,null);return t&&(i=(0,b.isValidElement)(t)?t:b.cloneElement(s,{className:o,style:{color:a,fill:"currentColor"}})),i},this.handlePortalInnerClick=e=>{this.props.clickToHide&&this.foundation.hide(),this.props.stopPropagation&&(0,L.UW)(e)},this.handlePortalMouseDown=e=>{this.props.stopPropagation&&(0,L.UW)(e)},this.handlePortalFocus=e=>{this.props.stopPropagation&&(0,L.UW)(e)},this.handlePortalBlur=e=>{this.props.stopPropagation&&(0,L.UW)(e)},this.handlePortalInnerKeyDown=e=>{this.foundation.handleContainerKeydown(e)},this.renderContentNode=e=>{let t={initialFocusRef:this.initialFocusRef};return a()(e)?e(t):e},this.renderPortal=()=>{let{containerStyle:e={},visible:t,portalEventSet:n,placement:r,displayNone:i,transitionState:o,id:a,isPositionUpdated:s}=this.state,{prefixCls:l,content:u,showArrow:c,style:d,motion:h,role:g,zIndex:m}=this.props,_=this.renderContentNode(u),{className:v}=this.props,y=this.context.direction,w=S()(v,{[`${l}-wrapper`]:!0,[`${l}-wrapper-show`]:t,[`${l}-with-arrow`]:!!c,[`${l}-rtl`]:"rtl"===y}),A=this.renderIcon(),T=p()(e,h?["transformOrigin"]:void 0),k=f()(e,"transformOrigin"),M=f()(d,"opacity",null),P=M||1,I=b.createElement(z.Z,{fillMode:"forwards",animationState:o,motion:h&&s,startClassName:"enter"===o?`${G}-animation-show`:`${G}-animation-hide`,onAnimationStart:()=>this.isAnimating=!0,onAnimationEnd:()=>{var e,t;"leave"===o&&(this.didLeave(),null===(t=(e=this.props).afterClose)||void 0===t||t.call(e)),this.isAnimating=!1}},e=>{let{animationStyle:t,animationClassName:o,animationEventsNeedBind:l}=e;return b.createElement("div",Object.assign({className:S()(w,o),style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),i?{display:"none"}:{}),{transformOrigin:k}),d),M?{opacity:s?P:"0"}:{})},n,l,{role:g,"x-placement":r,id:a}),b.createElement("div",{className:`${G}-content`},_),A)});return b.createElement(B.Z,{getPopupContainer:this.props.getPopupContainer,style:{zIndex:m}},b.createElement("div",{tabIndex:-1,className:`${x.T}-portal-inner`,style:T,ref:this.setContainerEl,onClick:this.handlePortalInnerClick,onFocus:this.handlePortalFocus,onBlur:this.handlePortalBlur,onMouseDown:this.handlePortalMouseDown,onKeyDown:this.handlePortalInnerKeyDown},I))},this.wrapSpan=e=>{let{wrapperClassName:t}=this.props,n=f()(e,"props.style.display"),r=f()(e,"props.block"),i={};return"string"!=typeof e&&(i.display="inline-block"),(r||Z.includes(n))&&(i.width="100%"),b.createElement("span",{className:t,style:i},e)},this.mergeEvents=(e,t)=>{let n={};return c()(t,(t,r)=>{"function"==typeof t&&(n[r]=function(){t(...arguments),e&&"function"==typeof e[r]&&e[r](...arguments)})}),n},this.getPopupId=()=>this.state.id,this.state={visible:!1,transitionState:"",triggerEventSet:{},portalEventSet:{},containerStyle:{},isInsert:!1,placement:e.position||"top",transitionStyle:{},isPositionUpdated:!1,id:e.wrapperId,displayNone:!1},this.foundation=new I.Z(this.adapter),this.eventManager=new M.Z,this.triggerEl=b.createRef(),this.containerEl=b.createRef(),this.initialFocusRef=b.createRef(),this.clickOutsideHandler=null,this.resizeHandler=null,this.isWrapped=!1,this.containerPosition=void 0}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{on:function(){return e.eventManager.on(...arguments)},off:function(){return e.eventManager.off(...arguments)},getAnimatingState:()=>this.isAnimating,insertPortal:(e,t)=>{var{position:n}=t,r=F(t,["position"]);this.setState({isInsert:!0,transitionState:"enter",containerStyle:Object.assign(Object.assign({},this.state.containerStyle),r)},()=>{setTimeout(()=>{this.setState(e=>("enter"===e.transitionState&&this.eventManager.emit("portalInserted"),{}))},0)})},removePortal:()=>{this.setState({isInsert:!1,isPositionUpdated:!1})},getEventName:()=>({mouseEnter:"onMouseEnter",mouseLeave:"onMouseLeave",mouseOut:"onMouseOut",mouseOver:"onMouseOver",click:"onClick",focus:"onFocus",blur:"onBlur",keydown:"onKeyDown",contextMenu:"onContextMenu"}),registerTriggerEvent:e=>{this.setState({triggerEventSet:e})},registerPortalEvent:e=>{this.setState({portalEventSet:e})},getTriggerBounding:()=>{let e=this.adapter.getTriggerNode();return this.triggerEl.current=e,e&&e.getBoundingClientRect()},getPopupContainerRect:()=>{let e=this.getPopupContainer(),t=null;return e&&(0,D.Z)(e)&&(t=Object.assign(Object.assign({},(0,P.I3)(e.getBoundingClientRect())),{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop})),t},containerIsBody:()=>this.getPopupContainer()===document.body,containerIsRelative:()=>{let e=this.getPopupContainer();return"relative"===window.getComputedStyle(e).getPropertyValue("position")},containerIsRelativeOrAbsolute:()=>["relative","absolute"].includes(this.containerPosition),getWrapperBounding:()=>{let e=this.containerEl&&this.containerEl.current;return e&&e.getBoundingClientRect()},getDocumentElementBounding:()=>document.documentElement.getBoundingClientRect(),setPosition:e=>{var{position:t}=e,n=F(e,["position"]);this.setState({containerStyle:Object.assign(Object.assign({},this.state.containerStyle),n),placement:t,isPositionUpdated:!0},()=>{this.eventManager.emit("positionUpdated")})},setDisplayNone:(e,t)=>{this.setState({displayNone:e},t)},updatePlacementAttr:e=>{this.setState({placement:e})},togglePortalVisible:(e,t)=>{let n={};n.transitionState=e?"enter":"leave",n.visible=e,this.mounted&&this.setState(n,()=>{t()})},registerClickOutsideHandler:e=>{this.clickOutsideHandler&&this.adapter.unregisterClickOutsideHandler(),this.clickOutsideHandler=t=>{if(!this.mounted)return!1;let n=this.triggerEl&&this.triggerEl.current,r=this.containerEl&&this.containerEl.current;n=y.findDOMNode(n),r=y.findDOMNode(r);let i=t.target,o=t.composedPath&&t.composedPath()||[i],a=!!this.props.clickTriggerToHide&&(n&&n.contains(i)||o.includes(n));(n&&!n.contains(i)&&r&&!r.contains(i)&&!(o.includes(r)||o.includes(n))||a)&&(this.props.onClickOutSide(t),e())},window.addEventListener("mousedown",this.clickOutsideHandler)},unregisterClickOutsideHandler:()=>{this.clickOutsideHandler&&(window.removeEventListener("mousedown",this.clickOutsideHandler),this.clickOutsideHandler=null)},registerResizeHandler:e=>{this.resizeHandler&&this.adapter.unregisterResizeHandler(),this.resizeHandler=v()(t=>{if(!this.mounted)return!1;e(t)},10),window.addEventListener("resize",this.resizeHandler,!1)},unregisterResizeHandler:()=>{this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler,!1),this.resizeHandler=null)},notifyVisibleChange:e=>{this.props.onVisibleChange(e)},registerScrollHandler:e=>{this.scrollHandler&&this.adapter.unregisterScrollHandler(),this.scrollHandler=v()(t=>{if(!this.mounted)return!1;let n=this.adapter.getTriggerNode();t.target.contains(n)&&e({x:t.target.scrollLeft,y:t.target.scrollTop})},10),window.addEventListener("scroll",this.scrollHandler,!0)},unregisterScrollHandler:()=>{this.scrollHandler&&(window.removeEventListener("scroll",this.scrollHandler,!0),this.scrollHandler=null)},canMotion:()=>!!this.props.motion,updateContainerPosition:()=>{let e=this.getPopupContainer();if(e&&(0,D.Z)(e)){let t=window.getComputedStyle(e).getPropertyValue("position");this.containerPosition=t}},getContainerPosition:()=>this.containerPosition,getContainer:()=>this.containerEl&&this.containerEl.current,getTriggerNode:()=>{let e=this.triggerEl.current;return!(0,D.Z)(this.triggerEl.current)&&(e=y.findDOMNode(this.triggerEl.current)),e},getFocusableElements:e=>(0,L.GO)(e),getActiveElement:()=>(0,L.vY)(),setInitialFocus:()=>{let{preventScroll:e}=this.props,t=f()(this,"initialFocusRef.current");t&&"focus"in t&&t.focus({preventScroll:e})},notifyEscKeydown:e=>{this.props.onEscKeyDown(e)},setId:()=>{this.setState({id:(0,C.Ms)()})},getTriggerDOM:()=>this.triggerEl.current?y.findDOMNode(this.triggerEl.current):null})}componentDidMount(){this.mounted=!0,this.getPopupContainer=this.props.getPopupContainer||this.context.getPopupContainer||H,this.foundation.init(),(0,L.Tq)(()=>{let e=this.triggerEl.current;e&&!(e instanceof HTMLElement)&&(e=(0,y.findDOMNode)(e)),this.foundation.updateStateIfCursorOnTrigger(e)},1)}componentWillUnmount(){this.mounted=!1,this.foundation.destroy()}focusTrigger(){this.foundation.focusTrigger()}rePosition(){return this.foundation.calcPosition()}componentDidUpdate(e,t){(0,k.Z)(this.props.mouseLeaveDelay<this.props.mouseEnterDelay,"[Semi Tooltip] 'mouseLeaveDelay' cannot be less than 'mouseEnterDelay', which may cause the dropdown layer to not be hidden."),e.visible!==this.props.visible&&(["hover","focus"].includes(this.props.trigger)?this.props.visible?this.foundation.delayShow():this.foundation.delayHide():this.props.visible?this.foundation.show():this.foundation.hide()),!i()(e.rePosKey,this.props.rePosKey)&&this.rePosition()}render(){let{isInsert:e,triggerEventSet:t,visible:n,id:r}=this.state,{wrapWhenSpecial:i,role:o,trigger:a}=this.props,{children:s}=this.props,l=Object.assign({},f()(s,"props.style")),u={};if(i){let e=this.isSpecial(s);e?(l.pointerEvents="none",e===E.j2.STATUS_DISABLED&&(u.cursor="not-allowed"),s=(0,b.cloneElement)(s,{style:l}),"custom"!==a&&(s=this.wrapSpan(s)),this.isWrapped=!0):!(0,b.isValidElement)(s)&&(s=this.wrapSpan(s),this.isWrapped=!0)}let c={};"dialog"===o?(c["aria-expanded"]=n?"true":"false",c["aria-haspopup"]="dialog",c["aria-controls"]=r):c["aria-describedby"]=r;let d=b.cloneElement(s,Object.assign(Object.assign(Object.assign(Object.assign({},c),s.props),this.mergeEvents(s.props,t)),{style:Object.assign(Object.assign({},f()(s,"props.style")),u),className:S()(f()(s,"props.className")),ref:e=>{this.triggerEl.current=e;let{ref:t}=s;"function"==typeof t?t(e):t&&"object"==typeof t&&(t.current=e)},tabIndex:s.props.tabIndex||0,"data-popupid":r}));return b.createElement(b.Fragment,null,e?this.renderPortal():null,d)}}V.contextType=N.Z,V.propTypes={children:T().node,motion:T().bool,autoAdjustOverflow:T().bool,position:T().oneOf(q),getPopupContainer:T().func,mouseEnterDelay:T().number,mouseLeaveDelay:T().number,trigger:T().oneOf(W).isRequired,className:T().string,wrapperClassName:T().string,clickToHide:T().bool,clickTriggerToHide:T().bool,visible:T().bool,style:T().object,content:T().oneOfType([T().node,T().func]),prefixCls:T().string,onVisibleChange:T().func,onClickOutSide:T().func,spacing:T().oneOfType([T().number,T().object]),margin:T().oneOfType([T().number,T().object]),showArrow:T().oneOfType([T().bool,T().node]),zIndex:T().number,rePosKey:T().oneOfType([T().string,T().number]),arrowBounding:U.Z,transformFromCenter:T().bool,arrowPointAtCenter:T().bool,stopPropagation:T().bool,role:T().string,wrapWhenSpecial:T().bool,guardFocus:T().bool,returnFocusOnClose:T().bool,preventScroll:T().bool,keepDOM:T().bool},V.__SemiComponentName__="Tooltip",V.defaultProps=(0,L.GW)(V.__SemiComponentName__,{arrowBounding:E.KT.ARROW_BOUNDING,autoAdjustOverflow:!0,arrowPointAtCenter:!0,trigger:"hover",transformFromCenter:!0,position:"top",prefixCls:G,role:"tooltip",mouseEnterDelay:E.KT.MOUSE_ENTER_DELAY,mouseLeaveDelay:E.KT.MOUSE_LEAVE_DELAY,motion:!0,onVisibleChange:m(),onClickOutSide:m(),spacing:E.KT.SPACING,margin:E.KT.MARGIN,showArrow:!0,wrapWhenSpecial:!0,zIndex:E.KT.DEFAULT_Z_INDEX,closeOnEsc:!1,guardFocus:!1,returnFocusOnClose:!1,onEscKeyDown:m(),disableFocusListener:!1,disableArrowKeyDown:!1,keepDOM:!1})},11563:function(e,t,n){"use strict";function r(e,t){var n=t&&t.cache?t.cache:c,r=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}n.d(t,{A:function(){return d},Z:function(){return r}});function i(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function a(e,t,n,r,i){return n.bind(t,e,r,i)}function s(e,t){var n,r,a,s,l,u=1===e.length?i:o;return n=e,r=this,a=u,s=t.cache.create(),l=t.serializer,a.bind(r,n,s,l)}var l=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(e){return this.cache[e]},u.prototype.set=function(e,t){this.cache[e]=t};var c={create:function(){return new u}},d={variadic:function(e,t){var n,r,i,a,s;return n=e,r=this,i=o,a=t.cache.create(),s=t.serializer,i.bind(r,n,a,s)},monadic:function(e,t){var n,r,o,a,s;return n=e,r=this,o=i,a=t.cache.create(),s=t.serializer,o.bind(r,n,a,s)}}},27169:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n("70846");function i(e,t){for(var n="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var a=0;i+1<e.length&&e.charAt(i+1)===o;)a++,i++;var s=1+(1&a),l=a<2?1:3+(a>>1),u=function(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var i=e.language;return"root"!==i&&(t=e.maximize().region),(r._[t||""]||r._[i||""]||r._["".concat(i,"-001")]||r._["001"])[0]}(t);for(("H"==u||"k"==u)&&(l=0);l-- >0;)n+="a";for(;s-- >0;)n=u+n}else"J"===o?n+="H":n+=o}return n}},92785:function(e,t,n){"use strict";var r,i;n.d(t,{o:function(){return r}}),(i=r||(r={}))[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG"},63962:function(e,t,n){"use strict";n.d(t,{HI:function(){return a.HI},Ii:function(){return a.Ii},Jo:function(){return a.Jo},O4:function(){return a.O4},Qc:function(){return s},VG:function(){return a.VG},Wh:function(){return a.Wh},Wi:function(){return a.Wi},pe:function(){return a.pe},rp:function(){return a.rp},uf:function(){return a.uf},yx:function(){return a.yx}});var r=n("75047"),i=n("92785"),o=n("87154"),a=n("96280");function s(e,t){void 0===t&&(t={}),t=(0,r.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new o._(e,t).parse();if(n.err){var s=SyntaxError(i.o[n.err.kind]);throw s.location=n.err.location,s.originalMessage=n.err.message,s}return!(null==t?void 0:t.captureLocation)&&!function e(t){t.forEach(function(t){if(delete t.location,(0,a.Wi)(t)||(0,a.Jo)(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else(0,a.uf)(t)&&(0,a.Wh)(t.style)?delete t.style.location:((0,a.rp)(t)||(0,a.pe)(t))&&(0,a.Ii)(t.style)?delete t.style.location:(0,a.HI)(t)&&e(t.children)})}(n.val),n.val}},87154:function(e,t,n){"use strict";n.d(t,{_:function(){return O}});var r,i,o=n("75047"),a=n("92785"),s=n("96280"),l=n("76652"),u=n("21625"),c=n("61308"),d=n("27169"),p=new RegExp("^".concat(l.p.source,"*")),h=new RegExp("".concat(l.p.source,"*$"));function f(e,t){return{start:e,end:t}}var g=!!String.prototype.startsWith,m=!!String.fromCodePoint,_=!!Object.fromEntries,v=!!String.prototype.codePointAt,b=!!String.prototype.trimStart,y=!!String.prototype.trimEnd,w=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},S=!0;try{var A=E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");S=(null===(r=A.exec("a"))||void 0===r?void 0:r[0])==="a"}catch(e){S=!1}var T=g?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},x=m?String.fromCodePoint:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0;i>o;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");r+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return r},k=_?Object.fromEntries:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n],i=r[0],o=r[1];t[i]=o}return t},M=v?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0)&&!(t>=r)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536}},P=b?function(e){return e.trimStart()}:function(e){return e.replace(p,"")},I=y?function(e){return e.trimEnd()}:function(e){return e.replace(h,"")};function E(e,t){return new RegExp(e,t)}if(S){var C=E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");i=function(e,t){var n;return C.lastIndex=t,null!==(n=C.exec(e)[1])&&void 0!==n?n:""}}else i=function(e,t){for(var n=[];;){var r=M(e,t);if(void 0===r||L(r)||function(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}(r))break;n.push(r),t+=r>=65536?2:1}return x.apply(void 0,n)};var O=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 i=this.char();if(123===i){var o=this.parseArgument(e,n);if(o.err)return o;r.push(o.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var l=this.clonePosition();this.bump(),r.push({type:s.wD.pound,location:f(l,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&D(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;r.push(o.val)}else{var o=this.parseLiteral(e,t);if(o.err)return o;r.push(o.val)}}else{if(!n)return this.error(a.o.UNMATCHED_CLOSING_TAG,f(this.clonePosition(),this.clonePosition()));break}}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:s.wD.literal,value:"<".concat(r,"/>"),location:f(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(a.o.INVALID_TAG,f(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,l=this.clonePosition();if(!this.bumpIf("</"))return this.error(a.o.UNCLOSED_TAG,f(n,this.clonePosition()));if(this.isEOF()||!D(this.char()))return this.error(a.o.INVALID_TAG,f(l,this.clonePosition()));var u=this.clonePosition();return r!==this.parseTagName()?this.error(a.o.UNMATCHED_CLOSING_TAG,f(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:s.wD.tag,value:r,children:o,location:f(n,this.clonePosition())},err:null}:this.error(a.o.INVALID_TAG,f(l,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&function(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}(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){r+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var l=f(n,this.clonePosition());return{val:{type:s.wD.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&60===this.char()&&(this.ignoreTag||!function(e){return D(e)||47===e}(this.peek()||0))?(this.bump(),"<"):null},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())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return x.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(),x(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.o.EXPECT_ARGUMENT_CLOSING_BRACE,f(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(a.o.EMPTY_ARGUMENT,f(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(a.o.MALFORMED_ARGUMENT,f(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.o.EXPECT_ARGUMENT_CLOSING_BRACE,f(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.wD.argument,value:r,location:f(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.o.EXPECT_ARGUMENT_CLOSING_BRACE,f(n,this.clonePosition()));return this.parseArgumentOptions(e,t,r,n);default:return this.error(a.o.MALFORMED_ARGUMENT,f(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=i(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:f(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,l=this.clonePosition(),c=this.parseIdentifierIfPossible().value,p=this.clonePosition();switch(c){case"":return this.error(a.o.EXPECT_ARGUMENT_TYPE,f(l,p));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var g=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var _=I(m.val);if(0===_.length)return this.error(a.o.EXPECT_ARGUMENT_STYLE,f(this.clonePosition(),this.clonePosition()));h={style:_,styleLocation:f(g,this.clonePosition())}}var v=this.tryParseArgumentClose(r);if(v.err)return v;var b=f(r,this.clonePosition());if(h&&T(null==h?void 0:h.style,"::",0)){var y=P(h.style.slice(2));if("number"===c){var m=this.parseNumberSkeletonFromString(y,h.styleLocation);if(m.err)return m;return{val:{type:s.wD.number,value:n,location:b,style:m.val},err:null}}if(0===y.length)return this.error(a.o.EXPECT_DATE_TIME_SKELETON,b);var w=y;this.locale&&(w=(0,d.T)(y,this.locale));var _={type:s.aV.dateTime,pattern:w,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,u.T)(w):{}};return{val:{type:"date"===c?s.wD.date:s.wD.time,value:n,location:b,style:_},err:null}}return{val:{type:"number"===c?s.wD.number:"date"===c?s.wD.date:s.wD.time,value:n,location:b,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.o.EXPECT_SELECT_ARGUMENT_OPTIONS,f(S,(0,o.pi)({},S)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),x=0;if("select"!==c&&"offset"===A.value){if(!this.bumpIf(":"))return this.error(a.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(a.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),A=this.parseIdentifierIfPossible(),x=m.val}var M=this.tryParsePluralOrSelectOptions(e,c,t,A);if(M.err)return M;var v=this.tryParseArgumentClose(r);if(v.err)return v;var E=f(r,this.clonePosition());if("select"===c)return{val:{type:s.wD.select,value:n,options:k(M.val),location:E},err:null};return{val:{type:s.wD.plural,value:n,options:k(M.val),offset:x,pluralType:"plural"===c?"cardinal":"ordinal",location:E},err:null};default:return this.error(a.o.INVALID_ARGUMENT_TYPE,f(l,p))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(a.o.EXPECT_ARGUMENT_CLOSING_BRACE,f(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,f(n,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=(0,c.O)(e)}catch(e){return this.error(a.o.INVALID_NUMBER_SKELETON,t)}return{val:{type:s.aV.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?(0,c.I)(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,s=[],l=new Set,u=r.value,c=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(a.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=f(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error("select"===t?a.o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?a.o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,f(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(e+1,t,n);if(g.err)return g;var m=this.tryParseArgumentClose(h);if(m.err)return m;s.push([u,{value:g.val,location:f(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?a.o.EXPECT_SELECT_ARGUMENT_SELECTOR:a.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,f(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(a.o.MISSING_OTHER_CLAUSE,f(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=f(r,this.clonePosition());return i?w(o*=n)?{val:o,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=M(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(T(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()&&L(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 D(e){return e>=97&&e<=122||e>=65&&e<=90}function L(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}},76652:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},70846:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var r={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"]}},96280:function(e,t,n){"use strict";var r,i,o,a;function s(e){return e.type===r.literal}function l(e){return e.type===r.argument}function u(e){return e.type===r.number}function c(e){return e.type===r.date}function d(e){return e.type===r.time}function p(e){return e.type===r.select}function h(e){return e.type===r.plural}function f(e){return e.type===r.pound}function g(e){return e.type===r.tag}function m(e){return!!(e&&"object"==typeof e&&e.type===i.number)}function _(e){return!!(e&&"object"==typeof e&&e.type===i.dateTime)}n.d(t,{HI:function(){return g},Ii:function(){return _},Jo:function(){return h},O4:function(){return s},VG:function(){return l},Wh:function(){return m},Wi:function(){return p},aV:function(){return i},pe:function(){return d},rp:function(){return c},uf:function(){return u},wD:function(){return r},yx:function(){return f}}),(o=r||(r={}))[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(a=i||(i={}))[a.number=0]="number",a[a.dateTime=1]="dateTime"},21625:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=/(?:[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 i(e){var t={};return e.replace(r,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 RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw 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 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 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 RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw 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 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 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 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 RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}},61308:function(e,t,n){"use strict";n.d(t,{I:function(){return h},O:function(){return o}});var r=n("75047"),i=n("4420");function o(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(i.r).filter(function(e){return e.length>0}),n=[],r=0;r<t.length;r++){var o=t[r].split("/");if(0===o.length)throw Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),l=0;l<s.length;l++)if(0===s[l].length)throw Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}var a=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,s=/^(@+)?(\+|#+)?[rs]?$/g,l=/(\*)(0+)|(#+)(0+)|(0+)/g,u=/^(0+)$/;function c(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(s,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 d(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 p(e){var t=d(e);return t?t:{}}function h(e){for(var t={},n=0;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=i.options[0].replace(/^(.*?)-/,"");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=(0,r.pi)((0,r.pi)((0,r.pi)({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return(0,r.pi)((0,r.pi)({},e),p(t))},{}));continue;case"engineering":t=(0,r.pi)((0,r.pi)((0,r.pi)({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return(0,r.pi)((0,r.pi)({},e),p(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(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(l,function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(u.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(a.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(a,function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var o=i.options[0];"w"===o?t=(0,r.pi)((0,r.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,r.pi)((0,r.pi)({},t),c(o)));continue}if(s.test(i.stem)){t=(0,r.pi)((0,r.pi)({},t),c(i.stem));continue}var h=d(i.stem);h&&(t=(0,r.pi)((0,r.pi)({},t),h));var f=function(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)),!u.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem);f&&(t=(0,r.pi)((0,r.pi)({},t),f))}return t}},4420:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},74456:function(e,t,n){"use strict";n.d(t,{bf:function(){return l},gg:function(){return s},hN:function(){return u},mK:function(){return o},ni:function(){return i}});var r=n("38049"),i=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e?this.listeners.add(e):("undefined"!=typeof process&&process.env,!1)}once(e){let t=this;this.on(function n(...r){return t.remove(n),e.apply(null,r)})}emit(...e){this.listeners.size>0&&this.listeners.forEach(t=>t.apply(null,e))}remove(e){return this.listeners.delete(e)}removeAll(){this.listeners.clear()}},o=class extends i{emit(...e){let t;let n=Array.from(this.listeners);if(n.length>0){let r=0,i=t=>!1!==t&&(r<n.length?Promise.resolve(n[r++].apply(null,e)).then(i):t);t=i()}return Promise.resolve(t)}};function a(e,t){if(!(0,r.Kn)(t))return!1;if(e!==t){for(let n in e)if(!(n in t))return!1}return!0}var s=class extends i{constructor(e){super(),this.onerror=r.vU,this.type=e}emit(e){for(let t of(!(0,r.Kn)(e)&&(0,r.vU)(`"${this.type}" hook response data must be an object.`),this.listeners))try{let n=t(e);if(a(e,n))e=n;else{this.onerror(`The return value of hook "${this.type}" is incorrect.`);break}}catch(e){"undefined"!=typeof process&&process.env,this.onerror(e)}return e}},l=class extends i{constructor(e){super(),this.onerror=r.vU,this.type=e}emit(e){!(0,r.Kn)(e)&&(0,r.vU)(`"${this.type}" hook response data must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let n=0,r=t=>("undefined"!=typeof process&&process.env,this.onerror(t),e),i=o=>{if(!1===o)return!1;if(a(e,o)){if(e=o,n<t.length)try{return Promise.resolve(t[n++](e)).then(i,r)}catch(e){return r(e)}}else this.onerror(`The return value of hook "${this.type}" is incorrect.`);return e};return Promise.resolve(i(e))}return Promise.resolve(e)}},u=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}usePlugin(e){(0,r.hu)((0,r.PO)(e),"Invalid plugin configuration.");let t=e.name;if((0,r.hu)(t,"Plugin must provide a name."),this.registerPlugins[t])(0,r.ZK)(`Repeat to register plugin hooks "${t}".`);else for(let n in this.registerPlugins[t]=e,this.lifecycle){let t=e[n];t&&this.lifecycle[n].on(t)}}removePlugin(e){(0,r.hu)(e,"Must provide a name.");let t=this.registerPlugins[e];for(let n in(0,r.hu)(t,`plugin "${e}" is not registered.`),t)"name"!==n&&this.lifecycle[n].remove(t[n])}inherit({lifecycle:e,registerPlugins:t}){for(let t in e)(0,r.hu)(!this.lifecycle[t],`"${t}" hook has conflict and cannot be inherited.`),this.lifecycle[t]=e[t];for(let e in t)(0,r.hu)(!this.registerPlugins[e],`"${e}" plugin has conflict and cannot be inherited.`),this.usePlugin(t[e]);return this}}},43628:function(e,t,n){"use strict";n.d(t,{aN:function(){return x}});var r,i=n("74456"),o=n("38049"),a=Object.defineProperty,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&c(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&c(e,n,t[n]);return e},p=/url\(\s*(['"])?(.*?)\1\s*\)/g,h=/@charset\s+(['"])(.*?)\1\s*;?/g,f=/@import\s+(['"])(.*?)\1/g,g=class{constructor(e,t){this.depsStack=new Set,this.scopeData=null,this.url=t||null,this.styleCode=e}correctPath(e){let{url:t,styleCode:n}=this;!e&&(e=t),e&&"string"==typeof n&&(this.styleCode=n.replace(h,"").replace(f,function(e,t,n){return n?`@import url(${t}${n}${t})`:e}).replace(p,(t,n,r)=>(0,o.YP)(r)?t:`url("${e?(0,o.fX)(e,r):r}")`))}transformCode(e){return e}setDep(e){this.depsStack.add(e)}setScope(e){this.scopeData=e}isSameOrigin(e){return this.depsStack.has(e)}renderAsStyleElement(e=""){let t=document.createElement("style"),n=e+(this.styleCode?this.styleCode:"/**empty style**/");return t.setAttribute("type","text/css"),t.textContent=this.transformCode(n),t}clone(){let e=new this.constructor;return e.url=this.url,e.styleCode=this.styleCode,e.scopeData=this.scopeData,e.depsStack=new Set(this.depsStack),e}},m=class{constructor(e,t){this.alias=null,this.url=t||null,this.moduleCode=e}setAlias(e){e&&"string"==typeof e&&(this.alias=e)}clone(){let e=new this.constructor;return e.url=this.url,e.alias=this.alias,e.moduleCode=this.moduleCode,e}},_=class{constructor(e,t){if(this.DOMApis=new o.H4,this.astTree=[],this.pretreatmentStore={},this.url=t,e){let[t,n]=(0,o.YF)(e,["meta","link","style","script"]);this.astTree=t,this.pretreatmentStore=n}}getNodesByTagName(...e){let t=0,n={};for(let r of e)this.pretreatmentStore[r]?(t++,n[r]=this.pretreatmentStore[r]):n[r]=[];if(t!==e.length){let t=r=>{if("element"===r.type)for(let i of(e.indexOf(r.tagName)>-1&&!this.pretreatmentStore[r.tagName]&&n[r.tagName].push(r),r.children))t(i)};for(let e of this.astTree)t(e)}return n}createElements(e,t,n){let r=[],i=(r,o)=>{var a;let s;if(this.DOMApis.isCommentNode(r));else if(this.DOMApis.isText(r))s=this.DOMApis.createTextNode(r),o&&o.appendChild(s);else if(this.DOMApis.isNode(r)){let{tagName:l,children:u}=r;if("function"==typeof n&&(s=null==(a=n(r,t))?void 0:a.customElement),!s&&(s=e[l]?e[l](r):this.DOMApis.createElement(r)),o&&s&&o.appendChild(s),s){let{nodeType:e,_ignoreChildNodes:t}=s;if(!t&&8!==e&&10!==e)for(let e of u)i(e,s)}}return s};for(let e of this.astTree)if(this.DOMApis.isNode(e)&&"!doctype"!==e.tagName){let n=i(e,t);n&&r.push(n)}return r}toResolveUrl(e,t,n){var r;let i=null==(r=e.attributes)?void 0:r.find(({key:e})=>e===t);i&&i.value&&n&&(i.value=(0,o.fX)(n,i.value))}ignoreChildNodesCreation(e){return e&&(e._ignoreChildNodes=!0),e}findAllMetaNodes(){return this.getNodesByTagName("meta").meta}findAllLinkNodes(){return this.getNodesByTagName("link").link}findAllJsNodes(){return this.getNodesByTagName("script").script}findAttributeValue(e,t){var n,r;return(null==(r=null==(n=e.attributes)?void 0:n.find(({key:e})=>e===t))?void 0:r.value)||void 0}cloneNode(e){return(0,o.RH)(e,{})}clone(){let e=new this.constructor;return e.url=this.url,e.astTree=this.astTree,e.pretreatmentStore=this.pretreatmentStore,e.DOMApis=new o.H4(this.DOMApis.document),e}},v=class{constructor(e,t){this.depsStack=new Set,this.mimeType="",this.async=!1,this.defer=!1,this.url=t,this.scriptCode=e}isModule(){return"module"===this.mimeType}isInlineScript(){return!this.url}setMimeType(e){this.mimeType=e||""}setAsyncAttribute(e){this.async=!!e}setDefferAttribute(e){this.defer=!!e}setDep(e){this.depsStack.add(e)}isSameOrigin(e){return this.depsStack.has(e)}clone(){let e=new this.constructor;return e.url=this.url,e.async=this.async,e.mimeType=this.mimeType,e.scriptCode=this.scriptCode,e.depsStack=new Set(this.depsStack),e}};function b(e){return e.resourceManager&&(e.resourceManager=e.resourceManager.clone()),e}var y=new WeakSet,w=Symbol("__defaultBufferPoll__"),S=["js","css","module","template",w],A=class{constructor(e=52428800){this.totalSize=0,this.recorder={},this.maxSize=e,S.forEach(e=>{this.recorder[e]=0,this[e]=new Map})}bufferPool(e){return this[e]}has(e){return S.some(t=>this[t].has(e))}get(e){for(let t of S)if(this[t].has(e))return this[t].get(e)}set(e,t,n){let r=y.has(t)?0:t.size,i=this.totalSize+r;if(i<this.maxSize){let o=n,a=this.bufferPool(n);return!a&&(o=w,a=this.bufferPool(w)),a.set(e,t),this.totalSize=i,this.recorder[o]+=r,!0}return!1}clear(e){if("string"==typeof e){let t=this.bufferPool(e);if(t&&t instanceof Map){let n=this.recorder[e];this.totalSize-=n,this.recorder[e]=0,t.clear()}}else S.forEach(e=>{this[e].clear(),this.recorder[e]=0}),this.totalSize=0}};var T=((r=T||{}).anonymous="same-origin",r["use-credentials"]="include",r),x=class{constructor(e){this.personalId=o.Iy,this.StyleManager=g,this.ModuleManager=m,this.TemplateManager=_,this.JavaScriptManager=v,this.hooks=new i.hN({error:new i.ni,loaded:new i.gg("loaded"),clear:new i.gg("clear"),beforeLoad:new i.gg("beforeLoad"),fetch:new i.mK("fetch")}),this.options=e||{},this.loadingList=Object.create(null),this.cacheStore=Object.create(null)}setOptions(e){this.options=d(d({},this.options),e)}clear(e,t){let n=this.cacheStore[e];n&&(n.clear(t),this.hooks.lifecycle.clear.emit({scope:e,fileType:t}))}clearAll(e){for(let t in this.cacheStore)this.clear(t,e)}usePlugin(e){this.hooks.usePlugin(e)}setLifeCycle(e){this.hooks.usePlugin(d({name:"loader-lifecycle"},e))}loadModule(e){return this.load({scope:"modules",url:e,isRemoteModule:!0})}async load({scope:e,url:t,isRemoteModule:n=!1,crossOrigin:r="anonymous",defaultContentType:i=""}){var a;let{options:s,loadingList:l,cacheStore:u}=this,c=l[t];if(c&&Object.keys(c).includes(e))return(0,o.BG)(c[e],4);let p=u[e];if(!p&&(p=u[e]=new A(s.maxSize)),p.has(t))return(0,o.BG)(b(p.get(t)),4);for(let e in u){let n=u[e];if(n!==p&&n.has(t)){let e=n.get(t);return y.add(e),p.set(t,e,e.fileType),(0,o.BG)(b(e),4)}}let h=function(e,t){let n=e.requestConfig,r="function"==typeof n?n(t):n;return d({mode:"cors"},r)}(this,t);h.credentials=T[r];let f=this.hooks.lifecycle.beforeLoad.emit({url:t,scope:e,requestConfig:h});let g=(a=this.hooks.lifecycle.fetch,async function(e,t){let n=await a.emit(e,t||{});(!n||!(n instanceof Response))&&(n=await fetch(e,t||{})),n.status>=400&&(0,o.vU)(`"${e}" load failed with status "${n.status}"`);let r=await n.text(),i=n.headers.get("content-type")||"",s=Number(n.headers.get("content-size"));return{code:r,result:n,mimeType:(0,o.A8)(i||""),type:i,size:Number.isNaN(s)?null:s}})(f.url,f.requestConfig).then(({code:r,size:a,result:s,type:l})=>{let u,c="";n?(c="module",u=this.ModuleManager):(0,o.vP)({type:l,src:s.url})||(0,o.vP)({type:i})?(c="template",u=this.TemplateManager):(0,o.lU)({type:i})||(0,o.lU)({type:l,src:s.url})?(c="js",u=this.JavaScriptManager):((0,o.cy)({src:s.url,type:l})||(0,o.cy)({type:i}))&&(c="css",u=this.StyleManager);let d=u?new u(r,s.url):null,h=this.hooks.lifecycle.loaded.emit({result:s,value:{url:t,scope:e,resourceManager:d,fileType:c||"",size:a||r.length,code:d?"":r}});return c&&p.set(t,h.value,c),b(h.value)}).catch(t=>{throw"undefined"!=typeof process&&process.env,this.hooks.lifecycle.error.emit(t,{scope:e}),t}).finally(()=>{});return l[t]?l[t][e]=g:l[t]={[e]:g},g}}},32408:function(e,t,n){"use strict";n.d(t,{$y:function(){return S},Z$:function(){return y}});var r,i,o=n("74456"),a=n("43628"),s=n("38049"),l=Object.defineProperty,u=Object.defineProperties,c=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&f(e,n,t[n]);if(d)for(var n of d(t))h.call(t,n)&&f(e,n,t[n]);return e},m=(e,t)=>u(e,c(t)),_=new o.hN({preloaded:new o.ni,initModule:new o.ni("initModule"),beforeLoadModule:new o.gg("beforeLoadModule"),asyncBeforeLoadModule:new o.bf("asyncBeforeLoadModule"),afterLoadModule:new o.gg("afterLoadModule"),asyncAfterLoadModule:new o.bf("asyncAfterLoadModule")}),v=class{constructor(e,t){this.manager=e,this.env={exports:{},module:null,require:e=>{var n,i;return(t||{})[e]||k.externals&&k.externals[e]||(null==(i=null==(n=r)?void 0:n.context)?void 0:i.externals[e])}},this.env.module=this.env,_.lifecycle.initModule.emit(this)}execScript(){let{url:e,moduleCode:t}=this.manager;if(r)r.execScript(t,this.env,e,{noEntry:!0});else{let n=`
${e?`//# sourceURL=${e}
`:""}`;(0,s.yQ)(`;${t}
${n}`,this.env,window)}return this.env}},b=e=>{for(let t in e){let n=e[t];(0,s.hu)((0,s.YP)(n),`The loading of the remote module must be an absolute path. "${n}"`),k.alias[t]=n}};function y(e){for(let t in(0,s.hu)((0,s.PO)(e),"Module configuration must be an object."),e)if((0,s.RI)(k,t)){if("env"===t)Object.assign(k[t],e[t]);else if("alias"===t){let n=e[t];n&&b(n)}else k[t]=e[t]}else"undefined"!=typeof process&&process.env}function w(e,t){if(Array.isArray(t)){let n=t.length;if(n>1)for(let r=1;r<n;r++){let n=t[r];(0,s.hu)((0,s.Kn)(e),`Remote module "${t.slice(0,r).join(".")}" is ${e}, cannot get "${n}" attribute from it.`),e=e[n]}}return e}async function S(e,t){let n=await _.lifecycle.asyncBeforeLoadModule.emit({options:t,url:e});if(!1===n)return null;e=n.url,t=n.options,(0,s.hu)(e,"Missing url for loading remote module."),(0,s.hu)("string"==typeof e,"The type of URL needs to be a string.");let[r,i]=function(e){if(e&&e.startsWith("@")){let t=e.slice(1).split("."),n=t[0],r=k.alias[n];return(0,s.hu)(r,`Alias "${n}" is not defined.`),[r,t]}return[e,void 0]}(e);(0,s.hu)((0,s.YP)(r)||r.startsWith("//"),`The loading of the remote module must be an absolute path. "${r}"`);let o=P(r,t),{cache:a,version:l,externals:u,error:c,adapter:d}=o,p=`${l||"latest"}@${r}`,h=async()=>{let e=null,t=T[p];if(a&&t)(0,s.tI)(t)&&(t=await t),e=w(t,i);else try{let t=await M.loadModule(r);if(t.resourceManager){let n=new v(t.resourceManager,u);T[p]=n.env.exports;let o=n.execScript().exports;"function"==typeof d&&(o=d(o));let a=await _.lifecycle.asyncAfterLoadModule.emit({url:r,exports:o,code:t.resourceManager.moduleCode});if(!1===a)return null;o=a.exports,T[p]=o,(0,s.tI)(o)&&(o=await o),e=w(o,i)}}catch(n){delete T[p];let t=i?i[0]:"";if("function"==typeof c)e=c(n,o,t);else throw I(n,t,r)}return e};return x[p]?x[p].then(()=>Promise.resolve(T[p]).then(e=>w(e,i))):(x[p]=h().then(e=>(x[p]=null,e)),x[p])}var A=[],T=Object.create(null),x=Object.create(null),k={alias:{},cache:!0,error:null,adapter:null,externals:{loadModule:S}};(0,s.Ho)(()=>{if(i=__GARFISH_GLOBAL_ENV__,(0,s.Kn)(i)){let{externals:e,currentApp:t,remoteModulesCode:n}=i;t&&(r=t),(0,s.Kn)(e)&&Object.assign(k.externals,e),Array.isArray(n)&&(A=A.concat(n),n.forEach(e=>{e.alias&&(k.alias[e.alias]=e.url)}))}});var M=(()=>{if((0,s.Kn)(i)){let e=i.loader;if((0,s.Kn)(e)&&e.personalId===s.Iy)return e}return new a.aN})(),P=(e,t)=>{let n;let r=k.externals;if(delete k.externals,(0,s.PO)(t)){let i=t.externals;delete t.externals,n=(0,s.RH)(k,m(g({},t),{url:e})),t.externals=i,n.externals=g(g({},r),i)}else(n=(0,s.RH)(k,{url:e})).externals=r;return k.externals=r,n},I=(e,t,n)=>{let i=[r&&r.name,t,n],o=i.reduce((e,t,n)=>t?n===i.length-1?e+`"${t}"`:e+`"${t}" -> `:e,"remoteModule: ");return(o=` (${o})`,"number"==typeof e&&(e=String(e)),"string"!=typeof e||e.endsWith(o))?(e instanceof Error&&!e.message.endsWith(o)&&(e.message=`${e.message}${o}`),e):`${e}${o}`}},38049:function(e,t,n){"use strict";n.d(t,{A8:function(){return I},BG:function(){return T},H4:function(){return M},Ho:function(){return _},Iy:function(){return P},Kn:function(){return a},PO:function(){return s},RH:function(){return w},RI:function(){return c},YF:function(){return N},YP:function(){return S},ZK:function(){return f},cy:function(){return C},fX:function(){return A},hu:function(){return v},lU:function(){return E},tI:function(){return l},vP:function(){return O},vU:function(){return g},yQ:function(){return m}});var r=n("84237"),i=n.n(r),o=Object.prototype.toString;function a(e){return e&&"object"==typeof e}function s(e){return"[object Object]"===o.call(e)}function l(e){return a(e)&&"function"==typeof e.then}window.requestIdleCallback||window.requestAnimationFrame;var u=Object.prototype.hasOwnProperty;function c(e,t){return u.call(e,t)}function d(e){let t=Object.create(null);for(let n=0;n<e.length;n++)t[e[n]]=!0;return e=>!!t[e]}var p="[Garfish warning]",h=(e,t)=>{try{"string"==typeof e?(e=`${p}: ${e}
`,t(e,!0)):e instanceof Error&&(!e.message.startsWith(p)&&(e.message=`${p}: ${e.message}`),t(e,!1))}catch(n){t(e,"string"==typeof e)}};function f(e){h(e,(e,t)=>{console.warn(t?e:e.message)})}function g(e){h(e,(e,t)=>{if(t)throw Error(e);throw e})}function m(e,t,n,r=!1){let i=Object.keys(t),o=(0,eval)("window;"),a="__garfish__exec_temporary__",s=i.map(e=>`window.${a}.${e}`),l="__garfish_exec_temporary_context__";try{o[a]=t,o[l]=n;let u=[`;(function(${i.join(",")}){${r?'"use strict";':""}`,`
}).call(window.${l},${s.join(",")});`],c=function(e){let t={};return t[e]=!0,Object.keys(t)[0]}(u[0]+e+u[1]);(0,eval)(c)}catch(e){throw e}finally{delete o[a],delete o[l]}}function _(e,t){try{e()}catch(e){t||"undefined"!=typeof process&&process.env}}function v(e,t){!e&&g(t||"unknow reason")}function b(e){let t=[];for(let n=0,r=e.length;n<r;n++){for(let t=n+1;t<r;t++)e[n]===e[t]&&(t=++n);t.push(e[n])}return t}function y(e){return null===e||"string"==typeof e||"number"==typeof e||"bigint"==typeof e||"symbol"==typeof e||"boolean"==typeof e||void 0===e||"[object RegExp]"===o.call(e)}function w(e,t,n,r){let i=new WeakMap,o=new WeakMap,a=new WeakMap,l=d(r||[]),u=Array.isArray,p=(e,t)=>{if(i.has(e)||o.has(e))return i.has(t)||o.has(t)},h=e=>{if(y(e)||"function"==typeof e)return e;if(a.has(e))return a.get(e);if(i.has(e))return i.get(e);else if(o.has(e))return o.get(e);else if(u(e)){n&&(e=b(e));let t=[];a.set(e,t);for(let n=0,r=e.length;n<r;n++)t[n]=h(e[n]);return t}else if("object"==typeof e){let t={};return a.set(e,t),Reflect.ownKeys(e).forEach(n=>t[n]=h(e[n])),t}},f=(e,t,n)=>{if(e.has(t))return e.get(t);{if(l[n])return t;let r=h(t);return!y(r)&&"function"!=typeof r&&e.set(t,r),r}},g=(e,t)=>{let r={},a=Reflect.ownKeys(e),l=Reflect.ownKeys(t);return i.set(e,r),o.set(t,r),a.forEach(a=>{let l=e[a],d=t[a];if(c(t,a)){if(u(l)&&u(d)){let e=h([...l,...d]);r[a]=n?b(e):e}else s(l)&&s(d)?r[a]=p(l,d)?i.get(l):g(l,d):r[a]=f(o,d,a)}else r[a]=f(i,l,a)}),l.forEach(e=>{!c(r,e)&&(r[e]=f(o,t[e],e))}),r};return g(e,t)}function S(e){return!!(!/^[a-zA-Z]:\\/.test(e)&&/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e))||!1}function A(e,t){let n=new URL(e,location.href);return new URL(t,n.href).href}function T(e,t=0){return new Promise(n=>{setTimeout(()=>n(e),t)})}d(["link","style","script","img","video","audio","iframe"]);var x=d("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view".split(","));function k(e){return e&&0!==e.length?e.reduce((e,{key:t,value:n})=>e+(n?`${t}="${n}" `:t),""):""}var M=class{constructor(e){this.document=e||document}isText(e){return e&&"text"===e.type}isNode(e){return e&&"element"===e.type}isCommentNode(e){return e&&"comment"===e.type}isCssLinkNode(e){return!!this.isNode(e)&&"link"===e.tagName&&!!e.attributes.find(({key:e,value:t})=>"rel"===e&&"stylesheet"===t)}isIconLinkNode(e){return!!this.isNode(e)&&"link"===e.tagName&&!!e.attributes.find(({key:e,value:t})=>"rel"===e&&"icon"===t)}isPrefetchJsLinkNode(e){let t,n;if(!this.isNode(e)||"link"!==e.tagName)return!1;for(let{key:r,value:i}of e.attributes)if("rel"===r){if(t=!0,"preload"!==i&&"prefetch"!==i)return!1}else if("as"===r&&(n=!0,"script"!==i))return!1;return!!(t&&n)}isRemoteModule(e){let t,n;if(!this.isNode(e)||"meta"!==e.tagName)return!1;for(let{key:r,value:i}of e.attributes)if("name"===r){if(t=!0,"garfish-remote-module"!==i)return!1}else if("src"===r&&(n=!0,void 0===i||""===i))return!1;return!!(t&&n)}removeElement(e){let t=e&&e.parentNode;t&&t.removeChild(e)}createElement(e){let{tagName:t,attributes:n}=e,r=x(t)?this.document.createElementNS("http://www.w3.org/2000/svg",t):this.document.createElement(t);return this.applyAttributes(r,n),r}createTextNode(e){return this.document.createTextNode(e.content)}createStyleNode(e){let t=this.document.createElement("style");return e&&(t.textContent=e),this.applyAttributes(t,[{key:"type",value:"text/css"}]),t}createLinkCommentNode(e){if(!this.isNode(e))return e=e?`src="${e}" `:"",this.document.createComment(`<link ${e}execute by garfish(dynamic)></link>`);{let t=k(e.attributes);return`<link ${t.slice(0,-1)}></link>`}}createScriptCommentNode(e){if(this.isNode(e)){let{attributes:t,children:n}=e,r=k(t),i=(null==n?void 0:n[0])?n[0].content:"";return this.document.createComment(`<script ${r} execute by garfish>${i}</script>`)}{let{src:t,code:n}=e,r=t?`src="${t}" `:"";return this.document.createComment(`<script ${r}execute by garfish(dynamic)>${n}</script>`)}}applyAttributes(e,t){if(t&&0!==t.length)for(let{key:n,value:r}of t)n&&(null===r?e.setAttribute(n,""):"string"==typeof r&&(120!==n.charCodeAt(0)?e.setAttribute(n,r):58===n.charCodeAt(3)?e.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,r):58===n.charCodeAt(5)&&"xlink"===n.slice(0,5)?e.setAttributeNS("http://www.w3.org/1999/xlink",n,r):e.setAttribute(n,r)))}},P=Symbol.for("__LOADER_FLAG__");function I(e){if(!(e=null==e?void 0:e.trim()))return null;let t=0,n="",r="";for(;t<e.length&&"/"!==e[t];)n+=e[t],t++;if(0===n.length||t>=e.length)return null;for(t++;t<e.length&&";"!==e[t];)r+=e[t],t++;return 0===(r=r.replace(/[ \t\n\r]+$/,"")).length?null:{type:n.toLocaleLowerCase(),subtype:r.toLocaleLowerCase()}}Symbol.for("__GARFISH_FLAG__");function E({src:e="",type:t}){if(/\.js$/.test(e))return!0;if(t){if("module"===t)return!0;let n=I(t);if(function(e,t){try{let n=new URL(t).search,{type:r,subtype:i}=e||{};if("application"===r&&"json"===i&&/callback/.test(n))return!0}catch(e){}return!1}(n,e)||function(e){let{type:t,subtype:n}=e||{};switch(t){case"text":switch(n){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return!0;default:return!1}case"application":switch(n){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return!0;default:return!1}default:return!1}}(n))return!0}return!1}function C({src:e="",type:t}){if(/\.css$/.test(e))return!0;if(t){var n;if((n=I(t))&&"text"===n.type&&"css"===n.subtype)return!0}return!1}function O({src:e="",type:t}){if(/\.html$/.test(e))return!0;if(t){var n;if((n=I(t))&&"text"===n.type&&"html"===n.subtype)return!0}return!1}function D({name:e,value:t}){this.key=e,this.value=t}var L=e=>{let t=[],n=e.attributes,r=n.length;if(r>0){if(1===r)t[0]=new D(n[0]);else if(2===r)t[0]=new D(n[0]),t[1]=new D(n[1]);else for(let e=0;e<r;e++)t[e]=new D(n[e])}return t},B=(e,t)=>{switch(e.nodeType){case 3:return{type:"text",content:e.textContent};case 8:return{type:"comment",content:e.textContent};case 1:var n;return t({type:"element",tagName:x(n=e.tagName)?n:n.toLowerCase(),attributes:L(e),children:Array.from(e.childNodes).map(e=>B(e,t))});default:g(`Invalid node type "${e.nodeType}"`)}};function N(e,t){let n=[],r=document.createElement("html"),i={},o=e=>(t.includes(e.tagName)&&i[e.tagName].push(e),e);for(let n of(r.innerHTML=e,t))i[n]=[];return[n=Array.from(r.childNodes).map(e=>B(e,o)),i]}var R=i()("garfish");R.extend("core"),R.extend("router")},54709:function(e,t,n){"use strict";n.d(t,{ZP:function(){return u}});var r,i,o=n("83102"),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}void 0===n&&(n=null);for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return i()?{}:{obj:e,k:r(o.shift())}}(r=i||(i={})).keepRaw="keepRaw",r.replaceAnyway="replaceAnyway",i.replaceAnyway;var l={memoize:!1,memoizeFallback:!1,bindI18n:!1,bindI18nStore:!1,onParseError:i.replaceAnyway},u=function(){function e(){this.mem={}}return e.staticInit=function(t){e._i18nextInstance=t},e.prototype.init=function(t,n){var r=this;void 0===t&&(t=e._i18nextInstance);var i={};if((null==t?void 0:t.options)&&(t.options.i18nFormat&&(i=t.options.i18nFormat),i.onParseError=t.options.onParseError,i.missingInterpolationHandler=t.options.missingInterpolationHandler,i.icuConfig=t.options.icuConfig,i.ignoreWarning=!!t.options.ignoreWarning),this.options=Object.assign(l,n,i),this.formats=this.options.formats,t){var a=this.options,s=a.bindI18n,u=a.bindI18nStore,c=a.memoize;t.IntlMessageFormat=o.ZP,this.IntlMessageFormat=o.ZP,t.ICU=this,c&&(s&&t.on(s,function(){return r.clearCache()}),u&&t.store.on(u,function(){return r.clearCache()}))}this.options.localeData&&("[object Array]"===Object.prototype.toString.apply(this.options.localeData)?this.options.localeData.forEach(function(e){return r.addLocaleData(e)}):this.addLocaleData(this.options.localeData))},e.prototype.addLocaleData=function(e){("[object Array]"===Object.prototype.toString.apply(e)?e:[e]).forEach(function(e){e&&e.locale&&o.ZP.__addLocaleData(e)})},e.prototype.addUserDefinedFormats=function(e){this.formats=this.formats?a(a({},this.formats),e):e},e.prototype.checkMissingInterpolation=function(e,t,n,r,o){if(!1===(this.options.icuConfig||{}).strict)return n;for(var a={},s=0;s<e.length;s++){var l=e[s];if(1===l.type){var u=l.value;if(null===n[u]||void 0===n[u]){if("function"==typeof this.options.missingInterpolationHandler){var c=this.options.missingInterpolationHandler({key:o,text:t,locale:r,interpolation:{key:u,val:n[u]}});if("string"==typeof c){a[u]=c;continue}}switch(this.options.onParseError){case i.keepRaw:throw Error();case i.replaceAnyway:a[u]="{"+u+"}";continue}if("function"==typeof this.options.onParseError){console.warn("[DEPRECATED] onParseError is deprecated, please use 'missingInterpolationHandler' instead of");var d=this.options.onParseError(t,u,r,this.IntlMessageFormat);if(!0===d)throw Error();a[u]="string"==typeof d?d:"{"+u+"}"}else!this.options.ignoreWarning&&console.warn('[Starling ICU Warning] The interpolation parameter "{'+u+'}" is missing in the translation text "'+t+'" for the key "'+o+"\"\nSuggestions: check whether the value is null or undefined. Try using empty string '' as fallback! e.g I18n.t('key', { apple: count || '' })"),a[u]="{"+u+"}"}}}return Object.assign({},n,a)},e.prototype.parse=function(e,t,n,r,i,o){var a,l,u,c,d,p=o&&o.resolved&&o.resolved.res,h=this.options.memoize&&n+"."+r+"."+i.replace(/\./g,"###");!p&&t.thirdParamFallback&&t.fallbackText&&(e=t.fallbackText),this.options.memoize&&(d=function(e,t){var n=s(e,t),r=n.obj,i=n.k;if(r)return r[i]}(this.mem,h));try{if(!d&&(d=new this.IntlMessageFormat(e,n,this.formats,(this.options.icuConfig||{}).formatOptions),this.options.memoize&&(this.options.memoizeFallback||!o||p))){;a=this.mem,l=h,u=d,(c=s(a,l,Object)).obj[c.k]=u}return d.format(this.checkMissingInterpolation(d.getAst(),e,t||{},n,i))}catch(t){return e}},e.prototype.addLookupKeys=function(e,t,n,r,i){return e},e.prototype.clearCache=function(){this.mem={}},e.type="i18nFormat",e._i18nextInstance=null,e}();u.name},92102:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=/^\s*\[\[__starling_(\d+)_(.*)__\]\]\s*$/;"undefined"!=typeof window&&(window.__STARLING_INCONTEXT_GLOBAL__HOOK__=r({},window.__STARLING_INCONTEXT_GLOBAL__HOOK__||{payload:{}}));var o={name:"inContext",type:"postProcessor",process:function(e,t,n,r){if(!(window&&document.getElementById("INCONTEXT-KEY-MATCH"))||n.__STARLING_INCONTEXT_FLAG__)return e;!window.__STARLING_INCONTEXT_GLOBAL_I18N__&&(window.__STARLING_INCONTEXT_GLOBAL_I18N__=r),delete n.keySeparator,delete n.lngs;var o=0;if(t=t.toString(),i.test(t)){var a=t.match(i);a[0];var s=a[1],l=a[2];o=s,t=l}if(i.test(e)){var a=e.match(i);a[0];var s=a[1],l=a[2];e=l}if(window.__STARLING_INCONTEXT_GLOBAL__HOOK__.payload[t]){var u=window.__STARLING_INCONTEXT_GLOBAL__HOOK__.payload[t].findIndex(function(e){return JSON.stringify(e.options)===JSON.stringify(n)});u>-1?(window.__STARLING_INCONTEXT_GLOBAL__HOOK__.payload[t][u].default=e,o=u):o=window.__STARLING_INCONTEXT_GLOBAL__HOOK__.payload[t].push({options:n,default:e})-1}else window.__STARLING_INCONTEXT_GLOBAL__HOOK__.payload[t]=[{options:n,default:e}],o=0;return"[[__starling_"+o+"_"+t+"__]]"}}},6500:function(e,t,n){"use strict";n.d(t,{oc:function(){return I}});var r,i,o=n("81246"),a=n("54709"),s=n("92102");function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}for(var f=["AFN","EUR","ALL","DZD","USD","AOA","XCD","ARS","AMD","AWG","AUD","AZN","BSD","BHD","BDT","BBD","BYN","BZD","XOF","BMD","INR","BTN","BOB","BOV","BAM","BWP","NOK","BRL","BND","BGN","BIF","CVE","KHR","XAF","CAD","KYD","CLP","CLF","CNY","COP","COU","KMF","CDF","NZD","CRC","HRK","CUP","CUC","ANG","CZK","DKK","DJF","DOP","EGP","SVC","ERN","ETB","FKP","FJD","XPF","GMD","GEL","GHS","GIP","GTQ","GBP","GNF","GYD","HTG","HNL","HKD","HUF","ISK","IDR","XDR","IRR","IQD","ILS","JMD","JPY","JOD","KZT","KES","KPW","KRW","KWD","KGS","LAK","LBP","LSL","ZAR","LRD","LYD","CHF","MOP","MKD","MGA","MWK","MYR","MVR","MRO","MUR","XUA","MXN","MXV","MDL","MNT","MAD","MZN","MMK","NAD","NPR","NIO","NGN","OMR","PKR","PAB","PGK","PYG","PEN","PHP","PLN","QAR","RON","RUB","RWF","SHP","WST","STD","SAR","RSD","SCR","SLL","SGD","XSU","SBD","SOS","SSP","LKR","SDG","SRD","SZL","SEK","CHE","CHW","SYP","TWD","TJS","TZS","THB","TOP","TTD","TND","TRY","TMT","UGX","UAH","AED","USN","UYU","UYI","UZS","VUV","VEF","VND","YER","ZMW","ZWL","XBA","XBB","XBC","XBD","XTS","XXX","XAU","XPD","XPT","XAG"],g={},m=0;m<f.length;m++)g[f[m]]={style:"currency",currency:f[m]};var _={number:g},v="languageTransformer";function b(e){return function(t){return t.type===e}}function y(e,t){var n=e;return(t||[]).map(function(t){n=t.process(e)||n}),n}var w={lng:"zh-CN",fallbackLng:["en-US"],inContext:!0},S=[a.ZP,s.Z],A=function(){function e(t,n){var r=this;l(this,e),this._waitingToAddResourceBundle=[],this.t=function(e,t,n){var i=Array.isArray(e)?Array.from(e).map(function(){return" "}).join(""):Array(e.length).fill(" "),o=Object.assign({keySeparator:i,nsSeparator:i},t);return"thirdParamFallback"in r.config&&r.config.thirdParamFallback&&(o.thirdParamFallback=!0),r.instance.t(e,n,o)},this._handlePlugins(n),this._handleConfigs(t),this.instance=o.Z.createInstance(),this.instance.isInitialized=!1}return c(e,[{key:"_handlePlugins",value:function(e){var t,n;(null===(t=this.config)||void 0===t?void 0:null===(n=t.icuConfig)||void 0===n?void 0:n.open)===!1&&S.shift(),this.plugins=Array.isArray(e)?e.concat(S):S}},{key:"_handleConfigs",value:function(e){this.userLng=(null==e?void 0:e.lng)||null,this.config=Object.assign({},w,e||{})}},{key:"language",get:function(){return(this.instance||{}).language}},{key:"createInstance",value:function(){var e=this;return new Promise(function(t,n){"undefined"!=typeof window&&!window.CocosEngine&&e.config.inContext&&(e.config.postProcess=[].concat(["inContext"],e.config.postProcess||[]),window.__STARLING_DEVTOOLS_I18N=e.instance),e.plugins.map(function(t){"IES_INTL_ICU_PLUGIN"===t.name&&t.staticInit(e.instance),e.instance.use(t)});var r=e.config;e.config.formats=Object.assign({},e.config.formats,_);var i=y(r.lng,e.plugins.filter(b(v)));e.instance.init(Object.assign({},r,{lng:i,i18nFormat:{formats:e.config.formats}}),function(r,i){try{var o,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{!a&&null!=n.return&&n.return()}finally{if(s)throw o}}}}(e._waitingToAddResourceBundle);try{for(a.s();!(o=a.n()).done;){var s,l=o.value;(s=e.instance).addResourceBundle.apply(s,d(l))}}catch(e){a.e(e)}finally{a.f()}e._waitingToAddResourceBundle=[]}catch(e){}!r&&(e._updateLanguages(),t({t:i,err:r})),e.init=!0,n({t:i,err:r})})})}},{key:"_updateLanguages",value:function(){this.languages=this.instance?Array.from(new Set([this.instance.language].concat(d(this.instance.languages)))):null}},{key:"getLanguages",value:function(){return this.languages}},{key:"changeLanguage",value:function(e,t){var n=this;this.config.lng=e,this.instance.changeLanguage(e,function(e,r){!e&&n._updateLanguages(),t&&t(e,r)})}},{key:"changeLanguageWithPromise",value:function(e){var t=this;return new Promise(function(n,r){t.config.lng=e,t.instance.changeLanguage(e,function(e,i){e&&r({err:e,t:i}),t._updateLanguages(),n({err:e,t:i})})})}},{key:"getDir",value:function(e){return this.instance.dir(e)}},{key:"addResourceBundle",value:function(e,t,n,r,i){return this.instance.isInitialized?this.instance.addResourceBundle(e,t,n,r,i):(this._waitingToAddResourceBundle.push([e,t,n,!!r,!!i]),this.instance)}}]),e}(),T="Starling_intl:",x={warn:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).warn.apply(e,["".concat(T," [WARNING]")].concat(n))},error:function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).error.apply(e,["".concat(T," [ERROR]")].concat(n))}};function k(e,t,n){return n?t?t(e):e:((!e||!e.then)&&(e=Promise.resolve(e)),t?e.then(t):e)}function M(){}function P(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}(r=i||(i={})).intl3rdParty="intl3rdParty",r.backend="backend",r.logger="logger",r.languageDetector="languageDetector",r.postProcessor="postProcessor",r.i18nFormat="i18nFormat",r["3rdParty"]="3rdParty";var I=new(function(){function e(){var t=this;l(this,e),this.t=function(e,n,r){return t.ignoreWarning||t.i18nInstance&&t.i18nInstance.init?e&&("string"!=typeof e||e.trim())?t.i18nInstance.t(e,n,r):"":(x.error("The instance has not been initialized: i18n.t('".concat(e,"'").concat(n?","+JSON.stringify(n):"",");")),null!=r?r:Array.isArray(e)?e[0]:e)},this.plugins=[],this.i18nInstance=new A}return c(e,[{key:"use",value:function(e){return this.plugins.includes(e)?(x.warn("Plugin: ".concat(e.name," has beeninit installed.")),this):(this.plugins.push(e),this)}},{key:"init",value:function(e,t){try{var n=this;return n.ignoreWarning=e.ignoreWarning,n.i18nInstance._handleConfigs(e),n.i18nInstance._handlePlugins(n.plugins),k(function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(function(){return k(n.i18nInstance.createInstance(),function(e){var r,o=e.err,a=e.t,s=n.plugins.filter(function(e){return e.type===i.intl3rdParty});return k((r=s.map(P(function(e){if(e&&"function"==typeof e.init){var t=e.init instanceof Promise?e.init:P(function(t){return Promise.resolve(e.init(t))});return function(e,t){return e&&e.then?e.then(M):Promise.resolve()}(t(n))}})),new Promise(function(e,t){if(!Array.isArray(r)&&(r=Array.from(r)),r.length<=0)return e([]);var n=[];(r=r.map(function(i,o){return function(){("function"==typeof i?new Promise(i):Promise.resolve(i)).then(function(t){n[o]=t,o===r.length-1?e(n):r[o+1]()},t)}}))[0]()})),function(){return"function"==typeof t&&t(o,a),{err:o,t:a}})})},function(e){return x.error("The instance init error: ".concat(e)),{err:e,t:function(e){return e}}}))}catch(e){return Promise.reject(e)}}},{key:"language",get:function(){return(this.i18nInstance||{}).language}},{key:"setLang",value:function(e,t){var n=y(e,this.plugins.filter(b(v)));this.i18nInstance.changeLanguage(n,t)}},{key:"getLanguages",value:function(){return this.i18nInstance.getLanguages()}},{key:"setLangWithPromise",value:function(e){var t=y(e,this.plugins.filter(b(v)));return this.i18nInstance.changeLanguageWithPromise(t)}},{key:"dir",value:function(e){return this.i18nInstance.getDir(e)}},{key:"addResourceBundle",value:function(e,t,n,r,i){return this.i18nInstance.addResourceBundle(e,t,n,r,i)}}]),e}())},60508:function(e,t,n){"use strict";var r=n("1347"),i=n("55120"),o=n("54303"),a=n("11532"),s=n("32408"),l=n("88252"),u=n.n(l),c=n("2317"),d=n("31740");function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.Z=function(e){var t=e.name,n=e.version,r=e.query,l=void 0===r?{externals:c.HJ,min:!0,unpkg:!1}:r,p=e.componentName,f=e.url,g=e.props,m=e.loading,_=(e.isQueryVersion,e.onLoaded),v=e.onError,b=e._key;e.isTTP;var y=(0,a.useState)(null),w=(0,o.Z)(y,2),S=w[0],A=w[1],T=(0,a.useState)(""),x=(0,o.Z)(T,2),k=x[0],M=x[1],P=(0,a.useMemo)(function(){if(!m)return function(){return(0,d.jsx)(d.Fragment,{})};if("function"==typeof m)return m;if("object"===(0,i.Z)(m))return m.render?m:function(){return m}},[m]);return(0,a.useEffect)(function(){if(f){M(f);return}var e,n,r,i,o=!!(u().parse(location.search.substring(1))||{}).__force__;if("undefined"!=typeof window&&!o&&null!==(e=window)&&void 0!==e&&null!==(n=e.gfdatav1)&&void 0!==n&&null!==(r=n.microComponents)&&void 0!==r&&null!==(i=r[t])&&void 0!==i&&i.cdnUrl){M(window.gfdatav1.microComponents[t].cdnUrl);return}},[f,t,n,JSON.stringify(l)]),(0,a.useEffect)(function(){!S&&k&&(0,s.$y)((0,c.sR)(k),{version:n}).then(function(e){var t,n=null;n=p?(null===(t=e[p])||void 0===t?void 0:t.default)||e[p]:(null==e?void 0:e.default)||e;var r=function(e){return(0,a.useEffect)(function(){_&&_()},[]),(0,d.jsx)(n,h({},e))};A(function(){return r})}).catch(function(e){console.error("some error happened in micro component loading ".concat(t,"@").concat(n,": "),e),v&&v(e)})}),S?(0,d.jsx)(S,h({},g),b):(0,d.jsx)(P,{})}},2317:function(e,t,n){"use strict";n.d(t,{HJ:function(){return r},sR:function(){return i}}),n("97196");var r=["react","react-dom"],i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.startsWith("//")?e:"//"+e.split("//")[1]}},57064:function(e,t,n){"use strict";var r,i,o,a;n.d(t,{C:function(){return i},K:function(){return r}}),(o=r||(r={})).ViewManagerDir="viewManagerDir",o.ViewManagerPage="viewManagerPage",(a=i||(i={})).Boolean="boolean",a.Enum="enum",a.Number="number",a.String="string",a.Text="text",a.Date="date",a.DateRange="daterange",a.Time="time",a.TimeRange="timerange",a.Api="api",a.Code="code",a.Json="json",a.RichText="richtext",a.Color="color",a.GradientColor="gradient-color",a.Image="image",a.ImageGlobal="image-global",a.ImageGecko="image-gecko",a.File="file",a.Range="range",a.Transfer="transfer",a.Object="object",a.Array="array",a.ArrayObject="array-object",a.ArrayString="array-string",a.Tree="tree",a.TextBox="text-box",a.Grid="grid",a.Group="group",a.Tab="tab",a.TabPane="tabpane",a.Slot="slot",a.Action="action",a.Data="data",a.CMS="cms",a.Radio="radio",a.RadioButton="radio-button",a.Textarea="textarea",a.Slider="slider",a.ImageHotSpot="image-hot-spot",a.Style="style",a.CSSLength="css-length",a.ClassName="className",a.Material="material",a.Regular="regular",a.TimeFormatter="time-formatter",a.StyleFont="style-font",a.StyleBorder="style-border",a.StyleSpacing="style-spacing",a.StyleSize="style-size",a.LessCodeEditor="less-code-editor",a.CompClassName="class-name-select",a.ClassNameLess="class-name-less",a.freeCanvasChildConfig="free-canvas-child-config",a.freeCanvasContainerConfig="free-canvas-container-config",a.FontFamily="font-family",a.ApiVar="api-var",a.ApiFieldTreeSelect="api-field-tree-select"},70669:function(e,t,n){"use strict";n.d(t,{j:function(){return c}});var r=n("31740"),i=n("11532"),o=n("6578"),a=n("53198"),s=n("22224");function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function u(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}let c=e=>t=>{let n=l({},t.defaultProps,e),c=new Set(Object.keys(e||{}).filter(e=>((0,o.z)(e)||"children"===e)&&"function"==typeof n[e]||i.isValidElement(n[e]))),d=(0,i.forwardRef)((e,n)=>{var{_REACT_CHILDREN_:o,_REACT_REF_:d,blockId:p}=e,h=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}(e,["_REACT_CHILDREN_","_REACT_REF_","blockId"]);let f=u(l({},h),{children:o||h.children}),g=Object.keys(f||{}).reduce((e,t)=>{let n=f[t];return c.has(t)?e[t]=(0,a.P)({Content:n,prop:t,blockId:p,$api:f.$api}):e[t]=n,e},{}),m=(0,i.useContext)(s.rF);return(0,r.jsx)(s.jO.Provider,{value:{blockId:p,get slotContentLength(){var _;return new Proxy((null===(_=m.meta[p])||void 0===_?void 0:_.slotContentLength)||{},{get:(e,t)=>"number"==typeof e[t]?e[t]:0})}},children:(0,r.jsx)(t,u(l({},g),{ref:d||n}))})});return d.displayName=`FesCommonHoc(${t.displayName||t.name||"unknown"})`,d.__isBlock__=!0,d.__editor_callback__=null,d.__defaultProps__=n,d.defaultProps=n,d}},27238:function(e,t,n){"use strict";n.d(t,{J:function(){return r},j:function(){return i}});let r=(e,t)=>{let n=t;return"function"!=typeof t&&(console.warn(Error("createEditor 绗簩涓弬鏁板繀椤绘帴鍙椾竴涓洖璋冨嚱鏁, 鐢变簬鎺ユ敹浜嗛敊璇殑鍙傛暟锛岀紪杈戝姛鑳藉彲鑳戒笉鍙敤!")),n=null),Object.assign(e,{__editor_callback__:n}),e},i=e=>"function"==typeof e.__editor_callback__||!1},18586:function(e,t,n){"use strict";n.d(t,{U:function(){return i},s:function(){return o}});let r="undefined"!=typeof window?window:null,i=()=>!!r&&r.__IS_FES_EDITOR__,o=()=>!!r&&r.__IS_NCLC_RUNTIME__},22224:function(e,t,n){"use strict";n.d(t,{Mm:function(){return u},Xl:function(){return s},j1:function(){return l},jO:function(){return o},rF:function(){return a}});var r=n("11532"),i=n("71505");let o=(0,r.createContext)({blockId:"",slotContentLength:{}}),a=(0,r.createContext)({meta:{}}),s=(0,i.LO)({state:{},setGlobalState(e,t,n){if(!this.state[e]){this.state[e]=(0,i.LO)({[t]:n},{},{deep:!1});return}this.state[e][t]!==n&&(this.state[e][t]=n)}},{state:i.LO.shallow},{autoBind:!0}),l=({default:e,key:t})=>{let[n,i]=(0,r.useState)(e),{blockId:a}=(0,r.useContext)(o);return(0,r.useEffect)(()=>{var n,r,o,l;Object.hasOwn(null!==(r=null===(n=s.state)||void 0===n?void 0:n[a])&&void 0!==r?r:{},t)?i(null===(l=s.state)||void 0===l?void 0:null===(o=l[a])||void 0===o?void 0:o[t]):s.setGlobalState(a,t,e)},[]),[n,(0,r.useCallback)(e=>{s.setGlobalState(a,t,e),i(e)},[])]},u=()=>(0,r.useContext)(o)},88663:function(e,t,n){"use strict";n.r(t),n.d(t,{ControlType:function(){return a.C},CustomMetaPosition:function(){return a.K},PageMetaContext:function(){return u.rF},RuntimeContext:function(){return u.jO},Types:function(){return s.Yk},componentStateModel:function(){return u.Xl},createBlock:function(){return i.j},createEditor:function(){return r.J},getIsInFesEditor:function(){return l.U},getIsInNclcRuntime:function(){return l.s},isArray:function(){return s.kJ},isBoolean:function(){return s.jn},isCustomizable:function(){return s.VF},isEditable:function(){return r.j},isEmptySlot:function(){return o.q},isFunction:function(){return s.mf},isNumber:function(){return s.hj},isObject:function(){return s.Kn},isRenderPropsType:function(){return s.Te},isString:function(){return s.HD},isType:function(){return s.P9},isWorkspace:function(){return s.MF},useGlobalState:function(){return u.j1},useRuntimeContext:function(){return u.Mm}});var r=n("27238"),i=n("70669"),o=n("53198"),a=n("57064"),s=n("51348"),l=n("18586"),u=n("22224")},6578:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});let r=e=>{if(e.length){let t=e[0].charCodeAt(0);return 65<=t&&t<=90}return!1}},53198:function(e,t,n){"use strict";n.d(t,{P:function(){return p},q:function(){return d}});var r=n("51348"),i=n("60048"),o=n("71505");function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}function s(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}let l=e=>"function"==typeof(null==e?void 0:e.getOrigin),u=(e,t)=>{let n=[],r=(e,i,o,l)=>{var u,c,d,p;if(e){if("element"===e.type){if(e.content.slot)null===(u=e.content.children)||void 0===u||u.forEach(e=>{r(e,i,o,l)});else{n.push(t({uidl:e.content,parentId:i,slotName:o,workspaceItem:l}));let u=s(a({},e.content.props),{children:(null===(c=e.content.props)||void 0===c?void 0:c.children)||e.content.children});Object.keys(u).forEach(t=>{Array.isArray(u[t])&&u[t].forEach(e=>r(e,i,o,l)),r(u[t],e.content.id,t)})}}else if("element-array"===e.type)e.content.items.forEach(e=>{r(e,i,o,l)});else if("element-object"===e.type){let t=e.content;((null===(p=e.content.content)||void 0===p?void 0:null===(d=p.content)||void 0===d?void 0:d.children)||[]).forEach(e=>{r(e,i,o,t)})}}};return r("node"in(e||{})?e.node:e,"","",void 0),n},c=(0,i.Z)(e=>(0,o.Fl)(()=>{let t={};return u(e,({parentId:e,slotName:n,workspaceItem:r})=>{e&&(t[`${e}--${n}`]=!0,r&&(t[`${e}--${n}--${r.key}`]=!0))}),t},{keepAlive:!0})),d=(e,t)=>{if(l(e)){if(e.$api){var n,r;let t=null===(r=e.$api)||void 0===r?void 0:null===(n=r.ctx)||void 0===n?void 0:n.app;if(t)return!c(t.get("uidl")).get()[e.__fes_name__]}let i=e.getOrigin(t);return Array.isArray(i)&&0===i.length}return!!Array.isArray(e)&&0===e.length},p=({prop:e,Content:t,blockId:n,$api:i})=>{let o=(0,r.Te)(t),l=(l,u)=>{if(!o)return t;"function"==typeof l&&(u=l,l={});let c=t(l);if((0,r.MF)(c)){var p;return null===(p=u)||void 0===p?void 0:p(c.map(t=>s(a({},t),{content:Object.assign(t.content,{getOrigin:e=>i?d(t.content,e)?[]:[1]:t.content(e),__fes_name__:`${n}--${e}--${t.key}`,$api:i})})))}return c};return l.getOrigin=e=>"function"==typeof t?t(e):t,l.__fes_name__=`${n}--${e}`,l.$api=i,l}},51348:function(e,t,n){"use strict";var r,i;n.d(t,{HD:function(){return s},Kn:function(){return d},MF:function(){return h},P9:function(){return a},Te:function(){return g},VF:function(){return f},Yk:function(){return r},hj:function(){return u},jn:function(){return l},kJ:function(){return c},mf:function(){return p}}),(i=r||(r={})).String="String",i.Number="Number",i.Array="Array",i.Object="Object",i.Function="Function",i.AsyncFunction="AsyncFunction",i.Undefined="Undefined",i.Boolean="Boolean";let o=Object.prototype.toString,a=e=>t=>o.call(t)===`[object ${e}]`,s=a(r.String),l=a(r.Boolean),u=a(r.Number),c=a(r.Array),d=a(r.Object),p=e=>"function"==typeof e,h=e=>Array.isArray(e)&&e[0]&&e[0].key&&e[0].content,f=e=>Array.isArray(e),g=e=>a(r.AsyncFunction)(e)||a(r.Function)(e)},78566:function(e,t){var n,r;n=this,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,l=e.map([t,n],function(t){var n=a-e.getVersionPrecision(t),r=t+Array(n+1).join(".0");return e.map(r.split("."),function(e){return Array(20-e.length).join("0")+e}).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]<l[1][a])return -1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.find=function(e,t){var n,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,r=e.length;n<r;n+=1){var i=e[n];if(t(i,n))return i}},e.assign=function(e){for(var t,n,r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));for(t=0,n=i.length;t<n;t+=1)(function(){var n=i[t];"object"==typeof n&&null!==n&&Object.keys(n).forEach(function(t){e[t]=n[t]})})();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=i,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18),a=function(){var e;function t(){}return t.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw Error("UserAgent should be a string");return new i.default(e,t)},t.parse=function(e){return new i.default(e).getResult()},e=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(92)),i=l(n(93)),o=l(n(94)),a=l(n(95)),s=l(n(17));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=s.default.find(r.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=s.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=s.default.find(a.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return s.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,i={},o=0;if(Object.keys(e).forEach(function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"==typeof a&&(n[t]=a,r+=1)}),r>0){var a=Object.keys(n),l=s.default.find(a,function(e){return t.isOS(e)});if(l){var u=this.satisfies(n[l]);if(void 0!==u)return u}var c=s.default.find(a,function(e){return t.isPlatform(e)});if(c){var d=this.satisfies(n[c]);if(void 0!==d)return d}}if(o>0){var p=Object.keys(i),h=s.default.find(p,function(e){return t.isBrowser(e,!0)});if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=u,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},"object"==typeof t?e.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof t?t.bowser=r():n.bowser=r()},16028:function(e,t,n){"use strict";var r=n("2477"),i=n("22903"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},22903:function(e,t,n){"use strict";var r=n("13017"),i=n("2477"),o=n("94262"),a=n("20172"),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||r.call(l,s),c=n("56443"),d=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(r,l,arguments);return o(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return u(r,s,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},5761:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},560:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3){for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=")}return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}},e.exports=n},16110:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,".fa89aed56023993ab135 {\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n overflow: hidden;\n width: 100%;\n min-width: 282px;\n max-width: 546px;\n}\n",""]),a.locals={"card-content":"fa89aed56023993ab135",cardContent:"fa89aed56023993ab135"},t.Z=a},27896:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,".efa8c49d8ce1a57573bf {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: rgba(28, 31, 35, 0.8);\n border-radius: 6px;\n cursor: pointer;\n}\n.efa8c49d8ce1a57573bf:hover {\n background: #EEE;\n}\n.efa8c49d8ce1a57573bf.b4bb20ec398c0df2e385 {\n color: #FFF;\n}\n.efa8c49d8ce1a57573bf.b4bb20ec398c0df2e385:hover {\n background: none;\n}\n@keyframes ed0d5bf380ecceb8b588 {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(1turn);\n }\n}\n.c3d3f5696d407308e614 {\n animation: ed0d5bf380ecceb8b588 0.6s linear infinite;\n animation-fill-mode: forwards;\n}\n",""]),a.locals={close:"efa8c49d8ce1a57573bf",light:"b4bb20ec398c0df2e385",spin:"c3d3f5696d407308e614","animation-rotate":"ed0d5bf380ecceb8b588",animationRotate:"ed0d5bf380ecceb8b588"},t.Z=a},56552:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,".ab1ac9d9bab12da47298 {\n position: fixed;\n bottom: 30px;\n right: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 56px;\n width: 56px;\n cursor: pointer;\n z-index: var(--coze-z-index-iframe);\n transition: transform 0.3s ease;\n}\n.ab1ac9d9bab12da47298:hover {\n transform: scale(1.16);\n}\n.ab1ac9d9bab12da47298:active {\n transform: scale(1.08);\n}\n.ab1ac9d9bab12da47298 > img {\n width: 100%;\n height: 100%;\n}\n.ab1ac9d9bab12da47298 > svg {\n width: 100%;\n height: 100%;\n}\n.ab1ac9d9bab12da47298.bc81871a44ea566dd738 {\n bottom: 24px;\n right: 24px;\n height: 40px;\n width: 40px;\n}\n.ab1ac9d9bab12da47298.bc81871a44ea566dd738:active {\n transform: scale(1.08);\n}\n.fa8097ff55eabaa5782b {\n position: fixed;\n z-index: calc(var(--coze-z-index-iframe) + 1);\n background-color: #fff;\n}\n.fa8097ff55eabaa5782b:not(.bc81871a44ea566dd738) {\n height: calc(100% - 40px);\n min-height: 400px;\n max-height: 1200px;\n bottom: 20px;\n right: 20px;\n border-radius: 8px;\n box-shadow: 0 6px 8px 0 rgba(29, 28, 35, 0.06), 0 0 2px 0 rgba(29, 28, 35, 0.18);\n}\n.fa8097ff55eabaa5782b .a12e8f715cb825a78f83 {\n position: absolute;\n top: 200px;\n left: 50%;\n transform: translateX(-50%);\n}\n.fa8097ff55eabaa5782b .e4f8c2c1d9d493c0cfdb {\n position: absolute;\n right: 16px;\n top: 12px;\n width: 32px;\n height: 32px;\n z-index: 1000;\n}\n.fa8097ff55eabaa5782b .c7e0b859321bb5c351a9 {\n width: 32px;\n height: 32px;\n}\n.fa8097ff55eabaa5782b .b47a01a7e24cbec6131b {\n width: 100%;\n height: 100%;\n background: #fff;\n border: none;\n border-radius: 8px;\n overflow: hidden;\n}\n.fa8097ff55eabaa5782b.bc81871a44ea566dd738 {\n inset: 0;\n}\n.fa8097ff55eabaa5782b.bc81871a44ea566dd738 .e4f8c2c1d9d493c0cfdb {\n right: 12px;\n top: 24px;\n}\n.fa8097ff55eabaa5782b.bc81871a44ea566dd738 .b47a01a7e24cbec6131b {\n border-radius: 0;\n}\n.fa8097ff55eabaa5782b.d38f97c01009afb17492 {\n position: relative;\n width: 100%;\n height: 100%;\n right: 0;\n bottom: 0;\n min-height: auto;\n max-height: auto;\n}\n",""]),a.locals={"coze-ast-btn":"ab1ac9d9bab12da47298",cozeAstBtn:"ab1ac9d9bab12da47298",mobile:"bc81871a44ea566dd738","iframe-wrapper":"fa8097ff55eabaa5782b",iframeWrapper:"fa8097ff55eabaa5782b",loading:"a12e8f715cb825a78f83","close-btn":"e4f8c2c1d9d493c0cfdb",closeBtn:"e4f8c2c1d9d493c0cfdb","extra-close":"c7e0b859321bb5c351a9",extraClose:"c7e0b859321bb5c351a9","coze-iframe":"b47a01a7e24cbec6131b",cozeIframe:"b47a01a7e24cbec6131b","auto-fix-container":"d38f97c01009afb17492",autoFixContainer:"d38f97c01009afb17492"},t.Z=a},66088:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o),s=n("85675"),l=n.n(s),u=new URL(n("22109"),n.b),c=new URL(n("67405"),n.b),d=new URL(n("62122"),n.b),p=new URL(n("8810"),n.b),h=new URL(n("29999"),n.b),f=new URL(n("73092"),n.b),g=new URL(n("39761"),n.b),m=new URL(n("94493"),n.b),_=new URL(n("47464"),n.b),v=new URL(n("96656"),n.b),b=a()(i()),y=l()(u),w=l()(c),S=l()(d),A=l()(p),T=l()(h),x=l()(f),k=l()(g),M=l()(m),P=l()(_),I=l()(v);b.push([e.id,'.index-module__break___V44S_{height:0;width:0}.index-module__text___ikOpp.index-module__important___MBOGO{display:inline;position:relative;text-decoration:inherit}.index-module__strong___oVHn7{display:inline;font-weight:var(--md-stream-font-weight-strong,700)}.index-module__link___gK03x{color:var(--md-stream-a-color,#4e40e5);cursor:pointer;display:inline;text-decoration:inherit}.index-module__link___gK03x.index-module__invalid___xccgD{color:var(--md-stream-text-color,#222);cursor:default}.index-module__inline-code___w2RwE{background-color:rgba(0,0,0,.06);border-radius:4px;padding:0 4px}@-webkit-keyframes index-module__indicator-frame___C1I8a{0%{background-color:#fff}50%{background-color:currentColor}100%{background-color:#fff}}@keyframes index-module__indicator-frame___C1I8a{0%{background-color:#fff}50%{background-color:currentColor}100%{background-color:#fff}}.index-module__indicator___4Ksm1{display:inline-block;line-height:var(--md-stream-line-height-default,22px);position:relative;white-space:pre-wrap;width:18px}.index-module__indicator___4Ksm1:before{-webkit-animation:index-module__indicator-frame___C1I8a .8s infinite alternate;animation:index-module__indicator-frame___C1I8a .8s infinite alternate;-webkit-animation-timing-function:ease;animation-timing-function:ease;border-radius:50%;content:"";height:6px;left:0;margin-left:5px;margin-top:-3px;position:absolute;top:50%;width:6px}.index-module__indicator___4Ksm1::after{content:" ";display:inline-block}.index-module__image___etUul{background-color:var(--md-stream-img-bg-color,rgba(0,0,0,.15));border-radius:12px;display:block;margin:8px 0;max-height:200px;max-width:min(100%,400px);min-height:48px;min-width:48px;text-decoration:inherit}.index-module__image___etUul img{-o-object-fit:cover;object-fit:cover}.index-module__image___etUul.index-module__image-error___SBhMy{background-image:url('+y+');background-position:50%;background-repeat:no-repeat;background-size:auto}.index-module__emphasis___M3dc2{display:inline;font-style:italic;text-decoration:inherit}.index-module__delete___i2va_{display:inline;position:relative;text-decoration:line-through}.index-module__break___SsSEr{border-bottom:1px solid rgba(28,31,35,.08);height:0;margin:8px 0;width:100%}.index-module__table-wrapper___mlo5x{border:1px solid var(--md-stream-border-color,#d0d7de);border-radius:12px;-webkit-box-sizing:border-box;box-sizing:border-box;max-height:1000px;max-width:100%;overflow-x:auto;overflow:auto;scrollbar-width:thin!important;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.index-module__table___NiIpq{display:table;overflow:hidden;width:-webkit-max-content;width:-moz-max-content;width:max-content}.index-module__table___NiIpq .index-module__table-row___xcdwq{display:table-row}.index-module__table___NiIpq .index-module__table-row___xcdwq .index-module__table-cell___h5XXF{border-top:1px solid var(--md-stream-border-color,#d0d7de);display:table-cell;padding:12px 18px}.index-module__table___NiIpq .index-module__table-header___laEZx{background:var(--md-stream-table-bg-color,#f2f2f2);font-weight:500}.index-module__table___NiIpq .index-module__table-header___laEZx .index-module__table-cell___h5XXF{border:none;max-width:480px}.index-module__spacing___YhX7p{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;overflow:hidden}.index-module__spacing___YhX7p.index-module__horizontal-center___g61bc{-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.index-module__container___FFAkF{position:relative}.index-module__disabled___gYJ9M{opacity:.5}.index-module__disabled___gYJ9M::after{background:transparent;content:" ";cursor:not-allowed;height:100%;left:0;position:absolute;top:0;width:100%;z-index:10}.index-module__radio___SbFRY{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;border:1px solid var(---chat-app-select-border-color,rgba(68,83,130,.25));border-radius:32px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;height:16px;-webkit-box-pack:center;justify-content:center;margin-top:3px;width:16px}.index-module__radio___SbFRY.index-module__checked___j8pq8{background:#0a66d6;border:none}.index-module__radio___SbFRY.index-module__checked___j8pq8 .index-module__checked-circle___EoZq2{background-color:#fff;border-radius:16px;display:block;height:7px;width:7px}.index-module__radio___SbFRY .index-module__checked-circle___EoZq2{display:none}.index-module__svg___aht22{height:16px;width:16px}.index-module__wrapper___UmqID{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.index-module__circle___EAQoe{border-radius:100px;-webkit-box-shadow:inset 0 0 0 1.5px var(----chat-font-color-hglt,rgba(6,7,9,.8));box-shadow:inset 0 0 0 1.5px var(----chat-font-color-hglt,rgba(6,7,9,.8))}.index-module__checkbox___SPIRR{border:1px solid var(--chat-app-select-border-color,rgba(68,83,130,.25));border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;height:16px;margin-top:3px;width:16px}.index-module__checkbox___SPIRR.index-module__checked___PpIM1{background:#0a66d6;border:none}.index-module__wrapper___ZoVnN{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;position:relative;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.index-module__list___XmgwV{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;gap:8px}.index-module__list-item___uZ7mo .index-module__dot___tRGPF{background-color:currentColor;border-radius:8px;height:4px;width:4px}.index-module__list-item___uZ7mo.index-module__order-list___vT66X{-webkit-justify-content:flex-end;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.index-module__task-item___M9Z54{background-color:var(--md-stream-task-bg-color-default,#fcfcff);border-radius:6px;cursor:pointer;padding:8px 10px}.index-module__task-item___M9Z54:hover{background-color:var(--md-stream-task-bg-color-hover,rgba(87,104,161,.08))}.index-module__task-item___M9Z54:active{background-color:var(--md-stream-task-bg-color-hover,rgba(82,100,154,.13))}.index-module__heading-1___JtmiA{font-size:var(--md-stream-font-size-h1,18px);font-weight:var(--md-stream-font-weight-h1,600);line-height:var(--md-stream-line-height-h1,24px);margin-top:var(--md-stream-margin-top-h1,12px)}.index-module__heading-2___cZc1_{font-size:var(--md-stream-font-size-h2,16px);font-weight:var(--md-stream-font-weight-h2,600);line-height:var(--md-stream-line-height-h2,24px);margin-top:var(--md-stream-margin-top-h2,12px)}.index-module__heading-3___i_MfG{font-size:var(--md-stream-font-size-h3,14px);font-weight:var(--md-stream-font-weight-h3,600);line-height:var(--md-stream-line-height-h3,24px);margin-top:var(--md-stream-margin-top-h3,12px)}.index-module__code-container___oH4Nm .index-module__header___tuk1Q{display:none}.index-module__code-container___oH4Nm.index-module__code___yuytR{border-radius:12px;overflow:hidden;padding:0}.index-module__code-container___oH4Nm.index-module__code___yuytR .index-module__header___tuk1Q{-webkit-align-items:center;background-color:var(--md-stream-code-header-bg-color,#2e343e);color:var(--md-stream-code-header-font-color,hsla(0,0%,100%,.55));display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;line-height:24px;padding:6px 24px;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.index-module__code-container___oH4Nm.index-module__code___yuytR .index-module__header___tuk1Q .index-module__lang___XBHYB{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1}.index-module__code-container___oH4Nm.index-module__code___yuytR .index-module__header___tuk1Q .index-module__copy___utkxU{cursor:pointer}.index-module__code-container___oH4Nm.index-module__code___yuytR .index-module__content___xhdDD{background-color:var(--md-stream-code-content-bg-color,#171717);color:var(--md-stream-code-content-font-color,#fff);line-height:20px;overflow-x:auto;padding:12px 16px 16px;scrollbar-width:thin!important}.index-module__code-container___oH4Nm.index-module__code___yuytR .index-module__content___xhdDD .index-module__text___OLoKB{white-space:pre}.index-module__blockquote___opsoc{border-left:4px solid var(--md-stream-blockquote-line-color,#d0d7de);color:var(--md-stream-blockquote-color,#57606a);display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;gap:8px;padding:0 14px}.md-stream{--md-stream-font-size-h1:18px;--md-stream-line-height-h1:24px;--md-stream-font-weight-h1:600;--md-stream-margin-top-h1:4px;--md-stream-font-size-h2:16px;--md-stream-line-height-h2:24px;--md-stream-font-weight-h2:600;--md-stream-margin-top-h2:4px;--md-stream-font-size-h3:14px;--md-stream-line-height-h3:24px;--md-stream-font-weight-h3:600;--md-stream-margin-top-h3:4px;--md-stream-font-size-default:14px;--md-stream-line-height-default:22px;--md-stream-font-weight-default:400;--md-stream-font-weight-strong:700;--md-stream-font-size-code:12px}.light{--md-stream-blockquote-color:#57606a;--md-stream-blockquote-line-color:#d0d7de;--md-stream-text-color:#222;--md-stream-a-color:#4e40e5;--md-stream-img-bg-color:rgba(0,0,0,.15);--md-stream-code-content-bg-color:#171717;--md-stream-code-content-font-color:#fff;--md-stream-code-header-bg-color:#2e343e;--md-stream-code-header-font-color:hsla(0,0%,100%,.55);--md-stream-table-bg-color:#f2f2f2;--md-stream-border-color:#d0d7de;--md-stream-checkbox-bg-color:#06f}.index-module__root___R_KQi{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--md-stream-text-color,#222);display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;font-size:var(--md-stream-font-size-default,14px);font-weight:var(--md-stream-font-weight-default,400);gap:8px;line-height:var(--md-stream-line-height-default,22px);overflow:hidden;width:100%}.index-module__root___R_KQi ::-webkit-scrollbar{-webkit-appearance:unset;background:unset;display:block;height:4px!important;width:4px!important}.index-module__bubble___NMa7J{background-color:var(--chat-bg-color-default,#fff);border-radius:12px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;font-size:14px;font-weight:400;line-height:20px;padding:12px 16px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;word-break:break-word}.index-module__bubble___NMa7J.index-module__is-need-border___UkdKI{border:1px solid;border-color:var(--chat-bg-border-color-default,rgba(6,7,9,.15))}.index-module__bubble___NMa7J.index-module__can-click___UkBHO{cursor:pointer}.index-module__bubble___NMa7J.index-module__can-click___UkBHO:hover{background-color:var(--chat-bg-color-hover,#e6e6e6)}.index-module__bubble___NMa7J.index-module__can-click___UkBHO:active{background-color:var(--chat-bg-color-active,#dcdcdc)}.index-module__bubble___NMa7J.index-module__active___vMdDg{background-color:var(--chat-bg-color-active,#dcdcdc)}.index-module__bubble___k20ev .index-module__bubble-text___abeDB{display:block;font-size:14px;font-weight:400;line-height:20px;white-space:pre-wrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;word-break:break-word}.index-module__bubble___k20ev .index-module__bubble-text___abeDB.index-module__small___Ew3uG{font-size:12px;font-weight:500;line-height:16px}.index-module__bubble___k20ev .index-module__bubble-text___abeDB.index-module__large___hrnV6{font-size:16px;font-weight:400;line-height:22px}.index-module__container___ByL0s{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;gap:4px;-webkit-box-pack:center;justify-content:center}.index-module__container___ByL0s.index-module__large___or0rV .index-module__svg___WBIm1{height:48px;width:48px}.index-module__container___ByL0s.index-module__small___uNLyv .index-module__svg___WBIm1{height:16px;width:16px}.index-module__text___ANBoR{color:#4e40e5;font-size:14px;font-weight:500;line-height:16px}@-webkit-keyframes index-module__animation-rotate___Tj1wt{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes index-module__animation-rotate___Tj1wt{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.index-module__svg___WBIm1{-webkit-animation:index-module__animation-rotate___Tj1wt .6s linear infinite;animation:index-module__animation-rotate___Tj1wt .6s linear infinite;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;height:32px;width:32px}@-webkit-keyframes index-module__waiting___T8467{0%{background-color:#bbb}50%{background-color:#000}100%{background-color:#bbb}}@keyframes index-module__waiting___T8467{0%{background-color:#bbb}50%{background-color:#000}100%{background-color:#bbb}}.index-module__container___SmJoW{margin:7px 10px;overflow:visible!important;position:relative}.index-module__container___SmJoW,.index-module__container___SmJoW::before,.index-module__container___SmJoW:after{-webkit-animation:index-module__waiting___T8467 .8s infinite alternate;animation:index-module__waiting___T8467 .8s infinite alternate;-webkit-animation-timing-function:ease;animation-timing-function:ease;background-color:currentColor;border-radius:4px;color:currentColor;height:6px;width:6px}.index-module__container___SmJoW::before{-webkit-animation-delay:-.4s;animation-delay:-.4s;left:-10px}.index-module__container___SmJoW::after{-webkit-animation-delay:.4s;animation-delay:.4s;left:10px}.index-module__container___SmJoW::after,.index-module__container___SmJoW::before{content:"";display:inline-block;position:absolute;top:0}.index-module__link___tsOM_{color:var(--chat-font-color-link-default,#4d53e8);cursor:pointer}.index-module__button___KxAYv{background-color:#4e40e5;border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;font-size:14px;font-weight:600;line-height:32px;padding:0 15px}.index-module__container___Y28q4{background:-webkit-gradient(linear,left top,left bottom,from(rgba(186,192,255,.2)),to(rgba(78,64,229,0))),rgba(v255,255,255,1);background:-webkit-linear-gradient(top,rgba(186,192,255,.2),rgba(78,64,229,0)),rgba(v255,255,255,1);background:-webkit-gradient(linear,left top, left bottom,from(rgba(186,192,255,.2)),to(rgba(78,64,229,0))),rgba(v255,255,255,1);background:linear-gradient(180deg,rgba(186,192,255,.2),rgba(78,64,229,0)),rgba(v255,255,255,1);border:1px solid #4e40e5;border-radius:8px;-webkit-box-shadow:0 0 1px 0 rgba(0,0,0,.3),0 4px 14px 0 rgba(0,0,0,.1);box-shadow:0 0 1px 0 rgba(0,0,0,.3),0 4px 14px 0 rgba(0,0,0,.1);-webkit-box-sizing:border-box;box-sizing:border-box;color:#222;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;max-width:80%;padding:14px 16px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.index-module__container___Y28q4 .index-module__content___FxMEm{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;overflow:hidden}.index-module__container___Y28q4 .index-module__icon___WFfDs{height:20px;width:20px}.index-module__container___Y28q4.index-module__success___tyxFD{background:-webkit-gradient(linear,left top,left bottom,from(rgba(103,229,146,.2)),to(rgba(0,184,62,0))),#fff;background:-webkit-linear-gradient(top,rgba(103,229,146,.2),rgba(0,184,62,0)),#fff;background:-webkit-gradient(linear,left top, left bottom,from(rgba(103,229,146,.2)),to(rgba(0,184,62,0))),#fff;background:linear-gradient(180deg,rgba(103,229,146,.2),rgba(0,184,62,0)),#fff;border:1px solid #00b83e}.index-module__container___Y28q4.index-module__error___KDidJ{background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,184,190,.2)),to(rgba(242,36,53,0))),var(--Bg-COZ-bg-max,#fff);background:-webkit-linear-gradient(top,rgba(255,184,190,.2) 0,rgba(242,36,53,0) 100%),var(--Bg-COZ-bg-max,#fff);background:-webkit-gradient(linear,left top, left bottom,color-stop(0, rgba(255,184,190,.2)),to(rgba(242,36,53,0))),var(--Bg-COZ-bg-max,#fff);background:linear-gradient(180deg,rgba(255,184,190,.2) 0,rgba(242,36,53,0) 100%),var(--Bg-COZ-bg-max,#fff);border:1px solid #f22435}.index-module__container___mSJvM{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;background-color:transparent!important;border:none;color:var(--chat-font-color-microphone,rgba(11,21,43,.82));cursor:pointer;font-size:14px;font-weight:500;height:100%;-webkit-box-pack:center;justify-content:center;position:relative;width:100%}.index-module__container___mSJvM::after{border:none}.index-module__container___k10xK .index-module__bar___pgYde{background-color:#aaa;border-radius:2px;max-height:20px;min-height:12px;-webkit-transform-origin:bottom;-ms-transform-origin:bottom;transform-origin:bottom;-webkit-transition:height .1s ease-in-out;transition:height .1s ease-in-out;width:3px}.index-module__audioPlay___i1gjg{background:url('+w+");background-repeat:no-repeat;background-size:cover;cursor:pointer;height:16px;width:16px}.index-module__audioPlay___i1gjg.index-module__playing___LtMyo{-webkit-animation:index-module__icons-blue___GYHuJ 1.5s infinite;animation:index-module__icons-blue___GYHuJ 1.5s infinite;background-image:url("+S+")}.index-module__audioPlay___i1gjg.index-module__light___hL8vL{background-image:url("+A+")}.index-module__audioPlay___i1gjg.index-module__light___hL8vL.index-module__playing___LtMyo{-webkit-animation:index-module__icons-white___vZL5y 1.5s infinite;animation:index-module__icons-white___vZL5y 1.5s infinite;background-image:url("+T+")}.index-module__audioPlay___i1gjg.index-module__gray-bold___AL2yX{background-image:url("+x+")}@-webkit-keyframes index-module__icons-blue___GYHuJ{0%{background:url("+S+");background-repeat:no-repeat;background-size:cover}33%{background:url("+k+");background-repeat:no-repeat;background-size:cover}66%{background:url("+M+");background-repeat:no-repeat;background-size:cover}100%{background:url("+S+");background-repeat:no-repeat;background-size:cover}}@keyframes index-module__icons-blue___GYHuJ{0%{background:url("+S+");background-repeat:no-repeat;background-size:cover}33%{background:url("+k+");background-repeat:no-repeat;background-size:cover}66%{background:url("+M+");background-repeat:no-repeat;background-size:cover}100%{background:url("+S+");background-repeat:no-repeat;background-size:cover}}@-webkit-keyframes index-module__icons-white___vZL5y{0%{background:url("+T+");background-repeat:no-repeat;background-size:cover}33%{background:url("+P+");background-repeat:no-repeat;background-size:cover}66%{background:url("+I+");background-repeat:no-repeat;background-size:cover}100%{background:url("+T+");background-repeat:no-repeat;background-size:cover}}@keyframes index-module__icons-white___vZL5y{0%{background:url("+T+");background-repeat:no-repeat;background-size:cover}33%{background:url("+P+");background-repeat:no-repeat;background-size:cover}66%{background:url("+I+");background-repeat:no-repeat;background-size:cover}100%{background:url("+T+");background-repeat:no-repeat;background-size:cover}}.index-module__tooltip___qm5BV{max-width:100%;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.index-module__tooltip___qm5BV .index-module__content___jZ79F{display:none;position:absolute;right:-10px;top:calc(100% - 10px);z-index:2}.index-module__tooltip___qm5BV.index-module__top___iM7mu .index-module__content___jZ79F{bottom:calc(100% - 20px);top:auto}.index-module__tooltip___qm5BV.index-module__click___XsSUd .index-module__content___jZ79F.index-module__show___NwjF3{display:block}.index-module__tooltip___qm5BV.index-module__hover___XwAk2:hover .index-module__content___jZ79F{display:block}.index-module__container___dtoSg{border-radius:40px;cursor:pointer;height:32px;width:32px}.index-module__container___dtoSg.index-module__border___dIkvN{border:1px solid var(--chat-bg-border-color-default,rgba(6,7,9,.1));background-color:var(--chat-bg-color-input,#fff)}.index-module__container___dtoSg.index-module__square-hover-btn___Vc9BG{background:none;border:none;border-radius:4px}.index-module__container___dtoSg.index-module__hover___wD0kZ:hover{background-color:rgba(82,100,154,.13)}.index-module__container___dtoSg.index-module__hover___wD0kZ:active{background-color:rgba(82,100,154,.13)}.index-module__container___dtoSg.index-module__hover___wD0kZ.index-module__bold___KTh20:hover{background-color:var(--chat-bg-color-hover,#e6e6e6)}.index-module__container___dtoSg.index-module__hover___wD0kZ.index-module__bold___KTh20:active{background-color:var(--chat-bg-color-hover,#e6e6e6)}.index-module__container___dtoSg.index-module__large___auahl{height:40px;width:40px}.index-module__container___dtoSg.index-module__small___sZDJG{height:24px;width:24px}.index-module__container___jHsxj{overflow:hidden;position:relative;width:100%}.index-module__container___jHsxj .index-module__arrow-down___d4CCK{bottom:32px;opacity:0;position:absolute;right:16px;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);z-index:-1}.index-module__container___jHsxj .index-module__arrow-down___d4CCK.index-module__arrow-down--show___F5DAN{opacity:1;z-index:1}.index-module__scroll___oz4rR{height:100%;overflow:auto;padding:2px 0 0;scrollbar-width:none;-webkit-transform:rotateY(180deg) rotate(180deg);transform:rotateY(180deg) rotate(180deg);width:100%}.index-module__scroll___oz4rR.index-module__scroll-web___nSbZo{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;height:auto;max-height:100%;-webkit-transform:unset;-ms-transform:unset;transform:unset}.index-module__scroll___oz4rR.index-module__scroll-web___nSbZo .index-module__children___CyGrD{min-height:unset;overflow:visible;-webkit-transform:unset;-ms-transform:unset;transform:unset}.index-module__scroll___oz4rR .index-module__children___CyGrD{min-height:100%;overflow:hidden;-webkit-transform:rotateY(-180deg) rotate(-180deg);transform:rotateY(-180deg) rotate(-180deg)}.index-module__scroll___oz4rR ::-webkit-scrollbar{-webkit-appearance:none;background:transparent;color:transparent;display:none;height:0!important;width:0!important}.index-module__chooser___MDG05{-webkit-align-items:center;background:hsla(0,0%,100%,.15);border-radius:12px;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;cursor:pointer;height:64px;-webkit-box-pack:center;justify-content:center;width:50%}.index-module__chooser___MDG05 .index-module__text___vv8Iu{color:#fff;font-size:12px;font-weight:500;line-height:16px;text-align:center}.index-module__chooser___MDG05:active{background:-webkit-gradient(linear,left bottom,left top,from(hsla(0,0%,100%,.15)),to(hsla(0,0%,100%,.15))),hsla(0,0%,100%,.15);background:-webkit-linear-gradient(bottom,hsla(0,0%,100%,.15),hsla(0,0%,100%,.15)),hsla(0,0%,100%,.15);background:-webkit-gradient(linear,left bottom, left top,from(hsla(0,0%,100%,.15)),to(hsla(0,0%,100%,.15))),hsla(0,0%,100%,.15);background:linear-gradient(0deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,.15)),hsla(0,0%,100%,.15)}.index-module__text___PgILC{color:hsla(0,0%,100%,.6);font-size:14px;font-weight:500}.index-module__text___PgILC .index-module__retry___LJ9KD{color:#4a32d3;cursor:pointer;opacity:.9}.index-module__image-error___WfR7_{background-color:var(--md-stream-img-bg-color,rgba(0,0,0,.15));background-image:url("+y+");background-position:50%;background-repeat:no-repeat;background-size:auto}.bg-them .index-module__image-error___WfR7_{background-image:url("+y+');background-position:50%;background-repeat:no-repeat;background-size:auto}.index-module__suggestion___jB3n6{background-color:var(--chat-bg-color-suggestion,#fff);border-radius:8px;color:var(--chat-font-color-suggestion,rgba(6,7,9,.8));cursor:pointer;padding:6px 16px}.index-module__suggestion___jB3n6:hover{background-color:var(--chat-bg-color-suggestion-hover,#fff)}.index-module__suggestion-list___TVqVz{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.index-module__markdown___QDXQh{background-color:var(--chat-bg-color-primary,rgba(6,7,9,.04));max-width:100%;min-height:22px;min-width:30px;overflow:hidden}.index-module__markdown___QDXQh .index-module__reason____DntH{margin-bottom:10px}.index-module__container___B89_T{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;gap:8px;left:0;margin-top:24px;padding-right:16px;position:relative;top:0;width:100%}.index-module__container___B89_T.index-module__vertical-center___WsKLz{height:100%;-webkit-justify-content:center;position:absolute;-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.index-module__container___B89_T .index-module__app-avatar___QfDDx{border-radius:var(--chat-pp-avatar-border-radius,48px);-webkit-box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15);box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15);height:var(--chat-app-avatar-size,48px);width:var(--chat-app-avatar-size,48px)}.index-module__container___B89_T .index-module__info-container___frTpR{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-ms-flex-align:center;-webkit-box-align:center;align-items:center}.index-module__container___B89_T .index-module__info-container___frTpR .index-module__chat-name___B7ksu{display:inline-block;font-size:20px;font-weight:500;line-height:20px;margin-bottom:16px;margin-top:12px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.index-module__container___B89_T .index-module__info-container___frTpR .index-module__chat-desc___OpI0e{border:none;border-radius:16px}.index-module__container___B89_T .index-module__prologue___OU8J6{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.bg-theme .index-module__container___B89_T .index-module__info-container___frTpR .index-module__chat-name___B7ksu{text-shadow:rgba(0,0,0,.5) 0 .5px 1px}.index-module__container___wPi7Z{position:relative}.index-module__container___wPi7Z .index-module__input___RqbAW{display:none}.index-module__file-btn___k_cy5{cursor:pointer;height:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:18px}.index-module__input-padding-container___Bbhmi{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;overflow:hidden;padding:14px 0}.index-module__input-container___RsQeD{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;max-height:80px;overflow:auto;position:relative}.index-module__input-container___RsQeD::-webkit-scrollbar{width:6px}.index-module__input-container___RsQeD::-webkit-scrollbar-thumb{background:#e6e6e7;border-radius:4px}.index-module__input-container___RsQeD .index-module__input___rkkoF{background-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-weight:400;line-height:20px;padding:0;width:100%}.index-module__input-container___RsQeD .index-module__input___rkkoF .taro-textarea{background-color:transparent;font-size:14px;font-weight:400;line-height:20px;overflow:hidden;padding:0;resize:none}.index-module__input-container___RsQeD .index-module__placeholder___I3qGL{color:rgba(55,67,106,.38);display:block;font-size:14px;font-weight:500;left:0;line-height:20px;padding:0;position:absolute;top:0;z-index:-1}.index-module__input-container___RsQeD .index-module__placeholder___I3qGL.index-module__placeholder-hidden___xI9D0{display:none}.index-module__task-message-container___M9NGi{padding:12px 12px 0}.index-module__task-message-container___M9NGi .index-module__content___T9j1r{background:rgba(181,191,255,.2);border-radius:8px;padding:12px 12px 12px 16px}.index-module__send-btn___SL66C{cursor:pointer;height:18px;width:18px}.index-module__keyboard-icon___LXr74,.index-module__microphone-icon___Fw_1e{cursor:pointer;height:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:18px}.index-module__container___SfRYH{width:263px}.index-module__container___SfRYH .index-module__title___kZRIq{color:rgba(6,13,32,.9);display:block;font-size:16px;font-weight:500;line-height:22px}.index-module__container___SfRYH .index-module__desc___UNFu0{color:rgba(6,7,9,.5);display:block;font-size:14px;font-weight:400;line-height:20px;margin:8px 0 12px}.index-module__container___SfRYH .index-module__img___z3iqh{height:144px;margin-bottom:16px;width:263px}.index-module__container___SfRYH .index-module__btn-container___RgDEt{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-justify-content:end;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:end}.index-module__container___SfRYH .index-module__btn-container___RgDEt .index-module__btn___ibo4u{font-weight:500}.index-module__container___kgGPm{-webkit-align-self:center;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;height:32px;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-item-align:center;align-self:center}.index-module__container___kgGPm .index-module__text___PED4_{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(48,68,112,.38);display:inline-block;line-height:24px;max-width:100%;padding-right:12px;text-overflow:ellipsis;white-space:nowrap}.index-module__container___kgGPm.index-module__focused___KIJ2K .index-module__text___PED4_{color:rgba(11,21,43,.82)}.index-module__container___kgGPm.index-module__touching___OarQg{background:-webkit-linear-gradient(333deg,#5448ff 4.74%,#b026f1 131.42%);background:linear-gradient(117deg,#5448ff 4.74%,#b026f1 131.42%);border-radius:24px;height:100%;height:calc(100% + 2px);left:-1px;overflow:visible;position:absolute;top:-1px;width:100%;width:calc(100% + 2px);z-index:8}.index-module__container___kgGPm.index-module__touching___OarQg.index-module__outside___n2r5q{background:#ff0030}.index-module__container___kgGPm.index-module__touching___OarQg .index-module__text___PED4_{display:none}.index-module__container___kgGPm .index-module__audio___cG9YB{overflow:hidden;padding:0;width:100%;z-index:4}.index-module__container___kgGPm.index-module__primary___Amf4k.index-module__touching___OarQg{background:#fff;border:1px solid var(--chat-bg-border-color-hglt,#4e40e5)}.index-module__container___kgGPm.index-module__primary___Amf4k.index-module__touching___OarQg.index-module__outside___n2r5q{border:1px solid red}.index-module__container___kgGPm .index-module__text___PED4_{overflow:hidden}.index-module__tips-container___FiYRN{background-color:#f2f3f7;border-radius:100px;color:rgba(11,21,43,.82);height:40px;left:50%;max-width:100%;overflow:hidden;padding:0 24px;position:absolute;top:-52px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:5}.index-module__tips-container___FiYRN .index-module__left-duration___o_A5i{color:#5546ff;font-size:16px;font-weight:500;line-height:22px;margin-right:6px}.index-module__tips-container___FiYRN.index-module__outside-tips___DyUTp{background-color:#ffeff1}.index-module__tips-container___FiYRN.index-module__outside-tips___DyUTp .index-module__tips-text___Nc334{color:#ff002b;font-weight:500}.index-module__tips-container___FiYRN .index-module__tips-text___Nc334{display:inline-block;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;font-size:14px;font-weight:400;line-height:22px;overflow:hidden;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap}.index-module__container___HvNwi{color:var(--chat-font-color-input,#1c1f23);width:100%}.index-module__container___HvNwi .index-module__audio___dcTsP{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe{-webkit-backdrop-filter:blur(37.5px);backdrop-filter:blur(37.5px);background-color:var(--chat-bg-color-input,#fff);border:1px solid var(--chat-bg-border-color-default,rgba(58,85,138,.25));border-radius:25px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;overflow:visible;z-index:10}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe .index-module__chat-input-content___oGXAs{-webkit-align-items:flex-end;min-height:48px;padding:0 12px 0 20px;-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe .index-module__op-container___u5ZYg{height:48px}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe .index-module__divider___SuwSM{border-left:1px solid var(--chat-bg-border-color-light,rgba(28,31,35,.08));height:13px;margin:0 4px}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe.index-module__focused___HdeNo{border-color:var(--chat-bg-border-color-hglt,#4e40e5)}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe.index-module__audio-recording___MzNdP{background-color:transparent;border-color:transparent}.index-module__container___HvNwi .index-module__chat-input-container___QQSpe.index-module__multi-mode-message___kr9gm{border-radius:12px}.index-module__text___Q_UAb.index-module__question-text___RR04n{background-color:var(--chat-bg-color-hglt,rgba(148,152,247,.44));background-repeat:no-repeat;background-size:100% 100%;color:var(--chat-font-color-hglt,rgba(6,7,9,.8))}.index-module__image___QJzjz{background-color:hsla(0,0%,100%,.15);border-radius:12px;height:auto;max-width:100%;min-height:48px;min-width:48px;width:auto}.index-module__avatar____dBFO{border-radius:50%;-webkit-box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15);box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15)}.index-module__avatar____dBFO.index-module__medium___Q0NpQ{height:var(--chat-size-avatar-middle,32px);width:var(--chat-size-avatar-middle,32px)}.index-module__avatar____dBFO.index-module__large___bUcFb{height:var(--chat-size-avatar-large,48px);width:var(--chat-size-avatar-large,48px)}.index-module__content____XWPE{max-width:calc(100% - 44px);overflow:visible}.index-module__content____XWPE .index-module__txt___weWYQ{display:inline-block;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;max-width:100%;min-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.index-module__container___jGe6V{-webkit-align-items:center;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;gap:8px;max-width:100%;min-width:100px;overflow:hidden;width:280px}.index-module__container___jGe6V .index-module__svg___l4vUi{height:32px;width:32px}.index-module__container___jGe6V .index-module__txt___AbU7P{color:var(--chat-font-color-file,rgba(15,21,40,.82));-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;font-size:14px;font-weight:400;overflow:hidden}.index-module__container___jGe6V .index-module__size___HJ25m{color:var(--chat-font-color-file-size,rgba(32,41,69,.62));font-size:12px}.index-module__file___TV_F2{overflow:hidden;width:100%}.bg-theme .index-module__container___jGe6V{background-color:var(--chat-bg-color-primary,rgba(6,7,9,.04))}.index-module__input-node___GuU9B{background-color:var(--chat-bg-color-primary,rgba(6,7,9,.04));border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#222;padding:16px}.index-module__input-node___GuU9B .index-module__btn___Lmvxu{text-align:center}.index-module__input-node___GuU9B .index-module__input-node-input___emNKV{background:transparent;border:1px solid rgba(6,7,9,.15);border-radius:4px;overflow:hidden;padding:4px}.index-module__input-node___GuU9B.index-module__disabled___ZlRQZ .index-module__btn___Lmvxu{background-color:rgba(148,152,247,.44);cursor:not-allowed}.index-module__switch-node___gO_mh{background-color:var(--chat-bg-color-primary,rgba(6,7,9,.04));border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#222;max-width:100^;overflow:hidden;padding:16px}.index-module__switch-node___gO_mh .index-module__switch-node-text___h4yug{font-size:16px;font-weight:400;line-height:20px;margin-bottom:12px}.index-module__switch-node___gO_mh .index-module__switch-node-switch-item___Lp8kV{background-color:#fff;border-radius:4px;cursor:pointer;font-size:14px;line-height:20px;padding:6px 15px}.index-module__switch-node___gO_mh.index-module__disabled___ZlRQZ .index-module__switch-node-switch-item___Lp8kV{color:#191919;cursor:not-allowed;opacity:.3}.index-module__waiting___XMj3z{background-color:var(--chat-bg-color-primary,rgba(6,7,9,.04))}.index-module__chat-toast___jgmow{left:0;position:absolute;top:60px;width:100%}.index-module__chat-toast___jgmow .index-module__container___v220l{left:50%;max-width:80%;overflow:hidden;position:relative;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:1000}.index-module__scroll-container___gau2D{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;-webkit-mask:-webkit-gradient(linear,left top,left bottom,color-stop(91.89%,#fff),to(hsla(0,0%,100%,0)));-webkit-mask:-webkit-linear-gradient(top,#fff 91.89%,hsla(0,0%,100%,0));mask:-webkit-gradient(linear,left top,left bottom,color-stop(91.89%,#fff),to(hsla(0,0%,100%,0)));mask:-webkit-gradient(linear,left top, left bottom,color-stop(91.89%, #fff),to(hsla(0,0%,100%,0)));mask:linear-gradient(180deg,#fff 91.89%,hsla(0,0%,100%,0))}.index-module__loading___fiUx7{height:16px;padding:10px 0}.index-module__container___gVDAl{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 16px 10px 0;position:relative;width:100%}.index-module__container___gVDAl .index-module__slot-container___JGyfP{position:relative;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s}.index-module__container___gVDAl .index-module__command-container___tTP9h{padding-right:12px;position:relative;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s}.index-module__container___gVDAl.index-module__recording-audio___y6wVx .index-module__command-container___tTP9h{opacity:0;-webkit-transform:translateX(-40px);-ms-transform:translateX(-40px);transform:translateX(-40px)}.index-module__container___gVDAl.index-module__recording-audio___y6wVx .index-module__slot-container___JGyfP{opacity:0}.index-module__container___gVDAl .index-module__input-container___Q3qBp{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s}.index-module__container___zZqQg{cursor:pointer;max-width:100%}.index-module__container___zZqQg .index-module__text___nVCNS{color:#1c1f23;display:block;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;line-height:24px;overflow:hidden;padding-right:8px;text-overflow:ellipsis;white-space:nowrap}.index-module__container___kPXif{cursor:pointer;max-width:100%}.index-module__container___kPXif .index-module__text___B2GCf{color:#1c1f23;display:block;-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;line-height:24px;overflow:hidden;padding-right:8px;text-overflow:ellipsis;white-space:nowrap}.index-module__mobile-content___bCd_S,.index-module__pc-content___tx1dk{background-color:#fff;border-radius:8px;-webkit-box-shadow:0 4px 12px 0 rgba(0,0,0,.08),0 8px 24px 0 rgba(0,0,0,.04);box-shadow:0 4px 12px 0 rgba(0,0,0,.08),0 8px 24px 0 rgba(0,0,0,.04);padding:4px}.index-module__resp___rLn4z{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:visible;width:100%}.index-module__resp___rLn4z .index-module__answer___u1DiN{overflow:visible}.index-module__resp-container___KZdMS{color:var(--chat-font-color-primary,#222);overflow:visible}.index-module__query-message___mYIv4{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--chat-font-color-primary,#222);max-width:100%;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.index-module__query-message___mYIv4 .index-module__state-slot___q4UZG{bottom:2px;cursor:pointer;position:absolute;right:-18px}.index-module__query-message___mYIv4 .index-module__state-slot___q4UZG.index-module__disable___FmMZJ{cursor:not-allowed;opacity:.5}.index-module__query-container___VoPoo{overflow:visible}.index-module__chat-group___6SLY7{margin-top:16px;overflow:visible;padding-bottom:1px;padding-right:18px}.index-module__divide-container___YHN6_{color:var(--chat-font-color-secondary,rgba(6,7,9,.3));padding:24px 0}.index-module__divide-container___YHN6_ .index-module__divide-line___bC4dm{background-color:var(--chat-bg-color-secondary,rgba(74,86,111,.2));-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;height:1px}.index-module__container___Dizhf{padding-bottom:50px;position:relative}.index-module__container___Dizhf .index-module__chat-group___wh61L{position:relative}.index-module__container___Dizhf taro-text-core,.index-module__container___Dizhf taro-text-core[selectable=true]{-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-user-select:text}.index-module__container___Dizhf.index-module__mobile___S2mXb taro-text-core,.index-module__container___Dizhf.index-module__mobile___S2mXb taro-text-core.index-module__selectable___ym4dT,.index-module__container___Dizhf.index-module__mobile___S2mXb taro-text-core[selectable=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.index-module__slot___fk_Pq{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;margin:0 auto;overflow:hidden;padding:0 0 0 16px;position:relative;width:100%}.index-module__modal-container___Uu7Dd{height:0;position:relative;width:0}.index-module__modal-container___Uu7Dd .index-module__modal___p1pXe{background-color:#fcfcff;border-radius:12px;left:50%;max-height:100%;max-width:100%;overflow:auto;padding:16px;position:fixed;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:1001}.index-module__modal-container___Uu7Dd .index-module__mask___mWeS3{background:rgba(0,0,0,.4);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.index-module__loading___fN4Om{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;margin:0 auto;position:relative;width:100%}.index-module__app-avatar___hyFSu{border-radius:4px;-webkit-box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15);box-shadow:inset 0 0 0 2px hsla(0,0%,100%,.15);height:var(--chat-size-avatar-default,24px);width:var(--chat-size-avatar-default,24px)}.index-module__title___vpNk1{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;font-size:18px;font-weight:600}.index-module__container___cJUaG{border-bottom:1px solid var(--chat-bg-border-color-light,rgba(29,28,35,.08));-webkit-box-sizing:border-box;box-sizing:border-box;height:55px;padding:0 16px;position:relative;z-index:1}.bg-theme .index-module__container___cJUaG::before{background:hsla(0,0%,100%,.1);content:"";-webkit-filter:blur(40px);filter:blur(40px);height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.bg-mobile .index-module__container___cJUaG{height:72px;padding:24px 16px 16px}.index-module__container___fY4Uo{background-color:var(--chat-bg-color-light,rgba(46,46,56,.04));height:32px;padding:0 16px;position:relative}.index-module__container___fY4Uo .index-module__footer___vpltC{color:var(--chat-font-color-light,rgba(29,28,35,.35));font-size:12px}.index-module__bg-image___rzLYf{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:0}.index-module__bg-image___rzLYf .index-module__mask___W9gfL{background-color:rgba(0,0,0,.12);height:100%;left:0;position:absolute;top:0;width:100%;z-index:3}.index-module__bg-image___rzLYf .index-module__mask___W9gfL::after{background:-webkit-gradient(linear,left top,left bottom,from(rgba(99,99,99,.4)),to(rgba(99,99,99,0)));background:-webkit-linear-gradient(top,rgba(99,99,99,.4),rgba(99,99,99,0));background:-webkit-gradient(linear,left top, left bottom,from(rgba(99,99,99,.4)),to(rgba(99,99,99,0)));background:linear-gradient(180deg,rgba(99,99,99,.4),rgba(99,99,99,0));content:"";display:block;height:216px;position:relative;width:100%;z-index:10}.index-module__bg-image___rzLYf .index-module__img-container___mtas7{height:100%;left:50%;overflow:hidden;position:relative;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:2}.index-module__bg-image___rzLYf .index-module__img-container___mtas7 .index-module__cropper-aspect-container___NFYWv{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;height:100%;left:50%;position:absolute;top:0;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.index-module__bg-image___rzLYf .index-module__gradient___ycdrX{height:100%;position:absolute;top:0;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:10}.index-module__bg-image___rzLYf .index-module__img___idKr8{height:100%;position:relative;width:auto}.chat-root{--chat-size-avatar-large:48px;--chat-size-avatar-middle:32px;--chat-size-avatar-default:24px;--chat-pp-avatar-border-radius:20px;--chat-app-avatar-size:80px;--chat-app-select-border-color:rgba(68,83,130,.25);-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Inter,-apple-system,"system-ui",Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px}.light-theme{--chat-bg-color-container:transparent;--chat-bg-color-light:rgba(46,46,56,.04);--chat-bg-color-default:#fff;--chat-bg-color-primary:rgba(6,7,9,.04);--chat-bg-color-secondary:rgba(74,86,111,.2);--chat-bg-color-hglt:rgba(148,152,247,.44);--chat-bg-color-waiting:rgba(0,0,0,.8);--chat-bg-color-suggestion:#fff;--chat-bg-color-suggestion-hover:#e6e6e6;--chat-bg-color-input:#fff;--chat-bg-color-active:#dcdcdc;--chat-bg-color-hover:#e6e6e6;--chat-bg-border-color-light:rgba(28,31,35,.08);--chat-bg-border-color-default:rgba(58,85,138,.25);--chat-bg-border-color-primary:rgba(6,7,9,.15);--chat-bg-border-color-hglt:#4e40e5;--chat-font-color-light:rgba(28,31,35,.35);--chat-font-color-default:#1c1f23;--chat-font-color-primary:#222;--chat-font-color-secondary:rgba(6,7,9,.3);--chat-font-color-hglt:rgba(6,7,9,.8);--chat-font-color-suggestion:rgba(6,7,9,.8);--chat-font-color-file:rgba(15,21,40,.82);--chat-font-color-file-size:rgba(32,41,69,.62);--chat-font-color-input:#1c1f23;--chat-font-color-microphone:rgba(11,21,43,.82);--chat-font-color-link-default:#4d53e8;--chat-box-shadow-1:rgba(0,0,0,.3);--chat-box-shadow-2:rgba(0,0,0,.1)}.dark-theme{--chat-bg-color-default:#161823}.bg-theme,.dark-theme{--chat-font-color-default:#fff;--chat-bg-color-hglt:rgba(56,57,58,.7);--chat-bg-color-primary:hsla(0,0%,98%,.9);--chat-bg-color-secondary:hsla(0,0%,100%,.6);--chat-bg-color-light:transparent;--chat-bg-color-suggestion:hsla(0,0%,92%,.52);--chat-bg-color-suggestion-hover:hsla(0,0%,92%,.7);--chat-bg-color-input:hsla(0,0%,100%,.8);--chat-font-color-hglt:#fff;--chat-font-color-primary:#fff;--chat-font-color-secondary:hsla(0,0%,100%,.6);--chat-font-color-light:hsla(0,0%,100%,.6)}.bg-mobile{--chat-pp-avatar-border-radius:16px;--chat-app-avatar-size:64px}.index-module__container___hwGLP{background-color:var(--chat-bg-color-container,transparent);color:var(--chat-font-color-default,#222);height:100%;outline:none;text-align:left;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-user-select:auto;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.index-module__container___hwGLP taro-input-core{display:block;overflow:hidden;text-align:inherit;text-overflow:clip;white-space:nowrap}.index-module__container___hwGLP taro-textarea-core{margin:0;padding:0}.index-module__container___hwGLP .index-module__chat___dStqg{-webkit-flex:1;-ms-flex:1;-webkit-box-flex:1;flex:1;height:100%;overflow:hidden;width:100%}.index-module__container___Nbryq{display:-webkit-flex;display:-ms-flexbox;display:-webkit-box;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;width:100%}.index-module__container___Nbryq .index-module__content___egTf0{z-index:1}.index-module__error-img___qqI0g{border:4px solid var(--chat-font-color-secondary,rgba(6,7,9,.3));border-radius:96px;height:48px;width:48px}.index-module__error-img___qqI0g .index-module__error-img-warn-1___QPWEY{background-color:var(--chat-font-color-secondary,rgba(6,7,9,.3));height:16px;width:4px}.index-module__error-img___qqI0g .index-module__error-img-warn-dot___q7X1F{background-color:var(--chat-font-color-secondary,rgba(6,7,9,.3));height:4px;width:4px}.index-module__error-txt___hRXlE{color:var(--chat-font-color-secondary,rgba(6,7,9,.3));font-size:12px;line-height:16px}.index-module__footer-container___L_9Kc{background:none;height:30px;margin-top:-10px}.index-module__chatflow___Vibyy{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden;position:relative;width:100%}.index-module__chatflow___Vibyy .index-module__chat-slot-websdk___vRkjf{padding-left:26px;padding-right:10px}.index-module__loading___rDodM{height:100%;margin:0 auto;max-width:600px;width:100%}',""]),t.Z=b},64570:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,"/* shadow */\n/* sizing */\n/* spacing */\n.semi-portal {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 1;\n}\n.semi-portal-inner {\n position: absolute;\n background-color: transparent;\n min-width: -moz-max-content;\n min-width: max-content;\n}",""]),t.Z=a},50466:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-button-split {\n display: inline-block;\n}\n.semi-button-split .semi-button {\n border-radius: 0;\n margin-right: 1px;\n}\n.semi-button-split .semi-button-first {\n border-top-left-radius: var(--semi-border-radius-small);\n border-bottom-left-radius: var(--semi-border-radius-small);\n}\n.semi-button-split .semi-button-last {\n border-top-right-radius: var(--semi-border-radius-small);\n border-bottom-right-radius: var(--semi-border-radius-small);\n margin-right: unset;\n}\n.semi-button-split:hover .semi-button-borderless:active {\n background-color: var(--semi-color-fill-1);\n}\n\n.semi-button {\n box-shadow: none;\n font-size: 14px;\n line-height: 20px;\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n height: 32px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n border: 0 transparent solid;\n border-radius: var(--semi-border-radius-small);\n padding-left: 12px;\n padding-right: 12px;\n padding-top: 6px;\n padding-bottom: 6px;\n font-weight: 600;\n outline: none;\n vertical-align: middle;\n white-space: nowrap;\n}\n.semi-button.semi-button-primary:focus-visible, .semi-button.semi-button-secondary:focus-visible, .semi-button.semi-button-tertiary:focus-visible, .semi-button.semi-button-warning:focus-visible, .semi-button.semi-button-danger:focus-visible {\n outline: 2px solid var(--semi-color-primary-light-active);\n}\n.semi-button-content {\n display: flex;\n align-items: center;\n}\n.semi-button-danger {\n background-color: var(--semi-color-danger);\n color: rgba(var(--semi-white), 1);\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-danger-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-danger-disabled.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-danger-disabled.semi-button-light {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-danger:hover {\n background-color: var(--semi-color-danger-hover);\n}\n.semi-button-danger:active {\n background-color: var(--semi-color-danger-active);\n}\n.semi-button-danger.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-danger);\n}\n.semi-button-danger.semi-button-light, .semi-button-danger.semi-button-outline, .semi-button-danger.semi-button-borderless {\n color: var(--semi-color-danger);\n}\n.semi-button-danger:not(.semi-button-borderless):not(.semi-button-light):focus-visible {\n outline: 2px solid var(--semi-color-danger-light-active);\n}\n.semi-button-warning {\n background-color: var(--semi-color-warning);\n color: rgba(var(--semi-white), 1);\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-warning-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-warning-disabled.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-warning-disabled.semi-button-light {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-warning:hover {\n background-color: var(--semi-color-warning-hover);\n}\n.semi-button-warning:active {\n background-color: var(--semi-color-warning-active);\n}\n.semi-button-warning.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-warning);\n}\n.semi-button-warning.semi-button-light, .semi-button-warning.semi-button-outline, .semi-button-warning.semi-button-borderless {\n color: var(--semi-color-warning);\n}\n.semi-button-warning:not(.semi-button-borderless):not(.semi-button-light):focus-visible {\n outline: 2px solid var(--semi-color-warning-light-active);\n}\n.semi-button-tertiary {\n background-color: var(--semi-color-tertiary);\n color: rgba(var(--semi-white), 1);\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-tertiary-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-tertiary-disabled.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-tertiary-disabled.semi-button-light {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-tertiary:hover {\n background-color: var(--semi-color-tertiary-hover);\n}\n.semi-button-tertiary:active {\n background-color: var(--semi-color-tertiary-active);\n}\n.semi-button-tertiary.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-tertiary.semi-button-light, .semi-button-tertiary.semi-button-outline, .semi-button-tertiary.semi-button-borderless {\n color: var(--semi-color-text-1);\n}\n.semi-button-primary {\n background-color: var(--semi-color-primary);\n color: rgba(var(--semi-white), 1);\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-primary-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-primary-disabled.semi-button-light {\n background: var(--semi-color-fill-0);\n}\n.semi-button-primary-disabled.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-primary:not(.semi-button-borderless):not(.semi-button-light):not(.semi-button-outline):hover {\n background-color: var(--semi-color-primary-hover);\n}\n.semi-button-primary.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-primary:not(.semi-button-borderless):not(.semi-button-light):not(.semi-button-outline):active {\n background-color: var(--semi-color-primary-active);\n}\n.semi-button-primary.semi-button-light, .semi-button-primary.semi-button-outline, .semi-button-primary.semi-button-borderless {\n color: var(--semi-color-primary);\n}\n.semi-button-secondary {\n background-color: var(--semi-color-secondary);\n outline-color: var(--semi-color-secondary);\n color: rgba(var(--semi-white), 1);\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-secondary-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-secondary-disabled.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-secondary-disabled.semi-button-light {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-secondary.semi-button-outline {\n background-color: transparent;\n border: 1px solid var(--semi-color-border);\n}\n.semi-button-secondary:hover {\n background-color: var(--semi-color-secondary-hover);\n}\n.semi-button-secondary:active {\n background-color: var(--semi-color-secondary-active);\n}\n.semi-button-secondary.semi-button-light, .semi-button-secondary.semi-button-outline, .semi-button-secondary.semi-button-borderless {\n color: var(--semi-color-secondary);\n}\n.semi-button-disabled {\n color: var(--semi-color-disabled-text);\n cursor: not-allowed;\n}\n.semi-button-disabled:not(.semi-button-borderless):not(.semi-button-light):hover {\n color: var(--semi-color-disabled-text);\n}\n.semi-button-disabled.semi-button-light, .semi-button-disabled.semi-button-borderless {\n color: var(--semi-color-disabled-text);\n}\n.semi-button-borderless {\n background-color: transparent;\n border: 0 transparent solid;\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-borderless:not(.semi-button-disabled):hover {\n background-color: var(--semi-color-fill-0);\n border: 0 transparent solid;\n}\n.semi-button-borderless:not(.semi-button-disabled):active {\n background-color: var(--semi-color-fill-1);\n border: 0 transparent solid;\n}\n.semi-button-outline {\n background-color: transparent;\n}\n.semi-button-outline:not(.semi-button-disabled):hover {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-outline:not(.semi-button-disabled):active {\n background-color: var(--semi-color-fill-1);\n}\n.semi-button-light {\n background-color: var(--semi-color-fill-0);\n border: 0 transparent solid;\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: scale(var(--semi-transform_scale-none));\n}\n.semi-button-light:not(.semi-button-disabled):hover {\n background-color: var(--semi-color-fill-1);\n border: 0 transparent solid;\n}\n.semi-button-light:not(.semi-button-disabled):active {\n background-color: var(--semi-color-fill-2);\n border: 0 transparent solid;\n}\n.semi-button-size-small {\n height: 24px;\n padding-top: 2px;\n padding-bottom: 2px;\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-button-size-large {\n height: 40px;\n padding-top: 10px;\n padding-bottom: 10px;\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-button-block {\n width: 100%;\n}\n.semi-button-group {\n display: flex;\n flex-wrap: wrap;\n}\n.semi-button-group > .semi-button {\n margin: 0;\n padding-left: 0;\n padding-right: 0;\n border-radius: 0;\n}\n.semi-button-group > .semi-button .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-button-group > .semi-button-size-large .semi-button-content {\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-button-group > .semi-button-size-small .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-button-group > .semi-button.semi-button-with-icon-only {\n padding-left: 0;\n padding-right: 0;\n}\n.semi-button-group > .semi-button.semi-button-with-icon-only .semi-button-content {\n padding-left: 8px;\n padding-right: 8px;\n}\n.semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-small .semi-button-content {\n padding-left: 4px;\n padding-right: 4px;\n}\n.semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-large .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-button-group > .semi-button:first-child {\n border-top-left-radius: var(--semi-border-radius-small);\n border-bottom-left-radius: var(--semi-border-radius-small);\n}\n.semi-button-group > .semi-button:last-child {\n border-top-right-radius: var(--semi-border-radius-small);\n border-bottom-right-radius: var(--semi-border-radius-small);\n}\n.semi-button-group > .semi-button-outline:not(:last-child) {\n border-right-color: transparent;\n margin-right: -1px;\n}\n.semi-button-group-line {\n display: inline-flex;\n align-items: center;\n background-color: var(--semi-color-border);\n}\n.semi-button-group-line-primary {\n background-color: var(--semi-color-primary);\n}\n.semi-button-group-line-secondary {\n background-color: var(--semi-color-secondary);\n}\n.semi-button-group-line-tertiary {\n background-color: var(--semi-color-tertiary);\n}\n.semi-button-group-line-warning {\n background-color: var(--semi-color-warning);\n}\n.semi-button-group-line-danger {\n background-color: var(--semi-color-danger);\n}\n.semi-button-group-line-disabled {\n background-color: var(--semi-color-disabled-bg);\n}\n.semi-button-group-line-light {\n background-color: var(--semi-color-fill-0);\n}\n.semi-button-group-line-borderless {\n background-color: transparent;\n}\n.semi-button-group-line::before {\n display: block;\n content: "";\n width: 1px;\n height: 20px;\n background-color: var(--semi-color-border);\n}\n\n.semi-rtl .semi-button,\n.semi-portal-rtl .semi-button {\n direction: rtl;\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-size-small,\n.semi-portal-rtl .semi-button-size-small {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-size-large,\n.semi-portal-rtl .semi-button-size-large {\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-rtl .semi-button-group,\n.semi-portal-rtl .semi-button-group {\n direction: rtl;\n}\n.semi-rtl .semi-button-group > .semi-button,\n.semi-portal-rtl .semi-button-group > .semi-button {\n padding-left: 0;\n padding-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button-size-large .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button-size-large .semi-button-content {\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-rtl .semi-button-group > .semi-button-size-small .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button-size-small .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only {\n padding-left: 0;\n padding-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only .semi-button-content {\n padding-left: 8px;\n padding-right: 8px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-small .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-small .semi-button-content {\n padding-left: 4px;\n padding-right: 4px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-large .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-large .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button:first-child,\n.semi-portal-rtl .semi-button-group > .semi-button:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: var(--semi-border-radius-small);\n border-bottom-right-radius: var(--semi-border-radius-small);\n}\n.semi-rtl .semi-button-group > .semi-button:not(:last-child) .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button:not(:last-child) .semi-button-content {\n border-left: 1px var(--semi-color-border) solid;\n border-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button:last-child,\n.semi-portal-rtl .semi-button-group > .semi-button:last-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: var(--semi-border-radius-small);\n border-bottom-left-radius: var(--semi-border-radius-small);\n}\n.semi-rtl .semi-button.semi-button-with-icon-only,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only {\n padding-left: 8px;\n padding-right: 8px;\n}\n.semi-rtl .semi-button.semi-button-with-icon-only.semi-button-size-small,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only.semi-button-size-small {\n padding-left: 4px;\n padding-right: 4px;\n}\n.semi-rtl .semi-button.semi-button-with-icon-only.semi-button-size-large,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only.semi-button-size-large {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-content-left,\n.semi-portal-rtl .semi-button-content-left {\n margin-left: 8px;\n margin-right: 0;\n}\n.semi-rtl .semi-button-content-right,\n.semi-portal-rtl .semi-button-content-right {\n margin-right: 8px;\n margin-left: 0;\n}',""]),t.Z=a},18310:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,"/* shadow */\n/* sizing */\n/* spacing */\n@keyframes semi-animation-rotate {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.semi-button.semi-button-with-icon {\n display: inline-flex;\n align-items: center;\n}\n.semi-button.semi-button-with-icon .semi-button-content {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.semi-button.semi-button-loading {\n pointer-events: none;\n cursor: not-allowed;\n}\n.semi-button.semi-button-loading .semi-button-content > svg {\n width: 16px;\n height: 16px;\n animation: 0.6s linear infinite semi-animation-rotate;\n animation-fill-mode: forwards;\n}\n.semi-button.semi-button-with-icon-only {\n padding-left: 8px;\n padding-right: 8px;\n padding-top: 8px;\n padding-bottom: 8px;\n height: 32px;\n width: 32px;\n justify-content: center;\n align-items: center;\n}\n.semi-button.semi-button-with-icon-only.semi-button-size-small {\n padding-left: 4px;\n padding-right: 4px;\n padding-top: 4px;\n padding-bottom: 4px;\n height: 24px;\n width: 24px;\n}\n.semi-button.semi-button-with-icon-only.semi-button-size-large {\n padding-left: 12px;\n padding-right: 12px;\n padding-top: 12px;\n padding-bottom: 12px;\n height: 40px;\n width: 40px;\n}\n.semi-button-content-left {\n margin-right: 8px;\n display: flex;\n align-items: center;\n}\n.semi-button-content-right {\n margin-left: 8px;\n display: flex;\n align-items: center;\n}\n\n.semi-rtl .semi-button,\n.semi-portal-rtl .semi-button {\n direction: rtl;\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-size-small,\n.semi-portal-rtl .semi-button-size-small {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-size-large,\n.semi-portal-rtl .semi-button-size-large {\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-rtl .semi-button-group,\n.semi-portal-rtl .semi-button-group {\n direction: rtl;\n}\n.semi-rtl .semi-button-group > .semi-button,\n.semi-portal-rtl .semi-button-group > .semi-button {\n padding-left: 0;\n padding-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button-size-large .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button-size-large .semi-button-content {\n padding-left: 16px;\n padding-right: 16px;\n}\n.semi-rtl .semi-button-group > .semi-button-size-small .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button-size-small .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only {\n padding-left: 0;\n padding-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only .semi-button-content {\n padding-left: 8px;\n padding-right: 8px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-small .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-small .semi-button-content {\n padding-left: 4px;\n padding-right: 4px;\n}\n.semi-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-large .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button.semi-button-with-icon-only.semi-button-size-large .semi-button-content {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-group > .semi-button:first-child,\n.semi-portal-rtl .semi-button-group > .semi-button:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: var(--semi-border-radius-small);\n border-bottom-right-radius: var(--semi-border-radius-small);\n}\n.semi-rtl .semi-button-group > .semi-button:not(:last-child) .semi-button-content,\n.semi-portal-rtl .semi-button-group > .semi-button:not(:last-child) .semi-button-content {\n border-left: 1px var(--semi-color-border) solid;\n border-right: 0;\n}\n.semi-rtl .semi-button-group > .semi-button:last-child,\n.semi-portal-rtl .semi-button-group > .semi-button:last-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: var(--semi-border-radius-small);\n border-bottom-left-radius: var(--semi-border-radius-small);\n}\n.semi-rtl .semi-button.semi-button-with-icon-only,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only {\n padding-left: 8px;\n padding-right: 8px;\n}\n.semi-rtl .semi-button.semi-button-with-icon-only.semi-button-size-small,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only.semi-button-size-small {\n padding-left: 4px;\n padding-right: 4px;\n}\n.semi-rtl .semi-button.semi-button-with-icon-only.semi-button-size-large,\n.semi-portal-rtl .semi-button.semi-button-with-icon-only.semi-button-size-large {\n padding-left: 12px;\n padding-right: 12px;\n}\n.semi-rtl .semi-button-content-left,\n.semi-portal-rtl .semi-button-content-left {\n margin-left: 8px;\n margin-right: 0;\n}\n.semi-rtl .semi-button-content-right,\n.semi-portal-rtl .semi-button-content-right {\n margin-right: 8px;\n margin-left: 0;\n}",""]),t.Z=a},58275:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-divider {\n margin: 1px 0px 1px 0px;\n border-bottom: 1px solid var(--semi-color-border);\n color: var(--semi-color-text-0);\n box-sizing: border-box;\n}\n.semi-divider-dashed {\n border-bottom-style: dashed;\n}\n.semi-divider-horizontal {\n width: 100%;\n display: flex;\n}\n.semi-divider-vertical {\n border-bottom: 0;\n display: inline-block;\n margin: 0px 1px 0px 1px;\n border-left: 1px solid var(--semi-color-border);\n height: 20px;\n vertical-align: middle;\n}\n.semi-divider-with-text {\n display: flex;\n border-bottom: 0;\n white-space: nowrap;\n align-items: center;\n}\n.semi-divider-with-text .semi-divider_inner-text {\n font-weight: 600;\n padding: 0px 8px 0px 8px;\n display: inline-block;\n}\n.semi-divider-with-text::before, .semi-divider-with-text::after {\n content: "";\n width: 50%;\n border-bottom: 1px solid var(--semi-color-border);\n}\n.semi-divider-with-text-left::before {\n width: 40px;\n}\n.semi-divider-with-text-left::after {\n flex: 1;\n}\n.semi-divider-with-text-right::before {\n flex: 1;\n}\n.semi-divider-with-text-right::after {\n width: 40px;\n}\n\n.semi-divider-dashed::before, .semi-divider-dashed::after {\n border-bottom: 1px dashed var(--semi-color-border);\n}\n\n.semi-divider-vertical.semi-divider-dashed {\n border-left: 1px dashed var(--semi-color-border);\n}',""]),t.Z=a},87655:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-image {\n border-radius: var(--semi-border-radius-small);\n position: relative;\n display: inline-block;\n overflow: hidden;\n}\n.semi-image-img {\n vertical-align: top;\n border-radius: inherit;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.semi-image-img-preview {\n cursor: zoom-in;\n}\n.semi-image-img-error {\n opacity: 0;\n}\n.semi-image-overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.semi-image-status {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--semi-border-radius-small);\n background-color: var(--semi-color-fill-0);\n color: var(--semi-color-disabled-text);\n}\n\n.semi-image-preview {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1070;\n background-color: var(--semi-color-overlay-bg);\n transition: opacity 500ms;\n overflow: hidden;\n}\n.semi-image-preview-popup {\n position: absolute;\n}\n.semi-image-preview .semi-image-preview-hide {\n opacity: 0;\n}\n.semi-image-preview-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n background: rgba(0, 0, 0, 0.75);\n cursor: pointer;\n color: var(--semi-color-white);\n}\n.semi-image-preview-prev {\n left: 24px;\n}\n.semi-image-preview-next {\n right: 24px;\n}\n.semi-image-preview-header {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n color: var(--semi-color-white);\n height: 60px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 24px;\n z-index: 1;\n pointer-events: none;\n}\n.semi-image-preview-header-title {\n flex: 1;\n}\n.semi-image-preview-header-close {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n pointer-events: auto;\n}\n.semi-image-preview-header-close:hover {\n background-color: rgba(0, 0, 0, 0.75);\n}\n.semi-image-preview-footer {\n display: flex;\n align-items: center;\n}\n.semi-image-preview-footer-content {\n padding: 0 16px;\n background: rgba(0, 0, 0, 0.75);\n border-radius: var(--semi-border-radius-medium);\n height: 48px;\n}\n.semi-image-preview-footer-wrapper {\n position: absolute;\n left: 50%;\n bottom: 16px;\n transform: translateX(-50%);\n}\n.semi-image-preview-footer-page {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: var(--semi-color-white);\n font-size: 16px;\n line-height: 22px;\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n margin: 0 12px;\n}\n.semi-image-preview-footer .semi-icon {\n color: var(--semi-color-white);\n cursor: pointer;\n}\n.semi-image-preview-footer-gap {\n margin-left: 16px;\n}\n.semi-image-preview-footer .semi-slider {\n width: 132px;\n padding: 0 16px;\n}\n.semi-image-preview-footer .semi-slider .semi-slider-rail {\n color: var(--semi-color-white);\n height: 2px;\n}\n.semi-image-preview-footer .semi-slider .semi-slider-track {\n height: 2px;\n}\n.semi-image-preview-footer .semi-slider .semi-slider-handle {\n width: 16px;\n height: 16px;\n margin-top: 8px;\n box-sizing: border-box;\n}\n.semi-image-preview-footer .semi-divider {\n background: rgba(255, 255, 255, 0.5);\n margin: 0 16px;\n}\n.semi-image-preview-footer .semi-image-preview-footer-disabled {\n color: rgba(249, 249, 249, 0.35);\n cursor: default;\n pointer-events: none;\n}\n.semi-image-preview-image {\n position: relative;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.semi-image-preview-image-img {\n position: absolute;\n transform: scale3d(1, 1, 1) var(--semi-transform-rotate-none);\n z-index: 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n /**\n * In tailwind, the max-width of img/video is set to 100%, \n * which will affect the amplification effect of the picture.\n * So we need to set max-width to none.\n */\n max-width: none;\n}\n.semi-image-preview-image-spin {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.semi-image-preview-image-spin .semi-spin-wrapper {\n color: #ccc;\n}\n@keyframes spinner {\n to {\n transform: var(--semi-transform_rotate-clockwise360deg);\n }\n}\n\nimg[src=""], img:not([src]) {\n opacity: 0;\n}\n\n.semi-rtl .semi-image-preview,\n.semi-portal-rtl .semi-image-preview {\n direction: rtl;\n}\n.semi-rtl .semi-image-preview-group,\n.semi-portal-rtl .semi-image-preview-group {\n direction: rtl;\n}\n.semi-rtl .semi-image-preview-prev,\n.semi-portal-rtl .semi-image-preview-prev {\n right: 24px;\n left: auto;\n transform: var(--semi-transform_rotate-clockwise180deg);\n}\n.semi-rtl .semi-image-preview-next,\n.semi-portal-rtl .semi-image-preview-next {\n left: 24px;\n right: auto;\n transform: var(--semi-transform_rotate-clockwise180deg);\n}\n.semi-rtl .semi-image-preview-footer-page,\n.semi-portal-rtl .semi-image-preview-footer-page {\n display: flex;\n direction: rtl;\n}\n.semi-rtl .semi-image-preview-footer-gap,\n.semi-portal-rtl .semi-image-preview-footer-gap {\n margin-right: 16px;\n margin-left: 0;\n}\n.semi-rtl .semi-image-preview-footer .semi-icon-chevron_left,\n.semi-portal-rtl .semi-image-preview-footer .semi-icon-chevron_left {\n transform: var(--semi-transform_rotate-clockwise180deg);\n}\n.semi-rtl .semi-image-preview-footer .semi-icon-chevron_right,\n.semi-portal-rtl .semi-image-preview-footer .semi-icon-chevron_right {\n transform: var(--semi-transform_rotate-clockwise180deg);\n}',""]),t.Z=a},10488:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-slider {\n padding: 0px 13px;\n margin: 0px;\n}\n.semi-slider-wrapper {\n box-sizing: border-box;\n position: relative;\n height: 32px;\n width: 100%;\n display: inline-block;\n vertical-align: bottom;\n}\n.semi-slider-rail {\n box-sizing: border-box;\n margin: 0px;\n padding: 0px;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n font-feature-settings: "tnum";\n position: absolute;\n height: 4px;\n cursor: pointer;\n touch-action: none;\n background-color: var(--semi-color-fill-0);\n width: 100%;\n border-radius: var(--semi-border-radius-small);\n top: 14px;\n}\n.semi-slider-handle {\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n touch-action: none;\n position: absolute;\n width: 24px;\n height: 24px;\n margin-top: 4px;\n background-color: var(--semi-color-white);\n border: none;\n border-radius: 50%;\n cursor: pointer;\n transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);\n transform: var(--semi-transform_scale-small) translateX(-50%) translateY(0px);\n display: inline-flex;\n justify-content: center;\n align-items: center;\n}\n.semi-slider-handle:focus-visible {\n outline: 2px solid var(--semi-color-primary-light-active);\n}\n.semi-slider-handle-dot {\n background: var(--semi-color-primary);\n width: 4px;\n height: 4px;\n border-radius: var(--semi-border-radius-circle);\n}\n.semi-slider-handle:hover {\n background-color: var(--semi-color-white);\n}\n.semi-slider-handle-clicked {\n border: solid 1px var(--semi-color-focus-border);\n cursor: grabbing;\n}\n.semi-slider-track {\n height: 4px;\n background: var(--semi-color-primary);\n border-radius: var(--semi-border-radius-small);\n position: absolute;\n cursor: pointer;\n top: 14px;\n}\n.semi-slider-tooltip {\n position: absolute;\n top: -40px;\n}\n.semi-slider-dots {\n width: 100%;\n background: transparent;\n}\n.semi-slider-dot {\n position: absolute;\n top: 14px;\n width: 4px;\n height: 4px;\n background-color: var(--semi-color-white);\n border-radius: 50%;\n cursor: pointer;\n transform: translateX(0px);\n}\n.semi-slider-dot-active {\n background-color: var(--semi-color-white);\n}\n.semi-slider-marks {\n position: absolute;\n top: 23px;\n left: 0px;\n width: 100%;\n font-size: 14px;\n}\n.semi-slider-mark {\n position: absolute;\n display: inline-block;\n color: var(--semi-color-text-2);\n text-align: center;\n cursor: pointer;\n transform: translate(-50%, 0);\n}\n.semi-slider-marks-reverse {\n position: absolute;\n top: 23px;\n left: 0px;\n width: 100%;\n font-size: 14px;\n}\n.semi-slider-mark-reverse {\n position: absolute;\n display: inline-block;\n color: var(--semi-color-text-2);\n text-align: center;\n cursor: pointer;\n transform: translate(-50%, 0) rotate(-180deg);\n}\n.semi-slider-boundary {\n position: relative;\n font-size: 12px;\n color: var(--semi-color-text-0);\n visibility: hidden;\n top: 30px;\n}\n.semi-slider-boundary span {\n position: absolute;\n display: inline-block;\n}\n.semi-slider-boundary-min {\n left: 0px;\n}\n.semi-slider-boundary-max {\n right: 0px;\n}\n.semi-slider-boundary-show {\n visibility: visible;\n}\n\n.semi-slider-vertical-wrapper {\n width: 4px;\n height: 100%;\n}\n.semi-slider-vertical-wrapper .semi-slider-track {\n width: 4px;\n}\n.semi-slider-vertical-wrapper .semi-slider-marks {\n height: 100%;\n margin-top: -30px;\n margin-left: 29px;\n}\n.semi-slider-vertical-wrapper .semi-slider-marks-reverse {\n height: 100%;\n margin-top: -30px;\n margin-left: -26px;\n}\n.semi-slider-vertical-wrapper .semi-slider-rail {\n width: 4px;\n height: 100%;\n top: 0px;\n}\n.semi-slider-vertical-wrapper .semi-slider-handle {\n margin-top: 0px;\n margin-left: -10px;\n transform: var(--semi-transform_scale-small) translateY(-50%) translateX(0px);\n}\n.semi-slider-vertical-wrapper .semi-slider-dot {\n transform: translateY(0px);\n}\n\n.semi-slider-disabled {\n cursor: not-allowed;\n}\n.semi-slider-disabled .semi-slider-handle {\n cursor: not-allowed;\n box-shadow: none;\n border: 1px var(--semi-color-border) solid;\n}\n.semi-slider-disabled .semi-slider-handle:hover {\n background-color: var(--semi-color-white);\n}\n.semi-slider-disabled .semi-slider-rail {\n cursor: not-allowed;\n}\n.semi-slider-disabled .semi-slider-track {\n cursor: not-allowed;\n background-color: var(--semi-color-primary-disabled);\n}\n.semi-slider-disabled .semi-slider-dot {\n cursor: not-allowed;\n background-color: var(--semi-color-white);\n border-color: var(--semi-color-white);\n box-shadow: none;\n}\n\n.semi-slider-handle-tooltip {\n text-align: center;\n}\n\n.semi-slider-reverse {\n transform: rotate(180deg);\n}',""]),t.Z=a},78077:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-spin {\n position: relative;\n display: inline-block;\n width: 20px;\n height: 20px;\n}\n@keyframes semi-animation-rotate {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.semi-spin-wrapper {\n text-align: center;\n position: absolute;\n width: 100%;\n transform: translateY(-50%);\n top: 50%;\n color: var(--semi-color-primary);\n}\n.semi-spin-wrapper > svg {\n display: inline;\n animation: 600ms linear infinite semi-animation-rotate;\n animation-fill-mode: forwards;\n vertical-align: top;\n width: 20px;\n height: 20px;\n}\n.semi-spin-animate {\n display: inline-flex;\n animation: 1600ms linear infinite semi-animation-rotate;\n animation-fill-mode: forwards;\n}\n.semi-spin-children {\n opacity: 0.5;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.semi-spin-block {\n display: block;\n}\n.semi-spin-block::after {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n.semi-spin-block .semi-spin-wrapper {\n display: block;\n}\n.semi-spin-block.semi-spin {\n height: auto;\n width: auto;\n}\n.semi-spin-hidden::after {\n content: none;\n}\n.semi-spin-hidden > .semi-spin-children {\n opacity: 1;\n -webkit-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n}\n\n.semi-spin-small {\n width: 14px;\n height: 14px;\n}\n.semi-spin-small > .semi-spin-wrapper svg {\n width: 14px;\n height: 14px;\n}\n\n.semi-spin-middle {\n width: 20px;\n height: 20px;\n}\n.semi-spin-middle > .semi-spin-wrapper svg {\n width: 20px;\n height: 20px;\n}\n\n.semi-spin-large {\n width: 32px;\n height: 32px;\n}\n.semi-spin-large > .semi-spin-wrapper svg {\n width: 32px;\n height: 32px;\n}\n\n.semi-spin-container {\n overflow: hidden;\n}\n\n.semi-rtl .semi-spin,\n.semi-portal-rtl .semi-spin {\n direction: rtl;\n}\n.semi-rtl .semi-spin-container,\n.semi-portal-rtl .semi-spin-container {\n direction: rtl;\n}',""]),t.Z=a},99861:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n.semi-toast {\n pointer-events: none;\n}\n.semi-toast-wrapper {\n position: fixed;\n height: 0;\n top: 0;\n width: 100%;\n display: flex;\n justify-content: center;\n z-index: 1010;\n}\n.semi-toast-wrapper .semi-toast-innerWrapper {\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n text-align: center;\n}\n.semi-toast-wrapper .semi-toast-innerWrapper-hover .semi-toast-zero-height-wrapper {\n perspective: unset;\n perspective-origin: center center;\n}\n.semi-toast-zero-height-wrapper {\n transition: all 300ms cubic-bezier(0.22, 0.57, 0.02, 1.2);\n perspective-origin: center 280px;\n perspective: 280px;\n height: 0;\n overflow: visible;\n}\n.semi-toast-content {\n pointer-events: all;\n box-shadow: var(--semi-shadow-elevated);\n font-size: 14px;\n line-height: 20px;\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n background-color: var(--semi-color-bg-3);\n border-radius: var(--semi-border-radius-medium);\n padding: 12px 8px 12px 8px;\n display: inline-flex;\n align-items: flex-start;\n justify-content: center;\n margin: 12px;\n font-weight: 600;\n color: var(--semi-color-text-0);\n}\n.semi-toast-content .semi-toast-close-button {\n margin-top: -2px;\n height: 20px;\n}\n.semi-toast-content .semi-toast-content-text {\n margin-left: 12px;\n margin-right: 12px;\n text-align: left;\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n.semi-toast-light.semi-toast-warning .semi-toast-content {\n background-color: var(--semi-color-warning-light-default);\n border: 1px solid var(--semi-color-warning);\n}\n.semi-toast-light.semi-toast-warning .semi-toast-icon-warning {\n color: var(--semi-color-warning);\n}\n.semi-toast-light.semi-toast-success .semi-toast-content {\n background-color: var(--semi-color-success-light-default);\n border: 1px solid var(--semi-color-success);\n}\n.semi-toast-light.semi-toast-success .semi-toast-icon-success {\n color: var(--semi-color-success);\n}\n.semi-toast-light.semi-toast-info .semi-toast-content {\n background-color: var(--semi-color-info-light-default);\n border: 1px solid var(--semi-color-info);\n}\n.semi-toast-light.semi-toast-info .semi-toast-icon-info {\n color: var(--semi-color-info);\n}\n.semi-toast-light.semi-toast-error .semi-toast-content {\n background-color: var(--semi-color-danger-light-default);\n border: 1px solid var(--semi-color-danger);\n}\n.semi-toast-light.semi-toast-error .semi-toast-icon-error {\n color: var(--semi-color-danger);\n}\n.semi-toast .semi-toast-icon-warning {\n color: var(--semi-color-warning);\n}\n.semi-toast .semi-toast-icon-success {\n color: var(--semi-color-success);\n}\n.semi-toast .semi-toast-icon-info {\n color: var(--semi-color-info);\n}\n.semi-toast .semi-toast-icon-error {\n color: var(--semi-color-danger);\n}\n.semi-toast-animation-show {\n animation: 300ms semi-toast-keyframe-toast-show cubic-bezier(0.22, 0.57, 0.02, 1.2) 0s;\n animation-fill-mode: forwards;\n}\n.semi-toast-animation-hide {\n animation: 300ms semi-toast-keyframe-toast-hide cubic-bezier(0.22, 0.57, 0.02, 1.2) 0s;\n animation-fill-mode: forwards;\n}\n@keyframes semi-toast-keyframe-toast-show {\n 0% {\n opacity: 0;\n transform: translateY(-100%);\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes semi-toast-keyframe-toast-hide {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateY(-100%);\n }\n}\n\n.semi-toast-rtl {\n direction: rtl;\n}\n.semi-toast-rtl .semi-toast-content .semi-toast-content-text {\n text-align: right;\n margin-left: 12px;\n margin-right: 12px;\n}',""]),t.Z=a},82264:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\n@keyframes semi-tooltip-zoomIn {\n from {\n opacity: 0;\n transform: scale(0.8, 0.8);\n }\n 50% {\n opacity: 1;\n }\n}\n@keyframes semi-tooltip-bounceIn {\n from {\n opacity: 0;\n transform: scale(0.6, 0.6);\n }\n 70% {\n opacity: 1;\n transform: scale(1.01, 1.01);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n}\n@keyframes semi-tooltip-zoomOut {\n from {\n opacity: 1;\n }\n 60% {\n opacity: 0;\n transform: scale(0.8, 0.8);\n }\n to {\n opacity: 0;\n }\n}\n.semi-tooltip-wrapper {\n position: relative;\n background-color: rgba(var(--semi-grey-7), 1);\n color: var(--semi-color-bg-0);\n border-radius: var(--semi-border-radius-medium);\n padding-top: 8px;\n padding-right: 12px;\n padding-bottom: 8px;\n padding-left: 12px;\n left: 0;\n top: 0;\n word-wrap: break-word;\n overflow-wrap: break-word;\n font-size: 14px;\n line-height: 20px;\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n opacity: 0;\n max-width: 240px;\n}\n.semi-tooltip-wrapper-show {\n opacity: 1;\n}\n.semi-tooltip-content {\n min-width: 0;\n}\n.semi-tooltip-trigger {\n display: inline-block;\n width: auto;\n height: auto;\n}\n.semi-tooltip-with-arrow {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n}\n.semi-tooltip-animation-show {\n animation: semi-tooltip-zoomIn 100ms cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-fill-mode: forwards;\n}\n.semi-tooltip-animation-hide {\n animation: semi-tooltip-zoomOut 100ms cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-fill-mode: forwards;\n}\n\n.semi-tooltip-wrapper .semi-tooltip-icon-arrow {\n height: 7px;\n width: 24px;\n position: absolute;\n color: rgba(var(--semi-grey-7), 1);\n}\n.semi-tooltip-wrapper[x-placement=top] .semi-tooltip-icon-arrow {\n left: 50%;\n transform: translateX(-50%);\n bottom: -6px;\n}\n.semi-tooltip-wrapper[x-placement=top].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=top] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n.semi-tooltip-wrapper[x-placement=topLeft] .semi-tooltip-icon-arrow {\n bottom: -6px;\n left: 6px;\n}\n.semi-tooltip-wrapper[x-placement=topLeft].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=topLeft] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n.semi-tooltip-wrapper[x-placement=topRight] .semi-tooltip-icon-arrow {\n bottom: -6px;\n right: 6px;\n}\n.semi-tooltip-wrapper[x-placement=topRight].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=topRight] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n.semi-tooltip-wrapper[x-placement=leftTop] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n right: -6px;\n top: 5px;\n}\n.semi-tooltip-wrapper[x-placement=leftTop].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=leftTop] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=left] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n right: -6px;\n top: 50%;\n transform: translateY(-50%);\n}\n.semi-tooltip-wrapper[x-placement=left].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=left] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=leftBottom] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n right: -6px;\n bottom: 5px;\n}\n.semi-tooltip-wrapper[x-placement=leftBottom].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=leftBottom] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=rightTop] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n left: -6px;\n top: 5px;\n transform: rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=rightTop].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=rightTop] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=right] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n left: -6px;\n top: 50%;\n transform: translateY(-50%) rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=right].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=right] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=rightBottom] .semi-tooltip-icon-arrow {\n width: 7px;\n height: 24px;\n left: -6px;\n bottom: 5px;\n transform: rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=rightBottom].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=rightBottom] .semi-tooltip-with-arrow {\n min-height: 34px;\n}\n.semi-tooltip-wrapper[x-placement=bottomLeft] .semi-tooltip-icon-arrow {\n top: -6px;\n left: 6px;\n transform: rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=bottomLeft].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=bottomLeft] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n.semi-tooltip-wrapper[x-placement=bottom] .semi-tooltip-icon-arrow {\n top: -6px;\n left: 50%;\n transform: translateX(-50%) rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=bottom].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=bottom] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n.semi-tooltip-wrapper[x-placement=bottomRight] .semi-tooltip-icon-arrow {\n right: 6px;\n top: -6px;\n transform: rotate(180deg);\n}\n.semi-tooltip-wrapper[x-placement=bottomRight].semi-tooltip-with-arrow,\n.semi-tooltip-wrapper[x-placement=bottomRight] .semi-tooltip-with-arrow {\n min-width: 36px;\n}\n\n.semi-rtl .semi-tooltip-wrapper,\n.semi-portal-rtl .semi-tooltip-wrapper {\n direction: rtl;\n padding-right: 12px;\n padding-left: 12px;\n left: auto;\n right: 0;\n}',""]),t.Z=a},15193:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,"/* shadow */\n/* sizing */\n/* spacing */\n.semi-icon {\n display: inline-block;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n text-rendering: optimizeLegibility;\n fill: currentColor;\n}\n\n.semi-icon-extra-small {\n font-size: 8px;\n}\n\n.semi-icon-small {\n font-size: 12px;\n}\n\n.semi-icon-default {\n font-size: 16px;\n}\n\n.semi-icon-large {\n font-size: 20px;\n}\n\n.semi-icon-extra-large {\n font-size: 24px;\n}\n\n.semi-icon-spinning {\n animation: 0.6s linear infinite semi-icon-animation-rotate;\n animation-fill-mode: forwards;\n}\n\n@keyframes semi-icon-animation-rotate {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}",""]),t.Z=a},54350:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,'/* shadow */\n/* sizing */\n/* spacing */\nbody, :host {\n --semi-transition_duration-slowest:0ms;\n --semi-transition_duration-slower:0ms;\n --semi-transition_duration-slow:0ms;\n --semi-transition_duration-normal:0ms;\n --semi-transition_duration-fast:0ms;\n --semi-transition_duration-faster:0ms;\n --semi-transition_duration-fastest:0ms;\n --semi-transition_duration-none:0ms;\n --semi-transition_function-linear:linear;\n --semi-transition_function-ease:ease;\n --semi-transition_function-easeIn:ease-in;\n --semi-transition_function-easeOut:ease-out;\n --semi-transition_function-easeInIOut:ease-in-out;\n --semi-transition_delay-none: 0ms;\n --semi-transition_delay-slowest:0ms;\n --semi-transition_delay-slower:0ms;\n --semi-transition_delay-slow:0ms;\n --semi-transition_delay-normal:0ms;\n --semi-transition_delay-fast:0ms;\n --semi-transition_delay-faster:0ms;\n --semi-transition_delay-fastest:0ms;\n --semi-transform_scale-none:scale(1,1);\n --semi-transform_scale-small:scale(1,1);\n --semi-transform_scale-medium:scale(1,1);\n --semi-transform_scale-large:scale(1,1);\n --semi-transform-rotate-none:rotate(0deg);\n --semi-transform_rotate-clockwise90deg:rotate(90deg);\n --semi-transform_rotate-clockwise180deg:rotate(180deg);\n --semi-transform_rotate-clockwise270deg:rotate(270deg);\n --semi-transform_rotate-clockwise360deg:rotate(360deg);\n --semi-transform_rotate-anticlockwise90deg:rotate(-90deg);\n --semi-transform_rotate-anticlockwise180deg:rotate(-180deg);\n --semi-transform_rotate-anticlockwise270deg:rotate(-270deg);\n --semi-transform_rotate-anticlockwise360deg:rotate(-360deg);\n}\n\nbody, body .semi-always-light, :host, :host .semi-always-light {\n --semi-amber-0: 254,251,235;\n --semi-amber-1: 252,245,206;\n --semi-amber-2: 249,232,158;\n --semi-amber-3: 246,216,111;\n --semi-amber-4: 243,198,65;\n --semi-amber-5: 240,177,20;\n --semi-amber-6: 200,138,15;\n --semi-amber-7: 160,102,10;\n --semi-amber-8: 120,70,6;\n --semi-amber-9: 80,43,3;\n --semi-black: 0,0,0;\n --semi-blue-0: 234,245,255;\n --semi-blue-1: 203,231,254;\n --semi-blue-2: 152,205,253;\n --semi-blue-3: 101,178,252;\n --semi-blue-4: 50,149,251;\n --semi-blue-5: 0,100,250;\n --semi-blue-6: 0,98,214;\n --semi-blue-7: 0,79,179;\n --semi-blue-8: 0,61,143;\n --semi-blue-9: 0,44,107;\n --semi-cyan-0: 229,247,248;\n --semi-cyan-1: 194,239,240;\n --semi-cyan-2: 138,221,226;\n --semi-cyan-3: 88,203,211;\n --semi-cyan-4: 44,184,197;\n --semi-cyan-5: 5,164,182;\n --semi-cyan-6: 3,134,152;\n --semi-cyan-7: 1,105,121;\n --semi-cyan-8: 0,77,91;\n --semi-cyan-9: 0,50,61;\n --semi-green-0: 236,247,236;\n --semi-green-1: 208,240,209;\n --semi-green-2: 164,224,167;\n --semi-green-3: 125,209,130;\n --semi-green-4: 90,194,98;\n --semi-green-5: 59,179,70;\n --semi-green-6: 48,149,59;\n --semi-green-7: 37,119,47;\n --semi-green-8: 27,89,36;\n --semi-green-9: 17,60,24;\n --semi-grey-0: 249,249,249;\n --semi-grey-1: 230,232,234;\n --semi-grey-2: 198,202,205;\n --semi-grey-3: 167,171,176;\n --semi-grey-4: 136,141,146;\n --semi-grey-5: 107,112,117;\n --semi-grey-6: 85,91,97;\n --semi-grey-7: 65,70,76;\n --semi-grey-8: 46,50,56;\n --semi-grey-9: 28,31,35;\n --semi-indigo-0: 236,239,248;\n --semi-indigo-1: 209,216,240;\n --semi-indigo-2: 167,179,225;\n --semi-indigo-3: 128,144,211;\n --semi-indigo-4: 94,111,196;\n --semi-indigo-5: 63,81,181;\n --semi-indigo-6: 51,66,161;\n --semi-indigo-7: 40,52,140;\n --semi-indigo-8: 31,40,120;\n --semi-indigo-9: 23,29,99;\n --semi-light-blue-0: 233,247,253;\n --semi-light-blue-1: 201,236,252;\n --semi-light-blue-2: 149,216,248;\n --semi-light-blue-3: 98,195,245;\n --semi-light-blue-4: 48,172,241;\n --semi-light-blue-5: 0,149,238;\n --semi-light-blue-6: 0,123,202;\n --semi-light-blue-7: 0,99,167;\n --semi-light-blue-8: 0,75,131;\n --semi-light-blue-9: 0,53,95;\n --semi-light-green-0: 243,248,236;\n --semi-light-green-1: 227,240,208;\n --semi-light-green-2: 200,226,165;\n --semi-light-green-3: 173,211,126;\n --semi-light-green-4: 147,197,91;\n --semi-light-green-5: 123,182,60;\n --semi-light-green-6: 100,152,48;\n --semi-light-green-7: 78,121,38;\n --semi-light-green-8: 57,91,27;\n --semi-light-green-9: 37,61,18;\n --semi-lime-0: 242,250,230;\n --semi-lime-1: 227,246,197;\n --semi-lime-2: 203,237,142;\n --semi-lime-3: 183,227,91;\n --semi-lime-4: 167,218,44;\n --semi-lime-5: 155,209,0;\n --semi-lime-6: 126,174,0;\n --semi-lime-7: 99,139,0;\n --semi-lime-8: 72,104,0;\n --semi-lime-9: 47,70,0;\n --semi-orange-0: 255,248,234;\n --semi-orange-1: 254,238,204;\n --semi-orange-2: 254,217,152;\n --semi-orange-3: 253,193,101;\n --semi-orange-4: 253,166,51;\n --semi-orange-5: 252,136,0;\n --semi-orange-6: 210,103,0;\n --semi-orange-7: 168,74,0;\n --semi-orange-8: 126,49,0;\n --semi-orange-9: 84,29,0;\n --semi-pink-0: 253,236,239;\n --semi-pink-1: 251,207,216;\n --semi-pink-2: 246,160,181;\n --semi-pink-3: 242,115,150;\n --semi-pink-4: 237,72,123;\n --semi-pink-5: 233,30,99;\n --semi-pink-6: 197,19,86;\n --semi-pink-7: 162,11,72;\n --semi-pink-8: 126,5,58;\n --semi-pink-9: 90,1,43;\n --semi-purple-0: 247,233,247;\n --semi-purple-1: 239,202,240;\n --semi-purple-2: 221,155,224;\n --semi-purple-3: 201,111,209;\n --semi-purple-4: 180,73,194;\n --semi-purple-5: 158,40,179;\n --semi-purple-6: 135,30,158;\n --semi-purple-7: 113,22,138;\n --semi-purple-8: 92,15,117;\n --semi-purple-9: 73,10,97;\n --semi-red-0: 254,242,237;\n --semi-red-1: 254,221,210;\n --semi-red-2: 253,183,165;\n --semi-red-3: 251,144,120;\n --semi-red-4: 250,102,76;\n --semi-red-5: 249,57,32;\n --semi-red-6: 213,37,21;\n --semi-red-7: 178,20,12;\n --semi-red-8: 142,8,5;\n --semi-red-9: 106,1,3;\n --semi-teal-0: 228,247,244;\n --semi-teal-1: 192,240,232;\n --semi-teal-2: 135,224,211;\n --semi-teal-3: 84,209,193;\n --semi-teal-4: 39,194,176;\n --semi-teal-5: 0,179,161;\n --semi-teal-6: 0,149,137;\n --semi-teal-7: 0,119,111;\n --semi-teal-8: 0,89,85;\n --semi-teal-9: 0,60,58;\n --semi-violet-0: 243,237,249;\n --semi-violet-1: 226,209,244;\n --semi-violet-2: 196,167,233;\n --semi-violet-3: 166,127,221;\n --semi-violet-4: 136,91,210;\n --semi-violet-5: 106,58,199;\n --semi-violet-6: 87,47,179;\n --semi-violet-7: 70,37,158;\n --semi-violet-8: 54,28,138;\n --semi-violet-9: 40,20,117;\n --semi-white: 255,255,255;\n --semi-yellow-0: 255,253,234;\n --semi-yellow-1: 254,251,203;\n --semi-yellow-2: 253,243,152;\n --semi-yellow-3: 252,232,101;\n --semi-yellow-4: 251,218,50;\n --semi-yellow-5: 250,200,0;\n --semi-yellow-6: 208,170,0;\n --semi-yellow-7: 167,139,0;\n --semi-yellow-8: 125,106,0;\n --semi-yellow-9: 83,72,0;\n}\n\nbody[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .semi-always-dark {\n --semi-red-0: 108,9,11;\n --semi-red-1: 144,17,16;\n --semi-red-2: 180,32,25;\n --semi-red-3: 215,51,36;\n --semi-red-4: 251,73,50;\n --semi-red-5: 252,114,90;\n --semi-red-6: 253,153,131;\n --semi-red-7: 253,190,172;\n --semi-red-8: 254,224,213;\n --semi-red-9: 255,243,239;\n --semi-pink-0: 92,7,48;\n --semi-pink-1: 128,14,65;\n --semi-pink-2: 164,23,81;\n --semi-pink-3: 199,34,97;\n --semi-pink-4: 235,47,113;\n --semi-pink-5: 239,86,134;\n --semi-pink-6: 243,126,159;\n --semi-pink-7: 247,168,188;\n --semi-pink-8: 251,211,220;\n --semi-pink-9: 253,238,241;\n --semi-purple-0: 74,16,97;\n --semi-purple-1: 94,23,118;\n --semi-purple-2: 115,31,138;\n --semi-purple-3: 137,40,159;\n --semi-purple-4: 160,51,179;\n --semi-purple-5: 181,83,194;\n --semi-purple-6: 202,120,209;\n --semi-purple-7: 221,160,225;\n --semi-purple-8: 239,206,240;\n --semi-purple-9: 247,235,247;\n --semi-violet-0: 64,27,119;\n --semi-violet-1: 76,36,140;\n --semi-violet-2: 88,46,160;\n --semi-violet-3: 100,57,181;\n --semi-violet-4: 114,70,201;\n --semi-violet-5: 136,101,212;\n --semi-violet-6: 162,136,223;\n --semi-violet-7: 190,173,233;\n --semi-violet-8: 221,212,244;\n --semi-violet-9: 241,238,250;\n --semi-indigo-0: 23,30,101;\n --semi-indigo-1: 32,41,122;\n --semi-indigo-2: 41,54,142;\n --semi-indigo-3: 52,68,163;\n --semi-indigo-4: 64,83,183;\n --semi-indigo-5: 95,113,197;\n --semi-indigo-6: 129,145,212;\n --semi-indigo-7: 167,180,226;\n --semi-indigo-8: 209,216,241;\n --semi-indigo-9: 237,239,248;\n --semi-blue-0: 5,49,112;\n --semi-blue-1: 10,70,148;\n --semi-blue-2: 19,92,184;\n --semi-blue-3: 29,117,219;\n --semi-blue-4: 41,144,255;\n --semi-blue-5: 84,169,255;\n --semi-blue-6: 127,193,255;\n --semi-blue-7: 169,215,255;\n --semi-blue-8: 212,236,255;\n --semi-blue-9: 239,248,255;\n --semi-light-blue-0: 0,55,97;\n --semi-light-blue-1: 0,77,133;\n --semi-light-blue-2: 3,102,169;\n --semi-light-blue-3: 10,129,204;\n --semi-light-blue-4: 19,159,240;\n --semi-light-blue-5: 64,180,243;\n --semi-light-blue-6: 110,200,246;\n --semi-light-blue-7: 157,220,249;\n --semi-light-blue-8: 206,238,252;\n --semi-light-blue-9: 235,248,254;\n --semi-cyan-0: 4,52,61;\n --semi-cyan-1: 7,79,92;\n --semi-cyan-2: 10,108,123;\n --semi-cyan-3: 14,137,153;\n --semi-cyan-4: 19,168,184;\n --semi-cyan-5: 56,187,198;\n --semi-cyan-6: 98,205,212;\n --semi-cyan-7: 145,223,227;\n --semi-cyan-8: 198,239,241;\n --semi-cyan-9: 231,247,248;\n --semi-teal-0: 2,60,57;\n --semi-teal-1: 4,90,85;\n --semi-teal-2: 7,119,111;\n --semi-teal-3: 10,149,136;\n --semi-teal-4: 14,179,161;\n --semi-teal-5: 51,194,176;\n --semi-teal-6: 94,209,193;\n --semi-teal-7: 142,225,211;\n --semi-teal-8: 196,240,232;\n --semi-teal-9: 230,247,244;\n --semi-green-0: 18,60,25;\n --semi-green-1: 28,90,37;\n --semi-green-2: 39,119,49;\n --semi-green-3: 50,149,61;\n --semi-green-4: 62,179,73;\n --semi-green-5: 93,194,100;\n --semi-green-6: 127,209,132;\n --semi-green-7: 166,225,168;\n --semi-green-8: 208,240,209;\n --semi-green-9: 236,247,236;\n --semi-light-green-0: 38,61,19;\n --semi-light-green-1: 59,92,29;\n --semi-light-green-2: 81,123,40;\n --semi-light-green-3: 103,153,52;\n --semi-light-green-4: 127,184,64;\n --semi-light-green-5: 151,198,95;\n --semi-light-green-6: 176,212,129;\n --semi-light-green-7: 201,227,167;\n --semi-light-green-8: 228,241,209;\n --semi-light-green-9: 243,248,237;\n --semi-lime-0: 49,70,3;\n --semi-lime-1: 75,105,5;\n --semi-lime-2: 103,141,9;\n --semi-lime-3: 132,176,12;\n --semi-lime-4: 162,211,17;\n --semi-lime-5: 174,220,58;\n --semi-lime-6: 189,229,102;\n --semi-lime-7: 207,237,150;\n --semi-lime-8: 229,246,201;\n --semi-lime-9: 243,251,233;\n --semi-yellow-0: 84,73,3;\n --semi-yellow-1: 126,108,6;\n --semi-yellow-2: 168,142,10;\n --semi-yellow-3: 210,175,15;\n --semi-yellow-4: 252,206,20;\n --semi-yellow-5: 253,222,67;\n --semi-yellow-6: 253,235,113;\n --semi-yellow-7: 254,245,160;\n --semi-yellow-8: 254,251,208;\n --semi-yellow-9: 255,254,236;\n --semi-amber-0: 81,46,9;\n --semi-amber-1: 121,75,15;\n --semi-amber-2: 161,107,22;\n --semi-amber-3: 202,143,30;\n --semi-amber-4: 242,183,38;\n --semi-amber-5: 245,202,80;\n --semi-amber-6: 247,219,122;\n --semi-amber-7: 250,234,166;\n --semi-amber-8: 252,246,210;\n --semi-amber-9: 254,251,237;\n --semi-orange-0: 85,31,3;\n --semi-orange-1: 128,53,6;\n --semi-orange-2: 170,80,10;\n --semi-orange-3: 213,111,15;\n --semi-orange-4: 255,146,20;\n --semi-orange-5: 255,174,67;\n --semi-orange-6: 255,199,114;\n --semi-orange-7: 255,221,161;\n --semi-orange-8: 255,239,208;\n --semi-orange-9: 255,249,237;\n --semi-grey-0: 28,31,35;\n --semi-grey-1: 46,50,56;\n --semi-grey-2: 65,70,76;\n --semi-grey-3: 85,91,97;\n --semi-grey-4: 107,112,117;\n --semi-grey-5: 136,141,146;\n --semi-grey-6: 167,171,176;\n --semi-grey-7: 198,202,205;\n --semi-grey-8: 230,232,234;\n --semi-grey-9: 249,249,249;\n --semi-white: 255, 255, 255;\n --semi-black: 0, 0, 0;\n}\n\nbody, body[theme-mode=dark] .semi-always-light, :host, :host .semi-always-light {\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n --semi-color-white: rgba(var(--semi-white), 1);\n --semi-color-black: rgba(var(--semi-black), 1);\n --semi-color-primary: rgba(var(--semi-blue-5), 1);\n --semi-color-primary-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-primary-active: rgba(var(--semi-blue-7), 1);\n --semi-color-primary-disabled: rgba(var(--semi-blue-2), 1);\n --semi-color-primary-light-default: rgba(var(--semi-blue-0), 1);\n --semi-color-primary-light-hover: rgba(var(--semi-blue-1), 1);\n --semi-color-primary-light-active: rgba(var(--semi-blue-2), 1);\n --semi-color-secondary: rgba(var(--semi-light-blue-5), 1);\n --semi-color-secondary-hover: rgba(var(--semi-light-blue-6), 1);\n --semi-color-secondary-active: rgba(var(--semi-light-blue-7), 1);\n --semi-color-secondary-disabled: rgba(var(--semi-light-blue-2), 1);\n --semi-color-secondary-light-default: rgba(var(--semi-light-blue-0), 1);\n --semi-color-secondary-light-hover: rgba(var(--semi-light-blue-1), 1);\n --semi-color-secondary-light-active: rgba(var(--semi-light-blue-2), 1);\n --semi-color-tertiary: rgba(var(--semi-grey-5), 1);\n --semi-color-tertiary-hover: rgba(var(--semi-grey-6), 1);\n --semi-color-tertiary-active: rgba(var(--semi-grey-7), 1);\n --semi-color-tertiary-light-default: rgba(var(--semi-grey-0), 1);\n --semi-color-tertiary-light-hover: rgba(var(--semi-grey-1), 1);\n --semi-color-tertiary-light-active: rgba(var(--semi-grey-2), 1);\n --semi-color-default: rgba(var(--semi-grey-0), 1);\n --semi-color-default-hover: rgba(var(--semi-grey-1), 1);\n --semi-color-default-active: rgba(var(--semi-grey-2), 1);\n --semi-color-info: rgba(var(--semi-blue-5), 1);\n --semi-color-info-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-info-active: rgba(var(--semi-blue-7), 1);\n --semi-color-info-disabled: rgba(var(--semi-blue-2), 1);\n --semi-color-info-light-default: rgba(var(--semi-blue-0), 1);\n --semi-color-info-light-hover: rgba(var(--semi-blue-1), 1);\n --semi-color-info-light-active: rgba(var(--semi-blue-2), 1);\n --semi-color-success: rgba(var(--semi-green-5), 1);\n --semi-color-success-hover: rgba(var(--semi-green-6), 1);\n --semi-color-success-active: rgba(var(--semi-green-7), 1);\n --semi-color-success-disabled: rgba(var(--semi-green-2), 1);\n --semi-color-success-light-default: rgba(var(--semi-green-0), 1);\n --semi-color-success-light-hover: rgba(var(--semi-green-1), 1);\n --semi-color-success-light-active: rgba(var(--semi-green-2), 1);\n --semi-color-danger: rgba(var(--semi-red-5), 1);\n --semi-color-danger-hover: rgba(var(--semi-red-6), 1);\n --semi-color-danger-active: rgba(var(--semi-red-7), 1);\n --semi-color-danger-light-default: rgba(var(--semi-red-0), 1);\n --semi-color-danger-light-hover: rgba(var(--semi-red-1), 1);\n --semi-color-danger-light-active: rgba(var(--semi-red-2), 1);\n --semi-color-warning: rgba(var(--semi-orange-5), 1);\n --semi-color-warning-hover: rgba(var(--semi-orange-6), 1);\n --semi-color-warning-active: rgba(var(--semi-orange-7), 1);\n --semi-color-warning-light-default: rgba(var(--semi-orange-0), 1);\n --semi-color-warning-light-hover: rgba(var(--semi-orange-1), 1);\n --semi-color-warning-light-active: rgba(var(--semi-orange-2), 1);\n --semi-color-focus-border: rgba(var(--semi-blue-5), 1);\n --semi-color-disabled-text: rgba(var(--semi-grey-9), .35);\n --semi-color-disabled-border: rgba(var(--semi-grey-1), 1);\n --semi-color-disabled-bg: rgba(var(--semi-grey-1), 1);\n --semi-color-disabled-fill: rgba(var(--semi-grey-8), .04);\n --semi-color-shadow: rgba(var(--semi-black), .04);\n --semi-color-link: rgba(var(--semi-blue-5), 1);\n --semi-color-link-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-link-active: rgba(var(--semi-blue-7), 1);\n --semi-color-link-visited: rgba(var(--semi-blue-5), 1);\n --semi-color-border: rgba(var(--semi-grey-9), .08);\n --semi-color-nav-bg: rgba(var(--semi-white), 1);\n --semi-color-overlay-bg: rgba(22, 22, 26, .6);\n --semi-color-fill-0: rgba(var(--semi-grey-8), .05);\n --semi-color-fill-1: rgba(var(--semi-grey-8), .09);\n --semi-color-fill-2: rgba(var(--semi-grey-8), .13);\n --semi-color-bg-0: rgba(var(--semi-white), 1);\n --semi-color-bg-1: rgba(var(--semi-white), 1);\n --semi-color-bg-2: rgba(var(--semi-white), 1);\n --semi-color-bg-3: rgba(var(--semi-white), 1);\n --semi-color-bg-4: rgba(var(--semi-white), 1);\n --semi-color-text-0: rgba(var(--semi-grey-9), 1);\n --semi-color-text-1: rgba(var(--semi-grey-9), .8);\n --semi-color-text-2: rgba(var(--semi-grey-9), .62);\n --semi-color-text-3: rgba(var(--semi-grey-9), .35);\n --semi-shadow-elevated: 0 0 1px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .1);\n --semi-border-radius-extra-small: 3px;\n --semi-border-radius-small: 3px;\n --semi-border-radius-medium: 6px;\n --semi-border-radius-large: 12px;\n --semi-border-radius-circle: 50%;\n --semi-border-radius-full: 9999px;\n --semi-color-highlight-bg: rgba(var(--semi-yellow-4), 1);\n --semi-color-highlight: rgba(var(--semi-black), 1);\n --semi-color-data-0: rgba(87, 105, 255, 1);\n --semi-color-data-1: rgba(142, 212, 231, 1);\n --semi-color-data-2: rgba(245, 135, 0, 1);\n --semi-color-data-3: rgba(220, 183, 252, 1);\n --semi-color-data-4: rgba(74, 156, 247, 1);\n --semi-color-data-5: rgba(243, 204, 53, 1);\n --semi-color-data-6: rgba(254, 128, 144, 1);\n --semi-color-data-7: rgba(139, 215, 210, 1);\n --semi-color-data-8: rgba(131, 176, 35, 1);\n --semi-color-data-9: rgba(233, 165, 229, 1);\n --semi-color-data-10: rgba(48, 167, 206, 1);\n --semi-color-data-11: rgba(249, 192, 100, 1);\n --semi-color-data-12: rgba(177, 113, 249, 1);\n --semi-color-data-13: rgba(119, 182, 249, 1);\n --semi-color-data-14: rgba(200, 143, 2, 1);\n --semi-color-data-15: rgba(255, 170, 178, 1);\n --semi-color-data-16: rgba(51, 176, 171, 1);\n --semi-color-data-17: rgba(182, 215, 129, 1);\n --semi-color-data-18: rgba(212, 88, 212, 1);\n --semi-color-data-19: rgba(188, 198, 255, 1);\n}\n\nbody[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .semi-always-dark {\n font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n --semi-color-white: rgba(228, 231, 245, 1);\n --semi-color-black: rgba(var(--semi-black), 1);\n --semi-color-primary: rgba(var(--semi-blue-5), 1);\n --semi-color-primary-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-primary-active: rgba(var(--semi-blue-7), 1);\n --semi-color-primary-disabled: rgba(var(--semi-blue-2), 1);\n --semi-color-primary-light-default: rgba(var(--semi-blue-5), .2);\n --semi-color-primary-light-hover: rgba(var(--semi-blue-5), .3);\n --semi-color-primary-light-active: rgba(var(--semi-blue-5), .4);\n --semi-color-secondary: rgba(var(--semi-light-blue-5), 1);\n --semi-color-secondary-hover: rgba(var(--semi-light-blue-6), 1);\n --semi-color-secondary-active: rgba(var(--semi-light-blue-7), 1);\n --semi-color-secondary-disabled: rgba(var(--semi-light-blue-2), 1);\n --semi-color-secondary-light-default: rgba(var(--semi-light-blue-5), .2);\n --semi-color-secondary-light-hover: rgba(var(--semi-light-blue-5), .3);\n --semi-color-secondary-light-active: rgba(var(--semi-light-blue-5), .4);\n --semi-color-tertiary: rgba(var(--semi-grey-5), 1);\n --semi-color-tertiary-hover: rgba(var(--semi-grey-6), 1);\n --semi-color-tertiary-active: rgba(var(--semi-grey-7), 1);\n --semi-color-tertiary-light-default: rgba(var(--semi-grey-5), .2);\n --semi-color-tertiary-light-hover: rgba(var(--semi-grey-5), .3);\n --semi-color-tertiary-light-active: rgba(var(--semi-grey-5), .4);\n --semi-color-default: rgba(var(--semi-grey-0), 1);\n --semi-color-default-hover: rgba(var(--semi-grey-1), 1);\n --semi-color-default-active: rgba(var(--semi-grey-2), 1);\n --semi-color-info: rgba(var(--semi-blue-5), 1);\n --semi-color-info-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-info-active: rgba(var(--semi-blue-7), 1);\n --semi-color-info-disabled: rgba(var(--semi-blue-2), 1);\n --semi-color-info-light-default: rgba(var(--semi-blue-5), .2);\n --semi-color-info-light-hover: rgba(var(--semi-blue-5), .3);\n --semi-color-info-light-active: rgba(var(--semi-blue-5), .4);\n --semi-color-success: rgba(var(--semi-green-5), 1);\n --semi-color-success-hover: rgba(var(--semi-green-6), 1);\n --semi-color-success-active: rgba(var(--semi-green-7), 1);\n --semi-color-success-disabled: rgba(var(--semi-green-2), 1);\n --semi-color-success-light-default: rgba(var(--semi-green-5), .2);\n --semi-color-success-light-hover: rgba(var(--semi-green-5), .3);\n --semi-color-success-light-active: rgba(var(--semi-green-5), .4);\n --semi-color-danger: rgba(var(--semi-red-5), 1);\n --semi-color-danger-hover: rgba(var(--semi-red-6), 1);\n --semi-color-danger-active: rgba(var(--semi-red-7), 1);\n --semi-color-danger-light-default: rgba(var(--semi-red-5), .2);\n --semi-color-danger-light-hover: rgba(var(--semi-red-5), .3);\n --semi-color-danger-light-active: rgba(var(--semi-red-5), .4);\n --semi-color-warning: rgba(var(--semi-orange-5), 1);\n --semi-color-warning-hover: rgba(var(--semi-orange-6), 1);\n --semi-color-warning-active: rgba(var(--semi-orange-7), 1);\n --semi-color-warning-light-default: rgba(var(--semi-orange-5), .2);\n --semi-color-warning-light-hover: rgba(var(--semi-orange-5), .3);\n --semi-color-warning-light-active: rgba(var(--semi-orange-5), .4);\n --semi-color-focus-border: rgba(var(--semi-blue-5), 1);\n --semi-color-disabled-text: rgba(var(--semi-grey-9), .35);\n --semi-color-disabled-border: rgba(var(--semi-grey-1), 1);\n --semi-color-disabled-bg: rgba(var(--semi-grey-1), 1);\n --semi-color-disabled-fill: rgba(var(--semi-grey-8), .04);\n --semi-color-link: rgba(var(--semi-blue-5), 1);\n --semi-color-link-hover: rgba(var(--semi-blue-6), 1);\n --semi-color-link-active: rgba(var(--semi-blue-7), 1);\n --semi-color-link-visited: rgba(var(--semi-blue-5), 1);\n --semi-color-nav-bg: rgba(35, 36, 41, 1);\n --semi-shadow-elevated: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 4px 14px rgba(0, 0, 0, .25);\n --semi-color-overlay-bg: rgba(22, 22, 26, .6);\n --semi-color-fill-0: rgba(var(--semi-white), .12);\n --semi-color-fill-1: rgba(var(--semi-white), .16);\n --semi-color-fill-2: rgba(var(--semi-white), .20);\n --semi-color-border: rgba(var(--semi-white), .08);\n --semi-color-shadow: rgba(var(--semi-black), .04);\n --semi-color-bg-0: rgba(22, 22, 26, 1);\n --semi-color-bg-1: rgba(35, 36, 41, 1);\n --semi-color-bg-2: rgba(53, 54, 60, 1);\n --semi-color-bg-3: rgba(67, 68, 74, 1);\n --semi-color-bg-4: rgba(79, 81, 89, 1);\n --semi-color-text-0: rgba(var(--semi-grey-9), 1);\n --semi-color-text-1: rgba(var(--semi-grey-9), .8);\n --semi-color-text-2: rgba(var(--semi-grey-9), .6);\n --semi-color-text-3: rgba(var(--semi-grey-9), .35);\n --semi-border-radius-extra-small: 3px;\n --semi-border-radius-small: 3px;\n --semi-border-radius-medium: 6px;\n --semi-border-radius-large: 12px;\n --semi-border-radius-circle: 50%;\n --semi-border-radius-full: 9999px;\n --semi-color-highlight-bg: rgba(var(--semi-yellow-2), 1);\n --semi-color-highlight: rgba(var(--semi-white), 1);\n --semi-color-data-0: rgba(94, 109, 194, 1);\n --semi-color-data-1: rgba(8, 104, 120, 1);\n --semi-color-data-2: rgba(250, 173, 63, 1);\n --semi-color-data-3: rgba(76, 43, 156, 1);\n --semi-color-data-4: rgba(16, 125, 248, 1);\n --semi-color-data-5: rgba(248, 202, 16, 1);\n --semi-color-data-6: rgba(195, 30, 87, 1);\n --semi-color-data-7: rgba(5, 119, 115, 1);\n --semi-color-data-8: rgba(154, 207, 13, 1);\n --semi-color-data-9: rgba(117, 29, 138, 1);\n --semi-color-data-10: rgba(16, 162, 180, 1);\n --semi-color-data-11: rgba(208, 110, 11, 1);\n --semi-color-data-12: rgba(113, 66, 197, 1);\n --semi-color-data-13: rgba(7, 100, 212, 1);\n --semi-color-data-14: rgba(251, 232, 110, 1);\n --semi-color-data-15: rgba(160, 19, 73, 1);\n --semi-color-data-16: rgba(11, 179, 167, 1);\n --semi-color-data-17: rgba(98, 138, 6, 1);\n --semi-color-data-18: rgba(162, 48, 179, 1);\n --semi-color-data-19: rgba(40, 51, 138, 1);\n}\n\n.semi-light-scrollbar::-webkit-scrollbar, .semi-light-scrollbar *::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.semi-light-scrollbar::-webkit-scrollbar-track, .semi-light-scrollbar *::-webkit-scrollbar-track {\n background: rgba(0, 0, 0, 0);\n}\n.semi-light-scrollbar::-webkit-scrollbar-corner, .semi-light-scrollbar *::-webkit-scrollbar-corner {\n background-color: rgba(0, 0, 0, 0);\n}\n.semi-light-scrollbar::-webkit-scrollbar-thumb, .semi-light-scrollbar *::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background: transparent;\n -webkit-transition: all 1s;\n transition: all 1s;\n}\n.semi-light-scrollbar:hover::-webkit-scrollbar-thumb, .semi-light-scrollbar *:hover::-webkit-scrollbar-thumb {\n background: var(--semi-color-fill-2);\n}\n.semi-light-scrollbar::-webkit-scrollbar-thumb:hover, .semi-light-scrollbar *::-webkit-scrollbar-thumb:hover {\n background: var(--semi-color-fill-1);\n}',""]),t.Z=a},50831:function(e,t,n){"use strict";var r=n("33465"),i=n.n(r),o=n("38843"),a=n.n(o)()(i());a.push([e.id,".light-theme {\n --bg-base-transparent: transparent;\n --bg-base-1: #ffff;\n --bg-base-1-overlay: #f5f5f5ff;\n --bg-base-2: #ffff;\n --bg-base-2-overlay: #f5f5f5ff;\n --bg-base-3: #ffff;\n --bg-base-3-overlay: #f5f5f5ff;\n --bg-base-4: #ffff;\n --bg-press: #e6e6e6ff;\n --primary-50: #06ff;\n --primary-60: #0057d9ff;\n --primary-transparent-1: #0066ff0f;\n --primary-transparent-2: #0066ff1a;\n --primary-transparent-3: #0066ff26;\n --primary-transparent-4: #06f6;\n --neutral-100: #191919ff;\n --neutral-70: #666f;\n --neutral-50: #999f;\n --neutral-30: #cccf;\n --neutral-transparent-1: #0000000f;\n --neutral-transparent-2: #0000001a;\n --neutral-transparent-3: #00000026;\n --conditional-danger-50: #ff3b30ff;\n --conditional-warning-50: #ff9500ff;\n --conditional-success-50: #34c759ff;\n --static-static-white: #ffff;\n --static-black: #000f;\n --static-black-transparent-1: #0000004d;\n --additional-green: #e5ffe7;\n --additional-wathet: #e5fffa;\n --additional-blue: #e5f5ff;\n --additional-purple: #eeebff;\n --additional-pink: #ffebf1;\n --additional-orange: #fff0db;\n --additional-yellow: #fffecc;\n --background: 255, 255, 255;\n --foreground: 28, 28, 35;\n --icon: 221, 0%, 10%;\n --icon-dark: 221, 0%, 10%;\n --icon-gray: 221, 0%, 90%;\n --black-7: 0, 0, 0;\n --black-6: 16, 16, 16;\n --black-5: 54, 61, 77;\n --black-4: 102, 102, 104;\n --black-3: 149, 149, 151;\n --black-2: 173, 173, 175;\n --black-1: 220, 220, 222;\n --white-6: 209, 209, 211;\n --white-5: 219, 219, 220;\n --white-4: 228, 228, 230;\n --white-3: 238, 238, 239;\n --white-2: 248, 248, 248;\n --white-1: 255, 255, 255;\n --coze-fg-revert: 255, 255, 255;\n --coze-fg-white: 255, 255, 255;\n --coze-fg-7: 255, 255, 255;\n --coze-fg-6: 255, 255, 255;\n --coze-fg-5: 255, 255, 255;\n --coze-fg-4: 6, 7, 9;\n --coze-fg-3: 6, 7, 9;\n --coze-fg-2: 6, 7, 9;\n --coze-fg-1: 6, 7, 9;\n --coze-bg-9: 6, 7, 9;\n --coze-bg-8: 6, 7, 9;\n --coze-bg-7: 6, 7, 9;\n --coze-bg-6: 6, 7, 9;\n --coze-bg-5: 6, 7, 9;\n --coze-bg-4: 6, 7, 9;\n --coze-bg-3: 255, 255, 255;\n --coze-bg-2: 249, 249, 249;\n --coze-bg-1: 244, 244, 246;\n --coze-stroke-5: 6, 7, 9;\n --coze-stroke-6: 6, 7, 9;\n --coze-mask-5: 0, 0, 0;\n --coze-shadow-0: 0, 0, 0;\n --coze-brand-50: 92, 97, 255;\n --coze-brand-30: 158, 161, 255;\n --coze-brand-7: 65, 35, 217;\n --coze-brand-6: 71, 44, 222;\n --coze-brand-5: 78, 64, 229;\n --coze-brand-3: 148, 152, 247;\n --coze-brand-2: 157, 162, 250;\n --coze-brand-1: 186, 192, 255;\n --coze-red-7: 217, 0, 18;\n --coze-red-6: 227, 0, 19;\n --coze-red-5: 242, 36, 53;\n --coze-red-3: 250, 135, 145;\n --coze-red-2: 252, 146, 155;\n --coze-red-1: 255, 184, 190;\n --coze-yellow-50: 242, 182, 0;\n --coze-yellow-30: 250, 191, 12;\n --coze-yellow-7: 235, 106, 0;\n --coze-yellow-6: 245, 110, 0;\n --coze-yellow-5: 255, 129, 26;\n --coze-yellow-3: 255, 161, 84;\n --coze-yellow-2: 255, 169, 99;\n --coze-yellow-1: 255, 188, 133;\n --coze-green-7: 0, 161, 54;\n --coze-green-6: 0, 168, 56;\n --coze-green-5: 0, 184, 62;\n --coze-green-3: 54, 209, 106;\n --coze-green-2: 67, 217, 117;\n --coze-green-1: 103, 229, 146;\n --coze-orange-5: 199, 66, 0;\n --coze-orange-3: 237, 150, 78;\n --coze-emerald-5: 0, 125, 94;\n --coze-emerald-3: 26, 201, 137;\n --coze-emerald-50: 0, 184, 122;\n --coze-emerald-30: 54, 209, 158;\n --coze-emerald-20: 66, 214, 165;\n --coze-emerald-10: 103, 229, 188;\n --coze-cyan-5: 0, 120, 161;\n --coze-cyan-3: 62, 191, 214;\n --coze-cyan-50: 0, 159, 191;\n --coze-cyan-30: 41, 198, 229;\n --coze-cyan-20: 50, 206, 237;\n --coze-cyan-10: 77, 225, 255;\n --coze-blue-5: 43, 87, 217;\n --coze-blue-3: 126, 169, 242;\n --coze-blue-50: 48, 113, 242;\n --coze-blue-30: 127, 168, 250;\n --coze-blue-20: 139, 177, 252;\n --coze-blue-10: 171, 199, 255;\n --coze-purple-7: 146, 0, 219;\n --coze-purple-6: 155, 0, 232;\n --coze-purple-5: 172, 5, 255;\n --coze-purple-3: 216, 138, 255;\n --coze-purple-2: 218, 145, 255;\n --coze-purple-1: 231, 184, 255;\n --coze-purple-50: 202, 97, 255;\n --coze-purple-30: 219, 148, 255;\n --coze-purple-20: 223, 158, 255;\n --coze-purple-10: 231, 184, 255;\n --coze-magenta-5: 209, 0, 157;\n --coze-magenta-3: 242, 124, 199;\n --coze-magenta-50: 255, 77, 195;\n --coze-magenta-30: 255, 138, 216;\n --coze-magenta-20: 255, 150, 220;\n --coze-magenta-10: 255, 178, 229;\n --coze-alternative-50: 191, 229, 0;\n --coze-alternative-30: 187, 224, 0;\n --coze-1080: 1080px;\n --coze-800: 800px;\n --coze-640: 640px;\n --coze-480: 480px;\n --coze-320: 320px;\n --coze-240: 240px;\n --coze-200: 200px;\n --coze-160: 160px;\n --coze-120: 120px;\n --coze-96: 96px;\n --coze-80: 80px;\n --coze-64: 64px;\n --coze-48: 48px;\n --coze-40: 40px;\n --coze-38: 38px;\n --coze-36: 36px;\n --coze-32: 32px;\n --coze-30: 30px;\n --coze-28: 28px;\n --coze-26: 26px;\n --coze-24: 24px;\n --coze-22: 22px;\n --coze-20: 20px;\n --coze-18: 18px;\n --coze-16: 16px;\n --coze-15: 15px;\n --coze-14: 14px;\n --coze-12: 12px;\n --coze-10: 10px;\n --coze-9: 9px;\n --coze-8: 8px;\n --coze-6: 6px;\n --coze-5: 5px;\n --coze-4: 4px;\n --coze-3: 3px;\n --coze-2: 2px;\n --coze-1: 1px;\n --coze-fg-1-alpha: 0.3;\n --coze-fg-2-alpha: 0.5;\n --coze-fg-3-alpha: 0.8;\n --coze-fg-4-alpha: 0.96;\n --coze-fg-5-alpha: 1;\n --coze-fg-6-alpha: 1;\n --coze-fg-7-alpha: 1;\n --coze-fg-revert-alpha: 1;\n --coze-fg-white-alpha: 1;\n --coze-bg-4-alpha: 0.02;\n --coze-bg-5-alpha: 0.04;\n --coze-bg-6-alpha: 0.1;\n --coze-bg-7-alpha: 0.12;\n --coze-bg-8-alpha: 0.14;\n --coze-bg-9-alpha: 0.16;\n --coze-stroke-5-alpha: 0.1;\n --coze-stroke-6-alpha: 0.15;\n --coze-brand-1-alpha: 0.2;\n --coze-brand-2-alpha: 0.38;\n --coze-brand-3-alpha: 0.44;\n --coze-brand-30-alpha: 0.48;\n --coze-brand-50-alpha: 1;\n --coze-red-1-alpha: 0.2;\n --coze-red-2-alpha: 0.39;\n --coze-red-3-alpha: 0.46;\n --coze-yellow-50-alpha: 1;\n --coze-yellow-30-alpha: 0.6;\n --coze-yellow-1-alpha: 0.2;\n --coze-yellow-2-alpha: 0.46;\n --coze-yellow-3-alpha: 0.56;\n --coze-green-1-alpha: 0.2;\n --coze-green-2-alpha: 0.46;\n --coze-green-3-alpha: 0.53;\n --coze-orange-5-alpha: 1;\n --coze-orange-3-alpha: 0.47;\n --coze-emerald-5-alpha: 1;\n --coze-emerald-3-alpha: 0.47;\n --coze-emerald-50-alpha: 1;\n --coze-emerald-30-alpha: 0.55;\n --coze-emerald-20-alpha: 0.45;\n --coze-emerald-10-alpha: 0.2;\n --coze-cyan-5-alpha: 1;\n --coze-cyan-3-alpha: 0.49;\n --coze-cyan-50-alpha: 1;\n --coze-cyan-30-alpha: 0.52;\n --coze-cyan-20-alpha: 0.43;\n --coze-cyan-10-alpha: 0.2;\n --coze-blue-5-alpha: 1;\n --coze-blue-3-alpha: 0.46;\n --coze-blue-50-alpha: 1;\n --coze-blue-30-alpha: 0.48;\n --coze-blue-20-alpha: 0.4;\n --coze-blue-10-alpha: 0.2;\n --coze-purple-7-alpha: 1;\n --coze-purple-6-alpha: 1;\n --coze-purple-5-alpha: 1;\n --coze-purple-3-alpha: 0.46;\n --coze-purple-2-alpha: 0.37;\n --coze-purple-1-alpha: 0.2;\n --coze-purple-50-alpha: 1;\n --coze-purple-30-alpha: 0.52;\n --coze-purple-20-alpha: 0.43;\n --coze-purple-10-alpha: 0.2;\n --coze-magenta-5-alpha: 1;\n --coze-magenta-3-alpha: 0.41;\n --coze-magenta-50-alpha: 1;\n --coze-magenta-30-alpha: 0.51;\n --coze-magenta-20-alpha: 0.43;\n --coze-magenta-10-alpha: 0.2;\n --coze-alternative-30-alpha: 0.6;\n --coz-fg-hglt-plus: rgba(255, 255, 255, 100%);\n --coz-fg-hglt-plus-dim: rgba(255, 255, 255, 100%);\n --coz-fg-hglt: rgba(78, 64, 229, 100%);\n --coz-fg-hglt-dim: rgba(148, 152, 247, 44%);\n --coz-fg-plus: rgba(6, 7, 9, 96%);\n --coz-fg: rgba(6, 7, 9, 80%);\n --coz-fg-primary: rgba(6, 7, 9, 80%);\n --coz-fg-secondary: rgba(6, 7, 9, 50%);\n --coz-fg-dim: rgba(6, 7, 9, 30%);\n --coz-fg-white: rgba(255, 255, 255, 100%);\n --coz-fg-white-dim: rgba(255, 255, 255, 100%);\n --coz-fg-hglt-ai: rgba(172, 5, 255, 100%);\n --coz-fg-hglt-ai-dim: rgba(216, 138, 255, 46%);\n --coz-fg-hglt-red: rgba(242, 36, 53, 100%);\n --coz-fg-hglt-red-dim: rgba(250, 135, 145, 46%);\n --coz-fg-hglt-yellow: rgba(255, 129, 26, 100%);\n --coz-fg-hglt-yellow-dim: rgba(255, 161, 84, 56%);\n --coz-fg-hglt-green: rgba(0, 184, 62, 100%);\n --coz-fg-hglt-green-dim: rgba(54, 209, 106, 53%);\n --coz-fg-color-orange: rgba(255, 129, 26, 100%);\n --coz-fg-color-orange-dim: rgba(255, 161, 84, 56%);\n --coz-fg-color-emerald: rgba(0, 184, 62, 100%);\n --coz-fg-color-emerald-dim: rgba(54, 209, 158, 55%);\n --coz-fg-color-cyan: rgba(0, 159, 191, 100%);\n --coz-fg-color-cyan-dim: rgba(41, 198, 229, 52%);\n --coz-fg-color-blue: rgba(48, 113, 242, 100%);\n --coz-fg-color-blue-dim: rgba(127, 168, 250, 48%);\n --coz-fg-color-purple: rgba(202, 97, 255, 100%);\n --coz-fg-color-purple-dim: rgba(219, 148, 255, 52%);\n --coz-fg-color-magenta: rgba(255, 77, 195, 100%);\n --coz-fg-color-magenta-dim: rgba(255, 138, 216, 51%);\n --coz-fg-color-yellow: rgba(250, 191, 12, 100%);\n --coz-fg-color-yellow-dim: rgba(242, 182, 0, 60%);\n --coz-fg-hglt-orange: rgba(199, 66, 0, 100%);\n --coz-fg-hglt-orange-dim: rgba(237, 150, 78, 47%);\n --coz-fg-hglt-emerald: rgba(0, 125, 94, 100%);\n --coz-fg-hglt-emerald-dim: rgba(26, 201, 137, 47%);\n --coz-fg-hglt-cyan: rgba(0, 125, 94, 100%);\n --coz-fg-hglt-cyan-dim: rgba(26, 201, 137, 47%);\n --coz-fg-hglt-blue: rgba(43, 87, 217, 100%);\n --coz-fg-hglt-blue-dim: rgba(126, 169, 242, 46%);\n --coz-fg-hglt-purple: rgba(172, 5, 255, 100%);\n --coz-fg-hglt-purple-dim: rgba(216, 138, 255, 46%);\n --coz-fg-hglt-magenta: rgba(209, 0, 157, 100%);\n --coz-fg-hglt-magenta-dim: rgba(242, 124, 199, 41%);\n --coz-fg-color-brand: rgba(78, 64, 229, 100%);\n --coz-fg-color-brand-dim: rgba(148, 152, 247, 44%);\n --coz-fg-color-alternative: rgba(191, 229, 0, 100%);\n --coz-fg-color-alternative-dim: rgba(187, 224, 0, 60%);\n --coz-mg-hglt-plus-pressed: rgba(65, 35, 217, 100%);\n --coz-mg-hglt-plus-hovered: rgba(71, 44, 222, 100%);\n --coz-mg-hglt-plus: rgba(78, 64, 229, 100%);\n --coz-mg-hglt-plus-dim: rgba(148, 152, 247, 44%);\n --coz-mg-hglt-pressed: rgba(148, 152, 247, 44%);\n --coz-mg-hglt-hovered: rgba(157, 162, 250, 38%);\n --coz-mg-hglt-plus-ai-pressed: rgba(146, 0, 219, 100%);\n --coz-mg-hglt-plus-ai-hovered: rgba(155, 0, 232, 100%);\n --coz-mg-hglt-plus-ai: rgba(172, 5, 255, 100%);\n --coz-mg-hglt-plus-ai-dim: rgba(216, 138, 255, 46%);\n --coz-mg-hglt: rgba(186, 192, 255, 20%);\n --coz-mg-hglt-ai-pressed: rgba(216, 138, 255, 46%);\n --coz-mg-hglt-ai-hovered: rgba(218, 145, 255, 37%);\n --coz-mg-hglt-ai: rgba(231, 184, 255, 20%);\n --coz-mg-hglt-plus-red-pressed: rgba(217, 0, 18, 100%);\n --coz-mg-hglt-plus-red-hovered: rgba(227, 0, 19, 100%);\n --coz-mg-hglt-plus-red: rgba(242, 36, 53, 100%);\n --coz-mg-hglt-plus-red-dim: rgba(250, 135, 145, 46%);\n --coz-mg-hglt-plus-yellow-pressed: rgba(235, 106, 0, 100%);\n --coz-mg-hglt-plus-yellow-hovered: rgba(245, 110, 0, 100%);\n --coz-mg-hglt-plus-yellow: rgba(255, 129, 26, 100%);\n --coz-mg-hglt-plus-yellow-dim: rgba(255, 161, 84, 56%);\n --coz-mg-hglt-plus-green-pressed: rgba(0, 161, 54, 100%);\n --coz-mg-hglt-plus-green-hovered: rgba(0, 168, 56, 100%);\n --coz-mg-hglt-plus-green: rgba(0, 184, 62, 100%);\n --coz-mg-hglt-plus-green-dim: rgba(54, 209, 106, 53%);\n --coz-mg-hglt-red-pressed: rgba(250, 135, 145, 46%);\n --coz-mg-hglt-red-hovered: rgba(252, 146, 155, 39%);\n --coz-mg-hglt-red: rgba(255, 184, 190, 20%);\n --coz-mg-hglt-yellow-pressed: rgba(255, 161, 84, 56%);\n --coz-mg-hglt-yellow-hovered: rgba(255, 169, 99, 46%);\n --coz-mg-hglt-yellow: rgba(255, 188, 133, 20%);\n --coz-mg-hglt-green-pressed: rgba(54, 209, 106, 53%);\n --coz-mg-hglt-green-hovered: rgba(67, 217, 117, 46%);\n --coz-mg-hglt-green: rgba(103, 229, 146, 20%);\n --coz-mg-color-plus-orange: rgba(255, 129, 26, 100%);\n --coz-mg-color-plus-emerald: rgba(0, 184, 62, 100%);\n --coz-mg-color-plus-cyan: rgba(0, 159, 191, 100%);\n --coz-mg-color-plus-blue: rgba(48, 113, 242, 100%);\n --coz-mg-color-plus-purple: rgba(202, 97, 255, 100%);\n --coz-mg-color-plus-magenta: rgba(255, 77, 195, 100%);\n --coz-mg-color-plus-yellow: rgba(250, 191, 12, 100%);\n --coz-mg-color-orange-pressed: rgba(255, 161, 84, 56%);\n --coz-mg-color-orange-hovered: rgba(255, 169, 99, 46%);\n --coz-mg-color-orange: rgba(255, 188, 133, 20%);\n --coz-mg-color-emerald-pressed: rgba(54, 209, 106, 53%);\n --coz-mg-color-emerald-hovered: rgba(67, 217, 117, 46%);\n --coz-mg-color-emerald: rgba(103, 229, 146, 20%);\n --coz-mg-color-cyan-pressed: rgba(41, 198, 229, 52%);\n --coz-mg-color-cyan-hovered: rgba(50, 206, 237, 43%);\n --coz-mg-color-cyan: rgba(77, 225, 255, 20%);\n --coz-mg-color-blue-pressed: rgba(127, 168, 250, 48%);\n --coz-mg-color-blue-hovered: rgba(139, 177, 252, 40%);\n --coz-mg-color-blue: rgba(171, 199, 255, 20%);\n --coz-mg-color-purple-pressed: rgba(219, 148, 255, 52%);\n --coz-mg-color-purple-hovered: rgba(223, 158, 255, 43%);\n --coz-mg-color-purple: rgba(231, 184, 255, 20%);\n --coz-mg-color-magenta-pressed: rgba(255, 138, 216, 51%);\n --coz-mg-color-magenta-hovered: rgba(255, 150, 220, 43%);\n --coz-mg-color-magenta: rgba(255, 150, 220, 20%);\n --coz-mg-primary-pressed: rgba(6, 7, 9, 16%);\n --coz-mg-primary-hovered: rgba(6, 7, 9, 12%);\n --coz-mg-primary: rgba(6, 7, 9, 4%);\n --coz-mg-secondary-pressed: rgba(6, 7, 9, 14%);\n --coz-mg-secondary-hovered: rgba(6, 7, 9, 10%);\n --coz-mg-secondary: rgba(6, 7, 9, 2%);\n --coz-mg: rgba(6, 7, 9, 2%);\n --coz-mg-mask: rgba(0, 0, 0, 40%);\n --coz-mg-card-pressed: rgba(255, 255, 255, 100%);\n --coz-mg-card-hovered: rgba(255, 255, 255, 100%);\n --coz-mg-card: rgba(255, 255, 255, 100%);\n --coz-bg-max: rgba(255, 255, 255, 100%);\n --coz-bg-plus: rgba(249, 249, 249, 100%);\n --coz-bg-primary: rgba(244, 244, 246, 100%);\n --coz-bg: rgba(244, 244, 246, 100%);\n --coz-stroke-hglt: rgba(78, 64, 229, 100%);\n --coz-stroke-plus: rgba(6, 7, 9, 15%);\n --coz-stroke-primary: rgba(6, 7, 9, 10%);\n --coz-stroke-hglt-red: rgba(242, 36, 53, 100%);\n --coz-stroke-hglt-yellow: rgba(255, 129, 26, 100%);\n --coz-stroke-hglt-green: rgba(0, 184, 62, 100%);\n --coz-stroke-color-orange: rgba(255, 129, 26, 100%);\n --coz-stroke-color-emerald: rgba(0, 184, 62, 100%);\n --coz-stroke-color-cyan: rgba(0, 159, 191, 100%);\n --coz-stroke-color-blue: rgba(48, 113, 242, 100%);\n --coz-stroke-color-purple: rgba(202, 97, 255, 100%);\n --coz-stroke-color-magenta: rgba(255, 77, 195, 100%);\n --coz-stroke-color-yellow: rgba(250, 191, 12, 100%);\n --coz-stroke-color-brand: rgba(92, 97, 255, 100%);\n --coz-shadow: 0 4px 12px 0px rgba(0, 0, 0, 8%),\n 0px 8px 24px 0px rgba(0, 0, 0, 4%);\n --coz-shadow-large: 0px 8px 24px 0px rgba(0, 0, 0, 16%),\n 0px 16px 48px 0px rgba(0, 0, 0, 8%);\n --coz-shadow-default: 0 4px 12px 0px rgba(0, 0, 0, 8%),\n 0px 8px 24px 0px rgba(0, 0, 0, 4%);\n --coz-shadow-small: 0px 2px 6px 0px rgba(0, 0, 0, 4%),\n 0px 4px 12px 0px rgba(0, 0, 0, 2%);\n --coze-fg-image-bots: rgba(6, 7, 9, 80%);\n --coze-fg-image-white: #fff;\n --coze-fg-image-user: hsla(0deg, 0%, 100%, 92%);\n --coze-fg-image-user-name: #fff;\n --coze-fg-image-secondary: hsla(0deg, 0%, 100%, 60%);\n --coze-bg-image-user: rgba(56, 57, 58, 70%);\n --coze-bg-image-bots: hsla(0deg, 0%, 98%, 80%);\n --coze-bg-image-question: hsla(0deg, 0%, 92%, 65%);\n --coze-stroke-image-bots: rgba(6, 7, 9, 10%);\n --coze-stroke-image-user: hsla(0deg, 0%, 100%, 12%);\n --coze-stroke-image-hover: hsla(0deg, 0%, 100%, 28%);\n}\n\n.dark-theme {\n --bg-base-transparent: transparent;\n --bg-base-1: #161616ff;\n --bg-base-1-overlay: #161616ff;\n --bg-base-2: #252525ff;\n --bg-base-2-overlay: #252525ff;\n --bg-base-3: #383838ff;\n --bg-base-3-overlay: #383838ff;\n --bg-base-4: #454545ff;\n --bg-press: #454545ff;\n --primary-50: #0a84ffff;\n --primary-60: #0970d9;\n --primary-transparent-1: #66a4ff1f;\n --primary-transparent-2: #66a4ff26;\n --primary-transparent-3: #66a4ff2e;\n --primary-transparent-4: #06f6;\n --neutral-100: #ffff;\n --neutral-70: #cccf;\n --neutral-50: #777f;\n --neutral-30: #666f;\n --neutral-transparent-1: #ffffff14;\n --neutral-transparent-2: #ffffff1f;\n --neutral-transparent-3: #ffffff2e;\n --conditional-danger-50: #ff3b30ff;\n --conditional-warning-50: #eb8900ff;\n --conditional-success-50: #289a45ff;\n --static-static-white: #ffff;\n --static-black: #000f;\n --static-black-transparent-1: #00000080;\n --additional-green: #415841;\n --additional-wathet: #415854;\n --additional-blue: #414f58;\n --additional-purple: #454158;\n --additional-pink: #584149;\n --additional-orange: #5c4f3d;\n --additional-yellow: #605f39;\n --background: 2, 8, 23;\n --foreground: 249, 249, 249;\n --icon: 221, 0%, 90%;\n --icon-dark: 221, 0%, 10%;\n --icon-gray: 221, 0%, 100%;\n --coze-fg-revert: 0, 0, 0;\n --coze-fg-white: 255, 255, 255;\n --coze-fg-7: 255, 255, 255;\n --coze-fg-6: 0, 0, 0;\n --coze-fg-5: 0, 0, 0;\n --coze-fg-4: 255, 255, 255;\n --coze-fg-3: 255, 255, 255;\n --coze-fg-2: 255, 255, 255;\n --coze-fg-1: 255, 255, 255;\n --coze-bg-9: 255, 255, 255;\n --coze-bg-8: 255, 255, 255;\n --coze-bg-7: 255, 255, 255;\n --coze-bg-6: 255, 255, 255;\n --coze-bg-5: 255, 255, 255;\n --coze-bg-4: 255, 255, 255;\n --coze-bg-3: 54, 61, 77;\n --coze-bg-2: 31, 37, 52;\n --coze-bg-1: 21, 27, 39;\n --coze-stroke-5: 153, 182, 255;\n --coze-stroke-6: 153, 182, 255;\n --coze-mask-5: 0, 0, 0;\n --coze-shadow-0: 0, 0, 0;\n --coze-brand-50: 85, 91, 255;\n --coze-brand-30: 66, 88, 255;\n --coze-brand-7: 194, 194, 255;\n --coze-brand-6: 184, 184, 255;\n --coze-brand-5: 166, 166, 255;\n --coze-brand-3: 94, 94, 255;\n --coze-brand-2: 89, 89, 255;\n --coze-brand-1: 76, 76, 255;\n --coze-red-7: 255, 97, 110;\n --coze-red-6: 255, 82, 96;\n --coze-red-5: 255, 38, 56;\n --coze-red-3: 245, 37, 54;\n --coze-red-2: 245, 37, 54;\n --coze-red-1: 242, 36, 53;\n --coze-yellow-50: 255, 191, 0;\n --coze-yellow-30: 156, 117, 0;\n --coze-yellow-7: 255, 161, 84;\n --coze-yellow-6: 255, 148, 61;\n --coze-yellow-5: 255, 122, 13;\n --coze-yellow-3: 194, 88, 2;\n --coze-yellow-2: 191, 87, 2;\n --coze-yellow-1: 178, 80, 0;\n --coze-green-7: 0, 219, 69;\n --coze-green-6: 0, 209, 66;\n --coze-green-5: 0, 191, 64;\n --coze-green-3: 0, 133, 53;\n --coze-green-2: 0, 128, 51;\n --coze-green-1: 0, 122, 41;\n --coze-orange-5: 251, 173, 115;\n --coze-orange-3: 199, 93, 18;\n --coze-emerald-5: 48, 242, 161;\n --coze-emerald-3: 6, 140, 102;\n --coze-emerald-50: 0, 191, 128;\n --coze-emerald-30: 0, 133, 88;\n --coze-emerald-20: 0, 128, 85;\n --coze-emerald-10: 0, 115, 76;\n --coze-cyan-5: 57, 215, 229;\n --coze-cyan-3: 8, 130, 163;\n --coze-cyan-50: 0, 170, 204;\n --coze-cyan-30: 0, 125, 150;\n --coze-cyan-20: 0, 121, 145;\n --coze-cyan-10: 0, 110, 133;\n --coze-blue-5: 120, 176, 255;\n --coze-blue-3: 60, 111, 229;\n --coze-blue-50: 64, 128, 255;\n --coze-blue-30: 23, 100, 255;\n --coze-blue-20: 18, 97, 255;\n --coze-blue-10: 8, 91, 255;\n --coze-purple-7: 233, 189, 255;\n --coze-purple-6: 229, 176, 255;\n --coze-purple-5: 221, 153, 255;\n --coze-purple-3: 189, 56, 255;\n --coze-purple-2: 187, 51, 255;\n --coze-purple-1: 181, 33, 255;\n --coze-purple-50: 202, 97, 255;\n --coze-purple-30: 185, 46, 255;\n --coze-purple-20: 184, 41, 255;\n --coze-purple-10: 180, 31, 255;\n --coze-magenta-5: 255, 148, 210;\n --coze-magenta-3: 250, 30, 188;\n --coze-magenta-50: 255, 77, 195;\n --coze-magenta-30: 255, 15, 175;\n --coze-magenta-20: 255, 10, 173;\n --coze-magenta-10: 255, 0, 169;\n --coze-alternative-50: 202, 242, 0;\n --coze-alternative-30: 111, 133, 0;\n --coze-fg-1-alpha: 0.22;\n --coze-fg-2-alpha: 0.39;\n --coze-fg-3-alpha: 0.79;\n --coze-fg-4-alpha: 1;\n --coze-fg-5-alpha: 1;\n --coze-fg-6-alpha: 0.22;\n --coze-fg-7-alpha: 1;\n --coze-fg-revert-alpha: 1;\n --coze-fg-white-alpha: 0.22;\n --coze-bg-4-alpha: 0.03;\n --coze-bg-5-alpha: 0.06;\n --coze-bg-6-alpha: 0.09;\n --coze-bg-7-alpha: 0.12;\n --coze-bg-8-alpha: 0.12;\n --coze-bg-9-alpha: 0.15;\n --coze-stroke-5-alpha: 0.12;\n --coze-stroke-6-alpha: 0.15;\n --coze-brand-1-alpha: 0.2;\n --coze-brand-2-alpha: 0.32;\n --coze-brand-3-alpha: 0.37;\n --coze-brand-30-alpha: 0.41;\n --coze-brand-50-alpha: 1;\n --coze-red-1-alpha: 0.2;\n --coze-red-2-alpha: 0.33;\n --coze-red-3-alpha: 0.39;\n --coze-yellow-50-alpha: 1;\n --coze-yellow-30-alpha: 0.36;\n --coze-yellow-1-alpha: 0.2;\n --coze-yellow-2-alpha: 0.32;\n --coze-yellow-3-alpha: 0.37;\n --coze-green-1-alpha: 0.2;\n --coze-green-2-alpha: 0.34;\n --coze-green-3-alpha: 0.39;\n --coze-orange-3-alpha: 0.36;\n --coze-orange-5-alpha: 0.36;\n --coze-emerald-5-alpha: 1;\n --coze-emerald-3-alpha: 0.35;\n --coze-emerald-50-alpha: 1;\n --coze-emerald-30-alpha: 0.38;\n --coze-emerald-20-alpha: 0.33;\n --coze-emerald-10-alpha: 0.2;\n --coze-cyan-5-alpha: 1;\n --coze-cyan-3-alpha: 0.36;\n --coze-cyan-50-alpha: 1;\n --coze-cyan-30-alpha: 0.39;\n --coze-cyan-20-alpha: 0.33;\n --coze-cyan-10-alpha: 0.2;\n --coze-blue-5-alpha: 1;\n --coze-blue-3-alpha: 0.37;\n --coze-blue-50-alpha: 1;\n --coze-blue-30-alpha: 0.4;\n --coze-blue-20-alpha: 0.34;\n --coze-blue-10-alpha: 0.2;\n --coze-purple-7-alpha: 1;\n --coze-purple-6-alpha: 1;\n --coze-purple-5-alpha: 1;\n --coze-purple-3-alpha: 0.36;\n --coze-purple-2-alpha: 0.31;\n --coze-purple-1-alpha: 0.2;\n --coze-purple-50-alpha: 1;\n --coze-purple-30-alpha: 0.38;\n --coze-purple-20-alpha: 0.33;\n --coze-purple-10-alpha: 0.2;\n --coze-magenta-5-alpha: 1;\n --coze-magenta-3-alpha: 0.35;\n --coze-magenta-50-alpha: 1;\n --coze-magenta-30-alpha: 0.36;\n --coze-magenta-20-alpha: 0.31;\n --coze-magenta-10-alpha: 0.2;\n --coze-alternative-30-alpha: 0.34;\n --coz-fg-hglt-plus: rgba(0, 0, 0, 100%);\n --coz-fg-hglt-plus-dim: rgba(0, 0, 0, 100%);\n --coz-fg-hglt: rgba(166, 166, 255, 100%);\n --coz-fg-hglt-dim: rgba(94, 94, 255, 37%);\n --coz-fg-plus: rgba(255, 255, 255, 100%);\n --coz-fg: rgba(255, 255, 255, 79%);\n --coz-fg-primary: rgba(255, 255, 255, 79%);\n --coz-fg-secondary: rgba(255, 255, 255, 39%);\n --coz-fg-dim: rgba(255, 255, 255, 22%);\n --coz-fg-white: rgba(255, 255, 255, 100%);\n --coz-fg-white-dim: rgba(255, 255, 255, 22%);\n --coz-fg-hglt-ai: rgba(221, 153, 255, 100%);\n --coz-fg-hglt-ai-dim: rgba(189, 56, 255, 36%);\n --coz-fg-hglt-red: rgba(255, 38, 56, 100%);\n --coz-fg-hglt-red-dim: rgba(245, 37, 54, 39%);\n --coz-fg-hglt-yellow: rgba(255, 122, 13, 100%);\n --coz-fg-hglt-yellow-dim: rgba(194, 88, 2, 37%);\n --coz-fg-hglt-green: rgba(0, 191, 64, 100%);\n --coz-fg-hglt-green-dim: rgba(0, 133, 53, 39%);\n --coz-fg-color-orange: rgba(255, 122, 13, 100%);\n --coz-fg-color-orange-dim: rgba(194, 88, 2, 37%);\n --coz-fg-color-emerald: rgba(0, 191, 64, 100%);\n --coz-fg-color-emerald-dim: rgba(0, 133, 88, 38%);\n --coz-fg-color-cyan: rgba(0, 170, 204, 100%);\n --coz-fg-color-cyan-dim: rgba(0, 125, 150, 39%);\n --coz-fg-color-blue: rgba(64, 128, 255, 100%);\n --coz-fg-color-blue-dim: rgba(23, 100, 255, 40%);\n --coz-fg-color-purple: rgba(202, 97, 255, 100%);\n --coz-fg-color-purple-dim: rgba(185, 46, 255, 38%);\n --coz-fg-color-magenta: rgba(255, 77, 195, 100%);\n --coz-fg-color-magenta-dim: rgba(255, 15, 175, 36%);\n --coz-fg-color-yellow: rgba(156, 117, 0, 100%);\n --coz-fg-color-yellow-dim: rgba(255, 191, 0, 36%);\n --coz-fg-hglt-orange: rgba(251, 173, 115, 100%);\n --coz-fg-hglt-orange-dim: rgba(199, 93, 18, 36%);\n --coz-fg-hglt-emerald: rgba(48, 242, 161, 100%);\n --coz-fg-hglt-emerald-dim: rgba(6, 140, 102, 35%);\n --coz-fg-hglt-cyan: rgba(48, 242, 161, 100%);\n --coz-fg-hglt-cyan-dim: rgba(6, 140, 102, 35%);\n --coz-fg-hglt-blue: rgba(120, 176, 255, 100%);\n --coz-fg-hglt-blue-dim: rgba(60, 111, 229, 37%);\n --coz-fg-hglt-purple: rgba(221, 153, 255, 100%);\n --coz-fg-hglt-purple-dim: rgba(189, 56, 255, 36%);\n --coz-fg-hglt-magenta: rgba(255, 148, 210, 100%);\n --coz-fg-hglt-magenta-dim: rgba(250, 30, 188, 35%);\n --coz-fg-color-brand: rgba(166, 166, 255, 100%);\n --coz-fg-color-brand-dim: rgba(94, 94, 255, 37%);\n --coz-fg-color-alternative: rgba(202, 242, 0, 100%);\n --coz-fg-color-alternative-dim: rgba(111, 133, 0, 34%);\n --coz-mg-hglt-plus-pressed: rgba(194, 194, 255, 100%);\n --coz-mg-hglt-plus-hovered: rgba(184, 184, 255, 100%);\n --coz-mg-hglt-plus: rgba(166, 166, 255, 100%);\n --coz-mg-hglt-plus-dim: rgba(94, 94, 255, 37%);\n --coz-mg-hglt-pressed: rgba(94, 94, 255, 37%);\n --coz-mg-hglt-hovered: rgba(89, 89, 255, 32%);\n --coz-mg-hglt-plus-ai-pressed: rgba(233, 189, 255, 100%);\n --coz-mg-hglt-plus-ai-hovered: rgba(229, 176, 255, 100%);\n --coz-mg-hglt-plus-ai: rgba(221, 153, 255, 100%);\n --coz-mg-hglt-plus-ai-dim: rgba(189, 56, 255, 36%);\n --coz-mg-hglt: rgba(76, 76, 255, 20%);\n --coz-mg-hglt-ai-pressed: rgba(189, 56, 255, 36%);\n --coz-mg-hglt-ai-hovered: rgba(187, 51, 255, 31%);\n --coz-mg-hglt-ai: rgba(181, 33, 255, 20%);\n --coz-mg-hglt-plus-red-pressed: rgba(255, 97, 110, 100%);\n --coz-mg-hglt-plus-red-hovered: rgba(255, 82, 96, 100%);\n --coz-mg-hglt-plus-red: rgba(255, 38, 56, 100%);\n --coz-mg-hglt-plus-red-dim: rgba(245, 37, 54, 39%);\n --coz-mg-hglt-plus-yellow-pressed: rgba(255, 161, 84, 100%);\n --coz-mg-hglt-plus-yellow-hovered: rgba(255, 148, 61, 100%);\n --coz-mg-hglt-plus-yellow: rgba(255, 122, 13, 100%);\n --coz-mg-hglt-plus-yellow-dim: rgba(194, 88, 2, 37%);\n --coz-mg-hglt-plus-green-pressed: rgba(0, 219, 69, 100%);\n --coz-mg-hglt-plus-green-hovered: rgba(0, 209, 66, 100%);\n --coz-mg-hglt-plus-green: rgba(0, 191, 64, 100%);\n --coz-mg-hglt-plus-green-dim: rgba(0, 133, 53, 39%);\n --coz-mg-hglt-red-pressed: rgba(245, 37, 54, 39%);\n --coz-mg-hglt-red-hovered: rgba(245, 37, 54, 33%);\n --coz-mg-hglt-red: rgba(242, 36, 53, 20%);\n --coz-mg-hglt-yellow-pressed: rgba(194, 88, 2, 37%);\n --coz-mg-hglt-yellow-hovered: rgba(191, 87, 2, 32%);\n --coz-mg-hglt-yellow: rgba(178, 80, 0, 20%);\n --coz-mg-hglt-green-pressed: rgba(0, 133, 53, 39%);\n --coz-mg-hglt-green-hovered: rgba(0, 128, 51, 34%);\n --coz-mg-hglt-green: rgba(0, 122, 41, 20%);\n --coz-mg-color-plus-orange: rgba(255, 122, 13, 100%);\n --coz-mg-color-plus-emerald: rgba(0, 191, 64, 100%);\n --coz-mg-color-plus-cyan: rgba(0, 170, 204, 100%);\n --coz-mg-color-plus-blue: rgba(64, 128, 255, 100%);\n --coz-mg-color-plus-purple: rgba(202, 97, 255, 100%);\n --coz-mg-color-plus-magenta: rgba(255, 77, 195, 100%);\n --coz-mg-color-plus-yellow: rgba(156, 117, 0, 100%);\n --coz-mg-color-orange-pressed: rgba(194, 88, 2, 37%);\n --coz-mg-color-orange-hovered: rgba(191, 87, 2, 32%);\n --coz-mg-color-orange: rgba(178, 80, 0, 20%);\n --coz-mg-color-emerald-pressed: rgba(0, 133, 53, 39%);\n --coz-mg-color-emerald-hovered: rgba(0, 128, 51, 34%);\n --coz-mg-color-emerald: rgba(0, 122, 41, 20%);\n --coz-mg-color-cyan-pressed: rgba(0, 125, 150, 39%);\n --coz-mg-color-cyan-hovered: rgba(0, 121, 145, 33%);\n --coz-mg-color-cyan: rgba(0, 110, 133, 20%);\n --coz-mg-color-blue-pressed: rgba(23, 100, 255, 40%);\n --coz-mg-color-blue-hovered: rgba(18, 97, 255, 34%);\n --coz-mg-color-blue: rgba(8, 91, 255, 20%);\n --coz-mg-color-purple-pressed: rgba(185, 46, 255, 38%);\n --coz-mg-color-purple-hovered: rgba(184, 41, 255, 33%);\n --coz-mg-color-purple: rgba(180, 31, 255, 20%);\n --coz-mg-color-magenta-pressed: rgba(255, 15, 175, 36%);\n --coz-mg-color-magenta-hovered: rgba(255, 10, 173, 31%);\n --coz-mg-color-magenta: rgba(255, 10, 173, 20%);\n --coz-mg-primary-pressed: rgba(255, 255, 255, 15%);\n --coz-mg-primary-hovered: rgba(255, 255, 255, 12%);\n --coz-mg-primary: rgba(255, 255, 255, 6%);\n --coz-mg-secondary-pressed: rgba(255, 255, 255, 12%);\n --coz-mg-secondary-hovered: rgba(255, 255, 255, 9%);\n --coz-mg-secondary: rgba(255, 255, 255, 3%);\n --coz-mg: rgba(255, 255, 255, 3%);\n --coz-mg-mask: rgba(0, 0, 0, 40%);\n --coz-mg-card-pressed: rgba(54, 61, 77, 100%);\n --coz-mg-card-hovered: rgba(54, 61, 77, 100%);\n --coz-mg-card: rgba(54, 61, 77, 100%);\n --coz-bg-max: rgba(54, 61, 77, 100%);\n --coz-bg-plus: rgba(31, 37, 52, 100%);\n --coz-bg-primary: rgba(21, 27, 39, 100%);\n --coz-bg: rgba(21, 27, 39, 100%);\n --coz-stroke-hglt: rgba(166, 166, 255, 100%);\n --coz-stroke-plus: rgba(153, 182, 255, 15%);\n --coz-stroke-primary: rgba(153, 182, 255, 12%);\n --coz-stroke-hglt-red: rgba(255, 38, 56, 100%);\n --coz-stroke-hglt-yellow: rgba(255, 122, 13, 100%);\n --coz-stroke-hglt-green: rgba(0, 191, 64, 100%);\n --coz-stroke-color-orange: rgba(255, 122, 13, 100%);\n --coz-stroke-color-emerald: rgba(0, 191, 64, 100%);\n --coz-stroke-color-cyan: rgba(0, 170, 204, 100%);\n --coz-stroke-color-blue: rgba(64, 128, 255, 100%);\n --coz-stroke-color-purple: rgba(202, 97, 255, 100%);\n --coz-stroke-color-magenta: rgba(255, 77, 195, 100%);\n --coz-stroke-color-yellow: rgba(156, 117, 0, 100%);\n --coz-stroke-color-brand: rgba(85, 91, 255, 100%);\n --coz-shadow: 0 4px 12px 0px rgba(0, 0, 0, 8%),\n 0px 8px 24px 0px rgba(0, 0, 0, 4%);\n --coz-shadow-large: 0px 8px 24px 0px rgba(0, 0, 0, 16%),\n 0px 16px 48px 0px rgba(0, 0, 0, 8%);\n --coz-shadow-default: 0 4px 12px 0px rgba(0, 0, 0, 8%),\n 0px 8px 24px 0px rgba(0, 0, 0, 4%);\n --coz-shadow-small: 0px 2px 6px 0px rgba(0, 0, 0, 4%),\n 0px 4px 12px 0px rgba(0, 0, 0, 2%);\n --coze-fg-image-bots: rgba(6, 7, 9, 80%);\n --coze-fg-image-white: #fff;\n --coze-fg-image-user: hsla(0deg, 0%, 100%, 92%);\n --coze-fg-image-user-name: #fff;\n --coze-fg-image-secondary: hsla(0deg, 0%, 100%, 60%);\n --coze-bg-image-user: rgba(56, 57, 58, 70%);\n --coze-bg-image-bots: hsla(0deg, 0%, 98%, 80%);\n --coze-bg-image-question: hsla(0deg, 0%, 92%, 65%);\n --coze-stroke-image-bots: rgba(6, 7, 9, 10%);\n --coze-stroke-image-user: hsla(0deg, 0%, 100%, 12%);\n --coze-stroke-image-hover: hsla(0deg, 0%, 100%, 28%);\n}\n\n/** web 绔殣钘忔粴鍔ㄦ潯銆備笉鍐欏湪 cici 鍘熷洜鏄 lynx 涓嶆敮鎸 ::-webkit-scrollbar 鐨勭紪璇 encode 閿欒浼氬鑷 css 缂栬瘧澶辫触 */\nx-view.card-builder-cici-scroll-view-container::-webkit-scrollbar {\n display: none;\n}\n",""]),t.Z=a},38843:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);(!r||!a[c[0]])&&(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},85675:function(e){"use strict";e.exports=function(e,t){return(!t&&(t={}),e)?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes)?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e:e}},33465:function(e){"use strict";e.exports=function(e){return e[1]}},37953:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r={};function i(){return r}},69429:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("3986"),i=n("11177");function o(e,t,n){(0,r.Z)(2,arguments);var o=(0,i.Z)(e,n),a=(0,i.Z)(t,n);return o.getTime()===a.getTime()}},3986:function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},11177:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("56361"),i=n("3986"),o=n("38101"),a=n("37953");function s(e,t){(0,i.Z)(1,arguments);var n,s,l,u,c,d,p,h,f=(0,a.j)(),g=(0,o.Z)(null!==(n=null!==(s=null!==(l=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t?void 0:null===(c=t.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==s?s:null===(p=f.locale)||void 0===p?void 0:null===(h=p.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.Z)(e),_=m.getUTCDay();return m.setUTCDate(m.getUTCDate()-((_<g?7:0)+_-g)),m.setUTCHours(0,0,0,0),m}},38101:function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return r}})},38434:function(e,t,n){"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{Z:function(){return r}})},65104:function(e,t,n){"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{Z:function(){return r}})},22097:function(e,t,n){"use strict";function r(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;var s=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(l,function(e){return e.test(s)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,function(e){return e.test(s)});return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}n.d(t,{Z:function(){return r}})},93778:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(i.length)}}}n.d(t,{Z:function(){return r}})},94867:function(e,t){"use strict";var n={lessThanXSeconds:{one:"涓嶅埌 1 绉",other:"涓嶅埌 {{count}} 绉"},xSeconds:{one:"1 绉",other:"{{count}} 绉"},halfAMinute:"鍗婂垎閽",lessThanXMinutes:{one:"涓嶅埌 1 鍒嗛挓",other:"涓嶅埌 {{count}} 鍒嗛挓"},xMinutes:{one:"1 鍒嗛挓",other:"{{count}} 鍒嗛挓"},xHours:{one:"1 灏忔椂",other:"{{count}} 灏忔椂"},aboutXHours:{one:"澶х害 1 灏忔椂",other:"澶х害 {{count}} 灏忔椂"},xDays:{one:"1 澶",other:"{{count}} 澶"},aboutXWeeks:{one:"澶х害 1 涓槦鏈",other:"澶х害 {{count}} 涓槦鏈"},xWeeks:{one:"1 涓槦鏈",other:"{{count}} 涓槦鏈"},aboutXMonths:{one:"澶х害 1 涓湀",other:"澶х害 {{count}} 涓湀"},xMonths:{one:"1 涓湀",other:"{{count}} 涓湀"},aboutXYears:{one:"澶х害 1 骞",other:"澶х害 {{count}} 骞"},xYears:{one:"1 骞",other:"{{count}} 骞"},overXYears:{one:"瓒呰繃 1 骞",other:"瓒呰繃 {{count}} 骞"},almostXYears:{one:"灏嗚繎 1 骞",other:"灏嗚繎 {{count}} 骞"}};t.Z=function(e,t,r){var i,o=n[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=r&&r.addSuffix)return r.comparison&&r.comparison>0?i+"鍐":i+"鍓";return i}},27232:function(e,t,n){"use strict";var r=n("38434"),i={date:(0,r.Z)({formats:{full:"y'骞'M'鏈'd'鏃' EEEE",long:"y'骞'M'鏈'd'鏃'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,r.Z)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,r.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};t.Z=i},70769:function(e,t,n){"use strict";var r=n("69429");function i(e,t,n){var i="eeee p";return(0,r.Z)(e,t,n)?i:e.getTime()>t.getTime()?"'涓嬩釜'"+i:"'涓婁釜'"+i}var o={lastWeek:i,yesterday:"'鏄ㄥぉ' p",today:"'浠婂ぉ' p",tomorrow:"'鏄庡ぉ' p",nextWeek:i,other:"PP p"};t.Z=function(e,t,n,r){var i=o[e];return"function"==typeof i?i(t,n,r):i}},29966:function(e,t,n){"use strict";var r=n("65104"),i={ordinalNumber:function(e,t){var n=Number(e);switch(null==t?void 0:t.unit){case"date":return n.toString()+"鏃";case"hour":return n.toString()+"鏃";case"minute":return n.toString()+"鍒";case"second":return n.toString()+"绉";default:return"绗 "+n.toString()}},era:(0,r.Z)({values:{narrow:["鍓","鍏厓"],abbreviated:["鍓","鍏厓"],wide:["鍏厓鍓","鍏厓"]},defaultWidth:"wide"}),quarter:(0,r.Z)({values:{narrow:["1","2","3","4"],abbreviated:["绗竴瀛","绗簩瀛","绗笁瀛","绗洓瀛"],wide:["绗竴瀛e害","绗簩瀛e害","绗笁瀛e害","绗洓瀛e害"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,r.Z)({values:{narrow:["涓€","浜","涓","鍥","浜","鍏","涓","鍏","涔","鍗","鍗佷竴","鍗佷簩"],abbreviated:["1鏈","2鏈","3鏈","4鏈","5鏈","6鏈","7鏈","8鏈","9鏈","10鏈","11鏈","12鏈"],wide:["涓€鏈","浜屾湀","涓夋湀","鍥涙湀","浜旀湀","鍏湀","涓冩湀","鍏湀","涔濇湀","鍗佹湀","鍗佷竴鏈","鍗佷簩鏈"]},defaultWidth:"wide"}),day:(0,r.Z)({values:{narrow:["鏃","涓€","浜","涓","鍥","浜","鍏"],short:["鏃","涓€","浜","涓","鍥","浜","鍏"],abbreviated:["鍛ㄦ棩","鍛ㄤ竴","鍛ㄤ簩","鍛ㄤ笁","鍛ㄥ洓","鍛ㄤ簲","鍛ㄥ叚"],wide:["鏄熸湡鏃","鏄熸湡涓€","鏄熸湡浜","鏄熸湡涓","鏄熸湡鍥","鏄熸湡浜","鏄熸湡鍏"]},defaultWidth:"wide"}),dayPeriod:(0,r.Z)({values:{narrow:{am:"涓",pm:"涓",midnight:"鍑屾櫒",noon:"鍗",morning:"鏃",afternoon:"涓嬪崍",evening:"鏅",night:"澶"},abbreviated:{am:"涓婂崍",pm:"涓嬪崍",midnight:"鍑屾櫒",noon:"涓崍",morning:"鏃╂櫒",afternoon:"涓崍",evening:"鏅氫笂",night:"澶滈棿"},wide:{am:"涓婂崍",pm:"涓嬪崍",midnight:"鍑屾櫒",noon:"涓崍",morning:"鏃╂櫒",afternoon:"涓崍",evening:"鏅氫笂",night:"澶滈棿"}},defaultWidth:"wide",formattingValues:{narrow:{am:"涓",pm:"涓",midnight:"鍑屾櫒",noon:"鍗",morning:"鏃",afternoon:"涓嬪崍",evening:"鏅",night:"澶"},abbreviated:{am:"涓婂崍",pm:"涓嬪崍",midnight:"鍑屾櫒",noon:"涓崍",morning:"鏃╂櫒",afternoon:"涓崍",evening:"鏅氫笂",night:"澶滈棿"},wide:{am:"涓婂崍",pm:"涓嬪崍",midnight:"鍑屾櫒",noon:"涓崍",morning:"鏃╂櫒",afternoon:"涓崍",evening:"鏅氫笂",night:"澶滈棿"}},defaultFormattingWidth:"wide"})};t.Z=i},75608:function(e,t,n){"use strict";var r=n("22097"),i=n("93778"),o={ordinalNumber:(0,i.Z)({matchPattern:/^(绗琝s*)?\d+(鏃鏃秥鍒唡绉)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.Z)({matchPatterns:{narrow:/^(鍓)/i,abbreviated:/^(鍓)/i,wide:/^(鍏厓鍓峾鍏厓)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(鍓)/i,/^(鍏厓)/i]},defaultParseWidth:"any"}),quarter:(0,r.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^绗琜涓€浜屼笁鍥沒鍒/i,wide:/^绗琜涓€浜屼笁鍥沒鍒婚挓/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|涓€)/i,/(2|浜)/i,/(3|涓)/i,/(4|鍥)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.Z)({matchPatterns:{narrow:/^(涓€|浜寍涓墊鍥泑浜攟鍏瓅涓億鍏珅涔潀鍗乕浜屼竴])/i,abbreviated:/^(涓€|浜寍涓墊鍥泑浜攟鍏瓅涓億鍏珅涔潀鍗乕浜屼竴]|\d|1[12])鏈/i,wide:/^(涓€|浜寍涓墊鍥泑浜攟鍏瓅涓億鍏珅涔潀鍗乕浜屼竴])鏈/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^涓€/i,/^浜/i,/^涓/i,/^鍥/i,/^浜/i,/^鍏/i,/^涓/i,/^鍏/i,/^涔/i,/^鍗(?!(涓€|浜))/i,/^鍗佷竴/i,/^鍗佷簩/i],any:[/^涓€|1/i,/^浜寍2/i,/^涓墊3/i,/^鍥泑4/i,/^浜攟5/i,/^鍏瓅6/i,/^涓億7/i,/^鍏珅8/i,/^涔潀9/i,/^鍗(?!(涓€|浜))|10/i,/^鍗佷竴|11/i,/^鍗佷簩|12/i]},defaultParseWidth:"any"}),day:(0,r.Z)({matchPatterns:{narrow:/^[涓€浜屼笁鍥涗簲鍏棩]/i,short:/^[涓€浜屼笁鍥涗簲鍏棩]/i,abbreviated:/^鍛╗涓€浜屼笁鍥涗簲鍏棩]/i,wide:/^鏄熸湡[涓€浜屼笁鍥涗簲鍏棩]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/鏃/i,/涓€/i,/浜/i,/涓/i,/鍥/i,/浜/i,/鍏/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.Z)({matchPatterns:{any:/^(涓婂崍?|涓嬪崍?|鍗堝|[涓]鍗坾鏃╀笂?|涓嬪崍|鏅氫笂?|鍑屾櫒|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^涓婂崍?/i,pm:/^涓嬪崍?/i,midnight:/^鍗堝/i,noon:/^[涓]鍗/i,morning:/^鏃╀笂/i,afternoon:/^涓嬪崍/i,evening:/^鏅氫笂?/i,night:/^鍑屾櫒/i}},defaultParseWidth:"any"})};t.Z=o},67113:function(e,t,n){"use strict";var r=n("94867"),i=n("27232"),o=n("70769"),a=n("29966"),s=n("75608"),l={code:"zh-CN",formatDistance:r.Z,formatLong:i.Z,formatRelative:o.Z,localize:a.Z,match:s.Z,options:{weekStartsOn:1,firstWeekContainsDate:4}};t.Z=l},56361:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("99997"),i=n("3986");function o(e){(0,i.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},26025:function(e,t){var n,r;n=this,r=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},h="en",f={};f[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var g="$isDayjsObject",m=function(e){return e instanceof y||!(!e||!e[g])},_=function e(t,n,r){var i;if(!t)return h;if("string"==typeof t){var o=t.toLowerCase();f[o]&&(i=o),n&&(f[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;f[s]=t,i=s}return!r&&i&&(h=i),i||!r&&h},v=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new y(n)},b={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,s=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:s,w:i,d:"day",D:l,h:r,m:n,s:t,ms:e,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=_,b.i=m,b.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var y=function(){function p(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var h=p.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return b},h.isValid=function(){return this.$d.toString()!==u},h.isSame=function(e,t){var n=v(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return v(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<v(e)},h.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var u=this,c=!!b.u(a)||a,d=b.p(e),p=function(e,t){var n=b.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},h=function(e,t){return b.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},f=this.$W,g=this.$M,m=this.$D,_="set"+(this.$u?"UTC":"");switch(d){case s:return c?p(1,0):p(31,11);case o:return c?p(1,g):p(0,g+1);case i:var v=this.$locale().weekStart||0,y=(f<v?f+7:f)-v;return p(c?m-y:m+(6-y),g);case"day":case l:return h(_+"Hours",0);case r:return h(_+"Minutes",1);case n:return h(_+"Seconds",2);case t:return h(_+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(i,a){var u,c=b.p(i),d="set"+(this.$u?"UTC":""),p=((u={}).day=d+"Date",u[l]=d+"Date",u[o]=d+"Month",u[s]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],h="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var f=this.clone().set(l,1);f.$d[p](h),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[b.p(e)]()},h.add=function(e,a){var l,u=this;e=Number(e);var c=b.p(a),d=function(t){var n=v(u);return b.w(n.date(n.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var p=((l={})[n]=6e4,l[r]=36e5,l[t]=1e3,l)[c]||1,h=this.$d.getTime()+e*p;return b.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,p=n.meridiem,h=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return b.s(o%12||12,e,"0")},g=p||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return s+1;case"MM":return b.s(s+1,2,"0");case"MMM":return h(n.monthsShort,s,c,3);case"MMMM":return h(c,s);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,l,2);case"ddd":return h(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(o,a,!0);case"A":return g(o,a,!1);case"m":return String(a);case"mm":return b.s(a,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,l,u){var c,d=this,p=b.p(l),h=v(e),f=(h.utcOffset()-this.utcOffset())*6e4,g=this-h,m=function(){return b.m(d,h)};switch(p){case s:c=m()/12;break;case o:c=m();break;case a:c=m()/3;break;case i:c=(g-f)/6048e5;break;case"day":c=(g-f)/864e5;break;case r:c=g/36e5;break;case n:c=g/6e4;break;case t:c=g/1e3;break;default:c=g}return u?c:b.a(c)},h.daysInMonth=function(){return this.endOf(o).$D},h.$locale=function(){return f[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return b.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},p}(),w=y.prototype;return v.prototype=w,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),v.extend=function(e,t){return e.$i||(e(t,y,v),e.$i=!0),v},v.locale=_,v.isDayjs=m,v.unix=function(e){return v(1e3*e)},v.en=f[h],v.Ls=f,v.p={},v},"object"==typeof t?e.exports=r():"function"==typeof define&&define.amd?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs=r()},99996:function(e,t){var n,r;n=this,r=function(){"use strict";var e,t,n=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,r=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,i={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},o=function(e){return e instanceof d},a=function(e,t,n){return new d(e,n,t.$l)},s=function(e){return t.p(e)+"s"},l=function(e){return e<0},u=function(e){return l(e)?Math.ceil(e):Math.floor(e)},c=function(e,t){return e?l(e)?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},d=function(){function l(e,t,n){var o=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return a(e*i[s(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){o.$d[s(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var l=e.match(r);if(l){var u=l.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=u[0],this.$d.months=u[1],this.$d.weeks=u[2],this.$d.days=u[3],this.$d.hours=u[4],this.$d.minutes=u[5],this.$d.seconds=u[6],this.calMilliseconds(),this}}return this}var d=l.prototype;return d.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,n){return t+(e.$d[n]||0)*i[n]},0)},d.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=u(e/31536e6),e%=31536e6,this.$d.months=u(e/2628e6),e%=2628e6,this.$d.days=u(e/864e5),e%=864e5,this.$d.hours=u(e/36e5),e%=36e5,this.$d.minutes=u(e/6e4),e%=6e4,this.$d.seconds=u(e/1e3),e%=1e3,this.$d.milliseconds=e},d.toISOString=function(){var e=c(this.$d.years,"Y"),t=c(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=c(n,"D"),i=c(this.$d.hours,"H"),o=c(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=c(a,"S"),l=e.negative||t.negative||r.negative||i.negative||o.negative||s.negative,u=i.format||o.format||s.format?"T":"",d=(l?"-":"")+"P"+e.format+t.format+r.format+u+i.format+o.format+s.format;return"P"===d||"-P"===d?"P0D":d},d.toJSON=function(){return this.toISOString()},d.format=function(e){var r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return(e||"YYYY-MM-DDTHH:mm:ss").replace(n,function(e,t){return t||String(r[e])})},d.as=function(e){return this.$ms/i[s(e)]},d.get=function(e){var t=this.$ms,n=s(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?u(t/i[n]):this.$d[n],t||0},d.add=function(e,t,n){var r;return r=t?e*i[s(t)]:o(e)?e.$ms:a(e,this).$ms,a(this.$ms+r*(n?-1:1),this)},d.subtract=function(e,t){return this.add(e,t,!0)},d.locale=function(e){var t=this.clone();return t.$l=e,t},d.clone=function(){return a(this.$ms,this)},d.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},d.valueOf=function(){return this.asMilliseconds()},d.milliseconds=function(){return this.get("milliseconds")},d.asMilliseconds=function(){return this.as("milliseconds")},d.seconds=function(){return this.get("seconds")},d.asSeconds=function(){return this.as("seconds")},d.minutes=function(){return this.get("minutes")},d.asMinutes=function(){return this.as("minutes")},d.hours=function(){return this.get("hours")},d.asHours=function(){return this.as("hours")},d.days=function(){return this.get("days")},d.asDays=function(){return this.as("days")},d.weeks=function(){return this.get("weeks")},d.asWeeks=function(){return this.as("weeks")},d.months=function(){return this.get("months")},d.asMonths=function(){return this.as("months")},d.years=function(){return this.get("years")},d.asYears=function(){return this.as("years")},l}(),p=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return a(e,{$l:i.locale()},t)},i.isDuration=o;var s=r.prototype.add,l=r.prototype.subtract;r.prototype.add=function(e,t){return o(e)?p(this,e,1):s.bind(this)(e,t)},r.prototype.subtract=function(e,t){return o(e)?p(this,e,-1):l.bind(this)(e,t)}}},"object"==typeof t?e.exports=r():"function"==typeof define&&define.amd?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_duration=r()},22792:function(e,t){var n,r;n=this,r=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i,o,a,s,l,u=new Date(e);return(i=n,void 0===(o=r)&&(o={}),(l=t[s=i+"|"+(a=o.timeZoneName||"short")])||(l=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),t[s]=l),l).formatToParts(u)},s=function(t,n){for(var r=a(t,n),o=[],s=0;s<r.length;s+=1){var l=r[s],u=l.type,c=l.value,d=e[u];d>=0&&(o[d]=parseInt(c,10))}var p=o[3],h=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===p?0:p)+":"+o[4]+":"+o[5]+":000",f=+t;return(i.utc(h).valueOf()-(f-=f%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),u=-(15*Math.round(a.getTimezoneOffset()/15))-l;if(Number(u)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=n.utcOffset();n=n.add(r-c,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var o=s(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),c=u[0],d=u[1],p=i(c).utcOffset(d);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}},"object"==typeof t?e.exports=r():"function"==typeof define&&define.amd?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_timezone=r()},22380:function(e,t){var n,r;n=this,r=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),i=o(e).local();return p.call(r,i,t,n)}}},"object"==typeof t?e.exports=r():"function"==typeof define&&define.amd?define(r):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_utc=r()},84237:function(e,t,n){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}();t.destroy=(r=!1,()=>{!r&&(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];t.log=console.debug||console.log||(()=>{});e.exports=n("10987")(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},10987:function(e,t,n){e.exports=function(e){t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.substr(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let n,r;if("*"===e[e.length-1])return!0;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n("56776"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={};function t(e){let n,i,o;let a=null;function s(...e){if(!s.enabled)return;let r=Number(new Date),i=r-(n||r);s.diff=i,s.prev=n,s.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";o++;let i=t.formatters[r];if("function"==typeof i){let t=e[o];n=i.call(s,t),e.splice(o,1),o--}return n}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return t.colors[Math.abs(n)%t.colors.length]};function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.enable(t.load()),t}},8206:function(e,t,n){"use strict";var r=n("56443"),i=n("19222"),o=n("20172"),a=n("8143");e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(r)r(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=n}},56443:function(e,t,n){"use strict";var r=n("2477")("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},84515:function(e){"use strict";e.exports=EvalError},58700:function(e){"use strict";e.exports=Error},13794:function(e){"use strict";e.exports=RangeError},11410:function(e){"use strict";e.exports=ReferenceError},19222:function(e){"use strict";e.exports=SyntaxError},20172:function(e){"use strict";e.exports=TypeError},68116:function(e){"use strict";e.exports=URIError},55917:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),!new r().__proto__&&(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,i),!0;case 5:return c.fn.call(c.context,t,r,i,o),!0;case 6:return c.fn.call(c.context,t,r,i,o,a),!0}for(u=1,l=Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var p,h=c.length;for(u=0;u<h;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,i);break;default:if(!l)for(p=1,l=Array(d-1);p<d;p++)l[p-1]=arguments[p];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn===t&&(!i||s.once)&&(!r||s.context===r)&&a(this,o);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&u.push(s[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s;e.exports=s},13738:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},i=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},o=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=n(0,s.length-l.length),c=[],d=0;d<u;d++)c[d]="$"+d;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,r(l,arguments));return Object(t)===t?t:this}return s.apply(e,r(l,arguments))}),s.prototype){var p=function(){};p.prototype=s.prototype,a.prototype=new p,p.prototype=null}return a}},13017:function(e,t,n){"use strict";var r=n("13738");e.exports=Function.prototype.bind||r},2477:function(e,t,n){"use strict";var r=n("58700"),i=n("84515"),o=n("13794"),a=n("11410"),s=n("19222"),l=n("20172"),u=n("68116"),c=Function,d=function(e){try{return c('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var h=function(){throw new l},f=p?function(){try{return arguments.callee,h}catch(e){try{return p(arguments,"callee").get}catch(e){return h}}}():h,g=n("56747")(),m=n("70984")(),_=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),v={},b="undefined"!=typeof Uint8Array&&_?_(Uint8Array):void 0,y={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":g&&_?_([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&_?_(_([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&_?_(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&_?_(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&_?_(""[Symbol.iterator]()):void 0,"%Symbol%":g?Symbol:void 0,"%SyntaxError%":s,"%ThrowTypeError%":f,"%TypedArray%":b,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet};if(_)try{null.error}catch(e){var w=_(_(e));y["%Error.prototype%"]=w}var S=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&_&&(n=_(i.prototype))}return y[t]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=n("13017"),x=n("97278"),k=T.call(Function.call,Array.prototype.concat),M=T.call(Function.apply,Array.prototype.splice),P=T.call(Function.call,String.prototype.replace),I=T.call(Function.call,String.prototype.slice),E=T.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,D=function(e){var t=I(e,0,1),n=I(e,-1);if("%"===t&&"%"!==n)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var r=[];return P(e,C,function(e,t,n,i){r[r.length]=n?P(i,O,"$1"):t||e}),r},L=function(e,t){var n,r=e;if(x(A,r)&&(r="%"+(n=A[r])[0]+"%"),x(y,r)){var i=y[r];if(i===v&&(i=S(r)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(e),r=n.length>0?n[0]:"",i=L("%"+r+"%",t),o=i.name,a=i.value,u=!1,c=i.alias;c&&(r=c[0],M(n,k([0,1],c)));for(var d=1,h=!0;d<n.length;d+=1){var f=n[d],g=I(f,0,1),m=I(f,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new s("property names with quotes must have matching quotes");if(("constructor"===f||!h)&&(u=!0),r+="."+f,x(y,o="%"+r+"%"))a=y[o];else if(null!=a){if(!(f in a)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&d+1>=n.length){var _=p(a,f);a=(h=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:a[f]}else h=x(a,f),a=a[f];h&&!u&&(y[o]=a)}}return a}},8143:function(e,t,n){"use strict";var r=n("2477")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},81097:function(e,t,n){"use strict";var r=n("56443"),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},70984:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof n)}},56747:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n("47851");e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},47851:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},97278:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n("13017");e.exports=o.call(r,i)},81246:function(e,t,n){"use strict";var r=n("55120"),i=n("13756"),o=n("43505"),a=n("13094"),s=n("20876"),l=n("76986"),u=n("2689"),c=n("20334"),d={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},p=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,e),this.init(t,n)}return(0,a.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||d,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,(0,i.Z)({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),h=function(){function e(){(0,o.Z)(this,e),this.observers={}}return(0,a.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function f(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function g(e){return null==e?"":""+e}function m(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function _(e,t,n){var r=m(e,t,Object);r.obj[r.k]=n}function v(e,t){var n=m(e,t),r=n.obj,i=n.k;if(r)return r[i]}function b(e,t,n){var r=v(e,n);return void 0!==r?r:v(t,n)}function y(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function S(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return w[e]}):e}var A="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,T=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,o.Z)(this,t),n=(0,s.Z)(this,(0,l.Z)(t).call(this)),A&&h.call((0,u.Z)(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return(0,c.Z)(t,e),(0,a.Z)(t,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),v(this.data,o)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),_(this.data,a,r),!i.silent&&this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)("string"==typeof n[i]||"[object Array]"===Object.prototype.toString.apply(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});!r.silent&&this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),r=n,n=t,t=s[1]),this.addNamespaces(t);var l=v(this.data,s)||{};r?!function e(t,n,r){for(var i in n)"__proto__"!==i&&"constructor"!==i&&(i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(t[i]=n[i]):e(t[i],n[i],r):t[i]=n[i]);return t}(l,n,o):l=(0,i.Z)({},l,n),_(this.data,s,l),!a.silent&&this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(!t&&(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?(0,i.Z)({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(h),x={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))}),t}},k={},M=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Z)(this,t),n=(0,s.Z)(this,(0,l.Z)(t).call(this)),A&&h.call((0,u.Z)(n)),!function(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,u.Z)(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=p.create("translator"),n}return(0,c.Z)(t,e),(0,a.Z)(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:i};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,n,o){var a=this;if("object"!==(0,r.Z)(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),!n&&(n={}),null==e)return"";!Array.isArray(e)&&(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],n),u=l.key,c=l.namespaces,d=c[c.length-1],p=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase())return h?d+(n.nsSeparator||this.options.nsSeparator)+u:u;var f=this.resolve(e,n),g=f&&f.res,m=f&&f.usedKey||u,_=f&&f.exactUsedKey||u,v=Object.prototype.toString.apply(g),b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,w="string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g;if(y&&g&&w&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&!("string"==typeof b&&"[object Array]"===v)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,g,n):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(s){var S="[object Array]"===v,A=S?[]:{},T=S?_:m;for(var x in g)if(Object.prototype.hasOwnProperty.call(g,x)){var k="".concat(T).concat(s).concat(x);A[x]=this.translate(k,(0,i.Z)({},n,{joinArrays:!1,ns:c})),A[x]===k&&(A[x]=g[x])}g=A}}else if(y&&"string"==typeof b&&"[object Array]"===v)(g=g.join(b))&&(g=this.extendTranslation(g,e,n,o));else{var M=!1,P=!1,I=void 0!==n.count&&"string"!=typeof n.count,E=t.hasDefaultValue(n),C=I?this.pluralResolver.getSuffix(p,n.count):"",O=n["defaultValue".concat(C)]||n.defaultValue;!this.isValidLookup(g)&&E&&(M=!0,g=O),!this.isValidLookup(g)&&(P=!0,g=u);var D=E&&O!==g&&this.options.updateMissing;if(P||M||D){if(this.logger.log(D?"updateKey":"missingKey",p,d,u,D?O:g),s){var L=this.resolve(u,(0,i.Z)({},n,{keySeparator:!1}));L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var B=[],N=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&N&&N[0])for(var R=0;R<N.length;R++)B.push(N[R]);else"all"===this.options.saveMissingTo?B=this.languageUtils.toResolveHierarchy(n.lng||this.language):B.push(n.lng||this.language);var j=function(e,t,r){a.options.missingKeyHandler?a.options.missingKeyHandler(e,d,t,D?r:g,D,n):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,d,t,D?r:g,D,n),a.emit("missingKey",e,d,t,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&I?B.forEach(function(e){a.pluralResolver.getSuffixes(e).forEach(function(t){j([e],u+t,n["defaultValue".concat(t)]||O)})}):j(B,u,O))}g=this.extendTranslation(g,e,n,f,o),P&&g===u&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(u)),P&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,n,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init((0,i.Z)({},n,{interpolation:(0,i.Z)({},this.options.interpolation,n.interpolation)}));var s,l=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var u=e.match(this.interpolator.nestingRegexp);s=u&&u.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=(0,i.Z)({},this.options.interpolation.defaultVariables,c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),l){var d=e.match(this.interpolator.nestingRegexp);s<(d&&d.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var p=n.postProcess||this.options.postProcess,h="string"==typeof p?[p]:p;return null!=e&&h&&h.length&&!1!==n.applyPostProcessor&&(e=x.handle(h,e,t,this.options&&this.options.postProcessPassResolved?(0,i.Z)({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);c.forEach(function(e){!a.isValidLookup(t)&&(o=e,!k["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(k["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){i=n;var o,l,c=u,h=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(h,u,n,e,s):(d&&(o=a.pluralResolver.getSuffix(n,s.count)),d&&p&&h.push(c+o),p&&h.push(c+="".concat(a.options.contextSeparator).concat(s.context)),d&&h.push(c+=o));l=h.pop();)!a.isValidLookup(t)&&(r=l,t=a.getResource(n,e,l,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}(h);function P(e){return e.charAt(0).toUpperCase()+e.slice(1)}var I=function(){function e(t){(0,o.Z)(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=p.create("languageUtils")}return(0,a.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=P(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),!t&&(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return!n&&(n=e[this.getScriptPartFromCode(t)]),!n&&(n=e[this.formatLanguageCode(t)]),!n&&(n=e[this.getLanguagePartFromCode(t)]),!n&&(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach(function(e){0>i.indexOf(e)&&o(n.formatLanguageCode(e))}),i}}]),e}(),E=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],C={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},O=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.Z)(this,e),this.languageUtils=t,this.options=r,this.logger=p.create("pluralResolver"),this.rules=(n={},E.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:C[e.fc]}})}),n)}return(0,a.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map(function(e){return t+e})}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map(function(n){return t.getSuffix(e,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};if("v1"===this.options.compatibilityJSON)return 1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a();if("v2"===this.options.compatibilityJSON)return a();else if(this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0])return a();return this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),D=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.Z)(this,e),this.logger=p.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,a.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!e.interpolation&&(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:S,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?y(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?y(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?y(t.nestingPrefix):t.nestingPrefixEscaped||y("$t("),this.nestingSuffix=t.nestingSuffix?y(t.nestingSuffix):t.nestingSuffixEscaped||y(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(s.formatSeparator)){var i=b(t,l,e);return s.alwaysFormat?s.format(i,void 0,n):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),u=o.join(s.formatSeparator).trim();return s.format(b(t,l,a),u,n,r)};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach(function(t){for(a=0;i=t.regex.exec(e);){if(void 0===(o=c(i[1].trim()))){if("function"==typeof d){var n=d(e,i,r);o="string"==typeof n?n:""}else if(p){o=i[0];continue}else s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),o=""}else"string"!=typeof o&&!s.useRawValueToEscape&&(o=g(o));if(e=e.replace(i[0],t.safeValue(o)),t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(0,i.Z)({},a);function l(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,s)).replace(/'/g,'"');try{s=JSON.parse(o),t&&(s=(0,i.Z)({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],c=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var d=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=d.shift(),u=d,c=!0}if((r=t(l.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=g(r)),!r&&(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=u.reduce(function(e,t){return o.format(e,t,a.lng,a)},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),L=function(e){function t(e,n,r){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,o.Z)(this,t),i=(0,s.Z)(this,(0,l.Z)(t).call(this)),A&&h.call((0,u.Z)(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=a,i.logger=p.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,a.backend,a),i}return(0,c.Z)(t,e),(0,a.Z)(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o=[],a=[],s=[],l=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?0>a.indexOf(s)&&a.push(s):(i.state[s]=1,r=!1,0>a.indexOf(s)&&a.push(s),0>o.indexOf(s)&&o.push(s),0>l.indexOf(t)&&l.push(t)))}),!r&&s.push(e)}),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,s,l,u,c,d,p;r=n.loaded,s=[i],l=o,d=(c=m(r,s,Object)).obj,d[p=c.k]=d[p]||[],u||d[p].push(l),!function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0===n.pending.length&&!n.done&&(Object.keys(n.loaded).forEach(function(e){!a[e]&&(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach(function(t){0>a[e].indexOf(t)&&a[e].push(t)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,function(s,l){if(s&&l&&i<5){setTimeout(function(){r.read.call(r,e,t,n,i+1,2*o,a)},o);return}a(s,l)}):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return!o.pending.length&&i(),null;o.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n)this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,(0,i.Z)({},a,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r)}}]),t}(h);function B(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&0>e.whitelist.indexOf("cimode")&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function N(){}var R=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if((0,o.Z)(this,t),e=(0,s.Z)(this,(0,l.Z)(t).call(this)),A&&h.call((0,u.Z)(e)),e.options=B(n),e.services={},e.logger=p,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),(0,s.Z)(e,(0,u.Z)(e));setTimeout(function(){e.init(n,r)},0)}return e}return(0,c.Z)(t,e),(0,a.Z)(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function o(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=(0,i.Z)({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,r.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,r.Z)(e[2])||"object"===(0,r.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,B(t)),this.format=this.options.interpolation.format,!n&&(n=N),!this.options.isClone){this.modules.logger?p.init(o(this.modules.logger),this.options):p.init(null,this.options);var a=new I(this.options);this.store=new T(this.options.resources,this.options);var s=this.services;s.logger=p,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new O(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new D(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new L(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new M(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var u=f(),c=function(){var t=function(t,r){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,!e.options.isClone&&e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>o.indexOf(e)&&o.push(e)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(o,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=f();return!e&&(e=this.languages),!t&&(t=this.options.ns),!n&&(n=N),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&x.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=f();this.emit("languageChanging",e);var i=function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},o=function(e){var t="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);t&&(!n.language&&(n.language=t,n.languages=n.services.languageUtils.toResolveHierarchy(t)),!n.translator.language&&n.translator.changeLanguage(t),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(t)),n.loadResources(t,function(e){i(e,t)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t){var n=this,o=function e(t,o){var a;if("object"!==(0,r.Z)(o)){for(var s=arguments.length,l=Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];a=n.options.overloadTranslationOptionHandler([t,o].concat(l))}else a=(0,i.Z)({},o);return a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,n.t(t,a)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||a(r,e)&&(!i||a(o,e)))||!1}},{key:"loadNamespaces",value:function(e,t){var n=this,r=f();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=f();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter(function(e){return 0>r.indexOf(e)});return i.length?(this.options.preload=r.concat(i),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(!e&&(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N,o=(0,i.Z)({},this.options,n,{isClone:!0}),a=new t(o);return["store","services","language"].forEach(function(t){a[t]=e[t]}),a.services=(0,i.Z)({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new M(a.services,a.options),a.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))}),a.init(o,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),t}(h));t.Z=R},83102:function(e,t,n){"use strict";var r=n("10020");t.ZP=r.C},10020:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n("75047"),i=n("63962"),o=n("11563"),a=n("90626");function s(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var l=function(){function e(t,n,i,l){var u,c,d,p=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=p.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===a.du.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(0,a.FK)(p.ast,p.locales,p.formatters,p.formats,e,void 0,p.message)},this.resolvedOptions=function(){return{locale:p.resolvedLocale.toString()}},this.getAst=function(){return p.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==l?void 0:l.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(u=e.formats,(c=i)?Object.keys(u).reduce(function(e,t){var n,i;return e[t]=(n=u[t],(i=c[t])?(0,r.pi)((0,r.pi)((0,r.pi)({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=(0,r.pi)((0,r.pi)({},n[t]),i[t]||{}),e},{})):n),e},(0,r.pi)({},u)):u),this.formatters=l&&l.formatters||(void 0===(d=this.formatterCache)&&(d={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.Z)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))},{cache:s(d.number),strategy:o.A.variadic}),getDateTimeFormat:(0,o.Z)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))},{cache:s(d.dateTime),strategy:o.A.variadic}),getPluralRules:(0,o.Z)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))},{cache:s(d.pluralRules),strategy:o.A.variadic})})}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=i.Qc,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}()},18226:function(e,t,n){"use strict";n.d(t,{C8:function(){return s},HR:function(){return u},YR:function(){return l},jK:function(){return i},u_:function(){return a}});var r,i,o=n("75047");(r=i||(i={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var a=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),s=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('", "'),'"'),i.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(a),l=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),i.INVALID_VALUE,r)||this}return(0,o.ZT)(t,e),t}(a),u=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,'"'),i.MISSING_VALUE,n)||this}return(0,o.ZT)(t,e),t}(a)},90626:function(e,t,n){"use strict";n.d(t,{FK:function(){return function e(t,n,r,s,l,u,c){if(1===t.length&&(0,o.O4)(t[0]))return[{type:i.literal,value:t[0].value}];for(var d,p=[],h=0;h<t.length;h++){var f=t[h];if((0,o.O4)(f)){p.push({type:i.literal,value:f.value});continue}if((0,o.yx)(f)){"number"==typeof u&&p.push({type:i.literal,value:r.getNumberFormat(n).format(u)});continue}var g=f.value;if(!(l&&g in l))throw new a.HR(g,c);var m=l[g];if((0,o.VG)(f)){(!m||"string"==typeof m||"number"==typeof m)&&(m="string"==typeof m||"number"==typeof m?String(m):""),p.push({type:"string"==typeof m?i.literal:i.object,value:m});continue}if((0,o.rp)(f)){var _="string"==typeof f.style?s.date[f.style]:(0,o.Ii)(f.style)?f.style.parsedOptions:void 0;p.push({type:i.literal,value:r.getDateTimeFormat(n,_).format(m)});continue}if((0,o.pe)(f)){var _="string"==typeof f.style?s.time[f.style]:(0,o.Ii)(f.style)?f.style.parsedOptions:s.time.medium;p.push({type:i.literal,value:r.getDateTimeFormat(n,_).format(m)});continue}if((0,o.uf)(f)){var _="string"==typeof f.style?s.number[f.style]:(0,o.Wh)(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(m*=_.scale||1),p.push({type:i.literal,value:r.getNumberFormat(n,_).format(m)});continue}if((0,o.HI)(f)){var v=f.children,b=f.value,y=l[b];if("function"!=typeof y)throw new a.YR(b,"function",c);var w=y(e(v,n,r,s,l,u).map(function(e){return e.value}));!Array.isArray(w)&&(w=[w]),p.push.apply(p,w.map(function(e){return{type:"string"==typeof e?i.literal:i.object,value:e}}))}if((0,o.Wi)(f)){var S=f.options[m]||f.options.other;if(!S)throw new a.C8(f.value,m,Object.keys(f.options),c);p.push.apply(p,e(S.value,n,r,s,l));continue}if((0,o.Jo)(f)){var S=f.options["=".concat(m)];if(!S){if(!Intl.PluralRules)throw new a.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.jK.MISSING_INTL_API,c);var A=r.getPluralRules(n,{type:f.pluralType}).select(m-(f.offset||0));S=f.options[A]||f.options.other}if(!S)throw new a.C8(f.value,m,Object.keys(f.options),c);p.push.apply(p,e(S.value,n,r,s,l,m-(f.offset||0)));continue}}return(d=p).length<2?d:d.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===i.literal&&t.type===i.literal?n.value+=t.value:e.push(t),e},[])}},du:function(){return i}});var r,i,o=n("63962"),a=n("18226");(r=i||(i={}))[r.literal=0]="literal",r[r.object=1]="object"},74827:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},58498:function(e,t,n){e=n.nmd(e);var r,i="__lodash_hash_undefined__",o="[object Arguments]",a="[object Boolean]",s="[object Date]",l="[object Function]",u="[object GeneratorFunction]",c="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",f="[object RegExp]",g="[object Set]",m="[object String]",_="[object Symbol]",v="[object WeakMap]",b="[object ArrayBuffer]",y="[object DataView]",w="[object Float32Array]",S="[object Float64Array]",A="[object Int8Array]",T="[object Int16Array]",x="[object Int32Array]",k="[object Uint8Array]",M="[object Uint8ClampedArray]",P="[object Uint16Array]",I="[object Uint32Array]",E=/\w*$/,C=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,D={};D[o]=D["[object Array]"]=D[b]=D[y]=D[a]=D[s]=D[w]=D[S]=D[A]=D[T]=D[x]=D[c]=D[d]=D[p]=D[f]=D[g]=D[m]=D[_]=D[k]=D[M]=D[P]=D[I]=!0,D["[object Error]"]=D[l]=D[v]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,B="object"==typeof self&&self&&self.Object===Object&&self,N=L||B||Function("return this")(),R="object"==typeof t&&t&&!t.nodeType&&t,j=R&&e&&!e.nodeType&&e,U=j&&j.exports===R;function z(e,t){return e.set(t[0],t[1]),e}function F(e,t){return e.add(t),e}function G(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function q(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Z(e,t){return function(n){return e(t(n))}}function H(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var V=Array.prototype,Q=Function.prototype,Y=Object.prototype,$=N["__core-js_shared__"];var K=(r=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",X=Q.toString,J=Y.hasOwnProperty,ee=Y.toString,et=RegExp("^"+X.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=U?N.Buffer:void 0,er=N.Symbol,ei=N.Uint8Array,eo=Z(Object.getPrototypeOf,Object),ea=Object.create,es=Y.propertyIsEnumerable,el=V.splice,eu=Object.getOwnPropertySymbols,ec=en?en.isBuffer:void 0,ed=Z(Object.keys,Object),ep=eL(N,"DataView"),eh=eL(N,"Map"),ef=eL(N,"Promise"),eg=eL(N,"Set"),em=eL(N,"WeakMap"),e_=eL(Object,"create"),ev=ej(ep),eb=ej(eh),ey=ej(ef),ew=ej(eg),eS=ej(em),eA=er?er.prototype:void 0,eT=eA?eA.valueOf:void 0;function ex(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ek(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ex.prototype.clear=function(){this.__data__=e_?e_(null):{}},ex.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ex.prototype.get=function(e){var t=this.__data__;if(e_){var n=t[e];return n===i?void 0:n}return J.call(t,e)?t[e]:void 0},ex.prototype.has=function(e){var t=this.__data__;return e_?void 0!==t[e]:J.call(t,e)},ex.prototype.set=function(e,t){return this.__data__[e]=e_&&void 0===t?i:t,this};function eM(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ek.prototype.clear=function(){this.__data__=[]},ek.prototype.delete=function(e){var t=this.__data__,n=eE(t,e);return!(n<0)&&(n==t.length-1?t.pop():el.call(t,n,1),!0)},ek.prototype.get=function(e){var t=this.__data__,n=eE(t,e);return n<0?void 0:t[n][1]},ek.prototype.has=function(e){return eE(this.__data__,e)>-1},ek.prototype.set=function(e,t){var n=this.__data__,r=eE(n,e);return r<0?n.push([e,t]):n[r][1]=t,this};function eP(e){this.__data__=new ek(e)}eM.prototype.clear=function(){this.__data__={hash:new ex,map:new(eh||ek),string:new ex}},eM.prototype.delete=function(e){return eD(this,e).delete(e)},eM.prototype.get=function(e){return eD(this,e).get(e)},eM.prototype.has=function(e){return eD(this,e).has(e)},eM.prototype.set=function(e,t){return eD(this,e).set(e,t),this};eP.prototype.clear=function(){this.__data__=new ek},eP.prototype.delete=function(e){return this.__data__.delete(e)},eP.prototype.get=function(e){return this.__data__.get(e)},eP.prototype.has=function(e){return this.__data__.has(e)},eP.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ek){var r=n.__data__;if(!eh||r.length<199)return r.push([e,t]),this;n=this.__data__=new eM(r)}return n.set(e,t),this};function eI(e,t,n){var r=e[t];(!(J.call(e,t)&&eU(r,n))||void 0===n&&!(t in e))&&(e[t]=n)}function eE(e,t){for(var n=e.length;n--;)if(eU(e[n][0],t))return n;return -1}function eC(e){var t=new e.constructor(e.byteLength);return new ei(t).set(new ei(e)),t}function eO(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;eI(n,a,void 0===s?e[a]:s)}return n}function eD(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function eL(e,t){var n,r,i,o=(n=e,r=t,null==n?void 0:n[r]);return!(!eW(i=o)||function(e){return!!K&&K in e}(i))&&(eq(i)||q(i)?et:C).test(ej(i))?o:void 0}var eB=eu?Z(eu,Object):function(){return[]},eN=function(e){return ee.call(e)};(ep&&eN(new ep(new ArrayBuffer(1)))!=y||eh&&eN(new eh)!=c||ef&&eN(ef.resolve())!=h||eg&&eN(new eg)!=g||em&&eN(new em)!=v)&&(eN=function(e){var t=ee.call(e),n=t==p?e.constructor:void 0,r=n?ej(n):void 0;if(r)switch(r){case ev:return y;case eb:return c;case ey:return h;case ew:return g;case eS:return v}return t});function eR(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Y)}function ej(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eU(e,t){return e===t||e!=e&&t!=t}var ez=Array.isArray;function eF(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!eq(e)}var eG=ec||function(){return!1};function eq(e){var t=eW(e)?ee.call(e):"";return t==l||t==u}function eW(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eZ(e){return eF(e)?function(e,t){var n=ez(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&eF(e)}(e)&&J.call(e,"callee")&&(!es.call(e,"callee")||ee.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)J.call(e,a)&&!(i&&("length"==a||function(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||O.test(e))&&e>-1&&e%1==0&&e<t}(a,r)))&&n.push(a);return n}(e):function(e){if(!eR(e))return ed(e);var t=[];for(var n in Object(e))J.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return function e(t,n,r,i,h,v,C){if(i&&(O=v?i(t,h,v,C):i(t)),void 0!==O)return O;if(!eW(t))return t;var O,L=ez(t);if(L){if(O=function(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&J.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!n)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,O)}else{var B,N,R=eN(t),j=R==l||R==u;if(eG(t))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(t,n);if(R==p||R==o||j&&!v){if(q(t))return v?t:{};if(O=function(e){var t;return"function"!=typeof e.constructor||eR(e)?{}:eW(t=eo(e))?ea(t):{}}(j?{}:t),!n){;return function(e,t){return eO(e,eB(e),t)}(t,(B=O,N=t,B&&eO(N,eZ(N),B)))}}else{if(!D[R])return v?t:{};O=function(e,t,n,r){var i,o,l,u,p,h,v,C,O,D,L,B,N,R=e.constructor;switch(t){case b:return eC(e);case a:case s:return new R(+e);case y:;return i=e,o=r?eC(i.buffer):i.buffer,new i.constructor(o,i.byteOffset,i.byteLength);case w:case S:case A:case T:case x:case k:case M:case P:case I:;return l=e,u=r?eC(l.buffer):l.buffer,new l.constructor(u,l.byteOffset,l.length);case c:;return p=e,h=r,v=n,G(h?v(W(p),!0):W(p),z,new p.constructor);case d:case m:return new R(e);case f:;return(O=new(C=e).constructor(C.source,E.exec(C))).lastIndex=C.lastIndex,O;case g:;return D=e,L=r,B=n,G(L?B(H(D),!0):H(D),F,new D.constructor);case _:;return N=e,eT?Object(eT.call(N)):{}}}(t,R,e,n)}}C||(C=new eP);var U=C.get(t);if(U)return U;if(C.set(t,O),!L)var Z=r?function(e){var t,n,r,i;return t=e,n=eZ,r=eB,i=n(t),ez(t)?i:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(i,r(t))}(t):eZ(t);return!function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););;}(Z||t,function(o,a){Z&&(o=t[a=o]),eI(O,a,e(o,n,r,i,a,t,C))}),O}(e,!0,!0)}},61700:function(e,t,n){var r=n("74544")(n("95451"),"DataView");e.exports=r},20370:function(e,t,n){var r=n("78308"),i=n("71372"),o=n("61422"),a=n("54237"),s=n("43657");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},63268:function(e,t,n){var r=n("42687"),i=n("7326"),o=n("95290"),a=n("68152"),s=n("50416");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},38938:function(e,t,n){var r=n("74544")(n("95451"),"Map");e.exports=r},34154:function(e,t,n){var r=n("30254"),i=n("15514"),o=n("40616"),a=n("68317"),s=n("21756");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},13790:function(e,t,n){var r=n("74544")(n("95451"),"Promise");e.exports=r},59011:function(e,t,n){var r=n("74544")(n("95451"),"Set");e.exports=r},17722:function(e,t,n){var r=n("34154"),i=n("17125"),o=n("69410");function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},14979:function(e,t,n){var r=n("63268"),i=n("3224"),o=n("31001"),a=n("73714"),s=n("34871"),l=n("49113");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},45892:function(e,t,n){var r=n("95451").Symbol;e.exports=r},91808:function(e,t,n){var r=n("95451").Uint8Array;e.exports=r},23761:function(e,t,n){var r=n("74544")(n("95451"),"WeakMap");e.exports=r},54741:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},70551:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},64802:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},47265:function(e,t,n){var r=n("88589"),i=n("25211"),o=n("90718"),a=n("90848"),s=n("88573"),l=n("84010"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),p=!n&&!c&&!d&&l(e),h=n||c||d||p,f=h?r(e.length,String):[],g=f.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g)))&&f.push(m);return f}},16380:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},81567:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},54621:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},9191:function(e,t,n){var r=n("34083"),i=n("77768"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];(!(o.call(e,t)&&i(a,n))||void 0===n&&!(t in e))&&r(e,t,n)}},6161:function(e,t,n){var r=n("77768");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},54455:function(e,t,n){var r=n("87071"),i=n("44073");e.exports=function(e,t){return e&&r(t,i(t),e)}},50552:function(e,t,n){var r=n("87071"),i=n("43279");e.exports=function(e,t){return e&&r(t,i(t),e)}},34083:function(e,t,n){var r=n("28914");e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},1253:function(e,t,n){var r=n("14979"),i=n("70551"),o=n("9191"),a=n("54455"),s=n("50552"),l=n("80798"),u=n("97819"),c=n("34721"),d=n("67611"),p=n("28721"),h=n("85121"),f=n("95565"),g=n("32066"),m=n("98391"),_=n("89893"),v=n("90718"),b=n("90848"),y=n("27590"),w=n("22255"),S=n("27882"),A=n("44073"),T=n("43279"),x="[object Arguments]",k="[object Function]",M="[object Object]",P={};P[x]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[M]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[k]=P["[object WeakMap]"]=!1;e.exports=function e(t,n,I,E,C,O){var D,L=1&n,B=2&n,N=4&n;if(I&&(D=C?I(t,E,C,O):I(t)),void 0!==D)return D;if(!w(t))return t;var R=v(t);if(R){if(D=g(t),!L)return u(t,D)}else{var j=f(t),U=j==k||"[object GeneratorFunction]"==j;if(b(t))return l(t,L);if(j==M||j==x||U&&!C){if(D=B||U?{}:_(t),!L)return B?d(t,s(D,t)):c(t,a(D,t))}else{if(!P[j])return C?t:{};D=m(t,j,L)}}O||(O=new r);var z=O.get(t);if(z)return z;O.set(t,D),S(t)?t.forEach(function(r){D.add(e(r,n,I,r,t,O))}):y(t)&&t.forEach(function(r,i){D.set(i,e(r,n,I,i,t,O))});var F=N?B?h:p:B?T:A,G=R?void 0:F(t);return i(G||t,function(r,i){G&&(r=t[i=r]),o(D,i,e(r,n,I,i,t,O))}),D}},14272:function(e,t,n){var r=n("22255"),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},27823:function(e,t,n){var r=n("47660"),i=n("58145")(r);e.exports=i},33983:function(e,t,n){var r=n("81567"),i=n("65921");e.exports=function e(t,n,o,a,s){var l=-1,u=t.length;for(o||(o=i),s||(s=[]);++l<u;){var c=t[l];n>0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):!a&&(s[s.length]=c)}return s}},79710:function(e,t,n){var r=n("86178")();e.exports=r},47660:function(e,t,n){var r=n("79710"),i=n("44073");e.exports=function(e,t){return e&&r(e,t,i)}},17615:function(e,t,n){var r=n("31597"),i=n("96255");e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},34481:function(e,t,n){var r=n("81567"),i=n("90718");e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},33952:function(e,t,n){var r=n("45892"),i=n("83428"),o=n("54572"),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},37410:function(e,t,n){var r=n("33952"),i=n("56267");e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},75002:function(e,t,n){var r=n("64858"),i=n("56267");e.exports=function e(t,n,o,a,s){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,a,e,s):t!=t&&n!=n)}},64858:function(e,t,n){var r=n("14979"),i=n("71988"),o=n("75922"),a=n("22979"),s=n("95565"),l=n("90718"),u=n("90848"),c=n("84010"),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,_){var v=l(e),b=l(t),y=v?p:s(e),w=b?p:s(t);y=y==d?h:y,w=w==d?h:w;var S=y==h,A=w==h,T=y==w;if(T&&u(e)){if(!u(t))return!1;v=!0,S=!1}if(T&&!S)return _||(_=new r),v||c(e)?i(e,t,n,g,m,_):o(e,t,y,n,g,m,_);if(!(1&n)){var x=S&&f.call(e,"__wrapped__"),k=A&&f.call(t,"__wrapped__");if(x||k){var M=x?e.value():e,P=k?t.value():t;return _||(_=new r),m(M,P,n,g,_)}}return!!T&&(_||(_=new r),a(e,t,n,g,m,_))}},22271:function(e,t,n){var r=n("95565"),i=n("56267");e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},48275:function(e,t,n){var r=n("66351"),i=n("51171"),o=n("22255"),a=n("46269"),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},4786:function(e,t,n){var r=n("95565"),i=n("56267");e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},90006:function(e,t,n){var r=n("33952"),i=n("68143"),o=n("56267"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},30953:function(e,t,n){var r=n("18049"),i=n("64832"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},60594:function(e,t,n){var r=n("22255"),i=n("18049"),o=n("46984"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)!("constructor"==s&&(t||!a.call(e,s)))&&n.push(s);return n}},54203:function(e,t,n){var r=n("9191"),i=n("31597"),o=n("88573"),a=n("22255"),s=n("96255");e.exports=function(e,t,n,l){if(!a(e))return e;t=i(t,e);for(var u=-1,c=t.length,d=c-1,p=e;null!=p&&++u<c;){var h=s(t[u]),f=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var g=p[h];void 0===(f=l?l(g,h,p):void 0)&&(f=a(g)?g:o(t[u+1])?[]:{})}r(p,h,f),p=p[h]}return e}},42578:function(e,t,n){var r=n("41299"),i=n("28914"),o=n("11301"),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},31444:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},88589:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},3127:function(e,t,n){var r=n("45892"),i=n("16380"),o=n("90718"),a=n("84511"),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},73461:function(e,t,n){var r=n("79844"),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},39164:function(e){e.exports=function(e){return function(t){return e(t)}}},81852:function(e,t,n){var r=n("31597"),i=n("54182"),o=n("51879"),a=n("96255");e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},10912:function(e){e.exports=function(e,t){return e.has(t)}},61075:function(e,t,n){var r=n("11301");e.exports=function(e){return"function"==typeof e?e:r}},31597:function(e,t,n){var r=n("90718"),i=n("18436"),o=n("23693"),a=n("46051");e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},69689:function(e,t,n){var r=n("91808");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},80798:function(e,t,n){e=n.nmd(e);var r=n("95451"),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},95578:function(e,t,n){var r=n("69689");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},16685:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},25552:function(e,t,n){var r=n("45892"),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},92465:function(e,t,n){var r=n("69689");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},97819:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},87071:function(e,t,n){var r=n("9191"),i=n("34083");e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):r(n,u,c)}return n}},34721:function(e,t,n){var r=n("87071"),i=n("75690");e.exports=function(e,t){return r(e,i(e),t)}},67611:function(e,t,n){var r=n("87071"),i=n("54230");e.exports=function(e,t){return r(e,i(e),t)}},41667:function(e,t,n){var r=n("95451")["__core-js_shared__"];e.exports=r},58145:function(e,t,n){var r=n("11512");e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},86178:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},30459:function(e,t,n){var r=n("82332");e.exports=function(e){return r(e)?void 0:e}},28914:function(e,t,n){var r=n("74544"),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},71988:function(e,t,n){var r=n("17722"),i=n("54621"),o=n("10912");e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f<c;){var _=e[f],v=t[f];if(a)var b=u?a(v,_,f,t,e,l):a(_,v,f,e,t,l);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!o(m,t)&&(_===e||s(_,e,n,a,l)))return m.push(t)})){g=!1;break}}else if(!(_===v||s(_,v,n,a,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},75922:function(e,t,n){var r=n("45892"),i=n("91808"),o=n("77768"),a=n("71988"),s=n("99611"),l=n("20921"),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=l),e.size!=t.size&&!f)break;var g=p.get(e);if(g)return g==t;r|=2,p.set(e,t);var m=a(h(e),h(t),r,u,d,p);return p.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},22979:function(e,t,n){var r=n("28721"),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var p=u[d];if(!(l?p in t:i.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d<c;){var _=e[p=u[d]],v=t[p];if(o)var b=l?o(v,_,p,t,e,s):o(_,v,p,e,t,s);if(!(void 0===b?_===v||a(_,v,n,o,s):b)){g=!1;break}m||(m="constructor"==p)}if(g&&!m){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(g=!1)}return s.delete(e),s.delete(t),g}},75702:function(e,t,n){var r=n("47930"),i=n("32339"),o=n("2476");e.exports=function(e){return o(i(e,void 0,r),e+"")}},88658:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},28721:function(e,t,n){var r=n("34481"),i=n("75690"),o=n("44073");e.exports=function(e){return r(e,o,i)}},85121:function(e,t,n){var r=n("34481"),i=n("54230"),o=n("43279");e.exports=function(e){return r(e,o,i)}},43506:function(e,t,n){var r=n("4473");e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},74544:function(e,t,n){var r=n("48275"),i=n("39128");e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},43673:function(e,t,n){var r=n("74823")(Object.getPrototypeOf,Object);e.exports=r},83428:function(e,t,n){var r=n("45892"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},75690:function(e,t,n){var r=n("64802"),i=n("82303"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},54230:function(e,t,n){var r=n("81567"),i=n("43673"),o=n("75690"),a=n("82303"),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},95565:function(e,t,n){var r=n("61700"),i=n("38938"),o=n("13790"),a=n("59011"),s=n("23761"),l=n("33952"),u=n("46269"),c="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",g=u(r),m=u(i),_=u(o),v=u(a),b=u(s),y=l;(r&&y(new r(new ArrayBuffer(1)))!=f||i&&y(new i)!=c||o&&y(o.resolve())!=d||a&&y(new a)!=p||s&&y(new s)!=h)&&(y=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return f;case m:return c;case _:return d;case v:return p;case b:return h}return t}),e.exports=y},39128:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},78308:function(e,t,n){var r=n("40086");e.exports=function(){this.__data__=r?r(null):{},this.size=0}},71372:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},61422:function(e,t,n){var r=n("40086"),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},54237:function(e,t,n){var r=n("40086"),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},43657:function(e,t,n){var r=n("40086");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},32066:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},98391:function(e,t,n){var r=n("69689"),i=n("95578"),o=n("16685"),a=n("25552"),s=n("92465");e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},89893:function(e,t,n){var r=n("14272"),i=n("43673"),o=n("18049");e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},65921:function(e,t,n){var r=n("45892"),i=n("25211"),o=n("90718"),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},88573:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},18436:function(e,t,n){var r=n("90718"),i=n("84511"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},4473:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},51171:function(e,t,n){var r,i=n("41667");var o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},18049:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},42687:function(e){e.exports=function(){this.__data__=[],this.size=0}},7326:function(e,t,n){var r=n("6161"),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},95290:function(e,t,n){var r=n("6161");e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},68152:function(e,t,n){var r=n("6161");e.exports=function(e){return r(this.__data__,e)>-1}},50416:function(e,t,n){var r=n("6161");e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},30254:function(e,t,n){var r=n("20370"),i=n("63268"),o=n("38938");e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},15514:function(e,t,n){var r=n("43506");e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},40616:function(e,t,n){var r=n("43506");e.exports=function(e){return r(this,e).get(e)}},68317:function(e,t,n){var r=n("43506");e.exports=function(e){return r(this,e).has(e)}},21756:function(e,t,n){var r=n("43506");e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},99611:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},56181:function(e,t,n){var r=n("562");e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},40086:function(e,t,n){var r=n("74544")(Object,"create");e.exports=r},64832:function(e,t,n){var r=n("74823")(Object.keys,Object);e.exports=r},46984:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},66493:function(e,t,n){e=n.nmd(e);var r=n("88658"),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},54572:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74823:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},32339:function(e,t,n){var r=n("54741"),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),r(e,this,u)}}},51879:function(e,t,n){var r=n("17615"),i=n("31444");e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},95451:function(e,t,n){var r=n("88658"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},17125:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},69410:function(e){e.exports=function(e){return this.__data__.has(e)}},20921:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},2476:function(e,t,n){var r=n("42578"),i=n("5533")(r);e.exports=i},5533:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},3224:function(e,t,n){var r=n("63268");e.exports=function(){this.__data__=new r,this.size=0}},31001:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},73714:function(e){e.exports=function(e){return this.__data__.get(e)}},34871:function(e){e.exports=function(e){return this.__data__.has(e)}},49113:function(e,t,n){var r=n("63268"),i=n("38938"),o=n("34154");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},23693:function(e,t,n){var r=n("56181"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},96255:function(e,t,n){var r=n("84511"),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},46269:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},79844:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},27197:function(e,t,n){var r=n("1253");e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},41299:function(e){e.exports=function(e){return function(){return e}}},58377:function(e,t,n){var r=n("22255"),i=n("76247"),o=n("44335"),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,p,h,f=0,g=!1,m=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,r=u;return l=u=void 0,f=t,d=e.apply(r,n)}t=o(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(o(n.maxWait)||0,t):c,_="trailing"in n?!!n.trailing:_);function b(e){var n=e-h,r=e-f;return void 0===h||n>=t||n<0||m&&r>=c}function y(){var e,n,r,o,a=i();if(b(a))return w(a);p=setTimeout(y,(n=(e=a)-h,r=e-f,o=t-n,m?s(o,c-r):o))}function w(e){return(p=void 0,_&&l)?v(e):(l=u=void 0,d)}function S(){var e,n=i(),r=b(n);if(l=arguments,u=this,h=n,r){if(void 0===p){;return f=e=h,p=setTimeout(y,t),g?v(e):d}if(m)return clearTimeout(p),p=setTimeout(y,t),v(h)}return void 0===p&&(p=setTimeout(y,t)),d}return S.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=u=p=void 0},S.flush=function(){return void 0===p?d:w(i())},S}},35545:function(e,t,n){e.exports=n("90438")},77768:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},47930:function(e,t,n){var r=n("33983");e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},90438:function(e,t,n){var r=n("70551"),i=n("27823"),o=n("61075"),a=n("90718");e.exports=function(e,t){return(a(e)?r:i)(e,o(t))}},65952:function(e,t,n){var r=n("17615");e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},11301:function(e){e.exports=function(e){return e}},25211:function(e,t,n){var r=n("37410"),i=n("56267"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},90718:function(e){var t=Array.isArray;e.exports=t},11512:function(e,t,n){var r=n("66351"),i=n("68143");e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},90848:function(e,t,n){e=n.nmd(e);var r=n("95451"),i=n("39546"),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},33186:function(e,t,n){var r=n("30953"),i=n("95565"),o=n("25211"),a=n("90718"),s=n("11512"),l=n("90848"),u=n("18049"),c=n("84010"),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},35309:function(e,t,n){var r=n("75002");e.exports=function(e,t){return r(e,t)}},66351:function(e,t,n){var r=n("33952"),i=n("22255");e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},68143:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},27590:function(e,t,n){var r=n("22271"),i=n("39164"),o=n("66493"),a=o&&o.isMap,s=a?i(a):r;e.exports=s},79121:function(e,t,n){var r=n("33952"),i=n("56267");e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},22255:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},56267:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},82332:function(e,t,n){var r=n("33952"),i=n("43673"),o=n("56267"),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},27882:function(e,t,n){var r=n("4786"),i=n("39164"),o=n("66493"),a=o&&o.isSet,s=a?i(a):r;e.exports=s},84511:function(e,t,n){var r=n("33952"),i=n("56267");e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},84010:function(e,t,n){var r=n("90006"),i=n("39164"),o=n("66493"),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},33984:function(e){e.exports=function(e){return void 0===e}},44073:function(e,t,n){var r=n("47265"),i=n("30953"),o=n("11512");e.exports=function(e){return o(e)?r(e):i(e)}},43279:function(e,t,n){var r=n("47265"),i=n("60594"),o=n("11512");e.exports=function(e){return o(e)?r(e,!0):i(e)}},54182:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},562:function(e,t,n){var r=n("34154");function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},91196:function(e){e.exports=function(){}},76247:function(e,t,n){var r=n("95451");e.exports=function(){return r.Date.now()}},94389:function(e,t,n){var r=n("16380"),i=n("1253"),o=n("81852"),a=n("31597"),s=n("87071"),l=n("30459"),u=n("75702"),c=n("85121"),d=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=i(n,7,l));for(var d=t.length;d--;)o(n,t[d]);return n});e.exports=d},99938:function(e,t,n){var r=n("54203");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},82303:function(e){e.exports=function(){return[]}},39546:function(e){e.exports=function(){return!1}},15543:function(e,t,n){var r=n("58377"),i=n("22255");e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},44335:function(e,t,n){var r=n("73461"),i=n("22255"),o=n("84511"),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},46051:function(e,t,n){var r=n("3127");e.exports=function(e){return null==e?"":r(e)}},54392:function(e,t,n){var r,i,o,a,s;r=n("560"),i=n("5761").utf8,o=n("74827"),a=n("5761").bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):!Array.isArray(e)&&e.constructor!==Uint8Array&&(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,u=1732584193,c=-271733879,d=-1732584194,p=271733878,h=0;h<n.length;h++)n[h]=(n[h]<<8|n[h]>>>24)&16711935|(n[h]<<24|n[h]>>>8)&4278255360;n[l>>>5]|=128<<l%32,n[(l+64>>>9<<4)+14]=l;for(var f=s._ff,g=s._gg,m=s._hh,_=s._ii,h=0;h<n.length;h+=16){var v=u,b=c,y=d,w=p;u=f(u,c,d,p,n[h+0],7,-680876936),p=f(p,u,c,d,n[h+1],12,-389564586),d=f(d,p,u,c,n[h+2],17,606105819),c=f(c,d,p,u,n[h+3],22,-1044525330),u=f(u,c,d,p,n[h+4],7,-176418897),p=f(p,u,c,d,n[h+5],12,1200080426),d=f(d,p,u,c,n[h+6],17,-1473231341),c=f(c,d,p,u,n[h+7],22,-45705983),u=f(u,c,d,p,n[h+8],7,1770035416),p=f(p,u,c,d,n[h+9],12,-1958414417),d=f(d,p,u,c,n[h+10],17,-42063),c=f(c,d,p,u,n[h+11],22,-1990404162),u=f(u,c,d,p,n[h+12],7,1804603682),p=f(p,u,c,d,n[h+13],12,-40341101),d=f(d,p,u,c,n[h+14],17,-1502002290),c=f(c,d,p,u,n[h+15],22,1236535329),u=g(u,c,d,p,n[h+1],5,-165796510),p=g(p,u,c,d,n[h+6],9,-1069501632),d=g(d,p,u,c,n[h+11],14,643717713),c=g(c,d,p,u,n[h+0],20,-373897302),u=g(u,c,d,p,n[h+5],5,-701558691),p=g(p,u,c,d,n[h+10],9,38016083),d=g(d,p,u,c,n[h+15],14,-660478335),c=g(c,d,p,u,n[h+4],20,-405537848),u=g(u,c,d,p,n[h+9],5,568446438),p=g(p,u,c,d,n[h+14],9,-1019803690),d=g(d,p,u,c,n[h+3],14,-187363961),c=g(c,d,p,u,n[h+8],20,1163531501),u=g(u,c,d,p,n[h+13],5,-1444681467),p=g(p,u,c,d,n[h+2],9,-51403784),d=g(d,p,u,c,n[h+7],14,1735328473),c=g(c,d,p,u,n[h+12],20,-1926607734),u=m(u,c,d,p,n[h+5],4,-378558),p=m(p,u,c,d,n[h+8],11,-2022574463),d=m(d,p,u,c,n[h+11],16,1839030562),c=m(c,d,p,u,n[h+14],23,-35309556),u=m(u,c,d,p,n[h+1],4,-1530992060),p=m(p,u,c,d,n[h+4],11,1272893353),d=m(d,p,u,c,n[h+7],16,-155497632),c=m(c,d,p,u,n[h+10],23,-1094730640),u=m(u,c,d,p,n[h+13],4,681279174),p=m(p,u,c,d,n[h+0],11,-358537222),d=m(d,p,u,c,n[h+3],16,-722521979),c=m(c,d,p,u,n[h+6],23,76029189),u=m(u,c,d,p,n[h+9],4,-640364487),p=m(p,u,c,d,n[h+12],11,-421815835),d=m(d,p,u,c,n[h+15],16,530742520),c=m(c,d,p,u,n[h+2],23,-995338651),u=_(u,c,d,p,n[h+0],6,-198630844),p=_(p,u,c,d,n[h+7],10,1126891415),d=_(d,p,u,c,n[h+14],15,-1416354905),c=_(c,d,p,u,n[h+5],21,-57434055),u=_(u,c,d,p,n[h+12],6,1700485571),p=_(p,u,c,d,n[h+3],10,-1894986606),d=_(d,p,u,c,n[h+10],15,-1051523),c=_(c,d,p,u,n[h+1],21,-2054922799),u=_(u,c,d,p,n[h+8],6,1873313359),p=_(p,u,c,d,n[h+15],10,-30611744),d=_(d,p,u,c,n[h+6],15,-1560198380),c=_(c,d,p,u,n[h+13],21,1309151649),u=_(u,c,d,p,n[h+4],6,-145523070),p=_(p,u,c,d,n[h+11],10,-1120210379),d=_(d,p,u,c,n[h+2],15,718787259),c=_(c,d,p,u,n[h+9],21,-343485551),u=u+v>>>0,c=c+b>>>0,d=d+y>>>0,p=p+w>>>0}return r.endian([u,c,d,p])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},60048:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n,i,o=0;o<e.length;o++){;if(n=e[o],!(n===(i=t[o])||r(n)&&r(i)))return!1}return!0}function o(e,t){void 0===t&&(t=i);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}},71505:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{Fl:function(){return e$},LO:function(){return eH}});var i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w={};function S(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:w}var A=Object.assign,T=Object.getOwnPropertyDescriptor,x=Object.defineProperty,k=Object.prototype,M=[];Object.freeze(M);var P={};Object.freeze(P);var I="undefined"!=typeof Proxy,E=Object.toString();function C(){!I&&r("Proxy not available")}function O(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var D=function(){};function L(e){return"function"==typeof e}function B(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function N(e){return null!==e&&"object"==typeof e}function R(e){if(!N(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===E}function j(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||!1)}function U(e,t,n){x(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function z(e,t,n){x(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function F(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return N(e)&&!0===e[n]}}function G(e){return e instanceof Map}function q(e){return e instanceof Set}var W=void 0!==Object.getOwnPropertySymbols,Z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:W?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function H(e){return null===e?null:"object"==typeof e?""+e:e}function V(e,t){return k.hasOwnProperty.call(e,t)}var Q=Object.getOwnPropertyDescriptors||function(e){var t={};return Z(e).forEach(function(n){t[n]=T(e,n)}),t};function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r.key),r)}}function $(e,t,n){return t&&Y(e.prototype,t),n&&Y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function X(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,J(e,t)}function J(e,t){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ee(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function en(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=function(e,t){if(e){if("string"==typeof e)return et(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(e,t)}}(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 TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var er=Symbol("mobx-stored-annotations");function ei(e){return Object.assign(function(t,n){if(ea(n))return e.decorate_20223_(t,n);eo(t,n,e)},e)}function eo(e,t,n){!V(e,er)&&U(e,er,K({},e[er]));!function(e){return"override"===e.annotationType_}(n)&&(e[er][t]=n)}function ea(e){return"object"==typeof e&&"string"==typeof e.kind}var es=Symbol("mobx administration"),el=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=g.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return t_(this)},t.reportChanged=function(){tg(),tv(this),tm()},t.toString=function(){return this.name_},e}(),eu=F("Atom",el);function ec(e,t,n){void 0===t&&(t=D),void 0===n&&(n=D);var r=new el(e);return t!==D&&function(e,t,n){tN("onBO",e,t,n)}(r,t),n!==D&&tB(r,n),r}var ed={structural:function(e,t){return nP(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function ep(e,t,n){if(tW(e))return e;if(Array.isArray(e))return eH.array(e,{name:n});if(R(e))return eH.object(e,void 0,{name:n});if(G(e))return eH.map(e,{name:n});if(q(e))return eH.set(e,{name:n});if("function"==typeof e&&!tD(e)&&!tq(e))return j(e)?tF(e):tO(n,e);return e}function eh(e){return e}function ef(e,t){return{annotationType_:e,options_:t,make_:eg,extend_:em,decorate_20223_:e_}}function eg(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tD(n.value))return 1;var i,o=ev(e,this,t,n,!1);return x(r,t,o),2}function em(e,t,n,r){var i=ev(e,this,t,n);return e.defineProperty_(t,i,r)}function e_(e,t){var n,i,o,a,s,l,u=t.kind,c=t.name,d=t.addInitializer,p=this;if("field"==u){d(function(){eo(this,c,p)});return}if("method"==u){if(!tD(e)){;n=e,e=e1(null!=(i=null==(o=p.options_)?void 0:o.name)?i:c.toString(),n,null!=(a=null==(s=p.options_)?void 0:s.autoAction)&&a)}return null!=(l=this.options_)&&l.bound&&d(function(){var e=this[c].bind(this);e.isMobxAction=!0,this[c]=e}),e}r("Cannot apply '"+p.annotationType_+"' to '"+String(c)+"' (kind: "+u+"):"+("\n'"+p.annotationType_)+"' can only be used on properties with a function value.")}function ev(e,t,n,r,i){void 0===i&&(i=tp.safeDescriptors),o=0,a=t,s=0,l=r,a.annotationType_,l.value;var o,a,s,l,u,c,d,p,h,f,g,m,_=r.value;return null!=(u=t.options_)&&u.bound&&(_=_.bind(null!=(m=e.proxy_)?m:e.target_)),{value:e1(null!=(c=null==(d=t.options_)?void 0:d.name)?c:n.toString(),_,null!=(p=null==(h=t.options_)?void 0:h.autoAction)&&p,null!=(f=t.options_)&&f.bound?null!=(g=e.proxy_)?g:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function eb(e,t){return{annotationType_:e,options_:t,make_:ey,extend_:ew,decorate_20223_:eS}}function ey(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!V(e.target_,t)||!tq(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tq(n.value))return 1;var i,o=eA(e,this,t,n,!1,!1);return x(r,t,o),2}function ew(e,t,n,r){var i,o=eA(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function eS(e,t){var n,r=t.name,i=t.addInitializer;return!tq(e)&&(e=tF(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function eA(e,t,n,r,i,o){void 0===o&&(o=tp.safeDescriptors),a=0,s=t,l=0,u=r,s.annotationType_,u.value;var a,s,l,u,c,d=r.value;return!tq(d)&&(d=tF(d)),i&&((d=d.bind(null!=(c=e.proxy_)?c:e.target_)).isMobXFlow=!0),{value:d,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function eT(e,t){return{annotationType_:e,options_:t,make_:ex,extend_:ek,decorate_20223_:eM}}function ex(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ek(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get}(e,this,t,n),e.defineComputedProperty_(t,K({},this.options_,{get:n.get,set:n.set}),r)}function eM(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=nd(this)[es],i=K({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new e5(i))}),function(){return this[es].getObservablePropValue_(r)}}function eP(e,t){return{annotationType_:e,options_:t,make_:eI,extend_:eE,decorate_20223_:eC}}function eI(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function eE(e,t,n,r){var i,o;return function(e,t,n,r){t.annotationType_}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:ep,r)}function eC(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=nd(e)[es],l=new e3(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:ep,"ObservableObject."+i.toString(),!1);s.values_.set(i,l),o.add(e)}if("accessor"==r)return{get:function(){return!o.has(this)&&a(this,e.get.call(this)),this[es].getObservablePropValue_(i)},set:function(e){return!o.has(this)&&a(this,e),this[es].setObservablePropValue_(i,e)},init:function(e){return!o.has(this)&&a(this,e),e}}}var eO=eD();function eD(e){return{annotationType_:"true",options_:e,make_:eL,extend_:eB,decorate_20223_:eN}}function eL(e,t,n,r){if(n.get)return e$.make_(e,t,n,r);if(n.set){var i,o,a,s,l,u=e1(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!tp.safeDescriptors||e.isPlainObject_,set:u})?0:2:(x(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value){if(j(n.value)){;return(null!=(s=this.options_)&&s.autoBind?tF.bound:tF).make_(e,t,n,r)}return(null!=(a=this.options_)&&a.autoBind?tO.bound:tO).make_(e,t,n,r)}var c=(null==(i=this.options_)?void 0:i.deep)===!1?eH.ref:eH;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function eB(e,t,n,r){var i,o,a;if(n.get)return e$.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!tp.safeDescriptors||e.isPlainObject_,set:e1(t.toString(),n.set)},r);return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(o=this.options_)?void 0:o.deep)===!1?eH.ref:eH).extend_(e,t,n,r)}function eN(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var eR={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ej(e){return e||eR}Object.freeze(eR);var eU=eP("observable"),ez=eP("observable.ref",{enhancer:eh}),eF=eP("observable.shallow",{enhancer:function(e,t,n){return null==e||nf(e)||ne(e)||ni(e)||ns(e)?e:Array.isArray(e)?eH.array(e,{name:n,deep:!1}):R(e)?eH.object(e,void 0,{name:n,deep:!1}):G(e)?eH.map(e,{name:n,deep:!1}):q(e)?eH.set(e,{name:n,deep:!1}):void 0}}),eG=eP("observable.struct",{enhancer:function(e,t){return nP(e,t)?t:e}}),eq=ei(eU);function eW(e){return!0===e.deep?ep:!1===e.deep?eh:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:ep}(e.defaultDecorator)}function eZ(e,t,n){if(ea(t))return eU.decorate_20223_(e,t);if(B(t)){eo(e,t,eU);return}return tW(e)?e:R(e)?eH.object(e,t,n):Array.isArray(e)?eH.array(e,t):G(e)?eH.map(e,t):q(e)?eH.set(e,t):"object"==typeof e&&null!==e?e:eH.box(e,t)}A(eZ,eq);var eH=A(eZ,{box:function(e,t){var n=t||eR;return new e3(e,eW(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eR;return(!1===tp.useProxies||!1===n.proxy?function(e,t,n){return new nw(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),C(),nk(function(){var i=new t4(n,t,r,!1);z(i.values_,es,i);var o=new Proxy(i.values_,t2);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})})(e,eW(n),n.name)},map:function(e,t){var n=t||eR;return new nr(e,eW(n),n.name)},set:function(e,t){var n=t||eR;return new na(e,eW(n),n.name)},object:function(e,t,n){return nk(function(){return function(e,t,n,r){var i=Q(t);return nk(function(){var t=nd(e,r)[es];Z(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}(!1===tp.useProxies||(null==n?void 0:n.proxy)===!1?nd({},n):function(e,t){var n,r;return C(),null!=(r=(n=(e=nd(e,t))[es]).proxy_)?r:n.proxy_=new Proxy(e,tV)}({},n),e,t)})},ref:ei(ez),shallow:ei(eF),deep:eq,struct:ei(eG)}),eV="computed",eQ=eT(eV),eY=eT("computed.struct",{equals:ed.structural}),e$=function(e,t){if(ea(t))return eQ.decorate_20223_(e,t);if(B(t))return eo(e,t,eQ);if(R(e))return ei(eT(eV,e));var n=R(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new e5(n)};Object.assign(e$,eQ),e$.struct=ei(eY);var eK=0,eX=1,eJ=null!=(d=null==(p=T(function(){},"name"))?void 0:p.configurable)&&d,e0={value:"action",configurable:!0,writable:!1,enumerable:!1};function e1(e,t,n,i){function o(){return function(e,t,n,i,o){var a=function(e,t,n,r){var i=tp.trackingDerivation,o=!t||!i;tg();var a=tp.allowStateChanges;o&&(to(),a=e2(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:ts(!0),notifySpy_:!1,startTime_:0,actionId_:eX++,parentActionId_:eK};return eK=s.actionId_,s}(e,t,i,o);try{return n.apply(i,o)}catch(e){throw a.error_=e,e}finally{(function(e){eK!==e.actionId_&&r(30),eK=e.parentActionId_,void 0!==e.error_&&(tp.suppressReactionErrors=!0),e4(e.prevAllowStateChanges_),tl(e.prevAllowStateReads_),tm(),e.runAsAction_&&ta(e.prevDerivation_),tp.suppressReactionErrors=!1})(a)}}(e,n,t,i||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},eJ&&(e0.value=e,x(o,"name",e0)),o}function e2(e){var t=tp.allowStateChanges;return tp.allowStateChanges=e,t}function e4(e){tp.allowStateChanges=e}h=Symbol.toPrimitive;var e3=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=ed.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}X(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==tp.UNCHANGED&&(function(){;}(),this.setNewValue_(e))},n.prepareNewValue_=function(e){if(tQ(this)){var t=t$(this,{object:this,type:t1,newValue:e});if(!t)return tp.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?tp.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tK(this)&&tJ(this,{type:t1,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tY(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t1,newValue:this.value_,oldValue:void 0}),tX(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return H(this.get())},n[h]=function(){return this.valueOf()},t}(el);f=Symbol.toPrimitive;var e5=function(){function e(e){this.dependenciesState_=g.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=g.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e8(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=m.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,!e.get&&r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=e1("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ed.structural:ed.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){(function(e){e.lowestObserverState_===g.UP_TO_DATE_&&(e.lowestObserverState_=g.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===g.UP_TO_DATE_&&(e.dependenciesState_=g.POSSIBLY_STALE_,e.onBecomeStale_())}))})(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==tp.inBatch||0!==this.observers_.size||this.keepAlive_){if(t_(this),e7(this)){var e=tp.trackingContext;this.keepAlive_&&!e&&(tp.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==g.STALE_&&(e.lowestObserverState_=g.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===g.POSSIBLY_STALE_?t.dependenciesState_=g.STALE_:t.dependenciesState_===g.UP_TO_DATE_&&(e.lowestObserverState_=g.UP_TO_DATE_)}))}(this),tp.trackingContext=e}}else e7(this)&&(this.warnAboutUntrackedRead_(),tg(),this.value_=this.computeValue_(!1),tm());var t=this.value_;if(e9(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===g.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e9(e)||e9(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=e2(!1);if(e)t=tn(this,this.derivation,this.scope_);else if(!0===tp.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e8(e)}return e4(n),this.isComputing_=!1,t},t.suspend_=function(){!this.keepAlive_&&(tr(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){void 0===t&&(t=P);var n,r,i,o,a,s,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)s=new tb(l,function(){this.track(d)},t.onError,t.requiresObservable);else{var u=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tL}(t),c=!1;s=new tb(l,function(){!c&&(c=!0,u(function(){c=!1,!s.isDisposed_&&s.track(d)}))},t.onError,t.requiresObservable)}function d(){e(s)}return!(null!=(i=t)&&null!=(o=i.signal)&&o.aborted)&&s.schedule_(),s.getDisposer_(null==(a=t)?void 0:a.signal)}(function(){var o=n.get();if(!r||t){var a=to();e({observableKind:"computed",debugObjectName:n.name_,type:t1,object:n,newValue:o,oldValue:i}),ta(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return H(this.get())},t[f]=function(){return this.valueOf()},e}(),e6=F("ComputedValue",e5);(i=g||(g={}))[i.NOT_TRACKING_=-1]="NOT_TRACKING_",i[i.UP_TO_DATE_=0]="UP_TO_DATE_",i[i.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",i[i.STALE_=2]="STALE_",(o=m||(m={}))[o.NONE=0]="NONE",o[o.LOG=1]="LOG",o[o.BREAK=2]="BREAK";var e8=function(e){this.cause=void 0,this.cause=e};function e9(e){return e instanceof e8}function e7(e){switch(e.dependenciesState_){case g.UP_TO_DATE_:return!1;case g.NOT_TRACKING_:case g.STALE_:return!0;case g.POSSIBLY_STALE_:for(var t=ts(!0),n=to(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(e6(a)){if(tp.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return ta(n),tl(t),!0}if(e.dependenciesState_===g.STALE_)return ta(n),tl(t),!0}}return tu(e),ta(n),tl(t),!1}}function te(e){}function tn(e,t,n){var r,i=ts(!0);tu(e),e.newObserving_=Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++tp.runId;var o=tp.trackingDerivation;if(tp.trackingDerivation=e,tp.inBatch++,!0===tp.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new e8(e)}return tp.inBatch--,tp.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=g.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var l=t[o];0===l.diffValue_&&th(l,e),l.diffValue_=0}for(;i--;){var u=n[i];1===u.diffValue_&&(u.diffValue_=0,function(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}(u,e))}r!==g.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),tl(i),r}function tr(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)th(t[n],e);e.dependenciesState_=g.NOT_TRACKING_}function ti(e){var t=to();try{return e()}finally{ta(t)}}function to(){var e=tp.trackingDerivation;return tp.trackingDerivation=null,e}function ta(e){tp.trackingDerivation=e}function ts(e){var t=tp.allowStateReads;return tp.allowStateReads=e,t}function tl(e){tp.allowStateReads=e}function tu(e){if(e.dependenciesState_!==g.UP_TO_DATE_){e.dependenciesState_=g.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=g.UP_TO_DATE_}}var tc=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},td=!0;var tp=((a=S()).__mobxInstanceCount>0&&!a.__mobxGlobals&&(td=!1),a.__mobxGlobals&&a.__mobxGlobals.version!==new tc().version&&(td=!1),td)?a.__mobxGlobals?(a.__mobxInstanceCount+=1,!a.__mobxGlobals.UNCHANGED&&(a.__mobxGlobals.UNCHANGED={}),a.__mobxGlobals):(a.__mobxInstanceCount=1,a.__mobxGlobals=new tc):(setTimeout(function(){r(35)},1),new tc);function th(e,t){e.observers_.delete(t),0===e.observers_.size&&tf(e)}function tf(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,tp.pendingUnobservations.push(e))}function tg(){tp.inBatch++}function tm(){if(0==--tp.inBatch){ty();for(var e=tp.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof e5&&n.suspend_())}tp.pendingUnobservations=[]}}function t_(e){t=0;var t,n=tp.trackingDerivation;return null!==n?(n.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=n.runId_,n.newObserving_[n.unboundDepsCount_++]=e,!e.isBeingObserved_&&tp.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&tp.inBatch>0&&tf(e),!1)}function tv(e){e.lowestObserverState_!==g.STALE_&&(e.lowestObserverState_=g.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===g.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=g.STALE_}))}var tb=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=g.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=m.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){!this.isScheduled_&&(this.isScheduled_=!0,tp.pendingReactions.push(this),ty())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){tg(),this.isScheduled_=!1;var e=tp.trackingContext;if(tp.trackingContext=this,e7(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}tp.trackingContext=e,tm()}},t.track=function(e){if(!this.isDisposed_){tg(),function(){;}(),this.isRunning_=!0;var t=tp.trackingContext;tp.trackingContext=this;var n=tn(this,e,void 0);tp.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&tr(this),e9(n)&&this.reportExceptionInDerivation_(n.cause),tm()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(tp.disableErrorBoundaries)throw e;!tp.suppressReactionErrors&&console.error("[mobx] uncaught error in '"+this+"'",e),tp.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed_&&(this.isDisposed_=!0,!this.isRunning_&&(tg(),tr(this),tm()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[es]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}();function ty(){if(!(tp.inBatch>0)&&!tp.isRunningReactions)tw()}function tw(){tp.isRunningReactions=!0;for(var e=tp.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}tp.isRunningReactions=!1}var tS=F("Reaction",tb);function tA(){return!1}var tT="action",tx="autoAction",tk=ef(tT),tM=ef("action.bound",{bound:!0}),tP=ef(tx,{autoAction:!0}),tI=ef("autoAction.bound",{autoAction:!0,bound:!0});function tE(e){return function(t,n){return L(t)?e1(t.name||"<unnamed action>",t,e):L(n)?e1(t,n,e):ea(n)?(e?tP:tk).decorate_20223_(t,n):B(n)?eo(t,n,e?tP:tk):B(t)?ei(ef(e?tx:tT,{name:t,autoAction:e})):void 0}}var tC=tE(!1);Object.assign(tC,tk);var tO=tE(!0);function tD(e){return L(e)&&!0===e.isMobxAction}Object.assign(tO,tP),tC.bound=ei(tM),tO.bound=ei(tI);var tL=function(e){return e()};function tB(e,t,n){return tN("onBUO",e,t,n)}function tN(e,t,n,r){var i="function"==typeof r?nT(t,n):nT(t),o=L(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var tR=0;function tj(){this.message="FLOW_CANCELLED"}tj.prototype=Object.create(Error.prototype);var tU=eb("flow"),tz=eb("flow.bound",{bound:!0}),tF=Object.assign(function(e,t){if(ea(t))return tU.decorate_20223_(e,t);if(B(t))return eo(e,t,tU);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tR,o=tC(n+" - runid: "+i+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function l(e){var t;a=void 0;try{t=tC(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}c(t)}function u(e){var t;a=void 0;try{t=tC(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}c(t)}function c(t){if(L(null==t?void 0:t.then)){t.then(c,r);return}return t.done?e(t.value):(a=Promise.resolve(t.value)).then(l,u)}t=r,l(void 0)});return s.cancel=tC(n+" - runid: "+i+" - cancel",function(){try{a&&tG(a);var e=o.return(void 0),n=Promise.resolve(e.value);n.then(D,D),tG(n),t(new tj)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tU);function tG(e){L(e.cancel)&&e.cancel()}function tq(e){return(null==e?void 0:e.isMobXFlow)===!0}tF.bound=ei(tz);function tW(e){return function(e,t){if(!e)return!1;!1;return nf(e)||!!e[es]||eu(e)||tS(e)||e6(e)}(e)}function tZ(e,t){void 0===t&&(t=void 0),tg();try{return e.apply(t)}finally{tm()}}function tH(e){return e[es]}var tV={has:function(e,t){return e[es].has_(t)},get:function(e,t){return e[es].get_(t)},set:function(e,t,n){var r;if(!B(t))return!1;return null==(r=e[es].set_(t,n,!0))||r},deleteProperty:function(e,t){var n;if(!B(t))return!1;return null==(n=e[es].delete_(t,!0))||n},defineProperty:function(e,t,n){var r;return null==(r=e[es].defineProperty_(t,n))||r},ownKeys:function(e){return e[es].ownKeys_()},preventExtensions:function(e){r(13)}};function tQ(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tY(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function t$(e,t){var n=to();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((t=i[o](t))&&!t.type&&r(14),t);o++);return t}finally{ta(n)}}function tK(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tX(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),O(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tJ(e,t){var n=to(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);ta(n)}}var t0="splice",t1="update",t2={get:function(e,t){var n=e[es];return t===es?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?V(t3,t)?t3[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[es];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},t4=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new el(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return tY(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tX(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&nA(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=M),tQ(this)){var o=t$(this,{object:this.proxy_,type:t0,index:e,removedCount:t,added:n});if(!o)return M;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=tK(this),o=i||r?{observableKind:"array",object:this.proxy_,type:t1,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&tJ(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=tK(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:t0,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&tJ(this,o)},t.get_=function(e){if(this.legacyMode_&&e>=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(tQ(this)){var o=t$(this,{type:t1,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var a=Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}(),t3={clear:function(){return this.splice(0)},replace:function(e){var t=this[es];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[es];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[es].spliceWithArray_(e,t,n)},push:function(){for(var e=this[es],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[es].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[es],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return tp.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){tp.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[es],n=t.dehanceValues_(t.values_).indexOf(e);return!!(n>-1)&&(this.splice(n,1),!0)}};function t5(e,t){"function"==typeof Array.prototype[e]&&(t3[e]=t(e))}function t6(e){return function(){var t=this[es];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t8(e){return function(t,n){var r=this,i=this[es];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t9(e){return function(){var t=this,n=this[es];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}t5("at",t6),t5("concat",t6),t5("flat",t6),t5("includes",t6),t5("indexOf",t6),t5("join",t6),t5("lastIndexOf",t6),t5("slice",t6),t5("toString",t6),t5("toLocaleString",t6),t5("toSorted",t6),t5("toSpliced",t6),t5("with",t6),t5("every",t8),t5("filter",t8),t5("find",t8),t5("findIndex",t8),t5("findLast",t8),t5("findLastIndex",t8),t5("flatMap",t8),t5("forEach",t8),t5("map",t8),t5("some",t8),t5("toReversed",t8),t5("reduce",t9),t5("reduceRight",t9);var t7=F("ObservableArrayAdministration",t4);function ne(e){return N(e)&&t7(e[es])}var nt={},nn="delete";_=Symbol.iterator,v=Symbol.toStringTag;var nr=function(){function e(e,t,n){var i=this;void 0===t&&(t=ep),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[es]=nt,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,!L(Map)&&r(18),nk(function(){i.keysAtom_=ec("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!tp.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new e3(this.has_(e),eh,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tB(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tQ(this)){var r=t$(this,{type:n?t1:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,tQ(this)&&!t$(this,{type:nn,object:this,name:e}))return!1;if(this.has_(e)){var n=tK(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:nn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tZ(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tJ(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==tp.UNCHANGED){var r=tK(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:t1,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tJ(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tZ(function(){var r,i=new e3(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tK(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tJ(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return nE({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return nE({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[_]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=en(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return ni(e)&&(e=new Map(e)),tZ(function(){R(e)?(function(e){var t=Object.keys(e);if(!W)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return k.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):G(e)?(e.constructor!==Map&&r(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&r(20,e)}),this},t.clear=function(){var e=this;tZ(function(){ti(function(){for(var t,n=en(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tZ(function(){for(var n=function(e){if(G(e)||ni(e))return e;if(Array.isArray(e))return new Map(e);if(!R(e))return r(21,e);else{var t=new Map;for(var n in e)t.set(n,e[n]);return t}}(e),i=new Map,o=!1,a,s=en(t.data_.keys());!(a=s()).done;){var l=a.value;if(!n.has(l)){if(t.delete(l))o=!0;else{var u=t.data_.get(l);i.set(l,u)}}}for(var c,d=en(n.entries());!(c=d()).done;){var p=c.value,h=p[0],f=p[1],g=t.data_.has(h);if(t.set(h,f),t.data_.has(h)){var m=t.data_.get(h);i.set(h,m),!g&&(o=!0)}}if(!o){if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else{for(var _=t.data_.keys(),v=i.keys(),b=_.next(),y=v.next();!b.done;){if(b.value!==y.value){t.keysAtom_.reportChanged();break}b=_.next(),y=v.next()}}}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return tX(this,e)},t.intercept_=function(e){return tY(this,e)},$(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:v,get:function(){return"Map"}}]),e}(),ni=F("ObservableMap",nr),no={};b=Symbol.iterator,y=Symbol.toStringTag;var na=function(){function e(e,t,n){var i=this;void 0===t&&(t=ep),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[es]=no,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,!L(Set)&&r(22),this.enhancer_=function(e,r){return t(e,r,n)},nk(function(){i.atom_=ec(i.name_),e&&i.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tZ(function(){ti(function(){for(var t,n=en(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=en(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,tQ(this)&&!t$(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tZ(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tK(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&tJ(this,r)}return this},t.delete=function(e){var t=this;if(tQ(this)&&!t$(this,{type:nn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tK(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:nn,object:this,oldValue:e}:null;return tZ(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tJ(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return nE({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return nE({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return ns(e)&&(e=new Set(e)),tZ(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):q(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return tX(this,e)},t.intercept_=function(e){return tY(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[b]=function(){return this.values()},$(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:y,get:function(){return"Set"}}]),e}(),ns=F("ObservableSet",na),nl=Object.create(null),nu="remove",nc=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=eO),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new el("ObservableObject.keys"),this.isPlainObject_=R(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof e5)return n.set(t),!0;if(tQ(this)){var r=t$(this,{type:t1,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==tp.UNCHANGED){var i=tK(this),o=i?{type:t1,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&tJ(this,o)}return!0},t.get_=function(e){return tp.trackingDerivation&&!V(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return(void 0===n&&(n=!1),V(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!tp.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return!t&&(t=new e3(e in this.target_,eh,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[er])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==k;){var o=T(i,e);if(o){var a=t.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}ng(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&ng(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tg();var r=this.delete_(e);if(!r)return r;if(tQ(this)){var i=t$(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=K({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else x(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{tm()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{tg();var i=this.delete_(e);if(!i)return i;if(tQ(this)){var o=t$(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!o)return null;t=o.newValue}var a=nh(e),s={configurable:!tp.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else x(this.target_,e,s);var l=new e3(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{tm()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{tg();var r=this.delete_(e);if(!r)return r;if(tQ(this)&&!t$(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=nh(e),o={configurable:!tp.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else x(this.target_,e,o);this.values_.set(e,new e5(t)),this.notifyPropertyAddition_(e,void 0)}finally{tm()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!V(this.target_,e))return!0;if(tQ(this)&&!t$(this,{object:this.proxy_||this.target_,name:e,type:nu}))return null;try{tg();var n,r,i,o=tK(this),a=this.values_.get(e),s=void 0;if(!a&&o&&(s=null==(i=T(this.target_,e))?void 0:i.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof e3&&(s=a.value_),tv(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),o){var l={type:nu,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};o&&tJ(this,l)}}finally{tm()}return!0},t.observe_=function(e,t){return tX(this,e)},t.intercept_=function(e){return tY(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,i=tK(this);if(i){var o=i?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;i&&tJ(this,o)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Z(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function nd(e,t){if(V(e,es))return e;var n,r,i,o=null!=(i=null==t?void 0:t.name)?i:"ObservableObject";var a=new nc(e,new Map,String(o),(n=t)?null!=(r=n.defaultDecorator)?r:eD(n):void 0);return U(e,es,a),e}var np=F("ObservableObjectAdministration",nc);function nh(e){return nl[e]||(nl[e]={get:function(){return this[es].getObservablePropValue_(e)},set:function(t){return this[es].setObservablePropValue_(e,t)}})}function nf(e){return!!N(e)&&np(e[es])}function ng(e,t,n){var r;null==(r=e.target_[er])||delete r[n]}function nm(e,t,n){}var n_=nS(0);var nv=(s=!1,Object.defineProperty(l={},"0",{set:function(){s=!0}}),Object.create(l)["0"]=1,!1===s),nb=0,ny=function(){};u=ny,c=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(u.prototype,c):void 0!==u.prototype.__proto__?u.prototype.__proto__=c:u.prototype=c;var nw=function(e,t,n){function r(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,nk(function(){var e=new t4(r,n,i,!0);e.proxy_=ee(o),z(ee(o),es,e),t&&t.length&&o.spliceWithArray(0,0,t),nv&&Object.defineProperty(ee(o),"0",n_)}),o}X(r,e);var i=r.prototype;return i.concat=function(){this[es].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return ne(e)?e.slice():e}))},i[n]=function(){var e=this,t=0;return nE({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},$(r,[{key:"length",get:function(){return this[es].getArrayLength_()},set:function(e){this[es].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(ny,Symbol.toStringTag,Symbol.iterator);function nS(e){return{enumerable:!1,configurable:!0,get:function(){return this[es].get_(e)},set:function(t){this[es].set_(e,t)}}}Object.entries(t3).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&U(nw.prototype,t,n)});function nA(e){if(e>nb){for(var t,n=nb;n<e+100;n++){;t=n,x(nw.prototype,""+t,nS(t))}nb=e}}nA(1e3);function nT(e,t){if("object"==typeof e&&null!==e){if(ne(e))return void 0!==t&&r(23),e[es].atom_;if(ns(e))return e.atom_;if(ni(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return!n&&r(25,t,nx(e)),n}if(nf(e)){if(!t)return r(26);var i=e[es].values_.get(t);return!i&&r(27,t,nx(e)),i}if(eu(e)||e6(e)||tS(e))return e}else if(L(e)&&tS(e[es]))return e[es];r(28)}function nx(e,t){var n;if(void 0!==t)n=nT(e,t);else{if(tD(e))return e.name;n=nf(e)||ni(e)||ns(e)?function e(t,n){return(!t&&r(29),void 0!==n)?e(nT(t,n)):eu(t)||e6(t)||tS(t)||ni(t)||ns(t)?t:t[es]?t[es]:void r(24,t)}(e):nT(e)}return n.name_}function nk(e){var t=to(),n=e2(!0);tg();try{return e()}finally{tm(),e4(n),ta(t)}}var nM=k.toString;function nP(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=nM.call(t);if(s!==nM.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nI(t),n=nI(n);var l="[object Array]"===s;if(!l){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,c=n.constructor;if(u!==c&&!(L(u)&&u instanceof u&&L(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1);o=o||[];for(var d=(i=i||[]).length;d--;)if(i[d]===t)return o[d]===n;if(i.push(t),o.push(n),l){if((d=t.length)!==n.length)return!1;for(;d--;)if(!e(t[d],n[d],r-1,i,o))return!1}else{var p,h=Object.keys(t);if(d=h.length,Object.keys(n).length!==d)return!1;for(;d--;)if(!(V(n,p=h[d])&&e(t[p],n[p],r-1,i,o)))return!1}return i.pop(),o.pop(),!0}(e,t,n)}function nI(e){return ne(e)?e.slice():G(e)||ni(e)||q(e)||ns(e)?Array.from(e.entries()):e}function nE(e){return e[Symbol.iterator]=nC,e}function nC(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===S()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:nx},$mobx:es})},56776:function(e){var t=6e4,n=36e5,r=864e5,i=6048e5,o=315576e5;e.exports=function(e,s){s=s||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\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(a){var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"weeks":case"week":case"w":return s*i;case"days":case"day":case"d":return s*r;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?function(e){var i=Math.abs(e);return i>=r?a(e,i,r,"day"):i>=n?a(e,i,n,"hour"):i>=t?a(e,i,t,"minute"):i>=1e3?a(e,i,1e3,"second"):e+" ms"}(e):function(e){var i=Math.abs(e);return i>=r?Math.round(e/r)+"d":i>=n?Math.round(e/n)+"h":i>=t?Math.round(e/t)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms"}(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function a(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}},93675:function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,_=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,y=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,A=Array.prototype.concat,T=Array.prototype.join,x=Array.prototype.slice,k=Math.floor,M="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,E="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===E?"object":"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var i=String(r),o=v.call(t,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var B=n("32215"),N=B.custom,R=F(N)?N:null;function j(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}e.exports=function e(t,r,i,s){var l=r||{};if(q(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(q(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!q(l,"customInspect")||l.customInspect;if("boolean"!=typeof g&&"symbol"!==g)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(l,"indent")&&null!==l.indent&&" "!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength;return e(v.call(t,0,n.maxStringLength),n)+("... "+r+" more character")+(r>1?"s":"")}return j(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,H),"single",n)}(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return y?L(t,S):S}if("bigint"==typeof t){var k=String(t)+"n";return y?L(t,k):k}var P=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=P&&P>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var N=function(e,t){var n;if(" "===e.indent)n=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=T.call(Array(e.indent+1)," ")}return{base:n,prev:T.call(Array(t+1),n)}}(l,i);if(void 0===s)s=[];else if(Z(s,t)>=0)return"[Circular]";function G(t,n,r){if(n&&(s=x.call(s)).push(n),r){var o={depth:l.depth};return q(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,i+1,s)}return e(t,l,i+1,s)}if("function"==typeof t&&!z(t)){var X=function(e){if(e.name)return e.name;var t=_.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=K(t,G);return"[Function"+(X?": "+X:" (anonymous)")+"]"+(J.length>0?" { "+T.call(J,", ")+" }":"")}if(F(t)){var ee=E?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||E?ee:V(ee)}if(function(e){return!!e&&"object"==typeof e&&(!!("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var et="<"+w.call(String(t.nodeName)),en=t.attributes||[],er=0;er<en.length;er++)et+=" "+en[er].name+"="+j(function(e){return b.call(String(e),/"/g,"&quot;")}(en[er].value),"double",l);return et+=">",t.childNodes&&t.childNodes.length&&(et+="..."),et+="</"+w.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ei=K(t,G);return N&&!function(e){for(var t=0;t<e.length;t++)if(Z(e[t],"\n")>=0)return!1;return!0}(ei)?"["+$(ei,N)+"]":"[ "+T.call(ei,", ")+" ]"}if(function(e){return"[object Error]"===W(e)&&(!C||!("object"==typeof e&&C in e))}(t)){var eo=K(t,G);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===eo.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(eo,", ")+" }":"{ ["+String(t)+"] "+T.call(A.call("[cause]: "+G(t.cause),eo),", ")+" }"}if("object"==typeof t&&g){if(R&&"function"==typeof t[R]&&B)return B(t,{depth:P-i});if("symbol"!==g&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ea=[];return a&&a.call(t,function(e,n){ea.push(G(n,t,!0)+" => "+G(e,t))}),Y("Map",o.call(t),ea,N)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var es=[];return c&&c.call(t,function(e){es.push(G(e,t))}),Y("Set",u.call(t),es,N)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Q("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Q("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return Q("WeakRef");if(function(e){return"[object Number]"===W(e)&&(!C||!("object"==typeof e&&C in e))}(t))return V(G(Number(t)));if(function(e){if(!e||"object"!=typeof e||!M)return!1;try{return M.call(e),!0}catch(e){}return!1}(t))return V(G(M.call(t)));if(function(e){return"[object Boolean]"===W(e)&&(!C||!("object"==typeof e&&C in e))}(t))return V(f.call(t));if(function(e){return"[object String]"===W(e)&&(!C||!("object"==typeof e&&C in e))}(t))return V(G(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===W(e)&&(!C||!("object"==typeof e&&C in e))}(t)&&!z(t)){var el=K(t,G),eu=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,ec=t instanceof Object?"":"null prototype",ed=!eu&&C&&Object(t)===t&&C in t?v.call(W(t),8,-1):ec?"Object":"",ep=(eu||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ed||ec?"["+T.call(A.call([],ed||[],ec||[]),": ")+"] ":"");return 0===el.length?ep+"{}":N?ep+"{"+$(el,N)+"}":ep+"{ "+T.call(el,", ")+" }"}return String(t)};function U(e){return"[object Array]"===W(e)&&(!C||!("object"==typeof e&&C in e))}function z(e){return"[object RegExp]"===W(e)&&(!C||!("object"==typeof e&&C in e))}function F(e){if(E)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}var G=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return G.call(e,t)}function W(e){return g.call(e)}function Z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}function H(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+y.call(t.toString(16))}function V(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function Y(e,t,n,r){return e+" ("+t+") {"+(r?$(n,r):T.call(n,", "))+"}"}function $(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+T.call(e,","+n)+"\n"+t.prev}function K(e,t){var n,r=U(e),i=[];if(r){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=q(e,o)?t(e[o],e):""}var a="function"==typeof P?P(e):[];if(E){n={};for(var s=0;s<a.length;s++)n["$"+a[s]]=a[s]}for(var l in e){if(!!q(e,l)){if(!r||String(Number(l))!==l||!(l<e.length)){if(E&&n["$"+l]instanceof Symbol)continue;else S.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))}}}if("function"==typeof P)for(var u=0;u<a.length;u++)O.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},603:function(e,t,n){"use strict";var r=n("59599");function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},94001:function(e,t,n){e.exports=n("603")()},59599:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},40945:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},88252:function(e,t,n){"use strict";var r=n("83747"),i=n("72310"),o=n("40945");e.exports={formats:o,parse:i,stringify:r}},72310:function(e,t,n){"use strict";var r=n("70793"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=l.split(t.delimiter,u),d=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h<c.length;++h)0===c[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[h]?p="utf-8":"utf8=%26%2310003%3B"===c[h]&&(p="iso-8859-1"),d=h,h=c.length);for(h=0;h<c.length;++h)if(h!==d){var h,f,g,m=c[h],_=m.indexOf("]="),v=-1===_?m.indexOf("="):_+1;if(-1===v?(f=t.decoder(m,a.decoder,p,"key"),g=t.strictNullHandling?null:""):(f=t.decoder(m.slice(0,v),a.decoder,p,"key"),g=r.maybeMap(s(m.slice(v+1),t),function(e){return t.decoder(e,a.decoder,p,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===p)g=g.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))});m.indexOf("[]=")>-1&&(g=o(g)?[g]:g);var b=i.call(n,f);b&&"combine"===t.duplicates?n[f]=r.combine(n[f],g):(!b||"last"===t.duplicates)&&(n[f]=g)}return n},u=function(e,t,n,r){for(var i=r?t:s(t,n),o=e.length-1;o>=0;--o){var a,l=e[o];if("[]"===l&&n.parseArrays)a=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,c=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,d=parseInt(c,10);n.parseArrays||""!==c?!isNaN(d)&&l!==c&&String(d)===c&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(a=[])[d]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var d=0;n.depth>0&&null!==(s=a.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}if(s){if(!0===n.strictDepth)throw RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+o.slice(s.index)+"]")}return u(c,t,n,r)}},d=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var n=d(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var i="string"==typeof e?l(e,n):e,o=n.plainObjects?Object.create(null):{},a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],p=c(u,i[u],n,"string"==typeof e);o=r.merge(o,p,n)}return!0===n.allowSparse?o:r.compact(o)}},83747:function(e,t,n){"use strict";var r=n("30487"),i=n("70793"),o=n("40945"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=o.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},g=function e(t,n,o,a,s,u,d,p,g,m,_,v,b,y,w,S,A,T){for(var x,k,M=t,P=T,I=0,E=!1;void 0!==(P=P.get(f))&&!E;){var C=P.get(t);if(I+=1,void 0!==C){if(C===I)throw RangeError("Cyclic object value");E=!0}void 0===P.get(f)&&(I=0)}if("function"==typeof m?M=m(n,M):M instanceof Date?M=b(M):"comma"===o&&l(M)&&(M=i.maybeMap(M,function(e){return e instanceof Date?b(e):e})),null===M){if(u)return g&&!S?g(n,h.encoder,A,"key",y):n;M=""}if("string"==typeof(x=M)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||i.isBuffer(M))return g?[w(S?n:g(n,h.encoder,A,"key",y))+"="+w(g(M,h.encoder,A,"value",y))]:[w(n)+"="+w(String(M))];var O=[];if(void 0===M)return O;if("comma"===o&&l(M))S&&g&&(M=i.maybeMap(M,g)),k=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(m))k=m;else{var D=Object.keys(M);k=_?D.sort(_):D}var L=p?n.replace(/\./g,"%2E"):n,B=a&&l(M)&&1===M.length?L+"[]":L;if(s&&l(M)&&0===M.length)return B+"[]";for(var N=0;N<k.length;++N){var R=k[N],j="object"==typeof R&&void 0!==R.value?R.value:M[R];if(!d||null!==j){var U=v&&p?R.replace(/\./g,"%2E"):R,z=l(M)?"function"==typeof o?o(B,U):B:B+(v?"."+U:"["+U+"]");T.set(t,I);var F=r();F.set(f,T),c(O,e(j,z,o,a,s,u,d,p,"comma"===o&&S&&l(M)?null:g,m,_,v,b,y,w,S,A,F))}}return O},m=function(e){if(!e)return h;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,n=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var i=o.formatters[r],u=h.filter;if(("function"==typeof e.filter||l(e.filter))&&(u=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:t,charset:n,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:u,format:r,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,i,o=e,a=m(t);"function"==typeof a.filter?o=(i=a.filter)("",o):l(a.filter)&&(n=i=a.filter);var u=[];if("object"!=typeof o||null===o)return"";var d=s[a.arrayFormat],p="comma"===d&&a.commaRoundTrip;!n&&(n=Object.keys(o)),a.sort&&n.sort(a.sort);for(var h=r(),f=0;f<n.length;++f){var _=n[f];(!a.skipNulls||null!==o[_])&&c(u,g(o[_],_,d,p,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,h))}var v=u.join(a.delimiter),b=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),v.length>0?b+v:""}},70793:function(e,t,n){"use strict";var r=n("40945"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r){for(var i=t[r],o=i.obj[i.prop],a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],c=o[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:u}),n.push(c))}}return s(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",u=0;u<s.length;u+=1024){for(var c=s.length>=1024?s.slice(u,u+1024):s,d=[],p=0;p<c.length;++p){var h=c.charCodeAt(p);if(45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||o===r.RFC1738&&(40===h||41===h)){d[d.length]=c.charAt(p);continue}if(h<128){d[d.length]=a[h];continue}if(h<2048){d[d.length]=a[192|h>>6]+a[128|63&h];continue}if(h<55296||h>=57344){d[d.length]=a[224|h>>12]+a[128|h>>6&63]+a[128|63&h];continue}p+=1,h=65536+((1023&h)<<10|1023&c.charCodeAt(p)),d[d.length]=a[240|h>>18]+a[128|h>>12&63]+a[128|h>>6&63]+a[128|63&h]}l+=d.join("")}return l},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return(o(t)&&!o(n)&&(a=l(t,r)),o(t)&&o(n))?(n.forEach(function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n}),t):Object.keys(n).reduce(function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t},a)}}},29559:function(e,t,n){"use strict";var r,i,o=n("11532");var a=(r=o)&&"object"==typeof r&&"default"in r?r.default:r,s=n("38898"),l=new s,u=l.getBrowser(),c=l.getCPU(),d=l.getDevice(),p=l.getEngine(),h=l.getOS(),f=l.getUA(),g=function(e){return l.setUA(e)},m=function(e){if(!e){console.error("No userAgent string was provided");return}var t=new s(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},_=Object.freeze({ClientUAInstance:l,browser:u,cpu:c,device:d,engine:p,os:h,ua:f,setUa:g,parseUserAgent:m});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){return(b="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 y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){if(n=o[r],!(t.indexOf(n)>=0))Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}}return i}function x(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var M={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},P={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},I={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},E={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},C=function(e){switch(e){case M.Mobile:return{isMobile:!0};case M.Tablet:return{isTablet:!0};case M.SmartTv:return{isSmartTV:!0};case M.Console:return{isConsole:!0};case M.Wearable:return{isWearable:!0};case M.Browser:return{isBrowser:!0};case M.Embedded:return{isEmbedded:!0};default:return E}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},D=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},L=function(e){var t=D();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},B=function(e,t,n,r){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{vendor:O(t.vendor),model:O(t.model),os:O(n.name),osVersion:O(n.version),ua:O(r)})},N=function(e){return e.type===M.Mobile},R=function(e){return e.type===M.Tablet},j=function(e){var t=e.type;return t===M.Mobile||t===M.Tablet},U=function(e){return e.type===M.SmartTv},z=function(e){return e.type===M.Browser},F=function(e){return e.type===M.Wearable},G=function(e){return e.type===M.Console},q=function(e){return e.type===M.Embedded},W=function(e){return O(e.vendor)},Z=function(e){return O(e.model)},H=function(e){return O(e.type,"browser")},V=function(e){return e.name===I.Android},Q=function(e){return e.name===I.Windows},Y=function(e){return e.name===I.MAC_OS},$=function(e){return e.name===I.WindowsPhone},K=function(e){return e.name===I.IOS},X=function(e){return O(e.version)},J=function(e){return O(e.name)},ee=function(e){return e.name===P.Chrome},et=function(e){return e.name===P.Firefox},en=function(e){return e.name===P.Chromium},er=function(e){return e.name===P.Edge},ei=function(e){return e.name===P.Yandex},eo=function(e){var t=e.name;return t===P.Safari||t===P.MobileSafari},ea=function(e){return e.name===P.MobileSafari},es=function(e){return e.name===P.Opera},el=function(e){var t=e.name;return t===P.InternetExplorer||t===P.Ie},eu=function(e){return e.name===P.MIUI},ec=function(e){return e.name===P.SamsungBrowser},ed=function(e){return O(e.version)},ep=function(e){return O(e.major)},eh=function(e){return O(e.name)},ef=function(e){return O(e.name)},eg=function(e){return O(e.version)},em=function(){var e=D(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},e_=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},ev=function(){var e=D();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},eb=function(){return L("iPad")},ey=function(){return L("iPhone")},ew=function(){return L("iPod")},eS=function(e){return O(e)};function eA(e){var t=e||_,n=t.device,r=t.browser,i=t.os,o=t.engine,a=t.ua;return{isSmartTV:U(n),isConsole:G(n),isWearable:F(n),isEmbedded:q(n),isMobileSafari:ea(r)||eb(),isChromium:en(r),isMobile:j(n)||eb(),isMobileOnly:N(n),isTablet:R(n)||eb(),isBrowser:z(n),isDesktop:z(n),isAndroid:V(i),isWinPhone:$(i),isIOS:K(i)||eb(),isChrome:ee(r),isFirefox:et(r),isSafari:eo(r),isOpera:es(r),isIE:el(r),osVersion:X(i),osName:J(i),fullBrowserVersion:ed(r),browserVersion:ep(r),browserName:eh(r),mobileVendor:W(n),mobileModel:Z(n),engineName:ef(o),engineVersion:eg(o),getUA:eS(a),isEdge:er(r)||e_(a),isYandex:ei(r),deviceType:H(n),isIOS13:ev(),isIPad13:eb(),isIPhone13:ey(),isIPod13:ew(),isElectron:em(),isEdgeChromium:e_(a),isLegacyEdge:er(r)&&!e_(a),isWindows:Q(i),isMacOs:Y(i),isMIUI:eu(r),isSamsungBrowser:ec(r)}}var eT=U(d),ex=G(d),ek=F(d),eM=q(d),eP=ea(u)||eb(),eI=en(u),eE=j(d)||eb(),eC=N(d),eO=R(d)||eb(),eD=z(d),eL=z(d),eB=V(h),eN=$(h),eR=K(h)||eb(),ej=ee(u),eU=et(u),ez=eo(u),eF=es(u),eG=el(u),eq=X(h),eW=J(h),eZ=ed(u),eH=ep(u),eV=eh(u),eQ=W(d),eY=Z(d),e$=ef(p),eK=eg(p),eX=eS(f),eJ=er(u)||e_(f),e0=ei(u),e1=H(d),e2=ev(),e4=eb(),e3=ey(),e5=ew(),e6=em(),e8=e_(f),e9=er(u)&&!e_(f),e7=Q(h),te=Y(h),tn=eu(u),tr=ec(u);function ti(e){return m(e||window.navigator.userAgent)}t.isMobileOnly=eC},2558:function(e,t,n){"use strict";var r,i,o,a,s,l,u=n("11532"),c=n("86563");function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=new Set,h={};function f(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(h[e]=t,e=0;e<t.length;e++)p.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},y={};function w(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new w(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new w(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function T(e){return e[1].toUpperCase()}function x(e,t,n,r){var i,o=S.hasOwnProperty(t)?S[t]:null;if(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1]){;(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1})(t,n,o,r)&&(n=null),r||null===o?(i=t,(!!_.call(y,i)||!_.call(b,i)&&(v.test(i)?y[i]=!0:(b[i]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)))}}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,T);S[t]=new w(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,T);S[t]=new w(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,T);S[t]=new w(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});var k=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),P=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),D=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}var G,q=Object.assign;function W(e){if(void 0===G)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);G=t&&t[1]||""}return"\n"+G+e}var Z=!1;function H(e,t){if(!e||Z)return"";Z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function en(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function er(e,t,n){("number"!==t||K(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function eo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(i=0,n=""+V(n),t=null;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ea(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function es(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ei(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function el(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ep,eh,ef=(ep=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((eh=eh||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eh.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ep(e,t,n,r)})}:ep);function eg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e_=["Webkit","ms","Moz","O"];function ev(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function eb(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ev(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(em).forEach(function(e){e_.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ey=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ew(e,t){if(t){if(ey[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function eS(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eA=null;function eT(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ex=null,ek=null,eM=null;function eP(e){if(e=rR(e)){if("function"!=typeof ex)throw Error(d(280));var t=e.stateNode;t&&(t=rU(t),ex(e.stateNode,e.type,t))}}function eI(e){ek?eM?eM.push(e):eM=[e]:ek=e}function eE(){if(ek){var e=ek,t=eM;if(eM=ek=null,eP(e),t)for(e=0;e<t.length;e++)eP(t[e])}}function eC(e,t){return e(t)}function eO(){}var eD=!1;function eL(e,t,n){if(eD)return e(t,n);eD=!0;try{return eC(e,t,n)}finally{eD=!1,(null!==ek||null!==eM)&&(eO(),eE())}}function eB(e,t){var n=e.stateNode;if(null===n)return null;var r=rU(n);if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(d(231,t,typeof n));return n}var eN=!1;if(m)try{var eR={};Object.defineProperty(eR,"passive",{get:function(){eN=!0}}),window.addEventListener("test",eR,eR),window.removeEventListener("test",eR,eR)}catch(e){eN=!1}function ej(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var eU=!1,ez=null,eF=!1,eG=null,eq={onError:function(e){eU=!0,ez=e}};function eW(e,t,n,r,i,o,a,s,l){eU=!1,ez=null,ej.apply(eq,arguments)}function eZ(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function eH(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function eV(e){if(eZ(e)!==e)throw Error(d(188))}function eQ(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eZ(e)))throw Error(d(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return eV(i),e;if(o===r)return eV(i),t;o=o.sibling}throw Error(d(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,e$=c.unstable_cancelCallback,eK=c.unstable_shouldYield,eX=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e4=c.unstable_NormalPriority,e3=c.unstable_LowPriority,e5=c.unstable_IdlePriority,e6=null,e8=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tn=64,tr=4194304;function ti(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function to(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ti(s):0!=(o&=a)&&(r=ti(o))}else 0!=(a=n&~i)?r=ti(a):0!==o&&(r=ti(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-e9(t)),r|=e[n],t&=~i;return r}function ta(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ts(){var e=tn;return 0==(4194240&(tn<<=1))&&(tn=64),e}function tl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tu(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,e[t=31-e9(t)]=n}function tc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e9(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var td=0;function tp(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var th,tf,tg,tm,t_,tv=!1,tb=[],ty=null,tw=null,tS=null,tA=new Map,tT=new Map,tx=[],tk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tM(e,t){switch(e){case"focusin":case"focusout":ty=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tS=null;break;case"pointerover":case"pointerout":tA.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tT.delete(t.pointerId)}}function tP(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=rR(t))&&tf(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function tI(e){var t=rN(e.target);if(null!==t){var n=eZ(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=eH(n))){e.blockedOn=t,t_(e.priority,function(){tg(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tE(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=tF(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rR(n))&&tf(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eA=r,n.target.dispatchEvent(r),eA=null;t.shift()}return!0}function tC(e,t,n){tE(e)&&n.delete(t)}function tO(){tv=!1,null!==ty&&tE(ty)&&(ty=null),null!==tw&&tE(tw)&&(tw=null),null!==tS&&tE(tS)&&(tS=null),tA.forEach(tC),tT.forEach(tC)}function tD(e,t){e.blockedOn===t&&(e.blockedOn=null,tv||(tv=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tO)))}function tL(e){function t(t){return tD(t,e)}if(0<tb.length){tD(tb[0],e);for(var n=1;n<tb.length;n++){var r=tb[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ty&&tD(ty,e),null!==tw&&tD(tw,e),null!==tS&&tD(tS,e),tA.forEach(t),tT.forEach(t),n=0;n<tx.length;n++)(r=tx[n]).blockedOn===e&&(r.blockedOn=null);for(;0<tx.length&&null===(n=tx[0]).blockedOn;)tI(n),null===n.blockedOn&&tx.shift()}var tB=k.ReactCurrentBatchConfig,tN=!0;function tR(e,t,n,r){var i=td,o=tB.transition;tB.transition=null;try{td=1,tU(e,t,n,r)}finally{td=i,tB.transition=o}}function tj(e,t,n,r){var i=td,o=tB.transition;tB.transition=null;try{td=4,tU(e,t,n,r)}finally{td=i,tB.transition=o}}function tU(e,t,n,r){if(tN){var i=tF(e,t,n,r);if(null===i)rl(e,t,r,tz,n),tM(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return ty=tP(ty,e,t,n,r,i),!0;case"dragenter":return tw=tP(tw,e,t,n,r,i),!0;case"mouseover":return tS=tP(tS,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return tA.set(o,tP(tA.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,tT.set(o,tP(tT.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(tM(e,r),4&t&&-1<tk.indexOf(e)){for(;null!==i;){var o=rR(i);if(null!==o&&th(o),null===(o=tF(e,t,n,r))&&rl(e,t,r,tz,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else rl(e,t,r,null,n)}}var tz=null;function tF(e,t,n,r){if(tz=null,null!==(e=rN(e=eT(r)))){if(null===(t=eZ(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=eH(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tz=e,null}function tG(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e4:case e3:return 16;case e5:return 536870912;default:return 16}default:return 16}}var tq=null,tW=null,tZ=null;function tH(){if(tZ)return tZ;var e,t,n=tW,r=n.length,i="value"in tq?tq.value:tq.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return tZ=i.slice(e,1<t?1-t:void 0)}function tV(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tQ(){return!0}function tY(){return!1}function t$(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?tQ:tY,this.isPropagationStopped=tY,this}return q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tQ)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tQ)},persist:function(){},isPersistent:tQ}),t}var tK,tX,tJ,t0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t1=t$(t0),t2=q({},t0,{view:0,detail:0}),t4=t$(t2),t3=q({},t2,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:no,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tJ&&(tJ&&"mousemove"===e.type?(tK=e.screenX-tJ.screenX,tX=e.screenY-tJ.screenY):tX=tK=0,tJ=e),tK)},movementY:function(e){return"movementY"in e?e.movementY:tX}}),t5=t$(t3),t6=t$(q({},t3,{dataTransfer:0})),t8=t$(q({},t2,{relatedTarget:0})),t9=t$(q({},t0,{animationName:0,elapsedTime:0,pseudoElement:0})),t7=t$(q({},t0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ne=t$(q({},t0,{data:0})),nt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ni(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nr[e])&&!!t[e]}function no(){return ni}var na=t$(q({},t2,{key:function(e){if(e.key){var t=nt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tV(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:no,charCode:function(e){return"keypress"===e.type?tV(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tV(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ns=t$(q({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=t$(q({},t2,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:no})),nu=t$(q({},t0,{propertyName:0,elapsedTime:0,pseudoElement:0})),nc=t$(q({},t3,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nd=[9,13,27,32],np=m&&"CompositionEvent"in window,nh=null;m&&"documentMode"in document&&(nh=document.documentMode);var nf=m&&"TextEvent"in window&&!nh,ng=m&&(!np||nh&&8<nh&&11>=nh),nm=!1;function n_(e,t){switch(e){case"keyup":return -1!==nd.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nv(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nb=!1,ny={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ny[e.type]:"textarea"===t}function nS(e,t,n,r){eI(r),0<(t=rc(t,"onChange")).length&&(n=new t1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nA=null,nT=null;function nx(e){rn(e,0)}function nk(e){if($(rj(e)))return e}function nM(e,t){if("change"===e)return t}var nP=!1;if(m){if(m){var nI="oninput"in document;if(!nI){var nE=document.createElement("div");nE.setAttribute("oninput","return;"),nI="function"==typeof nE.oninput}r=nI}else r=!1;nP=r&&(!document.documentMode||9<document.documentMode)}function nC(){nA&&(nA.detachEvent("onpropertychange",nO),nT=nA=null)}function nO(e){if("value"===e.propertyName&&nk(nT)){var t=[];nS(t,nT,e,eT(e)),eL(nx,t)}}function nD(e,t,n){"focusin"===e?(nC(),nA=t,nT=n,nA.attachEvent("onpropertychange",nO)):"focusout"===e&&nC()}function nL(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nk(nT)}function nB(e,t){if("click"===e)return nk(t)}function nN(e,t){if("input"===e||"change"===e)return nk(t)}var nR="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nj(e,t){if(nR(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(r=0;r<n.length;r++){var i=n[r];if(!_.call(t,i)||!nR(e[i],t[i]))return!1}return!0}function nU(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nz(e,t){var n,r=nU(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nU(r)}}function nF(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=K(e.document)}return t}function nG(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nq=m&&"documentMode"in document&&11>=document.documentMode,nW=null,nZ=null,nH=null,nV=!1;function nQ(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nV||null==nW||nW!==K(r)||(r="selectionStart"in(r=nW)&&nG(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nH&&nj(nH,r)||(nH=r,0<(r=rc(nZ,"onSelect")).length&&(t=new t1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nW)))}function nY(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var n$={animationend:nY("Animation","AnimationEnd"),animationiteration:nY("Animation","AnimationIteration"),animationstart:nY("Animation","AnimationStart"),transitionend:nY("Transition","TransitionEnd")},nK={},nX={};function nJ(e){if(nK[e])return nK[e];if(!n$[e])return e;var t,n=n$[e];for(t in n)if(n.hasOwnProperty(t)&&t in nX)return nK[e]=n[t];return e}m&&(nX=document.createElement("div").style,"AnimationEvent"in window||(delete n$.animationend.animation,delete n$.animationiteration.animation,delete n$.animationstart.animation),"TransitionEvent"in window||delete n$.transitionend.transition);var n0=nJ("animationend"),n1=nJ("animationiteration"),n2=nJ("animationstart"),n4=nJ("transitionend"),n3=new Map,n5="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n6(e,t){n3.set(e,t),f(t,[e])}for(var n8=0;n8<n5.length;n8++){var n9=n5[n8];n6(n9.toLowerCase(),"on"+(n9[0].toUpperCase()+n9.slice(1)))}n6(n0,"onAnimationEnd"),n6(n1,"onAnimationIteration"),n6(n2,"onAnimationStart"),n6("dblclick","onDoubleClick"),n6("focusin","onFocus"),n6("focusout","onBlur"),n6(n4,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n7="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=new Set("cancel close invalid load scroll toggle".split(" ").concat(n7));function rt(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,!function(e,t,n,r,i,o,a,s,l){if(eW.apply(this,arguments),eU){if(eU){var u=ez;eU=!1,ez=null}else throw Error(d(198));eF||(eF=!0,eG=u)}}(r,t,void 0,e),e.currentTarget=null}function rn(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;rt(i,s,u),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;rt(i,s,u),o=l}}}if(eF)throw e=eG,eF=!1,eG=null,e}function rr(e,t){var n=t[rD];void 0===n&&(n=t[rD]=new Set);var r=e+"__bubble";n.has(r)||(rs(t,e,2,!1),n.add(r))}function ri(e,t,n){var r=0;t&&(r|=4),rs(n,e,r,t)}var ro="_reactListening"+Math.random().toString(36).slice(2);function ra(e){if(!e[ro]){e[ro]=!0,p.forEach(function(t){"selectionchange"!==t&&(re.has(t)||ri(t,!1,e),ri(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ro]||(t[ro]=!0,ri("selectionchange",!1,t))}}function rs(e,t,n,r){switch(tG(t)){case 1:var i=tR;break;case 4:i=tj;break;default:i=tU}n=i.bind(null,t,n,e),i=void 0,eN&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function rl(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=rN(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}eL(function(){var r=o,i=eT(n),a=[];e:{var s=n3.get(e);if(void 0!==s){var l=t1,u=e;switch(e){case"keypress":if(0===tV(n))break e;case"keydown":case"keyup":l=na;break;case"focusin":u="focus",l=t8;break;case"focusout":u="blur",l=t8;break;case"beforeblur":case"afterblur":l=t8;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=t5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=t6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=nl;break;case n0:case n1:case n2:l=t9;break;case n4:l=nu;break;case"scroll":l=t4;break;case"wheel":l=nc;break;case"copy":case"cut":case"paste":l=t7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=ns}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var h,f=r;null!==f;){var g=(h=f).stateNode;if(5===h.tag&&null!==g&&(h=g,null!==p&&null!=(g=eB(f,p))&&c.push(ru(f,g,h))),d)break;f=f.return}0<c.length&&(s=new l(s,u,null,n,i),a.push({event:s,listeners:c}))}}if(0==(7&t)){e:if(s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&n!==eA&&(u=n.relatedTarget||n.fromElement)&&(rN(u)||u[rO]))){if((l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,null!==(u=u?rN(u):null)&&(d=eZ(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=t5,g="onMouseLeave",p="onMouseEnter",f="mouse",("pointerout"===e||"pointerover"===e)&&(c=ns,g="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:rj(l),h=null==u?s:rj(u),(s=new c(g,f+"leave",l,n,i)).target=d,s.relatedTarget=h,g=null,rN(i)===r&&((c=new c(p,f+"enter",u,n,i)).target=h,c.relatedTarget=d,g=c),d=g,l&&u)t:{for(c=l,p=u,f=0,h=c;h;h=rd(h))f++;for(h=0,g=p;g;g=rd(g))h++;for(;0<f-h;)c=rd(c),f--;for(;0<h-f;)p=rd(p),h--;for(;f--;){if(c===p||null!==p&&c===p.alternate)break t;c=rd(c),p=rd(p)}c=null}else c=null;null!==l&&rp(a,s,l,c,!1),null!==u&&null!==d&&rp(a,d,u,c,!0)}}e:{if("select"===(l=(s=r?rj(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m,_=nM;else if(nw(s)){if(nP)_=nN;else{_=nL;var v=nD}}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(_=nB);if(_&&(_=_(e,r))){nS(a,_,n,i);break e}v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&er(s,"number",s.value)}switch(v=r?rj(r):window,e){case"focusin":(nw(v)||"true"===v.contentEditable)&&(nW=v,nZ=r,nH=null);break;case"focusout":nH=nZ=nW=null;break;case"mousedown":nV=!0;break;case"contextmenu":case"mouseup":case"dragend":nV=!1,nQ(a,n,i);break;case"selectionchange":if(nq)break;case"keydown":case"keyup":nQ(a,n,i)}if(np)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else nb?n_(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(ng&&"ko"!==n.locale&&(nb||"onCompositionStart"!==b?"onCompositionEnd"===b&&nb&&(m=tH()):(tW="value"in(tq=i)?tq.value:tq.textContent,nb=!0)),0<(v=rc(r,b)).length&&(b=new ne(b,e,null,n,i),a.push({event:b,listeners:v}),m?b.data=m:null!==(m=nv(n))&&(b.data=m))),(m=nf?function(e,t){switch(e){case"compositionend":return nv(t);case"keypress":if(32!==t.which)return null;return nm=!0," ";case"textInput":return" "===(e=t.data)&&nm?null:e;default:return null}}(e,n):function(e,t){if(nb)return"compositionend"===e||!np&&n_(e,t)?(e=tH(),tZ=tW=tq=null,nb=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ng&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=rc(r,"onBeforeInput")).length&&(i=new ne("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=m)}rn(a,t)})}function ru(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rc(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=eB(e,n))&&r.unshift(ru(e,o,i)),null!=(o=eB(e,t))&&r.push(ru(e,o,i))),e=e.return}return r}function rd(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rp(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=eB(n,o))&&a.unshift(ru(n,l,s)):i||null!=(l=eB(n,o))&&a.push(ru(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var rh=/\r\n?/g,rf=/\u0000|\uFFFD/g;function rg(e){return("string"==typeof e?e:""+e).replace(rh,"\n").replace(rf,"")}function rm(e,t,n){if(t=rg(t),rg(e)!==t&&n)throw Error(d(425))}function r_(){}var rv=null,rb=null;function ry(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rw="function"==typeof setTimeout?setTimeout:void 0,rS="function"==typeof clearTimeout?clearTimeout:void 0,rA="function"==typeof Promise?Promise:void 0,rT="function"==typeof queueMicrotask?queueMicrotask:void 0!==rA?function(e){return rA.resolve(null).then(e).catch(rx)}:rw;function rx(e){setTimeout(function(){throw e})}function rk(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType){if("/$"===(n=i.data)){if(0===r){e.removeChild(i),tL(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=i}while(n);tL(t)}function rM(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rP(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var rI=Math.random().toString(36).slice(2),rE="__reactFiber$"+rI,rC="__reactProps$"+rI,rO="__reactContainer$"+rI,rD="__reactEvents$"+rI,rL="__reactListeners$"+rI,rB="__reactHandles$"+rI;function rN(e){var t=e[rE];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rO]||n[rE]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rP(e);null!==e;){if(n=e[rE])return n;e=rP(e)}return t}n=(e=n).parentNode}return null}function rR(e){return(e=e[rE]||e[rO])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rj(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rU(e){return e[rC]||null}var rz=[],rF=-1;function rG(e){return{current:e}}function rq(e){0>rF||(e.current=rz[rF],rz[rF]=null,rF--)}function rW(e,t){rz[++rF]=e.current,e.current=t}var rZ={},rH=rG(rZ),rV=rG(!1),rQ=rZ;function rY(e,t){var n=e.type.contextTypes;if(!n)return rZ;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function r$(e){return null!=(e=e.childContextTypes)}function rK(){rq(rV),rq(rH)}function rX(e,t,n){if(rH.current!==rZ)throw Error(d(168));rW(rH,t),rW(rV,n)}function rJ(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case I:return"Fragment";case P:return"Portal";case C:return"Profiler";case E:return"StrictMode";case B:return"Suspense";case N:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case D:return(t.displayName||"Context")+".Consumer";case O:return(t._context.displayName||"Context")+".Provider";case L:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case R:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case j:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",i));return q({},n,r)}function r0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rZ,rQ=rH.current,rW(rH,e),rW(rV,rV.current),!0}function r1(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(e=rJ(e,t,rQ),r.__reactInternalMemoizedMergedChildContext=e,rq(rV),rq(rH),rW(rH,e)):rq(rV),rW(rV,n)}var r2=null,r4=!1,r3=!1;function r5(e){null===r2?r2=[e]:r2.push(e)}function r6(){if(!r3&&null!==r2){r3=!0;var e=0,t=td;try{var n=r2;for(td=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}r2=null,r4=!1}catch(t){throw null!==r2&&(r2=r2.slice(e+1)),eY(e1,r6),t}finally{td=t,r3=!1}}return null}var r8=[],r9=0,r7=null,ie=0,it=[],ir=0,ii=null,io=1,ia="";function is(e,t){r8[r9++]=ie,r8[r9++]=r7,r7=e,ie=t}function il(e,t,n){it[ir++]=io,it[ir++]=ia,it[ir++]=ii,ii=e;var r=io;e=ia;var i=32-e9(r)-1;r&=~(1<<i),n+=1;var o=32-e9(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,io=1<<32-e9(t)+i|n<<i|r,ia=o+e}else io=1<<o|n<<i|r,ia=e}function iu(e){null!==e.return&&(is(e,1),il(e,1,0))}function ic(e){for(;e===r7;)r7=r8[--r9],r8[r9]=null,ie=r8[--r9],r8[r9]=null;for(;e===ii;)ii=it[--ir],it[ir]=null,ia=it[--ir],it[ir]=null,io=it[--ir],it[ir]=null}var id=null,ip=null,ih=!1,ig=null;function im(e,t){var n=sK(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function i_(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,id=e,ip=rM(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,id=e,ip=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ii?{id:io,overflow:ia}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=sK(18,null,null,0)).stateNode=t,n.return=e,e.child=n,id=e,ip=null,!0);default:return!1}}function iv(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ib(e){if(ih){var t=ip;if(t){var n=t;if(!i_(e,t)){if(iv(e))throw Error(d(418));t=rM(n.nextSibling);var r=id;t&&i_(e,t)?im(r,n):(e.flags=-4097&e.flags|2,ih=!1,id=e)}}else{if(iv(e))throw Error(d(418));e.flags=-4097&e.flags|2,ih=!1,id=e}}}function iy(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;id=e}function iw(e){if(e!==id)return!1;if(!ih)return iy(e),ih=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ry(e.type,e.memoizedProps)),t&&(t=ip)){if(iv(e))throw iS(),Error(d(418));for(;t;)im(e,t),t=rM(t.nextSibling)}if(iy(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ip=rM(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ip=null}}else ip=id?rM(e.stateNode.nextSibling):null;return!0}function iS(){for(var e=ip;e;)e=rM(e.nextSibling)}function iA(){ip=id=null,ih=!1}function iT(e){null===ig?ig=[e]:ig.push(e)}var ix=k.ReactCurrentBatchConfig;function ik(e,t){if(e&&e.defaultProps)for(var n in t=q({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var iM=rG(null),iP=null,iI=null,iE=null;function iC(){iE=iI=iP=null}function iO(e){var t=iM.current;rq(iM),e._currentValue=t}function iD(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function iL(e,t){iP=e,iE=iI=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(au=!0),e.firstContext=null)}function iB(e){var t=e._currentValue;if(iE!==e){if(e={context:e,memoizedValue:t,next:null},null===iI){if(null===iP)throw Error(d(308));iI=e,iP.dependencies={lanes:0,firstContext:e}}else iI=iI.next=e}return t}var iN=null;function iR(e){null===iN?iN=[e]:iN.push(e)}function ij(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,iR(t)):(n.next=i.next,i.next=n),t.interleaved=n,iU(e,r)}function iU(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var iz=!1;function iF(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iG(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function iq(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function iW(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&a6)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,iU(e,n)}return null===(i=r.interleaved)?(t.next=t,iR(r)):(t.next=i.next,i.next=t),r.interleaved=t,iU(e,n)}function iZ(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tc(e,n)}}function iH(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function iV(e,t,n,r){var i=e.updateQueue;iz=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,c=u=l=null,s=o;;){var p=s.lane,h=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,g=s;switch(p=t,h=n,g.tag){case 1:if("function"==typeof(f=g.payload)){d=f.call(h,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(p="function"==typeof(f=g.payload)?f.call(h,d,p):f))break e;d=q({},d,p);break e;case 2:iz=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do a|=i.lane,i=i.next;while(i!==t)}else null===o&&(i.shared.lanes=0);si|=a,e.lanes=a,e.memoizedState=d}}function iQ(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(d(191,i));i.call(r)}}}var iY=(new u.Component).refs;function i$(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:q({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var iK={isMounted:function(e){return!!(e=e._reactInternals)&&eZ(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sS(),i=sA(e),o=iq(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=iW(e,o,i))&&(sT(t,e,i,r),iZ(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sS(),i=sA(e),o=iq(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=iW(e,o,i))&&(sT(t,e,i,r),iZ(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sS(),r=sA(e),i=iq(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=iW(e,i,r))&&(sT(t,e,r,n),iZ(t,e,r))}};function iX(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||!nj(n,r)||!nj(i,o)}function iJ(e,t,n){var r=!1,i=rZ,o=t.contextType;return"object"==typeof o&&null!==o?o=iB(o):(i=r$(t)?rQ:rH.current,o=(r=null!=(r=t.contextTypes))?rY(e,i):rZ),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=iK,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function i0(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iK.enqueueReplaceState(t,t.state,null)}function i1(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=iY,iF(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=iB(o):(o=r$(t)?rQ:rH.current,i.context=rY(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(i$(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&iK.enqueueReplaceState(i,i.state,null),iV(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function i2(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=i.refs;t===iY&&(t=i.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function i4(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function i3(e){return(0,e._init)(e._payload)}function i5(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=sJ(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=s4(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===I?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===j&&i3(o)===t.type)?((r=i(t,n.props)).ref=i2(e,t,n),r.return=e,r):((r=s0(n.type,n.key,n.props,null,e.mode,r)).ref=i2(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=s3(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=s1(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=s4(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case M:return(n=s0(t.type,t.key,t.props,null,e.mode,n)).ref=i2(e,null,t),n.return=e,n;case P:return(t=s3(t,e.mode,n)).return=e,t;case j:return p(e,(0,t._init)(t._payload),n)}if(ei(t)||F(t))return(t=s1(t,e.mode,n,null)).return=e,t;i4(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case M:return n.key===i?l(e,t,n,r):null;case P:return n.key===i?u(e,t,n,r):null;case j:return h(e,t,(i=n._init)(n._payload),r)}if(ei(n)||F(n))return null!==i?null:c(e,t,n,r,null);i4(e,n)}return null}function f(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case M:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case j:return f(e,t,n,(0,r._init)(r._payload),i)}if(ei(r)||F(r))return c(t,e=e.get(n)||null,r,i,null);i4(t,r)}return null}return function s(l,u,c,g){if("object"==typeof c&&null!==c&&c.type===I&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case M:e:{for(var m=c.key,_=u;null!==_;){if(_.key===m){if((m=c.type)===I){if(7===_.tag){n(l,_.sibling),(u=i(_,c.props.children)).return=l,l=u;break e}}else if(_.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===j&&i3(m)===_.type){n(l,_.sibling),(u=i(_,c.props)).ref=i2(l,_,c),u.return=l,l=u;break e}n(l,_);break}t(l,_);_=_.sibling}c.type===I?((u=s1(c.props.children,l.mode,g,c.key)).return=l,l=u):((g=s0(c.type,c.key,c.props,null,l.mode,g)).ref=i2(l,u,c),g.return=l,l=g)}return a(l);case P:e:{for(_=c.key;null!==u;){if(u.key===_){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(u=i(u,c.children||[])).return=l,l=u;break e}n(l,u);break}t(l,u);u=u.sibling}(u=s3(c,l.mode,g)).return=l,l=u}return a(l);case j:return s(l,u,(_=c._init)(c._payload),g)}if(ei(c))return function(i,a,s,l){for(var u=null,c=null,d=a,g=a=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var _=h(i,d,s[g],l);if(null===_){null===d&&(d=m);break}e&&d&&null===_.alternate&&t(i,d),a=o(_,a,g),null===c?u=_:c.sibling=_,c=_,d=m}if(g===s.length)return n(i,d),ih&&is(i,g),u;if(null===d){for(;g<s.length;g++)null!==(d=p(i,s[g],l))&&(a=o(d,a,g),null===c?u=d:c.sibling=d,c=d);return ih&&is(i,g),u}for(d=r(i,d);g<s.length;g++)null!==(m=f(d,i,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),a=o(m,a,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(i,e)}),ih&&is(i,g),u}(l,u,c,g);if(F(c))return function(i,a,s,l){var u=F(s);if("function"!=typeof u)throw Error(d(150));if(null==(s=u.call(s)))throw Error(d(151));for(var c=u=null,g=a,m=a=0,_=null,v=s.next();null!==g&&!v.done;m++,v=s.next()){g.index>m?(_=g,g=null):_=g.sibling;var b=h(i,g,v.value,l);if(null===b){null===g&&(g=_);break}e&&g&&null===b.alternate&&t(i,g),a=o(b,a,m),null===c?u=b:c.sibling=b,c=b,g=_}if(v.done)return n(i,g),ih&&is(i,m),u;if(null===g){for(;!v.done;m++,v=s.next())null!==(v=p(i,v.value,l))&&(a=o(v,a,m),null===c?u=v:c.sibling=v,c=v);return ih&&is(i,m),u}for(g=r(i,g);!v.done;m++,v=s.next())null!==(v=f(g,i,m,v.value,l))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&g.forEach(function(e){return t(i,e)}),ih&&is(i,m),u}(l,u,c,g);i4(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(u=i(u,c)).return=l):(n(l,u),(u=s4(c,l.mode,g)).return=l),a(l=u)):n(l,u)}}var i6=i5(!0),i8=i5(!1),i9={},i7=rG(i9),oe=rG(i9),ot=rG(i9);function on(e){if(e===i9)throw Error(d(174));return e}function or(e,t){switch(rW(ot,t),rW(oe,e),rW(i7,i9),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,t=ed(t,e=e.tagName)}rq(i7),rW(i7,t)}function oi(){rq(i7),rq(oe),rq(ot)}function oo(e){on(ot.current);var t=on(i7.current),n=ed(t,e.type);t!==n&&(rW(oe,e),rW(i7,n))}function oa(e){oe.current===e&&(rq(i7),rq(oe))}var os=rG(0);function ol(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ou=[];function oc(){for(var e=0;e<ou.length;e++)ou[e]._workInProgressVersionPrimary=null;ou.length=0}var od=k.ReactCurrentDispatcher,op=k.ReactCurrentBatchConfig,oh=0,of=null,og=null,om=null,o_=!1,ov=!1,ob=0,oy=0;function ow(){throw Error(d(321))}function oS(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nR(e[n],t[n]))return!1;return!0}function oA(e,t,n,r,i,o){if(oh=o,of=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,od.current=null===e||null===e.memoizedState?o6:o8,e=n(r,i),ov){o=0;do{if(ov=!1,ob=0,25<=o)throw Error(d(301));o+=1,om=og=null,t.updateQueue=null,od.current=o9,e=n(r,i)}while(ov)}if(od.current=o5,t=null!==og&&null!==og.next,oh=0,om=og=of=null,o_=!1,t)throw Error(d(300));return e}function oT(){var e=0!==ob;return ob=0,e}function ox(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===om?of.memoizedState=om=e:om=om.next=e,om}function ok(){if(null===og){var e=of.alternate;e=null!==e?e.memoizedState:null}else e=og.next;var t=null===om?of.memoizedState:om.next;if(null!==t)om=t,og=e;else{if(null===e)throw Error(d(310));e={memoizedState:(og=e).memoizedState,baseState:og.baseState,baseQueue:og.baseQueue,queue:og.queue,next:null},null===om?of.memoizedState=om=e:om=om.next=e}return om}function oM(e,t){return"function"==typeof t?t(e):t}function oP(e){var t=ok(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=og,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var s=a=null,l=null,u=o;do{var c=u.lane;if((oh&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(s=l=p,a=r):l=l.next=p,of.lanes|=c,si|=c}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=s,nR(r,t.memoizedState)||(au=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do o=i.lane,of.lanes|=o,si|=o,i=i.next;while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function oI(e){var t=ok(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);nR(o,t.memoizedState)||(au=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oE(){}function oC(e,t){var n=of,r=ok(),i=t(),o=!nR(r.memoizedState,i);if(o&&(r.memoizedState=i,au=!0),r=r.queue,oq(oL.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==om&&1&om.memoizedState.tag){if(n.flags|=2048,oj(9,oD.bind(null,n,r,i,t),void 0,null),null===a8)throw Error(d(349));0!=(30&oh)||oO(n,t,i)}return i}function oO(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=of.updateQueue)?(t={lastEffect:null,stores:null},of.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oD(e,t,n,r){t.value=n,t.getSnapshot=r,oB(t)&&oN(e)}function oL(e,t,n){return n(function(){oB(t)&&oN(e)})}function oB(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nR(e,n)}catch(e){return!0}}function oN(e){var t=iU(e,1);null!==t&&sT(t,e,1,-1)}function oR(e){var t=ox();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:oM,lastRenderedState:e},t.queue=e,e=e.dispatch=o1.bind(null,of,e),[t.memoizedState,e]}function oj(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=of.updateQueue)?(t={lastEffect:null,stores:null},of.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oU(){return ok().memoizedState}function oz(e,t,n,r){var i=ox();of.flags|=e,i.memoizedState=oj(1|t,n,void 0,void 0===r?null:r)}function oF(e,t,n,r){var i=ok();r=void 0===r?null:r;var o=void 0;if(null!==og){var a=og.memoizedState;if(o=a.destroy,null!==r&&oS(r,a.deps)){i.memoizedState=oj(t,n,o,r);return}}of.flags|=e,i.memoizedState=oj(1|t,n,o,r)}function oG(e,t){return oz(8390656,8,e,t)}function oq(e,t){return oF(2048,8,e,t)}function oW(e,t){return oF(4,2,e,t)}function oZ(e,t){return oF(4,4,e,t)}function oH(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oV(e,t,n){return n=null!=n?n.concat([e]):null,oF(4,4,oH.bind(null,t,e),n)}function oQ(){}function oY(e,t){var n=ok();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&oS(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function o$(e,t){var n=ok();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&oS(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function oK(e,t,n){return 0==(21&oh)?(e.baseState&&(e.baseState=!1,au=!0),e.memoizedState=n):(nR(n,t)||(n=ts(),of.lanes|=n,si|=n,e.baseState=!0),t)}function oX(e,t){var n=td;td=0!==n&&4>n?n:4,e(!0);var r=op.transition;op.transition={};try{e(!1),t()}finally{td=n,op.transition=r}}function oJ(){return ok().memoizedState}function o0(e,t,n){var r=sA(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},o2(e)?o4(t,n):null!==(n=ij(e,t,n,r))&&(sT(n,e,r,sS()),o3(n,t,r))}function o1(e,t,n){var r=sA(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(o2(e))o4(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,nR(s,a)){var l=t.interleaved;null===l?(i.next=i,iR(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch(e){}finally{}null!==(n=ij(e,t,i,r))&&(sT(n,e,r,i=sS()),o3(n,t,r))}}function o2(e){var t=e.alternate;return e===of||null!==t&&t===of}function o4(e,t){ov=o_=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function o3(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tc(e,n)}}var o5={readContext:iB,useCallback:ow,useContext:ow,useEffect:ow,useImperativeHandle:ow,useInsertionEffect:ow,useLayoutEffect:ow,useMemo:ow,useReducer:ow,useRef:ow,useState:ow,useDebugValue:ow,useDeferredValue:ow,useTransition:ow,useMutableSource:ow,useSyncExternalStore:ow,useId:ow,unstable_isNewReconciler:!1},o6={readContext:iB,useCallback:function(e,t){return ox().memoizedState=[e,void 0===t?null:t],e},useContext:iB,useEffect:oG,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oz(4194308,4,oH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oz(4194308,4,e,t)},useInsertionEffect:function(e,t){return oz(4,2,e,t)},useMemo:function(e,t){var n=ox();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ox();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=o0.bind(null,of,e),[r.memoizedState,e]},useRef:function(e){var t=ox();return e={current:e},t.memoizedState=e},useState:oR,useDebugValue:oQ,useDeferredValue:function(e){return ox().memoizedState=e},useTransition:function(){var e=oR(!1),t=e[0];return e=oX.bind(null,e[1]),ox().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=of,i=ox();if(ih){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===a8)throw Error(d(349));0!=(30&oh)||oO(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,oG(oL.bind(null,r,o,e),[e]),r.flags|=2048,oj(9,oD.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ox(),t=a8.identifierPrefix;if(ih){var n=ia,r=io;t=":"+t+"R"+(n=(r&~(1<<32-e9(r)-1)).toString(32)+n),0<(n=ob++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=oy++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o8={readContext:iB,useCallback:oY,useContext:iB,useEffect:oq,useImperativeHandle:oV,useInsertionEffect:oW,useLayoutEffect:oZ,useMemo:o$,useReducer:oP,useRef:oU,useState:function(){return oP(oM)},useDebugValue:oQ,useDeferredValue:function(e){return oK(ok(),og.memoizedState,e)},useTransition:function(){return[oP(oM)[0],ok().memoizedState]},useMutableSource:oE,useSyncExternalStore:oC,useId:oJ,unstable_isNewReconciler:!1},o9={readContext:iB,useCallback:oY,useContext:iB,useEffect:oq,useImperativeHandle:oV,useInsertionEffect:oW,useLayoutEffect:oZ,useMemo:o$,useReducer:oI,useRef:oU,useState:function(){return oI(oM)},useDebugValue:oQ,useDeferredValue:function(e){var t=ok();return null===og?t.memoizedState=e:oK(t,og.memoizedState,e)},useTransition:function(){return[oI(oM)[0],ok().memoizedState]},useMutableSource:oE,useSyncExternalStore:oC,useId:oJ,unstable_isNewReconciler:!1};function o7(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}(r),r=r.return;while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ae(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function at(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var an="function"==typeof WeakMap?WeakMap:Map;function ar(e,t,n){(n=iq(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sp||(sp=!0,sh=r),at(e,t)},n}function ai(e,t,n){(n=iq(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){at(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){at(e,t),"function"!=typeof r&&(null===sf?sf=new Set([this]):sf.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function ao(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new an;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=sZ.bind(null,e,t,n),t.then(e,e))}function aa(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function as(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=iq(-1,1)).tag=2,iW(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var al=k.ReactCurrentOwner,au=!1;function ac(e,t,n,r){t.child=null===e?i8(t,null,n,r):i6(t,e.child,n,r)}function ad(e,t,n,r,i){n=n.render;var o=t.ref;return(iL(t,i),r=oA(e,t,n,r,o,i),n=oT(),null===e||au)?(ih&&n&&iu(t),t.flags|=1,ac(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,aE(e,t,i))}function ap(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||sX(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=s0(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ah(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:nj)(a,r)&&e.ref===t.ref)return aE(e,t,i)}return t.flags|=1,(e=sJ(o,r)).ref=t.ref,e.return=t,t.child=e}function ah(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(nj(o,r)&&e.ref===t.ref){if(au=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,aE(e,t,i);0!=(131072&e.flags)&&(au=!0)}}return am(e,t,n,r,i)}function af(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rW(st,se),se|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rW(st,se),se|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,rW(st,se),se|=r}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,rW(st,se),se|=r;return ac(e,t,i,n),t.child}function ag(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function am(e,t,n,r,i){var o=r$(n)?rQ:rH.current;return(o=rY(t,o),iL(t,i),n=oA(e,t,n,r,o,i),r=oT(),null===e||au)?(ih&&r&&iu(t),t.flags|=1,ac(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,aE(e,t,i))}function a_(e,t,n,r,i){if(r$(n)){var o=!0;r0(t)}else o=!1;if(iL(t,i),null===t.stateNode)aI(e,t),iJ(t,n,r),i1(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u="object"==typeof u&&null!==u?iB(u):rY(t,u=r$(n)?rQ:rH.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&i0(t,a,r,u),iz=!1;var p=t.memoizedState;a.state=p,iV(t,r,a,i),l=t.memoizedState,s!==r||p!==l||rV.current||iz?("function"==typeof c&&(i$(t,n,c,r),l=t.memoizedState),(s=iz||iX(t,n,s,r,p,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,iG(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ik(t.type,s),a.props=u,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?iB(l):rY(t,l=r$(n)?rQ:rH.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&i0(t,a,r,l),iz=!1,p=t.memoizedState,a.state=p,iV(t,r,a,i);var f=t.memoizedState;s!==d||p!==f||rV.current||iz?("function"==typeof h&&(i$(t,n,h,r),f=t.memoizedState),(u=iz||iX(t,n,u,r,p,f,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return av(e,t,n,r,o,i)}function av(e,t,n,r,i,o){ag(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&r1(t,n,!1),aE(e,t,o);r=t.stateNode,al.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=i6(t,e.child,null,o),t.child=i6(t,null,s,o)):ac(e,t,s,o),t.memoizedState=r.state,i&&r1(t,n,!0),t.child}function ab(e){var t=e.stateNode;t.pendingContext?rX(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rX(e,t.context,!1),or(e,t.containerInfo)}function ay(e,t,n,r,i){return iA(),iT(i),t.flags|=256,ac(e,t,n,r),t.child}var aw={dehydrated:null,treeContext:null,retryLane:0};function aS(e){return{baseLanes:e,cachePool:null,transitions:null}}function aA(e,t,n){var r,i=t.pendingProps,o=os.current,a=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),rW(os,1&o),null===e)return(ib(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=i.children,e=i.fallback,a?(i=t.mode,a=t.child,s={mode:"hidden",children:s},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=s):a=s2(s,i,0,null),e=s1(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=aS(n),t.memoizedState=aw,e):aT(t,s));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,a){if(n)return 256&t.flags?(t.flags&=-257,ax(e,t,a,r=ae(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=s2({mode:"visible",children:r.children},i,0,null),o=s1(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&i6(t,e.child,null,a),t.child.memoizedState=aS(a),t.memoizedState=aw,o);if(0==(1&t.mode))return ax(e,t,a,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var s=r.dgst;return r=s,ax(e,t,a,r=ae(o=Error(d(419)),r,void 0))}if(s=0!=(a&e.childLanes),au||s){if(null!==(r=a8)){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|a))?0:i)&&i!==o.retryLane&&(o.retryLane=i,iU(e,i),sT(r,e,i,-1))}return sR(),ax(e,t,a,r=ae(Error(d(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=sV.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ip=rM(i.nextSibling),id=t,ih=!0,ig=null,null!==e&&(it[ir++]=io,it[ir++]=ia,it[ir++]=ii,io=e.id,ia=e.overflow,ii=t),t=aT(t,r.children),t.flags|=4096,t)}(e,t,s,i,r,o,n);if(a){a=i.fallback,s=t.mode,r=(o=e.child).sibling;var l={mode:"hidden",children:i.children};return 0==(1&s)&&t.child!==o?((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null):(i=sJ(o,l)).subtreeFlags=14680064&o.subtreeFlags,null!==r?a=sJ(r,a):(a=s1(a,s,n,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,s=null===(s=e.child.memoizedState)?aS(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=aw,i}return e=(a=e.child).sibling,i=sJ(a,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function aT(e,t){return(t=s2({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ax(e,t,n,r){return null!==r&&iT(r),i6(t,e.child,null,n),e=aT(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ak(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),iD(e.return,t,n)}function aM(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function aP(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ac(e,t,r.children,n),0!=(2&(r=os.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ak(e,n,t);else if(19===e.tag)ak(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rW(os,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(i=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===ol(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),aM(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ol(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}aM(t,!0,n,null,o);break;case"together":aM(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function aI(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function aE(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),si|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=sJ(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=sJ(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function aC(e,t){if(!ih)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function aO(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}i=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},o=function(){},a=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,on(i7.current);var o,a=null;switch(n){case"input":i=X(e,i),r=X(e,r),a=[];break;case"select":i=q({},i,{value:void 0}),r=q({},r,{value:void 0}),a=[];break;case"textarea":i=ea(e,i),r=ea(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=r_)}for(u in ew(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u]){if("style"===u){var s=i[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null))}for(u in r){var l=r[u];if(s=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s)){if("style"===u){if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(u,n)),n=l}else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(a=a||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(h.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&rr("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},s=function(e,t,n,r){n!==r&&(t.flags|=4)};var aD=!1,aL=!1,aB="function"==typeof WeakSet?WeakSet:Set,aN=null;function aR(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){sW(e,t,n)}else n.current=null}}function aj(e,t,n){try{n()}catch(n){sW(e,t,n)}}var aU=!1;function az(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&aj(t,n,o)}i=i.next}while(i!==r)}}function aF(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function aG(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag;e=n;"function"==typeof t?t(e):t.current=e}}function aq(e){return 5===e.tag||3===e.tag||4===e.tag}function aW(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||aq(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var aZ=null,aH=!1;function aV(e,t,n){for(n=n.child;null!==n;)aQ(e,t,n),n=n.sibling}function aQ(e,t,n){if(e8&&"function"==typeof e8.onCommitFiberUnmount)try{e8.onCommitFiberUnmount(e6,n)}catch(e){}switch(n.tag){case 5:aL||aR(n,t);case 6:var r=aZ,i=aH;aZ=null,aV(e,t,n),aZ=r,aH=i,null!==aZ&&(aH?(e=aZ,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):aZ.removeChild(n.stateNode));break;case 18:null!==aZ&&(aH?(e=aZ,n=n.stateNode,8===e.nodeType?rk(e.parentNode,n):1===e.nodeType&&rk(e,n),tL(e)):rk(aZ,n.stateNode));break;case 4:r=aZ,i=aH,aZ=n.stateNode.containerInfo,aH=!0,aV(e,t,n),aZ=r,aH=i;break;case 0:case 11:case 14:case 15:if(!aL&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)?aj(n,t,a):0!=(4&o)&&aj(n,t,a)),i=i.next}while(i!==r)}aV(e,t,n);break;case 1:if(!aL&&(aR(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){sW(n,t,e)}aV(e,t,n);break;case 21:default:aV(e,t,n);break;case 22:1&n.mode?(aL=(r=aL)||null!==n.memoizedState,aV(e,t,n),aL=r):aV(e,t,n)}}function aY(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new aB),t.forEach(function(t){var r=sQ.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function a$(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=t,a=o;e:for(;null!==a;){switch(a.tag){case 5:aZ=a.stateNode,aH=!1;break e;case 3:case 4:aZ=a.stateNode.containerInfo,aH=!0;break e}a=a.return}if(null===aZ)throw Error(d(160));aQ(e,o,i),aZ=null,aH=!1;var s=i.alternate;null!==s&&(s.return=null),i.return=null}catch(e){sW(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)aK(t,e),t=t.sibling}function aK(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a$(t,e),aX(e),4&r){try{az(3,e,e.return),aF(3,e)}catch(t){sW(e,e.return,t)}try{az(5,e,e.return)}catch(t){sW(e,e.return,t)}}break;case 1:a$(t,e),aX(e),512&r&&null!==n&&aR(n,n.return);break;case 5:if(a$(t,e),aX(e),512&r&&null!==n&&aR(n,n.return),32&e.flags){var i=e.stateNode;try{eg(i,"")}catch(t){sW(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,a=null!==n?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===o.type&&null!=o.name&&ee(i,o),eS(s,a);var u=eS(s,o);for(a=0;a<l.length;a+=2){var c=l[a],p=l[a+1];"style"===c?eb(i,p):"dangerouslySetInnerHTML"===c?ef(i,p):"children"===c?eg(i,p):x(i,c,p,u)}switch(s){case"input":et(i,o);break;case"textarea":el(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;null!=f?eo(i,!!o.multiple,f,!1):!!o.multiple!==h&&(null!=o.defaultValue?eo(i,!!o.multiple,o.defaultValue,!0):eo(i,!!o.multiple,o.multiple?[]:"",!1))}i[rC]=o}catch(t){sW(e,e.return,t)}}break;case 6:if(a$(t,e),aX(e),4&r){if(null===e.stateNode)throw Error(d(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(t){sW(e,e.return,t)}}break;case 3:if(a$(t,e),aX(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tL(t.containerInfo)}catch(t){sW(e,e.return,t)}break;case 4:default:a$(t,e),aX(e);break;case 13:a$(t,e),aX(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,o&&(null===i.alternate||null===i.alternate.memoizedState)&&(su=eJ())),4&r&&aY(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(aL=(u=aL)||c,a$(t,e),aL=u):a$(t,e),aX(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(aN=e,c=e.child;null!==c;){for(p=aN=c;null!==aN;){switch(f=(h=aN).child,h.tag){case 0:case 11:case 14:case 15:az(4,h,h.return);break;case 1:aR(h,h.return);var g=h.stateNode;if("function"==typeof g.componentWillUnmount){r=h,n=h.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){sW(r,n,e)}}break;case 5:aR(h,h.return);break;case 22:if(null!==h.memoizedState){a0(p);continue}}null!==f?(f.return=h,aN=f):a0(p)}c=c.sibling}e:for(c=null,p=e;;){if(5===p.tag){if(null===c){c=p;try{i=p.stateNode,u?(o=i.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(s=p.stateNode,a=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=ev("display",a))}catch(t){sW(e,e.return,t)}}}else if(6===p.tag){if(null===c)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){sW(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;c===p&&(c=null),p=p.return}c===p&&(c=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:a$(t,e),aX(e),4&r&&aY(e);case 21:}}function aX(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(aq(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(eg(i,""),r.flags&=-33);var o=aW(e);!function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,s=aW(e);!function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=r_));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,s,a);break;default:throw Error(d(161))}}catch(t){sW(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function aJ(e){for(;null!==aN;){var t=aN;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:aL||aF(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!aL){if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ik(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&iQ(t,o,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}iQ(t,a,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var p=c.dehydrated;null!==p&&tL(p)}}}break;default:throw Error(d(163))}aL||512&t.flags&&aG(t)}catch(e){sW(t,t.return,e)}}if(t===e){aN=null;break}if(null!==(n=t.sibling)){n.return=t.return,aN=n;break}aN=t.return}}function a0(e){for(;null!==aN;){var t=aN;if(t===e){aN=null;break}var n=t.sibling;if(null!==n){n.return=t.return,aN=n;break}aN=t.return}}function a1(e){for(;null!==aN;){var t=aN;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{aF(4,t)}catch(e){sW(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){sW(t,i,e)}}var o=t.return;try{aG(t)}catch(e){sW(t,o,e)}break;case 5:var a=t.return;try{aG(t)}catch(e){sW(t,a,e)}}}catch(e){sW(t,t.return,e)}if(t===e){aN=null;break}var s=t.sibling;if(null!==s){s.return=t.return,aN=s;break}aN=t.return}}var a2=Math.ceil,a4=k.ReactCurrentDispatcher,a3=k.ReactCurrentOwner,a5=k.ReactCurrentBatchConfig,a6=0,a8=null,a9=null,a7=0,se=0,st=rG(0),sn=0,sr=null,si=0,so=0,sa=0,ss=null,sl=null,su=0,sc=1/0,sd=null,sp=!1,sh=null,sf=null,sg=!1,sm=null,s_=0,sv=0,sb=null,sy=-1,sw=0;function sS(){return 0!=(6&a6)?eJ():-1!==sy?sy:sy=eJ()}function sA(e){return 0==(1&e.mode)?1:0!=(2&a6)&&0!==a7?a7&-a7:null!==ix.transition?(0===sw&&(sw=ts()),sw):0!==(e=td)?e:e=void 0===(e=window.event)?16:tG(e.type)}function sT(e,t,n,r){if(50<sv)throw sv=0,sb=null,Error(d(185));tu(e,n,r),(0==(2&a6)||e!==a8)&&(e===a8&&(0==(2&a6)&&(so|=n),4===sn&&sI(e,a7)),sx(e,r),1===n&&0===a6&&0==(1&t.mode)&&(sc=eJ()+500,r4&&r6()))}function sx(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-e9(o),s=1<<a,l=i[a];-1===l?(0==(s&n)||0!=(s&r))&&(i[a]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var i=to(e,e===a8?a7:0);if(0===i)null!==r&&e$(r),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=r&&e$(r),1===t){;0===e.tag?(n=sE.bind(null,e),r4=!0,r5(n)):r5(sE.bind(null,e)),rT(function(){0==(6&a6)&&r6()}),r=null}else{switch(tp(i)){case 1:r=e1;break;case 4:r=e2;break;case 16:default:r=e4;break;case 536870912:r=e5}r=function(e,t){return eY(e,t)}(r,sk.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function sk(e,t){if(sy=-1,sw=0,0!=(6&a6))throw Error(d(327));var n=e.callbackNode;if(sG()&&e.callbackNode!==n)return null;var r=to(e,e===a8?a7:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=sj(e,r);else{t=r;var i=a6;a6|=2;var o=sN();for((a8!==e||a7!==t)&&(sd=null,sc=eJ()+500,sL(e,t));;)try{(function(){for(;null!==a9&&!eK();)sU(a9)})();break}catch(t){sB(e,t)}iC(),a4.current=o,a6=i,null!==a9?t=0:(a8=null,a7=0,t=sn)}if(0!==t){if(2===t&&0!==(i=ta(e))&&(r=i,t=sM(e,i)),1===t)throw n=sr,sL(e,0),sI(e,r),sx(e,eJ()),n;if(6===t)sI(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!nR(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=sj(e,r))&&0!==(o=ta(e))&&(r=o,t=sM(e,o)),1===t))throw n=sr,sL(e,0),sI(e,r),sx(e,eJ()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:sF(e,sl,sd);break;case 3:if(sI(e,r),(130023424&r)===r&&10<(t=su+500-eJ())){if(0!==to(e,0))break;if(((i=e.suspendedLanes)&r)!==r){sS(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=rw(sF.bind(null,e,sl,sd),t);break}sF(e,sl,sd);break;case 4:if(sI(e,r),(4194240&r)===r)break;for(i=-1,t=e.eventTimes;0<r;){var a=31-e9(r);o=1<<a,(a=t[a])>i&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*a2(r/1960))-r)){e.timeoutHandle=rw(sF.bind(null,e,sl,sd),r);break}sF(e,sl,sd);break;default:throw Error(d(329))}}}return sx(e,eJ()),e.callbackNode===n?sk.bind(null,e):null}function sM(e,t){var n=ss;return e.current.memoizedState.isDehydrated&&(sL(e,t).flags|=256),2!==(e=sj(e,t))&&(t=sl,sl=n,null!==t&&sP(t)),e}function sP(e){null===sl?sl=e:sl.push.apply(sl,e)}function sI(e,t){for(t&=~sa,t&=~so,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-e9(t),r=1<<n;e[n]=-1,t&=~r}}function sE(e){if(0!=(6&a6))throw Error(d(327));sG();var t=to(e,0);if(0==(1&t))return sx(e,eJ()),null;var n=sj(e,t);if(0!==e.tag&&2===n){var r=ta(e);0!==r&&(t=r,n=sM(e,r))}if(1===n)throw n=sr,sL(e,0),sI(e,t),sx(e,eJ()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,sF(e,sl,sd),sx(e,eJ()),null}function sC(e,t){var n=a6;a6|=1;try{return e(t)}finally{0===(a6=n)&&(sc=eJ()+500,r4&&r6())}}function sO(e){null!==sm&&0===sm.tag&&0==(6&a6)&&sG();var t=a6;a6|=1;var n=a5.transition,r=td;try{if(a5.transition=null,td=1,e)return e()}finally{td=r,a5.transition=n,0==(6&(a6=t))&&r6()}}function sD(){se=st.current,rq(st)}function sL(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rS(n)),null!==a9)for(n=a9.return;null!==n;){var r=n;switch(ic(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rK();break;case 3:oi(),rq(rV),rq(rH),oc();break;case 5:oa(r);break;case 4:oi();break;case 13:case 19:rq(os);break;case 10:iO(r.type._context);break;case 22:case 23:sD()}n=n.return}if(a8=e,a9=e=sJ(e.current,null),a7=se=t,sn=0,sr=null,sa=so=si=0,sl=ss=null,null!==iN){for(t=0;t<iN.length;t++)if(null!==(r=(n=iN[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}iN=null}return e}function sB(e,t){for(;;){var n=a9;try{if(iC(),od.current=o5,o_){for(var r=of.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}o_=!1}if(oh=0,om=og=of=null,ov=!1,ob=0,a3.current=null,null===n||null===n.return){sn=1,sr=t,a9=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=a7,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,c=s,p=c.tag;if(0==(1&c.mode)&&(0===p||11===p||15===p)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=aa(a);if(null!==f){f.flags&=-257,as(f,a,s,o,t),1&f.mode&&ao(o,u,t),t=f,l=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(l),t.updateQueue=m}else g.add(l);break e}if(0==(1&t)){ao(o,u,t),sR();break e}l=Error(d(426))}else if(ih&&1&s.mode){var _=aa(a);if(null!==_){0==(65536&_.flags)&&(_.flags|=256),as(_,a,s,o,t),iT(o7(l,s));break e}}o=l=o7(l,s),4!==sn&&(sn=2),null===ss?ss=[o]:ss.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=ar(o,l,t);iH(o,v);break e;case 1:s=l;var b=o.type,y=o.stateNode;if(0==(128&o.flags)&&("function"==typeof b.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===sf||!sf.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=ai(o,s,t);iH(o,w);break e}}o=o.return}while(null!==o)}sz(n)}catch(e){t=e,a9===n&&null!==n&&(a9=n=n.return);continue}break}}function sN(){var e=a4.current;return a4.current=o5,null===e?o5:e}function sR(){(0===sn||3===sn||2===sn)&&(sn=4),null===a8||0==(268435455&si)&&0==(268435455&so)||sI(a8,a7)}function sj(e,t){var n=a6;a6|=2;var r=sN();for((a8!==e||a7!==t)&&(sd=null,sL(e,t));;)try{(function(){for(;null!==a9;)sU(a9)})();break}catch(t){sB(e,t)}if(iC(),a6=n,a4.current=r,null!==a9)throw Error(d(261));return a8=null,a7=0,sn}function sU(e){var t=l(e.alternate,e,se);e.memoizedProps=e.pendingProps,null===t?sz(e):a9=t,a3.current=null}function sz(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(ic(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return aO(t),null;case 1:case 17:return r$(t.type)&&rK(),aO(t),null;case 3:return r=t.stateNode,oi(),rq(rV),rq(rH),oc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(iw(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ig&&(sP(ig),ig=null))),o(e,t),aO(t),null;case 5:oa(t);var l=on(ot.current);if(n=t.type,null!==e&&null!=t.stateNode)a(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return aO(t),null}if(e=on(i7.current),iw(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rE]=t,r[rC]=u,e=0!=(1&t.mode),n){case"dialog":rr("cancel",r),rr("close",r);break;case"iframe":case"object":case"embed":rr("load",r);break;case"video":case"audio":for(l=0;l<n7.length;l++)rr(n7[l],r);break;case"source":rr("error",r);break;case"img":case"image":case"link":rr("error",r),rr("load",r);break;case"details":rr("toggle",r);break;case"input":J(r,u),rr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},rr("invalid",r);break;case"textarea":es(r,u),rr("invalid",r)}for(var c in ew(n,u),l=null,u)if(u.hasOwnProperty(c)){var p=u[c];"children"===c?"string"==typeof p?r.textContent!==p&&(!0!==u.suppressHydrationWarning&&rm(r.textContent,p,e),l=["children",p]):"number"==typeof p&&r.textContent!==""+p&&(!0!==u.suppressHydrationWarning&&rm(r.textContent,p,e),l=["children",""+p]):h.hasOwnProperty(c)&&null!=p&&"onScroll"===c&&rr("scroll",r)}switch(n){case"input":Y(r),en(r,u,!0);break;case"textarea":Y(r),eu(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=r_)}r=l,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rE]=t,e[rC]=r,i(e,t,!1,!1),t.stateNode=e;e:{switch(c=eS(n,r),n){case"dialog":rr("cancel",e),rr("close",e),l=r;break;case"iframe":case"object":case"embed":rr("load",e),l=r;break;case"video":case"audio":for(l=0;l<n7.length;l++)rr(n7[l],e);l=r;break;case"source":rr("error",e),l=r;break;case"img":case"image":case"link":rr("error",e),rr("load",e),l=r;break;case"details":rr("toggle",e),l=r;break;case"input":J(e,r),l=X(e,r),rr("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=q({},r,{value:void 0}),rr("invalid",e);break;case"textarea":es(e,r),l=ea(e,r),rr("invalid",e)}for(u in ew(n,l),p=l)if(p.hasOwnProperty(u)){var f=p[u];"style"===u?eb(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&ef(e,f):"children"===u?"string"==typeof f?("textarea"!==n||""!==f)&&eg(e,f):"number"==typeof f&&eg(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?null!=f&&"onScroll"===u&&rr("scroll",e):null!=f&&x(e,u,f,c))}switch(n){case"input":Y(e),en(e,r,!1);break;case"textarea":Y(e),eu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?eo(e,!!r.multiple,u,!1):null!=r.defaultValue&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=r_)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return aO(t),null;case 6:if(e&&null!=t.stateNode)s(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=on(ot.current),on(i7.current),iw(t)){if(r=t.stateNode,n=t.memoizedProps,r[rE]=t,(u=r.nodeValue!==n)&&null!==(e=id))switch(e.tag){case 3:rm(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rm(r.nodeValue,n,0!=(1&e.mode))}u&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[rE]=t,t.stateNode=r}return aO(t),null;case 13:if(rq(os),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ih&&null!==ip&&0!=(1&t.mode)&&0==(128&t.flags))iS(),iA(),t.flags|=98560,u=!1;else if(u=iw(t),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[rE]=t}else iA(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;aO(t),u=!1}else null!==ig&&(sP(ig),ig=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&os.current)?0===sn&&(sn=3):sR())),null!==t.updateQueue&&(t.flags|=4),aO(t),null;case 4:return oi(),o(e,t),null===e&&ra(t.stateNode.containerInfo),aO(t),null;case 10:return iO(t.type._context),aO(t),null;case 19:if(rq(os),null===(u=t.memoizedState))return aO(t),null;if(r=0!=(128&t.flags),null===(c=u.rendering)){if(r)aC(u,!1);else{if(0!==sn||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=ol(e))){for(t.flags|=128,aC(u,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=14680066,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rW(os,1&os.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>sc&&(t.flags|=128,r=!0,aC(u,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=ol(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),aC(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ih)return aO(t),null}else 2*eJ()-u.renderingStartTime>sc&&1073741824!==n&&(t.flags|=128,r=!0,aC(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,n=os.current,rW(os,r?1&n|2:1&n),t;return aO(t),null;case 22:case 23:return sD(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&se)&&(aO(t),6&t.subtreeFlags&&(t.flags|=8192)):aO(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,se))){a9=n;return}}else{if(null!==(n=function(e,t){switch(ic(t),t.tag){case 1:return r$(t.type)&&rK(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),rq(rV),rq(rH),oc(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oa(t),null;case 13:if(rq(os),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));iA()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rq(os),null;case 4:return oi(),null;case 10:return iO(t.type._context),null;case 22:case 23:return sD(),null;default:return null}}(n,t))){n.flags&=32767,a9=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{sn=6,a9=null;return}}if(null!==(t=t.sibling)){a9=t;return}a9=t=e}while(null!==t);0===sn&&(sn=5)}function sF(e,t,n){var r=td,i=a5.transition;try{a5.transition=null,td=1,function(e,t,n,r){do sG();while(null!==sm);if(0!=(6&a6))throw Error(d(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(!function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-e9(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,o),e===a8&&(a9=a8=null,a7=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sg||(sg=!0,function(e,t){eY(e,t)}(e4,function(){return sG(),null})),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=a5.transition,a5.transition=null;var a,s,l,u=td;td=1;var c=a6;a6|=4,a3.current=null,!function(e,t){if(rv=tN,nG(e=nF())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i,o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,p=0,h=e,f=null;t:for(;;){for(;h!==n||0!==o&&3!==h.nodeType||(l=s+o),h!==a||0!==r&&3!==h.nodeType||(u=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(i=h.firstChild);){;f=h,h=i}for(;;){if(h===e)break t;if(f===n&&++c===o&&(l=s),f===a&&++p===r&&(u=s),null!==(i=h.nextSibling))break;f=(h=f).parentNode}h=i}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(rb={focusedElem:e,selectionRange:n},tN=!1,aN=t;null!==aN;)if(e=(t=aN).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,aN=e;else for(;null!==aN;){t=aN;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,_=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:ik(t.type,m),_);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(d(163))}}catch(e){sW(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,aN=e;break}aN=t.return}g=aU,aU=!1}(e,n),aK(n,e),!function(e){var t=nF(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&nG(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=nz(n,o);var a=nz(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rb),tN=!!rv,rb=rv=null,e.current=n,a=n,s=e,l=i,aN=a,function e(t,n,r){for(var i=0!=(1&t.mode);null!==aN;){var o=aN,a=o.child;if(22===o.tag&&i){var s=null!==o.memoizedState||aD;if(!s){var l=o.alternate,u=null!==l&&null!==l.memoizedState||aL;l=aD;var c=aL;if(aD=s,(aL=u)&&!c)for(aN=o;null!==aN;)u=(s=aN).child,22===s.tag&&null!==s.memoizedState?a1(o):null!==u?(u.return=s,aN=u):a1(o);for(;null!==a;)aN=a,e(a,n,r),a=a.sibling;aN=o,aD=l,aL=c}aJ(t,n,r)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,aN=a):aJ(t,n,r)}}(a,s,l),eX(),a6=c,td=u,a5.transition=o}else e.current=n;if(sg&&(sg=!1,sm=e,s_=i),0===(o=e.pendingLanes)&&(sf=null),!function(e){if(e8&&"function"==typeof e8.onCommitFiberRoot)try{e8.onCommitFiberRoot(e6,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode,r),sx(e,eJ()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(sp)throw sp=!1,e=sh,sh=null,e;0!=(1&s_)&&0!==e.tag&&sG(),0!=(1&(o=e.pendingLanes))?e===sb?sv++:(sv=0,sb=e):sv=0,r6()}(e,t,n,r)}finally{a5.transition=i,td=r}return null}function sG(){if(null!==sm){var e=tp(s_),t=a5.transition,n=td;try{if(a5.transition=null,td=16>e?16:e,null===sm)var r=!1;else{if(e=sm,sm=null,s_=0,0!=(6&a6))throw Error(d(331));var i=a6;for(a6|=4,aN=e.current;null!==aN;){var o=aN,a=o.child;if(0!=(16&aN.flags)){var s=o.deletions;if(null!==s){for(var l=0;l<s.length;l++){var u=s[l];for(aN=u;null!==aN;){var c=aN;switch(c.tag){case 0:case 11:case 15:az(8,c,o)}var p=c.child;if(null!==p)p.return=c,aN=p;else for(;null!==aN;){var h=(c=aN).sibling,f=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[rE],delete n[rC],delete n[rD],delete n[rL],delete n[rB]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){aN=null;break}if(null!==h){h.return=f,aN=h;break}aN=f}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var _=m.sibling;m.sibling=null,m=_}while(null!==m)}}aN=o}}if(0!=(2064&o.subtreeFlags)&&null!==a)a.return=o,aN=a;else for(;null!==aN;){if(o=aN,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:az(9,o,o.return)}var v=o.sibling;if(null!==v){v.return=o.return,aN=v;break}aN=o.return}}var b=e.current;for(aN=b;null!==aN;){var y=(a=aN).child;if(0!=(2064&a.subtreeFlags)&&null!==y)y.return=a,aN=y;else for(a=b;null!==aN;){if(s=aN,0!=(2048&s.flags))try{switch(s.tag){case 0:case 11:case 15:aF(9,s)}}catch(e){sW(s,s.return,e)}if(s===a){aN=null;break}var w=s.sibling;if(null!==w){w.return=s.return,aN=w;break}aN=s.return}}if(a6=i,r6(),e8&&"function"==typeof e8.onPostCommitFiberRoot)try{e8.onPostCommitFiberRoot(e6,e)}catch(e){}r=!0}return r}finally{td=n,a5.transition=t}}return!1}function sq(e,t,n){t=ar(e,t=o7(n,t),1),e=iW(e,t,1),t=sS(),null!==e&&(tu(e,1,t),sx(e,t))}function sW(e,t,n){if(3===e.tag)sq(e,e,n);else for(;null!==t;){if(3===t.tag){sq(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sf||!sf.has(r))){e=ai(t,e=o7(n,e),1),t=iW(t,e,1),e=sS(),null!==t&&(tu(t,1,e),sx(t,e));break}}t=t.return}}function sZ(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=sS(),e.pingedLanes|=e.suspendedLanes&n,a8===e&&(a7&n)===n&&(4===sn||3===sn&&(130023424&a7)===a7&&500>eJ()-su?sL(e,0):sa|=n),sx(e,t)}function sH(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tr,0==(130023424&(tr<<=1))&&(tr=4194304)));var n=sS();null!==(e=iU(e,t))&&(tu(e,t,n),sx(e,n))}function sV(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sH(e,n)}function sQ(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),sH(e,n)}function sY(e,t){return eY(e,t)}function s$(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sK(e,t,n,r){return new s$(e,t,n,r)}function sX(e){return!(!(e=e.prototype)||!e.isReactComponent)}l=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||rV.current)au=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return au=!1,function(e,t,n){switch(t.tag){case 3:ab(t),iA();break;case 5:oo(t);break;case 1:r$(t.type)&&r0(t);break;case 4:or(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;rW(iM,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rW(os,1&os.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return aA(e,t,n);return rW(os,1&os.current),null!==(e=aE(e,t,n))?e.sibling:null}rW(os,1&os.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return aP(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),rW(os,os.current),!r)return null;break;case 22:case 23:return t.lanes=0,af(e,t,n)}return aE(e,t,n)}(e,t,n);au=0!=(131072&e.flags)}}else au=!1,ih&&0!=(1048576&t.flags)&&il(t,ie,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;aI(e,t),e=t.pendingProps;var i=rY(t,rH.current);iL(t,n),i=oA(null,t,r,e,i,n);var o=oT();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,r$(r)?(o=!0,r0(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,iF(t),i.updater=iK,t.stateNode=i,i._reactInternals=t,i1(t,r,e,n),t=av(null,t,r,!0,o,n)):(t.tag=0,ih&&o&&iu(t),ac(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(aI(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return sX(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===R)return 14}return 2}(r),e=ik(r,e),i){case 0:t=am(null,t,r,e,n);break e;case 1:t=a_(null,t,r,e,n);break e;case 11:t=ad(null,t,r,e,n);break e;case 14:t=ap(null,t,r,ik(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ik(r,i),am(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ik(r,i),a_(e,t,r,i,n);case 3:e:{if(ab(t),null===e)throw Error(d(387));r=t.pendingProps,i=(o=t.memoizedState).element,iG(e,t),iV(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){i=o7(Error(d(423)),t),t=ay(e,t,r,n,i);break e}if(r!==i){i=o7(Error(d(424)),t),t=ay(e,t,r,n,i);break e}else for(ip=rM(t.stateNode.containerInfo.firstChild),id=t,ih=!0,ig=null,n=i8(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iA(),r===i){t=aE(e,t,n);break e}ac(e,t,r,n)}t=t.child}return t;case 5:return oo(t),null===e&&ib(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,ry(r,i)?a=null:null!==o&&ry(r,o)&&(t.flags|=32),ag(e,t),ac(e,t,a,n),t.child;case 6:return null===e&&ib(t),null;case 13:return aA(e,t,n);case 4:return or(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=i6(t,null,r,n):ac(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ik(r,i),ad(e,t,r,i,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,rW(iM,r._currentValue),r._currentValue=a,null!==o){if(nR(o.value,a)){if(o.children===i.children&&!rV.current){t=aE(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var s=o.dependencies;if(null!==s){a=o.child;for(var l=s.firstContext;null!==l;){if(l.context===r){if(1===o.tag){(l=iq(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),iD(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(10===o.tag)a=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(a=o.return))throw Error(d(341));a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),iD(a,n,t),a=o.sibling}else a=o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===t){a=null;break}if(null!==(o=a.sibling)){o.return=a.return,a=o;break}a=a.return}o=a}}ac(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,iL(t,n),r=r(i=iB(i)),t.flags|=1,ac(e,t,r,n),t.child;case 14:return i=ik(r=t.type,t.pendingProps),i=ik(r.type,i),ap(e,t,r,i,n);case 15:return ah(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ik(r,i),aI(e,t),t.tag=1,r$(r)?(e=!0,r0(t)):e=!1,iL(t,n),iJ(t,r,i),i1(t,r,i,n),av(null,t,r,!0,e,n);case 19:return aP(e,t,n);case 22:return af(e,t,n)}throw Error(d(156,t.tag))};function sJ(e,t){var n=e.alternate;return null===n?((n=sK(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function s0(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)sX(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case I:return s1(n.children,i,o,t);case E:a=8,i|=8;break;case C:return(e=sK(12,n,t,2|i)).elementType=C,e.lanes=o,e;case B:return(e=sK(13,n,t,i)).elementType=B,e.lanes=o,e;case N:return(e=sK(19,n,t,i)).elementType=N,e.lanes=o,e;case U:return s2(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:a=10;break e;case D:a=9;break e;case L:a=11;break e;case R:a=14;break e;case j:a=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=sK(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function s1(e,t,n,r){return(e=sK(7,e,r,t)).lanes=n,e}function s2(e,t,n,r){return(e=sK(22,e,r,t)).elementType=U,e.lanes=n,e.stateNode={isHidden:!1},e}function s4(e,t,n){return(e=sK(6,e,null,t)).lanes=n,e}function s3(e,t,n){return(t=sK(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function s5(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function s6(e,t,n,r,i,o,a,s,l){return e=new s5(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=sK(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},iF(o),e}function s8(e){if(!e)return rZ;e=e._reactInternals;e:{if(eZ(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(r$(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(r$(n))return rJ(e,n,t)}return t}function s9(e,t,n,r,i,o,a,s,l){return(e=s6(n,r,!0,e,i,o,a,s,l)).context=s8(null),n=e.current,r=sS(),(o=iq(r,i=sA(n))).callback=null!=t?t:null,iW(n,o,i),e.current.lanes=i,tu(e,i,r),sx(e,r),e}function s7(e,t,n,r){var i=t.current,o=sS(),a=sA(i);return n=s8(n),null===t.context?t.context=n:t.pendingContext=n,(t=iq(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=iW(i,t,a))&&(sT(e,i,a,o),iZ(e,i,a)),a}function le(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lt(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ln(e,t){lt(e,t),(e=e.alternate)&&lt(e,t)}var lr="function"==typeof reportError?reportError:function(e){console.error(e)};function li(e){this._internalRoot=e}function lo(e){this._internalRoot=e}function la(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ls(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ll(){}lo.prototype.render=li.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));s7(e,t,null,null)},lo.prototype.unmount=li.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sO(function(){s7(null,e,null,null)}),t[rO]=null}},lo.prototype.unstable_scheduleHydration=function(e){if(e){var t=tm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tx.length&&0!==t&&t<tx[n].priority;n++);tx.splice(n,0,e),0===n&&tI(e)}};function lu(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=le(a);s.call(e)}}s7(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=le(a);o.call(e)}}var a=s9(t,r,e,0,null,!1,!1,"",ll);return e._reactRootContainer=a,e[rO]=a.current,ra(8===e.nodeType?e.parentNode:e),sO(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=le(l);s.call(e)}}var l=s6(e,0,!1,null,null,!1,!1,"",ll);return e._reactRootContainer=l,e[rO]=l.current,ra(8===e.nodeType?e.parentNode:e),sO(function(){s7(t,l,n,r)}),l}(n,t,e,i,r);return le(a)}th=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ti(t.pendingLanes);0!==n&&(tc(t,1|n),sx(t,eJ()),0==(6&a6)&&(sc=eJ()+500,r6()))}break;case 13:sO(function(){var t=iU(e,1);null!==t&&sT(t,e,1,sS())}),ln(e,1)}},tf=function(e){if(13===e.tag){var t=iU(e,134217728);null!==t&&sT(t,e,134217728,sS()),ln(e,134217728)}},tg=function(e){if(13===e.tag){var t=sA(e),n=iU(e,t);null!==n&&sT(n,e,t,sS()),ln(e,t)}},tm=function(){return td},t_=function(e,t){var n=td;try{return td=e,t()}finally{td=n}},ex=function(e,t,n){switch(t){case"input":if(et(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=rU(r);if(!i)throw Error(d(90));$(r),et(r,i)}}}break;case"textarea":el(e,n);break;case"select":null!=(t=n.value)&&eo(e,!!n.multiple,t,!1)}},eC=sC,eO=sO;var lc={findFiberByHostInstance:rN,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ld={bundleType:lc.bundleType,version:lc.version,rendererPackageName:lc.rendererPackageName,rendererConfig:lc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eQ(e))?null:e.stateNode},findFiberByHostInstance:lc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lp.isDisabled&&lp.supportsFiber)try{e6=lp.inject(ld),e8=lp}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rR,rj,rU,eI,eE,sC]},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!la(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:P,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!la(e))throw Error(d(299));var n=!1,r="",i=lr;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=s6(e,1,!1,null,null,n,!1,r,i),e[rO]=t.current,ra(8===e.nodeType?e.parentNode:e),new li(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eQ(t))?null:e.stateNode},t.flushSync=function(e){return sO(e)},t.hydrate=function(e,t,n){if(!ls(t))throw Error(d(200));return lu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!la(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",a=lr;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=s9(t,null,e,1,null!=n?n:null,i,!1,o,a),e[rO]=t.current,ra(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new lo(t)},t.render=function(e,t,n){if(!ls(t))throw Error(d(200));return lu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ls(e))throw Error(d(40));return!!e._reactRootContainer&&(sO(function(){lu(null,null,e,!1,function(){e._reactRootContainer=null,e[rO]=null})}),!0)},t.unstable_batchedUpdates=sC,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ls(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return lu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},67897:function(e,t,n){"use strict";var r,i=n("54432");t.createRoot=i.createRoot,i.hydrateRoot},54432:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("2558")},68247:function(e,t,n){"use strict";var r=n("11532"),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},98254:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function _(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=_.prototype;var y=b.prototype=new v;y.constructor=b,g(y,_.prototype),y.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,A={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!T.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:A.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function P(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function I(e,t,i){if(null==e)return e;var o=[],a=0;return!function e(t,i,o,a,s){var l,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0}}if(p){;return s=s(p=t),t=""===a?"."+P(p,0):a,w(s)?(o="",null!=t&&(o=t.replace(M,"$&/")+"/"),e(s,i,o,"",function(e){return e})):null!=s&&(k(s)&&(l=s,u=o+(!s.key||p&&p.key===s.key?"":(""+s.key).replace(M,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),i.push(s)),1}if(p=0,a=""===a?".":a+":",w(t))for(var f=0;f<t.length;f++){var g=a+P(d=t[f],f);p+=e(d,i,o,g,s)}else{;if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=h&&c[h]||c["@@iterator"])?c:null))for(t=g.call(t),f=0;!(d=t.next()).done;)g=a+P(d=d.value,f++),p+=e(d,i,o,g,s);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(i=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(i,e,a++)}),o}function E(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var C={current:null},O={transition:null};t.Children={map:I,forEach:function(e,t,n){I(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=_,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:C,ReactCurrentBatchConfig:O,ReactCurrentOwner:A},t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=A.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)S.call(t,u)&&!T.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:E}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return C.current.useCallback(e,t)},t.useContext=function(e){return C.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return C.current.useDeferredValue(e)},t.useEffect=function(e,t){return C.current.useEffect(e,t)},t.useId=function(){return C.current.useId()},t.useImperativeHandle=function(e,t,n){return C.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return C.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return C.current.useMemo(e,t)},t.useReducer=function(e,t,n){return C.current.useReducer(e,t,n)},t.useRef=function(e){return C.current.useRef(e)},t.useState=function(e){return C.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return C.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return C.current.useTransition()},t.version="18.2.0"},11532:function(e,t,n){"use strict";e.exports=n("98254")},31740:function(e,t,n){"use strict";e.exports=n("68247")},14177:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<o(i,t))e[r]=t,e[n]=i,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else if(u<i&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var c=[],d=[],p=1,h=null,f=3,g=!1,m=!1,_=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function S(e){if(_=!1,w(e),!m){if(null!==r(c))m=!0,D(A);else{var t=r(d);null!==t&&L(S,t.startTime-e)}}}function A(e,n){m=!1,_&&(_=!1,b(k),k=-1),g=!0;var o=f;try{for(w(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!I());){var a=h.callback;if("function"==typeof a){h.callback=null,f=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(c)&&i(c),w(n)}else i(c);h=r(c)}if(null!==h)var l=!0;else{var u=r(d);null!==u&&L(S,u.startTime-n),l=!1}return l}finally{h=null,f=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T=!1,x=null,k=-1,M=5,P=-1;function I(){return!(t.unstable_now()-P<M)}function E(){if(null!==x){var e=t.unstable_now();P=e;var n=!0;try{n=x(!0,e)}finally{n?a():(T=!1,x=null)}}else T=!1}if("function"==typeof y)a=function(){y(E)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,O=C.port2;C.port1.onmessage=E,a=function(){O.postMessage(null)}}else a=function(){v(E,0)};function D(e){x=e,T||(T=!0,a())}function L(e,n){k=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||g||(m=!0,D(A))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o?"number"==typeof(o=o.delay)&&0<o?a+o:a:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:p++,callback:i,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>a?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(_?(b(k),k=-1):_=!0,L(S,o-a))):(e.sortIndex=s,n(c,e),m||g||(m=!0,D(A))),e},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},86563:function(e,t,n){"use strict";e.exports=n("14177")},94262:function(e,t,n){"use strict";var r=n("2477"),i=n("8206"),o=n("81097")(),a=n("8143"),s=n("20172"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},30487:function(e,t,n){"use strict";var r=n("2477"),i=n("16028"),o=n("93675"),a=n("20172"),s=r("%WeakMap%",!0),l=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),p=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},m=function(e,t){var n=g(e,t);return n&&n.value},_=function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(l){if(t)return p(t,r)}else if(n)return m(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return f(t,r)}else if(n)return!!g(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(!e&&(e=new s),c(e,r,i)):l?(!t&&(t=new l),h(t,r,i)):(!n&&(n={key:{},next:null}),_(n,r,i))}};return r}},84151:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("16110"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),t.Z=g.Z&&g.Z.locals?g.Z.locals:void 0},56871:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("27896"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),t.Z=g.Z&&g.Z.locals?g.Z.locals:void 0},11161:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("56552"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),t.Z=g.Z&&g.Z.locals?g.Z.locals:void 0},9757:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("66088"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},90165:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("64570"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},14120:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("50466"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},84654:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("18310"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},16510:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("58275"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},49707:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("87655"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},23729:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("10488"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},50288:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("78077"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},85668:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("99861"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},90873:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("82264"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},52530:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("15193"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},7969:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("54350"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},63215:function(e,t,n){"use strict";var r=n("27535"),i=n.n(r),o=n("30678"),a=n.n(o),s=n("27776"),l=n.n(s),u=n("44283"),c=n.n(u),d=n("36235"),p=n.n(d),h=n("27041"),f=n.n(h),g=n("50831"),m={};m.styleTagTransform=f(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=p(),i()(g.Z,m),g.Z&&g.Z.locals&&g.Z.locals},27535:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},o=[],a=0;a<e.length;a++){var s=e[a],l=r.base?s[0]+r.base:s[0],u=i[l]||0,c="".concat(l," ").concat(u);i[l]=u+1;var d=n(c),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(p,r);r.byIndex=a,t.splice(a,0,{identifier:c,updater:h,references:1})}o.push(c)}return o}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},27776:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},36235:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},44283:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},30678:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,i,o,a,s,l;r=t,i=e,a="",(o=n).supports&&(a+="@supports (".concat(o.supports,") {")),o.media&&(a+="@media ".concat(o.media," {")),(s=void 0!==o.layer)&&(a+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),a+=o.css,s&&(a+="}"),o.media&&(a+="}"),o.supports&&(a+="}"),(l=o.sourceMap)&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),i.styleTagTransform(a,r,i.options)},remove:function(){!function(e){if(null===e.parentNode)return;e.parentNode.removeChild(e)}(t)}}}},27041:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},38898:function(e,t){!function(n,r){"use strict";var i="function",o="undefined",a="object",s="string",l="major",u="model",c="name",d="type",p="vendor",h="version",f="architecture",g="console",m="mobile",_="tablet",v="smarttv",b="wearable",y="embedded",w="Amazon",S="Apple",A="ASUS",T="BlackBerry",x="Browser",k="Chrome",M="Firefox",P="Google",I="Huawei",E="Microsoft",C="Motorola",O="Opera",D="Samsung",L="Sharp",B="Sony",N="Xiaomi",R="Zebra",j="Facebook",U="Chromium OS",z="Mac OS",F=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},q=function(e,t){return typeof e===s&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,500)},H=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(n=o=0;n<p.length&&!u&&p[n];){;if(u=p[n++].exec(e))for(s=0;s<h.length;s++)c=u[++o],typeof(l=h[s])===a&&l.length>0?2===l.length?typeof l[1]==i?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==i||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):void 0:this[l[0]]=c?l[1].call(this,c,l[2]):r:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):r):this[l]=c||r}d+=2}},V=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(q(t[n][i],e))return"?"===n?r:n}else if(q(t[n],e))return"?"===n?r:n;return e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,h],[/opios[\/ ]+([\w\.]+)/i],[h,[c,O+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[c,O]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[c,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[c,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[c,"UC"+x]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[c,"Smart Lenovo "+x]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+x],h],[/\bfocus\/([\w\.]+)/i],[h,[c,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[c,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[c,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[c,"MIUI "+x]],[/fxios\/([-\w\.]+)/i],[h,[c,M]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+x]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+x],h],[/samsungbrowser\/([\w\.]+)/i],[h,[c,D+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,h],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,j],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[c,k+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,k+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[c,"Android "+x]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[h,V,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[c,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[c,h],[/(cobalt)\/([\w\.]+)/i],[c,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,W]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[p,D],[d,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[p,D],[d,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[p,S],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[p,S],[d,_]],[/(macintosh);/i],[u,[p,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[p,L],[d,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[p,I],[d,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[p,I],[d,m]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[p,N],[d,m]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[p,N],[d,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[p,"OPPO"],[d,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[p,"Vivo"],[d,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[p,"Realme"],[d,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[p,C],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[p,C],[d,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[p,"LG"],[d,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[p,"LG"],[d,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[p,"Lenovo"],[d,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[p,"Nokia"],[d,m]],[/(pixel c)\b/i],[u,[p,P],[d,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[p,P],[d,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[p,B],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[p,B],[d,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[p,"OnePlus"],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[p,w],[d,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[p,w],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[u,p,[d,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[p,T],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[p,A],[d,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[p,A],[d,m]],[/(nexus 9)/i],[u,[p,"HTC"],[d,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[u,/_/g," "],[d,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[p,"Acer"],[d,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[p,"Meizu"],[d,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[p,"Ulefone"],[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,u,[d,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,u,[d,_]],[/(surface duo)/i],[u,[p,E],[d,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[p,"Fairphone"],[d,m]],[/(u304aa)/i],[u,[p,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[u,[p,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[u,[p,"RCA"],[d,_]],[/\b(venue[\d ]{2,7}) b/i],[u,[p,"Dell"],[d,_]],[/\b(q(?:mv|ta)\w+) b/i],[u,[p,"Verizon"],[d,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[p,"Barnes & Noble"],[d,_]],[/\b(tm\d{3}\w+) b/i],[u,[p,"NuVision"],[d,_]],[/\b(k88) b/i],[u,[p,"ZTE"],[d,_]],[/\b(nx\d{3}j) b/i],[u,[p,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[u,[p,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[u,[p,"Swiss"],[d,_]],[/\b((zeki)?tb.*\b) b/i],[u,[p,"Zeki"],[d,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],u,[d,_]],[/\b(ns-?\w{0,9}) b/i],[u,[p,"Insignia"],[d,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[p,"NextBook"],[d,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],u,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],u,[d,m]],[/\b(ph-1) /i],[u,[p,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[p,"Envizen"],[d,_]],[/\b(trio[-\w\. ]+) b/i],[u,[p,"MachSpeed"],[d,_]],[/\btu_(1491) b/i],[u,[p,"Rotor"],[d,_]],[/(shield[\w ]+) b/i],[u,[p,"Nvidia"],[d,_]],[/(sprint) (\w+)/i],[p,u,[d,m]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[p,E],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[p,R],[d,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[p,R],[d,m]],[/smart-tv.+(samsung)/i],[p,[d,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[p,D],[d,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[d,v]],[/(apple) ?tv/i],[p,[u,S+" TV"],[d,v]],[/crkey/i],[[u,k+"cast"],[p,P],[d,v]],[/droid.+aft(\w+)( bui|\))/i],[u,[p,w],[d,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[p,L],[d,v]],[/(bravia[\w ]+)( bui|\))/i],[u,[p,B],[d,v]],[/(mitv-\w{5}) bui/i],[u,[p,N],[d,v]],[/Hbbtv.*(technisat) (.*);/i],[p,u,[d,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Z],[u,Z],[d,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,u,[d,g]],[/droid.+; (shield) bui/i],[u,[p,"Nvidia"],[d,g]],[/(playstation [345portablevi]+)/i],[u,[p,B],[d,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[p,E],[d,g]],[/((pebble))app/i],[p,u,[d,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[p,S],[d,b]],[/droid.+; (glass) \d/i],[u,[p,P],[d,b]],[/droid.+; (wt63?0{2,3})\)/i],[u,[p,R],[d,b]],[/(quest( 2| pro)?)/i],[u,[p,j],[d,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[d,y]],[/(aeobc)\b/i],[u,[p,w],[d,y]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[d,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[h,V,Q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,V,Q],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,z],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,h],[/\(bb(10);/i],[h,[c,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[c,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[c,k+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,U],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,h],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,h]]},$=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof $))return new $(e,t).getResult();var g=typeof n!==o&&n.navigator?n.navigator:r,v=e||(g&&g.userAgent?g.userAgent:""),b=g&&g.userAgentData?g.userAgentData:r,y=t?F(Y,t):Y,w=g&&g.userAgent==v;return this.getBrowser=function(){var e,t={};return t[c]=r,t[h]=r,H.call(t,v,y.browser),t[l]=typeof(e=t[h])===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,w&&g&&g.brave&&typeof g.brave.isBrave==i&&(t[c]="Brave"),t},this.getCPU=function(){var e={};return e[f]=r,H.call(e,v,y.cpu),e},this.getDevice=function(){var e={};return e[p]=r,e[u]=r,e[d]=r,H.call(e,v,y.device),w&&!e[d]&&b&&b.mobile&&(e[d]=m),w&&"Macintosh"==e[u]&&g&&typeof g.standalone!==o&&g.maxTouchPoints&&g.maxTouchPoints>2&&(e[u]="iPad",e[d]=_),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,H.call(e,v,y.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,H.call(e,v,y.os),w&&!e[c]&&b&&"Unknown"!=b.platform&&(e[c]=b.platform.replace(/chrome os/i,U).replace(/macos/i,z)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(e){return v=typeof e===s&&e.length>500?Z(e,500):e,this},this.setUA(v),this};$.VERSION="1.0.37",$.BROWSER=G([c,h,l]),$.CPU=G([f]),$.DEVICE=G([u,p,d,g,m,v,_,b,y]),$.ENGINE=$.OS=G([c,h]),typeof t!==o?(e.exports&&(t=e.exports=$),t.UAParser=$):typeof define===i&&define.amd?define(function(){return $}):typeof n!==o&&(n.UAParser=$);var K=typeof n!==o&&(n.jQuery||n.Zepto);if(K&&!K.ua){var X=new $;K.ua=X.getResult(),K.ua.get=function(){return X.getUA()},K.ua.set=function(e){X.setUA(e);var t=X.getResult();for(var n in t)K.ua[n]=t[n]}}}("object"==typeof window?window:this)},51475:function(e,t,n){"use strict";var r=n("11532"),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},22671:function(e,t,n){"use strict";var r=n("11532"),i=n("87380"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var h=a(e,(d=u(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&p.hasValue){var t=p.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return l(function(){p.hasValue=!0,p.value=h},[h]),c(h),h}},87380:function(e,t,n){"use strict";e.exports=n("51475")},46365:function(e,t,n){"use strict";e.exports=n("22671")},29999:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3oiLz48L3N2Zz4="},47464:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3pNOS41NSA0Ljc5N2EuNTgzLjU4MyAwIDAgMSAuODIuMDg2Yy40NzQuNTg2Ljc3OCAxLjI2Ni43NzggMi4xMTdzLS4zMDQgMS41MzEtLjc3OCAyLjExN2EuNTgzLjU4MyAwIDAgMS0uOTA3LS43MzRjLjMzNy0uNDE2LjUxOC0uODQ1LjUxOC0xLjM4M3MtLjE4MS0uOTY3LS41MTgtMS4zODNhLjU4My41ODMgMCAwIDEgLjA4Ny0uODIiLz48L3N2Zz4="},96656:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3pNOS41NSA0Ljc5N2EuNTgzLjU4MyAwIDAgMSAuODIuMDg2Yy40NzQuNTg2Ljc3OCAxLjI2Ni43NzggMi4xMTdzLS4zMDQgMS41MzEtLjc3OCAyLjExN2EuNTgzLjU4MyAwIDAgMS0uOTA3LS43MzRjLjMzNy0uNDE2LjUxOC0uODQ1LjUxOC0xLjM4M3MtLjE4MS0uOTY3LS41MTgtMS4zODNhLjU4My41ODMgMCAwIDEgLjA4Ny0uODIiLz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTEuNDcyIDIuNjUyYS41ODMuNTgzIDAgMCAwLS43NzguODdBNC42NSA0LjY1IDAgMCAxIDEyLjI1IDdjMCAxLjM4Mi0uNiAyLjYyMy0xLjU1NiAzLjQ3OWEuNTgzLjU4MyAwIDAgMCAuNzc4Ljg2OUE1LjgyIDUuODIgMCAwIDAgMTMuNDE3IDdhNS44MiA1LjgyIDAgMCAwLTEuOTQ1LTQuMzQ4Ii8+PC9zdmc+"},62122:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzRkNTNlOCIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3oiLz48L3N2Zz4="},39761:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzRkNTNlOCIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3pNOS41NSA0Ljc5N2EuNTgzLjU4MyAwIDAgMSAuODIuMDg2Yy40NzQuNTg2Ljc3OCAxLjI2Ni43NzggMi4xMTdzLS4zMDQgMS41MzEtLjc3OCAyLjExN2EuNTgzLjU4MyAwIDAgMS0uOTA3LS43MzRjLjMzNy0uNDE2LjUxOC0uODQ1LjUxOC0xLjM4M3MtLjE4MS0uOTY3LS41MTgtMS4zODNhLjU4My41ODMgMCAwIDEgLjA4Ny0uODIiLz48L3N2Zz4="},94493:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzRkNTNlOCIgZD0iTTYuNzQgMS40NTEgMy41IDQuMDgzdjUuODM0bDMuMjQgMi42MzJhLjg3NS44NzUgMCAwIDAgMS40MjctLjY3OVYyLjEzYS44NzUuODc1IDAgMCAwLTEuNDI3LS42NzlNMS4xNjcgNC4wODNhLjU4My41ODMgMCAwIDAtLjU4NC41ODR2NC42NjZjMCAuMzIzLjI2MS41ODQuNTg0LjU4NGgxLjE2NlY0LjA4M3pNOS41NSA0Ljc5N2EuNTgzLjU4MyAwIDAgMSAuODIuMDg2Yy40NzQuNTg2Ljc3OCAxLjI2Ni43NzggMi4xMTdzLS4zMDQgMS41MzEtLjc3OCAyLjExN2EuNTgzLjU4MyAwIDAgMS0uOTA3LS43MzRjLjMzNy0uNDE2LjUxOC0uODQ1LjUxOC0xLjM4M3MtLjE4MS0uOTY3LS41MTgtMS4zODNhLjU4My41ODMgMCAwIDEgLjA4Ny0uODIiLz48cGF0aCBmaWxsPSIjNGQ1M2U4IiBkPSJNMTEuNDcyIDIuNjUyYS41ODMuNTgzIDAgMCAwLS43NzguODdBNC42NSA0LjY1IDAgMCAxIDEyLjI1IDdjMCAxLjM4Mi0uNiAyLjYyMy0xLjU1NiAzLjQ3OWEuNTgzLjU4MyAwIDAgMCAuNzc4Ljg2OUE1LjgyIDUuODIgMCAwIDAgMTMuNDE3IDdhNS44MiA1LjgyIDAgMCAwLTEuOTQ1LTQuMzQ4Ii8+PC9zdmc+"},8810:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0ibTcuMDMgMTIuNzA3LTMuODYzLTIuNzlWNC4wODNsMy44NjMtMi43OWEuODc1Ljg3NSAwIDAgMSAxLjM4Ny43MXY5Ljk5NGEuODc1Ljg3NSAwIDAgMS0xLjM4Ny43MU00LjMzMyA5LjMybDIuOTE3IDIuMTA3VjIuNTczTDQuMzM0IDQuNjh6TTEuNDE3IDQuMDgzYS41ODMuNTgzIDAgMCAwLS41ODQuNTg0djQuNjY2YzAgLjMyMy4yNjIuNTg0LjU4NC41ODRIMlY0LjA4M3pNOS44IDQuNzk3YS41ODMuNTgzIDAgMCAxIC44Mi4wODZjLjQ3NC41ODYuNzc4IDEuMjY2Ljc3OCAyLjExN3MtLjMwNCAxLjUzMS0uNzc4IDIuMTE3YS41ODMuNTgzIDAgMSAxLS45MDctLjczNGMuMzM3LS40MTYuNTE5LS44NDUuNTE5LTEuMzgzcy0uMTgyLS45NjctLjUxOS0xLjM4M2EuNTgzLjU4MyAwIDAgMSAuMDg3LS44MiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMS43MjMgMi42NTJhLjU4My41ODMgMCAxIDAtLjc3OS44N0E0LjY1IDQuNjUgMCAwIDEgMTIuNSA3YzAgMS4zODItLjYgMi42MjMtMS41NTYgMy40NzlhLjU4My41ODMgMCAxIDAgLjc3OC44NjlBNS44MiA1LjgyIDAgMCAwIDEzLjY2OCA3YTUuODIgNS44MiAwIDAgMC0xLjk0NC00LjM0OCIvPjwvc3ZnPg=="},73092:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFDMUQyMyIgZD0ibTcuMDMgMTIuNzA3LTMuODYzLTIuNzlWNC4wODNsMy44NjMtMi43OWEuODc1Ljg3NSAwIDAgMSAxLjM4Ny43MXY5Ljk5NGEuODc1Ljg3NSAwIDAgMS0xLjM4Ny43MU00LjMzMyA5LjMybDIuOTE3IDIuMTA3VjIuNTczTDQuMzM0IDQuNjh6TTEuNDE3IDQuMDgzYS41ODMuNTgzIDAgMCAwLS41ODQuNTg0djQuNjY2YzAgLjMyMy4yNjIuNTg0LjU4NC41ODRIMlY0LjA4M3pNOS44IDQuNzk3YS41ODMuNTgzIDAgMCAxIC44Mi4wODZjLjQ3NC41ODYuNzc4IDEuMjY2Ljc3OCAyLjExN3MtLjMwNCAxLjUzMS0uNzc4IDIuMTE3YS41ODMuNTgzIDAgMSAxLS45MDctLjczNGMuMzM3LS40MTYuNTE5LS44NDUuNTE5LTEuMzgzcy0uMTgyLS45NjctLjUxOS0xLjM4M2EuNTgzLjU4MyAwIDAgMSAuMDg3LS44MiIvPjxwYXRoIGZpbGw9IiMxQzFEMjMiIGQ9Ik0xMS43MjMgMi42NTJhLjU4My41ODMgMCAxIDAtLjc3OS44N0E0LjY1IDQuNjUgMCAwIDEgMTIuNSA3YzAgMS4zODItLjYgMi42MjMtMS41NTYgMy40NzlhLjU4My41ODMgMCAxIDAgLjc3OC44NjlBNS44MiA1LjgyIDAgMCAwIDEzLjY2OCA3YTUuODIgNS44MiAwIDAgMC0xLjk0NC00LjM0OCIvPjwvc3ZnPg=="},67405:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzIwMjk0NSIgZmlsbC1vcGFjaXR5PSIuNjIiIGQ9Im03LjAzIDEyLjcwNy0zLjg2My0yLjc5VjQuMDgzbDMuODYzLTIuNzlhLjg3NS44NzUgMCAwIDEgMS4zODcuNzF2OS45OTRhLjg3NS44NzUgMCAwIDEtMS4zODcuNzFNNC4zMzMgOS4zMmwyLjkxNyAyLjEwN1YyLjU3M0w0LjMzNCA0LjY4ek0xLjQxNyA0LjA4M2EuNTgzLjU4MyAwIDAgMC0uNTg0LjU4NHY0LjY2NmMwIC4zMjMuMjYyLjU4NC41ODQuNTg0SDJWNC4wODN6TTkuOCA0Ljc5N2EuNTgzLjU4MyAwIDAgMSAuODIuMDg2Yy40NzQuNTg2Ljc3OCAxLjI2Ni43NzggMi4xMTdzLS4zMDQgMS41MzEtLjc3OCAyLjExN2EuNTgzLjU4MyAwIDEgMS0uOTA3LS43MzRjLjMzNy0uNDE2LjUxOS0uODQ1LjUxOS0xLjM4M3MtLjE4Mi0uOTY3LS41MTktMS4zODNhLjU4My41ODMgMCAwIDEgLjA4Ny0uODIiLz48cGF0aCBmaWxsPSIjMjAyOTQ1IiBmaWxsLW9wYWNpdHk9Ii42MiIgZD0iTTExLjcyMyAyLjY1MmEuNTgzLjU4MyAwIDEgMC0uNzc5Ljg3QTQuNjUgNC42NSAwIDAgMSAxMi41IDdjMCAxLjM4Mi0uNiAyLjYyMy0xLjU1NiAzLjQ3OWEuNTgzLjU4MyAwIDEgMCAuNzc4Ljg2OUE1LjgyIDUuODIgMCAwIDAgMTMuNjY4IDdhNS44MiA1LjgyIDAgMCAwLTEuOTQ0LTQuMzQ4Ii8+PC9zdmc+"},22109:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE5LjMzMyA4LjcyNFYxNy43YS4zLjMgMCAwIDEtLjMuM0g1LjA1OGEuMy4zIDAgMCAxLS4yMTItLjUxMmw0LjI3NS00LjI3NmEuMy4zIDAgMCAxIC40MjUgMGwyLjI4NyAyLjI4OCA2Ljk4OC02Ljk4OGEuMy4zIDAgMCAxIC41MTIuMjEyTTcuMzM0IDEwYTIgMiAwIDEgMCAwLTQgMiAyIDAgMCAwIDAgNCIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTEuMzM0IDRjMC0xLjEuOS0yIDItMmgxOGMxLjEgMCAyIC45IDIgMnYxNmMwIDEuMS0uOSAyLTIgMmgtMThjLTEuMSAwLTItLjktMi0yem0yMCAwaC0xOHYxNmgxOHoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg=="},91947:function(e,t,n){"use strict";e.exports=n.p+"836ebe4738d6a87f1d14.png"},64704:function(e,t,n){"use strict";n("60138"),n("13766")},13766:function(e,t,n){"use strict";n("60138"),n("41362"),n("6107")},60138:function(e,t,n){"use strict";n("98810")},6107:function(e,t,n){"use strict";n("98810"),n("91178")},41362:function(e,t,n){"use strict";n("83015");var r=n("4654"),i=n("3298"),o=n("91178"),a=n("47984"),s=n("53680");function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,o.rC)(a.X,new class e{constructor(){var e,t,n,a;l(this,"globalTrigger",!1),l(this,"lastTriggerTimeMap",{}),l(this,"lastReportTimeMap",{}),l(this,"throttleTime",300),l(this,"reportThrottleTime",(0,o.js)()&&"number"==typeof(null===(t=lynx.__globalProps)||void 0===t?void 0:null===(e=t.queryItems)||void 0===e?void 0:e.ug_report_throttle)?null===(a=lynx.__globalProps)||void 0===a?void 0:null===(n=a.queryItems)||void 0===n?void 0:n.ug_report_throttle:5e3),l(this,"userId",null),l(this,"queueReport",(0,o.tk)(s.z,this.reportThrottleTime)),l(this,"canTriggerByFid",(e,t,n)=>{let r=`${t}_${e}_${n}`,i=this.lastTriggerTimeMap[r],o=Date.now();return(!i||!(o-i<this.throttleTime))&&(this.lastTriggerTimeMap[r]=o,!0)}),l(this,"setThrottleTime",e=>{if(e&&!isNaN(e))this.throttleTime=e;else throw Error("throttleTime蹇呴』涓簄umber")}),l(this,"setTrottleTime",this.setThrottleTime),l(this,"setGlobalTrigger",e=>{this.globalTrigger=e}),l(this,"getGlobalTrigger",()=>this.globalTrigger),l(this,"getUserId",()=>{try{NativeModules.bridge.call("x.getUserInfo",{},e=>{if((null==e?void 0:e.code)===1){var t,n;let r=null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(t=n.userInfo)||void 0===t?void 0:t.userID;this.userId=r}})}catch(e){}}),l(this,"triggerAction",(e,t,n,a)=>{if(!e){var s,l,u;let e=this.getIsTest();this.queueReport({eventName:(null==n?void 0:n.reportLevel)==="fatal"?"fatal_fund_value":"illegal_fund_value",category:{fid:(null==n?void 0:n.fid)||"unknown",name:(null==n?void 0:n.name)||"unknown",value:JSON.stringify(t),deviceId:(0,o.js)()?null===(s=lynx.__globalProps)||void 0===s?void 0:s.deviceId:"",showValue:null==n?void 0:n.defaultValue,isLogin:(0,o.js)()?null===(u=lynx)||void 0===u?void 0:null===(l=u.__globalProps)||void 0===l?void 0:l.isLogin:"",isTest:e,...a||{}},level:0});try{"string"==typeof BUILD_TYPE&&"online"!==BUILD_TYPE&&(0,o.js)()&&lynx.reportError(Error(`璧勯噾瀛楁寮傚父锛岃閲嶇偣鍏虫敞
閰嶇疆瀛楁锛${null==n?void 0:n.fid} ${null==n?void 0:n.name}
鏁板€硷細${JSON.stringify(t)}
鏍¢獙鏉′欢锛${JSON.stringify(null==n?void 0:n.validator,null,2)}`))}catch(e){}}this.canTriggerByFid(e,n.fid,n.customEvent)&&n.customEvent&&(n.customEventStrategy===r.p.ALWARYS||n.customEventStrategy===r.p.ALWAYS||!e)&&i.I.emit(n.customEvent,{value:t,config:n,isValid:e})}),l(this,"triggerReport",(e,t,n,r)=>{!1!==n.consistencyReport&&this.reportConsistency(e,t,n,r)}),l(this,"getIsTest",()=>{if(!(0,o.js)())return!1;let e=lynx.__globalProps||{};return"android"===e.os&&"local_test"===e.channel||"ios"===e.os&&"test"===e.channel}),l(this,"reportConsistency",(e,t,n,r)=>{if(!(0,o.js)())return;let i=`consistency_${null==n?void 0:n.fid}_${e}_${t}`,a=new Date().valueOf(),s=!this.lastReportTimeMap[i],l="";try{"string"==typeof __SCM_RELEASE_ID__&&(l=__SCM_RELEASE_ID__)}catch(e){}if(s){var u,c,d;let o=lynx.__globalProps||{},s=this.getIsTest(),p={rawValue:`${e}`,showValue:`${t}`,deviceId:o.deviceId,domainId:o.aid,rewardType:null==n?void 0:n.type,taskId:null==n?void 0:null===(u=n.consistencyInfo)||void 0===u?void 0:u.taskId,activityId:null==n?void 0:null===(c=n.consistencyInfo)||void 0===c?void 0:c.activityId,scene:null==n?void 0:null===(d=n.consistencyInfo)||void 0===d?void 0:d.scene,config:JSON.stringify(n),fid:null==n?void 0:n.fid,reportTimestamp:new Date().valueOf(),isLogin:o.isLogin,isTest:s,userId:this.userId||"",scmReleaseId:l,...r};this.queueReport({eventName:"consistency_fund_value",category:p,level:s?0:3}),this.lastReportTimeMap[i]=a}}),l(this,"clearTriggerTimeMap",()=>{this.lastTriggerTimeMap={},this.lastReportTimeMap={},this.queueReport.clear()}),(0,o.js)()&&this.getUserId()}})},47984:function(e,t,n){"use strict";n.d(t,{X:function(){return r},e:function(){return i}});let r="__SAFE_FUND_EVENT_POOL__",i="__SAFE_FUND_TRIGGER__"},53680:function(e,t,n){"use strict";n.d(t,{z:function(){return i}}),n("83015");var r=n("91178");function i(e){var t,n,i;if(!(0,r.js)())return;e.category=e.category??{},e.category.card_version=lynx.__cardVersion??"unknown";let o=null===(n=NativeModules)||void 0===n?void 0:null===(t=n.hybridMonitor)||void 0===t?void 0:t.customReport;if("function"==typeof o)try{o({...e,category:Object.keys(e.category??{}).reduce((t,n)=>{var r;let i=null===(r=e.category)||void 0===r?void 0:r[n];return t[n]="string"!=typeof i?JSON.stringify(i):i,t},{js_runtime:(null===(i=SystemInfo)||void 0===i?void 0:i.runtimeType)||""})},t=>{if((null==t?void 0:t.errorCode)===0);else throw Error(`CustomReport Error: ${null==t?void 0:t.errorMessage}, argument: ${JSON.stringify(e)}, rawResponse: ${JSON.stringify(t)}`)})}catch(e){}}},3298:function(e,t,n){"use strict";n.d(t,{I:function(){return a}}),n("50267");var r=n("91178"),i=n("47984");function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let a=(0,r.rC)(i.e,new class e{constructor(){o(this,"events",void 0),o(this,"errorList",{}),o(this,"emit",(e,t)=>{this.trigger(e,t)}),o(this,"on",(e,t,n)=>{var r;this.events.has(e)?null===(r=this.events.get(e))||void 0===r||r.push({handler:t,snapshot:{lastTrigger:0},option:n??{rate:0}}):this.events.set(e,[{option:n??{rate:0},snapshot:{lastTrigger:0},handler:t}])}),o(this,"off",e=>{this.events.has(e)&&this.events.delete(e)}),o(this,"trigger",(e,t)=>{let n=this.events.get(e)??[],{config:r,isValid:i}=t||{};!this.errorList[e]&&(this.errorList[e]=[]);let o=this.errorList[e].findIndex(e=>r.fid===e.fid);i?o>-1&&this.errorList[e].splice(o,1):-1===o&&this.errorList[e].push(r),n.forEach(n=>{let{handler:r,snapshot:i,option:o}=n,{rate:a}=o,{lastTrigger:s}=i;if(0===s)r.call(null,t,this.errorList[e]),i.lastTrigger=new Date().valueOf();else{if("forever"===a)return;new Date().valueOf()-s>=a&&(r.call(null,t,this.errorList[e]),i.lastTrigger=new Date().valueOf())}}),this.events.set(e,n)}),o(this,"clear",()=>{this.events=new Map}),o(this,"clearErrorList",()=>{this.errorList={}}),this.events=new Map}})},91178:function(e,t,n){"use strict";n.d(t,{js:function(){return r},rC:function(){return o},tk:function(){return s}}),n("50267");let r=()=>"object"==typeof lynx,i=()=>"object"==typeof window,o=(e,t)=>r()?(lynx[e]=lynx[e]||t,lynx[e]):i()?(window[e]=window[e]||t,window[e]):t,a=e=>new Promise(t=>setTimeout(t,e)),s=(e,t)=>{let n=[],r=!1,i=async()=>{if(0!==n.length){r=!0;try{let e=n.shift();"function"==typeof e&&e()}catch(e){}await a(t),i(),r=!1}};function o(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];n.push(e.bind(this,...o)),!1===r&&i()}return o.clear=()=>{n=[],r=!1},o}},3061:function(e,t,n){"use strict";var r,i;n.d(t,{p:function(){return r}}),(i=r||(r={})).ALWARYS="ALWARYS",i.ON_ERROR="ON_ERROR",i.ALWAYS="ALWAYS"},4654:function(e,t,n){"use strict";n.d(t,{p:function(){return r.p}});var r=n("3061")},26071:function(e,t,n){"use strict";var r=n("11361"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...t.headers,...e.headers,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:n})}})},83411:function(e,t,n){"use strict";n.d(t,{b:function(){return i.be}});var r=n("24833"),i=n("12899");r.FN.config({top:80}),i.be.interceptors.response.use(e=>e.data,e=>{throw(0,i.k0)(e)&&e.msg&&!e.config.__disableErrorToast&&r.FN.error({content:e.msg,showClose:!1}),e})},42783:function(e,t,n){"use strict";var r=n("45473"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},2109:function(e,t,n){"use strict";var r=n("66397"),i=n("83411");new r.Co({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},63103:function(e,t,n){"use strict";var r=n("33627"),i=n("83411");new r.Co({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...t.headers,...e.headers,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:n})}})},31940:function(e,t,n){"use strict";var r=n("58992"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},26402:function(e,t,n){"use strict";var r=n("48882"),i=n("83411");new r.Co({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{headers:n}=t,r={...n,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:r})}})},14854:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});var r=n("58883"),i=n("83411");let o=new r.ZPm({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},61636:function(e,t,n){"use strict";var r=n("50961"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},91517:function(e,t,n){"use strict";var r=n("22959"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...t.headers,...e.headers,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:n})}})},35788:function(e,t,n){"use strict";var r=n("60426"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},4408:function(e,t,n){"use strict";var r=n("18733"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{"Agw-Js-Conv":"str"}})}})},39653:function(e,t,n){"use strict";var r=n("32383"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{headers:n}=t,r={...n,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:r})}})},60790:function(e,t,n){"use strict";var r=n("42481"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},92356:function(e,t,n){"use strict";var r=n("83190"),i=n("83411");new r.Z({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},11361:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("30434")},66397:function(e,t,n){"use strict";n.d(t,{Co:function(){return r.Co}});var r=n("57659")},33627:function(e,t,n){"use strict";n.d(t,{Co:function(){return r.Co}});var r=n("67268")},58992:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("352")},48882:function(e,t,n){"use strict";n.d(t,{Co:function(){return r.Co}});var r=n("31828")},58883:function(e,t,n){"use strict";n.d(t,{ZPm:function(){return r.ZPm}});var r=n("83321");n("1656")},50961:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("23951")},22959:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("41655")},60426:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("49058")},18733:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("61096")},32383:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("36673")},42481:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("5206")},83190:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Z}});var r=n("36455")},3609:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("46139")},31895:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("57924")},29856:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("15140")},2126:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("98796")},83244:function(e,t,n){"use strict";n.d(t,{Co:function(){return r.Co}});var r=n("7394")},71837:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("73850")},58294:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("32543")},3826:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("78733")},17855:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("60003")},9122:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("70789")},21741:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("56812")},40329:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Z}});var r=n("13090")},53589:function(e,t,n){"use strict";n.d(t,{ZPm:function(){return r.ZPm}});var r=n("38852")},58986:function(e,t,n){"use strict";n.d(t,{ZPm:function(){return r.ZPm}});var r=n("2687")},97957:function(e,t,n){"use strict";n("76240")},66225:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("17501")},51351:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("22813")},93401:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("92140")},72194:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("38906")},35988:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("15822")},74189:function(e,t,n){"use strict";n.d(t,{Co:function(){return r.Co}});var r=n("30346")},41165:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r.ZP}});var r=n("89588")},17423:function(e,t,n){"use strict";var r=n("3609"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},52707:function(e,t,n){"use strict";n.d(t,{OH:function(){return o.O},nA:function(){return r.n},pr:function(){return i.p}}),n("58883"),n("53589"),n("29856"),n("97957");var r=n("14854"),i=n("59914");n("71807"),n("96923"),n("15493"),n("91517"),n("4408");var o=n("94205");n("39653"),n("26275"),n("63103"),n("26071"),n("33231"),n("29290"),n("66576"),n("73665"),n("2109"),n("17423"),n("35788"),n("94441"),n("26402"),n("31940"),n("49506"),n("3961"),n("60790"),n("8398"),n("67163"),n("61636"),n("92356"),n("8080"),n("12899"),n("33627"),n("16604"),n("42783"),n("13673"),n("32342"),n("37981")},32342:function(e,t,n){"use strict";var r=n("31895"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},67163:function(e,t,n){"use strict";var r=n("29856"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{headers:n}=t,r={...n,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:r})}})},94441:function(e,t,n){"use strict";var r=n("2126"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},15493:function(e,t,n){"use strict";var r=n("83244"),i=n("83411");new r.Co({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{headers:n}=t,r={...n,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:r})}})},37981:function(e,t,n){"use strict";var r=n("71837"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},96923:function(e,t,n){"use strict";var r=n("58294"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},29290:function(e,t,n){"use strict";var r=n("3826"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},3961:function(e,t,n){"use strict";var r=n("17855"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{"Agw-Js-Conv":"str"}})}})},8398:function(e,t,n){"use strict";var r=n("9122"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},66576:function(e,t,n){"use strict";var r=n("21741"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},16604:function(e,t,n){"use strict";var r=n("40329"),i=n("83411");new r.Z({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},59914:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n("53589"),i=n("83411");let o=new r.ZPm({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},26275:function(e,t,n){"use strict";var r=n("58986"),i=n("83411");new r.ZPm({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},71807:function(e,t,n){"use strict";var r=n("49569"),i=n("66225"),o=n("83411");new i.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.paramsSerializer=t.paramsSerializer||(e=>r.Z.stringify(e,{arrayFormat:"comma"})),t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),o.b.request({...e,...t})}})},13673:function(e,t,n){"use strict";var r=n("51351"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},8080:function(e,t,n){"use strict";var r=n("93401"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...{...t,headers:Object.assign(t.headers||{},{"Agw-Js-Conv":"str"})}})}})},73665:function(e,t,n){"use strict";var r=n("72194"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t,headers:{...e.headers,...t.headers,"Agw-Js-Conv":"str"}})}})},33231:function(e,t,n){"use strict";var r=n("35988"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...t.headers,...e.headers,"Agw-Js-Conv":"str"};return i.b.request({...e,...t,headers:n})}})},94205:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n("74189"),i=n("83411");let o=new r.Co({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.headers=Object.assign(t.headers||{},{"Agw-Js-Conv":"str"}),i.b.request({...e,...t})}})},49506:function(e,t,n){"use strict";var r=n("41165"),i=n("83411");new r.ZP({request:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.b.request({...e,...t})}})},22133:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});let r=new class e{get isPPE(){var e,t,n;return IS_PROD&&(null===(e=window.gfdatav1)||void 0===e?void 0:e.canary)!==0&&(null===(n=window.gfdatav1)||void 0===n?void 0:null===(t=n.extra)||void 0===t?void 0:t.canaryType)!==3}}},36724:function(e,t,n){"use strict";n("83015"),n("39473");var r=n("10964");n("12899"),n("36965"),n("3601"),n("18548"),r.kg.createLoggerWith({ctx:{namespace:"bot-error",scope:"certain-error"}})},18548:function(){"use strict";var e,t;(t=e||(e={})).ChunkLoadError="chunk_load_error",t.Unhandledrejection="unhandledrejection",t.GlobalErrorBoundary="global_error_boundary",t.NotInstanceError="notInstanceError",t.CustomErrorReport="custom_error_report"},3601:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{K:function(){return o},s:function(){return i}}),n("83015");class i extends Error{constructor(e,t){super(t),r(this,"eventName",void 0),r(this,"msg",void 0),this.eventName=e,this.msg=t,this.name="CustomError"}}let o=e=>e instanceof i||(null==e?void 0:e.name)==="CustomError"},70938:function(e,t,n){"use strict";n.d(t,{sH:function(){return r.s}});var r=n("3601");n("44523"),n("6512")},36965:function(e,t,n){"use strict";n.d(t,{db:function(){return a}});let r=e=>"ChunkLoadError"===e.name,i=e=>{var t;return null===(t=e.message)||void 0===t?void 0:t.startsWith("Loading chunk")},o=e=>{var t;return null===(t=e.message)||void 0===t?void 0:t.startsWith("Loading CSS chunk")},a=e=>r(e)||i(e)||o(e)},44523:function(e,t,n){"use strict";n("11532");var r=n("10964");n("18548"),n("36724"),r.kg.createLoggerWith({ctx:{namespace:"bot-error",scope:"use-error-catch"}})},6512:function(e,t,n){"use strict";n("83015"),n("11532");var r=n("10964");n("3601"),n("18548"),n("36724"),r.kg.createLoggerWith({ctx:{namespace:"bot-global-error"}})},87355:function(e,t,n){"use strict";n.d(t,{A2:function(){return i},Ol:function(){return r},Sl:function(){return s},TQ:function(){return a},vn:function(){return o}});let r="obric/cloud/developer_admin_web",i="bytegate.byteintlapi.com",o="BotStudio",a=!1,s="@flow-arch/flags"},87562:function(e,t,n){"use strict";n.d(t,{C:function(){return g}}),n("50267"),n("83015"),n("98810");var r=n("10964"),i=n("27404"),o=n("31820"),a=n("85113"),s=n("77278"),l=n("82695"),u=n("41212"),c=n("97606"),d=n("87355");let p=5*i.Pb,h=e=>{try{let e=(0,l.k)();if(e)return(0,u.c)(e),{values:e,source:"static_context"}}catch(e){r.kg.persist.error({namespace:d.Sl,message:e.message,error:e})}let{timeout:t,strict:n,...a}=e,s=Math.min(t,i.Pb),p=[],h=i.Dc.bind(null,s+i.Pb);return p.push(async()=>{try{let e=await (0,c.I)(a);if((0,o.K)(e))return(0,u.c)(e),{values:e,source:"remote"};await h()}catch(e){r.kg.persist.error({namespace:d.Sl,message:"Fetch fg from bytegate failure",error:e}),await h()}}),p.push(async()=>{try{let e=await (0,l.n)();if(e&&(0,o.K)(e))return(0,u.c)(e),{values:e,source:"context"};r.kg.persist.info({namespace:d.Sl,message:"Can't not read fg from global context"}),await h()}catch(e){r.kg.persist.error({namespace:d.Sl,message:"Fetch fg from context failure",error:e}),await h()}}),p.push(async()=>{try{let e=await (0,u.O)();if(e)return await (0,i.Dc)(s-17),{values:e,source:"persist"};await h()}catch(e){r.kg.persist.error({namespace:d.Sl,message:"Fetch fg from persist cache failure",error:e}),await h()}}),p.push(async()=>{if(await (0,i.Dc)(s+17),n)throw Error("Fetch Feature Flags timeout, please contact to bytegate team for help.");return{values:{},source:"bailout"}}),Promise.race(p.map(e=>e()))},f=e=>{let t=e||{};return Object.assign({timeout:2e3,domain:d.A2,strict:!1,pollingInterval:p,env:"ONLINE",region:"I18N"},Object.keys(t).filter(e=>void 0!==t[e]).reduce((e,n)=>({...e,[n]:t[n]}),{}))},g=async e=>{let t=s.E.tracer({eventName:"load-fg"}),n=f(e),{strict:o,pollingInterval:l}=n;t.trace("start");let u=performance.now(),c=async()=>{await (0,i.Dc)(l),await g(e)};try{let{values:e,source:i}=await h(n);r.kg.persist.success({namespace:d.Sl,message:`Load FG from ${i} start at ${u}ms and spend ${performance.now()-u}ms`}),t.trace("finish"),a.l.setFlags(e),["bailout","persist"].includes(i)&&await c()}catch(e){if(r.kg.persist.error({namespace:d.Sl,message:"Failure to load FG",error:e}),o)throw e;a.l.setFlags({}),await c()}}},97606:function(e,t,n){"use strict";n.d(t,{I:function(){return i}}),n("98810"),n("83015");var r=n("87355");let i=async(e,t)=>{let{region:n,env:i,scm:o=r.Ol,domain:a,customVersion:s,protocol:l="https"}=e,u={region:n,env:i,scm:o,is_header_added:!0,workspace_name:r.vn};s&&["release","inhouse"].includes(s)&&(u.custom={custom_version:s});let c=await fetch(`${l}://${a}/api/v1/workspace/feature_gates/values`,{method:"POST",headers:{"Content-Type":"application/json",...t||{}},body:JSON.stringify(u)});if(c.status>=400){let e=await c.text();throw Error(`Failure to read FG value:
[${c.status}] ${e}`)}let d=await c.json();if(0!==d.code)throw Error(`${d.msg}`);return d.data}},41212:function(e,t,n){"use strict";n.d(t,{O:function(){return l},c:function(){return u}});var r=n("10964"),i=n("87355"),o=n("27404");let a="cache:@flow-infra/bot-flags",s=e=>"object"==typeof e&&!1===Object.keys(e).some(t=>"boolean"!=typeof e[t]),l=async()=>{await Promise.resolve(void 0);let e=window.localStorage.getItem(a);if(e)try{let t=JSON.parse(e);if(s(t))return t;return}catch(e){return}},u=async e=>{await (0,o.Y3)();try{if(s(e)){let t=JSON.stringify(e);window.localStorage.setItem(a,t)}}catch(e){r.kg.persist.error({namespace:i.Sl,message:"save fg failure",error:e})}}},82695:function(e,t,n){"use strict";n.d(t,{k:function(){return i},n:function(){return r}});let r=async()=>{let{__fetch_fg_promise__:e}=window;if(e)return(await e).data},i=()=>{let{__fg_values__:e}=window;if(e&&Object.keys(e).length>0)return e}},77278:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n("10964"),i=n("87355");let o=r.E7.createReporterWithPreset({namespace:i.Sl})},85113:function(e,t,n){"use strict";n.d(t,{l:function(){return b}}),n("83015"),n("30818"),n("50267"),n("23642");var r=n("12045"),i=n("10964"),o=n("87355"),a=n("31820");function s(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function u(e,t){var n,r,i=l(e,t,"get");return n=e,(r=i).get?r.get.call(n):r.value}function c(e,t,n){s(e,t),t.set(e,n)}function d(e,t,n){var r=l(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}var p=new WeakMap,h=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakSet;class _ extends r.Z{get inited(){return u(this,f)}setFlags(e){let t=u(this,h);return!(0,a.X)(t,e)&&(d(this,h,e),d(this,f,!0),this.notify(e),!0)}notify(e){this.emit("change",e)}getFlags(){if(!u(this,f)){let e=Error("Trying access feature flag values before the storage been init.");if(i.kg.persist.error({namespace:"@flow-infra/bot-flags",error:e}),o.TQ)throw e}return u(this,p)}clear(){d(this,h,void 0),d(this,f,!1)}use(e){if("function"==typeof e)u(this,g).unshift(e);else throw Error("Unexpected retrieve func")}getPureFlags(){return u(this,h)}constructor(){var e,t;super(),e=this,s(e,t=m),t.add(e),c(this,p,{writable:!0,value:void 0}),c(this,h,{writable:!0,value:void 0}),c(this,f,{writable:!0,value:!1}),c(this,g,{writable:!0,value:[]}),u(this,g).push(e=>{let t=u(this,h);return!!t&&(Reflect.has(t,e)?Reflect.get(t,e):void 0)}),d(this,p,new Proxy(Object.create(null),{get:(e,t)=>{let n=u(this,h);switch(t){case"keys":return"object"==typeof n?Reflect.ownKeys(n):[];case"isInited":return u(this,f);default:return(function(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n})(this,m,v).call(this,t)}},set(){throw Error("Do not set flag value anytime anyway.")}}))}}function v(e){for(let t of u(this,g)){let n=t(e);if("boolean"==typeof n)return n}return!1}let b=new _},31820:function(e,t,n){"use strict";n.d(t,{K:function(){return r},X:function(){return i}});let r=e=>"object"==typeof e,i=(e,t)=>{if(!r(e)||!r(t))return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(!(n in t)||e[n]!==t[n])return!1;return!0}},27404:function(e,t,n){"use strict";n.d(t,{Dc:function(){return i},Pb:function(){return r},Y3:function(){return o}});let r=1e3,i=e=>new Promise(t=>{setTimeout(t,e)}),o=()=>new Promise(e=>requestAnimationFrame(e))},60827:function(e,t,n){"use strict";n.d(t,{$V:function(){return c},MS:function(){return l},k0:function(){return u},qz:function(){return i}});var r,i,o=n("39473"),a=n("10964");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(r=i||(i={})).NetworkError="flow-infra-network-error",r.ApiError="flow-infra-api-error";class l extends o.d7{constructor(e,t,n,r={}){let{hasShowedError:i=!1}=r;super(t,e,n.config,n.request,n),s(this,"code",void 0),s(this,"msg",void 0),s(this,"hasShowedError",void 0),s(this,"raw",void 0),s(this,"type",void 0),this.code=e,this.msg=t,this.name="ApiError",this.type="Api Response Error",this.hasShowedError=i,this.raw=n.data}}let u=e=>e instanceof l,c=(e,t)=>{try{let{response:n,config:r}=t,{code:i="",msg:o="",message:s}=null==n?void 0:n.data,{status:l,headers:u}=n||{},{method:c,url:d}=r||{},p=null==u?void 0:u["x-tt-logid"],h=String(i);a.kg.persist.error({eventName:e,error:t,meta:{message:t.message,name:t.name,httpStatusCode:String(l),httpMethod:c,urlPath:d,logId:p,customErrorCode:h,customErrorMsg:s??o}})}catch(e){a.kg.persist.error({error:e,message:t.message})}}},79694:function(e,t,n){"use strict";n.d(t,{be:function(){return d}}),n("98810");var r,i,o=n("18783"),a=n("39473"),s=n("18234"),l=n("10964"),u=n("74916"),c=n("60827");(i=r||(r={}))[i.NOT_LOGIN=700012006]="NOT_LOGIN",i[i.COUNTRY_RESTRICTED=700012015]="COUNTRY_RESTRICTED",i[i.COZE_TOKEN_INSUFFICIENT=702082020]="COZE_TOKEN_INSUFFICIENT",i[i.COZE_TOKEN_INSUFFICIENT_WORKFLOW=702095072]="COZE_TOKEN_INSUFFICIENT_WORKFLOW";let d=o.Z.create(),p={response:new Set};d.interceptors.response.use(e=>{l.kg.info({namespace:"api",scope:"response",message:"----",meta:{response:e}});let{data:t={}}=e,{code:n,msg:r,message:i}=t;if(0!==n){let t=new c.MS(String(n),i??r,e);switch(n){case 700012006:t.config.__disableErrorToast=!0,(0,u.Dt)(u.wE.UNAUTHORIZED,t);break;case 700012015:t.config.__disableErrorToast=!0,(0,u.Dt)(u.wE.COUNTRY_RESTRICTED,t);break;case 702082020:case 702095072:t.config.__disableErrorToast=!0,(0,u.Dt)(u.wE.COZE_TOKEN_INSUFFICIENT,t)}return(0,c.$V)(c.qz.ApiError,t),Promise.reject(t)}let o=e;for(let e of p.response)o=e(o);return o},e=>{if((0,a.IZ)(e)){var t,n;if((0,c.$V)(c.qz.NetworkError,e),(null===(t=e.response)||void 0===t?void 0:t.status)===401&&"object"==typeof e.response.data){let t=e.response.data,r=null==t?void 0:null===(n=t.data)||void 0===n?void 0:n.redirect_uri;r&&(0,s.uX)(r)}}return Promise.reject(e)}),d.interceptors.request.use(e=>{var t;return e.headers.set("x-requested-with","XMLHttpRequest"),["post","get"].includes((null===(t=e.method)||void 0===t?void 0:t.toLowerCase())??"")&&!e.headers.get("content-type")&&(e.headers.set("content-type","application/json"),!e.data&&(e.data={})),e})},74916:function(e,t,n){"use strict";n.d(t,{Dt:function(){return s},wE:function(){return i}});var r,i,o=n("18234");(r=i||(i={})).UNAUTHORIZED="unauthorized",r.NOACCESS="noAccess",r.SHARK_BLOCK="sharkBlocked",r.COUNTRY_RESTRICTED="countryRestricted",r.COZE_TOKEN_INSUFFICIENT="cozeTokenInsufficient";let a=()=>o.H$.create("bot-http"),s=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a().emit(e,...n)}},12899:function(e,t,n){"use strict";n.d(t,{be:function(){return r.be},k0:function(){return i.k0}}),n("74916");var r=n("79694"),i=n("60827")},73887:function(e,t,n){"use strict";n("76873")},68481:function(){},48286:function(e,t,n){"use strict";n("83015"),n("332"),n("10964");let r=(e,t)=>`${e}/${t}`,i=new Map},98010:function(e,t,n){"use strict";var r=n("22380"),i=n.n(r),o=n("22792"),a=n.n(o),s=n("99996"),l=n.n(s),u=n("26025"),c=n.n(u);c().extend(i()),c().extend(a()),c().extend(l())},99704:function(e,t,n){"use strict";n("50267");var r,i,o,a,s=n("12045");(a=r||(r={})).DATA_MEMORY_BLOCK_OPEN="dataMemoryBlockOpen",a.TABLE_MEMORY_BLOCK_OPEN="tableMemoryBlockOpen",a.DATA_SET_BLOCK_OPEN="dataSetBlockOpen",a.TIME_CAPSULE_BLOCK_OPEN="timeCapsuleBlockOpen",a.ONBORDING_MESSAGE_BLOCK_OPEN="onbordingMessageBlockOpen",a.PLUGIN_API_BLOCK_OPEN="pluginApiBlockOpen",a.WORKFLOW_BLOCK_OPEN="workflowBlockOpen",a.IMAGEFLOW_BLOCK_OPEN="imageBlockOpen",a.TASK_MANAGE_OPEN="taskManageOpen",a.SUGGESTION_BLOCK_OPEN="suggestionBlockOpen",a.TTS_BLOCK_OPEN="TTSBlockOpen",a.FILEBOX_OPEN="FileboxOpen",a.BACKGROUND_IMAGE_BLOCK="BackgroundImageOpen",(i||(i={})).PLUGIN_API_MODAL_OPEN="pluginApiModalOpen",(o||(o={})).DELETE_VARIABLE="deleteVariable",new s.Z},60930:function(e,t,n){"use strict";n("17099")},81090:function(e,t,n){"use strict";n("49569")},12950:function(e,t,n){"use strict";n("83015")},14229:function(e,t,n){"use strict";n.d(t,{f5:function(){return r.f}}),n("73887");var r=n("76873");n("5360"),n("31815"),n("89968"),n("54869"),n("81280"),n("98010"),n("72927"),n("20587"),n("99704"),n("60930"),n("12921"),n("81090"),n("72529"),n("48286"),n("68481"),n("27577")},27577:function(e,t,n){"use strict";var r=n("95598"),i=n("87562");(0,r.Z)(()=>{let e=IS_OVERSEA_RELEASE?void 0:"bytegate.zijieapi.com",t=CUSTOM_VERSION;return(0,i.C)({region:"CN",env:"ONLINE",domain:e,customVersion:t})})},89968:function(e,t,n){"use strict";var r,i,o=n("18234"),a=n("64037"),s=n("10964"),l=n("70938");function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=e=>(null==e?void 0:e.has_suggest)==="1";(r=i||(i={}))[r.socket=0]="socket",r[r.httpChunk=1]="httpChunk";new class e{getLogID(){return{log_id:o.xk.LAST_EXECUTE_ID}}getMetaCtx(){return{bot_id:this.botID,from:this.from,...this.getLogID()}}_clearTimeout(){this._timer&&(clearTimeout(this._timer),this._timer=void 0)}interrupt(){this._clearTimeout(),(this._receivingMessages||this._receivingSuggests)&&(this._receiveTotalMessagesEvent.success(),this._receivingMessages&&this.receiveMessageEvent.success(),this._receivingSuggests&&this.messageReceiveSuggestsEvent.success())}start(e,t){this.botID=e,this.from=t}constructor(){var e=this;u(this,"botID",""),u(this,"from",0),u(this,"_timer",void 0),u(this,"_receivingMessages",!1),u(this,"_receivingSuggests",!1),u(this,"_hasReceiveFirstChunk",!1),u(this,"_hasReceiveFirstSuggestChunk",!1),u(this,"_messageTotalContent",0),u(this,"_executeDraftBotEvent",void 0),u(this,"_receiveMessagesEvent",void 0),u(this,"_messageReceiveSuggestsEvent",void 0),u(this,"_receiveTotalMessagesReportEvent",void 0),u(this,"_createExecuteDraftBotEvent",()=>(0,a.z)({eventName:a.b.botDebugMessageSubmit,meta:this.getMetaCtx()})),u(this,"_createReceiveMessagesEvent",()=>(0,a.z)({eventName:a.b.receiveMessage,meta:this.getMetaCtx()})),u(this,"_createMessageReceiveSuggestsEvent",()=>(0,a.z)({eventName:a.b.messageReceiveSuggests,meta:this.getMetaCtx()})),u(this,"_createReceiveTotalMessagesEvent",()=>(0,a.z)({eventName:a.b.receiveTotalMessages,meta:this.getMetaCtx()})),u(this,"_receiveMessagesEventGate",()=>this._receivingMessages),u(this,"_messageReceiveSuggestsEventGate",()=>this._receivingSuggests),u(this,"_receiveTotalMessagesEvent",{start:()=>{this._receiveTotalMessagesReportEvent=this._createReceiveTotalMessagesEvent()},error:e=>{var t,n;null===(t=this._receiveTotalMessagesReportEvent)||void 0===t||t.addDurationPoint("failed"),null===(n=this._receiveTotalMessagesReportEvent)||void 0===n||n.error({reason:e})},success:function(){var t,n;let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null===(t=e._receiveTotalMessagesReportEvent)||void 0===t||t.addDurationPoint("success"),null===(n=e._receiveTotalMessagesReportEvent)||void 0===n||n.success({meta:{reply_has_finished:r}})},finish:()=>{var e;null===(e=this._receiveTotalMessagesEvent)||void 0===e||e.success(!0)}}),u(this,"messageReceiveSuggestsEvent",{start:()=>{this._messageReceiveSuggestsEvent=this._createMessageReceiveSuggestsEvent(),this._receivingSuggests=!0,this._hasReceiveFirstSuggestChunk=!1},receiveSuggest:()=>{if(this._messageReceiveSuggestsEventGate()&&!this._hasReceiveFirstSuggestChunk){var e;null===(e=this._messageReceiveSuggestsEvent)||void 0===e||e.addDurationPoint("first"),this._hasReceiveFirstSuggestChunk=!0}},success:()=>{var e,t;this._messageReceiveSuggestsEventGate()&&(null===(e=this._messageReceiveSuggestsEvent)||void 0===e||e.addDurationPoint("success"),null===(t=this._messageReceiveSuggestsEvent)||void 0===t||t.success({meta:{reply_has_finished:!this._receivingSuggests}}),this._receivingSuggests=!1)},finish:()=>{this._messageReceiveSuggestsEventGate()&&(this.messageReceiveSuggestsEvent.success(),this._receiveTotalMessagesEvent.finish())},error:e=>{var t,n;let{error:r,reason:i}=e;this._messageReceiveSuggestsEventGate()&&(null===(t=this._messageReceiveSuggestsEvent)||void 0===t||t.addDurationPoint("failed"),null===(n=this._messageReceiveSuggestsEvent)||void 0===n||n.error({error:r,reason:i}),this._receivingSuggests=!1)}}),u(this,"receiveMessageEvent",{error:()=>{var e,t;if(this._receiveMessagesEventGate()){if(null===(e=this._receiveMessagesEvent)||void 0===e||e.addDurationPoint("failed"),0===this.from&&!this._hasReceiveFirstChunk){let e="no message received for more than 120000 seconds";null===(t=this._receiveMessagesEvent)||void 0===t||t.error({reason:e}),this._receiveTotalMessagesEvent.error(e)}this._receivingMessages=!1}},success:function(){var t,n;let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e._receiveMessagesEventGate()&&(null===(t=e._receiveMessagesEvent)||void 0===t||t.addDurationPoint("success"),null===(n=e._receiveMessagesEvent)||void 0===n||n.success({meta:{content_length:e._messageTotalContent,reply_has_finished:r}}),e._receivingMessages=!1)},start:()=>{this._receiveMessagesEvent=this._createReceiveMessagesEvent(),this._receivingMessages=!0,this._hasReceiveFirstChunk=!1,this._messageTotalContent=0,this._timer=setTimeout(this.receiveMessageEvent.error,12e4)},receiveMessage:e=>{var t,n;if(!!this._receiveMessagesEventGate())!e.content&&s.E7.errorEvent({eventName:a.b.emptyReceiveMessage,error:new l.sH(a.b.emptyReceiveMessage,e.content||"empty content")}),this._messageTotalContent+=(null===(t=e.content)||void 0===t?void 0:t.length)??0,!this._hasReceiveFirstChunk&&(this._clearTimeout(),null===(n=this._receiveMessagesEvent)||void 0===n||n.addDurationPoint("first"),this._hasReceiveFirstChunk=!0)},finish:e=>{this._receiveMessagesEventGate()&&(this.receiveMessageEvent.success(!0),"ext"in e&&c(e.ext)?this.messageReceiveSuggestsEvent.start():this._receiveTotalMessagesEvent.finish())}}),u(this,"executeDraftBotEvent",{start:()=>{this._executeDraftBotEvent=this._createExecuteDraftBotEvent(),this.interrupt()},success:()=>{var e,t;null===(e=this._executeDraftBotEvent)||void 0===e||e.addDurationPoint("finish"),null===(t=this._executeDraftBotEvent)||void 0===t||t.success({meta:{...this.getLogID()}}),this._receiveTotalMessagesEvent.start(),this.receiveMessageEvent.start()},error:e=>{var t;let{error:n,reason:r}=e;null===(t=this._executeDraftBotEvent)||void 0===t||t.error({error:n,reason:r,meta:{...this.getLogID()}})}})}}},72529:function(e,t,n){"use strict";n("98810");var r=n("78566");n.n(r)().getParser(window.navigator.userAgent)},85371:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r,i,o,a,s=n("12045");function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(r=o||(o={})).REQUEST="request",r.RESPONSE="response",(i=a||(a={}))[i.TIMEOUT=-1]="TIMEOUT",i[i.UNKNOWN=-2]="UNKNOWN";class u{destory(){this.onMessageFunc&&window.removeEventListener("message",this.onMessageFunc),this.eventEmitter.removeAllListeners()}async send(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,r=this.syncEventId++,i={syncNo:r,type:"request",senderName:this.senderName,toName:this.toName,eventName:e,requestData:t};return this.channelPort.postMessage(i,this.targetOrigin),await this.awaitRespond(r,n)}onRequest(e,t){let n=async n=>{let r=n.data,i=await t(r.requestData),o={syncNo:r.syncNo,type:"response",toName:r.senderName||"",senderName:this.senderName,eventName:e,respondData:i};n.source?n.source.postMessage(o,n.origin):this.channelPort.postMessage(o,this.targetOrigin)};return this.eventEmitter.on(`request_${e}`,n),()=>{this.eventEmitter.off(`request_${e}`,n)}}initListner(){this.onMessageFunc=e=>{let t=e.data;"response"===t.type&&this.senderName===t.toName?this.eventEmitter.emit(`response_${t.syncNo}`,t):"request"===t.type&&(!t.toName||this.senderName===t.toName)&&this.eventEmitter.emit(`request_${t.eventName}`,e)},window.addEventListener("message",this.onMessageFunc)}awaitRespond(e,t){let n=`response_${e}`;return new Promise(e=>{let r=setTimeout(()=>{this.eventEmitter.emit(n,{respondData:{code:-1,message:"timeout"}})},t);this.eventEmitter.once(n,t=>{clearTimeout(r),e(t.respondData||{code:-2,message:"unknow error"})})})}constructor({channelPort:e,senderName:t,toName:n,targetOrigin:r="*"}){l(this,"eventEmitter",new s.Z),l(this,"syncEventId",Math.ceil(1e4*Math.random())),l(this,"senderName",""),l(this,"toName",""),l(this,"targetOrigin",""),l(this,"channelPort",void 0),l(this,"onMessageFunc",void 0),this.channelPort=e,this.senderName=t,this.toName=n,this.targetOrigin=r,this.initListner()}}},31815:function(e,t,n){"use strict";n("54392");Date.now()},81280:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Small=1280]="Small",n[n.Medium=1400]="Medium",n[n.Large=1600]="Large",n[n.Default=1300]="Default",(r=t||(t={}))[r.Small=76]="Small",r[r.Medium=136]="Medium",r[r.Large=160]="Large",r[r.Default=80]="Default"},76873:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n("64037"),i=n("10964");let o=e=>{if("object"==typeof e)return e;try{return JSON.parse(String(e))}catch(e){i.E7.errorEvent({error:e,eventName:r.b.parseJSON})}}},12921:function(){},20587:function(e,t,n){"use strict";n("83015"),n("50267"),n("52707"),n("12950")},5360:function(e,t,n){"use strict";n("83015"),n("49336"),n("52707")},54869:function(e,t,n){"use strict";n("49569")},72927:function(e,t,n){"use strict";n("49569"),n("76873")},30434:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("20893"),n("35543"),n("85663"),n("58637");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetPackage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/package/get"),i={package_name:n.package_name,version_name:n.version_name,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}GetPackageList(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/package/list"),i={package_name:n.package_name,version_name:n.version_name,page:n.page,size:n.size,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}DeletePackage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/package/delete"),i={package_name:n.package_name,version_name:n.version_name,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}CreatePackage(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/package/create"),r={package_name:e.package_name,space_id:e.space_id,bot_id:e.bot_id,version_name:e.version_name,meta_title:e.meta_title,meta_desc:e.meta_desc,meta_contains:e.meta_contains,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/get"),i={agent_app_id:n.agent_app_id,space_id:n.space_id,bot_id:n.bot_id,version_name:n.version_name,app_id:n.app_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}CreateAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/create"),i={agent_app_name:n.agent_app_name,icon:n.icon,type_source_app_id:n.type_source_app_id,space_id:n.space_id,bot_id:n.bot_id,AppID:n.AppID,SandboxID:n.SandboxID,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetAgentAppPublishList(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/publish/list"),i={publish_id:n.publish_id,agent_app_id:n.agent_app_id,agent_app_name:n.agent_app_name,bot_id:n.bot_id,space_id:n.space_id,page:n.page,size:n.size,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}UpdateAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/update"),i={agent_app_id:n.agent_app_id,agent_app_name:n.agent_app_name,icon:n.icon,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublishAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/publish/create"),i={agent_app_id:n.agent_app_id,agent_app_name:n.agent_app_name,remark:n.remark,version_name:n.version_name,page_ids:n.page_ids,to_doubao:n.to_doubao,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}PreviewAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/preview"),i={Base:n.Base},o={agent_app_id:n.agent_app_id},a={"use-builder-psm":n["use-builder-psm"],"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,params:o,headers:a},t)}AgentAppBuilderProxy(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/proxy"),i={Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}BatchGetPackage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/package/batch_get"),i={Base:n.Base},o={query:n.query},a={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,params:o,headers:a},t)}AIGenerateContent(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/ai_generate_content"),i={scene:n.scene,user_id:n.user_id,string_variables:n.string_variables,message_variables:n.message_variables,Base:n.Base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GenAgentApp(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/gen_agent_app"),i={bot_id:n.bot_id,sandbox:n.sandbox,name:n.name,user_id:n.user_id,agent_type:n.agent_type,Base:n.Base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}UpdateAgentBot(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/update_agent_bot"),i={bot_id:n.bot_id,bot_workflow_list:n.bot_workflow_list,system_prompt:n.system_prompt,user_id:n.user_id,agent_workflow_list:n.agent_workflow_list,table_ids:n.table_ids,Base:n.Base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryGetPage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/page/get"),i={sandbox_id:n.sandbox_id,page_id:n.page_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}StarryGetCompSets(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/compsets/get"),i={Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}StarryCreateSnapshot(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/snapshot/create"),i={sandbox_id:n.sandbox_id,desc:n.desc,page_ids:n.page_ids,previous_snapshot_id:n.previous_snapshot_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryClonePage(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/starry/page/clone"),r={sandbox_id:e.sandbox_id,app_id:e.app_id,page_id:e.page_id,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}StarryCreatePage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/page/create"),i={sandbox_id:n.sandbox_id,app_id:n.app_id,page_id:n.page_id,data:n.data,exts:n.exts,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryGetSandbox(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/sandbox/get"),i={sandbox_id:n.sandbox_id,with_app:n.with_app,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}StarryRestoreSnapshot(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/starry/snapshot/restore"),r={snapshot_id:e.snapshot_id,sandbox_id:e.sandbox_id,action:e.action,version:e.version,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}StarryDeletePage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/page/delete"),i={sandbox_id:n.sandbox_id,page_id:n.page_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryGetPreviewData(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/preview/get"),i={sandbox_id:n.sandbox_id,page_id:n.page_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}StarryUpdatePage(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/page/update"),i={sandbox_id:n.sandbox_id,page_id:n.page_id,crdt_history:n.crdt_history,action:n.action,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryGetSnapshot(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/snapshot/get"),i={snapshot_id:n.snapshot_id,sandbox_id:n.sandbox_id,version:n.version,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}StarryUpdateSandbox(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/sandbox/update"),i={sandbox_id:n.sandbox_id,crdt_history:n.crdt_history,action:n.action,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetAgentAppPublish(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/publish/get"),i={publish_id:n.publish_id,app_id:n.app_id,bot_id:n.bot_id,with_max_version:n.with_max_version,agent_app_id:n.agent_app_id,space_id:n.space_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}DoAction(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/plugin/do_action"),r={plugin_id:e.plugin_id,api_name:e.api_name,user_id:e.user_id,parameters:e.parameters,message_id:e.message_id,plugin_name:e.plugin_name,device_id:e.device_id,ext:e.ext,output_token_limit:e.output_token_limit,section_id:e.section_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/upload_file"),i={file_name:n.file_name,source_uri:n.source_uri,bot_id:n.bot_id,base:n.base};return this.request({url:r,method:"POST",data:i},t)}SummaryFile(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/summary_file"),i={bot_id:n.bot_id,file_key:n.file_key,base:n.base};return this.request({url:r,method:"POST",data:i},t)}AddDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/app/add_database"),i={bot_id:n.bot_id,user_id:n.user_id,table_list:n.table_list,Base:n.Base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}UpdateLocalPlugin(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/plugin/update"),r={agent_app_id:e.agent_app_id,ai_plugin:e.ai_plugin,openapi:e.openapi,client_id:e.client_id,client_secret:e.client_secret,service_token:e.service_token,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"],Cookie:e.Cookie};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateLocalPlugin(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/plugin/create"),r={agent_app_id:e.agent_app_id,ai_plugin:e.ai_plugin,openapi:e.openapi,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"],Cookie:e.Cookie};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdatePackage(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/package/update"),r={package_id:e.package_id,package_name:e.package_name,version_name:e.version_name,meta_title:e.meta_title,meta_desc:e.meta_desc,meta_contains:e.meta_contains,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetPackageVersionList(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/package/version/list"),i={package_name:n.package_name,page:n.page,size:n.size,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}GetFileMetaInfo(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/get_file_meta_info"),r={bot_id:e.bot_id,file_id:e.file_id,file_uri:e.file_uri,file_name:e.file_name,biz_type:e.biz_type,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetFileList(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/get_file_list"),r={bot_id:e.bot_id,file_name:e.file_name,md_type:e.md_type,file_format:e.file_format,begin_time:e.begin_time,end_time:e.end_time,page:e.page,size:e.size,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}SearchFile(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/search_file"),r={bot_id:e.bot_id,query:e.query,file_uri_list:e.file_uri_list,file_name_list:e.file_name_list,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetListFileChunk(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/get_list_file_chunk"),r={bot_id:e.bot_id,biz_type:e.biz_type,file_id:e.file_id,file_uri:e.file_uri,start_chunk_seq_id:e.start_chunk_seq_id,end_chunk_seq_id:e.end_chunk_seq_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetFileURL(e,t){let n=this.genBaseURL("/api/agent_app_builder/v1/file/url"),r={uri:e.uri,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}StarryGetSandboxSnapshot(e,t){let n=e||{},r=this.genBaseURL("/api/agent_app_builder/v1/starry/sandbox/get_snapshot"),i={sandbox_id:n.sandbox_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}constructor(e){r(this,"request",()=>{throw Error("AppBuilderService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},20893:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Workflow=0]="Workflow",r[r.Page=1]="Page",r[r.SystemPrompt=2]="SystemPrompt",r[r.Requirement=3]="Requirement",r[r.Database=4]="Database",(i=t||(t={}))[i.Text=1]="Text",i[i.Number=2]="Number",i[i.Date=3]="Date",i[i.Float=4]="Float",i[i.Boolean=5]="Boolean",i[i.FullText=6]="FullText",(o=n||(n={}))[o.System=1]="System",o[o.User=2]="User",o[o.Assistant=3]="Assistant",o[o.Placeholder=4]="Placeholder"},35543:function(){"use strict";var e,t;(t=e||(e={}))[t.Default=0]="Default",t[t.Image=1]="Image",t[t.Audio=2]="Audio",t[t.Video=3]="Video",t[t.Document=4]="Document",t[t.Font=5]="Font",t[t.Archive=6]="Archive",t[t.Other=255]="Other"},85663:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D;(_=e||(e={}))[_.NO=0]="NO",_[_.SERVICE=1]="SERVICE",_[_.USER=2]="USER",_[_.OAUTH=3]="OAUTH",(v=t||(t={}))[v.Equal=1]="Equal",v[v.NotEqual=2]="NotEqual",v[v.LengthGt=3]="LengthGt",v[v.LengthGtEqual=4]="LengthGtEqual",v[v.LengthLt=5]="LengthLt",v[v.LengthLtEqual=6]="LengthLtEqual",v[v.Contains=7]="Contains",v[v.NotContains=8]="NotContains",v[v.Null=9]="Null",v[v.NotNull=10]="NotNull",v[v.True=11]="True",v[v.False=12]="False",v[v.Gt=13]="Gt",v[v.GtEqual=14]="GtEqual",v[v.Lt=15]="Lt",v[v.LtEqual=16]="LtEqual",(b=n||(n={}))[b.And=1]="And",b[b.Or=2]="Or",(y=r||(r={}))[y.String=1]="String",y[y.Integer=2]="Integer",y[y.Boolean=3]="Boolean",y[y.Number=4]="Number",y[y.Array=5]="Array",y[y.Object=6]="Object",(w=i||(i={}))[w.USING=1]="USING",w[w.REMOVE=2]="REMOVE",w[w.OFFLINE=3]="OFFLINE",w[w.NOTINSTALL=4]="NOTINSTALL",(S=o||(o={}))[S.GPT3dot5Turbo=1]="GPT3dot5Turbo",S[S.GPT4=2]="GPT4",S[S.Seed=3]="Seed",S[S.SeedMultiturn=4]="SeedMultiturn",S[S.StableDiffusion=5]="StableDiffusion",S[S.ByteArtist=6]="ByteArtist",S[S.Claude=7]="Claude",S[S.BingChat=8]="BingChat",S[S.Bard=9]="Bard",S[S.Assistant=10]="Assistant",S[S.DallE=11]="DallE",S[S.Midjourney=12]="Midjourney",S[S.TTSearch=13]="TTSearch",S[S.GPTTask=14]="GPTTask",S[S.GPT4Browsing=15]="GPT4Browsing",S[S.GPT4WithPlugins=16]="GPT4WithPlugins",S[S.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",S[S.SeedSystem=18]="SeedSystem",S[S.Plugin=20]="Plugin",S[S.GPT4Plugin=21]="GPT4Plugin",S[S.WebGPT=22]="WebGPT",S[S.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",S[S.AutoPlugin=24]="AutoPlugin",S[S.MiniMax=25]="MiniMax",S[S.GPT3dot5WithTako=26]="GPT3dot5WithTako",S[S.GPT4WithTako=27]="GPT4WithTako",S[S.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",S[S.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",S[S.SeedBeta=30]="SeedBeta",S[S.ByteArtistAnime=31]="ByteArtistAnime",S[S.GenMusic=32]="GenMusic",S[S.GPT48k=33]="GPT48k",S[S.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",S[S.SeedForTest=35]="SeedForTest",S[S.SeedOmniFake=36]="SeedOmniFake",S[S.SeedOmniBrowse=37]="SeedOmniBrowse",S[S.SeedOmniSota=38]="SeedOmniSota",S[S.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",S[S.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",S[S.CiciSearchMore=41]="CiciSearchMore",S[S.CiciSearchLess=42]="CiciSearchLess",S[S.CiciSearchBing=43]="CiciSearchBing",S[S.SeedOmniPlugin=44]="SeedOmniPlugin",S[S.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",S[S.GPT40613=46]="GPT40613",S[S.SeedForMap=47]="SeedForMap",S[S.SeedForMusic=48]="SeedForMusic",S[S.XiaoningWithMem=49]="XiaoningWithMem",S[S.GPT_35Turbo=100]="GPT_35Turbo",S[S.GPT_35Turbo0301=101]="GPT_35Turbo0301",S[S.GPT_4=102]="GPT_4",S[S.GPT_40314=103]="GPT_40314",S[S.GPT_432k=104]="GPT_432k",S[S.GPT_432k0314=105]="GPT_432k0314",S[S.Seed_Beta=106]="Seed_Beta",S[S.Seed_Music=107]="Seed_Music",S[S.GPT4_32k0613=108]="GPT4_32k0613",S[S.Seed_Img2Text=109]="Seed_Img2Text",S[S.Seed_WebGPT=110]="Seed_WebGPT",S[S.Seed_WithPlugins=111]="Seed_WithPlugins",S[S.GPT_35Turbo0613=112]="GPT_35Turbo0613",S[S.GPT_35Turbo16K=113]="GPT_35Turbo16K",S[S.Seed_Sota=114]="Seed_Sota",S[S.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",S[S.Seed_WithSystem=116]="Seed_WithSystem",S[S.Seed_Omni=118]="Seed_Omni",S[S.SeedFunctionCall=119]="SeedFunctionCall",S[S.Seed_Main=120]="Seed_Main",S[S.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",S[S.SeedBrowsingOnly=122]="SeedBrowsingOnly",S[S.Echo=123]="Echo",S[S.GPT_40613=124]="GPT_40613",S[S.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",S[S.Seed_Map=126]="Seed_Map",S[S.SeedSuggest=127]="SeedSuggest",S[S.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",S[S.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",S[S.Edu=130]="Edu",S[S.Tako_Intent=131]="Tako_Intent",S[S.Seed_Text2Img=132]="Seed_Text2Img",S[S.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",S[S.SeedForDouyin=134]="SeedForDouyin",S[S.SeedFunctionCallSp=135]="SeedFunctionCallSp",S[S.SeedSuggestOffline=136]="SeedSuggestOffline",S[S.SkylarkChat=137]="SkylarkChat",S[S.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",(A=a||(a={}))[A.Start=1]="Start",A[A.End=2]="End",A[A.LLM=3]="LLM",A[A.Api=4]="Api",A[A.Code=5]="Code",A[A.Dataset=6]="Dataset",A[A.Input=7]="Input",A[A.If=8]="If",(T=s||(s={}))[T.CreateTime=0]="CreateTime",T[T.UpdateTime=1]="UpdateTime",T[T.Hot=3]="Hot",(x=l||(l={}))[x.Path=1]="Path",x[x.Query=2]="Query",x[x.Body=3]="Body",x[x.Header=4]="Header",(k=u||(u={}))[k.CanNotDelete=1]="CanNotDelete",k[k.CanNotChangeName=2]="CanNotChangeName",k[k.CanChange=3]="CanChange",k[k.CanNotChangeAnything=4]="CanNotChangeAnything",(M=c||(c={}))[M.SUBMITTED=1]="SUBMITTED",M[M.REVIEWING=2]="REVIEWING",M[M.PREPARED=3]="PREPARED",M[M.PUBLISHED=4]="PUBLISHED",M[M.OFFLINE=5]="OFFLINE",(P=d||(d={}))[P.PLUGIN=1]="PLUGIN",P[P.APP=2]="APP",P[P.FUNC=3]="FUNC",P[P.WORKFLOW=4]="WORKFLOW",(I=p||(p={}))[I.DAG=0]="DAG",I[I.FDL=1]="FDL",(E=h||(h={}))[E.All=0]="All",E[E.Self=1]="Self",(C=f||(f={}))[C.All=1]="All",C[C.Hot=2]="Hot",C[C.Information=3]="Information",C[C.Music=4]="Music",C[C.Picture=5]="Picture",C[C.UtilityTool=6]="UtilityTool",C[C.Life=7]="Life",C[C.Traval=8]="Traval",C[C.Network=9]="Network",C[C.System=10]="System",C[C.Movie=11]="Movie",C[C.Office=12]="Office",C[C.Shopping=13]="Shopping",C[C.Education=14]="Education",C[C.Health=15]="Health",C[C.Social=16]="Social",C[C.Entertainment=17]="Entertainment",C[C.Finance=18]="Finance",C[C.Hidden=100]="Hidden",(O=g||(g={}))[O.USELLM=1]="USELLM",O[O.USESETTING=2]="USESETTING",(D=m||(m={}))[D.CanNotPublish=1]="CanNotPublish",D[D.CanPublish=2]="CanPublish",D[D.HadPublished=3]="HadPublished",D[D.Deleted=4]="Deleted"},58637:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Header=1]="Header",i[i.Query=2]="Query",(o=t||(t={}))[o.None=0]="None",o[o.Service=1]="Service",o[o.OAuth=3]="OAuth",(a=n||(n={}))[a.COZE=0]="COZE",a[a.IDE=1]="IDE",(s=r||(r={}))[s.Path=1]="Path",s[s.Query=2]="Query",s[s.Body=3]="Body",s[s.Header=4]="Header"},45473:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("80614"),n("27290"),n("86063"),n("58415"),n("20705"),n("92557");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}PublicUpdateUserProfileCheck(e,t){let n=this.genBaseURL("/api/user/v2/update_profile_check"),r={user_unique_name:(e||{}).user_unique_name};return this.request({url:n,method:"POST",data:r},t)}PublicGetUserProfile(e,t){let n=e||{},r=this.genBaseURL("/api/user/v2/get_profile"),i={user_id:n.user_id,bid:n.bid},o={Cookie:n.Cookie};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicUpdateUserProfile(e,t){let n=e||{},r=this.genBaseURL("/api/user/v2/update_profile"),i={user_unique_name:n.user_unique_name,name:n.name,avatar:n.avatar,signature:n.signature},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetReportMeta(e,t){let n=this.genBaseURL("/api/report/get_meta");return this.request({url:n,method:"GET"},t)}ReportQuery(e,t){let n=e||{},r=this.genBaseURL("/api/report/query"),i={object_id_list:n.object_id_list,object_type:n.object_type,report_time_begin:n.report_time_begin,report_time_end:n.report_time_end,report_uid:n.report_uid,page_num:n.page_num,page_size:n.page_size};return this.request({url:r,method:"GET",params:i},t)}ReportSubmit(e,t){let n=e||{},r=this.genBaseURL("/api/report/submit"),i={object_type:n.object_type,object_id:n.object_id,detail:n.detail},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetReportTimes(e,t){let n=e||{},r=this.genBaseURL("/api/report/get_report_times"),i={object_id_list:n.object_id_list,object_type:n.object_type};return this.request({url:r,method:"GET",params:i},t)}constructor(e){r(this,"request",()=>{throw Error("BasicApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},80614:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.Manual=1]="Manual",t[t.Machine=2]="Machine"},27290:function(){"use strict";var e,t;(t=e||(e={}))[t.Incr=1]="Incr",t[t.Set=2]="Set"},86063:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Default=0]="Default",o[o.Pending=1]="Pending",o[o.Approved=2]="Approved",o[o.Rejected=3]="Rejected",o[o.Abandoned=4]="Abandoned",o[o.Failed=99]="Failed",(a=t||(t={}))[a.ProductDraft=10]="ProductDraft",a[a.UserProfile=18]="UserProfile",a[a.ConversationShared=19]="ConversationShared",a[a.Conversation=20]="Conversation",a[a.InterationPost=21]="InterationPost",a[a.InterationComment=22]="InterationComment",a[a.ProductWorkFlow=23]="ProductWorkFlow",a[a.ProductBot=24]="ProductBot",a[a.ProductPlugin=25]="ProductPlugin",a[a.ImageFlowUploadImages=26]="ImageFlowUploadImages",a[a.ImageFlowTestRun=27]="ImageFlowTestRun",a[a.ImageFlowPluginOutput=28]="ImageFlowPluginOutput",a[a.DataEngineKnowledge=29]="DataEngineKnowledge",a[a.BotAvatar=30]="BotAvatar",a[a.BotPublishSingleBot=31]="BotPublishSingleBot",a[a.BotPublishMultiAgent=32]="BotPublishMultiAgent",a[a.BotPublishPlugin=33]="BotPublishPlugin",a[a.BotPublishWorkflow=34]="BotPublishWorkflow",a[a.BotModify=35]="BotModify",a[a.BotCreate=36]="BotCreate",a[a.BotWorkflowAsAgentPublish=37]="BotWorkflowAsAgentPublish",a[a.BotWorkflowAsAgentModify=38]="BotWorkflowAsAgentModify",a[a.BotSingleAgentModify=39]="BotSingleAgentModify",a[a.SocietyCreate=40]="SocietyCreate",a[a.SocietyPublish=41]="SocietyPublish",a[a.SocietyRoleCreate=42]="SocietyRoleCreate",a[a.SocietyPrePublish=43]="SocietyPrePublish",a[a.ProductSociety=44]="ProductSociety",a[a.ProductImageFlow=46]="ProductImageFlow",a[a.PluginImageGenerateInput=48]="PluginImageGenerateInput",a[a.PluginImageGenerateOutputImage=49]="PluginImageGenerateOutputImage",a[a.PluginImageGenerateOutputVideo=50]="PluginImageGenerateOutputVideo",a[a.PluginCreate=51]="PluginCreate",a[a.PluginModify=52]="PluginModify",a[a.VariableModify=53]="VariableModify",a[a.CardInfo=60]="CardInfo",a[a.AgentAppWriter=80]="AgentAppWriter",a[a.ModelArenaQuery=81]="ModelArenaQuery",a[a.MessageTrace=82]="MessageTrace",a[a.ResourcePrompt=83]="ResourcePrompt",a[a.ProjectIDEModify=84]="ProjectIDEModify",a[a.TemplateBot=85]="TemplateBot",a[a.TemplateWorkflow=86]="TemplateWorkflow",a[a.TemplateProject=87]="TemplateProject",a[a.ProductProject=88]="ProductProject",a[a.ProjectPublish=89]="ProjectPublish",a[a.ProjectUIBuilder=90]="ProjectUIBuilder",a[a.WorkflowRuntimeInput=100]="WorkflowRuntimeInput",(s=n||(n={}))[s.Default=0]="Default",s[s.Recall=1]="Recall",s[s.Report=2]="Report",s[s.Review=3]="Review",(l=r||(r={}))[l.Other=0]="Other",l[l.Ad=1]="Ad",l[l.Uncomfortable=2]="Uncomfortable",l[l.Illegal=3]="Illegal",l[l.Cult=4]="Cult",l[l.Morals=5]="Morals",l[l.Porn=6]="Porn",l[l.Leaders=7]="Leaders",l[l.SensitiveParty=8]="SensitiveParty",l[l.InvalidContent=9]="InvalidContent",l[l.LinksIllegal=10]="LinksIllegal",(u=i||(i={}))[u.BotPublish=1e3]="BotPublish",u[u.BotPublishBotIcon=1001]="BotPublishBotIcon",u[u.BotPublishBotName=1002]="BotPublishBotName",u[u.BotPublishBotDesc=1003]="BotPublishBotDesc",u[u.BotPublishBotPrompt=1004]="BotPublishBotPrompt",u[u.BotPublishBotDatabase=1005]="BotPublishBotDatabase",u[u.BotPublishBotTask=1006]="BotPublishBotTask",u[u.BotPublishBotOnboardingPrologue=1007]="BotPublishBotOnboardingPrologue",u[u.BotPublishBotOnboardingSuggestedQuestions=1008]="BotPublishBotOnboardingSuggestedQuestions",u[u.BotPublishBotSuggestReply=1009]="BotPublishBotSuggestReply",u[u.BotPublishBotBackgroundImage=1010]="BotPublishBotBackgroundImage",u[u.BotPublishBotShortcutCommandList=1011]="BotPublishBotShortcutCommandList",u[u.BotPublishBotQueryCollectConf=1012]="BotPublishBotQueryCollectConf",u[u.BotPublishSimpleAgentName=1013]="BotPublishSimpleAgentName",u[u.BotPublishSimpleAgentPrompt=1014]="BotPublishSimpleAgentPrompt",u[u.BotPublishSimpleAgentScene=1015]="BotPublishSimpleAgentScene",u[u.BotPublishSimpleAgentSkills=1016]="BotPublishSimpleAgentSkills",u[u.BotPublishSimpleAgentSuggestReplyInfo=1017]="BotPublishSimpleAgentSuggestReplyInfo",u[u.BotPublishBotAgentBotIcon=1018]="BotPublishBotAgentBotIcon",u[u.BotPublishBotAgentBotName=1019]="BotPublishBotAgentBotName",u[u.BotPublishBotAgentScene=1020]="BotPublishBotAgentScene",u[u.BotPublishBotAgentSuggestReplyInfo=1021]="BotPublishBotAgentSuggestReplyInfo",u[u.BotPublishGlobalJumpConditions=1022]="BotPublishGlobalJumpConditions",u[u.BotPublishPlugin=1200]="BotPublishPlugin",u[u.BotPublishWorkflow=1300]="BotPublishWorkflow",u[u.ProductPlugin=2200]="ProductPlugin",u[u.ProductPluginProductInfo=2201]="ProductPluginProductInfo",u[u.ProductPluginPluginInfo=2202]="ProductPluginPluginInfo",u[u.ProductPluginAPIs=2203]="ProductPluginAPIs",u[u.ProductWorkflow=2300]="ProductWorkflow",u[u.ProductImageFlow=2400]="ProductImageFlow",u[u.InteractionPost=3100]="InteractionPost",u[u.InteractionComment=3200]="InteractionComment",u[u.Society=4e3]="Society",u[u.SocietyBasicInfoIcon=4001]="SocietyBasicInfoIcon",u[u.SocietyBasicInfoName=4002]="SocietyBasicInfoName",u[u.SocietyBasicInfoDesc=4003]="SocietyBasicInfoDesc",u[u.SocietyBasicInfoPrompt=4004]="SocietyBasicInfoPrompt",u[u.SocietyHostInfoIcon=4005]="SocietyHostInfoIcon",u[u.SocietyHostInfoName=4006]="SocietyHostInfoName",u[u.SocietyHostInfoDesc=4007]="SocietyHostInfoDesc",u[u.SocietyRoleInfoIcon=4008]="SocietyRoleInfoIcon",u[u.SocietyRoleInfoName=4009]="SocietyRoleInfoName",u[u.SocietyRoleInfoDesc=4010]="SocietyRoleInfoDesc",u[u.SocietyRoleInfoNickName=4011]="SocietyRoleInfoNickName",u[u.Project=5e3]="Project",u[u.ProjectBasicInfoName=5001]="ProjectBasicInfoName",u[u.ProjectBasicInfoDesc=5002]="ProjectBasicInfoDesc",u[u.ProjectBasicInfoIcon=5003]="ProjectBasicInfoIcon",u[u.ProjectPlugin=5100]="ProjectPlugin",u[u.ProjectWorkflow=5200]="ProjectWorkflow",u[u.ProjectUI=5300]="ProjectUI",u[u.ProjectData=5400]="ProjectData"},58415:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Default=0]="Default",i[i.Pending=1]="Pending",i[i.Approved=2]="Approved",i[i.Rejected=3]="Rejected",i[i.Abandoned=4]="Abandoned",(o=t||(t={}))[o.ProductDraft=10]="ProductDraft",o[o.Conversation=20]="Conversation",(a=n||(n={}))[a.Invisible=10]="Invisible",a[a.Self=15]="Self",a[a.AllWithoutRecommend=20]="AllWithoutRecommend",a[a.All=25]="All",(s=r||(r={}))[s.Bot=1]="Bot",s[s.Plugin=2]="Plugin",s[s.CozeToken=50]="CozeToken",s[s.Common=99]="Common"},20705:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.NotProcessed=1]="NotProcessed",n[n.Processing=2]="Processing",n[n.Processed=3]="Processed",(r=t||(t={}))[r.ProductBot=1]="ProductBot",r[r.ProductPlugin=2]="ProductPlugin",r[r.ProductWorkflow=3]="ProductWorkflow",r[r.ProductImageFlow=4]="ProductImageFlow",r[r.ProductSociety=5]="ProductSociety",r[r.InteractionPost=6]="InteractionPost",r[r.InteractionComment=7]="InteractionComment",r[r.TemplateBot=8]="TemplateBot",r[r.TemplateWorkflow=9]="TemplateWorkflow",r[r.TemplateImageFlow=10]="TemplateImageFlow",r[r.TemplateProject=11]="TemplateProject",r[r.ProductProject=12]="ProductProject",r[r.TemplateCommon=99]="TemplateCommon"},92557:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.DEFAULT=0]="DEFAULT",n[n.PASS=1]="PASS",n[n.REVIEW=2]="REVIEW",n[n.UNPASS=3]="UNPASS",n[n.ROBOT_UP=4]="ROBOT_UP",n[n.ROLLBACK=5]="ROLLBACK",n[n.RESET=6]="RESET",(r=t||(t={}))[r.Reviewing=1]="Reviewing",r[r.Approved=2]="Approved",r[r.Rejected=3]="Rejected"},57659:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Co:function(){return i}}),n("83015"),n("42021"),n("74013"),n("836"),n("71457"),n("75928"),n("27030");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}PublicGetBotMonetizationConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/commerce/bot_monetization/get"),i={bot_id:n.bot_id,bot_monetization_mode:n.bot_monetization_mode,is_fallback:n.is_fallback,entity_id:n.entity_id,entity_type:n.entity_type};return this.request({url:r,method:"GET",params:i},t)}PublicSaveBotDraftMonetizationConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/commerce/bot_monetization/save"),i={bot_id:n.bot_id,is_enable:n.is_enable,free_chat_allowance_count:n.free_chat_allowance_count,refresh_period:n.refresh_period,entity_id:n.entity_id,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}PublicGetUserBalance(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/wallet/get"),i={balance_type_list:n.balance_type_list},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicGetUserProfitDetail(e,t){let n=this.genBaseURL("/api/marketplace/wallet/get_profit"),r={"Tt-Agw-Client-Ip":(e||{})["Tt-Agw-Client-Ip"]};return this.request({url:n,method:"GET",headers:r},t)}PublicGetBotOpenMonetizationConf(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/commerce/bot_monetization/get_open"),i={bot_id:n.bot_id,entity_id:n.entity_id,entity_type:n.entity_type};return this.request({url:r,method:"GET",params:i},t)}PublicGetUserWalletHistory(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/wallet/history"),i={index:n.index,count:n.count,type_list:n.type_list};return this.request({url:r,method:"GET",params:i},t)}PublicGetUserWalletDetail(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/wallet/detail"),i={balance_type:n.balance_type},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicGetUserBenefit(e,t){let n=this.genBaseURL("/api/marketplace/commerce/get_user_benefit"),r={benefit_types:(e||{}).benefit_types};return this.request({url:n,method:"GET",params:r},t)}constructor(e){r(this,"request",()=>{throw Error("BenefitService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},42021:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D;(_=e||(e={}))[_.Available=1]="Available",_[_.Unavailable=2]="Unavailable",(v=t||(t={}))[v.ChatWithBot=1]="ChatWithBot",v[v.TopUpCredit=2]="TopUpCredit",v[v.BounsCredit=3]="BounsCredit",v[v.ChargeBack=4]="ChargeBack",v[v.ChargeBackReverse=5]="ChargeBackReverse",v[v.WorkflowConsume=6]="WorkflowConsume",v[v.EvaluateConsume=41]="EvaluateConsume",v[v.EvaluateModelConsume=42]="EvaluateModelConsume",v[v.ProjectConsume=61]="ProjectConsume",(b=n||(n={}))[b.MessageCredit=1]="MessageCredit",b[b.UserFreeChat=2]="UserFreeChat",b[b.TopUpMessageCredit=3]="TopUpMessageCredit",b[b.BonusMessageCredit=4]="BonusMessageCredit",b[b.Freetimes=40]="Freetimes",b[b.EvaluateFree=41]="EvaluateFree",b[b.WorkflowTestRunFree=42]="WorkflowTestRunFree",b[b.AppTestRunFree=43]="AppTestRunFree",b[b.PluginRunFree=44]="PluginRunFree",b[b.RateLimit=60]="RateLimit",b[b.ResourcePoint=100]="ResourcePoint",b[b.FreeResourcePoint=101]="FreeResourcePoint",b[b.VolcProResourcePoint=102]="VolcProResourcePoint",(y=r||(r={}))[y.ByQuota=1]="ByQuota",y[y.Unlimited=2]="Unlimited",y[y.UnAvailable=10]="UnAvailable",(w=i||(i={}))[w.SingleMode=0]="SingleMode",w[w.MutiAgent=1]="MutiAgent",w[w.WorkflowMode=2]="WorkflowMode",(S=o||(o={}))[S.Model=1]="Model",S[S.Plugin=2]="Plugin",(A=a||(a={}))[A.Pass=1]="Pass",A[A.OutOfLimitation=2]="OutOfLimitation",A[A.InsufficientBalance=3]="InsufficientBalance",(T=s||(s={}))[T.CheckCommon=0]="CheckCommon",T[T.ChatStart=1]="ChatStart",T[T.ChatFinish=2]="ChatFinish",T[T.ModelCallBefore=6]="ModelCallBefore",T[T.ModelExecDone=7]="ModelExecDone",T[T.WorkflowRunStart=11]="WorkflowRunStart",T[T.WorkflowRunFinish=12]="WorkflowRunFinish",T[T.WorkflowRunResume=13]="WorkflowRunResume",T[T.PluginCallBefore=16]="PluginCallBefore",T[T.PluginExecFinish=17]="PluginExecFinish",T[T.EvaluateBefore=41]="EvaluateBefore",T[T.EvaluateJudge=42]="EvaluateJudge",T[T.VoiceUseFinish=51]="VoiceUseFinish",(x=l||(l={}))[x.Release=0]="Release",x[x.Draft=1]="Draft",(k=u||(u={}))[k.Unlimited=0]="Unlimited",k[k.Limiting=1]="Limiting",(M=c||(c={}))[M.Running=1]="Running",M[M.UnsubscribeRecycling=3]="UnsubscribeRecycling",M[M.Expired=4]="Expired",M[M.ExpiredRecycling=5]="ExpiredRecycling",(P=d||(d={}))[P.Bot=0]="Bot",P[P.Project=1]="Project",(I=p||(p={}))[I.AddBenefit=1]="AddBenefit",I[I.RefundSubscription=2]="RefundSubscription",I[I.RefundTopUp=3]="RefundTopUp",I[I.SubscriptionChargeBack=4]="SubscriptionChargeBack",I[I.TopUpChargeBack=5]="TopUpChargeBack",I[I.SubscriptionChargeBackReverse=6]="SubscriptionChargeBackReverse",I[I.TopUpChargeBackReverse=7]="TopUpChargeBackReverse",(E=h||(h={}))[E.Chat=1]="Chat",E[E.WorkflowTest=2]="WorkflowTest",E[E.EvaluateBot=41]="EvaluateBot",E[E.EvaluateModel=42]="EvaluateModel",(C=f||(f={}))[C.Free=0]="Free",C[C.PremiumLite=10]="PremiumLite",C[C.Premium=15]="Premium",C[C.PremiumPlus=20]="PremiumPlus",C[C.V1ProInstance=100]="V1ProInstance",(O=g||(g={}))[O.VoiceClone=1]="VoiceClone",O[O.TTSCustom=2]="TTSCustom",O[O.TTSSystem=3]="TTSSystem",O[O.ASRStream=4]="ASRStream",O[O.ASRFile=5]="ASRFile",O[O.ASRStreamSmall=6]="ASRStreamSmall",O[O.ASRFileSmall=7]="ASRFileSmall",O[O.RTCVoice=8]="RTCVoice",O[O.RTCDialogAI=9]="RTCDialogAI",O[O.RTCVideoCall4K=10]="RTCVideoCall4K",O[O.RTCVideoCall2K=11]="RTCVideoCall2K",O[O.RTCVideoCall1080P=12]="RTCVideoCall1080P",O[O.RTCVideoCall720P=13]="RTCVideoCall720P",O[O.RTCVideoCall360P=14]="RTCVideoCall360P",(D=m||(m={}))[D.Unknown=0]="Unknown",D[D.TestRun=1]="TestRun",D[D.Released=2]="Released"},74013:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Draft=1]="Draft",n[n.Released=2]="Released",(r=t||(t={}))[r.Unknown=0]="Unknown",r[r.Never=1]="Never",r[r.Day=2]="Day",r[r.Week=3]="Week",r[r.Month=4]="Month"},836:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO;(W=e||(e={}))[W.RequireAction=0]="RequireAction",W[W.RequireMessage=1]="RequireMessage",(Z=t||(t={}))[Z.NotFinished=0]="NotFinished",Z[Z.Interrupted=1]="Interrupted",Z[Z.NoResults=2]="NoResults",Z[Z.WithResults=3]="WithResults",(H=n||(n={}))[H.None=0]="None",H[H.Featured=1]="Featured",H[H.Discoverable=2]="Discoverable",(V=r||(r={}))[V.USER_RES=0]="USER_RES",V[V.USER_LLM_RES=1]="USER_LLM_RES",V[V.USER_LLM_TOOLLEN_RES=2]="USER_LLM_TOOLLEN_RES",V[V.USER_LLM_TOOL_RES=3]="USER_LLM_TOOL_RES",V[V.USER_LLM_TOOL=4]="USER_LLM_TOOL",(Q=i||(i={}))[Q.Unknown=0]="Unknown",Q[Q.Single=1]="Single",Q[Q.Group=2]="Group",(Y=o||(o={}))[Y.Txt=1]="Txt",Y[Y.Image=2]="Image",Y[Y.Audio=3]="Audio",Y[Y.Video=4]="Video",Y[Y.Link=6]="Link",Y[Y.Music=7]="Music",Y[Y.Tako=8]="Tako",Y[Y.File=9]="File",Y[Y.Card=50]="Card",Y[Y.BotCard=51]="BotCard",Y[Y.Widget=52]="Widget",Y[Y.APP=100]="APP",Y[Y.OutputSearchResult=200]="OutputSearchResult",Y[Y.OutputMultiStream=201]="OutputMultiStream",Y[Y.SearchIntentionResult=300]="SearchIntentionResult",($=a||(a={}))[$.Success=1]="Success",$[$.SystemLimitation=2]="SystemLimitation",$[$.UserLimitation=3]="UserLimitation",(K=s||(s={}))[K.System=0]="System",K[K.User=1]="User",K[K.Assistant=2]="Assistant",K[K.Placeholder=3]="Placeholder",K[K.LLMOutput=4]="LLMOutput",K[K.ToolOutput=5]="ToolOutput",K[K.Function=6]="Function",(X=l||(l={}))[X.ParamErr=1]="ParamErr",X[X.InnerErr=2]="InnerErr",X[X.WebGPT=4]="WebGPT",X[X.ByteArtist=5]="ByteArtist",X[X.Claude=6]="Claude",X[X.Dalle2=7]="Dalle2",X[X.GPT=8]="GPT",X[X.Seed=9]="Seed",X[X.StableDiffusion=10]="StableDiffusion",X[X.RiskSecurity=11]="RiskSecurity",X[X.RequireLocation=12]="RequireLocation",X[X.SigInterrupt=702112002]="SigInterrupt",X[X.Timeout=702112101]="Timeout",X[X.AuthenticationError=702112102]="AuthenticationError",X[X.RateLimitError=702112103]="RateLimitError",X[X.InvalidRequestError=702112104]="InvalidRequestError",X[X.FunctionInputError=702112105]="FunctionInputError",X[X.EngineInternalError=702112106]="EngineInternalError",X[X.MaximumTokenError=702112107]="MaximumTokenError",X[X.NotSupportRoleTypeError=702112108]="NotSupportRoleTypeError",X[X.AbParamsError=702112109]="AbParamsError",X[X.ParseTemplateError=702112110]="ParseTemplateError",X[X.ModelAKInvalidError=702112111]="ModelAKInvalidError",X[X.PluginRequireAuthorityError=702112112]="PluginRequireAuthorityError",(J=u||(u={}))[J.Normal=0]="Normal",J[J.PluginInterrupt=1]="PluginInterrupt",(ee=c||(c={}))[ee.None=0]="None",ee[ee.GoogleNLP=1]="GoogleNLP",ee[ee.ToutiaoWiki=2]="ToutiaoWiki",(et=d||(d={}))[et.Text=1]="Text",et[et.Video=2]="Video",et[et.Image=3]="Image",(en=p||(p={}))[en.Default=1]="Default",en[en.SearchText=2]="SearchText",en[en.SearchVideo=3]="SearchVideo",en[en.ComplexSearchText=4]="ComplexSearchText",en[en.SearchImage=5]="SearchImage",en[en.SearchRichMedia=6]="SearchRichMedia",en[en.SearchRichMediaStrong=7]="SearchRichMediaStrong",en[en.SearchRichMediaWeak=8]="SearchRichMediaWeak",(er=h||(h={}))[er.Chat=1]="Chat",er[er.Suggest=2]="Suggest",er[er.QueryKeyword=3]="QueryKeyword",er[er.Workflow=4]="Workflow",er[er.OnboardingOnline=5]="OnboardingOnline",er[er.OnboardingOffline=6]="OnboardingOffline",er[er.Naming=7]="Naming",er[er.GenProfile=8]="GenProfile",er[er.BrowserPlugin=9]="BrowserPlugin",er[er.BrowserPluginSearch=10]="BrowserPluginSearch",er[er.BrowserPluginExplain=11]="BrowserPluginExplain",er[er.BrowserPluginTranslate=12]="BrowserPluginTranslate",er[er.BrowserPluginSummary=13]="BrowserPluginSummary",er[er.BrowserPluginGrammar=14]="BrowserPluginGrammar",er[er.BrowserPluginRewrite=15]="BrowserPluginRewrite",er[er.BrowserPluginWebSummary=16]="BrowserPluginWebSummary",er[er.HotSearch=17]="HotSearch",er[er.HotSearchPreload=18]="HotSearchPreload",er[er.InputSug=19]="InputSug",er[er.NewsPush=20]="NewsPush",er[er.NewsPushPreload=21]="NewsPushPreload",er[er.OnboardingSug=22]="OnboardingSug",er[er.OnboardingSugPreload=23]="OnboardingSugPreload",er[er.WebNotLogin=24]="WebNotLogin",er[er.BackOnboardingSug=25]="BackOnboardingSug",er[er.GenCard=26]="GenCard",er[er.HighLightMsg=27]="HighLightMsg",er[er.HighLightMsgSearch=28]="HighLightMsgSearch",er[er.BrowserPluginSelectionQuestion=29]="BrowserPluginSelectionQuestion",er[er.BrowserPluginYoutubeSummary=30]="BrowserPluginYoutubeSummary",er[er.BrowserPluginRawChain=31]="BrowserPluginRawChain",er[er.BrowserPluginPDFReader=32]="BrowserPluginPDFReader",er[er.BrowserPluginImgReader=33]="BrowserPluginImgReader",er[er.SearchSummary=34]="SearchSummary",(ei=f||(f={}))[ei.Nothing=0]="Nothing",ei[ei.DouYin=1]="DouYin",ei[ei.TikTok=2]="TikTok",g||(g={}),(eo=m||(m={}))[eo.System=1]="System",eo[eo.User=2]="User",eo[eo.Assistant=3]="Assistant",eo[eo.Placeholder=4]="Placeholder",eo[eo.Function=5]="Function",(ea=_||(_={}))[ea.Replaceable=1]="Replaceable",ea[ea.Insertable=2]="Insertable",ea[ea.DocumentRef=3]="DocumentRef",ea[ea.KnowledgeCard=4]="KnowledgeCard",ea[ea.EmbeddedMultimedia=100]="EmbeddedMultimedia",(es=v||(v={}))[es.GPT=1]="GPT",es[es.Seed=2]="Seed",es[es.Claude=3]="Claude",es[es.MiniMax=4]="MiniMax",es[es.Plugin=5]="Plugin",es[es.StableDiffusion=6]="StableDiffusion",es[es.ByteArtist=7]="ByteArtist",es[es.Edu=8]="Edu",es[es.Maas=9]="Maas",es[es.QianFan=10]="QianFan",es[es.Gemini=11]="Gemini",es[es.Moonshot=12]="Moonshot",es[es.GLM=13]="GLM",es[es.MaaSAutoSync=14]="MaaSAutoSync",es[es.QWen=15]="QWen",es[es.Cohere=16]="Cohere",es[es.Baichuan=17]="Baichuan",es[es.Ernie=18]="Ernie",es[es.DeekSeek=19]="DeekSeek",es[es.Llama=20]="Llama",(el=b||(b={}))[el.PromptEvaluatePlatform=1e3]="PromptEvaluatePlatform",el[el.FlowApp=2e3]="FlowApp",el[el.FlowOPAdmin=3e3]="FlowOPAdmin",el[el.FlowAll=3001]="FlowAll",el[el.BotPlatform=4e3]="BotPlatform",el[el.BotPlatformInhouse=4001]="BotPlatformInhouse",el[el.Workflow=5e3]="Workflow",el[el.Arena=6e3]="Arena",el[el.ArenaInhouse=6001]="ArenaInhouse",(eu=y||(y={}))[eu.GPT3dot5Turbo=1]="GPT3dot5Turbo",eu[eu.GPT4_32k=2]="GPT4_32k",eu[eu.GPT4=3]="GPT4",eu[eu.SeedBeta=4]="SeedBeta",eu[eu.SeedWebGPT=5]="SeedWebGPT",eu[eu.SeedSystem=6]="SeedSystem",eu[eu.SeedMusic=7]="SeedMusic",eu[eu.GPT4_32k0613=8]="GPT4_32k0613",eu[eu.Seed_Img2Text=9]="Seed_Img2Text",eu[eu.Seed_SCTest=10]="Seed_SCTest",eu[eu.Seed_Test=11]="Seed_Test",eu[eu.Seed_WithPlugins=12]="Seed_WithPlugins",eu[eu.GPT3dot5Turbo0613=13]="GPT3dot5Turbo0613",eu[eu.GPT35_Turbo16k=14]="GPT35_Turbo16k",eu[eu.SeedSota=15]="SeedSota",eu[eu.SeedSotaBrowsing=16]="SeedSotaBrowsing",eu[eu.SeedOmni=17]="SeedOmni",eu[eu.SeedFunctionCall=18]="SeedFunctionCall",eu[eu.SeedMain=19]="SeedMain",eu[eu.SeedBrowsingExperiment=20]="SeedBrowsingExperiment",eu[eu.SeedBrowsingOnly=21]="SeedBrowsingOnly",eu[eu.MiniMaxABAB5dot5Chat=22]="MiniMaxABAB5dot5Chat",eu[eu.Echo=23]="Echo",eu[eu.GPT4_0613=24]="GPT4_0613",eu[eu.SeedSystemWithMemory=25]="SeedSystemWithMemory",eu[eu.SeedSystemWithMemoryTest=26]="SeedSystemWithMemoryTest",eu[eu.SeedMap=27]="SeedMap",eu[eu.SeedSuggest=28]="SeedSuggest",eu[eu.SeedComplexInstruction=29]="SeedComplexInstruction",eu[eu.SeedComplexInstructionTest=30]="SeedComplexInstructionTest",eu[eu.Edu=31]="Edu",eu[eu.SeedSuggestOffline=32]="SeedSuggestOffline",eu[eu.SeedOmniSota=33]="SeedOmniSota",eu[eu.SeedStrongCharacterNearlinePortrait=34]="SeedStrongCharacterNearlinePortrait",(ec=w||(w={}))[ec.FuncBot=1]="FuncBot",ec[ec.Chain=2]="Chain",ec[ec.Agent=3]="Agent",ec[ec.Executor=4]="Executor",(ed=S||(S={}))[ed.InUse=1]="InUse",ed[ed.Pending=5]="Pending",ed[ed.Deleted=10]="Deleted",(ep=A||(A={}))[ep.GPT3dot5Turbo=1]="GPT3dot5Turbo",ep[ep.GPT4=2]="GPT4",ep[ep.Seed=3]="Seed",ep[ep.SeedMultiturn=4]="SeedMultiturn",ep[ep.StableDiffusion=5]="StableDiffusion",ep[ep.ByteArtist=6]="ByteArtist",ep[ep.Claude=7]="Claude",ep[ep.BingChat=8]="BingChat",ep[ep.Bard=9]="Bard",ep[ep.Assistant=10]="Assistant",ep[ep.DallE=11]="DallE",ep[ep.Midjourney=12]="Midjourney",ep[ep.TTSearch=13]="TTSearch",ep[ep.GPTTask=14]="GPTTask",ep[ep.GPT4Browsing=15]="GPT4Browsing",ep[ep.GPT4WithPlugins=16]="GPT4WithPlugins",ep[ep.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",ep[ep.SeedSystem=18]="SeedSystem",ep[ep.Plugin=20]="Plugin",ep[ep.GPT4Plugin=21]="GPT4Plugin",ep[ep.WebGPT=22]="WebGPT",ep[ep.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",ep[ep.AutoPlugin=24]="AutoPlugin",ep[ep.MiniMax=25]="MiniMax",ep[ep.GPT3dot5WithTako=26]="GPT3dot5WithTako",ep[ep.GPT4WithTako=27]="GPT4WithTako",ep[ep.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",ep[ep.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",ep[ep.SeedBeta=30]="SeedBeta",ep[ep.ByteArtistAnime=31]="ByteArtistAnime",ep[ep.GenMusic=32]="GenMusic",ep[ep.GPT48k=33]="GPT48k",ep[ep.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",ep[ep.SeedForTest=35]="SeedForTest",ep[ep.SeedOmniFake=36]="SeedOmniFake",ep[ep.SeedOmniBrowse=37]="SeedOmniBrowse",ep[ep.SeedOmniSota=38]="SeedOmniSota",ep[ep.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",ep[ep.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",ep[ep.CiciSearchMore=41]="CiciSearchMore",ep[ep.CiciSearchLess=42]="CiciSearchLess",ep[ep.CiciSearchBing=43]="CiciSearchBing",ep[ep.SeedOmniPlugin=44]="SeedOmniPlugin",ep[ep.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",ep[ep.GPT40613=46]="GPT40613",ep[ep.SeedForMap=47]="SeedForMap",ep[ep.SeedForMusic=48]="SeedForMusic",ep[ep.XiaoningWithMem=49]="XiaoningWithMem",ep[ep.GPT_35Turbo=100]="GPT_35Turbo",ep[ep.GPT_35Turbo0301=101]="GPT_35Turbo0301",ep[ep.GPT_4=102]="GPT_4",ep[ep.GPT_40314=103]="GPT_40314",ep[ep.GPT_432k=104]="GPT_432k",ep[ep.GPT_432k0314=105]="GPT_432k0314",ep[ep.Seed_Beta=106]="Seed_Beta",ep[ep.Seed_Music=107]="Seed_Music",ep[ep.GPT4_32k0613=108]="GPT4_32k0613",ep[ep.Seed_Img2Text=109]="Seed_Img2Text",ep[ep.Seed_WebGPT=110]="Seed_WebGPT",ep[ep.Seed_WithPlugins=111]="Seed_WithPlugins",ep[ep.GPT_35Turbo0613=112]="GPT_35Turbo0613",ep[ep.GPT_35Turbo16K=113]="GPT_35Turbo16K",ep[ep.Seed_Sota=114]="Seed_Sota",ep[ep.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",ep[ep.Seed_WithSystem=116]="Seed_WithSystem",ep[ep.Seed_Omni=118]="Seed_Omni",ep[ep.SeedFunctionCall=119]="SeedFunctionCall",ep[ep.Seed_Main=120]="Seed_Main",ep[ep.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",ep[ep.SeedBrowsingOnly=122]="SeedBrowsingOnly",ep[ep.Echo=123]="Echo",ep[ep.GPT_40613=124]="GPT_40613",ep[ep.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",ep[ep.Seed_Map=126]="Seed_Map",ep[ep.SeedSuggest=127]="SeedSuggest",ep[ep.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",ep[ep.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",ep[ep.Edu=130]="Edu",ep[ep.Tako_Intent=131]="Tako_Intent",ep[ep.Seed_Text2Img=132]="Seed_Text2Img",ep[ep.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",ep[ep.SeedForDouyin=134]="SeedForDouyin",ep[ep.SeedFunctionCallSp=135]="SeedFunctionCallSp",ep[ep.SeedSuggestOffline=136]="SeedSuggestOffline",ep[ep.SkylarkChat=137]="SkylarkChat",ep[ep.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",ep[ep.SkylarkPro_v1_1_TT=1704353638]="SkylarkPro_v1_1_TT",ep[ep.SkylarkPro_v1_1_TT_BROWSING=1704696164]="SkylarkPro_v1_1_TT_BROWSING",ep[ep.SeedBotTag=1705216686]="SeedBotTag",ep[ep.SeedStrongCharacterAudio=1705220979]="SeedStrongCharacterAudio",(eh=T||(T={}))[eh.UNK=0]="UNK",eh[eh.GPT3D5=1]="GPT3D5",eh[eh.GPT4=2]="GPT4",(ef=x||(x={}))[ef.Plugin=1]="Plugin",ef[ef.Hook=2]="Hook",ef[ef.GptEngine=3]="GptEngine",ef[ef.Edu=4]="Edu",(eg=k||(k={}))[eg.Unknown_MultiStreamScene=0]="Unknown_MultiStreamScene",eg[eg.CrowdTesting=1]="CrowdTesting",(em=M||(M={}))[em.Unknown_MultiStreamStatus=0]="Unknown_MultiStreamStatus",em[em.Start=1]="Start",em[em.End=2]="End",(e_=P||(P={}))[e_.Prologue=1]="Prologue",e_[e_.SuggestedQuestion=2]="SuggestedQuestion",(ev=I||(I={}))[ev.LLM_GEN=1]="LLM_GEN",ev[ev.LLM_GEN_THEN_TRANSLATE=2]="LLM_GEN_THEN_TRANSLATE",ev[ev.MANUAL=3]="MANUAL",ev[ev.MANUAL_THEN_TRANSLATE=4]="MANUAL_THEN_TRANSLATE",(eb=E||(E={}))[eb.FIRST_MET=1]="FIRST_MET",eb[eb.WELCOME_BACK=2]="WELCOME_BACK",(ey=C||(C={}))[ey.NO_NEED=1]="NO_NEED",ey[ey.USE_MANUAL=2]="USE_MANUAL",ey[ey.USE_LLM=3]="USE_LLM",(ew=O||(O={}))[ew.None=0]="None",ew[ew.OnboardingNotDisplay=1]="OnboardingNotDisplay",ew[ew.OnboardingPreset=2]="OnboardingPreset",ew[ew.OnboardingLLMGen=3]="OnboardingLLMGen",(eS=D||(D={}))[eS.PreGen_Query=1]="PreGen_Query",eS[eS.PreGen_PreQuery=2]="PreGen_PreQuery",eS[eS.PreGen_Continue=3]="PreGen_Continue",eS[eS.PreGen_End=4]="PreGen_End",(eA=L||(L={}))[eA.Block=0]="Block",eA[eA.Streaming=1]="Streaming",eA[eA.Full=2]="Full",(eT=B||(B={}))[eT.FString=1]="FString",eT[eT.Jinja2=2]="Jinja2",(ex=N||(N={}))[ex.Answer=1]="Answer",ex[ex.Suggest=2]="Suggest",ex[ex.LLMOutput=3]="LLMOutput",ex[ex.ToolOutput=4]="ToolOutput",ex[ex.DataSet=5]="DataSet",ex[ex.QueryKeyword=6]="QueryKeyword",ex[ex.IntermediateOutput=7]="IntermediateOutput",ex[ex.Verbose=100]="Verbose",ex[ex.PlaceHolder=101]="PlaceHolder",(ek=R||(R={}))[ek.ResultType_Default=0]="ResultType_Default",ek[ek.ResultType_PluginResponse=1]="ResultType_PluginResponse",ek[ek.ResultType_PluginIntent=2]="ResultType_PluginIntent",ek[ek.ResultType_Variables=3]="ResultType_Variables",ek[ek.ResultType_None=4]="ResultType_None",ek[ek.ResultType_BotSchema=5]="ResultType_BotSchema",ek[ek.ResultType_ReferenceVariable=6]="ResultType_ReferenceVariable",(eM=j||(j={}))[eM.ResumeDefault=0]="ResumeDefault",eM[eM.PluginAuthorized=1]="PluginAuthorized",eM[eM.PluginAsync=2]="PluginAsync",eM[eM.PluginInterrupt=3]="PluginInterrupt",(eP=U||(U={}))[eP.Nothing=0]="Nothing",eP[eP.Google=1]="Google",eP[eP.DouYin=2]="DouYin",eP[eP.TouTiao=4]="TouTiao",(eI=z||(z={}))[eI.BotStudioSubmit=1]="BotStudioSubmit",eI[eI.BotStudioWorkflowTest=2]="BotStudioWorkflowTest",eI[eI.Flow=3]="Flow",eI[eI.API=4]="API",eI[eI.Aweme=5]="Aweme",(eE=F||(F={}))[eE.Plan=0]="Plan",eE[eE.AgentHook=1]="AgentHook",(eC=G||(G={}))[eC.WithDefaultPrompt=0]="WithDefaultPrompt",eC[eC.WithCustomizedPrompt=1]="WithCustomizedPrompt",eC[eC.Disable=2]="Disable",eC[eC.UseOriginBotMode=3]="UseOriginBotMode",(eO=q||(q={}))[eO.Ask=0]="Ask",eO[eO.Once=1]="Once",eO[eO.Always=2]="Always"},71457:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Followee=1]="Followee",n[n.Follower=2]="Follower",n[n.MutualFollow=3]="MutualFollow",(r=t||(t={}))[r.Unknown=0]="Unknown",r[r.Normal=1]="Normal",r[r.ProfessionalRootUser=2]="ProfessionalRootUser",r[r.ProfessionalBasicAccount=3]="ProfessionalBasicAccount"},75928:function(){"use strict";var e,t;(t=e||(e={}))[t.CommonNoPermission=788780101]="CommonNoPermission",t[t.CommonInvalidParam=788780202]="CommonInvalidParam",t[t.InvalidParamsError=788784e3]="InvalidParamsError"},27030:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Unknown=0]="Unknown",i[i.LegalTender=1]="LegalTender",(o=t||(t={}))[o.Unknown=0]="Unknown",o[o.Purchase=1]="Purchase",o[o.Refund=2]="Refund",o[o.ChargeBack=3]="ChargeBack",(a=n||(n={}))[a.Unknown=0]="Unknown",a[a.Income=1]="Income",a[a.Outcome=2]="Outcome",(s=r||(r={}))[s.Unknown=0]="Unknown",s[s.Withdraw=1]="Withdraw",s[s.Template=2]="Template"},67268:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Co:function(){return i}}),n("83015"),n("85331"),n("38624"),n("34222"),n("47562"),n("31931");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}DeleteCardTemplate(e,t){let n=this.genBaseURL("/api/card_builder/delete_template"),r={creator_id:e.creator_id,template_id:e.template_id,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CardUploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/upload_file"),i={file_name:n.file_name,data:n.data,scene:n.scene,base:n.base},o={"Content-Type":n["Content-Type"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}QueryCardHistory(e,t){let n=this.genBaseURL("/api/card_builder/query_history"),r={card_id:e.card_id,user_id:e.user_id,page:e.page,size:e.size,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CardMetaPublish(e,t){let n=this.genBaseURL("/api/card_builder/publish"),r={creator_id:e.creator_id,draft_card_id:e.draft_card_id,card_id:e.card_id,description:e.description,version_name:e.version_name,thumbnail_info:e.thumbnail_info,base:e.base},i={"use-builder-psm":e["use-builder-psm"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateCardInfo(e,t){let n=this.genBaseURL("/api/card_builder/update"),r={card_id:e.card_id,name:e.name,card_status:e.card_status,creator_id:e.creator_id,edit_card:e.edit_card,base:e.base};return this.request({url:n,method:"POST",data:r},t)}SaveCardTemplate(e,t){let n=this.genBaseURL("/api/card_builder/save_template"),r={creator_id:e.creator_id,channel_type:e.channel_type,thumbnail:e.thumbnail,name:e.name,dsl_content:e.dsl_content,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}MGetCardTemplate(e,t){let n=this.genBaseURL("/api/card_builder/mget_template"),r={creator_id:e.creator_id,size:e.size,page:e.page,channel_type:e.channel_type,category:e.category,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetCardInfo(e,t){let n=this.genBaseURL("/api/card_builder/get_card_info"),r={card_id:e.card_id,channel_type:e.channel_type,version_num:e.version_num,creator_id:e.creator_id,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}QueryCards(e,t){let n=e||{},r=this.genBaseURL("/api/op_card/query_cards"),i={card_condition:n.card_condition,base:n.base};return this.request({url:r,method:"POST",data:i},t)}SaveGenerateHistory(e,t){let n=this.genBaseURL("/api/card_builder/save_generate_history"),r={record_id:e.record_id,card_id:e.card_id,UserID:e.UserID,transfer_status:e.transfer_status,channel_info:e.channel_info,ai_schema:e.ai_schema,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ListCardGenerateHistory(e,t){let n=this.genBaseURL("/api/card_builder/list_card_generate_history"),r={UserID:e.UserID,card_id:e.card_id,page:e.page,size:e.size,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetDefaultPrompt(e,t){let n=this.genBaseURL("/api/card_builder/get_default_prompt"),r={UserID:e.UserID,tool_type:e.tool_type,plugin_id:e.plugin_id,api_id:e.api_id,workflow_id:e.workflow_id,language:e.language,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenerateCard(e,t){let n=this.genBaseURL("/api/card_builder/generate_card"),r={card_id:e.card_id,description:e.description,UserID:e.UserID,language:e.language,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetCardTccInfo(e,t){let n=this.genBaseURL("/api/card_builder/get_card_tcc_info"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}PreviewCard(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/preview"),i={DraftID:n.DraftID,ChannelType:n.ChannelType,Base:n.Base},o={"use-builder-psm":n["use-builder-psm"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}QueryCardList(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/query_card_list"),i={page:n.page,size:n.size,condition:n.condition,base:n.base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}MGetCardInfo(e,t){let n=this.genBaseURL("/api/card_builder/mget_card_info"),r={card_ids:e.card_ids,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenerateCardsThumbnail(e,t){let n=this.genBaseURL("/api/card_builder/generate_cards_thumbnail"),r={card_ids:e.card_ids,base:e.base},i={"space-id":e["space-id"],"use-builder-psm":e["use-builder-psm"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenerateCardStream(e,t){let n=this.genBaseURL("/api/card_builder/generate_card_stream"),r={card_id:e.card_id,description:e.description,UserID:e.UserID,language:e.language,user_data:e.user_data,prompt_version:e.prompt_version,reference:e.reference,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenCardChannelsThumbnail(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/gen_card_channel_thumbnail"),i={DraftID:n.DraftID,Channels:n.Channels,CardID:n.CardID,Base:n.Base},o={"use-builder-psm":n["use-builder-psm"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetTaskProgress(e,t){let n=this.genBaseURL("/api/card_builder/agent/get_task_progress"),r={dataset_id:e.dataset_id,document_ids:e.document_ids,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateAgentInstanceInfo(e,t){let n=this.genBaseURL("/api/card_builder/agent/save_instance"),r={agent_id:e.agent_id,instance_id:e.instance_id,update_param:e.update_param,base:e.base};return this.request({url:n,method:"POST",data:r},t)}AnalyzingPaper(e,t){let n=this.genBaseURL("/api/card_builder/agent/analyzing_paper"),r={uri:e.uri,name:e.name,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteAgentInstance(e,t){let n=this.genBaseURL("/api/card_builder/agent/delete_instance"),r={agent_id:e.agent_id,instance_id:e.instance_id,base:e.base};return this.request({url:n,method:"POST",data:r},t)}CreateAgentInstance(e,t){let n=this.genBaseURL("/api/card_builder/agent/create_instance"),r={agent_id:e.agent_id,name:e.name,init_param:e.init_param,content:e.content,idem_key:e.idem_key,base:e.base};return this.request({url:n,method:"POST",data:r},t)}GetAgentInstanceDetail(e,t){let n=this.genBaseURL("/api/card_builder/agent/get_instance_detail"),r={agent_id:e.agent_id,instance_id:e.instance_id,base:e.base};return this.request({url:n,method:"POST",data:r},t)}ListAgentInstance(e,t){let n=this.genBaseURL("/api/card_builder/agent/instance_list"),r={agent_id:e.agent_id,size:e.size,page:e.page,sort_cond:e.sort_cond,base:e.base};return this.request({url:n,method:"POST",data:r},t)}ListSlice(e,t){let n=this.genBaseURL("/api/card_builder/agent/list_slice"),r={agent_id:e.agent_id,InstanceID:e.InstanceID,dataset_id:e.dataset_id,document_id:e.document_id,page:e.page,size:e.size,base:e.base};return this.request({url:n,method:"POST",data:r},t)}GetAgentDetail(e,t){let n=this.genBaseURL("/api/card_builder/agent/get"),r={agent_id:e.agent_id,base:e.base};return this.request({url:n,method:"POST",data:r},t)}AgentBizUniversal(e,t){let n=this.genBaseURL("/api/card_builder/agent/biz_universal"),r={api_path:e.api_path,method:e.method,query:e.query,body:e.body,Base:e.Base},i={"Content-Type":e["Content-Type"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}AgentUploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/agent/upload_file"),i={data:n.data,Base:n.Base},o={"Content-Type":n["Content-Type"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GenerateCardVariables(e,t){let n=this.genBaseURL("/api/card_builder/generate_card_variables"),r={card_id:e.card_id,language:e.language,desc:e.desc,channel_type:e.channel_type,base:e.base},i={"space-id":e["space-id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetPaperTranslateResult(e,t){let n=this.genBaseURL("/api/card_builder/agent/translate_result_get"),r={agent_id:e.agent_id,instance_id:e.instance_id,base:e.base};return this.request({url:n,method:"POST",data:r},t)}TranslatePaper(e,t){let n=this.genBaseURL("/api/card_builder/agent/translate_paper"),r={agent_id:e.agent_id,instance_id:e.instance_id,base:e.base};return this.request({url:n,method:"POST",data:r},t)}GetImageInfo(e,t){let n=this.genBaseURL("/api/card_builder/get_image_info"),r={file_name:e.file_name,need_data:e.need_data,Base:e.Base},i={"x-jwt-token":e["x-jwt-token"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetJwtToken(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/get_jwt_token"),i={expire_time:n.expire_time,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}TranslateText(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/agent/translate_text"),i={agent_id:n.agent_id,instance_id:n.instance_id,text:n.text,base:n.base};return this.request({url:r,method:"POST",data:i},t)}AnalyseAgentReference(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/agent/save_reference"),i={references:n.references,fast_mode:n.fast_mode,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAgentReference(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/agent/get_reference"),i={reference_url:n.reference_url,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAgentAccompaniedImage(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/agent/get_accompanied_image"),i={scene:n.scene,param:n.param,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveAgentUserSettings(e,t){let n=this.genBaseURL("/api/card_builder/agent/save_setting"),r={agent_id:e.agent_id,setting:e.setting,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetAgentUserSettings(e,t){let n=this.genBaseURL("/api/card_builder/agent/get_settings"),r={agent_id:e.agent_id,setting_keys:e.setting_keys,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}AgentTriggerOpenAPIStream(e,t){let n=this.genBaseURL("/api/card_builder/agent/api_trigger"),r={scene:e.scene,api_type:e.api_type,token:e.token,body:e.body,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetFileInfo(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/get_file_info"),i={file_name:n.file_name,file_url:n.file_url,need_data:n.need_data,Base:n.Base},o={"x-jwt-token":n["x-jwt-token"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetJwtTokenForPlugin(e,t){let n=this.genBaseURL("/api/card_builder/agent/plugin_get_jwt"),r={scene:e.scene,Base:e.Base},i={Authorization:e.Authorization};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetCardUserSettings(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/get_card_user_setting"),i={creator_id:n.creator_id,setting_keys:n.setting_keys,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveCardUserSettings(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/save_card_user_setting"),i={creator_id:n.creator_id,user_settings:n.user_settings,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAgentAccompaniedImageForPlugin(e,t){let n=this.genBaseURL("/api/card_builder/agent/plugin_get_accompanied_image"),r={origin_url:e.origin_url,Base:e.Base},i={Authorization:e.Authorization};return this.request({url:n,method:"POST",data:r,headers:i},t)}AgentTriggerCozeAPI(e,t){let n=this.genBaseURL("/api/card_builder/agent/coze_api_trigger"),r={scene:e.scene,api_type:e.api_type,token:e.token,body:e.body,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GeneralGetTccConfig(e,t){let n=this.genBaseURL("/api/card_builder/get_tcc_config"),r={key:e.key,space:e.space,tcc_service_id:e.tcc_service_id,value_option:e.value_option,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateTemplate(e,t){let n=e||{},r=this.genBaseURL("/api/op_card/update_template"),i={ids:n.ids,operator:n.operator,stage:n.stage,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GenerateCardSuggestion(e,t){let n=this.genBaseURL("/api/card_builder/generate_card_suggestion"),r={description:e.description,candidates_number:e.candidates_number,base:e.base};return this.request({url:n,method:"POST",data:r},t)}AsyncGenThumbnail(e,t){let n=e||{},r=this.genBaseURL("/api/card_builder/async_gen_thumbnail"),i={messages:n.messages,Base:n.Base},o={"space-id":n["space-id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}CheckCardLength(e,t){let n=this.genBaseURL("/api/card_builder/check_card_length"),r={DraftID:e.DraftID,Base:e.Base},i={"use-builder-psm":e["use-builder-psm"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}constructor(e){r(this,"request",()=>{throw Error("CardService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},85331:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew;(j=e||(e={}))[j.Start_Agent=0]="Start_Agent",j[j.LLM_Agent=1]="LLM_Agent",j[j.Task_Agent=2]="Task_Agent",j[j.Global_Agent=3]="Global_Agent",j[j.Bot_Agent=4]="Bot_Agent",(U=t||(t={}))[U.OldVersion=0]="OldVersion",U[U.MiddleVersion=1]="MiddleVersion",U[U.NewVersion=2]="NewVersion",U[U.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(z=n||(n={}))[z.Default=1]="Default",z[z.Customize=2]="Customize",(F=r||(r={}))[F.Direct=1]="Direct",F[F.WebView=2]="WebView",F[F.SendMessage=3]="SendMessage",(G=i||(i={}))[G.Current=1]="Current",G[G.Previous=2]="Previous",G[G.Start=3]="Start",G[G.MostSuitable=4]="MostSuitable",(q=o||(o={}))[q.SingleMode=0]="SingleMode",q[q.MultiMode=1]="MultiMode",q[q.WorkflowMode=2]="WorkflowMode",(W=a||(a={}))[W.Default=0]="Default",W[W.Function=1]="Function",(Z=s||(s={}))[Z.Deleted=0]="Deleted",Z[Z.Using=1]="Using",Z[Z.Banned=2]="Banned",(H=l||(l={}))[H.LimitedReadWrite=1]="LimitedReadWrite",H[H.ReadOnly=2]="ReadOnly",H[H.UnlimitedReadWrite=3]="UnlimitedReadWrite",H[H.RWModeMax=4]="RWModeMax",(V=u||(u={}))[V.Default=0]="Default",V[V.DouyinAvatar=1]="DouyinAvatar",(Q=c||(c={}))[Q.Chat=0]="Chat",Q[Q.FunctionCall_1=1]="FunctionCall_1",Q[Q.FunctionCall_2=2]="FunctionCall_2",Q[Q.FunctionCall_3=3]="FunctionCall_3",(Y=d||(d={}))[Y.NotSet=0]="NotSet",Y[Y.Text=1]="Text",Y[Y.Voice=2]="Voice",Y[Y.Call=3]="Call",($=p||(p={}))[$.Off=0]="Off",$[$.On=1]="On",(K=h||(h={}))[K.Text=1]="Text",K[K.Number=2]="Number",K[K.Date=3]="Date",K[K.Float=4]="Float",K[K.Boolean=5]="Boolean",(X=f||(f={}))[X.Off=0]="Off",X[X.On=1]="On",(J=g||(g={}))[J.SLM=0]="SLM",J[J.LLM=1]="LLM",(ee=m||(m={}))[ee.Pre=1]="Pre",ee[ee.Post=2]="Post",ee[ee.PreAndPost=3]="PreAndPost",(et=_||(_={}))[et.Default=0]="Default",et[et.CustomizePrompt=1]="CustomizePrompt",(en=v||(v={}))[en.ReplyBottom=0]="ReplyBottom",en[en.CardList=1]="CardList",(er=b||(b={}))[er.UnlikeDefault=0]="UnlikeDefault",er[er.UnlikeHarmful=1]="UnlikeHarmful",er[er.UnlikeIncorrect=2]="UnlikeIncorrect",er[er.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",er[er.UnlikeOthers=4]="UnlikeOthers",(ei=y||(y={}))[ei.Default=0]="Default",ei[ei.Like=1]="Like",ei[ei.Unlike=2]="Unlike",(eo=w||(w={}))[eo.FullSupport=0]="FullSupport",eo[eo.PoorSupport=1]="PoorSupport",eo[eo.NotSupport=2]="NotSupport",(ea=S||(S={}))[ea.Plugin=1]="Plugin",ea[ea.Workflow=2]="Workflow",ea[ea.ImageFlow=3]="ImageFlow",ea[ea.Trigger=4]="Trigger",ea[ea.KnowledgeText=5]="KnowledgeText",ea[ea.KnowledgeTable=6]="KnowledgeTable",ea[ea.KnowledgeAutoCall=7]="KnowledgeAutoCall",ea[ea.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",ea[ea.Variable=9]="Variable",ea[ea.Database=10]="Database",ea[ea.LongTermMemory=11]="LongTermMemory",ea[ea.FileBox=12]="FileBox",ea[ea.Onboarding=13]="Onboarding",ea[ea.Suggestion=14]="Suggestion",ea[ea.ShortcutCommand=15]="ShortcutCommand",ea[ea.BackGroundImage=16]="BackGroundImage",ea[ea.TTS=17]="TTS",ea[ea.MultiAgentRecognize=18]="MultiAgentRecognize",ea[ea.KnowledgePhoto=19]="KnowledgePhoto",ea[ea.HookInfo=20]="HookInfo",(es=A||(A={}))[es.Text=0]="Text",es[es.Markdown=1]="Markdown",es[es.JSON=2]="JSON",(el=T||(T={}))[el.Custom=0]="Custom",el[el.Creative=1]="Creative",el[el.Balance=2]="Balance",el[el.Precise=3]="Precise",(eu=x||(x={}))[eu.Curve=0]="Curve",eu[eu.Straight=1]="Straight",(ec=k||(k={}))[ec.Flow=1]="Flow",ec[ec.Host=2]="Host",(ed=M||(M={}))[ed.NO_NEED=1]="NO_NEED",ed[ed.USE_MANUAL=2]="USE_MANUAL",ed[ed.USE_LLM=3]="USE_LLM",(ep=P||(P={}))[ep.FunctionCall=1]="FunctionCall",ep[ep.Independent=2]="Independent",(eh=I||(I={}))[eh.HasUpdates=1]="HasUpdates",eh[eh.IsDelete=2]="IsDelete",(ef=E||(E={}))[ef.ManualUpdate=1]="ManualUpdate",ef[ef.AutoUpdate=2]="AutoUpdate",(eg=C||(C={}))[eg.Default=0]="Default",eg[eg.Explore=1]="Explore",eg[eg.BotStore=2]="BotStore",eg[eg.CozeHome=3]="CozeHome",eg[eg.Playground=4]="Playground",eg[eg.Evaluation=5]="Evaluation",eg[eg.AgentAPP=6]="AgentAPP",eg[eg.PromptOptimize=7]="PromptOptimize",eg[eg.GenerateAgentInfo=8]="GenerateAgentInfo",(em=O||(O={}))[em.SemanticSearch=0]="SemanticSearch",em[em.HybirdSearch=1]="HybirdSearch",em[em.FullTextSearch=20]="FullTextSearch",(e_=D||(D={}))[e_.Public=1]="Public",e_[e_.Anonymous=2]="Anonymous",e_[e_.Custom=3]="Custom",(ev=L||(L={}))[ev.Random=0]="Random",ev[ev.All=1]="All",(eb=B||(B={}))[eb.System=0]="System",eb[eb.Custom=1]="Custom",eb[eb.Disable=2]="Disable",eb[eb.OriBot=3]="OriBot",(ey=N||(N={}))[ey.Off=0]="Off",ey[ey.On=1]="On",(ew=R||(R={}))[ew.Workflow=0]="Workflow",ew[ew.Imageflow=1]="Imageflow",ew[ew.SceneFlow=2]="SceneFlow",ew[ew.ChatFlow=3]="ChatFlow",ew[ew.All=100]="All"},38624:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F;(w=e||(e={}))[w.Copy=1]="Copy",w[w.Delete=2]="Delete",w[w.EnableSwitch=3]="EnableSwitch",w[w.Edit=4]="Edit",(S=t||(t={}))[S.Unknown=0]="Unknown",S[S.Get=1]="Get",S[S.Post=2]="Post",(A=n||(n={}))[A.Unknown=0]="Unknown",A[A.Workflow=1]="Workflow",A[A.Chat=2]="Chat",A[A.ChatV3=3]="ChatV3",(T=r||(r={}))[T.Init=0]="Init",T[T.Success=1]="Success",T[T.Invalid=2]="Invalid",T[T.Failed=3]="Failed",T[T.Interrupt=4]="Interrupt",(x=i||(i={}))[x.Success=1]="Success",x[x.Failed=2]="Failed",x[x.Interrupt=3]="Interrupt",(k=o||(o={}))[k.LinkRejected=-60]="LinkRejected",k[k.VideoRejected=-50]="VideoRejected",k[k.AudioRejected=-40]="AudioRejected",k[k.ImageRejected=-30]="ImageRejected",k[k.TextRejected=-20]="TextRejected",k[k.Rejected=-1]="Rejected",k[k.Approved=1]="Approved",k[k.Pending=100]="Pending",(M=a||(a={}))[M.Template=1]="Template",M[M.Custom=2]="Custom",(P=s||(s={}))[P.Basic=1]="Basic",P[P.List=2]="List",P[P.Custom=3]="Custom",P[P.Slide=4]="Slide",(I=l||(l={}))[I.Draft=0]="Draft",I[I.Published=1]="Published",I[I.UnPublish=2]="UnPublish",(E=u||(u={}))[E.Default=0]="Default",E[E.Empty=1]="Empty",E[E.NeedGenerate=2]="NeedGenerate",E[E.Generating=3]="Generating",E[E.Failed=4]="Failed",E[E.Success=5]="Success",E[E.NeedPublish=6]="NeedPublish",(C=c||(c={}))[C.Default=0]="Default",C[C.Doubao=100]="Doubao",C[C.CiCi=101]="CiCi",C[C.Feishu=200]="Feishu",C[C.WhatsApp=300]="WhatsApp",C[C.Discord=301]="Discord",C[C.Twitter=302]="Twitter",C[C.Telegram=303]="Telegram",C[C.Messenger=304]="Messenger",C[C.LINE=305]="LINE",C[C.Instagram=306]="Instagram",C[C.Slack=307]="Slack",C[C.Reddit=308]="Reddit",(O=d||(d={}))[O.Succeed=0]="Succeed",O[O.Fail=1]="Fail",(D=p||(p={}))[D.Processing=0]="Processing",D[D.Enable=1]="Enable",D[D.Disable=2]="Disable",D[D.Deleted=3]="Deleted",D[D.Failed=9]="Failed",(L=h||(h={}))[L.UnPublished=1]="UnPublished",L[L.Published=2]="Published",(B=f||(f={}))[B.Card=0]="Card",B[B.Agent=1]="Agent",B[B.Audio=2]="Audio",B[B.Thumbnail=3]="Thumbnail",B[B.Video=4]="Video",(N=g||(g={}))[N.PendingVectoring=0]="PendingVectoring",N[N.FinishVectoring=1]="FinishVectoring",N[N.Deactive=9]="Deactive",(R=m||(m={}))[R.Default=0]="Default",R[R.UpdateTime=1]="UpdateTime",R[R.PublishTime=2]="PublishTime",(j=_||(_={}))[j.Desc=0]="Desc",j[j.Asc=1]="Asc",(U=v||(v={}))[U.Copy=1]="Copy",U[U.Replace=2]="Replace",U[U.RollBack=3]="RollBack",(z=b||(b={}))[z.Card=0]="Card",z[z.CardBuilder=1]="CardBuilder",(F=y||(y={}))[F.Plugin=1]="Plugin",F[F.Workflow=2]="Workflow",F[F.Widget=3]="Widget"},34222:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez;(Q=e||(e={}))[Q.Private=1]="Private",Q[Q.Public=2]="Public",Q[Q.AppDefault=3]="AppDefault",(Y=t||(t={}))[Y.RequireAction=0]="RequireAction",Y[Y.RequireMessage=1]="RequireMessage",($=n||(n={}))[$.NotFinished=0]="NotFinished",$[$.Interrupted=1]="Interrupted",$[$.NoResults=2]="NoResults",$[$.WithResults=3]="WithResults",(K=r||(r={}))[K.None=0]="None",K[K.Featured=1]="Featured",K[K.Discoverable=2]="Discoverable",(X=i||(i={}))[X.USER_RES=0]="USER_RES",X[X.USER_LLM_RES=1]="USER_LLM_RES",X[X.USER_LLM_TOOLLEN_RES=2]="USER_LLM_TOOLLEN_RES",X[X.USER_LLM_TOOL_RES=3]="USER_LLM_TOOL_RES",X[X.USER_LLM_TOOL=4]="USER_LLM_TOOL",(J=o||(o={}))[J.Unknown=0]="Unknown",J[J.Single=1]="Single",J[J.Group=2]="Group",(ee=a||(a={}))[ee.Txt=1]="Txt",ee[ee.Image=2]="Image",ee[ee.Audio=3]="Audio",ee[ee.Video=4]="Video",ee[ee.Link=6]="Link",ee[ee.Music=7]="Music",ee[ee.Tako=8]="Tako",ee[ee.File=9]="File",ee[ee.Card=50]="Card",ee[ee.BotCard=51]="BotCard",ee[ee.Widget=52]="Widget",ee[ee.APP=100]="APP",ee[ee.OutputSearchResult=200]="OutputSearchResult",ee[ee.OutputMultiStream=201]="OutputMultiStream",ee[ee.SearchIntentionResult=300]="SearchIntentionResult",(et=s||(s={}))[et.Success=1]="Success",et[et.SystemLimitation=2]="SystemLimitation",et[et.UserLimitation=3]="UserLimitation",(en=l||(l={}))[en.System=0]="System",en[en.User=1]="User",en[en.Assistant=2]="Assistant",en[en.Placeholder=3]="Placeholder",en[en.LLMOutput=4]="LLMOutput",en[en.ToolOutput=5]="ToolOutput",en[en.Function=6]="Function",(er=u||(u={}))[er.ParamErr=1]="ParamErr",er[er.InnerErr=2]="InnerErr",er[er.WebGPT=4]="WebGPT",er[er.ByteArtist=5]="ByteArtist",er[er.Claude=6]="Claude",er[er.Dalle2=7]="Dalle2",er[er.GPT=8]="GPT",er[er.Seed=9]="Seed",er[er.StableDiffusion=10]="StableDiffusion",er[er.RiskSecurity=11]="RiskSecurity",er[er.RequireLocation=12]="RequireLocation",er[er.SigInterrupt=702112002]="SigInterrupt",er[er.Timeout=702112101]="Timeout",er[er.AuthenticationError=702112102]="AuthenticationError",er[er.RateLimitError=702112103]="RateLimitError",er[er.InvalidRequestError=702112104]="InvalidRequestError",er[er.FunctionInputError=702112105]="FunctionInputError",er[er.EngineInternalError=702112106]="EngineInternalError",er[er.MaximumTokenError=702112107]="MaximumTokenError",er[er.NotSupportRoleTypeError=702112108]="NotSupportRoleTypeError",er[er.AbParamsError=702112109]="AbParamsError",er[er.ParseTemplateError=702112110]="ParseTemplateError",er[er.ModelAKInvalidError=702112111]="ModelAKInvalidError",er[er.PluginRequireAuthorityError=702112112]="PluginRequireAuthorityError",er[er.GraceShutdownError=702112113]="GraceShutdownError",er[er.InvalidWorkflowError=702112114]="InvalidWorkflowError",er[er.MaxIterationsError=702112115]="MaxIterationsError",er[er.ModelInsufficientFunds=702112116]="ModelInsufficientFunds",er[er.SeedLongTxtAsync=702112117]="SeedLongTxtAsync",(ei=c||(c={}))[ei.FILE=1]="FILE",ei[ei.IMAGE=2]="IMAGE",ei[ei.AUDIO=3]="AUDIO",(eo=d||(d={}))[eo.Normal=0]="Normal",eo[eo.PluginInterrupt=1]="PluginInterrupt",eo[eo.SeedLongTxt=2]="SeedLongTxt",(ea=p||(p={}))[ea.None=0]="None",ea[ea.GoogleNLP=1]="GoogleNLP",ea[ea.ToutiaoWiki=2]="ToutiaoWiki",(es=h||(h={}))[es.Text=1]="Text",es[es.Video=2]="Video",es[es.Image=3]="Image",es[es.CardRef=5]="CardRef",(el=f||(f={}))[el.Default=1]="Default",el[el.SearchText=2]="SearchText",el[el.SearchVideo=3]="SearchVideo",el[el.ComplexSearchText=4]="ComplexSearchText",el[el.SearchImage=5]="SearchImage",el[el.SearchRichMedia=6]="SearchRichMedia",el[el.SearchRichMediaStrong=7]="SearchRichMediaStrong",el[el.SearchRichMediaWeak=8]="SearchRichMediaWeak",(eu=g||(g={}))[eu.Chat=1]="Chat",eu[eu.Suggest=2]="Suggest",eu[eu.QueryKeyword=3]="QueryKeyword",eu[eu.Workflow=4]="Workflow",eu[eu.OnboardingOnline=5]="OnboardingOnline",eu[eu.OnboardingOffline=6]="OnboardingOffline",eu[eu.Naming=7]="Naming",eu[eu.GenProfile=8]="GenProfile",eu[eu.BrowserPlugin=9]="BrowserPlugin",eu[eu.BrowserPluginSearch=10]="BrowserPluginSearch",eu[eu.BrowserPluginExplain=11]="BrowserPluginExplain",eu[eu.BrowserPluginTranslate=12]="BrowserPluginTranslate",eu[eu.BrowserPluginSummary=13]="BrowserPluginSummary",eu[eu.BrowserPluginGrammar=14]="BrowserPluginGrammar",eu[eu.BrowserPluginRewrite=15]="BrowserPluginRewrite",eu[eu.BrowserPluginWebSummary=16]="BrowserPluginWebSummary",eu[eu.HotSearch=17]="HotSearch",eu[eu.HotSearchPreload=18]="HotSearchPreload",eu[eu.InputSug=19]="InputSug",eu[eu.NewsPush=20]="NewsPush",eu[eu.NewsPushPreload=21]="NewsPushPreload",eu[eu.OnboardingSug=22]="OnboardingSug",eu[eu.OnboardingSugPreload=23]="OnboardingSugPreload",eu[eu.WebNotLogin=24]="WebNotLogin",eu[eu.BackOnboardingSug=25]="BackOnboardingSug",eu[eu.GenCard=26]="GenCard",eu[eu.HighLightMsg=27]="HighLightMsg",eu[eu.HighLightMsgSearch=28]="HighLightMsgSearch",eu[eu.BrowserPluginSelectionQuestion=29]="BrowserPluginSelectionQuestion",eu[eu.BrowserPluginYoutubeSummary=30]="BrowserPluginYoutubeSummary",eu[eu.BrowserPluginRawChain=31]="BrowserPluginRawChain",eu[eu.BrowserPluginPDFReader=32]="BrowserPluginPDFReader",eu[eu.BrowserPluginImgReader=33]="BrowserPluginImgReader",eu[eu.SearchSummary=34]="SearchSummary",eu[eu.PushForceCache=40]="PushForceCache",(ec=m||(m={}))[ec.Nothing=0]="Nothing",ec[ec.DouYin=1]="DouYin",ec[ec.TikTok=2]="TikTok",_||(_={}),(ed=v||(v={}))[ed.System=1]="System",ed[ed.User=2]="User",ed[ed.Assistant=3]="Assistant",ed[ed.Placeholder=4]="Placeholder",ed[ed.Function=5]="Function",(ep=b||(b={}))[ep.Replaceable=1]="Replaceable",ep[ep.Insertable=2]="Insertable",ep[ep.DocumentRef=3]="DocumentRef",ep[ep.KnowledgeCard=4]="KnowledgeCard",ep[ep.MetaPlaceHolder=5]="MetaPlaceHolder",ep[ep.PassThrough=50]="PassThrough",ep[ep.EmbeddedMultimedia=100]="EmbeddedMultimedia",ep[ep.AlaCard=101]="AlaCard",(eh=y||(y={}))[eh.GPT=1]="GPT",eh[eh.Seed=2]="Seed",eh[eh.Claude=3]="Claude",eh[eh.MiniMax=4]="MiniMax",eh[eh.Plugin=5]="Plugin",eh[eh.StableDiffusion=6]="StableDiffusion",eh[eh.ByteArtist=7]="ByteArtist",eh[eh.Edu=8]="Edu",eh[eh.Maas=9]="Maas",eh[eh.QianFan=10]="QianFan",eh[eh.Gemini=11]="Gemini",eh[eh.Moonshot=12]="Moonshot",eh[eh.GLM=13]="GLM",eh[eh.MaaSAutoSync=14]="MaaSAutoSync",eh[eh.QWen=15]="QWen",eh[eh.Cohere=16]="Cohere",eh[eh.Baichuan=17]="Baichuan",eh[eh.Ernie=18]="Ernie",eh[eh.DeekSeek=19]="DeekSeek",eh[eh.Llama=20]="Llama",eh[eh.BytedLLMServer=21]="BytedLLMServer",eh[eh.Yi=22]="Yi",eh[eh.StepFun=23]="StepFun",(ef=w||(w={}))[ef.PromptEvaluatePlatform=1e3]="PromptEvaluatePlatform",ef[ef.FlowApp=2e3]="FlowApp",ef[ef.FlowOPAdmin=3e3]="FlowOPAdmin",ef[ef.FlowAll=3001]="FlowAll",ef[ef.BotPlatform=4e3]="BotPlatform",ef[ef.BotPlatformInhouse=4001]="BotPlatformInhouse",ef[ef.Workflow=5e3]="Workflow",ef[ef.Arena=6e3]="Arena",ef[ef.ArenaInhouse=6001]="ArenaInhouse",ef[ef.Doubao=7e3]="Doubao",(eg=S||(S={}))[eg.GPT3dot5Turbo=1]="GPT3dot5Turbo",eg[eg.GPT4_32k=2]="GPT4_32k",eg[eg.GPT4=3]="GPT4",eg[eg.SeedBeta=4]="SeedBeta",eg[eg.SeedWebGPT=5]="SeedWebGPT",eg[eg.SeedSystem=6]="SeedSystem",eg[eg.SeedMusic=7]="SeedMusic",eg[eg.GPT4_32k0613=8]="GPT4_32k0613",eg[eg.Seed_Img2Text=9]="Seed_Img2Text",eg[eg.Seed_SCTest=10]="Seed_SCTest",eg[eg.Seed_Test=11]="Seed_Test",eg[eg.Seed_WithPlugins=12]="Seed_WithPlugins",eg[eg.GPT3dot5Turbo0613=13]="GPT3dot5Turbo0613",eg[eg.GPT35_Turbo16k=14]="GPT35_Turbo16k",eg[eg.SeedSota=15]="SeedSota",eg[eg.SeedSotaBrowsing=16]="SeedSotaBrowsing",eg[eg.SeedOmni=17]="SeedOmni",eg[eg.SeedFunctionCall=18]="SeedFunctionCall",eg[eg.SeedMain=19]="SeedMain",eg[eg.SeedBrowsingExperiment=20]="SeedBrowsingExperiment",eg[eg.SeedBrowsingOnly=21]="SeedBrowsingOnly",eg[eg.MiniMaxABAB5dot5Chat=22]="MiniMaxABAB5dot5Chat",eg[eg.Echo=23]="Echo",eg[eg.GPT4_0613=24]="GPT4_0613",eg[eg.SeedSystemWithMemory=25]="SeedSystemWithMemory",eg[eg.SeedSystemWithMemoryTest=26]="SeedSystemWithMemoryTest",eg[eg.SeedMap=27]="SeedMap",eg[eg.SeedSuggest=28]="SeedSuggest",eg[eg.SeedComplexInstruction=29]="SeedComplexInstruction",eg[eg.SeedComplexInstructionTest=30]="SeedComplexInstructionTest",eg[eg.Edu=31]="Edu",eg[eg.SeedSuggestOffline=32]="SeedSuggestOffline",eg[eg.SeedOmniSota=33]="SeedOmniSota",eg[eg.SeedStrongCharacterNearlinePortrait=34]="SeedStrongCharacterNearlinePortrait",(em=A||(A={}))[em.FuncBot=1]="FuncBot",em[em.Chain=2]="Chain",em[em.Agent=3]="Agent",em[em.Executor=4]="Executor",(e_=T||(T={}))[e_.InUse=1]="InUse",e_[e_.Pending=5]="Pending",e_[e_.Deleted=10]="Deleted",(ev=x||(x={}))[ev.GPT3dot5Turbo=1]="GPT3dot5Turbo",ev[ev.GPT4=2]="GPT4",ev[ev.Seed=3]="Seed",ev[ev.SeedMultiturn=4]="SeedMultiturn",ev[ev.StableDiffusion=5]="StableDiffusion",ev[ev.ByteArtist=6]="ByteArtist",ev[ev.Claude=7]="Claude",ev[ev.BingChat=8]="BingChat",ev[ev.Bard=9]="Bard",ev[ev.Assistant=10]="Assistant",ev[ev.DallE=11]="DallE",ev[ev.Midjourney=12]="Midjourney",ev[ev.TTSearch=13]="TTSearch",ev[ev.GPTTask=14]="GPTTask",ev[ev.GPT4Browsing=15]="GPT4Browsing",ev[ev.GPT4WithPlugins=16]="GPT4WithPlugins",ev[ev.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",ev[ev.SeedSystem=18]="SeedSystem",ev[ev.Plugin=20]="Plugin",ev[ev.GPT4Plugin=21]="GPT4Plugin",ev[ev.WebGPT=22]="WebGPT",ev[ev.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",ev[ev.AutoPlugin=24]="AutoPlugin",ev[ev.MiniMax=25]="MiniMax",ev[ev.GPT3dot5WithTako=26]="GPT3dot5WithTako",ev[ev.GPT4WithTako=27]="GPT4WithTako",ev[ev.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",ev[ev.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",ev[ev.SeedBeta=30]="SeedBeta",ev[ev.ByteArtistAnime=31]="ByteArtistAnime",ev[ev.GenMusic=32]="GenMusic",ev[ev.GPT48k=33]="GPT48k",ev[ev.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",ev[ev.SeedForTest=35]="SeedForTest",ev[ev.SeedOmniFake=36]="SeedOmniFake",ev[ev.SeedOmniBrowse=37]="SeedOmniBrowse",ev[ev.SeedOmniSota=38]="SeedOmniSota",ev[ev.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",ev[ev.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",ev[ev.CiciSearchMore=41]="CiciSearchMore",ev[ev.CiciSearchLess=42]="CiciSearchLess",ev[ev.CiciSearchBing=43]="CiciSearchBing",ev[ev.SeedOmniPlugin=44]="SeedOmniPlugin",ev[ev.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",ev[ev.GPT40613=46]="GPT40613",ev[ev.SeedForMap=47]="SeedForMap",ev[ev.SeedForMusic=48]="SeedForMusic",ev[ev.XiaoningWithMem=49]="XiaoningWithMem",ev[ev.GPT_35Turbo=100]="GPT_35Turbo",ev[ev.GPT_35Turbo0301=101]="GPT_35Turbo0301",ev[ev.GPT_4=102]="GPT_4",ev[ev.GPT_40314=103]="GPT_40314",ev[ev.GPT_432k=104]="GPT_432k",ev[ev.GPT_432k0314=105]="GPT_432k0314",ev[ev.Seed_Beta=106]="Seed_Beta",ev[ev.Seed_Music=107]="Seed_Music",ev[ev.GPT4_32k0613=108]="GPT4_32k0613",ev[ev.Seed_Img2Text=109]="Seed_Img2Text",ev[ev.Seed_WebGPT=110]="Seed_WebGPT",ev[ev.Seed_WithPlugins=111]="Seed_WithPlugins",ev[ev.GPT_35Turbo0613=112]="GPT_35Turbo0613",ev[ev.GPT_35Turbo16K=113]="GPT_35Turbo16K",ev[ev.Seed_Sota=114]="Seed_Sota",ev[ev.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",ev[ev.Seed_WithSystem=116]="Seed_WithSystem",ev[ev.Seed_Omni=118]="Seed_Omni",ev[ev.SeedFunctionCall=119]="SeedFunctionCall",ev[ev.Seed_Main=120]="Seed_Main",ev[ev.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",ev[ev.SeedBrowsingOnly=122]="SeedBrowsingOnly",ev[ev.Echo=123]="Echo",ev[ev.GPT_40613=124]="GPT_40613",ev[ev.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",ev[ev.Seed_Map=126]="Seed_Map",ev[ev.SeedSuggest=127]="SeedSuggest",ev[ev.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",ev[ev.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",ev[ev.Edu=130]="Edu",ev[ev.Tako_Intent=131]="Tako_Intent",ev[ev.Seed_Text2Img=132]="Seed_Text2Img",ev[ev.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",ev[ev.SeedForDouyin=134]="SeedForDouyin",ev[ev.SeedFunctionCallSp=135]="SeedFunctionCallSp",ev[ev.SeedSuggestOffline=136]="SeedSuggestOffline",ev[ev.SkylarkChat=137]="SkylarkChat",ev[ev.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",ev[ev.SkylarkPro_v1_1_TT=1704353638]="SkylarkPro_v1_1_TT",ev[ev.SkylarkPro_v1_1_TT_BROWSING=1704696164]="SkylarkPro_v1_1_TT_BROWSING",ev[ev.SeedBotTag=1705216686]="SeedBotTag",ev[ev.SeedStrongCharacterAudio=1705220979]="SeedStrongCharacterAudio",(eb=k||(k={}))[eb.GPTOpenAPI=1]="GPTOpenAPI",eb[eb.Maas=2]="Maas",eb[eb.LLMFlow=3]="LLMFlow",eb[eb.Merlin=4]="Merlin",eb[eb.Other=5]="Other",(ey=M||(M={}))[ey.UNK=0]="UNK",ey[ey.GPT3D5=1]="GPT3D5",ey[ey.GPT4=2]="GPT4",(ew=P||(P={}))[ew.Plugin=1]="Plugin",ew[ew.Hook=2]="Hook",ew[ew.GptEngine=3]="GptEngine",ew[ew.Edu=4]="Edu",ew[ew.OPENAPI=5]="OPENAPI",(eS=I||(I={}))[eS.Unknown_MultiStreamScene=0]="Unknown_MultiStreamScene",eS[eS.CrowdTesting=1]="CrowdTesting",(eA=E||(E={}))[eA.Unknown_MultiStreamStatus=0]="Unknown_MultiStreamStatus",eA[eA.Start=1]="Start",eA[eA.End=2]="End",(eT=C||(C={}))[eT.Prologue=1]="Prologue",eT[eT.SuggestedQuestion=2]="SuggestedQuestion",(ex=O||(O={}))[ex.LLM_GEN=1]="LLM_GEN",ex[ex.LLM_GEN_THEN_TRANSLATE=2]="LLM_GEN_THEN_TRANSLATE",ex[ex.MANUAL=3]="MANUAL",ex[ex.MANUAL_THEN_TRANSLATE=4]="MANUAL_THEN_TRANSLATE",(ek=D||(D={}))[ek.FIRST_MET=1]="FIRST_MET",ek[ek.WELCOME_BACK=2]="WELCOME_BACK",(eM=L||(L={}))[eM.NO_NEED=1]="NO_NEED",eM[eM.USE_MANUAL=2]="USE_MANUAL",eM[eM.USE_LLM=3]="USE_LLM",(eP=B||(B={}))[eP.None=0]="None",eP[eP.OnboardingNotDisplay=1]="OnboardingNotDisplay",eP[eP.OnboardingPreset=2]="OnboardingPreset",eP[eP.OnboardingLLMGen=3]="OnboardingLLMGen",(eI=N||(N={}))[eI.One=1]="One",(eE=R||(R={}))[eE.PreGen_Query=1]="PreGen_Query",eE[eE.PreGen_PreQuery=2]="PreGen_PreQuery",eE[eE.PreGen_Continue=3]="PreGen_Continue",eE[eE.PreGen_End=4]="PreGen_End",(eC=j||(j={}))[eC.Block=0]="Block",eC[eC.Streaming=1]="Streaming",eC[eC.Full=2]="Full",(eO=U||(U={}))[eO.FString=1]="FString",eO[eO.Jinja2=2]="Jinja2",eO[eO.None=4]="None",(eD=z||(z={}))[eD.Answer=1]="Answer",eD[eD.Suggest=2]="Suggest",eD[eD.LLMOutput=3]="LLMOutput",eD[eD.ToolOutput=4]="ToolOutput",eD[eD.DataSet=5]="DataSet",eD[eD.QueryKeyword=6]="QueryKeyword",eD[eD.IntermediateOutput=7]="IntermediateOutput",eD[eD.Verbose=100]="Verbose",eD[eD.PlaceHolder=101]="PlaceHolder",(eL=F||(F={}))[eL.ResultType_Default=0]="ResultType_Default",eL[eL.ResultType_PluginResponse=1]="ResultType_PluginResponse",eL[eL.ResultType_PluginIntent=2]="ResultType_PluginIntent",eL[eL.ResultType_Variables=3]="ResultType_Variables",eL[eL.ResultType_None=4]="ResultType_None",eL[eL.ResultType_BotSchema=5]="ResultType_BotSchema",eL[eL.ResultType_ReferenceVariable=6]="ResultType_ReferenceVariable",(eB=G||(G={}))[eB.ResumeDefault=0]="ResumeDefault",eB[eB.PluginAuthorized=1]="PluginAuthorized",eB[eB.PluginAsync=2]="PluginAsync",eB[eB.PluginInterrupt=3]="PluginInterrupt",(eN=q||(q={}))[eN.Nothing=0]="Nothing",eN[eN.Google=1]="Google",eN[eN.DouYin=2]="DouYin",eN[eN.TouTiao=4]="TouTiao",(eR=W||(W={}))[eR.BotStudioSubmit=1]="BotStudioSubmit",eR[eR.BotStudioWorkflowTest=2]="BotStudioWorkflowTest",eR[eR.Flow=3]="Flow",eR[eR.API=4]="API",eR[eR.Aweme=5]="Aweme",(ej=Z||(Z={}))[ej.Plan=0]="Plan",ej[ej.AgentHook=1]="AgentHook",(eU=H||(H={}))[eU.WithDefaultPrompt=0]="WithDefaultPrompt",eU[eU.WithCustomizedPrompt=1]="WithCustomizedPrompt",eU[eU.Disable=2]="Disable",eU[eU.UseOriginBotMode=3]="UseOriginBotMode",(ez=V||(V={}))[ez.Ask=0]="Ask",ez[ez.Once=1]="Once",ez[ez.Always=2]="Always"},47562:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.FString=1]="FString",i[i.Jinja2=2]="Jinja2",i[i.GoTemplate=3]="GoTemplate",(o=t||(t={}))[o.DocumentReference=1]="DocumentReference",(a=n||(n={}))[a.PluginResponse=1]="PluginResponse",a[a.PluginIntent=2]="PluginIntent",a[a.Variables=3]="Variables",a[a.None=4]="None",a[a.BotSchema=5]="BotSchema",a[a.ReferenceVariable=6]="ReferenceVariable",(s=r||(r={}))[s.Plugin=1]="Plugin",s[s.PluginAsService=2]="PluginAsService",s[s.Service=3]="Service"},31931:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.TextInput=0]="TextInput",r[r.Select=1]="Select",r[r.UploadImage=2]="UploadImage",r[r.UploadDoc=3]="UploadDoc",r[r.UploadTable=4]="UploadTable",r[r.UploadAudio=5]="UploadAudio",r[r.MixUpload=6]="MixUpload",r[r.VIDEO=7]="VIDEO",r[r.ARCHIVE=8]="ARCHIVE",r[r.CODE=9]="CODE",r[r.TXT=10]="TXT",r[r.PPT=11]="PPT",(i=t||(t={}))[i.SendTypeQuery=0]="SendTypeQuery",i[i.SendTypePanel=1]="SendTypePanel",(o=n||(n={}))[o.ToolTypeWorkFlow=1]="ToolTypeWorkFlow",o[o.ToolTypePlugin=2]="ToolTypePlugin"},352:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("12618"),n("22103"),n("40081");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetFeishuBaseConfig(e,t){let n=this.genBaseURL("/api/connector_api/get_feishu_base_config"),r={bot_id:e.bot_id};return this.request({url:n,method:"GET",params:r},t)}OpenAPIUpdateConnectorBot(e,t){let n=this.genBaseURL("/open_api/v1/connector/update_connector_bot"),r={bot_id:e.bot_id,audit_status:e.audit_status,reason:e.reason,share_link:e.share_link,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetOauthConfigSchema(e,t){let n=this.genBaseURL("/api/connector/oauth_config/get_schema");return this.request({url:n,method:"GET"},t)}UpdateOauthConfig(e,t){let n=e||{},r=this.genBaseURL("/api/connector/oauth_config/update"),i={connector_id:n.connector_id,oauth_config:n.oauth_config};return this.request({url:r,method:"POST",data:i},t)}CreateConnector(e,t){let n=e||{},r=this.genBaseURL("/api/connector/create"),i={connector_title:n.connector_title,connector_desc:n.connector_desc,connector_icon_uri:n.connector_icon_uri,oauth_app_id:n.oauth_app_id,callback_url:n.callback_url,space_id_list:n.space_id_list};return this.request({url:r,method:"POST",data:i},t)}UpdateConnector(e,t){let n=e||{},r=this.genBaseURL("/api/connector/update"),i={id:n.id,connector_title:n.connector_title,connector_desc:n.connector_desc,connector_icon_uri:n.connector_icon_uri,oauth_app_id:n.oauth_app_id,callback_url:n.callback_url,space_id_list:n.space_id_list};return this.request({url:r,method:"POST",data:i},t)}DeleteConnector(e,t){let n=this.genBaseURL("/api/connector/delete"),r={id:(e||{}).id};return this.request({url:n,method:"POST",data:r},t)}ListConnector(e,t){let n=e||{},r=this.genBaseURL("/api/connector/list"),i={page_token:n.page_token,page_size:n.page_size};return this.request({url:r,method:"POST",data:i},t)}UpdateFeishuBaseCompleteStatus(e,t){let n=this.genBaseURL("/api/connector_api/update_feishu_base_complete_status"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}CreatePreviewVersion(e,t){let n=this.genBaseURL("/api/connector/create_preview_version"),r={agent_id:e.agent_id,agent_type:e.agent_type,connector_ids:e.connector_ids,Base:e.Base},i={"COZE-WX-TEMPLATE-ID":e["COZE-WX-TEMPLATE-ID"],"COZE-DY-TEMPLATE-ID":e["COZE-DY-TEMPLATE-ID"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetPreviewConnector(e,t){let n=this.genBaseURL("/api/connector/get_preview_connector"),r={Base:(e||{}).Base};return this.request({url:n,method:"GET",params:r},t)}OpenAPIInstallConnectorToWorkspace(e,t){let n=this.genBaseURL(`/v1/connectors/${e.connector_id}/install`),r={workspace_id:e.workspace_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OpenAPIBindConnectorUserConfig(e,t){let n=this.genBaseURL(`/v1/connectors/${e.connector_id}/user_configs`),r={configs:e.configs,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BindSpaceConnector(e,t){let n=e||{},r=this.genBaseURL("/api/connector/bind_space"),i={connector_id_list:n.connector_id_list,space_id:n.space_id,uninstall:n.uninstall};return this.request({url:r,method:"POST",data:i},t)}ListSpaceConnector(e,t){let n=e||{},r=this.genBaseURL("/api/connector/space_connector/list"),i={page_token:n.page_token,page_size:n.page_size,connector_type:n.connector_type,search_word:n.search_word,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("ConnectorApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},12618:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Private=1]="Private",n[n.Public=2]="Public",(r=t||(t={}))[r.Team=1]="Team",r[r.Public=2]="Public",r[r.Official=3]="Official",r[r.InstalledPublic=4]="InstalledPublic"},22103:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Text=1]="Text",n[n.SingleSelect=2]="SingleSelect",n[n.MultiSelect=3]="MultiSelect",n[n.FieldSelector=4]="FieldSelector",(r=t||(t={}))[r.None=0]="None",r[r.Object=1]="Object"},40081:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.Progress=1]="Progress",t[t.Audited=2]="Audited",t[t.Reject=3]="Reject"},31828:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Co:function(){return i}}),n("83015"),n("85001"),n("91187"),n("73610"),n("24184"),n("91468"),n("23330"),n("48327"),n("64462"),n("95312"),n("57487"),n("41062");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}Ping(e,t){let n=this.genBaseURL("/api/devops/debugger/v1/ping"),r={ping_message:e.ping_message,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}BindMockSet(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSetBindingInfos"),i={mockSetID:n.mockSetID,bizCtx:n.bizCtx,mockSubject:n.mockSubject,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetMockSetBinding(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSetBindingInfos/mget"),i={bizCtx:n.bizCtx,mockSubject:n.mockSubject,needMockSetDetail:n.needMockSetDetail,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveMockRule(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockRules"),i={name:n.name,description:n.description,mocksetID:n.mocksetID,bizCtx:n.bizCtx,priority:n.priority,id:n.id,requestFilter:n.requestFilter,responseExpect:n.responseExpect,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetMockRule(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockRules/mget"),i={bizCtx:n.bizCtx,mockSetID:n.mockSetID,creatorID:n.creatorID,pageLimit:n.pageLimit,pageToken:n.pageToken,ids:n.ids,orderBy:n.orderBy,desc:n.desc,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetMockSet(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSets/mget"),i={bizCtx:n.bizCtx,mockSubject:n.mockSubject,creatorID:n.creatorID,pageLimit:n.pageLimit,pageToken:n.pageToken,ids:n.ids,orderBy:n.orderBy,desc:n.desc,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetMockSetUsageInfo(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSets/usage/get"),i={mockSetID:n.mockSetID,spaceID:n.spaceID,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveMockSet(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSets"),i={name:n.name,description:n.description,mockSubject:n.mockSubject,bizCtx:n.bizCtx,id:n.id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteMockRule(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockRules/delete"),i={id:n.id,bizCtx:n.bizCtx,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteMockSet(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/mockSets/delete"),i={id:n.id,bizCtx:n.bizCtx,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteCaseData(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/delete"),i={bizCtx:n.bizCtx,caseIDs:n.caseIDs,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CheckCaseDuplicate(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/check"),i={bizCtx:n.bizCtx,caseName:n.caseName,bizComponentSubject:n.bizComponentSubject,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}AutoGenerateCaseData(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/autogen"),i={bizCtx:n.bizCtx,bizComponentSubject:n.bizComponentSubject,count:n.count,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveCaseData(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/save"),i={bizCtx:n.bizCtx,bizComponentSubject:n.bizComponentSubject,caseBase:n.caseBase,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetSchemaByID(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/schema"),i={bizCtx:n.bizCtx,bizComponentSubject:n.bizComponentSubject,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetCaseData(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/testcase/casedata/mget"),i={bizCtx:n.bizCtx,bizComponentSubject:n.bizComponentSubject,pageLimit:n.pageLimit,nextToken:n.nextToken,caseName:n.caseName,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetDevopsFeatureGates(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/featureGates"),i={fgNames:n.fgNames,spaceID:n.spaceID,botID:n.botID,userID:n.userID,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CancelMockDataAutoGenTask(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/autogenMockDataTask/cancel"),i={taskID:n.taskID,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateMockDataAutoGenTask(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/autogenMockDataTask"),i={mockSetID:n.mockSetID,quantity:n.quantity,desc:n.desc,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetMockDataAutoGenTaskChoices(e,t){let n=e||{},r=this.genBaseURL("/api/devops/debugger/v1/coze/autogenMockDataTask/get"),i={taskID:n.taskID,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("DebuggerApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},85001:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.PlainText=0]="PlainText",r[r.MarkdownBox=11]="MarkdownBox",r[r.Image=12]="Image",r[r.File=13]="File",r[r.JSONString=14]="JSONString",r[r.TextFile=15]="TextFile",r[r.MultiContent=16]="MultiContent",r[r.DefinedText=17]="DefinedText",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.Null=1]="Null",i[i.String=2]="String",i[i.Number=3]="Number",i[i.Bool=4]="Bool",i[i.Array=5]="Array",i[i.Object=6]="Object",(o=n||(n={}))[o.System=1]="System",o[o.User=2]="User",o[o.Assistant=3]="Assistant",o[o.Placeholder=4]="Placeholder",o[o.LLMOutput=5]="LLMOutput",o[o.ToolOutput=6]="ToolOutput",o[o.Function=7]="Function"},91187:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.RPC=1]="RPC",s[s.PSMHTTP=2]="PSMHTTP",s[s.Open=3]="Open",(l=t||(t={}))[l.Unknown=0]="Unknown",l[l.Score=1]="Score",l[l.Value=2]="Value",l[l.Select=3]="Select",l[l.PlainText=4]="PlainText",(u=n||(n={}))[u.Double=0]="Double",u[u.Int=1]="Int",(c=r||(r={}))[c.Unknown=0]="Unknown",c[c.Row=1]="Row",c[c.RowGroup=2]="RowGroup",(d=i||(i={}))[d.default=0]="default",d[d.JWT=1]="JWT",(p=o||(o={}))[p.Undefined=0]="Undefined",p[p.Get=1]="Get",p[p.Post=2]="Post",(h=a||(a={}))[h.Unknown=0]="Unknown",h[h.GPTOpenAPI=1]="GPTOpenAPI",h[h.MAAS=2]="MAAS"},73610:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.LLMPlanning=1]="LLMPlanning",r[r.ToolCall=2]="ToolCall",r[r.CozeVerbose=100]="CozeVerbose",(i=t||(t={}))[i.Prompt=1]="Prompt",i[i.PythonCode=2]="PythonCode",i[i.JSCode=3]="JSCode",i[i.Manual=7]="Manual",i[i.FornaxPrompt=10]="FornaxPrompt",i[i.CozePrompt=11]="CozePrompt",i[i.BuiltinEquals=1e4]="BuiltinEquals",i[i.BuiltinNotEquals=10001]="BuiltinNotEquals",i[i.BuiltinContains=10002]="BuiltinContains",i[i.BuiltinNotContains=10003]="BuiltinNotContains",i[i.BuiltinIContains=10004]="BuiltinIContains",i[i.BuiltinNotIContains=10005]="BuiltinNotIContains",i[i.BuiltinRegex=10006]="BuiltinRegex",i[i.BuiltinNotRegex=10007]="BuiltinNotRegex",i[i.BuiltinStartsWith=10008]="BuiltinStartsWith",i[i.BuiltinNotStartsWith=10009]="BuiltinNotStartsWith",i[i.BuiltinContainsAny=10010]="BuiltinContainsAny",i[i.BuiltinNotContainsAny=10011]="BuiltinNotContainsAny",i[i.BuiltinContainsAll=10012]="BuiltinContainsAll",i[i.BuiltinNotContainsAll=10013]="BuiltinNotContainsAll",i[i.BuiltinIContainsAny=10014]="BuiltinIContainsAny",i[i.BuiltinNotIContainsAny=10015]="BuiltinNotIContainsAny",i[i.BuiltinIContainsAll=10016]="BuiltinIContainsAll",i[i.BuiltinNotIContainsAll=10017]="BuiltinNotIContainsAll",i[i.BuiltinIsJSON=10018]="BuiltinIsJSON",i[i.BuiltinNotIsJSON=10019]="BuiltinNotIsJSON",i[i.BuiltinContainsJSON=10020]="BuiltinContainsJSON",i[i.BuiltinNotContainsJSON=10021]="BuiltinNotContainsJSON",i[i.BuiltinIsValidJSONObject=10022]="BuiltinIsValidJSONObject",i[i.BuiltinNotIsValidJSONObject=10023]="BuiltinNotIsValidJSONObject",i[i.BuiltinConcisenessCriteriaEval=20001]="BuiltinConcisenessCriteriaEval",i[i.BuiltinRelevanceCriteriaEval=20002]="BuiltinRelevanceCriteriaEval",i[i.BuiltinHarmfulnessCriteriaEval=20003]="BuiltinHarmfulnessCriteriaEval",i[i.BuiltinMaliciousnessCriteriaEval=20004]="BuiltinMaliciousnessCriteriaEval",i[i.BuiltinHelpfulnessCriteriaEval=20005]="BuiltinHelpfulnessCriteriaEval",i[i.BuiltinControversialityCriteriaEval=20006]="BuiltinControversialityCriteriaEval",i[i.BuiltinMisogynyCriteriaEval=20007]="BuiltinMisogynyCriteriaEval",i[i.BuiltinCriminalityCriteriaEval=20008]="BuiltinCriminalityCriteriaEval",i[i.BuiltinInsensitivityCriteriaEval=20009]="BuiltinInsensitivityCriteriaEval",i[i.BuiltinDepthCriteriaEval=20010]="BuiltinDepthCriteriaEval",i[i.BuiltinCreativityCriteriaEval=20011]="BuiltinCreativityCriteriaEval",i[i.BuiltinDetailCriteriaEval=20012]="BuiltinDetailCriteriaEval",i[i.BuiltinCorrectnessEval=20013]="BuiltinCorrectnessEval",i[i.BuiltinSpecTestLanguageConsistency=20014]="BuiltinSpecTestLanguageConsistency",i[i.BuiltinSpecTestResponseDenialCheck=20015]="BuiltinSpecTestResponseDenialCheck",i[i.BuiltinSpecTestContentAuthenticity=20016]="BuiltinSpecTestContentAuthenticity",i[i.BuiltinSpecTestContentAccuracy=20017]="BuiltinSpecTestContentAccuracy",i[i.BuiltinSpecTestNeedFulfillment=20018]="BuiltinSpecTestNeedFulfillment",i[i.BuiltinSpecTestResponseTimeliness=20019]="BuiltinSpecTestResponseTimeliness",i[i.BuiltinSpecTestResponseRedundancy=20020]="BuiltinSpecTestResponseRedundancy",i[i.BuiltinSpecTestCharacterConsistency=20021]="BuiltinSpecTestCharacterConsistency",i[i.BuiltinSpecTestAnthropomorphismLevel=20022]="BuiltinSpecTestAnthropomorphismLevel",i[i.BuiltinSpecTestIOSematicSimilarity=20023]="BuiltinSpecTestIOSematicSimilarity",i[i.BuiltinSpecTestAOSematicSimilarity=20024]="BuiltinSpecTestAOSematicSimilarity",i[i.BuiltinSpecTestImageGenerationConsistency=20025]="BuiltinSpecTestImageGenerationConsistency",i[i.BuiltinSpecTestImageAesthetics=20026]="BuiltinSpecTestImageAesthetics",i[i.BuiltinSpecTestResponseCompleteness=20027]="BuiltinSpecTestResponseCompleteness",i[i.BuiltinSpecTestTextToImageGenerationCompleteness=20028]="BuiltinSpecTestTextToImageGenerationCompleteness",i[i.BuiltinSpecTestCodeGenerationScoring=20029]="BuiltinSpecTestCodeGenerationScoring",i[i.BuiltinSpecTestPluginCallingCorrectness=20030]="BuiltinSpecTestPluginCallingCorrectness",i[i.BuiltinSpecTestPluginParametersCorrectness=20031]="BuiltinSpecTestPluginParametersCorrectness",i[i.BuiltinSpecTestWorkflowCallingCorrectness=20032]="BuiltinSpecTestWorkflowCallingCorrectness",i[i.BuiltinSpecTestWorkflowParametersCorrectness=20033]="BuiltinSpecTestWorkflowParametersCorrectness",i[i.BuiltinSpecTestTriggerCallingCorrectness=20034]="BuiltinSpecTestTriggerCallingCorrectness",i[i.BuiltinSpecTestTriggerParametersCorrectness=20035]="BuiltinSpecTestTriggerParametersCorrectness",i[i.BuiltinSpecTestChoreographyAccuracy=20036]="BuiltinSpecTestChoreographyAccuracy",i[i.BuiltinFornaxPromptLeakDetection=20200]="BuiltinFornaxPromptLeakDetection",i[i.BuiltinDefaultMetric=30001]="BuiltinDefaultMetric",i[i.BuiltinCustomMetric=30002]="BuiltinCustomMetric",(o=n||(n={}))[o.Success=1]="Success",o[o.Fail=2]="Fail"},24184:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Running=1]="Running",n[n.Success=2]="Success",n[n.Failure=3]="Failure",(r=t||(t={}))[r.DraftBot=1]="DraftBot",r[r.ProductBot=2]="ProductBot"},91468:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=1]="Unknown",n[n.Desc=2]="Desc",(r=t||(t={}))[r.Unknown=1]="Unknown",r[r.Bool=2]="Bool",r[r.I32=3]="I32",r[r.I64=4]="I64",r[r.F64=5]="F64",r[r.String=6]="String"},23330:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=1]="Unknown",t[t.Eq=2]="Eq",t[t.Gte=3]="Gte",t[t.Lte=4]="Lte",t[t.Containsall=5]="Containsall",t[t.In=6]="In",t[t.NotIn=7]="NotIn"},48327:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Start=2]="Start",r[r.Agent=3]="Agent",r[r.LLMCall=4]="LLMCall",r[r.Workflow=5]="Workflow",r[r.WorkflowStart=6]="WorkflowStart",r[r.WorkflowEnd=7]="WorkflowEnd",r[r.Plugin=8]="Plugin",r[r.Knowledge=9]="Knowledge",r[r.Code=10]="Code",r[r.Condition=11]="Condition",r[r.Card=12]="Card",r[r.Message=13]="Message",r[r.Variable=14]="Variable",r[r.Database=15]="Database",r[r.LongTermMemory=16]="LongTermMemory",r[r.Hook=17]="Hook",r[r.Batch=18]="Batch",r[r.Loop=19]="Loop",r[r.Parallel=20]="Parallel",r[r.Script=21]="Script",r[r.CallFlow=22]="CallFlow",r[r.Connector=23]="Connector",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.Success=2]="Success",i[i.Error=3]="Error",i[i.Broken=4]="Broken",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.UserInput=2]="UserInput",o[o.ThirdParty=3]="ThirdParty",o[o.ScheduledTasks=4]="ScheduledTasks",o[o.OpenDialog=5]="OpenDialog",o[o.InvokeAgent=6]="InvokeAgent",o[o.RestartAgent=7]="RestartAgent",o[o.SwitchAgent=8]="SwitchAgent",o[o.LLMCall=9]="LLMCall",o[o.LLMBatchCall=10]="LLMBatchCall",o[o.Workflow=11]="Workflow",o[o.WorkflowStart=12]="WorkflowStart",o[o.WorkflowEnd=13]="WorkflowEnd",o[o.PluginTool=14]="PluginTool",o[o.PluginToolBatch=15]="PluginToolBatch",o[o.Knowledge=16]="Knowledge",o[o.Code=17]="Code",o[o.CodeBatch=18]="CodeBatch",o[o.Condition=19]="Condition",o[o.Chain=20]="Chain",o[o.Card=21]="Card",o[o.WorkflowMessage=22]="WorkflowMessage",o[o.WorkflowLLMCall=23]="WorkflowLLMCall",o[o.WorkflowLLMBatchCall=24]="WorkflowLLMBatchCall",o[o.WorkflowCode=25]="WorkflowCode",o[o.WorkflowCodeBatch=26]="WorkflowCodeBatch",o[o.WorkflowCondition=27]="WorkflowCondition",o[o.WorkflowPluginTool=28]="WorkflowPluginTool",o[o.WorkflowPluginToolBatch=29]="WorkflowPluginToolBatch",o[o.WorkflowKnowledge=30]="WorkflowKnowledge",o[o.WorkflowVariable=31]="WorkflowVariable",o[o.WorkflowDatabase=32]="WorkflowDatabase",o[o.Variable=33]="Variable",o[o.Database=34]="Database",o[o.LongTermMemory=35]="LongTermMemory",o[o.Hook=36]="Hook",o[o.BWStart=37]="BWStart",o[o.BWEnd=38]="BWEnd",o[o.BWBatch=39]="BWBatch",o[o.BWLoop=40]="BWLoop",o[o.BWCondition=41]="BWCondition",o[o.BWLLM=42]="BWLLM",o[o.BWParallel=43]="BWParallel",o[o.BWScript=44]="BWScript",o[o.BWVariable=45]="BWVariable",o[o.BWCallFlow=46]="BWCallFlow",o[o.BWConnector=47]="BWConnector",o[o.UserInputV2=48]="UserInputV2"},64462:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Undefined=0]="Undefined",a[a.MockSet=1]="MockSet",(s=t||(t={}))[s.Undefined=0]="Undefined",s[s.CozePlugin=1e4]="CozePlugin",s[s.CozeTool=10001]="CozeTool",s[s.CozeWorkflow=10002]="CozeWorkflow",s[s.CozeSubWorkflow=10003]="CozeSubWorkflow",s[s.CozeLLMNode=10004]="CozeLLMNode",s[s.CozeCodeNode=10005]="CozeCodeNode",s[s.CozeKnowledgeNode=10006]="CozeKnowledgeNode",s[s.CozeToolNode=10007]="CozeToolNode",s[s.CozeStartNode=10008]="CozeStartNode",s[s.CozeVariableNode=10009]="CozeVariableNode",s[s.CozeVariableBot=2e4]="CozeVariableBot",s[s.CozeVariableChat=20001]="CozeVariableChat",(l=n||(n={}))[l.Coze=0]="Coze",(u=r||(r={}))[u.Debug=0]="Debug",(c=i||(i={}))[c.UpdateTime=1]="UpdateTime",(d=o||(o={}))[d.Undefined=0]="Undefined",d[d.CozeSingleAgentDebug=1e4]="CozeSingleAgentDebug",d[d.CozeMultiAgentDebug=10001]="CozeMultiAgentDebug",d[d.CozeToolDebug=10002]="CozeToolDebug",d[d.CozeWorkflowDebug=10003]="CozeWorkflowDebug"},95312:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Undefined=0]="Undefined",r[r.Success=1]="Success",r[r.Incompatible=2]="Incompatible",r[r.Deleted=3]="Deleted",r[r.EmptyRule=4]="EmptyRule",r[r.NotHitGray=5]="NotHitGray",(i=t||(t={}))[i.Undefined=0]="Undefined",i[i.ByPass=1]="ByPass",(o=n||(n={}))[o.Undefined=0]="Undefined",o[o.JSON=1]="JSON"},57487:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.System=1]="System",n[n.User=2]="User",n[n.Assistant=3]="Assistant",n[n.Function=4]="Function",(r=t||(t={}))[r.Default=1]="Default",r[r.History=2]="History",r[r.SystemPrompt=3]="SystemPrompt",r[r.Output=4]="Output",r[r.Input=5]="Input"},41062:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Undefined=0]="Undefined",r[r.JSON=1]="JSON",(i=t||(t={}))[i.Undefined=0]="Undefined",i[i.GPT=1]="GPT",i[i.Skylark=2]="Skylark",(o=n||(n={}))[o.Undefined=0]="Undefined",o[o.Finished=1]="Finished",o[o.Pending=2]="Pending",o[o.Running=3]="Running",o[o.Canceled=4]="Canceled",o[o.Failed=5]="Failed"},83321:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZPm:function(){return i}}),n("83015"),n("84828"),n("41621"),n("2957"),n("55861"),n("28411"),n("41830"),n("72527"),n("93341"),n("39974"),n("16909"),n("98744"),n("2051");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}AddTask(e,t){let n=e||{},r=this.genBaseURL("/api/playground/add_task"),i={name:n.name,target:n.target,task_type:n.task_type,bot_id:n.bot_id,bot_name:n.bot_name,bot_desc_to_human:n.bot_desc_to_human,bot_uri:n.bot_uri};return this.request({url:r,method:"POST",data:i},t)}SubmitTask(e,t){let n=e||{},r=this.genBaseURL("/api/playground/submit_task"),i={task_id:n.task_id,model:n.model,temperature:n.temperature,max_tokens:n.max_tokens,top_p:n.top_p,frequency_penalty:n.frequency_penalty,presence_penalty:n.presence_penalty,messages:n.messages};return this.request({url:r,method:"POST",data:i},t)}AlterTable(e,t){let n=this.genBaseURL("/api/table/alter"),r={bot_id:e.bot_id,table_id:e.table_id,name:e.name,desc:e.desc,field_list:e.field_list};return this.request({url:n,method:"POST",data:r},t)}TableInfoQuery(e,t){let n=e||{},r=this.genBaseURL("/api/table/info/query"),i={keyword:n.keyword,bot_id:n.bot_id,table_id:n.table_id,offset:n.offset,limit:n.limit};return this.request({url:r,method:"POST",data:i},t)}TableInfoUpdate(e,t){let n=e||{},r=this.genBaseURL("/api/table/info/update"),i={bot_id:n.bot_id,table_id:n.table_id,data_list:n.data_list};return this.request({url:r,method:"POST",data:i},t)}GetSSOUserInfo(e,t){let n=this.genBaseURL("/api/developer/get_sso_user_info");return this.request({url:n,method:"POST"},t)}DeleteDataSet(e,t){let n=this.genBaseURL("/api/dataset/delete"),r={id:(e||{}).id};return this.request({url:n,method:"POST",data:r},t)}TableInfoDelete(e,t){let n=e||{},r=this.genBaseURL("/api/table/info/delete"),i={bot_id:n.bot_id,table_id:n.table_id,data_ids:n.data_ids};return this.request({url:r,method:"POST",data:i},t)}RevertPlaygroundRecord(e,t){let n=e||{},r=this.genBaseURL("/api/playground/revert_playground_record"),i={version:n.version,task_id:n.task_id};return this.request({url:r,method:"POST",data:i},t)}UpdateBot(e,t){let n=this.genBaseURL("/api/bot/update_bot"),r={bot_id:e.bot_id,name:e.name,description_for_human:e.description_for_human,icon_uri:e.icon_uri,delete:e.delete};return this.request({url:n,method:"POST",data:r},t)}BindCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/bind_card"),i={plugin_id:n.plugin_id,api_name:n.api_name,card_id:n.card_id,bot_id:n.bot_id,mapping_rule:n.mapping_rule,max_display_rows:n.max_display_rows,card_version_num:n.card_version_num,agent_id:n.agent_id,llm_text_card:n.llm_text_card,biz_type:n.biz_type,business_id:n.business_id,unique_id:n.unique_id,plugin_preset_card_selected:n.plugin_preset_card_selected};return this.request({url:r,method:"POST",data:i},t)}SavePlugin(e,t){let n=e||{},r=this.genBaseURL("/api/developer/save_plugin"),i={plugin_id:n.plugin_id,item_infos:n.item_infos};return this.request({url:r,method:"POST",data:i},t)}GetPlaygroundPluginList(e,t){let n=this.genBaseURL("/api/playground/get_playground_plugins"),r={page:e.page,size:e.size,name:e.name,plugin_ids:e.plugin_ids,plugin_tag:e.plugin_tag,self_created:e.self_created,plugin_type:e.plugin_type,space_id:e.space_id,order_by:e.order_by};return this.request({url:n,method:"POST",data:r},t)}SubmitBotTask(e,t){let n=e||{},r=this.genBaseURL("/api/playground/submit_bot_task"),i={task_id:n.task_id,model_info:n.model_info,plugin_apis:n.plugin_apis,bot_prompts:n.bot_prompts,messages:n.messages,device_id:n.device_id,push_uuid:n.push_uuid};return this.request({url:r,method:"POST",data:i},t)}GetPluginTags(e,t){let n=this.genBaseURL("/api/playground/get_plugin_tags");return this.request({url:n,method:"POST"},t)}GetBotList(e,t){let n=e||{},r=this.genBaseURL("/api/bot/get_bot_list"),i={creator_id:n.creator_id,recommend:n.recommend,bot_ids:n.bot_ids,bot_types:n.bot_types,bot_name:n.bot_name,page_index:n.page_index,page_size:n.page_size,bot_status:n.bot_status,order_by:n.order_by,GetBotListMode:n.GetBotListMode};return this.request({url:r,method:"POST",data:i},t)}UpdateDataSetMeta(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/update_meta"),i={id:n.id,name:n.name,description:n.description,icon_uri:n.icon_uri};return this.request({url:r,method:"POST",data:i},t)}GetApiRespStruct(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_api_resp_struct"),i={plugin_id:n.plugin_id,api_name:n.api_name,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}ListPlaygroundHistoryInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground/list_playground_history"),i={task_name:n.task_name,task_id:n.task_id};return this.request({url:r,method:"POST",data:i},t)}RegisterPlugin(e,t){let n=e||{},r=this.genBaseURL("/api/developer/register"),i={ai_plugin:n.ai_plugin,openapi:n.openapi,client_id:n.client_id,client_secret:n.client_secret,service_token:n.service_token,plugin_type:n.plugin_type,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}UpdatePlugin(e,t){let n=e||{},r=this.genBaseURL("/api/developer/update"),i={plugin_id:n.plugin_id,ai_plugin:n.ai_plugin,openapi:n.openapi,client_id:n.client_id,client_secret:n.client_secret,service_token:n.service_token,source_code:n.source_code};return this.request({url:r,method:"POST",data:i},t)}GetProfileMemory(e,t){let n=e||{},r=this.genBaseURL("/api/developer/get_profile_memory"),i={bot_id:n.bot_id,task_id:n.task_id,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}QueryWebInfo(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/query_web_info"),i={web_id:n.web_id,include_content:n.include_content};return this.request({url:r,method:"POST",data:i},t)}SubmitWebUrl(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/submit_web_url"),i={web_url:n.web_url,subpages_count:n.subpages_count,format_type:n.format_type,title:n.title};return this.request({url:r,method:"POST",data:i},t)}ListTable(e,t){let n=this.genBaseURL("/api/table/list"),r={bot_id:e.bot_id,table_id:e.table_id};return this.request({url:n,method:"POST",data:r},t)}DoAction(e,t){let n=this.genBaseURL("/api/developer/doaction"),r={PluginID:e.PluginID,APIName:e.APIName,BotId:e.BotId,Parameters:e.Parameters,MessageID:e.MessageID,PluginName:e.PluginName,DeviceID:e.DeviceID};return this.request({url:n,method:"POST",data:r},t)}GetBotInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground/get_bot_info"),i={Version:n.Version,BotID:n.BotID};return this.request({url:r,method:"POST",data:i},t)}GetTypeList(e,t){let n=e||{},r=this.genBaseURL("/api/bot/get_type_list"),i={model:n.model,voice:n.voice,raw_model:n.raw_model,space_id:n.space_id,cur_model_id:n.cur_model_id,cur_model_ids:n.cur_model_ids,model_scene:n.model_scene};return this.request({url:r,method:"POST",data:i},t)}GetCardBind(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_card_bind"),i={plugin_id:n.plugin_id,api_name:n.api_name,bot_id:n.bot_id,agent_id:n.agent_id,biz_type:n.biz_type,business_id:n.business_id,unique_id:n.unique_id};return this.request({url:r,method:"POST",data:i},t)}GetPlaygroundRecord(e,t){let n=e||{},r=this.genBaseURL("/api/playground/get_playground_record"),i={version:n.version,task_id:n.task_id,task_name:n.task_name};return this.request({url:r,method:"POST",data:i},t)}ProcessDocumentsTask(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/process_document"),i={dataset_id:n.dataset_id,document_info:n.document_info,rule:n.rule};return this.request({url:r,method:"POST",data:i},t)}SubmitWebContent(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/submit_web_content"),i={web_id:n.web_id,content:n.content};return this.request({url:r,method:"POST",data:i},t)}Launch(e,t){let n=this.genBaseURL("/api/playground/user/launch"),r={device_id:(e||{}).device_id};return this.request({url:n,method:"POST",data:r},t)}DeleteTable(e,t){let n=this.genBaseURL("/api/table/delete"),r={bot_id:e.bot_id,table_id:e.table_id};return this.request({url:n,method:"POST",data:r},t)}Logout(e,t){let n=this.genBaseURL("/api/developer/logout");return this.request({url:n,method:"POST"},t)}GetPluginList(e,t){let n=e||{},r=this.genBaseURL("/api/developer/get_plugin_list"),i={status:n.status,page:n.page,size:n.size,space_id:n.space_id,scope_type:n.scope_type,order_by:n.order_by,publish_status:n.publish_status,name:n.name};return this.request({url:r,method:"POST",data:i},t)}DelPlugin(e,t){let n=this.genBaseURL("/api/developer/del_plugin"),r={plugin_id:(e||{}).plugin_id};return this.request({url:n,method:"POST",data:r},t)}UploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/bot/upload_file"),i={file_head:n.file_head,data:n.data};return this.request({url:r,method:"POST",data:i},t)}CreateDataSet(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/create_dataset"),i={name:n.name,space_id:n.space_id,description:n.description,icon_uri:n.icon_uri};return this.request({url:r,method:"POST",data:i},t)}GetIcon(e,t){let n=this.genBaseURL("/api/developer/get_icon"),r={icon_type:(e||{}).icon_type};return this.request({url:n,method:"POST",data:r},t)}PluginDebugRun(e,t){let n=this.genBaseURL("/api/developer/plugin_debug_run"),r={source_code:e.source_code,input_params:e.input_params};return this.request({url:n,method:"POST",data:r},t)}DuplicateTask(e,t){let n=e||{},r=this.genBaseURL("/api/playground/duplicate_task"),i={task_id:n.task_id,task_name:n.task_name};return this.request({url:r,method:"POST",data:i},t)}GetPluginCurrentInfo(e,t){let n=this.genBaseURL("/api/developer/get_plugin_current_info"),r={plugin_id:e.plugin_id};return this.request({url:n,method:"POST",data:r},t)}DelProfileMemory(e,t){let n=e||{},r=this.genBaseURL("/api/developer/del_profile_memory"),i={bot_id:n.bot_id,keywords:n.keywords};return this.request({url:r,method:"POST",data:i},t)}GetTaskProgress(e,t){let n=this.genBaseURL("/api/dataset/get_progress"),r={document_ids:(e||{}).document_ids};return this.request({url:n,method:"POST",data:r},t)}SavePlaygroundRecord(e,t){let n=e||{},r=this.genBaseURL("/api/playground/save_playground"),i={task_id:n.task_id,item_infos:n.item_infos,playground_history_info:n.playground_history_info,task_name:n.task_name};return this.request({url:r,method:"POST",data:i},t)}ListDateSet(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/list_dataset"),i={query:n.query,search_type:n.search_type,dataset_ids:n.dataset_ids,page:n.page,size:n.size,space_id:n.space_id,scope_type:n.scope_type,source_type:n.source_type};return this.request({url:r,method:"POST",data:i},t)}ProcessWebDocumentsTask(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/process_web_document"),i={dataset_id:n.dataset_id,document_info:n.document_info,formatType:n.formatType};return this.request({url:r,method:"POST",data:i},t)}ShareBot(e,t){let n=this.genBaseURL("/api/bot/share_bot"),r={bot_id:e.bot_id,operation:e.operation};return this.request({url:n,method:"POST",data:r},t)}GetOnboarding(e,t){let n=e||{},r=this.genBaseURL("/api/playground/get_onboarding"),i={bot_id:n.bot_id,bot_prompt:n.bot_prompt};return this.request({url:r,method:"POST",data:i},t)}DuplicateBot(e,t){let n=this.genBaseURL("/api/bot/duplicate"),r={bot_id:(e||{}).bot_id};return this.request({url:n,method:"POST",data:r},t)}AddTable(e,t){let n=this.genBaseURL("/api/table/add"),r={bot_id:e.bot_id,name:e.name,desc:e.desc,field_list:e.field_list};return this.request({url:n,method:"POST",data:r},t)}TableInfoAdd(e,t){let n=e||{},r=this.genBaseURL("/api/table/info/add"),i={bot_id:n.bot_id,table_id:n.table_id,data_list:n.data_list};return this.request({url:r,method:"POST",data:i},t)}NodeTemplateList(e,t){let n=this.genBaseURL("/api/workflow/node_templage_list"),r={need_types:(e||{}).need_types};return this.request({url:n,method:"POST",data:r},t)}MapData(e,t){let n=this.genBaseURL("/api/workflow/map_data"),r={workflow_id:e.workflow_id,node_id:e.node_id,param_type:e.param_type,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}GetWorkFlowProcess(e,t){let n=e||{},r=this.genBaseURL("/api/workflow/get_process"),i={executeId:n.executeId,workflowId:n.workflowId,space_id:n.space_id};return this.request({url:r,method:"GET",params:i},t)}WorkFlowList(e,t){let n=e||{},r=this.genBaseURL("/api/workflow/list"),i={page:n.page,size:n.size,workflow_ids:n.workflow_ids,with_node:n.with_node,type:n.type,name:n.name,tags:n.tags,space_id:n.space_id,status:n.status,order_by:n.order_by,login_user_create:n.login_user_create};return this.request({url:r,method:"POST",data:i},t)}RunWorkFlow(e,t){let n=e||{},r=this.genBaseURL("/api/workflow/run"),i={workflowId:n.workflowId,input:n.input,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}UpdateNode(e,t){let n=this.genBaseURL("/api/workflow/update_node"),r={workflow_id:e.workflow_id,node_id:e.node_id,name:e.name,node_param:e.node_param,layout:e.layout,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}UpdateWorkFlow(e,t){let n=this.genBaseURL("/api/workflow/update"),r={workflow_id:e.workflow_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,delete:e.delete,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}NodeList(e,t){let n=this.genBaseURL("/api/workflow/node_list"),r={workflow_id:e.workflow_id,node_ids:e.node_ids,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}WorkFlowPublish(e,t){let n=this.genBaseURL("/api/workflow/publish"),r={workflow_id:e.workflow_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}CreateWorkFlow(e,t){let n=this.genBaseURL("/api/workflow/create"),r={name:e.name,desc:e.desc,icon_uri:e.icon_uri,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}CreateNode(e,t){let n=this.genBaseURL("/api/workflow/create_node"),r={workflow_id:e.workflow_id,type:e.type,api_info:e.api_info,layout:e.layout,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}DeleteNode(e,t){let n=this.genBaseURL("/api/workflow/delete_node"),r={workflow_id:e.workflow_id,node_id:e.node_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}UpdateLink(e,t){let n=this.genBaseURL("/api/workflow/update_link"),r={workflow_id:e.workflow_id,from_node_id:e.from_node_id,to_node_id:e.to_node_id,type:e.type,if_node_branch:e.if_node_branch,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}AddFavoriteBot(e,t){let n=this.genBaseURL("/api/bot/add_favorite_bot"),r={bot_id:e.bot_id,fav_status:e.fav_status};return this.request({url:n,method:"POST",data:r},t)}GetUserBotFavorite(e,t){let n=this.genBaseURL("/api/bot/get_user_bot_fav"),r={page:e.page,size:e.size,name:e.name};return this.request({url:n,method:"POST",data:r},t)}CancelWorkFlow(e,t){let n=this.genBaseURL("/api/workflow/cancel"),r={executeId:(e||{}).executeId};return this.request({url:n,method:"POST",data:r},t)}DeleteCard(e,t){let n=this.genBaseURL("/api/card/delete_card"),r={card_id:(e||{}).card_id};return this.request({url:n,method:"POST",data:r},t)}RemoveTask(e,t){let n=this.genBaseURL("/api/task/remove_task"),r={bot_id:e.bot_id,task_id:e.task_id};return this.request({url:n,method:"POST",data:r},t)}CreatePresetTask(e,t){let n=this.genBaseURL("/api/task/create_preset_task"),r={bot_id:e.bot_id,cron_expr:e.cron_expr,content:e.content,user_question:e.user_question,time_zone:e.time_zone};return this.request({url:n,method:"POST",data:r},t)}TaskList(e,t){let n=this.genBaseURL("/api/task/task_list"),r={bot_id:e.bot_id,space_id:e.space_id,source:e.source};return this.request({url:n,method:"POST",data:r},t)}GetTaskIntro(e,t){let n=e||{},r=this.genBaseURL("/api/task/get_task_intro"),i={system_prompt:n.system_prompt,suggested_questions:n.suggested_questions};return this.request({url:r,method:"POST",data:i},t)}GetUploadAuthToken(e,t){let n=e||{},r=this.genBaseURL("/api/playground/upload/auth_token"),i={scene:n.scene,data_type:n.data_type};return this.request({url:r,method:"POST",data:i},t)}RegisterPluginMeta(e,t){let n=this.genBaseURL("/api/plugin/register_plugin_meta"),r={name:e.name,desc:e.desc,url:e.url,icon:e.icon,auth_type:e.auth_type,location:e.location,key:e.key,service_token:e.service_token,oauth_info:e.oauth_info,space_id:e.space_id,common_params:e.common_params,creation_method:e.creation_method,ide_code_runtime:e.ide_code_runtime};return this.request({url:n,method:"POST",data:r},t)}DebugAPI(e,t){let n=this.genBaseURL("/api/plugin/debug_api"),r={plugin_id:e.plugin_id,api_id:e.api_id,parameters:e.parameters,operation:e.operation};return this.request({url:n,method:"POST",data:r},t)}PublishPlugin(e,t){let n=this.genBaseURL("/api/plugin/publish_plugin"),r={plugin_id:e.plugin_id};return this.request({url:n,method:"POST",data:r},t)}UpdatePluginMeta(e,t){let n=this.genBaseURL("/api/plugin/update_plugin_meta"),r={plugin_id:e.plugin_id,name:e.name,desc:e.desc,url:e.url,icon:e.icon,auth_type:e.auth_type,location:e.location,key:e.key,service_token:e.service_token,oauth_info:e.oauth_info,common_params:e.common_params,creation_method:e.creation_method};return this.request({url:n,method:"POST",data:r},t)}UpdateAPI(e,t){let n=this.genBaseURL("/api/plugin/update_api"),r={plugin_id:e.plugin_id,api_id:e.api_id,name:e.name,desc:e.desc,path:e.path,method:e.method,request_params:e.request_params,response_params:e.response_params,disabled:e.disabled};return this.request({url:n,method:"POST",data:r},t)}CreateAPI(e,t){let n=this.genBaseURL("/api/plugin/create_api"),r={plugin_id:e.plugin_id,name:e.name,desc:e.desc,path:e.path,method:e.method};return this.request({url:n,method:"POST",data:r},t)}GetPluginInfo(e,t){let n=this.genBaseURL("/api/plugin/get_plugin_info"),r={plugin_id:e.plugin_id};return this.request({url:n,method:"POST",data:r},t)}CopyFromTemplate(e,t){let n=this.genBaseURL("/api/workflow/copy_from_template"),r={template_workflow_id:e.template_workflow_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}WorkFlowTemplateTag(e,t){let n=this.genBaseURL("/api/workflow/template_tag"),r={flow_mode:(e||{}).flow_mode};return this.request({url:n,method:"POST",data:r},t)}GetOAuthSchema(e,t){let n=this.genBaseURL("/api/plugin/get_oauth_schema");return this.request({url:n,method:"POST"},t)}GetSliceList(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/slice/list"),i={doc_id:n.doc_id,sequence:n.sequence,key_word:n.key_word,page_no:n.page_no,page_size:n.page_size,sort_field:n.sort_field,is_asc:n.is_asc};return this.request({url:r,method:"GET",params:i},t)}GetBotListByDataset(e,t){let n=this.genBaseURL("/api/dataset/get_bot"),r={dataset_id:e.dataset_id,page_size:e.page_size,page_no:e.page_no};return this.request({url:n,method:"GET",params:r},t)}DelSlice(e,t){let n=this.genBaseURL("/api/dataset/slice/del"),r={slice_id:e.slice_id};return this.request({url:n,method:"POST",data:r},t)}UpdateSliceContent(e,t){let n=this.genBaseURL("/api/dataset/slice/update"),r={slice_id:e.slice_id,content:e.content};return this.request({url:n,method:"POST",data:r},t)}UpdateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/update_document"),i={document_id:n.document_id,status:n.status,document_name:n.document_name,table_meta:n.table_meta};return this.request({url:r,method:"POST",data:i},t)}UpdateWebRule(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/update_web_rule"),i={document_id:n.document_id,update_type:n.update_type,update_interval:n.update_interval};return this.request({url:r,method:"POST",data:i},t)}ListDocument(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/list_document"),i={dataset_id:n.dataset_id,page:n.page,size:n.size,document_id:n.document_id};return this.request({url:r,method:"POST",data:i},t)}AddBotSpaceMember(e,t){let n=this.genBaseURL("/api/space/member/add"),r={member_info_list:e.member_info_list,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}DeleteSpace(e,t){let n=this.genBaseURL("/api/space/delete"),r={space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}SpaceList(e,t){let n=this.genBaseURL("/api/space/list");return this.request({url:n,method:"POST"},t)}ExitSpace(e,t){let n=e||{},r=this.genBaseURL("/api/space/member/exit"),i={space_id:n.space_id,transfer_user_id:n.transfer_user_id};return this.request({url:r,method:"POST",data:i},t)}UpdateSpaceMember(e,t){let n=e||{},r=this.genBaseURL("/api/space/member/update"),i={space_id:n.space_id,user_id:n.user_id,space_role_type:n.space_role_type};return this.request({url:r,method:"POST",data:i},t)}RemoveSpaceMember(e,t){let n=e||{},r=this.genBaseURL("/api/space/member/remove"),i={space_id:n.space_id,remove_user_id:n.remove_user_id};return this.request({url:r,method:"POST",data:i},t)}TransferSpace(e,t){let n=e||{},r=this.genBaseURL("/api/space/member/transfer"),i={space_id:n.space_id,transfer_user_id:n.transfer_user_id};return this.request({url:r,method:"POST",data:i},t)}UpdateSpace(e,t){let n=this.genBaseURL("/api/space/update"),r={space_id:e.space_id,name:e.name,description:e.description,icon_uri:e.icon_uri};return this.request({url:n,method:"POST",data:r},t)}CreateSpace(e,t){let n=this.genBaseURL("/api/space/create"),r={name:e.name,description:e.description,icon_uri:e.icon_uri,space_type:e.space_type};return this.request({url:n,method:"POST",data:r},t)}SearchMember(e,t){let n=this.genBaseURL("/api/space/member/search"),r={search_list:e.search_list,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}DraftBotCreate(e,t){let n=this.genBaseURL("/api/draftbot/create"),r={space_id:e.space_id,name:e.name,description:e.description,icon_uri:e.icon_uri,visibility:e.visibility,monetization_conf:e.monetization_conf,create_from:e.create_from,app_id:e.app_id,business_type:e.business_type};return this.request({url:n,method:"POST",data:r},t)}GetDraftBotInfo(e,t){let n=this.genBaseURL("/api/draftbot/get_bot_info"),r={space_id:e.space_id,bot_id:e.bot_id,version:e.version,source:e.source,botMode:e.botMode,commit_version:e.commit_version};return this.request({url:n,method:"POST",data:r},t)}UpdateDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/update"),r={space_id:e.space_id,bot_id:e.bot_id,work_info:e.work_info,name:e.name,description:e.description,icon_uri:e.icon_uri,visibility:e.visibility,update_agents:e.update_agents,canvas_data:e.canvas_data,bot_mode:e.bot_mode,delete_agents:e.delete_agents,bot_tag_info:e.bot_tag_info,filebox_info:e.filebox_info,base_commit_version:e.base_commit_version,version_compat:e.version_compat};return this.request({url:n,method:"POST",data:r},t)}DeleteDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/delete"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}DuplicateDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/duplicate"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}RevertDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/revert"),r={space_id:e.space_id,bot_id:e.bot_id,version:e.version};return this.request({url:n,method:"POST",data:r},t)}ListDraftBotHistory(e,t){let n=this.genBaseURL("/api/draftbot/list_draft_history"),r={space_id:e.space_id,bot_id:e.bot_id,page_index:e.page_index,page_size:e.page_size,history_type:e.history_type,connector_id:e.connector_id};return this.request({url:n,method:"POST",data:r},t)}ExecuteDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/execute"),r={space_id:e.space_id,bot_id:e.bot_id,work_info:e.work_info,device_id:e.device_id,push_uuid:e.push_uuid,source:e.source,online_mode:e.online_mode,bot_version:e.bot_version};return this.request({url:n,method:"POST",data:r},t)}PublishDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/publish"),r={space_id:e.space_id,bot_id:e.bot_id,work_info:e.work_info,connector_list:e.connector_list,connectors:e.connectors,botMode:e.botMode,agents:e.agents,canvas_data:e.canvas_data,bot_tag_info:e.bot_tag_info,submit_bot_market_config:e.submit_bot_market_config,publish_id:e.publish_id,commit_version:e.commit_version,publish_type:e.publish_type,pre_publish_ext:e.pre_publish_ext,history_info:e.history_info};return this.request({url:n,method:"POST",data:r},t)}GetDraftBotList(e,t){let n=this.genBaseURL("/api/draftbot/get_draft_bot_list"),r={space_id:e.space_id,bot_name:e.bot_name,order_by:e.order_by,publish_platform:e.publish_platform,team_bot_type:e.team_bot_type,scope_type:e.scope_type,page_index:e.page_index,page_size:e.page_size,is_publish:e.is_publish,cursor_id:e.cursor_id,is_fav:e.is_fav,draft_bot_status_list:e.draft_bot_status_list,recently_open:e.recently_open};return this.request({url:n,method:"POST",data:r},t)}DeleteAPI(e,t){let n=this.genBaseURL("/api/plugin/delete_api"),r={plugin_id:e.plugin_id,api_id:e.api_id};return this.request({url:n,method:"POST",data:r},t)}GetPluginAPIs(e,t){let n=this.genBaseURL("/api/plugin/get_plugin_apis"),r={plugin_id:e.plugin_id,api_ids:e.api_ids,page:e.page,size:e.size,order:e.order};return this.request({url:n,method:"POST",data:r},t)}SpaceRoleAuth(e,t){let n=this.genBaseURL("/api/space/role/auth");return this.request({url:n,method:"POST"},t)}ChangeSliceStatus(e,t){let n=this.genBaseURL("/api/dataset/slice/update_status"),r={slice_id:e.slice_id,status:e.status};return this.request({url:n,method:"POST",data:r},t)}GetUpdatedAPIs(e,t){let n=this.genBaseURL("/api/plugin/get_updated_apis"),r={plugin_id:e.plugin_id};return this.request({url:n,method:"POST",data:r},t)}SpaceMemberDetail(e,t){let n=e||{},r=this.genBaseURL("/api/space/member/detail"),i={space_id:n.space_id,search_word:n.search_word,space_role_type:n.space_role_type,page:n.page,size:n.size};return this.request({url:r,method:"POST",data:i},t)}WKExecutePreCheck(e,t){let n=this.genBaseURL("/api/workflow/wk_execute_pre_check"),r={workflow_id:e.workflow_id};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowPluginList(e,t){let n=this.genBaseURL("/api/workflow/get_workflow_plugins"),r={page:e.page,size:e.size,name:e.name,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}CopyNode(e,t){let n=this.genBaseURL("/api/workflow/copy_node"),r={node_id:e.node_id,layout:e.layout};return this.request({url:n,method:"POST",data:r},t)}GetExploreBotList(e,t){let n=e||{},r=this.genBaseURL("/api/explore/get_explore_list"),i={publish_platform:n.publish_platform,page_index:n.page_index,page_size:n.page_size,key_word:n.key_word,category_id:n.category_id};return this.request({url:r,method:"POST",data:i},t)}DuplicateBotToSpace(e,t){let n=this.genBaseURL("/api/explore/duplicate"),r={target_space_id:e.target_space_id,draft_bot_id:e.draft_bot_id,name:e.name};return this.request({url:n,method:"POST",data:r},t)}UpdateUserProfileCheck(e,t){let n=this.genBaseURL("/api/user/update_profile_check"),r={user_unique_name:(e||{}).user_unique_name};return this.request({url:n,method:"POST",data:r},t)}UpdateUserProfile(e,t){let n=e||{},r=this.genBaseURL("/api/user/update_profile"),i={user_unique_name:n.user_unique_name,name:n.name,avatar:n.avatar};return this.request({url:r,method:"POST",data:i},t)}InviteMemberLink(e,t){let n=this.genBaseURL("/api/space/invite"),r={space_id:e.space_id,team_invite_link_status:e.team_invite_link_status,func:e.func};return this.request({url:n,method:"POST",data:r},t)}SpaceInfoForInvite(e,t){let n=this.genBaseURL("/api/space/info"),r={space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}WaitListConfig(e,t){let n=this.genBaseURL("/api/wait_list/bots_op/wait_list_config");return this.request({url:n,method:"GET"},t)}JoinSpace(e,t){let n=this.genBaseURL("/api/space/join"),r={space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}UpsertProfileMemory(e,t){let n=e||{},r=this.genBaseURL("/api/developer/upsert_profile_memory"),i={bot_id:n.bot_id,profile:n.profile};return this.request({url:r,method:"POST",data:i},t)}StoreCookieBanner(e,t){let n=this.genBaseURL("/api/developer/store_cookie_banner"),r={cookie_banner_info:(e||{}).cookie_banner_info};return this.request({url:n,method:"POST",data:r},t)}SubmitUserWaitListInfo(e,t){let n=e||{},r=this.genBaseURL("/api/wait_list/user/submit_info"),i={using_for:n.using_for,hear_from:n.hear_from,ext_message:n.ext_message};return this.request({url:r,method:"POST",data:i},t)}AccountCancel(e,t){let n=this.genBaseURL("/api/developer/account_cancel");return this.request({url:n,method:"POST"},t)}ApplyFakeLogin(e,t){let n=e||{},r=this.genBaseURL("/api/fake/apply_login"),i={userId:n.userId,fakeUid:n.fakeUid};return this.request({url:r,method:"GET",params:i},t)}QueryWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/query"),r={workflow_id:e.workflow_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}PublishWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/publish"),r={workflow_id:e.workflow_id,space_id:e.space_id,user_id:e.user_id};return this.request({url:n,method:"POST",data:r},t)}SaveWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/save"),r={workflow_id:e.workflow_id,schema:e.schema,space_id:e.space_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,ignore_status_transfer:e.ignore_status_transfer};return this.request({url:n,method:"POST",data:r},t)}WorkflowListV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/list"),i={page:n.page,size:n.size,workflow_ids:n.workflow_ids,type:n.type,name:n.name,tags:n.tags,space_id:n.space_id,status:n.status,order_by:n.order_by,login_user_create:n.login_user_create,flow_mode:n.flow_mode};return this.request({url:r,method:"POST",data:i},t)}CreateWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/create"),r={name:e.name,desc:e.desc,icon_uri:e.icon_uri,space_id:e.space_id,flow_mode:e.flow_mode};return this.request({url:n,method:"POST",data:r},t)}BindConnector(e,t){let n=this.genBaseURL("/api/draftbot/bind/connector"),r={space_id:e.space_id,bot_id:e.bot_id,connector_id:e.connector_id,connector_info:e.connector_info,agent_type:e.agent_type};return this.request({url:n,method:"POST",data:r},t)}UnBindConnector(e,t){let n=this.genBaseURL("/api/draftbot/unbind/connector"),r={space_id:e.space_id,bot_id:e.bot_id,connector_id:e.connector_id,bind_id:e.bind_id,agent_type:e.agent_type};return this.request({url:n,method:"POST",data:r},t)}PublishConnectorList(e,t){let n=this.genBaseURL("/api/draftbot/publish/connector/list"),r={space_id:e.space_id,bot_id:e.bot_id,commit_version:e.commit_version};return this.request({url:n,method:"POST",data:r},t)}DeleteWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/delete"),r={workflow_id:e.workflow_id};return this.request({url:n,method:"POST",data:r},t)}WorkFlowTestRunV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/testRun"),i={workflow_id:n.workflow_id,input:n.input,space_id:n.space_id,bot_id:n.bot_id};return this.request({url:r,method:"POST",data:i},t)}CopyWorkflowV2(e,t){let n=this.genBaseURL("/api/workflowV2/copy"),r={workflow_id:e.workflow_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowProcessV2(e,t){let n=this.genBaseURL("/api/workflowV2/get_process"),r={workflow_id:e.workflow_id,space_id:e.space_id,execute_id:e.execute_id};return this.request({url:n,method:"GET",params:r},t)}SuggestPlugin(e,t){let n=this.genBaseURL("/api/playground/suggest_plugin"),r={space_id:e.space_id,bot_id:e.bot_id,bot_prompts:e.bot_prompts,plugin_apis:e.plugin_apis,workflow_ids:e.workflow_ids,bot_name:e.bot_name,bot_description:e.bot_description};return this.request({url:n,method:"POST",data:r},t)}PromptOptimize(e,t){let n=this.genBaseURL("/api/playground/optimize_prompt"),r={device_id:e.device_id,push_uuid:e.push_uuid,original_prompt:e.original_prompt,optimize_type:e.optimize_type,bot_id:e.bot_id,sync:e.sync};return this.request({url:n,method:"POST",data:r},t)}CreateChatflowAgent(e,t){let n=this.genBaseURL("/api/draftbot/agent/create"),r={space_id:e.space_id,bot_id:e.bot_id,agent_type:e.agent_type,position:e.position,references:e.references,base_commit_version:e.base_commit_version,version_compat:e.version_compat};return this.request({url:n,method:"POST",data:r},t)}CancelWorkFlowV2(e,t){let n=this.genBaseURL("/api/workflowV2/cancel"),r={execute_id:e.execute_id,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}GetApiDetail(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/apiDetail"),i={pluginID:n.pluginID,apiName:n.apiName,space_id:n.space_id};return this.request({url:r,method:"GET",params:i},t)}CopyChatflowAgent(e,t){let n=this.genBaseURL("/api/draftbot/agent/copy"),r={space_id:e.space_id,bot_id:e.bot_id,agent_id:e.agent_id,base_commit_version:e.base_commit_version};return this.request({url:n,method:"POST",data:r},t)}GetUserAuthList(e,t){let n=this.genBaseURL("/api/user/get_user_auth_list");return this.request({url:n,method:"POST"},t)}UserAuthCode(e,t){let n=e||{},r=this.genBaseURL("/api/user/auth/code"),i={code:n.code,connector_id:n.connector_id,encrypt_state:n.encrypt_state,state:n.state};return this.request({url:r,method:"POST",data:i},t)}CancelUserAuth(e,t){let n=this.genBaseURL("/api/user/auth/cancel"),r={connector_id:(e||{}).connector_id};return this.request({url:n,method:"POST",data:r},t)}ValidateSchema(e,t){let n=this.genBaseURL("/api/workflowV2/validate"),r={schema:e.schema};return this.request({url:n,method:"POST",data:r},t)}GetBotModuleInfo(e,t){let n=this.genBaseURL("/api/draftbot/get_bot_module_info"),r={space_id:(e||{}).space_id};return this.request({url:n,method:"POST",data:r},t)}IsvWebhookEvent(e,t){let n=this.genBaseURL("/api/isv/webhook/event"),r={encrypt:(e||{}).encrypt};return this.request({url:n,method:"POST",data:r},t)}GenerateIcon(e,t){let n=e||{},r=this.genBaseURL("/api/draftbot/generate_icon"),i={bot_name:n.bot_name,description:n.description,timeout:n.timeout};return this.request({url:r,method:"POST",data:i},t)}GetDocumentTableInfo(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/doc_table_info"),i={submit_web_id:n.submit_web_id,tos_uri:n.tos_uri,document_id:n.document_id,source_file_id:n.source_file_id,source_type:n.source_type};return this.request({url:r,method:"GET",params:i},t)}CreateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/dataset/document/create"),i={dataset_id:n.dataset_id,space_id:n.space_id,document:n.document};return this.request({url:r,method:"POST",data:i},t)}Migrate(e,t){let n=this.genBaseURL("/api/workflowV2/migrate"),r={type:e.type,run_model:e.run_model,space_id:e.space_id,workflow_id:e.workflow_id};return this.request({url:n,method:"POST",data:r},t)}CardBuilderProxy(e,t){let n=this.genBaseURL("/api/card_builder_api");return this.request({url:n,method:"POST"},t)}GetGenerateIconInfo(e,t){let n=this.genBaseURL("/api/draftbot/get_generate_icon_info");return this.request({url:n,method:"GET"},t)}GetExploreCategoryList(e,t){let n=this.genBaseURL("/api/explore/get_category_list");return this.request({url:n,method:"GET"},t)}GetPluginCards(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_plugin_cards"),i={space_id:n.space_id,bot_id:n.bot_id,plugins:n.plugins,agent_id:n.agent_id,using_master:n.using_master};return this.request({url:r,method:"POST",data:i},t)}QueryCardDetail(e,t){let n=e||{},r=this.genBaseURL("/api/card/query_card_detail"),i={space_id:n.space_id,card_id:n.card_id,card_version:n.card_version};return this.request({url:r,method:"POST",data:i},t)}CreateCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/create_card"),i={space_id:n.space_id,card_id:n.card_id,version_num:n.version_num};return this.request({url:r,method:"POST",data:i},t)}QueryCardList(e,t){let n=e||{},r=this.genBaseURL("/api/card/query_card_list"),i={page:n.page,size:n.size,space_id:n.space_id,category:n.category,bind_card_id:n.bind_card_id,status:n.status};return this.request({url:r,method:"POST",data:i},t)}CardMetaPublish(e,t){let n=this.genBaseURL("/api/card_center/publish"),r={card_id:e.card_id,draft_card_id:e.draft_card_id,description:e.description,version_name:e.version_name,thumbnail_info:e.thumbnail_info};return this.request({url:n,method:"POST",data:r},t)}GetCardInfo(e,t){let n=this.genBaseURL("/api/card_center/get_card_info"),r={card_id:e.card_id,channel_type:e.channel_type,version_num:e.version_num};return this.request({url:n,method:"POST",data:r},t)}CardUploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/card_center/upload_file"),i={file_type:n.file_type,data:n.data};return this.request({url:r,method:"POST",data:i},t)}GetNotionDocumentInfo(e,t){let n=e||{},r=this.genBaseURL("/api/data_connector_plugin/get_notion_info"),i={document_url:n.document_url,block_search_size:n.block_search_size};return this.request({url:r,method:"POST",params:i},t)}GetReleasedWorkflows(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/released_workflows"),i={page:n.page,size:n.size,type:n.type,name:n.name,workflow_ids:n.workflow_ids,tags:n.tags,space_id:n.space_id,order_by:n.order_by,login_user_create:n.login_user_create};return this.request({url:r,method:"POST",data:i},t)}UpdateDraftBotDisplayInfo(e,t){let n=this.genBaseURL("/api/draftbot/update_display_info"),r={bot_id:e.bot_id,display_info:e.display_info,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}GetDraftBotDisplayInfo(e,t){let n=this.genBaseURL("/api/draftbot/get_display_info"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}UpdateCardInfo(e,t){let n=this.genBaseURL("/api/card_center/update"),r={card_id:e.card_id,name:e.name,card_status:e.card_status};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowReferences(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/workflow_references"),i={workflow_id:n.workflow_id,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}QuerySchemaList(e,t){let n=e||{},r=this.genBaseURL("/api/connector/query_schemas"),i={connector_id:n.connector_id,scene:n.scene};return this.request({url:r,method:"POST",data:i},t)}CreateSlice(e,t){let n=this.genBaseURL("/api/dataset/slice/create"),r={document_id:e.document_id,content:e.content};return this.request({url:n,method:"POST",data:r},t)}DelWebData(e,t){let n=this.genBaseURL("/api/dataset/del_web_data"),r={web_id:(e||{}).web_id};return this.request({url:n,method:"POST",data:r},t)}Resegment(e,t){let n=this.genBaseURL("/api/dataset/resegment"),r={dataset_id:e.dataset_id,document_id:e.document_id,rule:e.rule,format_type:e.format_type};return this.request({url:n,method:"POST",data:r},t)}GetVoiceToken(e,t){let n=this.genBaseURL("/api/voice/get_voice_token");return this.request({url:n,method:"GET"},t)}GetVoiceConfig(e,t){let n=this.genBaseURL("/api/voice/get_voice_config");return this.request({url:n,method:"GET"},t)}DataSourceAuthorize(e,t){let n=e||{},r=this.genBaseURL("/api/data_connector/authorization"),i={code:n.code,state:n.state};return this.request({url:r,method:"GET",params:i},t)}GetBotsIDEToken(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/bots_ide_token"),i={space_id:n.space_id,can_write:n.can_write};return this.request({url:r,method:"GET",params:i},t)}UpdateApiKey(e,t){let n=e||{},r=this.genBaseURL("/api/connector/update_api_key"),i={api_key_id:n.api_key_id,space_id:n.space_id,key_name:n.key_name,operate_type:n.operate_type};return this.request({url:r,method:"POST",data:i},t)}AddApiKey(e,t){let n=e||{},r=this.genBaseURL("/api/connector/add_api_key"),i={space_id:n.space_id,key_name:n.key_name};return this.request({url:r,method:"POST",data:i},t)}GetApiKeyList(e,t){let n=e||{},r=this.genBaseURL("/api/connector/get_api_keys"),i={space_id:n.space_id,api_key_id:n.api_key_id,page_index:n.page_index,page_size:n.page_size};return this.request({url:r,method:"POST",data:i},t)}GetLoginInfo(e,t){let n=this.genBaseURL("/api/developer/get_login_info");return this.request({url:n,method:"GET"},t)}TimeCapsuleListItems(e,t){let n=this.genBaseURL("/api/developer/timecapsule_list_items"),r={bot_id:e.bot_id,start_event_time:e.start_event_time,end_event_time:e.end_event_time,page:e.page,size:e.size};return this.request({url:n,method:"POST",data:r},t)}FeelGoodAuth(e,t){let n=this.genBaseURL("/api/developer/feelgood_auth");return this.request({url:n,method:"POST"},t)}CreateSection(e,t){let n=this.genBaseURL("/api/conversation/create_section"),r={conversation_id:e.conversation_id,scene:e.scene,insert_history_message_list:e.insert_history_message_list};return this.request({url:n,method:"POST",data:r},t)}GetMessageList(e,t){let n=this.genBaseURL("/api/conversation/get_message_list"),r={conversation_id:e.conversation_id,cursor:e.cursor,count:e.count,bot_id:e.bot_id,draft_mode:e.draft_mode,preset_bot:e.preset_bot,scene:e.scene,biz_kind:e.biz_kind,insert_history_message_list:e.insert_history_message_list,load_direction:e.load_direction,must_append:e.must_append,share_id:e.share_id};return this.request({url:n,method:"POST",data:r},t)}ClearMessage(e,t){let n=this.genBaseURL("/api/conversation/clear_message"),r={conversation_id:e.conversation_id,scene:e.scene,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}DeleteMessage(e,t){let n=this.genBaseURL("/api/conversation/delete_message"),r={conversation_id:e.conversation_id,message_id:e.message_id,scene:e.scene,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}Chat(e,t){let n=this.genBaseURL("/api/conversation/chat"),r={bot_id:e.bot_id,conversation_id:e.conversation_id,bot_version:e.bot_version,user:e.user,query:e.query,chat_history:e.chat_history,extra:e.extra,stream:e.stream,custom_variables:e.custom_variables,draft_mode:e.draft_mode,scene:e.scene,content_type:e.content_type,regen_message_id:e.regen_message_id,local_message_id:e.local_message_id,preset_bot:e.preset_bot,insert_history_message_list:e.insert_history_message_list,device_id:e.device_id,space_id:e.space_id,mention_list:e.mention_list,toolList:e.toolList,commit_version:e.commit_version,sub_scene:e.sub_scene,diff_mode_identifier:e.diff_mode_identifier};return this.request({url:n,method:"POST",data:r},t)}GetConversation(e,t){let n=e||{},r=this.genBaseURL("/api/conversation/get_conversation"),i={bot_id:n.bot_id,draft_mode:n.draft_mode,preset_bot:n.preset_bot,scene:n.scene,biz_kind:n.biz_kind};return this.request({url:r,method:"POST",data:i},t)}BreakMessage(e,t){let n=this.genBaseURL("/api/conversation/break_message"),r={conversation_id:e.conversation_id,query_message_id:e.query_message_id,answer_message_id:e.answer_message_id,broken_pos:e.broken_pos,scene:e.scene};return this.request({url:n,method:"POST",data:r},t)}QueryWorkflowNodeTypes(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/node_type"),i={space_id:n.space_id,workflow_id:n.workflow_id};return this.request({url:r,method:"POST",data:i},t)}GetWorkflowGrayFeature(e,t){let n=this.genBaseURL("/api/workflowV2/gray_feature"),r={space_id:(e||{}).space_id};return this.request({url:n,method:"POST",data:r},t)}GetPublishedPluginList(e,t){let n=e||{},r=this.genBaseURL("/api/plugin/get_published_list"),i={space_id:n.space_id,page:n.page,size:n.size,user_space_ids:n.user_space_ids,plugin_ids:n.plugin_ids};return this.request({url:r,method:"POST",data:i},t)}CommitDraftBot(e,t){let n=this.genBaseURL("/api/draftbot/commit"),r={space_id:e.space_id,bot_id:e.bot_id,work_info:e.work_info,name:e.name,description:e.description,icon_uri:e.icon_uri,visibility:e.visibility,update_agents:e.update_agents,canvas_data:e.canvas_data,bot_mode:e.bot_mode,delete_agents:e.delete_agents,remark:e.remark};return this.request({url:n,method:"POST",data:r},t)}CheckDraftBotCommit(e,t){let n=this.genBaseURL("/api/draftbot/commit_check"),r={space_id:e.space_id,bot_id:e.bot_id,commit_version:e.commit_version};return this.request({url:n,method:"POST",data:r},t)}ChatGetOnboarding(e,t){let n=e||{},r=this.genBaseURL("/api/conversation/get_onboarding"),i={bot_id:n.bot_id,draft_mode:n.draft_mode,bot_version:n.bot_version,preset_bot:n.preset_bot,scene:n.scene};return this.request({url:r,method:"POST",data:i},t)}AutoGenChangelog(e,t){let n=this.genBaseURL("/api/draftbot/auto_gen_changelog"),r={space_id:e.space_id,bot_id:e.bot_id,publish_id:e.publish_id,connectors:e.connectors,draft_version:e.draft_version};return this.request({url:n,method:"POST",data:r},t)}GetBindConnectorConfig(e,t){let n=this.genBaseURL("/api/draftbot/bind/get_connector_config"),r={space_id:e.space_id,bot_id:e.bot_id,connector_id:e.connector_id,app_id:e.app_id,detail:e.detail,agent_type:e.agent_type};return this.request({url:n,method:"POST",data:r},t)}SaveBindConnectorConfig(e,t){let n=this.genBaseURL("/api/draftbot/bind/save_connector_config"),r={space_id:e.space_id,bot_id:e.bot_id,connector_id:e.connector_id,detail:e.detail,agent_type:e.agent_type};return this.request({url:n,method:"POST",data:r},t)}SaveCardTemplate(e,t){let n=this.genBaseURL("/api/card_center/save_template"),r={channel_type:e.channel_type,thumbnail:e.thumbnail,name:e.name,dsl_content:e.dsl_content};return this.request({url:n,method:"POST",data:r},t)}QueryCardHistory(e,t){let n=this.genBaseURL("/api/card_center/query_history"),r={card_id:e.card_id,page:e.page,size:e.size};return this.request({url:n,method:"POST",data:r},t)}MGetCardTemplate(e,t){let n=this.genBaseURL("/api/card_center/mget_template"),r={creator_id:e.creator_id,size:e.size,page:e.page,channel_type:e.channel_type,category:e.category};return this.request({url:n,method:"POST",data:r},t)}DeleteCardTemplate(e,t){let n=this.genBaseURL("/api/card_center/delete_template"),r={template_id:e.template_id};return this.request({url:n,method:"POST",data:r},t)}GetBusiness(e,t){let n=this.genBaseURL("/api/acrosite/get_bus"),r={app_id:(e||{}).app_id};return this.request({url:n,method:"POST",data:r},t)}GetDocDetailById(e,t){let n=this.genBaseURL("/api/acrosite/get_doc_detail"),r={id:e.id,app_id:e.app_id};return this.request({url:n,method:"POST",data:r},t)}AcrositeAPI(e,t){let n=e||{},r=this.genBaseURL("/api/acrosite/openapi"),i={action:n.action,data:n.data};return this.request({url:r,method:"POST",data:i},t)}GetDocById(e,t){let n=this.genBaseURL("/api/acrosite/get_doc"),r={id:e.id,app_id:e.app_id};return this.request({url:n,method:"POST",data:r},t)}Search(e,t){let n=e||{},r=this.genBaseURL("/api/acrosite/search"),i={app_id:n.app_id,app_ids:n.app_ids,q:n.q,lang:n.lang,type:n.type,business_id:n.business_id,skip:n.skip,limit:n.limit,number_of_fragments:n.number_of_fragments,fragment_size:n.fragment_size,version_scope:n.version_scope,update_time_start:n.update_time_start,update_time_end:n.update_time_end};return this.request({url:r,method:"POST",data:i},t)}GetBusStructureById(e,t){let n=e||{},r=this.genBaseURL("/api/acrosite/get_bus_struct"),i={business_id:n.business_id,lang:n.lang,source:n.source,req_source:n.req_source,business_version_id:n.business_version_id,app_id:n.app_id};return this.request({url:r,method:"POST",data:i},t)}GetBindCardsStatus(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_bind_card_status"),i={space_id:n.space_id,bot_id:n.bot_id,business_list:n.business_list,agent_id:n.agent_id,using_master:n.using_master};return this.request({url:r,method:"POST",data:i},t)}WorkFlowNodeDebugV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/nodeDebug"),i={workflow_id:n.workflow_id,node_id:n.node_id,input:n.input,batch:n.batch,space_id:n.space_id,bot_id:n.bot_id};return this.request({url:r,method:"POST",data:i},t)}GetConversationDetail(e,t){let n=this.genBaseURL("/api/conversation/get_conversation_detail"),r={bot_id:e.bot_id,draft_mode:e.draft_mode,bot_version:e.bot_version,preset_bot:e.preset_bot,scene:e.scene,conversation_id:e.conversation_id,cursor:e.cursor,count:e.count,load_direction:e.load_direction};return this.request({url:n,method:"POST",data:r},t)}SearchMention(e,t){let n=this.genBaseURL("/api/conversation/search_mention"),r={preset_bot:e.preset_bot,keyword:e.keyword,cursor_id:e.cursor_id,page_size:e.page_size};return this.request({url:n,method:"POST",data:r},t)}GetCardRespStruct(e,t){let n=e||{},r=this.genBaseURL("/api/plugin/get_card_resp_struct"),i={biz_type:n.biz_type,plugin_id:n.plugin_id,unique_id:n.unique_id,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}GetWorkflowMessageNodes(e,t){let n=e||{},r=this.genBaseURL("/api/workflowV2/message_nodes"),i={space_id:n.space_id,plugin_id:n.plugin_id};return this.request({url:r,method:"GET",params:i},t)}CreateBotTaskWebhook(e,t){let n=this.genBaseURL("/api/task/create_webhook"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}RemoveBotTask(e,t){let n=this.genBaseURL("/api/task/remove_bot_task"),r={bot_id:e.bot_id,task_id:e.task_id};return this.request({url:n,method:"POST",data:r},t)}CreateBotTask(e,t){let n=this.genBaseURL("/api/task/create_bot_task"),r={bot_id:e.bot_id,task_id:e.task_id,name:e.name,trigger_type:e.trigger_type,mode:e.mode,time_data:e.time_data,webhook_data:e.webhook_data,action:e.action};return this.request({url:n,method:"POST",data:r},t)}GetBotTaskList(e,t){let n=this.genBaseURL("/api/task/bot_task_list"),r={bot_id:e.bot_id,conversation_id:e.conversation_id};return this.request({url:n,method:"POST",data:r},t)}TriggerBotTask(e,t){let n=this.genBaseURL("/api/task/trigger_task"),r={bot_id:e.bot_id,task_id:e.task_id,webhook_url:e.webhook_url,bearer_token:e.bearer_token,params:e.params,conversation_id:e.conversation_id,extra:e.extra};return this.request({url:n,method:"POST",data:r},t)}MarkRead(e,t){let n=this.genBaseURL("/api/conversation/mark_read"),r={conversation_id:e.conversation_id,read_message_index:e.read_message_index,mark_time:e.mark_time};return this.request({url:n,method:"POST",data:r},t)}SwitchDevelopMode(e,t){let n=this.genBaseURL("/api/draftbot/switch_develop_mode"),r={space_id:e.space_id,bot_id:e.bot_id,target_develop_mode:e.target_develop_mode};return this.request({url:n,method:"POST",data:r},t)}GetConversationParticipantsReadIndex(e,t){let n=e||{},r=this.genBaseURL("/api/conversation/get_message_index"),i={conversation_id:n.conversation_id,bot_id:n.bot_id,draft_mode:n.draft_mode,preset_bot:n.preset_bot,scene:n.scene,biz_kind:n.biz_kind};return this.request({url:r,method:"POST",data:i},t)}ReportMessage(e,t){let n=this.genBaseURL("/api/conversation/message/report"),r={biz_conversation_id:e.biz_conversation_id,message_id:e.message_id,scene:e.scene,action:e.action,message_feedback:e.message_feedback,attributes:e.attributes};return this.request({url:n,method:"POST",data:r},t)}GetPERules(e,t){let n=this.genBaseURL("/api/conversation/get_pe_rules"),r={scene:e.scene,action:e.action};return this.request({url:n,method:"POST",data:r},t)}GetBotInitInfo(e,t){let n=e||{},r=this.genBaseURL("/api/conversation/get_bot_init_info"),i={bot_id:n.bot_id,draft_mode:n.draft_mode,bot_version:n.bot_version,preset_bot:n.preset_bot,scene:n.scene};return this.request({url:r,method:"POST",data:i},t)}GetConversationBotInfo(e,t){let n=this.genBaseURL("/api/conversation/get_bot_info"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}DeleteMention(e,t){let n=this.genBaseURL("/api/conversation/delete_mention"),r={bot_id:(e||{}).bot_id};return this.request({url:n,method:"POST",data:r},t)}UpdateHomeTriggerUserConfig(e,t){let n=this.genBaseURL("/api/conversation/home_trigger"),r={bot_id:e.bot_id,action:e.action};return this.request({url:n,method:"POST",data:r},t)}GetBotParticipantInfoByBotIds(e,t){let n=this.genBaseURL("/api/conversation/get_bot_participant_info"),r={bot_ids:e.bot_ids};return this.request({url:n,method:"POST",data:r},t)}GetConnectorAuthState(e,t){let n=this.genBaseURL("/api/user/auth/connector_state"),r={connector_id:(e||{}).connector_id};return this.request({url:n,method:"GET",params:r},t)}BindConnectorUser(e,t){let n=this.genBaseURL("/api/connector_user/bind"),r={connector_id:e.connector_id,param:e.param};return this.request({url:n,method:"POST",data:r},t)}UnbindConnectorUser(e,t){let n=this.genBaseURL("/api/connector_user/unbind"),r={connector_id:e.connector_id,connector_uid:e.connector_uid};return this.request({url:n,method:"POST",data:r},t)}GetBindConnections(e,t){let n=this.genBaseURL("/api/connector_user/connections");return this.request({url:n,method:"GET"},t)}GetConnectorUserBindConfig(e,t){let n=this.genBaseURL("/api/connector_user/config"),r={connector_id:e.connector_id,redirect_uri:e.redirect_uri};return this.request({url:n,method:"GET",params:r},t)}ResumeChat(e,t){let n=e||{},r=this.genBaseURL("/api/conversation/resume_chat"),i={interrupt_message_id:n.interrupt_message_id,conversation_id:n.conversation_id,tool_outputs:n.tool_outputs,scene:n.scene,resume_message_id:n.resume_message_id};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("DeveloperApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},84828:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew;(j=e||(e={}))[j.Start_Agent=0]="Start_Agent",j[j.LLM_Agent=1]="LLM_Agent",j[j.Task_Agent=2]="Task_Agent",j[j.Global_Agent=3]="Global_Agent",j[j.Bot_Agent=4]="Bot_Agent",(U=t||(t={}))[U.OldVersion=0]="OldVersion",U[U.MiddleVersion=1]="MiddleVersion",U[U.NewVersion=2]="NewVersion",U[U.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(z=n||(n={}))[z.Default=1]="Default",z[z.Customize=2]="Customize",(F=r||(r={}))[F.Direct=1]="Direct",F[F.WebView=2]="WebView",F[F.SendMessage=3]="SendMessage",(G=i||(i={}))[G.Current=1]="Current",G[G.Previous=2]="Previous",G[G.Start=3]="Start",G[G.MostSuitable=4]="MostSuitable",(q=o||(o={}))[q.SingleMode=0]="SingleMode",q[q.MultiMode=1]="MultiMode",q[q.WorkflowMode=2]="WorkflowMode",(W=a||(a={}))[W.Default=0]="Default",W[W.Function=1]="Function",(Z=s||(s={}))[Z.Deleted=0]="Deleted",Z[Z.Using=1]="Using",Z[Z.Banned=2]="Banned",(H=l||(l={}))[H.LimitedReadWrite=1]="LimitedReadWrite",H[H.ReadOnly=2]="ReadOnly",H[H.UnlimitedReadWrite=3]="UnlimitedReadWrite",H[H.RWModeMax=4]="RWModeMax",(V=u||(u={}))[V.Default=0]="Default",V[V.DouyinAvatar=1]="DouyinAvatar",(Q=c||(c={}))[Q.Chat=0]="Chat",Q[Q.FunctionCall_1=1]="FunctionCall_1",Q[Q.FunctionCall_2=2]="FunctionCall_2",Q[Q.FunctionCall_3=3]="FunctionCall_3",(Y=d||(d={}))[Y.NotSet=0]="NotSet",Y[Y.Text=1]="Text",Y[Y.Voice=2]="Voice",Y[Y.Call=3]="Call",($=p||(p={}))[$.Off=0]="Off",$[$.On=1]="On",(K=h||(h={}))[K.Text=1]="Text",K[K.Number=2]="Number",K[K.Date=3]="Date",K[K.Float=4]="Float",K[K.Boolean=5]="Boolean",(X=f||(f={}))[X.Off=0]="Off",X[X.On=1]="On",(J=g||(g={}))[J.SLM=0]="SLM",J[J.LLM=1]="LLM",(ee=m||(m={}))[ee.Pre=1]="Pre",ee[ee.Post=2]="Post",ee[ee.PreAndPost=3]="PreAndPost",(et=_||(_={}))[et.Default=0]="Default",et[et.CustomizePrompt=1]="CustomizePrompt",(en=v||(v={}))[en.ReplyBottom=0]="ReplyBottom",en[en.CardList=1]="CardList",(er=b||(b={}))[er.UnlikeDefault=0]="UnlikeDefault",er[er.UnlikeHarmful=1]="UnlikeHarmful",er[er.UnlikeIncorrect=2]="UnlikeIncorrect",er[er.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",er[er.UnlikeOthers=4]="UnlikeOthers",(ei=y||(y={}))[ei.Default=0]="Default",ei[ei.Like=1]="Like",ei[ei.Unlike=2]="Unlike",(eo=w||(w={}))[eo.FullSupport=0]="FullSupport",eo[eo.PoorSupport=1]="PoorSupport",eo[eo.NotSupport=2]="NotSupport",(ea=S||(S={}))[ea.Plugin=1]="Plugin",ea[ea.Workflow=2]="Workflow",ea[ea.ImageFlow=3]="ImageFlow",ea[ea.Trigger=4]="Trigger",ea[ea.KnowledgeText=5]="KnowledgeText",ea[ea.KnowledgeTable=6]="KnowledgeTable",ea[ea.KnowledgeAutoCall=7]="KnowledgeAutoCall",ea[ea.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",ea[ea.Variable=9]="Variable",ea[ea.Database=10]="Database",ea[ea.LongTermMemory=11]="LongTermMemory",ea[ea.FileBox=12]="FileBox",ea[ea.Onboarding=13]="Onboarding",ea[ea.Suggestion=14]="Suggestion",ea[ea.ShortcutCommand=15]="ShortcutCommand",ea[ea.BackGroundImage=16]="BackGroundImage",ea[ea.TTS=17]="TTS",ea[ea.MultiAgentRecognize=18]="MultiAgentRecognize",ea[ea.KnowledgePhoto=19]="KnowledgePhoto",ea[ea.HookInfo=20]="HookInfo",(es=A||(A={}))[es.Text=0]="Text",es[es.Markdown=1]="Markdown",es[es.JSON=2]="JSON",(el=T||(T={}))[el.Custom=0]="Custom",el[el.Creative=1]="Creative",el[el.Balance=2]="Balance",el[el.Precise=3]="Precise",(eu=x||(x={}))[eu.Curve=0]="Curve",eu[eu.Straight=1]="Straight",(ec=k||(k={}))[ec.Flow=1]="Flow",ec[ec.Host=2]="Host",(ed=M||(M={}))[ed.NO_NEED=1]="NO_NEED",ed[ed.USE_MANUAL=2]="USE_MANUAL",ed[ed.USE_LLM=3]="USE_LLM",(ep=P||(P={}))[ep.FunctionCall=1]="FunctionCall",ep[ep.Independent=2]="Independent",(eh=I||(I={}))[eh.HasUpdates=1]="HasUpdates",eh[eh.IsDelete=2]="IsDelete",(ef=E||(E={}))[ef.ManualUpdate=1]="ManualUpdate",ef[ef.AutoUpdate=2]="AutoUpdate",(eg=C||(C={}))[eg.Default=0]="Default",eg[eg.Explore=1]="Explore",eg[eg.BotStore=2]="BotStore",eg[eg.CozeHome=3]="CozeHome",eg[eg.Playground=4]="Playground",eg[eg.Evaluation=5]="Evaluation",eg[eg.AgentAPP=6]="AgentAPP",eg[eg.PromptOptimize=7]="PromptOptimize",eg[eg.GenerateAgentInfo=8]="GenerateAgentInfo",(em=O||(O={}))[em.SemanticSearch=0]="SemanticSearch",em[em.HybirdSearch=1]="HybirdSearch",em[em.FullTextSearch=20]="FullTextSearch",(e_=D||(D={}))[e_.Public=1]="Public",e_[e_.Anonymous=2]="Anonymous",e_[e_.Custom=3]="Custom",(ev=L||(L={}))[ev.Random=0]="Random",ev[ev.All=1]="All",(eb=B||(B={}))[eb.System=0]="System",eb[eb.Custom=1]="Custom",eb[eb.Disable=2]="Disable",eb[eb.OriBot=3]="OriBot",(ey=N||(N={}))[ey.Off=0]="Off",ey[ey.On=1]="On",(ew=R||(R={}))[ew.Workflow=0]="Workflow",ew[ew.Imageflow=1]="Imageflow",ew[ew.SceneFlow=2]="SceneFlow",ew[ew.ChatFlow=3]="ChatFlow",ew[ew.All=100]="All"},41621:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x;(h=e||(e={}))[h.AgentTypeBot=0]="AgentTypeBot",h[h.AgentTypeProject=1]="AgentTypeProject",(f=t||(t={}))[f.AuditPass=1]="AuditPass",f[f.AuditReject=2]="AuditReject",f[f.AuditDelay=3]="AuditDelay",(g=n||(n={}))[g.Install=1]="Install",g[g.Uninstall=2]="Uninstall",(m=r||(r={}))[m.InvalidStatus=0]="InvalidStatus",m[m.ValidStatus=1]="ValidStatus",m[m.SaveNotPublishStatus=2]="SaveNotPublishStatus",m[m.Disconnected=3]="Disconnected",m[m.NeedReconfigure=4]="NeedReconfigure",(_=i||(i={}))[_.SamiAppKey=1]="SamiAppKey",_[_.EventCallbackURL=2]="EventCallbackURL",_[_.Token=3]="Token",_[_.OauthConfig=4]="OauthConfig",(v=o||(o={}))[v.Unknown=0]="Unknown",v[v.Progress=1]="Progress",v[v.Audited=2]="Audited",v[v.Reject=3]="Reject",(b=a||(a={}))[b.NoBindRequired=1]="NoBindRequired",b[b.AuthBind=2]="AuthBind",b[b.KvBind=3]="KvBind",b[b.KvAuthBind=4]="KvAuthBind",b[b.ApiBind=5]="ApiBind",b[b.WebSDKBind=6]="WebSDKBind",b[b.StoreBind=7]="StoreBind",b[b.AuthAndConfig=8]="AuthAndConfig",b[b.BindWithConnectorID=9]="BindWithConnectorID",(y=s||(s={}))[y.Normal=0]="Normal",y[y.InReview=1]="InReview",y[y.Offline=2]="Offline",(w=l||(l={}))[w.Bot=0]="Bot",w[w.Project=1]="Project",(S=u||(u={}))[S.Update=1]="Update",S[S.Delete=2]="Delete",S[S.StopUse=3]="StopUse",S[S.Activate=4]="Activate",(A=c||(c={}))[A.TenantAccessToken=1]="TenantAccessToken",(T=d||(d={}))[T.NotQuery=0]="NotQuery",T[T.GetBindConnectorConfig=1]="GetBindConnectorConfig",T[T.SaveBindConnectorConfig=2]="SaveBindConnectorConfig",T[T.BindConnector=3]="BindConnector",T[T.UnBindConnector=4]="UnBindConnector",(x=p||(p={}))[x.Team=1]="Team",x[x.Public=2]="Public",x[x.Official=3]="Official",x[x.InstalledPublic=4]="InstalledPublic"},2957:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.BotQuery=1]="BotQuery",l[l.Plugin=2]="Plugin",l[l.Workflow=3]="Workflow",(u=t||(t={}))[u.Unknown=0]="Unknown",u[u.Webhook=1]="Webhook",(c=n||(n={}))[c.Unknown=0]="Unknown",c[c.Time=1]="Time",c[c.Event=2]="Event",(d=r||(r={}))[d.NoHistory=0]="NoHistory",d[d.NeedHistory=1]="NeedHistory",(p=i||(i={}))[p.UserTaskTemplate=1]="UserTaskTemplate",(h=o||(o={}))[h.NoTriggered=0]="NoTriggered",h[h.Triggered=1]="Triggered",h[h.DoAction=2]="DoAction",h[h.WaitToPush=3]="WaitToPush",h[h.PushSuccess=4]="PushSuccess",h[h.PushFail=5]="PushFail",(f=a||(a={}))[f.Init=0]="Init",f[f.Activated=1]="Activated",f[f.Deactivated=2]="Deactivated",f[f.Suspended=3]="Suspended",(g=s||(s={}))[g.Preset=1]="Preset",g[g.UserTask=2]="UserTask",g[g.PluginRunTask=3]="PluginRunTask"},55861:function(){"use strict";var e,t;(t=e||(e={}))[t.Authorized=1]="Authorized",t[t.UnAuthorized=2]="UnAuthorized",t[t.Authorizing=3]="Authorizing"},28411:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Notion=1]="Notion",r[r.GoogleDrive=2]="GoogleDrive",(i=t||(t={}))[i.Folder=1]="Folder",i[i.Document=2]="Document",i[i.Sheet=3]="Sheet",(o=n||(n={}))[o.Document=1]="Document",o[o.Excel=2]="Excel"},41830:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez,eF,eG,eq,eW,eZ,eH,eV,eQ,eY,e$,eK,eX,eJ,e0,e1,e2,e4,e3,e5,e6,e8,e9,e7,te,tn,tr,ti,to,ta,ts,tl,tu,tc,td,tp,th,tf,tg,tm,t_,tv,tb,ty,tw,tS,tA,tT,tx,tk,tM,tP,tI,tE,tC,tO,tD,tL,tB,tN,tR,tj,tU,tz,tF,tG,tq,tW,tZ,tH,tV,tQ,tY,t$,tK,tX,tJ,t0,t1,t2,t4,t3,t5,t6,t8,t9,t7,ne,nt,nn,nr,ni,no,na,ns,nl,nu,nc,nd,np,nh,nf,ng,nm,n_,nv,nb,ny,nw,nS,nA,nT,nx,nk,nM,nP,nI,nE,nC,nO,nD,nL,nB,nN,nR,nj,nU,nz,nF,nG,nq,nW,nZ,nH,nV,nQ,nY,n$,nK,nX,nJ,n0,n1,n2,n4,n3,n5,n6,n8,n9,n7,re,rt,rn,rr,ri,ro,ra,rs,rl,ru,rc,rd,rp,rh,rf,rg,rm,r_,rv,rb,ry,rw,rS,rA,rT,rx,rk,rM,rP,rI,rE,rC,rO,rD,rL,rB,rN,rR,rj,rU,rz,rF,rG,rq,rW,rZ,rH;(tI=e||(e={}))[tI.Pass=0]="Pass",tI[tI.NoLeaveAllTeam=1]="NoLeaveAllTeam",(tE=t||(t={}))[tE.None=0]="None",tE[tE.NoNeutral=1]="NoNeutral",tE[tE.Neutral=2]="Neutral",(tC=n||(n={}))[tC.Start_Agent=0]="Start_Agent",tC[tC.LLM_Agent=1]="LLM_Agent",tC[tC.Task_Agent=2]="Task_Agent",tC[tC.Global_Agent=3]="Global_Agent",tC[tC.Bot_Agent=4]="Bot_Agent",(tO=r||(r={}))[tO.OldVersion=0]="OldVersion",tO[tO.MiddleVersion=1]="MiddleVersion",tO[tO.NewVersion=2]="NewVersion",tO[tO.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(tD=i||(i={}))[tD.Allowed=0]="Allowed",tD[tD.Forbid=1]="Forbid",(tL=o||(o={}))[tL.Default=1]="Default",tL[tL.Customize=2]="Customize",(tB=a||(a={}))[tB.Direct=1]="Direct",tB[tB.WebView=2]="WebView",tB[tB.SendMessage=3]="SendMessage",(tN=s||(s={}))[tN.DebugWaiting=0]="DebugWaiting",tN[tN.DebugPassed=1]="DebugPassed",(tR=l||(l={}))[tR.Inner=1]="Inner",tR[tR.Outter=2]="Outter",(tj=u||(u={}))[tj.CreateTime=1]="CreateTime",(tU=c||(c={}))[tU.GET=1]="GET",tU[tU.POST=2]="POST",tU[tU.PUT=3]="PUT",tU[tU.DELETE=4]="DELETE",tU[tU.PATCH=5]="PATCH",(tz=d||(d={}))[tz.Auditing=0]="Auditing",tz[tz.Success=1]="Success",tz[tz.Failed=2]="Failed",(tF=p||(p={}))[tF.Header=1]="Header",tF[tF.Query=2]="Query",(tG=h||(h={}))[tG.None=0]="None",tG[tG.Service=1]="Service",tG[tG.OAuth=3]="OAuth",(tq=f||(f={}))[tq.Authorized=1]="Authorized",tq[tq.Unauthorized=2]="Unauthorized",tq[tq.Authorizing=3]="Authorizing",(tW=g||(g={}))[tW.Current=1]="Current",tW[tW.Previous=2]="Previous",tW[tW.Start=3]="Start",tW[tW.MostSuitable=4]="MostSuitable",(tZ=m||(m={}))[tZ.BatchParam=1]="BatchParam",tZ[tZ.NormalParam=2]="NormalParam",(tH=_||(_={}))[tH.NoBindRequired=1]="NoBindRequired",tH[tH.AuthBind=2]="AuthBind",tH[tH.KvBind=3]="KvBind",tH[tH.KvAuthBind=4]="KvAuthBind",tH[tH.ApiBind=5]="ApiBind",tH[tH.WebSDKBind=6]="WebSDKBind",tH[tH.StoreBind=7]="StoreBind",tH[tH.AuthAndConfig=8]="AuthAndConfig",(tV=v||(v={}))[tV.Normal=0]="Normal",tV[tV.InReview=1]="InReview",tV[tV.Offline=2]="Offline",(tQ=b||(b={}))[tQ.Online=1]="Online",tQ[tQ.Offline=2]="Offline",(tY=y||(y={}))[tY.Offline=0]="Offline",tY[tY.Online=1]="Online",(t$=w||(w={}))[t$.SingleMode=0]="SingleMode",t$[t$.MultiMode=1]="MultiMode",t$[t$.WorkflowMode=2]="WorkflowMode",(tK=S||(S={}))[tK.Default=0]="Default",tK[tK.Function=1]="Function",(tX=A||(A={}))[tX.Using=0]="Using",tX[tX.Deleted=1]="Deleted",tX[tX.Ban=3]="Ban",tX[tX.Draft=4]="Draft",(tJ=T||(T={}))[tJ.User=0]="User",tJ[tJ.Coco=1]="Coco",tJ[tJ.GuanFang=2]="GuanFang",(t0=x||(x={}))[t0.Undefined=0]="Undefined",t0[t0.PersonalDraft=1]="PersonalDraft",t0[t0.Base=2]="Base",t0[t0.Publish=3]="Publish",(t1=k||(k={}))[t1.Plugin=1]="Plugin",t1[t1.Workflow=2]="Workflow",(t2=M||(M={}))[t2.Plugin=1]="Plugin",t2[t2.WorkFlow=2]="WorkFlow",(t4=P||(P={}))[t4.Official=1]="Official",t4[t4.Custom=2]="Custom",(t3=I||(I={}))[t3.Basic=1]="Basic",t3[t3.List=2]="List",t3[t3.Custom=3]="Custom",t3[t3.Slide=4]="Slide",(t5=E||(E={}))[t5.ImportSuccess=1]="ImportSuccess",t5[t5.Importing=2]="Importing",t5[t5.ImportFailed=3]="ImportFailed",(t6=C||(C={}))[t6.CardSourceLego=1]="CardSourceLego",t6[t6.CardSourceProCode=2]="CardSourceProCode",(t8=O||(O={}))[t8.Draft=0]="Draft",t8[t8.Published=1]="Published",t8[t8.UnPublish=2]="UnPublish",(t9=D||(D={}))[t9.Default=0]="Default",t9[t9.Doubao=100]="Doubao",t9[t9.CiCi=101]="CiCi",t9[t9.Feishu=200]="Feishu",t9[t9.WhatsApp=300]="WhatsApp",t9[t9.Discord=301]="Discord",t9[t9.Twitter=302]="Twitter",(t7=L||(L={}))[t7.Default_0=0]="Default_0",t7[t7.Replaceable=1]="Replaceable",t7[t7.Insertable=2]="Insertable",t7[t7.DocumentRef=3]="DocumentRef",t7[t7.KnowledgeCard=4]="KnowledgeCard",t7[t7.EmbeddedMultimedia=100]="EmbeddedMultimedia",(ne=B||(B={}))[ne.Undefined=0]="Undefined",ne[ne.Committed=1]="Committed",ne[ne.Behind=2]="Behind",(nt=N||(N={}))[nt.Undefined=0]="Undefined",nt[nt.Uptodate=1]="Uptodate",nt[nt.Behind=2]="Behind",nt[nt.NoDraftReplica=3]="NoDraftReplica",(nn=R||(R={}))[nn.Equal=1]="Equal",nn[nn.NotEqual=2]="NotEqual",nn[nn.LengthGt=3]="LengthGt",nn[nn.LengthGtEqual=4]="LengthGtEqual",nn[nn.LengthLt=5]="LengthLt",nn[nn.LengthLtEqual=6]="LengthLtEqual",nn[nn.Contains=7]="Contains",nn[nn.NotContains=8]="NotContains",nn[nn.Null=9]="Null",nn[nn.NotNull=10]="NotNull",nn[nn.True=11]="True",nn[nn.False=12]="False",nn[nn.Gt=13]="Gt",nn[nn.GtEqual=14]="GtEqual",nn[nn.Lt=15]="Lt",nn[nn.LtEqual=16]="LtEqual",(nr=j||(j={}))[nr.Configured=1]="Configured",nr[nr.NotConfigured=2]="NotConfigured",nr[nr.Disconnected=3]="Disconnected",nr[nr.Configuring=4]="Configuring",nr[nr.NeedReconfiguring=5]="NeedReconfiguring",(ni=U||(U={}))[ni.Available=1]="Available",ni[ni.Delete=2]="Delete",ni[ni.StopUse=3]="StopUse",(no=z||(z={}))[no.Normal=0]="Normal",no[no.Offline=1]="Offline",no[no.TokenDisconnect=2]="TokenDisconnect",(na=F||(F={}))[na.Text=1]="Text",na[na.Suggest=2]="Suggest",na[na.Music=3]="Music",na[na.WebView=4]="WebView",na[na.Video=5]="Video",na[na.Tako=8]="Tako",na[na.Card=50]="Card",na[na.Time=100]="Time",(ns=G||(G={}))[ns.USER_RES=0]="USER_RES",ns[ns.USER_LLM_RES=1]="USER_LLM_RES",ns[ns.USER_LLM_APILEN_RES=2]="USER_LLM_APILEN_RES",ns[ns.USER_LLM_API_RES=3]="USER_LLM_API_RES",(nl=q||(q={}))[nl.COZE=0]="COZE",nl[nl.IDE=1]="IDE",(nu=W||(W={}))[nu.ScopeAll=1]="ScopeAll",nu[nu.ScopeSelf=2]="ScopeSelf",(nc=Z||(Z={}))[nc.SearchByCreateTime=1]="SearchByCreateTime",nc[nc.SearchByUpdateTime=2]="SearchByUpdateTime",(nd=H||(H={}))[nd.SourceSelf=1]="SourceSelf",nd[nd.SourceExplore=2]="SourceExplore",(np=V||(V={}))[np.DataSetProcessing=0]="DataSetProcessing",np[np.DataSetReady=1]="DataSetReady",(nh=Q||(Q={}))[nh.Debug=1]="Debug",nh[nh.Parse=2]="Parse",(nf=Y||(Y={}))[nf.SUCCESS=0]="SUCCESS",nf[nf.FAIL=1]="FAIL",(ng=$||($={}))[ng.NORMAL=1]="NORMAL",ng[ng.ADVANCED=2]="ADVANCED",(nm=K||(K={}))[nm.DevModeSingle=0]="DevModeSingle",nm[nm.DevModeCollaboration=1]="DevModeCollaboration",(n_=X||(X={}))[n_.ChatWithA=1]="ChatWithA",n_[n_.ChatWithB=2]="ChatWithB",(nv=J||(J={}))[nv.Deleted=0]="Deleted",nv[nv.Using=1]="Using",nv[nv.Banned=2]="Banned",nv[nv.MoveFail=3]="MoveFail",(nb=ee||(ee={}))[nb.NotFav=0]="NotFav",nb[nb.IsFav=1]="IsFav",(ny=et||(et={}))[ny.Object=1]="Object",ny[ny.String=2]="String",ny[ny.Integer=3]="Integer",ny[ny.Bool=4]="Bool",ny[ny.Array=5]="Array",(nw=en||(en={}))[nw.BIZ_UNKNOWN=0]="BIZ_UNKNOWN",nw[nw.BIZ_BOT_ICON=1]="BIZ_BOT_ICON",nw[nw.BIZ_BOT_DATASET=2]="BIZ_BOT_DATASET",nw[nw.BIZ_DATASET_ICON=3]="BIZ_DATASET_ICON",nw[nw.BIZ_PLUGIN_ICON=4]="BIZ_PLUGIN_ICON",nw[nw.BIZ_BOT_SPACE=5]="BIZ_BOT_SPACE",nw[nw.BIZ_BOT_WORKFLOW=6]="BIZ_BOT_WORKFLOW",nw[nw.BIZ_SOCIETY_ICON=7]="BIZ_SOCIETY_ICON",nw[nw.BIZ_CONNECTOR_ICON=8]="BIZ_CONNECTOR_ICON",nw[nw.BIZ_LIBRARY_VOICE_ICON=9]="BIZ_LIBRARY_VOICE_ICON",(nS=er||(er={}))[nS.Off=0]="Off",nS[nS.On=1]="On",(nA=ei||(ei={}))[nA.Default=0]="Default",nA[nA.Discover=1]="Discover",nA[nA.MyBot=2]="MyBot",(nT=eo||(eo={}))[nT.LATEST=1]="LATEST",nT[nT.HISTORY=2]="HISTORY",(nx=ea||(ea={}))[nx.SUBMIT=1]="SUBMIT",nx[nx.FLAG=2]="FLAG",nx[nx.COMMIT=4]="COMMIT",nx[nx.COMMITANDFLAG=5]="COMMITANDFLAG",(nk=es||(es={}))[nk.Bot=1]="Bot",nk[nk.User=2]="User",nk[nk.Plugin=3]="Plugin",nk[nk.Dataset=4]="Dataset",nk[nk.Space=5]="Space",nk[nk.Workflow=6]="Workflow",nk[nk.Imageflow=7]="Imageflow",nk[nk.Society=8]="Society",nk[nk.Connector=9]="Connector",nk[nk.ChatFlow=10]="ChatFlow",nk[nk.Voice=11]="Voice",(nM=el||(el={}))[nM.And=1]="And",nM[nM.Or=2]="Or",(nP=eu||(eu={}))[nP.If=1]="If",nP[nP.Else=2]="Else",(nI=ec||(ec={}))[nI.SLM=0]="SLM",nI[nI.LLM=1]="LLM",(nE=ed||(ed={}))[nE.Pre=1]="Pre",nE[nE.Post=2]="Post",nE[nE.PreAndPost=3]="PreAndPost",(nC=ep||(ep={}))[nC.String=1]="String",nC[nC.Integer=2]="Integer",nC[nC.Boolean=3]="Boolean",nC[nC.Double=4]="Double",nC[nC.List=5]="List",nC[nC.Object=6]="Object",(nO=eh||(eh={}))[nO.USING=1]="USING",nO[nO.REMOVE=2]="REMOVE",nO[nO.OFFLINE=3]="OFFLINE",nO[nO.NOTINSTALL=4]="NOTINSTALL",(nD=ef||(ef={}))[nD.GetInfo=1]="GetInfo",(nL=eg||(eg={}))[nL.USED=1]="USED",nL[nL.DELETED=2]="DELETED",(nB=em||(em={}))[nB.MESSAGEINFO=1]="MESSAGEINFO",nB[nB.SYSTEMINFO=2]="SYSTEMINFO",nB[nB.VARIABLE=3]="VARIABLE",nB[nB.OTHERINFO=4]="OTHERINFO",nB[nB.HISTORYINFO=5]="HISTORYINFO",nB[nB.APIINFO=6]="APIINFO",nB[nB.SYSTEMINFOAll=7]="SYSTEMINFOAll",nB[nB.DataSet=8]="DataSet",nB[nB.ONBOARDING=9]="ONBOARDING",nB[nB.OUTPUTPARSER=10]="OUTPUTPARSER",nB[nB.PROFILEMEMORY=11]="PROFILEMEMORY",nB[nB.TABLE=12]="TABLE",nB[nB.WORKFLOW=13]="WORKFLOW",nB[nB.TASK=14]="TASK",nB[nB.SUGGESTREPLY=15]="SUGGESTREPLY",nB[nB.HOOKINFO=16]="HOOKINFO",(nN=e_||(e_={}))[nN.Add=1]="Add",nN[nN.Delete=2]="Delete",(nR=ev||(ev={}))[nR.MySpace=0]="MySpace",nR[nR.MyDrafts=1]="MyDrafts",nR[nR.TeamBots=2]="TeamBots",nR[nR.Mine=3]="Mine",(nj=eb||(eb={}))[nj.USER=1]="USER",nj[nj.ALL=2]="ALL",(nU=ey||(ey={}))[nU.Unknown=0]="Unknown",nU[nU.Prev=1]="Prev",nU[nU.Next=2]="Next",(nz=ew||(ew={}))[nz.DefaultMode=0]="DefaultMode",nz[nz.StrongValidationMode=1]="StrongValidationMode",(nF=eS||(eS={}))[nF.ASSISTANT=1]="ASSISTANT",nF[nF.USER=2]="USER",nF[nF.MODELRESPONSE=3]="MODELRESPONSE",nF[nF.APIRESPONSE=4]="APIRESPONSE",nF[nF.SYSTEM=5]="SYSTEM",nF[nF.PLACEHOLDER=6]="PLACEHOLDER",nF[nF.TIME=100]="TIME",(nG=eA||(eA={}))[nG.Debug=1]="Debug",nG[nG.Run=2]="Run",(nq=eT||(eT={}))[nq.Single=1]="Single",nq[nq.Space=2]="Space",nq[nq.ALL=3]="ALL",(nW=ex||(ex={}))[nW.GPT=1]="GPT",nW[nW.SEED=2]="SEED",nW[nW.Claude=3]="Claude",nW[nW.MiniMax=4]="MiniMax",nW[nW.Plugin=5]="Plugin",nW[nW.StableDiffusion=6]="StableDiffusion",nW[nW.ByteArtist=7]="ByteArtist",nW[nW.Maas=9]="Maas",nW[nW.QianFan=10]="QianFan",nW[nW.Gemini=11]="Gemini",nW[nW.Moonshot=12]="Moonshot",nW[nW.GLM=13]="GLM",nW[nW.MaaSAutoSync=14]="MaaSAutoSync",nW[nW.QWen=15]="QWen",nW[nW.Cohere=16]="Cohere",nW[nW.Baichuan=17]="Baichuan",nW[nW.Ernie=18]="Ernie",nW[nW.DeekSeek=19]="DeekSeek",nW[nW.Llama=20]="Llama",nW[nW.StepFun=23]="StepFun",nW[nW.Other=999]="Other",(nZ=ek||(ek={}))[nZ.Float=1]="Float",nZ[nZ.Int=2]="Int",nZ[nZ.Boolean=3]="Boolean",nZ[nZ.String=4]="String",(nH=eM||(eM={}))[nH.Douyin=1]="Douyin",(nV=eP||(eP={}))[nV.ModelType=1]="ModelType",nV[nV.ModelUserRight=2]="ModelUserRight",nV[nV.ModelFeature=3]="ModelFeature",nV[nV.ModelFunction=4]="ModelFunction",nV[nV.Custom=20]="Custom",nV[nV.Others=100]="Others",(nQ=eI||(eI={}))[nQ.Flagship=1]="Flagship",nQ[nQ.HighSpeed=2]="HighSpeed",nQ[nQ.ToolInvocation=3]="ToolInvocation",nQ[nQ.RolePlaying=4]="RolePlaying",nQ[nQ.LongText=5]="LongText",nQ[nQ.ImageUnderstanding=6]="ImageUnderstanding",nQ[nQ.Reasoning=7]="Reasoning",nQ[nQ.VideoUnderstanding=8]="VideoUnderstanding",nQ[nQ.CostPerformance=9]="CostPerformance",nQ[nQ.CodeSpecialization=10]="CodeSpecialization",nQ[nQ.AudioUnderstanding=11]="AudioUnderstanding",(nY=eE||(eE={}))[nY.Bot=1]="Bot",nY[nY.User=2]="User",(n$=eC||(eC={}))[n$.FINALANSWER=1]="FINALANSWER",n$[n$.MODELRESPONSE=3]="MODELRESPONSE",n$[n$.APIRESPONSE=4]="APIRESPONSE",(nK=eO||(eO={}))[nK.Curve=0]="Curve",nK[nK.Straight=1]="Straight",(nX=eD||(eD={}))[nX.Flow=1]="Flow",nX[nX.Host=2]="Host",(nJ=eL||(eL={}))[nJ.Waiting=1]="Waiting",nJ[nJ.Running=2]="Running",nJ[nJ.Success=3]="Success",nJ[nJ.Fail=4]="Fail",(n0=eB||(eB={}))[n0.Start=1]="Start",n0[n0.End=2]="End",n0[n0.LLM=3]="LLM",n0[n0.Api=4]="Api",n0[n0.Code=5]="Code",n0[n0.Dataset=6]="Dataset",n0[n0.If=8]="If",n0[n0.SubWorkflow=9]="SubWorkflow",n0[n0.Variable=11]="Variable",n0[n0.Database=12]="Database",n0[n0.Message=13]="Message",n0[n0.Question=18]="Question",(n1=eN||(eN={}))[n1.None=0]="None",n1[n1.OnboardingNotDisplay=1]="OnboardingNotDisplay",n1[n1.OnboardingPreset=2]="OnboardingPreset",n1[n1.OnboardingLLMGen=3]="OnboardingLLMGen",(n2=eR||(eR={}))[n2.OFFLINE=0]="OFFLINE",n2[n2.ONLINE=1]="ONLINE",(n4=ej||(ej={}))[n4.CreateTime=0]="CreateTime",n4[n4.UpdateTime=1]="UpdateTime",n4[n4.PublishTime=2]="PublishTime",n4[n4.Hot=3]="Hot",(n3=eU||(eU={}))[n3.Path=1]="Path",n3[n3.Query=2]="Query",n3[n3.Body=3]="Body",n3[n3.Header=4]="Header",(n5=ez||(ez={}))[n5.String=1]="String",n5[n5.Integer=2]="Integer",n5[n5.Number=3]="Number",n5[n5.Object=4]="Object",n5[n5.Array=5]="Array",n5[n5.Bool=6]="Bool",(n6=eF||(eF={}))[n6.CanNotDelete=1]="CanNotDelete",n6[n6.CanNotChangeName=2]="CanNotChangeName",n6[n6.CanChange=3]="CanChange",n6[n6.CanNotChangeAnything=4]="CanNotChangeAnything",(n8=eG||(eG={}))[n8.Latest=1]="Latest",n8[n8.NeedUpdate=2]="NeedUpdate",(n9=eq||(eq={}))[n9.source_code=1]="source_code",n9[n9.input_params=2]="input_params",n9[n9.openapi=3]="openapi",(n7=eW||(eW={}))[n7.ExceptWorkflow=0]="ExceptWorkflow",n7[n7.Workflow=1]="Workflow",n7[n7.API=2]="API",n7[n7.SpaceAPI=3]="SpaceAPI",(re=eZ||(eZ={}))[re.FileUrl=0]="FileUrl",re[re.ImageUrl=1]="ImageUrl",re[re.DocUrl=2]="DocUrl",re[re.CodeUrl=3]="CodeUrl",re[re.PptUrl=4]="PptUrl",re[re.TxtUrl=5]="TxtUrl",re[re.ExcelUrl=6]="ExcelUrl",re[re.AudioUrl=7]="AudioUrl",re[re.ZipUrl=8]="ZipUrl",re[re.VideoUrl=9]="VideoUrl",(rt=eH||(eH={}))[rt.Draft=0]="Draft",rt[rt.SUBMITTED=1]="SUBMITTED",rt[rt.REVIEWING=2]="REVIEWING",rt[rt.PREPARED=3]="PREPARED",rt[rt.PUBLISHED=4]="PUBLISHED",rt[rt.OFFLINE=5]="OFFLINE",(rn=eV||(eV={}))[rn.PLUGIN=1]="PLUGIN",rn[rn.APP=2]="APP",rn[rn.FUNC=3]="FUNC",rn[rn.WORKFLOW=4]="WORKFLOW",rn[rn.IMAGEFLOW=5]="IMAGEFLOW",rn[rn.LOCAL=6]="LOCAL",(rr=eQ||(eQ={}))[rr.MARKDOWN=1]="MARKDOWN",(ri=eY||(eY={}))[ri.SYSTEM=1]="SYSTEM",ri[ri.USERPREFIX=2]="USERPREFIX",ri[ri.USERSUFFIX=3]="USERSUFFIX",(ro=e$||(e$={}))[ro.NoPublish=0]="NoPublish",ro[ro.HadPublished=1]="HadPublished",(ra=eK||(eK={}))[ra.Online=0]="Online",ra[ra.Offline=1]="Offline",(rs=eX||(eX={}))[rs.Success=1]="Success",rs[rs.Failed=2]="Failed",rs[rs.InReview=3]="InReview",(rl=eJ||(eJ={}))[rl.All=0]="All",rl[rl.Publish=1]="Publish",rl[rl.NoPublish=2]="NoPublish",(ru=e0||(e0={}))[ru.OnlinePublish=0]="OnlinePublish",ru[ru.PrePublish=1]="PrePublish",(rc=e1||(e1={}))[rc.Published=1]="Published",rc[rc.UnPublish=2]="UnPublish",(rd=e2||(e2={}))[rd.FunctionCall=1]="FunctionCall",rd[rd.Independent=2]="Independent",(rp=e4||(e4={}))[rp.HasUpdates=1]="HasUpdates",rp[rp.IsDelete=2]="IsDelete",(rh=e3||(e3={}))[rh.ManualUpdate=1]="ManualUpdate",rh[rh.AutoUpdate=2]="AutoUpdate",(rf=e5||(e5={}))[rf.Feedback=0]="Feedback",rf[rf.Delete=1]="Delete",rf[rf.UpdataCard=2]="UpdataCard",(rg=e6||(e6={}))[rg.Default=0]="Default",rg[rg.Explore=1]="Explore",rg[rg.BotStore=2]="BotStore",rg[rg.CozeHome=3]="CozeHome",rg[rg.Playground=4]="Playground",rg[rg.Evaluation=5]="Evaluation",rg[rg.AgentAPP=6]="AgentAPP",rg[rg.PromptOptimize=7]="PromptOptimize",rg[rg.GenerateAgentInfo=8]="GenerateAgentInfo",(rm=e8||(e8={}))[rm.NotQuery=0]="NotQuery",rm[rm.GetBindConnectorConfig=1]="GetBindConnectorConfig",rm[rm.SaveBindConnectorConfig=2]="SaveBindConnectorConfig",rm[rm.BindConnector=3]="BindConnector",rm[rm.UnBindConnector=4]="UnBindConnector",(r_=e9||(e9={}))[r_.DAG=0]="DAG",r_[r_.FDL=1]="FDL",(rv=e7||(e7={}))[rv.All=0]="All",rv[rv.Self=1]="Self",(rb=te||(te={}))[rb.SemanticSearch=0]="SemanticSearch",rb[rb.HybirdSearch=1]="HybirdSearch",rb[rb.FullTextSearch=20]="FullTextSearch",(ry=tn||(tn={}))[ry.Open=1]="Open",ry[ry.Close=2]="Close",ry[ry.GetLink=3]="GetLink",(rw=tr||(tr={}))[rw.Explore=1]="Explore",rw[rw.BotStore=3]="BotStore",(rS=ti||(ti={}))[rS.Normal=0]="Normal",rS[rS.DevMode=1]="DevMode",(rA=to||(to={}))[rA.Default=0]="Default",rA[rA.Owner=1]="Owner",rA[rA.Admin=2]="Admin",rA[rA.Member=3]="Member",(rT=ta||(ta={}))[rT.Professional=1]="Professional",(rx=ts||(ts={}))[rx.Personal=1]="Personal",rx[rx.Team=2]="Team",(rk=tl||(tl={}))[rk.WithDefaultPrompt=0]="WithDefaultPrompt",rk[rk.WithCustomizedPrompt=1]="WithCustomizedPrompt",rk[rk.Disable=2]="Disable",rk[rk.UseOriginBotMode=3]="UseOriginBotMode",(rM=tu||(tu={}))[rM.NOT_SUPPORT=1]="NOT_SUPPORT",rM[rM.SUPPORT=2]="SUPPORT",(rP=tc||(tc={}))[rP.Default=0]="Default",rP[rP.Open=1]="Open",rP[rP.Close=2]="Close",rP[rP.Hide=3]="Hide",(rI=td||(td={}))[rI.All=1]="All",rI[rI.Hot=2]="Hot",rI[rI.Information=3]="Information",rI[rI.Music=4]="Music",rI[rI.Picture=5]="Picture",rI[rI.UtilityTool=6]="UtilityTool",rI[rI.Life=7]="Life",rI[rI.Traval=8]="Traval",rI[rI.Network=9]="Network",rI[rI.System=10]="System",rI[rI.Movie=11]="Movie",rI[rI.Office=12]="Office",rI[rI.Shopping=13]="Shopping",rI[rI.Education=14]="Education",rI[rI.Health=15]="Health",rI[rI.Social=16]="Social",rI[rI.Entertainment=17]="Entertainment",rI[rI.Finance=18]="Finance",rI[rI.Hidden=100]="Hidden",(rE=tp||(tp={}))[rE.USED=1]="USED",rE[rE.DELETED=2]="DELETED",(rC=th||(th={}))[rC.PROMPT=0]="PROMPT",rC[rC.BOT=1]="BOT",rC[rC.CHAIN=2]="CHAIN",(rO=tf||(tf={}))[rO.USELLM=1]="USELLM",rO[rO.USESETTING=2]="USESETTING",(rD=tg||(tg={}))[rD.Off=0]="Off",rD[rD.On=1]="On",(rL=tm||(tm={}))[rL.Success=0]="Success",rL[rL.Fail=1]="Fail",(rB=t_||(t_={}))[rB.Init=0]="Init",rB[rB.Open=1]="Open",rB[rB.Close=2]="Close",(rN=tv||(tv={}))[rN.Allowed=0]="Allowed",rN[rN.Banned=1]="Banned",(rR=tb||(tb={}))[rR.External=0]="External",rR[rR.Internal=1]="Internal",(rj=ty||(ty={}))[rj.BotValidateNodeErr=1]="BotValidateNodeErr",rj[rj.BotValidatePathErr=2]="BotValidatePathErr",rj[rj.BotConcurrentPathErr=3]="BotConcurrentPathErr",(rU=tw||(tw={}))[rU.Invisible=0]="Invisible",rU[rU.Visible=1]="Visible",(rz=tS||(tS={}))[rz.Handleing=0]="Handleing",rz[rz.Finish=1]="Finish",rz[rz.Failed=2]="Failed",(rF=tA||(tA={}))[rF.NoHistory=1]="NoHistory",rF[rF.HasHistory=2]="HasHistory",(rG=tT||(tT={}))[rG.Running=1]="Running",rG[rG.Success=2]="Success",rG[rG.Fail=3]="Fail",rG[rG.Cancel=4]="Cancel",(rq=tx||(tx={}))[rq.UnPublished=1]="UnPublished",rq[rq.HadPublished=2]="HadPublished",(rW=tk||(tk={}))[rW.Workflow=0]="Workflow",rW[rW.Imageflow=1]="Imageflow",(rZ=tM||(tM={}))[rZ.CanNotPublish=1]="CanNotPublish",rZ[rZ.CanPublish=2]="CanPublish",rZ[rZ.HadPublished=3]="HadPublished",rZ[rZ.Deleted=4]="Deleted",(rH=tP||(tP={}))[rH.User=0]="User",rH[rH.GuanFang=1]="GuanFang"},72527:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Document=0]="Document",i[i.Web=1]="Web",i[i.Custom=2]="Custom",i[i.ThirdParty=3]="ThirdParty",(o=t||(t={}))[o.Processing=0]="Processing",o[o.Enable=1]="Enable",o[o.Disable=2]="Disable",o[o.Deleted=3]="Deleted",o[o.Failed=9]="Failed",(a=n||(n={}))[a.NoUpdate=0]="NoUpdate",a[a.Cover=1]="Cover",a[a.Append=2]="Append",(s=r||(r={}))[s.Text=0]="Text",s[s.Table=1]="Table"},93341:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D;(_=e||(e={}))[_.Unknown=0]="Unknown",_[_.CreateSucceed=1]="CreateSucceed",_[_.Executing=2]="Executing",_[_.Pushing=3]="Pushing",_[_.ExecuteSucceed=10]="ExecuteSucceed",_[_.ExecuteFailed=11]="ExecuteFailed",(v=t||(t={}))[v.Unknown=0]="Unknown",v[v.Executing=1]="Executing",v[v.ExecuteSucceed=2]="ExecuteSucceed",v[v.ExecuteFailed=3]="ExecuteFailed",(b=n||(n={}))[b.Unknown=0]="Unknown",b[b.Workflow=1]="Workflow",b[b.NativeAsyncPlugin=2]="NativeAsyncPlugin",b[b.SyncToAsyncPlugin=3]="SyncToAsyncPlugin",(y=r||(r={}))[y.Unknown=0]="Unknown",y[y.String=1]="String",y[y.Boolean=2]="Boolean",y[y.StringList=11]="StringList",y[y.BooleanList=12]="BooleanList",(w=i||(i={}))[w.Inhouse=0]="Inhouse",w[w.Release=1]="Release",(S=o||(o={}))[S.Default=0]="Default",S[S.Enable=1]="Enable",S[S.Disable=2]="Disable",(A=a||(a={}))[A.Unknown=0]="Unknown",A[A.NotFoundPlugin=1]="NotFoundPlugin",A[A.OfficialPlugin=2]="OfficialPlugin",(T=s||(s={}))[T.TokenExchange=1]="TokenExchange",T[T.ClientCredential=2]="ClientCredential",(x=l||(l={}))[x.Add=0]="Add",x[x.Delete=1]="Delete",(k=u||(u={}))[k.All=0]="All",k[k.Material=1]="Material",k[k.Store=2]="Store",(M=c||(c={}))[M.Default=0]="Default",M[M.Listed=1]="Listed",M[M.Unlisted=2]="Unlisted",M[M.Reviewing=3]="Reviewing",(P=d||(d={}))[P.TransferSpace=1]="TransferSpace",P[P.TransferOwner=2]="TransferOwner",(I=p||(p={}))[I.Unauthorized=1]="Unauthorized",I[I.Authorized=2]="Authorized",(E=h||(h={}))[E.Ask=0]="Ask",E[E.Once=1]="Once",E[E.Always=2]="Always",(C=f||(f={}))[C.Account=1]="Account",C[C.Workspace=2]="Workspace",C[C.App=3]="App",C[C.Bot=4]="Bot",C[C.Plugin=5]="Plugin",C[C.Workflow=6]="Workflow",C[C.Knowledge=7]="Knowledge",C[C.PersonalAccessToken=8]="PersonalAccessToken",C[C.Connector=9]="Connector",C[C.Card=10]="Card",C[C.CardTemplate=11]="CardTemplate",C[C.Conversation=12]="Conversation",C[C.File=13]="File",C[C.ServicePrincipal=14]="ServicePrincipal",C[C.Enterprise=15]="Enterprise",C[C.MigrateTask=16]="MigrateTask",C[C.Prompt=17]="Prompt",C[C.UI=18]="UI",C[C.Project=19]="Project",(O=g||(g={}))[O.ApiKey=0]="ApiKey",O[O.BytedanceZeroTrust=1]="BytedanceZeroTrust",O[O.OIDC=2]="OIDC",(D=m||(m={}))[D.Default=0]="Default",D[D.AuditPass=1]="AuditPass",D[D.AuditReject=2]="AuditReject"},39974:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Pending=1]="Pending",a[a.Approved=2]="Approved",a[a.Rejected=3]="Rejected",(s=t||(t={}))[s.Bot=1]="Bot",s[s.Plugin=2]="Plugin",s[s.CozeToken=50]="CozeToken",s[s.Common=99]="Common",(l=n||(n={}))[l.Listed=1]="Listed",l[l.Unlisted=2]="Unlisted",(u=r||(r={}))[u.ByAdmin=1]="ByAdmin",u[u.ByUser=2]="ByUser",(c=i||(i={}))[c.Heat=1]="Heat",c[c.Newest=2]="Newest",(d=o||(o={}))[d.Pending=1]="Pending",d[d.Succeed=2]="Succeed",d[d.Failed=3]="Failed",d[d.InProgress=4]="InProgress"},16909:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.TextInput=0]="TextInput",r[r.Select=1]="Select",r[r.UploadImage=2]="UploadImage",r[r.UploadDoc=3]="UploadDoc",r[r.UploadTable=4]="UploadTable",r[r.UploadAudio=5]="UploadAudio",r[r.MixUpload=6]="MixUpload",r[r.VIDEO=7]="VIDEO",r[r.ARCHIVE=8]="ARCHIVE",r[r.CODE=9]="CODE",r[r.TXT=10]="TXT",r[r.PPT=11]="PPT",(i=t||(t={}))[i.SendTypeQuery=0]="SendTypeQuery",i[i.SendTypePanel=1]="SendTypePanel",(o=n||(n={}))[o.ToolTypeWorkFlow=1]="ToolTypeWorkFlow",o[o.ToolTypePlugin=2]="ToolTypePlugin"},98744:function(){"use strict";var e,t;(t=e||(e={}))[t.PendingVectoring=0]="PendingVectoring",t[t.FinishVectoring=1]="FinishVectoring",t[t.Deactive=9]="Deactive"},2051:function(){"use strict";var e,t;(t=e||(e={}))[t.Text=1]="Text",t[t.Number=2]="Number",t[t.Date=3]="Date",t[t.Float=4]="Float",t[t.Boolean=5]="Boolean"},23951:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("35930");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetPermissionList(e,t){let n=e||{},r=this.genBaseURL("/api/open/permission/list"),i={key_list:n.key_list,permission_id_list:n.permission_id_list,version:n.version,permission_type:n.permission_type,full_key_list:n.full_key_list,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAPIAnalytics(e,t){let n=this.genBaseURL("/api/data/analytics"),r={query_range:e.query_range,metrics_type:e.metrics_type,dimension:e.dimension,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetAPIDetails(e,t){let n=this.genBaseURL("/api/data/details"),r={query_range:e.query_range,details_type:e.details_type,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetPermissionListV2(e,t){let n=e||{},r=this.genBaseURL("/api/open/v2/permission/list"),i={key_list:n.key_list,permission_id_list:n.permission_id_list,version:n.version,permission_type:n.permission_type,full_key_list:n.full_key_list,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPlaygroundItemList(e,t){let n=this.genBaseURL("/api/open/playground/item_list"),r={Base:(e||{}).Base};return this.request({url:n,method:"GET",params:r},t)}GetPlaygroundApiInfo(e,t){let n=this.genBaseURL("/api/open/playground/api_info"),r={url_key:e.url_key,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetPlaygroundWebSdkInfo(e,t){let n=e||{},r=this.genBaseURL("/api/open/playground/websdk_info"),i={version:n.version,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}SyncFromApiHub(e,t){let n=e||{},r=this.genBaseURL("/api/developer_backend/playground/sync_from_apihub"),i={raw_body:n.raw_body,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}PlaygroundOpenApiDoc(e,t){let n=e||{},r=this.genBaseURL("/api/open/playground/doc"),i={body:n.body,Base:n.Base},o={"x-arcosite-action":n["x-arcosite-action"],"Content-Type":n["Content-Type"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}OauthQuickstartConfig(e,t){let n=e||{},r=this.genBaseURL("/api/open/permission/oauth_quickstart_config"),i={client_type:n.client_type,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}constructor(e){r(this,"request",()=>{throw Error("DeveloperBackendService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},35930:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A;(p=e||(e={}))[p.Daily=1]="Daily",p[p.Weekly=2]="Weekly",p[p.Monthly=3]="Monthly",p[p.Quarterly=4]="Quarterly",p[p.Yearly=5]="Yearly",(h=t||(t={}))[h.OpenAPI=1]="OpenAPI",h[h.Coze=2]="Coze",(f=n||(n={}))[f.Inhouse=1]="Inhouse",f[f.Release=2]="Release",f[f.Ppe=3]="Ppe",(g=r||(r={}))[g.api=1]="api",g[g.bot=2]="bot",(m=i||(i={}))[m.All=1]="All",m[m.TotalConsumption=2]="TotalConsumption",m[m.AverageConsumption=3]="AverageConsumption",m[m.TotalRequests=4]="TotalRequests",m[m.TotalSuccessfulRequests=5]="TotalSuccessfulRequests",m[m.AverageResponeseTime=6]="AverageResponeseTime",m[m.RequestSuccessRate=7]="RequestSuccessRate",m[m.ErrorCodeDistribution=8]="ErrorCodeDistribution",(_=o||(o={}))[_.Workspace=0]="Workspace",_[_.Account=1]="Account",(v=a||(a={}))[v.Normal=0]="Normal",v[v.Connector=1]="Connector",(b=s||(s={}))[b.API=1]="API",b[b.WEBSDK=2]="WEBSDK",b[b.RTCSDK=3]="RTCSDK",(y=l||(l={}))[y.PAT=1]="PAT",y[y.API=2]="API",y[y.PATAndAPI=3]="PATAndAPI",y[y.BotIDAndAPI=4]="BotIDAndAPI",(w=u||(u={}))[w.Latest_7_Days=1]="Latest_7_Days",w[w.Latest_30_Days=2]="Latest_30_Days",w[w.History=3]="History",w[w.Today=4]="Today",(S=c||(c={}))[S.Default=0]="Default",S[S.Professional=1]="Professional",(A=d||(d={}))[A.Pass=1]="Pass",A[A.Refuse=2]="Refuse"},41655:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("11416"),n("12777"),n("63156"),n("81434"),n("9083"),n("51182"),n("36464"),n("52422"),n("3177"),n("58781"),n("91010");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}AssociateDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/dataset/associate"),r={case_id:e.case_id,space_id:e.space_id,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}DeleteCase(e,t){let n=this.genBaseURL("/api/evaluation/v1/case"),r={case_id:e.case_id,space_id:e.space_id},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}AssociateEvalObject(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/evalobject/associate"),r={case_id:e.case_id,space_id:e.space_id,eval_object:e.eval_object,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}UpdateCase(e,t){let n=this.genBaseURL("/api/evaluation/v1/case"),r={case_id:e.case_id,space_id:e.space_id,name:e.name,desc:e.desc,runtime_parameter:e.runtime_parameter,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}PullCase(e,t){let n=this.genBaseURL("/api/evaluation/v1/cases/list"),r={space_id:e.space_id,cursor:e.cursor,limit:e.limit,tag_name:e.tag_name,tag_value:e.tag_value,fuzzy_name:e.fuzzy_name,creator_id:e.creator_id,region:e.region,object_type:e.object_type,dataset_ids:e.dataset_ids,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}AssociateEvaluator(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/evaluator/associate"),r={case_id:e.case_id,space_id:e.space_id,mode:e.mode,scope:e.scope,row_id:e.row_id,row_group_id:e.row_group_id,cid:e.cid,threshold:e.threshold,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}CreateCase(e,t){let n=this.genBaseURL("/api/evaluation/v1/case"),r={name:e.name,space_id:e.space_id,desc:e.desc,cid:e.cid,tag_list:e.tag_list,region:e.region,UserChangeMode:e.UserChangeMode,eval_object:e.eval_object,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ExecCase(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/exec"),r={case_id:e.case_id,space_id:e.space_id,cid:e.cid,runtime_parameter:e.runtime_parameter,exec_times:e.exec_times,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}DeleteTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task"),r={task_id:e.task_id,case_id:e.case_id,space_id:e.space_id},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}RetryExecTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task/retry"),r={task_id:e.task_id,case_id:e.case_id,space_id:e.space_id,mode:e.mode,row_group_id:e.row_group_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}ScanRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/scan`),r={space_id:e.space_id,filter_rows:e.filter_rows,tags:e.tags,cursor:e.cursor,limit:e.limit,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}BatchDeleteRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/batch_delete`),r={space_id:e.space_id,row_group_ids:e.row_group_ids},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}CloneDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/clone`),r={space_id:e.space_id,to_space_id:e.to_space_id,clone_name:e.clone_name,publish_option:e.publish_option,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}`),r={space_id:e.space_id},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}InsertColumn(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/column/insert`),r={space_id:e.space_id,column_info:e.column_info,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateColumn(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/column/${e.column_id}`),r={space_id:e.space_id,column_info:e.column_info,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}BatchGetRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/batch_get`),r={space_id:e.space_id,row_group_ids:e.row_group_ids,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ReplaceRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/${e.row_group_id}/replace`),r={space_id:e.space_id,row_group:e.row_group,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}InsertRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/insert`),r={space_id:e.space_id,row_groups:e.row_groups,before_row_group_id:e.before_row_group_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}SearchDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/search"),r={name:e.name,space_id:e.space_id,creator:e.creator,publish_option:e.publish_option,page:e.page,page_size:e.page_size,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetColumnSchema(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/column`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}UpdateDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}`),r={space_id:e.space_id,name:e.name,desc:e.desc,tag_ids:e.tag_ids,update_fields:e.update_fields,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}CreateDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset"),r={name:e.name,space_id:e.space_id,desc:e.desc,column_schema:e.column_schema,row_groups:e.row_groups,publish_option:e.publish_option,tag_list:e.tag_list,dataset_type:e.dataset_type,tag_ids:e.tag_ids,security_level:e.security_level,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}OverWriteDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/overwrite`),r={space_id:e.space_id,column_schema:e.column_schema,row_groups:e.row_groups,source_dataset_id:e.source_dataset_id,source_space_id:e.source_space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}ListDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/list"),r={space_id:e.space_id,tag_name:e.tag_name,tag_value:e.tag_value,publish_option:e.publish_option,dataset_types:e.dataset_types,page:e.page,page_size:e.page_size,cursor:e.cursor,fuzzy_name:e.fuzzy_name,creator_id:e.creator_id,tag_ids:e.tag_ids,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}DeleteColumn(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/column/${e.column_id}`),r={space_id:e.space_id},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}ListRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/list`),r={space_id:e.space_id,tags:e.tags,page:e.page,page_size:e.page_size,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}BatchGetRowEvalRes(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/rows/get`),r={row_ids:e.row_ids,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetCase(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}PullCaseExecHistory(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/tasks/list`),r={cursor:e.cursor,limit:e.limit,space_id:e.space_id,start_time:e.start_time,end_time:e.end_time,DatasetIDs:e.DatasetIDs,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}ManualScoreFowRows(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task/rows/manual_score"),r={task_id:e.task_id,case_id:e.case_id,manual_scores:e.manual_scores,space_id:e.space_id,group_manual_scores:e.group_manual_scores,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}CheckCaseEvaluator(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/check`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}KillRunningTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task/kill"),r={task_id:e.task_id,case_id:e.case_id,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ListObjectMetaByType(e,t){let n=this.genBaseURL("/api/evaluation/v1/object_meta/list"),r={object_type:e.object_type,search_key:e.search_key,region:e.region,space_id:e.space_id,cursor:e.cursor,limit:e.limit},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}RemoveRule(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rule/${e.rule_id}`),r={space_id:e.space_id,cid:e.cid},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}ListRuleGroupMeta(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_groups/list"),r={space_id:e.space_id,cursor:e.cursor,limit:e.limit,need_rules_count:e.need_rules_count,tag_name:e.tag_name,tag_value:e.tag_value,fuzzy_name:e.fuzzy_name,creator_id:e.creator_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}ListSupportRuleType(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/types/list"),r={space_id:e.space_id,cursor:e.cursor,limit:e.limit,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetRuleGroupRules(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rules/list`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetRules(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/rules"),r={rule_ids:e.rule_ids,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateRuleGroup(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group"),r={name:e.name,desc:e.desc,publish_to_rule_group:e.publish_to_rule_group,space_id:e.space_id,tag_list:e.tag_list,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateRule(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rule`),r={space_id:e.space_id,rule:e.rule,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetRuleGroupMeta(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/meta`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}UpdateRule(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rule/${e.rule_id}`),r={space_id:e.space_id,rule:e.rule,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}CopyRuleGroup(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/clone"),r={space_id:e.space_id,source_rule_group_id:e.source_rule_group_id,target_rule_group_id:e.target_rule_group_id,to_space_id:e.to_space_id,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateRuleGroup(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group"),r={id:e.id,space_id:e.space_id,update_fields:e.update_fields,name:e.name,desc:e.desc,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}DeleteRuleGroup(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group"),r={rule_group_id:e.rule_group_id,space_id:e.space_id,cid:e.cid},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}DashboardTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/dashboard`),r={space_id:e.space_id,row_group_run_state:e.row_group_run_state,page:e.page,page_size:e.page_size,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}Ping(e,t){let n=this.genBaseURL("/api/evaluation/v1/ping"),r={ping_message:e.ping_message,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}PingServer(e,t){let n=this.genBaseURL("/api/evaluation/v1/ping_server"),r={Base:e.Base},i={ping_message:e.ping_message},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}RegisterObjectType(e,t){let n=this.genBaseURL("/api/evaluation/v1/object_type"),r={object_type_detail_info:e.object_type_detail_info,cid:e.cid},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}ListObjectTypeDetail(e,t){let n=this.genBaseURL("/api/evaluation/v1/object_type_detail/list"),r={space_id:e.space_id,list_object_type_filter:e.list_object_type_filter},i={cursor:e.cursor,limit:e.limit},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}UpdateObjectType(e,t){let n=this.genBaseURL("/api/evaluation/v1/object_type"),r={object_type_detail_info:e.object_type_detail_info},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetObjectType(e,t){let n=this.genBaseURL(`/api/evaluation/v1/object_type/${e.object_type}`),r={space_id:e.space_id},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}DeleteObjectType(e,t){let n=this.genBaseURL("/api/evaluation/v1/object_type"),r={object_type:e.object_type,space_id:e.space_id,cid:e.cid},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,headers:i},t)}ListObjectType(e,t){let n=this.genBaseURL("/api/evaluation/v1/object/object_type/list"),r={list_object_type_filter:e.list_object_type_filter},i={cursor:e.cursor,limit:e.limit,space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}GetTasks(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/tasks/get`),r={task_ids:e.task_ids,Base:e.Base},i={space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}GetSecurityToken(e,t){let n=e||{},r=this.genBaseURL("/api/evaluation/v1/dataset/security_token"),i={space_id:n.space_id,Base:n.Base},o={"FlowDevops-Agw-UserId":n["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":n["FlowDevops-Agw-AppId"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}ListCustomSupportRuleType(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/custom_types/list"),r={list_custom_support_rule_type_filter:e.list_custom_support_rule_type_filter},i={space_id:e.space_id,cursor:e.cursor,limit:e.limit,Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",data:r,params:i,headers:o},t)}DeleteEvaluatorType(e,t){let n=this.genBaseURL("/api/evaluation/v1/evaluator_type"),r={evaluator_type:e.evaluator_type,space_id:e.space_id,cid:e.cid},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,headers:i},t)}RegisterEvaluatorType(e,t){let n=this.genBaseURL("/api/evaluation/v1/evaluator_type"),r={evaluator_type_detail_info:e.evaluator_type_detail_info,cid:e.cid},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}UpdateEvaluatorType(e,t){let n=this.genBaseURL("/api/evaluation/v1/evaluator_type"),r={evaluator_type_detail_info:e.evaluator_type_detail_info},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ListEvaluatorTypeDetail(e,t){let n=this.genBaseURL("/api/evaluation/v1/evaluator_type_detail/list"),r={space_id:e.space_id,list_evaluator_type_filter:e.list_evaluator_type_filter},i={cursor:e.cursor,limit:e.limit},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}GetEvaluatorType(e,t){let n=this.genBaseURL(`/api/evaluation/v1/evaluator_type/${e.evaluator_type}`),r={space_id:e.space_id},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}UpdateRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/row_group/${e.row_group_id}`),r={space_id:e.space_id,row_group:e.row_group,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}BatchGetRuleGroupMeta(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/batch_get"),r={space_id:e.space_id,rule_group_ids:e.rule_group_ids,need_rules_count:e.need_rules_count,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}AgentExecuteProxy(e,t){let n=e||{},r=this.genBaseURL("/proxy/v1/evaluation"),i={agent_execute_proxy_content:n.agent_execute_proxy_content,extra:n.extra,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListObjectTypeV2(e,t){let n=this.genBaseURL("/api/evaluation/v1/object/object_type/v2/list"),r={region:e.region,list_object_type_filter:e.list_object_type_filter},i={cursor:e.cursor,limit:e.limit,space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}ListChainTaskVersions(e,t){let n=this.genBaseURL("/api/evaluation/v1/chain_task/version/list"),r={task_name:e.task_name,task_id:e.task_id,space_id:e.space_id,region:e.region,app_id:e.app_id},i={cursor:e.cursor,limit:e.limit},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}DebugRule(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/debug"),r={space_id:e.space_id,rule:e.rule,data:e.data,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetDatasetTagTree(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/tag_tree`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetAggregateReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/aggregate_report`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}FornaxAppSearchObject(e,t){let n=this.genBaseURL("/api/evaluation/v1/object/search/fornax_app"),r={object_type:e.object_type,search_key:e.search_key,app_client_id:e.app_client_id,cursor:e.cursor,limit:e.limit},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenAggregateReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/aggregate_report/gen`),r={Base:e.Base},i={space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,params:i,headers:o},t)}ListCozeBotVersions(e,t){let n=this.genBaseURL("/api/evaluation/v1/coze_bot/version/list"),r={bot_id:e.bot_id,space_id:e.space_id,region:e.region},i={cursor:e.cursor,limit:e.limit},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}CreateCustomMetricsDataPoints(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/cases/${e.case_id}/tasks/${e.task_id}/custom_metrics`),r={data_points:e.data_points,Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateAgentOutput(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/cases/${e.case_id}/tasks/${e.task_id}/row_group_results`),r={row_group_results:e.row_group_results,Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}ListTaskRowGroups(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/cases/${e.case_id}/tasks/${e.task_id}/dataset/list`),r={page_token:e.page_token,page_size:e.page_size,Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}CancelTasks(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/cases/${e.case_id}/tasks/cancel`),r={task_ids:e.task_ids},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}CreateEvalTask(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/cases/${e.case_id}/tasks`),r={Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}AssociateAnalysisChartReport(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/analysis_chart_report/associate"),r={case_id:e.case_id,analysis_chart_report_ids:e.analysis_chart_report_ids,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}UpdateAnalysisChartReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/analysis_chart_report/update`),r={analysis_chart_report_id:e.analysis_chart_report_id,analysis_chart_report_config:e.analysis_chart_report_config,Base:e.Base},i={space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}GetTaskRuleGroupId(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/rule_group_id`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}DeleteAnalysisChartReport(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task/analysis_chart_report"),r={task_id:e.task_id,case_id:e.case_id,analysis_chart_report_id:e.analysis_chart_report_id,space_id:e.space_id},i={Base:e.Base},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,params:i,headers:o},t)}GetCommonEvaluatorDimensions(e,t){let n=this.genBaseURL("/api/evaluation/v1/evaluator_type/intersection"),r={task_infos:e.task_infos,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GenAggregateComparisonReport(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/task/compare_aggregate_report/gen"),r={aggregator_configs:e.aggregator_configs,Base:e.Base},i={space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}PullTaskAnalysisChartReports(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/analysis_chart_report/list`),r={cursor:e.cursor,limit:e.limit,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GenAnalysisChartReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/analysis_chart_report/gen`),r={analysis_chart_report_config:e.analysis_chart_report_config,Base:e.Base},i={space_id:e.space_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}CreateRules(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rules`),r={space_id:e.space_id,rules:e.rules,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetAccountInfo(e,t){let n=this.genBaseURL("/open-api/evaluation/v1/account"),r={Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}SubmitGeneratedDatasetRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/dataset_row_groups/submit`),r={space_id:e.space_id,task_id:e.task_id,submit_row_groups:e.submit_row_groups,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}PublishGenerateDataset(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/dataset_generate/publish`),r={space_id:e.space_id,dataset_describe:e.dataset_describe,generate_column_info_list:e.generate_column_info_list,total:e.total,row_group_examples:e.row_group_examples,reference_dataset:e.reference_dataset,timeliness:e.timeliness,professional_knowledges:e.professional_knowledges,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}StreamOptimizeRichSemantic(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/semantic/optimize`),r={space_id:e.space_id,semantic_describe:e.semantic_describe,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}StreamOptimizeRichDatasetDescribe(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/dataset_describe/optimize`),r={space_id:e.space_id,dataset_describe:e.dataset_describe,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetGeneratedDatasetRowGroups(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/dataset_row_groups/dataset_generate`),r={space_id:e.space_id,task_id:e.task_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}KillGenerateDatasetTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/dataset/${e.dataset_id}/dataset_generate/kill`),r={space_id:e.space_id,task_id:e.task_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CloneCase(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/clone`),r={space_id:e.space_id,name:e.name,desc:e.desc,eval_object:e.eval_object,region:e.region,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateBatchTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/batch_task"),r={space_id:e.space_id,batch_case_tasks:e.batch_case_tasks,default_exec_runtime_parameter:e.default_exec_runtime_parameter,execution_policy:e.execution_policy,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}RetryExecBatchTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/batch_task/${e.batch_task_id}/retry`),r={space_id:e.space_id,mode:e.mode,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}KillBatchTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/batch_task/${e.batch_task_id}/kill`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetBatchTaskRet(e,t){let n=this.genBaseURL(`/api/evaluation/v1/batch_task/${e.batch_task_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetBatchTaskHistory(e,t){let n=this.genBaseURL("/api/evaluation/v1/batch_task/history"),r={space_id:e.space_id,object_id:e.object_id,object_type:e.object_type,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}BatchInsertRowGroups(e,t){let n=this.genBaseURL(`/open-api/evaluation/v1/dataset/${e.dataset_id}/row_groups`),r={row_groups:e.row_groups,Base:e.Base},i={"FlowDevops-Agw-OpenAPI-AppId":e["FlowDevops-Agw-OpenAPI-AppId"],"FlowDevops-Agw-OpenAPI-SpaceId":e["FlowDevops-Agw-OpenAPI-SpaceId"],"FlowDevops-Agw-OpenAPI-AccountId":e["FlowDevops-Agw-OpenAPI-AccountId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}LockDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/lock"),r={dataset_id:e.dataset_id,space_id:e.space_id,expiration:e.expiration,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ReleaseDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/release"),r={dataset_id:e.dataset_id,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DatasetRowGroupTrimRight(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/dataset_row_group/trim_right"),r={dataset_id:e.dataset_id,space_id:e.space_id,row_group_id:e.row_group_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}BatchUpdateRowGroups(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/batch_update_row_group"),r={dataset_id:e.dataset_id,space_id:e.space_id,row_groups:e.row_groups,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateRuleAndSaveToHub(e,t){let n=this.genBaseURL(`/api/evaluation/v1/rule_group/${e.rule_group_id}/rule_hub`),r={space_id:e.space_id,rule:e.rule,tags:e.tags,modal_tags:e.modal_tags,cid:e.cid,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteEvaluatorHub(e,t){let n=this.genBaseURL("/api/evaluation/v1/rule_group/:rule_group_id/rule_hub"),r={evaluator_hub_id:e.evaluator_hub_id,space_id:e.space_id},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",data:r,headers:i},t)}ListDatasetV2(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/list_v2"),r={dataset_types:e.dataset_types,tag_ids:e.tag_ids,Base:e.Base},i={space_id:e.space_id,tag_name:e.tag_name,tag_value:e.tag_value,publish_option:e.publish_option,page:e.page,page_size:e.page_size,cursor:e.cursor,fuzzy_name:e.fuzzy_name,creator_id:e.creator_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}ExportBitableReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/export_bitable`),r={space_id:e.space_id,manual_scoring_user_num:e.manual_scoring_user_num,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UnbindDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/dataset/unbind"),r={case_id:e.case_id,space_id:e.space_id,dataset_id:e.dataset_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}AssociateDatasetV2(e,t){let n=this.genBaseURL("/api/evaluation/v1/case/dataset/associate_v2"),r={case_id:e.case_id,space_id:e.space_id,dataset_id:e.dataset_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"PUT",data:r,headers:i},t)}BatchGetDataset(e,t){let n=this.genBaseURL("/api/evaluation/v1/dataset/batch_get"),r={Base:e.Base},i={space_id:e.space_id,dataset_ids:e.dataset_ids},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}DashboardTaskRowGroup(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/dashboard_rowgroup`),r={space_id:e.space_id,row_group_id:e.row_group_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}PullCaseV2(e,t){let n=this.genBaseURL("/api/evaluation/v1/cases/list_v2"),r={fuzzy_name:e.fuzzy_name,creator_id:e.creator_id,region:e.region,object_type:e.object_type,dataset_ids:e.dataset_ids,Base:e.Base},i={space_id:e.space_id,cursor:e.cursor,limit:e.limit,tag_name:e.tag_name,tag_value:e.tag_value},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}PullCaseExecHistoryV2(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/tasks/list_v2`),r={dataset_ids:e.dataset_ids,Base:e.Base},i={cursor:e.cursor,limit:e.limit,space_id:e.space_id,start_time:e.start_time,end_time:e.end_time},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}GetBitableReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/bitable`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}ImportBitableReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/case/${e.case_id}/task/${e.task_id}/import_bitable`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteContrastReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/contrast_report/${e.contrast_report_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",params:r,headers:i},t)}CreateManualAnnotationTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/manual_annotation_task"),r={space_id:e.space_id,source_id:e.source_id,source_type:e.source_type,manual_annotation_items:e.manual_annotation_items,invisible:e.invisible,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}SubmitManualAnnotationLabelTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/manual_annotation_label_task/${e.manual_annotation_label_task_id}/submit`),r={space_id:e.space_id,manual_annotation_label_results:e.manual_annotation_label_results,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetContrastReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/contrast_report/${e.contrast_report_id}`),r={space_id:e.space_id,page:e.page,page_size:e.page_size,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}BatchCreateManualAnnotationLabelTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/manual_annotation_task/${e.manual_annotation_task_id}/batch_create_manual_annotation_label_task`),r={space_id:e.space_id,manual_annotation_label_tasks:e.manual_annotation_label_tasks,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CreateContrastReport(e,t){let n=this.genBaseURL("/api/evaluation/v1/contrast_report"),r={name:e.name,contrast_tasks:e.contrast_tasks,Base:e.Base},i={space_id:e.space_id,case_id:e.case_id,task_id:e.task_id},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}ListManualAnnotationLabelTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/manual_annotation_label_task/list"),r={space_id:e.space_id,manual_annotation_task_id:e.manual_annotation_task_id,object_ids:e.object_ids,object_type:e.object_type,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}ListManualAnnotationTask(e,t){let n=this.genBaseURL("/api/evaluation/v1/manual_annotation_task/list"),r={space_id:e.space_id,source_id:e.source_id,source_type:e.source_type,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdateContrastReport(e,t){let n=this.genBaseURL(`/api/evaluation/v1/contrast_report/${e.contrast_report_id}`),r={Base:e.Base},i={space_id:e.space_id,name:e.name},o={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,params:i,headers:o},t)}CreatePostColumns(e,t){let n=this.genBaseURL(`/api/evaluation/v1/contrast_report/${e.contrast_report_id}/create_post_columns`),r={space_id:e.space_id,manual_annotation_items:e.manual_annotation_items,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}MGetCases(e,t){let n=this.genBaseURL("/api/evaluation/v1/cases"),r={case_ids:e.case_ids,space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteManualAnnotationTask(e,t){let n=this.genBaseURL(`/api/evaluation/v1/manual_annotation_task/${e.manual_annotation_task_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",params:r,headers:i},t)}ListTaskContrastReport(e,t){let n=this.genBaseURL("/api/evaluation/v1/contrast_report/list_task_contrast_report"),r={space_id:e.space_id,task_id:e.task_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}BatchCreateCase(e,t){let n=e||{},r=this.genBaseURL("/api/evaluation/v1/cases/batch_create"),i={name_eval_object:n.name_eval_object,space_id:n.space_id,region:n.region,Base:n.Base},o={"FlowDevops-Agw-UserId":n["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":n["FlowDevops-Agw-AppId"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}UpdateManualAnnotationTaskVisible(e,t){let n=this.genBaseURL(`/api/evaluation/v1/manual_annotation_task/${e.manual_annotation_task_id}/update_visible`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeleteManualAnnotationTaskItem(e,t){let n=this.genBaseURL(`/api/evaluation/v1/manual_annotation_task/${e.manual_annotation_task_id}/manual_annotation_item/${e.manual_annotation_item_id}`),r={space_id:e.space_id,Base:e.Base},i={"FlowDevops-Agw-UserId":e["FlowDevops-Agw-UserId"],"FlowDevops-Agw-AppId":e["FlowDevops-Agw-AppId"]};return this.request({url:n,method:"DELETE",params:r,headers:i},t)}constructor(e){r(this,"request",()=>{throw Error("DevopsEvaluationService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},11416:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Pending=1]="Pending",u[u.Approved=2]="Approved",u[u.Rejected=3]="Rejected",u[u.Canceled=4]="Canceled",(c=t||(t={}))[c.Undefined=0]="Undefined",c[c.Everyday=1]="Everyday",c[c.Workdays=2]="Workdays",c[c.Weekends=3]="Weekends",c[c.Monday=4]="Monday",c[c.Tuesday=5]="Tuesday",c[c.Wednesday=6]="Wednesday",c[c.Thursday=7]="Thursday",c[c.Friday=8]="Friday",c[c.Saturday=9]="Saturday",c[c.Sunday=10]="Sunday",(d=n||(n={}))[d.Undefined=0]="Undefined",d[d.GT=1]="GT",d[d.GTE=2]="GTE",d[d.LT=3]="LT",d[d.LTE=4]="LTE",d[d.In=5]="In",d[d.NotIn=6]="NotIn",d[d.Eq=7]="Eq",d[d.NEq=8]="NEq",d[d.Like=9]="Like",d[d.NotLike=10]="NotLike",d[d.Exists=11]="Exists",(p=r||(r={}))[p.Undefined=0]="Undefined",p[p.Nop=1]="Nop",p[p.And=2]="And",p[p.Or=3]="Or",p[p.Not=4]="Not",(h=i||(i={}))[h.Undefined=0]="Undefined",h[h.CozeBot=1]="CozeBot",h[h.FornaxPSM=2]="FornaxPSM",h[h.Prompt=3]="Prompt",h[h.Doubao=4]="Doubao",(f=o||(o={}))[f.L4=4]="L4",(g=a||(a={}))[g.Undefined=0]="Undefined",g[g.Unstarted=1]="Unstarted",g[g.Running=2]="Running",g[g.Succeeded=3]="Succeeded",g[g.Failed=4]="Failed",g[g.Pending=5]="Pending",(m=s||(s={}))[m.Undefined=0]="Undefined",m[m.SpanToDataset=1]="SpanToDataset",m[m.SpanEval=2]="SpanEval",m[m.BatchExecAutoUseCase=3]="BatchExecAutoUseCase",m[m.SpanToDatasetForModelSFT=4]="SpanToDatasetForModelSFT",(_=l||(l={}))[_.Undefined=0]="Undefined",_[_.Bool=1]="Bool",_[_.Integer=2]="Integer",_[_.Double=3]="Double",_[_.String=4]="String"},12777:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.CozeBot=1]="CozeBot",r[r.FornaxApp=2]="FornaxApp",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.Create=1]="Create",i[i.Delete=2]="Delete",(o=n||(n={}))[o.Unknown=0]="Unknown",o[o.Create=1]="Create",o[o.Delete=2]="Delete"},63156:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.PlainText=0]="PlainText",r[r.MarkdownBox=11]="MarkdownBox",r[r.Image=12]="Image",r[r.File=13]="File",r[r.JSONString=14]="JSONString",r[r.TextFile=15]="TextFile",r[r.MultiContent=16]="MultiContent",r[r.DefinedText=17]="DefinedText",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.Null=1]="Null",i[i.String=2]="String",i[i.Number=3]="Number",i[i.Bool=4]="Bool",i[i.Array=5]="Array",i[i.Object=6]="Object",(o=n||(n={}))[o.System=1]="System",o[o.User=2]="User",o[o.Assistant=3]="Assistant",o[o.Placeholder=4]="Placeholder",o[o.LLMOutput=5]="LLMOutput",o[o.ToolOutput=6]="ToolOutput",o[o.Function=7]="Function"},81434:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w;(d=e||(e={}))[d.Unknown=0]="Unknown",d[d.Normal=1]="Normal",d[d.Locked=2]="Locked",(p=t||(t={}))[p.Unknown=0]="Unknown",p[p.Chat=1]="Chat",p[p.KV=2]="KV",p[p.FunctionCall=3]="FunctionCall",(h=n||(n={}))[h.Official=1]="Official",h[h.Customize=2]="Customize",(f=r||(r={}))[f.Publish=1]="Publish",f[f.NotPublish=2]="NotPublish",f[f.SFTPublish=3]="SFTPublish",f[f.DataProcessPublish=4]="DataProcessPublish",(g=i||(i={}))[g.ReplyTypeFinalAnswer=0]="ReplyTypeFinalAnswer",g[g.ReplyTypeToolCall=1]="ReplyTypeToolCall",(m=o||(o={}))[m.Generated=1]="Generated",m[m.Selected=2]="Selected",m[m.Abandoned=3]="Abandoned",(_=a||(a={}))[_.Unknown=0]="Unknown",_[_.ManualAdd=1]="ManualAdd",_[_.RuntimeAutoRecord=2]="RuntimeAutoRecord",(v=s||(s={}))[v.Unknown=0]="Unknown",v[v.L4=4]="L4",(b=l||(l={}))[b.StreamStateNone=1]="StreamStateNone",b[b.StreamStateBegin=2]="StreamStateBegin",b[b.StreamStateStreaming=3]="StreamStateStreaming",b[b.StreamStateEnd=4]="StreamStateEnd",(y=u||(u={}))[y.GenerateTaskInitState=1]="GenerateTaskInitState",y[y.GenerateTaskRunningState=2]="GenerateTaskRunningState",y[y.GenerateTaskGenFinishedState=3]="GenerateTaskGenFinishedState",y[y.GenerateTaskSelectCompletedState=4]="GenerateTaskSelectCompletedState",y[y.GenerateTaskStoppedState=5]="GenerateTaskStoppedState",y[y.GenerateTaskFailedState=6]="GenerateTaskFailedState",(w=c||(c={}))[w.Name=3]="Name",w[w.Desc=4]="Desc",w[w.Tag=5]="Tag"},9083:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.RPC=1]="RPC",s[s.PSMHTTP=2]="PSMHTTP",s[s.Open=3]="Open",(l=t||(t={}))[l.Unknown=0]="Unknown",l[l.Score=1]="Score",l[l.Value=2]="Value",l[l.Select=3]="Select",l[l.PlainText=4]="PlainText",(u=n||(n={}))[u.Double=0]="Double",u[u.Int=1]="Int",(c=r||(r={}))[c.Unknown=0]="Unknown",c[c.Row=1]="Row",c[c.RowGroup=2]="RowGroup",(d=i||(i={}))[d.default=0]="default",d[d.JWT=1]="JWT",(p=o||(o={}))[p.Undefined=0]="Undefined",p[p.Get=1]="Get",p[p.Post=2]="Post",(h=a||(a={}))[h.Unknown=0]="Unknown",h[h.GPTOpenAPI=1]="GPTOpenAPI",h[h.MAAS=2]="MAAS"},51182:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Txt=1]="Txt",a[a.Image=2]="Image",a[a.Audio=3]="Audio",a[a.Video=4]="Video",a[a.Link=6]="Link",a[a.Music=7]="Music",a[a.Tako=8]="Tako",a[a.File=9]="File",a[a.Card=50]="Card",a[a.BotCard=51]="BotCard",a[a.APP=100]="APP",a[a.OutputSearchResult=200]="OutputSearchResult",(s=t||(t={}))[s.Prompt=1]="Prompt",s[s.PythonCode=2]="PythonCode",s[s.JSCode=3]="JSCode",s[s.BuildinFunc=4]="BuildinFunc",s[s.BuildinPrompt=5]="BuildinPrompt",s[s.CustomCallback=6]="CustomCallback",s[s.Manual=7]="Manual",s[s.CustomMetric=8]="CustomMetric",s[s.BuiltinSpecTest=9]="BuiltinSpecTest",s[s.FornaxPrompt=10]="FornaxPrompt",s[s.CozePrompt=11]="CozePrompt",(l=n||(n={}))[l.TEXT=0]="TEXT",l[l.MARKDOWN=1]="MARKDOWN",l[l.JSON=2]="JSON",(u=r||(r={}))[u.Answer=1]="Answer",u[u.Suggest=2]="Suggest",u[u.LLMOutput=3]="LLMOutput",u[u.ToolOutput=4]="ToolOutput",u[u.DataSet=5]="DataSet",u[u.QueryKeyword=6]="QueryKeyword",u[u.IntermediateOutput=7]="IntermediateOutput",(c=i||(i={}))[c.NotInit=0]="NotInit",c[c.Init=1]="Init",c[c.Processing=2]="Processing",c[c.Success=3]="Success",c[c.Fail=4]="Fail",(d=o||(o={}))[d.Name=4]="Name",d[d.Desc=5]="Desc"},36464:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.LLMPlanning=1]="LLMPlanning",r[r.ToolCall=2]="ToolCall",r[r.CozeVerbose=100]="CozeVerbose",(i=t||(t={}))[i.Prompt=1]="Prompt",i[i.PythonCode=2]="PythonCode",i[i.JSCode=3]="JSCode",i[i.Manual=7]="Manual",i[i.FornaxPrompt=10]="FornaxPrompt",i[i.CozePrompt=11]="CozePrompt",i[i.BuiltinEquals=1e4]="BuiltinEquals",i[i.BuiltinNotEquals=10001]="BuiltinNotEquals",i[i.BuiltinContains=10002]="BuiltinContains",i[i.BuiltinNotContains=10003]="BuiltinNotContains",i[i.BuiltinIContains=10004]="BuiltinIContains",i[i.BuiltinNotIContains=10005]="BuiltinNotIContains",i[i.BuiltinRegex=10006]="BuiltinRegex",i[i.BuiltinNotRegex=10007]="BuiltinNotRegex",i[i.BuiltinStartsWith=10008]="BuiltinStartsWith",i[i.BuiltinNotStartsWith=10009]="BuiltinNotStartsWith",i[i.BuiltinContainsAny=10010]="BuiltinContainsAny",i[i.BuiltinNotContainsAny=10011]="BuiltinNotContainsAny",i[i.BuiltinContainsAll=10012]="BuiltinContainsAll",i[i.BuiltinNotContainsAll=10013]="BuiltinNotContainsAll",i[i.BuiltinIContainsAny=10014]="BuiltinIContainsAny",i[i.BuiltinNotIContainsAny=10015]="BuiltinNotIContainsAny",i[i.BuiltinIContainsAll=10016]="BuiltinIContainsAll",i[i.BuiltinNotIContainsAll=10017]="BuiltinNotIContainsAll",i[i.BuiltinIsJSON=10018]="BuiltinIsJSON",i[i.BuiltinNotIsJSON=10019]="BuiltinNotIsJSON",i[i.BuiltinContainsJSON=10020]="BuiltinContainsJSON",i[i.BuiltinNotContainsJSON=10021]="BuiltinNotContainsJSON",i[i.BuiltinIsValidJSONObject=10022]="BuiltinIsValidJSONObject",i[i.BuiltinNotIsValidJSONObject=10023]="BuiltinNotIsValidJSONObject",i[i.BuiltinConcisenessCriteriaEval=20001]="BuiltinConcisenessCriteriaEval",i[i.BuiltinRelevanceCriteriaEval=20002]="BuiltinRelevanceCriteriaEval",i[i.BuiltinHarmfulnessCriteriaEval=20003]="BuiltinHarmfulnessCriteriaEval",i[i.BuiltinMaliciousnessCriteriaEval=20004]="BuiltinMaliciousnessCriteriaEval",i[i.BuiltinHelpfulnessCriteriaEval=20005]="BuiltinHelpfulnessCriteriaEval",i[i.BuiltinControversialityCriteriaEval=20006]="BuiltinControversialityCriteriaEval",i[i.BuiltinMisogynyCriteriaEval=20007]="BuiltinMisogynyCriteriaEval",i[i.BuiltinCriminalityCriteriaEval=20008]="BuiltinCriminalityCriteriaEval",i[i.BuiltinInsensitivityCriteriaEval=20009]="BuiltinInsensitivityCriteriaEval",i[i.BuiltinDepthCriteriaEval=20010]="BuiltinDepthCriteriaEval",i[i.BuiltinCreativityCriteriaEval=20011]="BuiltinCreativityCriteriaEval",i[i.BuiltinDetailCriteriaEval=20012]="BuiltinDetailCriteriaEval",i[i.BuiltinCorrectnessEval=20013]="BuiltinCorrectnessEval",i[i.BuiltinSpecTestLanguageConsistency=20014]="BuiltinSpecTestLanguageConsistency",i[i.BuiltinSpecTestResponseDenialCheck=20015]="BuiltinSpecTestResponseDenialCheck",i[i.BuiltinSpecTestContentAuthenticity=20016]="BuiltinSpecTestContentAuthenticity",i[i.BuiltinSpecTestContentAccuracy=20017]="BuiltinSpecTestContentAccuracy",i[i.BuiltinSpecTestNeedFulfillment=20018]="BuiltinSpecTestNeedFulfillment",i[i.BuiltinSpecTestResponseTimeliness=20019]="BuiltinSpecTestResponseTimeliness",i[i.BuiltinSpecTestResponseRedundancy=20020]="BuiltinSpecTestResponseRedundancy",i[i.BuiltinSpecTestCharacterConsistency=20021]="BuiltinSpecTestCharacterConsistency",i[i.BuiltinSpecTestAnthropomorphismLevel=20022]="BuiltinSpecTestAnthropomorphismLevel",i[i.BuiltinSpecTestIOSematicSimilarity=20023]="BuiltinSpecTestIOSematicSimilarity",i[i.BuiltinSpecTestAOSematicSimilarity=20024]="BuiltinSpecTestAOSematicSimilarity",i[i.BuiltinSpecTestImageGenerationConsistency=20025]="BuiltinSpecTestImageGenerationConsistency",i[i.BuiltinSpecTestImageAesthetics=20026]="BuiltinSpecTestImageAesthetics",i[i.BuiltinSpecTestResponseCompleteness=20027]="BuiltinSpecTestResponseCompleteness",i[i.BuiltinSpecTestTextToImageGenerationCompleteness=20028]="BuiltinSpecTestTextToImageGenerationCompleteness",i[i.BuiltinSpecTestCodeGenerationScoring=20029]="BuiltinSpecTestCodeGenerationScoring",i[i.BuiltinSpecTestPluginCallingCorrectness=20030]="BuiltinSpecTestPluginCallingCorrectness",i[i.BuiltinSpecTestPluginParametersCorrectness=20031]="BuiltinSpecTestPluginParametersCorrectness",i[i.BuiltinSpecTestWorkflowCallingCorrectness=20032]="BuiltinSpecTestWorkflowCallingCorrectness",i[i.BuiltinSpecTestWorkflowParametersCorrectness=20033]="BuiltinSpecTestWorkflowParametersCorrectness",i[i.BuiltinSpecTestTriggerCallingCorrectness=20034]="BuiltinSpecTestTriggerCallingCorrectness",i[i.BuiltinSpecTestTriggerParametersCorrectness=20035]="BuiltinSpecTestTriggerParametersCorrectness",i[i.BuiltinSpecTestChoreographyAccuracy=20036]="BuiltinSpecTestChoreographyAccuracy",i[i.BuiltinDefaultMetric=30001]="BuiltinDefaultMetric",i[i.BuiltinCustomMetric=30002]="BuiltinCustomMetric",(o=n||(n={}))[o.Success=1]="Success",o[o.Fail=2]="Fail"},52422:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.Score=1]="Score",r[r.Value=2]="Value",r[r.Select=3]="Select",r[r.PlainText=4]="PlainText",(i=t||(t={}))[i.EvaluationTaskRow=1]="EvaluationTaskRow",(o=n||(n={}))[o.EvaluationContrastReport=1]="EvaluationContrastReport"},3177:function(){"use strict";var e,t;(t=e||(e={}))[t.Builtin=1]="Builtin",t[t.Custom=2]="Custom"},58781:function(){"use strict";var e,t;(t=e||(e={}))[t.DraftBot=1]="DraftBot",t[t.ProductBot=2]="ProductBot"},91010:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et;(P=e||(e={}))[P.Unknown=0]="Unknown",P[P.EvaluatorTag=1]="EvaluatorTag",(I=t||(t={}))[I.Average=1]="Average",I[I.Sum=2]="Sum",I[I.Max=3]="Max",I[I.Min=4]="Min",I[I.PassingRate=5]="PassingRate",I[I.ExcellentRate=6]="ExcellentRate",I[I.Count=7]="Count",I[I.Pct50=8]="Pct50",I[I.Pct90=9]="Pct90",I[I.Pct99=10]="Pct99",(E=n||(n={}))[E.All=1]="All",E[E.Unsuccessful=2]="Unsuccessful",(C=r||(r={}))[C.Unknown=0]="Unknown",C[C.Running=1]="Running",C[C.Success=2]="Success",C[C.Failed=3]="Failed",(O=i||(i={}))[O.ChainTaskTemplate_Unknow=0]="ChainTaskTemplate_Unknow",O[O.ChainTaskTemplate_BotTemplate=1]="ChainTaskTemplate_BotTemplate",(D=o||(o={}))[D.Unknown=0]="Unknown",D[D.KPI=1]="KPI",D[D.Pie=2]="Pie",D[D.Bar=3]="Bar",D[D.StackedBar=4]="StackedBar",D[D.Radar=5]="Radar",D[D.Line=6]="Line",(L=a||(a={}))[L.Double=0]="Double",L[L.JSON=1]="JSON",(B=s||(s={}))[B.Manual=0]="Manual",B[B.Auto=1]="Auto",B[B.Reset=2]="Reset",(N=l||(l={}))[N.Row=0]="Row",N[N.Case=1]="Case",(R=u||(u={}))[R.StopOnAnyError=1]="StopOnAnyError",R[R.ContinueOnAnyError=2]="ContinueOnAnyError",R[R.OnlyContinueOnPartialError=3]="OnlyContinueOnPartialError",(j=c||(c={}))[j.Unknown=0]="Unknown",j[j.Score=1]="Score",j[j.Value=2]="Value",j[j.OptionValue=3]="OptionValue",j[j.Plaintext=4]="Plaintext",j[j.DataSetTag=5]="DataSetTag",j[j.RuleID=6]="RuleID",(U=d||(d={}))[U.Unknown=0]="Unknown",U[U.And=1]="And",U[U.Or=2]="Or",(z=p||(p={}))[z.Unknown=0]="Unknown",z[z.Equal=1]="Equal",z[z.NotEqual=2]="NotEqual",z[z.Contains=3]="Contains",z[z.NotContains=4]="NotContains",z[z.Greater=5]="Greater",z[z.GreaterOrEqual=6]="GreaterOrEqual",z[z.Less=7]="Less",z[z.LessOrEqual=8]="LessOrEqual",z[z.IsNull=9]="IsNull",z[z.IsNotNull=10]="IsNotNull",(F=h||(h={}))[F.Unknown=0]="Unknown",F[F.Invoke=1]="Invoke",F[F.Stream=2]="Stream",(G=f||(f={}))[G.Unknown=0]="Unknown",G[G.ChatBot=1]="ChatBot",G[G.OpenAPI=2]="OpenAPI",(q=g||(g={}))[q.Unknown=0]="Unknown",q[q.DataSetTag=1]="DataSetTag",q[q.OptionResult=2]="OptionResult",(W=m||(m={}))[W.NoNeed=0]="NoNeed",W[W.Need=1]="Need",(Z=_||(_={}))[Z.PromptTemplateFormat_FString=0]="PromptTemplateFormat_FString",Z[Z.PromptTemplateFormat_Jinja2=1]="PromptTemplateFormat_Jinja2",(H=v||(v={}))[H.All=1]="All",H[H.Unsuccessful=2]="Unsuccessful",H[H.SpecifyRowGroup=3]="SpecifyRowGroup",(V=b||(b={}))[V.Unknown=-1]="Unknown",V[V.Queueing=0]="Queueing",V[V.Processing=1]="Processing",V[V.Success=2]="Success",V[V.Fail=3]="Fail",V[V.Evaluating=4]="Evaluating",V[V.Terminal=5]="Terminal",(Q=y||(y={}))[Q.Queueing=0]="Queueing",Q[Q.Success=1]="Success",Q[Q.Fail=2]="Fail",(Y=w||(w={}))[Y.CozeBot=1]="CozeBot",Y[Y.Prompt=2]="Prompt",Y[Y.User=3]="User",Y[Y.Agent=4]="Agent",($=S||(S={}))[$.CozeBot=0]="CozeBot",$[$.Prompt=1]="Prompt",$[$.ChainTask=2]="ChainTask",$[$.FornaxApp=3]="FornaxApp",$[$.FornaxAgent=4]="FornaxAgent",$[$.PlaygroundCozeBot=5]="PlaygroundCozeBot",$[$.PlaygroundCozeBotV2=6]="PlaygroundCozeBotV2",$[$.Custom=100]="Custom",(K=A||(A={}))[K.NotGenerated=0]="NotGenerated",K[K.Updating=1]="Updating",K[K.Generated=2]="Generated",K[K.NeedUpdate=3]="NeedUpdate",(X=T||(T={}))[X.NoNeed=0]="NoNeed",X[X.Need=1]="Need",X[X.Completed=2]="Completed",(J=x||(x={}))[J.Unknown=0]="Unknown",J[J.SubmitExec=1]="SubmitExec",J[J.OnlineSyncExec=2]="OnlineSyncExec",(ee=k||(k={}))[ee.Processing=1]="Processing",ee[ee.Creating=4]="Creating",ee[ee.Appending=10]="Appending",ee[ee.NeedManualEval=20]="NeedManualEval",ee[ee.Termination=21]="Termination",ee[ee.SystemTermination=22]="SystemTermination",ee[ee.Completed=30]="Completed",ee[ee.Error=31]="Error",ee[ee.PartialFailure=41]="PartialFailure",ee[ee.AwaitExecution=42]="AwaitExecution",ee[ee.AwaitRetry=43]="AwaitRetry",(et=M||(M={}))[et.Default=0]="Default",et[et.ReadOnly=5]="ReadOnly"},49058:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("96627"),n("61036"),n("62396"),n("12824");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}Ping(e,t){let n=this.genBaseURL("/api/devops/dp/v1/ping"),r={PingMessage:e.PingMessage};return this.request({url:n,method:"GET",params:r},t)}BotDiff(e,t){let n=this.genBaseURL("/api/devops/dp/bot_diff"),r={space_id:e.space_id,bot_id:e.bot_id,left:e.left,right:e.right,filter:e.filter,template_key:e.template_key,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BotMerge(e,t){let n=this.genBaseURL("/api/devops/dp/bot_merge"),r={space_id:e.space_id,bot_id:e.bot_id,diff_res:e.diff_res,origin_bot_dl:e.origin_bot_dl,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RecordChangelog(e,t){let n=this.genBaseURL("/api/devops/dp/record_changelog"),r={bot_id:e.bot_id,llm_result:e.llm_result,user_result:e.user_result,publish_id:e.publish_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BotDiff3Way(e,t){let n=this.genBaseURL("/api/devops/dp/bot_diff_3way"),r={space_id:e.space_id,bot_id:e.bot_id,current_version:e.current_version,target_version:e.target_version,template_key:e.template_key,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetTopoInfo(e,t){let n=this.genBaseURL("/api/devops/dp/get_topo_info"),r={space_id:e.space_id,resource_id:e.resource_id,version:e.version,env:e.env,resource_type:e.resource_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMultiVersionActiveList(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/rules`),r={page:e.page,size:e.size,version_type:e.version_type},i={query_type:e.query_type,version:e.version,Base:e.Base};return this.request({url:n,method:"GET",data:r,params:i},t)}GetMultiVersionLatestParams(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/latest_param`),r={Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}PublishMultiVersion(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/publish`),r={connector_ids:e.connector_ids,version_type:e.version_type,publish_id:e.publish_id,x_tt_env:e.x_tt_env,version_identifier:e.version_identifier,gray_id_list:e.gray_id_list,commit_version:e.commit_version,bot_version:e.bot_version,gray_config:e.gray_config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMultiVersionAllowedConnectors(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/connectors`),r={Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}InactivateMultiVersion(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/rules/${e.rule_id}/inactivate`),r={Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CozeIDEPluginFg(e,t){let n=this.genBaseURL("/api/devops/dp/coze/ide/fg"),r={Base:(e||{}).Base};return this.request({url:n,method:"GET",params:r},t)}UpdateGrayIDList(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/multi_version/rules/${e.rule_id}/update_gray`),r={gray_id_list:e.gray_id_list,gray_config:e.gray_config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RandBotID(e,t){let n=this.genBaseURL("/models/arena/rand_bot_id"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}CreateArenaPK(e,t){let n=e||{},r=this.genBaseURL("/models/arena/detail/create_pk"),i={product_id:n.product_id,bot_id:n.bot_id,bot_version:n.bot_version,Base:n.Base},o={Host:n.Host};return this.request({url:r,method:"POST",data:i,headers:o},t)}ArenaVote(e,t){let n=e||{},r=this.genBaseURL("/models/arena/detail/vote"),i={pk_id:n.pk_id,result:n.result,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListArenaBot(e,t){let n=e||{},r=this.genBaseURL("/models/arena/list_arena_bot"),i={bot_type_id:n.bot_type_id,page_size:n.page_size,page_number:n.page_number,rand3:n.rand3,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ArenaLeaderBoardGet(e,t){let n=this.genBaseURL("/models/leaderboard/get"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}ArenaGetConf(e,t){let n=this.genBaseURL("/models/arena/get_conf"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}ArenaChatBreakMsg(e,t){let n=e||{},r=this.genBaseURL("/models/arena/detail/break_message"),i={conversation_id:n.conversation_id,query_message_id:n.query_message_id,answer_message_id:n.answer_message_id,broken_pos:n.broken_pos,local_message_id:n.local_message_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ArenaChatStream(e,t){let n=this.genBaseURL("/models/arena/detail/chat"),r={bot_id:e.bot_id,conversation_id:e.conversation_id,bot_version:e.bot_version,user:e.user,query:e.query,extra:e.extra,content_type:e.content_type,regen_message_id:e.regen_message_id,local_message_id:e.local_message_id,insert_history_message_list:e.insert_history_message_list,device_id:e.device_id,space_id:e.space_id,toolList:e.toolList},i={Origin:e.Origin,Host:e.Host};return this.request({url:n,method:"POST",data:r,headers:i},t)}RollbackBot(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/rollback`),r={connector_ids:e.connector_ids,commit_version:e.commit_version,bot_version:e.bot_version,publish_id:e.publish_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ArenaListQuestionBank(e,t){let n=e||{},r=this.genBaseURL("/models/arena/question/list_bank"),i={bank_type_id:n.bank_type_id,page_size:n.page_size,page_num:n.page_num,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ArenaRandQuestion(e,t){let n=e||{},r=this.genBaseURL("/models/arena/question/rand_question"),i={bank_id:n.bank_id,count:n.count,used_seq_id_list:n.used_seq_id_list,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CheckBotInReviewWhiteList(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/check_review`),r={Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListCurrentPublishVersions(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/list_publish_versions`),r={Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListHistoryVersions(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/list_history_versions`),r={version_types:e.version_types,connector_ids:e.connector_ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListOperationHistory(e,t){let n=this.genBaseURL(`/api/devops/dp/coze/spaces/${e.space_id}/bots/${e.bot_id}/list_operation_histories`),r={version_types:e.version_types,connector_ids:e.connector_ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ArenaLeaderboardGetV2(e,t){let n=e||{},r=this.genBaseURL("/models/leaderboard/get_v2"),i={id:n.id,Base:n.Base},o={Host:n.Host};return this.request({url:r,method:"POST",data:i,headers:o},t)}CheckHookConfig(e,t){let n=this.genBaseURL("/api/devops/dp/coze/hook/config_check"),r={psm:e.psm,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ArenaGetModelList(e,t){let n=e||{},r=this.genBaseURL("/models/arena/get_model_list"),i={Base:n.Base},o={Host:n.Host};return this.request({url:r,method:"POST",data:i,headers:o},t)}ArenaSubmitPkFeedbackTag(e,t){let n=this.genBaseURL("/models/arena/feedback_tag"),r={pk_id:e.pk_id,left_model_tags:e.left_model_tags,right_model_tags:e.right_model_tags,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ArenaSubmitPkFeedbackText(e,t){let n=this.genBaseURL("/models/arena/feedback_text"),r={pk_id:e.pk_id,feedback_text:e.feedback_text,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("DpManageService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},96627:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Undefined=0]="Undefined",u[u.PersonalDraft=1]="PersonalDraft",u[u.Base=2]="Base",u[u.Publish=3]="Publish",(c=t||(t={}))[c.Unknown=0]="Unknown",c[c.Add=1]="Add",c[c.Delete=2]="Delete",c[c.Modify=3]="Modify",c[c.Remove=4]="Remove",c[c.Remain=5]="Remain",(d=n||(n={}))[d.Env=10]="Env",d[d.Publish=20]="Publish",d[d.Version=30]="Version",(p=r||(r={}))[p.Default=0]="Default",p[p.OnlyDetermineDiff=1]="OnlyDetermineDiff",(h=i||(i={}))[h.BotDraft=0]="BotDraft",(f=o||(o={}))[f.Default=0]="Default",f[f.TextDetail=1]="TextDetail",(g=a||(a={}))[g.Online=1]="Online",g[g.Submit=2]="Submit",g[g.Draft=3]="Draft",(m=s||(s={}))[m.Bot=1]="Bot",m[m.Workflow=2]="Workflow",(_=l||(l={}))[_.AgentFlow=1]="AgentFlow",_[_.Agent=2]="Agent",_[_.Workflow=3]="Workflow"},61036:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.Normal=0]="Normal",s[s.UnReleasedInCoze=1]="UnReleasedInCoze",(l=t||(t={}))[l.InhouseBotPK=1]="InhouseBotPK",l[l.InhouseModelPK=2]="InhouseModelPK",l[l.ReleaseBotPK=3]="ReleaseBotPK",l[l.ReleaseModelPK=4]="ReleaseModelPK",(u=n||(n={}))[u.All=0]="All",u[u.Knowledge=1]="Knowledge",u[u.Creation=2]="Creation",u[u.Language=3]="Language",u[u.RoleplayAndConversation=4]="RoleplayAndConversation",u[u.Code=5]="Code",u[u.ToolUsage=6]="ToolUsage",u[u.MathAndInference=7]="MathAndInference",(c=r||(r={}))[c.Win=1]="Win",c[c.Lose=2]="Lose",(d=i||(i={}))[d.Pending=0]="Pending",d[d.StartConversation=1]="StartConversation",d[d.ReceiveReply=2]="ReceiveReply",d[d.FinishVote=3]="FinishVote",(p=o||(o={}))[p.Bot=0]="Bot",p[p.Model=1]="Model",p[p.All=2]="All",(h=a||(a={}))[h.LeftGood=1]="LeftGood",h[h.RightGood=2]="RightGood",h[h.BothGood=3]="BothGood",h[h.BothBad=4]="BothBad"},62396:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.Undefined=0]="Undefined",s[s.Publish=1]="Publish",s[s.Modify=2]="Modify",s[s.Offline=3]="Offline",s[s.Rollback=4]="Rollback",(l=t||(t={}))[l.Undefined=0]="Undefined",l[l.UID=1]="UID",l[l.DID=2]="DID",l[l.CustomKey=3]="CustomKey",(u=n||(n={}))[u.Undefined=0]="Undefined",u[u.Valid=1]="Valid",u[u.InValid=2]="InValid",(c=r||(r={}))[c.Undefined=0]="Undefined",c[c.Commit=1]="Commit",c[c.Online=2]="Online",c[c.PrePublish=3]="PrePublish",c[c.Gray=4]="Gray",c[c.Rollback=5]="Rollback",(d=i||(i={}))[d.Undefined=0]="Undefined",d[d.Online=1]="Online",d[d.PrePublish=2]="PrePublish",d[d.Gray=3]="Gray",(p=o||(o={}))[p.UnDefined=0]="UnDefined",p[p.Online=1]="Online",p[p.Offline=2]="Offline",(h=a||(a={}))[h.UnDefined=0]="UnDefined",h[h.XTtEnv=1]="XTtEnv",h[h.VersionIdentifier=2]="VersionIdentifier",h[h.Gray=3]="Gray"},12824:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x;(h=e||(e={}))[h.Undefined=0]="Undefined",h[h.ConstReturn=1]="ConstReturn",(f=t||(t={}))[f.Default=0]="Default",f[f.CozeBot=1]="CozeBot",f[f.FornaxSlot=2]="FornaxSlot",f[f.FornaxPrompt=3]="FornaxPrompt",(g=n||(n={}))[g.Undefined=0]="Undefined",g[g.And=1]="And",g[g.Or=2]="Or",(m=r||(r={}))[m.Undefined=0]="Undefined",m[m.XTtEnv=1]="XTtEnv",m[m.VersionIdentifier=2]="VersionIdentifier",m[m.TargetIDs=3]="TargetIDs",m[m.Gray=4]="Gray",m[m.OperatorExpr=5]="OperatorExpr",m[m.Combo=6]="Combo",(_=i||(i={}))[_.Undefined=0]="Undefined",_[_.Bool=1]="Bool",_[_.String=2]="String",_[_.Int=3]="Int",_[_.Double=4]="Double",_[_.StringList=5]="StringList",(v=o||(o={}))[v.Undefined=0]="Undefined",v[v.ConstExpr=1]="ConstExpr",v[v.VarExpr=2]="VarExpr",(b=a||(a={}))[b.Undefined=0]="Undefined",b[b.Uid=1]="Uid",b[b.Did=2]="Did",b[b.CustomKey=3]="CustomKey",(y=s||(s={}))[y.Undefined=0]="Undefined",y[y.Eq=1]="Eq",y[y.In=2]="In",y[y.NotIn=3]="NotIn",y[y.NotEq=4]="NotEq",y[y.Gt=5]="Gt",y[y.Lt=6]="Lt",y[y.Gte=7]="Gte",y[y.Lte=8]="Lte",y[y.IsNull=9]="IsNull",y[y.IsNotNull=10]="IsNotNull",y[y.AlwaysTrue=11]="AlwaysTrue",(w=l||(l={}))[w.Undefined=0]="Undefined",w[w.Online=1]="Online",w[w.Offline=2]="Offline",(S=u||(u={}))[S.Undefined=0]="Undefined",S[S.Bool=1]="Bool",S[S.Int=2]="Int",S[S.Double=3]="Double",S[S.String=4]="String",S[S.Object=5]="Object",(A=c||(c={}))[A.Undefined=0]="Undefined",A[A.Uid=1]="Uid",(T=d||(d={}))[T.Undefined=0]="Undefined",T[T.In=1]="In",T[T.NotIn=2]="NotIn",(x=p||(p={}))[x.Undefined=0]="Undefined",x[x.ConstValue=1]="ConstValue"},61096:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("40912"),n("29058"),n("38630"),n("87999"),n("17806"),n("4172"),n("36856"),n("42186"),n("41746"),n("39000"),n("27482"),n("37633"),n("55922");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}KillTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/kill"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RetryTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/retry"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SubmitTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/submit"),r={space_id:e.space_id,bot_id:e.bot_id,scene_id:e.scene_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListScene(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/scene/list"),r={space_id:e.space_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/list"),r={space_id:e.space_id,bot_id:e.bot_id,scene_id:e.scene_id,offset:e.offset,limit:e.limit,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetBatchTaskReportOverall(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/report/overall"),r={space_id:e.space_id,bot_id:e.bot_id,batch_task_id:e.batch_task_id,scene_id:e.scene_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetBatchTaskReportDetail(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/report/detail"),r={space_id:e.space_id,bot_id:e.bot_id,batch_task_id:e.batch_task_id,offset:e.offset,limit:e.limit,filters:e.filters,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetBatchTaskScore(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/report/score"),r={space_id:e.space_id,bot_id:e.bot_id,batch_task_id:e.batch_task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CheckBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/status/check"),r={space_id:e.space_id,bot_id:e.bot_id,batch_task_ids:e.batch_task_ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/delete"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListEvalVersion(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/version/list"),r={space_id:e.space_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetTaskReportFilterMeta(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/task/report/filter_meta"),r={space_id:e.space_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}Setup(e,t){let n=e||{},r=this.genBaseURL("/api/devops/coze_evaluation/setup"),i={config:n.config,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetCozeEvalGray(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/gray/get"),r={space_id:e.space_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteDataset(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/dataset/${e.dataset_id}`),r={space_id:e.space_id,batch_task_id:e.batch_task_id},i={Base:e.Base};return this.request({url:n,method:"DELETE",data:r,params:i},t)}OptimizeJudgePrompt(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/template/judge/optimize"),r={space_id:e.space_id,prompt:e.prompt,batch_task_id:e.batch_task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RetryBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/retry"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DashboardTask(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/batch_task/${e.task_id}/dashboard`),r={space_id:e.space_id,batch_task_id:e.batch_task_id,row_group_run_state:e.row_group_run_state,page:e.page,page_size:e.page_size,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}SubmitBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/submit"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,is_test_run:e.is_test_run,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetOperableBot(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/object/get_operable_bot"),r={space_id:e.space_id,bot_ids:e.bot_ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BindCozeBot(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/object/bind_bot"),r={batch_task_id:e.batch_task_id,space_id:e.space_id,eval_objects:e.eval_objects,is_test_run:e.is_test_run,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PullJudgePromptTemplate(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/template/judge"),r={space_id:e.space_id,cursor:e.cursor,limit:e.limit,object_type:e.object_type};return this.request({url:n,method:"POST",data:r},t)}CreateDataset(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/dataset/create"),r={space_id:e.space_id,name:e.name,batch_task_id:e.batch_task_id,is_test_run:e.is_test_run,publish_option:e.publish_option,tag_list:e.tag_list,column_schema:e.column_schema,row_groups:e.row_groups,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListCozeBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/list"),r={space_id:e.space_id,creator_id:e.creator_id,type:e.type,status:e.status,search_name:e.search_name,offset:e.offset,limit:e.limit,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteCozeBatchTask(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/batch_task/${e.batch_task_id}`),r={space_id:e.space_id},i={Base:e.Base};return this.request({url:n,method:"DELETE",data:r,params:i},t)}ListDataset(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/dataset/list"),r={space_id:e.space_id,dataset_type:e.dataset_type,template_type:e.template_type,offset:e.offset,limit:e.limit,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CloneCozeBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/clone"),r={space_id:e.space_id,source_batch_task_id:e.source_batch_task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}KillBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/kill"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,is_test_run:e.is_test_run,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateCozeBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/create"),r={space_id:e.space_id,name:e.name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListRowGroups(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/dataset/${e.dataset_id}/row_group/list`),r={space_id:e.space_id,page:e.page,page_size:e.page_size,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetCozeBatchTask(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/batch_task/${e.batch_task_id}`),r={space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}BatchGetCozeBatchTaskProgress(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/batch_get_progress"),r={space_id:e.space_id,batch_task_ids:e.batch_task_ids,is_test_run:e.is_test_run,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateCozeBatchTask(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/update"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,name:e.name,status:e.status,run_type:e.run_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}InsertRowGroups(e,t){let n=this.genBaseURL(`/api/devops/coze_evaluation/v2/dataset/${e.dataset_id}/row_group/insert`),r={space_id:e.space_id,row_groups:e.row_groups,before_row_group_id:e.before_row_group_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BindDataset(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/dataset/bind_dataset"),r={dataset_id:e.dataset_id,space_id:e.space_id,batch_task_id:e.batch_task_id,dataset_name:e.dataset_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GenerateTestRunDataset(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/dataset/generate_test_run"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OverwriteRule(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/evaluator/rule/overwrite"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,rule:e.rule,cid:e.cid,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreditsCheck(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/batch_task/credits_check"),r={space_id:e.space_id,batch_task_id:e.batch_task_id,credits_check_type:e.credits_check_type,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}ClearTaskDataset(e,t){let n=this.genBaseURL("/api/devops/coze_evaluation/v2/dataset/clear"),r={batch_task_id:e.batch_task_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("EvaluationLiteService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},40912:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.Start=1]="Start",t[t.Processing=2]="Processing",t[t.End=3]="End"},29058:function(){"use strict";var e,t;(t=e||(e={}))[t.Bot=1]="Bot",t[t.Workflow=2]="Workflow",t[t.Model=3]="Model"},38630:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.Awaiting=1]="Awaiting",s[s.InProgress=2]="InProgress",s[s.Complete=3]="Complete",s[s.Failed=4]="Failed",s[s.Creating=5]="Creating",s[s.Paused=6]="Paused",s[s.TestRun=7]="TestRun",(l=t||(t={}))[l.Agent=1]="Agent",l[l.Workflow=2]="Workflow",l[l.Model=3]="Model",l[l.All=4]="All",(u=n||(n={}))[u.Template=1]="Template",u[u.BuiltIn=2]="BuiltIn",(c=r||(r={}))[c.Normal=1]="Normal",c[c.Professional=2]="Professional",(d=i||(i={}))[d.Retry=1]="Retry",d[d.TestRun=2]="TestRun",d[d.Formal=3]="Formal",d[d.CheckFreeCaseOnly=4]="CheckFreeCaseOnly",(p=o||(o={}))[p.Bot=1]="Bot",p[p.Workflow=2]="Workflow",p[p.Model=3]="Model",(h=a||(a={}))[h.FullEvaluation=1]="FullEvaluation",h[h.AgentOnly=2]="AgentOnly"},87999:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.PlainText=0]="PlainText",r[r.MarkdownBox=11]="MarkdownBox",r[r.Image=12]="Image",r[r.File=13]="File",r[r.JSONString=14]="JSONString",r[r.TextFile=15]="TextFile",r[r.MultiContent=16]="MultiContent",r[r.DefinedText=17]="DefinedText",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.Null=1]="Null",i[i.String=2]="String",i[i.Number=3]="Number",i[i.Bool=4]="Bool",i[i.Array=5]="Array",i[i.Object=6]="Object",(o=n||(n={}))[o.System=1]="System",o[o.User=2]="User",o[o.Assistant=3]="Assistant",o[o.Placeholder=4]="Placeholder",o[o.LLMOutput=5]="LLMOutput",o[o.ToolOutput=6]="ToolOutput",o[o.Function=7]="Function"},17806:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w;(d=e||(e={}))[d.Unknown=0]="Unknown",d[d.Normal=1]="Normal",d[d.Locked=2]="Locked",(p=t||(t={}))[p.Unknown=0]="Unknown",p[p.Chat=1]="Chat",p[p.KV=2]="KV",p[p.FunctionCall=3]="FunctionCall",(h=n||(n={}))[h.Official=1]="Official",h[h.Customize=2]="Customize",(f=r||(r={}))[f.Publish=1]="Publish",f[f.NotPublish=2]="NotPublish",f[f.SFTPublish=3]="SFTPublish",f[f.DataProcessPublish=4]="DataProcessPublish",f[f.EvalResultPublish=5]="EvalResultPublish",(g=i||(i={}))[g.ReplyTypeFinalAnswer=0]="ReplyTypeFinalAnswer",g[g.ReplyTypeToolCall=1]="ReplyTypeToolCall",(m=o||(o={}))[m.Generated=1]="Generated",m[m.Selected=2]="Selected",m[m.Abandoned=3]="Abandoned",(_=a||(a={}))[_.Unknown=0]="Unknown",_[_.ManualAdd=1]="ManualAdd",_[_.RuntimeAutoRecord=2]="RuntimeAutoRecord",(v=s||(s={}))[v.Unknown=0]="Unknown",v[v.L4=4]="L4",(b=l||(l={}))[b.StreamStateNone=1]="StreamStateNone",b[b.StreamStateBegin=2]="StreamStateBegin",b[b.StreamStateStreaming=3]="StreamStateStreaming",b[b.StreamStateEnd=4]="StreamStateEnd",(y=u||(u={}))[y.GenerateTaskInitState=1]="GenerateTaskInitState",y[y.GenerateTaskRunningState=2]="GenerateTaskRunningState",y[y.GenerateTaskGenFinishedState=3]="GenerateTaskGenFinishedState",y[y.GenerateTaskSelectCompletedState=4]="GenerateTaskSelectCompletedState",y[y.GenerateTaskStoppedState=5]="GenerateTaskStoppedState",y[y.GenerateTaskFailedState=6]="GenerateTaskFailedState",(w=c||(c={}))[w.Name=3]="Name",w[w.Desc=4]="Desc",w[w.Tag=5]="Tag"},4172:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.RPC=1]="RPC",s[s.PSMHTTP=2]="PSMHTTP",s[s.Open=3]="Open",(l=t||(t={}))[l.Unknown=0]="Unknown",l[l.Score=1]="Score",l[l.Value=2]="Value",l[l.Select=3]="Select",l[l.PlainText=4]="PlainText",(u=n||(n={}))[u.Double=0]="Double",u[u.Int=1]="Int",(c=r||(r={}))[c.Unknown=0]="Unknown",c[c.Row=1]="Row",c[c.RowGroup=2]="RowGroup",(d=i||(i={}))[d.default=0]="default",d[d.JWT=1]="JWT",(p=o||(o={}))[p.Undefined=0]="Undefined",p[p.Get=1]="Get",p[p.Post=2]="Post",(h=a||(a={}))[h.Unknown=0]="Unknown",h[h.GPTOpenAPI=1]="GPTOpenAPI",h[h.MAAS=2]="MAAS"},36856:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Txt=1]="Txt",a[a.Image=2]="Image",a[a.Audio=3]="Audio",a[a.Video=4]="Video",a[a.Link=6]="Link",a[a.Music=7]="Music",a[a.Tako=8]="Tako",a[a.File=9]="File",a[a.Card=50]="Card",a[a.BotCard=51]="BotCard",a[a.APP=100]="APP",a[a.OutputSearchResult=200]="OutputSearchResult",(s=t||(t={}))[s.Prompt=1]="Prompt",s[s.PythonCode=2]="PythonCode",s[s.JSCode=3]="JSCode",s[s.BuildinFunc=4]="BuildinFunc",s[s.BuildinPrompt=5]="BuildinPrompt",s[s.CustomCallback=6]="CustomCallback",s[s.Manual=7]="Manual",s[s.CustomMetric=8]="CustomMetric",s[s.BuiltinSpecTest=9]="BuiltinSpecTest",s[s.FornaxPrompt=10]="FornaxPrompt",s[s.CozePrompt=11]="CozePrompt",(l=n||(n={}))[l.TEXT=0]="TEXT",l[l.MARKDOWN=1]="MARKDOWN",l[l.JSON=2]="JSON",(u=r||(r={}))[u.Answer=1]="Answer",u[u.Suggest=2]="Suggest",u[u.LLMOutput=3]="LLMOutput",u[u.ToolOutput=4]="ToolOutput",u[u.DataSet=5]="DataSet",u[u.QueryKeyword=6]="QueryKeyword",u[u.IntermediateOutput=7]="IntermediateOutput",(c=i||(i={}))[c.NotInit=0]="NotInit",c[c.Init=1]="Init",c[c.Processing=2]="Processing",c[c.Success=3]="Success",c[c.Fail=4]="Fail",(d=o||(o={}))[d.Name=4]="Name",d[d.Desc=5]="Desc"},42186:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.LLMPlanning=1]="LLMPlanning",r[r.ToolCall=2]="ToolCall",r[r.CozeVerbose=100]="CozeVerbose",(i=t||(t={}))[i.Prompt=1]="Prompt",i[i.PythonCode=2]="PythonCode",i[i.JSCode=3]="JSCode",i[i.Manual=7]="Manual",i[i.FornaxPrompt=10]="FornaxPrompt",i[i.CozePrompt=11]="CozePrompt",i[i.BuiltinEquals=1e4]="BuiltinEquals",i[i.BuiltinNotEquals=10001]="BuiltinNotEquals",i[i.BuiltinContains=10002]="BuiltinContains",i[i.BuiltinNotContains=10003]="BuiltinNotContains",i[i.BuiltinIContains=10004]="BuiltinIContains",i[i.BuiltinNotIContains=10005]="BuiltinNotIContains",i[i.BuiltinRegex=10006]="BuiltinRegex",i[i.BuiltinNotRegex=10007]="BuiltinNotRegex",i[i.BuiltinStartsWith=10008]="BuiltinStartsWith",i[i.BuiltinNotStartsWith=10009]="BuiltinNotStartsWith",i[i.BuiltinContainsAny=10010]="BuiltinContainsAny",i[i.BuiltinNotContainsAny=10011]="BuiltinNotContainsAny",i[i.BuiltinContainsAll=10012]="BuiltinContainsAll",i[i.BuiltinNotContainsAll=10013]="BuiltinNotContainsAll",i[i.BuiltinIContainsAny=10014]="BuiltinIContainsAny",i[i.BuiltinNotIContainsAny=10015]="BuiltinNotIContainsAny",i[i.BuiltinIContainsAll=10016]="BuiltinIContainsAll",i[i.BuiltinNotIContainsAll=10017]="BuiltinNotIContainsAll",i[i.BuiltinIsJSON=10018]="BuiltinIsJSON",i[i.BuiltinNotIsJSON=10019]="BuiltinNotIsJSON",i[i.BuiltinContainsJSON=10020]="BuiltinContainsJSON",i[i.BuiltinNotContainsJSON=10021]="BuiltinNotContainsJSON",i[i.BuiltinIsValidJSONObject=10022]="BuiltinIsValidJSONObject",i[i.BuiltinNotIsValidJSONObject=10023]="BuiltinNotIsValidJSONObject",i[i.BuiltinConcisenessCriteriaEval=20001]="BuiltinConcisenessCriteriaEval",i[i.BuiltinRelevanceCriteriaEval=20002]="BuiltinRelevanceCriteriaEval",i[i.BuiltinHarmfulnessCriteriaEval=20003]="BuiltinHarmfulnessCriteriaEval",i[i.BuiltinMaliciousnessCriteriaEval=20004]="BuiltinMaliciousnessCriteriaEval",i[i.BuiltinHelpfulnessCriteriaEval=20005]="BuiltinHelpfulnessCriteriaEval",i[i.BuiltinControversialityCriteriaEval=20006]="BuiltinControversialityCriteriaEval",i[i.BuiltinMisogynyCriteriaEval=20007]="BuiltinMisogynyCriteriaEval",i[i.BuiltinCriminalityCriteriaEval=20008]="BuiltinCriminalityCriteriaEval",i[i.BuiltinInsensitivityCriteriaEval=20009]="BuiltinInsensitivityCriteriaEval",i[i.BuiltinDepthCriteriaEval=20010]="BuiltinDepthCriteriaEval",i[i.BuiltinCreativityCriteriaEval=20011]="BuiltinCreativityCriteriaEval",i[i.BuiltinDetailCriteriaEval=20012]="BuiltinDetailCriteriaEval",i[i.BuiltinCorrectnessEval=20013]="BuiltinCorrectnessEval",i[i.BuiltinSpecTestLanguageConsistency=20014]="BuiltinSpecTestLanguageConsistency",i[i.BuiltinSpecTestResponseDenialCheck=20015]="BuiltinSpecTestResponseDenialCheck",i[i.BuiltinSpecTestContentAuthenticity=20016]="BuiltinSpecTestContentAuthenticity",i[i.BuiltinSpecTestContentAccuracy=20017]="BuiltinSpecTestContentAccuracy",i[i.BuiltinSpecTestNeedFulfillment=20018]="BuiltinSpecTestNeedFulfillment",i[i.BuiltinSpecTestResponseTimeliness=20019]="BuiltinSpecTestResponseTimeliness",i[i.BuiltinSpecTestResponseRedundancy=20020]="BuiltinSpecTestResponseRedundancy",i[i.BuiltinSpecTestCharacterConsistency=20021]="BuiltinSpecTestCharacterConsistency",i[i.BuiltinSpecTestAnthropomorphismLevel=20022]="BuiltinSpecTestAnthropomorphismLevel",i[i.BuiltinSpecTestIOSematicSimilarity=20023]="BuiltinSpecTestIOSematicSimilarity",i[i.BuiltinSpecTestAOSematicSimilarity=20024]="BuiltinSpecTestAOSematicSimilarity",i[i.BuiltinSpecTestImageGenerationConsistency=20025]="BuiltinSpecTestImageGenerationConsistency",i[i.BuiltinSpecTestImageAesthetics=20026]="BuiltinSpecTestImageAesthetics",i[i.BuiltinSpecTestResponseCompleteness=20027]="BuiltinSpecTestResponseCompleteness",i[i.BuiltinSpecTestTextToImageGenerationCompleteness=20028]="BuiltinSpecTestTextToImageGenerationCompleteness",i[i.BuiltinSpecTestCodeGenerationScoring=20029]="BuiltinSpecTestCodeGenerationScoring",i[i.BuiltinSpecTestPluginCallingCorrectness=20030]="BuiltinSpecTestPluginCallingCorrectness",i[i.BuiltinSpecTestPluginParametersCorrectness=20031]="BuiltinSpecTestPluginParametersCorrectness",i[i.BuiltinSpecTestWorkflowCallingCorrectness=20032]="BuiltinSpecTestWorkflowCallingCorrectness",i[i.BuiltinSpecTestWorkflowParametersCorrectness=20033]="BuiltinSpecTestWorkflowParametersCorrectness",i[i.BuiltinSpecTestTriggerCallingCorrectness=20034]="BuiltinSpecTestTriggerCallingCorrectness",i[i.BuiltinSpecTestTriggerParametersCorrectness=20035]="BuiltinSpecTestTriggerParametersCorrectness",i[i.BuiltinSpecTestChoreographyAccuracy=20036]="BuiltinSpecTestChoreographyAccuracy",i[i.BuiltinFornaxPromptLeakDetection=20200]="BuiltinFornaxPromptLeakDetection",i[i.BuiltinDefaultMetric=30001]="BuiltinDefaultMetric",i[i.BuiltinCustomMetric=30002]="BuiltinCustomMetric",(o=n||(n={}))[o.Success=1]="Success",o[o.Fail=2]="Fail"},41746:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Unknown=0]="Unknown",l[l.Score=1]="Score",l[l.Value=2]="Value",l[l.Select=3]="Select",l[l.PlainText=4]="PlainText",(u=t||(t={}))[u.Created=10]="Created",u[u.Finished=50]="Finished",(c=n||(n={}))[c.NoNeed=0]="NoNeed",c[c.Need=1]="Need",(d=r||(r={}))[d.EvaluationTaskRow=1]="EvaluationTaskRow",(p=i||(i={}))[p.Unknown=-1]="Unknown",p[p.Queueing=0]="Queueing",p[p.Processing=1]="Processing",p[p.Success=2]="Success",p[p.Fail=3]="Fail",p[p.Evaluating=4]="Evaluating",p[p.Terminal=5]="Terminal",(h=o||(o={}))[h.Queueing=0]="Queueing",h[h.Success=1]="Success",h[h.Fail=2]="Fail",(f=a||(a={}))[f.EvaluationContrastReport=1]="EvaluationContrastReport",f[f.EvaluationTask=2]="EvaluationTask",(g=s||(s={}))[g.Unknown=0]="Unknown",g[g.Evaluation=1]="Evaluation",g[g.ManuaAnnotation=2]="ManuaAnnotation"},39e3:function(){"use strict";var e,t;(t=e||(e={}))[t.DraftBot=1]="DraftBot",t[t.ProductBot=2]="ProductBot"},27482:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo;(E=e||(e={}))[E.Unknown=0]="Unknown",E[E.EvaluatorTag=1]="EvaluatorTag",(C=t||(t={}))[C.Average=1]="Average",C[C.Sum=2]="Sum",C[C.Max=3]="Max",C[C.Min=4]="Min",C[C.PassingRate=5]="PassingRate",C[C.ExcellentRate=6]="ExcellentRate",C[C.Count=7]="Count",C[C.Pct50=8]="Pct50",C[C.Pct90=9]="Pct90",C[C.Pct99=10]="Pct99",(O=n||(n={}))[O.All=1]="All",O[O.Unsuccessful=2]="Unsuccessful",(D=r||(r={}))[D.Unknown=0]="Unknown",D[D.Running=1]="Running",D[D.Success=2]="Success",D[D.Failed=3]="Failed",(L=i||(i={}))[L.ChainTaskTemplate_Unknow=0]="ChainTaskTemplate_Unknow",L[L.ChainTaskTemplate_BotTemplate=1]="ChainTaskTemplate_BotTemplate",(B=o||(o={}))[B.Unknown=0]="Unknown",B[B.KPI=1]="KPI",B[B.Pie=2]="Pie",B[B.Bar=3]="Bar",B[B.StackedBar=4]="StackedBar",B[B.Radar=5]="Radar",B[B.Line=6]="Line",(N=a||(a={}))[N.Double=0]="Double",N[N.JSON=1]="JSON",(R=s||(s={}))[R.Manual=0]="Manual",R[R.Auto=1]="Auto",R[R.Reset=2]="Reset",(j=l||(l={}))[j.Row=0]="Row",j[j.Case=1]="Case",(U=u||(u={}))[U.StopOnAnyError=1]="StopOnAnyError",U[U.ContinueOnAnyError=2]="ContinueOnAnyError",U[U.OnlyContinueOnPartialError=3]="OnlyContinueOnPartialError",(z=c||(c={}))[z.Unknown=0]="Unknown",z[z.Score=1]="Score",z[z.Value=2]="Value",z[z.OptionValue=3]="OptionValue",z[z.Plaintext=4]="Plaintext",z[z.DataSetTag=5]="DataSetTag",z[z.RuleID=6]="RuleID",(F=d||(d={}))[F.Unknown=0]="Unknown",F[F.And=1]="And",F[F.Or=2]="Or",(G=p||(p={}))[G.Unknown=0]="Unknown",G[G.Equal=1]="Equal",G[G.NotEqual=2]="NotEqual",G[G.Contains=3]="Contains",G[G.NotContains=4]="NotContains",G[G.Greater=5]="Greater",G[G.GreaterOrEqual=6]="GreaterOrEqual",G[G.Less=7]="Less",G[G.LessOrEqual=8]="LessOrEqual",G[G.IsNull=9]="IsNull",G[G.IsNotNull=10]="IsNotNull",(q=h||(h={}))[q.Unknown=0]="Unknown",q[q.Invoke=1]="Invoke",q[q.Stream=2]="Stream",(W=f||(f={}))[W.Unknown=0]="Unknown",W[W.ChatBot=1]="ChatBot",W[W.OpenAPI=2]="OpenAPI",(Z=g||(g={}))[Z.Unknown=0]="Unknown",Z[Z.DataSetTag=1]="DataSetTag",Z[Z.OptionResult=2]="OptionResult",(H=m||(m={}))[H.NoNeed=0]="NoNeed",H[H.Need=1]="Need",(V=_||(_={}))[V.Text=0]="Text",V[V.Markdown=1]="Markdown",V[V.JSON=2]="JSON",(Q=v||(v={}))[Q.Custom=0]="Custom",Q[Q.Creative=1]="Creative",Q[Q.Balance=2]="Balance",Q[Q.Precise=3]="Precise",(Y=b||(b={}))[Y.PromptTemplateFormat_FString=0]="PromptTemplateFormat_FString",Y[Y.PromptTemplateFormat_Jinja2=1]="PromptTemplateFormat_Jinja2",($=y||(y={}))[$.All=1]="All",$[$.Unsuccessful=2]="Unsuccessful",$[$.SpecifyRowGroup=3]="SpecifyRowGroup",(K=w||(w={}))[K.Unknown=-1]="Unknown",K[K.Queueing=0]="Queueing",K[K.Processing=1]="Processing",K[K.Success=2]="Success",K[K.Fail=3]="Fail",K[K.Evaluating=4]="Evaluating",K[K.Terminal=5]="Terminal",(X=S||(S={}))[X.Queueing=0]="Queueing",X[X.Success=1]="Success",X[X.Fail=2]="Fail",(J=A||(A={}))[J.CozeBot=1]="CozeBot",J[J.Prompt=2]="Prompt",J[J.User=3]="User",J[J.Agent=4]="Agent",(ee=T||(T={}))[ee.CozeBot=0]="CozeBot",ee[ee.Prompt=1]="Prompt",ee[ee.ChainTask=2]="ChainTask",ee[ee.FornaxApp=3]="FornaxApp",ee[ee.FornaxAgent=4]="FornaxAgent",ee[ee.PlaygroundCozeBot=5]="PlaygroundCozeBot",ee[ee.PlaygroundCozeBotV2=6]="PlaygroundCozeBotV2",ee[ee.EvalResultDatasetCollection=7]="EvalResultDatasetCollection",ee[ee.PlaygroundCozeModel=8]="PlaygroundCozeModel",ee[ee.Custom=100]="Custom",(et=x||(x={}))[et.NotGenerated=0]="NotGenerated",et[et.Updating=1]="Updating",et[et.Generated=2]="Generated",et[et.NeedUpdate=3]="NeedUpdate",(en=k||(k={}))[en.NoNeed=0]="NoNeed",en[en.Need=1]="Need",en[en.Completed=2]="Completed",(er=M||(M={}))[er.Unknown=0]="Unknown",er[er.SubmitExec=1]="SubmitExec",er[er.OnlineSyncExec=2]="OnlineSyncExec",(ei=P||(P={}))[ei.Processing=1]="Processing",ei[ei.Creating=4]="Creating",ei[ei.Appending=10]="Appending",ei[ei.NeedManualEval=20]="NeedManualEval",ei[ei.Termination=21]="Termination",ei[ei.SystemTermination=22]="SystemTermination",ei[ei.Completed=30]="Completed",ei[ei.Error=31]="Error",ei[ei.PartialFailure=41]="PartialFailure",ei[ei.AwaitExecution=42]="AwaitExecution",ei[ei.AwaitRetry=43]="AwaitRetry",(eo=I||(I={}))[eo.Default=0]="Default",eo[eo.ReadOnly=5]="ReadOnly"},37633:function(){"use strict";var e,t;(t=e||(e={}))[t.Undefined=0]="Undefined",t[t.Upsert=1]="Upsert",t[t.Remove=2]="Remove",t[t.Read=3]="Read"},55922:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Undefined=0]="Undefined",a[a.PlainText=1]="PlainText",a[a.Markdown=2]="Markdown",(s=t||(t={}))[s.Undefined=0]="Undefined",s[s.Common=1]="Common",(l=n||(n={}))[l.Contains=0]="Contains",l[l.Equal=1]="Equal",(u=r||(r={}))[u.String=0]="String",u[u.Enum=1]="Enum",u[u.Tree=2]="Tree",(c=i||(i={}))[c.Undefined=0]="Undefined",c[c.Row=1]="Row",c[c.RowGroup=2]="RowGroup",(d=o||(o={}))[d.Undefined=0]="Undefined",d[d.Creating=1]="Creating",d[d.Processing=2]="Processing",d[d.Termination=3]="Termination",d[d.Completed=4]="Completed",d[d.Error=5]="Error"},36673:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("29642"),n("26008");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}UpdateFileBoxUsageStatus(e,t){let n=this.genBaseURL("/api/filebox/update_filebox_usage_status"),r={req_common_params:e.req_common_params,switch_on:e.switch_on,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchDeleteFile(e,t){let n=this.genBaseURL("/api/filebox/batch_delete_file"),r={req_common_params:e.req_common_params,ids:e.ids,uris:e.uris,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateAlbum(e,t){let n=this.genBaseURL("/api/filebox/create_album"),r={req_common_params:e.req_common_params,album_name:e.album_name,album_desc:e.album_desc,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}AddPhotosToAlbum(e,t){let n=this.genBaseURL("/api/filebox/add_photos_to_album"),r={req_common_params:e.req_common_params,md_items:e.md_items,album_name:e.album_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateAlbum(e,t){let n=this.genBaseURL("/api/filebox/update_album"),r={req_common_params:e.req_common_params,album_id:e.album_id,album_name:e.album_name,new_album_name:e.new_album_name,new_album_desc:e.new_album_desc,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RecallFileMetaInfos(e,t){let n=this.genBaseURL("/api/filebox/recall_files"),r={req_common_params:e.req_common_params,need_rag:e.need_rag,md_type:e.md_type,begin_time:e.begin_time,end_time:e.end_time,file_uris:e.file_uris,format:e.format,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchUpdateFileMeta(e,t){let n=this.genBaseURL("/api/filebox/batch_update_file_meta"),r={req_common_params:e.req_common_params,update_items:e.update_items,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ShowAlbum(e,t){let n=this.genBaseURL("/api/filebox/show_album"),r={req_common_params:e.req_common_params,album_id:e.album_id,album_name:e.album_name,start:e.start,limit:e.limit,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetFileMetaInfo(e,t){let n=this.genBaseURL("/api/filebox/get_file_meta_info"),r={req_common_params:e.req_common_params,file_id:e.file_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DelAlbum(e,t){let n=this.genBaseURL("/api/filebox/del_album"),r={req_common_params:e.req_common_params,album_id:e.album_id,album_name:e.album_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SummaryFile(e,t){let n=this.genBaseURL("/api/filebox/summary_file"),r={req_common_params:e.req_common_params,file_uri:e.file_uri,file_name:e.file_name,format:e.format,upload_date:e.upload_date,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDisplayAPIs(e,t){let n=this.genBaseURL("/api/filebox/display_apis"),r={Base:(e||{}).Base};return this.request({url:n,method:"GET",params:r},t)}ShowAlbumList(e,t){let n=this.genBaseURL("/api/filebox/show_album_list"),r={req_common_params:e.req_common_params,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMDCardDetailPageInfo(e,t){let n=this.genBaseURL("/api/filebox/card_detail_info"),r={obj_type:e.obj_type,dpid:e.dpid,bid:e.bid,cid:e.cid,expires:e.expires,signature:e.signature,page_num:e.page_num,page_size:e.page_size,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}BatchCreateFiles(e,t){let n=this.genBaseURL("/api/filebox/files/batch_create"),r={req_common_base_info:e.req_common_base_info,source_urls:e.source_urls,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublicUpdateFile(e,t){let n=this.genBaseURL("/api/public/filebox/file/update"),r={UserID:e.UserID,bot_id:e.bot_id,connector_id:e.connector_id,detail_page_id:e.detail_page_id,update_items:e.update_items,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublicBatchDeleteFiles(e,t){let n=this.genBaseURL("/api/public/filebox/file/batch_delete"),r={UserID:e.UserID,bot_id:e.bot_id,connector_id:e.connector_id,detail_page_id:e.detail_page_id,uris:e.uris,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublicDeleteAlbum(e,t){let n=this.genBaseURL("/api/public/filebox/album/delete"),r={UserID:e.UserID,bot_id:e.bot_id,connector_id:e.connector_id,detail_page_id:e.detail_page_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublicBatchRemovePhotos(e,t){let n=this.genBaseURL("/api/public/filebox/album/batch_remove_photo"),r={UserID:e.UserID,bot_id:e.bot_id,connector_id:e.connector_id,detail_page_id:e.detail_page_id,ids:e.ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PageIsWritable(e,t){let n=this.genBaseURL("/api/public/filebox/page/is_writable"),r={dpid:e.dpid,UserID:e.UserID,cid:e.cid,bid:e.bid,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}SearchFile(e,t){let n=this.genBaseURL("/api/filebox/search_file"),r={req_common_params:e.req_common_params,file_uri_list:e.file_uri_list,file_name_list:e.file_name_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}FileList(e,t){let n=this.genBaseURL("/api/public/filebox/v1/file_list"),r={file_type:e.file_type,bid:e.bid,file_name:e.file_name,begin_time:e.begin_time,end_time:e.end_time,page_num:e.page_num,page_size:e.page_size,connector_id:e.connector_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UploadFiles(e,t){let n=this.genBaseURL("/api/public/filebox/v1/upload_files"),r={bid:e.bid,cid:e.cid,biz_type:e.biz_type,source_files:e.source_files,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}StreamSummaryForPlugin(e,t){let n=this.genBaseURL("/api/filebox/stream_summary_file"),r={req_common_params:e.req_common_params,biz_id:e.biz_id,scene_id:e.scene_id,url:e.url,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("FileboxService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},29642:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Created=1]="Created",o[o.Deleted=2]="Deleted",(a=t||(t={}))[a.Default=0]="Default",a[a.Image=1]="Image",a[a.Audio=2]="Audio",a[a.Video=3]="Video",a[a.Document=4]="Document",a[a.Font=5]="Font",a[a.Archive=6]="Archive",a[a.Other=255]="Other",(s=n||(n={}))[s.Image=1]="Image",s[s.Audio=2]="Audio",s[s.Video=3]="Video",s[s.Document=4]="Document",s[s.Album=5]="Album",s[s.Other=255]="Other",(l=r||(r={}))[l.User=0]="User",l[l.Plugin=1]="Plugin",l[l.Workflow=2]="Workflow",(u=i||(i={}))[u.Once=0]="Once",u[u.Always=1]="Always"},26008:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.LinkReader=1]="LinkReader",o[o.RawText=2]="RawText",(a=t||(t={}))[a.RawText=0]="RawText",(s=n||(n={}))[s.IncludeContext=0]="IncludeContext",s[s.IgnoreContext=1]="IgnoreContext",(l=r||(r={}))[l.NoneStreamMode=0]="NoneStreamMode",l[l.StreamMode=1]="StreamMode",(u=i||(i={}))[u.ToModel=0]="ToModel",u[u.ToUser=1]="ToUser"},5206:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("25942"),n("95507"),n("93406"),n("45381"),n("79541"),n("30633"),n("38168");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}BotOpCreateCozeTokenTask(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/opt_fulfill/coze_token_task/create"),i={to_uid_list:n.to_uid_list,single_user_token:n.single_user_token,reason:n.reason};return this.request({url:r,method:"POST",data:i},t)}BotOpListCozeTokenTask(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/opt_fulfill/coze_token_task/list"),i={page:n.page,count:n.count,status_in:n.status_in,created_at_begin:n.created_at_begin,uid:n.uid,disable_env:n.disable_env};return this.request({url:r,method:"POST",data:i},t)}BotOpListCozeTokenTaskFulfillment(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/coze_token_task/list_fulfillment"),r={task_id:(e||{}).task_id};return this.request({url:n,method:"POST",data:r},t)}BotOpCancelCozeTokenTask(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/coze_token_task/cancel"),r={id:(e||{}).id};return this.request({url:n,method:"POST",data:r},t)}GetAutoChargeConfig(e,t){let n=this.genBaseURL("/api/marketplace/fulfill/auto_charge/get_config"),r={UserID:(e||{}).UserID};return this.request({url:n,method:"GET",params:r},t)}CancelAutoCharge(e,t){let n=this.genBaseURL("/api/marketplace/fulfill/auto_charge/cancel"),r={UserID:(e||{}).UserID};return this.request({url:n,method:"POST",data:r},t)}SignAutoCharge(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/fulfill/auto_charge/sign"),i={UserID:n.UserID,threshold_amount:n.threshold_amount,charge_amount:n.charge_amount,max_charge_amount_per_day:n.max_charge_amount_per_day};return this.request({url:r,method:"POST",data:i},t)}AdminListDistRewardTaskFulfillment(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/dist_reward_task/list_fulfillment"),r={task_id:e.task_id};return this.request({url:n,method:"POST",data:r},t)}AdminCreateDistRewardTask(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/dist_reward_task/create"),r={to_uid_list:e.to_uid_list,dist_reward_type:e.dist_reward_type,reward_detail:e.reward_detail,reason:e.reason};return this.request({url:n,method:"POST",data:r},t)}AdminListDistRewardTask(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/dist_reward_task/list"),r={page:e.page,count:e.count,status_in:e.status_in,created_at_begin:e.created_at_begin,uid:e.uid,disable_env:e.disable_env,dist_reward_type:e.dist_reward_type};return this.request({url:n,method:"POST",data:r},t)}AdminCancelDistRewardTask(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/dist_reward_task/cancel"),r={id:e.id};return this.request({url:n,method:"POST",data:r},t)}AdminListOrder(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/order/list"),r={page:e.page,count:e.count,user_id:e.user_id,order_id:e.order_id};return this.request({url:n,method:"POST",data:r},t)}AdminRefundOrder(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/order/refund"),r={order_id:e.order_id,refund_type:e.refund_type,reason:e.reason,is_skip_check:e.is_skip_check};return this.request({url:n,method:"POST",data:r},t)}AdminGetRefundOrderByOrder(e,t){let n=this.genBaseURL("/api/marketplace/opt_fulfill/order/refund_order"),r={order_id:e.order_id};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("FulfillService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},25942:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Init=0]="Init",r[r.Success=1]="Success",r[r.Failed=2]="Failed",r[r.Closed=3]="Closed",r[r.Refunding=4]="Refunding",r[r.Refunded=5]="Refunded",r[r.RefundFaield=6]="RefundFaield",r[r.ChargeBack=7]="ChargeBack",r[r.ChargeBackReverse=8]="ChargeBackReverse",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.TokenCharge=1]="TokenCharge",i[i.TokenAutoCharge=2]="TokenAutoCharge",i[i.SubMessageCredit=11]="SubMessageCredit",i[i.MessageCredit=12]="MessageCredit",(o=n||(n={}))[o.Unknown=0]="Unknown",o[o.Full=1]="Full",o[o.ActualUse=2]="ActualUse"},95507:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Default=0]="Default",i[i.Pending=1]="Pending",i[i.Approved=2]="Approved",i[i.Rejected=3]="Rejected",i[i.Abandoned=4]="Abandoned",(o=t||(t={}))[o.ProductDraft=10]="ProductDraft",o[o.Conversation=20]="Conversation",(a=n||(n={}))[a.Invisible=10]="Invisible",a[a.Self=15]="Self",a[a.AllWithoutRecommend=20]="AllWithoutRecommend",a[a.All=25]="All",(s=r||(r={}))[s.Bot=1]="Bot",s[s.Plugin=2]="Plugin",s[s.CozeToken=50]="CozeToken",s[s.Common=99]="Common"},93406:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.InReview=1]="InReview",t[t.Rejected=2]="Rejected",t[t.Approved=3]="Approved",t[t.Canceled=4]="Canceled"},45381:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.InReview=1]="InReview",n[n.Rejected=2]="Rejected",n[n.Approved=3]="Approved",n[n.Canceled=4]="Canceled",(r=t||(t={}))[r.Unknonw=0]="Unknonw",r[r.MessageCredits=1]="MessageCredits",r[r.CozeToken=2]="CozeToken",r[r.Refund=3]="Refund"},79541:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=0]="Unknown",r[r.Init=1]="Init",r[r.Running=2]="Running",r[r.ToRetry=3]="ToRetry",r[r.Succeed=4]="Succeed",r[r.Failed=5]="Failed",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.AddEntityAmount=1]="AddEntityAmount",i[i.AutoChargePayment=2]="AutoChargePayment",i[i.AutoChargeCallback=3]="AutoChargeCallback",i[i.AddMessageCredits=4]="AddMessageCredits",(o=n||(n={}))[o.Unknown=0]="Unknown",o[o.BotOperationPlatform=1]="BotOperationPlatform",o[o.Trade=2]="Trade",o[o.Inner=3]="Inner"},30633:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.CozeUser=1]="CozeUser"},38168:function(){"use strict";var e,t;(t=e||(e={}))[t.CommonNoPermission=788690101]="CommonNoPermission",t[t.CommonInvalidParam=788690202]="CommonInvalidParam",t[t.InvalidParamsError=788694e3]="InvalidParamsError"},36455:function(e,t,n){"use strict";var r,i;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return a}}),n("83015"),(i=r||(r={}))[i.CANARY=1]="CANARY",i[i.ONLINE=2]="ONLINE";class a{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}getDeployList(e,t){let n=e||{},r=this.genBaseURL("/api/hub/ocean/deploy-list"),i={projectId:n.projectId,page:n.page,pageSize:n.pageSize};return this.request({url:r,method:"GET",params:i},t)}checkHealth(e,t){let n=this.genBaseURL("/api/hub/check-health");return this.request({url:n,method:"GET"},t)}constructor(e){o(this,"request",()=>{throw Error("HubApiService.request is undefined")}),o(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},46139:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("53794"),n("14853");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}ListUserTask(e,t){let n=this.genBaseURL("/api/marketplace/incentive/user_task/list"),r={page_size:e.page_size,page_token:e.page_token};return this.request({url:n,method:"GET",params:r},t)}ListTask(e,t){let n=this.genBaseURL("/api/marketplace/admin/incentive/task/list"),r={page:e.page,size:e.size,task_id:e.task_id,task_status:e.task_status,task_name:e.task_name};return this.request({url:n,method:"GET",params:r},t)}UpdateTask(e,t){let n=this.genBaseURL("/api/marketplace/admin/incentive/task/update"),r={task_id:e.task_id,bill_desc_starling_key:e.bill_desc_starling_key,user_task_desc_starling_key:e.user_task_desc_starling_key,button:e.button,reward:e.reward,times_limit:e.times_limit,limit_restriction:e.limit_restriction,peroid_type:e.peroid_type,peroid_value:e.peroid_value,hide:e.hide,drop_when_finish:e.drop_when_finish,task_desc:e.task_desc,event_trigger_key:e.event_trigger_key,user_control:e.user_control,black_list:e.black_list,white_list:e.white_list};return this.request({url:n,method:"POST",data:r},t)}UpdateTaskStatus(e,t){let n=this.genBaseURL("/api/marketplace/admin/incentive/task/status/update"),r={task_id:e.task_id,task_status:e.task_status};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("IncentiveService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},53794:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.Enable=1]="Enable",s[s.Disable=2]="Disable",(l=t||(t={}))[l.Normal=1]="Normal",l[l.Continue=2]="Continue",(u=n||(n={}))[u.None=1]="None",u[u.Day=2]="Day",u[u.Week=3]="Week",u[u.Month=4]="Month",(c=r||(r={}))[c.Auto=1]="Auto",c[c.Manual=2]="Manual",(d=i||(i={}))[d.Token=1]="Token",d[d.Coin=2]="Coin",(p=o||(o={}))[p.Enable=1]="Enable",p[p.Disable=2]="Disable",(h=a||(a={}))[h.Disable=0]="Disable",h[h.BlackList=1]="BlackList",h[h.WhiteList=2]="WhiteList"},14853:function(){"use strict";var e,t;(t=e||(e={}))[t.ADD=1]="ADD",t[t.MODIFY=2]="MODIFY",t[t.DELETE=3]="DELETE"},57924:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("70572"),n("78222"),n("3503"),n("28043"),n("51884"),n("84802"),n("83785"),n("81834"),n("98812"),n("24668"),n("45834"),n("33178"),n("44112"),n("52887"),n("21787"),n("17046"),n("22666"),n("37684"),n("88794"),n("57463"),n("49098"),n("39475"),n("31629"),n("64035"),n("9108");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}Ping(e,t){let n=this.genBaseURL("/api/intelligence_api/ping"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}DraftProjectCreate(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/draft_project/create"),i={space_id:n.space_id,name:n.name,description:n.description,icon_uri:n.icon_uri,monetization_conf:n.monetization_conf,create_from:n.create_from};return this.request({url:r,method:"POST",data:i},t)}GetDraftIntelligenceList(e,t){let n=this.genBaseURL("/api/intelligence_api/search/get_draft_intelligence_list"),r={space_id:e.space_id,name:e.name,has_published:e.has_published,status:e.status,types:e.types,search_scope:e.search_scope,is_fav:e.is_fav,recently_open:e.recently_open,option:e.option,order_by:e.order_by,cursor_id:e.cursor_id,size:e.size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DraftProjectUpdate(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/update"),r={project_id:e.project_id,name:e.name,description:e.description,icon_uri:e.icon_uri};return this.request({url:n,method:"POST",data:r},t)}GetDraftIntelligenceInfo(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/search/get_draft_intelligence_info"),i={intelligence_id:n.intelligence_id,intelligence_type:n.intelligence_type,version:n.version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetUserRecentlyEditIntelligence(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/search/get_recently_edit_intelligence"),i={size:n.size,types:n.types,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DraftProjectCopy(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/draft_project/copy"),i={project_id:n.project_id,to_space_id:n.to_space_id,name:n.name,description:n.description,icon_uri:n.icon_uri};return this.request({url:r,method:"POST",data:i},t)}ProcessEntityTask(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/entity_task/process"),i={entity_id:n.entity_id,action:n.action};return this.request({url:r,method:"POST",data:i},t)}DraftProjectDelete(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/delete"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}EntityTaskSearch(e,t){let n=this.genBaseURL("/api/intelligence_api/entity_task/search"),r={task_list:(e||{}).task_list};return this.request({url:n,method:"POST",data:r},t)}ListIntelligenceCollaboration(e,t){let n=this.genBaseURL("/api/intelligence_api/collaboration/list"),r={intelligence_id:e.intelligence_id,intelligence_type:e.intelligence_type};return this.request({url:n,method:"POST",data:r},t)}OceanProjectCreate(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/ocean_project/create"),i={space_id:n.space_id,name:n.name,description:n.description,icon_uri:n.icon_uri};return this.request({url:r,method:"POST",data:i},t)}OceanProjectUpdate(e,t){let n=this.genBaseURL("/api/intelligence_api/ocean_project/update"),r={project_id:e.project_id,name:e.name,description:e.description,icon_uri:e.icon_uri};return this.request({url:n,method:"POST",data:r},t)}GetOceanProjectList(e,t){let n=this.genBaseURL("/api/intelligence_api/search/get_ocean_project_list"),r={space_id:e.space_id,status:e.status,search_scope:e.search_scope,order_by:e.order_by,page_index:e.page_index,page_size:e.page_size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublishProject(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/publish_project"),r={project_id:e.project_id,version_number:e.version_number,description:e.description,connectors:e.connectors,connector_publish_config:e.connector_publish_config};return this.request({url:n,method:"POST",data:r},t)}GetPublishRecordDetail(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/publish_record_detail"),r={project_id:e.project_id,publish_record_id:e.publish_record_id};return this.request({url:n,method:"POST",data:r},t)}GetPublishRecordList(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/publish_record_list"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}PublishConnectorList(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/connector_list"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}CheckProjectVersionNumber(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/check_version_number"),r={project_id:e.project_id,version_number:e.version_number};return this.request({url:n,method:"POST",data:r},t)}DraftProjectInnerTaskList(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/inner_task_list"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}GetOceanProjectInfo(e,t){let n=this.genBaseURL("/api/intelligence_api/search/get_ocean_project_info"),r={project_id:e.project_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetModelListFilterParams(e,t){let n=this.genBaseURL("/api/intelligence_api/model/get_model_list_filter_params");return this.request({url:n,method:"POST"},t)}StartEstimatedTrainingCost(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/start_estimated_training_cost"),i={base_model_id:n.base_model_id,space_id:n.space_id,training_dataset_id:n.training_dataset_id,epochs:n.epochs};return this.request({url:r,method:"POST",data:i},t)}GetModelList(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_model_list"),i={space_id:n.space_id,name:n.name,tag_filters:n.tag_filters,context_len_min:n.context_len_min,context_len_max:n.context_len_max,model_cost_min:n.model_cost_min,model_cost_max:n.model_cost_max,model_vendor:n.model_vendor,statusList:n.statusList,order_by:n.order_by,cursor_id:n.cursor_id,limit:n.limit};return this.request({url:r,method:"POST",data:i},t)}GetFinetuneTemplateDataset(e,t){let n=this.genBaseURL("/api/intelligence_api/model/get_finetune_template_dataset");return this.request({url:n,method:"POST"},t)}GetModelUsageData(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_model_usage_data"),i={space_id:n.space_id,model_id:n.model_id};return this.request({url:r,method:"POST",data:i},t)}GetEstimatedTrainingCost(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_estimated_training_cost"),i={task_id:n.task_id,space_id:n.space_id,base_model_id:n.base_model_id,epochs:n.epochs};return this.request({url:r,method:"POST",data:i},t)}CreateFinetuneTask(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/create_finetune_task"),i={space_id:n.space_id,base_model_id:n.base_model_id,training_dataset_id:n.training_dataset_id,validating_dataset:n.validating_dataset,finetune_configuration:n.finetune_configuration,description:n.description,name:n.name};return this.request({url:r,method:"POST",data:i},t)}UploadFinetuneDataset(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/upload_finetune_dataset"),i={space_id:n.space_id,fileType:n.fileType,fileName:n.fileName,data:n.data,testing_data:n.testing_data};return this.request({url:r,method:"POST",data:i},t)}GetModelInfo(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_model_info"),i={space_id:n.space_id,model_id:n.model_id,is_finetuning:n.is_finetuning};return this.request({url:r,method:"POST",data:i},t)}GetFinetuneTrainingInfo(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_finetune_training_info"),i={space_id:n.space_id,model_id:n.model_id};return this.request({url:r,method:"POST",data:i},t)}GetModelPerformanceData(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/get_model_performance_data"),i={space_id:n.space_id,model_id:n.model_id};return this.request({url:r,method:"POST",data:i},t)}OperateFinetuneTask(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/operate_finetune_task"),i={id:n.id,action:n.action};return this.request({url:r,method:"POST",data:i},t)}DeleteFinetuneModel(e,t){let n=e||{},r=this.genBaseURL("/api/intelligence_api/model/delete_finetune_model"),i={model_id:n.model_id,space_id:n.space_id};return this.request({url:r,method:"POST",data:i},t)}GetUserCompleteProfileRecord(e,t){let n=this.genBaseURL("/api/intelligence_api/user_profile/get_user_complete_profile_record");return this.request({url:n,method:"POST"},t)}DownloadUserProfile(e,t){let n=this.genBaseURL("/api/intelligence_api/user_profile/download_user_profile"),r={Cookie:(e||{}).Cookie};return this.request({url:n,method:"POST",headers:r},t)}GetProjectPublishedConnector(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/get_published_connector"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}PublishIntelligenceUnList(e,t){let n=this.genBaseURL("/api/intelligence_api/publish/publish_intelligence_unlist"),r={intelligence_id:e.intelligence_id,connector_ids:e.connector_ids,intelligence_type:e.intelligence_type};return this.request({url:n,method:"POST",data:r},t)}PublishIntelligenceList(e,t){let n=this.genBaseURL("/api/intelligence_api/search/get_publish_intelligence_list"),r={intelligence_type:e.intelligence_type,space_id:e.space_id,owner_id:e.owner_id,name:e.name,order_last_publish_time:e.order_last_publish_time,order_total_token:e.order_total_token,size:e.size,cursor_id:e.cursor_id,intelligence_ids:e.intelligence_ids};return this.request({url:n,method:"POST",data:r},t)}UpdateDiffModeInfo(e,t){let n=this.genBaseURL("/api/intelligence_api/diff_mode/update_diff_mode_info"),r={target_type:e.target_type,target_id:e.target_id,diff_mode_info:e.diff_mode_info,exit_and_save:e.exit_and_save,exit_and_discard:e.exit_and_discard,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDiffModeInfo(e,t){let n=this.genBaseURL("/api/intelligence_api/diff_mode/get_diff_mode_info"),r={target_type:e.target_type,target_id:e.target_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetProjectPublishSummary(e,t){let n=this.genBaseURL("/api/intelligence_api/search/get_project_publish_summary"),r={project_id:e.project_id};return this.request({url:n,method:"POST",data:r},t)}ArchiveProject(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/archive"),r={project_id:e.project_id,description:e.description,scene:e.scene};return this.request({url:n,method:"POST",data:r},t)}GetIntelligenceTaskInfo(e,t){let n=this.genBaseURL("/api/intelligence_api/entity_task/task_info"),r={task_id:e.task_id};return this.request({url:n,method:"GET",params:r},t)}ProjectHistoryList(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/history_list"),r={project_id:e.project_id,history_type:e.history_type,cursor:e.cursor,size:e.size};return this.request({url:n,method:"POST",data:r},t)}RollbackProject(e,t){let n=this.genBaseURL("/api/intelligence_api/draft_project/rollback"),r={project_id:e.project_id,rollback_version:e.rollback_version,scene:e.scene};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("IntelligenceApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},70572:function(){"use strict";var e,t;(t=e||(e={}))[t.SingleMode=0]="SingleMode",t[t.MultiMode=1]="MultiMode",t[t.WorkflowMode=2]="WorkflowMode"},78222:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew;(j=e||(e={}))[j.Start_Agent=0]="Start_Agent",j[j.LLM_Agent=1]="LLM_Agent",j[j.Task_Agent=2]="Task_Agent",j[j.Global_Agent=3]="Global_Agent",j[j.Bot_Agent=4]="Bot_Agent",(U=t||(t={}))[U.OldVersion=0]="OldVersion",U[U.MiddleVersion=1]="MiddleVersion",U[U.NewVersion=2]="NewVersion",U[U.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(z=n||(n={}))[z.Default=1]="Default",z[z.Customize=2]="Customize",(F=r||(r={}))[F.Direct=1]="Direct",F[F.WebView=2]="WebView",F[F.SendMessage=3]="SendMessage",(G=i||(i={}))[G.Current=1]="Current",G[G.Previous=2]="Previous",G[G.Start=3]="Start",G[G.MostSuitable=4]="MostSuitable",(q=o||(o={}))[q.SingleMode=0]="SingleMode",q[q.MultiMode=1]="MultiMode",q[q.WorkflowMode=2]="WorkflowMode",(W=a||(a={}))[W.Default=0]="Default",W[W.Function=1]="Function",(Z=s||(s={}))[Z.Deleted=0]="Deleted",Z[Z.Using=1]="Using",Z[Z.Banned=2]="Banned",(H=l||(l={}))[H.LimitedReadWrite=1]="LimitedReadWrite",H[H.ReadOnly=2]="ReadOnly",H[H.UnlimitedReadWrite=3]="UnlimitedReadWrite",H[H.RWModeMax=4]="RWModeMax",(V=u||(u={}))[V.Default=0]="Default",V[V.DouyinAvatar=1]="DouyinAvatar",(Q=c||(c={}))[Q.Chat=0]="Chat",Q[Q.FunctionCall_1=1]="FunctionCall_1",Q[Q.FunctionCall_2=2]="FunctionCall_2",Q[Q.FunctionCall_3=3]="FunctionCall_3",(Y=d||(d={}))[Y.NotSet=0]="NotSet",Y[Y.Text=1]="Text",Y[Y.Voice=2]="Voice",Y[Y.Call=3]="Call",($=p||(p={}))[$.Off=0]="Off",$[$.On=1]="On",(K=h||(h={}))[K.Text=1]="Text",K[K.Number=2]="Number",K[K.Date=3]="Date",K[K.Float=4]="Float",K[K.Boolean=5]="Boolean",(X=f||(f={}))[X.Off=0]="Off",X[X.On=1]="On",(J=g||(g={}))[J.SLM=0]="SLM",J[J.LLM=1]="LLM",(ee=m||(m={}))[ee.Pre=1]="Pre",ee[ee.Post=2]="Post",ee[ee.PreAndPost=3]="PreAndPost",(et=_||(_={}))[et.Default=0]="Default",et[et.CustomizePrompt=1]="CustomizePrompt",(en=v||(v={}))[en.ReplyBottom=0]="ReplyBottom",en[en.CardList=1]="CardList",(er=b||(b={}))[er.UnlikeDefault=0]="UnlikeDefault",er[er.UnlikeHarmful=1]="UnlikeHarmful",er[er.UnlikeIncorrect=2]="UnlikeIncorrect",er[er.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",er[er.UnlikeOthers=4]="UnlikeOthers",(ei=y||(y={}))[ei.Default=0]="Default",ei[ei.Like=1]="Like",ei[ei.Unlike=2]="Unlike",(eo=w||(w={}))[eo.FullSupport=0]="FullSupport",eo[eo.PoorSupport=1]="PoorSupport",eo[eo.NotSupport=2]="NotSupport",(ea=S||(S={}))[ea.Plugin=1]="Plugin",ea[ea.Workflow=2]="Workflow",ea[ea.ImageFlow=3]="ImageFlow",ea[ea.Trigger=4]="Trigger",ea[ea.KnowledgeText=5]="KnowledgeText",ea[ea.KnowledgeTable=6]="KnowledgeTable",ea[ea.KnowledgeAutoCall=7]="KnowledgeAutoCall",ea[ea.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",ea[ea.Variable=9]="Variable",ea[ea.Database=10]="Database",ea[ea.LongTermMemory=11]="LongTermMemory",ea[ea.FileBox=12]="FileBox",ea[ea.Onboarding=13]="Onboarding",ea[ea.Suggestion=14]="Suggestion",ea[ea.ShortcutCommand=15]="ShortcutCommand",ea[ea.BackGroundImage=16]="BackGroundImage",ea[ea.TTS=17]="TTS",ea[ea.MultiAgentRecognize=18]="MultiAgentRecognize",ea[ea.KnowledgePhoto=19]="KnowledgePhoto",ea[ea.HookInfo=20]="HookInfo",(es=A||(A={}))[es.Text=0]="Text",es[es.Markdown=1]="Markdown",es[es.JSON=2]="JSON",(el=T||(T={}))[el.Custom=0]="Custom",el[el.Creative=1]="Creative",el[el.Balance=2]="Balance",el[el.Precise=3]="Precise",(eu=x||(x={}))[eu.Curve=0]="Curve",eu[eu.Straight=1]="Straight",(ec=k||(k={}))[ec.Flow=1]="Flow",ec[ec.Host=2]="Host",(ed=M||(M={}))[ed.NO_NEED=1]="NO_NEED",ed[ed.USE_MANUAL=2]="USE_MANUAL",ed[ed.USE_LLM=3]="USE_LLM",(ep=P||(P={}))[ep.FunctionCall=1]="FunctionCall",ep[ep.Independent=2]="Independent",(eh=I||(I={}))[eh.HasUpdates=1]="HasUpdates",eh[eh.IsDelete=2]="IsDelete",(ef=E||(E={}))[ef.ManualUpdate=1]="ManualUpdate",ef[ef.AutoUpdate=2]="AutoUpdate",(eg=C||(C={}))[eg.Default=0]="Default",eg[eg.Explore=1]="Explore",eg[eg.BotStore=2]="BotStore",eg[eg.CozeHome=3]="CozeHome",eg[eg.Playground=4]="Playground",eg[eg.Evaluation=5]="Evaluation",eg[eg.AgentAPP=6]="AgentAPP",eg[eg.PromptOptimize=7]="PromptOptimize",eg[eg.GenerateAgentInfo=8]="GenerateAgentInfo",(em=O||(O={}))[em.SemanticSearch=0]="SemanticSearch",em[em.HybirdSearch=1]="HybirdSearch",em[em.FullTextSearch=20]="FullTextSearch",(e_=D||(D={}))[e_.Public=1]="Public",e_[e_.Anonymous=2]="Anonymous",e_[e_.Custom=3]="Custom",(ev=L||(L={}))[ev.Random=0]="Random",ev[ev.All=1]="All",(eb=B||(B={}))[eb.System=0]="System",eb[eb.Custom=1]="Custom",eb[eb.Disable=2]="Disable",eb[eb.OriBot=3]="OriBot",(ey=N||(N={}))[ey.Off=0]="Off",ey[ey.On=1]="On",(ew=R||(R={}))[ew.Workflow=0]="Workflow",ew[ew.Imageflow=1]="Imageflow",ew[ew.SceneFlow=2]="SceneFlow",ew[ew.ChatFlow=3]="ChatFlow",ew[ew.All=100]="All"},3503:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Auditing=0]="Auditing",a[a.Success=1]="Success",a[a.Failed=2]="Failed",(s=t||(t={}))[s.Normal=0]="Normal",s[s.Offline=1]="Offline",s[s.TokenDisconnect=2]="TokenDisconnect",(l=n||(n={}))[l.Asc=1]="Asc",l[l.Desc=2]="Desc",(u=r||(r={}))[u.NoDetail=1]="NoDetail",u[u.Detail=2]="Detail",u[u.Operate=3]="Operate",(c=i||(i={}))[c.Plugin=1]="Plugin",c[c.Workflow=2]="Workflow",c[c.Imageflow=3]="Imageflow",c[c.Knowledge=4]="Knowledge",c[c.UI=5]="UI",c[c.Prompt=6]="Prompt",c[c.Database=7]="Database",c[c.Variable=8]="Variable",(d=o||(o={}))[d.Valid=1]="Valid",d[d.Invalid=2]="Invalid"},28043:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Auditing=0]="Auditing",n[n.Success=1]="Success",n[n.Failed=2]="Failed",(r=t||(t={}))[r.Success=1]="Success",r[r.Failed=2]="Failed"},51884:function(){"use strict";var e,t;(t=e||(e={}))[t.Deleted=0]="Deleted",t[t.Using=1]="Using",t[t.Banned=2]="Banned",t[t.MoveFailed=3]="MoveFailed",t[t.Copying=4]="Copying"},84802:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.TaskStatusDoing=1]="TaskStatusDoing",n[n.TaskStatusSuccess=2]="TaskStatusSuccess",n[n.TaskStatusFail=3]="TaskStatusFail",n[n.TaskStatusCancel=4]="TaskStatusCancel",(r=t||(t={}))[r.TaskTypeProjectCopy=1]="TaskTypeProjectCopy",r[r.TaskTypeCopyTemplateToProject=3]="TaskTypeCopyTemplateToProject",r[r.TaskTypePublishProject=4]="TaskTypePublishProject",r[r.TaskTypePublishTemplate=5]="TaskTypePublishTemplate",r[r.TaskTypeLaunchProjectTemplate=6]="TaskTypeLaunchProjectTemplate",r[r.TaskTypeArchiveProject=7]="TaskTypeArchiveProject",r[r.TaskTypeRollbackProject=8]="TaskTypeRollbackProject"},83785:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Unknown=0]="Unknown",o[o.Progress=1]="Progress",o[o.Audited=2]="Audited",o[o.Reject=3]="Reject",(a=t||(t={}))[a.Invalid=0]="Invalid",a[a.Valid=1]="Valid",a[a.SaveNotPublish=2]="SaveNotPublish",a[a.Disconnected=3]="Disconnected",a[a.NeedReconfigure=4]="NeedReconfigure",(s=n||(n={}))[s.NoBindRequired=1]="NoBindRequired",s[s.AuthBind=2]="AuthBind",s[s.KvBind=3]="KvBind",s[s.KvAuthBind=4]="KvAuthBind",s[s.ApiBind=5]="ApiBind",s[s.WebSDKBind=6]="WebSDKBind",s[s.StoreBind=7]="StoreBind",s[s.AuthAndConfig=8]="AuthAndConfig",s[s.TemplateBind=9]="TemplateBind",(l=r||(r={}))[l.APIOrSDK=1]="APIOrSDK",l[l.SocialPlatform=2]="SocialPlatform",l[l.Coze=3]="Coze",l[l.MiniProgram=4]="MiniProgram",(u=i||(i={}))[u.Normal=0]="Normal",u[u.InReview=1]="InReview",u[u.Offline=2]="Offline"},81834:function(){"use strict";var e,t;(t=e||(e={}))[t.Default=0]="Default",t[t.DouyinAvatar=1]="DouyinAvatar"},98812:function(){"use strict";var e,t;(t=e||(e={}))[t.Plugin=1]="Plugin",t[t.Workflow=2]="Workflow",t[t.Imageflow=3]="Imageflow",t[t.Knowledge=4]="Knowledge",t[t.UI=5]="UI",t[t.Prompt=6]="Prompt",t[t.Database=7]="Database",t[t.Variable=8]="Variable"},24668:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.GPT=1]="GPT",i[i.SEED=2]="SEED",i[i.Claude=3]="Claude",i[i.MiniMax=4]="MiniMax",i[i.Plugin=5]="Plugin",i[i.StableDiffusion=6]="StableDiffusion",i[i.ByteArtist=7]="ByteArtist",i[i.Maas=9]="Maas",i[i.QianFan=10]="QianFan",i[i.Gemini=11]="Gemini",i[i.Moonshot=12]="Moonshot",i[i.GLM=13]="GLM",i[i.MaaSAutoSync=14]="MaaSAutoSync",i[i.QWen=15]="QWen",i[i.Cohere=16]="Cohere",i[i.Baichuan=17]="Baichuan",i[i.Ernie=18]="Ernie",i[i.DeekSeek=19]="DeekSeek",i[i.Llama=20]="Llama",i[i.StepFun=23]="StepFun",i[i.Other=999]="Other",(o=t||(t={}))[o.Float=1]="Float",o[o.Int=2]="Int",o[o.Boolean=3]="Boolean",o[o.String=4]="String",(a=n||(n={}))[a.Online=1]="Online",a[a.Offline=2]="Offline",a[a.Deleted=3]="Deleted",a[a.FineTuneInQueue=5]="FineTuneInQueue",a[a.FineTuneRunning=6]="FineTuneRunning",a[a.FineTuneTerminated=7]="FineTuneTerminated",a[a.FineTuneFailed=8]="FineTuneFailed",a[a.FineTuneSuccess=9]="FineTuneSuccess",(s=r||(r={}))[s.ModelType=1]="ModelType",s[s.ModelUserRight=2]="ModelUserRight",s[s.ModelFeature=3]="ModelFeature",s[s.ModelFunction=4]="ModelFunction",s[s.ModelScenario=5]="ModelScenario",s[s.Custom=20]="Custom"},45834:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.CustomModel=1]="CustomModel",o[o.FoundationModel=2]="FoundationModel",(a=t||(t={}))[a.Available=1]="Available",a[a.Exported=2]="Exported",a[a.Expired=3]="Expired",(s=n||(n={}))[s.UnKnown=0]="UnKnown",s[s.Init=1]="Init",s[s.Preprocessing=2]="Preprocessing",s[s.Queued=3]="Queued",s[s.Deploying=4]="Deploying",s[s.Running=5]="Running",s[s.Completing=6]="Completing",s[s.Completed=7]="Completed",s[s.Terminating=8]="Terminating",s[s.Terminated=9]="Terminated",s[s.Failed=10]="Failed",s[s.EndPointScheduling=11]="EndPointScheduling",s[s.EndPointRunning=12]="EndPointRunning",s[s.EndPointDeployAbnormal=14]="EndPointDeployAbnormal",s[s.TaskDelete=16]="TaskDelete",(l=r||(r={}))[l.FinetuneSft=1]="FinetuneSft",l[l.FunetuneLoRA=2]="FunetuneLoRA",l[l.Pretrain=3]="Pretrain",l[l.DPOLoRA=4]="DPOLoRA",(u=i||(i={}))[u.Upload=1]="Upload",u[u.TrainingCut=2]="TrainingCut",u[u.None=3]="None"},33178:function(){"use strict";var e,t;(t=e||(e={}))[t.Deleted=0]="Deleted",t[t.Using=1]="Using"},44112:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Default=0]="Default",r[r.AuditPass=1]="AuditPass",r[r.AuditNotPass=2]="AuditNotPass",(i=t||(t={}))[i.Default=0]="Default",i[i.Available=1]="Available",i[i.Unavailable=2]="Unavailable",(o=n||(n={}))[o.Publish=0]="Publish",o[o.Archive=1]="Archive"},52887:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Default=0]="Default",n[n.Auditing=1]="Auditing",n[n.Successful=2]="Successful",n[n.Failed=3]="Failed",(r=t||(t={}))[r.Packing=0]="Packing",r[r.PackFailed=1]="PackFailed",r[r.Auditing=2]="Auditing",r[r.AuditNotPass=3]="AuditNotPass",r[r.ConnectorPublishing=4]="ConnectorPublishing",r[r.PublishDone=5]="PublishDone"},21787:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Valid=1]="Valid",r[r.Invalid=2]="Invalid",(i=t||(t={}))[i.Owner=1]="Owner",i[i.Admin=2]="Admin",i[i.Member=3]="Member",(o=n||(n={}))[o.Valid=1]="Valid",o[o.Invalid=2]="Invalid"},17046:function(){"use strict";var e,t;(t=e||(e={}))[t.Packing=0]="Packing",t[t.PackSuccess=1]="PackSuccess",t[t.PackFail=2]="PackFail"},22666:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Using=1]="Using",n[n.Deleted=2]="Deleted",n[n.Banned=3]="Banned",n[n.MoveFailed=4]="MoveFailed",n[n.Copying=5]="Copying",n[n.CopyFailed=6]="CopyFailed",(r=t||(t={}))[r.Bot=1]="Bot",r[r.Project=2]="Project",r[r.DouyinAvatarBot=3]="DouyinAvatarBot"},37684:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Unknown=0]="Unknown",u[u.String=1]="String",u[u.Boolean=2]="Boolean",u[u.StringList=11]="StringList",u[u.BooleanList=12]="BooleanList",(c=t||(t={}))[c.ProjectOwner=1]="ProjectOwner",c[c.ProjectEditor=2]="ProjectEditor",c[c.BotEditor=3]="BotEditor",c[c.BotDeveloper=4]="BotDeveloper",c[c.BotOperator=5]="BotOperator",c[c.BotOwner=6]="BotOwner",(d=n||(n={}))[d.PromptDiff=1]="PromptDiff",d[d.ModelDiff=2]="ModelDiff",(p=r||(r={}))[p.DraftBot=1]="DraftBot",(h=i||(i={}))[h.Success=1]="Success",h[h.Processing=2]="Processing",h[h.Failed=3]="Failed",h[h.Canceled=4]="Canceled",(f=o||(o={}))[f.Archive=1]="Archive",f[f.Rollback=2]="Rollback",(g=a||(a={}))[g.Account=1]="Account",g[g.Workspace=2]="Workspace",g[g.Bot=4]="Bot",g[g.Project=19]="Project",g[g.OceanProject=24]="OceanProject",g[g.FinetuneTask=25]="FinetuneTask",(m=s||(s={}))[m.ProjectCopyCancel=1]="ProjectCopyCancel",m[m.ProjectCopyRetry=2]="ProjectCopyRetry",(_=l||(l={}))[_.ProjectCopy=1]="ProjectCopy",_[_.BotCopy=2]="BotCopy"},88794:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.BatchSize=1]="BatchSize",l[l.LearningRate=2]="LearningRate",l[l.Epochs=3]="Epochs",(u=t||(t={}))[u.GPT=1]="GPT",u[u.SEED=2]="SEED",u[u.Claude=3]="Claude",u[u.MiniMax=4]="MiniMax",u[u.Plugin=5]="Plugin",u[u.StableDiffusion=6]="StableDiffusion",u[u.ByteArtist=7]="ByteArtist",u[u.Maas=9]="Maas",u[u.QianFan=10]="QianFan",u[u.Gemini=11]="Gemini",u[u.Moonshot=12]="Moonshot",u[u.GLM=13]="GLM",u[u.MaaSAutoSync=14]="MaaSAutoSync",u[u.QWen=15]="QWen",u[u.Cohere=16]="Cohere",u[u.Baichuan=17]="Baichuan",u[u.Ernie=18]="Ernie",u[u.DeekSeek=19]="DeekSeek",u[u.Llama=20]="Llama",u[u.StepFun=23]="StepFun",u[u.Other=999]="Other",(c=n||(n={}))[c.Float=1]="Float",c[c.Int=2]="Int",c[c.Boolean=3]="Boolean",c[c.String=4]="String",(d=r||(r={}))[d.Online=1]="Online",d[d.Offline=2]="Offline",d[d.Deleted=3]="Deleted",d[d.FineTuneInQueue=4]="FineTuneInQueue",d[d.FineTuneRunning=5]="FineTuneRunning",d[d.FineTuneFailed=6]="FineTuneFailed",d[d.FineTuneTeminated=7]="FineTuneTeminated",(p=i||(i={}))[p.ModelType=1]="ModelType",p[p.ModelUserRight=2]="ModelUserRight",p[p.ModelFeature=3]="ModelFeature",p[p.ModelFunction=4]="ModelFunction",p[p.ModelScenario=5]="ModelScenario",p[p.Custom=20]="Custom",(h=o||(o={}))[h.stop=1]="stop",h[h.resume=2]="resume",h[h.delete=3]="delete",(f=a||(a={}))[f.Recommend=1]="Recommend",(g=s||(s={}))[g.upload=1]="upload",g[g.TrainingSetSplit=2]="TrainingSetSplit"},57463:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Project=1]="Project",r[r.Bot=2]="Bot",(i=t||(t={}))[i.Auditing=1]="Auditing",i[i.Success=2]="Success",i[i.Failed=3]="Failed",(o=n||(n={}))[o.Create=1]="Create",o[o.Update=2]="Update",o[o.Delete=3]="Delete",o[o.Publish=4]="Publish"},49098:function(){"use strict";var e,t;(t=e||(e={}))[t.Using=1]="Using",t[t.Deleted=2]="Deleted"},39475:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Publish=0]="Publish",n[n.Archive=1]="Archive",(r=t||(t={}))[r.User=0]="User",r[r.NL2App=1]="NL2App"},31629:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Using=0]="Using",l[l.Delete=1]="Delete",l[l.Disable=3]="Disable",(u=t||(t={}))[u.NoBindRequired=1]="NoBindRequired",u[u.AuthBind=2]="AuthBind",u[u.KvBind=3]="KvBind",u[u.KvAuthBind=4]="KvAuthBind",u[u.ApiBind=5]="ApiBind",u[u.WebSDKBind=6]="WebSDKBind",u[u.StoreBind=7]="StoreBind",u[u.AuthAndConfig=8]="AuthAndConfig",u[u.TemplateBind=9]="TemplateBind",(c=n||(n={}))[c.APIOrSDK=1]="APIOrSDK",c[c.SocialPlatform=2]="SocialPlatform",c[c.Coze=3]="Coze",c[c.MiniProgram=4]="MiniProgram",(d=r||(r={}))[d.Configured=1]="Configured",d[d.NotConfigured=2]="NotConfigured",d[d.Disconnected=3]="Disconnected",d[d.Configuring=4]="Configuring",d[d.NeedReconfiguring=5]="NeedReconfiguring",(p=i||(i={}))[p.Default=0]="Default",p[p.Auditing=1]="Auditing",p[p.Success=2]="Success",p[p.Failed=3]="Failed",p[p.Disable=4]="Disable",(h=o||(o={}))[h.Normal=0]="Normal",h[h.InReview=1]="InReview",h[h.Offline=2]="Offline",(f=a||(a={}))[f.Packing=0]="Packing",f[f.PackFailed=1]="PackFailed",f[f.Auditing=2]="Auditing",f[f.AuditNotPass=3]="AuditNotPass",f[f.ConnectorPublishing=4]="ConnectorPublishing",f[f.PublishDone=5]="PublishDone",(g=s||(s={}))[g.Authorized=1]="Authorized",g[g.UnAuthorized=2]="UnAuthorized",g[g.Authorizing=3]="Authorizing"},64035:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.SingleMode=0]="SingleMode",o[o.MultiMode=1]="MultiMode",o[o.WorkflowMode=2]="WorkflowMode",(a=t||(t={}))[a.UpdateTime=0]="UpdateTime",a[a.CreateTime=1]="CreateTime",(s=n||(n={}))[s.UpdateTime=0]="UpdateTime",s[s.CreateTime=1]="CreateTime",s[s.PublishTime=2]="PublishTime",(l=r||(r={}))[l.All=0]="All",l[l.Publish=1]="Publish",l[l.NoPublish=2]="NoPublish",(u=i||(i={}))[u.All=0]="All",u[u.CreateByMe=1]="CreateByMe"},9108:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.SingleMode=0]="SingleMode",l[l.MultiMode=1]="MultiMode",l[l.WorkflowMode=2]="WorkflowMode",(u=t||(t={}))[u.Packing=0]="Packing",u[u.PackSuccess=1]="PackSuccess",u[u.PackFail=2]="PackFail",(c=n||(n={}))[c.Unknown=0]="Unknown",c[c.RefundProcessing=1]="RefundProcessing",c[c.RefundSuccess=2]="RefundSuccess",c[c.RefundFailed=3]="RefundFailed",c[c.Chargeback=11]="Chargeback",c[c.ChargebackReverse=12]="ChargebackReverse",(d=r||(r={}))[d.Init=0]="Init",d[d.Success=1]="Success",d[d.Failed=2]="Failed",d[d.Closed=3]="Closed",(p=i||(i={}))[p.Unknown=0]="Unknown",p[p.TokenCharge=1]="TokenCharge",p[p.TokenAutoCharge=2]="TokenAutoCharge",p[p.SubMessageCredit=11]="SubMessageCredit",p[p.MessageCredit=12]="MessageCredit",p[p.PurchaseTemplate=21]="PurchaseTemplate",(h=o||(o={}))[h.Init=0]="Init",h[h.Success=1]="Success",h[h.Closed=2]="Closed",(f=a||(a={}))[f.Workflow=1]="Workflow",f[f.Plugin=2]="Plugin",f[f.Data=3]="Data",(g=s||(s={}))[g.Unknown=0]="Unknown",g[g.TokenCharge=1]="TokenCharge",g[g.TokenAutoCharge=2]="TokenAutoCharge",g[g.SubMessageCredit=11]="SubMessageCredit",g[g.MessageCredit=12]="MessageCredit",g[g.PurchaseTemplate=21]="PurchaseTemplate"},15140:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("18002"),n("50798"),n("24388"),n("39183"),n("33065"),n("16282"),n("31078"),n("148");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}DeleteSlice(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/slice/delete"),i={slice_ids:n.slice_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateSlice(e,t){let n=this.genBaseURL("/api/knowledge/slice/update"),r={slice_id:e.slice_id,document_id:e.document_id,status:e.status,raw_text:e.raw_text,table_unit_text:e.table_unit_text,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateSlice(e,t){let n=this.genBaseURL("/api/knowledge/slice/create"),r={document_id:e.document_id,raw_text:e.raw_text,sequence:e.sequence,extra:e.extra,tree_node_id:e.tree_node_id,front_tree_node_id:e.front_tree_node_id,parent_tree_node_id:e.parent_tree_node_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/create"),i={dataset_id:n.dataset_id,format_type:n.format_type,document_bases:n.document_bases,chunk_strategy:n.chunk_strategy,sink_strategy:n.sink_strategy,is_append:n.is_append,parsing_strategy:n.parsing_strategy,index_strategy:n.index_strategy,storage_strategy:n.storage_strategy,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetTableSchema(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/table_schema/get"),i={table_sheet:n.table_sheet,table_data_type:n.table_data_type,document_id:n.document_id,source_file:n.source_file,origin_table_meta:n.origin_table_meta,preview_table_meta:n.preview_table_meta,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListSlice(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/slice/list"),i={document_id:n.document_id,sequence:n.sequence,keyword:n.keyword,dataset_id:n.dataset_id,page_no:n.page_no,page_size:n.page_size,sort_field:n.sort_field,is_asc:n.is_asc,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDocument(e,t){let n=this.genBaseURL("/api/knowledge/document/list"),r={dataset_id:e.dataset_id,document_ids:e.document_ids,page:e.page,size:e.size,keyword:e.keyword,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}Resegment(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/resegment"),i={dataset_id:n.dataset_id,document_ids:n.document_ids,chunk_strategy:n.chunk_strategy,review_ids:n.review_ids,parsing_strategy:n.parsing_strategy,index_strategy:n.index_strategy,filter_strategy:n.filter_strategy,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteDocument(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/delete"),i={document_ids:n.document_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetDocumentProgress(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/progress/get"),i={document_ids:n.document_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitWebUrl(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/web_url/submit"),i={web_url:n.web_url,subpages_count:n.subpages_count,format_type:n.format_type,title:n.title,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetWebInfo(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/web_url/get"),i={web_ids:n.web_ids,include_content:n.include_content,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/update"),i={document_id:n.document_id,status:n.status,document_name:n.document_name,update_rule:n.update_rule,table_meta:n.table_meta,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ValidateTableSchema(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/table_schema/validate"),i={space_id:n.space_id,document_id:n.document_id,source_file:n.source_file,table_sheet:n.table_sheet,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateDataset(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/create"),i={name:n.name,description:n.description,space_id:n.space_id,icon_uri:n.icon_uri,format_type:n.format_type,biz_id:n.biz_id,project_id:n.project_id,storage_location:n.storage_location,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDataset(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/list"),i={filter:n.filter,page:n.page,size:n.size,space_id:n.space_id,order_field:n.order_field,order_type:n.order_type,space_auth:n.space_auth,biz_id:n.biz_id,need_ref_bots:n.need_ref_bots,project_id:n.project_id,storage_location:n.storage_location,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DatasetDetail(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/detail"),i={dataset_ids:n.dataset_ids,space_id:n.space_id,project_id:n.project_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateDataset(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/update"),i={dataset_id:n.dataset_id,name:n.name,icon_uri:n.icon_uri,description:n.description,status:n.status,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteDataset(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/delete"),i={dataset_id:n.dataset_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BatchSubmitWebUrl(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/web_url/batch_submit"),i={web_urls:n.web_urls,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetIcon(e,t){let n=this.genBaseURL("/api/knowledge/icon/get"),r={format_type:(e||{}).format_type};return this.request({url:n,method:"POST",data:r},t)}UpdateDocumentOpenAPI(e,t){let n=e||{},r=this.genBaseURL("/open_api/knowledge/document/update"),i={document_id:n.document_id,status:n.status,document_name:n.document_name,update_rule:n.update_rule,table_meta:n.table_meta,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateDocumentOpenAPI(e,t){let n=e||{},r=this.genBaseURL("/open_api/knowledge/document/create"),i={dataset_id:n.dataset_id,format_type:n.format_type,document_bases:n.document_bases,chunk_strategy:n.chunk_strategy,sink_strategy:n.sink_strategy,is_append:n.is_append,parsing_strategy:n.parsing_strategy,index_strategy:n.index_strategy,storage_strategy:n.storage_strategy,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteDocumentAPI(e,t){let n=e||{},r=this.genBaseURL("/open_api/knowledge/document/delete"),i={document_ids:n.document_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDocumentOpenAPI(e,t){let n=this.genBaseURL("/open_api/knowledge/document/list"),r={dataset_id:e.dataset_id,document_ids:e.document_ids,page:e.page,size:e.size,keyword:e.keyword,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ExtractPhotoCaption(e,t){let n=this.genBaseURL("/api/knowledge/photo/extract_caption"),r={document_id:e.document_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListPhoto(e,t){let n=this.genBaseURL("/api/knowledge/photo/list"),r={dataset_id:e.dataset_id,page:e.page,size:e.size,filter:e.filter,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdatePhotoCaption(e,t){let n=this.genBaseURL("/api/knowledge/photo/caption"),r={document_id:e.document_id,caption:e.caption,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PhotoDetail(e,t){let n=this.genBaseURL("/api/knowledge/photo/detail"),r={document_ids:e.document_ids,dataset_id:e.dataset_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetFileTreeDocList(e,t){let n=this.genBaseURL("/api/knowledge/connector/file_tree_doc_list"),r={auth_id:e.auth_id,file_type_list:e.file_type_list,folder_id:e.folder_id,page_token:e.page_token,space_id:e.space_id,doc_source_type:e.doc_source_type,time_filter:e.time_filter,search_keywords:e.search_keywords,force_get_latest:e.force_get_latest,page_size:e.page_size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SearchDocument(e,t){let n=this.genBaseURL("/api/knowledge/connector/search_document"),r={auth_id:e.auth_id,search_query:e.search_query,file_type_list:e.file_type_list,doc_source_type:e.doc_source_type,page_token:e.page_token,offset:e.offset,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RefreshDocument(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/refresh_document"),i={dataset_id:n.dataset_id,document_id:n.document_id,chunk_strategy:n.chunk_strategy,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}FetchWebUrl(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/batch_fetch"),i={document_ids:n.document_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetDatasetRefBots(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/ref_bots"),i={dataset_id:n.dataset_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BatchUpdateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/document/batch_update"),i={document_ids:n.document_ids,update_rule:n.update_rule,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListModel(e,t){let n=this.genBaseURL("/api/knowledge/document/list_model"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}CreateDocumentReview(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/review/create"),i={dataset_id:n.dataset_id,reviews:n.reviews,chunk_strategy:n.chunk_strategy,parsing_strategy:n.parsing_strategy,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetTreeChunkRec(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/get_tree_chunk_rec"),i={dataset_id:n.dataset_id,tos_uris:n.tos_uris,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SaveDocumentReview(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/review/save"),i={dataset_id:n.dataset_id,review_id:n.review_id,doc_tree_json:n.doc_tree_json,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}MGetDocumentReview(e,t){let n=e||{},r=this.genBaseURL("/api/knowledge/review/mget"),i={dataset_id:n.dataset_id,review_ids:n.review_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDatasetOpenAPI(e,t){let n=e||{},r=this.genBaseURL("/v1/datasets"),i={name:n.name,format_type:n.format_type,page_num:n.page_num,page_size:n.page_size,space_id:n.space_id,project_id:n.project_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}CreateDatasetOpenAPI(e,t){let n=e||{},r=this.genBaseURL("/v1/datasets"),i={name:n.name,description:n.description,space_id:n.space_id,file_id:n.file_id,format_type:n.format_type,project_id:n.project_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteDatasetOpenAPI(e,t){let n=e||{},r=this.genBaseURL(`/v1/datasets/${n.dataset_id}`),i={Base:n.Base};return this.request({url:r,method:"DELETE",params:i},t)}UpdateDatasetOpenAPI(e,t){let n=e||{},r=this.genBaseURL(`/v1/datasets/${n.dataset_id}`),i={name:n.name,file_id:n.file_id,description:n.description,Base:n.Base};return this.request({url:r,method:"PUT",data:i},t)}CreatePhotoDocumentV2OpenAPI(e,t){let n=this.genBaseURL(`/v1/datasets/${e.dataset_id}/documents_v2`),r={Data:e.Data,Base:e.Base},i={"Content-Type":e["Content-Type"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetDocumentProgressOpenAPI(e,t){let n=e||{},r=this.genBaseURL(`/v1/datasets/${n.dataset_id}/process`),i={document_ids:n.document_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdatePhotoCaptionOpenAPI(e,t){let n=this.genBaseURL(`/v1/datasets/:dataset_id/images/${e.document_id}`),r={caption:e.caption,Base:e.Base};return this.request({url:n,method:"PUT",data:r},t)}ListPhotoDocumentOpenAPI(e,t){let n=this.genBaseURL(`/v1/datasets/${e.dataset_id}/images`),r={page_num:e.page_num,page_size:e.page_size,keyword:e.keyword,has_caption:e.has_caption,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}SetAppendFrequency(e,t){let n=this.genBaseURL("/api/knowledge/document/set_append_frequency"),r={auth_frequency_info:e.auth_frequency_info,dataset_id:e.dataset_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetAppendFrequency(e,t){let n=this.genBaseURL("/api/knowledge/document/get_append_frequency"),r={dataset_id:e.dataset_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetInstances(e,t){let n=this.genBaseURL("/api/knowledge/opensearch/instances"),r={region:e.region,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SetConfig(e,t){let n=this.genBaseURL("/api/knowledge/opensearch/set_config"),r={storage_config_id:e.storage_config_id,config:e.config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetConfig(e,t){let n=this.genBaseURL("/api/knowledge/opensearch/get_config"),r={storage_config_id:e.storage_config_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}TestConnection(e,t){let n=this.genBaseURL("/api/knowledge/opensearch/connection"),r={config:e.config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OpenPublicAddress(e,t){let n=this.genBaseURL("/api/knowledge/opensearch/open_public_address"),r={config:e.config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("KnowledgeService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},18002:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D;(_=e||(e={}))[_.Processing=0]="Processing",_[_.Enable=1]="Enable",_[_.Disable=2]="Disable",_[_.Default=100]="Default",(v=t||(t={}))[v.Auto=0]="Auto",v[v.Manual=1]="Manual",(b=n||(n={}))[b.DefaultChunk=0]="DefaultChunk",b[b.CustomChunk=1]="CustomChunk",b[b.LevelChunk=2]="LevelChunk",(y=r||(r={}))[y.DefaultSchema=0]="DefaultSchema",y[y.LinkReaderSchema=1]="LinkReaderSchema",(w=i||(i={}))[w.DataSetprocessing=0]="DataSetprocessing",w[w.DataSetReady=1]="DataSetReady",w[w.DataSetFailed=9]="DataSetFailed",(S=o||(o={}))[S.Document=0]="Document",S[S.Web=1]="Web",S[S.Custom=2]="Custom",S[S.ThirdParty=3]="ThirdParty",S[S.FrontCrawl=4]="FrontCrawl",S[S.OpenApi=5]="OpenApi",S[S.Notion=101]="Notion",S[S.GoogleDrive=102]="GoogleDrive",S[S.FeishuWeb=103]="FeishuWeb",S[S.LarkWeb=104]="LarkWeb",S[S.WeChat=109]="WeChat",(A=a||(a={}))[A.Processing=0]="Processing",A[A.Enable=1]="Enable",A[A.Disable=2]="Disable",A[A.Deleted=3]="Deleted",A[A.Resegment=4]="Resegment",A[A.Refreshing=5]="Refreshing",A[A.Failed=9]="Failed",A[A.AuditFailed=1e3]="AuditFailed",(T=s||(s={}))[T.Processing=0]="Processing",T[T.Enable=1]="Enable",T[T.Disable=2]="Disable",T[T.Deleted=3]="Deleted",T[T.Failed=9]="Failed",(x=l||(l={}))[x.Text=0]="Text",x[x.Table=1]="Table",x[x.Image=2]="Image",x[x.Database=3]="Database",(k=u||(u={}))[k.None=0]="None",k[k.EveryDay=1]="EveryDay",k[k.EveryThreeDay=2]="EveryThreeDay",k[k.EverySevenDay=3]="EverySevenDay",(M=c||(c={}))[M.CreateTime=1]="CreateTime",M[M.UpdateTime=2]="UpdateTime",(P=d||(d={}))[P.Desc=1]="Desc",P[P.Asc=2]="Asc",(I=p||(p={}))[I.FastParsing=0]="FastParsing",I[I.AccurateParsing=1]="AccurateParsing",(E=h||(h={}))[E.Processing=0]="Processing",E[E.Enable=1]="Enable",E[E.Failed=2]="Failed",E[E.ForceStop=3]="ForceStop",(C=f||(f={}))[C.Default=0]="Default",C[C.OpenSearch=1]="OpenSearch",C[C.Douyin=2]="Douyin",(O=g||(g={}))[O.NoUpdate=0]="NoUpdate",O[O.Cover=1]="Cover",O[O.Append=2]="Append",(D=m||(m={}))[D.Handling=0]="Handling",D[D.Finish=1]="Finish",D[D.Failed=2]="Failed"},50798:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.DocSourceTypeDrive=1]="DocSourceTypeDrive",r[r.DocSourceTypeWiki=2]="DocSourceTypeWiki",r[r.DocSourceTypeWeChat=3]="DocSourceTypeWeChat",(i=t||(t={}))[i.Folder=1]="Folder",i[i.Document=2]="Document",i[i.Sheet=3]="Sheet",i[i.Space=4]="Space",(o=n||(n={}))[o.TimeUnlimited=0]="TimeUnlimited",o[o.WithinAWeek=1]="WithinAWeek",o[o.WithinAMonth=2]="WithinAMonth",o[o.WithinAYear=3]="WithinAYear"},24388:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.enable=1]="enable",i[i.delete=2]="delete",i[i.expire=3]="expire",(o=t||(t={}))[o.Notion=101]="Notion",o[o.GoogleDrive=102]="GoogleDrive",o[o.FeishuWeb=103]="FeishuWeb",o[o.DestinationTos=104]="DestinationTos",o[o.LarkWeb=105]="LarkWeb",o[o.WeChat=109]="WeChat",(a=n||(n={}))[a.DocSourceTypeDrive=1]="DocSourceTypeDrive",a[a.DocSourceTypeWiki=2]="DocSourceTypeWiki",a[a.DocSourceTypeWeChat=3]="DocSourceTypeWeChat",(s=r||(r={}))[s.Folder=1]="Folder",s[s.Document=2]="Document",s[s.Sheet=3]="Sheet",s[s.Space=4]="Space"},39183:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Unknown=0]="Unknown",a[a.String=1]="String",a[a.Boolean=2]="Boolean",a[a.StringList=11]="StringList",a[a.BooleanList=12]="BooleanList",(s=t||(t={}))[s.Create=1]="Create",s[s.InProgress=2]="InProgress",s[s.Success=3]="Success",s[s.Fail=4]="Fail",(l=n||(n={}))[l.ScopeAll=1]="ScopeAll",l[l.ScopeSelf=2]="ScopeSelf",(u=r||(r={}))[u.SourceSelf=1]="SourceSelf",u[u.SourceExplore=2]="SourceExplore",(c=i||(i={}))[c.DatasetProcessing=0]="DatasetProcessing",c[c.DatasetReady=1]="DatasetReady",c[c.DatasetDeleted=2]="DatasetDeleted",c[c.DatasetForbid=3]="DatasetForbid",c[c.DatasetFailed=9]="DatasetFailed",(d=o||(o={}))[d.Account=1]="Account",d[d.Workspace=2]="Workspace",d[d.App=3]="App",d[d.Bot=4]="Bot",d[d.Plugin=5]="Plugin",d[d.Workflow=6]="Workflow",d[d.Knowledge=7]="Knowledge",d[d.PersonalAccessToken=8]="PersonalAccessToken",d[d.Connector=9]="Connector",d[d.Card=10]="Card",d[d.CardTemplate=11]="CardTemplate",d[d.Conversation=12]="Conversation",d[d.File=13]="File",d[d.ServicePrincipal=14]="ServicePrincipal",d[d.Enterprise=15]="Enterprise",d[d.MigrateTask=16]="MigrateTask",d[d.Prompt=17]="Prompt",d[d.UI=18]="UI",d[d.Project=19]="Project"},33065:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.SegmentAppendType_None=0]="SegmentAppendType_None",r[r.SegmentAppendType_Tail=1]="SegmentAppendType_Tail",(i=t||(t={}))[i.Unknown=0]="Unknown",i[i.Text=1]="Text",i[i.Number=2]="Number",i[i.Date=3]="Date",i[i.Float=4]="Float",i[i.Boolean=5]="Boolean",i[i.Image=6]="Image",(o=n||(n={}))[o.AllData=0]="AllData",o[o.OnlySchema=1]="OnlySchema",o[o.OnlyPreview=2]="OnlyPreview"},16282:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Copy=1]="Copy",l[l.Delete=2]="Delete",l[l.EnableSwitch=3]="EnableSwitch",l[l.Edit=4]="Edit",(u=t||(t={}))[u.Successful=1]="Successful",u[u.Processing=2]="Processing",u[u.Failed=3]="Failed",u[u.KeepOrigin=4]="KeepOrigin",(c=n||(n={}))[c.Rename=1]="Rename",c[c.Copy=2]="Copy",c[c.CopyToLibrary=3]="CopyToLibrary",c[c.MoveToLibrary=4]="MoveToLibrary",c[c.Delete=5]="Delete",c[c.Enable=6]="Enable",c[c.Disable=7]="Disable",c[c.SwitchToFuncflow=8]="SwitchToFuncflow",c[c.SwitchToChatflow=9]="SwitchToChatflow",(d=r||(r={}))[d.Workflow=1]="Workflow",d[d.Plugin=2]="Plugin",d[d.Data=3]="Data",(p=i||(i={}))[p.UnPublished=1]="UnPublished",p[p.Published=2]="Published",(h=o||(o={}))[h.CopyProjectResource=1]="CopyProjectResource",h[h.CopyResourceToLibrary=2]="CopyResourceToLibrary",h[h.MoveResourceToLibrary=3]="MoveResourceToLibrary",h[h.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",h[h.CopyProject=5]="CopyProject",h[h.PublishProject=6]="PublishProject",h[h.CopyProjectTemplate=7]="CopyProjectTemplate",h[h.PublishProjectTemplate=8]="PublishProjectTemplate",h[h.LaunchTemplate=9]="LaunchTemplate",(f=a||(a={}))[f.Plugin=1]="Plugin",f[f.Workflow=2]="Workflow",f[f.Imageflow=3]="Imageflow",f[f.Knowledge=4]="Knowledge",f[f.UI=5]="UI",f[f.Database=7]="Database",f[f.Variable=8]="Variable",(g=s||(s={}))[g.Upsert=1]="Upsert",g[g.Delete=2]="Delete"},31078:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Caption=1]="Caption",i[i.Tags=2]="Tags",(o=t||(t={}))[o.PendingVectoring=0]="PendingVectoring",o[o.FinishVectoring=1]="FinishVectoring",o[o.Deactive=9]="Deactive",o[o.AuditFailed=1e3]="AuditFailed",(a=n||(n={}))[a.TOS=1]="TOS",a[a.Raw=2]="Raw",(s=r||(r={}))[s.SelectedFields=1]="SelectedFields"},148:function(){"use strict";var e,t;(t=e||(e={}))[t.EXTERNAL=0]="EXTERNAL",t[t.INTERNAL=1]="INTERNAL"},98796:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("90325"),n("49964"),n("57750"),n("48802"),n("60109"),n("52508"),n("53548");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetShareLink(e,t){let n=this.genBaseURL("/api/marketplace/interaction/share_link/get"),r={entity_id:e.entity_id,entity_type:e.entity_type};return this.request({url:n,method:"GET",params:r},t)}GetShareLinkV2(e,t){let n=this.genBaseURL("/api/marketplace/interaction/share_link/get.v2"),r={entity_id:e.entity_id,entity_type:e.entity_type,invitation_method:e.invitation_method};return this.request({url:n,method:"GET",params:r},t)}GetShortURL(e,t){let n=this.genBaseURL("/api/marketplace/interaction/short_url/get"),r={source_urls:e.source_urls};return this.request({url:n,method:"POST",data:r},t)}PublicGetPostList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/post/list"),i={item_id:n.item_id,item_type:n.item_type,cursor:n.cursor,limit:n.limit,preview_top_post_id:n.preview_top_post_id,is_need_latest_data:n.is_need_latest_data},o={Cookie:n.Cookie};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicPublishPost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/post/publish"),r={item_id:e.item_id,item_type:e.item_type,title:e.title,content:e.content,label:e.label,resource:e.resource,mention_list:e.mention_list,conversation:e.conversation,content_text:e.content_text},i={Cookie:e.Cookie};return this.request({url:n,method:"POST",data:r,headers:i},t)}PublicGetCommentList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/comment/list"),i={item_id:n.item_id,item_type:n.item_type,cursor:n.cursor,limit:n.limit},o={Cookie:n.Cookie};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicBanUser(e,t){let n=this.genBaseURL("/api/marketplace/interaction/user/ban"),r={user_id:(e||{}).user_id};return this.request({url:n,method:"POST",data:r},t)}PublicReplyComment(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/comment/reply"),i={item_id:n.item_id,item_type:n.item_type,mention_list:n.mention_list,reply_content:n.reply_content,resource:n.resource,reply_to_comment_id:n.reply_to_comment_id,reply_content_text:n.reply_content_text},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicGetPostDetail(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/post/detail"),i={post_id:n.post_id,is_need_latest_data:n.is_need_latest_data},o={Cookie:n.Cookie};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicPublishComment(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/comment/publish"),i={item_id:n.item_id,item_type:n.item_type,mention_list:n.mention_list,resource:n.resource,comment_content:n.comment_content,comment_content_text:n.comment_content_text},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}AdminGetPreviewTopPost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/top_post/preview"),r={id:e.id};return this.request({url:n,method:"GET",params:r},t)}PublicGetPostLabelList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/post_label/list"),i={item_id:n.item_id,item_type:n.item_type};return this.request({url:r,method:"GET",params:i},t)}PublicPinPost(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/post/pin"),i={post_id:n.post_id},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicDeleteComment(e,t){let n=this.genBaseURL("/api/marketplace/interaction/comment/delete"),r={comment_id:(e||{}).comment_id};return this.request({url:n,method:"POST",data:r},t)}PublicGetReplyList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/comment/reply/list"),i={comment_id:n.comment_id,item_id:n.item_id,item_type:n.item_type,cursor:n.cursor,limit:n.limit},o={Cookie:n.Cookie};return this.request({url:r,method:"GET",params:i,headers:o},t)}AdminSetTopPostConfig(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/top_post/config"),r={id:e.id,config:e.config};return this.request({url:n,method:"POST",data:r},t)}PublicGetUploadToken(e,t){let n=this.genBaseURL("/api/marketplace/interaction/upload/token");return this.request({url:n,method:"GET"},t)}PublicDeletePost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/post/delete"),r={post_id:(e||{}).post_id};return this.request({url:n,method:"POST",data:r},t)}PublicCancelPinPost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/post/pin/cancel"),r={post_id:(e||{}).post_id};return this.request({url:n,method:"POST",data:r},t)}PublicGetMeta(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/meta"),i={item_id:n.item_id,item_type:n.item_type};return this.request({url:r,method:"GET",params:i},t)}PublicDoReaction(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/reaction/do"),i={item_id:n.item_id,item_type:n.item_type,reaction_type:n.reaction_type,emoji_type:n.emoji_type,is_cancel:n.is_cancel},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}AdminGetTopPostList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/admin/top_post/list"),i={page_num:n.page_num,page_size:n.page_size,config_type:n.config_type};return this.request({url:r,method:"GET",params:i},t)}StreamReply(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/stream_reply"),i={comment_id:n.comment_id,seq_start:n.seq_start,seq_end:n.seq_end};return this.request({url:r,method:"GET",params:i},t)}AdminPublishTopPost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/top_post/publish"),r={title:e.title,content:e.content,context_text:e.context_text,resource:e.resource};return this.request({url:n,method:"POST",data:r},t)}PublicGetProductLike(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/product/like_count"),i={item_id:n.item_id,item_type:n.item_type};return this.request({url:r,method:"GET",params:i},t)}AdminDeleteTopPost(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/top_post/delete"),r={id:e.id};return this.request({url:n,method:"POST",data:r},t)}AdminGetDiscussionGlobalConfig(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/discussion/global_config/get");return this.request({url:n,method:"GET"},t)}AdminGetDiscussionList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/admin/discussion/list"),i={page_num:n.page_num,page_size:n.page_size,item_type:n.item_type,item_show_name:n.item_show_name,item_id:n.item_id,status:n.status};return this.request({url:r,method:"GET",params:i},t)}AdminUpdateCommentStatus(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/comment/update_status"),r={ids:e.ids,status:e.status};return this.request({url:n,method:"POST",data:r},t)}AdminUpdateDiscussionStatus(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/discussion/update_status"),r={ids:e.ids,status:e.status};return this.request({url:n,method:"POST",data:r},t)}AdminUpdatePostStatus(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/post/update_status"),r={ids:e.ids,status:e.status};return this.request({url:n,method:"POST",data:r},t)}AdminGetCommentList(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/comment/list"),r={page_num:e.page_num,page_size:e.page_size,product_id:e.product_id,comment_id:e.comment_id,author_name:e.author_name,author_type:e.author_type,author_id:e.author_id,content_keyword:e.content_keyword,post_id:e.post_id,created_at_begin:e.created_at_begin,created_at_end:e.created_at_end,status:e.status,type:e.type,root_id:e.root_id,sort_type:e.sort_type};return this.request({url:n,method:"GET",params:r},t)}AdminSetDiscussionGlobalConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/admin/discussion/global_config/set"),i={discussion_status:n.discussion_status,date_range:n.date_range,process_id:n.process_id},o={"X-Jwt-Token":n["X-Jwt-Token"],"X-Bcgw-Username":n["X-Bcgw-Username"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}AdminGetPostList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/admin/post/list"),i={page_num:n.page_num,page_size:n.page_size,sort_type:n.sort_type,keyword:n.keyword,post_id:n.post_id,item_id:n.item_id,item_type:n.item_type,author_id:n.author_id,author_name:n.author_name,publish_begin_at:n.publish_begin_at,publish_end_at:n.publish_end_at,status:n.status,label_id:n.label_id,min_evaluation_score:n.min_evaluation_score,max_evaluation_score:n.max_evaluation_score};return this.request({url:r,method:"GET",params:i},t)}AdminGetPostDetail(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/post/detail"),r={id:e.id};return this.request({url:n,method:"GET",params:r},t)}AdminGetPostLabelList(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/post_label/list");return this.request({url:n,method:"GET"},t)}PublicGetImgURL(e,t){let n=this.genBaseURL("/api/marketplace/interaction/img/get_url"),r={Key:(e||{}).Key};return this.request({url:n,method:"GET",params:r},t)}AdminUpsertUserStatus(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/user/upsert_status"),r={user_id:e.user_id,status:e.status};return this.request({url:n,method:"POST",data:r},t)}PublicSetSelfView(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/self_view/set"),i={item_id:n.item_id,item_type:n.item_type};return this.request({url:r,method:"POST",data:i},t)}AdminGetUploadToken(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/upload/token");return this.request({url:n,method:"GET"},t)}AdminGetImgURL(e,t){let n=this.genBaseURL("/api/marketplace/interaction/admin/img/get_url"),r={Key:(e||{}).Key};return this.request({url:n,method:"GET",params:r},t)}AdminUpdateTopPost(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/admin/top_post/update"),i={post_id:n.post_id,title:n.title,content:n.content,content_text:n.content_text,resource:n.resource};return this.request({url:r,method:"POST",data:i},t)}PublicGetUserInteractionData(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/user/data"),i={user_id:n.user_id,need_gain_like_count:n.need_gain_like_count};return this.request({url:r,method:"GET",params:i},t)}PublicReportUserBehavior(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/user_behavior/report"),i={item_id:n.item_id,item_type:n.item_type,behavior_type:n.behavior_type};return this.request({url:r,method:"POST",data:i},t)}PublicGetLikeStatisticsList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/like_statistics/list"),i={cursor:n.cursor,limit:n.limit,keyword:n.keyword};return this.request({url:r,method:"GET",params:i},t)}PublicDeleteUserBehaviorRecord(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/user_behavior/delete"),i={item_type:n.item_type,item_id_list:n.item_id_list,behavior_type:n.behavior_type};return this.request({url:r,method:"POST",data:i},t)}PublicGetFollowerList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/follow/follower/list"),i={cursor:n.cursor,limit:n.limit};return this.request({url:r,method:"GET",params:i},t)}PublicGetFolloweeList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/follow/followee/list"),i={cursor:n.cursor,limit:n.limit,keyword:n.keyword};return this.request({url:r,method:"GET",params:i},t)}PublicDoFollow(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/follow/do"),i={item_id:n.item_id,item_type:n.item_type,is_cancel:n.is_cancel},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicGetVisitorUserList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/interaction/user_behavior/vistor_user/list"),i={cursor:n.cursor,limit:n.limit,begin_at:n.begin_at,end_at:n.end_at};return this.request({url:r,method:"GET",params:i},t)}constructor(e){r(this,"request",()=>{throw Error("MarketInteractionApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},90325:function(){"use strict";var e,t;(t=e||(e={}))[t.InEffect=1]="InEffect",t[t.NotBegun=2]="NotBegun",t[t.Finished=3]="Finished"},49964:function(){"use strict";var e,t;(t=e||(e={}))[t.Incr=1]="Incr",t[t.Set=2]="Set"},57750:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z;(A=e||(e={}))[A.User=1]="User",A[A.Bot=2]="Bot",(T=t||(t={}))[T.SubmitAudit=1]="SubmitAudit",T[T.SelfView=2]="SelfView",T[T.All=3]="All",T[T.Deleted=4]="Deleted",(x=n||(n={}))[x.Replying=1]="Replying",x[x.Done=2]="Done",(k=r||(r={}))[k.SelfView=1]="SelfView",k[k.All=2]="All",k[k.Deleted=3]="Deleted",(M=i||(i={}))[M.MainReply=1]="MainReply",M[M.SubReply=2]="SubReply",(P=o||(o={}))[P.Existed=0]="Existed",P[P.Deleted=1]="Deleted",(I=a||(a={}))[I.NotSet=0]="NotSet",I[I.AlreadySet=1]="AlreadySet",(E=s||(s={}))[E.Normal=0]="Normal",E[E.Ban=1]="Ban",(C=l||(l={}))[C.Close=1]="Close",C[C.Open=2]="Open",C[C.Ban=3]="Ban",(O=u||(u={}))[O.ByAdmin=1]="ByAdmin",O[O.ByProduct=2]="ByProduct",(D=c||(c={}))[D.EmojiThumbsUp=1]="EmojiThumbsUp",D[D.EmojiThumbsDown=2]="EmojiThumbsDown",D[D.EmojiFaceWithTearsOfJoy=3]="EmojiFaceWithTearsOfJoy",D[D.EmojiExplodingHead=4]="EmojiExplodingHead",D[D.EmojiFoldedHands=5]="EmojiFoldedHands",(L=d||(d={}))[L.Image=1]="Image",(B=p||(p={}))[B.Bot=1]="Bot",B[B.Arena=2]="Arena",B[B.Homepage=3]="Homepage",(N=h||(h={}))[N.Bot=1]="Bot",N[N.User=2]="User",N[N.Post=3]="Post",N[N.Comment=4]="Comment",N[N.Product=5]="Product",N[N.Discussion=6]="Discussion",(R=f||(f={}))[R.Link=1]="Link",R[R.QRCode=2]="QRCode",(j=g||(g={}))[j.NoPin=0]="NoPin",j[j.Owner=1]="Owner",j[j.Golbal=2]="Golbal",(U=m||(m={}))[U.SubmitAudit=1]="SubmitAudit",U[U.SelfView=2]="SelfView",U[U.All=3]="All",U[U.Deleted=4]="Deleted",(z=_||(_={}))[z.SelfView=1]="SelfView",z[z.All=2]="All",z[z.Deleted=3]="Deleted",(F=v||(v={}))[F.Like=1]="Like",F[F.DisLike=2]="DisLike",F[F.Emoji=3]="Emoji",(G=b||(b={}))[G.CopyLink=1]="CopyLink",G[G.Twitter=2]="Twitter",G[G.Reddit=3]="Reddit",G[G.WeChat=4]="WeChat",G[G.WeiBo=5]="WeiBo",G[G.JueJin=6]="JueJin",G[G.Qzone=7]="Qzone",G[G.Image=8]="Image",(q=y||(y={}))[q.PublishDesc=1]="PublishDesc",q[q.CommentCountDesc=2]="CommentCountDesc",(W=w||(w={}))[W.Used=1]="Used",W[W.Visited=2]="Visited",(Z=S||(S={}))[Z.Normal=0]="Normal",Z[Z.DisussionBan=1]="DisussionBan",Z[Z.Deactivated=2]="Deactivated"},48802:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Default=0]="Default",o[o.Pending=1]="Pending",o[o.Approved=2]="Approved",o[o.Rejected=3]="Rejected",o[o.Abandoned=4]="Abandoned",o[o.Failed=99]="Failed",(a=t||(t={}))[a.ProductDraft=10]="ProductDraft",a[a.UserProfile=18]="UserProfile",a[a.ConversationShared=19]="ConversationShared",a[a.Conversation=20]="Conversation",a[a.InterationPost=21]="InterationPost",a[a.InterationComment=22]="InterationComment",a[a.ProductWorkFlow=23]="ProductWorkFlow",a[a.ProductBot=24]="ProductBot",a[a.ProductPlugin=25]="ProductPlugin",a[a.ImageFlowUploadImages=26]="ImageFlowUploadImages",a[a.ImageFlowTestRun=27]="ImageFlowTestRun",a[a.ImageFlowPluginOutput=28]="ImageFlowPluginOutput",a[a.DataEngineKnowledge=29]="DataEngineKnowledge",a[a.BotAvatar=30]="BotAvatar",a[a.BotPublishSingleBot=31]="BotPublishSingleBot",a[a.BotPublishMultiAgent=32]="BotPublishMultiAgent",a[a.BotPublishPlugin=33]="BotPublishPlugin",a[a.BotPublishWorkflow=34]="BotPublishWorkflow",a[a.BotModify=35]="BotModify",a[a.BotCreate=36]="BotCreate",a[a.BotWorkflowAsAgentPublish=37]="BotWorkflowAsAgentPublish",a[a.BotWorkflowAsAgentModify=38]="BotWorkflowAsAgentModify",a[a.BotSingleAgentModify=39]="BotSingleAgentModify",a[a.SocietyCreate=40]="SocietyCreate",a[a.SocietyPublish=41]="SocietyPublish",a[a.SocietyRoleCreate=42]="SocietyRoleCreate",a[a.SocietyPrePublish=43]="SocietyPrePublish",a[a.ProductSociety=44]="ProductSociety",a[a.ProductImageFlow=46]="ProductImageFlow",a[a.PluginImageGenerateInput=48]="PluginImageGenerateInput",a[a.PluginImageGenerateOutputImage=49]="PluginImageGenerateOutputImage",a[a.PluginImageGenerateOutputVideo=50]="PluginImageGenerateOutputVideo",a[a.PluginCreate=51]="PluginCreate",a[a.PluginModify=52]="PluginModify",a[a.VariableModify=53]="VariableModify",a[a.CardInfo=60]="CardInfo",a[a.AgentAppWriter=80]="AgentAppWriter",a[a.ModelArenaQuery=81]="ModelArenaQuery",a[a.MessageTrace=82]="MessageTrace",a[a.ResourcePrompt=83]="ResourcePrompt",a[a.ProjectIDEModify=84]="ProjectIDEModify",a[a.TemplateBot=85]="TemplateBot",a[a.TemplateWorkflow=86]="TemplateWorkflow",a[a.TemplateProject=87]="TemplateProject",a[a.ProductProject=88]="ProductProject",a[a.ProjectPublish=89]="ProjectPublish",a[a.ProjectUIBuilder=90]="ProjectUIBuilder",a[a.WorkflowRuntimeInput=100]="WorkflowRuntimeInput",(s=n||(n={}))[s.Default=0]="Default",s[s.Recall=1]="Recall",s[s.Report=2]="Report",s[s.Review=3]="Review",(l=r||(r={}))[l.Other=0]="Other",l[l.Ad=1]="Ad",l[l.Uncomfortable=2]="Uncomfortable",l[l.Illegal=3]="Illegal",l[l.Cult=4]="Cult",l[l.Morals=5]="Morals",l[l.Porn=6]="Porn",l[l.Leaders=7]="Leaders",l[l.SensitiveParty=8]="SensitiveParty",l[l.InvalidContent=9]="InvalidContent",l[l.LinksIllegal=10]="LinksIllegal",(u=i||(i={}))[u.BotPublish=1e3]="BotPublish",u[u.BotPublishBotIcon=1001]="BotPublishBotIcon",u[u.BotPublishBotName=1002]="BotPublishBotName",u[u.BotPublishBotDesc=1003]="BotPublishBotDesc",u[u.BotPublishBotPrompt=1004]="BotPublishBotPrompt",u[u.BotPublishBotDatabase=1005]="BotPublishBotDatabase",u[u.BotPublishBotTask=1006]="BotPublishBotTask",u[u.BotPublishBotOnboardingPrologue=1007]="BotPublishBotOnboardingPrologue",u[u.BotPublishBotOnboardingSuggestedQuestions=1008]="BotPublishBotOnboardingSuggestedQuestions",u[u.BotPublishBotSuggestReply=1009]="BotPublishBotSuggestReply",u[u.BotPublishBotBackgroundImage=1010]="BotPublishBotBackgroundImage",u[u.BotPublishBotShortcutCommandList=1011]="BotPublishBotShortcutCommandList",u[u.BotPublishBotQueryCollectConf=1012]="BotPublishBotQueryCollectConf",u[u.BotPublishSimpleAgentName=1013]="BotPublishSimpleAgentName",u[u.BotPublishSimpleAgentPrompt=1014]="BotPublishSimpleAgentPrompt",u[u.BotPublishSimpleAgentScene=1015]="BotPublishSimpleAgentScene",u[u.BotPublishSimpleAgentSkills=1016]="BotPublishSimpleAgentSkills",u[u.BotPublishSimpleAgentSuggestReplyInfo=1017]="BotPublishSimpleAgentSuggestReplyInfo",u[u.BotPublishBotAgentBotIcon=1018]="BotPublishBotAgentBotIcon",u[u.BotPublishBotAgentBotName=1019]="BotPublishBotAgentBotName",u[u.BotPublishBotAgentScene=1020]="BotPublishBotAgentScene",u[u.BotPublishBotAgentSuggestReplyInfo=1021]="BotPublishBotAgentSuggestReplyInfo",u[u.BotPublishGlobalJumpConditions=1022]="BotPublishGlobalJumpConditions",u[u.BotPublishPlugin=1200]="BotPublishPlugin",u[u.BotPublishWorkflow=1300]="BotPublishWorkflow",u[u.ProductPlugin=2200]="ProductPlugin",u[u.ProductPluginProductInfo=2201]="ProductPluginProductInfo",u[u.ProductPluginPluginInfo=2202]="ProductPluginPluginInfo",u[u.ProductPluginAPIs=2203]="ProductPluginAPIs",u[u.ProductWorkflow=2300]="ProductWorkflow",u[u.ProductImageFlow=2400]="ProductImageFlow",u[u.InteractionPost=3100]="InteractionPost",u[u.InteractionComment=3200]="InteractionComment",u[u.Society=4e3]="Society",u[u.SocietyBasicInfoIcon=4001]="SocietyBasicInfoIcon",u[u.SocietyBasicInfoName=4002]="SocietyBasicInfoName",u[u.SocietyBasicInfoDesc=4003]="SocietyBasicInfoDesc",u[u.SocietyBasicInfoPrompt=4004]="SocietyBasicInfoPrompt",u[u.SocietyHostInfoIcon=4005]="SocietyHostInfoIcon",u[u.SocietyHostInfoName=4006]="SocietyHostInfoName",u[u.SocietyHostInfoDesc=4007]="SocietyHostInfoDesc",u[u.SocietyRoleInfoIcon=4008]="SocietyRoleInfoIcon",u[u.SocietyRoleInfoName=4009]="SocietyRoleInfoName",u[u.SocietyRoleInfoDesc=4010]="SocietyRoleInfoDesc",u[u.SocietyRoleInfoNickName=4011]="SocietyRoleInfoNickName",u[u.Project=5e3]="Project",u[u.ProjectBasicInfoName=5001]="ProjectBasicInfoName",u[u.ProjectBasicInfoDesc=5002]="ProjectBasicInfoDesc",u[u.ProjectBasicInfoIcon=5003]="ProjectBasicInfoIcon",u[u.ProjectPlugin=5100]="ProjectPlugin",u[u.ProjectWorkflow=5200]="ProjectWorkflow",u[u.ProjectUI=5300]="ProjectUI",u[u.ProjectData=5400]="ProjectData"},60109:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Followee=1]="Followee",n[n.Follower=2]="Follower",n[n.MutualFollow=3]="MutualFollow",(r=t||(t={}))[r.Unknown=0]="Unknown",r[r.Normal=1]="Normal",r[r.ProfessionalRootUser=2]="ProfessionalRootUser",r[r.ProfessionalBasicAccount=3]="ProfessionalBasicAccount"},52508:function(){"use strict";var e,t;(t=e||(e={}))[t.SuperManager=1]="SuperManager",t[t.Default=2]="Default",t[t.Anonymous=3]="Anonymous"},53548:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.PostStatus=1]="PostStatus",n[n.PostCommentCount=2]="PostCommentCount",n[n.PostEvaluationScore=3]="PostEvaluationScore",n[n.CommentStatus=10]="CommentStatus",n[n.CommentEvaluationScore=11]="CommentEvaluationScore",(r=t||(t={}))[r.Full=1]="Full",r[r.Partial=2]="Partial"},7394:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Co:function(){return i}}),n("83015"),n("21217"),n("14805"),n("33087"),n("29624"),n("58545"),n("84688"),n("54714"),n("54684"),n("37767"),n("29597"),n("42334"),n("2833"),n("36096"),n("71094"),n("50765");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetUserDataSourceList(e,t){let n=e||{},r=this.genBaseURL("/api/memory/get_data_source_list"),i={redirect_url:n.redirect_url,Base:n.Base},o={host:n.host};return this.request({url:r,method:"POST",data:i,headers:o},t)}AssociateFile(e,t){let n=e||{},r=this.genBaseURL("/api/memory/associate_file"),i={params:n.params,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CheckSourceFile(e,t){let n=e||{},r=this.genBaseURL("/api/memory/source_file_check"),i={source_file_id:n.source_file_id,redirect_uri:n.redirect_uri,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAuthorizationFileList(e,t){let n=this.genBaseURL("/api/memory/get_authorization_files"),r={data_source_id:e.data_source_id,file_type:e.file_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteUserDataSource(e,t){let n=e||{},r=this.genBaseURL("/api/memory/delete_user_authorization"),i={data_source_id:n.data_source_id,need_delete_document:n.need_delete_document,auth_id:n.auth_id,connector_id:n.connector_id,Base:n.Base};return this.request({url:r,method:"DELETE",params:i},t)}ProcessDocumentsTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/process_document"),i={creator_id:n.creator_id,dataset_id:n.dataset_id,document_infos:n.document_infos,rule:n.rule,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetDocumentTableInfo(e,t){let n=e||{},r=this.genBaseURL("/api/memory/doc_table_info"),i={submit_web_id:n.submit_web_id,tos_uri:n.tos_uri,document_id:n.document_id,creator_id:n.creator_id,source_file_id:n.source_file_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}ListDocument(e,t){let n=e||{},r=this.genBaseURL("/api/memory/list_document"),i={dataset_id:n.dataset_id,creator_id:n.creator_id,document_id:n.document_id,page:n.page,size:n.size,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetTableSchemaInfo(e,t){let n=e||{},r=this.genBaseURL("/api/memory/table_schema_info"),i={tos_uri:n.tos_uri,doc_table_info:n.doc_table_info,table_data_type:n.table_data_type,document_id:n.document_id,source_file:n.source_file,origin_table_meta:n.origin_table_meta,preview_table_meta:n.preview_table_meta,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetConnectorGray(e,t){let n=e||{},r=this.genBaseURL("/api/memory/connector_gray"),i={Base:n.Base},o={host:n.host};return this.request({url:r,method:"POST",data:i,headers:o},t)}RecommendDataModel(e,t){let n=this.genBaseURL("/api/memory/nl2db"),r={bot_id:e.bot_id,scene_type:e.scene_type,text:e.text,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchDeleteSlice(e,t){let n=this.genBaseURL("/api/memory/batch_delete_slice"),r={slice_id_list:e.slice_id_list,document_id:e.document_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SubmitUserPolicyRecord(e,t){let n=this.genBaseURL("/api/memory/knowledge/submit_user_policy_record"),r={policy_type:e.policy_type,user_policy_action:e.user_policy_action,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetNL2SQL(e,t){let n=this.genBaseURL("/api/memory/table_nl2sql"),r={text:e.text,bot_id:e.bot_id,connector_id:e.connector_id,connector_uid:e.connector_uid,table_type:e.table_type,database_id:e.database_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetModeConfig(e,t){let n=this.genBaseURL("/api/memory/table_mode_config"),r={bot_id:e.bot_id,connector_id:e.connector_id,connector_uid:e.connector_uid,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}CreateDataSet(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/create_dataset"),i={creator_id:n.creator_id,name:n.name,description:n.description,icon_uri:n.icon_uri,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ProcessWebDocumentsTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/process_web_document"),i={creator_id:n.creator_id,dataset_id:n.dataset_id,document_info:n.document_info,formatType:n.formatType,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetSliceList(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/get_slice_list"),i={doc_id:n.doc_id,sequence:n.sequence,key_word:n.key_word,creator_id:n.creator_id,page_no:n.page_no,page_size:n.page_size,sort_field:n.sort_field,is_asc:n.is_asc,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDataSetV2(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/list_dataset"),i={creator_id:n.creator_id,query:n.query,search_type:n.search_type,page:n.page,size:n.size,dataset_ids:n.dataset_ids,space_id:n.space_id,scope_type:n.scope_type,source_type:n.source_type,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateDataSetMeta(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/update_dataset_meta"),i={data_set_id:n.data_set_id,creator_id:n.creator_id,name:n.name,icon_uri:n.icon_uri,description:n.description,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateDocumentV2(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/update_document"),i={creator_id:n.creator_id,document_id:n.document_id,status:n.status,document_name:n.document_name,table_meta:n.table_meta,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitWebContentV2(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/submit_web_content"),i={web_id:n.web_id,content:n.content,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetTaskProgressV2(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/get_task_progress"),i={document_id:n.document_id,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateSliceContent(e,t){let n=this.genBaseURL("/api/memory/knowledge/update_slice_content"),r={slice_id:e.slice_id,creator_id:e.creator_id,content:e.content,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DelSlice(e,t){let n=this.genBaseURL("/api/memory/knowledge/delete_slice"),r={slice_id:e.slice_id,creator_id:e.creator_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ChangeSliceStatus(e,t){let n=this.genBaseURL("/api/memory/knowledge/change_slice_status"),r={slice_id:e.slice_id,creator_id:e.creator_id,status:e.status,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetBotListByDataset(e,t){let n=this.genBaseURL("/api/memory/knowledge/get_bot_list"),r={dataset_id:e.dataset_id,page_size:e.page_size,page_no:e.page_no,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteDataSet(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/delete_dataset"),i={data_set_id:n.data_set_id,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}QueryWebInfo(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/query_web_info"),i={web_ids:n.web_ids,include_content:n.include_content,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitWebUrl(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/submit_web_url"),i={web_url:n.web_url,subpages_count:n.subpages_count,creator_id:n.creator_id,format_type:n.format_type,title:n.title,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DelWebData(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/delete_web_data"),i={web_id:n.web_id,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}Resegment(e,t){let n=this.genBaseURL("/api/memory/knowledge/resegment"),r={dataset_id:e.dataset_id,document_id:e.document_id,rule:e.rule,format_type:e.format_type,creator_id:e.creator_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateSlice(e,t){let n=this.genBaseURL("/api/memory/knowledge/create_slice"),r={document_id:e.document_id,creator_id:e.creator_id,content:e.content,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateWebRule(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/update_web_rule"),i={document_id:n.document_id,update_type:n.update_type,update_interval:n.update_interval,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateDocument(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/create_document"),i={creator_id:n.creator_id,dataset_id:n.dataset_id,document:n.document,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}TableSchemaValid(e,t){let n=this.genBaseURL("/api/memory/knowledge/table_info_valid"),r={space_id:e.space_id,document_id:e.document_id,source_file:e.source_file,user_table_info:e.user_table_info,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}AddSegment(e,t){let n=this.genBaseURL("/api/memory/knowledge/add_segment"),r={space_id:e.space_id,document_id:e.document_id,source_type:e.source_type,source_file:e.source_file,user_table_info:e.user_table_info,append_type:e.append_type,append_sequence:e.append_sequence,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}InsertBotTable(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/table/add"),i={bot_table:n.bot_table,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SearchBotTableInfo(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/table_info/query"),i={key_word:n.key_word,limit:n.limit,offset:n.offset,connector_uid:n.connector_uid,connector_id:n.connector_id,bot_id:n.bot_id,table_name:n.table_name,table_id:n.table_id,ref_info:n.ref_info,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetBotTable(e,t){let n=this.genBaseURL("/api/memory/database/table/list"),r={creator_id:e.creator_id,bot_id:e.bot_id,table_ids:e.table_ids,table_type:e.table_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SetKvMemory(e,t){let n=this.genBaseURL("/api/memory/variable/upsert"),r={bot_id:e.bot_id,user_id:e.user_id,data:e.data,connector_id:e.connector_id,ref_info:e.ref_info,project_id:e.project_id,ProjectVersion:e.ProjectVersion,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPlayGroundMemory(e,t){let n=e||{},r=this.genBaseURL("/api/memory/variable/get"),i={user_id:n.user_id,bot_id:n.bot_id,keywords:n.keywords,connector_id:n.connector_id,version:n.version,ref_info:n.ref_info,ext:n.ext,project_id:n.project_id,ProjectVersion:n.ProjectVersion,VariableChannel:n.VariableChannel,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}AlterBotTable(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/table/alter"),i={bot_table:n.bot_table,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteBotTable(e,t){let n=this.genBaseURL("/api/memory/database/table/delete"),r={related_id:e.related_id,table_id:e.table_id,user_id:e.user_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DelProfileMemory(e,t){let n=e||{},r=this.genBaseURL("/api/memory/variable/delete"),i={user_id:n.user_id,bot_id:n.bot_id,keywords:n.keywords,connector_id:n.connector_id,ref_info:n.ref_info,project_id:n.project_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitConnectionTask(e,t){let n=this.genBaseURL("/api/memory/knowledge/submit_connection_task"),r={connection_file_node_list:e.connection_file_node_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}MGetAuthInfo(e,t){let n=this.genBaseURL("/api/memory/knowledge/query_auth_info"),r={connector_id_list:e.connector_id_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetConnectionEntity(e,t){let n=this.genBaseURL("/api/memory/knowledge/get_connection_entity"),r={entity_id:e.entity_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PollConnectionTask(e,t){let n=this.genBaseURL("/api/memory/knowledge/poll_connection_task"),r={instance_id_list:e.instance_id_list,file_node_type:e.file_node_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDataSourceFileTree(e,t){let n=this.genBaseURL("/api/memory/knowledge/data_source_files"),r={auth_id:e.auth_id,file_type_list:e.file_type_list,folder_id:e.folder_id,query_all:e.query_all,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DataSourceOAuthConsentURL(e,t){let n=this.genBaseURL("/api/memory/knowledge/oauth_consent_url"),r={connector_id:e.connector_id,redirect_url:e.redirect_url,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RetryEntityTask(e,t){let n=this.genBaseURL("/api/memory/knowledge/retry_entity_task"),r={entity_id:e.entity_id,instance_id:e.instance_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CancelConnectionTask(e,t){let n=this.genBaseURL("/api/memory/knowledge/cancel_connetion_task"),r={instance_id_list:e.instance_id_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DataSourceOAuthComplete(e,t){let n=this.genBaseURL("/api/memory/knowledge/oauth_complete"),r={code:e.code,state:e.state,auth_code:e.auth_code};return this.request({url:n,method:"GET",params:r},t)}SubmitCrawlData(e,t){let n=e||{},r=this.genBaseURL("/api/memory/submit_crawl_data"),i={web_documents:n.web_documents,dataset_id:n.dataset_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetConnectorIDList(e,t){let n=this.genBaseURL("/api/memory/knowledge/get_connector_id_list"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}ResetBotTable(e,t){let n=this.genBaseURL("/api/memory/database/table/reset"),r={creator_id:e.creator_id,bot_id:e.bot_id,table_id:e.table_id,table_type:e.table_type,connector_id:e.connector_id,connector_uid:e.connector_uid,workflow_id:e.workflow_id,database_info_id:e.database_info_id,project_id:e.project_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ValidateUnitName(e,t){let n=this.genBaseURL("/api/memory/knowledge/validate_unit_name"),r={space_id:e.space_id,dataset_id:e.dataset_id,unit_name:e.unit_name,format_type:e.format_type,document_id:e.document_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ConnectorPreCheck(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/connector_pre_check"),i={source_connector_id:n.source_connector_id,source_connector_param:n.source_connector_param,dest_connector_id:n.dest_connector_id,dest_connector_param:n.dest_connector_param,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitBatchCrawlTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/submit_batch_crawl_task"),i={web_urls:n.web_urls,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateSubLinkDiscoveryTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/create_sub_link_discovery_task"),i={url:n.url,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}AbortSubLinkDiscoveryTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/abort_sub_link_discovery_task"),i={task_id:n.task_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ParseSiteMap(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/parse_site_map"),i={sitemap_url:n.sitemap_url,creator_id:n.creator_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetSubLinkDiscoveryTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/knowledge/get_sub_link_discovery_task"),i={task_id:n.task_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}GetSysVariableConf(e,t){let n=this.genBaseURL("/api/memory/sys_variable_conf"),r={Base:(e||{}).Base};return this.request({url:n,method:"GET",params:r},t)}DeleteDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/delete"),i={id:n.id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BindDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/bind_to_bot"),i={database_id:n.database_id,bot_id:n.bot_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListDatabaseRecords(e,t){let n=this.genBaseURL("/api/memory/database/list_records"),r={database_id:e.database_id,bot_id:e.bot_id,workflow_id:e.workflow_id,not_filter_by_user_id:e.not_filter_by_user_id,not_filter_by_connector_id:e.not_filter_by_connector_id,table_type:e.table_type,limit:e.limit,offset:e.offset,project_id:e.project_id,filter_criterion:e.filter_criterion,order_by_list:e.order_by_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListDatabase(e,t){let n=this.genBaseURL("/api/memory/database/list"),r={creator_id:e.creator_id,project_id:e.project_id,space_id:e.space_id,bot_id:e.bot_id,table_name:e.table_name,table_type:e.table_type,order_by:e.order_by,offset:e.offset,limit:e.limit,filter_criterion:e.filter_criterion,order_by_list:e.order_by_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/update"),i={id:n.id,icon_uri:n.icon_uri,table_name:n.table_name,table_desc:n.table_desc,field_list:n.field_list,rw_mode:n.rw_mode,prompt_disabled:n.prompt_disabled,extra_info:n.extra_info,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UnBindDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/unbind_to_bot"),i={database_id:n.database_id,bot_id:n.bot_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateDatabaseRecords(e,t){let n=this.genBaseURL("/api/memory/database/update_records"),r={database_id:e.database_id,record_data_add:e.record_data_add,record_data_alter:e.record_data_alter,record_data_delete:e.record_data_delete,table_type:e.table_type,ori_connector_id:e.ori_connector_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDatabaseByID(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/get_by_id"),i={id:n.id,is_draft:n.is_draft,need_sys_fields:n.need_sys_fields,version:n.version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}AddDatabase(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/add"),i={creator_id:n.creator_id,space_id:n.space_id,project_id:n.project_id,icon_uri:n.icon_uri,table_name:n.table_name,table_desc:n.table_desc,field_list:n.field_list,rw_mode:n.rw_mode,prompt_disabled:n.prompt_disabled,extra_info:n.extra_info,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetProjectVariableList(e,t){let n=e||{},r=this.genBaseURL("/api/memory/project/variable/meta_list"),i={ProjectID:n.ProjectID,UserID:n.UserID,version:n.version,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}MigrateOldData(e,t){let n=e||{},r=this.genBaseURL("/api/memory/database/migrate_old_data"),i={bot_type:n.bot_type,bot_id:n.bot_id,table_ids:n.table_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetBotDatabase(e,t){let n=this.genBaseURL("/api/memory/database/table/list_new"),r={creator_id:e.creator_id,bot_id:e.bot_id,table_ids:e.table_ids,table_type:e.table_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateProjectVariable(e,t){let n=e||{},r=this.genBaseURL("/api/memory/project/variable/meta_update"),i={ProjectID:n.ProjectID,UserID:n.UserID,VariableList:n.VariableList,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetOnlineDatabaseId(e,t){let n=this.genBaseURL("/api/memory/database/get_online_database_id"),r={id:e.id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMemoryVariableMeta(e,t){let n=e||{},r=this.genBaseURL("/api/memory/variable/get_meta"),i={ConnectorID:n.ConnectorID,ConnectorType:n.ConnectorType,version:n.version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SubmitDatabaseInsertTask(e,t){let n=e||{},r=this.genBaseURL("/api/memory/table_file/submit"),i={database_id:n.database_id,file_uri:n.file_uri,table_type:n.table_type,table_sheet:n.table_sheet,connector_id:n.connector_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetTableSchema(e,t){let n=e||{},r=this.genBaseURL("/api/memory/table_schema/get"),i={table_sheet:n.table_sheet,table_data_type:n.table_data_type,database_id:n.database_id,source_file:n.source_file,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DatabaseFileProgressData(e,t){let n=this.genBaseURL("/api/memory/table_file/get_progress"),r={database_id:e.database_id,table_type:e.table_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ValidateTableSchema(e,t){let n=e||{},r=this.genBaseURL("/api/memory/table_schema/validate"),i={space_id:n.space_id,database_id:n.database_id,source_file:n.source_file,table_sheet:n.table_sheet,table_type:n.table_type,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetConnectorName(e,t){let n=this.genBaseURL("/api/memory/database/get_connector_name"),r={SpaceId:e.SpaceId,Version:e.Version,ConnectorID:e.ConnectorID,ListAll:e.ListAll,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDatabaseTemplate(e,t){let n=this.genBaseURL("/api/memory/database/get_template"),r={database_id:e.database_id,table_type:e.table_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateDatabaseBotSwitch(e,t){let n=this.genBaseURL("/api/memory/database/update_bot_switch"),r={bot_id:e.bot_id,database_id:e.database_id,prompt_disable:e.prompt_disable,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWeChatTicket(e,t){let n=e||{},r=this.genBaseURL("/api/memory/wechat/get_ticket"),i={Data:n.Data,Base:n.Base},o={encrypt_type:n.encrypt_type,timestamp:n.timestamp,nonce:n.nonce,msg_signature:n.msg_signature,signature:n.signature};return this.request({url:r,method:"POST",data:i,params:o},t)}constructor(e){r(this,"request",()=>{throw Error("MemoryService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},21217:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R;(b=e||(e={}))[b.Start_Agent=0]="Start_Agent",b[b.LLM_Agent=1]="LLM_Agent",b[b.Task_Agent=2]="Task_Agent",b[b.Global_Agent=3]="Global_Agent",b[b.Bot_Agent=4]="Bot_Agent",(y=t||(t={}))[y.OldVersion=0]="OldVersion",y[y.MiddleVersion=1]="MiddleVersion",y[y.NewVersion=2]="NewVersion",y[y.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(w=n||(n={}))[w.Default=1]="Default",w[w.Customize=2]="Customize",(S=r||(r={}))[S.Direct=1]="Direct",S[S.WebView=2]="WebView",S[S.SendMessage=3]="SendMessage",(A=i||(i={}))[A.Current=1]="Current",A[A.Previous=2]="Previous",A[A.Start=3]="Start",A[A.MostSuitable=4]="MostSuitable",(T=o||(o={}))[T.SingleMode=0]="SingleMode",T[T.MultiMode=1]="MultiMode",(x=a||(a={}))[x.Default=0]="Default",x[x.Function=1]="Function",(k=s||(s={}))[k.Chat=0]="Chat",k[k.FunctionCall_1=1]="FunctionCall_1",k[k.FunctionCall_2=2]="FunctionCall_2",k[k.FunctionCall_3=3]="FunctionCall_3",(M=l||(l={}))[M.Text=1]="Text",M[M.Number=2]="Number",M[M.Date=3]="Date",M[M.Float=4]="Float",M[M.Boolean=5]="Boolean",(P=u||(u={}))[P.Off=0]="Off",P[P.On=1]="On",(I=c||(c={}))[I.Default=0]="Default",I[I.CustomizePrompt=1]="CustomizePrompt",(E=d||(d={}))[E.ReplyBottom=0]="ReplyBottom",E[E.CardList=1]="CardList",(C=p||(p={}))[C.Curve=0]="Curve",C[C.Straight=1]="Straight",(O=h||(h={}))[O.Flow=1]="Flow",O[O.Host=2]="Host",(D=f||(f={}))[D.NO_NEED=1]="NO_NEED",D[D.USE_MANUAL=2]="USE_MANUAL",D[D.USE_LLM=3]="USE_LLM",(L=g||(g={}))[L.FunctionCall=1]="FunctionCall",L[L.Independent=2]="Independent",(B=m||(m={}))[B.SemanticSearch=0]="SemanticSearch",B[B.HybirdSearch=1]="HybirdSearch",B[B.FullTextSearch=20]="FullTextSearch",(N=_||(_={}))[N.System=0]="System",N[N.Custom=1]="Custom",N[N.Disable=2]="Disable",N[N.OriBot=3]="OriBot",(R=v||(v={}))[R.Off=0]="Off",R[R.On=1]="On"},14805:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Unknown=0]="Unknown",l[l.Text=1]="Text",l[l.Number=2]="Number",l[l.Date=3]="Date",l[l.Float=4]="Float",l[l.Boolean=5]="Boolean",l[l.Image=6]="Image",(u=t||(t={}))[u.DataSetprocessing=0]="DataSetprocessing",u[u.DataSetReady=1]="DataSetReady",u[u.DataSetFailed=9]="DataSetFailed",(c=n||(n={}))[c.Document=0]="Document",c[c.Web=1]="Web",c[c.Custom=2]="Custom",c[c.ThirdParty=3]="ThirdParty",c[c.FrontCrawl=4]="FrontCrawl",c[c.Notion=101]="Notion",c[c.GoogleDrive=102]="GoogleDrive",c[c.FeishuWeb=103]="FeishuWeb",c[c.LarkWeb=104]="LarkWeb",c[c.WeChat=109]="WeChat",(d=r||(r={}))[d.Processing=0]="Processing",d[d.Enable=1]="Enable",d[d.Disable=2]="Disable",d[d.Deleted=3]="Deleted",d[d.Resegment=4]="Resegment",d[d.Refreshing=5]="Refreshing",d[d.Failed=9]="Failed",(p=i||(i={}))[p.NoUpdate=0]="NoUpdate",p[p.Cover=1]="Cover",p[p.Append=2]="Append",(h=o||(o={}))[h.Text=0]="Text",h[h.Table=1]="Table",h[h.Image=2]="Image",h[h.Database=3]="Database",(f=a||(a={}))[f.PendingVectoring=0]="PendingVectoring",f[f.FinishVectoring=1]="FinishVectoring",f[f.Deactive=9]="Deactive",f[f.AuditFailed=1e3]="AuditFailed",(g=s||(s={}))[g.Handling=0]="Handling",g[g.Finish=1]="Finish",g[g.Failed=2]="Failed"},33087:function(){"use strict";var e,t;(t=e||(e={}))[t.TimeUnlimited=0]="TimeUnlimited",t[t.WithinAWeek=1]="WithinAWeek",t[t.WithinAMonth=2]="WithinAMonth",t[t.WithinAYear=3]="WithinAYear"},29624:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.enable=1]="enable",i[i.delete=2]="delete",i[i.expire=3]="expire",(o=t||(t={}))[o.Notion=101]="Notion",o[o.GoogleDrive=102]="GoogleDrive",o[o.FeishuWeb=103]="FeishuWeb",o[o.DestinationTos=104]="DestinationTos",o[o.LarkWeb=105]="LarkWeb",o[o.WeChat=109]="WeChat",(a=n||(n={}))[a.DocSourceTypeDrive=1]="DocSourceTypeDrive",a[a.DocSourceTypeWiki=2]="DocSourceTypeWiki",a[a.DocSourceTypeWeChat=3]="DocSourceTypeWeChat",(s=r||(r={}))[s.Folder=1]="Folder",s[s.Document=2]="Document",s[s.Sheet=3]="Sheet",s[s.Space=4]="Space"},58545:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO;(W=e||(e={}))[W.RequireAction=0]="RequireAction",W[W.RequireMessage=1]="RequireMessage",(Z=t||(t={}))[Z.NotFinished=0]="NotFinished",Z[Z.Interrupted=1]="Interrupted",Z[Z.NoResults=2]="NoResults",Z[Z.WithResults=3]="WithResults",(H=n||(n={}))[H.None=0]="None",H[H.Featured=1]="Featured",H[H.Discoverable=2]="Discoverable",(V=r||(r={}))[V.USER_RES=0]="USER_RES",V[V.USER_LLM_RES=1]="USER_LLM_RES",V[V.USER_LLM_TOOLLEN_RES=2]="USER_LLM_TOOLLEN_RES",V[V.USER_LLM_TOOL_RES=3]="USER_LLM_TOOL_RES",V[V.USER_LLM_TOOL=4]="USER_LLM_TOOL",(Q=i||(i={}))[Q.Unknown=0]="Unknown",Q[Q.Single=1]="Single",Q[Q.Group=2]="Group",(Y=o||(o={}))[Y.Txt=1]="Txt",Y[Y.Image=2]="Image",Y[Y.Audio=3]="Audio",Y[Y.Video=4]="Video",Y[Y.Link=6]="Link",Y[Y.Music=7]="Music",Y[Y.Tako=8]="Tako",Y[Y.File=9]="File",Y[Y.Card=50]="Card",Y[Y.BotCard=51]="BotCard",Y[Y.Widget=52]="Widget",Y[Y.APP=100]="APP",Y[Y.OutputSearchResult=200]="OutputSearchResult",Y[Y.OutputMultiStream=201]="OutputMultiStream",Y[Y.SearchIntentionResult=300]="SearchIntentionResult",($=a||(a={}))[$.Success=1]="Success",$[$.SystemLimitation=2]="SystemLimitation",$[$.UserLimitation=3]="UserLimitation",(K=s||(s={}))[K.System=0]="System",K[K.User=1]="User",K[K.Assistant=2]="Assistant",K[K.Placeholder=3]="Placeholder",K[K.LLMOutput=4]="LLMOutput",K[K.ToolOutput=5]="ToolOutput",K[K.Function=6]="Function",(X=l||(l={}))[X.ParamErr=1]="ParamErr",X[X.InnerErr=2]="InnerErr",X[X.WebGPT=4]="WebGPT",X[X.ByteArtist=5]="ByteArtist",X[X.Claude=6]="Claude",X[X.Dalle2=7]="Dalle2",X[X.GPT=8]="GPT",X[X.Seed=9]="Seed",X[X.StableDiffusion=10]="StableDiffusion",X[X.RiskSecurity=11]="RiskSecurity",X[X.RequireLocation=12]="RequireLocation",X[X.SigInterrupt=702112002]="SigInterrupt",X[X.Timeout=702112101]="Timeout",X[X.AuthenticationError=702112102]="AuthenticationError",X[X.RateLimitError=702112103]="RateLimitError",X[X.InvalidRequestError=702112104]="InvalidRequestError",X[X.FunctionInputError=702112105]="FunctionInputError",X[X.EngineInternalError=702112106]="EngineInternalError",X[X.MaximumTokenError=702112107]="MaximumTokenError",X[X.NotSupportRoleTypeError=702112108]="NotSupportRoleTypeError",X[X.AbParamsError=702112109]="AbParamsError",X[X.ParseTemplateError=702112110]="ParseTemplateError",X[X.ModelAKInvalidError=702112111]="ModelAKInvalidError",X[X.PluginRequireAuthorityError=702112112]="PluginRequireAuthorityError",(J=u||(u={}))[J.Normal=0]="Normal",J[J.PluginInterrupt=1]="PluginInterrupt",(ee=c||(c={}))[ee.None=0]="None",ee[ee.GoogleNLP=1]="GoogleNLP",ee[ee.ToutiaoWiki=2]="ToutiaoWiki",(et=d||(d={}))[et.Text=1]="Text",et[et.Video=2]="Video",et[et.Image=3]="Image",(en=p||(p={}))[en.Default=1]="Default",en[en.SearchText=2]="SearchText",en[en.SearchVideo=3]="SearchVideo",en[en.ComplexSearchText=4]="ComplexSearchText",en[en.SearchImage=5]="SearchImage",en[en.SearchRichMedia=6]="SearchRichMedia",en[en.SearchRichMediaStrong=7]="SearchRichMediaStrong",en[en.SearchRichMediaWeak=8]="SearchRichMediaWeak",(er=h||(h={}))[er.Chat=1]="Chat",er[er.Suggest=2]="Suggest",er[er.QueryKeyword=3]="QueryKeyword",er[er.Workflow=4]="Workflow",er[er.OnboardingOnline=5]="OnboardingOnline",er[er.OnboardingOffline=6]="OnboardingOffline",er[er.Naming=7]="Naming",er[er.GenProfile=8]="GenProfile",er[er.BrowserPlugin=9]="BrowserPlugin",er[er.BrowserPluginSearch=10]="BrowserPluginSearch",er[er.BrowserPluginExplain=11]="BrowserPluginExplain",er[er.BrowserPluginTranslate=12]="BrowserPluginTranslate",er[er.BrowserPluginSummary=13]="BrowserPluginSummary",er[er.BrowserPluginGrammar=14]="BrowserPluginGrammar",er[er.BrowserPluginRewrite=15]="BrowserPluginRewrite",er[er.BrowserPluginWebSummary=16]="BrowserPluginWebSummary",er[er.HotSearch=17]="HotSearch",er[er.HotSearchPreload=18]="HotSearchPreload",er[er.InputSug=19]="InputSug",er[er.NewsPush=20]="NewsPush",er[er.NewsPushPreload=21]="NewsPushPreload",er[er.OnboardingSug=22]="OnboardingSug",er[er.OnboardingSugPreload=23]="OnboardingSugPreload",er[er.WebNotLogin=24]="WebNotLogin",er[er.BackOnboardingSug=25]="BackOnboardingSug",er[er.GenCard=26]="GenCard",er[er.HighLightMsg=27]="HighLightMsg",er[er.HighLightMsgSearch=28]="HighLightMsgSearch",er[er.BrowserPluginSelectionQuestion=29]="BrowserPluginSelectionQuestion",er[er.BrowserPluginYoutubeSummary=30]="BrowserPluginYoutubeSummary",er[er.BrowserPluginRawChain=31]="BrowserPluginRawChain",er[er.BrowserPluginPDFReader=32]="BrowserPluginPDFReader",er[er.BrowserPluginImgReader=33]="BrowserPluginImgReader",er[er.SearchSummary=34]="SearchSummary",(ei=f||(f={}))[ei.Nothing=0]="Nothing",ei[ei.DouYin=1]="DouYin",ei[ei.TikTok=2]="TikTok",g||(g={}),(eo=m||(m={}))[eo.System=1]="System",eo[eo.User=2]="User",eo[eo.Assistant=3]="Assistant",eo[eo.Placeholder=4]="Placeholder",eo[eo.Function=5]="Function",(ea=_||(_={}))[ea.Replaceable=1]="Replaceable",ea[ea.Insertable=2]="Insertable",ea[ea.DocumentRef=3]="DocumentRef",ea[ea.KnowledgeCard=4]="KnowledgeCard",ea[ea.EmbeddedMultimedia=100]="EmbeddedMultimedia",(es=v||(v={}))[es.GPT=1]="GPT",es[es.Seed=2]="Seed",es[es.Claude=3]="Claude",es[es.MiniMax=4]="MiniMax",es[es.Plugin=5]="Plugin",es[es.StableDiffusion=6]="StableDiffusion",es[es.ByteArtist=7]="ByteArtist",es[es.Edu=8]="Edu",es[es.Maas=9]="Maas",es[es.QianFan=10]="QianFan",es[es.Gemini=11]="Gemini",es[es.Moonshot=12]="Moonshot",es[es.GLM=13]="GLM",es[es.MaaSAutoSync=14]="MaaSAutoSync",es[es.QWen=15]="QWen",es[es.Cohere=16]="Cohere",es[es.Baichuan=17]="Baichuan",es[es.Ernie=18]="Ernie",es[es.DeekSeek=19]="DeekSeek",es[es.Llama=20]="Llama",(el=b||(b={}))[el.PromptEvaluatePlatform=1e3]="PromptEvaluatePlatform",el[el.FlowApp=2e3]="FlowApp",el[el.FlowOPAdmin=3e3]="FlowOPAdmin",el[el.FlowAll=3001]="FlowAll",el[el.BotPlatform=4e3]="BotPlatform",el[el.BotPlatformInhouse=4001]="BotPlatformInhouse",el[el.Workflow=5e3]="Workflow",el[el.Arena=6e3]="Arena",el[el.ArenaInhouse=6001]="ArenaInhouse",(eu=y||(y={}))[eu.GPT3dot5Turbo=1]="GPT3dot5Turbo",eu[eu.GPT4_32k=2]="GPT4_32k",eu[eu.GPT4=3]="GPT4",eu[eu.SeedBeta=4]="SeedBeta",eu[eu.SeedWebGPT=5]="SeedWebGPT",eu[eu.SeedSystem=6]="SeedSystem",eu[eu.SeedMusic=7]="SeedMusic",eu[eu.GPT4_32k0613=8]="GPT4_32k0613",eu[eu.Seed_Img2Text=9]="Seed_Img2Text",eu[eu.Seed_SCTest=10]="Seed_SCTest",eu[eu.Seed_Test=11]="Seed_Test",eu[eu.Seed_WithPlugins=12]="Seed_WithPlugins",eu[eu.GPT3dot5Turbo0613=13]="GPT3dot5Turbo0613",eu[eu.GPT35_Turbo16k=14]="GPT35_Turbo16k",eu[eu.SeedSota=15]="SeedSota",eu[eu.SeedSotaBrowsing=16]="SeedSotaBrowsing",eu[eu.SeedOmni=17]="SeedOmni",eu[eu.SeedFunctionCall=18]="SeedFunctionCall",eu[eu.SeedMain=19]="SeedMain",eu[eu.SeedBrowsingExperiment=20]="SeedBrowsingExperiment",eu[eu.SeedBrowsingOnly=21]="SeedBrowsingOnly",eu[eu.MiniMaxABAB5dot5Chat=22]="MiniMaxABAB5dot5Chat",eu[eu.Echo=23]="Echo",eu[eu.GPT4_0613=24]="GPT4_0613",eu[eu.SeedSystemWithMemory=25]="SeedSystemWithMemory",eu[eu.SeedSystemWithMemoryTest=26]="SeedSystemWithMemoryTest",eu[eu.SeedMap=27]="SeedMap",eu[eu.SeedSuggest=28]="SeedSuggest",eu[eu.SeedComplexInstruction=29]="SeedComplexInstruction",eu[eu.SeedComplexInstructionTest=30]="SeedComplexInstructionTest",eu[eu.Edu=31]="Edu",eu[eu.SeedSuggestOffline=32]="SeedSuggestOffline",eu[eu.SeedOmniSota=33]="SeedOmniSota",eu[eu.SeedStrongCharacterNearlinePortrait=34]="SeedStrongCharacterNearlinePortrait",(ec=w||(w={}))[ec.FuncBot=1]="FuncBot",ec[ec.Chain=2]="Chain",ec[ec.Agent=3]="Agent",ec[ec.Executor=4]="Executor",(ed=S||(S={}))[ed.InUse=1]="InUse",ed[ed.Pending=5]="Pending",ed[ed.Deleted=10]="Deleted",(ep=A||(A={}))[ep.GPT3dot5Turbo=1]="GPT3dot5Turbo",ep[ep.GPT4=2]="GPT4",ep[ep.Seed=3]="Seed",ep[ep.SeedMultiturn=4]="SeedMultiturn",ep[ep.StableDiffusion=5]="StableDiffusion",ep[ep.ByteArtist=6]="ByteArtist",ep[ep.Claude=7]="Claude",ep[ep.BingChat=8]="BingChat",ep[ep.Bard=9]="Bard",ep[ep.Assistant=10]="Assistant",ep[ep.DallE=11]="DallE",ep[ep.Midjourney=12]="Midjourney",ep[ep.TTSearch=13]="TTSearch",ep[ep.GPTTask=14]="GPTTask",ep[ep.GPT4Browsing=15]="GPT4Browsing",ep[ep.GPT4WithPlugins=16]="GPT4WithPlugins",ep[ep.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",ep[ep.SeedSystem=18]="SeedSystem",ep[ep.Plugin=20]="Plugin",ep[ep.GPT4Plugin=21]="GPT4Plugin",ep[ep.WebGPT=22]="WebGPT",ep[ep.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",ep[ep.AutoPlugin=24]="AutoPlugin",ep[ep.MiniMax=25]="MiniMax",ep[ep.GPT3dot5WithTako=26]="GPT3dot5WithTako",ep[ep.GPT4WithTako=27]="GPT4WithTako",ep[ep.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",ep[ep.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",ep[ep.SeedBeta=30]="SeedBeta",ep[ep.ByteArtistAnime=31]="ByteArtistAnime",ep[ep.GenMusic=32]="GenMusic",ep[ep.GPT48k=33]="GPT48k",ep[ep.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",ep[ep.SeedForTest=35]="SeedForTest",ep[ep.SeedOmniFake=36]="SeedOmniFake",ep[ep.SeedOmniBrowse=37]="SeedOmniBrowse",ep[ep.SeedOmniSota=38]="SeedOmniSota",ep[ep.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",ep[ep.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",ep[ep.CiciSearchMore=41]="CiciSearchMore",ep[ep.CiciSearchLess=42]="CiciSearchLess",ep[ep.CiciSearchBing=43]="CiciSearchBing",ep[ep.SeedOmniPlugin=44]="SeedOmniPlugin",ep[ep.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",ep[ep.GPT40613=46]="GPT40613",ep[ep.SeedForMap=47]="SeedForMap",ep[ep.SeedForMusic=48]="SeedForMusic",ep[ep.XiaoningWithMem=49]="XiaoningWithMem",ep[ep.GPT_35Turbo=100]="GPT_35Turbo",ep[ep.GPT_35Turbo0301=101]="GPT_35Turbo0301",ep[ep.GPT_4=102]="GPT_4",ep[ep.GPT_40314=103]="GPT_40314",ep[ep.GPT_432k=104]="GPT_432k",ep[ep.GPT_432k0314=105]="GPT_432k0314",ep[ep.Seed_Beta=106]="Seed_Beta",ep[ep.Seed_Music=107]="Seed_Music",ep[ep.GPT4_32k0613=108]="GPT4_32k0613",ep[ep.Seed_Img2Text=109]="Seed_Img2Text",ep[ep.Seed_WebGPT=110]="Seed_WebGPT",ep[ep.Seed_WithPlugins=111]="Seed_WithPlugins",ep[ep.GPT_35Turbo0613=112]="GPT_35Turbo0613",ep[ep.GPT_35Turbo16K=113]="GPT_35Turbo16K",ep[ep.Seed_Sota=114]="Seed_Sota",ep[ep.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",ep[ep.Seed_WithSystem=116]="Seed_WithSystem",ep[ep.Seed_Omni=118]="Seed_Omni",ep[ep.SeedFunctionCall=119]="SeedFunctionCall",ep[ep.Seed_Main=120]="Seed_Main",ep[ep.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",ep[ep.SeedBrowsingOnly=122]="SeedBrowsingOnly",ep[ep.Echo=123]="Echo",ep[ep.GPT_40613=124]="GPT_40613",ep[ep.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",ep[ep.Seed_Map=126]="Seed_Map",ep[ep.SeedSuggest=127]="SeedSuggest",ep[ep.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",ep[ep.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",ep[ep.Edu=130]="Edu",ep[ep.Tako_Intent=131]="Tako_Intent",ep[ep.Seed_Text2Img=132]="Seed_Text2Img",ep[ep.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",ep[ep.SeedForDouyin=134]="SeedForDouyin",ep[ep.SeedFunctionCallSp=135]="SeedFunctionCallSp",ep[ep.SeedSuggestOffline=136]="SeedSuggestOffline",ep[ep.SkylarkChat=137]="SkylarkChat",ep[ep.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",ep[ep.SkylarkPro_v1_1_TT=1704353638]="SkylarkPro_v1_1_TT",ep[ep.SkylarkPro_v1_1_TT_BROWSING=1704696164]="SkylarkPro_v1_1_TT_BROWSING",ep[ep.SeedBotTag=1705216686]="SeedBotTag",ep[ep.SeedStrongCharacterAudio=1705220979]="SeedStrongCharacterAudio",(eh=T||(T={}))[eh.UNK=0]="UNK",eh[eh.GPT3D5=1]="GPT3D5",eh[eh.GPT4=2]="GPT4",(ef=x||(x={}))[ef.Plugin=1]="Plugin",ef[ef.Hook=2]="Hook",ef[ef.GptEngine=3]="GptEngine",ef[ef.Edu=4]="Edu",(eg=k||(k={}))[eg.Unknown_MultiStreamScene=0]="Unknown_MultiStreamScene",eg[eg.CrowdTesting=1]="CrowdTesting",(em=M||(M={}))[em.Unknown_MultiStreamStatus=0]="Unknown_MultiStreamStatus",em[em.Start=1]="Start",em[em.End=2]="End",(e_=P||(P={}))[e_.Prologue=1]="Prologue",e_[e_.SuggestedQuestion=2]="SuggestedQuestion",(ev=I||(I={}))[ev.LLM_GEN=1]="LLM_GEN",ev[ev.LLM_GEN_THEN_TRANSLATE=2]="LLM_GEN_THEN_TRANSLATE",ev[ev.MANUAL=3]="MANUAL",ev[ev.MANUAL_THEN_TRANSLATE=4]="MANUAL_THEN_TRANSLATE",(eb=E||(E={}))[eb.FIRST_MET=1]="FIRST_MET",eb[eb.WELCOME_BACK=2]="WELCOME_BACK",(ey=C||(C={}))[ey.NO_NEED=1]="NO_NEED",ey[ey.USE_MANUAL=2]="USE_MANUAL",ey[ey.USE_LLM=3]="USE_LLM",(ew=O||(O={}))[ew.None=0]="None",ew[ew.OnboardingNotDisplay=1]="OnboardingNotDisplay",ew[ew.OnboardingPreset=2]="OnboardingPreset",ew[ew.OnboardingLLMGen=3]="OnboardingLLMGen",(eS=D||(D={}))[eS.PreGen_Query=1]="PreGen_Query",eS[eS.PreGen_PreQuery=2]="PreGen_PreQuery",eS[eS.PreGen_Continue=3]="PreGen_Continue",eS[eS.PreGen_End=4]="PreGen_End",(eA=L||(L={}))[eA.Block=0]="Block",eA[eA.Streaming=1]="Streaming",eA[eA.Full=2]="Full",(eT=B||(B={}))[eT.FString=1]="FString",eT[eT.Jinja2=2]="Jinja2",(ex=N||(N={}))[ex.Answer=1]="Answer",ex[ex.Suggest=2]="Suggest",ex[ex.LLMOutput=3]="LLMOutput",ex[ex.ToolOutput=4]="ToolOutput",ex[ex.DataSet=5]="DataSet",ex[ex.QueryKeyword=6]="QueryKeyword",ex[ex.IntermediateOutput=7]="IntermediateOutput",ex[ex.Verbose=100]="Verbose",ex[ex.PlaceHolder=101]="PlaceHolder",(ek=R||(R={}))[ek.ResultType_Default=0]="ResultType_Default",ek[ek.ResultType_PluginResponse=1]="ResultType_PluginResponse",ek[ek.ResultType_PluginIntent=2]="ResultType_PluginIntent",ek[ek.ResultType_Variables=3]="ResultType_Variables",ek[ek.ResultType_None=4]="ResultType_None",ek[ek.ResultType_BotSchema=5]="ResultType_BotSchema",ek[ek.ResultType_ReferenceVariable=6]="ResultType_ReferenceVariable",(eM=j||(j={}))[eM.ResumeDefault=0]="ResumeDefault",eM[eM.PluginAuthorized=1]="PluginAuthorized",eM[eM.PluginAsync=2]="PluginAsync",eM[eM.PluginInterrupt=3]="PluginInterrupt",(eP=U||(U={}))[eP.Nothing=0]="Nothing",eP[eP.Google=1]="Google",eP[eP.DouYin=2]="DouYin",eP[eP.TouTiao=4]="TouTiao",(eI=z||(z={}))[eI.BotStudioSubmit=1]="BotStudioSubmit",eI[eI.BotStudioWorkflowTest=2]="BotStudioWorkflowTest",eI[eI.Flow=3]="Flow",eI[eI.API=4]="API",eI[eI.Aweme=5]="Aweme",(eE=F||(F={}))[eE.Plan=0]="Plan",eE[eE.AgentHook=1]="AgentHook",(eC=G||(G={}))[eC.WithDefaultPrompt=0]="WithDefaultPrompt",eC[eC.WithCustomizedPrompt=1]="WithCustomizedPrompt",eC[eC.Disable=2]="Disable",eC[eC.UseOriginBotMode=3]="UseOriginBotMode",(eO=q||(q={}))[eO.Ask=0]="Ask",eO[eO.Once=1]="Once",eO[eO.Always=2]="Always"},84688:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Notion=1]="Notion",o[o.GoogleDrive=2]="GoogleDrive",o[o.FeishuWeb=103]="FeishuWeb",o[o.LarkWeb=104]="LarkWeb",o[o.WeChat=109]="WeChat",(a=t||(t={}))[a.Folder=1]="Folder",a[a.Document=2]="Document",a[a.Sheet=3]="Sheet",a[a.Space=4]="Space",(s=n||(n={}))[s.Initialized=1]="Initialized",s[s.Processing=2]="Processing",s[s.Success=3]="Success",s[s.Failed=4]="Failed",s[s.UnAssociated=5]="UnAssociated",(l=r||(r={}))[l.Markdown=1]="Markdown",l[l.Excel=2]="Excel",(u=i||(i={}))[u.Agree=0]="Agree",u[u.Disagree=1]="Disagree"},54714:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.ScopeAll=1]="ScopeAll",o[o.ScopeSelf=2]="ScopeSelf",(a=t||(t={}))[a.SearchByCreateTime=1]="SearchByCreateTime",a[a.SearchByUpdateTime=2]="SearchByUpdateTime",(s=n||(n={}))[s.SourceSelf=1]="SourceSelf",s[s.SourceExplore=2]="SourceExplore",(l=r||(r={}))[l.None=0]="None",l[l.EveryDay=1]="EveryDay",l[l.EveryThreeDay=2]="EveryThreeDay",l[l.EverySevenDay=3]="EverySevenDay",(u=i||(i={}))[u.Embedding=0]="Embedding",u[u.BM25=1]="BM25"},54684:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.SegmentAppendType_None=0]="SegmentAppendType_None",n[n.SegmentAppendType_Tail=1]="SegmentAppendType_Tail",n[n.SegmentAppendType_Head=2]="SegmentAppendType_Head",n[n.SegmentAppendType_Mid=3]="SegmentAppendType_Mid",(r=t||(t={}))[r.AllData=0]="AllData",r[r.OnlySchema=1]="OnlySchema",r[r.OnlyPreview=2]="OnlyPreview"},37767:function(){"use strict";var e,t;(t=e||(e={}))[t.DeleteMessage=1]="DeleteMessage",t[t.DeleteConversation=2]="DeleteConversation"},29597:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Unknown=0]="Unknown",o[o.String=1]="String",o[o.Boolean=2]="Boolean",o[o.StringList=11]="StringList",o[o.BooleanList=12]="BooleanList",(a=t||(t={}))[a.Account=1]="Account",a[a.Workspace=2]="Workspace",a[a.App=3]="App",a[a.Bot=4]="Bot",a[a.Plugin=5]="Plugin",a[a.Workflow=6]="Workflow",a[a.Knowledge=7]="Knowledge",a[a.PersonalAccessToken=8]="PersonalAccessToken",a[a.Connector=9]="Connector",a[a.Card=10]="Card",a[a.CardTemplate=11]="CardTemplate",a[a.Conversation=12]="Conversation",a[a.File=13]="File",a[a.ServicePrincipal=14]="ServicePrincipal",a[a.Enterprise=15]="Enterprise",a[a.MigrateTask=16]="MigrateTask",a[a.Prompt=17]="Prompt",a[a.UI=18]="UI",a[a.Project=19]="Project",a[a.Database=23]="Database",(s=n||(n={}))[s.Custom=1]="Custom",s[s.System=2]="System",s[s.Location=3]="Location",s[s.Feishu=4]="Feishu",s[s.APP=5]="APP",(l=r||(r={}))[l.Bot=1]="Bot",l[l.Project=2]="Project",(u=i||(i={}))[u.KVVariable=1]="KVVariable",u[u.ListVariable=2]="ListVariable"},42334:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Copy=1]="Copy",l[l.Delete=2]="Delete",l[l.EnableSwitch=3]="EnableSwitch",l[l.Edit=4]="Edit",(u=t||(t={}))[u.Successful=1]="Successful",u[u.Processing=2]="Processing",u[u.Failed=3]="Failed",u[u.KeepOrigin=4]="KeepOrigin",u[u.Deleted=5]="Deleted",(c=n||(n={}))[c.Rename=1]="Rename",c[c.Copy=2]="Copy",c[c.CopyToLibrary=3]="CopyToLibrary",c[c.MoveToLibrary=4]="MoveToLibrary",c[c.Delete=5]="Delete",c[c.Enable=6]="Enable",c[c.Disable=7]="Disable",c[c.SwitchToFuncflow=8]="SwitchToFuncflow",c[c.SwitchToChatflow=9]="SwitchToChatflow",(d=r||(r={}))[d.Workflow=1]="Workflow",d[d.Plugin=2]="Plugin",d[d.Data=3]="Data",(p=i||(i={}))[p.UnPublished=1]="UnPublished",p[p.Published=2]="Published",(h=o||(o={}))[h.CopyProjectResource=1]="CopyProjectResource",h[h.CopyResourceToLibrary=2]="CopyResourceToLibrary",h[h.MoveResourceToLibrary=3]="MoveResourceToLibrary",h[h.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",h[h.CopyProject=5]="CopyProject",h[h.PublishProject=6]="PublishProject",h[h.CopyProjectTemplate=7]="CopyProjectTemplate",h[h.PublishProjectTemplate=8]="PublishProjectTemplate",h[h.LaunchTemplate=9]="LaunchTemplate",h[h.ArchiveProject=10]="ArchiveProject",h[h.RollbackProject=11]="RollbackProject",h[h.CrossSpaceCopy=12]="CrossSpaceCopy",h[h.CrossSpaceCopyProject=13]="CrossSpaceCopyProject",(f=a||(a={}))[f.Plugin=1]="Plugin",f[f.Workflow=2]="Workflow",f[f.Imageflow=3]="Imageflow",f[f.Knowledge=4]="Knowledge",f[f.UI=5]="UI",f[f.Database=7]="Database",f[f.Variable=8]="Variable",(g=s||(s={}))[g.Upsert=1]="Upsert",g[g.Delete=2]="Delete"},2833:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.FString=1]="FString",i[i.Jinja2=2]="Jinja2",i[i.GoTemplate=3]="GoTemplate",(o=t||(t={}))[o.DocumentReference=1]="DocumentReference",(a=n||(n={}))[a.PluginResponse=1]="PluginResponse",a[a.PluginIntent=2]="PluginIntent",a[a.Variables=3]="Variables",a[a.None=4]="None",a[a.BotSchema=5]="BotSchema",a[a.ReferenceVariable=6]="ReferenceVariable",a[a.Finish=7]="Finish",(s=r||(r={}))[s.Plugin=1]="Plugin",s[s.PluginAsService=2]="PluginAsService",s[s.Service=3]="Service"},36096:function(){"use strict";var e,t;(t=e||(e={}))[t.bot=1]="bot",t[t.hit_test=2]="hit_test"},71094:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x;(h=e||(e={}))[h.Copy=1]="Copy",h[h.Delete=2]="Delete",h[h.EnableSwitch=3]="EnableSwitch",h[h.Edit=4]="Edit",(f=t||(t={}))[f.LimitedReadWrite=1]="LimitedReadWrite",f[f.ReadOnly=2]="ReadOnly",f[f.UnlimitedReadWrite=3]="UnlimitedReadWrite",f[f.RWModeMax=4]="RWModeMax",(g=n||(n={}))[g.Online=1]="Online",g[g.Delete=2]="Delete",(m=r||(r={}))[m.Unknown=0]="Unknown",m[m.Text=1]="Text",m[m.Number=2]="Number",m[m.Date=3]="Date",m[m.Float=4]="Float",m[m.Boolean=5]="Boolean",m[m.Image=6]="Image",(_=i||(i={}))[_.Text=1]="Text",_[_.Number=2]="Number",_[_.Date=3]="Date",_[_.Float=4]="Float",_[_.Boolean=5]="Boolean",(v=o||(o={}))[v.Insert=1]="Insert",v[v.Update=2]="Update",v[v.Delete=3]="Delete",v[v.Select=4]="Select",(b=a||(a={}))[b.EQUAL=1]="EQUAL",b[b.NOT_EQUAL=2]="NOT_EQUAL",b[b.GREATER_THAN=3]="GREATER_THAN",b[b.LESS_THAN=4]="LESS_THAN",b[b.GREATER_EQUAL=5]="GREATER_EQUAL",b[b.LESS_EQUAL=6]="LESS_EQUAL",b[b.IN=7]="IN",b[b.NOT_IN=8]="NOT_IN",b[b.IS_NULL=9]="IS_NULL",b[b.IS_NOT_NULL=10]="IS_NOT_NULL",b[b.LIKE=11]="LIKE",b[b.NOT_LIKE=12]="NOT_LIKE",(y=s||(s={}))[y.UnPublished=1]="UnPublished",y[y.Published=2]="Published",(w=l||(l={}))[w.NoRef=0]="NoRef",w[w.Bot=1]="Bot",w[w.ChatGroup=2]="ChatGroup",(S=u||(u={}))[S.BotPersona=1]="BotPersona",S[S.ModelDesc=2]="ModelDesc",(A=c||(c={}))[A.ASC=1]="ASC",A[A.Desc=2]="Desc",(T=d||(d={}))[T.AllData=0]="AllData",T[T.OnlySchema=1]="OnlySchema",T[T.OnlyPreview=2]="OnlyPreview",(x=p||(p={}))[x.DraftTable=1]="DraftTable",x[x.OnlineTable=2]="OnlineTable"},50765:function(){"use strict";var e,t;(t=e||(e={}))[t.SUB_LINK_DISCOVERY_TASK_STATUS_UNKNOWN=0]="SUB_LINK_DISCOVERY_TASK_STATUS_UNKNOWN",t[t.SUB_LINK_DISCOVERY_TASK_STATUS_RUNNING=1]="SUB_LINK_DISCOVERY_TASK_STATUS_RUNNING",t[t.SUB_LINK_DISCOVERY_TASK_STATUS_SUCCESS=2]="SUB_LINK_DISCOVERY_TASK_STATUS_SUCCESS",t[t.SUB_LINK_DISCOVERY_TASK_STATUS_ABORTED=3]="SUB_LINK_DISCOVERY_TASK_STATUS_ABORTED",t[t.SUB_LINK_DISCOVERY_TASK_STATUS_FINISHED_WITH_ERROR=4]="SUB_LINK_DISCOVERY_TASK_STATUS_FINISHED_WITH_ERROR"},73850:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("3501"),n("21804");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}PublicAudioSpeech(e,t){let n=e||{},r=this.genBaseURL("/v1/audio/speech"),i={input:n.input,voice_id:n.voice_id,response_format:n.response_format,speed:n.speed,sample_rate:n.sample_rate};return this.request({url:r,method:"POST",data:i},t)}PublicCreateRoom(e,t){let n=e||{},r=this.genBaseURL("/v1/audio/rooms"),i={bot_id:n.bot_id,conversation_id:n.conversation_id,voice_id:n.voice_id,config:n.config,uid:n.uid};return this.request({url:r,method:"POST",data:i},t)}PublicCloneVoice(e,t){let n=e||{},r=this.genBaseURL("/v1/audio/voices/clone"),i={audio:n.audio,text:n.text,language:n.language,voice_id:n.voice_id,voice_name:n.voice_name,preview_text:n.preview_text,space_id:n.space_id,description:n.description};return this.request({url:r,method:"POST",data:i},t)}PublicListVoice(e,t){let n=e||{},r=this.genBaseURL("/v1/audio/voices"),i={filter_system_voice:n.filter_system_voice,page_num:n.page_num,page_size:n.page_size};return this.request({url:r,method:"GET",params:i},t)}APICheckCreateVoice(e,t){let n=this.genBaseURL("/api/resource/audio/check_create_voice");return this.request({url:n,method:"POST"},t)}APICloneVoice(e,t){let n=this.genBaseURL("/api/resource/audio/clone_voice"),r={voice_id:e.voice_id,audio_format:e.audio_format,audio_bytes:e.audio_bytes,compare_text:e.compare_text,preview_text:e.preview_text};return this.request({url:n,method:"POST",data:r},t)}APIMGetVoice(e,t){let n=e||{},r=this.genBaseURL("/api/resource/audio/voices"),i={voice_ids:n.voice_ids,prefix_voice_name:n.prefix_voice_name,language_code:n.language_code,scene:n.scene,self_created:n.self_created,voice_type:n.voice_type,space_id:n.space_id,voice_state:n.voice_state,page_index:n.page_index,page_size:n.page_size};return this.request({url:r,method:"POST",data:i},t)}APICreateVoice(e,t){let n=this.genBaseURL("/api/resource/audio/create_voice"),r={voice_name:e.voice_name,space_id:e.space_id,voice_desc:e.voice_desc,icon_uri:e.icon_uri,language_code:e.language_code};return this.request({url:n,method:"POST",data:r},t)}APIAudioSpeech(e,t){let n=this.genBaseURL("/api/audio/speech"),r={voice_id:e.voice_id,input:e.input,response_format:e.response_format,response_data_type:e.response_data_type,speed:e.speed};return this.request({url:n,method:"POST",data:r},t)}APIUpdateVoice(e,t){let n=this.genBaseURL("/api/resource/audio/update_voice"),r={voice_id:e.voice_id,voice_name:e.voice_name,voice_desc:e.voice_desc,icon_uri:e.icon_uri,language_code:e.language_code};return this.request({url:n,method:"POST",data:r},t)}APIGetVoiceMenu(e,t){let n=this.genBaseURL("/api/resource/audio/voice_menu");return this.request({url:n,method:"POST"},t)}APIVoiceFeatureGateway(e,t){let n=this.genBaseURL("/api/resource/audio/voice/fg");return this.request({url:n,method:"POST"},t)}constructor(e){r(this,"request",()=>{throw Error("MultimediaApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},3501:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Base64Data=1]="Base64Data",i[i.URL=2]="URL",(o=t||(t={}))[o.zh=0]="zh",o[o.en=1]="en",o[o.ja=2]="ja",o[o.es=3]="es",o[o.id=4]="id",o[o.pt=5]="pt",(a=n||(n={}))[a.Init=0]="Init",a[a.Cloned=10]="Cloned",a[a.Deleted=20]="Deleted",(s=r||(r={}))[s.SystemVoice=1]="SystemVoice",s[s.UserVoice=2]="UserVoice"},21804:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Copy=1]="Copy",i[i.Delete=2]="Delete",i[i.EnableSwitch=3]="EnableSwitch",i[i.Edit=4]="Edit",(o=t||(t={}))[o.Unknown=0]="Unknown",o[o.ChatCreated=1]="ChatCreated",o[o.ChatInProgress=2]="ChatInProgress",o[o.ChatCompleted=3]="ChatCompleted",o[o.ChatFailed=4]="ChatFailed",o[o.ChatExpired=5]="ChatExpired",o[o.ChatCancelled=6]="ChatCancelled",o[o.ChatRequiresAction=7]="ChatRequiresAction",o[o.MessageDelta=20]="MessageDelta",o[o.MessageCompleted=21]="MessageCompleted",o[o.Error=98]="Error",o[o.StreamDone=99]="StreamDone",o[o.AudioDelta=200]="AudioDelta",(a=n||(n={}))[a.StatusUnknown=0]="StatusUnknown",a[a.Created=1]="Created",a[a.InProgress=2]="InProgress",a[a.Compleated=3]="Compleated",a[a.Failed=4]="Failed",a[a.Expired=5]="Expired",a[a.Cancelled=6]="Cancelled",a[a.RequiresAction=7]="RequiresAction",(s=r||(r={}))[s.CreatePreviewAudio=1]="CreatePreviewAudio",s[s.SyncVolcanoVoice=2]="SyncVolcanoVoice",s[s.FixUserVoice=3]="FixUserVoice",s[s.SyncUserVoiceToSourceLibrary=4]="SyncUserVoiceToSourceLibrary"},32543:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("11784");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}SendMobileVerifyCode(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/notify/mobile_verify/send"),i={mobile:n.mobile},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}SendEmailVerifyCode(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/notify/email_verify/send"),i={email_address:n.email_address},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}CheckEmailVerifyCode(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/notify/email_verify/check"),i={message_id:n.message_id,verify_code:n.verify_code,email_address:n.email_address};return this.request({url:r,method:"POST",data:i},t)}CheckMobileVerifyCode(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/notify/mobile_verify/check"),i={message_id:n.message_id,verify_code:n.verify_code,mobile:n.mobile};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("NotifyApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},11784:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.SMS=1]="SMS",o[o.Email=2]="Email",o[o.Inbox=3]="Inbox",o[o.HomeBot=4]="HomeBot",(a=t||(t={}))[a.ProductAuditSuccess=1]="ProductAuditSuccess",a[a.ProductAuditFailed=2]="ProductAuditFailed",a[a.ProductOfflineOwner=3]="ProductOfflineOwner",a[a.ProductOfflineUser=4]="ProductOfflineUser",a[a.DeveloperCertification=5]="DeveloperCertification",a[a.TokenAutoChargeSuccess=6]="TokenAutoChargeSuccess",a[a.TokenAutoChargeFailed=7]="TokenAutoChargeFailed",a[a.InteractionDailyNotify=8]="InteractionDailyNotify",a[a.UserInfoAuditSuccess=9]="UserInfoAuditSuccess",a[a.UserInfoAuditFailed=10]="UserInfoAuditFailed",a[a.InteractionFollowSingle=11]="InteractionFollowSingle",a[a.InteractionFollowMulti=12]="InteractionFollowMulti",a[a.InteractionBotUpdateSingle=13]="InteractionBotUpdateSingle",a[a.InteractionBotUpdateMulti=14]="InteractionBotUpdateMulti",a[a.TradeInvoiceWaitApply=15]="TradeInvoiceWaitApply",a[a.TradeInvoiceApplyReady=16]="TradeInvoiceApplyReady",a[a.PremiumPurchasePayFailed=17]="PremiumPurchasePayFailed",a[a.PremiumRenewalPayFailed=18]="PremiumRenewalPayFailed",a[a.TradeChargeback=19]="TradeChargeback",a[a.ReportProcessedToWhistleblower=20]="ReportProcessedToWhistleblower",a[a.ReportProcessedToPostOwner=21]="ReportProcessedToPostOwner",a[a.ReportProcessedToCommentOwner=22]="ReportProcessedToCommentOwner",a[a.ReportProcessedToProductOwner=23]="ReportProcessedToProductOwner",(s=n||(n={}))[s.Waiting=0]="Waiting",s[s.InProcess=1]="InProcess",s[s.Finish=2]="Finish",(l=r||(r={}))[l.TicketCorrect=0]="TicketCorrect",l[l.TicketError=1]="TicketError",l[l.TicketExpiry=2]="TicketExpiry",(u=i||(i={}))[u.Correct=0]="Correct",u[u.Error=1]="Error",u[u.Expiry=2]="Expiry"},78733:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("87722"),n("36702"),n("68015"),n("37491"),n("83264"),n("96542"),n("4648");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}APIQuery(e,t){let n=this.genBaseURL("/api/devops/ob_data/query"),r={space_id:e.space_id,bot_id:e.bot_id,metrics_type:e.metrics_type,time_type:e.time_type,time_range:e.time_range,filter:e.filter,criterias:e.criterias};return this.request({url:n,method:"POST",data:r},t)}EvalSupportChannel(e,t){let n=this.genBaseURL("/api/devops/ob_data/evaluation/support-channel"),r={bot_id:e.bot_id,space_id:e.space_id};return this.request({url:n,method:"GET",params:r},t)}UserIntentSatisfactionRanking(e,t){let n=this.genBaseURL("/api/devops/ob_data/evaluation/user-intent-satisfaction"),r={space_id:e.space_id,bot_id:e.bot_id,time_range:e.time_range,label_depth:e.label_depth,connector_ids:e.connector_ids};return this.request({url:n,method:"POST",data:r},t)}BotSatisfaction(e,t){let n=this.genBaseURL("/api/devops/ob_data/evaluation/bot-satisfaction"),r={space_id:e.space_id,bot_id:e.bot_id,time_range:e.time_range,connector_ids:e.connector_ids};return this.request({url:n,method:"POST",data:r},t)}BatchAPIQuery(e,t){let n=this.genBaseURL("/api/devops/ob_data/batch_query"),r={space_id:e.space_id,bot_id:e.bot_id,metrics_types:e.metrics_types,time_range:e.time_range,data_type:e.data_type,filter:e.filter,group_type:e.group_type,period_type:e.period_type,time_range_type:e.time_range_type,is_realtime:e.is_realtime};return this.request({url:n,method:"POST",data:r},t)}GetQueriesData(e,t){let n=this.genBaseURL("/api/devops/ob_data/queries/data"),r={space_id:e.space_id,bot_id:e.bot_id,time_range:e.time_range,filters:e.filters,order_by:e.order_by,sort_order:e.sort_order,page_token:e.page_token,size:e.size};return this.request({url:n,method:"POST",data:r},t)}GetBotFg(e,t){let n=this.genBaseURL("/api/devops/ob_data/fg"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}GetQueriesFieldMetas(e,t){let n=this.genBaseURL("/api/devops/ob_data/queries/field_metas"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}PreCheckAddBotAuth(e,t){let n=this.genBaseURL("/api/devops/ob_data/bot/pre_check_add_auth"),r={bot_id:e.bot_id,auth_type:e.auth_type,agw_common_param:e.agw_common_param};return this.request({url:n,method:"POST",data:r},t)}AddBotAuth(e,t){let n=this.genBaseURL("/api/devops/ob_data/bot/add_auth"),r={bot_id:e.bot_id,auth_type:e.auth_type,agw_common_param:e.agw_common_param};return this.request({url:n,method:"POST",data:r},t)}DeleteBotAuth(e,t){let n=this.genBaseURL("/api/devops/ob_data/bot/delete_auth"),r={bot_id:e.bot_id,auth_type:e.auth_type};return this.request({url:n,method:"POST",data:r},t)}ViewBotAuth(e,t){let n=this.genBaseURL("/api/devops/ob_data/bot/view_auth"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}GetMetrics(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics"),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time,metrics_type:e.metrics_type,aggregate_type:e.aggregate_type,tag_kvs:e.tag_kvs,top_k:e.top_k};return this.request({url:n,method:"POST",data:r},t)}GetTagVHistoricalOptions(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics/tag_v/historical_options"),r={space_id:e.space_id,bot_id:e.bot_id,tag_k:e.tag_k,choices:e.choices,start_time:e.start_time,end_time:e.end_time,metrics_type:e.metrics_type,top_k:e.top_k};return this.request({url:n,method:"POST",data:r},t)}GetTagVLatestOptions(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics/tag_v/latest_options"),r={space_id:e.space_id,bot_id:e.bot_id,tag_k:e.tag_k,choices:e.choices};return this.request({url:n,method:"POST",data:r},t)}ListDebugQueries(e,t){let n=this.genBaseURL("/api/devops/ob_query/list_debug_queries"),r={startAtMS:e.startAtMS,endAtMS:e.endAtMS,spaceID:e.spaceID,botID:e.botID,status:e.status,inputSearch:e.inputSearch,limit:e.limit,pageToken:e.pageToken,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetQueryEnums(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/enums"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"GET",params:r},t)}BatchGetTracesAdvanceInfo(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces/batch_get_advance_info"),r={space_id:e.space_id,bot_id:e.bot_id,traces:e.traces};return this.request({url:n,method:"POST",data:r},t)}ListQuery(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/list"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter,limit:e.limit,page_token:e.page_token};return this.request({url:n,method:"POST",data:r},t)}GetQueryStat(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/stat"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}GetTraceByLogID(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/trace/by_log_id"),r={space_id:e.space_id,bot_id:e.bot_id,log_id:e.log_id,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"GET",params:r},t)}ExportQueryToCsv(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/export_to_csv"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}GetTrace(e,t){let n=this.genBaseURL(`/api/devops/ob_query/v1/trace/${e.trace_id}`),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"GET",params:r},t)}GetTracesMetaInfo(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces/meta_info");return this.request({url:n,method:"GET"},t)}GetQueryStatV2(e,t){let n=this.genBaseURL("/api/observe/query/stat"),r={space_id:e.space_id,scene_param:e.scene_param,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}GetQueryEnumsV2(e,t){let n=this.genBaseURL("/api/observe/query/enums"),r={space_id:e.space_id,scene_param:e.scene_param};return this.request({url:n,method:"POST",data:r},t)}ListQueryV2(e,t){let n=this.genBaseURL("/api/observe/query/list"),r={space_id:e.space_id,scene_param:e.scene_param,query_filter:e.query_filter,limit:e.limit,page_token:e.page_token};return this.request({url:n,method:"POST",data:r},t)}ExportQueryToCsvV2(e,t){let n=this.genBaseURL("/api/observe/query/export_to_csv"),r={space_id:e.space_id,scene_param:e.scene_param,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}BatchGetTracesAdvanceInfoV2(e,t){let n=this.genBaseURL("/api/observe/trace/batch_get_advance_info"),r={space_id:e.space_id,scene_param:e.scene_param,traces:e.traces};return this.request({url:n,method:"POST",data:r},t)}GetTraceV2(e,t){let n=this.genBaseURL(`/api/observe/trace/get/${e.trace_id}`),r={space_id:e.space_id,scene_param:e.scene_param,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("ObDataService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},87722:function(){"use strict";var e,t;(t=e||(e={}))[t.LogBizSceneBot=0]="LogBizSceneBot",t[t.LogBizSceneProject=1]="LogBizSceneProject",t[t.LogBizSceneWorkflowAPI=2]="LogBizSceneWorkflowAPI"},36702:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Eq=2]="Eq",r[r.Gte=3]="Gte",r[r.Lte=4]="Lte",r[r.Containsall=5]="Containsall",r[r.In=6]="In",r[r.NotIn=7]="NotIn",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.Desc=2]="Desc",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.Bool=2]="Bool",o[o.I32=3]="I32",o[o.I64=4]="I64",o[o.F64=5]="F64",o[o.String=6]="String"},68015:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.AuthStatusNormal=0]="AuthStatusNormal",r[r.AuthStatusGeoLocationUnableParse=1]="AuthStatusGeoLocationUnableParse",r[r.AuthStatusGeoLocationIllegal=2]="AuthStatusGeoLocationIllegal",(i=t||(t={}))[i.AuthTypeGeoLocation=1]="AuthTypeGeoLocation",(o=n||(n={}))[o.And=0]="And",o[o.Or=1]="Or",o[o.Not=2]="Not"},37491:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.CalFieldStatusNotReady=0]="CalFieldStatusNotReady",n[n.CalFieldStatusOK=1]="CalFieldStatusOK",(r=t||(t={}))[r.StatusSuccess=0]="StatusSuccess",r[r.StatusFail=1]="StatusFail"},83264:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Start=2]="Start",r[r.Agent=3]="Agent",r[r.LLMCall=4]="LLMCall",r[r.Workflow=5]="Workflow",r[r.WorkflowStart=6]="WorkflowStart",r[r.WorkflowEnd=7]="WorkflowEnd",r[r.Plugin=8]="Plugin",r[r.Knowledge=9]="Knowledge",r[r.Code=10]="Code",r[r.Condition=11]="Condition",r[r.Card=12]="Card",r[r.Message=13]="Message",r[r.Variable=14]="Variable",r[r.Database=15]="Database",r[r.LongTermMemory=16]="LongTermMemory",r[r.Hook=17]="Hook",r[r.Batch=18]="Batch",r[r.Loop=19]="Loop",r[r.Parallel=20]="Parallel",r[r.Script=21]="Script",r[r.CallFlow=22]="CallFlow",r[r.Connector=23]="Connector",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.Success=2]="Success",i[i.Error=3]="Error",i[i.Broken=4]="Broken",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.UserInput=2]="UserInput",o[o.ThirdParty=3]="ThirdParty",o[o.ScheduledTasks=4]="ScheduledTasks",o[o.OpenDialog=5]="OpenDialog",o[o.InvokeAgent=6]="InvokeAgent",o[o.RestartAgent=7]="RestartAgent",o[o.SwitchAgent=8]="SwitchAgent",o[o.LLMCall=9]="LLMCall",o[o.LLMBatchCall=10]="LLMBatchCall",o[o.Workflow=11]="Workflow",o[o.WorkflowStart=12]="WorkflowStart",o[o.WorkflowEnd=13]="WorkflowEnd",o[o.PluginTool=14]="PluginTool",o[o.PluginToolBatch=15]="PluginToolBatch",o[o.Knowledge=16]="Knowledge",o[o.Code=17]="Code",o[o.CodeBatch=18]="CodeBatch",o[o.Condition=19]="Condition",o[o.Chain=20]="Chain",o[o.Card=21]="Card",o[o.WorkflowMessage=22]="WorkflowMessage",o[o.WorkflowLLMCall=23]="WorkflowLLMCall",o[o.WorkflowLLMBatchCall=24]="WorkflowLLMBatchCall",o[o.WorkflowCode=25]="WorkflowCode",o[o.WorkflowCodeBatch=26]="WorkflowCodeBatch",o[o.WorkflowCondition=27]="WorkflowCondition",o[o.WorkflowPluginTool=28]="WorkflowPluginTool",o[o.WorkflowPluginToolBatch=29]="WorkflowPluginToolBatch",o[o.WorkflowKnowledge=30]="WorkflowKnowledge",o[o.WorkflowVariable=31]="WorkflowVariable",o[o.WorkflowDatabase=32]="WorkflowDatabase",o[o.Variable=33]="Variable",o[o.Database=34]="Database",o[o.LongTermMemory=35]="LongTermMemory",o[o.Hook=36]="Hook",o[o.BWStart=37]="BWStart",o[o.BWEnd=38]="BWEnd",o[o.BWBatch=39]="BWBatch",o[o.BWLoop=40]="BWLoop",o[o.BWCondition=41]="BWCondition",o[o.BWLLM=42]="BWLLM",o[o.BWParallel=43]="BWParallel",o[o.BWScript=44]="BWScript",o[o.BWVariable=45]="BWVariable",o[o.BWCallFlow=46]="BWCallFlow",o[o.BWConnector=47]="BWConnector",o[o.UserInputV2=48]="UserInputV2"},96542:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Avg=2]="Avg",r[r.P50=3]="P50",r[r.P99=4]="P99",r[r.P999=5]="P999",r[r.P90=6]="P90",r[r.Sum=7]="Sum",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.DI30S=2]="DI30S",i[i.DI1M=3]="DI1M",i[i.DI2M=4]="DI2M",i[i.DI5M=5]="DI5M",i[i.DI10M=6]="DI10M",i[i.DI20M=7]="DI20M",i[i.DI30M=8]="DI30M",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.BotQueryQPS=2]="BotQueryQPS",o[o.BotQuerySuccessRate=3]="BotQuerySuccessRate",o[o.BotQueryLatencyFirstResp=4]="BotQueryLatencyFirstResp",o[o.BotQueryLatency=5]="BotQueryLatency",o[o.WorkflowRunQPS=6]="WorkflowRunQPS",o[o.WorkflowRunSuccessRate=7]="WorkflowRunSuccessRate",o[o.WorkflowRunLatency=8]="WorkflowRunLatency",o[o.PluginRunQPS=9]="PluginRunQPS",o[o.PluginRunSuccessRate=10]="PluginRunSuccessRate",o[o.PluginRunLatency=11]="PluginRunLatency",o[o.CodeRunQPS=12]="CodeRunQPS",o[o.CodeRunSuccessRate=13]="CodeRunSuccessRate",o[o.CodeRunLatency=14]="CodeRunLatency",o[o.KnowledgeRecallQPS=15]="KnowledgeRecallQPS",o[o.KnowledgeRecallSegments=16]="KnowledgeRecallSegments",o[o.KnowledgeRecallSuccessRate=17]="KnowledgeRecallSuccessRate",o[o.KnowledgeRecallLatency=18]="KnowledgeRecallLatency",o[o.LLMQueryQPS=19]="LLMQueryQPS",o[o.LLMQuerySuccessRate=20]="LLMQuerySuccessRate",o[o.LLMQueryLatency=21]="LLMQueryLatency",o[o.LLMOutputTokensQPS=22]="LLMOutputTokensQPS",o[o.HookRunQPS=23]="HookRunQPS",o[o.HookRunSuccessRate=24]="HookRunSuccessRate",o[o.HookRunLatency=25]="HookRunLatency"},4648:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Contains=0]="Contains",n[n.IsNull=1]="IsNull",(r=t||(t={}))[r.String=0]="String",r[r.Enum=1]="Enum",r[r.MultiLevelEnum=2]="MultiLevelEnum"},60003:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("88720"),n("19403"),n("84356"),n("65944"),n("21166"),n("23129"),n("12978"),n("40693");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}QueryTrace(e,t){let n=e||{},r=this.genBaseURL("/api/devops/ob_query/query_trace"),i={tenant:n.tenant,trace_id:n.trace_id,log_id:n.log_id,message_id:n.message_id,start_at:n.start_at,end_at:n.end_at,bot_id:n.bot_id,workspace_id:n.workspace_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}ListSpans(e,t){let n=this.genBaseURL("/api/devops/ob_query/list_spans"),r={tenant:e.tenant,filter_tags:e.filter_tags,start_at:e.start_at,end_at:e.end_at,limit:e.limit,desc_by_start_time:e.desc_by_start_time,context:e.context,bot_id:e.bot_id,workspace_id:e.workspace_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListTraces(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces"),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time,filters:e.filters,full_text_search:e.full_text_search,limit:e.limit,order_by:e.order_by,page_token:e.page_token};return this.request({url:n,method:"POST",data:r},t)}GetTracesStat(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces/stat"),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"POST",data:r},t)}GetTracesMetaInfo(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces/meta_info");return this.request({url:n,method:"GET"},t)}GetTraceByLogID(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/trace/by_log_id"),r={space_id:e.space_id,bot_id:e.bot_id,log_id:e.log_id,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"GET",params:r},t)}BatchGetTracesAdvanceInfo(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/traces/batch_get_advance_info"),r={space_id:e.space_id,bot_id:e.bot_id,traces:e.traces};return this.request({url:n,method:"POST",data:r},t)}GetTrace(e,t){let n=this.genBaseURL(`/api/devops/ob_query/v1/trace/${e.trace_id}`),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time};return this.request({url:n,method:"GET",params:r},t)}GetMetrics(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics"),r={space_id:e.space_id,bot_id:e.bot_id,start_time:e.start_time,end_time:e.end_time,metrics_type:e.metrics_type,aggregate_type:e.aggregate_type,tag_kvs:e.tag_kvs,top_k:e.top_k};return this.request({url:n,method:"POST",data:r},t)}GetTagVLatestOptions(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics/tag_v/latest_options"),r={space_id:e.space_id,bot_id:e.bot_id,tag_k:e.tag_k,choices:e.choices};return this.request({url:n,method:"POST",data:r},t)}GetTagVHistoricalOptions(e,t){let n=this.genBaseURL("/api/devops/ob_query/v1/metrics/tag_v/historical_options"),r={space_id:e.space_id,bot_id:e.bot_id,tag_k:e.tag_k,choices:e.choices,start_time:e.start_time,end_time:e.end_time,metrics_type:e.metrics_type,top_k:e.top_k};return this.request({url:n,method:"POST",data:r},t)}SearchTrace(e,t){let n=e||{},r=this.genBaseURL("/api/devops/ob_query/search_trace"),i={tenant:n.tenant,trace_id:n.trace_id,log_id:n.log_id,message_id:n.message_id,start_at:n.start_at,end_at:n.end_at,tenant_level:n.tenant_level,token:n.token,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}GetTraceFrontend(e,t){let n=e||{},r=this.genBaseURL("/api/devops/ob_query/get_trace_frontend"),i={trace_id:n.trace_id,log_id:n.log_id,scene:n.scene,start_at:n.start_at,end_at:n.end_at,bot_id:n.bot_id,space_id:n.space_id,tenant:n.tenant,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}ListDebugQueries(e,t){let n=this.genBaseURL("/api/devops/ob_query/list_debug_queries"),r={startAtMS:e.startAtMS,endAtMS:e.endAtMS,spaceID:e.spaceID,botID:e.botID,status:e.status,inputSearch:e.inputSearch,limit:e.limit,pageToken:e.pageToken,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}ListQuery(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/list"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter,limit:e.limit,page_token:e.page_token};return this.request({url:n,method:"POST",data:r},t)}GetQueryEnums(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/enums"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"GET",params:r},t)}ExportQueryToCsv(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/export_to_csv"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}GetQueryStat(e,t){let n=this.genBaseURL("/api/devops/ob_query/query/stat"),r={space_id:e.space_id,bot_id:e.bot_id,query_filter:e.query_filter};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("ObQueryApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},88720:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Minute=1]="Minute",i[i.Hour=2]="Hour",i[i.Day=3]="Day",i[i.Week=4]="Week",(o=t||(t={}))[o.All=0]="All",o[o.PSM=1]="PSM",o[o.CozeBot=2]="CozeBot",o[o.PTaaS=3]="PTaaS",o[o.Model=4]="Model",(a=n||(n={}))[a.Undefined=0]="Undefined",a[a.ModelIdentification=1]="ModelIdentification",(s=r||(r={}))[s.InsightIndicatorsToken=1]="InsightIndicatorsToken",s[s.InsightIndicatorsInputToken=2]="InsightIndicatorsInputToken",s[s.InsightIndicatorsOutputToken=3]="InsightIndicatorsOutputToken",s[s.InsightIndicatorsUserCount=4]="InsightIndicatorsUserCount",s[s.InsightIndicatorsTraceCount=5]="InsightIndicatorsTraceCount",s[s.InsightIndicatorsMessageCount=6]="InsightIndicatorsMessageCount",s[s.InsightIndicatorsQPS=7]="InsightIndicatorsQPS",s[s.InsightIndicatorsQPSSuccess=8]="InsightIndicatorsQPSSuccess",s[s.InsightIndicatorsQPSFail=9]="InsightIndicatorsQPSFail",s[s.InsightIndicatorsSpanCount=10]="InsightIndicatorsSpanCount",s[s.InsightIndicatorsRootDurationP50=11]="InsightIndicatorsRootDurationP50",s[s.InsightIndicatorsRootDurationP90=12]="InsightIndicatorsRootDurationP90",s[s.InsightIndicatorsRootDurationP99=13]="InsightIndicatorsRootDurationP99",s[s.InsightIndicatorsRootDurationAvg=14]="InsightIndicatorsRootDurationAvg",s[s.InsightIndicatorsRootDurationMax=15]="InsightIndicatorsRootDurationMax",s[s.InsightIndicatorsRootDurationMin=16]="InsightIndicatorsRootDurationMin",s[s.InsightIndicatorsLLMDurationP50=17]="InsightIndicatorsLLMDurationP50",s[s.InsightIndicatorsLLMDurationP90=18]="InsightIndicatorsLLMDurationP90",s[s.InsightIndicatorsLLMDurationP99=19]="InsightIndicatorsLLMDurationP99",s[s.InsightIndicatorsLLMDurationAvg=20]="InsightIndicatorsLLMDurationAvg",s[s.InsightIndicatorsLLMDurationMax=21]="InsightIndicatorsLLMDurationMax",s[s.InsightIndicatorsLLMDurationMin=22]="InsightIndicatorsLLMDurationMin",s[s.InsightIndicatorsLatencyFirstRespP50=23]="InsightIndicatorsLatencyFirstRespP50",s[s.InsightIndicatorsLatencyFirstRespP90=24]="InsightIndicatorsLatencyFirstRespP90",s[s.InsightIndicatorsLatencyFirstRespP99=25]="InsightIndicatorsLatencyFirstRespP99",s[s.InsightIndicatorsLatencyFirstRespAvg=26]="InsightIndicatorsLatencyFirstRespAvg",s[s.InsightIndicatorsLatencyFirstRespMax=27]="InsightIndicatorsLatencyFirstRespMax",s[s.InsightIndicatorsLatencyFirstRespMin=28]="InsightIndicatorsLatencyFirstRespMin",s[s.InsightIndicatorsSuccessRate=29]="InsightIndicatorsSuccessRate",s[s.InsightIndicatorsModelQPS=30]="InsightIndicatorsModelQPS",s[s.InsightIndicatorsModelQPSSuccess=31]="InsightIndicatorsModelQPSSuccess",s[s.InsightIndicatorsModelQPSFail=32]="InsightIndicatorsModelQPSFail",s[s.InsightIndicatorsModelSuccessRate=33]="InsightIndicatorsModelSuccessRate",s[s.InsightIndicatorsModelTokenRateP50=34]="InsightIndicatorsModelTokenRateP50",s[s.InsightIndicatorsModelTokenRateP90=35]="InsightIndicatorsModelTokenRateP90",s[s.InsightIndicatorsModelTokenRateP99=36]="InsightIndicatorsModelTokenRateP99",s[s.InsightIndicatorsModelTokenRateAvg=37]="InsightIndicatorsModelTokenRateAvg",s[s.InsightIndicatorsModelTokenRateMax=38]="InsightIndicatorsModelTokenRateMax",s[s.InsightIndicatorsModelTokenRateMin=39]="InsightIndicatorsModelTokenRateMin"},19403:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Avg=2]="Avg",r[r.P50=3]="P50",r[r.P99=4]="P99",r[r.P999=5]="P999",r[r.P90=6]="P90",r[r.Sum=7]="Sum",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.DI30S=2]="DI30S",i[i.DI1M=3]="DI1M",i[i.DI2M=4]="DI2M",i[i.DI5M=5]="DI5M",i[i.DI10M=6]="DI10M",i[i.DI20M=7]="DI20M",i[i.DI30M=8]="DI30M",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.BotQueryQPS=2]="BotQueryQPS",o[o.BotQuerySuccessRate=3]="BotQuerySuccessRate",o[o.BotQueryLatencyFirstResp=4]="BotQueryLatencyFirstResp",o[o.BotQueryLatency=5]="BotQueryLatency",o[o.WorkflowRunQPS=6]="WorkflowRunQPS",o[o.WorkflowRunSuccessRate=7]="WorkflowRunSuccessRate",o[o.WorkflowRunLatency=8]="WorkflowRunLatency",o[o.PluginRunQPS=9]="PluginRunQPS",o[o.PluginRunSuccessRate=10]="PluginRunSuccessRate",o[o.PluginRunLatency=11]="PluginRunLatency",o[o.CodeRunQPS=12]="CodeRunQPS",o[o.CodeRunSuccessRate=13]="CodeRunSuccessRate",o[o.CodeRunLatency=14]="CodeRunLatency",o[o.KnowledgeRecallQPS=15]="KnowledgeRecallQPS",o[o.KnowledgeRecallSegments=16]="KnowledgeRecallSegments",o[o.KnowledgeRecallSuccessRate=17]="KnowledgeRecallSuccessRate",o[o.KnowledgeRecallLatency=18]="KnowledgeRecallLatency",o[o.LLMQueryQPS=19]="LLMQueryQPS",o[o.LLMQuerySuccessRate=20]="LLMQuerySuccessRate",o[o.LLMQueryLatency=21]="LLMQueryLatency",o[o.LLMOutputTokensQPS=22]="LLMOutputTokensQPS",o[o.HookRunQPS=23]="HookRunQPS",o[o.HookRunSuccessRate=24]="HookRunSuccessRate",o[o.HookRunLatency=25]="HookRunLatency"},84356:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.CalFieldStatusNotReady=0]="CalFieldStatusNotReady",n[n.CalFieldStatusOK=1]="CalFieldStatusOK",(r=t||(t={}))[r.StatusSuccess=0]="StatusSuccess",r[r.StatusFail=1]="StatusFail"},65944:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=1]="Unknown",n[n.Desc=2]="Desc",(r=t||(t={}))[r.Unknown=1]="Unknown",r[r.Bool=2]="Bool",r[r.I32=3]="I32",r[r.I64=4]="I64",r[r.F64=5]="F64",r[r.String=6]="String"},21166:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=1]="Unknown",t[t.Eq=2]="Eq",t[t.Gte=3]="Gte",t[t.Lte=4]="Lte",t[t.Containsall=5]="Containsall",t[t.In=6]="In",t[t.NotIn=7]="NotIn"},23129:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Unknown=1]="Unknown",r[r.Start=2]="Start",r[r.Agent=3]="Agent",r[r.LLMCall=4]="LLMCall",r[r.Workflow=5]="Workflow",r[r.WorkflowStart=6]="WorkflowStart",r[r.WorkflowEnd=7]="WorkflowEnd",r[r.Plugin=8]="Plugin",r[r.Knowledge=9]="Knowledge",r[r.Code=10]="Code",r[r.Condition=11]="Condition",r[r.Card=12]="Card",r[r.Message=13]="Message",r[r.Variable=14]="Variable",r[r.Database=15]="Database",r[r.LongTermMemory=16]="LongTermMemory",r[r.Hook=17]="Hook",r[r.Batch=18]="Batch",r[r.Loop=19]="Loop",r[r.Parallel=20]="Parallel",r[r.Script=21]="Script",r[r.CallFlow=22]="CallFlow",r[r.Connector=23]="Connector",(i=t||(t={}))[i.Unknown=1]="Unknown",i[i.Success=2]="Success",i[i.Error=3]="Error",i[i.Broken=4]="Broken",(o=n||(n={}))[o.Unknown=1]="Unknown",o[o.UserInput=2]="UserInput",o[o.ThirdParty=3]="ThirdParty",o[o.ScheduledTasks=4]="ScheduledTasks",o[o.OpenDialog=5]="OpenDialog",o[o.InvokeAgent=6]="InvokeAgent",o[o.RestartAgent=7]="RestartAgent",o[o.SwitchAgent=8]="SwitchAgent",o[o.LLMCall=9]="LLMCall",o[o.LLMBatchCall=10]="LLMBatchCall",o[o.Workflow=11]="Workflow",o[o.WorkflowStart=12]="WorkflowStart",o[o.WorkflowEnd=13]="WorkflowEnd",o[o.PluginTool=14]="PluginTool",o[o.PluginToolBatch=15]="PluginToolBatch",o[o.Knowledge=16]="Knowledge",o[o.Code=17]="Code",o[o.CodeBatch=18]="CodeBatch",o[o.Condition=19]="Condition",o[o.Chain=20]="Chain",o[o.Card=21]="Card",o[o.WorkflowMessage=22]="WorkflowMessage",o[o.WorkflowLLMCall=23]="WorkflowLLMCall",o[o.WorkflowLLMBatchCall=24]="WorkflowLLMBatchCall",o[o.WorkflowCode=25]="WorkflowCode",o[o.WorkflowCodeBatch=26]="WorkflowCodeBatch",o[o.WorkflowCondition=27]="WorkflowCondition",o[o.WorkflowPluginTool=28]="WorkflowPluginTool",o[o.WorkflowPluginToolBatch=29]="WorkflowPluginToolBatch",o[o.WorkflowKnowledge=30]="WorkflowKnowledge",o[o.WorkflowVariable=31]="WorkflowVariable",o[o.WorkflowDatabase=32]="WorkflowDatabase",o[o.Variable=33]="Variable",o[o.Database=34]="Database",o[o.LongTermMemory=35]="LongTermMemory",o[o.Hook=36]="Hook",o[o.BWStart=37]="BWStart",o[o.BWEnd=38]="BWEnd",o[o.BWBatch=39]="BWBatch",o[o.BWLoop=40]="BWLoop",o[o.BWCondition=41]="BWCondition",o[o.BWLLM=42]="BWLLM",o[o.BWParallel=43]="BWParallel",o[o.BWScript=44]="BWScript",o[o.BWVariable=45]="BWVariable",o[o.BWCallFlow=46]="BWCallFlow",o[o.BWConnector=47]="BWConnector",o[o.UserInputV2=48]="UserInputV2"},12978:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Undefined=0]="Undefined",n[n.Match=1]="Match",n[n.Term=2]="Term",n[n.Range=3]="Range",n[n.Exist=4]="Exist",n[n.NotExist=5]="NotExist",(r=t||(t={}))[r.STRING=0]="STRING",r[r.DOUBLE=1]="DOUBLE",r[r.BOOL=2]="BOOL",r[r.LONG=3]="LONG",r[r.BYTES=4]="BYTES"},40693:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.Coze=0]="Coze",(u=t||(t={}))[u.Debug=0]="Debug",(c=n||(n={}))[c.TEXT=0]="TEXT",c[c.TIME=1]="TIME",c[c.TIME_DURATION=2]="TIME_DURATION",(d=r||(r={}))[d.TEXT=0]="TEXT",(p=i||(i={}))[p.ALICE_OP=0]="ALICE_OP",p[p.DOUBAO_CICI_DEBUG=1]="DOUBAO_CICI_DEBUG",p[p.WORKFLOW_DEBUG=2]="WORKFLOW_DEBUG",p[p.COZE_OP=3]="COZE_OP",(h=o||(o={}))[h.Undefined=0]="Undefined",h[h.Match=1]="Match",h[h.Term=2]="Term",h[h.Range=3]="Range",h[h.Exist=4]="Exist",h[h.NotExist=5]="NotExist",h[h.NotIn=6]="NotIn",(f=a||(a={}))[f.STRING=0]="STRING",f[f.DOUBLE=1]="DOUBLE",f[f.BOOL=2]="BOOL",f[f.LONG=3]="LONG",f[f.BYTES=4]="BYTES",(g=s||(s={}))[g.Ordinary=0]="Ordinary",g[g.AdvancedWhitelist=1]="AdvancedWhitelist",g[g.DoubaoTransfer=2]="DoubaoTransfer",g[g.DoubaoUnencrypted=3]="DoubaoUnencrypted"},70789:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("14621");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}CreatePersonalAccessTokenAndPermission(e,t){let n=this.genBaseURL("/api/permission_api/pat/create_personal_access_token_and_permission"),r={name:e.name,expire_at:e.expire_at,duration_day:e.duration_day,workspace_permission:e.workspace_permission,account_permission:e.account_permission,workspace_permission_v2:e.workspace_permission_v2},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UpdatePersonalAccessTokenAndPermission(e,t){let n=this.genBaseURL("/api/permission_api/pat/update_personal_access_token_and_permission"),r={workspace_permission:e.workspace_permission,account_permission:e.account_permission,workspace_permission_v2:e.workspace_permission_v2,id:e.id,name:e.name},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}DeletePersonalAccessTokenAndPermission(e,t){let n=this.genBaseURL("/api/permission_api/pat/delete_personal_access_token_and_permission"),r={id:e.id};return this.request({url:n,method:"POST",data:r},t)}ListPersonalAccessTokens(e,t){let n=this.genBaseURL("/api/permission_api/pat/list_personal_access_tokens");return this.request({url:n,method:"GET"},t)}GetPersonalAccessTokenAndPermission(e,t){let n=this.genBaseURL("/api/permission_api/pat/get_personal_access_token_and_permission"),r={id:e.id};return this.request({url:n,method:"GET",params:r},t)}ListPersonalAccessTokenSupportPermissions(e,t){let n=this.genBaseURL("/api/permission_api/pat/list_personal_access_token_support_permissions");return this.request({url:n,method:"GET"},t)}CheckPersonalAccessTokenInWorkspace(e,t){let n=this.genBaseURL("/api/permission_api/pat/check_personal_access_token_in_workspace"),r={workspace_id:e.workspace_id};return this.request({url:n,method:"GET",params:r},t)}AddCollaborator(e,t){let n=this.genBaseURL("/api/permission/authz/add_collaborator"),r={collaborator_types:e.collaborator_types,principal:e.principal,resource:e.resource};return this.request({url:n,method:"POST",data:r},t)}RemoveCollaborator(e,t){let n=this.genBaseURL("/api/permission/authz/remove_collaborator"),r={principal:e.principal,resource:e.resource};return this.request({url:n,method:"POST",data:r},t)}CreateAppMeta(e,t){let n=this.genBaseURL("/api/permission_api/app/create_app_meta"),r={app_type:e.app_type,client_type:e.client_type,name:e.name,description:e.description};return this.request({url:n,method:"POST",data:r},t)}ListAppMeta(e,t){let n=this.genBaseURL("/api/permission_api/app/list_app_meta");return this.request({url:n,method:"GET"},t)}GetAppMeta(e,t){let n=this.genBaseURL("/api/permission_api/app/get_app_meta"),r={appid:e.appid},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}UpdateAppMeta(e,t){let n=this.genBaseURL("/api/permission_api/app/update_app_meta"),r={status:e.status,oauth2_configuration:e.oauth2_configuration,appid:e.appid,name:e.name,description:e.description,declared_permission:e.declared_permission,declared_permission_v2:e.declared_permission_v2},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}UploadPublicKey(e,t){let n=this.genBaseURL("/api/permission_api/app/upload_public_key"),r={appid:e.appid,public_key_pem:e.public_key_pem};return this.request({url:n,method:"POST",data:r},t)}DeletePublicKey(e,t){let n=this.genBaseURL("/api/permission_api/app/delete_public_key"),r={fingerprint:e.fingerprint};return this.request({url:n,method:"POST",data:r},t)}CreateClientSecret(e,t){let n=this.genBaseURL("/api/permission_api/app/create_client_secret"),r={appid:e.appid};return this.request({url:n,method:"POST",data:r},t)}DeleteClientSecret(e,t){let n=this.genBaseURL("/api/permission_api/app/delete_client_secret"),r={appid:e.appid,client_secret_id:e.client_secret_id};return this.request({url:n,method:"POST",data:r},t)}PutOAuth2Configuration(e,t){let n=this.genBaseURL("/api/permission_api/app/put_oauth2_configuration"),r={oauth2_configuration:e.oauth2_configuration,appid:e.appid};return this.request({url:n,method:"POST",data:r},t)}AuthorizeAppWithDeclaredPermission(e,t){let n=this.genBaseURL("/api/permission_api/app/authorize_app_with_declared_permission"),r={appid:e.appid};return this.request({url:n,method:"POST",data:r},t)}ListAuthorizedApps(e,t){let n=this.genBaseURL("/api/permission_api/app/list_authorized_apps"),r={page:e.page,size:e.size},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}GetAppAuthorizationRequestInfo(e,t){let n=this.genBaseURL("/api/permission_api/app/get_app_authorization_request_info"),r={authorize_key:e.authorize_key},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}RevokeAppAuthorizedPermission(e,t){let n=this.genBaseURL("/api/permission_api/app/revoke_app_authorized_permission"),r={authorization_type:e.authorization_type,appid:e.appid};return this.request({url:n,method:"POST",data:r},t)}DeleteApp(e,t){let n=this.genBaseURL("/api/permission_api/app/delete_app"),r={appid:e.appid};return this.request({url:n,method:"POST",data:r},t)}ModifyCollaborator(e,t){let n=this.genBaseURL("/api/permission/authz/modify_collaborator"),r={principal:e.principal,resource:e.resource,collaborator_types:e.collaborator_types};return this.request({url:n,method:"POST",data:r},t)}BatchAddCollaborator(e,t){let n=this.genBaseURL("/api/permission/authz/batch_add_collaborator"),r={principal_type:e.principal_type,resource:e.resource,principal_ids:e.principal_ids,collaborator_types:e.collaborator_types};return this.request({url:n,method:"POST",data:r},t)}GetAppInstallationRequestInfo(e,t){let n=this.genBaseURL("/api/permission_api/app/get_app_installation_request_info"),r={appid:e.appid},i={"x-tt-env":e["x-tt-env"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}AppInstallationConsent(e,t){let n=this.genBaseURL("/api/permission_api/app/app_installation_consent"),r={appid:e.appid,installation_account_hint:e.installation_account_hint};return this.request({url:n,method:"POST",data:r},t)}ImpersonateCozeUser(e,t){let n=this.genBaseURL("/api/permission_api/coze_web_app/impersonate_coze_user"),r={scope:(e||{}).scope};return this.request({url:n,method:"POST",data:r},t)}GetVolcanoConnectInfoWithInsName(e,t){let n=this.genBaseURL("/api/permission_api/volcano/get_volcano_connect_info_with_ins_name");return this.request({url:n,method:"GET"},t)}GetVolcanoMaskedMobile(e,t){let n=this.genBaseURL("/api/permission_api/volcano/get_volcano_masked_mobile");return this.request({url:n,method:"GET"},t)}BindVolcano(e,t){let n=this.genBaseURL("/api/permission_api/volcano/bind_volcano");return this.request({url:n,method:"POST"},t)}AuthorizeAppWithSpecifiedWorkspace(e,t){let n=this.genBaseURL("/api/permission_api/app/authorize_app_with_specified_permission"),r={appid:e.appid,workspace_list:e.workspace_list};return this.request({url:n,method:"POST",data:r},t)}GetUserProfile(e,t){let n=this.genBaseURL("/v1/users/me");return this.request({url:n,method:"GET"},t)}ListAppAuthorizations(e,t){let n=this.genBaseURL(`/v1/oauth-apps/${e.appid}/authorizations`),r={page_num:e.page_num,page_size:e.page_size},i={authorization:e.authorization};return this.request({url:n,method:"GET",params:r,headers:i},t)}constructor(e){r(this,"request",()=>{throw Error("PatPermissionApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},14621:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={})).normal="Normal",a.connector="Connector",(s=t||(t={})).auth_app="AuthApp",s.on_behalf_of_user="OnBehalfOfUser",(l=n||(n={})).noncertificated="Noncertificated",l.certificated="Certificated",(u=r||(r={})).legacy="Legacy",u.web_backend="WebBackend",u.single_page_or_native="SinglePageOrNative",u.terminal="Terminal",u.service="Service",(c=i||(i={})).bot_editor="BotEditor",c.bot_developer="BotDeveloper",c.bot_operator="BotOperator",(d=o||(o={})).active="Active",d.deactive="Deactive"},56812:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("8544"),n("49557"),n("94869"),n("29163");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}constructor(e){r(this,"request",()=>{throw Error("PermissionAuthzService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},8544:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Allow=1]="Allow",n[n.Deny=2]="Deny",(r=t||(t={}))[r.Select=1]="Select",r[r.All=2]="All"},49557:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Session=1]="Session",n[n.PAT=2]="PAT",n[n.AppItself=3]="AppItself",n[n.JWT=4]="JWT",n[n.AuthCode=5]="AuthCode",n[n.PKCE=6]="PKCE",n[n.DeviceCode=7]="DeviceCode",n[n.Impersonate=8]="Impersonate",n[n.TokenExchangeImpersonate=9]="TokenExchangeImpersonate",(r=t||(t={}))[r.User=1]="User",r[r.Service=2]="Service"},94869:function(){"use strict";var e,t;(t=e||(e={}))[t.Account=1]="Account",t[t.Workspace=2]="Workspace",t[t.App=3]="App",t[t.Bot=4]="Bot",t[t.Plugin=5]="Plugin",t[t.Workflow=6]="Workflow",t[t.Knowledge=7]="Knowledge",t[t.PersonalAccessToken=8]="PersonalAccessToken",t[t.Connector=9]="Connector",t[t.Card=10]="Card",t[t.CardTemplate=11]="CardTemplate",t[t.Conversation=12]="Conversation",t[t.File=13]="File",t[t.ServicePrincipal=14]="ServicePrincipal",t[t.Enterprise=15]="Enterprise",t[t.MigrateTask=16]="MigrateTask",t[t.Prompt=17]="Prompt",t[t.UI=18]="UI",t[t.Project=19]="Project",t[t.EvaluationDataset=20]="EvaluationDataset",t[t.EvaluationTask=21]="EvaluationTask",t[t.Evaluator=22]="Evaluator",t[t.Database=23]="Database",t[t.OceanProject=24]="OceanProject"},29163:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.BotEditor=1]="BotEditor",n[n.BotDeveloper=2]="BotDeveloper",n[n.BotOperator=3]="BotOperator",n[n.WorkflowEditor=4]="WorkflowEditor",n[n.ProjectEditor=5]="ProjectEditor",(r=t||(t={}))[r.Predefined=1]="Predefined",r[r.Custom=2]="Custom"},13090:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return i}}),n("83015");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}AuthorizeConsent(e,t){let n=this.genBaseURL("/api/permission/oauth2/authorize_consent"),r={authorize_key:e.authorize_key,consent:e.consent};return this.request({url:n,method:"POST",data:r},t)}DeviceVerification(e,t){let n=this.genBaseURL("/api/permission/oauth2/device/verification"),r={user_code:e.user_code};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("PermissionOauth2Service.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},38852:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZPm:function(){return i}}),n("83015"),n("65852"),n("55367"),n("13657"),n("78737"),n("46455"),n("57234"),n("48034"),n("37413"),n("22216");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}GetSpaceInfoV2(e,t){let n=this.genBaseURL("/api/playground_api/space/info"),r={space_id:e.space_id,join_space_type:e.join_space_type};return this.request({url:n,method:"POST",data:r},t)}DeleteSpaceV2(e,t){let n=this.genBaseURL("/api/playground_api/space/delete"),r={space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}SaveSpaceV2(e,t){let n=this.genBaseURL("/api/playground_api/space/save"),r={space_id:e.space_id,name:e.name,description:e.description,icon_uri:e.icon_uri,space_type:e.space_type,space_mode:e.space_mode,space_config:e.space_config};return this.request({url:n,method:"POST",data:r},t)}GetSpaceListV2(e,t){let n=this.genBaseURL("/api/playground_api/space/list"),r={search_word:(e||{}).search_word};return this.request({url:n,method:"POST",data:r},t)}UpdateAgent(e,t){let n=this.genBaseURL("/api/playground_api/update_agent"),r={id:e.id,reference_id:e.reference_id,current_version:e.current_version,space_id:e.space_id,bot_id:e.bot_id,base_commit_version:e.base_commit_version,name:e.name,description:e.description,position:e.position,icon_uri:e.icon_uri,intents:e.intents,work_info:e.work_info,is_delete:e.is_delete};return this.request({url:n,method:"POST",data:r},t)}BatchCreateAgent(e,t){let n=this.genBaseURL("/api/playground_api/batch_create_agent"),r={space_id:e.space_id,bot_id:e.bot_id,agent_type:e.agent_type,position:e.position,references:e.references,agent_cnt:e.agent_cnt,base_commit_version:e.base_commit_version,version_compat:e.version_compat};return this.request({url:n,method:"POST",data:r},t)}GetPublishBotList(e,t){let n=this.genBaseURL("/api/playground_api/get_publish_bot_list"),r={space_id:e.space_id,bot_mode:e.bot_mode,page_num:e.page_num,page_size:e.page_size,name:e.name,login_user_create:e.login_user_create,bot_id:e.bot_id};return this.request({url:n,method:"GET",params:r},t)}MGetBotByVersion(e,t){let n=this.genBaseURL("/api/playground_api/mget_bot_by_version"),r={bot_versions:e.bot_versions,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}BotLastPublishInfo(e,t){let n=this.genBaseURL("/api/playground_api/bot_last_publish_info"),r={space_id:e.space_id,bot_id:e.bot_id,bot_mode:e.bot_mode};return this.request({url:n,method:"GET",params:r},t)}ProduceBot(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/produce/create_bot"),i={space_id:n.space_id,name:n.name,description:n.description,icon_url:n.icon_url,icon_uri:n.icon_uri,prompt:n.prompt,plugin_apis:n.plugin_apis,prologue:n.prologue,suggested_questions:n.suggested_questions,bot_source:n.bot_source};return this.request({url:r,method:"POST",data:i},t)}UpdateProducedBot(e,t){let n=this.genBaseURL("/api/playground_api/produce/update_bot"),r={bot_id:e.bot_id,name:e.name,description:e.description,icon_url:e.icon_url,icon_uri:e.icon_uri};return this.request({url:n,method:"POST",data:r},t)}GetPublishedBotList(e,t){let n=this.genBaseURL("/api/playground_api/bot_version/get_published_bot_list"),r={space_id_list:e.space_id_list,page:e.page,size:e.size};return this.request({url:n,method:"POST",data:r},t)}GetBotVersionInfo(e,t){let n=this.genBaseURL("/api/playground_api/bot_version/get_bot_version_info"),r={bot_id:e.bot_id,version:e.version,scene:e.scene};return this.request({url:n,method:"POST",data:r},t)}DuplicateBotVersionToSpace(e,t){let n=this.genBaseURL("/api/playground_api/dup_bot_version"),r={target_space_id:e.target_space_id,bot_id:e.bot_id,version:e.version,name:e.name,dup_society_host:e.dup_society_host};return this.request({url:n,method:"POST",data:r},t)}UpdateUserRiskAlertInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/update_user_risk_alert_info"),i={risk_alert_type:n.risk_alert_type,switch_info:n.switch_info};return this.request({url:r,method:"POST",data:i},t)}GetUserRiskAlertInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/get_user_risk_alert_info"),i={risk_alert_type_list:n.risk_alert_type_list,switch_type_list:n.switch_type_list},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}DraftBotCollaboration(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/collaboration"),r={space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}BotInfoAudit(e,t){let n=this.genBaseURL("/api/playground_api/audit/bot_info"),r={bot_id:e.bot_id,bot_audit_info:e.bot_audit_info,space_id:e.space_id,bot_mode:e.bot_mode};return this.request({url:n,method:"POST",data:r},t)}TimeCapsuleInvokeEvent(e,t){let n=this.genBaseURL("/api/playground_api/timecapsule_invoke_event"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}InviteMemberLinkV2(e,t){let n=this.genBaseURL("/api/playground_api/space/invite"),r={space_id:e.space_id,team_invite_link_status:e.team_invite_link_status,func:e.func};return this.request({url:n,method:"POST",data:r},t)}SpaceMemberDetailV2(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/member/detail"),i={space_id:n.space_id,search_word:n.search_word,space_role_type:n.space_role_type,page:n.page,size:n.size};return this.request({url:r,method:"POST",data:i},t)}JoinSpaceV2(e,t){let n=this.genBaseURL("/api/playground_api/space/join"),r={space_id:e.space_id,join_space_type:e.join_space_type,is_reject:e.is_reject};return this.request({url:n,method:"POST",data:r},t)}UpdateSpaceMemberV2(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/member/update"),i={space_id:n.space_id,user_id:n.user_id,space_role_type:n.space_role_type};return this.request({url:r,method:"POST",data:i},t)}TransferSpaceV2(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/member/transfer"),i={space_id:n.space_id,transfer_user_id:n.transfer_user_id};return this.request({url:r,method:"POST",data:i},t)}RemoveSpaceMemberV2(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/member/remove"),i={space_id:n.space_id,remove_user_id:n.remove_user_id};return this.request({url:r,method:"POST",data:i},t)}SearchMemberV2(e,t){let n=this.genBaseURL("/api/playground_api/space/member/search"),r={search_list:e.search_list,space_id:e.space_id,search_volcano_account_list:e.search_volcano_account_list};return this.request({url:n,method:"POST",data:r},t)}AddBotSpaceMemberV2(e,t){let n=this.genBaseURL("/api/playground_api/space/member/add"),r={member_info_list:e.member_info_list,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}ExitSpaceV2(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/member/exit"),i={space_id:n.space_id,transfer_user_id:n.transfer_user_id};return this.request({url:r,method:"POST",data:i},t)}GetBotPopupInfo(e,t){let n=this.genBaseURL("/api/playground_api/operate/get_bot_popup_info"),r={bot_popup_types:e.bot_popup_types,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}UpdateBotPopupInfo(e,t){let n=this.genBaseURL("/api/playground_api/operate/update_bot_popup_info"),r={bot_popup_type:e.bot_popup_type,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}GenerateDescription(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/generate_description"),r={bot_name:e.bot_name,prompt:e.prompt};return this.request({url:n,method:"POST",data:r},t)}DraftBotPublishHistoryDetail(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/publish_history_detail"),r={bot_id:e.bot_id,space_id:e.space_id,publish_id:e.publish_id,version:e.version};return this.request({url:n,method:"POST",data:r},t)}GenerateStoreCategory(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/generate_store_category"),r={bot_name:e.bot_name,bot_description:e.bot_description,prompt:e.prompt};return this.request({url:n,method:"POST",data:r},t)}UpdateMultiAgent(e,t){let n=this.genBaseURL("/api/playground_api/update_multi_agent"),r={space_id:e.space_id,bot_id:e.bot_id,session_type:e.session_type,base_commit_version:e.base_commit_version,connector_type:e.connector_type};return this.request({url:n,method:"POST",data:r},t)}SwitchAgentVersion(e,t){let n=this.genBaseURL("/api/playground_api/switch_agent_version"),r={bot_id:e.bot_id,space_id:e.space_id,operate_type:e.operate_type};return this.request({url:n,method:"POST",data:r},t)}LangDetect(e,t){let n=this.genBaseURL("/api/playground_api/audio/lang/detect"),r={detect_text_list:e.detect_text_list};return this.request({url:n,method:"POST",data:r},t)}GetImagexShortUrl(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/get_imagex_url"),i={uris:n.uris,scene:n.scene};return this.request({url:r,method:"POST",data:i},t)}GetPlatformCommonConfig(e,t){let n=this.genBaseURL("/api/playground_api/get_platform_common_config");return this.request({url:n,method:"GET"},t)}CreateShortcutCommand(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/create_shortcut_command"),i={object_id:n.object_id,shortcuts:n.shortcuts};return this.request({url:r,method:"POST",data:i},t)}MGetUserBasicInfo(e,t){let n=this.genBaseURL("/api/playground_api/mget_user_info"),r={user_ids:e.user_ids,need_user_status:e.need_user_status,need_enterprise_identity:e.need_enterprise_identity};return this.request({url:n,method:"POST",data:r},t)}BindVolcanoTrn(e,t){let n=this.genBaseURL("/api/playground_api/space/bind_volcano_trn"),r={space_id:e.space_id,trn:e.trn,account_name:e.account_name};return this.request({url:n,method:"POST",data:r},t)}UnbindVolcanoTrn(e,t){let n=this.genBaseURL("/api/playground_api/space/unbind_volcano_trn"),r={space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}RetrieveFileOpen(e,t){let n=this.genBaseURL("/v1/files/retrieve"),r={file_id:e.file_id};return this.request({url:n,method:"GET",params:r},t)}RetrieveFileContentOpen(e,t){let n=this.genBaseURL("/v1/files/content/retrieve"),r={file_id:e.file_id};return this.request({url:n,method:"GET",params:r},t)}UploadFileOpen(e,t){let n=this.genBaseURL("/v1/files/upload"),r={Data:e.Data},i={"Content-Type":e["Content-Type"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}BotInfoCheck(e,t){let n=this.genBaseURL("/api/playground_api/check/bot_info_check"),r={bot_id:e.bot_id,space_id:e.space_id,bot_audit_info:e.bot_audit_info};return this.request({url:n,method:"POST",data:r},t)}SupportVoiceCall(e,t){let n=this.genBaseURL("/api/playground_api/support_voice_call"),r={voice_id_list:e.voice_id_list};return this.request({url:n,method:"POST",data:r},t)}CreateUpdateShortcutCommand(e,t){let n=this.genBaseURL("/api/playground_api/create_update_shortcut_command"),r={object_id:e.object_id,space_id:e.space_id,shortcuts:e.shortcuts};return this.request({url:n,method:"POST",data:r},t)}MoveDraftBot(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/move_draft_bot"),i={bot_id:n.bot_id,target_spaceId:n.target_spaceId,from_spaceId:n.from_spaceId,move_action:n.move_action};return this.request({url:r,method:"POST",data:i},t)}GetShortcutAvailNodes(e,t){let n=this.genBaseURL("/api/playground_api/get_shortcut_avail_nodes"),r={bot_id:e.bot_id,space_id:e.space_id,page_num:e.page_num,page_size:e.page_size};return this.request({url:n,method:"POST",data:r},t)}MarkReadNotice(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/gen_img/mark_read_notice"),i={bot_id:n.bot_id,pic_type:n.pic_type};return this.request({url:r,method:"POST",data:i},t)}CancelGenerateGif(e,t){let n=this.genBaseURL("/api/playground_api/gen_img/cancel_generate_gif"),r={task_id:(e||{}).task_id};return this.request({url:n,method:"POST",data:r},t)}GetPicTask(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/gen_img/get_pic_task"),i={bot_id:n.bot_id,pic_type:n.pic_type};return this.request({url:r,method:"POST",data:i},t)}GeneratePic(e,t){let n=this.genBaseURL("/api/playground_api/gen_img/generate_pic"),r={gen_prompt:e.gen_prompt,image_url:e.image_url,image_uri:e.image_uri,bot_id:e.bot_id,pic_type:e.pic_type,device_id:e.device_id,bot_name:e.bot_name,bot_desc:e.bot_desc};return this.request({url:n,method:"POST",data:r},t)}GetGenPicTimes(e,t){let n=this.genBaseURL("/api/playground_api/gen_img/get_gen_pic_times");return this.request({url:n,method:"POST"},t)}ListStyle(e,t){let n=this.genBaseURL("/api/playground_api/gen_img/list_style");return this.request({url:n,method:"POST"},t)}GetFileUrls(e,t){let n=this.genBaseURL("/api/playground_api/get_file_list"),r={scene:(e||{}).scene};return this.request({url:n,method:"POST",data:r},t)}GetDraftBotInfoAgw(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/get_draft_bot_info"),r={bot_id:e.bot_id,version:e.version,commit_version:e.commit_version};return this.request({url:n,method:"POST",data:r},t)}CommitDraftBotInfoAgw(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/commit_draft_bot_info"),r={bot_id:e.bot_id,remark:e.remark};return this.request({url:n,method:"POST",data:r},t)}UpdateDraftBotInfoAgw(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/draftbot/update_draft_bot_info"),i={bot_info:n.bot_info,base_commit_version:n.base_commit_version};return this.request({url:r,method:"POST",data:i},t)}GetUserQueryCollectOption(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/get_user_query_collect_option");return this.request({url:n,method:"GET"},t)}GenerateUserQueryCollectPolicy(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/draftbot/generate_user_query_collect_policy"),i={bot_id:n.bot_id,developer_name:n.developer_name,contact_information:n.contact_information};return this.request({url:r,method:"POST",data:i},t)}GetCozeProRights(e,t){let n=this.genBaseURL("/api/playground_api/get_coze_pro_rights");return this.request({url:n,method:"POST"},t)}GetPolicyContent(e,t){let n=this.genBaseURL(`/api/playground_api/private_policy/${e.secret}`);return this.request({url:n,method:"GET"},t)}UpdateAgentV2(e,t){let n=this.genBaseURL("/api/playground_api/update_agent_v2"),r={id:e.id,reference_id:e.reference_id,current_version:e.current_version,space_id:e.space_id,bot_id:e.bot_id,base_commit_version:e.base_commit_version,name:e.name,description:e.description,position:e.position,icon_uri:e.icon_uri,intents:e.intents,is_delete:e.is_delete,prompt_info:e.prompt_info,model_info:e.model_info,plugin_info_list:e.plugin_info_list,knowledge:e.knowledge,workflow_info_list:e.workflow_info_list,jump_config:e.jump_config,suggest_reply_info:e.suggest_reply_info,hook_info:e.hook_info};return this.request({url:n,method:"POST",data:r},t)}CopyAgentV2(e,t){let n=this.genBaseURL("/api/playground_api/copy_agent_v2"),r={bot_id:e.bot_id,agent_id:e.agent_id,base_commit_version:e.base_commit_version};return this.request({url:n,method:"POST",data:r},t)}CreateAgentV2(e,t){let n=this.genBaseURL("/api/playground_api/create_agent_v2"),r={bot_id:e.bot_id,agent_type:e.agent_type,position:e.position,references:e.references,base_commit_version:e.base_commit_version};return this.request({url:n,method:"POST",data:r},t)}BatchCreateAgentV2(e,t){let n=this.genBaseURL("/api/playground_api/batch_create_agent_v2"),r={bot_id:e.bot_id,agent_type:e.agent_type,position:e.position,references:e.references,agent_cnt:e.agent_cnt,base_commit_version:e.base_commit_version};return this.request({url:n,method:"POST",data:r},t)}CozeProCopyGetLinkMetaInfo(e,t){let n=this.genBaseURL("/api/playground_api/coze_pro/get_link_meta_info"),r={auth_code:e.auth_code};return this.request({url:n,method:"POST",data:r},t)}CozeProCopyTaskConfirm(e,t){let n=this.genBaseURL("/api/playground_api/coze_pro/copy_task_confirm"),r={auth_code:e.auth_code};return this.request({url:n,method:"POST",data:r},t)}CozeProCopyGenerateAuthLink(e,t){let n=this.genBaseURL("/api/playground_api/coze_pro/generate_auth_link"),r={copy_user_id:e.copy_user_id,target_space_id:e.target_space_id};return this.request({url:n,method:"POST",data:r},t)}GetOpVoiceList(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/get_op_voice_list"),i={voice_ids:n.voice_ids,name:n.name,style_id:n.style_id,language_code:n.language_code,status:n.status,page_index:n.page_index,page_size:n.page_size};return this.request({url:r,method:"POST",data:i},t)}GetSupportLanguage(e,t){let n=this.genBaseURL("/api/playground_api/get_support_language");return this.request({url:n,method:"GET"},t)}SynchronizeVoiceList(e,t){let n=this.genBaseURL("/api/playground_api/synchronize_voice_list");return this.request({url:n,method:"GET"},t)}CheckBotAllModelPluginIds(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/check_bot_all_model_plugin_ids"),r={bot_id:e.bot_id,commit_version:e.commit_version};return this.request({url:n,method:"POST",data:r},t)}GetBotCollaborationQuota(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/collaboration_quota"),r={bot_id:e.bot_id,only_config_item:e.only_config_item};return this.request({url:n,method:"POST",data:r},t)}NoticeMarkRead(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/notice/mark_read"),i={notice_ids:n.notice_ids,mark_all:n.mark_all};return this.request({url:r,method:"POST",data:i},t)}GetNoticeList(e,t){let n=this.genBaseURL("/api/playground_api/notice/get_list"),r={cursor:e.cursor,count:e.count,notice_rank_type:e.notice_rank_type};return this.request({url:n,method:"POST",data:r},t)}GetNoticeUnreadCount(e,t){let n=this.genBaseURL("/api/playground_api/notice/get_unread_count");return this.request({url:n,method:"POST"},t)}OpenSpaceList(e,t){let n=e||{},r=this.genBaseURL("/v1/workspaces"),i={page_num:n.page_num,page_size:n.page_size};return this.request({url:r,method:"GET",params:i},t)}ReportUserBehavior(e,t){let n=this.genBaseURL("/api/playground_api/report_user_behavior"),r={resource_id:e.resource_id,resource_type:e.resource_type,behavior_type:e.behavior_type,space_id:e.space_id};return this.request({url:n,method:"POST",data:r},t)}GetUserConfig(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/get_user_config"),i={risk_alert_type_list:n.risk_alert_type_list,switch_type_list:n.switch_type_list},o={Cookie:n.Cookie};return this.request({url:r,method:"POST",data:i,headers:o},t)}UpdateUserConfig(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/update_user_config"),i={risk_alert_type:n.risk_alert_type,switch_info:n.switch_info};return this.request({url:r,method:"POST",data:i},t)}GetRecentDraftBotList(e,t){let n=this.genBaseURL("/api/playground_api/draftbot/get_recent_draft_bot"),r={behavior_type:e.behavior_type,limit:e.limit};return this.request({url:n,method:"POST",data:r},t)}GetPromptResourceInfo(e,t){let n=this.genBaseURL("/api/playground_api/get_prompt_resource_info"),r={prompt_resource_id:e.prompt_resource_id};return this.request({url:n,method:"GET",params:r},t)}UpsertPromptResource(e,t){let n=this.genBaseURL("/api/playground_api/upsert_prompt_resource"),r={prompt:e.prompt};return this.request({url:n,method:"POST",data:r},t)}DeletePromptResource(e,t){let n=this.genBaseURL("/api/playground_api/delete_prompt_resource"),r={prompt_resource_id:e.prompt_resource_id};return this.request({url:n,method:"POST",data:r},t)}GetPromptReferenceInfo(e,t){let n=this.genBaseURL("/api/playground_api/get_prompt_reference_info"),r={space_id:e.space_id,reference_id:e.reference_id,reference_type:e.reference_type,api_id:e.api_id,project_id:e.project_id,avatar_bot_id:e.avatar_bot_id};return this.request({url:n,method:"POST",data:r},t)}GetOfficialPromptResourceList(e,t){let n=this.genBaseURL("/api/playground_api/get_official_prompt_list"),r={keyword:(e||{}).keyword};return this.request({url:n,method:"POST",data:r},t)}GetByteTreeByName(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/bpm/search_byte_tree"),i={name:n.name},o={"x-jwt-token":n["x-jwt-token"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}CreatePrivateModel(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/bpm/create_private_model"),i={space_id:n.space_id,model_vendor:n.model_vendor,model_show_name:n.model_show_name,model_arch:n.model_arch,ak:n.ak,token_limit:n.token_limit,upper_limit_of_max_token:n.upper_limit_of_max_token,function_call:n.function_call,multimodal:n.multimodal,multimodal_types:n.multimodal_types,form_detail:n.form_detail,record_id:n.record_id,maas_model_name:n.maas_model_name,maas_model_version:n.maas_model_version,maas_model_customer_id:n.maas_model_customer_id,model_family:n.model_family},o={"x-jwt-token":n["x-jwt-token"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}CheckExemptFormInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/bpm/check_exempt_form_info"),i={exempt_form_type:n.exempt_form_type,space_id:n.space_id},o={"x-jwt-token":n["x-jwt-token"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}SetByteTreeForSpace(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/bpm/set_byte_tree_for_space"),i={space_id:n.space_id,byte_tree_node_id:n.byte_tree_node_id,byte_tree_node_name:n.byte_tree_node_name,form_detail:n.form_detail,record_id:n.record_id},o={"x-jwt-token":n["x-jwt-token"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetModelCapability(e,t){let n=this.genBaseURL("/api/playground_api/bpm/get_model_capability"),r={vendor:e.vendor,model_arch:e.model_arch,maas_model_name:e.maas_model_name,maas_model_version:e.maas_model_version,maas_customer_id:e.maas_customer_id},i={"x-jwt-token":e["x-jwt-token"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}RevocateSpaceInvite(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/revocate_invite"),i={space_id:n.space_id,invite_user_id:n.invite_user_id};return this.request({url:r,method:"GET",params:i},t)}SaveVolcanoUserManageInfo(e,t){let n=this.genBaseURL("/api/playground_api/coze_pro/save_volcano_user_manage_info"),r={volcano_basic_user_config:e.volcano_basic_user_config};return this.request({url:n,method:"POST",data:r},t)}GetVolcanoUserManageInfo(e,t){let n=this.genBaseURL("/api/playground_api/coze_pro/get_volcano_user_manage_info");return this.request({url:n,method:"POST"},t)}GetSpaceInviteManageList(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/space/invite_manage_list"),i={space_id:n.space_id,space_invite_status:n.space_invite_status,search_word:n.search_word,page:n.page,size:n.size};return this.request({url:r,method:"GET",params:i},t)}DebugDouYin(e,t){let n=this.genBaseURL("/api/playground_api/douyin/debug"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}GetDouYinAuthCode(e,t){let n=this.genBaseURL("/api/playground_api/douyin/get_auth_qr_code");return this.request({url:n,method:"GET"},t)}GetDouyinAvatarInfo(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/douyin/v1/get_avatar_info"),i={is_draft:n.is_draft,body:n.body},o={"Open-Platform-App-ID":n["Open-Platform-App-ID"],"Byte-Signature":n["Byte-Signature"],"Byte-Timestamp":n["Byte-Timestamp"],"Byte-Nonce-Str":n["Byte-Nonce-Str"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}DouYinAuthUserList(e,t){let n=this.genBaseURL("/api/playground_api/douyin/auth_user_list"),r={page_index:e.page_index,page_size:e.page_size,bind_status:e.bind_status,order_by:e.order_by};return this.request({url:n,method:"POST",data:r},t)}GetDebugDouYinStatus(e,t){let n=this.genBaseURL("/api/playground_api/douyin/get_debug_status"),r={bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}CanUserApplyClose(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/coze_pro/can_user_apply_close"),i={AccountId:n.AccountId,EventName:n.EventName,Action:n.Action,Version:n.Version},o={"X-Tt-Logid":n["X-Tt-Logid"],"X-Top-Service":n["X-Top-Service"],"X-Top-Region":n["X-Top-Region"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}CreateRoom(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/create_room"),i={bot_id:n.bot_id,conversation_id:n.conversation_id,scene:n.scene,voice_id:n.voice_id};return this.request({url:r,method:"POST",data:i},t)}GetVoiceList(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/get_voice_list"),i={page_index:n.page_index,page_size:n.page_size,language_code:n.language_code};return this.request({url:r,method:"POST",data:i},t)}GetVoiceByIds(e,t){let n=this.genBaseURL("/api/playground_api/get_voice_by_ids"),r={voice_id_map:(e||{}).voice_id_map};return this.request({url:n,method:"POST",data:r},t)}GrayVoice(e,t){let n=e||{},r=this.genBaseURL("/api/playground_api/gray_voice"),i={bot_id:n.bot_id,language_to_voice_id:n.language_to_voice_id};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("PlaygroundApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},65852:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew;(j=e||(e={}))[j.Start_Agent=0]="Start_Agent",j[j.LLM_Agent=1]="LLM_Agent",j[j.Task_Agent=2]="Task_Agent",j[j.Global_Agent=3]="Global_Agent",j[j.Bot_Agent=4]="Bot_Agent",(U=t||(t={}))[U.OldVersion=0]="OldVersion",U[U.MiddleVersion=1]="MiddleVersion",U[U.NewVersion=2]="NewVersion",U[U.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(z=n||(n={}))[z.Default=1]="Default",z[z.Customize=2]="Customize",(F=r||(r={}))[F.Direct=1]="Direct",F[F.WebView=2]="WebView",F[F.SendMessage=3]="SendMessage",(G=i||(i={}))[G.Current=1]="Current",G[G.Previous=2]="Previous",G[G.Start=3]="Start",G[G.MostSuitable=4]="MostSuitable",(q=o||(o={}))[q.SingleMode=0]="SingleMode",q[q.MultiMode=1]="MultiMode",q[q.WorkflowMode=2]="WorkflowMode",(W=a||(a={}))[W.Default=0]="Default",W[W.Function=1]="Function",(Z=s||(s={}))[Z.Deleted=0]="Deleted",Z[Z.Using=1]="Using",Z[Z.Banned=2]="Banned",(H=l||(l={}))[H.LimitedReadWrite=1]="LimitedReadWrite",H[H.ReadOnly=2]="ReadOnly",H[H.UnlimitedReadWrite=3]="UnlimitedReadWrite",H[H.RWModeMax=4]="RWModeMax",(V=u||(u={}))[V.Default=0]="Default",V[V.DouyinAvatar=1]="DouyinAvatar",(Q=c||(c={}))[Q.Chat=0]="Chat",Q[Q.FunctionCall_1=1]="FunctionCall_1",Q[Q.FunctionCall_2=2]="FunctionCall_2",Q[Q.FunctionCall_3=3]="FunctionCall_3",(Y=d||(d={}))[Y.NotSet=0]="NotSet",Y[Y.Text=1]="Text",Y[Y.Voice=2]="Voice",Y[Y.Call=3]="Call",($=p||(p={}))[$.Off=0]="Off",$[$.On=1]="On",(K=h||(h={}))[K.Text=1]="Text",K[K.Number=2]="Number",K[K.Date=3]="Date",K[K.Float=4]="Float",K[K.Boolean=5]="Boolean",(X=f||(f={}))[X.Off=0]="Off",X[X.On=1]="On",(J=g||(g={}))[J.SLM=0]="SLM",J[J.LLM=1]="LLM",(ee=m||(m={}))[ee.Pre=1]="Pre",ee[ee.Post=2]="Post",ee[ee.PreAndPost=3]="PreAndPost",(et=_||(_={}))[et.Default=0]="Default",et[et.CustomizePrompt=1]="CustomizePrompt",(en=v||(v={}))[en.ReplyBottom=0]="ReplyBottom",en[en.CardList=1]="CardList",(er=b||(b={}))[er.UnlikeDefault=0]="UnlikeDefault",er[er.UnlikeHarmful=1]="UnlikeHarmful",er[er.UnlikeIncorrect=2]="UnlikeIncorrect",er[er.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",er[er.UnlikeOthers=4]="UnlikeOthers",(ei=y||(y={}))[ei.Default=0]="Default",ei[ei.Like=1]="Like",ei[ei.Unlike=2]="Unlike",(eo=w||(w={}))[eo.FullSupport=0]="FullSupport",eo[eo.PoorSupport=1]="PoorSupport",eo[eo.NotSupport=2]="NotSupport",(ea=S||(S={}))[ea.Plugin=1]="Plugin",ea[ea.Workflow=2]="Workflow",ea[ea.ImageFlow=3]="ImageFlow",ea[ea.Trigger=4]="Trigger",ea[ea.KnowledgeText=5]="KnowledgeText",ea[ea.KnowledgeTable=6]="KnowledgeTable",ea[ea.KnowledgeAutoCall=7]="KnowledgeAutoCall",ea[ea.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",ea[ea.Variable=9]="Variable",ea[ea.Database=10]="Database",ea[ea.LongTermMemory=11]="LongTermMemory",ea[ea.FileBox=12]="FileBox",ea[ea.Onboarding=13]="Onboarding",ea[ea.Suggestion=14]="Suggestion",ea[ea.ShortcutCommand=15]="ShortcutCommand",ea[ea.BackGroundImage=16]="BackGroundImage",ea[ea.TTS=17]="TTS",ea[ea.MultiAgentRecognize=18]="MultiAgentRecognize",ea[ea.KnowledgePhoto=19]="KnowledgePhoto",ea[ea.HookInfo=20]="HookInfo",(es=A||(A={}))[es.Text=0]="Text",es[es.Markdown=1]="Markdown",es[es.JSON=2]="JSON",(el=T||(T={}))[el.Custom=0]="Custom",el[el.Creative=1]="Creative",el[el.Balance=2]="Balance",el[el.Precise=3]="Precise",(eu=x||(x={}))[eu.Curve=0]="Curve",eu[eu.Straight=1]="Straight",(ec=k||(k={}))[ec.Flow=1]="Flow",ec[ec.Host=2]="Host",(ed=M||(M={}))[ed.NO_NEED=1]="NO_NEED",ed[ed.USE_MANUAL=2]="USE_MANUAL",ed[ed.USE_LLM=3]="USE_LLM",(ep=P||(P={}))[ep.FunctionCall=1]="FunctionCall",ep[ep.Independent=2]="Independent",(eh=I||(I={}))[eh.HasUpdates=1]="HasUpdates",eh[eh.IsDelete=2]="IsDelete",(ef=E||(E={}))[ef.ManualUpdate=1]="ManualUpdate",ef[ef.AutoUpdate=2]="AutoUpdate",(eg=C||(C={}))[eg.Default=0]="Default",eg[eg.Explore=1]="Explore",eg[eg.BotStore=2]="BotStore",eg[eg.CozeHome=3]="CozeHome",eg[eg.Playground=4]="Playground",eg[eg.Evaluation=5]="Evaluation",eg[eg.AgentAPP=6]="AgentAPP",eg[eg.PromptOptimize=7]="PromptOptimize",eg[eg.GenerateAgentInfo=8]="GenerateAgentInfo",(em=O||(O={}))[em.SemanticSearch=0]="SemanticSearch",em[em.HybirdSearch=1]="HybirdSearch",em[em.FullTextSearch=20]="FullTextSearch",(e_=D||(D={}))[e_.Public=1]="Public",e_[e_.Anonymous=2]="Anonymous",e_[e_.Custom=3]="Custom",(ev=L||(L={}))[ev.Random=0]="Random",ev[ev.All=1]="All",(eb=B||(B={}))[eb.System=0]="System",eb[eb.Custom=1]="Custom",eb[eb.Disable=2]="Disable",eb[eb.OriBot=3]="OriBot",(ey=N||(N={}))[ey.Off=0]="Off",ey[ey.On=1]="On",(ew=R||(R={}))[ew.Workflow=0]="Workflow",ew[ew.Imageflow=1]="Imageflow",ew[ew.SceneFlow=2]="SceneFlow",ew[ew.ChatFlow=3]="ChatFlow",ew[ew.All=100]="All"},55367:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g;(l=e||(e={}))[l.BotQuery=1]="BotQuery",l[l.Plugin=2]="Plugin",l[l.Workflow=3]="Workflow",(u=t||(t={}))[u.Unknown=0]="Unknown",u[u.Webhook=1]="Webhook",(c=n||(n={}))[c.Unknown=0]="Unknown",c[c.Time=1]="Time",c[c.Event=2]="Event",(d=r||(r={}))[d.NoHistory=0]="NoHistory",d[d.NeedHistory=1]="NeedHistory",(p=i||(i={}))[p.UserTaskTemplate=1]="UserTaskTemplate",(h=o||(o={}))[h.NoTriggered=0]="NoTriggered",h[h.Triggered=1]="Triggered",h[h.DoAction=2]="DoAction",h[h.WaitToPush=3]="WaitToPush",h[h.PushSuccess=4]="PushSuccess",h[h.PushFail=5]="PushFail",(f=a||(a={}))[f.Init=0]="Init",f[f.Activated=1]="Activated",f[f.Deactivated=2]="Deactivated",f[f.Suspended=3]="Suspended",(g=s||(s={}))[g.Preset=1]="Preset",g[g.UserTask=2]="UserTask",g[g.PluginRunTask=3]="PluginRunTask"},13657:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Deploying=0]="Deploying",r[r.Successful=1]="Successful",r[r.Failed=2]="Failed",(i=t||(t={}))[i.All=0]="All",i[i.Bind=1]="Bind",i[i.UnBind=2]="UnBind",(o=n||(n={}))[o.CreateTime=0]="CreateTime",o[o.UpdateTime=1]="UpdateTime"},78737:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.EditHeartbeat=10001]="EditHeartbeat",n[n.EditLockPreempt=10002]="EditLockPreempt",n[n.EditLockRelease=10003]="EditLockRelease",n[n.EditWindowBind=10004]="EditWindowBind",n[n.EditLockHolder=20001]="EditLockHolder",n[n.EditLockLoss=20002]="EditLockLoss",n[n.NewCommit=20003]="NewCommit",(r=t||(t={}))[r.Editor=1]="Editor",r[r.Plugin=2]="Plugin",r[r.DebugTask=3]="DebugTask",r[r.MessageNotify=4]="MessageNotify",r[r.EditorPic=5]="EditorPic"},46455:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez,eF,eG,eq,eW,eZ,eH,eV,eQ,eY,e$,eK,eX,eJ,e0,e1,e2,e4,e3,e5,e6,e8,e9,e7,te,tn,tr,ti,to,ta,ts,tl,tu,tc,td,tp,th,tf,tg,tm,t_,tv,tb,ty,tw,tS,tA,tT,tx,tk,tM,tP,tI,tE,tC,tO,tD,tL,tB,tN,tR,tj,tU,tz,tF,tG,tq,tW,tZ,tH,tV,tQ,tY,t$,tK,tX,tJ,t0,t1,t2,t4,t3,t5,t6,t8,t9,t7,ne,nt,nn,nr,ni,no,na,ns,nl,nu,nc,nd,np,nh,nf,ng,nm,n_,nv,nb,ny,nw,nS,nA,nT,nx,nk,nM,nP,nI,nE,nC,nO,nD,nL,nB,nN,nR,nj,nU,nz,nF,nG,nq,nW,nZ,nH,nV,nQ,nY,n$,nK,nX,nJ,n0;(te=e||(e={}))[te.Pass=0]="Pass",te[te.NoLeaveAllTeam=1]="NoLeaveAllTeam",(tn=t||(t={}))[tn.Start_Agent=0]="Start_Agent",tn[tn.LLM_Agent=1]="LLM_Agent",tn[tn.Task_Agent=2]="Task_Agent",tn[tn.Global_Agent=3]="Global_Agent",tn[tn.Bot_Agent=4]="Bot_Agent",(tr=n||(n={}))[tr.Upgrade=1]="Upgrade",tr[tr.BrowseOldNoPrompt=2]="BrowseOldNoPrompt",(ti=r||(r={}))[ti.Default=1]="Default",ti[ti.Customize=2]="Customize",(to=i||(i={}))[to.Direct=1]="Direct",to[to.WebView=2]="WebView",to[to.SendMessage=3]="SendMessage",(ta=o||(o={}))[ta.Create=1]="Create",ta[ta.Finish=2]="Finish",ta[ta.Failed=3]="Failed",(ts=a||(a={}))[ts.Auditing=0]="Auditing",ts[ts.Success=1]="Success",ts[ts.Failed=2]="Failed",(tl=s||(s={}))[tl.Inhouse=1]="Inhouse",tl[tl.Release=2]="Release",tl[tl.InhouseAndRelease=3]="InhouseAndRelease",(tu=l||(l={}))[tu.Draft=1]="Draft",tu[tu.PublishedOnDisplay=2]="PublishedOnDisplay",tu[tu.PublishedToDisplay=3]="PublishedToDisplay",tu[tu.Offline=4]="Offline",tu[tu.End=5]="End",(tc=u||(u={}))[tc.Visit=1]="Visit",tc[tc.Edit=2]="Edit",(td=c||(c={}))[td.Block_All_Login=0]="Block_All_Login",td[td.Block_Auth_Bind=1]="Block_Auth_Bind",td[td.Block_Auth_Unbind=2]="Block_Auth_Unbind",td[td.Block_Auth_ChangeBind=3]="Block_Auth_ChangeBind",td[td.Block_Reset_Password=4]="Block_Reset_Password",td[td.Block_Change_Password=5]="Block_Change_Password",td[td.Block_Mobile_Bind=6]="Block_Mobile_Bind",td[td.Block_Mobile_ChangeBind=7]="Block_Mobile_ChangeBind",td[td.Block_Email_Bind=8]="Block_Email_Bind",td[td.Block_Email_ChangeBind=9]="Block_Email_ChangeBind",td[td.Block_Update_LoginName=10]="Block_Update_LoginName",td[td.Block_All_Auth=11]="Block_All_Auth",(tp=d||(d={}))[tp.Plugin=1]="Plugin",tp[tp.Workflow=2]="Workflow",tp[tp.Bot=3]="Bot",(th=p||(p={}))[th.Nl2Bot=1]="Nl2Bot",(tf=h||(h={}))[tf.Deleted=1]="Deleted",(tg=f||(f={}))[tg.NL2Bot=1]="NL2Bot",(tm=g||(g={}))[tm.BotCreateEvent=1]="BotCreateEvent",tm[tm.BotUpdateEvent=2]="BotUpdateEvent",tm[tm.BotPublishEvent=3]="BotPublishEvent",tm[tm.BotDeleteEvent=4]="BotDeleteEvent",tm[tm.BotMigrateEvent=5]="BotMigrateEvent",tm[tm.BotCommitEvent=6]="BotCommitEvent",tm[tm.BotBanEvent=7]="BotBanEvent",tm[tm.BotUnBanEvent=8]="BotUnBanEvent",tm[tm.BotOwnerTransfer=9]="BotOwnerTransfer",(t_=m||(m={}))[t_.Online=1]="Online",t_[t_.Offline=2]="Offline",(tv=_||(_={}))[tv.DraftBot=1]="DraftBot",tv[tv.BotVersion=2]="BotVersion",(tb=v||(v={}))[tb.Offline=0]="Offline",tb[tb.Online=1]="Online",(ty=b||(b={}))[ty.SingleMode=0]="SingleMode",ty[ty.MultiMode=1]="MultiMode",ty[ty.WorkflowMode=2]="WorkflowMode",(tw=y||(y={}))[tw.AutoGenBeforePublish=1]="AutoGenBeforePublish",(tS=w||(w={}))[tS.Coze=1]="Coze",tS[tS.DouBao=2]="DouBao",tS[tS.Api=3]="Api",(tA=S||(S={}))[tA.CozeHome=1]="CozeHome",tA[tA.Space=2]="Space",(tT=A||(A={}))[tT.Undefined=0]="Undefined",tT[tT.PersonalDraft=1]="PersonalDraft",tT[tT.Base=2]="Base",tT[tT.Publish=3]="Publish",(tx=T||(T={}))[tx.Unknown=0]="Unknown",tx[tx.Normal=1]="Normal",tx[tx.DirectSubmit=2]="DirectSubmit",tx[tx.PreviousPageTimeout=3]="PreviousPageTimeout",tx[tx.FailedRetry=4]="FailedRetry",tx[tx.ManualRetry=5]="ManualRetry",tx[tx.OnlyCallBack=6]="OnlyCallBack",tx[tx.Arbitration=7]="Arbitration",(tk=x||(x={}))[tk.WhiteList=1]="WhiteList",tk[tk.BlackList=2]="BlackList",(tM=k||(k={}))[tM.HumanReviewWhiteConfig=1]="HumanReviewWhiteConfig",(tP=M||(M={}))[tP.User=1]="User",tP[tP.Space=2]="Space",tP[tP.Bot=3]="Bot",(tI=P||(P={}))[tI.Undefined=0]="Undefined",tI[tI.Committed=1]="Committed",tI[tI.Behind=2]="Behind",tI[tI.NoDraftReplica=3]="NoDraftReplica",(tE=I||(I={}))[tE.Undefined=0]="Undefined",tE[tE.Uptodate=1]="Uptodate",tE[tE.Behind=2]="Behind",tE[tE.NoDraftReplica=3]="NoDraftReplica",(tC=E||(E={}))[tC.Normal=0]="Normal",tC[tC.Offline=1]="Offline",tC[tC.TokenDisconnect=2]="TokenDisconnect",(tO=C||(C={}))[tO.Text=1]="Text",tO[tO.Suggest=2]="Suggest",tO[tO.Music=3]="Music",tO[tO.WebView=4]="WebView",tO[tO.Video=5]="Video",tO[tO.Image=6]="Image",tO[tO.Tako=8]="Tako",tO[tO.File=9]="File",tO[tO.Card=50]="Card",(tD=O||(O={}))[tD.USER_RES=0]="USER_RES",tD[tD.USER_LLM_RES=1]="USER_LLM_RES",tD[tD.USER_LLM_APILEN_RES=2]="USER_LLM_APILEN_RES",tD[tD.USER_LLM_API_RES=3]="USER_LLM_API_RES",(tL=D||(D={}))[tL.Create=1]="Create",tL[tL.InProgress=2]="InProgress",tL[tL.Success=3]="Success",tL[tL.Fail=4]="Fail",(tB=L||(L={}))[tB.Text=0]="Text",tB[tB.Table=1]="Table",tB[tB.Image=2]="Image",(tN=B||(B={}))[tN.Off=0]="Off",tN[tN.On=1]="On",(tR=N||(N={}))[tR.Deleted=0]="Deleted",tR[tR.Using=1]="Using",tR[tR.Banned=2]="Banned",tR[tR.MoveFail=3]="MoveFail",(tj=R||(R={}))[tj.ON_LINE=0]="ON_LINE",tj[tj.OFF_LINE=1]="OFF_LINE",tj[tj.TOUCH=2]="TOUCH",(tU=j||(j={}))[tU.ByteTree=1]="ByteTree",tU[tU.GPTAK=2]="GPTAK",tU[tU.MaasAK=3]="MaasAK",(tz=U||(U={}))[tz.Off=0]="Off",tz[tz.On=1]="On",(tF=z||(z={}))[tF.Init=0]="Init",tF[tF.Generating=1]="Generating",tF[tF.Success=2]="Success",tF[tF.Fail=3]="Fail",tF[tF.Cancel=4]="Cancel",(tG=F||(F={}))[tG.BotStore=1]="BotStore",(tq=G||(G={}))[tq.shorcutIcon=1]="shorcutIcon",(tW=q||(q={}))[tW.Onboarding=0]="Onboarding",tW[tW.BackgroundImage=1]="BackgroundImage",(tZ=W||(W={}))[tZ.Latest=1]="Latest",tZ[tZ.History=2]="History",(tH=Z||(Z={}))[tH.WaitListOff=1]="WaitListOff",tH[tH.AdminOpt=2]="AdminOpt",tH[tH.WhiteList=3]="WhiteList",(tV=H||(H={}))[tV.SUBMIT=1]="SUBMIT",tV[tV.FLAG=2]="FLAG",tV[tV.ExploreOnline=3]="ExploreOnline",tV[tV.COMMIT=4]="COMMIT",tV[tV.COMMITANDFLAG=5]="COMMITANDFLAG",tV[tV.MULTIAGENTUPGRADE=6]="MULTIAGENTUPGRADE",tV[tV.Evaluation=7]="Evaluation",(tQ=V||(V={}))[tQ.Online=1]="Online",tQ[tQ.Delete=2]="Delete",(tY=Q||(Q={}))[tY.GetInfo=1]="GetInfo",(t$=Y||(Y={}))[t$.Normal=1]="Normal",t$[t$.Invalid=2]="Invalid",t$[t$.Expired=3]="Expired",t$[t$.Rejected=4]="Rejected",(tK=$||($={}))[tK.NotDefault=0]="NotDefault",tK[tK.Default=1]="Default",(tX=K||(K={}))[tX.Used=1]="Used",tX[tX.Deleted=2]="Deleted",(tJ=X||(X={}))[tJ.MessageInfo=1]="MessageInfo",tJ[tJ.SystemInfo=2]="SystemInfo",tJ[tJ.Variable=3]="Variable",tJ[tJ.OtherInfo=4]="OtherInfo",tJ[tJ.HistoryInfo=5]="HistoryInfo",tJ[tJ.APIINFO=6]="APIINFO",tJ[tJ.SYSTEMINFOAll=7]="SYSTEMINFOAll",tJ[tJ.DataSet=8]="DataSet",tJ[tJ.Onboarding=9]="Onboarding",tJ[tJ.OUTPUTPARSER=10]="OUTPUTPARSER",tJ[tJ.PROFILEMEMORY=11]="PROFILEMEMORY",tJ[tJ.Table=12]="Table",tJ[tJ.WorkFlow=13]="WorkFlow",tJ[tJ.Task=14]="Task",tJ[tJ.SuggestReply=15]="SuggestReply",tJ[tJ.Functions=16]="Functions",(t0=J||(J={}))[t0.Apply=1]="Apply",t0[t0.Invite=2]="Invite",(t1=ee||(ee={}))[t1.User=1]="User",t1[t1.All=2]="All",(t2=et||(et={}))[t2.Assistant=1]="Assistant",t2[t2.User=2]="User",t2[t2.ModelResponse=3]="ModelResponse",t2[t2.ApiResponse=4]="ApiResponse",t2[t2.System=5]="System",t2[t2.DataSetRecord=6]="DataSetRecord",t2[t2.TIME=100]="TIME",(t4=en||(en={}))[t4.GPT=1]="GPT",t4[t4.Claude=3]="Claude",t4[t4.Gemini=11]="Gemini",t4[t4.Moonshot=12]="Moonshot",t4[t4.GLM=13]="GLM",t4[t4.QWen=15]="QWen",t4[t4.DeekSeek=19]="DeekSeek",t4[t4.StepFun=23]="StepFun",(t3=er||(er={}))[t3.Douyin=1]="Douyin",(t5=ei||(ei={}))[t5.enable=0]="enable",t5[t5.disable=1]="disable",(t6=eo||(eo={}))[t6.GPTOpenAPI=1]="GPTOpenAPI",t6[t6.Maas=2]="Maas",t6[t6.LLMFlow=3]="LLMFlow",t6[t6.Merlin=4]="Merlin",(t8=ea||(ea={}))[t8.Move=0]="Move",t8[t8.ForcedMove=1]="ForcedMove",t8[t8.RetryMove=2]="RetryMove",t8[t8.Preview=3]="Preview",t8[t8.ViewTask=4]="ViewTask",t8[t8.CancelTask=5]="CancelTask",(t9=es||(es={}))[t9.All=0]="All",t9[t9.Unread=1]="Unread",(t7=el||(el={}))[t7.Bot=1]="Bot",(ne=eu||(eu={}))[ne.Doing=1]="Doing",ne[ne.Done=2]="Done",ne[ne.Fail=3]="Fail",(nt=ec||(ec={}))[nt.CreateTime=0]="CreateTime",nt[nt.UpdateTime=1]="UpdateTime",nt[nt.PublishTime=2]="PublishTime",(nn=ed||(ed={}))[nn.CharactersAnime=1]="CharactersAnime",nn[nn.CharactersRealistic=2]="CharactersRealistic",nn[nn.CharactersCGThickPainting=3]="CharactersCGThickPainting",nn[nn.CharactersJapaneseShowa=4]="CharactersJapaneseShowa",nn[nn.CharactersAmericanComics=5]="CharactersAmericanComics",nn[nn.CharactersChineseWatercolor=6]="CharactersChineseWatercolor",nn[nn.ScenesScienceFiction=7]="ScenesScienceFiction",nn[nn.ScenesRealistic=8]="ScenesRealistic",nn[nn.ScenesChinesePainting=9]="ScenesChinesePainting",nn[nn.ScenesCartoonIllustrations=10]="ScenesCartoonIllustrations",nn[nn.ScenesCartoon3D=11]="ScenesCartoon3D",(nr=ep||(ep={}))[nr.IconStatic=1]="IconStatic",nr[nr.IconGif=2]="IconGif",nr[nr.BackgroundStatic=3]="BackgroundStatic",nr[nr.BackgroundGif=4]="BackgroundGif",nr[nr.PicPrompt=5]="PicPrompt",(ni=eh||(eh={}))[ni.OptimizePrompt=1]="OptimizePrompt",ni[ni.SuggestPlugin=2]="SuggestPlugin",ni[ni.NL2Bot=3]="NL2Bot",(no=ef||(ef={}))[no.label=1]="label",no[no.audit=2]="audit",no[no.double_review=3]="double_review",no[no.sample_audit=4]="sample_audit",no[no.custom=5]="custom",no[no.full_custom=6]="full_custom",(na=eg||(eg={}))[na.MARKDOWN=1]="MARKDOWN",(ns=em||(em={}))[ns.Plugin=1]="Plugin",ns[ns.Workflow=2]="Workflow",ns[ns.ImageFlow=3]="ImageFlow",ns[ns.Knowledge=4]="Knowledge",(nl=e_||(e_={}))[nl.FString=1]="FString",nl[nl.Jinja2=2]="Jinja2",(nu=ev||(ev={}))[nu.SYSTEM=1]="SYSTEM",nu[nu.USERPREFIX=2]="USERPREFIX",nu[nu.USERSUFFIX=3]="USERSUFFIX",(nc=eb||(eb={}))[nc.NoPublish=0]="NoPublish",nc[nc.HadPublished=1]="HadPublished",(nd=ey||(ey={}))[nd.Success=1]="Success",nd[nd.Failed=2]="Failed",nd[nd.InReview=3]="InReview",(np=ew||(ew={}))[np.All=0]="All",np[np.Publish=1]="Publish",np[np.NoPublish=2]="NoPublish",(nh=eS||(eS={}))[nh.OnlinePublish=0]="OnlinePublish",nh[nh.PrePublish=1]="PrePublish",(nf=eA||(eA={}))[nf.QueryByID=0]="QueryByID",nf[nf.QueryByName=1]="QueryByName",(ng=eT||(eT={}))[ng.Unread=1]="Unread",ng[ng.Read=2]="Read",(nm=ex||(ex={}))[nm.HasUpdates=1]="HasUpdates",nm[nm.IsDelete=2]="IsDelete",(n_=ek||(ek={}))[n_.ManualUpdate=1]="ManualUpdate",n_[n_.AutoUpdate=2]="AutoUpdate",(nv=eM||(eM={}))[nv.ReplaceUidWithNil=0]="ReplaceUidWithNil",nv[nv.ReplaceUidWithUserName=1]="ReplaceUidWithUserName",nv[nv.KeepUserName=2]="KeepUserName",(nb=eP||(eP={}))[nb.Web=1]="Web",nb[nb.App=2]="App",nb[nb.Playground=3]="Playground",(ny=eI||(eI={}))[ny.Image=1]="Image",ny[ny.File=2]="File",(nw=eE||(eE={}))[nw.Plugin=1]="Plugin",nw[nw.NewBotIDEGuide=2]="NewBotIDEGuide",nw[nw.NewBeginnerGuide=3]="NewBeginnerGuide",(nS=eC||(eC={}))[nS.Default=0]="Default",nS[nS.Explore=1]="Explore",nS[nS.BotStore=2]="BotStore",nS[nS.CozeHome=3]="CozeHome",nS[nS.Playground=4]="Playground",nS[nS.Evaluation=5]="Evaluation",nS[nS.AgentApp=6]="AgentApp",nS[nS.GenerateAgentInfo=8]="GenerateAgentInfo",nS[nS.Template=9]="Template",(nA=eO||(eO={}))[nA.All=0]="All",nA[nA.Self=1]="Self",(nT=eD||(eD={}))[nT.SemanticSearch=0]="SemanticSearch",nT[nT.HybirdSearch=1]="HybirdSearch",nT[nT.FullTextSearch=20]="FullTextSearch",(nx=eL||(eL={}))[nx.Api=1]="Api",nx[nx.Model=2]="Model",nx[nx.Bot=3]="Bot",(nk=eB||(eB={}))[nk.Explore=1]="Explore",nk[nk.Op=2]="Op",nk[nk.BotStore=3]="BotStore",(nM=eN||(eN={}))[nM.All=0]="All",nM[nM.Joined=1]="Joined",nM[nM.Confirming=2]="Confirming",nM[nM.Rejected=3]="Rejected",nM[nM.Revoked=4]="Revoked",nM[nM.Expired=5]="Expired",(nP=eR||(eR={}))[nP.Normal=0]="Normal",nP[nP.DevMode=1]="DevMode",(nI=ej||(ej={}))[nI.DraftBot=1]="DraftBot",nI[nI.Project=2]="Project",nI[nI.Space=3]="Space",nI[nI.DouyinAvatarBot=4]="DouyinAvatarBot",(nE=eU||(eU={}))[nE.Default=0]="Default",nE[nE.Owner=1]="Owner",nE[nE.Admin=2]="Admin",nE[nE.Member=3]="Member",(nC=ez||(ez={}))[nC.Professional=1]="Professional",(nO=eF||(eF={}))[nO.Personal=1]="Personal",nO[nO.Team=2]="Team",(nD=eG||(eG={}))[nD.Dark=1]="Dark",nD[nD.Light=2]="Light",(nL=eq||(eq={}))[nL.AlwaysOn=0]="AlwaysOn",nL[nL.AlwaysOff=1]="AlwaysOff",(nB=eW||(eW={}))[nB.CozeAssistantGuide=1]="CozeAssistantGuide",(nN=eZ||(eZ={}))[nN.Default=0]="Default",nN[nN.Open=1]="Open",nN[nN.Close=2]="Close",nN[nN.Hide=3]="Hide",(nR=eH||(eH={}))[nR.Default=0]="Default",nR[nR.RemoveQuotaTag=1]="RemoveQuotaTag",(nj=eV||(eV={}))[nj.Draft=0]="Draft",nj[nj.Online=1]="Online",(nU=eQ||(eQ={}))[nU.label=1]="label",nU[nU.audit=2]="audit",nU[nU.double_review=3]="double_review",(nz=eY||(eY={}))[nz.Used=1]="Used",nz[nz.Deleted=2]="Deleted",(nF=e$||(e$={}))[nF.PROMPT=0]="PROMPT",nF[nF.BOT=1]="BOT",nF[nF.CHAIN=2]="CHAIN",(nG=eK||(eK={}))[nG.MySpace=0]="MySpace",nG[nG.MyDrafts=1]="MyDrafts",nG[nG.TeamBots=2]="TeamBots",nG[nG.Mine=3]="Mine",(nq=eX||(eX={}))[nq.Off=0]="Off",nq[nq.On=1]="On",(nW=eJ||(eJ={}))[nW.Success=0]="Success",nW[nW.Fail=1]="Fail",(nZ=e0||(e0={}))[nZ.Create=1]="Create",nZ[nZ.Update=2]="Update",nZ[nZ.Publish=3]="Publish",nZ[nZ.CreateAndPublish=4]="CreateAndPublish",nZ[nZ.Delete=5]="Delete",nZ[nZ.Offline=6]="Offline",(nH=e1||(e1={}))[nH.Upsert=1]="Upsert",nH[nH.Del=2]="Del",(nV=e2||(e2={}))[nV.UserRegisterEvent=1]="UserRegisterEvent",nV[nV.UserLoginEvent=2]="UserLoginEvent",nV[nV.UserCancelEvent=3]="UserCancelEvent",nV[nV.UserBanEvent=4]="UserBanEvent",nV[nV.UserUnBanEvent=5]="UserUnBanEvent",(nQ=e4||(e4={}))[nQ.Normal=1]="Normal",nQ[nQ.Banned=2]="Banned",nQ[nQ.Canceled=3]="Canceled",(nY=e3||(e3={}))[nY.External=0]="External",nY[nY.Internal=1]="Internal",(n$=e5||(e5={}))[n$.Invisible=0]="Invisible",n$[n$.Visible=1]="Visible",n$[n$.SocietyInvisible=2]="SocietyInvisible",(nK=e6||(e6={}))[nK.RootUser=1]="RootUser",nK[nK.BasicUser=2]="BasicUser",(nX=e8||(e8={}))[nX.RootUser=1]="RootUser",nX[nX.BasicUser=2]="BasicUser",(nJ=e9||(e9={}))[nJ.Wait=1]="Wait",nJ[nJ.Failed=2]="Failed",nJ[nJ.Grant=3]="Grant",(n0=e7||(e7={}))[n0.Workflow=0]="Workflow",n0[n0.Imageflow=1]="Imageflow",n0[n0.SceneFlow=2]="SceneFlow",n0[n0.ChatFlow=3]="ChatFlow",n0[n0.All=100]="All"},57234:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Copy=1]="Copy",n[n.Delete=2]="Delete",n[n.EnableSwitch=3]="EnableSwitch",n[n.Edit=4]="Edit",(r=t||(t={}))[r.UnPublished=1]="UnPublished",r[r.Published=2]="Published"},48034:function(){"use strict";var e,t;(t=e||(e={}))[t.Success=0]="Success",t[t.Fail=1]="Fail"},37413:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.TextInput=0]="TextInput",r[r.Select=1]="Select",r[r.UploadImage=2]="UploadImage",r[r.UploadDoc=3]="UploadDoc",r[r.UploadTable=4]="UploadTable",r[r.UploadAudio=5]="UploadAudio",r[r.MixUpload=6]="MixUpload",r[r.VIDEO=7]="VIDEO",r[r.ARCHIVE=8]="ARCHIVE",r[r.CODE=9]="CODE",r[r.TXT=10]="TXT",r[r.PPT=11]="PPT",(i=t||(t={}))[i.SendTypeQuery=0]="SendTypeQuery",i[i.SendTypePanel=1]="SendTypePanel",(o=n||(n={}))[o.ToolTypeWorkFlow=1]="ToolTypeWorkFlow",o[o.ToolTypePlugin=2]="ToolTypePlugin"},22216:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.UNKNOWN=0]="UNKNOWN",o[o.ORDINARY_PERSONAL_INFORMATION=1]="ORDINARY_PERSONAL_INFORMATION",o[o.BASIC_PERSONAL_INFORMATION=2]="BASIC_PERSONAL_INFORMATION",o[o.PERSONAL_IDENTITY_INFORMATION=3]="PERSONAL_IDENTITY_INFORMATION",o[o.PERSONAL_LOCATION_INFORMATION=4]="PERSONAL_LOCATION_INFORMATION",o[o.SYSTEM_OR_NETWORK_IDENTIFIER_INFORMATION=5]="SYSTEM_OR_NETWORK_IDENTIFIER_INFORMATION",o[o.PERSONAL_DEVICE_INFORMATION=6]="PERSONAL_DEVICE_INFORMATION",o[o.JOB_AND_EDUCATION_INFORMATION=7]="JOB_AND_EDUCATION_INFORMATION",o[o.PERSONAL_FINANCIAL_INFORMATION=8]="PERSONAL_FINANCIAL_INFORMATION",o[o.PERSONAL_SOCIAL_CONTACT_INFORMATION=9]="PERSONAL_SOCIAL_CONTACT_INFORMATION",o[o.APPLICATION_INFORMATION=10]="APPLICATION_INFORMATION",o[o.SERVICE_CONTENT_INFORMATION=11]="SERVICE_CONTENT_INFORMATION",o[o.SERVICE_LOG_INFORMATION=12]="SERVICE_LOG_INFORMATION",o[o.PRODUCT_CONTENT_DATA=13]="PRODUCT_CONTENT_DATA",o[o.PERSONAL_BIOMETRIC_INFORMATION=14]="PERSONAL_BIOMETRIC_INFORMATION",o[o.OTHERS=15]="OTHERS",(a=t||(t={}))[a.SoftRestore=0]="SoftRestore",a[a.HardRestore=1]="HardRestore",(s=n||(n={}))[s.TaskAcceptedSuccess=100]="TaskAcceptedSuccess",s[s.TaskAcceptedFailed=101]="TaskAcceptedFailed",s[s.TaskExecutedSuccess=102]="TaskExecutedSuccess",s[s.TaskExecutedFailed=103]="TaskExecutedFailed",s[s.VerifyUserDataExist=200]="VerifyUserDataExist",(l=r||(r={}))[l.ACCOUNT_CANCEL=0]="ACCOUNT_CANCEL",l[l.APP_DATA_DELETION=1]="APP_DATA_DELETION",(u=i||(i={}))[u.SoftDeleteVerify=0]="SoftDeleteVerify",u[u.HardDeleteVerify=1]="HardDeleteVerify"},2687:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZPm:function(){return i}}),n("83015"),n("8629"),n("91321"),n("79591"),n("80655"),n("64933"),n("34858"),n("977"),n("70111");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}RegisterPlugin(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/register"),i={ai_plugin:n.ai_plugin,openapi:n.openapi,client_id:n.client_id,client_secret:n.client_secret,service_token:n.service_token,plugin_type:n.plugin_type,space_id:n.space_id,import_from_file:n.import_from_file,project_id:n.project_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdatePlugin(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/update"),i={plugin_id:n.plugin_id,ai_plugin:n.ai_plugin,openapi:n.openapi,client_id:n.client_id,client_secret:n.client_secret,service_token:n.service_token,source_code:n.source_code,edit_version:n.edit_version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DelPlugin(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/del_plugin"),i={plugin_id:n.plugin_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}RegisterPluginMeta(e,t){let n=this.genBaseURL("/api/plugin_api/register_plugin_meta"),r={name:e.name,desc:e.desc,url:e.url,icon:e.icon,auth_type:e.auth_type,location:e.location,key:e.key,service_token:e.service_token,oauth_info:e.oauth_info,space_id:e.space_id,common_params:e.common_params,creation_method:e.creation_method,ide_code_runtime:e.ide_code_runtime,plugin_type:e.plugin_type,project_id:e.project_id,sub_auth_type:e.sub_auth_type,auth_payload:e.auth_payload,fixed_export_ip:e.fixed_export_ip,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateAPI(e,t){let n=this.genBaseURL("/api/plugin_api/update_api"),r={plugin_id:e.plugin_id,api_id:e.api_id,name:e.name,desc:e.desc,path:e.path,method:e.method,request_params:e.request_params,response_params:e.response_params,disabled:e.disabled,api_extend:e.api_extend,edit_version:e.edit_version,save_example:e.save_example,debug_example:e.debug_example,function_name:e.function_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteAPI(e,t){let n=this.genBaseURL("/api/plugin_api/delete_api"),r={plugin_id:e.plugin_id,api_id:e.api_id,edit_version:e.edit_version,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DebugAPI(e,t){let n=this.genBaseURL("/api/plugin_api/debug_api"),r={plugin_id:e.plugin_id,api_id:e.api_id,parameters:e.parameters,operation:e.operation,edit_version:e.edit_version,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateAPI(e,t){let n=this.genBaseURL("/api/plugin_api/create_api"),r={plugin_id:e.plugin_id,name:e.name,desc:e.desc,path:e.path,method:e.method,api_extend:e.api_extend,request_params:e.request_params,response_params:e.response_params,disabled:e.disabled,edit_version:e.edit_version,function_name:e.function_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginList(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_plugin_list"),i={status:n.status,page:n.page,size:n.size,space_id:n.space_id,scope_type:n.scope_type,order_by:n.order_by,publish_status:n.publish_status,name:n.name,plugin_type_for_filter:n.plugin_type_for_filter,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdatePluginMeta(e,t){let n=this.genBaseURL("/api/plugin_api/update_plugin_meta"),r={plugin_id:e.plugin_id,name:e.name,desc:e.desc,url:e.url,icon:e.icon,auth_type:e.auth_type,location:e.location,key:e.key,service_token:e.service_token,oauth_info:e.oauth_info,common_params:e.common_params,creation_method:e.creation_method,edit_version:e.edit_version,plugin_type:e.plugin_type,sub_auth_type:e.sub_auth_type,auth_payload:e.auth_payload,fixed_export_ip:e.fixed_export_ip,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublishPlugin(e,t){let n=this.genBaseURL("/api/plugin_api/publish_plugin"),r={plugin_id:e.plugin_id,privacy_status:e.privacy_status,privacy_info:e.privacy_info,version_name:e.version_name,version_desc:e.version_desc,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginInfo(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_info"),r={plugin_id:e.plugin_id,preview_version_ts:e.preview_version_ts,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPublishedPluginList(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_published_list"),i={space_id:n.space_id,page:n.page,size:n.size,user_space_ids:n.user_space_ids,plugin_ids:n.plugin_ids,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPluginAPIs(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_apis"),r={plugin_id:e.plugin_id,api_ids:e.api_ids,page:e.page,size:e.size,order:e.order,preview_version_ts:e.preview_version_ts,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetUpdatedAPIs(e,t){let n=this.genBaseURL("/api/plugin_api/get_updated_apis"),r={plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}NoUpdatedPrompt(e,t){let n=this.genBaseURL("/api/plugin_api/no_updated_prompt"),r={plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetOAuthSchema(e,t){let n=this.genBaseURL("/api/plugin_api/get_oauth_schema"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}SavePlugin(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/save_plugin"),i={plugin_id:n.plugin_id,item_infos:n.item_infos,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}PluginAPI2Code(e,t){let n=this.genBaseURL("/api/plugin_api/plugin_api_to_code"),r={plugin_id:e.plugin_id,api_id:e.api_id,space_id:e.space_id,dev_id:e.dev_id,program_lang:e.program_lang,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}Convert2OpenAPI(e,t){let n=this.genBaseURL("/api/plugin_api/convert_to_openapi"),r={plugin_name:e.plugin_name,plugin_url:e.plugin_url,data:e.data,merge_same_paths:e.merge_same_paths,space_id:e.space_id,plugin_description:e.plugin_description,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchCreateAPI(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/batch_create_api"),i={plugin_id:n.plugin_id,ai_plugin:n.ai_plugin,openapi:n.openapi,space_id:n.space_id,dev_id:n.dev_id,replace_same_paths:n.replace_same_paths,paths_to_replace:n.paths_to_replace,edit_version:n.edit_version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPlaygroundPluginList(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_playground_plugin_list"),i={page:n.page,size:n.size,name:n.name,space_id:n.space_id,plugin_ids:n.plugin_ids,plugin_types:n.plugin_types,channel_id:n.channel_id,self_created:n.self_created,order_by:n.order_by,is_get_offline:n.is_get_offline,Base:n.Base},o={Referer:n.Referer};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetBotDefaultParams(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_bot_default_params"),i={space_id:n.space_id,bot_id:n.bot_id,dev_id:n.dev_id,plugin_id:n.plugin_id,api_name:n.api_name,plugin_referrer_id:n.plugin_referrer_id,plugin_referrer_scene:n.plugin_referrer_scene,plugin_is_debug:n.plugin_is_debug,workflow_id:n.workflow_id,plugin_publish_version_ts:n.plugin_publish_version_ts,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpdateBotDefaultParams(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/update_bot_default_params"),i={space_id:n.space_id,bot_id:n.bot_id,dev_id:n.dev_id,plugin_id:n.plugin_id,api_name:n.api_name,request_params:n.request_params,response_params:n.response_params,plugin_referrer_id:n.plugin_referrer_id,plugin_referrer_scene:n.plugin_referrer_scene,response_style:n.response_style,workflow_id:n.workflow_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CheckAndLockPluginEdit(e,t){let n=this.genBaseURL("/api/plugin_api/check_and_lock_plugin_edit"),r={plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UnlockPluginEdit(e,t){let n=this.genBaseURL("/api/plugin_api/unlock_plugin_edit"),r={plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetUserAuthority(e,t){let n=this.genBaseURL("/api/plugin_api/get_user_authority"),r={plugin_id:e.plugin_id,creation_method:e.creation_method,project_id:e.project_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginChangelog(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_changelog"),r={plugin_id:e.plugin_id,page:e.page,size:e.size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteBotDefaultParams(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/delete_bot_default_params"),i={bot_id:n.bot_id,dev_id:n.dev_id,plugin_id:n.plugin_id,api_name:n.api_name,delete_bot:n.delete_bot,space_id:n.space_id,plugin_referrer_id:n.plugin_referrer_id,plugin_referrer_scene:n.plugin_referrer_scene,workflow_id:n.workflow_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetWorkflowMessageNodes(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/message_nodes"),i={space_id:n.space_id,plugin_id:n.plugin_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}GetCardRespStruct(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_card_resp_struct"),i={biz_type:n.biz_type,plugin_id:n.plugin_id,unique_id:n.unique_id,space_id:n.space_id,from_plugin_preset:n.from_plugin_preset,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UpsertPlugin(e,t){let n=this.genBaseURL("/open_api/plugin/upsert_plugin"),r={plugin_id:e.plugin_id,space_id:e.space_id,plugin_desc:e.plugin_desc,api_desc:e.api_desc,project_id:e.project_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginPresetCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_plugin_preset_card"),i={plugin_id:n.plugin_id,api_name:n.api_name,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BindPluginPresetCard(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/bind_plugin_preset_card"),i={plugin_id:n.plugin_id,card_id:n.card_id,api_id:n.api_id,mapping_rule:n.mapping_rule,max_display_rows:n.max_display_rows,card_version_num:n.card_version_num,llm_text_card:n.llm_text_card,edit_version:n.edit_version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}QuickBindPluginPresetCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/quick_bind_plugin_preset_card"),i={plugin_id:n.plugin_id,api_name:n.api_name,bot_id:n.bot_id,agent_id:n.agent_id,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPluginPresetCardBind(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/get_plugin_preset_card_bind"),i={plugin_id:n.plugin_id,api_id:n.api_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}DeleteCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/delete_card"),i={card_id:n.card_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetAPIRespStruct(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_api_resp_struct"),i={plugin_id:n.plugin_id,api_name:n.api_name,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetCardBind(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_card_bind"),i={plugin_id:n.plugin_id,api_name:n.api_name,bot_id:n.bot_id,agent_id:n.agent_id,biz_type:n.biz_type,business_id:n.business_id,unique_id:n.unique_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/create_card"),i={space_id:n.space_id,card_id:n.card_id,version_num:n.version_num,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetBindCardsStatus(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_bind_card_status"),i={space_id:n.space_id,bot_id:n.bot_id,business_list:n.business_list,agent_id:n.agent_id,using_master:n.using_master,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BindCard(e,t){let n=e||{},r=this.genBaseURL("/api/card/bind_card"),i={plugin_id:n.plugin_id,api_name:n.api_name,card_id:n.card_id,bot_id:n.bot_id,mapping_rule:n.mapping_rule,max_display_rows:n.max_display_rows,card_version_num:n.card_version_num,agent_id:n.agent_id,llm_text_card:n.llm_text_card,biz_type:n.biz_type,business_id:n.business_id,unique_id:n.unique_id,plugin_preset_card_selected:n.plugin_preset_card_selected,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}QueryCardList(e,t){let n=e||{},r=this.genBaseURL("/api/card/query_card_list"),i={page:n.page,size:n.size,space_id:n.space_id,category:n.category,bind_card_id:n.bind_card_id,status:n.status,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}QueryCardDetail(e,t){let n=e||{},r=this.genBaseURL("/api/card/query_card_detail"),i={space_id:n.space_id,card_id:n.card_id,card_version:n.card_version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPluginCards(e,t){let n=e||{},r=this.genBaseURL("/api/card/get_plugin_cards"),i={space_id:n.space_id,bot_id:n.bot_id,plugins:n.plugins,agent_id:n.agent_id,using_master:n.using_master,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreatePluginFeedback(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/create_feedback"),i={plugin_id:n.plugin_id,feedback_type:n.feedback_type,feedback:n.feedback,Base:n.Base},o={Referer:n.Referer};return this.request({url:r,method:"POST",data:i,headers:o},t)}BuildCardBodyByResp(e,t){let n=this.genBaseURL("/api/plugin_api/display_example_resp_by_card"),r={card_id:e.card_id,mapping_rule:e.mapping_rule,max_display_rows:e.max_display_rows,card_version:e.card_version,connector_id:e.connector_id,example_resp:e.example_resp,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RevokeAuthToken(e,t){let n=this.genBaseURL("/api/plugin_api/revoke_auth_token"),r={plugin_id:e.plugin_id,bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetOAuthStatus(e,t){let n=this.genBaseURL("/api/plugin_api/get_oauth_status"),r={plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OptimizeParamPrompt(e,t){let n=this.genBaseURL("/api/plugin_api/optimize_param_prompt"),r={request_params:e.request_params,response_params:e.response_params,api_desc:e.api_desc,space_id:e.space_id,plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OptimizeToolPrompt(e,t){let n=this.genBaseURL("/api/plugin_api/optimize_tool_prompt"),r={api_desc:e.api_desc,space_id:e.space_id,plugin_id:e.plugin_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ConfigPluginAsync(e,t){let n=this.genBaseURL("/api/plugin_api/config_async"),r={bot_id:e.bot_id,connector_id:e.connector_id,plugin_id:e.plugin_id,switch_status:e.switch_status,message:e.message,api_name:e.api_name,by_user:e.by_user,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginAsyncTaskList(e,t){let n=this.genBaseURL("/api/plugin_api/get_async_task_list"),r={bot_id:e.bot_id,connector_id:e.connector_id,page:e.page,size:e.size,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetAsyncPluginConfig(e,t){let n=this.genBaseURL("/api/plugin_api/get_async_config"),r={bot_id:e.bot_id,connector_id:e.connector_id,plugin_id:e.plugin_id,api_name:e.api_name,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetQueriedOAuthPluginList(e,t){let n=this.genBaseURL("/api/plugin_api/get_queried_oauth_plugins"),r={bot_id:e.bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginPricingRulesByWorkflowID(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_pricing_rules_by_workflow_id"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchGetPluginPricingRules(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/batch_get_plugin_pricing_rules"),i={plugin_apis:n.plugin_apis,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}LibraryResourceList(e,t){let n=this.genBaseURL("/api/plugin_api/library_resource_list"),r={user_filter:e.user_filter,res_type_filter:e.res_type_filter,name:e.name,publish_status_filter:e.publish_status_filter,space_id:e.space_id,size:e.size,cursor:e.cursor,search_keys:e.search_keys,is_get_imageflow:e.is_get_imageflow,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ProjectResourceList(e,t){let n=this.genBaseURL("/api/plugin_api/project_resource_list"),r={project_id:e.project_id,space_id:e.space_id,project_version:e.project_version,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ResourceCopyDispatch(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/resource_copy_dispatch"),i={scene:n.scene,res_id:n.res_id,res_type:n.res_type,project_id:n.project_id,res_name:n.res_name,target_space_id:n.target_space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ResourceCopyRetry(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/resource_copy_retry"),i={task_id:n.task_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ResourceCopyCancel(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/resource_copy_cancel"),i={task_id:n.task_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetDevPluginList(e,t){let n=this.genBaseURL("/api/plugin_api/get_dev_plugin_list"),r={status:e.status,page:e.page,size:e.size,dev_id:e.dev_id,space_id:e.space_id,scope_type:e.scope_type,order_by:e.order_by,publish_status:e.publish_status,name:e.name,plugin_type_for_filter:e.plugin_type_for_filter,project_id:e.project_id,plugin_ids:e.plugin_ids,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ResourceCopyDetail(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/resource_copy_detail"),i={task_id:n.task_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}WakeupIdePlugin(e,t){let n=e||{},r=this.genBaseURL("/api/plugin_api/wakeup_ide_plugin"),i={project_id:n.project_id,dev_id:n.dev_id,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPluginNextVersion(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_next_version"),r={plugin_id:e.plugin_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginPublishHistory(e,t){let n=this.genBaseURL("/api/plugin_api/get_plugin_publish_history"),r={plugin_id:e.plugin_id,space_id:e.space_id,page:e.page,size:e.size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetNL2APPConfig(e,t){let n=this.genBaseURL("/api/plugin_api/get_nl2app_config"),r={Base:(e||{}).Base};return this.request({url:n,method:"POST",data:r},t)}SetAgentTaskStatus(e,t){let n=this.genBaseURL("/api/task_api/set_agent_task_status"),r={bot_id:e.bot_id,space_id:e.space_id,trigger_id:e.trigger_id,connector_id:e.connector_id,set_invalid:e.set_invalid,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetAgentTaskExecList(e,t){let n=this.genBaseURL("/api/task_api/get_agent_task_exec_list"),r={bot_id:e.bot_id,space_id:e.space_id,trigger_id:e.trigger_id,connector_ids:e.connector_ids,trigger_user_id:e.trigger_user_id,page:e.page,size:e.size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetAgentTaskList(e,t){let n=this.genBaseURL("/api/task_api/get_agent_task_list"),r={bot_id:e.bot_id,space_id:e.space_id,trigger_event_type:e.trigger_event_type,connector_id:e.connector_id,trigger_type:e.trigger_type,trigger_name:e.trigger_name,trigger_id:e.trigger_id,trigger_user_id:e.trigger_user_id,page:e.page,size:e.size,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPluginExportIPConfig(e,t){let n=this.genBaseURL("/api/plugin_api/get_export_ip_config"),r={space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}constructor(e){r(this,"request",()=>{throw Error("PluginDevelopService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},8629:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew;(j=e||(e={}))[j.Start_Agent=0]="Start_Agent",j[j.LLM_Agent=1]="LLM_Agent",j[j.Task_Agent=2]="Task_Agent",j[j.Global_Agent=3]="Global_Agent",j[j.Bot_Agent=4]="Bot_Agent",(U=t||(t={}))[U.OldVersion=0]="OldVersion",U[U.MiddleVersion=1]="MiddleVersion",U[U.NewVersion=2]="NewVersion",U[U.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(z=n||(n={}))[z.Default=1]="Default",z[z.Customize=2]="Customize",(F=r||(r={}))[F.Direct=1]="Direct",F[F.WebView=2]="WebView",F[F.SendMessage=3]="SendMessage",(G=i||(i={}))[G.Current=1]="Current",G[G.Previous=2]="Previous",G[G.Start=3]="Start",G[G.MostSuitable=4]="MostSuitable",(q=o||(o={}))[q.SingleMode=0]="SingleMode",q[q.MultiMode=1]="MultiMode",q[q.WorkflowMode=2]="WorkflowMode",(W=a||(a={}))[W.Default=0]="Default",W[W.Function=1]="Function",(Z=s||(s={}))[Z.Deleted=0]="Deleted",Z[Z.Using=1]="Using",Z[Z.Banned=2]="Banned",(H=l||(l={}))[H.LimitedReadWrite=1]="LimitedReadWrite",H[H.ReadOnly=2]="ReadOnly",H[H.UnlimitedReadWrite=3]="UnlimitedReadWrite",H[H.RWModeMax=4]="RWModeMax",(V=u||(u={}))[V.Default=0]="Default",V[V.DouyinAvatar=1]="DouyinAvatar",(Q=c||(c={}))[Q.Chat=0]="Chat",Q[Q.FunctionCall_1=1]="FunctionCall_1",Q[Q.FunctionCall_2=2]="FunctionCall_2",Q[Q.FunctionCall_3=3]="FunctionCall_3",(Y=d||(d={}))[Y.NotSet=0]="NotSet",Y[Y.Text=1]="Text",Y[Y.Voice=2]="Voice",Y[Y.Call=3]="Call",($=p||(p={}))[$.Off=0]="Off",$[$.On=1]="On",(K=h||(h={}))[K.Text=1]="Text",K[K.Number=2]="Number",K[K.Date=3]="Date",K[K.Float=4]="Float",K[K.Boolean=5]="Boolean",(X=f||(f={}))[X.Off=0]="Off",X[X.On=1]="On",(J=g||(g={}))[J.SLM=0]="SLM",J[J.LLM=1]="LLM",(ee=m||(m={}))[ee.Pre=1]="Pre",ee[ee.Post=2]="Post",ee[ee.PreAndPost=3]="PreAndPost",(et=_||(_={}))[et.Default=0]="Default",et[et.CustomizePrompt=1]="CustomizePrompt",(en=v||(v={}))[en.ReplyBottom=0]="ReplyBottom",en[en.CardList=1]="CardList",(er=b||(b={}))[er.UnlikeDefault=0]="UnlikeDefault",er[er.UnlikeHarmful=1]="UnlikeHarmful",er[er.UnlikeIncorrect=2]="UnlikeIncorrect",er[er.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",er[er.UnlikeOthers=4]="UnlikeOthers",(ei=y||(y={}))[ei.Default=0]="Default",ei[ei.Like=1]="Like",ei[ei.Unlike=2]="Unlike",(eo=w||(w={}))[eo.FullSupport=0]="FullSupport",eo[eo.PoorSupport=1]="PoorSupport",eo[eo.NotSupport=2]="NotSupport",(ea=S||(S={}))[ea.Plugin=1]="Plugin",ea[ea.Workflow=2]="Workflow",ea[ea.ImageFlow=3]="ImageFlow",ea[ea.Trigger=4]="Trigger",ea[ea.KnowledgeText=5]="KnowledgeText",ea[ea.KnowledgeTable=6]="KnowledgeTable",ea[ea.KnowledgeAutoCall=7]="KnowledgeAutoCall",ea[ea.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",ea[ea.Variable=9]="Variable",ea[ea.Database=10]="Database",ea[ea.LongTermMemory=11]="LongTermMemory",ea[ea.FileBox=12]="FileBox",ea[ea.Onboarding=13]="Onboarding",ea[ea.Suggestion=14]="Suggestion",ea[ea.ShortcutCommand=15]="ShortcutCommand",ea[ea.BackGroundImage=16]="BackGroundImage",ea[ea.TTS=17]="TTS",ea[ea.MultiAgentRecognize=18]="MultiAgentRecognize",ea[ea.KnowledgePhoto=19]="KnowledgePhoto",ea[ea.HookInfo=20]="HookInfo",(es=A||(A={}))[es.Text=0]="Text",es[es.Markdown=1]="Markdown",es[es.JSON=2]="JSON",(el=T||(T={}))[el.Custom=0]="Custom",el[el.Creative=1]="Creative",el[el.Balance=2]="Balance",el[el.Precise=3]="Precise",(eu=x||(x={}))[eu.Curve=0]="Curve",eu[eu.Straight=1]="Straight",(ec=k||(k={}))[ec.Flow=1]="Flow",ec[ec.Host=2]="Host",(ed=M||(M={}))[ed.NO_NEED=1]="NO_NEED",ed[ed.USE_MANUAL=2]="USE_MANUAL",ed[ed.USE_LLM=3]="USE_LLM",(ep=P||(P={}))[ep.FunctionCall=1]="FunctionCall",ep[ep.Independent=2]="Independent",(eh=I||(I={}))[eh.HasUpdates=1]="HasUpdates",eh[eh.IsDelete=2]="IsDelete",(ef=E||(E={}))[ef.ManualUpdate=1]="ManualUpdate",ef[ef.AutoUpdate=2]="AutoUpdate",(eg=C||(C={}))[eg.Default=0]="Default",eg[eg.Explore=1]="Explore",eg[eg.BotStore=2]="BotStore",eg[eg.CozeHome=3]="CozeHome",eg[eg.Playground=4]="Playground",eg[eg.Evaluation=5]="Evaluation",eg[eg.AgentAPP=6]="AgentAPP",eg[eg.PromptOptimize=7]="PromptOptimize",eg[eg.GenerateAgentInfo=8]="GenerateAgentInfo",(em=O||(O={}))[em.SemanticSearch=0]="SemanticSearch",em[em.HybirdSearch=1]="HybirdSearch",em[em.FullTextSearch=20]="FullTextSearch",(e_=D||(D={}))[e_.Public=1]="Public",e_[e_.Anonymous=2]="Anonymous",e_[e_.Custom=3]="Custom",(ev=L||(L={}))[ev.Random=0]="Random",ev[ev.All=1]="All",(eb=B||(B={}))[eb.System=0]="System",eb[eb.Custom=1]="Custom",eb[eb.Disable=2]="Disable",eb[eb.OriBot=3]="OriBot",(ey=N||(N={}))[ey.Off=0]="Off",ey[ey.On=1]="On",(ew=R||(R={}))[ew.Workflow=0]="Workflow",ew[ew.Imageflow=1]="Imageflow",ew[ew.SceneFlow=2]="SceneFlow",ew[ew.ChatFlow=3]="ChatFlow",ew[ew.All=100]="All"},91321:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F;(w=e||(e={}))[w.Copy=1]="Copy",w[w.Delete=2]="Delete",w[w.EnableSwitch=3]="EnableSwitch",w[w.Edit=4]="Edit",(S=t||(t={}))[S.Unknown=0]="Unknown",S[S.Get=1]="Get",S[S.Post=2]="Post",(A=n||(n={}))[A.Unknown=0]="Unknown",A[A.Workflow=1]="Workflow",A[A.Chat=2]="Chat",A[A.ChatV3=3]="ChatV3",(T=r||(r={}))[T.Init=0]="Init",T[T.Success=1]="Success",T[T.Invalid=2]="Invalid",T[T.Failed=3]="Failed",T[T.Interrupt=4]="Interrupt",(x=i||(i={}))[x.Success=1]="Success",x[x.Failed=2]="Failed",x[x.Interrupt=3]="Interrupt",(k=o||(o={}))[k.LinkRejected=-60]="LinkRejected",k[k.VideoRejected=-50]="VideoRejected",k[k.AudioRejected=-40]="AudioRejected",k[k.ImageRejected=-30]="ImageRejected",k[k.TextRejected=-20]="TextRejected",k[k.Rejected=-1]="Rejected",k[k.Approved=1]="Approved",k[k.Pending=100]="Pending",(M=a||(a={}))[M.Template=1]="Template",M[M.Custom=2]="Custom",(P=s||(s={}))[P.Basic=1]="Basic",P[P.List=2]="List",P[P.Custom=3]="Custom",P[P.Slide=4]="Slide",(I=l||(l={}))[I.Draft=0]="Draft",I[I.Published=1]="Published",I[I.UnPublish=2]="UnPublish",(E=u||(u={}))[E.Default=0]="Default",E[E.Empty=1]="Empty",E[E.NeedGenerate=2]="NeedGenerate",E[E.Generating=3]="Generating",E[E.Failed=4]="Failed",E[E.Success=5]="Success",E[E.NeedPublish=6]="NeedPublish",(C=c||(c={}))[C.Default=0]="Default",C[C.Doubao=100]="Doubao",C[C.CiCi=101]="CiCi",C[C.Feishu=200]="Feishu",C[C.WhatsApp=300]="WhatsApp",C[C.Discord=301]="Discord",C[C.Twitter=302]="Twitter",C[C.Telegram=303]="Telegram",C[C.Messenger=304]="Messenger",C[C.LINE=305]="LINE",C[C.Instagram=306]="Instagram",C[C.Slack=307]="Slack",C[C.Reddit=308]="Reddit",(O=d||(d={}))[O.Succeed=0]="Succeed",O[O.Fail=1]="Fail",(D=p||(p={}))[D.Processing=0]="Processing",D[D.Enable=1]="Enable",D[D.Disable=2]="Disable",D[D.Deleted=3]="Deleted",D[D.Failed=9]="Failed",(L=h||(h={}))[L.UnPublished=1]="UnPublished",L[L.Published=2]="Published",(B=f||(f={}))[B.Card=0]="Card",B[B.Agent=1]="Agent",B[B.Audio=2]="Audio",B[B.Thumbnail=3]="Thumbnail",B[B.Video=4]="Video",(N=g||(g={}))[N.PendingVectoring=0]="PendingVectoring",N[N.FinishVectoring=1]="FinishVectoring",N[N.Deactive=9]="Deactive",(R=m||(m={}))[R.Default=0]="Default",R[R.UpdateTime=1]="UpdateTime",R[R.PublishTime=2]="PublishTime",(j=_||(_={}))[j.Desc=0]="Desc",j[j.Asc=1]="Asc",(U=v||(v={}))[U.Copy=1]="Copy",U[U.Replace=2]="Replace",U[U.RollBack=3]="RollBack",(z=b||(b={}))[z.Card=0]="Card",z[z.CardBuilder=1]="CardBuilder",(F=y||(y={}))[F.Plugin=1]="Plugin",F[F.Workflow=2]="Workflow",F[F.Widget=3]="Widget"},79591:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez;(Q=e||(e={}))[Q.Private=1]="Private",Q[Q.Public=2]="Public",Q[Q.AppDefault=3]="AppDefault",(Y=t||(t={}))[Y.RequireAction=0]="RequireAction",Y[Y.RequireMessage=1]="RequireMessage",($=n||(n={}))[$.NotFinished=0]="NotFinished",$[$.Interrupted=1]="Interrupted",$[$.NoResults=2]="NoResults",$[$.WithResults=3]="WithResults",(K=r||(r={}))[K.None=0]="None",K[K.Featured=1]="Featured",K[K.Discoverable=2]="Discoverable",(X=i||(i={}))[X.USER_RES=0]="USER_RES",X[X.USER_LLM_RES=1]="USER_LLM_RES",X[X.USER_LLM_TOOLLEN_RES=2]="USER_LLM_TOOLLEN_RES",X[X.USER_LLM_TOOL_RES=3]="USER_LLM_TOOL_RES",X[X.USER_LLM_TOOL=4]="USER_LLM_TOOL",(J=o||(o={}))[J.Unknown=0]="Unknown",J[J.Single=1]="Single",J[J.Group=2]="Group",(ee=a||(a={}))[ee.Txt=1]="Txt",ee[ee.Image=2]="Image",ee[ee.Audio=3]="Audio",ee[ee.Video=4]="Video",ee[ee.Link=6]="Link",ee[ee.Music=7]="Music",ee[ee.Tako=8]="Tako",ee[ee.File=9]="File",ee[ee.Card=50]="Card",ee[ee.BotCard=51]="BotCard",ee[ee.Widget=52]="Widget",ee[ee.APP=100]="APP",ee[ee.OutputSearchResult=200]="OutputSearchResult",ee[ee.OutputMultiStream=201]="OutputMultiStream",ee[ee.SearchIntentionResult=300]="SearchIntentionResult",(et=s||(s={}))[et.Success=1]="Success",et[et.SystemLimitation=2]="SystemLimitation",et[et.UserLimitation=3]="UserLimitation",(en=l||(l={}))[en.System=0]="System",en[en.User=1]="User",en[en.Assistant=2]="Assistant",en[en.Placeholder=3]="Placeholder",en[en.LLMOutput=4]="LLMOutput",en[en.ToolOutput=5]="ToolOutput",en[en.Function=6]="Function",(er=u||(u={}))[er.ParamErr=1]="ParamErr",er[er.InnerErr=2]="InnerErr",er[er.WebGPT=4]="WebGPT",er[er.ByteArtist=5]="ByteArtist",er[er.Claude=6]="Claude",er[er.Dalle2=7]="Dalle2",er[er.GPT=8]="GPT",er[er.Seed=9]="Seed",er[er.StableDiffusion=10]="StableDiffusion",er[er.RiskSecurity=11]="RiskSecurity",er[er.RequireLocation=12]="RequireLocation",er[er.SigInterrupt=702112002]="SigInterrupt",er[er.Timeout=702112101]="Timeout",er[er.AuthenticationError=702112102]="AuthenticationError",er[er.RateLimitError=702112103]="RateLimitError",er[er.InvalidRequestError=702112104]="InvalidRequestError",er[er.FunctionInputError=702112105]="FunctionInputError",er[er.EngineInternalError=702112106]="EngineInternalError",er[er.MaximumTokenError=702112107]="MaximumTokenError",er[er.NotSupportRoleTypeError=702112108]="NotSupportRoleTypeError",er[er.AbParamsError=702112109]="AbParamsError",er[er.ParseTemplateError=702112110]="ParseTemplateError",er[er.ModelAKInvalidError=702112111]="ModelAKInvalidError",er[er.PluginRequireAuthorityError=702112112]="PluginRequireAuthorityError",er[er.GraceShutdownError=702112113]="GraceShutdownError",er[er.InvalidWorkflowError=702112114]="InvalidWorkflowError",er[er.MaxIterationsError=702112115]="MaxIterationsError",er[er.ModelInsufficientFunds=702112116]="ModelInsufficientFunds",er[er.SeedLongTxtAsync=702112117]="SeedLongTxtAsync",(ei=c||(c={}))[ei.FILE=1]="FILE",ei[ei.IMAGE=2]="IMAGE",ei[ei.AUDIO=3]="AUDIO",(eo=d||(d={}))[eo.Normal=0]="Normal",eo[eo.PluginInterrupt=1]="PluginInterrupt",eo[eo.SeedLongTxt=2]="SeedLongTxt",(ea=p||(p={}))[ea.None=0]="None",ea[ea.GoogleNLP=1]="GoogleNLP",ea[ea.ToutiaoWiki=2]="ToutiaoWiki",(es=h||(h={}))[es.Text=1]="Text",es[es.Video=2]="Video",es[es.Image=3]="Image",es[es.CardRef=5]="CardRef",(el=f||(f={}))[el.Default=1]="Default",el[el.SearchText=2]="SearchText",el[el.SearchVideo=3]="SearchVideo",el[el.ComplexSearchText=4]="ComplexSearchText",el[el.SearchImage=5]="SearchImage",el[el.SearchRichMedia=6]="SearchRichMedia",el[el.SearchRichMediaStrong=7]="SearchRichMediaStrong",el[el.SearchRichMediaWeak=8]="SearchRichMediaWeak",(eu=g||(g={}))[eu.Chat=1]="Chat",eu[eu.Suggest=2]="Suggest",eu[eu.QueryKeyword=3]="QueryKeyword",eu[eu.Workflow=4]="Workflow",eu[eu.OnboardingOnline=5]="OnboardingOnline",eu[eu.OnboardingOffline=6]="OnboardingOffline",eu[eu.Naming=7]="Naming",eu[eu.GenProfile=8]="GenProfile",eu[eu.BrowserPlugin=9]="BrowserPlugin",eu[eu.BrowserPluginSearch=10]="BrowserPluginSearch",eu[eu.BrowserPluginExplain=11]="BrowserPluginExplain",eu[eu.BrowserPluginTranslate=12]="BrowserPluginTranslate",eu[eu.BrowserPluginSummary=13]="BrowserPluginSummary",eu[eu.BrowserPluginGrammar=14]="BrowserPluginGrammar",eu[eu.BrowserPluginRewrite=15]="BrowserPluginRewrite",eu[eu.BrowserPluginWebSummary=16]="BrowserPluginWebSummary",eu[eu.HotSearch=17]="HotSearch",eu[eu.HotSearchPreload=18]="HotSearchPreload",eu[eu.InputSug=19]="InputSug",eu[eu.NewsPush=20]="NewsPush",eu[eu.NewsPushPreload=21]="NewsPushPreload",eu[eu.OnboardingSug=22]="OnboardingSug",eu[eu.OnboardingSugPreload=23]="OnboardingSugPreload",eu[eu.WebNotLogin=24]="WebNotLogin",eu[eu.BackOnboardingSug=25]="BackOnboardingSug",eu[eu.GenCard=26]="GenCard",eu[eu.HighLightMsg=27]="HighLightMsg",eu[eu.HighLightMsgSearch=28]="HighLightMsgSearch",eu[eu.BrowserPluginSelectionQuestion=29]="BrowserPluginSelectionQuestion",eu[eu.BrowserPluginYoutubeSummary=30]="BrowserPluginYoutubeSummary",eu[eu.BrowserPluginRawChain=31]="BrowserPluginRawChain",eu[eu.BrowserPluginPDFReader=32]="BrowserPluginPDFReader",eu[eu.BrowserPluginImgReader=33]="BrowserPluginImgReader",eu[eu.SearchSummary=34]="SearchSummary",eu[eu.PushForceCache=40]="PushForceCache",(ec=m||(m={}))[ec.Nothing=0]="Nothing",ec[ec.DouYin=1]="DouYin",ec[ec.TikTok=2]="TikTok",_||(_={}),(ed=v||(v={}))[ed.System=1]="System",ed[ed.User=2]="User",ed[ed.Assistant=3]="Assistant",ed[ed.Placeholder=4]="Placeholder",ed[ed.Function=5]="Function",(ep=b||(b={}))[ep.Replaceable=1]="Replaceable",ep[ep.Insertable=2]="Insertable",ep[ep.DocumentRef=3]="DocumentRef",ep[ep.KnowledgeCard=4]="KnowledgeCard",ep[ep.MetaPlaceHolder=5]="MetaPlaceHolder",ep[ep.PassThrough=50]="PassThrough",ep[ep.EmbeddedMultimedia=100]="EmbeddedMultimedia",ep[ep.AlaCard=101]="AlaCard",(eh=y||(y={}))[eh.GPT=1]="GPT",eh[eh.Seed=2]="Seed",eh[eh.Claude=3]="Claude",eh[eh.MiniMax=4]="MiniMax",eh[eh.Plugin=5]="Plugin",eh[eh.StableDiffusion=6]="StableDiffusion",eh[eh.ByteArtist=7]="ByteArtist",eh[eh.Edu=8]="Edu",eh[eh.Maas=9]="Maas",eh[eh.QianFan=10]="QianFan",eh[eh.Gemini=11]="Gemini",eh[eh.Moonshot=12]="Moonshot",eh[eh.GLM=13]="GLM",eh[eh.MaaSAutoSync=14]="MaaSAutoSync",eh[eh.QWen=15]="QWen",eh[eh.Cohere=16]="Cohere",eh[eh.Baichuan=17]="Baichuan",eh[eh.Ernie=18]="Ernie",eh[eh.DeekSeek=19]="DeekSeek",eh[eh.Llama=20]="Llama",eh[eh.BytedLLMServer=21]="BytedLLMServer",eh[eh.Yi=22]="Yi",eh[eh.StepFun=23]="StepFun",(ef=w||(w={}))[ef.PromptEvaluatePlatform=1e3]="PromptEvaluatePlatform",ef[ef.FlowApp=2e3]="FlowApp",ef[ef.FlowOPAdmin=3e3]="FlowOPAdmin",ef[ef.FlowAll=3001]="FlowAll",ef[ef.BotPlatform=4e3]="BotPlatform",ef[ef.BotPlatformInhouse=4001]="BotPlatformInhouse",ef[ef.Workflow=5e3]="Workflow",ef[ef.Arena=6e3]="Arena",ef[ef.ArenaInhouse=6001]="ArenaInhouse",ef[ef.Doubao=7e3]="Doubao",(eg=S||(S={}))[eg.GPT3dot5Turbo=1]="GPT3dot5Turbo",eg[eg.GPT4_32k=2]="GPT4_32k",eg[eg.GPT4=3]="GPT4",eg[eg.SeedBeta=4]="SeedBeta",eg[eg.SeedWebGPT=5]="SeedWebGPT",eg[eg.SeedSystem=6]="SeedSystem",eg[eg.SeedMusic=7]="SeedMusic",eg[eg.GPT4_32k0613=8]="GPT4_32k0613",eg[eg.Seed_Img2Text=9]="Seed_Img2Text",eg[eg.Seed_SCTest=10]="Seed_SCTest",eg[eg.Seed_Test=11]="Seed_Test",eg[eg.Seed_WithPlugins=12]="Seed_WithPlugins",eg[eg.GPT3dot5Turbo0613=13]="GPT3dot5Turbo0613",eg[eg.GPT35_Turbo16k=14]="GPT35_Turbo16k",eg[eg.SeedSota=15]="SeedSota",eg[eg.SeedSotaBrowsing=16]="SeedSotaBrowsing",eg[eg.SeedOmni=17]="SeedOmni",eg[eg.SeedFunctionCall=18]="SeedFunctionCall",eg[eg.SeedMain=19]="SeedMain",eg[eg.SeedBrowsingExperiment=20]="SeedBrowsingExperiment",eg[eg.SeedBrowsingOnly=21]="SeedBrowsingOnly",eg[eg.MiniMaxABAB5dot5Chat=22]="MiniMaxABAB5dot5Chat",eg[eg.Echo=23]="Echo",eg[eg.GPT4_0613=24]="GPT4_0613",eg[eg.SeedSystemWithMemory=25]="SeedSystemWithMemory",eg[eg.SeedSystemWithMemoryTest=26]="SeedSystemWithMemoryTest",eg[eg.SeedMap=27]="SeedMap",eg[eg.SeedSuggest=28]="SeedSuggest",eg[eg.SeedComplexInstruction=29]="SeedComplexInstruction",eg[eg.SeedComplexInstructionTest=30]="SeedComplexInstructionTest",eg[eg.Edu=31]="Edu",eg[eg.SeedSuggestOffline=32]="SeedSuggestOffline",eg[eg.SeedOmniSota=33]="SeedOmniSota",eg[eg.SeedStrongCharacterNearlinePortrait=34]="SeedStrongCharacterNearlinePortrait",(em=A||(A={}))[em.FuncBot=1]="FuncBot",em[em.Chain=2]="Chain",em[em.Agent=3]="Agent",em[em.Executor=4]="Executor",(e_=T||(T={}))[e_.InUse=1]="InUse",e_[e_.Pending=5]="Pending",e_[e_.Deleted=10]="Deleted",(ev=x||(x={}))[ev.GPT3dot5Turbo=1]="GPT3dot5Turbo",ev[ev.GPT4=2]="GPT4",ev[ev.Seed=3]="Seed",ev[ev.SeedMultiturn=4]="SeedMultiturn",ev[ev.StableDiffusion=5]="StableDiffusion",ev[ev.ByteArtist=6]="ByteArtist",ev[ev.Claude=7]="Claude",ev[ev.BingChat=8]="BingChat",ev[ev.Bard=9]="Bard",ev[ev.Assistant=10]="Assistant",ev[ev.DallE=11]="DallE",ev[ev.Midjourney=12]="Midjourney",ev[ev.TTSearch=13]="TTSearch",ev[ev.GPTTask=14]="GPTTask",ev[ev.GPT4Browsing=15]="GPT4Browsing",ev[ev.GPT4WithPlugins=16]="GPT4WithPlugins",ev[ev.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",ev[ev.SeedSystem=18]="SeedSystem",ev[ev.Plugin=20]="Plugin",ev[ev.GPT4Plugin=21]="GPT4Plugin",ev[ev.WebGPT=22]="WebGPT",ev[ev.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",ev[ev.AutoPlugin=24]="AutoPlugin",ev[ev.MiniMax=25]="MiniMax",ev[ev.GPT3dot5WithTako=26]="GPT3dot5WithTako",ev[ev.GPT4WithTako=27]="GPT4WithTako",ev[ev.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",ev[ev.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",ev[ev.SeedBeta=30]="SeedBeta",ev[ev.ByteArtistAnime=31]="ByteArtistAnime",ev[ev.GenMusic=32]="GenMusic",ev[ev.GPT48k=33]="GPT48k",ev[ev.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",ev[ev.SeedForTest=35]="SeedForTest",ev[ev.SeedOmniFake=36]="SeedOmniFake",ev[ev.SeedOmniBrowse=37]="SeedOmniBrowse",ev[ev.SeedOmniSota=38]="SeedOmniSota",ev[ev.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",ev[ev.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",ev[ev.CiciSearchMore=41]="CiciSearchMore",ev[ev.CiciSearchLess=42]="CiciSearchLess",ev[ev.CiciSearchBing=43]="CiciSearchBing",ev[ev.SeedOmniPlugin=44]="SeedOmniPlugin",ev[ev.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",ev[ev.GPT40613=46]="GPT40613",ev[ev.SeedForMap=47]="SeedForMap",ev[ev.SeedForMusic=48]="SeedForMusic",ev[ev.XiaoningWithMem=49]="XiaoningWithMem",ev[ev.GPT_35Turbo=100]="GPT_35Turbo",ev[ev.GPT_35Turbo0301=101]="GPT_35Turbo0301",ev[ev.GPT_4=102]="GPT_4",ev[ev.GPT_40314=103]="GPT_40314",ev[ev.GPT_432k=104]="GPT_432k",ev[ev.GPT_432k0314=105]="GPT_432k0314",ev[ev.Seed_Beta=106]="Seed_Beta",ev[ev.Seed_Music=107]="Seed_Music",ev[ev.GPT4_32k0613=108]="GPT4_32k0613",ev[ev.Seed_Img2Text=109]="Seed_Img2Text",ev[ev.Seed_WebGPT=110]="Seed_WebGPT",ev[ev.Seed_WithPlugins=111]="Seed_WithPlugins",ev[ev.GPT_35Turbo0613=112]="GPT_35Turbo0613",ev[ev.GPT_35Turbo16K=113]="GPT_35Turbo16K",ev[ev.Seed_Sota=114]="Seed_Sota",ev[ev.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",ev[ev.Seed_WithSystem=116]="Seed_WithSystem",ev[ev.Seed_Omni=118]="Seed_Omni",ev[ev.SeedFunctionCall=119]="SeedFunctionCall",ev[ev.Seed_Main=120]="Seed_Main",ev[ev.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",ev[ev.SeedBrowsingOnly=122]="SeedBrowsingOnly",ev[ev.Echo=123]="Echo",ev[ev.GPT_40613=124]="GPT_40613",ev[ev.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",ev[ev.Seed_Map=126]="Seed_Map",ev[ev.SeedSuggest=127]="SeedSuggest",ev[ev.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",ev[ev.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",ev[ev.Edu=130]="Edu",ev[ev.Tako_Intent=131]="Tako_Intent",ev[ev.Seed_Text2Img=132]="Seed_Text2Img",ev[ev.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",ev[ev.SeedForDouyin=134]="SeedForDouyin",ev[ev.SeedFunctionCallSp=135]="SeedFunctionCallSp",ev[ev.SeedSuggestOffline=136]="SeedSuggestOffline",ev[ev.SkylarkChat=137]="SkylarkChat",ev[ev.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",ev[ev.SkylarkPro_v1_1_TT=1704353638]="SkylarkPro_v1_1_TT",ev[ev.SkylarkPro_v1_1_TT_BROWSING=1704696164]="SkylarkPro_v1_1_TT_BROWSING",ev[ev.SeedBotTag=1705216686]="SeedBotTag",ev[ev.SeedStrongCharacterAudio=1705220979]="SeedStrongCharacterAudio",(eb=k||(k={}))[eb.GPTOpenAPI=1]="GPTOpenAPI",eb[eb.Maas=2]="Maas",eb[eb.LLMFlow=3]="LLMFlow",eb[eb.Merlin=4]="Merlin",eb[eb.Other=5]="Other",(ey=M||(M={}))[ey.UNK=0]="UNK",ey[ey.GPT3D5=1]="GPT3D5",ey[ey.GPT4=2]="GPT4",(ew=P||(P={}))[ew.Plugin=1]="Plugin",ew[ew.Hook=2]="Hook",ew[ew.GptEngine=3]="GptEngine",ew[ew.Edu=4]="Edu",ew[ew.OPENAPI=5]="OPENAPI",(eS=I||(I={}))[eS.Unknown_MultiStreamScene=0]="Unknown_MultiStreamScene",eS[eS.CrowdTesting=1]="CrowdTesting",(eA=E||(E={}))[eA.Unknown_MultiStreamStatus=0]="Unknown_MultiStreamStatus",eA[eA.Start=1]="Start",eA[eA.End=2]="End",(eT=C||(C={}))[eT.Prologue=1]="Prologue",eT[eT.SuggestedQuestion=2]="SuggestedQuestion",(ex=O||(O={}))[ex.LLM_GEN=1]="LLM_GEN",ex[ex.LLM_GEN_THEN_TRANSLATE=2]="LLM_GEN_THEN_TRANSLATE",ex[ex.MANUAL=3]="MANUAL",ex[ex.MANUAL_THEN_TRANSLATE=4]="MANUAL_THEN_TRANSLATE",(ek=D||(D={}))[ek.FIRST_MET=1]="FIRST_MET",ek[ek.WELCOME_BACK=2]="WELCOME_BACK",(eM=L||(L={}))[eM.NO_NEED=1]="NO_NEED",eM[eM.USE_MANUAL=2]="USE_MANUAL",eM[eM.USE_LLM=3]="USE_LLM",(eP=B||(B={}))[eP.None=0]="None",eP[eP.OnboardingNotDisplay=1]="OnboardingNotDisplay",eP[eP.OnboardingPreset=2]="OnboardingPreset",eP[eP.OnboardingLLMGen=3]="OnboardingLLMGen",(eI=N||(N={}))[eI.One=1]="One",(eE=R||(R={}))[eE.PreGen_Query=1]="PreGen_Query",eE[eE.PreGen_PreQuery=2]="PreGen_PreQuery",eE[eE.PreGen_Continue=3]="PreGen_Continue",eE[eE.PreGen_End=4]="PreGen_End",(eC=j||(j={}))[eC.Block=0]="Block",eC[eC.Streaming=1]="Streaming",eC[eC.Full=2]="Full",(eO=U||(U={}))[eO.FString=1]="FString",eO[eO.Jinja2=2]="Jinja2",eO[eO.None=4]="None",(eD=z||(z={}))[eD.Answer=1]="Answer",eD[eD.Suggest=2]="Suggest",eD[eD.LLMOutput=3]="LLMOutput",eD[eD.ToolOutput=4]="ToolOutput",eD[eD.DataSet=5]="DataSet",eD[eD.QueryKeyword=6]="QueryKeyword",eD[eD.IntermediateOutput=7]="IntermediateOutput",eD[eD.Verbose=100]="Verbose",eD[eD.PlaceHolder=101]="PlaceHolder",(eL=F||(F={}))[eL.ResultType_Default=0]="ResultType_Default",eL[eL.ResultType_PluginResponse=1]="ResultType_PluginResponse",eL[eL.ResultType_PluginIntent=2]="ResultType_PluginIntent",eL[eL.ResultType_Variables=3]="ResultType_Variables",eL[eL.ResultType_None=4]="ResultType_None",eL[eL.ResultType_BotSchema=5]="ResultType_BotSchema",eL[eL.ResultType_ReferenceVariable=6]="ResultType_ReferenceVariable",(eB=G||(G={}))[eB.ResumeDefault=0]="ResumeDefault",eB[eB.PluginAuthorized=1]="PluginAuthorized",eB[eB.PluginAsync=2]="PluginAsync",eB[eB.PluginInterrupt=3]="PluginInterrupt",(eN=q||(q={}))[eN.Nothing=0]="Nothing",eN[eN.Google=1]="Google",eN[eN.DouYin=2]="DouYin",eN[eN.TouTiao=4]="TouTiao",(eR=W||(W={}))[eR.BotStudioSubmit=1]="BotStudioSubmit",eR[eR.BotStudioWorkflowTest=2]="BotStudioWorkflowTest",eR[eR.Flow=3]="Flow",eR[eR.API=4]="API",eR[eR.Aweme=5]="Aweme",(ej=Z||(Z={}))[ej.Plan=0]="Plan",ej[ej.AgentHook=1]="AgentHook",(eU=H||(H={}))[eU.WithDefaultPrompt=0]="WithDefaultPrompt",eU[eU.WithCustomizedPrompt=1]="WithCustomizedPrompt",eU[eU.Disable=2]="Disable",eU[eU.UseOriginBotMode=3]="UseOriginBotMode",(ez=V||(V={}))[ez.Ask=0]="Ask",ez[ez.Once=1]="Once",ez[ez.Always=2]="Always"},80655:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez,eF,eG,eq,eW,eZ,eH,eV,eQ,eY,e$,eK,eX,eJ;(ee=e||(e={}))[ee.DebugWaiting=0]="DebugWaiting",ee[ee.DebugPassed=1]="DebugPassed",(et=t||(t={}))[et.CreateTime=1]="CreateTime",(en=n||(n={}))[en.GET=1]="GET",en[en.POST=2]="POST",en[en.PUT=3]="PUT",en[en.DELETE=4]="DELETE",en[en.PATCH=5]="PATCH",(er=r||(r={}))[er.DEFAULT=1]="DEFAULT",er[er.IMAGE=2]="IMAGE",er[er.DOC=3]="DOC",er[er.CODE=4]="CODE",er[er.PPT=5]="PPT",er[er.TXT=6]="TXT",er[er.EXCEL=7]="EXCEL",er[er.AUDIO=8]="AUDIO",er[er.ZIP=9]="ZIP",er[er.VIDEO=10]="VIDEO",er[er.VOICE=12]="VOICE",(ei=i||(i={}))[ei.Unknown=0]="Unknown",ei[ei.Executing=1]="Executing",ei[ei.ExecuteSucceed=2]="ExecuteSucceed",ei[ei.ExecuteFailed=3]="ExecuteFailed",(eo=o||(o={}))[eo.Header=1]="Header",eo[eo.Query=2]="Query",(ea=a||(a={}))[ea.None=0]="None",ea[ea.Service=1]="Service",ea[ea.OAuth=3]="OAuth",(es=s||(s={}))[es.Rejected=-1]="Rejected",es[es.Approved=1]="Approved",es[es.Pending=100]="Pending",(el=l||(l={}))[el.Plugin=1]="Plugin",el[el.Workflow=2]="Workflow",(eu=u||(u={}))[eu.Plugin=1]="Plugin",eu[eu.WorkFlow=2]="WorkFlow",(ec=c||(c={}))[ec.Official=1]="Official",ec[ec.Custom=2]="Custom",(ed=d||(d={}))[ed.Basic=1]="Basic",ed[ed.List=2]="List",ed[ed.Custom=3]="Custom",ed[ed.Slide=4]="Slide",(ep=p||(p={}))[ep.Draft=0]="Draft",ep[ep.Published=1]="Published",ep[ep.UnPublish=2]="UnPublish",(eh=h||(h={}))[eh.COZE=0]="COZE",eh[eh.IDE=1]="IDE",(ef=f||(f={}))[ef.Default=0]="Default",ef[ef.Enable=1]="Enable",ef[ef.Disable=2]="Disable",(eg=g||(g={}))[eg.Debug=1]="Debug",eg[eg.Parse=2]="Parse",(em=m||(m={}))[em.Input=0]="Input",em[em.Variable=1]="Variable",(e_=_||(_={}))[e_.Unknown=0]="Unknown",e_[e_.NotFoundPlugin=1]="NotFoundPlugin",e_[e_.OfficialPlugin=2]="OfficialPlugin",(ev=v||(v={}))[ev.Object=1]="Object",ev[ev.String=2]="String",ev[ev.Integer=3]="Integer",ev[ev.Bool=4]="Bool",ev[ev.Array=5]="Array",ev[ev.Number=6]="Number",(eb=b||(b={}))[eb.TokenExchange=1]="TokenExchange",eb[eb.ClientCredential=2]="ClientCredential",(ey=y||(y={}))[ey.USING=1]="USING",ey[ey.REMOVE=2]="REMOVE",ey[ey.OFFLINE=3]="OFFLINE",ey[ey.NOTINSTALL=4]="NOTINSTALL",(ew=w||(w={}))[ew.Authorized=1]="Authorized",ew[ew.Unauthorized=2]="Unauthorized",(eS=S||(S={}))[eS.OFFLINE=0]="OFFLINE",eS[eS.ONLINE=1]="ONLINE",(eA=A||(A={}))[eA.CreateTime=0]="CreateTime",eA[eA.UpdateTime=1]="UpdateTime",eA[eA.PublishTime=2]="PublishTime",eA[eA.Hot=3]="Hot",(eT=T||(T={}))[eT.Path=1]="Path",eT[eT.Query=2]="Query",eT[eT.Body=3]="Body",eT[eT.Header=4]="Header",(ex=x||(x={}))[ex.String=1]="String",ex[ex.Integer=2]="Integer",ex[ex.Number=3]="Number",ex[ex.Object=4]="Object",ex[ex.Array=5]="Array",ex[ex.Bool=6]="Bool",(ek=k||(k={}))[ek.Latest=1]="Latest",ek[ek.NeedUpdate=2]="NeedUpdate",ek[ek.ParamMisMatch=3]="ParamMisMatch",(eM=M||(M={}))[eM.source_code=1]="source_code",eM[eM.input_params=2]="input_params",eM[eM.openapi=3]="openapi",(eP=P||(P={}))[eP.OpenAPI=1]="OpenAPI",eP[eP.Curl=2]="Curl",eP[eP.Postman=3]="Postman",eP[eP.Swagger=4]="Swagger",(eI=I||(I={}))[eI.ExceptWorkflow=0]="ExceptWorkflow",eI[eI.Workflow=1]="Workflow",eI[eI.API=2]="API",eI[eI.SpaceAPI=3]="SpaceAPI",(eE=E||(E={}))[eE.FileUrl=0]="FileUrl",eE[eE.ImageUrl=1]="ImageUrl",eE[eE.DocUrl=2]="DocUrl",eE[eE.CodeUrl=3]="CodeUrl",eE[eE.PptUrl=4]="PptUrl",eE[eE.TxtUrl=5]="TxtUrl",eE[eE.ExcelUrl=6]="ExcelUrl",eE[eE.AudioUrl=7]="AudioUrl",eE[eE.ZipUrl=8]="ZipUrl",eE[eE.VideoUrl=9]="VideoUrl",(eC=C||(C={}))[eC.ByTimes=1]="ByTimes",eC[eC.ByUnit=2]="ByUnit",eC[eC.Unlimited=3]="Unlimited",(eO=O||(O={}))[eO.Free=0]="Free",eO[eO.Quantity=1]="Quantity",eO[eO.Subscribe=2]="Subscribe",(eD=D||(D={}))[eD.Default=0]="Default",eD[eD.Listed=1]="Listed",eD[eD.Unlisted=2]="Unlisted",eD[eD.Reviewing=3]="Reviewing",(eL=L||(L={}))[eL.SingleAgent=0]="SingleAgent",eL[eL.WorkflowLlmNode=1]="WorkflowLlmNode",(eB=B||(B={}))[eB.Draft=0]="Draft",eB[eB.SUBMITTED=1]="SUBMITTED",eB[eB.REVIEWING=2]="REVIEWING",eB[eB.PREPARED=3]="PREPARED",eB[eB.PUBLISHED=4]="PUBLISHED",eB[eB.OFFLINE=5]="OFFLINE",eB[eB.BANNED=6]="BANNED",(eN=N||(N={}))[eN.Required=0]="Required",eN[eN.Supported=1]="Supported",eN[eN.Disable=2]="Disable",(eR=R||(R={}))[eR.PLUGIN=1]="PLUGIN",eR[eR.APP=2]="APP",eR[eR.FUNC=3]="FUNC",eR[eR.WORKFLOW=4]="WORKFLOW",eR[eR.IMAGEFLOW=5]="IMAGEFLOW",eR[eR.LOCAL=6]="LOCAL",(ej=j||(j={}))[ej.CloudPlugin=1]="CloudPlugin",ej[ej.LocalPlugin=2]="LocalPlugin",ej[ej.WorkflowPlugin=3]="WorkflowPlugin",(eU=U||(U={}))[eU.USD=0]="USD",eU[eU.CNY=1]="CNY",(ez=z||(z={}))[ez.Second=1]="Second",ez[ez.Minute=2]="Minute",ez[ez.Hour=3]="Hour",ez[ez.Day=4]="Day",ez[ez.Month=5]="Month",ez[ez.Year=6]="Year",(eF=F||(F={}))[eF.Default=0]="Default",eF[eF.Pending=1]="Pending",eF[eF.Approved=2]="Approved",eF[eF.Rejected=3]="Rejected",eF[eF.Abandoned=4]="Abandoned",(eG=G||(G={}))[eG.NeverListed=0]="NeverListed",eG[eG.Listed=1]="Listed",eG[eG.Unlisted=2]="Unlisted",eG[eG.Banned=3]="Banned",(eq=q||(q={}))[eq.ByAdmin=1]="ByAdmin",eq[eq.ByUser=2]="ByUser",(eW=W||(W={}))[eW.Curl=1]="Curl",eW[eW.Wget=2]="Wget",eW[eW.NodeJS=3]="NodeJS",eW[eW.Python=4]="Python",eW[eW.Golang=5]="Golang",(eZ=Z||(Z={}))[eZ.Published=1]="Published",eZ[eZ.UnPublish=2]="UnPublish",(eH=H||(H={}))[eH.DefaultToSync=0]="DefaultToSync",eH[eH.Sync=1]="Sync",eH[eH.Async=2]="Async",eH[eH.Streaming=3]="Streaming",(eV=V||(V={}))[eV.All=0]="All",eV[eV.Self=1]="Self",(eQ=Q||(Q={}))[eQ.ApiKey=0]="ApiKey",eQ[eQ.BytedanceZeroTrust=1]="BytedanceZeroTrust",eQ[eQ.OIDC=2]="OIDC",(eY=Y||(Y={}))[eY.Default=0]="Default",eY[eY.Owner=1]="Owner",eY[eY.Admin=2]="Admin",eY[eY.Member=3]="Member",(e$=$||($={}))[e$.Time=1]="Time",e$[e$.Webhook=2]="Webhook",(eK=K||(K={}))[eK.Default=0]="Default",eK[eK.Succeed=1]="Succeed",eK[eK.Failed=2]="Failed",(eX=X||(X={}))[eX.PresetTask=1]="PresetTask",eX[eX.UserTask=2]="UserTask",(eJ=J||(J={}))[eJ.UseLLM=0]="UseLLM",eJ[eJ.SkipLLM=1]="SkipLLM"},64933:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Copy=1]="Copy",u[u.Delete=2]="Delete",u[u.EnableSwitch=3]="EnableSwitch",u[u.Edit=4]="Edit",u[u.SwitchToFuncflow=8]="SwitchToFuncflow",u[u.SwitchToChatflow=9]="SwitchToChatflow",u[u.CrossSpaceCopy=10]="CrossSpaceCopy",(c=t||(t={}))[c.Successful=1]="Successful",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.KeepOrigin=4]="KeepOrigin",c[c.Deleted=5]="Deleted",(d=n||(n={}))[d.Rename=1]="Rename",d[d.Copy=2]="Copy",d[d.CopyToLibrary=3]="CopyToLibrary",d[d.MoveToLibrary=4]="MoveToLibrary",d[d.Delete=5]="Delete",d[d.Enable=6]="Enable",d[d.Disable=7]="Disable",d[d.SwitchToFuncflow=8]="SwitchToFuncflow",d[d.SwitchToChatflow=9]="SwitchToChatflow",d[d.UpdateDesc=10]="UpdateDesc",(p=r||(r={}))[p.Workflow=1]="Workflow",p[p.Plugin=2]="Plugin",p[p.Data=3]="Data",(h=i||(i={}))[h.UnPublished=1]="UnPublished",h[h.Published=2]="Published",(f=o||(o={}))[f.CopyProjectResource=1]="CopyProjectResource",f[f.CopyResourceToLibrary=2]="CopyResourceToLibrary",f[f.MoveResourceToLibrary=3]="MoveResourceToLibrary",f[f.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",f[f.CopyProject=5]="CopyProject",f[f.PublishProject=6]="PublishProject",f[f.CopyProjectTemplate=7]="CopyProjectTemplate",f[f.PublishProjectTemplate=8]="PublishProjectTemplate",f[f.LaunchTemplate=9]="LaunchTemplate",f[f.ArchiveProject=10]="ArchiveProject",f[f.RollbackProject=11]="RollbackProject",f[f.CrossSpaceCopy=12]="CrossSpaceCopy",f[f.CrossSpaceCopyProject=13]="CrossSpaceCopyProject",(g=a||(a={}))[g.Plugin=1]="Plugin",g[g.Workflow=2]="Workflow",g[g.Imageflow=3]="Imageflow",g[g.Knowledge=4]="Knowledge",g[g.UI=5]="UI",g[g.Prompt=6]="Prompt",g[g.Database=7]="Database",g[g.Variable=8]="Variable",g[g.Voice=9]="Voice",(m=s||(s={}))[m.Upsert=1]="Upsert",m[m.Delete=2]="Delete",(_=l||(l={}))[_.Successed=1]="Successed",_[_.Processing=2]="Processing",_[_.Failed=3]="Failed",_[_.Canceled=4]="Canceled"},34858:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.FString=1]="FString",i[i.Jinja2=2]="Jinja2",i[i.GoTemplate=3]="GoTemplate",(o=t||(t={}))[o.DocumentReference=1]="DocumentReference",(a=n||(n={}))[a.PluginResponse=1]="PluginResponse",a[a.PluginIntent=2]="PluginIntent",a[a.Variables=3]="Variables",a[a.None=4]="None",a[a.BotSchema=5]="BotSchema",a[a.ReferenceVariable=6]="ReferenceVariable",(s=r||(r={}))[s.Plugin=1]="Plugin",s[s.PluginAsService=2]="PluginAsService",s[s.Service=3]="Service"},977:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.TextInput=0]="TextInput",r[r.Select=1]="Select",r[r.UploadImage=2]="UploadImage",r[r.UploadDoc=3]="UploadDoc",r[r.UploadTable=4]="UploadTable",r[r.UploadAudio=5]="UploadAudio",r[r.MixUpload=6]="MixUpload",r[r.VIDEO=7]="VIDEO",r[r.ARCHIVE=8]="ARCHIVE",r[r.CODE=9]="CODE",r[r.TXT=10]="TXT",r[r.PPT=11]="PPT",(i=t||(t={}))[i.SendTypeQuery=0]="SendTypeQuery",i[i.SendTypePanel=1]="SendTypePanel",(o=n||(n={}))[o.ToolTypeWorkFlow=1]="ToolTypeWorkFlow",o[o.ToolTypePlugin=2]="ToolTypePlugin"},70111:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.TaskSuccess=1]="TaskSuccess",a[a.TaskFailed=2]="TaskFailed",a[a.TaskCanceled=3]="TaskCanceled",(s=t||(t={}))[s.Copy=1]="Copy",s[s.Move=2]="Move",s[s.Publish=3]="Publish",(l=n||(n={}))[l.Project=1]="Project",l[l.Space=2]="Space",l[l.Online=3]="Online",l[l.Template=4]="Template",(u=r||(r={}))[u.Plugin=1]="Plugin",u[u.Workflow=2]="Workflow",u[u.Imageflow=3]="Imageflow",u[u.Knowledge=4]="Knowledge",u[u.UI=5]="UI",u[u.Project=6]="Project",u[u.Database=7]="Database",u[u.Variable=8]="Variable",(c=i||(i={}))[c.Success=1]="Success",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.Canceled=4]="Canceled",(d=o||(o={}))[d.CopyResourceInProject=1]="CopyResourceInProject",d[d.CopyProjectResourceToLibrary=2]="CopyProjectResourceToLibrary",d[d.MoveProjectResourceToLibrary=3]="MoveProjectResourceToLibrary",d[d.CopyLibraryResourceToProject=4]="CopyLibraryResourceToProject",d[d.CopyProject=5]="CopyProject",d[d.PublishProject=6]="PublishProject",d[d.CopyTemplateToProject=7]="CopyTemplateToProject",d[d.PublishProjectTemplate=8]="PublishProjectTemplate",d[d.LaunchProjectTemplate=9]="LaunchProjectTemplate",d[d.ArchiveProject=10]="ArchiveProject",d[d.RollbackProject=11]="RollbackProject"},76240:function(e,t,n){"use strict";var r,i;n("83015"),(i=r||(r={}))[i.PLAIN_TEXT=0]="PLAIN_TEXT",i[i.PARAGRAPH=1]="PARAGRAPH",i[i.DOC_TREE=2]="DOC_TREE",i[i.SEMANTIC=3]="SEMANTIC"},17501:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("12863"),n("2682"),n("33342"),n("57182"),n("49747"),n("17924"),n("29394");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}PublicListingProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/listing"),r={entity_type:e.entity_type,entity_id:e.entity_id,entity_version:e.entity_version,category_id:e.category_id,readme:e.readme,other_category_notes:e.other_category_notes,publish_mode:e.publish_mode,product_name:e.product_name,related_entity:e.related_entity,workflow_case_config:e.workflow_case_config,ui_preview_types:e.ui_preview_types};return this.request({url:n,method:"POST",data:r},t)}PublicGetProductDetail(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/detail"),i={product_id:n.product_id,entity_type:n.entity_type,entity_id:n.entity_id,need_audit_failed:n.need_audit_failed},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}PublicGetProductList(e,t){let n=this.genBaseURL("/api/marketplace/product/list"),r={entity_type:e.entity_type,category_id:e.category_id,sort_type:e.sort_type,page_num:e.page_num,page_size:e.page_size,keyword:e.keyword,publish_mode:e.publish_mode,publish_platform_ids:e.publish_platform_ids,source:e.source,current_entity_type:e.current_entity_type,current_entity_id:e.current_entity_id,current_entity_version:e.current_entity_version,topic_id:e.topic_id,preview_topic_id:e.preview_topic_id,is_official:e.is_official,need_extra:e.need_extra,entity_types:e.entity_types,is_free:e.is_free,plugin_type:e.plugin_type},i={"Tt-Agw-Client-Ip":e["Tt-Agw-Client-Ip"]};return this.request({url:n,method:"GET",params:r,headers:i},t)}PublicFavoriteProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/favorite"),r={product_id:e.product_id,entity_type:e.entity_type,is_cancel:e.is_cancel,entity_id:e.entity_id,topic_id:e.topic_id},i={Cookie:e.Cookie};return this.request({url:n,method:"POST",data:r,headers:i},t)}PublicUnlistingProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/unlisting"),r={product_id:e.product_id};return this.request({url:n,method:"POST",data:r},t)}PublicGetProductCategoryList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/category/list"),i={entity_type:n.entity_type,need_empty_category:n.need_empty_category,lang:n.lang};return this.request({url:r,method:"GET",params:i},t)}PublicGetUserFavoriteList(e,t){let n=this.genBaseURL("/api/marketplace/product/favorite/list"),r={page_num:e.page_num,page_size:e.page_size,entity_type:e.entity_type,sort_type:e.sort_type,key_wrod:e.key_wrod};return this.request({url:n,method:"GET",params:r},t)}PublicGetDeveloperInfo(e,t){let n=this.genBaseURL("/api/marketplace/product/developer/info");return this.request({url:n,method:"GET"},t)}PublicVerifyDeveloper(e,t){let n=this.genBaseURL("/api/marketplace/product/developer/verify"),r={email_address:e.email_address,phone:e.phone,ticket:e.ticket};return this.request({url:n,method:"POST",data:r},t)}AdminGetProductCategoryList(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/category/list"),r={entity_type:(e||{}).entity_type};return this.request({url:n,method:"GET",params:r},t)}AdminUnlistingProduct(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/unlisting"),i={product_id:n.product_id,entity_type:n.entity_type,entity_id:n.entity_id};return this.request({url:r,method:"POST",data:i},t)}PublicUpdateProductAttr(e,t){let n=this.genBaseURL("/api/marketplace/product/attr/update"),r={product_id:e.product_id,entity_type:e.entity_type,bot_attr:e.bot_attr};return this.request({url:n,method:"POST",data:r},t)}AdminDeleteProductRecommendConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/recommend_config/delete"),i={product_ids:n.product_ids,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}AdminListingProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/listing"),r={entity_type:e.entity_type,entity_id:e.entity_id,entity_version:e.entity_version,category_id:e.category_id,readme:e.readme,other_category_notes:e.other_category_notes,publish_mode:e.publish_mode,product_name:e.product_name,covers:e.covers,is_profession:e.is_profession,price_config:e.price_config,workflow_gui_config:e.workflow_gui_config,description:e.description,preview_types:e.preview_types,local_plugin_config:e.local_plugin_config};return this.request({url:n,method:"POST",data:r},t)}AdminSetProductRecommendConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/recommend_config/set"),i={op_type:n.op_type,product_ids:n.product_ids,config:n.config,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}AdminGetProductList(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/list"),r={entity_type:e.entity_type,sort_type:e.sort_type,page_num:e.page_num,page_size:e.page_size,category_id:e.category_id,keyword:e.keyword,source:e.source,product_status:e.product_status,entity_ids:e.entity_ids,category_ids:e.category_ids,is_official_product:e.is_official_product,author_id:e.author_id,product_ids:e.product_ids,team_id:e.team_id,first_listing:e.first_listing,candidate_template:e.candidate_template,entity_types:e.entity_types};return this.request({url:n,method:"GET",params:r},t)}AdminSaveProductCategory(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/category/save"),i={categories:n.categories,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}PublicGetProductEntityInfo(e,t){let n=this.genBaseURL("/api/marketplace/product/entity/info"),r={entity_id:e.entity_id,entity_type:e.entity_type,entity_version:e.entity_version};return this.request({url:n,method:"GET",params:r},t)}PublicGetPublishPlatforms(e,t){let n=this.genBaseURL("/api/marketplace/product/platforms");return this.request({url:n,method:"GET"},t)}AdminBatchUnListingProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/batch_unlisting"),r={product_ids:(e||{}).product_ids};return this.request({url:n,method:"POST",data:r},t)}AdminBatchListingProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/batch_listing"),r={products:(e||{}).products};return this.request({url:n,method:"POST",data:r},t)}AdminUploadImage(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/image/upload"),r={data:(e||{}).data};return this.request({url:n,method:"POST",data:r},t)}PublicGetUserFavoriteListV2(e,t){let n=this.genBaseURL("/api/marketplace/product/favorite/list.v2"),r={cursor_id:e.cursor_id,page_size:e.page_size,entity_type:e.entity_type,sort_type:e.sort_type,keyword:e.keyword,source:e.source,need_user_trigger_config:e.need_user_trigger_config,begin_at:e.begin_at,end_at:e.end_at,entity_types:e.entity_types};return this.request({url:n,method:"GET",params:r},t)}PublicGetTaskInfo(e,t){let n=this.genBaseURL("/api/marketplace/product/task/info"),r={task_id:e.task_id,task_type:e.task_type};return this.request({url:n,method:"GET",params:r},t)}AdminDeleteFeaturedProduct(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/featured/delete"),i={id:n.id,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}AdminGetFeaturedProductList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/featured/list"),i={begin_time_second:n.begin_time_second,end_time_second:n.end_time_second,entity_type:n.entity_type,entity_types:n.entity_types};return this.request({url:r,method:"GET",params:i},t)}AdminGetLatestFeaturedProduct(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/featured/get_latest"),i={product_id:n.product_id,entity_type:n.entity_type};return this.request({url:r,method:"GET",params:i},t)}AdminSetFeaturedProductConfig(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/featured/set"),i={op_type:n.op_type,config:n.config,entity_type:n.entity_type};return this.request({url:r,method:"POST",data:i},t)}PublicSearchSuggest(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/search/suggest"),i={keyword:n.keyword,entity_type:n.entity_type,page_num:n.page_num,page_size:n.page_size,entity_types:n.entity_types};return this.request({url:r,method:"GET",params:i},t)}PublicReportUserAction(e,t){let n=this.genBaseURL("/api/marketplace/product/user/action"),r={product_id:e.product_id,entity_type:e.entity_type,operation_type:e.operation_type};return this.request({url:n,method:"POST",data:r},t)}PublicSearchProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/search"),r={keyword:e.keyword,page_num:e.page_num,page_size:e.page_size,entity_type:e.entity_type,sort_type:e.sort_type,publish_mode:e.publish_mode,model_ids:e.model_ids,bot_mod_type:e.bot_mod_type,components:e.components,publish_platform_ids:e.publish_platform_ids,category_ids:e.category_ids,is_official:e.is_official,is_recommend:e.is_recommend,entity_types:e.entity_types,plugin_type:e.plugin_type};return this.request({url:n,method:"GET",params:r},t)}PublicGetProductFilter(e,t){let n=this.genBaseURL("/api/marketplace/product/filters"),r={entity_type:e.entity_type};return this.request({url:n,method:"GET",params:r},t)}AdminGetFeaturedProductPreviewID(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/featured/get_preview_id"),r={id:(e||{}).id};return this.request({url:n,method:"GET",params:r},t)}PublicPreviewURL(e,t){let n=this.genBaseURL("/api/marketplace/product/url/preview"),r={type:e.type,challenge:e.challenge,schema:e.schema,header:e.header,event:e.event};return this.request({url:n,method:"POST",data:r},t)}PublicGetCurrentFeaturedProduct(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/featured/get_current"),i={entity_type:n.entity_type,PreviewID:n.PreviewID,entity_types:n.entity_types};return this.request({url:r,method:"GET",params:i},t)}AdminGetBotScoreList(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/score/bots"),r={page_size:e.page_size,page_num:e.page_num,period_type:e.period_type,product_ids:e.product_ids,bot_ids:e.bot_ids,total_score_min:e.total_score_min,total_score_max:e.total_score_max,static_score_min:e.static_score_min,static_score_max:e.static_score_max,conversation_score_min:e.conversation_score_min,conversation_score_max:e.conversation_score_max,last_listing_at_begin:e.last_listing_at_begin,last_listing_at_end:e.last_listing_at_end,sort_type:e.sort_type,dynamic_score_min:e.dynamic_score_min,dynamic_score_max:e.dynamic_score_max,is_recommended:e.is_recommended,has_been_checked:e.has_been_checked,evaluation_score_min:e.evaluation_score_min,evaluation_score_max:e.evaluation_score_max};return this.request({url:n,method:"GET",params:r},t)}PublicDuplicateProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/duplicate"),r={product_id:e.product_id,entity_type:e.entity_type,space_id:e.space_id,name:e.name},i={Cookie:e.Cookie};return this.request({url:n,method:"POST",data:r,headers:i},t)}PublicSearchNLSuggest(e,t){let n=this.genBaseURL("/api/marketplace/product/search/nl/suggest"),r={keyword:e.keyword,entity_type:e.entity_type};return this.request({url:n,method:"GET",params:r},t)}AdminGetTopicPreviewID(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/topic/get_preview_id"),r={id:(e||{}).id};return this.request({url:n,method:"GET",params:r},t)}AdminSetTopic(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/topic/set"),i={op_type:n.op_type,topic:n.topic};return this.request({url:r,method:"POST",data:i},t)}PublicGetCurrentTopicList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/topic/get_current"),i={entity_type:n.entity_type,preview_id:n.preview_id};return this.request({url:r,method:"GET",params:i},t)}AdminDeleteTopic(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/topic/delete"),r={id:(e||{}).id};return this.request({url:n,method:"POST",data:r},t)}AdminGetTopicList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/topic/list"),i={begin_time_second:n.begin_time_second,end_time_second:n.end_time_second,entity_type:n.entity_type};return this.request({url:r,method:"GET",params:i},t)}AdminUpdateTopicStatus(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/admin/topic/update_status"),i={id:n.id,status:n.status};return this.request({url:r,method:"POST",data:i},t)}PublicGetProductShareDetail(e,t){let n=this.genBaseURL("/api/marketplace/product/share/detail"),r={share_id:e.share_id};return this.request({url:n,method:"GET",params:r},t)}PublicCreateProductShare(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/share/create"),i={product_id:n.product_id,product_share_type:n.product_share_type,product_share_scene:n.product_share_scene,share_bot_conversation:n.share_bot_conversation};return this.request({url:r,method:"POST",data:i},t)}PublicTransMD(e,t){let n=this.genBaseURL("/api/marketplace/product/translate/md"),r={input:e.input,target_language:e.target_language};return this.request({url:n,method:"POST",data:r},t)}PublicTransText(e,t){let n=this.genBaseURL("/api/marketplace/product/translate/text"),r={inputs:e.inputs,target_language:e.target_language};return this.request({url:n,method:"POST",data:r},t)}PublicGetSupportLang(e,t){let n=this.genBaseURL("/api/marketplace/product/langs");return this.request({url:n,method:"GET"},t)}AdminMarkProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/score/mark"),r={product_ids:e.product_ids,mark_type:e.mark_type};return this.request({url:n,method:"POST",data:r},t)}PublicGenerateProductListingInfo(e,t){let n=this.genBaseURL("/api/marketplace/product/generate_listing_info"),r={generate_type:e.generate_type,entity:e.entity};return this.request({url:n,method:"POST",data:r},t)}PublicGetUserProductList(e,t){let n=this.genBaseURL("/api/marketplace/product/user_product/list"),r={entity_type:e.entity_type,cursor:e.cursor,limit:e.limit,source:e.source,begin_at:e.begin_at,end_at:e.end_at,user_id:e.user_id,entity_types:e.entity_types};return this.request({url:n,method:"GET",params:r},t)}PublicGetUserProductCount(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/user_product/count"),i={source:n.source,entity_types:n.entity_types,user_id:n.user_id};return this.request({url:r,method:"GET",params:i},t)}DouyinRegister(e,t){let n=this.genBaseURL("/NS5J4lCu75.txt");return this.request({url:n,method:"GET"},t)}PublicGetGlobalProductDetail(e,t){let n=this.genBaseURL("/api/marketplace/product/detail/global"),r={entity_type:e.entity_type};return this.request({url:n,method:"GET",params:r},t)}AdminActivateGlobalProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/global_product/activate"),r={product_id:e.product_id},i={entity_type:e.entity_type};return this.request({url:n,method:"POST",data:r,params:i},t)}AdminGetGlobalProductHistory(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/global_product/history"),r={entity_type:e.entity_type,page_num:e.page_num,page_size:e.page_size};return this.request({url:n,method:"GET",params:r},t)}AdminUpdateGlobalProduct(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/global_product/update"),r={entity_type:e.entity_type,product_name:e.product_name,product_desc:e.product_desc,skus:e.skus};return this.request({url:n,method:"POST",data:r},t)}PublicGetFeedList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/product/feed/list"),i={cursor:n.cursor,size:n.size,feed_type_list:n.feed_type_list};return this.request({url:r,method:"GET",params:i},t)}PublicGetTemplateWhiteListConfig(e,t){let n=this.genBaseURL("/api/marketplace/product/template/white_list/config");return this.request({url:n,method:"GET"},t)}PublicCheckUserInTemplateWhiteList(e,t){let n=this.genBaseURL("/api/marketplace/product/template/white_list/check_user");return this.request({url:n,method:"GET"},t)}PublicUploadImage(e,t){let n=this.genBaseURL("/api/marketplace/product/image/upload"),r={data:(e||{}).data};return this.request({url:n,method:"POST",data:r},t)}OpenAPIDuplicateTemplate(e,t){let n=e||{},r=this.genBaseURL(`/v1/templates/${n.template_id}/duplicate`),i={workspace_id:n.workspace_id,name:n.name};return this.request({url:r,method:"POST",data:i},t)}AdminGetPluginInfo(e,t){let n=this.genBaseURL("/api/marketplace/product/admin/plugin/info"),r={plugin_id:e.plugin_id};return this.request({url:n,method:"GET",params:r},t)}constructor(e){r(this,"request",()=>{throw Error("ProductApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},12863:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.TotalSocre=1]="TotalSocre",a[a.StaticScore=2]="StaticScore",a[a.DynamicScore=3]="DynamicScore",a[a.ConversationScore=4]="ConversationScore",a[a.LastLitingTime=5]="LastLitingTime",a[a.EvaluationScore=6]="EvaluationScore",(s=t||(t={}))[s.Check=1]="Check",s[s.Uncheck=2]="Uncheck",(l=n||(n={}))[l.Add=1]="Add",l[l.Update=2]="Update",(u=r||(r={}))[u.Add=1]="Add",u[u.Update=2]="Update",(c=i||(i={}))[c.Add=1]="Add",c[c.Update=2]="Update",(d=o||(o={}))[d.Delete=3]="Delete",d[d.Upsert=5]="Upsert"},2682:function(){"use strict";var e,t;(t=e||(e={}))[t.NeedStore=1]="NeedStore",t[t.StoreSuccess=2]="StoreSuccess",t[t.StoreFailed=3]="StoreFailed"},33342:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.Default=0]="Default",i[i.Pending=1]="Pending",i[i.Approved=2]="Approved",i[i.Rejected=3]="Rejected",i[i.Abandoned=4]="Abandoned",(o=t||(t={}))[o.ProductDraft=10]="ProductDraft",o[o.Conversation=20]="Conversation",(a=n||(n={}))[a.Invisible=10]="Invisible",a[a.Self=15]="Self",a[a.AllWithoutRecommend=20]="AllWithoutRecommend",a[a.All=25]="All",(s=r||(r={}))[s.Bot=1]="Bot",s[s.Plugin=2]="Plugin",s[s.CozeToken=50]="CozeToken",s[s.Common=99]="Common"},57182:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Followee=1]="Followee",n[n.Follower=2]="Follower",n[n.MutualFollow=3]="MutualFollow",(r=t||(t={}))[r.Unknown=0]="Unknown",r[r.Normal=1]="Normal",r[r.ProfessionalRootUser=2]="ProfessionalRootUser",r[r.ProfessionalBasicAccount=3]="ProfessionalBasicAccount"},49747:function(){"use strict";var e,t,n,r,i,o,a,s,l,u;(o=e||(e={}))[o.Unknown=0]="Unknown",o[o.Normal=1]="Normal",o[o.DirectSubmit=2]="DirectSubmit",o[o.PreviousPageTimeout=3]="PreviousPageTimeout",o[o.FailedRetry=4]="FailedRetry",o[o.ManualRetry=5]="ManualRetry",o[o.OnlyCallBack=6]="OnlyCallBack",o[o.Arbitration=7]="Arbitration",(a=t||(t={}))[a.abandon_task=1]="abandon_task",a[a.postponed_task=2]="postponed_task",a[a.close_task=3]="close_task",(s=n||(n={}))[s.label=1]="label",s[s.audit=2]="audit",s[s.double_review=3]="double_review",s[s.sample_audit=4]="sample_audit",s[s.custom=5]="custom",s[s.full_custom=6]="full_custom",(l=r||(r={}))[l.OK=0]="OK",l[l.BAD_REQUEST=400]="BAD_REQUEST",l[l.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",(u=i||(i={}))[u.label=1]="label",u[u.audit=2]="audit",u[u.double_review=3]="double_review"},17924:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu;(O=e||(e={}))[O.SingleAgent=1]="SingleAgent",O[O.MultiAgent=2]="MultiAgent",(D=t||(t={}))[D.UsePlugin=1]="UsePlugin",D[D.UseWorkFlow=2]="UseWorkFlow",D[D.UseKnowledge=3]="UseKnowledge",D[D.UseVoice=4]="UseVoice",D[D.UseCard=5]="UseCard",D[D.UseImageWorkflow=6]="UseImageWorkflow",(L=n||(n={}))[L.Markdown=1]="Markdown",(B=r||(r={}))[B.CreatedByMe=1]="CreatedByMe",(N=i||(i={}))[N.Recommend=0]="Recommend",N[N.ProductPublish=1]="ProductPublish",N[N.ProductUpdate=2]="ProductUpdate",N[N.OfficialMessage=3]="OfficialMessage",(R=o||(o={}))[R.String=1]="String",R[R.Integer=2]="Integer",R[R.Boolean=3]="Boolean",R[R.Double=4]="Double",R[R.List=5]="List",R[R.Object=6]="Object",(j=a||(a={}))[j.PluginAdmin=1]="PluginAdmin",j[j.BotUser=2]="BotUser",j[j.MarketplaceAdmin=3]="MarketplaceAdmin",j[j.ReportAdmin=4]="ReportAdmin",j[j.StoreChannel=5]="StoreChannel",(U=s||(s={}))[U.ImageUrl=1]="ImageUrl",(z=l||(l={}))[z.CLoudPlugin=0]="CLoudPlugin",z[z.LocalPlugin=1]="LocalPlugin",(F=u||(u={}))[F.Free=1]="Free",F[F.Paid=2]="Paid",(G=c||(c={}))[G.Default=0]="Default",G[G.Pending=1]="Pending",G[G.Approved=2]="Approved",G[G.Rejected=3]="Rejected",G[G.Abandoned=4]="Abandoned",(q=d||(d={}))[q.Bot=1]="Bot",q[q.Plugin=2]="Plugin",q[q.SocialScene=4]="SocialScene",q[q.Project=6]="Project",q[q.WorkflowTemplate=13]="WorkflowTemplate",q[q.ImageflowTemplate=15]="ImageflowTemplate",q[q.TemplateCommon=20]="TemplateCommon",q[q.BotTemplate=21]="BotTemplate",q[q.WorkflowTemplateV2=23]="WorkflowTemplateV2",q[q.ImageflowTemplateV2=25]="ImageflowTemplateV2",q[q.ProjectTemplate=26]="ProjectTemplate",q[q.CozeToken=50]="CozeToken",q[q.MsgCredit=55]="MsgCredit",q[q.SubsMsgCredit=60]="SubsMsgCredit",q[q.Common=99]="Common",q[q.Topic=101]="Topic",(W=p||(p={}))[W.CreatedBefore7D=1]="CreatedBefore7D",W[W.UpdatedIn7D=2]="UpdatedIn7D",W[W.CreatedIn7D=3]="CreatedIn7D",(Z=h||(h={}))[Z.Recommend=1]="Recommend",Z[Z.CustomizedRecommend=2]="CustomizedRecommend",(H=f||(f={}))[H.ByAdmin=1]="ByAdmin",H[H.ByUser=2]="ByUser",(V=g||(g={}))[V.Free=0]="Free",V[V.Paid=1]="Paid",(Q=m||(m={}))[Q.OpenSource=1]="OpenSource",Q[Q.ClosedSource=2]="ClosedSource",(Y=_||(_={}))[Y.StoreShareBotConversation=1]="StoreShareBotConversation",Y[Y.HomtShareBotConversation=2]="HomtShareBotConversation",($=v||(v={}))[$.BotConversation=1]="BotConversation",(K=b||(b={}))[K.NeverListed=0]="NeverListed",K[K.Listed=1]="Listed",K[K.Unlisted=2]="Unlisted",K[K.Banned=3]="Banned",(X=y||(y={}))[X.ByAdmin=1]="ByAdmin",X[X.ByUser=2]="ByUser",(J=w||(w={}))[J.Host=1]="Host",J[J.PresetBot=2]="PresetBot",J[J.Custom=3]="Custom",(ee=S||(S={}))[ee.Heat=1]="Heat",ee[ee.Newest=2]="Newest",ee[ee.FavoriteTime=3]="FavoriteTime",ee[ee.Relative=4]="Relative",(et=A||(A={}))[et.AutoRenew=0]="AutoRenew",et[et.OneOff=1]="OneOff",(en=T||(T={}))[en.Running=1]="Running",en[en.Succeed=2]="Succeed",en[en.Failed=3]="Failed",(er=x||(x={}))[er.Init=0]="Init",er[er.Listed=1]="Listed",er[er.Unlisted=2]="Unlisted",(ei=k||(k={}))[ei.Web=1]="Web",ei[ei.Client=2]="Client",(eo=M||(M={}))[eo.YEAR=1]="YEAR",eo[eo.MONTH=2]="MONTH",eo[eo.WEEK=3]="WEEK",eo[eo.DAY=4]="DAY",eo[eo.HOUR=5]="HOUR",eo[eo.MINUTE=6]="MINUTE",(ea=P||(P={}))[ea.UsedProduct=1]="UsedProduct",ea[ea.ViewedProduct=2]="ViewedProduct",(es=I||(I={}))[es.Listed=1]="Listed",es[es.Used=2]="Used",es[es.Viewed=3]="Viewed",es[es.Favorite=4]="Favorite",es[es.Like=5]="Like",(el=E||(E={}))[el.Pending=1]="Pending",el[el.Succeed=2]="Succeed",el[el.Failed=3]="Failed",el[el.InProgress=4]="InProgress",(eu=C||(C={}))[eu.Start=1]="Start",eu[eu.End=2]="End",eu[eu.LLM=3]="LLM",eu[eu.Api=4]="Api",eu[eu.Code=5]="Code",eu[eu.Dataset=6]="Dataset",eu[eu.If=8]="If",eu[eu.SubWorkflow=9]="SubWorkflow",eu[eu.Variable=11]="Variable",eu[eu.Database=12]="Database",eu[eu.Message=13]="Message"},29394:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.Off=0]="Off",s[s.On=1]="On",(l=t||(t={}))[l.PublicPlatform=1]="PublicPlatform",l[l.GPTModel=2]="GPTModel",(u=n||(n={}))[u.Readme=1]="Readme",u[u.Category=2]="Category",(c=r||(r={}))[c.DefaultToSync=0]="DefaultToSync",c[c.Sync=1]="Sync",c[c.Async=2]="Async",c[c.Streaming=3]="Streaming",(d=i||(i={}))[d.GenConversationTitle=1]="GenConversationTitle",(p=o||(o={}))[p.Off=0]="Off",p[p.On=1]="On",(h=a||(a={}))[h.Init=0]="Init",h[h.Open=1]="Open",h[h.Close=2]="Close"},22813:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("4798"),n("98985");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}LibraryResourceList(e,t){let n=this.genBaseURL("/api/resource/library_resource_list"),r={user_filter:e.user_filter,res_type_filter:e.res_type_filter,name:e.name,publish_status_filter:e.publish_status_filter,space_id:e.space_id,size:e.size,cursor:e.cursor,search_keys:e.search_keys,is_get_imageflow:e.is_get_imageflow,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("ResourceService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},4798:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Copy=1]="Copy",u[u.Delete=2]="Delete",u[u.EnableSwitch=3]="EnableSwitch",u[u.Edit=4]="Edit",u[u.SwitchToFuncflow=8]="SwitchToFuncflow",u[u.SwitchToChatflow=9]="SwitchToChatflow",(c=t||(t={}))[c.Successful=1]="Successful",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.KeepOrigin=4]="KeepOrigin",(d=n||(n={}))[d.Rename=1]="Rename",d[d.Copy=2]="Copy",d[d.CopyToLibrary=3]="CopyToLibrary",d[d.MoveToLibrary=4]="MoveToLibrary",d[d.Delete=5]="Delete",d[d.Enable=6]="Enable",d[d.Disable=7]="Disable",d[d.SwitchToFuncflow=8]="SwitchToFuncflow",d[d.SwitchToChatflow=9]="SwitchToChatflow",d[d.UpdateDesc=10]="UpdateDesc",(p=r||(r={}))[p.Workflow=1]="Workflow",p[p.Plugin=2]="Plugin",p[p.Data=3]="Data",(h=i||(i={}))[h.UnPublished=1]="UnPublished",h[h.Published=2]="Published",(f=o||(o={}))[f.CopyProjectResource=1]="CopyProjectResource",f[f.CopyResourceToLibrary=2]="CopyResourceToLibrary",f[f.MoveResourceToLibrary=3]="MoveResourceToLibrary",f[f.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",f[f.CopyProject=5]="CopyProject",f[f.PublishProject=6]="PublishProject",f[f.CopyProjectTemplate=7]="CopyProjectTemplate",f[f.PublishProjectTemplate=8]="PublishProjectTemplate",(g=a||(a={}))[g.Plugin=1]="Plugin",g[g.Workflow=2]="Workflow",g[g.Imageflow=3]="Imageflow",g[g.Knowledge=4]="Knowledge",g[g.UI=5]="UI",g[g.Prompt=6]="Prompt",g[g.Database=7]="Database",g[g.Variable=8]="Variable",g[g.Voice=9]="Voice",(m=s||(s={}))[m.Upsert=1]="Upsert",m[m.Delete=2]="Delete",(_=l||(l={}))[_.Successed=1]="Successed",_[_.Processing=2]="Processing",_[_.Failed=3]="Failed",_[_.Canceled=4]="Canceled"},98985:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.TaskSuccess=1]="TaskSuccess",a[a.TaskFailed=2]="TaskFailed",a[a.TaskCanceled=3]="TaskCanceled",(s=t||(t={}))[s.Copy=1]="Copy",s[s.Move=2]="Move",s[s.Publish=3]="Publish",(l=n||(n={}))[l.Project=1]="Project",l[l.Space=2]="Space",l[l.Online=3]="Online",l[l.Template=4]="Template",(u=r||(r={}))[u.Plugin=1]="Plugin",u[u.Workflow=2]="Workflow",u[u.Imageflow=3]="Imageflow",u[u.Knowledge=4]="Knowledge",u[u.UI=5]="UI",u[u.Project=6]="Project",u[u.Database=7]="Database",u[u.Variable=8]="Variable",(c=i||(i={}))[c.Success=1]="Success",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.Canceled=4]="Canceled",(d=o||(o={}))[d.CopyResourceInProject=1]="CopyResourceInProject",d[d.CopyProjectResourceToLibrary=2]="CopyProjectResourceToLibrary",d[d.MoveProjectResourceToLibrary=3]="MoveProjectResourceToLibrary",d[d.CopyLibraryResourceToProject=4]="CopyLibraryResourceToProject",d[d.CopyProject=5]="CopyProject",d[d.PublishProject=6]="PublishProject",d[d.CopyTemplateToProject=7]="CopyTemplateToProject",d[d.PublishProjectTemplate=8]="PublishProjectTemplate"},92140:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("36671"),n("25845");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}CreateSocietyMeta(e,t){let n=this.genBaseURL("/api/society/meta/create_society_meta"),r={name:e.name,description:e.description,space_id:e.space_id,icon_uri:e.icon_uri,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteSocietyMeta(e,t){let n=this.genBaseURL("/api/society/meta/delete_society_meta"),r={meta_id:e.meta_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateSocietyHost(e,t){let n=this.genBaseURL("/api/society/meta/update_society_host"),r={meta_id:e.meta_id,name:e.name,persona:e.persona,icon_uri:e.icon_uri,role_visibility_config:e.role_visibility_config,host_config:e.host_config,work_info:e.work_info,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateProcess(e,t){let n=this.genBaseURL("/api/society/process/create_process"),r={process:e.process,agent_list:e.agent_list,device_id:e.device_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetSocietyMessageList(e,t){let n=this.genBaseURL("/api/society/message/get_message_list"),r={process_id:e.process_id,agent_id:e.agent_id,before_task_id:e.before_task_id,after_task_id:e.after_task_id,count:e.count,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteSocietyMessage(e,t){let n=this.genBaseURL("/api/society/message/delete"),r={process_id:e.process_id,round:e.round,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UserAgentReply(e,t){let n=this.genBaseURL("/api/society/user_agent/reply"),r={process_id:e.process_id,content:e.content,task_id:e.task_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetSocietyMetaList(e,t){let n=this.genBaseURL("/api/society/meta/get_society_meta_list"),r={space_id:e.space_id,creator_id:e.creator_id,query:e.query,page:e.page,size:e.size,publish_filter:e.publish_filter,query_source:e.query_source,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetSocietyMetaDetail(e,t){let n=this.genBaseURL("/api/society/meta/get_society_meta_detail"),r={meta_id:e.meta_id,process_mode:e.process_mode,meta_version:e.meta_version,need_process_info:e.need_process_info,query_source:e.query_source,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateSocietyMeta(e,t){let n=this.genBaseURL("/api/society/meta/update_society_meta"),r={meta:e.meta,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetProcessDetail(e,t){let n=this.genBaseURL("/api/society/process/get_process_detail"),r={process_id:e.process_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateUserAgent(e,t){let n=this.genBaseURL("/api/society/user_agent/update"),r={process_id:e.process_id,agent_id:e.agent_id,device_id:e.device_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchDeleteSocietyRole(e,t){let n=this.genBaseURL("/api/society/meta/batch_delete_society_role"),r={meta_id:e.meta_id,role_id_list:e.role_id_list,role_visibility_config:e.role_visibility_config,host_work_info:e.host_work_info,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchCreateSocietyRole(e,t){let n=this.genBaseURL("/api/society/meta/batch_create_society_role"),r={meta_id:e.meta_id,role_list:e.role_list,role_visibility_config:e.role_visibility_config,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchUpdateSocietyRole(e,t){let n=this.genBaseURL("/api/society/meta/batch_update_society_role"),r={meta_id:e.meta_id,role_list:e.role_list,role_visibility_config:e.role_visibility_config,host_work_info:e.host_work_info,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OperateProcess(e,t){let n=this.genBaseURL("/api/society/process/Operate_process"),r={process_id:e.process_id,operate_process_type:e.operate_process_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DuplicateSocietyMeta(e,t){let n=this.genBaseURL("/api/society/meta/duplicate_society_meta"),r={meta_id:e.meta_id,meta_version:e.meta_version,target_space_id:e.target_space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublishMetaPreCreate(e,t){let n=this.genBaseURL("/api/society/meta/publish_meta_pre_create"),r={meta_id:e.meta_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublishingMeta(e,t){let n=this.genBaseURL("/api/society/meta/publishing_meta"),r={order_id:e.order_id,change_log_list:e.change_log_list,connector_list:e.connector_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPublishMetaResult(e,t){let n=this.genBaseURL("/api/society/meta/get_publish_meta_result"),r={order_id:e.order_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GenerateMetaStoreCategory(e,t){let n=this.genBaseURL("/api/society/meta/generate_meta_store_category"),r={name:e.name,description:e.description,prompt:e.prompt,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetPublishOrderEntityList(e,t){let n=this.genBaseURL("/api/society/meta/get_publish_order_entity_list"),r={order_id:e.order_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMetaRoleList(e,t){let n=this.genBaseURL("/api/society/meta/get_meta_role_list"),r={meta_id:e.meta_id,meta_version:e.meta_version,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetMetaVariables(e,t){let n=this.genBaseURL("/api/society/meta/get_meta_variables"),r={meta_id:e.meta_id,meta_version:e.meta_version,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetProcessMemory(e,t){let n=this.genBaseURL("/api/society/process/get_memory"),r={process_id:e.process_id,agent_id:e.agent_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("SocialApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},36671:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_;(N=e||(e={}))[N.Start_Agent=0]="Start_Agent",N[N.LLM_Agent=1]="LLM_Agent",N[N.Task_Agent=2]="Task_Agent",N[N.Global_Agent=3]="Global_Agent",N[N.Bot_Agent=4]="Bot_Agent",(R=t||(t={}))[R.OldVersion=0]="OldVersion",R[R.MiddleVersion=1]="MiddleVersion",R[R.NewVersion=2]="NewVersion",R[R.MiddleVersionNotPrompt=3]="MiddleVersionNotPrompt",(j=n||(n={}))[j.Default=1]="Default",j[j.Customize=2]="Customize",(U=r||(r={}))[U.Direct=1]="Direct",U[U.WebView=2]="WebView",U[U.SendMessage=3]="SendMessage",(z=i||(i={}))[z.Current=1]="Current",z[z.Previous=2]="Previous",z[z.Start=3]="Start",z[z.MostSuitable=4]="MostSuitable",(F=o||(o={}))[F.SingleMode=0]="SingleMode",F[F.MultiMode=1]="MultiMode",F[F.WorkflowMode=2]="WorkflowMode",(G=a||(a={}))[G.Default=0]="Default",G[G.Function=1]="Function",(q=s||(s={}))[q.Deleted=0]="Deleted",q[q.Using=1]="Using",q[q.Banned=2]="Banned",(W=l||(l={}))[W.LimitedReadWrite=1]="LimitedReadWrite",W[W.ReadOnly=2]="ReadOnly",W[W.UnlimitedReadWrite=3]="UnlimitedReadWrite",W[W.RWModeMax=4]="RWModeMax",(Z=u||(u={}))[Z.Chat=0]="Chat",Z[Z.FunctionCall_1=1]="FunctionCall_1",Z[Z.FunctionCall_2=2]="FunctionCall_2",Z[Z.FunctionCall_3=3]="FunctionCall_3",(H=c||(c={}))[H.Off=0]="Off",H[H.On=1]="On",(V=d||(d={}))[V.Text=1]="Text",V[V.Number=2]="Number",V[V.Date=3]="Date",V[V.Float=4]="Float",V[V.Boolean=5]="Boolean",(Q=p||(p={}))[Q.Off=0]="Off",Q[Q.On=1]="On",(Y=h||(h={}))[Y.SLM=0]="SLM",Y[Y.LLM=1]="LLM",($=f||(f={}))[$.Pre=1]="Pre",$[$.Post=2]="Post",$[$.PreAndPost=3]="PreAndPost",(K=g||(g={}))[K.Default=0]="Default",K[K.CustomizePrompt=1]="CustomizePrompt",(X=m||(m={}))[X.ReplyBottom=0]="ReplyBottom",X[X.CardList=1]="CardList",(J=_||(_={}))[J.UnlikeDefault=0]="UnlikeDefault",J[J.UnlikeHarmful=1]="UnlikeHarmful",J[J.UnlikeIncorrect=2]="UnlikeIncorrect",J[J.UnlikeNotFollowInstructions=3]="UnlikeNotFollowInstructions",J[J.UnlikeOthers=4]="UnlikeOthers",(ee=v||(v={}))[ee.Default=0]="Default",ee[ee.Like=1]="Like",ee[ee.Unlike=2]="Unlike",(et=b||(b={}))[et.FullSupport=0]="FullSupport",et[et.PoorSupport=1]="PoorSupport",et[et.NotSupport=2]="NotSupport",(en=y||(y={}))[en.Plugin=1]="Plugin",en[en.Workflow=2]="Workflow",en[en.ImageFlow=3]="ImageFlow",en[en.Trigger=4]="Trigger",en[en.KnowledgeText=5]="KnowledgeText",en[en.KnowledgeTable=6]="KnowledgeTable",en[en.KnowledgeAutoCall=7]="KnowledgeAutoCall",en[en.KnowledgeOnDemandCall=8]="KnowledgeOnDemandCall",en[en.Variable=9]="Variable",en[en.Database=10]="Database",en[en.LongTermMemory=11]="LongTermMemory",en[en.FileBox=12]="FileBox",en[en.Onboarding=13]="Onboarding",en[en.Suggestion=14]="Suggestion",en[en.ShortcutCommand=15]="ShortcutCommand",en[en.BackGroundImage=16]="BackGroundImage",en[en.TTS=17]="TTS",en[en.MultiAgentRecognize=18]="MultiAgentRecognize",en[en.KnowledgePhoto=19]="KnowledgePhoto",en[en.HookInfo=20]="HookInfo",(er=w||(w={}))[er.Text=0]="Text",er[er.Markdown=1]="Markdown",er[er.JSON=2]="JSON",(ei=S||(S={}))[ei.Custom=0]="Custom",ei[ei.Creative=1]="Creative",ei[ei.Balance=2]="Balance",ei[ei.Precise=3]="Precise",(eo=A||(A={}))[eo.Curve=0]="Curve",eo[eo.Straight=1]="Straight",(ea=T||(T={}))[ea.Flow=1]="Flow",ea[ea.Host=2]="Host",(es=x||(x={}))[es.NO_NEED=1]="NO_NEED",es[es.USE_MANUAL=2]="USE_MANUAL",es[es.USE_LLM=3]="USE_LLM",(el=k||(k={}))[el.FunctionCall=1]="FunctionCall",el[el.Independent=2]="Independent",(eu=M||(M={}))[eu.HasUpdates=1]="HasUpdates",eu[eu.IsDelete=2]="IsDelete",(ec=P||(P={}))[ec.ManualUpdate=1]="ManualUpdate",ec[ec.AutoUpdate=2]="AutoUpdate",(ed=I||(I={}))[ed.Default=0]="Default",ed[ed.Explore=1]="Explore",ed[ed.BotStore=2]="BotStore",ed[ed.CozeHome=3]="CozeHome",ed[ed.Playground=4]="Playground",ed[ed.Evaluation=5]="Evaluation",ed[ed.AgentAPP=6]="AgentAPP",ed[ed.PromptOptimize=7]="PromptOptimize",ed[ed.GenerateAgentInfo=8]="GenerateAgentInfo",(ep=E||(E={}))[ep.SemanticSearch=0]="SemanticSearch",ep[ep.HybirdSearch=1]="HybirdSearch",ep[ep.FullTextSearch=20]="FullTextSearch",(eh=C||(C={}))[eh.Public=1]="Public",eh[eh.Anonymous=2]="Anonymous",eh[eh.Custom=3]="Custom",(ef=O||(O={}))[ef.Random=0]="Random",ef[ef.All=1]="All",(eg=D||(D={}))[eg.System=0]="System",eg[eg.Custom=1]="Custom",eg[eg.Disable=2]="Disable",eg[eg.OriBot=3]="OriBot",(em=L||(L={}))[em.Off=0]="Off",em[em.On=1]="On",(e_=B||(B={}))[e_.Workflow=0]="Workflow",e_[e_.Imageflow=1]="Imageflow",e_[e_.SceneFlow=2]="SceneFlow",e_[e_.ChatFlow=3]="ChatFlow",e_[e_.All=100]="All"},25845:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B;(v=e||(e={}))[v.Deleted=0]="Deleted",v[v.Valid=1]="Valid",(b=t||(t={}))[b.Disable=0]="Disable",b[b.Halve=1]="Halve",(y=n||(n={}))[y.SocietyMeta=1]="SocietyMeta",y[y.Bot=2]="Bot",(w=r||(r={}))[w.ON_LINE=0]="ON_LINE",w[w.OFF_LINE=1]="OFF_LINE",w[w.TOUCH=2]="TOUCH",(S=i||(i={}))[S.Deleted=0]="Deleted",S[S.Valid=1]="Valid",(A=o||(o={}))[A.Pause=1]="Pause",A[A.Continue=2]="Continue",A[A.Termination=3]="Termination",A[A.Exit=4]="Exit",A[A.Retry=5]="Retry",(T=a||(a={}))[T.Coze=1]="Coze",T[T.Store=2]="Store",(x=s||(s={}))[x.Product=1]="Product",x[x.Debug=2]="Debug",(k=l||(l={}))[k.Waiting=1]="Waiting",k[k.Running=2]="Running",k[k.Suspending=3]="Suspending",k[k.Suspend=4]="Suspend",k[k.Finished=5]="Finished",k[k.Exit=6]="Exit",(M=u||(u={}))[M.OpenSource=1]="OpenSource",M[M.ClosedSource=2]="ClosedSource",(P=c||(c={}))[P.UnPublished=0]="UnPublished",P[P.Published=1]="Published",(I=d||(d={}))[I.Accepted=1]="Accepted",I[I.Publishing=2]="Publishing",I[I.Auditing=3]="Auditing",I[I.AuditNotPass=4]="AuditNotPass",I[I.AuditPass=5]="AuditPass",I[I.Success=6]="Success",I[I.Fail=7]="Fail",I[I.ExternalAuditing=8]="ExternalAuditing",(E=p||(p={}))[E.Teamspace=1]="Teamspace",E[E.SubmitStore=2]="SubmitStore",E[E.Publishing=3]="Publishing",E[E.StoreDetail=4]="StoreDetail",(C=h||(h={}))[C.Bot=1]="Bot",C[C.User=2]="User",C[C.Host=3]="Host",(O=f||(f={}))[O.Deleted=0]="Deleted",O[O.Valid=1]="Valid",(D=g||(g={}))[D.Host=1]="Host",D[D.PresetBot=2]="PresetBot",D[D.Custom=3]="Custom",(L=m||(m={}))[L.Delete=1]="Delete",(B=_||(_={}))[B.Player=1]="Player",B[B.Audience=2]="Audience",B[B.Developer=3]="Developer"},38906:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("43456"),n("77467"),n("86448"),n("53755"),n("4322"),n("68692");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}CreateChargeOrder(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/create_charge_order"),i={UserID:n.UserID,currency_code:n.currency_code,goods_id:n.goods_id,quantity:n.quantity,extra:n.extra,UserType:n.UserType},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PipoCheckoutCallback(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/checkout_callback"),i={event_type:n.event_type,data:n.data,Body:n.Body};return this.request({url:r,method:"POST",data:i},t)}GetAccountBalance(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_account_balance"),i={account_type:n.account_type,UserID:n.UserID};return this.request({url:r,method:"GET",params:i},t)}GetAccountBills(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_account_bills"),i={account_type:n.account_type,start_timestamp_ms:n.start_timestamp_ms,end_timestamp_ms:n.end_timestamp_ms,UserID:n.UserID};return this.request({url:r,method:"GET",params:i},t)}GetModelCostRules(e,t){let n=this.genBaseURL("/api/marketplace/trade/get_model_cost_rules");return this.request({url:n,method:"GET"},t)}PipoAgreementDeductionCallback(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/agreement_deduction_callback"),i={event_type:n.event_type,data:n.data,Body:n.Body};return this.request({url:r,method:"POST",data:i},t)}PipoGetUserPaymentMethods(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_user_payment_methods"),i={UserType:n.UserType,UserID:n.UserID,Amount:n.Amount,Currency:n.Currency,scene:n.scene},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}PipoGetPaymentMethodManagementURL(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_payment_method_management_url"),i={UserType:n.UserType,UserID:n.UserID,scene:n.scene},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}GetTradeConf(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_trade_conf"),i={scenes:n.scenes},o={"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"GET",params:i,headers:o},t)}GetTradeOrder(e,t){let n=this.genBaseURL("/api/marketplace/trade/get_trade_order"),r={order_id:e.order_id,real_time_pay_status:e.real_time_pay_status};return this.request({url:n,method:"GET",params:r},t)}PublicGetSubscriptionDetail(e,t){let n=this.genBaseURL("/api/marketplace/trade/subscription"),r={subscribe_type:(e||{}).subscribe_type};return this.request({url:n,method:"GET",params:r},t)}PublicCreateSubscription(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/create_subscription"),i={goods_id:n.goods_id,pre_subscription_id:n.pre_subscription_id,channel:n.channel,source_type:n.source_type,source_id:n.source_id},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicReSubscription(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/resume_subscription"),i={subscribe_id:n.subscribe_id},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicGetSubscriptionProductDetail(e,t){let n=this.genBaseURL("/api/marketplace/trade/subscription_product"),r={product_type:(e||{}).product_type};return this.request({url:n,method:"GET",params:r},t)}PublicCancelSubscription(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/cancel_subscription"),i={subscribe_id:n.subscribe_id},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}SubscriptionNotify(e,t){let n=this.genBaseURL("/api/marketplace/trade/subscription_notify"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}PublicCreateChargeOrder(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/create_charge_order_v2"),i={currency_code:n.currency_code,goods_id:n.goods_id,quantity:n.quantity,extra:n.extra,charge_scene:n.charge_scene},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicGetCreditBill(e,t){let n=this.genBaseURL("/api/marketplace/trade/credit_bill"),r={start_timestamp:e.start_timestamp,end_timestamp:e.end_timestamp,change_types:e.change_types};return this.request({url:n,method:"GET",params:r},t)}PublicGetPricingRules(e,t){let n=this.genBaseURL("/api/marketplace/trade/get_pricing_rules"),r={scene:e.scene};return this.request({url:n,method:"GET",params:r},t)}RefundOrderCallback(e,t){let n=this.genBaseURL("/api/marketplace/trade/refund_order_callback"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}PipoInvoiceCallback(e,t){let n=this.genBaseURL("/api/marketplace/trade/invoice_callback"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}PipoInstantPayCallback(e,t){let n=this.genBaseURL("/api/marketplace/trade/instant_pay_callback"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}AdminGetSubscriptionProductDetail(e,t){let n=this.genBaseURL("/api/marketplace/trade/admin/subscription_product"),r={product_type:e.product_type,product_id:e.product_id};return this.request({url:n,method:"GET",params:r},t)}ChargebackCallback(e,t){let n=this.genBaseURL("/api/marketplace/trade/chargeback_callback"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}GetSubscriptionRecord(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/get_subs_rec"),i={subscribe_id:n.subscribe_id,real_time_subs_status:n.real_time_subs_status};return this.request({url:r,method:"GET",params:i},t)}PipoGWAgreementDeductionCallbackResponse(e,t){let n=this.genBaseURL("/api/marketplace/trade/gw_agreement_deduction_callback"),r={Body:(e||{}).Body};return this.request({url:n,method:"POST",data:r},t)}PublicPlaceOrder(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/place_order"),i={goods_id:n.goods_id,quantity:n.quantity,scene:n.scene,return_url:n.return_url,product_id:n.product_id},o={Cookie:n.Cookie,"Tt-Agw-Client-Ip":n["Tt-Agw-Client-Ip"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}PublicGetTemplatePurchaseOrderList(e,t){let n=e||{},r=this.genBaseURL("/api/marketplace/trade/template_order/list"),i={index:n.index,count:n.count};return this.request({url:r,method:"GET",params:i},t)}constructor(e){r(this,"request",()=>{throw Error("TradeService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},43456:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V;(T=e||(e={}))[T.Closed=0]="Closed",T[T.InEffect=1]="InEffect",(x=t||(t={}))[x.Unknown=0]="Unknown",x[x.ChargeAmount=1]="ChargeAmount",(k=n||(n={}))[k.SubsMessageCredit=1]="SubsMessageCredit",(M=r||(r={}))[M.ByQuota=1]="ByQuota",M[M.Unlimited=2]="Unlimited",M[M.UnAvailable=10]="UnAvailable",(P=i||(i={}))[P.Unknown=0]="Unknown",P[P.Agent=1]="Agent",P[P.Model=10]="Model",P[P.Plugin=20]="Plugin",P[P.Imageflow=21]="Imageflow",P[P.Voice=30]="Voice",P[P.RealTime=40]="RealTime",P[P.Knowledge=50]="Knowledge",(I=o||(o={}))[I.Unknown=0]="Unknown",I[I.Chargeback=1]="Chargeback",I[I.ChargebackReverse=2]="ChargebackReverse",(E=a||(a={}))[E.Unknown=0]="Unknown",E[E.Chargeback=1]="Chargeback",E[E.ChargebackReverse=2]="ChargebackReverse",(C=s||(s={}))[C.Unknown=0]="Unknown",C[C.Token=1]="Token",C[C.Credit=2]="Credit",(O=l||(l={}))[O.TopUp=1]="TopUp",O[O.Bonus=2]="Bonus",O[O.BotConsume=3]="BotConsume",O[O.WorkflowConsume=4]="WorkflowConsume",O[O.EvaluateConsume=5]="EvaluateConsume",O[O.ProjectConsume=6]="ProjectConsume",O[O.Expired=20]="Expired",(D=u||(u={}))[D.Premium=1]="Premium",D[D.TopUp=2]="TopUp",D[D.Bonus=3]="Bonus",D[D.FreePoint=100]="FreePoint",D[D.TopUpPonit=101]="TopUpPonit",(L=c||(c={}))[L.Unknown=0]="Unknown",L[L.Multiplication=1]="Multiplication",L[L.Subtraction=2]="Subtraction",(B=d||(d={}))[B.Unknown=0]="Unknown",B[B.RefundProcessing=1]="RefundProcessing",B[B.RefundSuccess=2]="RefundSuccess",B[B.RefundFailed=3]="RefundFailed",B[B.Chargeback=11]="Chargeback",B[B.ChargebackReverse=12]="ChargebackReverse",(N=p||(p={}))[N.Init=0]="Init",N[N.Success=1]="Success",N[N.Failed=2]="Failed",N[N.Closed=3]="Closed",(R=h||(h={}))[R.Unknown=0]="Unknown",R[R.TokenCharge=1]="TokenCharge",R[R.TokenAutoCharge=2]="TokenAutoCharge",R[R.SubMessageCredit=11]="SubMessageCredit",R[R.MessageCredit=12]="MessageCredit",R[R.PurchaseTemplate=21]="PurchaseTemplate",(j=f||(f={}))[j.Init=0]="Init",j[j.Success=1]="Success",j[j.Closed=2]="Closed",(U=g||(g={}))[U.ByBizPlatform=0]="ByBizPlatform",U[U.ByUser=1]="ByUser",(z=m||(m={}))[z.Processing=0]="Processing",z[z.Success=1]="Success",z[z.Failed=2]="Failed",(F=_||(_={}))[F.Processing=0]="Processing",F[F.Success=1]="Success",F[F.Failed=2]="Failed",(G=v||(v={}))[G.Unknown=0]="Unknown",G[G.TokenCharge=1]="TokenCharge",G[G.TokenAutoCharge=2]="TokenAutoCharge",G[G.SubMessageCredit=11]="SubMessageCredit",G[G.MessageCredit=12]="MessageCredit",G[G.PurchaseTemplate=21]="PurchaseTemplate",(q=b||(b={}))[q.Init=0]="Init",q[q.Pending=1]="Pending",q[q.SUBSCRIBED=2]="SUBSCRIBED",q[q.CANCELED=3]="CANCELED",q[q.REVOKE=4]="REVOKE",q[q.Closed=5]="Closed",q[q.Expired=6]="Expired",q[q.InDebt=7]="InDebt",(W=y||(y={}))[W.MessageCredit=0]="MessageCredit",(Z=w||(w={}))[Z.Free=0]="Free",Z[Z.PremiumLite=10]="PremiumLite",Z[Z.Premium=15]="Premium",Z[Z.PremiumPlus=20]="PremiumPlus",(H=S||(S={}))[H.AutoRenew=0]="AutoRenew",H[H.OneOff=1]="OneOff",(V=A||(A={}))[V.Unknown=0]="Unknown",V[V.Bot=1]="Bot"},77467:function(){"use strict";var e,t;(t=e||(e={}))[t.CozeTokenCharge=1]="CozeTokenCharge"},86448:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.Followee=1]="Followee",n[n.Follower=2]="Follower",n[n.MutualFollow=3]="MutualFollow",(r=t||(t={}))[r.Unknown=0]="Unknown",r[r.Normal=1]="Normal",r[r.ProfessionalRootUser=2]="ProfessionalRootUser",r[r.ProfessionalBasicAccount=3]="ProfessionalBasicAccount"},53755:function(){"use strict";var e,t;(t=e||(e={}))[t.Unknown=0]="Unknown",t[t.Close=1]="Close"},4322:function(){"use strict";var e,t;(t=e||(e={}))[t.YEAR=1]="YEAR",t[t.MONTH=2]="MONTH",t[t.WEEK=3]="WEEK",t[t.DAY=4]="DAY",t[t.HOUR=5]="HOUR",t[t.MINUTE=6]="MINUTE"},68692:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es;(C=e||(e={}))[C.SingleAgent=1]="SingleAgent",C[C.MultiAgent=2]="MultiAgent",(O=t||(t={}))[O.UsePlugin=1]="UsePlugin",O[O.UseWorkFlow=2]="UseWorkFlow",O[O.UseKnowledge=3]="UseKnowledge",O[O.UseVoice=4]="UseVoice",O[O.UseCard=5]="UseCard",O[O.UseImageWorkflow=6]="UseImageWorkflow",(D=n||(n={}))[D.Markdown=1]="Markdown",(L=r||(r={}))[L.CreatedByMe=1]="CreatedByMe",(B=i||(i={}))[B.Recommend=0]="Recommend",B[B.ProductPublish=1]="ProductPublish",B[B.ProductUpdate=2]="ProductUpdate",B[B.OfficialMessage=3]="OfficialMessage",(N=o||(o={}))[N.String=1]="String",N[N.Integer=2]="Integer",N[N.Boolean=3]="Boolean",N[N.Double=4]="Double",N[N.List=5]="List",N[N.Object=6]="Object",(R=a||(a={}))[R.PluginAdmin=1]="PluginAdmin",R[R.BotUser=2]="BotUser",R[R.MarketplaceAdmin=3]="MarketplaceAdmin",R[R.ReportAdmin=4]="ReportAdmin",(j=s||(s={}))[j.ImageUrl=1]="ImageUrl",(U=l||(l={}))[U.Free=1]="Free",U[U.Paid=2]="Paid",(z=u||(u={}))[z.Default=0]="Default",z[z.Pending=1]="Pending",z[z.Approved=2]="Approved",z[z.Rejected=3]="Rejected",z[z.Abandoned=4]="Abandoned",(F=c||(c={}))[F.Bot=1]="Bot",F[F.Plugin=2]="Plugin",F[F.SocialScene=4]="SocialScene",F[F.Project=6]="Project",F[F.WorkflowTemplate=13]="WorkflowTemplate",F[F.ImageflowTemplate=15]="ImageflowTemplate",F[F.TemplateCommon=20]="TemplateCommon",F[F.BotTemplate=21]="BotTemplate",F[F.WorkflowTemplateV2=23]="WorkflowTemplateV2",F[F.ImageflowTemplateV2=25]="ImageflowTemplateV2",F[F.ProjectTemplate=26]="ProjectTemplate",F[F.CozeToken=50]="CozeToken",F[F.MsgCredit=55]="MsgCredit",F[F.SubsMsgCredit=60]="SubsMsgCredit",F[F.Common=99]="Common",F[F.Topic=101]="Topic",(G=d||(d={}))[G.CreatedBefore7D=1]="CreatedBefore7D",G[G.UpdatedIn7D=2]="UpdatedIn7D",G[G.CreatedIn7D=3]="CreatedIn7D",(q=p||(p={}))[q.Recommend=1]="Recommend",q[q.CustomizedRecommend=2]="CustomizedRecommend",(W=h||(h={}))[W.ByAdmin=1]="ByAdmin",W[W.ByUser=2]="ByUser",(Z=f||(f={}))[Z.Free=0]="Free",Z[Z.Paid=1]="Paid",(H=g||(g={}))[H.OpenSource=1]="OpenSource",H[H.ClosedSource=2]="ClosedSource",(V=m||(m={}))[V.StoreShareBotConversation=1]="StoreShareBotConversation",V[V.HomtShareBotConversation=2]="HomtShareBotConversation",(Q=_||(_={}))[Q.BotConversation=1]="BotConversation",(Y=v||(v={}))[Y.NeverListed=0]="NeverListed",Y[Y.Listed=1]="Listed",Y[Y.Unlisted=2]="Unlisted",Y[Y.Banned=3]="Banned",($=b||(b={}))[$.ByAdmin=1]="ByAdmin",$[$.ByUser=2]="ByUser",(K=y||(y={}))[K.Host=1]="Host",K[K.PresetBot=2]="PresetBot",K[K.Custom=3]="Custom",(X=w||(w={}))[X.Heat=1]="Heat",X[X.Newest=2]="Newest",X[X.FavoriteTime=3]="FavoriteTime",X[X.Relative=4]="Relative",(J=S||(S={}))[J.AutoRenew=0]="AutoRenew",J[J.OneOff=1]="OneOff",(ee=A||(A={}))[ee.Running=1]="Running",ee[ee.Succeed=2]="Succeed",ee[ee.Failed=3]="Failed",(et=T||(T={}))[et.Init=0]="Init",et[et.Listed=1]="Listed",et[et.Unlisted=2]="Unlisted",(en=x||(x={}))[en.Web=1]="Web",en[en.Client=2]="Client",(er=k||(k={}))[er.YEAR=1]="YEAR",er[er.MONTH=2]="MONTH",er[er.WEEK=3]="WEEK",er[er.DAY=4]="DAY",er[er.HOUR=5]="HOUR",er[er.MINUTE=6]="MINUTE",(ei=M||(M={}))[ei.UsedProduct=1]="UsedProduct",ei[ei.ViewedProduct=2]="ViewedProduct",(eo=P||(P={}))[eo.Listed=1]="Listed",eo[eo.Used=2]="Used",eo[eo.Viewed=3]="Viewed",eo[eo.Favorite=4]="Favorite",eo[eo.Like=5]="Like",(ea=I||(I={}))[ea.Pending=1]="Pending",ea[ea.Succeed=2]="Succeed",ea[ea.Failed=3]="Failed",ea[ea.InProgress=4]="InProgress",(es=E||(E={}))[es.Start=1]="Start",es[es.End=2]="End",es[es.LLM=3]="LLM",es[es.Api=4]="Api",es[es.Code=5]="Code",es[es.Dataset=6]="Dataset",es[es.If=8]="If",es[es.SubWorkflow=9]="SubWorkflow",es[es.Variable=11]="Variable",es[es.Database=12]="Database",es[es.Message=13]="Message"},15822:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("47828"),n("32241"),n("33233"),n("58573"),n("72257");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}StarryUpdateSandbox(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/starry/sandbox/update"),i={sandbox_id:n.sandbox_id,crdt_history:n.crdt_history,action:n.action,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}UploadFile(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/upload_file"),i={file_type:n.file_type,FileName:n.FileName,data:n.data,scene:n.scene,base:n.base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"],"Content-Type":n["Content-Type"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}StarryGetSandbox(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/starry/sandbox/get"),i={sandbox_id:n.sandbox_id,with_app:n.with_app,is_preview:n.is_preview,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}CreateUI(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/create"),i={space_id:n.space_id,project_id:n.project_id,ui_id:n.ui_id,ui_name:n.ui_name,channel:n.channel,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetUI(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/get"),i={space_id:n.space_id,project_id:n.project_id,ui_id:n.ui_id,starry_app_id:n.starry_app_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}GetUIDSLForWeb(e,t){let n=this.genBaseURL("/api/ui_builder/v1/publish/dsl/get"),r={project_id:e.project_id,version_code:e.version_code,channel:e.channel,with_ext_pages:e.with_ext_pages,IsAudit:e.IsAudit,connector_id:e.connector_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetUIDSLInternal(e,t){let n=this.genBaseURL("/api/ui_builder/v1/internal/publish/dsl/get"),r={project_id:e.project_id,version_code:e.version_code,channel:e.channel,with_ext_pages:e.with_ext_pages,IsAudit:e.IsAudit,connector_id:e.connector_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteCustomComponent(e,t){let n=this.genBaseURL("/api/ui_builder/v1/component/delete"),r={project_id:e.project_id,component_name:e.component_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ImportCustomComponent(e,t){let n=this.genBaseURL("/api/ui_builder/v1/component/import"),r={project_id:e.project_id,component_name:e.component_name,version_name:e.version_name,space_id:e.space_id,channel_id:e.channel_id,component_id:e.component_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CompareCustomComponent(e,t){let n=this.genBaseURL("/api/ui_builder/v1/component/compare"),r={space_id:e.space_id,project_id:e.project_id,component_name:e.component_name,old_version_name:e.old_version_name,new_version_name:e.new_version_name,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetCustomComponentList(e,t){let n=this.genBaseURL("/api/ui_builder/v1/component/list"),r={created_by:e.created_by,search:e.search,channel_id:e.channel_id,project_id:e.project_id,space_id:e.space_id,page:e.page,size:e.size,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}GetImportedComponentList(e,t){let n=this.genBaseURL("/api/ui_builder/v1/component/imported/list"),r={channel_id:e.channel_id,project_id:e.project_id,space_id:e.space_id,page:e.page,size:e.size,Base:e.Base},i={"X-Space-Id":e["X-Space-Id"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}StarryGetSandboxRefresh(e,t){let n=e||{},r=this.genBaseURL("/api/ui_builder/v1/starry/sandbox/refresh"),i={sandbox_id:n.sandbox_id,Base:n.Base},o={"X-Space-Id":n["X-Space-Id"],"X-Project-Id":n["X-Project-Id"]};return this.request({url:r,method:"POST",data:i,headers:o},t)}RefreshUIDSLInternal(e,t){let n=this.genBaseURL("/api/ui_builder/v1/internal/dsl/refresh"),r={dsl_content:e.dsl_content,expire_time:e.expire_time,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateSnapshotForWeb(e,t){let n=this.genBaseURL("/api/ui_builder/v1/publish/snapshot"),r={project_id:e.project_id,version_code:e.version_code,channel:e.channel,ext_json:e.ext_json,screenshot_option:e.screenshot_option,device:e.device,connector_id:e.connector_id,wait_element:e.wait_element,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateSnapshot(e,t){let n=this.genBaseURL("/api/ui_builder/v1/snapshot"),r={project_id:e.project_id,version_code:e.version_code,channel:e.channel,ext_json:e.ext_json,screenshot_option:e.screenshot_option,device:e.device,connector_id:e.connector_id,wait_element:e.wait_element,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateSnapshotForOpenAPI(e,t){let n=e||{},r=this.genBaseURL(`/v1/apps/${n.app_id}/ui_builder_snapshots`),i={channel:n.channel,ext_json:n.ext_json,screenshot_option:n.screenshot_option,device:n.device,connector_id:n.connector_id,wait_element:n.wait_element,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetPublishSnapshot(e,t){let n=this.genBaseURL("/api/ui_builder/v1/snapshot/get"),r={project_id:e.project_id,version_code:e.version_code,channel:e.channel,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}constructor(e){r(this,"request",()=>{throw Error("UiBuilderService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},47828:function(){"use strict";var e,t;(t=e||(e={}))[t.ScreenshotModePosition=0]="ScreenshotModePosition",t[t.ScreenshotModeElement=1]="ScreenshotModeElement"},32241:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.String=1]="String",n[n.Boolean=2]="Boolean",n[n.StringList=11]="StringList",n[n.BooleanList=12]="BooleanList",(r=t||(t={}))[r.Account=1]="Account",r[r.Workspace=2]="Workspace",r[r.App=3]="App",r[r.Bot=4]="Bot",r[r.Plugin=5]="Plugin",r[r.Workflow=6]="Workflow",r[r.Knowledge=7]="Knowledge",r[r.PersonalAccessToken=8]="PersonalAccessToken",r[r.Connector=9]="Connector",r[r.Card=10]="Card",r[r.CardTemplate=11]="CardTemplate",r[r.Conversation=12]="Conversation",r[r.File=13]="File",r[r.ServicePrincipal=14]="ServicePrincipal",r[r.Enterprise=15]="Enterprise",r[r.MigrateTask=16]="MigrateTask",r[r.Prompt=17]="Prompt",r[r.UI=18]="UI",r[r.Project=19]="Project",r[r.Database=23]="Database"},33233:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Copy=1]="Copy",u[u.Delete=2]="Delete",u[u.EnableSwitch=3]="EnableSwitch",u[u.Edit=4]="Edit",(c=t||(t={}))[c.Successful=1]="Successful",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",(d=n||(n={}))[d.Rename=1]="Rename",d[d.Copy=2]="Copy",d[d.CopyToLibrary=3]="CopyToLibrary",d[d.MoveToLibrary=4]="MoveToLibrary",d[d.Delete=5]="Delete",d[d.Enable=6]="Enable",d[d.Disable=7]="Disable",d[d.SwitchToFuncflow=8]="SwitchToFuncflow",d[d.SwitchToChatflow=9]="SwitchToChatflow",(p=r||(r={}))[p.Workflow=1]="Workflow",p[p.Plugin=2]="Plugin",p[p.Data=3]="Data",(h=i||(i={}))[h.UnPublished=1]="UnPublished",h[h.Published=2]="Published",(f=o||(o={}))[f.CopyProjectResource=1]="CopyProjectResource",f[f.CopyResourceToLibrary=2]="CopyResourceToLibrary",f[f.MoveResourceToLibrary=3]="MoveResourceToLibrary",f[f.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",f[f.CopyProject=5]="CopyProject",f[f.PublishProject=6]="PublishProject",f[f.CopyProjectTemplate=7]="CopyProjectTemplate",f[f.PublishProjectTemplate=8]="PublishProjectTemplate",f[f.LaunchProjectTemplate=9]="LaunchProjectTemplate",f[f.ArchiveProject=10]="ArchiveProject",f[f.RollbackProject=11]="RollbackProject",f[f.CrossSpaceCopy=12]="CrossSpaceCopy",f[f.CrossSpaceCopyProject=13]="CrossSpaceCopyProject",(g=a||(a={}))[g.Plugin=1]="Plugin",g[g.Workflow=2]="Workflow",g[g.Imageflow=3]="Imageflow",g[g.Knowledge=4]="Knowledge",g[g.UI=5]="UI",g[g.Database=7]="Database",g[g.Variable=8]="Variable",(m=s||(s={}))[m.Upsert=1]="Upsert",m[m.Delete=2]="Delete",(_=l||(l={}))[_.Successed=1]="Successed",_[_.Processing=2]="Processing",_[_.Failed=3]="Failed"},58573:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.TaskSuccess=1]="TaskSuccess",a[a.TaskFailed=2]="TaskFailed",a[a.TaskCanceled=3]="TaskCanceled",(s=t||(t={}))[s.Copy=1]="Copy",s[s.Move=2]="Move",s[s.Publish=3]="Publish",(l=n||(n={}))[l.Project=1]="Project",l[l.Space=2]="Space",l[l.Online=3]="Online",l[l.Template=4]="Template",(u=r||(r={}))[u.Plugin=1]="Plugin",u[u.Workflow=2]="Workflow",u[u.Imageflow=3]="Imageflow",u[u.Knowledge=4]="Knowledge",u[u.UI=5]="UI",u[u.Project=6]="Project",u[u.Database=7]="Database",u[u.Variable=8]="Variable",(c=i||(i={}))[c.Success=1]="Success",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.Canceled=4]="Canceled",(d=o||(o={}))[d.CopyResourceInProject=1]="CopyResourceInProject",d[d.CopyProjectResourceToLibrary=2]="CopyProjectResourceToLibrary",d[d.MoveProjectResourceToLibrary=3]="MoveProjectResourceToLibrary",d[d.CopyLibraryResourceToProject=4]="CopyLibraryResourceToProject",d[d.CopyProject=5]="CopyProject",d[d.PublishProject=6]="PublishProject",d[d.CopyTemplateToProject=7]="CopyTemplateToProject",d[d.PublishProjectTemplate=8]="PublishProjectTemplate",d[d.LaunchTemplate=9]="LaunchTemplate",d[d.ArchiveProject=10]="ArchiveProject",d[d.RollbackProject=11]="RollbackProject",d[d.CrossSpaceCopy=12]="CrossSpaceCopy",d[d.CrossSpaceCopyProject=13]="CrossSpaceCopyProject"},72257:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d;(a=e||(e={}))[a.Web=1]="Web",a[a.Client=2]="Client",(s=t||(t={}))[s.All=1]="All",s[s.CurrentUser=2]="CurrentUser",(l=n||(n={}))[l.Web=1]="Web",l[l.H5=2]="H5",(u=r||(r={}))[u.Picture=1]="Picture",u[u.Audio=2]="Audio",u[u.Video=3]="Video",u[u.Thumbnail=4]="Thumbnail",u[u.File=5]="File",(c=i||(i={}))[c.Normal=1]="Normal",c[c.Banned=2]="Banned",c[c.Canceled=3]="Canceled",(d=o||(o={}))[d.External=0]="External",d[d.Internal=1]="Internal"},30346:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Co:function(){return i}}),n("83015"),n("71619"),n("59356"),n("3822"),n("98131"),n("57931"),n("24704"),n("90298"),n("75980"),n("2378");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}CreateWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/create"),r={name:e.name,desc:e.desc,icon_uri:e.icon_uri,space_id:e.space_id,flow_mode:e.flow_mode,schema_type:e.schema_type,bind_biz_id:e.bind_biz_id,bind_biz_type:e.bind_biz_type,project_id:e.project_id,create_conversation:e.create_conversation,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SaveWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/save"),r={workflow_id:e.workflow_id,schema:e.schema,space_id:e.space_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,submit_commit_id:e.submit_commit_id,ignore_status_transfer:e.ignore_status_transfer,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CheckLatestSubmitVersion(e,t){let n=this.genBaseURL("/api/workflow_api/latest"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SubmitWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/submit"),r={workflow_id:e.workflow_id,space_id:e.space_id,desc:e.desc,force:e.force,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetConflictFromContent(e,t){let n=this.genBaseURL("/api/workflow_api/conflict_from"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OperateList(e,t){let n=this.genBaseURL("/api/workflow_api/operate_list"),r={space_id:e.space_id,workflow_id:e.workflow_id,limit:e.limit,last_commit_id:e.last_commit_id,type:e.type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ShowDifferences(e,t){let n=this.genBaseURL("/api/workflow_api/differences"),r={space_id:e.space_id,workflow_id:e.workflow_id,type:e.type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}RevertDraft(e,t){let n=this.genBaseURL("/api/workflow_api/revert"),r={space_id:e.space_id,workflow_id:e.workflow_id,commit_id:e.commit_id,type:e.type,env:e.env,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/delete"),r={workflow_id:e.workflow_id,space_id:e.space_id,action:e.action,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowReferences(e,t){let n=this.genBaseURL("/api/workflow_api/workflow_references"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetReleasedWorkflows(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/released_workflows"),i={page:n.page,size:n.size,type:n.type,name:n.name,workflow_ids:n.workflow_ids,tags:n.tags,space_id:n.space_id,order_by:n.order_by,login_user_create:n.login_user_create,flow_mode:n.flow_mode,workflow_filter_list:n.workflow_filter_list,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetCanvasInfo(e,t){let n=this.genBaseURL("/api/workflow_api/canvas"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}MergeWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/merge"),r={workflow_id:e.workflow_id,schema:e.schema,space_id:e.space_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,submit_commit_id:e.submit_commit_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetHistorySchema(e,t){let n=this.genBaseURL("/api/workflow_api/history_schema"),r={space_id:e.space_id,workflow_id:e.workflow_id,commit_id:e.commit_id,type:e.type,env:e.env,workflow_version:e.workflow_version,project_version:e.project_version,project_id:e.project_id,execute_id:e.execute_id,sub_execute_id:e.sub_execute_id,log_id:e.log_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWorkFlowList(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/workflow_list"),i={page:n.page,size:n.size,workflow_ids:n.workflow_ids,type:n.type,name:n.name,tags:n.tags,space_id:n.space_id,status:n.status,order_by:n.order_by,login_user_create:n.login_user_create,flow_mode:n.flow_mode,schema_type_list:n.schema_type_list,project_id:n.project_id,checker:n.checker,bind_biz_id:n.bind_biz_id,bind_biz_type:n.bind_biz_type,project_version:n.project_version,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}QueryWorkflowNodeTypes(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/node_type"),i={space_id:n.space_id,workflow_id:n.workflow_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListCollaborators(e,t){let n=this.genBaseURL("/api/workflow_api/list_collaborators"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}WorkFlowTestRun(e,t){let n=this.genBaseURL("/api/workflow_api/test_run"),r={workflow_id:e.workflow_id,input:e.input,space_id:e.space_id,bot_id:e.bot_id,submit_commit_id:e.submit_commit_id,commit_id:e.commit_id,project_id:e.project_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}PublishWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/publish"),r={workflow_id:e.workflow_id,space_id:e.space_id,has_collaborator:e.has_collaborator,env:e.env,commit_id:e.commit_id,force:e.force,workflow_version:e.workflow_version,version_description:e.version_description,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWorkFlowProcess(e,t){let n=this.genBaseURL("/api/workflow_api/get_process"),r={workflow_id:e.workflow_id,space_id:e.space_id,execute_id:e.execute_id,sub_execute_id:e.sub_execute_id,need_async:e.need_async,log_id:e.log_id,node_id:e.node_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}CopyWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/copy"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DataCompensation(e,t){let n=this.genBaseURL("/api/workflow_api/data_compensation"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetUploadAuthToken(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/upload/auth_token"),i={scene:n.scene,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}SignImageURL(e,t){let n=this.genBaseURL("/api/workflow_api/sign_image_url"),r={uri:e.uri,Scene:e.Scene,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowGrayFeature(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/gray_feature"),i={space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}PublishWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_publish"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}WorkFlowTemplateTag(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/template_tag"),i={flow_mode:n.flow_mode,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ValidateSchema(e,t){let n=this.genBaseURL("/api/workflow_api/old_validate"),r={schema:e.schema,bind_project_id:e.bind_project_id,bind_bot_id:e.bind_bot_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_create"),r={name:e.name,desc:e.desc,icon_uri:e.icon_uri,space_id:e.space_id,flow_mode:e.flow_mode,bind_biz_id:e.bind_biz_id,bind_biz_type:e.bind_biz_type,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SaveWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_save"),r={workflow_id:e.workflow_id,schema:e.schema,space_id:e.space_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,ignore_status_transfer:e.ignore_status_transfer,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}QueryWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_query"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}WorkflowListV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/old_list"),i={page:n.page,size:n.size,workflow_ids:n.workflow_ids,type:n.type,name:n.name,tags:n.tags,space_id:n.space_id,status:n.status,order_by:n.order_by,login_user_create:n.login_user_create,flow_mode:n.flow_mode,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}WorkflowTestRunV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/old_testRun"),i={workflow_id:n.workflow_id,input:n.input,space_id:n.space_id,bot_id:n.bot_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CancelWorkFlow(e,t){let n=this.genBaseURL("/api/workflow_api/cancel"),r={execute_id:e.execute_id,space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_delete"),r={workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}NodeTemplateList(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/node_template_list"),i={need_types:n.need_types,node_types:n.node_types,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetImageflowBasicNodeList(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/imageflow_basic_nodes"),i={tab_type:n.tab_type,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OpenAPIRunFlow(e,t){let n=e||{},r=this.genBaseURL("/v1/workflow/run"),i={workflow_id:n.workflow_id,ext:n.ext,bot_id:n.bot_id,is_async:n.is_async,execute_mode:n.execute_mode,version:n.version,connector_id:n.connector_id,app_id:n.app_id,project_id:n.project_id};return this.request({url:r,method:"POST",data:i},t)}GetWorkflowMessageNodes(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/message_nodes"),i={space_id:n.space_id,plugin_id:n.plugin_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}WorkflowNodeDebugV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/nodeDebug"),i={workflow_id:n.workflow_id,node_id:n.node_id,input:n.input,batch:n.batch,space_id:n.space_id,bot_id:n.bot_id,project_id:n.project_id,setting:n.setting,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetApiDetail(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/apiDetail"),i={pluginID:n.pluginID,apiName:n.apiName,space_id:n.space_id,api_id:n.api_id,project_id:n.project_id,plugin_version:n.plugin_version,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}GetBotsIDEToken(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/bots_ide_token"),i={space_id:n.space_id,can_write:n.can_write,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}CopyWorkflowV2(e,t){let n=this.genBaseURL("/api/workflow_api/old_copy"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetDeleteStrategy(e,t){let n=this.genBaseURL("/api/workflow_api/delete_strategy"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetListableWorkflows(e,t){let n=this.genBaseURL("/api/workflow_api/listable_workflows"),r={space_id_list:e.space_id_list,page:e.page,size:e.size,flow_mode:e.flow_mode,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CopyWkTemplateApi(e,t){let n=this.genBaseURL("/api/workflow_api/copy_wk_template"),r={workflow_ids:e.workflow_ids,target_space_id:e.target_space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteEnv(e,t){let n=this.genBaseURL("/api/workflow_api/delete_env"),r={workflow_id:e.workflow_id,space_id:e.space_id,env:e.env,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateWorkflowMeta(e,t){let n=this.genBaseURL("/api/workflow_api/update_meta"),r={workflow_id:e.workflow_id,space_id:e.space_id,name:e.name,desc:e.desc,icon_uri:e.icon_uri,flow_mode:e.flow_mode,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetEnvList(e,t){let n=this.genBaseURL("/api/workflow_api/env_list"),r={workflow_id:e.workflow_id,space_id:e.space_id,limit:e.limit,cursor:e.cursor,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}VersionHistoryList(e,t){let n=this.genBaseURL("/api/workflow_api/version_list"),r={space_id:e.space_id,workflow_id:e.workflow_id,type:e.type,limit:e.limit,commit_ids:e.commit_ids,cursor:e.cursor,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}WorkFlowTestResume(e,t){let n=this.genBaseURL("/api/workflow_api/test_resume"),r={workflow_id:e.workflow_id,execute_id:e.execute_id,event_id:e.event_id,data:e.data,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OpenCollaborator(e,t){let n=this.genBaseURL("/api/workflow_api/open_collaborator"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CloseCollaborator(e,t){let n=this.genBaseURL("/api/workflow_api/close_collaborator"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}BatchGetWkProcessIO(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/batch_get_wkprocess_io"),i={workflow_params:n.workflow_params,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetStoreTestRunHistory(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/store_testrun_history"),i={source_workflow_id:n.source_workflow_id,execute_id:n.execute_id,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}OpenAPIStreamRunFlow(e,t){let n=e||{},r=this.genBaseURL("/v1/workflow/stream_run"),i={workflow_id:n.workflow_id,ext:n.ext,bot_id:n.bot_id,is_async:n.is_async,execute_mode:n.execute_mode,version:n.version,connector_id:n.connector_id,app_id:n.app_id,project_id:n.project_id};return this.request({url:r,method:"POST",data:i},t)}OpenAPIGetWorkflowRunHistory(e,t){let n=this.genBaseURL("/v1/workflow/get_run_history"),r={workflow_id:e.workflow_id,execute_id:e.execute_id};return this.request({url:n,method:"GET",params:r},t)}OpenAPIStreamResumeFlow(e,t){let n=e||{},r=this.genBaseURL("/v1/workflow/stream_resume"),i={event_id:n.event_id,interrupt_type:n.interrupt_type,resume_data:n.resume_data,ext:n.ext,workflow_id:n.workflow_id,connector_id:n.connector_id};return this.request({url:r,method:"POST",data:i},t)}WorkflowListByBindBiz(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/biz_list"),i={space_id:n.space_id,bind_biz_id:n.bind_biz_id,bind_biz_type:n.bind_biz_type,status:n.status,login_user_create:n.login_user_create,flow_mode:n.flow_mode,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}UserBehaviorAuth(e,t){let n=this.genBaseURL("/api/workflow_api/behavior_auth"),r={workflow_id:e.workflow_id,space_id:e.space_id,action_type:e.action_type,only_config_item:e.only_config_item,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}WorkflowListByBindBizV2(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/old_biz_list"),i={space_id:n.space_id,bind_biz_id:n.bind_biz_id,bind_biz_type:n.bind_biz_type,status:n.status,login_user_create:n.login_user_create,flow_mode:n.flow_mode,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}StreamRunFlowHTTP(e,t){let n=this.genBaseURL("/api/workflow_api/stream_run_flow"),r={workflow_id:e.workflow_id,input:e.input,space_id:e.space_id,bot_id:e.bot_id};return this.request({url:n,method:"POST",data:r},t)}OPGetHistorySchema(e,t){let n=this.genBaseURL("/api/op_workflow/history_schema"),r={space_id:e.space_id,workflow_id:e.workflow_id,commit_id:e.commit_id,type:e.type,env:e.env,workflow_version:e.workflow_version,project_version:e.project_version,project_id:e.project_id,execute_id:e.execute_id,sub_execute_id:e.sub_execute_id,log_id:e.log_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetWorkFlowProcess(e,t){let n=this.genBaseURL("/api/op_workflow/get_process"),r={workflow_id:e.workflow_id,space_id:e.space_id,execute_id:e.execute_id,sub_execute_id:e.sub_execute_id,need_async:e.need_async,log_id:e.log_id,node_id:e.node_id,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}OPGetCanvasInfo(e,t){let n=this.genBaseURL("/api/op_workflow/canvas"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetWorkflowReferences(e,t){let n=this.genBaseURL("/api/op_workflow/workflow_references"),r={workflow_id:e.workflow_id,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetApiDetail(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/apiDetail"),i={pluginID:n.pluginID,apiName:n.apiName,space_id:n.space_id,api_id:n.api_id,project_id:n.project_id,plugin_version:n.plugin_version,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}OPGetReleasedWorkflows(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/released_workflows"),i={page:n.page,size:n.size,type:n.type,name:n.name,workflow_ids:n.workflow_ids,tags:n.tags,space_id:n.space_id,order_by:n.order_by,login_user_create:n.login_user_create,flow_mode:n.flow_mode,workflow_filter_list:n.workflow_filter_list,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPGetWorkflowGrayFeature(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/gray_feature"),i={space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPNodeTemplateList(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/node_template_list"),i={need_types:n.need_types,node_types:n.node_types,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPCheckLatestSubmitVersion(e,t){let n=this.genBaseURL("/api/op_workflow/latest"),r={space_id:e.space_id,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetImageflowBasicNodeList(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/imageflow_basic_nodes"),i={tab_type:n.tab_type,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}BatchDeleteWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/batch_delete"),r={workflow_id_list:e.workflow_id_list,space_id:e.space_id,action:e.action,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetTraceSDK(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/get_trace"),i={Base:n.Base},o={log_id:n.log_id,start_at:n.start_at,end_at:n.end_at};return this.request({url:r,method:"POST",data:i,params:o},t)}ListRootSpans(e,t){let n=this.genBaseURL("/api/workflow_api/list_spans"),r={start_at:e.start_at,end_at:e.end_at,limit:e.limit,desc_by_start_time:e.desc_by_start_time,offset:e.offset,workflow_id:e.workflow_id,input:e.input,status:e.status,execute_mode:e.execute_mode,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetWorkflowDetail(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/workflow_detail"),i={workflow_ids:n.workflow_ids,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetLLMNodeFCSettingDetail(e,t){let n=this.genBaseURL("/api/workflow_api/llm_fc_setting_detail"),r={workflow_id:e.workflow_id,space_id:e.space_id,plugin_list:e.plugin_list,workflow_list:e.workflow_list,dataset_list:e.dataset_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetLLMNodeFCSettingsMerged(e,t){let n=this.genBaseURL("/api/workflow_api/llm_fc_setting_merged"),r={workflow_id:e.workflow_id,space_id:e.space_id,plugin_fc_setting:e.plugin_fc_setting,workflow_fc_setting:e.workflow_fc_setting,dataset_fc_setting:e.dataset_fc_setting,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}SaveTrigger(e,t){let n=this.genBaseURL("/api/workflow_api/save_trigger"),r={space_id:e.space_id,project_id:e.project_id,trigger_id:e.trigger_id,connector_id:e.connector_id,name:e.name,event_id:e.event_id,config:e.config,payload:e.payload,workflow_id:e.workflow_id,trigger_type:e.trigger_type,status:e.status,set_type:e.set_type,project_version:e.project_version,creator:e.creator,source_sub_key:e.source_sub_key,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListTriggerAppEvents(e,t){let n=this.genBaseURL("/api/workflow_api/list_trigger_events"),r={space_id:e.space_id,project_id:e.project_id,app_type:e.app_type,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}ListTriggers(e,t){let n=this.genBaseURL("/api/workflow_api/list_triggers"),r={space_id:e.space_id,project_id:e.project_id,connector_id:e.connector_id,workflow_id:e.workflow_id,set_type:e.set_type,trigger_id:e.trigger_id,creator:e.creator,page_size:e.page_size,page_num:e.page_num,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}TestRunTrigger(e,t){let n=this.genBaseURL("/api/workflow_api/testrun_trigger"),r={space_id:e.space_id,project_id:e.project_id,trigger_id:e.trigger_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetTrigger(e,t){let n=this.genBaseURL("/api/workflow_api/get_trigger"),r={space_id:e.space_id,project_id:e.project_id,workflow_id:e.workflow_id,set_type:e.set_type,project_version:e.project_version,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}CopilotGenerate(e,t){let n=this.genBaseURL("/api/workflow_api/copilot_generate"),r={space_id:e.space_id,project_id:e.project_id,copilot_type:e.copilot_type,query:e.query,generate_test_case_input:e.generate_test_case_input,workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}UpdateProjectConversationDef(e,t){let n=this.genBaseURL("/api/workflow_api/project_conversation/update"),r={project_id:e.project_id,unique_id:e.unique_id,conversation_name:e.conversation_name,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}CreateProjectConversationDef(e,t){let n=this.genBaseURL("/api/workflow_api/project_conversation/create"),r={project_id:e.project_id,conversation_name:e.conversation_name,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}DeleteProjectConversationDef(e,t){let n=this.genBaseURL("/api/workflow_api/project_conversation/delete"),r={project_id:e.project_id,unique_id:e.unique_id,replace:e.replace,check_only:e.check_only,space_id:e.space_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}ListProjectConversationDef(e,t){let n=this.genBaseURL("/api/workflow_api/project_conversation/list"),r={project_id:e.project_id,create_method:e.create_method,create_env:e.create_env,cursor:e.cursor,limit:e.limit,space_id:e.space_id,nameLike:e.nameLike,connector_id:e.connector_id,project_version:e.project_version,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}DeleteTrigger(e,t){let n=this.genBaseURL("/api/workflow_api/delete_trigger"),r={space_id:e.space_id,project_id:e.project_id,trigger_id:e.trigger_id,set_type:e.set_type,creator:e.creator,connector_id:e.connector_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OpenAPIChatFlowRun(e,t){let n=e||{},r=this.genBaseURL("/v1/workflows/chat"),i={workflow_id:n.workflow_id,ext:n.ext,bot_id:n.bot_id,execute_mode:n.execute_mode,version:n.version,connector_id:n.connector_id,app_id:n.app_id,conversation_id:n.conversation_id,additional_messages:n.additional_messages,project_id:n.project_id,suggest_reply_info:n.suggest_reply_info};return this.request({url:r,method:"POST",data:i},t)}OPGetWorkflowDetail(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/workflow_detail"),i={workflow_ids:n.workflow_ids,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPGetLLMNodeFCSettingDetail(e,t){let n=this.genBaseURL("/api/op_workflow/llm_fc_setting_detail"),r={workflow_id:e.workflow_id,space_id:e.space_id,plugin_list:e.plugin_list,workflow_list:e.workflow_list,dataset_list:e.dataset_list,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetExampleWorkFlowList(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/example_workflow_list"),i={page:n.page,size:n.size,name:n.name,flow_mode:n.flow_mode,checker:n.checker,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPGetTrigger(e,t){let n=this.genBaseURL("/api/op_workflow/get_trigger"),r={space_id:e.space_id,project_id:e.project_id,workflow_id:e.workflow_id,set_type:e.set_type,project_version:e.project_version,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}OPListTriggerAppEvents(e,t){let n=this.genBaseURL("/api/op_workflow/list_trigger_events"),r={space_id:e.space_id,project_id:e.project_id,app_type:e.app_type,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}DeleteChatFlowRole(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/chat_flow_role/delete"),i={WorkflowID:n.WorkflowID,ConnectorID:n.ConnectorID,ID:n.ID,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}CreateChatFlowRole(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/chat_flow_role/create"),i={chat_flow_role:n.chat_flow_role,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}GetChatFlowRole(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/chat_flow_role/get"),i={workflow_id:n.workflow_id,connector_id:n.connector_id,is_debug:n.is_debug,ext:n.ext,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}OPRemoveExampleWorkflow(e,t){let n=this.genBaseURL("/api/op_workflow/remove_example_workflow"),r={workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetExampleWorkFlowList(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/example_workflow_list"),i={page:n.page,size:n.size,name:n.name,flow_mode:n.flow_mode,checker:n.checker,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}OPPutOnListExampleWorkflow(e,t){let n=this.genBaseURL("/api/op_workflow/put_on_list_example_workflow"),r={workflow_id:e.workflow_id,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OpenAPIGetWorkflowInfo(e,t){let n=e||{},r=this.genBaseURL(`/v1/workflows/${n.workflow_id}`),i={connector_id:n.connector_id,is_debug:n.is_debug,caller:n.caller};return this.request({url:r,method:"GET",params:i},t)}RegionGray(e,t){let n=this.genBaseURL("/api/workflow_api/region_gray"),r={feature_key:e.feature_key,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}GetNodeExecuteHistory(e,t){let n=this.genBaseURL("/api/workflow_api/get_node_execute_history"),r={workflow_id:e.workflow_id,space_id:e.space_id,execute_id:e.execute_id,node_id:e.node_id,is_batch:e.is_batch,batch_index:e.batch_index,node_type:e.node_type,node_history_scene:e.node_history_scene,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetWorkflowDetailInfo(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/workflow_detail_info"),i={workflow_filter_list:n.workflow_filter_list,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ListPublishedTriggers(e,t){let n=this.genBaseURL("/api/workflow_api/list_publish_trigger"),r={space_id:e.space_id,project_id:e.project_id,set_type:e.set_type,app_type:e.app_type,connector_id:e.connector_id,query:e.query,page_size:e.page_size,page_num:e.page_num,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}GetPublishedTriggerDetail(e,t){let n=this.genBaseURL("/api/workflow_api/get_publish_trigger"),r={space_id:e.space_id,project_id:e.project_id,source_id:e.source_id,connector_id:e.connector_id,query:e.query,page_size:e.page_size,page_num:e.page_num,base:e.base};return this.request({url:n,method:"GET",params:r},t)}OperatePublishedTrigger(e,t){let n=this.genBaseURL("/api/workflow_api/operate_publish_trigger"),r={space_id:e.space_id,project_id:e.project_id,connector_id:e.connector_id,trigger_id:e.trigger_id,status:e.status,base:e.base};return this.request({url:n,method:"POST",data:r},t)}ListPublishWorkflow(e,t){let n=this.genBaseURL("/api/workflow_api/list_publish_workflow"),r={space_id:e.space_id,owner_id:e.owner_id,name:e.name,order_last_publish_time:e.order_last_publish_time,order_total_token:e.order_total_token,size:e.size,cursor_id:e.cursor_id,workflow_ids:e.workflow_ids};return this.request({url:n,method:"POST",data:r},t)}OPGetNodeExecuteHistory(e,t){let n=this.genBaseURL("/api/op_workflow/get_node_execute_history"),r={workflow_id:e.workflow_id,space_id:e.space_id,execute_id:e.execute_id,node_id:e.node_id,is_batch:e.is_batch,batch_index:e.batch_index,node_type:e.node_type,node_history_scene:e.node_history_scene,Base:e.Base};return this.request({url:n,method:"GET",params:r},t)}OPGetWorkflowDetailInfo(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/workflow_detail_info"),i={workflow_filter_list:n.workflow_filter_list,space_id:n.space_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}ValidateTree(e,t){let n=this.genBaseURL("/api/workflow_api/validate_tree"),r={workflow_id:e.workflow_id,bind_project_id:e.bind_project_id,bind_bot_id:e.bind_bot_id,schema:e.schema,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetExecuteHistoryList(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/get_execute_history_list"),i={workflow_id:n.workflow_id,execute_id:n.execute_id,execute_mode:n.execute_mode,log_id:n.log_id,start_time:n.start_time,end_time:n.end_time,page:n.page,page_size:n.page_size,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}OPGetTraceSDK(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/get_trace"),i={Base:n.Base},o={log_id:n.log_id,start_at:n.start_at,end_at:n.end_at};return this.request({url:r,method:"POST",data:i,params:o},t)}OPVersionHistoryList(e,t){let n=this.genBaseURL("/api/op_workflow/version_list"),r={space_id:e.space_id,workflow_id:e.workflow_id,type:e.type,limit:e.limit,commit_ids:e.commit_ids,cursor:e.cursor,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPListRootSpans(e,t){let n=this.genBaseURL("/api/op_workflow/list_spans"),r={start_at:e.start_at,end_at:e.end_at,limit:e.limit,desc_by_start_time:e.desc_by_start_time,offset:e.offset,workflow_id:e.workflow_id,input:e.input,status:e.status,execute_mode:e.execute_mode,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}OPGetChatFlowRole(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/chat_flow_role/get"),i={workflow_id:n.workflow_id,connector_id:n.connector_id,is_debug:n.is_debug,ext:n.ext,Base:n.Base};return this.request({url:r,method:"GET",params:i},t)}OPGetWorkflowIDByExecuteInfo(e,t){let n=e||{},r=this.genBaseURL("/api/op_workflow/get_workflow_id_by_execute_info"),i={execute_id:n.execute_id,sub_execute_id:n.sub_execute_id,log_id:n.log_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}NodePanelSearch(e,t){let n=e||{},r=this.genBaseURL("/api/workflow_api/node_panel_search"),i={search_type:n.search_type,space_id:n.space_id,project_id:n.project_id,search_key:n.search_key,page_or_cursor:n.page_or_cursor,page_size:n.page_size,exclude_workflow_id:n.exclude_workflow_id,Base:n.Base};return this.request({url:r,method:"POST",data:i},t)}constructor(e){r(this,"request",()=>{throw Error("WorkflowApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},71619:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C;(m=e||(e={}))[m.Current=1]="Current",m[m.Previous=2]="Previous",m[m.Start=3]="Start",m[m.MostSuitable=4]="MostSuitable",(_=t||(t={}))[_.FunctionCall=1]="FunctionCall",_[_.Independent=2]="Independent",(v=n||(n={}))[v.Flow=1]="Flow",v[v.Host=2]="Host",(b=r||(r={}))[b.StartAgent=0]="StartAgent",b[b.LLMAgent=1]="LLMAgent",b[b.TaskAgent=2]="TaskAgent",b[b.GlobalAgent=3]="GlobalAgent",b[b.BotAgent=4]="BotAgent",(y=i||(i={}))[y.SingleAgent=0]="SingleAgent",y[y.MultiAgent=1]="MultiAgent",(w=o||(o={}))[w.Doubao=0]="Doubao",w[w.Coze=1]="Coze",(S=a||(a={}))[S.Chat=0]="Chat",S[S.FunctionCall1=1]="FunctionCall1",S[S.FunctionCall2=2]="FunctionCall2",S[S.FunctionCall3=3]="FunctionCall3",(A=s||(s={}))[A.Text=1]="Text",A[A.Number=2]="Number",A[A.Date=3]="Date",A[A.Float=4]="Float",A[A.Boolean=5]="Boolean",(T=l||(l={}))[T.Off=0]="Off",T[T.On=1]="On",(x=u||(u={}))[x.SLM=0]="SLM",x[x.LLM=1]="LLM",(k=c||(c={}))[k.Pre=1]="Pre",k[k.Post=2]="Post",k[k.PreAndPost=3]="PreAndPost",(M=d||(d={}))[M.SemanticSearch=0]="SemanticSearch",M[M.HybirdSearch=1]="HybirdSearch",M[M.FullTextSearch=20]="FullTextSearch",(P=p||(p={}))[P.Text=0]="Text",P[P.Markdown=1]="Markdown",P[P.JSON=2]="JSON",(I=h||(h={}))[I.System=0]="System",I[I.Custom=1]="Custom",I[I.Disable=2]="Disable",I[I.OriBot=3]="OriBot",(E=f||(f={}))[E.Off=0]="Off",E[E.On=1]="On",(C=g||(g={}))[C.Online=0]="Online",C[C.Pre=1]="Pre"},59356:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.CRONTAB=0]="CRONTAB",r[r.INPUTS=1]="INPUTS",r[r.OnboardingMessage=2]="OnboardingMessage",r[r.TestRunInput=3]="TestRunInput",r[r.NodeDebugInput=4]="NodeDebugInput",(i=t||(t={}))[i.TestRun=1]="TestRun",i[i.NodeDebug=2]="NodeDebug",(o=n||(n={}))[o.ExecuteHistory=1]="ExecuteHistory",o[o.Copilot=2]="Copilot",o[o.Policy=3]="Policy"},3822:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO;(W=e||(e={}))[W.RequireAction=0]="RequireAction",W[W.RequireMessage=1]="RequireMessage",(Z=t||(t={}))[Z.NotFinished=0]="NotFinished",Z[Z.Interrupted=1]="Interrupted",Z[Z.NoResults=2]="NoResults",Z[Z.WithResults=3]="WithResults",(H=n||(n={}))[H.None=0]="None",H[H.Featured=1]="Featured",H[H.Discoverable=2]="Discoverable",(V=r||(r={}))[V.USER_RES=0]="USER_RES",V[V.USER_LLM_RES=1]="USER_LLM_RES",V[V.USER_LLM_TOOLLEN_RES=2]="USER_LLM_TOOLLEN_RES",V[V.USER_LLM_TOOL_RES=3]="USER_LLM_TOOL_RES",V[V.USER_LLM_TOOL=4]="USER_LLM_TOOL",(Q=i||(i={}))[Q.Unknown=0]="Unknown",Q[Q.Single=1]="Single",Q[Q.Group=2]="Group",(Y=o||(o={}))[Y.Txt=1]="Txt",Y[Y.Image=2]="Image",Y[Y.Audio=3]="Audio",Y[Y.Video=4]="Video",Y[Y.Link=6]="Link",Y[Y.Music=7]="Music",Y[Y.Tako=8]="Tako",Y[Y.File=9]="File",Y[Y.Card=50]="Card",Y[Y.BotCard=51]="BotCard",Y[Y.Widget=52]="Widget",Y[Y.APP=100]="APP",Y[Y.OutputSearchResult=200]="OutputSearchResult",Y[Y.OutputMultiStream=201]="OutputMultiStream",Y[Y.SearchIntentionResult=300]="SearchIntentionResult",($=a||(a={}))[$.Success=1]="Success",$[$.SystemLimitation=2]="SystemLimitation",$[$.UserLimitation=3]="UserLimitation",(K=s||(s={}))[K.System=0]="System",K[K.User=1]="User",K[K.Assistant=2]="Assistant",K[K.Placeholder=3]="Placeholder",K[K.LLMOutput=4]="LLMOutput",K[K.ToolOutput=5]="ToolOutput",K[K.Function=6]="Function",(X=l||(l={}))[X.ParamErr=1]="ParamErr",X[X.InnerErr=2]="InnerErr",X[X.WebGPT=4]="WebGPT",X[X.ByteArtist=5]="ByteArtist",X[X.Claude=6]="Claude",X[X.Dalle2=7]="Dalle2",X[X.GPT=8]="GPT",X[X.Seed=9]="Seed",X[X.StableDiffusion=10]="StableDiffusion",X[X.RiskSecurity=11]="RiskSecurity",X[X.RequireLocation=12]="RequireLocation",X[X.SigInterrupt=702112002]="SigInterrupt",X[X.Timeout=702112101]="Timeout",X[X.AuthenticationError=702112102]="AuthenticationError",X[X.RateLimitError=702112103]="RateLimitError",X[X.InvalidRequestError=702112104]="InvalidRequestError",X[X.FunctionInputError=702112105]="FunctionInputError",X[X.EngineInternalError=702112106]="EngineInternalError",X[X.MaximumTokenError=702112107]="MaximumTokenError",X[X.NotSupportRoleTypeError=702112108]="NotSupportRoleTypeError",X[X.AbParamsError=702112109]="AbParamsError",X[X.ParseTemplateError=702112110]="ParseTemplateError",X[X.ModelAKInvalidError=702112111]="ModelAKInvalidError",X[X.PluginRequireAuthorityError=702112112]="PluginRequireAuthorityError",(J=u||(u={}))[J.Normal=0]="Normal",J[J.PluginInterrupt=1]="PluginInterrupt",(ee=c||(c={}))[ee.None=0]="None",ee[ee.GoogleNLP=1]="GoogleNLP",ee[ee.ToutiaoWiki=2]="ToutiaoWiki",(et=d||(d={}))[et.Text=1]="Text",et[et.Video=2]="Video",et[et.Image=3]="Image",(en=p||(p={}))[en.Default=1]="Default",en[en.SearchText=2]="SearchText",en[en.SearchVideo=3]="SearchVideo",en[en.ComplexSearchText=4]="ComplexSearchText",en[en.SearchImage=5]="SearchImage",en[en.SearchRichMedia=6]="SearchRichMedia",en[en.SearchRichMediaStrong=7]="SearchRichMediaStrong",en[en.SearchRichMediaWeak=8]="SearchRichMediaWeak",(er=h||(h={}))[er.Chat=1]="Chat",er[er.Suggest=2]="Suggest",er[er.QueryKeyword=3]="QueryKeyword",er[er.Workflow=4]="Workflow",er[er.OnboardingOnline=5]="OnboardingOnline",er[er.OnboardingOffline=6]="OnboardingOffline",er[er.Naming=7]="Naming",er[er.GenProfile=8]="GenProfile",er[er.BrowserPlugin=9]="BrowserPlugin",er[er.BrowserPluginSearch=10]="BrowserPluginSearch",er[er.BrowserPluginExplain=11]="BrowserPluginExplain",er[er.BrowserPluginTranslate=12]="BrowserPluginTranslate",er[er.BrowserPluginSummary=13]="BrowserPluginSummary",er[er.BrowserPluginGrammar=14]="BrowserPluginGrammar",er[er.BrowserPluginRewrite=15]="BrowserPluginRewrite",er[er.BrowserPluginWebSummary=16]="BrowserPluginWebSummary",er[er.HotSearch=17]="HotSearch",er[er.HotSearchPreload=18]="HotSearchPreload",er[er.InputSug=19]="InputSug",er[er.NewsPush=20]="NewsPush",er[er.NewsPushPreload=21]="NewsPushPreload",er[er.OnboardingSug=22]="OnboardingSug",er[er.OnboardingSugPreload=23]="OnboardingSugPreload",er[er.WebNotLogin=24]="WebNotLogin",er[er.BackOnboardingSug=25]="BackOnboardingSug",er[er.GenCard=26]="GenCard",er[er.HighLightMsg=27]="HighLightMsg",er[er.HighLightMsgSearch=28]="HighLightMsgSearch",er[er.BrowserPluginSelectionQuestion=29]="BrowserPluginSelectionQuestion",er[er.BrowserPluginYoutubeSummary=30]="BrowserPluginYoutubeSummary",er[er.BrowserPluginRawChain=31]="BrowserPluginRawChain",er[er.BrowserPluginPDFReader=32]="BrowserPluginPDFReader",er[er.BrowserPluginImgReader=33]="BrowserPluginImgReader",er[er.SearchSummary=34]="SearchSummary",(ei=f||(f={}))[ei.Nothing=0]="Nothing",ei[ei.DouYin=1]="DouYin",ei[ei.TikTok=2]="TikTok",g||(g={}),(eo=m||(m={}))[eo.System=1]="System",eo[eo.User=2]="User",eo[eo.Assistant=3]="Assistant",eo[eo.Placeholder=4]="Placeholder",eo[eo.Function=5]="Function",(ea=_||(_={}))[ea.Replaceable=1]="Replaceable",ea[ea.Insertable=2]="Insertable",ea[ea.DocumentRef=3]="DocumentRef",ea[ea.KnowledgeCard=4]="KnowledgeCard",ea[ea.EmbeddedMultimedia=100]="EmbeddedMultimedia",(es=v||(v={}))[es.GPT=1]="GPT",es[es.Seed=2]="Seed",es[es.Claude=3]="Claude",es[es.MiniMax=4]="MiniMax",es[es.Plugin=5]="Plugin",es[es.StableDiffusion=6]="StableDiffusion",es[es.ByteArtist=7]="ByteArtist",es[es.Edu=8]="Edu",es[es.Maas=9]="Maas",es[es.QianFan=10]="QianFan",es[es.Gemini=11]="Gemini",es[es.Moonshot=12]="Moonshot",es[es.GLM=13]="GLM",es[es.MaaSAutoSync=14]="MaaSAutoSync",es[es.QWen=15]="QWen",es[es.Cohere=16]="Cohere",es[es.Baichuan=17]="Baichuan",es[es.Ernie=18]="Ernie",es[es.DeekSeek=19]="DeekSeek",es[es.Llama=20]="Llama",(el=b||(b={}))[el.PromptEvaluatePlatform=1e3]="PromptEvaluatePlatform",el[el.FlowApp=2e3]="FlowApp",el[el.FlowOPAdmin=3e3]="FlowOPAdmin",el[el.FlowAll=3001]="FlowAll",el[el.BotPlatform=4e3]="BotPlatform",el[el.BotPlatformInhouse=4001]="BotPlatformInhouse",el[el.Workflow=5e3]="Workflow",el[el.Arena=6e3]="Arena",el[el.ArenaInhouse=6001]="ArenaInhouse",(eu=y||(y={}))[eu.GPT3dot5Turbo=1]="GPT3dot5Turbo",eu[eu.GPT4_32k=2]="GPT4_32k",eu[eu.GPT4=3]="GPT4",eu[eu.SeedBeta=4]="SeedBeta",eu[eu.SeedWebGPT=5]="SeedWebGPT",eu[eu.SeedSystem=6]="SeedSystem",eu[eu.SeedMusic=7]="SeedMusic",eu[eu.GPT4_32k0613=8]="GPT4_32k0613",eu[eu.Seed_Img2Text=9]="Seed_Img2Text",eu[eu.Seed_SCTest=10]="Seed_SCTest",eu[eu.Seed_Test=11]="Seed_Test",eu[eu.Seed_WithPlugins=12]="Seed_WithPlugins",eu[eu.GPT3dot5Turbo0613=13]="GPT3dot5Turbo0613",eu[eu.GPT35_Turbo16k=14]="GPT35_Turbo16k",eu[eu.SeedSota=15]="SeedSota",eu[eu.SeedSotaBrowsing=16]="SeedSotaBrowsing",eu[eu.SeedOmni=17]="SeedOmni",eu[eu.SeedFunctionCall=18]="SeedFunctionCall",eu[eu.SeedMain=19]="SeedMain",eu[eu.SeedBrowsingExperiment=20]="SeedBrowsingExperiment",eu[eu.SeedBrowsingOnly=21]="SeedBrowsingOnly",eu[eu.MiniMaxABAB5dot5Chat=22]="MiniMaxABAB5dot5Chat",eu[eu.Echo=23]="Echo",eu[eu.GPT4_0613=24]="GPT4_0613",eu[eu.SeedSystemWithMemory=25]="SeedSystemWithMemory",eu[eu.SeedSystemWithMemoryTest=26]="SeedSystemWithMemoryTest",eu[eu.SeedMap=27]="SeedMap",eu[eu.SeedSuggest=28]="SeedSuggest",eu[eu.SeedComplexInstruction=29]="SeedComplexInstruction",eu[eu.SeedComplexInstructionTest=30]="SeedComplexInstructionTest",eu[eu.Edu=31]="Edu",eu[eu.SeedSuggestOffline=32]="SeedSuggestOffline",eu[eu.SeedOmniSota=33]="SeedOmniSota",eu[eu.SeedStrongCharacterNearlinePortrait=34]="SeedStrongCharacterNearlinePortrait",(ec=w||(w={}))[ec.FuncBot=1]="FuncBot",ec[ec.Chain=2]="Chain",ec[ec.Agent=3]="Agent",ec[ec.Executor=4]="Executor",(ed=S||(S={}))[ed.InUse=1]="InUse",ed[ed.Pending=5]="Pending",ed[ed.Deleted=10]="Deleted",(ep=A||(A={}))[ep.GPT3dot5Turbo=1]="GPT3dot5Turbo",ep[ep.GPT4=2]="GPT4",ep[ep.Seed=3]="Seed",ep[ep.SeedMultiturn=4]="SeedMultiturn",ep[ep.StableDiffusion=5]="StableDiffusion",ep[ep.ByteArtist=6]="ByteArtist",ep[ep.Claude=7]="Claude",ep[ep.BingChat=8]="BingChat",ep[ep.Bard=9]="Bard",ep[ep.Assistant=10]="Assistant",ep[ep.DallE=11]="DallE",ep[ep.Midjourney=12]="Midjourney",ep[ep.TTSearch=13]="TTSearch",ep[ep.GPTTask=14]="GPTTask",ep[ep.GPT4Browsing=15]="GPT4Browsing",ep[ep.GPT4WithPlugins=16]="GPT4WithPlugins",ep[ep.GPT3dot5WithPlugins=17]="GPT3dot5WithPlugins",ep[ep.SeedSystem=18]="SeedSystem",ep[ep.Plugin=20]="Plugin",ep[ep.GPT4Plugin=21]="GPT4Plugin",ep[ep.WebGPT=22]="WebGPT",ep[ep.GPT3dot5WithFunction=23]="GPT3dot5WithFunction",ep[ep.AutoPlugin=24]="AutoPlugin",ep[ep.MiniMax=25]="MiniMax",ep[ep.GPT3dot5WithTako=26]="GPT3dot5WithTako",ep[ep.GPT4WithTako=27]="GPT4WithTako",ep[ep.GPT4WithTakoTikTok=28]="GPT4WithTakoTikTok",ep[ep.GPT4WithTakoGoogle=29]="GPT4WithTakoGoogle",ep[ep.SeedBeta=30]="SeedBeta",ep[ep.ByteArtistAnime=31]="ByteArtistAnime",ep[ep.GenMusic=32]="GenMusic",ep[ep.GPT48k=33]="GPT48k",ep[ep.SeedStrongCharacterForTest=34]="SeedStrongCharacterForTest",ep[ep.SeedForTest=35]="SeedForTest",ep[ep.SeedOmniFake=36]="SeedOmniFake",ep[ep.SeedOmniBrowse=37]="SeedOmniBrowse",ep[ep.SeedOmniSota=38]="SeedOmniSota",ep[ep.SeedOmniSotaBrowse=39]="SeedOmniSotaBrowse",ep[ep.SeedOmniBrowseWithCard=40]="SeedOmniBrowseWithCard",ep[ep.CiciSearchMore=41]="CiciSearchMore",ep[ep.CiciSearchLess=42]="CiciSearchLess",ep[ep.CiciSearchBing=43]="CiciSearchBing",ep[ep.SeedOmniPlugin=44]="SeedOmniPlugin",ep[ep.CiciSearchBing_GPT35=45]="CiciSearchBing_GPT35",ep[ep.GPT40613=46]="GPT40613",ep[ep.SeedForMap=47]="SeedForMap",ep[ep.SeedForMusic=48]="SeedForMusic",ep[ep.XiaoningWithMem=49]="XiaoningWithMem",ep[ep.GPT_35Turbo=100]="GPT_35Turbo",ep[ep.GPT_35Turbo0301=101]="GPT_35Turbo0301",ep[ep.GPT_4=102]="GPT_4",ep[ep.GPT_40314=103]="GPT_40314",ep[ep.GPT_432k=104]="GPT_432k",ep[ep.GPT_432k0314=105]="GPT_432k0314",ep[ep.Seed_Beta=106]="Seed_Beta",ep[ep.Seed_Music=107]="Seed_Music",ep[ep.GPT4_32k0613=108]="GPT4_32k0613",ep[ep.Seed_Img2Text=109]="Seed_Img2Text",ep[ep.Seed_WebGPT=110]="Seed_WebGPT",ep[ep.Seed_WithPlugins=111]="Seed_WithPlugins",ep[ep.GPT_35Turbo0613=112]="GPT_35Turbo0613",ep[ep.GPT_35Turbo16K=113]="GPT_35Turbo16K",ep[ep.Seed_Sota=114]="Seed_Sota",ep[ep.Seed_Sota_Browsing=115]="Seed_Sota_Browsing",ep[ep.Seed_WithSystem=116]="Seed_WithSystem",ep[ep.Seed_Omni=118]="Seed_Omni",ep[ep.SeedFunctionCall=119]="SeedFunctionCall",ep[ep.Seed_Main=120]="Seed_Main",ep[ep.SeedBrowsingExperiment=121]="SeedBrowsingExperiment",ep[ep.SeedBrowsingOnly=122]="SeedBrowsingOnly",ep[ep.Echo=123]="Echo",ep[ep.GPT_40613=124]="GPT_40613",ep[ep.Seed_WithSystemForTest=125]="Seed_WithSystemForTest",ep[ep.Seed_Map=126]="Seed_Map",ep[ep.SeedSuggest=127]="SeedSuggest",ep[ep.Seed_ComplexInstructionTest=128]="Seed_ComplexInstructionTest",ep[ep.Seed_ComplexInstruction=129]="Seed_ComplexInstruction",ep[ep.Edu=130]="Edu",ep[ep.Tako_Intent=131]="Tako_Intent",ep[ep.Seed_Text2Img=132]="Seed_Text2Img",ep[ep.GPT_4Preview_128k1106=133]="GPT_4Preview_128k1106",ep[ep.SeedForDouyin=134]="SeedForDouyin",ep[ep.SeedFunctionCallSp=135]="SeedFunctionCallSp",ep[ep.SeedSuggestOffline=136]="SeedSuggestOffline",ep[ep.SkylarkChat=137]="SkylarkChat",ep[ep.SeedStrongCharacterNearlinePortrait=138]="SeedStrongCharacterNearlinePortrait",ep[ep.SkylarkPro_v1_1_TT=1704353638]="SkylarkPro_v1_1_TT",ep[ep.SkylarkPro_v1_1_TT_BROWSING=1704696164]="SkylarkPro_v1_1_TT_BROWSING",ep[ep.SeedBotTag=1705216686]="SeedBotTag",ep[ep.SeedStrongCharacterAudio=1705220979]="SeedStrongCharacterAudio",(eh=T||(T={}))[eh.UNK=0]="UNK",eh[eh.GPT3D5=1]="GPT3D5",eh[eh.GPT4=2]="GPT4",(ef=x||(x={}))[ef.Plugin=1]="Plugin",ef[ef.Hook=2]="Hook",ef[ef.GptEngine=3]="GptEngine",ef[ef.Edu=4]="Edu",(eg=k||(k={}))[eg.Unknown_MultiStreamScene=0]="Unknown_MultiStreamScene",eg[eg.CrowdTesting=1]="CrowdTesting",(em=M||(M={}))[em.Unknown_MultiStreamStatus=0]="Unknown_MultiStreamStatus",em[em.Start=1]="Start",em[em.End=2]="End",(e_=P||(P={}))[e_.Prologue=1]="Prologue",e_[e_.SuggestedQuestion=2]="SuggestedQuestion",(ev=I||(I={}))[ev.LLM_GEN=1]="LLM_GEN",ev[ev.LLM_GEN_THEN_TRANSLATE=2]="LLM_GEN_THEN_TRANSLATE",ev[ev.MANUAL=3]="MANUAL",ev[ev.MANUAL_THEN_TRANSLATE=4]="MANUAL_THEN_TRANSLATE",(eb=E||(E={}))[eb.FIRST_MET=1]="FIRST_MET",eb[eb.WELCOME_BACK=2]="WELCOME_BACK",(ey=C||(C={}))[ey.NO_NEED=1]="NO_NEED",ey[ey.USE_MANUAL=2]="USE_MANUAL",ey[ey.USE_LLM=3]="USE_LLM",(ew=O||(O={}))[ew.None=0]="None",ew[ew.OnboardingNotDisplay=1]="OnboardingNotDisplay",ew[ew.OnboardingPreset=2]="OnboardingPreset",ew[ew.OnboardingLLMGen=3]="OnboardingLLMGen",(eS=D||(D={}))[eS.PreGen_Query=1]="PreGen_Query",eS[eS.PreGen_PreQuery=2]="PreGen_PreQuery",eS[eS.PreGen_Continue=3]="PreGen_Continue",eS[eS.PreGen_End=4]="PreGen_End",(eA=L||(L={}))[eA.Block=0]="Block",eA[eA.Streaming=1]="Streaming",eA[eA.Full=2]="Full",(eT=B||(B={}))[eT.FString=1]="FString",eT[eT.Jinja2=2]="Jinja2",(ex=N||(N={}))[ex.Answer=1]="Answer",ex[ex.Suggest=2]="Suggest",ex[ex.LLMOutput=3]="LLMOutput",ex[ex.ToolOutput=4]="ToolOutput",ex[ex.DataSet=5]="DataSet",ex[ex.QueryKeyword=6]="QueryKeyword",ex[ex.IntermediateOutput=7]="IntermediateOutput",ex[ex.Verbose=100]="Verbose",ex[ex.PlaceHolder=101]="PlaceHolder",(ek=R||(R={}))[ek.ResultType_Default=0]="ResultType_Default",ek[ek.ResultType_PluginResponse=1]="ResultType_PluginResponse",ek[ek.ResultType_PluginIntent=2]="ResultType_PluginIntent",ek[ek.ResultType_Variables=3]="ResultType_Variables",ek[ek.ResultType_None=4]="ResultType_None",ek[ek.ResultType_BotSchema=5]="ResultType_BotSchema",ek[ek.ResultType_ReferenceVariable=6]="ResultType_ReferenceVariable",(eM=j||(j={}))[eM.ResumeDefault=0]="ResumeDefault",eM[eM.PluginAuthorized=1]="PluginAuthorized",eM[eM.PluginAsync=2]="PluginAsync",eM[eM.PluginInterrupt=3]="PluginInterrupt",(eP=U||(U={}))[eP.Nothing=0]="Nothing",eP[eP.Google=1]="Google",eP[eP.DouYin=2]="DouYin",eP[eP.TouTiao=4]="TouTiao",(eI=z||(z={}))[eI.BotStudioSubmit=1]="BotStudioSubmit",eI[eI.BotStudioWorkflowTest=2]="BotStudioWorkflowTest",eI[eI.Flow=3]="Flow",eI[eI.API=4]="API",eI[eI.Aweme=5]="Aweme",(eE=F||(F={}))[eE.Plan=0]="Plan",eE[eE.AgentHook=1]="AgentHook",(eC=G||(G={}))[eC.WithDefaultPrompt=0]="WithDefaultPrompt",eC[eC.WithCustomizedPrompt=1]="WithCustomizedPrompt",eC[eC.Disable=2]="Disable",eC[eC.UseOriginBotMode=3]="UseOriginBotMode",(eO=q||(q={}))[eO.Ask=0]="Ask",eO[eO.Once=1]="Once",eO[eO.Always=2]="Always"},98131:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.None=0]="None",r[r.Replace=1]="Replace",r[r.Delete=2]="Delete",(i=t||(t={}))[i.None=0]="None",i[i.ReplaceAll=1]="ReplaceAll",i[i.Merge=2]="Merge",(o=n||(n={}))[o.Unknown=0]="Unknown",o[o.TestRun=1]="TestRun",o[o.Run=2]="Run"},57931:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Unknown=0]="Unknown",n[n.String=1]="String",n[n.Boolean=2]="Boolean",n[n.StringList=11]="StringList",n[n.BooleanList=12]="BooleanList",(r=t||(t={}))[r.Account=1]="Account",r[r.Workspace=2]="Workspace",r[r.App=3]="App",r[r.Bot=4]="Bot",r[r.Plugin=5]="Plugin",r[r.Workflow=6]="Workflow",r[r.Knowledge=7]="Knowledge",r[r.PersonalAccessToken=8]="PersonalAccessToken",r[r.Connector=9]="Connector",r[r.Card=10]="Card",r[r.CardTemplate=11]="CardTemplate",r[r.Conversation=12]="Conversation",r[r.File=13]="File",r[r.ServicePrincipal=14]="ServicePrincipal",r[r.Enterprise=15]="Enterprise",r[r.MigrateTask=16]="MigrateTask",r[r.Prompt=17]="Prompt",r[r.UI=18]="UI",r[r.Project=19]="Project"},24704:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_;(u=e||(e={}))[u.Copy=1]="Copy",u[u.Delete=2]="Delete",u[u.EnableSwitch=3]="EnableSwitch",u[u.Edit=4]="Edit",u[u.SwitchToFuncflow=8]="SwitchToFuncflow",u[u.SwitchToChatflow=9]="SwitchToChatflow",(c=t||(t={}))[c.Successful=1]="Successful",c[c.Processing=2]="Processing",c[c.Failed=3]="Failed",c[c.KeepOrigin=4]="KeepOrigin",(d=n||(n={}))[d.Rename=1]="Rename",d[d.Copy=2]="Copy",d[d.CopyToLibrary=3]="CopyToLibrary",d[d.MoveToLibrary=4]="MoveToLibrary",d[d.Delete=5]="Delete",d[d.Enable=6]="Enable",d[d.Disable=7]="Disable",d[d.SwitchToFuncflow=8]="SwitchToFuncflow",d[d.SwitchToChatflow=9]="SwitchToChatflow",d[d.UpdateDesc=10]="UpdateDesc",(p=r||(r={}))[p.Workflow=1]="Workflow",p[p.Plugin=2]="Plugin",p[p.Data=3]="Data",(h=i||(i={}))[h.UnPublished=1]="UnPublished",h[h.Published=2]="Published",(f=o||(o={}))[f.CopyProjectResource=1]="CopyProjectResource",f[f.CopyResourceToLibrary=2]="CopyResourceToLibrary",f[f.MoveResourceToLibrary=3]="MoveResourceToLibrary",f[f.CopyResourceFromLibrary=4]="CopyResourceFromLibrary",f[f.CopyProject=5]="CopyProject",f[f.PublishProject=6]="PublishProject",f[f.CopyProjectTemplate=7]="CopyProjectTemplate",f[f.PublishProjectTemplate=8]="PublishProjectTemplate",f[f.LaunchTemplate=9]="LaunchTemplate",f[f.ArchiveProject=10]="ArchiveProject",f[f.RollbackProject=11]="RollbackProject",(g=a||(a={}))[g.Plugin=1]="Plugin",g[g.Workflow=2]="Workflow",g[g.Imageflow=3]="Imageflow",g[g.Knowledge=4]="Knowledge",g[g.UI=5]="UI",g[g.Database=7]="Database",g[g.Variable=8]="Variable",g[g.Trigger=9]="Trigger",(m=s||(s={}))[m.Upsert=1]="Upsert",m[m.Delete=2]="Delete",(_=l||(l={}))[_.Successed=1]="Successed",_[_.Processing=2]="Processing",_[_.Failed=3]="Failed",_[_.Canceled=4]="Canceled"},90298:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h;(s=e||(e={}))[s.TEXT=0]="TEXT",s[s.TIME=1]="TIME",s[s.TIME_DURATION=2]="TIME_DURATION",(l=t||(t={}))[l.TEXT=0]="TEXT",(u=n||(n={}))[u.ALICE_OP=0]="ALICE_OP",u[u.DOUBAO_CICI_DEBUG=1]="DOUBAO_CICI_DEBUG",u[u.WORKFLOW_DEBUG=2]="WORKFLOW_DEBUG",(c=r||(r={}))[c.Undefined=0]="Undefined",c[c.Match=1]="Match",c[c.Term=2]="Term",c[c.Range=3]="Range",c[c.Exist=4]="Exist",c[c.NotExist=5]="NotExist",(d=i||(i={}))[d.Unknown=0]="Unknown",d[d.Success=1]="Success",d[d.Fail=2]="Fail",(p=o||(o={}))[p.STRING=0]="STRING",p[p.DOUBLE=1]="DOUBLE",p[p.BOOL=2]="BOOL",p[p.LONG=3]="LONG",p[p.BYTES=4]="BYTES",(h=a||(a={}))[h.Ordinary=0]="Ordinary",h[h.AdvancedWhitelist=1]="AdvancedWhitelist"},75980:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.CRONJOB=0]="CRONJOB",i[i.EVENT=1]="EVENT",(o=t||(t={}))[o.WAITING=0]="WAITING",o[o.SUCCESS=1]="SUCCESS",o[o.FAILED=2]="FAILED",(a=n||(n={}))[a.DEBUG_PRESET=0]="DEBUG_PRESET",a[a.ONLINE_PRESET=1]="ONLINE_PRESET",a[a.DEBUG_USERSET=2]="DEBUG_USERSET",a[a.ONLINE_USERSET=3]="ONLINE_USERSET",a[a.ONLINE=4]="ONLINE",(s=r||(r={}))[s.Close=0]="Close",s[s.Open=1]="Open"},2378:function(){"use strict";var e,t,n,r,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O,D,L,B,N,R,j,U,z,F,G,q,W,Z,H,V,Q,Y,$,K,X,J,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ep,eh,ef,eg,em,e_,ev,eb,ey,ew,eS,eA,eT,ex,ek,eM,eP,eI,eE,eC,eO,eD,eL,eB,eN,eR,ej,eU,ez,eF,eG,eq,eW,eZ,eH,eV,eQ,eY,e$,eK,eX,eJ,e0,e1,e2,e4,e3,e5,e6,e8,e9,e7,te,tn,tr,ti,to,ta,ts,tl,tu,tc,td,tp,th,tf,tg,tm,t_,tv,tb,ty,tw,tS,tA,tT;(e_=e||(e={}))[e_.DEFAULT=1]="DEFAULT",e_[e_.IMAGE=2]="IMAGE",e_[e_.DOC=3]="DOC",e_[e_.CODE=4]="CODE",e_[e_.PPT=5]="PPT",e_[e_.TXT=6]="TXT",e_[e_.EXCEL=7]="EXCEL",e_[e_.AUDIO=8]="AUDIO",e_[e_.ZIP=9]="ZIP",e_[e_.VIDEO=10]="VIDEO",e_[e_.SVG=11]="SVG",e_[e_.Voice=12]="Voice",(ev=t||(t={}))[ev.Create=1]="Create",ev[ev.Delete=2]="Delete",ev[ev.Save=3]="Save",ev[ev.Submit=4]="Submit",ev[ev.Publish=5]="Publish",ev[ev.Merge=6]="Merge",ev[ev.Diff=7]="Diff",ev[ev.Revert=8]="Revert",ev[ev.Read=9]="Read",ev[ev.ListHistory=10]="ListHistory",ev[ev.ListCollaborator=11]="ListCollaborator",ev[ev.SpaceAdmin=12]="SpaceAdmin",ev[ev.SpaceOperator=13]="SpaceOperator",ev[ev.ListPluginPrice=14]="ListPluginPrice",(eb=n||(n={}))[eb.Pass=1]="Pass",eb[eb.UnPass=2]="UnPass",(ey=r||(r={}))[ey.PluginAPI=1]="PluginAPI",ey[ey.NodeTemplate=2]="NodeTemplate",(ew=i||(i={}))[ew.Agent=1]="Agent",ew[ew.Scene=2]="Scene",ew[ew.DouYinBot=3]="DouYinBot",(eS=o||(o={}))[eS.Default=0]="Default",eS[eS.Draft=1]="Draft",eS[eS.Commit=2]="Commit",eS[eS.Publish=3]="Publish",(eA=a||(a={}))[eA.Canvas=1]="Canvas",eA[eA.UIBuilder=2]="UIBuilder",(eT=s||(s={}))[eT.WebSDKPublish=1]="WebSDKPublish",eT[eT.SocialPublish=2]="SocialPublish",eT[eT.BotAgent=3]="BotAgent",(ex=l||(l={}))[ex.Close=0]="Close",ex[ex.Open=1]="Open",(ek=u||(u={}))[ek.Add=1]="Add",ek[ek.Remove=2]="Remove",(eM=c||(c={}))[eM.GetHasCollaborator=0]="GetHasCollaborator",eM[eM.GetNoCollaborator=1]="GetNoCollaborator",eM[eM.UpdateHasCollaborator=2]="UpdateHasCollaborator",eM[eM.UpdateNoCollaborator=3]="UpdateNoCollaborator",(eP=d||(d={}))[eP.Equal=1]="Equal",eP[eP.NotEqual=2]="NotEqual",eP[eP.LengthGt=3]="LengthGt",eP[eP.LengthGtEqual=4]="LengthGtEqual",eP[eP.LengthLt=5]="LengthLt",eP[eP.LengthLtEqual=6]="LengthLtEqual",eP[eP.Contains=7]="Contains",eP[eP.NotContains=8]="NotContains",eP[eP.Null=9]="Null",eP[eP.NotNull=10]="NotNull",eP[eP.True=11]="True",eP[eP.False=12]="False",eP[eP.Gt=13]="Gt",eP[eP.GtEqual=14]="GtEqual",eP[eP.Lt=15]="Lt",eP[eP.LtEqual=16]="LtEqual",(eI=p||(p={}))[eI.Unknown=0]="Unknown",eI[eI.Text=1]="Text",eI[eI.Card=3]="Card",eI[eI.Verbose=4]="Verbose",eI[eI.Interrupt=5]="Interrupt",(eE=h||(h={}))[eE.Draft=1]="Draft",eE[eE.Release=2]="Release",(eC=f||(f={}))[eC.ManualCreate=1]="ManualCreate",eC[eC.NodeCreate=2]="NodeCreate",(eO=g||(g={}))[eO.Input=0]="Input",eO[eO.Variable=1]="Variable",(eD=m||(m={}))[eD.BlockwiseUnbind=1]="BlockwiseUnbind",eD[eD.BlockwiseDelete=2]="BlockwiseDelete",(eL=_||(_={}))[eL.SUCCESS=0]="SUCCESS",eL[eL.FAIL=1]="FAIL",(eB=v||(v={}))[eB.CanDelete=0]="CanDelete",eB[eB.RejectProductDraft=1]="RejectProductDraft",eB[eB.UnListProduct=2]="UnListProduct",(eN=b||(b={}))[eN.NoChanges=1]="NoChanges",eN[eN.ChangesByDraft=2]="ChangesByDraft",eN[eN.ChangesByLatest=3]="ChangesByLatest",eN[eN.Conflict=4]="Conflict",(eR=y||(y={}))[eR.LocalPlugin=1]="LocalPlugin",eR[eR.Question=2]="Question",eR[eR.RequireInfos=3]="RequireInfos",eR[eR.SceneChat=4]="SceneChat",eR[eR.InputNode=5]="InputNode",eR[eR.WorkflowLocalPlugin=6]="WorkflowLocalPlugin",(ej=w||(w={}))[ej.Sync=0]="Sync",ej[ej.Stream=1]="Stream",(eU=S||(S={}))[eU.Object=1]="Object",eU[eU.String=2]="String",eU[eU.Integer=3]="Integer",eU[eU.Bool=4]="Bool",eU[eU.Array=5]="Array",eU[eU.Number=6]="Number",(ez=A||(A={}))[ez.And=1]="And",ez[ez.Or=2]="Or",(eF=T||(T={}))[eF.BasicNode=0]="BasicNode",eF[eF.All=10]="All",(eG=x||(x={}))[eG.text=1]="text",eG[eG.audio=2]="audio",(eq=k||(k={}))[eq.String=1]="String",eq[eq.Integer=2]="Integer",eq[eq.Boolean=3]="Boolean",eq[eq.Number=4]="Number",eq[eq.Array=5]="Array",eq[eq.Object=6]="Object",(eW=M||(M={}))[eW.LocalPlugin=1]="LocalPlugin",eW[eW.Question=2]="Question",eW[eW.RequireInfos=3]="RequireInfos",eW[eW.SceneChat=4]="SceneChat",eW[eW.Input=5]="Input",(eZ=P||(P={}))[eZ.Waiting=1]="Waiting",eZ[eZ.Running=2]="Running",eZ[eZ.Success=3]="Success",eZ[eZ.Fail=4]="Fail",(eH=I||(I={}))[eH.Default=0]="Default",eH[eH.TestRunInput=1]="TestRunInput",(eV=E||(E={}))[eV.All=0]="All",eV[eV.ResourceWorkflow=1]="ResourceWorkflow",eV[eV.ProjectWorkflow=2]="ProjectWorkflow",eV[eV.FavoritePlugin=3]="FavoritePlugin",eV[eV.ResourcePlugin=4]="ResourcePlugin",eV[eV.ProjectPlugin=5]="ProjectPlugin",eV[eV.StorePlugin=6]="StorePlugin",(eQ=C||(C={}))[eQ.Both=1]="Both",eQ[eQ.JustRight=2]="JustRight",eQ[eQ.JustLeft=3]="JustLeft",(eY=O||(O={}))[eY.Valide=1]="Valide",eY[eY.Invalide=2]="Invalide",(e$=D||(D={}))[e$.Start=1]="Start",e$[e$.End=2]="End",e$[e$.LLM=3]="LLM",e$[e$.Api=4]="Api",e$[e$.Code=5]="Code",e$[e$.Dataset=6]="Dataset",e$[e$.If=8]="If",e$[e$.SubWorkflow=9]="SubWorkflow",e$[e$.Variable=11]="Variable",e$[e$.Database=12]="Database",e$[e$.Message=13]="Message",e$[e$.Imageflow=14]="Imageflow",e$[e$.Text=15]="Text",e$[e$.ImageGenerate=16]="ImageGenerate",e$[e$.ImageReference=17]="ImageReference",e$[e$.Question=18]="Question",e$[e$.Break=19]="Break",e$[e$.LoopSetVariable=20]="LoopSetVariable",e$[e$.Loop=21]="Loop",e$[e$.Intent=22]="Intent",e$[e$.DrawingBoard=23]="DrawingBoard",e$[e$.SceneVariable=24]="SceneVariable",e$[e$.SceneChat=25]="SceneChat",e$[e$.DatasetWrite=27]="DatasetWrite",e$[e$.Batch=28]="Batch",e$[e$.Continue=29]="Continue",e$[e$.Input=30]="Input",e$[e$.AssignVariable=40]="AssignVariable",e$[e$.DatabaseInsert=41]="DatabaseInsert",e$[e$.DatabaseUpdate=42]="DatabaseUpdate",e$[e$.DatabasesELECT=43]="DatabasesELECT",e$[e$.DatabaseDelete=44]="DatabaseDelete",(eK=L||(L={}))[eK.Start=1]="Start",eK[eK.End=2]="End",eK[eK.LLM=3]="LLM",eK[eK.Api=4]="Api",eK[eK.Code=5]="Code",eK[eK.Dataset=6]="Dataset",eK[eK.If=8]="If",eK[eK.SubWorkflow=9]="SubWorkflow",eK[eK.Variable=11]="Variable",eK[eK.Database=12]="Database",eK[eK.Message=13]="Message",eK[eK.Text=15]="Text",eK[eK.ImageGenerate=16]="ImageGenerate",eK[eK.ImageReference=17]="ImageReference",eK[eK.Question=18]="Question",eK[eK.Break=19]="Break",eK[eK.LoopSetVariable=20]="LoopSetVariable",eK[eK.Loop=21]="Loop",eK[eK.Intent=22]="Intent",eK[eK.DrawingBoard=23]="DrawingBoard",eK[eK.SceneVariable=24]="SceneVariable",eK[eK.SceneChat=25]="SceneChat",eK[eK.DatasetWrite=27]="DatasetWrite",eK[eK.Batch=28]="Batch",eK[eK.Continue=29]="Continue",eK[eK.Input=30]="Input",eK[eK.AssignVariable=40]="AssignVariable",(eX=B||(B={}))[eX.DraftOperate=0]="DraftOperate",eX[eX.SubmitOperate=1]="SubmitOperate",eX[eX.PublishOperate=2]="PublishOperate",eX[eX.PubPPEOperate=3]="PubPPEOperate",eX[eX.SubmitPublishPPEOperate=4]="SubmitPublishPPEOperate",(eJ=N||(N={}))[eJ.CreateTime=0]="CreateTime",eJ[eJ.UpdateTime=1]="UpdateTime",eJ[eJ.PublishTime=2]="PublishTime",eJ[eJ.Hot=3]="Hot",eJ[eJ.Id=4]="Id",(e0=R||(R={}))[e0.Asc=1]="Asc",e0[e0.Desc=2]="Desc",(e1=j||(j={}))[e1.Path=1]="Path",e1[e1.Query=2]="Query",e1[e1.Body=3]="Body",e1[e1.Header=4]="Header",(e2=U||(U={}))[e2.String=1]="String",e2[e2.Integer=2]="Integer",e2[e2.Number=3]="Number",e2[e2.Object=4]="Object",e2[e2.Array=5]="Array",e2[e2.Bool=6]="Bool",(e4=z||(z={}))[e4.CanNotDelete=1]="CanNotDelete",e4[e4.CanNotChangeName=2]="CanNotChangeName",e4[e4.CanChange=3]="CanChange",e4[e4.CanNotChangeAnything=4]="CanNotChangeAnything",(e3=F||(F={}))[e3.NoDetail=1]="NoDetail",e3[e3.Detail=2]="Detail",e3[e3.Operate=3]="Operate",(e5=G||(G={}))[e5.DB=1]="DB",e5[e5.VCS=2]="VCS",e5[e5.External=3]="External",(e6=q||(q={}))[e6.ImageUrl=1]="ImageUrl",(e8=W||(W={}))[e8.PLUGIN=1]="PLUGIN",e8[e8.APP=2]="APP",e8[e8.FUNC=3]="FUNC",e8[e8.WORKFLOW=4]="WORKFLOW",e8[e8.IMAGEFLOW=5]="IMAGEFLOW",e8[e8.LOCAL=6]="LOCAL",(e9=Z||(Z={}))[e9.User=1]="User",e9[e9.Service=2]="Service",(e7=H||(H={}))[e7.Default=0]="Default",e7[e7.Pending=1]="Pending",e7[e7.Approved=2]="Approved",e7[e7.Rejected=3]="Rejected",e7[e7.Abandoned=4]="Abandoned",(te=V||(V={}))[te.Default=0]="Default",te[te.Product=1]="Product",(tn=Q||(Q={}))[tn.Account=1]="Account",tn[tn.Workspace=2]="Workspace",tn[tn.App=3]="App",tn[tn.Bot=4]="Bot",tn[tn.Plugin=5]="Plugin",tn[tn.Workflow=6]="Workflow",tn[tn.Knowledge=7]="Knowledge",tn[tn.PersonalAccessToken=8]="PersonalAccessToken",tn[tn.Connector=9]="Connector",tn[tn.Card=10]="Card",tn[tn.CardTemplate=11]="CardTemplate",tn[tn.Conversation=12]="Conversation",tn[tn.File=13]="File",tn[tn.ServicePrincipal=14]="ServicePrincipal",tn[tn.Enterprise=15]="Enterprise",(tr=Y||(Y={}))[tr.DAG=0]="DAG",tr[tr.FDL=1]="FDL",tr[tr.BlockWise=2]="BlockWise",(ti=$||($={}))[ti.text=1]="text",ti[ti.audio=2]="audio",(to=K||(K={}))[to.Disable=0]="Disable",to[to.System=1]="System",to[to.Custom=2]="Custom",(ta=X||(X={}))[ta.NOT_SUPPORT=1]="NOT_SUPPORT",ta[ta.SUPPORT=2]="SUPPORT",(ts=J||(J={}))[ts.All=1]="All",ts[ts.Hot=2]="Hot",ts[ts.Information=3]="Information",ts[ts.Music=4]="Music",ts[ts.Picture=5]="Picture",ts[ts.UtilityTool=6]="UtilityTool",ts[ts.Life=7]="Life",ts[ts.Traval=8]="Traval",ts[ts.Network=9]="Network",ts[ts.System=10]="System",ts[ts.Movie=11]="Movie",ts[ts.Office=12]="Office",ts[ts.Shopping=13]="Shopping",ts[ts.Education=14]="Education",ts[ts.Health=15]="Health",ts[ts.Social=16]="Social",ts[ts.Entertainment=17]="Entertainment",ts[ts.Finance=18]="Finance",ts[ts.Hidden=100]="Hidden",(tl=ee||(ee={}))[tl.USELLM=1]="USELLM",tl[tl.USESETTING=2]="USESETTING",(tu=et||(et={}))[tu.OpenCollaborators=1]="OpenCollaborators",tu[tu.AddCollaborators=2]="AddCollaborators",(tc=en||(en={}))[tc.BotValidateNodeErr=1]="BotValidateNodeErr",tc[tc.BotValidatePathErr=2]="BotValidatePathErr",tc[tc.BotConcurrentPathErr=3]="BotConcurrentPathErr",(td=er||(er={}))[td.Draft=1]="Draft",td[td.Submit=2]="Submit",td[td.Publish=3]="Publish",(tp=ei||(ei={}))[tp.CanNotSubmit=1]="CanNotSubmit",tp[tp.CanSubmit=2]="CanSubmit",tp[tp.HadSubmit=3]="HadSubmit",tp[tp.Deleted=4]="Deleted",(th=eo||(eo={}))[th.TestRun=1]="TestRun",th[th.Run=2]="Run",th[th.NodeDebug=3]="NodeDebug",(tf=ea||(ea={}))[tf.NoHistory=1]="NoHistory",tf[tf.HasHistory=2]="HasHistory",(tg=es||(es={}))[tg.Running=1]="Running",tg[tg.Success=2]="Success",tg[tg.Fail=3]="Fail",tg[tg.Cancel=4]="Cancel",(tm=el||(el={}))[tm.UnPublished=1]="UnPublished",tm[tm.HadPublished=2]="HadPublished",(t_=eu||(eu={}))[t_.Workflow=0]="Workflow",t_[t_.Imageflow=1]="Imageflow",t_[t_.SceneFlow=2]="SceneFlow",t_[t_.ChatFlow=3]="ChatFlow",t_[t_.All=100]="All",(tv=ec||(ec={}))[tv.Sync=0]="Sync",tv[tv.Stream=1]="Stream",tv[tv.Async=2]="Async",(tb=ed||(ed={}))[tb.Canvas=0]="Canvas",tb[tb.Published=1]="Published",(ty=ep||(ep={}))[ty.CanNotPublish=1]="CanNotPublish",ty[ty.CanPublish=2]="CanPublish",ty[ty.HadPublished=3]="HadPublished",ty[ty.Deleted=4]="Deleted",ty[ty.Unlisted=5]="Unlisted",(tw=eh||(eh={}))[tw.User=0]="User",tw[tw.GuanFang=1]="GuanFang",(tS=ef||(ef={}))[tS.UpdateUser=1]="UpdateUser",tS[tS.UpdateSpace=2]="UpdateSpace",(tA=eg||(eg={}))[tA.Multiple=1]="Multiple",tA[tA.Gray=2]="Gray",tA[tA.Space=3]="Space",(tT=em||(em={}))[tT.Multiple=1]="Multiple",tT[tT.All=2]="All"},89588:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:function(){return i}}),n("83015"),n("74290"),n("46920"),n("36536"),n("86809"),n("72004");class i{genBaseURL(e){return"string"==typeof this.baseURL?this.baseURL+e:this.baseURL(e)}TimeCapsuleClearItems(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-clear-items"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,event_ms:e.event_ms,ext:e.ext,item_type:e.item_type,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}CitationRank(e,t){let n=this.genBaseURL("/api/xmemory/citation-rank"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,llm_answer:e.llm_answer,search_results:e.search_results,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleDeleteItems(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-delete-items"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,item_type:e.item_type,iids:e.iids,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleUpdateItem(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-update-item"),r={iid:e.iid,bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,item_type:e.item_type,biz_id:e.biz_id,text:e.text,event_ms:e.event_ms,update_ms:e.update_ms,ext:e.ext,tags:e.tags,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleSearch(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-search"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,search_item:e.search_item,max_length:e.max_length,skip_block:e.skip_block,message_id:e.message_id,conversation_id:e.conversation_id,section_id:e.section_id,chat_context:e.chat_context,ref_bot_id:e.ref_bot_id,ext:e.ext,strategy_bundle:e.strategy_bundle,x_api_forward:e.x_api_forward,Base:e.Base};return this.request({url:n,method:"POST",data:r},t)}TimeCapsuleListItems(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-list-items"),r={bot_id:e.bot_id,time_capsule_item_type:e.time_capsule_item_type,connector_uid:e.connector_uid,connector_id:e.connector_id,start_event_ms:e.start_event_ms,end_event_ms:e.end_event_ms,offset:e.offset,limit:e.limit,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleAddItem(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-add-item"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,item_type:e.item_type,biz_id:e.biz_id,text:e.text,event_ms:e.event_ms,update_ms:e.update_ms,ext:e.ext,tags:e.tags,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleClearAllItems(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-clear-all-items"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,event_ms:e.event_ms,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}TimeCapsuleSearchItems(e,t){let n=this.genBaseURL("/api/xmemory/time-capsule-search-items"),r={bot_id:e.bot_id,connector_uid:e.connector_uid,connector_id:e.connector_id,search_item:e.search_item,max_length:e.max_length,ref_bot_id:e.ref_bot_id,ext:e.ext,search_strategy:e.search_strategy,Base:e.Base},i={"X-Api-Forward":e["X-Api-Forward"]};return this.request({url:n,method:"POST",data:r,headers:i},t)}constructor(e){r(this,"request",()=>{throw Error("XmemoryApiService.request is undefined")}),r(this,"baseURL",""),this.request=(null==e?void 0:e.request)||this.request,this.baseURL=(null==e?void 0:e.baseURL)||""}}},74290:function(){"use strict";var e,t,n,r,i,o;(r=e||(e={}))[r.Score=1]="Score",r[r.Field=2]="Field",(i=t||(t={}))[i.Desc=1]="Desc",i[i.Asc=2]="Asc",(o=n||(n={}))[o.UserIdDimension=1]="UserIdDimension"},46920:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.UserIdDimension=1]="UserIdDimension",(o=t||(t={}))[o.Ok=0]="Ok",o[o.InvalidParams=20]="InvalidParams",o[o.MissingParams=21]="MissingParams",o[o.InvalidParams_TextLen=22]="InvalidParams_TextLen",o[o.InvalidParams_EmptyText=23]="InvalidParams_EmptyText",o[o.InvalidParams_EmptyBizId=24]="InvalidParams_EmptyBizId",o[o.ConflictedMemory=80]="ConflictedMemory",o[o.RepeatedMemory=81]="RepeatedMemory",o[o.NoPermission=100]="NoPermission",o[o.SecurityRisk=110]="SecurityRisk",o[o.InternalError=255]="InternalError",(a=n||(n={}))[a.AddItem=1]="AddItem",a[a.UpdateItem=2]="UpdateItem",a[a.DeleteItem=3]="DeleteItem",a[a.GetItem=4]="GetItem",a[a.ListItems=5]="ListItems",a[a.MgetItems=6]="MgetItems",a[a.MdeleteItems=7]="MdeleteItems",a[a.UpsertItem=8]="UpsertItem",a[a.FlushReflection=9]="FlushReflection",a[a.ForgetMemory=50]="ForgetMemory",(s=r||(r={}))[s.UserOperation=1]="UserOperation",s[s.PiiProcess=2]="PiiProcess",s[s.OfflineDataCleanUp=3]="OfflineDataCleanUp"},36536:function(){"use strict";var e,t,n,r;(n=e||(e={}))[n.Original=1]="Original",n[n.Reflected=2]="Reflected",(r=t||(t={}))[r.Human=1]="Human",r[r.Assistant=2]="Assistant"},86809:function(){"use strict";var e,t,n,r,i,o,a,s;(i=e||(e={}))[i.NotFinished=0]="NotFinished",i[i.Interrupted=1]="Interrupted",i[i.NoResults=2]="NoResults",i[i.WithResults=3]="WithResults",(o=t||(t={}))[o.Unknown=0]="Unknown",o[o.Single=1]="Single",o[o.Group=2]="Group",(a=n||(n={}))[a.StartSummary=2]="StartSummary",(s=r||(r={}))[s.Chat=1]="Chat",s[s.Topic=2]="Topic",s[s.Essential=3]="Essential"},72004:function(){"use strict";var e,t;(t=e||(e={}))[t.Show=1]="Show",t[t.Click=2]="Click",t[t.Browse=3]="Browse",t[t.UserSetting=4]="UserSetting",t[t.Route=5]="Route"},1656:function(e,t,n){"use strict";n("41830"),n("37684"),n("78222"),n("46455")},75784:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var r=n("22133");let i="open_debug",o=RegExp(`(?:\\?|\\&)${i}=true`),a=()=>{let{search:e}=window.location,t=!!sessionStorage.getItem(i);!t&&(t=o.test(e))&&sessionStorage.setItem(i,"true");let n=!r.f.isPPE;return!t&&n}},4634:function(e,t,n){"use strict";n("31740"),n("11532"),n("89842"),n("88519")},10964:function(e,t,n){"use strict";n.d(t,{E7:function(){return r.E},kg:function(){return i.kg}});var r=n("28549"),i=n("88519");n("4634"),n("51470"),n("95590")},50129:function(e,t,n){"use strict";n.d(t,{XT:function(){return a}}),n("50267"),n("98810");var r=n("39262"),i=n("95590");function o(e){let{namespace:t,scope:n,level:i,message:o,eventName:a,...s}=e;for(var l=arguments.length,u=Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];let d=[`%c Logger %c ${t||i}${n?` %c ${n}`:""} %c`,"background:#444444; padding: 1px; border-radius: 3px 0 0 3px; color: #fff",`background:${function(e){if("success"===e)return"#00CC00";if("warning"===e)return"#CC9900";if("error"===e)return"#CC3333";else if("fatal"===e)return"#FF0000";else return"#0099CC"}(i)}; padding: 1px; border-radius: ${n?"0":"0 3px 3px 0"}; color: #fff`,n?"background:#777777; padding: 1px; border-radius: 0 3px 3px 0; color: #fff; margin-left: -1px;":"background:transparent"];n&&d.push("background:transparent"),d.push(a||o);let p=s.error?s:s.meta;!(0,r.Z)(p)&&d.push(p),d.push(...u),console.groupCollapsed(...d)}let a=new class e{send(e){let{meta:t,message:n,eventName:r,action:a,...s}=e,l=n||(r?`Event: ${r}`:void 0);if(!(null==a?void 0:a.includes(i.A3.CONSOLE))||!l)return;let u={...s,message:l};t?o(u,t):o(u),console.trace(),console.groupEnd()}}},40993:function(e,t,n){"use strict";n("83015"),(0,n("11532").createContext)(null)},45012:function(e,t,n){"use strict";n.d(t,{Y:function(){return d}}),n("98810"),n("50267");var r=n("2875"),i=n("95590"),o=n("48348"),a=n("50129");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let l={level:i.in.INFO,action:[i.A3.CONSOLE]};function u(e){return"string"==typeof e?{message:e}:e}class c{addClient(e){this.clients.push(e)}resolveCloneParams(e){let{ctx:t,clients:n=[],beforeSend:i=[],disableConsole:a}=e;return{ctx:o._.merge(this.ctx.get(),t),clients:[...this.clients,...n],beforeSend:[...this.logOptionsResolvers,...i],disableConsole:(0,r.Z)(a)?this.disableConsole:a}}createLoggerWith(e){return new c(this.resolveCloneParams(e))}log(e){let t=o._.merge(l,this.ctx.get(),e),n=this.logOptionsResolvers.length>0?this.logOptionsResolvers.reduce((e,t)=>t?t(e):e,{...t}):t;(this.disableConsole?this.clients.filter(e=>e!==a.XT):this.clients).forEach(e=>{e.send(n)})}fatal(e){this.log({...e,level:i.in.FATAL})}error(e){this.log({...e,level:i.in.ERROR})}warning(e){this.log({...u(e),level:i.in.WARNING})}info(e){this.log({...u(e),level:i.in.INFO})}success(e){this.log({...u(e),level:i.in.SUCCESS})}constructor({ctx:e={},clients:t=[],beforeSend:n=[],disableConsole:r}){s(this,"ctx",void 0),s(this,"logOptionsResolvers",[]),s(this,"disableConsole",void 0),s(this,"clients",void 0),this.ctx=new o._(e),this.clients=t,this.logOptionsResolvers=n,this.disableConsole=r||!1}}class d extends c{addClient(e){super.addClient(e),this.persist.addClient(e)}createLoggerWith(e){return new d(this.resolveCloneParams(e))}constructor({clients:e=[],...t}={}){super({...t,clients:function(e,t){let n=e.includes(a.XT)?e:[a.XT,...e];return t?n.filter(e=>e!==a.XT):n}(e,t.disableConsole)}),s(this,"persist",super.createLoggerWith({ctx:{action:[i.A3.CONSOLE,i.A3.PERSIST]}}))}}},88519:function(e,t,n){"use strict";n.d(t,{Yd:function(){return i.Y},kg:function(){return r.k}});var r=n("40958"),i=n("45012");n("40993")},48348:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n("39262");class i{static merge(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).reduce((e,t)=>(function(e,t){let{action:n=[],meta:i,...o}=e,{action:a=[],meta:s,...l}=t,u={...i,...s};return{...o,...l,action:[...n,...a],...(0,r.Z)(u)?{}:{meta:u}}})(e,t),{})}updateMeta(e){this.options.meta=e(this.options.meta)}get(){return this.options}constructor(e){var t,n,r;t=this,r=void 0,(n="options")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.options=e}}},40958:function(e,t,n){"use strict";n.d(t,{k:function(){return l}}),n("50267");var r=n("51470"),i=n("75784"),o=n("45012");function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class s extends o.Y{setDisableConsole(){var e;if(!(null===(e=s.setupConfig)||void 0===e?void 0:e["no-console"]))return;let t=(0,i.F)();this.disableConsole=t,this.persist&&(this.persist.disableConsole=t)}addClient(e){super.addClient(e)}init(e){var t;let n=new r.W(e);null===(t=this.persist)||void 0===t||t.addClient(n),this.slardarInstance=n.slardarInstance,this.registeredInstance.forEach(e=>{e.init(n.slardarInstance)}),this.registeredInstance=[]}setup(e){s.setupConfig=e}createLoggerWith(e){let t=new s(this.resolveCloneParams(e));return this.slardarInstance?t.init(this.slardarInstance):this.registeredInstance.push(t),t}info(e){this.setDisableConsole(),super.info(e)}success(e){this.setDisableConsole(),super.success(e)}warning(e){this.setDisableConsole(),super.warning(e)}error(e){this.setDisableConsole(),super.error(e)}constructor(...e){super(...e),a(this,"registeredInstance",[]),a(this,"slardarInstance",null),a(this,"persist",this.persist)}}a(s,"setupConfig",null);let l=new s({clients:[],ctx:{meta:{}}})},72467:function(e,t,n){"use strict";function r(){let e={points:[],interval:{}};return{tracer:t=>{if(!t)return e;if(-1===e.points.indexOf(t)&&e.points.push(t),performance.mark(t),e.points.length>1){let n=e.points.length-1,r=performance.measure("measure",e.points[n-1],e.points[n]);e.interval[t]=(null==r?void 0:r.duration)??0}return e}}}n.d(t,{W:function(){return r}}),n("50267")},28549:function(e,t,n){"use strict";n.d(t,{E:function(){return u}}),n("50267");var r=n("95590"),i=n("51470"),o=n("88519"),a=n("72467");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{log(e,t){this.check(t)&&(this.logger.disableConsole=!0,this.logger[e](t),this.logger.persist.disableConsole=!0,this.logger.persist[e](t))}createReporterWithPreset(e){let t=new l(e);return this.initialized?t.init(this.slardarInstance):this.pendingInstance.push(t),t}init(e){if(!e){console.warn("You should use reporter with a valid slardar instance");return}let t=new i.W(e);this.slardarInstance=t.slardarInstance,this.logger.persist.addClient(t),this.initialized=!0,this.pendingQueue.forEach(e=>{let t=e.level||r.in.INFO;this.log(t.toString(),e)}),this.pendingQueue=[],this.pendingInstance.forEach(t=>{t.init(e)}),this.pendingInstance=[]}getLogger(){return this.logger}info(e){this.log("info",e)}success(e){let t=this.formatCustomLog(e,r.in.SUCCESS);this.log("success",t)}warning(e){let t=this.formatCustomLog(e,r.in.WARNING);this.log("warning",t)}error(e){let t=this.formatCustomLog(e,r.in.ERROR);this.log("error",t)}event(e){let t=this.formatCustomEvent(e);this.log("info",t)}errorEvent(e){let t=this.formatErrorEvent(e);this.log("error",t)}successEvent(e){let t=this.formatCustomEvent(e);this.log("success",t)}tracer(e){let{eventName:t}=e;var n=this;let{tracer:r}=(0,a.W)();return{trace:function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{meta:o,error:a}=i,s=n.formatCustomEvent({eventName:t,meta:{...o,error:a,duration:r(e)}});n.check(s)&&n.log("info",s)}}}check(e){return!!this.initialized||(this.pendingQueue.push(e),!1)}formatCustomLog(e,t){var n;let{namespace:i,scope:o,meta:a={}}=(null===(n=this.logger.ctx)||void 0===n?void 0:n.options)??{},{namespace:s,scope:l,meta:u={},message:c}=e;return{action:[r.A3.CONSOLE,r.A3.PERSIST],namespace:s||i,scope:l||o,level:t,error:e.error,message:c,meta:{...a,...u}}}formatCustomEvent(e){var t;let{namespace:n,scope:i,meta:o={}}=(null===(t=this.logger.ctx)||void 0===t?void 0:t.options)??{},{eventName:a,namespace:s,scope:l,meta:u={}}=e;return{action:[r.A3.CONSOLE,r.A3.PERSIST],namespace:s||n,scope:l||i,eventName:a,meta:{...o,...u}}}formatErrorEvent(e){let t=this.formatCustomEvent(e);return{...t,meta:{...t.meta,errorMessage:e.error.message,errorName:e.error.name,level:e.level??"error"},error:e.error}}constructor(e){s(this,"initialized",!1),s(this,"logger",void 0),s(this,"pendingQueue",[]),s(this,"pendingInstance",[]),s(this,"slardarInstance",null),this.logger=new o.Yd({clients:[],ctx:{...e}})}}let u=new l},51470:function(e,t,n){"use strict";n.d(t,{W:function(){return c}}),n("98810");var r=n("77327"),i=n("1009"),o=n("97264"),a=n("48021"),s=n("2875"),l=n("95590"),u=n("89842");class c{send(e){var t,n,c,d;if(!(null===(t=e.action)||void 0===t?void 0:t.includes(l.A3.PERSIST)))return;let{level:p,message:h,action:f,eventName:g,meta:m,error:_,...v}=e,b=e=>(0,u.En)({...v,...e,error:(0,u.Me)(_),level:(0,u.ZO)(p)},{maxDepth:4});if(p===l.in.ERROR&&(null==m?void 0:m.reportJsError)===!0){let{reportJsError:e,reactInfo:t,...r}=m||{},l=b({...r,message:h,eventName:g});null===(n=this.slardarInstance)||void 0===n||n.call(this,"captureException",_,(0,o.Z)((0,a.Z)(l,e=>(0,i.Z)(e)?e:u.U2.stringify(e)),s.Z),t)}else if(g){let{metrics:e,categories:t}=function(e){let t={},n={};for(let o in e){let a=e[o];(0,r.Z)(a)?t[o]=a:n[o]=(0,i.Z)(a)?a:u.U2.stringify(a)}return{metrics:t,categories:n}}(b({...m}));null===(c=this.slardarInstance)||void 0===c||c.call(this,"sendEvent",{name:g,metrics:e,categories:t})}else if(h){let e=b({...m});null===(d=this.slardarInstance)||void 0===d||d.call(this,"sendLog",{level:(0,u.y7)(p),content:h,extra:function(e){let t={};for(let n in e){let o=e[n];(0,r.Z)(o)||(0,i.Z)(o)?t[n]=o:t[n]=u.U2.stringify(o)}return t}(e)})}}constructor(e){var t,n,r;t=this,r=void 0,(n="slardarInstance")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.slardarInstance=e,!this.slardarInstance&&console.warn("expected slardarInstance but get undefined/null")}}},89842:function(e,t,n){"use strict";n.d(t,{En:function(){return i},Me:function(){return u},U2:function(){return o},ZO:function(){return d},y7:function(){return h}}),n("83015");var r=n("95590");function i(e,t){let{keySeparator:n=".",maxDepth:r}=t||{},i=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3?arguments[3]:void 0;for(let[l,u]of Object.entries(e)){var s;let e=a?`${a}${n}${l}`:l,c=o+1;if(u&&(s=u,"[object Object]"===Object.prototype.toString.call(s))&&(!r||c<=r))i(u,t,c,e);else t[e]=u}return t};return i(e,{})}let o={stringify:e=>{try{return JSON.stringify(e)}catch(e){return console.error(e),`JSON stringify Error: ${e.message}`}},parse:e=>{try{return JSON.parse(e||"")}catch(e){return console.error(e),null}}};class a extends Error{constructor(e){var t,n,r;super(`httpStatus=${e.httpStatus}, code=${e.code}, message=${e.message}, logId=${e.logId}`),t=this,r=void 0,(n="errorOption")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.name="ApiError",this.errorOption=e}}let s=e=>{if(!e)return r.NI.Unknown;if(e instanceof a){var t;return(null===(t=e.errorOption)||void 0===t?void 0:t.errorType)?e.errorOption.errorType:r.NI.ApiError}return r.NI.Unknown},l=e=>{if(e instanceof a&&e.errorOption){let{errorOption:t}=e;return{httpStatus:t.httpStatus,code:t.code,logId:t.logId,response:o.stringify(t.response),requestConfig:o.stringify(t.requestConfig)}}return{}},u=e=>e?{...l(e),message:e.message,stack:e.stack,type:s(e)}:{},c={[r.in.INFO]:"info",[r.in.SUCCESS]:"success",[r.in.WARNING]:"warn",[r.in.ERROR]:"error",[r.in.FATAL]:"fatal"};function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.in.INFO;return c[e]}let p={[r.in.INFO]:"info",[r.in.SUCCESS]:"info",[r.in.WARNING]:"warn",[r.in.ERROR]:"error",[r.in.FATAL]:"error"};function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.in.INFO;return p[e]}},95590:function(e,t,n){"use strict";var r,i,o,a,s,l;n.d(t,{A3:function(){return i},NI:function(){return o},in:function(){return r}}),(a=r||(r={})).INFO="info",a.SUCCESS="success",a.WARNING="warning",a.ERROR="error",a.FATAL="fatal",(s=i||(i={})).CONSOLE="console",s.PERSIST="persist",(l=o||(o={})).ApiError="ApiError",l.ApiBizError="ApiBizError",l.Unknown="Unknown"},17099:function(e,t,n){"use strict";n("64704")},26602:function(e,t,n){"use strict";var r,i;n.d(t,{m:function(){return r}}),(i=r||(r={})).BotDetailInitHooks="bot_detail_init_hooks",i.BotDetailInitBot="bot_detail_init_bot",i.BotDetailPublishGetDraftBotInfo="bot_detail_publish_get_draft_bot_info"},32096:function(e,t,n){"use strict";var r;n.d(t,{v:function(){return r}}),(r||(r={})).PayloadSocietyStateEmpty="chat_room_ws_payload_society_state_empty"},28092:function(e,t,n){"use strict";var r,i;n.d(t,{w:function(){return r}}),(i=r||(r={})).ChunkLoadError="chunk_load_error",i.parmasValidation="parmas_validation",i.responseValidation="response_validation",i.errorPath="error_path",i.fwsError="fws_error",i.getTokenInit="get_token_init",i.getTokenEncode="get_token_encode",i.getTokenError="get_token_error",i.formValidation="form_validation",i.thirdPartyAuth="third_party_auth",i.normalError="normal_error",i.getBotDiffError="get_bot_diff_error",i.mergeBotDiffError="merge_bot_diff_error"},11114:function(e,t,n){"use strict";var r,i;n.d(t,{K:function(){return r}}),(i=r||(r={})).ParseStorageValueError="parse_storage_value_error",i.GetLoginInfoError="get_login_info_error"},48085:function(e,t,n){"use strict";var r,i;n.d(t,{j:function(){return r}}),(i=r||(r={})).CreateCustomPlat="create-custom-plat",i.UpdateCustomPlat="update-custom-plat",i.DeleteCustomPlat="delete-custom-plat",i.GetCustomPlatList="get-custom-plat-list",i.GetOauthConfig="get-oauth-config",i.GetSpaceListFromCustomPlat="get-space-list-from-custom-plat",i.GetOauthAppListFromCustomPlat="get-oauth-app-list-from-custom-plat",i.UpdateCustomPlatOauthConfig="update-custom-plat-oauth-config"},70742:function(e,t,n){"use strict";var r,i;n.d(t,{P:function(){return r}}),(i=r||(r={})).DatabaseUploadExcelFile="database_upload_excel_file",i.DatabaseAddTable="database_add_table",i.DatabaseAlterTable="database_alter_table",i.DatabaseQueryTable="database_query_table",i.DatabaseListTable="database_list_table",i.DatabaseDeleteTable="database_delete_table",i.DatabaseGetExcelInfo="database_get_excel_info",i.DatabaseGetPreviewData="database_get_preview_data",i.DatabaseAddFromExcel="database_add_from_excel",i.DatabaseGetTaskInfo="database_get_task_info",i.DatabaseNL2DB="database_nl2db",i.DatabaseResetTableRecords="database_reset_table_records",i.DatabaseGetExpertConfig="database_get_expert_config"},63758:function(e,t,n){"use strict";var r,i;n.d(t,{Y:function(){return r}}),(i=r||(r={})).AutosaveSuccess="autosave_success",i.AutosaveError="autosave_error"},31296:function(e,t,n){"use strict";n.d(t,{b:function(){return A}});var r=n("44285"),i=n("31278"),o=n("66765"),a=n("51223"),s=n("4279"),l=n("78677"),u=n("96317"),c=n("34417"),d=n("76152"),p=n("1026"),h=n("14549"),f=n("73229"),g=n("12223"),m=n("63758"),_=n("70742"),v=n("48085"),b=n("11114"),y=n("28092"),w=n("32096"),S=n("26602");let A={...p.U,...f.S,...y.w,...c.B,...h.Q,..._.P,...s.h,...i.B,...S.m,...g.I,...d.T,...l.P,...r.e,...b.K,...a.B,...w.v,...u.G,...m.Y,...v.j,...o.f}},12223:function(e,t,n){"use strict";var r;n.d(t,{I:function(){return r}}),(r||(r={})).ExploreInitBotDetail="explore_init_bot_detail"},73229:function(e,t,n){"use strict";var r,i;n.d(t,{S:function(){return r}}),(i=r||(r={})).createSpace="create_space",i.updateSpace="update_space",i.transferSpace="transfer_space",i.spaceMemberSearch="space_member_search",i.spaceMemberDetail="space_member_detail",i.spaceMemberAdd="space_member_add",i.deleteSpace="delete_space",i.leaveSpace="leave_space",i.spaceParseMemberCsv="space_parse_member_csv",i.spaceImportMembers="space_import_members",i.editUserProfile="edit_user_profile",i.updateUserProfileCheck="update_user_profile_check",i.getUserAuthList="user_auth_list",i.convertHttpImg="convert_http_img",i.loadContentBox="load-content-box",i.publishPlatform="publish_platform",i.unbindPublishPlatform="unbind_publish_platform",i.generateChangeLog="generate_changelog",i.recordChangeLog="record_changelog",i.passportService="passport_service",i.passportHttpRequestFail="passport_http_request_fail",i.InviteLinkCopySuccess="invite_link_copy_success",i.JoinSpaceSuccess="join_space_success",i.unhandledrejection="unhandledrejection",i.oauthLogin="oauth_login",i.botDebugMessageSubmit="bot_debug_message_submit",i.receiveMessage="receive_message",i.emptyReceiveMessage="empty_receive_message",i.messageReceiveSuggests="message_receive_suggests",i.receiveTotalMessages="receive_total_messages",i.getCategoryList="get_category_list",i.getTokenSkus="get_token_Skus",i.createTokenChargeOrder="create_token_charge_order",i.openGetSpace="open_get_space",i.openArcositeContent="open_arcosite_content",i.openGetPatList="open_get_pat_list",i.openPatAction="open_pat_action",i.editWebSocketInit="edit_web_socket_init",i.pluginIdeInit="plugin_ide_init",i.pluginIdeInitTrace="plugin_ide_init_trace",i.pluginIdeDispose="plugin_ide_dispose",i.pathFallbackRedirect="path_fallback_redirect"},14549:function(e,t,n){"use strict";var r,i;n.d(t,{Q:function(){return r}}),(i=r||(r={})).SaveFileboxMode="save_filebox_mode",i.GetFileboxPluginsInfo="get_filebox_plugin_info",i.GetMDCardDetailPageInfo="get_card_detail_info",i.GetMDCardDetailPageInfoInvalid="get_card_detail_info_invalid",i.CopyFileboxApiName="copy_filebox_api_name",i.FileBoxListFile="filebox_list_file",i.FileBoxUpdateFile="filebox_update_file",i.FileBoxDeleteFile="filebox_delete_file",i.FileBoxUploadFile="filebox_upload_file"},64037:function(e,t,n){"use strict";n.d(t,{b:function(){return r.b},z:function(){return i.z}});var r=n("31296"),i=n("61911")},1026:function(e,t,n){"use strict";var r,i;n.d(t,{U:function(){return r}}),(i=r||(r={})).logout="logout",i.loginStatusCheck="login_status_check",i.getBotList="get_bot_list",i.createBot="create_bot",i.updateBot="update_bot",i.createOcean="create_ocean",i.updateOcean="update_ocean",i.getHistoryInfo="get_history_info",i.publishBot="publish_bot",i.botDebugMessageReploy="bot_debug_message_reploy",i.getDatasetList="get_dataset_list",i.createDataSet="create_dataset",i.updateDataset="update_dataset",i.deleteDataset="delete_dataset",i.submitDatasetUrl="submit_dataset_url",i.uploadDatasetFile="upload_dataset_file",i.processDatasetTask="process_dataset_task",i.datasetGetSliceList="dataset_get_slice_list",i.datasetChangeSliceStatus="dataset_change_slice_status",i.datasetUpdateDocumnet="dataset_update_document",i.datasetUpdateSliceContent="dataset_update_slice_content",i.datasetUpdateWebRule="dataset_update_web_rule",i.datasetCreateSlice="dataset_create_slice",i.datasetDeleteSlice="dataset_delete_slice",i.datasetCheckBot="dataset_check_bot",i.processSubmitUrl="process_submit_url",i.botDebugSaveAll="bot_debug_save_all",i.botDebugShareBotGetLink="bot_debug_share_bot_get_link",i.botDebugGetRecord="bot_debug_get_record",i.botDebugAutosaveItem="bot_debug_autosave_item",i.botDebugGetPluginList="bot_debug_get_plugin_list",i.pluginPageGetPluginList="plugin_page_get_plugin_list",i.botDebugUploadImage="bot_debug_upload_image",i.botRevert="bot_revert",i.botSubmit="bot_submit",i.botMergeToDraft="bot_merge_to_draft",i.botGetDraftBotInfo="bot_get_draft_bot_info",i.copy="copy",i.botDuplicate="bot_duplicate",i.botExperience="bot_experience",i.botGetModelVoidTypeList="bot_get_model_voice_type_list",i.botGetTaskIntro="bot_get_task_intro",i.botCreatePresetTask="bot_create_preset_task",i.botGetScheduleTasks="bot_get_schedule_tasks",i.botRemoveScheduleTask="bot_remove_schedule_task",i.parseJSON="parse_json_error",i.botGetAiGenerateAvatar="bot_get_ai_generate_avatar",i.ttsVoiceConfig="tts_voice_config",i.ttsVoiceToken="tts_voice_token",i.ttsVoiceWs="tts_voice_ws",i.audioPlayError="audio_play_error",i.createDocument="create_document",i.botSendMsg="bot_send_msg"},76152:function(e,t,n){"use strict";var r;n.d(t,{T:function(){return r}}),(r||(r={})).InviteGetSpaceInfo="invite_get_space_info"},34417:function(e,t,n){"use strict";var r,i;n.d(t,{B:function(){return r}}),(i=r||(r={})).KnowledgeListDataset="knowledge_list_dataset",i.KnowledgeCreateKnowledge="knowledge_create_knowledge",i.KnowledgeUpdateKnowledge="knowledge_update_knowledge",i.KnowledgeUpdateDocumentStatus="knowledge_update_document_status",i.KnowledgeDeleteDocument="knowledge_delete_document",i.KnowledgeListDocument="knowledge_list_document",i.KnowledgeGetBotListByDataset="knowledge_get_bot_by_dataset",i.KnowledgeCheckBot="knowledge_check_bot",i.KnowledgeGetSliceList="knowledge_get_slice_list",i.KnowledgeProcessDocument="knowledge_process_document",i.KnowledgeSubmitWebURL="knowledge_submit_web_url",i.KnowledgeQueryWebInfo="knowledge_query_web_info",i.KnowledgeProcessWebDocument="knowledge_process_web_document",i.KnowledgeCreateDocument="knowledge_create_document",i.KnowledgeCreateSlice="knowledge_create_slice",i.KnowledgeUpdateSlice="knowledge_update_slice",i.KnowledgeDeleteSlice="knowledge_delete_slice",i.KnowledgeUploadFile="knowledge_upload_file",i.KnowledgeParseFile="knowledge_parse_file",i.KnowledgeGetTaskProgress="knowledge_get_task_progress",i.KnowledgeRenameDocument="knowledge_rename_document",i.KnowledgeUpdateDocumentFrequency="knowledge_update_document_frequency",i.KnowledgeUpdateDocumentName="knowledge_update_document_name",i.KnowledgeGetThirdDataSource="Knowledge_get_third_data_source",i.KnowledgeGetTableInfo="knowledge_get_table_info",i.KnowledgeGetAuthorizeFile="knowledge_get_authorize_file",i.KnowledgeUpdateDocument="knowledge_update_document",i.KnowledgeResegment="knowledge_resegment",i.KnowledgeTableSchemaValid="knowledge_table_schema_valid",i.KnowledgeTableAddSegment="knowledge_table_add_segment",i.KnowledgeDatasetsSegmentsFile="knowledge_datasets_segments_file",i.KnowledgeUseListDataSetReq="knowledge_use_list_data_set_req",i.KnowledgeListDataSet="knowledge_list_data_set",i.KnowledgeParseSiteMapUrl="knowledge_parse_site_map_url",i.KnowledgeCreateSubLinkDiscoveryTask="knowledge_create_sub_link_discovery_task",i.KnowledgeGetSubLinkDiscoveryTask="knowledge_get_sub_link_discovery_task",i.KnowledgeAbortSubLinkDiscoveryTask="knowledge_abort_sub_link_discovery_task",i.KnowledgeSubmitBatchCrawlTask="knowledge_submit_batch_crawl_task",i.KnowledgeSubmitBatchUrlCount="knowledge_submit_batch_url_count",i.KnowledgeSourceGetURL="knowledge_source_get_url",i.KnowledgePhotoList="knowledge_photo_list",i.KnowledgeUpdatePhotoCaption="knowledge_update_photo_caption",i.KnowledgeGeneratePhotoCaption="knowledge_generate_photo_caption",i.KnowledgeFetchWebUrl="knowledge_fetch_web_url",i.KnowledgeBatchUpdateDocument="knowledge_batch_update_document",i.KnowledgeGetDatasetRefDetail="knowledge_get_dataset_ref_detail",i.KnowledgeUpdateWechatFrequency="knowledge_update_wechat_frequency",i.KnowledgeGetAuthList="knowledge_get_auth_list",i.TimeCapsuleListItems="time_capsule_list_items",i.TimeCapsuleClearItems="time_capsule_clear_items",i.TimeCapsuleClearItemsInvalid="time_capsule_clear_items_invalid",i.TimeCapsuleSummary="time_capsule_summary",i.TimeCapsuleUpdateItem="time_capsule_update_item",i.TimeCapsuleDeleteItems="time_capsule_delete_items",i.TimeCapsulePluginJsonParseError="time_capsule_plugin_json_parse_error",i.KnowledgeProcessThirdDocument="knowledge_process_third_document",i.KnowledgeAssociateFile="knowledge_associate_file",i.KnowledgeThirdAuth="knowledge_third_auth",i.KnowledgeThirdFileCheck="knowledge_third_file_check",i.KnowledgeDataSourceFetch="knowledge_third_data_source_fetch",i.KnowledgeDataSourceDelete="knowledge_third_data_source_delete",i.KnowledgeGetThirdPartyGray="knowledge_get_third_party_gray",i.KnowledgeTableViewGetColWidth="knowledge_table_view_get_col_width",i.KnowledgeTableViewSetColWidth="knowledge_table_view_set_col_width",i.KnowledgeConnectorListFetch="knowledge_connector_list_fetch",i.KnowledgeGetConnectorEntity="knowledge_get_connector_entity",i.KnowledgeConnectorTaskSubmit="knowledge_connector_task_submit",i.KnowledgeConnectorTaskRetry="knowledge_connector_task_retry",i.KnowledgeConnectorTaskCancel="knowledge_connector_task_cancel",i.KnowledgeConnectorTaskPoll="knowledge_connector_task_poll",i.KnowledgeGetOAuthConsentURL="knowledge_get_oauth_url",i.KnowledgeDeleteConnectorAuth="knowledge_delete_connector_auth",i.KnowledgeSearchFeishuDocument="knowledge_search_feishu_document",i.KnowledgeGetFeishuDocumentTreeList="knowledge_get_feishu_document_tree_list",i.KnowledgeGetDataSetList="knowledge_get_dataset_list",i.KnowledgeGetDataSetDeatil="knowledge_get_dataset_detail",i.KnowledgeRefreshDocument="knowledge_refresh_document"},96317:function(e,t,n){"use strict";var r;n.d(t,{G:function(){return r}}),(r||(r={})).BotLastPublishInfoError="bot_last_publish_info_error"},78677:function(e,t,n){"use strict";var r,i;n.d(t,{P:function(){return r}}),(i=r||(r={})).PluginGetApis="plugin_get_apis",i.PluginInitError="plugin_init_error"},4279:function(e,t,n){"use strict";var r,i;n.d(t,{h:function(){return r}}),(i=r||(r={})).PublishCheckError="publish_check_error",i.HistoryPublishResultError="history_publish_result_error"},61911:function(e,t,n){"use strict";n.d(t,{z:function(){return o}}),n("83015"),n("50267");var r=n("19082"),i=n("10964");let o=e=>{let{eventName:t,logger:n,meta:o}=e,a=n||i.kg,s=[],l=0,u=!1,c=()=>{l=Date.now()},d=()=>({...o,...u?{event_has_finished:!0}:{}}),p=()=>{if(0!==s.length)return s.reduce((e,t,n)=>{let{pointName:i}=t;return e[i]=t.time-l,(0,r.Z)(e,["interval",i],0===n?e[i]:t.time-s[n-1].time),e},{})};return c(),{start:c,addDurationPoint:e=>{s.push({pointName:e,time:Date.now()})},getDuration:p,success:function(){let{meta:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.persist.success({eventName:t,meta:{...d(),success:1,duration:p(),...e}}),u=!0},error:e=>{let{reason:n,error:r,meta:i}=e;a.persist.error({eventName:t,error:r||Error(n),meta:{...d(),success:0,reason:n,...i}}),u=!0},getMeta:d}}},51223:function(e,t,n){"use strict";var r,i;n.d(t,{B:function(){return r}}),(i=r||(r={})).ConfirmSceneModalError="confirm_scene_modal",i.DeleteSceneMetaError="delete_scene_meta_error",i.DuplicateSceneMetaError="duplicate_scene_meta_error",i.SceneMetaListSearchError="scene_meta_list_search_error",i.SceneMetaListLoadMoreError="scene_meta_list_load_more_error",i.SceneModalCallbackIdEmptyError="scene_modal_callback_id_empty_error"},66765:function(e,t,n){"use strict";var r;n.d(t,{f:function(){return r}}),(r||(r={})).EmptyOrderCheckoutUrl="empty_order_checkout_url"},31278:function(e,t,n){"use strict";var r,i;n.d(t,{B:function(){return r}}),(i=r||(r={})).VariableGetValue="variable_get_value",i.VariableSetValue="variable_set_value",i.VariableDeleteValue="variable_delete_value"},44285:function(e,t,n){"use strict";var r;n.d(t,{e:function(){return r}}),(r||(r={})).WorkFlowOldError="work_flow_old_error"},35026:function(){"use strict";var e,t,n,r;(n=e||(e={})).Home="home",n.Explore="explore",n.Store="store",n.Model="model",n.Space="space",n.Workflow="work_flow",n.Invite="invite",n.Token="token",n.Open="open",n.PluginMockSet="plugin_mock_set",n.Search="search",n.Premium="premium",n.User="user",(r=t||(t={})).BOT="bot",r.DEVELOP="develop",r.LIBRARY="library",r.PLUGIN="plugin",r.WORKFLOW="workflow",r.KNOWLEDGE="knowledge",r.TEAM="team",r.PERSONAL="personal",r.WIDGET="widget",r.EVALUATION="evaluation",r.SOCIAL_SCENE="social-scene",r.IMAGEFLOW="imageflow"},99091:function(e,t,n){"use strict";(0,n("22296").Z)()},64559:function(e,t,n){"use strict";n.d(t,{H:function(){return o}}),n("50267");var r=n("12045");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class o{static create(e){if(o.instances.has(e))return o.instances.get(e);let t=new o;return o.instances.set(e,t),t}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!this.started){this.buffer.push({event:e,args:n});return}this.eventEmitter.emit(e,...n)}on(e,t){this.eventEmitter.on(e,t)}off(e,t){this.eventEmitter.off(e,t)}start(){for(let{event:e,args:t}of(this.started=!0,this.buffer))this.emit(e,...t)}stop(){this.started=!1}clear(){this.buffer=[]}constructor(){i(this,"eventEmitter",new r.Z),i(this,"started",!0),i(this,"buffer",[])}}i(o,"instances",new Map)},10366:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});let r=(()=>{let e=new Map;return new Proxy(Object.create(null),{get(t,n){if(e.has(n))return e.get(n)},set:(t,n,r)=>(e.set(n,r),!0)})})()},18234:function(e,t,n){"use strict";n.d(t,{H$:function(){return i.H},uX:function(){return r.u},xk:function(){return o.x}});var r=n("20630"),i=n("64559"),o=n("10366");n("35026"),n("99091")},20630:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=e=>{location.href=e}},4455:function(e,t,n){"use strict";n.d(t,{DP:function(){return u}});var r=n("35979"),i=n("44955");let o="{{first_index}}",a="{{last_index}}",s=(e,t)=>null==e?t:"number"==typeof e?"number":"string"==typeof e?"string":"boolean"==typeof e?"boolean":Array.isArray(e)?"array":"object",l=e=>{var t;let{condition:n,left:i,calcFn:s,isLast:l}=e;if((null==n?void 0:null===(t=n.left)||void 0===t?void 0:t.dynamic_key)==="index"&&n.right&&(n.right.dynamic_key===o||n.right.dynamic_key===a)){if(n.right.dynamic_key===o)return s(i,0);if(n.right.dynamic_key===a)return n.operator===r.e.Equal?l:!l}return null},u=(e,t,n)=>{var o;let a=e=>(null==e?void 0:e.value)!==void 0?e.value:e.dynamic_key?t(null==e?void 0:e.dynamic_key):void 0;if(!e)return!1;let c=e.condition?(e=>{var t,r;if(!e||!e.operator||!(null===(t=e.left)||void 0===t?void 0:t.type))return!1;let o=a(e.left),{operator:u}=e,c=s(o,e.left.type);if(c!==e.left.type&&!("index"===e.left.type&&"number"===c))return!1;let d=null===(r=i.E[c])||void 0===r?void 0:r[u];if(!d)return!1;let p=l({condition:e,left:o,calcFn:d,isLast:!!n});return"boolean"==typeof p?p:d.length>1?d(o,e.right?void 0!==e.right.value?e.right.value:"string"==typeof e.right.dynamic_key?a(e.right):void 0:void 0):d(o)})(e.condition):void 0;return(null===(o=e.children)||void 0===o?void 0:o.length)&&e.logical_operator?(void 0===c&&(c=e.logical_operator===r.F.And),e.children.reduce((i,o)=>e.logical_operator===r.F.And?i&&u(o,t,n):i||u(o,t,n),c)):!!c}},44955:function(e,t,n){"use strict";n.d(t,{E:function(){return a}}),n("98810");var r=n("35979");let i=e=>"string"==typeof e?[...e].length:"number"==typeof e?e:NaN,o=e=>Array.isArray(e)?e.length:"number"==typeof e?e:NaN,a={string:{[r.e.Equal]:(e,t)=>"string"==typeof e&&e===t,[r.e.NotEqual]:(e,t)=>"string"==typeof e&&e!==t,[r.e.LengthGreater]:(e,t)=>"string"==typeof e&&[...e].length>i(t),[r.e.LengthGreaterOrEqual]:(e,t)=>"string"==typeof e&&[...e].length>=i(t),[r.e.LengthLess]:(e,t)=>"string"==typeof e&&[...e].length<i(t),[r.e.LengthLessOrEqual]:(e,t)=>"string"==typeof e&&[...e].length<=i(t),[r.e.Contain]:(e,t)=>"string"==typeof e&&"string"==typeof t&&e.includes(t),[r.e.NotContain]:(e,t)=>"string"==typeof e&&!("string"==typeof t&&e.includes(t)),[r.e.IsEmpty]:e=>null==e||""===e,[r.e.NotEmpty]:e=>"string"==typeof e&&""!==e},number:{[r.e.Equal]:(e,t)=>"number"==typeof e&&"number"==typeof t&&e===t,[r.e.NotEqual]:(e,t)=>"number"==typeof e&&e!==t,[r.e.Greater]:(e,t)=>"number"==typeof e&&"number"==typeof t&&e>t,[r.e.GreaterOrEqual]:(e,t)=>"number"==typeof e&&"number"==typeof t&&e>=t,[r.e.Less]:(e,t)=>"number"==typeof e&&"number"==typeof t&&e<t,[r.e.LessOrEqual]:(e,t)=>"number"==typeof e&&"number"==typeof t&&e<=t,[r.e.IsEmpty]:e=>null==e||0===e,[r.e.NotEmpty]:e=>"number"==typeof e&&Number.isFinite(e)&&0!==e},boolean:{[r.e.Equal]:(e,t)=>"boolean"==typeof e&&e===t,[r.e.NotEqual]:(e,t)=>"boolean"==typeof e&&e!==t,[r.e.IsTrue]:e=>!0===e,[r.e.IsFalse]:e=>!1===e,[r.e.IsEmpty]:e=>null==e,[r.e.NotEmpty]:e=>"boolean"==typeof e},array:{[r.e.LengthEqual]:(e,t)=>Array.isArray(e)&&e.length===o(t),[r.e.LengthGreater]:(e,t)=>Array.isArray(e)&&e.length>o(t),[r.e.LengthGreaterOrEqual]:(e,t)=>Array.isArray(e)&&e.length>=o(t),[r.e.LengthLess]:(e,t)=>Array.isArray(e)&&e.length<o(t),[r.e.LengthLessOrEqual]:(e,t)=>Array.isArray(e)&&e.length<=o(t),[r.e.Contain]:(e,t)=>Array.isArray(e)&&("number"==typeof t||"string"==typeof t||"boolean"==typeof t)&&e.includes(t),[r.e.NotContain]:(e,t)=>Array.isArray(e)&&!(("number"==typeof t||"string"==typeof t||"boolean"==typeof t)&&e.includes(t)),[r.e.IsEmpty]:e=>null==e||Array.isArray(e)&&0===e.length,[r.e.NotEmpty]:e=>Array.isArray(e)&&e.length>0},object:{[r.e.IsEmpty]:e=>null==e||"object"==typeof e&&0===Object.keys(e).length,[r.e.NotEmpty]:e=>!!("object"==typeof e&&e&&Object.keys(e).length>0)},index:{[r.e.Equal]:(e,t)=>"number"==typeof e&&e===t,[r.e.NotEqual]:(e,t)=>"number"==typeof e&&e!==t}}},35979:function(e,t,n){"use strict";var r,i,o,a;n.d(t,{F:function(){return r},e:function(){return i}}),(o=r||(r={})).And="and",o.Or="or",(a=i||(i={})).Equal="eq",a.NotEqual="neq",a.Greater="gt",a.GreaterOrEqual="gte",a.Less="lt",a.LessOrEqual="lte",a.LengthEqual="len_eq",a.LengthGreater="len_gt",a.LengthGreaterOrEqual="len_gte",a.LengthLess="len_lt",a.LengthLessOrEqual="len_lte",a.Contain="contain",a.NotContain="not_contain",a.IsEmpty="empty",a.NotEmpty="not_empty",a.IsTrue="is_true",a.IsFalse="is_false"},78664:function(e,t,n){"use strict";n.d(t,{DP:function(){return r.DP}}),n("35979");var r=n("4455");n("16205")},16205:function(){"use strict";var e,t;(t=e||(e={}))[t.VideoRejected=-50]="VideoRejected",t[t.AudioRejected=-40]="AudioRejected",t[t.ImageRejected=-30]="ImageRejected",t[t.TextRejected=-20]="TextRejected",t[t.Rejected=-1]="Rejected",t[t.Approved=1]="Approved",t[t.Pending=100]="Pending"},63262:function(e,t,n){"use strict";var r=n("91040");t.ZP=r.Z},13584:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("31740"),i=n("11532");function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class a extends i.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidUpdate(e){this.props.dsl!==e.dsl&&this.setState({hasError:!1})}componentDidCatch(e,t){console.error(e,t),this.props.onError&&this.props.onError({code:-1,msg:`some error happened in card render: ${e.message}`})}render(){return this.state.hasError?(0,r.jsxs)(r.Fragment,{children:[this.props.debug?(0,r.jsx)("button",{style:{backgroundColor:"dodgerblue",border:"none",color:"white",padding:"10px 20px",textAlign:"center",textDecoration:"none",display:"inline-block",fontSize:"14px",margin:"4px 2px",cursor:"pointer"},onClick:this.handleClick,children:"refresh"}):null,(0,r.jsx)("h1",{children:"Something went wrong."})]}):this.props.children}constructor(...e){super(...e),o(this,"state",{hasError:!1}),o(this,"handleClick",()=>{this.setState({hasError:!1})})}}},12299:function(e,t,n){"use strict";n("83015");var r=n("31740");n("11532");var i=n("60508"),o=n("31129"),a=n("37896"),s=n("7103");function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,o.Z)();class u{get blockPrefix(){return this._blockPrefix}get remoteForce(){return this._remoteForce}get runtimeOptions(){return this._runtimeOptions}get remoteModulesLoadMap(){return this._remoteModulesLoadMap}static getInstance(e){return!u._instance&&(u._instance=new u(e)),u._instance}setRuntimeOptions(e){this._runtimeOptions=e}setBlockPrefix(e){this._blockPrefix=e}setRemoteForce(e){this._remoteForce=e}get dependencies(){return this._dependencies}setDependencies(e){this._dependencies=e}init(e,t,n){if(Object.keys(this.dependencies).length)return;let{remoteForce:i}=n;this.setBlockPrefix(e),this.setDependencies(t),this.setRuntimeOptions(n),i&&this.setRemoteForce(i),this._componentMap={Root:e=>(0,r.jsx)("div",{...e}),...window._FLOWPD_CARD_COMPONENT_CACHE_||{},...n.components||{}}}extractPackageAndComponent(e){let t=e.match(/((?:@[^/]+\/)?[^/]+)\/(\w+)/);if(t){let e=t[1];return{packageName:e,componentName:t[2]}}throw Error("The input format does not match!")}getInnerComponent(e){return s.y[e]}getComponent(e){var t,n;if(this.runtimeOptions.customGetComponent)return this.runtimeOptions.customGetComponent(e);if(this._componentMap[e])return this._componentMap[e];let{packageName:o,componentName:s}=this.extractPackageAndComponent(e);if(!this.remoteForce&&a.uS[o])return this._componentMap[e]=this.getInnerComponent(o)[s],window._FLOWPD_CARD_COMPONENT_CACHE_={...this._componentMap},this._componentMap[e];let l=null===(n=this._dependencies)||void 0===n?void 0:null===(t=n.components)||void 0===t?void 0:t[o];if(!l)return null;this._remoteModulesLoadMap[l.pkgName]=!1;let u=l.url||`${this.blockPrefix}/${l.pkgName}/${l.version}/index.js`;return this._componentMap[e]=e=>(0,r.jsx)(i.Z,{name:l.pkgName,version:l.version,componentName:s,props:{...e,region:this.runtimeOptions.region},url:u,onLoaded:()=>{this._remoteModulesLoadMap[l.pkgName]=!0},onError:e=>{var t;console.error("block load error:",e),null===(t=this._runtimeOptions)||void 0===t||t.onError({code:-3,msg:`block load error, ${l.pkgName}@${l.version}: ${e.message}`})}}),window._FLOWPD_CARD_COMPONENT_CACHE_={...this._componentMap},this._componentMap[e]}clearRemoteModulesLoadMap(){this._remoteModulesLoadMap={}}constructor(e,t={},n){l(this,"_blockPrefix",void 0),l(this,"_dependencies",void 0),l(this,"_componentMap",void 0),l(this,"_remoteModulesLoadMap",void 0),l(this,"_remoteForce",void 0),l(this,"_runtimeOptions",void 0),this._blockPrefix=e,this._dependencies=t,this._componentMap=n||{Root:e=>(0,r.jsx)("div",{...e}),...window._FLOWPD_CARD_COMPONENT_CACHE_||{}},this._remoteModulesLoadMap={},this._runtimeOptions={}}}l(u,"_instance",null);let c=u.getInstance("");t.Z=c},7103:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r={}},45315:function(e,t,n){"use strict";n.d(t,{Zb:function(){return v}}),n("83015");var r=n("31740"),i=n("11532"),o=n("58498"),a=n.n(o),s=n("78664"),l=n("4475"),u=n("40875");let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";if(!e.trim())return e;let[n,r]=e.match(/{{(.*?)}}/)||[];if(0===e.replace(n,"").trim().length){let e=r.replace(/\s/g,"");return(0,l.m)(t,e)}return e.replace(/{{(.*?)}}/gs,function(e,n){let r=n.replace(/\s/g,"").split("."),i=(0,l.m)(t,r);return"object"==typeof i&&null!==i?JSON.stringify(i):i})},d=e=>!!(e&&"object"==typeof e&&"type"in e&&e.type===u.n.EXPRESSION),p=(e,t)=>e&&"object"==typeof e?d(e)?c(e.value||"",t):Array.isArray(e)?e.map(e=>p(e,t)):Object.fromEntries(Object.entries(e).map(e=>{let[n,r]=e;return[n,p(r,t)]})):e,h=(e,t,n)=>{let{type:i,children:o,directives:l}=e,{isLastChild:d,...p}=n;if(null==l?void 0:l.repeat){let i=l.repeat.value;if(l.repeat.type===u.F.EXPRESSION&&(i=c(l.repeat.value||"",{...n.initState,index:n.index,item:n.item})),!i){var f;let r=a()(e);return null===(f=r.directives)||void 0===f||delete f.repeat,h(r,t,n)}let o=i.length-1;return(0,r.jsx)(r.Fragment,{children:i.map((r,i)=>{var s;if(null==r)return null;let l=a()(e);return null===(s=l.directives)||void 0===s||delete s.repeat,h(l,t,{...n,item:r,isLast:i===o,index:i})})})}if(null==l?void 0:l.condition){let{enableType:e,expression:t}=l.condition;if(("hidden"===e||"visible"===e)&&t&&Object.keys(t).length>0){let r=(0,s.DP)(t,e=>c(`{{${e}}}`,{...n.initState,index:n.index,item:n.item}),null==n?void 0:n.isLast);if("visible"===e&&!r||"hidden"===e&&r)return null}}if(!p.componentLib.getComponent(i))throw console.error("Invalid type in DSL: ",i),Error("Invalid type in DSL");if(p.isLast&&d&&i.endsWith("Divider"))return null;let m=null;return Array.isArray(o)&&(null==o?void 0:o.length)>0&&(m=o.map(e=>h(t.elements[e],t,{...p}))),g(p.componentLib.getComponent(i),e,t,{...p,children:m})},f=function(e){var t,n,r,i;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(Array.isArray(e))return(null===(t=e[0])||void 0===t?void 0:t.type)===u.n.SLOT||(null===(n=e[0])||void 0===n?void 0:n.type)===u.n.WORKSPACE_SLOT?e.map((e,t)=>(e.type=u.n.WORKSPACE_SLOT,e.config&&(e.config.__index__=t),f(e,o,a,s))):p(e,o);return(null==e?void 0:e.type)===u.n.SLOT?null==e?void 0:null===(r=e.children)||void 0===r?void 0:r.map((t,n)=>h(a.elements[t],a,{initState:o,item:null==o?void 0:o.item,index:null==o?void 0:o.index,isLastChild:n===(null==e?void 0:e.children).length-1,...s})):(null==e?void 0:e.type)===u.n.WORKSPACE_SLOT?{content:(t,n)=>{var r;return null==e?void 0:null===(r=e.children)||void 0===r?void 0:r.map((r,i)=>h(a.elements[r],a,{initState:o,item:"number"==typeof n?t:null==o?void 0:o.item,index:"number"==typeof n?n:null==o?void 0:o.index,isLastChild:i===(null==e?void 0:e.children).length-1,...s}))},config:Object.entries((null==e?void 0:e.config)||{}).reduce((e,t)=>{let[n,r]=t;return"__index__"!==n&&(e[n]=f(r,o,a,s)),e},{}),key:null===(i=e.config)||void 0===i?void 0:i.__index__}:p(e,o)},g=(e,t,n,i)=>{let{props:o={}}=t,a=null==i?void 0:i.initState,s=Object.entries(o).reduce((e,t)=>{let[r,o]=t;try{e[r]=f(o,{...a,item:null==i?void 0:i.item,index:null==i?void 0:i.index},n,{isLast:null==i?void 0:i.isLast,componentLib:i.componentLib,commonProps:i.commonProps,onContentRendered:i.onContentRendered})}catch(e){console.error(`Error resolving prop value for key: ${r}.`,e)}return e},{});return"root"!==t.id&&i.onContentRendered(),(0,r.jsx)(e,{...i.commonProps,...s,blockId:t.id,children:(null==s?void 0:s.children)||(null==i?void 0:i.children)||null})},m=(e,t)=>{let n,{afterRender:r,initState:i,componentLib:o,onError:a,commonProps:s}=t,{rootID:l}=e,u=e.elements[l],c=!1;try{n=h(u,e,{afterRender:r,initState:i,componentLib:o,commonProps:s,onContentRendered:()=>{c=!0}})}catch(e){null==a||a({code:-2,msg:`some error happened in dsl parser: ${e.message}`}),console.error("parse DSL error: ",e)}return c?n:(o.clearRemoteModulesLoadMap(),null)},_=e=>{let t=(null==e?void 0:e.variables)||{},n={};try{Object.keys(t).forEach(e=>{var r,i,o,a,s;Array.isArray(null==t?void 0:null===(r=t[e])||void 0===r?void 0:r.defaultValue)?n[e]=[...(null==t?void 0:null===(o=t[e])||void 0===o?void 0:o.defaultValue)||[]]:"object"==typeof(null==t?void 0:null===(i=t[e])||void 0===i?void 0:i.defaultValue)?n[e]={...(null==t?void 0:null===(a=t[e])||void 0===a?void 0:a.defaultValue)||{}}:n[e]=null==t?void 0:null===(s=t[e])||void 0===s?void 0:s.defaultValue})}catch(e){console.error("init state parse error: ",e)}return n},v=e=>{let{dsl:t,afterRender:n,componentLib:o,onError:a,cardRef:s,onElementOver:l,onElementOut:u,commonProps:c}=e,d=_(t),p=t?m(t,{afterRender:n,initState:d,componentLib:o,onError:a,commonProps:c}):void 0;return(0,i.useEffect)(()=>{void 0!==p?null==n||n():p=(0,r.jsx)("h1",{children:"Something went wrong."})},[]),(0,r.jsx)("div",{ref:s,style:{overflow:"hidden"},onMouseOver:l,onMouseOut:u,children:p})}},91040:function(e,t,n){"use strict";var r=n("31740"),i=n("11532"),o=n("2139"),a=n("176"),s=n("37896"),l=n("13584"),u=n("45315"),c=n("12299");n("63215");let d=(0,r.jsx)("div",{style:{zIndex:1,width:"100%",height:"100%",position:"absolute",top:0,left:0,pointerEvents:"all"}}),p=(e,t)=>n=>{var r;if(!e)return;let i=n.target.closest("[data-link]");i&&(null===(r=t.current)||void 0===r?void 0:r.contains(i))&&e({element:i,link:i.dataset.link})};t.Z=e=>{let{blockPrefix:t,dsl:n,dependencies:h,afterRender:f,onError:g,remoteForce:m=!0,region:_=s.CG.BOE,cardRef:v,isCoze:b,eventCallbacks:y={},components:w,debug:S,customGetComponent:A,readonly:T,disabled:x=!1,theme:k="light",lang:M="en"}=e||{},[P,I]=(0,i.useState)(h||null),{onLinkElementEnter:E,onLinkElementLeave:C}=y,O=e=>{g&&g(e),(0,o.G)(o.K.card_webruntime_error,e)},D=(0,i.useRef)(null),L=performance.now(),B=()=>{let e=performance.now();(0,o.G)(o.K.card_webruntime_render,{duration:e-L}),f&&f()},N=t||s.X6[_];return P&&c.Z.init(N,P,{remoteForce:m,onError:O,region:_,components:w,customGetComponent:A}),(0,i.useEffect)(()=>{h&&I(h)},[h]),(0,i.useEffect)(()=>{!h&&!async function(){let e=await (0,s.nJ)(b);c.Z.init(N,e,{remoteForce:m,onError:O,region:_,components:w,customGetComponent:A}),I(e)}()},[]),(0,i.useEffect)(()=>{(0,o.G)(o.K.card_webruntime_view,{type:"exp"})},[]),(0,r.jsx)(l.Z,{dsl:n,debug:S,onError:O,children:P?(0,r.jsxs)("div",{className:`${k}-theme`,style:{position:"relative"},ref:D,children:[(0,r.jsx)(u.Zb,{cardRef:v,dsl:n,componentLib:c.Z,afterRender:()=>{(0,a.$)(B)},onError:O,onElementOut:p(C,D),onElementOver:p(E,D),commonProps:{...y,disabled:x,cardState:n.status||{},lang:M}}),T?d:null]}):null})}},40875:function(e,t,n){"use strict";var r,i,o;n.d(t,{F:function(){return i},n:function(){return r}}),(o=r||(r={})).SLOT="slot",o.WORKSPACE_SLOT="workspaceSlot",o.EXPRESSION="expression",o.ACTION="action",(i||(i={})).EXPRESSION="expression"},37896:function(e,t,n){"use strict";n.d(t,{CG:function(){return i},X6:function(){return c},nJ:function(){return u},uS:function(){return a}});var r,i,o=n("18783");let a={},s={components:{"@flowpd/cici-components":{pkgName:"@flowpd/cici-components",version:"0.12.1-alpha.0"},"@flowpd/lark-components":{pkgName:"@flowpd/lark-components",version:"0.2.4"},"@flowpd/discord-components":{pkgName:"@flowpd/discord-components",version:"0.2.0-alpha.x8cba6a923"},"@flowpd/telegram-components":{pkgName:"@flowpd/telegram-components",version:"0.2.0-alpha.xf22ebab5b"}},views:{}},l=null,u=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(l)return l;try{var t;let n=await o.Z.post(`${e?"":"https://www.coze.cn"}/api/card_builder/get_card_tcc_info`,{},{headers:{"Content-Type":"application/json"}}),r=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.card_builder_package_detail;if(r){let e=JSON.parse(r);Object.keys(e).forEach(t=>{var n;let r=null===(n=e[t])||void 0===n?void 0:n.version;s.components[t]={pkgName:t,version:r}})}}catch(e){console.error("getTccDeps error: ",e)}return l=s,s};(r=i||(i={})).BOE="boe",r.BOE_I18N="boe-i18n",r.CN_INHOUSE="cn-inhouse",r.CN_RELEASE="cn-release",r.SG_INHOUSE="sg-inhouse",r.SG_RELEASE="sg-release",r.VA_RELEASE="va-release",r.US="us";let c={boe:"https://lf-coze-web-cdn.coze.cn/obj/coze-web-cn/obric/card_builder_static/material","cn-inhouse":"https://lf-coze-web-cdn.coze.cn/obj/coze-web-cn/obric/card_builder_static/material","cn-release":"https://lf-coze-web-cdn.coze.cn/obj/coze-web-cn/obric/card_builder_static/material"}},4475:function(e,t,n){"use strict";n.d(t,{m:function(){return o}}),n("79507");var r=n("58498"),i=n.n(r);let o=(e,t,n)=>{let r=Array.isArray(t)?t:t.split(".");if(!r.length)return n;let o=i()(e);return Object.hasOwn(e,r[0])?(r.forEach(e=>{o=o&&Object.prototype.hasOwnProperty.call(o,e)?o[e]:void 0}),void 0!==o?o:n):n??`{{${t}}}`}},31129:function(e,t,n){"use strict";var r,i,o,a=n("32408"),s=n("54432"),l=n("11532"),u=n("31740"),c=n("88663");window.process={env:{}},t.Z=()=>{(0,a.Z$)({externals:{react:r||(r=n.t(l,2)),"react/jsx-runtime":i||(i=n.t(u,2)),"react-dom":o||(o=n.t(s,2)),"@edenx/runtime/starry/block":c}})}},176:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n("12299"),i=n("37896");let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=0;return function o(a){var s,l;let u=!1;if((r.Z.remoteForce||!Object.keys((null===(s=r.Z.dependencies)||void 0===s?void 0:s.components)||{}).length||Object.entries((null===(l=r.Z.dependencies)||void 0===l?void 0:l.components)||{}).some(e=>{let[t,n]=e;return i.uS[t]&&(null==n?void 0:n.version)&&(null==n?void 0:n.version)!==i.uS[t]}))&&(u=!0),!u){a();return}if(Object.values(r.Z.remoteModulesLoadMap).every(e=>!0===e)||n>e){console.log("Polling stopped"),a();return}console.log("Polling..."),setTimeout(()=>o(a),n+=t)}}(3e4)},2139:function(e,t,n){"use strict";var r,i;n.d(t,{G:function(){return o},K:function(){return r}}),(i=r||(r={})).card_webruntime_view="card_webruntime_view",i.card_webruntime_render="card_webruntime_render",i.card_webruntime_error="card_webruntime_error";let o=(e,t)=>{var n;null===(n=window.Tea)||void 0===n||n.event(e,t)}},89064:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});let r=n("54666").rA},54666:function(e,t,n){"use strict";n.d(t,{rA:function(){return g}});var r=n("31740");n("9757");var i=n("11532"),o=n("6500"),a=n("39019"),s=n.n(a),l=n("7753");let{ChatFlowFramework:u,ChatSlot:c,useSendMessage:d,ChatType:p,RawMessageType:h}=s(),f=(0,i.forwardRef)((e,t)=>{let{sendMessage:n}=d();return(0,i.useImperativeHandle)(t,()=>({sendMessage:e=>{n(e)}}),[n]),(0,r.jsx)(c,{})}),g=(0,i.forwardRef)((e,t)=>{let{workflow:n}=e,a=(0,i.useMemo)(()=>{var t,n,r,i,o;return{onImageClick:null===(t=e.eventCallbacks)||void 0===t?void 0:t.onImageClick,onGetChatFlowExecuteId:null===(n=e.eventCallbacks)||void 0===n?void 0:n.onGetChatFlowExcuteId,onThemeChange:null===(r=e.eventCallbacks)||void 0===r?void 0:r.onThemeChange,onInitSuccess:null===(i=e.eventCallbacks)||void 0===i?void 0:i.onInitSuccess,message:{afterMessageReceivedFinish:null===(o=e.eventCallbacks)||void 0===o?void 0:o.afterMessageReceivedFinish}}},[e.eventCallbacks]),s=(0,i.useMemo)(()=>{var t,n,r;return{id:(null===(t=e.userInfo)||void 0===t?void 0:t.id)||"",name:(null===(n=e.userInfo)||void 0===n?void 0:n.nickname)||"",avatar:(null===(r=e.userInfo)||void 0===r?void 0:r.url)||""}},[e.userInfo]),{auth:c}=e,d=(0,i.useMemo)(()=>{var t,n,i,o,a,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O;return{layout:null===(t=e.project)||void 0===t?void 0:t.layout,isDisabled:null===(n=e.areaUi)||void 0===n?void 0:n.isDisabled,input:{isNeed:null===(o=e.areaUi)||void 0===o?void 0:null===(i=o.input)||void 0===i?void 0:i.isShow,isNeedAudio:(null===(s=e.areaUi)||void 0===s?void 0:null===(a=s.input)||void 0===a?void 0:a.isNeedAudio)??!0,placholder:null===(u=e.areaUi)||void 0===u?void 0:null===(l=u.input)||void 0===l?void 0:l.placeholder,isNeedTaskMessage:null===(d=e.areaUi)||void 0===d?void 0:null===(c=d.input)||void 0===c?void 0:c.isNeedTaskMessage,defaultText:null===(h=e.areaUi)||void 0===h?void 0:null===(p=h.input)||void 0===p?void 0:p.defaultText,renderChatInputTopSlot:null===(g=e.areaUi)||void 0===g?void 0:null===(f=g.input)||void 0===f?void 0:f.renderChatInputTopSlot},clearContext:(null===(m=e.project)||void 0===m?void 0:m.mode)==="websdk"?{isNeed:!0,position:"inputLeft"}:{isNeed:!1},clearMessage:(null===(_=e.project)||void 0===_?void 0:_.mode)==="websdk"?{isNeed:!0,position:"headerRight"}:{isNeed:(null===(v=e.areaUi)||void 0===v?void 0:v.isNeedClearMessage)===void 0||(null===(b=e.areaUi)||void 0===b?void 0:b.isNeedClearMessage),position:"inputLeft"},uploadBtn:{isNeed:null===(y=e.areaUi)||void 0===y?void 0:y.uploadalbe},uiTheme:null===(w=e.areaUi)||void 0===w?void 0:w.uiTheme,renderLoading:null===(S=e.areaUi)||void 0===S?void 0:S.renderLoading,header:{isNeed:(null===(T=e.areaUi)||void 0===T?void 0:null===(A=T.header)||void 0===A?void 0:A.isShow)||!1,icon:null===(x=e.project)||void 0===x?void 0:x.iconUrl,title:null===(k=e.project)||void 0===k?void 0:k.name,renderRightSlot:()=>{var t,n;return(0,r.jsx)(r.Fragment,{children:(null===(n=e.areaUi)||void 0===n?void 0:null===(t=n.header)||void 0===t?void 0:t.extra)||null})}},footer:{isNeed:null===(P=e.areaUi)||void 0===P?void 0:null===(M=P.footer)||void 0===M?void 0:M.isShow,expressionText:null===(E=e.areaUi)||void 0===E?void 0:null===(I=E.footer)||void 0===I?void 0:I.expressionText,linkvars:null===(O=e.areaUi)||void 0===O?void 0:null===(C=O.footer)||void 0===C?void 0:C.linkvars}}},[e.areaUi,e.project]),p=(0,i.useMemo)(()=>({apiBaseUrl:l.a2,cdnBaseUrlPath:l.pl,language:o.oc.language,logLevel:"release",...e.setting||{}}),[]),h=(0,i.useMemo)(()=>{var t,n,r,i,o,a,s,l,u,c,d;return{id:(null===(t=e.project)||void 0===t?void 0:t.id)||"",type:null===(n=e.project)||void 0===n?void 0:n.type,mode:null===(r=e.project)||void 0===r?void 0:r.mode,caller:null===(i=e.project)||void 0===i?void 0:i.caller,defaultName:null===(o=e.project)||void 0===o?void 0:o.defaultName,defaultIconUrl:null===(a=e.project)||void 0===a?void 0:a.defaultIconUrl,connectorId:null===(s=e.project)||void 0===s?void 0:s.connectorId,conversationName:null===(l=e.project)||void 0===l?void 0:l.conversationName,name:null===(u=e.project)||void 0===u?void 0:u.name,iconUrl:null===(c=e.project)||void 0===c?void 0:c.iconUrl,OnBoarding:null===(d=e.project)||void 0===d?void 0:d.onBoarding}},[e.project]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(u,{workflow:n,project:h,userInfo:s,eventCallbacks:a,auth:c,style:e.style,areaUi:d,setting:p,children:(0,r.jsx)(f,{ref:t})})})})},69589:function(e,t,n){"use strict";n.d(t,{a:function(){return h}});var r=n("31740"),i=n("11532"),o=n("35428"),a=n("5670"),s=n("37896"),l=n("63262"),u=n("14229"),c=n("84151");let d=s.CG.CN_RELEASE,p=e=>e&&"card_type"in e&&3===e.card_type,h=(0,i.memo)(e=>{let{message:t,isReadOnly:n,sendTextMessage:o,i18n:a,onImageClick:s}=e,h=(0,i.useMemo)(()=>(0,u.f5)((null==t?void 0:t.content)||""),[null==t?void 0:t.content]),f=(0,i.useMemo)(()=>(0,u.f5)((null==h?void 0:h.data)||""),[null==h?void 0:h.data]),g=(0,i.useMemo)(()=>({sendMsg:e=>{e.msg&&(null==o||o(e.msg))},previewImage:e=>{let{url:t}=e;null==s||s({url:t})}}),[o,s]);return p(h)?(0,r.jsx)("div",{className:c.Z["card-content"],children:(0,r.jsx)(l.ZP,{disabled:n,isCoze:!1,region:d,dsl:f,lang:(null==a?void 0:a.language)==="zh-CN"?"zh-CN":"en",eventCallbacks:g,readonly:n})}):null},(e,t)=>{let n=["message","isReadOnly","sendTextMessage","i18n"];return(0,o.Z)((0,a.Z)(e,n),(0,a.Z)(t,n))})},77802:function(e,t,n){"use strict";n.d(t,{te:function(){return h},z_:function(){return d}});var r=n("31740");n("9757");var i=n("11532"),o=n("39019"),a=n.n(o),s=n("7753"),l=n("69589");let{ChatFramework:u,ChatSlot:c,ChatType:d,RawMessageType:p}=a(),h=e=>{let{ui:t,setting:n,...o}=e,a=(0,i.useMemo)(()=>{var e;let n=(null==t?void 0:null===(e=t.chatSlot)||void 0===e?void 0:e.message)||{};return n.card=n.card||{isSupportMessage:()=>!0,renderMessage:e=>(0,r.jsx)(l.a,{...e})},{...t||{},chatSlot:{...(null==t?void 0:t.chatSlot)||{},message:n}}},[t]),d=(0,i.useMemo)(()=>({logLevel:"release",apiBaseUrl:s.a2,cdnBaseUrlPath:s.pl,...n||{}}),[n]);return(0,r.jsx)(u,{...o,ui:a,setting:d,children:(0,r.jsx)(c,{})})}},98654:function(e,t,n){"use strict";var r,i,o,a,s,l,u,c,d,p;n.d(t,{Ar:function(){return r},Gr:function(){return o},Tb:function(){return s},aq:function(){return a},z_:function(){return i}}),(l=r||(r={})).PC="pc",l.MOBILE="mobile",(u=i||(i={})).BOT="bot",u.APP="app",(c=o||(o={})).UNAUTH="unauth",c.TOKEN="token",(d=a||(a={})).GET_IFRAME_PARAMS="GET_IFRAME_PARAMS",d.GET_NEW_TOKEN="GET_NEW_TOKEN",d.THEME_CHANGE="THEME_CHANGE",(p=s||(s={}))[p.TIMEOUT=-1]="TIMEOUT",p[p.UNKNOWN=-2]="UNKNOWN",p[p.FORBIDDEN=-3]="FORBIDDEN",p[p.SUCCESS=0]="SUCCESS",p[p.AUTH_FAILED=100001]="AUTH_FAILED",p[p.AUTH_TOKEN_GET_FAILED=100002]="AUTH_TOKEN_GET_FAILED"},41224:function(e,t,n){"use strict";var r,i;n.d(t,{S:function(){return r}}),(i=r||(r={})).EN="en",i.ZH_CN="zh-CN"},55959:function(e,t,n){"use strict";var r,i;n.d(t,{V:function(){return r}}),(i=r||(r={})).WebSdk="web_sdk",i.ChatFlow="chat_flow",i.MiniProgram="mini_program"},64244:function(e,t,n){"use strict";var r;n.d(t,{e:function(){return r}}),(r||(r={})).ImageClick="ImageClick"},7753:function(e,t,n){"use strict";n.d(t,{K1:function(){return r},a2:function(){return o},pl:function(){return i}});let r="https://api.coze.cn",i="https://lf3-static.bytednsdoc.com/obj/eden-cn/rkzild_lgvj/ljhwZthlaukjlkulzlp/",o="https://api.coze.cn"},55394:function(e,t,n){"use strict";var r,i,o,a,s,l,u,c;n.d(t,{EX:function(){return a},z7:function(){return d}}),n("83015"),n("98810"),(s=r||(r={}))[s.Base=1e3]="Base",s[s.OpenApiUpload=1001]="OpenApiUpload",s[s.NoClearAPI=1002]="NoClearAPI",s[s.StoreProvider=1003]="StoreProvider",s[s.Iframe=2e3]="Iframe",s[s.IframeParams=2001]="IframeParams",s[s.Core=3e3]="Core",s[s.NotError=4e3]="NotError",(l=i||(i={}))[l.BotUnbind=702242003]="BotUnbind",(u=o||(o={}))[u.ERROR_FORBIDDEN=401]="ERROR_FORBIDDEN",u[u.ERROR_INVALID_TOKEN=4100]="ERROR_INVALID_TOKEN",u[u.ERROR_TOKEN_FORBIDEN=4101]="ERROR_TOKEN_FORBIDEN",u[u.ERROR_TOKEN_FAILED=700012006]="ERROR_TOKEN_FAILED",u[u.BOT_NOT_PUBLISH=4015]="BOT_NOT_PUBLISH",(c=a||(a={})).INVALID_BOT_ID="INVALID_BOT_ID",c.OPEN_API_ERROR="OPEN_API_ERROR";let d=e=>{window.parent.postMessage({type:"chat-sdk-error",data:e},"*")}},60320:function(e,t,n){"use strict";n.d(t,{$H:function(){return f},CJ:function(){return c},FR:function(){return i},Nu:function(){return u},Pc:function(){return p},UC:function(){return l},_J:function(){return o},bG:function(){return s},d9:function(){return g},dT:function(){return d},p6:function(){return h},ri:function(){return a}});var r=n("69177");let i=()=>r.LM.getState().isSettled,o=()=>r.LM.getState().isNewUser,a=()=>{var e;return!!(null===(e=r.LM.getState().userInfo)||void 0===e?void 0:e.user_id_str)},s=()=>r.LM.getState().userInfo,l=()=>r.LM.getState().getUserAuthInfos(),u=()=>(0,r.LM)(e=>e.isSettled),c=()=>(0,r.LM)(e=>e.isNewUser),d=()=>(0,r.LM)(e=>{var t;return!!(null===(t=e.userInfo)||void 0===t?void 0:t.user_id_str)}),p=()=>(0,r.LM)(e=>e.userInfo),h=()=>(0,r.LM)(e=>e.userAuthInfos),f=()=>(0,r.LM)(e=>e.userLabel),g=e=>r.LM.subscribe(e=>e.userAuthInfos,e)},69177:function(e,t,n){"use strict";n.d(t,{LM:function(){return s}}),n("83015");var r=n("50775"),i=n("95012"),o=n("52707");let a={isSettled:!1,isNewUser:!1,userInfo:null,hasError:!1,userAuthInfos:[],userLabel:null},s=(0,i.Ue)()((0,r.mW)((0,r.XR)((e,t)=>({...a,reset:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e({...a,isSettled:t})},setIsSettled:t=>{e({isSettled:t})},setUserInfo:n=>{e({userInfo:n,isNewUser:t().userInfo?t().isNewUser:!!(null==n?void 0:n.new_user)})},getUserAuthInfos:async()=>{try{let{data:t=[]}=await o.nA.GetUserAuthList();e({userAuthInfos:t})}catch(e){throw Error(e)}}})),{enabled:!1,name:"botStudio.userStore"})),l=async e=>{var t,n;if(!e)return;let r=await o.pr.MGetUserBasicInfo({user_ids:[e]});if((null==r?void 0:r.code)!==0)return;let i=null==r?void 0:null===(n=r.id_user_info_map)||void 0===n?void 0:null===(t=n[e])||void 0===t?void 0:t.user_label;i&&s.setState({userLabel:i})};s.subscribe(e=>{var t;return null==e?void 0:null===(t=e.userInfo)||void 0===t?void 0:t.user_id_str},l)},19507:function(e,t,n){"use strict";n("81773")},81773:function(e,t,n){"use strict";new(n("12045")).Z},83147:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n("98654");class i{async initToken(){try{var e,t,n,i;if((null===(e=this.options.auth)||void 0===e?void 0:e.type)===r.Gr.TOKEN&&!(null===(t=this.options.auth)||void 0===t?void 0:t.token)){let e=await (null===(i=this.options.auth)||void 0===i?void 0:null===(n=i.onRefreshToken)||void 0===n?void 0:n.call(i,""));return this.options.auth.token=e,!e&&alert("The access token is missing. Please check the configuration information."),!!e}}catch(e){return console.error("[WebSdk Error] initToken error"),alert("The access token is missing. Please check the configuration information."),!1}return!0}checkOptions(){var e,t;if((null===(e=this.options.auth)||void 0===e?void 0:e.type)!==r.Gr.TOKEN)return console.error("Non-Token is unsupported; auth's type must be token"),alert("The auth type (unauth) is unsupported yet; auth's type must be token"),!1;if((null===(t=this.options.auth)||void 0===t?void 0:t.type)===r.Gr.TOKEN){if(!this.options.auth.onRefreshToken)return console.error("[WebSdk Error] onRefreshToken must be provided"),alert("onRefreshToken must be provided"),!1;if("function"!=typeof this.options.auth.onRefreshToken)return console.error("[WebSdk Error] onRefreshToken must be a function"),alert("onRefreshToken must be a function"),!1}return!0}constructor(e){var t,n,r;t=this,r=void 0,(n="options")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.options=e}}},34873:function(e,t,n){"use strict";n.d(t,{E:function(){return f}}),n("50267");var r=n("31740"),i=n("29559"),o=n("67897"),a=n("51363"),s=n("98654"),l=n("41224"),u=n("72643"),c=n("36641"),d=n("83147");function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let h=e=>{var t,n,r,o,a,u,c,d,p;let h=i.isMobileOnly?s.Ar.MOBILE:s.Ar.PC;return e.config=e.config||{},e.config.botId=e.config.botId||e.config.bot_id||"",e.ui=e.ui||{},e.ui.base=Object.assign({layout:(null===(t=e.componentProps)||void 0===t?void 0:t.layout)||h,lang:(null===(n=e.componentProps)||void 0===n?void 0:n.lang)||l.S.EN,zIndex:null===(r=e.componentProps)||void 0===r?void 0:r.zIndex,icon:null===(o=e.componentProps)||void 0===o?void 0:o.icon},(null===(a=e.ui)||void 0===a?void 0:a.base)||{}),e.ui.chatBot=Object.assign({title:null===(u=e.componentProps)||void 0===u?void 0:u.title,width:null===(c=e.componentProps)||void 0===c?void 0:c.width,uploadable:(null===(d=e.componentProps)||void 0===d?void 0:d.uploadable)??!0},(null===(p=e.ui)||void 0===p?void 0:p.chatBot)||{}),e.ui.asstBtn=Object.assign({isNeed:!0},e.ui.asstBtn||{}),e.ui.header=Object.assign({isShow:!0,isNeedClose:!0},e.ui.header||{}),e};class f{showChatBot(){this.globalStore.getState().setChatVisible(!0)}hideChatBot(){this.globalStore.getState().setChatVisible(!1)}async getToken(){var e,t,n;if((null===(e=this.options.auth)||void 0===e?void 0:e.type)===s.Gr.TOKEN)return await (null===(n=this.options.auth)||void 0===n?void 0:null===(t=n.onRefreshToken)||void 0===t?void 0:t.call(n,""))}destroy(){var e;null===(e=this.root)||void 0===e||e.unmount(),this.defaultRoot&&this.defaultRoot.remove(),f.clients=f.clients.filter(e=>e!==this)}constructor(e){let t;p(this,"root",void 0),p(this,"defaultRoot",void 0),p(this,"globalStore",void 0),p(this,"authClient",void 0),p(this,"chatClientId",(0,a.x0)()),p(this,"options",void 0),p(this,"senderName",void 0),this.senderName=`chat-app-sdk-${Date.now()}`,this.options=h(e),this.authClient=new d.L(e);let{el:n}=this.options;if(this.globalStore=(0,u.j)(this),!this.authClient.checkOptions())return;n?t=n:(this.defaultRoot=document.createElement("div"),document.body.appendChild(this.defaultRoot),t=this.defaultRoot),this.root=(0,o.createRoot)(t),this.root.render((0,r.jsx)(c.Z,{client:this,globalStore:this.globalStore,position:n?"static":void 0})),f.clients.push(this)}}p(f,"clients",[])},13957:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var r=n("31740"),i=n("23763"),o=n.n(i),a=n("56871");let s=e=>{let{classNames:t,onClick:n,themeType:i="dark"}=e;return(0,r.jsx)("div",{className:o()(a.Z.close,t,i&&a.Z[i]),onClick:n,children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M4.96977 17.7929C4.57925 18.1834 4.57925 18.8166 4.96977 19.2071C5.3603 19.5976 5.99346 19.5976 6.38399 19.2071L12.1769 13.4142L17.9698 19.2071C18.3603 19.5976 18.9935 19.5976 19.384 19.2071C19.7745 18.8166 19.7745 18.1834 19.384 17.7929L13.5911 12L19.384 6.20711C19.7745 5.81658 19.7745 5.18342 19.384 4.79289C18.9935 4.40237 18.3603 4.40237 17.9698 4.79289L12.1769 10.5858L6.38399 4.79289C5.99347 4.40237 5.3603 4.40237 4.96978 4.79289C4.57925 5.18342 4.57925 5.81658 4.96978 6.20711L10.7627 12L4.96977 17.7929Z"})})})}},297:function(e,t,n){"use strict";n.d(t,{y:function(){return s}});var r=n("31740"),i=n("23763"),o=n.n(i),a=n("56871");let s=e=>{let{classNames:t}=e;return(0,r.jsx)("div",{className:o()(a.Z.spin,t),style:{color:"rgba(0,100,250, 1)"},children:(0,r.jsxs)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true","data-icon":"spin",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0%",y1:"100%",x2:"100%",y2:"100%",id:"linearGradient-17",children:[(0,r.jsx)("stop",{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}),(0,r.jsx)("stop",{"stop-color":"currentColor","stop-opacity":"0.50",offset:"39.9430698%"}),(0,r.jsx)("stop",{"stop-color":"currentColor",offset:"100%"})]})}),(0,r.jsxs)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:[(0,r.jsx)("rect",{"fill-opacity":"0.01",fill:"none",x:"0",y:"0",width:"36",height:"36"}),(0,r.jsx)("path",{d:"M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951",stroke:"url(#linearGradient-17)","stroke-width":"4","stroke-linecap":"round"})]})]})})}},28690:function(e,t,n){"use strict";n.d(t,{V:function(){return d}});var r=n("31740"),i=n("23763"),o=n.n(i),a=n("98654"),s=n("65322"),l=n("13029"),u=n("91947"),c=n("11161");let d=e=>{var t;let{position:n="fixed",client:i}=e,{chatVisible:d,setChatVisible:p,layout:h}=(0,l.s6)(e=>({chatVisible:e.chatVisible,setChatVisible:e.setChatVisible,layout:e.layout})),{base:f,asstBtn:g}=(null==i?void 0:null===(t=i.options)||void 0===t?void 0:t.ui)||{},m=null==f?void 0:f.icon,_=null==f?void 0:f.zIndex,v=(0,s.O)({zIndex:_});return!d&&(null==g?void 0:g.isNeed)?(0,r.jsx)("div",{style:{position:n,...v},className:o()(c.Z["coze-ast-btn"],{[c.Z.mobile]:h===a.Ar.MOBILE}),onClick:e=>{e.stopPropagation(),p(!0)},children:(0,r.jsx)("img",{alt:"logo",src:m||u})}):null}},58065:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var r=n("31740"),i=n("11532"),o=n("89064"),a=n("77802"),s=n("13029"),l=n("11161");let u=e=>{var t;let{client:n}=e,o=null==n?void 0:n.options,a=(0,s.s6)(e=>e.setImagePreview),u=(0,s.s6)(e=>e.setIframeLoaded),p=(0,i.useCallback)(e=>{a(t=>{t.url=e.url,t.visible=!0})},[]);return(0,i.useEffect)(()=>{u(!0)},[]),(0,r.jsx)("div",{className:l.Z.cozeIframe,children:(null==o?void 0:null===(t=o.config)||void 0===t?void 0:t.type)==="app"?(0,r.jsx)(c,{client:n,onImageClick:p}):(0,r.jsx)(d,{client:n,onImageClick:p})})},c=e=>{var t,n,i,a,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x,k,M,P,I,E,C,O;let{client:D,onImageClick:L}=e,B=null==D?void 0:D.options,N=(0,s.s6)(e=>e.setThemeType),R=(null==B?void 0:null===(n=B.ui)||void 0===n?void 0:null===(t=n.header)||void 0===t?void 0:t.isNeedClose)??!0,j={showInputArea:!0,isDisabled:!1,uploadalbe:null==B?void 0:null===(a=B.ui)||void 0===a?void 0:null===(i=a.chatBot)||void 0===i?void 0:i.uploadable,isNeedClearContext:(null==B?void 0:null===(c=B.ui)||void 0===c?void 0:null===(u=c.chatBot)||void 0===u?void 0:u.isNeedClearContext)||!0,header:{isShow:!0,...null==B?void 0:null===(d=B.ui)||void 0===d?void 0:d.header,extra:R?(0,r.jsx)("div",{className:l.Z["extra-close"]}):null},footer:null==B?void 0:null===(p=B.ui)||void 0===p?void 0:p.footer};return(0,r.jsx)(o.c,{workflow:{id:null==B?void 0:null===(f=B.config)||void 0===f?void 0:null===(h=f.appInfo)||void 0===h?void 0:h.workflowId,parameters:{...null==B?void 0:null===(m=B.config)||void 0===m?void 0:null===(g=m.appInfo)||void 0===g?void 0:g.parameters}},project:{type:"app",mode:"websdk",id:(null==B?void 0:null===(v=B.config)||void 0===v?void 0:null===(_=v.appInfo)||void 0===_?void 0:_.appId)||"",conversationName:"Default",name:null==B?void 0:null===(y=B.ui)||void 0===y?void 0:null===(b=y.chatBot)||void 0===b?void 0:b.title,iconUrl:null==B?void 0:null===(S=B.ui)||void 0===S?void 0:null===(w=S.base)||void 0===w?void 0:w.icon,layout:null==B?void 0:null===(T=B.ui)||void 0===T?void 0:null===(A=T.base)||void 0===A?void 0:A.layout,version:null==B?void 0:null===(x=B.config.appInfo)||void 0===x?void 0:x.version},userInfo:{url:(null==B?void 0:null===(k=B.userInfo)||void 0===k?void 0:k.url)||"",nickname:(null==B?void 0:null===(M=B.userInfo)||void 0===M?void 0:M.nickname)||"",id:(null==B?void 0:null===(P=B.userInfo)||void 0===P?void 0:P.id)||""},areaUi:j,auth:{type:"external",token:null==B?void 0:null===(I=B.auth)||void 0===I?void 0:I.token,refreshToken:null==B?void 0:null===(E=B.auth)||void 0===E?void 0:E.onRefreshToken},eventCallbacks:{onImageClick:L,onThemeChange:N},setting:{language:null===(O=B.ui)||void 0===O?void 0:null===(C=O.base)||void 0===C?void 0:C.lang}})},d=e=>{var t,n,o,u,c,d,p,h,f,g;let{client:m,onImageClick:_}=e,v=null==m?void 0:m.options,b=(0,s.s6)(e=>e.setThemeType),y=(null==v?void 0:null===(n=v.ui)||void 0===n?void 0:null===(t=n.header)||void 0===t?void 0:t.isNeedClose)??!0,w=(0,i.useMemo)(()=>{var e,t,n,i,o,a,s,u,c,d,p,h,f,g,m,_;return{layout:null===(t=v.ui)||void 0===t?void 0:null===(e=t.base)||void 0===e?void 0:e.layout,isDisabled:!1,input:{isNeed:!0,isNeedAudio:!1},chatSlot:{uploadBtn:{isNeed:null===(i=v.ui)||void 0===i?void 0:null===(n=i.chatBot)||void 0===n?void 0:n.uploadable}},header:{isNeed:null===(a=v.ui)||void 0===a?void 0:null===(o=a.header)||void 0===o?void 0:o.isShow,icon:null===(u=v.ui)||void 0===u?void 0:null===(s=u.base)||void 0===s?void 0:s.icon,title:null===(d=v.ui)||void 0===d?void 0:null===(c=d.chatBot)||void 0===c?void 0:c.title,renderRightSlot:()=>y?(0,r.jsx)("div",{className:l.Z["extra-close"]}):null},footer:{isNeed:null===(h=v.ui)||void 0===h?void 0:null===(p=h.footer)||void 0===p?void 0:p.isShow,expressionText:null===(g=v.ui)||void 0===g?void 0:null===(f=g.footer)||void 0===f?void 0:f.expressionText,linkvars:null===(_=v.ui)||void 0===_?void 0:null===(m=_.footer)||void 0===m?void 0:m.linkvars}}},[v]);return(0,r.jsx)(a.te,{chat:{type:a.z_.Bot,appId:(null==v?void 0:null===(o=v.config)||void 0===o?void 0:o.botId)||""},user:{avatar:(null==v?void 0:null===(u=v.userInfo)||void 0===u?void 0:u.url)||"",name:(null==v?void 0:null===(c=v.userInfo)||void 0===c?void 0:c.nickname)||"",id:(null==v?void 0:null===(d=v.userInfo)||void 0===d?void 0:d.id)||""},ui:w,auth:{token:(null==v?void 0:null===(p=v.auth)||void 0===p?void 0:p.token)||"",onRefreshToken:(null==v?void 0:null===(h=v.auth)||void 0===h?void 0:h.onRefreshToken)||(e=>(console.log("refresh token"),e||""))},eventCallbacks:{onImageClick:_,onThemeChange:b},setting:{language:null===(g=v.ui)||void 0===g?void 0:null===(f=g.base)||void 0===f?void 0:f.lang}})}},98947:function(e,t,n){"use strict";n.d(t,{X:function(){return _}});var r=n("31740"),i=n("54432"),o=n("11532"),a=n("60785"),s=n("23763"),l=n.n(s),u=n("98654"),c=n("65322"),d=n("13029"),p=n("13957"),h=n("25859"),f=n("58065"),g=n("11161");let m=e=>{var t,n,i;let{client:o,isNewCreated:s}=e,{iframeLoaded:m,chatVisible:_,setChatVisible:v,layout:b,themeType:y}=(0,d.s6)((0,a.N)(e=>({layout:e.layout,setIframe:e.setIframe,setIframeLoaded:e.setIframeLoaded,iframeLoaded:e.iframeLoaded,senderName:e.senderName,chatVisible:e.chatVisible,setChatVisible:e.setChatVisible,themeType:e.themeType}))),w=(null==o?void 0:null===(n=o.options)||void 0===n?void 0:null===(t=n.config)||void 0===t?void 0:t.isIframe)!==!1,{base:S,chatBot:A,header:T}=(null==o?void 0:null===(i=o.options)||void 0===i?void 0:i.ui)||{},x=null==S?void 0:S.zIndex,k=(0,c.O)({zIndex:x}),M=b===u.Ar.MOBILE?void 0:(null==A?void 0:A.width)||460;return _||m?(0,r.jsxs)("div",{className:l()(g.Z.iframeWrapper,{[g.Z.mobile]:b===u.Ar.MOBILE,[g.Z.autoFixContainer]:!s}),style:{display:_?"block":"none",width:M,...k},children:[(null==T?void 0:T.isNeedClose)!==!1?(0,r.jsx)(p.x,{onClick:()=>{v(!1)},classNames:g.Z.closeBtn,themeType:"bg-theme"===y?"light":"dark"}):null,w?(0,r.jsx)(h.e,{client:o}):(0,r.jsx)(f.M,{client:o})]}):null},_=e=>{var t,n;let{client:a}=e,{el:s}=(null==a?void 0:null===(n=a.options)||void 0===n?void 0:null===(t=n.ui)||void 0===t?void 0:t.chatBot)||{},[l]=(0,o.useState)(()=>{if(s)return s;let e=document.createElement("div");return document.body.appendChild(e),e}),u=l!==s;return(0,o.useEffect)(()=>()=>{u&&document.body.removeChild(l)},[s,l]),(0,i.createPortal)((0,r.jsx)(m,{client:a,isNewCreated:u}),l)}},25859:function(e,t,n){"use strict";n.d(t,{e:function(){return p}});var r=n("31740"),i=n("11532"),o=n("60785"),a=n("51363"),s=n("60795"),l=n("13029"),u=n("297"),c=n("11161");let d=e=>{var t,n,r,i,o,s,l,u,c,d,p,h,f,g,m,_,v,b,y,w,S,A,T,x;let{client:k}=e;return encodeURIComponent(JSON.stringify({chatClientId:k.chatClientId,chatConfig:{type:null===(n=k.options)||void 0===n?void 0:null===(t=n.auth)||void 0===t?void 0:t.type,bot_id:null===(i=k.options)||void 0===i?void 0:null===(r=i.config)||void 0===r?void 0:r.botId,appInfo:null===(s=k.options)||void 0===s?void 0:null===(o=s.config)||void 0===o?void 0:o.appInfo,user:null===(u=k.options)||void 0===u?void 0:null===(l=u.userInfo)||void 0===l?void 0:l.id,conversation_id:(0,a.x0)(),extra:null===(c=k.options)||void 0===c?void 0:c.extra},componentProps:{layout:null===(h=k.options)||void 0===h?void 0:null===(p=h.ui)||void 0===p?void 0:null===(d=p.base)||void 0===d?void 0:d.layout,lang:null===(m=k.options)||void 0===m?void 0:null===(g=m.ui)||void 0===g?void 0:null===(f=g.base)||void 0===f?void 0:f.lang,title:null===(b=k.options)||void 0===b?void 0:null===(v=b.ui)||void 0===v?void 0:null===(_=v.chatBot)||void 0===_?void 0:_.title,icon:null===(S=k.options)||void 0===S?void 0:null===(w=S.ui)||void 0===w?void 0:null===(y=w.base)||void 0===y?void 0:y.icon,uploadable:null===(x=k.options)||void 0===x?void 0:null===(T=x.ui)||void 0===T?void 0:null===(A=T.chatBot)||void 0===A?void 0:A.uploadable}}))},p=e=>{let{client:t}=e,[n]=(0,i.useState)(()=>d({client:t})),{setIframe:a,setIframeLoaded:p,iframeLoaded:h,senderName:f}=(0,l.s6)((0,o.N)(e=>({setIframe:e.setIframe,setIframeLoaded:e.setIframeLoaded,iframeLoaded:e.iframeLoaded,senderName:e.senderName})));return(0,r.jsxs)(r.Fragment,{children:[!h&&(0,r.jsx)(u.y,{classNames:c.Z.loading}),(0,r.jsx)("iframe",{style:{display:h?"block":"none"},className:c.Z.cozeIframe,src:(0,s.a)(f,n),ref:e=>{a(e||void 0)},onLoad:()=>{p(!0)}})]})}},48178:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n("31740"),i=n("60785"),o=n("24833"),a=n("13029");let s=e=>{let{zIndex:t,className:n}=e,{imagePreviewUrl:s,imagePreviewVisible:l,setImagePreview:u}=(0,a.s6)((0,i.N)(e=>({imagePreviewVisible:e.imagePreview.visible,imagePreviewUrl:e.imagePreview.url,setImagePreview:e.setImagePreview})));return(0,r.jsx)(o.eT,{previewCls:n,zIndex:t,src:s,visible:l,onVisibleChange:e=>{u(t=>t.visible=e)}})}},36641:function(e,t,n){"use strict";var r=n("31740"),i=n("65322"),o=n("13029"),a=n("45813"),s=n("58454"),l=n("48178"),u=n("98947"),c=n("28690");let d=e=>{var t;let{client:n,position:o}=e;(0,s.L)(n),(0,a.l)(n.chatClientId,n.options);let{base:d}=(null==n?void 0:null===(t=n.options)||void 0===t?void 0:t.ui)||{},p=null==d?void 0:d.zIndex,h=(0,i.O)({zIndex:p});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.X,{client:n}),(0,r.jsx)(l.e,{zIndex:h["--coze-z-index-iframe"]+2}),(0,r.jsx)(c.V,{client:n,position:o})]})};t.Z=e=>(0,r.jsx)(o.A5,{globalStore:e.globalStore,children:(0,r.jsx)(d,{...e})})},58454:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n("11532"),i=n("64244"),o=n("64249"),a=n("13029");let s=e=>{let{setImagePreview:t}=(0,a.s6)(e=>({setImagePreview:e.setImagePreview})),n=(0,r.useCallback)(n=>{let r=null==n?void 0:n.data;r.chatStoreId===e.chatClientId&&r.event===i.e.ImageClick&&o.L.isImageClick(r)&&t(e=>{e.url=r.payload.url,e.visible=!0})},[t,e]);(0,r.useEffect)(()=>(window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}),[n])}},45813:function(e,t,n){"use strict";n.d(t,{l:function(){return p}});var r=n("11532"),i=n("60785"),o=n("51363"),a=n("5670"),s=n("98654"),l=n("55959"),u=n("85371"),c=n("13029");let d=(e,t)=>{let{config:n,auth:r,userInfo:i,ui:u,extra:c}=t;return console.log("[dev]ChatAppWrapper 234234",t),{chatClientId:e,chatConfig:{type:(null==n?void 0:n.type)||s.z_.BOT,bot_id:((null==n?void 0:n.botId)??(null==n?void 0:n.bot_id))||"",appInfo:null==n?void 0:n.appInfo,user:(0,o.x0)(),conversation_id:(0,o.x0)(),extra:c,ui:{base:(0,a.Z)((null==u?void 0:u.base)||{},["icon","lang","layout"]),chatBot:(0,a.Z)((null==u?void 0:u.chatBot)||{},["title","uploadable","isNeedClearContext"]),footer:null==u?void 0:u.footer,header:null==u?void 0:u.header},auth:(0,a.Z)(r||{},["type","token","refreshToken"]),source:l.V.WebSdk},userInfo:i}},p=(e,t)=>{let n=(0,r.useRef)(),{iframe:o,senderName:a,setThemeType:l}=(0,c.s6)((0,i.N)(e=>({iframe:e.iframe,senderName:e.senderName,setThemeType:e.setThemeType}))),p=(0,r.useRef)({chatClientId:e,cozeChatOption:t});p.current={chatClientId:e,cozeChatOption:t},(0,r.useEffect)(()=>{if(null==o?void 0:o.contentWindow)return n.current=new u.S({channelPort:o.contentWindow,senderName:a}),n.current.onRequest(s.aq.GET_IFRAME_PARAMS,()=>({code:0,data:d(p.current.chatClientId,p.current.cozeChatOption)})),n.current.onRequest(s.aq.GET_NEW_TOKEN,async e=>{let t;try{var n,r;t=await (null===(r=p.current.cozeChatOption.auth)||void 0===r?void 0:null===(n=r.onRefreshToken)||void 0===n?void 0:n.call(r,e||""))}catch(e){console.error("[WebSdk Error] Get Token Error")}return t?{code:0,data:t}:{code:s.Tb.AUTH_TOKEN_GET_FAILED,message:"Get Token Error"}}),n.current.onRequest(s.aq.THEME_CHANGE,e=>(l(e),{code:0})),()=>{var e;null===(e=n.current)||void 0===e||e.destory(),n.current=void 0}},[o,a])}},8829:function(e,t,n){"use strict";n.r(t);var r=n("34873");window.CozeWebSDK=window.CozeWebSDK||{},window.CozeWebSDK.WebChatClient=r.E},13029:function(e,t,n){"use strict";n.d(t,{A5:function(){return l},s6:function(){return u}});var r=n("31740"),i=n("11532"),o=n("27537"),a=n("86338");let s=(0,i.createContext)(void 0),l=e=>{let{children:t,globalStore:n}=e;return(0,r.jsx)(s.Provider,{value:{globalStore:n},children:t})},u=e=>{let t=(0,i.useContext)(s).globalStore;return(0,o.s)(t,e,a.X)}},72643:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n("50775"),i=n("95012"),o=n("94853"),a=n("98654"),s=n("55394");let l=e=>{var t;let{options:n,senderName:l}=e,{layout:u=a.Ar.PC}=(null==n?void 0:null===(t=n.ui)||void 0===t?void 0:t.base)??{},c=e.authClient,d={chatVisible:!1,iframeLoaded:!1,themeType:"light",imagePreview:{url:"",visible:!1},layout:u,senderName:l};return(0,i.Ue)()((0,r.mW)((0,r.XR)(e=>({...d,setThemeType:t=>{e({themeType:t})},setIframe:t=>{e({iframe:t})},setChatVisible:async t=>{var r,i,o,a,l;let u=null==n?void 0:null===(r=n.ui)||void 0===r?void 0:r.chatBot;if(c&&!await c.initToken()){(0,s.z7)({type:s.EX.OPEN_API_ERROR,code:401,message:"invalid token"});return}if(t){if(await (null==u?void 0:null===(i=u.onBeforeShow)||void 0===i?void 0:i.call(u))===!1)return}else if(await (null==u?void 0:null===(o=u.onBeforeHide)||void 0===o?void 0:o.call(u))===!1)return;e({chatVisible:t}),t?null==u||null===(a=u.onShow)||void 0===a||a.call(u):null==u||null===(l=u.onHide)||void 0===l||l.call(u)},setIframeLoaded:t=>{e({iframeLoaded:t})},setImagePreview:t=>e((0,o.Uy)(e=>{t(e.imagePreview)}))})),{enabled:!1,name:"sdkChatApp.global"}))}},64249:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n("64244");let i={isImageClick(e){var t;return e.event===r.e.ImageClick&&!!(null==e?void 0:null===(t=e.payload)||void 0===t?void 0:t.url)}}},60795:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n("7753");let i=(e,t)=>`${r.K1}/open-platform/sdk/chatapp?sender=${e}&params=${t}`},65322:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});let r={"--coze-z-index-iframe":1e3},i=e=>{let{zIndex:t}=e;return{...r,..."number"==typeof t?{"--coze-z-index-iframe":t}:{}}}},49336:function(e,t,n){"use strict";n("60320"),n("19507")},32215:function(){},23763:function(e){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e="",i=0;i<arguments.length;i++){var o=arguments[i];o&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var o in e)t.call(e,o)&&e[o]&&(i=r(i,o));return i}(o)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()},79157:function(e,t,n){"use strict";var r=n("38273"),i=n("59137"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},26312:function(e,t,n){"use strict";var r=n("26100"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},42979:function(e,t,n){"use strict";var r=n("48574"),i=n("26706"),o=n("76603").f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},35790:function(e,t,n){"use strict";var r=n("23744"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},31990:function(e,t,n){"use strict";var r=n("8238"),i=n("81940"),o=n("27671"),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l);if(0===u)return!e&&-1;var c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},82872:function(e,t,n){"use strict";var r=n("63849"),i=n("23360"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},31035:function(e,t,n){"use strict";var r=n("37009"),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},62339:function(e,t,n){"use strict";var r=n("89851"),i=n("38273"),o=n("31035"),a=n("48574")("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=s(e),a))?n:l?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},23602:function(e,t,n){"use strict";var r=n("79093"),i=n("27710"),o=n("15175"),a=n("76603");e.exports=function(e,t,n){for(var s=i(t),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];!r(e,d)&&!(n&&r(n,d))&&l(e,d,u(t,d))}}},38533:function(e,t,n){"use strict";var r=n("63849"),i=n("76603"),o=n("46999");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},46999:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},53924:function(e,t,n){"use strict";var r=n("38273"),i=n("76603"),o=n("83764"),a=n("91604");e.exports=function(e,t,n,s){!s&&(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&o(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},91604:function(e,t,n){"use strict";var r=n("57595"),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},13591:function(e,t,n){"use strict";var r=n("59137"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},63849:function(e,t,n){"use strict";var r=n("91633");e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},73616:function(e,t,n){"use strict";var r=n("57595"),i=n("23744"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},59478:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},97349:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},88443:function(e,t,n){"use strict";var r,i,o=n("57595"),a=n("97349"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},56218:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},23417:function(e,t,n){"use strict";var r=n("37009"),i=Error,o=r("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},11437:function(e,t,n){"use strict";var r=n("38533"),i=n("23417"),o=n("95409"),a=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(a?a(e,t):r(e,"stack",i(n,s)))}},95409:function(e,t,n){"use strict";var r=n("91633"),i=n("46999");e.exports=!r(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},52919:function(e,t,n){"use strict";var r=n("57595"),i=n("15175").f,o=n("38533"),a=n("53924"),s=n("91604"),l=n("23602"),u=n("21242");e.exports=function(e,t){var n,c,d,p,h,f=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[f]||s(f,{}):r[f]&&r[f].prototype)for(c in t){if(p=t[c],d=e.dontCallGetSet?(h=i(n,c))&&h.value:n[c],!u(g?c:f+(m?".":"#")+c,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),a(n,c,p,e)}}},91633:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},67008:function(e,t,n){"use strict";var r=n("39833"),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},39833:function(e,t,n){"use strict";var r=n("91633");e.exports=!r(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},30984:function(e,t,n){"use strict";var r=n("39833"),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},18633:function(e,t,n){"use strict";var r=n("63849"),i=n("79093"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:l}},92768:function(e,t,n){"use strict";var r=n("37009"),i=n("79157");e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},37009:function(e,t,n){"use strict";var r=n("39833"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},79128:function(e,t,n){"use strict";var r=n("57595"),i=n("38273");e.exports=function(e,t){var n;return arguments.length<2?i(n=r[e])?n:void 0:r[e]&&r[e][t]}},26042:function(e,t,n){"use strict";var r=n("79157"),i=n("24417");e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},57595:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},79093:function(e,t,n){"use strict";var r=n("37009"),i=n("20455"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},18744:function(e){"use strict";e.exports={}},25427:function(e,t,n){"use strict";var r=n("79128");e.exports=r("document","documentElement")},87904:function(e,t,n){"use strict";var r=n("63849"),i=n("91633"),o=n("73616");e.exports=!r&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},50575:function(e,t,n){"use strict";var r=n("37009"),i=n("91633"),o=n("31035"),a=Object,s=r("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},93206:function(e,t,n){"use strict";var r=n("38273"),i=n("23744"),o=n("17437");e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},4173:function(e,t,n){"use strict";var r=n("37009"),i=n("38273"),o=n("63131"),a=r(Function.toString);!i(o.inspectSource)&&(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},29071:function(e,t,n){"use strict";var r=n("23744"),i=n("38533");e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},57550:function(e,t,n){"use strict";var r,i,o,a=n("36174"),s=n("57595"),l=n("23744"),u=n("38533"),c=n("79093"),d=n("63131"),p=n("25350"),h=n("18744"),f="Object already initialized",g=s.TypeError,m=s.WeakMap;if(a||d.state){var _=d.state||(d.state=new m);_.get=_.get,_.has=_.has,_.set=_.set,r=function(e,t){if(_.has(e))throw new g(f);return t.facade=e,_.set(e,t),t},i=function(e){return _.get(e)||{}},o=function(e){return _.has(e)}}else{var v=p("state");h[v]=!0,r=function(e,t){if(c(e,v))throw new g(f);return t.facade=e,u(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},23360:function(e,t,n){"use strict";var r=n("31035");e.exports=Array.isArray||function(e){return"Array"===r(e)}},38273:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},21242:function(e,t,n){"use strict";var r=n("91633"),i=n("38273"),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===c||n!==u&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},24417:function(e){"use strict";e.exports=function(e){return null==e}},23744:function(e,t,n){"use strict";var r=n("38273");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},26100:function(e,t,n){"use strict";var r=n("23744");e.exports=function(e){return r(e)||null===e}},8974:function(e){"use strict";e.exports=!1},18875:function(e,t,n){"use strict";var r=n("79128"),i=n("38273"),o=n("52277"),a=n("71761"),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},27671:function(e,t,n){"use strict";var r=n("14507");e.exports=function(e){return r(e.length)}},83764:function(e,t,n){"use strict";var r=n("37009"),i=n("91633"),o=n("38273"),a=n("79093"),s=n("63849"),l=n("18633").CONFIGURABLE,u=n("4173"),c=n("57550"),d=c.enforce,p=c.get,h=String,f=Object.defineProperty,g=r("".slice),m=r("".replace),_=r([].join),v=s&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),b=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return!a(r,"source")&&(r.source=_(b,"string"==typeof t?t:"")),e};Function.prototype.toString=y(function(){return o(this)&&p(this).source||u(this)},"toString")},89102:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},79481:function(e,t,n){"use strict";var r=n("77656");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},26706:function(e,t,n){"use strict";var r,i=n("35790"),o=n("69366"),a=n("56218"),s=n("18744"),l=n("25427"),u=n("73616"),c=n("25350"),d="prototype",p="script",h=c("IE_PROTO"),f=function(){},g=function(e){return"<"+p+">"+e+"</"+p+">"},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+p+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}v="undefined"!=typeof document?document.domain&&r?m(r):_():m(r);for(var e=a.length;e--;)delete v[d][a[e]];return v()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[d]=i(e),n=new f,f[d]=null,n[h]=e):n=v(),void 0===t?n:o.f(n,t)}},69366:function(e,t,n){"use strict";var r=n("63849"),i=n("15247"),o=n("76603"),a=n("35790"),s=n("8238"),l=n("17609");t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=l(t),u=i.length,c=0;u>c;)o.f(e,n=i[c++],r[n]);return e}},76603:function(e,t,n){"use strict";var r=n("63849"),i=n("87904"),o=n("15247"),a=n("35790"),s=n("17580"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=c(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},15175:function(e,t,n){"use strict";var r=n("63849"),i=n("30984"),o=n("17026"),a=n("46999"),s=n("8238"),l=n("17580"),u=n("79093"),c=n("87904"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(e){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},50525:function(e,t,n){"use strict";var r=n("59332"),i=n("56218").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},80742:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},52277:function(e,t,n){"use strict";var r=n("37009");e.exports=r({}.isPrototypeOf)},59332:function(e,t,n){"use strict";var r=n("37009"),i=n("79093"),o=n("8238"),a=n("31990").indexOf,s=n("18744"),l=r([].push);e.exports=function(e,t){var n,r=o(e),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;t.length>u;)i(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},17609:function(e,t,n){"use strict";var r=n("59332"),i=n("56218");e.exports=Object.keys||function(e){return r(e,i)}},17026:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},17437:function(e,t,n){"use strict";var r=n("92768"),i=n("23744"),o=n("18925"),a=n("26312");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return(o(n),a(r),i(n))?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},80337:function(e,t,n){"use strict";var r=n("30984"),i=n("38273"),o=n("23744"),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e))||i(n=e.valueOf)&&!o(s=r(n,e))||"string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},27710:function(e,t,n){"use strict";var r=n("79128"),i=n("37009"),o=n("50525"),a=n("80742"),s=n("35790"),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},78044:function(e,t,n){"use strict";var r=n("76603").f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},18925:function(e,t,n){"use strict";var r=n("24417"),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},45274:function(e,t,n){"use strict";var r=n("76603").f,i=n("79093"),o=n("48574")("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},25350:function(e,t,n){"use strict";var r=n("64492"),i=n("22353"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},63131:function(e,t,n){"use strict";var r=n("8974"),i=n("57595"),o=n("91604"),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},64492:function(e,t,n){"use strict";var r=n("63131");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},4762:function(e,t,n){"use strict";var r=n("88443"),i=n("91633"),o=n("57595").String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&r&&r<41})},81940:function(e,t,n){"use strict";var r=n("36558"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},8238:function(e,t,n){"use strict";var r=n("50575"),i=n("18925");e.exports=function(e){return r(i(e))}},36558:function(e,t,n){"use strict";var r=n("89102");e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},14507:function(e,t,n){"use strict";var r=n("36558"),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},20455:function(e,t,n){"use strict";var r=n("18925"),i=Object;e.exports=function(e){return i(r(e))}},96974:function(e,t,n){"use strict";var r=n("30984"),i=n("23744"),o=n("18875"),a=n("26042"),s=n("80337"),l=n("48574"),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),!i(n=r(l,e,t))||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},17580:function(e,t,n){"use strict";var r=n("96974"),i=n("18875");e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},89851:function(e,t,n){"use strict";var r=n("48574")("toStringTag"),i={};i[r]="z",e.exports="[object z]"===String(i)},77656:function(e,t,n){"use strict";var r=n("62339"),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},59137:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},22353:function(e,t,n){"use strict";var r=n("37009"),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},71761:function(e,t,n){"use strict";var r=n("4762");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15247:function(e,t,n){"use strict";var r=n("63849"),i=n("91633");e.exports=r&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},36174:function(e,t,n){"use strict";var r=n("57595"),i=n("38273"),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},48574:function(e,t,n){"use strict";var r=n("57595"),i=n("64492"),o=n("79093"),a=n("22353"),s=n("4762"),l=n("71761"),u=r.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return!o(c,e)&&(c[e]=s&&o(u,e)?u[e]:d("Symbol."+e)),c[e]}},73484:function(e,t,n){"use strict";var r=n("79128"),i=n("79093"),o=n("38533"),a=n("52277"),s=n("17437"),l=n("23602"),u=n("78044"),c=n("93206"),d=n("79481"),p=n("29071"),h=n("11437"),f=n("63849"),g=n("8974");e.exports=function(e,t,n,m){var _="stackTraceLimit",v=m?2:1,b=e.split("."),y=b[b.length-1],w=r.apply(null,b);if(w){var S=w.prototype;if(!g&&i(S,"cause")&&delete S.cause,!n)return w;var A=r("Error"),T=t(function(e,t){var n=d(m?t:e,void 0),r=m?new w(e):new w;return void 0!==n&&o(r,"message",n),h(r,T,r.stack,2),this&&a(S,this)&&c(r,this,T),arguments.length>v&&p(r,arguments[v]),r});if(T.prototype=S,"Error"!==y?s?s(T,A):l(T,A,{name:!0}):f&&_ in w&&(u(T,w,_),u(T,w,"prepareStackTrace")),l(T,w),!g)try{S.name!==y&&o(S,"name",y),S.constructor=T}catch(e){}return T}}},98810:function(e,t,n){"use strict";var r=n("52919"),i=n("31990").includes,o=n("91633"),a=n("42979");r({target:"Array",proto:!0,forced:o(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},50267:function(e,t,n){"use strict";var r=n("52919"),i=n("20455"),o=n("27671"),a=n("82872"),s=n("59478"),l=n("91633")(function(){return 4294967297!==[].push.call({length:4294967296},1)});r({target:"Array",proto:!0,arity:1,forced:l||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},30818:function(e,t,n){"use strict";var r=n("52919"),i=n("20455"),o=n("27671"),a=n("82872"),s=n("13591"),l=n("59478"),u=1!==[].unshift(0);r({target:"Array",proto:!0,arity:1,forced:u||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=i(this),n=o(t),r=arguments.length;if(r){l(n+r);for(var u=n;u--;){var c=u+r;u in t?t[c]=t[u]:s(t,c)}for(var d=0;d<r;d++)t[d]=arguments[d]}return a(t,n+r)}})},83015:function(e,t,n){"use strict";var r=n("52919"),i=n("57595"),o=n("67008"),a=n("73484"),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var n={};n[e]=a(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=a(s+"."+e,t,u),r({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",function(e){return function(t){return o(e,this,arguments)}}),c("EvalError",function(e){return function(t){return o(e,this,arguments)}}),c("RangeError",function(e){return function(t){return o(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return o(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return o(e,this,arguments)}}),c("TypeError",function(e){return function(t){return o(e,this,arguments)}}),c("URIError",function(e){return function(t){return o(e,this,arguments)}}),d("CompileError",function(e){return function(t){return o(e,this,arguments)}}),d("LinkError",function(e){return function(t){return o(e,this,arguments)}}),d("RuntimeError",function(e){return function(t){return o(e,this,arguments)}})},79507:function(e,t,n){"use strict";n("52919")({target:"Object",stat:!0},{hasOwn:n("79093")})},23642:function(e,t,n){"use strict";var r=n("52919"),i=n("57595"),o=n("45274");r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},99997:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,{Z:function(){return r}})},57140:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},29391:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},2689:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},43505:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},13094:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("27231");function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},1347:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("27231");function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},76986:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},20334:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("6938");function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},85131:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}n.d(t,{Z:function(){return r}})},70426:function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},13756:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("1347");function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),i.forEach(function(t){(0,r.Z)(e,t,n[t])})}return e}},20876:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("55120"),i=n("2689");function o(e,t){if(t&&("object"==(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},6938:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},54303:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n("29391"),i=n("85131"),o=n("26784"),a=n("70426");function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},26371:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("55120");function i(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},27231:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("55120"),i=n("26371");function o(e){var t=(0,i.Z)(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},55120:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,{Z:function(){return r}})},26784:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("57140");function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).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)?(0,r.Z)(e,t):void 0}}},39473:function(e,t,n){"use strict";n.d(t,{IZ:function(){return d},d7:function(){return i}});let{Axios:r,AxiosError:i,CanceledError:o,isCancel:a,CancelToken:s,VERSION:l,all:u,Cancel:c,isAxiosError:d,spread:p,toFormData:h,AxiosHeaders:f,HttpStatusCode:g,formToJSON:m,getAdapter:_,mergeConfig:v}=n("18783").Z},81783:function(e,t,n){"use strict";var r=n("81102"),i=n("98474"),o=n("17961"),a=n("98344"),s=n("26601");let l={http:i.Z,xhr:o.Z,fetch:a.Z};r.Z.forEach(l,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let u=e=>`- ${e}`,c=e=>r.Z.isFunction(e)||null===e||!1===e;t.Z={getAdapter:e=>{let t,n;let{length:i}=e=r.Z.isArray(e)?e:[e],o={};for(let r=0;r<i;r++){let i;if(n=t=e[r],!c(t)&&void 0===(n=l[(i=String(t)).toLowerCase()]))throw new s.Z(`Unknown adapter '${i}'`);if(n)break;o[i||"#"+r]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")),t=i?e.length>1?"since :\n"+e.map(u).join("\n"):" "+u(e[0]):"as no adapter specified";throw new s.Z("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return n},adapters:l}},98344:function(e,t,n){"use strict";let r;var i,o=n("40075"),a=n("81102"),s=n("26601"),l=n("16072"),u=n("21615"),c=n("80364"),d=n("65049"),p=n("91774"),h=n("15551");let f=(e,t)=>{let n=null!=e;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},g="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,m=g&&"function"==typeof ReadableStream;let _=g&&("function"==typeof TextEncoder?(r=new TextEncoder,e=>r.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),v=m&&(()=>{let e=!1,t=new Request(o.Z.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),b=m&&!!(()=>{try{return a.Z.isReadableStream(new Response("").body)}catch(e){}})(),y={stream:b&&(e=>e.body)};g&&(i=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{y[e]||(y[e]=a.Z.isFunction(i[e])?t=>t[e]():(t,n)=>{throw new s.Z(`Response type '${e}' is not supported`,s.Z.ERR_NOT_SUPPORT,n)})}));let w=async e=>null==e?0:a.Z.isBlob(e)?e.size:a.Z.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:a.Z.isArrayBufferView(e)?e.byteLength:(a.Z.isURLSearchParams(e)&&(e+=""),a.Z.isString(e))?(await _(e)).byteLength:void 0,S=async(e,t)=>{let n=a.Z.toFiniteNumber(e.getContentLength());return null==n?w(t):n};t.Z=g&&(async e=>{let t,n,r,{url:i,method:o,data:g,signal:m,cancelToken:w,timeout:A,onDownloadProgress:T,onUploadProgress:x,responseType:k,headers:M,withCredentials:P="same-origin",fetchOptions:I}=(0,p.Z)(e);k=k?(k+"").toLowerCase():"text";let[E,C]=m||w||A?(0,l.Z)([m,w],A):[],O=()=>{t||setTimeout(()=>{E&&E.unsubscribe()}),t=!0};try{if(x&&v&&"get"!==o&&"head"!==o&&0!==(r=await S(M,g))){let e,t=new Request(i,{method:"POST",body:g,duplex:"half"});a.Z.isFormData(g)&&(e=t.headers.get("content-type"))&&M.setContentType(e),t.body&&(g=(0,u.A6)(t.body,65536,f(r,(0,d.Z)(x)),null,_))}!a.Z.isString(P)&&(P=P?"cors":"omit"),n=new Request(i,{...I,signal:E,method:o.toUpperCase(),headers:M.normalize().toJSON(),body:g,duplex:"half",withCredentials:P});let t=await fetch(n),s=b&&("stream"===k||"response"===k);if(b&&(T||s)){let e={};["status","statusText","headers"].forEach(n=>{e[n]=t[n]});let n=a.Z.toFiniteNumber(t.headers.get("content-length"));t=new Response((0,u.A6)(t.body,65536,T&&f(n,(0,d.Z)(T,!0)),s&&O,_),e)}k=k||"text";let l=await y[a.Z.findKey(y,k)||"text"](t,e);return s||O(),C&&C(),await new Promise((r,i)=>{(0,h.Z)(r,i,{data:l,headers:c.Z.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:n})})}catch(t){if(O(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new s.Z("Network Error",s.Z.ERR_NETWORK,e,n),{cause:t.cause||t});throw s.Z.from(t,t&&t.code,e,n)}})},17961:function(e,t,n){"use strict";var r=n("81102"),i=n("15551"),o=n("54803"),a=n("26601"),s=n("83727"),l=n("16370"),u=n("40075"),c=n("80364"),d=n("65049"),p=n("91774");let h="undefined"!=typeof XMLHttpRequest;t.Z=h&&function(e){return new Promise(function(t,n){let h;let f=(0,p.Z)(e),g=f.data,m=c.Z.from(f.headers).normalize(),{responseType:_}=f;function v(){f.cancelToken&&f.cancelToken.unsubscribe(h),f.signal&&f.signal.removeEventListener("abort",h)}let b=new XMLHttpRequest;function y(){if(!b)return;let r=c.Z.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),o={data:_&&"text"!==_&&"json"!==_?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};(0,i.Z)(function(e){t(e),v()},function(e){n(e),v()},o),b=null}b.open(f.method.toUpperCase(),f.url,!0),b.timeout=f.timeout,"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){if(!!b&&4===b.readyState)(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(y)},b.onabort=function(){b&&(n(new a.Z("Request aborted",a.Z.ECONNABORTED,f,b)),b=null)},b.onerror=function(){n(new a.Z("Network Error",a.Z.ERR_NETWORK,f,b)),b=null},b.ontimeout=function(){let e=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",t=f.transitional||o.Z;f.timeoutErrorMessage&&(e=f.timeoutErrorMessage),n(new a.Z(e,t.clarifyTimeoutError?a.Z.ETIMEDOUT:a.Z.ECONNABORTED,f,b)),b=null},void 0===g&&m.setContentType(null),"setRequestHeader"in b&&r.Z.forEach(m.toJSON(),function(e,t){b.setRequestHeader(t,e)}),!r.Z.isUndefined(f.withCredentials)&&(b.withCredentials=!!f.withCredentials),_&&"json"!==_&&(b.responseType=f.responseType),"function"==typeof f.onDownloadProgress&&b.addEventListener("progress",(0,d.Z)(f.onDownloadProgress,!0)),"function"==typeof f.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",(0,d.Z)(f.onUploadProgress)),(f.cancelToken||f.signal)&&(h=t=>{b&&(n(!t||t.type?new s.Z(null,e,b):t),b.abort(),b=null)},f.cancelToken&&f.cancelToken.subscribe(h),f.signal&&(f.signal.aborted?h():f.signal.addEventListener("abort",h)));let w=(0,l.Z)(f.url);if(w&&-1===u.Z.protocols.indexOf(w)){n(new a.Z("Unsupported protocol "+w+":",a.Z.ERR_BAD_REQUEST,e));return}b.send(g||null)})}},18783:function(e,t,n){"use strict";var r=n("81102"),i=n("43289"),o=n("46366"),a=n("80110"),s=n("67561"),l=n("54245"),u=n("83727"),c=n("44310"),d=n("65497"),p=n("75654"),h=n("65013"),f=n("26601"),g=n("10531"),m=n("47097"),_=n("80364"),v=n("81783"),b=n("23843");let y=function e(t){let n=new o.Z(t),s=(0,i.Z)(o.Z.prototype.request,n);return r.Z.extend(s,o.Z.prototype,n,{allOwnKeys:!0}),r.Z.extend(s,n,null,{allOwnKeys:!0}),s.create=function(n){return e((0,a.Z)(t,n))},s}(s.Z);y.Axios=o.Z,y.CanceledError=u.Z,y.CancelToken=c.Z,y.isCancel=d.Z,y.VERSION=p.q,y.toFormData=h.Z,y.AxiosError=f.Z,y.Cancel=y.CanceledError,y.all=function(e){return Promise.all(e)},y.spread=g.Z,y.isAxiosError=m.Z,y.mergeConfig=a.Z,y.AxiosHeaders=_.Z,y.formToJSON=e=>(0,l.Z)(r.Z.isHTMLForm(e)?new FormData(e):e),y.getAdapter=v.Z.getAdapter,y.HttpStatusCode=b.Z,y.default=y,t.Z=y},44310:function(e,t,n){"use strict";var r=n("83727");class i{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,i,o){!n.reason&&(n.reason=new r.Z(e,i,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new i(function(t){e=t}),cancel:e}}}t.Z=i},83727:function(e,t,n){"use strict";var r=n("26601"),i=n("81102");function o(e,t,n){r.Z.call(this,null==e?"canceled":e,r.Z.ERR_CANCELED,t,n),this.name="CanceledError"}i.Z.inherits(o,r.Z,{__CANCEL__:!0}),t.Z=o},65497:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e){return!!(e&&e.__CANCEL__)}},46366:function(e,t,n){"use strict";var r=n("81102"),i=n("48583"),o=n("37435"),a=n("82330"),s=n("80110"),l=n("66151"),u=n("39532"),c=n("80364");let d=u.Z.validators;class p{constructor(e){this.defaults=e,this.interceptors={request:new o.Z,response:new o.Z}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,i;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:l,headers:p}=t=(0,s.Z)(this.defaults,t);void 0!==o&&u.Z.assertOptions(o,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1),null!=l&&(r.Z.isFunction(l)?t.paramsSerializer={serialize:l}:u.Z.assertOptions(l,{encode:d.function,serialize:d.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let h=p&&r.Z.merge(p.common,p[t.method]);p&&r.Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete p[e]}),t.headers=c.Z.concat(h,p);let f=[],g=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(g=g&&e.synchronous,f.unshift(e.fulfilled,e.rejected))});let m=[];this.interceptors.response.forEach(function(e){m.push(e.fulfilled,e.rejected)});let _=0;if(!g){let e=[a.Z.bind(this),void 0];for(e.unshift.apply(e,f),e.push.apply(e,m),i=e.length,n=Promise.resolve(t);_<i;)n=n.then(e[_++],e[_++]);return n}i=f.length;let v=t;for(_=0;_<i;){let e=f[_++],t=f[_++];try{v=e(v)}catch(e){t.call(this,e);break}}try{n=a.Z.call(this,v)}catch(e){return Promise.reject(e)}for(_=0,i=m.length;_<i;)n=n.then(m[_++],m[_++]);return n}getUri(e){e=(0,s.Z)(this.defaults,e);let t=(0,l.Z)(e.baseURL,e.url);return(0,i.Z)(t,e.params,e.paramsSerializer)}}r.Z.forEach(["delete","get","head","options"],function(e){p.prototype[e]=function(t,n){return this.request((0,s.Z)(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.Z.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request((0,s.Z)(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)}),t.Z=p},26601:function(e,t,n){"use strict";var r=n("81102");function i(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.Z.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r.Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{a[e]={value:e}}),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=(e,t,n,a,s,l)=>{let u=Object.create(o);return r.Z.toFlatObject(e,u,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),i.call(u,e.message,t,n,a,s),u.cause=e,u.name=e.name,l&&Object.assign(u,l),u},t.Z=i},80364:function(e,t,n){"use strict";var r=n("81102"),i=n("68141");let o=Symbol("internals");function a(e){return e&&String(e).trim().toLowerCase()}function s(e){return!1===e||null==e?e:r.Z.isArray(e)?e.map(s):String(e)}let l=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function u(e,t,n,i,o){if(r.Z.isFunction(i))return i.call(this,t,n);if(o&&(t=n),r.Z.isString(t)){if(r.Z.isString(i))return -1!==t.indexOf(i);if(r.Z.isRegExp(i))return i.test(t)}}class c{constructor(e){e&&this.set(e)}set(e,t,n){let o=this;function u(e,t,n){let i=a(t);if(!i)throw Error("header name must be a non-empty string");let l=r.Z.findKey(o,i);(!l||void 0===o[l]||!0===n||void 0===n&&!1!==o[l])&&(o[l||t]=s(e))}let c=(e,t)=>r.Z.forEach(e,(e,n)=>u(e,n,t));if(r.Z.isPlainObject(e)||e instanceof this.constructor)c(e,t);else if(r.Z.isString(e)&&(e=e.trim())&&!l(e))c((0,i.Z)(e),t);else if(r.Z.isHeaders(e))for(let[t,r]of e.entries())u(r,t,n);else null!=e&&u(t,e,n);return this}get(e,t){if(e=a(e)){let n=r.Z.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(r.Z.isFunction(t))return t.call(this,e,n);if(r.Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=a(e)){let n=r.Z.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||u(this,this[n],n,t)))}return!1}delete(e,t){let n=this,i=!1;function o(e){if(e=a(e)){let o=r.Z.findKey(n,e);o&&(!t||u(n,n[o],o,t))&&(delete n[o],i=!0)}}return r.Z.isArray(e)?e.forEach(o):o(e),i}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||u(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return r.Z.forEach(this,(i,o)=>{let a=r.Z.findKey(n,o);if(a){t[a]=s(i),delete t[o];return}let l=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(o).trim();l!==o&&delete t[o],t[l]=s(i),n[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return r.Z.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&r.Z.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[o]=this[o]={accessors:{}}).accessors,n=this.prototype;function i(e){let i=a(e);!t[i]&&(!function(e,t){let n=r.Z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[i]=!0)}return r.Z.isArray(e)?e.forEach(i):i(e),this}}c.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),r.Z.reduceDescriptors(c.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),r.Z.freezeMethods(c),t.Z=c},37435:function(e,t,n){"use strict";var r=n("81102");t.Z=class e{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){r.Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}},66151:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n("4675"),i=n("18239");function o(e,t){return e&&!(0,r.Z)(t)?(0,i.Z)(e,t):t}},82330:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n("92880"),i=n("65497"),o=n("67561"),a=n("83727"),s=n("80364"),l=n("81783");function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a.Z(null,e)}function c(e){return u(e),e.headers=s.Z.from(e.headers),e.data=r.Z.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),l.Z.getAdapter(e.adapter||o.Z.adapter)(e).then(function(t){return u(e),t.data=r.Z.call(e,e.transformResponse,t),t.headers=s.Z.from(t.headers),t},function(t){return!(0,i.Z)(t)&&(u(e),t&&t.response&&(t.response.data=r.Z.call(e,e.transformResponse,t.response),t.response.headers=s.Z.from(t.response.headers))),Promise.reject(t)})}},80110:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("81102"),i=n("80364");let o=e=>e instanceof i.Z?{...e}:e;function a(e,t){t=t||{};let n={};function i(e,t,n){if(r.Z.isPlainObject(e)&&r.Z.isPlainObject(t))return r.Z.merge.call({caseless:n},e,t);if(r.Z.isPlainObject(t))return r.Z.merge({},t);if(r.Z.isArray(t))return t.slice();return t}function a(e,t,n){return r.Z.isUndefined(t)?r.Z.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function s(e,t){if(!r.Z.isUndefined(t))return i(void 0,t)}function l(e,t){return r.Z.isUndefined(t)?r.Z.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function u(n,r,o){return o in t?i(n,r):o in e?i(void 0,n):void 0}let c={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u,headers:(e,t)=>a(o(e),o(t),!0)};return r.Z.forEach(Object.keys(Object.assign({},e,t)),function(i){let o=c[i]||a,s=o(e[i],t[i],i);r.Z.isUndefined(s)&&o!==u||(n[i]=s)}),n}},15551:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("26601");function i(e,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new r.Z("Request failed with status code "+n.status,[r.Z.ERR_BAD_REQUEST,r.Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}},92880:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("81102"),i=n("67561"),o=n("80364");function a(e,t){let n=this||i.Z,a=t||n,s=o.Z.from(a.headers),l=a.data;return r.Z.forEach(e,function(e){l=e.call(n,l,s.normalize(),t?t.status:void 0)}),s.normalize(),l}},67561:function(e,t,n){"use strict";var r=n("81102"),i=n("26601"),o=n("54803"),a=n("65013"),s=n("55992"),l=n("40075"),u=n("54245");let c={transitional:o.Z,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let i=t.getContentType()||"",o=i.indexOf("application/json")>-1,l=r.Z.isObject(e);if(l&&r.Z.isHTMLForm(e)&&(e=new FormData(e)),r.Z.isFormData(e))return o?JSON.stringify((0,u.Z)(e)):e;if(r.Z.isArrayBuffer(e)||r.Z.isBuffer(e)||r.Z.isStream(e)||r.Z.isFile(e)||r.Z.isBlob(e)||r.Z.isReadableStream(e))return e;if(r.Z.isArrayBufferView(e))return e.buffer;if(r.Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(l){if(i.indexOf("application/x-www-form-urlencoded")>-1)return(0,s.Z)(e,this.formSerializer).toString();if((n=r.Z.isFileList(e))||i.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return(0,a.Z)(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return l||o?(t.setContentType("application/json",!1),function(e,t,n){if(r.Z.isString(e))try{return(0,JSON.parse)(e),r.Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||c.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(r.Z.isResponse(e)||r.Z.isReadableStream(e))return e;if(e&&r.Z.isString(e)&&(n&&!this.responseType||o)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&o){if("SyntaxError"===e.name)throw i.Z.from(e,i.Z.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:l.Z.classes.FormData,Blob:l.Z.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};r.Z.forEach(["delete","get","head","post","put","patch"],e=>{c.headers[e]={}}),t.Z=c},54803:function(e,t){"use strict";t.Z={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},75654:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});let r="1.7.2"},45646:function(e,t,n){"use strict";var r=n("65013");function i(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function o(e,t){this._pairs=[],e&&(0,r.Z)(e,this,t)}let a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){let t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")},t.Z=o},23843:function(e,t){"use strict";let n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(n).forEach(([e,t])=>{n[t]=e}),t.Z=n},43289:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e,t){return function(){return e.apply(t,arguments)}}},48583:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("81102"),i=n("45646");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function a(e,t,n){let a;if(!t)return e;let s=n&&n.encode||o,l=n&&n.serialize;if(a=l?l(t,n):r.Z.isURLSearchParams(t)?t.toString():new i.Z(t,n).toString(s)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},18239:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}},16072:function(e,t,n){"use strict";var r=n("83727"),i=n("26601");t.Z=(e,t)=>{let n,o=new AbortController,a=function(e){if(!n){n=!0,l();let t=e instanceof Error?e:this.reason;o.abort(t instanceof i.Z?t:new r.Z(t instanceof Error?t.message:t))}},s=t&&setTimeout(()=>{a(new i.Z(`timeout ${t} of ms exceeded`,i.Z.ETIMEDOUT))},t),l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",a):e.unsubscribe(a))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",a));let{signal:u}=o;return u.unsubscribe=l,[u,()=>{s&&clearTimeout(s),s=null}]}},82267:function(e,t,n){"use strict";var r=n("81102"),i=n("40075");t.Z=i.Z.hasStandardBrowserEnv?{write(e,t,n,i,o,a){let s=[e+"="+encodeURIComponent(t)];r.Z.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.Z.isString(i)&&s.push("path="+i),r.Z.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}}},54245:function(e,t,n){"use strict";var r=n("81102");t.Z=function(e){if(r.Z.isFormData(e)&&r.Z.isFunction(e.entries)){let t={};return r.Z.forEachEntry(e,(e,n)=>{var i;!function e(t,n,i,o){let a=t[o++];if("__proto__"===a)return!0;let s=Number.isFinite(+a),l=o>=t.length;return(a=!a&&r.Z.isArray(i)?i.length:a,l)?(r.Z.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s):((!i[a]||!r.Z.isObject(i[a]))&&(i[a]=[]),e(t,n,i[a],o)&&r.Z.isArray(i[a])&&(i[a]=function(e){let t,n;let r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(i[a])),!s)}((i=e,r.Z.matchAll(/\w+|\[(\w*)]/g,i).map(e=>"[]"===e[0]?"":e[1]||e[0])),n,t,0)}),t}return null}},4675:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},47097:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n("81102");function i(e){return r.Z.isObject(e)&&!0===e.isAxiosError}},75327:function(e,t,n){"use strict";var r=n("81102"),i=n("40075");t.Z=i.Z.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){let n=r.Z.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},98474:function(e,t){"use strict";t.Z=null},68141:function(e,t,n){"use strict";var r=n("81102");let i=r.Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);t.Z=e=>{let t,n,r;let o={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),t&&(!o[t]||!i[t])&&("set-cookie"===t?o[t]?o[t].push(n):o[t]=[n]:o[t]=o[t]?o[t]+", "+n:n)}),o}},16370:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},65049:function(e,t,n){"use strict";var r=n("90168"),i=n("23251");t.Z=(e,t,n=3)=>{let o=0,a=(0,r.Z)(50,250);return(0,i.Z)(n=>{let r=n.loaded,i=n.lengthComputable?n.total:void 0,s=r-o,l=a(s);o=r;let u={loaded:r,total:i,progress:i?r/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&r<=i?(i-r)/l:void 0,event:n,lengthComputable:null!=i};u[t?"download":"upload"]=!0,e(u)},n)}},91774:function(e,t,n){"use strict";var r=n("40075"),i=n("81102"),o=n("75327"),a=n("82267"),s=n("66151"),l=n("80110"),u=n("80364"),c=n("48583");t.Z=e=>{let t;let n=(0,l.Z)({},e),{data:d,withXSRFToken:p,xsrfHeaderName:h,xsrfCookieName:f,headers:g,auth:m}=n;if(n.headers=g=u.Z.from(g),n.url=(0,c.Z)((0,s.Z)(n.baseURL,n.url),e.params,e.paramsSerializer),m&&g.set("Authorization","Basic "+btoa((m.username||"")+":"+(m.password?unescape(encodeURIComponent(m.password)):""))),i.Z.isFormData(d)){if(r.Z.hasStandardBrowserEnv||r.Z.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if(!1!==(t=g.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];g.setContentType([e||"multipart/form-data",...n].join("; "))}}if(r.Z.hasStandardBrowserEnv&&(p&&i.Z.isFunction(p)&&(p=p(n)),p||!1!==p&&(0,o.Z)(n.url))){let e=h&&f&&a.Z.read(f);e&&g.set(h,e)}return n}},90168:function(e,t){"use strict";t.Z=function(e,t){let n;let r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[a];!n&&(n=l),r[o]=s,i[o]=l;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-n<t)return;let p=u&&l-u;return p?Math.round(1e3*d/p):void 0}}},10531:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e){return function(t){return e.apply(null,t)}}},23251:function(e,t){"use strict";t.Z=function(e,t){let n=0,r=1e3/t,i=null;return function(){let t=Date.now();if(this===!0||t-n>r)return i&&(clearTimeout(i),i=null),n=t,e.apply(null,arguments);!i&&(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(t-n)))}}},65013:function(e,t,n){"use strict";var r=n("81102"),i=n("26601"),o=n("98474");function a(e){return r.Z.isPlainObject(e)||r.Z.isArray(e)}function s(e){return r.Z.endsWith(e,"[]")?e.slice(0,-2):e}function l(e,t,n){return e?e.concat(t).map(function(e,t){return e=s(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let u=r.Z.toFlatObject(r.Z,{},null,function(e){return/^is[A-Z]/.test(e)});t.Z=function(e,t,n){if(!r.Z.isObject(e))throw TypeError("target must be an object");t=t||new(o.Z||FormData);let c=(n=r.Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!r.Z.isUndefined(t[e])})).metaTokens,d=n.visitor||m,p=n.dots,h=n.indexes,f=(n.Blob||"undefined"!=typeof Blob&&Blob)&&r.Z.isSpecCompliantForm(t);if(!r.Z.isFunction(d))throw TypeError("visitor must be a function");function g(e){if(null===e)return"";if(r.Z.isDate(e))return e.toISOString();if(!f&&r.Z.isBlob(e))throw new i.Z("Blob is not supported. Use a Buffer instead.");return r.Z.isArrayBuffer(e)||r.Z.isTypedArray(e)?f&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function m(e,n,i){let o=e;if(e&&!i&&"object"==typeof e){if(r.Z.endsWith(n,"{}"))n=c?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(r.Z.isArray(e)&&(u=e,r.Z.isArray(u)&&!u.some(a))||(r.Z.isFileList(e)||r.Z.endsWith(n,"[]"))&&(o=r.Z.toArray(e)))return n=s(n),o.forEach(function(e,i){r.Z.isUndefined(e)||null===e||t.append(!0===h?l([n],i,p):null===h?n:n+"[]",g(e))}),!1}}return!!a(e)||(t.append(l(i,n,p),g(e)),!1)}let _=[],v=Object.assign(u,{defaultVisitor:m,convertValue:g,isVisitable:a});if(!r.Z.isObject(e))throw TypeError("data must be an object");return!function e(n,i){if(!r.Z.isUndefined(n)){if(-1!==_.indexOf(n))throw Error("Circular reference detected in "+i.join("."));_.push(n),r.Z.forEach(n,function(n,o){!0===(!(r.Z.isUndefined(n)||null===n)&&d.call(t,n,r.Z.isString(o)?o.trim():o,i,v))&&e(n,i?i.concat(o):[o])}),_.pop()}}(e),t}},55992:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("81102"),i=n("65013"),o=n("40075");function a(e,t){return(0,i.Z)(e,new o.Z.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return o.Z.isNode&&r.Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}},21615:function(e,t,n){"use strict";n.d(t,{A6:function(){return o}});let r=function*(e,t){let n,r=e.byteLength;if(!t||r<t){yield e;return}let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},i=async function*(e,t,n){for await(let i of e)yield*r(ArrayBuffer.isView(i)?i:await n(String(i)),t)},o=(e,t,n,r,o)=>{let a=i(e,t,o),s=0;return new ReadableStream({type:"bytes",async pull(e){let{done:t,value:i}=await a.next();if(t){e.close(),r();return}let o=i.byteLength;n&&n(s+=o),e.enqueue(new Uint8Array(i))},cancel:e=>(r(e),a.return())},{highWaterMark:2})}},39532:function(e,t,n){"use strict";var r=n("75654"),i=n("26601");let o={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r.q+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,s)=>{if(!1===e)throw new i.Z(o(r," has been removed"+(t?" in "+t:"")),i.Z.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}};t.Z={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i.Z("options must be an object",i.Z.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),o=r.length;for(;o-- >0;){let a=r[o],s=t[a];if(s){let t=e[a],n=void 0===t||s(t,a,e);if(!0!==n)throw new i.Z("option "+a+" must be "+n,i.Z.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new i.Z("Unknown option "+a,i.Z.ERR_BAD_OPTION)}},validators:o}},21467:function(e,t){"use strict";t.Z="undefined"!=typeof Blob?Blob:null},90508:function(e,t){"use strict";t.Z="undefined"!=typeof FormData?FormData:null},55427:function(e,t,n){"use strict";var r=n("45646");t.Z="undefined"!=typeof URLSearchParams?URLSearchParams:r.Z},52905:function(e,t,n){"use strict";var r=n("55427"),i=n("90508"),o=n("21467");t.Z={isBrowser:!0,classes:{URLSearchParams:r.Z,FormData:i.Z,Blob:o.Z},protocols:["http","https","file","blob","url","data"]}},66844:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{hasBrowserEnv:function(){return i},hasStandardBrowserEnv:function(){return o},hasStandardBrowserWebWorkerEnv:function(){return a},origin:function(){return s}});let i="undefined"!=typeof window&&"undefined"!=typeof document;let o=(r="undefined"!=typeof navigator&&navigator.product,i&&0>["ReactNative","NativeScript","NS"].indexOf(r)),a="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,s=i&&window.location.href||"http://localhost"},40075:function(e,t,n){"use strict";var r=n("52905"),i=n("66844");t.Z={...i,...r.Z}},81102:function(e,t,n){"use strict";let r,i;var o=n("43289");let{toString:a}=Object.prototype,{getPrototypeOf:s}=Object;let l=(r=Object.create(null),e=>{let t=a.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())}),u=e=>(e=e.toLowerCase(),t=>l(t)===e),c=e=>t=>typeof t===e,{isArray:d}=Array,p=c("undefined"),h=u("ArrayBuffer"),f=c("string"),g=c("function"),m=c("number"),_=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==l(e))return!1;let t=s(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},b=u("Date"),y=u("File"),w=u("Blob"),S=u("FileList"),A=u("URLSearchParams"),[T,x,k,M]=["ReadableStream","Request","Response","Headers"].map(u);function P(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),d(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}}function I(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,C=e=>!p(e)&&e!==E;let O=(i="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>i&&e instanceof i),D=u("HTMLFormElement"),L=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),B=u("RegExp"),N=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};P(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},R="abcdefghijklmnopqrstuvwxyz",j="0123456789",U={DIGIT:j,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+j},z=u("AsyncFunction");t.Z={isArray:d,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=l(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer)},isString:f,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:v,isReadableStream:T,isRequest:x,isResponse:k,isHeaders:M,isUndefined:p,isDate:b,isFile:y,isBlob:w,isRegExp:B,isFunction:g,isStream:e=>_(e)&&g(e.pipe),isURLSearchParams:A,isTypedArray:O,isFileList:S,forEach:P,merge:function e(){let{caseless:t}=C(this)&&this||{},n={},r=(r,i)=>{let o=t&&I(n,i)||i;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):d(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&P(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(P(t,(t,r)=>{n&&g(t)?e[r]=(0,o.Z)(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;let l={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!m(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:L,hasOwnProp:L,reduceDescriptors:N,freezeMethods:e=>{N(e,(t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(g(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}!t.set&&(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return r(d(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:I,global:E,isContextDefined:C,ALPHABET:U,generateString:(e=16,t=U.ALPHA_DIGIT)=>{let n="",{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(_(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=d(e)?[]:{};return P(e,(e,t)=>{let o=n(e,r+1);p(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(_(e)||g(e))&&g(e.then)&&g(e.catch)}},32130:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});let r="%[a-f0-9]{2}",i=RegExp("("+r+")|([^%]+?)","gi"),o=RegExp("("+r+")+","gi");function a(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){let t={"%FE%FF":"锟斤拷","%FF%FE":"锟斤拷"},n=o.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let e=function(e){try{return decodeURIComponent(e)}catch{let t=e.match(i)||[];for(let n=1;n<t.length;n++)t=(e=(function e(t,n){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;n=n||1;let r=t.slice(0,n),i=t.slice(n);return Array.prototype.concat.call([],e(r),e(i))})(t,n).join("")).match(i)||[];return e}}(n[0]);e!==n[0]&&(t[n[0]]=e)}n=o.exec(e)}for(let n of(t["%C2"]="锟",Object.keys(t)))e=e.replace(RegExp(n,"g"),t[n]);return e}(e)}}},97196:function(){"use strict";Object.prototype.hasOwnProperty},12045:function(e,t,n){"use strict";var r=n("55917");t.Z=r},71353:function(e,t,n){"use strict";function r(e,t){let n={};if(Array.isArray(t))for(let r of t){let t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(let r of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){let o=e[r];t(r,o,e)&&Object.defineProperty(n,r,i)}}return n}n.d(t,{T:function(){return r}})},94853:function(e,t,n){"use strict";n.d(t,{Uy:function(){return Z}});var r,i=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function s(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var l=Object.getPrototypeOf;function u(e){return!!e&&!!e[a]}function c(e){return!!e&&(p(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||_(e)||v(e))}var d=Object.prototype.constructor.toString();function p(e){if(!e||"object"!=typeof e)return!1;let t=l(e);if(null===t)return!0;let n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===d}function h(e,t){0===f(e)?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function f(e){let t=e[a];return t?t.type_:Array.isArray(e)?1:_(e)?2:v(e)?3:0}function g(e,t){return 2===f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function m(e,t,n){let r=f(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function _(e){return e instanceof Map}function v(e){return e instanceof Set}function b(e){return e.copy_||e.base_}function y(e,t){if(_(e))return new Map(e);if(v(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&p(e))return l(e)?{...e}:Object.assign(Object.create(null),e);let n=Object.getOwnPropertyDescriptors(e);delete n[a];let r=Reflect.ownKeys(n);for(let t=0;t<r.length;t++){let i=r[t],o=n[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(n[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(l(e),n)}function w(e,t=!1){return A(e)||u(e)||!c(e)?e:(f(e)>1&&(e.set=e.add=e.clear=e.delete=S),Object.freeze(e),t&&h(e,(e,t)=>w(t,!0),!0),e)}function S(){s(2)}function A(e){return Object.isFrozen(e)}var T={};function x(e){let t=T[e];return!t&&s(0,e),t}function k(){return r}function M(e,t){t&&(x("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){I(e),e.drafts_.forEach(C),e.drafts_=null}function I(e){e===r&&(r=e.parent_)}function E(e){var t;return t=r,r={drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function C(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function O(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return void 0!==e&&e!==n?(n[a].modified_&&(P(t),s(4)),c(e)&&(e=D(t,e),!t.parent_&&B(t,e)),t.patches_&&x("Patches").generateReplacementPatches_(n[a].base_,e,t.patches_,t.inversePatches_)):e=D(t,n,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==i?e:void 0}function D(e,t,n){if(A(t))return t;let r=t[a];if(!r)return h(t,(i,o)=>L(e,r,t,i,o,n),!0),t;if(r.scope_!==e)return t;if(!r.modified_)return B(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;let t=r.copy_,i=t,o=!1;3===r.type_&&(i=new Set(t),t.clear(),o=!0),h(i,(i,a)=>L(e,r,t,i,a,n,o)),B(e,t,!1),n&&e.patches_&&x("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function L(e,t,n,r,i,o,a){if(u(i)){let a=D(e,i,o&&t&&3!==t.type_&&!g(t.assigned_,r)?o.concat(r):void 0);if(m(n,r,a),!u(a))return;e.canAutoFreeze_=!1}else a&&n.add(i);if(c(i)&&!A(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;D(e,i),(!t||!t.scope_.parent_)&&B(e,i)}}function B(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&w(t,n)}var N={get(e,t){if(t===a)return e;let n=b(e);if(!g(n,t))return function(e,t,n){let r=U(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);let r=n[t];return e.finalized_||!c(r)?r:r===j(e.base_,t)?(F(e),e.copy_[t]=q(r,e)):r},has:(e,t)=>t in b(e),ownKeys:e=>Reflect.ownKeys(b(e)),set(e,t,n){let r=U(b(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){var i,o;let r=j(b(e),t),s=r?.[a];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((i=n)===(o=r)?0!==i||1/i==1/o:i!=i&&o!=o)&&(void 0!==n||g(e.base_,t)))return!0;F(e),z(e)}return!!(e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==j(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,F(e),z(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let n=b(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){s(11)},getPrototypeOf:e=>l(e.base_),setPrototypeOf(){s(12)}},R={};function j(e,t){let n=e[a];return(n?b(n):e)[t]}h(N,(e,t)=>{R[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),R.deleteProperty=function(e,t){return R.set.call(this,e,t,void 0)},R.set=function(e,t,n){return N.set.call(this,e[0],t,n,e[0])};function U(e,t){if(!(t in e))return;let n=l(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=l(n)}}function z(e){!e.modified_&&(e.modified_=!0,e.parent_&&z(e.parent_))}function F(e){!e.copy_&&(e.copy_=y(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var G=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,n)=>{let r;if("function"==typeof e&&"function"!=typeof t){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}if("function"!=typeof t&&s(6),void 0!==n&&"function"!=typeof n&&s(7),c(e)){let i=E(this),o=q(e,void 0),a=!0;try{r=t(o),a=!1}finally{a?P(i):I(i)}return M(i,n),O(r,i)}if(e&&"object"==typeof e)s(1,e);else{if(void 0===(r=t(e))&&(r=e),r===i&&(r=void 0),this.autoFreeze_&&w(r,!0),n){let t=[],i=[];x("Patches").generateReplacementPatches_(e,r,t,i),n(t,i)}return r}},this.produceWithPatches=(e,t)=>{let n,r;return"function"==typeof e?(t,...n)=>this.produceWithPatches(t,t=>e(t,...n)):[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){!c(e)&&s(8),u(e)&&(e=function(e){return!u(e)&&s(10,e),function e(t){let n;if(!c(t)||A(t))return t;let r=t[a];if(r){if(!r.modified_)return r.base_;r.finalized_=!0,n=y(t,r.scope_.immer_.useStrictShallowCopy_)}else n=y(t,!0);return h(n,(t,r)=>{m(n,t,e(r))}),r&&(r.finalized_=!1),n}(e)}(e));let t=E(this),n=q(e,void 0);return n[a].isManual_=!0,I(t),n}finishDraft(e,t){let n=e&&e[a];(!n||!n.isManual_)&&s(9);let{scope_:r}=n;return M(r,t),O(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=x("Patches").applyPatches_;return u(e)?r(e,t):this.produce(e,e=>r(e,t))}};function q(e,t){let n=_(e)?x("MapSet").proxyMap_(e,t):v(e)?x("MapSet").proxySet_(e,t):function(e,t){let n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:r,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=i,a=N;n&&(o=[i],a=R);let{revoke:s,proxy:l}=Proxy.revocable(o,a);return i.draft_=l,i.revoke_=s,l}(e,t);return(t?t.scope_:r).drafts_.push(n),n}var W=new G,Z=W.produce;W.produceWithPatches.bind(W),W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W),W.applyPatches.bind(W),W.createDraft.bind(W),W.finishDraft.bind(W)},91273:function(e,t,n){"use strict";var r=n("71478"),i=n("8960"),o=(0,r.Z)(i.Z,"DataView");t.Z=o},85966:function(e,t,n){"use strict";var r=n("63533"),i=n("55099"),o=n("72804"),a=n("79106"),s=n("40394");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r.Z,l.prototype.delete=i.Z,l.prototype.get=o.Z,l.prototype.has=a.Z,l.prototype.set=s.Z,t.Z=l},87426:function(e,t,n){"use strict";var r=n("83280"),i=n("81690"),o=n("39984"),a=n("129"),s=n("66107");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r.Z,l.prototype.delete=i.Z,l.prototype.get=o.Z,l.prototype.has=a.Z,l.prototype.set=s.Z,t.Z=l},96997:function(e,t,n){"use strict";var r=n("71478"),i=n("8960"),o=(0,r.Z)(i.Z,"Map");t.Z=o},93460:function(e,t,n){"use strict";var r=n("77074"),i=n("54337"),o=n("61139"),a=n("89940"),s=n("9430");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r.Z,l.prototype.delete=i.Z,l.prototype.get=o.Z,l.prototype.has=a.Z,l.prototype.set=s.Z,t.Z=l},84974:function(e,t,n){"use strict";var r=n("71478"),i=n("8960"),o=(0,r.Z)(i.Z,"Promise");t.Z=o},49835:function(e,t,n){"use strict";var r=n("71478"),i=n("8960"),o=(0,r.Z)(i.Z,"Set");t.Z=o},67335:function(e,t,n){"use strict";var r=n("93460"),i=n("4556"),o=n("94273");function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.Z;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i.Z,a.prototype.has=o.Z,t.Z=a},70151:function(e,t,n){"use strict";var r=n("87426"),i=n("212"),o=n("3789"),a=n("63547"),s=n("57043"),l=n("53983");function u(e){var t=this.__data__=new r.Z(e);this.size=t.size}u.prototype.clear=i.Z,u.prototype.delete=o.Z,u.prototype.get=a.Z,u.prototype.has=s.Z,u.prototype.set=l.Z,t.Z=u},72614:function(e,t,n){"use strict";var r=n("8960").Z.Symbol;t.Z=r},62743:function(e,t,n){"use strict";var r=n("8960").Z.Uint8Array;t.Z=r},62289:function(e,t,n){"use strict";var r=n("71478"),i=n("8960"),o=(0,r.Z)(i.Z,"WeakMap");t.Z=o},83157:function(e,t){"use strict";t.Z=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},65700:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},13042:function(e,t,n){"use strict";var r=n("38215"),i=n("76945"),o=n("15989"),a=n("80285"),s=n("66000"),l=n("39485"),u=Object.prototype.hasOwnProperty;t.Z=function(e,t){var n=(0,o.Z)(e),c=!n&&(0,i.Z)(e),d=!n&&!c&&(0,a.Z)(e),p=!n&&!c&&!d&&(0,l.Z)(e),h=n||c||d||p,f=h?(0,r.Z)(e.length,String):[],g=f.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.Z)(m,g)))&&f.push(m);return f}},71991:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},98216:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},39515:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},52582:function(e,t,n){"use strict";var r=n("48635"),i=n("83759"),o=Object.prototype.hasOwnProperty;t.Z=function(e,t,n){var a=e[t];(!(o.call(e,t)&&(0,i.Z)(a,n))||void 0===n&&!(t in e))&&(0,r.Z)(e,t,n)}},97096:function(e,t,n){"use strict";var r=n("83759");t.Z=function(e,t){for(var n=e.length;n--;)if((0,r.Z)(e[n][0],t))return n;return -1}},48635:function(e,t,n){"use strict";var r=n("82079");t.Z=function(e,t,n){"__proto__"==t&&r.Z?(0,r.Z)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},77783:function(e,t,n){"use strict";var r=n("98216"),i=n("72969");t.Z=function e(t,n,o,a,s){var l=-1,u=t.length;for(o||(o=i.Z),s||(s=[]);++l<u;){var c=t[l];n>0&&o(c)?n>1?e(c,n-1,o,a,s):(0,r.Z)(s,c):!a&&(s[s.length]=c)}return s}},39892:function(e,t,n){"use strict";var r=(0,n("3123").Z)();t.Z=r},65373:function(e,t,n){"use strict";var r=n("39892"),i=n("67069");t.Z=function(e,t){return e&&(0,r.Z)(e,t,i.Z)}},67721:function(e,t,n){"use strict";var r=n("95977"),i=n("25711");t.Z=function(e,t){t=(0,r.Z)(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[(0,i.Z)(t[n++])];return n&&n==o?e:void 0}},43202:function(e,t,n){"use strict";var r=n("98216"),i=n("15989");t.Z=function(e,t,n){var o=t(e);return(0,i.Z)(e)?o:(0,r.Z)(o,n(e))}},36432:function(e,t,n){"use strict";var r=n("72614"),i=n("86499"),o=n("70774"),a=r.Z?r.Z.toStringTag:void 0;t.Z=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?(0,i.Z)(e):(0,o.Z)(e)}},74765:function(e,t){"use strict";t.Z=function(e,t){return null!=e&&t in Object(e)}},76594:function(e,t,n){"use strict";var r=n("36432"),i=n("69811");t.Z=function(e){return(0,i.Z)(e)&&"[object Arguments]"==(0,r.Z)(e)}},46124:function(e,t,n){"use strict";var r=n("49626"),i=n("69811");t.Z=function e(t,n,o,a,s){return t===n||(null!=t&&null!=n&&((0,i.Z)(t)||(0,i.Z)(n))?(0,r.Z)(t,n,o,a,e,s):t!=t&&n!=n)}},49626:function(e,t,n){"use strict";var r=n("70151"),i=n("30713"),o=n("65834"),a=n("11419"),s=n("39172"),l=n("15989"),u=n("80285"),c=n("39485"),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;t.Z=function(e,t,n,g,m,_){var v=(0,l.Z)(e),b=(0,l.Z)(t),y=v?p:(0,s.Z)(e),w=b?p:(0,s.Z)(t);y=y==d?h:y,w=w==d?h:w;var S=y==h,A=w==h,T=y==w;if(T&&(0,u.Z)(e)){if(!(0,u.Z)(t))return!1;v=!0,S=!1}if(T&&!S)return _||(_=new r.Z),v||(0,c.Z)(e)?(0,i.Z)(e,t,n,g,m,_):(0,o.Z)(e,t,y,n,g,m,_);if(!(1&n)){var x=S&&f.call(e,"__wrapped__"),k=A&&f.call(t,"__wrapped__");if(x||k){var M=x?e.value():e,P=k?t.value():t;return _||(_=new r.Z),m(M,P,n,g,_)}}return!!T&&(_||(_=new r.Z),(0,a.Z)(e,t,n,g,m,_))}},40040:function(e,t,n){"use strict";var r=n("70151"),i=n("46124");t.Z=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],p=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r.Z;if(o)var f=o(d,p,c,e,t,h);if(!(void 0===f?(0,i.Z)(p,d,3,o,h):f))return!1}}return!0}},83830:function(e,t,n){"use strict";var r=n("76147"),i=n("93098"),o=n("67986"),a=n("20534"),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.Z=function(e){return!(!(0,o.Z)(e)||(0,i.Z)(e))&&((0,r.Z)(e)?d:s).test((0,a.Z)(e))}},15993:function(e,t,n){"use strict";var r=n("36432"),i=n("52702"),o=n("69811"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;t.Z=function(e){return(0,o.Z)(e)&&(0,i.Z)(e.length)&&!!a[(0,r.Z)(e)]}},69254:function(e,t,n){"use strict";var r=n("49572"),i=n("17918"),o=n("41553"),a=n("15989"),s=n("19021");t.Z=function(e){return"function"==typeof e?e:null==e?o.Z:"object"==typeof e?(0,a.Z)(e)?(0,i.Z)(e[0],e[1]):(0,r.Z)(e):(0,s.Z)(e)}},21517:function(e,t,n){"use strict";var r=n("22958"),i=n("78666"),o=Object.prototype.hasOwnProperty;t.Z=function(e){if(!(0,r.Z)(e))return(0,i.Z)(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},66936:function(e,t,n){"use strict";var r=n("67986"),i=n("22958"),o=n("56943"),a=Object.prototype.hasOwnProperty;t.Z=function(e){if(!(0,r.Z)(e))return(0,o.Z)(e);var t=(0,i.Z)(e),n=[];for(var s in e)!("constructor"==s&&(t||!a.call(e,s)))&&n.push(s);return n}},49572:function(e,t,n){"use strict";var r=n("40040"),i=n("28874"),o=n("81553");t.Z=function(e){var t=(0,i.Z)(e);return 1==t.length&&t[0][2]?(0,o.Z)(t[0][0],t[0][1]):function(n){return n===e||(0,r.Z)(n,e,t)}}},17918:function(e,t,n){"use strict";var r=n("46124"),i=n("76138"),o=n("8500"),a=n("1369"),s=n("12912"),l=n("81553"),u=n("25711");t.Z=function(e,t){return(0,a.Z)(e)&&(0,s.Z)(t)?(0,l.Z)((0,u.Z)(e),t):function(n){var a=(0,i.Z)(n,e);return void 0===a&&a===t?(0,o.Z)(n,e):(0,r.Z)(t,a,3)}}},39454:function(e,t,n){"use strict";var r=n("33758"),i=n("8500");t.Z=function(e,t){return(0,r.Z)(e,t,function(t,n){return(0,i.Z)(e,n)})}},33758:function(e,t,n){"use strict";var r=n("67721"),i=n("90843"),o=n("95977");t.Z=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var u=t[a],c=(0,r.Z)(e,u);n(c,u)&&(0,i.Z)(l,(0,o.Z)(u,e),c)}return l}},5067:function(e,t){"use strict";t.Z=function(e){return function(t){return null==t?void 0:t[e]}}},74132:function(e,t,n){"use strict";var r=n("67721");t.Z=function(e){return function(t){return(0,r.Z)(t,e)}}},90843:function(e,t,n){"use strict";var r=n("52582"),i=n("95977"),o=n("66000"),a=n("67986"),s=n("25711");t.Z=function(e,t,n,l){if(!(0,a.Z)(e))return e;t=(0,i.Z)(t,e);for(var u=-1,c=t.length,d=c-1,p=e;null!=p&&++u<c;){var h=(0,s.Z)(t[u]),f=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var g=p[h];void 0===(f=l?l(g,h,p):void 0)&&(f=(0,a.Z)(g)?g:(0,o.Z)(t[u+1])?[]:{})}(0,r.Z)(p,h,f),p=p[h]}return e}},50349:function(e,t,n){"use strict";var r=n("1330"),i=n("82079"),o=n("41553"),a=i.Z?function(e,t){return(0,i.Z)(e,"toString",{configurable:!0,enumerable:!1,value:(0,r.Z)(t),writable:!0})}:o.Z;t.Z=a},38215:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},48235:function(e,t,n){"use strict";var r=n("72614"),i=n("71991"),o=n("15989"),a=n("30582"),s=1/0,l=r.Z?r.Z.prototype:void 0,u=l?l.toString:void 0;t.Z=function e(t){if("string"==typeof t)return t;if((0,o.Z)(t))return(0,i.Z)(t,e)+"";if((0,a.Z)(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},3202:function(e,t,n){"use strict";var r=n("45971"),i=/^\s+/;t.Z=function(e){return e?e.slice(0,(0,r.Z)(e)+1).replace(i,""):e}},19707:function(e,t){"use strict";t.Z=function(e){return function(t){return e(t)}}},49709:function(e,t){"use strict";t.Z=function(e,t){return e.has(t)}},95977:function(e,t,n){"use strict";var r=n("15989"),i=n("1369"),o=n("74704"),a=n("14378");t.Z=function(e,t){return(0,r.Z)(e)?e:(0,i.Z)(e,t)?[e]:(0,o.Z)((0,a.Z)(e))}},43471:function(e,t,n){"use strict";var r=n("8960").Z["__core-js_shared__"];t.Z=r},3123:function(e,t){"use strict";t.Z=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},82079:function(e,t,n){"use strict";var r=n("71478"),i=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.Z=i},30713:function(e,t,n){"use strict";var r=n("67335"),i=n("39515"),o=n("49709");t.Z=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,g=!0,m=2&n?new r.Z:void 0;for(l.set(e,t),l.set(t,e);++f<c;){var _=e[f],v=t[f];if(a)var b=u?a(v,_,f,t,e,l):a(_,v,f,e,t,l);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!(0,i.Z)(t,function(e,t){if(!(0,o.Z)(m,t)&&(_===e||s(_,e,n,a,l)))return m.push(t)})){g=!1;break}}else if(!(_===v||s(_,v,n,a,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},65834:function(e,t,n){"use strict";var r=n("72614"),i=n("62743"),o=n("83759"),a=n("30713"),s=n("69561"),l=n("94623"),u=r.Z?r.Z.prototype:void 0,c=u?u.valueOf:void 0;t.Z=function(e,t,n,r,u,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i.Z(e),new i.Z(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,o.Z)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s.Z;case"[object Set]":var f=1&r;if(h||(h=l.Z),e.size!=t.size&&!f)break;var g=p.get(e);if(g)return g==t;r|=2,p.set(e,t);var m=(0,a.Z)(h(e),h(t),r,u,d,p);return p.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},11419:function(e,t,n){"use strict";var r=n("39803"),i=Object.prototype.hasOwnProperty;t.Z=function(e,t,n,o,a,s){var l=1&n,u=(0,r.Z)(e),c=u.length;if(c!=(0,r.Z)(t).length&&!l)return!1;for(var d=c;d--;){var p=u[d];if(!(l?p in t:i.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d<c;){var _=e[p=u[d]],v=t[p];if(o)var b=l?o(v,_,p,t,e,s):o(_,v,p,e,t,s);if(!(void 0===b?_===v||a(_,v,n,o,s):b)){g=!1;break}m||(m="constructor"==p)}if(g&&!m){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(g=!1)}return s.delete(e),s.delete(t),g}},40238:function(e,t,n){"use strict";var r=n("69674"),i=n("32555"),o=n("21550");t.Z=function(e){return(0,o.Z)((0,i.Z)(e,void 0,r.Z),e+"")}},26199:function(e,t){"use strict";var n="object"==typeof global&&global&&global.Object===Object&&global;t.Z=n},39803:function(e,t,n){"use strict";var r=n("43202"),i=n("86418"),o=n("67069");t.Z=function(e){return(0,r.Z)(e,o.Z,i.Z)}},28347:function(e,t,n){"use strict";var r=n("43202"),i=n("5079"),o=n("27755");t.Z=function(e){return(0,r.Z)(e,o.Z,i.Z)}},50399:function(e,t,n){"use strict";var r=n("13329");t.Z=function(e,t){var n=e.__data__;return(0,r.Z)(t)?n["string"==typeof t?"string":"hash"]:n.map}},28874:function(e,t,n){"use strict";var r=n("12912"),i=n("67069");t.Z=function(e){for(var t=(0,i.Z)(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,(0,r.Z)(a)]}return t}},71478:function(e,t,n){"use strict";var r=n("83830"),i=n("32098");t.Z=function(e,t){var n=(0,i.Z)(e,t);return(0,r.Z)(n)?n:void 0}},20995:function(e,t,n){"use strict";var r=(0,n("11480").Z)(Object.getPrototypeOf,Object);t.Z=r},86499:function(e,t,n){"use strict";var r=n("72614"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r.Z?r.Z.toStringTag:void 0;t.Z=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},86418:function(e,t,n){"use strict";var r=n("65700"),i=n("44712"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),(0,r.Z)(a(e),function(t){return o.call(e,t)}))}:i.Z;t.Z=s},5079:function(e,t,n){"use strict";var r=n("98216"),i=n("20995"),o=n("86418"),a=n("44712"),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.Z)(t,(0,o.Z)(e)),e=(0,i.Z)(e);return t}:a.Z;t.Z=s},39172:function(e,t,n){"use strict";var r=n("91273"),i=n("96997"),o=n("84974"),a=n("49835"),s=n("62289"),l=n("36432"),u=n("20534"),c="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",g=(0,u.Z)(r.Z),m=(0,u.Z)(i.Z),_=(0,u.Z)(o.Z),v=(0,u.Z)(a.Z),b=(0,u.Z)(s.Z),y=l.Z;(r.Z&&y(new r.Z(new ArrayBuffer(1)))!=f||i.Z&&y(new i.Z)!=c||o.Z&&y(o.Z.resolve())!=d||a.Z&&y(new a.Z)!=p||s.Z&&y(new s.Z)!=h)&&(y=function(e){var t=(0,l.Z)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,u.Z)(n):"";if(r)switch(r){case g:return f;case m:return c;case _:return d;case v:return p;case b:return h}return t}),t.Z=y},32098:function(e,t){"use strict";t.Z=function(e,t){return null==e?void 0:e[t]}},99950:function(e,t,n){"use strict";var r=n("95977"),i=n("76945"),o=n("15989"),a=n("66000"),s=n("52702"),l=n("25711");t.Z=function(e,t,n){t=(0,r.Z)(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var p=(0,l.Z)(t[u]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&(0,s.Z)(c)&&(0,a.Z)(p,c)&&((0,o.Z)(e)||(0,i.Z)(e))}},63533:function(e,t,n){"use strict";var r=n("23497");t.Z=function(){this.__data__=r.Z?(0,r.Z)(null):{},this.size=0}},55099:function(e,t){"use strict";t.Z=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},72804:function(e,t,n){"use strict";var r=n("23497"),i=Object.prototype.hasOwnProperty;t.Z=function(e){var t=this.__data__;if(r.Z){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},79106:function(e,t,n){"use strict";var r=n("23497"),i=Object.prototype.hasOwnProperty;t.Z=function(e){var t=this.__data__;return r.Z?void 0!==t[e]:i.call(t,e)}},40394:function(e,t,n){"use strict";var r=n("23497");t.Z=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r.Z&&void 0===t?"__lodash_hash_undefined__":t,this}},72969:function(e,t,n){"use strict";var r=n("72614"),i=n("76945"),o=n("15989"),a=r.Z?r.Z.isConcatSpreadable:void 0;t.Z=function(e){return(0,o.Z)(e)||(0,i.Z)(e)||!!(a&&e&&e[a])}},66e3:function(e,t){"use strict";var n=/^(?:0|[1-9]\d*)$/;t.Z=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},1369:function(e,t,n){"use strict";var r=n("15989"),i=n("30582"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.Z=function(e,t){if((0,r.Z)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,i.Z)(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},13329:function(e,t){"use strict";t.Z=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},93098:function(e,t,n){"use strict";var r,i=n("43471");var o=(r=/[^.]+$/.exec(i.Z&&i.Z.keys&&i.Z.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.Z=function(e){return!!o&&o in e}},22958:function(e,t){"use strict";var n=Object.prototype;t.Z=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},12912:function(e,t,n){"use strict";var r=n("67986");t.Z=function(e){return e==e&&!(0,r.Z)(e)}},83280:function(e,t){"use strict";t.Z=function(){this.__data__=[],this.size=0}},81690:function(e,t,n){"use strict";var r=n("97096"),i=Array.prototype.splice;t.Z=function(e){var t=this.__data__,n=(0,r.Z)(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},39984:function(e,t,n){"use strict";var r=n("97096");t.Z=function(e){var t=this.__data__,n=(0,r.Z)(t,e);return n<0?void 0:t[n][1]}},129:function(e,t,n){"use strict";var r=n("97096");t.Z=function(e){return(0,r.Z)(this.__data__,e)>-1}},66107:function(e,t,n){"use strict";var r=n("97096");t.Z=function(e,t){var n=this.__data__,i=(0,r.Z)(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},77074:function(e,t,n){"use strict";var r=n("85966"),i=n("87426"),o=n("96997");t.Z=function(){this.size=0,this.__data__={hash:new r.Z,map:new(o.Z||i.Z),string:new r.Z}}},54337:function(e,t,n){"use strict";var r=n("50399");t.Z=function(e){var t=(0,r.Z)(this,e).delete(e);return this.size-=t?1:0,t}},61139:function(e,t,n){"use strict";var r=n("50399");t.Z=function(e){return(0,r.Z)(this,e).get(e)}},89940:function(e,t,n){"use strict";var r=n("50399");t.Z=function(e){return(0,r.Z)(this,e).has(e)}},9430:function(e,t,n){"use strict";var r=n("50399");t.Z=function(e,t){var n=(0,r.Z)(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},69561:function(e,t){"use strict";t.Z=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},81553:function(e,t){"use strict";t.Z=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},19384:function(e,t,n){"use strict";var r=n("12416");t.Z=function(e){var t=(0,r.Z)(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},23497:function(e,t,n){"use strict";var r=(0,n("71478").Z)(Object,"create");t.Z=r},78666:function(e,t,n){"use strict";var r=(0,n("11480").Z)(Object.keys,Object);t.Z=r},56943:function(e,t){"use strict";t.Z=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},37916:function(e,t,n){"use strict";var r=n("26199"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i&&r.Z.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();t.Z=s},70774:function(e,t){"use strict";var n=Object.prototype.toString;t.Z=function(e){return n.call(e)}},11480:function(e,t){"use strict";t.Z=function(e,t){return function(n){return e(t(n))}}},32555:function(e,t,n){"use strict";var r=n("83157"),i=Math.max;t.Z=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),(0,r.Z)(e,this,u)}}},8960:function(e,t,n){"use strict";var r=n("26199"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.Z||i||Function("return this")();t.Z=o},4556:function(e,t){"use strict";t.Z=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},94273:function(e,t){"use strict";t.Z=function(e){return this.__data__.has(e)}},94623:function(e,t){"use strict";t.Z=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},21550:function(e,t,n){"use strict";var r=n("50349"),i=(0,n("11878").Z)(r.Z);t.Z=i},11878:function(e,t){"use strict";var n=Date.now;t.Z=function(e){var t=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},212:function(e,t,n){"use strict";var r=n("87426");t.Z=function(){this.__data__=new r.Z,this.size=0}},3789:function(e,t){"use strict";t.Z=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63547:function(e,t){"use strict";t.Z=function(e){return this.__data__.get(e)}},57043:function(e,t){"use strict";t.Z=function(e){return this.__data__.has(e)}},53983:function(e,t,n){"use strict";var r=n("87426"),i=n("96997"),o=n("93460");t.Z=function(e,t){var n=this.__data__;if(n instanceof r.Z){var a=n.__data__;if(!i.Z||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o.Z(a)}return n.set(e,t),this.size=n.size,this}},74704:function(e,t,n){"use strict";var r=n("19384"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=(0,r.Z)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});t.Z=a},25711:function(e,t,n){"use strict";var r=n("30582"),i=1/0;t.Z=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},20534:function(e,t){"use strict";var n=Function.prototype.toString;t.Z=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},45971:function(e,t){"use strict";var n=/\s/;t.Z=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},39821:function(e,t,n){"use strict";var r=n("71102");t.Z=function(e,t){var n;if("function"!=typeof t)throw TypeError("Expected a function");return e=(0,r.Z)(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},1330:function(e,t){"use strict";t.Z=function(e){return function(){return e}}},40805:function(e,t,n){"use strict";var r=n("67986"),i=n("186"),o=n("69961"),a=Math.max,s=Math.min;t.Z=function(e,t,n){var l,u,c,d,p,h,f=0,g=!1,m=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,r=u;return l=u=void 0,f=t,d=e.apply(r,n)}t=(0,o.Z)(t)||0,(0,r.Z)(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a((0,o.Z)(n.maxWait)||0,t):c,_="trailing"in n?!!n.trailing:_);function b(e){var n=e-h,r=e-f;return void 0===h||n>=t||n<0||m&&r>=c}function y(){var e,n,r,o,a=(0,i.Z)();if(b(a))return w(a);p=setTimeout(y,(n=(e=a)-h,r=e-f,o=t-n,m?s(o,c-r):o))}function w(e){return(p=void 0,_&&l)?v(e):(l=u=void 0,d)}function S(){var e,n=(0,i.Z)(),r=b(n);if(l=arguments,u=this,h=n,r){if(void 0===p){;return f=e=h,p=setTimeout(y,t),g?v(e):d}if(m)return clearTimeout(p),p=setTimeout(y,t),v(h)}return void 0===p&&(p=setTimeout(y,t)),d}return S.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=u=p=void 0},S.flush=function(){return void 0===p?d:w((0,i.Z)())},S}},83759:function(e,t){"use strict";t.Z=function(e,t){return e===t||e!=e&&t!=t}},69674:function(e,t,n){"use strict";var r=n("77783");t.Z=function(e){return(null==e?0:e.length)?(0,r.Z)(e,1):[]}},76138:function(e,t,n){"use strict";var r=n("67721");t.Z=function(e,t,n){var i=null==e?void 0:(0,r.Z)(e,t);return void 0===i?n:i}},8500:function(e,t,n){"use strict";var r=n("74765"),i=n("99950");t.Z=function(e,t){return null!=e&&(0,i.Z)(e,t,r.Z)}},41553:function(e,t){"use strict";t.Z=function(e){return e}},76945:function(e,t,n){"use strict";var r=n("76594"),i=n("69811"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=(0,r.Z)(function(){return arguments}())?r.Z:function(e){return(0,i.Z)(e)&&a.call(e,"callee")&&!s.call(e,"callee")};t.Z=l},15989:function(e,t){"use strict";var n=Array.isArray;t.Z=n},88015:function(e,t,n){"use strict";var r=n("76147"),i=n("52702");t.Z=function(e){return null!=e&&(0,i.Z)(e.length)&&!(0,r.Z)(e)}},80285:function(e,t,n){"use strict";var r=n("8960"),i=n("88409"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===o?r.Z.Buffer:void 0,l=(s?s.isBuffer:void 0)||i.Z;t.Z=l},39262:function(e,t,n){"use strict";var r=n("21517"),i=n("39172"),o=n("76945"),a=n("15989"),s=n("88015"),l=n("80285"),u=n("22958"),c=n("39485"),d=Object.prototype.hasOwnProperty;t.Z=function(e){if(null==e)return!0;if((0,s.Z)(e)&&((0,a.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,l.Z)(e)||(0,c.Z)(e)||(0,o.Z)(e)))return!e.length;var t=(0,i.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,u.Z)(e))return!(0,r.Z)(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},35428:function(e,t,n){"use strict";var r=n("46124");t.Z=function(e,t){return(0,r.Z)(e,t)}},76147:function(e,t,n){"use strict";var r=n("36432"),i=n("67986");t.Z=function(e){if(!(0,i.Z)(e))return!1;var t=(0,r.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},52702:function(e,t){"use strict";t.Z=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},2875:function(e,t){"use strict";t.Z=function(e){return null==e}},77327:function(e,t,n){"use strict";var r=n("36432"),i=n("69811");t.Z=function(e){return"number"==typeof e||(0,i.Z)(e)&&"[object Number]"==(0,r.Z)(e)}},67986:function(e,t){"use strict";t.Z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},69811:function(e,t){"use strict";t.Z=function(e){return null!=e&&"object"==typeof e}},1009:function(e,t,n){"use strict";var r=n("36432"),i=n("15989"),o=n("69811");t.Z=function(e){return"string"==typeof e||!(0,i.Z)(e)&&(0,o.Z)(e)&&"[object String]"==(0,r.Z)(e)}},30582:function(e,t,n){"use strict";var r=n("36432"),i=n("69811");t.Z=function(e){return"symbol"==typeof e||(0,i.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},39485:function(e,t,n){"use strict";var r=n("15993"),i=n("19707"),o=n("37916"),a=o.Z&&o.Z.isTypedArray,s=a?(0,i.Z)(a):r.Z;t.Z=s},67069:function(e,t,n){"use strict";var r=n("13042"),i=n("21517"),o=n("88015");t.Z=function(e){return(0,o.Z)(e)?(0,r.Z)(e):(0,i.Z)(e)}},27755:function(e,t,n){"use strict";var r=n("13042"),i=n("66936"),o=n("88015");t.Z=function(e){return(0,o.Z)(e)?(0,r.Z)(e,!0):(0,i.Z)(e)}},48021:function(e,t,n){"use strict";var r=n("48635"),i=n("65373"),o=n("69254");t.Z=function(e,t){var n={};return t=(0,o.Z)(t,3),(0,i.Z)(e,function(e,i,o){(0,r.Z)(n,i,t(e,i,o))}),n}},12416:function(e,t,n){"use strict";var r=n("93460");function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.Z),n}i.Cache=r.Z,t.Z=i},22918:function(e,t){"use strict";t.Z=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},186:function(e,t,n){"use strict";var r=n("8960");t.Z=function(){return r.Z.Date.now()}},97264:function(e,t,n){"use strict";var r=n("69254"),i=n("22918"),o=n("74093");t.Z=function(e,t){return(0,o.Z)(e,(0,i.Z)((0,r.Z)(t)))}},95598:function(e,t,n){"use strict";var r=n("39821");t.Z=function(e){return(0,r.Z)(2,e)}},5670:function(e,t,n){"use strict";var r=n("39454"),i=(0,n("40238").Z)(function(e,t){return null==e?{}:(0,r.Z)(e,t)});t.Z=i},74093:function(e,t,n){"use strict";var r=n("71991"),i=n("69254"),o=n("33758"),a=n("28347");t.Z=function(e,t){if(null==e)return{};var n=(0,r.Z)((0,a.Z)(e),function(e){return[e]});return t=(0,i.Z)(t),(0,o.Z)(e,n,function(e,n){return t(e,n[0])})}},19021:function(e,t,n){"use strict";var r=n("5067"),i=n("74132"),o=n("1369"),a=n("25711");t.Z=function(e){return(0,o.Z)(e)?(0,r.Z)((0,a.Z)(e)):(0,i.Z)(e)}},19082:function(e,t,n){"use strict";var r=n("90843");t.Z=function(e,t,n){return null==e?e:(0,r.Z)(e,t,n)}},44712:function(e,t){"use strict";t.Z=function(){return[]}},88409:function(e,t){"use strict";t.Z=function(){return!1}},332:function(e,t,n){"use strict";var r=n("40805"),i=n("67986");t.Z=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return(0,i.Z)(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),(0,r.Z)(e,t,{leading:o,maxWait:t,trailing:a})}},3432:function(e,t,n){"use strict";var r=n("69961"),i=1/0;t.Z=function(e){return e?(e=(0,r.Z)(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},71102:function(e,t,n){"use strict";var r=n("3432");t.Z=function(e){var t=(0,r.Z)(e),n=t%1;return t==t?n?t-n:t:0}},69961:function(e,t,n){"use strict";var r=n("3202"),i=n("67986"),o=n("30582"),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.Z=function(e){if("number"==typeof e)return e;if((0,o.Z)(e))return a;if((0,i.Z)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.Z)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.Z)(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},14378:function(e,t,n){"use strict";var r=n("48235");t.Z=function(e){return null==e?"":(0,r.Z)(e)}},22296:function(e,t,n){"use strict";var r=n("14378"),i=0;t.Z=function(e){var t=++i;return(0,r.Z)(e)+t}},51363:function(e,t,n){"use strict";n.d(t,{x0:function(){return r}});let r=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},24967:function(e,t,n){"use strict";n.r(t),n.d(t,{exclude:function(){return y},extract:function(){return f},parse:function(){return g},parseUrl:function(){return _},pick:function(){return b},stringify:function(){return m},stringifyUrl:function(){return v}});var r=n("32130"),i=n("40080"),o=n("71353");let a=e=>null==e,s=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),l=Symbol("encodeFragmentIdentifier");function u(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function d(e,t){return t.decode?(0,r.Z)(e):e}function p(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function f(e){let t=(e=p(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function g(e,t){u((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);let n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{if(t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),!t){r[e]=n;return}void 0===r[e]&&(r[e]={}),r[e][t[1]]=n};case"bracket":return(e,n,r)=>{if(t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),!t){r[e]=n;return}if(void 0===r[e]){r[e]=[n];return}r[e]=[...r[e],n]};case"colon-list-separator":return(e,n,r)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){r[e]=n;return}if(void 0===r[e]){r[e]=[n];return}r[e]=[...r[e],n]};case"comma":case"separator":return(t,n,r)=>{let i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&d(n,e).includes(e.arrayFormatSeparator);n=o?d(n,e):n;let a=i||o?n.split(e.arrayFormatSeparator).map(t=>d(t,e)):null===n?n:d(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{let i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!i){r[t]=n?d(n,e):n;return}let o=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>d(t,e));if(void 0===r[t]){r[t]=o;return}r[t]=[...r[t],...o]};default:return(e,t,n)=>{if(void 0===n[e]){n[e]=t;return}n[e]=[...[n[e]].flat(),t]}}}(t),r=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return r;for(let o of e.split("&")){if(""===o)continue;let e=t.decode?o.replace(/\+/g," "):o,[a,s]=(0,i.Z)(e,"=");void 0===a&&(a=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:d(s,t),n(d(a,t),s,r)}for(let[e,n]of Object.entries(r))if("object"==typeof n&&null!==n)for(let[e,r]of Object.entries(n))n[e]=h(r,t);else r[e]=h(n,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{let n=r[t];return n&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}function m(e,t){if(!e)return"";u((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);let n=n=>t.skipNull&&a(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{let i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length)?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)]}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(let[t,r]of Object.entries(e))!n(t)&&(i[t]=r);let o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{let i=e[n];if(void 0===i)return"";if(null===i)return c(n,t);if(Array.isArray(i))return 0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&");return c(n,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")}function _(e,t){t={decode:!0,...t};let[n,r]=(0,i.Z)(e,"#");return void 0===n&&(n=e),{url:n?.split("?")?.[0]??"",query:g(f(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:d(r,t)}:{}}}function v(e,t){t={encode:!0,strict:!0,[l]:!0,...t};let n=p(e.url).split("?")[0]||"",r=m({...g(f(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let i=function(e){let t="",n=e.indexOf("#");return -1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){let r=new URL(n);r.hash=e.fragmentIdentifier,i=t[l]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function b(e,t,n){let{url:r,query:i,fragmentIdentifier:a}=_(e,n={parseFragmentIdentifier:!0,[l]:!1,...n});return v({url:r,query:(0,o.T)(i,t),fragmentIdentifier:a},n)}function y(e,t,n){return b(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}},49569:function(e,t,n){"use strict";var r=n("24967");t.Z=r},40080:function(e,t,n){"use strict";function r(e,t){if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];let n=e.indexOf(t);return -1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}n.d(t,{Z:function(){return r}})},75047:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},ev:function(){return a},pi:function(){return o}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)(r||!(i in t))&&(!r&&(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}},95012:function(e,t,n){"use strict";n.d(t,{Ue:function(){return c}});var r=n("68086"),i=n("11532"),o=n("46365");let{useDebugValue:a}=i,{useSyncExternalStoreWithSelector:s}=o,l=!1,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.M)(e):e,n=(e,n)=>(function(e,t=e.getState,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);let r=s(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return a(r),r})(t,e,n);return Object.assign(n,t),n},c=e=>e?u(e):u},50775:function(e,t,n){"use strict";n.d(t,{XR:function(){return l},mW:function(){return a}});let r=new Map,i=e=>{let t=r.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},o=(e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};let i=r.get(n.name);if(i)return{type:"tracked",store:e,...i};let o={connection:t.connect(n),stores:{}};return r.set(n.name,o),{type:"tracked",store:e,...o}},a=(e,t={})=>(n,r,a)=>{let l;let{enabled:u,anonymousActionType:c,store:d,...p}=t;try{l=(null==u||u)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!l)return u&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,a);let{connection:h,...f}=o(d,l,p),g=!0;a.setState=(e,t,o)=>{let s=n(e,t);if(!g)return s;let l=void 0===o?{type:c||"anonymous"}:"string"==typeof o?{type:o}:o;return void 0===d?(null==h||h.send(l,r()),s):(null==h||h.send({...l,type:`${d}/${l.type}`},{...i(p.name),[d]:a.getState()}),s)};let m=(...e)=>{let t=g;g=!1,n(...e),g=t},_=e(a.setState,r,a);if("untracked"===f.type?null==h||h.init(_):(f.stores[f.store]=a,null==h||h.init(Object.fromEntries(Object.entries(f.stores).map(([e,t])=>[e,e===f.store?_:t.getState()])))),a.dispatchFromDevtools&&"function"==typeof a.dispatch){let e=!1,t=a.dispatch;a.dispatch=(...n)=>{"__setState"===n[0].type&&!e&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return h.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return s(e.payload,e=>{if("__setState"===e.type){if(void 0===d){m(e.state);return}1!==Object.keys(e.state).length&&console.error(`
[zustand devtools middleware] Unsupported __setState action format.
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
`);let t=e.state[d];if(null==t)return;JSON.stringify(a.getState())!==JSON.stringify(t)&&m(t);return}if(!!a.dispatchFromDevtools)"function"==typeof a.dispatch&&a.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(m(_),void 0===d)return null==h?void 0:h.init(a.getState());return null==h?void 0:h.init(i(p.name));case"COMMIT":if(void 0===d){null==h||h.init(a.getState());break}return null==h?void 0:h.init(i(p.name));case"ROLLBACK":return s(e.state,e=>{if(void 0===d){m(e),null==h||h.init(a.getState());return}m(e[d]),null==h||h.init(i(p.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return s(e.state,e=>{if(void 0===d){m(e);return}JSON.stringify(a.getState())!==JSON.stringify(e[d])&&m(e[d])});case"IMPORT_STATE":{let{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;void 0===d?m(r):m(r[d]),null==h||h.send(null,n);break}case"PAUSE_RECORDING":return g=!g}return}}),_},s=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)},l=e=>(t,n,r)=>{let i=r.subscribe;return r.subscribe=(e,t,n)=>{let o=e;if(t){let i=(null==n?void 0:n.equalityFn)||Object.is,a=e(r.getState());o=n=>{let r=e(n);if(!i(a,r)){let e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return i(o)},e(t,n,r)}},60785:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n("11532");let{useRef:i}=r;function o(e){let t=i();return n=>{let r=e(n);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}(t.current,r)?t.current=r:t.current}}},86338:function(e,t,n){"use strict";function r(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}n.d(t,{X:function(){return r}})},27537:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n("11532"),i=n("46365");let{useDebugValue:o}=r,{useSyncExternalStoreWithSelector:a}=i;function s(e,t=e.getState,n){let r=a(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return o(r),r}},68086:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});let r=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,i,o),o},i=e=>e?r(e):r}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}};return s[e].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}return u.m=s,u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},u.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var i=Object.create(null);u.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(function(e){o[e]=function(){return n[e]}});return o.default=function(){return n},u.d(i,o),i},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.f={},u.e=function(e){return Promise.all(Object.keys(u.f).reduce(function(t,n){return u.f[n](e,t),t},[]))},u.u=function(e){return""+e+".js"},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="CozeWebSDK:",u.l=function(e,t,i,o){if(n[e]){n[e].push(t);return}if(void 0!==i){for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){a=d;break}}}!a&&(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.setAttribute("data-webpack",r+i),a.src=e),n[e]=[t];var p=function(t,r){a.onerror=a.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(function(e){return e(r)}),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},u.nc=void 0,!function(){u.g.importScripts&&(e=u.g.location+"");var e,t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length){for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e}(),u.b=document.baseURI||self.location.href,i={909:0},u.f.j=function(e,t){var n=u.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=u.p+u.u(e),a=Error();u.l(o,function(t){if(u.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,n[1](a)}},"chunk-"+e,e)}}},o=function(e,t){var n=t[0],r=t[1],o=t[2],a,s,l=0;if(n.some(function(e){return 0!==i[e]})){for(a in r)u.o(r,a)&&(u.m[a]=r[a]);o&&o(u)}for(e&&e(t);l<n.length;l++)s=n[l],u.o(i,s)&&i[s]&&i[s][0](),i[s]=0},(a=self.webpackChunkCozeWebSDK=self.webpackChunkCozeWebSDK||[]).forEach(o.bind(null,0)),a.push=o.bind(null,a.push.bind(a)),u("8829")}()});